diff --git a/BUILT.txt b/BUILT.txt index 455da59c7e..525e8ed1b2 100644 --- a/BUILT.txt +++ b/BUILT.txt @@ -1 +1 @@ -Build 2859 at Sun 08 Sep 2024 10:45:48 PM UTC. +Build 2858 at Sun 08 Sep 2024 10:47:04 PM UTC. diff --git a/sparklemotion.js b/sparklemotion.js index f653cbc51c..6a01c03530 100644 --- a/sparklemotion.js +++ b/sparklemotion.js @@ -1,5 +1,5 @@ /*! For license information please see sparklemotion.js.LICENSE.txt */ -!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.sparklemotion=n():t.sparklemotion=n()}(globalThis,(()=>(()=>{var t,n,e={8575:(t,n,e)=>{"use strict";e.d(n,{A:()=>rt});var r=function(){function t(t){var n=this;this._insertTag=function(t){var e;e=0===n.tags.length?n.insertionPoint?n.insertionPoint.nextSibling:n.prepend?n.container.firstChild:n.before:n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(t,e),n.tags.push(t)},this.isSpeedy=void 0===t.speedy||t.speedy,this.tags=[],this.ctr=0,this.nonce=t.nonce,this.key=t.key,this.container=t.container,this.prepend=t.prepend,this.insertionPoint=t.insertionPoint,this.before=null}var n=t.prototype;return n.hydrate=function(t){t.forEach(this._insertTag)},n.insert=function(t){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(t){var n=document.createElement("style");return n.setAttribute("data-emotion",t.key),void 0!==t.nonce&&n.setAttribute("nonce",t.nonce),n.appendChild(document.createTextNode("")),n.setAttribute("data-s",""),n}(this));var n=this.tags[this.tags.length-1];if(this.isSpeedy){var e=function(t){if(t.sheet)return t.sheet;for(var n=0;n0?l(w,--g):0,m--,10===b&&(m=1,_--),b}function S(){return b=g2||M(b)>3?"":" "}function j(t,n){for(;--n&&S()&&!(b<48||b>102||b>57&&b<65||b>70&&b<97););return E(t,C()+(n<6&&32==A()&&32==S()))}function R(t){for(;S();)switch(b){case t:return g;case 34:case 39:34!==t&&39!==t&&R(b);break;case 40:41===t&&R(t);break;case 92:S()}return g}function L(t,n){for(;S()&&t+b!==57&&(t+b!==84||47!==A()););return"/*"+E(n,g-1)+"*"+o(47===t?t:S())}function D(t){for(;!M(A());)S();return E(t,g)}var P="-ms-",I="-moz-",q="-webkit-",N="comm",F="rule",B="decl",U="@keyframes";function H(t,n){for(var e="",r=d(t),i=0;i0&&f(I)-v&&p(b>32?K(I+";",r,e,v-1):K(u(I," ","")+";",r,e,v-2),d);break;case 59:I+=";";default:if(p(P=Y(I,n,e,_,m,i,h,$,z=[],R=[],v),s),123===M)if(0===m)G(I,n,P,P,z,s,v,h,R);else switch(99===g&&110===l(I,3)?100:g){case 100:case 108:case 109:case 115:G(t,P,P,r&&p(Y(t,P,P,0,0,i,h,$,i,z=[],v),R),i,R,v,h,r?z:R);break;default:G(I,P,P,P,[""],R,0,h,R)}}_=m=b=0,y=E=1,$=I="",v=a;break;case 58:v=1+f(I),b=w;default:if(y<1)if(123==M)--y;else if(125==M&&0==y++&&125==k())continue;switch(I+=o(M),M*y){case 38:E=m>0?1:(I+="\f",-1);break;case 44:h[_++]=(f(I)-1)*E,E=1;break;case 64:45===A()&&(I+=T(S())),g=A(),m=v=f($=I+=D(C())),M++;break;case 45:45===w&&2==f(I)&&(y=0)}}return s}function Y(t,n,e,r,o,s,c,l,f,p,_){for(var m=o-1,v=0===o?s:[""],g=d(v),b=0,w=0,x=0;b0?v[k]+" "+S:u(S,/&\f/g,v[k])))&&(f[x++]=A);return y(t,n,e,0===o?F:l,f,p,_)}function X(t,n,e){return y(t,n,e,N,o(b),h(t,2,-2),0)}function K(t,n,e,r){return y(t,n,e,B,h(t,0,r),h(t,r+1,-1),r)}var Z=function(t,n,e){for(var r=0,i=0;r=i,i=A(),38===r&&12===i&&(n[e]=1),!M(i);)S();return E(t,g)},J=new WeakMap,Q=function(t){if("rule"===t.type&&t.parent&&!(t.length<1)){for(var n=t.value,e=t.parent,r=t.column===e.column&&t.line===e.line;"rule"!==e.type;)if(!(e=e.parent))return;if((1!==t.props.length||58===n.charCodeAt(0)||J.get(e))&&!r){J.set(t,!0);for(var i=[],s=function(t,n){return z(function(t,n){var e=-1,r=44;do{switch(M(r)){case 0:38===r&&12===A()&&(n[e]=1),t[e]+=Z(g-1,n,e);break;case 2:t[e]+=T(r);break;case 4:if(44===r){t[++e]=58===A()?"&\f":"",n[e]=t[e].length;break}default:t[e]+=o(r)}}while(r=S());return t}($(t),n))}(n,i),a=e.props,u=0,c=0;u6)switch(l(t,n+1)){case 109:if(45!==l(t,n+4))break;case 102:return u(t,/(.+:)(.+)-([^]+)/,"$1"+q+"$2-$3$1"+I+(108==l(t,n+3)?"$3":"$2-$3"))+t;case 115:return~c(t,"stretch")?nt(u(t,"stretch","fill-available"),n)+t:t}break;case 4949:if(115!==l(t,n+1))break;case 6444:switch(l(t,f(t)-3-(~c(t,"!important")&&10))){case 107:return u(t,":",":"+q)+t;case 101:return u(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+q+(45===l(t,14)?"inline-":"")+"box$3$1"+q+"$2$3$1"+P+"$2box$3")+t}break;case 5936:switch(l(t,n+11)){case 114:return q+t+P+u(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return q+t+P+u(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return q+t+P+u(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return q+t+P+t+t}return t}var et=[function(t,n,e,r){if(t.length>-1&&!t.return)switch(t.type){case B:t.return=nt(t.value,t.length);break;case U:return H([x(t,{value:u(t.value,"@","@"+q)})],r);case F:if(t.length)return function(t,n){return t.map(n).join("")}(t.props,(function(n){switch(function(t,n){return(t=/(::plac\w+|:read-\w+)/.exec(t))?t[0]:t}(n)){case":read-only":case":read-write":return H([x(t,{props:[u(n,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return H([x(t,{props:[u(n,/:(plac\w+)/,":"+q+"input-$1")]}),x(t,{props:[u(n,/:(plac\w+)/,":-moz-$1")]}),x(t,{props:[u(n,/:(plac\w+)/,P+"input-$1")]})],r)}return""}))}}],rt=function(t){var n=t.key;if("css"===n){var e=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(e,(function(t){-1!==t.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(t),t.setAttribute("data-s",""))}))}var i,o,s=t.stylisPlugins||et,a={},u=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),(function(t){for(var n=t.getAttribute("data-emotion").split(" "),e=1;e{"use strict";function r(t){var n=Object.create(null);return function(e){return void 0===n[e]&&(n[e]=t(e)),n[e]}}e.d(n,{A:()=>r})},65472:(t,n,e)=>{"use strict";e.d(n,{T:()=>u,i:()=>o,w:()=>a});var r=e(7552),i=e(8575),o=(e(42130),e(20387),!0),s=r.createContext("undefined"!=typeof HTMLElement?(0,i.A)({key:"css"}):null);s.Provider;var a=function(t){return(0,r.forwardRef)((function(n,e){var i=(0,r.useContext)(s);return t(n,i,e)}))};o||(a=function(t){return function(n){var e=(0,r.useContext)(s);return null===e?(e=(0,i.A)({key:"css"}),r.createElement(s.Provider,{value:e},t(n,e))):t(n,e)}});var u=r.createContext({})},64761:(t,n,e)=>{"use strict";e.d(n,{AH:()=>c,i7:()=>l,mL:()=>u});var r=e(65472),i=e(7552),o=e(92005),s=e(20387),a=e(42130),u=(e(8575),e(806),(0,r.w)((function(t,n){var e=t.styles,u=(0,a.J)([e],void 0,i.useContext(r.T));if(!r.i){for(var c,l=u.name,h=u.styles,f=u.next;void 0!==f;)l+=" "+f.name,h+=f.styles,f=f.next;var d=!0===n.compat,p=n.insert("",{name:l,styles:h},n.sheet,d);return d?null:i.createElement("style",((c={})["data-emotion"]=n.key+"-global "+l,c.dangerouslySetInnerHTML={__html:p},c.nonce=n.sheet.nonce,c))}var _=i.useRef();return(0,s.i)((function(){var t=n.key+"-global",e=new n.sheet.constructor({key:t,nonce:n.sheet.nonce,container:n.sheet.container,speedy:n.sheet.isSpeedy}),r=!1,i=document.querySelector('style[data-emotion="'+t+" "+u.name+'"]');return n.sheet.tags.length&&(e.before=n.sheet.tags[0]),null!==i&&(r=!0,i.setAttribute("data-emotion",t),e.hydrate([i])),_.current=[e,r],function(){e.flush()}}),[n]),(0,s.i)((function(){var t=_.current,e=t[0];if(t[1])t[1]=!1;else{if(void 0!==u.next&&(0,o.sk)(n,u.next,!0),e.tags.length){var r=e.tags[e.tags.length-1].nextElementSibling;e.before=r,e.flush()}n.insert("",u,e,!1)}}),[n,u.name]),null})));function c(){for(var t=arguments.length,n=new Array(t),e=0;e{"use strict";e.d(n,{J:()=>p});var r={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,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=e(39389),o=/[A-Z]|^ms/g,s=/_EMO_([^_]+?)_([^]*?)_EMO_/g,a=function(t){return 45===t.charCodeAt(1)},u=function(t){return null!=t&&"boolean"!=typeof t},c=(0,i.A)((function(t){return a(t)?t:t.replace(o,"-$&").toLowerCase()})),l=function(t,n){switch(t){case"animation":case"animationName":if("string"==typeof n)return n.replace(s,(function(t,n,e){return f={name:n,styles:e,next:f},n}))}return 1===r[t]||a(t)||"number"!=typeof n||0===n?n:n+"px"};function h(t,n,e){if(null==e)return"";if(void 0!==e.__emotion_styles)return e;switch(typeof e){case"boolean":return"";case"object":if(1===e.anim)return f={name:e.name,styles:e.styles,next:f},e.name;if(void 0!==e.styles){var r=e.next;if(void 0!==r)for(;void 0!==r;)f={name:r.name,styles:r.styles,next:f},r=r.next;return e.styles+";"}return function(t,n,e){var r="";if(Array.isArray(e))for(var i=0;i=4;++r,i-=4)n=1540483477*(65535&(n=255&t.charCodeAt(r)|(255&t.charCodeAt(++r))<<8|(255&t.charCodeAt(++r))<<16|(255&t.charCodeAt(++r))<<24))+(59797*(n>>>16)<<16),e=1540483477*(65535&(n^=n>>>24))+(59797*(n>>>16)<<16)^1540483477*(65535&e)+(59797*(e>>>16)<<16);switch(i){case 3:e^=(255&t.charCodeAt(r+2))<<16;case 2:e^=(255&t.charCodeAt(r+1))<<8;case 1:e=1540483477*(65535&(e^=255&t.charCodeAt(r)))+(59797*(e>>>16)<<16)}return(((e=1540483477*(65535&(e^=e>>>13))+(59797*(e>>>16)<<16))^e>>>15)>>>0).toString(36)}(i)+u;return{name:c,styles:i,next:f}}},20387:(t,n,e)=>{"use strict";var r;e.d(n,{i:()=>a,s:()=>s});var i=e(7552),o=!!(r||(r=e.t(i,2))).useInsertionEffect&&(r||(r=e.t(i,2))).useInsertionEffect,s=o||function(t){return t()},a=o||i.useLayoutEffect},92005:(t,n,e)=>{"use strict";function r(t,n,e){var r="";return e.split(" ").forEach((function(e){void 0!==t[e]?n.push(t[e]+";"):r+=e+" "})),r}e.d(n,{Rk:()=>r,SF:()=>i,sk:()=>o});var i=function(t,n,e){var r=t.key+"-"+n.name;!1===e&&void 0===t.registered[r]&&(t.registered[r]=n.styles)},o=function(t,n,e){i(t,n,e);var r=t.key+"-"+n.name;if(void 0===t.inserted[n.name]){var o=n;do{t.insert(n===o?"."+r:"",o,t.sheet,!0),o=o.next}while(void 0!==o)}}},73311:(t,n,e)=>{"use strict";function r(t,n,e){function r(t){Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,n&&n.apply(this,arguments),this.toString=function(){return this.name+": "+this.message}}return void 0===e&&(e=Error),r.prototype=Object.create(e.prototype),r.prototype.name=t,r.prototype.constructor=r,r}e.r(n),e.d(n,{ArithmeticException:()=>a,ChronoField:()=>$,ChronoLocalDate:()=>W,ChronoLocalDateTime:()=>ln,ChronoUnit:()=>C,ChronoZonedDateTime:()=>rn,Clock:()=>_n,DateTimeException:()=>i,DateTimeFormatter:()=>Gt,DateTimeFormatterBuilder:()=>Bt,DateTimeParseException:()=>o,DayOfWeek:()=>D,DecimalStyle:()=>gt,Duration:()=>S,IllegalArgumentException:()=>u,IllegalStateException:()=>c,Instant:()=>pn,IsoChronology:()=>nn,IsoFields:()=>it,LocalDate:()=>cn,LocalDateTime:()=>hn,LocalTime:()=>fn,Month:()=>P,MonthDay:()=>Yt,NullPointerException:()=>l,OffsetDateTime:()=>sn,OffsetTime:()=>en,Period:()=>q,ResolverStyle:()=>B,SignStyle:()=>bt,Temporal:()=>H,TemporalAccessor:()=>T,TemporalAdjuster:()=>U,TemporalAdjusters:()=>Zt,TemporalAmount:()=>x,TemporalField:()=>E,TemporalQueries:()=>z,TemporalQuery:()=>O,TemporalUnit:()=>k,TextStyle:()=>wt,UnsupportedTemporalTypeException:()=>s,ValueRange:()=>M,Year:()=>Kt,YearConstants:()=>A,YearMonth:()=>Xt,ZoneId:()=>Y,ZoneOffset:()=>Q,ZoneOffsetTransition:()=>bn,ZoneRegion:()=>Dt,ZoneRules:()=>X,ZoneRulesProvider:()=>Lt,ZonedDateTime:()=>on,_:()=>Tn,convert:()=>Cn,nativeJs:()=>Mn,use:()=>jn});var i=r("DateTimeException",(function(t,n){void 0===n&&(n=null);var e=t||this.name;null!==n&&n instanceof Error&&(e+="\n-------\nCaused by: "+n.stack+"\n-------\n"),this.message=e})),o=r("DateTimeParseException",(function(t,n,e,r){void 0===n&&(n=""),void 0===e&&(e=0),void 0===r&&(r=null);var i=t||this.name;i+=": "+n+", at index: "+e,null!==r&&r instanceof Error&&(i+="\n-------\nCaused by: "+r.stack+"\n-------\n"),this.message=i,this.parsedString=function(){return n},this.errorIndex=function(){return e}})),s=r("UnsupportedTemporalTypeException",null,i),a=r("ArithmeticException"),u=r("IllegalArgumentException"),c=r("IllegalStateException"),l=r("NullPointerException");function h(t,n){t.prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n}function f(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function d(t,n,e){if(!t)throw e?new e(n):new Error(n)}function p(t,n){if(null==t)throw new l(n+" must not be null");return t}function _(t,n,e){if(!(t instanceof n))throw new u(e+" must be an instance of "+(n.name?n.name:n)+(t&&t.constructor&&t.constructor.name?", but is "+t.constructor.name:""));return t}function m(t){throw new TypeError('abstract method "'+t+'" is not implemented')}var v=Object.freeze({__proto__:null,assert:d,requireNonNull:p,requireInstance:_,abstractMethodFail:m}),g=9007199254740991,b=-9007199254740991,w=function(){function t(){}return t.intDiv=function(n,e){var r=n/e;return r=t.roundDown(r),t.safeZero(r)},t.intMod=function(n,e){var r=n-t.intDiv(n,e)*e;return r=t.roundDown(r),t.safeZero(r)},t.roundDown=function(t){return t<0?Math.ceil(t):Math.floor(t)},t.floorDiv=function(n,e){var r=Math.floor(n/e);return t.safeZero(r)},t.floorMod=function(n,e){var r=n-t.floorDiv(n,e)*e;return t.safeZero(r)},t.safeAdd=function(n,e){if(t.verifyInt(n),t.verifyInt(e),0===n)return t.safeZero(e);if(0===e)return t.safeZero(n);var r=t.safeToInt(n+e);if(r===n||r===e)throw new a("Invalid addition beyond MAX_SAFE_INTEGER!");return r},t.safeSubtract=function(n,e){return t.verifyInt(n),t.verifyInt(e),0===n&&0===e?0:0===n?t.safeZero(-1*e):0===e?t.safeZero(n):t.safeToInt(n-e)},t.safeMultiply=function(n,e){if(t.verifyInt(n),t.verifyInt(e),1===n)return t.safeZero(e);if(1===e)return t.safeZero(n);if(0===n||0===e)return 0;var r=t.safeToInt(n*e);if(r/e!==n||n===b&&-1===e||e===b&&-1===n)throw new a("Multiplication overflows: "+n+" * "+e);return r},t.parseInt=function(t){function n(n){return t.apply(this,arguments)}return n.toString=function(){return t.toString()},n}((function(n){var e=parseInt(n);return t.safeToInt(e)})),t.safeToInt=function(n){return t.verifyInt(n),t.safeZero(n)},t.verifyInt=function(t){if(null==t)throw new a("Invalid value: '"+t+"', using null or undefined as argument");if(isNaN(t))throw new a("Invalid int value, using NaN as argument");if(t%1!=0)throw new a("Invalid value: '"+t+"' is a float");if(t>g||tn?1:0},t.smi=function(t){return t>>>1&1073741824|3221225471&t},t.hash=function(n){if(n!=n||n===1/0)return 0;for(var e=n;n>4294967295;)e^=n/=4294967295;return t.smi(e)},t.hashCode=function(){for(var n=17,e=arguments.length,r=new Array(e),i=0;i0&&r<0)r+=fn.NANOS_PER_SECOND;else if(e<0&&r>0)r-=fn.NANOS_PER_SECOND;else if(0===e&&0!==r){var o=n.with($.NANO_OF_SECOND,i);e=t.until(o,C.SECONDS)}}catch(t){}return this.ofSeconds(e,r)},n.parse=function(t){p(t,"text");var e=new RegExp("([-+]?)P(?:([-+]?[0-9]+)D)?(T(?:([-+]?[0-9]+)H)?(?:([-+]?[0-9]+)M)?(?:([-+]?[0-9]+)(?:[.,]([0-9]{0,9}))?S)?)?","i").exec(t);if(null!==e&&"T"===e[3]==0){var r="-"===e[1],i=e[2],s=e[4],a=e[5],u=e[6],c=e[7];if(null!=i||null!=s||null!=a||null!=u){var l=n._parseNumber(t,i,fn.SECONDS_PER_DAY,"days"),h=n._parseNumber(t,s,fn.SECONDS_PER_HOUR,"hours"),f=n._parseNumber(t,a,fn.SECONDS_PER_MINUTE,"minutes"),d=n._parseNumber(t,u,1,"seconds"),_=null!=u&&"-"===u.charAt(0),m=n._parseFraction(t,c,_?-1:1);try{return n._create(r,l,h,f,d,m)}catch(n){throw new o("Text cannot be parsed to a Duration: overflow",t,0,n)}}}throw new o("Text cannot be parsed to a Duration",t,0)},n._parseNumber=function(t,n,e,r){if(null==n)return 0;try{return"+"===n[0]&&(n=n.substring(1)),w.safeMultiply(parseFloat(n),e)}catch(n){throw new o("Text cannot be parsed to a Duration: "+r,t,0,n)}},n._parseFraction=function(t,n,e){return null==n||0===n.length?0:(n=(n+"000000000").substring(0,9),parseFloat(n)*e)},n._create=function(){return arguments.length<=2?n._createSecondsNanos(arguments[0],arguments[1]):n._createNegateDaysHoursMinutesSecondsNanos(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5])},n._createNegateDaysHoursMinutesSecondsNanos=function(t,e,r,i,o,s){var a=w.safeAdd(e,w.safeAdd(r,w.safeAdd(i,o)));return t?n.ofSeconds(a,s).negated():n.ofSeconds(a,s)},n._createSecondsNanos=function(t,e){return void 0===t&&(t=0),void 0===e&&(e=0),0===t&&0===e?n.ZERO:new n(t,e)};var e=n.prototype;return e.get=function(t){if(t===C.SECONDS)return this._seconds;if(t===C.NANOS)return this._nanos;throw new s("Unsupported unit: "+t)},e.units=function(){return[C.SECONDS,C.NANOS]},e.isZero=function(){return 0===this._seconds&&0===this._nanos},e.isNegative=function(){return this._seconds<0},e.seconds=function(){return this._seconds},e.nano=function(){return this._nanos},e.withSeconds=function(t){return n._create(t,this._nanos)},e.withNanos=function(t){return $.NANO_OF_SECOND.checkValidIntValue(t),n._create(this._seconds,t)},e.plusDuration=function(t){return p(t,"duration"),this.plus(t.seconds(),t.nano())},e.plus=function(t,n){return 1===arguments.length?this.plusDuration(t):2===arguments.length&&n instanceof k?this.plusAmountUnit(t,n):this.plusSecondsNanos(t,n)},e.plusAmountUnit=function(t,n){if(p(t,"amountToAdd"),p(n,"unit"),n===C.DAYS)return this.plusSecondsNanos(w.safeMultiply(t,fn.SECONDS_PER_DAY),0);if(n.isDurationEstimated())throw new s("Unit must not have an estimated duration");if(0===t)return this;if(n instanceof C){switch(n){case C.NANOS:return this.plusNanos(t);case C.MICROS:return this.plusSecondsNanos(1e3*w.intDiv(t,1e9),1e3*w.intMod(t,1e9));case C.MILLIS:return this.plusMillis(t);case C.SECONDS:return this.plusSeconds(t)}return this.plusSecondsNanos(w.safeMultiply(n.duration().seconds(),t),0)}var e=n.duration().multipliedBy(t);return this.plusSecondsNanos(e.seconds(),e.nano())},e.plusDays=function(t){return this.plusSecondsNanos(w.safeMultiply(t,fn.SECONDS_PER_DAY),0)},e.plusHours=function(t){return this.plusSecondsNanos(w.safeMultiply(t,fn.SECONDS_PER_HOUR),0)},e.plusMinutes=function(t){return this.plusSecondsNanos(w.safeMultiply(t,fn.SECONDS_PER_MINUTE),0)},e.plusSeconds=function(t){return this.plusSecondsNanos(t,0)},e.plusMillis=function(t){return this.plusSecondsNanos(w.intDiv(t,1e3),1e6*w.intMod(t,1e3))},e.plusNanos=function(t){return this.plusSecondsNanos(0,t)},e.plusSecondsNanos=function(t,e){if(p(t,"secondsToAdd"),p(e,"nanosToAdd"),0===t&&0===e)return this;var r=w.safeAdd(this._seconds,t);r=w.safeAdd(r,w.intDiv(e,fn.NANOS_PER_SECOND)),e=w.intMod(e,fn.NANOS_PER_SECOND);var i=w.safeAdd(this._nanos,e);return n.ofSeconds(r,i)},e.minus=function(t,n){return 1===arguments.length?this.minusDuration(t):this.minusAmountUnit(t,n)},e.minusDuration=function(t){p(t,"duration");var n=t.seconds(),e=t.nano();return n===b?this.plus(g,-e):this.plus(-n,-e)},e.minusAmountUnit=function(t,n){return p(t,"amountToSubtract"),p(n,"unit"),t===b?this.plusAmountUnit(g,n):this.plusAmountUnit(-t,n)},e.minusDays=function(t){return t===b?this.plusDays(g):this.plusDays(-t)},e.minusHours=function(t){return t===b?this.plusHours(g):this.plusHours(-t)},e.minusMinutes=function(t){return t===b?this.plusMinutes(g):this.plusMinutes(-t)},e.minusSeconds=function(t){return t===b?this.plusSeconds(g):this.plusSeconds(-t)},e.minusMillis=function(t){return t===b?this.plusMillis(g):this.plusMillis(-t)},e.minusNanos=function(t){return t===b?this.plusNanos(g):this.plusNanos(-t)},e.multipliedBy=function(t){if(0===t)return n.ZERO;if(1===t)return this;var e=w.safeMultiply(this._seconds,t),r=w.safeMultiply(this._nanos,t);return e+=w.intDiv(r,fn.NANOS_PER_SECOND),r=w.intMod(r,fn.NANOS_PER_SECOND),n.ofSeconds(e,r)},e.dividedBy=function(t){if(0===t)throw new a("Cannot divide by zero");if(1===t)return this;var e=w.intDiv(this._seconds,t),r=w.roundDown((this._seconds/t-e)*fn.NANOS_PER_SECOND),i=w.intDiv(this._nanos,t);return i=r+i,n.ofSeconds(e,i)},e.negated=function(){return this.multipliedBy(-1)},e.abs=function(){return this.isNegative()?this.negated():this},e.addTo=function(t){return p(t,"temporal"),0!==this._seconds&&(t=t.plus(this._seconds,C.SECONDS)),0!==this._nanos&&(t=t.plus(this._nanos,C.NANOS)),t},e.subtractFrom=function(t){return p(t,"temporal"),0!==this._seconds&&(t=t.minus(this._seconds,C.SECONDS)),0!==this._nanos&&(t=t.minus(this._nanos,C.NANOS)),t},e.toDays=function(){return w.intDiv(this._seconds,fn.SECONDS_PER_DAY)},e.toHours=function(){return w.intDiv(this._seconds,fn.SECONDS_PER_HOUR)},e.toMinutes=function(){return w.intDiv(this._seconds,fn.SECONDS_PER_MINUTE)},e.toMillis=function(){var t=Math.round(w.safeMultiply(this._seconds,1e3));return w.safeAdd(t,w.intDiv(this._nanos,1e6))},e.toNanos=function(){var t=w.safeMultiply(this._seconds,fn.NANOS_PER_SECOND);return w.safeAdd(t,this._nanos)},e.compareTo=function(t){p(t,"otherDuration"),_(t,n,"otherDuration");var e=w.compareNumbers(this._seconds,t.seconds());return 0!==e?e:this._nanos-t.nano()},e.equals=function(t){return this===t||t instanceof n&&this.seconds()===t.seconds()&&this.nano()===t.nano()},e.toString=function(){if(this===n.ZERO)return"PT0S";var t,e=w.intDiv(this._seconds,fn.SECONDS_PER_HOUR),r=w.intDiv(w.intMod(this._seconds,fn.SECONDS_PER_HOUR),fn.SECONDS_PER_MINUTE),i=w.intMod(this._seconds,fn.SECONDS_PER_MINUTE),o="PT";if(0!==e&&(o+=e+"H"),0!==r&&(o+=r+"M"),0===i&&0===this._nanos&&o.length>2)return o;if(i<0&&this._nanos>0?o+=-1===i?"-0":i+1:o+=i,this._nanos>0)for(o+=".",o+=t=(t=i<0?""+(2*fn.NANOS_PER_SECOND-this._nanos):""+(fn.NANOS_PER_SECOND+this._nanos)).slice(1,t.length);"0"===o.charAt(o.length-1);)o=o.slice(0,o.length-1);return o+"S"},e.toJSON=function(){return this.toString()},n}(x),A=function(){},C=function(t){function n(n,e){var r;return(r=t.call(this)||this)._name=n,r._duration=e,r}h(n,t);var e=n.prototype;return e.duration=function(){return this._duration},e.isDurationEstimated=function(){return this.isDateBased()||this===n.FOREVER},e.isDateBased=function(){return this.compareTo(n.DAYS)>=0&&this!==n.FOREVER},e.isTimeBased=function(){return this.compareTo(n.DAYS)<0},e.isSupportedBy=function(t){if(this===n.FOREVER)return!1;try{return t.plus(1,this),!0}catch(n){try{return t.plus(-1,this),!0}catch(t){return!1}}},e.addTo=function(t,n){return t.plus(n,this)},e.between=function(t,n){return t.until(n,this)},e.toString=function(){return this._name},e.compareTo=function(t){return this.duration().compareTo(t.duration())},n}(k),E=function(){function t(){}var n=t.prototype;return n.isDateBased=function(){m("isDateBased")},n.isTimeBased=function(){m("isTimeBased")},n.baseUnit=function(){m("baseUnit")},n.rangeUnit=function(){m("rangeUnit")},n.range=function(){m("range")},n.rangeRefinedBy=function(t){m("rangeRefinedBy")},n.getFrom=function(t){m("getFrom")},n.adjustInto=function(t,n){m("adjustInto")},n.isSupportedBy=function(t){m("isSupportedBy")},n.displayName=function(){m("displayName")},n.equals=function(t){m("equals")},n.name=function(){m("name")},t}(),M=function(){function t(t,n,e,r){d(!(t>n),"Smallest minimum value '"+t+"' must be less than largest minimum value '"+n+"'",u),d(!(e>r),"Smallest maximum value '"+e+"' must be less than largest maximum value '"+r+"'",u),d(!(n>r),"Minimum value '"+n+"' must be less than maximum value '"+r+"'",u),this._minSmallest=t,this._minLargest=n,this._maxLargest=r,this._maxSmallest=e}var n=t.prototype;return n.isFixed=function(){return this._minSmallest===this._minLargest&&this._maxSmallest===this._maxLargest},n.minimum=function(){return this._minSmallest},n.largestMinimum=function(){return this._minLargest},n.maximum=function(){return this._maxLargest},n.smallestMaximum=function(){return this._maxSmallest},n.isValidValue=function(t){return this.minimum()<=t&&t<=this.maximum()},n.checkValidValue=function(t,n){return this.isValidValue(t)?t:d(!1,null!=n?"Invalid value for "+n+" (valid values "+this.toString()+"): "+t:"Invalid value (valid values "+this.toString()+"): "+t,i)},n.checkValidIntValue=function(t,n){if(!1===this.isValidIntValue(t))throw new i("Invalid int value for "+n+": "+t);return t},n.isValidIntValue=function(t){return this.isIntValue()&&this.isValidValue(t)},n.isIntValue=function(){return this.minimum()>=w.MIN_SAFE_INTEGER&&this.maximum()<=w.MAX_SAFE_INTEGER},n.equals=function(n){return n===this||n instanceof t&&this._minSmallest===n._minSmallest&&this._minLargest===n._minLargest&&this._maxSmallest===n._maxSmallest&&this._maxLargest===n._maxLargest},n.hashCode=function(){return w.hashCode(this._minSmallest,this._minLargest,this._maxSmallest,this._maxLargest)},n.toString=function(){var t=this.minimum()+(this.minimum()!==this.largestMinimum()?"/"+this.largestMinimum():"");return(t+=" - ")+(this.smallestMaximum()+(this.smallestMaximum()!==this.maximum()?"/"+this.maximum():""))},t.of=function(){return 2===arguments.length?new t(arguments[0],arguments[0],arguments[1],arguments[1]):3===arguments.length?new t(arguments[0],arguments[0],arguments[1],arguments[2]):4===arguments.length?new t(arguments[0],arguments[1],arguments[2],arguments[3]):d(!1,"Invalid number of arguments "+arguments.length,u)},t}(),$=function(t){function n(n,e,r,i){var o;return(o=t.call(this)||this)._name=n,o._baseUnit=e,o._rangeUnit=r,o._range=i,o}h(n,t),n.byName=function(t){for(var e in n)if(n[e]&&n[e]instanceof n&&n[e].name()===t)return n[e]};var e=n.prototype;return e.name=function(){return this._name},e.baseUnit=function(){return this._baseUnit},e.rangeUnit=function(){return this._rangeUnit},e.range=function(){return this._range},e.displayName=function(){return this.toString()},e.checkValidValue=function(t){return this.range().checkValidValue(t,this)},e.checkValidIntValue=function(t){return this.range().checkValidIntValue(t,this)},e.isDateBased=function(){return this===n.DAY_OF_WEEK||this===n.ALIGNED_DAY_OF_WEEK_IN_MONTH||this===n.ALIGNED_DAY_OF_WEEK_IN_YEAR||this===n.DAY_OF_MONTH||this===n.DAY_OF_YEAR||this===n.EPOCH_DAY||this===n.ALIGNED_WEEK_OF_MONTH||this===n.ALIGNED_WEEK_OF_YEAR||this===n.MONTH_OF_YEAR||this===n.YEAR_OF_ERA||this===n.YEAR||this===n.ERA},e.isTimeBased=function(){return this===n.NANO_OF_SECOND||this===n.NANO_OF_DAY||this===n.MICRO_OF_SECOND||this===n.MICRO_OF_DAY||this===n.MILLI_OF_SECOND||this===n.MILLI_OF_DAY||this===n.SECOND_OF_MINUTE||this===n.SECOND_OF_DAY||this===n.MINUTE_OF_HOUR||this===n.MINUTE_OF_DAY||this===n.HOUR_OF_AMPM||this===n.CLOCK_HOUR_OF_AMPM||this===n.HOUR_OF_DAY||this===n.CLOCK_HOUR_OF_DAY||this===n.AMPM_OF_DAY},e.rangeRefinedBy=function(t){return t.range(this)},e.getFrom=function(t){return t.getLong(this)},e.toString=function(){return this.name()},e.equals=function(t){return this===t},e.adjustInto=function(t,n){return t.with(this,n)},e.isSupportedBy=function(t){return t.isSupported(this)},n}(E),z=function(){function t(){}return t.zoneId=function(){return t.ZONE_ID},t.chronology=function(){return t.CHRONO},t.precision=function(){return t.PRECISION},t.zone=function(){return t.ZONE},t.offset=function(){return t.OFFSET},t.localDate=function(){return t.LOCAL_DATE},t.localTime=function(){return t.LOCAL_TIME},t}(),T=function(){function t(){}var n=t.prototype;return n.query=function(t){return t===z.zoneId()||t===z.chronology()||t===z.precision()?null:t.queryFrom(this)},n.get=function(t){return this.range(t).checkValidIntValue(this.getLong(t),t)},n.range=function(t){if(t instanceof $){if(this.isSupported(t))return t.range();throw new s("Unsupported field: "+t)}return t.rangeRefinedBy(this)},t}(),O=function(t){function n(){return t.apply(this,arguments)||this}return h(n,t),n.prototype.queryFrom=function(t){m("queryFrom")},n}(y);function j(t,n){var e=function(t){function n(){return t.apply(this,arguments)||this}return h(n,t),n}(O);return e.prototype.queryFrom=n,new e(t)}var R,L,D=function(t){function n(n,e){var r;return(r=t.call(this)||this)._ordinal=n,r._name=e,r}h(n,t);var e=n.prototype;return e.ordinal=function(){return this._ordinal},e.name=function(){return this._name},n.values=function(){return R.slice()},n.valueOf=function(t){for(var e=0;e7)throw new i("Invalid value for DayOfWeek: "+t);return R[t-1]},n.from=function(t){if(d(null!=t,"temporal",l),t instanceof n)return t;try{return n.of(t.get($.DAY_OF_WEEK))}catch(n){throw n instanceof i?new i("Unable to obtain DayOfWeek from TemporalAccessor: "+t+", type "+(null!=t.constructor?t.constructor.name:""),n):n}},e.value=function(){return this._ordinal+1},e.displayName=function(t,n){throw new u("Pattern using (localized) text not implemented yet!")},e.isSupported=function(t){return t instanceof $?t===$.DAY_OF_WEEK:null!=t&&t.isSupportedBy(this)},e.range=function(t){if(t===$.DAY_OF_WEEK)return t.range();if(t instanceof $)throw new s("Unsupported field: "+t);return t.rangeRefinedBy(this)},e.get=function(t){return t===$.DAY_OF_WEEK?this.value():this.range(t).checkValidIntValue(this.getLong(t),t)},e.getLong=function(t){if(t===$.DAY_OF_WEEK)return this.value();if(t instanceof $)throw new s("Unsupported field: "+t);return t.getFrom(this)},e.plus=function(t){var n=w.floorMod(t,7);return R[w.floorMod(this._ordinal+(n+7),7)]},e.minus=function(t){return this.plus(-1*w.floorMod(t,7))},e.query=function(t){return t===z.precision()?C.DAYS:t===z.localDate()||t===z.localTime()||t===z.chronology()||t===z.zone()||t===z.zoneId()||t===z.offset()?null:(d(null!=t,"query",l),t.queryFrom(this))},e.adjustInto=function(t){return p(t,"temporal"),t.with($.DAY_OF_WEEK,this.value())},e.equals=function(t){return this===t},e.toString=function(){return this._name},e.compareTo=function(t){return p(t,"other"),_(t,n,"other"),this._ordinal-t._ordinal},e.toJSON=function(){return this.toString()},n}(T),P=function(t){function n(n,e){var r;return(r=t.call(this)||this)._value=w.safeToInt(n),r._name=e,r}h(n,t);var e=n.prototype;return e.value=function(){return this._value},e.ordinal=function(){return this._value-1},e.name=function(){return this._name},e.displayName=function(t,n){throw new u("Pattern using (localized) text not implemented yet!")},e.isSupported=function(t){return null!==t&&(t instanceof $?t===$.MONTH_OF_YEAR:null!=t&&t.isSupportedBy(this))},e.get=function(t){return t===$.MONTH_OF_YEAR?this.value():this.range(t).checkValidIntValue(this.getLong(t),t)},e.getLong=function(t){if(t===$.MONTH_OF_YEAR)return this.value();if(t instanceof $)throw new s("Unsupported field: "+t);return t.getFrom(this)},e.plus=function(t){var e=w.intMod(t,12)+12,r=w.intMod(this.value()+e,12);return r=0===r?12:r,n.of(r)},e.minus=function(t){return this.plus(-1*w.intMod(t,12))},e.length=function(t){switch(this){case n.FEBRUARY:return t?29:28;case n.APRIL:case n.JUNE:case n.SEPTEMBER:case n.NOVEMBER:return 30;default:return 31}},e.minLength=function(){switch(this){case n.FEBRUARY:return 28;case n.APRIL:case n.JUNE:case n.SEPTEMBER:case n.NOVEMBER:return 30;default:return 31}},e.maxLength=function(){switch(this){case n.FEBRUARY:return 29;case n.APRIL:case n.JUNE:case n.SEPTEMBER:case n.NOVEMBER:return 30;default:return 31}},e.firstDayOfYear=function(t){var e=t?1:0;switch(this){case n.JANUARY:return 1;case n.FEBRUARY:return 32;case n.MARCH:return 60+e;case n.APRIL:return 91+e;case n.MAY:return 121+e;case n.JUNE:return 152+e;case n.JULY:return 182+e;case n.AUGUST:return 213+e;case n.SEPTEMBER:return 244+e;case n.OCTOBER:return 274+e;case n.NOVEMBER:return 305+e;case n.DECEMBER:default:return 335+e}},e.firstMonthOfQuarter=function(){switch(this){case n.JANUARY:case n.FEBRUARY:case n.MARCH:return n.JANUARY;case n.APRIL:case n.MAY:case n.JUNE:return n.APRIL;case n.JULY:case n.AUGUST:case n.SEPTEMBER:return n.JULY;case n.OCTOBER:case n.NOVEMBER:case n.DECEMBER:default:return n.OCTOBER}},e.query=function(n){return d(null!=n,"query() parameter must not be null",i),n===z.chronology()?nn.INSTANCE:n===z.precision()?C.MONTHS:t.prototype.query.call(this,n)},e.toString=function(){switch(this){case n.JANUARY:return"JANUARY";case n.FEBRUARY:return"FEBRUARY";case n.MARCH:return"MARCH";case n.APRIL:return"APRIL";case n.MAY:return"MAY";case n.JUNE:return"JUNE";case n.JULY:return"JULY";case n.AUGUST:return"AUGUST";case n.SEPTEMBER:return"SEPTEMBER";case n.OCTOBER:return"OCTOBER";case n.NOVEMBER:return"NOVEMBER";case n.DECEMBER:return"DECEMBER";default:return"unknown Month, value: "+this.value()}},e.toJSON=function(){return this.toString()},e.adjustInto=function(t){return t.with($.MONTH_OF_YEAR,this.value())},e.compareTo=function(t){return p(t,"other"),_(t,n,"other"),this._value-t._value},e.equals=function(t){return this===t},n.valueOf=function(t){for(var e=0;e12)&&d(!1,"Invalid value for MonthOfYear: "+t,i),L[t-1]},n.from=function(t){if(t instanceof n)return t;try{return n.of(t.get($.MONTH_OF_YEAR))}catch(n){throw new i("Unable to obtain Month from TemporalAccessor: "+t+" of type "+(t&&null!=t.constructor?t.constructor.name:""),n)}},n}(T),I=/([-+]?)P(?:([-+]?[0-9]+)Y)?(?:([-+]?[0-9]+)M)?(?:([-+]?[0-9]+)W)?(?:([-+]?[0-9]+)D)?/,q=function(t){function n(e,r,i){var o;o=t.call(this)||this;var s=w.safeToInt(e),a=w.safeToInt(r),u=w.safeToInt(i);return 0===s&&0===a&&0===u?(n.ZERO||(o._years=s,o._months=a,o._days=u,n.ZERO=f(o)),n.ZERO||f(o)):(o._years=s,o._months=a,o._days=u,o)}h(n,t),n.ofYears=function(t){return n.create(t,0,0)},n.ofMonths=function(t){return n.create(0,t,0)},n.ofWeeks=function(t){return n.create(0,0,w.safeMultiply(t,7))},n.ofDays=function(t){return n.create(0,0,t)},n.of=function(t,e,r){return n.create(t,e,r)},n.from=function(t){if(t instanceof n)return t;p(t,"amount");for(var e=0,r=0,o=0,s=t.units(),a=0;an.MAX_SECONDS)throw new i("Zone offset not in valid range: -18:00 to +18:00")},n._validate=function(t,n,e){if(t<-18||t>18)throw new i("Zone offset hours not in valid range: value "+t+" is not in the range -18 to 18");if(t>0){if(n<0||e<0)throw new i("Zone offset minutes and seconds must be positive because hours is positive")}else if(t<0){if(n>0||e>0)throw new i("Zone offset minutes and seconds must be negative because hours is negative")}else if(n>0&&e<0||n<0&&e>0)throw new i("Zone offset minutes and seconds must have the same sign");if(Math.abs(n)>59)throw new i("Zone offset minutes not in valid range: abs(value) "+Math.abs(n)+" is not in the range 0 to 59");if(Math.abs(e)>59)throw new i("Zone offset seconds not in valid range: abs(value) "+Math.abs(e)+" is not in the range 0 to 59");if(18===Math.abs(t)&&(Math.abs(n)>0||Math.abs(e)>0))throw new i("Zone offset not in valid range: -18:00 to +18:00")},n.of=function(t){p(t,"offsetId");var e,r,o,s=J[t];if(null!=s)return s;switch(t.length){case 2:t=t[0]+"0"+t[1];case 3:e=n._parseNumber(t,1,!1),r=0,o=0;break;case 5:e=n._parseNumber(t,1,!1),r=n._parseNumber(t,3,!1),o=0;break;case 6:e=n._parseNumber(t,1,!1),r=n._parseNumber(t,4,!0),o=0;break;case 7:e=n._parseNumber(t,1,!1),r=n._parseNumber(t,3,!1),o=n._parseNumber(t,5,!1);break;case 9:e=n._parseNumber(t,1,!1),r=n._parseNumber(t,4,!0),o=n._parseNumber(t,7,!0);break;default:throw new i("Invalid ID for ZoneOffset, invalid format: "+t)}var a=t[0];if("+"!==a&&"-"!==a)throw new i("Invalid ID for ZoneOffset, plus/minus not found when expected: "+t);return"-"===a?n.ofHoursMinutesSeconds(-e,-r,-o):n.ofHoursMinutesSeconds(e,r,o)},n._parseNumber=function(t,n,e){if(e&&":"!==t[n-1])throw new i("Invalid ID for ZoneOffset, colon not found when expected: "+t);var r=t[n],o=t[n+1];if(r<"0"||r>"9"||o<"0"||o>"9")throw new i("Invalid ID for ZoneOffset, non numeric characters found: "+t);return 10*(r.charCodeAt(0)-48)+(o.charCodeAt(0)-48)},n.ofHours=function(t){return n.ofHoursMinutesSeconds(t,0,0)},n.ofHoursMinutes=function(t,e){return n.ofHoursMinutesSeconds(t,e,0)},n.ofHoursMinutesSeconds=function(t,e,r){n._validate(t,e,r);var i=t*fn.SECONDS_PER_HOUR+e*fn.SECONDS_PER_MINUTE+r;return n.ofTotalSeconds(i)},n.ofTotalMinutes=function(t){var e=t*fn.SECONDS_PER_MINUTE;return n.ofTotalSeconds(e)},n.ofTotalSeconds=function(t){if(t%(15*fn.SECONDS_PER_MINUTE)==0){var e=t,r=Z[e];return null==r&&(r=new n(t),Z[e]=r,J[r.id()]=r),r}return new n(t)},e.rules=function(){return this._rules},e.get=function(t){return this.getLong(t)},e.getLong=function(t){if(t===$.OFFSET_SECONDS)return this._totalSeconds;if(t instanceof $)throw new i("Unsupported field: "+t);return t.getFrom(this)},e.query=function(t){return p(t,"query"),t===z.offset()||t===z.zone()?this:t===z.localDate()||t===z.localTime()||t===z.precision()||t===z.chronology()||t===z.zoneId()?null:t.queryFrom(this)},e.adjustInto=function(t){return t.with($.OFFSET_SECONDS,this._totalSeconds)},e.compareTo=function(t){return p(t,"other"),t._totalSeconds-this._totalSeconds},e.equals=function(t){return this===t||t instanceof n&&this._totalSeconds===t._totalSeconds},e.hashCode=function(){return this._totalSeconds},e.toString=function(){return this._id},n}(Y),tt=function(t){function n(){var n;return(n=t.call(this)||this).fieldValues=new F,n.chrono=null,n.zone=null,n.date=null,n.time=null,n.leapSecond=!1,n.excessDays=null,n}h(n,t),n.create=function(t,e){var r=new n;return r._addFieldValue(t,e),r};var e=n.prototype;return e.getFieldValue0=function(t){return this.fieldValues.get(t)},e._addFieldValue=function(t,n){p(t,"field");var e=this.getFieldValue0(t);if(null!=e&&e!==n)throw new i("Conflict found: "+t+" "+e+" differs from "+t+" "+n+": "+this);return this._putFieldValue0(t,n)},e._putFieldValue0=function(t,n){return this.fieldValues.put(t,n),this},e.resolve=function(t,n){return null!=n&&this.fieldValues.retainAll(n),this._mergeDate(t),this._mergeTime(t),this._resolveTimeInferZeroes(t),null!=this.excessDays&&!1===this.excessDays.isZero()&&null!=this.date&&null!=this.time&&(this.date=this.date.plus(this.excessDays),this.excessDays=q.ZERO),this._resolveInstant(),this},e._mergeDate=function(t){this._checkDate(nn.INSTANCE.resolveDate(this.fieldValues,t))},e._checkDate=function(t){if(null!=t)for(var n in this._addObject(t),this.fieldValues.keySet()){var e=$.byName(n);if(e&&void 0!==this.fieldValues.get(e)&&e.isDateBased()){var r=void 0;try{r=t.getLong(e)}catch(t){if(t instanceof i)continue;throw t}var o=this.fieldValues.get(e);if(r!==o)throw new i("Conflict found: Field "+e+" "+r+" differs from "+e+" "+o+" derived from "+t)}}},e._mergeTime=function(t){if(this.fieldValues.containsKey($.CLOCK_HOUR_OF_DAY)){var n=this.fieldValues.remove($.CLOCK_HOUR_OF_DAY);t!==B.LENIENT&&(t===B.SMART&&0===n||$.CLOCK_HOUR_OF_DAY.checkValidValue(n)),this._addFieldValue($.HOUR_OF_DAY,24===n?0:n)}if(this.fieldValues.containsKey($.CLOCK_HOUR_OF_AMPM)){var e=this.fieldValues.remove($.CLOCK_HOUR_OF_AMPM);t!==B.LENIENT&&(t===B.SMART&&0===e||$.CLOCK_HOUR_OF_AMPM.checkValidValue(e)),this._addFieldValue($.HOUR_OF_AMPM,12===e?0:e)}if(t!==B.LENIENT&&(this.fieldValues.containsKey($.AMPM_OF_DAY)&&$.AMPM_OF_DAY.checkValidValue(this.fieldValues.get($.AMPM_OF_DAY)),this.fieldValues.containsKey($.HOUR_OF_AMPM)&&$.HOUR_OF_AMPM.checkValidValue(this.fieldValues.get($.HOUR_OF_AMPM))),this.fieldValues.containsKey($.AMPM_OF_DAY)&&this.fieldValues.containsKey($.HOUR_OF_AMPM)){var r=this.fieldValues.remove($.AMPM_OF_DAY),i=this.fieldValues.remove($.HOUR_OF_AMPM);this._addFieldValue($.HOUR_OF_DAY,12*r+i)}if(this.fieldValues.containsKey($.NANO_OF_DAY)){var o=this.fieldValues.remove($.NANO_OF_DAY);t!==B.LENIENT&&$.NANO_OF_DAY.checkValidValue(o),this._addFieldValue($.SECOND_OF_DAY,w.intDiv(o,1e9)),this._addFieldValue($.NANO_OF_SECOND,w.intMod(o,1e9))}if(this.fieldValues.containsKey($.MICRO_OF_DAY)){var s=this.fieldValues.remove($.MICRO_OF_DAY);t!==B.LENIENT&&$.MICRO_OF_DAY.checkValidValue(s),this._addFieldValue($.SECOND_OF_DAY,w.intDiv(s,1e6)),this._addFieldValue($.MICRO_OF_SECOND,w.intMod(s,1e6))}if(this.fieldValues.containsKey($.MILLI_OF_DAY)){var a=this.fieldValues.remove($.MILLI_OF_DAY);t!==B.LENIENT&&$.MILLI_OF_DAY.checkValidValue(a),this._addFieldValue($.SECOND_OF_DAY,w.intDiv(a,1e3)),this._addFieldValue($.MILLI_OF_SECOND,w.intMod(a,1e3))}if(this.fieldValues.containsKey($.SECOND_OF_DAY)){var u=this.fieldValues.remove($.SECOND_OF_DAY);t!==B.LENIENT&&$.SECOND_OF_DAY.checkValidValue(u),this._addFieldValue($.HOUR_OF_DAY,w.intDiv(u,3600)),this._addFieldValue($.MINUTE_OF_HOUR,w.intMod(w.intDiv(u,60),60)),this._addFieldValue($.SECOND_OF_MINUTE,w.intMod(u,60))}if(this.fieldValues.containsKey($.MINUTE_OF_DAY)){var c=this.fieldValues.remove($.MINUTE_OF_DAY);t!==B.LENIENT&&$.MINUTE_OF_DAY.checkValidValue(c),this._addFieldValue($.HOUR_OF_DAY,w.intDiv(c,60)),this._addFieldValue($.MINUTE_OF_HOUR,w.intMod(c,60))}if(t!==B.LENIENT&&(this.fieldValues.containsKey($.MILLI_OF_SECOND)&&$.MILLI_OF_SECOND.checkValidValue(this.fieldValues.get($.MILLI_OF_SECOND)),this.fieldValues.containsKey($.MICRO_OF_SECOND)&&$.MICRO_OF_SECOND.checkValidValue(this.fieldValues.get($.MICRO_OF_SECOND))),this.fieldValues.containsKey($.MILLI_OF_SECOND)&&this.fieldValues.containsKey($.MICRO_OF_SECOND)){var l=this.fieldValues.remove($.MILLI_OF_SECOND),h=this.fieldValues.get($.MICRO_OF_SECOND);this._putFieldValue0($.MICRO_OF_SECOND,1e3*l+w.intMod(h,1e3))}if(this.fieldValues.containsKey($.MICRO_OF_SECOND)&&this.fieldValues.containsKey($.NANO_OF_SECOND)){var f=this.fieldValues.get($.NANO_OF_SECOND);this._putFieldValue0($.MICRO_OF_SECOND,w.intDiv(f,1e3)),this.fieldValues.remove($.MICRO_OF_SECOND)}if(this.fieldValues.containsKey($.MILLI_OF_SECOND)&&this.fieldValues.containsKey($.NANO_OF_SECOND)){var d=this.fieldValues.get($.NANO_OF_SECOND);this._putFieldValue0($.MILLI_OF_SECOND,w.intDiv(d,1e6)),this.fieldValues.remove($.MILLI_OF_SECOND)}if(this.fieldValues.containsKey($.MICRO_OF_SECOND)){var p=this.fieldValues.remove($.MICRO_OF_SECOND);this._putFieldValue0($.NANO_OF_SECOND,1e3*p)}else if(this.fieldValues.containsKey($.MILLI_OF_SECOND)){var _=this.fieldValues.remove($.MILLI_OF_SECOND);this._putFieldValue0($.NANO_OF_SECOND,1e6*_)}},e._resolveTimeInferZeroes=function(t){var n=this.fieldValues.get($.HOUR_OF_DAY),e=this.fieldValues.get($.MINUTE_OF_HOUR),r=this.fieldValues.get($.SECOND_OF_MINUTE),i=this.fieldValues.get($.NANO_OF_SECOND);if(null!=n&&(null!=e||null==r&&null==i)&&(null==e||null!=r||null==i)){if(t!==B.LENIENT){if(null!=n){t!==B.SMART||24!==n||null!=e&&0!==e||null!=r&&0!==r||null!=i&&0!==i||(n=0,this.excessDays=q.ofDays(1));var o=$.HOUR_OF_DAY.checkValidIntValue(n);if(null!=e){var s=$.MINUTE_OF_HOUR.checkValidIntValue(e);if(null!=r){var a=$.SECOND_OF_MINUTE.checkValidIntValue(r);if(null!=i){var u=$.NANO_OF_SECOND.checkValidIntValue(i);this._addObject(fn.of(o,s,a,u))}else this._addObject(fn.of(o,s,a))}else null==i&&this._addObject(fn.of(o,s))}else null==r&&null==i&&this._addObject(fn.of(o,0))}}else if(null!=n){var c=n;if(null!=e)if(null!=r){null==i&&(i=0);var l=w.safeMultiply(c,36e11);l=w.safeAdd(l,w.safeMultiply(e,6e10)),l=w.safeAdd(l,w.safeMultiply(r,1e9)),l=w.safeAdd(l,i);var h=w.floorDiv(l,864e11),f=w.floorMod(l,864e11);this._addObject(fn.ofNanoOfDay(f)),this.excessDays=q.ofDays(h)}else{var d=w.safeMultiply(c,3600);d=w.safeAdd(d,w.safeMultiply(e,60));var p=w.floorDiv(d,86400),_=w.floorMod(d,86400);this._addObject(fn.ofSecondOfDay(_)),this.excessDays=q.ofDays(p)}else{var m=w.safeToInt(w.floorDiv(c,24));c=w.floorMod(c,24),this._addObject(fn.of(c,0)),this.excessDays=q.ofDays(m)}}this.fieldValues.remove($.HOUR_OF_DAY),this.fieldValues.remove($.MINUTE_OF_HOUR),this.fieldValues.remove($.SECOND_OF_MINUTE),this.fieldValues.remove($.NANO_OF_SECOND)}},e._addObject=function(t){t instanceof W?this.date=t:t instanceof fn&&(this.time=t)},e._resolveInstant=function(){if(null!=this.date&&null!=this.time){var t=this.fieldValues.get($.OFFSET_SECONDS);if(null!=t){var n=Q.ofTotalSeconds(t),e=this.date.atTime(this.time).atZone(n).getLong($.INSTANT_SECONDS);this.fieldValues.put($.INSTANT_SECONDS,e)}else if(null!=this.zone){var r=this.date.atTime(this.time).atZone(this.zone).getLong($.INSTANT_SECONDS);this.fieldValues.put($.INSTANT_SECONDS,r)}}},e.build=function(t){return t.queryFrom(this)},e.isSupported=function(t){return null!=t&&(this.fieldValues.containsKey(t)&&void 0!==this.fieldValues.get(t)||null!=this.date&&this.date.isSupported(t)||null!=this.time&&this.time.isSupported(t))},e.getLong=function(t){p(t,"field");var n=this.getFieldValue0(t);if(null==n){if(null!=this.date&&this.date.isSupported(t))return this.date.getLong(t);if(null!=this.time&&this.time.isSupported(t))return this.time.getLong(t);throw new i("Field not found: "+t)}return n},e.query=function(t){return t===z.zoneId()?this.zone:t===z.chronology()?this.chrono:t===z.localDate()?null!=this.date?cn.from(this.date):null:t===z.localTime()?this.time:t===z.zone()||t===z.offset()?t.queryFrom(this):t===z.precision()?null:t.queryFrom(this)},n}(T),nt=function(){function t(){if(1===arguments.length){if(arguments[0]instanceof t)return void this._constructorSelf.apply(this,arguments);this._constructorFormatter.apply(this,arguments)}else this._constructorParam.apply(this,arguments);this._caseSensitive=!0,this._strict=!0,this._parsed=[new et(this)]}var n=t.prototype;return n._constructorParam=function(t,n,e){this._locale=t,this._symbols=n,this._overrideChronology=e},n._constructorFormatter=function(t){this._locale=t.locale(),this._symbols=t.decimalStyle(),this._overrideChronology=t.chronology()},n._constructorSelf=function(t){this._locale=t._locale,this._symbols=t._symbols,this._overrideChronology=t._overrideChronology,this._overrideZone=t._overrideZone,this._caseSensitive=t._caseSensitive,this._strict=t._strict,this._parsed=[new et(this)]},n.copy=function(){return new t(this)},n.symbols=function(){return this._symbols},n.isStrict=function(){return this._strict},n.setStrict=function(t){this._strict=t},n.locale=function(){return this._locale},n.setLocale=function(t){this._locale=t},n.startOptional=function(){this._parsed.push(this.currentParsed().copy())},n.endOptional=function(t){t?this._parsed.splice(this._parsed.length-2,1):this._parsed.splice(this._parsed.length-1,1)},n.isCaseSensitive=function(){return this._caseSensitive},n.setCaseSensitive=function(t){this._caseSensitive=t},n.subSequenceEquals=function(t,n,e,r,i){if(n+i>t.length||r+i>e.length)return!1;this.isCaseSensitive()||(t=t.toLowerCase(),e=e.toLowerCase());for(var o=0;o0)return null;throw t}},n.temporal=function(){return this._temporal},n.locale=function(){return this._locale},n.setDateTime=function(t){this._temporal=t},n.setLocale=function(t){this._locale=t},t}(),it={},ot=[0,90,181,273,0,91,182,274],st=function(t){function n(){return t.apply(this,arguments)||this}h(n,t);var e=n.prototype;return e.isDateBased=function(){return!0},e.isTimeBased=function(){return!1},e._isIso=function(){return!0},n._getWeekRangeByLocalDate=function(t){var e=n._getWeekBasedYear(t);return M.of(1,n._getWeekRangeByYear(e))},n._getWeekRangeByYear=function(t){var n=cn.of(t,1,1);return n.dayOfWeek()===D.THURSDAY||n.dayOfWeek()===D.WEDNESDAY&&n.isLeapYear()?53:52},n._getWeek=function(t){var e=t.dayOfWeek().ordinal(),r=t.dayOfYear()-1,i=r+(3-e),o=i-7*w.intDiv(i,7)-3;if(o<-3&&(o+=7),r=363){var r=t.dayOfWeek().ordinal();(e=e-363-(t.isLeapYear()?1:0))-r>=0&&n++}return n},e.displayName=function(){return this.toString()},e.resolve=function(){return null},e.name=function(){return this.toString()},n}(E),at=function(t){function n(){return t.apply(this,arguments)||this}h(n,t);var e=n.prototype;return e.toString=function(){return"DayOfQuarter"},e.baseUnit=function(){return C.DAYS},e.rangeUnit=function(){return vt},e.range=function(){return M.of(1,90,92)},e.isSupportedBy=function(t){return t.isSupported($.DAY_OF_YEAR)&&t.isSupported($.MONTH_OF_YEAR)&&t.isSupported($.YEAR)&&this._isIso(t)},e.rangeRefinedBy=function(t){if(!1===t.isSupported(this))throw new s("Unsupported field: DayOfQuarter");var n=t.getLong(dt);if(1===n){var e=t.getLong($.YEAR);return nn.isLeapYear(e)?M.of(1,91):M.of(1,90)}return 2===n?M.of(1,91):3===n||4===n?M.of(1,92):this.range()},e.getFrom=function(t){if(!1===t.isSupported(this))throw new s("Unsupported field: DayOfQuarter");var n=t.get($.DAY_OF_YEAR),e=t.get($.MONTH_OF_YEAR),r=t.getLong($.YEAR);return n-ot[w.intDiv(e-1,3)+(nn.isLeapYear(r)?4:0)]},e.adjustInto=function(t,n){var e=this.getFrom(t);return this.range().checkValidValue(n,this),t.with($.DAY_OF_YEAR,t.getLong($.DAY_OF_YEAR)+(n-e))},e.resolve=function(t,n,e){var r=t.get($.YEAR),i=t.get(dt);if(null==r||null==i)return null;var o,s=$.YEAR.checkValidIntValue(r),a=t.get(ft);if(e===B.LENIENT){var u=i;o=(o=(o=cn.of(s,1,1)).plusMonths(w.safeMultiply(w.safeSubtract(u,1),3))).plusDays(w.safeSubtract(a,1))}else{var c=dt.range().checkValidIntValue(i,dt);if(e===B.STRICT){var l=92;1===c?l=nn.isLeapYear(s)?91:90:2===c&&(l=91),M.of(1,l).checkValidValue(a,this)}else this.range().checkValidValue(a,this);o=cn.of(s,3*(c-1)+1,1).plusDays(a-1)}return t.remove(this),t.remove($.YEAR),t.remove(dt),o},n}(st),ut=function(t){function n(){return t.apply(this,arguments)||this}h(n,t);var e=n.prototype;return e.toString=function(){return"QuarterOfYear"},e.baseUnit=function(){return vt},e.rangeUnit=function(){return C.YEARS},e.range=function(){return M.of(1,4)},e.isSupportedBy=function(t){return t.isSupported($.MONTH_OF_YEAR)&&this._isIso(t)},e.rangeRefinedBy=function(t){return this.range()},e.getFrom=function(t){if(!1===t.isSupported(this))throw new s("Unsupported field: QuarterOfYear");var n=t.getLong($.MONTH_OF_YEAR);return w.intDiv(n+2,3)},e.adjustInto=function(t,n){var e=this.getFrom(t);return this.range().checkValidValue(n,this),t.with($.MONTH_OF_YEAR,t.getLong($.MONTH_OF_YEAR)+3*(n-e))},n}(st),ct=function(t){function n(){return t.apply(this,arguments)||this}h(n,t);var e=n.prototype;return e.toString=function(){return"WeekOfWeekBasedYear"},e.baseUnit=function(){return C.WEEKS},e.rangeUnit=function(){return mt},e.range=function(){return M.of(1,52,53)},e.isSupportedBy=function(t){return t.isSupported($.EPOCH_DAY)&&this._isIso(t)},e.rangeRefinedBy=function(t){if(!1===t.isSupported(this))throw new s("Unsupported field: WeekOfWeekBasedYear");return st._getWeekRangeByLocalDate(cn.from(t))},e.getFrom=function(t){if(!1===t.isSupported(this))throw new s("Unsupported field: WeekOfWeekBasedYear");return st._getWeek(cn.from(t))},e.adjustInto=function(t,n){return this.range().checkValidValue(n,this),t.plus(w.safeSubtract(n,this.getFrom(t)),C.WEEKS)},e.resolve=function(t,n,e){var r=t.get(_t),i=t.get($.DAY_OF_WEEK);if(null==r||null==i)return null;var o,s=_t.range().checkValidIntValue(r,_t),a=t.get(pt);if(e===B.LENIENT){var u=i,c=0;u>7?(c=w.intDiv(u-1,7),u=w.intMod(u-1,7)+1):u<1&&(c=w.intDiv(u,7)-1,u=w.intMod(u,7)+7),o=cn.of(s,1,4).plusWeeks(a-1).plusWeeks(c).with($.DAY_OF_WEEK,u)}else{var l=$.DAY_OF_WEEK.checkValidIntValue(i);if(e===B.STRICT){var h=cn.of(s,1,4);st._getWeekRangeByLocalDate(h).checkValidValue(a,this)}else this.range().checkValidValue(a,this);o=cn.of(s,1,4).plusWeeks(a-1).with($.DAY_OF_WEEK,l)}return t.remove(this),t.remove(_t),t.remove($.DAY_OF_WEEK),o},e.displayName=function(){return"Week"},n}(st),lt=function(t){function n(){return t.apply(this,arguments)||this}h(n,t);var e=n.prototype;return e.toString=function(){return"WeekBasedYear"},e.baseUnit=function(){return mt},e.rangeUnit=function(){return C.FOREVER},e.range=function(){return $.YEAR.range()},e.isSupportedBy=function(t){return t.isSupported($.EPOCH_DAY)&&this._isIso(t)},e.rangeRefinedBy=function(t){return $.YEAR.range()},e.getFrom=function(t){if(!1===t.isSupported(this))throw new s("Unsupported field: WeekBasedYear");return st._getWeekBasedYear(cn.from(t))},e.adjustInto=function(t,n){if(!1===this.isSupportedBy(t))throw new s("Unsupported field: WeekBasedYear");var e=this.range().checkValidIntValue(n,_t),r=cn.from(t),i=r.get($.DAY_OF_WEEK),o=st._getWeek(r);53===o&&52===st._getWeekRangeByYear(e)&&(o=52);var a=cn.of(e,1,4),u=i-a.get($.DAY_OF_WEEK)+7*(o-1);return a=a.plusDays(u),t.with(a)},n}(st),ht=function(t){function n(n,e){var r;return(r=t.call(this)||this)._name=n,r._duration=e,r}h(n,t);var e=n.prototype;return e.duration=function(){return this._duration},e.isDurationEstimated=function(){return!0},e.isDateBased=function(){return!0},e.isTimeBased=function(){return!1},e.isSupportedBy=function(t){return t.isSupported($.EPOCH_DAY)},e.addTo=function(t,n){switch(this){case mt:var e=w.safeAdd(t.get(_t),n);return t.with(_t,e);case vt:return t.plus(w.intDiv(n,256),C.YEARS).plus(3*w.intMod(n,256),C.MONTHS);default:throw new c("Unreachable")}},e.between=function(t,n){switch(this){case mt:return w.safeSubtract(n.getLong(_t),t.getLong(_t));case vt:return w.intDiv(t.until(n,C.MONTHS),3);default:throw new c("Unreachable")}},e.toString=function(){return name},n}(k),ft=null,dt=null,pt=null,_t=null,mt=null,vt=null,gt=function(){function t(t,n,e,r){this._zeroDigit=t,this._zeroDigitCharCode=t.charCodeAt(0),this._positiveSign=n,this._negativeSign=e,this._decimalSeparator=r}var n=t.prototype;return n.positiveSign=function(){return this._positiveSign},n.withPositiveSign=function(n){return n===this._positiveSign?this:new t(this._zeroDigit,n,this._negativeSign,this._decimalSeparator)},n.negativeSign=function(){return this._negativeSign},n.withNegativeSign=function(n){return n===this._negativeSign?this:new t(this._zeroDigit,this._positiveSign,n,this._decimalSeparator)},n.zeroDigit=function(){return this._zeroDigit},n.withZeroDigit=function(n){return n===this._zeroDigit?this:new t(n,this._positiveSign,this._negativeSign,this._decimalSeparator)},n.decimalSeparator=function(){return this._decimalSeparator},n.withDecimalSeparator=function(n){return n===this._decimalSeparator?this:new t(this._zeroDigit,this._positiveSign,this._negativeSign,n)},n.convertToDigit=function(t){var n=t.charCodeAt(0)-this._zeroDigitCharCode;return n>=0&&n<=9?n:-1},n.convertNumberToI18N=function(t){if("0"===this._zeroDigit)return t;for(var n=this._zeroDigitCharCode-"0".charCodeAt(0),e="",r=0;r1)throw new u('invalid literal, too long: "'+t+'"');this._literal=t}var n=t.prototype;return n.print=function(t,n){return n.append(this._literal),!0},n.parse=function(t,n,e){if(e===n.length)return~e;var r=n.charAt(e);return!1===t.charEquals(this._literal,r)?~e:e+this._literal.length},n.toString=function(){return"'"===this._literal?"''":"'"+this._literal+"'"},t}(),xt=function(){function t(t,n){this._printerParsers=t,this._optional=n}var n=t.prototype;return n.withOptional=function(n){return n===this._optional?this:new t(this._printerParsers,n)},n.print=function(t,n){var e=n.length();this._optional&&t.startOptional();try{for(var r=0;r9)throw new u("Minimum width must be from 0 to 9 inclusive but was "+n);if(e<1||e>9)throw new u("Maximum width must be from 1 to 9 inclusive but was "+e);if(e0){this.decimalPoint&&n.append(r.decimalSeparator());for(var i=0;i0)for(;o.length>this.minWidth&&"0"===o[o.length-1];)o=o.substr(0,o.length-1);var a=o;a=r.convertNumberToI18N(a),this.decimalPoint&&n.append(r.decimalSeparator()),n.append(a)}return!0},n.parse=function(t,n,e){var r=t.isStrict()?this.minWidth:0,i=t.isStrict()?this.maxWidth:9,o=n.length;if(e===o)return r>0?~e:e;if(this.decimalPoint){if(n[e]!==t.symbols().decimalSeparator())return r>0?~e:e;e++}var s=e+r;if(s>o)return~e;for(var a=Math.min(e+i,o),u=0,c=e;c0&&this._minWidth===this._maxWidth&&this._signStyle===bt.NOT_NEGATIVE},n.print=function(t,n){var e=t.getValue(this._field);if(null==e)return!1;var r=this._getValue(t,e),o=t.symbols(),s=""+Math.abs(r);if(s.length>this._maxWidth)throw new i("Field "+this._field+" cannot be printed as the value "+r+" exceeds the maximum print width of "+this._maxWidth);if(s=o.convertNumberToI18N(s),r>=0)switch(this._signStyle){case bt.EXCEEDS_PAD:this._minWidth<15&&r>=St[this._minWidth]&&n.append(o.positiveSign());break;case bt.ALWAYS:n.append(o.positiveSign())}else switch(this._signStyle){case bt.NORMAL:case bt.EXCEEDS_PAD:case bt.ALWAYS:n.append(o.negativeSign());break;case bt.NOT_NEGATIVE:throw new i("Field "+this._field+" cannot be printed as the value "+r+" cannot be negative according to the SignStyle")}for(var a=0;a=0&&er)return~e;for(var l=(t.isStrict()||this._isFixedWidth()?this._maxWidth:9)+Math.max(this._subsequentWidth,0),h=0,f=e,p=0;p<2;p++){for(var _=Math.min(f+l,r);f<_;){var m=n.charAt(f++),v=t.symbols().convertToDigit(m);if(v<0){if(--f15)throw new a("number text exceeds length");h=10*h+v}if(!(this._subsequentWidth>0&&0===p))break;var g=f-e;l=Math.max(u,g-this._subsequentWidth),f=e,h=0}if(o){if(0===h&&t.isStrict())return~(e-1);0!==h&&(h=-h)}else if(this._signStyle===bt.EXCEEDS_PAD&&t.isStrict()){var b=f-e;if(s){if(b<=this._minWidth)return~(e-1)}else if(b>this._minWidth)return~e}return this._setValue(t,h,e,f)},n._getValue=function(t,n){return n},n._setValue=function(t,n,e,r){return t.setParsedField(this._field,n,e,r)},n.toString=function(){return 1===this._minWidth&&15===this._maxWidth&&this._signStyle===bt.NORMAL?"Value("+this._field+")":this._minWidth===this._maxWidth&&this._signStyle===bt.NOT_NEGATIVE?"Value("+this._field+","+this._minWidth+")":"Value("+this._field+","+this._minWidth+","+this._maxWidth+","+this._signStyle+")"},t}(),Ct=function(t){function n(n,e,r,o,s){var a;if(a=t.call(this,n,e,r,bt.NOT_NEGATIVE)||this,e<1||e>10)throw new u("The width must be from 1 to 10 inclusive but was "+e);if(r<1||r>10)throw new u("The maxWidth must be from 1 to 10 inclusive but was "+r);if(rw.MAX_SAFE_INTEGER)throw new i("Unable to add printer-parser as the range exceeds the capacity of an int")}return a._baseValue=o,a._baseDate=s,a}h(n,t);var e=n.prototype;return e._getValue=function(t,n){var e=Math.abs(n),r=this._baseValue;return null!==this._baseDate&&(t.temporal(),r=nn.INSTANCE.date(this._baseDate).get(this._field)),n>=r&&n=0){var o=St[this._minWidth],s=i-i%o;(n=i>0?s+n:s-n)=3||this.type>=1&&o>0)&&(n.append(this.type%2==0?":":"").appendChar(w.intDiv(o,10)+"0").appendChar(o%10+"0"),u+=o,(this.type>=7||this.type>=5&&s>0)&&(n.append(this.type%2==0?":":"").appendChar(w.intDiv(s,10)+"0").appendChar(s%10+"0"),u+=s)),0===u&&(n.setLength(a),n.append(this.noOffsetText))}return!0},n.parse=function(t,n,e){var r=n.length,i=this.noOffsetText.length;if(0===i){if(e===r)return t.setParsedField($.OFFSET_SECONDS,0,e,e)}else{if(e===r)return~e;if(t.subSequenceEquals(n,e,this.noOffsetText,0,i))return t.setParsedField($.OFFSET_SECONDS,0,e,e+i)}var o=n[e];if("+"===o||"-"===o){var s="-"===o?-1:1,a=[0,0,0,0];if(a[0]=e+1,!1===(this._parseNumber(a,1,n,!0)||this._parseNumber(a,2,n,this.type>=3)||this._parseNumber(a,3,n,!1))){var u=w.safeZero(s*(3600*a[1]+60*a[2]+a[3]));return t.setParsedField($.OFFSET_SECONDS,u,e,a[0])}}return 0===i?t.setParsedField($.OFFSET_SECONDS,0,e,e+i):~e},n._parseNumber=function(t,n,e,r){if((this.type+3)/21){if(i+1>e.length||":"!==e[i])return r;i++}if(i+2>e.length)return r;var o=e[i++],s=e[i++];if(o<"0"||o>"9"||s<"0"||s>"9")return r;var a=10*(o.charCodeAt(0)-48)+(s.charCodeAt(0)-48);return a<0||a>59?r:(t[n]=a,t[0]=i,!1)},n.toString=function(){var t=this.noOffsetText.replace("'","''");return"Offset("+Et[this.type]+",'"+t+"')"},t}();Mt.INSTANCE_ID=new Mt("Z","+HH:MM:ss"),Mt.PATTERNS=Et;var $t=function(){function t(t,n,e){this._printerParser=t,this._padWidth=n,this._padChar=e}var n=t.prototype;return n.print=function(t,n){var e=n.length();if(!1===this._printerParser.print(t,n))return!1;var r=n.length()-e;if(r>this._padWidth)throw new i("Cannot print as output of "+r+" characters exceeds pad width of "+this._padWidth);for(var o=0;on.length)),d(e>=0),e===n.length)return~e;var o=e+this._padWidth;if(o>n.length){if(r)return~e;o=n.length}for(var s=e;sn.length||e<0)),!1===t.subSequenceEquals(n,e,this._literal,0,this._literal.length)?~e:e+this._literal.length},n.toString=function(){return"'"+this._literal.replace("'","''")+"'"},t}(),Lt=function(){function t(){}return t.getRules=function(t){throw new i("unsupported ZoneId:"+t)},t.getAvailableZoneIds=function(){return[]},t}(),Dt=function(t){function n(n,e){var r;return(r=t.call(this)||this)._id=n,r._rules=e,r}h(n,t),n.ofId=function(t){return new n(t,Lt.getRules(t))};var e=n.prototype;return e.id=function(){return this._id},e.rules=function(){return this._rules},n}(Y),Pt=function(){function t(t,n){this.query=t,this.description=n}var n=t.prototype;return n.print=function(t,n){var e=t.getValueQuery(this.query);return null!=e&&(n.append(e.id()),!0)},n.parse=function(t,n,e){var r=n.length;if(e>r)return~e;if(e===r)return~e;var i=n.charAt(e);if("+"===i||"-"===i){var o=t.copy(),s=Mt.INSTANCE_ID.parse(o,n,e);if(s<0)return s;var a=o.getParsed($.OFFSET_SECONDS),u=Q.ofTotalSeconds(a);return t.setParsedZone(u),s}if(r>=e+2){var c=n.charAt(e+1);if(t.charEquals(i,"U")&&t.charEquals(c,"T"))return r>=e+3&&t.charEquals(n.charAt(e+2),"C")?this._parsePrefixedOffset(t,n,e,e+3):this._parsePrefixedOffset(t,n,e,e+2);if(t.charEquals(i,"G")&&r>=e+3&&t.charEquals(c,"M")&&t.charEquals(n.charAt(e+2),"T"))return this._parsePrefixedOffset(t,n,e,e+3)}if("SYSTEM"===n.substr(e,6))return t.setParsedZone(Y.systemDefault()),e+6;if(t.charEquals(i,"Z"))return t.setParsedZone(Q.UTC),e+1;var l=Lt.getAvailableZoneIds();Nt.size!==l.length&&(Nt=It.createTreeMap(l));for(var h=r-e,f=Nt.treeMap,d=null,p=0;null!=f;){var _=n.substr(e,Math.min(f.length,h));null!=(f=f.get(_))&&f.isLeaf&&(d=_,p=f.length)}return null!=d?(t.setParsedZone(Dt.ofId(d)),e+p):~e},n._parsePrefixedOffset=function(t,n,e,r){var i=n.substring(e,r).toUpperCase(),o=t.copy();if(rthis.length){var r=n.substr(0,this.length),i=this._treeMap[r];null==i&&(i=new t(e,!1),this._treeMap[r]=i),i.add(n)}},n.get=function(t){return this._treeMap[t]},t}(),Nt=new It([]),Ft=15,Bt=function(){function t(){this._active=this,this._parent=null,this._printerParsers=[],this._optional=!1,this._padNextWidth=0,this._padNextChar=null,this._valueParserIndex=-1}t._of=function(n,e){p(n,"parent"),p(e,"optional");var r=new t;return r._parent=n,r._optional=e,r};var n=t.prototype;return n.parseCaseSensitive=function(){return this._appendInternalPrinterParser(zt.SENSITIVE),this},n.parseCaseInsensitive=function(){return this._appendInternalPrinterParser(zt.INSENSITIVE),this},n.parseStrict=function(){return this._appendInternalPrinterParser(zt.STRICT),this},n.parseLenient=function(){return this._appendInternalPrinterParser(zt.LENIENT),this},n.appendValue=function(){return 1===arguments.length?this._appendValue1.apply(this,arguments):2===arguments.length?this._appendValue2.apply(this,arguments):this._appendValue4.apply(this,arguments)},n._appendValue1=function(t){return p(t),this._appendValuePrinterParser(new At(t,1,Ft,bt.NORMAL)),this},n._appendValue2=function(t,n){if(p(t),n<1||n>Ft)throw new u("The width must be from 1 to 15 inclusive but was "+n);var e=new At(t,n,n,bt.NOT_NEGATIVE);return this._appendValuePrinterParser(e),this},n._appendValue4=function(t,n,e,r){if(p(t),p(r),n===e&&r===bt.NOT_NEGATIVE)return this._appendValue2(t,e);if(n<1||n>Ft)throw new u("The minimum width must be from 1 to 15 inclusive but was "+n);if(e<1||e>Ft)throw new u("The minimum width must be from 1 to 15 inclusive but was "+e);if(e=0&&this._active._printerParsers[this._active._valueParserIndex]instanceof At){var n=this._active._valueParserIndex,e=this._active._printerParsers[n];t.minWidth()===t.maxWidth()&&t.signStyle()===bt.NOT_NEGATIVE?(e=e.withSubsequentWidth(t.maxWidth()),this._appendInternal(t.withFixedWidth()),this._active._valueParserIndex=n):(e=e.withFixedWidth(),this._active._valueParserIndex=this._appendInternal(t)),this._active._printerParsers[n]=e}else this._active._valueParserIndex=this._appendInternal(t);return this},n.appendFraction=function(t,n,e,r){return this._appendInternal(new kt(t,n,e,r)),this},n.appendInstant=function(t){if(void 0===t&&(t=-2),t<-2||t>9)throw new u("Invalid fractional digits: "+t);return this._appendInternal(new Vt(t)),this},n.appendOffsetId=function(){return this._appendInternal(Mt.INSTANCE_ID),this},n.appendOffset=function(t,n){return this._appendInternalPrinterParser(new Mt(n,t)),this},n.appendZoneId=function(){return this._appendInternal(new Pt(z.zoneId(),"ZoneId()")),this},n.appendPattern=function(t){return p(t,"pattern"),this._parsePattern(t),this},n.appendZoneText=function(){throw new u("Pattern using (localized) text not implemented, use js-joda-locale plugin!")},n.appendText=function(){throw new u("Pattern using (localized) text not implemented, use js-joda-locale plugin!")},n.appendLocalizedOffset=function(){throw new u("Pattern using (localized) text not implemented, use js-joda-locale plugin!")},n.appendWeekField=function(){throw new u("Pattern using (localized) text not implemented, use js-joda-locale plugin!")},n._parsePattern=function(t){for(var n={G:$.ERA,y:$.YEAR_OF_ERA,u:$.YEAR,Q:it.QUARTER_OF_YEAR,q:it.QUARTER_OF_YEAR,M:$.MONTH_OF_YEAR,L:$.MONTH_OF_YEAR,D:$.DAY_OF_YEAR,d:$.DAY_OF_MONTH,F:$.ALIGNED_DAY_OF_WEEK_IN_MONTH,E:$.DAY_OF_WEEK,c:$.DAY_OF_WEEK,e:$.DAY_OF_WEEK,a:$.AMPM_OF_DAY,H:$.HOUR_OF_DAY,k:$.CLOCK_HOUR_OF_DAY,K:$.HOUR_OF_AMPM,h:$.CLOCK_HOUR_OF_AMPM,m:$.MINUTE_OF_HOUR,s:$.SECOND_OF_MINUTE,S:$.NANO_OF_SECOND,A:$.MILLI_OF_DAY,n:$.NANO_OF_SECOND,N:$.NANO_OF_DAY},e=0;e="A"&&r<="Z"||r>="a"&&r<="z"){for(var i=e++;e="A"&&r<="Z"||r>="a"&&r<="z")){for(s=o,i=e++;e4)throw new u("Too many pattern letters: "+r);4===o?this.appendZoneText(wt.FULL):this.appendZoneText(wt.SHORT)}else if("V"===r){if(2!==o)throw new u("Pattern letter count must be 2: "+r);this.appendZoneId()}else if("Z"===r)if(o<4)this.appendOffset("+HHMM","+0000");else if(4===o)this.appendLocalizedOffset(wt.FULL);else{if(5!==o)throw new u("Too many pattern letters: "+r);this.appendOffset("+HH:MM:ss","Z")}else if("O"===r)if(1===o)this.appendLocalizedOffset(wt.SHORT);else{if(4!==o)throw new u("Pattern letter count must be 1 or 4: "+r);this.appendLocalizedOffset(wt.FULL)}else if("X"===r){if(o>5)throw new u("Too many pattern letters: "+r);this.appendOffset(Mt.PATTERNS[o+(1===o?0:1)],"Z")}else if("x"===r){if(o>5)throw new u("Too many pattern letters: "+r);var c=1===o?"+00":o%2==0?"+0000":"+00:00";this.appendOffset(Mt.PATTERNS[o+(1===o?0:1)],c)}else if("W"===r){if(o>1)throw new u("Too many pattern letters: "+r);this.appendWeekField("W",o)}else if("w"===r){if(o>2)throw new u("Too many pattern letters: "+r);this.appendWeekField("w",o)}else{if("Y"!==r)throw new u("Unknown pattern letter: "+r);this.appendWeekField("Y",o)}e--}else if("'"===r){for(var l=e++;e=t.length)throw new u("Pattern ends with an incomplete string literal: "+t);var h=t.substring(l+1,e);0===h.length?this.appendLiteral("'"):this.appendLiteral(h.replace("''","'"))}else if("["===r)this.optionalStart();else if("]"===r){if(null===this._active._parent)throw new u("Pattern invalid as it contains ] without previous [");this.optionalEnd()}else{if("{"===r||"}"===r||"#"===r)throw new u("Pattern includes reserved character: '"+r+"'");this.appendLiteral(r)}}},n._parseField=function(t,n,e){switch(t){case"u":case"y":2===n?this.appendValueReduced(e,2,2,Ct.BASE_DATE):n<4?this.appendValue(e,n,Ft,bt.NORMAL):this.appendValue(e,n,Ft,bt.EXCEEDS_PAD);break;case"M":case"Q":switch(n){case 1:this.appendValue(e);break;case 2:this.appendValue(e,2);break;case 3:this.appendText(e,wt.SHORT);break;case 4:this.appendText(e,wt.FULL);break;case 5:this.appendText(e,wt.NARROW);break;default:throw new u("Too many pattern letters: "+t)}break;case"L":case"q":switch(n){case 1:this.appendValue(e);break;case 2:this.appendValue(e,2);break;case 3:this.appendText(e,wt.SHORT_STANDALONE);break;case 4:this.appendText(e,wt.FULL_STANDALONE);break;case 5:this.appendText(e,wt.NARROW_STANDALONE);break;default:throw new u("Too many pattern letters: "+t)}break;case"e":switch(n){case 1:case 2:this.appendWeekField("e",n);break;case 3:this.appendText(e,wt.SHORT);break;case 4:this.appendText(e,wt.FULL);break;case 5:this.appendText(e,wt.NARROW);break;default:throw new u("Too many pattern letters: "+t)}break;case"c":switch(n){case 1:this.appendWeekField("c",n);break;case 2:throw new u("Invalid number of pattern letters: "+t);case 3:this.appendText(e,wt.SHORT_STANDALONE);break;case 4:this.appendText(e,wt.FULL_STANDALONE);break;case 5:this.appendText(e,wt.NARROW_STANDALONE);break;default:throw new u("Too many pattern letters: "+t)}break;case"a":if(1!==n)throw new u("Too many pattern letters: "+t);this.appendText(e,wt.SHORT);break;case"E":case"G":switch(n){case 1:case 2:case 3:this.appendText(e,wt.SHORT);break;case 4:this.appendText(e,wt.FULL);break;case 5:this.appendText(e,wt.NARROW);break;default:throw new u("Too many pattern letters: "+t)}break;case"S":this.appendFraction($.NANO_OF_SECOND,n,n,!1);break;case"F":if(1!==n)throw new u("Too many pattern letters: "+t);this.appendValue(e);break;case"d":case"h":case"H":case"k":case"K":case"m":case"s":if(1===n)this.appendValue(e);else{if(2!==n)throw new u("Too many pattern letters: "+t);this.appendValue(e,n)}break;case"D":if(1===n)this.appendValue(e);else{if(!(n<=3))throw new u("Too many pattern letters: "+t);this.appendValue(e,n)}break;default:1===n?this.appendValue(e):this.appendValue(e,n)}},n.padNext=function(){return 1===arguments.length?this._padNext1.apply(this,arguments):this._padNext2.apply(this,arguments)},n._padNext1=function(t){return this._padNext2(t," ")},n._padNext2=function(t,n){if(t<1)throw new u("The pad width must be at least one but was "+t);return this._active._padNextWidth=t,this._active._padNextChar=n,this._active._valueParserIndex=-1,this},n.optionalStart=function(){return this._active._valueParserIndex=-1,this._active=t._of(this._active,!0),this},n.optionalEnd=function(){if(null==this._active._parent)throw new c("Cannot call optionalEnd() as there was no previous call to optionalStart()");if(this._active._printerParsers.length>0){var t=new xt(this._active._printerParsers,this._active._optional);this._active=this._active._parent,this._appendInternal(t)}else this._active=this._active._parent;return this},n._appendInternal=function(t){return d(null!=t),this._active._padNextWidth>0&&(null!=t&&(t=new $t(t,this._active._padNextWidth,this._active._padNextChar)),this._active._padNextWidth=0,this._active._padNextChar=0),this._active._printerParsers.push(t),this._active._valueParserIndex=-1,this._active._printerParsers.length-1},n.appendLiteral=function(t){return d(null!=t),t.length>0&&(1===t.length?this._appendInternalPrinterParser(new yt(t.charAt(0))):this._appendInternalPrinterParser(new Rt(t))),this},n._appendInternalPrinterParser=function(t){return d(null!=t),this._active._padNextWidth>0&&(null!=t&&(t=new $t(t,this._active._padNextWidth,this._active._padNextChar)),this._active._padNextWidth=0,this._active._padNextChar=0),this._active._printerParsers.push(t),this._active._valueParserIndex=-1,this._active._printerParsers.length-1},n.append=function(t){return p(t,"formatter"),this._appendInternal(t._toPrinterParser(!1)),this},n.toFormatter=function(t){for(void 0===t&&(t=B.SMART);null!=this._active._parent;)this.optionalEnd();var n=new xt(this._printerParsers,!1);return new Gt(n,null,gt.STANDARD,t,null,null,null)},t}(),Ut=31556952e4,Ht=62167219200,Vt=function(){function t(t){this.fractionalDigits=t}var n=t.prototype;return n.print=function(t,n){var e=t.getValue($.INSTANT_SECONDS),r=0;if(t.temporal().isSupported($.NANO_OF_SECOND)&&(r=t.temporal().getLong($.NANO_OF_SECOND)),null==e)return!1;var i=e,o=$.NANO_OF_SECOND.checkValidIntValue(r);if(i>=-62167219200){var s=i-Ut+Ht,a=w.floorDiv(s,Ut)+1,u=w.floorMod(s,Ut),c=hn.ofEpochSecond(u-Ht,0,Q.UTC);a>0&&n.append("+").append(a),n.append(c),0===c.second()&&n.append(":00")}else{var l=i+Ht,h=w.intDiv(l,Ut),f=w.intMod(l,Ut),d=hn.ofEpochSecond(f-Ht,0,Q.UTC),p=n.length();n.append(d),0===d.second()&&n.append(":00"),h<0&&(-1e4===d.year()?n.replace(p,p+2,""+(h-1)):0===f?n.insert(p,h):n.insert(p+1,Math.abs(h)))}if(-2===this.fractionalDigits)0!==o&&(n.append("."),0===w.intMod(o,1e6)?n.append((""+(w.intDiv(o,1e6)+1e3)).substring(1)):0===w.intMod(o,1e3)?n.append((""+(w.intDiv(o,1e3)+1e6)).substring(1)):n.append((""+(o+1e9)).substring(1)));else if(this.fractionalDigits>0||-1===this.fractionalDigits&&o>0){n.append(".");for(var _=1e8,m=0;-1===this.fractionalDigits&&o>0||m64?t.substring(0,64)+"...":t,new o("Text '"+e+"' could not be parsed: "+n.message,t,0,n)},n._parseToBuilder=function(t,n){var e=null!=n?n:new N(0),r=this._parseUnresolved0(t,e);if(null==r||e.getErrorIndex()>=0||null==n&&e.getIndex()64?t.substr(0,64).toString()+"...":t,e.getErrorIndex()>=0?new o("Text '"+i+"' could not be parsed at index "+e.getErrorIndex(),t,e.getErrorIndex()):new o("Text '"+i+"' could not be parsed, unparsed text found at index "+e.getIndex(),t,e.getIndex())}return r.toBuilder()},n.parseUnresolved=function(t,n){return this._parseUnresolved0(t,n)},n._parseUnresolved0=function(t,n){d(null!=t,"text",l),d(null!=n,"position",l);var e=new nt(this),r=n.getIndex();return(r=this._printerParser.parse(e,t,r))<0?(n.setErrorIndex(~r),null):(n.setIndex(r),e.toParsed())},n._toPrinterParser=function(t){return this._printerParser.withOptional(t)},n.toString=function(){var t=this._printerParser.toString();return 0===t.indexOf("[")?t:t.substring(1,t.length-1)},t}(),Yt=function(t){function n(n,e){var r;return(r=t.call(this)||this)._month=w.safeToInt(n),r._day=w.safeToInt(e),r}h(n,t),n.now=function(t){return 0===arguments.length?n.now0():1===arguments.length&&t instanceof Y?n.nowZoneId(t):n.nowClock(t)},n.now0=function(){return this.nowClock(_n.systemDefaultZone())},n.nowZoneId=function(t){return p(t,"zone"),this.nowClock(_n.system(t))},n.nowClock=function(t){p(t,"clock");var e=cn.now(t);return n.of(e.month(),e.dayOfMonth())},n.of=function(t,e){return 2===arguments.length&&t instanceof P?n.ofMonthNumber(t,e):n.ofNumberNumber(t,e)},n.ofMonthNumber=function(t,e){if(p(t,"month"),$.DAY_OF_MONTH.checkValidValue(e),e>t.maxLength())throw new i("Illegal value for DayOfMonth field, value "+e+" is not valid for month "+t.toString());return new n(t.value(),e)},n.ofNumberNumber=function(t,e){return p(t,"month"),p(e,"dayOfMonth"),n.of(P.of(t),e)},n.from=function(t){if(p(t,"temporal"),_(t,T,"temporal"),t instanceof n)return t;try{return n.of(t.get($.MONTH_OF_YEAR),t.get($.DAY_OF_MONTH))}catch(n){throw new i("Unable to obtain MonthDay from TemporalAccessor: "+t+", type "+(t&&null!=t.constructor?t.constructor.name:""))}},n.parse=function(t,e){return 1===arguments.length?n.parseString(t):n.parseStringFormatter(t,e)},n.parseString=function(t){return n.parseStringFormatter(t,Tt)},n.parseStringFormatter=function(t,e){return p(t,"text"),p(e,"formatter"),_(e,Gt,"formatter"),e.parse(t,n.FROM)};var e=n.prototype;return e.monthValue=function(){return this._month},e.month=function(){return P.of(this._month)},e.dayOfMonth=function(){return this._day},e.isSupported=function(t){return t instanceof $?t===$.MONTH_OF_YEAR||t===$.DAY_OF_MONTH:null!=t&&t.isSupportedBy(this)},e.range=function(n){return n===$.MONTH_OF_YEAR?n.range():n===$.DAY_OF_MONTH?M.of(1,this.month().minLength(),this.month().maxLength()):t.prototype.range.call(this,n)},e.get=function(t){return this.range(t).checkValidIntValue(this.getLong(t),t)},e.getLong=function(t){if(p(t,"field"),t instanceof $){switch(t){case $.DAY_OF_MONTH:return this._day;case $.MONTH_OF_YEAR:return this._month}throw new s("Unsupported field: "+t)}return t.getFrom(this)},e.isValidYear=function(t){return 0==(29===this._day&&2===this._month&&!1===Kt.isLeap(t))},e.withMonth=function(t){return this.with(P.of(t))},e.with=function(t){if(p(t,"month"),t.value()===this._month)return this;var e=Math.min(this._day,t.maxLength());return new n(t.value(),e)},e.withDayOfMonth=function(t){return t===this._day?this:n.of(this._month,t)},e.query=function(n){return p(n,"query"),_(n,O,"query"),n===z.chronology()?nn.INSTANCE:t.prototype.query.call(this,n)},e.adjustInto=function(t){return p(t,"temporal"),(t=t.with($.MONTH_OF_YEAR,this._month)).with($.DAY_OF_MONTH,Math.min(t.range($.DAY_OF_MONTH).maximum(),this._day))},e.atYear=function(t){return cn.of(t,this._month,this.isValidYear(t)?this._day:28)},e.compareTo=function(t){p(t,"other"),_(t,n,"other");var e=this._month-t.monthValue();return 0===e&&(e=this._day-t.dayOfMonth()),e},e.isAfter=function(t){return p(t,"other"),_(t,n,"other"),this.compareTo(t)>0},e.isBefore=function(t){return p(t,"other"),_(t,n,"other"),this.compareTo(t)<0},e.equals=function(t){if(this===t)return!0;if(t instanceof n){var e=t;return this.monthValue()===e.monthValue()&&this.dayOfMonth()===e.dayOfMonth()}return!1},e.toString=function(){return"--"+(this._month<10?"0":"")+this._month+(this._day<10?"-0":"-")+this._day},e.toJSON=function(){return this.toString()},e.format=function(t){return p(t,"formatter"),_(t,Gt,"formatter"),t.format(this)},n}(T),Xt=function(t){function n(n,e){var r;return(r=t.call(this)||this)._year=w.safeToInt(n),r._month=w.safeToInt(e),r}h(n,t),n.now=function(t){return 0===arguments.length?n.now0():1===arguments.length&&t instanceof Y?n.nowZoneId(t):n.nowClock(t)},n.now0=function(){return n.nowClock(_n.systemDefaultZone())},n.nowZoneId=function(t){return n.nowClock(_n.system(t))},n.nowClock=function(t){var e=cn.now(t);return n.of(e.year(),e.month())},n.of=function(t,e){return 2===arguments.length&&e instanceof P?n.ofNumberMonth(t,e):n.ofNumberNumber(t,e)},n.ofNumberMonth=function(t,e){return p(e,"month"),_(e,P,"month"),n.ofNumberNumber(t,e.value())},n.ofNumberNumber=function(t,e){return p(t,"year"),p(e,"month"),$.YEAR.checkValidValue(t),$.MONTH_OF_YEAR.checkValidValue(e),new n(t,e)},n.from=function(t){if(p(t,"temporal"),t instanceof n)return t;try{return n.of(t.get($.YEAR),t.get($.MONTH_OF_YEAR))}catch(n){throw new i("Unable to obtain YearMonth from TemporalAccessor: "+t+", type "+(t&&null!=t.constructor?t.constructor.name:""))}},n.parse=function(t,e){return 1===arguments.length?n.parseString(t):n.parseStringFormatter(t,e)},n.parseString=function(t){return n.parseStringFormatter(t,Ot)},n.parseStringFormatter=function(t,e){return p(e,"formatter"),e.parse(t,n.FROM)};var e=n.prototype;return e.isSupported=function(t){return 1===arguments.length&&t instanceof E?this.isSupportedField(t):this.isSupportedUnit(t)},e.isSupportedField=function(t){return t instanceof $?t===$.YEAR||t===$.MONTH_OF_YEAR||t===$.PROLEPTIC_MONTH||t===$.YEAR_OF_ERA||t===$.ERA:null!=t&&t.isSupportedBy(this)},e.isSupportedUnit=function(t){return t instanceof C?t===C.MONTHS||t===C.YEARS||t===C.DECADES||t===C.CENTURIES||t===C.MILLENNIA||t===C.ERAS:null!=t&&t.isSupportedBy(this)},e.range=function(n){return n===$.YEAR_OF_ERA?this.year()<=0?M.of(1,Kt.MAX_VALUE+1):M.of(1,Kt.MAX_VALUE):t.prototype.range.call(this,n)},e.get=function(t){return p(t,"field"),_(t,E,"field"),this.range(t).checkValidIntValue(this.getLong(t),t)},e.getLong=function(t){if(p(t,"field"),_(t,E,"field"),t instanceof $){switch(t){case $.MONTH_OF_YEAR:return this._month;case $.PROLEPTIC_MONTH:return this._getProlepticMonth();case $.YEAR_OF_ERA:return this._year<1?1-this._year:this._year;case $.YEAR:return this._year;case $.ERA:return this._year<1?0:1}throw new s("Unsupported field: "+t)}return t.getFrom(this)},e._getProlepticMonth=function(){return w.safeAdd(w.safeMultiply(this._year,12),this._month-1)},e.year=function(){return this._year},e.monthValue=function(){return this._month},e.month=function(){return P.of(this._month)},e.isLeapYear=function(){return nn.isLeapYear(this._year)},e.isValidDay=function(t){return t>=1&&t<=this.lengthOfMonth()},e.lengthOfMonth=function(){return this.month().length(this.isLeapYear())},e.lengthOfYear=function(){return this.isLeapYear()?366:365},e.with=function(t,n){return 1===arguments.length?this.withAdjuster(t):this.withFieldValue(t,n)},e.withAdjuster=function(t){return p(t,"adjuster"),t.adjustInto(this)},e.withFieldValue=function(t,n){if(p(t,"field"),_(t,E,"field"),t instanceof $){var e=t;switch(e.checkValidValue(n),e){case $.MONTH_OF_YEAR:return this.withMonth(n);case $.PROLEPTIC_MONTH:return this.plusMonths(n-this.getLong($.PROLEPTIC_MONTH));case $.YEAR_OF_ERA:return this.withYear(this._year<1?1-n:n);case $.YEAR:return this.withYear(n);case $.ERA:return this.getLong($.ERA)===n?this:this.withYear(1-this._year)}throw new s("Unsupported field: "+t)}return t.adjustInto(this,n)},e.withYear=function(t){return $.YEAR.checkValidValue(t),new n(t,this._month)},e.withMonth=function(t){return $.MONTH_OF_YEAR.checkValidValue(t),new n(this._year,t)},e.plusAmount=function(t){return p(t,"amount"),_(t,x,"amount"),t.addTo(this)},e.plusAmountUnit=function(t,n){if(p(n,"unit"),_(n,k,"unit"),n instanceof C){switch(n){case C.MONTHS:return this.plusMonths(t);case C.YEARS:return this.plusYears(t);case C.DECADES:return this.plusYears(w.safeMultiply(t,10));case C.CENTURIES:return this.plusYears(w.safeMultiply(t,100));case C.MILLENNIA:return this.plusYears(w.safeMultiply(t,1e3));case C.ERAS:return this.with($.ERA,w.safeAdd(this.getLong($.ERA),t))}throw new s("Unsupported unit: "+n)}return n.addTo(this,t)},e.plusYears=function(t){if(0===t)return this;var n=$.YEAR.checkValidIntValue(this._year+t);return this.withYear(n)},e.plusMonths=function(t){if(0===t)return this;var e=12*this._year+(this._month-1)+t;return new n($.YEAR.checkValidIntValue(w.floorDiv(e,12)),w.floorMod(e,12)+1)},e.minusAmount=function(t){return p(t,"amount"),t.subtractFrom(this)},e.minusAmountUnit=function(t,n){return t===w.MIN_SAFE_INTEGER?this.plusAmountUnit(w.MAX_SAFE_INTEGER,n).plusAmountUnit(1,n):this.plusAmountUnit(-t,n)},e.minusYears=function(t){return t===w.MIN_SAFE_INTEGER?this.plusYears(w.MIN_SAFE_INTEGER).plusYears(1):this.plusYears(-t)},e.minusMonths=function(t){return t===w.MIN_SAFE_INTEGER?this.plusMonths(Math.MAX_SAFE_INTEGER).plusMonths(1):this.plusMonths(-t)},e.query=function(n){return p(n,"query"),_(n,O,"query"),n===z.chronology()?nn.INSTANCE:n===z.precision()?C.MONTHS:n===z.localDate()||n===z.localTime()||n===z.zone()||n===z.zoneId()||n===z.offset()?null:t.prototype.query.call(this,n)},e.adjustInto=function(t){return p(t,"temporal"),_(t,H,"temporal"),t.with($.PROLEPTIC_MONTH,this._getProlepticMonth())},e.until=function(t,e){p(t,"endExclusive"),p(e,"unit"),_(t,H,"endExclusive"),_(e,k,"unit");var r=n.from(t);if(e instanceof C){var i=r._getProlepticMonth()-this._getProlepticMonth();switch(e){case C.MONTHS:return i;case C.YEARS:return i/12;case C.DECADES:return i/120;case C.CENTURIES:return i/1200;case C.MILLENNIA:return i/12e3;case C.ERAS:return r.getLong($.ERA)-this.getLong($.ERA)}throw new s("Unsupported unit: "+e)}return e.between(this,r)},e.atDay=function(t){return cn.of(this._year,this._month,t)},e.atEndOfMonth=function(){return cn.of(this._year,this._month,this.lengthOfMonth())},e.compareTo=function(t){p(t,"other"),_(t,n,"other");var e=this._year-t.year();return 0===e&&(e=this._month-t.monthValue()),e},e.isAfter=function(t){return this.compareTo(t)>0},e.isBefore=function(t){return this.compareTo(t)<0},e.equals=function(t){if(this===t)return!0;if(t instanceof n){var e=t;return this.year()===e.year()&&this.monthValue()===e.monthValue()}return!1},e.toString=function(){return Ot.format(this)},e.toJSON=function(){return this.toString()},e.format=function(t){return p(t,"formatter"),t.format(this)},n}(H),Kt=function(t){function n(n){var e;return(e=t.call(this)||this)._year=w.safeToInt(n),e}h(n,t);var e=n.prototype;return e.value=function(){return this._year},n.now=function(t){return void 0===t&&(t=void 0),void 0===t?n.now0():t instanceof Y?n.nowZoneId(t):n.nowClock(t)},n.now0=function(){return n.nowClock(_n.systemDefaultZone())},n.nowZoneId=function(t){return p(t,"zone"),_(t,Y,"zone"),n.nowClock(_n.system(t))},n.nowClock=function(t){p(t,"clock"),_(t,_n,"clock");var e=cn.now(t);return n.of(e.year())},n.of=function(t){return p(t,"isoYear"),$.YEAR.checkValidValue(t),new n(t)},n.from=function(t){if(p(t,"temporal"),_(t,T,"temporal"),t instanceof n)return t;try{return n.of(t.get($.YEAR))}catch(n){throw new i("Unable to obtain Year from TemporalAccessor: "+t+", type "+(t&&null!=t.constructor?t.constructor.name:""))}},n.parse=function(t,e){return arguments.length<=1?n.parseText(t):n.parseTextFormatter(t,e)},n.parseText=function(t){return p(t,"text"),n.parse(t,jt)},n.parseTextFormatter=function(t,e){return void 0===e&&(e=jt),p(t,"text"),p(e,"formatter"),_(e,Gt,"formatter"),e.parse(t,n.FROM)},n.isLeap=function(t){return 0===w.intMod(t,4)&&(0!==w.intMod(t,100)||0===w.intMod(t,400))},e.isSupported=function(t){return 1===arguments.length&&t instanceof E?this.isSupportedField(t):this.isSupportedUnit(t)},e.isSupportedField=function(t){return t instanceof $?t===$.YEAR||t===$.YEAR_OF_ERA||t===$.ERA:null!=t&&t.isSupportedBy(this)},e.isSupportedUnit=function(t){return t instanceof C?t===C.YEARS||t===C.DECADES||t===C.CENTURIES||t===C.MILLENNIA||t===C.ERAS:null!=t&&t.isSupportedBy(this)},e.range=function(n){if(this.isSupported(n))return n.range();if(n instanceof $)throw new s("Unsupported field: "+n);return t.prototype.range.call(this,n)},e.get=function(t){return this.range(t).checkValidIntValue(this.getLong(t),t)},e.getLong=function(t){if(p(t,"field"),t instanceof $){switch(t){case $.YEAR_OF_ERA:return this._year<1?1-this._year:this._year;case $.YEAR:return this._year;case $.ERA:return this._year<1?0:1}throw new s("Unsupported field: "+t)}return t.getFrom(this)},e.isLeap=function(){return n.isLeap(this._year)},e.withAdjuster=function(t){return p(t,"adjuster"),t.adjustInto(this)},e.withFieldValue=function(t,e){if(p(t,"field"),_(t,E,"field"),t instanceof $){switch(t.checkValidValue(e),t){case $.YEAR_OF_ERA:return n.of(this._year<1?1-e:e);case $.YEAR:return n.of(e);case $.ERA:return this.getLong($.ERA)===e?this:n.of(1-this._year)}throw new s("Unsupported field: "+t)}return t.adjustInto(this,e)},e.plusAmount=function(t){return p(t,"amount"),_(t,x,"amount"),t.addTo(this)},e.plusAmountUnit=function(t,n){if(p(t,"amountToAdd"),p(n,"unit"),_(n,k,"unit"),n instanceof C){switch(n){case C.YEARS:return this.plusYears(t);case C.DECADES:return this.plusYears(w.safeMultiply(t,10));case C.CENTURIES:return this.plusYears(w.safeMultiply(t,100));case C.MILLENNIA:return this.plusYears(w.safeMultiply(t,1e3));case C.ERAS:return this.with($.ERA,w.safeAdd(this.getLong($.ERA),t))}throw new s("Unsupported unit: "+n)}return n.addTo(this,t)},e.plusYears=function(t){return 0===t?this:n.of($.YEAR.checkValidIntValue(w.safeAdd(this._year,t)))},e.minusAmount=function(t){return p(t,"amount"),_(t,x,"amount"),t.subtractFrom(this)},e.minusAmountUnit=function(t,n){return p(t,"amountToSubtract"),p(n,"unit"),_(n,k,"unit"),t===w.MIN_SAFE_INTEGER?this.plus(w.MAX_SAFE_INTEGER,n).plus(1,n):this.plus(-t,n)},e.minusYears=function(t){return t===w.MIN_SAFE_INTEGER?this.plusYears(w.MAX_SAFE_INTEGER).plusYears(1):this.plusYears(-t)},e.adjustInto=function(t){return p(t,"temporal"),t.with($.YEAR,this._year)},e.isValidMonthDay=function(t){return null!=t&&t.isValidYear(this._year)},e.length=function(){return this.isLeap()?366:365},e.atDay=function(t){return cn.ofYearDay(this._year,t)},e.atMonth=function(t){return 1===arguments.length&&t instanceof P?this.atMonthMonth(t):this.atMonthNumber(t)},e.atMonthMonth=function(t){return p(t,"month"),_(t,P,"month"),Xt.of(this._year,t)},e.atMonthNumber=function(t){return p(t,"month"),Xt.of(this._year,t)},e.atMonthDay=function(t){return p(t,"monthDay"),_(t,Yt,"monthDay"),t.atYear(this._year)},e.query=function(n){return p(n,"query()"),_(n,O,"query()"),n===z.chronology()?nn.INSTANCE:n===z.precision()?C.YEARS:n===z.localDate()||n===z.localTime()||n===z.zone()||n===z.zoneId()||n===z.offset()?null:t.prototype.query.call(this,n)},e.compareTo=function(t){return p(t,"other"),_(t,n,"other"),this._year-t._year},e.isAfter=function(t){return p(t,"other"),_(t,n,"other"),this._year>t._year},e.isBefore=function(t){return p(t,"other"),_(t,n,"other"),this._year=0){var n=t.with($.DAY_OF_MONTH,1),e=n.get($.DAY_OF_WEEK),r=w.intMod(this._dowValue-e+7,7);return r+=7*(this._ordinal-1),n.plus(r,C.DAYS)}var i=t.with($.DAY_OF_MONTH,t.range($.DAY_OF_MONTH).maximum()),o=i.get($.DAY_OF_WEEK),s=this._dowValue-o;return s=0===s?0:s>0?s-7:s,s-=7*(-this._ordinal-1),i.plus(s,C.DAYS)},n}(U),tn=function(t){function n(n,e){var r;return r=t.call(this)||this,p(e,"dayOfWeek"),r._relative=n,r._dowValue=e.value(),r}return h(n,t),n.prototype.adjustInto=function(t){var n=t.get($.DAY_OF_WEEK);if(this._relative<2&&n===this._dowValue)return t;if(1&this._relative){var e=this._dowValue-n;return t.minus(e>=0?7-e:-e,C.DAYS)}var r=n-this._dowValue;return t.plus(r>=0?7-r:-r,C.DAYS)},n}(U),nn=function(t){function n(){return t.apply(this,arguments)||this}h(n,t),n.isLeapYear=function(t){return!(3&t||t%100==0&&t%400!=0)};var e=n.prototype;return e._updateResolveMap=function(t,n,e){p(t,"fieldValues"),p(n,"field");var r=t.get(n);if(null!=r&&r!==e)throw new i("Invalid state, field: "+n+" "+r+" conflicts with "+n+" "+e);t.put(n,e)},e.resolveDate=function(t,n){if(t.containsKey($.EPOCH_DAY))return cn.ofEpochDay(t.remove($.EPOCH_DAY));var e=t.remove($.PROLEPTIC_MONTH);null!=e&&(n!==B.LENIENT&&$.PROLEPTIC_MONTH.checkValidValue(e),this._updateResolveMap(t,$.MONTH_OF_YEAR,w.floorMod(e,12)+1),this._updateResolveMap(t,$.YEAR,w.floorDiv(e,12)));var r=t.remove($.YEAR_OF_ERA);if(null!=r){n!==B.LENIENT&&$.YEAR_OF_ERA.checkValidValue(r);var o=t.remove($.ERA);if(null==o){var s=t.get($.YEAR);n===B.STRICT?null!=s?this._updateResolveMap(t,$.YEAR,s>0?r:w.safeSubtract(1,r)):t.put($.YEAR_OF_ERA,r):this._updateResolveMap(t,$.YEAR,null==s||s>0?r:w.safeSubtract(1,r))}else if(1===o)this._updateResolveMap(t,$.YEAR,r);else{if(0!==o)throw new i("Invalid value for era: "+o);this._updateResolveMap(t,$.YEAR,w.safeSubtract(1,r))}}else t.containsKey($.ERA)&&$.ERA.checkValidValue(t.get($.ERA));if(t.containsKey($.YEAR)){if(t.containsKey($.MONTH_OF_YEAR)&&t.containsKey($.DAY_OF_MONTH)){var a=$.YEAR.checkValidIntValue(t.remove($.YEAR)),u=t.remove($.MONTH_OF_YEAR),c=t.remove($.DAY_OF_MONTH);if(n===B.LENIENT){var l=u-1,h=c-1;return cn.of(a,1,1).plusMonths(l).plusDays(h)}return n===B.SMART?($.DAY_OF_MONTH.checkValidValue(c),4===u||6===u||9===u||11===u?c=Math.min(c,30):2===u&&(c=Math.min(c,P.FEBRUARY.length(Kt.isLeap(a)))),cn.of(a,u,c)):cn.of(a,u,c)}if(t.containsKey($.DAY_OF_YEAR)){var f=$.YEAR.checkValidIntValue(t.remove($.YEAR));if(n===B.LENIENT){var d=w.safeSubtract(t.remove($.DAY_OF_YEAR),1);return cn.ofYearDay(f,1).plusDays(d)}var p=$.DAY_OF_YEAR.checkValidIntValue(t.remove($.DAY_OF_YEAR));return cn.ofYearDay(f,p)}if(t.containsKey($.ALIGNED_WEEK_OF_YEAR)){if(t.containsKey($.ALIGNED_DAY_OF_WEEK_IN_YEAR)){var _=$.YEAR.checkValidIntValue(t.remove($.YEAR));if(n===B.LENIENT){var m=w.safeSubtract(t.remove($.ALIGNED_WEEK_OF_YEAR),1),v=w.safeSubtract(t.remove($.ALIGNED_DAY_OF_WEEK_IN_YEAR),1);return cn.of(_,1,1).plusWeeks(m).plusDays(v)}var g=$.ALIGNED_WEEK_OF_YEAR.checkValidIntValue(t.remove($.ALIGNED_WEEK_OF_YEAR)),b=$.ALIGNED_DAY_OF_WEEK_IN_YEAR.checkValidIntValue(t.remove($.ALIGNED_DAY_OF_WEEK_IN_YEAR)),y=cn.of(_,1,1).plusDays(7*(g-1)+(b-1));if(n===B.STRICT&&y.get($.YEAR)!==_)throw new i("Strict mode rejected date parsed to a different year");return y}if(t.containsKey($.DAY_OF_WEEK)){var x=$.YEAR.checkValidIntValue(t.remove($.YEAR));if(n===B.LENIENT){var k=w.safeSubtract(t.remove($.ALIGNED_WEEK_OF_YEAR),1),S=w.safeSubtract(t.remove($.DAY_OF_WEEK),1);return cn.of(x,1,1).plusWeeks(k).plusDays(S)}var A=$.ALIGNED_WEEK_OF_YEAR.checkValidIntValue(t.remove($.ALIGNED_WEEK_OF_YEAR)),C=$.DAY_OF_WEEK.checkValidIntValue(t.remove($.DAY_OF_WEEK)),E=cn.of(x,1,1).plusWeeks(A-1).with(Zt.nextOrSame(D.of(C)));if(n===B.STRICT&&E.get($.YEAR)!==x)throw new i("Strict mode rejected date parsed to a different month");return E}}}return null},e.date=function(t){return cn.from(t)},n}(y),en=function(t){function n(n,e){var r;return r=t.call(this)||this,p(n,"time"),_(n,fn,"time"),p(e,"offset"),_(e,Q,"offset"),r._time=n,r._offset=e,r}h(n,t),n.from=function(t){if(p(t,"temporal"),t instanceof n)return t;if(t instanceof sn)return t.toOffsetTime();try{return new n(fn.from(t),Q.from(t))}catch(n){throw new i("Unable to obtain OffsetTime TemporalAccessor: "+t+", type "+(null!=t.constructor?t.constructor.name:""))}},n.now=function(t){return 0===arguments.length?n._now(_n.systemDefaultZone()):t instanceof _n?n._now(t):n._now(_n.system(t))},n._now=function(t){p(t,"clock");var e=t.instant();return n.ofInstant(e,t.zone().rules().offset(e))},n.of=function(){return arguments.length<=2?n.ofTimeAndOffset.apply(this,arguments):n.ofNumbers.apply(this,arguments)},n.ofNumbers=function(t,e,r,i,o){return new n(fn.of(t,e,r,i),o)},n.ofTimeAndOffset=function(t,e){return new n(t,e)},n.ofInstant=function(t,e){p(t,"instant"),_(t,pn,"instant"),p(e,"zone"),_(e,Y,"zone");var r=e.rules().offset(t),i=t.epochSecond()%fn.SECONDS_PER_DAY;return(i=(i+r.totalSeconds())%fn.SECONDS_PER_DAY)<0&&(i+=fn.SECONDS_PER_DAY),new n(fn.ofSecondOfDay(i,t.nano()),r)},n.parse=function(t,e){return void 0===e&&(e=Gt.ISO_OFFSET_TIME),p(e,"formatter"),e.parse(t,n.FROM)};var e=n.prototype;return e.adjustInto=function(t){return t.with($.NANO_OF_DAY,this._time.toNanoOfDay()).with($.OFFSET_SECONDS,this.offset().totalSeconds())},e.atDate=function(t){return sn.of(t,this._time,this._offset)},e.format=function(t){return p(t,"formatter"),t.format(this,n.FROM)},e.get=function(n){return t.prototype.get.call(this,n)},e.getLong=function(t){return t instanceof $?t===$.OFFSET_SECONDS?this._offset.totalSeconds():this._time.getLong(t):t.getFrom(this)},e.hour=function(){return this._time.hour()},e.minute=function(){return this._time.minute()},e.second=function(){return this._time.second()},e.nano=function(){return this._time.nano()},e.offset=function(){return this._offset},e.isAfter=function(t){return p(t,"other"),this._toEpochNano()>t._toEpochNano()},e.isBefore=function(t){return p(t,"other"),this._toEpochNano()e?1:0),r},e.isAfter=function(t){p(t,"other");var n=this.toEpochSecond(),e=t.toEpochSecond();return n>e||n===e&&this.toLocalTime().nano()>t.toLocalTime().nano()},e.isBefore=function(t){p(t,"other");var n=this.toEpochSecond(),e=t.toEpochSecond();return ne||n===e&&this.toLocalTime().nano()>t.toLocalTime().nano()},e.isBefore=function(t){p(t,"other");var n=this.toEpochSecond(),e=t.toEpochSecond();return no.firstDayOfYear(r)+o.length(r)-1&&(o=o.plus(1));var s=e-o.firstDayOfYear(r)+1;return new n(t,o.value(),s)},n.ofEpochDay=function(t){var e,r,i,o,s;void 0===t&&(t=0),s=t+un,e=0,(s-=60)<0&&(e=400*(r=w.intDiv(s+1,an)-1),s+=-r*an),(i=s-(365*(o=w.intDiv(400*s+591,an))+w.intDiv(o,4)-w.intDiv(o,100)+w.intDiv(o,400)))<0&&(i=s-(365*--o+w.intDiv(o,4)-w.intDiv(o,100)+w.intDiv(o,400))),o+=e;var a=i,u=w.intDiv(5*a+2,153),c=(u+2)%12+1,l=a-w.intDiv(306*u+5,10)+1;return new n(o+=w.intDiv(u,10),c,l)},n.from=function(t){p(t,"temporal");var n=t.query(z.localDate());if(null==n)throw new i("Unable to obtain LocalDate from TemporalAccessor: "+t+", type "+(null!=t.constructor?t.constructor.name:""));return n},n.parse=function(t,e){return void 0===e&&(e=Gt.ISO_LOCAL_DATE),d(null!=e,"formatter",l),e.parse(t,n.FROM)},n._resolvePreviousValid=function(t,e,r){switch(e){case 2:r=Math.min(r,nn.isLeapYear(t)?29:28);break;case 4:case 6:case 9:case 11:r=Math.min(r,30)}return n.of(t,e,r)},n._validate=function(t,n,e){var r;if($.YEAR.checkValidValue(t),$.MONTH_OF_YEAR.checkValidValue(n),$.DAY_OF_MONTH.checkValidValue(e),e>28){switch(r=31,n){case 2:r=nn.isLeapYear(t)?29:28;break;case 4:case 6:case 9:case 11:r=30}e>r&&d(!1,29===e?"Invalid date 'February 29' as '"+t+"' is not a leap year":"Invalid date '"+t+"' '"+n+"' '"+e+"'",i)}};var e=n.prototype;return e.isSupported=function(n){return t.prototype.isSupported.call(this,n)},e.range=function(t){if(t instanceof $){if(t.isDateBased()){switch(t){case $.DAY_OF_MONTH:return M.of(1,this.lengthOfMonth());case $.DAY_OF_YEAR:return M.of(1,this.lengthOfYear());case $.ALIGNED_WEEK_OF_MONTH:return M.of(1,this.month()===P.FEBRUARY&&!1===this.isLeapYear()?4:5);case $.YEAR_OF_ERA:return this._year<=0?M.of(1,Kt.MAX_VALUE+1):M.of(1,Kt.MAX_VALUE)}return t.range()}throw new s("Unsupported field: "+t)}return t.rangeRefinedBy(this)},e.get=function(t){return this.getLong(t)},e.getLong=function(t){return d(null!=t,"",l),t instanceof $?this._get0(t):t.getFrom(this)},e._get0=function(t){switch(t){case $.DAY_OF_WEEK:return this.dayOfWeek().value();case $.ALIGNED_DAY_OF_WEEK_IN_MONTH:return w.intMod(this._day-1,7)+1;case $.ALIGNED_DAY_OF_WEEK_IN_YEAR:return w.intMod(this.dayOfYear()-1,7)+1;case $.DAY_OF_MONTH:return this._day;case $.DAY_OF_YEAR:return this.dayOfYear();case $.EPOCH_DAY:return this.toEpochDay();case $.ALIGNED_WEEK_OF_MONTH:return w.intDiv(this._day-1,7)+1;case $.ALIGNED_WEEK_OF_YEAR:return w.intDiv(this.dayOfYear()-1,7)+1;case $.MONTH_OF_YEAR:return this._month;case $.PROLEPTIC_MONTH:return this._prolepticMonth();case $.YEAR_OF_ERA:return this._year>=1?this._year:1-this._year;case $.YEAR:return this._year;case $.ERA:return this._year>=1?1:0}throw new s("Unsupported field: "+t)},e._prolepticMonth=function(){return 12*this._year+(this._month-1)},e.chronology=function(){return nn.INSTANCE},e.year=function(){return this._year},e.monthValue=function(){return this._month},e.month=function(){return P.of(this._month)},e.dayOfMonth=function(){return this._day},e.dayOfYear=function(){return this.month().firstDayOfYear(this.isLeapYear())+this._day-1},e.dayOfWeek=function(){var t=w.floorMod(this.toEpochDay()+3,7);return D.of(t+1)},e.isLeapYear=function(){return nn.isLeapYear(this._year)},e.lengthOfMonth=function(){switch(this._month){case 2:return this.isLeapYear()?29:28;case 4:case 6:case 9:case 11:return 30;default:return 31}},e.lengthOfYear=function(){return this.isLeapYear()?366:365},e.withAdjuster=function(t){return p(t,"adjuster"),t instanceof n?t:(d("function"==typeof t.adjustInto,"adjuster",u),t.adjustInto(this))},e.withFieldValue=function(t,e){if(d(null!=t,"field",l),t instanceof $){var r=t;switch(r.checkValidValue(e),r){case $.DAY_OF_WEEK:return this.plusDays(e-this.dayOfWeek().value());case $.ALIGNED_DAY_OF_WEEK_IN_MONTH:return this.plusDays(e-this.getLong($.ALIGNED_DAY_OF_WEEK_IN_MONTH));case $.ALIGNED_DAY_OF_WEEK_IN_YEAR:return this.plusDays(e-this.getLong($.ALIGNED_DAY_OF_WEEK_IN_YEAR));case $.DAY_OF_MONTH:return this.withDayOfMonth(e);case $.DAY_OF_YEAR:return this.withDayOfYear(e);case $.EPOCH_DAY:return n.ofEpochDay(e);case $.ALIGNED_WEEK_OF_MONTH:return this.plusWeeks(e-this.getLong($.ALIGNED_WEEK_OF_MONTH));case $.ALIGNED_WEEK_OF_YEAR:return this.plusWeeks(e-this.getLong($.ALIGNED_WEEK_OF_YEAR));case $.MONTH_OF_YEAR:return this.withMonth(e);case $.PROLEPTIC_MONTH:return this.plusMonths(e-this.getLong($.PROLEPTIC_MONTH));case $.YEAR_OF_ERA:return this.withYear(this._year>=1?e:1-e);case $.YEAR:return this.withYear(e);case $.ERA:return this.getLong($.ERA)===e?this:this.withYear(1-this._year)}throw new s("Unsupported field: "+t)}return t.adjustInto(this,e)},e.withYear=function(t){return this._year===t?this:($.YEAR.checkValidValue(t),n._resolvePreviousValid(t,this._month,this._day))},e.withMonth=function(t){var e=t instanceof P?t.value():t;return this._month===e?this:($.MONTH_OF_YEAR.checkValidValue(e),n._resolvePreviousValid(this._year,e,this._day))},e.withDayOfMonth=function(t){return this._day===t?this:n.of(this._year,this._month,t)},e.withDayOfYear=function(t){return this.dayOfYear()===t?this:n.ofYearDay(this._year,t)},e.plusAmount=function(t){return p(t,"amount"),t.addTo(this)},e.plusAmountUnit=function(t,n){if(p(t,"amountToAdd"),p(n,"unit"),n instanceof C){switch(n){case C.DAYS:return this.plusDays(t);case C.WEEKS:return this.plusWeeks(t);case C.MONTHS:return this.plusMonths(t);case C.YEARS:return this.plusYears(t);case C.DECADES:return this.plusYears(w.safeMultiply(t,10));case C.CENTURIES:return this.plusYears(w.safeMultiply(t,100));case C.MILLENNIA:return this.plusYears(w.safeMultiply(t,1e3));case C.ERAS:return this.with($.ERA,w.safeAdd(this.getLong($.ERA),t))}throw new s("Unsupported unit: "+n)}return n.addTo(this,t)},e.plusYears=function(t){if(0===t)return this;var e=$.YEAR.checkValidIntValue(this._year+t);return n._resolvePreviousValid(e,this._month,this._day)},e.plusMonths=function(t){if(0===t)return this;var e=12*this._year+(this._month-1)+t,r=$.YEAR.checkValidIntValue(w.floorDiv(e,12)),i=w.floorMod(e,12)+1;return n._resolvePreviousValid(r,i,this._day)},e.plusWeeks=function(t){return this.plusDays(w.safeMultiply(t,7))},e.plusDays=function(t){if(0===t)return this;var e=w.safeAdd(this.toEpochDay(),t);return n.ofEpochDay(e)},e.minusAmount=function(t){return p(t,"amount"),t.subtractFrom(this)},e.minusAmountUnit=function(t,n){return p(t,"amountToSubtract"),p(n,"unit"),this.plusAmountUnit(-1*t,n)},e.minusYears=function(t){return this.plusYears(-1*t)},e.minusMonths=function(t){return this.plusMonths(-1*t)},e.minusWeeks=function(t){return this.plusWeeks(-1*t)},e.minusDays=function(t){return this.plusDays(-1*t)},e.query=function(n){return p(n,"query"),n===z.localDate()?this:t.prototype.query.call(this,n)},e.adjustInto=function(n){return t.prototype.adjustInto.call(this,n)},e.until=function(t,n){return arguments.length<2?this.until1(t):this.until2(t,n)},e.until2=function(t,e){var r=n.from(t);if(e instanceof C){switch(e){case C.DAYS:return this.daysUntil(r);case C.WEEKS:return w.intDiv(this.daysUntil(r),7);case C.MONTHS:return this._monthsUntil(r);case C.YEARS:return w.intDiv(this._monthsUntil(r),12);case C.DECADES:return w.intDiv(this._monthsUntil(r),120);case C.CENTURIES:return w.intDiv(this._monthsUntil(r),1200);case C.MILLENNIA:return w.intDiv(this._monthsUntil(r),12e3);case C.ERAS:return r.getLong($.ERA)-this.getLong($.ERA)}throw new s("Unsupported unit: "+e)}return e.between(this,r)},e.daysUntil=function(t){return t.toEpochDay()-this.toEpochDay()},e._monthsUntil=function(t){var n=32*this._prolepticMonth()+this.dayOfMonth(),e=32*t._prolepticMonth()+t.dayOfMonth();return w.intDiv(e-n,32)},e.until1=function(t){var e=n.from(t),r=e._prolepticMonth()-this._prolepticMonth(),i=e._day-this._day;if(r>0&&i<0){r--;var o=this.plusMonths(r);i=e.toEpochDay()-o.toEpochDay()}else r<0&&i>0&&(r++,i-=e.lengthOfMonth());var s=w.intDiv(r,12),a=w.intMod(r,12);return q.of(s,a,i)},e.atTime=function(){return 1===arguments.length?this.atTime1.apply(this,arguments):this.atTime4.apply(this,arguments)},e.atTime1=function(t){if(p(t,"time"),t instanceof fn)return hn.of(this,t);if(t instanceof en)return this._atTimeOffsetTime(t);throw new u("time must be an instance of LocalTime or OffsetTime"+(t&&t.constructor&&t.constructor.name?", but is "+t.constructor.name:""))},e.atTime4=function(t,n,e,r){return void 0===e&&(e=0),void 0===r&&(r=0),this.atTime1(fn.of(t,n,e,r))},e._atTimeOffsetTime=function(t){return sn.of(hn.of(this,t.toLocalTime()),t.offset())},e.atStartOfDay=function(t){return null!=t?this.atStartOfDayWithZone(t):hn.of(this,fn.MIDNIGHT)},e.atStartOfDayWithZone=function(t){p(t,"zone");var n=this.atTime(fn.MIDNIGHT);if(t instanceof Q==0){var e=t.rules().transition(n);null!=e&&e.isGap()&&(n=e.dateTimeAfter())}return on.of(n,t)},e.toEpochDay=function(){var t=this._year,n=this._month,e=0;return e+=365*t,t>=0?e+=w.intDiv(t+3,4)-w.intDiv(t+99,100)+w.intDiv(t+399,400):e-=w.intDiv(t,-4)-w.intDiv(t,-100)+w.intDiv(t,-400),e+=w.intDiv(367*n-362,12),e+=this.dayOfMonth()-1,n>2&&(e--,nn.isLeapYear(t)||e--),e-un},e.compareTo=function(t){return p(t,"other"),_(t,n,"other"),this._compareTo0(t)},e._compareTo0=function(t){var n=this._year-t._year;return 0===n&&0==(n=this._month-t._month)&&(n=this._day-t._day),n},e.isAfter=function(t){return this.compareTo(t)>0},e.isBefore=function(t){return this.compareTo(t)<0},e.isEqual=function(t){return 0===this.compareTo(t)},e.equals=function(t){return this===t||t instanceof n&&0===this._compareTo0(t)},e.hashCode=function(){var t=this._year,n=this._month,e=this._day;return w.hash(4294965248&t^(t<<11)+(n<<6)+e)},e.toString=function(){var t=this._year,n=this._month,e=this._day;return(Math.abs(t)<1e3?t<0?"-"+(""+(t-1e4)).slice(-4):(""+(t+1e4)).slice(-4):t>9999?"+"+t:""+t)+(n<10?"-0"+n:"-"+n)+(e<10?"-0"+e:"-"+e)},e.toJSON=function(){return this.toString()},e.format=function(n){return p(n,"formatter"),_(n,Gt,"formatter"),t.prototype.format.call(this,n)},n}(W),ln=function(t){function n(){return t.apply(this,arguments)||this}h(n,t);var e=n.prototype;return e.chronology=function(){return this.toLocalDate().chronology()},e.query=function(n){return n===z.chronology()?this.chronology():n===z.precision()?C.NANOS:n===z.localDate()?cn.ofEpochDay(this.toLocalDate().toEpochDay()):n===z.localTime()?this.toLocalTime():n===z.zone()||n===z.zoneId()||n===z.offset()?null:t.prototype.query.call(this,n)},e.adjustInto=function(t){return t.with($.EPOCH_DAY,this.toLocalDate().toEpochDay()).with($.NANO_OF_DAY,this.toLocalTime().toNanoOfDay())},e.toInstant=function(t){return _(t,Q,"zoneId"),pn.ofEpochSecond(this.toEpochSecond(t),this.toLocalTime().nano())},e.toEpochSecond=function(t){p(t,"offset");var n=86400*this.toLocalDate().toEpochDay()+this.toLocalTime().toSecondOfDay();return n-=t.totalSeconds(),w.safeToInt(n)},n}(V),hn=function(t){function n(n,e){var r;return r=t.call(this)||this,_(n,cn,"date"),_(e,fn,"time"),r._date=n,r._time=e,r}h(n,t),n.now=function(t){return null==t?n._now(_n.systemDefaultZone()):t instanceof _n?n._now(t):n._now(_n.system(t))},n._now=function(t){return p(t,"clock"),n.ofInstant(t.instant(),t.zone())},n._ofEpochMillis=function(t,e){var r=w.floorDiv(t,1e3)+e.totalSeconds(),i=w.floorDiv(r,fn.SECONDS_PER_DAY),o=w.floorMod(r,fn.SECONDS_PER_DAY),s=1e6*w.floorMod(t,1e3);return new n(cn.ofEpochDay(i),fn.ofSecondOfDay(o,s))},n.of=function(){return arguments.length<=2?n.ofDateAndTime.apply(this,arguments):n.ofNumbers.apply(this,arguments)},n.ofNumbers=function(t,e,r,i,o,s,a){return void 0===i&&(i=0),void 0===o&&(o=0),void 0===s&&(s=0),void 0===a&&(a=0),new n(cn.of(t,e,r),fn.of(i,o,s,a))},n.ofDateAndTime=function(t,e){return p(t,"date"),p(e,"time"),new n(t,e)},n.ofInstant=function(t,e){void 0===e&&(e=Y.systemDefault()),p(t,"instant"),_(t,pn,"instant"),p(e,"zone");var r=e.rules().offset(t);return n.ofEpochSecond(t.epochSecond(),t.nano(),r)},n.ofEpochSecond=function(t,e,r){void 0===t&&(t=0),void 0===e&&(e=0),2===arguments.length&&e instanceof Q&&(r=e,e=0),p(r,"offset");var i=t+r.totalSeconds(),o=w.floorDiv(i,fn.SECONDS_PER_DAY),s=w.floorMod(i,fn.SECONDS_PER_DAY);return new n(cn.ofEpochDay(o),fn.ofSecondOfDay(s,e))},n.from=function(t){if(p(t,"temporal"),t instanceof n)return t;if(t instanceof on)return t.toLocalDateTime();try{return new n(cn.from(t),fn.from(t))}catch(n){throw new i("Unable to obtain LocalDateTime TemporalAccessor: "+t+", type "+(null!=t.constructor?t.constructor.name:""))}},n.parse=function(t,e){return void 0===e&&(e=Gt.ISO_LOCAL_DATE_TIME),p(e,"formatter"),e.parse(t,n.FROM)};var e=n.prototype;return e._withDateTime=function(t,e){return this._date.equals(t)&&this._time.equals(e)?this:new n(t,e)},e.isSupported=function(t){return t instanceof $||t instanceof C?t.isDateBased()||t.isTimeBased():null!=t&&t.isSupportedBy(this)},e.range=function(t){return t instanceof $?t.isTimeBased()?this._time.range(t):this._date.range(t):t.rangeRefinedBy(this)},e.get=function(n){return n instanceof $?n.isTimeBased()?this._time.get(n):this._date.get(n):t.prototype.get.call(this,n)},e.getLong=function(t){return p(t,"field"),t instanceof $?t.isTimeBased()?this._time.getLong(t):this._date.getLong(t):t.getFrom(this)},e.year=function(){return this._date.year()},e.monthValue=function(){return this._date.monthValue()},e.month=function(){return this._date.month()},e.dayOfMonth=function(){return this._date.dayOfMonth()},e.dayOfYear=function(){return this._date.dayOfYear()},e.dayOfWeek=function(){return this._date.dayOfWeek()},e.hour=function(){return this._time.hour()},e.minute=function(){return this._time.minute()},e.second=function(){return this._time.second()},e.nano=function(){return this._time.nano()},e.withAdjuster=function(t){return p(t,"adjuster"),t instanceof cn?this._withDateTime(t,this._time):t instanceof fn?this._withDateTime(this._date,t):t instanceof n?t:(d("function"==typeof t.adjustInto,"adjuster",u),t.adjustInto(this))},e.withFieldValue=function(t,n){return p(t,"field"),t instanceof $?t.isTimeBased()?this._withDateTime(this._date,this._time.with(t,n)):this._withDateTime(this._date.with(t,n),this._time):t.adjustInto(this,n)},e.withYear=function(t){return this._withDateTime(this._date.withYear(t),this._time)},e.withMonth=function(t){return this._withDateTime(this._date.withMonth(t),this._time)},e.withDayOfMonth=function(t){return this._withDateTime(this._date.withDayOfMonth(t),this._time)},e.withDayOfYear=function(t){return this._withDateTime(this._date.withDayOfYear(t),this._time)},e.withHour=function(t){var n=this._time.withHour(t);return this._withDateTime(this._date,n)},e.withMinute=function(t){var n=this._time.withMinute(t);return this._withDateTime(this._date,n)},e.withSecond=function(t){var n=this._time.withSecond(t);return this._withDateTime(this._date,n)},e.withNano=function(t){var n=this._time.withNano(t);return this._withDateTime(this._date,n)},e.truncatedTo=function(t){return this._withDateTime(this._date,this._time.truncatedTo(t))},e.plusAmount=function(t){return p(t,"amount"),t.addTo(this)},e.plusAmountUnit=function(t,n){if(p(n,"unit"),n instanceof C){switch(n){case C.NANOS:return this.plusNanos(t);case C.MICROS:return this.plusDays(w.intDiv(t,fn.MICROS_PER_DAY)).plusNanos(1e3*w.intMod(t,fn.MICROS_PER_DAY));case C.MILLIS:return this.plusDays(w.intDiv(t,fn.MILLIS_PER_DAY)).plusNanos(1e6*w.intMod(t,fn.MILLIS_PER_DAY));case C.SECONDS:return this.plusSeconds(t);case C.MINUTES:return this.plusMinutes(t);case C.HOURS:return this.plusHours(t);case C.HALF_DAYS:return this.plusDays(w.intDiv(t,256)).plusHours(12*w.intMod(t,256))}return this._withDateTime(this._date.plus(t,n),this._time)}return n.addTo(this,t)},e.plusYears=function(t){var n=this._date.plusYears(t);return this._withDateTime(n,this._time)},e.plusMonths=function(t){var n=this._date.plusMonths(t);return this._withDateTime(n,this._time)},e.plusWeeks=function(t){var n=this._date.plusWeeks(t);return this._withDateTime(n,this._time)},e.plusDays=function(t){var n=this._date.plusDays(t);return this._withDateTime(n,this._time)},e.plusHours=function(t){return this._plusWithOverflow(this._date,t,0,0,0,1)},e.plusMinutes=function(t){return this._plusWithOverflow(this._date,0,t,0,0,1)},e.plusSeconds=function(t){return this._plusWithOverflow(this._date,0,0,t,0,1)},e.plusNanos=function(t){return this._plusWithOverflow(this._date,0,0,0,t,1)},e.minusAmount=function(t){return p(t,"amount"),t.subtractFrom(this)},e.minusAmountUnit=function(t,n){return p(n,"unit"),this.plusAmountUnit(-1*t,n)},e.minusYears=function(t){return this.plusYears(-1*t)},e.minusMonths=function(t){return this.plusMonths(-1*t)},e.minusWeeks=function(t){return this.plusWeeks(-1*t)},e.minusDays=function(t){return this.plusDays(-1*t)},e.minusHours=function(t){return this._plusWithOverflow(this._date,t,0,0,0,-1)},e.minusMinutes=function(t){return this._plusWithOverflow(this._date,0,t,0,0,-1)},e.minusSeconds=function(t){return this._plusWithOverflow(this._date,0,0,t,0,-1)},e.minusNanos=function(t){return this._plusWithOverflow(this._date,0,0,0,t,-1)},e._plusWithOverflow=function(t,n,e,r,i,o){if(0===n&&0===e&&0===r&&0===i)return this._withDateTime(t,this._time);var s=w.intDiv(i,fn.NANOS_PER_DAY)+w.intDiv(r,fn.SECONDS_PER_DAY)+w.intDiv(e,fn.MINUTES_PER_DAY)+w.intDiv(n,fn.HOURS_PER_DAY);s*=o;var a=w.intMod(i,fn.NANOS_PER_DAY)+w.intMod(r,fn.SECONDS_PER_DAY)*fn.NANOS_PER_SECOND+w.intMod(e,fn.MINUTES_PER_DAY)*fn.NANOS_PER_MINUTE+w.intMod(n,fn.HOURS_PER_DAY)*fn.NANOS_PER_HOUR,u=this._time.toNanoOfDay();a=a*o+u,s+=w.floorDiv(a,fn.NANOS_PER_DAY);var c=w.floorMod(a,fn.NANOS_PER_DAY),l=c===u?this._time:fn.ofNanoOfDay(c);return this._withDateTime(t.plusDays(s),l)},e.query=function(n){return p(n,"query"),n===z.localDate()?this.toLocalDate():t.prototype.query.call(this,n)},e.adjustInto=function(n){return t.prototype.adjustInto.call(this,n)},e.until=function(t,e){p(t,"endExclusive"),p(e,"unit");var r=n.from(t);if(e instanceof C){if(e.isTimeBased()){var i=this._date.daysUntil(r._date),o=r._time.toNanoOfDay()-this._time.toNanoOfDay();i>0&&o<0?(i--,o+=fn.NANOS_PER_DAY):i<0&&o>0&&(i++,o-=fn.NANOS_PER_DAY);var a=i;switch(e){case C.NANOS:return a=w.safeMultiply(a,fn.NANOS_PER_DAY),w.safeAdd(a,o);case C.MICROS:return a=w.safeMultiply(a,fn.MICROS_PER_DAY),w.safeAdd(a,w.intDiv(o,1e3));case C.MILLIS:return a=w.safeMultiply(a,fn.MILLIS_PER_DAY),w.safeAdd(a,w.intDiv(o,1e6));case C.SECONDS:return a=w.safeMultiply(a,fn.SECONDS_PER_DAY),w.safeAdd(a,w.intDiv(o,fn.NANOS_PER_SECOND));case C.MINUTES:return a=w.safeMultiply(a,fn.MINUTES_PER_DAY),w.safeAdd(a,w.intDiv(o,fn.NANOS_PER_MINUTE));case C.HOURS:return a=w.safeMultiply(a,fn.HOURS_PER_DAY),w.safeAdd(a,w.intDiv(o,fn.NANOS_PER_HOUR));case C.HALF_DAYS:return a=w.safeMultiply(a,2),w.safeAdd(a,w.intDiv(o,12*fn.NANOS_PER_HOUR))}throw new s("Unsupported unit: "+e)}var u=r._date,c=r._time;return u.isAfter(this._date)&&c.isBefore(this._time)?u=u.minusDays(1):u.isBefore(this._date)&&c.isAfter(this._time)&&(u=u.plusDays(1)),this._date.until(u,e)}return e.between(this,r)},e.atOffset=function(t){return sn.of(this,t)},e.atZone=function(t){return on.of(this,t)},e.toLocalDate=function(){return this._date},e.toLocalTime=function(){return this._time},e.compareTo=function(t){return p(t,"other"),_(t,n,"other"),this._compareTo0(t)},e._compareTo0=function(t){var n=this._date.compareTo(t.toLocalDate());return 0===n&&(n=this._time.compareTo(t.toLocalTime())),n},e.isAfter=function(t){return this.compareTo(t)>0},e.isBefore=function(t){return this.compareTo(t)<0},e.isEqual=function(t){return 0===this.compareTo(t)},e.equals=function(t){return this===t||t instanceof n&&this._date.equals(t._date)&&this._time.equals(t._time)},e.hashCode=function(){return this._date.hashCode()^this._time.hashCode()},e.toString=function(){return this._date.toString()+"T"+this._time.toString()},e.toJSON=function(){return this.toString()},e.format=function(t){return p(t,"formatter"),t.format(this)},n}(ln),fn=function(t){function n(e,r,i,o){var s;void 0===e&&(e=0),void 0===r&&(r=0),void 0===i&&(i=0),void 0===o&&(o=0),s=t.call(this)||this;var a=w.safeToInt(e),u=w.safeToInt(r),c=w.safeToInt(i),l=w.safeToInt(o);return n._validate(a,u,c,l),0===u&&0===c&&0===l?(n.HOURS[a]||(s._hour=a,s._minute=u,s._second=c,s._nano=l,n.HOURS[a]=f(s)),n.HOURS[a]||f(s)):(s._hour=a,s._minute=u,s._second=c,s._nano=l,s)}h(n,t),n.now=function(t){return null==t?n._now(_n.systemDefaultZone()):t instanceof _n?n._now(t):n._now(_n.system(t))},n._now=function(t){return void 0===t&&(t=_n.systemDefaultZone()),p(t,"clock"),n.ofInstant(t.instant(),t.zone())},n.ofInstant=function(t,e){void 0===e&&(e=Y.systemDefault());var r=e.rules().offset(t),i=w.intMod(t.epochSecond(),n.SECONDS_PER_DAY);return(i=w.intMod(i+r.totalSeconds(),n.SECONDS_PER_DAY))<0&&(i+=n.SECONDS_PER_DAY),n.ofSecondOfDay(i,t.nano())},n.of=function(t,e,r,i){return new n(t,e,r,i)},n.ofSecondOfDay=function(t,e){void 0===t&&(t=0),void 0===e&&(e=0),$.SECOND_OF_DAY.checkValidValue(t),$.NANO_OF_SECOND.checkValidValue(e);var r=w.intDiv(t,n.SECONDS_PER_HOUR);t-=r*n.SECONDS_PER_HOUR;var i=w.intDiv(t,n.SECONDS_PER_MINUTE);return new n(r,i,t-=i*n.SECONDS_PER_MINUTE,e)},n.ofNanoOfDay=function(t){void 0===t&&(t=0),$.NANO_OF_DAY.checkValidValue(t);var e=w.intDiv(t,n.NANOS_PER_HOUR);t-=e*n.NANOS_PER_HOUR;var r=w.intDiv(t,n.NANOS_PER_MINUTE);t-=r*n.NANOS_PER_MINUTE;var i=w.intDiv(t,n.NANOS_PER_SECOND);return new n(e,r,i,t-=i*n.NANOS_PER_SECOND)},n.from=function(t){p(t,"temporal");var n=t.query(z.localTime());if(null==n)throw new i("Unable to obtain LocalTime TemporalAccessor: "+t+", type "+(null!=t.constructor?t.constructor.name:""));return n},n.parse=function(t,e){return void 0===e&&(e=Gt.ISO_LOCAL_TIME),p(e,"formatter"),e.parse(t,n.FROM)},n._validate=function(t,n,e,r){$.HOUR_OF_DAY.checkValidValue(t),$.MINUTE_OF_HOUR.checkValidValue(n),$.SECOND_OF_MINUTE.checkValidValue(e),$.NANO_OF_SECOND.checkValidValue(r)};var e=n.prototype;return e.isSupported=function(t){return t instanceof $||t instanceof C?t.isTimeBased():null!=t&&t.isSupportedBy(this)},e.range=function(n){return p(n),t.prototype.range.call(this,n)},e.get=function(t){return this.getLong(t)},e.getLong=function(t){return p(t,"field"),t instanceof $?this._get0(t):t.getFrom(this)},e._get0=function(t){switch(t){case $.NANO_OF_SECOND:return this._nano;case $.NANO_OF_DAY:return this.toNanoOfDay();case $.MICRO_OF_SECOND:return w.intDiv(this._nano,1e3);case $.MICRO_OF_DAY:return w.intDiv(this.toNanoOfDay(),1e3);case $.MILLI_OF_SECOND:return w.intDiv(this._nano,1e6);case $.MILLI_OF_DAY:return w.intDiv(this.toNanoOfDay(),1e6);case $.SECOND_OF_MINUTE:return this._second;case $.SECOND_OF_DAY:return this.toSecondOfDay();case $.MINUTE_OF_HOUR:return this._minute;case $.MINUTE_OF_DAY:return 60*this._hour+this._minute;case $.HOUR_OF_AMPM:return w.intMod(this._hour,12);case $.CLOCK_HOUR_OF_AMPM:var n=w.intMod(this._hour,12);return n%12==0?12:n;case $.HOUR_OF_DAY:return this._hour;case $.CLOCK_HOUR_OF_DAY:return 0===this._hour?24:this._hour;case $.AMPM_OF_DAY:return w.intDiv(this._hour,12)}throw new s("Unsupported field: "+t)},e.hour=function(){return this._hour},e.minute=function(){return this._minute},e.second=function(){return this._second},e.nano=function(){return this._nano},e.withAdjuster=function(t){return p(t,"adjuster"),t instanceof n?t:(d("function"==typeof t.adjustInto,"adjuster",u),t.adjustInto(this))},e.withFieldValue=function(t,e){if(p(t,"field"),_(t,E,"field"),t instanceof $){switch(t.checkValidValue(e),t){case $.NANO_OF_SECOND:return this.withNano(e);case $.NANO_OF_DAY:return n.ofNanoOfDay(e);case $.MICRO_OF_SECOND:return this.withNano(1e3*e);case $.MICRO_OF_DAY:return n.ofNanoOfDay(1e3*e);case $.MILLI_OF_SECOND:return this.withNano(1e6*e);case $.MILLI_OF_DAY:return n.ofNanoOfDay(1e6*e);case $.SECOND_OF_MINUTE:return this.withSecond(e);case $.SECOND_OF_DAY:return this.plusSeconds(e-this.toSecondOfDay());case $.MINUTE_OF_HOUR:return this.withMinute(e);case $.MINUTE_OF_DAY:return this.plusMinutes(e-(60*this._hour+this._minute));case $.HOUR_OF_AMPM:return this.plusHours(e-w.intMod(this._hour,12));case $.CLOCK_HOUR_OF_AMPM:return this.plusHours((12===e?0:e)-w.intMod(this._hour,12));case $.HOUR_OF_DAY:return this.withHour(e);case $.CLOCK_HOUR_OF_DAY:return this.withHour(24===e?0:e);case $.AMPM_OF_DAY:return this.plusHours(12*(e-w.intDiv(this._hour,12)))}throw new s("Unsupported field: "+t)}return t.adjustInto(this,e)},e.withHour=function(t){return void 0===t&&(t=0),this._hour===t?this:new n(t,this._minute,this._second,this._nano)},e.withMinute=function(t){return void 0===t&&(t=0),this._minute===t?this:new n(this._hour,t,this._second,this._nano)},e.withSecond=function(t){return void 0===t&&(t=0),this._second===t?this:new n(this._hour,this._minute,t,this._nano)},e.withNano=function(t){return void 0===t&&(t=0),this._nano===t?this:new n(this._hour,this._minute,this._second,t)},e.truncatedTo=function(t){if(p(t,"unit"),t===C.NANOS)return this;var e=t.duration();if(e.seconds()>n.SECONDS_PER_DAY)throw new i("Unit is too large to be used for truncation");var r=e.toNanos();if(0!==w.intMod(n.NANOS_PER_DAY,r))throw new i("Unit must divide into a standard day without remainder");var o=this.toNanoOfDay();return n.ofNanoOfDay(w.intDiv(o,r)*r)},e.plusAmount=function(t){return p(t,"amount"),t.addTo(this)},e.plusAmountUnit=function(t,e){if(p(e,"unit"),e instanceof C){switch(e){case C.NANOS:return this.plusNanos(t);case C.MICROS:return this.plusNanos(1e3*w.intMod(t,n.MICROS_PER_DAY));case C.MILLIS:return this.plusNanos(1e6*w.intMod(t,n.MILLIS_PER_DAY));case C.SECONDS:return this.plusSeconds(t);case C.MINUTES:return this.plusMinutes(t);case C.HOURS:return this.plusHours(t);case C.HALF_DAYS:return this.plusHours(12*w.intMod(t,2))}throw new s("Unsupported unit: "+e)}return e.addTo(this,t)},e.plusHours=function(t){return 0===t?this:new n(w.intMod(w.intMod(t,n.HOURS_PER_DAY)+this._hour+n.HOURS_PER_DAY,n.HOURS_PER_DAY),this._minute,this._second,this._nano)},e.plusMinutes=function(t){if(0===t)return this;var e=this._hour*n.MINUTES_PER_HOUR+this._minute,r=w.intMod(w.intMod(t,n.MINUTES_PER_DAY)+e+n.MINUTES_PER_DAY,n.MINUTES_PER_DAY);return e===r?this:new n(w.intDiv(r,n.MINUTES_PER_HOUR),w.intMod(r,n.MINUTES_PER_HOUR),this._second,this._nano)},e.plusSeconds=function(t){if(0===t)return this;var e=this._hour*n.SECONDS_PER_HOUR+this._minute*n.SECONDS_PER_MINUTE+this._second,r=w.intMod(w.intMod(t,n.SECONDS_PER_DAY)+e+n.SECONDS_PER_DAY,n.SECONDS_PER_DAY);return e===r?this:new n(w.intDiv(r,n.SECONDS_PER_HOUR),w.intMod(w.intDiv(r,n.SECONDS_PER_MINUTE),n.MINUTES_PER_HOUR),w.intMod(r,n.SECONDS_PER_MINUTE),this._nano)},e.plusNanos=function(t){if(0===t)return this;var e=this.toNanoOfDay(),r=w.intMod(w.intMod(t,n.NANOS_PER_DAY)+e+n.NANOS_PER_DAY,n.NANOS_PER_DAY);return e===r?this:new n(w.intDiv(r,n.NANOS_PER_HOUR),w.intMod(w.intDiv(r,n.NANOS_PER_MINUTE),n.MINUTES_PER_HOUR),w.intMod(w.intDiv(r,n.NANOS_PER_SECOND),n.SECONDS_PER_MINUTE),w.intMod(r,n.NANOS_PER_SECOND))},e.minusAmount=function(t){return p(t,"amount"),t.subtractFrom(this)},e.minusAmountUnit=function(t,n){return p(n,"unit"),this.plusAmountUnit(-1*t,n)},e.minusHours=function(t){return this.plusHours(-1*w.intMod(t,n.HOURS_PER_DAY))},e.minusMinutes=function(t){return this.plusMinutes(-1*w.intMod(t,n.MINUTES_PER_DAY))},e.minusSeconds=function(t){return this.plusSeconds(-1*w.intMod(t,n.SECONDS_PER_DAY))},e.minusNanos=function(t){return this.plusNanos(-1*w.intMod(t,n.NANOS_PER_DAY))},e.query=function(t){return p(t,"query"),t===z.precision()?C.NANOS:t===z.localTime()?this:t===z.chronology()||t===z.zoneId()||t===z.zone()||t===z.offset()||t===z.localDate()?null:t.queryFrom(this)},e.adjustInto=function(t){return t.with(n.NANO_OF_DAY,this.toNanoOfDay())},e.until=function(t,e){p(t,"endExclusive"),p(e,"unit");var r=n.from(t);if(e instanceof C){var i=r.toNanoOfDay()-this.toNanoOfDay();switch(e){case C.NANOS:return i;case C.MICROS:return w.intDiv(i,1e3);case C.MILLIS:return w.intDiv(i,1e6);case C.SECONDS:return w.intDiv(i,n.NANOS_PER_SECOND);case C.MINUTES:return w.intDiv(i,n.NANOS_PER_MINUTE);case C.HOURS:return w.intDiv(i,n.NANOS_PER_HOUR);case C.HALF_DAYS:return w.intDiv(i,12*n.NANOS_PER_HOUR)}throw new s("Unsupported unit: "+e)}return e.between(this,r)},e.atDate=function(t){return hn.of(t,this)},e.toSecondOfDay=function(){var t=this._hour*n.SECONDS_PER_HOUR;return(t+=this._minute*n.SECONDS_PER_MINUTE)+this._second},e.toNanoOfDay=function(){var t=this._hour*n.NANOS_PER_HOUR;return t+=this._minute*n.NANOS_PER_MINUTE,(t+=this._second*n.NANOS_PER_SECOND)+this._nano},e.compareTo=function(t){p(t,"other"),_(t,n,"other");var e=w.compareNumbers(this._hour,t._hour);return 0===e&&0===(e=w.compareNumbers(this._minute,t._minute))&&0===(e=w.compareNumbers(this._second,t._second))&&(e=w.compareNumbers(this._nano,t._nano)),e},e.isAfter=function(t){return this.compareTo(t)>0},e.isBefore=function(t){return this.compareTo(t)<0},e.equals=function(t){return this===t||t instanceof n&&this._hour===t._hour&&this._minute===t._minute&&this._second===t._second&&this._nano===t._nano},e.hashCode=function(){var t=this.toNanoOfDay();return w.hash(t)},e.toString=function(){var t="",n=this._hour,e=this._minute,r=this._second,i=this._nano;return t+=n<10?"0":"",t+=n,t+=e<10?":0":":",t+=e,(r>0||i>0)&&(t+=r<10?":0":":",t+=r,i>0&&(t+=".",0===w.intMod(i,1e6)?t+=(""+(w.intDiv(i,1e6)+1e3)).substring(1):0===w.intMod(i,1e3)?t+=(""+(w.intDiv(i,1e3)+1e6)).substring(1):t+=(""+(i+1e9)).substring(1))),t},e.toJSON=function(){return this.toString()},e.format=function(t){return p(t,"formatter"),t.format(this)},n}(H);fn.HOURS_PER_DAY=24,fn.MINUTES_PER_HOUR=60,fn.MINUTES_PER_DAY=fn.MINUTES_PER_HOUR*fn.HOURS_PER_DAY,fn.SECONDS_PER_MINUTE=60,fn.SECONDS_PER_HOUR=fn.SECONDS_PER_MINUTE*fn.MINUTES_PER_HOUR,fn.SECONDS_PER_DAY=fn.SECONDS_PER_HOUR*fn.HOURS_PER_DAY,fn.MILLIS_PER_DAY=1e3*fn.SECONDS_PER_DAY,fn.MICROS_PER_DAY=1e6*fn.SECONDS_PER_DAY,fn.NANOS_PER_SECOND=1e9,fn.NANOS_PER_MINUTE=fn.NANOS_PER_SECOND*fn.SECONDS_PER_MINUTE,fn.NANOS_PER_HOUR=fn.NANOS_PER_MINUTE*fn.MINUTES_PER_HOUR,fn.NANOS_PER_DAY=fn.NANOS_PER_HOUR*fn.HOURS_PER_DAY;var dn=1e6,pn=function(t){function n(e,r){var i;return i=t.call(this)||this,n._validate(e,r),i._seconds=w.safeToInt(e),i._nanos=w.safeToInt(r),i}h(n,t),n.now=function(t){return void 0===t&&(t=_n.systemUTC()),t.instant()},n.ofEpochSecond=function(t,e){void 0===e&&(e=0);var r=t+w.floorDiv(e,fn.NANOS_PER_SECOND),i=w.floorMod(e,fn.NANOS_PER_SECOND);return n._create(r,i)},n.ofEpochMilli=function(t){var e=w.floorDiv(t,1e3),r=w.floorMod(t,1e3);return n._create(e,1e6*r)},n.from=function(t){try{var e=t.getLong($.INSTANT_SECONDS),r=t.get($.NANO_OF_SECOND);return n.ofEpochSecond(e,r)}catch(n){throw new i("Unable to obtain Instant from TemporalAccessor: "+t+", type "+typeof t,n)}},n.parse=function(t){return Gt.ISO_INSTANT.parse(t,n.FROM)},n._create=function(t,e){return 0===t&&0===e?n.EPOCH:new n(t,e)},n._validate=function(t,e){if(tn.MAX_SECONDS)throw new i("Instant exceeds minimum or maximum instant");if(e<0||e>fn.NANOS_PER_SECOND)throw new i("Instant exceeds minimum or maximum instant")};var e=n.prototype;return e.isSupported=function(t){return t instanceof $?t===$.INSTANT_SECONDS||t===$.NANO_OF_SECOND||t===$.MICRO_OF_SECOND||t===$.MILLI_OF_SECOND:t instanceof C?t.isTimeBased()||t===C.DAYS:null!=t&&t.isSupportedBy(this)},e.range=function(n){return t.prototype.range.call(this,n)},e.get=function(t){return this.getLong(t)},e.getLong=function(t){if(t instanceof $){switch(t){case $.NANO_OF_SECOND:return this._nanos;case $.MICRO_OF_SECOND:return w.intDiv(this._nanos,1e3);case $.MILLI_OF_SECOND:return w.intDiv(this._nanos,dn);case $.INSTANT_SECONDS:return this._seconds}throw new s("Unsupported field: "+t)}return t.getFrom(this)},e.epochSecond=function(){return this._seconds},e.nano=function(){return this._nanos},e.withAdjuster=function(t){return p(t,"adjuster"),t.adjustInto(this)},e.withFieldValue=function(t,e){if(p(t,"field"),t instanceof $){switch(t.checkValidValue(e),t){case $.MILLI_OF_SECOND:var r=e*dn;return r!==this._nanos?n._create(this._seconds,r):this;case $.MICRO_OF_SECOND:var i=1e3*e;return i!==this._nanos?n._create(this._seconds,i):this;case $.NANO_OF_SECOND:return e!==this._nanos?n._create(this._seconds,e):this;case $.INSTANT_SECONDS:return e!==this._seconds?n._create(e,this._nanos):this}throw new s("Unsupported field: "+t)}return t.adjustInto(this,e)},e.truncatedTo=function(t){if(p(t,"unit"),t===C.NANOS)return this;var n=t.duration();if(n.seconds()>fn.SECONDS_PER_DAY)throw new i("Unit is too large to be used for truncation");var e=n.toNanos();if(0!==w.intMod(fn.NANOS_PER_DAY,e))throw new i("Unit must divide into a standard day without remainder");var r=w.intMod(this._seconds,fn.SECONDS_PER_DAY)*fn.NANOS_PER_SECOND+this._nanos,o=w.intDiv(r,e)*e;return this.plusNanos(o-r)},e.plusAmount=function(t){return p(t,"amount"),t.addTo(this)},e.plusAmountUnit=function(t,n){if(p(t,"amountToAdd"),p(n,"unit"),_(n,k),n instanceof C){switch(n){case C.NANOS:return this.plusNanos(t);case C.MICROS:return this._plus(w.intDiv(t,1e6),1e3*w.intMod(t,1e6));case C.MILLIS:return this.plusMillis(t);case C.SECONDS:return this.plusSeconds(t);case C.MINUTES:return this.plusSeconds(w.safeMultiply(t,fn.SECONDS_PER_MINUTE));case C.HOURS:return this.plusSeconds(w.safeMultiply(t,fn.SECONDS_PER_HOUR));case C.HALF_DAYS:return this.plusSeconds(w.safeMultiply(t,fn.SECONDS_PER_DAY/2));case C.DAYS:return this.plusSeconds(w.safeMultiply(t,fn.SECONDS_PER_DAY))}throw new s("Unsupported unit: "+n)}return n.addTo(this,t)},e.plusSeconds=function(t){return this._plus(t,0)},e.plusMillis=function(t){return this._plus(w.intDiv(t,1e3),w.intMod(t,1e3)*dn)},e.plusNanos=function(t){return this._plus(0,t)},e._plus=function(t,e){if(0===t&&0===e)return this;var r=this._seconds+t;r+=w.intDiv(e,fn.NANOS_PER_SECOND);var i=this._nanos+e%fn.NANOS_PER_SECOND;return n.ofEpochSecond(r,i)},e.minusAmount=function(t){return p(t,"amount"),t.subtractFrom(this)},e.minusAmountUnit=function(t,n){return this.plusAmountUnit(-1*t,n)},e.minusSeconds=function(t){return this.plusSeconds(-1*t)},e.minusMillis=function(t){return this.plusMillis(-1*t)},e.minusNanos=function(t){return this.plusNanos(-1*t)},e.query=function(t){return p(t,"query"),t===z.precision()?C.NANOS:t===z.localDate()||t===z.localTime()||t===z.chronology()||t===z.zoneId()||t===z.zone()||t===z.offset()?null:t.queryFrom(this)},e.adjustInto=function(t){return p(t,"temporal"),t.with($.INSTANT_SECONDS,this._seconds).with($.NANO_OF_SECOND,this._nanos)},e.until=function(t,e){p(t,"endExclusive"),p(e,"unit");var r=n.from(t);if(e instanceof C){switch(e){case C.NANOS:return this._nanosUntil(r);case C.MICROS:return w.intDiv(this._nanosUntil(r),1e3);case C.MILLIS:return w.safeSubtract(r.toEpochMilli(),this.toEpochMilli());case C.SECONDS:return this._secondsUntil(r);case C.MINUTES:return w.intDiv(this._secondsUntil(r),fn.SECONDS_PER_MINUTE);case C.HOURS:return w.intDiv(this._secondsUntil(r),fn.SECONDS_PER_HOUR);case C.HALF_DAYS:return w.intDiv(this._secondsUntil(r),12*fn.SECONDS_PER_HOUR);case C.DAYS:return w.intDiv(this._secondsUntil(r),fn.SECONDS_PER_DAY)}throw new s("Unsupported unit: "+e)}return e.between(this,r)},e._nanosUntil=function(t){var n=w.safeSubtract(t.epochSecond(),this.epochSecond()),e=w.safeMultiply(n,fn.NANOS_PER_SECOND);return w.safeAdd(e,t.nano()-this.nano())},e._secondsUntil=function(t){var n=w.safeSubtract(t.epochSecond(),this.epochSecond()),e=t.nano()-this.nano();return n>0&&e<0?n--:n<0&&e>0&&n++,n},e.atOffset=function(t){return sn.ofInstant(this,t)},e.atZone=function(t){return on.ofInstant(this,t)},e.toEpochMilli=function(){return w.safeMultiply(this._seconds,1e3)+w.intDiv(this._nanos,dn)},e.compareTo=function(t){p(t,"otherInstant"),_(t,n,"otherInstant");var e=w.compareNumbers(this._seconds,t._seconds);return 0!==e?e:this._nanos-t._nanos},e.isAfter=function(t){return this.compareTo(t)>0},e.isBefore=function(t){return this.compareTo(t)<0},e.equals=function(t){return this===t||t instanceof n&&this.epochSecond()===t.epochSecond()&&this.nano()===t.nano()},e.hashCode=function(){return w.hashCode(this._seconds,this._nanos)},e.toString=function(){return Gt.ISO_INSTANT.format(this)},e.toJSON=function(){return this.toString()},n}(H),_n=function(){function t(){}t.systemUTC=function(){return new mn(Q.UTC)},t.systemDefaultZone=function(){return new mn(Y.systemDefault())},t.system=function(t){return new mn(t)},t.fixed=function(t,n){return new vn(t,n)},t.offset=function(t,n){return new gn(t,n)};var n=t.prototype;return n.millis=function(){m("Clock.millis")},n.instant=function(){m("Clock.instant")},n.zone=function(){m("Clock.zone")},n.withZone=function(){m("Clock.withZone")},t}(),mn=function(t){function n(n){var e;return p(n,"zone"),(e=t.call(this)||this)._zone=n,e}h(n,t);var e=n.prototype;return e.zone=function(){return this._zone},e.millis=function(){return(new Date).getTime()},e.instant=function(){return pn.ofEpochMilli(this.millis())},e.equals=function(t){return t instanceof n&&this._zone.equals(t._zone)},e.withZone=function(t){return t.equals(this._zone)?this:new n(t)},e.toString=function(){return"SystemClock["+this._zone.toString()+"]"},n}(_n),vn=function(t){function n(n,e){var r;return(r=t.call(this)||this)._instant=n,r._zoneId=e,r}h(n,t);var e=n.prototype;return e.instant=function(){return this._instant},e.millis=function(){return this._instant.toEpochMilli()},e.zone=function(){return this._zoneId},e.toString=function(){return"FixedClock[]"},e.equals=function(t){return t instanceof n&&this._instant.equals(t._instant)&&this._zoneId.equals(t._zoneId)},e.withZone=function(t){return t.equals(this._zoneId)?this:new n(this._instant,t)},n}(_n),gn=function(t){function n(n,e){var r;return(r=t.call(this)||this)._baseClock=n,r._offset=e,r}h(n,t);var e=n.prototype;return e.zone=function(){return this._baseClock.zone()},e.withZone=function(t){return t.equals(this._baseClock.zone())?this:new n(this._baseClock.withZone(t),this._offset)},e.millis=function(){return this._baseClock.millis()+this._offset.toMillis()},e.instant=function(){return this._baseClock.instant().plus(this._offset)},e.equals=function(t){return t instanceof n&&this._baseClock.equals(t._baseClock)&&this._offset.equals(t._offset)},e.toString=function(){return"OffsetClock["+this._baseClock+","+this._offset+"]"},n}(_n),bn=function(){function t(t,n,e){if(p(t,"transition"),p(n,"offsetBefore"),p(e,"offsetAfter"),n.equals(e))throw new u("Offsets must not be equal");if(0!==t.nano())throw new u("Nano-of-second must be zero");this._transition=t instanceof hn?t:hn.ofEpochSecond(t,0,n),this._offsetBefore=n,this._offsetAfter=e}t.of=function(n,e,r){return new t(n,e,r)};var n=t.prototype;return n.instant=function(){return this._transition.toInstant(this._offsetBefore)},n.toEpochSecond=function(){return this._transition.toEpochSecond(this._offsetBefore)},n.dateTimeBefore=function(){return this._transition},n.dateTimeAfter=function(){return this._transition.plusSeconds(this.durationSeconds())},n.offsetBefore=function(){return this._offsetBefore},n.offsetAfter=function(){return this._offsetAfter},n.duration=function(){return S.ofSeconds(this.durationSeconds())},n.durationSeconds=function(){return this._offsetAfter.totalSeconds()-this._offsetBefore.totalSeconds()},n.isGap=function(){return this._offsetAfter.totalSeconds()>this._offsetBefore.totalSeconds()},n.isOverlap=function(){return this._offsetAfter.totalSeconds()>>16},n.toString=function(){return"Transition["+(this.isGap()?"Gap":"Overlap")+" at "+this._transition.toString()+this._offsetBefore.toString()+" to "+this._offsetAfter+"]"},t}(),wn=function(t){function n(){return t.apply(this,arguments)||this}h(n,t);var e=n.prototype;return e.isFixedOffset=function(){return!1},e.offsetOfInstant=function(t){var n=new Date(t.toEpochMilli()).getTimezoneOffset();return Q.ofTotalMinutes(-1*n)},e.offsetOfEpochMilli=function(t){var n=new Date(t).getTimezoneOffset();return Q.ofTotalMinutes(-1*n)},e.offsetOfLocalDateTime=function(t){var n=1e3*t.toEpochSecond(Q.UTC),e=new Date(n).getTimezoneOffset(),r=new Date(n+6e4*e).getTimezoneOffset();return Q.ofTotalMinutes(-1*r)},e.validOffsets=function(t){return[this.offsetOfLocalDateTime(t)]},e.transition=function(){return null},e.standardOffset=function(t){return this.offsetOfInstant(t)},e.daylightSavings=function(){this._throwNotSupported()},e.isDaylightSavings=function(){this._throwNotSupported()},e.isValidOffset=function(t,n){return this.offsetOfLocalDateTime(t).equals(n)},e.nextTransition=function(){this._throwNotSupported()},e.previousTransition=function(){this._throwNotSupported()},e.transitions=function(){this._throwNotSupported()},e.transitionRules=function(){this._throwNotSupported()},e._throwNotSupported=function(){throw new i("not supported operation")},e.equals=function(t){return this===t||t instanceof n},e.toString=function(){return"SYSTEM"},n}(X),yn=function(t){function n(){var n;return(n=t.call(this)||this)._rules=new wn,n}h(n,t);var e=n.prototype;return e.rules=function(){return this._rules},e.equals=function(t){return this===t},e.id=function(){return"SYSTEM"},n}(Y),xn=function(){function t(){}return t.systemDefault=function(){return kn},t.getAvailableZoneIds=function(){return Lt.getAvailableZoneIds()},t.of=function(t){if(p(t,"zoneId"),"Z"===t)return Q.UTC;if(1===t.length)throw new i("Invalid zone: "+t);if(G.startsWith(t,"+")||G.startsWith(t,"-"))return Q.of(t);if("UTC"===t||"GMT"===t||"GMT0"===t||"UT"===t)return new Dt(t,Q.UTC.rules());if(G.startsWith(t,"UTC+")||G.startsWith(t,"GMT+")||G.startsWith(t,"UTC-")||G.startsWith(t,"GMT-")){var n=Q.of(t.substring(3));return 0===n.totalSeconds()?new Dt(t.substring(0,3),n.rules()):new Dt(t.substring(0,3)+n.id(),n.rules())}if(G.startsWith(t,"UT+")||G.startsWith(t,"UT-")){var e=Q.of(t.substring(2));return 0===e.totalSeconds()?new Dt("UT",e.rules()):new Dt("UT"+e.id(),e.rules())}return"SYSTEM"===t?Y.systemDefault():Dt.ofId(t)},t.ofOffset=function(t,n){if(p(t,"prefix"),p(n,"offset"),0===t.length)return n;if("GMT"===t||"UTC"===t||"UT"===t)return 0===n.totalSeconds()?new Dt(t,n.rules()):new Dt(t+n.id(),n.rules());throw new u("Invalid prefix, must be GMT, UTC or UT: "+t)},t.from=function(t){p(t,"temporal");var n=t.query(z.zone());if(null==n)throw new i("Unable to obtain ZoneId from TemporalAccessor: "+t+", type "+(null!=t.constructor?t.constructor.name:""));return n},t}(),kn=null,Sn=!1;Sn||(Sn=!0,A.MIN_VALUE=-999999,A.MAX_VALUE=999999,S.ZERO=new S(0,0),C.NANOS=new C("Nanos",S.ofNanos(1)),C.MICROS=new C("Micros",S.ofNanos(1e3)),C.MILLIS=new C("Millis",S.ofNanos(1e6)),C.SECONDS=new C("Seconds",S.ofSeconds(1)),C.MINUTES=new C("Minutes",S.ofSeconds(60)),C.HOURS=new C("Hours",S.ofSeconds(3600)),C.HALF_DAYS=new C("HalfDays",S.ofSeconds(43200)),C.DAYS=new C("Days",S.ofSeconds(86400)),C.WEEKS=new C("Weeks",S.ofSeconds(604800)),C.MONTHS=new C("Months",S.ofSeconds(2629746)),C.YEARS=new C("Years",S.ofSeconds(31556952)),C.DECADES=new C("Decades",S.ofSeconds(315569520)),C.CENTURIES=new C("Centuries",S.ofSeconds(3155695200)),C.MILLENNIA=new C("Millennia",S.ofSeconds(31556952e3)),C.ERAS=new C("Eras",S.ofSeconds(31556952*(A.MAX_VALUE+1))),C.FOREVER=new C("Forever",S.ofSeconds(w.MAX_SAFE_INTEGER,999999999)),$.NANO_OF_SECOND=new $("NanoOfSecond",C.NANOS,C.SECONDS,M.of(0,999999999)),$.NANO_OF_DAY=new $("NanoOfDay",C.NANOS,C.DAYS,M.of(0,86399999999999)),$.MICRO_OF_SECOND=new $("MicroOfSecond",C.MICROS,C.SECONDS,M.of(0,999999)),$.MICRO_OF_DAY=new $("MicroOfDay",C.MICROS,C.DAYS,M.of(0,86399999999)),$.MILLI_OF_SECOND=new $("MilliOfSecond",C.MILLIS,C.SECONDS,M.of(0,999)),$.MILLI_OF_DAY=new $("MilliOfDay",C.MILLIS,C.DAYS,M.of(0,86399999)),$.SECOND_OF_MINUTE=new $("SecondOfMinute",C.SECONDS,C.MINUTES,M.of(0,59)),$.SECOND_OF_DAY=new $("SecondOfDay",C.SECONDS,C.DAYS,M.of(0,86399)),$.MINUTE_OF_HOUR=new $("MinuteOfHour",C.MINUTES,C.HOURS,M.of(0,59)),$.MINUTE_OF_DAY=new $("MinuteOfDay",C.MINUTES,C.DAYS,M.of(0,1439)),$.HOUR_OF_AMPM=new $("HourOfAmPm",C.HOURS,C.HALF_DAYS,M.of(0,11)),$.CLOCK_HOUR_OF_AMPM=new $("ClockHourOfAmPm",C.HOURS,C.HALF_DAYS,M.of(1,12)),$.HOUR_OF_DAY=new $("HourOfDay",C.HOURS,C.DAYS,M.of(0,23)),$.CLOCK_HOUR_OF_DAY=new $("ClockHourOfDay",C.HOURS,C.DAYS,M.of(1,24)),$.AMPM_OF_DAY=new $("AmPmOfDay",C.HALF_DAYS,C.DAYS,M.of(0,1)),$.DAY_OF_WEEK=new $("DayOfWeek",C.DAYS,C.WEEKS,M.of(1,7)),$.ALIGNED_DAY_OF_WEEK_IN_MONTH=new $("AlignedDayOfWeekInMonth",C.DAYS,C.WEEKS,M.of(1,7)),$.ALIGNED_DAY_OF_WEEK_IN_YEAR=new $("AlignedDayOfWeekInYear",C.DAYS,C.WEEKS,M.of(1,7)),$.DAY_OF_MONTH=new $("DayOfMonth",C.DAYS,C.MONTHS,M.of(1,28,31),"day"),$.DAY_OF_YEAR=new $("DayOfYear",C.DAYS,C.YEARS,M.of(1,365,366)),$.EPOCH_DAY=new $("EpochDay",C.DAYS,C.FOREVER,M.of(Math.floor(365.25*A.MIN_VALUE),Math.floor(365.25*A.MAX_VALUE))),$.ALIGNED_WEEK_OF_MONTH=new $("AlignedWeekOfMonth",C.WEEKS,C.MONTHS,M.of(1,4,5)),$.ALIGNED_WEEK_OF_YEAR=new $("AlignedWeekOfYear",C.WEEKS,C.YEARS,M.of(1,53)),$.MONTH_OF_YEAR=new $("MonthOfYear",C.MONTHS,C.YEARS,M.of(1,12),"month"),$.PROLEPTIC_MONTH=new $("ProlepticMonth",C.MONTHS,C.FOREVER,M.of(12*A.MIN_VALUE,12*A.MAX_VALUE+11)),$.YEAR_OF_ERA=new $("YearOfEra",C.YEARS,C.FOREVER,M.of(1,A.MAX_VALUE,A.MAX_VALUE+1)),$.YEAR=new $("Year",C.YEARS,C.FOREVER,M.of(A.MIN_VALUE,A.MAX_VALUE),"year"),$.ERA=new $("Era",C.ERAS,C.FOREVER,M.of(0,1)),$.INSTANT_SECONDS=new $("InstantSeconds",C.SECONDS,C.FOREVER,M.of(b,g)),$.OFFSET_SECONDS=new $("OffsetSeconds",C.SECONDS,C.FOREVER,M.of(-64800,64800)),function(){fn.HOURS=[];for(var t=0;t<24;t++)fn.of(t,0,0,0);fn.MIN=fn.HOURS[0],fn.MAX=new fn(23,59,59,999999999),fn.MIDNIGHT=fn.HOURS[0],fn.NOON=fn.HOURS[12],fn.FROM=j("LocalTime.FROM",(function(t){return fn.from(t)}))}(),ft=new at,dt=new ut,pt=new ct,_t=new lt,mt=new ht("WeekBasedYears",S.ofSeconds(31556952)),vt=new ht("QuarterYears",S.ofSeconds(7889238)),it.DAY_OF_QUARTER=ft,it.QUARTER_OF_YEAR=dt,it.WEEK_OF_WEEK_BASED_YEAR=pt,it.WEEK_BASED_YEAR=_t,it.WEEK_BASED_YEARS=mt,it.QUARTER_YEARS=vt,cn.prototype.isoWeekOfWeekyear=function(){return this.get(it.WEEK_OF_WEEK_BASED_YEAR)},cn.prototype.isoWeekyear=function(){return this.get(it.WEEK_BASED_YEAR)},z.ZONE_ID=j("ZONE_ID",(function(t){return t.query(z.ZONE_ID)})),z.CHRONO=j("CHRONO",(function(t){return t.query(z.CHRONO)})),z.PRECISION=j("PRECISION",(function(t){return t.query(z.PRECISION)})),z.OFFSET=j("OFFSET",(function(t){return t.isSupported($.OFFSET_SECONDS)?Q.ofTotalSeconds(t.get($.OFFSET_SECONDS)):null})),z.ZONE=j("ZONE",(function(t){var n=t.query(z.ZONE_ID);return null!=n?n:t.query(z.OFFSET)})),z.LOCAL_DATE=j("LOCAL_DATE",(function(t){return t.isSupported($.EPOCH_DAY)?cn.ofEpochDay(t.getLong($.EPOCH_DAY)):null})),z.LOCAL_TIME=j("LOCAL_TIME",(function(t){return t.isSupported($.NANO_OF_DAY)?fn.ofNanoOfDay(t.getLong($.NANO_OF_DAY)):null})),D.MONDAY=new D(0,"MONDAY"),D.TUESDAY=new D(1,"TUESDAY"),D.WEDNESDAY=new D(2,"WEDNESDAY"),D.THURSDAY=new D(3,"THURSDAY"),D.FRIDAY=new D(4,"FRIDAY"),D.SATURDAY=new D(5,"SATURDAY"),D.SUNDAY=new D(6,"SUNDAY"),D.FROM=j("DayOfWeek.FROM",(function(t){return D.from(t)})),R=[D.MONDAY,D.TUESDAY,D.WEDNESDAY,D.THURSDAY,D.FRIDAY,D.SATURDAY,D.SUNDAY],pn.MIN_SECONDS=-31619119219200,pn.MAX_SECONDS=31494816403199,pn.EPOCH=new pn(0,0),pn.MIN=pn.ofEpochSecond(pn.MIN_SECONDS,0),pn.MAX=pn.ofEpochSecond(pn.MAX_SECONDS,999999999),pn.FROM=j("Instant.FROM",(function(t){return pn.from(t)})),cn.MIN=cn.of(A.MIN_VALUE,1,1),cn.MAX=cn.of(A.MAX_VALUE,12,31),cn.EPOCH_0=cn.ofEpochDay(0),cn.FROM=j("LocalDate.FROM",(function(t){return cn.from(t)})),hn.MIN=hn.of(cn.MIN,fn.MIN),hn.MAX=hn.of(cn.MAX,fn.MAX),hn.FROM=j("LocalDateTime.FROM",(function(t){return hn.from(t)})),Kt.MIN_VALUE=A.MIN_VALUE,Kt.MAX_VALUE=A.MAX_VALUE,jt=(new Bt).appendValue($.YEAR,4,10,bt.EXCEEDS_PAD).toFormatter(),Kt.FROM=j("Year.FROM",(function(t){return Kt.from(t)})),P.JANUARY=new P(1,"JANUARY"),P.FEBRUARY=new P(2,"FEBRUARY"),P.MARCH=new P(3,"MARCH"),P.APRIL=new P(4,"APRIL"),P.MAY=new P(5,"MAY"),P.JUNE=new P(6,"JUNE"),P.JULY=new P(7,"JULY"),P.AUGUST=new P(8,"AUGUST"),P.SEPTEMBER=new P(9,"SEPTEMBER"),P.OCTOBER=new P(10,"OCTOBER"),P.NOVEMBER=new P(11,"NOVEMBER"),P.DECEMBER=new P(12,"DECEMBER"),L=[P.JANUARY,P.FEBRUARY,P.MARCH,P.APRIL,P.MAY,P.JUNE,P.JULY,P.AUGUST,P.SEPTEMBER,P.OCTOBER,P.NOVEMBER,P.DECEMBER],Ot=(new Bt).appendValue($.YEAR,4,10,bt.EXCEEDS_PAD).appendLiteral("-").appendValue($.MONTH_OF_YEAR,2).toFormatter(),Xt.FROM=j("YearMonth.FROM",(function(t){return Xt.from(t)})),Tt=(new Bt).appendLiteral("--").appendValue($.MONTH_OF_YEAR,2).appendLiteral("-").appendValue($.DAY_OF_MONTH,2).toFormatter(),Yt.FROM=j("MonthDay.FROM",(function(t){return Yt.from(t)})),q.ofDays(0),Q.MAX_SECONDS=18*fn.SECONDS_PER_HOUR,Q.UTC=Q.ofTotalSeconds(0),Q.MIN=Q.ofTotalSeconds(-Q.MAX_SECONDS),Q.MAX=Q.ofTotalSeconds(Q.MAX_SECONDS),on.FROM=j("ZonedDateTime.FROM",(function(t){return on.from(t)})),kn=new yn,Y.systemDefault=xn.systemDefault,Y.getAvailableZoneIds=xn.getAvailableZoneIds,Y.of=xn.of,Y.ofOffset=xn.ofOffset,Y.from=xn.from,Q.from=xn.from,Y.SYSTEM=kn,Y.UTC=Q.ofTotalSeconds(0),nn.INSTANCE=new nn("IsoChronology"),Gt.ISO_LOCAL_DATE=(new Bt).appendValue($.YEAR,4,10,bt.EXCEEDS_PAD).appendLiteral("-").appendValue($.MONTH_OF_YEAR,2).appendLiteral("-").appendValue($.DAY_OF_MONTH,2).toFormatter(B.STRICT).withChronology(nn.INSTANCE),Gt.ISO_LOCAL_TIME=(new Bt).appendValue($.HOUR_OF_DAY,2).appendLiteral(":").appendValue($.MINUTE_OF_HOUR,2).optionalStart().appendLiteral(":").appendValue($.SECOND_OF_MINUTE,2).optionalStart().appendFraction($.NANO_OF_SECOND,0,9,!0).toFormatter(B.STRICT),Gt.ISO_LOCAL_DATE_TIME=(new Bt).parseCaseInsensitive().append(Gt.ISO_LOCAL_DATE).appendLiteral("T").append(Gt.ISO_LOCAL_TIME).toFormatter(B.STRICT).withChronology(nn.INSTANCE),Gt.ISO_INSTANT=(new Bt).parseCaseInsensitive().appendInstant().toFormatter(B.STRICT),Gt.ISO_OFFSET_DATE_TIME=(new Bt).parseCaseInsensitive().append(Gt.ISO_LOCAL_DATE_TIME).appendOffsetId().toFormatter(B.STRICT).withChronology(nn.INSTANCE),Gt.ISO_ZONED_DATE_TIME=(new Bt).append(Gt.ISO_OFFSET_DATE_TIME).optionalStart().appendLiteral("[").parseCaseSensitive().appendZoneId().appendLiteral("]").toFormatter(B.STRICT).withChronology(nn.INSTANCE),Gt.BASIC_ISO_DATE=(new Bt).appendValue($.YEAR,4,10,bt.EXCEEDS_PAD).appendValue($.MONTH_OF_YEAR,2).appendValue($.DAY_OF_MONTH,2).toFormatter(B.STRICT).withChronology(nn.INSTANCE),Gt.ISO_OFFSET_DATE=(new Bt).parseCaseInsensitive().append(Gt.ISO_LOCAL_DATE).appendOffsetId().toFormatter(B.STRICT).withChronology(nn.INSTANCE),Gt.ISO_OFFSET_TIME=(new Bt).parseCaseInsensitive().append(Gt.ISO_LOCAL_TIME).appendOffsetId().toFormatter(B.STRICT).withChronology(nn.INSTANCE),Gt.ISO_ORDINAL_DATE=(new Bt).appendValue($.YEAR,4,10,bt.EXCEEDS_PAD).appendLiteral("-").appendValue($.DAY_OF_YEAR).toFormatter(B.STRICT),Gt.ISO_WEEK_DATE=(new Bt).appendValue($.YEAR,4,10,bt.EXCEEDS_PAD).appendLiteral("-W").appendValue($.ALIGNED_WEEK_OF_YEAR).appendLiteral("-").appendValue($.DAY_OF_WEEK).toFormatter(B.STRICT),Gt.PARSED_EXCESS_DAYS=j("PARSED_EXCESS_DAYS",(function(t){return t instanceof tt?t.excessDays:q.ZERO})),Gt.PARSED_LEAP_SECOND=j("PARSED_LEAP_SECOND",(function(t){return t instanceof tt&&t.leapSecond})),Ct.BASE_DATE=cn.of(2e3,1,1),Bt.CompositePrinterParser=xt,Bt.PadPrinterParserDecorator=$t,Bt.SettingsParser=zt,Bt.CharLiteralPrinterParser=Rt,Bt.StringLiteralPrinterParser=Rt,Bt.CharLiteralPrinterParser=yt,Bt.NumberPrinterParser=At,Bt.ReducedPrinterParser=Ct,Bt.FractionPrinterParser=kt,Bt.OffsetIdPrinterParser=Mt,Bt.ZoneIdPrinterParser=Pt,sn.MIN=hn.MIN.atOffset(Q.MAX),sn.MAX=hn.MAX.atOffset(Q.MIN),sn.FROM=j("OffsetDateTime.FROM",(function(t){return sn.from(t)})),en.MIN=en.ofNumbers(0,0,0,0,Q.MAX),en.MAX=en.ofNumbers(23,59,59,999999999,Q.MIN),en.FROM=j("OffsetTime.FROM",(function(t){return en.from(t)})));var An=function(){function t(t,n){var e;if(t instanceof cn)n=null==n?Y.systemDefault():n,e=t.atStartOfDay(n);else if(t instanceof hn)n=null==n?Y.systemDefault():n,e=t.atZone(n);else{if(!(t instanceof on))throw new u("unsupported instance for convert operation:"+t);e=null==n?t:t.withZoneSameInstant(n)}this.instant=e.toInstant()}var n=t.prototype;return n.toDate=function(){return new Date(this.instant.toEpochMilli())},n.toEpochMilli=function(){return this.instant.toEpochMilli()},t}();function Cn(t,n){return new An(t,n)}var En=function(t){function n(n,e){var r;return void 0===e&&(e=Y.systemDefault()),(r=t.call(this)||this)._zone=e,n instanceof Date?(r._epochMilli=n.getTime(),f(r)):"function"==typeof n.toDate&&n.toDate()instanceof Date?(r._epochMilli=n.toDate().getTime(),f(r)):(d(!1,"date must be either a javascript date or a moment"),r)}h(n,t);var e=n.prototype;return e.query=function(n){return p(n,"query"),n===z.localDate()?cn.ofInstant(pn.ofEpochMilli(this._epochMilli),this._zone):n===z.localTime()?fn.ofInstant(pn.ofEpochMilli(this._epochMilli),this._zone):n===z.zone()?this._zone:t.prototype.query.call(this,n)},e.get=function(t){return this.getLong(t)},e.getLong=function(t){if(p(t,"field"),t instanceof $){switch(t){case $.NANO_OF_SECOND:return 1e6*w.floorMod(this._epochMilli,1e3);case $.INSTANT_SECONDS:return w.floorDiv(this._epochMilli,1e3)}throw new s("Unsupported field: "+t)}return t.getFrom(this)},e.isSupported=function(t){return t===$.INSTANT_SECONDS||t===$.NANO_OF_SECOND},n}(T);function Mn(t,n){return new En(t,n)}var $n,zn,Tn={assert:v,DateTimeBuilder:tt,DateTimeParseContext:nt,DateTimePrintContext:rt,MathUtil:w,StringUtil:G,StringBuilder:Wt},On={_:Tn,convert:Cn,nativeJs:Mn,ArithmeticException:a,DateTimeException:i,DateTimeParseException:o,IllegalArgumentException:u,IllegalStateException:c,UnsupportedTemporalTypeException:s,NullPointerException:l,Clock:_n,DayOfWeek:D,Duration:S,Instant:pn,LocalDate:cn,LocalTime:fn,LocalDateTime:hn,OffsetTime:en,OffsetDateTime:sn,Month:P,MonthDay:Yt,Period:q,Year:Kt,YearConstants:A,YearMonth:Xt,ZonedDateTime:on,ZoneOffset:Q,ZoneId:Y,ZoneRegion:Dt,ZoneOffsetTransition:bn,ZoneRules:X,ZoneRulesProvider:Lt,ChronoLocalDate:W,ChronoLocalDateTime:ln,ChronoZonedDateTime:rn,IsoChronology:nn,ChronoField:$,ChronoUnit:C,IsoFields:it,Temporal:H,TemporalAccessor:T,TemporalAdjuster:U,TemporalAdjusters:Zt,TemporalAmount:x,TemporalField:E,TemporalQueries:z,TemporalQuery:O,TemporalUnit:k,ValueRange:M,DateTimeFormatter:Gt,DateTimeFormatterBuilder:Bt,DecimalStyle:gt,ResolverStyle:B,SignStyle:bt,TextStyle:wt},jn=($n=On,zn=[],function(t){return~zn.indexOf(t)||(t($n),zn.push(t)),$n});On.use=jn},50245:(t,n,e)=>{"use strict";e.r(n),e.d(n,{Portal:()=>c});var r=e(7552),i=e(28485),o=e(24979),s=e(94921),a=e(52357),u=e(69500);const c=r.forwardRef((function(t,n){const{children:e,container:c,disablePortal:l=!1}=t,[h,f]=r.useState(null),d=(0,o.A)(r.isValidElement(e)?e.ref:null,n);if((0,s.A)((()=>{l||f(function(t){return"function"==typeof t?t():t}(c)||document.body)}),[c,l]),(0,s.A)((()=>{if(h&&!l)return(0,a.A)(n,h),()=>{(0,a.A)(n,null)}}),[n,h,l]),l){if(r.isValidElement(e)){const t={ref:d};return r.cloneElement(e,t)}return(0,u.jsx)(r.Fragment,{children:e})}return(0,u.jsx)(r.Fragment,{children:h?i.createPortal(e,h):h})}))},57610:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add")},70518:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"AddCircleOutline")},9023:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"}),"ArrowBack")},54442:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8z"}),"ArrowDownward")},17411:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}),"ArrowForward")},26739:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8z"}),"ArrowUpward")},32775:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-5 14H7v-2h7zm3-4H7v-2h10zm0-4H7V7h10z"}),"Article")},15898:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M19 12h-2v3h-3v2h5zM7 9h3V7H5v5h2zm14-6H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 16.01H3V4.99h18z"}),"AspectRatio")},1045:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M11 17c0 .55.45 1 1 1s1-.45 1-1-.45-1-1-1-1 .45-1 1m0-14v4h2V5.08c3.39.49 6 3.39 6 6.92 0 3.87-3.13 7-7 7s-7-3.13-7-7c0-1.68.59-3.22 1.58-4.42L12 13l1.41-1.41-6.8-6.8v.02C4.42 6.45 3 9.05 3 12c0 4.97 4.02 9 9 9 4.97 0 9-4.03 9-9s-4.03-9-9-9zm7 9c0-.55-.45-1-1-1s-1 .45-1 1 .45 1 1 1 1-.45 1-1M6 12c0 .55.45 1 1 1s1-.45 1-1-.45-1-1-1-1 .45-1 1"}),"AvTimer")},76003:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"m19 8-4 4h3c0 3.31-2.69 6-6 6-1.01 0-1.97-.25-2.8-.7l-1.46 1.46C8.97 19.54 10.43 20 12 20c4.42 0 8-3.58 8-8h3zM6 12c0-3.31 2.69-6 6-6 1.01 0 1.97.25 2.8.7l1.46-1.46C15.03 4.46 13.57 4 12 4c-4.42 0-8 3.58-8 8H1l4 4 4-4z"}),"Cached")},67179:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M1 18v3h3c0-1.66-1.34-3-3-3m0-4v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7m18-7H5v1.63c3.96 1.28 7.09 4.41 8.37 8.37H19zM1 10v2c4.97 0 9 4.03 9 9h2c0-6.08-4.93-11-11-11m20-7H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2"}),"CastConnected")},92543:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"ChevronLeft")},65694:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"ChevronRight")},84313:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{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"}),"Close")},44792:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M17 13l-5 5-5-5h3V9h4v4z"}),"CloudDownload")},64548:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M9.4 16.6 4.8 12l4.6-4.6L8 6l-6 6 6 6zm5.2 0 4.6-4.6-4.6-4.6L16 6l6 6-6 6z"}),"Code")},22802:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M19 5H5c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 12H5V7h14z"}),"CropLandscape")},21685:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M3 13h8V3H3zm0 8h8v-6H3zm10 0h8V11h-8zm0-18v6h8V3z"}),"Dashboard")},78126:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"}),"Delete")},5284:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M7 5h10v2h2V3c0-1.1-.9-1.99-2-1.99L7 1c-1.1 0-2 .9-2 2v4h2zm8.41 11.59L20 12l-4.59-4.59L14 8.83 17.17 12 14 15.17zM10 15.17 6.83 12 10 8.83 8.59 7.41 4 12l4.59 4.59zM17 19H7v-2H5v4c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2v-4h-2z"}),"DeveloperMode")},52662:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)([(0,o.jsx)("path",{d:"M20 3H4c-1.11 0-2 .89-2 2v12c0 1.1.89 2 2 2h4v2h8v-2h4c1.1 0 2-.9 2-2V5c0-1.11-.9-2-2-2m0 14H4V5h16z"},"0"),(0,o.jsx)("path",{d:"M6 8.25h8v1.5H6zm10.5 1.5H18v-1.5h-1.5V7H15v4h1.5zm-6.5 2.5h8v1.5h-8zM7.5 15H9v-4H7.5v1.25H6v1.5h1.5z"},"1")],"DisplaySettings")},31581:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M5 20h14v-2H5zM19 9h-4V3H9v6H5l7 7z"}),"Download")},78766:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2m-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}),"DragIndicator")},1937:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.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.75z"}),"Edit")},89753:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M10 20h4V4h-4zm-6 0h4v-8H4zM16 9v11h4V9z"}),"Equalizer")},65091:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z"}),"Error")},6212:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore")},99042:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm-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-2zm-1 7h5.5L14 6.5z"}),"FileCopy")},93070:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M9 16h6v-6h4l-7-7-7 7h4zm-4 2h14v2H5z"}),"FileUpload")},15451:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 16-7-8v8H5l7-8V5h7z"}),"FilterBAndW")},25541:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8z"}),"Folder")},63948:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M7 14H5v5h5v-2H7zm-2-4h2V7h3V5H5zm12 7h-3v2h5v-5h-2zM14 5v2h3v3h2V5z"}),"Fullscreen")},32316:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M5 16h3v3h2v-5H5zm3-8H5v2h5V5H8zm6 11h2v-3h3v-2h-5zm2-11V5h-2v5h5V8z"}),"FullscreenExit")},29494:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M11 18h2v-2h-2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4"}),"HelpOutline")},19156:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{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-2M8.5 13.5l2.5 3.01L14.5 12l4.5 6H5z"}),"Image")},23989:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-6h2zm0-8h-2V7h2z"}),"Info")},92561:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M21 3.01H3c-1.1 0-2 .9-2 2V9h2V4.99h18v14.03H3V15H1v4.01c0 1.1.9 1.98 2 1.98h18c1.1 0 2-.88 2-1.98v-14c0-1.11-.9-2-2-2M11 16l4-4-4-4v3H1v2h10z"}),"Input")},25460:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm7 7V3.5L18.5 9z"}),"InsertDriveFile")},94289:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6z"}),"KeyboardArrowRight")},45374:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2m-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2m3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1z"}),"Lock")},25746:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M12 17c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m6-9h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h1.9c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2m0 12H6V10h12z"}),"LockOpen")},62803:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"m20.5 3-.16.03L15 5.1 9 3 3.36 4.9c-.21.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.21-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5M15 19l-6-2.11V5l6 2.11z"}),"Map")},91318:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"}),"Menu")},71006:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M12 14c1.66 0 2.99-1.34 2.99-3L15 5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3 3m5.3-3c0 3-2.54 5.1-5.3 5.1S6.7 14 6.7 11H5c0 3.41 2.72 6.23 6 6.72V21h2v-3.28c3.28-.48 6-3.3 6-6.72z"}),"Mic")},63408:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}),"MoreHoriz")},30922:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M12 3v10.55c-.59-.34-1.27-.55-2-.55-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4V7h4V3z"}),"MusicNote")},60703:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.42 0-8-3.58-8-8 0-1.85.63-3.55 1.69-4.9L16.9 18.31C15.55 19.37 13.85 20 12 20m6.31-3.1L7.1 5.69C8.45 4.63 10.15 4 12 4c4.42 0 8 3.58 8 8 0 1.85-.63 3.55-1.69 4.9"}),"NotInterested")},5026:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M18 16v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1zm-5 0h-2v-2h2zm0-4h-2V8h2zm-1 10c1.1 0 2-.9 2-2h-4c0 1.1.89 2 2 2"}),"NotificationImportant")},79324:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M19 4H5c-1.11 0-2 .9-2 2v12c0 1.1.89 2 2 2h4v-2H5V8h14v10h-4v2h4c1.1 0 2-.9 2-2V6c0-1.1-.89-2-2-2m-7 6-4 4h3v6h2v-6h3z"}),"OpenInBrowser")},88766:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M12 2C6.49 2 2 6.49 2 12s4.49 10 10 10c1.38 0 2.5-1.12 2.5-2.5 0-.61-.23-1.2-.64-1.67-.08-.1-.13-.21-.13-.33 0-.28.22-.5.5-.5H16c3.31 0 6-2.69 6-6 0-4.96-4.49-9-10-9m5.5 11c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5m-3-4c-.83 0-1.5-.67-1.5-1.5S13.67 6 14.5 6s1.5.67 1.5 1.5S15.33 9 14.5 9M5 11.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5S7.33 13 6.5 13 5 12.33 5 11.5m6-4c0 .83-.67 1.5-1.5 1.5S8 8.33 8 7.5 8.67 6 9.5 6s1.5.67 1.5 1.5"}),"Palette")},5e3:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M23 5.5V20c0 2.2-1.8 4-4 4h-7.3c-1.08 0-2.1-.43-2.85-1.19L1 14.83s1.26-1.23 1.3-1.25c.22-.19.49-.29.79-.29.22 0 .42.06.6.16.04.01 4.31 2.46 4.31 2.46V4c0-.83.67-1.5 1.5-1.5S11 3.17 11 4v7h1V1.5c0-.83.67-1.5 1.5-1.5S15 .67 15 1.5V11h1V2.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5V11h1V5.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5"}),"PanTool")},7091:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M6 19h4V5H6zm8-14v14h4V5z"}),"Pause")},1598:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M22 16V4c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2m-11-4 2.03 2.71L16 11l4 5H8zM2 6v14c0 1.1.9 2 2 2h14v-2H4V6z"}),"PhotoLibrary")},99438:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M8 5v14l11-7z"}),"PlayArrow")},78762:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M2 9v2h19V9zm0 6h5v-2H2zm7 0h5v-2H9zm7 0h5v-2h-5z"}),"PowerInput")},79173:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M18.4 10.6C16.55 8.99 14.15 8 11.5 8c-4.65 0-8.58 3.03-9.96 7.22L3.9 16c1.05-3.19 4.05-5.5 7.6-5.5 1.95 0 3.73.72 5.12 1.88L13 16h9V7z"}),"Redo")},18355:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M7.11 8.53 5.7 7.11C4.8 8.27 4.24 9.61 4.07 11h2.02c.14-.87.49-1.72 1.02-2.47M6.09 13H4.07c.17 1.39.72 2.73 1.62 3.89l1.41-1.42c-.52-.75-.87-1.59-1.01-2.47m1.01 5.32c1.16.9 2.51 1.44 3.9 1.61V17.9c-.87-.15-1.71-.49-2.46-1.03zM13 4.07V1L8.45 5.55 13 10V6.09c2.84.48 5 2.94 5 5.91s-2.16 5.43-5 5.91v2.02c3.95-.49 7-3.85 7-7.93s-3.05-7.44-7-7.93"}),"RotateLeft")},43962:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M15.55 5.55 11 1v3.07C7.06 4.56 4 7.92 4 12s3.05 7.44 7 7.93v-2.02c-2.84-.48-5-2.94-5-5.91s2.16-5.43 5-5.91V10zM19.93 11c-.17-1.39-.72-2.73-1.62-3.89l-1.42 1.42c.54.75.88 1.6 1.02 2.47zM13 17.9v2.02c1.39-.17 2.74-.71 3.9-1.61l-1.44-1.44c-.75.54-1.59.89-2.46 1.03m3.89-2.42 1.42 1.41c.9-1.16 1.45-2.5 1.62-3.89h-2.02c-.14.87-.48 1.72-1.02 2.48"}),"RotateRight")},50076:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3m3-10H5V5h10z"}),"Save")},66181:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"}),"Search")},27820:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6"}),"Settings")},74983:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M5 2c0-.55-.45-1-1-1s-1 .45-1 1v4H1v6h6V6H5zm4 14c0 1.3.84 2.4 2 2.82V23h2v-4.18c1.16-.41 2-1.51 2-2.82v-2H9zm-8 0c0 1.3.84 2.4 2 2.82V23h2v-4.18C6.16 18.4 7 17.3 7 16v-2H1zM21 6V2c0-.55-.45-1-1-1s-1 .45-1 1v4h-2v6h6V6zm-8-4c0-.55-.45-1-1-1s-1 .45-1 1v4H9v6h6V6h-2zm4 14c0 1.3.84 2.4 2 2.82V23h2v-4.18c1.16-.41 2-1.51 2-2.82v-2h-6z"}),"SettingsInputComponent")},25402:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"m3.5 18.49 6-6.01 4 4L22 6.92l-1.41-1.41-7.09 7.97-4-4L2 16.99z"}),"ShowChart")},30637:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M6 6h12v12H6z"}),"Stop")},59754:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8m0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4z"}),"Sync")},24967:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M7.52 21.48C4.25 19.94 1.91 16.76 1.55 13H.05C.56 19.16 5.71 24 12 24l.66-.03-3.81-3.81zm.89-6.52c-.19 0-.37-.03-.52-.08-.16-.06-.29-.13-.4-.24-.11-.1-.2-.22-.26-.37-.06-.14-.09-.3-.09-.47h-1.3c0 .36.07.68.21.95.14.27.33.5.56.69.24.18.51.32.82.41.3.1.62.15.96.15.37 0 .72-.05 1.03-.15.32-.1.6-.25.83-.44s.42-.43.55-.72c.13-.29.2-.61.2-.97 0-.19-.02-.38-.07-.56-.05-.18-.12-.35-.23-.51-.1-.16-.24-.3-.4-.43-.17-.13-.37-.23-.61-.31.2-.09.37-.2.52-.33.15-.13.27-.27.37-.42.1-.15.17-.3.22-.46.05-.16.07-.32.07-.48 0-.36-.06-.68-.18-.96-.12-.28-.29-.51-.51-.69-.2-.19-.47-.33-.77-.43C9.1 8.05 8.76 8 8.39 8c-.36 0-.69.05-1 .16-.3.11-.57.26-.79.45-.21.19-.38.41-.51.67-.12.26-.18.54-.18.85h1.3c0-.17.03-.32.09-.45s.14-.25.25-.34c.11-.09.23-.17.38-.22.15-.05.3-.08.48-.08.4 0 .7.1.89.31.19.2.29.49.29.86 0 .18-.03.34-.08.49-.05.15-.14.27-.25.37-.11.1-.25.18-.41.24-.16.06-.36.09-.58.09H7.5v1.03h.77c.22 0 .42.02.6.07s.33.13.45.23c.12.11.22.24.29.4.07.16.1.35.1.57 0 .41-.12.72-.35.93-.23.23-.55.33-.95.33m8.55-5.92c-.32-.33-.7-.59-1.14-.77-.43-.18-.92-.27-1.46-.27H12v8h2.3c.55 0 1.06-.09 1.51-.27.45-.18.84-.43 1.16-.76.32-.33.57-.73.74-1.19.17-.47.26-.99.26-1.57v-.4c0-.58-.09-1.1-.26-1.57-.18-.47-.43-.87-.75-1.2m-.39 3.16c0 .42-.05.79-.14 1.13-.1.33-.24.62-.43.85-.19.23-.43.41-.71.53-.29.12-.62.18-.99.18h-.91V9.12h.97c.72 0 1.27.23 1.64.69.38.46.57 1.12.57 1.99zM12 0l-.66.03 3.81 3.81 1.33-1.33c3.27 1.55 5.61 4.72 5.96 8.48h1.5C23.44 4.84 18.29 0 12 0"}),"ThreeDRotation")},72671:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8"}),"Undo")},71188:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M5 20h14v-2H5zm0-10h4v6h6v-6h4l-7-7z"}),"Upload")},65580:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M14.67 5v6.5H9.33V5zm1 6.5H21V5h-5.33zm-1 7.5v-6.5H9.33V19zm1-6.5V19H21v-6.5zm-7.34 0H3V19h5.33zm0-1V5H3v6.5z"}),"ViewModule")},95173:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"}),"Visibility")},99105:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M1 21h22L12 2zm12-3h-2v-2h2zm0-4h-2v-4h2z"}),"Warning")},50253:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)([(0,o.jsx)("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"},"0"),(0,o.jsx)("path",{d:"M12 10h-2v2H9v-2H7V9h2V7h1v2h2z"},"1")],"ZoomIn")},95936:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14M7 9h5v1H7z"}),"ZoomOut")},33380:(t,n,e)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=e(43700)},51132:(t,n,e)=>{"use strict";e.d(n,{A:()=>r});const r=e(7552).createContext({})},35578:(t,n,e)=>{"use strict";e.r(n),e.d(n,{accordionClasses:()=>P,default:()=>N,getAccordionUtilityClass:()=>D});var r=e(83673),i=e(6614),o=e(7552),s=(e(96830),e(93878)),a=e(60827),u=e(51148),c=e(31049),l=e(16157),h=e(31755),f=e(94479),d=e(46302),p=e(48231),_=e(51584),m=e(55549),v=e(9577);function g(t){return(0,v.Ay)("MuiCollapse",t)}(0,m.A)("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);var b=e(69500);const w=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],y=(0,u.Ay)("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,n[e.orientation],"entered"===e.state&&n.entered,"exited"===e.state&&!e.in&&"0px"===e.collapsedSize&&n.hidden]}})((({theme:t,ownerState:n})=>(0,i.A)({height:0,overflow:"hidden",transition:t.transitions.create("height")},"horizontal"===n.orientation&&{height:"auto",width:0,transition:t.transitions.create("width")},"entered"===n.state&&(0,i.A)({height:"auto",overflow:"visible"},"horizontal"===n.orientation&&{width:"auto"}),"exited"===n.state&&!n.in&&"0px"===n.collapsedSize&&{visibility:"hidden"}))),x=(0,u.Ay)("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(t,n)=>n.wrapper})((({ownerState:t})=>(0,i.A)({display:"flex",width:"100%"},"horizontal"===t.orientation&&{width:"auto",height:"100%"}))),k=(0,u.Ay)("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(t,n)=>n.wrapperInner})((({ownerState:t})=>(0,i.A)({width:"100%"},"horizontal"===t.orientation&&{width:"auto",height:"100%"}))),S=o.forwardRef((function(t,n){const e=(0,c.A)({props:t,name:"MuiCollapse"}),{addEndListener:u,children:m,className:v,collapsedSize:S="0px",component:A,easing:C,in:E,onEnter:M,onEntered:$,onEntering:z,onExit:T,onExited:O,onExiting:j,orientation:R="vertical",style:L,timeout:D=f.p0.standard,TransitionComponent:P=l.Ay}=e,I=(0,r.A)(e,w),q=(0,i.A)({},e,{orientation:R,collapsedSize:S}),N=(t=>{const{orientation:n,classes:e}=t,r={root:["root",`${n}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${n}`],wrapperInner:["wrapperInner",`${n}`]};return(0,a.A)(r,g,e)})(q),F=(0,p.default)(),B=(0,h.A)(),U=o.useRef(null),H=o.useRef(),V="number"==typeof S?`${S}px`:S,W="horizontal"===R,G=W?"width":"height",Y=o.useRef(null),X=(0,_.A)(n,Y),K=t=>n=>{if(t){const e=Y.current;void 0===n?t(e):t(e,n)}},Z=()=>U.current?U.current[W?"clientWidth":"clientHeight"]:0,J=K(((t,n)=>{U.current&&W&&(U.current.style.position="absolute"),t.style[G]=V,M&&M(t,n)})),Q=K(((t,n)=>{const e=Z();U.current&&W&&(U.current.style.position="");const{duration:r,easing:i}=(0,d.c)({style:L,timeout:D,easing:C},{mode:"enter"});if("auto"===D){const n=F.transitions.getAutoHeightDuration(e);t.style.transitionDuration=`${n}ms`,H.current=n}else t.style.transitionDuration="string"==typeof r?r:`${r}ms`;t.style[G]=`${e}px`,t.style.transitionTimingFunction=i,z&&z(t,n)})),tt=K(((t,n)=>{t.style[G]="auto",$&&$(t,n)})),nt=K((t=>{t.style[G]=`${Z()}px`,T&&T(t)})),et=K(O),rt=K((t=>{const n=Z(),{duration:e,easing:r}=(0,d.c)({style:L,timeout:D,easing:C},{mode:"exit"});if("auto"===D){const e=F.transitions.getAutoHeightDuration(n);t.style.transitionDuration=`${e}ms`,H.current=e}else t.style.transitionDuration="string"==typeof e?e:`${e}ms`;t.style[G]=V,t.style.transitionTimingFunction=r,j&&j(t)}));return(0,b.jsx)(P,(0,i.A)({in:E,onEnter:J,onEntered:tt,onEntering:Q,onExit:nt,onExited:et,onExiting:rt,addEndListener:t=>{"auto"===D&&B.start(H.current||0,t),u&&u(Y.current,t)},nodeRef:Y,timeout:"auto"===D?null:D},I,{children:(t,n)=>(0,b.jsx)(y,(0,i.A)({as:A,className:(0,s.A)(N.root,v,{entered:N.entered,exited:!E&&"0px"===V&&N.hidden}[t]),style:(0,i.A)({[W?"minWidth":"minHeight"]:V},L),ownerState:(0,i.A)({},q,{state:t}),ref:X},n,{children:(0,b.jsx)(x,{ownerState:(0,i.A)({},q,{state:t}),className:N.wrapper,ref:U,children:(0,b.jsx)(k,{ownerState:(0,i.A)({},q,{state:t}),className:N.wrapperInner,children:m})})}))}))}));S.muiSupportAuto=!0;const A=S;var C=e(83651),E=e(51132),M=e(77259),$=e(24979),z=e(25478),T=e(83408),O=e(29941);const j=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],R=["component","slots","slotProps"],L=["component"];function D(t){return(0,v.Ay)("MuiAccordion",t)}const P=(0,m.A)("MuiAccordion",["root","rounded","expanded","disabled","gutters","region"]),I=["children","className","defaultExpanded","disabled","disableGutters","expanded","onChange","square","slots","slotProps","TransitionComponent","TransitionProps"],q=(0,u.Ay)(C.A,{name:"MuiAccordion",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[{[`& .${P.region}`]:n.region},n.root,!e.square&&n.rounded,!e.disableGutters&&n.gutters]}})((({theme:t})=>{const n={duration:t.transitions.duration.shortest};return{position:"relative",transition:t.transitions.create(["margin"],n),overflowAnchor:"none","&::before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:(t.vars||t).palette.divider,transition:t.transitions.create(["opacity","background-color"],n)},"&:first-of-type":{"&::before":{display:"none"}},[`&.${P.expanded}`]:{"&::before":{opacity:0},"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&::before":{display:"none"}}},[`&.${P.disabled}`]:{backgroundColor:(t.vars||t).palette.action.disabledBackground}}}),(({theme:t,ownerState:n})=>(0,i.A)({},!n.square&&{borderRadius:0,"&:first-of-type":{borderTopLeftRadius:(t.vars||t).shape.borderRadius,borderTopRightRadius:(t.vars||t).shape.borderRadius},"&:last-of-type":{borderBottomLeftRadius:(t.vars||t).shape.borderRadius,borderBottomRightRadius:(t.vars||t).shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}},!n.disableGutters&&{[`&.${P.expanded}`]:{margin:"16px 0"}}))),N=o.forwardRef((function(t,n){const e=(0,c.A)({props:t,name:"MuiAccordion"}),{children:u,className:l,defaultExpanded:h=!1,disabled:f=!1,disableGutters:d=!1,expanded:p,onChange:_,square:m=!1,slots:v={},slotProps:g={},TransitionComponent:w,TransitionProps:y}=e,x=(0,r.A)(e,I),[k,S]=(0,M.A)({controlled:p,default:h,name:"Accordion",state:"expanded"}),C=o.useCallback((t=>{S(!k),_&&_(t,!k)}),[k,_,S]),[P,...N]=o.Children.toArray(u),F=o.useMemo((()=>({expanded:k,disabled:f,disableGutters:d,toggle:C})),[k,f,d,C]),B=(0,i.A)({},e,{square:m,disabled:f,disableGutters:d,expanded:k}),U=(t=>{const{classes:n,square:e,expanded:r,disabled:i,disableGutters:o}=t,s={root:["root",!e&&"rounded",r&&"expanded",i&&"disabled",!o&&"gutters"],region:["region"]};return(0,a.A)(s,D,n)})(B),H=(0,i.A)({transition:w},v),V=(0,i.A)({transition:y},g),[W,G]=function(t,n){const{className:e,elementType:o,ownerState:s,externalForwardedProps:a,getSlotOwnerState:u,internalForwardedProps:c}=n,l=(0,r.A)(n,j),{component:h,slots:f={[t]:void 0},slotProps:d={[t]:void 0}}=a,p=(0,r.A)(a,R),_=f[t]||o,m=(0,z.Y)(d[t],s),v=(0,T.p)((0,i.A)({className:e},l,{externalForwardedProps:"root"===t?p:void 0,externalSlotProps:m})),{props:{component:g},internalRef:b}=v,w=(0,r.A)(v.props,L),y=(0,$.A)(b,null==m?void 0:m.ref,n.ref),x=u?u(w):{},k=(0,i.A)({},s,x),S="root"===t?g||h:g,A=(0,O.X)(_,(0,i.A)({},"root"===t&&!h&&!f[t]&&c,"root"!==t&&!f[t]&&c,w,S&&{as:S},{ref:y}),k);return Object.keys(x).forEach((t=>{delete A[t]})),[_,A]}("transition",{elementType:A,externalForwardedProps:{slots:H,slotProps:V},ownerState:B});return delete G.ownerState,(0,b.jsxs)(q,(0,i.A)({className:(0,s.A)(U.root,l),ref:n,ownerState:B,square:m},x,{children:[(0,b.jsx)(E.A.Provider,{value:F,children:P}),(0,b.jsx)(W,(0,i.A)({in:k,timeout:"auto"},G,{children:(0,b.jsx)("div",{"aria-labelledby":P.props.id,id:P.props["aria-controls"],role:"region",className:U.region,children:N})}))]}))}))},6628:(t,n,e)=>{"use strict";e.r(n),e.d(n,{accordionDetailsClasses:()=>d,default:()=>v,getAccordionDetailsUtilityClass:()=>f});var r=e(6614),i=e(83673),o=e(7552),s=e(93878),a=e(60827),u=e(51148),c=e(31049),l=e(55549),h=e(9577);function f(t){return(0,h.Ay)("MuiAccordionDetails",t)}const d=(0,l.A)("MuiAccordionDetails",["root"]);var p=e(69500);const _=["className"],m=(0,u.Ay)("div",{name:"MuiAccordionDetails",slot:"Root",overridesResolver:(t,n)=>n.root})((({theme:t})=>({padding:t.spacing(1,2,2)}))),v=o.forwardRef((function(t,n){const e=(0,c.A)({props:t,name:"MuiAccordionDetails"}),{className:o}=e,u=(0,i.A)(e,_),l=e,h=(t=>{const{classes:n}=t;return(0,a.A)({root:["root"]},f,n)})(l);return(0,p.jsx)(m,(0,r.A)({className:(0,s.A)(h.root,o),ref:n,ownerState:l},u))}))},14524:(t,n,e)=>{"use strict";e.r(n),e.d(n,{accordionSummaryClasses:()=>_,default:()=>y,getAccordionSummaryUtilityClass:()=>p});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(60827),u=e(51148),c=e(31049),l=e(9108),h=e(51132),f=e(55549),d=e(9577);function p(t){return(0,d.Ay)("MuiAccordionSummary",t)}const _=(0,f.A)("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]);var m=e(69500);const v=["children","className","expandIcon","focusVisibleClassName","onClick"],g=(0,u.Ay)(l.A,{name:"MuiAccordionSummary",slot:"Root",overridesResolver:(t,n)=>n.root})((({theme:t,ownerState:n})=>{const e={duration:t.transitions.duration.shortest};return(0,i.A)({display:"flex",minHeight:48,padding:t.spacing(0,2),transition:t.transitions.create(["min-height","background-color"],e),[`&.${_.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${_.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity},[`&:hover:not(.${_.disabled})`]:{cursor:"pointer"}},!n.disableGutters&&{[`&.${_.expanded}`]:{minHeight:64}})})),b=(0,u.Ay)("div",{name:"MuiAccordionSummary",slot:"Content",overridesResolver:(t,n)=>n.content})((({theme:t,ownerState:n})=>(0,i.A)({display:"flex",flexGrow:1,margin:"12px 0"},!n.disableGutters&&{transition:t.transitions.create(["margin"],{duration:t.transitions.duration.shortest}),[`&.${_.expanded}`]:{margin:"20px 0"}}))),w=(0,u.Ay)("div",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper",overridesResolver:(t,n)=>n.expandIconWrapper})((({theme:t})=>({display:"flex",color:(t.vars||t).palette.action.active,transform:"rotate(0deg)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shortest}),[`&.${_.expanded}`]:{transform:"rotate(180deg)"}}))),y=o.forwardRef((function(t,n){const e=(0,c.A)({props:t,name:"MuiAccordionSummary"}),{children:u,className:l,expandIcon:f,focusVisibleClassName:d,onClick:_}=e,y=(0,r.A)(e,v),{disabled:x=!1,disableGutters:k,expanded:S,toggle:A}=o.useContext(h.A),C=(0,i.A)({},e,{expanded:S,disabled:x,disableGutters:k}),E=(t=>{const{classes:n,expanded:e,disabled:r,disableGutters:i}=t,o={root:["root",e&&"expanded",r&&"disabled",!i&&"gutters"],focusVisible:["focusVisible"],content:["content",e&&"expanded",!i&&"contentGutters"],expandIconWrapper:["expandIconWrapper",e&&"expanded"]};return(0,a.A)(o,p,n)})(C);return(0,m.jsxs)(g,(0,i.A)({focusRipple:!1,disableRipple:!0,disabled:x,component:"div","aria-expanded":S,className:(0,s.A)(E.root,l),focusVisibleClassName:(0,s.A)(E.focusVisible,d),onClick:t=>{A&&A(t),_&&_(t)},ref:n,ownerState:C},y,{children:[(0,m.jsx)(b,{className:E.content,ownerState:C,children:u}),f&&(0,m.jsx)(w,{className:E.expandIconWrapper,ownerState:C,children:f})]}))}))},92479:(t,n,e)=>{"use strict";e.r(n),e.d(n,{alertClasses:()=>m,default:()=>T,getAlertUtilityClass:()=>_});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(60827),u=e(18283),c=e(51148),l=e(31049),h=e(15622),f=e(83651),d=e(55549),p=e(9577);function _(t){return(0,p.Ay)("MuiAlert",t)}const m=(0,d.A)("MuiAlert",["root","action","icon","message","filled","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);var v=e(61723),g=e(74893),b=e(69500);const w=(0,g.A)((0,b.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"),y=(0,g.A)((0,b.jsx)("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),x=(0,g.A)((0,b.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"),k=(0,g.A)((0,b.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"),S=(0,g.A)((0,b.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"),A=["action","children","className","closeText","color","components","componentsProps","icon","iconMapping","onClose","role","severity","slotProps","slots","variant"],C=(0,c.Ay)(f.A,{name:"MuiAlert",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,n[e.variant],n[`${e.variant}${(0,h.A)(e.color||e.severity)}`]]}})((({theme:t,ownerState:n})=>{const e="light"===t.palette.mode?u.e$:u.a,r="light"===t.palette.mode?u.a:u.e$,o=n.color||n.severity;return(0,i.A)({},t.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px"},o&&"standard"===n.variant&&{color:t.vars?t.vars.palette.Alert[`${o}Color`]:e(t.palette[o].light,.6),backgroundColor:t.vars?t.vars.palette.Alert[`${o}StandardBg`]:r(t.palette[o].light,.9),[`& .${m.icon}`]:t.vars?{color:t.vars.palette.Alert[`${o}IconColor`]}:{color:t.palette[o].main}},o&&"outlined"===n.variant&&{color:t.vars?t.vars.palette.Alert[`${o}Color`]:e(t.palette[o].light,.6),border:`1px solid ${(t.vars||t).palette[o].light}`,[`& .${m.icon}`]:t.vars?{color:t.vars.palette.Alert[`${o}IconColor`]}:{color:t.palette[o].main}},o&&"filled"===n.variant&&(0,i.A)({fontWeight:t.typography.fontWeightMedium},t.vars?{color:t.vars.palette.Alert[`${o}FilledColor`],backgroundColor:t.vars.palette.Alert[`${o}FilledBg`]}:{backgroundColor:"dark"===t.palette.mode?t.palette[o].dark:t.palette[o].main,color:t.palette.getContrastText(t.palette[o].main)}))})),E=(0,c.Ay)("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(t,n)=>n.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),M=(0,c.Ay)("div",{name:"MuiAlert",slot:"Message",overridesResolver:(t,n)=>n.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),$=(0,c.Ay)("div",{name:"MuiAlert",slot:"Action",overridesResolver:(t,n)=>n.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),z={success:(0,b.jsx)(w,{fontSize:"inherit"}),warning:(0,b.jsx)(y,{fontSize:"inherit"}),error:(0,b.jsx)(x,{fontSize:"inherit"}),info:(0,b.jsx)(k,{fontSize:"inherit"})},T=o.forwardRef((function(t,n){var e,o,u,c,f,d;const p=(0,l.A)({props:t,name:"MuiAlert"}),{action:m,children:g,className:w,closeText:y="Close",color:x,components:k={},componentsProps:T={},icon:O,iconMapping:j=z,onClose:R,role:L="alert",severity:D="success",slotProps:P={},slots:I={},variant:q="standard"}=p,N=(0,r.A)(p,A),F=(0,i.A)({},p,{color:x,severity:D,variant:q}),B=(t=>{const{variant:n,color:e,severity:r,classes:i}=t,o={root:["root",`${n}${(0,h.A)(e||r)}`,`${n}`],icon:["icon"],message:["message"],action:["action"]};return(0,a.A)(o,_,i)})(F),U=null!=(e=null!=(o=I.closeButton)?o:k.CloseButton)?e:v.A,H=null!=(u=null!=(c=I.closeIcon)?c:k.CloseIcon)?u:S,V=null!=(f=P.closeButton)?f:T.closeButton,W=null!=(d=P.closeIcon)?d:T.closeIcon;return(0,b.jsxs)(C,(0,i.A)({role:L,elevation:0,ownerState:F,className:(0,s.A)(B.root,w),ref:n},N,{children:[!1!==O?(0,b.jsx)(E,{ownerState:F,className:B.icon,children:O||j[D]||z[D]}):null,(0,b.jsx)(M,{ownerState:F,className:B.message,children:g}),null!=m?(0,b.jsx)($,{ownerState:F,className:B.action,children:m}):null,null==m&&R?(0,b.jsx)($,{ownerState:F,className:B.action,children:(0,b.jsx)(U,(0,i.A)({size:"small","aria-label":y,title:y,color:"inherit",onClick:R},V,{children:(0,b.jsx)(H,(0,i.A)({fontSize:"small"},W))}))}):null]}))}))},27418:(t,n,e)=>{"use strict";e.r(n),e.d(n,{alertTitleClasses:()=>p,default:()=>g,getAlertTitleUtilityClass:()=>d});var r=e(6614),i=e(83673),o=e(7552),s=e(93878),a=e(60827),u=e(51148),c=e(31049),l=e(36715),h=e(55549),f=e(9577);function d(t){return(0,f.Ay)("MuiAlertTitle",t)}const p=(0,h.A)("MuiAlertTitle",["root"]);var _=e(69500);const m=["className"],v=(0,u.Ay)(l.A,{name:"MuiAlertTitle",slot:"Root",overridesResolver:(t,n)=>n.root})((({theme:t})=>({fontWeight:t.typography.fontWeightMedium,marginTop:-2}))),g=o.forwardRef((function(t,n){const e=(0,c.A)({props:t,name:"MuiAlertTitle"}),{className:o}=e,u=(0,i.A)(e,m),l=e,h=(t=>{const{classes:n}=t;return(0,a.A)({root:["root"]},d,n)})(l);return(0,_.jsx)(v,(0,r.A)({gutterBottom:!0,component:"div",ownerState:l,ref:n,className:(0,s.A)(h.root,o)},u))}))},29775:(t,n,e)=>{"use strict";e.r(n),e.d(n,{appBarClasses:()=>_,default:()=>w,getAppBarUtilityClass:()=>p});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(60827),u=e(51148),c=e(31049),l=e(15622),h=e(83651),f=e(55549),d=e(9577);function p(t){return(0,d.Ay)("MuiAppBar",t)}const _=(0,f.A)("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);var m=e(69500);const v=["className","color","enableColorOnDark","position"],g=(t,n)=>t?`${null==t?void 0:t.replace(")","")}, ${n})`:n,b=(0,u.Ay)(h.A,{name:"MuiAppBar",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,n[`position${(0,l.A)(e.position)}`],n[`color${(0,l.A)(e.color)}`]]}})((({theme:t,ownerState:n})=>{const e="light"===t.palette.mode?t.palette.grey[100]:t.palette.grey[900];return(0,i.A)({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},"fixed"===n.position&&{position:"fixed",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},"absolute"===n.position&&{position:"absolute",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0},"sticky"===n.position&&{position:"sticky",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0},"static"===n.position&&{position:"static"},"relative"===n.position&&{position:"relative"},!t.vars&&(0,i.A)({},"default"===n.color&&{backgroundColor:e,color:t.palette.getContrastText(e)},n.color&&"default"!==n.color&&"inherit"!==n.color&&"transparent"!==n.color&&{backgroundColor:t.palette[n.color].main,color:t.palette[n.color].contrastText},"inherit"===n.color&&{color:"inherit"},"dark"===t.palette.mode&&!n.enableColorOnDark&&{backgroundColor:null,color:null},"transparent"===n.color&&(0,i.A)({backgroundColor:"transparent",color:"inherit"},"dark"===t.palette.mode&&{backgroundImage:"none"})),t.vars&&(0,i.A)({},"default"===n.color&&{"--AppBar-background":n.enableColorOnDark?t.vars.palette.AppBar.defaultBg:g(t.vars.palette.AppBar.darkBg,t.vars.palette.AppBar.defaultBg),"--AppBar-color":n.enableColorOnDark?t.vars.palette.text.primary:g(t.vars.palette.AppBar.darkColor,t.vars.palette.text.primary)},n.color&&!n.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":n.enableColorOnDark?t.vars.palette[n.color].main:g(t.vars.palette.AppBar.darkBg,t.vars.palette[n.color].main),"--AppBar-color":n.enableColorOnDark?t.vars.palette[n.color].contrastText:g(t.vars.palette.AppBar.darkColor,t.vars.palette[n.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:"inherit"===n.color?"inherit":"var(--AppBar-color)"},"transparent"===n.color&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))})),w=o.forwardRef((function(t,n){const e=(0,c.A)({props:t,name:"MuiAppBar"}),{className:o,color:u="primary",enableColorOnDark:h=!1,position:f="fixed"}=e,d=(0,r.A)(e,v),_=(0,i.A)({},e,{color:u,position:f,enableColorOnDark:h}),g=(t=>{const{color:n,position:e,classes:r}=t,i={root:["root",`color${(0,l.A)(n)}`,`position${(0,l.A)(e)}`]};return(0,a.A)(i,p,r)})(_);return(0,m.jsx)(b,(0,i.A)({square:!0,component:"header",ownerState:_,elevation:4,className:(0,s.A)(g.root,o,"fixed"===f&&"mui-fixed"),ref:n},d))}))},34202:(t,n,e)=>{"use strict";e.r(n),e.d(n,{avatarClasses:()=>m,default:()=>y,getAvatarUtilityClass:()=>_});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(60827),u=e(51148),c=e(31049),l=e(74893),h=e(69500);const f=(0,l.A)((0,h.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");var d=e(55549),p=e(9577);function _(t){return(0,p.Ay)("MuiAvatar",t)}const m=(0,d.A)("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]),v=["alt","children","className","component","imgProps","sizes","src","srcSet","variant"],g=(0,u.Ay)("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,n[e.variant],e.colorDefault&&n.colorDefault]}})((({theme:t})=>({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",variants:[{props:{variant:"rounded"},style:{borderRadius:(t.vars||t).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:(0,i.A)({color:(t.vars||t).palette.background.default},t.vars?{backgroundColor:t.vars.palette.Avatar.defaultBg}:(0,i.A)({backgroundColor:t.palette.grey[400]},t.applyStyles("dark",{backgroundColor:t.palette.grey[600]})))}]}))),b=(0,u.Ay)("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(t,n)=>n.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),w=(0,u.Ay)(f,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(t,n)=>n.fallback})({width:"75%",height:"75%"}),y=o.forwardRef((function(t,n){const e=(0,c.A)({props:t,name:"MuiAvatar"}),{alt:u,children:l,className:f,component:d="div",imgProps:p,sizes:m,src:y,srcSet:x,variant:k="circular"}=e,S=(0,r.A)(e,v);let A=null;const C=function({crossOrigin:t,referrerPolicy:n,src:e,srcSet:r}){const[i,s]=o.useState(!1);return o.useEffect((()=>{if(!e&&!r)return;s(!1);let i=!0;const o=new Image;return o.onload=()=>{i&&s("loaded")},o.onerror=()=>{i&&s("error")},o.crossOrigin=t,o.referrerPolicy=n,o.src=e,r&&(o.srcset=r),()=>{i=!1}}),[t,n,e,r]),i}((0,i.A)({},p,{src:y,srcSet:x})),E=y||x,M=E&&"error"!==C,$=(0,i.A)({},e,{colorDefault:!M,component:d,variant:k}),z=(t=>{const{classes:n,variant:e,colorDefault:r}=t,i={root:["root",e,r&&"colorDefault"],img:["img"],fallback:["fallback"]};return(0,a.A)(i,_,n)})($);return A=M?(0,h.jsx)(b,(0,i.A)({alt:u,srcSet:x,src:y,sizes:m,ownerState:$,className:z.img},p)):null!=l&&""!==l&&"boolean"!=typeof l?l:E&&u?u[0]:(0,h.jsx)(w,{ownerState:$,className:z.fallback}),(0,h.jsx)(g,(0,i.A)({as:d,ownerState:$,className:(0,s.A)(z.root,f),ref:n},S,{children:A}))}))},19937:(t,n,e)=>{"use strict";e.d(n,{A:()=>_});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(60827),u=e(51148),c=e(31049),l=e(93321),h=e(32049),f=e(69500);const d=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],p=(0,u.Ay)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,e.invisible&&n.invisible]}})((({ownerState:t})=>(0,i.A)({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},t.invisible&&{backgroundColor:"transparent"}))),_=o.forwardRef((function(t,n){var e,o,u;const _=(0,c.A)({props:t,name:"MuiBackdrop"}),{children:m,className:v,component:g="div",components:b={},componentsProps:w={},invisible:y=!1,open:x,slotProps:k={},slots:S={},TransitionComponent:A=l.A,transitionDuration:C}=_,E=(0,r.A)(_,d),M=(0,i.A)({},_,{component:g,invisible:y}),$=(t=>{const{classes:n,invisible:e}=t,r={root:["root",e&&"invisible"]};return(0,a.A)(r,h.R,n)})(M),z=null!=(e=k.root)?e:w.root;return(0,f.jsx)(A,(0,i.A)({in:x,timeout:C},E,{children:(0,f.jsx)(p,(0,i.A)({"aria-hidden":!0},z,{as:null!=(o=null!=(u=S.root)?u:b.Root)?o:g,className:(0,s.A)($.root,v,null==z?void 0:z.className),ownerState:(0,i.A)({},M,null==z?void 0:z.ownerState),classes:$,ref:n,children:m}))}))}))},32049:(t,n,e)=>{"use strict";e.d(n,{A:()=>s,R:()=>o});var r=e(55549),i=e(9577);function o(t){return(0,i.Ay)("MuiBackdrop",t)}const s=(0,r.A)("MuiBackdrop",["root","invisible"])},11999:(t,n,e)=>{"use strict";e.r(n),e.d(n,{backdropClasses:()=>i.A,default:()=>r.A,getBackdropUtilityClass:()=>i.R});var r=e(19937),i=e(32049)},73829:(t,n,e)=>{"use strict";e.r(n),e.d(n,{badgeClasses:()=>m,default:()=>x,getBadgeUtilityClass:()=>_});var r=e(6614),i=e(83673),o=e(7552),s=e(93878);const a=t=>{const n=o.useRef({});return o.useEffect((()=>{n.current=t})),n.current};var u=e(60827),c=e(84086),l=e(31049),h=e(51148),f=e(15622),d=e(55549),p=e(9577);function _(t){return(0,p.Ay)("MuiBadge",t)}const m=(0,d.A)("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"]);var v=e(69500);const g=["anchorOrigin","className","classes","component","components","componentsProps","children","overlap","color","invisible","max","badgeContent","slots","slotProps","showZero","variant"],b=l.A,w=(0,h.Ay)("span",{name:"MuiBadge",slot:"Root",overridesResolver:(t,n)=>n.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),y=(0,h.Ay)("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.badge,n[e.variant],n[`anchorOrigin${(0,f.A)(e.anchorOrigin.vertical)}${(0,f.A)(e.anchorOrigin.horizontal)}${(0,f.A)(e.overlap)}`],"default"!==e.color&&n[`color${(0,f.A)(e.color)}`],e.invisible&&n.invisible]}})((({theme:t})=>{var n;return{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}),variants:[...Object.keys((null!=(n=t.vars)?n:t).palette).filter((n=>{var e,r;return(null!=(e=t.vars)?e:t).palette[n].main&&(null!=(r=t.vars)?r:t).palette[n].contrastText})).map((n=>({props:{color:n},style:{backgroundColor:(t.vars||t).palette[n].main,color:(t.vars||t).palette[n].contrastText}}))),{props:{variant:"dot"},style:{borderRadius:4,height:8,minWidth:8,padding:0}},{props:({ownerState:t})=>"top"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap,style:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${m.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:t})=>"bottom"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap,style:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${m.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:t})=>"top"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap,style:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${m.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:t})=>"bottom"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap,style:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${m.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:({ownerState:t})=>"top"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"circular"===t.overlap,style:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${m.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:t})=>"bottom"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"circular"===t.overlap,style:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${m.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:t})=>"top"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"circular"===t.overlap,style:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${m.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:t})=>"bottom"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"circular"===t.overlap,style:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${m.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:{invisible:!0},style:{transition:t.transitions.create("transform",{easing:t.transitions.easing.easeInOut,duration:t.transitions.duration.leavingScreen})}}]}})),x=o.forwardRef((function(t,n){var e,o,l,h,d,p;const m=b({props:t,name:"MuiBadge"}),{anchorOrigin:x={vertical:"top",horizontal:"right"},className:k,component:S,components:A={},componentsProps:C={},children:E,overlap:M="rectangular",color:$="default",invisible:z=!1,max:T=99,badgeContent:O,slots:j,slotProps:R,showZero:L=!1,variant:D="standard"}=m,P=(0,i.A)(m,g),{badgeContent:I,invisible:q,max:N,displayValue:F}=function(t){const{badgeContent:n,invisible:e=!1,max:r=99,showZero:i=!1}=t,o=a({badgeContent:n,max:r});let s=e;!1!==e||0!==n||i||(s=!0);const{badgeContent:u,max:c=r}=s?o:t;return{badgeContent:u,invisible:s,max:c,displayValue:u&&Number(u)>c?`${c}+`:u}}({max:T,invisible:z,badgeContent:O,showZero:L}),B=a({anchorOrigin:x,color:$,overlap:M,variant:D,badgeContent:O}),U=q||null==I&&"dot"!==D,{color:H=$,overlap:V=M,anchorOrigin:W=x,variant:G=D}=U?B:m,Y="dot"!==G?F:void 0,X=(0,r.A)({},m,{badgeContent:I,invisible:U,max:N,displayValue:Y,showZero:L,anchorOrigin:W,color:H,overlap:V,variant:G}),K=(t=>{const{color:n,anchorOrigin:e,invisible:r,overlap:i,variant:o,classes:s={}}=t,a={root:["root"],badge:["badge",o,r&&"invisible",`anchorOrigin${(0,f.A)(e.vertical)}${(0,f.A)(e.horizontal)}`,`anchorOrigin${(0,f.A)(e.vertical)}${(0,f.A)(e.horizontal)}${(0,f.A)(i)}`,`overlap${(0,f.A)(i)}`,"default"!==n&&`color${(0,f.A)(n)}`]};return(0,u.A)(a,_,s)})(X),Z=null!=(e=null!=(o=null==j?void 0:j.root)?o:A.Root)?e:w,J=null!=(l=null!=(h=null==j?void 0:j.badge)?h:A.Badge)?l:y,Q=null!=(d=null==R?void 0:R.root)?d:C.root,tt=null!=(p=null==R?void 0:R.badge)?p:C.badge,nt=(0,c.Q)({elementType:Z,externalSlotProps:Q,externalForwardedProps:P,additionalProps:{ref:n,as:S},ownerState:X,className:(0,s.A)(null==Q?void 0:Q.className,K.root,k)}),et=(0,c.Q)({elementType:J,externalSlotProps:tt,ownerState:X,className:(0,s.A)(K.badge,null==tt?void 0:tt.className)});return(0,v.jsxs)(Z,(0,r.A)({},nt,{children:[E,(0,v.jsx)(J,(0,r.A)({},et,{children:Y}))]}))}))},79883:(t,n,e)=>{"use strict";e.r(n),e.d(n,{boxClasses:()=>m,default:()=>b});var r=e(6614),i=e(83673),o=e(7552),s=e(93878),a=e(36283),u=e(41935),c=e(11835),l=e(37462),h=e(69500);const f=["className","component"];var d=e(29711),p=e(65190),_=e(74988);const m=(0,e(55549).A)("MuiBox",["root"]),v=(0,p.default)(),g=function(t={}){const{themeId:n,defaultTheme:e,defaultClassName:d="MuiBox-root",generateClassName:p}=t,_=(0,a.Ay)("div",{shouldForwardProp:t=>"theme"!==t&&"sx"!==t&&"as"!==t})(u.A);return o.forwardRef((function(t,o){const a=(0,l.A)(e),u=(0,c.A)(t),{className:m,component:v="div"}=u,g=(0,i.A)(u,f);return(0,h.jsx)(_,(0,r.A)({as:v,ref:o,className:(0,s.A)(m,p?p(d):d),theme:n&&a[n]||a},g))}))}({themeId:_.A,defaultTheme:v,defaultClassName:m.root,generateClassName:d.A.generate}),b=g},40366:(t,n,e)=>{"use strict";e.r(n),e.d(n,{breadcrumbsClasses:()=>S,default:()=>z,getBreadcrumbsUtilityClass:()=>k});var r=e(6614),i=e(83673),o=e(7552),s=(e(96830),e(93878)),a=e(60827),u=e(84086),c=e(51148),l=e(31049),h=e(36715),f=e(18283),d=e(74893),p=e(69500);const _=(0,d.A)((0,p.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");var m=e(9108);const v=["slots","slotProps"],g=(0,c.Ay)(m.A)((({theme:t})=>(0,r.A)({display:"flex",marginLeft:`calc(${t.spacing(1)} * 0.5)`,marginRight:`calc(${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,r.A)({},"light"===t.palette.mode?{backgroundColor:t.palette.grey[200]}:{backgroundColor:t.palette.grey[600]}),"&:active":(0,r.A)({boxShadow:t.shadows[0]},"light"===t.palette.mode?{backgroundColor:(0,f.tL)(t.palette.grey[200],.12)}:{backgroundColor:(0,f.tL)(t.palette.grey[600],.12)})}))),b=(0,c.Ay)(_)({width:24,height:16}),w=function(t){const{slots:n={},slotProps:e={}}=t,o=(0,i.A)(t,v),s=t;return(0,p.jsx)("li",{children:(0,p.jsx)(g,(0,r.A)({focusRipple:!0},o,{ownerState:s,children:(0,p.jsx)(b,(0,r.A)({as:n.CollapsedIcon,ownerState:s},e.collapsedIcon))}))})};var y=e(55549),x=e(9577);function k(t){return(0,x.Ay)("MuiBreadcrumbs",t)}const S=(0,y.A)("MuiBreadcrumbs",["root","ol","li","separator"]),A=["children","className","component","slots","slotProps","expandText","itemsAfterCollapse","itemsBeforeCollapse","maxItems","separator"],C=(0,c.Ay)(h.A,{name:"MuiBreadcrumbs",slot:"Root",overridesResolver:(t,n)=>[{[`& .${S.li}`]:n.li},n.root]})({}),E=(0,c.Ay)("ol",{name:"MuiBreadcrumbs",slot:"Ol",overridesResolver:(t,n)=>n.ol})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),M=(0,c.Ay)("li",{name:"MuiBreadcrumbs",slot:"Separator",overridesResolver:(t,n)=>n.separator})({display:"flex",userSelect:"none",marginLeft:8,marginRight:8});function $(t,n,e,r){return t.reduce(((i,o,s)=>(s{const{classes:n}=t;return(0,a.A)({root:["root"],li:["li"],ol:["ol"],separator:["separator"]},k,n)})(z),O=(0,u.Q)({elementType:d.CollapsedIcon,externalSlotProps:_.collapsedIcon,ownerState:z}),j=o.useRef(null),R=o.Children.toArray(c).filter((t=>o.isValidElement(t))).map(((t,n)=>(0,p.jsx)("li",{className:T.li,children:t},`child-${n}`)));return(0,p.jsx)(C,(0,r.A)({ref:n,component:f,color:"text.secondary",className:(0,s.A)(T.root,h),ownerState:z},x,{children:(0,p.jsx)(E,{className:T.ol,ref:j,ownerState:z,children:$(S||b&&R.length<=b?R:(t=>g+v>=t.length?t:[...t.slice(0,g),(0,p.jsx)(w,{"aria-label":m,slots:{CollapsedIcon:d.CollapsedIcon},slotProps:{collapsedIcon:O},onClick:()=>{M(!0);const t=j.current.querySelector("a[href],button,[tabindex]");t&&t.focus()}},"ellipsis"),...t.slice(t.length-v,t.length)])(R),T.separator,y,z)})}))}))},3825:(t,n,e)=>{"use strict";e.r(n),e.d(n,{buttonClasses:()=>v,default:()=>C,getButtonUtilityClass:()=>m});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(25475),u=e(60827),c=e(18283),l=e(51148),h=e(31049),f=e(9108),d=e(15622),p=e(55549),_=e(9577);function m(t){return(0,_.Ay)("MuiButton",t)}const v=(0,p.A)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);var g=e(21572),b=e(97712),w=e(69500);const y=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],x=t=>(0,i.A)({},"small"===t.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===t.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===t.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),k=(0,l.Ay)(f.A,{shouldForwardProp:t=>(0,l.ep)(t)||"classes"===t,name:"MuiButton",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,n[e.variant],n[`${e.variant}${(0,d.A)(e.color)}`],n[`size${(0,d.A)(e.size)}`],n[`${e.variant}Size${(0,d.A)(e.size)}`],"inherit"===e.color&&n.colorInherit,e.disableElevation&&n.disableElevation,e.fullWidth&&n.fullWidth]}})((({theme:t,ownerState:n})=>{var e,r;const o="light"===t.palette.mode?t.palette.grey[300]:t.palette.grey[800],s="light"===t.palette.mode?t.palette.grey.A100:t.palette.grey[700];return(0,i.A)({},t.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(t.vars||t).shape.borderRadius,transition:t.transitions.create(["background-color","box-shadow","border-color","color"],{duration:t.transitions.duration.short}),"&:hover":(0,i.A)({textDecoration:"none",backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,c.X4)(t.palette.text.primary,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===n.variant&&"inherit"!==n.color&&{backgroundColor:t.vars?`rgba(${t.vars.palette[n.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,c.X4)(t.palette[n.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===n.variant&&"inherit"!==n.color&&{border:`1px solid ${(t.vars||t).palette[n.color].main}`,backgroundColor:t.vars?`rgba(${t.vars.palette[n.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,c.X4)(t.palette[n.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===n.variant&&{backgroundColor:t.vars?t.vars.palette.Button.inheritContainedHoverBg:s,boxShadow:(t.vars||t).shadows[4],"@media (hover: none)":{boxShadow:(t.vars||t).shadows[2],backgroundColor:(t.vars||t).palette.grey[300]}},"contained"===n.variant&&"inherit"!==n.color&&{backgroundColor:(t.vars||t).palette[n.color].dark,"@media (hover: none)":{backgroundColor:(t.vars||t).palette[n.color].main}}),"&:active":(0,i.A)({},"contained"===n.variant&&{boxShadow:(t.vars||t).shadows[8]}),[`&.${v.focusVisible}`]:(0,i.A)({},"contained"===n.variant&&{boxShadow:(t.vars||t).shadows[6]}),[`&.${v.disabled}`]:(0,i.A)({color:(t.vars||t).palette.action.disabled},"outlined"===n.variant&&{border:`1px solid ${(t.vars||t).palette.action.disabledBackground}`},"contained"===n.variant&&{color:(t.vars||t).palette.action.disabled,boxShadow:(t.vars||t).shadows[0],backgroundColor:(t.vars||t).palette.action.disabledBackground})},"text"===n.variant&&{padding:"6px 8px"},"text"===n.variant&&"inherit"!==n.color&&{color:(t.vars||t).palette[n.color].main},"outlined"===n.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===n.variant&&"inherit"!==n.color&&{color:(t.vars||t).palette[n.color].main,border:t.vars?`1px solid rgba(${t.vars.palette[n.color].mainChannel} / 0.5)`:`1px solid ${(0,c.X4)(t.palette[n.color].main,.5)}`},"contained"===n.variant&&{color:t.vars?t.vars.palette.text.primary:null==(e=(r=t.palette).getContrastText)?void 0:e.call(r,t.palette.grey[300]),backgroundColor:t.vars?t.vars.palette.Button.inheritContainedBg:o,boxShadow:(t.vars||t).shadows[2]},"contained"===n.variant&&"inherit"!==n.color&&{color:(t.vars||t).palette[n.color].contrastText,backgroundColor:(t.vars||t).palette[n.color].main},"inherit"===n.color&&{color:"inherit",borderColor:"currentColor"},"small"===n.size&&"text"===n.variant&&{padding:"4px 5px",fontSize:t.typography.pxToRem(13)},"large"===n.size&&"text"===n.variant&&{padding:"8px 11px",fontSize:t.typography.pxToRem(15)},"small"===n.size&&"outlined"===n.variant&&{padding:"3px 9px",fontSize:t.typography.pxToRem(13)},"large"===n.size&&"outlined"===n.variant&&{padding:"7px 21px",fontSize:t.typography.pxToRem(15)},"small"===n.size&&"contained"===n.variant&&{padding:"4px 10px",fontSize:t.typography.pxToRem(13)},"large"===n.size&&"contained"===n.variant&&{padding:"8px 22px",fontSize:t.typography.pxToRem(15)},n.fullWidth&&{width:"100%"})}),(({ownerState:t})=>t.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${v.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${v.disabled}`]:{boxShadow:"none"}})),S=(0,l.Ay)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.startIcon,n[`iconSize${(0,d.A)(e.size)}`]]}})((({ownerState:t})=>(0,i.A)({display:"inherit",marginRight:8,marginLeft:-4},"small"===t.size&&{marginLeft:-2},x(t)))),A=(0,l.Ay)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.endIcon,n[`iconSize${(0,d.A)(e.size)}`]]}})((({ownerState:t})=>(0,i.A)({display:"inherit",marginRight:-4,marginLeft:8},"small"===t.size&&{marginRight:-2},x(t)))),C=o.forwardRef((function(t,n){const e=o.useContext(g.A),c=o.useContext(b.A),l=(0,a.A)(e,t),f=(0,h.A)({props:l,name:"MuiButton"}),{children:p,color:_="primary",component:v="button",className:x,disabled:C=!1,disableElevation:E=!1,disableFocusRipple:M=!1,endIcon:$,focusVisibleClassName:z,fullWidth:T=!1,size:O="medium",startIcon:j,type:R,variant:L="text"}=f,D=(0,r.A)(f,y),P=(0,i.A)({},f,{color:_,component:v,disabled:C,disableElevation:E,disableFocusRipple:M,fullWidth:T,size:O,type:R,variant:L}),I=(t=>{const{color:n,disableElevation:e,fullWidth:r,size:o,variant:s,classes:a}=t,c={root:["root",s,`${s}${(0,d.A)(n)}`,`size${(0,d.A)(o)}`,`${s}Size${(0,d.A)(o)}`,"inherit"===n&&"colorInherit",e&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${(0,d.A)(o)}`],endIcon:["endIcon",`iconSize${(0,d.A)(o)}`]},l=(0,u.A)(c,m,a);return(0,i.A)({},a,l)})(P),q=j&&(0,w.jsx)(S,{className:I.startIcon,ownerState:P,children:j}),N=$&&(0,w.jsx)(A,{className:I.endIcon,ownerState:P,children:$}),F=c||"";return(0,w.jsxs)(k,(0,i.A)({ownerState:P,className:(0,s.A)(e.className,I.root,x,F),component:v,disabled:C,focusRipple:!M,focusVisibleClassName:(0,s.A)(I.focusVisible,z),ref:n,type:R},D,{classes:I,children:[q,p,N]}))}))},9108:(t,n,e)=>{"use strict";e.d(n,{A:()=>V});var r=e(6614),i=e(83673),o=e(7552),s=e(93878),a=e(60827),u=e(51148),c=e(31049),l=e(51584),h=e(87422),f=e(9527),d=e(74264);function p(){return p=Object.assign||function(t){for(var n=1;nt;const R=(0,k.i7)($||($=j` +!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.sparklemotion=n():t.sparklemotion=n()}(globalThis,(()=>(()=>{var t,n,e={8575:(t,n,e)=>{"use strict";e.d(n,{A:()=>rt});var r=function(){function t(t){var n=this;this._insertTag=function(t){var e;e=0===n.tags.length?n.insertionPoint?n.insertionPoint.nextSibling:n.prepend?n.container.firstChild:n.before:n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(t,e),n.tags.push(t)},this.isSpeedy=void 0===t.speedy||t.speedy,this.tags=[],this.ctr=0,this.nonce=t.nonce,this.key=t.key,this.container=t.container,this.prepend=t.prepend,this.insertionPoint=t.insertionPoint,this.before=null}var n=t.prototype;return n.hydrate=function(t){t.forEach(this._insertTag)},n.insert=function(t){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(t){var n=document.createElement("style");return n.setAttribute("data-emotion",t.key),void 0!==t.nonce&&n.setAttribute("nonce",t.nonce),n.appendChild(document.createTextNode("")),n.setAttribute("data-s",""),n}(this));var n=this.tags[this.tags.length-1];if(this.isSpeedy){var e=function(t){if(t.sheet)return t.sheet;for(var n=0;n0?l(w,--g):0,m--,10===b&&(m=1,_--),b}function S(){return b=g2||M(b)>3?"":" "}function O(t,n){for(;--n&&S()&&!(b<48||b>102||b>57&&b<65||b>70&&b<97););return E(t,C()+(n<6&&32==A()&&32==S()))}function R(t){for(;S();)switch(b){case t:return g;case 34:case 39:34!==t&&39!==t&&R(b);break;case 40:41===t&&R(t);break;case 92:S()}return g}function L(t,n){for(;S()&&t+b!==57&&(t+b!==84||47!==A()););return"/*"+E(n,g-1)+"*"+o(47===t?t:S())}function D(t){for(;!M(A());)S();return E(t,g)}var P="-ms-",I="-moz-",q="-webkit-",N="comm",F="rule",B="decl",U="@keyframes";function H(t,n){for(var e="",r=d(t),i=0;i0&&f(I)-v&&p(b>32?K(I+";",r,e,v-1):K(u(I," ","")+";",r,e,v-2),d);break;case 59:I+=";";default:if(p(P=Y(I,n,e,_,m,i,h,$,z=[],R=[],v),s),123===M)if(0===m)G(I,n,P,P,z,s,v,h,R);else switch(99===g&&110===l(I,3)?100:g){case 100:case 108:case 109:case 115:G(t,P,P,r&&p(Y(t,P,P,0,0,i,h,$,i,z=[],v),R),i,R,v,h,r?z:R);break;default:G(I,P,P,P,[""],R,0,h,R)}}_=m=b=0,y=E=1,$=I="",v=a;break;case 58:v=1+f(I),b=w;default:if(y<1)if(123==M)--y;else if(125==M&&0==y++&&125==k())continue;switch(I+=o(M),M*y){case 38:E=m>0?1:(I+="\f",-1);break;case 44:h[_++]=(f(I)-1)*E,E=1;break;case 64:45===A()&&(I+=T(S())),g=A(),m=v=f($=I+=D(C())),M++;break;case 45:45===w&&2==f(I)&&(y=0)}}return s}function Y(t,n,e,r,o,s,c,l,f,p,_){for(var m=o-1,v=0===o?s:[""],g=d(v),b=0,w=0,x=0;b0?v[k]+" "+S:u(S,/&\f/g,v[k])))&&(f[x++]=A);return y(t,n,e,0===o?F:l,f,p,_)}function X(t,n,e){return y(t,n,e,N,o(b),h(t,2,-2),0)}function K(t,n,e,r){return y(t,n,e,B,h(t,0,r),h(t,r+1,-1),r)}var Z=function(t,n,e){for(var r=0,i=0;r=i,i=A(),38===r&&12===i&&(n[e]=1),!M(i);)S();return E(t,g)},J=new WeakMap,Q=function(t){if("rule"===t.type&&t.parent&&!(t.length<1)){for(var n=t.value,e=t.parent,r=t.column===e.column&&t.line===e.line;"rule"!==e.type;)if(!(e=e.parent))return;if((1!==t.props.length||58===n.charCodeAt(0)||J.get(e))&&!r){J.set(t,!0);for(var i=[],s=function(t,n){return z(function(t,n){var e=-1,r=44;do{switch(M(r)){case 0:38===r&&12===A()&&(n[e]=1),t[e]+=Z(g-1,n,e);break;case 2:t[e]+=T(r);break;case 4:if(44===r){t[++e]=58===A()?"&\f":"",n[e]=t[e].length;break}default:t[e]+=o(r)}}while(r=S());return t}($(t),n))}(n,i),a=e.props,u=0,c=0;u6)switch(l(t,n+1)){case 109:if(45!==l(t,n+4))break;case 102:return u(t,/(.+:)(.+)-([^]+)/,"$1"+q+"$2-$3$1"+I+(108==l(t,n+3)?"$3":"$2-$3"))+t;case 115:return~c(t,"stretch")?nt(u(t,"stretch","fill-available"),n)+t:t}break;case 4949:if(115!==l(t,n+1))break;case 6444:switch(l(t,f(t)-3-(~c(t,"!important")&&10))){case 107:return u(t,":",":"+q)+t;case 101:return u(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+q+(45===l(t,14)?"inline-":"")+"box$3$1"+q+"$2$3$1"+P+"$2box$3")+t}break;case 5936:switch(l(t,n+11)){case 114:return q+t+P+u(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return q+t+P+u(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return q+t+P+u(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return q+t+P+t+t}return t}var et=[function(t,n,e,r){if(t.length>-1&&!t.return)switch(t.type){case B:t.return=nt(t.value,t.length);break;case U:return H([x(t,{value:u(t.value,"@","@"+q)})],r);case F:if(t.length)return function(t,n){return t.map(n).join("")}(t.props,(function(n){switch(function(t,n){return(t=/(::plac\w+|:read-\w+)/.exec(t))?t[0]:t}(n)){case":read-only":case":read-write":return H([x(t,{props:[u(n,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return H([x(t,{props:[u(n,/:(plac\w+)/,":"+q+"input-$1")]}),x(t,{props:[u(n,/:(plac\w+)/,":-moz-$1")]}),x(t,{props:[u(n,/:(plac\w+)/,P+"input-$1")]})],r)}return""}))}}],rt=function(t){var n=t.key;if("css"===n){var e=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(e,(function(t){-1!==t.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(t),t.setAttribute("data-s",""))}))}var i,o,s=t.stylisPlugins||et,a={},u=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),(function(t){for(var n=t.getAttribute("data-emotion").split(" "),e=1;e{"use strict";function r(t){var n=Object.create(null);return function(e){return void 0===n[e]&&(n[e]=t(e)),n[e]}}e.d(n,{A:()=>r})},65472:(t,n,e)=>{"use strict";e.d(n,{T:()=>u,i:()=>o,w:()=>a});var r=e(7552),i=e(8575),o=(e(42130),e(20387),!0),s=r.createContext("undefined"!=typeof HTMLElement?(0,i.A)({key:"css"}):null);s.Provider;var a=function(t){return(0,r.forwardRef)((function(n,e){var i=(0,r.useContext)(s);return t(n,i,e)}))};o||(a=function(t){return function(n){var e=(0,r.useContext)(s);return null===e?(e=(0,i.A)({key:"css"}),r.createElement(s.Provider,{value:e},t(n,e))):t(n,e)}});var u=r.createContext({})},64761:(t,n,e)=>{"use strict";e.d(n,{AH:()=>c,i7:()=>l,mL:()=>u});var r=e(65472),i=e(7552),o=e(92005),s=e(20387),a=e(42130),u=(e(8575),e(806),(0,r.w)((function(t,n){var e=t.styles,u=(0,a.J)([e],void 0,i.useContext(r.T));if(!r.i){for(var c,l=u.name,h=u.styles,f=u.next;void 0!==f;)l+=" "+f.name,h+=f.styles,f=f.next;var d=!0===n.compat,p=n.insert("",{name:l,styles:h},n.sheet,d);return d?null:i.createElement("style",((c={})["data-emotion"]=n.key+"-global "+l,c.dangerouslySetInnerHTML={__html:p},c.nonce=n.sheet.nonce,c))}var _=i.useRef();return(0,s.i)((function(){var t=n.key+"-global",e=new n.sheet.constructor({key:t,nonce:n.sheet.nonce,container:n.sheet.container,speedy:n.sheet.isSpeedy}),r=!1,i=document.querySelector('style[data-emotion="'+t+" "+u.name+'"]');return n.sheet.tags.length&&(e.before=n.sheet.tags[0]),null!==i&&(r=!0,i.setAttribute("data-emotion",t),e.hydrate([i])),_.current=[e,r],function(){e.flush()}}),[n]),(0,s.i)((function(){var t=_.current,e=t[0];if(t[1])t[1]=!1;else{if(void 0!==u.next&&(0,o.sk)(n,u.next,!0),e.tags.length){var r=e.tags[e.tags.length-1].nextElementSibling;e.before=r,e.flush()}n.insert("",u,e,!1)}}),[n,u.name]),null})));function c(){for(var t=arguments.length,n=new Array(t),e=0;e{"use strict";e.d(n,{J:()=>p});var r={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,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=e(39389),o=/[A-Z]|^ms/g,s=/_EMO_([^_]+?)_([^]*?)_EMO_/g,a=function(t){return 45===t.charCodeAt(1)},u=function(t){return null!=t&&"boolean"!=typeof t},c=(0,i.A)((function(t){return a(t)?t:t.replace(o,"-$&").toLowerCase()})),l=function(t,n){switch(t){case"animation":case"animationName":if("string"==typeof n)return n.replace(s,(function(t,n,e){return f={name:n,styles:e,next:f},n}))}return 1===r[t]||a(t)||"number"!=typeof n||0===n?n:n+"px"};function h(t,n,e){if(null==e)return"";if(void 0!==e.__emotion_styles)return e;switch(typeof e){case"boolean":return"";case"object":if(1===e.anim)return f={name:e.name,styles:e.styles,next:f},e.name;if(void 0!==e.styles){var r=e.next;if(void 0!==r)for(;void 0!==r;)f={name:r.name,styles:r.styles,next:f},r=r.next;return e.styles+";"}return function(t,n,e){var r="";if(Array.isArray(e))for(var i=0;i=4;++r,i-=4)n=1540483477*(65535&(n=255&t.charCodeAt(r)|(255&t.charCodeAt(++r))<<8|(255&t.charCodeAt(++r))<<16|(255&t.charCodeAt(++r))<<24))+(59797*(n>>>16)<<16),e=1540483477*(65535&(n^=n>>>24))+(59797*(n>>>16)<<16)^1540483477*(65535&e)+(59797*(e>>>16)<<16);switch(i){case 3:e^=(255&t.charCodeAt(r+2))<<16;case 2:e^=(255&t.charCodeAt(r+1))<<8;case 1:e=1540483477*(65535&(e^=255&t.charCodeAt(r)))+(59797*(e>>>16)<<16)}return(((e=1540483477*(65535&(e^=e>>>13))+(59797*(e>>>16)<<16))^e>>>15)>>>0).toString(36)}(i)+u;return{name:c,styles:i,next:f}}},20387:(t,n,e)=>{"use strict";var r;e.d(n,{i:()=>a,s:()=>s});var i=e(7552),o=!!(r||(r=e.t(i,2))).useInsertionEffect&&(r||(r=e.t(i,2))).useInsertionEffect,s=o||function(t){return t()},a=o||i.useLayoutEffect},92005:(t,n,e)=>{"use strict";function r(t,n,e){var r="";return e.split(" ").forEach((function(e){void 0!==t[e]?n.push(t[e]+";"):r+=e+" "})),r}e.d(n,{Rk:()=>r,SF:()=>i,sk:()=>o});var i=function(t,n,e){var r=t.key+"-"+n.name;!1===e&&void 0===t.registered[r]&&(t.registered[r]=n.styles)},o=function(t,n,e){i(t,n,e);var r=t.key+"-"+n.name;if(void 0===t.inserted[n.name]){var o=n;do{t.insert(n===o?"."+r:"",o,t.sheet,!0),o=o.next}while(void 0!==o)}}},73311:(t,n,e)=>{"use strict";function r(t,n,e){function r(t){Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,n&&n.apply(this,arguments),this.toString=function(){return this.name+": "+this.message}}return void 0===e&&(e=Error),r.prototype=Object.create(e.prototype),r.prototype.name=t,r.prototype.constructor=r,r}e.r(n),e.d(n,{ArithmeticException:()=>a,ChronoField:()=>$,ChronoLocalDate:()=>W,ChronoLocalDateTime:()=>ln,ChronoUnit:()=>C,ChronoZonedDateTime:()=>rn,Clock:()=>_n,DateTimeException:()=>i,DateTimeFormatter:()=>Gt,DateTimeFormatterBuilder:()=>Bt,DateTimeParseException:()=>o,DayOfWeek:()=>D,DecimalStyle:()=>gt,Duration:()=>S,IllegalArgumentException:()=>u,IllegalStateException:()=>c,Instant:()=>pn,IsoChronology:()=>nn,IsoFields:()=>it,LocalDate:()=>cn,LocalDateTime:()=>hn,LocalTime:()=>fn,Month:()=>P,MonthDay:()=>Yt,NullPointerException:()=>l,OffsetDateTime:()=>sn,OffsetTime:()=>en,Period:()=>q,ResolverStyle:()=>B,SignStyle:()=>bt,Temporal:()=>H,TemporalAccessor:()=>T,TemporalAdjuster:()=>U,TemporalAdjusters:()=>Zt,TemporalAmount:()=>x,TemporalField:()=>E,TemporalQueries:()=>z,TemporalQuery:()=>j,TemporalUnit:()=>k,TextStyle:()=>wt,UnsupportedTemporalTypeException:()=>s,ValueRange:()=>M,Year:()=>Kt,YearConstants:()=>A,YearMonth:()=>Xt,ZoneId:()=>Y,ZoneOffset:()=>Q,ZoneOffsetTransition:()=>bn,ZoneRegion:()=>Dt,ZoneRules:()=>X,ZoneRulesProvider:()=>Lt,ZonedDateTime:()=>on,_:()=>Tn,convert:()=>Cn,nativeJs:()=>Mn,use:()=>On});var i=r("DateTimeException",(function(t,n){void 0===n&&(n=null);var e=t||this.name;null!==n&&n instanceof Error&&(e+="\n-------\nCaused by: "+n.stack+"\n-------\n"),this.message=e})),o=r("DateTimeParseException",(function(t,n,e,r){void 0===n&&(n=""),void 0===e&&(e=0),void 0===r&&(r=null);var i=t||this.name;i+=": "+n+", at index: "+e,null!==r&&r instanceof Error&&(i+="\n-------\nCaused by: "+r.stack+"\n-------\n"),this.message=i,this.parsedString=function(){return n},this.errorIndex=function(){return e}})),s=r("UnsupportedTemporalTypeException",null,i),a=r("ArithmeticException"),u=r("IllegalArgumentException"),c=r("IllegalStateException"),l=r("NullPointerException");function h(t,n){t.prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n}function f(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function d(t,n,e){if(!t)throw e?new e(n):new Error(n)}function p(t,n){if(null==t)throw new l(n+" must not be null");return t}function _(t,n,e){if(!(t instanceof n))throw new u(e+" must be an instance of "+(n.name?n.name:n)+(t&&t.constructor&&t.constructor.name?", but is "+t.constructor.name:""));return t}function m(t){throw new TypeError('abstract method "'+t+'" is not implemented')}var v=Object.freeze({__proto__:null,assert:d,requireNonNull:p,requireInstance:_,abstractMethodFail:m}),g=9007199254740991,b=-9007199254740991,w=function(){function t(){}return t.intDiv=function(n,e){var r=n/e;return r=t.roundDown(r),t.safeZero(r)},t.intMod=function(n,e){var r=n-t.intDiv(n,e)*e;return r=t.roundDown(r),t.safeZero(r)},t.roundDown=function(t){return t<0?Math.ceil(t):Math.floor(t)},t.floorDiv=function(n,e){var r=Math.floor(n/e);return t.safeZero(r)},t.floorMod=function(n,e){var r=n-t.floorDiv(n,e)*e;return t.safeZero(r)},t.safeAdd=function(n,e){if(t.verifyInt(n),t.verifyInt(e),0===n)return t.safeZero(e);if(0===e)return t.safeZero(n);var r=t.safeToInt(n+e);if(r===n||r===e)throw new a("Invalid addition beyond MAX_SAFE_INTEGER!");return r},t.safeSubtract=function(n,e){return t.verifyInt(n),t.verifyInt(e),0===n&&0===e?0:0===n?t.safeZero(-1*e):0===e?t.safeZero(n):t.safeToInt(n-e)},t.safeMultiply=function(n,e){if(t.verifyInt(n),t.verifyInt(e),1===n)return t.safeZero(e);if(1===e)return t.safeZero(n);if(0===n||0===e)return 0;var r=t.safeToInt(n*e);if(r/e!==n||n===b&&-1===e||e===b&&-1===n)throw new a("Multiplication overflows: "+n+" * "+e);return r},t.parseInt=function(t){function n(n){return t.apply(this,arguments)}return n.toString=function(){return t.toString()},n}((function(n){var e=parseInt(n);return t.safeToInt(e)})),t.safeToInt=function(n){return t.verifyInt(n),t.safeZero(n)},t.verifyInt=function(t){if(null==t)throw new a("Invalid value: '"+t+"', using null or undefined as argument");if(isNaN(t))throw new a("Invalid int value, using NaN as argument");if(t%1!=0)throw new a("Invalid value: '"+t+"' is a float");if(t>g||tn?1:0},t.smi=function(t){return t>>>1&1073741824|3221225471&t},t.hash=function(n){if(n!=n||n===1/0)return 0;for(var e=n;n>4294967295;)e^=n/=4294967295;return t.smi(e)},t.hashCode=function(){for(var n=17,e=arguments.length,r=new Array(e),i=0;i0&&r<0)r+=fn.NANOS_PER_SECOND;else if(e<0&&r>0)r-=fn.NANOS_PER_SECOND;else if(0===e&&0!==r){var o=n.with($.NANO_OF_SECOND,i);e=t.until(o,C.SECONDS)}}catch(t){}return this.ofSeconds(e,r)},n.parse=function(t){p(t,"text");var e=new RegExp("([-+]?)P(?:([-+]?[0-9]+)D)?(T(?:([-+]?[0-9]+)H)?(?:([-+]?[0-9]+)M)?(?:([-+]?[0-9]+)(?:[.,]([0-9]{0,9}))?S)?)?","i").exec(t);if(null!==e&&"T"===e[3]==0){var r="-"===e[1],i=e[2],s=e[4],a=e[5],u=e[6],c=e[7];if(null!=i||null!=s||null!=a||null!=u){var l=n._parseNumber(t,i,fn.SECONDS_PER_DAY,"days"),h=n._parseNumber(t,s,fn.SECONDS_PER_HOUR,"hours"),f=n._parseNumber(t,a,fn.SECONDS_PER_MINUTE,"minutes"),d=n._parseNumber(t,u,1,"seconds"),_=null!=u&&"-"===u.charAt(0),m=n._parseFraction(t,c,_?-1:1);try{return n._create(r,l,h,f,d,m)}catch(n){throw new o("Text cannot be parsed to a Duration: overflow",t,0,n)}}}throw new o("Text cannot be parsed to a Duration",t,0)},n._parseNumber=function(t,n,e,r){if(null==n)return 0;try{return"+"===n[0]&&(n=n.substring(1)),w.safeMultiply(parseFloat(n),e)}catch(n){throw new o("Text cannot be parsed to a Duration: "+r,t,0,n)}},n._parseFraction=function(t,n,e){return null==n||0===n.length?0:(n=(n+"000000000").substring(0,9),parseFloat(n)*e)},n._create=function(){return arguments.length<=2?n._createSecondsNanos(arguments[0],arguments[1]):n._createNegateDaysHoursMinutesSecondsNanos(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5])},n._createNegateDaysHoursMinutesSecondsNanos=function(t,e,r,i,o,s){var a=w.safeAdd(e,w.safeAdd(r,w.safeAdd(i,o)));return t?n.ofSeconds(a,s).negated():n.ofSeconds(a,s)},n._createSecondsNanos=function(t,e){return void 0===t&&(t=0),void 0===e&&(e=0),0===t&&0===e?n.ZERO:new n(t,e)};var e=n.prototype;return e.get=function(t){if(t===C.SECONDS)return this._seconds;if(t===C.NANOS)return this._nanos;throw new s("Unsupported unit: "+t)},e.units=function(){return[C.SECONDS,C.NANOS]},e.isZero=function(){return 0===this._seconds&&0===this._nanos},e.isNegative=function(){return this._seconds<0},e.seconds=function(){return this._seconds},e.nano=function(){return this._nanos},e.withSeconds=function(t){return n._create(t,this._nanos)},e.withNanos=function(t){return $.NANO_OF_SECOND.checkValidIntValue(t),n._create(this._seconds,t)},e.plusDuration=function(t){return p(t,"duration"),this.plus(t.seconds(),t.nano())},e.plus=function(t,n){return 1===arguments.length?this.plusDuration(t):2===arguments.length&&n instanceof k?this.plusAmountUnit(t,n):this.plusSecondsNanos(t,n)},e.plusAmountUnit=function(t,n){if(p(t,"amountToAdd"),p(n,"unit"),n===C.DAYS)return this.plusSecondsNanos(w.safeMultiply(t,fn.SECONDS_PER_DAY),0);if(n.isDurationEstimated())throw new s("Unit must not have an estimated duration");if(0===t)return this;if(n instanceof C){switch(n){case C.NANOS:return this.plusNanos(t);case C.MICROS:return this.plusSecondsNanos(1e3*w.intDiv(t,1e9),1e3*w.intMod(t,1e9));case C.MILLIS:return this.plusMillis(t);case C.SECONDS:return this.plusSeconds(t)}return this.plusSecondsNanos(w.safeMultiply(n.duration().seconds(),t),0)}var e=n.duration().multipliedBy(t);return this.plusSecondsNanos(e.seconds(),e.nano())},e.plusDays=function(t){return this.plusSecondsNanos(w.safeMultiply(t,fn.SECONDS_PER_DAY),0)},e.plusHours=function(t){return this.plusSecondsNanos(w.safeMultiply(t,fn.SECONDS_PER_HOUR),0)},e.plusMinutes=function(t){return this.plusSecondsNanos(w.safeMultiply(t,fn.SECONDS_PER_MINUTE),0)},e.plusSeconds=function(t){return this.plusSecondsNanos(t,0)},e.plusMillis=function(t){return this.plusSecondsNanos(w.intDiv(t,1e3),1e6*w.intMod(t,1e3))},e.plusNanos=function(t){return this.plusSecondsNanos(0,t)},e.plusSecondsNanos=function(t,e){if(p(t,"secondsToAdd"),p(e,"nanosToAdd"),0===t&&0===e)return this;var r=w.safeAdd(this._seconds,t);r=w.safeAdd(r,w.intDiv(e,fn.NANOS_PER_SECOND)),e=w.intMod(e,fn.NANOS_PER_SECOND);var i=w.safeAdd(this._nanos,e);return n.ofSeconds(r,i)},e.minus=function(t,n){return 1===arguments.length?this.minusDuration(t):this.minusAmountUnit(t,n)},e.minusDuration=function(t){p(t,"duration");var n=t.seconds(),e=t.nano();return n===b?this.plus(g,-e):this.plus(-n,-e)},e.minusAmountUnit=function(t,n){return p(t,"amountToSubtract"),p(n,"unit"),t===b?this.plusAmountUnit(g,n):this.plusAmountUnit(-t,n)},e.minusDays=function(t){return t===b?this.plusDays(g):this.plusDays(-t)},e.minusHours=function(t){return t===b?this.plusHours(g):this.plusHours(-t)},e.minusMinutes=function(t){return t===b?this.plusMinutes(g):this.plusMinutes(-t)},e.minusSeconds=function(t){return t===b?this.plusSeconds(g):this.plusSeconds(-t)},e.minusMillis=function(t){return t===b?this.plusMillis(g):this.plusMillis(-t)},e.minusNanos=function(t){return t===b?this.plusNanos(g):this.plusNanos(-t)},e.multipliedBy=function(t){if(0===t)return n.ZERO;if(1===t)return this;var e=w.safeMultiply(this._seconds,t),r=w.safeMultiply(this._nanos,t);return e+=w.intDiv(r,fn.NANOS_PER_SECOND),r=w.intMod(r,fn.NANOS_PER_SECOND),n.ofSeconds(e,r)},e.dividedBy=function(t){if(0===t)throw new a("Cannot divide by zero");if(1===t)return this;var e=w.intDiv(this._seconds,t),r=w.roundDown((this._seconds/t-e)*fn.NANOS_PER_SECOND),i=w.intDiv(this._nanos,t);return i=r+i,n.ofSeconds(e,i)},e.negated=function(){return this.multipliedBy(-1)},e.abs=function(){return this.isNegative()?this.negated():this},e.addTo=function(t){return p(t,"temporal"),0!==this._seconds&&(t=t.plus(this._seconds,C.SECONDS)),0!==this._nanos&&(t=t.plus(this._nanos,C.NANOS)),t},e.subtractFrom=function(t){return p(t,"temporal"),0!==this._seconds&&(t=t.minus(this._seconds,C.SECONDS)),0!==this._nanos&&(t=t.minus(this._nanos,C.NANOS)),t},e.toDays=function(){return w.intDiv(this._seconds,fn.SECONDS_PER_DAY)},e.toHours=function(){return w.intDiv(this._seconds,fn.SECONDS_PER_HOUR)},e.toMinutes=function(){return w.intDiv(this._seconds,fn.SECONDS_PER_MINUTE)},e.toMillis=function(){var t=Math.round(w.safeMultiply(this._seconds,1e3));return w.safeAdd(t,w.intDiv(this._nanos,1e6))},e.toNanos=function(){var t=w.safeMultiply(this._seconds,fn.NANOS_PER_SECOND);return w.safeAdd(t,this._nanos)},e.compareTo=function(t){p(t,"otherDuration"),_(t,n,"otherDuration");var e=w.compareNumbers(this._seconds,t.seconds());return 0!==e?e:this._nanos-t.nano()},e.equals=function(t){return this===t||t instanceof n&&this.seconds()===t.seconds()&&this.nano()===t.nano()},e.toString=function(){if(this===n.ZERO)return"PT0S";var t,e=w.intDiv(this._seconds,fn.SECONDS_PER_HOUR),r=w.intDiv(w.intMod(this._seconds,fn.SECONDS_PER_HOUR),fn.SECONDS_PER_MINUTE),i=w.intMod(this._seconds,fn.SECONDS_PER_MINUTE),o="PT";if(0!==e&&(o+=e+"H"),0!==r&&(o+=r+"M"),0===i&&0===this._nanos&&o.length>2)return o;if(i<0&&this._nanos>0?o+=-1===i?"-0":i+1:o+=i,this._nanos>0)for(o+=".",o+=t=(t=i<0?""+(2*fn.NANOS_PER_SECOND-this._nanos):""+(fn.NANOS_PER_SECOND+this._nanos)).slice(1,t.length);"0"===o.charAt(o.length-1);)o=o.slice(0,o.length-1);return o+"S"},e.toJSON=function(){return this.toString()},n}(x),A=function(){},C=function(t){function n(n,e){var r;return(r=t.call(this)||this)._name=n,r._duration=e,r}h(n,t);var e=n.prototype;return e.duration=function(){return this._duration},e.isDurationEstimated=function(){return this.isDateBased()||this===n.FOREVER},e.isDateBased=function(){return this.compareTo(n.DAYS)>=0&&this!==n.FOREVER},e.isTimeBased=function(){return this.compareTo(n.DAYS)<0},e.isSupportedBy=function(t){if(this===n.FOREVER)return!1;try{return t.plus(1,this),!0}catch(n){try{return t.plus(-1,this),!0}catch(t){return!1}}},e.addTo=function(t,n){return t.plus(n,this)},e.between=function(t,n){return t.until(n,this)},e.toString=function(){return this._name},e.compareTo=function(t){return this.duration().compareTo(t.duration())},n}(k),E=function(){function t(){}var n=t.prototype;return n.isDateBased=function(){m("isDateBased")},n.isTimeBased=function(){m("isTimeBased")},n.baseUnit=function(){m("baseUnit")},n.rangeUnit=function(){m("rangeUnit")},n.range=function(){m("range")},n.rangeRefinedBy=function(t){m("rangeRefinedBy")},n.getFrom=function(t){m("getFrom")},n.adjustInto=function(t,n){m("adjustInto")},n.isSupportedBy=function(t){m("isSupportedBy")},n.displayName=function(){m("displayName")},n.equals=function(t){m("equals")},n.name=function(){m("name")},t}(),M=function(){function t(t,n,e,r){d(!(t>n),"Smallest minimum value '"+t+"' must be less than largest minimum value '"+n+"'",u),d(!(e>r),"Smallest maximum value '"+e+"' must be less than largest maximum value '"+r+"'",u),d(!(n>r),"Minimum value '"+n+"' must be less than maximum value '"+r+"'",u),this._minSmallest=t,this._minLargest=n,this._maxLargest=r,this._maxSmallest=e}var n=t.prototype;return n.isFixed=function(){return this._minSmallest===this._minLargest&&this._maxSmallest===this._maxLargest},n.minimum=function(){return this._minSmallest},n.largestMinimum=function(){return this._minLargest},n.maximum=function(){return this._maxLargest},n.smallestMaximum=function(){return this._maxSmallest},n.isValidValue=function(t){return this.minimum()<=t&&t<=this.maximum()},n.checkValidValue=function(t,n){return this.isValidValue(t)?t:d(!1,null!=n?"Invalid value for "+n+" (valid values "+this.toString()+"): "+t:"Invalid value (valid values "+this.toString()+"): "+t,i)},n.checkValidIntValue=function(t,n){if(!1===this.isValidIntValue(t))throw new i("Invalid int value for "+n+": "+t);return t},n.isValidIntValue=function(t){return this.isIntValue()&&this.isValidValue(t)},n.isIntValue=function(){return this.minimum()>=w.MIN_SAFE_INTEGER&&this.maximum()<=w.MAX_SAFE_INTEGER},n.equals=function(n){return n===this||n instanceof t&&this._minSmallest===n._minSmallest&&this._minLargest===n._minLargest&&this._maxSmallest===n._maxSmallest&&this._maxLargest===n._maxLargest},n.hashCode=function(){return w.hashCode(this._minSmallest,this._minLargest,this._maxSmallest,this._maxLargest)},n.toString=function(){var t=this.minimum()+(this.minimum()!==this.largestMinimum()?"/"+this.largestMinimum():"");return(t+=" - ")+(this.smallestMaximum()+(this.smallestMaximum()!==this.maximum()?"/"+this.maximum():""))},t.of=function(){return 2===arguments.length?new t(arguments[0],arguments[0],arguments[1],arguments[1]):3===arguments.length?new t(arguments[0],arguments[0],arguments[1],arguments[2]):4===arguments.length?new t(arguments[0],arguments[1],arguments[2],arguments[3]):d(!1,"Invalid number of arguments "+arguments.length,u)},t}(),$=function(t){function n(n,e,r,i){var o;return(o=t.call(this)||this)._name=n,o._baseUnit=e,o._rangeUnit=r,o._range=i,o}h(n,t),n.byName=function(t){for(var e in n)if(n[e]&&n[e]instanceof n&&n[e].name()===t)return n[e]};var e=n.prototype;return e.name=function(){return this._name},e.baseUnit=function(){return this._baseUnit},e.rangeUnit=function(){return this._rangeUnit},e.range=function(){return this._range},e.displayName=function(){return this.toString()},e.checkValidValue=function(t){return this.range().checkValidValue(t,this)},e.checkValidIntValue=function(t){return this.range().checkValidIntValue(t,this)},e.isDateBased=function(){return this===n.DAY_OF_WEEK||this===n.ALIGNED_DAY_OF_WEEK_IN_MONTH||this===n.ALIGNED_DAY_OF_WEEK_IN_YEAR||this===n.DAY_OF_MONTH||this===n.DAY_OF_YEAR||this===n.EPOCH_DAY||this===n.ALIGNED_WEEK_OF_MONTH||this===n.ALIGNED_WEEK_OF_YEAR||this===n.MONTH_OF_YEAR||this===n.YEAR_OF_ERA||this===n.YEAR||this===n.ERA},e.isTimeBased=function(){return this===n.NANO_OF_SECOND||this===n.NANO_OF_DAY||this===n.MICRO_OF_SECOND||this===n.MICRO_OF_DAY||this===n.MILLI_OF_SECOND||this===n.MILLI_OF_DAY||this===n.SECOND_OF_MINUTE||this===n.SECOND_OF_DAY||this===n.MINUTE_OF_HOUR||this===n.MINUTE_OF_DAY||this===n.HOUR_OF_AMPM||this===n.CLOCK_HOUR_OF_AMPM||this===n.HOUR_OF_DAY||this===n.CLOCK_HOUR_OF_DAY||this===n.AMPM_OF_DAY},e.rangeRefinedBy=function(t){return t.range(this)},e.getFrom=function(t){return t.getLong(this)},e.toString=function(){return this.name()},e.equals=function(t){return this===t},e.adjustInto=function(t,n){return t.with(this,n)},e.isSupportedBy=function(t){return t.isSupported(this)},n}(E),z=function(){function t(){}return t.zoneId=function(){return t.ZONE_ID},t.chronology=function(){return t.CHRONO},t.precision=function(){return t.PRECISION},t.zone=function(){return t.ZONE},t.offset=function(){return t.OFFSET},t.localDate=function(){return t.LOCAL_DATE},t.localTime=function(){return t.LOCAL_TIME},t}(),T=function(){function t(){}var n=t.prototype;return n.query=function(t){return t===z.zoneId()||t===z.chronology()||t===z.precision()?null:t.queryFrom(this)},n.get=function(t){return this.range(t).checkValidIntValue(this.getLong(t),t)},n.range=function(t){if(t instanceof $){if(this.isSupported(t))return t.range();throw new s("Unsupported field: "+t)}return t.rangeRefinedBy(this)},t}(),j=function(t){function n(){return t.apply(this,arguments)||this}return h(n,t),n.prototype.queryFrom=function(t){m("queryFrom")},n}(y);function O(t,n){var e=function(t){function n(){return t.apply(this,arguments)||this}return h(n,t),n}(j);return e.prototype.queryFrom=n,new e(t)}var R,L,D=function(t){function n(n,e){var r;return(r=t.call(this)||this)._ordinal=n,r._name=e,r}h(n,t);var e=n.prototype;return e.ordinal=function(){return this._ordinal},e.name=function(){return this._name},n.values=function(){return R.slice()},n.valueOf=function(t){for(var e=0;e7)throw new i("Invalid value for DayOfWeek: "+t);return R[t-1]},n.from=function(t){if(d(null!=t,"temporal",l),t instanceof n)return t;try{return n.of(t.get($.DAY_OF_WEEK))}catch(n){throw n instanceof i?new i("Unable to obtain DayOfWeek from TemporalAccessor: "+t+", type "+(null!=t.constructor?t.constructor.name:""),n):n}},e.value=function(){return this._ordinal+1},e.displayName=function(t,n){throw new u("Pattern using (localized) text not implemented yet!")},e.isSupported=function(t){return t instanceof $?t===$.DAY_OF_WEEK:null!=t&&t.isSupportedBy(this)},e.range=function(t){if(t===$.DAY_OF_WEEK)return t.range();if(t instanceof $)throw new s("Unsupported field: "+t);return t.rangeRefinedBy(this)},e.get=function(t){return t===$.DAY_OF_WEEK?this.value():this.range(t).checkValidIntValue(this.getLong(t),t)},e.getLong=function(t){if(t===$.DAY_OF_WEEK)return this.value();if(t instanceof $)throw new s("Unsupported field: "+t);return t.getFrom(this)},e.plus=function(t){var n=w.floorMod(t,7);return R[w.floorMod(this._ordinal+(n+7),7)]},e.minus=function(t){return this.plus(-1*w.floorMod(t,7))},e.query=function(t){return t===z.precision()?C.DAYS:t===z.localDate()||t===z.localTime()||t===z.chronology()||t===z.zone()||t===z.zoneId()||t===z.offset()?null:(d(null!=t,"query",l),t.queryFrom(this))},e.adjustInto=function(t){return p(t,"temporal"),t.with($.DAY_OF_WEEK,this.value())},e.equals=function(t){return this===t},e.toString=function(){return this._name},e.compareTo=function(t){return p(t,"other"),_(t,n,"other"),this._ordinal-t._ordinal},e.toJSON=function(){return this.toString()},n}(T),P=function(t){function n(n,e){var r;return(r=t.call(this)||this)._value=w.safeToInt(n),r._name=e,r}h(n,t);var e=n.prototype;return e.value=function(){return this._value},e.ordinal=function(){return this._value-1},e.name=function(){return this._name},e.displayName=function(t,n){throw new u("Pattern using (localized) text not implemented yet!")},e.isSupported=function(t){return null!==t&&(t instanceof $?t===$.MONTH_OF_YEAR:null!=t&&t.isSupportedBy(this))},e.get=function(t){return t===$.MONTH_OF_YEAR?this.value():this.range(t).checkValidIntValue(this.getLong(t),t)},e.getLong=function(t){if(t===$.MONTH_OF_YEAR)return this.value();if(t instanceof $)throw new s("Unsupported field: "+t);return t.getFrom(this)},e.plus=function(t){var e=w.intMod(t,12)+12,r=w.intMod(this.value()+e,12);return r=0===r?12:r,n.of(r)},e.minus=function(t){return this.plus(-1*w.intMod(t,12))},e.length=function(t){switch(this){case n.FEBRUARY:return t?29:28;case n.APRIL:case n.JUNE:case n.SEPTEMBER:case n.NOVEMBER:return 30;default:return 31}},e.minLength=function(){switch(this){case n.FEBRUARY:return 28;case n.APRIL:case n.JUNE:case n.SEPTEMBER:case n.NOVEMBER:return 30;default:return 31}},e.maxLength=function(){switch(this){case n.FEBRUARY:return 29;case n.APRIL:case n.JUNE:case n.SEPTEMBER:case n.NOVEMBER:return 30;default:return 31}},e.firstDayOfYear=function(t){var e=t?1:0;switch(this){case n.JANUARY:return 1;case n.FEBRUARY:return 32;case n.MARCH:return 60+e;case n.APRIL:return 91+e;case n.MAY:return 121+e;case n.JUNE:return 152+e;case n.JULY:return 182+e;case n.AUGUST:return 213+e;case n.SEPTEMBER:return 244+e;case n.OCTOBER:return 274+e;case n.NOVEMBER:return 305+e;case n.DECEMBER:default:return 335+e}},e.firstMonthOfQuarter=function(){switch(this){case n.JANUARY:case n.FEBRUARY:case n.MARCH:return n.JANUARY;case n.APRIL:case n.MAY:case n.JUNE:return n.APRIL;case n.JULY:case n.AUGUST:case n.SEPTEMBER:return n.JULY;case n.OCTOBER:case n.NOVEMBER:case n.DECEMBER:default:return n.OCTOBER}},e.query=function(n){return d(null!=n,"query() parameter must not be null",i),n===z.chronology()?nn.INSTANCE:n===z.precision()?C.MONTHS:t.prototype.query.call(this,n)},e.toString=function(){switch(this){case n.JANUARY:return"JANUARY";case n.FEBRUARY:return"FEBRUARY";case n.MARCH:return"MARCH";case n.APRIL:return"APRIL";case n.MAY:return"MAY";case n.JUNE:return"JUNE";case n.JULY:return"JULY";case n.AUGUST:return"AUGUST";case n.SEPTEMBER:return"SEPTEMBER";case n.OCTOBER:return"OCTOBER";case n.NOVEMBER:return"NOVEMBER";case n.DECEMBER:return"DECEMBER";default:return"unknown Month, value: "+this.value()}},e.toJSON=function(){return this.toString()},e.adjustInto=function(t){return t.with($.MONTH_OF_YEAR,this.value())},e.compareTo=function(t){return p(t,"other"),_(t,n,"other"),this._value-t._value},e.equals=function(t){return this===t},n.valueOf=function(t){for(var e=0;e12)&&d(!1,"Invalid value for MonthOfYear: "+t,i),L[t-1]},n.from=function(t){if(t instanceof n)return t;try{return n.of(t.get($.MONTH_OF_YEAR))}catch(n){throw new i("Unable to obtain Month from TemporalAccessor: "+t+" of type "+(t&&null!=t.constructor?t.constructor.name:""),n)}},n}(T),I=/([-+]?)P(?:([-+]?[0-9]+)Y)?(?:([-+]?[0-9]+)M)?(?:([-+]?[0-9]+)W)?(?:([-+]?[0-9]+)D)?/,q=function(t){function n(e,r,i){var o;o=t.call(this)||this;var s=w.safeToInt(e),a=w.safeToInt(r),u=w.safeToInt(i);return 0===s&&0===a&&0===u?(n.ZERO||(o._years=s,o._months=a,o._days=u,n.ZERO=f(o)),n.ZERO||f(o)):(o._years=s,o._months=a,o._days=u,o)}h(n,t),n.ofYears=function(t){return n.create(t,0,0)},n.ofMonths=function(t){return n.create(0,t,0)},n.ofWeeks=function(t){return n.create(0,0,w.safeMultiply(t,7))},n.ofDays=function(t){return n.create(0,0,t)},n.of=function(t,e,r){return n.create(t,e,r)},n.from=function(t){if(t instanceof n)return t;p(t,"amount");for(var e=0,r=0,o=0,s=t.units(),a=0;an.MAX_SECONDS)throw new i("Zone offset not in valid range: -18:00 to +18:00")},n._validate=function(t,n,e){if(t<-18||t>18)throw new i("Zone offset hours not in valid range: value "+t+" is not in the range -18 to 18");if(t>0){if(n<0||e<0)throw new i("Zone offset minutes and seconds must be positive because hours is positive")}else if(t<0){if(n>0||e>0)throw new i("Zone offset minutes and seconds must be negative because hours is negative")}else if(n>0&&e<0||n<0&&e>0)throw new i("Zone offset minutes and seconds must have the same sign");if(Math.abs(n)>59)throw new i("Zone offset minutes not in valid range: abs(value) "+Math.abs(n)+" is not in the range 0 to 59");if(Math.abs(e)>59)throw new i("Zone offset seconds not in valid range: abs(value) "+Math.abs(e)+" is not in the range 0 to 59");if(18===Math.abs(t)&&(Math.abs(n)>0||Math.abs(e)>0))throw new i("Zone offset not in valid range: -18:00 to +18:00")},n.of=function(t){p(t,"offsetId");var e,r,o,s=J[t];if(null!=s)return s;switch(t.length){case 2:t=t[0]+"0"+t[1];case 3:e=n._parseNumber(t,1,!1),r=0,o=0;break;case 5:e=n._parseNumber(t,1,!1),r=n._parseNumber(t,3,!1),o=0;break;case 6:e=n._parseNumber(t,1,!1),r=n._parseNumber(t,4,!0),o=0;break;case 7:e=n._parseNumber(t,1,!1),r=n._parseNumber(t,3,!1),o=n._parseNumber(t,5,!1);break;case 9:e=n._parseNumber(t,1,!1),r=n._parseNumber(t,4,!0),o=n._parseNumber(t,7,!0);break;default:throw new i("Invalid ID for ZoneOffset, invalid format: "+t)}var a=t[0];if("+"!==a&&"-"!==a)throw new i("Invalid ID for ZoneOffset, plus/minus not found when expected: "+t);return"-"===a?n.ofHoursMinutesSeconds(-e,-r,-o):n.ofHoursMinutesSeconds(e,r,o)},n._parseNumber=function(t,n,e){if(e&&":"!==t[n-1])throw new i("Invalid ID for ZoneOffset, colon not found when expected: "+t);var r=t[n],o=t[n+1];if(r<"0"||r>"9"||o<"0"||o>"9")throw new i("Invalid ID for ZoneOffset, non numeric characters found: "+t);return 10*(r.charCodeAt(0)-48)+(o.charCodeAt(0)-48)},n.ofHours=function(t){return n.ofHoursMinutesSeconds(t,0,0)},n.ofHoursMinutes=function(t,e){return n.ofHoursMinutesSeconds(t,e,0)},n.ofHoursMinutesSeconds=function(t,e,r){n._validate(t,e,r);var i=t*fn.SECONDS_PER_HOUR+e*fn.SECONDS_PER_MINUTE+r;return n.ofTotalSeconds(i)},n.ofTotalMinutes=function(t){var e=t*fn.SECONDS_PER_MINUTE;return n.ofTotalSeconds(e)},n.ofTotalSeconds=function(t){if(t%(15*fn.SECONDS_PER_MINUTE)==0){var e=t,r=Z[e];return null==r&&(r=new n(t),Z[e]=r,J[r.id()]=r),r}return new n(t)},e.rules=function(){return this._rules},e.get=function(t){return this.getLong(t)},e.getLong=function(t){if(t===$.OFFSET_SECONDS)return this._totalSeconds;if(t instanceof $)throw new i("Unsupported field: "+t);return t.getFrom(this)},e.query=function(t){return p(t,"query"),t===z.offset()||t===z.zone()?this:t===z.localDate()||t===z.localTime()||t===z.precision()||t===z.chronology()||t===z.zoneId()?null:t.queryFrom(this)},e.adjustInto=function(t){return t.with($.OFFSET_SECONDS,this._totalSeconds)},e.compareTo=function(t){return p(t,"other"),t._totalSeconds-this._totalSeconds},e.equals=function(t){return this===t||t instanceof n&&this._totalSeconds===t._totalSeconds},e.hashCode=function(){return this._totalSeconds},e.toString=function(){return this._id},n}(Y),tt=function(t){function n(){var n;return(n=t.call(this)||this).fieldValues=new F,n.chrono=null,n.zone=null,n.date=null,n.time=null,n.leapSecond=!1,n.excessDays=null,n}h(n,t),n.create=function(t,e){var r=new n;return r._addFieldValue(t,e),r};var e=n.prototype;return e.getFieldValue0=function(t){return this.fieldValues.get(t)},e._addFieldValue=function(t,n){p(t,"field");var e=this.getFieldValue0(t);if(null!=e&&e!==n)throw new i("Conflict found: "+t+" "+e+" differs from "+t+" "+n+": "+this);return this._putFieldValue0(t,n)},e._putFieldValue0=function(t,n){return this.fieldValues.put(t,n),this},e.resolve=function(t,n){return null!=n&&this.fieldValues.retainAll(n),this._mergeDate(t),this._mergeTime(t),this._resolveTimeInferZeroes(t),null!=this.excessDays&&!1===this.excessDays.isZero()&&null!=this.date&&null!=this.time&&(this.date=this.date.plus(this.excessDays),this.excessDays=q.ZERO),this._resolveInstant(),this},e._mergeDate=function(t){this._checkDate(nn.INSTANCE.resolveDate(this.fieldValues,t))},e._checkDate=function(t){if(null!=t)for(var n in this._addObject(t),this.fieldValues.keySet()){var e=$.byName(n);if(e&&void 0!==this.fieldValues.get(e)&&e.isDateBased()){var r=void 0;try{r=t.getLong(e)}catch(t){if(t instanceof i)continue;throw t}var o=this.fieldValues.get(e);if(r!==o)throw new i("Conflict found: Field "+e+" "+r+" differs from "+e+" "+o+" derived from "+t)}}},e._mergeTime=function(t){if(this.fieldValues.containsKey($.CLOCK_HOUR_OF_DAY)){var n=this.fieldValues.remove($.CLOCK_HOUR_OF_DAY);t!==B.LENIENT&&(t===B.SMART&&0===n||$.CLOCK_HOUR_OF_DAY.checkValidValue(n)),this._addFieldValue($.HOUR_OF_DAY,24===n?0:n)}if(this.fieldValues.containsKey($.CLOCK_HOUR_OF_AMPM)){var e=this.fieldValues.remove($.CLOCK_HOUR_OF_AMPM);t!==B.LENIENT&&(t===B.SMART&&0===e||$.CLOCK_HOUR_OF_AMPM.checkValidValue(e)),this._addFieldValue($.HOUR_OF_AMPM,12===e?0:e)}if(t!==B.LENIENT&&(this.fieldValues.containsKey($.AMPM_OF_DAY)&&$.AMPM_OF_DAY.checkValidValue(this.fieldValues.get($.AMPM_OF_DAY)),this.fieldValues.containsKey($.HOUR_OF_AMPM)&&$.HOUR_OF_AMPM.checkValidValue(this.fieldValues.get($.HOUR_OF_AMPM))),this.fieldValues.containsKey($.AMPM_OF_DAY)&&this.fieldValues.containsKey($.HOUR_OF_AMPM)){var r=this.fieldValues.remove($.AMPM_OF_DAY),i=this.fieldValues.remove($.HOUR_OF_AMPM);this._addFieldValue($.HOUR_OF_DAY,12*r+i)}if(this.fieldValues.containsKey($.NANO_OF_DAY)){var o=this.fieldValues.remove($.NANO_OF_DAY);t!==B.LENIENT&&$.NANO_OF_DAY.checkValidValue(o),this._addFieldValue($.SECOND_OF_DAY,w.intDiv(o,1e9)),this._addFieldValue($.NANO_OF_SECOND,w.intMod(o,1e9))}if(this.fieldValues.containsKey($.MICRO_OF_DAY)){var s=this.fieldValues.remove($.MICRO_OF_DAY);t!==B.LENIENT&&$.MICRO_OF_DAY.checkValidValue(s),this._addFieldValue($.SECOND_OF_DAY,w.intDiv(s,1e6)),this._addFieldValue($.MICRO_OF_SECOND,w.intMod(s,1e6))}if(this.fieldValues.containsKey($.MILLI_OF_DAY)){var a=this.fieldValues.remove($.MILLI_OF_DAY);t!==B.LENIENT&&$.MILLI_OF_DAY.checkValidValue(a),this._addFieldValue($.SECOND_OF_DAY,w.intDiv(a,1e3)),this._addFieldValue($.MILLI_OF_SECOND,w.intMod(a,1e3))}if(this.fieldValues.containsKey($.SECOND_OF_DAY)){var u=this.fieldValues.remove($.SECOND_OF_DAY);t!==B.LENIENT&&$.SECOND_OF_DAY.checkValidValue(u),this._addFieldValue($.HOUR_OF_DAY,w.intDiv(u,3600)),this._addFieldValue($.MINUTE_OF_HOUR,w.intMod(w.intDiv(u,60),60)),this._addFieldValue($.SECOND_OF_MINUTE,w.intMod(u,60))}if(this.fieldValues.containsKey($.MINUTE_OF_DAY)){var c=this.fieldValues.remove($.MINUTE_OF_DAY);t!==B.LENIENT&&$.MINUTE_OF_DAY.checkValidValue(c),this._addFieldValue($.HOUR_OF_DAY,w.intDiv(c,60)),this._addFieldValue($.MINUTE_OF_HOUR,w.intMod(c,60))}if(t!==B.LENIENT&&(this.fieldValues.containsKey($.MILLI_OF_SECOND)&&$.MILLI_OF_SECOND.checkValidValue(this.fieldValues.get($.MILLI_OF_SECOND)),this.fieldValues.containsKey($.MICRO_OF_SECOND)&&$.MICRO_OF_SECOND.checkValidValue(this.fieldValues.get($.MICRO_OF_SECOND))),this.fieldValues.containsKey($.MILLI_OF_SECOND)&&this.fieldValues.containsKey($.MICRO_OF_SECOND)){var l=this.fieldValues.remove($.MILLI_OF_SECOND),h=this.fieldValues.get($.MICRO_OF_SECOND);this._putFieldValue0($.MICRO_OF_SECOND,1e3*l+w.intMod(h,1e3))}if(this.fieldValues.containsKey($.MICRO_OF_SECOND)&&this.fieldValues.containsKey($.NANO_OF_SECOND)){var f=this.fieldValues.get($.NANO_OF_SECOND);this._putFieldValue0($.MICRO_OF_SECOND,w.intDiv(f,1e3)),this.fieldValues.remove($.MICRO_OF_SECOND)}if(this.fieldValues.containsKey($.MILLI_OF_SECOND)&&this.fieldValues.containsKey($.NANO_OF_SECOND)){var d=this.fieldValues.get($.NANO_OF_SECOND);this._putFieldValue0($.MILLI_OF_SECOND,w.intDiv(d,1e6)),this.fieldValues.remove($.MILLI_OF_SECOND)}if(this.fieldValues.containsKey($.MICRO_OF_SECOND)){var p=this.fieldValues.remove($.MICRO_OF_SECOND);this._putFieldValue0($.NANO_OF_SECOND,1e3*p)}else if(this.fieldValues.containsKey($.MILLI_OF_SECOND)){var _=this.fieldValues.remove($.MILLI_OF_SECOND);this._putFieldValue0($.NANO_OF_SECOND,1e6*_)}},e._resolveTimeInferZeroes=function(t){var n=this.fieldValues.get($.HOUR_OF_DAY),e=this.fieldValues.get($.MINUTE_OF_HOUR),r=this.fieldValues.get($.SECOND_OF_MINUTE),i=this.fieldValues.get($.NANO_OF_SECOND);if(null!=n&&(null!=e||null==r&&null==i)&&(null==e||null!=r||null==i)){if(t!==B.LENIENT){if(null!=n){t!==B.SMART||24!==n||null!=e&&0!==e||null!=r&&0!==r||null!=i&&0!==i||(n=0,this.excessDays=q.ofDays(1));var o=$.HOUR_OF_DAY.checkValidIntValue(n);if(null!=e){var s=$.MINUTE_OF_HOUR.checkValidIntValue(e);if(null!=r){var a=$.SECOND_OF_MINUTE.checkValidIntValue(r);if(null!=i){var u=$.NANO_OF_SECOND.checkValidIntValue(i);this._addObject(fn.of(o,s,a,u))}else this._addObject(fn.of(o,s,a))}else null==i&&this._addObject(fn.of(o,s))}else null==r&&null==i&&this._addObject(fn.of(o,0))}}else if(null!=n){var c=n;if(null!=e)if(null!=r){null==i&&(i=0);var l=w.safeMultiply(c,36e11);l=w.safeAdd(l,w.safeMultiply(e,6e10)),l=w.safeAdd(l,w.safeMultiply(r,1e9)),l=w.safeAdd(l,i);var h=w.floorDiv(l,864e11),f=w.floorMod(l,864e11);this._addObject(fn.ofNanoOfDay(f)),this.excessDays=q.ofDays(h)}else{var d=w.safeMultiply(c,3600);d=w.safeAdd(d,w.safeMultiply(e,60));var p=w.floorDiv(d,86400),_=w.floorMod(d,86400);this._addObject(fn.ofSecondOfDay(_)),this.excessDays=q.ofDays(p)}else{var m=w.safeToInt(w.floorDiv(c,24));c=w.floorMod(c,24),this._addObject(fn.of(c,0)),this.excessDays=q.ofDays(m)}}this.fieldValues.remove($.HOUR_OF_DAY),this.fieldValues.remove($.MINUTE_OF_HOUR),this.fieldValues.remove($.SECOND_OF_MINUTE),this.fieldValues.remove($.NANO_OF_SECOND)}},e._addObject=function(t){t instanceof W?this.date=t:t instanceof fn&&(this.time=t)},e._resolveInstant=function(){if(null!=this.date&&null!=this.time){var t=this.fieldValues.get($.OFFSET_SECONDS);if(null!=t){var n=Q.ofTotalSeconds(t),e=this.date.atTime(this.time).atZone(n).getLong($.INSTANT_SECONDS);this.fieldValues.put($.INSTANT_SECONDS,e)}else if(null!=this.zone){var r=this.date.atTime(this.time).atZone(this.zone).getLong($.INSTANT_SECONDS);this.fieldValues.put($.INSTANT_SECONDS,r)}}},e.build=function(t){return t.queryFrom(this)},e.isSupported=function(t){return null!=t&&(this.fieldValues.containsKey(t)&&void 0!==this.fieldValues.get(t)||null!=this.date&&this.date.isSupported(t)||null!=this.time&&this.time.isSupported(t))},e.getLong=function(t){p(t,"field");var n=this.getFieldValue0(t);if(null==n){if(null!=this.date&&this.date.isSupported(t))return this.date.getLong(t);if(null!=this.time&&this.time.isSupported(t))return this.time.getLong(t);throw new i("Field not found: "+t)}return n},e.query=function(t){return t===z.zoneId()?this.zone:t===z.chronology()?this.chrono:t===z.localDate()?null!=this.date?cn.from(this.date):null:t===z.localTime()?this.time:t===z.zone()||t===z.offset()?t.queryFrom(this):t===z.precision()?null:t.queryFrom(this)},n}(T),nt=function(){function t(){if(1===arguments.length){if(arguments[0]instanceof t)return void this._constructorSelf.apply(this,arguments);this._constructorFormatter.apply(this,arguments)}else this._constructorParam.apply(this,arguments);this._caseSensitive=!0,this._strict=!0,this._parsed=[new et(this)]}var n=t.prototype;return n._constructorParam=function(t,n,e){this._locale=t,this._symbols=n,this._overrideChronology=e},n._constructorFormatter=function(t){this._locale=t.locale(),this._symbols=t.decimalStyle(),this._overrideChronology=t.chronology()},n._constructorSelf=function(t){this._locale=t._locale,this._symbols=t._symbols,this._overrideChronology=t._overrideChronology,this._overrideZone=t._overrideZone,this._caseSensitive=t._caseSensitive,this._strict=t._strict,this._parsed=[new et(this)]},n.copy=function(){return new t(this)},n.symbols=function(){return this._symbols},n.isStrict=function(){return this._strict},n.setStrict=function(t){this._strict=t},n.locale=function(){return this._locale},n.setLocale=function(t){this._locale=t},n.startOptional=function(){this._parsed.push(this.currentParsed().copy())},n.endOptional=function(t){t?this._parsed.splice(this._parsed.length-2,1):this._parsed.splice(this._parsed.length-1,1)},n.isCaseSensitive=function(){return this._caseSensitive},n.setCaseSensitive=function(t){this._caseSensitive=t},n.subSequenceEquals=function(t,n,e,r,i){if(n+i>t.length||r+i>e.length)return!1;this.isCaseSensitive()||(t=t.toLowerCase(),e=e.toLowerCase());for(var o=0;o0)return null;throw t}},n.temporal=function(){return this._temporal},n.locale=function(){return this._locale},n.setDateTime=function(t){this._temporal=t},n.setLocale=function(t){this._locale=t},t}(),it={},ot=[0,90,181,273,0,91,182,274],st=function(t){function n(){return t.apply(this,arguments)||this}h(n,t);var e=n.prototype;return e.isDateBased=function(){return!0},e.isTimeBased=function(){return!1},e._isIso=function(){return!0},n._getWeekRangeByLocalDate=function(t){var e=n._getWeekBasedYear(t);return M.of(1,n._getWeekRangeByYear(e))},n._getWeekRangeByYear=function(t){var n=cn.of(t,1,1);return n.dayOfWeek()===D.THURSDAY||n.dayOfWeek()===D.WEDNESDAY&&n.isLeapYear()?53:52},n._getWeek=function(t){var e=t.dayOfWeek().ordinal(),r=t.dayOfYear()-1,i=r+(3-e),o=i-7*w.intDiv(i,7)-3;if(o<-3&&(o+=7),r=363){var r=t.dayOfWeek().ordinal();(e=e-363-(t.isLeapYear()?1:0))-r>=0&&n++}return n},e.displayName=function(){return this.toString()},e.resolve=function(){return null},e.name=function(){return this.toString()},n}(E),at=function(t){function n(){return t.apply(this,arguments)||this}h(n,t);var e=n.prototype;return e.toString=function(){return"DayOfQuarter"},e.baseUnit=function(){return C.DAYS},e.rangeUnit=function(){return vt},e.range=function(){return M.of(1,90,92)},e.isSupportedBy=function(t){return t.isSupported($.DAY_OF_YEAR)&&t.isSupported($.MONTH_OF_YEAR)&&t.isSupported($.YEAR)&&this._isIso(t)},e.rangeRefinedBy=function(t){if(!1===t.isSupported(this))throw new s("Unsupported field: DayOfQuarter");var n=t.getLong(dt);if(1===n){var e=t.getLong($.YEAR);return nn.isLeapYear(e)?M.of(1,91):M.of(1,90)}return 2===n?M.of(1,91):3===n||4===n?M.of(1,92):this.range()},e.getFrom=function(t){if(!1===t.isSupported(this))throw new s("Unsupported field: DayOfQuarter");var n=t.get($.DAY_OF_YEAR),e=t.get($.MONTH_OF_YEAR),r=t.getLong($.YEAR);return n-ot[w.intDiv(e-1,3)+(nn.isLeapYear(r)?4:0)]},e.adjustInto=function(t,n){var e=this.getFrom(t);return this.range().checkValidValue(n,this),t.with($.DAY_OF_YEAR,t.getLong($.DAY_OF_YEAR)+(n-e))},e.resolve=function(t,n,e){var r=t.get($.YEAR),i=t.get(dt);if(null==r||null==i)return null;var o,s=$.YEAR.checkValidIntValue(r),a=t.get(ft);if(e===B.LENIENT){var u=i;o=(o=(o=cn.of(s,1,1)).plusMonths(w.safeMultiply(w.safeSubtract(u,1),3))).plusDays(w.safeSubtract(a,1))}else{var c=dt.range().checkValidIntValue(i,dt);if(e===B.STRICT){var l=92;1===c?l=nn.isLeapYear(s)?91:90:2===c&&(l=91),M.of(1,l).checkValidValue(a,this)}else this.range().checkValidValue(a,this);o=cn.of(s,3*(c-1)+1,1).plusDays(a-1)}return t.remove(this),t.remove($.YEAR),t.remove(dt),o},n}(st),ut=function(t){function n(){return t.apply(this,arguments)||this}h(n,t);var e=n.prototype;return e.toString=function(){return"QuarterOfYear"},e.baseUnit=function(){return vt},e.rangeUnit=function(){return C.YEARS},e.range=function(){return M.of(1,4)},e.isSupportedBy=function(t){return t.isSupported($.MONTH_OF_YEAR)&&this._isIso(t)},e.rangeRefinedBy=function(t){return this.range()},e.getFrom=function(t){if(!1===t.isSupported(this))throw new s("Unsupported field: QuarterOfYear");var n=t.getLong($.MONTH_OF_YEAR);return w.intDiv(n+2,3)},e.adjustInto=function(t,n){var e=this.getFrom(t);return this.range().checkValidValue(n,this),t.with($.MONTH_OF_YEAR,t.getLong($.MONTH_OF_YEAR)+3*(n-e))},n}(st),ct=function(t){function n(){return t.apply(this,arguments)||this}h(n,t);var e=n.prototype;return e.toString=function(){return"WeekOfWeekBasedYear"},e.baseUnit=function(){return C.WEEKS},e.rangeUnit=function(){return mt},e.range=function(){return M.of(1,52,53)},e.isSupportedBy=function(t){return t.isSupported($.EPOCH_DAY)&&this._isIso(t)},e.rangeRefinedBy=function(t){if(!1===t.isSupported(this))throw new s("Unsupported field: WeekOfWeekBasedYear");return st._getWeekRangeByLocalDate(cn.from(t))},e.getFrom=function(t){if(!1===t.isSupported(this))throw new s("Unsupported field: WeekOfWeekBasedYear");return st._getWeek(cn.from(t))},e.adjustInto=function(t,n){return this.range().checkValidValue(n,this),t.plus(w.safeSubtract(n,this.getFrom(t)),C.WEEKS)},e.resolve=function(t,n,e){var r=t.get(_t),i=t.get($.DAY_OF_WEEK);if(null==r||null==i)return null;var o,s=_t.range().checkValidIntValue(r,_t),a=t.get(pt);if(e===B.LENIENT){var u=i,c=0;u>7?(c=w.intDiv(u-1,7),u=w.intMod(u-1,7)+1):u<1&&(c=w.intDiv(u,7)-1,u=w.intMod(u,7)+7),o=cn.of(s,1,4).plusWeeks(a-1).plusWeeks(c).with($.DAY_OF_WEEK,u)}else{var l=$.DAY_OF_WEEK.checkValidIntValue(i);if(e===B.STRICT){var h=cn.of(s,1,4);st._getWeekRangeByLocalDate(h).checkValidValue(a,this)}else this.range().checkValidValue(a,this);o=cn.of(s,1,4).plusWeeks(a-1).with($.DAY_OF_WEEK,l)}return t.remove(this),t.remove(_t),t.remove($.DAY_OF_WEEK),o},e.displayName=function(){return"Week"},n}(st),lt=function(t){function n(){return t.apply(this,arguments)||this}h(n,t);var e=n.prototype;return e.toString=function(){return"WeekBasedYear"},e.baseUnit=function(){return mt},e.rangeUnit=function(){return C.FOREVER},e.range=function(){return $.YEAR.range()},e.isSupportedBy=function(t){return t.isSupported($.EPOCH_DAY)&&this._isIso(t)},e.rangeRefinedBy=function(t){return $.YEAR.range()},e.getFrom=function(t){if(!1===t.isSupported(this))throw new s("Unsupported field: WeekBasedYear");return st._getWeekBasedYear(cn.from(t))},e.adjustInto=function(t,n){if(!1===this.isSupportedBy(t))throw new s("Unsupported field: WeekBasedYear");var e=this.range().checkValidIntValue(n,_t),r=cn.from(t),i=r.get($.DAY_OF_WEEK),o=st._getWeek(r);53===o&&52===st._getWeekRangeByYear(e)&&(o=52);var a=cn.of(e,1,4),u=i-a.get($.DAY_OF_WEEK)+7*(o-1);return a=a.plusDays(u),t.with(a)},n}(st),ht=function(t){function n(n,e){var r;return(r=t.call(this)||this)._name=n,r._duration=e,r}h(n,t);var e=n.prototype;return e.duration=function(){return this._duration},e.isDurationEstimated=function(){return!0},e.isDateBased=function(){return!0},e.isTimeBased=function(){return!1},e.isSupportedBy=function(t){return t.isSupported($.EPOCH_DAY)},e.addTo=function(t,n){switch(this){case mt:var e=w.safeAdd(t.get(_t),n);return t.with(_t,e);case vt:return t.plus(w.intDiv(n,256),C.YEARS).plus(3*w.intMod(n,256),C.MONTHS);default:throw new c("Unreachable")}},e.between=function(t,n){switch(this){case mt:return w.safeSubtract(n.getLong(_t),t.getLong(_t));case vt:return w.intDiv(t.until(n,C.MONTHS),3);default:throw new c("Unreachable")}},e.toString=function(){return name},n}(k),ft=null,dt=null,pt=null,_t=null,mt=null,vt=null,gt=function(){function t(t,n,e,r){this._zeroDigit=t,this._zeroDigitCharCode=t.charCodeAt(0),this._positiveSign=n,this._negativeSign=e,this._decimalSeparator=r}var n=t.prototype;return n.positiveSign=function(){return this._positiveSign},n.withPositiveSign=function(n){return n===this._positiveSign?this:new t(this._zeroDigit,n,this._negativeSign,this._decimalSeparator)},n.negativeSign=function(){return this._negativeSign},n.withNegativeSign=function(n){return n===this._negativeSign?this:new t(this._zeroDigit,this._positiveSign,n,this._decimalSeparator)},n.zeroDigit=function(){return this._zeroDigit},n.withZeroDigit=function(n){return n===this._zeroDigit?this:new t(n,this._positiveSign,this._negativeSign,this._decimalSeparator)},n.decimalSeparator=function(){return this._decimalSeparator},n.withDecimalSeparator=function(n){return n===this._decimalSeparator?this:new t(this._zeroDigit,this._positiveSign,this._negativeSign,n)},n.convertToDigit=function(t){var n=t.charCodeAt(0)-this._zeroDigitCharCode;return n>=0&&n<=9?n:-1},n.convertNumberToI18N=function(t){if("0"===this._zeroDigit)return t;for(var n=this._zeroDigitCharCode-"0".charCodeAt(0),e="",r=0;r1)throw new u('invalid literal, too long: "'+t+'"');this._literal=t}var n=t.prototype;return n.print=function(t,n){return n.append(this._literal),!0},n.parse=function(t,n,e){if(e===n.length)return~e;var r=n.charAt(e);return!1===t.charEquals(this._literal,r)?~e:e+this._literal.length},n.toString=function(){return"'"===this._literal?"''":"'"+this._literal+"'"},t}(),xt=function(){function t(t,n){this._printerParsers=t,this._optional=n}var n=t.prototype;return n.withOptional=function(n){return n===this._optional?this:new t(this._printerParsers,n)},n.print=function(t,n){var e=n.length();this._optional&&t.startOptional();try{for(var r=0;r9)throw new u("Minimum width must be from 0 to 9 inclusive but was "+n);if(e<1||e>9)throw new u("Maximum width must be from 1 to 9 inclusive but was "+e);if(e0){this.decimalPoint&&n.append(r.decimalSeparator());for(var i=0;i0)for(;o.length>this.minWidth&&"0"===o[o.length-1];)o=o.substr(0,o.length-1);var a=o;a=r.convertNumberToI18N(a),this.decimalPoint&&n.append(r.decimalSeparator()),n.append(a)}return!0},n.parse=function(t,n,e){var r=t.isStrict()?this.minWidth:0,i=t.isStrict()?this.maxWidth:9,o=n.length;if(e===o)return r>0?~e:e;if(this.decimalPoint){if(n[e]!==t.symbols().decimalSeparator())return r>0?~e:e;e++}var s=e+r;if(s>o)return~e;for(var a=Math.min(e+i,o),u=0,c=e;c0&&this._minWidth===this._maxWidth&&this._signStyle===bt.NOT_NEGATIVE},n.print=function(t,n){var e=t.getValue(this._field);if(null==e)return!1;var r=this._getValue(t,e),o=t.symbols(),s=""+Math.abs(r);if(s.length>this._maxWidth)throw new i("Field "+this._field+" cannot be printed as the value "+r+" exceeds the maximum print width of "+this._maxWidth);if(s=o.convertNumberToI18N(s),r>=0)switch(this._signStyle){case bt.EXCEEDS_PAD:this._minWidth<15&&r>=St[this._minWidth]&&n.append(o.positiveSign());break;case bt.ALWAYS:n.append(o.positiveSign())}else switch(this._signStyle){case bt.NORMAL:case bt.EXCEEDS_PAD:case bt.ALWAYS:n.append(o.negativeSign());break;case bt.NOT_NEGATIVE:throw new i("Field "+this._field+" cannot be printed as the value "+r+" cannot be negative according to the SignStyle")}for(var a=0;a=0&&er)return~e;for(var l=(t.isStrict()||this._isFixedWidth()?this._maxWidth:9)+Math.max(this._subsequentWidth,0),h=0,f=e,p=0;p<2;p++){for(var _=Math.min(f+l,r);f<_;){var m=n.charAt(f++),v=t.symbols().convertToDigit(m);if(v<0){if(--f15)throw new a("number text exceeds length");h=10*h+v}if(!(this._subsequentWidth>0&&0===p))break;var g=f-e;l=Math.max(u,g-this._subsequentWidth),f=e,h=0}if(o){if(0===h&&t.isStrict())return~(e-1);0!==h&&(h=-h)}else if(this._signStyle===bt.EXCEEDS_PAD&&t.isStrict()){var b=f-e;if(s){if(b<=this._minWidth)return~(e-1)}else if(b>this._minWidth)return~e}return this._setValue(t,h,e,f)},n._getValue=function(t,n){return n},n._setValue=function(t,n,e,r){return t.setParsedField(this._field,n,e,r)},n.toString=function(){return 1===this._minWidth&&15===this._maxWidth&&this._signStyle===bt.NORMAL?"Value("+this._field+")":this._minWidth===this._maxWidth&&this._signStyle===bt.NOT_NEGATIVE?"Value("+this._field+","+this._minWidth+")":"Value("+this._field+","+this._minWidth+","+this._maxWidth+","+this._signStyle+")"},t}(),Ct=function(t){function n(n,e,r,o,s){var a;if(a=t.call(this,n,e,r,bt.NOT_NEGATIVE)||this,e<1||e>10)throw new u("The width must be from 1 to 10 inclusive but was "+e);if(r<1||r>10)throw new u("The maxWidth must be from 1 to 10 inclusive but was "+r);if(rw.MAX_SAFE_INTEGER)throw new i("Unable to add printer-parser as the range exceeds the capacity of an int")}return a._baseValue=o,a._baseDate=s,a}h(n,t);var e=n.prototype;return e._getValue=function(t,n){var e=Math.abs(n),r=this._baseValue;return null!==this._baseDate&&(t.temporal(),r=nn.INSTANCE.date(this._baseDate).get(this._field)),n>=r&&n=0){var o=St[this._minWidth],s=i-i%o;(n=i>0?s+n:s-n)=3||this.type>=1&&o>0)&&(n.append(this.type%2==0?":":"").appendChar(w.intDiv(o,10)+"0").appendChar(o%10+"0"),u+=o,(this.type>=7||this.type>=5&&s>0)&&(n.append(this.type%2==0?":":"").appendChar(w.intDiv(s,10)+"0").appendChar(s%10+"0"),u+=s)),0===u&&(n.setLength(a),n.append(this.noOffsetText))}return!0},n.parse=function(t,n,e){var r=n.length,i=this.noOffsetText.length;if(0===i){if(e===r)return t.setParsedField($.OFFSET_SECONDS,0,e,e)}else{if(e===r)return~e;if(t.subSequenceEquals(n,e,this.noOffsetText,0,i))return t.setParsedField($.OFFSET_SECONDS,0,e,e+i)}var o=n[e];if("+"===o||"-"===o){var s="-"===o?-1:1,a=[0,0,0,0];if(a[0]=e+1,!1===(this._parseNumber(a,1,n,!0)||this._parseNumber(a,2,n,this.type>=3)||this._parseNumber(a,3,n,!1))){var u=w.safeZero(s*(3600*a[1]+60*a[2]+a[3]));return t.setParsedField($.OFFSET_SECONDS,u,e,a[0])}}return 0===i?t.setParsedField($.OFFSET_SECONDS,0,e,e+i):~e},n._parseNumber=function(t,n,e,r){if((this.type+3)/21){if(i+1>e.length||":"!==e[i])return r;i++}if(i+2>e.length)return r;var o=e[i++],s=e[i++];if(o<"0"||o>"9"||s<"0"||s>"9")return r;var a=10*(o.charCodeAt(0)-48)+(s.charCodeAt(0)-48);return a<0||a>59?r:(t[n]=a,t[0]=i,!1)},n.toString=function(){var t=this.noOffsetText.replace("'","''");return"Offset("+Et[this.type]+",'"+t+"')"},t}();Mt.INSTANCE_ID=new Mt("Z","+HH:MM:ss"),Mt.PATTERNS=Et;var $t=function(){function t(t,n,e){this._printerParser=t,this._padWidth=n,this._padChar=e}var n=t.prototype;return n.print=function(t,n){var e=n.length();if(!1===this._printerParser.print(t,n))return!1;var r=n.length()-e;if(r>this._padWidth)throw new i("Cannot print as output of "+r+" characters exceeds pad width of "+this._padWidth);for(var o=0;on.length)),d(e>=0),e===n.length)return~e;var o=e+this._padWidth;if(o>n.length){if(r)return~e;o=n.length}for(var s=e;sn.length||e<0)),!1===t.subSequenceEquals(n,e,this._literal,0,this._literal.length)?~e:e+this._literal.length},n.toString=function(){return"'"+this._literal.replace("'","''")+"'"},t}(),Lt=function(){function t(){}return t.getRules=function(t){throw new i("unsupported ZoneId:"+t)},t.getAvailableZoneIds=function(){return[]},t}(),Dt=function(t){function n(n,e){var r;return(r=t.call(this)||this)._id=n,r._rules=e,r}h(n,t),n.ofId=function(t){return new n(t,Lt.getRules(t))};var e=n.prototype;return e.id=function(){return this._id},e.rules=function(){return this._rules},n}(Y),Pt=function(){function t(t,n){this.query=t,this.description=n}var n=t.prototype;return n.print=function(t,n){var e=t.getValueQuery(this.query);return null!=e&&(n.append(e.id()),!0)},n.parse=function(t,n,e){var r=n.length;if(e>r)return~e;if(e===r)return~e;var i=n.charAt(e);if("+"===i||"-"===i){var o=t.copy(),s=Mt.INSTANCE_ID.parse(o,n,e);if(s<0)return s;var a=o.getParsed($.OFFSET_SECONDS),u=Q.ofTotalSeconds(a);return t.setParsedZone(u),s}if(r>=e+2){var c=n.charAt(e+1);if(t.charEquals(i,"U")&&t.charEquals(c,"T"))return r>=e+3&&t.charEquals(n.charAt(e+2),"C")?this._parsePrefixedOffset(t,n,e,e+3):this._parsePrefixedOffset(t,n,e,e+2);if(t.charEquals(i,"G")&&r>=e+3&&t.charEquals(c,"M")&&t.charEquals(n.charAt(e+2),"T"))return this._parsePrefixedOffset(t,n,e,e+3)}if("SYSTEM"===n.substr(e,6))return t.setParsedZone(Y.systemDefault()),e+6;if(t.charEquals(i,"Z"))return t.setParsedZone(Q.UTC),e+1;var l=Lt.getAvailableZoneIds();Nt.size!==l.length&&(Nt=It.createTreeMap(l));for(var h=r-e,f=Nt.treeMap,d=null,p=0;null!=f;){var _=n.substr(e,Math.min(f.length,h));null!=(f=f.get(_))&&f.isLeaf&&(d=_,p=f.length)}return null!=d?(t.setParsedZone(Dt.ofId(d)),e+p):~e},n._parsePrefixedOffset=function(t,n,e,r){var i=n.substring(e,r).toUpperCase(),o=t.copy();if(rthis.length){var r=n.substr(0,this.length),i=this._treeMap[r];null==i&&(i=new t(e,!1),this._treeMap[r]=i),i.add(n)}},n.get=function(t){return this._treeMap[t]},t}(),Nt=new It([]),Ft=15,Bt=function(){function t(){this._active=this,this._parent=null,this._printerParsers=[],this._optional=!1,this._padNextWidth=0,this._padNextChar=null,this._valueParserIndex=-1}t._of=function(n,e){p(n,"parent"),p(e,"optional");var r=new t;return r._parent=n,r._optional=e,r};var n=t.prototype;return n.parseCaseSensitive=function(){return this._appendInternalPrinterParser(zt.SENSITIVE),this},n.parseCaseInsensitive=function(){return this._appendInternalPrinterParser(zt.INSENSITIVE),this},n.parseStrict=function(){return this._appendInternalPrinterParser(zt.STRICT),this},n.parseLenient=function(){return this._appendInternalPrinterParser(zt.LENIENT),this},n.appendValue=function(){return 1===arguments.length?this._appendValue1.apply(this,arguments):2===arguments.length?this._appendValue2.apply(this,arguments):this._appendValue4.apply(this,arguments)},n._appendValue1=function(t){return p(t),this._appendValuePrinterParser(new At(t,1,Ft,bt.NORMAL)),this},n._appendValue2=function(t,n){if(p(t),n<1||n>Ft)throw new u("The width must be from 1 to 15 inclusive but was "+n);var e=new At(t,n,n,bt.NOT_NEGATIVE);return this._appendValuePrinterParser(e),this},n._appendValue4=function(t,n,e,r){if(p(t),p(r),n===e&&r===bt.NOT_NEGATIVE)return this._appendValue2(t,e);if(n<1||n>Ft)throw new u("The minimum width must be from 1 to 15 inclusive but was "+n);if(e<1||e>Ft)throw new u("The minimum width must be from 1 to 15 inclusive but was "+e);if(e=0&&this._active._printerParsers[this._active._valueParserIndex]instanceof At){var n=this._active._valueParserIndex,e=this._active._printerParsers[n];t.minWidth()===t.maxWidth()&&t.signStyle()===bt.NOT_NEGATIVE?(e=e.withSubsequentWidth(t.maxWidth()),this._appendInternal(t.withFixedWidth()),this._active._valueParserIndex=n):(e=e.withFixedWidth(),this._active._valueParserIndex=this._appendInternal(t)),this._active._printerParsers[n]=e}else this._active._valueParserIndex=this._appendInternal(t);return this},n.appendFraction=function(t,n,e,r){return this._appendInternal(new kt(t,n,e,r)),this},n.appendInstant=function(t){if(void 0===t&&(t=-2),t<-2||t>9)throw new u("Invalid fractional digits: "+t);return this._appendInternal(new Vt(t)),this},n.appendOffsetId=function(){return this._appendInternal(Mt.INSTANCE_ID),this},n.appendOffset=function(t,n){return this._appendInternalPrinterParser(new Mt(n,t)),this},n.appendZoneId=function(){return this._appendInternal(new Pt(z.zoneId(),"ZoneId()")),this},n.appendPattern=function(t){return p(t,"pattern"),this._parsePattern(t),this},n.appendZoneText=function(){throw new u("Pattern using (localized) text not implemented, use js-joda-locale plugin!")},n.appendText=function(){throw new u("Pattern using (localized) text not implemented, use js-joda-locale plugin!")},n.appendLocalizedOffset=function(){throw new u("Pattern using (localized) text not implemented, use js-joda-locale plugin!")},n.appendWeekField=function(){throw new u("Pattern using (localized) text not implemented, use js-joda-locale plugin!")},n._parsePattern=function(t){for(var n={G:$.ERA,y:$.YEAR_OF_ERA,u:$.YEAR,Q:it.QUARTER_OF_YEAR,q:it.QUARTER_OF_YEAR,M:$.MONTH_OF_YEAR,L:$.MONTH_OF_YEAR,D:$.DAY_OF_YEAR,d:$.DAY_OF_MONTH,F:$.ALIGNED_DAY_OF_WEEK_IN_MONTH,E:$.DAY_OF_WEEK,c:$.DAY_OF_WEEK,e:$.DAY_OF_WEEK,a:$.AMPM_OF_DAY,H:$.HOUR_OF_DAY,k:$.CLOCK_HOUR_OF_DAY,K:$.HOUR_OF_AMPM,h:$.CLOCK_HOUR_OF_AMPM,m:$.MINUTE_OF_HOUR,s:$.SECOND_OF_MINUTE,S:$.NANO_OF_SECOND,A:$.MILLI_OF_DAY,n:$.NANO_OF_SECOND,N:$.NANO_OF_DAY},e=0;e="A"&&r<="Z"||r>="a"&&r<="z"){for(var i=e++;e="A"&&r<="Z"||r>="a"&&r<="z")){for(s=o,i=e++;e4)throw new u("Too many pattern letters: "+r);4===o?this.appendZoneText(wt.FULL):this.appendZoneText(wt.SHORT)}else if("V"===r){if(2!==o)throw new u("Pattern letter count must be 2: "+r);this.appendZoneId()}else if("Z"===r)if(o<4)this.appendOffset("+HHMM","+0000");else if(4===o)this.appendLocalizedOffset(wt.FULL);else{if(5!==o)throw new u("Too many pattern letters: "+r);this.appendOffset("+HH:MM:ss","Z")}else if("O"===r)if(1===o)this.appendLocalizedOffset(wt.SHORT);else{if(4!==o)throw new u("Pattern letter count must be 1 or 4: "+r);this.appendLocalizedOffset(wt.FULL)}else if("X"===r){if(o>5)throw new u("Too many pattern letters: "+r);this.appendOffset(Mt.PATTERNS[o+(1===o?0:1)],"Z")}else if("x"===r){if(o>5)throw new u("Too many pattern letters: "+r);var c=1===o?"+00":o%2==0?"+0000":"+00:00";this.appendOffset(Mt.PATTERNS[o+(1===o?0:1)],c)}else if("W"===r){if(o>1)throw new u("Too many pattern letters: "+r);this.appendWeekField("W",o)}else if("w"===r){if(o>2)throw new u("Too many pattern letters: "+r);this.appendWeekField("w",o)}else{if("Y"!==r)throw new u("Unknown pattern letter: "+r);this.appendWeekField("Y",o)}e--}else if("'"===r){for(var l=e++;e=t.length)throw new u("Pattern ends with an incomplete string literal: "+t);var h=t.substring(l+1,e);0===h.length?this.appendLiteral("'"):this.appendLiteral(h.replace("''","'"))}else if("["===r)this.optionalStart();else if("]"===r){if(null===this._active._parent)throw new u("Pattern invalid as it contains ] without previous [");this.optionalEnd()}else{if("{"===r||"}"===r||"#"===r)throw new u("Pattern includes reserved character: '"+r+"'");this.appendLiteral(r)}}},n._parseField=function(t,n,e){switch(t){case"u":case"y":2===n?this.appendValueReduced(e,2,2,Ct.BASE_DATE):n<4?this.appendValue(e,n,Ft,bt.NORMAL):this.appendValue(e,n,Ft,bt.EXCEEDS_PAD);break;case"M":case"Q":switch(n){case 1:this.appendValue(e);break;case 2:this.appendValue(e,2);break;case 3:this.appendText(e,wt.SHORT);break;case 4:this.appendText(e,wt.FULL);break;case 5:this.appendText(e,wt.NARROW);break;default:throw new u("Too many pattern letters: "+t)}break;case"L":case"q":switch(n){case 1:this.appendValue(e);break;case 2:this.appendValue(e,2);break;case 3:this.appendText(e,wt.SHORT_STANDALONE);break;case 4:this.appendText(e,wt.FULL_STANDALONE);break;case 5:this.appendText(e,wt.NARROW_STANDALONE);break;default:throw new u("Too many pattern letters: "+t)}break;case"e":switch(n){case 1:case 2:this.appendWeekField("e",n);break;case 3:this.appendText(e,wt.SHORT);break;case 4:this.appendText(e,wt.FULL);break;case 5:this.appendText(e,wt.NARROW);break;default:throw new u("Too many pattern letters: "+t)}break;case"c":switch(n){case 1:this.appendWeekField("c",n);break;case 2:throw new u("Invalid number of pattern letters: "+t);case 3:this.appendText(e,wt.SHORT_STANDALONE);break;case 4:this.appendText(e,wt.FULL_STANDALONE);break;case 5:this.appendText(e,wt.NARROW_STANDALONE);break;default:throw new u("Too many pattern letters: "+t)}break;case"a":if(1!==n)throw new u("Too many pattern letters: "+t);this.appendText(e,wt.SHORT);break;case"E":case"G":switch(n){case 1:case 2:case 3:this.appendText(e,wt.SHORT);break;case 4:this.appendText(e,wt.FULL);break;case 5:this.appendText(e,wt.NARROW);break;default:throw new u("Too many pattern letters: "+t)}break;case"S":this.appendFraction($.NANO_OF_SECOND,n,n,!1);break;case"F":if(1!==n)throw new u("Too many pattern letters: "+t);this.appendValue(e);break;case"d":case"h":case"H":case"k":case"K":case"m":case"s":if(1===n)this.appendValue(e);else{if(2!==n)throw new u("Too many pattern letters: "+t);this.appendValue(e,n)}break;case"D":if(1===n)this.appendValue(e);else{if(!(n<=3))throw new u("Too many pattern letters: "+t);this.appendValue(e,n)}break;default:1===n?this.appendValue(e):this.appendValue(e,n)}},n.padNext=function(){return 1===arguments.length?this._padNext1.apply(this,arguments):this._padNext2.apply(this,arguments)},n._padNext1=function(t){return this._padNext2(t," ")},n._padNext2=function(t,n){if(t<1)throw new u("The pad width must be at least one but was "+t);return this._active._padNextWidth=t,this._active._padNextChar=n,this._active._valueParserIndex=-1,this},n.optionalStart=function(){return this._active._valueParserIndex=-1,this._active=t._of(this._active,!0),this},n.optionalEnd=function(){if(null==this._active._parent)throw new c("Cannot call optionalEnd() as there was no previous call to optionalStart()");if(this._active._printerParsers.length>0){var t=new xt(this._active._printerParsers,this._active._optional);this._active=this._active._parent,this._appendInternal(t)}else this._active=this._active._parent;return this},n._appendInternal=function(t){return d(null!=t),this._active._padNextWidth>0&&(null!=t&&(t=new $t(t,this._active._padNextWidth,this._active._padNextChar)),this._active._padNextWidth=0,this._active._padNextChar=0),this._active._printerParsers.push(t),this._active._valueParserIndex=-1,this._active._printerParsers.length-1},n.appendLiteral=function(t){return d(null!=t),t.length>0&&(1===t.length?this._appendInternalPrinterParser(new yt(t.charAt(0))):this._appendInternalPrinterParser(new Rt(t))),this},n._appendInternalPrinterParser=function(t){return d(null!=t),this._active._padNextWidth>0&&(null!=t&&(t=new $t(t,this._active._padNextWidth,this._active._padNextChar)),this._active._padNextWidth=0,this._active._padNextChar=0),this._active._printerParsers.push(t),this._active._valueParserIndex=-1,this._active._printerParsers.length-1},n.append=function(t){return p(t,"formatter"),this._appendInternal(t._toPrinterParser(!1)),this},n.toFormatter=function(t){for(void 0===t&&(t=B.SMART);null!=this._active._parent;)this.optionalEnd();var n=new xt(this._printerParsers,!1);return new Gt(n,null,gt.STANDARD,t,null,null,null)},t}(),Ut=31556952e4,Ht=62167219200,Vt=function(){function t(t){this.fractionalDigits=t}var n=t.prototype;return n.print=function(t,n){var e=t.getValue($.INSTANT_SECONDS),r=0;if(t.temporal().isSupported($.NANO_OF_SECOND)&&(r=t.temporal().getLong($.NANO_OF_SECOND)),null==e)return!1;var i=e,o=$.NANO_OF_SECOND.checkValidIntValue(r);if(i>=-62167219200){var s=i-Ut+Ht,a=w.floorDiv(s,Ut)+1,u=w.floorMod(s,Ut),c=hn.ofEpochSecond(u-Ht,0,Q.UTC);a>0&&n.append("+").append(a),n.append(c),0===c.second()&&n.append(":00")}else{var l=i+Ht,h=w.intDiv(l,Ut),f=w.intMod(l,Ut),d=hn.ofEpochSecond(f-Ht,0,Q.UTC),p=n.length();n.append(d),0===d.second()&&n.append(":00"),h<0&&(-1e4===d.year()?n.replace(p,p+2,""+(h-1)):0===f?n.insert(p,h):n.insert(p+1,Math.abs(h)))}if(-2===this.fractionalDigits)0!==o&&(n.append("."),0===w.intMod(o,1e6)?n.append((""+(w.intDiv(o,1e6)+1e3)).substring(1)):0===w.intMod(o,1e3)?n.append((""+(w.intDiv(o,1e3)+1e6)).substring(1)):n.append((""+(o+1e9)).substring(1)));else if(this.fractionalDigits>0||-1===this.fractionalDigits&&o>0){n.append(".");for(var _=1e8,m=0;-1===this.fractionalDigits&&o>0||m64?t.substring(0,64)+"...":t,new o("Text '"+e+"' could not be parsed: "+n.message,t,0,n)},n._parseToBuilder=function(t,n){var e=null!=n?n:new N(0),r=this._parseUnresolved0(t,e);if(null==r||e.getErrorIndex()>=0||null==n&&e.getIndex()64?t.substr(0,64).toString()+"...":t,e.getErrorIndex()>=0?new o("Text '"+i+"' could not be parsed at index "+e.getErrorIndex(),t,e.getErrorIndex()):new o("Text '"+i+"' could not be parsed, unparsed text found at index "+e.getIndex(),t,e.getIndex())}return r.toBuilder()},n.parseUnresolved=function(t,n){return this._parseUnresolved0(t,n)},n._parseUnresolved0=function(t,n){d(null!=t,"text",l),d(null!=n,"position",l);var e=new nt(this),r=n.getIndex();return(r=this._printerParser.parse(e,t,r))<0?(n.setErrorIndex(~r),null):(n.setIndex(r),e.toParsed())},n._toPrinterParser=function(t){return this._printerParser.withOptional(t)},n.toString=function(){var t=this._printerParser.toString();return 0===t.indexOf("[")?t:t.substring(1,t.length-1)},t}(),Yt=function(t){function n(n,e){var r;return(r=t.call(this)||this)._month=w.safeToInt(n),r._day=w.safeToInt(e),r}h(n,t),n.now=function(t){return 0===arguments.length?n.now0():1===arguments.length&&t instanceof Y?n.nowZoneId(t):n.nowClock(t)},n.now0=function(){return this.nowClock(_n.systemDefaultZone())},n.nowZoneId=function(t){return p(t,"zone"),this.nowClock(_n.system(t))},n.nowClock=function(t){p(t,"clock");var e=cn.now(t);return n.of(e.month(),e.dayOfMonth())},n.of=function(t,e){return 2===arguments.length&&t instanceof P?n.ofMonthNumber(t,e):n.ofNumberNumber(t,e)},n.ofMonthNumber=function(t,e){if(p(t,"month"),$.DAY_OF_MONTH.checkValidValue(e),e>t.maxLength())throw new i("Illegal value for DayOfMonth field, value "+e+" is not valid for month "+t.toString());return new n(t.value(),e)},n.ofNumberNumber=function(t,e){return p(t,"month"),p(e,"dayOfMonth"),n.of(P.of(t),e)},n.from=function(t){if(p(t,"temporal"),_(t,T,"temporal"),t instanceof n)return t;try{return n.of(t.get($.MONTH_OF_YEAR),t.get($.DAY_OF_MONTH))}catch(n){throw new i("Unable to obtain MonthDay from TemporalAccessor: "+t+", type "+(t&&null!=t.constructor?t.constructor.name:""))}},n.parse=function(t,e){return 1===arguments.length?n.parseString(t):n.parseStringFormatter(t,e)},n.parseString=function(t){return n.parseStringFormatter(t,Tt)},n.parseStringFormatter=function(t,e){return p(t,"text"),p(e,"formatter"),_(e,Gt,"formatter"),e.parse(t,n.FROM)};var e=n.prototype;return e.monthValue=function(){return this._month},e.month=function(){return P.of(this._month)},e.dayOfMonth=function(){return this._day},e.isSupported=function(t){return t instanceof $?t===$.MONTH_OF_YEAR||t===$.DAY_OF_MONTH:null!=t&&t.isSupportedBy(this)},e.range=function(n){return n===$.MONTH_OF_YEAR?n.range():n===$.DAY_OF_MONTH?M.of(1,this.month().minLength(),this.month().maxLength()):t.prototype.range.call(this,n)},e.get=function(t){return this.range(t).checkValidIntValue(this.getLong(t),t)},e.getLong=function(t){if(p(t,"field"),t instanceof $){switch(t){case $.DAY_OF_MONTH:return this._day;case $.MONTH_OF_YEAR:return this._month}throw new s("Unsupported field: "+t)}return t.getFrom(this)},e.isValidYear=function(t){return 0==(29===this._day&&2===this._month&&!1===Kt.isLeap(t))},e.withMonth=function(t){return this.with(P.of(t))},e.with=function(t){if(p(t,"month"),t.value()===this._month)return this;var e=Math.min(this._day,t.maxLength());return new n(t.value(),e)},e.withDayOfMonth=function(t){return t===this._day?this:n.of(this._month,t)},e.query=function(n){return p(n,"query"),_(n,j,"query"),n===z.chronology()?nn.INSTANCE:t.prototype.query.call(this,n)},e.adjustInto=function(t){return p(t,"temporal"),(t=t.with($.MONTH_OF_YEAR,this._month)).with($.DAY_OF_MONTH,Math.min(t.range($.DAY_OF_MONTH).maximum(),this._day))},e.atYear=function(t){return cn.of(t,this._month,this.isValidYear(t)?this._day:28)},e.compareTo=function(t){p(t,"other"),_(t,n,"other");var e=this._month-t.monthValue();return 0===e&&(e=this._day-t.dayOfMonth()),e},e.isAfter=function(t){return p(t,"other"),_(t,n,"other"),this.compareTo(t)>0},e.isBefore=function(t){return p(t,"other"),_(t,n,"other"),this.compareTo(t)<0},e.equals=function(t){if(this===t)return!0;if(t instanceof n){var e=t;return this.monthValue()===e.monthValue()&&this.dayOfMonth()===e.dayOfMonth()}return!1},e.toString=function(){return"--"+(this._month<10?"0":"")+this._month+(this._day<10?"-0":"-")+this._day},e.toJSON=function(){return this.toString()},e.format=function(t){return p(t,"formatter"),_(t,Gt,"formatter"),t.format(this)},n}(T),Xt=function(t){function n(n,e){var r;return(r=t.call(this)||this)._year=w.safeToInt(n),r._month=w.safeToInt(e),r}h(n,t),n.now=function(t){return 0===arguments.length?n.now0():1===arguments.length&&t instanceof Y?n.nowZoneId(t):n.nowClock(t)},n.now0=function(){return n.nowClock(_n.systemDefaultZone())},n.nowZoneId=function(t){return n.nowClock(_n.system(t))},n.nowClock=function(t){var e=cn.now(t);return n.of(e.year(),e.month())},n.of=function(t,e){return 2===arguments.length&&e instanceof P?n.ofNumberMonth(t,e):n.ofNumberNumber(t,e)},n.ofNumberMonth=function(t,e){return p(e,"month"),_(e,P,"month"),n.ofNumberNumber(t,e.value())},n.ofNumberNumber=function(t,e){return p(t,"year"),p(e,"month"),$.YEAR.checkValidValue(t),$.MONTH_OF_YEAR.checkValidValue(e),new n(t,e)},n.from=function(t){if(p(t,"temporal"),t instanceof n)return t;try{return n.of(t.get($.YEAR),t.get($.MONTH_OF_YEAR))}catch(n){throw new i("Unable to obtain YearMonth from TemporalAccessor: "+t+", type "+(t&&null!=t.constructor?t.constructor.name:""))}},n.parse=function(t,e){return 1===arguments.length?n.parseString(t):n.parseStringFormatter(t,e)},n.parseString=function(t){return n.parseStringFormatter(t,jt)},n.parseStringFormatter=function(t,e){return p(e,"formatter"),e.parse(t,n.FROM)};var e=n.prototype;return e.isSupported=function(t){return 1===arguments.length&&t instanceof E?this.isSupportedField(t):this.isSupportedUnit(t)},e.isSupportedField=function(t){return t instanceof $?t===$.YEAR||t===$.MONTH_OF_YEAR||t===$.PROLEPTIC_MONTH||t===$.YEAR_OF_ERA||t===$.ERA:null!=t&&t.isSupportedBy(this)},e.isSupportedUnit=function(t){return t instanceof C?t===C.MONTHS||t===C.YEARS||t===C.DECADES||t===C.CENTURIES||t===C.MILLENNIA||t===C.ERAS:null!=t&&t.isSupportedBy(this)},e.range=function(n){return n===$.YEAR_OF_ERA?this.year()<=0?M.of(1,Kt.MAX_VALUE+1):M.of(1,Kt.MAX_VALUE):t.prototype.range.call(this,n)},e.get=function(t){return p(t,"field"),_(t,E,"field"),this.range(t).checkValidIntValue(this.getLong(t),t)},e.getLong=function(t){if(p(t,"field"),_(t,E,"field"),t instanceof $){switch(t){case $.MONTH_OF_YEAR:return this._month;case $.PROLEPTIC_MONTH:return this._getProlepticMonth();case $.YEAR_OF_ERA:return this._year<1?1-this._year:this._year;case $.YEAR:return this._year;case $.ERA:return this._year<1?0:1}throw new s("Unsupported field: "+t)}return t.getFrom(this)},e._getProlepticMonth=function(){return w.safeAdd(w.safeMultiply(this._year,12),this._month-1)},e.year=function(){return this._year},e.monthValue=function(){return this._month},e.month=function(){return P.of(this._month)},e.isLeapYear=function(){return nn.isLeapYear(this._year)},e.isValidDay=function(t){return t>=1&&t<=this.lengthOfMonth()},e.lengthOfMonth=function(){return this.month().length(this.isLeapYear())},e.lengthOfYear=function(){return this.isLeapYear()?366:365},e.with=function(t,n){return 1===arguments.length?this.withAdjuster(t):this.withFieldValue(t,n)},e.withAdjuster=function(t){return p(t,"adjuster"),t.adjustInto(this)},e.withFieldValue=function(t,n){if(p(t,"field"),_(t,E,"field"),t instanceof $){var e=t;switch(e.checkValidValue(n),e){case $.MONTH_OF_YEAR:return this.withMonth(n);case $.PROLEPTIC_MONTH:return this.plusMonths(n-this.getLong($.PROLEPTIC_MONTH));case $.YEAR_OF_ERA:return this.withYear(this._year<1?1-n:n);case $.YEAR:return this.withYear(n);case $.ERA:return this.getLong($.ERA)===n?this:this.withYear(1-this._year)}throw new s("Unsupported field: "+t)}return t.adjustInto(this,n)},e.withYear=function(t){return $.YEAR.checkValidValue(t),new n(t,this._month)},e.withMonth=function(t){return $.MONTH_OF_YEAR.checkValidValue(t),new n(this._year,t)},e.plusAmount=function(t){return p(t,"amount"),_(t,x,"amount"),t.addTo(this)},e.plusAmountUnit=function(t,n){if(p(n,"unit"),_(n,k,"unit"),n instanceof C){switch(n){case C.MONTHS:return this.plusMonths(t);case C.YEARS:return this.plusYears(t);case C.DECADES:return this.plusYears(w.safeMultiply(t,10));case C.CENTURIES:return this.plusYears(w.safeMultiply(t,100));case C.MILLENNIA:return this.plusYears(w.safeMultiply(t,1e3));case C.ERAS:return this.with($.ERA,w.safeAdd(this.getLong($.ERA),t))}throw new s("Unsupported unit: "+n)}return n.addTo(this,t)},e.plusYears=function(t){if(0===t)return this;var n=$.YEAR.checkValidIntValue(this._year+t);return this.withYear(n)},e.plusMonths=function(t){if(0===t)return this;var e=12*this._year+(this._month-1)+t;return new n($.YEAR.checkValidIntValue(w.floorDiv(e,12)),w.floorMod(e,12)+1)},e.minusAmount=function(t){return p(t,"amount"),t.subtractFrom(this)},e.minusAmountUnit=function(t,n){return t===w.MIN_SAFE_INTEGER?this.plusAmountUnit(w.MAX_SAFE_INTEGER,n).plusAmountUnit(1,n):this.plusAmountUnit(-t,n)},e.minusYears=function(t){return t===w.MIN_SAFE_INTEGER?this.plusYears(w.MIN_SAFE_INTEGER).plusYears(1):this.plusYears(-t)},e.minusMonths=function(t){return t===w.MIN_SAFE_INTEGER?this.plusMonths(Math.MAX_SAFE_INTEGER).plusMonths(1):this.plusMonths(-t)},e.query=function(n){return p(n,"query"),_(n,j,"query"),n===z.chronology()?nn.INSTANCE:n===z.precision()?C.MONTHS:n===z.localDate()||n===z.localTime()||n===z.zone()||n===z.zoneId()||n===z.offset()?null:t.prototype.query.call(this,n)},e.adjustInto=function(t){return p(t,"temporal"),_(t,H,"temporal"),t.with($.PROLEPTIC_MONTH,this._getProlepticMonth())},e.until=function(t,e){p(t,"endExclusive"),p(e,"unit"),_(t,H,"endExclusive"),_(e,k,"unit");var r=n.from(t);if(e instanceof C){var i=r._getProlepticMonth()-this._getProlepticMonth();switch(e){case C.MONTHS:return i;case C.YEARS:return i/12;case C.DECADES:return i/120;case C.CENTURIES:return i/1200;case C.MILLENNIA:return i/12e3;case C.ERAS:return r.getLong($.ERA)-this.getLong($.ERA)}throw new s("Unsupported unit: "+e)}return e.between(this,r)},e.atDay=function(t){return cn.of(this._year,this._month,t)},e.atEndOfMonth=function(){return cn.of(this._year,this._month,this.lengthOfMonth())},e.compareTo=function(t){p(t,"other"),_(t,n,"other");var e=this._year-t.year();return 0===e&&(e=this._month-t.monthValue()),e},e.isAfter=function(t){return this.compareTo(t)>0},e.isBefore=function(t){return this.compareTo(t)<0},e.equals=function(t){if(this===t)return!0;if(t instanceof n){var e=t;return this.year()===e.year()&&this.monthValue()===e.monthValue()}return!1},e.toString=function(){return jt.format(this)},e.toJSON=function(){return this.toString()},e.format=function(t){return p(t,"formatter"),t.format(this)},n}(H),Kt=function(t){function n(n){var e;return(e=t.call(this)||this)._year=w.safeToInt(n),e}h(n,t);var e=n.prototype;return e.value=function(){return this._year},n.now=function(t){return void 0===t&&(t=void 0),void 0===t?n.now0():t instanceof Y?n.nowZoneId(t):n.nowClock(t)},n.now0=function(){return n.nowClock(_n.systemDefaultZone())},n.nowZoneId=function(t){return p(t,"zone"),_(t,Y,"zone"),n.nowClock(_n.system(t))},n.nowClock=function(t){p(t,"clock"),_(t,_n,"clock");var e=cn.now(t);return n.of(e.year())},n.of=function(t){return p(t,"isoYear"),$.YEAR.checkValidValue(t),new n(t)},n.from=function(t){if(p(t,"temporal"),_(t,T,"temporal"),t instanceof n)return t;try{return n.of(t.get($.YEAR))}catch(n){throw new i("Unable to obtain Year from TemporalAccessor: "+t+", type "+(t&&null!=t.constructor?t.constructor.name:""))}},n.parse=function(t,e){return arguments.length<=1?n.parseText(t):n.parseTextFormatter(t,e)},n.parseText=function(t){return p(t,"text"),n.parse(t,Ot)},n.parseTextFormatter=function(t,e){return void 0===e&&(e=Ot),p(t,"text"),p(e,"formatter"),_(e,Gt,"formatter"),e.parse(t,n.FROM)},n.isLeap=function(t){return 0===w.intMod(t,4)&&(0!==w.intMod(t,100)||0===w.intMod(t,400))},e.isSupported=function(t){return 1===arguments.length&&t instanceof E?this.isSupportedField(t):this.isSupportedUnit(t)},e.isSupportedField=function(t){return t instanceof $?t===$.YEAR||t===$.YEAR_OF_ERA||t===$.ERA:null!=t&&t.isSupportedBy(this)},e.isSupportedUnit=function(t){return t instanceof C?t===C.YEARS||t===C.DECADES||t===C.CENTURIES||t===C.MILLENNIA||t===C.ERAS:null!=t&&t.isSupportedBy(this)},e.range=function(n){if(this.isSupported(n))return n.range();if(n instanceof $)throw new s("Unsupported field: "+n);return t.prototype.range.call(this,n)},e.get=function(t){return this.range(t).checkValidIntValue(this.getLong(t),t)},e.getLong=function(t){if(p(t,"field"),t instanceof $){switch(t){case $.YEAR_OF_ERA:return this._year<1?1-this._year:this._year;case $.YEAR:return this._year;case $.ERA:return this._year<1?0:1}throw new s("Unsupported field: "+t)}return t.getFrom(this)},e.isLeap=function(){return n.isLeap(this._year)},e.withAdjuster=function(t){return p(t,"adjuster"),t.adjustInto(this)},e.withFieldValue=function(t,e){if(p(t,"field"),_(t,E,"field"),t instanceof $){switch(t.checkValidValue(e),t){case $.YEAR_OF_ERA:return n.of(this._year<1?1-e:e);case $.YEAR:return n.of(e);case $.ERA:return this.getLong($.ERA)===e?this:n.of(1-this._year)}throw new s("Unsupported field: "+t)}return t.adjustInto(this,e)},e.plusAmount=function(t){return p(t,"amount"),_(t,x,"amount"),t.addTo(this)},e.plusAmountUnit=function(t,n){if(p(t,"amountToAdd"),p(n,"unit"),_(n,k,"unit"),n instanceof C){switch(n){case C.YEARS:return this.plusYears(t);case C.DECADES:return this.plusYears(w.safeMultiply(t,10));case C.CENTURIES:return this.plusYears(w.safeMultiply(t,100));case C.MILLENNIA:return this.plusYears(w.safeMultiply(t,1e3));case C.ERAS:return this.with($.ERA,w.safeAdd(this.getLong($.ERA),t))}throw new s("Unsupported unit: "+n)}return n.addTo(this,t)},e.plusYears=function(t){return 0===t?this:n.of($.YEAR.checkValidIntValue(w.safeAdd(this._year,t)))},e.minusAmount=function(t){return p(t,"amount"),_(t,x,"amount"),t.subtractFrom(this)},e.minusAmountUnit=function(t,n){return p(t,"amountToSubtract"),p(n,"unit"),_(n,k,"unit"),t===w.MIN_SAFE_INTEGER?this.plus(w.MAX_SAFE_INTEGER,n).plus(1,n):this.plus(-t,n)},e.minusYears=function(t){return t===w.MIN_SAFE_INTEGER?this.plusYears(w.MAX_SAFE_INTEGER).plusYears(1):this.plusYears(-t)},e.adjustInto=function(t){return p(t,"temporal"),t.with($.YEAR,this._year)},e.isValidMonthDay=function(t){return null!=t&&t.isValidYear(this._year)},e.length=function(){return this.isLeap()?366:365},e.atDay=function(t){return cn.ofYearDay(this._year,t)},e.atMonth=function(t){return 1===arguments.length&&t instanceof P?this.atMonthMonth(t):this.atMonthNumber(t)},e.atMonthMonth=function(t){return p(t,"month"),_(t,P,"month"),Xt.of(this._year,t)},e.atMonthNumber=function(t){return p(t,"month"),Xt.of(this._year,t)},e.atMonthDay=function(t){return p(t,"monthDay"),_(t,Yt,"monthDay"),t.atYear(this._year)},e.query=function(n){return p(n,"query()"),_(n,j,"query()"),n===z.chronology()?nn.INSTANCE:n===z.precision()?C.YEARS:n===z.localDate()||n===z.localTime()||n===z.zone()||n===z.zoneId()||n===z.offset()?null:t.prototype.query.call(this,n)},e.compareTo=function(t){return p(t,"other"),_(t,n,"other"),this._year-t._year},e.isAfter=function(t){return p(t,"other"),_(t,n,"other"),this._year>t._year},e.isBefore=function(t){return p(t,"other"),_(t,n,"other"),this._year=0){var n=t.with($.DAY_OF_MONTH,1),e=n.get($.DAY_OF_WEEK),r=w.intMod(this._dowValue-e+7,7);return r+=7*(this._ordinal-1),n.plus(r,C.DAYS)}var i=t.with($.DAY_OF_MONTH,t.range($.DAY_OF_MONTH).maximum()),o=i.get($.DAY_OF_WEEK),s=this._dowValue-o;return s=0===s?0:s>0?s-7:s,s-=7*(-this._ordinal-1),i.plus(s,C.DAYS)},n}(U),tn=function(t){function n(n,e){var r;return r=t.call(this)||this,p(e,"dayOfWeek"),r._relative=n,r._dowValue=e.value(),r}return h(n,t),n.prototype.adjustInto=function(t){var n=t.get($.DAY_OF_WEEK);if(this._relative<2&&n===this._dowValue)return t;if(1&this._relative){var e=this._dowValue-n;return t.minus(e>=0?7-e:-e,C.DAYS)}var r=n-this._dowValue;return t.plus(r>=0?7-r:-r,C.DAYS)},n}(U),nn=function(t){function n(){return t.apply(this,arguments)||this}h(n,t),n.isLeapYear=function(t){return!(3&t||t%100==0&&t%400!=0)};var e=n.prototype;return e._updateResolveMap=function(t,n,e){p(t,"fieldValues"),p(n,"field");var r=t.get(n);if(null!=r&&r!==e)throw new i("Invalid state, field: "+n+" "+r+" conflicts with "+n+" "+e);t.put(n,e)},e.resolveDate=function(t,n){if(t.containsKey($.EPOCH_DAY))return cn.ofEpochDay(t.remove($.EPOCH_DAY));var e=t.remove($.PROLEPTIC_MONTH);null!=e&&(n!==B.LENIENT&&$.PROLEPTIC_MONTH.checkValidValue(e),this._updateResolveMap(t,$.MONTH_OF_YEAR,w.floorMod(e,12)+1),this._updateResolveMap(t,$.YEAR,w.floorDiv(e,12)));var r=t.remove($.YEAR_OF_ERA);if(null!=r){n!==B.LENIENT&&$.YEAR_OF_ERA.checkValidValue(r);var o=t.remove($.ERA);if(null==o){var s=t.get($.YEAR);n===B.STRICT?null!=s?this._updateResolveMap(t,$.YEAR,s>0?r:w.safeSubtract(1,r)):t.put($.YEAR_OF_ERA,r):this._updateResolveMap(t,$.YEAR,null==s||s>0?r:w.safeSubtract(1,r))}else if(1===o)this._updateResolveMap(t,$.YEAR,r);else{if(0!==o)throw new i("Invalid value for era: "+o);this._updateResolveMap(t,$.YEAR,w.safeSubtract(1,r))}}else t.containsKey($.ERA)&&$.ERA.checkValidValue(t.get($.ERA));if(t.containsKey($.YEAR)){if(t.containsKey($.MONTH_OF_YEAR)&&t.containsKey($.DAY_OF_MONTH)){var a=$.YEAR.checkValidIntValue(t.remove($.YEAR)),u=t.remove($.MONTH_OF_YEAR),c=t.remove($.DAY_OF_MONTH);if(n===B.LENIENT){var l=u-1,h=c-1;return cn.of(a,1,1).plusMonths(l).plusDays(h)}return n===B.SMART?($.DAY_OF_MONTH.checkValidValue(c),4===u||6===u||9===u||11===u?c=Math.min(c,30):2===u&&(c=Math.min(c,P.FEBRUARY.length(Kt.isLeap(a)))),cn.of(a,u,c)):cn.of(a,u,c)}if(t.containsKey($.DAY_OF_YEAR)){var f=$.YEAR.checkValidIntValue(t.remove($.YEAR));if(n===B.LENIENT){var d=w.safeSubtract(t.remove($.DAY_OF_YEAR),1);return cn.ofYearDay(f,1).plusDays(d)}var p=$.DAY_OF_YEAR.checkValidIntValue(t.remove($.DAY_OF_YEAR));return cn.ofYearDay(f,p)}if(t.containsKey($.ALIGNED_WEEK_OF_YEAR)){if(t.containsKey($.ALIGNED_DAY_OF_WEEK_IN_YEAR)){var _=$.YEAR.checkValidIntValue(t.remove($.YEAR));if(n===B.LENIENT){var m=w.safeSubtract(t.remove($.ALIGNED_WEEK_OF_YEAR),1),v=w.safeSubtract(t.remove($.ALIGNED_DAY_OF_WEEK_IN_YEAR),1);return cn.of(_,1,1).plusWeeks(m).plusDays(v)}var g=$.ALIGNED_WEEK_OF_YEAR.checkValidIntValue(t.remove($.ALIGNED_WEEK_OF_YEAR)),b=$.ALIGNED_DAY_OF_WEEK_IN_YEAR.checkValidIntValue(t.remove($.ALIGNED_DAY_OF_WEEK_IN_YEAR)),y=cn.of(_,1,1).plusDays(7*(g-1)+(b-1));if(n===B.STRICT&&y.get($.YEAR)!==_)throw new i("Strict mode rejected date parsed to a different year");return y}if(t.containsKey($.DAY_OF_WEEK)){var x=$.YEAR.checkValidIntValue(t.remove($.YEAR));if(n===B.LENIENT){var k=w.safeSubtract(t.remove($.ALIGNED_WEEK_OF_YEAR),1),S=w.safeSubtract(t.remove($.DAY_OF_WEEK),1);return cn.of(x,1,1).plusWeeks(k).plusDays(S)}var A=$.ALIGNED_WEEK_OF_YEAR.checkValidIntValue(t.remove($.ALIGNED_WEEK_OF_YEAR)),C=$.DAY_OF_WEEK.checkValidIntValue(t.remove($.DAY_OF_WEEK)),E=cn.of(x,1,1).plusWeeks(A-1).with(Zt.nextOrSame(D.of(C)));if(n===B.STRICT&&E.get($.YEAR)!==x)throw new i("Strict mode rejected date parsed to a different month");return E}}}return null},e.date=function(t){return cn.from(t)},n}(y),en=function(t){function n(n,e){var r;return r=t.call(this)||this,p(n,"time"),_(n,fn,"time"),p(e,"offset"),_(e,Q,"offset"),r._time=n,r._offset=e,r}h(n,t),n.from=function(t){if(p(t,"temporal"),t instanceof n)return t;if(t instanceof sn)return t.toOffsetTime();try{return new n(fn.from(t),Q.from(t))}catch(n){throw new i("Unable to obtain OffsetTime TemporalAccessor: "+t+", type "+(null!=t.constructor?t.constructor.name:""))}},n.now=function(t){return 0===arguments.length?n._now(_n.systemDefaultZone()):t instanceof _n?n._now(t):n._now(_n.system(t))},n._now=function(t){p(t,"clock");var e=t.instant();return n.ofInstant(e,t.zone().rules().offset(e))},n.of=function(){return arguments.length<=2?n.ofTimeAndOffset.apply(this,arguments):n.ofNumbers.apply(this,arguments)},n.ofNumbers=function(t,e,r,i,o){return new n(fn.of(t,e,r,i),o)},n.ofTimeAndOffset=function(t,e){return new n(t,e)},n.ofInstant=function(t,e){p(t,"instant"),_(t,pn,"instant"),p(e,"zone"),_(e,Y,"zone");var r=e.rules().offset(t),i=t.epochSecond()%fn.SECONDS_PER_DAY;return(i=(i+r.totalSeconds())%fn.SECONDS_PER_DAY)<0&&(i+=fn.SECONDS_PER_DAY),new n(fn.ofSecondOfDay(i,t.nano()),r)},n.parse=function(t,e){return void 0===e&&(e=Gt.ISO_OFFSET_TIME),p(e,"formatter"),e.parse(t,n.FROM)};var e=n.prototype;return e.adjustInto=function(t){return t.with($.NANO_OF_DAY,this._time.toNanoOfDay()).with($.OFFSET_SECONDS,this.offset().totalSeconds())},e.atDate=function(t){return sn.of(t,this._time,this._offset)},e.format=function(t){return p(t,"formatter"),t.format(this,n.FROM)},e.get=function(n){return t.prototype.get.call(this,n)},e.getLong=function(t){return t instanceof $?t===$.OFFSET_SECONDS?this._offset.totalSeconds():this._time.getLong(t):t.getFrom(this)},e.hour=function(){return this._time.hour()},e.minute=function(){return this._time.minute()},e.second=function(){return this._time.second()},e.nano=function(){return this._time.nano()},e.offset=function(){return this._offset},e.isAfter=function(t){return p(t,"other"),this._toEpochNano()>t._toEpochNano()},e.isBefore=function(t){return p(t,"other"),this._toEpochNano()e?1:0),r},e.isAfter=function(t){p(t,"other");var n=this.toEpochSecond(),e=t.toEpochSecond();return n>e||n===e&&this.toLocalTime().nano()>t.toLocalTime().nano()},e.isBefore=function(t){p(t,"other");var n=this.toEpochSecond(),e=t.toEpochSecond();return ne||n===e&&this.toLocalTime().nano()>t.toLocalTime().nano()},e.isBefore=function(t){p(t,"other");var n=this.toEpochSecond(),e=t.toEpochSecond();return no.firstDayOfYear(r)+o.length(r)-1&&(o=o.plus(1));var s=e-o.firstDayOfYear(r)+1;return new n(t,o.value(),s)},n.ofEpochDay=function(t){var e,r,i,o,s;void 0===t&&(t=0),s=t+un,e=0,(s-=60)<0&&(e=400*(r=w.intDiv(s+1,an)-1),s+=-r*an),(i=s-(365*(o=w.intDiv(400*s+591,an))+w.intDiv(o,4)-w.intDiv(o,100)+w.intDiv(o,400)))<0&&(i=s-(365*--o+w.intDiv(o,4)-w.intDiv(o,100)+w.intDiv(o,400))),o+=e;var a=i,u=w.intDiv(5*a+2,153),c=(u+2)%12+1,l=a-w.intDiv(306*u+5,10)+1;return new n(o+=w.intDiv(u,10),c,l)},n.from=function(t){p(t,"temporal");var n=t.query(z.localDate());if(null==n)throw new i("Unable to obtain LocalDate from TemporalAccessor: "+t+", type "+(null!=t.constructor?t.constructor.name:""));return n},n.parse=function(t,e){return void 0===e&&(e=Gt.ISO_LOCAL_DATE),d(null!=e,"formatter",l),e.parse(t,n.FROM)},n._resolvePreviousValid=function(t,e,r){switch(e){case 2:r=Math.min(r,nn.isLeapYear(t)?29:28);break;case 4:case 6:case 9:case 11:r=Math.min(r,30)}return n.of(t,e,r)},n._validate=function(t,n,e){var r;if($.YEAR.checkValidValue(t),$.MONTH_OF_YEAR.checkValidValue(n),$.DAY_OF_MONTH.checkValidValue(e),e>28){switch(r=31,n){case 2:r=nn.isLeapYear(t)?29:28;break;case 4:case 6:case 9:case 11:r=30}e>r&&d(!1,29===e?"Invalid date 'February 29' as '"+t+"' is not a leap year":"Invalid date '"+t+"' '"+n+"' '"+e+"'",i)}};var e=n.prototype;return e.isSupported=function(n){return t.prototype.isSupported.call(this,n)},e.range=function(t){if(t instanceof $){if(t.isDateBased()){switch(t){case $.DAY_OF_MONTH:return M.of(1,this.lengthOfMonth());case $.DAY_OF_YEAR:return M.of(1,this.lengthOfYear());case $.ALIGNED_WEEK_OF_MONTH:return M.of(1,this.month()===P.FEBRUARY&&!1===this.isLeapYear()?4:5);case $.YEAR_OF_ERA:return this._year<=0?M.of(1,Kt.MAX_VALUE+1):M.of(1,Kt.MAX_VALUE)}return t.range()}throw new s("Unsupported field: "+t)}return t.rangeRefinedBy(this)},e.get=function(t){return this.getLong(t)},e.getLong=function(t){return d(null!=t,"",l),t instanceof $?this._get0(t):t.getFrom(this)},e._get0=function(t){switch(t){case $.DAY_OF_WEEK:return this.dayOfWeek().value();case $.ALIGNED_DAY_OF_WEEK_IN_MONTH:return w.intMod(this._day-1,7)+1;case $.ALIGNED_DAY_OF_WEEK_IN_YEAR:return w.intMod(this.dayOfYear()-1,7)+1;case $.DAY_OF_MONTH:return this._day;case $.DAY_OF_YEAR:return this.dayOfYear();case $.EPOCH_DAY:return this.toEpochDay();case $.ALIGNED_WEEK_OF_MONTH:return w.intDiv(this._day-1,7)+1;case $.ALIGNED_WEEK_OF_YEAR:return w.intDiv(this.dayOfYear()-1,7)+1;case $.MONTH_OF_YEAR:return this._month;case $.PROLEPTIC_MONTH:return this._prolepticMonth();case $.YEAR_OF_ERA:return this._year>=1?this._year:1-this._year;case $.YEAR:return this._year;case $.ERA:return this._year>=1?1:0}throw new s("Unsupported field: "+t)},e._prolepticMonth=function(){return 12*this._year+(this._month-1)},e.chronology=function(){return nn.INSTANCE},e.year=function(){return this._year},e.monthValue=function(){return this._month},e.month=function(){return P.of(this._month)},e.dayOfMonth=function(){return this._day},e.dayOfYear=function(){return this.month().firstDayOfYear(this.isLeapYear())+this._day-1},e.dayOfWeek=function(){var t=w.floorMod(this.toEpochDay()+3,7);return D.of(t+1)},e.isLeapYear=function(){return nn.isLeapYear(this._year)},e.lengthOfMonth=function(){switch(this._month){case 2:return this.isLeapYear()?29:28;case 4:case 6:case 9:case 11:return 30;default:return 31}},e.lengthOfYear=function(){return this.isLeapYear()?366:365},e.withAdjuster=function(t){return p(t,"adjuster"),t instanceof n?t:(d("function"==typeof t.adjustInto,"adjuster",u),t.adjustInto(this))},e.withFieldValue=function(t,e){if(d(null!=t,"field",l),t instanceof $){var r=t;switch(r.checkValidValue(e),r){case $.DAY_OF_WEEK:return this.plusDays(e-this.dayOfWeek().value());case $.ALIGNED_DAY_OF_WEEK_IN_MONTH:return this.plusDays(e-this.getLong($.ALIGNED_DAY_OF_WEEK_IN_MONTH));case $.ALIGNED_DAY_OF_WEEK_IN_YEAR:return this.plusDays(e-this.getLong($.ALIGNED_DAY_OF_WEEK_IN_YEAR));case $.DAY_OF_MONTH:return this.withDayOfMonth(e);case $.DAY_OF_YEAR:return this.withDayOfYear(e);case $.EPOCH_DAY:return n.ofEpochDay(e);case $.ALIGNED_WEEK_OF_MONTH:return this.plusWeeks(e-this.getLong($.ALIGNED_WEEK_OF_MONTH));case $.ALIGNED_WEEK_OF_YEAR:return this.plusWeeks(e-this.getLong($.ALIGNED_WEEK_OF_YEAR));case $.MONTH_OF_YEAR:return this.withMonth(e);case $.PROLEPTIC_MONTH:return this.plusMonths(e-this.getLong($.PROLEPTIC_MONTH));case $.YEAR_OF_ERA:return this.withYear(this._year>=1?e:1-e);case $.YEAR:return this.withYear(e);case $.ERA:return this.getLong($.ERA)===e?this:this.withYear(1-this._year)}throw new s("Unsupported field: "+t)}return t.adjustInto(this,e)},e.withYear=function(t){return this._year===t?this:($.YEAR.checkValidValue(t),n._resolvePreviousValid(t,this._month,this._day))},e.withMonth=function(t){var e=t instanceof P?t.value():t;return this._month===e?this:($.MONTH_OF_YEAR.checkValidValue(e),n._resolvePreviousValid(this._year,e,this._day))},e.withDayOfMonth=function(t){return this._day===t?this:n.of(this._year,this._month,t)},e.withDayOfYear=function(t){return this.dayOfYear()===t?this:n.ofYearDay(this._year,t)},e.plusAmount=function(t){return p(t,"amount"),t.addTo(this)},e.plusAmountUnit=function(t,n){if(p(t,"amountToAdd"),p(n,"unit"),n instanceof C){switch(n){case C.DAYS:return this.plusDays(t);case C.WEEKS:return this.plusWeeks(t);case C.MONTHS:return this.plusMonths(t);case C.YEARS:return this.plusYears(t);case C.DECADES:return this.plusYears(w.safeMultiply(t,10));case C.CENTURIES:return this.plusYears(w.safeMultiply(t,100));case C.MILLENNIA:return this.plusYears(w.safeMultiply(t,1e3));case C.ERAS:return this.with($.ERA,w.safeAdd(this.getLong($.ERA),t))}throw new s("Unsupported unit: "+n)}return n.addTo(this,t)},e.plusYears=function(t){if(0===t)return this;var e=$.YEAR.checkValidIntValue(this._year+t);return n._resolvePreviousValid(e,this._month,this._day)},e.plusMonths=function(t){if(0===t)return this;var e=12*this._year+(this._month-1)+t,r=$.YEAR.checkValidIntValue(w.floorDiv(e,12)),i=w.floorMod(e,12)+1;return n._resolvePreviousValid(r,i,this._day)},e.plusWeeks=function(t){return this.plusDays(w.safeMultiply(t,7))},e.plusDays=function(t){if(0===t)return this;var e=w.safeAdd(this.toEpochDay(),t);return n.ofEpochDay(e)},e.minusAmount=function(t){return p(t,"amount"),t.subtractFrom(this)},e.minusAmountUnit=function(t,n){return p(t,"amountToSubtract"),p(n,"unit"),this.plusAmountUnit(-1*t,n)},e.minusYears=function(t){return this.plusYears(-1*t)},e.minusMonths=function(t){return this.plusMonths(-1*t)},e.minusWeeks=function(t){return this.plusWeeks(-1*t)},e.minusDays=function(t){return this.plusDays(-1*t)},e.query=function(n){return p(n,"query"),n===z.localDate()?this:t.prototype.query.call(this,n)},e.adjustInto=function(n){return t.prototype.adjustInto.call(this,n)},e.until=function(t,n){return arguments.length<2?this.until1(t):this.until2(t,n)},e.until2=function(t,e){var r=n.from(t);if(e instanceof C){switch(e){case C.DAYS:return this.daysUntil(r);case C.WEEKS:return w.intDiv(this.daysUntil(r),7);case C.MONTHS:return this._monthsUntil(r);case C.YEARS:return w.intDiv(this._monthsUntil(r),12);case C.DECADES:return w.intDiv(this._monthsUntil(r),120);case C.CENTURIES:return w.intDiv(this._monthsUntil(r),1200);case C.MILLENNIA:return w.intDiv(this._monthsUntil(r),12e3);case C.ERAS:return r.getLong($.ERA)-this.getLong($.ERA)}throw new s("Unsupported unit: "+e)}return e.between(this,r)},e.daysUntil=function(t){return t.toEpochDay()-this.toEpochDay()},e._monthsUntil=function(t){var n=32*this._prolepticMonth()+this.dayOfMonth(),e=32*t._prolepticMonth()+t.dayOfMonth();return w.intDiv(e-n,32)},e.until1=function(t){var e=n.from(t),r=e._prolepticMonth()-this._prolepticMonth(),i=e._day-this._day;if(r>0&&i<0){r--;var o=this.plusMonths(r);i=e.toEpochDay()-o.toEpochDay()}else r<0&&i>0&&(r++,i-=e.lengthOfMonth());var s=w.intDiv(r,12),a=w.intMod(r,12);return q.of(s,a,i)},e.atTime=function(){return 1===arguments.length?this.atTime1.apply(this,arguments):this.atTime4.apply(this,arguments)},e.atTime1=function(t){if(p(t,"time"),t instanceof fn)return hn.of(this,t);if(t instanceof en)return this._atTimeOffsetTime(t);throw new u("time must be an instance of LocalTime or OffsetTime"+(t&&t.constructor&&t.constructor.name?", but is "+t.constructor.name:""))},e.atTime4=function(t,n,e,r){return void 0===e&&(e=0),void 0===r&&(r=0),this.atTime1(fn.of(t,n,e,r))},e._atTimeOffsetTime=function(t){return sn.of(hn.of(this,t.toLocalTime()),t.offset())},e.atStartOfDay=function(t){return null!=t?this.atStartOfDayWithZone(t):hn.of(this,fn.MIDNIGHT)},e.atStartOfDayWithZone=function(t){p(t,"zone");var n=this.atTime(fn.MIDNIGHT);if(t instanceof Q==0){var e=t.rules().transition(n);null!=e&&e.isGap()&&(n=e.dateTimeAfter())}return on.of(n,t)},e.toEpochDay=function(){var t=this._year,n=this._month,e=0;return e+=365*t,t>=0?e+=w.intDiv(t+3,4)-w.intDiv(t+99,100)+w.intDiv(t+399,400):e-=w.intDiv(t,-4)-w.intDiv(t,-100)+w.intDiv(t,-400),e+=w.intDiv(367*n-362,12),e+=this.dayOfMonth()-1,n>2&&(e--,nn.isLeapYear(t)||e--),e-un},e.compareTo=function(t){return p(t,"other"),_(t,n,"other"),this._compareTo0(t)},e._compareTo0=function(t){var n=this._year-t._year;return 0===n&&0==(n=this._month-t._month)&&(n=this._day-t._day),n},e.isAfter=function(t){return this.compareTo(t)>0},e.isBefore=function(t){return this.compareTo(t)<0},e.isEqual=function(t){return 0===this.compareTo(t)},e.equals=function(t){return this===t||t instanceof n&&0===this._compareTo0(t)},e.hashCode=function(){var t=this._year,n=this._month,e=this._day;return w.hash(4294965248&t^(t<<11)+(n<<6)+e)},e.toString=function(){var t=this._year,n=this._month,e=this._day;return(Math.abs(t)<1e3?t<0?"-"+(""+(t-1e4)).slice(-4):(""+(t+1e4)).slice(-4):t>9999?"+"+t:""+t)+(n<10?"-0"+n:"-"+n)+(e<10?"-0"+e:"-"+e)},e.toJSON=function(){return this.toString()},e.format=function(n){return p(n,"formatter"),_(n,Gt,"formatter"),t.prototype.format.call(this,n)},n}(W),ln=function(t){function n(){return t.apply(this,arguments)||this}h(n,t);var e=n.prototype;return e.chronology=function(){return this.toLocalDate().chronology()},e.query=function(n){return n===z.chronology()?this.chronology():n===z.precision()?C.NANOS:n===z.localDate()?cn.ofEpochDay(this.toLocalDate().toEpochDay()):n===z.localTime()?this.toLocalTime():n===z.zone()||n===z.zoneId()||n===z.offset()?null:t.prototype.query.call(this,n)},e.adjustInto=function(t){return t.with($.EPOCH_DAY,this.toLocalDate().toEpochDay()).with($.NANO_OF_DAY,this.toLocalTime().toNanoOfDay())},e.toInstant=function(t){return _(t,Q,"zoneId"),pn.ofEpochSecond(this.toEpochSecond(t),this.toLocalTime().nano())},e.toEpochSecond=function(t){p(t,"offset");var n=86400*this.toLocalDate().toEpochDay()+this.toLocalTime().toSecondOfDay();return n-=t.totalSeconds(),w.safeToInt(n)},n}(V),hn=function(t){function n(n,e){var r;return r=t.call(this)||this,_(n,cn,"date"),_(e,fn,"time"),r._date=n,r._time=e,r}h(n,t),n.now=function(t){return null==t?n._now(_n.systemDefaultZone()):t instanceof _n?n._now(t):n._now(_n.system(t))},n._now=function(t){return p(t,"clock"),n.ofInstant(t.instant(),t.zone())},n._ofEpochMillis=function(t,e){var r=w.floorDiv(t,1e3)+e.totalSeconds(),i=w.floorDiv(r,fn.SECONDS_PER_DAY),o=w.floorMod(r,fn.SECONDS_PER_DAY),s=1e6*w.floorMod(t,1e3);return new n(cn.ofEpochDay(i),fn.ofSecondOfDay(o,s))},n.of=function(){return arguments.length<=2?n.ofDateAndTime.apply(this,arguments):n.ofNumbers.apply(this,arguments)},n.ofNumbers=function(t,e,r,i,o,s,a){return void 0===i&&(i=0),void 0===o&&(o=0),void 0===s&&(s=0),void 0===a&&(a=0),new n(cn.of(t,e,r),fn.of(i,o,s,a))},n.ofDateAndTime=function(t,e){return p(t,"date"),p(e,"time"),new n(t,e)},n.ofInstant=function(t,e){void 0===e&&(e=Y.systemDefault()),p(t,"instant"),_(t,pn,"instant"),p(e,"zone");var r=e.rules().offset(t);return n.ofEpochSecond(t.epochSecond(),t.nano(),r)},n.ofEpochSecond=function(t,e,r){void 0===t&&(t=0),void 0===e&&(e=0),2===arguments.length&&e instanceof Q&&(r=e,e=0),p(r,"offset");var i=t+r.totalSeconds(),o=w.floorDiv(i,fn.SECONDS_PER_DAY),s=w.floorMod(i,fn.SECONDS_PER_DAY);return new n(cn.ofEpochDay(o),fn.ofSecondOfDay(s,e))},n.from=function(t){if(p(t,"temporal"),t instanceof n)return t;if(t instanceof on)return t.toLocalDateTime();try{return new n(cn.from(t),fn.from(t))}catch(n){throw new i("Unable to obtain LocalDateTime TemporalAccessor: "+t+", type "+(null!=t.constructor?t.constructor.name:""))}},n.parse=function(t,e){return void 0===e&&(e=Gt.ISO_LOCAL_DATE_TIME),p(e,"formatter"),e.parse(t,n.FROM)};var e=n.prototype;return e._withDateTime=function(t,e){return this._date.equals(t)&&this._time.equals(e)?this:new n(t,e)},e.isSupported=function(t){return t instanceof $||t instanceof C?t.isDateBased()||t.isTimeBased():null!=t&&t.isSupportedBy(this)},e.range=function(t){return t instanceof $?t.isTimeBased()?this._time.range(t):this._date.range(t):t.rangeRefinedBy(this)},e.get=function(n){return n instanceof $?n.isTimeBased()?this._time.get(n):this._date.get(n):t.prototype.get.call(this,n)},e.getLong=function(t){return p(t,"field"),t instanceof $?t.isTimeBased()?this._time.getLong(t):this._date.getLong(t):t.getFrom(this)},e.year=function(){return this._date.year()},e.monthValue=function(){return this._date.monthValue()},e.month=function(){return this._date.month()},e.dayOfMonth=function(){return this._date.dayOfMonth()},e.dayOfYear=function(){return this._date.dayOfYear()},e.dayOfWeek=function(){return this._date.dayOfWeek()},e.hour=function(){return this._time.hour()},e.minute=function(){return this._time.minute()},e.second=function(){return this._time.second()},e.nano=function(){return this._time.nano()},e.withAdjuster=function(t){return p(t,"adjuster"),t instanceof cn?this._withDateTime(t,this._time):t instanceof fn?this._withDateTime(this._date,t):t instanceof n?t:(d("function"==typeof t.adjustInto,"adjuster",u),t.adjustInto(this))},e.withFieldValue=function(t,n){return p(t,"field"),t instanceof $?t.isTimeBased()?this._withDateTime(this._date,this._time.with(t,n)):this._withDateTime(this._date.with(t,n),this._time):t.adjustInto(this,n)},e.withYear=function(t){return this._withDateTime(this._date.withYear(t),this._time)},e.withMonth=function(t){return this._withDateTime(this._date.withMonth(t),this._time)},e.withDayOfMonth=function(t){return this._withDateTime(this._date.withDayOfMonth(t),this._time)},e.withDayOfYear=function(t){return this._withDateTime(this._date.withDayOfYear(t),this._time)},e.withHour=function(t){var n=this._time.withHour(t);return this._withDateTime(this._date,n)},e.withMinute=function(t){var n=this._time.withMinute(t);return this._withDateTime(this._date,n)},e.withSecond=function(t){var n=this._time.withSecond(t);return this._withDateTime(this._date,n)},e.withNano=function(t){var n=this._time.withNano(t);return this._withDateTime(this._date,n)},e.truncatedTo=function(t){return this._withDateTime(this._date,this._time.truncatedTo(t))},e.plusAmount=function(t){return p(t,"amount"),t.addTo(this)},e.plusAmountUnit=function(t,n){if(p(n,"unit"),n instanceof C){switch(n){case C.NANOS:return this.plusNanos(t);case C.MICROS:return this.plusDays(w.intDiv(t,fn.MICROS_PER_DAY)).plusNanos(1e3*w.intMod(t,fn.MICROS_PER_DAY));case C.MILLIS:return this.plusDays(w.intDiv(t,fn.MILLIS_PER_DAY)).plusNanos(1e6*w.intMod(t,fn.MILLIS_PER_DAY));case C.SECONDS:return this.plusSeconds(t);case C.MINUTES:return this.plusMinutes(t);case C.HOURS:return this.plusHours(t);case C.HALF_DAYS:return this.plusDays(w.intDiv(t,256)).plusHours(12*w.intMod(t,256))}return this._withDateTime(this._date.plus(t,n),this._time)}return n.addTo(this,t)},e.plusYears=function(t){var n=this._date.plusYears(t);return this._withDateTime(n,this._time)},e.plusMonths=function(t){var n=this._date.plusMonths(t);return this._withDateTime(n,this._time)},e.plusWeeks=function(t){var n=this._date.plusWeeks(t);return this._withDateTime(n,this._time)},e.plusDays=function(t){var n=this._date.plusDays(t);return this._withDateTime(n,this._time)},e.plusHours=function(t){return this._plusWithOverflow(this._date,t,0,0,0,1)},e.plusMinutes=function(t){return this._plusWithOverflow(this._date,0,t,0,0,1)},e.plusSeconds=function(t){return this._plusWithOverflow(this._date,0,0,t,0,1)},e.plusNanos=function(t){return this._plusWithOverflow(this._date,0,0,0,t,1)},e.minusAmount=function(t){return p(t,"amount"),t.subtractFrom(this)},e.minusAmountUnit=function(t,n){return p(n,"unit"),this.plusAmountUnit(-1*t,n)},e.minusYears=function(t){return this.plusYears(-1*t)},e.minusMonths=function(t){return this.plusMonths(-1*t)},e.minusWeeks=function(t){return this.plusWeeks(-1*t)},e.minusDays=function(t){return this.plusDays(-1*t)},e.minusHours=function(t){return this._plusWithOverflow(this._date,t,0,0,0,-1)},e.minusMinutes=function(t){return this._plusWithOverflow(this._date,0,t,0,0,-1)},e.minusSeconds=function(t){return this._plusWithOverflow(this._date,0,0,t,0,-1)},e.minusNanos=function(t){return this._plusWithOverflow(this._date,0,0,0,t,-1)},e._plusWithOverflow=function(t,n,e,r,i,o){if(0===n&&0===e&&0===r&&0===i)return this._withDateTime(t,this._time);var s=w.intDiv(i,fn.NANOS_PER_DAY)+w.intDiv(r,fn.SECONDS_PER_DAY)+w.intDiv(e,fn.MINUTES_PER_DAY)+w.intDiv(n,fn.HOURS_PER_DAY);s*=o;var a=w.intMod(i,fn.NANOS_PER_DAY)+w.intMod(r,fn.SECONDS_PER_DAY)*fn.NANOS_PER_SECOND+w.intMod(e,fn.MINUTES_PER_DAY)*fn.NANOS_PER_MINUTE+w.intMod(n,fn.HOURS_PER_DAY)*fn.NANOS_PER_HOUR,u=this._time.toNanoOfDay();a=a*o+u,s+=w.floorDiv(a,fn.NANOS_PER_DAY);var c=w.floorMod(a,fn.NANOS_PER_DAY),l=c===u?this._time:fn.ofNanoOfDay(c);return this._withDateTime(t.plusDays(s),l)},e.query=function(n){return p(n,"query"),n===z.localDate()?this.toLocalDate():t.prototype.query.call(this,n)},e.adjustInto=function(n){return t.prototype.adjustInto.call(this,n)},e.until=function(t,e){p(t,"endExclusive"),p(e,"unit");var r=n.from(t);if(e instanceof C){if(e.isTimeBased()){var i=this._date.daysUntil(r._date),o=r._time.toNanoOfDay()-this._time.toNanoOfDay();i>0&&o<0?(i--,o+=fn.NANOS_PER_DAY):i<0&&o>0&&(i++,o-=fn.NANOS_PER_DAY);var a=i;switch(e){case C.NANOS:return a=w.safeMultiply(a,fn.NANOS_PER_DAY),w.safeAdd(a,o);case C.MICROS:return a=w.safeMultiply(a,fn.MICROS_PER_DAY),w.safeAdd(a,w.intDiv(o,1e3));case C.MILLIS:return a=w.safeMultiply(a,fn.MILLIS_PER_DAY),w.safeAdd(a,w.intDiv(o,1e6));case C.SECONDS:return a=w.safeMultiply(a,fn.SECONDS_PER_DAY),w.safeAdd(a,w.intDiv(o,fn.NANOS_PER_SECOND));case C.MINUTES:return a=w.safeMultiply(a,fn.MINUTES_PER_DAY),w.safeAdd(a,w.intDiv(o,fn.NANOS_PER_MINUTE));case C.HOURS:return a=w.safeMultiply(a,fn.HOURS_PER_DAY),w.safeAdd(a,w.intDiv(o,fn.NANOS_PER_HOUR));case C.HALF_DAYS:return a=w.safeMultiply(a,2),w.safeAdd(a,w.intDiv(o,12*fn.NANOS_PER_HOUR))}throw new s("Unsupported unit: "+e)}var u=r._date,c=r._time;return u.isAfter(this._date)&&c.isBefore(this._time)?u=u.minusDays(1):u.isBefore(this._date)&&c.isAfter(this._time)&&(u=u.plusDays(1)),this._date.until(u,e)}return e.between(this,r)},e.atOffset=function(t){return sn.of(this,t)},e.atZone=function(t){return on.of(this,t)},e.toLocalDate=function(){return this._date},e.toLocalTime=function(){return this._time},e.compareTo=function(t){return p(t,"other"),_(t,n,"other"),this._compareTo0(t)},e._compareTo0=function(t){var n=this._date.compareTo(t.toLocalDate());return 0===n&&(n=this._time.compareTo(t.toLocalTime())),n},e.isAfter=function(t){return this.compareTo(t)>0},e.isBefore=function(t){return this.compareTo(t)<0},e.isEqual=function(t){return 0===this.compareTo(t)},e.equals=function(t){return this===t||t instanceof n&&this._date.equals(t._date)&&this._time.equals(t._time)},e.hashCode=function(){return this._date.hashCode()^this._time.hashCode()},e.toString=function(){return this._date.toString()+"T"+this._time.toString()},e.toJSON=function(){return this.toString()},e.format=function(t){return p(t,"formatter"),t.format(this)},n}(ln),fn=function(t){function n(e,r,i,o){var s;void 0===e&&(e=0),void 0===r&&(r=0),void 0===i&&(i=0),void 0===o&&(o=0),s=t.call(this)||this;var a=w.safeToInt(e),u=w.safeToInt(r),c=w.safeToInt(i),l=w.safeToInt(o);return n._validate(a,u,c,l),0===u&&0===c&&0===l?(n.HOURS[a]||(s._hour=a,s._minute=u,s._second=c,s._nano=l,n.HOURS[a]=f(s)),n.HOURS[a]||f(s)):(s._hour=a,s._minute=u,s._second=c,s._nano=l,s)}h(n,t),n.now=function(t){return null==t?n._now(_n.systemDefaultZone()):t instanceof _n?n._now(t):n._now(_n.system(t))},n._now=function(t){return void 0===t&&(t=_n.systemDefaultZone()),p(t,"clock"),n.ofInstant(t.instant(),t.zone())},n.ofInstant=function(t,e){void 0===e&&(e=Y.systemDefault());var r=e.rules().offset(t),i=w.intMod(t.epochSecond(),n.SECONDS_PER_DAY);return(i=w.intMod(i+r.totalSeconds(),n.SECONDS_PER_DAY))<0&&(i+=n.SECONDS_PER_DAY),n.ofSecondOfDay(i,t.nano())},n.of=function(t,e,r,i){return new n(t,e,r,i)},n.ofSecondOfDay=function(t,e){void 0===t&&(t=0),void 0===e&&(e=0),$.SECOND_OF_DAY.checkValidValue(t),$.NANO_OF_SECOND.checkValidValue(e);var r=w.intDiv(t,n.SECONDS_PER_HOUR);t-=r*n.SECONDS_PER_HOUR;var i=w.intDiv(t,n.SECONDS_PER_MINUTE);return new n(r,i,t-=i*n.SECONDS_PER_MINUTE,e)},n.ofNanoOfDay=function(t){void 0===t&&(t=0),$.NANO_OF_DAY.checkValidValue(t);var e=w.intDiv(t,n.NANOS_PER_HOUR);t-=e*n.NANOS_PER_HOUR;var r=w.intDiv(t,n.NANOS_PER_MINUTE);t-=r*n.NANOS_PER_MINUTE;var i=w.intDiv(t,n.NANOS_PER_SECOND);return new n(e,r,i,t-=i*n.NANOS_PER_SECOND)},n.from=function(t){p(t,"temporal");var n=t.query(z.localTime());if(null==n)throw new i("Unable to obtain LocalTime TemporalAccessor: "+t+", type "+(null!=t.constructor?t.constructor.name:""));return n},n.parse=function(t,e){return void 0===e&&(e=Gt.ISO_LOCAL_TIME),p(e,"formatter"),e.parse(t,n.FROM)},n._validate=function(t,n,e,r){$.HOUR_OF_DAY.checkValidValue(t),$.MINUTE_OF_HOUR.checkValidValue(n),$.SECOND_OF_MINUTE.checkValidValue(e),$.NANO_OF_SECOND.checkValidValue(r)};var e=n.prototype;return e.isSupported=function(t){return t instanceof $||t instanceof C?t.isTimeBased():null!=t&&t.isSupportedBy(this)},e.range=function(n){return p(n),t.prototype.range.call(this,n)},e.get=function(t){return this.getLong(t)},e.getLong=function(t){return p(t,"field"),t instanceof $?this._get0(t):t.getFrom(this)},e._get0=function(t){switch(t){case $.NANO_OF_SECOND:return this._nano;case $.NANO_OF_DAY:return this.toNanoOfDay();case $.MICRO_OF_SECOND:return w.intDiv(this._nano,1e3);case $.MICRO_OF_DAY:return w.intDiv(this.toNanoOfDay(),1e3);case $.MILLI_OF_SECOND:return w.intDiv(this._nano,1e6);case $.MILLI_OF_DAY:return w.intDiv(this.toNanoOfDay(),1e6);case $.SECOND_OF_MINUTE:return this._second;case $.SECOND_OF_DAY:return this.toSecondOfDay();case $.MINUTE_OF_HOUR:return this._minute;case $.MINUTE_OF_DAY:return 60*this._hour+this._minute;case $.HOUR_OF_AMPM:return w.intMod(this._hour,12);case $.CLOCK_HOUR_OF_AMPM:var n=w.intMod(this._hour,12);return n%12==0?12:n;case $.HOUR_OF_DAY:return this._hour;case $.CLOCK_HOUR_OF_DAY:return 0===this._hour?24:this._hour;case $.AMPM_OF_DAY:return w.intDiv(this._hour,12)}throw new s("Unsupported field: "+t)},e.hour=function(){return this._hour},e.minute=function(){return this._minute},e.second=function(){return this._second},e.nano=function(){return this._nano},e.withAdjuster=function(t){return p(t,"adjuster"),t instanceof n?t:(d("function"==typeof t.adjustInto,"adjuster",u),t.adjustInto(this))},e.withFieldValue=function(t,e){if(p(t,"field"),_(t,E,"field"),t instanceof $){switch(t.checkValidValue(e),t){case $.NANO_OF_SECOND:return this.withNano(e);case $.NANO_OF_DAY:return n.ofNanoOfDay(e);case $.MICRO_OF_SECOND:return this.withNano(1e3*e);case $.MICRO_OF_DAY:return n.ofNanoOfDay(1e3*e);case $.MILLI_OF_SECOND:return this.withNano(1e6*e);case $.MILLI_OF_DAY:return n.ofNanoOfDay(1e6*e);case $.SECOND_OF_MINUTE:return this.withSecond(e);case $.SECOND_OF_DAY:return this.plusSeconds(e-this.toSecondOfDay());case $.MINUTE_OF_HOUR:return this.withMinute(e);case $.MINUTE_OF_DAY:return this.plusMinutes(e-(60*this._hour+this._minute));case $.HOUR_OF_AMPM:return this.plusHours(e-w.intMod(this._hour,12));case $.CLOCK_HOUR_OF_AMPM:return this.plusHours((12===e?0:e)-w.intMod(this._hour,12));case $.HOUR_OF_DAY:return this.withHour(e);case $.CLOCK_HOUR_OF_DAY:return this.withHour(24===e?0:e);case $.AMPM_OF_DAY:return this.plusHours(12*(e-w.intDiv(this._hour,12)))}throw new s("Unsupported field: "+t)}return t.adjustInto(this,e)},e.withHour=function(t){return void 0===t&&(t=0),this._hour===t?this:new n(t,this._minute,this._second,this._nano)},e.withMinute=function(t){return void 0===t&&(t=0),this._minute===t?this:new n(this._hour,t,this._second,this._nano)},e.withSecond=function(t){return void 0===t&&(t=0),this._second===t?this:new n(this._hour,this._minute,t,this._nano)},e.withNano=function(t){return void 0===t&&(t=0),this._nano===t?this:new n(this._hour,this._minute,this._second,t)},e.truncatedTo=function(t){if(p(t,"unit"),t===C.NANOS)return this;var e=t.duration();if(e.seconds()>n.SECONDS_PER_DAY)throw new i("Unit is too large to be used for truncation");var r=e.toNanos();if(0!==w.intMod(n.NANOS_PER_DAY,r))throw new i("Unit must divide into a standard day without remainder");var o=this.toNanoOfDay();return n.ofNanoOfDay(w.intDiv(o,r)*r)},e.plusAmount=function(t){return p(t,"amount"),t.addTo(this)},e.plusAmountUnit=function(t,e){if(p(e,"unit"),e instanceof C){switch(e){case C.NANOS:return this.plusNanos(t);case C.MICROS:return this.plusNanos(1e3*w.intMod(t,n.MICROS_PER_DAY));case C.MILLIS:return this.plusNanos(1e6*w.intMod(t,n.MILLIS_PER_DAY));case C.SECONDS:return this.plusSeconds(t);case C.MINUTES:return this.plusMinutes(t);case C.HOURS:return this.plusHours(t);case C.HALF_DAYS:return this.plusHours(12*w.intMod(t,2))}throw new s("Unsupported unit: "+e)}return e.addTo(this,t)},e.plusHours=function(t){return 0===t?this:new n(w.intMod(w.intMod(t,n.HOURS_PER_DAY)+this._hour+n.HOURS_PER_DAY,n.HOURS_PER_DAY),this._minute,this._second,this._nano)},e.plusMinutes=function(t){if(0===t)return this;var e=this._hour*n.MINUTES_PER_HOUR+this._minute,r=w.intMod(w.intMod(t,n.MINUTES_PER_DAY)+e+n.MINUTES_PER_DAY,n.MINUTES_PER_DAY);return e===r?this:new n(w.intDiv(r,n.MINUTES_PER_HOUR),w.intMod(r,n.MINUTES_PER_HOUR),this._second,this._nano)},e.plusSeconds=function(t){if(0===t)return this;var e=this._hour*n.SECONDS_PER_HOUR+this._minute*n.SECONDS_PER_MINUTE+this._second,r=w.intMod(w.intMod(t,n.SECONDS_PER_DAY)+e+n.SECONDS_PER_DAY,n.SECONDS_PER_DAY);return e===r?this:new n(w.intDiv(r,n.SECONDS_PER_HOUR),w.intMod(w.intDiv(r,n.SECONDS_PER_MINUTE),n.MINUTES_PER_HOUR),w.intMod(r,n.SECONDS_PER_MINUTE),this._nano)},e.plusNanos=function(t){if(0===t)return this;var e=this.toNanoOfDay(),r=w.intMod(w.intMod(t,n.NANOS_PER_DAY)+e+n.NANOS_PER_DAY,n.NANOS_PER_DAY);return e===r?this:new n(w.intDiv(r,n.NANOS_PER_HOUR),w.intMod(w.intDiv(r,n.NANOS_PER_MINUTE),n.MINUTES_PER_HOUR),w.intMod(w.intDiv(r,n.NANOS_PER_SECOND),n.SECONDS_PER_MINUTE),w.intMod(r,n.NANOS_PER_SECOND))},e.minusAmount=function(t){return p(t,"amount"),t.subtractFrom(this)},e.minusAmountUnit=function(t,n){return p(n,"unit"),this.plusAmountUnit(-1*t,n)},e.minusHours=function(t){return this.plusHours(-1*w.intMod(t,n.HOURS_PER_DAY))},e.minusMinutes=function(t){return this.plusMinutes(-1*w.intMod(t,n.MINUTES_PER_DAY))},e.minusSeconds=function(t){return this.plusSeconds(-1*w.intMod(t,n.SECONDS_PER_DAY))},e.minusNanos=function(t){return this.plusNanos(-1*w.intMod(t,n.NANOS_PER_DAY))},e.query=function(t){return p(t,"query"),t===z.precision()?C.NANOS:t===z.localTime()?this:t===z.chronology()||t===z.zoneId()||t===z.zone()||t===z.offset()||t===z.localDate()?null:t.queryFrom(this)},e.adjustInto=function(t){return t.with(n.NANO_OF_DAY,this.toNanoOfDay())},e.until=function(t,e){p(t,"endExclusive"),p(e,"unit");var r=n.from(t);if(e instanceof C){var i=r.toNanoOfDay()-this.toNanoOfDay();switch(e){case C.NANOS:return i;case C.MICROS:return w.intDiv(i,1e3);case C.MILLIS:return w.intDiv(i,1e6);case C.SECONDS:return w.intDiv(i,n.NANOS_PER_SECOND);case C.MINUTES:return w.intDiv(i,n.NANOS_PER_MINUTE);case C.HOURS:return w.intDiv(i,n.NANOS_PER_HOUR);case C.HALF_DAYS:return w.intDiv(i,12*n.NANOS_PER_HOUR)}throw new s("Unsupported unit: "+e)}return e.between(this,r)},e.atDate=function(t){return hn.of(t,this)},e.toSecondOfDay=function(){var t=this._hour*n.SECONDS_PER_HOUR;return(t+=this._minute*n.SECONDS_PER_MINUTE)+this._second},e.toNanoOfDay=function(){var t=this._hour*n.NANOS_PER_HOUR;return t+=this._minute*n.NANOS_PER_MINUTE,(t+=this._second*n.NANOS_PER_SECOND)+this._nano},e.compareTo=function(t){p(t,"other"),_(t,n,"other");var e=w.compareNumbers(this._hour,t._hour);return 0===e&&0===(e=w.compareNumbers(this._minute,t._minute))&&0===(e=w.compareNumbers(this._second,t._second))&&(e=w.compareNumbers(this._nano,t._nano)),e},e.isAfter=function(t){return this.compareTo(t)>0},e.isBefore=function(t){return this.compareTo(t)<0},e.equals=function(t){return this===t||t instanceof n&&this._hour===t._hour&&this._minute===t._minute&&this._second===t._second&&this._nano===t._nano},e.hashCode=function(){var t=this.toNanoOfDay();return w.hash(t)},e.toString=function(){var t="",n=this._hour,e=this._minute,r=this._second,i=this._nano;return t+=n<10?"0":"",t+=n,t+=e<10?":0":":",t+=e,(r>0||i>0)&&(t+=r<10?":0":":",t+=r,i>0&&(t+=".",0===w.intMod(i,1e6)?t+=(""+(w.intDiv(i,1e6)+1e3)).substring(1):0===w.intMod(i,1e3)?t+=(""+(w.intDiv(i,1e3)+1e6)).substring(1):t+=(""+(i+1e9)).substring(1))),t},e.toJSON=function(){return this.toString()},e.format=function(t){return p(t,"formatter"),t.format(this)},n}(H);fn.HOURS_PER_DAY=24,fn.MINUTES_PER_HOUR=60,fn.MINUTES_PER_DAY=fn.MINUTES_PER_HOUR*fn.HOURS_PER_DAY,fn.SECONDS_PER_MINUTE=60,fn.SECONDS_PER_HOUR=fn.SECONDS_PER_MINUTE*fn.MINUTES_PER_HOUR,fn.SECONDS_PER_DAY=fn.SECONDS_PER_HOUR*fn.HOURS_PER_DAY,fn.MILLIS_PER_DAY=1e3*fn.SECONDS_PER_DAY,fn.MICROS_PER_DAY=1e6*fn.SECONDS_PER_DAY,fn.NANOS_PER_SECOND=1e9,fn.NANOS_PER_MINUTE=fn.NANOS_PER_SECOND*fn.SECONDS_PER_MINUTE,fn.NANOS_PER_HOUR=fn.NANOS_PER_MINUTE*fn.MINUTES_PER_HOUR,fn.NANOS_PER_DAY=fn.NANOS_PER_HOUR*fn.HOURS_PER_DAY;var dn=1e6,pn=function(t){function n(e,r){var i;return i=t.call(this)||this,n._validate(e,r),i._seconds=w.safeToInt(e),i._nanos=w.safeToInt(r),i}h(n,t),n.now=function(t){return void 0===t&&(t=_n.systemUTC()),t.instant()},n.ofEpochSecond=function(t,e){void 0===e&&(e=0);var r=t+w.floorDiv(e,fn.NANOS_PER_SECOND),i=w.floorMod(e,fn.NANOS_PER_SECOND);return n._create(r,i)},n.ofEpochMilli=function(t){var e=w.floorDiv(t,1e3),r=w.floorMod(t,1e3);return n._create(e,1e6*r)},n.from=function(t){try{var e=t.getLong($.INSTANT_SECONDS),r=t.get($.NANO_OF_SECOND);return n.ofEpochSecond(e,r)}catch(n){throw new i("Unable to obtain Instant from TemporalAccessor: "+t+", type "+typeof t,n)}},n.parse=function(t){return Gt.ISO_INSTANT.parse(t,n.FROM)},n._create=function(t,e){return 0===t&&0===e?n.EPOCH:new n(t,e)},n._validate=function(t,e){if(tn.MAX_SECONDS)throw new i("Instant exceeds minimum or maximum instant");if(e<0||e>fn.NANOS_PER_SECOND)throw new i("Instant exceeds minimum or maximum instant")};var e=n.prototype;return e.isSupported=function(t){return t instanceof $?t===$.INSTANT_SECONDS||t===$.NANO_OF_SECOND||t===$.MICRO_OF_SECOND||t===$.MILLI_OF_SECOND:t instanceof C?t.isTimeBased()||t===C.DAYS:null!=t&&t.isSupportedBy(this)},e.range=function(n){return t.prototype.range.call(this,n)},e.get=function(t){return this.getLong(t)},e.getLong=function(t){if(t instanceof $){switch(t){case $.NANO_OF_SECOND:return this._nanos;case $.MICRO_OF_SECOND:return w.intDiv(this._nanos,1e3);case $.MILLI_OF_SECOND:return w.intDiv(this._nanos,dn);case $.INSTANT_SECONDS:return this._seconds}throw new s("Unsupported field: "+t)}return t.getFrom(this)},e.epochSecond=function(){return this._seconds},e.nano=function(){return this._nanos},e.withAdjuster=function(t){return p(t,"adjuster"),t.adjustInto(this)},e.withFieldValue=function(t,e){if(p(t,"field"),t instanceof $){switch(t.checkValidValue(e),t){case $.MILLI_OF_SECOND:var r=e*dn;return r!==this._nanos?n._create(this._seconds,r):this;case $.MICRO_OF_SECOND:var i=1e3*e;return i!==this._nanos?n._create(this._seconds,i):this;case $.NANO_OF_SECOND:return e!==this._nanos?n._create(this._seconds,e):this;case $.INSTANT_SECONDS:return e!==this._seconds?n._create(e,this._nanos):this}throw new s("Unsupported field: "+t)}return t.adjustInto(this,e)},e.truncatedTo=function(t){if(p(t,"unit"),t===C.NANOS)return this;var n=t.duration();if(n.seconds()>fn.SECONDS_PER_DAY)throw new i("Unit is too large to be used for truncation");var e=n.toNanos();if(0!==w.intMod(fn.NANOS_PER_DAY,e))throw new i("Unit must divide into a standard day without remainder");var r=w.intMod(this._seconds,fn.SECONDS_PER_DAY)*fn.NANOS_PER_SECOND+this._nanos,o=w.intDiv(r,e)*e;return this.plusNanos(o-r)},e.plusAmount=function(t){return p(t,"amount"),t.addTo(this)},e.plusAmountUnit=function(t,n){if(p(t,"amountToAdd"),p(n,"unit"),_(n,k),n instanceof C){switch(n){case C.NANOS:return this.plusNanos(t);case C.MICROS:return this._plus(w.intDiv(t,1e6),1e3*w.intMod(t,1e6));case C.MILLIS:return this.plusMillis(t);case C.SECONDS:return this.plusSeconds(t);case C.MINUTES:return this.plusSeconds(w.safeMultiply(t,fn.SECONDS_PER_MINUTE));case C.HOURS:return this.plusSeconds(w.safeMultiply(t,fn.SECONDS_PER_HOUR));case C.HALF_DAYS:return this.plusSeconds(w.safeMultiply(t,fn.SECONDS_PER_DAY/2));case C.DAYS:return this.plusSeconds(w.safeMultiply(t,fn.SECONDS_PER_DAY))}throw new s("Unsupported unit: "+n)}return n.addTo(this,t)},e.plusSeconds=function(t){return this._plus(t,0)},e.plusMillis=function(t){return this._plus(w.intDiv(t,1e3),w.intMod(t,1e3)*dn)},e.plusNanos=function(t){return this._plus(0,t)},e._plus=function(t,e){if(0===t&&0===e)return this;var r=this._seconds+t;r+=w.intDiv(e,fn.NANOS_PER_SECOND);var i=this._nanos+e%fn.NANOS_PER_SECOND;return n.ofEpochSecond(r,i)},e.minusAmount=function(t){return p(t,"amount"),t.subtractFrom(this)},e.minusAmountUnit=function(t,n){return this.plusAmountUnit(-1*t,n)},e.minusSeconds=function(t){return this.plusSeconds(-1*t)},e.minusMillis=function(t){return this.plusMillis(-1*t)},e.minusNanos=function(t){return this.plusNanos(-1*t)},e.query=function(t){return p(t,"query"),t===z.precision()?C.NANOS:t===z.localDate()||t===z.localTime()||t===z.chronology()||t===z.zoneId()||t===z.zone()||t===z.offset()?null:t.queryFrom(this)},e.adjustInto=function(t){return p(t,"temporal"),t.with($.INSTANT_SECONDS,this._seconds).with($.NANO_OF_SECOND,this._nanos)},e.until=function(t,e){p(t,"endExclusive"),p(e,"unit");var r=n.from(t);if(e instanceof C){switch(e){case C.NANOS:return this._nanosUntil(r);case C.MICROS:return w.intDiv(this._nanosUntil(r),1e3);case C.MILLIS:return w.safeSubtract(r.toEpochMilli(),this.toEpochMilli());case C.SECONDS:return this._secondsUntil(r);case C.MINUTES:return w.intDiv(this._secondsUntil(r),fn.SECONDS_PER_MINUTE);case C.HOURS:return w.intDiv(this._secondsUntil(r),fn.SECONDS_PER_HOUR);case C.HALF_DAYS:return w.intDiv(this._secondsUntil(r),12*fn.SECONDS_PER_HOUR);case C.DAYS:return w.intDiv(this._secondsUntil(r),fn.SECONDS_PER_DAY)}throw new s("Unsupported unit: "+e)}return e.between(this,r)},e._nanosUntil=function(t){var n=w.safeSubtract(t.epochSecond(),this.epochSecond()),e=w.safeMultiply(n,fn.NANOS_PER_SECOND);return w.safeAdd(e,t.nano()-this.nano())},e._secondsUntil=function(t){var n=w.safeSubtract(t.epochSecond(),this.epochSecond()),e=t.nano()-this.nano();return n>0&&e<0?n--:n<0&&e>0&&n++,n},e.atOffset=function(t){return sn.ofInstant(this,t)},e.atZone=function(t){return on.ofInstant(this,t)},e.toEpochMilli=function(){return w.safeMultiply(this._seconds,1e3)+w.intDiv(this._nanos,dn)},e.compareTo=function(t){p(t,"otherInstant"),_(t,n,"otherInstant");var e=w.compareNumbers(this._seconds,t._seconds);return 0!==e?e:this._nanos-t._nanos},e.isAfter=function(t){return this.compareTo(t)>0},e.isBefore=function(t){return this.compareTo(t)<0},e.equals=function(t){return this===t||t instanceof n&&this.epochSecond()===t.epochSecond()&&this.nano()===t.nano()},e.hashCode=function(){return w.hashCode(this._seconds,this._nanos)},e.toString=function(){return Gt.ISO_INSTANT.format(this)},e.toJSON=function(){return this.toString()},n}(H),_n=function(){function t(){}t.systemUTC=function(){return new mn(Q.UTC)},t.systemDefaultZone=function(){return new mn(Y.systemDefault())},t.system=function(t){return new mn(t)},t.fixed=function(t,n){return new vn(t,n)},t.offset=function(t,n){return new gn(t,n)};var n=t.prototype;return n.millis=function(){m("Clock.millis")},n.instant=function(){m("Clock.instant")},n.zone=function(){m("Clock.zone")},n.withZone=function(){m("Clock.withZone")},t}(),mn=function(t){function n(n){var e;return p(n,"zone"),(e=t.call(this)||this)._zone=n,e}h(n,t);var e=n.prototype;return e.zone=function(){return this._zone},e.millis=function(){return(new Date).getTime()},e.instant=function(){return pn.ofEpochMilli(this.millis())},e.equals=function(t){return t instanceof n&&this._zone.equals(t._zone)},e.withZone=function(t){return t.equals(this._zone)?this:new n(t)},e.toString=function(){return"SystemClock["+this._zone.toString()+"]"},n}(_n),vn=function(t){function n(n,e){var r;return(r=t.call(this)||this)._instant=n,r._zoneId=e,r}h(n,t);var e=n.prototype;return e.instant=function(){return this._instant},e.millis=function(){return this._instant.toEpochMilli()},e.zone=function(){return this._zoneId},e.toString=function(){return"FixedClock[]"},e.equals=function(t){return t instanceof n&&this._instant.equals(t._instant)&&this._zoneId.equals(t._zoneId)},e.withZone=function(t){return t.equals(this._zoneId)?this:new n(this._instant,t)},n}(_n),gn=function(t){function n(n,e){var r;return(r=t.call(this)||this)._baseClock=n,r._offset=e,r}h(n,t);var e=n.prototype;return e.zone=function(){return this._baseClock.zone()},e.withZone=function(t){return t.equals(this._baseClock.zone())?this:new n(this._baseClock.withZone(t),this._offset)},e.millis=function(){return this._baseClock.millis()+this._offset.toMillis()},e.instant=function(){return this._baseClock.instant().plus(this._offset)},e.equals=function(t){return t instanceof n&&this._baseClock.equals(t._baseClock)&&this._offset.equals(t._offset)},e.toString=function(){return"OffsetClock["+this._baseClock+","+this._offset+"]"},n}(_n),bn=function(){function t(t,n,e){if(p(t,"transition"),p(n,"offsetBefore"),p(e,"offsetAfter"),n.equals(e))throw new u("Offsets must not be equal");if(0!==t.nano())throw new u("Nano-of-second must be zero");this._transition=t instanceof hn?t:hn.ofEpochSecond(t,0,n),this._offsetBefore=n,this._offsetAfter=e}t.of=function(n,e,r){return new t(n,e,r)};var n=t.prototype;return n.instant=function(){return this._transition.toInstant(this._offsetBefore)},n.toEpochSecond=function(){return this._transition.toEpochSecond(this._offsetBefore)},n.dateTimeBefore=function(){return this._transition},n.dateTimeAfter=function(){return this._transition.plusSeconds(this.durationSeconds())},n.offsetBefore=function(){return this._offsetBefore},n.offsetAfter=function(){return this._offsetAfter},n.duration=function(){return S.ofSeconds(this.durationSeconds())},n.durationSeconds=function(){return this._offsetAfter.totalSeconds()-this._offsetBefore.totalSeconds()},n.isGap=function(){return this._offsetAfter.totalSeconds()>this._offsetBefore.totalSeconds()},n.isOverlap=function(){return this._offsetAfter.totalSeconds()>>16},n.toString=function(){return"Transition["+(this.isGap()?"Gap":"Overlap")+" at "+this._transition.toString()+this._offsetBefore.toString()+" to "+this._offsetAfter+"]"},t}(),wn=function(t){function n(){return t.apply(this,arguments)||this}h(n,t);var e=n.prototype;return e.isFixedOffset=function(){return!1},e.offsetOfInstant=function(t){var n=new Date(t.toEpochMilli()).getTimezoneOffset();return Q.ofTotalMinutes(-1*n)},e.offsetOfEpochMilli=function(t){var n=new Date(t).getTimezoneOffset();return Q.ofTotalMinutes(-1*n)},e.offsetOfLocalDateTime=function(t){var n=1e3*t.toEpochSecond(Q.UTC),e=new Date(n).getTimezoneOffset(),r=new Date(n+6e4*e).getTimezoneOffset();return Q.ofTotalMinutes(-1*r)},e.validOffsets=function(t){return[this.offsetOfLocalDateTime(t)]},e.transition=function(){return null},e.standardOffset=function(t){return this.offsetOfInstant(t)},e.daylightSavings=function(){this._throwNotSupported()},e.isDaylightSavings=function(){this._throwNotSupported()},e.isValidOffset=function(t,n){return this.offsetOfLocalDateTime(t).equals(n)},e.nextTransition=function(){this._throwNotSupported()},e.previousTransition=function(){this._throwNotSupported()},e.transitions=function(){this._throwNotSupported()},e.transitionRules=function(){this._throwNotSupported()},e._throwNotSupported=function(){throw new i("not supported operation")},e.equals=function(t){return this===t||t instanceof n},e.toString=function(){return"SYSTEM"},n}(X),yn=function(t){function n(){var n;return(n=t.call(this)||this)._rules=new wn,n}h(n,t);var e=n.prototype;return e.rules=function(){return this._rules},e.equals=function(t){return this===t},e.id=function(){return"SYSTEM"},n}(Y),xn=function(){function t(){}return t.systemDefault=function(){return kn},t.getAvailableZoneIds=function(){return Lt.getAvailableZoneIds()},t.of=function(t){if(p(t,"zoneId"),"Z"===t)return Q.UTC;if(1===t.length)throw new i("Invalid zone: "+t);if(G.startsWith(t,"+")||G.startsWith(t,"-"))return Q.of(t);if("UTC"===t||"GMT"===t||"GMT0"===t||"UT"===t)return new Dt(t,Q.UTC.rules());if(G.startsWith(t,"UTC+")||G.startsWith(t,"GMT+")||G.startsWith(t,"UTC-")||G.startsWith(t,"GMT-")){var n=Q.of(t.substring(3));return 0===n.totalSeconds()?new Dt(t.substring(0,3),n.rules()):new Dt(t.substring(0,3)+n.id(),n.rules())}if(G.startsWith(t,"UT+")||G.startsWith(t,"UT-")){var e=Q.of(t.substring(2));return 0===e.totalSeconds()?new Dt("UT",e.rules()):new Dt("UT"+e.id(),e.rules())}return"SYSTEM"===t?Y.systemDefault():Dt.ofId(t)},t.ofOffset=function(t,n){if(p(t,"prefix"),p(n,"offset"),0===t.length)return n;if("GMT"===t||"UTC"===t||"UT"===t)return 0===n.totalSeconds()?new Dt(t,n.rules()):new Dt(t+n.id(),n.rules());throw new u("Invalid prefix, must be GMT, UTC or UT: "+t)},t.from=function(t){p(t,"temporal");var n=t.query(z.zone());if(null==n)throw new i("Unable to obtain ZoneId from TemporalAccessor: "+t+", type "+(null!=t.constructor?t.constructor.name:""));return n},t}(),kn=null,Sn=!1;Sn||(Sn=!0,A.MIN_VALUE=-999999,A.MAX_VALUE=999999,S.ZERO=new S(0,0),C.NANOS=new C("Nanos",S.ofNanos(1)),C.MICROS=new C("Micros",S.ofNanos(1e3)),C.MILLIS=new C("Millis",S.ofNanos(1e6)),C.SECONDS=new C("Seconds",S.ofSeconds(1)),C.MINUTES=new C("Minutes",S.ofSeconds(60)),C.HOURS=new C("Hours",S.ofSeconds(3600)),C.HALF_DAYS=new C("HalfDays",S.ofSeconds(43200)),C.DAYS=new C("Days",S.ofSeconds(86400)),C.WEEKS=new C("Weeks",S.ofSeconds(604800)),C.MONTHS=new C("Months",S.ofSeconds(2629746)),C.YEARS=new C("Years",S.ofSeconds(31556952)),C.DECADES=new C("Decades",S.ofSeconds(315569520)),C.CENTURIES=new C("Centuries",S.ofSeconds(3155695200)),C.MILLENNIA=new C("Millennia",S.ofSeconds(31556952e3)),C.ERAS=new C("Eras",S.ofSeconds(31556952*(A.MAX_VALUE+1))),C.FOREVER=new C("Forever",S.ofSeconds(w.MAX_SAFE_INTEGER,999999999)),$.NANO_OF_SECOND=new $("NanoOfSecond",C.NANOS,C.SECONDS,M.of(0,999999999)),$.NANO_OF_DAY=new $("NanoOfDay",C.NANOS,C.DAYS,M.of(0,86399999999999)),$.MICRO_OF_SECOND=new $("MicroOfSecond",C.MICROS,C.SECONDS,M.of(0,999999)),$.MICRO_OF_DAY=new $("MicroOfDay",C.MICROS,C.DAYS,M.of(0,86399999999)),$.MILLI_OF_SECOND=new $("MilliOfSecond",C.MILLIS,C.SECONDS,M.of(0,999)),$.MILLI_OF_DAY=new $("MilliOfDay",C.MILLIS,C.DAYS,M.of(0,86399999)),$.SECOND_OF_MINUTE=new $("SecondOfMinute",C.SECONDS,C.MINUTES,M.of(0,59)),$.SECOND_OF_DAY=new $("SecondOfDay",C.SECONDS,C.DAYS,M.of(0,86399)),$.MINUTE_OF_HOUR=new $("MinuteOfHour",C.MINUTES,C.HOURS,M.of(0,59)),$.MINUTE_OF_DAY=new $("MinuteOfDay",C.MINUTES,C.DAYS,M.of(0,1439)),$.HOUR_OF_AMPM=new $("HourOfAmPm",C.HOURS,C.HALF_DAYS,M.of(0,11)),$.CLOCK_HOUR_OF_AMPM=new $("ClockHourOfAmPm",C.HOURS,C.HALF_DAYS,M.of(1,12)),$.HOUR_OF_DAY=new $("HourOfDay",C.HOURS,C.DAYS,M.of(0,23)),$.CLOCK_HOUR_OF_DAY=new $("ClockHourOfDay",C.HOURS,C.DAYS,M.of(1,24)),$.AMPM_OF_DAY=new $("AmPmOfDay",C.HALF_DAYS,C.DAYS,M.of(0,1)),$.DAY_OF_WEEK=new $("DayOfWeek",C.DAYS,C.WEEKS,M.of(1,7)),$.ALIGNED_DAY_OF_WEEK_IN_MONTH=new $("AlignedDayOfWeekInMonth",C.DAYS,C.WEEKS,M.of(1,7)),$.ALIGNED_DAY_OF_WEEK_IN_YEAR=new $("AlignedDayOfWeekInYear",C.DAYS,C.WEEKS,M.of(1,7)),$.DAY_OF_MONTH=new $("DayOfMonth",C.DAYS,C.MONTHS,M.of(1,28,31),"day"),$.DAY_OF_YEAR=new $("DayOfYear",C.DAYS,C.YEARS,M.of(1,365,366)),$.EPOCH_DAY=new $("EpochDay",C.DAYS,C.FOREVER,M.of(Math.floor(365.25*A.MIN_VALUE),Math.floor(365.25*A.MAX_VALUE))),$.ALIGNED_WEEK_OF_MONTH=new $("AlignedWeekOfMonth",C.WEEKS,C.MONTHS,M.of(1,4,5)),$.ALIGNED_WEEK_OF_YEAR=new $("AlignedWeekOfYear",C.WEEKS,C.YEARS,M.of(1,53)),$.MONTH_OF_YEAR=new $("MonthOfYear",C.MONTHS,C.YEARS,M.of(1,12),"month"),$.PROLEPTIC_MONTH=new $("ProlepticMonth",C.MONTHS,C.FOREVER,M.of(12*A.MIN_VALUE,12*A.MAX_VALUE+11)),$.YEAR_OF_ERA=new $("YearOfEra",C.YEARS,C.FOREVER,M.of(1,A.MAX_VALUE,A.MAX_VALUE+1)),$.YEAR=new $("Year",C.YEARS,C.FOREVER,M.of(A.MIN_VALUE,A.MAX_VALUE),"year"),$.ERA=new $("Era",C.ERAS,C.FOREVER,M.of(0,1)),$.INSTANT_SECONDS=new $("InstantSeconds",C.SECONDS,C.FOREVER,M.of(b,g)),$.OFFSET_SECONDS=new $("OffsetSeconds",C.SECONDS,C.FOREVER,M.of(-64800,64800)),function(){fn.HOURS=[];for(var t=0;t<24;t++)fn.of(t,0,0,0);fn.MIN=fn.HOURS[0],fn.MAX=new fn(23,59,59,999999999),fn.MIDNIGHT=fn.HOURS[0],fn.NOON=fn.HOURS[12],fn.FROM=O("LocalTime.FROM",(function(t){return fn.from(t)}))}(),ft=new at,dt=new ut,pt=new ct,_t=new lt,mt=new ht("WeekBasedYears",S.ofSeconds(31556952)),vt=new ht("QuarterYears",S.ofSeconds(7889238)),it.DAY_OF_QUARTER=ft,it.QUARTER_OF_YEAR=dt,it.WEEK_OF_WEEK_BASED_YEAR=pt,it.WEEK_BASED_YEAR=_t,it.WEEK_BASED_YEARS=mt,it.QUARTER_YEARS=vt,cn.prototype.isoWeekOfWeekyear=function(){return this.get(it.WEEK_OF_WEEK_BASED_YEAR)},cn.prototype.isoWeekyear=function(){return this.get(it.WEEK_BASED_YEAR)},z.ZONE_ID=O("ZONE_ID",(function(t){return t.query(z.ZONE_ID)})),z.CHRONO=O("CHRONO",(function(t){return t.query(z.CHRONO)})),z.PRECISION=O("PRECISION",(function(t){return t.query(z.PRECISION)})),z.OFFSET=O("OFFSET",(function(t){return t.isSupported($.OFFSET_SECONDS)?Q.ofTotalSeconds(t.get($.OFFSET_SECONDS)):null})),z.ZONE=O("ZONE",(function(t){var n=t.query(z.ZONE_ID);return null!=n?n:t.query(z.OFFSET)})),z.LOCAL_DATE=O("LOCAL_DATE",(function(t){return t.isSupported($.EPOCH_DAY)?cn.ofEpochDay(t.getLong($.EPOCH_DAY)):null})),z.LOCAL_TIME=O("LOCAL_TIME",(function(t){return t.isSupported($.NANO_OF_DAY)?fn.ofNanoOfDay(t.getLong($.NANO_OF_DAY)):null})),D.MONDAY=new D(0,"MONDAY"),D.TUESDAY=new D(1,"TUESDAY"),D.WEDNESDAY=new D(2,"WEDNESDAY"),D.THURSDAY=new D(3,"THURSDAY"),D.FRIDAY=new D(4,"FRIDAY"),D.SATURDAY=new D(5,"SATURDAY"),D.SUNDAY=new D(6,"SUNDAY"),D.FROM=O("DayOfWeek.FROM",(function(t){return D.from(t)})),R=[D.MONDAY,D.TUESDAY,D.WEDNESDAY,D.THURSDAY,D.FRIDAY,D.SATURDAY,D.SUNDAY],pn.MIN_SECONDS=-31619119219200,pn.MAX_SECONDS=31494816403199,pn.EPOCH=new pn(0,0),pn.MIN=pn.ofEpochSecond(pn.MIN_SECONDS,0),pn.MAX=pn.ofEpochSecond(pn.MAX_SECONDS,999999999),pn.FROM=O("Instant.FROM",(function(t){return pn.from(t)})),cn.MIN=cn.of(A.MIN_VALUE,1,1),cn.MAX=cn.of(A.MAX_VALUE,12,31),cn.EPOCH_0=cn.ofEpochDay(0),cn.FROM=O("LocalDate.FROM",(function(t){return cn.from(t)})),hn.MIN=hn.of(cn.MIN,fn.MIN),hn.MAX=hn.of(cn.MAX,fn.MAX),hn.FROM=O("LocalDateTime.FROM",(function(t){return hn.from(t)})),Kt.MIN_VALUE=A.MIN_VALUE,Kt.MAX_VALUE=A.MAX_VALUE,Ot=(new Bt).appendValue($.YEAR,4,10,bt.EXCEEDS_PAD).toFormatter(),Kt.FROM=O("Year.FROM",(function(t){return Kt.from(t)})),P.JANUARY=new P(1,"JANUARY"),P.FEBRUARY=new P(2,"FEBRUARY"),P.MARCH=new P(3,"MARCH"),P.APRIL=new P(4,"APRIL"),P.MAY=new P(5,"MAY"),P.JUNE=new P(6,"JUNE"),P.JULY=new P(7,"JULY"),P.AUGUST=new P(8,"AUGUST"),P.SEPTEMBER=new P(9,"SEPTEMBER"),P.OCTOBER=new P(10,"OCTOBER"),P.NOVEMBER=new P(11,"NOVEMBER"),P.DECEMBER=new P(12,"DECEMBER"),L=[P.JANUARY,P.FEBRUARY,P.MARCH,P.APRIL,P.MAY,P.JUNE,P.JULY,P.AUGUST,P.SEPTEMBER,P.OCTOBER,P.NOVEMBER,P.DECEMBER],jt=(new Bt).appendValue($.YEAR,4,10,bt.EXCEEDS_PAD).appendLiteral("-").appendValue($.MONTH_OF_YEAR,2).toFormatter(),Xt.FROM=O("YearMonth.FROM",(function(t){return Xt.from(t)})),Tt=(new Bt).appendLiteral("--").appendValue($.MONTH_OF_YEAR,2).appendLiteral("-").appendValue($.DAY_OF_MONTH,2).toFormatter(),Yt.FROM=O("MonthDay.FROM",(function(t){return Yt.from(t)})),q.ofDays(0),Q.MAX_SECONDS=18*fn.SECONDS_PER_HOUR,Q.UTC=Q.ofTotalSeconds(0),Q.MIN=Q.ofTotalSeconds(-Q.MAX_SECONDS),Q.MAX=Q.ofTotalSeconds(Q.MAX_SECONDS),on.FROM=O("ZonedDateTime.FROM",(function(t){return on.from(t)})),kn=new yn,Y.systemDefault=xn.systemDefault,Y.getAvailableZoneIds=xn.getAvailableZoneIds,Y.of=xn.of,Y.ofOffset=xn.ofOffset,Y.from=xn.from,Q.from=xn.from,Y.SYSTEM=kn,Y.UTC=Q.ofTotalSeconds(0),nn.INSTANCE=new nn("IsoChronology"),Gt.ISO_LOCAL_DATE=(new Bt).appendValue($.YEAR,4,10,bt.EXCEEDS_PAD).appendLiteral("-").appendValue($.MONTH_OF_YEAR,2).appendLiteral("-").appendValue($.DAY_OF_MONTH,2).toFormatter(B.STRICT).withChronology(nn.INSTANCE),Gt.ISO_LOCAL_TIME=(new Bt).appendValue($.HOUR_OF_DAY,2).appendLiteral(":").appendValue($.MINUTE_OF_HOUR,2).optionalStart().appendLiteral(":").appendValue($.SECOND_OF_MINUTE,2).optionalStart().appendFraction($.NANO_OF_SECOND,0,9,!0).toFormatter(B.STRICT),Gt.ISO_LOCAL_DATE_TIME=(new Bt).parseCaseInsensitive().append(Gt.ISO_LOCAL_DATE).appendLiteral("T").append(Gt.ISO_LOCAL_TIME).toFormatter(B.STRICT).withChronology(nn.INSTANCE),Gt.ISO_INSTANT=(new Bt).parseCaseInsensitive().appendInstant().toFormatter(B.STRICT),Gt.ISO_OFFSET_DATE_TIME=(new Bt).parseCaseInsensitive().append(Gt.ISO_LOCAL_DATE_TIME).appendOffsetId().toFormatter(B.STRICT).withChronology(nn.INSTANCE),Gt.ISO_ZONED_DATE_TIME=(new Bt).append(Gt.ISO_OFFSET_DATE_TIME).optionalStart().appendLiteral("[").parseCaseSensitive().appendZoneId().appendLiteral("]").toFormatter(B.STRICT).withChronology(nn.INSTANCE),Gt.BASIC_ISO_DATE=(new Bt).appendValue($.YEAR,4,10,bt.EXCEEDS_PAD).appendValue($.MONTH_OF_YEAR,2).appendValue($.DAY_OF_MONTH,2).toFormatter(B.STRICT).withChronology(nn.INSTANCE),Gt.ISO_OFFSET_DATE=(new Bt).parseCaseInsensitive().append(Gt.ISO_LOCAL_DATE).appendOffsetId().toFormatter(B.STRICT).withChronology(nn.INSTANCE),Gt.ISO_OFFSET_TIME=(new Bt).parseCaseInsensitive().append(Gt.ISO_LOCAL_TIME).appendOffsetId().toFormatter(B.STRICT).withChronology(nn.INSTANCE),Gt.ISO_ORDINAL_DATE=(new Bt).appendValue($.YEAR,4,10,bt.EXCEEDS_PAD).appendLiteral("-").appendValue($.DAY_OF_YEAR).toFormatter(B.STRICT),Gt.ISO_WEEK_DATE=(new Bt).appendValue($.YEAR,4,10,bt.EXCEEDS_PAD).appendLiteral("-W").appendValue($.ALIGNED_WEEK_OF_YEAR).appendLiteral("-").appendValue($.DAY_OF_WEEK).toFormatter(B.STRICT),Gt.PARSED_EXCESS_DAYS=O("PARSED_EXCESS_DAYS",(function(t){return t instanceof tt?t.excessDays:q.ZERO})),Gt.PARSED_LEAP_SECOND=O("PARSED_LEAP_SECOND",(function(t){return t instanceof tt&&t.leapSecond})),Ct.BASE_DATE=cn.of(2e3,1,1),Bt.CompositePrinterParser=xt,Bt.PadPrinterParserDecorator=$t,Bt.SettingsParser=zt,Bt.CharLiteralPrinterParser=Rt,Bt.StringLiteralPrinterParser=Rt,Bt.CharLiteralPrinterParser=yt,Bt.NumberPrinterParser=At,Bt.ReducedPrinterParser=Ct,Bt.FractionPrinterParser=kt,Bt.OffsetIdPrinterParser=Mt,Bt.ZoneIdPrinterParser=Pt,sn.MIN=hn.MIN.atOffset(Q.MAX),sn.MAX=hn.MAX.atOffset(Q.MIN),sn.FROM=O("OffsetDateTime.FROM",(function(t){return sn.from(t)})),en.MIN=en.ofNumbers(0,0,0,0,Q.MAX),en.MAX=en.ofNumbers(23,59,59,999999999,Q.MIN),en.FROM=O("OffsetTime.FROM",(function(t){return en.from(t)})));var An=function(){function t(t,n){var e;if(t instanceof cn)n=null==n?Y.systemDefault():n,e=t.atStartOfDay(n);else if(t instanceof hn)n=null==n?Y.systemDefault():n,e=t.atZone(n);else{if(!(t instanceof on))throw new u("unsupported instance for convert operation:"+t);e=null==n?t:t.withZoneSameInstant(n)}this.instant=e.toInstant()}var n=t.prototype;return n.toDate=function(){return new Date(this.instant.toEpochMilli())},n.toEpochMilli=function(){return this.instant.toEpochMilli()},t}();function Cn(t,n){return new An(t,n)}var En=function(t){function n(n,e){var r;return void 0===e&&(e=Y.systemDefault()),(r=t.call(this)||this)._zone=e,n instanceof Date?(r._epochMilli=n.getTime(),f(r)):"function"==typeof n.toDate&&n.toDate()instanceof Date?(r._epochMilli=n.toDate().getTime(),f(r)):(d(!1,"date must be either a javascript date or a moment"),r)}h(n,t);var e=n.prototype;return e.query=function(n){return p(n,"query"),n===z.localDate()?cn.ofInstant(pn.ofEpochMilli(this._epochMilli),this._zone):n===z.localTime()?fn.ofInstant(pn.ofEpochMilli(this._epochMilli),this._zone):n===z.zone()?this._zone:t.prototype.query.call(this,n)},e.get=function(t){return this.getLong(t)},e.getLong=function(t){if(p(t,"field"),t instanceof $){switch(t){case $.NANO_OF_SECOND:return 1e6*w.floorMod(this._epochMilli,1e3);case $.INSTANT_SECONDS:return w.floorDiv(this._epochMilli,1e3)}throw new s("Unsupported field: "+t)}return t.getFrom(this)},e.isSupported=function(t){return t===$.INSTANT_SECONDS||t===$.NANO_OF_SECOND},n}(T);function Mn(t,n){return new En(t,n)}var $n,zn,Tn={assert:v,DateTimeBuilder:tt,DateTimeParseContext:nt,DateTimePrintContext:rt,MathUtil:w,StringUtil:G,StringBuilder:Wt},jn={_:Tn,convert:Cn,nativeJs:Mn,ArithmeticException:a,DateTimeException:i,DateTimeParseException:o,IllegalArgumentException:u,IllegalStateException:c,UnsupportedTemporalTypeException:s,NullPointerException:l,Clock:_n,DayOfWeek:D,Duration:S,Instant:pn,LocalDate:cn,LocalTime:fn,LocalDateTime:hn,OffsetTime:en,OffsetDateTime:sn,Month:P,MonthDay:Yt,Period:q,Year:Kt,YearConstants:A,YearMonth:Xt,ZonedDateTime:on,ZoneOffset:Q,ZoneId:Y,ZoneRegion:Dt,ZoneOffsetTransition:bn,ZoneRules:X,ZoneRulesProvider:Lt,ChronoLocalDate:W,ChronoLocalDateTime:ln,ChronoZonedDateTime:rn,IsoChronology:nn,ChronoField:$,ChronoUnit:C,IsoFields:it,Temporal:H,TemporalAccessor:T,TemporalAdjuster:U,TemporalAdjusters:Zt,TemporalAmount:x,TemporalField:E,TemporalQueries:z,TemporalQuery:j,TemporalUnit:k,ValueRange:M,DateTimeFormatter:Gt,DateTimeFormatterBuilder:Bt,DecimalStyle:gt,ResolverStyle:B,SignStyle:bt,TextStyle:wt},On=($n=jn,zn=[],function(t){return~zn.indexOf(t)||(t($n),zn.push(t)),$n});jn.use=On},50245:(t,n,e)=>{"use strict";e.r(n),e.d(n,{Portal:()=>c});var r=e(7552),i=e(28485),o=e(24979),s=e(94921),a=e(52357),u=e(69500);const c=r.forwardRef((function(t,n){const{children:e,container:c,disablePortal:l=!1}=t,[h,f]=r.useState(null),d=(0,o.A)(r.isValidElement(e)?e.ref:null,n);if((0,s.A)((()=>{l||f(function(t){return"function"==typeof t?t():t}(c)||document.body)}),[c,l]),(0,s.A)((()=>{if(h&&!l)return(0,a.A)(n,h),()=>{(0,a.A)(n,null)}}),[n,h,l]),l){if(r.isValidElement(e)){const t={ref:d};return r.cloneElement(e,t)}return(0,u.jsx)(r.Fragment,{children:e})}return(0,u.jsx)(r.Fragment,{children:h?i.createPortal(e,h):h})}))},57610:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add")},70518:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"AddCircleOutline")},9023:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"}),"ArrowBack")},54442:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8z"}),"ArrowDownward")},17411:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}),"ArrowForward")},26739:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8z"}),"ArrowUpward")},32775:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-5 14H7v-2h7zm3-4H7v-2h10zm0-4H7V7h10z"}),"Article")},15898:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M19 12h-2v3h-3v2h5zM7 9h3V7H5v5h2zm14-6H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 16.01H3V4.99h18z"}),"AspectRatio")},1045:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M11 17c0 .55.45 1 1 1s1-.45 1-1-.45-1-1-1-1 .45-1 1m0-14v4h2V5.08c3.39.49 6 3.39 6 6.92 0 3.87-3.13 7-7 7s-7-3.13-7-7c0-1.68.59-3.22 1.58-4.42L12 13l1.41-1.41-6.8-6.8v.02C4.42 6.45 3 9.05 3 12c0 4.97 4.02 9 9 9 4.97 0 9-4.03 9-9s-4.03-9-9-9zm7 9c0-.55-.45-1-1-1s-1 .45-1 1 .45 1 1 1 1-.45 1-1M6 12c0 .55.45 1 1 1s1-.45 1-1-.45-1-1-1-1 .45-1 1"}),"AvTimer")},76003:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"m19 8-4 4h3c0 3.31-2.69 6-6 6-1.01 0-1.97-.25-2.8-.7l-1.46 1.46C8.97 19.54 10.43 20 12 20c4.42 0 8-3.58 8-8h3zM6 12c0-3.31 2.69-6 6-6 1.01 0 1.97.25 2.8.7l1.46-1.46C15.03 4.46 13.57 4 12 4c-4.42 0-8 3.58-8 8H1l4 4 4-4z"}),"Cached")},67179:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M1 18v3h3c0-1.66-1.34-3-3-3m0-4v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7m18-7H5v1.63c3.96 1.28 7.09 4.41 8.37 8.37H19zM1 10v2c4.97 0 9 4.03 9 9h2c0-6.08-4.93-11-11-11m20-7H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2"}),"CastConnected")},92543:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"ChevronLeft")},65694:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"ChevronRight")},84313:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{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"}),"Close")},44792:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M17 13l-5 5-5-5h3V9h4v4z"}),"CloudDownload")},64548:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M9.4 16.6 4.8 12l4.6-4.6L8 6l-6 6 6 6zm5.2 0 4.6-4.6-4.6-4.6L16 6l6 6-6 6z"}),"Code")},22802:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M19 5H5c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 12H5V7h14z"}),"CropLandscape")},21685:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M3 13h8V3H3zm0 8h8v-6H3zm10 0h8V11h-8zm0-18v6h8V3z"}),"Dashboard")},78126:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"}),"Delete")},5284:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M7 5h10v2h2V3c0-1.1-.9-1.99-2-1.99L7 1c-1.1 0-2 .9-2 2v4h2zm8.41 11.59L20 12l-4.59-4.59L14 8.83 17.17 12 14 15.17zM10 15.17 6.83 12 10 8.83 8.59 7.41 4 12l4.59 4.59zM17 19H7v-2H5v4c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2v-4h-2z"}),"DeveloperMode")},52662:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)([(0,o.jsx)("path",{d:"M20 3H4c-1.11 0-2 .89-2 2v12c0 1.1.89 2 2 2h4v2h8v-2h4c1.1 0 2-.9 2-2V5c0-1.11-.9-2-2-2m0 14H4V5h16z"},"0"),(0,o.jsx)("path",{d:"M6 8.25h8v1.5H6zm10.5 1.5H18v-1.5h-1.5V7H15v4h1.5zm-6.5 2.5h8v1.5h-8zM7.5 15H9v-4H7.5v1.25H6v1.5h1.5z"},"1")],"DisplaySettings")},31581:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M5 20h14v-2H5zM19 9h-4V3H9v6H5l7 7z"}),"Download")},78766:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2m-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}),"DragIndicator")},1937:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.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.75z"}),"Edit")},89753:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M10 20h4V4h-4zm-6 0h4v-8H4zM16 9v11h4V9z"}),"Equalizer")},65091:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z"}),"Error")},6212:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore")},99042:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm-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-2zm-1 7h5.5L14 6.5z"}),"FileCopy")},93070:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M9 16h6v-6h4l-7-7-7 7h4zm-4 2h14v2H5z"}),"FileUpload")},15451:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 16-7-8v8H5l7-8V5h7z"}),"FilterBAndW")},25541:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8z"}),"Folder")},63948:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M7 14H5v5h5v-2H7zm-2-4h2V7h3V5H5zm12 7h-3v2h5v-5h-2zM14 5v2h3v3h2V5z"}),"Fullscreen")},32316:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M5 16h3v3h2v-5H5zm3-8H5v2h5V5H8zm6 11h2v-3h3v-2h-5zm2-11V5h-2v5h5V8z"}),"FullscreenExit")},29494:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M11 18h2v-2h-2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4"}),"HelpOutline")},19156:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{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-2M8.5 13.5l2.5 3.01L14.5 12l4.5 6H5z"}),"Image")},23989:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-6h2zm0-8h-2V7h2z"}),"Info")},92561:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M21 3.01H3c-1.1 0-2 .9-2 2V9h2V4.99h18v14.03H3V15H1v4.01c0 1.1.9 1.98 2 1.98h18c1.1 0 2-.88 2-1.98v-14c0-1.11-.9-2-2-2M11 16l4-4-4-4v3H1v2h10z"}),"Input")},25460:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm7 7V3.5L18.5 9z"}),"InsertDriveFile")},94289:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6z"}),"KeyboardArrowRight")},45374:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2m-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2m3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1z"}),"Lock")},25746:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M12 17c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m6-9h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h1.9c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2m0 12H6V10h12z"}),"LockOpen")},62803:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"m20.5 3-.16.03L15 5.1 9 3 3.36 4.9c-.21.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.21-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5M15 19l-6-2.11V5l6 2.11z"}),"Map")},91318:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"}),"Menu")},71006:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M12 14c1.66 0 2.99-1.34 2.99-3L15 5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3 3m5.3-3c0 3-2.54 5.1-5.3 5.1S6.7 14 6.7 11H5c0 3.41 2.72 6.23 6 6.72V21h2v-3.28c3.28-.48 6-3.3 6-6.72z"}),"Mic")},63408:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}),"MoreHoriz")},30922:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M12 3v10.55c-.59-.34-1.27-.55-2-.55-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4V7h4V3z"}),"MusicNote")},60703:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.42 0-8-3.58-8-8 0-1.85.63-3.55 1.69-4.9L16.9 18.31C15.55 19.37 13.85 20 12 20m6.31-3.1L7.1 5.69C8.45 4.63 10.15 4 12 4c4.42 0 8 3.58 8 8 0 1.85-.63 3.55-1.69 4.9"}),"NotInterested")},5026:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M18 16v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1zm-5 0h-2v-2h2zm0-4h-2V8h2zm-1 10c1.1 0 2-.9 2-2h-4c0 1.1.89 2 2 2"}),"NotificationImportant")},79324:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M19 4H5c-1.11 0-2 .9-2 2v12c0 1.1.89 2 2 2h4v-2H5V8h14v10h-4v2h4c1.1 0 2-.9 2-2V6c0-1.1-.89-2-2-2m-7 6-4 4h3v6h2v-6h3z"}),"OpenInBrowser")},88766:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M12 2C6.49 2 2 6.49 2 12s4.49 10 10 10c1.38 0 2.5-1.12 2.5-2.5 0-.61-.23-1.2-.64-1.67-.08-.1-.13-.21-.13-.33 0-.28.22-.5.5-.5H16c3.31 0 6-2.69 6-6 0-4.96-4.49-9-10-9m5.5 11c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5m-3-4c-.83 0-1.5-.67-1.5-1.5S13.67 6 14.5 6s1.5.67 1.5 1.5S15.33 9 14.5 9M5 11.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5S7.33 13 6.5 13 5 12.33 5 11.5m6-4c0 .83-.67 1.5-1.5 1.5S8 8.33 8 7.5 8.67 6 9.5 6s1.5.67 1.5 1.5"}),"Palette")},5e3:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M23 5.5V20c0 2.2-1.8 4-4 4h-7.3c-1.08 0-2.1-.43-2.85-1.19L1 14.83s1.26-1.23 1.3-1.25c.22-.19.49-.29.79-.29.22 0 .42.06.6.16.04.01 4.31 2.46 4.31 2.46V4c0-.83.67-1.5 1.5-1.5S11 3.17 11 4v7h1V1.5c0-.83.67-1.5 1.5-1.5S15 .67 15 1.5V11h1V2.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5V11h1V5.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5"}),"PanTool")},7091:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M6 19h4V5H6zm8-14v14h4V5z"}),"Pause")},1598:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M22 16V4c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2m-11-4 2.03 2.71L16 11l4 5H8zM2 6v14c0 1.1.9 2 2 2h14v-2H4V6z"}),"PhotoLibrary")},99438:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M8 5v14l11-7z"}),"PlayArrow")},78762:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M2 9v2h19V9zm0 6h5v-2H2zm7 0h5v-2H9zm7 0h5v-2h-5z"}),"PowerInput")},79173:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M18.4 10.6C16.55 8.99 14.15 8 11.5 8c-4.65 0-8.58 3.03-9.96 7.22L3.9 16c1.05-3.19 4.05-5.5 7.6-5.5 1.95 0 3.73.72 5.12 1.88L13 16h9V7z"}),"Redo")},18355:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M7.11 8.53 5.7 7.11C4.8 8.27 4.24 9.61 4.07 11h2.02c.14-.87.49-1.72 1.02-2.47M6.09 13H4.07c.17 1.39.72 2.73 1.62 3.89l1.41-1.42c-.52-.75-.87-1.59-1.01-2.47m1.01 5.32c1.16.9 2.51 1.44 3.9 1.61V17.9c-.87-.15-1.71-.49-2.46-1.03zM13 4.07V1L8.45 5.55 13 10V6.09c2.84.48 5 2.94 5 5.91s-2.16 5.43-5 5.91v2.02c3.95-.49 7-3.85 7-7.93s-3.05-7.44-7-7.93"}),"RotateLeft")},43962:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M15.55 5.55 11 1v3.07C7.06 4.56 4 7.92 4 12s3.05 7.44 7 7.93v-2.02c-2.84-.48-5-2.94-5-5.91s2.16-5.43 5-5.91V10zM19.93 11c-.17-1.39-.72-2.73-1.62-3.89l-1.42 1.42c.54.75.88 1.6 1.02 2.47zM13 17.9v2.02c1.39-.17 2.74-.71 3.9-1.61l-1.44-1.44c-.75.54-1.59.89-2.46 1.03m3.89-2.42 1.42 1.41c.9-1.16 1.45-2.5 1.62-3.89h-2.02c-.14.87-.48 1.72-1.02 2.48"}),"RotateRight")},50076:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3m3-10H5V5h10z"}),"Save")},66181:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"}),"Search")},27820:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6"}),"Settings")},74983:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M5 2c0-.55-.45-1-1-1s-1 .45-1 1v4H1v6h6V6H5zm4 14c0 1.3.84 2.4 2 2.82V23h2v-4.18c1.16-.41 2-1.51 2-2.82v-2H9zm-8 0c0 1.3.84 2.4 2 2.82V23h2v-4.18C6.16 18.4 7 17.3 7 16v-2H1zM21 6V2c0-.55-.45-1-1-1s-1 .45-1 1v4h-2v6h6V6zm-8-4c0-.55-.45-1-1-1s-1 .45-1 1v4H9v6h6V6h-2zm4 14c0 1.3.84 2.4 2 2.82V23h2v-4.18c1.16-.41 2-1.51 2-2.82v-2h-6z"}),"SettingsInputComponent")},25402:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"m3.5 18.49 6-6.01 4 4L22 6.92l-1.41-1.41-7.09 7.97-4-4L2 16.99z"}),"ShowChart")},30637:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M6 6h12v12H6z"}),"Stop")},59754:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8m0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4z"}),"Sync")},24967:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M7.52 21.48C4.25 19.94 1.91 16.76 1.55 13H.05C.56 19.16 5.71 24 12 24l.66-.03-3.81-3.81zm.89-6.52c-.19 0-.37-.03-.52-.08-.16-.06-.29-.13-.4-.24-.11-.1-.2-.22-.26-.37-.06-.14-.09-.3-.09-.47h-1.3c0 .36.07.68.21.95.14.27.33.5.56.69.24.18.51.32.82.41.3.1.62.15.96.15.37 0 .72-.05 1.03-.15.32-.1.6-.25.83-.44s.42-.43.55-.72c.13-.29.2-.61.2-.97 0-.19-.02-.38-.07-.56-.05-.18-.12-.35-.23-.51-.1-.16-.24-.3-.4-.43-.17-.13-.37-.23-.61-.31.2-.09.37-.2.52-.33.15-.13.27-.27.37-.42.1-.15.17-.3.22-.46.05-.16.07-.32.07-.48 0-.36-.06-.68-.18-.96-.12-.28-.29-.51-.51-.69-.2-.19-.47-.33-.77-.43C9.1 8.05 8.76 8 8.39 8c-.36 0-.69.05-1 .16-.3.11-.57.26-.79.45-.21.19-.38.41-.51.67-.12.26-.18.54-.18.85h1.3c0-.17.03-.32.09-.45s.14-.25.25-.34c.11-.09.23-.17.38-.22.15-.05.3-.08.48-.08.4 0 .7.1.89.31.19.2.29.49.29.86 0 .18-.03.34-.08.49-.05.15-.14.27-.25.37-.11.1-.25.18-.41.24-.16.06-.36.09-.58.09H7.5v1.03h.77c.22 0 .42.02.6.07s.33.13.45.23c.12.11.22.24.29.4.07.16.1.35.1.57 0 .41-.12.72-.35.93-.23.23-.55.33-.95.33m8.55-5.92c-.32-.33-.7-.59-1.14-.77-.43-.18-.92-.27-1.46-.27H12v8h2.3c.55 0 1.06-.09 1.51-.27.45-.18.84-.43 1.16-.76.32-.33.57-.73.74-1.19.17-.47.26-.99.26-1.57v-.4c0-.58-.09-1.1-.26-1.57-.18-.47-.43-.87-.75-1.2m-.39 3.16c0 .42-.05.79-.14 1.13-.1.33-.24.62-.43.85-.19.23-.43.41-.71.53-.29.12-.62.18-.99.18h-.91V9.12h.97c.72 0 1.27.23 1.64.69.38.46.57 1.12.57 1.99zM12 0l-.66.03 3.81 3.81 1.33-1.33c3.27 1.55 5.61 4.72 5.96 8.48h1.5C23.44 4.84 18.29 0 12 0"}),"ThreeDRotation")},72671:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8"}),"Undo")},71188:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M5 20h14v-2H5zm0-10h4v6h6v-6h4l-7-7z"}),"Upload")},65580:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M14.67 5v6.5H9.33V5zm1 6.5H21V5h-5.33zm-1 7.5v-6.5H9.33V19zm1-6.5V19H21v-6.5zm-7.34 0H3V19h5.33zm0-1V5H3v6.5z"}),"ViewModule")},95173:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"}),"Visibility")},99105:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M1 21h22L12 2zm12-3h-2v-2h2zm0-4h-2v-4h2z"}),"Warning")},50253:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)([(0,o.jsx)("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"},"0"),(0,o.jsx)("path",{d:"M12 10h-2v2H9v-2H7V9h2V7h1v2h2z"},"1")],"ZoomIn")},95936:(t,n,e)=>{"use strict";var r=e(92120);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(33380)),o=e(69500);n.default=(0,i.default)((0,o.jsx)("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14M7 9h5v1H7z"}),"ZoomOut")},33380:(t,n,e)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=e(43700)},51132:(t,n,e)=>{"use strict";e.d(n,{A:()=>r});const r=e(7552).createContext({})},35578:(t,n,e)=>{"use strict";e.r(n),e.d(n,{accordionClasses:()=>P,default:()=>N,getAccordionUtilityClass:()=>D});var r=e(83673),i=e(6614),o=e(7552),s=(e(96830),e(93878)),a=e(60827),u=e(51148),c=e(31049),l=e(16157),h=e(31755),f=e(94479),d=e(46302),p=e(48231),_=e(51584),m=e(55549),v=e(9577);function g(t){return(0,v.Ay)("MuiCollapse",t)}(0,m.A)("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);var b=e(69500);const w=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],y=(0,u.Ay)("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,n[e.orientation],"entered"===e.state&&n.entered,"exited"===e.state&&!e.in&&"0px"===e.collapsedSize&&n.hidden]}})((({theme:t,ownerState:n})=>(0,i.A)({height:0,overflow:"hidden",transition:t.transitions.create("height")},"horizontal"===n.orientation&&{height:"auto",width:0,transition:t.transitions.create("width")},"entered"===n.state&&(0,i.A)({height:"auto",overflow:"visible"},"horizontal"===n.orientation&&{width:"auto"}),"exited"===n.state&&!n.in&&"0px"===n.collapsedSize&&{visibility:"hidden"}))),x=(0,u.Ay)("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(t,n)=>n.wrapper})((({ownerState:t})=>(0,i.A)({display:"flex",width:"100%"},"horizontal"===t.orientation&&{width:"auto",height:"100%"}))),k=(0,u.Ay)("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(t,n)=>n.wrapperInner})((({ownerState:t})=>(0,i.A)({width:"100%"},"horizontal"===t.orientation&&{width:"auto",height:"100%"}))),S=o.forwardRef((function(t,n){const e=(0,c.A)({props:t,name:"MuiCollapse"}),{addEndListener:u,children:m,className:v,collapsedSize:S="0px",component:A,easing:C,in:E,onEnter:M,onEntered:$,onEntering:z,onExit:T,onExited:j,onExiting:O,orientation:R="vertical",style:L,timeout:D=f.p0.standard,TransitionComponent:P=l.Ay}=e,I=(0,r.A)(e,w),q=(0,i.A)({},e,{orientation:R,collapsedSize:S}),N=(t=>{const{orientation:n,classes:e}=t,r={root:["root",`${n}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${n}`],wrapperInner:["wrapperInner",`${n}`]};return(0,a.A)(r,g,e)})(q),F=(0,p.default)(),B=(0,h.A)(),U=o.useRef(null),H=o.useRef(),V="number"==typeof S?`${S}px`:S,W="horizontal"===R,G=W?"width":"height",Y=o.useRef(null),X=(0,_.A)(n,Y),K=t=>n=>{if(t){const e=Y.current;void 0===n?t(e):t(e,n)}},Z=()=>U.current?U.current[W?"clientWidth":"clientHeight"]:0,J=K(((t,n)=>{U.current&&W&&(U.current.style.position="absolute"),t.style[G]=V,M&&M(t,n)})),Q=K(((t,n)=>{const e=Z();U.current&&W&&(U.current.style.position="");const{duration:r,easing:i}=(0,d.c)({style:L,timeout:D,easing:C},{mode:"enter"});if("auto"===D){const n=F.transitions.getAutoHeightDuration(e);t.style.transitionDuration=`${n}ms`,H.current=n}else t.style.transitionDuration="string"==typeof r?r:`${r}ms`;t.style[G]=`${e}px`,t.style.transitionTimingFunction=i,z&&z(t,n)})),tt=K(((t,n)=>{t.style[G]="auto",$&&$(t,n)})),nt=K((t=>{t.style[G]=`${Z()}px`,T&&T(t)})),et=K(j),rt=K((t=>{const n=Z(),{duration:e,easing:r}=(0,d.c)({style:L,timeout:D,easing:C},{mode:"exit"});if("auto"===D){const e=F.transitions.getAutoHeightDuration(n);t.style.transitionDuration=`${e}ms`,H.current=e}else t.style.transitionDuration="string"==typeof e?e:`${e}ms`;t.style[G]=V,t.style.transitionTimingFunction=r,O&&O(t)}));return(0,b.jsx)(P,(0,i.A)({in:E,onEnter:J,onEntered:tt,onEntering:Q,onExit:nt,onExited:et,onExiting:rt,addEndListener:t=>{"auto"===D&&B.start(H.current||0,t),u&&u(Y.current,t)},nodeRef:Y,timeout:"auto"===D?null:D},I,{children:(t,n)=>(0,b.jsx)(y,(0,i.A)({as:A,className:(0,s.A)(N.root,v,{entered:N.entered,exited:!E&&"0px"===V&&N.hidden}[t]),style:(0,i.A)({[W?"minWidth":"minHeight"]:V},L),ownerState:(0,i.A)({},q,{state:t}),ref:X},n,{children:(0,b.jsx)(x,{ownerState:(0,i.A)({},q,{state:t}),className:N.wrapper,ref:U,children:(0,b.jsx)(k,{ownerState:(0,i.A)({},q,{state:t}),className:N.wrapperInner,children:m})})}))}))}));S.muiSupportAuto=!0;const A=S;var C=e(83651),E=e(51132),M=e(77259),$=e(24979),z=e(25478),T=e(83408),j=e(29941);const O=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],R=["component","slots","slotProps"],L=["component"];function D(t){return(0,v.Ay)("MuiAccordion",t)}const P=(0,m.A)("MuiAccordion",["root","rounded","expanded","disabled","gutters","region"]),I=["children","className","defaultExpanded","disabled","disableGutters","expanded","onChange","square","slots","slotProps","TransitionComponent","TransitionProps"],q=(0,u.Ay)(C.A,{name:"MuiAccordion",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[{[`& .${P.region}`]:n.region},n.root,!e.square&&n.rounded,!e.disableGutters&&n.gutters]}})((({theme:t})=>{const n={duration:t.transitions.duration.shortest};return{position:"relative",transition:t.transitions.create(["margin"],n),overflowAnchor:"none","&::before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:(t.vars||t).palette.divider,transition:t.transitions.create(["opacity","background-color"],n)},"&:first-of-type":{"&::before":{display:"none"}},[`&.${P.expanded}`]:{"&::before":{opacity:0},"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&::before":{display:"none"}}},[`&.${P.disabled}`]:{backgroundColor:(t.vars||t).palette.action.disabledBackground}}}),(({theme:t,ownerState:n})=>(0,i.A)({},!n.square&&{borderRadius:0,"&:first-of-type":{borderTopLeftRadius:(t.vars||t).shape.borderRadius,borderTopRightRadius:(t.vars||t).shape.borderRadius},"&:last-of-type":{borderBottomLeftRadius:(t.vars||t).shape.borderRadius,borderBottomRightRadius:(t.vars||t).shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}},!n.disableGutters&&{[`&.${P.expanded}`]:{margin:"16px 0"}}))),N=o.forwardRef((function(t,n){const e=(0,c.A)({props:t,name:"MuiAccordion"}),{children:u,className:l,defaultExpanded:h=!1,disabled:f=!1,disableGutters:d=!1,expanded:p,onChange:_,square:m=!1,slots:v={},slotProps:g={},TransitionComponent:w,TransitionProps:y}=e,x=(0,r.A)(e,I),[k,S]=(0,M.A)({controlled:p,default:h,name:"Accordion",state:"expanded"}),C=o.useCallback((t=>{S(!k),_&&_(t,!k)}),[k,_,S]),[P,...N]=o.Children.toArray(u),F=o.useMemo((()=>({expanded:k,disabled:f,disableGutters:d,toggle:C})),[k,f,d,C]),B=(0,i.A)({},e,{square:m,disabled:f,disableGutters:d,expanded:k}),U=(t=>{const{classes:n,square:e,expanded:r,disabled:i,disableGutters:o}=t,s={root:["root",!e&&"rounded",r&&"expanded",i&&"disabled",!o&&"gutters"],region:["region"]};return(0,a.A)(s,D,n)})(B),H=(0,i.A)({transition:w},v),V=(0,i.A)({transition:y},g),[W,G]=function(t,n){const{className:e,elementType:o,ownerState:s,externalForwardedProps:a,getSlotOwnerState:u,internalForwardedProps:c}=n,l=(0,r.A)(n,O),{component:h,slots:f={[t]:void 0},slotProps:d={[t]:void 0}}=a,p=(0,r.A)(a,R),_=f[t]||o,m=(0,z.Y)(d[t],s),v=(0,T.p)((0,i.A)({className:e},l,{externalForwardedProps:"root"===t?p:void 0,externalSlotProps:m})),{props:{component:g},internalRef:b}=v,w=(0,r.A)(v.props,L),y=(0,$.A)(b,null==m?void 0:m.ref,n.ref),x=u?u(w):{},k=(0,i.A)({},s,x),S="root"===t?g||h:g,A=(0,j.X)(_,(0,i.A)({},"root"===t&&!h&&!f[t]&&c,"root"!==t&&!f[t]&&c,w,S&&{as:S},{ref:y}),k);return Object.keys(x).forEach((t=>{delete A[t]})),[_,A]}("transition",{elementType:A,externalForwardedProps:{slots:H,slotProps:V},ownerState:B});return delete G.ownerState,(0,b.jsxs)(q,(0,i.A)({className:(0,s.A)(U.root,l),ref:n,ownerState:B,square:m},x,{children:[(0,b.jsx)(E.A.Provider,{value:F,children:P}),(0,b.jsx)(W,(0,i.A)({in:k,timeout:"auto"},G,{children:(0,b.jsx)("div",{"aria-labelledby":P.props.id,id:P.props["aria-controls"],role:"region",className:U.region,children:N})}))]}))}))},6628:(t,n,e)=>{"use strict";e.r(n),e.d(n,{accordionDetailsClasses:()=>d,default:()=>v,getAccordionDetailsUtilityClass:()=>f});var r=e(6614),i=e(83673),o=e(7552),s=e(93878),a=e(60827),u=e(51148),c=e(31049),l=e(55549),h=e(9577);function f(t){return(0,h.Ay)("MuiAccordionDetails",t)}const d=(0,l.A)("MuiAccordionDetails",["root"]);var p=e(69500);const _=["className"],m=(0,u.Ay)("div",{name:"MuiAccordionDetails",slot:"Root",overridesResolver:(t,n)=>n.root})((({theme:t})=>({padding:t.spacing(1,2,2)}))),v=o.forwardRef((function(t,n){const e=(0,c.A)({props:t,name:"MuiAccordionDetails"}),{className:o}=e,u=(0,i.A)(e,_),l=e,h=(t=>{const{classes:n}=t;return(0,a.A)({root:["root"]},f,n)})(l);return(0,p.jsx)(m,(0,r.A)({className:(0,s.A)(h.root,o),ref:n,ownerState:l},u))}))},14524:(t,n,e)=>{"use strict";e.r(n),e.d(n,{accordionSummaryClasses:()=>_,default:()=>y,getAccordionSummaryUtilityClass:()=>p});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(60827),u=e(51148),c=e(31049),l=e(9108),h=e(51132),f=e(55549),d=e(9577);function p(t){return(0,d.Ay)("MuiAccordionSummary",t)}const _=(0,f.A)("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]);var m=e(69500);const v=["children","className","expandIcon","focusVisibleClassName","onClick"],g=(0,u.Ay)(l.A,{name:"MuiAccordionSummary",slot:"Root",overridesResolver:(t,n)=>n.root})((({theme:t,ownerState:n})=>{const e={duration:t.transitions.duration.shortest};return(0,i.A)({display:"flex",minHeight:48,padding:t.spacing(0,2),transition:t.transitions.create(["min-height","background-color"],e),[`&.${_.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${_.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity},[`&:hover:not(.${_.disabled})`]:{cursor:"pointer"}},!n.disableGutters&&{[`&.${_.expanded}`]:{minHeight:64}})})),b=(0,u.Ay)("div",{name:"MuiAccordionSummary",slot:"Content",overridesResolver:(t,n)=>n.content})((({theme:t,ownerState:n})=>(0,i.A)({display:"flex",flexGrow:1,margin:"12px 0"},!n.disableGutters&&{transition:t.transitions.create(["margin"],{duration:t.transitions.duration.shortest}),[`&.${_.expanded}`]:{margin:"20px 0"}}))),w=(0,u.Ay)("div",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper",overridesResolver:(t,n)=>n.expandIconWrapper})((({theme:t})=>({display:"flex",color:(t.vars||t).palette.action.active,transform:"rotate(0deg)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shortest}),[`&.${_.expanded}`]:{transform:"rotate(180deg)"}}))),y=o.forwardRef((function(t,n){const e=(0,c.A)({props:t,name:"MuiAccordionSummary"}),{children:u,className:l,expandIcon:f,focusVisibleClassName:d,onClick:_}=e,y=(0,r.A)(e,v),{disabled:x=!1,disableGutters:k,expanded:S,toggle:A}=o.useContext(h.A),C=(0,i.A)({},e,{expanded:S,disabled:x,disableGutters:k}),E=(t=>{const{classes:n,expanded:e,disabled:r,disableGutters:i}=t,o={root:["root",e&&"expanded",r&&"disabled",!i&&"gutters"],focusVisible:["focusVisible"],content:["content",e&&"expanded",!i&&"contentGutters"],expandIconWrapper:["expandIconWrapper",e&&"expanded"]};return(0,a.A)(o,p,n)})(C);return(0,m.jsxs)(g,(0,i.A)({focusRipple:!1,disableRipple:!0,disabled:x,component:"div","aria-expanded":S,className:(0,s.A)(E.root,l),focusVisibleClassName:(0,s.A)(E.focusVisible,d),onClick:t=>{A&&A(t),_&&_(t)},ref:n,ownerState:C},y,{children:[(0,m.jsx)(b,{className:E.content,ownerState:C,children:u}),f&&(0,m.jsx)(w,{className:E.expandIconWrapper,ownerState:C,children:f})]}))}))},92479:(t,n,e)=>{"use strict";e.r(n),e.d(n,{alertClasses:()=>m,default:()=>T,getAlertUtilityClass:()=>_});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(60827),u=e(18283),c=e(51148),l=e(31049),h=e(15622),f=e(83651),d=e(55549),p=e(9577);function _(t){return(0,p.Ay)("MuiAlert",t)}const m=(0,d.A)("MuiAlert",["root","action","icon","message","filled","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);var v=e(61723),g=e(74893),b=e(69500);const w=(0,g.A)((0,b.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"),y=(0,g.A)((0,b.jsx)("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),x=(0,g.A)((0,b.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"),k=(0,g.A)((0,b.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"),S=(0,g.A)((0,b.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"),A=["action","children","className","closeText","color","components","componentsProps","icon","iconMapping","onClose","role","severity","slotProps","slots","variant"],C=(0,c.Ay)(f.A,{name:"MuiAlert",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,n[e.variant],n[`${e.variant}${(0,h.A)(e.color||e.severity)}`]]}})((({theme:t,ownerState:n})=>{const e="light"===t.palette.mode?u.e$:u.a,r="light"===t.palette.mode?u.a:u.e$,o=n.color||n.severity;return(0,i.A)({},t.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px"},o&&"standard"===n.variant&&{color:t.vars?t.vars.palette.Alert[`${o}Color`]:e(t.palette[o].light,.6),backgroundColor:t.vars?t.vars.palette.Alert[`${o}StandardBg`]:r(t.palette[o].light,.9),[`& .${m.icon}`]:t.vars?{color:t.vars.palette.Alert[`${o}IconColor`]}:{color:t.palette[o].main}},o&&"outlined"===n.variant&&{color:t.vars?t.vars.palette.Alert[`${o}Color`]:e(t.palette[o].light,.6),border:`1px solid ${(t.vars||t).palette[o].light}`,[`& .${m.icon}`]:t.vars?{color:t.vars.palette.Alert[`${o}IconColor`]}:{color:t.palette[o].main}},o&&"filled"===n.variant&&(0,i.A)({fontWeight:t.typography.fontWeightMedium},t.vars?{color:t.vars.palette.Alert[`${o}FilledColor`],backgroundColor:t.vars.palette.Alert[`${o}FilledBg`]}:{backgroundColor:"dark"===t.palette.mode?t.palette[o].dark:t.palette[o].main,color:t.palette.getContrastText(t.palette[o].main)}))})),E=(0,c.Ay)("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(t,n)=>n.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),M=(0,c.Ay)("div",{name:"MuiAlert",slot:"Message",overridesResolver:(t,n)=>n.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),$=(0,c.Ay)("div",{name:"MuiAlert",slot:"Action",overridesResolver:(t,n)=>n.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),z={success:(0,b.jsx)(w,{fontSize:"inherit"}),warning:(0,b.jsx)(y,{fontSize:"inherit"}),error:(0,b.jsx)(x,{fontSize:"inherit"}),info:(0,b.jsx)(k,{fontSize:"inherit"})},T=o.forwardRef((function(t,n){var e,o,u,c,f,d;const p=(0,l.A)({props:t,name:"MuiAlert"}),{action:m,children:g,className:w,closeText:y="Close",color:x,components:k={},componentsProps:T={},icon:j,iconMapping:O=z,onClose:R,role:L="alert",severity:D="success",slotProps:P={},slots:I={},variant:q="standard"}=p,N=(0,r.A)(p,A),F=(0,i.A)({},p,{color:x,severity:D,variant:q}),B=(t=>{const{variant:n,color:e,severity:r,classes:i}=t,o={root:["root",`${n}${(0,h.A)(e||r)}`,`${n}`],icon:["icon"],message:["message"],action:["action"]};return(0,a.A)(o,_,i)})(F),U=null!=(e=null!=(o=I.closeButton)?o:k.CloseButton)?e:v.A,H=null!=(u=null!=(c=I.closeIcon)?c:k.CloseIcon)?u:S,V=null!=(f=P.closeButton)?f:T.closeButton,W=null!=(d=P.closeIcon)?d:T.closeIcon;return(0,b.jsxs)(C,(0,i.A)({role:L,elevation:0,ownerState:F,className:(0,s.A)(B.root,w),ref:n},N,{children:[!1!==j?(0,b.jsx)(E,{ownerState:F,className:B.icon,children:j||O[D]||z[D]}):null,(0,b.jsx)(M,{ownerState:F,className:B.message,children:g}),null!=m?(0,b.jsx)($,{ownerState:F,className:B.action,children:m}):null,null==m&&R?(0,b.jsx)($,{ownerState:F,className:B.action,children:(0,b.jsx)(U,(0,i.A)({size:"small","aria-label":y,title:y,color:"inherit",onClick:R},V,{children:(0,b.jsx)(H,(0,i.A)({fontSize:"small"},W))}))}):null]}))}))},27418:(t,n,e)=>{"use strict";e.r(n),e.d(n,{alertTitleClasses:()=>p,default:()=>g,getAlertTitleUtilityClass:()=>d});var r=e(6614),i=e(83673),o=e(7552),s=e(93878),a=e(60827),u=e(51148),c=e(31049),l=e(36715),h=e(55549),f=e(9577);function d(t){return(0,f.Ay)("MuiAlertTitle",t)}const p=(0,h.A)("MuiAlertTitle",["root"]);var _=e(69500);const m=["className"],v=(0,u.Ay)(l.A,{name:"MuiAlertTitle",slot:"Root",overridesResolver:(t,n)=>n.root})((({theme:t})=>({fontWeight:t.typography.fontWeightMedium,marginTop:-2}))),g=o.forwardRef((function(t,n){const e=(0,c.A)({props:t,name:"MuiAlertTitle"}),{className:o}=e,u=(0,i.A)(e,m),l=e,h=(t=>{const{classes:n}=t;return(0,a.A)({root:["root"]},d,n)})(l);return(0,_.jsx)(v,(0,r.A)({gutterBottom:!0,component:"div",ownerState:l,ref:n,className:(0,s.A)(h.root,o)},u))}))},29775:(t,n,e)=>{"use strict";e.r(n),e.d(n,{appBarClasses:()=>_,default:()=>w,getAppBarUtilityClass:()=>p});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(60827),u=e(51148),c=e(31049),l=e(15622),h=e(83651),f=e(55549),d=e(9577);function p(t){return(0,d.Ay)("MuiAppBar",t)}const _=(0,f.A)("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);var m=e(69500);const v=["className","color","enableColorOnDark","position"],g=(t,n)=>t?`${null==t?void 0:t.replace(")","")}, ${n})`:n,b=(0,u.Ay)(h.A,{name:"MuiAppBar",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,n[`position${(0,l.A)(e.position)}`],n[`color${(0,l.A)(e.color)}`]]}})((({theme:t,ownerState:n})=>{const e="light"===t.palette.mode?t.palette.grey[100]:t.palette.grey[900];return(0,i.A)({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},"fixed"===n.position&&{position:"fixed",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},"absolute"===n.position&&{position:"absolute",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0},"sticky"===n.position&&{position:"sticky",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0},"static"===n.position&&{position:"static"},"relative"===n.position&&{position:"relative"},!t.vars&&(0,i.A)({},"default"===n.color&&{backgroundColor:e,color:t.palette.getContrastText(e)},n.color&&"default"!==n.color&&"inherit"!==n.color&&"transparent"!==n.color&&{backgroundColor:t.palette[n.color].main,color:t.palette[n.color].contrastText},"inherit"===n.color&&{color:"inherit"},"dark"===t.palette.mode&&!n.enableColorOnDark&&{backgroundColor:null,color:null},"transparent"===n.color&&(0,i.A)({backgroundColor:"transparent",color:"inherit"},"dark"===t.palette.mode&&{backgroundImage:"none"})),t.vars&&(0,i.A)({},"default"===n.color&&{"--AppBar-background":n.enableColorOnDark?t.vars.palette.AppBar.defaultBg:g(t.vars.palette.AppBar.darkBg,t.vars.palette.AppBar.defaultBg),"--AppBar-color":n.enableColorOnDark?t.vars.palette.text.primary:g(t.vars.palette.AppBar.darkColor,t.vars.palette.text.primary)},n.color&&!n.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":n.enableColorOnDark?t.vars.palette[n.color].main:g(t.vars.palette.AppBar.darkBg,t.vars.palette[n.color].main),"--AppBar-color":n.enableColorOnDark?t.vars.palette[n.color].contrastText:g(t.vars.palette.AppBar.darkColor,t.vars.palette[n.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:"inherit"===n.color?"inherit":"var(--AppBar-color)"},"transparent"===n.color&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))})),w=o.forwardRef((function(t,n){const e=(0,c.A)({props:t,name:"MuiAppBar"}),{className:o,color:u="primary",enableColorOnDark:h=!1,position:f="fixed"}=e,d=(0,r.A)(e,v),_=(0,i.A)({},e,{color:u,position:f,enableColorOnDark:h}),g=(t=>{const{color:n,position:e,classes:r}=t,i={root:["root",`color${(0,l.A)(n)}`,`position${(0,l.A)(e)}`]};return(0,a.A)(i,p,r)})(_);return(0,m.jsx)(b,(0,i.A)({square:!0,component:"header",ownerState:_,elevation:4,className:(0,s.A)(g.root,o,"fixed"===f&&"mui-fixed"),ref:n},d))}))},34202:(t,n,e)=>{"use strict";e.r(n),e.d(n,{avatarClasses:()=>m,default:()=>y,getAvatarUtilityClass:()=>_});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(60827),u=e(51148),c=e(31049),l=e(74893),h=e(69500);const f=(0,l.A)((0,h.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");var d=e(55549),p=e(9577);function _(t){return(0,p.Ay)("MuiAvatar",t)}const m=(0,d.A)("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]),v=["alt","children","className","component","imgProps","sizes","src","srcSet","variant"],g=(0,u.Ay)("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,n[e.variant],e.colorDefault&&n.colorDefault]}})((({theme:t})=>({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",variants:[{props:{variant:"rounded"},style:{borderRadius:(t.vars||t).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:(0,i.A)({color:(t.vars||t).palette.background.default},t.vars?{backgroundColor:t.vars.palette.Avatar.defaultBg}:(0,i.A)({backgroundColor:t.palette.grey[400]},t.applyStyles("dark",{backgroundColor:t.palette.grey[600]})))}]}))),b=(0,u.Ay)("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(t,n)=>n.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),w=(0,u.Ay)(f,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(t,n)=>n.fallback})({width:"75%",height:"75%"}),y=o.forwardRef((function(t,n){const e=(0,c.A)({props:t,name:"MuiAvatar"}),{alt:u,children:l,className:f,component:d="div",imgProps:p,sizes:m,src:y,srcSet:x,variant:k="circular"}=e,S=(0,r.A)(e,v);let A=null;const C=function({crossOrigin:t,referrerPolicy:n,src:e,srcSet:r}){const[i,s]=o.useState(!1);return o.useEffect((()=>{if(!e&&!r)return;s(!1);let i=!0;const o=new Image;return o.onload=()=>{i&&s("loaded")},o.onerror=()=>{i&&s("error")},o.crossOrigin=t,o.referrerPolicy=n,o.src=e,r&&(o.srcset=r),()=>{i=!1}}),[t,n,e,r]),i}((0,i.A)({},p,{src:y,srcSet:x})),E=y||x,M=E&&"error"!==C,$=(0,i.A)({},e,{colorDefault:!M,component:d,variant:k}),z=(t=>{const{classes:n,variant:e,colorDefault:r}=t,i={root:["root",e,r&&"colorDefault"],img:["img"],fallback:["fallback"]};return(0,a.A)(i,_,n)})($);return A=M?(0,h.jsx)(b,(0,i.A)({alt:u,srcSet:x,src:y,sizes:m,ownerState:$,className:z.img},p)):null!=l&&""!==l&&"boolean"!=typeof l?l:E&&u?u[0]:(0,h.jsx)(w,{ownerState:$,className:z.fallback}),(0,h.jsx)(g,(0,i.A)({as:d,ownerState:$,className:(0,s.A)(z.root,f),ref:n},S,{children:A}))}))},19937:(t,n,e)=>{"use strict";e.d(n,{A:()=>_});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(60827),u=e(51148),c=e(31049),l=e(93321),h=e(32049),f=e(69500);const d=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],p=(0,u.Ay)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,e.invisible&&n.invisible]}})((({ownerState:t})=>(0,i.A)({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},t.invisible&&{backgroundColor:"transparent"}))),_=o.forwardRef((function(t,n){var e,o,u;const _=(0,c.A)({props:t,name:"MuiBackdrop"}),{children:m,className:v,component:g="div",components:b={},componentsProps:w={},invisible:y=!1,open:x,slotProps:k={},slots:S={},TransitionComponent:A=l.A,transitionDuration:C}=_,E=(0,r.A)(_,d),M=(0,i.A)({},_,{component:g,invisible:y}),$=(t=>{const{classes:n,invisible:e}=t,r={root:["root",e&&"invisible"]};return(0,a.A)(r,h.R,n)})(M),z=null!=(e=k.root)?e:w.root;return(0,f.jsx)(A,(0,i.A)({in:x,timeout:C},E,{children:(0,f.jsx)(p,(0,i.A)({"aria-hidden":!0},z,{as:null!=(o=null!=(u=S.root)?u:b.Root)?o:g,className:(0,s.A)($.root,v,null==z?void 0:z.className),ownerState:(0,i.A)({},M,null==z?void 0:z.ownerState),classes:$,ref:n,children:m}))}))}))},32049:(t,n,e)=>{"use strict";e.d(n,{A:()=>s,R:()=>o});var r=e(55549),i=e(9577);function o(t){return(0,i.Ay)("MuiBackdrop",t)}const s=(0,r.A)("MuiBackdrop",["root","invisible"])},11999:(t,n,e)=>{"use strict";e.r(n),e.d(n,{backdropClasses:()=>i.A,default:()=>r.A,getBackdropUtilityClass:()=>i.R});var r=e(19937),i=e(32049)},73829:(t,n,e)=>{"use strict";e.r(n),e.d(n,{badgeClasses:()=>m,default:()=>x,getBadgeUtilityClass:()=>_});var r=e(6614),i=e(83673),o=e(7552),s=e(93878);const a=t=>{const n=o.useRef({});return o.useEffect((()=>{n.current=t})),n.current};var u=e(60827),c=e(84086),l=e(31049),h=e(51148),f=e(15622),d=e(55549),p=e(9577);function _(t){return(0,p.Ay)("MuiBadge",t)}const m=(0,d.A)("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"]);var v=e(69500);const g=["anchorOrigin","className","classes","component","components","componentsProps","children","overlap","color","invisible","max","badgeContent","slots","slotProps","showZero","variant"],b=l.A,w=(0,h.Ay)("span",{name:"MuiBadge",slot:"Root",overridesResolver:(t,n)=>n.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),y=(0,h.Ay)("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.badge,n[e.variant],n[`anchorOrigin${(0,f.A)(e.anchorOrigin.vertical)}${(0,f.A)(e.anchorOrigin.horizontal)}${(0,f.A)(e.overlap)}`],"default"!==e.color&&n[`color${(0,f.A)(e.color)}`],e.invisible&&n.invisible]}})((({theme:t})=>{var n;return{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}),variants:[...Object.keys((null!=(n=t.vars)?n:t).palette).filter((n=>{var e,r;return(null!=(e=t.vars)?e:t).palette[n].main&&(null!=(r=t.vars)?r:t).palette[n].contrastText})).map((n=>({props:{color:n},style:{backgroundColor:(t.vars||t).palette[n].main,color:(t.vars||t).palette[n].contrastText}}))),{props:{variant:"dot"},style:{borderRadius:4,height:8,minWidth:8,padding:0}},{props:({ownerState:t})=>"top"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap,style:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${m.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:t})=>"bottom"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap,style:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${m.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:t})=>"top"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap,style:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${m.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:t})=>"bottom"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap,style:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${m.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:({ownerState:t})=>"top"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"circular"===t.overlap,style:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${m.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:t})=>"bottom"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"circular"===t.overlap,style:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${m.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:t})=>"top"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"circular"===t.overlap,style:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${m.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:t})=>"bottom"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"circular"===t.overlap,style:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${m.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:{invisible:!0},style:{transition:t.transitions.create("transform",{easing:t.transitions.easing.easeInOut,duration:t.transitions.duration.leavingScreen})}}]}})),x=o.forwardRef((function(t,n){var e,o,l,h,d,p;const m=b({props:t,name:"MuiBadge"}),{anchorOrigin:x={vertical:"top",horizontal:"right"},className:k,component:S,components:A={},componentsProps:C={},children:E,overlap:M="rectangular",color:$="default",invisible:z=!1,max:T=99,badgeContent:j,slots:O,slotProps:R,showZero:L=!1,variant:D="standard"}=m,P=(0,i.A)(m,g),{badgeContent:I,invisible:q,max:N,displayValue:F}=function(t){const{badgeContent:n,invisible:e=!1,max:r=99,showZero:i=!1}=t,o=a({badgeContent:n,max:r});let s=e;!1!==e||0!==n||i||(s=!0);const{badgeContent:u,max:c=r}=s?o:t;return{badgeContent:u,invisible:s,max:c,displayValue:u&&Number(u)>c?`${c}+`:u}}({max:T,invisible:z,badgeContent:j,showZero:L}),B=a({anchorOrigin:x,color:$,overlap:M,variant:D,badgeContent:j}),U=q||null==I&&"dot"!==D,{color:H=$,overlap:V=M,anchorOrigin:W=x,variant:G=D}=U?B:m,Y="dot"!==G?F:void 0,X=(0,r.A)({},m,{badgeContent:I,invisible:U,max:N,displayValue:Y,showZero:L,anchorOrigin:W,color:H,overlap:V,variant:G}),K=(t=>{const{color:n,anchorOrigin:e,invisible:r,overlap:i,variant:o,classes:s={}}=t,a={root:["root"],badge:["badge",o,r&&"invisible",`anchorOrigin${(0,f.A)(e.vertical)}${(0,f.A)(e.horizontal)}`,`anchorOrigin${(0,f.A)(e.vertical)}${(0,f.A)(e.horizontal)}${(0,f.A)(i)}`,`overlap${(0,f.A)(i)}`,"default"!==n&&`color${(0,f.A)(n)}`]};return(0,u.A)(a,_,s)})(X),Z=null!=(e=null!=(o=null==O?void 0:O.root)?o:A.Root)?e:w,J=null!=(l=null!=(h=null==O?void 0:O.badge)?h:A.Badge)?l:y,Q=null!=(d=null==R?void 0:R.root)?d:C.root,tt=null!=(p=null==R?void 0:R.badge)?p:C.badge,nt=(0,c.Q)({elementType:Z,externalSlotProps:Q,externalForwardedProps:P,additionalProps:{ref:n,as:S},ownerState:X,className:(0,s.A)(null==Q?void 0:Q.className,K.root,k)}),et=(0,c.Q)({elementType:J,externalSlotProps:tt,ownerState:X,className:(0,s.A)(K.badge,null==tt?void 0:tt.className)});return(0,v.jsxs)(Z,(0,r.A)({},nt,{children:[E,(0,v.jsx)(J,(0,r.A)({},et,{children:Y}))]}))}))},79883:(t,n,e)=>{"use strict";e.r(n),e.d(n,{boxClasses:()=>m,default:()=>b});var r=e(6614),i=e(83673),o=e(7552),s=e(93878),a=e(36283),u=e(41935),c=e(11835),l=e(37462),h=e(69500);const f=["className","component"];var d=e(29711),p=e(65190),_=e(74988);const m=(0,e(55549).A)("MuiBox",["root"]),v=(0,p.default)(),g=function(t={}){const{themeId:n,defaultTheme:e,defaultClassName:d="MuiBox-root",generateClassName:p}=t,_=(0,a.Ay)("div",{shouldForwardProp:t=>"theme"!==t&&"sx"!==t&&"as"!==t})(u.A);return o.forwardRef((function(t,o){const a=(0,l.A)(e),u=(0,c.A)(t),{className:m,component:v="div"}=u,g=(0,i.A)(u,f);return(0,h.jsx)(_,(0,r.A)({as:v,ref:o,className:(0,s.A)(m,p?p(d):d),theme:n&&a[n]||a},g))}))}({themeId:_.A,defaultTheme:v,defaultClassName:m.root,generateClassName:d.A.generate}),b=g},40366:(t,n,e)=>{"use strict";e.r(n),e.d(n,{breadcrumbsClasses:()=>S,default:()=>z,getBreadcrumbsUtilityClass:()=>k});var r=e(6614),i=e(83673),o=e(7552),s=(e(96830),e(93878)),a=e(60827),u=e(84086),c=e(51148),l=e(31049),h=e(36715),f=e(18283),d=e(74893),p=e(69500);const _=(0,d.A)((0,p.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");var m=e(9108);const v=["slots","slotProps"],g=(0,c.Ay)(m.A)((({theme:t})=>(0,r.A)({display:"flex",marginLeft:`calc(${t.spacing(1)} * 0.5)`,marginRight:`calc(${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,r.A)({},"light"===t.palette.mode?{backgroundColor:t.palette.grey[200]}:{backgroundColor:t.palette.grey[600]}),"&:active":(0,r.A)({boxShadow:t.shadows[0]},"light"===t.palette.mode?{backgroundColor:(0,f.tL)(t.palette.grey[200],.12)}:{backgroundColor:(0,f.tL)(t.palette.grey[600],.12)})}))),b=(0,c.Ay)(_)({width:24,height:16}),w=function(t){const{slots:n={},slotProps:e={}}=t,o=(0,i.A)(t,v),s=t;return(0,p.jsx)("li",{children:(0,p.jsx)(g,(0,r.A)({focusRipple:!0},o,{ownerState:s,children:(0,p.jsx)(b,(0,r.A)({as:n.CollapsedIcon,ownerState:s},e.collapsedIcon))}))})};var y=e(55549),x=e(9577);function k(t){return(0,x.Ay)("MuiBreadcrumbs",t)}const S=(0,y.A)("MuiBreadcrumbs",["root","ol","li","separator"]),A=["children","className","component","slots","slotProps","expandText","itemsAfterCollapse","itemsBeforeCollapse","maxItems","separator"],C=(0,c.Ay)(h.A,{name:"MuiBreadcrumbs",slot:"Root",overridesResolver:(t,n)=>[{[`& .${S.li}`]:n.li},n.root]})({}),E=(0,c.Ay)("ol",{name:"MuiBreadcrumbs",slot:"Ol",overridesResolver:(t,n)=>n.ol})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),M=(0,c.Ay)("li",{name:"MuiBreadcrumbs",slot:"Separator",overridesResolver:(t,n)=>n.separator})({display:"flex",userSelect:"none",marginLeft:8,marginRight:8});function $(t,n,e,r){return t.reduce(((i,o,s)=>(s{const{classes:n}=t;return(0,a.A)({root:["root"],li:["li"],ol:["ol"],separator:["separator"]},k,n)})(z),j=(0,u.Q)({elementType:d.CollapsedIcon,externalSlotProps:_.collapsedIcon,ownerState:z}),O=o.useRef(null),R=o.Children.toArray(c).filter((t=>o.isValidElement(t))).map(((t,n)=>(0,p.jsx)("li",{className:T.li,children:t},`child-${n}`)));return(0,p.jsx)(C,(0,r.A)({ref:n,component:f,color:"text.secondary",className:(0,s.A)(T.root,h),ownerState:z},x,{children:(0,p.jsx)(E,{className:T.ol,ref:O,ownerState:z,children:$(S||b&&R.length<=b?R:(t=>g+v>=t.length?t:[...t.slice(0,g),(0,p.jsx)(w,{"aria-label":m,slots:{CollapsedIcon:d.CollapsedIcon},slotProps:{collapsedIcon:j},onClick:()=>{M(!0);const t=O.current.querySelector("a[href],button,[tabindex]");t&&t.focus()}},"ellipsis"),...t.slice(t.length-v,t.length)])(R),T.separator,y,z)})}))}))},3825:(t,n,e)=>{"use strict";e.r(n),e.d(n,{buttonClasses:()=>v,default:()=>C,getButtonUtilityClass:()=>m});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(25475),u=e(60827),c=e(18283),l=e(51148),h=e(31049),f=e(9108),d=e(15622),p=e(55549),_=e(9577);function m(t){return(0,_.Ay)("MuiButton",t)}const v=(0,p.A)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);var g=e(21572),b=e(97712),w=e(69500);const y=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],x=t=>(0,i.A)({},"small"===t.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===t.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===t.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),k=(0,l.Ay)(f.A,{shouldForwardProp:t=>(0,l.ep)(t)||"classes"===t,name:"MuiButton",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,n[e.variant],n[`${e.variant}${(0,d.A)(e.color)}`],n[`size${(0,d.A)(e.size)}`],n[`${e.variant}Size${(0,d.A)(e.size)}`],"inherit"===e.color&&n.colorInherit,e.disableElevation&&n.disableElevation,e.fullWidth&&n.fullWidth]}})((({theme:t,ownerState:n})=>{var e,r;const o="light"===t.palette.mode?t.palette.grey[300]:t.palette.grey[800],s="light"===t.palette.mode?t.palette.grey.A100:t.palette.grey[700];return(0,i.A)({},t.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(t.vars||t).shape.borderRadius,transition:t.transitions.create(["background-color","box-shadow","border-color","color"],{duration:t.transitions.duration.short}),"&:hover":(0,i.A)({textDecoration:"none",backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,c.X4)(t.palette.text.primary,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===n.variant&&"inherit"!==n.color&&{backgroundColor:t.vars?`rgba(${t.vars.palette[n.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,c.X4)(t.palette[n.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===n.variant&&"inherit"!==n.color&&{border:`1px solid ${(t.vars||t).palette[n.color].main}`,backgroundColor:t.vars?`rgba(${t.vars.palette[n.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,c.X4)(t.palette[n.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===n.variant&&{backgroundColor:t.vars?t.vars.palette.Button.inheritContainedHoverBg:s,boxShadow:(t.vars||t).shadows[4],"@media (hover: none)":{boxShadow:(t.vars||t).shadows[2],backgroundColor:(t.vars||t).palette.grey[300]}},"contained"===n.variant&&"inherit"!==n.color&&{backgroundColor:(t.vars||t).palette[n.color].dark,"@media (hover: none)":{backgroundColor:(t.vars||t).palette[n.color].main}}),"&:active":(0,i.A)({},"contained"===n.variant&&{boxShadow:(t.vars||t).shadows[8]}),[`&.${v.focusVisible}`]:(0,i.A)({},"contained"===n.variant&&{boxShadow:(t.vars||t).shadows[6]}),[`&.${v.disabled}`]:(0,i.A)({color:(t.vars||t).palette.action.disabled},"outlined"===n.variant&&{border:`1px solid ${(t.vars||t).palette.action.disabledBackground}`},"contained"===n.variant&&{color:(t.vars||t).palette.action.disabled,boxShadow:(t.vars||t).shadows[0],backgroundColor:(t.vars||t).palette.action.disabledBackground})},"text"===n.variant&&{padding:"6px 8px"},"text"===n.variant&&"inherit"!==n.color&&{color:(t.vars||t).palette[n.color].main},"outlined"===n.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===n.variant&&"inherit"!==n.color&&{color:(t.vars||t).palette[n.color].main,border:t.vars?`1px solid rgba(${t.vars.palette[n.color].mainChannel} / 0.5)`:`1px solid ${(0,c.X4)(t.palette[n.color].main,.5)}`},"contained"===n.variant&&{color:t.vars?t.vars.palette.text.primary:null==(e=(r=t.palette).getContrastText)?void 0:e.call(r,t.palette.grey[300]),backgroundColor:t.vars?t.vars.palette.Button.inheritContainedBg:o,boxShadow:(t.vars||t).shadows[2]},"contained"===n.variant&&"inherit"!==n.color&&{color:(t.vars||t).palette[n.color].contrastText,backgroundColor:(t.vars||t).palette[n.color].main},"inherit"===n.color&&{color:"inherit",borderColor:"currentColor"},"small"===n.size&&"text"===n.variant&&{padding:"4px 5px",fontSize:t.typography.pxToRem(13)},"large"===n.size&&"text"===n.variant&&{padding:"8px 11px",fontSize:t.typography.pxToRem(15)},"small"===n.size&&"outlined"===n.variant&&{padding:"3px 9px",fontSize:t.typography.pxToRem(13)},"large"===n.size&&"outlined"===n.variant&&{padding:"7px 21px",fontSize:t.typography.pxToRem(15)},"small"===n.size&&"contained"===n.variant&&{padding:"4px 10px",fontSize:t.typography.pxToRem(13)},"large"===n.size&&"contained"===n.variant&&{padding:"8px 22px",fontSize:t.typography.pxToRem(15)},n.fullWidth&&{width:"100%"})}),(({ownerState:t})=>t.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${v.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${v.disabled}`]:{boxShadow:"none"}})),S=(0,l.Ay)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.startIcon,n[`iconSize${(0,d.A)(e.size)}`]]}})((({ownerState:t})=>(0,i.A)({display:"inherit",marginRight:8,marginLeft:-4},"small"===t.size&&{marginLeft:-2},x(t)))),A=(0,l.Ay)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.endIcon,n[`iconSize${(0,d.A)(e.size)}`]]}})((({ownerState:t})=>(0,i.A)({display:"inherit",marginRight:-4,marginLeft:8},"small"===t.size&&{marginRight:-2},x(t)))),C=o.forwardRef((function(t,n){const e=o.useContext(g.A),c=o.useContext(b.A),l=(0,a.A)(e,t),f=(0,h.A)({props:l,name:"MuiButton"}),{children:p,color:_="primary",component:v="button",className:x,disabled:C=!1,disableElevation:E=!1,disableFocusRipple:M=!1,endIcon:$,focusVisibleClassName:z,fullWidth:T=!1,size:j="medium",startIcon:O,type:R,variant:L="text"}=f,D=(0,r.A)(f,y),P=(0,i.A)({},f,{color:_,component:v,disabled:C,disableElevation:E,disableFocusRipple:M,fullWidth:T,size:j,type:R,variant:L}),I=(t=>{const{color:n,disableElevation:e,fullWidth:r,size:o,variant:s,classes:a}=t,c={root:["root",s,`${s}${(0,d.A)(n)}`,`size${(0,d.A)(o)}`,`${s}Size${(0,d.A)(o)}`,"inherit"===n&&"colorInherit",e&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${(0,d.A)(o)}`],endIcon:["endIcon",`iconSize${(0,d.A)(o)}`]},l=(0,u.A)(c,m,a);return(0,i.A)({},a,l)})(P),q=O&&(0,w.jsx)(S,{className:I.startIcon,ownerState:P,children:O}),N=$&&(0,w.jsx)(A,{className:I.endIcon,ownerState:P,children:$}),F=c||"";return(0,w.jsxs)(k,(0,i.A)({ownerState:P,className:(0,s.A)(e.className,I.root,x,F),component:v,disabled:C,focusRipple:!M,focusVisibleClassName:(0,s.A)(I.focusVisible,z),ref:n,type:R},D,{classes:I,children:[q,p,N]}))}))},9108:(t,n,e)=>{"use strict";e.d(n,{A:()=>V});var r=e(6614),i=e(83673),o=e(7552),s=e(93878),a=e(60827),u=e(51148),c=e(31049),l=e(51584),h=e(87422),f=e(9527),d=e(74264);function p(){return p=Object.assign||function(t){for(var n=1;nt;const R=(0,k.i7)($||($=O` 0% { transform: scale(0); opacity: 0.1; @@ -9,7 +9,7 @@ transform: scale(1); opacity: 0.3; } -`)),L=(0,k.i7)(z||(z=j` +`)),L=(0,k.i7)(z||(z=O` 0% { opacity: 1; } @@ -17,7 +17,7 @@ 100% { opacity: 0; } -`)),D=(0,k.i7)(T||(T=j` +`)),D=(0,k.i7)(T||(T=O` 0% { transform: scale(1); } @@ -29,7 +29,7 @@ 100% { transform: scale(1); } -`)),P=(0,u.Ay)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),I=(0,u.Ay)((function(t){const{className:n,classes:e,pulsate:r=!1,rippleX:i,rippleY:a,rippleSize:u,in:c,onExited:l,timeout:h}=t,[f,d]=o.useState(!1),p=(0,s.A)(n,e.ripple,e.rippleVisible,r&&e.ripplePulsate),_={width:u,height:u,top:-u/2+a,left:-u/2+i},m=(0,s.A)(e.child,f&&e.childLeaving,r&&e.childPulsate);return c||f||d(!0),o.useEffect((()=>{if(!c&&null!=l){const t=setTimeout(l,h);return()=>{clearTimeout(t)}}}),[l,c,h]),(0,A.jsx)("span",{className:p,style:_,children:(0,A.jsx)("span",{className:m})})}),{name:"MuiTouchRipple",slot:"Ripple"})(O||(O=j` +`)),P=(0,u.Ay)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),I=(0,u.Ay)((function(t){const{className:n,classes:e,pulsate:r=!1,rippleX:i,rippleY:a,rippleSize:u,in:c,onExited:l,timeout:h}=t,[f,d]=o.useState(!1),p=(0,s.A)(n,e.ripple,e.rippleVisible,r&&e.ripplePulsate),_={width:u,height:u,top:-u/2+a,left:-u/2+i},m=(0,s.A)(e.child,f&&e.childLeaving,r&&e.childPulsate);return c||f||d(!0),o.useEffect((()=>{if(!c&&null!=l){const t=setTimeout(l,h);return()=>{clearTimeout(t)}}}),[l,c,h]),(0,A.jsx)("span",{className:p,style:_,children:(0,A.jsx)("span",{className:m})})}),{name:"MuiTouchRipple",slot:"Ripple"})(j||(j=O` opacity: 0; position: absolute; @@ -72,7 +72,7 @@ animation-iteration-count: infinite; animation-delay: 200ms; } -`),E.rippleVisible,R,550,(({theme:t})=>t.transitions.easing.easeInOut),E.ripplePulsate,(({theme:t})=>t.transitions.duration.shorter),E.child,E.childLeaving,L,550,(({theme:t})=>t.transitions.easing.easeInOut),E.childPulsate,D,(({theme:t})=>t.transitions.easing.easeInOut)),q=o.forwardRef((function(t,n){const e=(0,c.A)({props:t,name:"MuiTouchRipple"}),{center:a=!1,classes:u={},className:l}=e,h=(0,i.A)(e,M),[f,d]=o.useState([]),p=o.useRef(0),_=o.useRef(null);o.useEffect((()=>{_.current&&(_.current(),_.current=null)}),[f]);const m=o.useRef(!1),v=(0,S.A)(),g=o.useRef(null),b=o.useRef(null),w=o.useCallback((t=>{const{pulsate:n,rippleX:e,rippleY:r,rippleSize:i,cb:o}=t;d((t=>[...t,(0,A.jsx)(I,{classes:{ripple:(0,s.A)(u.ripple,E.ripple),rippleVisible:(0,s.A)(u.rippleVisible,E.rippleVisible),ripplePulsate:(0,s.A)(u.ripplePulsate,E.ripplePulsate),child:(0,s.A)(u.child,E.child),childLeaving:(0,s.A)(u.childLeaving,E.childLeaving),childPulsate:(0,s.A)(u.childPulsate,E.childPulsate)},timeout:550,pulsate:n,rippleX:e,rippleY:r,rippleSize:i},p.current)])),p.current+=1,_.current=o}),[u]),y=o.useCallback(((t={},n={},e=(()=>{}))=>{const{pulsate:r=!1,center:i=a||n.pulsate,fakeElement:o=!1}=n;if("mousedown"===(null==t?void 0:t.type)&&m.current)return void(m.current=!1);"touchstart"===(null==t?void 0:t.type)&&(m.current=!0);const s=o?null:b.current,u=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,l,h;if(i||void 0===t||0===t.clientX&&0===t.clientY||!t.clientX&&!t.touches)c=Math.round(u.width/2),l=Math.round(u.height/2);else{const{clientX:n,clientY:e}=t.touches&&t.touches.length>0?t.touches[0]:t;c=Math.round(n-u.left),l=Math.round(e-u.top)}if(i)h=Math.sqrt((2*u.width**2+u.height**2)/3),h%2==0&&(h+=1);else{const t=2*Math.max(Math.abs((s?s.clientWidth:0)-c),c)+2,n=2*Math.max(Math.abs((s?s.clientHeight:0)-l),l)+2;h=Math.sqrt(t**2+n**2)}null!=t&&t.touches?null===g.current&&(g.current=()=>{w({pulsate:r,rippleX:c,rippleY:l,rippleSize:h,cb:e})},v.start(80,(()=>{g.current&&(g.current(),g.current=null)}))):w({pulsate:r,rippleX:c,rippleY:l,rippleSize:h,cb:e})}),[a,w,v]),k=o.useCallback((()=>{y({},{pulsate:!0})}),[y]),C=o.useCallback(((t,n)=>{if(v.clear(),"touchend"===(null==t?void 0:t.type)&&g.current)return g.current(),g.current=null,void v.start(0,(()=>{C(t,n)}));g.current=null,d((t=>t.length>0?t.slice(1):t)),_.current=n}),[v]);return o.useImperativeHandle(n,(()=>({pulsate:k,start:y,stop:C})),[k,y,C]),(0,A.jsx)(P,(0,r.A)({className:(0,s.A)(E.root,u.root,l),ref:b},h,{children:(0,A.jsx)(x,{component:null,exit:!0,children:f})}))}));var N=e(9577);function F(t){return(0,N.Ay)("MuiButtonBase",t)}const B=(0,C.A)("MuiButtonBase",["root","disabled","focusVisible"]),U=["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"],H=(0,u.Ay)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(t,n)=>n.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${B.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),V=o.forwardRef((function(t,n){const e=(0,c.A)({props:t,name:"MuiButtonBase"}),{action:u,centerRipple:d=!1,children:p,className:_,component:m="button",disabled:v=!1,disableRipple:g=!1,disableTouchRipple:b=!1,focusRipple:w=!1,LinkComponent:y="a",onBlur:x,onClick:k,onContextMenu:S,onDragLeave:C,onFocus:E,onFocusVisible:M,onKeyDown:$,onKeyUp:z,onMouseDown:T,onMouseLeave:O,onMouseUp:j,onTouchEnd:R,onTouchMove:L,onTouchStart:D,tabIndex:P=0,TouchRippleProps:I,touchRippleRef:N,type:B}=e,V=(0,i.A)(e,U),W=o.useRef(null),G=o.useRef(null),Y=(0,l.A)(G,N),{isFocusVisibleRef:X,onFocus:K,onBlur:Z,ref:J}=(0,f.A)(),[Q,tt]=o.useState(!1);v&&Q&&tt(!1),o.useImperativeHandle(u,(()=>({focusVisible:()=>{tt(!0),W.current.focus()}})),[]);const[nt,et]=o.useState(!1);o.useEffect((()=>{et(!0)}),[]);const rt=nt&&!g&&!v;function it(t,n,e=b){return(0,h.A)((r=>(n&&n(r),!e&&G.current&&G.current[t](r),!0)))}o.useEffect((()=>{Q&&w&&!g&&nt&&G.current.pulsate()}),[g,w,Q,nt]);const ot=it("start",T),st=it("stop",S),at=it("stop",C),ut=it("stop",j),ct=it("stop",(t=>{Q&&t.preventDefault(),O&&O(t)})),lt=it("start",D),ht=it("stop",R),ft=it("stop",L),dt=it("stop",(t=>{Z(t),!1===X.current&&tt(!1),x&&x(t)}),!1),pt=(0,h.A)((t=>{W.current||(W.current=t.currentTarget),K(t),!0===X.current&&(tt(!0),M&&M(t)),E&&E(t)})),_t=()=>{const t=W.current;return m&&"button"!==m&&!("A"===t.tagName&&t.href)},mt=o.useRef(!1),vt=(0,h.A)((t=>{w&&!mt.current&&Q&&G.current&&" "===t.key&&(mt.current=!0,G.current.stop(t,(()=>{G.current.start(t)}))),t.target===t.currentTarget&&_t()&&" "===t.key&&t.preventDefault(),$&&$(t),t.target===t.currentTarget&&_t()&&"Enter"===t.key&&!v&&(t.preventDefault(),k&&k(t))})),gt=(0,h.A)((t=>{w&&" "===t.key&&G.current&&Q&&!t.defaultPrevented&&(mt.current=!1,G.current.stop(t,(()=>{G.current.pulsate(t)}))),z&&z(t),k&&t.target===t.currentTarget&&_t()&&" "===t.key&&!t.defaultPrevented&&k(t)}));let bt=m;"button"===bt&&(V.href||V.to)&&(bt=y);const wt={};"button"===bt?(wt.type=void 0===B?"button":B,wt.disabled=v):(V.href||V.to||(wt.role="button"),v&&(wt["aria-disabled"]=v));const yt=(0,l.A)(n,J,W),xt=(0,r.A)({},e,{centerRipple:d,component:m,disabled:v,disableRipple:g,disableTouchRipple:b,focusRipple:w,tabIndex:P,focusVisible:Q}),kt=(t=>{const{disabled:n,focusVisible:e,focusVisibleClassName:r,classes:i}=t,o={root:["root",n&&"disabled",e&&"focusVisible"]},s=(0,a.A)(o,F,i);return e&&r&&(s.root+=` ${r}`),s})(xt);return(0,A.jsxs)(H,(0,r.A)({as:bt,className:(0,s.A)(kt.root,_),ownerState:xt,onBlur:dt,onClick:k,onContextMenu:st,onFocus:pt,onKeyDown:vt,onKeyUp:gt,onMouseDown:ot,onMouseLeave:ct,onMouseUp:ut,onDragLeave:at,onTouchEnd:ht,onTouchMove:ft,onTouchStart:lt,ref:yt,tabIndex:v?-1:P,type:B},wt,V,{children:[p,rt?(0,A.jsx)(q,(0,r.A)({ref:Y,center:d},I)):null]}))}))},97712:(t,n,e)=>{"use strict";e.d(n,{A:()=>r});const r=e(7552).createContext(void 0)},21572:(t,n,e)=>{"use strict";e.d(n,{A:()=>r});const r=e(7552).createContext({})},17579:(t,n,e)=>{"use strict";e.r(n),e.d(n,{ButtonGroupButtonContext:()=>g.A,ButtonGroupContext:()=>v.A,buttonGroupClasses:()=>m,default:()=>x,getButtonGroupUtilityClass:()=>_});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(60827),u=e(18283),c=e(48285),l=e(15622),h=e(51148),f=e(31049),d=e(55549),p=e(9577);function _(t){return(0,p.Ay)("MuiButtonGroup",t)}const m=(0,d.A)("MuiButtonGroup",["root","contained","outlined","text","disableElevation","disabled","firstButton","fullWidth","vertical","grouped","groupedHorizontal","groupedVertical","groupedText","groupedTextHorizontal","groupedTextVertical","groupedTextPrimary","groupedTextSecondary","groupedOutlined","groupedOutlinedHorizontal","groupedOutlinedVertical","groupedOutlinedPrimary","groupedOutlinedSecondary","groupedContained","groupedContainedHorizontal","groupedContainedVertical","groupedContainedPrimary","groupedContainedSecondary","lastButton","middleButton"]);var v=e(21572),g=e(97712),b=e(69500);const w=["children","className","color","component","disabled","disableElevation","disableFocusRipple","disableRipple","fullWidth","orientation","size","variant"],y=(0,h.Ay)("div",{name:"MuiButtonGroup",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[{[`& .${m.grouped}`]:n.grouped},{[`& .${m.grouped}`]:n[`grouped${(0,l.A)(e.orientation)}`]},{[`& .${m.grouped}`]:n[`grouped${(0,l.A)(e.variant)}`]},{[`& .${m.grouped}`]:n[`grouped${(0,l.A)(e.variant)}${(0,l.A)(e.orientation)}`]},{[`& .${m.grouped}`]:n[`grouped${(0,l.A)(e.variant)}${(0,l.A)(e.color)}`]},{[`& .${m.firstButton}`]:n.firstButton},{[`& .${m.lastButton}`]:n.lastButton},{[`& .${m.middleButton}`]:n.middleButton},n.root,n[e.variant],!0===e.disableElevation&&n.disableElevation,e.fullWidth&&n.fullWidth,"vertical"===e.orientation&&n.vertical]}})((({theme:t,ownerState:n})=>(0,i.A)({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"},{[`& .${m.grouped}`]:(0,i.A)({minWidth:40,"&:hover":(0,i.A)({},"contained"===n.variant&&{boxShadow:"none"})},"contained"===n.variant&&{boxShadow:"none"}),[`& .${m.firstButton},& .${m.middleButton}`]:(0,i.A)({},"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(${t.vars.palette.common.onBackgroundChannel} / 0.23)`:"1px solid "+("light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),[`&.${m.disabled}`]:{borderRight:`1px solid ${(t.vars||t).palette.action.disabled}`}},"text"===n.variant&&"vertical"===n.orientation&&{borderBottom:t.vars?`1px solid rgba(${t.vars.palette.common.onBackgroundChannel} / 0.23)`:"1px solid "+("light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),[`&.${m.disabled}`]:{borderBottom:`1px solid ${(t.vars||t).palette.action.disabled}`}},"text"===n.variant&&"inherit"!==n.color&&{borderColor:t.vars?`rgba(${t.vars.palette[n.color].mainChannel} / 0.5)`:(0,u.X4)(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&&{borderRight:`1px solid ${(t.vars||t).palette.grey[400]}`,[`&.${m.disabled}`]:{borderRight:`1px solid ${(t.vars||t).palette.action.disabled}`}},"contained"===n.variant&&"vertical"===n.orientation&&{borderBottom:`1px solid ${(t.vars||t).palette.grey[400]}`,[`&.${m.disabled}`]:{borderBottom:`1px solid ${(t.vars||t).palette.action.disabled}`}},"contained"===n.variant&&"inherit"!==n.color&&{borderColor:(t.vars||t).palette[n.color].dark},{"&:hover":(0,i.A)({},"outlined"===n.variant&&"horizontal"===n.orientation&&{borderRightColor:"currentColor"},"outlined"===n.variant&&"vertical"===n.orientation&&{borderBottomColor:"currentColor"})}),[`& .${m.lastButton},& .${m.middleButton}`]:(0,i.A)({},"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})}))),x=o.forwardRef((function(t,n){const e=(0,f.A)({props:t,name:"MuiButtonGroup"}),{children:u,className:h,color:d="primary",component:p="div",disabled:m=!1,disableElevation:x=!1,disableFocusRipple:k=!1,disableRipple:S=!1,fullWidth:A=!1,orientation:C="horizontal",size:E="medium",variant:M="outlined"}=e,$=(0,r.A)(e,w),z=(0,i.A)({},e,{color:d,component:p,disabled:m,disableElevation:x,disableFocusRipple:k,disableRipple:S,fullWidth:A,orientation:C,size:E,variant:M}),T=(t=>{const{classes:n,color:e,disabled:r,disableElevation:i,fullWidth:o,orientation:s,variant:u}=t,c={root:["root",u,"vertical"===s&&"vertical",o&&"fullWidth",i&&"disableElevation"],grouped:["grouped",`grouped${(0,l.A)(s)}`,`grouped${(0,l.A)(u)}`,`grouped${(0,l.A)(u)}${(0,l.A)(s)}`,`grouped${(0,l.A)(u)}${(0,l.A)(e)}`,r&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]};return(0,a.A)(c,_,n)})(z),O=o.useMemo((()=>({className:T.grouped,color:d,disabled:m,disableElevation:x,disableFocusRipple:k,disableRipple:S,fullWidth:A,size:E,variant:M})),[d,m,x,k,S,A,E,M,T.grouped]),j=(0,c.A)(u),R=j.length,L=t=>{const n=0===t,e=t===R-1;return n&&e?"":n?T.firstButton:e?T.lastButton:T.middleButton};return(0,b.jsx)(y,(0,i.A)({as:p,role:"group",className:(0,s.A)(T.root,h),ref:n,ownerState:z},$,{children:(0,b.jsx)(v.A.Provider,{value:O,children:j.map(((t,n)=>(0,b.jsx)(g.A.Provider,{value:L(n),children:t},n)))})}))}))},96829:(t,n,e)=>{"use strict";e.r(n),e.d(n,{cardClasses:()=>p,default:()=>g,getCardUtilityClass:()=>d});var r=e(6614),i=e(83673),o=e(7552),s=e(93878),a=e(60827),u=e(51148),c=e(31049),l=e(83651),h=e(55549),f=e(9577);function d(t){return(0,f.Ay)("MuiCard",t)}const p=(0,h.A)("MuiCard",["root"]);var _=e(69500);const m=["className","raised"],v=(0,u.Ay)(l.A,{name:"MuiCard",slot:"Root",overridesResolver:(t,n)=>n.root})((()=>({overflow:"hidden"}))),g=o.forwardRef((function(t,n){const e=(0,c.A)({props:t,name:"MuiCard"}),{className:o,raised:u=!1}=e,l=(0,i.A)(e,m),h=(0,r.A)({},e,{raised:u}),f=(t=>{const{classes:n}=t;return(0,a.A)({root:["root"]},d,n)})(h);return(0,_.jsx)(v,(0,r.A)({className:(0,s.A)(f.root,o),elevation:u?8:void 0,ref:n,ownerState:h},l))}))},38483:(t,n,e)=>{"use strict";e.r(n),e.d(n,{cardActionAreaClasses:()=>d,default:()=>b,getCardActionAreaUtilityClass:()=>f});var r=e(6614),i=e(83673),o=e(7552),s=e(93878),a=e(60827),u=e(31049),c=e(51148),l=e(55549),h=e(9577);function f(t){return(0,h.Ay)("MuiCardActionArea",t)}const d=(0,l.A)("MuiCardActionArea",["root","focusVisible","focusHighlight"]);var p=e(9108),_=e(69500);const m=["children","className","focusVisibleClassName"],v=(0,c.Ay)(p.A,{name:"MuiCardActionArea",slot:"Root",overridesResolver:(t,n)=>n.root})((({theme:t})=>({display:"block",textAlign:"inherit",borderRadius:"inherit",width:"100%",[`&:hover .${d.focusHighlight}`]:{opacity:(t.vars||t).palette.action.hoverOpacity,"@media (hover: none)":{opacity:0}},[`&.${d.focusVisible} .${d.focusHighlight}`]:{opacity:(t.vars||t).palette.action.focusOpacity}}))),g=(0,c.Ay)("span",{name:"MuiCardActionArea",slot:"FocusHighlight",overridesResolver:(t,n)=>n.focusHighlight})((({theme:t})=>({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})}))),b=o.forwardRef((function(t,n){const e=(0,u.A)({props:t,name:"MuiCardActionArea"}),{children:o,className:c,focusVisibleClassName:l}=e,h=(0,i.A)(e,m),d=e,p=(t=>{const{classes:n}=t;return(0,a.A)({root:["root"],focusHighlight:["focusHighlight"]},f,n)})(d);return(0,_.jsxs)(v,(0,r.A)({className:(0,s.A)(p.root,c),focusVisibleClassName:(0,s.A)(l,p.focusVisible),ref:n,ownerState:d},h,{children:[o,(0,_.jsx)(g,{className:p.focusHighlight,ownerState:d})]}))}))},51983:(t,n,e)=>{"use strict";e.r(n),e.d(n,{cardActionsClasses:()=>d,default:()=>v,getCardActionsUtilityClass:()=>f});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(60827),u=e(51148),c=e(31049),l=e(55549),h=e(9577);function f(t){return(0,h.Ay)("MuiCardActions",t)}const d=(0,l.A)("MuiCardActions",["root","spacing"]);var p=e(69500);const _=["disableSpacing","className"],m=(0,u.Ay)("div",{name:"MuiCardActions",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,!e.disableSpacing&&n.spacing]}})((({ownerState:t})=>(0,i.A)({display:"flex",alignItems:"center",padding:8},!t.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}}))),v=o.forwardRef((function(t,n){const e=(0,c.A)({props:t,name:"MuiCardActions"}),{disableSpacing:o=!1,className:u}=e,l=(0,r.A)(e,_),h=(0,i.A)({},e,{disableSpacing:o}),d=(t=>{const{classes:n,disableSpacing:e}=t,r={root:["root",!e&&"spacing"]};return(0,a.A)(r,f,n)})(h);return(0,p.jsx)(m,(0,i.A)({className:(0,s.A)(d.root,u),ownerState:h,ref:n},l))}))},77048:(t,n,e)=>{"use strict";e.r(n),e.d(n,{cardContentClasses:()=>d,default:()=>v,getCardContentUtilityClass:()=>f});var r=e(6614),i=e(83673),o=e(7552),s=e(93878),a=e(60827),u=e(51148),c=e(31049),l=e(55549),h=e(9577);function f(t){return(0,h.Ay)("MuiCardContent",t)}const d=(0,l.A)("MuiCardContent",["root"]);var p=e(69500);const _=["className","component"],m=(0,u.Ay)("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(t,n)=>n.root})((()=>({padding:16,"&:last-child":{paddingBottom:24}}))),v=o.forwardRef((function(t,n){const e=(0,c.A)({props:t,name:"MuiCardContent"}),{className:o,component:u="div"}=e,l=(0,i.A)(e,_),h=(0,r.A)({},e,{component:u}),d=(t=>{const{classes:n}=t;return(0,a.A)({root:["root"]},f,n)})(h);return(0,p.jsx)(m,(0,r.A)({as:u,className:(0,s.A)(d.root,o),ownerState:h,ref:n},l))}))},16429:(t,n,e)=>{"use strict";e.r(n),e.d(n,{cardHeaderClasses:()=>p,default:()=>y,getCardHeaderUtilityClass:()=>d});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(60827),u=e(36715),c=e(31049),l=e(51148),h=e(55549),f=e(9577);function d(t){return(0,f.Ay)("MuiCardHeader",t)}const p=(0,h.A)("MuiCardHeader",["root","avatar","action","content","title","subheader"]);var _=e(69500);const m=["action","avatar","className","component","disableTypography","subheader","subheaderTypographyProps","title","titleTypographyProps"],v=(0,l.Ay)("div",{name:"MuiCardHeader",slot:"Root",overridesResolver:(t,n)=>(0,i.A)({[`& .${p.title}`]:n.title,[`& .${p.subheader}`]:n.subheader},n.root)})({display:"flex",alignItems:"center",padding:16}),g=(0,l.Ay)("div",{name:"MuiCardHeader",slot:"Avatar",overridesResolver:(t,n)=>n.avatar})({display:"flex",flex:"0 0 auto",marginRight:16}),b=(0,l.Ay)("div",{name:"MuiCardHeader",slot:"Action",overridesResolver:(t,n)=>n.action})({flex:"0 0 auto",alignSelf:"flex-start",marginTop:-4,marginRight:-8,marginBottom:-4}),w=(0,l.Ay)("div",{name:"MuiCardHeader",slot:"Content",overridesResolver:(t,n)=>n.content})({flex:"1 1 auto"}),y=o.forwardRef((function(t,n){const e=(0,c.A)({props:t,name:"MuiCardHeader"}),{action:o,avatar:l,className:h,component:f="div",disableTypography:p=!1,subheader:y,subheaderTypographyProps:x,title:k,titleTypographyProps:S}=e,A=(0,r.A)(e,m),C=(0,i.A)({},e,{component:f,disableTypography:p}),E=(t=>{const{classes:n}=t;return(0,a.A)({root:["root"],avatar:["avatar"],action:["action"],content:["content"],title:["title"],subheader:["subheader"]},d,n)})(C);let M=k;null==M||M.type===u.A||p||(M=(0,_.jsx)(u.A,(0,i.A)({variant:l?"body2":"h5",className:E.title,component:"span",display:"block"},S,{children:M})));let $=y;return null==$||$.type===u.A||p||($=(0,_.jsx)(u.A,(0,i.A)({variant:l?"body2":"body1",className:E.subheader,color:"text.secondary",component:"span",display:"block"},x,{children:$}))),(0,_.jsxs)(v,(0,i.A)({className:(0,s.A)(E.root,h),as:f,ref:n,ownerState:C},A,{children:[l&&(0,_.jsx)(g,{className:E.avatar,ownerState:C,children:l}),(0,_.jsxs)(w,{className:E.content,ownerState:C,children:[M,$]}),o&&(0,_.jsx)(b,{className:E.action,ownerState:C,children:o})]}))}))},58824:(t,n,e)=>{"use strict";e.r(n),e.d(n,{checkboxClasses:()=>y,default:()=>E,getCheckboxUtilityClass:()=>w});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(60827),u=e(18283),c=e(15110),l=e(74893),h=e(69500);const f=(0,l.A)((0,h.jsx)("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),d=(0,l.A)((0,h.jsx)("path",{d:"M19 3H5c-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-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),p=(0,l.A)((0,h.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");var _=e(15622),m=e(31049),v=e(51148),g=e(55549),b=e(9577);function w(t){return(0,b.Ay)("MuiCheckbox",t)}const y=(0,g.A)("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),x=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],k=(0,v.Ay)(c.A,{shouldForwardProp:t=>(0,v.ep)(t)||"classes"===t,name:"MuiCheckbox",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,e.indeterminate&&n.indeterminate,n[`size${(0,_.A)(e.size)}`],"default"!==e.color&&n[`color${(0,_.A)(e.color)}`]]}})((({theme:t,ownerState:n})=>(0,i.A)({color:(t.vars||t).palette.text.secondary},!n.disableRipple&&{"&:hover":{backgroundColor:t.vars?`rgba(${"default"===n.color?t.vars.palette.action.activeChannel:t.vars.palette[n.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,u.X4)("default"===n.color?t.palette.action.active:t.palette[n.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==n.color&&{[`&.${y.checked}, &.${y.indeterminate}`]:{color:(t.vars||t).palette[n.color].main},[`&.${y.disabled}`]:{color:(t.vars||t).palette.action.disabled}}))),S=(0,h.jsx)(d,{}),A=(0,h.jsx)(f,{}),C=(0,h.jsx)(p,{}),E=o.forwardRef((function(t,n){var e,u;const c=(0,m.A)({props:t,name:"MuiCheckbox"}),{checkedIcon:l=S,color:f="primary",icon:d=A,indeterminate:p=!1,indeterminateIcon:v=C,inputProps:g,size:b="medium",className:y}=c,E=(0,r.A)(c,x),M=p?v:d,$=p?v:l,z=(0,i.A)({},c,{color:f,indeterminate:p,size:b}),T=(t=>{const{classes:n,indeterminate:e,color:r,size:o}=t,s={root:["root",e&&"indeterminate",`color${(0,_.A)(r)}`,`size${(0,_.A)(o)}`]},u=(0,a.A)(s,w,n);return(0,i.A)({},n,u)})(z);return(0,h.jsx)(k,(0,i.A)({type:"checkbox",inputProps:(0,i.A)({"data-indeterminate":p},g),icon:o.cloneElement(M,{fontSize:null!=(e=M.props.fontSize)?e:b}),checkedIcon:o.cloneElement($,{fontSize:null!=(u=$.props.fontSize)?u:b}),ownerState:z,ref:n,className:(0,s.A)(T.root,y)},E,{classes:T}))}))},15259:(t,n,e)=>{"use strict";e.r(n),e.d(n,{chipClasses:()=>w,default:()=>A,getChipUtilityClass:()=>b});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(60827),u=e(18283),c=e(74893),l=e(69500);const h=(0,c.A)((0,l.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");var f=e(51584),d=e(15622),p=e(9108),_=e(31049),m=e(51148),v=e(55549),g=e(9577);function b(t){return(0,g.Ay)("MuiChip",t)}const w=(0,v.A)("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),y=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],x=(0,m.Ay)("div",{name:"MuiChip",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t,{color:r,iconColor:i,clickable:o,onDelete:s,size:a,variant:u}=e;return[{[`& .${w.avatar}`]:n.avatar},{[`& .${w.avatar}`]:n[`avatar${(0,d.A)(a)}`]},{[`& .${w.avatar}`]:n[`avatarColor${(0,d.A)(r)}`]},{[`& .${w.icon}`]:n.icon},{[`& .${w.icon}`]:n[`icon${(0,d.A)(a)}`]},{[`& .${w.icon}`]:n[`iconColor${(0,d.A)(i)}`]},{[`& .${w.deleteIcon}`]:n.deleteIcon},{[`& .${w.deleteIcon}`]:n[`deleteIcon${(0,d.A)(a)}`]},{[`& .${w.deleteIcon}`]:n[`deleteIconColor${(0,d.A)(r)}`]},{[`& .${w.deleteIcon}`]:n[`deleteIcon${(0,d.A)(u)}Color${(0,d.A)(r)}`]},n.root,n[`size${(0,d.A)(a)}`],n[`color${(0,d.A)(r)}`],o&&n.clickable,o&&"default"!==r&&n[`clickableColor${(0,d.A)(r)})`],s&&n.deletable,s&&"default"!==r&&n[`deletableColor${(0,d.A)(r)}`],n[u],n[`${u}${(0,d.A)(r)}`]]}})((({theme:t,ownerState:n})=>{const e="light"===t.palette.mode?t.palette.grey[700]:t.palette.grey[300];return(0,i.A)({maxWidth:"100%",fontFamily:t.typography.fontFamily,fontSize:t.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(t.vars||t).palette.text.primary,backgroundColor:(t.vars||t).palette.action.selected,borderRadius:16,whiteSpace:"nowrap",transition:t.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${w.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${w.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:t.vars?t.vars.palette.Chip.defaultAvatarColor:e,fontSize:t.typography.pxToRem(12)},[`& .${w.avatarColorPrimary}`]:{color:(t.vars||t).palette.primary.contrastText,backgroundColor:(t.vars||t).palette.primary.dark},[`& .${w.avatarColorSecondary}`]:{color:(t.vars||t).palette.secondary.contrastText,backgroundColor:(t.vars||t).palette.secondary.dark},[`& .${w.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:t.typography.pxToRem(10)},[`& .${w.icon}`]:(0,i.A)({marginLeft:5,marginRight:-6},"small"===n.size&&{fontSize:18,marginLeft:4,marginRight:-4},n.iconColor===n.color&&(0,i.A)({color:t.vars?t.vars.palette.Chip.defaultIconColor:e},"default"!==n.color&&{color:"inherit"})),[`& .${w.deleteIcon}`]:(0,i.A)({WebkitTapHighlightColor:"transparent",color:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / 0.26)`:(0,u.X4)(t.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / 0.4)`:(0,u.X4)(t.palette.text.primary,.4)}},"small"===n.size&&{fontSize:16,marginRight:4,marginLeft:-4},"default"!==n.color&&{color:t.vars?`rgba(${t.vars.palette[n.color].contrastTextChannel} / 0.7)`:(0,u.X4)(t.palette[n.color].contrastText,.7),"&:hover, &:active":{color:(t.vars||t).palette[n.color].contrastText}})},"small"===n.size&&{height:24},"default"!==n.color&&{backgroundColor:(t.vars||t).palette[n.color].main,color:(t.vars||t).palette[n.color].contrastText},n.onDelete&&{[`&.${w.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:(0,u.X4)(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},n.onDelete&&"default"!==n.color&&{[`&.${w.focusVisible}`]:{backgroundColor:(t.vars||t).palette[n.color].dark}})}),(({theme:t,ownerState:n})=>(0,i.A)({},n.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:(0,u.X4)(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity)},[`&.${w.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:(0,u.X4)(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)},"&:active":{boxShadow:(t.vars||t).shadows[1]}},n.clickable&&"default"!==n.color&&{[`&:hover, &.${w.focusVisible}`]:{backgroundColor:(t.vars||t).palette[n.color].dark}})),(({theme:t,ownerState:n})=>(0,i.A)({},"outlined"===n.variant&&{backgroundColor:"transparent",border:t.vars?`1px solid ${t.vars.palette.Chip.defaultBorder}`:`1px solid ${"light"===t.palette.mode?t.palette.grey[400]:t.palette.grey[700]}`,[`&.${w.clickable}:hover`]:{backgroundColor:(t.vars||t).palette.action.hover},[`&.${w.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`& .${w.avatar}`]:{marginLeft:4},[`& .${w.avatarSmall}`]:{marginLeft:2},[`& .${w.icon}`]:{marginLeft:4},[`& .${w.iconSmall}`]:{marginLeft:2},[`& .${w.deleteIcon}`]:{marginRight:5},[`& .${w.deleteIconSmall}`]:{marginRight:3}},"outlined"===n.variant&&"default"!==n.color&&{color:(t.vars||t).palette[n.color].main,border:`1px solid ${t.vars?`rgba(${t.vars.palette[n.color].mainChannel} / 0.7)`:(0,u.X4)(t.palette[n.color].main,.7)}`,[`&.${w.clickable}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette[n.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,u.X4)(t.palette[n.color].main,t.palette.action.hoverOpacity)},[`&.${w.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette[n.color].mainChannel} / ${t.vars.palette.action.focusOpacity})`:(0,u.X4)(t.palette[n.color].main,t.palette.action.focusOpacity)},[`& .${w.deleteIcon}`]:{color:t.vars?`rgba(${t.vars.palette[n.color].mainChannel} / 0.7)`:(0,u.X4)(t.palette[n.color].main,.7),"&:hover, &:active":{color:(t.vars||t).palette[n.color].main}}}))),k=(0,m.Ay)("span",{name:"MuiChip",slot:"Label",overridesResolver:(t,n)=>{const{ownerState:e}=t,{size:r}=e;return[n.label,n[`label${(0,d.A)(r)}`]]}})((({ownerState:t})=>(0,i.A)({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},"outlined"===t.variant&&{paddingLeft:11,paddingRight:11},"small"===t.size&&{paddingLeft:8,paddingRight:8},"small"===t.size&&"outlined"===t.variant&&{paddingLeft:7,paddingRight:7})));function S(t){return"Backspace"===t.key||"Delete"===t.key}const A=o.forwardRef((function(t,n){const e=(0,_.A)({props:t,name:"MuiChip"}),{avatar:u,className:c,clickable:m,color:v="default",component:g,deleteIcon:w,disabled:A=!1,icon:C,label:E,onClick:M,onDelete:$,onKeyDown:z,onKeyUp:T,size:O="medium",variant:j="filled",tabIndex:R,skipFocusWhenDisabled:L=!1}=e,D=(0,r.A)(e,y),P=o.useRef(null),I=(0,f.A)(P,n),q=t=>{t.stopPropagation(),$&&$(t)},N=!(!1===m||!M)||m,F=N||$?p.A:g||"div",B=(0,i.A)({},e,{component:F,disabled:A,size:O,color:v,iconColor:o.isValidElement(C)&&C.props.color||v,onDelete:!!$,clickable:N,variant:j}),U=(t=>{const{classes:n,disabled:e,size:r,color:i,iconColor:o,onDelete:s,clickable:u,variant:c}=t,l={root:["root",c,e&&"disabled",`size${(0,d.A)(r)}`,`color${(0,d.A)(i)}`,u&&"clickable",u&&`clickableColor${(0,d.A)(i)}`,s&&"deletable",s&&`deletableColor${(0,d.A)(i)}`,`${c}${(0,d.A)(i)}`],label:["label",`label${(0,d.A)(r)}`],avatar:["avatar",`avatar${(0,d.A)(r)}`,`avatarColor${(0,d.A)(i)}`],icon:["icon",`icon${(0,d.A)(r)}`,`iconColor${(0,d.A)(o)}`],deleteIcon:["deleteIcon",`deleteIcon${(0,d.A)(r)}`,`deleteIconColor${(0,d.A)(i)}`,`deleteIcon${(0,d.A)(c)}Color${(0,d.A)(i)}`]};return(0,a.A)(l,b,n)})(B),H=F===p.A?(0,i.A)({component:g||"div",focusVisibleClassName:U.focusVisible},$&&{disableRipple:!0}):{};let V=null;$&&(V=w&&o.isValidElement(w)?o.cloneElement(w,{className:(0,s.A)(w.props.className,U.deleteIcon),onClick:q}):(0,l.jsx)(h,{className:(0,s.A)(U.deleteIcon),onClick:q}));let W=null;u&&o.isValidElement(u)&&(W=o.cloneElement(u,{className:(0,s.A)(U.avatar,u.props.className)}));let G=null;return C&&o.isValidElement(C)&&(G=o.cloneElement(C,{className:(0,s.A)(U.icon,C.props.className)})),(0,l.jsxs)(x,(0,i.A)({as:F,className:(0,s.A)(U.root,c),disabled:!(!N||!A)||void 0,onClick:M,onKeyDown:t=>{t.currentTarget===t.target&&S(t)&&t.preventDefault(),z&&z(t)},onKeyUp:t=>{t.currentTarget===t.target&&($&&S(t)?$(t):"Escape"===t.key&&P.current&&P.current.blur()),T&&T(t)},ref:I,tabIndex:L&&A?-1:R,ownerState:B},H,D,{children:[W||G,(0,l.jsx)(k,{className:(0,s.A)(U.label),ownerState:B,children:E}),V]}))}))},5900:(t,n,e)=>{"use strict";e.r(n),e.d(n,{circularProgressClasses:()=>_,default:()=>M,getCircularProgressUtilityClass:()=>p});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(60827),u=e(64761),c=e(15622),l=e(31049),h=e(51148),f=e(55549),d=e(9577);function p(t){return(0,d.Ay)("MuiCircularProgress",t)}const _=(0,f.A)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);var m=e(69500);const v=["className","color","disableShrink","size","style","thickness","value","variant"];let g,b,w,y,x=t=>t;const k=(0,u.i7)(g||(g=x` +`),E.rippleVisible,R,550,(({theme:t})=>t.transitions.easing.easeInOut),E.ripplePulsate,(({theme:t})=>t.transitions.duration.shorter),E.child,E.childLeaving,L,550,(({theme:t})=>t.transitions.easing.easeInOut),E.childPulsate,D,(({theme:t})=>t.transitions.easing.easeInOut)),q=o.forwardRef((function(t,n){const e=(0,c.A)({props:t,name:"MuiTouchRipple"}),{center:a=!1,classes:u={},className:l}=e,h=(0,i.A)(e,M),[f,d]=o.useState([]),p=o.useRef(0),_=o.useRef(null);o.useEffect((()=>{_.current&&(_.current(),_.current=null)}),[f]);const m=o.useRef(!1),v=(0,S.A)(),g=o.useRef(null),b=o.useRef(null),w=o.useCallback((t=>{const{pulsate:n,rippleX:e,rippleY:r,rippleSize:i,cb:o}=t;d((t=>[...t,(0,A.jsx)(I,{classes:{ripple:(0,s.A)(u.ripple,E.ripple),rippleVisible:(0,s.A)(u.rippleVisible,E.rippleVisible),ripplePulsate:(0,s.A)(u.ripplePulsate,E.ripplePulsate),child:(0,s.A)(u.child,E.child),childLeaving:(0,s.A)(u.childLeaving,E.childLeaving),childPulsate:(0,s.A)(u.childPulsate,E.childPulsate)},timeout:550,pulsate:n,rippleX:e,rippleY:r,rippleSize:i},p.current)])),p.current+=1,_.current=o}),[u]),y=o.useCallback(((t={},n={},e=(()=>{}))=>{const{pulsate:r=!1,center:i=a||n.pulsate,fakeElement:o=!1}=n;if("mousedown"===(null==t?void 0:t.type)&&m.current)return void(m.current=!1);"touchstart"===(null==t?void 0:t.type)&&(m.current=!0);const s=o?null:b.current,u=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,l,h;if(i||void 0===t||0===t.clientX&&0===t.clientY||!t.clientX&&!t.touches)c=Math.round(u.width/2),l=Math.round(u.height/2);else{const{clientX:n,clientY:e}=t.touches&&t.touches.length>0?t.touches[0]:t;c=Math.round(n-u.left),l=Math.round(e-u.top)}if(i)h=Math.sqrt((2*u.width**2+u.height**2)/3),h%2==0&&(h+=1);else{const t=2*Math.max(Math.abs((s?s.clientWidth:0)-c),c)+2,n=2*Math.max(Math.abs((s?s.clientHeight:0)-l),l)+2;h=Math.sqrt(t**2+n**2)}null!=t&&t.touches?null===g.current&&(g.current=()=>{w({pulsate:r,rippleX:c,rippleY:l,rippleSize:h,cb:e})},v.start(80,(()=>{g.current&&(g.current(),g.current=null)}))):w({pulsate:r,rippleX:c,rippleY:l,rippleSize:h,cb:e})}),[a,w,v]),k=o.useCallback((()=>{y({},{pulsate:!0})}),[y]),C=o.useCallback(((t,n)=>{if(v.clear(),"touchend"===(null==t?void 0:t.type)&&g.current)return g.current(),g.current=null,void v.start(0,(()=>{C(t,n)}));g.current=null,d((t=>t.length>0?t.slice(1):t)),_.current=n}),[v]);return o.useImperativeHandle(n,(()=>({pulsate:k,start:y,stop:C})),[k,y,C]),(0,A.jsx)(P,(0,r.A)({className:(0,s.A)(E.root,u.root,l),ref:b},h,{children:(0,A.jsx)(x,{component:null,exit:!0,children:f})}))}));var N=e(9577);function F(t){return(0,N.Ay)("MuiButtonBase",t)}const B=(0,C.A)("MuiButtonBase",["root","disabled","focusVisible"]),U=["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"],H=(0,u.Ay)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(t,n)=>n.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${B.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),V=o.forwardRef((function(t,n){const e=(0,c.A)({props:t,name:"MuiButtonBase"}),{action:u,centerRipple:d=!1,children:p,className:_,component:m="button",disabled:v=!1,disableRipple:g=!1,disableTouchRipple:b=!1,focusRipple:w=!1,LinkComponent:y="a",onBlur:x,onClick:k,onContextMenu:S,onDragLeave:C,onFocus:E,onFocusVisible:M,onKeyDown:$,onKeyUp:z,onMouseDown:T,onMouseLeave:j,onMouseUp:O,onTouchEnd:R,onTouchMove:L,onTouchStart:D,tabIndex:P=0,TouchRippleProps:I,touchRippleRef:N,type:B}=e,V=(0,i.A)(e,U),W=o.useRef(null),G=o.useRef(null),Y=(0,l.A)(G,N),{isFocusVisibleRef:X,onFocus:K,onBlur:Z,ref:J}=(0,f.A)(),[Q,tt]=o.useState(!1);v&&Q&&tt(!1),o.useImperativeHandle(u,(()=>({focusVisible:()=>{tt(!0),W.current.focus()}})),[]);const[nt,et]=o.useState(!1);o.useEffect((()=>{et(!0)}),[]);const rt=nt&&!g&&!v;function it(t,n,e=b){return(0,h.A)((r=>(n&&n(r),!e&&G.current&&G.current[t](r),!0)))}o.useEffect((()=>{Q&&w&&!g&&nt&&G.current.pulsate()}),[g,w,Q,nt]);const ot=it("start",T),st=it("stop",S),at=it("stop",C),ut=it("stop",O),ct=it("stop",(t=>{Q&&t.preventDefault(),j&&j(t)})),lt=it("start",D),ht=it("stop",R),ft=it("stop",L),dt=it("stop",(t=>{Z(t),!1===X.current&&tt(!1),x&&x(t)}),!1),pt=(0,h.A)((t=>{W.current||(W.current=t.currentTarget),K(t),!0===X.current&&(tt(!0),M&&M(t)),E&&E(t)})),_t=()=>{const t=W.current;return m&&"button"!==m&&!("A"===t.tagName&&t.href)},mt=o.useRef(!1),vt=(0,h.A)((t=>{w&&!mt.current&&Q&&G.current&&" "===t.key&&(mt.current=!0,G.current.stop(t,(()=>{G.current.start(t)}))),t.target===t.currentTarget&&_t()&&" "===t.key&&t.preventDefault(),$&&$(t),t.target===t.currentTarget&&_t()&&"Enter"===t.key&&!v&&(t.preventDefault(),k&&k(t))})),gt=(0,h.A)((t=>{w&&" "===t.key&&G.current&&Q&&!t.defaultPrevented&&(mt.current=!1,G.current.stop(t,(()=>{G.current.pulsate(t)}))),z&&z(t),k&&t.target===t.currentTarget&&_t()&&" "===t.key&&!t.defaultPrevented&&k(t)}));let bt=m;"button"===bt&&(V.href||V.to)&&(bt=y);const wt={};"button"===bt?(wt.type=void 0===B?"button":B,wt.disabled=v):(V.href||V.to||(wt.role="button"),v&&(wt["aria-disabled"]=v));const yt=(0,l.A)(n,J,W),xt=(0,r.A)({},e,{centerRipple:d,component:m,disabled:v,disableRipple:g,disableTouchRipple:b,focusRipple:w,tabIndex:P,focusVisible:Q}),kt=(t=>{const{disabled:n,focusVisible:e,focusVisibleClassName:r,classes:i}=t,o={root:["root",n&&"disabled",e&&"focusVisible"]},s=(0,a.A)(o,F,i);return e&&r&&(s.root+=` ${r}`),s})(xt);return(0,A.jsxs)(H,(0,r.A)({as:bt,className:(0,s.A)(kt.root,_),ownerState:xt,onBlur:dt,onClick:k,onContextMenu:st,onFocus:pt,onKeyDown:vt,onKeyUp:gt,onMouseDown:ot,onMouseLeave:ct,onMouseUp:ut,onDragLeave:at,onTouchEnd:ht,onTouchMove:ft,onTouchStart:lt,ref:yt,tabIndex:v?-1:P,type:B},wt,V,{children:[p,rt?(0,A.jsx)(q,(0,r.A)({ref:Y,center:d},I)):null]}))}))},97712:(t,n,e)=>{"use strict";e.d(n,{A:()=>r});const r=e(7552).createContext(void 0)},21572:(t,n,e)=>{"use strict";e.d(n,{A:()=>r});const r=e(7552).createContext({})},17579:(t,n,e)=>{"use strict";e.r(n),e.d(n,{ButtonGroupButtonContext:()=>g.A,ButtonGroupContext:()=>v.A,buttonGroupClasses:()=>m,default:()=>x,getButtonGroupUtilityClass:()=>_});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(60827),u=e(18283),c=e(48285),l=e(15622),h=e(51148),f=e(31049),d=e(55549),p=e(9577);function _(t){return(0,p.Ay)("MuiButtonGroup",t)}const m=(0,d.A)("MuiButtonGroup",["root","contained","outlined","text","disableElevation","disabled","firstButton","fullWidth","vertical","grouped","groupedHorizontal","groupedVertical","groupedText","groupedTextHorizontal","groupedTextVertical","groupedTextPrimary","groupedTextSecondary","groupedOutlined","groupedOutlinedHorizontal","groupedOutlinedVertical","groupedOutlinedPrimary","groupedOutlinedSecondary","groupedContained","groupedContainedHorizontal","groupedContainedVertical","groupedContainedPrimary","groupedContainedSecondary","lastButton","middleButton"]);var v=e(21572),g=e(97712),b=e(69500);const w=["children","className","color","component","disabled","disableElevation","disableFocusRipple","disableRipple","fullWidth","orientation","size","variant"],y=(0,h.Ay)("div",{name:"MuiButtonGroup",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[{[`& .${m.grouped}`]:n.grouped},{[`& .${m.grouped}`]:n[`grouped${(0,l.A)(e.orientation)}`]},{[`& .${m.grouped}`]:n[`grouped${(0,l.A)(e.variant)}`]},{[`& .${m.grouped}`]:n[`grouped${(0,l.A)(e.variant)}${(0,l.A)(e.orientation)}`]},{[`& .${m.grouped}`]:n[`grouped${(0,l.A)(e.variant)}${(0,l.A)(e.color)}`]},{[`& .${m.firstButton}`]:n.firstButton},{[`& .${m.lastButton}`]:n.lastButton},{[`& .${m.middleButton}`]:n.middleButton},n.root,n[e.variant],!0===e.disableElevation&&n.disableElevation,e.fullWidth&&n.fullWidth,"vertical"===e.orientation&&n.vertical]}})((({theme:t,ownerState:n})=>(0,i.A)({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"},{[`& .${m.grouped}`]:(0,i.A)({minWidth:40,"&:hover":(0,i.A)({},"contained"===n.variant&&{boxShadow:"none"})},"contained"===n.variant&&{boxShadow:"none"}),[`& .${m.firstButton},& .${m.middleButton}`]:(0,i.A)({},"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(${t.vars.palette.common.onBackgroundChannel} / 0.23)`:"1px solid "+("light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),[`&.${m.disabled}`]:{borderRight:`1px solid ${(t.vars||t).palette.action.disabled}`}},"text"===n.variant&&"vertical"===n.orientation&&{borderBottom:t.vars?`1px solid rgba(${t.vars.palette.common.onBackgroundChannel} / 0.23)`:"1px solid "+("light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),[`&.${m.disabled}`]:{borderBottom:`1px solid ${(t.vars||t).palette.action.disabled}`}},"text"===n.variant&&"inherit"!==n.color&&{borderColor:t.vars?`rgba(${t.vars.palette[n.color].mainChannel} / 0.5)`:(0,u.X4)(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&&{borderRight:`1px solid ${(t.vars||t).palette.grey[400]}`,[`&.${m.disabled}`]:{borderRight:`1px solid ${(t.vars||t).palette.action.disabled}`}},"contained"===n.variant&&"vertical"===n.orientation&&{borderBottom:`1px solid ${(t.vars||t).palette.grey[400]}`,[`&.${m.disabled}`]:{borderBottom:`1px solid ${(t.vars||t).palette.action.disabled}`}},"contained"===n.variant&&"inherit"!==n.color&&{borderColor:(t.vars||t).palette[n.color].dark},{"&:hover":(0,i.A)({},"outlined"===n.variant&&"horizontal"===n.orientation&&{borderRightColor:"currentColor"},"outlined"===n.variant&&"vertical"===n.orientation&&{borderBottomColor:"currentColor"})}),[`& .${m.lastButton},& .${m.middleButton}`]:(0,i.A)({},"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})}))),x=o.forwardRef((function(t,n){const e=(0,f.A)({props:t,name:"MuiButtonGroup"}),{children:u,className:h,color:d="primary",component:p="div",disabled:m=!1,disableElevation:x=!1,disableFocusRipple:k=!1,disableRipple:S=!1,fullWidth:A=!1,orientation:C="horizontal",size:E="medium",variant:M="outlined"}=e,$=(0,r.A)(e,w),z=(0,i.A)({},e,{color:d,component:p,disabled:m,disableElevation:x,disableFocusRipple:k,disableRipple:S,fullWidth:A,orientation:C,size:E,variant:M}),T=(t=>{const{classes:n,color:e,disabled:r,disableElevation:i,fullWidth:o,orientation:s,variant:u}=t,c={root:["root",u,"vertical"===s&&"vertical",o&&"fullWidth",i&&"disableElevation"],grouped:["grouped",`grouped${(0,l.A)(s)}`,`grouped${(0,l.A)(u)}`,`grouped${(0,l.A)(u)}${(0,l.A)(s)}`,`grouped${(0,l.A)(u)}${(0,l.A)(e)}`,r&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]};return(0,a.A)(c,_,n)})(z),j=o.useMemo((()=>({className:T.grouped,color:d,disabled:m,disableElevation:x,disableFocusRipple:k,disableRipple:S,fullWidth:A,size:E,variant:M})),[d,m,x,k,S,A,E,M,T.grouped]),O=(0,c.A)(u),R=O.length,L=t=>{const n=0===t,e=t===R-1;return n&&e?"":n?T.firstButton:e?T.lastButton:T.middleButton};return(0,b.jsx)(y,(0,i.A)({as:p,role:"group",className:(0,s.A)(T.root,h),ref:n,ownerState:z},$,{children:(0,b.jsx)(v.A.Provider,{value:j,children:O.map(((t,n)=>(0,b.jsx)(g.A.Provider,{value:L(n),children:t},n)))})}))}))},96829:(t,n,e)=>{"use strict";e.r(n),e.d(n,{cardClasses:()=>p,default:()=>g,getCardUtilityClass:()=>d});var r=e(6614),i=e(83673),o=e(7552),s=e(93878),a=e(60827),u=e(51148),c=e(31049),l=e(83651),h=e(55549),f=e(9577);function d(t){return(0,f.Ay)("MuiCard",t)}const p=(0,h.A)("MuiCard",["root"]);var _=e(69500);const m=["className","raised"],v=(0,u.Ay)(l.A,{name:"MuiCard",slot:"Root",overridesResolver:(t,n)=>n.root})((()=>({overflow:"hidden"}))),g=o.forwardRef((function(t,n){const e=(0,c.A)({props:t,name:"MuiCard"}),{className:o,raised:u=!1}=e,l=(0,i.A)(e,m),h=(0,r.A)({},e,{raised:u}),f=(t=>{const{classes:n}=t;return(0,a.A)({root:["root"]},d,n)})(h);return(0,_.jsx)(v,(0,r.A)({className:(0,s.A)(f.root,o),elevation:u?8:void 0,ref:n,ownerState:h},l))}))},38483:(t,n,e)=>{"use strict";e.r(n),e.d(n,{cardActionAreaClasses:()=>d,default:()=>b,getCardActionAreaUtilityClass:()=>f});var r=e(6614),i=e(83673),o=e(7552),s=e(93878),a=e(60827),u=e(31049),c=e(51148),l=e(55549),h=e(9577);function f(t){return(0,h.Ay)("MuiCardActionArea",t)}const d=(0,l.A)("MuiCardActionArea",["root","focusVisible","focusHighlight"]);var p=e(9108),_=e(69500);const m=["children","className","focusVisibleClassName"],v=(0,c.Ay)(p.A,{name:"MuiCardActionArea",slot:"Root",overridesResolver:(t,n)=>n.root})((({theme:t})=>({display:"block",textAlign:"inherit",borderRadius:"inherit",width:"100%",[`&:hover .${d.focusHighlight}`]:{opacity:(t.vars||t).palette.action.hoverOpacity,"@media (hover: none)":{opacity:0}},[`&.${d.focusVisible} .${d.focusHighlight}`]:{opacity:(t.vars||t).palette.action.focusOpacity}}))),g=(0,c.Ay)("span",{name:"MuiCardActionArea",slot:"FocusHighlight",overridesResolver:(t,n)=>n.focusHighlight})((({theme:t})=>({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})}))),b=o.forwardRef((function(t,n){const e=(0,u.A)({props:t,name:"MuiCardActionArea"}),{children:o,className:c,focusVisibleClassName:l}=e,h=(0,i.A)(e,m),d=e,p=(t=>{const{classes:n}=t;return(0,a.A)({root:["root"],focusHighlight:["focusHighlight"]},f,n)})(d);return(0,_.jsxs)(v,(0,r.A)({className:(0,s.A)(p.root,c),focusVisibleClassName:(0,s.A)(l,p.focusVisible),ref:n,ownerState:d},h,{children:[o,(0,_.jsx)(g,{className:p.focusHighlight,ownerState:d})]}))}))},51983:(t,n,e)=>{"use strict";e.r(n),e.d(n,{cardActionsClasses:()=>d,default:()=>v,getCardActionsUtilityClass:()=>f});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(60827),u=e(51148),c=e(31049),l=e(55549),h=e(9577);function f(t){return(0,h.Ay)("MuiCardActions",t)}const d=(0,l.A)("MuiCardActions",["root","spacing"]);var p=e(69500);const _=["disableSpacing","className"],m=(0,u.Ay)("div",{name:"MuiCardActions",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,!e.disableSpacing&&n.spacing]}})((({ownerState:t})=>(0,i.A)({display:"flex",alignItems:"center",padding:8},!t.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}}))),v=o.forwardRef((function(t,n){const e=(0,c.A)({props:t,name:"MuiCardActions"}),{disableSpacing:o=!1,className:u}=e,l=(0,r.A)(e,_),h=(0,i.A)({},e,{disableSpacing:o}),d=(t=>{const{classes:n,disableSpacing:e}=t,r={root:["root",!e&&"spacing"]};return(0,a.A)(r,f,n)})(h);return(0,p.jsx)(m,(0,i.A)({className:(0,s.A)(d.root,u),ownerState:h,ref:n},l))}))},77048:(t,n,e)=>{"use strict";e.r(n),e.d(n,{cardContentClasses:()=>d,default:()=>v,getCardContentUtilityClass:()=>f});var r=e(6614),i=e(83673),o=e(7552),s=e(93878),a=e(60827),u=e(51148),c=e(31049),l=e(55549),h=e(9577);function f(t){return(0,h.Ay)("MuiCardContent",t)}const d=(0,l.A)("MuiCardContent",["root"]);var p=e(69500);const _=["className","component"],m=(0,u.Ay)("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(t,n)=>n.root})((()=>({padding:16,"&:last-child":{paddingBottom:24}}))),v=o.forwardRef((function(t,n){const e=(0,c.A)({props:t,name:"MuiCardContent"}),{className:o,component:u="div"}=e,l=(0,i.A)(e,_),h=(0,r.A)({},e,{component:u}),d=(t=>{const{classes:n}=t;return(0,a.A)({root:["root"]},f,n)})(h);return(0,p.jsx)(m,(0,r.A)({as:u,className:(0,s.A)(d.root,o),ownerState:h,ref:n},l))}))},16429:(t,n,e)=>{"use strict";e.r(n),e.d(n,{cardHeaderClasses:()=>p,default:()=>y,getCardHeaderUtilityClass:()=>d});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(60827),u=e(36715),c=e(31049),l=e(51148),h=e(55549),f=e(9577);function d(t){return(0,f.Ay)("MuiCardHeader",t)}const p=(0,h.A)("MuiCardHeader",["root","avatar","action","content","title","subheader"]);var _=e(69500);const m=["action","avatar","className","component","disableTypography","subheader","subheaderTypographyProps","title","titleTypographyProps"],v=(0,l.Ay)("div",{name:"MuiCardHeader",slot:"Root",overridesResolver:(t,n)=>(0,i.A)({[`& .${p.title}`]:n.title,[`& .${p.subheader}`]:n.subheader},n.root)})({display:"flex",alignItems:"center",padding:16}),g=(0,l.Ay)("div",{name:"MuiCardHeader",slot:"Avatar",overridesResolver:(t,n)=>n.avatar})({display:"flex",flex:"0 0 auto",marginRight:16}),b=(0,l.Ay)("div",{name:"MuiCardHeader",slot:"Action",overridesResolver:(t,n)=>n.action})({flex:"0 0 auto",alignSelf:"flex-start",marginTop:-4,marginRight:-8,marginBottom:-4}),w=(0,l.Ay)("div",{name:"MuiCardHeader",slot:"Content",overridesResolver:(t,n)=>n.content})({flex:"1 1 auto"}),y=o.forwardRef((function(t,n){const e=(0,c.A)({props:t,name:"MuiCardHeader"}),{action:o,avatar:l,className:h,component:f="div",disableTypography:p=!1,subheader:y,subheaderTypographyProps:x,title:k,titleTypographyProps:S}=e,A=(0,r.A)(e,m),C=(0,i.A)({},e,{component:f,disableTypography:p}),E=(t=>{const{classes:n}=t;return(0,a.A)({root:["root"],avatar:["avatar"],action:["action"],content:["content"],title:["title"],subheader:["subheader"]},d,n)})(C);let M=k;null==M||M.type===u.A||p||(M=(0,_.jsx)(u.A,(0,i.A)({variant:l?"body2":"h5",className:E.title,component:"span",display:"block"},S,{children:M})));let $=y;return null==$||$.type===u.A||p||($=(0,_.jsx)(u.A,(0,i.A)({variant:l?"body2":"body1",className:E.subheader,color:"text.secondary",component:"span",display:"block"},x,{children:$}))),(0,_.jsxs)(v,(0,i.A)({className:(0,s.A)(E.root,h),as:f,ref:n,ownerState:C},A,{children:[l&&(0,_.jsx)(g,{className:E.avatar,ownerState:C,children:l}),(0,_.jsxs)(w,{className:E.content,ownerState:C,children:[M,$]}),o&&(0,_.jsx)(b,{className:E.action,ownerState:C,children:o})]}))}))},58824:(t,n,e)=>{"use strict";e.r(n),e.d(n,{checkboxClasses:()=>y,default:()=>E,getCheckboxUtilityClass:()=>w});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(60827),u=e(18283),c=e(15110),l=e(74893),h=e(69500);const f=(0,l.A)((0,h.jsx)("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),d=(0,l.A)((0,h.jsx)("path",{d:"M19 3H5c-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-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),p=(0,l.A)((0,h.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");var _=e(15622),m=e(31049),v=e(51148),g=e(55549),b=e(9577);function w(t){return(0,b.Ay)("MuiCheckbox",t)}const y=(0,g.A)("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),x=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],k=(0,v.Ay)(c.A,{shouldForwardProp:t=>(0,v.ep)(t)||"classes"===t,name:"MuiCheckbox",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,e.indeterminate&&n.indeterminate,n[`size${(0,_.A)(e.size)}`],"default"!==e.color&&n[`color${(0,_.A)(e.color)}`]]}})((({theme:t,ownerState:n})=>(0,i.A)({color:(t.vars||t).palette.text.secondary},!n.disableRipple&&{"&:hover":{backgroundColor:t.vars?`rgba(${"default"===n.color?t.vars.palette.action.activeChannel:t.vars.palette[n.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,u.X4)("default"===n.color?t.palette.action.active:t.palette[n.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==n.color&&{[`&.${y.checked}, &.${y.indeterminate}`]:{color:(t.vars||t).palette[n.color].main},[`&.${y.disabled}`]:{color:(t.vars||t).palette.action.disabled}}))),S=(0,h.jsx)(d,{}),A=(0,h.jsx)(f,{}),C=(0,h.jsx)(p,{}),E=o.forwardRef((function(t,n){var e,u;const c=(0,m.A)({props:t,name:"MuiCheckbox"}),{checkedIcon:l=S,color:f="primary",icon:d=A,indeterminate:p=!1,indeterminateIcon:v=C,inputProps:g,size:b="medium",className:y}=c,E=(0,r.A)(c,x),M=p?v:d,$=p?v:l,z=(0,i.A)({},c,{color:f,indeterminate:p,size:b}),T=(t=>{const{classes:n,indeterminate:e,color:r,size:o}=t,s={root:["root",e&&"indeterminate",`color${(0,_.A)(r)}`,`size${(0,_.A)(o)}`]},u=(0,a.A)(s,w,n);return(0,i.A)({},n,u)})(z);return(0,h.jsx)(k,(0,i.A)({type:"checkbox",inputProps:(0,i.A)({"data-indeterminate":p},g),icon:o.cloneElement(M,{fontSize:null!=(e=M.props.fontSize)?e:b}),checkedIcon:o.cloneElement($,{fontSize:null!=(u=$.props.fontSize)?u:b}),ownerState:z,ref:n,className:(0,s.A)(T.root,y)},E,{classes:T}))}))},15259:(t,n,e)=>{"use strict";e.r(n),e.d(n,{chipClasses:()=>w,default:()=>A,getChipUtilityClass:()=>b});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(60827),u=e(18283),c=e(74893),l=e(69500);const h=(0,c.A)((0,l.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");var f=e(51584),d=e(15622),p=e(9108),_=e(31049),m=e(51148),v=e(55549),g=e(9577);function b(t){return(0,g.Ay)("MuiChip",t)}const w=(0,v.A)("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),y=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],x=(0,m.Ay)("div",{name:"MuiChip",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t,{color:r,iconColor:i,clickable:o,onDelete:s,size:a,variant:u}=e;return[{[`& .${w.avatar}`]:n.avatar},{[`& .${w.avatar}`]:n[`avatar${(0,d.A)(a)}`]},{[`& .${w.avatar}`]:n[`avatarColor${(0,d.A)(r)}`]},{[`& .${w.icon}`]:n.icon},{[`& .${w.icon}`]:n[`icon${(0,d.A)(a)}`]},{[`& .${w.icon}`]:n[`iconColor${(0,d.A)(i)}`]},{[`& .${w.deleteIcon}`]:n.deleteIcon},{[`& .${w.deleteIcon}`]:n[`deleteIcon${(0,d.A)(a)}`]},{[`& .${w.deleteIcon}`]:n[`deleteIconColor${(0,d.A)(r)}`]},{[`& .${w.deleteIcon}`]:n[`deleteIcon${(0,d.A)(u)}Color${(0,d.A)(r)}`]},n.root,n[`size${(0,d.A)(a)}`],n[`color${(0,d.A)(r)}`],o&&n.clickable,o&&"default"!==r&&n[`clickableColor${(0,d.A)(r)})`],s&&n.deletable,s&&"default"!==r&&n[`deletableColor${(0,d.A)(r)}`],n[u],n[`${u}${(0,d.A)(r)}`]]}})((({theme:t,ownerState:n})=>{const e="light"===t.palette.mode?t.palette.grey[700]:t.palette.grey[300];return(0,i.A)({maxWidth:"100%",fontFamily:t.typography.fontFamily,fontSize:t.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(t.vars||t).palette.text.primary,backgroundColor:(t.vars||t).palette.action.selected,borderRadius:16,whiteSpace:"nowrap",transition:t.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${w.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${w.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:t.vars?t.vars.palette.Chip.defaultAvatarColor:e,fontSize:t.typography.pxToRem(12)},[`& .${w.avatarColorPrimary}`]:{color:(t.vars||t).palette.primary.contrastText,backgroundColor:(t.vars||t).palette.primary.dark},[`& .${w.avatarColorSecondary}`]:{color:(t.vars||t).palette.secondary.contrastText,backgroundColor:(t.vars||t).palette.secondary.dark},[`& .${w.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:t.typography.pxToRem(10)},[`& .${w.icon}`]:(0,i.A)({marginLeft:5,marginRight:-6},"small"===n.size&&{fontSize:18,marginLeft:4,marginRight:-4},n.iconColor===n.color&&(0,i.A)({color:t.vars?t.vars.palette.Chip.defaultIconColor:e},"default"!==n.color&&{color:"inherit"})),[`& .${w.deleteIcon}`]:(0,i.A)({WebkitTapHighlightColor:"transparent",color:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / 0.26)`:(0,u.X4)(t.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / 0.4)`:(0,u.X4)(t.palette.text.primary,.4)}},"small"===n.size&&{fontSize:16,marginRight:4,marginLeft:-4},"default"!==n.color&&{color:t.vars?`rgba(${t.vars.palette[n.color].contrastTextChannel} / 0.7)`:(0,u.X4)(t.palette[n.color].contrastText,.7),"&:hover, &:active":{color:(t.vars||t).palette[n.color].contrastText}})},"small"===n.size&&{height:24},"default"!==n.color&&{backgroundColor:(t.vars||t).palette[n.color].main,color:(t.vars||t).palette[n.color].contrastText},n.onDelete&&{[`&.${w.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:(0,u.X4)(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},n.onDelete&&"default"!==n.color&&{[`&.${w.focusVisible}`]:{backgroundColor:(t.vars||t).palette[n.color].dark}})}),(({theme:t,ownerState:n})=>(0,i.A)({},n.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:(0,u.X4)(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity)},[`&.${w.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:(0,u.X4)(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)},"&:active":{boxShadow:(t.vars||t).shadows[1]}},n.clickable&&"default"!==n.color&&{[`&:hover, &.${w.focusVisible}`]:{backgroundColor:(t.vars||t).palette[n.color].dark}})),(({theme:t,ownerState:n})=>(0,i.A)({},"outlined"===n.variant&&{backgroundColor:"transparent",border:t.vars?`1px solid ${t.vars.palette.Chip.defaultBorder}`:`1px solid ${"light"===t.palette.mode?t.palette.grey[400]:t.palette.grey[700]}`,[`&.${w.clickable}:hover`]:{backgroundColor:(t.vars||t).palette.action.hover},[`&.${w.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`& .${w.avatar}`]:{marginLeft:4},[`& .${w.avatarSmall}`]:{marginLeft:2},[`& .${w.icon}`]:{marginLeft:4},[`& .${w.iconSmall}`]:{marginLeft:2},[`& .${w.deleteIcon}`]:{marginRight:5},[`& .${w.deleteIconSmall}`]:{marginRight:3}},"outlined"===n.variant&&"default"!==n.color&&{color:(t.vars||t).palette[n.color].main,border:`1px solid ${t.vars?`rgba(${t.vars.palette[n.color].mainChannel} / 0.7)`:(0,u.X4)(t.palette[n.color].main,.7)}`,[`&.${w.clickable}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette[n.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,u.X4)(t.palette[n.color].main,t.palette.action.hoverOpacity)},[`&.${w.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette[n.color].mainChannel} / ${t.vars.palette.action.focusOpacity})`:(0,u.X4)(t.palette[n.color].main,t.palette.action.focusOpacity)},[`& .${w.deleteIcon}`]:{color:t.vars?`rgba(${t.vars.palette[n.color].mainChannel} / 0.7)`:(0,u.X4)(t.palette[n.color].main,.7),"&:hover, &:active":{color:(t.vars||t).palette[n.color].main}}}))),k=(0,m.Ay)("span",{name:"MuiChip",slot:"Label",overridesResolver:(t,n)=>{const{ownerState:e}=t,{size:r}=e;return[n.label,n[`label${(0,d.A)(r)}`]]}})((({ownerState:t})=>(0,i.A)({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},"outlined"===t.variant&&{paddingLeft:11,paddingRight:11},"small"===t.size&&{paddingLeft:8,paddingRight:8},"small"===t.size&&"outlined"===t.variant&&{paddingLeft:7,paddingRight:7})));function S(t){return"Backspace"===t.key||"Delete"===t.key}const A=o.forwardRef((function(t,n){const e=(0,_.A)({props:t,name:"MuiChip"}),{avatar:u,className:c,clickable:m,color:v="default",component:g,deleteIcon:w,disabled:A=!1,icon:C,label:E,onClick:M,onDelete:$,onKeyDown:z,onKeyUp:T,size:j="medium",variant:O="filled",tabIndex:R,skipFocusWhenDisabled:L=!1}=e,D=(0,r.A)(e,y),P=o.useRef(null),I=(0,f.A)(P,n),q=t=>{t.stopPropagation(),$&&$(t)},N=!(!1===m||!M)||m,F=N||$?p.A:g||"div",B=(0,i.A)({},e,{component:F,disabled:A,size:j,color:v,iconColor:o.isValidElement(C)&&C.props.color||v,onDelete:!!$,clickable:N,variant:O}),U=(t=>{const{classes:n,disabled:e,size:r,color:i,iconColor:o,onDelete:s,clickable:u,variant:c}=t,l={root:["root",c,e&&"disabled",`size${(0,d.A)(r)}`,`color${(0,d.A)(i)}`,u&&"clickable",u&&`clickableColor${(0,d.A)(i)}`,s&&"deletable",s&&`deletableColor${(0,d.A)(i)}`,`${c}${(0,d.A)(i)}`],label:["label",`label${(0,d.A)(r)}`],avatar:["avatar",`avatar${(0,d.A)(r)}`,`avatarColor${(0,d.A)(i)}`],icon:["icon",`icon${(0,d.A)(r)}`,`iconColor${(0,d.A)(o)}`],deleteIcon:["deleteIcon",`deleteIcon${(0,d.A)(r)}`,`deleteIconColor${(0,d.A)(i)}`,`deleteIcon${(0,d.A)(c)}Color${(0,d.A)(i)}`]};return(0,a.A)(l,b,n)})(B),H=F===p.A?(0,i.A)({component:g||"div",focusVisibleClassName:U.focusVisible},$&&{disableRipple:!0}):{};let V=null;$&&(V=w&&o.isValidElement(w)?o.cloneElement(w,{className:(0,s.A)(w.props.className,U.deleteIcon),onClick:q}):(0,l.jsx)(h,{className:(0,s.A)(U.deleteIcon),onClick:q}));let W=null;u&&o.isValidElement(u)&&(W=o.cloneElement(u,{className:(0,s.A)(U.avatar,u.props.className)}));let G=null;return C&&o.isValidElement(C)&&(G=o.cloneElement(C,{className:(0,s.A)(U.icon,C.props.className)})),(0,l.jsxs)(x,(0,i.A)({as:F,className:(0,s.A)(U.root,c),disabled:!(!N||!A)||void 0,onClick:M,onKeyDown:t=>{t.currentTarget===t.target&&S(t)&&t.preventDefault(),z&&z(t)},onKeyUp:t=>{t.currentTarget===t.target&&($&&S(t)?$(t):"Escape"===t.key&&P.current&&P.current.blur()),T&&T(t)},ref:I,tabIndex:L&&A?-1:R,ownerState:B},H,D,{children:[W||G,(0,l.jsx)(k,{className:(0,s.A)(U.label),ownerState:B,children:E}),V]}))}))},5900:(t,n,e)=>{"use strict";e.r(n),e.d(n,{circularProgressClasses:()=>_,default:()=>M,getCircularProgressUtilityClass:()=>p});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(60827),u=e(64761),c=e(15622),l=e(31049),h=e(51148),f=e(55549),d=e(9577);function p(t){return(0,d.Ay)("MuiCircularProgress",t)}const _=(0,f.A)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);var m=e(69500);const v=["className","color","disableShrink","size","style","thickness","value","variant"];let g,b,w,y,x=t=>t;const k=(0,u.i7)(g||(g=x` 0% { transform: rotate(0deg); } @@ -99,5 +99,5 @@ animation: ${0} 1.4s linear infinite; `),k))),C=(0,h.Ay)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(t,n)=>n.svg})({display:"block"}),E=(0,h.Ay)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.circle,n[`circle${(0,c.A)(e.variant)}`],e.disableShrink&&n.circleDisableShrink]}})((({ownerState:t,theme:n})=>(0,i.A)({stroke:"currentColor"},"determinate"===t.variant&&{transition:n.transitions.create("stroke-dashoffset")},"indeterminate"===t.variant&&{strokeDasharray:"80px, 200px",strokeDashoffset:0})),(({ownerState:t})=>"indeterminate"===t.variant&&!t.disableShrink&&(0,u.AH)(y||(y=x` animation: ${0} 1.4s ease-in-out infinite; - `),S))),M=o.forwardRef((function(t,n){const e=(0,l.A)({props:t,name:"MuiCircularProgress"}),{className:o,color:u="primary",disableShrink:h=!1,size:f=40,style:d,thickness:_=3.6,value:g=0,variant:b="indeterminate"}=e,w=(0,r.A)(e,v),y=(0,i.A)({},e,{color:u,disableShrink:h,size:f,thickness:_,value:g,variant:b}),x=(t=>{const{classes:n,variant:e,color:r,disableShrink:i}=t,o={root:["root",e,`color${(0,c.A)(r)}`],svg:["svg"],circle:["circle",`circle${(0,c.A)(e)}`,i&&"circleDisableShrink"]};return(0,a.A)(o,p,n)})(y),k={},S={},M={};if("determinate"===b){const t=2*Math.PI*((44-_)/2);k.strokeDasharray=t.toFixed(3),M["aria-valuenow"]=Math.round(g),k.strokeDashoffset=`${((100-g)/100*t).toFixed(3)}px`,S.transform="rotate(-90deg)"}return(0,m.jsx)(A,(0,i.A)({className:(0,s.A)(x.root,o),style:(0,i.A)({width:f,height:f},S,d),ownerState:y,ref:n,role:"progressbar"},M,w,{children:(0,m.jsx)(C,{className:x.svg,ownerState:y,viewBox:"22 22 44 44",children:(0,m.jsx)(E,{className:x.circle,style:k,ownerState:y,cx:44,cy:44,r:(44-_)/2,fill:"none",strokeWidth:_})})}))}))},55157:(t,n,e)=>{"use strict";e.r(n),e.d(n,{containerClasses:()=>S,default:()=>x,getContainerUtilityClass:()=>k});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(81119),u=e(9577),c=e(60827),l=e(97269),h=e(3581),f=e(57949),d=e(69500);const p=["className","component","disableGutters","fixed","maxWidth","classes"],_=(0,f.A)(),m=(0,h.A)("div",{name:"MuiContainer",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,n[`maxWidth${(0,a.A)(String(e.maxWidth))}`],e.fixed&&n.fixed,e.disableGutters&&n.disableGutters]}}),v=t=>(0,l.A)({props:t,name:"MuiContainer",defaultTheme:_});var g=e(15622),b=e(51148),w=e(31049);const y=function(t={}){const{createStyledComponent:n=m,useThemeProps:e=v,componentName:l="MuiContainer"}=t,h=n((({theme:t,ownerState:n})=>(0,i.A)({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",display:"block"},!n.disableGutters&&{paddingLeft:t.spacing(2),paddingRight:t.spacing(2),[t.breakpoints.up("sm")]:{paddingLeft:t.spacing(3),paddingRight:t.spacing(3)}})),(({theme:t,ownerState:n})=>n.fixed&&Object.keys(t.breakpoints.values).reduce(((n,e)=>{const r=e,i=t.breakpoints.values[r];return 0!==i&&(n[t.breakpoints.up(r)]={maxWidth:`${i}${t.breakpoints.unit}`}),n}),{})),(({theme:t,ownerState:n})=>(0,i.A)({},"xs"===n.maxWidth&&{[t.breakpoints.up("xs")]:{maxWidth:Math.max(t.breakpoints.values.xs,444)}},n.maxWidth&&"xs"!==n.maxWidth&&{[t.breakpoints.up(n.maxWidth)]:{maxWidth:`${t.breakpoints.values[n.maxWidth]}${t.breakpoints.unit}`}}))),f=o.forwardRef((function(t,n){const o=e(t),{className:f,component:_="div",disableGutters:m=!1,fixed:v=!1,maxWidth:g="lg"}=o,b=(0,r.A)(o,p),w=(0,i.A)({},o,{component:_,disableGutters:m,fixed:v,maxWidth:g}),y=((t,n)=>{const{classes:e,fixed:r,disableGutters:i,maxWidth:o}=t,s={root:["root",o&&`maxWidth${(0,a.A)(String(o))}`,r&&"fixed",i&&"disableGutters"]};return(0,c.A)(s,(t=>(0,u.Ay)(n,t)),e)})(w,l);return(0,d.jsx)(h,(0,i.A)({as:_,ownerState:w,className:(0,s.A)(y.root,f),ref:n},b))}));return f}({createStyledComponent:(0,b.Ay)("div",{name:"MuiContainer",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,n[`maxWidth${(0,g.A)(String(e.maxWidth))}`],e.fixed&&n.fixed,e.disableGutters&&n.disableGutters]}}),useThemeProps:t=>(0,w.A)({props:t,name:"MuiContainer"})}),x=y;function k(t){return(0,u.Ay)("MuiContainer",t)}const S=(0,e(55549).A)("MuiContainer",["root","disableGutters","fixed","maxWidthXs","maxWidthSm","maxWidthMd","maxWidthLg","maxWidthXl"])},27493:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>l});var r=e(6614),i=e(7552),o=e(31049),s=e(49266),a=e(69500);const u=(t,n)=>(0,r.A)({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},n&&!t.vars&&{colorScheme:t.palette.mode}),c=t=>(0,r.A)({color:(t.vars||t).palette.text.primary},t.typography.body1,{backgroundColor:(t.vars||t).palette.background.default,"@media print":{backgroundColor:(t.vars||t).palette.common.white}}),l=function(t){const n=(0,o.A)({props:t,name:"MuiCssBaseline"}),{children:e,enableColorScheme:l=!1}=n;return(0,a.jsxs)(i.Fragment,{children:[(0,a.jsx)(s.A,{styles:t=>((t,n=!1)=>{var e;const i={};n&&t.colorSchemes&&Object.entries(t.colorSchemes).forEach((([n,e])=>{var r;i[t.getColorSchemeSelector(n).replace(/\s*&/,"")]={colorScheme:null==(r=e.palette)?void 0:r.mode}}));let o=(0,r.A)({html:u(t,n),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:t.typography.fontWeightBold},body:(0,r.A)({margin:0},c(t),{"&::backdrop":{backgroundColor:(t.vars||t).palette.background.default}})},i);const s=null==(e=t.components)||null==(e=e.MuiCssBaseline)?void 0:e.styleOverrides;return s&&(o=[o,s]),o})(t,l)}),e]})}},29666:(t,n,e)=>{"use strict";e.d(n,{A:()=>r});const r=e(7552).createContext({})},28940:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>M,dialogClasses:()=>g,getDialogUtilityClass:()=>v});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(60827),u=e(61941),c=e(15622),l=e(52131),h=e(93321),f=e(83651),d=e(31049),p=e(51148),_=e(55549),m=e(9577);function v(t){return(0,m.Ay)("MuiDialog",t)}const g=(0,_.A)("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]);var b=e(29666),w=e(19937),y=e(48231),x=e(69500);const k=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],S=(0,p.Ay)(w.A,{name:"MuiDialog",slot:"Backdrop",overrides:(t,n)=>n.backdrop})({zIndex:-1}),A=(0,p.Ay)(l.A,{name:"MuiDialog",slot:"Root",overridesResolver:(t,n)=>n.root})({"@media print":{position:"absolute !important"}}),C=(0,p.Ay)("div",{name:"MuiDialog",slot:"Container",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.container,n[`scroll${(0,c.A)(e.scroll)}`]]}})((({ownerState:t})=>(0,i.A)({height:"100%","@media print":{height:"auto"},outline:0},"paper"===t.scroll&&{display:"flex",justifyContent:"center",alignItems:"center"},"body"===t.scroll&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}))),E=(0,p.Ay)(f.A,{name:"MuiDialog",slot:"Paper",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.paper,n[`scrollPaper${(0,c.A)(e.scroll)}`],n[`paperWidth${(0,c.A)(String(e.maxWidth))}`],e.fullWidth&&n.paperFullWidth,e.fullScreen&&n.paperFullScreen]}})((({theme:t,ownerState:n})=>(0,i.A)({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},"paper"===n.scroll&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},"body"===n.scroll&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!n.maxWidth&&{maxWidth:"calc(100% - 64px)"},"xs"===n.maxWidth&&{maxWidth:"px"===t.breakpoints.unit?Math.max(t.breakpoints.values.xs,444):`max(${t.breakpoints.values.xs}${t.breakpoints.unit}, 444px)`,[`&.${g.paperScrollBody}`]:{[t.breakpoints.down(Math.max(t.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}},n.maxWidth&&"xs"!==n.maxWidth&&{maxWidth:`${t.breakpoints.values[n.maxWidth]}${t.breakpoints.unit}`,[`&.${g.paperScrollBody}`]:{[t.breakpoints.down(t.breakpoints.values[n.maxWidth]+64)]:{maxWidth:"calc(100% - 64px)"}}},n.fullWidth&&{width:"calc(100% - 64px)"},n.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${g.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}))),M=o.forwardRef((function(t,n){const e=(0,d.A)({props:t,name:"MuiDialog"}),l=(0,y.default)(),p={enter:l.transitions.duration.enteringScreen,exit:l.transitions.duration.leavingScreen},{"aria-describedby":_,"aria-labelledby":m,BackdropComponent:g,BackdropProps:w,children:M,className:$,disableEscapeKeyDown:z=!1,fullScreen:T=!1,fullWidth:O=!1,maxWidth:j="sm",onBackdropClick:R,onClose:L,open:D,PaperComponent:P=f.A,PaperProps:I={},scroll:q="paper",TransitionComponent:N=h.A,transitionDuration:F=p,TransitionProps:B}=e,U=(0,r.A)(e,k),H=(0,i.A)({},e,{disableEscapeKeyDown:z,fullScreen:T,fullWidth:O,maxWidth:j,scroll:q}),V=(t=>{const{classes:n,scroll:e,maxWidth:r,fullWidth:i,fullScreen:o}=t,s={root:["root"],container:["container",`scroll${(0,c.A)(e)}`],paper:["paper",`paperScroll${(0,c.A)(e)}`,`paperWidth${(0,c.A)(String(r))}`,i&&"paperFullWidth",o&&"paperFullScreen"]};return(0,a.A)(s,v,n)})(H),W=o.useRef(),G=(0,u.A)(m),Y=o.useMemo((()=>({titleId:G})),[G]);return(0,x.jsx)(A,(0,i.A)({className:(0,s.A)(V.root,$),closeAfterTransition:!0,components:{Backdrop:S},componentsProps:{backdrop:(0,i.A)({transitionDuration:F,as:g},w)},disableEscapeKeyDown:z,onClose:L,open:D,ref:n,onClick:t=>{W.current&&(W.current=null,R&&R(t),L&&L(t,"backdropClick"))},ownerState:H},U,{children:(0,x.jsx)(N,(0,i.A)({appear:!0,in:D,timeout:F,role:"presentation"},B,{children:(0,x.jsx)(C,{className:(0,s.A)(V.container),onMouseDown:t=>{W.current=t.target===t.currentTarget},ownerState:H,children:(0,x.jsx)(E,(0,i.A)({as:P,elevation:24,role:"dialog","aria-describedby":_,"aria-labelledby":G},I,{className:(0,s.A)(V.paper,I.className),ownerState:H,children:(0,x.jsx)(b.A.Provider,{value:Y,children:M})}))})}))}))}))},77918:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>v,dialogActionsClasses:()=>d,getDialogActionsUtilityClass:()=>f});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(60827),u=e(51148),c=e(31049),l=e(55549),h=e(9577);function f(t){return(0,h.Ay)("MuiDialogActions",t)}const d=(0,l.A)("MuiDialogActions",["root","spacing"]);var p=e(69500);const _=["className","disableSpacing"],m=(0,u.Ay)("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,!e.disableSpacing&&n.spacing]}})((({ownerState:t})=>(0,i.A)({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!t.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}}))),v=o.forwardRef((function(t,n){const e=(0,c.A)({props:t,name:"MuiDialogActions"}),{className:o,disableSpacing:u=!1}=e,l=(0,r.A)(e,_),h=(0,i.A)({},e,{disableSpacing:u}),d=(t=>{const{classes:n,disableSpacing:e}=t,r={root:["root",!e&&"spacing"]};return(0,a.A)(r,f,n)})(h);return(0,p.jsx)(m,(0,i.A)({className:(0,s.A)(d.root,o),ownerState:h,ref:n},l))}))},70106:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>g,dialogContentClasses:()=>d,getDialogContentUtilityClass:()=>f});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(60827),u=e(51148),c=e(31049),l=e(55549),h=e(9577);function f(t){return(0,h.Ay)("MuiDialogContent",t)}const d=(0,l.A)("MuiDialogContent",["root","dividers"]);var p=e(99791),_=e(69500);const m=["className","dividers"],v=(0,u.Ay)("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,e.dividers&&n.dividers]}})((({theme:t,ownerState:n})=>(0,i.A)({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},n.dividers?{padding:"16px 24px",borderTop:`1px solid ${(t.vars||t).palette.divider}`,borderBottom:`1px solid ${(t.vars||t).palette.divider}`}:{[`.${p.A.root} + &`]:{paddingTop:0}}))),g=o.forwardRef((function(t,n){const e=(0,c.A)({props:t,name:"MuiDialogContent"}),{className:o,dividers:u=!1}=e,l=(0,r.A)(e,m),h=(0,i.A)({},e,{dividers:u}),d=(t=>{const{classes:n,dividers:e}=t,r={root:["root",e&&"dividers"]};return(0,a.A)(r,f,n)})(h);return(0,_.jsx)(v,(0,i.A)({className:(0,s.A)(d.root,o),ownerState:h,ref:n},l))}))},45031:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>g,dialogContentTextClasses:()=>p,getDialogContentTextUtilityClass:()=>d});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(60827),u=e(51148),c=e(31049),l=e(36715),h=e(55549),f=e(9577);function d(t){return(0,f.Ay)("MuiDialogContentText",t)}const p=(0,h.A)("MuiDialogContentText",["root"]);var _=e(69500);const m=["children","className"],v=(0,u.Ay)(l.A,{shouldForwardProp:t=>(0,u.ep)(t)||"classes"===t,name:"MuiDialogContentText",slot:"Root",overridesResolver:(t,n)=>n.root})({}),g=o.forwardRef((function(t,n){const e=(0,c.A)({props:t,name:"MuiDialogContentText"}),{className:o}=e,u=(0,r.A)(e,m),l=(t=>{const{classes:n}=t,e=(0,a.A)({root:["root"]},d,n);return(0,i.A)({},n,e)})(u);return(0,_.jsx)(v,(0,i.A)({component:"p",variant:"body1",color:"text.secondary",ref:n,ownerState:u,className:(0,s.A)(l.root,o)},e,{classes:l}))}))},99791:(t,n,e)=>{"use strict";e.d(n,{A:()=>s,t:()=>o});var r=e(55549),i=e(9577);function o(t){return(0,i.Ay)("MuiDialogTitle",t)}const s=(0,r.A)("MuiDialogTitle",["root"])},42699:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>m,dialogTitleClasses:()=>h.A,getDialogTitleUtilityClass:()=>h.t});var r=e(6614),i=e(83673),o=e(7552),s=e(93878),a=e(60827),u=e(36715),c=e(51148),l=e(31049),h=e(99791),f=e(29666),d=e(69500);const p=["className","id"],_=(0,c.Ay)(u.A,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(t,n)=>n.root})({padding:"16px 24px",flex:"0 0 auto"}),m=o.forwardRef((function(t,n){const e=(0,l.A)({props:t,name:"MuiDialogTitle"}),{className:u,id:c}=e,m=(0,i.A)(e,p),v=e,g=(t=>{const{classes:n}=t;return(0,a.A)({root:["root"]},h.t,n)})(v),{titleId:b=c}=o.useContext(f.A);return(0,d.jsx)(_,(0,r.A)({component:"h2",className:(0,s.A)(g.root,u),ownerState:v,ref:n,variant:"h6",id:null!=c?c:b},m))}))},919:(t,n,e)=>{"use strict";e.d(n,{A:()=>s,K:()=>o});var r=e(55549),i=e(9577);function o(t){return(0,i.Ay)("MuiDivider",t)}const s=(0,r.A)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"])},80474:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>v,dividerClasses:()=>h.A,getDividerUtilityClass:()=>h.K});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(60827),u=e(18283),c=e(51148),l=e(31049),h=e(919),f=e(69500);const d=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],p=(0,c.Ay)("div",{name:"MuiDivider",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,e.absolute&&n.absolute,n[e.variant],e.light&&n.light,"vertical"===e.orientation&&n.vertical,e.flexItem&&n.flexItem,e.children&&n.withChildren,e.children&&"vertical"===e.orientation&&n.withChildrenVertical,"right"===e.textAlign&&"vertical"!==e.orientation&&n.textAlignRight,"left"===e.textAlign&&"vertical"!==e.orientation&&n.textAlignLeft]}})((({theme:t,ownerState:n})=>(0,i.A)({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(${t.vars.palette.dividerChannel} / 0.08)`:(0,u.X4)(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"})),(({ownerState:t})=>(0,i.A)({},t.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}})),(({theme:t,ownerState:n})=>(0,i.A)({},n.children&&"vertical"!==n.orientation&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(t.vars||t).palette.divider}`}})),(({theme:t,ownerState:n})=>(0,i.A)({},n.children&&"vertical"===n.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(t.vars||t).palette.divider}`}})),(({ownerState:t})=>(0,i.A)({},"right"===t.textAlign&&"vertical"!==t.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===t.textAlign&&"vertical"!==t.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}}))),_=(0,c.Ay)("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.wrapper,"vertical"===e.orientation&&n.wrapperVertical]}})((({theme:t,ownerState:n})=>(0,i.A)({display:"inline-block",paddingLeft:`calc(${t.spacing(1)} * 1.2)`,paddingRight:`calc(${t.spacing(1)} * 1.2)`},"vertical"===n.orientation&&{paddingTop:`calc(${t.spacing(1)} * 1.2)`,paddingBottom:`calc(${t.spacing(1)} * 1.2)`}))),m=o.forwardRef((function(t,n){const e=(0,l.A)({props:t,name:"MuiDivider"}),{absolute:o=!1,children:u,className:c,component:m=(u?"div":"hr"),flexItem:v=!1,light:g=!1,orientation:b="horizontal",role:w=("hr"!==m?"separator":void 0),textAlign:y="center",variant:x="fullWidth"}=e,k=(0,r.A)(e,d),S=(0,i.A)({},e,{absolute:o,component:m,flexItem:v,light:g,orientation:b,role:w,textAlign:y,variant:x}),A=(t=>{const{absolute:n,children:e,classes:r,flexItem:i,light:o,orientation:s,textAlign:u,variant:c}=t,l={root:["root",n&&"absolute",c,o&&"light","vertical"===s&&"vertical",i&&"flexItem",e&&"withChildren",e&&"vertical"===s&&"withChildrenVertical","right"===u&&"vertical"!==s&&"textAlignRight","left"===u&&"vertical"!==s&&"textAlignLeft"],wrapper:["wrapper","vertical"===s&&"wrapperVertical"]};return(0,a.A)(l,h.K,r)})(S);return(0,f.jsx)(p,(0,i.A)({as:m,className:(0,s.A)(A.root,c),role:w,ref:n,ownerState:S},k,{children:u?(0,f.jsx)(_,{className:A.wrapper,ownerState:S,children:u}):null}))}));m.muiSkipListHighlight=!0;const v=m},15608:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>R,drawerClasses:()=>C,getDrawerUtilityClass:()=>A});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(60827),u=e(52131),c=e(16157),l=e(987),h=e(51584),f=e(48231),d=e(46302),p=e(46689),_=e(69500);const m=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function v(t,n,e){var r;const i=function(t,n,e){const r=n.getBoundingClientRect(),i=e&&e.getBoundingClientRect(),o=(0,p.A)(n);let s;if(n.fakeTransform)s=n.fakeTransform;else{const t=o.getComputedStyle(n);s=t.getPropertyValue("-webkit-transform")||t.getPropertyValue("transform")}let a=0,u=0;if(s&&"none"!==s&&"string"==typeof s){const t=s.split("(")[1].split(")")[0].split(",");a=parseInt(t[4],10),u=parseInt(t[5],10)}return"left"===t?i?`translateX(${i.right+a-r.left}px)`:`translateX(${o.innerWidth+a-r.left}px)`:"right"===t?i?`translateX(-${r.right-i.left-a}px)`:`translateX(-${r.left+r.width-a}px)`:"up"===t?i?`translateY(${i.bottom+u-r.top}px)`:`translateY(${o.innerHeight+u-r.top}px)`:i?`translateY(-${r.top-i.top+r.height-u}px)`:`translateY(-${r.top+r.height-u}px)`}(t,n,"function"==typeof(r=e)?r():r);i&&(n.style.webkitTransform=i,n.style.transform=i)}const g=o.forwardRef((function(t,n){const e=(0,f.default)(),s={enter:e.transitions.easing.easeOut,exit:e.transitions.easing.sharp},a={enter:e.transitions.duration.enteringScreen,exit:e.transitions.duration.leavingScreen},{addEndListener:u,appear:g=!0,children:b,container:w,direction:y="down",easing:x=s,in:k,onEnter:S,onEntered:A,onEntering:C,onExit:E,onExited:M,onExiting:$,style:z,timeout:T=a,TransitionComponent:O=c.Ay}=t,j=(0,r.A)(t,m),R=o.useRef(null),L=(0,h.A)(b.ref,R,n),D=t=>n=>{t&&(void 0===n?t(R.current):t(R.current,n))},P=D(((t,n)=>{v(y,t,w),(0,d.q)(t),S&&S(t,n)})),I=D(((t,n)=>{const r=(0,d.c)({timeout:T,style:z,easing:x},{mode:"enter"});t.style.webkitTransition=e.transitions.create("-webkit-transform",(0,i.A)({},r)),t.style.transition=e.transitions.create("transform",(0,i.A)({},r)),t.style.webkitTransform="none",t.style.transform="none",C&&C(t,n)})),q=D(A),N=D($),F=D((t=>{const n=(0,d.c)({timeout:T,style:z,easing:x},{mode:"exit"});t.style.webkitTransition=e.transitions.create("-webkit-transform",n),t.style.transition=e.transitions.create("transform",n),v(y,t,w),E&&E(t)})),B=D((t=>{t.style.webkitTransition="",t.style.transition="",M&&M(t)})),U=o.useCallback((()=>{R.current&&v(y,R.current,w)}),[y,w]);return o.useEffect((()=>{if(k||"down"===y||"right"===y)return;const t=(0,l.A)((()=>{R.current&&v(y,R.current,w)})),n=(0,p.A)(R.current);return n.addEventListener("resize",t),()=>{t.clear(),n.removeEventListener("resize",t)}}),[y,k,w]),o.useEffect((()=>{k||U()}),[k,U]),(0,_.jsx)(O,(0,i.A)({nodeRef:R,onEnter:P,onEntered:q,onEntering:I,onExit:F,onExited:B,onExiting:N,addEndListener:t=>{u&&u(R.current,t)},appear:g,in:k,timeout:T},j,{children:(t,n)=>o.cloneElement(b,(0,i.A)({ref:L,style:(0,i.A)({visibility:"exited"!==t||k?void 0:"hidden"},z,b.props.style)},n))}))}));var b=e(83651),w=e(15622),y=e(31049),x=e(51148),k=e(55549),S=e(9577);function A(t){return(0,S.Ay)("MuiDrawer",t)}const C=(0,k.A)("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]),E=["BackdropProps"],M=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],$=(t,n)=>{const{ownerState:e}=t;return[n.root,("permanent"===e.variant||"persistent"===e.variant)&&n.docked,n.modal]},z=(0,x.Ay)(u.A,{name:"MuiDrawer",slot:"Root",overridesResolver:$})((({theme:t})=>({zIndex:(t.vars||t).zIndex.drawer}))),T=(0,x.Ay)("div",{shouldForwardProp:x.ep,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:$})({flex:"0 0 auto"}),O=(0,x.Ay)(b.A,{name:"MuiDrawer",slot:"Paper",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.paper,n[`paperAnchor${(0,w.A)(e.anchor)}`],"temporary"!==e.variant&&n[`paperAnchorDocked${(0,w.A)(e.anchor)}`]]}})((({theme:t,ownerState:n})=>(0,i.A)({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 ${(t.vars||t).palette.divider}`},"top"===n.anchor&&"temporary"!==n.variant&&{borderBottom:`1px solid ${(t.vars||t).palette.divider}`},"right"===n.anchor&&"temporary"!==n.variant&&{borderLeft:`1px solid ${(t.vars||t).palette.divider}`},"bottom"===n.anchor&&"temporary"!==n.variant&&{borderTop:`1px solid ${(t.vars||t).palette.divider}`}))),j={left:"right",right:"left",top:"down",bottom:"up"},R=o.forwardRef((function(t,n){const e=(0,y.A)({props:t,name:"MuiDrawer"}),u=(0,f.default)(),c={enter:u.transitions.duration.enteringScreen,exit:u.transitions.duration.leavingScreen},{anchor:l="left",BackdropProps:h,children:d,className:p,elevation:m=16,hideBackdrop:v=!1,ModalProps:{BackdropProps:b}={},onClose:x,open:k=!1,PaperProps:S={},SlideProps:C,TransitionComponent:$=g,transitionDuration:R=c,variant:L="temporary"}=e,D=(0,r.A)(e.ModalProps,E),P=(0,r.A)(e,M),I=o.useRef(!1);o.useEffect((()=>{I.current=!0}),[]);const q=function(t,n){return"rtl"===t.direction&&function(t){return-1!==["left","right"].indexOf(t)}(n)?j[n]:n}(u,l),N=l,F=(0,i.A)({},e,{anchor:N,elevation:m,open:k,variant:L},P),B=(t=>{const{classes:n,anchor:e,variant:r}=t,i={root:["root"],docked:[("permanent"===r||"persistent"===r)&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${(0,w.A)(e)}`,"temporary"!==r&&`paperAnchorDocked${(0,w.A)(e)}`]};return(0,a.A)(i,A,n)})(F),U=(0,_.jsx)(O,(0,i.A)({elevation:"temporary"===L?m:0,square:!0},S,{className:(0,s.A)(B.paper,S.className),ownerState:F,children:d}));if("permanent"===L)return(0,_.jsx)(T,(0,i.A)({className:(0,s.A)(B.root,B.docked,p),ownerState:F,ref:n},P,{children:U}));const H=(0,_.jsx)($,(0,i.A)({in:k,direction:j[q],timeout:R,appear:I.current},C,{children:U}));return"persistent"===L?(0,_.jsx)(T,(0,i.A)({className:(0,s.A)(B.root,B.docked,p),ownerState:F,ref:n},P,{children:H})):(0,_.jsx)(z,(0,i.A)({BackdropProps:(0,i.A)({},h,b,{transitionDuration:R}),className:(0,s.A)(B.root,B.modal,p),open:k,ownerState:F,onClose:x,hideBackdrop:v,ref:n},P,D,{children:H}))}))},93321:(t,n,e)=>{"use strict";e.d(n,{A:()=>d});var r=e(6614),i=e(83673),o=e(7552),s=e(16157),a=e(48231),u=e(46302),c=e(51584),l=e(69500);const h=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],f={entering:{opacity:1},entered:{opacity:1}},d=o.forwardRef((function(t,n){const e=(0,a.default)(),d={enter:e.transitions.duration.enteringScreen,exit:e.transitions.duration.leavingScreen},{addEndListener:p,appear:_=!0,children:m,easing:v,in:g,onEnter:b,onEntered:w,onEntering:y,onExit:x,onExited:k,onExiting:S,style:A,timeout:C=d,TransitionComponent:E=s.Ay}=t,M=(0,i.A)(t,h),$=o.useRef(null),z=(0,c.A)($,m.ref,n),T=t=>n=>{if(t){const e=$.current;void 0===n?t(e):t(e,n)}},O=T(y),j=T(((t,n)=>{(0,u.q)(t);const r=(0,u.c)({style:A,timeout:C,easing:v},{mode:"enter"});t.style.webkitTransition=e.transitions.create("opacity",r),t.style.transition=e.transitions.create("opacity",r),b&&b(t,n)})),R=T(w),L=T(S),D=T((t=>{const n=(0,u.c)({style:A,timeout:C,easing:v},{mode:"exit"});t.style.webkitTransition=e.transitions.create("opacity",n),t.style.transition=e.transitions.create("opacity",n),x&&x(t)})),P=T(k);return(0,l.jsx)(E,(0,r.A)({appear:_,in:g,nodeRef:$,onEnter:j,onEntered:R,onEntering:O,onExit:D,onExited:P,onExiting:L,addEndListener:t=>{p&&p($.current,t)},timeout:C},M,{children:(t,n)=>o.cloneElement(m,(0,r.A)({style:(0,r.A)({opacity:0,visibility:"exited"!==t||g?void 0:"hidden"},f[t],A,m.props.style),ref:z},n))}))}))},69423:(t,n,e)=>{"use strict";e.d(n,{A:()=>y});var r=e(83673),i=e(6614),o=e(7552),s=e(9669),a=e(60827),u=e(37043),c=e(51148),l=e(31049),h=e(55549),f=e(9577),d=e(3275);function p(t){return(0,f.Ay)("MuiFilledInput",t)}const _=(0,i.A)({},d.A,(0,h.A)("MuiFilledInput",["root","underline","input"]));var m=e(69500);const v=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],g=(0,c.Ay)(u.Sh,{shouldForwardProp:t=>(0,c.ep)(t)||"classes"===t,name:"MuiFilledInput",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[...(0,u.WC)(t,n),!e.disableUnderline&&n.underline]}})((({theme:t,ownerState:n})=>{var e;const r="light"===t.palette.mode,o=r?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",s=r?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",a=r?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",u=r?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return(0,i.A)({position:"relative",backgroundColor:t.vars?t.vars.palette.FilledInput.bg:s,borderTopLeftRadius:(t.vars||t).shape.borderRadius,borderTopRightRadius:(t.vars||t).shape.borderRadius,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),"&:hover":{backgroundColor:t.vars?t.vars.palette.FilledInput.hoverBg:a,"@media (hover: none)":{backgroundColor:t.vars?t.vars.palette.FilledInput.bg:s}},[`&.${_.focused}`]:{backgroundColor:t.vars?t.vars.palette.FilledInput.bg:s},[`&.${_.disabled}`]:{backgroundColor:t.vars?t.vars.palette.FilledInput.disabledBg:u}},!n.disableUnderline&&{"&::after":{borderBottom:`2px solid ${null==(e=(t.vars||t).palette[n.color||"primary"])?void 0:e.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${_.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${_.error}`]:{"&::before, &::after":{borderBottomColor:(t.vars||t).palette.error.main}},"&::before":{borderBottom:`1px solid ${t.vars?`rgba(${t.vars.palette.common.onBackgroundChannel} / ${t.vars.opacity.inputUnderline})`:o}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:t.transitions.create("border-bottom-color",{duration:t.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${_.disabled}, .${_.error}):before`]:{borderBottom:`1px solid ${(t.vars||t).palette.text.primary}`},[`&.${_.disabled}:before`]:{borderBottomStyle:"dotted"}},n.startAdornment&&{paddingLeft:12},n.endAdornment&&{paddingRight:12},n.multiline&&(0,i.A)({padding:"25px 12px 8px"},"small"===n.size&&{paddingTop:21,paddingBottom:4},n.hiddenLabel&&{paddingTop:16,paddingBottom:17},n.hiddenLabel&&"small"===n.size&&{paddingTop:8,paddingBottom:9}))})),b=(0,c.Ay)(u.f3,{name:"MuiFilledInput",slot:"Input",overridesResolver:u.Oj})((({theme:t,ownerState:n})=>(0,i.A)({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!t.vars&&{"&:-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",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},t.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[t.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===n.size&&{paddingTop:21,paddingBottom:4},n.hiddenLabel&&{paddingTop:16,paddingBottom:17},n.startAdornment&&{paddingLeft:0},n.endAdornment&&{paddingRight:0},n.hiddenLabel&&"small"===n.size&&{paddingTop:8,paddingBottom:9},n.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}))),w=o.forwardRef((function(t,n){var e,o,c,h;const f=(0,l.A)({props:t,name:"MuiFilledInput"}),{components:d={},componentsProps:_,fullWidth:w=!1,inputComponent:y="input",multiline:x=!1,slotProps:k,slots:S={},type:A="text"}=f,C=(0,r.A)(f,v),E=(0,i.A)({},f,{fullWidth:w,inputComponent:y,multiline:x,type:A}),M=(t=>{const{classes:n,disableUnderline:e}=t,r={root:["root",!e&&"underline"],input:["input"]},o=(0,a.A)(r,p,n);return(0,i.A)({},n,o)})(f),$={root:{ownerState:E},input:{ownerState:E}},z=(null!=k?k:_)?(0,s.A)($,null!=k?k:_):$,T=null!=(e=null!=(o=S.root)?o:d.Root)?e:g,O=null!=(c=null!=(h=S.input)?h:d.Input)?c:b;return(0,m.jsx)(u.Ay,(0,i.A)({slots:{root:T,input:O},componentsProps:z,fullWidth:w,inputComponent:y,multiline:x,ref:n,type:A},C,{classes:M}))}));w.muiName="Input";const y=w},48171:(t,n,e)=>{"use strict";e.d(n,{A:()=>g});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(60827),u=e(31049),c=e(51148),l=e(53999),h=e(15622),f=e(81996),d=e(37860),p=e(92319),_=e(69500);const m=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],v=(0,c.Ay)("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:t},n)=>(0,i.A)({},n.root,n[`margin${(0,h.A)(t.margin)}`],t.fullWidth&&n.fullWidth)})((({ownerState:t})=>(0,i.A)({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},"normal"===t.margin&&{marginTop:16,marginBottom:8},"dense"===t.margin&&{marginTop:8,marginBottom:4},t.fullWidth&&{width:"100%"}))),g=o.forwardRef((function(t,n){const e=(0,u.A)({props:t,name:"MuiFormControl"}),{children:c,className:g,color:b="primary",component:w="div",disabled:y=!1,error:x=!1,focused:k,fullWidth:S=!1,hiddenLabel:A=!1,margin:C="none",required:E=!1,size:M="medium",variant:$="outlined"}=e,z=(0,r.A)(e,m),T=(0,i.A)({},e,{color:b,component:w,disabled:y,error:x,fullWidth:S,hiddenLabel:A,margin:C,required:E,size:M,variant:$}),O=(t=>{const{classes:n,margin:e,fullWidth:r}=t,i={root:["root","none"!==e&&`margin${(0,h.A)(e)}`,r&&"fullWidth"]};return(0,a.A)(i,p.c,n)})(T),[j,R]=o.useState((()=>{let t=!1;return c&&o.Children.forEach(c,(n=>{if(!(0,f.A)(n,["Input","Select"]))return;const e=(0,f.A)(n,["Select"])?n.props.input:n;e&&(0,l.gr)(e.props)&&(t=!0)})),t})),[L,D]=o.useState((()=>{let t=!1;return c&&o.Children.forEach(c,(n=>{(0,f.A)(n,["Input","Select"])&&((0,l.lq)(n.props,!0)||(0,l.lq)(n.props.inputProps,!0))&&(t=!0)})),t})),[P,I]=o.useState(!1);y&&P&&I(!1);const q=void 0===k||y?P:k;let N;const F=o.useMemo((()=>({adornedStart:j,setAdornedStart:R,color:b,disabled:y,error:x,filled:L,focused:q,fullWidth:S,hiddenLabel:A,size:M,onBlur:()=>{I(!1)},onEmpty:()=>{D(!1)},onFilled:()=>{D(!0)},onFocus:()=>{I(!0)},registerEffect:N,required:E,variant:$})),[j,b,y,x,L,q,S,A,N,E,M,$]);return(0,_.jsx)(d.A.Provider,{value:F,children:(0,_.jsx)(v,(0,i.A)({as:w,ownerState:T,className:(0,s.A)(O.root,g),ref:n},z,{children:c}))})}))},37860:(t,n,e)=>{"use strict";e.d(n,{A:()=>r});const r=e(7552).createContext(void 0)},92319:(t,n,e)=>{"use strict";e.d(n,{A:()=>s,c:()=>o});var r=e(55549),i=e(9577);function o(t){return(0,i.Ay)("MuiFormControl",t)}const s=(0,r.A)("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"])},32498:(t,n,e)=>{"use strict";function r({props:t,states:n,muiFormControl:e}){return n.reduce(((n,r)=>(n[r]=t[r],e&&void 0===t[r]&&(n[r]=e[r]),n)),{})}e.d(n,{A:()=>r})},25156:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>r.A,formControlClasses:()=>o.A,getFormControlUtilityClasses:()=>o.c,useFormControl:()=>i.A});var r=e(48171),i=e(33960),o=e(92319)},33960:(t,n,e)=>{"use strict";e.d(n,{A:()=>o});var r=e(7552),i=e(37860);function o(){return r.useContext(i.A)}},78864:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>D,formControlLabelClasses:()=>T,getFormControlLabelUtilityClasses:()=>z});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(60827),u=e(33960),c=e(9669),l=e(9577),h=e(3581),f=e(97269),d=e(11835),p=e(57949),_=e(37120),m=e(74580),v=e(69500);const g=["component","direction","spacing","divider","children","className","useFlexGap"],b=(0,p.A)(),w=(0,h.A)("div",{name:"MuiStack",slot:"Root",overridesResolver:(t,n)=>n.root});function y(t){return(0,f.A)({props:t,name:"MuiStack",defaultTheme:b})}function x(t,n){const e=o.Children.toArray(t).filter(Boolean);return e.reduce(((t,r,i)=>(t.push(r),i{let e=(0,i.A)({display:"flex",flexDirection:"column"},(0,_.NI)({theme:n},(0,_.kW)({values:t.direction,breakpoints:n.breakpoints.values}),(t=>({flexDirection:t}))));if(t.spacing){const r=(0,m.LX)(n),i=Object.keys(n.breakpoints.values).reduce(((n,e)=>(("object"==typeof t.spacing&&null!=t.spacing[e]||"object"==typeof t.direction&&null!=t.direction[e])&&(n[e]=!0),n)),{}),o=(0,_.kW)({values:t.direction,base:i}),s=(0,_.kW)({values:t.spacing,base:i});"object"==typeof o&&Object.keys(o).forEach(((t,n,e)=>{if(!o[t]){const r=n>0?o[e[n-1]]:"column";o[t]=r}}));const a=(n,e)=>{return t.useFlexGap?{gap:(0,m._W)(r,n)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${i=e?o[e]:t.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[i]}`]:(0,m._W)(r,n)}};var i};e=(0,c.A)(e,(0,_.NI)({theme:n},s,a))}return e=(0,_.iZ)(n.breakpoints,e),e};var S=e(51148),A=e(31049);const C=function(t={}){const{createStyledComponent:n=w,useThemeProps:e=y,componentName:u="MuiStack"}=t,c=n(k),h=o.forwardRef((function(t,n){const o=e(t),h=(0,d.A)(o),{component:f="div",direction:p="column",spacing:_=0,divider:m,children:b,className:w,useFlexGap:y=!1}=h,k=(0,r.A)(h,g),S={direction:p,spacing:_,useFlexGap:y},A=(0,a.A)({root:["root"]},(t=>(0,l.Ay)(u,t)),{});return(0,v.jsx)(c,(0,i.A)({as:f,ownerState:S,ref:n,className:(0,s.A)(A.root,w)},k,{children:m?x(b,m):b}))}));return h}({createStyledComponent:(0,S.Ay)("div",{name:"MuiStack",slot:"Root",overridesResolver:(t,n)=>n.root}),useThemeProps:t=>(0,A.A)({props:t,name:"MuiStack"})}),E=C;var M=e(36715),$=e(15622);function z(t){return(0,l.Ay)("MuiFormControlLabel",t)}const T=(0,e(55549).A)("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]);var O=e(32498);const j=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],R=(0,S.Ay)("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[{[`& .${T.label}`]:n.label},n.root,n[`labelPlacement${(0,$.A)(e.labelPlacement)}`]]}})((({theme:t,ownerState:n})=>(0,i.A)({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${T.disabled}`]:{cursor:"default"}},"start"===n.labelPlacement&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},"top"===n.labelPlacement&&{flexDirection:"column-reverse",marginLeft:16},"bottom"===n.labelPlacement&&{flexDirection:"column",marginLeft:16},{[`& .${T.label}`]:{[`&.${T.disabled}`]:{color:(t.vars||t).palette.text.disabled}}}))),L=(0,S.Ay)("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(t,n)=>n.asterisk})((({theme:t})=>({[`&.${T.error}`]:{color:(t.vars||t).palette.error.main}}))),D=o.forwardRef((function(t,n){var e,c;const l=(0,A.A)({props:t,name:"MuiFormControlLabel"}),{className:h,componentsProps:f={},control:d,disabled:p,disableTypography:_,label:m,labelPlacement:g="end",required:b,slotProps:w={}}=l,y=(0,r.A)(l,j),x=(0,u.A)(),k=null!=(e=null!=p?p:d.props.disabled)?e:null==x?void 0:x.disabled,S=null!=b?b:d.props.required,C={disabled:k,required:S};["checked","name","onChange","value","inputRef"].forEach((t=>{void 0===d.props[t]&&void 0!==l[t]&&(C[t]=l[t])}));const T=(0,O.A)({props:l,muiFormControl:x,states:["error"]}),D=(0,i.A)({},l,{disabled:k,labelPlacement:g,required:S,error:T.error}),P=(t=>{const{classes:n,disabled:e,labelPlacement:r,error:i,required:o}=t,s={root:["root",e&&"disabled",`labelPlacement${(0,$.A)(r)}`,i&&"error",o&&"required"],label:["label",e&&"disabled"],asterisk:["asterisk",i&&"error"]};return(0,a.A)(s,z,n)})(D),I=null!=(c=w.typography)?c:f.typography;let q=m;return null==q||q.type===M.A||_||(q=(0,v.jsx)(M.A,(0,i.A)({component:"span"},I,{className:(0,s.A)(P.label,null==I?void 0:I.className),children:q}))),(0,v.jsxs)(R,(0,i.A)({className:(0,s.A)(P.root,h),ownerState:D,ref:n},y,{children:[o.cloneElement(d,C),S?(0,v.jsxs)(E,{display:"block",children:[q,(0,v.jsxs)(L,{ownerState:D,"aria-hidden":!0,className:P.asterisk,children:[" ","*"]})]}):q]}))}))},25467:(t,n,e)=>{"use strict";e.d(n,{A:()=>g});var r,i=e(83673),o=e(6614),s=e(7552),a=e(93878),u=e(60827),c=e(32498),l=e(33960),h=e(51148),f=e(15622),d=e(18735),p=e(31049),_=e(69500);const m=["children","className","component","disabled","error","filled","focused","margin","required","variant"],v=(0,h.Ay)("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,e.size&&n[`size${(0,f.A)(e.size)}`],e.contained&&n.contained,e.filled&&n.filled]}})((({theme:t,ownerState:n})=>(0,o.A)({color:(t.vars||t).palette.text.secondary},t.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${d.A.disabled}`]:{color:(t.vars||t).palette.text.disabled},[`&.${d.A.error}`]:{color:(t.vars||t).palette.error.main}},"small"===n.size&&{marginTop:4},n.contained&&{marginLeft:14,marginRight:14}))),g=s.forwardRef((function(t,n){const e=(0,p.A)({props:t,name:"MuiFormHelperText"}),{children:s,className:h,component:g="p"}=e,b=(0,i.A)(e,m),w=(0,l.A)(),y=(0,c.A)({props:e,muiFormControl:w,states:["variant","size","disabled","error","filled","focused","required"]}),x=(0,o.A)({},e,{component:g,contained:"filled"===y.variant||"outlined"===y.variant,variant:y.variant,size:y.size,disabled:y.disabled,error:y.error,filled:y.filled,focused:y.focused,required:y.required}),k=(t=>{const{classes:n,contained:e,size:r,disabled:i,error:o,filled:s,focused:a,required:c}=t,l={root:["root",i&&"disabled",o&&"error",r&&`size${(0,f.A)(r)}`,e&&"contained",a&&"focused",s&&"filled",c&&"required"]};return(0,u.A)(l,d.h,n)})(x);return(0,_.jsx)(v,(0,o.A)({as:g,ownerState:x,className:(0,a.A)(k.root,h),ref:n},b,{children:" "===s?r||(r=(0,_.jsx)("span",{className:"notranslate",children:"​"})):s}))}))},18735:(t,n,e)=>{"use strict";e.d(n,{A:()=>s,h:()=>o});var r=e(55549),i=e(9577);function o(t){return(0,i.Ay)("MuiFormHelperText",t)}const s=(0,r.A)("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"])},70120:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>r.A,formHelperTextClasses:()=>i.A,getFormHelperTextUtilityClasses:()=>i.h});var r=e(25467),i=e(18735)},22679:(t,n,e)=>{"use strict";e.d(n,{A:()=>g,d:()=>m});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(60827),u=e(32498),c=e(33960),l=e(15622),h=e(31049),f=e(51148),d=e(82275),p=e(69500);const _=["children","className","color","component","disabled","error","filled","focused","required"],m=(0,f.Ay)("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:t},n)=>(0,i.A)({},n.root,"secondary"===t.color&&n.colorSecondary,t.filled&&n.filled)})((({theme:t,ownerState:n})=>(0,i.A)({color:(t.vars||t).palette.text.secondary},t.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${d.A.focused}`]:{color:(t.vars||t).palette[n.color].main},[`&.${d.A.disabled}`]:{color:(t.vars||t).palette.text.disabled},[`&.${d.A.error}`]:{color:(t.vars||t).palette.error.main}}))),v=(0,f.Ay)("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(t,n)=>n.asterisk})((({theme:t})=>({[`&.${d.A.error}`]:{color:(t.vars||t).palette.error.main}}))),g=o.forwardRef((function(t,n){const e=(0,h.A)({props:t,name:"MuiFormLabel"}),{children:o,className:f,component:g="label"}=e,b=(0,r.A)(e,_),w=(0,c.A)(),y=(0,u.A)({props:e,muiFormControl:w,states:["color","required","focused","disabled","error","filled"]}),x=(0,i.A)({},e,{color:y.color||"primary",component:g,disabled:y.disabled,error:y.error,filled:y.filled,focused:y.focused,required:y.required}),k=(t=>{const{classes:n,color:e,focused:r,disabled:i,error:o,filled:s,required:u}=t,c={root:["root",`color${(0,l.A)(e)}`,i&&"disabled",o&&"error",s&&"filled",r&&"focused",u&&"required"],asterisk:["asterisk",o&&"error"]};return(0,a.A)(c,d.Z,n)})(x);return(0,p.jsxs)(m,(0,i.A)({as:g,ownerState:x,className:(0,s.A)(k.root,f),ref:n},b,{children:[o,y.required&&(0,p.jsxs)(v,{ownerState:x,"aria-hidden":!0,className:k.asterisk,children:[" ","*"]})]}))}))},82275:(t,n,e)=>{"use strict";e.d(n,{A:()=>s,Z:()=>o});var r=e(55549),i=e(9577);function o(t){return(0,i.Ay)("MuiFormLabel",t)}const s=(0,r.A)("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"])},86423:(t,n,e)=>{"use strict";e.r(n),e.d(n,{FormLabelRoot:()=>r.d,default:()=>r.A,formLabelClasses:()=>i.A,getFormLabelUtilityClasses:()=>i.Z});var r=e(22679),i=e(82275)},49266:(t,n,e)=>{"use strict";e.d(n,{A:()=>h});var r=e(6614),i=(e(7552),e(64761)),o=e(69500);function s(t){const{styles:n,defaultTheme:e={}}=t,r="function"==typeof n?t=>{return n(null==(r=t)||0===Object.keys(r).length?e:t);var r}:n;return(0,o.jsx)(i.mL,{styles:r})}var a=e(37462);const u=function({styles:t,themeId:n,defaultTheme:e={}}){const r=(0,a.A)(e),i="function"==typeof t?t(n&&r[n]||r):t;return(0,o.jsx)(s,{styles:i})};var c=e(23121),l=e(74988);const h=function(t){return(0,o.jsx)(u,(0,r.A)({},t,{defaultTheme:c.A,themeId:l.A}))}},4407:(t,n,e)=>{"use strict";e.d(n,{A:()=>v});var r=e(6614),i=e(83673),o=e(7552),s=e(31755),a=e(16157),u=e(48231),c=e(46302),l=e(51584),h=e(69500);const f=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function d(t){return`scale(${t}, ${t**2})`}const p={entering:{opacity:1,transform:d(1)},entered:{opacity:1,transform:"none"}},_="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),m=o.forwardRef((function(t,n){const{addEndListener:e,appear:m=!0,children:v,easing:g,in:b,onEnter:w,onEntered:y,onEntering:x,onExit:k,onExited:S,onExiting:A,style:C,timeout:E="auto",TransitionComponent:M=a.Ay}=t,$=(0,i.A)(t,f),z=(0,s.A)(),T=o.useRef(),O=(0,u.default)(),j=o.useRef(null),R=(0,l.A)(j,v.ref,n),L=t=>n=>{if(t){const e=j.current;void 0===n?t(e):t(e,n)}},D=L(x),P=L(((t,n)=>{(0,c.q)(t);const{duration:e,delay:r,easing:i}=(0,c.c)({style:C,timeout:E,easing:g},{mode:"enter"});let o;"auto"===E?(o=O.transitions.getAutoHeightDuration(t.clientHeight),T.current=o):o=e,t.style.transition=[O.transitions.create("opacity",{duration:o,delay:r}),O.transitions.create("transform",{duration:_?o:.666*o,delay:r,easing:i})].join(","),w&&w(t,n)})),I=L(y),q=L(A),N=L((t=>{const{duration:n,delay:e,easing:r}=(0,c.c)({style:C,timeout:E,easing:g},{mode:"exit"});let i;"auto"===E?(i=O.transitions.getAutoHeightDuration(t.clientHeight),T.current=i):i=n,t.style.transition=[O.transitions.create("opacity",{duration:i,delay:e}),O.transitions.create("transform",{duration:_?i:.666*i,delay:_?e:e||.333*i,easing:r})].join(","),t.style.opacity=0,t.style.transform=d(.75),k&&k(t)})),F=L(S);return(0,h.jsx)(M,(0,r.A)({appear:m,in:b,nodeRef:j,onEnter:P,onEntered:I,onEntering:D,onExit:N,onExited:F,onExiting:q,addEndListener:t=>{"auto"===E&&z.start(T.current||0,t),e&&e(j.current,t)},timeout:"auto"===E?null:E},$,{children:(t,n)=>o.cloneElement(v,(0,r.A)({style:(0,r.A)({opacity:0,transform:d(.75),visibility:"exited"!==t||b?void 0:"hidden"},p[t],C,v.props.style),ref:R},n))}))}));m.muiSupportAuto=!0;const v=m},61723:(t,n,e)=>{"use strict";e.d(n,{A:()=>v});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(60827),u=e(18283),c=e(51148),l=e(31049),h=e(9108),f=e(15622),d=e(72559),p=e(69500);const _=["edge","children","className","color","disabled","disableFocusRipple","size"],m=(0,c.Ay)(h.A,{name:"MuiIconButton",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,"default"!==e.color&&n[`color${(0,f.A)(e.color)}`],e.edge&&n[`edge${(0,f.A)(e.edge)}`],n[`size${(0,f.A)(e.size)}`]]}})((({theme:t,ownerState:n})=>(0,i.A)({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(${t.vars.palette.action.activeChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,u.X4)(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})),(({theme:t,ownerState:n})=>{var e;const r=null==(e=(t.vars||t).palette)?void 0:e[n.color];return(0,i.A)({},"inherit"===n.color&&{color:"inherit"},"inherit"!==n.color&&"default"!==n.color&&(0,i.A)({color:null==r?void 0:r.main},!n.disableRipple&&{"&:hover":(0,i.A)({},r&&{backgroundColor:t.vars?`rgba(${r.mainChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,u.X4)(r.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)},{[`&.${d.A.disabled}`]:{backgroundColor:"transparent",color:(t.vars||t).palette.action.disabled}})})),v=o.forwardRef((function(t,n){const e=(0,l.A)({props:t,name:"MuiIconButton"}),{edge:o=!1,children:u,className:c,color:h="default",disabled:v=!1,disableFocusRipple:g=!1,size:b="medium"}=e,w=(0,r.A)(e,_),y=(0,i.A)({},e,{edge:o,color:h,disabled:v,disableFocusRipple:g,size:b}),x=(t=>{const{classes:n,disabled:e,color:r,edge:i,size:o}=t,s={root:["root",e&&"disabled","default"!==r&&`color${(0,f.A)(r)}`,i&&`edge${(0,f.A)(i)}`,`size${(0,f.A)(o)}`]};return(0,a.A)(s,d.G,n)})(y);return(0,p.jsx)(m,(0,i.A)({className:(0,s.A)(x.root,c),centerRipple:!0,focusRipple:!g,disabled:v,ref:n,ownerState:y},w,{children:u}))}))},72559:(t,n,e)=>{"use strict";e.d(n,{A:()=>s,G:()=>o});var r=e(55549),i=e(9577);function o(t){return(0,i.Ay)("MuiIconButton",t)}const s=(0,r.A)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"])},83368:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>r.A,getIconButtonUtilityClass:()=>i.G,iconButtonClasses:()=>i.A});var r=e(61723),i=e(72559)},60947:(t,n,e)=>{"use strict";e.d(n,{A:()=>v});var r=e(83673),i=e(6614),o=e(7552),s=e(60827),a=e(9669),u=e(37043),c=e(51148),l=e(31049),h=e(7495),f=e(69500);const d=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],p=(0,c.Ay)(u.Sh,{shouldForwardProp:t=>(0,c.ep)(t)||"classes"===t,name:"MuiInput",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[...(0,u.WC)(t,n),!e.disableUnderline&&n.underline]}})((({theme:t,ownerState:n})=>{let e="light"===t.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return t.vars&&(e=`rgba(${t.vars.palette.common.onBackgroundChannel} / ${t.vars.opacity.inputUnderline})`),(0,i.A)({position:"relative"},n.formControl&&{"label + &":{marginTop:16}},!n.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(t.vars||t).palette[n.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${h.A.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${h.A.error}`]:{"&::before, &::after":{borderBottomColor:(t.vars||t).palette.error.main}},"&::before":{borderBottom:`1px solid ${e}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:t.transitions.create("border-bottom-color",{duration:t.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${h.A.disabled}, .${h.A.error}):before`]:{borderBottom:`2px solid ${(t.vars||t).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${e}`}},[`&.${h.A.disabled}:before`]:{borderBottomStyle:"dotted"}})})),_=(0,c.Ay)(u.f3,{name:"MuiInput",slot:"Input",overridesResolver:u.Oj})({}),m=o.forwardRef((function(t,n){var e,o,c,m;const v=(0,l.A)({props:t,name:"MuiInput"}),{disableUnderline:g,components:b={},componentsProps:w,fullWidth:y=!1,inputComponent:x="input",multiline:k=!1,slotProps:S,slots:A={},type:C="text"}=v,E=(0,r.A)(v,d),M=(t=>{const{classes:n,disableUnderline:e}=t,r={root:["root",!e&&"underline"],input:["input"]},o=(0,s.A)(r,h.B,n);return(0,i.A)({},n,o)})(v),$={root:{ownerState:{disableUnderline:g}}},z=(null!=S?S:w)?(0,a.A)(null!=S?S:w,$):$,T=null!=(e=null!=(o=A.root)?o:b.Root)?e:p,O=null!=(c=null!=(m=A.input)?m:b.Input)?c:_;return(0,f.jsx)(u.Ay,(0,i.A)({slots:{root:T,input:O},slotProps:z,fullWidth:y,inputComponent:x,multiline:k,ref:n,type:C},E,{classes:M}))}));m.muiName="Input";const v=m},44395:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>r.A,getInputUtilityClass:()=>i.B,inputClasses:()=>i.A});var r=e(60947),i=e(7495)},7495:(t,n,e)=>{"use strict";e.d(n,{A:()=>u,B:()=>a});var r=e(6614),i=e(55549),o=e(9577),s=e(3275);function a(t){return(0,o.Ay)("MuiInput",t)}const u=(0,r.A)({},s.A,(0,i.A)("MuiInput",["root","underline","input"]))},61433:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>x,getInputAdornmentUtilityClass:()=>_,inputAdornmentClasses:()=>m});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(60827),u=e(15622),c=e(36715),l=e(37860),h=e(33960),f=e(51148),d=e(55549),p=e(9577);function _(t){return(0,p.Ay)("MuiInputAdornment",t)}const m=(0,d.A)("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var v,g=e(31049),b=e(69500);const w=["children","className","component","disablePointerEvents","disableTypography","position","variant"],y=(0,f.Ay)("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,n[`position${(0,u.A)(e.position)}`],!0===e.disablePointerEvents&&n.disablePointerEvents,n[e.variant]]}})((({theme:t,ownerState:n})=>(0,i.A)({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(t.vars||t).palette.action.active},"filled"===n.variant&&{[`&.${m.positionStart}&:not(.${m.hiddenLabel})`]:{marginTop:16}},"start"===n.position&&{marginRight:8},"end"===n.position&&{marginLeft:8},!0===n.disablePointerEvents&&{pointerEvents:"none"}))),x=o.forwardRef((function(t,n){const e=(0,g.A)({props:t,name:"MuiInputAdornment"}),{children:f,className:d,component:p="div",disablePointerEvents:m=!1,disableTypography:x=!1,position:k,variant:S}=e,A=(0,r.A)(e,w),C=(0,h.A)()||{};let E=S;S&&C.variant,C&&!E&&(E=C.variant);const M=(0,i.A)({},e,{hiddenLabel:C.hiddenLabel,size:C.size,disablePointerEvents:m,position:k,variant:E}),$=(t=>{const{classes:n,disablePointerEvents:e,hiddenLabel:r,position:i,size:o,variant:s}=t,c={root:["root",e&&"disablePointerEvents",i&&`position${(0,u.A)(i)}`,s,r&&"hiddenLabel",o&&`size${(0,u.A)(o)}`]};return(0,a.A)(c,_,n)})(M);return(0,b.jsx)(l.A.Provider,{value:null,children:(0,b.jsx)(y,(0,i.A)({as:p,ownerState:M,className:(0,s.A)($.root,d),ref:n},A,{children:"string"!=typeof f||x?(0,b.jsxs)(o.Fragment,{children:["start"===k?v||(v=(0,b.jsx)("span",{className:"notranslate",children:"​"})):null,f]}):(0,b.jsx)(c.A,{color:"text.secondary",children:f})}))})}))},37043:(t,n,e)=>{"use strict";e.d(n,{f3:()=>D,Sh:()=>L,Ay:()=>I,Oj:()=>R,WC:()=>j});var r=e(83673),i=e(6614),o=e(60829),s=e(7552),a=e(93878),u=e(60827),c=e(28485),l=e(24979),h=e(1629),f=e(94921),d=e(58977),p=e(69500);const _=["onChange","maxRows","minRows","style","value"];function m(t){return parseInt(t,10)||0}const v={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function g(t){return null==t||0===Object.keys(t).length||0===t.outerHeightStyle&&!t.overflow}const b=s.forwardRef((function(t,n){const{onChange:e,maxRows:o,minRows:a=1,style:u,value:b}=t,w=(0,r.A)(t,_),{current:y}=s.useRef(null!=b),x=s.useRef(null),k=(0,l.A)(n,x),S=s.useRef(null),A=s.useRef(0),[C,E]=s.useState({outerHeightStyle:0}),M=s.useCallback((()=>{const n=x.current,e=(0,h.A)(n).getComputedStyle(n);if("0px"===e.width)return{outerHeightStyle:0};const r=S.current;r.style.width=e.width,r.value=n.value||t.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");const i=e.boxSizing,s=m(e.paddingBottom)+m(e.paddingTop),u=m(e.borderBottomWidth)+m(e.borderTopWidth),c=r.scrollHeight;r.value="x";const l=r.scrollHeight;let f=c;return a&&(f=Math.max(Number(a)*l,f)),o&&(f=Math.min(Number(o)*l,f)),f=Math.max(f,l),{outerHeightStyle:f+("border-box"===i?s+u:0),overflow:Math.abs(f-c)<=1}}),[o,a,t.placeholder]),$=(t,n)=>{const{outerHeightStyle:e,overflow:r}=n;return A.current<20&&(e>0&&Math.abs((t.outerHeightStyle||0)-e)>1||t.overflow!==r)?(A.current+=1,{overflow:r,outerHeightStyle:e}):t},z=s.useCallback((()=>{const t=M();g(t)||E((n=>$(n,t)))}),[M]);return(0,f.A)((()=>{const t=()=>{A.current=0,(()=>{const t=M();g(t)||c.flushSync((()=>{E((n=>$(n,t)))}))})()};const n=(0,d.A)(t),e=x.current,r=(0,h.A)(e);let i;return r.addEventListener("resize",n),"undefined"!=typeof ResizeObserver&&(i=new ResizeObserver(t),i.observe(e)),()=>{n.clear(),cancelAnimationFrame(undefined),r.removeEventListener("resize",n),i&&i.disconnect()}}),[M]),(0,f.A)((()=>{z()})),s.useEffect((()=>{A.current=0}),[b]),(0,p.jsxs)(s.Fragment,{children:[(0,p.jsx)("textarea",(0,i.A)({value:b,onChange:t=>{A.current=0,y||z(),e&&e(t)},ref:k,rows:a,style:(0,i.A)({height:C.outerHeightStyle,overflow:C.overflow?"hidden":void 0},u)},w)),(0,p.jsx)("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:S,tabIndex:-1,style:(0,i.A)({},v,u,{paddingTop:0,paddingBottom:0})})]})}));var w=e(73252),y=e(32498),x=e(37860),k=e(33960),S=e(51148),A=e(31049),C=e(15622),E=e(51584),M=e(82910),$=e(49266),z=e(53999),T=e(3275);const O=["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","slotProps","slots","startAdornment","type","value"],j=(t,n)=>{const{ownerState:e}=t;return[n.root,e.formControl&&n.formControl,e.startAdornment&&n.adornedStart,e.endAdornment&&n.adornedEnd,e.error&&n.error,"small"===e.size&&n.sizeSmall,e.multiline&&n.multiline,e.color&&n[`color${(0,C.A)(e.color)}`],e.fullWidth&&n.fullWidth,e.hiddenLabel&&n.hiddenLabel]},R=(t,n)=>{const{ownerState:e}=t;return[n.input,"small"===e.size&&n.inputSizeSmall,e.multiline&&n.inputMultiline,"search"===e.type&&n.inputTypeSearch,e.startAdornment&&n.inputAdornedStart,e.endAdornment&&n.inputAdornedEnd,e.hiddenLabel&&n.inputHiddenLabel]},L=(0,S.Ay)("div",{name:"MuiInputBase",slot:"Root",overridesResolver:j})((({theme:t,ownerState:n})=>(0,i.A)({},t.typography.body1,{color:(t.vars||t).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${T.A.disabled}`]:{color:(t.vars||t).palette.text.disabled,cursor:"default"}},n.multiline&&(0,i.A)({padding:"4px 0 5px"},"small"===n.size&&{paddingTop:1}),n.fullWidth&&{width:"100%"}))),D=(0,S.Ay)("input",{name:"MuiInputBase",slot:"Input",overridesResolver:R})((({theme:t,ownerState:n})=>{const e="light"===t.palette.mode,r=(0,i.A)({color:"currentColor"},t.vars?{opacity:t.vars.opacity.inputPlaceholder}:{opacity:e?.42:.5},{transition:t.transitions.create("opacity",{duration:t.transitions.duration.shorter})}),o={opacity:"0 !important"},s=t.vars?{opacity:t.vars.opacity.inputPlaceholder}:{opacity:e?.42:.5};return(0,i.A)({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":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${T.A.formControl} &`]:{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":s,"&:focus::-moz-placeholder":s,"&:focus:-ms-input-placeholder":s,"&:focus::-ms-input-placeholder":s},[`&.${T.A.disabled}`]:{opacity:1,WebkitTextFillColor:(t.vars||t).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},"small"===n.size&&{paddingTop:1},n.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===n.type&&{MozAppearance:"textfield"})})),P=(0,p.jsx)($.A,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),I=s.forwardRef((function(t,n){var e;const c=(0,A.A)({props:t,name:"MuiInputBase"}),{"aria-describedby":l,autoComplete:h,autoFocus:f,className:d,components:_={},componentsProps:m={},defaultValue:v,disabled:g,disableInjectingGlobalStyles:S,endAdornment:$,fullWidth:j=!1,id:R,inputComponent:I="input",inputProps:q={},inputRef:N,maxRows:F,minRows:B,multiline:U=!1,name:H,onBlur:V,onChange:W,onClick:G,onFocus:Y,onKeyDown:X,onKeyUp:K,placeholder:Z,readOnly:J,renderSuffix:Q,rows:tt,slotProps:nt={},slots:et={},startAdornment:rt,type:it="text",value:ot}=c,st=(0,r.A)(c,O),at=null!=q.value?q.value:ot,{current:ut}=s.useRef(null!=at),ct=s.useRef(),lt=s.useCallback((t=>{}),[]),ht=(0,E.A)(ct,N,q.ref,lt),[ft,dt]=s.useState(!1),pt=(0,k.A)(),_t=(0,y.A)({props:c,muiFormControl:pt,states:["color","disabled","error","hiddenLabel","size","required","filled"]});_t.focused=pt?pt.focused:ft,s.useEffect((()=>{!pt&&g&&ft&&(dt(!1),V&&V())}),[pt,g,ft,V]);const mt=pt&&pt.onFilled,vt=pt&&pt.onEmpty,gt=s.useCallback((t=>{(0,z.lq)(t)?mt&&mt():vt&&vt()}),[mt,vt]);(0,M.A)((()=>{ut&>({value:at})}),[at,gt,ut]),s.useEffect((()=>{gt(ct.current)}),[]);let bt=I,wt=q;U&&"input"===bt&&(wt=tt?(0,i.A)({type:void 0,minRows:tt,maxRows:tt},wt):(0,i.A)({type:void 0,maxRows:F,minRows:B},wt),bt=b),s.useEffect((()=>{pt&&pt.setAdornedStart(Boolean(rt))}),[pt,rt]);const yt=(0,i.A)({},c,{color:_t.color||"primary",disabled:_t.disabled,endAdornment:$,error:_t.error,focused:_t.focused,formControl:pt,fullWidth:j,hiddenLabel:_t.hiddenLabel,multiline:U,size:_t.size,startAdornment:rt,type:it}),xt=(t=>{const{classes:n,color:e,disabled:r,error:i,endAdornment:o,focused:s,formControl:a,fullWidth:c,hiddenLabel:l,multiline:h,readOnly:f,size:d,startAdornment:p,type:_}=t,m={root:["root",`color${(0,C.A)(e)}`,r&&"disabled",i&&"error",c&&"fullWidth",s&&"focused",a&&"formControl",d&&"medium"!==d&&`size${(0,C.A)(d)}`,h&&"multiline",p&&"adornedStart",o&&"adornedEnd",l&&"hiddenLabel",f&&"readOnly"],input:["input",r&&"disabled","search"===_&&"inputTypeSearch",h&&"inputMultiline","small"===d&&"inputSizeSmall",l&&"inputHiddenLabel",p&&"inputAdornedStart",o&&"inputAdornedEnd",f&&"readOnly"]};return(0,u.A)(m,T.g,n)})(yt),kt=et.root||_.Root||L,St=nt.root||m.root||{},At=et.input||_.Input||D;return wt=(0,i.A)({},wt,null!=(e=nt.input)?e:m.input),(0,p.jsxs)(s.Fragment,{children:[!S&&P,(0,p.jsxs)(kt,(0,i.A)({},St,!(0,w.g)(kt)&&{ownerState:(0,i.A)({},yt,St.ownerState)},{ref:n,onClick:t=>{ct.current&&t.currentTarget===t.target&&ct.current.focus(),G&&G(t)}},st,{className:(0,a.A)(xt.root,St.className,d,J&&"MuiInputBase-readOnly"),children:[rt,(0,p.jsx)(x.A.Provider,{value:null,children:(0,p.jsx)(At,(0,i.A)({ownerState:yt,"aria-invalid":_t.error,"aria-describedby":l,autoComplete:h,autoFocus:f,defaultValue:v,disabled:_t.disabled,id:R,onAnimationStart:t=>{gt("mui-auto-fill-cancel"===t.animationName?ct.current:{value:"x"})},name:H,placeholder:Z,readOnly:J,required:_t.required,rows:tt,value:at,onKeyDown:X,onKeyUp:K,type:it},wt,!(0,w.g)(At)&&{as:bt,ownerState:(0,i.A)({},yt,wt.ownerState)},{ref:ht,className:(0,a.A)(xt.input,wt.className,J&&"MuiInputBase-readOnly"),onBlur:t=>{V&&V(t),q.onBlur&&q.onBlur(t),pt&&pt.onBlur?pt.onBlur(t):dt(!1)},onChange:(t,...n)=>{if(!ut){const n=t.target||ct.current;if(null==n)throw new Error((0,o.A)(1));gt({value:n.value})}q.onChange&&q.onChange(t,...n),W&&W(t,...n)},onFocus:t=>{_t.disabled?t.stopPropagation():(Y&&Y(t),q.onFocus&&q.onFocus(t),pt&&pt.onFocus?pt.onFocus(t):dt(!0))}}))}),$,Q?Q((0,i.A)({},_t,{startAdornment:rt})):null]}))]})}))},3275:(t,n,e)=>{"use strict";e.d(n,{A:()=>s,g:()=>o});var r=e(55549),i=e(9577);function o(t){return(0,i.Ay)("MuiInputBase",t)}const s=(0,r.A)("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"])},53999:(t,n,e)=>{"use strict";function r(t){return null!=t&&!(Array.isArray(t)&&0===t.length)}function i(t,n=!1){return t&&(r(t.value)&&""!==t.value||n&&r(t.defaultValue)&&""!==t.defaultValue)}function o(t){return t.startAdornment}e.d(n,{gr:()=>o,lq:()=>i})},17125:(t,n,e)=>{"use strict";e.d(n,{A:()=>b});var r=e(83673),i=e(6614),o=e(7552),s=e(60827),a=e(93878),u=e(32498),c=e(33960),l=e(22679),h=e(82275),f=e(31049),d=e(15622),p=e(51148),_=e(15485),m=e(69500);const v=["disableAnimation","margin","shrink","variant","className"],g=(0,p.Ay)(l.A,{shouldForwardProp:t=>(0,p.ep)(t)||"classes"===t,name:"MuiInputLabel",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[{[`& .${h.A.asterisk}`]:n.asterisk},n.root,e.formControl&&n.formControl,"small"===e.size&&n.sizeSmall,e.shrink&&n.shrink,!e.disableAnimation&&n.animated,e.focused&&n.focused,n[e.variant]]}})((({theme:t,ownerState:n})=>(0,i.A)({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.A)({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.A)({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.A)({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% - 32px)",transform:"translate(14px, -9px) scale(0.75)"})))),b=o.forwardRef((function(t,n){const e=(0,f.A)({name:"MuiInputLabel",props:t}),{disableAnimation:o=!1,shrink:l,className:h}=e,p=(0,r.A)(e,v),b=(0,c.A)();let w=l;void 0===w&&b&&(w=b.filled||b.focused||b.adornedStart);const y=(0,u.A)({props:e,muiFormControl:b,states:["size","variant","required","focused"]}),x=(0,i.A)({},e,{disableAnimation:o,formControl:b,shrink:w,size:y.size,variant:y.variant,required:y.required,focused:y.focused}),k=(t=>{const{classes:n,formControl:e,size:r,shrink:o,disableAnimation:a,variant:u,required:c}=t,l={root:["root",e&&"formControl",!a&&"animated",o&&"shrink",r&&"normal"!==r&&`size${(0,d.A)(r)}`,u],asterisk:[c&&"asterisk"]},h=(0,s.A)(l,_.R,n);return(0,i.A)({},n,h)})(x);return(0,m.jsx)(g,(0,i.A)({"data-shrink":w,ownerState:x,ref:n,className:(0,a.A)(k.root,h)},p,{classes:k}))}))},66323:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>r.A,getInputLabelUtilityClasses:()=>i.R,inputLabelClasses:()=>i.A});var r=e(17125),i=e(15485)},15485:(t,n,e)=>{"use strict";e.d(n,{A:()=>s,R:()=>o});var r=e(55549),i=e(9577);function o(t){return(0,i.Ay)("MuiInputLabel",t)}const s=(0,r.A)("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"])},93052:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>A,getLinkUtilityClass:()=>m,linkClasses:()=>v});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(60827),u=e(15622),c=e(51148),l=e(31049),h=e(9527),f=e(51584),d=e(36715),p=e(55549),_=e(9577);function m(t){return(0,_.Ay)("MuiLink",t)}const v=(0,p.A)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]);var g=e(20605),b=e(18283);const w={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},y=({theme:t,ownerState:n})=>{const e=(t=>w[t]||t)(n.color),r=(0,g.Yn)(t,`palette.${e}`,!1)||n.color,i=(0,g.Yn)(t,`palette.${e}Channel`);return"vars"in t&&i?`rgba(${i} / 0.4)`:(0,b.X4)(r,.4)};var x=e(69500);const k=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],S=(0,c.Ay)(d.A,{name:"MuiLink",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,n[`underline${(0,u.A)(e.underline)}`],"button"===e.component&&n.button]}})((({theme:t,ownerState:n})=>(0,i.A)({},"none"===n.underline&&{textDecoration:"none"},"hover"===n.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===n.underline&&(0,i.A)({textDecoration:"underline"},"inherit"!==n.color&&{textDecorationColor:y({theme:t,ownerState:n})},{"&:hover":{textDecorationColor:"inherit"}}),"button"===n.component&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${v.focusVisible}`]:{outline:"auto"}}))),A=o.forwardRef((function(t,n){const e=(0,l.A)({props:t,name:"MuiLink"}),{className:c,color:d="primary",component:p="a",onBlur:_,onFocus:v,TypographyClasses:g,underline:b="always",variant:y="inherit",sx:A}=e,C=(0,r.A)(e,k),{isFocusVisibleRef:E,onBlur:M,onFocus:$,ref:z}=(0,h.A)(),[T,O]=o.useState(!1),j=(0,f.A)(n,z),R=(0,i.A)({},e,{color:d,component:p,focusVisible:T,underline:b,variant:y}),L=(t=>{const{classes:n,component:e,focusVisible:r,underline:i}=t,o={root:["root",`underline${(0,u.A)(i)}`,"button"===e&&"button",r&&"focusVisible"]};return(0,a.A)(o,m,n)})(R);return(0,x.jsx)(S,(0,i.A)({color:d,className:(0,s.A)(L.root,c),classes:g,component:p,onBlur:t=>{M(t),!1===E.current&&O(!1),_&&_(t)},onFocus:t=>{$(t),!0===E.current&&O(!0),v&&v(t)},ref:j,ownerState:R,variant:y,sx:[...Object.keys(w).includes(d)?[]:[{color:d}],...Array.isArray(A)?A:[A]]},C))}))},58181:(t,n,e)=>{"use strict";e.d(n,{A:()=>_});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(60827),u=e(51148),c=e(31049),l=e(57406),h=e(5085),f=e(69500);const d=["children","className","component","dense","disablePadding","subheader"],p=(0,u.Ay)("ul",{name:"MuiList",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,!e.disablePadding&&n.padding,e.dense&&n.dense,e.subheader&&n.subheader]}})((({ownerState:t})=>(0,i.A)({listStyle:"none",margin:0,padding:0,position:"relative"},!t.disablePadding&&{paddingTop:8,paddingBottom:8},t.subheader&&{paddingTop:0}))),_=o.forwardRef((function(t,n){const e=(0,c.A)({props:t,name:"MuiList"}),{children:u,className:_,component:m="ul",dense:v=!1,disablePadding:g=!1,subheader:b}=e,w=(0,r.A)(e,d),y=o.useMemo((()=>({dense:v})),[v]),x=(0,i.A)({},e,{component:m,dense:v,disablePadding:g}),k=(t=>{const{classes:n,disablePadding:e,dense:r,subheader:i}=t,o={root:["root",!e&&"padding",r&&"dense",i&&"subheader"]};return(0,a.A)(o,h.H,n)})(x);return(0,f.jsx)(l.A.Provider,{value:y,children:(0,f.jsxs)(p,(0,i.A)({as:m,className:(0,s.A)(k.root,_),ref:n,ownerState:x},w,{children:[b,u]}))})}))},57406:(t,n,e)=>{"use strict";e.d(n,{A:()=>r});const r=e(7552).createContext({})},87773:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>r.A,getListUtilityClass:()=>i.H,listClasses:()=>i.A});var r=e(58181),i=e(5085)},5085:(t,n,e)=>{"use strict";e.d(n,{A:()=>s,H:()=>o});var r=e(55549),i=e(9577);function o(t){return(0,i.Ay)("MuiList",t)}const s=(0,r.A)("MuiList",["root","padding","dense","subheader"])},5767:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>O,getListItemUtilityClass:()=>b,listItemClasses:()=>w});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(60827),u=e(73252),c=e(18283),l=e(51148),h=e(31049),f=e(9108),d=e(81996),p=e(82910),_=e(51584),m=e(57406),v=e(55549),g=e(9577);function b(t){return(0,g.Ay)("MuiListItem",t)}const w=(0,v.A)("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]);var y=e(2451);function x(t){return(0,g.Ay)("MuiListItemSecondaryAction",t)}(0,v.A)("MuiListItemSecondaryAction",["root","disableGutters"]);var k=e(69500);const S=["className"],A=(0,l.Ay)("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,e.disableGutters&&n.disableGutters]}})((({ownerState:t})=>(0,i.A)({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},t.disableGutters&&{right:0}))),C=o.forwardRef((function(t,n){const e=(0,h.A)({props:t,name:"MuiListItemSecondaryAction"}),{className:u}=e,c=(0,r.A)(e,S),l=o.useContext(m.A),f=(0,i.A)({},e,{disableGutters:l.disableGutters}),d=(t=>{const{disableGutters:n,classes:e}=t,r={root:["root",n&&"disableGutters"]};return(0,a.A)(r,x,e)})(f);return(0,k.jsx)(A,(0,i.A)({className:(0,s.A)(d.root,u),ownerState:f,ref:n},c))}));C.muiName="ListItemSecondaryAction";const E=C,M=["className"],$=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],z=(0,l.Ay)("div",{name:"MuiListItem",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,e.dense&&n.dense,"flex-start"===e.alignItems&&n.alignItemsFlexStart,e.divider&&n.divider,!e.disableGutters&&n.gutters,!e.disablePadding&&n.padding,e.button&&n.button,e.hasSecondaryAction&&n.secondaryAction]}})((({theme:t,ownerState:n})=>(0,i.A)({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!n.disablePadding&&(0,i.A)({paddingTop:8,paddingBottom:8},n.dense&&{paddingTop:4,paddingBottom:4},!n.disableGutters&&{paddingLeft:16,paddingRight:16},!!n.secondaryAction&&{paddingRight:48}),!!n.secondaryAction&&{[`& > .${y.A.root}`]:{paddingRight:48}},{[`&.${w.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${w.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:(0,c.X4)(t.palette.primary.main,t.palette.action.selectedOpacity),[`&.${w.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:(0,c.X4)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},[`&.${w.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity}},"flex-start"===n.alignItems&&{alignItems:"flex-start"},n.divider&&{borderBottom:`1px solid ${(t.vars||t).palette.divider}`,backgroundClip:"padding-box"},n.button&&{transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${w.selected}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:(0,c.X4)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:(0,c.X4)(t.palette.primary.main,t.palette.action.selectedOpacity)}}},n.hasSecondaryAction&&{paddingRight:48}))),T=(0,l.Ay)("li",{name:"MuiListItem",slot:"Container",overridesResolver:(t,n)=>n.container})({position:"relative"}),O=o.forwardRef((function(t,n){const e=(0,h.A)({props:t,name:"MuiListItem"}),{alignItems:c="center",autoFocus:l=!1,button:v=!1,children:g,className:y,component:x,components:S={},componentsProps:A={},ContainerComponent:C="li",ContainerProps:{className:O}={},dense:j=!1,disabled:R=!1,disableGutters:L=!1,disablePadding:D=!1,divider:P=!1,focusVisibleClassName:I,secondaryAction:q,selected:N=!1,slotProps:F={},slots:B={}}=e,U=(0,r.A)(e.ContainerProps,M),H=(0,r.A)(e,$),V=o.useContext(m.A),W=o.useMemo((()=>({dense:j||V.dense||!1,alignItems:c,disableGutters:L})),[c,V.dense,j,L]),G=o.useRef(null);(0,p.A)((()=>{l&&G.current&&G.current.focus()}),[l]);const Y=o.Children.toArray(g),X=Y.length&&(0,d.A)(Y[Y.length-1],["ListItemSecondaryAction"]),K=(0,i.A)({},e,{alignItems:c,autoFocus:l,button:v,dense:W.dense,disabled:R,disableGutters:L,disablePadding:D,divider:P,hasSecondaryAction:X,selected:N}),Z=(t=>{const{alignItems:n,button:e,classes:r,dense:i,disabled:o,disableGutters:s,disablePadding:u,divider:c,hasSecondaryAction:l,selected:h}=t,f={root:["root",i&&"dense",!s&&"gutters",!u&&"padding",c&&"divider",o&&"disabled",e&&"button","flex-start"===n&&"alignItemsFlexStart",l&&"secondaryAction",h&&"selected"],container:["container"]};return(0,a.A)(f,b,r)})(K),J=(0,_.A)(G,n),Q=B.root||S.Root||z,tt=F.root||A.root||{},nt=(0,i.A)({className:(0,s.A)(Z.root,tt.className,y),disabled:R},H);let et=x||"li";return v&&(nt.component=x||"div",nt.focusVisibleClassName=(0,s.A)(w.focusVisible,I),et=f.A),X?(et=nt.component||x?et:"div","li"===C&&("li"===et?et="div":"li"===nt.component&&(nt.component="div")),(0,k.jsx)(m.A.Provider,{value:W,children:(0,k.jsxs)(T,(0,i.A)({as:C,className:(0,s.A)(Z.container,O),ref:J,ownerState:K},U,{children:[(0,k.jsx)(Q,(0,i.A)({},tt,!(0,u.g)(Q)&&{as:et,ownerState:(0,i.A)({},K,tt.ownerState)},nt,{children:Y})),Y.pop()]}))})):(0,k.jsx)(m.A.Provider,{value:W,children:(0,k.jsxs)(Q,(0,i.A)({},tt,{as:et,ref:J},!(0,u.g)(Q)&&{ownerState:(0,i.A)({},K,tt.ownerState)},nt,{children:[Y,q&&(0,k.jsx)(E,{children:q})]}))})}))},52264:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>b,getListItemButtonUtilityClass:()=>_.Y,listItemButtonClasses:()=>_.A});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(60827),u=e(18283),c=e(51148),l=e(31049),h=e(9108),f=e(82910),d=e(51584),p=e(57406),_=e(2451),m=e(69500);const v=["alignItems","autoFocus","component","children","dense","disableGutters","divider","focusVisibleClassName","selected","className"],g=(0,c.Ay)(h.A,{shouldForwardProp:t=>(0,c.ep)(t)||"classes"===t,name:"MuiListItemButton",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,e.dense&&n.dense,"flex-start"===e.alignItems&&n.alignItemsFlexStart,e.divider&&n.divider,!e.disableGutters&&n.gutters]}})((({theme:t,ownerState:n})=>(0,i.A)({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:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${_.A.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:(0,u.X4)(t.palette.primary.main,t.palette.action.selectedOpacity),[`&.${_.A.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:(0,u.X4)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},[`&.${_.A.selected}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:(0,u.X4)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:(0,u.X4)(t.palette.primary.main,t.palette.action.selectedOpacity)}},[`&.${_.A.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${_.A.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity}},n.divider&&{borderBottom:`1px solid ${(t.vars||t).palette.divider}`,backgroundClip:"padding-box"},"flex-start"===n.alignItems&&{alignItems:"flex-start"},!n.disableGutters&&{paddingLeft:16,paddingRight:16},n.dense&&{paddingTop:4,paddingBottom:4}))),b=o.forwardRef((function(t,n){const e=(0,l.A)({props:t,name:"MuiListItemButton"}),{alignItems:u="center",autoFocus:c=!1,component:h="div",children:b,dense:w=!1,disableGutters:y=!1,divider:x=!1,focusVisibleClassName:k,selected:S=!1,className:A}=e,C=(0,r.A)(e,v),E=o.useContext(p.A),M=o.useMemo((()=>({dense:w||E.dense||!1,alignItems:u,disableGutters:y})),[u,E.dense,w,y]),$=o.useRef(null);(0,f.A)((()=>{c&&$.current&&$.current.focus()}),[c]);const z=(0,i.A)({},e,{alignItems:u,dense:M.dense,disableGutters:y,divider:x,selected:S}),T=(t=>{const{alignItems:n,classes:e,dense:r,disabled:o,disableGutters:s,divider:u,selected:c}=t,l={root:["root",r&&"dense",!s&&"gutters",u&&"divider",o&&"disabled","flex-start"===n&&"alignItemsFlexStart",c&&"selected"]},h=(0,a.A)(l,_.Y,e);return(0,i.A)({},e,h)})(z),O=(0,d.A)($,n);return(0,m.jsx)(p.A.Provider,{value:M,children:(0,m.jsx)(g,(0,i.A)({ref:O,href:C.href||C.to,component:(C.href||C.to)&&"div"===h?"button":h,focusVisibleClassName:(0,s.A)(T.focusVisible,k),ownerState:z,className:(0,s.A)(T.root,A)},C,{classes:T,children:b}))})}))},2451:(t,n,e)=>{"use strict";e.d(n,{A:()=>s,Y:()=>o});var r=e(55549),i=e(9577);function o(t){return(0,i.Ay)("MuiListItemButton",t)}const s=(0,r.A)("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"])},51445:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>_,getListItemIconUtilityClass:()=>l.f,listItemIconClasses:()=>l.A});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(60827),u=e(51148),c=e(31049),l=e(16421),h=e(57406),f=e(69500);const d=["className"],p=(0,u.Ay)("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,"flex-start"===e.alignItems&&n.alignItemsFlexStart]}})((({theme:t,ownerState:n})=>(0,i.A)({minWidth:56,color:(t.vars||t).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===n.alignItems&&{marginTop:8}))),_=o.forwardRef((function(t,n){const e=(0,c.A)({props:t,name:"MuiListItemIcon"}),{className:u}=e,_=(0,r.A)(e,d),m=o.useContext(h.A),v=(0,i.A)({},e,{alignItems:m.alignItems}),g=(t=>{const{alignItems:n,classes:e}=t,r={root:["root","flex-start"===n&&"alignItemsFlexStart"]};return(0,a.A)(r,l.f,e)})(v);return(0,f.jsx)(p,(0,i.A)({className:(0,s.A)(g.root,u),ownerState:v,ref:n},_))}))},16421:(t,n,e)=>{"use strict";e.d(n,{A:()=>s,f:()=>o});var r=e(55549),i=e(9577);function o(t){return(0,i.Ay)("MuiListItemIcon",t)}const s=(0,r.A)("MuiListItemIcon",["root","alignItemsFlexStart"])},74340:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>m,getListItemTextUtilityClass:()=>f.b,listItemTextClasses:()=>f.A});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(60827),u=e(36715),c=e(57406),l=e(31049),h=e(51148),f=e(69285),d=e(69500);const p=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],_=(0,h.Ay)("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[{[`& .${f.A.primary}`]:n.primary},{[`& .${f.A.secondary}`]:n.secondary},n.root,e.inset&&n.inset,e.primary&&e.secondary&&n.multiline,e.dense&&n.dense]}})((({ownerState:t})=>(0,i.A)({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},t.primary&&t.secondary&&{marginTop:6,marginBottom:6},t.inset&&{paddingLeft:56}))),m=o.forwardRef((function(t,n){const e=(0,l.A)({props:t,name:"MuiListItemText"}),{children:h,className:m,disableTypography:v=!1,inset:g=!1,primary:b,primaryTypographyProps:w,secondary:y,secondaryTypographyProps:x}=e,k=(0,r.A)(e,p),{dense:S}=o.useContext(c.A);let A=null!=b?b:h,C=y;const E=(0,i.A)({},e,{disableTypography:v,inset:g,primary:!!A,secondary:!!C,dense:S}),M=(t=>{const{classes:n,inset:e,primary:r,secondary:i,dense:o}=t,s={root:["root",e&&"inset",o&&"dense",r&&i&&"multiline"],primary:["primary"],secondary:["secondary"]};return(0,a.A)(s,f.b,n)})(E);return null==A||A.type===u.A||v||(A=(0,d.jsx)(u.A,(0,i.A)({variant:S?"body2":"body1",className:M.primary,component:null!=w&&w.variant?void 0:"span",display:"block"},w,{children:A}))),null==C||C.type===u.A||v||(C=(0,d.jsx)(u.A,(0,i.A)({variant:"body2",className:M.secondary,color:"text.secondary",display:"block"},x,{children:C}))),(0,d.jsxs)(_,(0,i.A)({className:(0,s.A)(M.root,m),ownerState:E,ref:n},k,{children:[A,C]}))}))},69285:(t,n,e)=>{"use strict";e.d(n,{A:()=>s,b:()=>o});var r=e(55549),i=e(9577);function o(t){return(0,i.Ay)("MuiListItemText",t)}const s=(0,r.A)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"])},60785:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>b,getListSubheaderUtilityClass:()=>d,listSubheaderClasses:()=>p});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(60827),u=e(51148),c=e(31049),l=e(15622),h=e(55549),f=e(9577);function d(t){return(0,f.Ay)("MuiListSubheader",t)}const p=(0,h.A)("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);var _=e(69500);const m=["className","color","component","disableGutters","disableSticky","inset"],v=(0,u.Ay)("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,"default"!==e.color&&n[`color${(0,l.A)(e.color)}`],!e.disableGutters&&n.gutters,e.inset&&n.inset,!e.disableSticky&&n.sticky]}})((({theme:t,ownerState:n})=>(0,i.A)({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}))),g=o.forwardRef((function(t,n){const e=(0,c.A)({props:t,name:"MuiListSubheader"}),{className:o,color:u="default",component:h="li",disableGutters:f=!1,disableSticky:p=!1,inset:g=!1}=e,b=(0,r.A)(e,m),w=(0,i.A)({},e,{color:u,component:h,disableGutters:f,disableSticky:p,inset:g}),y=(t=>{const{classes:n,color:e,disableGutters:r,inset:i,disableSticky:o}=t,s={root:["root","default"!==e&&`color${(0,l.A)(e)}`,!r&&"gutters",i&&"inset",!o&&"sticky"]};return(0,a.A)(s,d,n)})(w);return(0,_.jsx)(v,(0,i.A)({as:h,className:(0,s.A)(y.root,o),ref:n,ownerState:w},b))}));g.muiSkipListHighlight=!0;const b=g},2051:(t,n,e)=>{"use strict";e.d(n,{A:()=>k});var r=e(6614),i=e(83673),o=e(7552),s=(e(96830),e(93878)),a=e(60827),u=e(84086),c=e(6679),l=e(9555),h=e(51148),f=e(48231),d=e(31049),p=e(78199),_=e(69500);const m=["onEntering"],v=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],g={vertical:"top",horizontal:"right"},b={vertical:"top",horizontal:"left"},w=(0,h.Ay)(l.Ay,{shouldForwardProp:t=>(0,h.ep)(t)||"classes"===t,name:"MuiMenu",slot:"Root",overridesResolver:(t,n)=>n.root})({}),y=(0,h.Ay)(l.IJ,{name:"MuiMenu",slot:"Paper",overridesResolver:(t,n)=>n.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),x=(0,h.Ay)(c.A,{name:"MuiMenu",slot:"List",overridesResolver:(t,n)=>n.list})({outline:0}),k=o.forwardRef((function(t,n){var e,c;const l=(0,d.A)({props:t,name:"MuiMenu"}),{autoFocus:h=!0,children:k,className:S,disableAutoFocusItem:A=!1,MenuListProps:C={},onClose:E,open:M,PaperProps:$={},PopoverClasses:z,transitionDuration:T="auto",TransitionProps:{onEntering:O}={},variant:j="selectedMenu",slots:R={},slotProps:L={}}=l,D=(0,i.A)(l.TransitionProps,m),P=(0,i.A)(l,v),I=(0,f.default)(),q="rtl"===I.direction,N=(0,r.A)({},l,{autoFocus:h,disableAutoFocusItem:A,MenuListProps:C,onEntering:O,PaperProps:$,transitionDuration:T,TransitionProps:D,variant:j}),F=(t=>{const{classes:n}=t;return(0,a.A)({root:["root"],paper:["paper"],list:["list"]},p.e,n)})(N),B=h&&!A&&M,U=o.useRef(null);let H=-1;o.Children.map(k,((t,n)=>{o.isValidElement(t)&&(t.props.disabled||("selectedMenu"===j&&t.props.selected||-1===H)&&(H=n))}));const V=null!=(e=R.paper)?e:y,W=null!=(c=L.paper)?c:$,G=(0,u.Q)({elementType:R.root,externalSlotProps:L.root,ownerState:N,className:[F.root,S]}),Y=(0,u.Q)({elementType:V,externalSlotProps:W,ownerState:N,className:F.paper});return(0,_.jsx)(w,(0,r.A)({onClose:E,anchorOrigin:{vertical:"bottom",horizontal:q?"right":"left"},transformOrigin:q?g:b,slots:{paper:V,root:R.root},slotProps:{root:G,paper:Y},open:M,ref:n,transitionDuration:T,TransitionProps:(0,r.A)({onEntering:(t,n)=>{U.current&&U.current.adjustStyleForScrollbar(t,I),O&&O(t,n)}},D),ownerState:N},P,{classes:z,children:(0,_.jsx)(x,(0,r.A)({onKeyDown:t=>{"Tab"===t.key&&(t.preventDefault(),E&&E(t,"tabKeyDown"))},actions:U,autoFocus:h&&(-1===H||A),autoFocusItem:B,variant:j},C,{className:(0,s.A)(F.list,C.className),children:k}))}))}))},70026:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>r.A,getMenuUtilityClass:()=>i.e,menuClasses:()=>i.A});var r=e(2051),i=e(78199)},78199:(t,n,e)=>{"use strict";e.d(n,{A:()=>s,e:()=>o});var r=e(55549),i=e(9577);function o(t){return(0,i.Ay)("MuiMenu",t)}const s=(0,r.A)("MuiMenu",["root","paper","list"])},94489:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>A,getMenuItemUtilityClass:()=>w,menuItemClasses:()=>y});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(60827),u=e(18283),c=e(51148),l=e(31049),h=e(57406),f=e(9108),d=e(82910),p=e(51584),_=e(919),m=e(16421),v=e(69285),g=e(55549),b=e(9577);function w(t){return(0,b.Ay)("MuiMenuItem",t)}const y=(0,g.A)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]);var x=e(69500);const k=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],S=(0,c.Ay)(f.A,{shouldForwardProp:t=>(0,c.ep)(t)||"classes"===t,name:"MuiMenuItem",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,e.dense&&n.dense,e.divider&&n.divider,!e.disableGutters&&n.gutters]}})((({theme:t,ownerState:n})=>(0,i.A)({},t.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!n.disableGutters&&{paddingLeft:16,paddingRight:16},n.divider&&{borderBottom:`1px solid ${(t.vars||t).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${y.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:(0,u.X4)(t.palette.primary.main,t.palette.action.selectedOpacity),[`&.${y.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:(0,u.X4)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},[`&.${y.selected}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:(0,u.X4)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:(0,u.X4)(t.palette.primary.main,t.palette.action.selectedOpacity)}},[`&.${y.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${y.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity},[`& + .${_.A.root}`]:{marginTop:t.spacing(1),marginBottom:t.spacing(1)},[`& + .${_.A.inset}`]:{marginLeft:52},[`& .${v.A.root}`]:{marginTop:0,marginBottom:0},[`& .${v.A.inset}`]:{paddingLeft:36},[`& .${m.A.root}`]:{minWidth:36}},!n.dense&&{[t.breakpoints.up("sm")]:{minHeight:"auto"}},n.dense&&(0,i.A)({minHeight:32,paddingTop:4,paddingBottom:4},t.typography.body2,{[`& .${m.A.root} svg`]:{fontSize:"1.25rem"}})))),A=o.forwardRef((function(t,n){const e=(0,l.A)({props:t,name:"MuiMenuItem"}),{autoFocus:u=!1,component:c="li",dense:f=!1,divider:_=!1,disableGutters:m=!1,focusVisibleClassName:v,role:g="menuitem",tabIndex:b,className:y}=e,A=(0,r.A)(e,k),C=o.useContext(h.A),E=o.useMemo((()=>({dense:f||C.dense||!1,disableGutters:m})),[C.dense,f,m]),M=o.useRef(null);(0,d.A)((()=>{u&&M.current&&M.current.focus()}),[u]);const $=(0,i.A)({},e,{dense:E.dense,divider:_,disableGutters:m}),z=(t=>{const{disabled:n,dense:e,divider:r,disableGutters:o,selected:s,classes:u}=t,c={root:["root",e&&"dense",n&&"disabled",!o&&"gutters",r&&"divider",s&&"selected"]},l=(0,a.A)(c,w,u);return(0,i.A)({},u,l)})(e),T=(0,p.A)(M,n);let O;return e.disabled||(O=void 0!==b?b:-1),(0,x.jsx)(h.A.Provider,{value:E,children:(0,x.jsx)(S,(0,i.A)({ref:T,role:g,tabIndex:O,component:c,focusVisibleClassName:(0,s.A)(z.focusVisible,v),className:(0,s.A)(z.root,y)},A,{ownerState:$,classes:z}))})}))},6679:(t,n,e)=>{"use strict";e.d(n,{A:()=>v});var r=e(6614),i=e(83673),o=e(7552),s=(e(96830),e(6676)),a=e(58181);const u=e(74693).A;var c=e(51584),l=e(82910),h=e(69500);const f=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function d(t,n,e){return t===n?t.firstChild:n&&n.nextElementSibling?n.nextElementSibling:e?null:t.firstChild}function p(t,n,e){return t===n?e?t.firstChild:t.lastChild:n&&n.previousElementSibling?n.previousElementSibling:e?null:t.lastChild}function _(t,n){if(void 0===n)return!0;let e=t.innerText;return void 0===e&&(e=t.textContent),e=e.trim().toLowerCase(),0!==e.length&&(n.repeating?e[0]===n.keys[0]:0===e.indexOf(n.keys.join("")))}function m(t,n,e,r,i,o){let s=!1,a=i(t,n,!!n&&e);for(;a;){if(a===t.firstChild){if(s)return!1;s=!0}const n=!r&&(a.disabled||"true"===a.getAttribute("aria-disabled"));if(a.hasAttribute("tabindex")&&_(a,o)&&!n)return a.focus(),!0;a=i(t,a,e)}return!1}const v=o.forwardRef((function(t,n){const{actions:e,autoFocus:v=!1,autoFocusItem:g=!1,children:b,className:w,disabledItemsFocusable:y=!1,disableListWrap:x=!1,onKeyDown:k,variant:S="selectedMenu"}=t,A=(0,i.A)(t,f),C=o.useRef(null),E=o.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});(0,l.A)((()=>{v&&C.current.focus()}),[v]),o.useImperativeHandle(e,(()=>({adjustStyleForScrollbar:(t,n)=>{const e=!C.current.style.width;if(t.clientHeight{o.isValidElement(t)?(t.props.disabled||("selectedMenu"===S&&t.props.selected||-1===$)&&($=n),$===n&&(t.props.disabled||t.props.muiSkipListHighlight||t.type.muiSkipListHighlight)&&($+=1,$>=b.length&&($=-1))):$===n&&($+=1,$>=b.length&&($=-1))}));const z=o.Children.map(b,((t,n)=>{if(n===$){const n={};return g&&(n.autoFocus=!0),void 0===t.props.tabIndex&&"selectedMenu"===S&&(n.tabIndex=0),o.cloneElement(t,n)}return t}));return(0,h.jsx)(a.A,(0,r.A)({role:"menu",ref:M,className:w,onKeyDown:t=>{const n=C.current,e=t.key,r=(0,s.A)(n).activeElement;if("ArrowDown"===e)t.preventDefault(),m(n,r,x,y,d);else if("ArrowUp"===e)t.preventDefault(),m(n,r,x,y,p);else if("Home"===e)t.preventDefault(),m(n,null,x,y,d);else if("End"===e)t.preventDefault(),m(n,null,x,y,p);else if(1===e.length){const i=E.current,o=e.toLowerCase(),s=performance.now();i.keys.length>0&&(s-i.lastTime>500?(i.keys=[],i.repeating=!0,i.previousKeyMatched=!0):i.repeating&&o!==i.keys[0]&&(i.repeating=!1)),i.lastTime=s,i.keys.push(o);const a=r&&!i.repeating&&_(r,i);i.previousKeyMatched&&(a||m(n,r,!1,y,d,i))?t.preventDefault():i.previousKeyMatched=!1}k&&k(t)},tabIndex:v?0:-1},A,{children:z}))}))},81310:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>r.A});var r=e(6679)},52131:(t,n,e)=>{"use strict";e.d(n,{A:()=>$});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(84086),u=e(24979),c=e(89301),l=e(74795),h=e(18961),f=e(32023),d=e(273);const p=new d.P;var _=e(60827),m=e(69500);const v=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function g(t){const n=[],e=[];return Array.from(t.querySelectorAll(v)).forEach(((t,r)=>{const i=function(t){const n=parseInt(t.getAttribute("tabindex")||"",10);return Number.isNaN(n)?"true"===t.contentEditable||("AUDIO"===t.nodeName||"VIDEO"===t.nodeName||"DETAILS"===t.nodeName)&&null===t.getAttribute("tabindex")?0:t.tabIndex:n}(t);-1!==i&&function(t){return!(t.disabled||"INPUT"===t.tagName&&"hidden"===t.type||function(t){if("INPUT"!==t.tagName||"radio"!==t.type)return!1;if(!t.name)return!1;const n=n=>t.ownerDocument.querySelector(`input[type="radio"]${n}`);let e=n(`[name="${t.name}"]:checked`);return e||(e=n(`[name="${t.name}"]`)),e!==t}(t))}(t)&&(0===i?n.push(t):e.push({documentOrder:r,tabIndex:i,node:t}))})),e.sort(((t,n)=>t.tabIndex===n.tabIndex?t.documentOrder-n.documentOrder:t.tabIndex-n.tabIndex)).map((t=>t.node)).concat(n)}function b(){return!0}function w(t){const{children:n,disableAutoFocus:e=!1,disableEnforceFocus:r=!1,disableRestoreFocus:i=!1,getTabbable:s=g,isEnabled:a=b,open:l}=t,h=o.useRef(!1),f=o.useRef(null),d=o.useRef(null),p=o.useRef(null),_=o.useRef(null),v=o.useRef(!1),w=o.useRef(null),y=(0,u.A)(n.ref,w),x=o.useRef(null);o.useEffect((()=>{l&&w.current&&(v.current=!e)}),[e,l]),o.useEffect((()=>{if(!l||!w.current)return;const t=(0,c.A)(w.current);return w.current.contains(t.activeElement)||(w.current.hasAttribute("tabIndex")||w.current.setAttribute("tabIndex","-1"),v.current&&w.current.focus()),()=>{i||(p.current&&p.current.focus&&(h.current=!0,p.current.focus()),p.current=null)}}),[l]),o.useEffect((()=>{if(!l||!w.current)return;const t=(0,c.A)(w.current),n=n=>{x.current=n,!r&&a()&&"Tab"===n.key&&t.activeElement===w.current&&n.shiftKey&&(h.current=!0,d.current&&d.current.focus())},e=()=>{const n=w.current;if(null===n)return;if(!t.hasFocus()||!a()||h.current)return void(h.current=!1);if(n.contains(t.activeElement))return;if(r&&t.activeElement!==f.current&&t.activeElement!==d.current)return;if(t.activeElement!==_.current)_.current=null;else if(null!==_.current)return;if(!v.current)return;let e=[];if(t.activeElement!==f.current&&t.activeElement!==d.current||(e=s(w.current)),e.length>0){var i,o;const t=Boolean((null==(i=x.current)?void 0:i.shiftKey)&&"Tab"===(null==(o=x.current)?void 0:o.key)),n=e[0],r=e[e.length-1];"string"!=typeof n&&"string"!=typeof r&&(t?r.focus():n.focus())}else n.focus()};t.addEventListener("focusin",e),t.addEventListener("keydown",n,!0);const i=setInterval((()=>{t.activeElement&&"BODY"===t.activeElement.tagName&&e()}),50);return()=>{clearInterval(i),t.removeEventListener("focusin",e),t.removeEventListener("keydown",n,!0)}}),[e,r,i,a,l,s]);const k=t=>{null===p.current&&(p.current=t.relatedTarget),v.current=!0};return(0,m.jsxs)(o.Fragment,{children:[(0,m.jsx)("div",{tabIndex:l?0:-1,onFocus:k,ref:f,"data-testid":"sentinelStart"}),o.cloneElement(n,{ref:y,onFocus:t=>{null===p.current&&(p.current=t.relatedTarget),v.current=!0,_.current=t.target;const e=n.props.onFocus;e&&e(t)}}),(0,m.jsx)("div",{tabIndex:l?0:-1,onFocus:k,ref:d,"data-testid":"sentinelEnd"})]})}var y=e(76990),x=e(51148),k=e(31049),S=e(19937),A=e(48331);const C=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],E=(0,x.Ay)("div",{name:"MuiModal",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,!e.open&&e.exited&&n.hidden]}})((({theme:t,ownerState:n})=>(0,i.A)({position:"fixed",zIndex:(t.vars||t).zIndex.modal,right:0,bottom:0,top:0,left:0},!n.open&&n.exited&&{visibility:"hidden"}))),M=(0,x.Ay)(S.A,{name:"MuiModal",slot:"Backdrop",overridesResolver:(t,n)=>n.backdrop})({zIndex:-1}),$=o.forwardRef((function(t,n){var e,v,g,b,x,S;const $=(0,k.A)({name:"MuiModal",props:t}),{BackdropComponent:z=M,BackdropProps:T,className:O,closeAfterTransition:j=!1,children:R,container:L,component:D,components:P={},componentsProps:I={},disableAutoFocus:q=!1,disableEnforceFocus:N=!1,disableEscapeKeyDown:F=!1,disablePortal:B=!1,disableRestoreFocus:U=!1,disableScrollLock:H=!1,hideBackdrop:V=!1,keepMounted:W=!1,onBackdropClick:G,open:Y,slotProps:X,slots:K}=$,Z=(0,r.A)($,C),J=(0,i.A)({},$,{closeAfterTransition:j,disableAutoFocus:q,disableEnforceFocus:N,disableEscapeKeyDown:F,disablePortal:B,disableRestoreFocus:U,disableScrollLock:H,hideBackdrop:V,keepMounted:W}),{getRootProps:Q,getBackdropProps:tt,getTransitionProps:nt,portalRef:et,isTopModal:rt,exited:it,hasTransition:ot}=function(t){const{container:n,disableEscapeKeyDown:e=!1,disableScrollLock:r=!1,manager:s=p,closeAfterTransition:a=!1,onTransitionEnter:_,onTransitionExited:m,children:v,onClose:g,open:b,rootRef:w}=t,y=o.useRef({}),x=o.useRef(null),k=o.useRef(null),S=(0,u.A)(k,w),[A,C]=o.useState(!b),E=function(t){return!!t&&t.props.hasOwnProperty("in")}(v);let M=!0;"false"!==t["aria-hidden"]&&!1!==t["aria-hidden"]||(M=!1);const $=()=>(y.current.modalRef=k.current,y.current.mount=x.current,y.current),z=()=>{s.mount($(),{disableScrollLock:r}),k.current&&(k.current.scrollTop=0)},T=(0,l.A)((()=>{const t=function(t){return"function"==typeof t?t():t}(n)||(0,c.A)(x.current).body;s.add($(),t),k.current&&z()})),O=o.useCallback((()=>s.isTopModal($())),[s]),j=(0,l.A)((t=>{x.current=t,t&&(b&&O()?z():k.current&&(0,d.M)(k.current,M))})),R=o.useCallback((()=>{s.remove($(),M)}),[M,s]);o.useEffect((()=>()=>{R()}),[R]),o.useEffect((()=>{b?T():E&&a||R()}),[b,R,E,a,T]);const L=t=>n=>{var r;null==(r=t.onKeyDown)||r.call(t,n),"Escape"===n.key&&229!==n.which&&O()&&(e||(n.stopPropagation(),g&&g(n,"escapeKeyDown")))},D=t=>n=>{var e;null==(e=t.onClick)||e.call(t,n),n.target===n.currentTarget&&g&&g(n,"backdropClick")};return{getRootProps:(n={})=>{const e=(0,f.h)(t);delete e.onTransitionEnter,delete e.onTransitionExited;const r=(0,i.A)({},e,n);return(0,i.A)({role:"presentation"},r,{onKeyDown:L(r),ref:S})},getBackdropProps:(t={})=>{const n=t;return(0,i.A)({"aria-hidden":!0},n,{onClick:D(n),open:b})},getTransitionProps:()=>({onEnter:(0,h.A)((()=>{C(!1),_&&_()}),null==v?void 0:v.props.onEnter),onExited:(0,h.A)((()=>{C(!0),m&&m(),a&&R()}),null==v?void 0:v.props.onExited)}),rootRef:S,portalRef:j,isTopModal:O,exited:A,hasTransition:E}}((0,i.A)({},J,{rootRef:n})),st=(0,i.A)({},J,{exited:it}),at=(t=>{const{open:n,exited:e,classes:r}=t,i={root:["root",!n&&e&&"hidden"],backdrop:["backdrop"]};return(0,_.A)(i,A.M,r)})(st),ut={};if(void 0===R.props.tabIndex&&(ut.tabIndex="-1"),ot){const{onEnter:t,onExited:n}=nt();ut.onEnter=t,ut.onExited=n}const ct=null!=(e=null!=(v=null==K?void 0:K.root)?v:P.Root)?e:E,lt=null!=(g=null!=(b=null==K?void 0:K.backdrop)?b:P.Backdrop)?g:z,ht=null!=(x=null==X?void 0:X.root)?x:I.root,ft=null!=(S=null==X?void 0:X.backdrop)?S:I.backdrop,dt=(0,a.Q)({elementType:ct,externalSlotProps:ht,externalForwardedProps:Z,getSlotProps:Q,additionalProps:{ref:n,as:D},ownerState:st,className:(0,s.A)(O,null==ht?void 0:ht.className,null==at?void 0:at.root,!st.open&&st.exited&&(null==at?void 0:at.hidden))}),pt=(0,a.Q)({elementType:lt,externalSlotProps:ft,additionalProps:T,getSlotProps:t=>tt((0,i.A)({},t,{onClick:n=>{G&&G(n),null!=t&&t.onClick&&t.onClick(n)}})),className:(0,s.A)(null==ft?void 0:ft.className,null==T?void 0:T.className,null==at?void 0:at.backdrop),ownerState:st});return W||Y||ot&&!it?(0,m.jsx)(y.Z,{ref:et,container:L,disablePortal:B,children:(0,m.jsxs)(ct,(0,i.A)({},dt,{children:[!V&&z?(0,m.jsx)(lt,(0,i.A)({},pt)):null,(0,m.jsx)(w,{disableEnforceFocus:N,disableAutoFocus:q,disableRestoreFocus:U,isEnabled:rt,open:Y,children:o.cloneElement(R,ut)})]}))}):null}))},98150:(t,n,e)=>{"use strict";e.r(n),e.d(n,{ModalManager:()=>r.P,default:()=>i.A,getModalUtilityClass:()=>o.M,modalClasses:()=>o.A});var r=e(273),i=e(52131),o=e(48331)},48331:(t,n,e)=>{"use strict";e.d(n,{A:()=>s,M:()=>o});var r=e(55549),i=e(9577);function o(t){return(0,i.Ay)("MuiModal",t)}const s=(0,r.A)("MuiModal",["root","hidden","backdrop"])},7157:(t,n,e)=>{"use strict";e.d(n,{A:()=>E});var r,i=e(83673),o=e(6614),s=e(7552),a=e(60827),u=e(51148),c=e(69500);const l=["children","classes","className","label","notched"],h=(0,u.Ay)("fieldset",{shouldForwardProp:u.ep})({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,u.Ay)("legend",{shouldForwardProp:u.ep})((({ownerState:t,theme:n})=>(0,o.A)({float:"unset",width:"auto",overflow:"hidden"},!t.withLabel&&{padding:0,lineHeight:"11px",transition:n.transitions.create("width",{duration:150,easing:n.transitions.easing.easeOut})},t.withLabel&&(0,o.A)({display:"block",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 d=e(33960),p=e(32498),_=e(55549),m=e(9577),v=e(3275);function g(t){return(0,m.Ay)("MuiOutlinedInput",t)}const b=(0,o.A)({},v.A,(0,_.A)("MuiOutlinedInput",["root","notchedOutline","input"]));var w=e(37043),y=e(31049);const x=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],k=(0,u.Ay)(w.Sh,{shouldForwardProp:t=>(0,u.ep)(t)||"classes"===t,name:"MuiOutlinedInput",slot:"Root",overridesResolver:w.WC})((({theme:t,ownerState:n})=>{const e="light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return(0,o.A)({position:"relative",borderRadius:(t.vars||t).shape.borderRadius,[`&:hover .${b.notchedOutline}`]:{borderColor:(t.vars||t).palette.text.primary},"@media (hover: none)":{[`&:hover .${b.notchedOutline}`]:{borderColor:t.vars?`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.23)`:e}},[`&.${b.focused} .${b.notchedOutline}`]:{borderColor:(t.vars||t).palette[n.color].main,borderWidth:2},[`&.${b.error} .${b.notchedOutline}`]:{borderColor:(t.vars||t).palette.error.main},[`&.${b.disabled} .${b.notchedOutline}`]:{borderColor:(t.vars||t).palette.action.disabled}},n.startAdornment&&{paddingLeft:14},n.endAdornment&&{paddingRight:14},n.multiline&&(0,o.A)({padding:"16.5px 14px"},"small"===n.size&&{padding:"8.5px 14px"}))})),S=(0,u.Ay)((function(t){const{className:n,label:e,notched:s}=t,a=(0,i.A)(t,l),u=null!=e&&""!==e,d=(0,o.A)({},t,{notched:s,withLabel:u});return(0,c.jsx)(h,(0,o.A)({"aria-hidden":!0,className:n,ownerState:d},a,{children:(0,c.jsx)(f,{ownerState:d,children:u?(0,c.jsx)("span",{children:e}):r||(r=(0,c.jsx)("span",{className:"notranslate",children:"​"}))})}))}),{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(t,n)=>n.notchedOutline})((({theme:t})=>{const n="light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:t.vars?`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.23)`:n}})),A=(0,u.Ay)(w.f3,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:w.Oj})((({theme:t,ownerState:n})=>(0,o.A)({padding:"16.5px 14px"},!t.vars&&{"&:-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"}},t.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[t.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===n.size&&{padding:"8.5px 14px"},n.multiline&&{padding:0},n.startAdornment&&{paddingLeft:0},n.endAdornment&&{paddingRight:0}))),C=s.forwardRef((function(t,n){var e,r,u,l,h;const f=(0,y.A)({props:t,name:"MuiOutlinedInput"}),{components:_={},fullWidth:m=!1,inputComponent:v="input",label:b,multiline:C=!1,notched:E,slots:M={},type:$="text"}=f,z=(0,i.A)(f,x),T=(t=>{const{classes:n}=t,e=(0,a.A)({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},g,n);return(0,o.A)({},n,e)})(f),O=(0,d.A)(),j=(0,p.A)({props:f,muiFormControl:O,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),R=(0,o.A)({},f,{color:j.color||"primary",disabled:j.disabled,error:j.error,focused:j.focused,formControl:O,fullWidth:m,hiddenLabel:j.hiddenLabel,multiline:C,size:j.size,type:$}),L=null!=(e=null!=(r=M.root)?r:_.Root)?e:k,D=null!=(u=null!=(l=M.input)?l:_.Input)?u:A;return(0,c.jsx)(w.Ay,(0,o.A)({slots:{root:L,input:D},renderSuffix:t=>(0,c.jsx)(S,{ownerState:R,className:T.notchedOutline,label:null!=b&&""!==b&&j.required?h||(h=(0,c.jsxs)(s.Fragment,{children:[b," ","*"]})):b,notched:void 0!==E?E:Boolean(t.startAdornment||t.filled||t.focused)}),fullWidth:m,inputComponent:v,multiline:C,ref:n,type:$},z,{classes:(0,o.A)({},T,{notchedOutline:null})}))}));C.muiName="Input";const E=C},83651:(t,n,e)=>{"use strict";e.d(n,{A:()=>m});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(60827),u=e(18283),c=e(51148);const l=t=>{let n;return n=t<1?5.11916*t**2:4.5*Math.log(t+1)+2,(n/100).toFixed(2)};var h=e(31049),f=e(40795),d=e(69500);const p=["className","component","elevation","square","variant"],_=(0,c.Ay)("div",{name:"MuiPaper",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,n[e.variant],!e.square&&n.rounded,"elevation"===e.variant&&n[`elevation${e.elevation}`]]}})((({theme:t,ownerState:n})=>{var e;return(0,i.A)({backgroundColor:(t.vars||t).palette.background.paper,color:(t.vars||t).palette.text.primary,transition:t.transitions.create("box-shadow")},!n.square&&{borderRadius:t.shape.borderRadius},"outlined"===n.variant&&{border:`1px solid ${(t.vars||t).palette.divider}`},"elevation"===n.variant&&(0,i.A)({boxShadow:(t.vars||t).shadows[n.elevation]},!t.vars&&"dark"===t.palette.mode&&{backgroundImage:`linear-gradient(${(0,u.X4)("#fff",l(n.elevation))}, ${(0,u.X4)("#fff",l(n.elevation))})`},t.vars&&{backgroundImage:null==(e=t.vars.overlays)?void 0:e[n.elevation]}))})),m=o.forwardRef((function(t,n){const e=(0,h.A)({props:t,name:"MuiPaper"}),{className:o,component:u="div",elevation:c=1,square:l=!1,variant:m="elevation"}=e,v=(0,r.A)(e,p),g=(0,i.A)({},e,{component:u,elevation:c,square:l,variant:m}),b=(t=>{const{square:n,elevation:e,variant:r,classes:i}=t,o={root:["root",r,!n&&"rounded","elevation"===r&&`elevation${e}`]};return(0,a.A)(o,f.j,i)})(g);return(0,d.jsx)(_,(0,i.A)({as:u,ownerState:g,className:(0,s.A)(b.root,o),ref:n},v))}))},93029:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>r.A,getPaperUtilityClass:()=>i.j,paperClasses:()=>i.A});var r=e(83651),i=e(40795)},40795:(t,n,e)=>{"use strict";e.d(n,{A:()=>s,j:()=>o});var r=e(55549),i=e(9577);function o(t){return(0,i.Ay)("MuiPaper",t)}const s=(0,r.A)("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"])},9555:(t,n,e)=>{"use strict";e.d(n,{Ay:()=>z,Dy:()=>S,IJ:()=>$,fB:()=>A,yt:()=>M});var r=e(6614),i=e(83673),o=e(7552),s=e(93878),a=e(60827),u=e(84086),c=e(73252),l=e(51148),h=e(31049),f=e(987),d=e(6676),p=e(46689),_=e(51584),m=e(4407),v=e(52131),g=e(83651),b=e(51015),w=e(69500);const y=["onEntering"],x=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],k=["slotProps"];function S(t,n){let e=0;return"number"==typeof n?e=n:"center"===n?e=t.height/2:"bottom"===n&&(e=t.height),e}function A(t,n){let e=0;return"number"==typeof n?e=n:"center"===n?e=t.width/2:"right"===n&&(e=t.width),e}function C(t){return[t.horizontal,t.vertical].map((t=>"number"==typeof t?`${t}px`:t)).join(" ")}function E(t){return"function"==typeof t?t():t}const M=(0,l.Ay)(v.A,{name:"MuiPopover",slot:"Root",overridesResolver:(t,n)=>n.root})({}),$=(0,l.Ay)(g.A,{name:"MuiPopover",slot:"Paper",overridesResolver:(t,n)=>n.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),z=o.forwardRef((function(t,n){var e,l,v;const g=(0,h.A)({props:t,name:"MuiPopover"}),{action:z,anchorEl:T,anchorOrigin:O={vertical:"top",horizontal:"left"},anchorPosition:j,anchorReference:R="anchorEl",children:L,className:D,container:P,elevation:I=8,marginThreshold:q=16,open:N,PaperProps:F={},slots:B,slotProps:U,transformOrigin:H={vertical:"top",horizontal:"left"},TransitionComponent:V=m.A,transitionDuration:W="auto",TransitionProps:{onEntering:G}={},disableScrollLock:Y=!1}=g,X=(0,i.A)(g.TransitionProps,y),K=(0,i.A)(g,x),Z=null!=(e=null==U?void 0:U.paper)?e:F,J=o.useRef(),Q=(0,_.A)(J,Z.ref),tt=(0,r.A)({},g,{anchorOrigin:O,anchorReference:R,elevation:I,marginThreshold:q,externalPaperSlotProps:Z,transformOrigin:H,TransitionComponent:V,transitionDuration:W,TransitionProps:X}),nt=(t=>{const{classes:n}=t;return(0,a.A)({root:["root"],paper:["paper"]},b.K,n)})(tt),et=o.useCallback((()=>{if("anchorPosition"===R)return j;const t=E(T),n=(t&&1===t.nodeType?t:(0,d.A)(J.current).body).getBoundingClientRect();return{top:n.top+S(n,O.vertical),left:n.left+A(n,O.horizontal)}}),[T,O.horizontal,O.vertical,j,R]),rt=o.useCallback((t=>({vertical:S(t,H.vertical),horizontal:A(t,H.horizontal)})),[H.horizontal,H.vertical]),it=o.useCallback((t=>{const n={width:t.offsetWidth,height:t.offsetHeight},e=rt(n);if("none"===R)return{top:null,left:null,transformOrigin:C(e)};const r=et();let i=r.top-e.vertical,o=r.left-e.horizontal;const s=i+n.height,a=o+n.width,u=(0,p.A)(E(T)),c=u.innerHeight-q,l=u.innerWidth-q;if(null!==q&&ic){const t=s-c;i-=t,e.vertical+=t}if(null!==q&&ol){const t=a-l;o-=t,e.horizontal+=t}return{top:`${Math.round(i)}px`,left:`${Math.round(o)}px`,transformOrigin:C(e)}}),[T,R,et,rt,q]),[ot,st]=o.useState(N),at=o.useCallback((()=>{const t=J.current;if(!t)return;const n=it(t);null!==n.top&&(t.style.top=n.top),null!==n.left&&(t.style.left=n.left),t.style.transformOrigin=n.transformOrigin,st(!0)}),[it]);o.useEffect((()=>(Y&&window.addEventListener("scroll",at),()=>window.removeEventListener("scroll",at))),[T,Y,at]),o.useEffect((()=>{N&&at()})),o.useImperativeHandle(z,(()=>N?{updatePosition:()=>{at()}}:null),[N,at]),o.useEffect((()=>{if(!N)return;const t=(0,f.A)((()=>{at()})),n=(0,p.A)(T);return n.addEventListener("resize",t),()=>{t.clear(),n.removeEventListener("resize",t)}}),[T,N,at]);let ut=W;"auto"!==W||V.muiSupportAuto||(ut=void 0);const ct=P||(T?(0,d.A)(E(T)).body:void 0),lt=null!=(l=null==B?void 0:B.root)?l:M,ht=null!=(v=null==B?void 0:B.paper)?v:$,ft=(0,u.Q)({elementType:ht,externalSlotProps:(0,r.A)({},Z,{style:ot?Z.style:(0,r.A)({},Z.style,{opacity:0})}),additionalProps:{elevation:I,ref:Q},ownerState:tt,className:(0,s.A)(nt.paper,null==Z?void 0:Z.className)}),dt=(0,u.Q)({elementType:lt,externalSlotProps:(null==U?void 0:U.root)||{},externalForwardedProps:K,additionalProps:{ref:n,slotProps:{backdrop:{invisible:!0}},container:ct,open:N},ownerState:tt,className:(0,s.A)(nt.root,D)}),{slotProps:pt}=dt,_t=(0,i.A)(dt,k);return(0,w.jsx)(lt,(0,r.A)({},_t,!(0,c.g)(lt)&&{slotProps:pt,disableScrollLock:Y},{children:(0,w.jsx)(V,(0,r.A)({appear:!0,in:N,onEntering:(t,n)=>{G&&G(t,n),at()},onExited:()=>{st(!1)},timeout:ut},X,{children:(0,w.jsx)(ht,(0,r.A)({},ft,{children:L}))}))}))}))},1978:(t,n,e)=>{"use strict";e.r(n),e.d(n,{PopoverPaper:()=>r.IJ,PopoverRoot:()=>r.yt,default:()=>r.Ay,getOffsetLeft:()=>r.fB,getOffsetTop:()=>r.Dy,getPopoverUtilityClass:()=>i.K,popoverClasses:()=>i.A});var r=e(9555),i=e(51015)},51015:(t,n,e)=>{"use strict";e.d(n,{A:()=>s,K:()=>o});var r=e(55549),i=e(9577);function o(t){return(0,i.Ay)("MuiPopover",t)}const s=(0,r.A)("MuiPopover",["root","paper"])},38555:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>T,getRadioUtilityClass:()=>A,radioClasses:()=>C});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(60827),u=e(18283),c=e(15110),l=e(31049),h=e(74893),f=e(69500);const d=(0,h.A)((0,f.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"),p=(0,h.A)((0,f.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");var _=e(51148);const m=(0,_.Ay)("span",{shouldForwardProp:_.ep})({position:"relative",display:"flex"}),v=(0,_.Ay)(d)({transform:"scale(1)"}),g=(0,_.Ay)(p)((({theme:t,ownerState:n})=>(0,i.A)({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})}))),b=function(t){const{checked:n=!1,classes:e={},fontSize:r}=t,o=(0,i.A)({},t,{checked:n});return(0,f.jsxs)(m,{className:e.root,ownerState:o,children:[(0,f.jsx)(v,{fontSize:r,className:e.background,ownerState:o}),(0,f.jsx)(g,{fontSize:r,className:e.dot,ownerState:o})]})};var w=e(15622),y=e(4402),x=e(39006),k=e(55549),S=e(9577);function A(t){return(0,S.Ay)("MuiRadio",t)}const C=(0,k.A)("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]),E=["checked","checkedIcon","color","icon","name","onChange","size","className"],M=(0,_.Ay)(c.A,{shouldForwardProp:t=>(0,_.ep)(t)||"classes"===t,name:"MuiRadio",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,"medium"!==e.size&&n[`size${(0,w.A)(e.size)}`],n[`color${(0,w.A)(e.color)}`]]}})((({theme:t,ownerState:n})=>(0,i.A)({color:(t.vars||t).palette.text.secondary},!n.disableRipple&&{"&:hover":{backgroundColor:t.vars?`rgba(${"default"===n.color?t.vars.palette.action.activeChannel:t.vars.palette[n.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,u.X4)("default"===n.color?t.palette.action.active:t.palette[n.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==n.color&&{[`&.${C.checked}`]:{color:(t.vars||t).palette[n.color].main}},{[`&.${C.disabled}`]:{color:(t.vars||t).palette.action.disabled}}))),$=(0,f.jsx)(b,{checked:!0}),z=(0,f.jsx)(b,{}),T=o.forwardRef((function(t,n){var e,u;const c=(0,l.A)({props:t,name:"MuiRadio"}),{checked:h,checkedIcon:d=$,color:p="primary",icon:_=z,name:m,onChange:v,size:g="medium",className:b}=c,k=(0,r.A)(c,E),S=(0,i.A)({},c,{color:p,size:g}),C=(t=>{const{classes:n,color:e,size:r}=t,o={root:["root",`color${(0,w.A)(e)}`,"medium"!==r&&`size${(0,w.A)(r)}`]};return(0,i.A)({},n,(0,a.A)(o,A,n))})(S),T=(0,x.A)();let O=h;const j=(0,y.A)(v,T&&T.onChange);let R=m;var L,D;return T&&(void 0===O&&(L=T.value,O="object"==typeof(D=c.value)&&null!==D?L===D:String(L)===String(D)),void 0===R&&(R=T.name)),(0,f.jsx)(M,(0,i.A)({type:"radio",icon:o.cloneElement(_,{fontSize:null!=(e=z.props.fontSize)?e:g}),checkedIcon:o.cloneElement(d,{fontSize:null!=(u=$.props.fontSize)?u:g}),ownerState:S,classes:C,name:R,checked:O,onChange:j,ref:n,className:(0,s.A)(C.root,b)},k))}))},76258:(t,n,e)=>{"use strict";e.d(n,{A:()=>r});const r=e(7552).createContext(void 0)},9379:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>S,useRadioGroup:()=>A.A});var r=e(6614),i=e(83673),o=e(7552),s=e(93878),a=e(60827),u=e(51148),c=e(31049),l=e(55549),h=e(9577);function f(t){return(0,h.Ay)("MuiFormGroup",t)}(0,l.A)("MuiFormGroup",["root","row","error"]);var d=e(33960),p=e(32498),_=e(69500);const m=["className","row"],v=(0,u.Ay)("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,e.row&&n.row]}})((({ownerState:t})=>(0,r.A)({display:"flex",flexDirection:"column",flexWrap:"wrap"},t.row&&{flexDirection:"row"}))),g=o.forwardRef((function(t,n){const e=(0,c.A)({props:t,name:"MuiFormGroup"}),{className:o,row:u=!1}=e,l=(0,i.A)(e,m),h=(0,d.A)(),g=(0,p.A)({props:e,muiFormControl:h,states:["error"]}),b=(0,r.A)({},e,{row:u,error:g.error}),w=(t=>{const{classes:n,row:e,error:r}=t,i={root:["root",e&&"row",r&&"error"]};return(0,a.A)(i,f,n)})(b);return(0,_.jsx)(v,(0,r.A)({className:(0,s.A)(w.root,o),ownerState:b,ref:n},l))}));var b=e(51584),w=e(77259),y=e(76258),x=e(89456);const k=["actions","children","defaultValue","name","onChange","value"],S=o.forwardRef((function(t,n){const{actions:e,children:s,defaultValue:a,name:u,onChange:c,value:l}=t,h=(0,i.A)(t,k),f=o.useRef(null),[d,p]=(0,w.A)({controlled:l,default:a,name:"RadioGroup"});o.useImperativeHandle(e,(()=>({focus:()=>{let t=f.current.querySelector("input:not(:disabled):checked");t||(t=f.current.querySelector("input:not(:disabled)")),t&&t.focus()}})),[]);const m=(0,b.A)(n,f),v=(0,x.A)(u),S=o.useMemo((()=>({name:v,onChange(t){p(t.target.value),c&&c(t,t.target.value)},value:d})),[v,c,p,d]);return(0,_.jsx)(y.A.Provider,{value:S,children:(0,_.jsx)(g,(0,r.A)({role:"radiogroup",ref:m},h,{children:s}))})}));var A=e(39006)},39006:(t,n,e)=>{"use strict";e.d(n,{A:()=>o});var r=e(7552),i=e(76258);function o(){return r.useContext(i.A)}},41887:(t,n,e)=>{"use strict";e.d(n,{A:()=>J});var r=e(6614),i=e(83673),o=e(7552),s=e(93878),a=e(9669),u=e(60829),c=(e(96830),e(60827)),l=e(61941),h=e(6676),f=e(15622),d=e(2051),p=e(55549),_=e(9577);function m(t){return(0,_.Ay)("MuiNativeSelect",t)}const v=(0,p.A)("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var g=e(51148),b=e(69500);const w=["className","disabled","error","IconComponent","inputRef","variant"],y=({ownerState:t,theme:n})=>(0,r.A)({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":(0,r.A)({},n.vars?{backgroundColor:`rgba(${n.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:"light"===n.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${v.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(n.vars||n).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},"filled"===t.variant&&{"&&&":{paddingRight:32}},"outlined"===t.variant&&{borderRadius:(n.vars||n).shape.borderRadius,"&:focus":{borderRadius:(n.vars||n).shape.borderRadius},"&&&":{paddingRight:32}}),x=(0,g.Ay)("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:g.ep,overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.select,n[e.variant],e.error&&n.error,{[`&.${v.multiple}`]:n.multiple}]}})(y),k=({ownerState:t,theme:n})=>(0,r.A)({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(n.vars||n).palette.action.active,[`&.${v.disabled}`]:{color:(n.vars||n).palette.action.disabled}},t.open&&{transform:"rotate(180deg)"},"filled"===t.variant&&{right:7},"outlined"===t.variant&&{right:7}),S=(0,g.Ay)("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.icon,e.variant&&n[`icon${(0,f.A)(e.variant)}`],e.open&&n.iconOpen]}})(k),A=o.forwardRef((function(t,n){const{className:e,disabled:a,error:u,IconComponent:l,inputRef:h,variant:d="standard"}=t,p=(0,i.A)(t,w),_=(0,r.A)({},t,{disabled:a,variant:d,error:u}),v=(t=>{const{classes:n,variant:e,disabled:r,multiple:i,open:o,error:s}=t,a={select:["select",e,r&&"disabled",i&&"multiple",s&&"error"],icon:["icon",`icon${(0,f.A)(e)}`,o&&"iconOpen",r&&"disabled"]};return(0,c.A)(a,m,n)})(_);return(0,b.jsxs)(o.Fragment,{children:[(0,b.jsx)(x,(0,r.A)({ownerState:_,className:(0,s.A)(v.select,e),disabled:a,ref:h||n},p)),t.multiple?null:(0,b.jsx)(S,{as:l,ownerState:_,className:v.icon})]})}));var C,E=e(53999),M=e(51584),$=e(77259),z=e(10613);const T=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],O=(0,g.Ay)("div",{name:"MuiSelect",slot:"Select",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[{[`&.${z.A.select}`]:n.select},{[`&.${z.A.select}`]:n[e.variant]},{[`&.${z.A.error}`]:n.error},{[`&.${z.A.multiple}`]:n.multiple}]}})(y,{[`&.${z.A.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),j=(0,g.Ay)("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.icon,e.variant&&n[`icon${(0,f.A)(e.variant)}`],e.open&&n.iconOpen]}})(k),R=(0,g.Ay)("input",{shouldForwardProp:t=>(0,g._n)(t)&&"classes"!==t,name:"MuiSelect",slot:"NativeInput",overridesResolver:(t,n)=>n.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function L(t,n){return"object"==typeof n&&null!==n?t===n:String(t)===String(n)}function D(t){return null==t||"string"==typeof t&&!t.trim()}const P=o.forwardRef((function(t,n){var e;const{"aria-describedby":a,"aria-label":p,autoFocus:_,autoWidth:m,children:v,className:g,defaultOpen:w,defaultValue:y,disabled:x,displayEmpty:k,error:S=!1,IconComponent:A,inputRef:P,labelId:I,MenuProps:q={},multiple:N,name:F,onBlur:B,onChange:U,onClose:H,onFocus:V,onOpen:W,open:G,readOnly:Y,renderValue:X,SelectDisplayProps:K={},tabIndex:Z,value:J,variant:Q="standard"}=t,tt=(0,i.A)(t,T),[nt,et]=(0,$.A)({controlled:J,default:y,name:"Select"}),[rt,it]=(0,$.A)({controlled:G,default:w,name:"Select"}),ot=o.useRef(null),st=o.useRef(null),[at,ut]=o.useState(null),{current:ct}=o.useRef(null!=G),[lt,ht]=o.useState(),ft=(0,M.A)(n,P),dt=o.useCallback((t=>{st.current=t,t&&ut(t)}),[]),pt=null==at?void 0:at.parentNode;o.useImperativeHandle(ft,(()=>({focus:()=>{st.current.focus()},node:ot.current,value:nt})),[nt]),o.useEffect((()=>{w&&rt&&at&&!ct&&(ht(m?null:pt.clientWidth),st.current.focus())}),[at,m]),o.useEffect((()=>{_&&st.current.focus()}),[_]),o.useEffect((()=>{if(!I)return;const t=(0,h.A)(st.current).getElementById(I);if(t){const n=()=>{getSelection().isCollapsed&&st.current.focus()};return t.addEventListener("click",n),()=>{t.removeEventListener("click",n)}}}),[I]);const _t=(t,n)=>{t?W&&W(n):H&&H(n),ct||(ht(m?null:pt.clientWidth),it(t))},mt=o.Children.toArray(v),vt=t=>n=>{let e;if(n.currentTarget.hasAttribute("tabindex")){if(N){e=Array.isArray(nt)?nt.slice():[];const n=nt.indexOf(t.props.value);-1===n?e.push(t.props.value):e.splice(n,1)}else e=t.props.value;if(t.props.onClick&&t.props.onClick(n),nt!==e&&(et(e),U)){const r=n.nativeEvent||n,i=new r.constructor(r.type,r);Object.defineProperty(i,"target",{writable:!0,value:{value:e,name:F}}),U(i,t)}N||_t(!1,n)}},gt=null!==at&&rt;let bt,wt;delete tt["aria-invalid"];const yt=[];let xt=!1,kt=!1;((0,E.lq)({value:nt})||k)&&(X?bt=X(nt):xt=!0);const St=mt.map((t=>{if(!o.isValidElement(t))return null;let n;if(N){if(!Array.isArray(nt))throw new Error((0,u.A)(2));n=nt.some((n=>L(n,t.props.value))),n&&xt&&yt.push(t.props.children)}else n=L(nt,t.props.value),n&&xt&&(wt=t.props.children);return n&&(kt=!0),o.cloneElement(t,{"aria-selected":n?"true":"false",onClick:vt(t),onKeyUp:n=>{" "===n.key&&n.preventDefault(),t.props.onKeyUp&&t.props.onKeyUp(n)},role:"option",selected:n,value:void 0,"data-value":t.props.value})}));xt&&(bt=N?0===yt.length?null:yt.reduce(((t,n,e)=>(t.push(n),e{const{classes:n,variant:e,disabled:r,multiple:i,open:o,error:s}=t,a={select:["select",e,r&&"disabled",i&&"multiple",s&&"error"],icon:["icon",`icon${(0,f.A)(e)}`,o&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return(0,c.A)(a,z.T,n)})(Mt),zt=(0,r.A)({},q.PaperProps,null==(e=q.slotProps)?void 0:e.paper),Tt=(0,l.A)();return(0,b.jsxs)(o.Fragment,{children:[(0,b.jsx)(O,(0,r.A)({ref:dt,tabIndex:At,role:"combobox","aria-controls":Tt,"aria-disabled":x?"true":void 0,"aria-expanded":gt?"true":"false","aria-haspopup":"listbox","aria-label":p,"aria-labelledby":[I,Et].filter(Boolean).join(" ")||void 0,"aria-describedby":a,onKeyDown:t=>{Y||-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(t.key)&&(t.preventDefault(),_t(!0,t))},onMouseDown:x||Y?null:t=>{0===t.button&&(t.preventDefault(),st.current.focus(),_t(!0,t))},onBlur:t=>{!gt&&B&&(Object.defineProperty(t,"target",{writable:!0,value:{value:nt,name:F}}),B(t))},onFocus:V},K,{ownerState:Mt,className:(0,s.A)(K.className,$t.select,g),id:Et,children:D(bt)?C||(C=(0,b.jsx)("span",{className:"notranslate",children:"​"})):bt})),(0,b.jsx)(R,(0,r.A)({"aria-invalid":S,value:Array.isArray(nt)?nt.join(","):nt,name:F,ref:ot,"aria-hidden":!0,onChange:t=>{const n=mt.find((n=>n.props.value===t.target.value));void 0!==n&&(et(n.props.value),U&&U(t,n))},tabIndex:-1,disabled:x,className:$t.nativeInput,autoFocus:_,ownerState:Mt},tt)),(0,b.jsx)(j,{as:A,className:$t.icon,ownerState:Mt}),(0,b.jsx)(d.A,(0,r.A)({id:`menu-${F||""}`,anchorEl:pt,open:gt,onClose:t=>{_t(!1,t)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},q,{MenuListProps:(0,r.A)({"aria-labelledby":I,role:"listbox","aria-multiselectable":N?"true":void 0,disableListWrap:!0,id:Tt},q.MenuListProps),slotProps:(0,r.A)({},q.slotProps,{paper:(0,r.A)({},zt,{style:(0,r.A)({minWidth:Ct},null!=zt?zt.style:null)})}),children:St}))]})}));var I=e(32498),q=e(33960);const N=(0,e(74893).A)((0,b.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");var F=e(60947),B=e(69423),U=e(7157),H=e(31049);const V=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],W=["root"],G={name:"MuiSelect",overridesResolver:(t,n)=>n.root,shouldForwardProp:t=>(0,g.ep)(t)&&"variant"!==t,slot:"Root"},Y=(0,g.Ay)(F.A,G)(""),X=(0,g.Ay)(U.A,G)(""),K=(0,g.Ay)(B.A,G)(""),Z=o.forwardRef((function(t,n){const e=(0,H.A)({name:"MuiSelect",props:t}),{autoWidth:u=!1,children:c,classes:l={},className:h,defaultOpen:f=!1,displayEmpty:d=!1,IconComponent:p=N,id:_,input:m,inputProps:v,label:g,labelId:w,MenuProps:y,multiple:x=!1,native:k=!1,onClose:S,onOpen:C,open:E,renderValue:$,SelectDisplayProps:z,variant:T="outlined"}=e,O=(0,i.A)(e,V),j=k?A:P,R=(0,q.A)(),L=(0,I.A)({props:e,muiFormControl:R,states:["variant","error"]}),D=L.variant||T,F=(0,r.A)({},e,{variant:D,classes:l}),B=(t=>{const{classes:n}=t;return n})(F),U=(0,i.A)(B,W),G=m||{standard:(0,b.jsx)(Y,{ownerState:F}),outlined:(0,b.jsx)(X,{label:g,ownerState:F}),filled:(0,b.jsx)(K,{ownerState:F})}[D],Z=(0,M.A)(n,G.ref);return(0,b.jsx)(o.Fragment,{children:o.cloneElement(G,(0,r.A)({inputComponent:j,inputProps:(0,r.A)({children:c,error:L.error,IconComponent:p,variant:D,type:void 0,multiple:x},k?{id:_}:{autoWidth:u,defaultOpen:f,displayEmpty:d,labelId:w,MenuProps:y,onClose:S,onOpen:C,open:E,renderValue:$,SelectDisplayProps:(0,r.A)({id:_},z)},v,{classes:v?(0,a.A)(U,v.classes):U},m?m.props.inputProps:{})},(x&&k||d)&&"outlined"===D?{notched:!0}:{},{ref:Z,className:(0,s.A)(G.props.className,h,B.root)},!m&&{variant:D},O))})}));Z.muiName="Select";const J=Z},36785:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>r.A,getSelectUtilityClasses:()=>i.T,selectClasses:()=>i.A});var r=e(41887),i=e(10613)},10613:(t,n,e)=>{"use strict";e.d(n,{A:()=>s,T:()=>o});var r=e(55549),i=e(9577);function o(t){return(0,i.Ay)("MuiSelect",t)}const s=(0,r.A)("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"])},91289:(t,n,e)=>{"use strict";e.r(n),e.d(n,{SliderMark:()=>Y,SliderMarkLabel:()=>X,SliderRail:()=>H,SliderRoot:()=>U,SliderThumb:()=>W,SliderTrack:()=>V,SliderValueLabel:()=>G,default:()=>J,getSliderUtilityClass:()=>I,sliderClasses:()=>q});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(60827),u=e(84086),c=e(73252),l=e(89301),h=e(90389),f=e(15093),d=e(94065),p=e(24979),_=e(94921),m=e(74795);const v={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:-1,overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};var g=e(32023);function b(t,n){return t-n}function w(t,n){var e;const{index:r}=null!=(e=t.reduce(((t,e,r)=>{const i=Math.abs(n-e);return null===t||it===n)){return t.length===n.length&&t.every(((t,r)=>e(t,n[r])))}(t,n)}const C={horizontal:{offset:t=>({left:`${t}%`}),leap:t=>({width:`${t}%`})},"horizontal-reverse":{offset:t=>({right:`${t}%`}),leap:t=>({width:`${t}%`})},vertical:{offset:t=>({bottom:`${t}%`}),leap:t=>({height:`${t}%`})}},E=t=>t;let M;function $(){return void 0===M&&(M="undefined"==typeof CSS||"function"!=typeof CSS.supports||CSS.supports("touch-action","none")),M}function z(t){const{"aria-labelledby":n,defaultValue:e,disabled:r=!1,disableSwap:s=!1,isRtl:a=!1,marks:u=!1,max:c=100,min:M=0,name:z,onChange:T,onChangeCommitted:O,orientation:j="horizontal",rootRef:R,scale:L=E,step:D=1,tabIndex:P,value:I}=t,q=o.useRef(),[N,F]=o.useState(-1),[B,U]=o.useState(-1),[H,V]=o.useState(!1),W=o.useRef(0),[G,Y]=(0,h.A)({controlled:I,default:null!=e?e:M,name:"Slider"}),X=T&&((t,n,e)=>{const r=t.nativeEvent||t,i=new r.constructor(r.type,r);Object.defineProperty(i,"target",{writable:!0,value:{value:n,name:z}}),T(i,n,e)}),K=Array.isArray(G);let Z=K?G.slice().sort(b):[G];Z=Z.map((t=>null==t?M:(0,f.A)(t,M,c)));const J=!0===u&&null!==D?[...Array(Math.floor((c-M)/D)+1)].map(((t,n)=>({value:M+D*n}))):u||[],Q=J.map((t=>t.value)),{isFocusVisibleRef:tt,onBlur:nt,onFocus:et,ref:rt}=(0,d.A)(),[it,ot]=o.useState(-1),st=o.useRef(),at=(0,p.A)(rt,st),ut=(0,p.A)(R,at),ct=t=>n=>{var e;const r=Number(n.currentTarget.getAttribute("data-index"));et(n),!0===tt.current&&ot(r),U(r),null==t||null==(e=t.onFocus)||e.call(t,n)},lt=t=>n=>{var e;nt(n),!1===tt.current&&ot(-1),U(-1),null==t||null==(e=t.onBlur)||e.call(t,n)};(0,_.A)((()=>{var t;r&&st.current.contains(document.activeElement)&&(null==(t=document.activeElement)||t.blur())}),[r]),r&&-1!==N&&F(-1),r&&-1!==it&&ot(-1);const ht=o.useRef();let ft=j;a&&"horizontal"===j&&(ft+="-reverse");const dt=({finger:t,move:n=!1})=>{const{current:e}=st,{width:r,height:i,bottom:o,left:a}=e.getBoundingClientRect();let u,l;if(u=0===ft.indexOf("vertical")?(o-t.y)/i:(t.x-a)/r,-1!==ft.indexOf("-reverse")&&(u=1-u),l=function(t,n,e){return(e-n)*t+n}(u,M,c),D)l=function(t,n,e){const r=Math.round((t-e)/n)*n+e;return Number(r.toFixed(function(t){if(Math.abs(t)<1){const n=t.toExponential().split("e-"),e=n[0].split(".")[1];return(e?e.length:0)+parseInt(n[1],10)}const n=t.toString().split(".")[1];return n?n.length:0}(n)))}(l,D,M);else{const t=w(Q,l);l=Q[t]}l=(0,f.A)(l,M,c);let h=0;if(K){h=n?ht.current:w(Z,l),s&&(l=(0,f.A)(l,Z[h-1]||-1/0,Z[h+1]||1/0));const t=l;l=k({values:Z,newValue:l,index:h}),s&&n||(h=l.indexOf(t),ht.current=h)}return{newValue:l,activeIndex:h}},pt=(0,m.A)((t=>{const n=y(t,q);if(!n)return;if(W.current+=1,"mousemove"===t.type&&0===t.buttons)return void _t(t);const{newValue:e,activeIndex:r}=dt({finger:n,move:!0});S({sliderRef:st,activeIndex:r,setActive:F}),Y(e),!H&&W.current>2&&V(!0),X&&!A(e,G)&&X(t,e,r)})),_t=(0,m.A)((t=>{const n=y(t,q);if(V(!1),!n)return;const{newValue:e}=dt({finger:n,move:!0});F(-1),"touchend"===t.type&&U(-1),O&&O(t,e),q.current=void 0,vt()})),mt=(0,m.A)((t=>{if(r)return;$()||t.preventDefault();const n=t.changedTouches[0];null!=n&&(q.current=n.identifier);const e=y(t,q);if(!1!==e){const{newValue:n,activeIndex:r}=dt({finger:e});S({sliderRef:st,activeIndex:r,setActive:F}),Y(n),X&&!A(n,G)&&X(t,n,r)}W.current=0;const i=(0,l.A)(st.current);i.addEventListener("touchmove",pt,{passive:!0}),i.addEventListener("touchend",_t,{passive:!0})})),vt=o.useCallback((()=>{const t=(0,l.A)(st.current);t.removeEventListener("mousemove",pt),t.removeEventListener("mouseup",_t),t.removeEventListener("touchmove",pt),t.removeEventListener("touchend",_t)}),[_t,pt]);o.useEffect((()=>{const{current:t}=st;return t.addEventListener("touchstart",mt,{passive:$()}),()=>{t.removeEventListener("touchstart",mt),vt()}}),[vt,mt]),o.useEffect((()=>{r&&vt()}),[r,vt]);const gt=x(K?Z[0]:M,M,c),bt=x(Z[Z.length-1],M,c)-gt,wt=t=>n=>{var e;null==(e=t.onMouseLeave)||e.call(t,n),U(-1)};return{active:N,axis:ft,axisProps:C,dragging:H,focusedThumbIndex:it,getHiddenInputProps:(e={})=>{var o;const u=(0,g.h)(e),l={onChange:(h=u||{},t=>{var n;null==(n=h.onChange)||n.call(h,t);const e=Number(t.currentTarget.getAttribute("data-index")),r=Z[e],i=Q.indexOf(r);let o=t.target.valueAsNumber;if(J&&null==D){const t=Q[Q.length-1];o=o>t?t:o{const n=(0,g.h)(t),e={onMouseDown:(o=n||{},t=>{var n;if(null==(n=o.onMouseDown)||n.call(o,t),r)return;if(t.defaultPrevented)return;if(0!==t.button)return;t.preventDefault();const e=y(t,q);if(!1!==e){const{newValue:n,activeIndex:r}=dt({finger:e});S({sliderRef:st,activeIndex:r,setActive:F}),Y(n),X&&!A(n,G)&&X(t,n,r)}W.current=0;const i=(0,l.A)(st.current);i.addEventListener("mousemove",pt,{passive:!0}),i.addEventListener("mouseup",_t)})};var o;const s=(0,i.A)({},n,e);return(0,i.A)({},t,{ref:ut},s)},getThumbProps:(t={})=>{const n=(0,g.h)(t),e={onMouseOver:(r=n||{},t=>{var n;null==(n=r.onMouseOver)||n.call(r,t);const e=Number(t.currentTarget.getAttribute("data-index"));U(e)}),onMouseLeave:wt(n||{})};var r;return(0,i.A)({},t,n,e)},marks:J,open:B,range:K,rootRef:ut,trackLeap:bt,trackOffset:gt,values:Z,getThumbStyle:t=>({pointerEvents:-1!==N&&N!==t?"none":void 0})}}var T=e(18283),O=e(31049),j=e(51148),R=e(48231);var L=e(15622),D=e(55549),P=e(9577);function I(t){return(0,P.Ay)("MuiSlider",t)}const q=(0,D.A)("MuiSlider",["root","active","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","disabled","dragging","focusVisible","mark","markActive","marked","markLabel","markLabelActive","rail","sizeSmall","thumb","thumbColorPrimary","thumbColorSecondary","thumbColorError","thumbColorSuccess","thumbColorInfo","thumbColorWarning","track","trackInverted","trackFalse","thumbSizeSmall","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel","vertical"]);var N=e(69500);const F=["aria-label","aria-valuetext","aria-labelledby","component","components","componentsProps","color","classes","className","disableSwap","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","orientation","size","step","scale","slotProps","slots","tabIndex","track","value","valueLabelDisplay","valueLabelFormat"];function B(t){return t}const U=(0,j.Ay)("span",{name:"MuiSlider",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,n[`color${(0,L.A)(e.color)}`],"medium"!==e.size&&n[`size${(0,L.A)(e.size)}`],e.marked&&n.marked,"vertical"===e.orientation&&n.vertical,"inverted"===e.track&&n.trackInverted,!1===e.track&&n.trackFalse]}})((({theme:t,ownerState:n})=>(0,i.A)({borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",color:(t.vars||t).palette[n.color].main,WebkitTapHighlightColor:"transparent"},"horizontal"===n.orientation&&(0,i.A)({height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}},"small"===n.size&&{height:2},n.marked&&{marginBottom:20}),"vertical"===n.orientation&&(0,i.A)({height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}},"small"===n.size&&{width:2},n.marked&&{marginRight:44}),{"@media print":{colorAdjust:"exact"},[`&.${q.disabled}`]:{pointerEvents:"none",cursor:"default",color:(t.vars||t).palette.grey[400]},[`&.${q.dragging}`]:{[`& .${q.thumb}, & .${q.track}`]:{transition:"none"}}}))),H=(0,j.Ay)("span",{name:"MuiSlider",slot:"Rail",overridesResolver:(t,n)=>n.rail})((({ownerState:t})=>(0,i.A)({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}))),V=(0,j.Ay)("span",{name:"MuiSlider",slot:"Track",overridesResolver:(t,n)=>n.track})((({theme:t,ownerState:n})=>{const e="light"===t.palette.mode?(0,T.a)(t.palette[n.color].main,.62):(0,T.e$)(t.palette[n.color].main,.5);return(0,i.A)({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:t.vars?t.vars.palette.Slider[`${n.color}Track`]:e,borderColor:t.vars?t.vars.palette.Slider[`${n.color}Track`]:e})})),W=(0,j.Ay)("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.thumb,n[`thumbColor${(0,L.A)(e.color)}`],"medium"!==e.size&&n[`thumbSize${(0,L.A)(e.size)}`]]}})((({theme:t,ownerState:n})=>(0,i.A)({position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:t.transitions.create(["box-shadow","left","bottom"],{duration:t.transitions.duration.shortest})},"small"===n.size&&{width:12,height:12},"horizontal"===n.orientation&&{top:"50%",transform:"translate(-50%, -50%)"},"vertical"===n.orientation&&{left:"50%",transform:"translate(-50%, 50%)"},{"&::before":(0,i.A)({position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:(t.vars||t).shadows[2]},"small"===n.size&&{boxShadow:"none"}),"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},[`&:hover, &.${q.focusVisible}`]:{boxShadow:`0px 0px 0px 8px ${t.vars?`rgba(${t.vars.palette[n.color].mainChannel} / 0.16)`:(0,T.X4)(t.palette[n.color].main,.16)}`,"@media (hover: none)":{boxShadow:"none"}},[`&.${q.active}`]:{boxShadow:`0px 0px 0px 14px ${t.vars?`rgba(${t.vars.palette[n.color].mainChannel} / 0.16)`:(0,T.X4)(t.palette[n.color].main,.16)}`},[`&.${q.disabled}`]:{"&:hover":{boxShadow:"none"}}}))),G=(0,j.Ay)((function(t){const{children:n,className:e,value:r}=t,i=(t=>{const{open:n}=t;return{offset:(0,s.A)(n&&q.valueLabelOpen),circle:q.valueLabelCircle,label:q.valueLabelLabel}})(t);return n?o.cloneElement(n,{className:(0,s.A)(n.props.className)},(0,N.jsxs)(o.Fragment,{children:[n.props.children,(0,N.jsx)("span",{className:(0,s.A)(i.offset,e),"aria-hidden":!0,children:(0,N.jsx)("span",{className:i.circle,children:(0,N.jsx)("span",{className:i.label,children:r})})})]})):null}),{name:"MuiSlider",slot:"ValueLabel",overridesResolver:(t,n)=>n.valueLabel})((({theme:t,ownerState:n})=>(0,i.A)({[`&.${q.valueLabelOpen}`]:{transform:("vertical"===n.orientation?"translateY(-50%)":"translateY(-100%)")+" scale(1)"},zIndex:1,whiteSpace:"nowrap"},t.typography.body2,{fontWeight:500,transition:t.transitions.create(["transform"],{duration:t.transitions.duration.shortest}),transform:("vertical"===n.orientation?"translateY(-50%)":"translateY(-100%)")+" scale(0)",position:"absolute",backgroundColor:(t.vars||t).palette.grey[600],borderRadius:2,color:(t.vars||t).palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem"},"horizontal"===n.orientation&&{top:"-10px",transformOrigin:"bottom center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",bottom:0,left:"50%"}},"vertical"===n.orientation&&{right:"small"===n.size?"20px":"30px",top:"50%",transformOrigin:"right center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, -50%) rotate(45deg)",backgroundColor:"inherit",right:-8,top:"50%"}},"small"===n.size&&{fontSize:t.typography.pxToRem(12),padding:"0.25rem 0.5rem"}))),Y=(0,j.Ay)("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:t=>(0,j._n)(t)&&"markActive"!==t,overridesResolver:(t,n)=>{const{markActive:e}=t;return[n.mark,e&&n.markActive]}})((({theme:t,ownerState:n,markActive:e})=>(0,i.A)({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)"},e&&{backgroundColor:(t.vars||t).palette.background.paper,opacity:.8}))),X=(0,j.Ay)("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:t=>(0,j._n)(t)&&"markLabelActive"!==t,overridesResolver:(t,n)=>n.markLabel})((({theme:t,ownerState:n,markLabelActive:e})=>(0,i.A)({},t.typography.body2,{color:(t.vars||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}},e&&{color:(t.vars||t).palette.text.primary}))),K=({children:t})=>t,Z=o.forwardRef((function(t,n){var e,l,h,f,d,p,_,m,v,g,b,w,y,k,S,A,C,E,M,$,T,j,D,P;const q=(0,O.A)({props:t,name:"MuiSlider"}),Z="rtl"===(0,R.default)().direction,{"aria-label":J,"aria-valuetext":Q,"aria-labelledby":tt,component:nt="span",components:et={},componentsProps:rt={},color:it="primary",classes:ot,className:st,disableSwap:at=!1,disabled:ut=!1,getAriaLabel:ct,getAriaValueText:lt,marks:ht=!1,max:ft=100,min:dt=0,orientation:pt="horizontal",size:_t="medium",step:mt=1,scale:vt=B,slotProps:gt,slots:bt,track:wt="normal",valueLabelDisplay:yt="off",valueLabelFormat:xt=B}=q,kt=(0,r.A)(q,F),St=(0,i.A)({},q,{isRtl:Z,max:ft,min:dt,classes:ot,disabled:ut,disableSwap:at,orientation:pt,marks:ht,color:it,size:_t,step:mt,scale:vt,track:wt,valueLabelDisplay:yt,valueLabelFormat:xt}),{axisProps:At,getRootProps:Ct,getHiddenInputProps:Et,getThumbProps:Mt,open:$t,active:zt,axis:Tt,focusedThumbIndex:Ot,range:jt,dragging:Rt,marks:Lt,values:Dt,trackOffset:Pt,trackLeap:It,getThumbStyle:qt}=z((0,i.A)({},St,{rootRef:n}));St.marked=Lt.length>0&&Lt.some((t=>t.label)),St.dragging=Rt,St.focusedThumbIndex=Ot;const Nt=(t=>{const{disabled:n,dragging:e,marked:r,orientation:i,track:o,classes:s,color:u,size:c}=t,l={root:["root",n&&"disabled",e&&"dragging",r&&"marked","vertical"===i&&"vertical","inverted"===o&&"trackInverted",!1===o&&"trackFalse",u&&`color${(0,L.A)(u)}`,c&&`size${(0,L.A)(c)}`],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",n&&"disabled",c&&`thumbSize${(0,L.A)(c)}`,u&&`thumbColor${(0,L.A)(u)}`],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]};return(0,a.A)(l,I,s)})(St),Ft=null!=(e=null!=(l=null==bt?void 0:bt.root)?l:et.Root)?e:U,Bt=null!=(h=null!=(f=null==bt?void 0:bt.rail)?f:et.Rail)?h:H,Ut=null!=(d=null!=(p=null==bt?void 0:bt.track)?p:et.Track)?d:V,Ht=null!=(_=null!=(m=null==bt?void 0:bt.thumb)?m:et.Thumb)?_:W,Vt=null!=(v=null!=(g=null==bt?void 0:bt.valueLabel)?g:et.ValueLabel)?v:G,Wt=null!=(b=null!=(w=null==bt?void 0:bt.mark)?w:et.Mark)?b:Y,Gt=null!=(y=null!=(k=null==bt?void 0:bt.markLabel)?k:et.MarkLabel)?y:X,Yt=null!=(S=null!=(A=null==bt?void 0:bt.input)?A:et.Input)?S:"input",Xt=null!=(C=null==gt?void 0:gt.root)?C:rt.root,Kt=null!=(E=null==gt?void 0:gt.rail)?E:rt.rail,Zt=null!=(M=null==gt?void 0:gt.track)?M:rt.track,Jt=null!=($=null==gt?void 0:gt.thumb)?$:rt.thumb,Qt=null!=(T=null==gt?void 0:gt.valueLabel)?T:rt.valueLabel,tn=null!=(j=null==gt?void 0:gt.mark)?j:rt.mark,nn=null!=(D=null==gt?void 0:gt.markLabel)?D:rt.markLabel,en=null!=(P=null==gt?void 0:gt.input)?P:rt.input,rn=(0,u.Q)({elementType:Ft,getSlotProps:Ct,externalSlotProps:Xt,externalForwardedProps:kt,additionalProps:(0,i.A)({},(fn=Ft,(!fn||!(0,c.g)(fn))&&{as:nt})),ownerState:(0,i.A)({},St,null==Xt?void 0:Xt.ownerState),className:[Nt.root,st]}),on=(0,u.Q)({elementType:Bt,externalSlotProps:Kt,ownerState:St,className:Nt.rail}),sn=(0,u.Q)({elementType:Ut,externalSlotProps:Zt,additionalProps:{style:(0,i.A)({},At[Tt].offset(Pt),At[Tt].leap(It))},ownerState:(0,i.A)({},St,null==Zt?void 0:Zt.ownerState),className:Nt.track}),an=(0,u.Q)({elementType:Ht,getSlotProps:Mt,externalSlotProps:Jt,ownerState:(0,i.A)({},St,null==Jt?void 0:Jt.ownerState),className:Nt.thumb}),un=(0,u.Q)({elementType:Vt,externalSlotProps:Qt,ownerState:(0,i.A)({},St,null==Qt?void 0:Qt.ownerState),className:Nt.valueLabel}),cn=(0,u.Q)({elementType:Wt,externalSlotProps:tn,ownerState:St,className:Nt.mark}),ln=(0,u.Q)({elementType:Gt,externalSlotProps:nn,ownerState:St,className:Nt.markLabel}),hn=(0,u.Q)({elementType:Yt,getSlotProps:Et,externalSlotProps:en,ownerState:St});var fn;return(0,N.jsxs)(Ft,(0,i.A)({},rn,{children:[(0,N.jsx)(Bt,(0,i.A)({},on)),(0,N.jsx)(Ut,(0,i.A)({},sn)),Lt.filter((t=>t.value>=dt&&t.value<=ft)).map(((t,n)=>{const e=x(t.value,dt,ft),r=At[Tt].offset(e);let a;return a=!1===wt?-1!==Dt.indexOf(t.value):"normal"===wt&&(jt?t.value>=Dt[0]&&t.value<=Dt[Dt.length-1]:t.value<=Dt[0])||"inverted"===wt&&(jt?t.value<=Dt[0]||t.value>=Dt[Dt.length-1]:t.value>=Dt[0]),(0,N.jsxs)(o.Fragment,{children:[(0,N.jsx)(Wt,(0,i.A)({"data-index":n},cn,!(0,c.g)(Wt)&&{markActive:a},{style:(0,i.A)({},r,cn.style),className:(0,s.A)(cn.className,a&&Nt.markActive)})),null!=t.label?(0,N.jsx)(Gt,(0,i.A)({"aria-hidden":!0,"data-index":n},ln,!(0,c.g)(Gt)&&{markLabelActive:a},{style:(0,i.A)({},r,ln.style),className:(0,s.A)(Nt.markLabel,ln.className,a&&Nt.markLabelActive),children:t.label})):null]},n)})),Dt.map(((t,n)=>{const e=x(t,dt,ft),r=At[Tt].offset(e),o="off"===yt?K:Vt;return(0,N.jsx)(o,(0,i.A)({},!(0,c.g)(o)&&{valueLabelFormat:xt,valueLabelDisplay:yt,value:"function"==typeof xt?xt(vt(t),n):xt,index:n,open:$t===n||zt===n||"on"===yt,disabled:ut},un,{children:(0,N.jsx)(Ht,(0,i.A)({"data-index":n},an,{className:(0,s.A)(Nt.thumb,an.className,zt===n&&Nt.active,Ot===n&&Nt.focusVisible),style:(0,i.A)({},r,qt(n),an.style),children:(0,N.jsx)(Yt,(0,i.A)({"data-index":n,"aria-label":ct?ct(n):J,"aria-valuenow":vt(t),"aria-labelledby":tt,"aria-valuetext":lt?lt(vt(t),n):Q,value:Dt[n]},hn))}))}),n)}))]}))})),J=Z},7494:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>P,getSnackbarUtilityClass:()=>O,snackbarClasses:()=>j});var r=e(83673),i=e(6614),o=e(7552),s=e(60827),a=e(84086),u=e(24979),c=e(74795),l=e(89301),h=e(69500);function f(t){return t.substring(2).toLowerCase()}function d(t){const{children:n,disableReactTree:e=!1,mouseEvent:r="onClick",onClickAway:i,touchEvent:s="onTouchEnd"}=t,a=o.useRef(!1),d=o.useRef(null),p=o.useRef(!1),_=o.useRef(!1);o.useEffect((()=>(setTimeout((()=>{p.current=!0}),0),()=>{p.current=!1})),[]);const m=(0,u.A)(n.ref,d),v=(0,c.A)((t=>{const n=_.current;_.current=!1;const r=(0,l.A)(d.current);if(!p.current||!d.current||"clientX"in t&&function(t,n){return n.documentElement.clientWidth-1:!r.documentElement.contains(t.target)||d.current.contains(t.target),o||!e&&n||i(t)})),g=t=>e=>{_.current=!0;const r=n.props[t];r&&r(e)},b={ref:m};return!1!==s&&(b[s]=g(s)),o.useEffect((()=>{if(!1!==s){const t=f(s),n=(0,l.A)(d.current),e=()=>{a.current=!0};return n.addEventListener(t,v),n.addEventListener("touchmove",e),()=>{n.removeEventListener(t,v),n.removeEventListener("touchmove",e)}}}),[v,s]),!1!==r&&(b[r]=g(r)),o.useEffect((()=>{if(!1!==r){const t=f(r),n=(0,l.A)(d.current);return n.addEventListener(t,v),()=>{n.removeEventListener(t,v)}}}),[v,r]),(0,h.jsx)(o.Fragment,{children:o.cloneElement(n,b)})}var p=e(31755),_=e(32023),m=e(51148),v=e(48231),g=e(31049),b=e(15622),w=e(4407),y=e(93878),x=e(18283),k=e(83651),S=e(55549),A=e(9577);function C(t){return(0,A.Ay)("MuiSnackbarContent",t)}(0,S.A)("MuiSnackbarContent",["root","message","action"]);const E=["action","className","message","role"],M=(0,m.Ay)(k.A,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(t,n)=>n.root})((({theme:t})=>{const n="light"===t.palette.mode?.8:.98,e=(0,x.tL)(t.palette.background.default,n);return(0,i.A)({},t.typography.body2,{color:t.vars?t.vars.palette.SnackbarContent.color:t.palette.getContrastText(e),backgroundColor:t.vars?t.vars.palette.SnackbarContent.bg:e,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(t.vars||t).shape.borderRadius,flexGrow:1,[t.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}})})),$=(0,m.Ay)("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(t,n)=>n.message})({padding:"8px 0"}),z=(0,m.Ay)("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(t,n)=>n.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),T=o.forwardRef((function(t,n){const e=(0,g.A)({props:t,name:"MuiSnackbarContent"}),{action:o,className:a,message:u,role:c="alert"}=e,l=(0,r.A)(e,E),f=e,d=(t=>{const{classes:n}=t;return(0,s.A)({root:["root"],action:["action"],message:["message"]},C,n)})(f);return(0,h.jsxs)(M,(0,i.A)({role:c,square:!0,elevation:6,className:(0,y.A)(d.root,a),ownerState:f,ref:n},l,{children:[(0,h.jsx)($,{className:d.message,ownerState:f,children:u}),o?(0,h.jsx)(z,{className:d.action,ownerState:f,children:o}):null]}))}));function O(t){return(0,A.Ay)("MuiSnackbar",t)}const j=(0,S.A)("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]),R=["onEnter","onExited"],L=["action","anchorOrigin","autoHideDuration","children","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onBlur","onClose","onFocus","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"],D=(0,m.Ay)("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,n[`anchorOrigin${(0,b.A)(e.anchorOrigin.vertical)}${(0,b.A)(e.anchorOrigin.horizontal)}`]]}})((({theme:t,ownerState:n})=>(0,i.A)({zIndex:(t.vars||t).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},"top"===n.anchorOrigin.vertical?{top:8}:{bottom:8},"left"===n.anchorOrigin.horizontal&&{justifyContent:"flex-start"},"right"===n.anchorOrigin.horizontal&&{justifyContent:"flex-end"},{[t.breakpoints.up("sm")]:(0,i.A)({},"top"===n.anchorOrigin.vertical?{top:24}:{bottom:24},"center"===n.anchorOrigin.horizontal&&{left:"50%",right:"auto",transform:"translateX(-50%)"},"left"===n.anchorOrigin.horizontal&&{left:24,right:"auto"},"right"===n.anchorOrigin.horizontal&&{right:24,left:"auto"})}))),P=o.forwardRef((function(t,n){const e=(0,g.A)({props:t,name:"MuiSnackbar"}),u=(0,v.default)(),l={enter:u.transitions.duration.enteringScreen,exit:u.transitions.duration.leavingScreen},{action:f,anchorOrigin:{vertical:m,horizontal:y}={vertical:"bottom",horizontal:"left"},autoHideDuration:x=null,children:k,className:S,ClickAwayListenerProps:A,ContentProps:C,disableWindowBlurListener:E=!1,message:M,open:$,TransitionComponent:z=w.A,transitionDuration:j=l,TransitionProps:{onEnter:P,onExited:I}={}}=e,q=(0,r.A)(e.TransitionProps,R),N=(0,r.A)(e,L),F=(0,i.A)({},e,{anchorOrigin:{vertical:m,horizontal:y},autoHideDuration:x,disableWindowBlurListener:E,TransitionComponent:z,transitionDuration:j}),B=(t=>{const{classes:n,anchorOrigin:e}=t,r={root:["root",`anchorOrigin${(0,b.A)(e.vertical)}${(0,b.A)(e.horizontal)}`]};return(0,s.A)(r,O,n)})(F),{getRootProps:U,onClickAway:H}=function(t={}){const{autoHideDuration:n=null,disableWindowBlurListener:e=!1,onClose:r,open:s,resumeHideDuration:a}=t,u=(0,p.A)();o.useEffect((()=>{if(s)return document.addEventListener("keydown",t),()=>{document.removeEventListener("keydown",t)};function t(t){t.defaultPrevented||"Escape"!==t.key&&"Esc"!==t.key||null==r||r(t,"escapeKeyDown")}}),[s,r]);const l=(0,c.A)(((t,n)=>{null==r||r(t,n)})),h=(0,c.A)((t=>{r&&null!=t&&u.start(t,(()=>{l(null,"timeout")}))}));o.useEffect((()=>(s&&h(n),u.clear)),[s,n,h,u]);const f=u.clear,d=o.useCallback((()=>{null!=n&&h(null!=a?a:.5*n)}),[n,a,h]),m=t=>n=>{const e=t.onFocus;null==e||e(n),f()},v=t=>n=>{const e=t.onMouseEnter;null==e||e(n),f()},g=t=>n=>{const e=t.onMouseLeave;null==e||e(n),d()};return o.useEffect((()=>{if(!e&&s)return window.addEventListener("focus",d),window.addEventListener("blur",f),()=>{window.removeEventListener("focus",d),window.removeEventListener("blur",f)}}),[e,s,d,f]),{getRootProps:(n={})=>{const e=(0,i.A)({},(0,_.h)(t),(0,_.h)(n));return(0,i.A)({role:"presentation"},n,e,{onBlur:(r=e,t=>{const n=r.onBlur;null==n||n(t),d()}),onFocus:m(e),onMouseEnter:v(e),onMouseLeave:g(e)});var r},onClickAway:t=>{null==r||r(t,"clickaway")}}}((0,i.A)({},F)),[V,W]=o.useState(!0),G=(0,a.Q)({elementType:D,getSlotProps:U,externalForwardedProps:N,ownerState:F,additionalProps:{ref:n},className:[B.root,S]});return!$&&V?null:(0,h.jsx)(d,(0,i.A)({onClickAway:H},A,{children:(0,h.jsx)(D,(0,i.A)({},G,{children:(0,h.jsx)(z,(0,i.A)({appear:!0,in:$,timeout:j,direction:"top"===m?"down":"up",onEnter:(t,n)=>{W(!1),P&&P(t,n)},onExited:t=>{W(!0),I&&I(t)}},q,{children:k||(0,h.jsx)(T,(0,i.A)({message:M,action:f},C))}))}))}))}))},2859:(t,n,e)=>{"use strict";e.d(n,{A:()=>m});var r=e(6614),i=e(83673),o=e(7552),s=e(93878),a=e(60827),u=e(15622),c=e(31049),l=e(51148),h=e(92703),f=e(69500);const d=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],p=(0,l.Ay)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,"inherit"!==e.color&&n[`color${(0,u.A)(e.color)}`],n[`fontSize${(0,u.A)(e.fontSize)}`]]}})((({theme:t,ownerState:n})=>{var e,r,i,o,s,a,u,c,l,h,f,d,p;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:n.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(e=t.transitions)||null==(r=e.create)?void 0:r.call(e,"fill",{duration:null==(i=t.transitions)||null==(i=i.duration)?void 0:i.shorter}),fontSize:{inherit:"inherit",small:(null==(o=t.typography)||null==(s=o.pxToRem)?void 0:s.call(o,20))||"1.25rem",medium:(null==(a=t.typography)||null==(u=a.pxToRem)?void 0:u.call(a,24))||"1.5rem",large:(null==(c=t.typography)||null==(l=c.pxToRem)?void 0:l.call(c,35))||"2.1875rem"}[n.fontSize],color:null!=(h=null==(f=(t.vars||t).palette)||null==(f=f[n.color])?void 0:f.main)?h:{action:null==(d=(t.vars||t).palette)||null==(d=d.action)?void 0:d.active,disabled:null==(p=(t.vars||t).palette)||null==(p=p.action)?void 0:p.disabled,inherit:void 0}[n.color]}})),_=o.forwardRef((function(t,n){const e=(0,c.A)({props:t,name:"MuiSvgIcon"}),{children:l,className:_,color:m="inherit",component:v="svg",fontSize:g="medium",htmlColor:b,inheritViewBox:w=!1,titleAccess:y,viewBox:x="0 0 24 24"}=e,k=(0,i.A)(e,d),S=o.isValidElement(l)&&"svg"===l.type,A=(0,r.A)({},e,{color:m,component:v,fontSize:g,instanceFontSize:t.fontSize,inheritViewBox:w,viewBox:x,hasSvgAsChild:S}),C={};w||(C.viewBox=x);const E=(t=>{const{color:n,fontSize:e,classes:r}=t,i={root:["root","inherit"!==n&&`color${(0,u.A)(n)}`,`fontSize${(0,u.A)(e)}`]};return(0,a.A)(i,h.E,r)})(A);return(0,f.jsxs)(p,(0,r.A)({as:v,className:(0,s.A)(E.root,_),focusable:"false",color:b,"aria-hidden":!y||void 0,role:y?"img":void 0,ref:n},C,k,S&&l.props,{ownerState:A,children:[S?l.props.children:l,y?(0,f.jsx)("title",{children:y}):null]}))}));_.muiName="SvgIcon";const m=_},13728:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>r.A,getSvgIconUtilityClass:()=>i.E,svgIconClasses:()=>i.A});var r=e(2859),i=e(92703)},92703:(t,n,e)=>{"use strict";e.d(n,{A:()=>s,E:()=>o});var r=e(55549),i=e(9577);function o(t){return(0,i.Ay)("MuiSvgIcon",t)}const s=(0,r.A)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"])},53742:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>k,getSwitchUtilityClass:()=>_,switchClasses:()=>m});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(60827),u=e(18283),c=e(15622),l=e(15110),h=e(31049),f=e(51148),d=e(55549),p=e(9577);function _(t){return(0,p.Ay)("MuiSwitch",t)}const m=(0,d.A)("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]);var v=e(69500);const g=["className","color","edge","size","sx"],b=(0,f.Ay)("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,e.edge&&n[`edge${(0,c.A)(e.edge)}`],n[`size${(0,c.A)(e.size)}`]]}})((({ownerState:t})=>(0,i.A)({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"===t.edge&&{marginLeft:-8},"end"===t.edge&&{marginRight:-8},"small"===t.size&&{width:40,height:24,padding:7,[`& .${m.thumb}`]:{width:16,height:16},[`& .${m.switchBase}`]:{padding:4,[`&.${m.checked}`]:{transform:"translateX(16px)"}}}))),w=(0,f.Ay)(l.A,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.switchBase,{[`& .${m.input}`]:n.input},"default"!==e.color&&n[`color${(0,c.A)(e.color)}`]]}})((({theme:t})=>({position:"absolute",top:0,left:0,zIndex:1,color:t.vars?t.vars.palette.Switch.defaultColor:`${"light"===t.palette.mode?t.palette.common.white:t.palette.grey[300]}`,transition:t.transitions.create(["left","transform"],{duration:t.transitions.duration.shortest}),[`&.${m.checked}`]:{transform:"translateX(20px)"},[`&.${m.disabled}`]:{color:t.vars?t.vars.palette.Switch.defaultDisabledColor:`${"light"===t.palette.mode?t.palette.grey[100]:t.palette.grey[600]}`},[`&.${m.checked} + .${m.track}`]:{opacity:.5},[`&.${m.disabled} + .${m.track}`]:{opacity:t.vars?t.vars.opacity.switchTrackDisabled:""+("light"===t.palette.mode?.12:.2)},[`& .${m.input}`]:{left:"-100%",width:"300%"}})),(({theme:t,ownerState:n})=>(0,i.A)({"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.activeChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,u.X4)(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==n.color&&{[`&.${m.checked}`]:{color:(t.vars||t).palette[n.color].main,"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette[n.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,u.X4)(t.palette[n.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${m.disabled}`]:{color:t.vars?t.vars.palette.Switch[`${n.color}DisabledColor`]:`${"light"===t.palette.mode?(0,u.a)(t.palette[n.color].main,.62):(0,u.e$)(t.palette[n.color].main,.55)}`}},[`&.${m.checked} + .${m.track}`]:{backgroundColor:(t.vars||t).palette[n.color].main}}))),y=(0,f.Ay)("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(t,n)=>n.track})((({theme:t})=>({height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:t.transitions.create(["opacity","background-color"],{duration:t.transitions.duration.shortest}),backgroundColor:t.vars?t.vars.palette.common.onBackground:`${"light"===t.palette.mode?t.palette.common.black:t.palette.common.white}`,opacity:t.vars?t.vars.opacity.switchTrack:""+("light"===t.palette.mode?.38:.3)}))),x=(0,f.Ay)("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(t,n)=>n.thumb})((({theme:t})=>({boxShadow:(t.vars||t).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),k=o.forwardRef((function(t,n){const e=(0,h.A)({props:t,name:"MuiSwitch"}),{className:o,color:u="primary",edge:l=!1,size:f="medium",sx:d}=e,p=(0,r.A)(e,g),m=(0,i.A)({},e,{color:u,edge:l,size:f}),k=(t=>{const{classes:n,edge:e,size:r,color:o,checked:s,disabled:u}=t,l={root:["root",e&&`edge${(0,c.A)(e)}`,`size${(0,c.A)(r)}`],switchBase:["switchBase",`color${(0,c.A)(o)}`,s&&"checked",u&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},h=(0,a.A)(l,_,n);return(0,i.A)({},n,h)})(m),S=(0,v.jsx)(x,{className:k.thumb,ownerState:m});return(0,v.jsxs)(b,{className:(0,s.A)(k.root,o),sx:d,ownerState:m,children:[(0,v.jsx)(w,(0,i.A)({type:"checkbox",icon:S,checkedIcon:S,ref:n,ownerState:m},p,{classes:(0,i.A)({},k,{root:k.switchBase})})),(0,v.jsx)(y,{className:k.track,ownerState:m})]})}))},28165:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>b,getTabUtilityClass:()=>p,tabClasses:()=>_});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(60827),u=e(9108),c=e(15622),l=e(31049),h=e(51148),f=e(55549),d=e(9577);function p(t){return(0,d.Ay)("MuiTab",t)}const _=(0,f.A)("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]);var m=e(69500);const v=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],g=(0,h.Ay)(u.A,{name:"MuiTab",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,e.label&&e.icon&&n.labelIcon,n[`textColor${(0,c.A)(e.textColor)}`],e.fullWidth&&n.fullWidth,e.wrapped&&n.wrapped]}})((({theme:t,ownerState:n})=>(0,i.A)({},t.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},n.label&&{flexDirection:"top"===n.iconPosition||"bottom"===n.iconPosition?"column":"row"},{lineHeight:1.25},n.icon&&n.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${_.iconWrapper}`]:(0,i.A)({},"top"===n.iconPosition&&{marginBottom:6},"bottom"===n.iconPosition&&{marginTop:6},"start"===n.iconPosition&&{marginRight:t.spacing(1)},"end"===n.iconPosition&&{marginLeft:t.spacing(1)})},"inherit"===n.textColor&&{color:"inherit",opacity:.6,[`&.${_.selected}`]:{opacity:1},[`&.${_.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity}},"primary"===n.textColor&&{color:(t.vars||t).palette.text.secondary,[`&.${_.selected}`]:{color:(t.vars||t).palette.primary.main},[`&.${_.disabled}`]:{color:(t.vars||t).palette.text.disabled}},"secondary"===n.textColor&&{color:(t.vars||t).palette.text.secondary,[`&.${_.selected}`]:{color:(t.vars||t).palette.secondary.main},[`&.${_.disabled}`]:{color:(t.vars||t).palette.text.disabled}},n.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},n.wrapped&&{fontSize:t.typography.pxToRem(12)}))),b=o.forwardRef((function(t,n){const e=(0,l.A)({props:t,name:"MuiTab"}),{className:u,disabled:h=!1,disableFocusRipple:f=!1,fullWidth:d,icon:_,iconPosition:b="top",indicator:w,label:y,onChange:x,onClick:k,onFocus:S,selected:A,selectionFollowsFocus:C,textColor:E="inherit",value:M,wrapped:$=!1}=e,z=(0,r.A)(e,v),T=(0,i.A)({},e,{disabled:h,disableFocusRipple:f,selected:A,icon:!!_,iconPosition:b,label:!!y,fullWidth:d,textColor:E,wrapped:$}),O=(t=>{const{classes:n,textColor:e,fullWidth:r,wrapped:i,icon:o,label:s,selected:u,disabled:l}=t,h={root:["root",o&&s&&"labelIcon",`textColor${(0,c.A)(e)}`,r&&"fullWidth",i&&"wrapped",u&&"selected",l&&"disabled"],iconWrapper:["iconWrapper"]};return(0,a.A)(h,p,n)})(T),j=_&&y&&o.isValidElement(_)?o.cloneElement(_,{className:(0,s.A)(O.iconWrapper,_.props.className)}):_;return(0,m.jsxs)(g,(0,i.A)({focusRipple:!f,className:(0,s.A)(O.root,u),ref:n,role:"tab","aria-selected":A,disabled:h,onClick:t=>{!A&&x&&x(t,M),k&&k(t)},onFocus:t=>{C&&!A&&x&&x(t,M),S&&S(t)},ownerState:T,tabIndex:A?0:-1},z,{children:["top"===b||"start"===b?(0,m.jsxs)(o.Fragment,{children:[j,y]}):(0,m.jsxs)(o.Fragment,{children:[y,j]}),w]}))}))},15560:(t,n,e)=>{"use strict";e.d(n,{A:()=>r});const r=e(7552).createContext()},70156:(t,n,e)=>{"use strict";e.d(n,{A:()=>r});const r=e(7552).createContext()},29994:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>b,getTableUtilityClass:()=>d,tableClasses:()=>p});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(60827),u=e(15560),c=e(31049),l=e(51148),h=e(55549),f=e(9577);function d(t){return(0,f.Ay)("MuiTable",t)}const p=(0,h.A)("MuiTable",["root","stickyHeader"]);var _=e(69500);const m=["className","component","padding","size","stickyHeader"],v=(0,l.Ay)("table",{name:"MuiTable",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,e.stickyHeader&&n.stickyHeader]}})((({theme:t,ownerState:n})=>(0,i.A)({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":(0,i.A)({},t.typography.body2,{padding:t.spacing(2),color:(t.vars||t).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},n.stickyHeader&&{borderCollapse:"separate"}))),g="table",b=o.forwardRef((function(t,n){const e=(0,c.A)({props:t,name:"MuiTable"}),{className:l,component:h=g,padding:f="normal",size:p="medium",stickyHeader:b=!1}=e,w=(0,r.A)(e,m),y=(0,i.A)({},e,{component:h,padding:f,size:p,stickyHeader:b}),x=(t=>{const{classes:n,stickyHeader:e}=t,r={root:["root",e&&"stickyHeader"]};return(0,a.A)(r,d,n)})(y),k=o.useMemo((()=>({padding:f,size:p,stickyHeader:b})),[f,p,b]);return(0,_.jsx)(u.A.Provider,{value:k,children:(0,_.jsx)(v,(0,i.A)({as:h,role:h===g?null:"table",ref:n,className:(0,s.A)(x.root,l),ownerState:y},w))})}))},8031:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>w,getTableBodyUtilityClass:()=>d,tableBodyClasses:()=>p});var r=e(6614),i=e(83673),o=e(7552),s=e(93878),a=e(60827),u=e(70156),c=e(31049),l=e(51148),h=e(55549),f=e(9577);function d(t){return(0,f.Ay)("MuiTableBody",t)}const p=(0,h.A)("MuiTableBody",["root"]);var _=e(69500);const m=["className","component"],v=(0,l.Ay)("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(t,n)=>n.root})({display:"table-row-group"}),g={variant:"body"},b="tbody",w=o.forwardRef((function(t,n){const e=(0,c.A)({props:t,name:"MuiTableBody"}),{className:o,component:l=b}=e,h=(0,i.A)(e,m),f=(0,r.A)({},e,{component:l}),p=(t=>{const{classes:n}=t;return(0,a.A)({root:["root"]},d,n)})(f);return(0,_.jsx)(u.A.Provider,{value:g,children:(0,_.jsx)(v,(0,r.A)({className:(0,s.A)(p.root,o),as:l,ref:n,role:l===b?null:"rowgroup",ownerState:f},h))})}))},83433:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>y,getTableCellUtilityClass:()=>m,tableCellClasses:()=>v});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(60827),u=e(18283),c=e(15622),l=e(15560),h=e(70156),f=e(31049),d=e(51148),p=e(55549),_=e(9577);function m(t){return(0,_.Ay)("MuiTableCell",t)}const v=(0,p.A)("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]);var g=e(69500);const b=["align","className","component","padding","scope","size","sortDirection","variant"],w=(0,d.Ay)("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,n[e.variant],n[`size${(0,c.A)(e.size)}`],"normal"!==e.padding&&n[`padding${(0,c.A)(e.padding)}`],"inherit"!==e.align&&n[`align${(0,c.A)(e.align)}`],e.stickyHeader&&n.stickyHeader]}})((({theme:t,ownerState:n})=>(0,i.A)({},t.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:t.vars?`1px solid ${t.vars.palette.TableCell.border}`:`1px solid\n ${"light"===t.palette.mode?(0,u.a)((0,u.X4)(t.palette.divider,1),.88):(0,u.e$)((0,u.X4)(t.palette.divider,1),.68)}`,textAlign:"left",padding:16},"head"===n.variant&&{color:(t.vars||t).palette.text.primary,lineHeight:t.typography.pxToRem(24),fontWeight:t.typography.fontWeightMedium},"body"===n.variant&&{color:(t.vars||t).palette.text.primary},"footer"===n.variant&&{color:(t.vars||t).palette.text.secondary,lineHeight:t.typography.pxToRem(21),fontSize:t.typography.pxToRem(12)},"small"===n.size&&{padding:"6px 16px",[`&.${v.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.vars||t).palette.background.default}))),y=o.forwardRef((function(t,n){const e=(0,f.A)({props:t,name:"MuiTableCell"}),{align:u="inherit",className:d,component:p,padding:_,scope:v,size:y,sortDirection:x,variant:k}=e,S=(0,r.A)(e,b),A=o.useContext(l.A),C=o.useContext(h.A),E=C&&"head"===C.variant;let M;M=p||(E?"th":"td");let $=v;"td"===M?$=void 0:!$&&E&&($="col");const z=k||C&&C.variant,T=(0,i.A)({},e,{align:u,component:M,padding:_||(A&&A.padding?A.padding:"normal"),size:y||(A&&A.size?A.size:"medium"),sortDirection:x,stickyHeader:"head"===z&&A&&A.stickyHeader,variant:z}),O=(t=>{const{classes:n,variant:e,align:r,padding:i,size:o,stickyHeader:s}=t,u={root:["root",e,s&&"stickyHeader","inherit"!==r&&`align${(0,c.A)(r)}`,"normal"!==i&&`padding${(0,c.A)(i)}`,`size${(0,c.A)(o)}`]};return(0,a.A)(u,m,n)})(T);let j=null;return x&&(j="asc"===x?"ascending":"descending"),(0,g.jsx)(w,(0,i.A)({as:M,ref:n,className:(0,s.A)(O.root,d),"aria-sort":j,scope:$,ownerState:T},S))}))},35713:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>w,getTableHeadUtilityClass:()=>d,tableHeadClasses:()=>p});var r=e(6614),i=e(83673),o=e(7552),s=e(93878),a=e(60827),u=e(70156),c=e(31049),l=e(51148),h=e(55549),f=e(9577);function d(t){return(0,f.Ay)("MuiTableHead",t)}const p=(0,h.A)("MuiTableHead",["root"]);var _=e(69500);const m=["className","component"],v=(0,l.Ay)("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(t,n)=>n.root})({display:"table-header-group"}),g={variant:"head"},b="thead",w=o.forwardRef((function(t,n){const e=(0,c.A)({props:t,name:"MuiTableHead"}),{className:o,component:l=b}=e,h=(0,i.A)(e,m),f=(0,r.A)({},e,{component:l}),p=(t=>{const{classes:n}=t;return(0,a.A)({root:["root"]},d,n)})(f);return(0,_.jsx)(u.A.Provider,{value:g,children:(0,_.jsx)(v,(0,r.A)({as:l,className:(0,s.A)(p.root,o),ref:n,role:l===b?null:"rowgroup",ownerState:f},h))})}))},36831:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>w,getTableRowUtilityClass:()=>p,tableRowClasses:()=>_});var r=e(6614),i=e(83673),o=e(7552),s=e(93878),a=e(60827),u=e(18283),c=e(70156),l=e(31049),h=e(51148),f=e(55549),d=e(9577);function p(t){return(0,d.Ay)("MuiTableRow",t)}const _=(0,f.A)("MuiTableRow",["root","selected","hover","head","footer"]);var m=e(69500);const v=["className","component","hover","selected"],g=(0,h.Ay)("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,e.head&&n.head,e.footer&&n.footer]}})((({theme:t})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${_.hover}:hover`]:{backgroundColor:(t.vars||t).palette.action.hover},[`&.${_.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:(0,u.X4)(t.palette.primary.main,t.palette.action.selectedOpacity),"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:(0,u.X4)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity)}}}))),b="tr",w=o.forwardRef((function(t,n){const e=(0,l.A)({props:t,name:"MuiTableRow"}),{className:u,component:h=b,hover:f=!1,selected:d=!1}=e,_=(0,i.A)(e,v),w=o.useContext(c.A),y=(0,r.A)({},e,{component:h,hover:f,selected:d,head:w&&"head"===w.variant,footer:w&&"footer"===w.variant}),x=(t=>{const{classes:n,selected:e,hover:r,head:i,footer:o}=t,s={root:["root",e&&"selected",r&&"hover",i&&"head",o&&"footer"]};return(0,a.A)(s,p,n)})(y);return(0,m.jsx)(g,(0,r.A)({as:h,ref:n,className:(0,s.A)(x.root,u),role:h===b?null:"row",ownerState:y},_))}))},83514:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>G,getTabsUtilityClass:()=>R,tabsClasses:()=>L});var r=e(83673),i=e(6614),o=e(7552),s=(e(96830),e(93878)),a=e(60827),u=e(84086),c=e(51148),l=e(31049),h=e(48231),f=e(987);let d;function p(){if(d)return d;const t=document.createElement("div"),n=document.createElement("div");return n.style.width="10px",n.style.height="1px",t.appendChild(n),t.dir="rtl",t.style.fontSize="14px",t.style.width="4px",t.style.height="1px",t.style.position="absolute",t.style.top="-1000px",t.style.overflow="scroll",document.body.appendChild(t),d="reverse",t.scrollLeft>0?d="default":(t.scrollLeft=1,0===t.scrollLeft&&(d="negative")),document.body.removeChild(t),d}function _(t,n){const e=t.scrollLeft;if("rtl"!==n)return e;switch(p()){case"negative":return t.scrollWidth-t.clientWidth+e;case"reverse":return t.scrollWidth-t.clientWidth-e;default:return e}}function m(t){return(1+Math.sin(Math.PI*t-Math.PI/2))/2}var v=e(82910),g=e(46689),b=e(69500);const w=["onChange"],y={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};var x=e(74893);const k=(0,x.A)((0,b.jsx)("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),S=(0,x.A)((0,b.jsx)("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");var A=e(9108),C=e(55549),E=e(9577);function M(t){return(0,E.Ay)("MuiTabScrollButton",t)}const $=(0,C.A)("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),z=["className","slots","slotProps","direction","orientation","disabled"],T=(0,c.Ay)(A.A,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,e.orientation&&n[e.orientation]]}})((({ownerState:t})=>(0,i.A)({width:40,flexShrink:0,opacity:.8,[`&.${$.disabled}`]:{opacity:0}},"vertical"===t.orientation&&{width:"100%",height:40,"& svg":{transform:`rotate(${t.isRtl?-90:90}deg)`}}))),O=o.forwardRef((function(t,n){var e,o;const c=(0,l.A)({props:t,name:"MuiTabScrollButton"}),{className:f,slots:d={},slotProps:p={},direction:_}=c,m=(0,r.A)(c,z),v="rtl"===(0,h.default)().direction,g=(0,i.A)({isRtl:v},c),w=(t=>{const{classes:n,orientation:e,disabled:r}=t,i={root:["root",e,r&&"disabled"]};return(0,a.A)(i,M,n)})(g),y=null!=(e=d.StartScrollButtonIcon)?e:k,x=null!=(o=d.EndScrollButtonIcon)?o:S,A=(0,u.Q)({elementType:y,externalSlotProps:p.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:g}),C=(0,u.Q)({elementType:x,externalSlotProps:p.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:g});return(0,b.jsx)(T,(0,i.A)({component:"div",className:(0,s.A)(w.root,f),ref:n,role:null,ownerState:g,tabIndex:null},m,{children:"left"===_?(0,b.jsx)(y,(0,i.A)({},A)):(0,b.jsx)(x,(0,i.A)({},C))}))}));var j=e(87422);function R(t){return(0,E.Ay)("MuiTabs",t)}const L=(0,C.A)("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]);var D=e(6676);const P=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],I=(t,n)=>t===n?t.firstChild:n&&n.nextElementSibling?n.nextElementSibling:t.firstChild,q=(t,n)=>t===n?t.lastChild:n&&n.previousElementSibling?n.previousElementSibling:t.lastChild,N=(t,n,e)=>{let r=!1,i=e(t,n);for(;i;){if(i===t.firstChild){if(r)return;r=!0}const n=i.disabled||"true"===i.getAttribute("aria-disabled");if(i.hasAttribute("tabindex")&&!n)return void i.focus();i=e(t,i)}},F=(0,c.Ay)("div",{name:"MuiTabs",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[{[`& .${L.scrollButtons}`]:n.scrollButtons},{[`& .${L.scrollButtons}`]:e.scrollButtonsHideMobile&&n.scrollButtonsHideMobile},n.root,e.vertical&&n.vertical]}})((({ownerState:t,theme:n})=>(0,i.A)({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},t.vertical&&{flexDirection:"column"},t.scrollButtonsHideMobile&&{[`& .${L.scrollButtons}`]:{[n.breakpoints.down("sm")]:{display:"none"}}}))),B=(0,c.Ay)("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.scroller,e.fixed&&n.fixed,e.hideScrollbar&&n.hideScrollbar,e.scrollableX&&n.scrollableX,e.scrollableY&&n.scrollableY]}})((({ownerState:t})=>(0,i.A)({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"}))),U=(0,c.Ay)("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.flexContainer,e.vertical&&n.flexContainerVertical,e.centered&&n.centered]}})((({ownerState:t})=>(0,i.A)({display:"flex"},t.vertical&&{flexDirection:"column"},t.centered&&{justifyContent:"center"}))),H=(0,c.Ay)("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(t,n)=>n.indicator})((({ownerState:t,theme:n})=>(0,i.A)({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}))),V=(0,c.Ay)((function(t){const{onChange:n}=t,e=(0,r.A)(t,w),s=o.useRef(),a=o.useRef(null),u=()=>{s.current=a.current.offsetHeight-a.current.clientHeight};return(0,v.A)((()=>{const t=(0,f.A)((()=>{const t=s.current;u(),t!==s.current&&n(s.current)})),e=(0,g.A)(a.current);return e.addEventListener("resize",t),()=>{t.clear(),e.removeEventListener("resize",t)}}),[n]),o.useEffect((()=>{u(),n(s.current)}),[n]),(0,b.jsx)("div",(0,i.A)({style:y,ref:a},e))}))({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),W={},G=o.forwardRef((function(t,n){const e=(0,l.A)({props:t,name:"MuiTabs"}),c=(0,h.default)(),d="rtl"===c.direction,{"aria-label":v,"aria-labelledby":w,action:y,centered:x=!1,children:k,className:S,component:A="div",allowScrollButtonsMobile:C=!1,indicatorColor:E="primary",onChange:M,orientation:$="horizontal",ScrollButtonComponent:z=O,scrollButtons:T="auto",selectionFollowsFocus:L,slots:G={},slotProps:Y={},TabIndicatorProps:X={},TabScrollButtonProps:K={},textColor:Z="primary",value:J,variant:Q="standard",visibleScrollbar:tt=!1}=e,nt=(0,r.A)(e,P),et="scrollable"===Q,rt="vertical"===$,it=rt?"scrollTop":"scrollLeft",ot=rt?"top":"left",st=rt?"bottom":"right",at=rt?"clientHeight":"clientWidth",ut=rt?"height":"width",ct=(0,i.A)({},e,{component:A,allowScrollButtonsMobile:C,indicatorColor:E,orientation:$,vertical:rt,scrollButtons:T,textColor:Z,variant:Q,visibleScrollbar:tt,fixed:!et,hideScrollbar:et&&!tt,scrollableX:et&&!rt,scrollableY:et&&rt,centered:x&&!et,scrollButtonsHideMobile:!C}),lt=(t=>{const{vertical:n,fixed:e,hideScrollbar:r,scrollableX:i,scrollableY:o,centered:s,scrollButtonsHideMobile:u,classes:c}=t,l={root:["root",n&&"vertical"],scroller:["scroller",e&&"fixed",r&&"hideScrollbar",i&&"scrollableX",o&&"scrollableY"],flexContainer:["flexContainer",n&&"flexContainerVertical",s&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",u&&"scrollButtonsHideMobile"],scrollableX:[i&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]};return(0,a.A)(l,R,c)})(ct),ht=(0,u.Q)({elementType:G.StartScrollButtonIcon,externalSlotProps:Y.startScrollButtonIcon,ownerState:ct}),ft=(0,u.Q)({elementType:G.EndScrollButtonIcon,externalSlotProps:Y.endScrollButtonIcon,ownerState:ct}),[dt,pt]=o.useState(!1),[_t,mt]=o.useState(W),[vt,gt]=o.useState(!1),[bt,wt]=o.useState(!1),[yt,xt]=o.useState(!1),[kt,St]=o.useState({overflow:"hidden",scrollbarWidth:0}),At=new Map,Ct=o.useRef(null),Et=o.useRef(null),Mt=()=>{const t=Ct.current;let n,e;if(t){const e=t.getBoundingClientRect();n={clientWidth:t.clientWidth,scrollLeft:t.scrollLeft,scrollTop:t.scrollTop,scrollLeftNormalized:_(t,c.direction),scrollWidth:t.scrollWidth,top:e.top,bottom:e.bottom,left:e.left,right:e.right}}if(t&&!1!==J){const t=Et.current.children;if(t.length>0){const n=t[At.get(J)];e=n?n.getBoundingClientRect():null}}return{tabsMeta:n,tabMeta:e}},$t=(0,j.A)((()=>{const{tabsMeta:t,tabMeta:n}=Mt();let e,r=0;if(rt)e="top",n&&t&&(r=n.top-t.top+t.scrollTop);else if(e=d?"right":"left",n&&t){const i=d?t.scrollLeftNormalized+t.clientWidth-t.scrollWidth:t.scrollLeft;r=(d?-1:1)*(n[e]-t[e]+i)}const i={[e]:r,[ut]:n?n[ut]:0};if(isNaN(_t[e])||isNaN(_t[ut]))mt(i);else{const t=Math.abs(_t[e]-i[e]),n=Math.abs(_t[ut]-i[ut]);(t>=1||n>=1)&&mt(i)}})),zt=(t,{animation:n=!0}={})=>{n?function(t,n,e,r={},i=(()=>{})){const{ease:o=m,duration:s=300}=r;let a=null;const u=n[t];let c=!1;const l=r=>{if(c)return void i(new Error("Animation cancelled"));null===a&&(a=r);const h=Math.min(1,(r-a)/s);n[t]=o(h)*(e-u)+u,h>=1?requestAnimationFrame((()=>{i(null)})):requestAnimationFrame(l)};u===e?i(new Error("Element already at target position")):requestAnimationFrame(l)}(it,Ct.current,t,{duration:c.transitions.duration.standard}):Ct.current[it]=t},Tt=t=>{let n=Ct.current[it];rt?n+=t:(n+=t*(d?-1:1),n*=d&&"reverse"===p()?-1:1),zt(n)},Ot=()=>{const t=Ct.current[at];let n=0;const e=Array.from(Et.current.children);for(let r=0;rt){0===r&&(n=t);break}n+=i[at]}return n},jt=()=>{Tt(-1*Ot())},Rt=()=>{Tt(Ot())},Lt=o.useCallback((t=>{St({overflow:null,scrollbarWidth:t})}),[]),Dt=(0,j.A)((t=>{const{tabsMeta:n,tabMeta:e}=Mt();if(e&&n)if(e[ot]n[st]){const r=n[it]+(e[st]-n[st]);zt(r,{animation:t})}})),Pt=(0,j.A)((()=>{et&&!1!==T&&xt(!yt)}));o.useEffect((()=>{const t=(0,f.A)((()=>{Ct.current&&$t()}));let n;const e=(0,g.A)(Ct.current);let r;return e.addEventListener("resize",t),"undefined"!=typeof ResizeObserver&&(n=new ResizeObserver(t),Array.from(Et.current.children).forEach((t=>{n.observe(t)}))),"undefined"!=typeof MutationObserver&&(r=new MutationObserver((e=>{e.forEach((t=>{t.removedNodes.forEach((t=>{var e;null==(e=n)||e.unobserve(t)})),t.addedNodes.forEach((t=>{var e;null==(e=n)||e.observe(t)}))})),t(),Pt()})),r.observe(Et.current,{childList:!0})),()=>{var i,o;t.clear(),e.removeEventListener("resize",t),null==(i=r)||i.disconnect(),null==(o=n)||o.disconnect()}}),[$t,Pt]),o.useEffect((()=>{const t=Array.from(Et.current.children),n=t.length;if("undefined"!=typeof IntersectionObserver&&n>0&&et&&!1!==T){const e=t[0],r=t[n-1],i={root:Ct.current,threshold:.99},o=new IntersectionObserver((t=>{gt(!t[0].isIntersecting)}),i);o.observe(e);const s=new IntersectionObserver((t=>{wt(!t[0].isIntersecting)}),i);return s.observe(r),()=>{o.disconnect(),s.disconnect()}}}),[et,T,yt,null==k?void 0:k.length]),o.useEffect((()=>{pt(!0)}),[]),o.useEffect((()=>{$t()})),o.useEffect((()=>{Dt(W!==_t)}),[Dt,_t]),o.useImperativeHandle(y,(()=>({updateIndicator:$t,updateScrollButtons:Pt})),[$t,Pt]);const It=(0,b.jsx)(H,(0,i.A)({},X,{className:(0,s.A)(lt.indicator,X.className),ownerState:ct,style:(0,i.A)({},_t,X.style)}));let qt=0;const Nt=o.Children.map(k,(t=>{if(!o.isValidElement(t))return null;const n=void 0===t.props.value?qt:t.props.value;At.set(n,qt);const e=n===J;return qt+=1,o.cloneElement(t,(0,i.A)({fullWidth:"fullWidth"===Q,indicator:e&&!dt&&It,selected:e,selectionFollowsFocus:L,onChange:M,textColor:Z,value:n},1!==qt||!1!==J||t.props.tabIndex?{}:{tabIndex:0}))})),Ft=(()=>{const t={};t.scrollbarSizeListener=et?(0,b.jsx)(V,{onChange:Lt,className:(0,s.A)(lt.scrollableX,lt.hideScrollbar)}):null;const n=et&&("auto"===T&&(vt||bt)||!0===T);return t.scrollButtonStart=n?(0,b.jsx)(z,(0,i.A)({slots:{StartScrollButtonIcon:G.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:ht},orientation:$,direction:d?"right":"left",onClick:jt,disabled:!vt},K,{className:(0,s.A)(lt.scrollButtons,K.className)})):null,t.scrollButtonEnd=n?(0,b.jsx)(z,(0,i.A)({slots:{EndScrollButtonIcon:G.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:ft},orientation:$,direction:d?"left":"right",onClick:Rt,disabled:!bt},K,{className:(0,s.A)(lt.scrollButtons,K.className)})):null,t})();return(0,b.jsxs)(F,(0,i.A)({className:(0,s.A)(lt.root,S),ownerState:ct,ref:n,as:A},nt,{children:[Ft.scrollButtonStart,Ft.scrollbarSizeListener,(0,b.jsxs)(B,{className:lt.scroller,ownerState:ct,style:{overflow:kt.overflow,[rt?"margin"+(d?"Left":"Right"):"marginBottom"]:tt?void 0:-kt.scrollbarWidth},ref:Ct,children:[(0,b.jsx)(U,{"aria-label":v,"aria-labelledby":w,"aria-orientation":"vertical"===$?"vertical":null,className:lt.flexContainer,ownerState:ct,onKeyDown:t=>{const n=Et.current,e=(0,D.A)(n).activeElement;if("tab"!==e.getAttribute("role"))return;let r="horizontal"===$?"ArrowLeft":"ArrowUp",i="horizontal"===$?"ArrowRight":"ArrowDown";switch("horizontal"===$&&d&&(r="ArrowRight",i="ArrowLeft"),t.key){case r:t.preventDefault(),N(n,e,q);break;case i:t.preventDefault(),N(n,e,I);break;case"Home":t.preventDefault(),N(n,null,I);break;case"End":t.preventDefault(),N(n,null,q)}},ref:Et,role:"tablist",children:Nt}),dt&&It]}),Ft.scrollButtonEnd]}))}))},55095:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>C,getTextFieldUtilityClass:()=>w,textFieldClasses:()=>y});var r=e(6614),i=e(83673),o=e(7552),s=e(93878),a=e(60827),u=e(61941),c=e(51148),l=e(31049),h=e(60947),f=e(69423),d=e(7157),p=e(17125),_=e(48171),m=e(25467),v=e(41887),g=e(55549),b=e(9577);function w(t){return(0,b.Ay)("MuiTextField",t)}const y=(0,g.A)("MuiTextField",["root"]);var x=e(69500);const k=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],S={standard:h.A,filled:f.A,outlined:d.A},A=(0,c.Ay)(_.A,{name:"MuiTextField",slot:"Root",overridesResolver:(t,n)=>n.root})({}),C=o.forwardRef((function(t,n){const e=(0,l.A)({props:t,name:"MuiTextField"}),{autoComplete:o,autoFocus:c=!1,children:h,className:f,color:d="primary",defaultValue:_,disabled:g=!1,error:b=!1,FormHelperTextProps:y,fullWidth:C=!1,helperText:E,id:M,InputLabelProps:$,inputProps:z,InputProps:T,inputRef:O,label:j,maxRows:R,minRows:L,multiline:D=!1,name:P,onBlur:I,onChange:q,onFocus:N,placeholder:F,required:B=!1,rows:U,select:H=!1,SelectProps:V,type:W,value:G,variant:Y="outlined"}=e,X=(0,i.A)(e,k),K=(0,r.A)({},e,{autoFocus:c,color:d,disabled:g,error:b,fullWidth:C,multiline:D,required:B,select:H,variant:Y}),Z=(t=>{const{classes:n}=t;return(0,a.A)({root:["root"]},w,n)})(K),J={};"outlined"===Y&&($&&void 0!==$.shrink&&(J.notched=$.shrink),J.label=j),H&&(V&&V.native||(J.id=void 0),J["aria-describedby"]=void 0);const Q=(0,u.A)(M),tt=E&&Q?`${Q}-helper-text`:void 0,nt=j&&Q?`${Q}-label`:void 0,et=S[Y],rt=(0,x.jsx)(et,(0,r.A)({"aria-describedby":tt,autoComplete:o,autoFocus:c,defaultValue:_,fullWidth:C,multiline:D,name:P,rows:U,maxRows:R,minRows:L,type:W,value:G,id:Q,inputRef:O,onBlur:I,onChange:q,onFocus:N,placeholder:F,inputProps:z},J,T));return(0,x.jsxs)(A,(0,r.A)({className:(0,s.A)(Z.root,f),disabled:g,error:b,fullWidth:C,ref:n,required:B,color:d,variant:Y,ownerState:K},X,{children:[null!=j&&""!==j&&(0,x.jsx)(p.A,(0,r.A)({htmlFor:Q,id:nt},$,{children:j})),H?(0,x.jsx)(v.A,(0,r.A)({"aria-describedby":tt,id:Q,labelId:nt,value:G,input:rt},V,{children:h})):rt,E&&(0,x.jsx)(m.A,(0,r.A)({id:tt},y,{children:E}))]}))}))},68319:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>x,getToggleButtonUtilityClass:()=>p.J,toggleButtonClasses:()=>p.A});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(25475),u=e(60827),c=e(18283),l=e(9108),h=e(15622),f=e(31049),d=e(51148),p=e(72225),_=e(88996),m=e(6832);function v(t,n){return void 0!==n&&void 0!==t&&(Array.isArray(n)?n.indexOf(t)>=0:t===n)}var g=e(69500);const b=["value"],w=["children","className","color","disabled","disableFocusRipple","fullWidth","onChange","onClick","selected","size","value"],y=(0,d.Ay)(l.A,{name:"MuiToggleButton",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,n[`size${(0,h.A)(e.size)}`]]}})((({theme:t,ownerState:n})=>{let e,r="standard"===n.color?t.palette.text.primary:t.palette[n.color].main;return t.vars&&(r="standard"===n.color?t.vars.palette.text.primary:t.vars.palette[n.color].main,e="standard"===n.color?t.vars.palette.text.primaryChannel:t.vars.palette[n.color].mainChannel),(0,i.A)({},t.typography.button,{borderRadius:(t.vars||t).shape.borderRadius,padding:11,border:`1px solid ${(t.vars||t).palette.divider}`,color:(t.vars||t).palette.action.active},n.fullWidth&&{width:"100%"},{[`&.${p.A.disabled}`]:{color:(t.vars||t).palette.action.disabled,border:`1px solid ${(t.vars||t).palette.action.disabledBackground}`},"&:hover":{textDecoration:"none",backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,c.X4)(t.palette.text.primary,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${p.A.selected}`]:{color:r,backgroundColor:t.vars?`rgba(${e} / ${t.vars.palette.action.selectedOpacity})`:(0,c.X4)(r,t.palette.action.selectedOpacity),"&:hover":{backgroundColor:t.vars?`rgba(${e} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:(0,c.X4)(r,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${e} / ${t.vars.palette.action.selectedOpacity})`:(0,c.X4)(r,t.palette.action.selectedOpacity)}}}},"small"===n.size&&{padding:7,fontSize:t.typography.pxToRem(13)},"large"===n.size&&{padding:15,fontSize:t.typography.pxToRem(15)})})),x=o.forwardRef((function(t,n){const e=o.useContext(_.A),{value:c}=e,l=(0,r.A)(e,b),d=o.useContext(m.A),x=(0,a.A)((0,i.A)({},l,{selected:v(t.value,c)}),t),k=(0,f.A)({props:x,name:"MuiToggleButton"}),{children:S,className:A,color:C="standard",disabled:E=!1,disableFocusRipple:M=!1,fullWidth:$=!1,onChange:z,onClick:T,selected:O,size:j="medium",value:R}=k,L=(0,r.A)(k,w),D=(0,i.A)({},k,{color:C,disabled:E,disableFocusRipple:M,fullWidth:$,size:j}),P=(t=>{const{classes:n,fullWidth:e,selected:r,disabled:i,size:o,color:s}=t,a={root:["root",r&&"selected",i&&"disabled",e&&"fullWidth",`size${(0,h.A)(o)}`,s]};return(0,u.A)(a,p.J,n)})(D),I=d||"";return(0,g.jsx)(y,(0,i.A)({className:(0,s.A)(l.className,P.root,A,I),disabled:E,focusRipple:!M,ref:n,onClick:t=>{T&&(T(t,R),t.defaultPrevented)||z&&z(t,R)},onChange:z,value:R,ownerState:D,"aria-pressed":O},L,{children:S}))}))},72225:(t,n,e)=>{"use strict";e.d(n,{A:()=>s,J:()=>o});var r=e(55549),i=e(9577);function o(t){return(0,i.Ay)("MuiToggleButton",t)}const s=(0,r.A)("MuiToggleButton",["root","disabled","selected","standard","primary","secondary","sizeSmall","sizeMedium","sizeLarge","fullWidth"])},6832:(t,n,e)=>{"use strict";e.d(n,{A:()=>r});const r=e(7552).createContext(void 0)},88996:(t,n,e)=>{"use strict";e.d(n,{A:()=>r});const r=e(7552).createContext({})},22806:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>x,getToggleButtonGroupUtilityClass:()=>p,toggleButtonGroupClasses:()=>_});var r=e(83673),i=e(6614),o=e(7552),s=(e(96830),e(93878)),a=e(60827),u=e(48285),c=e(51148),l=e(31049),h=e(15622),f=e(55549),d=e(9577);function p(t){return(0,d.Ay)("MuiToggleButtonGroup",t)}const _=(0,f.A)("MuiToggleButtonGroup",["root","selected","vertical","disabled","grouped","groupedHorizontal","groupedVertical","fullWidth","firstButton","lastButton","middleButton"]);var m=e(88996),v=e(6832),g=e(72225),b=e(69500);const w=["children","className","color","disabled","exclusive","fullWidth","onChange","orientation","size","value"],y=(0,c.Ay)("div",{name:"MuiToggleButtonGroup",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[{[`& .${_.grouped}`]:n.grouped},{[`& .${_.grouped}`]:n[`grouped${(0,h.A)(e.orientation)}`]},{[`& .${_.firstButton}`]:n.firstButton},{[`& .${_.lastButton}`]:n.lastButton},{[`& .${_.middleButton}`]:n.middleButton},n.root,"vertical"===e.orientation&&n.vertical,e.fullWidth&&n.fullWidth]}})((({ownerState:t,theme:n})=>(0,i.A)({display:"inline-flex",borderRadius:(n.vars||n).shape.borderRadius},"vertical"===t.orientation&&{flexDirection:"column"},t.fullWidth&&{width:"100%"},{[`& .${_.grouped}`]:(0,i.A)({},"horizontal"===t.orientation?{[`&.${_.selected} + .${_.grouped}.${_.selected}`]:{borderLeft:0,marginLeft:0}}:{[`&.${_.selected} + .${_.grouped}.${_.selected}`]:{borderTop:0,marginTop:0}})},"horizontal"===t.orientation?{[`& .${_.firstButton},& .${_.middleButton}`]:{borderTopRightRadius:0,borderBottomRightRadius:0},[`& .${_.lastButton},& .${_.middleButton}`]:{marginLeft:-1,borderLeft:"1px solid transparent",borderTopLeftRadius:0,borderBottomLeftRadius:0}}:{[`& .${_.firstButton},& .${_.middleButton}`]:{borderBottomLeftRadius:0,borderBottomRightRadius:0},[`& .${_.lastButton},& .${_.middleButton}`]:{marginTop:-1,borderTop:"1px solid transparent",borderTopLeftRadius:0,borderTopRightRadius:0}},"horizontal"===t.orientation?{[`& .${_.lastButton}.${g.A.disabled},& .${_.middleButton}.${g.A.disabled}`]:{borderLeft:"1px solid transparent"}}:{[`& .${_.lastButton}.${g.A.disabled},& .${_.middleButton}.${g.A.disabled}`]:{borderTop:"1px solid transparent"}}))),x=o.forwardRef((function(t,n){const e=(0,l.A)({props:t,name:"MuiToggleButtonGroup"}),{children:c,className:f,color:d="standard",disabled:_=!1,exclusive:g=!1,fullWidth:x=!1,onChange:k,orientation:S="horizontal",size:A="medium",value:C}=e,E=(0,r.A)(e,w),M=(0,i.A)({},e,{disabled:_,fullWidth:x,orientation:S,size:A}),$=(t=>{const{classes:n,orientation:e,fullWidth:r,disabled:i}=t,o={root:["root","vertical"===e&&"vertical",r&&"fullWidth"],grouped:["grouped",`grouped${(0,h.A)(e)}`,i&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]};return(0,a.A)(o,p,n)})(M),z=o.useCallback(((t,n)=>{if(!k)return;const e=C&&C.indexOf(n);let r;C&&e>=0?(r=C.slice(),r.splice(e,1)):r=C?C.concat(n):[n],k(t,r)}),[k,C]),T=o.useCallback(((t,n)=>{k&&k(t,C===n?null:n)}),[k,C]),O=o.useMemo((()=>({className:$.grouped,onChange:g?T:z,value:C,size:A,fullWidth:x,color:d,disabled:_})),[$.grouped,g,T,z,C,A,x,d,_]),j=(0,u.A)(c),R=j.length,L=t=>{const n=0===t,e=t===R-1;return n&&e?"":n?$.firstButton:e?$.lastButton:$.middleButton};return(0,b.jsx)(y,(0,i.A)({role:"group",className:(0,s.A)($.root,f),ref:n,ownerState:M},E,{children:(0,b.jsx)(m.A.Provider,{value:O,children:j.map(((t,n)=>(0,b.jsx)(v.A.Provider,{value:L(n),children:t},n)))})}))}))},68010:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>v,getToolbarUtilityClass:()=>f,toolbarClasses:()=>d});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(60827),u=e(31049),c=e(51148),l=e(55549),h=e(9577);function f(t){return(0,h.Ay)("MuiToolbar",t)}const d=(0,l.A)("MuiToolbar",["root","gutters","regular","dense"]);var p=e(69500);const _=["className","component","disableGutters","variant"],m=(0,c.Ay)("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,!e.disableGutters&&n.gutters,n[e.variant]]}})((({theme:t,ownerState:n})=>(0,i.A)({position:"relative",display:"flex",alignItems:"center"},!n.disableGutters&&{paddingLeft:t.spacing(2),paddingRight:t.spacing(2),[t.breakpoints.up("sm")]:{paddingLeft:t.spacing(3),paddingRight:t.spacing(3)}},"dense"===n.variant&&{minHeight:48})),(({theme:t,ownerState:n})=>"regular"===n.variant&&t.mixins.toolbar)),v=o.forwardRef((function(t,n){const e=(0,u.A)({props:t,name:"MuiToolbar"}),{className:o,component:c="div",disableGutters:l=!1,variant:h="regular"}=e,d=(0,r.A)(e,_),v=(0,i.A)({},e,{component:c,disableGutters:l,variant:h}),g=(t=>{const{classes:n,disableGutters:e,variant:r}=t,i={root:["root",!e&&"gutters",r]};return(0,a.A)(i,f,n)})(v);return(0,p.jsx)(m,(0,i.A)({as:c,className:(0,s.A)(g.root,o),ref:n,ownerState:v},d))}))},96837:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>cn,getTooltipUtilityClass:()=>Jt,tooltipClasses:()=>Qt});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(31755),u=e(60827),c=e(29941),l=e(18283),h=e(51148),f=e(48231),d=e(31049),p=e(15622),_=e(4407),m=e(24979),v=e(94921),g=e(89301);function b(t){if(null==t)return window;if("[object Window]"!==t.toString()){var n=t.ownerDocument;return n&&n.defaultView||window}return t}function w(t){return t instanceof b(t).Element||t instanceof Element}function y(t){return t instanceof b(t).HTMLElement||t instanceof HTMLElement}function x(t){return"undefined"!=typeof ShadowRoot&&(t instanceof b(t).ShadowRoot||t instanceof ShadowRoot)}var k=Math.max,S=Math.min,A=Math.round;function C(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}function E(){return!/^((?!chrome|android).)*safari/i.test(C())}function M(t,n,e){void 0===n&&(n=!1),void 0===e&&(e=!1);var r=t.getBoundingClientRect(),i=1,o=1;n&&y(t)&&(i=t.offsetWidth>0&&A(r.width)/t.offsetWidth||1,o=t.offsetHeight>0&&A(r.height)/t.offsetHeight||1);var s=(w(t)?b(t):window).visualViewport,a=!E()&&e,u=(r.left+(a&&s?s.offsetLeft:0))/i,c=(r.top+(a&&s?s.offsetTop:0))/o,l=r.width/i,h=r.height/o;return{width:l,height:h,top:c,right:u+l,bottom:c+h,left:u,x:u,y:c}}function $(t){var n=b(t);return{scrollLeft:n.pageXOffset,scrollTop:n.pageYOffset}}function z(t){return t?(t.nodeName||"").toLowerCase():null}function T(t){return((w(t)?t.ownerDocument:t.document)||window.document).documentElement}function O(t){return M(T(t)).left+$(t).scrollLeft}function j(t){return b(t).getComputedStyle(t)}function R(t){var n=j(t),e=n.overflow,r=n.overflowX,i=n.overflowY;return/auto|scroll|overlay|hidden/.test(e+i+r)}function L(t,n,e){void 0===e&&(e=!1);var r,i,o=y(n),s=y(n)&&function(t){var n=t.getBoundingClientRect(),e=A(n.width)/t.offsetWidth||1,r=A(n.height)/t.offsetHeight||1;return 1!==e||1!==r}(n),a=T(n),u=M(t,s,e),c={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(o||!o&&!e)&&(("body"!==z(n)||R(a))&&(c=(r=n)!==b(r)&&y(r)?{scrollLeft:(i=r).scrollLeft,scrollTop:i.scrollTop}:$(r)),y(n)?((l=M(n,!0)).x+=n.clientLeft,l.y+=n.clientTop):a&&(l.x=O(a))),{x:u.left+c.scrollLeft-l.x,y:u.top+c.scrollTop-l.y,width:u.width,height:u.height}}function D(t){var n=M(t),e=t.offsetWidth,r=t.offsetHeight;return Math.abs(n.width-e)<=1&&(e=n.width),Math.abs(n.height-r)<=1&&(r=n.height),{x:t.offsetLeft,y:t.offsetTop,width:e,height:r}}function P(t){return"html"===z(t)?t:t.assignedSlot||t.parentNode||(x(t)?t.host:null)||T(t)}function I(t){return["html","body","#document"].indexOf(z(t))>=0?t.ownerDocument.body:y(t)&&R(t)?t:I(P(t))}function q(t,n){var e;void 0===n&&(n=[]);var r=I(t),i=r===(null==(e=t.ownerDocument)?void 0:e.body),o=b(r),s=i?[o].concat(o.visualViewport||[],R(r)?r:[]):r,a=n.concat(s);return i?a:a.concat(q(P(s)))}function N(t){return["table","td","th"].indexOf(z(t))>=0}function F(t){return y(t)&&"fixed"!==j(t).position?t.offsetParent:null}function B(t){for(var n=b(t),e=F(t);e&&N(e)&&"static"===j(e).position;)e=F(e);return e&&("html"===z(e)||"body"===z(e)&&"static"===j(e).position)?n:e||function(t){var n=/firefox/i.test(C());if(/Trident/i.test(C())&&y(t)&&"fixed"===j(t).position)return null;var e=P(t);for(x(e)&&(e=e.host);y(e)&&["html","body"].indexOf(z(e))<0;){var r=j(e);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||n&&"filter"===r.willChange||n&&r.filter&&"none"!==r.filter)return e;e=e.parentNode}return null}(t)||n}var U="top",H="bottom",V="right",W="left",G="auto",Y=[U,H,V,W],X="start",K="end",Z="viewport",J="popper",Q=Y.reduce((function(t,n){return t.concat([n+"-"+X,n+"-"+K])}),[]),tt=[].concat(Y,[G]).reduce((function(t,n){return t.concat([n,n+"-"+X,n+"-"+K])}),[]),nt=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function et(t){var n=new Map,e=new Set,r=[];function i(t){e.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!e.has(t)){var r=n.get(t);r&&i(r)}})),r.push(t)}return t.forEach((function(t){n.set(t.name,t)})),t.forEach((function(t){e.has(t.name)||i(t)})),r}var rt={placement:"bottom",modifiers:[],strategy:"absolute"};function it(){for(var t=arguments.length,n=new Array(t),e=0;e=0?"x":"y"}function lt(t){var n,e=t.reference,r=t.element,i=t.placement,o=i?at(i):null,s=i?ut(i):null,a=e.x+e.width/2-r.width/2,u=e.y+e.height/2-r.height/2;switch(o){case U:n={x:a,y:e.y-r.height};break;case H:n={x:a,y:e.y+e.height};break;case V:n={x:e.x+e.width,y:u};break;case W:n={x:e.x-r.width,y:u};break;default:n={x:e.x,y:e.y}}var c=o?ct(o):null;if(null!=c){var l="y"===c?"height":"width";switch(s){case X:n[c]=n[c]-(e[l]/2-r[l]/2);break;case K:n[c]=n[c]+(e[l]/2-r[l]/2)}}return n}var ht={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ft(t){var n,e=t.popper,r=t.popperRect,i=t.placement,o=t.variation,s=t.offsets,a=t.position,u=t.gpuAcceleration,c=t.adaptive,l=t.roundOffsets,h=t.isFixed,f=s.x,d=void 0===f?0:f,p=s.y,_=void 0===p?0:p,m="function"==typeof l?l({x:d,y:_}):{x:d,y:_};d=m.x,_=m.y;var v=s.hasOwnProperty("x"),g=s.hasOwnProperty("y"),w=W,y=U,x=window;if(c){var k=B(e),S="clientHeight",C="clientWidth";k===b(e)&&"static"!==j(k=T(e)).position&&"absolute"===a&&(S="scrollHeight",C="scrollWidth"),(i===U||(i===W||i===V)&&o===K)&&(y=H,_-=(h&&k===x&&x.visualViewport?x.visualViewport.height:k[S])-r.height,_*=u?1:-1),i!==W&&(i!==U&&i!==H||o!==K)||(w=V,d-=(h&&k===x&&x.visualViewport?x.visualViewport.width:k[C])-r.width,d*=u?1:-1)}var E,M=Object.assign({position:a},c&&ht),$=!0===l?function(t,n){var e=t.x,r=t.y,i=n.devicePixelRatio||1;return{x:A(e*i)/i||0,y:A(r*i)/i||0}}({x:d,y:_},b(e)):{x:d,y:_};return d=$.x,_=$.y,u?Object.assign({},M,((E={})[y]=g?"0":"",E[w]=v?"0":"",E.transform=(x.devicePixelRatio||1)<=1?"translate("+d+"px, "+_+"px)":"translate3d("+d+"px, "+_+"px, 0)",E)):Object.assign({},M,((n={})[y]=g?_+"px":"",n[w]=v?d+"px":"",n.transform="",n))}var dt={left:"right",right:"left",bottom:"top",top:"bottom"};function pt(t){return t.replace(/left|right|bottom|top/g,(function(t){return dt[t]}))}var _t={start:"end",end:"start"};function mt(t){return t.replace(/start|end/g,(function(t){return _t[t]}))}function vt(t,n){var e=n.getRootNode&&n.getRootNode();if(t.contains(n))return!0;if(e&&x(e)){var r=n;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function gt(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function bt(t,n,e){return n===Z?gt(function(t,n){var e=b(t),r=T(t),i=e.visualViewport,o=r.clientWidth,s=r.clientHeight,a=0,u=0;if(i){o=i.width,s=i.height;var c=E();(c||!c&&"fixed"===n)&&(a=i.offsetLeft,u=i.offsetTop)}return{width:o,height:s,x:a+O(t),y:u}}(t,e)):w(n)?function(t,n){var e=M(t,!1,"fixed"===n);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}(n,e):gt(function(t){var n,e=T(t),r=$(t),i=null==(n=t.ownerDocument)?void 0:n.body,o=k(e.scrollWidth,e.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=k(e.scrollHeight,e.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-r.scrollLeft+O(t),u=-r.scrollTop;return"rtl"===j(i||e).direction&&(a+=k(e.clientWidth,i?i.clientWidth:0)-o),{width:o,height:s,x:a,y:u}}(T(t)))}function wt(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function yt(t,n){return n.reduce((function(n,e){return n[e]=t,n}),{})}function xt(t,n){void 0===n&&(n={});var e=n,r=e.placement,i=void 0===r?t.placement:r,o=e.strategy,s=void 0===o?t.strategy:o,a=e.boundary,u=void 0===a?"clippingParents":a,c=e.rootBoundary,l=void 0===c?Z:c,h=e.elementContext,f=void 0===h?J:h,d=e.altBoundary,p=void 0!==d&&d,_=e.padding,m=void 0===_?0:_,v=wt("number"!=typeof m?m:yt(m,Y)),g=f===J?"reference":J,b=t.rects.popper,x=t.elements[p?g:f],A=function(t,n,e,r){var i="clippingParents"===n?function(t){var n=q(P(t)),e=["absolute","fixed"].indexOf(j(t).position)>=0&&y(t)?B(t):t;return w(e)?n.filter((function(t){return w(t)&&vt(t,e)&&"body"!==z(t)})):[]}(t):[].concat(n),o=[].concat(i,[e]),s=o[0],a=o.reduce((function(n,e){var i=bt(t,e,r);return n.top=k(i.top,n.top),n.right=S(i.right,n.right),n.bottom=S(i.bottom,n.bottom),n.left=k(i.left,n.left),n}),bt(t,s,r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(w(x)?x:x.contextElement||T(t.elements.popper),u,l,s),C=M(t.elements.reference),E=lt({reference:C,element:b,strategy:"absolute",placement:i}),$=gt(Object.assign({},b,E)),O=f===J?$:C,R={top:A.top-O.top+v.top,bottom:O.bottom-A.bottom+v.bottom,left:A.left-O.left+v.left,right:O.right-A.right+v.right},L=t.modifiersData.offset;if(f===J&&L){var D=L[i];Object.keys(R).forEach((function(t){var n=[V,H].indexOf(t)>=0?1:-1,e=[U,H].indexOf(t)>=0?"y":"x";R[t]+=D[e]*n}))}return R}function kt(t,n,e){return k(t,S(n,e))}function St(t,n,e){return void 0===e&&(e={x:0,y:0}),{top:t.top-n.height-e.y,right:t.right-n.width+e.x,bottom:t.bottom-n.height+e.y,left:t.left-n.width-e.x}}function At(t){return[U,V,H,W].some((function(n){return t[n]>=0}))}var Ct=ot({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var n=t.state,e=t.instance,r=t.options,i=r.scroll,o=void 0===i||i,s=r.resize,a=void 0===s||s,u=b(n.elements.popper),c=[].concat(n.scrollParents.reference,n.scrollParents.popper);return o&&c.forEach((function(t){t.addEventListener("scroll",e.update,st)})),a&&u.addEventListener("resize",e.update,st),function(){o&&c.forEach((function(t){t.removeEventListener("scroll",e.update,st)})),a&&u.removeEventListener("resize",e.update,st)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var n=t.state,e=t.name;n.modifiersData[e]=lt({reference:n.rects.reference,element:n.rects.popper,strategy:"absolute",placement:n.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var n=t.state,e=t.options,r=e.gpuAcceleration,i=void 0===r||r,o=e.adaptive,s=void 0===o||o,a=e.roundOffsets,u=void 0===a||a,c={placement:at(n.placement),variation:ut(n.placement),popper:n.elements.popper,popperRect:n.rects.popper,gpuAcceleration:i,isFixed:"fixed"===n.options.strategy};null!=n.modifiersData.popperOffsets&&(n.styles.popper=Object.assign({},n.styles.popper,ft(Object.assign({},c,{offsets:n.modifiersData.popperOffsets,position:n.options.strategy,adaptive:s,roundOffsets:u})))),null!=n.modifiersData.arrow&&(n.styles.arrow=Object.assign({},n.styles.arrow,ft(Object.assign({},c,{offsets:n.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-placement":n.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var n=t.state;Object.keys(n.elements).forEach((function(t){var e=n.styles[t]||{},r=n.attributes[t]||{},i=n.elements[t];y(i)&&z(i)&&(Object.assign(i.style,e),Object.keys(r).forEach((function(t){var n=r[t];!1===n?i.removeAttribute(t):i.setAttribute(t,!0===n?"":n)})))}))},effect:function(t){var n=t.state,e={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(n.elements.popper.style,e.popper),n.styles=e,n.elements.arrow&&Object.assign(n.elements.arrow.style,e.arrow),function(){Object.keys(n.elements).forEach((function(t){var r=n.elements[t],i=n.attributes[t]||{},o=Object.keys(n.styles.hasOwnProperty(t)?n.styles[t]:e[t]).reduce((function(t,n){return t[n]="",t}),{});y(r)&&z(r)&&(Object.assign(r.style,o),Object.keys(i).forEach((function(t){r.removeAttribute(t)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var n=t.state,e=t.options,r=t.name,i=e.offset,o=void 0===i?[0,0]:i,s=tt.reduce((function(t,e){return t[e]=function(t,n,e){var r=at(t),i=[W,U].indexOf(r)>=0?-1:1,o="function"==typeof e?e(Object.assign({},n,{placement:t})):e,s=o[0],a=o[1];return s=s||0,a=(a||0)*i,[W,V].indexOf(r)>=0?{x:a,y:s}:{x:s,y:a}}(e,n.rects,o),t}),{}),a=s[n.placement],u=a.x,c=a.y;null!=n.modifiersData.popperOffsets&&(n.modifiersData.popperOffsets.x+=u,n.modifiersData.popperOffsets.y+=c),n.modifiersData[r]=s}},{name:"flip",enabled:!0,phase:"main",fn:function(t){var n=t.state,e=t.options,r=t.name;if(!n.modifiersData[r]._skip){for(var i=e.mainAxis,o=void 0===i||i,s=e.altAxis,a=void 0===s||s,u=e.fallbackPlacements,c=e.padding,l=e.boundary,h=e.rootBoundary,f=e.altBoundary,d=e.flipVariations,p=void 0===d||d,_=e.allowedAutoPlacements,m=n.options.placement,v=at(m),g=u||(v!==m&&p?function(t){if(at(t)===G)return[];var n=pt(t);return[mt(t),n,mt(n)]}(m):[pt(m)]),b=[m].concat(g).reduce((function(t,e){return t.concat(at(e)===G?function(t,n){void 0===n&&(n={});var e=n,r=e.placement,i=e.boundary,o=e.rootBoundary,s=e.padding,a=e.flipVariations,u=e.allowedAutoPlacements,c=void 0===u?tt:u,l=ut(r),h=l?a?Q:Q.filter((function(t){return ut(t)===l})):Y,f=h.filter((function(t){return c.indexOf(t)>=0}));0===f.length&&(f=h);var d=f.reduce((function(n,e){return n[e]=xt(t,{placement:e,boundary:i,rootBoundary:o,padding:s})[at(e)],n}),{});return Object.keys(d).sort((function(t,n){return d[t]-d[n]}))}(n,{placement:e,boundary:l,rootBoundary:h,padding:c,flipVariations:p,allowedAutoPlacements:_}):e)}),[]),w=n.rects.reference,y=n.rects.popper,x=new Map,k=!0,S=b[0],A=0;A=0,z=$?"width":"height",T=xt(n,{placement:C,boundary:l,rootBoundary:h,altBoundary:f,padding:c}),O=$?M?V:W:M?H:U;w[z]>y[z]&&(O=pt(O));var j=pt(O),R=[];if(o&&R.push(T[E]<=0),a&&R.push(T[O]<=0,T[j]<=0),R.every((function(t){return t}))){S=C,k=!1;break}x.set(C,R)}if(k)for(var L=function(t){var n=b.find((function(n){var e=x.get(n);if(e)return e.slice(0,t).every((function(t){return t}))}));if(n)return S=n,"break"},D=p?3:1;D>0&&"break"!==L(D);D--);n.placement!==S&&(n.modifiersData[r]._skip=!0,n.placement=S,n.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var n=t.state,e=t.options,r=t.name,i=e.mainAxis,o=void 0===i||i,s=e.altAxis,a=void 0!==s&&s,u=e.boundary,c=e.rootBoundary,l=e.altBoundary,h=e.padding,f=e.tether,d=void 0===f||f,p=e.tetherOffset,_=void 0===p?0:p,m=xt(n,{boundary:u,rootBoundary:c,padding:h,altBoundary:l}),v=at(n.placement),g=ut(n.placement),b=!g,w=ct(v),y="x"===w?"y":"x",x=n.modifiersData.popperOffsets,A=n.rects.reference,C=n.rects.popper,E="function"==typeof _?_(Object.assign({},n.rects,{placement:n.placement})):_,M="number"==typeof E?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),$=n.modifiersData.offset?n.modifiersData.offset[n.placement]:null,z={x:0,y:0};if(x){if(o){var T,O="y"===w?U:W,j="y"===w?H:V,R="y"===w?"height":"width",L=x[w],P=L+m[O],I=L-m[j],q=d?-C[R]/2:0,N=g===X?A[R]:C[R],F=g===X?-C[R]:-A[R],G=n.elements.arrow,Y=d&&G?D(G):{width:0,height:0},K=n.modifiersData["arrow#persistent"]?n.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Z=K[O],J=K[j],Q=kt(0,A[R],Y[R]),tt=b?A[R]/2-q-Q-Z-M.mainAxis:N-Q-Z-M.mainAxis,nt=b?-A[R]/2+q+Q+J+M.mainAxis:F+Q+J+M.mainAxis,et=n.elements.arrow&&B(n.elements.arrow),rt=et?"y"===w?et.clientTop||0:et.clientLeft||0:0,it=null!=(T=null==$?void 0:$[w])?T:0,ot=L+nt-it,st=kt(d?S(P,L+tt-it-rt):P,L,d?k(I,ot):I);x[w]=st,z[w]=st-L}if(a){var lt,ht="x"===w?U:W,ft="x"===w?H:V,dt=x[y],pt="y"===y?"height":"width",_t=dt+m[ht],mt=dt-m[ft],vt=-1!==[U,W].indexOf(v),gt=null!=(lt=null==$?void 0:$[y])?lt:0,bt=vt?_t:dt-A[pt]-C[pt]-gt+M.altAxis,wt=vt?dt+A[pt]+C[pt]-gt-M.altAxis:mt,yt=d&&vt?function(t,n,e){var r=kt(t,n,e);return r>e?e:r}(bt,dt,wt):kt(d?bt:_t,dt,d?wt:mt);x[y]=yt,z[y]=yt-dt}n.modifiersData[r]=z}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var n,e=t.state,r=t.name,i=t.options,o=e.elements.arrow,s=e.modifiersData.popperOffsets,a=at(e.placement),u=ct(a),c=[W,V].indexOf(a)>=0?"height":"width";if(o&&s){var l=function(t,n){return wt("number"!=typeof(t="function"==typeof t?t(Object.assign({},n.rects,{placement:n.placement})):t)?t:yt(t,Y))}(i.padding,e),h=D(o),f="y"===u?U:W,d="y"===u?H:V,p=e.rects.reference[c]+e.rects.reference[u]-s[u]-e.rects.popper[c],_=s[u]-e.rects.reference[u],m=B(o),v=m?"y"===u?m.clientHeight||0:m.clientWidth||0:0,g=p/2-_/2,b=l[f],w=v-h[c]-l[d],y=v/2-h[c]/2+g,x=kt(b,y,w),k=u;e.modifiersData[r]=((n={})[k]=x,n.centerOffset=x-y,n)}},effect:function(t){var n=t.state,e=t.options.element,r=void 0===e?"[data-popper-arrow]":e;null!=r&&("string"!=typeof r||(r=n.elements.popper.querySelector(r)))&&vt(n.elements.popper,r)&&(n.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var n=t.state,e=t.name,r=n.rects.reference,i=n.rects.popper,o=n.modifiersData.preventOverflow,s=xt(n,{elementContext:"reference"}),a=xt(n,{altBoundary:!0}),u=St(s,r),c=St(a,i,o),l=At(u),h=At(c);n.modifiersData[e]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:l,hasPopperEscaped:h},n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":h})}}]}),Et=e(76990),Mt=e(9577);const $t="base";function zt(t,n){const e=Mt.li[n];return e?`${$t}--${e}`:function(t,n){return`${$t}-${t}-${n}`}(t,n)}const Tt="Popper";function Ot(t){return zt(Tt,t)}!function(t,n){const e={};["root"].forEach((n=>{e[n]=zt(t,n)}))}(Tt);var jt=e(84086),Rt=e(69500);const Lt={disableDefaultClasses:!1},Dt=o.createContext(Lt),Pt=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],It=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function qt(t){return"function"==typeof t?t():t}const Nt={},Ft=o.forwardRef((function(t,n){var e;const{anchorEl:s,children:a,direction:c,disablePortal:l,modifiers:h,open:f,placement:d,popperOptions:p,popperRef:_,slotProps:g={},slots:b={},TransitionProps:w}=t,y=(0,r.A)(t,Pt),x=o.useRef(null),k=(0,m.A)(x,n),S=o.useRef(null),A=(0,m.A)(S,_),C=o.useRef(A);(0,v.A)((()=>{C.current=A}),[A]),o.useImperativeHandle(_,(()=>S.current),[]);const E=function(t,n){if("ltr"===n)return t;switch(t){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 t}}(d,c),[M,$]=o.useState(E),[z,T]=o.useState(qt(s));o.useEffect((()=>{S.current&&S.current.forceUpdate()})),o.useEffect((()=>{s&&T(qt(s))}),[s]),(0,v.A)((()=>{if(!z||!f)return;let t=[{name:"preventOverflow",options:{altBoundary:l}},{name:"flip",options:{altBoundary:l}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:t})=>{$(t.placement)}}];null!=h&&(t=t.concat(h)),p&&null!=p.modifiers&&(t=t.concat(p.modifiers));const n=Ct(z,x.current,(0,i.A)({placement:E},p,{modifiers:t}));return C.current(n),()=>{n.destroy(),C.current(null)}}),[z,l,h,f,p,E]);const O={placement:M};null!==w&&(O.TransitionProps=w);const j=(0,u.A)({root:["root"]},function(t){const{disableDefaultClasses:n}=o.useContext(Dt);return e=>n?"":t(e)}(Ot)),R=null!=(e=b.root)?e:"div",L=(0,jt.Q)({elementType:R,externalSlotProps:g.root,externalForwardedProps:y,additionalProps:{role:"tooltip",ref:k},ownerState:t,className:j.root});return(0,Rt.jsx)(R,(0,i.A)({},L,{children:"function"==typeof a?a(O):a}))})),Bt=o.forwardRef((function(t,n){const{anchorEl:e,children:s,container:a,direction:u="ltr",disablePortal:c=!1,keepMounted:l=!1,modifiers:h,open:f,placement:d="bottom",popperOptions:p=Nt,popperRef:_,style:m,transition:v=!1,slotProps:b={},slots:w={}}=t,y=(0,r.A)(t,It),[x,k]=o.useState(!0);if(!l&&!f&&(!v||x))return null;let S;if(a)S=a;else if(e){const t=qt(e);S=t&&void 0!==t.nodeType?(0,g.A)(t).body:(0,g.A)(null).body}const A=f||!l||v&&!x?void 0:"none",C=v?{in:f,onEnter:()=>{k(!1)},onExited:()=>{k(!0)}}:void 0;return(0,Rt.jsx)(Et.Z,{disablePortal:c,container:S,children:(0,Rt.jsx)(Ft,(0,i.A)({anchorEl:e,direction:u,disablePortal:c,modifiers:h,ref:n,open:v?!x:f,placement:d,popperOptions:p,popperRef:_,slotProps:b,slots:w},y,{style:(0,i.A)({position:"fixed",top:0,left:0,display:A},m),TransitionProps:C,children:s}))})}));var Ut=e(23587);const Ht=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],Vt=(0,h.Ay)(Bt,{name:"MuiPopper",slot:"Root",overridesResolver:(t,n)=>n.root})({}),Wt=o.forwardRef((function(t,n){var e;const o=(0,Ut.A)(),s=(0,d.A)({props:t,name:"MuiPopper"}),{anchorEl:a,component:u,components:c,componentsProps:l,container:h,disablePortal:f,keepMounted:p,modifiers:_,open:m,placement:v,popperOptions:g,popperRef:b,transition:w,slots:y,slotProps:x}=s,k=(0,r.A)(s,Ht),S=null!=(e=null==y?void 0:y.root)?e:null==c?void 0:c.Root,A=(0,i.A)({anchorEl:a,container:h,disablePortal:f,keepMounted:p,modifiers:_,open:m,placement:v,popperOptions:g,popperRef:b,transition:w},k);return(0,Rt.jsx)(Vt,(0,i.A)({as:u,direction:null==o?void 0:o.direction,slots:{root:S},slotProps:null!=x?x:l},A,{ref:n}))}));var Gt=e(87422),Yt=e(51584),Xt=e(89456),Kt=e(9527),Zt=e(77259);function Jt(t){return(0,Mt.Ay)("MuiTooltip",t)}const Qt=(0,e(55549).A)("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),tn=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"],nn=(0,h.Ay)(Wt,{name:"MuiTooltip",slot:"Popper",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.popper,!e.disableInteractive&&n.popperInteractive,e.arrow&&n.popperArrow,!e.open&&n.popperClose]}})((({theme:t,ownerState:n,open:e})=>(0,i.A)({zIndex:(t.vars||t).zIndex.tooltip,pointerEvents:"none"},!n.disableInteractive&&{pointerEvents:"auto"},!e&&{pointerEvents:"none"},n.arrow&&{[`&[data-popper-placement*="bottom"] .${Qt.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Qt.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Qt.arrow}`]:(0,i.A)({},n.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${Qt.arrow}`]:(0,i.A)({},n.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})}))),en=(0,h.Ay)("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.tooltip,e.touch&&n.touch,e.arrow&&n.tooltipArrow,n[`tooltipPlacement${(0,p.A)(e.placement.split("-")[0])}`]]}})((({theme:t,ownerState:n})=>{return(0,i.A)({backgroundColor:t.vars?t.vars.palette.Tooltip.bg:(0,l.X4)(t.palette.grey[700],.92),borderRadius:(t.vars||t).shape.borderRadius,color:(t.vars||t).palette.common.white,fontFamily:t.typography.fontFamily,padding:"4px 8px",fontSize:t.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:t.typography.fontWeightMedium},n.arrow&&{position:"relative",margin:0},n.touch&&{padding:"8px 16px",fontSize:t.typography.pxToRem(14),lineHeight:(e=16/14,Math.round(1e5*e)/1e5+"em"),fontWeight:t.typography.fontWeightRegular},{[`.${Qt.popper}[data-popper-placement*="left"] &`]:(0,i.A)({transformOrigin:"right center"},n.isRtl?(0,i.A)({marginLeft:"14px"},n.touch&&{marginLeft:"24px"}):(0,i.A)({marginRight:"14px"},n.touch&&{marginRight:"24px"})),[`.${Qt.popper}[data-popper-placement*="right"] &`]:(0,i.A)({transformOrigin:"left center"},n.isRtl?(0,i.A)({marginRight:"14px"},n.touch&&{marginRight:"24px"}):(0,i.A)({marginLeft:"14px"},n.touch&&{marginLeft:"24px"})),[`.${Qt.popper}[data-popper-placement*="top"] &`]:(0,i.A)({transformOrigin:"center bottom",marginBottom:"14px"},n.touch&&{marginBottom:"24px"}),[`.${Qt.popper}[data-popper-placement*="bottom"] &`]:(0,i.A)({transformOrigin:"center top",marginTop:"14px"},n.touch&&{marginTop:"24px"})});var e})),rn=(0,h.Ay)("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(t,n)=>n.arrow})((({theme:t})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:t.vars?t.vars.palette.Tooltip.bg:(0,l.X4)(t.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let on=!1;const sn=new a.E;let an={x:0,y:0};function un(t,n){return e=>{n&&n(e),t(e)}}const cn=o.forwardRef((function(t,n){var e,l,h,m,v,g,b,w,y,x,k,S,A,C,E,M,$,z,T;const O=(0,d.A)({props:t,name:"MuiTooltip"}),{arrow:j=!1,children:R,components:L={},componentsProps:D={},describeChild:P=!1,disableFocusListener:I=!1,disableHoverListener:q=!1,disableInteractive:N=!1,disableTouchListener:F=!1,enterDelay:B=100,enterNextDelay:U=0,enterTouchDelay:H=700,followCursor:V=!1,id:W,leaveDelay:G=0,leaveTouchDelay:Y=1500,onClose:X,onOpen:K,open:Z,placement:J="bottom",PopperComponent:Q,PopperProps:tt={},slotProps:nt={},slots:et={},title:rt,TransitionComponent:it=_.A,TransitionProps:ot}=O,st=(0,r.A)(O,tn),at=o.isValidElement(R)?R:(0,Rt.jsx)("span",{children:R}),ut=(0,f.default)(),ct="rtl"===ut.direction,[lt,ht]=o.useState(),[ft,dt]=o.useState(null),pt=o.useRef(!1),_t=N||V,mt=(0,a.A)(),vt=(0,a.A)(),gt=(0,a.A)(),bt=(0,a.A)(),[wt,yt]=(0,Zt.A)({controlled:Z,default:!1,name:"Tooltip",state:"open"});let xt=wt;const kt=(0,Xt.A)(W),St=o.useRef(),At=(0,Gt.A)((()=>{void 0!==St.current&&(document.body.style.WebkitUserSelect=St.current,St.current=void 0),bt.clear()}));o.useEffect((()=>At),[At]);const Ct=t=>{sn.clear(),on=!0,yt(!0),K&&!xt&&K(t)},Et=(0,Gt.A)((t=>{sn.start(800+G,(()=>{on=!1})),yt(!1),X&&xt&&X(t),mt.start(ut.transitions.duration.shortest,(()=>{pt.current=!1}))})),Mt=t=>{pt.current&&"touchstart"!==t.type||(lt&<.removeAttribute("title"),vt.clear(),gt.clear(),B||on&&U?vt.start(on?U:B,(()=>{Ct(t)})):Ct(t))},$t=t=>{vt.clear(),gt.start(G,(()=>{Et(t)}))},{isFocusVisibleRef:zt,onBlur:Tt,onFocus:Ot,ref:jt}=(0,Kt.A)(),[,Lt]=o.useState(!1),Dt=t=>{Tt(t),!1===zt.current&&(Lt(!1),$t(t))},Pt=t=>{lt||ht(t.currentTarget),Ot(t),!0===zt.current&&(Lt(!0),Mt(t))},It=t=>{pt.current=!0;const n=at.props;n.onTouchStart&&n.onTouchStart(t)},qt=Mt,Nt=$t;o.useEffect((()=>{if(xt)return document.addEventListener("keydown",t),()=>{document.removeEventListener("keydown",t)};function t(t){"Escape"!==t.key&&"Esc"!==t.key||Et(t)}}),[Et,xt]);const Ft=(0,Yt.A)(at.ref,jt,ht,n);rt||0===rt||(xt=!1);const Bt=o.useRef(),Ut={},Ht="string"==typeof rt;P?(Ut.title=xt||!Ht||q?null:rt,Ut["aria-describedby"]=xt?kt:null):(Ut["aria-label"]=Ht?rt:null,Ut["aria-labelledby"]=xt&&!Ht?kt:null);const Vt=(0,i.A)({},Ut,st,at.props,{className:(0,s.A)(st.className,at.props.className),onTouchStart:It,ref:Ft},V?{onMouseMove:t=>{const n=at.props;n.onMouseMove&&n.onMouseMove(t),an={x:t.clientX,y:t.clientY},Bt.current&&Bt.current.update()}}:{}),Qt={};F||(Vt.onTouchStart=t=>{It(t),gt.clear(),mt.clear(),At(),St.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",bt.start(H,(()=>{document.body.style.WebkitUserSelect=St.current,Mt(t)}))},Vt.onTouchEnd=t=>{at.props.onTouchEnd&&at.props.onTouchEnd(t),At(),gt.start(Y,(()=>{Et(t)}))}),q||(Vt.onMouseOver=un(qt,Vt.onMouseOver),Vt.onMouseLeave=un(Nt,Vt.onMouseLeave),_t||(Qt.onMouseOver=qt,Qt.onMouseLeave=Nt)),I||(Vt.onFocus=un(Pt,Vt.onFocus),Vt.onBlur=un(Dt,Vt.onBlur),_t||(Qt.onFocus=Pt,Qt.onBlur=Dt));const cn=o.useMemo((()=>{var t;let n=[{name:"arrow",enabled:Boolean(ft),options:{element:ft,padding:4}}];return null!=(t=tt.popperOptions)&&t.modifiers&&(n=n.concat(tt.popperOptions.modifiers)),(0,i.A)({},tt.popperOptions,{modifiers:n})}),[ft,tt]),ln=(0,i.A)({},O,{isRtl:ct,arrow:j,disableInteractive:_t,placement:J,PopperComponentProp:Q,touch:pt.current}),hn=(t=>{const{classes:n,disableInteractive:e,arrow:r,touch:i,placement:o}=t,s={popper:["popper",!e&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",i&&"touch",`tooltipPlacement${(0,p.A)(o.split("-")[0])}`],arrow:["arrow"]};return(0,u.A)(s,Jt,n)})(ln),fn=null!=(e=null!=(l=et.popper)?l:L.Popper)?e:nn,dn=null!=(h=null!=(m=null!=(v=et.transition)?v:L.Transition)?m:it)?h:_.A,pn=null!=(g=null!=(b=et.tooltip)?b:L.Tooltip)?g:en,_n=null!=(w=null!=(y=et.arrow)?y:L.Arrow)?w:rn,mn=(0,c.X)(fn,(0,i.A)({},tt,null!=(x=nt.popper)?x:D.popper,{className:(0,s.A)(hn.popper,null==tt?void 0:tt.className,null==(k=null!=(S=nt.popper)?S:D.popper)?void 0:k.className)}),ln),vn=(0,c.X)(dn,(0,i.A)({},ot,null!=(A=nt.transition)?A:D.transition),ln),gn=(0,c.X)(pn,(0,i.A)({},null!=(C=nt.tooltip)?C:D.tooltip,{className:(0,s.A)(hn.tooltip,null==(E=null!=(M=nt.tooltip)?M:D.tooltip)?void 0:E.className)}),ln),bn=(0,c.X)(_n,(0,i.A)({},null!=($=nt.arrow)?$:D.arrow,{className:(0,s.A)(hn.arrow,null==(z=null!=(T=nt.arrow)?T:D.arrow)?void 0:z.className)}),ln);return(0,Rt.jsxs)(o.Fragment,{children:[o.cloneElement(at,Vt),(0,Rt.jsx)(fn,(0,i.A)({as:null!=Q?Q:Wt,placement:J,anchorEl:V?{getBoundingClientRect:()=>({top:an.y,left:an.x,right:an.x,bottom:an.y,width:0,height:0})}:lt,popperRef:Bt,open:!!lt&&xt,id:kt,transition:!0},Qt,mn,{popperOptions:cn,children:({TransitionProps:t})=>(0,Rt.jsx)(dn,(0,i.A)({timeout:ut.transitions.duration.shorter},t,vn,{children:(0,Rt.jsxs)(pn,(0,i.A)({},gn,{children:[rt,j?(0,Rt.jsx)(_n,(0,i.A)({},bn,{ref:dt})):null]}))}))}))]})}))},36715:(t,n,e)=>{"use strict";e.d(n,{A:()=>g});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(11835),u=e(60827),c=e(51148),l=e(31049),h=e(15622),f=e(90175),d=e(69500);const p=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],_=(0,c.Ay)("span",{name:"MuiTypography",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,e.variant&&n[e.variant],"inherit"!==e.align&&n[`align${(0,h.A)(e.align)}`],e.noWrap&&n.noWrap,e.gutterBottom&&n.gutterBottom,e.paragraph&&n.paragraph]}})((({theme:t,ownerState:n})=>(0,i.A)({margin:0},"inherit"===n.variant&&{font:"inherit"},"inherit"!==n.variant&&t.typography[n.variant],"inherit"!==n.align&&{textAlign:n.align},n.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n.gutterBottom&&{marginBottom:"0.35em"},n.paragraph&&{marginBottom:16}))),m={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},v={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},g=o.forwardRef((function(t,n){const e=(0,l.A)({props:t,name:"MuiTypography"}),o=(t=>v[t]||t)(e.color),c=(0,a.A)((0,i.A)({},e,{color:o})),{align:g="inherit",className:b,component:w,gutterBottom:y=!1,noWrap:x=!1,paragraph:k=!1,variant:S="body1",variantMapping:A=m}=c,C=(0,r.A)(c,p),E=(0,i.A)({},c,{align:g,color:o,className:b,component:w,gutterBottom:y,noWrap:x,paragraph:k,variant:S,variantMapping:A}),M=w||(k?"p":A[S]||m[S])||"span",$=(t=>{const{align:n,gutterBottom:e,noWrap:r,paragraph:i,variant:o,classes:s}=t,a={root:["root",o,"inherit"!==t.align&&`align${(0,h.A)(n)}`,e&&"gutterBottom",r&&"noWrap",i&&"paragraph"]};return(0,u.A)(a,f.y,s)})(E);return(0,d.jsx)(_,(0,i.A)({as:M,ref:n,ownerState:E,className:(0,s.A)($.root,b)},C))}))},47584:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>r.A,getTypographyUtilityClass:()=>i.y,typographyClasses:()=>i.A});var r=e(36715),i=e(90175)},90175:(t,n,e)=>{"use strict";e.d(n,{A:()=>s,y:()=>o});var r=e(55549),i=e(9577);function o(t){return(0,i.Ay)("MuiTypography",t)}const s=(0,r.A)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"])},15110:(t,n,e)=>{"use strict";e.d(n,{A:()=>w});var r=e(83673),i=e(6614),o=e(7552),s=e(93878),a=e(60827),u=e(15622),c=e(51148),l=e(77259),h=e(33960),f=e(9108),d=e(55549),p=e(9577);function _(t){return(0,p.Ay)("PrivateSwitchBase",t)}(0,d.A)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);var m=e(69500);const v=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],g=(0,c.Ay)(f.A)((({ownerState:t})=>(0,i.A)({padding:9,borderRadius:"50%"},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12}))),b=(0,c.Ay)("input",{shouldForwardProp:c.ep})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),w=o.forwardRef((function(t,n){const{autoFocus:e,checked:o,checkedIcon:c,className:f,defaultChecked:d,disabled:p,disableFocusRipple:w=!1,edge:y=!1,icon:x,id:k,inputProps:S,inputRef:A,name:C,onBlur:E,onChange:M,onFocus:$,readOnly:z,required:T=!1,tabIndex:O,type:j,value:R}=t,L=(0,r.A)(t,v),[D,P]=(0,l.A)({controlled:o,default:Boolean(d),name:"SwitchBase",state:"checked"}),I=(0,h.A)();let q=p;I&&void 0===q&&(q=I.disabled);const N="checkbox"===j||"radio"===j,F=(0,i.A)({},t,{checked:D,disabled:q,disableFocusRipple:w,edge:y}),B=(t=>{const{classes:n,checked:e,disabled:r,edge:i}=t,o={root:["root",e&&"checked",r&&"disabled",i&&`edge${(0,u.A)(i)}`],input:["input"]};return(0,a.A)(o,_,n)})(F);return(0,m.jsxs)(g,(0,i.A)({component:"span",className:(0,s.A)(B.root,f),centerRipple:!0,focusRipple:!w,disabled:q,tabIndex:null,role:void 0,onFocus:t=>{$&&$(t),I&&I.onFocus&&I.onFocus(t)},onBlur:t=>{E&&E(t),I&&I.onBlur&&I.onBlur(t)},ownerState:F,ref:n},L,{children:[(0,m.jsx)(b,(0,i.A)({autoFocus:e,checked:o,defaultChecked:d,className:B.input,disabled:q,id:N?k:void 0,name:C,onChange:t=>{if(t.nativeEvent.defaultPrevented)return;const n=t.target.checked;P(n),M&&M(t,n)},readOnly:z,ref:A,required:T,ownerState:F,tabIndex:O,type:j},"checkbox"===j&&void 0===R?{}:{value:R},S)),D?c:x]}))}))},76990:(t,n,e)=>{"use strict";e.d(n,{Z:()=>c});var r=e(7552),i=e(28485),o=e(24979),s=e(94921),a=e(52357),u=e(69500);const c=r.forwardRef((function(t,n){const{children:e,container:c,disablePortal:l=!1}=t,[h,f]=r.useState(null),d=(0,o.A)(r.isValidElement(e)?e.ref:null,n);if((0,s.A)((()=>{l||f(function(t){return"function"==typeof t?t():t}(c)||document.body)}),[c,l]),(0,s.A)((()=>{if(h&&!l)return(0,a.A)(n,h),()=>{(0,a.A)(n,null)}}),[n,h,l]),l){if(r.isValidElement(e)){const t={ref:d};return r.cloneElement(e,t)}return(0,u.jsx)(r.Fragment,{children:e})}return(0,u.jsx)(r.Fragment,{children:h?i.createPortal(e,h):h})}))},273:(t,n,e)=>{"use strict";e.d(n,{M:()=>s,P:()=>l});var r=e(89301),i=e(1629),o=e(74693);function s(t,n){n?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden")}function a(t){return parseInt((0,i.A)(t).getComputedStyle(t).paddingRight,10)||0}function u(t,n,e,r,i){const o=[n,e,...r];[].forEach.call(t.children,(t=>{const n=-1===o.indexOf(t),e=!function(t){const n=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(t.tagName),e="INPUT"===t.tagName&&"hidden"===t.getAttribute("type");return n||e}(t);n&&e&&s(t,i)}))}function c(t,n){let e=-1;return t.some(((t,r)=>!!n(t)&&(e=r,!0))),e}class l{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(t,n){let e=this.modals.indexOf(t);if(-1!==e)return e;e=this.modals.length,this.modals.push(t),t.modalRef&&s(t.modalRef,!1);const r=function(t){const n=[];return[].forEach.call(t.children,(t=>{"true"===t.getAttribute("aria-hidden")&&n.push(t)})),n}(n);u(n,t.mount,t.modalRef,r,!0);const i=c(this.containers,(t=>t.container===n));return-1!==i?(this.containers[i].modals.push(t),e):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:r}),e)}mount(t,n){const e=c(this.containers,(n=>-1!==n.modals.indexOf(t))),s=this.containers[e];s.restore||(s.restore=function(t,n){const e=[],s=t.container;if(!n.disableScrollLock){if(function(t){const n=(0,r.A)(t);return n.body===t?(0,i.A)(t).innerWidth>n.documentElement.clientWidth:t.scrollHeight>t.clientHeight}(s)){const t=(0,o.A)((0,r.A)(s));e.push({value:s.style.paddingRight,property:"padding-right",el:s}),s.style.paddingRight=`${a(s)+t}px`;const n=(0,r.A)(s).querySelectorAll(".mui-fixed");[].forEach.call(n,(n=>{e.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${a(n)+t}px`}))}let t;if(s.parentNode instanceof DocumentFragment)t=(0,r.A)(s).body;else{const n=s.parentElement,e=(0,i.A)(s);t="HTML"===(null==n?void 0:n.nodeName)&&"scroll"===e.getComputedStyle(n).overflowY?n:s}e.push({value:t.style.overflow,property:"overflow",el:t},{value:t.style.overflowX,property:"overflow-x",el:t},{value:t.style.overflowY,property:"overflow-y",el:t}),t.style.overflow="hidden"}return()=>{e.forEach((({value:t,el:n,property:e})=>{t?n.style.setProperty(e,t):n.style.removeProperty(e)}))}}(s,n))}remove(t,n=!0){const e=this.modals.indexOf(t);if(-1===e)return e;const r=c(this.containers,(n=>-1!==n.modals.indexOf(t))),i=this.containers[r];if(i.modals.splice(i.modals.indexOf(t),1),this.modals.splice(e,1),0===i.modals.length)i.restore&&i.restore(),t.modalRef&&s(t.modalRef,n),u(i.container,t.mount,t.modalRef,i.hiddenSiblings,!1),this.containers.splice(r,1);else{const t=i.modals[i.modals.length-1];t.modalRef&&s(t.modalRef,!1)}return e}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}},29941:(t,n,e)=>{"use strict";e.d(n,{X:()=>o});var r=e(6614),i=e(73252);function o(t,n,e){return void 0===t||(0,i.g)(t)?n:(0,r.A)({},n,{ownerState:(0,r.A)({},n.ownerState,e)})}},32023:(t,n,e)=>{"use strict";function r(t,n=[]){if(void 0===t)return{};const e={};return Object.keys(t).filter((e=>e.match(/^on[A-Z]/)&&"function"==typeof t[e]&&!n.includes(e))).forEach((n=>{e[n]=t[n]})),e}e.d(n,{h:()=>r})},73252:(t,n,e)=>{"use strict";function r(t){return"string"==typeof t}e.d(n,{g:()=>r})},83408:(t,n,e)=>{"use strict";e.d(n,{p:()=>a});var r=e(6614),i=e(93878),o=e(32023);function s(t){if(void 0===t)return{};const n={};return Object.keys(t).filter((n=>!(n.match(/^on[A-Z]/)&&"function"==typeof t[n]))).forEach((e=>{n[e]=t[e]})),n}function a(t){const{getSlotProps:n,additionalProps:e,externalSlotProps:a,externalForwardedProps:u,className:c}=t;if(!n){const t=(0,i.A)(null==e?void 0:e.className,c,null==u?void 0:u.className,null==a?void 0:a.className),n=(0,r.A)({},null==e?void 0:e.style,null==u?void 0:u.style,null==a?void 0:a.style),o=(0,r.A)({},e,u,a);return t.length>0&&(o.className=t),Object.keys(n).length>0&&(o.style=n),{props:o,internalRef:void 0}}const l=(0,o.h)((0,r.A)({},u,a)),h=s(a),f=s(u),d=n(l),p=(0,i.A)(null==d?void 0:d.className,null==e?void 0:e.className,c,null==u?void 0:u.className,null==a?void 0:a.className),_=(0,r.A)({},null==d?void 0:d.style,null==e?void 0:e.style,null==u?void 0:u.style,null==a?void 0:a.style),m=(0,r.A)({},d,e,f,h);return p.length>0&&(m.className=p),Object.keys(_).length>0&&(m.style=_),{props:m,internalRef:d.ref}}},25478:(t,n,e)=>{"use strict";function r(t,n,e){return"function"==typeof t?t(n,e):t}e.d(n,{Y:()=>r})},84086:(t,n,e)=>{"use strict";e.d(n,{Q:()=>l});var r=e(6614),i=e(83673),o=e(24979),s=e(29941),a=e(83408),u=e(25478);const c=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function l(t){var n;const{elementType:e,externalSlotProps:l,ownerState:h,skipResolvingSlotProps:f=!1}=t,d=(0,i.A)(t,c),p=f?{}:(0,u.Y)(l,h),{props:_,internalRef:m}=(0,a.p)((0,r.A)({},d,{externalSlotProps:p})),v=(0,o.A)(m,null==p?void 0:p.ref,null==(n=t.additionalProps)?void 0:n.ref);return(0,s.X)(e,(0,r.A)({},_,{ref:v}),h)}},18210:(t,n)=>{"use strict";Symbol.for("react.element"),Symbol.for("react.portal"),Symbol.for("react.fragment"),Symbol.for("react.strict_mode"),Symbol.for("react.profiler"),Symbol.for("react.provider"),Symbol.for("react.context"),Symbol.for("react.server_context"),Symbol.for("react.forward_ref"),Symbol.for("react.suspense"),Symbol.for("react.suspense_list"),Symbol.for("react.memo"),Symbol.for("react.lazy"),Symbol.for("react.offscreen");Symbol.for("react.module.reference")},96830:(t,n,e)=>{"use strict";e(18210)},41676:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>g});var r=e(6614),i=e(83673),o=e(7552);const s=o.createContext(null);function a(){return o.useContext(s)}const u="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";var c=e(69500);const l=function(t){const{children:n,theme:e}=t,i=a(),l=o.useMemo((()=>{const t=null===i?e:function(t,n){return"function"==typeof n?n(t):(0,r.A)({},t,n)}(i,e);return null!=t&&(t[u]=null!==i),t}),[e,i]);return(0,c.jsx)(s.Provider,{value:l,children:n})};var h=e(65472),f=e(23587);const d={};function p(t,n,e,i=!1){return o.useMemo((()=>{const o=t&&n[t]||n;if("function"==typeof e){const s=e(o),a=t?(0,r.A)({},n,{[t]:s}):s;return i?()=>a:a}return t?(0,r.A)({},n,{[t]:e}):(0,r.A)({},n,e)}),[t,n,e,i])}const _=function(t){const{children:n,theme:e,themeId:r}=t,i=(0,f.A)(d),o=a()||d,s=p(r,i,e),u=p(r,o,e,!0);return(0,c.jsx)(l,{theme:u,children:(0,c.jsx)(h.T.Provider,{value:s,children:n})})};var m=e(74988);const v=["theme"];function g(t){let{theme:n}=t,e=(0,i.A)(t,v);const o=n[m.A];return(0,c.jsx)(_,(0,r.A)({},e,{themeId:o?m.A:void 0,theme:o||n}))}},65190:(t,n,e)=>{"use strict";e.r(n),e.d(n,{createMuiTheme:()=>j,default:()=>R});var r=e(6614),i=e(83673),o=e(60829),s=e(9669),a=e(57949),u=e(4626),c=e(41935),l=e(18283);const h={black:"#000",white:"#fff"},f={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},d={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},p={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},_={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},m={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},v={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},g={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},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:h.white,default:h.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}},y={text:{primary:h.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:h.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 x(t,n,e,r){const i=r.light||r,o=r.dark||1.5*r;t[n]||(t.hasOwnProperty(e)?t[n]=t[e]:"light"===n?t.light=(0,l.a)(t.main,i):"dark"===n&&(t.dark=(0,l.e$)(t.main,o)))}const k=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"],S={textTransform:"uppercase"},A='"Roboto", "Helvetica", "Arial", sans-serif';function C(t,n){const e="function"==typeof n?n(t):n,{fontFamily:o=A,fontSize:a=14,fontWeightLight:u=300,fontWeightRegular:c=400,fontWeightMedium:l=500,fontWeightBold:h=700,htmlFontSize:f=16,allVariants:d,pxToRem:p}=e,_=(0,i.A)(e,k),m=a/14,v=p||(t=>t/f*m+"rem"),g=(t,n,e,i,s)=>{return(0,r.A)({fontFamily:o,fontWeight:t,fontSize:v(n),lineHeight:e},o===A?{letterSpacing:(a=i/n,Math.round(1e5*a)/1e5+"em")}:{},s,d);var a},b={h1:g(u,96,1.167,-1.5),h2:g(u,60,1.2,-.5),h3:g(c,48,1.167,0),h4:g(c,34,1.235,.25),h5:g(c,24,1.334,0),h6:g(l,20,1.6,.15),subtitle1:g(c,16,1.75,.15),subtitle2:g(l,14,1.57,.1),body1:g(c,16,1.5,.15),body2:g(c,14,1.43,.15),button:g(l,14,1.75,.4,S),caption:g(c,12,1.66,.4),overline:g(c,12,2.66,1,S),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,s.A)((0,r.A)({htmlFontSize:f,pxToRem:v,fontFamily:o,fontSize:a,fontWeightLight:u,fontWeightRegular:c,fontWeightMedium:l,fontWeightBold:h},b),_,{clone:!1})}function E(...t){return[`${t[0]}px ${t[1]}px ${t[2]}px ${t[3]}px rgba(0,0,0,0.2)`,`${t[4]}px ${t[5]}px ${t[6]}px ${t[7]}px rgba(0,0,0,0.14)`,`${t[8]}px ${t[9]}px ${t[10]}px ${t[11]}px rgba(0,0,0,0.12)`].join(",")}const M=["none",E(0,2,1,-1,0,1,1,0,0,1,3,0),E(0,3,1,-2,0,2,2,0,0,1,5,0),E(0,3,3,-2,0,3,4,0,0,1,8,0),E(0,2,4,-1,0,4,5,0,0,1,10,0),E(0,3,5,-1,0,5,8,0,0,1,14,0),E(0,3,5,-1,0,6,10,0,0,1,18,0),E(0,4,5,-2,0,7,10,1,0,2,16,1),E(0,5,5,-3,0,8,10,1,0,3,14,2),E(0,5,6,-3,0,9,12,1,0,3,16,2),E(0,6,6,-3,0,10,14,1,0,4,18,3),E(0,6,7,-4,0,11,15,1,0,4,20,3),E(0,7,8,-4,0,12,17,2,0,5,22,4),E(0,7,8,-4,0,13,19,2,0,5,24,4),E(0,7,9,-4,0,14,21,2,0,5,26,4),E(0,8,9,-5,0,15,22,2,0,6,28,5),E(0,8,10,-5,0,16,24,2,0,6,30,5),E(0,8,11,-5,0,17,26,2,0,6,32,5),E(0,9,11,-5,0,18,28,2,0,7,34,6),E(0,9,12,-6,0,19,29,2,0,7,36,6),E(0,10,13,-6,0,20,31,3,0,8,38,7),E(0,10,13,-6,0,21,33,3,0,8,40,7),E(0,10,14,-6,0,22,35,3,0,8,42,7),E(0,11,14,-7,0,23,36,3,0,9,44,8),E(0,11,15,-7,0,24,38,3,0,9,46,8)];var $=e(94479);const z={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 O(t={},...n){const{mixins:e={},palette:k={},transitions:S={},typography:A={}}=t,E=(0,i.A)(t,T);if(t.vars)throw new Error((0,o.A)(18));const O=function(t){const{mode:n="light",contrastThreshold:e=3,tonalOffset:a=.2}=t,u=(0,i.A)(t,b),c=t.primary||function(t="light"){return"dark"===t?{main:m[200],light:m[50],dark:m[400]}:{main:m[700],light:m[400],dark:m[800]}}(n),k=t.secondary||function(t="light"){return"dark"===t?{main:d[200],light:d[50],dark:d[400]}:{main:d[500],light:d[300],dark:d[700]}}(n),S=t.error||function(t="light"){return"dark"===t?{main:p[500],light:p[300],dark:p[700]}:{main:p[700],light:p[400],dark:p[800]}}(n),A=t.info||function(t="light"){return"dark"===t?{main:v[400],light:v[300],dark:v[700]}:{main:v[700],light:v[500],dark:v[900]}}(n),C=t.success||function(t="light"){return"dark"===t?{main:g[400],light:g[300],dark:g[700]}:{main:g[800],light:g[500],dark:g[900]}}(n),E=t.warning||function(t="light"){return"dark"===t?{main:_[400],light:_[300],dark:_[700]}:{main:"#ed6c02",light:_[500],dark:_[900]}}(n);function M(t){return(0,l.eM)(t,y.text.primary)>=e?y.text.primary:w.text.primary}const $=({color:t,name:n,mainShade:e=500,lightShade:i=300,darkShade:s=700})=>{if(!(t=(0,r.A)({},t)).main&&t[e]&&(t.main=t[e]),!t.hasOwnProperty("main"))throw new Error((0,o.A)(11,n?` (${n})`:"",e));if("string"!=typeof t.main)throw new Error((0,o.A)(12,n?` (${n})`:"",JSON.stringify(t.main)));return x(t,"light",i,a),x(t,"dark",s,a),t.contrastText||(t.contrastText=M(t.main)),t},z={dark:y,light:w};return(0,s.A)((0,r.A)({common:(0,r.A)({},h),mode:n,primary:$({color:c,name:"primary"}),secondary:$({color:k,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:$({color:S,name:"error"}),warning:$({color:E,name:"warning"}),info:$({color:A,name:"info"}),success:$({color:C,name:"success"}),grey:f,contrastThreshold:e,getContrastText:M,augmentColor:$,tonalOffset:a},z[n]),u)}(k),j=(0,a.A)(t);let R=(0,s.A)(j,{mixins:(L=j.breakpoints,D=e,(0,r.A)({toolbar:{minHeight:56,[L.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[L.up("sm")]:{minHeight:64}}},D)),palette:O,shadows:M.slice(),typography:C(O,A),transitions:(0,$.Ay)(S),zIndex:(0,r.A)({},z)});var L,D;return R=(0,s.A)(R,E),R=n.reduce(((t,n)=>(0,s.A)(t,n)),R),R.unstable_sxConfig=(0,r.A)({},u.A,null==E?void 0:E.unstable_sxConfig),R.unstable_sx=function(t){return(0,c.A)({sx:t,theme:this})},R}function j(...t){return O(...t)}const R=O},94479:(t,n,e)=>{"use strict";e.d(n,{Ay:()=>l,p0:()=>a});var r=e(83673),i=e(6614);const o=["duration","easing","delay"],s={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},a={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function u(t){return`${Math.round(t)}ms`}function c(t){if(!t)return 0;const n=t/36;return Math.round(10*(4+15*n**.25+n/5))}function l(t){const n=(0,i.A)({},s,t.easing),e=(0,i.A)({},a,t.duration);return(0,i.A)({getAutoHeightDuration:c,create:(t=["all"],i={})=>{const{duration:s=e.standard,easing:a=n.easeInOut,delay:c=0}=i;return(0,r.A)(i,o),(Array.isArray(t)?t:[t]).map((t=>`${t} ${"string"==typeof s?s:u(s)} ${a} ${"string"==typeof c?c:u(c)}`)).join(",")}},t,{easing:n,duration:e})}},23121:(t,n,e)=>{"use strict";e.d(n,{A:()=>r});const r=(0,e(65190).default)()},74988:(t,n,e)=>{"use strict";e.d(n,{A:()=>r});const r="$$material"},51148:(t,n,e)=>{"use strict";e.d(n,{Ay:()=>u,_n:()=>a,ep:()=>s});var r=e(84469),i=e(23121),o=e(74988);const s=t=>(0,r.MC)(t)&&"classes"!==t,a=r.MC,u=(0,r.Ay)({themeId:o.A,defaultTheme:i.A,rootShouldForwardProp:s})},48231:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>s}),e(7552);var r=e(37462),i=e(23121),o=e(74988);function s(){const t=(0,r.A)(i.A);return t[o.A]||t}},31049:(t,n,e)=>{"use strict";e.d(n,{A:()=>s});var r=e(97269),i=e(23121),o=e(74988);function s({props:t,name:n}){return(0,r.A)({props:t,name:n,defaultTheme:i.A,themeId:o.A})}},46302:(t,n,e)=>{"use strict";e.d(n,{c:()=>i,q:()=>r});const r=t=>t.scrollTop;function i(t,n){var e,r;const{timeout:i,easing:o,style:s={}}=t;return{duration:null!=(e=s.transitionDuration)?e:"number"==typeof i?i:i[n.mode]||0,easing:null!=(r=s.transitionTimingFunction)?r:"object"==typeof o?o[n.mode]:o,delay:s.transitionDelay}}},15622:(t,n,e)=>{"use strict";e.d(n,{A:()=>r});const r=e(81119).A},4402:(t,n,e)=>{"use strict";e.d(n,{A:()=>r});const r=e(18961).A},74893:(t,n,e)=>{"use strict";e.d(n,{A:()=>a});var r=e(6614),i=e(7552),o=e(2859),s=e(69500);function a(t,n){function e(e,i){return(0,s.jsx)(o.A,(0,r.A)({"data-testid":`${n}Icon`,ref:i},e,{children:t}))}return e.muiName=o.A.muiName,i.memo(i.forwardRef(e))}},987:(t,n,e)=>{"use strict";e.d(n,{A:()=>r});const r=e(58977).A},43700:(t,n,e)=>{"use strict";e.r(n),e.d(n,{capitalize:()=>i.A,createChainedFunction:()=>o.A,createSvgIcon:()=>s.A,debounce:()=>a.A,deprecatedPropType:()=>u,isMuiElement:()=>c.A,ownerDocument:()=>l.A,ownerWindow:()=>h.A,requirePropFactory:()=>f,setRef:()=>d,unstable_ClassNameGenerator:()=>y,unstable_useEnhancedEffect:()=>p.A,unstable_useId:()=>_.A,unsupportedProp:()=>m,useControlled:()=>v.A,useEventCallback:()=>g.A,useForkRef:()=>b.A,useIsFocusVisible:()=>w.A});var r=e(29711),i=e(15622),o=e(4402),s=e(74893),a=e(987);const u=function(t,n){return()=>null};var c=e(81996),l=e(6676),h=e(46689);e(6614);const f=function(t,n){return()=>null},d=e(52357).A;var p=e(82910),_=e(89456);const m=function(t,n,e,r,i){return null};var v=e(77259),g=e(87422),b=e(51584),w=e(9527);const y={configure:t=>{r.A.configure(t)}}},81996:(t,n,e)=>{"use strict";e.d(n,{A:()=>i});var r=e(7552);const i=function(t,n){var e,i;return r.isValidElement(t)&&-1!==n.indexOf(null!=(e=t.type.muiName)?e:null==(i=t.type)||null==(i=i._payload)||null==(i=i.value)?void 0:i.muiName)}},6676:(t,n,e)=>{"use strict";e.d(n,{A:()=>r});const r=e(89301).A},46689:(t,n,e)=>{"use strict";e.d(n,{A:()=>r});const r=e(1629).A},77259:(t,n,e)=>{"use strict";e.d(n,{A:()=>r});const r=e(90389).A},82910:(t,n,e)=>{"use strict";e.d(n,{A:()=>r});const r=e(94921).A},87422:(t,n,e)=>{"use strict";e.d(n,{A:()=>r});const r=e(74795).A},51584:(t,n,e)=>{"use strict";e.d(n,{A:()=>r});const r=e(24979).A},89456:(t,n,e)=>{"use strict";e.d(n,{A:()=>r});const r=e(61941).A},9527:(t,n,e)=>{"use strict";e.d(n,{A:()=>r});const r=e(94065).A},36283:(t,n,e)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(t){for(var n=1;ng,q_:()=>b});var i=e(7552),o=e(39389),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)-.*))$/,a=(0,o.A)((function(t){return s.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)<91})),u=e(65472),c=e(92005),l=e(42130),h=e(20387),f=a,d=function(t){return"theme"!==t},p=function(t){return"string"==typeof t&&t.charCodeAt(0)>96?f:d},_=function(t,n,e){var r;if(n){var i=n.shouldForwardProp;r=t.__emotion_forwardProp&&i?function(n){return t.__emotion_forwardProp(n)&&i(n)}:i}return"function"!=typeof r&&e&&(r=t.__emotion_forwardProp),r},m=function(t){var n=t.cache,e=t.serialized,r=t.isStringTag;return(0,c.SF)(n,e,r),(0,h.s)((function(){return(0,c.sk)(n,e,r)})),null},v=function t(n,e){var o,s,a=n.__emotion_real===n,h=a&&n.__emotion_base||n;void 0!==e&&(o=e.label,s=e.target);var f=_(n,e,a),d=f||p(h),v=!d("as");return function(){var g=arguments,b=a&&void 0!==n.__emotion_styles?n.__emotion_styles.slice(0):[];if(void 0!==o&&b.push("label:"+o+";"),null==g[0]||void 0===g[0].raw)b.push.apply(b,g);else{b.push(g[0][0]);for(var w=g.length,y=1;y{Array.isArray(t.__emotion_styles)&&(t.__emotion_styles=n(t.__emotion_styles))}},37120:(t,n,e)=>{"use strict";e.d(n,{EU:()=>a,NI:()=>s,iZ:()=>c,kW:()=>l,vf:()=>u,zu:()=>i});var r=e(9669);const i={xs:0,sm:600,md:900,lg:1200,xl:1536},o={keys:["xs","sm","md","lg","xl"],up:t=>`@media (min-width:${i[t]}px)`};function s(t,n,e){const r=t.theme||{};if(Array.isArray(n)){const t=r.breakpoints||o;return n.reduce(((r,i,o)=>(r[t.up(t.keys[o])]=e(n[o]),r)),{})}if("object"==typeof n){const t=r.breakpoints||o;return Object.keys(n).reduce(((r,o)=>{if(-1!==Object.keys(t.values||i).indexOf(o))r[t.up(o)]=e(n[o],o);else{const t=o;r[t]=n[t]}return r}),{})}return e(n)}function a(t={}){var n;return(null==(n=t.keys)?void 0:n.reduce(((n,e)=>(n[t.up(e)]={},n)),{}))||{}}function u(t,n){return t.reduce(((t,n)=>{const e=t[n];return(!e||0===Object.keys(e).length)&&delete t[n],t}),n)}function c(t,...n){const e=a(t),i=[e,...n].reduce(((t,n)=>(0,r.A)(t,n)),{});return u(Object.keys(e),i)}function l({values:t,breakpoints:n,base:e}){const r=e||function(t,n){if("object"!=typeof t)return{};const e={},r=Object.keys(n);return Array.isArray(t)?r.forEach(((n,r)=>{r{null!=t[n]&&(e[n]=!0)})),e}(t,n),i=Object.keys(r);if(0===i.length)return t;let o;return i.reduce(((n,e,r)=>(Array.isArray(t)?(n[e]=null!=t[r]?t[r]:t[o],o=r):"object"==typeof t?(n[e]=null!=t[e]?t[e]:t[o],o=e):n[e]=t,n)),{})}},18283:(t,n,e)=>{"use strict";e.d(n,{X4:()=>l,a:()=>f,e$:()=>h,eM:()=>c,tL:()=>d});var r=e(60829),i=e(15093);function o(t,n=0,e=1){return(0,i.A)(t,n,e)}function s(t){if(t.type)return t;if("#"===t.charAt(0))return s(function(t){t=t.slice(1);const n=new RegExp(`.{1,${t.length>=6?2:1}}`,"g");let e=t.match(n);return e&&1===e[0].length&&(e=e.map((t=>t+t))),e?`rgb${4===e.length?"a":""}(${e.map(((t,n)=>n<3?parseInt(t,16):Math.round(parseInt(t,16)/255*1e3)/1e3)).join(", ")})`:""}(t));const n=t.indexOf("("),e=t.substring(0,n);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(e))throw new Error((0,r.A)(9,t));let i,o=t.substring(n+1,t.length-1);if("color"===e){if(o=o.split(" "),i=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(i))throw new Error((0,r.A)(10,i))}else o=o.split(",");return o=o.map((t=>parseFloat(t))),{type:e,values:o,colorSpace:i}}function a(t){const{type:n,colorSpace:e}=t;let{values:r}=t;return-1!==n.indexOf("rgb")?r=r.map(((t,n)=>n<3?parseInt(t,10):t)):-1!==n.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==n.indexOf("color")?`${e} ${r.join(" ")}`:`${r.join(", ")}`,`${n}(${r})`}function u(t){let n="hsl"===(t=s(t)).type||"hsla"===t.type?s(function(t){t=s(t);const{values:n}=t,e=n[0],r=n[1]/100,i=n[2]/100,o=r*Math.min(i,1-i),u=(t,n=(t+e/30)%12)=>i-o*Math.max(Math.min(n-3,9-n,1),-1);let c="rgb";const l=[Math.round(255*u(0)),Math.round(255*u(8)),Math.round(255*u(4))];return"hsla"===t.type&&(c+="a",l.push(n[3])),a({type:c,values:l})}(t)).values:t.values;return n=n.map((n=>("color"!==t.type&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4))),Number((.2126*n[0]+.7152*n[1]+.0722*n[2]).toFixed(3))}function c(t,n){const e=u(t),r=u(n);return(Math.max(e,r)+.05)/(Math.min(e,r)+.05)}function l(t,n){return t=s(t),n=o(n),"rgb"!==t.type&&"hsl"!==t.type||(t.type+="a"),"color"===t.type?t.values[3]=`/${n}`:t.values[3]=n,a(t)}function h(t,n){if(t=s(t),n=o(n),-1!==t.type.indexOf("hsl"))t.values[2]*=1-n;else if(-1!==t.type.indexOf("rgb")||-1!==t.type.indexOf("color"))for(let e=0;e<3;e+=1)t.values[e]*=1-n;return a(t)}function f(t,n){if(t=s(t),n=o(n),-1!==t.type.indexOf("hsl"))t.values[2]+=(100-t.values[2])*n;else if(-1!==t.type.indexOf("rgb"))for(let e=0;e<3;e+=1)t.values[e]+=(255-t.values[e])*n;else if(-1!==t.type.indexOf("color"))for(let e=0;e<3;e+=1)t.values[e]+=(1-t.values[e])*n;return a(t)}function d(t,n=.15){return u(t)>.5?h(t,n):f(t,n)}},84469:(t,n,e)=>{"use strict";e.d(n,{Ay:()=>g,MC:()=>f});var r=e(6614),i=e(83673),o=e(36283),s=e(9669),a=e(57949),u=e(41935);const c=["ownerState"],l=["variants"],h=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function f(t){return"ownerState"!==t&&"theme"!==t&&"sx"!==t&&"as"!==t}const d=(0,a.A)(),p=t=>t?t.charAt(0).toLowerCase()+t.slice(1):t;function _({defaultTheme:t,theme:n,themeId:e}){return r=n,0===Object.keys(r).length?t:n[e]||n;var r}function m(t){return t?(n,e)=>e[t]:null}function v(t,n){let{ownerState:e}=n,o=(0,i.A)(n,c);const s="function"==typeof t?t((0,r.A)({ownerState:e},o)):t;if(Array.isArray(s))return s.flatMap((t=>v(t,(0,r.A)({ownerState:e},o))));if(s&&"object"==typeof s&&Array.isArray(s.variants)){const{variants:t=[]}=s;let n=(0,i.A)(s,l);return t.forEach((t=>{let i=!0;"function"==typeof t.props?i=t.props((0,r.A)({ownerState:e},o)):Object.keys(t.props).forEach((n=>{(null==e?void 0:e[n])!==t.props[n]&&o[n]!==t.props[n]&&(i=!1)})),i&&(Array.isArray(n)||(n=[n]),n.push("function"==typeof t.style?t.style((0,r.A)({ownerState:e},o)):t.style))})),n}return s}function g(t={}){const{themeId:n,defaultTheme:e=d,rootShouldForwardProp:a=f,slotShouldForwardProp:c=f}=t,l=t=>(0,u.A)((0,r.A)({},t,{theme:_((0,r.A)({},t,{defaultTheme:e,themeId:n}))}));return l.__mui_systemSx=!0,(t,u={})=>{(0,o.q_)(t,(t=>t.filter((t=>!(null!=t&&t.__mui_systemSx)))));const{name:d,slot:g,skipVariantsResolver:b,skipSx:w,overridesResolver:y=m(p(g))}=u,x=(0,i.A)(u,h),k=void 0!==b?b:g&&"Root"!==g&&"root"!==g||!1,S=w||!1;let A=f;"Root"===g||"root"===g?A=a:g?A=c:function(t){return"string"==typeof t&&t.charCodeAt(0)>96}(t)&&(A=void 0);const C=(0,o.Ay)(t,(0,r.A)({shouldForwardProp:A,label:void 0},x)),E=t=>"function"==typeof t&&t.__emotion_real!==t||(0,s.Q)(t)?i=>v(t,(0,r.A)({},i,{theme:_({theme:i.theme,defaultTheme:e,themeId:n})})):t,M=(i,...o)=>{let s=E(i);const a=o?o.map(E):[];d&&y&&a.push((t=>{const i=_((0,r.A)({},t,{defaultTheme:e,themeId:n}));if(!i.components||!i.components[d]||!i.components[d].styleOverrides)return null;const o=i.components[d].styleOverrides,s={};return Object.entries(o).forEach((([n,e])=>{s[n]=v(e,(0,r.A)({},t,{theme:i}))})),y(t,s)})),d&&!k&&a.push((t=>{var i;const o=_((0,r.A)({},t,{defaultTheme:e,themeId:n}));return v({variants:null==o||null==(i=o.components)||null==(i=i[d])?void 0:i.variants},(0,r.A)({},t,{theme:o}))})),S||a.push(l);const u=a.length-o.length;if(Array.isArray(i)&&u>0){const t=new Array(u).fill("");s=[...i,...t],s.raw=[...i.raw,...t]}const c=C(s,...a);return t.muiName&&(c.muiName=t.muiName),c};return C.withConfig&&(M.withConfig=C.withConfig),M}}},57949:(t,n,e)=>{"use strict";e.d(n,{A:()=>d});var r=e(6614),i=e(83673),o=e(9669);const s=["values","unit","step"],a={borderRadius:4};var u=e(74580),c=e(41935),l=e(4626);function h(t,n){const e=this;if(e.vars&&"function"==typeof e.getColorSchemeSelector){const r=e.getColorSchemeSelector(t).replace(/(\[[^\]]+\])/,"*:where($1)");return{[r]:n}}return e.palette.mode===t?n:{}}const f=["breakpoints","palette","spacing","shape"],d=function(t={},...n){const{breakpoints:e={},palette:d={},spacing:p,shape:_={}}=t,m=(0,i.A)(t,f),v=function(t){const{values:n={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:e="px",step:o=5}=t,a=(0,i.A)(t,s),u=(t=>{const n=Object.keys(t).map((n=>({key:n,val:t[n]})))||[];return n.sort(((t,n)=>t.val-n.val)),n.reduce(((t,n)=>(0,r.A)({},t,{[n.key]:n.val})),{})})(n),c=Object.keys(u);function l(t){return`@media (min-width:${"number"==typeof n[t]?n[t]:t}${e})`}function h(t){return`@media (max-width:${("number"==typeof n[t]?n[t]:t)-o/100}${e})`}function f(t,r){const i=c.indexOf(r);return`@media (min-width:${"number"==typeof n[t]?n[t]:t}${e}) and (max-width:${(-1!==i&&"number"==typeof n[c[i]]?n[c[i]]:r)-o/100}${e})`}return(0,r.A)({keys:c,values:u,up:l,down:h,between:f,only:function(t){return c.indexOf(t)+1(0===t.length?[1]:t).map((t=>{const e=n(t);return"number"==typeof e?`${e}px`:e})).join(" ");return e.mui=!0,e}(p);let b=(0,o.A)({breakpoints:v,direction:"ltr",components:{},palette:(0,r.A)({mode:"light"},d),spacing:g,shape:(0,r.A)({},a,_)},m);return b.applyStyles=h,b=n.reduce(((t,n)=>(0,o.A)(t,n)),b),b.unstable_sxConfig=(0,r.A)({},l.A,null==m?void 0:m.unstable_sxConfig),b.unstable_sx=function(t){return(0,c.A)({sx:t,theme:this})},b}},63680:(t,n,e)=>{"use strict";e.d(n,{A:()=>i});var r=e(9669);const i=function(t,n){return n?(0,r.A)(t,n,{clone:!1}):t}},74580:(t,n,e)=>{"use strict";e.d(n,{LX:()=>p,MA:()=>d,_W:()=>_,Lc:()=>v,Ms:()=>g});var r=e(37120),i=e(20605),o=e(63680);const s={m:"margin",p:"padding"},a={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},u={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},c=function(t){const n={};return t=>(void 0===n[t]&&(n[t]=(t=>{if(t.length>2){if(!u[t])return[t];t=u[t]}const[n,e]=t.split(""),r=s[n],i=a[e]||"";return Array.isArray(i)?i.map((t=>r+t)):[r+i]})(t)),n[t])}(),l=["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=[...l,...h];function d(t,n,e,r){var o;const s=null!=(o=(0,i.Yn)(t,n,!1))?o:e;return"number"==typeof s?t=>"string"==typeof t?t:s*t:Array.isArray(s)?t=>"string"==typeof t?t:s[t]:"function"==typeof s?s:()=>{}}function p(t){return d(t,"spacing",8)}function _(t,n){if("string"==typeof n||null==n)return n;const e=t(Math.abs(n));return n>=0?e:"number"==typeof e?-e:`-${e}`}function m(t,n){const e=p(t.theme);return Object.keys(t).map((i=>function(t,n,e,i){if(-1===n.indexOf(e))return null;const o=function(t,n){return e=>t.reduce(((t,r)=>(t[r]=_(n,e),t)),{})}(c(e),i),s=t[e];return(0,r.NI)(t,s,o)}(t,n,i,e))).reduce(o.A,{})}function v(t){return m(t,l)}function g(t){return m(t,h)}function b(t){return m(t,f)}v.propTypes={},v.filterProps=l,g.propTypes={},g.filterProps=h,b.propTypes={},b.filterProps=f},20605:(t,n,e)=>{"use strict";e.d(n,{Ay:()=>a,BO:()=>s,Yn:()=>o});var r=e(81119),i=e(37120);function o(t,n,e=!0){if(!n||"string"!=typeof n)return null;if(t&&t.vars&&e){const e=`vars.${n}`.split(".").reduce(((t,n)=>t&&t[n]?t[n]:null),t);if(null!=e)return e}return n.split(".").reduce(((t,n)=>t&&null!=t[n]?t[n]:null),t)}function s(t,n,e,r=e){let i;return i="function"==typeof t?t(e):Array.isArray(t)?t[e]||r:o(t,e)||r,n&&(i=n(i,r,t)),i}const a=function(t){const{prop:n,cssProperty:e=t.prop,themeKey:a,transform:u}=t,c=t=>{if(null==t[n])return null;const c=t[n],l=o(t.theme,a)||{};return(0,i.NI)(t,c,(t=>{let i=s(l,u,t);return t===i&&"string"==typeof t&&(i=s(l,u,`${n}${"default"===t?"":(0,r.A)(t)}`,t)),!1===e?i:{[e]:i}}))};return c.propTypes={},c.filterProps=[n],c}},4626:(t,n,e)=>{"use strict";e.d(n,{A:()=>R});var r=e(74580),i=e(20605),o=e(63680);const s=function(...t){const n=t.reduce(((t,n)=>(n.filterProps.forEach((e=>{t[e]=n})),t)),{}),e=t=>Object.keys(t).reduce(((e,r)=>n[r]?(0,o.A)(e,n[r](t)):e),{});return e.propTypes={},e.filterProps=t.reduce(((t,n)=>t.concat(n.filterProps)),[]),e};var a=e(37120);function u(t){return"number"!=typeof t?t:`${t}px solid`}function c(t,n){return(0,i.Ay)({prop:t,themeKey:"borders",transform:n})}const l=c("border",u),h=c("borderTop",u),f=c("borderRight",u),d=c("borderBottom",u),p=c("borderLeft",u),_=c("borderColor"),m=c("borderTopColor"),v=c("borderRightColor"),g=c("borderBottomColor"),b=c("borderLeftColor"),w=c("outline",u),y=c("outlineColor"),x=t=>{if(void 0!==t.borderRadius&&null!==t.borderRadius){const n=(0,r.MA)(t.theme,"shape.borderRadius",4,"borderRadius"),e=t=>({borderRadius:(0,r._W)(n,t)});return(0,a.NI)(t,t.borderRadius,e)}return null};x.propTypes={},x.filterProps=["borderRadius"],s(l,h,f,d,p,_,m,v,g,b,x,w,y);const k=t=>{if(void 0!==t.gap&&null!==t.gap){const n=(0,r.MA)(t.theme,"spacing",8,"gap"),e=t=>({gap:(0,r._W)(n,t)});return(0,a.NI)(t,t.gap,e)}return null};k.propTypes={},k.filterProps=["gap"];const S=t=>{if(void 0!==t.columnGap&&null!==t.columnGap){const n=(0,r.MA)(t.theme,"spacing",8,"columnGap"),e=t=>({columnGap:(0,r._W)(n,t)});return(0,a.NI)(t,t.columnGap,e)}return null};S.propTypes={},S.filterProps=["columnGap"];const A=t=>{if(void 0!==t.rowGap&&null!==t.rowGap){const n=(0,r.MA)(t.theme,"spacing",8,"rowGap"),e=t=>({rowGap:(0,r._W)(n,t)});return(0,a.NI)(t,t.rowGap,e)}return null};function C(t,n){return"grey"===n?n:t}function E(t){return t<=1&&0!==t?100*t+"%":t}A.propTypes={},A.filterProps=["rowGap"],s(k,S,A,(0,i.Ay)({prop:"gridColumn"}),(0,i.Ay)({prop:"gridRow"}),(0,i.Ay)({prop:"gridAutoFlow"}),(0,i.Ay)({prop:"gridAutoColumns"}),(0,i.Ay)({prop:"gridAutoRows"}),(0,i.Ay)({prop:"gridTemplateColumns"}),(0,i.Ay)({prop:"gridTemplateRows"}),(0,i.Ay)({prop:"gridTemplateAreas"}),(0,i.Ay)({prop:"gridArea"})),s((0,i.Ay)({prop:"color",themeKey:"palette",transform:C}),(0,i.Ay)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:C}),(0,i.Ay)({prop:"backgroundColor",themeKey:"palette",transform:C}));const M=(0,i.Ay)({prop:"width",transform:E}),$=t=>{if(void 0!==t.maxWidth&&null!==t.maxWidth){const n=n=>{var e,r;const i=(null==(e=t.theme)||null==(e=e.breakpoints)||null==(e=e.values)?void 0:e[n])||a.zu[n];return i?"px"!==(null==(r=t.theme)||null==(r=r.breakpoints)?void 0:r.unit)?{maxWidth:`${i}${t.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:E(n)}};return(0,a.NI)(t,t.maxWidth,n)}return null};$.filterProps=["maxWidth"];const z=(0,i.Ay)({prop:"minWidth",transform:E}),T=(0,i.Ay)({prop:"height",transform:E}),O=(0,i.Ay)({prop:"maxHeight",transform:E}),j=(0,i.Ay)({prop:"minHeight",transform:E}),R=((0,i.Ay)({prop:"size",cssProperty:"width",transform:E}),(0,i.Ay)({prop:"size",cssProperty:"height",transform:E}),s(M,$,z,T,O,j,(0,i.Ay)({prop:"boxSizing"})),{border:{themeKey:"borders",transform:u},borderTop:{themeKey:"borders",transform:u},borderRight:{themeKey:"borders",transform:u},borderBottom:{themeKey:"borders",transform:u},borderLeft:{themeKey:"borders",transform:u},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:u},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:x},color:{themeKey:"palette",transform:C},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:C},backgroundColor:{themeKey:"palette",transform:C},p:{style:r.Ms},pt:{style:r.Ms},pr:{style:r.Ms},pb:{style:r.Ms},pl:{style:r.Ms},px:{style:r.Ms},py:{style:r.Ms},padding:{style:r.Ms},paddingTop:{style:r.Ms},paddingRight:{style:r.Ms},paddingBottom:{style:r.Ms},paddingLeft:{style:r.Ms},paddingX:{style:r.Ms},paddingY:{style:r.Ms},paddingInline:{style:r.Ms},paddingInlineStart:{style:r.Ms},paddingInlineEnd:{style:r.Ms},paddingBlock:{style:r.Ms},paddingBlockStart:{style:r.Ms},paddingBlockEnd:{style:r.Ms},m:{style:r.Lc},mt:{style:r.Lc},mr:{style:r.Lc},mb:{style:r.Lc},ml:{style:r.Lc},mx:{style:r.Lc},my:{style:r.Lc},margin:{style:r.Lc},marginTop:{style:r.Lc},marginRight:{style:r.Lc},marginBottom:{style:r.Lc},marginLeft:{style:r.Lc},marginX:{style:r.Lc},marginY:{style:r.Lc},marginInline:{style:r.Lc},marginInlineStart:{style:r.Lc},marginInlineEnd:{style:r.Lc},marginBlock:{style:r.Lc},marginBlockStart:{style:r.Lc},marginBlockEnd:{style:r.Lc},displayPrint:{cssProperty:!1,transform:t=>({"@media print":{display:t}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:k},rowGap:{style:A},columnGap:{style:S},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:E},maxWidth:{style:$},minWidth:{transform:E},height:{transform:E},maxHeight:{transform:E},minHeight:{transform:E},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}})},11835:(t,n,e)=>{"use strict";e.d(n,{A:()=>c});var r=e(6614),i=e(83673),o=e(9669),s=e(4626);const a=["sx"],u=t=>{var n,e;const r={systemProps:{},otherProps:{}},i=null!=(n=null==t||null==(e=t.theme)?void 0:e.unstable_sxConfig)?n:s.A;return Object.keys(t).forEach((n=>{i[n]?r.systemProps[n]=t[n]:r.otherProps[n]=t[n]})),r};function c(t){const{sx:n}=t,e=(0,i.A)(t,a),{systemProps:s,otherProps:c}=u(e);let l;return l=Array.isArray(n)?[s,...n]:"function"==typeof n?(...t)=>{const e=n(...t);return(0,o.Q)(e)?(0,r.A)({},s,e):s}:(0,r.A)({},s,n),(0,r.A)({},c,{sx:l})}},41935:(t,n,e)=>{"use strict";e.d(n,{A:()=>c});var r=e(81119),i=e(63680),o=e(20605),s=e(37120),a=e(4626);const u=function(){function t(t,n,e,i){const a={[t]:n,theme:e},u=i[t];if(!u)return{[t]:n};const{cssProperty:c=t,themeKey:l,transform:h,style:f}=u;if(null==n)return null;if("typography"===l&&"inherit"===n)return{[t]:n};const d=(0,o.Yn)(e,l)||{};return f?f(a):(0,s.NI)(a,n,(n=>{let e=(0,o.BO)(d,h,n);return n===e&&"string"==typeof n&&(e=(0,o.BO)(d,h,`${t}${"default"===n?"":(0,r.A)(n)}`,n)),!1===c?e:{[c]:e}}))}return function n(e){var r;const{sx:o,theme:u={}}=e||{};if(!o)return null;const c=null!=(r=u.unstable_sxConfig)?r:a.A;function l(e){let r=e;if("function"==typeof e)r=e(u);else if("object"!=typeof e)return e;if(!r)return null;const o=(0,s.EU)(u.breakpoints),a=Object.keys(o);let l=o;return Object.keys(r).forEach((e=>{const o="function"==typeof(a=r[e])?a(u):a;var a;if(null!=o)if("object"==typeof o)if(c[e])l=(0,i.A)(l,t(e,o,u,c));else{const t=(0,s.NI)({theme:u},o,(t=>({[e]:t})));!function(...t){const n=t.reduce(((t,n)=>t.concat(Object.keys(n))),[]),e=new Set(n);return t.every((t=>e.size===Object.keys(t).length))}(t,o)?l=(0,i.A)(l,t):l[e]=n({sx:o,theme:u})}else l=(0,i.A)(l,t(e,o,u,c))})),(0,s.vf)(a,l)}return Array.isArray(o)?o.map(l):l(o)}}();u.filterProps=["sx"];const c=u},3581:(t,n,e)=>{"use strict";e.d(n,{A:()=>r});const r=(0,e(84469).Ay)()},37462:(t,n,e)=>{"use strict";e.d(n,{A:()=>s});var r=e(57949),i=e(23587);const o=(0,r.A)(),s=function(t=o){return(0,i.A)(t)}},97269:(t,n,e)=>{"use strict";e.d(n,{A:()=>o});var r=e(25475),i=e(37462);function o({props:t,name:n,defaultTheme:e,themeId:o}){let s=(0,i.A)(e);o&&(s=s[o]||s);const a=function(t){const{theme:n,name:e,props:i}=t;return n&&n.components&&n.components[e]&&n.components[e].defaultProps?(0,r.A)(n.components[e].defaultProps,i):i}({theme:s,name:n,props:t});return a}},23587:(t,n,e)=>{"use strict";e.d(n,{A:()=>o});var r=e(7552),i=e(65472);const o=function(t=null){const n=r.useContext(i.T);return n&&(e=n,0!==Object.keys(e).length)?n:t;var e}},29711:(t,n,e)=>{"use strict";e.d(n,{A:()=>i});const r=t=>t,i=(()=>{let t=r;return{configure(n){t=n},generate:n=>t(n),reset(){t=r}}})()},81119:(t,n,e)=>{"use strict";e.d(n,{A:()=>i});var r=e(60829);function i(t){if("string"!=typeof t)throw new Error((0,r.A)(7));return t.charAt(0).toUpperCase()+t.slice(1)}},15093:(t,n,e)=>{"use strict";e.d(n,{A:()=>r});const r=function(t,n=Number.MIN_SAFE_INTEGER,e=Number.MAX_SAFE_INTEGER){return Math.max(n,Math.min(t,e))}},60827:(t,n,e)=>{"use strict";function r(t,n,e=void 0){const r={};return Object.keys(t).forEach((i=>{r[i]=t[i].reduce(((t,r)=>{if(r){const i=n(r);""!==i&&t.push(i),e&&e[r]&&t.push(e[r])}return t}),[]).join(" ")})),r}e.d(n,{A:()=>r})},18961:(t,n,e)=>{"use strict";function r(...t){return t.reduce(((t,n)=>null==n?t:function(...e){t.apply(this,e),n.apply(this,e)}),(()=>{}))}e.d(n,{A:()=>r})},58977:(t,n,e)=>{"use strict";function r(t,n=166){let e;function r(...r){clearTimeout(e),e=setTimeout((()=>{t.apply(this,r)}),n)}return r.clear=()=>{clearTimeout(e)},r}e.d(n,{A:()=>r})},9669:(t,n,e)=>{"use strict";e.d(n,{A:()=>s,Q:()=>i});var r=e(6614);function i(t){if("object"!=typeof t||null===t)return!1;const n=Object.getPrototypeOf(t);return!(null!==n&&n!==Object.prototype&&null!==Object.getPrototypeOf(n)||Symbol.toStringTag in t||Symbol.iterator in t)}function o(t){if(!i(t))return t;const n={};return Object.keys(t).forEach((e=>{n[e]=o(t[e])})),n}function s(t,n,e={clone:!0}){const a=e.clone?(0,r.A)({},t):t;return i(t)&&i(n)&&Object.keys(n).forEach((r=>{"__proto__"!==r&&(i(n[r])&&r in t&&i(t[r])?a[r]=s(t[r],n[r],e):e.clone?a[r]=i(n[r])?o(n[r]):n[r]:a[r]=n[r])})),a}},60829:(t,n,e)=>{"use strict";function r(t){let n="https://mui.com/production-error/?code="+t;for(let t=1;tr})},9577:(t,n,e)=>{"use strict";e.d(n,{Ay:()=>o,li:()=>i});var r=e(29711);const i={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function o(t,n,e="Mui"){const o=i[n];return o?`${e}-${o}`:`${r.A.generate(t)}-${n}`}},55549:(t,n,e)=>{"use strict";e.d(n,{A:()=>i});var r=e(9577);function i(t,n,e="Mui"){const i={};return n.forEach((n=>{i[n]=(0,r.Ay)(t,n,e)})),i}},74693:(t,n,e)=>{"use strict";function r(t){const n=t.documentElement.clientWidth;return Math.abs(window.innerWidth-n)}e.d(n,{A:()=>r})},48285:(t,n,e)=>{"use strict";e.d(n,{A:()=>i});var r=e(7552);function i(t){return r.Children.toArray(t).filter((t=>r.isValidElement(t)))}},89301:(t,n,e)=>{"use strict";function r(t){return t&&t.ownerDocument||document}e.d(n,{A:()=>r})},1629:(t,n,e)=>{"use strict";e.d(n,{A:()=>i});var r=e(89301);function i(t){return(0,r.A)(t).defaultView||window}},25475:(t,n,e)=>{"use strict";e.d(n,{A:()=>i});var r=e(6614);function i(t,n){const e=(0,r.A)({},n);return Object.keys(t).forEach((o=>{if(o.toString().match(/^(components|slots)$/))e[o]=(0,r.A)({},t[o],e[o]);else if(o.toString().match(/^(componentsProps|slotProps)$/)){const s=t[o]||{},a=n[o];e[o]={},a&&Object.keys(a)?s&&Object.keys(s)?(e[o]=(0,r.A)({},a),Object.keys(s).forEach((t=>{e[o][t]=i(s[t],a[t])}))):e[o]=a:e[o]=s}else void 0===e[o]&&(e[o]=t[o])})),e}},52357:(t,n,e)=>{"use strict";function r(t,n){"function"==typeof t?t(n):t&&(t.current=n)}e.d(n,{A:()=>r})},90389:(t,n,e)=>{"use strict";e.d(n,{A:()=>i});var r=e(7552);function i({controlled:t,default:n,name:e,state:i="value"}){const{current:o}=r.useRef(void 0!==t),[s,a]=r.useState(n);return[o?t:s,r.useCallback((t=>{o||a(t)}),[])]}},94921:(t,n,e)=>{"use strict";e.d(n,{A:()=>i});var r=e(7552);const i="undefined"!=typeof window?r.useLayoutEffect:r.useEffect},74795:(t,n,e)=>{"use strict";e.d(n,{A:()=>o});var r=e(7552),i=e(94921);const o=function(t){const n=r.useRef(t);return(0,i.A)((()=>{n.current=t})),r.useRef(((...t)=>(0,n.current)(...t))).current}},24979:(t,n,e)=>{"use strict";e.d(n,{A:()=>o});var r=e(7552),i=e(52357);function o(...t){return r.useMemo((()=>t.every((t=>null==t))?null:n=>{t.forEach((t=>{(0,i.A)(t,n)}))}),t)}},61941:(t,n,e)=>{"use strict";var r;e.d(n,{A:()=>a});var i=e(7552);let o=0;const s=(r||(r=e.t(i,2)))["useId".toString()];function a(t){if(void 0!==s){const n=s();return null!=t?t:n}return function(t){const[n,e]=i.useState(t),r=t||n;return i.useEffect((()=>{null==n&&(o+=1,e(`mui-${o}`))}),[n]),r}(t)}},94065:(t,n,e)=>{"use strict";e.d(n,{A:()=>f});var r=e(7552),i=e(31755);let o=!0,s=!1;const a=new i.E,u={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function c(t){t.metaKey||t.altKey||t.ctrlKey||(o=!0)}function l(){o=!1}function h(){"hidden"===this.visibilityState&&s&&(o=!0)}function f(){const t=r.useCallback((t=>{var n;null!=t&&((n=t.ownerDocument).addEventListener("keydown",c,!0),n.addEventListener("mousedown",l,!0),n.addEventListener("pointerdown",l,!0),n.addEventListener("touchstart",l,!0),n.addEventListener("visibilitychange",h,!0))}),[]),n=r.useRef(!1);return{isFocusVisibleRef:n,onFocus:function(t){return!!function(t){const{target:n}=t;try{return n.matches(":focus-visible")}catch(t){}return o||function(t){const{type:n,tagName:e}=t;return!("INPUT"!==e||!u[n]||t.readOnly)||"TEXTAREA"===e&&!t.readOnly||!!t.isContentEditable}(n)}(t)&&(n.current=!0,!0)},onBlur:function(){return!!n.current&&(s=!0,a.start(100,(()=>{s=!1})),n.current=!1,!0)},ref:t}}},31755:(t,n,e)=>{"use strict";e.d(n,{E:()=>s,A:()=>a});var r=e(7552);const i={},o=[];class s{constructor(){this.currentId=0,this.clear=()=>{0!==this.currentId&&(clearTimeout(this.currentId),this.currentId=0)},this.disposeEffect=()=>this.clear}static create(){return new s}start(t,n){this.clear(),this.currentId=setTimeout((()=>{this.currentId=0,n()}),t)}}function a(){const t=function(t,n){const e=r.useRef(i);return e.current===i&&(e.current=t(void 0)),e}(s.create).current;var n;return n=t.disposeEffect,r.useEffect(n,o),t}},8859:(t,n,e)=>{t=e.nmd(t),ace.define("ace/ext/searchbox-css",["require","exports","module"],(function(t,n,e){e.exports='\n\n/* ------------------------------------------------------------------------------------------\n * Editor Search Form\n * --------------------------------------------------------------------------------------- */\n.ace_search {\n background-color: #ddd;\n color: #666;\n border: 1px solid #cbcbcb;\n border-top: 0 none;\n overflow: hidden;\n margin: 0;\n padding: 4px 6px 0 4px;\n position: absolute;\n top: 0;\n z-index: 99;\n white-space: normal;\n}\n.ace_search.left {\n border-left: 0 none;\n border-radius: 0px 0px 5px 0px;\n left: 0;\n}\n.ace_search.right {\n border-radius: 0px 0px 0px 5px;\n border-right: 0 none;\n right: 0;\n}\n\n.ace_search_form, .ace_replace_form {\n margin: 0 20px 4px 0;\n overflow: hidden;\n line-height: 1.9;\n}\n.ace_replace_form {\n margin-right: 0;\n}\n.ace_search_form.ace_nomatch {\n outline: 1px solid red;\n}\n\n.ace_search_field {\n border-radius: 3px 0 0 3px;\n background-color: white;\n color: black;\n border: 1px solid #cbcbcb;\n border-right: 0 none;\n outline: 0;\n padding: 0;\n font-size: inherit;\n margin: 0;\n line-height: inherit;\n padding: 0 6px;\n min-width: 17em;\n vertical-align: top;\n min-height: 1.8em;\n box-sizing: content-box;\n}\n.ace_searchbtn {\n border: 1px solid #cbcbcb;\n line-height: inherit;\n display: inline-block;\n padding: 0 6px;\n background: #fff;\n border-right: 0 none;\n border-left: 1px solid #dcdcdc;\n cursor: pointer;\n margin: 0;\n position: relative;\n color: #666;\n}\n.ace_searchbtn:last-child {\n border-radius: 0 3px 3px 0;\n border-right: 1px solid #cbcbcb;\n}\n.ace_searchbtn:disabled {\n background: none;\n cursor: default;\n}\n.ace_searchbtn:hover {\n background-color: #eef1f6;\n}\n.ace_searchbtn.prev, .ace_searchbtn.next {\n padding: 0px 0.7em\n}\n.ace_searchbtn.prev:after, .ace_searchbtn.next:after {\n content: "";\n border: solid 2px #888;\n width: 0.5em;\n height: 0.5em;\n border-width: 2px 0 0 2px;\n display:inline-block;\n transform: rotate(-45deg);\n}\n.ace_searchbtn.next:after {\n border-width: 0 2px 2px 0 ;\n}\n.ace_searchbtn_close {\n background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAcCAYAAABRVo5BAAAAZ0lEQVR42u2SUQrAMAhDvazn8OjZBilCkYVVxiis8H4CT0VrAJb4WHT3C5xU2a2IQZXJjiQIRMdkEoJ5Q2yMqpfDIo+XY4k6h+YXOyKqTIj5REaxloNAd0xiKmAtsTHqW8sR2W5f7gCu5nWFUpVjZwAAAABJRU5ErkJggg==) no-repeat 50% 0;\n border-radius: 50%;\n border: 0 none;\n color: #656565;\n cursor: pointer;\n font: 16px/16px Arial;\n padding: 0;\n height: 14px;\n width: 14px;\n top: 9px;\n right: 7px;\n position: absolute;\n}\n.ace_searchbtn_close:hover {\n background-color: #656565;\n background-position: 50% 100%;\n color: white;\n}\n\n.ace_button {\n margin-left: 2px;\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n -o-user-select: none;\n -ms-user-select: none;\n user-select: none;\n overflow: hidden;\n opacity: 0.7;\n border: 1px solid rgba(100,100,100,0.23);\n padding: 1px;\n box-sizing: border-box!important;\n color: black;\n}\n\n.ace_button:hover {\n background-color: #eee;\n opacity:1;\n}\n.ace_button:active {\n background-color: #ddd;\n}\n\n.ace_button.checked {\n border-color: #3399ff;\n opacity:1;\n}\n\n.ace_search_options{\n margin-bottom: 3px;\n text-align: right;\n -webkit-user-select: none;\n -moz-user-select: none;\n -o-user-select: none;\n -ms-user-select: none;\n user-select: none;\n clear: both;\n}\n\n.ace_search_counter {\n float: left;\n font-family: arial;\n padding: 0 8px;\n}'})),ace.define("ace/ext/searchbox",["require","exports","module","ace/lib/dom","ace/lib/lang","ace/lib/event","ace/ext/searchbox-css","ace/keyboard/hash_handler","ace/lib/keys","ace/config"],(function(t,n,e){"use strict";var r=t("../lib/dom"),i=t("../lib/lang"),o=t("../lib/event"),s=t("./searchbox-css"),a=t("../keyboard/hash_handler").HashHandler,u=t("../lib/keys"),c=t("../config").nls;r.importCssString(s,"ace_searchbox",!1);var l=function(){function t(t,n,e){var i=r.createElement("div");r.buildDom(["div",{class:"ace_search right"},["span",{action:"hide",class:"ace_searchbtn_close"}],["div",{class:"ace_search_form"},["input",{class:"ace_search_field",placeholder:c("Search for"),spellcheck:"false"}],["span",{action:"findPrev",class:"ace_searchbtn prev"},"​"],["span",{action:"findNext",class:"ace_searchbtn next"},"​"],["span",{action:"findAll",class:"ace_searchbtn",title:"Alt-Enter"},c("All")]],["div",{class:"ace_replace_form"},["input",{class:"ace_search_field",placeholder:c("Replace with"),spellcheck:"false"}],["span",{action:"replaceAndFindNext",class:"ace_searchbtn"},c("Replace")],["span",{action:"replaceAll",class:"ace_searchbtn"},c("All")]],["div",{class:"ace_search_options"},["span",{action:"toggleReplace",class:"ace_button",title:c("Toggle Replace mode"),style:"float:left;margin-top:-2px;padding:0 5px;"},"+"],["span",{class:"ace_search_counter"}],["span",{action:"toggleRegexpMode",class:"ace_button",title:c("RegExp Search")},".*"],["span",{action:"toggleCaseSensitive",class:"ace_button",title:c("CaseSensitive Search")},"Aa"],["span",{action:"toggleWholeWords",class:"ace_button",title:c("Whole Word Search")},"\\b"],["span",{action:"searchInSelection",class:"ace_button",title:c("Search In Selection")},"S"]]],i),this.element=i.firstChild,this.setSession=this.setSession.bind(this),this.$init(),this.setEditor(t),r.importCssString(s,"ace_searchbox",t.container)}return t.prototype.setEditor=function(t){t.searchBox=this,t.renderer.scroller.appendChild(this.element),this.editor=t},t.prototype.setSession=function(t){this.searchRange=null,this.$syncOptions(!0)},t.prototype.$initElements=function(t){this.searchBox=t.querySelector(".ace_search_form"),this.replaceBox=t.querySelector(".ace_replace_form"),this.searchOption=t.querySelector("[action=searchInSelection]"),this.replaceOption=t.querySelector("[action=toggleReplace]"),this.regExpOption=t.querySelector("[action=toggleRegexpMode]"),this.caseSensitiveOption=t.querySelector("[action=toggleCaseSensitive]"),this.wholeWordOption=t.querySelector("[action=toggleWholeWords]"),this.searchInput=this.searchBox.querySelector(".ace_search_field"),this.replaceInput=this.replaceBox.querySelector(".ace_search_field"),this.searchCounter=t.querySelector(".ace_search_counter")},t.prototype.$init=function(){var t=this.element;this.$initElements(t);var n=this;o.addListener(t,"mousedown",(function(t){setTimeout((function(){n.activeInput.focus()}),0),o.stopPropagation(t)})),o.addListener(t,"click",(function(t){var e=(t.target||t.srcElement).getAttribute("action");e&&n[e]?n[e]():n.$searchBarKb.commands[e]&&n.$searchBarKb.commands[e].exec(n),o.stopPropagation(t)})),o.addCommandKeyListener(t,(function(t,e,r){var i=u.keyCodeToString(r),s=n.$searchBarKb.findKeyCommand(e,i);s&&s.exec&&(s.exec(n),o.stopEvent(t))})),this.$onChange=i.delayedCall((function(){n.find(!1,!1)})),o.addListener(this.searchInput,"input",(function(){n.$onChange.schedule(20)})),o.addListener(this.searchInput,"focus",(function(){n.activeInput=n.searchInput,n.searchInput.value&&n.highlight()})),o.addListener(this.replaceInput,"focus",(function(){n.activeInput=n.replaceInput,n.searchInput.value&&n.highlight()}))},t.prototype.setSearchRange=function(t){this.searchRange=t,t?this.searchRangeMarker=this.editor.session.addMarker(t,"ace_active-line"):this.searchRangeMarker&&(this.editor.session.removeMarker(this.searchRangeMarker),this.searchRangeMarker=null)},t.prototype.$syncOptions=function(t){r.setCssClass(this.replaceOption,"checked",this.searchRange),r.setCssClass(this.searchOption,"checked",this.searchOption.checked),this.replaceOption.textContent=this.replaceOption.checked?"-":"+",r.setCssClass(this.regExpOption,"checked",this.regExpOption.checked),r.setCssClass(this.wholeWordOption,"checked",this.wholeWordOption.checked),r.setCssClass(this.caseSensitiveOption,"checked",this.caseSensitiveOption.checked);var n=this.editor.getReadOnly();this.replaceOption.style.display=n?"none":"",this.replaceBox.style.display=this.replaceOption.checked&&!n?"":"none",this.find(!1,!1,t)},t.prototype.highlight=function(t){this.editor.session.highlight(t||this.editor.$search.$options.re),this.editor.renderer.updateBackMarkers()},t.prototype.find=function(t,n,e){var i=!this.editor.find(this.searchInput.value,{skipCurrent:t,backwards:n,wrap:!0,regExp:this.regExpOption.checked,caseSensitive:this.caseSensitiveOption.checked,wholeWord:this.wholeWordOption.checked,preventScroll:e,range:this.searchRange})&&this.searchInput.value;r.setCssClass(this.searchBox,"ace_nomatch",i),this.editor._emit("findSearchBox",{match:!i}),this.highlight(),this.updateCounter()},t.prototype.updateCounter=function(){var t=this.editor,n=t.$search.$options.re,e=0,r=0;if(n){var i=this.searchRange?t.session.getTextRange(this.searchRange):t.getValue(),o=t.session.doc.positionToIndex(t.selection.anchor);this.searchRange&&(o-=t.session.doc.positionToIndex(this.searchRange.start));for(var s,a=n.lastIndex=0;(s=n.exec(i))&&(e++,(a=s.index)<=o&&r++,!(e>999))&&(s[0]||(n.lastIndex=a+=1,!(a>=i.length))););}this.searchCounter.textContent=c("$0 of $1",[r,e>999?"999+":e])},t.prototype.findNext=function(){this.find(!0,!1)},t.prototype.findPrev=function(){this.find(!0,!0)},t.prototype.findAll=function(){var t=!this.editor.findAll(this.searchInput.value,{regExp:this.regExpOption.checked,caseSensitive:this.caseSensitiveOption.checked,wholeWord:this.wholeWordOption.checked})&&this.searchInput.value;r.setCssClass(this.searchBox,"ace_nomatch",t),this.editor._emit("findSearchBox",{match:!t}),this.highlight(),this.hide()},t.prototype.replace=function(){this.editor.getReadOnly()||this.editor.replace(this.replaceInput.value)},t.prototype.replaceAndFindNext=function(){this.editor.getReadOnly()||(this.editor.replace(this.replaceInput.value),this.findNext())},t.prototype.replaceAll=function(){this.editor.getReadOnly()||this.editor.replaceAll(this.replaceInput.value)},t.prototype.hide=function(){this.active=!1,this.setSearchRange(null),this.editor.off("changeSession",this.setSession),this.element.style.display="none",this.editor.keyBinding.removeKeyboardHandler(this.$closeSearchBarKb),this.editor.focus()},t.prototype.show=function(t,n){this.active=!0,this.editor.on("changeSession",this.setSession),this.element.style.display="",this.replaceOption.checked=n,t&&(this.searchInput.value=t),this.searchInput.focus(),this.searchInput.select(),this.editor.keyBinding.addKeyboardHandler(this.$closeSearchBarKb),this.$syncOptions(!0)},t.prototype.isFocused=function(){var t=document.activeElement;return t==this.searchInput||t==this.replaceInput},t}(),h=new a;h.bindKeys({"Ctrl-f|Command-f":function(t){var n=t.isReplace=!t.isReplace;t.replaceBox.style.display=n?"":"none",t.replaceOption.checked=!1,t.$syncOptions(),t.searchInput.focus()},"Ctrl-H|Command-Option-F":function(t){t.editor.getReadOnly()||(t.replaceOption.checked=!0,t.$syncOptions(),t.replaceInput.focus())},"Ctrl-G|Command-G":function(t){t.findNext()},"Ctrl-Shift-G|Command-Shift-G":function(t){t.findPrev()},esc:function(t){setTimeout((function(){t.hide()}))},Return:function(t){t.activeInput==t.replaceInput&&t.replace(),t.findNext()},"Shift-Return":function(t){t.activeInput==t.replaceInput&&t.replace(),t.findPrev()},"Alt-Return":function(t){t.activeInput==t.replaceInput&&t.replaceAll(),t.findAll()},Tab:function(t){(t.activeInput==t.replaceInput?t.searchInput:t.replaceInput).focus()}}),h.addCommands([{name:"toggleRegexpMode",bindKey:{win:"Alt-R|Alt-/",mac:"Ctrl-Alt-R|Ctrl-Alt-/"},exec:function(t){t.regExpOption.checked=!t.regExpOption.checked,t.$syncOptions()}},{name:"toggleCaseSensitive",bindKey:{win:"Alt-C|Alt-I",mac:"Ctrl-Alt-R|Ctrl-Alt-I"},exec:function(t){t.caseSensitiveOption.checked=!t.caseSensitiveOption.checked,t.$syncOptions()}},{name:"toggleWholeWords",bindKey:{win:"Alt-B|Alt-W",mac:"Ctrl-Alt-B|Ctrl-Alt-W"},exec:function(t){t.wholeWordOption.checked=!t.wholeWordOption.checked,t.$syncOptions()}},{name:"toggleReplace",exec:function(t){t.replaceOption.checked=!t.replaceOption.checked,t.$syncOptions()}},{name:"searchInSelection",exec:function(t){t.searchOption.checked=!t.searchRange,t.setSearchRange(t.searchOption.checked&&t.editor.getSelectionRange()),t.$syncOptions()}}]);var f=new a([{bindKey:"Esc",name:"closeSearchBar",exec:function(t){t.searchBox.hide()}}]);l.prototype.$searchBarKb=h,l.prototype.$closeSearchBarKb=f,n.SearchBox=l,n.Search=function(t,n){(t.searchBox||new l(t)).show(t.session.getTextRange(),n)}})),ace.require(["ace/ext/searchbox"],(function(n){t&&(t.exports=n)}))},37210:(t,n,e)=>{t=e.nmd(t),ace.define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],(function(t,n,e){"use strict";var r=t("../lib/oop"),i=t("./text_highlight_rules").TextHighlightRules,o=function(){this.$rules={start:[{token:"comment.doc.tag",regex:"@\\w+(?=\\s|$)"},o.getTagRule(),{defaultToken:"comment.doc",caseInsensitive:!0}]}};r.inherits(o,i),o.getTagRule=function(t){return{token:"comment.doc.tag.storage.type",regex:"\\b(?:TODO|FIXME|XXX|HACK)\\b"}},o.getStartRule=function(t){return{token:"comment.doc",regex:"\\/\\*(?=\\*)",next:t}},o.getEndRule=function(t){return{token:"comment.doc",regex:"\\*\\/",next:t}},n.DocCommentHighlightRules=o})),ace.define("ace/mode/c_cpp_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/doc_comment_highlight_rules","ace/mode/text_highlight_rules"],(function(t,n,e){"use strict";var r=t("../lib/oop"),i=t("./doc_comment_highlight_rules").DocCommentHighlightRules,o=t("./text_highlight_rules").TextHighlightRules,s=n.cFunctions="hypot|hypotf|hypotl|sscanf|system|snprintf|scanf|scalbn|scalbnf|scalbnl|scalbln|scalblnf|scalblnl|sin|sinh|sinhf|sinhl|sinf|sinl|signal|signbit|strstr|strspn|strncpy|strncat|strncmp|strcspn|strchr|strcoll|strcpy|strcat|strcmp|strtoimax|strtod|strtoul|strtoull|strtoumax|strtok|strtof|strtol|strtold|strtoll|strerror|strpbrk|strftime|strlen|strrchr|strxfrm|sprintf|setjmp|setvbuf|setlocale|setbuf|sqrt|sqrtf|sqrtl|swscanf|swprintf|srand|nearbyint|nearbyintf|nearbyintl|nexttoward|nexttowardf|nexttowardl|nextafter|nextafterf|nextafterl|nan|nanf|nanl|csin|csinh|csinhf|csinhl|csinf|csinl|csqrt|csqrtf|csqrtl|ccos|ccosh|ccoshf|ccosf|ccosl|cimag|cimagf|cimagl|ctime|ctan|ctanh|ctanhf|ctanhl|ctanf|ctanl|cos|cosh|coshf|coshl|cosf|cosl|conj|conjf|conjl|copysign|copysignf|copysignl|cpow|cpowf|cpowl|cproj|cprojf|cprojl|ceil|ceilf|ceill|cexp|cexpf|cexpl|clock|clog|clogf|clogl|clearerr|casin|casinh|casinhf|casinhl|casinf|casinl|cacos|cacosh|cacoshf|cacoshl|cacosf|cacosl|catan|catanh|catanhf|catanhl|catanf|catanl|calloc|carg|cargf|cargl|cabs|cabsf|cabsl|creal|crealf|creall|cbrt|cbrtf|cbrtl|time|toupper|tolower|tan|tanh|tanhf|tanhl|tanf|tanl|trunc|truncf|truncl|tgamma|tgammaf|tgammal|tmpnam|tmpfile|isspace|isnormal|isnan|iscntrl|isinf|isdigit|isunordered|isupper|ispunct|isprint|isfinite|iswspace|iswcntrl|iswctype|iswdigit|iswupper|iswpunct|iswprint|iswlower|iswalnum|iswalpha|iswgraph|iswxdigit|iswblank|islower|isless|islessequal|islessgreater|isalnum|isalpha|isgreater|isgreaterequal|isgraph|isxdigit|isblank|ilogb|ilogbf|ilogbl|imaxdiv|imaxabs|div|difftime|_Exit|ungetc|ungetwc|pow|powf|powl|puts|putc|putchar|putwc|putwchar|perror|printf|erf|erfc|erfcf|erfcl|erff|erfl|exit|exp|exp2|exp2f|exp2l|expf|expl|expm1|expm1f|expm1l|vsscanf|vsnprintf|vscanf|vsprintf|vswscanf|vswprintf|vprintf|vfscanf|vfprintf|vfwscanf|vfwprintf|vwscanf|vwprintf|va_start|va_copy|va_end|va_arg|qsort|fscanf|fsetpos|fseek|fclose|ftell|fopen|fdim|fdimf|fdiml|fpclassify|fputs|fputc|fputws|fputwc|fprintf|feholdexcept|fesetenv|fesetexceptflag|fesetround|feclearexcept|fetestexcept|feof|feupdateenv|feraiseexcept|ferror|fegetenv|fegetexceptflag|fegetround|fflush|fwscanf|fwide|fwprintf|fwrite|floor|floorf|floorl|fabs|fabsf|fabsl|fgets|fgetc|fgetpos|fgetws|fgetwc|freopen|free|fread|frexp|frexpf|frexpl|fmin|fminf|fminl|fmod|fmodf|fmodl|fma|fmaf|fmal|fmax|fmaxf|fmaxl|ldiv|ldexp|ldexpf|ldexpl|longjmp|localtime|localeconv|log|log1p|log1pf|log1pl|log10|log10f|log10l|log2|log2f|log2l|logf|logl|logb|logbf|logbl|labs|lldiv|llabs|llrint|llrintf|llrintl|llround|llroundf|llroundl|lrint|lrintf|lrintl|lround|lroundf|lroundl|lgamma|lgammaf|lgammal|wscanf|wcsstr|wcsspn|wcsncpy|wcsncat|wcsncmp|wcscspn|wcschr|wcscoll|wcscpy|wcscat|wcscmp|wcstoimax|wcstod|wcstoul|wcstoull|wcstoumax|wcstok|wcstof|wcstol|wcstold|wcstoll|wcstombs|wcspbrk|wcsftime|wcslen|wcsrchr|wcsrtombs|wcsxfrm|wctob|wctomb|wcrtomb|wprintf|wmemset|wmemchr|wmemcpy|wmemcmp|wmemmove|assert|asctime|asin|asinh|asinhf|asinhl|asinf|asinl|acos|acosh|acoshf|acoshl|acosf|acosl|atoi|atof|atol|atoll|atexit|atan|atanh|atanhf|atanhl|atan2|atan2f|atan2l|atanf|atanl|abs|abort|gets|getc|getchar|getenv|getwc|getwchar|gmtime|rint|rintf|rintl|round|roundf|roundl|rename|realloc|rewind|remove|remquo|remquof|remquol|remainder|remainderf|remainderl|rand|raise|bsearch|btowc|modf|modff|modfl|memset|memchr|memcpy|memcmp|memmove|mktime|malloc|mbsinit|mbstowcs|mbsrtowcs|mbtowc|mblen|mbrtowc|mbrlen",a=function(t){var n=this.$keywords=this.createKeywordMapper(Object.assign({"keyword.control":"break|case|continue|default|do|else|for|goto|if|_Pragma|return|switch|while|catch|operator|try|throw|using","storage.type":"asm|__asm__|auto|bool|_Bool|char|_Complex|double|enum|float|_Imaginary|int|int8_t|int16_t|int32_t|int64_t|long|short|signed|size_t|struct|typedef|uint8_t|uint16_t|uint32_t|uint64_t|union|unsigned|void|class|wchar_t|template|char16_t|char32_t","storage.modifier":"const|extern|register|restrict|static|volatile|inline|private|protected|public|friend|explicit|virtual|export|mutable|typename|constexpr|new|delete|alignas|alignof|decltype|noexcept|thread_local","keyword.operator":"and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq|const_cast|dynamic_cast|reinterpret_cast|static_cast|sizeof|namespace","variable.language":"this","constant.language":"NULL|true|false|TRUE|FALSE|nullptr","support.function.C99.c":s},t),"identifier"),e=/\\(?:['"?\\abfnrtv]|[0-7]{1,3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}U[a-fA-F\d]{8}|.)/.source,r="%"+/(\d+\$)?/.source+/[#0\- +']*/.source+/[,;:_]?/.source+/((-?\d+)|\*(-?\d+\$)?)?/.source+/(\.((-?\d+)|\*(-?\d+\$)?)?)?/.source+/(hh|h|ll|l|j|t|z|q|L|vh|vl|v|hv|hl)?/.source+/(\[[^"\]]+\]|[diouxXDOUeEfFgGaACcSspn%])/.source;this.$rules={start:[{token:"comment",regex:"//$",next:"start"},{token:"comment",regex:"//",next:"singleLineComment"},i.getStartRule("doc-start"),{token:"comment",regex:"\\/\\*",next:"comment"},{token:"string",regex:"'(?:"+e+"|.)?'"},{token:"string.start",regex:'"',stateName:"qqstring",next:[{token:"string",regex:/\\\s*$/,next:"qqstring"},{token:"constant.language.escape",regex:e},{token:"constant.language.escape",regex:r},{token:"string.end",regex:'"|$',next:"start"},{defaultToken:"string"}]},{token:"string.start",regex:'R"\\(',stateName:"rawString",next:[{token:"string.end",regex:'\\)"',next:"start"},{defaultToken:"string"}]},{token:"constant.numeric",regex:"0[xX][0-9a-fA-F]+(L|l|UL|ul|u|U|F|f|ll|LL|ull|ULL)?\\b"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?(L|l|UL|ul|u|U|F|f|ll|LL|ull|ULL)?\\b"},{token:"keyword",regex:"#\\s*(?:include|import|pragma|line|define|undef)\\b",next:"directive"},{token:"keyword",regex:"#\\s*(?:endif|if|ifdef|else|elif|ifndef)\\b"},{token:n,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*"},{token:"keyword.operator",regex:/--|\+\+|<<=|>>=|>>>=|<>|&&|\|\||\?:|[*%\/+\-&\^|~!<>=]=?/},{token:"punctuation.operator",regex:"\\?|\\:|\\,|\\;|\\."},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"text",regex:"\\s+"}],comment:[{token:"comment",regex:"\\*\\/",next:"start"},{defaultToken:"comment"}],singleLineComment:[{token:"comment",regex:/\\$/,next:"singleLineComment"},{token:"comment",regex:/$/,next:"start"},{defaultToken:"comment"}],directive:[{token:"constant.other.multiline",regex:/\\/},{token:"constant.other.multiline",regex:/.*\\/},{token:"constant.other",regex:"\\s*<.+?>",next:"start"},{token:"constant.other",regex:'\\s*["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]',next:"start"},{token:"constant.other",regex:"\\s*['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']",next:"start"},{token:"constant.other",regex:/[^\\\/]+/,next:"start"}]},this.embedRules(i,"doc-",[i.getEndRule("start")]),this.normalizeRules()};r.inherits(a,o),n.c_cppHighlightRules=a})),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],(function(t,n,e){"use strict";var r=t("../range").Range,i=function(){};(function(){this.checkOutdent=function(t,n){return!!/^\s+$/.test(t)&&/^\s*\}/.test(n)},this.autoOutdent=function(t,n){var e=t.getLine(n).match(/^(\s*\})/);if(!e)return 0;var i=e[1].length,o=t.findMatchingBracket({row:n,column:i});if(!o||o.row==n)return 0;var s=this.$getIndent(t.getLine(o.row));t.replace(new r(n,0,n,i-1),s)},this.$getIndent=function(t){return t.match(/^\s*/)[0]}}).call(i.prototype),n.MatchingBraceOutdent=i})),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],(function(t,n,e){"use strict";var r=t("../../lib/oop"),i=t("../../range").Range,o=t("./fold_mode").FoldMode,s=n.FoldMode=function(t){t&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+t.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+t.end)))};r.inherits(s,o),function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(t,n,e){var r=t.getLine(e);if(this.singleLineBlockCommentRe.test(r)&&!this.startRegionRe.test(r)&&!this.tripleStarBlockCommentRe.test(r))return"";var i=this._getFoldWidgetBase(t,n,e);return!i&&this.startRegionRe.test(r)?"start":i},this.getFoldWidgetRange=function(t,n,e,r){var i,o=t.getLine(e);if(this.startRegionRe.test(o))return this.getCommentRegionBlock(t,o,e);if(i=o.match(this.foldingStartMarker)){var s=i.index;if(i[1])return this.openingBracketBlock(t,i[1],e,s);var a=t.getCommentFoldRange(e,s+i[0].length,1);return a&&!a.isMultiLine()&&(r?a=this.getSectionRange(t,e):"all"!=n&&(a=null)),a}return"markbegin"!==n&&(i=o.match(this.foldingStopMarker))?(s=i.index+i[0].length,i[1]?this.closingBracketBlock(t,i[1],e,s):t.getCommentFoldRange(e,s,-1)):void 0},this.getSectionRange=function(t,n){for(var e=t.getLine(n),r=e.search(/\S/),o=n,s=e.length,a=n+=1,u=t.getLength();++nc)break;var l=this.getFoldWidgetRange(t,"all",n);if(l){if(l.start.row<=o)break;if(l.isMultiLine())n=l.end.row;else if(r==c)break}a=n}}return new i(o,s,a,t.getLine(a).length)},this.getCommentRegionBlock=function(t,n,e){for(var r=n.search(/\s*$/),o=t.getLength(),s=e,a=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,u=1;++es)return new i(s,r,e,n.length)}}.call(s.prototype)})),ace.define("ace/mode/c_cpp",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/c_cpp_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/folding/cstyle"],(function(t,n,e){"use strict";var r=t("../lib/oop"),i=t("./text").Mode,o=t("./c_cpp_highlight_rules").c_cppHighlightRules,s=t("./matching_brace_outdent").MatchingBraceOutdent,a=t("./folding/cstyle").FoldMode,u=function(){this.HighlightRules=o,this.$outdent=new s,this.$behaviour=this.$defaultBehaviour,this.foldingRules=new a};r.inherits(u,i),function(){this.lineCommentStart="//",this.blockComment={start:"/*",end:"*/"},this.getNextLineIndent=function(t,n,e){var r=this.$getIndent(n),i=this.getTokenizer().getLineTokens(n,t),o=i.tokens,s=i.state;if(o.length&&"comment"==o[o.length-1].type)return r;if("start"==t)(a=n.match(/^.*[\{\(\[]\s*$/))&&(r+=e);else if("doc-start"==t){if("start"==s)return"";var a;(a=n.match(/^\s*(\/?)\*/))&&(a[1]&&(r+=" "),r+="* ")}return r},this.checkOutdent=function(t,n,e){return this.$outdent.checkOutdent(n,e)},this.autoOutdent=function(t,n,e){this.$outdent.autoOutdent(n,e)},this.$id="ace/mode/c_cpp",this.snippetFileId="ace/snippets/c_cpp"}.call(u.prototype),n.Mode=u})),ace.define("ace/mode/glsl_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/c_cpp_highlight_rules"],(function(t,n,e){"use strict";var r=t("../lib/oop"),i=t("./c_cpp_highlight_rules").c_cppHighlightRules,o=function(){var t=this.createKeywordMapper({"variable.language":"this",keyword:"attribute|const|uniform|varying|break|continue|do|for|while|if|else|in|out|inout|float|int|void|bool|true|false|lowp|mediump|highp|precision|invariant|discard|return|mat2|mat3|mat4|vec2|vec3|vec4|ivec2|ivec3|ivec4|bvec2|bvec3|bvec4|sampler2D|samplerCube|struct","constant.language":"radians|degrees|sin|cos|tan|asin|acos|atan|pow|exp|log|exp2|log2|sqrt|inversesqrt|abs|sign|floor|ceil|fract|mod|min|max|clamp|mix|step|smoothstep|length|distance|dot|cross|normalize|faceforward|reflect|refract|matrixCompMult|lessThan|lessThanEqual|greaterThan|greaterThanEqual|equal|notEqual|any|all|not|dFdx|dFdy|fwidth|texture2D|texture2DProj|texture2DLod|texture2DProjLod|textureCube|textureCubeLod|gl_MaxVertexAttribs|gl_MaxVertexUniformVectors|gl_MaxVaryingVectors|gl_MaxVertexTextureImageUnits|gl_MaxCombinedTextureImageUnits|gl_MaxTextureImageUnits|gl_MaxFragmentUniformVectors|gl_MaxDrawBuffers|gl_DepthRangeParameters|gl_DepthRange|gl_Position|gl_PointSize|gl_FragCoord|gl_FrontFacing|gl_PointCoord|gl_FragColor|gl_FragData"},"identifier");this.$rules=(new i).$rules,this.$rules.start.forEach((function(n){"function"==typeof n.token&&(n.token=t)}))};r.inherits(o,i),n.glslHighlightRules=o})),ace.define("ace/mode/glsl",["require","exports","module","ace/lib/oop","ace/mode/c_cpp","ace/mode/glsl_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/folding/cstyle"],(function(t,n,e){"use strict";var r=t("../lib/oop"),i=t("./c_cpp").Mode,o=t("./glsl_highlight_rules").glslHighlightRules,s=t("./matching_brace_outdent").MatchingBraceOutdent,a=t("./folding/cstyle").FoldMode,u=function(){this.HighlightRules=o,this.$outdent=new s,this.$behaviour=this.$defaultBehaviour,this.foldingRules=new a};r.inherits(u,i),function(){this.$id="ace/mode/glsl"}.call(u.prototype),n.Mode=u})),ace.require(["ace/mode/glsl"],(function(n){t&&(t.exports=n)}))},43533:(t,n,e)=>{t=e.nmd(t),ace.define("ace/theme/github-css",["require","exports","module"],(function(t,n,e){e.exports='/* CSS style content from github\'s default pygments highlighter template.\n Cursor and selection styles from textmate.css. */\n.ace-github .ace_gutter {\n background: #e8e8e8;\n color: #AAA;\n}\n\n.ace-github {\n background: #fff;\n color: #000;\n}\n\n.ace-github .ace_keyword {\n font-weight: bold;\n}\n\n.ace-github .ace_string {\n color: #D14;\n}\n\n.ace-github .ace_variable.ace_class {\n color: teal;\n}\n\n.ace-github .ace_constant.ace_numeric {\n color: #099;\n}\n\n.ace-github .ace_constant.ace_buildin {\n color: #0086B3;\n}\n\n.ace-github .ace_support.ace_function {\n color: #0086B3;\n}\n\n.ace-github .ace_comment {\n color: #998;\n font-style: italic;\n}\n\n.ace-github .ace_variable.ace_language {\n color: #0086B3;\n}\n\n.ace-github .ace_paren {\n font-weight: bold;\n}\n\n.ace-github .ace_boolean {\n font-weight: bold;\n}\n\n.ace-github .ace_string.ace_regexp {\n color: #009926;\n font-weight: normal;\n}\n\n.ace-github .ace_variable.ace_instance {\n color: teal;\n}\n\n.ace-github .ace_constant.ace_language {\n font-weight: bold;\n}\n\n.ace-github .ace_cursor {\n color: black;\n}\n\n.ace-github.ace_focus .ace_marker-layer .ace_active-line {\n background: rgb(255, 255, 204);\n}\n.ace-github .ace_marker-layer .ace_active-line {\n background: rgb(245, 245, 245);\n}\n\n.ace-github .ace_marker-layer .ace_selection {\n background: rgb(181, 213, 255);\n}\n\n.ace-github.ace_multiselect .ace_selection.ace_start {\n box-shadow: 0 0 3px 0px white;\n}\n/* bold keywords cause cursor issues for some fonts */\n/* this disables bold style for editor and keeps for static highlighter */\n.ace-github.ace_nobold .ace_line > span {\n font-weight: normal !important;\n}\n\n.ace-github .ace_marker-layer .ace_step {\n background: rgb(252, 255, 0);\n}\n\n.ace-github .ace_marker-layer .ace_stack {\n background: rgb(164, 229, 101);\n}\n\n.ace-github .ace_marker-layer .ace_bracket {\n margin: -1px 0 0 -1px;\n border: 1px solid rgb(192, 192, 192);\n}\n\n.ace-github .ace_gutter-active-line {\n background-color : rgba(0, 0, 0, 0.07);\n}\n\n.ace-github .ace_marker-layer .ace_selected-word {\n background: rgb(250, 250, 255);\n border: 1px solid rgb(200, 200, 250);\n}\n\n.ace-github .ace_invisible {\n color: #BFBFBF\n}\n\n.ace-github .ace_print-margin {\n width: 1px;\n background: #e8e8e8;\n}\n\n.ace-github .ace_indent-guide {\n background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;\n}\n\n.ace-github .ace_indent-guide-active {\n background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAAZSURBVHjaYvj///9/hivKyv8BAAAA//8DACLqBhbvk+/eAAAAAElFTkSuQmCC") right repeat-y;\n}\n'})),ace.define("ace/theme/github",["require","exports","module","ace/theme/github-css","ace/lib/dom"],(function(t,n,e){n.isDark=!1,n.cssClass="ace-github",n.cssText=t("./github-css"),t("../lib/dom").importCssString(n.cssText,n.cssClass,!1)})),ace.require(["ace/theme/github"],(function(n){t&&(t.exports=n)}))},45967:(t,n,e)=>{t=e.nmd(t),ace.define("ace/theme/tomorrow_night_bright-css",["require","exports","module"],(function(t,n,e){e.exports=".ace-tomorrow-night-bright .ace_gutter {\n background: #1a1a1a;\n color: #DEDEDE\n}\n\n.ace-tomorrow-night-bright .ace_print-margin {\n width: 1px;\n background: #1a1a1a\n}\n\n.ace-tomorrow-night-bright {\n background-color: #000000;\n color: #DEDEDE\n}\n\n.ace-tomorrow-night-bright .ace_cursor {\n color: #9F9F9F\n}\n\n.ace-tomorrow-night-bright .ace_marker-layer .ace_selection {\n background: #424242\n}\n\n.ace-tomorrow-night-bright.ace_multiselect .ace_selection.ace_start {\n box-shadow: 0 0 3px 0px #000000;\n}\n\n.ace-tomorrow-night-bright .ace_marker-layer .ace_step {\n background: rgb(102, 82, 0)\n}\n\n.ace-tomorrow-night-bright .ace_marker-layer .ace_bracket {\n margin: -1px 0 0 -1px;\n border: 1px solid #888888\n}\n\n.ace-tomorrow-night-bright .ace_marker-layer .ace_highlight {\n border: 1px solid rgb(110, 119, 0);\n border-bottom: 0;\n box-shadow: inset 0 -1px rgb(110, 119, 0);\n margin: -1px 0 0 -1px;\n background: rgba(255, 235, 0, 0.1)\n}\n\n.ace-tomorrow-night-bright .ace_marker-layer .ace_active-line {\n background: #2A2A2A\n}\n\n.ace-tomorrow-night-bright .ace_gutter-active-line {\n background-color: #2A2A2A\n}\n\n.ace-tomorrow-night-bright .ace_stack {\n background-color: rgb(66, 90, 44)\n}\n\n.ace-tomorrow-night-bright .ace_marker-layer .ace_selected-word {\n border: 1px solid #888888\n}\n\n.ace-tomorrow-night-bright .ace_invisible {\n color: #343434\n}\n\n.ace-tomorrow-night-bright .ace_keyword,\n.ace-tomorrow-night-bright .ace_meta,\n.ace-tomorrow-night-bright .ace_storage,\n.ace-tomorrow-night-bright .ace_storage.ace_type,\n.ace-tomorrow-night-bright .ace_support.ace_type {\n color: #C397D8\n}\n\n.ace-tomorrow-night-bright .ace_keyword.ace_operator {\n color: #70C0B1\n}\n\n.ace-tomorrow-night-bright .ace_constant.ace_character,\n.ace-tomorrow-night-bright .ace_constant.ace_language,\n.ace-tomorrow-night-bright .ace_constant.ace_numeric,\n.ace-tomorrow-night-bright .ace_keyword.ace_other.ace_unit,\n.ace-tomorrow-night-bright .ace_support.ace_constant,\n.ace-tomorrow-night-bright .ace_variable.ace_parameter {\n color: #E78C45\n}\n\n.ace-tomorrow-night-bright .ace_constant.ace_other {\n color: #EEEEEE\n}\n\n.ace-tomorrow-night-bright .ace_invalid {\n color: #CED2CF;\n background-color: #DF5F5F\n}\n\n.ace-tomorrow-night-bright .ace_invalid.ace_deprecated {\n color: #CED2CF;\n background-color: #B798BF\n}\n\n.ace-tomorrow-night-bright .ace_fold {\n background-color: #7AA6DA;\n border-color: #DEDEDE\n}\n\n.ace-tomorrow-night-bright .ace_entity.ace_name.ace_function,\n.ace-tomorrow-night-bright .ace_support.ace_function,\n.ace-tomorrow-night-bright .ace_variable {\n color: #7AA6DA\n}\n\n.ace-tomorrow-night-bright .ace_support.ace_class,\n.ace-tomorrow-night-bright .ace_support.ace_type {\n color: #E7C547\n}\n\n.ace-tomorrow-night-bright .ace_heading,\n.ace-tomorrow-night-bright .ace_markup.ace_heading,\n.ace-tomorrow-night-bright .ace_string {\n color: #B9CA4A\n}\n\n.ace-tomorrow-night-bright .ace_entity.ace_name.ace_tag,\n.ace-tomorrow-night-bright .ace_entity.ace_other.ace_attribute-name,\n.ace-tomorrow-night-bright .ace_meta.ace_tag,\n.ace-tomorrow-night-bright .ace_string.ace_regexp,\n.ace-tomorrow-night-bright .ace_variable {\n color: #D54E53\n}\n\n.ace-tomorrow-night-bright .ace_comment {\n color: #969896\n}\n\n.ace-tomorrow-night-bright .ace_c9searchresults.ace_keyword {\n color: #C2C280\n}\n\n.ace-tomorrow-night-bright .ace_indent-guide {\n background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYFBXV/8PAAJoAXX4kT2EAAAAAElFTkSuQmCC) right repeat-y\n}\n\n.ace-tomorrow-night-bright .ace_indent-guide-active {\n background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQIW2PQ1dX9zzBz5sz/ABCcBFFentLlAAAAAElFTkSuQmCC) right repeat-y;\n}\n"})),ace.define("ace/theme/tomorrow_night_bright",["require","exports","module","ace/theme/tomorrow_night_bright-css","ace/lib/dom"],(function(t,n,e){n.isDark=!0,n.cssClass="ace-tomorrow-night-bright",n.cssText=t("./tomorrow_night_bright-css"),t("../lib/dom").importCssString(n.cssText,n.cssClass,!1)})),ace.require(["ace/theme/tomorrow_night_bright"],(function(n){t&&(t.exports=n)}))},14124:(t,n,e)=>{t=e.nmd(t),function(){var t=function(){return this}();t||"undefined"==typeof window||(t=window);var n=function(t,e,r){"string"==typeof t?(2==arguments.length&&(r=e),n.modules[t]||(n.payloads[t]=r,n.modules[t]=null)):n.original?n.original.apply(this,arguments):(console.error("dropping module because define wasn't a string."),console.trace())};n.modules={},n.payloads={};var e,r,i=function(t,n,e){if("string"==typeof n){var r=a(t,n);if(null!=r)return e&&e(),r}else if("[object Array]"===Object.prototype.toString.call(n)){for(var i=[],s=0,u=n.length;se.length)&&(n=e.length),n-=t.length;var r=e.indexOf(t,n);return-1!==r&&r===n})),String.prototype.repeat||r(String.prototype,"repeat",(function(t){for(var n="",e=this;t>0;)1&t&&(n+=e),(t>>=1)&&(e+=e);return n})),String.prototype.includes||r(String.prototype,"includes",(function(t,n){return-1!=this.indexOf(t,n)})),Object.assign||(Object.assign=function(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(t),e=1;e>>0,r=0|arguments[1],i=r<0?Math.max(e+r,0):Math.min(r,e),o=arguments[2],s=void 0===o?e:0|o,a=s<0?Math.max(e+s,0):Math.min(s,e);i0;)1&n&&(e+=t),(n>>=1)&&(t+=t);return e};var r=/^\s\s*/,i=/\s\s*$/;n.stringTrimLeft=function(t){return t.replace(r,"")},n.stringTrimRight=function(t){return t.replace(i,"")},n.copyObject=function(t){var n={};for(var e in t)n[e]=t[e];return n},n.copyArray=function(t){for(var n=[],e=0,r=t.length;e=0?parseFloat((o.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((o.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),n.isOldIE=n.isIE&&n.isIE<9,n.isGecko=n.isMozilla=o.match(/ Gecko\/\d+/),n.isOpera="object"==typeof opera&&"[object Opera]"==Object.prototype.toString.call(window.opera),n.isWebKit=parseFloat(o.split("WebKit/")[1])||void 0,n.isChrome=parseFloat(o.split(" Chrome/")[1])||void 0,n.isEdge=parseFloat(o.split(" Edge/")[1])||void 0,n.isAIR=o.indexOf("AdobeAIR")>=0,n.isAndroid=o.indexOf("Android")>=0,n.isChromeOS=o.indexOf(" CrOS ")>=0,n.isIOS=/iPad|iPhone|iPod/.test(o)&&!window.MSStream,n.isIOS&&(n.isMac=!0),n.isMobile=n.isIOS||n.isAndroid})),ace.define("ace/lib/dom",["require","exports","module","ace/lib/useragent"],(function(t,n,e){"use strict";var r,i=t("./useragent");n.buildDom=function t(n,e,r){if("string"==typeof n&&n){var i=document.createTextNode(n);return e&&e.appendChild(i),i}if(!Array.isArray(n))return n&&n.appendChild&&e&&e.appendChild(n),n;if("string"!=typeof n[0]||!n[0]){for(var o=[],s=0;s=1.5,i.isChromeOS&&(n.HI_DPI=!1),"undefined"!=typeof document){var u=document.createElement("div");n.HI_DPI&&void 0!==u.style.transform&&(n.HAS_CSS_TRANSFORMS=!0),i.isEdge||void 0===u.style.animationName||(n.HAS_CSS_ANIMATION=!0),u=null}n.HAS_CSS_TRANSFORMS?n.translate=function(t,n,e){t.style.transform="translate("+Math.round(n)+"px, "+Math.round(e)+"px)"}:n.translate=function(t,n,e){t.style.top=Math.round(e)+"px",t.style.left=Math.round(n)+"px"}})),ace.define("ace/lib/net",["require","exports","module","ace/lib/dom"],(function(t,n,e){"use strict";var r=t("./dom");n.get=function(t,n){var e=new XMLHttpRequest;e.open("GET",t,!0),e.onreadystatechange=function(){4===e.readyState&&n(e.responseText)},e.send(null)},n.loadScript=function(t,n){var e=r.getDocumentHead(),i=document.createElement("script");i.src=t,e.appendChild(i),i.onload=i.onreadystatechange=function(t,e){!e&&i.readyState&&"loaded"!=i.readyState&&"complete"!=i.readyState||(i=i.onload=i.onreadystatechange=null,e||n())}},n.qualifyURL=function(t){var n=document.createElement("a");return n.href=t,n.href}})),ace.define("ace/lib/oop",["require","exports","module"],(function(t,n,e){"use strict";n.inherits=function(t,n){t.super_=n,t.prototype=Object.create(n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})},n.mixin=function(t,n){for(var e in n)t[e]=n[e];return t},n.implement=function(t,e){n.mixin(t,e)}})),ace.define("ace/lib/event_emitter",["require","exports","module"],(function(t,n,e){"use strict";var r={},i=function(){this.propagationStopped=!0},o=function(){this.defaultPrevented=!0};r._emit=r._dispatchEvent=function(t,n){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var e=this._eventRegistry[t]||[],r=this._defaultHandlers[t];if(e.length||r){"object"==typeof n&&n||(n={}),n.type||(n.type=t),n.stopPropagation||(n.stopPropagation=i),n.preventDefault||(n.preventDefault=o),e=e.slice();for(var s=0;s1&&(i=e[e.length-2]);var s=u[n+"Path"];return null==s?s=u.basePath:"/"==r&&(n=r=""),s&&"/"!=s.slice(-1)&&(s+="/"),s+n+r+i+this.get("suffix")},n.setModuleUrl=function(t,n){return u.$moduleUrls[t]=n},n.setLoader=function(t){a=t},n.dynamicModules=Object.create(null),n.$loading={},n.$loaded={},n.loadModule=function(e,r){var o,s;Array.isArray(e)&&(s=e[0],e=e[1]);var u=function(o){if(o&&!n.$loading[e])return r&&r(o);if(n.$loading[e]||(n.$loading[e]=[]),n.$loading[e].push(r),!(n.$loading[e].length>1)){var u=function(){!function(n,e){"ace/theme/textmate"===n||"./theme/textmate"===n?e(0,t("./theme/textmate")):a?a(n,e):console.error("loader is not configured")}(e,(function(t,r){r&&(n.$loaded[e]=r),n._emit("load.module",{name:e,module:r});var i=n.$loading[e];n.$loading[e]=null,i.forEach((function(t){t&&t(r)}))}))};if(!n.get("packaged"))return u();i.loadScript(n.moduleUrl(e,s),u),c()}};if(n.dynamicModules[e])n.dynamicModules[e]().then((function(t){t.default?u(t.default):u(t)}));else{try{o=this.$require(e)}catch(t){}u(o||n.$loaded[e])}},n.$require=function(t){if("function"==typeof e.require)return e.require(t)},n.setModuleLoader=function(t,e){n.dynamicModules[t]=e};var c=function(){u.basePath||u.workerPath||u.modePath||u.themePath||Object.keys(u.$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"),c=function(){})};n.version="1.28.0"})),ace.define("ace/loader_build",["require","exports","module","ace/lib/fixoldbrowsers","ace/config"],(function(t,n,r){"use strict";t("./lib/fixoldbrowsers");var i=t("./config");i.setLoader((function(n,e){t([n],(function(t){e(null,t)}))}));var o=function(){return this||"undefined"!=typeof window&&window}();function s(n){if(o&&o.document){i.set("packaged",n||t.packaged||r.packaged||o.define&&e.amdD.packaged);var s={},a="",u=document.currentScript||document._currentScript,c=u&&u.ownerDocument||document;u&&u.src&&(a=u.src.split(/[?#]/)[0].split("/").slice(0,-1).join("/")||"");for(var l,h=c.getElementsByTagName("script"),f=0;f ["+this.end.row+"/"+this.end.column+"]"},t.prototype.contains=function(t,n){return 0==this.compare(t,n)},t.prototype.compareRange=function(t){var n,e=t.end,r=t.start;return 1==(n=this.compare(e.row,e.column))?1==(n=this.compare(r.row,r.column))?2:0==n?1:0:-1==n?-2:-1==(n=this.compare(r.row,r.column))?-1:1==n?42:0},t.prototype.comparePoint=function(t){return this.compare(t.row,t.column)},t.prototype.containsRange=function(t){return 0==this.comparePoint(t.start)&&0==this.comparePoint(t.end)},t.prototype.intersects=function(t){var n=this.compareRange(t);return-1==n||0==n||1==n},t.prototype.isEnd=function(t,n){return this.end.row==t&&this.end.column==n},t.prototype.isStart=function(t,n){return this.start.row==t&&this.start.column==n},t.prototype.setStart=function(t,n){"object"==typeof t?(this.start.column=t.column,this.start.row=t.row):(this.start.row=t,this.start.column=n)},t.prototype.setEnd=function(t,n){"object"==typeof t?(this.end.column=t.column,this.end.row=t.row):(this.end.row=t,this.end.column=n)},t.prototype.inside=function(t,n){return 0==this.compare(t,n)&&!this.isEnd(t,n)&&!this.isStart(t,n)},t.prototype.insideStart=function(t,n){return 0==this.compare(t,n)&&!this.isEnd(t,n)},t.prototype.insideEnd=function(t,n){return 0==this.compare(t,n)&&!this.isStart(t,n)},t.prototype.compare=function(t,n){return this.isMultiLine()||t!==this.start.row?tthis.end.row?1:this.start.row===t?n>=this.start.column?0:-1:this.end.row===t?n<=this.end.column?0:1:0:nthis.end.column?1:0},t.prototype.compareStart=function(t,n){return this.start.row==t&&this.start.column==n?-1:this.compare(t,n)},t.prototype.compareEnd=function(t,n){return this.end.row==t&&this.end.column==n?1:this.compare(t,n)},t.prototype.compareInside=function(t,n){return this.end.row==t&&this.end.column==n?1:this.start.row==t&&this.start.column==n?-1:this.compare(t,n)},t.prototype.clipRows=function(n,e){if(this.end.row>e)var r={row:e+1,column:0};else this.end.rowe)var i={row:e+1,column:0};else this.start.row1?++h>4&&(h=1):h=1,o.isIE){var s=Math.abs(t.clientX-a)>5||Math.abs(t.clientY-u)>5;c&&!s||(h=1),c&&clearTimeout(c),c=setTimeout((function(){c=null}),e[h-1]||600),1==h&&(a=t.clientX,u=t.clientY)}if(t._clicks=h,r[i]("mousedown",t),h>4)h=0;else if(h>1)return r[i](f[h],t)}Array.isArray(t)||(t=[t]),t.forEach((function(t){l(t,"mousedown",d,s)}))};var f=function(t){return(t.ctrlKey?1:0)|(t.altKey?2:0)|(t.shiftKey?4:0)|(t.metaKey?8:0)};function d(t,n,e){var r=f(n);if(!o.isMac&&s){if(n.getModifierState&&(n.getModifierState("OS")||n.getModifierState("Win"))&&(r|=8),s.altGr){if(!(3&~r))return;s.altGr=0}if(18===e||17===e){var u="location"in n?n.location:n.keyLocation;17===e&&1===u?1==s[e]&&(a=n.timeStamp):18===e&&3===r&&2===u&&n.timeStamp-a<50&&(s.altGr=!0)}}if(e in i.MODIFIER_KEYS&&(e=-1),r||13!==e||3!==(u="location"in n?n.location:n.keyLocation)||(t(n,r,-e),!n.defaultPrevented)){if(o.isChromeOS&&8&r){if(t(n,r,e),n.defaultPrevented)return;r&=-9}return!!(r||e in i.FUNCTION_KEYS||e in i.PRINTABLE_KEYS)&&t(n,r,e)}}function p(){s=Object.create(null)}if(n.getModifierString=function(t){return i.KEY_MODS[f(t)]},n.addCommandKeyListener=function(t,e,r){if(o.isOldGecko||o.isOpera&&!("KeyboardEvent"in window)){var i=null;l(t,"keydown",(function(t){i=t.keyCode}),r),l(t,"keypress",(function(t){return d(e,t,i)}),r)}else{var a=null;l(t,"keydown",(function(t){s[t.keyCode]=(s[t.keyCode]||0)+1;var n=d(e,t,t.keyCode);return a=t.defaultPrevented,n}),r),l(t,"keypress",(function(t){a&&(t.ctrlKey||t.altKey||t.shiftKey||t.metaKey)&&(n.stopEvent(t),a=null)}),r),l(t,"keyup",(function(t){s[t.keyCode]=null}),r),s||(p(),l(window,"focus",p))}},"object"==typeof window&&window.postMessage&&!o.isOldIE){var _=1;n.nextTick=function(t,e){e=e||window;var r="zero-timeout-message-"+_++,i=function(o){o.data==r&&(n.stopPropagation(o),h(e,"message",i),t())};l(e,"message",i),e.postMessage(r,"*")}}n.$idleBlocked=!1,n.onIdle=function(t,e){return setTimeout((function e(){n.$idleBlocked?setTimeout(e,100):t()}),e)},n.$idleBlockId=null,n.blockIdle=function(t){n.$idleBlockId&&clearTimeout(n.$idleBlockId),n.$idleBlocked=!0,n.$idleBlockId=setTimeout((function(){n.$idleBlocked=!1}),t||100)},n.nextFrame="object"==typeof window&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame),n.nextFrame?n.nextFrame=n.nextFrame.bind(window):n.nextFrame=function(t){setTimeout(t,17)}})),ace.define("ace/clipboard",["require","exports","module"],(function(t,n,e){"use strict";var r;e.exports={lineMode:!1,pasteCancelled:function(){return!!(r&&r>Date.now()-50)||(r=!1)},cancel:function(){r=Date.now()}}})),ace.define("ace/keyboard/textinput",["require","exports","module","ace/lib/event","ace/config","ace/lib/useragent","ace/lib/dom","ace/lib/lang","ace/clipboard","ace/lib/keys"],(function(t,n,e){"use strict";var r=t("../lib/event"),i=t("../config").nls,o=t("../lib/useragent"),s=t("../lib/dom"),a=t("../lib/lang"),u=t("../clipboard"),c=o.isChrome<18,l=o.isIE,h=o.isChrome>63,f=400,d=t("../lib/keys"),p=d.KEY_MODS,_=o.isIOS,m=_?/\s/:/\n/,v=o.isMobile;n.TextInput=function(t,n){var e=s.createElement("textarea");e.className="ace_text-input",e.setAttribute("wrap","off"),e.setAttribute("autocorrect","off"),e.setAttribute("autocapitalize","off"),e.setAttribute("spellcheck",!1),e.style.opacity="0",t.insertBefore(e,t.firstChild);var g=!1,b=!1,w=!1,y=!1,x="";v||(e.style.fontSize="1px");var k=!1,S=!1,A="",C=0,E=0,M=0,$=Number.MAX_SAFE_INTEGER,z=Number.MIN_SAFE_INTEGER,T=0;try{var O=document.activeElement===e}catch(t){}this.setNumberOfExtraLines=function(t){$=Number.MAX_SAFE_INTEGER,z=Number.MIN_SAFE_INTEGER,T=t<0?0:t},this.setAriaOptions=function(t){if(t.activeDescendant?(e.setAttribute("aria-haspopup","true"),e.setAttribute("aria-autocomplete",t.inline?"both":"list"),e.setAttribute("aria-activedescendant",t.activeDescendant)):(e.setAttribute("aria-haspopup","false"),e.setAttribute("aria-autocomplete","both"),e.removeAttribute("aria-activedescendant")),t.role&&e.setAttribute("role",t.role),t.setLabel&&(e.setAttribute("aria-roledescription",i("editor")),n.session)){var r=n.session.selection.cursor.row;e.setAttribute("aria-label",i("Cursor at row $0",[r+1]))}},this.setAriaOptions({role:"textbox"}),r.addListener(e,"blur",(function(t){S||(n.onBlur(t),O=!1)}),n),r.addListener(e,"focus",(function(t){if(!S){if(O=!0,o.isEdge)try{if(!document.hasFocus())return}catch(t){}n.onFocus(t),o.isEdge?setTimeout(R):R()}}),n),this.$focusScroll=!1,this.focus=function(){if(this.setAriaOptions({setLabel:n.renderer.enableKeyboardAccessibility}),x||h||"browser"==this.$focusScroll)return e.focus({preventScroll:!0});var t=e.style.top;e.style.position="fixed",e.style.top="0px";try{var r=0!=e.getBoundingClientRect().top}catch(t){return}var i=[];if(r)for(var o=e.parentElement;o&&1==o.nodeType;)i.push(o),o.setAttribute("ace_nocontext",!0),o=!o.parentElement&&o.getRootNode?o.getRootNode().host:o.parentElement;e.focus({preventScroll:!0}),r&&i.forEach((function(t){t.removeAttribute("ace_nocontext")})),setTimeout((function(){e.style.position="","0px"==e.style.top&&(e.style.top=t)}),0)},this.blur=function(){e.blur()},this.isFocused=function(){return O},n.on("beforeEndOperation",(function(){var t=n.curOp,r=t&&t.command&&t.command.name;if("insertstring"!=r){var i=r&&(t.docChanged||t.selectionChanged);w&&i&&(A=e.value="",V()),R()}}));var j=function(t,e){for(var r=e,i=1;i<=t-$&&i<2*T+1;i++)r+=n.session.getLine(t-i).length+1;return r},R=_?function(t){if(O&&(!g||t)&&!y){t||(t="");var r="\n ab"+t+"cde fg\n";r!=e.value&&(e.value=A=r);var i=4+(t.length||(n.selection.isEmpty()?0:1));4==C&&E==i||e.setSelectionRange(4,i),C=4,E=i}}:function(){if(!w&&!y&&(O||D)){w=!0;var t=0,r=0,i="";if(n.session){var o=n.selection,s=o.getRange(),a=o.cursor.row;a===z+1?z=($=z+1)+2*T:a===$-1?$=(z=$-1)-2*T:(a<$-1||a>z+1)&&($=a>T?a-T:0,z=a>T?a+T:2*T);for(var u=[],c=$;c<=z;c++)u.push(n.session.getLine(c));if(i=u.join("\n"),t=j(s.start.row,s.start.column),r=j(s.end.row,s.end.column),s.start.row<$){var l=n.session.getLine($-1);t=s.start.row<$-1?0:t,r+=l.length+1,i=l+"\n"+i}else if(s.end.row>z){var h=n.session.getLine(z+1);r=s.end.row>z+1?h.length:s.end.column,r+=i.length+1,i=i+"\n"+h}else v&&a>0&&(i="\n"+i,r+=1,t+=1);i.length>f&&(t0&&A[f]==t[f];)f++,a--;for(c=c.slice(f),f=1;u>0&&A.length-f>C-1&&A[A.length-f]==t[t.length-f];)f++,u--;l-=f-1,h-=f-1;var d=c.length-f+1;if(d<0&&(a=-d,d=0),c=c.slice(0,d),!(r||c||l||a||u||h))return"";y=!0;var p=!1;return o.isAndroid&&". "==c&&(c=" ",p=!0),c&&!a&&!u&&!l&&!h||k?n.onTextInput(c):n.onTextInput(c,{extendLeft:a,extendRight:u,restoreStart:l,restoreEnd:h}),y=!1,A=t,C=i,E=s,M=h,p?"\n":c},I=function(t){if(w)return H();if(t&&t.inputType){if("historyUndo"==t.inputType)return n.execCommand("undo");if("historyRedo"==t.inputType)return n.execCommand("redo")}var r=e.value,i=P(r,!0);(r.length>500||m.test(i)||v&&C<1&&C==E)&&R()},q=function(t,n,e){var r=t.clipboardData||window.clipboardData;if(r&&!c){var i=l||e?"Text":"text/plain";try{return n?!1!==r.setData(i,n):r.getData(i)}catch(t){if(!e)return q(t,n,!0)}}},N=function(t,i){var o=n.getCopyText();if(!o)return r.preventDefault(t);q(t,o)?(_&&(R(o),g=o,setTimeout((function(){g=!1}),10)),i?n.onCut():n.onCopy(),r.preventDefault(t)):(g=!0,e.value=o,e.select(),setTimeout((function(){g=!1,R(),i?n.onCut():n.onCopy()})))},F=function(t){N(t,!0)},B=function(t){N(t,!1)},U=function(t){var i=q(t);u.pasteCancelled()||("string"==typeof i?(i&&n.onPaste(i,t),o.isIE&&setTimeout(R),r.preventDefault(t)):(e.value="",b=!0))};r.addCommandKeyListener(e,n.onCommandKey.bind(n),n),r.addListener(e,"select",(function(t){w||(g?g=!1:function(t){return 0===t.selectionStart&&t.selectionEnd>=A.length&&t.value===A&&A&&t.selectionEnd!==E}(e)?(n.selectAll(),R()):v&&e.selectionStart!=C&&R())}),n),r.addListener(e,"input",I,n),r.addListener(e,"cut",F,n),r.addListener(e,"copy",B,n),r.addListener(e,"paste",U,n),"oncut"in e&&"oncopy"in e&&"onpaste"in e||r.addListener(t,"keydown",(function(t){if((!o.isMac||t.metaKey)&&t.ctrlKey)switch(t.keyCode){case 67:B(t);break;case 86:U(t);break;case 88:F(t)}}),n);var H=function(){if(w&&n.onCompositionUpdate&&!n.$readOnly){if(k)return W();if(w.useTextareaForIME)n.onCompositionUpdate(e.value);else{var t=e.value;P(t),w.markerRange&&(w.context&&(w.markerRange.start.column=w.selectionStart=w.context.compositionStartOffset),w.markerRange.end.column=w.markerRange.start.column+E-w.selectionStart+M)}}},V=function(t){n.onCompositionEnd&&!n.$readOnly&&(w=!1,n.onCompositionEnd(),n.off("mousedown",W),t&&I())};function W(){S=!0,e.blur(),e.focus(),S=!1}var G,Y=a.delayedCall(H,50).schedule.bind(null,null);function X(){clearTimeout(G),G=setTimeout((function(){x&&(e.style.cssText=x,x=""),n.renderer.$isMousePressed=!1,n.renderer.$keepTextAreaAtCursor&&n.renderer.$moveTextAreaToCursor()}),0)}r.addListener(e,"compositionstart",(function(t){if(!w&&n.onCompositionStart&&!n.$readOnly&&(w={},!k)){t.data&&(w.useTextareaForIME=!1),setTimeout(H,0),n._signal("compositionStart"),n.on("mousedown",W);var r=n.getSelectionRange();r.end.row=r.start.row,r.end.column=r.start.column,w.markerRange=r,w.selectionStart=C,n.onCompositionStart(w),w.useTextareaForIME?(A=e.value="",C=0,E=0):(e.msGetInputContext&&(w.context=e.msGetInputContext()),e.getInputContext&&(w.context=e.getInputContext()))}}),n),r.addListener(e,"compositionupdate",H,n),r.addListener(e,"keyup",(function(t){27==t.keyCode&&e.value.lengthE&&"\n"==A[o]?s=d.end:rE&&A.slice(0,o).split("\n").length>2?s=d.down:o>E&&" "==A[o-1]?(s=d.right,a=p.option):(o>E||o==E&&E!=C&&r==o)&&(s=d.right),r!==o&&(a|=p.shift),s){if(!n.onCommandKey({},a,s)&&n.commands){s=d.keyCodeToString(s);var u=n.commands.findKeyCommand(a,s);u&&n.execCommand(u)}C=r,E=o,R("")}}};document.addEventListener("selectionchange",o),n.on("destroy",(function(){document.removeEventListener("selectionchange",o)}))}(0,n,e),this.destroy=function(){e.parentElement&&e.parentElement.removeChild(e)}},n.$setUserAgentForTests=function(t,n){v=t,_=n}})),ace.define("ace/mouse/default_handlers",["require","exports","module","ace/lib/useragent"],(function(t,n,e){"use strict";var r=t("../lib/useragent"),i=function(){function t(t){t.$clickSelection=null;var n=t.editor;n.setDefaultHandler("mousedown",this.onMouseDown.bind(t)),n.setDefaultHandler("dblclick",this.onDoubleClick.bind(t)),n.setDefaultHandler("tripleclick",this.onTripleClick.bind(t)),n.setDefaultHandler("quadclick",this.onQuadClick.bind(t)),n.setDefaultHandler("mousewheel",this.onMouseWheel.bind(t)),["select","startSelect","selectEnd","selectAllEnd","selectByWordsEnd","selectByLinesEnd","dragWait","dragWaitEnd","focusWait"].forEach((function(n){t[n]=this[n]}),this),t.selectByLines=this.extendSelectionBy.bind(t,"getLineRange"),t.selectByWords=this.extendSelectionBy.bind(t,"getWordRange")}return t.prototype.onMouseDown=function(t){var n=t.inSelection(),e=t.getDocumentPosition();this.mousedownEvent=t;var i=this.editor,o=t.getButton();return 0!==o?((i.getSelectionRange().isEmpty()||1==o)&&i.selection.moveToPosition(e),void(2==o&&(i.textInput.onContextMenu(t.domEvent),r.isMozilla||t.preventDefault()))):(this.mousedownEvent.time=Date.now(),!n||i.isFocused()||(i.focus(),!this.$focusTimeout||this.$clickSelection||i.inMultiSelectMode)?(this.captureMouse(t),this.startSelect(e,t.domEvent._clicks>1),t.preventDefault()):(this.setState("focusWait"),void this.captureMouse(t)))},t.prototype.startSelect=function(t,n){t=t||this.editor.renderer.screenToTextCoordinates(this.x,this.y);var e=this.editor;this.mousedownEvent&&(this.mousedownEvent.getShiftKey()?e.selection.selectToPosition(t):n||e.selection.moveToPosition(t),n||this.select(),e.setStyle("ace_selecting"),this.setState("select"))},t.prototype.select=function(){var t,n=this.editor,e=n.renderer.screenToTextCoordinates(this.x,this.y);if(this.$clickSelection){var r=this.$clickSelection.comparePoint(e);if(-1==r)t=this.$clickSelection.end;else if(1==r)t=this.$clickSelection.start;else{var i=o(this.$clickSelection,e);e=i.cursor,t=i.anchor}n.selection.setSelectionAnchor(t.row,t.column)}n.selection.selectToPosition(e),n.renderer.scrollCursorIntoView()},t.prototype.extendSelectionBy=function(t){var n,e=this.editor,r=e.renderer.screenToTextCoordinates(this.x,this.y),i=e.selection[t](r.row,r.column);if(this.$clickSelection){var s=this.$clickSelection.comparePoint(i.start),a=this.$clickSelection.comparePoint(i.end);if(-1==s&&a<=0)n=this.$clickSelection.end,i.end.row==r.row&&i.end.column==r.column||(r=i.start);else if(1==a&&s>=0)n=this.$clickSelection.start,i.start.row==r.row&&i.start.column==r.column||(r=i.end);else if(-1==s&&1==a)r=i.end,n=i.start;else{var u=o(this.$clickSelection,r);r=u.cursor,n=u.anchor}e.selection.setSelectionAnchor(n.row,n.column)}e.selection.selectToPosition(r),e.renderer.scrollCursorIntoView()},t.prototype.selectByLinesEnd=function(){this.$clickSelection=null,this.editor.unsetStyle("ace_selecting")},t.prototype.focusWait=function(){var t,n,e,r,i=(t=this.mousedownEvent.x,n=this.mousedownEvent.y,e=this.x,r=this.y,Math.sqrt(Math.pow(e-t,2)+Math.pow(r-n,2))),o=Date.now();(i>0||o-this.mousedownEvent.time>this.$focusTimeout)&&this.startSelect(this.mousedownEvent.getDocumentPosition())},t.prototype.onDoubleClick=function(t){var n=t.getDocumentPosition(),e=this.editor,r=e.session.getBracketRange(n);r?(r.isEmpty()&&(r.start.column--,r.end.column++),this.setState("select")):(r=e.selection.getWordRange(n.row,n.column),this.setState("selectByWords")),this.$clickSelection=r,this.select()},t.prototype.onTripleClick=function(t){var n=t.getDocumentPosition(),e=this.editor;this.setState("selectByLines");var r=e.getSelectionRange();r.isMultiLine()&&r.contains(n.row,n.column)?(this.$clickSelection=e.selection.getLineRange(r.start.row),this.$clickSelection.end=e.selection.getLineRange(r.end.row).end):this.$clickSelection=e.selection.getLineRange(n.row),this.select()},t.prototype.onQuadClick=function(t){var n=this.editor;n.selectAll(),this.$clickSelection=n.getSelectionRange(),this.setState("selectAll")},t.prototype.onMouseWheel=function(t){if(!t.getAccelKey()){t.getShiftKey()&&t.wheelY&&!t.wheelX&&(t.wheelX=t.wheelY,t.wheelY=0);var n=this.editor;this.$lastScroll||(this.$lastScroll={t:0,vx:0,vy:0,allowed:0});var e=this.$lastScroll,r=t.domEvent.timeStamp,i=r-e.t,o=i?t.wheelX/i:e.vx,s=i?t.wheelY/i:e.vy;i<550&&(o=(o+e.vx)/2,s=(s+e.vy)/2);var a=Math.abs(o/s),u=!1;return a>=1&&n.renderer.isScrollableBy(t.wheelX*t.speed,0)&&(u=!0),a<=1&&n.renderer.isScrollableBy(0,t.wheelY*t.speed)&&(u=!0),u?e.allowed=r:r-e.allowed<550&&(Math.abs(o)<=1.5*Math.abs(e.vx)&&Math.abs(s)<=1.5*Math.abs(e.vy)?(u=!0,e.allowed=r):e.allowed=0),e.t=r,e.vx=o,e.vy=s,u?(n.renderer.scrollBy(t.wheelX*t.speed,t.wheelY*t.speed),t.stop()):void 0}},t}();function o(t,n){if(t.start.row==t.end.row)var e=2*n.column-t.start.column-t.end.column;else if(t.start.row!=t.end.row-1||t.start.column||t.end.column)e=2*n.row-t.start.row-t.end.row;else e=n.column-4;return e<0?{cursor:t.start,anchor:t.end}:{cursor:t.end,anchor:t.start}}i.prototype.selectEnd=i.prototype.selectByLinesEnd,i.prototype.selectAllEnd=i.prototype.selectByLinesEnd,i.prototype.selectByWordsEnd=i.prototype.selectByLinesEnd,n.DefaultHandlers=i})),ace.define("ace/tooltip",["require","exports","module","ace/lib/dom","ace/range"],(function(t,n,e){"use strict";var r,i=this&&this.__extends||(r=function(t,n){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])},r(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function e(){this.constructor=t}r(t,n),t.prototype=null===n?Object.create(n):(e.prototype=n.prototype,new e)}),o=this&&this.__values||function(t){var n="function"==typeof Symbol&&Symbol.iterator,e=n&&t[n],r=0;if(e)return e.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},s=t("./lib/dom"),a=t("./range").Range,u="ace_tooltip",c=function(){function t(t){this.isOpen=!1,this.$element=null,this.$parentNode=t}return t.prototype.$init=function(){return this.$element=s.createElement("div"),this.$element.className=u,this.$element.style.display="none",this.$parentNode.appendChild(this.$element),this.$element},t.prototype.getElement=function(){return this.$element||this.$init()},t.prototype.setText=function(t){this.getElement().textContent=t},t.prototype.setHtml=function(t){this.getElement().innerHTML=t},t.prototype.setPosition=function(t,n){this.getElement().style.left=t+"px",this.getElement().style.top=n+"px"},t.prototype.setClassName=function(t){s.addCssClass(this.getElement(),t)},t.prototype.setTheme=function(t){this.$element.className=u+" "+(t.isDark?"ace_dark ":"")+(t.cssClass||"")},t.prototype.show=function(t,n,e){null!=t&&this.setText(t),null!=n&&null!=e&&this.setPosition(n,e),this.isOpen||(this.getElement().style.display="block",this.isOpen=!0)},t.prototype.hide=function(){this.isOpen&&(this.getElement().style.display="none",this.getElement().className=u,this.isOpen=!1)},t.prototype.getHeight=function(){return this.getElement().offsetHeight},t.prototype.getWidth=function(){return this.getElement().offsetWidth},t.prototype.destroy=function(){this.isOpen=!1,this.$element&&this.$element.parentNode&&this.$element.parentNode.removeChild(this.$element)},t}(),l=new(function(){function t(){this.popups=[]}return t.prototype.addPopup=function(t){this.popups.push(t),this.updatePopups()},t.prototype.removePopup=function(t){var n=this.popups.indexOf(t);-1!==n&&(this.popups.splice(n,1),this.updatePopups())},t.prototype.updatePopups=function(){var t,n,e,r;this.popups.sort((function(t,n){return n.priority-t.priority}));var i=[];try{for(var s=o(this.popups),a=s.next();!a.done;a=s.next()){var u=a.value,c=!0;try{for(var l=(e=void 0,o(i)),h=l.next();!h.done;h=l.next()){var f=h.value;if(this.doPopupsOverlap(f,u)){c=!1;break}}}catch(t){e={error:t}}finally{try{h&&!h.done&&(r=l.return)&&r.call(l)}finally{if(e)throw e.error}}c?i.push(u):u.hide()}}catch(n){t={error:n}}finally{try{a&&!a.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}},t.prototype.doPopupsOverlap=function(t,n){var e=t.getElement().getBoundingClientRect(),r=n.getElement().getBoundingClientRect();return e.leftr.left&&e.topr.top},t}());n.popupManager=l,n.Tooltip=c;var h=function(t){function n(n){void 0===n&&(n=document.body);var e=t.call(this,n)||this;e.timeout=void 0,e.lastT=0,e.idleTime=350,e.lastEvent=void 0,e.onMouseOut=e.onMouseOut.bind(e),e.onMouseMove=e.onMouseMove.bind(e),e.waitForHover=e.waitForHover.bind(e),e.hide=e.hide.bind(e);var r=e.getElement();return r.style.whiteSpace="pre-wrap",r.style.pointerEvents="auto",r.addEventListener("mouseout",e.onMouseOut),r.tabIndex=-1,r.addEventListener("blur",function(){r.contains(document.activeElement)||this.hide()}.bind(e)),e}return i(n,t),n.prototype.addToEditor=function(t){t.on("mousemove",this.onMouseMove),t.on("mousedown",this.hide),t.renderer.getMouseEventTarget().addEventListener("mouseout",this.onMouseOut,!0)},n.prototype.removeFromEditor=function(t){t.off("mousemove",this.onMouseMove),t.off("mousedown",this.hide),t.renderer.getMouseEventTarget().removeEventListener("mouseout",this.onMouseOut,!0),this.timeout&&(clearTimeout(this.timeout),this.timeout=null)},n.prototype.onMouseMove=function(t,n){this.lastEvent=t,this.lastT=Date.now();var e=n.$mouseHandler.isMousePressed;if(this.isOpen){var r=this.lastEvent&&this.lastEvent.getDocumentPosition();this.range&&this.range.contains(r.row,r.column)&&!e&&!this.isOutsideOfText(this.lastEvent)||this.hide()}this.timeout||e||(this.lastEvent=t,this.timeout=setTimeout(this.waitForHover,this.idleTime))},n.prototype.waitForHover=function(){this.timeout&&clearTimeout(this.timeout);var t=Date.now()-this.lastT;this.idleTime-t>10?this.timeout=setTimeout(this.waitForHover,this.idleTime-t):(this.timeout=null,this.lastEvent&&!this.isOutsideOfText(this.lastEvent)&&this.$gatherData(this.lastEvent,this.lastEvent.editor))},n.prototype.isOutsideOfText=function(t){var n=t.editor,e=t.getDocumentPosition(),r=n.session.getLine(e.row);if(e.column==r.length){var i=n.renderer.pixelToScreenCoordinates(t.clientX,t.clientY),o=n.session.documentToScreenPosition(e.row,e.column);if(o.column!=i.column||o.row!=i.row)return!0}return!1},n.prototype.setDataProvider=function(t){this.$gatherData=t},n.prototype.showForRange=function(t,n,e,r){if(!(r&&r!=this.lastEvent||this.isOpen&&document.activeElement==this.getElement())){var i=t.renderer;this.isOpen||(l.addPopup(this),this.$registerCloseEvents(),this.setTheme(i.theme)),this.isOpen=!0,this.addMarker(n,t.session),this.range=a.fromPoints(n.start,n.end);var o=this.getElement();o.innerHTML="",o.appendChild(e),o.style.display="block";var s=i.textToScreenCoordinates(n.start.row,n.start.column),u=o.clientHeight,c=i.scroller.getBoundingClientRect(),h=!0;s.pageY-u<0&&(h=!1),h?s.pageY-=u:s.pageY+=i.lineHeight,o.style.maxWidth=c.width-(s.pageX-c.left)+"px",this.setPosition(s.pageX,s.pageY)}},n.prototype.addMarker=function(t,n){this.marker&&this.$markerSession.removeMarker(this.marker),this.$markerSession=n,this.marker=n&&n.addMarker(t,"ace_highlight-marker","text")},n.prototype.hide=function(t){(t||document.activeElement!=this.getElement())&&(t&&t.target&&("keydown"!=t.type||t.ctrlKey||t.metaKey)&&this.$element.contains(t.target)||(this.lastEvent=null,this.timeout&&clearTimeout(this.timeout),this.timeout=null,this.addMarker(null),this.isOpen&&(this.$removeCloseEvents(),this.getElement().style.display="none",this.isOpen=!1,l.removePopup(this))))},n.prototype.$registerCloseEvents=function(){window.addEventListener("keydown",this.hide,!0),window.addEventListener("mousewheel",this.hide,!0),window.addEventListener("mousedown",this.hide,!0)},n.prototype.$removeCloseEvents=function(){window.removeEventListener("keydown",this.hide,!0),window.removeEventListener("mousewheel",this.hide,!0),window.removeEventListener("mousedown",this.hide,!0)},n.prototype.onMouseOut=function(t){this.timeout&&(clearTimeout(this.timeout),this.timeout=null),this.lastEvent=null,this.isOpen&&t.relatedTarget&&t.relatedTarget!=this.getElement()&&(t&&t.currentTarget.contains(t.relatedTarget)||t.relatedTarget.classList.contains("ace_content")||this.hide())},n}(c);n.HoverTooltip=h})),ace.define("ace/mouse/default_gutter_handler",["require","exports","module","ace/lib/dom","ace/lib/event","ace/tooltip","ace/config"],(function(t,n,e){"use strict";var r,i=this&&this.__extends||(r=function(t,n){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])},r(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function e(){this.constructor=t}r(t,n),t.prototype=null===n?Object.create(n):(e.prototype=n.prototype,new e)}),o=this&&this.__values||function(t){var n="function"==typeof Symbol&&Symbol.iterator,e=n&&t[n],r=0;if(e)return e.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},s=t("../lib/dom"),a=t("../lib/event"),u=t("../tooltip").Tooltip,c=t("../config").nls;n.GutterHandler=function(t){var n,e,r=t.editor,i=r.renderer.$gutterLayer,o=new l(r);function u(){n&&(n=clearTimeout(n)),o.isOpen&&(o.hideTooltip(),r.off("mousewheel",u))}function c(t){o.setPosition(t.x,t.y)}t.editor.setDefaultHandler("guttermousedown",(function(n){if(r.isFocused()&&0==n.getButton()&&"foldWidgets"!=i.getRegion(n)){var e=n.getDocumentPosition().row,o=r.session.selection;if(n.getShiftKey())o.selectTo(e,0);else{if(2==n.domEvent.detail)return r.selectAll(),n.preventDefault();t.$clickSelection=r.selection.getLineRange(e)}return t.setState("selectByLines"),t.captureMouse(n),n.preventDefault()}})),t.editor.setDefaultHandler("guttermousemove",(function(a){var l=a.domEvent.target||a.domEvent.srcElement;if(s.hasCssClass(l,"ace_fold-widget"))return u();o.isOpen&&t.$tooltipFollowsMouse&&c(a),e=a,n||(n=setTimeout((function(){n=null,e&&!t.isMousePressed?function(){var n=e.getDocumentPosition().row;if(n==r.session.getLength()){var s=r.renderer.pixelToScreenCoordinates(0,e.y).row,a=e.$pos;if(s>r.session.documentToScreenRow(a.row,a.column))return u()}if(o.showTooltip(n),o.isOpen)if(r.on("mousewheel",u),t.$tooltipFollowsMouse)c(e);else{var l=e.getGutterRow(),h=i.$lines.get(l);if(h){var f=h.element.querySelector(".ace_gutter_annotation").getBoundingClientRect(),d=o.getElement().style;d.left=f.right+"px",d.top=f.bottom+"px"}else c(e)}}():u()}),50))})),a.addListener(r.renderer.$gutter,"mouseout",(function(t){e=null,o.isOpen&&!n&&(n=setTimeout((function(){n=null,u()}),50))}),r),r.on("changeSession",u),r.on("input",u)};var l=function(t){function n(n){var e=t.call(this,n.container)||this;return e.editor=n,e}return i(n,t),n.prototype.setPosition=function(t,n){var e=window.innerWidth||document.documentElement.clientWidth,r=window.innerHeight||document.documentElement.clientHeight,i=this.getWidth(),o=this.getHeight();(t+=15)+i>e&&(t-=t+i-e),(n+=15)+o>r&&(n-=20+o),u.prototype.setPosition.call(this,t,n)},Object.defineProperty(n,"annotationLabels",{get:function(){return{error:{singular:c("error"),plural:c("errors")},warning:{singular:c("warning"),plural:c("warnings")},info:{singular:c("information message"),plural:c("information messages")}}},enumerable:!1,configurable:!0}),n.prototype.showTooltip=function(t){var e,r=this.editor.renderer.$gutterLayer,i=r.$annotations[t];e=i?{text:Array.from(i.text),type:Array.from(i.type)}:{text:[],type:[]};var o=r.session.getFoldLine(t);if(o&&r.$showFoldedAnnotations){for(var s,a={error:[],warning:[],info:[]},u=t+1;u<=o.end.row;u++)if(r.$annotations[u])for(var c=0;c ").concat(e.text[u]);f[e.type[u].replace("_fold","")].push(p)}var _=[].concat(f.error,f.warning,f.info).join("
");this.setHtml(_),this.$element.setAttribute("aria-live","polite"),this.isOpen||(this.setTheme(this.editor.renderer.theme),this.setClassName("ace_gutter-tooltip")),this.show(),this.editor._signal("showGutterTooltip",this)},n.prototype.hideTooltip=function(){this.$element.removeAttribute("aria-live"),this.hide(),this.editor._signal("hideGutterTooltip",this)},n.annotationsToSummaryString=function(t){var e,r,i=[];try{for(var s=o(["error","warning","info"]),a=s.next();!a.done;a=s.next()){var u=a.value;if(t[u].length){var c=1===t[u].length?n.annotationLabels[u].singular:n.annotationLabels[u].plural;i.push("".concat(t[u].length," ").concat(c))}}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=s.return)&&r.call(s)}finally{if(e)throw e.error}}return i.join(", ")},n}(u);n.GutterTooltip=l})),ace.define("ace/mouse/mouse_event",["require","exports","module","ace/lib/event","ace/lib/useragent"],(function(t,n,e){"use strict";var r=t("../lib/event"),i=t("../lib/useragent"),o=function(){function t(t,n){this.domEvent=t,this.editor=n,this.x=this.clientX=t.clientX,this.y=this.clientY=t.clientY,this.$pos=null,this.$inSelection=null,this.propagationStopped=!1,this.defaultPrevented=!1}return t.prototype.stopPropagation=function(){r.stopPropagation(this.domEvent),this.propagationStopped=!0},t.prototype.preventDefault=function(){r.preventDefault(this.domEvent),this.defaultPrevented=!0},t.prototype.stop=function(){this.stopPropagation(),this.preventDefault()},t.prototype.getDocumentPosition=function(){return this.$pos||(this.$pos=this.editor.renderer.screenToTextCoordinates(this.clientX,this.clientY)),this.$pos},t.prototype.getGutterRow=function(){var t=this.getDocumentPosition().row;return this.editor.session.documentToScreenRow(t,0)-this.editor.session.documentToScreenRow(this.editor.renderer.$gutterLayer.$lines.get(0).row,0)},t.prototype.inSelection=function(){if(null!==this.$inSelection)return this.$inSelection;var t=this.editor.getSelectionRange();if(t.isEmpty())this.$inSelection=!1;else{var n=this.getDocumentPosition();this.$inSelection=t.contains(n.row,n.column)}return this.$inSelection},t.prototype.getButton=function(){return r.getButton(this.domEvent)},t.prototype.getShiftKey=function(){return this.domEvent.shiftKey},t.prototype.getAccelKey=function(){return i.isMac?this.domEvent.metaKey:this.domEvent.ctrlKey},t}();n.MouseEvent=o})),ace.define("ace/mouse/dragdrop_handler",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],(function(t,n,e){"use strict";var r=t("../lib/dom"),i=t("../lib/event"),o=t("../lib/useragent");function s(t){var n=t.editor,e=r.createElement("div");e.style.cssText="top:-100px;position:absolute;z-index:2147483647;opacity:0.5",e.textContent=" ",["dragWait","dragWaitEnd","startDrag","dragReadyEnd","onMouseDrag"].forEach((function(n){t[n]=this[n]}),this),n.on("mousedown",this.onMouseDown.bind(t));var s,u,c,l,h,f,d,p,_,m,v,g=n.container,b=0;function w(){var t=f;(function(t,e){var r=Date.now(),i=!e||t.row!=e.row,o=!e||t.column!=e.column;!m||i||o?(n.moveCursorToPosition(t),m=r,v={x:u,y:c}):a(v.x,v.y,u,c)>5?m=null:r-m>=200&&(n.renderer.scrollCursorIntoView(),m=null)})(f=n.renderer.screenToTextCoordinates(u,c),t),function(t,e){var r=Date.now(),i=n.renderer.layerConfig.lineHeight,o=n.renderer.layerConfig.characterWidth,s=n.renderer.scroller.getBoundingClientRect(),a={x:{left:u-s.left,right:s.right-u},y:{top:c-s.top,bottom:s.bottom-c}},l=Math.min(a.x.left,a.x.right),h=Math.min(a.y.top,a.y.bottom),f={row:t.row,column:t.column};l/o<=2&&(f.column+=a.x.left=200&&n.renderer.scrollCursorIntoView(f):_=r:_=null}(f,t)}function y(){h=n.selection.toOrientedRange(),s=n.session.addMarker(h,"ace_selection",n.getSelectionStyle()),n.clearSelection(),n.isFocused()&&n.renderer.$cursorLayer.setBlinking(!1),clearInterval(l),w(),l=setInterval(w,20),b=0,i.addListener(document,"mousemove",S)}function x(){clearInterval(l),n.session.removeMarker(s),s=null,n.selection.fromOrientedRange(h),n.isFocused()&&!p&&n.$resetCursorStyle(),h=null,f=null,b=0,_=null,m=null,i.removeListener(document,"mousemove",S)}this.onDragStart=function(t){if(this.cancelDrag||!g.draggable){var r=this;return setTimeout((function(){r.startSelect(),r.captureMouse(t)}),0),t.preventDefault()}h=n.getSelectionRange();var i=t.dataTransfer;i.effectAllowed=n.getReadOnly()?"copy":"copyMove",n.container.appendChild(e),i.setDragImage&&i.setDragImage(e,0,0),setTimeout((function(){n.container.removeChild(e)})),i.clearData(),i.setData("Text",n.session.getTextRange()),p=!0,this.setState("drag")},this.onDragEnd=function(t){if(g.draggable=!1,p=!1,this.setState(null),!n.getReadOnly()){var e=t.dataTransfer.dropEffect;d||"move"!=e||n.session.remove(n.getSelectionRange()),n.$resetCursorStyle()}this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle("")},this.onDragEnter=function(t){if(!n.getReadOnly()&&A(t.dataTransfer))return u=t.clientX,c=t.clientY,s||y(),b++,t.dataTransfer.dropEffect=d=C(t),i.preventDefault(t)},this.onDragOver=function(t){if(!n.getReadOnly()&&A(t.dataTransfer))return u=t.clientX,c=t.clientY,s||(y(),b++),null!==k&&(k=null),t.dataTransfer.dropEffect=d=C(t),i.preventDefault(t)},this.onDragLeave=function(t){if(--b<=0&&s)return x(),d=null,i.preventDefault(t)},this.onDrop=function(t){if(f){var e=t.dataTransfer;if(p)switch(d){case"move":h=h.contains(f.row,f.column)?{start:f,end:f}:n.moveText(h,f);break;case"copy":h=n.moveText(h,f,!0)}else{var r=e.getData("Text");h={start:f,end:n.session.insert(f,r)},n.focus(),d=null}return x(),i.preventDefault(t)}},i.addListener(g,"dragstart",this.onDragStart.bind(t),n),i.addListener(g,"dragend",this.onDragEnd.bind(t),n),i.addListener(g,"dragenter",this.onDragEnter.bind(t),n),i.addListener(g,"dragover",this.onDragOver.bind(t),n),i.addListener(g,"dragleave",this.onDragLeave.bind(t),n),i.addListener(g,"drop",this.onDrop.bind(t),n);var k=null;function S(){null==k&&(k=setTimeout((function(){null!=k&&s&&x()}),20))}function A(t){var n=t.types;return!n||Array.prototype.some.call(n,(function(t){return"text/plain"==t||"Text"==t}))}function C(t){var n=["copy","copymove","all","uninitialized"],e=o.isMac?t.altKey:t.ctrlKey,r="uninitialized";try{r=t.dataTransfer.effectAllowed.toLowerCase()}catch(t){}var i="none";return e&&n.indexOf(r)>=0?i="copy":["move","copymove","linkmove","all","uninitialized"].indexOf(r)>=0?i="move":n.indexOf(r)>=0&&(i="copy"),i}}function a(t,n,e,r){return Math.sqrt(Math.pow(e-t,2)+Math.pow(r-n,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(t){this.editor.$resetCursorStyle(),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle(""),this.dragWaitEnd()},this.startDrag=function(){this.cancelDrag=!1;var t=this.editor;t.container.draggable=!0,t.renderer.$cursorLayer.setBlinking(!1),t.setStyle("ace_dragging");var n=o.isWin?"default":"move";t.renderer.setCursorStyle(n),this.setState("dragReady")},this.onMouseDrag=function(t){var n=this.editor.container;o.isIE&&"dragReady"==this.state&&a(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>3&&n.dragDrop(),"dragWait"===this.state&&a(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>0&&(n.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()))},this.onMouseDown=function(t){if(this.$dragEnabled){this.mousedownEvent=t;var n=this.editor,e=t.inSelection(),r=t.getButton();if(1===(t.domEvent.detail||1)&&0===r&&e){if(t.editor.inMultiSelectMode&&(t.getAccelKey()||t.getShiftKey()))return;this.mousedownEvent.time=Date.now();var i=t.domEvent.target||t.domEvent.srcElement;"unselectable"in i&&(i.unselectable="on"),n.getDragDelay()?(o.isWebKit&&(this.cancelDrag=!0,n.container.draggable=!0),this.setState("dragWait")):this.startDrag(),this.captureMouse(t,this.onMouseDrag.bind(this)),t.defaultPrevented=!0}}}}).call(s.prototype),n.DragdropHandler=s})),ace.define("ace/mouse/touch_handler",["require","exports","module","ace/mouse/mouse_event","ace/lib/event","ace/lib/dom"],(function(t,n,e){"use strict";var r=t("./mouse_event").MouseEvent,i=t("../lib/event"),o=t("../lib/dom");n.addTouchListeners=function(t,n){var e,s,a,u,c,l,h,f,d,p="scroll",_=0,m=0,v=0,g=0;function b(){var t,e,r;d||(t=window.navigator&&window.navigator.clipboard,e=!1,r=function(r){var i,s,a=r.target.getAttribute("action");if("more"==a||!e)return e=!e,i=n.getCopyText(),s=n.session.getUndoManager().hasUndo(),void d.replaceChild(o.buildDom(e?["span",!i&&["span",{class:"ace_mobile-button",action:"selectall"},"Select All"],i&&["span",{class:"ace_mobile-button",action:"copy"},"Copy"],i&&["span",{class:"ace_mobile-button",action:"cut"},"Cut"],t&&["span",{class:"ace_mobile-button",action:"paste"},"Paste"],s&&["span",{class:"ace_mobile-button",action:"undo"},"Undo"],["span",{class:"ace_mobile-button",action:"find"},"Find"],["span",{class:"ace_mobile-button",action:"openCommandPallete"},"Palette"]]:["span"]),d.firstChild);"paste"==a?t.readText().then((function(t){n.execCommand(a,t)})):a&&("cut"!=a&&"copy"!=a||(t?t.writeText(n.getCopyText()):document.execCommand("copy")),n.execCommand(a)),d.firstChild.style.display="none",e=!1,"openCommandPallete"!=a&&n.focus()},d=o.buildDom(["div",{class:"ace_mobile-menu",ontouchstart:function(t){p="menu",t.stopPropagation(),t.preventDefault(),n.textInput.focus()},ontouchend:function(t){t.stopPropagation(),t.preventDefault(),r(t)},onclick:r},["span"],["span",{class:"ace_mobile-button",action:"more"},"..."]],n.container));var i=n.selection.cursor,s=n.renderer.textToScreenCoordinates(i.row,i.column),a=n.renderer.textToScreenCoordinates(0,0).pageX,u=n.renderer.scrollLeft,c=n.container.getBoundingClientRect();d.style.top=s.pageY-c.top-3+"px",s.pageX-c.left1)return clearTimeout(c),c=null,a=-1,void(p="zoom");f=n.$mouseHandler.isMousePressed=!0;var o=n.renderer.layerConfig.lineHeight,l=n.renderer.layerConfig.lineHeight,d=t.timeStamp;u=d;var b=i[0],w=b.clientX,x=b.clientY;Math.abs(e-w)+Math.abs(s-x)>o&&(a=-1),e=t.clientX=w,s=t.clientY=x,v=g=0;var k=new r(t,n);if(h=k.getDocumentPosition(),d-a<500&&1==i.length&&!_)m++,t.preventDefault(),t.button=0,function(){c=null,clearTimeout(c),n.selection.moveToPosition(h);var t=m>=2?n.selection.getLineRange(h.row):n.session.getBracketRange(h);t&&!t.isEmpty()?n.selection.setRange(t):n.selection.selectWord(),p="wait"}();else{m=0;var S=n.selection.cursor,A=n.selection.isEmpty()?S:n.selection.anchor,C=n.renderer.$cursorLayer.getPixelPosition(S,!0),E=n.renderer.$cursorLayer.getPixelPosition(A,!0),M=n.renderer.scroller.getBoundingClientRect(),$=n.renderer.layerConfig.offset,z=n.renderer.scrollLeft,T=function(t,n){return(t/=l)*t+(n=n/o-.75)*n};if(t.clientXj?"cursor":"anchor"),p=j<3.5?"anchor":O<3.5?"cursor":"scroll",c=setTimeout(y,450)}a=d}),n),i.addListener(t,"touchend",(function(t){f=n.$mouseHandler.isMousePressed=!1,l&&clearInterval(l),"zoom"==p?(p="",_=0):c?(n.selection.moveToPosition(h),_=0,b()):"scroll"==p?(_+=60,l=setInterval((function(){_--<=0&&(clearInterval(l),l=null),Math.abs(v)<.01&&(v=0),Math.abs(g)<.01&&(g=0),_<20&&(v*=.9),_<20&&(g*=.9);var t=n.session.getScrollTop();n.renderer.scrollBy(10*v,10*g),t==n.session.getScrollTop()&&(_=0)}),10),w()):b(),clearTimeout(c),c=null}),n),i.addListener(t,"touchmove",(function(t){c&&(clearTimeout(c),c=null);var i=t.touches;if(!(i.length>1||"zoom"==p)){var o=i[0],a=e-o.clientX,l=s-o.clientY;if("wait"==p){if(!(a*a+l*l>4))return t.preventDefault();p="cursor"}e=o.clientX,s=o.clientY,t.clientX=o.clientX,t.clientY=o.clientY;var h=t.timeStamp,f=h-u;if(u=h,"scroll"==p){var d=new r(t,n);d.speed=1,d.wheelX=a,d.wheelY=l,10*Math.abs(a)=t){for(o=h+1;o=t;)o++;for(a=h,u=o-1;a=n.length||2!=(u=e[i-1])&&3!=u||2!=(c=n[i+1])&&3!=c?4:(o&&(c=3),c==u?c:4);case 10:return 2==(u=i>0?e[i-1]:5)&&i+10&&2==e[i-1])return 2;if(o)return 4;for(d=i+1,f=n.length;d=1425&&_<=2303||64286==_;if(u=n[d],m&&(1==u||7==u))return 1}return i<1||5==(u=n[i-1])?4:e[i-1];case 5:return o=!1,s=!0,r;case 6:return a=!0,4;case 13:case 14:case 16:case 17:case 15:o=!1;case h:return 4}}function m(t){var n=t.charCodeAt(0),e=n>>8;return 0==e?n>191?0:f[n]:5==e?/[\u0591-\u05f4]/.test(t)?1:0:6==e?/[\u0610-\u061a\u064b-\u065f\u06d6-\u06e4\u06e7-\u06ed]/.test(t)?12:/[\u0660-\u0669\u066b-\u066c]/.test(t)?3:1642==n?l:/[\u06f0-\u06f9]/.test(t)?2:7:32==e&&n<=8287?d[255&n]:254==e&&n>=65136?7:4}n.L=0,n.R=1,n.EN=2,n.ON_R=3,n.AN=4,n.R_H=5,n.B=6,n.RLE=7,n.DOT="·",n.doBidiReorder=function(t,e,l){if(t.length<2)return{};var f=t.split(""),d=new Array(f.length),v=new Array(f.length),g=[];r=l?1:0,function(t,n,e,l){var h=r?c:u,f=null,d=null,p=null,v=0,g=null,b=-1,w=null,y=null,x=[];if(!l)for(w=0,l=[];w0)if(16==g){for(w=b;w-1){for(w=b;w=0&&8==l[k];k--)n[k]=r}}(f,g,f.length,e);for(var b=0;b7&&e[b]<13||4===e[b]||e[b]===h)?g[b]=n.ON_R:b>0&&"ل"===f[b-1]&&/\u0622|\u0623|\u0625|\u0627/.test(f[b])&&(g[b-1]=g[b]=n.R_H,b++);for(f[f.length-1]===n.DOT&&(g[f.length-1]=n.B),"‫"===f[0]&&(g[0]=n.RLE),b=0;b=0&&(t=this.session.$docRowCache[e])}return t},t.prototype.getSplitIndex=function(){var t=0,n=this.session.$screenRowCache;if(n.length)for(var e,r=this.session.$getRowCacheIndex(n,this.currentRow);this.currentRow-t>0&&(e=this.session.$getRowCacheIndex(n,this.currentRow-t-1))===r;)r=e,t++;else t=this.currentRow;return t},t.prototype.updateRowLine=function(t,n){void 0===t&&(t=this.getDocumentRow());var e=t===this.session.getLength()-1?this.EOF:this.EOL;if(this.wrapIndent=0,this.line=this.session.getLine(t),this.isRtlDir=this.$isRtl||this.line.charAt(0)===this.RLE,this.session.$useWrapMode){var o=this.session.$wrapData[t];o&&(void 0===n&&(n=this.getSplitIndex()),n>0&&o.length?(this.wrapIndent=o.indent,this.wrapOffset=this.wrapIndent*this.charWidths[r.L],this.line=nn?this.session.getOverwrite()?t:t-1:n,i=r.getVisualFromLogicalIdx(e,this.bidiMap),o=this.bidiMap.bidiLevels,s=0;!this.session.getOverwrite()&&t<=n&&o[i]%2!=0&&i++;for(var a=0;an&&o[i]%2==0&&(s+=this.charWidths[o[i]]),this.wrapIndent&&(s+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset),this.isRtlDir&&(s+=this.rtlLineOffset),s},t.prototype.getSelections=function(t,n){var e,r=this.bidiMap,i=r.bidiLevels,o=[],s=0,a=Math.min(t,n)-this.wrapIndent,u=Math.max(t,n)-this.wrapIndent,c=!1,l=!1,h=0;this.wrapIndent&&(s+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset);for(var f,d=0;d=a&&fe+o/2;){if(e+=o,r===i.length-1){o=0;break}o=this.charWidths[i[++r]]}return r>0&&i[r-1]%2!=0&&i[r]%2==0?(t0&&i[r-1]%2==0&&i[r]%2!=0?n=1+(t>e?this.bidiMap.logicalFromVisual[r]:this.bidiMap.logicalFromVisual[r-1]):this.isRtlDir&&r===i.length-1&&0===o&&i[r-1]%2==0||!this.isRtlDir&&0===r&&i[r]%2!=0?n=1+this.bidiMap.logicalFromVisual[r]:(r>0&&i[r-1]%2!=0&&0!==o&&r--,n=this.bidiMap.logicalFromVisual[r]),0===n&&this.isRtlDir&&n++,n+this.wrapIndent},t}();n.BidiHandler=s})),ace.define("ace/selection",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/range"],(function(t,n,e){"use strict";var r=t("./lib/oop"),i=t("./lib/lang"),o=t("./lib/event_emitter").EventEmitter,s=t("./range").Range,a=function(){function t(t){this.session=t,this.doc=t.getDocument(),this.clearSelection(),this.cursor=this.lead=this.doc.createAnchor(0,0),this.anchor=this.doc.createAnchor(0,0),this.$silent=!1;var n=this;this.cursor.on("change",(function(t){n.$cursorChanged=!0,n.$silent||n._emit("changeCursor"),n.$isEmpty||n.$silent||n._emit("changeSelection"),n.$keepDesiredColumnOnChange||t.old.column==t.value.column||(n.$desiredColumn=null)})),this.anchor.on("change",(function(){n.$anchorChanged=!0,n.$isEmpty||n.$silent||n._emit("changeSelection")}))}return t.prototype.isEmpty=function(){return this.$isEmpty||this.anchor.row==this.lead.row&&this.anchor.column==this.lead.column},t.prototype.isMultiLine=function(){return!this.$isEmpty&&this.anchor.row!=this.cursor.row},t.prototype.getCursor=function(){return this.lead.getPosition()},t.prototype.setAnchor=function(t,n){this.$isEmpty=!1,this.anchor.setPosition(t,n)},t.prototype.getAnchor=function(){return this.$isEmpty?this.getSelectionLead():this.anchor.getPosition()},t.prototype.getSelectionLead=function(){return this.lead.getPosition()},t.prototype.isBackwards=function(){var t=this.anchor,n=this.lead;return t.row>n.row||t.row==n.row&&t.column>n.column},t.prototype.getRange=function(){var t=this.anchor,n=this.lead;return this.$isEmpty?s.fromPoints(n,n):this.isBackwards()?s.fromPoints(n,t):s.fromPoints(t,n)},t.prototype.clearSelection=function(){this.$isEmpty||(this.$isEmpty=!0,this._emit("changeSelection"))},t.prototype.selectAll=function(){this.$setSelection(0,0,Number.MAX_VALUE,Number.MAX_VALUE)},t.prototype.setRange=function(t,n){var e=n?t.end:t.start,r=n?t.start:t.end;this.$setSelection(e.row,e.column,r.row,r.column)},t.prototype.$setSelection=function(t,n,e,r){if(!this.$silent){var i=this.$isEmpty,o=this.inMultiSelectMode;this.$silent=!0,this.$cursorChanged=this.$anchorChanged=!1,this.anchor.setPosition(t,n),this.cursor.setPosition(e,r),this.$isEmpty=!s.comparePoints(this.anchor,this.cursor),this.$silent=!1,this.$cursorChanged&&this._emit("changeCursor"),(this.$cursorChanged||this.$anchorChanged||i!=this.$isEmpty||o)&&this._emit("changeSelection")}},t.prototype.$moveSelection=function(t){var n=this.lead;this.$isEmpty&&this.setSelectionAnchor(n.row,n.column),t.call(this)},t.prototype.selectTo=function(t,n){this.$moveSelection((function(){this.moveCursorTo(t,n)}))},t.prototype.selectToPosition=function(t){this.$moveSelection((function(){this.moveCursorToPosition(t)}))},t.prototype.moveTo=function(t,n){this.clearSelection(),this.moveCursorTo(t,n)},t.prototype.moveToPosition=function(t){this.clearSelection(),this.moveCursorToPosition(t)},t.prototype.selectUp=function(){this.$moveSelection(this.moveCursorUp)},t.prototype.selectDown=function(){this.$moveSelection(this.moveCursorDown)},t.prototype.selectRight=function(){this.$moveSelection(this.moveCursorRight)},t.prototype.selectLeft=function(){this.$moveSelection(this.moveCursorLeft)},t.prototype.selectLineStart=function(){this.$moveSelection(this.moveCursorLineStart)},t.prototype.selectLineEnd=function(){this.$moveSelection(this.moveCursorLineEnd)},t.prototype.selectFileEnd=function(){this.$moveSelection(this.moveCursorFileEnd)},t.prototype.selectFileStart=function(){this.$moveSelection(this.moveCursorFileStart)},t.prototype.selectWordRight=function(){this.$moveSelection(this.moveCursorWordRight)},t.prototype.selectWordLeft=function(){this.$moveSelection(this.moveCursorWordLeft)},t.prototype.getWordRange=function(t,n){if(void 0===n){var e=t||this.lead;t=e.row,n=e.column}return this.session.getWordRange(t,n)},t.prototype.selectWord=function(){this.setSelectionRange(this.getWordRange())},t.prototype.selectAWord=function(){var t=this.getCursor(),n=this.session.getAWordRange(t.row,t.column);this.setSelectionRange(n)},t.prototype.getLineRange=function(t,n){var e,r="number"==typeof t?t:this.lead.row,i=this.session.getFoldLine(r);return i?(r=i.start.row,e=i.end.row):e=r,!0===n?new s(r,0,e,this.session.getLine(e).length):new s(r,0,e+1,0)},t.prototype.selectLine=function(){this.setSelectionRange(this.getLineRange())},t.prototype.moveCursorUp=function(){this.moveCursorBy(-1,0)},t.prototype.moveCursorDown=function(){this.moveCursorBy(1,0)},t.prototype.wouldMoveIntoSoftTab=function(t,n,e){var r=t.column,i=t.column+n;return e<0&&(r=t.column-n,i=t.column),this.session.isTabStop(t)&&this.doc.getLine(t.row).slice(r,i).split(" ").length-1==n},t.prototype.moveCursorLeft=function(){var t,n=this.lead.getPosition();if(t=this.session.getFoldAt(n.row,n.column,-1))this.moveCursorTo(t.start.row,t.start.column);else if(0===n.column)n.row>0&&this.moveCursorTo(n.row-1,this.doc.getLine(n.row-1).length);else{var e=this.session.getTabSize();this.wouldMoveIntoSoftTab(n,e,-1)&&!this.session.getNavigateWithinSoftTabs()?this.moveCursorBy(0,-e):this.moveCursorBy(0,-1)}},t.prototype.moveCursorRight=function(){var t,n=this.lead.getPosition();if(t=this.session.getFoldAt(n.row,n.column,1))this.moveCursorTo(t.end.row,t.end.column);else if(this.lead.column==this.doc.getLine(this.lead.row).length)this.lead.row0&&(n.column=r)}}this.moveCursorTo(n.row,n.column)},t.prototype.moveCursorFileEnd=function(){var t=this.doc.getLength()-1,n=this.doc.getLine(t).length;this.moveCursorTo(t,n)},t.prototype.moveCursorFileStart=function(){this.moveCursorTo(0,0)},t.prototype.moveCursorLongWordRight=function(){var t=this.lead.row,n=this.lead.column,e=this.doc.getLine(t),r=e.substring(n);this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0;var i=this.session.getFoldAt(t,n,1);if(i)this.moveCursorTo(i.end.row,i.end.column);else{if(this.session.nonTokenRe.exec(r)&&(n+=this.session.nonTokenRe.lastIndex,this.session.nonTokenRe.lastIndex=0,r=e.substring(n)),n>=e.length)return this.moveCursorTo(t,e.length),this.moveCursorRight(),void(t0&&this.moveCursorWordLeft());this.session.tokenRe.exec(o)&&(e-=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),this.moveCursorTo(n,e)}},t.prototype.$shortWordEndIndex=function(t){var n,e=0,r=/\s/,i=this.session.tokenRe;if(i.lastIndex=0,this.session.tokenRe.exec(t))e=this.session.tokenRe.lastIndex;else{for(;(n=t[e])&&r.test(n);)e++;if(e<1)for(i.lastIndex=0;(n=t[e])&&!i.test(n);)if(i.lastIndex=0,e++,r.test(n)){if(e>2){e--;break}for(;(n=t[e])&&r.test(n);)e++;if(e>2)break}}return i.lastIndex=0,e},t.prototype.moveCursorShortWordRight=function(){var t=this.lead.row,n=this.lead.column,e=this.doc.getLine(t),r=e.substring(n),i=this.session.getFoldAt(t,n,1);if(i)return this.moveCursorTo(i.end.row,i.end.column);if(n==e.length){var o=this.doc.getLength();do{t++,r=this.doc.getLine(t)}while(t0&&/^\s*$/.test(r));e=r.length,/\s+$/.test(r)||(r="")}var o=i.stringReverse(r),s=this.$shortWordEndIndex(o);return this.moveCursorTo(n,e-s)},t.prototype.moveCursorWordRight=function(){this.session.$selectLongWords?this.moveCursorLongWordRight():this.moveCursorShortWordRight()},t.prototype.moveCursorWordLeft=function(){this.session.$selectLongWords?this.moveCursorLongWordLeft():this.moveCursorShortWordLeft()},t.prototype.moveCursorBy=function(t,n){var e,r=this.session.documentToScreenPosition(this.lead.row,this.lead.column);if(0===n&&(0!==t&&(this.session.$bidiHandler.isBidiRow(r.row,this.lead.row)?(e=this.session.$bidiHandler.getPosLeft(r.column),r.column=Math.round(e/this.session.$bidiHandler.charWidths[0])):e=r.column*this.session.$bidiHandler.charWidths[0]),this.$desiredColumn?r.column=this.$desiredColumn:this.$desiredColumn=r.column),0!=t&&this.session.lineWidgets&&this.session.lineWidgets[this.lead.row]){var i=this.session.lineWidgets[this.lead.row];t<0?t-=i.rowsAbove||0:t>0&&(t+=i.rowCount-(i.rowsAbove||0))}var o=this.session.screenToDocumentPosition(r.row+t,r.column,e);0!==t&&0===n&&o.row===this.lead.row&&(o.column,this.lead.column),this.moveCursorTo(o.row,o.column+n,0===n)},t.prototype.moveCursorToPosition=function(t){this.moveCursorTo(t.row,t.column)},t.prototype.moveCursorTo=function(t,n,e){var r=this.session.getFoldAt(t,n,1);r&&(t=r.start.row,n=r.start.column),this.$keepDesiredColumnOnChange=!0;var i=this.session.getLine(t);/[\uDC00-\uDFFF]/.test(i.charAt(n))&&i.charAt(n-1)&&(this.lead.row==t&&this.lead.column==n+1?n-=1:n+=1),this.lead.setPosition(t,n),this.$keepDesiredColumnOnChange=!1,e||(this.$desiredColumn=null)},t.prototype.moveCursorToScreen=function(t,n,e){var r=this.session.screenToDocumentPosition(t,n);this.moveCursorTo(r.row,r.column,e)},t.prototype.detach=function(){this.lead.detach(),this.anchor.detach()},t.prototype.fromOrientedRange=function(t){this.setSelectionRange(t,t.cursor==t.start),this.$desiredColumn=t.desiredColumn||this.$desiredColumn},t.prototype.toOrientedRange=function(t){var n=this.getRange();return t?(t.start.column=n.start.column,t.start.row=n.start.row,t.end.column=n.end.column,t.end.row=n.end.row):t=n,t.cursor=this.isBackwards()?t.start:t.end,t.desiredColumn=this.$desiredColumn,t},t.prototype.getRangeOfMovements=function(t){var n=this.getCursor();try{t(this);var e=this.getCursor();return s.fromPoints(n,e)}catch(t){return s.fromPoints(n,n)}finally{this.moveCursorToPosition(n)}},t.prototype.toJSON=function(){if(this.rangeCount)var t=this.ranges.map((function(t){var n=t.clone();return n.isBackwards=t.cursor==t.start,n}));else(t=this.getRange()).isBackwards=this.isBackwards();return t},t.prototype.fromJSON=function(t){if(null==t.start){if(this.rangeList&&t.length>1){this.toSingleRange(t[0]);for(var n=t.length;n--;){var e=s.fromPoints(t[n].start,t[n].end);t[n].isBackwards&&(e.cursor=e.start),this.addRange(e,!0)}return}t=t[0]}this.rangeList&&this.toSingleRange(t),this.setSelectionRange(t,t.isBackwards)},t.prototype.isEqual=function(t){if((t.length||this.rangeCount)&&t.length!=this.rangeCount)return!1;if(!t.length||!this.ranges)return this.getRange().isEqual(t);for(var n=this.ranges.length;n--;)if(!this.ranges[n].isEqual(t[n]))return!1;return!0},t}();a.prototype.setSelectionAnchor=a.prototype.setAnchor,a.prototype.getSelectionAnchor=a.prototype.getAnchor,a.prototype.setSelectionRange=a.prototype.setRange,r.implement(a.prototype,o),n.Selection=a})),ace.define("ace/tokenizer",["require","exports","module","ace/lib/report_error"],(function(t,n,e){"use strict";var r=t("./lib/report_error").reportError,i=2e3,o=function(){function t(t){for(var n in this.states=t,this.regExps={},this.matchMappings={},this.states){for(var e=this.states[n],r=[],i=0,o=this.matchMappings[n]={defaultToken:"text"},s="g",a=[],u=0;u1?this.$applyToken:c.token),h>1&&(/\\\d/.test(c.regex)?l=c.regex.replace(/\\([0-9]+)/g,(function(t,n){return"\\"+(parseInt(n,10)+i+1)})):(h=1,l=this.removeCapturingGroups(c.regex)),c.splitRegex||"string"==typeof c.token||a.push(c)),o[i]=u,i+=h,r.push(l),c.onMatch||(c.onMatch=null)}}r.length||(o[0]=0,r.push("$")),a.forEach((function(t){t.splitRegex=this.createSplitterRegexp(t.regex,s)}),this),this.regExps[n]=new RegExp("("+r.join(")|(")+")|($)",s)}}return t.prototype.$setMaxTokenCount=function(t){i=0|t},t.prototype.$applyToken=function(t){var n=this.splitRegex.exec(t).slice(1),e=this.token.apply(this,n);if("string"==typeof e)return[{type:e,value:t}];for(var r=[],i=0,o=e.length;il){var v=t.substring(l,m-_.length);f.type==d?f.value+=v:(f.type&&c.push(f),f={type:d,value:v})}for(var g=0;gi){for(h>2*t.length&&this.reportError("infinite loop with in ace tokenizer",{startState:n,line:t});l1&&e[0]!==r&&e.unshift("#tmp",r),{tokens:c,state:e.length?e:r}},t}();o.prototype.reportError=r,n.Tokenizer=o})),ace.define("ace/mode/text_highlight_rules",["require","exports","module","ace/lib/deep_copy"],(function(t,n,e){"use strict";var r=t("../lib/deep_copy").deepCopy,i=function(){this.$rules={start:[{token:"empty_line",regex:"^$"},{defaultToken:"text"}]}};(function(){this.addRules=function(t,n){if(n)for(var e in t){for(var r=t[e],i=0;i=this.$rowTokens.length;){if(this.$row+=1,t||(t=this.$session.getLength()),this.$row>=t)return this.$row=t-1,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=0}return this.$rowTokens[this.$tokenIndex]},t.prototype.getCurrentToken=function(){return this.$rowTokens[this.$tokenIndex]},t.prototype.getCurrentTokenRow=function(){return this.$row},t.prototype.getCurrentTokenColumn=function(){var t=this.$rowTokens,n=this.$tokenIndex,e=t[n].start;if(void 0!==e)return e;for(e=0;n>0;)e+=t[n-=1].value.length;return e},t.prototype.getCurrentTokenPosition=function(){return{row:this.$row,column:this.getCurrentTokenColumn()}},t.prototype.getCurrentTokenRange=function(){var t=this.$rowTokens[this.$tokenIndex],n=this.getCurrentTokenColumn();return new r(this.$row,n,this.$row,n+t.value.length)},t}();n.TokenIterator=i})),ace.define("ace/mode/behaviour/cstyle",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator","ace/lib/lang"],(function(t,n,e){"use strict";var r,i=t("../../lib/oop"),o=t("../behaviour").Behaviour,s=t("../../token_iterator").TokenIterator,a=t("../../lib/lang"),u=["text","paren.rparen","rparen","paren","punctuation.operator"],c=["text","paren.rparen","rparen","paren","punctuation.operator","comment"],l={},h={'"':'"',"'":"'"},f=function(t){var n=-1;if(t.multiSelect&&(n=t.selection.index,l.rangeCount!=t.multiSelect.rangeCount&&(l={rangeCount:t.multiSelect.rangeCount})),l[n])return r=l[n];r=l[n]={autoInsertedBrackets:0,autoInsertedRow:-1,autoInsertedLineEnd:"",maybeInsertedBrackets:0,maybeInsertedRow:-1,maybeInsertedLineStart:"",maybeInsertedLineEnd:""}},d=function(t,n,e,r){var i=t.end.row-t.start.row;return{text:e+n+r,selection:[0,t.start.column+1,i,t.end.column+(i?0:1)]}},p=function(t){t=t||{},this.add("braces","insertion",(function(n,e,i,o,s){var u=i.getCursorPosition(),c=o.doc.getLine(u.row);if("{"==s){f(i);var l=i.getSelectionRange(),h=o.doc.getTextRange(l);if(""!==h&&"{"!==h&&i.getWrapBehavioursEnabled())return d(l,h,"{","}");if(p.isSaneInsertion(i,o))return/[\]\}\)]/.test(c[u.column])||i.inMultiSelectMode||t.braces?(p.recordAutoInsert(i,o,"}"),{text:"{}",selection:[1,1]}):(p.recordMaybeInsert(i,o,"{"),{text:"{",selection:[1,1]})}else if("}"==s){if(f(i),"}"==c.substring(u.column,u.column+1)&&null!==o.$findOpeningBracket("}",{column:u.column+1,row:u.row})&&p.isAutoInsertedClosing(u,c,s))return p.popAutoInsertedClosing(),{text:"",selection:[1,1]}}else{if("\n"==s||"\r\n"==s){f(i);var _="";if(p.isMaybeInsertedClosing(u,c)&&(_=a.stringRepeat("}",r.maybeInsertedBrackets),p.clearMaybeInsertedClosing()),"}"===c.substring(u.column,u.column+1)){var m=o.findMatchingBracket({row:u.row,column:u.column+1},"}");if(!m)return null;var v=this.$getIndent(o.getLine(m.row))}else{if(!_)return void p.clearMaybeInsertedClosing();v=this.$getIndent(c)}var g=v+o.getTabString();return{text:"\n"+g+"\n"+v+_,selection:[1,g.length,1,g.length]}}p.clearMaybeInsertedClosing()}})),this.add("braces","deletion",(function(t,n,e,i,o){var s=i.doc.getTextRange(o);if(!o.isMultiLine()&&"{"==s){if(f(e),"}"==i.doc.getLine(o.start.row).substring(o.end.column,o.end.column+1))return o.end.column++,o;r.maybeInsertedBrackets--}})),this.add("parens","insertion",(function(t,n,e,r,i){if("("==i){f(e);var o=e.getSelectionRange(),s=r.doc.getTextRange(o);if(""!==s&&e.getWrapBehavioursEnabled())return d(o,s,"(",")");if(p.isSaneInsertion(e,r))return p.recordAutoInsert(e,r,")"),{text:"()",selection:[1,1]}}else if(")"==i){f(e);var a=e.getCursorPosition(),u=r.doc.getLine(a.row);if(")"==u.substring(a.column,a.column+1)&&null!==r.$findOpeningBracket(")",{column:a.column+1,row:a.row})&&p.isAutoInsertedClosing(a,u,i))return p.popAutoInsertedClosing(),{text:"",selection:[1,1]}}})),this.add("parens","deletion",(function(t,n,e,r,i){var o=r.doc.getTextRange(i);if(!i.isMultiLine()&&"("==o&&(f(e),")"==r.doc.getLine(i.start.row).substring(i.start.column+1,i.start.column+2)))return i.end.column++,i})),this.add("brackets","insertion",(function(t,n,e,r,i){if("["==i){f(e);var o=e.getSelectionRange(),s=r.doc.getTextRange(o);if(""!==s&&e.getWrapBehavioursEnabled())return d(o,s,"[","]");if(p.isSaneInsertion(e,r))return p.recordAutoInsert(e,r,"]"),{text:"[]",selection:[1,1]}}else if("]"==i){f(e);var a=e.getCursorPosition(),u=r.doc.getLine(a.row);if("]"==u.substring(a.column,a.column+1)&&null!==r.$findOpeningBracket("]",{column:a.column+1,row:a.row})&&p.isAutoInsertedClosing(a,u,i))return p.popAutoInsertedClosing(),{text:"",selection:[1,1]}}})),this.add("brackets","deletion",(function(t,n,e,r,i){var o=r.doc.getTextRange(i);if(!i.isMultiLine()&&"["==o&&(f(e),"]"==r.doc.getLine(i.start.row).substring(i.start.column+1,i.start.column+2)))return i.end.column++,i})),this.add("string_dquotes","insertion",(function(t,n,e,r,i){var o=r.$mode.$quotes||h;if(1==i.length&&o[i]){if(this.lineCommentStart&&-1!=this.lineCommentStart.indexOf(i))return;f(e);var s=i,a=e.getSelectionRange(),u=r.doc.getTextRange(a);if(!(""===u||1==u.length&&o[u])&&e.getWrapBehavioursEnabled())return d(a,u,s,s);if(!u){var c=e.getCursorPosition(),l=r.doc.getLine(c.row),p=l.substring(c.column-1,c.column),_=l.substring(c.column,c.column+1),m=r.getTokenAt(c.row,c.column),v=r.getTokenAt(c.row,c.column+1);if("\\"==p&&m&&/escape/.test(m.type))return null;var g,b=m&&/string|escape/.test(m.type),w=!v||/string|escape/.test(v.type);if(_==s)(g=b!==w)&&/string\.end/.test(v.type)&&(g=!1);else{if(b&&!w)return null;if(b&&w)return null;var y=r.$mode.tokenRe;y.lastIndex=0;var x=y.test(p);y.lastIndex=0;var k=y.test(_),S=r.$mode.$pairQuotesAfter;if(!(S&&S[s]&&S[s].test(p))&&x||k)return null;if(_&&!/[\s;,.})\]\\]/.test(_))return null;var A=l[c.column-2];if(p==s&&(A==s||y.test(A)))return null;g=!0}return{text:g?s+s:"",selection:[1,1]}}}})),this.add("string_dquotes","deletion",(function(t,n,e,r,i){var o=r.$mode.$quotes||h,s=r.doc.getTextRange(i);if(!i.isMultiLine()&&o.hasOwnProperty(s)&&(f(e),r.doc.getLine(i.start.row).substring(i.start.column+1,i.start.column+2)==s))return i.end.column++,i})),!1!==t.closeDocComment&&this.add("doc comment end","insertion",(function(t,n,e,r,i){if("doc-start"===t&&("\n"===i||"\r\n"===i)&&e.selection.isEmpty()){var o=e.getCursorPosition(),s=r.doc.getLine(o.row),a=r.doc.getLine(o.row+1),u=this.$getIndent(s);if(/\s*\*/.test(a))return/^\s*\*/.test(s)?{text:i+u+"* ",selection:[1,3+u.length,1,3+u.length]}:{text:i+u+" * ",selection:[1,3+u.length,1,3+u.length]};if(/\/\*\*/.test(s.substring(0,o.column)))return{text:i+u+" * "+i+" "+u+"*/",selection:[1,4+u.length,1,4+u.length]}}}))};p.isSaneInsertion=function(t,n){var e=t.getCursorPosition(),r=new s(n,e.row,e.column);if(!this.$matchTokenType(r.getCurrentToken()||"text",u)){if(/[)}\]]/.test(t.session.getLine(e.row)[e.column]))return!0;var i=new s(n,e.row,e.column+1);if(!this.$matchTokenType(i.getCurrentToken()||"text",u))return!1}return r.stepForward(),r.getCurrentTokenRow()!==e.row||this.$matchTokenType(r.getCurrentToken()||"text",c)},p.$matchTokenType=function(t,n){return n.indexOf(t.type||t)>-1},p.recordAutoInsert=function(t,n,e){var i=t.getCursorPosition(),o=n.doc.getLine(i.row);this.isAutoInsertedClosing(i,o,r.autoInsertedLineEnd[0])||(r.autoInsertedBrackets=0),r.autoInsertedRow=i.row,r.autoInsertedLineEnd=e+o.substr(i.column),r.autoInsertedBrackets++},p.recordMaybeInsert=function(t,n,e){var i=t.getCursorPosition(),o=n.doc.getLine(i.row);this.isMaybeInsertedClosing(i,o)||(r.maybeInsertedBrackets=0),r.maybeInsertedRow=i.row,r.maybeInsertedLineStart=o.substr(0,i.column)+e,r.maybeInsertedLineEnd=o.substr(i.column),r.maybeInsertedBrackets++},p.isAutoInsertedClosing=function(t,n,e){return r.autoInsertedBrackets>0&&t.row===r.autoInsertedRow&&e===r.autoInsertedLineEnd[0]&&n.substr(t.column)===r.autoInsertedLineEnd},p.isMaybeInsertedClosing=function(t,n){return r.maybeInsertedBrackets>0&&t.row===r.maybeInsertedRow&&n.substr(t.column)===r.maybeInsertedLineEnd&&n.substr(0,t.column)==r.maybeInsertedLineStart},p.popAutoInsertedClosing=function(){r.autoInsertedLineEnd=r.autoInsertedLineEnd.substr(1),r.autoInsertedBrackets--},p.clearMaybeInsertedClosing=function(){r&&(r.maybeInsertedBrackets=0,r.maybeInsertedRow=-1)},i.inherits(p,o),n.CstyleBehaviour=p})),ace.define("ace/unicode",["require","exports","module"],(function(t,n,e){"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],i=0,o=[],s=0;s2?r%c!=c-1:r%c==0})}else{if(!this.blockComment)return!1;var d=this.blockComment.start,p=this.blockComment.end,_=new RegExp("^(\\s*)(?:"+u.escapeRegExp(d)+")"),m=new RegExp("(?:"+u.escapeRegExp(p)+")\\s*$"),v=function(t,n){b(t,n)||o&&!/\S/.test(t)||(i.insertInLine({row:n,column:t.length},p),i.insertInLine({row:n,column:a},d))},g=function(t,n){var e;(e=t.match(m))&&i.removeInLine(n,t.length-e[0].length,t.length),(e=t.match(_))&&i.removeInLine(n,e[1].length,e[0].length)},b=function(t,e){if(_.test(t))return!0;for(var r=n.getTokens(e),i=0;it.length&&(y=t.length)})),a==1/0&&(a=y,o=!1,s=!1),l&&a%c!=0&&(a=Math.floor(a/c)*c),w(s?g:v)},this.toggleBlockComment=function(t,n,e,r){var i=this.blockComment;if(i){!i.start&&i[0]&&(i=i[0]);var o,s,a=(_=new c(n,r.row,r.column)).getCurrentToken(),u=(n.selection,n.selection.toOrientedRange());if(a&&/comment/.test(a.type)){for(var h,f;a&&/comment/.test(a.type);){if(-1!=(m=a.value.indexOf(i.start))){var d=_.getCurrentTokenRow(),p=_.getCurrentTokenColumn()+m;h=new l(d,p,d,p+i.start.length);break}a=_.stepBackward()}var _;for(a=(_=new c(n,r.row,r.column)).getCurrentToken();a&&/comment/.test(a.type);){var m;if(-1!=(m=a.value.indexOf(i.end))){d=_.getCurrentTokenRow(),p=_.getCurrentTokenColumn()+m,f=new l(d,p,d,p+i.end.length);break}a=_.stepForward()}f&&n.remove(f),h&&(n.remove(h),o=h.start.row,s=-i.start.length)}else s=i.start.length,o=e.start.row,n.insert(e.end,i.end),n.insert(e.start,i.start);u.start.row==o&&(u.start.column+=s),u.end.row==o&&(u.end.column+=s),n.selection.fromOrientedRange(u)}},this.getNextLineIndent=function(t,n,e){return this.$getIndent(n)},this.checkOutdent=function(t,n,e){return!1},this.autoOutdent=function(t,n,e){},this.$getIndent=function(t){return t.match(/^\s*/)[0]},this.createWorker=function(t){return null},this.createModeDelegates=function(t){for(var n in this.$embeds=[],this.$modes={},t)if(t[n]){var e=t[n],i=e.prototype.$id,o=r.$modes[i];o||(r.$modes[i]=o=new e),r.$modes[n]||(r.$modes[n]=o),this.$embeds.push(n),this.$modes[n]=o}var s=["toggleBlockComment","toggleCommentLines","getNextLineIndent","checkOutdent","autoOutdent","transformAction","getCompletions"];for(n=0;nthis.row)){var n=function(t,n,e){var r="insert"==t.action,i=(r?1:-1)*(t.end.row-t.start.row),o=(r?1:-1)*(t.end.column-t.start.column),a=t.start,u=r?a:t.end;return s(n,a,e)?{row:n.row,column:n.column}:s(u,n,!e)?{row:n.row+i,column:n.column+(n.row==u.row?o:0)}:{row:a.row,column:a.column}}(t,{row:this.row,column:this.column},this.$insertRight);this.setPosition(n.row,n.column,!0)}},t.prototype.setPosition=function(t,n,e){var r;if(r=e?{row:t,column:n}:this.$clipPositionToDocument(t,n),this.row!=r.row||this.column!=r.column){var i={row:this.row,column:this.column};this.row=r.row,this.column=r.column,this._signal("change",{old:i,value:r})}},t.prototype.detach=function(){this.document.off("change",this.$onChange)},t.prototype.attach=function(t){this.document=t||this.document,this.document.on("change",this.$onChange)},t.prototype.$clipPositionToDocument=function(t,n){var e={};return t>=this.document.getLength()?(e.row=Math.max(0,this.document.getLength()-1),e.column=this.document.getLine(e.row).length):t<0?(e.row=0,e.column=0):(e.row=t,e.column=Math.min(this.document.getLine(e.row).length,Math.max(0,n))),n<0&&(e.column=0),e},t}();function s(t,n,e){var r=e?t.column<=n.column:t.column=e&&(t=e-1,n=void 0);var r=this.getLine(t);return null==n&&(n=r.length),{row:t,column:n=Math.min(Math.max(n,0),r.length)}},t.prototype.clonePos=function(t){return{row:t.row,column:t.column}},t.prototype.pos=function(t,n){return{row:t,column:n}},t.prototype.$clipPosition=function(t){var n=this.getLength();return t.row>=n?(t.row=Math.max(0,n-1),t.column=this.getLine(n-1).length):(t.row=Math.max(0,t.row),t.column=Math.min(Math.max(t.column,0),this.getLine(t.row).length)),t},t.prototype.insertFullLines=function(t,n){var e=0;(t=Math.min(Math.max(t,0),this.getLength()))0,r=n=0&&this.applyDelta({start:this.pos(t,this.getLine(t).length),end:this.pos(t+1,0),action:"remove",lines:["",""]})},t.prototype.replace=function(t,n){return t instanceof s||(t=s.fromPoints(t.start,t.end)),0===n.length&&t.isEmpty()?t.start:n==this.getTextRange(t)?t.end:(this.remove(t),n?this.insert(t.start,n):t.start)},t.prototype.applyDeltas=function(t){for(var n=0;n=0;n--)this.revertDelta(t[n])},t.prototype.applyDelta=function(t,n){var e="insert"==t.action;(e?t.lines.length<=1&&!t.lines[0]:!s.comparePoints(t.start,t.end))||(e&&t.lines.length>2e4?this.$splitAndapplyLargeDelta(t,2e4):(i(this.$lines,t,n),this._signal("change",t)))},t.prototype.$safeApplyDelta=function(t){var n=this.$lines.length;("remove"==t.action&&t.start.row20){e.running=setTimeout(e.$worker,20);break}}e.currentLine=n,-1==r&&(r=n),o<=r&&e.fireUpdateEvent(o,r)}}}return t.prototype.setTokenizer=function(t){this.tokenizer=t,this.lines=[],this.states=[],this.start(0)},t.prototype.setDocument=function(t){this.doc=t,this.lines=[],this.states=[],this.stop()},t.prototype.fireUpdateEvent=function(t,n){var e={first:t,last:n};this._signal("update",{data:e})},t.prototype.start=function(t){this.currentLine=Math.min(t||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)},t.prototype.scheduleStart=function(){this.running||(this.running=setTimeout(this.$worker,700))},t.prototype.$updateOnChange=function(t){var n=t.start.row,e=t.end.row-n;if(0===e)this.lines[n]=null;else if("remove"==t.action)this.lines.splice(n,e+1,null),this.states.splice(n,e+1,null);else{var r=Array(e+1);r.unshift(n,1),this.lines.splice.apply(this.lines,r),this.states.splice.apply(this.states,r)}this.currentLine=Math.min(n,this.currentLine,this.doc.getLength()),this.stop()},t.prototype.stop=function(){this.running&&clearTimeout(this.running),this.running=!1},t.prototype.getTokens=function(t){return this.lines[t]||this.$tokenizeRow(t)},t.prototype.getState=function(t){return this.currentLine==t&&this.$tokenizeRow(t),this.states[t]||"start"},t.prototype.$tokenizeRow=function(t){var n=this.doc.getLine(t),e=this.states[t-1],r=this.tokenizer.getLineTokens(n,e,t);return this.states[t]+""!=r.state+""?(this.states[t]=r.state,this.lines[t+1]=null,this.currentLine>t+1&&(this.currentLine=t+1)):this.currentLine==t&&(this.currentLine=t+1),this.lines[t]=r.tokens},t.prototype.cleanup=function(){this.running=!1,this.lines=[],this.states=[],this.currentLine=0,this.removeAllListeners()},t}();r.implement(o.prototype,i),n.BackgroundTokenizer=o})),ace.define("ace/search_highlight",["require","exports","module","ace/lib/lang","ace/range"],(function(t,n,e){"use strict";var r=t("./lib/lang"),i=t("./range").Range,o=function(){function t(t,n,e){void 0===e&&(e="text"),this.setRegexp(t),this.clazz=n,this.type=e}return t.prototype.setRegexp=function(t){this.regExp+""!=t+""&&(this.regExp=t,this.cache=[])},t.prototype.update=function(t,n,e,o){if(this.regExp)for(var s=o.firstRow,a=o.lastRow,u={},c=s;c<=a;c++){var l=this.cache[c];null==l&&((l=r.getMatchOffsets(e.getLine(c),this.regExp)).length>this.MAX_RANGES&&(l=l.slice(0,this.MAX_RANGES)),l=l.map((function(t){return new i(c,t.offset,c,t.offset+t.length)})),this.cache[c]=l.length?l:"");for(var h=l.length;h--;){var f=l[h].toScreenRange(e),d=f.toString();u[d]||(u[d]=!0,n.drawSingleLineMarker(t,f,this.clazz,o))}}},t}();o.prototype.MAX_RANGES=500,n.SearchHighlight=o})),ace.define("ace/edit_session/fold_line",["require","exports","module","ace/range"],(function(t,n,e){"use strict";var r=t("../range").Range,i=function(){function t(t,n){this.foldData=t,Array.isArray(n)?this.folds=n:n=this.folds=[n];var e=n[n.length-1];this.range=new r(n[0].start.row,n[0].start.column,e.end.row,e.end.column),this.start=this.range.start,this.end=this.range.end,this.folds.forEach((function(t){t.setFoldLine(this)}),this)}return t.prototype.shiftRow=function(t){this.start.row+=t,this.end.row+=t,this.folds.forEach((function(n){n.start.row+=t,n.end.row+=t}))},t.prototype.addFold=function(t){if(t.sameRow){if(t.start.rowthis.endRow)throw new Error("Can't add a fold to this FoldLine as it has no connection");this.folds.push(t),this.folds.sort((function(t,n){return-t.range.compareEnd(n.start.row,n.start.column)})),this.range.compareEnd(t.start.row,t.start.column)>0?(this.end.row=t.end.row,this.end.column=t.end.column):this.range.compareStart(t.end.row,t.end.column)<0&&(this.start.row=t.start.row,this.start.column=t.start.column)}else if(t.start.row==this.end.row)this.folds.push(t),this.end.row=t.end.row,this.end.column=t.end.column;else{if(t.end.row!=this.start.row)throw new Error("Trying to add fold to FoldRow that doesn't have a matching row");this.folds.unshift(t),this.start.row=t.start.row,this.start.column=t.start.column}t.foldLine=this},t.prototype.containsRow=function(t){return t>=this.start.row&&t<=this.end.row},t.prototype.walk=function(t,n,e){var r,i,o=0,s=this.folds,a=!0;null==n&&(n=this.end.row,e=this.end.column);for(var u=0;u0)){var u=r(t,s.start);return 0===a?n&&0!==u?-o-2:o:u>0||0===u&&!n?o:-o-1}}return-o-1},t.prototype.add=function(t){var n=!t.isEmpty(),e=this.pointIndex(t.start,n);e<0&&(e=-e-1);var r=this.pointIndex(t.end,n,e);return r<0?r=-r-1:r++,this.ranges.splice(e,r-e,t)},t.prototype.addList=function(t){for(var n=[],e=t.length;e--;)n.push.apply(n,this.add(t[e]));return n},t.prototype.substractPoint=function(t){var n=this.pointIndex(t);if(n>=0)return this.ranges.splice(n,1)},t.prototype.merge=function(){for(var t,n=[],e=this.ranges,i=(e=e.sort((function(t,n){return r(t.start,n.start)})))[0],o=1;o=0},t.prototype.containsPoint=function(t){return this.pointIndex(t)>=0},t.prototype.rangeAtPoint=function(t){var n=this.pointIndex(t);if(n>=0)return this.ranges[n]},t.prototype.clipRows=function(t,n){var e=this.ranges;if(e[0].start.row>n||e[e.length-1].start.row=r);s++);if("insert"==t.action){for(var u=i-r,c=-n.column+e.column;sr);s++)if(l.start.row==r&&l.start.column>=n.column&&(l.start.column==n.column&&this.$bias<=0||(l.start.column+=c,l.start.row+=u)),l.end.row==r&&l.end.column>=n.column){if(l.end.column==n.column&&this.$bias<0)continue;l.end.column==n.column&&c>0&&sl.start.column&&l.end.column==o[s+1].start.column&&(l.end.column-=c),l.end.column+=c,l.end.row+=u}}else for(u=r-i,c=n.column-e.column;si);s++)l.end.rown.column)&&(l.end.column=n.column,l.end.row=n.row):(l.end.column+=c,l.end.row+=u):l.end.row>i&&(l.end.row+=u),l.start.rown.column)&&(l.start.column=n.column,l.start.row=n.row):(l.start.column+=c,l.start.row+=u):l.start.row>i&&(l.start.row+=u);if(0!=u&&s=t)return i;if(i.end.row>t)return null}return null},this.getNextFoldLine=function(t,n){var e=this.$foldData,r=0;for(n&&(r=e.indexOf(n)),-1==r&&(r=0);r=t)return i}return null},this.getFoldedRowCount=function(t,n){for(var e=this.$foldData,r=n-t+1,i=0;i=n){a=t?r-=n-a:r=0);break}s>=t&&(r-=a>=t?s-a:s-t+1)}return r},this.$addFoldLine=function(t){return this.$foldData.push(t),this.$foldData.sort((function(t,n){return t.start.row-n.start.row})),t},this.addFold=function(t,n){var e,r=this.$foldData,s=!1;t instanceof o?e=t:(e=new o(n,t)).collapseChildren=n.collapseChildren,this.$clipRangeToDocument(e.range);var a=e.start.row,u=e.start.column,c=e.end.row,l=e.end.column,h=this.getFoldAt(a,u,1),f=this.getFoldAt(c,l,-1);if(h&&f==h)return h.addSubFold(e);h&&!h.range.isStart(a,u)&&this.removeFold(h),f&&!f.range.isEnd(c,l)&&this.removeFold(f);var d=this.getFoldsInRange(e.range);d.length>0&&(this.removeFolds(d),e.collapseChildren||d.forEach((function(t){e.addSubFold(t)})));for(var p=0;p0&&this.foldAll(t.start.row+1,t.end.row,t.collapseChildren-1),t.subFolds=[]},this.expandFolds=function(t){t.forEach((function(t){this.expandFold(t)}),this)},this.unfold=function(t,n){var e,i;if(null==t)e=new r(0,0,this.getLength(),0),null==n&&(n=!0);else if("number"==typeof t)e=new r(t,0,t,this.getLine(t).length);else if("row"in t)e=r.fromPoints(t,t);else{if(Array.isArray(t))return i=[],t.forEach((function(t){i=i.concat(this.unfold(t))}),this),i;e=t}for(var o=i=this.getFoldsInRangeList(e);1==i.length&&r.comparePoints(i[0].start,e.start)<0&&r.comparePoints(i[0].end,e.end)>0;)this.expandFolds(i),i=this.getFoldsInRangeList(e);if(0!=n?this.removeFolds(i):this.expandFolds(i),o.length)return o},this.isRowFolded=function(t,n){return!!this.getFoldLine(t,n)},this.getRowFoldEnd=function(t,n){var e=this.getFoldLine(t,n);return e?e.end.row:t},this.getRowFoldStart=function(t,n){var e=this.getFoldLine(t,n);return e?e.start.row:t},this.getFoldDisplayLine=function(t,n,e,r,i){null==r&&(r=t.start.row),null==i&&(i=0),null==n&&(n=t.end.row),null==e&&(e=this.getLine(n).length);var o=this.doc,s="";return t.walk((function(t,n,e,a){if(!(nl)break}while(o&&u.test(o.type)&&!/^comment.start/.test(o.type));o=i.stepBackward()}else o=i.getCurrentToken();return c.end.row=i.getCurrentTokenRow(),c.end.column=i.getCurrentTokenColumn(),/^comment.end/.test(o.type)||(c.end.column+=o.value.length-2),c}},this.foldAll=function(t,n,e,r){null==e&&(e=1e5);var i=this.foldWidgets;if(i){n=n||this.getLength();for(var o=t=t||0;o=t&&(o=s.end.row,s.collapseChildren=e,this.addFold("...",s))}}},this.foldToLevel=function(t){for(this.foldAll();t-- >0;)this.unfold(null,!1)},this.foldAllComments=function(){var t=this;this.foldAll(null,null,null,(function(n){for(var e=t.getTokens(n),r=0;r=0;){var o=e[i];if(null==o&&(o=e[i]=this.getFoldWidget(i)),"start"==o){var s=this.getFoldWidgetRange(i);if(r||(r=s),s&&s.end.row>=t)break}i--}return{range:-1!==i&&s,firstRange:r}},this.onFoldWidgetClick=function(t,n){n instanceof a&&(n=n.domEvent);var e={children:n.shiftKey,all:n.ctrlKey||n.metaKey,siblings:n.altKey};if(!this.$toggleFoldWidget(t,e)){var r=n.target||n.srcElement;r&&/ace_fold-widget/.test(r.className)&&(r.className+=" ace_invalid")}},this.$toggleFoldWidget=function(t,n){if(this.getFoldWidget){var e=this.getFoldWidget(t),r=this.getLine(t),i="end"===e?-1:1,o=this.getFoldAt(t,-1===i?0:r.length,i);if(o)return n.children||n.all?this.removeFold(o):this.expandFold(o),o;var s=this.getFoldWidgetRange(t,!0);if(s&&!s.isMultiLine()&&(o=this.getFoldAt(s.start.row,s.start.column,1))&&s.isEqual(o.range))return this.removeFold(o),o;if(n.siblings){var a=this.getParentFoldRangeData(t);if(a.range)var u=a.range.start.row+1,c=a.range.end.row;this.foldAll(u,c,n.all?1e4:0)}else n.children?(c=s?s.end.row:this.getLength(),this.foldAll(t+1,c,n.all?1e4:0)):s&&(n.all&&(s.collapseChildren=1e4),this.addFold("...",s));return s}},this.toggleFoldWidget=function(t){var n=this.selection.getCursor().row;n=this.getRowFoldStart(n);var e=this.$toggleFoldWidget(n,{});if(!e){var r=this.getParentFoldRangeData(n,!0);if(e=r.range||r.firstRange){n=e.start.row;var i=this.getFoldAt(n,this.getLine(n).length,1);i?this.removeFold(i):this.addFold("...",e)}}},this.updateFoldWidgets=function(t){var n=t.start.row,e=t.end.row-n;if(0===e)this.foldWidgets[n]=null;else if("remove"==t.action)this.foldWidgets.splice(n,e+1,null);else{var r=Array(e+1);r.unshift(n,1),this.foldWidgets.splice.apply(this.foldWidgets,r)}},this.tokenizerUpdateFoldWidgets=function(t){var n=t.data;n.first!=n.last&&this.foldWidgets.length>n.first&&this.foldWidgets.splice(n.first,this.foldWidgets.length)}}})),ace.define("ace/edit_session/bracket_match",["require","exports","module","ace/token_iterator","ace/range"],(function(t,n,e){"use strict";var r=t("../token_iterator").TokenIterator,i=t("../range").Range;n.BracketMatch=function(){this.findMatchingBracket=function(t,n){if(0==t.column)return null;var e=n||this.getLine(t.row).charAt(t.column-1);if(""==e)return null;var r=e.match(/([\(\[\{])|([\)\]\}])/);return r?r[1]?this.$findClosingBracket(r[1],t):this.$findOpeningBracket(r[2],t):null},this.getBracketRange=function(t){var n,e=this.getLine(t.row),r=!0,o=e.charAt(t.column-1),s=o&&o.match(/([\(\[\{])|([\)\]\}])/);if(s||(o=e.charAt(t.column),t={row:t.row,column:t.column+1},s=o&&o.match(/([\(\[\{])|([\)\]\}])/),r=!1),!s)return null;if(s[1]){if(!(a=this.$findClosingBracket(s[1],t)))return null;n=i.fromPoints(t,a),r||(n.end.column++,n.start.column--),n.cursor=n.end}else{var a;if(!(a=this.$findOpeningBracket(s[2],t)))return null;n=i.fromPoints(a,t),r||(n.start.column++,n.end.column--),n.cursor=n.start}return n},this.getMatchingBracketRanges=function(t,n){var e=this.getLine(t.row),r=/([\(\[\{])|([\)\]\}])/,o=!n&&e.charAt(t.column-1),s=o&&o.match(r);if(s||(o=(void 0===n||n)&&e.charAt(t.column),t={row:t.row,column:t.column+1},s=o&&o.match(r)),!s)return null;var a=new i(t.row,t.column-1,t.row,t.column),u=s[1]?this.$findClosingBracket(s[1],t):this.$findOpeningBracket(s[2],t);return u?[a,new i(u.row,u.column,u.row,u.column+1)]:[a]},this.$brackets={")":"(","(":")","]":"[","[":"]","{":"}","}":"{","<":">",">":"<"},this.$findOpeningBracket=function(t,n,e){var i=this.$brackets[t],o=1,s=new r(this,n.row,n.column),a=s.getCurrentToken();if(a||(a=s.stepForward()),a){e||(e=new RegExp("(\\.?"+a.type.replace(".","\\.").replace("rparen",".paren").replace(/\b(?:end)\b/,"(?:start|begin|end)").replace(/-close\b/,"-(close|open)")+")+"));for(var u=n.column-s.getCurrentTokenColumn()-2,c=a.value;;){for(;u>=0;){var l=c.charAt(u);if(l==i){if(0==(o-=1))return{row:s.getCurrentTokenRow(),column:u+s.getCurrentTokenColumn()}}else l==t&&(o+=1);u-=1}do{a=s.stepBackward()}while(a&&!e.test(a.type));if(null==a)break;u=(c=a.value).length-1}return null}},this.$findClosingBracket=function(t,n,e){var i=this.$brackets[t],o=1,s=new r(this,n.row,n.column),a=s.getCurrentToken();if(a||(a=s.stepForward()),a){e||(e=new RegExp("(\\.?"+a.type.replace(".","\\.").replace("lparen",".paren").replace(/\b(?:start|begin)\b/,"(?:start|begin|end)").replace(/-open\b/,"-(close|open)")+")+"));for(var u=n.column-s.getCurrentTokenColumn();;){for(var c=a.value,l=c.length;u"===n.value?r=!0:-1!==n.type.indexOf("tag-name")&&(e=!0))}while(n&&!e);return n},this.$findClosingTag=function(t,n){var e,r=n.value,o=n.value,s=0,a=new i(t.getCurrentTokenRow(),t.getCurrentTokenColumn(),t.getCurrentTokenRow(),t.getCurrentTokenColumn()+1);n=t.stepForward();var u=new i(t.getCurrentTokenRow(),t.getCurrentTokenColumn(),t.getCurrentTokenRow(),t.getCurrentTokenColumn()+n.value.length),c=!1;do{if(e=n,n=t.stepForward()){if(">"===n.value&&!c){var l=new i(t.getCurrentTokenRow(),t.getCurrentTokenColumn(),t.getCurrentTokenRow(),t.getCurrentTokenColumn()+1);c=!0}if(-1!==n.type.indexOf("tag-name")){if(o===(r=n.value))if("<"===e.value)s++;else if(""!==n.value)return;var d=new i(t.getCurrentTokenRow(),t.getCurrentTokenColumn(),t.getCurrentTokenRow(),t.getCurrentTokenColumn()+1)}}else o===r&&"/>"===n.value&&--s<0&&(d=f=h=new i(t.getCurrentTokenRow(),t.getCurrentTokenColumn(),t.getCurrentTokenRow(),t.getCurrentTokenColumn()+2),l=new i(u.end.row,u.end.column,u.end.row,u.end.column+1))}}while(n&&s>=0);if(a&&l&&h&&d&&u&&f)return{openTag:new i(a.start.row,a.start.column,l.end.row,l.end.column),closeTag:new i(h.start.row,h.start.column,d.end.row,d.end.column),openTagName:u,closeTagName:f}},this.$findOpeningTag=function(t,n){var e=t.getCurrentToken(),r=n.value,o=0,s=t.getCurrentTokenRow(),a=t.getCurrentTokenColumn(),u=a+2,c=new i(s,a,s,u);t.stepForward();var l=new i(t.getCurrentTokenRow(),t.getCurrentTokenColumn(),t.getCurrentTokenRow(),t.getCurrentTokenColumn()+n.value.length);if((n=t.stepForward())&&">"===n.value){var h=new i(t.getCurrentTokenRow(),t.getCurrentTokenColumn(),t.getCurrentTokenRow(),t.getCurrentTokenColumn()+1);t.stepBackward(),t.stepBackward();do{if(n=e,s=t.getCurrentTokenRow(),u=(a=t.getCurrentTokenColumn())+n.value.length,e=t.stepBackward(),n)if(-1!==n.type.indexOf("tag-name")){if(r===n.value)if("<"===e.value){if(++o>0){var f=new i(s,a,s,u),d=new i(t.getCurrentTokenRow(),t.getCurrentTokenColumn(),t.getCurrentTokenRow(),t.getCurrentTokenColumn()+1);do{n=t.stepForward()}while(n&&">"!==n.value);var p=new i(t.getCurrentTokenRow(),t.getCurrentTokenColumn(),t.getCurrentTokenRow(),t.getCurrentTokenColumn()+1)}}else""===n.value){for(var _=0,m=e;m;){if(-1!==m.type.indexOf("tag-name")&&m.value===r){o--;break}if("<"===m.value)break;m=t.stepBackward(),_++}for(var v=0;v<_;v++)t.stepForward()}}while(e&&o<=0);return d&&p&&c&&h&&f&&l?{openTag:new i(d.start.row,d.start.column,p.end.row,p.end.column),closeTag:new i(c.start.row,c.start.column,h.end.row,h.end.column),openTagName:f,closeTagName:l}:void 0}}}})),ace.define("ace/edit_session",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/bidihandler","ace/config","ace/lib/event_emitter","ace/selection","ace/mode/text","ace/range","ace/document","ace/background_tokenizer","ace/search_highlight","ace/edit_session/folding","ace/edit_session/bracket_match"],(function(t,n,e){"use strict";var r=t("./lib/oop"),i=t("./lib/lang"),o=t("./bidihandler").BidiHandler,s=t("./config"),a=t("./lib/event_emitter").EventEmitter,u=t("./selection").Selection,c=t("./mode/text").Mode,l=t("./range").Range,h=t("./document").Document,f=t("./background_tokenizer").BackgroundTokenizer,d=t("./search_highlight").SearchHighlight,p=function(){function t(n,e){this.$breakpoints=[],this.$decorations=[],this.$frontMarkers={},this.$backMarkers={},this.$markerId=1,this.$undoSelect=!0,this.$foldData=[],this.id="session"+ ++t.$uid,this.$foldData.toString=function(){return this.join("\n")},this.bgTokenizer=new f((new c).getTokenizer(),this);var r=this;this.bgTokenizer.on("update",(function(t){r._signal("tokenizerUpdate",t)})),this.on("changeFold",this.onChangeFold.bind(this)),this.$onChange=this.onChange.bind(this),"object"==typeof n&&n.getLine||(n=new h(n)),this.setDocument(n),this.selection=new u(this),this.$bidiHandler=new o(this),s.resetOptions(this),this.setMode(e),s._signal("session",this),this.destroyed=!1}return t.prototype.setDocument=function(t){this.doc&&this.doc.off("change",this.$onChange),this.doc=t,t.on("change",this.$onChange,!0),this.bgTokenizer.setDocument(this.getDocument()),this.resetCaches()},t.prototype.getDocument=function(){return this.doc},t.prototype.$resetRowCache=function(t){if(!t)return this.$docRowCache=[],void(this.$screenRowCache=[]);var n=this.$docRowCache.length,e=this.$getRowCacheIndex(this.$docRowCache,t)+1;n>e&&(this.$docRowCache.splice(e,n),this.$screenRowCache.splice(e,n))},t.prototype.$getRowCacheIndex=function(t,n){for(var e=0,r=t.length-1;e<=r;){var i=e+r>>1,o=t[i];if(n>o)e=i+1;else{if(!(n=n);o++);return(e=r[o])?(e.index=o,e.start=i-e.value.length,e):null},t.prototype.setUndoManager=function(t){if(this.$undoManager=t,this.$informUndoManager&&this.$informUndoManager.cancel(),t){var n=this;t.addSession(this),this.$syncInformUndoManager=function(){n.$informUndoManager.cancel(),n.mergeUndoDeltas=!1},this.$informUndoManager=i.delayedCall(this.$syncInformUndoManager)}else this.$syncInformUndoManager=function(){}},t.prototype.markUndoGroup=function(){this.$syncInformUndoManager&&this.$syncInformUndoManager()},t.prototype.getUndoManager=function(){return this.$undoManager||this.$defaultUndoManager},t.prototype.getTabString=function(){return this.getUseSoftTabs()?i.stringRepeat(" ",this.getTabSize()):"\t"},t.prototype.setUseSoftTabs=function(t){this.setOption("useSoftTabs",t)},t.prototype.getUseSoftTabs=function(){return this.$useSoftTabs&&!this.$mode.$indentWithTabs},t.prototype.setTabSize=function(t){this.setOption("tabSize",t)},t.prototype.getTabSize=function(){return this.$tabSize},t.prototype.isTabStop=function(t){return this.$useSoftTabs&&t.column%this.$tabSize==0},t.prototype.setNavigateWithinSoftTabs=function(t){this.setOption("navigateWithinSoftTabs",t)},t.prototype.getNavigateWithinSoftTabs=function(){return this.$navigateWithinSoftTabs},t.prototype.setOverwrite=function(t){this.setOption("overwrite",t)},t.prototype.getOverwrite=function(){return this.$overwrite},t.prototype.toggleOverwrite=function(){this.setOverwrite(!this.$overwrite)},t.prototype.addGutterDecoration=function(t,n){this.$decorations[t]||(this.$decorations[t]=""),this.$decorations[t]+=" "+n,this._signal("changeBreakpoint",{})},t.prototype.removeGutterDecoration=function(t,n){this.$decorations[t]=(this.$decorations[t]||"").replace(" "+n,""),this._signal("changeBreakpoint",{})},t.prototype.getBreakpoints=function(){return this.$breakpoints},t.prototype.setBreakpoints=function(t){this.$breakpoints=[];for(var n=0;n0&&(r=!!e.charAt(n-1).match(this.tokenRe)),r||(r=!!e.charAt(n).match(this.tokenRe)),r)var i=this.tokenRe;else i=/^\s+$/.test(e.slice(n-1,n+1))?/\s/:this.nonTokenRe;var o=n;if(o>0){do{o--}while(o>=0&&e.charAt(o).match(i));o++}for(var s=n;st&&(t=n.screenWidth)})),this.lineWidgetWidth=t},t.prototype.$computeWidth=function(t){if(this.$modified||t){if(this.$modified=!1,this.$useWrapMode)return this.screenWidth=this.$wrapLimit;for(var n=this.doc.getAllLines(),e=this.$rowLengthCache,r=0,i=0,o=this.$foldData[i],s=o?o.start.row:1/0,a=n.length,u=0;us){if((u=o.end.row+1)>=a)break;s=(o=this.$foldData[i++])?o.start.row:1/0}null==e[u]&&(e[u]=this.$getStringScreenWidth(n[u])[0]),e[u]>r&&(r=e[u])}this.screenWidth=r}},t.prototype.getLine=function(t){return this.doc.getLine(t)},t.prototype.getLines=function(t,n){return this.doc.getLines(t,n)},t.prototype.getLength=function(){return this.doc.getLength()},t.prototype.getTextRange=function(t){return this.doc.getTextRange(t||this.selection.getRange())},t.prototype.insert=function(t,n){return this.doc.insert(t,n)},t.prototype.remove=function(t){return this.doc.remove(t)},t.prototype.removeFullLines=function(t,n){return this.doc.removeFullLines(t,n)},t.prototype.undoChanges=function(t,n){if(t.length){this.$fromUndo=!0;for(var e=t.length-1;-1!=e;e--){var r=t[e];"insert"==r.action||"remove"==r.action?this.doc.revertDelta(r):r.folds&&this.addFolds(r.folds)}!n&&this.$undoSelect&&(t.selectionBefore?this.selection.fromJSON(t.selectionBefore):this.selection.setRange(this.$getUndoSelection(t,!0))),this.$fromUndo=!1}},t.prototype.redoChanges=function(t,n){if(t.length){this.$fromUndo=!0;for(var e=0;et.end.column&&(o.start.column+=c),o.end.row==t.end.row&&o.end.column>t.end.column&&(o.end.column+=c)),s&&o.start.row>=t.end.row&&(o.start.row+=s,o.end.row+=s)}if(o.end=this.insert(o.start,r),i.length){var a=t.start,u=o.start,c=(s=u.row-a.row,u.column-a.column);this.addFolds(i.map((function(t){return(t=t.clone()).start.row==a.row&&(t.start.column+=c),t.end.row==a.row&&(t.end.column+=c),t.start.row+=s,t.end.row+=s,t})))}return o},t.prototype.indentRows=function(t,n,e){e=e.replace(/\t/g,this.getTabString());for(var r=t;r<=n;r++)this.doc.insertInLine({row:r,column:0},e)},t.prototype.outdentRows=function(t){for(var n=t.collapseRows(),e=new l(0,0,0,0),r=this.getTabSize(),i=n.start.row;i<=n.end.row;++i){var o=this.getLine(i);e.start.row=i,e.end.row=i;for(var s=0;s0){var i;if((i=this.getRowFoldEnd(n+e))>this.doc.getLength()-1)return 0;r=i-n}else t=this.$clipRowToDocument(t),r=(n=this.$clipRowToDocument(n))-t+1;var o=new l(t,0,n,Number.MAX_VALUE),s=this.getFoldsInRange(o).map((function(t){return(t=t.clone()).start.row+=r,t.end.row+=r,t})),a=0==e?this.doc.getLines(t,n):this.doc.removeFullLines(t,n);return this.doc.insertFullLines(t+r,a),s.length&&this.addFolds(s),r},t.prototype.moveLinesUp=function(t,n){return this.$moveLines(t,n,-1)},t.prototype.moveLinesDown=function(t,n){return this.$moveLines(t,n,1)},t.prototype.duplicateLines=function(t,n){return this.$moveLines(t,n,0)},t.prototype.$clipRowToDocument=function(t){return Math.max(0,Math.min(t,this.doc.getLength()-1))},t.prototype.$clipColumnToRow=function(t,n){return n<0?0:Math.min(this.doc.getLine(t).length,n)},t.prototype.$clipPositionToDocument=function(t,n){if(n=Math.max(0,n),t<0)t=0,n=0;else{var e=this.doc.getLength();t>=e?(t=e-1,n=this.doc.getLine(e-1).length):n=Math.min(this.doc.getLine(t).length,n)}return{row:t,column:n}},t.prototype.$clipRangeToDocument=function(t){t.start.row<0?(t.start.row=0,t.start.column=0):t.start.column=this.$clipColumnToRow(t.start.row,t.start.column);var n=this.doc.getLength()-1;return t.end.row>n?(t.end.row=n,t.end.column=this.doc.getLine(n).length):t.end.column=this.$clipColumnToRow(t.end.row,t.end.column),t},t.prototype.setUseWrapMode=function(t){if(t!=this.$useWrapMode){if(this.$useWrapMode=t,this.$modified=!0,this.$resetRowCache(0),t){var n=this.getLength();this.$wrapData=Array(n),this.$updateWrapData(0,n-1)}this._signal("changeWrapMode")}},t.prototype.getUseWrapMode=function(){return this.$useWrapMode},t.prototype.setWrapLimitRange=function(t,n){this.$wrapLimitRange.min===t&&this.$wrapLimitRange.max===n||(this.$wrapLimitRange={min:t,max:n},this.$modified=!0,this.$bidiHandler.markAsDirty(),this.$useWrapMode&&this._signal("changeWrapMode"))},t.prototype.adjustWrapLimit=function(t,n){var e=this.$wrapLimitRange;e.max<0&&(e={min:n,max:n});var r=this.$constrainWrapLimit(t,e.min,e.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)},t.prototype.$constrainWrapLimit=function(t,n,e){return n&&(t=Math.max(n,t)),e&&(t=Math.min(e,t)),t},t.prototype.getWrapLimit=function(){return this.$wrapLimit},t.prototype.setWrapLimit=function(t){this.setWrapLimitRange(t,t)},t.prototype.getWrapLimitRange=function(){return{min:this.$wrapLimitRange.min,max:this.$wrapLimitRange.max}},t.prototype.$updateInternalDataOnChange=function(t){var n=this.$useWrapMode,e=t.action,r=t.start,i=t.end,o=r.row,s=i.row,a=s-o,u=null;if(this.$updating=!0,0!=a)if("remove"===e){this[n?"$wrapData":"$rowLengthCache"].splice(o,a);var c=this.$foldData;u=this.getFoldsInRange(t),this.removeFolds(u);var l=0;if(_=this.getFoldLine(i.row)){_.addRemoveChars(i.row,i.column,r.column-i.column),_.shiftRow(-a);var h=this.getFoldLine(o);h&&h!==_&&(h.merge(_),_=h),l=c.indexOf(_)+1}for(;l=i.row&&_.shiftRow(-a);s=o}else{var f=Array(a);f.unshift(o,0);var d=n?this.$wrapData:this.$rowLengthCache;if(d.splice.apply(d,f),c=this.$foldData,l=0,_=this.getFoldLine(o)){var p=_.range.compareInside(r.row,r.column);0==p?(_=_.split(r.row,r.column))&&(_.shiftRow(a),_.addRemoveChars(s,0,i.column-r.column)):-1==p&&(_.addRemoveChars(o,0,i.column-r.column),_.shiftRow(a)),l=c.indexOf(_)+1}for(;l=o&&_.shiftRow(a)}}else a=Math.abs(t.start.column-t.end.column),"remove"===e&&(u=this.getFoldsInRange(t),this.removeFolds(u),a=-a),(_=this.getFoldLine(o))&&_.addRemoveChars(o,r.column,a);return n&&this.$wrapData.length!=this.doc.getLength()&&console.error("doc.getLength() and $wrapData.length have to be the same!"),this.$updating=!1,n?this.$updateWrapData(o,s):this.$updateRowLengthCache(o,s),u},t.prototype.$updateRowLengthCache=function(t,n,e){this.$rowLengthCache[t]=null,this.$rowLengthCache[n]=null},t.prototype.$updateWrapData=function(t,n){var e,r,i=this.doc.getAllLines(),o=this.getTabSize(),s=this.$wrapData,a=this.$wrapLimit,u=t;for(n=Math.min(n,i.length-1);u<=n;)(r=this.getFoldLine(u,r))?(e=[],r.walk(function(t,n,r,o){var s;if(null!=t){(s=this.$getDisplayTokens(t,e.length))[0]=v;for(var a=1;an-h;){var f=o+n-h;if(t[f-1]>=w&&t[f]>=w)l(f);else if(t[f]!=v&&t[f]!=g){for(var d=Math.max(f-(n-(n>>2)),o-1);f>d&&t[f]d&&t[f]d&&t[f]==b;)f--}else for(;f>d&&t[f]d?l(++f):(t[f=o+n]==m&&f--,l(f-h))}else{for(;f!=o-1&&t[f]!=v;f--);if(f>o){l(f);continue}for(f=o+n;f39&&o<48||o>57&&o<64?r.push(b):o>=4352&&k(o)?r.push(_,m):r.push(_)}return r},t.prototype.$getStringScreenWidth=function(t,n,e){if(0==n)return[0,0];var r,i;for(null==n&&(n=1/0),e=e||0,i=0;i=4352&&k(r)?e+=2:e+=1,!(e>n));i++);return[e,i]},t.prototype.getRowLength=function(t){var n=1;return this.lineWidgets&&(n+=this.lineWidgets[t]&&this.lineWidgets[t].rowCount||0),this.$useWrapMode&&this.$wrapData[t]?this.$wrapData[t].length+n:n},t.prototype.getRowLineCount=function(t){return this.$useWrapMode&&this.$wrapData[t]?this.$wrapData[t].length+1:1},t.prototype.getRowWrapIndent=function(t){if(this.$useWrapMode){var n=this.screenToDocumentPosition(t,Number.MAX_VALUE),e=this.$wrapData[n.row];return e.length&&e[0]=0){a=c[l],o=this.$docRowCache[l];var f=t>c[h-1]}else f=!h;for(var d=this.getLength()-1,p=this.getNextFoldLine(o),_=p?p.start.row:1/0;a<=t&&!(a+(u=this.getRowLength(o))>t||o>=d);)a+=u,++o>_&&(o=p.end.row+1,_=(p=this.getNextFoldLine(o,p))?p.start.row:1/0),f&&(this.$docRowCache.push(o),this.$screenRowCache.push(a));if(p&&p.start.row<=o)r=this.getFoldDisplayLine(p),o=p.start.row;else{if(a+u<=t||o>d)return{row:d,column:this.getLine(d).length};r=this.getLine(o),p=null}var m=0,v=Math.floor(t-a);if(this.$useWrapMode){var g=this.$wrapData[o];g&&(i=g[v],v>0&&g.length&&(m=g.indent,s=g[v-1]||g[g.length-1],r=r.substring(s)))}return void 0!==e&&this.$bidiHandler.isBidiRow(a+v,o,v)&&(n=this.$bidiHandler.offsetToCol(e)),s+=this.$getStringScreenWidth(r,n-m)[1],this.$useWrapMode&&s>=i&&(s=i-1),p?p.idxToPosition(s):{row:o,column:s}},t.prototype.documentToScreenPosition=function(t,n){if(void 0===n)var e=this.$clipPositionToDocument(t.row,t.column);else e=this.$clipPositionToDocument(t,n);t=e.row,n=e.column;var r,i=0,o=null;(r=this.getFoldAt(t,n,1))&&(t=r.start.row,n=r.start.column);var s,a=0,u=this.$docRowCache,c=this.$getRowCacheIndex(u,t),l=u.length;if(l&&c>=0){a=u[c],i=this.$screenRowCache[c];var h=t>u[l-1]}else h=!l;for(var f=this.getNextFoldLine(a),d=f?f.start.row:1/0;a=d){if((s=f.end.row+1)>t)break;d=(f=this.getNextFoldLine(s,f))?f.start.row:1/0}else s=a+1;i+=this.getRowLength(a),a=s,h&&(this.$docRowCache.push(a),this.$screenRowCache.push(i))}var p="";f&&a>=d?(p=this.getFoldDisplayLine(f,t,n),o=f.start.row):(p=this.getLine(t).substring(0,n),o=t);var _=0;if(this.$useWrapMode){var m=this.$wrapData[o];if(m){for(var v=0;p.length>=m[v];)i++,v++;p=p.substring(m[v-1]||0,p.length),_=v>0?m.indent:0}}return this.lineWidgets&&this.lineWidgets[a]&&this.lineWidgets[a].rowsAbove&&(i+=this.lineWidgets[a].rowsAbove),{row:i,column:_+this.$getStringScreenWidth(p)[0]}},t.prototype.documentToScreenColumn=function(t,n){return this.documentToScreenPosition(t,n).column},t.prototype.documentToScreenRow=function(t,n){return this.documentToScreenPosition(t,n).row},t.prototype.getScreenLength=function(){var t=0,n=null;if(this.$useWrapMode)for(var e=this.$wrapData.length,r=0,i=(a=0,(n=this.$foldData[a++])?n.start.row:1/0);ri&&(r=n.end.row+1,i=(n=this.$foldData[a++])?n.start.row:1/0)}else{t=this.getLength();for(var s=this.$foldData,a=0;ae);o++);return[r,o]})},t.prototype.destroy=function(){this.destroyed||(this.bgTokenizer.setDocument(null),this.bgTokenizer.cleanup(),this.destroyed=!0),this.$stopWorker(),this.removeAllListeners(),this.doc&&this.doc.off("change",this.$onChange),this.selection.detach()},t}();p.$uid=0,p.prototype.$modes=s.$modes,p.prototype.getValue=p.prototype.toString,p.prototype.$defaultUndoManager={undo:function(){},redo:function(){},hasUndo:function(){},hasRedo:function(){},reset:function(){},add:function(){},addSelection:function(){},startNewGroup:function(){},addSession:function(){}},p.prototype.$overwrite=!1,p.prototype.$mode=null,p.prototype.$modeId=null,p.prototype.$scrollTop=0,p.prototype.$scrollLeft=0,p.prototype.$wrapLimit=80,p.prototype.$useWrapMode=!1,p.prototype.$wrapLimitRange={min:null,max:null},p.prototype.lineWidgets=null,p.prototype.isFullWidth=k,r.implement(p.prototype,a);var _=1,m=2,v=3,g=4,b=9,w=10,y=11,x=12;function k(t){return!(t<4352)&&(t>=4352&&t<=4447||t>=4515&&t<=4519||t>=4602&&t<=4607||t>=9001&&t<=9002||t>=11904&&t<=11929||t>=11931&&t<=12019||t>=12032&&t<=12245||t>=12272&&t<=12283||t>=12288&&t<=12350||t>=12353&&t<=12438||t>=12441&&t<=12543||t>=12549&&t<=12589||t>=12593&&t<=12686||t>=12688&&t<=12730||t>=12736&&t<=12771||t>=12784&&t<=12830||t>=12832&&t<=12871||t>=12880&&t<=13054||t>=13056&&t<=19903||t>=19968&&t<=42124||t>=42128&&t<=42182||t>=43360&&t<=43388||t>=44032&&t<=55203||t>=55216&&t<=55238||t>=55243&&t<=55291||t>=63744&&t<=64255||t>=65040&&t<=65049||t>=65072&&t<=65106||t>=65108&&t<=65126||t>=65128&&t<=65131||t>=65281&&t<=65376||t>=65504&&t<=65510)}t("./edit_session/folding").Folding.call(p.prototype),t("./edit_session/bracket_match").BracketMatch.call(p.prototype),s.defineOptions(p.prototype,"session",{wrap:{set:function(t){if(t&&"off"!=t?"free"==t?t=!0:"printMargin"==t?t=-1:"string"==typeof t&&(t=parseInt(t,10)||!1):t=!1,this.$wrap!=t)if(this.$wrap=t,t){var n="number"==typeof t?t:null;this.setWrapLimitRange(n,n),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(t){(t="auto"==t?"text"!=this.$mode.type:"text"!=t)!=this.$wrapAsCode&&(this.$wrapAsCode=t,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(t){this.$useWorker=t,this.$stopWorker(),t&&this.$startWorker()},initialValue:!0},useSoftTabs:{initialValue:!0},tabSize:{set:function(t){(t=parseInt(t))>0&&this.$tabSize!==t&&(this.$modified=!0,this.$rowLengthCache=[],this.$tabSize=t,this._signal("changeTabSize"))},initialValue:4,handlesSet:!0},navigateWithinSoftTabs:{initialValue:!1},foldStyle:{set:function(t){this.setFoldStyle(t)},handlesSet:!0},overwrite:{set:function(t){this._signal("changeOverwrite")},initialValue:!1},newLineMode:{set:function(t){this.doc.setNewLineMode(t)},get:function(){return this.doc.getNewLineMode()},handlesSet:!0},mode:{set:function(t){this.setMode(t)},get:function(){return this.$modeId},handlesSet:!0}}),n.EditSession=p})),ace.define("ace/search",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],(function(t,n,e){"use strict";var r=t("./lib/lang"),i=t("./lib/oop"),o=t("./range").Range,s=function(){function t(){this.$options={}}return t.prototype.set=function(t){return i.mixin(this.$options,t),this},t.prototype.getOptions=function(){return r.copyObject(this.$options)},t.prototype.setOptions=function(t){this.$options=t},t.prototype.find=function(t){var n=this.$options,e=this.$matchIterator(t,n);if(!e)return!1;var r=null;return e.forEach((function(t,e,i,s){return r=new o(t,e,i,s),!(e==s&&n.start&&n.start.start&&0!=n.skipCurrent&&r.isEqual(n.start)&&(r=null,1))})),r},t.prototype.findAll=function(t){var n=this.$options;if(!n.needle)return[];this.$assembleRegExp(n);var e=n.range,i=e?t.getLines(e.start.row,e.end.row):t.doc.getAllLines(),s=[],a=n.re;if(n.$isMultiLine){var u,c=a.length,l=i.length-c;t:for(var h=a.offset||0;h<=l;h++){for(var f=0;f_||(s.push(u=new o(h,_,h+c-1,m)),c>2&&(h=h+c-2))}}else for(var v=0;vy&&s[f].end.row==x;)f--;for(s=s.slice(v,f+1),v=0,f=s.length;v=a;e--)if(h(e,Number.MAX_VALUE,t))return;if(0!=n.wrap)for(e=u,a=s.row;e>=a;e--)if(h(e,Number.MAX_VALUE,t))return}};else c=function(t){var e=s.row;if(!h(e,s.column,t)){for(e+=1;e<=u;e++)if(h(e,0,t))return;if(0!=n.wrap)for(e=a,u=s.row;e<=u;e++)if(h(e,0,t))return}};if(n.$isMultiLine)var l=e.length,h=function(n,i,o){var s=r?n-l+1:n;if(!(s<0||s+l>t.getLength())){var a=t.getLine(s),u=a.search(e[0]);if(!(!r&&ui))return!!o(s,u,s+l-1,h)||void 0}}};else h=r?function(n,r,i){var o,s=t.getLine(n),a=[],u=0;for(e.lastIndex=0;o=e.exec(s);){var c=o[0].length;if(u=o.index,!c){if(u>=s.length)break;e.lastIndex=u+=1}if(o.index+c>r)break;a.push(o.index,c)}for(var l=a.length-1;l>=0;l-=2){var h=a[l-1];if(i(n,h,n,h+(c=a[l])))return!0}}:function(n,r,i){var o,s,a=t.getLine(n);for(e.lastIndex=r;s=e.exec(a);){var u=s[0].length;if(i(n,o=s.index,n,o+u))return!0;if(!u&&(e.lastIndex=o+=1,o>=a.length))return!1}};return{forEach:c}},t}();n.Search=s})),ace.define("ace/keyboard/hash_handler",["require","exports","module","ace/lib/keys","ace/lib/useragent"],(function(t,n,e){"use strict";var r,i=this&&this.__extends||(r=function(t,n){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])},r(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function e(){this.constructor=t}r(t,n),t.prototype=null===n?Object.create(n):(e.prototype=n.prototype,new e)}),o=t("../lib/keys"),s=t("../lib/useragent"),a=o.KEY_MODS,u=function(){function t(t,n){this.$init(t,n,!1)}return t.prototype.$init=function(t,n,e){this.platform=n||(s.isMac?"mac":"win"),this.commands={},this.commandKeyBinding={},this.addCommands(t),this.$singleCommand=e},t.prototype.addCommand=function(t){this.commands[t.name]&&this.removeCommand(t),this.commands[t.name]=t,t.bindKey&&this._buildKeyHash(t)},t.prototype.removeCommand=function(t,n){var e=t&&("string"==typeof t?t:t.name);t=this.commands[e],n||delete this.commands[e];var r=this.commandKeyBinding;for(var i in r){var o=r[i];if(o==t)delete r[i];else if(Array.isArray(o)){var s=o.indexOf(t);-1!=s&&(o.splice(s,1),1==o.length&&(r[i]=o[0]))}}},t.prototype.bindKey=function(t,n,e){if("object"==typeof t&&t&&(null==e&&(e=t.position),t=t[this.platform]),t)return"function"==typeof n?this.addCommand({exec:n,bindKey:t,name:n.name||t}):void t.split("|").forEach((function(t){var r="";if(-1!=t.indexOf(" ")){var i=t.split(/\s+/);t=i.pop(),i.forEach((function(t){var n=this.parseKeys(t),e=a[n.hashId]+n.key;r+=(r?" ":"")+e,this._addCommandToBinding(r,"chainKeys")}),this),r+=" "}var o=this.parseKeys(t),s=a[o.hashId]+o.key;this._addCommandToBinding(r+s,n,e)}),this)},t.prototype._addCommandToBinding=function(t,n,e){var r,i=this.commandKeyBinding;if(n)if(!i[t]||this.$singleCommand)i[t]=n;else{Array.isArray(i[t])?-1!=(r=i[t].indexOf(n))&&i[t].splice(r,1):i[t]=[i[t]],"number"!=typeof e&&(e=c(n));var o=i[t];for(r=0;re);r++);o.splice(r,0,n)}else delete i[t]},t.prototype.addCommands=function(t){t&&Object.keys(t).forEach((function(n){var e=t[n];if(e){if("string"==typeof e)return this.bindKey(e,n);"function"==typeof e&&(e={exec:e}),"object"==typeof e&&(e.name||(e.name=n),this.addCommand(e))}}),this)},t.prototype.removeCommands=function(t){Object.keys(t).forEach((function(n){this.removeCommand(t[n])}),this)},t.prototype.bindKeys=function(t){Object.keys(t).forEach((function(n){this.bindKey(n,t[n])}),this)},t.prototype._buildKeyHash=function(t){this.bindKey(t.bindKey,t)},t.prototype.parseKeys=function(t){var n=t.toLowerCase().split(/[\-\+]([\-\+])?/).filter((function(t){return t})),e=n.pop(),r=o[e];if(o.FUNCTION_KEYS[r])e=o.FUNCTION_KEYS[r].toLowerCase();else{if(!n.length)return{key:e,hashId:-1};if(1==n.length&&"shift"==n[0])return{key:e.toUpperCase(),hashId:-1}}for(var i=0,s=n.length;s--;){var a=o.KEY_MODS[n[s]];if(null==a)return"undefined"!=typeof console&&console.error("invalid modifier "+n[s]+" in "+t),!1;i|=a}return{key:e,hashId:i}},t.prototype.findKeyCommand=function(t,n){var e=a[t]+n;return this.commandKeyBinding[e]},t.prototype.handleKeyboard=function(t,n,e,r){if(!(r<0)){var i=a[n]+e,o=this.commandKeyBinding[i];return t.$keyChain&&(t.$keyChain+=" "+i,o=this.commandKeyBinding[t.$keyChain]||o),!o||"chainKeys"!=o&&"chainKeys"!=o[o.length-1]?(t.$keyChain&&(n&&4!=n||1!=e.length?(-1==n||r>0)&&(t.$keyChain=""):t.$keyChain=t.$keyChain.slice(0,-i.length-1)),{command:o}):(t.$keyChain=t.$keyChain||i,{command:"null"})}},t.prototype.getStatusText=function(t,n){return n.$keyChain||""},t}();function c(t){return"object"==typeof t&&t.bindKey&&t.bindKey.position||(t.isDefault?-100:0)}var l=function(t){function n(n,e){var r=t.call(this,n,e)||this;return r.$singleCommand=!0,r}return i(n,t),n}(u);l.call=function(t,n,e){u.prototype.$init.call(t,n,e,!0)},u.call=function(t,n,e){u.prototype.$init.call(t,n,e,!1)},n.HashHandler=l,n.MultiHashHandler=u})),ace.define("ace/commands/command_manager",["require","exports","module","ace/lib/oop","ace/keyboard/hash_handler","ace/lib/event_emitter"],(function(t,n,e){"use strict";var r,i=this&&this.__extends||(r=function(t,n){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])},r(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function e(){this.constructor=t}r(t,n),t.prototype=null===n?Object.create(n):(e.prototype=n.prototype,new e)}),o=t("../lib/oop"),s=t("../keyboard/hash_handler").MultiHashHandler,a=t("../lib/event_emitter").EventEmitter,u=function(t){function n(n,e){var r=t.call(this,e,n)||this;return r.byName=r.commands,r.setDefaultHandler("exec",(function(t){return t.args?t.command.exec(t.editor,t.args,t.event,!1):t.command.exec(t.editor,{},t.event,!0)})),r}return i(n,t),n.prototype.exec=function(t,n,e){if(Array.isArray(t)){for(var r=t.length;r--;)if(this.exec(t[r],n,e))return!0;return!1}if("string"==typeof t&&(t=this.commands[t]),!t)return!1;if(n&&n.$readOnly&&!t.readOnly)return!1;if(0!=this.$checkCommandState&&t.isAvailable&&!t.isAvailable(n))return!1;var i={editor:n,command:t,args:e};return i.returnValue=this._emit("exec",i),this._signal("afterExec",i),!1!==i.returnValue},n.prototype.toggleRecording=function(t){if(!this.$inReplay)return t&&t._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(t){this.macro.push([t.command,t.args])}.bind(this)),this.oldMacro=this.macro,this.macro=[],this.on("exec",this.$addCommandToMacro),this.recording=!0)},n.prototype.replay=function(t){if(!this.$inReplay&&this.macro){if(this.recording)return this.toggleRecording(t);try{this.$inReplay=!0,this.macro.forEach((function(n){"string"==typeof n?this.exec(n,t):this.exec(n[0],t,n[1])}),this)}finally{this.$inReplay=!1}}},n.prototype.trimMacro=function(t){return t.map((function(t){return"string"!=typeof t[0]&&(t[0]=t[0].name),t[1]||(t=t[0]),t}))},n}(s);o.implement(u.prototype,a),n.CommandManager=u})),ace.define("ace/commands/default_commands",["require","exports","module","ace/lib/lang","ace/config","ace/range"],(function(t,n,e){"use strict";var r=t("../lib/lang"),i=t("../config"),o=t("../range").Range;function s(t,n){return{win:t,mac:n}}n.commands=[{name:"showSettingsMenu",description:"Show settings menu",bindKey:s("Ctrl-,","Command-,"),exec:function(t){i.loadModule("ace/ext/settings_menu",(function(n){n.init(t),t.showSettingsMenu()}))},readOnly:!0},{name:"goToNextError",description:"Go to next error",bindKey:s("Alt-E","F4"),exec:function(t){i.loadModule("ace/ext/error_marker",(function(n){n.showErrorMarker(t,1)}))},scrollIntoView:"animate",readOnly:!0},{name:"goToPreviousError",description:"Go to previous error",bindKey:s("Alt-Shift-E","Shift-F4"),exec:function(t){i.loadModule("ace/ext/error_marker",(function(n){n.showErrorMarker(t,-1)}))},scrollIntoView:"animate",readOnly:!0},{name:"selectall",description:"Select all",bindKey:s("Ctrl-A","Command-A"),exec:function(t){t.selectAll()},readOnly:!0},{name:"centerselection",description:"Center selection",bindKey:s(null,"Ctrl-L"),exec:function(t){t.centerSelection()},readOnly:!0},{name:"gotoline",description:"Go to line...",bindKey:s("Ctrl-L","Command-L"),exec:function(t,n){"number"!=typeof n||isNaN(n)||t.gotoLine(n),t.prompt({$type:"gotoLine"})},readOnly:!0},{name:"fold",bindKey:s("Alt-L|Ctrl-F1","Command-Alt-L|Command-F1"),exec:function(t){t.session.toggleFold(!1)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"unfold",bindKey:s("Alt-Shift-L|Ctrl-Shift-F1","Command-Alt-Shift-L|Command-Shift-F1"),exec:function(t){t.session.toggleFold(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleFoldWidget",description:"Toggle fold widget",bindKey:s("F2","F2"),exec:function(t){t.session.toggleFoldWidget()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleParentFoldWidget",description:"Toggle parent fold widget",bindKey:s("Alt-F2","Alt-F2"),exec:function(t){t.session.toggleFoldWidget(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"foldall",description:"Fold all",bindKey:s(null,"Ctrl-Command-Option-0"),exec:function(t){t.session.foldAll()},scrollIntoView:"center",readOnly:!0},{name:"foldAllComments",description:"Fold all comments",bindKey:s(null,"Ctrl-Command-Option-0"),exec:function(t){t.session.foldAllComments()},scrollIntoView:"center",readOnly:!0},{name:"foldOther",description:"Fold other",bindKey:s("Alt-0","Command-Option-0"),exec:function(t){t.session.foldAll(),t.session.unfold(t.selection.getAllRanges())},scrollIntoView:"center",readOnly:!0},{name:"unfoldall",description:"Unfold all",bindKey:s("Alt-Shift-0","Command-Option-Shift-0"),exec:function(t){t.session.unfold()},scrollIntoView:"center",readOnly:!0},{name:"findnext",description:"Find next",bindKey:s("Ctrl-K","Command-G"),exec:function(t){t.findNext()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"findprevious",description:"Find previous",bindKey:s("Ctrl-Shift-K","Command-Shift-G"),exec:function(t){t.findPrevious()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"selectOrFindNext",description:"Select or find next",bindKey:s("Alt-K","Ctrl-G"),exec:function(t){t.selection.isEmpty()?t.selection.selectWord():t.findNext()},readOnly:!0},{name:"selectOrFindPrevious",description:"Select or find previous",bindKey:s("Alt-Shift-K","Ctrl-Shift-G"),exec:function(t){t.selection.isEmpty()?t.selection.selectWord():t.findPrevious()},readOnly:!0},{name:"find",description:"Find",bindKey:s("Ctrl-F","Command-F"),exec:function(t){i.loadModule("ace/ext/searchbox",(function(n){n.Search(t)}))},readOnly:!0},{name:"overwrite",description:"Overwrite",bindKey:"Insert",exec:function(t){t.toggleOverwrite()},readOnly:!0},{name:"selecttostart",description:"Select to start",bindKey:s("Ctrl-Shift-Home","Command-Shift-Home|Command-Shift-Up"),exec:function(t){t.getSelection().selectFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotostart",description:"Go to start",bindKey:s("Ctrl-Home","Command-Home|Command-Up"),exec:function(t){t.navigateFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectup",description:"Select up",bindKey:s("Shift-Up","Shift-Up|Ctrl-Shift-P"),exec:function(t){t.getSelection().selectUp()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golineup",description:"Go line up",bindKey:s("Up","Up|Ctrl-P"),exec:function(t,n){t.navigateUp(n.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttoend",description:"Select to end",bindKey:s("Ctrl-Shift-End","Command-Shift-End|Command-Shift-Down"),exec:function(t){t.getSelection().selectFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotoend",description:"Go to end",bindKey:s("Ctrl-End","Command-End|Command-Down"),exec:function(t){t.navigateFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectdown",description:"Select down",bindKey:s("Shift-Down","Shift-Down|Ctrl-Shift-N"),exec:function(t){t.getSelection().selectDown()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golinedown",description:"Go line down",bindKey:s("Down","Down|Ctrl-N"),exec:function(t,n){t.navigateDown(n.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordleft",description:"Select word left",bindKey:s("Ctrl-Shift-Left","Option-Shift-Left"),exec:function(t){t.getSelection().selectWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordleft",description:"Go to word left",bindKey:s("Ctrl-Left","Option-Left"),exec:function(t){t.navigateWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolinestart",description:"Select to line start",bindKey:s("Alt-Shift-Left","Command-Shift-Left|Ctrl-Shift-A"),exec:function(t){t.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolinestart",description:"Go to line start",bindKey:s("Alt-Left|Home","Command-Left|Home|Ctrl-A"),exec:function(t){t.navigateLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectleft",description:"Select left",bindKey:s("Shift-Left","Shift-Left|Ctrl-Shift-B"),exec:function(t){t.getSelection().selectLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoleft",description:"Go to left",bindKey:s("Left","Left|Ctrl-B"),exec:function(t,n){t.navigateLeft(n.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordright",description:"Select word right",bindKey:s("Ctrl-Shift-Right","Option-Shift-Right"),exec:function(t){t.getSelection().selectWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordright",description:"Go to word right",bindKey:s("Ctrl-Right","Option-Right"),exec:function(t){t.navigateWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolineend",description:"Select to line end",bindKey:s("Alt-Shift-Right","Command-Shift-Right|Shift-End|Ctrl-Shift-E"),exec:function(t){t.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolineend",description:"Go to line end",bindKey:s("Alt-Right|End","Command-Right|End|Ctrl-E"),exec:function(t){t.navigateLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectright",description:"Select right",bindKey:s("Shift-Right","Shift-Right"),exec:function(t){t.getSelection().selectRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoright",description:"Go to right",bindKey:s("Right","Right|Ctrl-F"),exec:function(t,n){t.navigateRight(n.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectpagedown",description:"Select page down",bindKey:"Shift-PageDown",exec:function(t){t.selectPageDown()},readOnly:!0},{name:"pagedown",description:"Page down",bindKey:s(null,"Option-PageDown"),exec:function(t){t.scrollPageDown()},readOnly:!0},{name:"gotopagedown",description:"Go to page down",bindKey:s("PageDown","PageDown|Ctrl-V"),exec:function(t){t.gotoPageDown()},readOnly:!0},{name:"selectpageup",description:"Select page up",bindKey:"Shift-PageUp",exec:function(t){t.selectPageUp()},readOnly:!0},{name:"pageup",description:"Page up",bindKey:s(null,"Option-PageUp"),exec:function(t){t.scrollPageUp()},readOnly:!0},{name:"gotopageup",description:"Go to page up",bindKey:"PageUp",exec:function(t){t.gotoPageUp()},readOnly:!0},{name:"scrollup",description:"Scroll up",bindKey:s("Ctrl-Up",null),exec:function(t){t.renderer.scrollBy(0,-2*t.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"scrolldown",description:"Scroll down",bindKey:s("Ctrl-Down",null),exec:function(t){t.renderer.scrollBy(0,2*t.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"selectlinestart",description:"Select line start",bindKey:"Shift-Home",exec:function(t){t.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectlineend",description:"Select line end",bindKey:"Shift-End",exec:function(t){t.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"togglerecording",description:"Toggle recording",bindKey:s("Ctrl-Alt-E","Command-Option-E"),exec:function(t){t.commands.toggleRecording(t)},readOnly:!0},{name:"replaymacro",description:"Replay macro",bindKey:s("Ctrl-Shift-E","Command-Shift-E"),exec:function(t){t.commands.replay(t)},readOnly:!0},{name:"jumptomatching",description:"Jump to matching",bindKey:s("Ctrl-\\|Ctrl-P","Command-\\"),exec:function(t){t.jumpToMatching()},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"selecttomatching",description:"Select to matching",bindKey:s("Ctrl-Shift-\\|Ctrl-Shift-P","Command-Shift-\\"),exec:function(t){t.jumpToMatching(!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"expandToMatching",description:"Expand to matching",bindKey:s("Ctrl-Shift-M","Ctrl-Shift-M"),exec:function(t){t.jumpToMatching(!0,!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"passKeysToBrowser",description:"Pass keys to browser",bindKey:s(null,null),exec:function(){},passEvent:!0,readOnly:!0},{name:"copy",description:"Copy",exec:function(t){},readOnly:!0},{name:"cut",description:"Cut",exec:function(t){var n=t.$copyWithEmptySelection&&t.selection.isEmpty()?t.selection.getLineRange():t.selection.getRange();t._emit("cut",n),n.isEmpty()||t.session.remove(n),t.clearSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"paste",description:"Paste",exec:function(t,n){t.$handlePaste(n)},scrollIntoView:"cursor"},{name:"removeline",description:"Remove line",bindKey:s("Ctrl-D","Command-D"),exec:function(t){t.removeLines()},scrollIntoView:"cursor",multiSelectAction:"forEachLine"},{name:"duplicateSelection",description:"Duplicate selection",bindKey:s("Ctrl-Shift-D","Command-Shift-D"),exec:function(t){t.duplicateSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"sortlines",description:"Sort lines",bindKey:s("Ctrl-Alt-S","Command-Alt-S"),exec:function(t){t.sortLines()},scrollIntoView:"selection",multiSelectAction:"forEachLine"},{name:"togglecomment",description:"Toggle comment",bindKey:s("Ctrl-/","Command-/"),exec:function(t){t.toggleCommentLines()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"toggleBlockComment",description:"Toggle block comment",bindKey:s("Ctrl-Shift-/","Command-Shift-/"),exec:function(t){t.toggleBlockComment()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"modifyNumberUp",description:"Modify number up",bindKey:s("Ctrl-Shift-Up","Alt-Shift-Up"),exec:function(t){t.modifyNumber(1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"modifyNumberDown",description:"Modify number down",bindKey:s("Ctrl-Shift-Down","Alt-Shift-Down"),exec:function(t){t.modifyNumber(-1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"replace",description:"Replace",bindKey:s("Ctrl-H","Command-Option-F"),exec:function(t){i.loadModule("ace/ext/searchbox",(function(n){n.Search(t,!0)}))}},{name:"undo",description:"Undo",bindKey:s("Ctrl-Z","Command-Z"),exec:function(t){t.undo()}},{name:"redo",description:"Redo",bindKey:s("Ctrl-Shift-Z|Ctrl-Y","Command-Shift-Z|Command-Y"),exec:function(t){t.redo()}},{name:"copylinesup",description:"Copy lines up",bindKey:s("Alt-Shift-Up","Command-Option-Up"),exec:function(t){t.copyLinesUp()},scrollIntoView:"cursor"},{name:"movelinesup",description:"Move lines up",bindKey:s("Alt-Up","Option-Up"),exec:function(t){t.moveLinesUp()},scrollIntoView:"cursor"},{name:"copylinesdown",description:"Copy lines down",bindKey:s("Alt-Shift-Down","Command-Option-Down"),exec:function(t){t.copyLinesDown()},scrollIntoView:"cursor"},{name:"movelinesdown",description:"Move lines down",bindKey:s("Alt-Down","Option-Down"),exec:function(t){t.moveLinesDown()},scrollIntoView:"cursor"},{name:"del",description:"Delete",bindKey:s("Delete","Delete|Ctrl-D|Shift-Delete"),exec:function(t){t.remove("right")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"backspace",description:"Backspace",bindKey:s("Shift-Backspace|Backspace","Ctrl-Backspace|Shift-Backspace|Backspace|Ctrl-H"),exec:function(t){t.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"cut_or_delete",description:"Cut or delete",bindKey:s("Shift-Delete",null),exec:function(t){if(!t.selection.isEmpty())return!1;t.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestart",description:"Remove to line start",bindKey:s("Alt-Backspace","Command-Backspace"),exec:function(t){t.removeToLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineend",description:"Remove to line end",bindKey:s("Alt-Delete","Ctrl-K|Command-Delete"),exec:function(t){t.removeToLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestarthard",description:"Remove to line start hard",bindKey:s("Ctrl-Shift-Backspace",null),exec:function(t){var n=t.selection.getRange();n.start.column=0,t.session.remove(n)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineendhard",description:"Remove to line end hard",bindKey:s("Ctrl-Shift-Delete",null),exec:function(t){var n=t.selection.getRange();n.end.column=Number.MAX_VALUE,t.session.remove(n)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordleft",description:"Remove word left",bindKey:s("Ctrl-Backspace","Alt-Backspace|Ctrl-Alt-Backspace"),exec:function(t){t.removeWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordright",description:"Remove word right",bindKey:s("Ctrl-Delete","Alt-Delete"),exec:function(t){t.removeWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"outdent",description:"Outdent",bindKey:s("Shift-Tab","Shift-Tab"),exec:function(t){t.blockOutdent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"indent",description:"Indent",bindKey:s("Tab","Tab"),exec:function(t){t.indent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"blockoutdent",description:"Block outdent",bindKey:s("Ctrl-[","Ctrl-["),exec:function(t){t.blockOutdent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"blockindent",description:"Block indent",bindKey:s("Ctrl-]","Ctrl-]"),exec:function(t){t.blockIndent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"insertstring",description:"Insert string",exec:function(t,n){t.insert(n)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"inserttext",description:"Insert text",exec:function(t,n){t.insert(r.stringRepeat(n.text||"",n.times||1))},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"splitline",description:"Split line",bindKey:s(null,"Ctrl-O"),exec:function(t){t.splitLine()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"transposeletters",description:"Transpose letters",bindKey:s("Alt-Shift-X","Ctrl-T"),exec:function(t){t.transposeLetters()},multiSelectAction:function(t){t.transposeSelections(1)},scrollIntoView:"cursor"},{name:"touppercase",description:"To uppercase",bindKey:s("Ctrl-U","Ctrl-U"),exec:function(t){t.toUpperCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"tolowercase",description:"To lowercase",bindKey:s("Ctrl-Shift-U","Ctrl-Shift-U"),exec:function(t){t.toLowerCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"autoindent",description:"Auto Indent",bindKey:s(null,null),exec:function(t){t.autoIndent()},multiSelectAction:"forEachLine",scrollIntoView:"animate"},{name:"expandtoline",description:"Expand to line",bindKey:s("Ctrl-Shift-L","Command-Shift-L"),exec:function(t){var n=t.selection.getRange();n.start.column=n.end.column=0,n.end.row++,t.selection.setRange(n,!1)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"openlink",bindKey:s("Ctrl+F3","F3"),exec:function(t){t.openLink()}},{name:"joinlines",description:"Join lines",bindKey:s(null,null),exec:function(t){for(var n=t.selection.isBackwards(),e=n?t.selection.getSelectionLead():t.selection.getSelectionAnchor(),i=n?t.selection.getSelectionAnchor():t.selection.getSelectionLead(),s=t.session.doc.getLine(e.row).length,a=t.session.doc.getTextRange(t.selection.getRange()).replace(/\n\s*/," ").length,u=t.session.doc.getLine(e.row),c=e.row+1;c<=i.row+1;c++){var l=r.stringTrimLeft(r.stringTrimRight(t.session.doc.getLine(c)));0!==l.length&&(l=" "+l),u+=l}i.row+10?(t.selection.moveCursorTo(e.row,e.column),t.selection.selectTo(e.row,e.column+a)):(s=t.session.doc.getLine(e.row).length>s?s+1:s,t.selection.moveCursorTo(e.row,s))},multiSelectAction:"forEach",readOnly:!0},{name:"invertSelection",description:"Invert selection",bindKey:s(null,null),exec:function(t){var n=t.session.doc.getLength()-1,e=t.session.doc.getLine(n).length,r=t.selection.rangeList.ranges,i=[];r.length<1&&(r=[t.selection.getRange()]);for(var s=0;sn[e].column&&e++,o.unshift(e,0),n.splice.apply(n,o),this.$updateRows()}}},t.prototype.$updateRows=function(){var t=this.session.lineWidgets;if(t){var n=!0;t.forEach((function(t,e){if(t)for(n=!1,t.row=e;t.$oldWidget;)t.$oldWidget.row=e,t=t.$oldWidget})),n&&(this.session.lineWidgets=null)}},t.prototype.$registerLineWidget=function(t){this.session.lineWidgets||(this.session.lineWidgets=new Array(this.session.getLength()));var n=this.session.lineWidgets[t.row];return n&&(t.$oldWidget=n,n.el&&n.el.parentNode&&(n.el.parentNode.removeChild(n.el),n._inDocument=!1)),this.session.lineWidgets[t.row]=t,t},t.prototype.addLineWidget=function(t){if(this.$registerLineWidget(t),t.session=this.session,!this.editor)return t;var n=this.editor.renderer;t.html&&!t.el&&(t.el=r.createElement("div"),t.el.innerHTML=t.html),t.text&&!t.el&&(t.el=r.createElement("div"),t.el.textContent=t.text),t.el&&(r.addCssClass(t.el,"ace_lineWidgetContainer"),t.className&&r.addCssClass(t.el,t.className),t.el.style.position="absolute",t.el.style.zIndex=5,n.container.appendChild(t.el),t._inDocument=!0,t.coverGutter||(t.el.style.zIndex=3),null==t.pixelHeight&&(t.pixelHeight=t.el.offsetHeight)),null==t.rowCount&&(t.rowCount=t.pixelHeight/n.layerConfig.lineHeight);var e=this.session.getFoldAt(t.row,0);if(t.$fold=e,e){var i=this.session.lineWidgets;t.row!=e.end.row||i[e.start.row]?t.hidden=!0:i[e.start.row]=t}return this.session._emit("changeFold",{data:{start:{row:t.row}}}),this.$updateRows(),this.renderWidgets(null,n),this.onWidgetChanged(t),t},t.prototype.removeLineWidget=function(t){if(t._inDocument=!1,t.session=null,t.el&&t.el.parentNode&&t.el.parentNode.removeChild(t.el),t.editor&&t.editor.destroy)try{t.editor.destroy()}catch(t){}if(this.session.lineWidgets){var n=this.session.lineWidgets[t.row];if(n==t)this.session.lineWidgets[t.row]=t.$oldWidget,t.$oldWidget&&this.onWidgetChanged(t.$oldWidget);else for(;n;){if(n.$oldWidget==t){n.$oldWidget=t.$oldWidget;break}n=n.$oldWidget}}this.session._emit("changeFold",{data:{start:{row:t.row}}}),this.$updateRows()},t.prototype.getWidgetsAtRow=function(t){for(var n=this.session.lineWidgets,e=n&&n[t],r=[];e;)r.push(e),e=e.$oldWidget;return r},t.prototype.onWidgetChanged=function(t){this.session._changedWidgets.push(t),this.editor&&this.editor.renderer.updateFull()},t.prototype.measureWidgets=function(t,n){var e=this.session._changedWidgets,r=n.layerConfig;if(e&&e.length){for(var i=1/0,o=0;o0&&!r[i];)i--;this.firstRow=e.firstRow,this.lastRow=e.lastRow,n.$cursorLayer.config=e;for(var s=i;s<=o;s++){var a=r[s];if(a&&a.el)if(a.hidden)a.el.style.top=-100-(a.pixelHeight||0)+"px";else{a._inDocument||(a._inDocument=!0,n.container.appendChild(a.el));var u=n.$cursorLayer.getPixelPosition({row:s,column:0},!0).top;a.coverLine||(u+=e.lineHeight*this.session.getRowLineCount(a.row)),a.el.style.top=u-e.offset+"px";var c=a.coverGutter?0:n.gutterWidth;a.fixedWidth||(c-=n.scrollLeft),a.el.style.left=c+"px",a.fullWidth&&a.screenWidth&&(a.el.style.minWidth=e.width+2*e.padding+"px"),a.fixedWidth?a.el.style.right=n.scrollBar.getWidth()+"px":a.el.style.right=""}}}},t}();n.LineWidgets=i})),ace.define("ace/keyboard/gutter_handler",["require","exports","module","ace/lib/keys","ace/mouse/default_gutter_handler"],(function(t,n,e){"use strict";var r=t("../lib/keys"),i=t("../mouse/default_gutter_handler").GutterTooltip,o=function(){function t(t){this.editor=t,this.gutterLayer=t.renderer.$gutterLayer,this.element=t.renderer.$gutter,this.lines=t.renderer.$gutterLayer.$lines,this.activeRowIndex=null,this.activeLane=null,this.annotationTooltip=new i(this.editor)}return t.prototype.addListener=function(){this.element.addEventListener("keydown",this.$onGutterKeyDown.bind(this)),this.element.addEventListener("focusout",this.$blurGutter.bind(this)),this.editor.on("mousewheel",this.$blurGutter.bind(this))},t.prototype.removeListener=function(){this.element.removeEventListener("keydown",this.$onGutterKeyDown.bind(this)),this.element.removeEventListener("focusout",this.$blurGutter.bind(this)),this.editor.off("mousewheel",this.$blurGutter.bind(this))},t.prototype.$onGutterKeyDown=function(t){if(this.annotationTooltip.isOpen)return t.preventDefault(),void(t.keyCode===r.escape&&this.annotationTooltip.hideTooltip());if(t.target===this.element){if(t.keyCode!=r.enter)return;t.preventDefault();var n=this.editor.getCursorPosition().row;return this.editor.isRowVisible(n)||this.editor.scrollToLine(n,!0,!0),void setTimeout(function(){var t=this.$rowToRowIndex(this.gutterLayer.$cursorCell.row),n=this.$findNearestFoldWidget(t),e=this.$findNearestAnnotation(t);if(null!==n||null!==e)return null===n&&null!==e?(this.activeRowIndex=e,this.activeLane="annotation",void this.$focusAnnotation(this.activeRowIndex)):null!==n&&null===e?(this.activeRowIndex=n,this.activeLane="fold",void this.$focusFoldWidget(this.activeRowIndex)):Math.abs(e-t)0||t+n=0&&this.$isFoldWidgetVisible(t-n))return t-n;if(t+n<=this.lines.getLength()-1&&this.$isFoldWidgetVisible(t+n))return t+n}return null},t.prototype.$findNearestAnnotation=function(t){if(this.$isAnnotationVisible(t))return t;for(var n=0;t-n>0||t+n=0&&this.$isAnnotationVisible(t-n))return t-n;if(t+n<=this.lines.getLength()-1&&this.$isAnnotationVisible(t+n))return t+n}return null},t.prototype.$focusFoldWidget=function(t){if(null!=t){var n=this.$getFoldWidget(t);n.classList.add(this.editor.renderer.keyboardFocusClassName),n.focus()}},t.prototype.$focusAnnotation=function(t){if(null!=t){var n=this.$getAnnotation(t);n.classList.add(this.editor.renderer.keyboardFocusClassName),n.focus()}},t.prototype.$blurFoldWidget=function(t){var n=this.$getFoldWidget(t);n.classList.remove(this.editor.renderer.keyboardFocusClassName),n.blur()},t.prototype.$blurAnnotation=function(t){var n=this.$getAnnotation(t);n.classList.remove(this.editor.renderer.keyboardFocusClassName),n.blur()},t.prototype.$moveFoldWidgetUp=function(){for(var t=this.activeRowIndex;t>0;)if(t--,this.$isFoldWidgetVisible(t))return this.$blurFoldWidget(this.activeRowIndex),this.activeRowIndex=t,void this.$focusFoldWidget(this.activeRowIndex)},t.prototype.$moveFoldWidgetDown=function(){for(var t=this.activeRowIndex;t0;)if(t--,this.$isAnnotationVisible(t))return this.$blurAnnotation(this.activeRowIndex),this.activeRowIndex=t,void this.$focusAnnotation(this.activeRowIndex)},t.prototype.$moveAnnotationDown=function(){for(var t=this.activeRowIndex;t=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},i=t("./lib/oop"),o=t("./lib/dom"),s=t("./lib/lang"),a=t("./lib/useragent"),u=t("./keyboard/textinput").TextInput,c=t("./mouse/mouse_handler").MouseHandler,l=t("./mouse/fold_handler").FoldHandler,h=t("./keyboard/keybinding").KeyBinding,f=t("./edit_session").EditSession,d=t("./search").Search,p=t("./range").Range,_=t("./lib/event_emitter").EventEmitter,m=t("./commands/command_manager").CommandManager,v=t("./commands/default_commands").commands,g=t("./config"),b=t("./token_iterator").TokenIterator,w=t("./line_widgets").LineWidgets,y=t("./keyboard/gutter_handler").GutterKeyboardHandler,x=t("./config").nls,k=t("./clipboard"),S=t("./lib/keys"),A=function(){function t(n,e,r){this.$toDestroy=[];var i=n.getContainerElement();this.container=i,this.renderer=n,this.id="editor"+ ++t.$uid,this.commands=new m(a.isMac?"mac":"win",v),"object"==typeof document&&(this.textInput=new u(n.getTextAreaContainer(),this),this.renderer.textarea=this.textInput.getElement(),this.$mouseHandler=new c(this),new l(this)),this.keyBinding=new h(this),this.$search=(new d).set({wrap:!0}),this.$historyTracker=this.$historyTracker.bind(this),this.commands.on("exec",this.$historyTracker),this.$initOperationListeners(),this._$emitInputEvent=s.delayedCall(function(){this._signal("input",{}),this.session&&!this.session.destroyed&&this.session.bgTokenizer.scheduleStart()}.bind(this)),this.on("change",(function(t,n){n._$emitInputEvent.schedule(31)})),this.setSession(e||r&&r.session||new f("")),g.resetOptions(this),r&&this.setOptions(r),g._signal("editor",this)}return t.prototype.$initOperationListeners=function(){this.commands.on("exec",this.startOperation.bind(this),!0),this.commands.on("afterExec",this.endOperation.bind(this),!0),this.$opResetTimer=s.delayedCall(this.endOperation.bind(this,!0)),this.on("change",function(){this.curOp||(this.startOperation(),this.curOp.selectionBefore=this.$lastSel),this.curOp.docChanged=!0}.bind(this),!0),this.on("changeSelection",function(){this.curOp||(this.startOperation(),this.curOp.selectionBefore=this.$lastSel),this.curOp.selectionChanged=!0}.bind(this),!0)},t.prototype.startOperation=function(t){if(this.curOp){if(!t||this.curOp.command)return;this.prevOp=this.curOp}t||(this.previousCommand=null,t={}),this.$opResetTimer.schedule(),this.curOp=this.session.curOp={command:t.command||{},args:t.args,scrollTop:this.renderer.scrollTop},this.curOp.selectionBefore=this.selection.toJSON()},t.prototype.endOperation=function(t){if(this.curOp&&this.session){if(t&&!1===t.returnValue||!this.session)return this.curOp=null;if(1==t&&this.curOp.command&&"mouse"==this.curOp.command.name)return;if(this._signal("beforeEndOperation"),!this.curOp)return;var n=this.curOp.command,e=n&&n.scrollIntoView;if(e){switch(e){case"center-animate":e="animate";case"center":this.renderer.scrollCursorIntoView(null,.5);break;case"animate":case"cursor":this.renderer.scrollCursorIntoView();break;case"selectionPart":var r=this.selection.getRange(),i=this.renderer.layerConfig;(r.start.row>=i.lastRow||r.end.row<=i.firstRow)&&this.renderer.scrollSelectionIntoView(this.selection.anchor,this.selection.lead)}"animate"==e&&this.renderer.animateScrolling(this.curOp.scrollTop)}var o=this.selection.toJSON();this.curOp.selectionAfter=o,this.$lastSel=this.selection.toJSON(),this.session.getUndoManager().addSelection(o),this.prevOp=this.curOp,this.curOp=null}},t.prototype.$historyTracker=function(t){if(this.$mergeUndoDeltas){var n=this.prevOp,e=this.$mergeableCommands,r=n.command&&t.command.name==n.command.name;if("insertstring"==t.command.name){var i=t.args;void 0===this.mergeNextCommand&&(this.mergeNextCommand=!0),r=r&&this.mergeNextCommand&&(!/\s/.test(i)||/\s/.test(n.args)),this.mergeNextCommand=!0}else r=r&&-1!==e.indexOf(t.command.name);"always"!=this.$mergeUndoDeltas&&Date.now()-this.sequenceStartTime>2e3&&(r=!1),r?this.session.mergeUndoDeltas=!0:-1!==e.indexOf(t.command.name)&&(this.sequenceStartTime=Date.now())}},t.prototype.setKeyboardHandler=function(t,n){if(t&&"string"==typeof t&&"ace"!=t){this.$keybindingId=t;var e=this;g.loadModule(["keybinding",t],(function(r){e.$keybindingId==t&&e.keyBinding.setKeyboardHandler(r&&r.handler),n&&n()}))}else this.$keybindingId=null,this.keyBinding.setKeyboardHandler(t),n&&n()},t.prototype.getKeyboardHandler=function(){return this.keyBinding.getKeyboardHandler()},t.prototype.setSession=function(t){if(this.session!=t){this.curOp&&this.endOperation(),this.curOp={};var n=this.session;if(n){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 e=this.session.getSelection();e.off("changeCursor",this.$onCursorChange),e.off("changeSelection",this.$onSelectionChange)}this.session=t,t?(this.$onDocumentChange=this.onDocumentChange.bind(this),t.on("change",this.$onDocumentChange),this.renderer.setSession(t),this.$onChangeMode=this.onChangeMode.bind(this),t.on("changeMode",this.$onChangeMode),this.$onTokenizerUpdate=this.onTokenizerUpdate.bind(this),t.on("tokenizerUpdate",this.$onTokenizerUpdate),this.$onChangeTabSize=this.renderer.onChangeTabSize.bind(this.renderer),t.on("changeTabSize",this.$onChangeTabSize),this.$onChangeWrapLimit=this.onChangeWrapLimit.bind(this),t.on("changeWrapLimit",this.$onChangeWrapLimit),this.$onChangeWrapMode=this.onChangeWrapMode.bind(this),t.on("changeWrapMode",this.$onChangeWrapMode),this.$onChangeFold=this.onChangeFold.bind(this),t.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=t.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(t)),this._signal("changeSession",{session:t,oldSession:n}),this.curOp=null,n&&n._signal("changeEditor",{oldEditor:this}),t&&t._signal("changeEditor",{editor:this}),t&&!t.destroyed&&t.bgTokenizer.scheduleStart()}},t.prototype.getSession=function(){return this.session},t.prototype.setValue=function(t,n){return this.session.doc.setValue(t),n?1==n?this.navigateFileEnd():-1==n&&this.navigateFileStart():this.selectAll(),t},t.prototype.getValue=function(){return this.session.getValue()},t.prototype.getSelection=function(){return this.selection},t.prototype.resize=function(t){this.renderer.onResize(t)},t.prototype.setTheme=function(t,n){this.renderer.setTheme(t,n)},t.prototype.getTheme=function(){return this.renderer.getTheme()},t.prototype.setStyle=function(t){this.renderer.setStyle(t)},t.prototype.unsetStyle=function(t){this.renderer.unsetStyle(t)},t.prototype.getFontSize=function(){return this.getOption("fontSize")||o.computedStyle(this.container).fontSize},t.prototype.setFontSize=function(t){this.setOption("fontSize",t)},t.prototype.$highlightBrackets=function(){if(!this.$highlightPending){var t=this;this.$highlightPending=!0,setTimeout((function(){t.$highlightPending=!1;var n=t.session;if(n&&!n.destroyed){n.$bracketHighlight&&(n.$bracketHighlight.markerIds.forEach((function(t){n.removeMarker(t)})),n.$bracketHighlight=null);var e=t.getCursorPosition(),r=t.getKeyboardHandler(),i=r&&r.$getDirectionForHighlight&&r.$getDirectionForHighlight(t),o=n.getMatchingBracketRanges(e,i);if(!o){var s=new b(n,e.row,e.column).getCurrentToken();if(s&&/\b(?:tag-open|tag-name)/.test(s.type)){var a=n.getMatchingTags(e);a&&(o=[a.openTagName,a.closeTagName])}}if(!o&&n.$mode.getMatching&&(o=n.$mode.getMatching(t.session)),o){var u="ace_bracket";Array.isArray(o)?1==o.length&&(u="ace_error_bracket"):o=[o],2==o.length&&(0==p.comparePoints(o[0].end,o[1].start)?o=[p.fromPoints(o[0].start,o[1].end)]:0==p.comparePoints(o[0].start,o[1].end)&&(o=[p.fromPoints(o[1].start,o[0].end)])),n.$bracketHighlight={ranges:o,markerIds:o.map((function(t){return n.addMarker(t,u,"text")}))},t.getHighlightIndentGuides()&&t.renderer.$textLayer.$highlightIndentGuide()}else t.getHighlightIndentGuides()&&t.renderer.$textLayer.$highlightIndentGuide()}}),50)}},t.prototype.focus=function(){this.textInput.focus()},t.prototype.isFocused=function(){return this.textInput.isFocused()},t.prototype.blur=function(){this.textInput.blur()},t.prototype.onFocus=function(t){this.$isFocused||(this.$isFocused=!0,this.renderer.showCursor(),this.renderer.visualizeFocus(),this._emit("focus",t))},t.prototype.onBlur=function(t){this.$isFocused&&(this.$isFocused=!1,this.renderer.hideCursor(),this.renderer.visualizeBlur(),this._emit("blur",t))},t.prototype.$cursorChange=function(){this.renderer.updateCursor(),this.$highlightBrackets(),this.$updateHighlightActiveLine()},t.prototype.onDocumentChange=function(t){var n=this.session.$useWrapMode,e=t.start.row==t.end.row?t.end.row:1/0;this.renderer.updateLines(t.start.row,e,n),this._signal("change",t),this.$cursorChange()},t.prototype.onTokenizerUpdate=function(t){var n=t.data;this.renderer.updateLines(n.first,n.last)},t.prototype.onScrollTopChange=function(){this.renderer.scrollToY(this.session.getScrollTop())},t.prototype.onScrollLeftChange=function(){this.renderer.scrollToX(this.session.getScrollLeft())},t.prototype.onCursorChange=function(){this.$cursorChange(),this._signal("changeSelection")},t.prototype.$updateHighlightActiveLine=function(){var t,n=this.getSession();if(this.$highlightActiveLine&&("line"==this.$selectionStyle&&this.selection.isMultiLine()||(t=this.getCursorPosition()),this.renderer.theme&&this.renderer.theme.$selectionColorConflict&&!this.selection.isEmpty()&&(t=!1),!this.renderer.$maxLines||1!==this.session.getLength()||this.renderer.$minLines>1||(t=!1)),n.$highlightLineMarker&&!t)n.removeMarker(n.$highlightLineMarker.id),n.$highlightLineMarker=null;else if(!n.$highlightLineMarker&&t){var e=new p(t.row,t.column,t.row,1/0);e.id=n.addMarker(e,"ace_active-line","screenLine"),n.$highlightLineMarker=e}else t&&(n.$highlightLineMarker.start.row=t.row,n.$highlightLineMarker.end.row=t.row,n.$highlightLineMarker.start.column=t.column,n._signal("changeBackMarker"))},t.prototype.onSelectionChange=function(t){var n=this.session;if(n.$selectionMarker&&n.removeMarker(n.$selectionMarker),n.$selectionMarker=null,this.selection.isEmpty())this.$updateHighlightActiveLine();else{var e=this.selection.getRange(),r=this.getSelectionStyle();n.$selectionMarker=n.addMarker(e,"ace_selection",r)}var i=this.$highlightSelectedWord&&this.$getSelectionHighLightRegexp();this.session.highlight(i),this._signal("changeSelection")},t.prototype.$getSelectionHighLightRegexp=function(){var t=this.session,n=this.getSelectionRange();if(!n.isEmpty()&&!n.isMultiLine()){var e=n.start.column,r=n.end.column,i=t.getLine(n.start.row),o=i.substring(e,r);if(!(o.length>5e3)&&/[\w\d]/.test(o)){var s=this.$search.$assembleRegExp({wholeWord:!0,caseSensitive:!0,needle:o}),a=i.substring(e-1,r+1);if(s.test(a))return s}}},t.prototype.onChangeFrontMarker=function(){this.renderer.updateFrontMarkers()},t.prototype.onChangeBackMarker=function(){this.renderer.updateBackMarkers()},t.prototype.onChangeBreakpoint=function(){this.renderer.updateBreakpoints()},t.prototype.onChangeAnnotation=function(){this.renderer.setAnnotations(this.session.getAnnotations())},t.prototype.onChangeMode=function(t){this.renderer.updateText(),this._emit("changeMode",t)},t.prototype.onChangeWrapLimit=function(){this.renderer.updateFull()},t.prototype.onChangeWrapMode=function(){this.renderer.onResize(!0)},t.prototype.onChangeFold=function(){this.$updateHighlightActiveLine(),this.renderer.updateFull()},t.prototype.getSelectedText=function(){return this.session.getTextRange(this.getSelectionRange())},t.prototype.getCopyText=function(){var t=this.getSelectedText(),n=this.session.doc.getNewLineCharacter(),e=!1;if(!t&&this.$copyWithEmptySelection){e=!0;for(var r=this.selection.getAllRanges(),i=0;ia.search(/\S|$/)){var u=a.substr(i.column).search(/\S|$/);e.doc.removeInLine(i.row,i.column,i.column+u)}}this.clearSelection();var c=i.column,l=e.getState(i.row),h=(a=e.getLine(i.row),r.checkOutdent(l,a,t));if(e.insert(i,t),o&&o.selection&&(2==o.selection.length?this.selection.setSelectionRange(new p(i.row,c+o.selection[0],i.row,c+o.selection[1])):this.selection.setSelectionRange(new p(i.row+o.selection[0],o.selection[1],i.row+o.selection[2],o.selection[3]))),this.$enableAutoIndent){if(e.getDocument().isNewLine(t)){var f=r.getNextLineIndent(l,a.slice(0,i.column),e.getTabString());e.insert({row:i.row+1,column:0},f)}h&&r.autoOutdent(l,e,i.row)}},t.prototype.autoIndent=function(){var t,n,e=this.session,r=e.getMode();if(this.selection.isEmpty())t=0,n=e.doc.getLength()-1;else{var i=this.getSelectionRange();t=i.start.row,n=i.end.row}for(var o,s,a,u="",c="",l="",h=e.getTabString(),f=t;f<=n;f++)f>0&&(u=e.getState(f-1),c=e.getLine(f-1),l=r.getNextLineIndent(u,c,h)),o=e.getLine(f),l!==(s=r.$getIndent(o))&&(s.length>0&&(a=new p(f,0,f,s.length),e.remove(a)),l.length>0&&e.insert({row:f,column:0},l)),r.autoOutdent(u,e,f)},t.prototype.onTextInput=function(t,n){if(!n)return this.keyBinding.onTextInput(t);this.startOperation({command:{name:"insertstring"}});var e=this.applyComposition.bind(this,t,n);this.selection.rangeCount?this.forEachSelection(e):e(),this.endOperation()},t.prototype.applyComposition=function(t,n){var e;(n.extendLeft||n.extendRight)&&((e=this.selection.getRange()).start.column-=n.extendLeft,e.end.column+=n.extendRight,e.start.column<0&&(e.start.row--,e.start.column+=this.session.getLine(e.start.row).length+1),this.selection.setRange(e),t||e.isEmpty()||this.remove()),!t&&this.selection.isEmpty()||this.insert(t,!0),(n.restoreStart||n.restoreEnd)&&((e=this.selection.getRange()).start.column-=n.restoreStart,e.end.column-=n.restoreEnd,this.selection.setRange(e))},t.prototype.onCommandKey=function(t,n,e){return this.keyBinding.onCommandKey(t,n,e)},t.prototype.setOverwrite=function(t){this.session.setOverwrite(t)},t.prototype.getOverwrite=function(){return this.session.getOverwrite()},t.prototype.toggleOverwrite=function(){this.session.toggleOverwrite()},t.prototype.setScrollSpeed=function(t){this.setOption("scrollSpeed",t)},t.prototype.getScrollSpeed=function(){return this.getOption("scrollSpeed")},t.prototype.setDragDelay=function(t){this.setOption("dragDelay",t)},t.prototype.getDragDelay=function(){return this.getOption("dragDelay")},t.prototype.setSelectionStyle=function(t){this.setOption("selectionStyle",t)},t.prototype.getSelectionStyle=function(){return this.getOption("selectionStyle")},t.prototype.setHighlightActiveLine=function(t){this.setOption("highlightActiveLine",t)},t.prototype.getHighlightActiveLine=function(){return this.getOption("highlightActiveLine")},t.prototype.setHighlightGutterLine=function(t){this.setOption("highlightGutterLine",t)},t.prototype.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},t.prototype.setHighlightSelectedWord=function(t){this.setOption("highlightSelectedWord",t)},t.prototype.getHighlightSelectedWord=function(){return this.$highlightSelectedWord},t.prototype.setAnimatedScroll=function(t){this.renderer.setAnimatedScroll(t)},t.prototype.getAnimatedScroll=function(){return this.renderer.getAnimatedScroll()},t.prototype.setShowInvisibles=function(t){this.renderer.setShowInvisibles(t)},t.prototype.getShowInvisibles=function(){return this.renderer.getShowInvisibles()},t.prototype.setDisplayIndentGuides=function(t){this.renderer.setDisplayIndentGuides(t)},t.prototype.getDisplayIndentGuides=function(){return this.renderer.getDisplayIndentGuides()},t.prototype.setHighlightIndentGuides=function(t){this.renderer.setHighlightIndentGuides(t)},t.prototype.getHighlightIndentGuides=function(){return this.renderer.getHighlightIndentGuides()},t.prototype.setShowPrintMargin=function(t){this.renderer.setShowPrintMargin(t)},t.prototype.getShowPrintMargin=function(){return this.renderer.getShowPrintMargin()},t.prototype.setPrintMarginColumn=function(t){this.renderer.setPrintMarginColumn(t)},t.prototype.getPrintMarginColumn=function(){return this.renderer.getPrintMarginColumn()},t.prototype.setReadOnly=function(t){this.setOption("readOnly",t)},t.prototype.getReadOnly=function(){return this.getOption("readOnly")},t.prototype.setBehavioursEnabled=function(t){this.setOption("behavioursEnabled",t)},t.prototype.getBehavioursEnabled=function(){return this.getOption("behavioursEnabled")},t.prototype.setWrapBehavioursEnabled=function(t){this.setOption("wrapBehavioursEnabled",t)},t.prototype.getWrapBehavioursEnabled=function(){return this.getOption("wrapBehavioursEnabled")},t.prototype.setShowFoldWidgets=function(t){this.setOption("showFoldWidgets",t)},t.prototype.getShowFoldWidgets=function(){return this.getOption("showFoldWidgets")},t.prototype.setFadeFoldWidgets=function(t){this.setOption("fadeFoldWidgets",t)},t.prototype.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},t.prototype.remove=function(t){this.selection.isEmpty()&&("left"==t?this.selection.selectLeft():this.selection.selectRight());var n=this.getSelectionRange();if(this.getBehavioursEnabled()){var e=this.session,r=e.getState(n.start.row),i=e.getMode().transformAction(r,"deletion",this,e,n);if(0===n.end.column){var o=e.getTextRange(n);if("\n"==o[o.length-1]){var s=e.getLine(n.end.row);/^\s+$/.test(s)&&(n.end.column=s.length)}}i&&(n=i)}this.session.remove(n),this.clearSelection()},t.prototype.removeWordRight=function(){this.selection.isEmpty()&&this.selection.selectWordRight(),this.session.remove(this.getSelectionRange()),this.clearSelection()},t.prototype.removeWordLeft=function(){this.selection.isEmpty()&&this.selection.selectWordLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},t.prototype.removeToLineStart=function(){this.selection.isEmpty()&&this.selection.selectLineStart(),this.selection.isEmpty()&&this.selection.selectLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},t.prototype.removeToLineEnd=function(){this.selection.isEmpty()&&this.selection.selectLineEnd();var t=this.getSelectionRange();t.start.column==t.end.column&&t.start.row==t.end.row&&(t.end.column=0,t.end.row++),this.session.remove(t),this.clearSelection()},t.prototype.splitLine=function(){this.selection.isEmpty()||(this.session.remove(this.getSelectionRange()),this.clearSelection());var t=this.getCursorPosition();this.insert("\n"),this.moveCursorToPosition(t)},t.prototype.setGhostText=function(t,n){this.session.widgetManager||(this.session.widgetManager=new w(this.session),this.session.widgetManager.attach(this)),this.renderer.setGhostText(t,n)},t.prototype.removeGhostText=function(){this.session.widgetManager&&this.renderer.removeGhostText()},t.prototype.transposeLetters=function(){if(this.selection.isEmpty()){var t=this.getCursorPosition(),n=t.column;if(0!==n){var e,r,i=this.session.getLine(t.row);nn.toLowerCase()?1:0}));var i=new p(0,0,0,0);for(r=t.first;r<=t.last;r++){var o=n.getLine(r);i.start.row=r,i.end.row=r,i.end.column=o.length,n.replace(i,e[r-t.first])}},t.prototype.toggleCommentLines=function(){var t=this.session.getState(this.getCursorPosition().row),n=this.$getSelectedRows();this.session.getMode().toggleCommentLines(t,this.session,n.first,n.last)},t.prototype.toggleBlockComment=function(){var t=this.getCursorPosition(),n=this.session.getState(t.row),e=this.getSelectionRange();this.session.getMode().toggleBlockComment(n,this.session,e,t)},t.prototype.getNumberAt=function(t,n){var e=/[\-]?[0-9]+(?:\.[0-9]+)?/g;e.lastIndex=0;for(var r=this.session.getLine(t);e.lastIndex=n)return{value:i[0],start:i.index,end:i.index+i[0].length}}return null},t.prototype.modifyNumber=function(t){var n=this.selection.getCursor().row,e=this.selection.getCursor().column,r=new p(n,e-1,n,e),i=this.session.getTextRange(r);if(!isNaN(parseFloat(i))&&isFinite(i)){var o=this.getNumberAt(n,e);if(o){var s=o.value.indexOf(".")>=0?o.start+o.value.indexOf(".")+1:o.end,a=o.start+o.value.length-s,u=parseFloat(o.value);u*=Math.pow(10,a),s!==o.end&&e=a&&o<=u&&(e=n,c.selection.clearSelection(),c.moveCursorTo(t,a+r),c.selection.selectTo(t,u+r)),a=u}));for(var l,h=this.$toggleWordPairs,f=0;f=u&&s<=c&&f.match(/((?:https?|ftp):\/\/[\S]+)/)){a=f.replace(/[\s:.,'";}\]]+$/,"");break}u=c}}catch(t){e={error:t}}finally{try{h&&!h.done&&(i=l.return)&&i.call(l)}finally{if(e)throw e.error}}return a},t.prototype.openLink=function(){var t=this.selection.getCursor(),n=this.findLinkAt(t.row,t.column);return n&&window.open(n,"_blank"),null!=n},t.prototype.removeLines=function(){var t=this.$getSelectedRows();this.session.removeFullLines(t.first,t.last),this.clearSelection()},t.prototype.duplicateSelection=function(){var t=this.selection,n=this.session,e=t.getRange(),r=t.isBackwards();if(e.isEmpty()){var i=e.start.row;n.duplicateLines(i,i)}else{var o=r?e.start:e.end,s=n.insert(o,n.getTextRange(e),!1);e.start=o,e.end=s,t.setSelectionRange(e,r)}},t.prototype.moveLinesDown=function(){this.$moveLines(1,!1)},t.prototype.moveLinesUp=function(){this.$moveLines(-1,!1)},t.prototype.moveText=function(t,n,e){return this.session.moveText(t,n,e)},t.prototype.copyLinesUp=function(){this.$moveLines(-1,!0)},t.prototype.copyLinesDown=function(){this.$moveLines(1,!0)},t.prototype.$moveLines=function(t,n){var e,r,i=this.selection;if(!i.inMultiSelectMode||this.inVirtualSelectionMode){var o=i.toOrientedRange();e=this.$getSelectedRows(o),r=this.session.$moveLines(e.first,e.last,n?0:t),n&&-1==t&&(r=0),o.moveBy(r,0),i.fromOrientedRange(o)}else{var s=i.rangeList.ranges;i.rangeList.detach(this.session),this.inVirtualSelectionMode=!0;for(var a=0,u=0,c=s.length,l=0;ld+1)break;d=p.last}for(l--,a=this.session.$moveLines(f,d,n?0:t),n&&-1==t&&(h=l+1);h<=l;)s[h].moveBy(a,0),h++;n||(a=0),u+=a}i.fromOrientedRange(i.ranges[0]),i.rangeList.attach(this.session),this.inVirtualSelectionMode=!1}},t.prototype.$getSelectedRows=function(t){return t=(t||this.getSelectionRange()).collapseRows(),{first:this.session.getRowFoldStart(t.start.row),last:this.session.getRowFoldEnd(t.end.row)}},t.prototype.onCompositionStart=function(t){this.renderer.showComposition(t)},t.prototype.onCompositionUpdate=function(t){this.renderer.setCompositionText(t)},t.prototype.onCompositionEnd=function(){this.renderer.hideComposition()},t.prototype.getFirstVisibleRow=function(){return this.renderer.getFirstVisibleRow()},t.prototype.getLastVisibleRow=function(){return this.renderer.getLastVisibleRow()},t.prototype.isRowVisible=function(t){return t>=this.getFirstVisibleRow()&&t<=this.getLastVisibleRow()},t.prototype.isRowFullyVisible=function(t){return t>=this.renderer.getFirstFullyVisibleRow()&&t<=this.renderer.getLastFullyVisibleRow()},t.prototype.$getVisibleRowCount=function(){return this.renderer.getScrollBottomRow()-this.renderer.getScrollTopRow()+1},t.prototype.$moveByPage=function(t,n){var e=this.renderer,r=this.renderer.layerConfig,i=t*Math.floor(r.height/r.lineHeight);!0===n?this.selection.$moveSelection((function(){this.moveCursorBy(i,0)})):!1===n&&(this.selection.moveCursorBy(i,0),this.selection.clearSelection());var o=e.scrollTop;e.scrollBy(0,i*r.lineHeight),null!=n&&e.scrollCursorIntoView(null,.5),e.animateScrolling(o)},t.prototype.selectPageDown=function(){this.$moveByPage(1,!0)},t.prototype.selectPageUp=function(){this.$moveByPage(-1,!0)},t.prototype.gotoPageDown=function(){this.$moveByPage(1,!1)},t.prototype.gotoPageUp=function(){this.$moveByPage(-1,!1)},t.prototype.scrollPageDown=function(){this.$moveByPage(1)},t.prototype.scrollPageUp=function(){this.$moveByPage(-1)},t.prototype.scrollToRow=function(t){this.renderer.scrollToRow(t)},t.prototype.scrollToLine=function(t,n,e,r){this.renderer.scrollToLine(t,n,e,r)},t.prototype.centerSelection=function(){var t=this.getSelectionRange(),n={row:Math.floor(t.start.row+(t.end.row-t.start.row)/2),column:Math.floor(t.start.column+(t.end.column-t.start.column)/2)};this.renderer.alignCursor(n,.5)},t.prototype.getCursorPosition=function(){return this.selection.getCursor()},t.prototype.getCursorPositionScreen=function(){return this.session.documentToScreenPosition(this.getCursorPosition())},t.prototype.getSelectionRange=function(){return this.selection.getRange()},t.prototype.selectAll=function(){this.selection.selectAll()},t.prototype.clearSelection=function(){this.selection.clearSelection()},t.prototype.moveCursorTo=function(t,n){this.selection.moveCursorTo(t,n)},t.prototype.moveCursorToPosition=function(t){this.selection.moveCursorToPosition(t)},t.prototype.jumpToMatching=function(t,n){var e=this.getCursorPosition(),r=new b(this.session,e.row,e.column),i=r.getCurrentToken(),o=0;i&&-1!==i.type.indexOf("tag-name")&&(i=r.stepBackward());var s=i||r.stepForward();if(s){var a,u,c=!1,l={},h=e.column-s.start,f={")":"(","(":"(","]":"[","[":"[","{":"{","}":"{"};do{if(s.value.match(/[{}()\[\]]/g)){for(;h1?l[s.value]++:"=0;--o)this.$tryReplace(e[o],t)&&r++;return this.selection.setSelectionRange(i),r},t.prototype.$tryReplace=function(t,n){var e=this.session.getTextRange(t);return null!==(n=this.$search.replace(e,n))?(t.end=this.session.replace(t,n),t):null},t.prototype.getLastSearchOptions=function(){return this.$search.getOptions()},t.prototype.find=function(t,n,e){n||(n={}),"string"==typeof t||t instanceof RegExp?n.needle=t:"object"==typeof t&&i.mixin(n,t);var r=this.selection.getRange();null==n.needle&&((t=this.session.getTextRange(r)||this.$search.$options.needle)||(r=this.session.getWordRange(r.start.row,r.start.column),t=this.session.getTextRange(r)),this.$search.set({needle:t})),this.$search.set(n),n.start||this.$search.set({start:r});var o=this.$search.find(this.session);return n.preventScroll?o:o?(this.revealRange(o,e),o):(n.backwards?r.start=r.end:r.end=r.start,void this.selection.setRange(r))},t.prototype.findNext=function(t,n){this.find({skipCurrent:!0,backwards:!1},t,n)},t.prototype.findPrevious=function(t,n){this.find(t,{skipCurrent:!0,backwards:!0},n)},t.prototype.revealRange=function(t,n){this.session.unfold(t),this.selection.setSelectionRange(t);var e=this.renderer.scrollTop;this.renderer.scrollSelectionIntoView(t.start,t.end,.5),!1!==n&&this.renderer.animateScrolling(e)},t.prototype.undo=function(){this.session.getUndoManager().undo(this.session),this.renderer.scrollCursorIntoView(null,.5)},t.prototype.redo=function(){this.session.getUndoManager().redo(this.session),this.renderer.scrollCursorIntoView(null,.5)},t.prototype.destroy=function(){this.$toDestroy&&(this.$toDestroy.forEach((function(t){t.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()},t.prototype.setAutoScrollEditorIntoView=function(t){if(t){var n,e=this,r=!1;this.$scrollAnchor||(this.$scrollAnchor=document.createElement("div"));var i=this.$scrollAnchor;i.style.cssText="position:absolute",this.container.insertBefore(i,this.container.firstChild);var o=this.on("changeSelection",(function(){r=!0})),s=this.renderer.on("beforeRender",(function(){r&&(n=e.renderer.container.getBoundingClientRect())})),a=this.renderer.on("afterRender",(function(){if(r&&n&&(e.isFocused()||e.searchBox&&e.searchBox.isFocused())){var t=e.renderer,o=t.$cursorLayer.$pixelPos,s=t.layerConfig,a=o.top-s.offset;null!=(r=o.top>=0&&a+n.top<0||!(o.topwindow.innerHeight)&&null)&&(i.style.top=a+"px",i.style.left=o.left+"px",i.style.height=s.lineHeight+"px",i.scrollIntoView(r)),r=n=null}}));this.setAutoScrollEditorIntoView=function(t){t||(delete this.setAutoScrollEditorIntoView,this.off("changeSelection",o),this.renderer.off("afterRender",a),this.renderer.off("beforeRender",s))}}},t.prototype.$resetCursorStyle=function(){var t=this.$cursorStyle||"ace",n=this.renderer.$cursorLayer;n&&(n.setSmoothBlinking(/smooth/.test(t)),n.isBlinking=!this.$readOnly&&"wide"!=t,o.setCssClass(n.element,"ace_slim-cursors",/slim/.test(t)))},t.prototype.prompt=function(t,n,e){var r=this;g.loadModule("ace/ext/prompt",(function(i){i.prompt(r,t,n,e)}))},t}();A.$uid=0,A.prototype.curOp=null,A.prototype.prevOp={},A.prototype.$mergeableCommands=["backspace","del","insertstring"],A.prototype.$toggleWordPairs=[["first","last"],["true","false"],["yes","no"],["width","height"],["top","bottom"],["right","left"],["on","off"],["x","y"],["get","set"],["max","min"],["horizontal","vertical"],["show","hide"],["add","remove"],["up","down"],["before","after"],["even","odd"],["in","out"],["inside","outside"],["next","previous"],["increase","decrease"],["attach","detach"],["&&","||"],["==","!="]],i.implement(A.prototype,_),g.defineOptions(A.prototype,"editor",{selectionStyle:{set:function(t){this.onSelectionChange(),this._signal("changeSelectionStyle",{data:t})},initialValue:"line"},highlightActiveLine:{set:function(){this.$updateHighlightActiveLine()},initialValue:!0},highlightSelectedWord:{set:function(t){this.$onSelectionChange()},initialValue:!0},readOnly:{set:function(t){this.textInput.setReadOnly(t),this.$resetCursorStyle()},initialValue:!1},copyWithEmptySelection:{set:function(t){this.textInput.setCopyWithEmptySelection(t)},initialValue:!1},cursorStyle:{set:function(t){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(t){this.setAutoScrollEditorIntoView(t)}},keyboardHandler:{set:function(t){this.setKeyboardHandler(t)},get:function(){return this.$keybindingId},handlesSet:!0},value:{set:function(t){this.session.setValue(t)},get:function(){return this.getValue()},handlesSet:!0,hidden:!0},session:{set:function(t){this.setSession(t)},get:function(){return this.session},handlesSet:!0,hidden:!0},showLineNumbers:{set:function(t){this.renderer.$gutterLayer.setShowLineNumbers(t),this.renderer.$loop.schedule(this.renderer.CHANGE_GUTTER),t&&this.$relativeLineNumbers?C.attach(this):C.detach(this)},initialValue:!0},relativeLineNumbers:{set:function(t){this.$showLineNumbers&&t?C.attach(this):C.detach(this)}},placeholder:{set:function(t){this.$updatePlaceholder||(this.$updatePlaceholder=function(){var t=this.session&&(this.renderer.$composition||this.session.getLength()>1||this.session.getLine(0).length>0);if(t&&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(t||this.renderer.placeholderNode)!t&&this.renderer.placeholderNode&&(this.renderer.placeholderNode.textContent=this.$placeholder||"");else{this.renderer.on("afterRender",this.$updatePlaceholder),o.addCssClass(this.container,"ace_hasPlaceholder");var n=o.createElement("div");n.className="ace_placeholder",n.textContent=this.$placeholder||"",this.renderer.placeholderNode=n,this.renderer.content.appendChild(this.renderer.placeholderNode)}}.bind(this),this.on("input",this.$updatePlaceholder)),this.$updatePlaceholder()}},enableKeyboardAccessibility:{set:function(t){var n,e={name:"blurTextInput",description:"Set focus to the editor content div to allow tabbing through the page",bindKey:"Esc",exec:function(t){t.blur(),t.renderer.scroller.focus()},readOnly:!0},r=function(t){if(t.target==this.renderer.scroller&&t.keyCode===S.enter){t.preventDefault();var n=this.getCursorPosition().row;this.isRowVisible(n)||this.scrollToLine(n,!0,!0),this.focus()}};t?(this.renderer.enableKeyboardAccessibility=!0,this.renderer.keyboardFocusClassName="ace_keyboard-focus",this.textInput.getElement().setAttribute("tabindex",-1),this.textInput.setNumberOfExtraLines(a.isWin?3:0),this.renderer.scroller.setAttribute("tabindex",0),this.renderer.scroller.setAttribute("role","group"),this.renderer.scroller.setAttribute("aria-roledescription",x("editor")),this.renderer.scroller.classList.add(this.renderer.keyboardFocusClassName),this.renderer.scroller.setAttribute("aria-label",x("Editor content, press Enter to start editing, press Escape to exit")),this.renderer.scroller.addEventListener("keyup",r.bind(this)),this.commands.addCommand(e),this.renderer.$gutter.setAttribute("tabindex",0),this.renderer.$gutter.setAttribute("aria-hidden",!1),this.renderer.$gutter.setAttribute("role","group"),this.renderer.$gutter.setAttribute("aria-roledescription",x("editor")),this.renderer.$gutter.setAttribute("aria-label",x("Editor gutter, press Enter to interact with controls using arrow keys, press Escape to exit")),this.renderer.$gutter.classList.add(this.renderer.keyboardFocusClassName),this.renderer.content.setAttribute("aria-hidden",!0),n||(n=new y(this)),n.addListener()):(this.renderer.enableKeyboardAccessibility=!1,this.textInput.getElement().setAttribute("tabindex",0),this.textInput.setNumberOfExtraLines(0),this.renderer.scroller.setAttribute("tabindex",-1),this.renderer.scroller.removeAttribute("role"),this.renderer.scroller.removeAttribute("aria-roledescription"),this.renderer.scroller.classList.remove(this.renderer.keyboardFocusClassName),this.renderer.scroller.removeAttribute("aria-label"),this.renderer.scroller.removeEventListener("keyup",r.bind(this)),this.commands.removeCommand(e),this.renderer.content.removeAttribute("aria-hidden"),this.renderer.$gutter.setAttribute("tabindex",-1),this.renderer.$gutter.setAttribute("aria-hidden",!0),this.renderer.$gutter.removeAttribute("role"),this.renderer.$gutter.removeAttribute("aria-roledescription"),this.renderer.$gutter.removeAttribute("aria-label"),this.renderer.$gutter.classList.remove(this.renderer.keyboardFocusClassName),n&&n.removeListener())},initialValue:!1},customScrollbar:"renderer",hScrollBarAlwaysVisible:"renderer",vScrollBarAlwaysVisible:"renderer",highlightGutterLine:"renderer",animatedScroll:"renderer",showInvisibles:"renderer",showPrintMargin:"renderer",printMarginColumn:"renderer",printMargin:"renderer",fadeFoldWidgets:"renderer",showFoldWidgets:"renderer",displayIndentGuides:"renderer",highlightIndentGuides:"renderer",showGutter:"renderer",fontSize:"renderer",fontFamily:"renderer",maxLines:"renderer",minLines:"renderer",scrollPastEnd:"renderer",fixedWidthGutter:"renderer",theme:"renderer",hasCssTransforms:"renderer",maxPixelHeight:"renderer",useTextareaForIME:"renderer",useResizeObserver:"renderer",useSvgGutterIcons:"renderer",showFoldedAnnotations:"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 C={getText:function(t,n){return(Math.abs(t.selection.lead.row-n)||n+1+(n<9?"·":""))+""},getWidth:function(t,n,e){return Math.max(n.toString().length,(e.lastRow+1).toString().length,2)*e.characterWidth},update:function(t,n){n.renderer.$loop.schedule(n.renderer.CHANGE_GUTTER)},attach:function(t){t.renderer.$gutterLayer.$renderer=this,t.on("changeSelection",this.update),this.update(null,t)},detach:function(t){t.renderer.$gutterLayer.$renderer==this&&(t.renderer.$gutterLayer.$renderer=null),t.off("changeSelection",this.update),this.update(null,t)}};n.Editor=A})),ace.define("ace/undomanager",["require","exports","module","ace/range"],(function(t,n,e){"use strict";var r=function(){function t(){this.$maxRev=0,this.$fromUndo=!1,this.$undoDepth=1/0,this.reset()}return t.prototype.addSession=function(t){this.$session=t},t.prototype.add=function(t,n,e){if(!this.$fromUndo&&t!=this.$lastDelta){if(this.$keepRedoStack||(this.$redoStack.length=0),!1===n||!this.lastDeltas){this.lastDeltas=[];var r=this.$undoStack.length;r>this.$undoDepth-1&&this.$undoStack.splice(0,r-this.$undoDepth+1),this.$undoStack.push(this.lastDeltas),t.id=this.$rev=++this.$maxRev}"remove"!=t.action&&"insert"!=t.action||(this.$lastDelta=t),this.lastDeltas.push(t)}},t.prototype.addSelection=function(t,n){this.selections.push({value:t,rev:n||this.$rev})},t.prototype.startNewGroup=function(){return this.lastDeltas=null,this.$rev},t.prototype.markIgnored=function(t,n){null==n&&(n=this.$rev+1);for(var e=this.$undoStack,r=e.length;r--;){var i=e[r][0];if(i.id<=t)break;i.id0},t.prototype.canRedo=function(){return this.$redoStack.length>0},t.prototype.bookmark=function(t){null==t&&(t=this.$rev),this.mark=t},t.prototype.isAtBookmark=function(){return this.$rev===this.mark},t.prototype.toJSON=function(){},t.prototype.fromJSON=function(){},t.prototype.$prettyPrint=function(t){return t?a(t):a(this.$undoStack)+"\n---\n"+a(this.$redoStack)},t}();r.prototype.hasUndo=r.prototype.canUndo,r.prototype.hasRedo=r.prototype.canRedo,r.prototype.isClean=r.prototype.isAtBookmark,r.prototype.markClean=r.prototype.bookmark;var i=t("./range").Range,o=i.comparePoints;function s(t){return{row:t.row,column:t.column}}function a(t){if(t=t||this,Array.isArray(t))return t.map(a).join("\n");var n="";return t.action?(n="insert"==t.action?"+":"-",n+="["+t.lines+"]"):t.value&&(n=Array.isArray(t.value)?t.value.map(u).join("\n"):u(t.value)),t.start&&(n+=u(t)),(t.id||t.rev)&&(n+="\t("+(t.id||t.rev)+")"),n}function u(t){return t.start.row+":"+t.start.column+"=>"+t.end.row+":"+t.end.column}function c(t,n){var e="insert"==t.action,r="insert"==n.action;if(e&&r)if(o(n.start,t.end)>=0)f(n,t,-1);else{if(!(o(n.start,t.start)<=0))return null;f(t,n,1)}else if(e&&!r)if(o(n.start,t.end)>=0)f(n,t,-1);else{if(!(o(n.end,t.start)<=0))return null;f(t,n,-1)}else if(!e&&r)if(o(n.start,t.start)>=0)f(n,t,1);else{if(!(o(n.start,t.start)<=0))return null;f(t,n,1)}else if(!e&&!r)if(o(n.start,t.start)>=0)f(n,t,1);else{if(!(o(n.end,t.start)<=0))return null;f(t,n,-1)}return[n,t]}function l(t,n){for(var e=t.length;e--;)for(var r=0;r=0?f(t,n,-1):(o(t.start,n.start)<=0||f(t,i.fromPoints(n.start,t.start),-1),f(n,t,1));else if(!e&&r)o(n.start,t.end)>=0?f(n,t,-1):(o(n.start,t.start)<=0||f(n,i.fromPoints(t.start,n.start),-1),f(t,n,1));else if(!e&&!r)if(o(n.start,t.end)>=0)f(n,t,-1);else{var s,a;if(!(o(n.end,t.start)<=0))return o(t.start,n.start)<0&&(s=t,t=p(t,n.start)),o(t.end,n.end)>0&&(a=p(t,n.end)),d(n.end,t.start,t.end,-1),a&&!s&&(t.lines=a.lines,t.start=a.start,t.end=a.end,a=t),[n,s,a].filter(Boolean);f(t,n,-1)}return[n,t]}function f(t,n,e){d(t.start,n.start,n.end,e),d(t.end,n.start,n.end,e)}function d(t,n,e,r){t.row==(1==r?n:e).row&&(t.column+=r*(e.column-n.column)),t.row+=r*(e.row-n.row)}function p(t,n){var e=t.lines,r=t.end;t.end=s(n);var i=t.end.row-t.start.row,o=e.splice(i,e.length),a=i?n.column:n.column-t.start.column;return e.push(o[0].substring(0,a)),o[0]=o[0].substr(a),{start:s(n),end:r,lines:o,action:t.action}}function _(t,n){n=function(t){return{start:s(t.start),end:s(t.end),action:t.action,lines:t.lines.slice()}}(n);for(var e=t.length;e--;){for(var r=t[e],i=0;io&&(u=i.end.row+1,o=(i=n.getNextFoldLine(u,i))?i.start.row:1/0),u>r){for(;this.$lines.getLength()>a+1;)this.$lines.pop();break}(s=this.$lines.get(++a))?s.row=u:(s=this.$lines.createCell(u,t,this.session,l),this.$lines.push(s)),this.$renderCell(s,t,i,u),u++}this._signal("afterRender"),this.$updateGutterWidth(t)},t.prototype.$updateGutterWidth=function(t){var n=this.session,e=n.gutterRenderer||this.$renderer,r=n.$firstLineNumber,i=this.$lines.last()?this.$lines.last().text:"";(this.$fixedWidth||n.$useWrapMode)&&(i=n.getLength()+r-1);var o=e?e.getWidth(n,i,t):i.toString().length*t.characterWidth,s=this.$padding||this.$computePadding();(o+=s.left+s.right)===this.gutterWidth||isNaN(o)||(this.gutterWidth=o,this.element.parentNode.style.width=this.element.style.width=Math.ceil(this.gutterWidth)+"px",this._signal("changeGutterWidth",o))},t.prototype.$updateCursorRow=function(){if(this.$highlightGutterLine){var t=this.session.selection.getCursor();this.$cursorRow!==t.row&&(this.$cursorRow=t.row)}},t.prototype.updateLineHighlight=function(){if(this.$highlightGutterLine){var t=this.session.selection.cursor.row;if(this.$cursorRow=t,!this.$cursorCell||this.$cursorCell.row!=t){this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ",""));var n=this.$lines.cells;this.$cursorCell=null;for(var e=0;e=this.$cursorRow){if(r.row>this.$cursorRow){var i=this.session.getFoldLine(this.$cursorRow);if(!(e>0&&i&&i.start.row==n[e-1].row))break;r=n[e-1]}r.element.className="ace_gutter-active-line "+r.element.className,this.$cursorCell=r;break}}}}},t.prototype.scrollLines=function(t){var n=this.config;if(this.config=t,this.$updateCursorRow(),this.$lines.pageChanged(n,t))return this.update(t);this.$lines.moveContainer(t);var e=Math.min(t.lastRow+t.gutterOffset,this.session.getLength()-1),r=this.oldLastRow;if(this.oldLastRow=e,!n||r0;i--)this.$lines.shift();if(r>e)for(i=this.session.getFoldedRowCount(e+1,r);i>0;i--)this.$lines.pop();t.firstRowr&&this.$lines.push(this.$renderLines(t,r+1,e)),this.updateLineHighlight(),this._signal("afterRender"),this.$updateGutterWidth(t)},t.prototype.$renderLines=function(t,n,e){for(var r=[],i=n,o=this.session.getNextFoldLine(i),s=o?o.start.row:1/0;i>s&&(i=o.end.row+1,s=(o=this.session.getNextFoldLine(i,o))?o.start.row:1/0),!(i>e);){var a=this.$lines.createCell(i,t,this.session,l);this.$renderCell(a,t,o,i),r.push(a),i++}return r},t.prototype.$renderCell=function(t,n,e,i){var o=t.element,s=this.session,a=o.childNodes[0],c=o.childNodes[1],l=o.childNodes[2],h=l.firstChild,f=s.$firstLineNumber,d=s.$breakpoints,p=s.$decorations,_=s.gutterRenderer||this.$renderer,m=this.$showFoldWidgets&&s.foldWidgets,v=e?e.start.row:Number.MAX_VALUE,g=n.lineHeight+"px",b=this.$useSvgGutterIcons?"ace_gutter-cell_svg-icons ":"ace_gutter-cell ",w=this.$useSvgGutterIcons?"ace_icon_svg":"ace_icon",y=(_?_.getText(s,i):i+f).toString();if(this.$highlightGutterLine&&(i==this.$cursorRow||e&&i=v&&this.$cursorRow<=e.end.row)&&(b+="ace_gutter-active-line ",this.$cursorCell!=t&&(this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ","")),this.$cursorCell=t)),d[i]&&(b+=d[i]),p[i]&&(b+=p[i]),this.$annotations[i]&&i!==v&&(b+=this.$annotations[i].className),m){var x=m[i];null==x&&(x=m[i]=s.getFoldWidget(i))}if(x){var k="ace_fold-widget ace_"+x,S="start"==x&&i==v&&ie.right-n.right?"foldWidgets":void 0},t}();function l(t){var n=document.createTextNode("");t.appendChild(n);var e=r.createElement("span");t.appendChild(e);var i=r.createElement("span");t.appendChild(i);var o=r.createElement("span");return i.appendChild(o),t}c.prototype.$fixedWidth=!1,c.prototype.$highlightGutterLine=!0,c.prototype.$renderer="",c.prototype.$showLineNumbers=!0,c.prototype.$showFoldWidgets=!0,i.implement(c.prototype,s),n.Gutter=c})),ace.define("ace/layer/marker",["require","exports","module","ace/range","ace/lib/dom"],(function(t,n,e){"use strict";var r=t("../range").Range,i=t("../lib/dom"),o=function(){function t(t){this.element=i.createElement("div"),this.element.className="ace_layer ace_marker-layer",t.appendChild(this.element)}return t.prototype.setPadding=function(t){this.$padding=t},t.prototype.setSession=function(t){this.session=t},t.prototype.setMarkers=function(t){this.markers=t},t.prototype.elt=function(t,n){var e=-1!=this.i&&this.element.childNodes[this.i];e?this.i++:(e=document.createElement("div"),this.element.appendChild(e),this.i=-1),e.style.cssText=n,e.className=t},t.prototype.update=function(t){if(t){var n;for(var e in this.config=t,this.i=0,this.markers){var r=this.markers[e];if(r.range){var i=r.range.clipRows(t.firstRow,t.lastRow);if(!i.isEmpty())if(i=i.toScreenRange(this.session),r.renderer){var o=this.$getTop(i.start.row,t),s=this.$padding+i.start.column*t.characterWidth;r.renderer(n,i,s,o,t)}else"fullLine"==r.type?this.drawFullLineMarker(n,i,r.clazz,t):"screenLine"==r.type?this.drawScreenLineMarker(n,i,r.clazz,t):i.isMultiLine()?"text"==r.type?this.drawTextMarker(n,i,r.clazz,t):this.drawMultiLineMarker(n,i,r.clazz,t):this.drawSingleLineMarker(n,i,r.clazz+" ace_start ace_br15",t)}else r.update(n,this,this.session,t)}if(-1!=this.i)for(;this.if?4:0)|(c==u?8:0)),i,c==u?0:1,o)},t.prototype.drawMultiLineMarker=function(t,n,e,r,i){var o=this.$padding,s=r.lineHeight,a=this.$getTop(n.start.row,r),u=o+n.start.column*r.characterWidth;if(i=i||"",this.session.$bidiHandler.isBidiRow(n.start.row)?((c=n.clone()).end.row=c.start.row,c.end.column=this.session.getLine(c.start.row).length,this.drawBidiSingleLineMarker(t,c,e+" ace_br1 ace_start",r,null,i)):this.elt(e+" ace_br1 ace_start","height:"+s+"px;right:0;top:"+a+"px;left:"+u+"px;"+(i||"")),this.session.$bidiHandler.isBidiRow(n.end.row)){var c;(c=n.clone()).start.row=c.end.row,c.start.column=0,this.drawBidiSingleLineMarker(t,c,e+" ace_br12",r,null,i)}else{a=this.$getTop(n.end.row,r);var l=n.end.column*r.characterWidth;this.elt(e+" ace_br12","height:"+s+"px;width:"+l+"px;top:"+a+"px;left:"+o+"px;"+(i||""))}if(!((s=(n.end.row-n.start.row-1)*r.lineHeight)<=0)){a=this.$getTop(n.start.row+1,r);var h=(n.start.column?1:0)|(n.end.column?0:8);this.elt(e+(h?" ace_br"+h:""),"height:"+s+"px;right:0;top:"+a+"px;left:"+o+"px;"+(i||""))}},t.prototype.drawSingleLineMarker=function(t,n,e,r,i,o){if(this.session.$bidiHandler.isBidiRow(n.start.row))return this.drawBidiSingleLineMarker(t,n,e,r,i,o);var s=r.lineHeight,a=(n.end.column+(i||0)-n.start.column)*r.characterWidth,u=this.$getTop(n.start.row,r),c=this.$padding+n.start.column*r.characterWidth;this.elt(e,"height:"+s+"px;width:"+a+"px;top:"+u+"px;left:"+c+"px;"+(o||""))},t.prototype.drawBidiSingleLineMarker=function(t,n,e,r,i,o){var s=r.lineHeight,a=this.$getTop(n.start.row,r),u=this.$padding;this.session.$bidiHandler.getSelections(n.start.column,n.end.column).forEach((function(t){this.elt(e,"height:"+s+"px;width:"+(t.width+(i||0))+"px;top:"+a+"px;left:"+(u+t.left)+"px;"+(o||""))}),this)},t.prototype.drawFullLineMarker=function(t,n,e,r,i){var o=this.$getTop(n.start.row,r),s=r.lineHeight;n.start.row!=n.end.row&&(s+=this.$getTop(n.end.row,r)-o),this.elt(e,"height:"+s+"px;top:"+o+"px;left:0;right:0;"+(i||""))},t.prototype.drawScreenLineMarker=function(t,n,e,r,i){var o=this.$getTop(n.start.row,r),s=r.lineHeight;this.elt(e,"height:"+s+"px;top:"+o+"px;left:0;right:0;"+(i||""))},t}();o.prototype.$padding=0,n.Marker=o})),ace.define("ace/layer/text_util",["require","exports","module"],(function(t,n,e){var r=new Set(["text","rparen","lparen"]);n.isTextToken=function(t){return r.has(t)}})),ace.define("ace/layer/text",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/layer/lines","ace/lib/event_emitter","ace/config","ace/layer/text_util"],(function(t,n,e){"use strict";var r=t("../lib/oop"),i=t("../lib/dom"),o=t("../lib/lang"),s=t("./lines").Lines,a=t("../lib/event_emitter").EventEmitter,u=t("../config").nls,c=t("./text_util").isTextToken,l=function(){function t(t){this.dom=i,this.element=this.dom.createElement("div"),this.element.className="ace_layer ace_text-layer",t.appendChild(this.element),this.$updateEolChar=this.$updateEolChar.bind(this),this.$lines=new s(this.element)}return t.prototype.$updateEolChar=function(){var t=this.session.doc,n="\n"==t.getNewLineCharacter()&&"windows"!=t.getNewLineMode()?this.EOL_CHAR_LF:this.EOL_CHAR_CRLF;if(this.EOL_CHAR!=n)return this.EOL_CHAR=n,!0},t.prototype.setPadding=function(t){this.$padding=t,this.element.style.margin="0 "+t+"px"},t.prototype.getLineHeight=function(){return this.$fontMetrics.$characterSize.height||0},t.prototype.getCharacterWidth=function(){return this.$fontMetrics.$characterSize.width||0},t.prototype.$setFontMetrics=function(t){this.$fontMetrics=t,this.$fontMetrics.on("changeCharacterSize",function(t){this._signal("changeCharacterSize",t)}.bind(this)),this.$pollSizeChanges()},t.prototype.checkForSizeChanges=function(){this.$fontMetrics.checkForSizeChanges()},t.prototype.$pollSizeChanges=function(){return this.$pollSizeChangesTimer=this.$fontMetrics.$pollSizeChanges()},t.prototype.setSession=function(t){this.session=t,t&&this.$computeTabString()},t.prototype.setShowInvisibles=function(t){return this.showInvisibles!=t&&(this.showInvisibles=t,"string"==typeof t?(this.showSpaces=/tab/i.test(t),this.showTabs=/space/i.test(t),this.showEOL=/eol/i.test(t)):this.showSpaces=this.showTabs=this.showEOL=t,this.$computeTabString(),!0)},t.prototype.setDisplayIndentGuides=function(t){return this.displayIndentGuides!=t&&(this.displayIndentGuides=t,this.$computeTabString(),!0)},t.prototype.setHighlightIndentGuides=function(t){return this.$highlightIndentGuides!==t&&(this.$highlightIndentGuides=t,t)},t.prototype.$computeTabString=function(){var t=this.session.getTabSize();this.tabSize=t;for(var n=this.$tabStrings=[0],e=1;el&&(a=u.end.row+1,l=(u=this.session.getNextFoldLine(a,u))?u.start.row:1/0),!(a>i);){var h=o[s++];if(h){this.dom.removeChildren(h),this.$renderLine(h,a,a==l&&u),c&&(h.style.top=this.$lines.computeLineTop(a,t,this.session)+"px");var f=t.lineHeight*this.session.getRowLength(a)+"px";h.style.height!=f&&(c=!0,h.style.height=f)}a++}if(c)for(;s0;i--)this.$lines.shift();if(n.lastRow>t.lastRow)for(i=this.session.getFoldedRowCount(t.lastRow+1,n.lastRow);i>0;i--)this.$lines.pop();t.firstRown.lastRow&&this.$lines.push(this.$renderLinesFragment(t,n.lastRow+1,t.lastRow)),this.$highlightIndentGuide()},t.prototype.$renderLinesFragment=function(t,n,e){for(var r=[],o=n,s=this.session.getNextFoldLine(o),a=s?s.start.row:1/0;o>a&&(o=s.end.row+1,a=(s=this.session.getNextFoldLine(o,s))?s.start.row:1/0),!(o>e);){var u=this.$lines.createCell(o,t,this.session),c=u.element;this.dom.removeChildren(c),i.setStyle(c.style,"height",this.$lines.computeLineHeight(o,t,this.session)+"px"),i.setStyle(c.style,"top",this.$lines.computeLineTop(o,t,this.session)+"px"),this.$renderLine(c,o,o==a&&s),this.$useLineGroups()?c.className="ace_line_group":c.className="ace_line",r.push(u),o++}return r},t.prototype.update=function(t){this.$lines.moveContainer(t),this.config=t;for(var n=t.firstRow,e=t.lastRow,r=this.$lines;r.getLength();)r.pop();r.push(this.$renderLinesFragment(t,n,e))},t.prototype.$renderToken=function(t,n,e,r){for(var i,s=this,a=/(\t)|( +)|([\x00-\x1f\x80-\xa0\xad\u1680\u180E\u2000-\u200f\u2028\u2029\u202F\u205F\uFEFF\uFFF9-\uFFFC\u2066\u2067\u2068\u202A\u202B\u202D\u202E\u202C\u2069]+)|(\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),h=0;i=a.exec(r);){var f=i[1],d=i[2],p=i[3],_=i[4],m=i[5];if(s.showSpaces||!d){var v=h!=i.index?r.slice(h,i.index):"";if(h=i.index+i[0].length,v&&l.appendChild(this.dom.createTextNode(v,this.element)),f){var g=s.session.getScreenTabSize(n+i.index);l.appendChild(s.$tabStrings[g].cloneNode(!0)),n+=g-1}else d?s.showSpaces?((w=this.dom.createElement("span")).className="ace_invisible ace_invisible_space",w.textContent=o.stringRepeat(s.SPACE_CHAR,d.length),l.appendChild(w)):l.appendChild(this.dom.createTextNode(d,this.element)):p?((w=this.dom.createElement("span")).className="ace_invisible ace_invisible_space ace_invalid",w.textContent=o.stringRepeat(s.SPACE_CHAR,p.length),l.appendChild(w)):_?(n+=1,(w=this.dom.createElement("span")).style.width=2*s.config.characterWidth+"px",w.className=s.showSpaces?"ace_cjk ace_invisible ace_invisible_space":"ace_cjk",w.textContent=s.showSpaces?s.SPACE_CHAR:_,l.appendChild(w)):m&&(n+=1,(w=this.dom.createElement("span")).style.width=2*s.config.characterWidth+"px",w.className="ace_cjk",w.textContent=m,l.appendChild(w))}}if(l.appendChild(this.dom.createTextNode(h?r.slice(h):r,this.element)),c(e.type))t.appendChild(l);else{var b="ace_"+e.type.replace(/\./g," ace_"),w=this.dom.createElement("span");"fold"==e.type&&(w.style.width=e.value.length*this.config.characterWidth+"px",w.setAttribute("title",u("Unfold code"))),w.className=b,w.appendChild(l),t.appendChild(w)}return n+r.length},t.prototype.renderIndentGuide=function(t,n,e){var r=n.search(this.$indentGuideRe);if(r<=0||r>=e)return n;if(" "==n[0]){for(var i=(r-=r%this.tabSize)/this.tabSize,o=0;oi[o].start.row?this.$highlightIndentGuideMarker.dir=-1:this.$highlightIndentGuideMarker.dir=1;break}if(!this.$highlightIndentGuideMarker.end&&""!==t[n.row]&&n.column===t[n.row].length)for(this.$highlightIndentGuideMarker.dir=1,o=n.row+1;o0)for(var r=0;r=this.$highlightIndentGuideMarker.start+1){if(r.row>=this.$highlightIndentGuideMarker.end)break;this.$setIndentGuideActive(r,n)}}else for(e=t.length-1;e>=0;e--)if(r=t[e],this.$highlightIndentGuideMarker.end&&r.row=s;)a=this.$renderToken(u,a,l,h.substring(0,s-r)),h=h.substring(s-r),r=s,u=this.$createLineElement(),t.appendChild(u),u.appendChild(this.dom.createTextNode(o.stringRepeat(" ",e.indent),this.element)),a=0,s=e[++i]||Number.MAX_VALUE;0!=h.length&&(r+=h.length,a=this.$renderToken(u,a,l,h))}}e[e.length-1]>this.MAX_LINE_LENGTH&&this.$renderOverflowMessage(u,a,null,"",!0)},t.prototype.$renderSimpleLine=function(t,n){for(var e=0,r=0;rthis.MAX_LINE_LENGTH)return this.$renderOverflowMessage(t,e,i,o);e=this.$renderToken(t,e,i,o)}}},t.prototype.$renderOverflowMessage=function(t,n,e,r,i){e&&this.$renderToken(t,n,e,r.slice(0,this.MAX_LINE_LENGTH-n));var o=this.dom.createElement("span");o.className="ace_inline_button ace_keyword ace_toggle_wrap",o.textContent=i?"":"",t.appendChild(o)},t.prototype.$renderLine=function(t,n,e){if(e||0==e||(e=this.session.getFoldLine(n)),e)var r=this.$getFoldLineTokens(n,e);else r=this.session.getTokens(n);var i=t;if(r.length){var o=this.session.getRowSplitData(n);o&&o.length?(this.$renderWrappedLine(t,r,o),i=t.lastChild):(i=t,this.$useLineGroups()&&(i=this.$createLineElement(),t.appendChild(i)),this.$renderSimpleLine(i,r))}else this.$useLineGroups()&&(i=this.$createLineElement(),t.appendChild(i));if(this.showEOL&&i){e&&(n=e.end.row);var s=this.dom.createElement("span");s.className="ace_invisible ace_invisible_eol",s.textContent=n==this.session.getLength()-1?this.EOF_CHAR:this.EOL_CHAR,i.appendChild(s)}},t.prototype.$getFoldLineTokens=function(t,n){var e=this.session,r=[],i=e.getTokens(t);return n.walk((function(t,n,o,s,a){null!=t?r.push({type:"fold",value:t}):(a&&(i=e.getTokens(n)),i.length&&function(t,n,e){for(var i=0,o=0;o+t[i].value.lengthe-n&&(s=s.substring(0,e-n)),r.push({type:t[i].type,value:s}),o=n+s.length,i+=1);oe?r.push({type:t[i].type,value:s.substring(0,e-o)}):r.push(t[i]),o+=s.length,i+=1}}(i,s,o))}),n.end.row,this.session.getLine(n.end.row).length),r},t.prototype.$useLineGroups=function(){return this.session.getUseWrapMode()},t}();l.prototype.EOF_CHAR="¶",l.prototype.EOL_CHAR_LF="¬",l.prototype.EOL_CHAR_CRLF="¤",l.prototype.EOL_CHAR=l.prototype.EOL_CHAR_LF,l.prototype.TAB_CHAR="—",l.prototype.SPACE_CHAR="·",l.prototype.$padding=0,l.prototype.MAX_LINE_LENGTH=1e4,l.prototype.showInvisibles=!1,l.prototype.showSpaces=!1,l.prototype.showTabs=!1,l.prototype.showEOL=!1,l.prototype.displayIndentGuides=!0,l.prototype.$highlightIndentGuides=!0,l.prototype.$tabStrings=[],l.prototype.destroy={},l.prototype.onChangeTabSize=l.prototype.$computeTabString,r.implement(l.prototype,a),n.Text=l})),ace.define("ace/layer/cursor",["require","exports","module","ace/lib/dom"],(function(t,n,e){"use strict";var r=t("../lib/dom"),i=function(){function t(t){this.element=r.createElement("div"),this.element.className="ace_layer ace_cursor-layer",t.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)}return t.prototype.$updateOpacity=function(t){for(var n=this.cursors,e=n.length;e--;)r.setStyle(n[e].style,"opacity",t?"":"0")},t.prototype.$startCssAnimation=function(){for(var t=this.cursors,n=t.length;n--;)t[n].style.animationDuration=this.blinkInterval+"ms";this.$isAnimating=!0,setTimeout(function(){this.$isAnimating&&r.addCssClass(this.element,"ace_animate-blinking")}.bind(this))},t.prototype.$stopCssAnimation=function(){this.$isAnimating=!1,r.removeCssClass(this.element,"ace_animate-blinking")},t.prototype.setPadding=function(t){this.$padding=t},t.prototype.setSession=function(t){this.session=t},t.prototype.setBlinking=function(t){t!=this.isBlinking&&(this.isBlinking=t,this.restartTimer())},t.prototype.setBlinkInterval=function(t){t!=this.blinkInterval&&(this.blinkInterval=t,this.restartTimer())},t.prototype.setSmoothBlinking=function(t){t!=this.smoothBlinking&&(this.smoothBlinking=t,r.setCssClass(this.element,"ace_smooth-blinking",t),this.$updateCursors(!0),this.restartTimer())},t.prototype.addCursor=function(){var t=r.createElement("div");return t.className="ace_cursor",this.element.appendChild(t),this.cursors.push(t),t},t.prototype.removeCursor=function(){if(this.cursors.length>1){var t=this.cursors.pop();return t.parentNode.removeChild(t),t}},t.prototype.hideCursor=function(){this.isVisible=!1,r.addCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},t.prototype.showCursor=function(){this.isVisible=!0,r.removeCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},t.prototype.restartTimer=function(){var t=this.$updateCursors;if(clearInterval(this.intervalId),clearTimeout(this.timeoutId),this.$stopCssAnimation(),this.smoothBlinking&&(this.$isSmoothBlinking=!1,r.removeCssClass(this.element,"ace_smooth-blinking")),t(!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 n=function(){this.timeoutId=setTimeout((function(){t(!1)}),.6*this.blinkInterval)}.bind(this);this.intervalId=setInterval((function(){t(!0),n()}),this.blinkInterval),n()}else this.$stopCssAnimation()},t.prototype.getPixelPosition=function(t,n){if(!this.config||!this.session)return{left:0,top:0};t||(t=this.session.selection.getCursor());var e=this.session.documentToScreenPosition(t);return{left:this.$padding+(this.session.$bidiHandler.isBidiRow(e.row,t.row)?this.session.$bidiHandler.getPosLeft(e.column):e.column*this.config.characterWidth),top:(e.row-(n?this.config.firstRowScreen:0))*this.config.lineHeight}},t.prototype.isCursorInView=function(t,n){return t.top>=0&&t.topt.height+t.offset||s.top<0)&&e>1)){var a=this.cursors[i++]||this.addCursor(),u=a.style;this.drawCursor?this.drawCursor(a,s,t,n[e],this.session):this.isCursorInView(s,t)?(r.setStyle(u,"display","block"),r.translate(a,s.left,s.top),r.setStyle(u,"width",Math.round(t.characterWidth)+"px"),r.setStyle(u,"height",t.lineHeight+"px")):r.setStyle(u,"display","none")}}for(;this.cursors.length>i;)this.removeCursor();var c=this.session.getOverwrite();this.$setOverwrite(c),this.$pixelPos=s,this.restartTimer()},t.prototype.$setOverwrite=function(t){t!=this.overwrite&&(this.overwrite=t,t?r.addCssClass(this.element,"ace_overwrite-cursors"):r.removeCssClass(this.element,"ace_overwrite-cursors"))},t.prototype.destroy=function(){clearInterval(this.intervalId),clearTimeout(this.timeoutId)},t}();i.prototype.$padding=0,i.prototype.drawCursor=null,n.Cursor=i})),ace.define("ace/scrollbar",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],(function(t,n,e){"use strict";var r,i=this&&this.__extends||(r=function(t,n){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])},r(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function e(){this.constructor=t}r(t,n),t.prototype=null===n?Object.create(n):(e.prototype=n.prototype,new e)}),o=t("./lib/oop"),s=t("./lib/dom"),a=t("./lib/event"),u=t("./lib/event_emitter").EventEmitter,c=32768,l=function(){function t(t,n){this.element=s.createElement("div"),this.element.className="ace_scrollbar ace_scrollbar"+n,this.inner=s.createElement("div"),this.inner.className="ace_scrollbar-inner",this.inner.textContent=" ",this.element.appendChild(this.inner),t.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,a.addListener(this.element,"scroll",this.onScroll.bind(this)),a.addListener(this.element,"mousedown",a.preventDefault)}return t.prototype.setVisible=function(t){this.element.style.display=t?"":"none",this.isVisible=t,this.coeff=1},t}();o.implement(l.prototype,u);var h=function(t){function n(n,e){var r=t.call(this,n,"-v")||this;return r.scrollTop=0,r.scrollHeight=0,e.$scrollbarWidth=r.width=s.scrollbarWidth(n.ownerDocument),r.inner.style.width=r.element.style.width=(r.width||15)+5+"px",r.$minWidth=0,r}return i(n,t),n.prototype.onScroll=function(){if(!this.skipEvent){if(this.scrollTop=this.element.scrollTop,1!=this.coeff){var t=this.element.clientHeight/this.scrollHeight;this.scrollTop=this.scrollTop*(1-t)/(this.coeff-t)}this._emit("scroll",{data:this.scrollTop})}this.skipEvent=!1},n.prototype.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},n.prototype.setHeight=function(t){this.element.style.height=t+"px"},n.prototype.setScrollHeight=function(t){this.scrollHeight=t,t>c?(this.coeff=c/t,t=c):1!=this.coeff&&(this.coeff=1),this.inner.style.height=t+"px"},n.prototype.setScrollTop=function(t){this.scrollTop!=t&&(this.skipEvent=!0,this.scrollTop=t,this.element.scrollTop=t*this.coeff)},n}(l);h.prototype.setInnerHeight=h.prototype.setScrollHeight;var f=function(t){function n(n,e){var r=t.call(this,n,"-h")||this;return r.scrollLeft=0,r.height=e.$scrollbarWidth,r.inner.style.height=r.element.style.height=(r.height||15)+5+"px",r}return i(n,t),n.prototype.onScroll=function(){this.skipEvent||(this.scrollLeft=this.element.scrollLeft,this._emit("scroll",{data:this.scrollLeft})),this.skipEvent=!1},n.prototype.getHeight=function(){return this.isVisible?this.height:0},n.prototype.setWidth=function(t){this.element.style.width=t+"px"},n.prototype.setInnerWidth=function(t){this.inner.style.width=t+"px"},n.prototype.setScrollWidth=function(t){this.inner.style.width=t+"px"},n.prototype.setScrollLeft=function(t){this.scrollLeft!=t&&(this.skipEvent=!0,this.scrollLeft=this.element.scrollLeft=t)},n}(l);n.ScrollBar=h,n.ScrollBarV=h,n.ScrollBarH=f,n.VScrollBar=h,n.HScrollBar=f})),ace.define("ace/scrollbar_custom",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],(function(t,n,e){"use strict";var r,i=this&&this.__extends||(r=function(t,n){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])},r(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function e(){this.constructor=t}r(t,n),t.prototype=null===n?Object.create(n):(e.prototype=n.prototype,new e)}),o=t("./lib/oop"),s=t("./lib/dom"),a=t("./lib/event"),u=t("./lib/event_emitter").EventEmitter;s.importCssString(".ace_editor>.ace_sb-v div, .ace_editor>.ace_sb-h div{\n position: absolute;\n background: rgba(128, 128, 128, 0.6);\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n border: 1px solid #bbb;\n border-radius: 2px;\n z-index: 8;\n}\n.ace_editor>.ace_sb-v, .ace_editor>.ace_sb-h {\n position: absolute;\n z-index: 6;\n background: none;\n overflow: hidden!important;\n}\n.ace_editor>.ace_sb-v {\n z-index: 6;\n right: 0;\n top: 0;\n width: 12px;\n}\n.ace_editor>.ace_sb-v div {\n z-index: 8;\n right: 0;\n width: 100%;\n}\n.ace_editor>.ace_sb-h {\n bottom: 0;\n left: 0;\n height: 12px;\n}\n.ace_editor>.ace_sb-h div {\n bottom: 0;\n height: 100%;\n}\n.ace_editor>.ace_sb_grabbed {\n z-index: 8;\n background: #000;\n}","ace_scrollbar.css",!1);var c=function(){function t(t,n){this.element=s.createElement("div"),this.element.className="ace_sb"+n,this.inner=s.createElement("div"),this.inner.className="",this.element.appendChild(this.inner),this.VScrollWidth=12,this.HScrollHeight=12,t.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,a.addMultiMouseDownListener(this.element,[500,300,300],this,"onMouseDown")}return t.prototype.setVisible=function(t){this.element.style.display=t?"":"none",this.isVisible=t,this.coeff=1},t}();o.implement(c.prototype,u);var l=function(t){function n(n,e){var r=t.call(this,n,"-v")||this;return r.scrollTop=0,r.scrollHeight=0,r.parent=n,r.width=r.VScrollWidth,r.renderer=e,r.inner.style.width=r.element.style.width=(r.width||15)+"px",r.$minWidth=0,r}return i(n,t),n.prototype.onMouseDown=function(t,n){if("mousedown"===t&&0===a.getButton(n)&&2!==n.detail){if(n.target===this.inner){var e=this,r=n.clientY,i=n.clientY,o=this.thumbTop;a.capture(this.inner,(function(t){r=t.clientY}),(function(){clearInterval(s)}));var s=setInterval((function(){if(void 0!==r){var t=e.scrollTopFromThumbTop(o+r-i);t!==e.scrollTop&&e._emit("scroll",{data:t})}}),20);return a.preventDefault(n)}var u=n.clientY-this.element.getBoundingClientRect().top-this.thumbHeight/2;return this._emit("scroll",{data:this.scrollTopFromThumbTop(u)}),a.preventDefault(n)}},n.prototype.getHeight=function(){return this.height},n.prototype.scrollTopFromThumbTop=function(t){var n=t*(this.pageHeight-this.viewHeight)/(this.slideHeight-this.thumbHeight);return(n|=0)<0?n=0:n>this.pageHeight-this.viewHeight&&(n=this.pageHeight-this.viewHeight),n},n.prototype.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},n.prototype.setHeight=function(t){this.height=Math.max(0,t),this.slideHeight=this.height,this.viewHeight=this.height,this.setScrollHeight(this.pageHeight,!0)},n.prototype.setScrollHeight=function(t,n){(this.pageHeight!==t||n)&&(this.pageHeight=t,this.thumbHeight=this.slideHeight*this.viewHeight/this.pageHeight,this.thumbHeight>this.slideHeight&&(this.thumbHeight=this.slideHeight),this.thumbHeight<15&&(this.thumbHeight=15),this.inner.style.height=this.thumbHeight+"px",this.scrollTop>this.pageHeight-this.viewHeight&&(this.scrollTop=this.pageHeight-this.viewHeight,this.scrollTop<0&&(this.scrollTop=0),this._emit("scroll",{data:this.scrollTop})))},n.prototype.setScrollTop=function(t){this.scrollTop=t,t<0&&(t=0),this.thumbTop=t*(this.slideHeight-this.thumbHeight)/(this.pageHeight-this.viewHeight),this.inner.style.top=this.thumbTop+"px"},n}(c);l.prototype.setInnerHeight=l.prototype.setScrollHeight;var h=function(t){function n(n,e){var r=t.call(this,n,"-h")||this;return r.scrollLeft=0,r.scrollWidth=0,r.height=r.HScrollHeight,r.inner.style.height=r.element.style.height=(r.height||12)+"px",r.renderer=e,r}return i(n,t),n.prototype.onMouseDown=function(t,n){if("mousedown"===t&&0===a.getButton(n)&&2!==n.detail){if(n.target===this.inner){var e=this,r=n.clientX,i=n.clientX,o=this.thumbLeft;a.capture(this.inner,(function(t){r=t.clientX}),(function(){clearInterval(s)}));var s=setInterval((function(){if(void 0!==r){var t=e.scrollLeftFromThumbLeft(o+r-i);t!==e.scrollLeft&&e._emit("scroll",{data:t})}}),20);return a.preventDefault(n)}var u=n.clientX-this.element.getBoundingClientRect().left-this.thumbWidth/2;return this._emit("scroll",{data:this.scrollLeftFromThumbLeft(u)}),a.preventDefault(n)}},n.prototype.getHeight=function(){return this.isVisible?this.height:0},n.prototype.scrollLeftFromThumbLeft=function(t){var n=t*(this.pageWidth-this.viewWidth)/(this.slideWidth-this.thumbWidth);return(n|=0)<0?n=0:n>this.pageWidth-this.viewWidth&&(n=this.pageWidth-this.viewWidth),n},n.prototype.setWidth=function(t){this.width=Math.max(0,t),this.element.style.width=this.width+"px",this.slideWidth=this.width,this.viewWidth=this.width,this.setScrollWidth(this.pageWidth,!0)},n.prototype.setScrollWidth=function(t,n){(this.pageWidth!==t||n)&&(this.pageWidth=t,this.thumbWidth=this.slideWidth*this.viewWidth/this.pageWidth,this.thumbWidth>this.slideWidth&&(this.thumbWidth=this.slideWidth),this.thumbWidth<15&&(this.thumbWidth=15),this.inner.style.width=this.thumbWidth+"px",this.scrollLeft>this.pageWidth-this.viewWidth&&(this.scrollLeft=this.pageWidth-this.viewWidth,this.scrollLeft<0&&(this.scrollLeft=0),this._emit("scroll",{data:this.scrollLeft})))},n.prototype.setScrollLeft=function(t){this.scrollLeft=t,t<0&&(t=0),this.thumbLeft=t*(this.slideWidth-this.thumbWidth)/(this.pageWidth-this.viewWidth),this.inner.style.left=this.thumbLeft+"px"},n}(c);h.prototype.setInnerWidth=h.prototype.setScrollWidth,n.ScrollBar=l,n.ScrollBarV=l,n.ScrollBarH=h,n.VScrollBar=l,n.HScrollBar=h})),ace.define("ace/renderloop",["require","exports","module","ace/lib/event"],(function(t,n,e){"use strict";var r=t("./lib/event"),i=function(){function t(t,n){this.onRender=t,this.pending=!1,this.changes=0,this.$recursionLimit=2,this.window=n||window;var e=this;this._flush=function(t){e.pending=!1;var n=e.changes;if(n&&(r.blockIdle(100),e.changes=0,e.onRender(n)),e.changes){if(e.$recursionLimit--<0)return;e.schedule()}else e.$recursionLimit=2}}return t.prototype.schedule=function(t){this.changes=this.changes|t,this.changes&&!this.pending&&(r.nextFrame(this._flush),this.pending=!0)},t.prototype.clear=function(t){var n=this.changes;return this.changes=0,n},t}();n.RenderLoop=i})),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(t,n,e){var r=t("../lib/oop"),i=t("../lib/dom"),o=t("../lib/lang"),s=t("../lib/event"),a=t("../lib/useragent"),u=t("../lib/event_emitter").EventEmitter,c=512,l="function"==typeof ResizeObserver,h=200,f=function(){function t(t){this.el=i.createElement("div"),this.$setMeasureNodeStyles(this.el.style,!0),this.$main=i.createElement("div"),this.$setMeasureNodeStyles(this.$main.style),this.$measureNode=i.createElement("div"),this.$setMeasureNodeStyles(this.$measureNode.style),this.el.appendChild(this.$main),this.el.appendChild(this.$measureNode),t.appendChild(this.el),this.$measureNode.textContent=o.stringRepeat("X",c),this.$characterSize={width:0,height:0},l?this.$addObserver():this.checkForSizeChanges()}return t.prototype.$setMeasureNodeStyles=function(t,n){t.width=t.height="auto",t.left=t.top="0px",t.visibility="hidden",t.position="absolute",t.whiteSpace="pre",a.isIE<8?t["font-family"]="inherit":t.font="inherit",t.overflow=n?"hidden":"visible"},t.prototype.checkForSizeChanges=function(t){if(void 0===t&&(t=this.$measureSizes()),t&&(this.$characterSize.width!==t.width||this.$characterSize.height!==t.height)){this.$measureNode.style.fontWeight="bold";var n=this.$measureSizes();this.$measureNode.style.fontWeight="",this.$characterSize=t,this.charSizes=Object.create(null),this.allowBoldFonts=n&&n.width===t.width&&n.height===t.height,this._emit("changeCharacterSize",{data:t})}},t.prototype.$addObserver=function(){var t=this;this.$observer=new window.ResizeObserver((function(n){t.checkForSizeChanges()})),this.$observer.observe(this.$measureNode)},t.prototype.$pollSizeChanges=function(){if(this.$pollSizeChangesTimer||this.$observer)return this.$pollSizeChangesTimer;var t=this;return this.$pollSizeChangesTimer=s.onIdle((function n(){t.checkForSizeChanges(),s.onIdle(n,500)}),500)},t.prototype.setPolling=function(t){t?this.$pollSizeChanges():this.$pollSizeChangesTimer&&(clearInterval(this.$pollSizeChangesTimer),this.$pollSizeChangesTimer=0)},t.prototype.$measureSizes=function(t){var n={height:(t||this.$measureNode).clientHeight,width:(t||this.$measureNode).clientWidth/c};return 0===n.width||0===n.height?null:n},t.prototype.$measureCharWidth=function(t){return this.$main.textContent=o.stringRepeat(t,c),this.$main.getBoundingClientRect().width/c},t.prototype.getCharacterWidth=function(t){var n=this.charSizes[t];return void 0===n&&(n=this.charSizes[t]=this.$measureCharWidth(t)/this.$characterSize.width),n},t.prototype.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.$observer&&this.$observer.disconnect(),this.el&&this.el.parentNode&&this.el.parentNode.removeChild(this.el)},t.prototype.$getZoom=function(t){return t&&t.parentElement?(window.getComputedStyle(t).zoom||1)*this.$getZoom(t.parentElement):1},t.prototype.$initTransformMeasureNodes=function(){var t=function(t,n){return["div",{style:"position: absolute;top:"+t+"px;left:"+n+"px;"}]};this.els=i.buildDom([t(0,0),t(h,0),t(0,h),t(h,h)],this.el)},t.prototype.transformCoordinates=function(t,n){function e(t,n,e){var r=t[1]*n[0]-t[0]*n[1];return[(-n[1]*e[0]+n[0]*e[1])/r,(+t[1]*e[0]-t[0]*e[1])/r]}function r(t,n){return[t[0]-n[0],t[1]-n[1]]}function i(t,n){return[t[0]+n[0],t[1]+n[1]]}function o(t,n){return[t*n[0],t*n[1]]}function s(t){var n=t.getBoundingClientRect();return[n.left,n.top]}t&&(t=o(1/this.$getZoom(this.el),t)),this.els||this.$initTransformMeasureNodes();var a=s(this.els[0]),u=s(this.els[1]),c=s(this.els[2]),l=s(this.els[3]),f=e(r(l,u),r(l,c),r(i(u,c),i(l,a))),d=o(1+f[0],r(u,a)),p=o(1+f[1],r(c,a));if(n){var _=n,m=f[0]*_[0]/h+f[1]*_[1]/h+1,v=i(o(_[0],d),o(_[1],p));return i(o(1/m/h,v),a)}var g=r(t,a),b=e(r(d,o(f[0],g)),r(p,o(f[1],g)),g);return o(h,b)},t}();f.prototype.$characterSize={width:0,height:0},r.implement(f.prototype,u),n.FontMetrics=f})),ace.define("ace/css/editor-css",["require","exports","module"],(function(t,n,e){e.exports='\n.ace_br1 {border-top-left-radius : 3px;}\n.ace_br2 {border-top-right-radius : 3px;}\n.ace_br3 {border-top-left-radius : 3px; border-top-right-radius: 3px;}\n.ace_br4 {border-bottom-right-radius: 3px;}\n.ace_br5 {border-top-left-radius : 3px; border-bottom-right-radius: 3px;}\n.ace_br6 {border-top-right-radius : 3px; border-bottom-right-radius: 3px;}\n.ace_br7 {border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px;}\n.ace_br8 {border-bottom-left-radius : 3px;}\n.ace_br9 {border-top-left-radius : 3px; border-bottom-left-radius: 3px;}\n.ace_br10{border-top-right-radius : 3px; border-bottom-left-radius: 3px;}\n.ace_br11{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br12{border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br13{border-top-left-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br14{border-top-right-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br15{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n\n\n.ace_editor {\n position: relative;\n overflow: hidden;\n padding: 0;\n font: 12px/normal \'Monaco\', \'Menlo\', \'Ubuntu Mono\', \'Consolas\', \'Source Code Pro\', \'source-code-pro\', monospace;\n direction: ltr;\n text-align: left;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n\n.ace_scroller {\n position: absolute;\n overflow: hidden;\n top: 0;\n bottom: 0;\n background-color: inherit;\n -ms-user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n cursor: text;\n}\n\n.ace_content {\n position: absolute;\n box-sizing: border-box;\n min-width: 100%;\n contain: style size layout;\n font-variant-ligatures: no-common-ligatures;\n}\n\n.ace_keyboard-focus:focus {\n box-shadow: inset 0 0 0 2px #5E9ED6;\n outline: none;\n}\n\n.ace_dragging .ace_scroller:before{\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n content: \'\';\n background: rgba(250, 250, 250, 0.01);\n z-index: 1000;\n}\n.ace_dragging.ace_dark .ace_scroller:before{\n background: rgba(0, 0, 0, 0.01);\n}\n\n.ace_gutter {\n position: absolute;\n overflow : hidden;\n width: auto;\n top: 0;\n bottom: 0;\n left: 0;\n cursor: default;\n z-index: 4;\n -ms-user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n contain: style size layout;\n}\n\n.ace_gutter-active-line {\n position: absolute;\n left: 0;\n right: 0;\n}\n\n.ace_scroller.ace_scroll-left:after {\n content: "";\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n box-shadow: 17px 0 16px -16px rgba(0, 0, 0, 0.4) inset;\n pointer-events: none;\n}\n\n.ace_gutter-cell, .ace_gutter-cell_svg-icons {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n padding-left: 19px;\n padding-right: 6px;\n background-repeat: no-repeat;\n}\n\n.ace_gutter-cell_svg-icons .ace_gutter_annotation {\n margin-left: -14px;\n float: left;\n}\n\n.ace_gutter-cell .ace_gutter_annotation {\n margin-left: -19px;\n float: left;\n}\n\n.ace_gutter-cell.ace_error, .ace_icon.ace_error, .ace_icon.ace_error_fold {\n 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==");\n background-repeat: no-repeat;\n background-position: 2px center;\n}\n\n.ace_gutter-cell.ace_warning, .ace_icon.ace_warning, .ace_icon.ace_warning_fold {\n 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==");\n background-repeat: no-repeat;\n background-position: 2px center;\n}\n\n.ace_gutter-cell.ace_info, .ace_icon.ace_info {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAJ0Uk5TAAB2k804AAAAPklEQVQY02NgIB68QuO3tiLznjAwpKTgNyDbMegwisCHZUETUZV0ZqOquBpXj2rtnpSJT1AEnnRmL2OgGgAAIKkRQap2htgAAAAASUVORK5CYII=");\n background-repeat: no-repeat;\n background-position: 2px center;\n}\n.ace_dark .ace_gutter-cell.ace_info, .ace_dark .ace_icon.ace_info {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAJFBMVEUAAAChoaGAgIAqKiq+vr6tra1ZWVmUlJSbm5s8PDxubm56enrdgzg3AAAAAXRSTlMAQObYZgAAAClJREFUeNpjYMAPdsMYHegyJZFQBlsUlMFVCWUYKkAZMxZAGdxlDMQBAG+TBP4B6RyJAAAAAElFTkSuQmCC");\n}\n\n.ace_icon_svg.ace_error {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJyZWQiIHNoYXBlLXJlbmRlcmluZz0iZ2VvbWV0cmljUHJlY2lzaW9uIj4KPGNpcmNsZSBmaWxsPSJub25lIiBjeD0iOCIgY3k9IjgiIHI9IjciIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPGxpbmUgeDE9IjExIiB5MT0iNSIgeDI9IjUiIHkyPSIxMSIvPgo8bGluZSB4MT0iMTEiIHkxPSIxMSIgeDI9IjUiIHkyPSI1Ii8+CjwvZz4KPC9zdmc+");\n background-color: crimson;\n}\n.ace_icon_svg.ace_warning {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJkYXJrb3JhbmdlIiBzaGFwZS1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiI+Cjxwb2x5Z29uIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGZpbGw9Im5vbmUiIHBvaW50cz0iOCAxIDE1IDE1IDEgMTUgOCAxIi8+CjxyZWN0IHg9IjgiIHk9IjEyIiB3aWR0aD0iMC4wMSIgaGVpZ2h0PSIwLjAxIi8+CjxsaW5lIHgxPSI4IiB5MT0iNiIgeDI9IjgiIHkyPSIxMCIvPgo8L2c+Cjwvc3ZnPg==");\n background-color: darkorange;\n}\n.ace_icon_svg.ace_info {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJibHVlIiBzaGFwZS1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiI+CjxjaXJjbGUgZmlsbD0ibm9uZSIgY3g9IjgiIGN5PSI4IiByPSI3IiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjxwb2x5bGluZSBwb2ludHM9IjggMTEgOCA4Ii8+Cjxwb2x5bGluZSBwb2ludHM9IjkgOCA2IDgiLz4KPGxpbmUgeDE9IjEwIiB5MT0iMTEiIHgyPSI2IiB5Mj0iMTEiLz4KPHJlY3QgeD0iOCIgeT0iNSIgd2lkdGg9IjAuMDEiIGhlaWdodD0iMC4wMSIvPgo8L2c+Cjwvc3ZnPg==");\n background-color: royalblue;\n}\n\n.ace_icon_svg.ace_error_fold {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiIgZmlsbD0ibm9uZSI+CiAgPHBhdGggZD0ibSAxOC45Mjk4NTEsNy44Mjk4MDc2IGMgMC4xNDYzNTMsNi4zMzc0NjA0IC02LjMyMzE0Nyw3Ljc3Nzg0NDQgLTcuNDc3OTEyLDcuNzc3ODQ0NCAtMi4xMDcyNzI2LC0wLjEyODc1IDUuMTE3Njc4LDAuMzU2MjQ5IDUuMDUxNjk4LC03Ljg3MDA2MTggLTAuNjA0NjcyLC04LjAwMzk3MzQ5IC03LjA3NzI3MDYsLTcuNTYzMTE4OSAtNC44NTczLC03LjQzMDM5NTU2IDEuNjA2LC0wLjExNTE0MjI1IDYuODk3NDg1LDEuMjYyNTQ1OTYgNy4yODM1MTQsNy41MjI2MTI5NiB6IiBmaWxsPSJjcmltc29uIiBzdHJva2Utd2lkdGg9IjIiLz4KICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0ibSA4LjExNDc1NjIsMi4wNTI5ODI4IGMgMy4zNDkxNjk4LDAgNi4wNjQxMzI4LDIuNjc2ODYyNyA2LjA2NDEzMjgsNS45Nzg5NTMgMCwzLjMwMjExMjIgLTIuNzE0OTYzLDUuOTc4OTIwMiAtNi4wNjQxMzI4LDUuOTc4OTIwMiAtMy4zNDkxNDczLDAgLTYuMDY0MTc3MiwtMi42NzY4MDggLTYuMDY0MTc3MiwtNS45Nzg5MjAyIDAuMDA1MzksLTMuMjk5ODg2MSAyLjcxNzI2NTYsLTUuOTczNjQwOCA2LjA2NDE3NzIsLTUuOTc4OTUzIHogbSAwLC0xLjczNTgyNzE5IGMgLTQuMzIxNDgzNiwwIC03LjgyNDc0MDM4LDMuNDU0MDE4NDkgLTcuODI0NzQwMzgsNy43MTQ3ODAxOSAwLDQuMjYwNzI4MiAzLjUwMzI1Njc4LDcuNzE0NzQ1MiA3LjgyNDc0MDM4LDcuNzE0NzQ1MiA0LjMyMTQ0OTgsMCA3LjgyNDY5OTgsLTMuNDU0MDE3IDcuODI0Njk5OCwtNy43MTQ3NDUyIDAsLTIuMDQ2MDkxNCAtMC44MjQzOTIsLTQuMDA4MzY3MiAtMi4yOTE3NTYsLTUuNDU1MTc0NiBDIDEyLjE4MDIyNSwxLjEyOTk2NDggMTAuMTkwMDEzLDAuMzE3MTU1NjEgOC4xMTQ3NTYyLDAuMzE3MTU1NjEgWiBNIDYuOTM3NDU2Myw4LjI0MDU5ODUgNC42NzE4Njg1LDEwLjQ4NTg1MiA2LjAwODY4MTQsMTEuODc2NzI4IDguMzE3MDAzNSw5LjYwMDc5MTEgMTAuNjI1MzM3LDExLjg3NjcyOCAxMS45NjIxMzgsMTAuNDg1ODUyIDkuNjk2NTUwOCw4LjI0MDU5ODUgMTEuOTYyMTM4LDYuMDA2ODA2NiAxMC41NzMyNDYsNC42Mzc0MzM1IDguMzE3MDAzNSw2Ljg3MzQyOTcgNi4wNjA3NjA3LDQuNjM3NDMzNSA0LjY3MTg2ODUsNi4wMDY4MDY2IFoiIGZpbGw9ImNyaW1zb24iIHN0cm9rZS13aWR0aD0iMiIvPgo8L3N2Zz4=");\n background-color: crimson;\n}\n.ace_icon_svg.ace_warning_fold {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAyMCAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNC43NzY5IDE0LjczMzdMOC42NTE5MiAyLjQ4MzY5QzguMzI5NDYgMS44Mzg3NyA3LjQwOTEzIDEuODM4NzcgNy4wODY2NyAyLjQ4MzY5TDAuOTYxNjY5IDE0LjczMzdDMC42NzA3NzUgMTUuMzE1NSAxLjA5MzgzIDE2IDEuNzQ0MjkgMTZIMTMuOTk0M0MxNC42NDQ4IDE2IDE1LjA2NzggMTUuMzE1NSAxNC43NzY5IDE0LjczMzdaTTMuMTYwMDcgMTQuMjVMNy44NjkyOSA0LjgzMTU2TDEyLjU3ODUgMTQuMjVIMy4xNjAwN1pNOC43NDQyOSAxMS42MjVWMTMuMzc1SDYuOTk0MjlWMTEuNjI1SDguNzQ0MjlaTTYuOTk0MjkgMTAuNzVWNy4yNUg4Ljc0NDI5VjEwLjc1SDYuOTk0MjlaIiBmaWxsPSIjRUM3MjExIi8+CjxwYXRoIGQ9Ik0xMS4xOTkxIDIuOTUyMzhDMTAuODgwOSAyLjMxNDY3IDEwLjM1MzcgMS44MDUyNiA5LjcwNTUgMS41MDlMMTEuMDQxIDEuMDY5NzhDMTEuNjg4MyAwLjk0OTgxNCAxMi4zMzcgMS4yNzI2MyAxMi42MzE3IDEuODYxNDFMMTcuNjEzNiAxMS44MTYxQzE4LjM1MjcgMTMuMjkyOSAxNy41OTM4IDE1LjA4MDQgMTYuMDE4IDE1LjU3NDVDMTYuNDA0NCAxNC40NTA3IDE2LjMyMzEgMTMuMjE4OCAxNS43OTI0IDEyLjE1NTVMMTEuMTk5MSAyLjk1MjM4WiIgZmlsbD0iI0VDNzIxMSIvPgo8L3N2Zz4=");\n background-color: darkorange;\n}\n\n.ace_scrollbar {\n contain: strict;\n position: absolute;\n right: 0;\n bottom: 0;\n z-index: 6;\n}\n\n.ace_scrollbar-inner {\n position: absolute;\n cursor: text;\n left: 0;\n top: 0;\n}\n\n.ace_scrollbar-v{\n overflow-x: hidden;\n overflow-y: scroll;\n top: 0;\n}\n\n.ace_scrollbar-h {\n overflow-x: scroll;\n overflow-y: hidden;\n left: 0;\n}\n\n.ace_print-margin {\n position: absolute;\n height: 100%;\n}\n\n.ace_text-input {\n position: absolute;\n z-index: 0;\n width: 0.5em;\n height: 1em;\n opacity: 0;\n background: transparent;\n -moz-appearance: none;\n appearance: none;\n border: none;\n resize: none;\n outline: none;\n overflow: hidden;\n font: inherit;\n padding: 0 1px;\n margin: 0 -1px;\n contain: strict;\n -ms-user-select: text;\n -moz-user-select: text;\n -webkit-user-select: text;\n user-select: text;\n /*with `pre-line` chrome inserts   instead of space*/\n white-space: pre!important;\n}\n.ace_text-input.ace_composition {\n background: transparent;\n color: inherit;\n z-index: 1000;\n opacity: 1;\n}\n.ace_composition_placeholder { color: transparent }\n.ace_composition_marker { \n border-bottom: 1px solid;\n position: absolute;\n border-radius: 0;\n margin-top: 1px;\n}\n\n[ace_nocontext=true] {\n transform: none!important;\n filter: none!important;\n clip-path: none!important;\n mask : none!important;\n contain: none!important;\n perspective: none!important;\n mix-blend-mode: initial!important;\n z-index: auto;\n}\n\n.ace_layer {\n z-index: 1;\n position: absolute;\n overflow: hidden;\n /* workaround for chrome bug https://github.com/ajaxorg/ace/issues/2312*/\n word-wrap: normal;\n white-space: pre;\n height: 100%;\n width: 100%;\n box-sizing: border-box;\n /* setting pointer-events: auto; on node under the mouse, which changes\n during scroll, will break mouse wheel scrolling in Safari */\n pointer-events: none;\n}\n\n.ace_gutter-layer {\n position: relative;\n width: auto;\n text-align: right;\n pointer-events: auto;\n height: 1000000px;\n contain: style size layout;\n}\n\n.ace_text-layer {\n font: inherit !important;\n position: absolute;\n height: 1000000px;\n width: 1000000px;\n contain: style size layout;\n}\n\n.ace_text-layer > .ace_line, .ace_text-layer > .ace_line_group {\n contain: style size layout;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n}\n\n.ace_hidpi .ace_text-layer,\n.ace_hidpi .ace_gutter-layer,\n.ace_hidpi .ace_content,\n.ace_hidpi .ace_gutter {\n contain: strict;\n}\n.ace_hidpi .ace_text-layer > .ace_line, \n.ace_hidpi .ace_text-layer > .ace_line_group {\n contain: strict;\n}\n\n.ace_cjk {\n display: inline-block;\n text-align: center;\n}\n\n.ace_cursor-layer {\n z-index: 4;\n}\n\n.ace_cursor {\n z-index: 4;\n position: absolute;\n box-sizing: border-box;\n border-left: 2px solid;\n /* workaround for smooth cursor repaintng whole screen in chrome */\n transform: translatez(0);\n}\n\n.ace_multiselect .ace_cursor {\n border-left-width: 1px;\n}\n\n.ace_slim-cursors .ace_cursor {\n border-left-width: 1px;\n}\n\n.ace_overwrite-cursors .ace_cursor {\n border-left-width: 0;\n border-bottom: 1px solid;\n}\n\n.ace_hidden-cursors .ace_cursor {\n opacity: 0.2;\n}\n\n.ace_hasPlaceholder .ace_hidden-cursors .ace_cursor {\n opacity: 0;\n}\n\n.ace_smooth-blinking .ace_cursor {\n transition: opacity 0.18s;\n}\n\n.ace_animate-blinking .ace_cursor {\n animation-duration: 1000ms;\n animation-timing-function: step-end;\n animation-name: blink-ace-animate;\n animation-iteration-count: infinite;\n}\n\n.ace_animate-blinking.ace_smooth-blinking .ace_cursor {\n animation-duration: 1000ms;\n animation-timing-function: ease-in-out;\n animation-name: blink-ace-animate-smooth;\n}\n \n@keyframes blink-ace-animate {\n from, to { opacity: 1; }\n 60% { opacity: 0; }\n}\n\n@keyframes blink-ace-animate-smooth {\n from, to { opacity: 1; }\n 45% { opacity: 1; }\n 60% { opacity: 0; }\n 85% { opacity: 0; }\n}\n\n.ace_marker-layer .ace_step, .ace_marker-layer .ace_stack {\n position: absolute;\n z-index: 3;\n}\n\n.ace_marker-layer .ace_selection {\n position: absolute;\n z-index: 5;\n}\n\n.ace_marker-layer .ace_bracket {\n position: absolute;\n z-index: 6;\n}\n\n.ace_marker-layer .ace_error_bracket {\n position: absolute;\n border-bottom: 1px solid #DE5555;\n border-radius: 0;\n}\n\n.ace_marker-layer .ace_active-line {\n position: absolute;\n z-index: 2;\n}\n\n.ace_marker-layer .ace_selected-word {\n position: absolute;\n z-index: 4;\n box-sizing: border-box;\n}\n\n.ace_line .ace_fold {\n box-sizing: border-box;\n\n display: inline-block;\n height: 11px;\n margin-top: -2px;\n vertical-align: middle;\n\n background-image:\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUeNpi+P//fxgTAwPDBxDxD078RSX+YeEyDFMCIMAAI3INmXiwf2YAAAAASUVORK5CYII=");\n background-repeat: no-repeat, repeat-x;\n background-position: center center, top left;\n color: transparent;\n\n border: 1px solid black;\n border-radius: 2px;\n\n cursor: pointer;\n pointer-events: auto;\n}\n\n.ace_dark .ace_fold {\n}\n\n.ace_fold:hover{\n background-image:\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUeNpi+P//fz4TAwPDZxDxD5X4i5fLMEwJgAADAEPVDbjNw87ZAAAAAElFTkSuQmCC");\n}\n\n.ace_tooltip {\n background-color: #f5f5f5;\n border: 1px solid gray;\n border-radius: 1px;\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);\n color: black;\n max-width: 100%;\n padding: 3px 4px;\n position: fixed;\n z-index: 999999;\n box-sizing: border-box;\n cursor: default;\n white-space: pre;\n word-wrap: break-word;\n line-height: normal;\n font-style: normal;\n font-weight: normal;\n letter-spacing: normal;\n pointer-events: none;\n}\n\n.ace_tooltip.ace_dark {\n background-color: #636363;\n color: #fff;\n}\n\n.ace_tooltip:focus {\n outline: 1px solid #5E9ED6;\n}\n\n.ace_icon {\n display: inline-block;\n width: 18px;\n vertical-align: top;\n}\n\n.ace_icon_svg {\n display: inline-block;\n width: 12px;\n vertical-align: top;\n -webkit-mask-repeat: no-repeat;\n -webkit-mask-size: 12px;\n -webkit-mask-position: center;\n}\n\n.ace_folding-enabled > .ace_gutter-cell, .ace_folding-enabled > .ace_gutter-cell_svg-icons {\n padding-right: 13px;\n}\n\n.ace_fold-widget {\n box-sizing: border-box;\n\n margin: 0 -12px 0 1px;\n display: none;\n width: 11px;\n vertical-align: top;\n\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42mWKsQ0AMAzC8ixLlrzQjzmBiEjp0A6WwBCSPgKAXoLkqSot7nN3yMwR7pZ32NzpKkVoDBUxKAAAAABJRU5ErkJggg==");\n background-repeat: no-repeat;\n background-position: center;\n\n border-radius: 3px;\n \n border: 1px solid transparent;\n cursor: pointer;\n}\n\n.ace_folding-enabled .ace_fold-widget {\n display: inline-block; \n}\n\n.ace_fold-widget.ace_end {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42m3HwQkAMAhD0YzsRchFKI7sAikeWkrxwScEB0nh5e7KTPWimZki4tYfVbX+MNl4pyZXejUO1QAAAABJRU5ErkJggg==");\n}\n\n.ace_fold-widget.ace_closed {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAGCAYAAAAG5SQMAAAAOUlEQVR42jXKwQkAMAgDwKwqKD4EwQ26sSOkVWjgIIHAzPiCgaqiqnJHZnKICBERHN194O5b9vbLuAVRL+l0YWnZAAAAAElFTkSuQmCCXA==");\n}\n\n.ace_fold-widget:hover {\n border: 1px solid rgba(0, 0, 0, 0.3);\n background-color: rgba(255, 255, 255, 0.2);\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);\n}\n\n.ace_fold-widget:active {\n border: 1px solid rgba(0, 0, 0, 0.4);\n background-color: rgba(0, 0, 0, 0.05);\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);\n}\n/**\n * Dark version for fold widgets\n */\n.ace_dark .ace_fold-widget {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHklEQVQIW2P4//8/AzoGEQ7oGCaLLAhWiSwB146BAQCSTPYocqT0AAAAAElFTkSuQmCC");\n}\n.ace_dark .ace_fold-widget.ace_end {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAH0lEQVQIW2P4//8/AxQ7wNjIAjDMgC4AxjCVKBirIAAF0kz2rlhxpAAAAABJRU5ErkJggg==");\n}\n.ace_dark .ace_fold-widget.ace_closed {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAFCAYAAACAcVaiAAAAHElEQVQIW2P4//+/AxAzgDADlOOAznHAKgPWAwARji8UIDTfQQAAAABJRU5ErkJggg==");\n}\n.ace_dark .ace_fold-widget:hover {\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);\n background-color: rgba(255, 255, 255, 0.1);\n}\n.ace_dark .ace_fold-widget:active {\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);\n}\n\n.ace_inline_button {\n border: 1px solid lightgray;\n display: inline-block;\n margin: -1px 8px;\n padding: 0 5px;\n pointer-events: auto;\n cursor: pointer;\n}\n.ace_inline_button:hover {\n border-color: gray;\n background: rgba(200,200,200,0.2);\n display: inline-block;\n pointer-events: auto;\n}\n\n.ace_fold-widget.ace_invalid {\n background-color: #FFB4B4;\n border-color: #DE5555;\n}\n\n.ace_fade-fold-widgets .ace_fold-widget {\n transition: opacity 0.4s ease 0.05s;\n opacity: 0;\n}\n\n.ace_fade-fold-widgets:hover .ace_fold-widget {\n transition: opacity 0.05s ease 0.05s;\n opacity:1;\n}\n\n.ace_underline {\n text-decoration: underline;\n}\n\n.ace_bold {\n font-weight: bold;\n}\n\n.ace_nobold .ace_bold {\n font-weight: normal;\n}\n\n.ace_italic {\n font-style: italic;\n}\n\n\n.ace_error-marker {\n background-color: rgba(255, 0, 0,0.2);\n position: absolute;\n z-index: 9;\n}\n\n.ace_highlight-marker {\n background-color: rgba(255, 255, 0,0.2);\n position: absolute;\n z-index: 8;\n}\n\n.ace_mobile-menu {\n position: absolute;\n line-height: 1.5;\n border-radius: 4px;\n -ms-user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n background: white;\n box-shadow: 1px 3px 2px grey;\n border: 1px solid #dcdcdc;\n color: black;\n}\n.ace_dark > .ace_mobile-menu {\n background: #333;\n color: #ccc;\n box-shadow: 1px 3px 2px grey;\n border: 1px solid #444;\n\n}\n.ace_mobile-button {\n padding: 2px;\n cursor: pointer;\n overflow: hidden;\n}\n.ace_mobile-button:hover {\n background-color: #eee;\n opacity:1;\n}\n.ace_mobile-button:active {\n background-color: #ddd;\n}\n\n.ace_placeholder {\n font-family: arial;\n transform: scale(0.9);\n transform-origin: left;\n white-space: pre;\n opacity: 0.7;\n margin: 0 10px;\n}\n\n.ace_ghost_text {\n opacity: 0.5;\n font-style: italic;\n white-space: pre;\n}'})),ace.define("ace/layer/decorators",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event_emitter"],(function(t,n,e){"use strict";var r=t("../lib/dom"),i=t("../lib/oop"),o=t("../lib/event_emitter").EventEmitter,s=function(){function t(t,n){this.canvas=r.createElement("canvas"),this.renderer=n,this.pixelRatio=1,this.maxHeight=n.layerConfig.maxHeight,this.lineHeight=n.layerConfig.lineHeight,this.canvasHeight=t.parent.scrollHeight,this.heightRatio=this.canvasHeight/this.maxHeight,this.canvasWidth=t.width,this.minDecorationHeight=2*this.pixelRatio|0,this.halfMinDecorationHeight=this.minDecorationHeight/2|0,this.canvas.width=this.canvasWidth,this.canvas.height=this.canvasHeight,this.canvas.style.top="0px",this.canvas.style.right="0px",this.canvas.style.zIndex="7px",this.canvas.style.position="absolute",this.colors={},this.colors.dark={error:"rgba(255, 18, 18, 1)",warning:"rgba(18, 136, 18, 1)",info:"rgba(18, 18, 136, 1)"},this.colors.light={error:"rgb(255,51,51)",warning:"rgb(32,133,72)",info:"rgb(35,68,138)"},t.element.appendChild(this.canvas)}return t.prototype.$updateDecorators=function(t){var n=!0===this.renderer.theme.isDark?this.colors.dark:this.colors.light;t&&(this.maxHeight=t.maxHeight,this.lineHeight=t.lineHeight,this.canvasHeight=t.height,(t.lastRow+1)*this.lineHeightn.priority?1:0}));for(var o=this.renderer.session.$foldData,s=0;sthis.canvasHeight&&(f=this.canvasHeight-this.halfMinDecorationHeight),l=Math.round(f-this.halfMinDecorationHeight),h=Math.round(f+this.halfMinDecorationHeight)}e.fillStyle=n[r[s].type]||null,e.fillRect(0,c,this.canvasWidth,h-l)}}var d=this.renderer.session.selection.getCursor();d&&(u=this.compensateFoldRows(d.row,o),c=Math.round((d.row-u)*this.lineHeight*this.heightRatio),e.fillStyle="rgba(0, 0, 0, 0.5)",e.fillRect(0,c,this.canvasWidth,2))},t.prototype.compensateFoldRows=function(t,n){var e=0;if(n&&n.length>0)for(var r=0;rn[r].start.row&&t=n[r].end.row&&(e+=n[r].end.row-n[r].start.row);return e},t}();i.implement(s.prototype,o),n.Decorator=s})),ace.define("ace/virtual_renderer",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/config","ace/layer/gutter","ace/layer/marker","ace/layer/text","ace/layer/cursor","ace/scrollbar","ace/scrollbar","ace/scrollbar_custom","ace/scrollbar_custom","ace/renderloop","ace/layer/font_metrics","ace/lib/event_emitter","ace/css/editor-css","ace/layer/decorators","ace/lib/useragent"],(function(t,n,e){"use strict";var r=t("./lib/oop"),i=t("./lib/dom"),o=t("./lib/lang"),s=t("./config"),a=t("./layer/gutter").Gutter,u=t("./layer/marker").Marker,c=t("./layer/text").Text,l=t("./layer/cursor").Cursor,h=t("./scrollbar").HScrollBar,f=t("./scrollbar").VScrollBar,d=t("./scrollbar_custom").HScrollBar,p=t("./scrollbar_custom").VScrollBar,_=t("./renderloop").RenderLoop,m=t("./layer/font_metrics").FontMetrics,v=t("./lib/event_emitter").EventEmitter,g=t("./css/editor-css"),b=t("./layer/decorators").Decorator,w=t("./lib/useragent");i.importCssString(g,"ace_editor.css",!1);var y=function(){function t(t,n){var e=this;this.container=t||i.createElement("div"),i.addCssClass(this.container,"ace_editor"),i.HI_DPI&&i.addCssClass(this.container,"ace_hidpi"),this.setTheme(n),null==s.get("useStrictCSP")&&s.set("useStrictCSP",!1),this.$gutter=i.createElement("div"),this.$gutter.className="ace_gutter",this.container.appendChild(this.$gutter),this.$gutter.setAttribute("aria-hidden",!0),this.scroller=i.createElement("div"),this.scroller.className="ace_scroller",this.container.appendChild(this.scroller),this.content=i.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 u(this.content);var r=this.$textLayer=new c(this.content);this.canvas=r.element,this.$markerFront=new u(this.content),this.$cursorLayer=new l(this.content),this.$horizScroll=!1,this.$vScroll=!1,this.scrollBar=this.scrollBarV=new f(this.container,this),this.scrollBarH=new h(this.container,this),this.scrollBarV.on("scroll",(function(t){e.$scrollAnimation||e.session.setScrollTop(t.data-e.scrollMargin.top)})),this.scrollBarH.on("scroll",(function(t){e.$scrollAnimation||e.session.setScrollLeft(t.data-e.scrollMargin.left)})),this.scrollTop=0,this.scrollLeft=0,this.cursorPos={row:0,column:0},this.$fontMetrics=new m(this.container),this.$textLayer.$setFontMetrics(this.$fontMetrics),this.$textLayer.on("changeCharacterSize",(function(t){e.updateCharacterSize(),e.onResize(!0,e.gutterWidth,e.$size.width,e.$size.height),e._signal("changeCharacterSize",t)})),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=!w.isIOS,this.$loop=new _(this.$renderChanges.bind(this),this.container.ownerDocument.defaultView),this.$loop.schedule(this.CHANGE_FULL),this.updateCharacterSize(),this.setPadding(4),this.$addResizeObserver(),s.resetOptions(this),s._signal("renderer",this)}return t.prototype.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(),i.setStyle(this.scroller.style,"line-height",this.lineHeight+"px")},t.prototype.setSession=function(t){this.session&&this.session.doc.off("changeNewLineMode",this.onChangeNewLineMode),this.session=t,t&&this.scrollMargin.top&&t.getScrollTop()<=0&&t.setScrollTop(-this.scrollMargin.top),this.$cursorLayer.setSession(t),this.$markerBack.setSession(t),this.$markerFront.setSession(t),this.$gutterLayer.setSession(t),this.$textLayer.setSession(t),t&&(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))},t.prototype.updateLines=function(t,n,e){if(void 0===n&&(n=1/0),this.$changedLines?(this.$changedLines.firstRow>t&&(this.$changedLines.firstRow=t),this.$changedLines.lastRowthis.layerConfig.lastRow||this.$loop.schedule(this.CHANGE_LINES)},t.prototype.onChangeNewLineMode=function(){this.$loop.schedule(this.CHANGE_TEXT),this.$textLayer.$updateEolChar(),this.session.$bidiHandler.setEolChar(this.$textLayer.EOL_CHAR)},t.prototype.onChangeTabSize=function(){this.$loop.schedule(this.CHANGE_TEXT|this.CHANGE_MARKER),this.$textLayer.onChangeTabSize()},t.prototype.updateText=function(){this.$loop.schedule(this.CHANGE_TEXT)},t.prototype.updateFull=function(t){t?this.$renderChanges(this.CHANGE_FULL,!0):this.$loop.schedule(this.CHANGE_FULL)},t.prototype.updateFontSize=function(){this.$textLayer.checkForSizeChanges()},t.prototype.$updateSizeAsync=function(){this.$loop.pending?this.$size.$dirty=!0:this.onResize()},t.prototype.onResize=function(t,n,e,r){if(!(this.resizing>2)){this.resizing>0?this.resizing++:this.resizing=t?1:0;var i=this.container;r||(r=i.clientHeight||i.scrollHeight),e||(e=i.clientWidth||i.scrollWidth);var o=this.$updateCachedSize(t,n,e,r);if(this.$resizeTimer&&this.$resizeTimer.cancel(),!this.$size.scrollerHeight||!e&&!r)return this.resizing=0;t&&(this.$gutterLayer.$padding=null),t?this.$renderChanges(o|this.$changes,!0):this.$loop.schedule(o|this.$changes),this.resizing&&(this.resizing=0),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.$customScrollbar&&this.$updateCustomScrollbar(!0)}},t.prototype.$updateCachedSize=function(t,n,e,r){r-=this.$extraHeight||0;var o=0,s=this.$size,a={width:s.width,height:s.height,scrollerHeight:s.scrollerHeight,scrollerWidth:s.scrollerWidth};if(r&&(t||s.height!=r)&&(s.height=r,o|=this.CHANGE_SIZE,s.scrollerHeight=s.height,this.$horizScroll&&(s.scrollerHeight-=this.scrollBarH.getHeight()),this.scrollBarV.setHeight(s.scrollerHeight),this.scrollBarV.element.style.bottom=this.scrollBarH.getHeight()+"px",o|=this.CHANGE_SCROLL),e&&(t||s.width!=e)){o|=this.CHANGE_SIZE,s.width=e,null==n&&(n=this.$showGutter?this.$gutter.offsetWidth:0),this.gutterWidth=n,i.setStyle(this.scrollBarH.element.style,"left",n+"px"),i.setStyle(this.scroller.style,"left",n+this.margin.left+"px"),s.scrollerWidth=Math.max(0,e-n-this.scrollBarV.getWidth()-this.margin.h),i.setStyle(this.$gutter.style,"left",this.margin.left+"px");var u=this.scrollBarV.getWidth()+"px";i.setStyle(this.scrollBarH.element.style,"right",u),i.setStyle(this.scroller.style,"right",u),i.setStyle(this.scroller.style,"bottom",this.scrollBarH.getHeight()),this.scrollBarH.setWidth(s.scrollerWidth),(this.session&&this.session.getUseWrapMode()&&this.adjustWrapLimit()||t)&&(o|=this.CHANGE_FULL)}return s.$dirty=!e||!r,o&&this._signal("resize",a),o},t.prototype.onGutterResize=function(t){var n=this.$showGutter?t:0;n!=this.gutterWidth&&(this.$changes|=this.$updateCachedSize(!0,n,this.$size.width,this.$size.height)),this.session.getUseWrapMode()&&this.adjustWrapLimit()||this.$size.$dirty?this.$loop.schedule(this.CHANGE_FULL):this.$computeLayerConfig()},t.prototype.adjustWrapLimit=function(){var t=this.$size.scrollerWidth-2*this.$padding,n=Math.floor(t/this.characterWidth);return this.session.adjustWrapLimit(n,this.$showPrintMargin&&this.$printMarginColumn)},t.prototype.setAnimatedScroll=function(t){this.setOption("animatedScroll",t)},t.prototype.getAnimatedScroll=function(){return this.$animatedScroll},t.prototype.setShowInvisibles=function(t){this.setOption("showInvisibles",t),this.session.$bidiHandler.setShowInvisibles(t)},t.prototype.getShowInvisibles=function(){return this.getOption("showInvisibles")},t.prototype.getDisplayIndentGuides=function(){return this.getOption("displayIndentGuides")},t.prototype.setDisplayIndentGuides=function(t){this.setOption("displayIndentGuides",t)},t.prototype.getHighlightIndentGuides=function(){return this.getOption("highlightIndentGuides")},t.prototype.setHighlightIndentGuides=function(t){this.setOption("highlightIndentGuides",t)},t.prototype.setShowPrintMargin=function(t){this.setOption("showPrintMargin",t)},t.prototype.getShowPrintMargin=function(){return this.getOption("showPrintMargin")},t.prototype.setPrintMarginColumn=function(t){this.setOption("printMarginColumn",t)},t.prototype.getPrintMarginColumn=function(){return this.getOption("printMarginColumn")},t.prototype.getShowGutter=function(){return this.getOption("showGutter")},t.prototype.setShowGutter=function(t){return this.setOption("showGutter",t)},t.prototype.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},t.prototype.setFadeFoldWidgets=function(t){this.setOption("fadeFoldWidgets",t)},t.prototype.setHighlightGutterLine=function(t){this.setOption("highlightGutterLine",t)},t.prototype.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},t.prototype.$updatePrintMargin=function(){if(this.$showPrintMargin||this.$printMarginEl){if(!this.$printMarginEl){var t=i.createElement("div");t.className="ace_layer ace_print-margin-layer",this.$printMarginEl=i.createElement("div"),this.$printMarginEl.className="ace_print-margin",t.appendChild(this.$printMarginEl),this.content.insertBefore(t,this.content.firstChild)}var n=this.$printMarginEl.style;n.left=Math.round(this.characterWidth*this.$printMarginColumn+this.$padding)+"px",n.visibility=this.$showPrintMargin?"visible":"hidden",this.session&&-1==this.session.$wrap&&this.adjustWrapLimit()}},t.prototype.getContainerElement=function(){return this.container},t.prototype.getMouseEventTarget=function(){return this.scroller},t.prototype.getTextAreaContainer=function(){return this.container},t.prototype.$moveTextAreaToCursor=function(){if(!this.$isMousePressed){var t=this.textarea.style,n=this.$composition;if(this.$keepTextAreaAtCursor||n){var e=this.$cursorLayer.$pixelPos;if(e){n&&n.markerRange&&(e=this.$cursorLayer.getPixelPosition(n.markerRange.start,!0));var r=this.layerConfig,o=e.top,s=e.left;o-=r.offset;var a=n&&n.useTextareaForIME||w.isMobile?this.lineHeight:1;if(o<0||o>r.height-a)i.translate(this.textarea,0,0);else{var u=1,c=this.$size.height-a;if(n)if(n.useTextareaForIME){var l=this.textarea.value;u=this.characterWidth*this.session.$getStringScreenWidth(l)[0]}else o+=this.lineHeight+2;else o+=this.lineHeight;(s-=this.scrollLeft)>this.$size.scrollerWidth-u&&(s=this.$size.scrollerWidth-u),s+=this.gutterWidth+this.margin.left,i.setStyle(t,"height",a+"px"),i.setStyle(t,"width",u+"px"),i.translate(this.textarea,Math.min(s,this.$size.scrollerWidth-u),Math.min(o,c))}}}else i.translate(this.textarea,-100,0)}},t.prototype.getFirstVisibleRow=function(){return this.layerConfig.firstRow},t.prototype.getFirstFullyVisibleRow=function(){return this.layerConfig.firstRow+(0===this.layerConfig.offset?0:1)},t.prototype.getLastFullyVisibleRow=function(){var t=this.layerConfig,n=t.lastRow;return this.session.documentToScreenRow(n,0)*t.lineHeight-this.session.getScrollTop()>t.height-t.lineHeight?n-1:n},t.prototype.getLastVisibleRow=function(){return this.layerConfig.lastRow},t.prototype.setPadding=function(t){this.$padding=t,this.$textLayer.setPadding(t),this.$cursorLayer.setPadding(t),this.$markerFront.setPadding(t),this.$markerBack.setPadding(t),this.$loop.schedule(this.CHANGE_FULL),this.$updatePrintMargin()},t.prototype.setScrollMargin=function(t,n,e,r){var i=this.scrollMargin;i.top=0|t,i.bottom=0|n,i.right=0|r,i.left=0|e,i.v=i.top+i.bottom,i.h=i.left+i.right,i.top&&this.scrollTop<=0&&this.session&&this.session.setScrollTop(-i.top),this.updateFull()},t.prototype.setMargin=function(t,n,e,r){var i=this.margin;i.top=0|t,i.bottom=0|n,i.right=0|r,i.left=0|e,i.v=i.top+i.bottom,i.h=i.left+i.right,this.$updateCachedSize(!0,this.gutterWidth,this.$size.width,this.$size.height),this.updateFull()},t.prototype.getHScrollBarAlwaysVisible=function(){return this.$hScrollBarAlwaysVisible},t.prototype.setHScrollBarAlwaysVisible=function(t){this.setOption("hScrollBarAlwaysVisible",t)},t.prototype.getVScrollBarAlwaysVisible=function(){return this.$vScrollBarAlwaysVisible},t.prototype.setVScrollBarAlwaysVisible=function(t){this.setOption("vScrollBarAlwaysVisible",t)},t.prototype.$updateScrollBarV=function(){var t=this.layerConfig.maxHeight,n=this.$size.scrollerHeight;!this.$maxLines&&this.$scrollPastEnd&&(t-=(n-this.lineHeight)*this.$scrollPastEnd,this.scrollTop>t-n&&(t=this.scrollTop+n,this.scrollBarV.scrollTop=null)),this.scrollBarV.setScrollHeight(t+this.scrollMargin.v),this.scrollBarV.setScrollTop(this.scrollTop+this.scrollMargin.top)},t.prototype.$updateScrollBarH=function(){this.scrollBarH.setScrollWidth(this.layerConfig.width+2*this.$padding+this.scrollMargin.h),this.scrollBarH.setScrollLeft(this.scrollLeft+this.scrollMargin.left)},t.prototype.freeze=function(){this.$frozen=!0},t.prototype.unfreeze=function(){this.$frozen=!1},t.prototype.$renderChanges=function(t,n){if(this.$changes&&(t|=this.$changes,this.$changes=0),this.session&&this.container.offsetWidth&&!this.$frozen&&(t||n)){if(this.$size.$dirty)return this.$changes|=t,this.onResize(!0);this.lineHeight||this.$textLayer.checkForSizeChanges(),this._signal("beforeRender",t),this.session&&this.session.$bidiHandler&&this.session.$bidiHandler.updateCharacterWidths(this.$fontMetrics);var e=this.layerConfig;if(t&this.CHANGE_FULL||t&this.CHANGE_SIZE||t&this.CHANGE_TEXT||t&this.CHANGE_LINES||t&this.CHANGE_SCROLL||t&this.CHANGE_H_SCROLL){if(t|=this.$computeLayerConfig()|this.$loop.clear(),e.firstRow!=this.layerConfig.firstRow&&e.firstRowScreen==this.layerConfig.firstRowScreen){var r=this.scrollTop+(e.firstRow-Math.max(this.layerConfig.firstRow,0))*this.lineHeight;r>0&&(this.scrollTop=r,t|=this.CHANGE_SCROLL,t|=this.$computeLayerConfig()|this.$loop.clear())}e=this.layerConfig,this.$updateScrollBarV(),t&this.CHANGE_H_SCROLL&&this.$updateScrollBarH(),i.translate(this.content,-this.scrollLeft,-e.offset);var o=e.width+2*this.$padding+"px",s=e.minHeight+"px";i.setStyle(this.content.style,"width",o),i.setStyle(this.content.style,"height",s)}if(t&this.CHANGE_H_SCROLL&&(i.translate(this.content,-this.scrollLeft,-e.offset),this.scroller.className=this.scrollLeft<=0?"ace_scroller ":"ace_scroller ace_scroll-left ",this.enableKeyboardAccessibility&&(this.scroller.className+=this.keyboardFocusClassName)),t&this.CHANGE_FULL)return this.$changedLines=null,this.$textLayer.update(e),this.$showGutter&&this.$gutterLayer.update(e),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(e),this.$markerBack.update(e),this.$markerFront.update(e),this.$cursorLayer.update(e),this.$moveTextAreaToCursor(),void this._signal("afterRender",t);if(t&this.CHANGE_SCROLL)return this.$changedLines=null,t&this.CHANGE_TEXT||t&this.CHANGE_LINES?this.$textLayer.update(e):this.$textLayer.scrollLines(e),this.$showGutter&&(t&this.CHANGE_GUTTER||t&this.CHANGE_LINES?this.$gutterLayer.update(e):this.$gutterLayer.scrollLines(e)),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(e),this.$markerBack.update(e),this.$markerFront.update(e),this.$cursorLayer.update(e),this.$moveTextAreaToCursor(),void this._signal("afterRender",t);t&this.CHANGE_TEXT?(this.$changedLines=null,this.$textLayer.update(e),this.$showGutter&&this.$gutterLayer.update(e),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(e)):t&this.CHANGE_LINES?((this.$updateLines()||t&this.CHANGE_GUTTER&&this.$showGutter)&&this.$gutterLayer.update(e),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(e)):t&this.CHANGE_TEXT||t&this.CHANGE_GUTTER?(this.$showGutter&&this.$gutterLayer.update(e),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(e)):t&this.CHANGE_CURSOR&&(this.$highlightGutterLine&&this.$gutterLayer.updateLineHighlight(e),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(e)),t&this.CHANGE_CURSOR&&(this.$cursorLayer.update(e),this.$moveTextAreaToCursor()),t&(this.CHANGE_MARKER|this.CHANGE_MARKER_FRONT)&&this.$markerFront.update(e),t&(this.CHANGE_MARKER|this.CHANGE_MARKER_BACK)&&this.$markerBack.update(e),this._signal("afterRender",t)}else this.$changes|=t},t.prototype.$autosize=function(){var t=this.session.getScreenLength()*this.lineHeight,n=this.$maxLines*this.lineHeight,e=Math.min(n,Math.max((this.$minLines||1)*this.lineHeight,t))+this.scrollMargin.v+(this.$extraHeight||0);this.$horizScroll&&(e+=this.scrollBarH.getHeight()),this.$maxPixelHeight&&e>this.$maxPixelHeight&&(e=this.$maxPixelHeight);var r=!(e<=2*this.lineHeight)&&t>n;if(e!=this.desiredHeight||this.$size.height!=this.desiredHeight||r!=this.$vScroll){r!=this.$vScroll&&(this.$vScroll=r,this.scrollBarV.setVisible(r));var i=this.container.clientWidth;this.container.style.height=e+"px",this.$updateCachedSize(!0,this.$gutterWidth,i,e),this.desiredHeight=e,this._signal("autosize")}},t.prototype.$computeLayerConfig=function(){var t=this.session,n=this.$size,e=n.height<=2*this.lineHeight,r=this.session.getScreenLength()*this.lineHeight,i=this.$getLongestLine(),o=!e&&(this.$hScrollBarAlwaysVisible||n.scrollerWidth-i-2*this.$padding<0),s=this.$horizScroll!==o;s&&(this.$horizScroll=o,this.scrollBarH.setVisible(o));var a=this.$vScroll;this.$maxLines&&this.lineHeight>1&&this.$autosize();var u=n.scrollerHeight+this.lineHeight,c=!this.$maxLines&&this.$scrollPastEnd?(n.scrollerHeight-this.lineHeight)*this.$scrollPastEnd:0;r+=c;var l=this.scrollMargin;this.session.setScrollTop(Math.max(-l.top,Math.min(this.scrollTop,r-n.scrollerHeight+l.bottom))),this.session.setScrollLeft(Math.max(-l.left,Math.min(this.scrollLeft,i+2*this.$padding-n.scrollerWidth+l.right)));var h=!e&&(this.$vScrollBarAlwaysVisible||n.scrollerHeight-r+c<0||this.scrollTop>l.top),f=a!==h;f&&(this.$vScroll=h,this.scrollBarV.setVisible(h));var d,p,_=this.scrollTop%this.lineHeight,m=Math.ceil(u/this.lineHeight)-1,v=Math.max(0,Math.round((this.scrollTop-_)/this.lineHeight)),g=v+m,b=this.lineHeight;v=t.screenToDocumentRow(v,0);var w=t.getFoldLine(v);w&&(v=w.start.row),d=t.documentToScreenRow(v,0),p=t.getRowLength(v)*b,g=Math.min(t.screenToDocumentRow(g,0),t.getLength()-1),u=n.scrollerHeight+t.getRowLength(g)*b+p,_=this.scrollTop-d*b;var y=0;return(this.layerConfig.width!=i||s)&&(y=this.CHANGE_H_SCROLL),(s||f)&&(y|=this.$updateCachedSize(!0,this.gutterWidth,n.width,n.height),this._signal("scrollbarVisibilityChanged"),f&&(i=this.$getLongestLine())),this.layerConfig={width:i,padding:this.$padding,firstRow:v,firstRowScreen:d,lastRow:g,lineHeight:b,characterWidth:this.characterWidth,minHeight:u,maxHeight:r,offset:_,gutterOffset:b?Math.max(0,Math.ceil((_+n.height-n.scrollerHeight)/b)):0,height:this.$size.scrollerHeight},this.session.$bidiHandler&&this.session.$bidiHandler.setContentWidth(i-this.$padding),y},t.prototype.$updateLines=function(){if(this.$changedLines){var t=this.$changedLines.firstRow,n=this.$changedLines.lastRow;this.$changedLines=null;var e=this.layerConfig;if(!(t>e.lastRow+1||nthis.$textLayer.MAX_LINE_LENGTH&&(t=this.$textLayer.MAX_LINE_LENGTH+30),Math.max(this.$size.scrollerWidth-2*this.$padding,Math.round(t*this.characterWidth))},t.prototype.updateFrontMarkers=function(){this.$markerFront.setMarkers(this.session.getMarkers(!0)),this.$loop.schedule(this.CHANGE_MARKER_FRONT)},t.prototype.updateBackMarkers=function(){this.$markerBack.setMarkers(this.session.getMarkers()),this.$loop.schedule(this.CHANGE_MARKER_BACK)},t.prototype.addGutterDecoration=function(t,n){this.$gutterLayer.addGutterDecoration(t,n)},t.prototype.removeGutterDecoration=function(t,n){this.$gutterLayer.removeGutterDecoration(t,n)},t.prototype.updateBreakpoints=function(t){this.$loop.schedule(this.CHANGE_GUTTER)},t.prototype.setAnnotations=function(t){this.$gutterLayer.setAnnotations(t),this.$loop.schedule(this.CHANGE_GUTTER)},t.prototype.updateCursor=function(){this.$loop.schedule(this.CHANGE_CURSOR)},t.prototype.hideCursor=function(){this.$cursorLayer.hideCursor()},t.prototype.showCursor=function(){this.$cursorLayer.showCursor()},t.prototype.scrollSelectionIntoView=function(t,n,e){this.scrollCursorIntoView(t,e),this.scrollCursorIntoView(n,e)},t.prototype.scrollCursorIntoView=function(t,n,e){if(0!==this.$size.scrollerHeight){var r=this.$cursorLayer.getPixelPosition(t),i=r.left,o=r.top,s=e&&e.top||0,a=e&&e.bottom||0;this.$scrollAnimation&&(this.$stopAnimation=!0);var u=this.$scrollAnimation?this.session.getScrollTop():this.scrollTop;u+s>o?(n&&u+s>o+this.lineHeight&&(o-=n*this.$size.scrollerHeight),0===o&&(o=-this.scrollMargin.top),this.session.setScrollTop(o)):u+this.$size.scrollerHeight-a=1-this.scrollMargin.top||n>0&&this.session.getScrollTop()+this.$size.scrollerHeight-this.layerConfig.maxHeight<-1+this.scrollMargin.bottom||t<0&&this.session.getScrollLeft()>=1-this.scrollMargin.left||t>0&&this.session.getScrollLeft()+this.$size.scrollerWidth-this.layerConfig.width<-1+this.scrollMargin.right||void 0},t.prototype.pixelToScreenCoordinates=function(t,n){var e;if(this.$hasCssTransforms){e={top:0,left:0};var r=this.$fontMetrics.transformCoordinates([t,n]);t=r[1]-this.gutterWidth-this.margin.left,n=r[0]}else e=this.scroller.getBoundingClientRect();var i=t+this.scrollLeft-e.left-this.$padding,o=i/this.characterWidth,s=Math.floor((n+this.scrollTop-e.top)/this.lineHeight),a=this.$blockCursor?Math.floor(o):Math.round(o);return{row:s,column:a,side:o-a>0?1:-1,offsetX:i}},t.prototype.screenToTextCoordinates=function(t,n){var e;if(this.$hasCssTransforms){e={top:0,left:0};var r=this.$fontMetrics.transformCoordinates([t,n]);t=r[1]-this.gutterWidth-this.margin.left,n=r[0]}else e=this.scroller.getBoundingClientRect();var i=t+this.scrollLeft-e.left-this.$padding,o=i/this.characterWidth,s=this.$blockCursor?Math.floor(o):Math.round(o),a=Math.floor((n+this.scrollTop-e.top)/this.lineHeight);return this.session.screenToDocumentPosition(a,Math.max(s,0),i)},t.prototype.textToScreenCoordinates=function(t,n){var e=this.scroller.getBoundingClientRect(),r=this.session.documentToScreenPosition(t,n),i=this.$padding+(this.session.$bidiHandler.isBidiRow(r.row,t)?this.session.$bidiHandler.getPosLeft(r.column):Math.round(r.column*this.characterWidth)),o=r.row*this.lineHeight;return{pageX:e.left+i-this.scrollLeft,pageY:e.top+o-this.scrollTop}},t.prototype.visualizeFocus=function(){i.addCssClass(this.container,"ace_focus")},t.prototype.visualizeBlur=function(){i.removeCssClass(this.container,"ace_focus")},t.prototype.showComposition=function(t){this.$composition=t,t.cssText||(t.cssText=this.textarea.style.cssText),null==t.useTextareaForIME&&(t.useTextareaForIME=this.$useTextareaForIME),this.$useTextareaForIME?(i.addCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText="",this.$moveTextAreaToCursor(),this.$cursorLayer.element.style.display="none"):t.markerId=this.session.addMarker(t.markerRange,"ace_composition_marker","text")},t.prototype.setCompositionText=function(t){var n=this.session.selection.cursor;this.addToken(t,"composition_placeholder",n.row,n.column),this.$moveTextAreaToCursor()},t.prototype.hideComposition=function(){if(this.$composition){this.$composition.markerId&&this.session.removeMarker(this.$composition.markerId),i.removeCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText=this.$composition.cssText;var t=this.session.selection.cursor;this.removeExtraToken(t.row,t.column),this.$composition=null,this.$cursorLayer.element.style.display=""}},t.prototype.setGhostText=function(t,n){var e=this.session.selection.cursor,r=n||{row:e.row,column:e.column};this.removeGhostText();var i=t.split("\n");this.addToken(i[0],"ghost_text",r.row,r.column),this.$ghostText={text:t,position:{row:r.row,column:r.column}},i.length>1&&(this.$ghostTextWidget={text:i.slice(1).join("\n"),row:r.row,column:r.column,className:"ace_ghost_text"},this.session.widgetManager.addLineWidget(this.$ghostTextWidget))},t.prototype.removeGhostText=function(){if(this.$ghostText){var t=this.$ghostText.position;this.removeExtraToken(t.row,t.column),this.$ghostTextWidget&&(this.session.widgetManager.removeLineWidget(this.$ghostTextWidget),this.$ghostTextWidget=null),this.$ghostText=null}},t.prototype.addToken=function(t,n,e,r){var i=this.session;i.bgTokenizer.lines[e]=null;var o={type:n,value:t},s=i.getTokens(e);if(null!=r&&s.length)for(var a=0,u=0;u1||Math.abs(t.$size.height-r)>1?t.$resizeTimer.delay():t.$resizeTimer.cancel()})),this.$resizeObserver.observe(this.container)}},t}();y.prototype.CHANGE_CURSOR=1,y.prototype.CHANGE_MARKER=2,y.prototype.CHANGE_GUTTER=4,y.prototype.CHANGE_SCROLL=8,y.prototype.CHANGE_LINES=16,y.prototype.CHANGE_TEXT=32,y.prototype.CHANGE_SIZE=64,y.prototype.CHANGE_MARKER_BACK=128,y.prototype.CHANGE_MARKER_FRONT=256,y.prototype.CHANGE_FULL=512,y.prototype.CHANGE_H_SCROLL=1024,y.prototype.$changes=0,y.prototype.$padding=null,y.prototype.$frozen=!1,y.prototype.STEPS=8,r.implement(y.prototype,v),s.defineOptions(y.prototype,"renderer",{useResizeObserver:{set:function(t){!t&&this.$resizeObserver?(this.$resizeObserver.disconnect(),this.$resizeTimer.cancel(),this.$resizeTimer=this.$resizeObserver=null):t&&!this.$resizeObserver&&this.$addResizeObserver()}},animatedScroll:{initialValue:!1},showInvisibles:{set:function(t){this.$textLayer.setShowInvisibles(t)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!1},showPrintMargin:{set:function(){this.$updatePrintMargin()},initialValue:!0},printMarginColumn:{set:function(){this.$updatePrintMargin()},initialValue:80},printMargin:{set:function(t){"number"==typeof t&&(this.$printMarginColumn=t),this.$showPrintMargin=!!t,this.$updatePrintMargin()},get:function(){return this.$showPrintMargin&&this.$printMarginColumn}},showGutter:{set:function(t){this.$gutter.style.display=t?"block":"none",this.$loop.schedule(this.CHANGE_FULL),this.onGutterResize()},initialValue:!0},useSvgGutterIcons:{set:function(t){this.$gutterLayer.$useSvgGutterIcons=t},initialValue:!1},showFoldedAnnotations:{set:function(t){this.$gutterLayer.$showFoldedAnnotations=t},initialValue:!1},fadeFoldWidgets:{set:function(t){i.setCssClass(this.$gutter,"ace_fade-fold-widgets",t)},initialValue:!1},showFoldWidgets:{set:function(t){this.$gutterLayer.setShowFoldWidgets(t),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},displayIndentGuides:{set:function(t){this.$textLayer.setDisplayIndentGuides(t)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!0},highlightIndentGuides:{set:function(t){1==this.$textLayer.setHighlightIndentGuides(t)?this.$textLayer.$highlightIndentGuide():this.$textLayer.$clearActiveIndentGuide(this.$textLayer.$lines.cells)},initialValue:!0},highlightGutterLine:{set:function(t){this.$gutterLayer.setHighlightGutterLine(t),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},hScrollBarAlwaysVisible:{set:function(t){this.$hScrollBarAlwaysVisible&&this.$horizScroll||this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},vScrollBarAlwaysVisible:{set:function(t){this.$vScrollBarAlwaysVisible&&this.$vScroll||this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},fontSize:{set:function(t){"number"==typeof t&&(t+="px"),this.container.style.fontSize=t,this.updateFontSize()},initialValue:12},fontFamily:{set:function(t){this.container.style.fontFamily=t,this.updateFontSize()}},maxLines:{set:function(t){this.updateFull()}},minLines:{set:function(t){this.$minLines<562949953421311||(this.$minLines=0),this.updateFull()}},maxPixelHeight:{set:function(t){this.updateFull()},initialValue:0},scrollPastEnd:{set:function(t){t=+t||0,this.$scrollPastEnd!=t&&(this.$scrollPastEnd=t,this.$loop.schedule(this.CHANGE_SCROLL))},initialValue:0,handlesSet:!0},fixedWidthGutter:{set:function(t){this.$gutterLayer.$fixedWidth=!!t,this.$loop.schedule(this.CHANGE_GUTTER)}},customScrollbar:{set:function(t){this.$updateCustomScrollbar(t)},initialValue:!1},theme:{set:function(t){this.setTheme(t)},get:function(){return this.$themeId||this.theme},initialValue:"./theme/textmate",handlesSet:!0},hasCssTransforms:{},useTextareaForIME:{initialValue:!w.isMobile&&!w.isIE}}),n.VirtualRenderer=y})),ace.define("ace/worker/worker_client",["require","exports","module","ace/lib/oop","ace/lib/net","ace/lib/event_emitter","ace/config"],(function(t,n,e){"use strict";var r=t("../lib/oop"),i=t("../lib/net"),o=t("../lib/event_emitter").EventEmitter,s=t("../config");function a(t){if("undefined"==typeof Worker)return{postMessage:function(){},terminate:function(){}};if(s.get("loadWorkerFromBlob")){var n=function(t){var n="importScripts('"+i.qualifyURL(t)+"');";try{return new Blob([n],{type:"application/javascript"})}catch(t){var e=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder);return e.append(n),e.getBlob("application/javascript")}}(t),e=(window.URL||window.webkitURL).createObjectURL(n);return new Worker(e)}return new Worker(t)}var u=function(t){t.postMessage||(t=this.$createWorkerFromOldConfig.apply(this,arguments)),this.$worker=t,this.$sendDeltaQueue=this.$sendDeltaQueue.bind(this),this.changeListener=this.changeListener.bind(this),this.onMessage=this.onMessage.bind(this),this.callbackId=1,this.callbacks={},this.$worker.onmessage=this.onMessage};(function(){r.implement(this,o),this.$createWorkerFromOldConfig=function(n,e,r,i,o){if(t.nameToUrl&&!t.toUrl&&(t.toUrl=t.nameToUrl),s.get("packaged")||!t.toUrl)i=i||s.moduleUrl(e,"worker");else{var u=this.$normalizePath;i=i||u(t.toUrl("ace/worker/worker.js",null,"_"));var c={};n.forEach((function(n){c[n]=u(t.toUrl(n,null,"_").replace(/(\.js)?(\?.*)?$/,""))}))}return this.$worker=a(i),o&&this.send("importScripts",o),this.$worker.postMessage({init:!0,tlns:c,module:e,classname:r}),this.$worker},this.onMessage=function(t){var n=t.data;switch(n.type){case"event":this._signal(n.name,{data:n.data});break;case"call":var e=this.callbacks[n.id];e&&(e(n.data),delete this.callbacks[n.id]);break;case"error":this.reportError(n.data);break;case"log":window.console&&console.log&&console.log.apply(console,n.data)}},this.reportError=function(t){window.console&&console.error&&console.error(t)},this.$normalizePath=function(t){return i.qualifyURL(t)},this.terminate=function(){this._signal("terminate",{}),this.deltaQueue=null,this.$worker.terminate(),this.$worker.onerror=function(t){t.preventDefault()},this.$worker=null,this.$doc&&this.$doc.off("change",this.changeListener),this.$doc=null},this.send=function(t,n){this.$worker.postMessage({command:t,args:n})},this.call=function(t,n,e){if(e){var r=this.callbackId++;this.callbacks[r]=e,n.push(r)}this.send(t,n)},this.emit=function(t,n){try{n.data&&n.data.err&&(n.data.err={message:n.data.err.message,stack:n.data.err.stack,code:n.data.err.code}),this.$worker&&this.$worker.postMessage({event:t,data:{data:n.data}})}catch(t){console.error(t.stack)}},this.attachToDocument=function(t){this.$doc&&this.terminate(),this.$doc=t,this.call("setValue",[t.getValue()]),t.on("change",this.changeListener,!0)},this.changeListener=function(t){this.deltaQueue||(this.deltaQueue=[],setTimeout(this.$sendDeltaQueue,0)),"insert"==t.action?this.deltaQueue.push(t.start,t.lines):this.deltaQueue.push(t.start,t.end)},this.$sendDeltaQueue=function(){var t=this.deltaQueue;t&&(this.deltaQueue=null,t.length>50&&t.length>this.$doc.getLength()>>1?this.call("setValue",[this.$doc.getValue()]):this.emit("change",{data:t}))}}).call(u.prototype),n.UIWorkerClient=function(t,n,e){var r=null,i=!1,a=Object.create(o),c=[],l=new u({messageBuffer:c,terminate:function(){},postMessage:function(t){c.push(t),r&&(i?setTimeout(h):h())}});l.setEmitSync=function(t){i=t};var h=function(){var t=c.shift();t.command?r[t.command].apply(r,t.args):t.event&&a._signal(t.event,t.data)};return a.postMessage=function(t){l.onMessage({data:t})},a.callback=function(t,n){this.postMessage({type:"call",id:n,data:t})},a.emit=function(t,n){this.postMessage({type:"event",name:t,data:n})},s.loadModule(["worker",n],(function(t){for(r=new t[e](a);c.length;)h()})),l},n.WorkerClient=u,n.createWorker=a})),ace.define("ace/placeholder",["require","exports","module","ace/range","ace/lib/event_emitter","ace/lib/oop"],(function(t,n,e){"use strict";var r=t("./range").Range,i=t("./lib/event_emitter").EventEmitter,o=t("./lib/oop"),s=function(){function t(t,n,e,r,i,o){var s=this;this.length=n,this.session=t,this.doc=t.getDocument(),this.mainClass=i,this.othersClass=o,this.$onUpdate=this.onUpdate.bind(this),this.doc.on("change",this.$onUpdate,!0),this.$others=r,this.$onCursorChange=function(){setTimeout((function(){s.onCursorChange()}))},this.$pos=e;var a=t.getUndoManager().$undoStack||t.getUndoManager().$undostack||{length:-1};this.$undoStackDepth=a.length,this.setup(),t.selection.on("changeCursor",this.$onCursorChange)}return t.prototype.setup=function(){var t=this,n=this.doc,e=this.session;this.selectionBefore=e.selection.toJSON(),e.selection.inMultiSelectMode&&e.selection.toSingleRange(),this.pos=n.createAnchor(this.$pos.row,this.$pos.column);var i=this.pos;i.$insertRight=!0,i.detach(),i.markerId=e.addMarker(new r(i.row,i.column,i.row,i.column+this.length),this.mainClass,null,!1),this.others=[],this.$others.forEach((function(e){var r=n.createAnchor(e.row,e.column);r.$insertRight=!0,r.detach(),t.others.push(r)})),e.setUndoSelect(!1)},t.prototype.showOtherMarkers=function(){if(!this.othersActive){var t=this.session,n=this;this.othersActive=!0,this.others.forEach((function(e){e.markerId=t.addMarker(new r(e.row,e.column,e.row,e.column+n.length),n.othersClass,null,!1)}))}},t.prototype.hideOtherMarkers=function(){if(this.othersActive){this.othersActive=!1;for(var t=0;t=this.pos.column&&n.start.column<=this.pos.column+this.length+1,o=n.start.column-this.pos.column;if(this.updateAnchors(t),i&&(this.length+=e),i&&!this.session.$fromUndo)if("insert"===t.action)for(var s=this.others.length-1;s>=0;s--){var a={row:(u=this.others[s]).row,column:u.column+o};this.doc.insertMergedLines(a,t.lines)}else if("remove"===t.action)for(s=this.others.length-1;s>=0;s--){var u;a={row:(u=this.others[s]).row,column:u.column+o},this.doc.remove(new r(a.row,a.column,a.row,a.column-e))}this.$updating=!1,this.updateMarkers()}},t.prototype.updateAnchors=function(t){this.pos.onChange(t);for(var n=this.others.length;n--;)this.others[n].onChange(t);this.updateMarkers()},t.prototype.updateMarkers=function(){if(!this.$updating){var t=this,n=this.session,e=function(e,i){n.removeMarker(e.markerId),e.markerId=n.addMarker(new r(e.row,e.column,e.row,e.column+t.length),i,null,!1)};e(this.pos,this.mainClass);for(var i=this.others.length;i--;)e(this.others[i],this.othersClass)}},t.prototype.onCursorChange=function(t){if(!this.$updating&&this.session){var n=this.session.selection.getCursor();n.row===this.pos.row&&n.column>=this.pos.column&&n.column<=this.pos.column+this.length?(this.showOtherMarkers(),this._emit("cursorEnter",t)):(this.hideOtherMarkers(),this._emit("cursorLeave",t))}},t.prototype.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},t.prototype.cancel=function(){if(-1!==this.$undoStackDepth){for(var t=this.session.getUndoManager(),n=(t.$undoStack||t.$undostack).length-this.$undoStackDepth,e=0;e1?t.multiSelect.joinSelections():t.multiSelect.splitIntoLines()},bindKey:{win:"Ctrl-Alt-L",mac:"Ctrl-Alt-L"},readOnly:!0},{name:"splitSelectionIntoLines",description:"Split into lines",exec:function(t){t.multiSelect.splitIntoLines()},readOnly:!0},{name:"alignCursors",description:"Align cursors",exec:function(t){t.alignCursors()},bindKey:{win:"Ctrl-Alt-A",mac:"Ctrl-Alt-A"},scrollIntoView:"cursor"},{name:"findAll",description:"Find all",exec:function(t){t.findAll()},bindKey:{win:"Ctrl-Alt-K",mac:"Ctrl-Alt-G"},scrollIntoView:"cursor",readOnly:!0}],n.multiSelectCommands=[{name:"singleSelection",description:"Single selection",bindKey:"esc",exec:function(t){t.exitMultiSelectMode()},scrollIntoView:"cursor",readOnly:!0,isAvailable:function(t){return t&&t.inMultiSelectMode}}];var r=t("../keyboard/hash_handler").HashHandler;n.keyboardHandler=new r(n.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(t,n,e){var r=t("./range_list").RangeList,i=t("./range").Range,o=t("./selection").Selection,s=t("./mouse/multi_select_handler").onMouseDown,a=t("./lib/event"),u=t("./lib/lang"),c=t("./commands/multi_select_commands");n.commands=c.defaultCommands.concat(c.multiSelectCommands);var l=new(0,t("./search").Search),h=t("./edit_session").EditSession;(function(){this.getSelectionMarkers=function(){return this.$selectionMarkers}}).call(h.prototype),function(){this.ranges=null,this.rangeList=null,this.addRange=function(t,n){if(t){if(!this.inMultiSelectMode&&0===this.rangeCount){var e=this.toOrientedRange();if(this.rangeList.add(e),this.rangeList.add(t),2!=this.rangeList.ranges.length)return this.rangeList.removeAll(),n||this.fromOrientedRange(t);this.rangeList.removeAll(),this.rangeList.add(e),this.$onAddRange(e)}t.cursor||(t.cursor=t.end);var r=this.rangeList.add(t);return this.$onAddRange(t),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)),n||this.fromOrientedRange(t)}},this.toSingleRange=function(t){t=t||this.ranges[0];var n=this.rangeList.removeAll();n.length&&this.$onRemoveRange(n),t&&this.fromOrientedRange(t)},this.substractPoint=function(t){var n=this.rangeList.substractPoint(t);if(n)return this.$onRemoveRange(n),n[0]},this.mergeOverlappingRanges=function(){var t=this.rangeList.merge();t.length&&this.$onRemoveRange(t)},this.$onAddRange=function(t){this.rangeCount=this.rangeList.ranges.length,this.ranges.unshift(t),this._signal("addRange",{range:t})},this.$onRemoveRange=function(t){if(this.rangeCount=this.rangeList.ranges.length,1==this.rangeCount&&this.inMultiSelectMode){var n=this.rangeList.ranges.pop();t.push(n),this.rangeCount=0}for(var e=t.length;e--;){var r=this.ranges.indexOf(t[e]);this.ranges.splice(r,1)}this._signal("removeRange",{ranges:t}),0===this.rangeCount&&this.inMultiSelectMode&&(this.inMultiSelectMode=!1,this._signal("singleSelect"),this.session.$undoSelect=!0,this.rangeList.detach(this.session)),(n=n||this.ranges[0])&&!n.isEqual(this.getRange())&&this.fromOrientedRange(n)},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 t=this.ranges.length?this.ranges:[this.getRange()],n=[],e=0;e1){var t=this.rangeList.ranges,n=t[t.length-1],e=i.fromPoints(t[0].start,n.end);this.toSingleRange(),this.setSelectionRange(e,n.cursor==n.start)}else{var r=this.session.documentToScreenPosition(this.cursor),o=this.session.documentToScreenPosition(this.anchor);this.rectangularRangeBlock(r,o).forEach(this.addRange,this)}},this.rectangularRangeBlock=function(t,n,e){var r=[],o=t.column0;)g--;if(g>0)for(var b=0;r[b].isEmpty();)b++;for(var w=g;w>=b;w--)r[w].isEmpty()&&r.splice(w,1)}return r}}.call(o.prototype);var f=t("./editor").Editor;function d(t){t.$multiselectOnSessionChange||(t.$onAddRange=t.$onAddRange.bind(t),t.$onRemoveRange=t.$onRemoveRange.bind(t),t.$onMultiSelect=t.$onMultiSelect.bind(t),t.$onSingleSelect=t.$onSingleSelect.bind(t),t.$multiselectOnSessionChange=n.onSessionChange.bind(t),t.$checkMultiselectChange=t.$checkMultiselectChange.bind(t),t.$multiselectOnSessionChange(t),t.on("changeSession",t.$multiselectOnSessionChange),t.on("mousedown",s),t.commands.addCommands(c.defaultCommands),function(t){if(t.textInput){var n=t.textInput.getElement(),e=!1;a.addListener(n,"keydown",(function(n){var i=18==n.keyCode&&!(n.ctrlKey||n.shiftKey||n.metaKey);t.$blockSelectEnabled&&i?e||(t.renderer.setMouseCursor("crosshair"),e=!0):e&&r()}),t),a.addListener(n,"keyup",r,t),a.addListener(n,"blur",r,t)}function r(n){e&&(t.renderer.setMouseCursor(""),e=!1)}}(t))}(function(){this.updateSelectionMarkers=function(){this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.addSelectionMarker=function(t){t.cursor||(t.cursor=t.end);var n=this.getSelectionStyle();return t.marker=this.session.addMarker(t,"ace_selection",n),this.session.$selectionMarkers.push(t),this.session.selectionMarkerCount=this.session.$selectionMarkers.length,t},this.removeSelectionMarker=function(t){if(t.marker){this.session.removeMarker(t.marker);var n=this.session.$selectionMarkers.indexOf(t);-1!=n&&this.session.$selectionMarkers.splice(n,1),this.session.selectionMarkerCount=this.session.$selectionMarkers.length}},this.removeSelectionMarkers=function(t){for(var n=this.session.$selectionMarkers,e=t.length;e--;){var r=t[e];if(r.marker){this.session.removeMarker(r.marker);var i=n.indexOf(r);-1!=i&&n.splice(i,1)}}this.session.selectionMarkerCount=n.length},this.$onAddRange=function(t){this.addSelectionMarker(t.range),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onRemoveRange=function(t){this.removeSelectionMarkers(t.ranges),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onMultiSelect=function(t){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(t){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(t){var n=t.command,e=t.editor;if(e.multiSelect){if(n.multiSelectAction)"forEach"==n.multiSelectAction?r=e.forEachSelection(n,t.args):"forEachLine"==n.multiSelectAction?r=e.forEachSelection(n,t.args,!0):"single"==n.multiSelectAction?(e.exitMultiSelectMode(),r=n.exec(e,t.args||{})):r=n.multiSelectAction(e,t.args||{});else{var r=n.exec(e,t.args||{});e.multiSelect.addRange(e.multiSelect.toOrientedRange()),e.multiSelect.mergeOverlappingRanges()}return r}},this.forEachSelection=function(t,n,e){if(!this.inVirtualSelectionMode){var r,i=e&&e.keepOrder,s=1==e||e&&e.$byLines,a=this.session,u=this.selection,c=u.rangeList,l=(i?u:c).ranges;if(!l.length)return t.exec?t.exec(this,n||{}):t(this,n||{});var h=u._eventRegistry;u._eventRegistry={};var f=new o(a);this.inVirtualSelectionMode=!0;for(var d=l.length;d--;){if(s)for(;d>0&&l[d].start.row==l[d-1].end.row;)d--;f.fromOrientedRange(l[d]),f.index=d,this.selection=a.selection=f;var p=t.exec?t.exec(this,n||{}):t(this,n||{});r||void 0===p||(r=p),f.toOrientedRange(l[d])}f.detach(),this.selection=a.selection=u,this.inVirtualSelectionMode=!1,u._eventRegistry=h,u.mergeOverlappingRanges(),u.ranges[0]&&u.fromOrientedRange(u.ranges[0]);var _=this.renderer.$scrollAnimation;return this.onCursorChange(),this.onSelectionChange(),_&&_.from==_.to&&this.renderer.animateScrolling(_.from),r}},this.exitMultiSelectMode=function(){this.inMultiSelectMode&&!this.inVirtualSelectionMode&&this.multiSelect.toSingleRange()},this.getSelectedText=function(){var t="";if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){for(var n=this.multiSelect.rangeList.ranges,e=[],r=0;rs&&(s=e.column),rl?t.insert(r,u.stringRepeat(" ",o-l)):t.remove(new i(r.row,r.column,r.row,r.column-o+l)),n.start.column=n.end.column=s,n.start.row=n.end.row=r.row,n.cursor=n.end})),n.fromOrientedRange(e[0]),this.renderer.updateCursor(),this.renderer.updateBackMarkers()}else{var l=this.selection.getRange(),h=l.start.row,f=l.end.row,d=h==f;if(d){var p,_=this.session.getLength();do{p=this.session.getLine(f)}while(/[=:]/.test(p)&&++f<_);do{p=this.session.getLine(h)}while(/[=:]/.test(p)&&--h>0);h<0&&(h=0),f>=_&&(f=_-1)}var m=this.session.removeFullLines(h,f);m=this.$reAlignText(m,d),this.session.insert({row:h,column:0},m.join("\n")+"\n"),d||(l.start.column=0,l.end.column=m[m.length-1].length),this.selection.setRange(l)}},this.$reAlignText=function(t,n){var e,r,i,o=!0,s=!0;return t.map((function(t){var n=t.match(/(\s*)(.*?)(\s*)([=:].*)/);return n?null==e?(e=n[1].length,r=n[2].length,i=n[3].length,n):(e+r+i!=n[1].length+n[2].length+n[3].length&&(s=!1),e!=n[1].length&&(o=!1),e>n[1].length&&(e=n[1].length),rn[3].length&&(i=n[3].length),n):[t]})).map(n?c:o?s?function(t){return t[2]?a(e+r-t[2].length)+t[2]+a(i)+t[4].replace(/^([=:])\s+/,"$1 "):t[0]}:c:function(t){return t[2]?a(e)+t[2]+a(i)+t[4].replace(/^([=:])\s+/,"$1 "):t[0]});function a(t){return u.stringRepeat(" ",t)}function c(t){return t[2]?a(e)+t[2]+a(r-t[2].length+i)+t[4].replace(/^([=:])\s+/,"$1 "):t[0]}}}).call(f.prototype),n.onSessionChange=function(t){var n=t.session;n&&!n.multiSelect&&(n.$selectionMarkers=[],n.selection.$initRangeList(),n.multiSelect=n.selection),this.multiSelect=n&&n.multiSelect;var e=t.oldSession;e&&(e.multiSelect.off("addRange",this.$onAddRange),e.multiSelect.off("removeRange",this.$onRemoveRange),e.multiSelect.off("multiSelect",this.$onMultiSelect),e.multiSelect.off("singleSelect",this.$onSingleSelect),e.multiSelect.lead.off("change",this.$checkMultiselectChange),e.multiSelect.anchor.off("change",this.$checkMultiselectChange)),n&&(n.multiSelect.on("addRange",this.$onAddRange),n.multiSelect.on("removeRange",this.$onRemoveRange),n.multiSelect.on("multiSelect",this.$onMultiSelect),n.multiSelect.on("singleSelect",this.$onSingleSelect),n.multiSelect.lead.on("change",this.$checkMultiselectChange),n.multiSelect.anchor.on("change",this.$checkMultiselectChange)),n&&this.inMultiSelectMode!=n.selection.inMultiSelectMode&&(n.selection.inMultiSelectMode?this.$onMultiSelect():this.$onSingleSelect())},n.MultiSelect=d,t("./config").defineOptions(f.prototype,"editor",{enableMultiselect:{set:function(t){d(this),t?this.on("mousedown",s):this.off("mousedown",s)},value:!0},enableBlockSelect:{set:function(t){this.$blockSelectEnabled=t},value:!0}})})),ace.define("ace/mode/folding/fold_mode",["require","exports","module","ace/range"],(function(t,n,e){"use strict";var r=t("../../range").Range,i=n.FoldMode=function(){};(function(){this.foldingStartMarker=null,this.foldingStopMarker=null,this.getFoldWidget=function(t,n,e){var r=t.getLine(e);return this.foldingStartMarker.test(r)?"start":"markbeginend"==n&&this.foldingStopMarker&&this.foldingStopMarker.test(r)?"end":""},this.getFoldWidgetRange=function(t,n,e){return null},this.indentationBlock=function(t,n,e){var i=/\S/,o=t.getLine(n),s=o.search(i);if(-1!=s){for(var a=e||o.length,u=t.getLength(),c=n,l=n;++nc){var d=t.getLine(l).length;return new r(c,a,l,d)}}},this.openingBracketBlock=function(t,n,e,i,o){var s={row:e,column:i+1},a=t.$findClosingBracket(n,s,o);if(a){var u=t.foldWidgets[a.row];return null==u&&(u=t.getFoldWidget(a.row)),"start"==u&&a.row>s.row&&(a.row--,a.column=t.getLine(a.row).length),r.fromPoints(s,a)}},this.closingBracketBlock=function(t,n,e,i,o){var s={row:e,column:i},a=t.$findOpeningBracket(n,s);if(a)return a.column++,s.column--,r.fromPoints(a,s)}}).call(i.prototype)})),ace.define("ace/ext/error_marker",["require","exports","module","ace/line_widgets","ace/lib/dom","ace/range","ace/config"],(function(t,n,e){"use strict";var r=t("../line_widgets").LineWidgets,i=t("../lib/dom"),o=t("../range").Range,s=t("../config").nls;n.showErrorMarker=function(t,n){var e=t.session;e.widgetManager||(e.widgetManager=new r(e),e.widgetManager.attach(t));var a=t.getCursorPosition(),u=a.row,c=e.widgetManager.getWidgetsAtRow(u).filter((function(t){return"errorMarker"==t.type}))[0];c?c.destroy():u-=n;var l,h=function(t,n,e){var r=t.getAnnotations().sort(o.comparePoints);if(r.length){var i=function(t,n,e){for(var r=0,i=t.length-1;r<=i;){var o=r+i>>1,s=e(n,t[o]);if(s>0)r=o+1;else{if(!(s<0))return o;i=o-1}}return-(r+1)}(r,{row:n,column:-1},o.comparePoints);i<0&&(i=-i-1),i>=r.length?i=e>0?0:r.length-1:0===i&&e<0&&(i=r.length-1);var s=r[i];if(s&&e){if(s.row===n){do{s=r[i+=e]}while(s&&s.row===n);if(!s)return r.slice()}var a=[];n=s.row;do{a[e<0?"unshift":"push"](s),s=r[i+=e]}while(s&&s.row==n);return a.length&&a}}}(e,u,n);if(h){var f=h[0];a.column=(f.pos&&"number"!=typeof f.column?f.pos.sc:f.column)||0,a.row=f.row,l=t.renderer.$gutterLayer.$annotations[a.row]}else{if(c)return;l={text:[s("Looks good!")],className:"ace_ok"}}t.session.unfold(a.row),t.selection.moveToPosition(a);var d={row:a.row,fixedWidth:!0,coverGutter:!0,el:i.createElement("div"),type:"errorMarker"},p=d.el.appendChild(i.createElement("div")),_=d.el.appendChild(i.createElement("div"));_.className="error_widget_arrow "+l.className;var m=t.renderer.$cursorLayer.getPixelPosition(a).left;_.style.left=m+t.renderer.gutterWidth-5+"px",d.el.className="error_widget_wrapper",p.className="error_widget "+l.className,p.innerHTML=l.text.join("
"),p.appendChild(i.createElement("div"));var v=function(t,n,e){if(0===n&&("esc"===e||"return"===e))return d.destroy(),{command:"null"}};d.destroy=function(){t.$mouseHandler.isMousePressed||(t.keyBinding.removeKeyboardHandler(v),e.widgetManager.removeLineWidget(d),t.off("changeSelection",d.destroy),t.off("changeSession",d.destroy),t.off("mouseup",d.destroy),t.off("change",d.destroy))},t.keyBinding.addKeyboardHandler(v),t.on("changeSelection",d.destroy),t.on("changeSession",d.destroy),t.on("mouseup",d.destroy),t.on("change",d.destroy),t.session.widgetManager.addLineWidget(d),d.el.onmousedown=t.focus.bind(t),t.renderer.scrollCursorIntoView(null,.5,{bottom:d.el.offsetHeight})},i.importCssString("\n .error_widget_wrapper {\n background: inherit;\n color: inherit;\n border:none\n }\n .error_widget {\n border-top: solid 2px;\n border-bottom: solid 2px;\n margin: 5px 0;\n padding: 10px 40px;\n white-space: pre-wrap;\n }\n .error_widget.ace_error, .error_widget_arrow.ace_error{\n border-color: #ff5a5a\n }\n .error_widget.ace_warning, .error_widget_arrow.ace_warning{\n border-color: #F1D817\n }\n .error_widget.ace_info, .error_widget_arrow.ace_info{\n border-color: #5a5a5a\n }\n .error_widget.ace_ok, .error_widget_arrow.ace_ok{\n border-color: #5aaa5a\n }\n .error_widget_arrow {\n position: absolute;\n border: solid 5px;\n border-top-color: transparent!important;\n border-right-color: transparent!important;\n border-left-color: transparent!important;\n top: -5px;\n }\n","error_marker.css",!1)})),ace.define("ace/ace",["require","exports","module","ace/lib/dom","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","ace/loader_build"],(function(t,n,e){"use strict";t("./loader_build")(n);var r=t("./lib/dom"),i=t("./range").Range,o=t("./editor").Editor,s=t("./edit_session").EditSession,a=t("./undomanager").UndoManager,u=t("./virtual_renderer").VirtualRenderer;t("./worker/worker_client"),t("./keyboard/hash_handler"),t("./placeholder"),t("./multi_select"),t("./mode/folding/fold_mode"),t("./theme/textmate"),t("./ext/error_marker"),n.config=t("./config"),n.edit=function(t,e){if("string"==typeof t){var i=t;if(!(t=document.getElementById(i)))throw new Error("ace.edit can't find div #"+i)}if(t&&t.env&&t.env.editor instanceof o)return t.env.editor;var s="";if(t&&/input|textarea/i.test(t.tagName)){var a=t;s=a.value,t=r.createElement("pre"),a.parentNode.replaceChild(t,a)}else t&&(s=t.textContent,t.innerHTML="");var c=n.createEditSession(s),l=new o(new u(t),c,e),h={document:c,editor:l,onResize:l.resize.bind(l,null)};return a&&(h.textarea=a),l.on("destroy",(function(){h.editor.container.env=null})),l.container.env=l.env=h,l},n.createEditSession=function(t,n){var e=new s(t,n);return e.setUndoManager(new a),e},n.Range=i,n.Editor=o,n.EditSession=s,n.UndoManager=a,n.VirtualRenderer=u,n.version=n.config.version})),ace.require(["ace/ace"],(function(n){n&&(n.config.init(!0),n.define=ace.define);var e=function(){return this}();for(var r in e||"undefined"==typeof window||(e=window),e||"undefined"==typeof self||(e=self),e.ace||(e.ace=n),n)n.hasOwnProperty(r)&&(e.ace[r]=n[r]);e.ace.default=e.ace,t&&(t.exports=e.ace)}))},19485:(t,n,e)=>{t=e.nmd(t),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(t,n,e){"use strict";var r=t("./lib/oop"),i=(t("./lib/lang"),t("./lib/event_emitter").EventEmitter),o=t("./editor").Editor,s=t("./virtual_renderer").VirtualRenderer,a=t("./edit_session").EditSession,u=function(t,n,e){this.BELOW=1,this.BESIDE=0,this.$container=t,this.$theme=n,this.$splits=0,this.$editorCSS="",this.$editors=[],this.$orientation=this.BESIDE,this.setSplits(e||1),this.$cEditor=this.$editors[0],this.on("focus",function(t){this.$cEditor=t}.bind(this))};(function(){r.implement(this,i),this.$createEditor=function(){var t=document.createElement("div");t.className=this.$editorCSS,t.style.cssText="position: absolute; top:0px; bottom:0px",this.$container.appendChild(t);var n=new o(new s(t,this.$theme));return n.on("focus",function(){this._emit("focus",n)}.bind(this)),this.$editors.push(n),n.setFontSize(this.$fontSize),n},this.setSplits=function(t){var n;if(t<1)throw"The number of splits have to be > 0!";if(t!=this.$splits){if(t>this.$splits){for(;this.$splitst;)n=this.$editors[this.$splits-1],this.$container.removeChild(n.container),this.$splits--;this.resize()}},this.getSplits=function(){return this.$splits},this.getEditor=function(t){return this.$editors[t]},this.getCurrentEditor=function(){return this.$cEditor},this.focus=function(){this.$cEditor.focus()},this.blur=function(){this.$cEditor.blur()},this.setTheme=function(t){this.$editors.forEach((function(n){n.setTheme(t)}))},this.setKeyboardHandler=function(t){this.$editors.forEach((function(n){n.setKeyboardHandler(t)}))},this.forEach=function(t,n){this.$editors.forEach(t,n)},this.$fontSize="",this.setFontSize=function(t){this.$fontSize=t,this.forEach((function(n){n.setFontSize(t)}))},this.$cloneSession=function(t){var n=new a(t.getDocument(),t.getMode()),e=t.getUndoManager();return n.setUndoManager(e),n.setTabSize(t.getTabSize()),n.setUseSoftTabs(t.getUseSoftTabs()),n.setOverwrite(t.getOverwrite()),n.setBreakpoints(t.getBreakpoints()),n.setUseWrapMode(t.getUseWrapMode()),n.setUseWorker(t.getUseWorker()),n.setWrapLimitRange(t.$wrapLimitRange.min,t.$wrapLimitRange.max),n.$foldData=t.$cloneFoldData(),n},this.setSession=function(t,n){var e;e=null==n?this.$cEditor:this.$editors[n];var r=this.$editors.some((function(n){return n.session===t}));return r&&(t=this.$cloneSession(t)),e.setSession(t),t},this.getOrientation=function(){return this.$orientation},this.setOrientation=function(t){this.$orientation!=t&&(this.$orientation=t,this.resize())},this.resize=function(){var t,n=this.$container.clientWidth,e=this.$container.clientHeight;if(this.$orientation==this.BESIDE)for(var r=n/this.$splits,i=0;i{"use strict";n.A=function(t,n){if(t&&n){var e=Array.isArray(n)?n:n.split(","),r=t.name||"",i=(t.type||"").toLowerCase(),o=i.replace(/\/.*$/,"");return e.some((function(t){var n=t.trim().toLowerCase();return"."===n.charAt(0)?r.toLowerCase().endsWith(n):n.endsWith("/*")?o===n.replace(/\/.*$/,""):i===n}))}return!0}},91416:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>H});const r=Object.freeze({NONE:0,ROTATE:1,TRUCK:2,OFFSET:4,DOLLY:8,ZOOM:16,TOUCH_ROTATE:32,TOUCH_TRUCK:64,TOUCH_OFFSET:128,TOUCH_DOLLY:256,TOUCH_ZOOM:512,TOUCH_DOLLY_TRUCK:1024,TOUCH_DOLLY_OFFSET:2048,TOUCH_ZOOM_TRUCK:4096,TOUCH_ZOOM_OFFSET:8192});function i(t){return t.isPerspectiveCamera}function o(t){return t.isOrthographicCamera}const s=2*Math.PI,a=Math.PI/2,u=1e-5;function c(t,n=u){return Math.abs(t){n.x+=t.clientX,n.y+=t.clientY})),n.x/=t.length,n.y/=t.length}function _(t,n){return!!o(t)&&(console.warn(`${n} is not supported in OrthographicCamera`),!0)}function m(t){return t.invert?t.invert():t.inverse(),t}class v{constructor(){this._listeners={}}addEventListener(t,n){const e=this._listeners;void 0===e[t]&&(e[t]=[]),-1===e[t].indexOf(n)&&e[t].push(n)}removeEventListener(t,n){const e=this._listeners[t];if(void 0!==e){const t=e.indexOf(n);-1!==t&&e.splice(t,1)}}removeAllEventListeners(t){t?Array.isArray(this._listeners[t])&&(this._listeners[t].length=0):this._listeners={}}dispatchEvent(t){const n=this._listeners[t.type];if(void 0!==n){t.target=this;const e=n.slice(0);for(let n=0,r=e.length;n{},this._enabled=!0,this._state=r.NONE,this._viewport=null,this._dollyControlAmount=0,this._hasRested=!0,this._boundaryEnclosesCamera=!1,this._needsUpdate=!0,this._updatedLastTime=!1,this._elementRect=new DOMRect,this._activePointers=[],this._truckInternal=(t,n,e)=>{if(i(this._camera)){const r=E.copy(this._camera.position).sub(this._target),i=this._camera.getEffectiveFOV()*x.MathUtils.DEG2RAD,o=r.length()*Math.tan(.5*i),s=this.truckSpeed*t*o/this._elementRect.height,a=this.truckSpeed*n*o/this._elementRect.height;this.verticalDragToForward?(e?this.setFocalOffset(this._focalOffsetEnd.x+s,this._focalOffsetEnd.y,this._focalOffsetEnd.z,!0):this.truck(s,0,!0),this.forward(-a,!0)):e?this.setFocalOffset(this._focalOffsetEnd.x+s,this._focalOffsetEnd.y+a,this._focalOffsetEnd.z,!0):this.truck(s,a,!0)}else if(o(this._camera)){const r=this._camera,i=t*(r.right-r.left)/r.zoom/this._elementRect.width,o=n*(r.top-r.bottom)/r.zoom/this._elementRect.height;e?this.setFocalOffset(this._focalOffsetEnd.x+i,this._focalOffsetEnd.y+o,this._focalOffsetEnd.z,!0):this.truck(i,o,!0)}},this._rotateInternal=(t,n)=>{const e=s*this.azimuthRotateSpeed*t/this._elementRect.height,r=s*this.polarRotateSpeed*n/this._elementRect.height;this.rotate(e,r,!0)},this._dollyInternal=(t,n,e)=>{const r=Math.pow(.95,-t*this.dollySpeed),i=this._sphericalEnd.radius*r,o=this._sphericalEnd.radius,s=o*(t>=0?-1:1);this.dollyTo(i),this.infinityDolly&&(i{const r=Math.pow(.95,t*this.dollySpeed);this.zoomTo(this._zoom*r),this.dollyToCursor&&(this._dollyControlAmount=this._zoomEnd,this._dollyControlCoord.set(n,e))},void 0===x&&console.error("camera-controls: `THREE` is undefined. You must first run `CameraControls.install( { THREE: THREE } )`. Check the docs for further information."),this._camera=t,this._yAxisUpSpace=(new x.Quaternion).setFromUnitVectors(this._camera.up,S),this._yAxisUpSpaceInverse=m(this._yAxisUpSpace.clone()),this._state=r.NONE,this._domElement=n,this._domElement.style.touchAction="none",this._domElement.style.userSelect="none",this._domElement.style.webkitUserSelect="none",this._target=new x.Vector3,this._targetEnd=this._target.clone(),this._focalOffset=new x.Vector3,this._focalOffsetEnd=this._focalOffset.clone(),this._spherical=(new x.Spherical).setFromVector3(E.copy(this._camera.position).applyQuaternion(this._yAxisUpSpace)),this._sphericalEnd=this._spherical.clone(),this._zoom=this._camera.zoom,this._zoomEnd=this._zoom,this._nearPlaneCorners=[new x.Vector3,new x.Vector3,new x.Vector3,new x.Vector3],this._updateNearPlaneCorners(),this._boundary=new x.Box3(new x.Vector3(-1/0,-1/0,-1/0),new x.Vector3(1/0,1/0,1/0)),this._target0=this._target.clone(),this._position0=this._camera.position.clone(),this._zoom0=this._zoom,this._focalOffset0=this._focalOffset.clone(),this._dollyControlAmount=0,this._dollyControlCoord=new x.Vector2,this.mouseButtons={left:r.ROTATE,middle:r.DOLLY,right:r.TRUCK,wheel:i(this._camera)?r.DOLLY:o(this._camera)?r.ZOOM:r.NONE},this.touches={one:r.TOUCH_ROTATE,two:i(this._camera)?r.TOUCH_DOLLY_TRUCK:o(this._camera)?r.TOUCH_ZOOM_TRUCK:r.NONE,three:r.TOUCH_TRUCK},this._domElement){const t=new x.Vector2,n=new x.Vector2,e=new x.Vector2,i=t=>{if(!this._enabled)return;const n={pointerId:t.pointerId,clientX:t.clientX,clientY:t.clientY,deltaX:0,deltaY:0};this._activePointers.push(n),this._domElement.ownerDocument.removeEventListener("pointermove",a,{passive:!1}),this._domElement.ownerDocument.removeEventListener("pointerup",l),this._domElement.ownerDocument.addEventListener("pointermove",a,{passive:!1}),this._domElement.ownerDocument.addEventListener("pointerup",l),v()},o=t=>{if(!this._enabled)return;const n={pointerId:0,clientX:t.clientX,clientY:t.clientY,deltaX:0,deltaY:0};this._activePointers.push(n),this._domElement.ownerDocument.removeEventListener("mousemove",u),this._domElement.ownerDocument.removeEventListener("mouseup",h),this._domElement.ownerDocument.addEventListener("mousemove",u),this._domElement.ownerDocument.addEventListener("mouseup",h),v()},s=t=>{if(this._enabled){switch(t.preventDefault(),Array.prototype.forEach.call(t.changedTouches,(t=>{const n={pointerId:t.identifier,clientX:t.clientX,clientY:t.clientY,deltaX:0,deltaY:0};this._activePointers.push(n)})),this._activePointers.length){case 1:this._state=this.touches.one;break;case 2:this._state=this.touches.two;break;case 3:this._state=this.touches.three}this._domElement.ownerDocument.removeEventListener("touchmove",c,{passive:!1}),this._domElement.ownerDocument.removeEventListener("touchend",f),this._domElement.ownerDocument.addEventListener("touchmove",c,{passive:!1}),this._domElement.ownerDocument.addEventListener("touchend",f),v()}},a=t=>{t.cancelable&&t.preventDefault();const n=t.pointerId,e=this._findPointerById(n);if(e){if(e.clientX=t.clientX,e.clientY=t.clientY,e.deltaX=t.movementX,e.deltaY=t.movementY,"touch"===t.pointerType)switch(this._activePointers.length){case 1:this._state=this.touches.one;break;case 2:this._state=this.touches.two;break;case 3:this._state=this.touches.three}else this._state=0,!(1&~t.buttons)&&(this._state=this._state|this.mouseButtons.left),!(3&~t.buttons)&&(this._state=this._state|this.mouseButtons.middle),!(2&~t.buttons)&&(this._state=this._state|this.mouseButtons.right);g()}},u=t=>{const n=this._findPointerById(0);n&&(n.clientX=t.clientX,n.clientY=t.clientY,n.deltaX=t.movementX,n.deltaY=t.movementY,this._state=0,!(1&~t.buttons)&&(this._state=this._state|this.mouseButtons.left),!(3&~t.buttons)&&(this._state=this._state|this.mouseButtons.middle),!(2&~t.buttons)&&(this._state=this._state|this.mouseButtons.right),g())},c=t=>{t.cancelable&&t.preventDefault(),Array.prototype.forEach.call(t.changedTouches,(t=>{const n=t.identifier,e=this._findPointerById(n);e&&(e.clientX=t.clientX,e.clientY=t.clientY)})),g()},l=t=>{const n=t.pointerId,e=this._findPointerById(n);if(e&&this._activePointers.splice(this._activePointers.indexOf(e),1),"touch"===t.pointerType)switch(this._activePointers.length){case 0:this._state=r.NONE;break;case 1:this._state=this.touches.one;break;case 2:this._state=this.touches.two;break;case 3:this._state=this.touches.three}else this._state=r.NONE;k()},h=()=>{const t=this._findPointerById(0);t&&this._activePointers.splice(this._activePointers.indexOf(t),1),this._state=r.NONE,k()},f=t=>{switch(Array.prototype.forEach.call(t.changedTouches,(t=>{const n=t.identifier,e=this._findPointerById(n);e&&this._activePointers.splice(this._activePointers.indexOf(e),1)})),this._activePointers.length){case 0:this._state=r.NONE;break;case 1:this._state=this.touches.one;break;case 2:this._state=this.touches.two;break;case 3:this._state=this.touches.three}k()};let d=-1;const _=t=>{if(!this._enabled||this.mouseButtons.wheel===r.NONE)return;if(t.preventDefault(),this.dollyToCursor||this.mouseButtons.wheel===r.ROTATE||this.mouseButtons.wheel===r.TRUCK){const t=performance.now();d-t<1e3&&this._getClientRect(this._elementRect),d=t}const n=b?-1:-3,e=1===t.deltaMode?t.deltaY/n:t.deltaY/(10*n),i=this.dollyToCursor?(t.clientX-this._elementRect.x)/this._elementRect.width*2-1:0,o=this.dollyToCursor?(t.clientY-this._elementRect.y)/this._elementRect.height*-2+1:0;switch(this.mouseButtons.wheel){case r.ROTATE:this._rotateInternal(t.deltaX,t.deltaY);break;case r.TRUCK:this._truckInternal(t.deltaX,t.deltaY,!1);break;case r.OFFSET:this._truckInternal(t.deltaX,t.deltaY,!0);break;case r.DOLLY:this._dollyInternal(-e,i,o);break;case r.ZOOM:this._zoomInternal(-e,i,o)}this.dispatchEvent({type:"control"})},m=t=>{this._enabled&&t.preventDefault()},v=()=>{if(this._enabled){if(p(this._activePointers,C),this._getClientRect(this._elementRect),t.copy(C),n.copy(C),this._activePointers.length>=2){const t=C.x-this._activePointers[1].clientX,r=C.y-this._activePointers[1].clientY,i=Math.sqrt(t*t+r*r);e.set(0,i);const o=.5*(this._activePointers[0].clientX+this._activePointers[1].clientX),s=.5*(this._activePointers[0].clientY+this._activePointers[1].clientY);n.set(o,s)}this.dispatchEvent({type:"controlstart"})}},g=()=>{if(!this._enabled)return;p(this._activePointers,C);const i=this._domElement&&document.pointerLockElement===this._domElement,o=i?-this._activePointers[0].deltaX:n.x-C.x,s=i?-this._activePointers[0].deltaY:n.y-C.y;if(n.copy(C),(this._state&r.ROTATE)!==r.ROTATE&&(this._state&r.TOUCH_ROTATE)!==r.TOUCH_ROTATE||this._rotateInternal(o,s),(this._state&r.DOLLY)===r.DOLLY||(this._state&r.ZOOM)===r.ZOOM){const n=this.dollyToCursor?(t.x-this._elementRect.x)/this._elementRect.width*2-1:0,e=this.dollyToCursor?(t.y-this._elementRect.y)/this._elementRect.height*-2+1:0;this._state===r.DOLLY?this._dollyInternal(s*y,n,e):this._zoomInternal(s*y,n,e)}if((this._state&r.TOUCH_DOLLY)===r.TOUCH_DOLLY||(this._state&r.TOUCH_ZOOM)===r.TOUCH_ZOOM||(this._state&r.TOUCH_DOLLY_TRUCK)===r.TOUCH_DOLLY_TRUCK||(this._state&r.TOUCH_ZOOM_TRUCK)===r.TOUCH_ZOOM_TRUCK||(this._state&r.TOUCH_DOLLY_OFFSET)===r.TOUCH_DOLLY_OFFSET||(this._state&r.TOUCH_ZOOM_OFFSET)===r.TOUCH_ZOOM_OFFSET){const t=C.x-this._activePointers[1].clientX,i=C.y-this._activePointers[1].clientY,o=Math.sqrt(t*t+i*i),s=e.y-o;e.set(0,o);const a=this.dollyToCursor?(n.x-this._elementRect.x)/this._elementRect.width*2-1:0,u=this.dollyToCursor?(n.y-this._elementRect.y)/this._elementRect.height*-2+1:0;this._state===r.TOUCH_DOLLY||this._state===r.TOUCH_DOLLY_TRUCK||this._state===r.TOUCH_DOLLY_OFFSET?this._dollyInternal(s*y,a,u):this._zoomInternal(s*y,a,u)}(this._state&r.TRUCK)!==r.TRUCK&&(this._state&r.TOUCH_TRUCK)!==r.TOUCH_TRUCK&&(this._state&r.TOUCH_DOLLY_TRUCK)!==r.TOUCH_DOLLY_TRUCK&&(this._state&r.TOUCH_ZOOM_TRUCK)!==r.TOUCH_ZOOM_TRUCK||this._truckInternal(o,s,!1),(this._state&r.OFFSET)!==r.OFFSET&&(this._state&r.TOUCH_OFFSET)!==r.TOUCH_OFFSET&&(this._state&r.TOUCH_DOLLY_OFFSET)!==r.TOUCH_DOLLY_OFFSET&&(this._state&r.TOUCH_ZOOM_OFFSET)!==r.TOUCH_ZOOM_OFFSET||this._truckInternal(o,s,!0),this.dispatchEvent({type:"control"})},k=()=>{p(this._activePointers,C),n.copy(C),0===this._activePointers.length&&(this._domElement.ownerDocument.removeEventListener("pointermove",a,{passive:!1}),this._domElement.ownerDocument.removeEventListener("pointerup",l),this._domElement.ownerDocument.removeEventListener("touchmove",c,{passive:!1}),this._domElement.ownerDocument.removeEventListener("touchend",f),this.dispatchEvent({type:"controlend"}))};this._domElement.addEventListener("pointerdown",i),w&&this._domElement.addEventListener("mousedown",o),w&&this._domElement.addEventListener("touchstart",s),this._domElement.addEventListener("pointercancel",l),this._domElement.addEventListener("wheel",_,{passive:!1}),this._domElement.addEventListener("contextmenu",m),this._removeAllEventListeners=()=>{this._domElement.removeEventListener("pointerdown",i),this._domElement.removeEventListener("mousedown",o),this._domElement.removeEventListener("touchstart",s),this._domElement.removeEventListener("pointercancel",l),this._domElement.removeEventListener("wheel",_,{passive:!1}),this._domElement.removeEventListener("contextmenu",m),this._domElement.ownerDocument.removeEventListener("pointermove",a,{passive:!1}),this._domElement.ownerDocument.removeEventListener("mousemove",u),this._domElement.ownerDocument.removeEventListener("touchmove",c,{passive:!1}),this._domElement.ownerDocument.removeEventListener("pointerup",l),this._domElement.ownerDocument.removeEventListener("mouseup",h),this._domElement.ownerDocument.removeEventListener("touchend",f)},this.cancel=()=>{this._state!==r.NONE&&(this._state=r.NONE,this._activePointers.length=0,k())}}this.update(0)}static install(t){x=t.THREE,k=Object.freeze(new x.Vector3(0,0,0)),S=Object.freeze(new x.Vector3(0,1,0)),A=Object.freeze(new x.Vector3(0,0,1)),C=new x.Vector2,E=new x.Vector3,M=new x.Vector3,$=new x.Vector3,z=new x.Vector3,T=new x.Vector3,O=new x.Vector3,j=new x.Vector3,R=new x.Vector3,L=new x.Spherical,D=new x.Spherical,P=new x.Box3,I=new x.Box3,q=new x.Sphere,N=new x.Quaternion,F=new x.Quaternion,B=new x.Matrix4,U=new x.Raycaster}static get ACTION(){return r}get camera(){return this._camera}set camera(t){this._camera=t,this.updateCameraUp(),this._camera.updateProjectionMatrix(),this._updateNearPlaneCorners(),this._needsUpdate=!0}get enabled(){return this._enabled}set enabled(t){this._enabled=t,t?(this._domElement.style.touchAction="none",this._domElement.style.userSelect="none",this._domElement.style.webkitUserSelect="none"):(this.cancel(),this._domElement.style.touchAction="",this._domElement.style.userSelect="",this._domElement.style.webkitUserSelect="")}get active(){return!this._hasRested}get currentAction(){return this._state}get distance(){return this._spherical.radius}set distance(t){this._spherical.radius===t&&this._sphericalEnd.radius===t||(this._spherical.radius=t,this._sphericalEnd.radius=t,this._needsUpdate=!0)}get azimuthAngle(){return this._spherical.theta}set azimuthAngle(t){this._spherical.theta===t&&this._sphericalEnd.theta===t||(this._spherical.theta=t,this._sphericalEnd.theta=t,this._needsUpdate=!0)}get polarAngle(){return this._spherical.phi}set polarAngle(t){this._spherical.phi===t&&this._sphericalEnd.phi===t||(this._spherical.phi=t,this._sphericalEnd.phi=t,this._needsUpdate=!0)}get boundaryEnclosesCamera(){return this._boundaryEnclosesCamera}set boundaryEnclosesCamera(t){this._boundaryEnclosesCamera=t,this._needsUpdate=!0}addEventListener(t,n){super.addEventListener(t,n)}removeEventListener(t,n){super.removeEventListener(t,n)}rotate(t,n,e=!1){return this.rotateTo(this._sphericalEnd.theta+t,this._sphericalEnd.phi+n,e)}rotateAzimuthTo(t,n=!1){return this.rotateTo(t,this._sphericalEnd.phi,n)}rotatePolarTo(t,n=!1){return this.rotateTo(this._sphericalEnd.theta,t,n)}rotateTo(t,n,e=!1){const r=x.MathUtils.clamp(t,this.minAzimuthAngle,this.maxAzimuthAngle),i=x.MathUtils.clamp(n,this.minPolarAngle,this.maxPolarAngle);this._sphericalEnd.theta=r,this._sphericalEnd.phi=i,this._sphericalEnd.makeSafe(),this._needsUpdate=!0,e||(this._spherical.theta=this._sphericalEnd.theta,this._spherical.phi=this._sphericalEnd.phi);const o=!e||l(this._spherical.theta,this._sphericalEnd.theta,this.restThreshold)&&l(this._spherical.phi,this._sphericalEnd.phi,this.restThreshold);return this._createOnRestPromise(o)}dolly(t,n=!1){return this.dollyTo(this._sphericalEnd.radius-t,n)}dollyTo(t,n=!1){const e=this._sphericalEnd.radius,r=x.MathUtils.clamp(t,this.minDistance,this.maxDistance);if(this.colliderMeshes.length>=1){const t=this._collisionTest(),n=l(t,this._spherical.radius);if(!(e>r)&&n)return Promise.resolve();this._sphericalEnd.radius=Math.min(r,t)}else this._sphericalEnd.radius=r;this._needsUpdate=!0,n||(this._spherical.radius=this._sphericalEnd.radius);const i=!n||l(this._spherical.radius,this._sphericalEnd.radius,this.restThreshold);return this._createOnRestPromise(i)}zoom(t,n=!1){return this.zoomTo(this._zoomEnd+t,n)}zoomTo(t,n=!1){this._zoomEnd=x.MathUtils.clamp(t,this.minZoom,this.maxZoom),this._needsUpdate=!0,n||(this._zoom=this._zoomEnd);const e=!n||l(this._zoom,this._zoomEnd,this.restThreshold);return this._createOnRestPromise(e)}pan(t,n,e=!1){return console.warn("`pan` has been renamed to `truck`"),this.truck(t,n,e)}truck(t,n,e=!1){this._camera.updateMatrix(),z.setFromMatrixColumn(this._camera.matrix,0),T.setFromMatrixColumn(this._camera.matrix,1),z.multiplyScalar(t),T.multiplyScalar(-n);const r=E.copy(z).add(T),i=M.copy(this._targetEnd).add(r);return this.moveTo(i.x,i.y,i.z,e)}forward(t,n=!1){E.setFromMatrixColumn(this._camera.matrix,0),E.crossVectors(this._camera.up,E),E.multiplyScalar(t);const e=M.copy(this._targetEnd).add(E);return this.moveTo(e.x,e.y,e.z,n)}moveTo(t,n,e,r=!1){const i=E.set(t,n,e).sub(this._targetEnd);this._encloseToBoundary(this._targetEnd,i,this.boundaryFriction),this._needsUpdate=!0,r||this._target.copy(this._targetEnd);const o=!r||l(this._target.x,this._targetEnd.x,this.restThreshold)&&l(this._target.y,this._targetEnd.y,this.restThreshold)&&l(this._target.z,this._targetEnd.z,this.restThreshold);return this._createOnRestPromise(o)}fitToBox(t,n,{paddingLeft:e=0,paddingRight:r=0,paddingBottom:s=0,paddingTop:u=0}={}){const c=[],f=t.isBox3?P.copy(t):P.setFromObject(t);f.isEmpty()&&(console.warn("camera-controls: fitTo() cannot be used with an empty box. Aborting"),Promise.resolve());const d=h(this._sphericalEnd.theta,a),p=h(this._sphericalEnd.phi,a);c.push(this.rotateTo(d,p,n));const _=E.setFromSpherical(this._sphericalEnd).normalize(),m=N.setFromUnitVectors(_,A).multiply(this._yAxisUpSpaceInverse);l(Math.abs(_.y),1)&&m.multiply(F.setFromAxisAngle(S,d));const v=I.makeEmpty();M.copy(f.min).applyQuaternion(m),v.expandByPoint(M),M.copy(f.min).setX(f.max.x).applyQuaternion(m),v.expandByPoint(M),M.copy(f.min).setY(f.max.y).applyQuaternion(m),v.expandByPoint(M),M.copy(f.max).setZ(f.min.z).applyQuaternion(m),v.expandByPoint(M),M.copy(f.min).setZ(f.max.z).applyQuaternion(m),v.expandByPoint(M),M.copy(f.max).setY(f.min.y).applyQuaternion(m),v.expandByPoint(M),M.copy(f.max).setX(f.min.x).applyQuaternion(m),v.expandByPoint(M),M.copy(f.max).applyQuaternion(m),v.expandByPoint(M),v.min.x-=e,v.min.y-=s,v.max.x+=r,v.max.y+=u,m.setFromUnitVectors(A,_).multiply(this._yAxisUpSpace);const g=v.getSize(E),b=v.getCenter(M).applyQuaternion(m);if(i(this._camera)){const t=this.getDistanceToFitBox(g.x,g.y,g.z);c.push(this.moveTo(b.x,b.y,b.z,n)),c.push(this.dollyTo(t,n)),c.push(this.setFocalOffset(0,0,0,n))}else if(o(this._camera)){const t=this._camera,e=t.right-t.left,r=t.top-t.bottom,i=Math.min(e/g.x,r/g.y);c.push(this.moveTo(b.x,b.y,b.z,n)),c.push(this.zoomTo(i,n)),c.push(this.setFocalOffset(0,0,0,n))}return Promise.all(c)}fitToSphere(t,n){const e=[],r=t instanceof x.Sphere?q.copy(t):function(t,n){const e=n,r=e.center;P.makeEmpty(),t.traverseVisible((t=>{t.isMesh&&P.expandByObject(t)})),P.getCenter(r);let i=0;return t.traverseVisible((t=>{if(!t.isMesh)return;const n=t,e=n.geometry.clone();if(e.applyMatrix4(n.matrixWorld),e.isBufferGeometry){const t=e.attributes.position;for(let n=0,e=t.count;ne.pointerId===t&&(n=e,!0))),n}_encloseToBoundary(t,n,e){const r=n.lengthSq();if(0===r)return t;const i=M.copy(n).add(t),o=this._boundary.clampPoint(i,$).sub(i),s=o.lengthSq();if(0===s)return t.add(n);if(s===r)return t;if(0===e)return t.add(n).add(o);{const r=1+e*s/n.dot(o);return t.add(M.copy(n).multiplyScalar(r)).add(o.multiplyScalar(1-e))}}_updateNearPlaneCorners(){if(i(this._camera)){const t=this._camera,n=t.near,e=t.getEffectiveFOV()*x.MathUtils.DEG2RAD,r=Math.tan(.5*e)*n,i=r*t.aspect;this._nearPlaneCorners[0].set(-i,-r,0),this._nearPlaneCorners[1].set(i,-r,0),this._nearPlaneCorners[2].set(i,r,0),this._nearPlaneCorners[3].set(-i,r,0)}else if(o(this._camera)){const t=this._camera,n=1/t.zoom,e=t.left*n,r=t.right*n,i=t.top*n,o=t.bottom*n;this._nearPlaneCorners[0].set(e,i,0),this._nearPlaneCorners[1].set(r,i,0),this._nearPlaneCorners[2].set(r,o,0),this._nearPlaneCorners[3].set(e,o,0)}}_collisionTest(){let t=1/0;if(!(this.colliderMeshes.length>=1))return t;if(_(this._camera,"_collisionTest"))return t;const n=E.setFromSpherical(this._spherical).divideScalar(this._spherical.radius);B.lookAt(k,n,this._camera.up);for(let e=0;e<4;e++){const r=M.copy(this._nearPlaneCorners[e]);r.applyMatrix4(B);const i=$.addVectors(this._target,r);U.set(i,n),U.far=this._spherical.radius+1;const o=U.intersectObjects(this.colliderMeshes);0!==o.length&&o[0].distance{const n=()=>{this.removeEventListener("rest",n),t()};this.addEventListener("rest",n)})))}_removeAllEventListeners(){}}},2273:(t,n)=>{var e;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var t=[],n=0;n{"use strict";function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function i(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);es,camelCaseProperty:()=>h,cssifyDeclaration:()=>p,cssifyObject:()=>_,hyphenateProperty:()=>d,isPrefixedProperty:()=>v,isPrefixedValue:()=>g.A,isUnitlessProperty:()=>$,normalizeProperty:()=>O,resolveArrayValue:()=>j,unprefixProperty:()=>T,unprefixValue:()=>L});var a=/-([a-z])/g,u=/^Ms/g,c={};function l(t){return t[1].toUpperCase()}function h(t){if(c.hasOwnProperty(t))return c[t];var n=t.replace(a,l).replace(u,"ms");return c[t]=n,n}var f=e(7793);function d(t){return(0,f.default)(t)}function p(t,n){return d(t)+":"+n}function _(t){var n="";for(var e in t){var r=t[e];"string"!=typeof r&&"number"!=typeof r||(n&&(n+=";"),n+=p(e,r))}return n}var m=/^(Webkit|Moz|O|ms)/;function v(t){return m.test(t)}var g=e(17323),b={borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},w=["animationIterationCount","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","flex","flexGrow","flexPositive","flexShrink","flexNegative","flexOrder","gridColumn","gridColumnEnd","gridColumnStart","gridRow","gridRowEnd","gridRowStart","lineClamp","order"],y=["Webkit","ms","Moz","O"];function x(t,n){return t+n.charAt(0).toUpperCase()+n.slice(1)}for(var k=0,S=w.length;k{"use strict";e.d(n,{A:()=>i});var r=/-webkit-|-moz-|-ms-/;function i(t){return"string"==typeof t&&r.test(t)}},58309:(t,n,e)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(t){return(0,i.default)(t)};var r,i=(r=e(7793))&&r.__esModule?r:{default:r}},19074:(t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(t){return"string"==typeof t&&e.test(t)};var e=/-webkit-|-moz-|-ms-/},52471:(t,n,e)=>{"use strict";e.r(n),e.d(n,{FormatSpecifier:()=>yu,active:()=>ti,arc:()=>Oy,area:()=>Iy,areaRadial:()=>Gy,ascending:()=>i,autoType:()=>qs,axisBottom:()=>ut,axisLeft:()=>ct,axisRight:()=>at,axisTop:()=>st,bisect:()=>c,bisectLeft:()=>u,bisectRight:()=>a,bisector:()=>o,blob:()=>Ma,brush:()=>Ei,brushSelection:()=>Si,brushX:()=>Ai,brushY:()=>Ci,buffer:()=>za,chord:()=>Li,clientPoint:()=>je,cluster:()=>Nd,color:()=>Kn,contourDensity:()=>ss,contours:()=>ts,create:()=>ay,creator:()=>un,cross:()=>f,csv:()=>La,csvFormat:()=>Cs,csvFormatBody:()=>Es,csvFormatRow:()=>$s,csvFormatRows:()=>Ms,csvFormatValue:()=>zs,csvParse:()=>Ss,csvParseRows:()=>As,cubehelix:()=>Ho,curveBasis:()=>Ex,curveBasisClosed:()=>$x,curveBasisOpen:()=>Tx,curveBundle:()=>jx,curveCardinal:()=>Dx,curveCardinalClosed:()=>Ix,curveCardinalOpen:()=>Nx,curveCatmullRom:()=>Ux,curveCatmullRomClosed:()=>Vx,curveCatmullRomOpen:()=>Gx,curveLinear:()=>Ry,curveLinearClosed:()=>Xx,curveMonotoneX:()=>rk,curveMonotoneY:()=>ik,curveNatural:()=>ak,curveStep:()=>ck,curveStepAfter:()=>hk,curveStepBefore:()=>lk,customEvent:()=>bn,descending:()=>d,deviation:()=>m,dispatch:()=>_t,drag:()=>ds,dragDisable:()=>zn,dragEnable:()=>Tn,dsv:()=>Ra,dsvFormat:()=>xs,easeBack:()=>xa,easeBackIn:()=>wa,easeBackInOut:()=>xa,easeBackOut:()=>ya,easeBounce:()=>va,easeBounceIn:()=>ma,easeBounceInOut:()=>ga,easeBounceOut:()=>va,easeCircle:()=>oa,easeCircleIn:()=>ra,easeCircleInOut:()=>oa,easeCircleOut:()=>ia,easeCubic:()=>Kr,easeCubicIn:()=>Yr,easeCubicInOut:()=>Kr,easeCubicOut:()=>Xr,easeElastic:()=>Aa,easeElasticIn:()=>Sa,easeElasticInOut:()=>Ca,easeElasticOut:()=>Aa,easeExp:()=>ea,easeExpIn:()=>ta,easeExpInOut:()=>ea,easeExpOut:()=>na,easeLinear:()=>Fs,easePoly:()=>Gs,easePolyIn:()=>Vs,easePolyInOut:()=>Gs,easePolyOut:()=>Ws,easeQuad:()=>Hs,easeQuadIn:()=>Bs,easeQuadInOut:()=>Hs,easeQuadOut:()=>Us,easeSin:()=>Js,easeSinIn:()=>Ks,easeSinInOut:()=>Js,easeSinOut:()=>Zs,entries:()=>fo,event:()=>pn,extent:()=>v,forceCenter:()=>Ha,forceCollide:()=>ru,forceLink:()=>su,forceManyBody:()=>fu,forceRadial:()=>du,forceSimulation:()=>hu,forceX:()=>pu,forceY:()=>_u,format:()=>Cu,formatDefaultLocale:()=>Tu,formatLocale:()=>zu,formatPrefix:()=>Eu,formatSpecifier:()=>wu,geoAlbers:()=>nd,geoAlbersUsa:()=>ed,geoArea:()=>Ec,geoAzimuthalEqualArea:()=>sd,geoAzimuthalEqualAreaRaw:()=>od,geoAzimuthalEquidistant:()=>ud,geoAzimuthalEquidistantRaw:()=>ad,geoBounds:()=>bl,geoCentroid:()=>Tl,geoCircle:()=>Bl,geoClipAntimeridian:()=>th,geoClipCircle:()=>nh,geoClipExtent:()=>oh,geoClipRectangle:()=>ih,geoConicConformal:()=>pd,geoConicConformalRaw:()=>dd,geoConicEqualArea:()=>td,geoConicEqualAreaRaw:()=>Qf,geoConicEquidistant:()=>gd,geoConicEquidistantRaw:()=>vd,geoContains:()=>Ch,geoDistance:()=>vh,geoEqualEarth:()=>Ad,geoEqualEarthRaw:()=>Sd,geoEquirectangular:()=>md,geoEquirectangularRaw:()=>_d,geoGnomonic:()=>Ed,geoGnomonicRaw:()=>Cd,geoGraticule:()=>$h,geoGraticule10:()=>zh,geoIdentity:()=>Md,geoInterpolate:()=>Th,geoLength:()=>ph,geoMercator:()=>ld,geoMercatorRaw:()=>cd,geoNaturalEarth1:()=>zd,geoNaturalEarth1Raw:()=>$d,geoOrthographic:()=>Od,geoOrthographicRaw:()=>Td,geoPath:()=>Lf,geoProjection:()=>Kf,geoProjectionMutator:()=>Zf,geoRotation:()=>ql,geoStereographic:()=>Rd,geoStereographicRaw:()=>jd,geoStream:()=>pc,geoTransform:()=>Df,geoTransverseMercator:()=>Dd,geoTransverseMercatorRaw:()=>Ld,gray:()=>So,hcl:()=>jo,hierarchy:()=>Bd,histogram:()=>T,hsl:()=>ae,html:()=>Ba,image:()=>Pa,interpolate:()=>Te,interpolateArray:()=>ke,interpolateBasis:()=>he,interpolateBasisClosed:()=>fe,interpolateBlues:()=>Rw,interpolateBrBG:()=>Wb,interpolateBuGn:()=>lw,interpolateBuPu:()=>fw,interpolateCividis:()=>Vw,interpolateCool:()=>Yw,interpolateCubehelix:()=>r_,interpolateCubehelixDefault:()=>Ww,interpolateCubehelixLong:()=>i_,interpolateDate:()=>Ae,interpolateDiscrete:()=>Np,interpolateGnBu:()=>pw,interpolateGreens:()=>Dw,interpolateGreys:()=>Iw,interpolateHcl:()=>t_,interpolateHclLong:()=>n_,interpolateHsl:()=>Kp,interpolateHslLong:()=>Zp,interpolateHue:()=>Fp,interpolateInferno:()=>oy,interpolateLab:()=>Jp,interpolateMagma:()=>iy,interpolateNumber:()=>Ce,interpolateNumberArray:()=>ye,interpolateObject:()=>Ee,interpolateOrRd:()=>mw,interpolateOranges:()=>Hw,interpolatePRGn:()=>Yb,interpolatePiYG:()=>Kb,interpolatePlasma:()=>sy,interpolatePuBu:()=>ww,interpolatePuBuGn:()=>gw,interpolatePuOr:()=>Jb,interpolatePuRd:()=>xw,interpolatePurples:()=>Nw,interpolateRainbow:()=>Kw,interpolateRdBu:()=>tw,interpolateRdGy:()=>ew,interpolateRdPu:()=>Sw,interpolateRdYlBu:()=>iw,interpolateRdYlGn:()=>sw,interpolateReds:()=>Bw,interpolateRgb:()=>ve,interpolateRgbBasis:()=>be,interpolateRgbBasisClosed:()=>we,interpolateRound:()=>Bp,interpolateSinebow:()=>ty,interpolateSpectral:()=>uw,interpolateString:()=>ze,interpolateTransformCss:()=>kr,interpolateTransformSvg:()=>Sr,interpolateTurbo:()=>ny,interpolateViridis:()=>ry,interpolateWarm:()=>Gw,interpolateYlGn:()=>Mw,interpolateYlGnBu:()=>Cw,interpolateYlOrBr:()=>zw,interpolateYlOrRd:()=>Ow,interpolateZoom:()=>Yp,interrupt:()=>pr,interval:()=>Ok,isoFormat:()=>$k,isoParse:()=>Tk,json:()=>qa,keys:()=>lo,lab:()=>Ao,lch:()=>Oo,line:()=>Py,lineRadial:()=>Wy,linkHorizontal:()=>ex,linkRadial:()=>ix,linkVertical:()=>rx,local:()=>cy,map:()=>to,matcher:()=>wt,max:()=>L,mean:()=>D,median:()=>P,merge:()=>I,min:()=>q,mouse:()=>Le,namespace:()=>Mt,namespaces:()=>Et,nest:()=>no,now:()=>Ge,pack:()=>fp,packEnclose:()=>Yd,packSiblings:()=>ap,pairs:()=>l,partition:()=>gp,path:()=>Hi,permute:()=>N,pie:()=>Fy,piecewise:()=>o_,pointRadial:()=>Yy,polygonArea:()=>a_,polygonCentroid:()=>u_,polygonContains:()=>d_,polygonHull:()=>f_,polygonLength:()=>p_,precisionFixed:()=>Ou,precisionPrefix:()=>ju,precisionRound:()=>Ru,quadtree:()=>Za,quantile:()=>O,quantize:()=>s_,radialArea:()=>Gy,radialLine:()=>Wy,randomBates:()=>w_,randomExponential:()=>y_,randomIrwinHall:()=>b_,randomLogNormal:()=>g_,randomNormal:()=>v_,randomUniform:()=>m_,range:()=>k,rgb:()=>te,ribbon:()=>Ki,scaleBand:()=>$_,scaleDiverging:()=>Mb,scaleDivergingLog:()=>$b,scaleDivergingPow:()=>Tb,scaleDivergingSqrt:()=>Ob,scaleDivergingSymlog:()=>zb,scaleIdentity:()=>V_,scaleImplicit:()=>E_,scaleLinear:()=>H_,scaleLog:()=>tm,scaleOrdinal:()=>M_,scalePoint:()=>T_,scalePow:()=>cm,scaleQuantile:()=>hm,scaleQuantize:()=>fm,scaleSequential:()=>yb,scaleSequentialLog:()=>xb,scaleSequentialPow:()=>Sb,scaleSequentialQuantile:()=>Cb,scaleSequentialSqrt:()=>Ab,scaleSequentialSymlog:()=>kb,scaleSqrt:()=>lm,scaleSymlog:()=>im,scaleThreshold:()=>dm,scaleTime:()=>ub,scaleUtc:()=>gb,scan:()=>F,schemeAccent:()=>Lb,schemeBlues:()=>jw,schemeBrBG:()=>Vb,schemeBuGn:()=>cw,schemeBuPu:()=>hw,schemeCategory10:()=>Rb,schemeDark2:()=>Db,schemeGnBu:()=>dw,schemeGreens:()=>Lw,schemeGreys:()=>Pw,schemeOrRd:()=>_w,schemeOranges:()=>Uw,schemePRGn:()=>Gb,schemePaired:()=>Pb,schemePastel1:()=>Ib,schemePastel2:()=>qb,schemePiYG:()=>Xb,schemePuBu:()=>bw,schemePuBuGn:()=>vw,schemePuOr:()=>Zb,schemePuRd:()=>yw,schemePurples:()=>qw,schemeRdBu:()=>Qb,schemeRdGy:()=>nw,schemeRdPu:()=>kw,schemeRdYlBu:()=>rw,schemeRdYlGn:()=>ow,schemeReds:()=>Fw,schemeSet1:()=>Nb,schemeSet2:()=>Fb,schemeSet3:()=>Bb,schemeSpectral:()=>aw,schemeTableau10:()=>Ub,schemeYlGn:()=>Ew,schemeYlGnBu:()=>Aw,schemeYlOrBr:()=>$w,schemeYlOrRd:()=>Tw,select:()=>En,selectAll:()=>hy,selection:()=>Cn,selector:()=>vt,selectorAll:()=>bt,set:()=>co,shuffle:()=>B,stack:()=>_k,stackOffsetDiverging:()=>vk,stackOffsetExpand:()=>mk,stackOffsetNone:()=>fk,stackOffsetSilhouette:()=>gk,stackOffsetWiggle:()=>bk,stackOrderAppearance:()=>wk,stackOrderAscending:()=>xk,stackOrderDescending:()=>Sk,stackOrderInsideOut:()=>Ak,stackOrderNone:()=>dk,stackOrderReverse:()=>Ck,stratify:()=>Sp,style:()=>qt,sum:()=>U,svg:()=>Ua,symbol:()=>kx,symbolCircle:()=>ox,symbolCross:()=>sx,symbolDiamond:()=>cx,symbolSquare:()=>px,symbolStar:()=>dx,symbolTriangle:()=>mx,symbolWye:()=>yx,symbols:()=>xx,text:()=>Oa,thresholdFreedmanDiaconis:()=>j,thresholdScott:()=>R,thresholdSturges:()=>z,tickFormat:()=>B_,tickIncrement:()=>M,tickStep:()=>$,ticks:()=>E,timeDay:()=>Hm,timeDays:()=>Vm,timeFormat:()=>zv,timeFormatDefaultLocale:()=>Zg,timeFormatLocale:()=>Mv,timeFriday:()=>Rm,timeFridays:()=>Fm,timeHour:()=>Gm,timeHours:()=>Ym,timeInterval:()=>mm,timeMillisecond:()=>ev,timeMilliseconds:()=>rv,timeMinute:()=>Km,timeMinutes:()=>Zm,timeMonday:()=>zm,timeMondays:()=>Pm,timeMonth:()=>ym,timeMonths:()=>xm,timeParse:()=>Tv,timeSaturday:()=>Lm,timeSaturdays:()=>Bm,timeSecond:()=>Qm,timeSeconds:()=>tv,timeSunday:()=>$m,timeSundays:()=>Dm,timeThursday:()=>jm,timeThursdays:()=>Nm,timeTuesday:()=>Tm,timeTuesdays:()=>Im,timeWednesday:()=>Om,timeWednesdays:()=>qm,timeWeek:()=>$m,timeWeeks:()=>Dm,timeYear:()=>gm,timeYears:()=>bm,timeout:()=>nr,timer:()=>Ke,timerFlush:()=>Ze,touch:()=>Re,touches:()=>fy,transition:()=>Vr,transpose:()=>H,tree:()=>Tp,treemap:()=>Dp,treemapBinary:()=>Pp,treemapDice:()=>vp,treemapResquarify:()=>qp,treemapSlice:()=>Op,treemapSliceDice:()=>Ip,treemapSquarify:()=>Lp,tsv:()=>Da,tsvFormat:()=>Rs,tsvFormatBody:()=>Ls,tsvFormatRow:()=>Ps,tsvFormatRows:()=>Ds,tsvFormatValue:()=>Is,tsvParse:()=>Os,tsvParseRows:()=>js,utcDay:()=>wv,utcDays:()=>yv,utcFormat:()=>Ov,utcFriday:()=>lv,utcFridays:()=>vv,utcHour:()=>db,utcHours:()=>pb,utcMillisecond:()=>ev,utcMilliseconds:()=>rv,utcMinute:()=>mb,utcMinutes:()=>vb,utcMonday:()=>sv,utcMondays:()=>dv,utcMonth:()=>lb,utcMonths:()=>hb,utcParse:()=>jv,utcSaturday:()=>hv,utcSaturdays:()=>gv,utcSecond:()=>Qm,utcSeconds:()=>tv,utcSunday:()=>ov,utcSundays:()=>fv,utcThursday:()=>cv,utcThursdays:()=>mv,utcTuesday:()=>av,utcTuesdays:()=>pv,utcWednesday:()=>uv,utcWednesdays:()=>_v,utcWeek:()=>ov,utcWeeks:()=>fv,utcYear:()=>kv,utcYears:()=>Sv,values:()=>ho,variance:()=>_,version:()=>r,voronoi:()=>gS,window:()=>Lt,xml:()=>Fa,zip:()=>W,zoom:()=>OS,zoomIdentity:()=>xS,zoomTransform:()=>kS});var r="5.16.0";function i(t,n){return tn?1:t>=n?0:NaN}function o(t){var n;return 1===t.length&&(n=t,t=function(t,e){return i(n(t),e)}),{left:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r>>1;t(n[o],e)<0?r=o+1:i=o}return r},right:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r>>1;t(n[o],e)>0?i=o:r=o+1}return r}}}var s=o(i),a=s.right,u=s.left;const c=a;function l(t,n){null==n&&(n=h);for(var e=0,r=t.length-1,i=t[0],o=new Array(r<0?0:r);et?1:n>=t?0:NaN}function p(t){return null===t?NaN:+t}function _(t,n){var e,r,i=t.length,o=0,s=-1,a=0,u=0;if(null==n)for(;++s1)return u/(o-1)}function m(t,n){var e=_(t,n);return e?Math.sqrt(e):e}function v(t,n){var e,r,i,o=t.length,s=-1;if(null==n){for(;++s=e)for(r=i=e;++se&&(r=e),i=e)for(r=i=e;++se&&(r=e),i0)return[t];if((r=n0)for(t=Math.ceil(t/s),n=Math.floor(n/s),o=new Array(i=Math.ceil(n-t+1));++a=0?(o>=S?10:o>=A?5:o>=C?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=S?10:o>=A?5:o>=C?2:1)}function $(t,n,e){var r=Math.abs(n-t)/Math.max(0,e),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=S?i*=10:o>=A?i*=5:o>=C&&(i*=2),nh;)f.pop(),--d;var p,_=new Array(d+1);for(i=0;i<=d;++i)(p=_[i]=[]).x0=i>0?f[i-1]:l,p.x1=i=1)return+e(t[r-1],r-1,t);var r,i=(r-1)*n,o=Math.floor(i),s=+e(t[o],o,t);return s+(+e(t[o+1],o+1,t)-s)*(i-o)}}function j(t,n,e){return t=w.call(t,p).sort(i),Math.ceil((e-n)/(2*(O(t,.75)-O(t,.25))*Math.pow(t.length,-1/3)))}function R(t,n,e){return Math.ceil((e-n)/(3.5*m(t)*Math.pow(t.length,-1/3)))}function L(t,n){var e,r,i=t.length,o=-1;if(null==n){for(;++o=e)for(r=e;++or&&(r=e)}else for(;++o=e)for(r=e;++or&&(r=e);return r}function D(t,n){var e,r=t.length,i=r,o=-1,s=0;if(null==n)for(;++o=0;)for(n=(r=t[i]).length;--n>=0;)e[--s]=r[n];return e}function q(t,n){var e,r,i=t.length,o=-1;if(null==n){for(;++o=e)for(r=e;++oe&&(r=e)}else for(;++o=e)for(r=e;++oe&&(r=e);return r}function N(t,n){for(var e=n.length,r=new Array(e);e--;)r[e]=t[n[e]];return r}function F(t,n){if(e=t.length){var e,r,o=0,s=0,a=t[s];for(null==n&&(n=i);++o=0&&(n=t.slice(e+1),t=t.slice(0,e)),t&&!r.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}}))),s=-1,a=o.length;if(!(arguments.length<2)){if(null!=n&&"function"!=typeof n)throw new Error("invalid callback: "+n);for(;++s0)for(var e,r,i=new Array(e),o=0;on?1:t>=n?0:NaN}var Ct="http://www.w3.org/1999/xhtml";const Et={svg:"http://www.w3.org/2000/svg",xhtml:Ct,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Mt(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),Et.hasOwnProperty(n)?{space:Et[n],local:t}:t}function $t(t){return function(){this.removeAttribute(t)}}function zt(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Tt(t,n){return function(){this.setAttribute(t,n)}}function Ot(t,n){return function(){this.setAttributeNS(t.space,t.local,n)}}function jt(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttribute(t):this.setAttribute(t,e)}}function Rt(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,e)}}function Lt(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function Dt(t){return function(){this.style.removeProperty(t)}}function Pt(t,n,e){return function(){this.style.setProperty(t,n,e)}}function It(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}function qt(t,n){return t.style.getPropertyValue(n)||Lt(t).getComputedStyle(t,null).getPropertyValue(n)}function Nt(t){return function(){delete this[t]}}function Ft(t,n){return function(){this[t]=n}}function Bt(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}function Ut(t){return t.trim().split(/^|\s+/)}function Ht(t){return t.classList||new Vt(t)}function Vt(t){this._node=t,this._names=Ut(t.getAttribute("class")||"")}function Wt(t,n){for(var e=Ht(t),r=-1,i=n.length;++r=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var dn={},pn=null;function _n(t,n,e){return t=mn(t,n,e),function(n){var e=n.relatedTarget;e&&(e===this||8&e.compareDocumentPosition(this))||t.call(this,n)}}function mn(t,n,e){return function(r){var i=pn;pn=r;try{t.call(this,this.__data__,n,e)}finally{pn=i}}}function vn(t){return function(){var n=this.__on;if(n){for(var e,r=0,i=-1,o=n.length;r=y&&(y=w+1);!(b=v[y])&&++y<_;);g._next=b||null}}return(a=new Sn(a,i))._enter=u,a._exit=c,a},enter:function(){return new Sn(this._enter||this._groups.map(yt),this._parents)},exit:function(){return new Sn(this._exit||this._groups.map(yt),this._parents)},join:function(t,n,e){var r=this.enter(),i=this,o=this.exit();return r="function"==typeof t?t(r):r.append(t+""),null!=n&&(i=n(i)),null==e?o.remove():e(o),r&&i?r.merge(i).order():i},merge:function(t){for(var n=this._groups,e=t._groups,r=n.length,i=e.length,o=Math.min(r,i),s=new Array(r),a=0;a=0;)(r=i[o])&&(s&&4^r.compareDocumentPosition(s)&&s.parentNode.insertBefore(r,s),s=r);return this},sort:function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=At);for(var e=this._groups,r=e.length,i=new Array(r),o=0;o1?this.each((null==n?Dt:"function"==typeof n?It:Pt)(t,n,null==e?"":e)):qt(this.node(),t)},property:function(t,n){return arguments.length>1?this.each((null==n?Nt:"function"==typeof n?Bt:Ft)(t,n)):this.node()[t]},classed:function(t,n){var e=Ut(t+"");if(arguments.length<2){for(var r=Ht(this.node()),i=-1,o=e.length;++i=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}}))}(t+""),s=o.length;if(!(arguments.length<2)){for(a=n?gn:vn,null==e&&(e=!1),r=0;r>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===e?Jn(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===e?Jn(n>>12&15|n>>8&240,n>>8&15|n>>4&240,n>>4&15|240&n,((15&n)<<4|15&n)/255):null):(n=Fn.exec(t))?new ne(n[1],n[2],n[3],1):(n=Bn.exec(t))?new ne(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=Un.exec(t))?Jn(n[1],n[2],n[3],n[4]):(n=Hn.exec(t))?Jn(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=Vn.exec(t))?oe(n[1],n[2]/100,n[3]/100,1):(n=Wn.exec(t))?oe(n[1],n[2]/100,n[3]/100,n[4]):Gn.hasOwnProperty(t)?Zn(Gn[t]):"transparent"===t?new ne(NaN,NaN,NaN,0):null}function Zn(t){return new ne(t>>16&255,t>>8&255,255&t,1)}function Jn(t,n,e,r){return r<=0&&(t=n=e=NaN),new ne(t,n,e,r)}function Qn(t){return t instanceof Rn||(t=Kn(t)),t?new ne((t=t.rgb()).r,t.g,t.b,t.opacity):new ne}function te(t,n,e,r){return 1===arguments.length?Qn(t):new ne(t,n,e,null==r?1:r)}function ne(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function ee(){return"#"+ie(this.r)+ie(this.g)+ie(this.b)}function re(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function ie(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function oe(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new ue(t,n,e,r)}function se(t){if(t instanceof ue)return new ue(t.h,t.s,t.l,t.opacity);if(t instanceof Rn||(t=Kn(t)),!t)return new ue;if(t instanceof ue)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,i=Math.min(n,e,r),o=Math.max(n,e,r),s=NaN,a=o-i,u=(o+i)/2;return a?(s=n===o?(e-r)/a+6*(e0&&u<1?0:s,new ue(s,a,u,t.opacity)}function ae(t,n,e,r){return 1===arguments.length?se(t):new ue(t,n,e,null==r?1:r)}function ue(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function ce(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}function le(t,n,e,r,i){var o=t*t,s=o*t;return((1-3*t+3*o-s)*n+(4-6*o+3*s)*e+(1+3*t+3*o-3*s)*r+s*i)/6}function he(t){var n=t.length-1;return function(e){var r=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),i=t[r],o=t[r+1],s=r>0?t[r-1]:2*i-o,a=r180||e<-180?e-360*Math.round(e/360):e):de(isNaN(t)?n:t)}function me(t,n){var e=n-t;return e?pe(t,e):de(isNaN(t)?n:t)}On(Rn,Kn,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:Yn,formatHex:Yn,formatHsl:function(){return se(this).formatHsl()},formatRgb:Xn,toString:Xn}),On(ne,te,jn(Rn,{brighter:function(t){return t=null==t?Dn:Math.pow(Dn,t),new ne(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?Ln:Math.pow(Ln,t),new ne(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:ee,formatHex:ee,formatRgb:re,toString:re})),On(ue,ae,jn(Rn,{brighter:function(t){return t=null==t?Dn:Math.pow(Dn,t),new ue(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?Ln:Math.pow(Ln,t),new ue(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new ne(ce(t>=240?t-240:t+120,i,r),ce(t,i,r),ce(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}));const ve=function t(n){var e=function(t){return 1==(t=+t)?me:function(n,e){return e-n?function(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}(n,e,t):de(isNaN(n)?e:n)}}(n);function r(t,n){var r=e((t=te(t)).r,(n=te(n)).r),i=e(t.g,n.g),o=e(t.b,n.b),s=me(t.opacity,n.opacity);return function(n){return t.r=r(n),t.g=i(n),t.b=o(n),t.opacity=s(n),t+""}}return r.gamma=t,r}(1);function ge(t){return function(n){var e,r,i=n.length,o=new Array(i),s=new Array(i),a=new Array(i);for(e=0;eo&&(i=n.slice(o,i),a[s]?a[s]+=i:a[++s]=i),(e=e[0])===(r=r[0])?a[s]?a[s]+=r:a[++s]=r:(a[++s]=null,u.push({i:s,x:Ce(e,r)})),o=$e.lastIndex;return o=0&&n._call.call(null,t),n=n._next;--Ie}function Je(){Ue=(Be=Ve.now())+He,Ie=qe=0;try{Ze()}finally{Ie=0,function(){for(var t,n,e=De,r=1/0;e;)e._call?(r>e._time&&(r=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:De=n);Pe=t,tr(r)}(),Ue=0}}function Qe(){var t=Ve.now(),n=t-Be;n>Fe&&(He-=n,Be=t)}function tr(t){Ie||(qe&&(qe=clearTimeout(qe)),t-Ue>24?(t<1/0&&(qe=setTimeout(Je,t-Ve.now()-He)),Ne&&(Ne=clearInterval(Ne))):(Ne||(Be=Ve.now(),Ne=setInterval(Qe,Fe)),Ie=1,We(Je)))}function nr(t,n,e){var r=new Xe;return n=null==n?0:+n,r.restart((function(e){r.stop(),t(e+n)}),n,e),r}Xe.prototype=Ke.prototype={constructor:Xe,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?Ge():+e)+(null==n?0:+n),this._next||Pe===this||(Pe?Pe._next=this:De=this,Pe=this),this._call=t,this._time=e,tr()},stop:function(){this._call&&(this._call=null,this._time=1/0,tr())}};var er=_t("start","end","cancel","interrupt"),rr=[],ir=0,or=1,sr=2,ar=3,ur=5,cr=6;function lr(t,n,e,r,i,o){var s=t.__transition;if(s){if(e in s)return}else t.__transition={};!function(t,n,e){var r,i=t.__transition;function o(u){var c,l,h,f;if(e.state!==or)return a();for(c in i)if((f=i[c]).name===e.name){if(f.state===ar)return nr(o);4===f.state?(f.state=cr,f.timer.stop(),f.on.call("interrupt",t,t.__data__,f.index,f.group),delete i[c]):+cir)throw new Error("too late; already scheduled");return e}function fr(t,n){var e=dr(t,n);if(e.state>ar)throw new Error("too late; already running");return e}function dr(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("transition not found");return e}function pr(t,n){var e,r,i,o=t.__transition,s=!0;if(o){for(i in n=null==n?null:n+"",o)(e=o[i]).name===n?(r=e.state>sr&&e.state180?n+=360:n-t>180&&(t+=360),o.push({i:e.push(i(e)+"rotate(",null,r)-2,x:Ce(t,n)})):n&&e.push(i(e)+"rotate("+n+r)}(o.rotate,s.rotate,a,u),function(t,n,e,o){t!==n?o.push({i:e.push(i(e)+"skewX(",null,r)-2,x:Ce(t,n)}):n&&e.push(i(e)+"skewX("+n+r)}(o.skewX,s.skewX,a,u),function(t,n,e,r,o,s){if(t!==e||n!==r){var a=o.push(i(o)+"scale(",null,",",null,")");s.push({i:a-4,x:Ce(t,e)},{i:a-2,x:Ce(n,r)})}else 1===e&&1===r||o.push(i(o)+"scale("+e+","+r+")")}(o.scaleX,o.scaleY,s.scaleX,s.scaleY,a,u),o=s=null,function(t){for(var n,e=-1,r=u.length;++e=0&&(t=t.slice(0,n)),!t||"start"===t}))}(n)?hr:fr;return function(){var s=o(this,t),a=s.on;a!==r&&(i=(r=a).copy()).on(n,e),s.on=i}}(e,t,n))},attr:function(t,n){var e=Mt(t),r="transform"===e?Sr:Mr;return this.attrTween(t,"function"==typeof n?(e.local?Rr:jr)(e,r,Er(this,"attr."+t,n)):null==n?(e.local?zr:$r)(e):(e.local?Or:Tr)(e,r,n))},attrTween:function(t,n){var e="attr."+t;if(arguments.length<2)return(e=this.tween(e))&&e._value;if(null==n)return this.tween(e,null);if("function"!=typeof n)throw new Error;var r=Mt(t);return this.tween(e,(r.local?Lr:Dr)(r,n))},style:function(t,n,e){var r="transform"==(t+="")?kr:Mr;return null==n?this.styleTween(t,function(t,n){var e,r,i;return function(){var o=qt(this,t),s=(this.style.removeProperty(t),qt(this,t));return o===s?null:o===e&&s===r?i:i=n(e=o,r=s)}}(t,r)).on("end.style."+t,Br(t)):"function"==typeof n?this.styleTween(t,function(t,n,e){var r,i,o;return function(){var s=qt(this,t),a=e(this),u=a+"";return null==a&&(this.style.removeProperty(t),u=a=qt(this,t)),s===u?null:s===r&&u===i?o:(i=u,o=n(r=s,a))}}(t,r,Er(this,"style."+t,n))).each(function(t,n){var e,r,i,o,s="style."+n,a="end."+s;return function(){var u=fr(this,t),c=u.on,l=null==u.value[s]?o||(o=Br(n)):void 0;c===e&&i===l||(r=(e=c).copy()).on(a,i=l),u.on=r}}(this._id,t)):this.styleTween(t,function(t,n,e){var r,i,o=e+"";return function(){var s=qt(this,t);return s===o?null:s===r?i:i=n(r=s,e)}}(t,r,n),e).on("end.style."+t,null)},styleTween:function(t,n,e){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==n)return this.tween(r,null);if("function"!=typeof n)throw new Error;return this.tween(r,function(t,n,e){var r,i;function o(){var o=n.apply(this,arguments);return o!==i&&(r=(i=o)&&function(t,n,e){return function(r){this.style.setProperty(t,n.call(this,r),e)}}(t,o,e)),r}return o._value=n,o}(t,n,null==e?"":e))},text:function(t){return this.tween("text","function"==typeof t?function(t){return function(){var n=t(this);this.textContent=null==n?"":n}}(Er(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))},textTween:function(t){var n="text";if(arguments.length<1)return(n=this.tween(n))&&n._value;if(null==t)return this.tween(n,null);if("function"!=typeof t)throw new Error;return this.tween(n,function(t){var n,e;function r(){var r=t.apply(this,arguments);return r!==e&&(n=(e=r)&&function(t){return function(n){this.textContent=t.call(this,n)}}(r)),n}return r._value=t,r}(t))},remove:function(){return this.on("end.remove",function(t){return function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}}(this._id))},tween:function(t,n){var e=this._id;if(t+="",arguments.length<2){for(var r,i=dr(this.node(),e).tween,o=0,s=i.length;oor&&e.name===n)return new Hr([[t]],Qr,n,+r);return null}function ni(t){return function(){return t}}function ei(t,n,e){this.target=t,this.type=n,this.selection=e}function ri(){pn.stopImmediatePropagation()}function ii(){pn.preventDefault(),pn.stopImmediatePropagation()}var oi={name:"drag"},si={name:"space"},ai={name:"handle"},ui={name:"center"};function ci(t){return[+t[0],+t[1]]}function li(t){return[ci(t[0]),ci(t[1])]}var hi={name:"x",handles:["w","e"].map(bi),input:function(t,n){return null==t?null:[[+t[0],n[0][1]],[+t[1],n[1][1]]]},output:function(t){return t&&[t[0][0],t[1][0]]}},fi={name:"y",handles:["n","s"].map(bi),input:function(t,n){return null==t?null:[[n[0][0],+t[0]],[n[1][0],+t[1]]]},output:function(t){return t&&[t[0][1],t[1][1]]}},di={name:"xy",handles:["n","w","e","s","nw","ne","sw","se"].map(bi),input:function(t){return null==t?null:li(t)},output:function(t){return t}},pi={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},_i={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},mi={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},vi={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},gi={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function bi(t){return{type:t}}function wi(){return!pn.ctrlKey&&!pn.button}function yi(){var t=this.ownerSVGElement||this;return t.hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]}function xi(){return navigator.maxTouchPoints||"ontouchstart"in this}function ki(t){for(;!t.__brush;)if(!(t=t.parentNode))return;return t.__brush}function Si(t){var n=t.__brush;return n?n.dim.output(n.selection):null}function Ai(){return Mi(hi)}function Ci(){return Mi(fi)}function Ei(){return Mi(di)}function Mi(t){var n,e=yi,r=wi,i=xi,o=!0,s=_t("start","brush","end"),a=6;function u(n){var e=n.property("__brush",_).selectAll(".overlay").data([bi("overlay")]);e.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",pi.overlay).merge(e).each((function(){var t=ki(this).extent;En(this).attr("x",t[0][0]).attr("y",t[0][1]).attr("width",t[1][0]-t[0][0]).attr("height",t[1][1]-t[0][1])})),n.selectAll(".selection").data([bi("selection")]).enter().append("rect").attr("class","selection").attr("cursor",pi.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var r=n.selectAll(".handle").data(t.handles,(function(t){return t.type}));r.exit().remove(),r.enter().append("rect").attr("class",(function(t){return"handle handle--"+t.type})).attr("cursor",(function(t){return pi[t.type]})),n.each(c).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",f).filter(i).on("touchstart.brush",f).on("touchmove.brush",d).on("touchend.brush touchcancel.brush",p).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function c(){var t=En(this),n=ki(this).selection;n?(t.selectAll(".selection").style("display",null).attr("x",n[0][0]).attr("y",n[0][1]).attr("width",n[1][0]-n[0][0]).attr("height",n[1][1]-n[0][1]),t.selectAll(".handle").style("display",null).attr("x",(function(t){return"e"===t.type[t.type.length-1]?n[1][0]-a/2:n[0][0]-a/2})).attr("y",(function(t){return"s"===t.type[0]?n[1][1]-a/2:n[0][1]-a/2})).attr("width",(function(t){return"n"===t.type||"s"===t.type?n[1][0]-n[0][0]+a:a})).attr("height",(function(t){return"e"===t.type||"w"===t.type?n[1][1]-n[0][1]+a:a}))):t.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function l(t,n,e){var r=t.__brush.emitter;return!r||e&&r.clean?new h(t,n,e):r}function h(t,n,e){this.that=t,this.args=n,this.state=t.__brush,this.active=0,this.clean=e}function f(){if((!n||pn.touches)&&r.apply(this,arguments)){var e,i,s,a,u,h,f,d,p,_,m,v,g=this,b=pn.target.__data__.type,w="selection"===(o&&pn.metaKey?b="overlay":b)?oi:o&&pn.altKey?ui:ai,y=t===fi?null:vi[b],x=t===hi?null:gi[b],k=ki(g),S=k.extent,A=k.selection,C=S[0][0],E=S[0][1],M=S[1][0],$=S[1][1],z=0,T=0,O=y&&x&&o&&pn.shiftKey,j=pn.touches?(v=pn.changedTouches[0].identifier,function(t){return Re(t,pn.touches,v)}):Le,R=j(g),L=R,D=l(g,arguments,!0).beforestart();"overlay"===b?(A&&(p=!0),k.selection=A=[[e=t===fi?C:R[0],s=t===hi?E:R[1]],[u=t===fi?M:e,f=t===hi?$:s]]):(e=A[0][0],s=A[0][1],u=A[1][0],f=A[1][1]),i=e,a=s,h=u,d=f;var P=En(g).attr("pointer-events","none"),I=P.selectAll(".overlay").attr("cursor",pi[b]);if(pn.touches)D.moved=N,D.ended=B;else{var q=En(pn.view).on("mousemove.brush",N,!0).on("mouseup.brush",B,!0);o&&q.on("keydown.brush",(function(){switch(pn.keyCode){case 16:O=y&&x;break;case 18:w===ai&&(y&&(u=h-z*y,e=i+z*y),x&&(f=d-T*x,s=a+T*x),w=ui,F());break;case 32:w!==ai&&w!==ui||(y<0?u=h-z:y>0&&(e=i-z),x<0?f=d-T:x>0&&(s=a-T),w=si,I.attr("cursor",pi.selection),F());break;default:return}ii()}),!0).on("keyup.brush",(function(){switch(pn.keyCode){case 16:O&&(_=m=O=!1,F());break;case 18:w===ui&&(y<0?u=h:y>0&&(e=i),x<0?f=d:x>0&&(s=a),w=ai,F());break;case 32:w===si&&(pn.altKey?(y&&(u=h-z*y,e=i+z*y),x&&(f=d-T*x,s=a+T*x),w=ui):(y<0?u=h:y>0&&(e=i),x<0?f=d:x>0&&(s=a),w=ai),I.attr("cursor",pi[b]),F());break;default:return}ii()}),!0),zn(pn.view)}ri(),pr(g),c.call(g),D.start()}function N(){var t=j(g);!O||_||m||(Math.abs(t[0]-L[0])>Math.abs(t[1]-L[1])?m=!0:_=!0),L=t,p=!0,ii(),F()}function F(){var t;switch(z=L[0]-R[0],T=L[1]-R[1],w){case si:case oi:y&&(z=Math.max(C-e,Math.min(M-u,z)),i=e+z,h=u+z),x&&(T=Math.max(E-s,Math.min($-f,T)),a=s+T,d=f+T);break;case ai:y<0?(z=Math.max(C-e,Math.min(M-e,z)),i=e+z,h=u):y>0&&(z=Math.max(C-u,Math.min(M-u,z)),i=e,h=u+z),x<0?(T=Math.max(E-s,Math.min($-s,T)),a=s+T,d=f):x>0&&(T=Math.max(E-f,Math.min($-f,T)),a=s,d=f+T);break;case ui:y&&(i=Math.max(C,Math.min(M,e-z*y)),h=Math.max(C,Math.min(M,u+z*y))),x&&(a=Math.max(E,Math.min($,s-T*x)),d=Math.max(E,Math.min($,f+T*x)))}hNi)if(Math.abs(l*a-u*c)>Ni&&i){var f=e-o,d=r-s,p=a*a+u*u,_=f*f+d*d,m=Math.sqrt(p),v=Math.sqrt(h),g=i*Math.tan((Ii-Math.acos((p+h-_)/(2*m*v)))/2),b=g/v,w=g/m;Math.abs(b-1)>Ni&&(this._+="L"+(t+b*c)+","+(n+b*l)),this._+="A"+i+","+i+",0,0,"+ +(l*f>c*d)+","+(this._x1=t+w*a)+","+(this._y1=n+w*u)}else this._+="L"+(this._x1=t)+","+(this._y1=n)},arc:function(t,n,e,r,i,o){t=+t,n=+n,o=!!o;var s=(e=+e)*Math.cos(r),a=e*Math.sin(r),u=t+s,c=n+a,l=1^o,h=o?r-i:i-r;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+u+","+c:(Math.abs(this._x1-u)>Ni||Math.abs(this._y1-c)>Ni)&&(this._+="L"+u+","+c),e&&(h<0&&(h=h%qi+qi),h>Fi?this._+="A"+e+","+e+",0,1,"+l+","+(t-s)+","+(n-a)+"A"+e+","+e+",0,1,"+l+","+(this._x1=u)+","+(this._y1=c):h>Ni&&(this._+="A"+e+","+e+",0,"+ +(h>=Ii)+","+l+","+(this._x1=t+e*Math.cos(i))+","+(this._y1=n+e*Math.sin(i))))},rect:function(t,n,e,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +e+"v"+ +r+"h"+-e+"Z"},toString:function(){return this._}};const Hi=Ui;function Vi(t){return t.source}function Wi(t){return t.target}function Gi(t){return t.radius}function Yi(t){return t.startAngle}function Xi(t){return t.endAngle}function Ki(){var t=Vi,n=Wi,e=Gi,r=Yi,i=Xi,o=null;function s(){var s,a=Di.call(arguments),u=t.apply(this,a),c=n.apply(this,a),l=+e.apply(this,(a[0]=u,a)),h=r.apply(this,a)-Oi,f=i.apply(this,a)-Oi,d=l*$i(h),p=l*zi(h),_=+e.apply(this,(a[0]=c,a)),m=r.apply(this,a)-Oi,v=i.apply(this,a)-Oi;if(o||(o=s=Hi()),o.moveTo(d,p),o.arc(0,0,l,h,f),h===m&&f===v||(o.quadraticCurveTo(0,0,_*$i(m),_*zi(m)),o.arc(0,0,_,m,v)),o.quadraticCurveTo(0,0,d,p),o.closePath(),s)return o=null,s+""||null}return s.radius=function(t){return arguments.length?(e="function"==typeof t?t:Pi(+t),s):e},s.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:Pi(+t),s):r},s.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:Pi(+t),s):i},s.source=function(n){return arguments.length?(t=n,s):t},s.target=function(t){return arguments.length?(n=t,s):n},s.context=function(t){return arguments.length?(o=null==t?null:t,s):o},s}var Zi="$";function Ji(){}function Qi(t,n){var e=new Ji;if(t instanceof Ji)t.each((function(t,n){e.set(n,t)}));else if(Array.isArray(t)){var r,i=-1,o=t.length;if(null==n)for(;++i=r.length)return null!=t&&e.sort(t),null!=n?n(e):e;for(var u,c,l,h=-1,f=e.length,d=r[i++],p=to(),_=s();++hr.length)return t;var o,a=i[e-1];return null!=n&&e>=r.length?o=t.entries():(o=[],t.each((function(t,n){o.push({key:n,values:s(t,e)})}))),null!=a?o.sort((function(t,n){return a(t.key,n.key)})):o}return e={object:function(t){return o(t,0,eo,ro)},map:function(t){return o(t,0,io,oo)},entries:function(t){return s(o(t,0,io,oo),0)},key:function(t){return r.push(t),e},sortKeys:function(t){return i[r.length-1]=t,e},sortValues:function(n){return t=n,e},rollup:function(t){return n=t,e}}}function eo(){return{}}function ro(t,n,e){t[n]=e}function io(){return to()}function oo(t,n,e){t.set(n,e)}function so(){}var ao=to.prototype;function uo(t,n){var e=new so;if(t instanceof so)t.each((function(t){e.add(t)}));else if(t){var r=-1,i=t.length;if(null==n)for(;++rxo?Math.pow(t,1/3):t/yo+bo}function Mo(t){return t>wo?t*t*t:yo*(t-bo)}function $o(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function zo(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function To(t){if(t instanceof Ro)return new Ro(t.h,t.c,t.l,t.opacity);if(t instanceof Co||(t=ko(t)),0===t.a&&0===t.b)return new Ro(NaN,0r!=d>r&&e<(f-c)*(r-l)/(d-l)+c&&(i=-i)}return i}function Zo(t,n,e){var r,i,o,s;return function(t,n,e){return(n[0]-t[0])*(e[1]-t[1])==(e[0]-t[0])*(n[1]-t[1])}(t,n,e)&&(i=t[r=+(t[0]===n[0])],o=e[r],s=n[r],i<=o&&o<=s||s<=o&&o<=i)}function Jo(){}var Qo=[[],[[[1,1.5],[.5,1]]],[[[1.5,1],[1,1.5]]],[[[1.5,1],[.5,1]]],[[[1,.5],[1.5,1]]],[[[1,1.5],[.5,1]],[[1,.5],[1.5,1]]],[[[1,.5],[1,1.5]]],[[[1,.5],[.5,1]]],[[[.5,1],[1,.5]]],[[[1,1.5],[1,.5]]],[[[.5,1],[1,.5]],[[1.5,1],[1,1.5]]],[[[1.5,1],[1,.5]]],[[[.5,1],[1.5,1]]],[[[1,1.5],[1.5,1]]],[[[.5,1],[1,1.5]]],[]];function ts(){var t=1,n=1,e=z,r=a;function i(t){var n=e(t);if(Array.isArray(n))n=n.slice().sort(Go);else{var r=v(t),i=r[0],s=r[1];n=$(i,s,n),n=k(Math.floor(i/n)*n,Math.floor(s/n)*n,n)}return n.map((function(n){return o(t,n)}))}function o(e,i){var o=[],a=[];return function(e,r,i){var o,a,u,c,l,h,f=new Array,d=new Array;for(o=a=-1,c=e[0]>=r,Qo[c<<1].forEach(p);++o=r,Qo[u|c<<1].forEach(p);for(Qo[0|c].forEach(p);++a=r,l=e[a*t]>=r,Qo[c<<1|l<<2].forEach(p);++o=r,h=l,l=e[a*t+o+1]>=r,Qo[u|c<<1|l<<2|h<<3].forEach(p);Qo[c|l<<3].forEach(p)}for(o=-1,l=e[a*t]>=r,Qo[l<<2].forEach(p);++o=r,Qo[l<<2|h<<3].forEach(p);function p(t){var n,e,r=[t[0][0]+o,t[0][1]+a],u=[t[1][0]+o,t[1][1]+a],c=s(r),l=s(u);(n=d[c])?(e=f[l])?(delete d[n.end],delete f[e.start],n===e?(n.ring.push(u),i(n.ring)):f[n.start]=d[e.end]={start:n.start,end:e.end,ring:n.ring.concat(e.ring)}):(delete d[n.end],n.ring.push(u),d[n.end=l]=n):(n=f[l])?(e=d[c])?(delete f[n.start],delete d[e.end],n===e?(n.ring.push(u),i(n.ring)):f[e.start]=d[n.end]={start:e.start,end:n.end,ring:e.ring.concat(n.ring)}):(delete f[n.start],n.ring.unshift(r),f[n.start=c]=n):f[c]=d[l]={start:c,end:l,ring:[r,u]}}Qo[l<<3].forEach(p)}(e,i,(function(t){r(t,e,i),function(t){for(var n=0,e=t.length,r=t[e-1][1]*t[0][0]-t[e-1][0]*t[0][1];++n0?o.push([t]):a.push(t)})),a.forEach((function(t){for(var n,e=0,r=o.length;e0&&s0&&a0&&o>0))throw new Error("invalid size");return t=r,n=o,i},i.thresholds=function(t){return arguments.length?(e="function"==typeof t?t:Array.isArray(t)?Yo(Wo.call(t)):Yo(t),i):e},i.smooth=function(t){return arguments.length?(r=t?a:Jo,i):r===a},i}function ns(t,n,e){for(var r=t.width,i=t.height,o=1+(e<<1),s=0;s=e&&(a>=o&&(u-=t.data[a-o+s*r]),n.data[a-e+s*r]=u/Math.min(a+1,r-1+o-a,o))}function es(t,n,e){for(var r=t.width,i=t.height,o=1+(e<<1),s=0;s=e&&(a>=o&&(u-=t.data[s+(a-o)*r]),n.data[s+(a-e)*r]=u/Math.min(a+1,i-1+o-a,o))}function rs(t){return t[0]}function is(t){return t[1]}function os(){return 1}function ss(){var t=rs,n=is,e=os,r=960,i=500,o=20,s=2,a=3*o,u=r+2*a>>s,c=i+2*a>>s,l=Yo(20);function h(r){var i=new Float32Array(u*c),h=new Float32Array(u*c);r.forEach((function(r,o,l){var h=+t(r,o,l)+a>>s,f=+n(r,o,l)+a>>s,d=+e(r,o,l);h>=0&&h=0&&f>s),es({width:u,height:c,data:h},{width:u,height:c,data:i},o>>s),ns({width:u,height:c,data:i},{width:u,height:c,data:h},o>>s),es({width:u,height:c,data:h},{width:u,height:c,data:i},o>>s),ns({width:u,height:c,data:i},{width:u,height:c,data:h},o>>s),es({width:u,height:c,data:h},{width:u,height:c,data:i},o>>s);var d=l(i);if(!Array.isArray(d)){var p=L(i);d=$(0,p,d),(d=k(0,Math.floor(p/d)*d,d)).shift()}return ts().thresholds(d).size([u,c])(i).map(f)}function f(t){return t.value*=Math.pow(2,-2*s),t.coordinates.forEach(d),t}function d(t){t.forEach(p)}function p(t){t.forEach(_)}function _(t){t[0]=t[0]*Math.pow(2,s)-a,t[1]=t[1]*Math.pow(2,s)-a}function m(){return u=r+2*(a=3*o)>>s,c=i+2*a>>s,h}return h.x=function(n){return arguments.length?(t="function"==typeof n?n:Yo(+n),h):t},h.y=function(t){return arguments.length?(n="function"==typeof t?t:Yo(+t),h):n},h.weight=function(t){return arguments.length?(e="function"==typeof t?t:Yo(+t),h):e},h.size=function(t){if(!arguments.length)return[r,i];var n=Math.ceil(t[0]),e=Math.ceil(t[1]);if(!(n>=0||n>=0))throw new Error("invalid size");return r=n,i=e,m()},h.cellSize=function(t){if(!arguments.length)return 1<=1))throw new Error("invalid cell size");return s=Math.floor(Math.log(t)/Math.LN2),m()},h.thresholds=function(t){return arguments.length?(l="function"==typeof t?t:Array.isArray(t)?Yo(Wo.call(t)):Yo(t),h):l},h.bandwidth=function(t){if(!arguments.length)return Math.sqrt(o*(o+1));if(!((t=+t)>=0))throw new Error("invalid bandwidth");return o=Math.round((Math.sqrt(4*t*t+1)-1)/2),m()},h}function as(t){return function(){return t}}function us(t,n,e,r,i,o,s,a,u,c){this.target=t,this.type=n,this.subject=e,this.identifier=r,this.active=i,this.x=o,this.y=s,this.dx=a,this.dy=u,this._=c}function cs(){return!pn.ctrlKey&&!pn.button}function ls(){return this.parentNode}function hs(t){return null==t?{x:pn.x,y:pn.y}:t}function fs(){return navigator.maxTouchPoints||"ontouchstart"in this}function ds(){var t,n,e,r,i=cs,o=ls,s=hs,a=fs,u={},c=_t("start","drag","end"),l=0,h=0;function f(t){t.on("mousedown.drag",d).filter(a).on("touchstart.drag",m).on("touchmove.drag",v).on("touchend.drag touchcancel.drag",g).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function d(){if(!r&&i.apply(this,arguments)){var s=b("mouse",o.apply(this,arguments),Le,this,arguments);s&&(En(pn.view).on("mousemove.drag",p,!0).on("mouseup.drag",_,!0),zn(pn.view),Mn(),e=!1,t=pn.clientX,n=pn.clientY,s("start"))}}function p(){if($n(),!e){var r=pn.clientX-t,i=pn.clientY-n;e=r*r+i*i>h}u.mouse("drag")}function _(){En(pn.view).on("mousemove.drag mouseup.drag",null),Tn(pn.view,e),$n(),u.mouse("end")}function m(){if(i.apply(this,arguments)){var t,n,e=pn.changedTouches,r=o.apply(this,arguments),s=e.length;for(t=0;t=o?u=!0:(r=t.charCodeAt(s++))===vs?c=!0:r===gs&&(c=!0,t.charCodeAt(s)===vs&&++s),t.slice(i+1,n-1).replace(/""/g,'"')}for(;s9999?"+"+ys(t,6):ys(t,4)}(t.getUTCFullYear())+"-"+ys(t.getUTCMonth()+1,2)+"-"+ys(t.getUTCDate(),2)+(i?"T"+ys(n,2)+":"+ys(e,2)+":"+ys(r,2)+"."+ys(i,3)+"Z":r?"T"+ys(n,2)+":"+ys(e,2)+":"+ys(r,2)+"Z":e||n?"T"+ys(n,2)+":"+ys(e,2)+"Z":"")}(t):n.test(t+="")?'"'+t.replace(/"/g,'""')+'"':t}return{parse:function(t,n){var e,i,o=r(t,(function(t,r){if(e)return e(t,r-1);i=t,e=n?function(t,n){var e=bs(t);return function(r,i){return n(e(r),i,t)}}(t,n):bs(t)}));return o.columns=i||[],o},parseRows:r,format:function(n,e){return null==e&&(e=ws(n)),[e.map(s).join(t)].concat(i(n,e)).join("\n")},formatBody:function(t,n){return null==n&&(n=ws(t)),i(t,n).join("\n")},formatRows:function(t){return t.map(o).join("\n")},formatRow:o,formatValue:s}}var ks=xs(","),Ss=ks.parse,As=ks.parseRows,Cs=ks.format,Es=ks.formatBody,Ms=ks.formatRows,$s=ks.formatRow,zs=ks.formatValue,Ts=xs("\t"),Os=Ts.parse,js=Ts.parseRows,Rs=Ts.format,Ls=Ts.formatBody,Ds=Ts.formatRows,Ps=Ts.formatRow,Is=Ts.formatValue;function qs(t){for(var n in t){var e,r,i=t[n].trim();if(i)if("true"===i)i=!0;else if("false"===i)i=!1;else if("NaN"===i)i=NaN;else if(isNaN(e=+i)){if(!(r=i.match(/^([-+]\d{2})?\d{4}(-\d{2}(-\d{2})?)?(T\d{2}:\d{2}(:\d{2}(\.\d{3})?)?(Z|[-+]\d{2}:\d{2})?)?$/)))continue;Ns&&r[4]&&!r[7]&&(i=i.replace(/-/g,"/").replace(/T/," ")),i=new Date(i)}else i=e;else i=null;t[n]=i}return t}var Ns=new Date("2019-01-01T00:00").getHours()||new Date("2019-07-01T00:00").getHours();function Fs(t){return+t}function Bs(t){return t*t}function Us(t){return t*(2-t)}function Hs(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}var Vs=function t(n){function e(t){return Math.pow(t,n)}return n=+n,e.exponent=t,e}(3),Ws=function t(n){function e(t){return 1-Math.pow(1-t,n)}return n=+n,e.exponent=t,e}(3),Gs=function t(n){function e(t){return((t*=2)<=1?Math.pow(t,n):2-Math.pow(2-t,n))/2}return n=+n,e.exponent=t,e}(3),Ys=Math.PI,Xs=Ys/2;function Ks(t){return 1==+t?1:1-Math.cos(t*Xs)}function Zs(t){return Math.sin(t*Xs)}function Js(t){return(1-Math.cos(Ys*t))/2}function Qs(t){return 1.0009775171065494*(Math.pow(2,-10*t)-.0009765625)}function ta(t){return Qs(1-+t)}function na(t){return 1-Qs(t)}function ea(t){return((t*=2)<=1?Qs(1-t):2-Qs(t-1))/2}function ra(t){return 1-Math.sqrt(1-t*t)}function ia(t){return Math.sqrt(1- --t*t)}function oa(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}var sa=4/11,aa=6/11,ua=8/11,ca=3/4,la=9/11,ha=10/11,fa=15/16,da=21/22,pa=63/64,_a=1/sa/sa;function ma(t){return 1-va(1-t)}function va(t){return(t=+t)=(o=(_+v)/2))?_=o:v=o,(l=e>=(s=(m+g)/2))?m=s:g=s,i=d,!(d=d[h=l<<1|c]))return i[h]=p,t;if(a=+t._x.call(null,d.data),u=+t._y.call(null,d.data),n===a&&e===u)return p.next=d,i?i[h]=p:t._root=p,t;do{i=i?i[h]=new Array(4):t._root=new Array(4),(c=n>=(o=(_+v)/2))?_=o:v=o,(l=e>=(s=(m+g)/2))?m=s:g=s}while((h=l<<1|c)==(f=(u>=s)<<1|a>=o));return i[f]=d,i[h]=p,t}function Ya(t,n,e,r,i){this.node=t,this.x0=n,this.y0=e,this.x1=r,this.y1=i}function Xa(t){return t[0]}function Ka(t){return t[1]}function Za(t,n,e){var r=new Ja(null==n?Xa:n,null==e?Ka:e,NaN,NaN,NaN,NaN);return null==t?r:r.addAll(t)}function Ja(t,n,e,r,i,o){this._x=t,this._y=n,this._x0=e,this._y0=r,this._x1=i,this._y1=o,this._root=void 0}function Qa(t){for(var n={data:t.data},e=n;t=t.next;)e=e.next={data:t.data};return n}var tu=Za.prototype=Ja.prototype;function nu(t){return t.x+t.vx}function eu(t){return t.y+t.vy}function ru(t){var n,e,r=1,i=1;function o(){for(var t,o,a,u,c,l,h,f=n.length,d=0;du+d||ic+d||oa.index){var p=u-s.x-s.vx,_=c-s.y-s.vy,m=p*p+_*_;mt.r&&(t.r=t[n].r)}function a(){if(n){var r,i,o=n.length;for(e=new Array(o),r=0;rl&&(l=r),ih&&(h=i));if(u>l||c>h)return this;for(this.cover(u,c).cover(l,h),e=0;et||t>=i||r>n||n>=o;)switch(a=(nf||(o=u.y0)>d||(s=u.x1)=v)<<1|t>=m)&&(u=p[p.length-1],p[p.length-1]=p[p.length-1-c],p[p.length-1-c]=u)}else{var g=t-+this._x.call(null,_.data),b=n-+this._y.call(null,_.data),w=g*g+b*b;if(w=(a=(p+m)/2))?p=a:m=a,(l=s>=(u=(_+v)/2))?_=u:v=u,n=d,!(d=d[h=l<<1|c]))return this;if(!d.length)break;(n[h+1&3]||n[h+2&3]||n[h+3&3])&&(e=n,f=h)}for(;d.data!==t;)if(r=d,!(d=d.next))return this;return(i=d.next)&&delete d.next,r?(i?r.next=i:delete r.next,this):n?(i?n[h]=i:delete n[h],(d=n[0]||n[1]||n[2]||n[3])&&d===(n[3]||n[2]||n[1]||n[0])&&!d.length&&(e?e[f]=d:this._root=d),this):(this._root=i,this)},tu.removeAll=function(t){for(var n=0,e=t.length;n1?(null==e?a.remove(t):a.set(t,d(e)),n):a.get(t)},find:function(n,e,r){var i,o,s,a,u,c=0,l=t.length;for(null==r?r=1/0:r*=r,c=0;c1?(c.on(t,e),n):c.on(t)}}}function fu(){var t,n,e,r,i=Va(-30),o=1,s=1/0,a=.81;function u(r){var i,o=t.length,s=Za(t,au,uu).visitAfter(l);for(e=r,i=0;i=s)){(t.data!==n||t.next)&&(0===l&&(d+=(l=Wa())*l),0===h&&(d+=(h=Wa())*h),d1?r[0]+r.slice(2):r,+t.slice(e+1)]}function vu(t){return(t=mu(Math.abs(t)))?t[1]:NaN}var gu,bu=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function wu(t){if(!(n=bu.exec(t)))throw new Error("invalid format: "+t);var n;return new yu({fill:n[1],align:n[2],sign:n[3],symbol:n[4],zero:n[5],width:n[6],comma:n[7],precision:n[8]&&n[8].slice(1),trim:n[9],type:n[10]})}function yu(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function xu(t,n){var e=mu(t,n);if(!e)return t+"";var r=e[0],i=e[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}wu.prototype=yu.prototype,yu.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const ku={"%":function(t,n){return(100*t).toFixed(n)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:function(t,n){return t.toExponential(n)},f:function(t,n){return t.toFixed(n)},g:function(t,n){return t.toPrecision(n)},o:function(t){return Math.round(t).toString(8)},p:function(t,n){return xu(100*t,n)},r:xu,s:function(t,n){var e=mu(t,n);if(!e)return t+"";var r=e[0],i=e[1],o=i-(gu=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,s=r.length;return o===s?r:o>s?r+new Array(o-s+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+mu(t,Math.max(0,n+o-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}};function Su(t){return t}var Au,Cu,Eu,Mu=Array.prototype.map,$u=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function zu(t){var n,e,r=void 0===t.grouping||void 0===t.thousands?Su:(n=Mu.call(t.grouping,Number),e=t.thousands+"",function(t,r){for(var i=t.length,o=[],s=0,a=n[0],u=0;i>0&&a>0&&(u+a+1>r&&(a=Math.max(1,r-u)),o.push(t.substring(i-=a,i+a)),!((u+=a+1)>r));)a=n[s=(s+1)%n.length];return o.reverse().join(e)}),i=void 0===t.currency?"":t.currency[0]+"",o=void 0===t.currency?"":t.currency[1]+"",s=void 0===t.decimal?".":t.decimal+"",a=void 0===t.numerals?Su:function(t){return function(n){return n.replace(/[0-9]/g,(function(n){return t[+n]}))}}(Mu.call(t.numerals,String)),u=void 0===t.percent?"%":t.percent+"",c=void 0===t.minus?"-":t.minus+"",l=void 0===t.nan?"NaN":t.nan+"";function h(t){var n=(t=wu(t)).fill,e=t.align,h=t.sign,f=t.symbol,d=t.zero,p=t.width,_=t.comma,m=t.precision,v=t.trim,g=t.type;"n"===g?(_=!0,g="g"):ku[g]||(void 0===m&&(m=12),v=!0,g="g"),(d||"0"===n&&"="===e)&&(d=!0,n="0",e="=");var b="$"===f?i:"#"===f&&/[boxX]/.test(g)?"0"+g.toLowerCase():"",w="$"===f?o:/[%p]/.test(g)?u:"",y=ku[g],x=/[defgprs%]/.test(g);function k(t){var i,o,u,f=b,k=w;if("c"===g)k=y(t)+k,t="";else{var S=(t=+t)<0||1/t<0;if(t=isNaN(t)?l:y(Math.abs(t),m),v&&(t=function(t){t:for(var n,e=t.length,r=1,i=-1;r0&&(i=0)}return i>0?t.slice(0,i)+t.slice(n+1):t}(t)),S&&0==+t&&"+"!==h&&(S=!1),f=(S?"("===h?h:c:"-"===h||"("===h?"":h)+f,k=("s"===g?$u[8+gu/3]:"")+k+(S&&"("===h?")":""),x)for(i=-1,o=t.length;++i(u=t.charCodeAt(i))||u>57){k=(46===u?s+t.slice(i+1):t.slice(i))+k,t=t.slice(0,i);break}}_&&!d&&(t=r(t,1/0));var A=f.length+t.length+k.length,C=A>1)+f+t+k+C.slice(A);break;default:t=C+f+t+k}return a(t)}return m=void 0===m?6:/[gprs]/.test(g)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),k.toString=function(){return t+""},k}return{format:h,formatPrefix:function(t,n){var e=h(((t=wu(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(vu(n)/3))),i=Math.pow(10,-r),o=$u[8+r/3];return function(t){return e(i*t)+o}}}}function Tu(t){return Au=zu(t),Cu=Au.format,Eu=Au.formatPrefix,Au}function Ou(t){return Math.max(0,-vu(Math.abs(t)))}function ju(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(vu(n)/3)))-vu(Math.abs(t)))}function Ru(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,vu(n)-vu(t))+1}function Lu(){return new Du}function Du(){this.reset()}Tu({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),Du.prototype={constructor:Du,reset:function(){this.s=this.t=0},add:function(t){Iu(Pu,t,this.t),Iu(this,Pu.s,this.s),this.s?this.t+=Pu.t:this.s=Pu.t},valueOf:function(){return this.s}};var Pu=new Du;function Iu(t,n,e){var r=t.s=n+e,i=r-n,o=r-i;t.t=n-o+(e-i)}var qu=1e-6,Nu=1e-12,Fu=Math.PI,Bu=Fu/2,Uu=Fu/4,Hu=2*Fu,Vu=180/Fu,Wu=Fu/180,Gu=Math.abs,Yu=Math.atan,Xu=Math.atan2,Ku=Math.cos,Zu=Math.ceil,Ju=Math.exp,Qu=(Math.floor,Math.log),tc=Math.pow,nc=Math.sin,ec=Math.sign||function(t){return t>0?1:t<0?-1:0},rc=Math.sqrt,ic=Math.tan;function oc(t){return t>1?0:t<-1?Fu:Math.acos(t)}function sc(t){return t>1?Bu:t<-1?-Bu:Math.asin(t)}function ac(t){return(t=nc(t/2))*t}function uc(){}function cc(t,n){t&&hc.hasOwnProperty(t.type)&&hc[t.type](t,n)}var lc={Feature:function(t,n){cc(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++r=0?1:-1,i=r*e,o=Ku(n=(n*=Wu)/2+Uu),s=nc(n),a=bc*s,u=gc*o+a*Ku(i),c=a*r*nc(i);wc.add(Xu(c,u)),vc=t,gc=o,bc=s}function Ec(t){return yc.reset(),pc(t,xc),2*yc}function Mc(t){return[Xu(t[1],t[0]),sc(t[2])]}function $c(t){var n=t[0],e=t[1],r=Ku(e);return[r*Ku(n),r*nc(n),nc(e)]}function zc(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}function Tc(t,n){return[t[1]*n[2]-t[2]*n[1],t[2]*n[0]-t[0]*n[2],t[0]*n[1]-t[1]*n[0]]}function Oc(t,n){t[0]+=n[0],t[1]+=n[1],t[2]+=n[2]}function jc(t,n){return[t[0]*n,t[1]*n,t[2]*n]}function Rc(t){var n=rc(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=n,t[1]/=n,t[2]/=n}var Lc,Dc,Pc,Ic,qc,Nc,Fc,Bc,Uc,Hc,Vc,Wc,Gc,Yc,Xc,Kc,Zc,Jc,Qc,tl,nl,el,rl,il,ol,sl,al=Lu(),ul={point:cl,lineStart:hl,lineEnd:fl,polygonStart:function(){ul.point=dl,ul.lineStart=pl,ul.lineEnd=_l,al.reset(),xc.polygonStart()},polygonEnd:function(){xc.polygonEnd(),ul.point=cl,ul.lineStart=hl,ul.lineEnd=fl,wc<0?(Lc=-(Pc=180),Dc=-(Ic=90)):al>qu?Ic=90:al<-qu&&(Dc=-90),Hc[0]=Lc,Hc[1]=Pc},sphere:function(){Lc=-(Pc=180),Dc=-(Ic=90)}};function cl(t,n){Uc.push(Hc=[Lc=t,Pc=t]),nIc&&(Ic=n)}function ll(t,n){var e=$c([t*Wu,n*Wu]);if(Bc){var r=Tc(Bc,e),i=Tc([r[1],-r[0],0],r);Rc(i),i=Mc(i);var o,s=t-qc,a=s>0?1:-1,u=i[0]*Vu*a,c=Gu(s)>180;c^(a*qcIc&&(Ic=o):c^(a*qc<(u=(u+360)%360-180)&&uIc&&(Ic=n)),c?tml(Lc,Pc)&&(Pc=t):ml(t,Pc)>ml(Lc,Pc)&&(Lc=t):Pc>=Lc?(tPc&&(Pc=t)):t>qc?ml(Lc,t)>ml(Lc,Pc)&&(Pc=t):ml(t,Pc)>ml(Lc,Pc)&&(Lc=t)}else Uc.push(Hc=[Lc=t,Pc=t]);nIc&&(Ic=n),Bc=e,qc=t}function hl(){ul.point=ll}function fl(){Hc[0]=Lc,Hc[1]=Pc,ul.point=cl,Bc=null}function dl(t,n){if(Bc){var e=t-qc;al.add(Gu(e)>180?e+(e>0?360:-360):e)}else Nc=t,Fc=n;xc.point(t,n),ll(t,n)}function pl(){xc.lineStart()}function _l(){dl(Nc,Fc),xc.lineEnd(),Gu(al)>qu&&(Lc=-(Pc=180)),Hc[0]=Lc,Hc[1]=Pc,Bc=null}function ml(t,n){return(n-=t)<0?n+360:n}function vl(t,n){return t[0]-n[0]}function gl(t,n){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:nml(r[0],r[1])&&(r[1]=i[1]),ml(i[0],r[1])>ml(r[0],r[1])&&(r[0]=i[0])):o.push(r=i);for(s=-1/0,n=0,r=o[e=o.length-1];n<=e;r=i,++n)i=o[n],(a=ml(r[1],i[0]))>s&&(s=a,Lc=i[0],Pc=r[1])}return Uc=Hc=null,Lc===1/0||Dc===1/0?[[NaN,NaN],[NaN,NaN]]:[[Lc,Dc],[Pc,Ic]]}var wl={sphere:uc,point:yl,lineStart:kl,lineEnd:Cl,polygonStart:function(){wl.lineStart=El,wl.lineEnd=Ml},polygonEnd:function(){wl.lineStart=kl,wl.lineEnd=Cl}};function yl(t,n){t*=Wu;var e=Ku(n*=Wu);xl(e*Ku(t),e*nc(t),nc(n))}function xl(t,n,e){++Vc,Gc+=(t-Gc)/Vc,Yc+=(n-Yc)/Vc,Xc+=(e-Xc)/Vc}function kl(){wl.point=Sl}function Sl(t,n){t*=Wu;var e=Ku(n*=Wu);il=e*Ku(t),ol=e*nc(t),sl=nc(n),wl.point=Al,xl(il,ol,sl)}function Al(t,n){t*=Wu;var e=Ku(n*=Wu),r=e*Ku(t),i=e*nc(t),o=nc(n),s=Xu(rc((s=ol*o-sl*i)*s+(s=sl*r-il*o)*s+(s=il*i-ol*r)*s),il*r+ol*i+sl*o);Wc+=s,Kc+=s*(il+(il=r)),Zc+=s*(ol+(ol=i)),Jc+=s*(sl+(sl=o)),xl(il,ol,sl)}function Cl(){wl.point=yl}function El(){wl.point=$l}function Ml(){zl(el,rl),wl.point=yl}function $l(t,n){el=t,rl=n,t*=Wu,n*=Wu,wl.point=zl;var e=Ku(n);il=e*Ku(t),ol=e*nc(t),sl=nc(n),xl(il,ol,sl)}function zl(t,n){t*=Wu;var e=Ku(n*=Wu),r=e*Ku(t),i=e*nc(t),o=nc(n),s=ol*o-sl*i,a=sl*r-il*o,u=il*i-ol*r,c=rc(s*s+a*a+u*u),l=sc(c),h=c&&-l/c;Qc+=h*s,tl+=h*a,nl+=h*u,Wc+=l,Kc+=l*(il+(il=r)),Zc+=l*(ol+(ol=i)),Jc+=l*(sl+(sl=o)),xl(il,ol,sl)}function Tl(t){Vc=Wc=Gc=Yc=Xc=Kc=Zc=Jc=Qc=tl=nl=0,pc(t,wl);var n=Qc,e=tl,r=nl,i=n*n+e*e+r*r;return iFu?t+Math.round(-t/Hu)*Hu:t,n]}function Ll(t,n,e){return(t%=Hu)?n||e?jl(Pl(t),Il(n,e)):Pl(t):n||e?Il(n,e):Rl}function Dl(t){return function(n,e){return[(n+=t)>Fu?n-Hu:n<-Fu?n+Hu:n,e]}}function Pl(t){var n=Dl(t);return n.invert=Dl(-t),n}function Il(t,n){var e=Ku(t),r=nc(t),i=Ku(n),o=nc(n);function s(t,n){var s=Ku(n),a=Ku(t)*s,u=nc(t)*s,c=nc(n),l=c*e+a*r;return[Xu(u*i-l*o,a*e-c*r),sc(l*i+u*o)]}return s.invert=function(t,n){var s=Ku(n),a=Ku(t)*s,u=nc(t)*s,c=nc(n),l=c*i-u*o;return[Xu(u*i+c*o,a*e+l*r),sc(l*e-a*r)]},s}function ql(t){function n(n){return(n=t(n[0]*Wu,n[1]*Wu))[0]*=Vu,n[1]*=Vu,n}return t=Ll(t[0]*Wu,t[1]*Wu,t.length>2?t[2]*Wu:0),n.invert=function(n){return(n=t.invert(n[0]*Wu,n[1]*Wu))[0]*=Vu,n[1]*=Vu,n},n}function Nl(t,n,e,r,i,o){if(e){var s=Ku(n),a=nc(n),u=r*e;null==i?(i=n+r*Hu,o=n-u/2):(i=Fl(s,i),o=Fl(s,o),(r>0?io)&&(i+=r*Hu));for(var c,l=i;r>0?l>o:l1&&n.push(n.pop().concat(n.shift()))},result:function(){var e=n;return n=[],t=null,e}}}function Hl(t,n){return Gu(t[0]-n[0])=0;--o)i.point((l=c[o])[0],l[1]);else r(f.x,f.p.x,-1,i);f=f.p}c=(f=f.o).z,d=!d}while(!f.v);i.lineEnd()}}}function Gl(t){if(n=t.length){for(var n,e,r=0,i=t[0];++r=0?1:-1,A=S*k,C=A>Fu,E=_*y;if(Yl.add(Xu(E*S*nc(A),m*x+E*Ku(A))),s+=C?k+S*Hu:k,C^d>=e^b>=e){var M=Tc($c(f),$c(g));Rc(M);var $=Tc(o,M);Rc($);var z=(C^k>=0?-1:1)*sc($[2]);(r>z||r===z&&(M[0]||M[1]))&&(a+=C^k>=0?1:-1)}}return(s<-qu||s0){for(h||(i.polygonStart(),h=!0),i.lineStart(),t=0;t1&&2&u&&f.push(f.pop().concat(f.shift())),s.push(f.filter(Jl))}return f}}function Jl(t){return t.length>1}function Ql(t,n){return((t=t.x)[0]<0?t[1]-Bu-qu:Bu-t[1])-((n=n.x)[0]<0?n[1]-Bu-qu:Bu-n[1])}const th=Zl((function(){return!0}),(function(t){var n,e=NaN,r=NaN,i=NaN;return{lineStart:function(){t.lineStart(),n=1},point:function(o,s){var a=o>0?Fu:-Fu,u=Gu(o-e);Gu(u-Fu)0?Bu:-Bu),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(a,r),t.point(o,r),n=0):i!==a&&u>=Fu&&(Gu(e-i)qu?Yu((nc(n)*(o=Ku(r))*nc(e)-nc(r)*(i=Ku(n))*nc(t))/(i*o*s)):(n+r)/2}(e,r,o,s),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(a,r),n=0),t.point(e=o,r=s),i=a},lineEnd:function(){t.lineEnd(),e=r=NaN},clean:function(){return 2-n}}}),(function(t,n,e,r){var i;if(null==t)i=e*Bu,r.point(-Fu,i),r.point(0,i),r.point(Fu,i),r.point(Fu,0),r.point(Fu,-i),r.point(0,-i),r.point(-Fu,-i),r.point(-Fu,0),r.point(-Fu,i);else if(Gu(t[0]-n[0])>qu){var o=t[0]0,i=Gu(n)>qu;function o(t,e){return Ku(t)*Ku(e)>n}function s(t,e,r){var i=[1,0,0],o=Tc($c(t),$c(e)),s=zc(o,o),a=o[0],u=s-a*a;if(!u)return!r&&t;var c=n*s/u,l=-n*a/u,h=Tc(i,o),f=jc(i,c);Oc(f,jc(o,l));var d=h,p=zc(f,d),_=zc(d,d),m=p*p-_*(zc(f,f)-1);if(!(m<0)){var v=rc(m),g=jc(d,(-p-v)/_);if(Oc(g,f),g=Mc(g),!r)return g;var b,w=t[0],y=e[0],x=t[1],k=e[1];y0^g[1]<(Gu(g[0]-w)Fu^(w<=g[0]&&g[0]<=y)){var C=jc(d,(-p+v)/_);return Oc(C,f),[g,Mc(C)]}}}function a(n,e){var i=r?t:Fu-t,o=0;return n<-i?o|=1:n>i&&(o|=2),e<-i?o|=4:e>i&&(o|=8),o}return Zl(o,(function(t){var n,e,u,c,l;return{lineStart:function(){c=u=!1,l=1},point:function(h,f){var d,p=[h,f],_=o(h,f),m=r?_?0:a(h,f):_?a(h+(h<0?Fu:-Fu),f):0;if(!n&&(c=u=_)&&t.lineStart(),_!==u&&(!(d=s(n,p))||Hl(n,d)||Hl(p,d))&&(p[2]=1),_!==u)l=0,_?(t.lineStart(),d=s(p,n),t.point(d[0],d[1])):(d=s(n,p),t.point(d[0],d[1],2),t.lineEnd()),n=d;else if(i&&n&&r^_){var v;m&e||!(v=s(p,n,!0))||(l=0,r?(t.lineStart(),t.point(v[0][0],v[0][1]),t.point(v[1][0],v[1][1]),t.lineEnd()):(t.point(v[1][0],v[1][1]),t.lineEnd(),t.lineStart(),t.point(v[0][0],v[0][1],3)))}!_||n&&Hl(n,p)||t.point(p[0],p[1]),n=p,u=_,e=m},lineEnd:function(){u&&t.lineEnd(),n=null},clean:function(){return l|(c&&u)<<1}}}),(function(n,r,i,o){Nl(o,t,e,i,n,r)}),r?[0,-t]:[-Fu,t-Fu])}var eh=1e9,rh=-eh;function ih(t,n,e,r){function i(i,o){return t<=i&&i<=e&&n<=o&&o<=r}function o(i,o,a,c){var l=0,h=0;if(null==i||(l=s(i,a))!==(h=s(o,a))||u(i,o)<0^a>0)do{c.point(0===l||3===l?t:e,l>1?r:n)}while((l=(l+a+4)%4)!==h);else c.point(o[0],o[1])}function s(r,i){return Gu(r[0]-t)0?0:3:Gu(r[0]-e)0?2:1:Gu(r[1]-n)0?1:0:i>0?3:2}function a(t,n){return u(t.x,n.x)}function u(t,n){var e=s(t,1),r=s(n,1);return e!==r?e-r:0===e?n[1]-t[1]:1===e?t[0]-n[0]:2===e?t[1]-n[1]:n[0]-t[0]}return function(s){var u,c,l,h,f,d,p,_,m,v,g,b=s,w=Ul(),y={point:x,lineStart:function(){y.point=k,c&&c.push(l=[]),v=!0,m=!1,p=_=NaN},lineEnd:function(){u&&(k(h,f),d&&m&&w.rejoin(),u.push(w.result())),y.point=x,m&&b.lineEnd()},polygonStart:function(){b=w,u=[],c=[],g=!0},polygonEnd:function(){var n=function(){for(var n=0,e=0,i=c.length;er&&(f-o)*(r-s)>(d-s)*(t-o)&&++n:d<=r&&(f-o)*(r-s)<(d-s)*(t-o)&&--n;return n}(),e=g&&n,i=(u=I(u)).length;(e||i)&&(s.polygonStart(),e&&(s.lineStart(),o(null,null,1,s),s.lineEnd()),i&&Wl(u,a,n,o,s),s.polygonEnd()),b=s,u=c=l=null}};function x(t,n){i(t,n)&&b.point(t,n)}function k(o,s){var a=i(o,s);if(c&&l.push([o,s]),v)h=o,f=s,d=a,v=!1,a&&(b.lineStart(),b.point(o,s));else if(a&&m)b.point(o,s);else{var u=[p=Math.max(rh,Math.min(eh,p)),_=Math.max(rh,Math.min(eh,_))],w=[o=Math.max(rh,Math.min(eh,o)),s=Math.max(rh,Math.min(eh,s))];!function(t,n,e,r,i,o){var s,a=t[0],u=t[1],c=0,l=1,h=n[0]-a,f=n[1]-u;if(s=e-a,h||!(s>0)){if(s/=h,h<0){if(s0){if(s>l)return;s>c&&(c=s)}if(s=i-a,h||!(s<0)){if(s/=h,h<0){if(s>l)return;s>c&&(c=s)}else if(h>0){if(s0)){if(s/=f,f<0){if(s0){if(s>l)return;s>c&&(c=s)}if(s=o-u,f||!(s<0)){if(s/=f,f<0){if(s>l)return;s>c&&(c=s)}else if(f>0){if(s0&&(t[0]=a+c*h,t[1]=u+c*f),l<1&&(n[0]=a+l*h,n[1]=u+l*f),!0}}}}}(u,w,t,n,e,r)?a&&(b.lineStart(),b.point(o,s),g=!1):(m||(b.lineStart(),b.point(u[0],u[1])),b.point(w[0],w[1]),a||b.lineEnd(),g=!1)}p=o,_=s,m=a}return y}}function oh(){var t,n,e,r=0,i=0,o=960,s=500;return e={stream:function(e){return t&&n===e?t:t=ih(r,i,o,s)(n=e)},extent:function(a){return arguments.length?(r=+a[0][0],i=+a[0][1],o=+a[1][0],s=+a[1][1],t=n=null,e):[[r,i],[o,s]]}}}var sh,ah,uh,ch=Lu(),lh={sphere:uc,point:uc,lineStart:function(){lh.point=fh,lh.lineEnd=hh},lineEnd:uc,polygonStart:uc,polygonEnd:uc};function hh(){lh.point=lh.lineEnd=uc}function fh(t,n){sh=t*=Wu,ah=nc(n*=Wu),uh=Ku(n),lh.point=dh}function dh(t,n){t*=Wu;var e=nc(n*=Wu),r=Ku(n),i=Gu(t-sh),o=Ku(i),s=r*nc(i),a=uh*e-ah*r*o,u=ah*e+uh*r*o;ch.add(Xu(rc(s*s+a*a),u)),sh=t,ah=e,uh=r}function ph(t){return ch.reset(),pc(t,lh),+ch}var _h=[null,null],mh={type:"LineString",coordinates:_h};function vh(t,n){return _h[0]=t,_h[1]=n,ph(mh)}var gh={Feature:function(t,n){return wh(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++r0&&(i=vh(t[o],t[o-1]))>0&&e<=i&&r<=i&&(e+r-i)*(1-Math.pow((e-r)/i,2))qu})).map(u)).concat(k(Zu(o/d)*d,i,d).filter((function(t){return Gu(t%_)>qu})).map(c))}return v.lines=function(){return g().map((function(t){return{type:"LineString",coordinates:t}}))},v.outline=function(){return{type:"Polygon",coordinates:[l(r).concat(h(s).slice(1),l(e).reverse().slice(1),h(a).reverse().slice(1))]}},v.extent=function(t){return arguments.length?v.extentMajor(t).extentMinor(t):v.extentMinor()},v.extentMajor=function(t){return arguments.length?(r=+t[0][0],e=+t[1][0],a=+t[0][1],s=+t[1][1],r>e&&(t=r,r=e,e=t),a>s&&(t=a,a=s,s=t),v.precision(m)):[[r,a],[e,s]]},v.extentMinor=function(e){return arguments.length?(n=+e[0][0],t=+e[1][0],o=+e[0][1],i=+e[1][1],n>t&&(e=n,n=t,t=e),o>i&&(e=o,o=i,i=e),v.precision(m)):[[n,o],[t,i]]},v.step=function(t){return arguments.length?v.stepMajor(t).stepMinor(t):v.stepMinor()},v.stepMajor=function(t){return arguments.length?(p=+t[0],_=+t[1],v):[p,_]},v.stepMinor=function(t){return arguments.length?(f=+t[0],d=+t[1],v):[f,d]},v.precision=function(f){return arguments.length?(m=+f,u=Eh(o,i,90),c=Mh(n,t,m),l=Eh(a,s,90),h=Mh(r,e,m),v):m},v.extentMajor([[-180,-90+qu],[180,90-qu]]).extentMinor([[-180,-80-qu],[180,80+qu]])}function zh(){return $h()()}function Th(t,n){var e=t[0]*Wu,r=t[1]*Wu,i=n[0]*Wu,o=n[1]*Wu,s=Ku(r),a=nc(r),u=Ku(o),c=nc(o),l=s*Ku(e),h=s*nc(e),f=u*Ku(i),d=u*nc(i),p=2*sc(rc(ac(o-r)+s*u*ac(i-e))),_=nc(p),m=p?function(t){var n=nc(t*=p)/_,e=nc(p-t)/_,r=e*l+n*f,i=e*h+n*d,o=e*a+n*c;return[Xu(i,r)*Vu,Xu(o,rc(r*r+i*i))*Vu]}:function(){return[e*Vu,r*Vu]};return m.distance=p,m}function Oh(t){return t}var jh,Rh,Lh,Dh,Ph=Lu(),Ih=Lu(),qh={point:uc,lineStart:uc,lineEnd:uc,polygonStart:function(){qh.lineStart=Nh,qh.lineEnd=Uh},polygonEnd:function(){qh.lineStart=qh.lineEnd=qh.point=uc,Ph.add(Gu(Ih)),Ih.reset()},result:function(){var t=Ph/2;return Ph.reset(),t}};function Nh(){qh.point=Fh}function Fh(t,n){qh.point=Bh,jh=Lh=t,Rh=Dh=n}function Bh(t,n){Ih.add(Dh*t-Lh*n),Lh=t,Dh=n}function Uh(){Bh(jh,Rh)}const Hh=qh;var Vh=1/0,Wh=Vh,Gh=-Vh,Yh=Gh,Xh={point:function(t,n){tGh&&(Gh=t),nYh&&(Yh=n)},lineStart:uc,lineEnd:uc,polygonStart:uc,polygonEnd:uc,result:function(){var t=[[Vh,Wh],[Gh,Yh]];return Gh=Yh=-(Wh=Vh=1/0),t}};const Kh=Xh;var Zh,Jh,Qh,tf,nf=0,ef=0,rf=0,of=0,sf=0,af=0,uf=0,cf=0,lf=0,hf={point:ff,lineStart:df,lineEnd:mf,polygonStart:function(){hf.lineStart=vf,hf.lineEnd=gf},polygonEnd:function(){hf.point=ff,hf.lineStart=df,hf.lineEnd=mf},result:function(){var t=lf?[uf/lf,cf/lf]:af?[of/af,sf/af]:rf?[nf/rf,ef/rf]:[NaN,NaN];return nf=ef=rf=of=sf=af=uf=cf=lf=0,t}};function ff(t,n){nf+=t,ef+=n,++rf}function df(){hf.point=pf}function pf(t,n){hf.point=_f,ff(Qh=t,tf=n)}function _f(t,n){var e=t-Qh,r=n-tf,i=rc(e*e+r*r);of+=i*(Qh+t)/2,sf+=i*(tf+n)/2,af+=i,ff(Qh=t,tf=n)}function mf(){hf.point=ff}function vf(){hf.point=bf}function gf(){wf(Zh,Jh)}function bf(t,n){hf.point=wf,ff(Zh=Qh=t,Jh=tf=n)}function wf(t,n){var e=t-Qh,r=n-tf,i=rc(e*e+r*r);of+=i*(Qh+t)/2,sf+=i*(tf+n)/2,af+=i,uf+=(i=tf*t-Qh*n)*(Qh+t),cf+=i*(tf+n),lf+=3*i,ff(Qh=t,tf=n)}const yf=hf;function xf(t){this._context=t}xf.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,n){switch(this._point){case 0:this._context.moveTo(t,n),this._point=1;break;case 1:this._context.lineTo(t,n);break;default:this._context.moveTo(t+this._radius,n),this._context.arc(t,n,this._radius,0,Hu)}},result:uc};var kf,Sf,Af,Cf,Ef,Mf=Lu(),$f={point:uc,lineStart:function(){$f.point=zf},lineEnd:function(){kf&&Tf(Sf,Af),$f.point=uc},polygonStart:function(){kf=!0},polygonEnd:function(){kf=null},result:function(){var t=+Mf;return Mf.reset(),t}};function zf(t,n){$f.point=Tf,Sf=Cf=t,Af=Ef=n}function Tf(t,n){Cf-=t,Ef-=n,Mf.add(rc(Cf*Cf+Ef*Ef)),Cf=t,Ef=n}const Of=$f;function jf(){this._string=[]}function Rf(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}function Lf(t,n){var e,r,i=4.5;function o(t){return t&&("function"==typeof i&&r.pointRadius(+i.apply(this,arguments)),pc(t,e(r))),r.result()}return o.area=function(t){return pc(t,e(Hh)),Hh.result()},o.measure=function(t){return pc(t,e(Of)),Of.result()},o.bounds=function(t){return pc(t,e(Kh)),Kh.result()},o.centroid=function(t){return pc(t,e(yf)),yf.result()},o.projection=function(n){return arguments.length?(e=null==n?(t=null,Oh):(t=n).stream,o):t},o.context=function(t){return arguments.length?(r=null==t?(n=null,new jf):new xf(n=t),"function"!=typeof i&&r.pointRadius(i),o):n},o.pointRadius=function(t){return arguments.length?(i="function"==typeof t?t:(r.pointRadius(+t),+t),o):i},o.projection(t).context(n)}function Df(t){return{stream:Pf(t)}}function Pf(t){return function(n){var e=new If;for(var r in t)e[r]=t[r];return e.stream=n,e}}function If(){}function qf(t,n,e){var r=t.clipExtent&&t.clipExtent();return t.scale(150).translate([0,0]),null!=r&&t.clipExtent(null),pc(e,t.stream(Kh)),n(Kh.result()),null!=r&&t.clipExtent(r),t}function Nf(t,n,e){return qf(t,(function(e){var r=n[1][0]-n[0][0],i=n[1][1]-n[0][1],o=Math.min(r/(e[1][0]-e[0][0]),i/(e[1][1]-e[0][1])),s=+n[0][0]+(r-o*(e[1][0]+e[0][0]))/2,a=+n[0][1]+(i-o*(e[1][1]+e[0][1]))/2;t.scale(150*o).translate([s,a])}),e)}function Ff(t,n,e){return Nf(t,[[0,0],n],e)}function Bf(t,n,e){return qf(t,(function(e){var r=+n,i=r/(e[1][0]-e[0][0]),o=(r-i*(e[1][0]+e[0][0]))/2,s=-i*e[0][1];t.scale(150*i).translate([o,s])}),e)}function Uf(t,n,e){return qf(t,(function(e){var r=+n,i=r/(e[1][1]-e[0][1]),o=-i*e[0][0],s=(r-i*(e[1][1]+e[0][1]))/2;t.scale(150*i).translate([o,s])}),e)}jf.prototype={_radius:4.5,_circle:Rf(4.5),pointRadius:function(t){return(t=+t)!==this._radius&&(this._radius=t,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(t,n){switch(this._point){case 0:this._string.push("M",t,",",n),this._point=1;break;case 1:this._string.push("L",t,",",n);break;default:null==this._circle&&(this._circle=Rf(this._radius)),this._string.push("M",t,",",n,this._circle)}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}return null}},If.prototype={constructor:If,point:function(t,n){this.stream.point(t,n)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var Hf=16,Vf=Ku(30*Wu);function Wf(t,n){return+n?function(t,n){function e(r,i,o,s,a,u,c,l,h,f,d,p,_,m){var v=c-r,g=l-i,b=v*v+g*g;if(b>4*n&&_--){var w=s+f,y=a+d,x=u+p,k=rc(w*w+y*y+x*x),S=sc(x/=k),A=Gu(Gu(x)-1)n||Gu((v*$+g*z)/b-.5)>.3||s*f+a*d+u*p2?t[2]%360*Wu:0,$()):[m*Vu,v*Vu,g*Vu]},E.angle=function(t){return arguments.length?(b=t%360*Wu,$()):b*Vu},E.reflectX=function(t){return arguments.length?(w=t?-1:1,$()):w<0},E.reflectY=function(t){return arguments.length?(y=t?-1:1,$()):y<0},E.precision=function(t){return arguments.length?(s=Wf(a,C=t*t),z()):rc(C)},E.fitExtent=function(t,n){return Nf(E,t,n)},E.fitSize=function(t,n){return Ff(E,t,n)},E.fitWidth=function(t,n){return Bf(E,t,n)},E.fitHeight=function(t,n){return Uf(E,t,n)},function(){return n=t.apply(this,arguments),E.invert=n.invert&&M,$()}}function Jf(t){var n=0,e=Fu/3,r=Zf(t),i=r(n,e);return i.parallels=function(t){return arguments.length?r(n=t[0]*Wu,e=t[1]*Wu):[n*Vu,e*Vu]},i}function Qf(t,n){var e=nc(t),r=(e+nc(n))/2;if(Gu(r)=.12&&i<.234&&r>=-.425&&r<-.214?a:i>=.166&&i<.234&&r>=-.214&&r<-.115?u:s).invert(t)},l.stream=function(e){return t&&n===e?t:(r=[s.stream(n=e),a.stream(e),u.stream(e)],i=r.length,t={point:function(t,n){for(var e=-1;++e0?n<-Bu+qu&&(n=-Bu+qu):n>Bu-qu&&(n=Bu-qu);var e=i/tc(fd(n),r);return[e*nc(r*t),i-e*Ku(r*t)]}return o.invert=function(t,n){var e=i-n,o=ec(r)*rc(t*t+e*e),s=Xu(t,Gu(e))*ec(e);return e*r<0&&(s-=Fu*ec(t)*ec(e)),[s/r,2*Yu(tc(i/o,1/r))-Bu]},o}function pd(){return Jf(dd).scale(109.5).parallels([30,30])}function _d(t,n){return[t,n]}function md(){return Kf(_d).scale(152.63)}function vd(t,n){var e=Ku(t),r=t===n?nc(t):(e-Ku(n))/(n-t),i=e/r+t;if(Gu(r)2?t[2]+90:90]):[(t=e())[0],t[1],t[2]-90]},e([0,0,90]).scale(159.155)}function Pd(t,n){return t.parent===n.parent?1:2}function Id(t,n){return t+n.x}function qd(t,n){return Math.max(t,n.y)}function Nd(){var t=Pd,n=1,e=1,r=!1;function i(i){var o,s=0;i.eachAfter((function(n){var e=n.children;e?(n.x=function(t){return t.reduce(Id,0)/t.length}(e),n.y=function(t){return 1+t.reduce(qd,0)}(e)):(n.x=o?s+=t(n,o):0,n.y=0,o=n)}));var a=function(t){for(var n;n=t.children;)t=n[0];return t}(i),u=function(t){for(var n;n=t.children;)t=n[n.length-1];return t}(i),c=a.x-t(a,u)/2,l=u.x+t(u,a)/2;return i.eachAfter(r?function(t){t.x=(t.x-i.x)*n,t.y=(i.y-t.y)*e}:function(t){t.x=(t.x-c)/(l-c)*n,t.y=(1-(i.y?t.y/i.y:1))*e})}return i.separation=function(n){return arguments.length?(t=n,i):t},i.size=function(t){return arguments.length?(r=!1,n=+t[0],e=+t[1],i):r?null:[n,e]},i.nodeSize=function(t){return arguments.length?(r=!0,n=+t[0],e=+t[1],i):r?[n,e]:null},i}function Fd(t){var n=0,e=t.children,r=e&&e.length;if(r)for(;--r>=0;)n+=e[r].value;else n=1;t.value=n}function Bd(t,n){var e,r,i,o,s,a=new Wd(t),u=+t.value&&(a.value=t.value),c=[a];for(null==n&&(n=Ud);e=c.pop();)if(u&&(e.value=+e.data.value),(i=n(e.data))&&(s=i.length))for(e.children=new Array(s),o=s-1;o>=0;--o)c.push(r=e.children[o]=new Wd(i[o])),r.parent=e,r.depth=e.depth+1;return a.eachBefore(Vd)}function Ud(t){return t.children}function Hd(t){t.data=t.data.data}function Vd(t){var n=0;do{t.height=n}while((t=t.parent)&&t.height<++n)}function Wd(t){this.data=t,this.depth=this.height=0,this.parent=null}Sd.invert=function(t,n){for(var e,r=n,i=r*r,o=i*i*i,s=0;s<12&&(o=(i=(r-=e=(r*(bd+wd*i+o*(yd+xd*i))-n)/(bd+3*wd*i+o*(7*yd+9*xd*i)))*r)*i*i,!(Gu(e)qu&&--i>0);return[t/(.8707+(o=r*r)*(o*(o*o*o*(.003971-.001529*o)-.013791)-.131979)),r]},Td.invert=id(sc),jd.invert=id((function(t){return 2*Yu(t)})),Ld.invert=function(t,n){return[-n,2*Yu(Ju(t))-Bu]},Wd.prototype=Bd.prototype={constructor:Wd,count:function(){return this.eachAfter(Fd)},each:function(t){var n,e,r,i,o=this,s=[o];do{for(n=s.reverse(),s=[];o=n.pop();)if(t(o),e=o.children)for(r=0,i=e.length;r=0;--e)i.push(n[e]);return this},sum:function(t){return this.eachAfter((function(n){for(var e=+t(n.data)||0,r=n.children,i=r&&r.length;--i>=0;)e+=r[i].value;n.value=e}))},sort:function(t){return this.eachBefore((function(n){n.children&&n.children.sort(t)}))},path:function(t){for(var n=this,e=function(t,n){if(t===n)return t;var e=t.ancestors(),r=n.ancestors(),i=null;for(t=e.pop(),n=r.pop();t===n;)i=t,t=e.pop(),n=r.pop();return i}(n,t),r=[n];n!==e;)n=n.parent,r.push(n);for(var i=r.length;t!==e;)r.splice(i,0,t),t=t.parent;return r},ancestors:function(){for(var t=this,n=[t];t=t.parent;)n.push(t);return n},descendants:function(){var t=[];return this.each((function(n){t.push(n)})),t},leaves:function(){var t=[];return this.eachBefore((function(n){n.children||t.push(n)})),t},links:function(){var t=this,n=[];return t.each((function(e){e!==t&&n.push({source:e.parent,target:e})})),n},copy:function(){return Bd(this).eachBefore(Hd)}};var Gd=Array.prototype.slice;function Yd(t){for(var n,e,r=0,i=(t=function(t){for(var n,e,r=t.length;r;)e=Math.random()*r--|0,n=t[r],t[r]=t[e],t[e]=n;return t}(Gd.call(t))).length,o=[];r0&&e*e>r*r+i*i}function Jd(t,n){for(var e=0;e(s*=s)?(r=(c+s-i)/(2*c),o=Math.sqrt(Math.max(0,s/c-r*r)),e.x=t.x-r*a-o*u,e.y=t.y-r*u+o*a):(r=(c+i-s)/(2*c),o=Math.sqrt(Math.max(0,i/c-r*r)),e.x=n.x+r*a-o*u,e.y=n.y+r*u+o*a)):(e.x=n.x+e.r,e.y=n.y)}function rp(t,n){var e=t.r+n.r-1e-6,r=n.x-t.x,i=n.y-t.y;return e>0&&e*e>r*r+i*i}function ip(t){var n=t._,e=t.next._,r=n.r+e.r,i=(n.x*e.r+e.x*n.r)/r,o=(n.y*e.r+e.y*n.r)/r;return i*i+o*o}function op(t){this._=t,this.next=null,this.previous=null}function sp(t){if(!(i=t.length))return 0;var n,e,r,i,o,s,a,u,c,l,h;if((n=t[0]).x=0,n.y=0,!(i>1))return n.r;if(e=t[1],n.x=-e.r,e.x=n.r,e.y=0,!(i>2))return n.r+e.r;ep(e,n,r=t[2]),n=new op(n),e=new op(e),r=new op(r),n.next=r.previous=e,e.next=n.previous=r,r.next=e.previous=n;t:for(a=3;a0)throw new Error("cycle");return o}return e.id=function(n){return arguments.length?(t=up(n),e):t},e.parentId=function(t){return arguments.length?(n=up(t),e):n},e}function Ap(t,n){return t.parent===n.parent?1:2}function Cp(t){var n=t.children;return n?n[0]:t.t}function Ep(t){var n=t.children;return n?n[n.length-1]:t.t}function Mp(t,n,e){var r=e/(n.i-t.i);n.c-=r,n.s+=e,t.c+=r,n.z+=e,n.m+=e}function $p(t,n,e){return t.a.parent===n.parent?t.a:e}function zp(t,n){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=n}function Tp(){var t=Ap,n=1,e=1,r=null;function i(i){var u=function(t){for(var n,e,r,i,o,s=new zp(t,0),a=[s];n=a.pop();)if(r=n._.children)for(n.children=new Array(o=r.length),i=o-1;i>=0;--i)a.push(e=n.children[i]=new zp(r[i],i)),e.parent=n;return(s.parent=new zp(null,0)).children=[s],s}(i);if(u.eachAfter(o),u.parent.m=-u.z,u.eachBefore(s),r)i.eachBefore(a);else{var c=i,l=i,h=i;i.eachBefore((function(t){t.xl.x&&(l=t),t.depth>h.depth&&(h=t)}));var f=c===l?1:t(c,l)/2,d=f-c.x,p=n/(l.x+f+d),_=e/(h.depth||1);i.eachBefore((function(t){t.x=(t.x+d)*p,t.y=t.depth*_}))}return i}function o(n){var e=n.children,r=n.parent.children,i=n.i?r[n.i-1]:null;if(e){!function(t){for(var n,e=0,r=0,i=t.children,o=i.length;--o>=0;)(n=i[o]).z+=e,n.m+=e,e+=n.s+(r+=n.c)}(n);var o=(e[0].z+e[e.length-1].z)/2;i?(n.z=i.z+t(n._,i._),n.m=n.z-o):n.z=o}else i&&(n.z=i.z+t(n._,i._));n.parent.A=function(n,e,r){if(e){for(var i,o=n,s=n,a=e,u=o.parent.children[0],c=o.m,l=s.m,h=a.m,f=u.m;a=Ep(a),o=Cp(o),a&&o;)u=Cp(u),(s=Ep(s)).a=n,(i=a.z+h-o.z-c+t(a._,o._))>0&&(Mp($p(a,n,r),n,i),c+=i,l+=i),h+=a.m,c+=o.m,f+=u.m,l+=s.m;a&&!Ep(s)&&(s.t=a,s.m+=h-l),o&&!Cp(u)&&(u.t=o,u.m+=c-f,r=n)}return r}(n,i,n.parent.A||r[0])}function s(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function a(t){t.x*=n,t.y=t.depth*e}return i.separation=function(n){return arguments.length?(t=n,i):t},i.size=function(t){return arguments.length?(r=!1,n=+t[0],e=+t[1],i):r?null:[n,e]},i.nodeSize=function(t){return arguments.length?(r=!0,n=+t[0],e=+t[1],i):r?[n,e]:null},i}function Op(t,n,e,r,i){for(var o,s=t.children,a=-1,u=s.length,c=t.value&&(i-e)/t.value;++af&&(f=a),m=l*l*_,(d=Math.max(f/m,m/h))>p){l-=a;break}p=d}v.push(s={value:l,dice:u1?n:1)},e}(jp);function Dp(){var t=Lp,n=!1,e=1,r=1,i=[0],o=cp,s=cp,a=cp,u=cp,c=cp;function l(t){return t.x0=t.y0=0,t.x1=e,t.y1=r,t.eachBefore(h),i=[0],n&&t.eachBefore(mp),t}function h(n){var e=i[n.depth],r=n.x0+e,l=n.y0+e,h=n.x1-e,f=n.y1-e;h=e-1){var l=a[n];return l.x0=i,l.y0=o,l.x1=s,void(l.y1=u)}for(var h=c[n],f=r/2+h,d=n+1,p=e-1;d>>1;c[_]u-o){var g=(i*v+s*m)/r;t(n,d,m,i,o,g,u),t(d,e,v,g,o,s,u)}else{var b=(o*v+u*m)/r;t(n,d,m,i,o,s,b),t(d,e,v,i,b,s,u)}}(0,u,t.value,n,e,r,i)}function Ip(t,n,e,r,i){(1&t.depth?Op:vp)(t,n,e,r,i)}const qp=function t(n){function e(t,e,r,i,o){if((s=t._squarify)&&s.ratio===n)for(var s,a,u,c,l,h=-1,f=s.length,d=t.value;++h1?n:1)},e}(jp);function Np(t){var n=t.length;return function(e){return t[Math.max(0,Math.min(n-1,Math.floor(e*n)))]}}function Fp(t,n){var e=_e(+t,+n);return function(t){var n=e(t);return n-360*Math.floor(n/360)}}function Bp(t,n){return t=+t,n=+n,function(e){return Math.round(t*(1-e)+n*e)}}var Up=Math.SQRT2,Hp=2,Vp=4,Wp=1e-12;function Gp(t){return((t=Math.exp(t))+1/t)/2}function Yp(t,n){var e,r,i=t[0],o=t[1],s=t[2],a=n[0],u=n[1],c=n[2],l=a-i,h=u-o,f=l*l+h*h;if(f1&&c_(t[e[r-2]],t[e[r-1]],t[i])<=0;)--r;e[r++]=i}return e.slice(0,r)}function f_(t){if((e=t.length)<3)return null;var n,e,r=new Array(e),i=new Array(e);for(n=0;n=0;--n)c.push(t[r[o[n]][2]]);for(n=+a;na!=c>a&&s<(u-e)*(a-r)/(c-r)+e&&(l=!l),u=e,c=r;return l}function p_(t){for(var n,e,r=-1,i=t.length,o=t[i-1],s=o[0],a=o[1],u=0;++r1);return t+e*o*Math.sqrt(-2*Math.log(i)/i)}}return e.source=t,e}(__),g_=function t(n){function e(){var t=v_.source(n).apply(this,arguments);return function(){return Math.exp(t())}}return e.source=t,e}(__),b_=function t(n){function e(t){return function(){for(var e=0,r=0;rr&&(n=e,e=r,r=n),function(t){return Math.max(e,Math.min(r,t))}}function P_(t,n,e){var r=t[0],i=t[1],o=n[0],s=n[1];return i2?I_:P_,i=o=null,h}function h(n){return isNaN(n=+n)?e:(i||(i=r(s.map(t),a,u)))(t(c(n)))}return h.invert=function(e){return c(n((o||(o=r(a,s.map(t),Ce)))(e)))},h.domain=function(t){return arguments.length?(s=A_.call(t,O_),c===R_||(c=D_(s)),l()):s.slice()},h.range=function(t){return arguments.length?(a=C_.call(t),l()):a.slice()},h.rangeRound=function(t){return a=C_.call(t),u=Bp,l()},h.clamp=function(t){return arguments.length?(c=t?D_(s):R_,h):c!==R_},h.interpolate=function(t){return arguments.length?(u=t,l()):u},h.unknown=function(t){return arguments.length?(e=t,h):e},function(e,r){return t=e,n=r,l()}}function F_(t,n){return N_()(t,n)}function B_(t,n,e,r){var i,o=$(t,n,e);switch((r=wu(null==r?",f":r)).type){case"s":var s=Math.max(Math.abs(t),Math.abs(n));return null!=r.precision||isNaN(i=ju(o,s))||(r.precision=i),Eu(r,s);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=Ru(o,Math.max(Math.abs(t),Math.abs(n))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=Ou(o))||(r.precision=i-2*("%"===r.type))}return Cu(r)}function U_(t){var n=t.domain;return t.ticks=function(t){var e=n();return E(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){var r=n();return B_(r[0],r[r.length-1],null==t?10:t,e)},t.nice=function(e){null==e&&(e=10);var r,i=n(),o=0,s=i.length-1,a=i[o],u=i[s];return u0?r=M(a=Math.floor(a/r)*r,u=Math.ceil(u/r)*r,e):r<0&&(r=M(a=Math.ceil(a*r)/r,u=Math.floor(u*r)/r,e)),r>0?(i[o]=Math.floor(a/r)*r,i[s]=Math.ceil(u/r)*r,n(i)):r<0&&(i[o]=Math.ceil(a*r)/r,i[s]=Math.floor(u*r)/r,n(i)),t},t}function H_(){var t=F_(R_,R_);return t.copy=function(){return q_(t,H_())},x_.apply(t,arguments),U_(t)}function V_(t){var n;function e(t){return isNaN(t=+t)?n:t}return e.invert=e,e.domain=e.range=function(n){return arguments.length?(t=A_.call(n,O_),e):t.slice()},e.unknown=function(t){return arguments.length?(n=t,e):n},e.copy=function(){return V_(t).unknown(n)},t=arguments.length?A_.call(t,O_):[0,1],U_(e)}function W_(t,n){var e,r=0,i=(t=t.slice()).length-1,o=t[r],s=t[i];return s0){for(;fu)break;_.push(h)}}else for(;f=1;--l)if(!((h=c*l)u)break;_.push(h)}}else _=E(f,d,Math.min(d-f,p)).map(e);return r?_.reverse():_},r.tickFormat=function(t,i){if(null==i&&(i=10===o?".0e":","),"function"!=typeof i&&(i=Cu(i)),t===1/0)return i;null==t&&(t=10);var s=Math.max(1,o*t/r.ticks().length);return function(t){var r=t/e(Math.round(n(t)));return r*o0?r[i-1]:n[0],i=r?[i[r-1],e]:[i[s-1],i[s]]},s.unknown=function(n){return arguments.length?(t=n,s):s},s.thresholds=function(){return i.slice()},s.copy=function(){return fm().domain([n,e]).range(o).unknown(t)},x_.apply(U_(s),arguments)}function dm(){var t,n=[.5],e=[0,1],r=1;function i(i){return i<=i?e[c(n,i,0,r)]:t}return i.domain=function(t){return arguments.length?(n=C_.call(t),r=Math.min(n.length,e.length-1),i):n.slice()},i.range=function(t){return arguments.length?(e=C_.call(t),r=Math.min(n.length,e.length-1),i):e.slice()},i.invertExtent=function(t){var r=e.indexOf(t);return[n[r-1],n[r]]},i.unknown=function(n){return arguments.length?(t=n,i):t},i.copy=function(){return dm().domain(n).range(e).unknown(t)},x_.apply(i,arguments)}var pm=new Date,_m=new Date;function mm(t,n,e,r){function i(n){return t(n=0===arguments.length?new Date:new Date(+n)),n}return i.floor=function(n){return t(n=new Date(+n)),n},i.ceil=function(e){return t(e=new Date(e-1)),n(e,1),t(e),e},i.round=function(t){var n=i(t),e=i.ceil(t);return t-n0))return a;do{a.push(s=new Date(+e)),n(e,o),t(e)}while(s=n)for(;t(n),!e(n);)n.setTime(n-1)}),(function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;n(t,-1),!e(t););else for(;--r>=0;)for(;n(t,1),!e(t););}))},e&&(i.count=function(n,r){return pm.setTime(+n),_m.setTime(+r),t(pm),t(_m),Math.floor(e(pm,_m))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(n){return r(n)%t==0}:function(n){return i.count(0,n)%t==0}):i:null}),i}var vm=mm((function(t){t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n)}),(function(t,n){return n.getFullYear()-t.getFullYear()}),(function(t){return t.getFullYear()}));vm.every=function(t){return isFinite(t=Math.floor(t))&&t>0?mm((function(n){n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)}),(function(n,e){n.setFullYear(n.getFullYear()+e*t)})):null};const gm=vm;var bm=vm.range,wm=mm((function(t){t.setDate(1),t.setHours(0,0,0,0)}),(function(t,n){t.setMonth(t.getMonth()+n)}),(function(t,n){return n.getMonth()-t.getMonth()+12*(n.getFullYear()-t.getFullYear())}),(function(t){return t.getMonth()}));const ym=wm;var xm=wm.range,km=1e3,Sm=6e4,Am=36e5,Cm=864e5,Em=6048e5;function Mm(t){return mm((function(n){n.setDate(n.getDate()-(n.getDay()+7-t)%7),n.setHours(0,0,0,0)}),(function(t,n){t.setDate(t.getDate()+7*n)}),(function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Sm)/Em}))}var $m=Mm(0),zm=Mm(1),Tm=Mm(2),Om=Mm(3),jm=Mm(4),Rm=Mm(5),Lm=Mm(6),Dm=$m.range,Pm=zm.range,Im=Tm.range,qm=Om.range,Nm=jm.range,Fm=Rm.range,Bm=Lm.range,Um=mm((function(t){t.setHours(0,0,0,0)}),(function(t,n){t.setDate(t.getDate()+n)}),(function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Sm)/Cm}),(function(t){return t.getDate()-1}));const Hm=Um;var Vm=Um.range,Wm=mm((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*km-t.getMinutes()*Sm)}),(function(t,n){t.setTime(+t+n*Am)}),(function(t,n){return(n-t)/Am}),(function(t){return t.getHours()}));const Gm=Wm;var Ym=Wm.range,Xm=mm((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*km)}),(function(t,n){t.setTime(+t+n*Sm)}),(function(t,n){return(n-t)/Sm}),(function(t){return t.getMinutes()}));const Km=Xm;var Zm=Xm.range,Jm=mm((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,n){t.setTime(+t+n*km)}),(function(t,n){return(n-t)/km}),(function(t){return t.getUTCSeconds()}));const Qm=Jm;var tv=Jm.range,nv=mm((function(){}),(function(t,n){t.setTime(+t+n)}),(function(t,n){return n-t}));nv.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?mm((function(n){n.setTime(Math.floor(n/t)*t)}),(function(n,e){n.setTime(+n+e*t)}),(function(n,e){return(e-n)/t})):nv:null};const ev=nv;var rv=nv.range;function iv(t){return mm((function(n){n.setUTCDate(n.getUTCDate()-(n.getUTCDay()+7-t)%7),n.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+7*n)}),(function(t,n){return(n-t)/Em}))}var ov=iv(0),sv=iv(1),av=iv(2),uv=iv(3),cv=iv(4),lv=iv(5),hv=iv(6),fv=ov.range,dv=sv.range,pv=av.range,_v=uv.range,mv=cv.range,vv=lv.range,gv=hv.range,bv=mm((function(t){t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+n)}),(function(t,n){return(n-t)/Cm}),(function(t){return t.getUTCDate()-1}));const wv=bv;var yv=bv.range,xv=mm((function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n)}),(function(t,n){return n.getUTCFullYear()-t.getUTCFullYear()}),(function(t){return t.getUTCFullYear()}));xv.every=function(t){return isFinite(t=Math.floor(t))&&t>0?mm((function(n){n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)}),(function(n,e){n.setUTCFullYear(n.getUTCFullYear()+e*t)})):null};const kv=xv;var Sv=xv.range;function Av(t){if(0<=t.y&&t.y<100){var n=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return n.setFullYear(t.y),n}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function Cv(t){if(0<=t.y&&t.y<100){var n=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return n.setUTCFullYear(t.y),n}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function Ev(t,n,e){return{y:t,m:n,d:e,H:0,M:0,S:0,L:0}}function Mv(t){var n=t.dateTime,e=t.date,r=t.time,i=t.periods,o=t.days,s=t.shortDays,a=t.months,u=t.shortMonths,c=Nv(i),l=Fv(i),h=Nv(o),f=Fv(o),d=Nv(s),p=Fv(s),_=Nv(a),m=Fv(a),v=Nv(u),g=Fv(u),b={a:function(t){return s[t.getDay()]},A:function(t){return o[t.getDay()]},b:function(t){return u[t.getMonth()]},B:function(t){return a[t.getMonth()]},c:null,d:ug,e:ug,f:dg,g:Sg,G:Cg,H:cg,I:lg,j:hg,L:fg,m:pg,M:_g,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:Xg,s:Kg,S:mg,u:vg,U:gg,V:wg,w:yg,W:xg,x:null,X:null,y:kg,Y:Ag,Z:Eg,"%":Yg},w={a:function(t){return s[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return u[t.getUTCMonth()]},B:function(t){return a[t.getUTCMonth()]},c:null,d:Mg,e:Mg,f:jg,g:Hg,G:Wg,H:$g,I:zg,j:Tg,L:Og,m:Rg,M:Lg,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:Xg,s:Kg,S:Dg,u:Pg,U:Ig,V:Ng,w:Fg,W:Bg,x:null,X:null,y:Ug,Y:Vg,Z:Gg,"%":Yg},y={a:function(t,n,e){var r=d.exec(n.slice(e));return r?(t.w=p[r[0].toLowerCase()],e+r[0].length):-1},A:function(t,n,e){var r=h.exec(n.slice(e));return r?(t.w=f[r[0].toLowerCase()],e+r[0].length):-1},b:function(t,n,e){var r=v.exec(n.slice(e));return r?(t.m=g[r[0].toLowerCase()],e+r[0].length):-1},B:function(t,n,e){var r=_.exec(n.slice(e));return r?(t.m=m[r[0].toLowerCase()],e+r[0].length):-1},c:function(t,e,r){return S(t,n,e,r)},d:Jv,e:Jv,f:ig,g:Yv,G:Gv,H:tg,I:tg,j:Qv,L:rg,m:Zv,M:ng,p:function(t,n,e){var r=c.exec(n.slice(e));return r?(t.p=l[r[0].toLowerCase()],e+r[0].length):-1},q:Kv,Q:sg,s:ag,S:eg,u:Uv,U:Hv,V:Vv,w:Bv,W:Wv,x:function(t,n,r){return S(t,e,n,r)},X:function(t,n,e){return S(t,r,n,e)},y:Yv,Y:Gv,Z:Xv,"%":og};function x(t,n){return function(e){var r,i,o,s=[],a=-1,u=0,c=t.length;for(e instanceof Date||(e=new Date(+e));++a53)return null;"w"in o||(o.w=1),"Z"in o?(i=(r=Cv(Ev(o.y,0,1))).getUTCDay(),r=i>4||0===i?sv.ceil(r):sv(r),r=wv.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=Av(Ev(o.y,0,1))).getDay(),r=i>4||0===i?zm.ceil(r):zm(r),r=Hm.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?Cv(Ev(o.y,0,1)).getUTCDay():Av(Ev(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,Cv(o)):Av(o)}}function S(t,n,e,r){for(var i,o,s=0,a=n.length,u=e.length;s=u)return-1;if(37===(i=n.charCodeAt(s++))){if(i=n.charAt(s++),!(o=y[i in Rv?n.charAt(s++):i])||(r=o(t,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}return b.x=x(e,b),b.X=x(r,b),b.c=x(n,b),w.x=x(e,w),w.X=x(r,w),w.c=x(n,w),{format:function(t){var n=x(t+="",b);return n.toString=function(){return t},n},parse:function(t){var n=k(t+="",!1);return n.toString=function(){return t},n},utcFormat:function(t){var n=x(t+="",w);return n.toString=function(){return t},n},utcParse:function(t){var n=k(t+="",!0);return n.toString=function(){return t},n}}}var $v,zv,Tv,Ov,jv,Rv={"-":"",_:" ",0:"0"},Lv=/^\s*\d+/,Dv=/^%/,Pv=/[\\^$*+?|[\]().{}]/g;function Iv(t,n,e){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o68?1900:2e3),e+r[0].length):-1}function Xv(t,n,e){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(e,e+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),e+r[0].length):-1}function Kv(t,n,e){var r=Lv.exec(n.slice(e,e+1));return r?(t.q=3*r[0]-3,e+r[0].length):-1}function Zv(t,n,e){var r=Lv.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function Jv(t,n,e){var r=Lv.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function Qv(t,n,e){var r=Lv.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function tg(t,n,e){var r=Lv.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function ng(t,n,e){var r=Lv.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function eg(t,n,e){var r=Lv.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function rg(t,n,e){var r=Lv.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function ig(t,n,e){var r=Lv.exec(n.slice(e,e+6));return r?(t.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function og(t,n,e){var r=Dv.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function sg(t,n,e){var r=Lv.exec(n.slice(e));return r?(t.Q=+r[0],e+r[0].length):-1}function ag(t,n,e){var r=Lv.exec(n.slice(e));return r?(t.s=+r[0],e+r[0].length):-1}function ug(t,n){return Iv(t.getDate(),n,2)}function cg(t,n){return Iv(t.getHours(),n,2)}function lg(t,n){return Iv(t.getHours()%12||12,n,2)}function hg(t,n){return Iv(1+Hm.count(gm(t),t),n,3)}function fg(t,n){return Iv(t.getMilliseconds(),n,3)}function dg(t,n){return fg(t,n)+"000"}function pg(t,n){return Iv(t.getMonth()+1,n,2)}function _g(t,n){return Iv(t.getMinutes(),n,2)}function mg(t,n){return Iv(t.getSeconds(),n,2)}function vg(t){var n=t.getDay();return 0===n?7:n}function gg(t,n){return Iv($m.count(gm(t)-1,t),n,2)}function bg(t){var n=t.getDay();return n>=4||0===n?jm(t):jm.ceil(t)}function wg(t,n){return t=bg(t),Iv(jm.count(gm(t),t)+(4===gm(t).getDay()),n,2)}function yg(t){return t.getDay()}function xg(t,n){return Iv(zm.count(gm(t)-1,t),n,2)}function kg(t,n){return Iv(t.getFullYear()%100,n,2)}function Sg(t,n){return Iv((t=bg(t)).getFullYear()%100,n,2)}function Ag(t,n){return Iv(t.getFullYear()%1e4,n,4)}function Cg(t,n){var e=t.getDay();return Iv((t=e>=4||0===e?jm(t):jm.ceil(t)).getFullYear()%1e4,n,4)}function Eg(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+Iv(n/60|0,"0",2)+Iv(n%60,"0",2)}function Mg(t,n){return Iv(t.getUTCDate(),n,2)}function $g(t,n){return Iv(t.getUTCHours(),n,2)}function zg(t,n){return Iv(t.getUTCHours()%12||12,n,2)}function Tg(t,n){return Iv(1+wv.count(kv(t),t),n,3)}function Og(t,n){return Iv(t.getUTCMilliseconds(),n,3)}function jg(t,n){return Og(t,n)+"000"}function Rg(t,n){return Iv(t.getUTCMonth()+1,n,2)}function Lg(t,n){return Iv(t.getUTCMinutes(),n,2)}function Dg(t,n){return Iv(t.getUTCSeconds(),n,2)}function Pg(t){var n=t.getUTCDay();return 0===n?7:n}function Ig(t,n){return Iv(ov.count(kv(t)-1,t),n,2)}function qg(t){var n=t.getUTCDay();return n>=4||0===n?cv(t):cv.ceil(t)}function Ng(t,n){return t=qg(t),Iv(cv.count(kv(t),t)+(4===kv(t).getUTCDay()),n,2)}function Fg(t){return t.getUTCDay()}function Bg(t,n){return Iv(sv.count(kv(t)-1,t),n,2)}function Ug(t,n){return Iv(t.getUTCFullYear()%100,n,2)}function Hg(t,n){return Iv((t=qg(t)).getUTCFullYear()%100,n,2)}function Vg(t,n){return Iv(t.getUTCFullYear()%1e4,n,4)}function Wg(t,n){var e=t.getUTCDay();return Iv((t=e>=4||0===e?cv(t):cv.ceil(t)).getUTCFullYear()%1e4,n,4)}function Gg(){return"+0000"}function Yg(){return"%"}function Xg(t){return+t}function Kg(t){return Math.floor(+t/1e3)}function Zg(t){return $v=Mv(t),zv=$v.format,Tv=$v.parse,Ov=$v.utcFormat,jv=$v.utcParse,$v}Zg({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var Jg=1e3,Qg=60*Jg,tb=60*Qg,nb=24*tb,eb=7*nb,rb=30*nb,ib=365*nb;function ob(t){return new Date(t)}function sb(t){return t instanceof Date?+t:+new Date(+t)}function ab(t,n,e,r,i,s,a,u,c){var l=F_(R_,R_),h=l.invert,f=l.domain,d=c(".%L"),p=c(":%S"),_=c("%I:%M"),m=c("%I %p"),v=c("%a %d"),g=c("%b %d"),b=c("%B"),w=c("%Y"),y=[[a,1,Jg],[a,5,5*Jg],[a,15,15*Jg],[a,30,30*Jg],[s,1,Qg],[s,5,5*Qg],[s,15,15*Qg],[s,30,30*Qg],[i,1,tb],[i,3,3*tb],[i,6,6*tb],[i,12,12*tb],[r,1,nb],[r,2,2*nb],[e,1,eb],[n,1,rb],[n,3,3*rb],[t,1,ib]];function x(o){return(a(o)1)&&(t-=Math.floor(t));var n=Math.abs(t-.5);return Xw.h=360*t-100,Xw.s=1.5-1.5*n,Xw.l=.8-.9*n,Xw+""}var Zw=te(),Jw=Math.PI/3,Qw=2*Math.PI/3;function ty(t){var n;return t=(.5-t)*Math.PI,Zw.r=255*(n=Math.sin(t))*n,Zw.g=255*(n=Math.sin(t+Jw))*n,Zw.b=255*(n=Math.sin(t+Qw))*n,Zw+""}function ny(t){return t=Math.max(0,Math.min(1,t)),"rgb("+Math.max(0,Math.min(255,Math.round(34.61+t*(1172.33-t*(10793.56-t*(33300.12-t*(38394.49-14825.05*t)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+t*(557.33+t*(1225.33-t*(3574.96-t*(1073.77+707.56*t)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+t*(3211.1-t*(15327.97-t*(27814-t*(22569.18-6838.66*t)))))))+")"}function ey(t){var n=t.length;return function(e){return t[Math.max(0,Math.min(n-1,Math.floor(e*n)))]}}const ry=ey(jb("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var iy=ey(jb("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),oy=ey(jb("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),sy=ey(jb("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function ay(t){return En(un(t).call(document.documentElement))}var uy=0;function cy(){return new ly}function ly(){this._="@"+(++uy).toString(36)}function hy(t){return"string"==typeof t?new Sn([document.querySelectorAll(t)],[document.documentElement]):new Sn([null==t?[]:t],kn)}function fy(t,n){null==n&&(n=Oe().touches);for(var e=0,r=n?n.length:0,i=new Array(r);e=1?ky:t<=-1?-ky:Math.asin(t)}function Cy(t){return t.innerRadius}function Ey(t){return t.outerRadius}function My(t){return t.startAngle}function $y(t){return t.endAngle}function zy(t){return t&&t.padAngle}function Ty(t,n,e,r,i,o,s){var a=t-e,u=n-r,c=(s?o:-o)/wy(a*a+u*u),l=c*u,h=-c*a,f=t+l,d=n+h,p=e+l,_=r+h,m=(f+p)/2,v=(d+_)/2,g=p-f,b=_-d,w=g*g+b*b,y=i-o,x=f*_-p*d,k=(b<0?-1:1)*wy(vy(0,y*y*w-x*x)),S=(x*b-g*k)/w,A=(-x*g-b*k)/w,C=(x*b+g*k)/w,E=(-x*g+b*k)/w,M=S-m,$=A-v,z=C-m,T=E-v;return M*M+$*$>z*z+T*T&&(S=C,A=E),{cx:S,cy:A,x01:-l,y01:-h,x11:S*(i/y-1),y11:A*(i/y-1)}}function Oy(){var t=Cy,n=Ey,e=dy(0),r=null,i=My,o=$y,s=zy,a=null;function u(){var u,c,l,h=+t.apply(this,arguments),f=+n.apply(this,arguments),d=i.apply(this,arguments)-ky,p=o.apply(this,arguments)-ky,_=py(p-d),m=p>d;if(a||(a=u=Hi()),fyy)if(_>Sy-yy)a.moveTo(f*my(d),f*by(d)),a.arc(0,0,f,d,p,!m),h>yy&&(a.moveTo(h*my(p),h*by(p)),a.arc(0,0,h,p,d,m));else{var v,g,b=d,w=p,y=d,x=p,k=_,S=_,A=s.apply(this,arguments)/2,C=A>yy&&(r?+r.apply(this,arguments):wy(h*h+f*f)),E=gy(py(f-h)/2,+e.apply(this,arguments)),M=E,$=E;if(C>yy){var z=Ay(C/h*by(A)),T=Ay(C/f*by(A));(k-=2*z)>yy?(y+=z*=m?1:-1,x-=z):(k=0,y=x=(d+p)/2),(S-=2*T)>yy?(b+=T*=m?1:-1,w-=T):(S=0,b=w=(d+p)/2)}var O=f*my(b),j=f*by(b),R=h*my(x),L=h*by(x);if(E>yy){var D,P=f*my(w),I=f*by(w),q=h*my(y),N=h*by(y);if(_1?0:l<-1?xy:Math.acos(l))/2),W=wy(D[0]*D[0]+D[1]*D[1]);M=gy(E,(h-W)/(V-1)),$=gy(E,(f-W)/(V+1))}}S>yy?$>yy?(v=Ty(q,N,O,j,f,$,m),g=Ty(P,I,R,L,f,$,m),a.moveTo(v.cx+v.x01,v.cy+v.y01),$yy&&k>yy?M>yy?(v=Ty(R,L,P,I,h,-M,m),g=Ty(O,j,q,N,h,-M,m),a.lineTo(v.cx+v.x01,v.cy+v.y01),M=l;--h)a.point(m[h],v[h]);a.lineEnd(),a.areaEnd()}_&&(m[c]=+t(f,c,u),v[c]=+e(f,c,u),a.point(n?+n(f,c,u):m[c],r?+r(f,c,u):v[c]))}if(d)return a=null,d+""||null}function c(){return Py().defined(i).curve(s).context(o)}return u.x=function(e){return arguments.length?(t="function"==typeof e?e:dy(+e),n=null,u):t},u.x0=function(n){return arguments.length?(t="function"==typeof n?n:dy(+n),u):t},u.x1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:dy(+t),u):n},u.y=function(t){return arguments.length?(e="function"==typeof t?t:dy(+t),r=null,u):e},u.y0=function(t){return arguments.length?(e="function"==typeof t?t:dy(+t),u):e},u.y1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:dy(+t),u):r},u.lineX0=u.lineY0=function(){return c().x(t).y(e)},u.lineY1=function(){return c().x(t).y(r)},u.lineX1=function(){return c().x(n).y(e)},u.defined=function(t){return arguments.length?(i="function"==typeof t?t:dy(!!t),u):i},u.curve=function(t){return arguments.length?(s=t,null!=o&&(a=s(o)),u):s},u.context=function(t){return arguments.length?(null==t?o=a=null:a=s(o=t),u):o},u}function qy(t,n){return nt?1:n>=t?0:NaN}function Ny(t){return t}function Fy(){var t=Ny,n=qy,e=null,r=dy(0),i=dy(Sy),o=dy(0);function s(s){var a,u,c,l,h,f=s.length,d=0,p=new Array(f),_=new Array(f),m=+r.apply(this,arguments),v=Math.min(Sy,Math.max(-Sy,i.apply(this,arguments)-m)),g=Math.min(Math.abs(v)/f,o.apply(this,arguments)),b=g*(v<0?-1:1);for(a=0;a0&&(d+=h);for(null!=n?p.sort((function(t,e){return n(_[t],_[e])})):null!=e&&p.sort((function(t,n){return e(s[t],s[n])})),a=0,c=d?(v-f*b)/d:0;a0?h*c:0)+b,_[u]={data:s[u],index:a,value:h,startAngle:m,endAngle:l,padAngle:g};return _}return s.value=function(n){return arguments.length?(t="function"==typeof n?n:dy(+n),s):t},s.sortValues=function(t){return arguments.length?(n=t,e=null,s):n},s.sort=function(t){return arguments.length?(e=t,n=null,s):e},s.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:dy(+t),s):r},s.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:dy(+t),s):i},s.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:dy(+t),s):o},s}jy.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:this._context.lineTo(t,n)}}};var By=Hy(Ry);function Uy(t){this._curve=t}function Hy(t){function n(n){return new Uy(t(n))}return n._curve=t,n}function Vy(t){var n=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?n(Hy(t)):n()._curve},t}function Wy(){return Vy(Py().curve(By))}function Gy(){var t=Iy().curve(By),n=t.curve,e=t.lineX0,r=t.lineX1,i=t.lineY0,o=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return Vy(e())},delete t.lineX0,t.lineEndAngle=function(){return Vy(r())},delete t.lineX1,t.lineInnerRadius=function(){return Vy(i())},delete t.lineY0,t.lineOuterRadius=function(){return Vy(o())},delete t.lineY1,t.curve=function(t){return arguments.length?n(Hy(t)):n()._curve},t}function Yy(t,n){return[(n=+n)*Math.cos(t-=Math.PI/2),n*Math.sin(t)]}Uy.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,n){this._curve.point(n*Math.sin(t),n*-Math.cos(t))}};var Xy=Array.prototype.slice;function Ky(t){return t.source}function Zy(t){return t.target}function Jy(t){var n=Ky,e=Zy,r=Ly,i=Dy,o=null;function s(){var s,a=Xy.call(arguments),u=n.apply(this,a),c=e.apply(this,a);if(o||(o=s=Hi()),t(o,+r.apply(this,(a[0]=u,a)),+i.apply(this,a),+r.apply(this,(a[0]=c,a)),+i.apply(this,a)),s)return o=null,s+""||null}return s.source=function(t){return arguments.length?(n=t,s):n},s.target=function(t){return arguments.length?(e=t,s):e},s.x=function(t){return arguments.length?(r="function"==typeof t?t:dy(+t),s):r},s.y=function(t){return arguments.length?(i="function"==typeof t?t:dy(+t),s):i},s.context=function(t){return arguments.length?(o=null==t?null:t,s):o},s}function Qy(t,n,e,r,i){t.moveTo(n,e),t.bezierCurveTo(n=(n+r)/2,e,n,i,r,i)}function tx(t,n,e,r,i){t.moveTo(n,e),t.bezierCurveTo(n,e=(e+i)/2,r,e,r,i)}function nx(t,n,e,r,i){var o=Yy(n,e),s=Yy(n,e=(e+i)/2),a=Yy(r,e),u=Yy(r,i);t.moveTo(o[0],o[1]),t.bezierCurveTo(s[0],s[1],a[0],a[1],u[0],u[1])}function ex(){return Jy(Qy)}function rx(){return Jy(tx)}function ix(){var t=Jy(nx);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t}const ox={draw:function(t,n){var e=Math.sqrt(n/xy);t.moveTo(e,0),t.arc(0,0,e,0,Sy)}},sx={draw:function(t,n){var e=Math.sqrt(n/5)/2;t.moveTo(-3*e,-e),t.lineTo(-e,-e),t.lineTo(-e,-3*e),t.lineTo(e,-3*e),t.lineTo(e,-e),t.lineTo(3*e,-e),t.lineTo(3*e,e),t.lineTo(e,e),t.lineTo(e,3*e),t.lineTo(-e,3*e),t.lineTo(-e,e),t.lineTo(-3*e,e),t.closePath()}};var ax=Math.sqrt(1/3),ux=2*ax;const cx={draw:function(t,n){var e=Math.sqrt(n/ux),r=e*ax;t.moveTo(0,-e),t.lineTo(r,0),t.lineTo(0,e),t.lineTo(-r,0),t.closePath()}};var lx=Math.sin(xy/10)/Math.sin(7*xy/10),hx=Math.sin(Sy/10)*lx,fx=-Math.cos(Sy/10)*lx;const dx={draw:function(t,n){var e=Math.sqrt(.8908130915292852*n),r=hx*e,i=fx*e;t.moveTo(0,-e),t.lineTo(r,i);for(var o=1;o<5;++o){var s=Sy*o/5,a=Math.cos(s),u=Math.sin(s);t.lineTo(u*e,-a*e),t.lineTo(a*r-u*i,u*r+a*i)}t.closePath()}},px={draw:function(t,n){var e=Math.sqrt(n),r=-e/2;t.rect(r,r,e,e)}};var _x=Math.sqrt(3);const mx={draw:function(t,n){var e=-Math.sqrt(n/(3*_x));t.moveTo(0,2*e),t.lineTo(-_x*e,-e),t.lineTo(_x*e,-e),t.closePath()}};var vx=-.5,gx=Math.sqrt(3)/2,bx=1/Math.sqrt(12),wx=3*(bx/2+1);const yx={draw:function(t,n){var e=Math.sqrt(n/wx),r=e/2,i=e*bx,o=r,s=e*bx+e,a=-o,u=s;t.moveTo(r,i),t.lineTo(o,s),t.lineTo(a,u),t.lineTo(vx*r-gx*i,gx*r+vx*i),t.lineTo(vx*o-gx*s,gx*o+vx*s),t.lineTo(vx*a-gx*u,gx*a+vx*u),t.lineTo(vx*r+gx*i,vx*i-gx*r),t.lineTo(vx*o+gx*s,vx*s-gx*o),t.lineTo(vx*a+gx*u,vx*u-gx*a),t.closePath()}};var xx=[ox,sx,cx,px,dx,mx,yx];function kx(){var t=dy(ox),n=dy(64),e=null;function r(){var r;if(e||(e=r=Hi()),t.apply(this,arguments).draw(e,+n.apply(this,arguments)),r)return e=null,r+""||null}return r.type=function(n){return arguments.length?(t="function"==typeof n?n:dy(n),r):t},r.size=function(t){return arguments.length?(n="function"==typeof t?t:dy(+t),r):n},r.context=function(t){return arguments.length?(e=null==t?null:t,r):e},r}function Sx(){}function Ax(t,n,e){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+n)/6,(t._y0+4*t._y1+e)/6)}function Cx(t){this._context=t}function Ex(t){return new Cx(t)}function Mx(t){this._context=t}function $x(t){return new Mx(t)}function zx(t){this._context=t}function Tx(t){return new zx(t)}function Ox(t,n){this._basis=new Cx(t),this._beta=n}Cx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:Ax(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Ax(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},Mx.prototype={areaStart:Sx,areaEnd:Sx,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x2=t,this._y2=n;break;case 1:this._point=2,this._x3=t,this._y3=n;break;case 2:this._point=3,this._x4=t,this._y4=n,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+n)/6);break;default:Ax(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},zx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var e=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+n)/6;this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break;case 3:this._point=4;default:Ax(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},Ox.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,n=this._y,e=t.length-1;if(e>0)for(var r,i=t[0],o=n[0],s=t[e]-i,a=n[e]-o,u=-1;++u<=e;)r=u/e,this._basis.point(this._beta*t[u]+(1-this._beta)*(i+r*s),this._beta*n[u]+(1-this._beta)*(o+r*a));this._x=this._y=null,this._basis.lineEnd()},point:function(t,n){this._x.push(+t),this._y.push(+n)}};const jx=function t(n){function e(t){return 1===n?new Cx(t):new Ox(t,n)}return e.beta=function(n){return t(+n)},e}(.85);function Rx(t,n,e){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-n),t._y2+t._k*(t._y1-e),t._x2,t._y2)}function Lx(t,n){this._context=t,this._k=(1-n)/6}Lx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Rx(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2,this._x1=t,this._y1=n;break;case 2:this._point=3;default:Rx(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};const Dx=function t(n){function e(t){return new Lx(t,n)}return e.tension=function(n){return t(+n)},e}(0);function Px(t,n){this._context=t,this._k=(1-n)/6}Px.prototype={areaStart:Sx,areaEnd:Sx,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:Rx(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};const Ix=function t(n){function e(t){return new Px(t,n)}return e.tension=function(n){return t(+n)},e}(0);function qx(t,n){this._context=t,this._k=(1-n)/6}qx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Rx(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};const Nx=function t(n){function e(t){return new qx(t,n)}return e.tension=function(n){return t(+n)},e}(0);function Fx(t,n,e){var r=t._x1,i=t._y1,o=t._x2,s=t._y2;if(t._l01_a>yy){var a=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,u=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*a-t._x0*t._l12_2a+t._x2*t._l01_2a)/u,i=(i*a-t._y0*t._l12_2a+t._y2*t._l01_2a)/u}if(t._l23_a>yy){var c=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,l=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*c+t._x1*t._l23_2a-n*t._l12_2a)/l,s=(s*c+t._y1*t._l23_2a-e*t._l12_2a)/l}t._context.bezierCurveTo(r,i,o,s,t._x2,t._y2)}function Bx(t,n){this._context=t,this._alpha=n}Bx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3;default:Fx(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};const Ux=function t(n){function e(t){return n?new Bx(t,n):new Lx(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function Hx(t,n){this._context=t,this._alpha=n}Hx.prototype={areaStart:Sx,areaEnd:Sx,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:Fx(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};const Vx=function t(n){function e(t){return n?new Hx(t,n):new Px(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function Wx(t,n){this._context=t,this._alpha=n}Wx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Fx(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};const Gx=function t(n){function e(t){return n?new Wx(t,n):new qx(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function Yx(t){this._context=t}function Xx(t){return new Yx(t)}function Kx(t){return t<0?-1:1}function Zx(t,n,e){var r=t._x1-t._x0,i=n-t._x1,o=(t._y1-t._y0)/(r||i<0&&-0),s=(e-t._y1)/(i||r<0&&-0),a=(o*i+s*r)/(r+i);return(Kx(o)+Kx(s))*Math.min(Math.abs(o),Math.abs(s),.5*Math.abs(a))||0}function Jx(t,n){var e=t._x1-t._x0;return e?(3*(t._y1-t._y0)/e-n)/2:n}function Qx(t,n,e){var r=t._x0,i=t._y0,o=t._x1,s=t._y1,a=(o-r)/3;t._context.bezierCurveTo(r+a,i+a*n,o-a,s-a*e,o,s)}function tk(t){this._context=t}function nk(t){this._context=new ek(t)}function ek(t){this._context=t}function rk(t){return new tk(t)}function ik(t){return new nk(t)}function ok(t){this._context=t}function sk(t){var n,e,r=t.length-1,i=new Array(r),o=new Array(r),s=new Array(r);for(i[0]=0,o[0]=2,s[0]=t[0]+2*t[1],n=1;n=0;--n)i[n]=(s[n]-i[n+1])/o[n];for(o[r-1]=(t[r]+i[r-1])/2,n=0;n1)for(var e,r,i,o=1,s=t[n[0]],a=s.length;o=0;)e[n]=n;return e}function pk(t,n){return t[n]}function _k(){var t=dy([]),n=dk,e=fk,r=pk;function i(i){var o,s,a=t.apply(this,arguments),u=i.length,c=a.length,l=new Array(c);for(o=0;o0){for(var e,r,i,o=0,s=t[0].length;o0)for(var e,r,i,o,s,a,u=0,c=t[n[0]].length;u0?(r[0]=o,r[1]=o+=i):i<0?(r[1]=s,r[0]=s+=i):(r[0]=0,r[1]=i)}function gk(t,n){if((e=t.length)>0){for(var e,r=0,i=t[n[0]],o=i.length;r0&&(r=(e=t[n[0]]).length)>0){for(var e,r,i,o=0,s=1;so&&(o=n,r=e);return r}function xk(t){var n=t.map(kk);return dk(t).sort((function(t,e){return n[t]-n[e]}))}function kk(t){for(var n,e=0,r=-1,i=t.length;++r=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,n),this._context.lineTo(t,n);else{var e=this._x*(1-this._t)+t*this._t;this._context.lineTo(e,this._y),this._context.lineTo(e,n)}}this._x=t,this._y=n}};var Ek="%Y-%m-%dT%H:%M:%S.%LZ",Mk=Date.prototype.toISOString?function(t){return t.toISOString()}:Ov(Ek);const $k=Mk;var zk=+new Date("2000-01-01T00:00:00.000Z")?function(t){var n=new Date(t);return isNaN(n)?null:n}:jv(Ek);const Tk=zk;function Ok(t,n,e){var r=new Xe,i=n;return null==n?(r.restart(t,n,e),r):(n=+n,e=null==e?Ge():+e,r.restart((function o(s){s+=i,r.restart(o,i+=n,e),t(s)}),n,e),r)}function jk(t){return function(){return t}}function Rk(t){return t[0]}function Lk(t){return t[1]}function Dk(){this._=null}function Pk(t){t.U=t.C=t.L=t.R=t.P=t.N=null}function Ik(t,n){var e=n,r=n.R,i=e.U;i?i.L===e?i.L=r:i.R=r:t._=r,r.U=i,e.U=r,e.R=r.L,e.R&&(e.R.U=e),r.L=e}function qk(t,n){var e=n,r=n.L,i=e.U;i?i.L===e?i.L=r:i.R=r:t._=r,r.U=i,e.U=r,e.L=r.R,e.L&&(e.L.U=e),r.R=e}function Nk(t){for(;t.L;)t=t.L;return t}Dk.prototype={constructor:Dk,insert:function(t,n){var e,r,i;if(t){if(n.P=t,n.N=t.N,t.N&&(t.N.P=n),t.N=n,t.R){for(t=t.R;t.L;)t=t.L;t.L=n}else t.R=n;e=t}else this._?(t=Nk(this._),n.P=null,n.N=t,t.P=t.L=n,e=t):(n.P=n.N=null,this._=n,e=null);for(n.L=n.R=null,n.U=e,n.C=!0,t=n;e&&e.C;)e===(r=e.U).L?(i=r.R)&&i.C?(e.C=i.C=!1,r.C=!0,t=r):(t===e.R&&(Ik(this,e),e=(t=e).U),e.C=!1,r.C=!0,qk(this,r)):(i=r.L)&&i.C?(e.C=i.C=!1,r.C=!0,t=r):(t===e.L&&(qk(this,e),e=(t=e).U),e.C=!1,r.C=!0,Ik(this,r)),e=t.U;this._.C=!1},remove:function(t){t.N&&(t.N.P=t.P),t.P&&(t.P.N=t.N),t.N=t.P=null;var n,e,r,i=t.U,o=t.L,s=t.R;if(e=o?s?Nk(s):o:s,i?i.L===t?i.L=e:i.R=e:this._=e,o&&s?(r=e.C,e.C=t.C,e.L=o,o.U=e,e!==s?(i=e.U,e.U=t.U,t=e.R,i.L=t,e.R=s,s.U=e):(e.U=i,i=e,t=e.R)):(r=t.C,t=e),t&&(t.U=i),!r)if(t&&t.C)t.C=!1;else{do{if(t===this._)break;if(t===i.L){if((n=i.R).C&&(n.C=!1,i.C=!0,Ik(this,i),n=i.R),n.L&&n.L.C||n.R&&n.R.C){n.R&&n.R.C||(n.L.C=!1,n.C=!0,qk(this,n),n=i.R),n.C=i.C,i.C=n.R.C=!1,Ik(this,i),t=this._;break}}else if((n=i.L).C&&(n.C=!1,i.C=!0,qk(this,i),n=i.L),n.L&&n.L.C||n.R&&n.R.C){n.L&&n.L.C||(n.R.C=!1,n.C=!0,Ik(this,n),n=i.L),n.C=i.C,i.C=n.L.C=!1,qk(this,i),t=this._;break}n.C=!0,t=i,i=i.U}while(!t.C);t&&(t.C=!1)}}};const Fk=Dk;function Bk(t,n,e,r){var i=[null,null],o=fS.push(i)-1;return i.left=t,i.right=n,e&&Hk(i,t,n,e),r&&Hk(i,n,t,r),lS[t.index].halfedges.push(o),lS[n.index].halfedges.push(o),i}function Uk(t,n,e){var r=[n,e];return r.left=t,r}function Hk(t,n,e,r){t[0]||t[1]?t.left===e?t[1]=r:t[0]=r:(t[0]=r,t.left=n,t.right=e)}function Vk(t,n,e,r,i){var o,s=t[0],a=t[1],u=s[0],c=s[1],l=0,h=1,f=a[0]-u,d=a[1]-c;if(o=n-u,f||!(o>0)){if(o/=f,f<0){if(o0){if(o>h)return;o>l&&(l=o)}if(o=r-u,f||!(o<0)){if(o/=f,f<0){if(o>h)return;o>l&&(l=o)}else if(f>0){if(o0)){if(o/=d,d<0){if(o0){if(o>h)return;o>l&&(l=o)}if(o=i-c,d||!(o<0)){if(o/=d,d<0){if(o>h)return;o>l&&(l=o)}else if(d>0){if(o0||h<1)||(l>0&&(t[0]=[u+l*f,c+l*d]),h<1&&(t[1]=[u+h*f,c+h*d]),!0)}}}}}function Wk(t,n,e,r,i){var o=t[1];if(o)return!0;var s,a,u=t[0],c=t.left,l=t.right,h=c[0],f=c[1],d=l[0],p=l[1],_=(h+d)/2,m=(f+p)/2;if(p===f){if(_=r)return;if(h>d){if(u){if(u[1]>=i)return}else u=[_,e];o=[_,i]}else{if(u){if(u[1]1)if(h>d){if(u){if(u[1]>=i)return}else u=[(e-a)/s,e];o=[(i-a)/s,i]}else{if(u){if(u[1]=r)return}else u=[n,s*n+a];o=[r,s*r+a]}else{if(u){if(u[0]=-pS)){var d=u*u+c*c,p=l*l+h*h,_=(h*d-c*p)/f,m=(u*p-l*d)/f,v=Zk.pop()||new Jk;v.arc=t,v.site=i,v.x=_+s,v.y=(v.cy=m+a)+Math.sqrt(_*_+m*m),t.circle=v;for(var g=null,b=hS._;b;)if(v.ydS)a=a.L;else{if(!((i=o-uS(a,s))>dS)){r>-dS?(n=a.P,e=a):i>-dS?(n=a,e=a.N):n=e=a;break}if(!a.R){n=a;break}a=a.R}!function(t){lS[t.index]={site:t,halfedges:[]}}(t);var u=rS(t);if(cS.insert(n,u),n||e){if(n===e)return tS(n),e=rS(n.site),cS.insert(u,e),u.edge=e.edge=Bk(n.site,u.site),Qk(n),void Qk(e);if(e){tS(n),tS(e);var c=n.site,l=c[0],h=c[1],f=t[0]-l,d=t[1]-h,p=e.site,_=p[0]-l,m=p[1]-h,v=2*(f*m-d*_),g=f*f+d*d,b=_*_+m*m,w=[(m*g-d*b)/v+l,(f*b-_*g)/v+h];Hk(e.edge,c,p,w),u.edge=Bk(c,t,null,w),e.edge=Bk(t,p,null,w),Qk(n),Qk(e)}else u.edge=Bk(n.site,u.site)}}function aS(t,n){var e=t.site,r=e[0],i=e[1],o=i-n;if(!o)return r;var s=t.P;if(!s)return-1/0;var a=(e=s.site)[0],u=e[1],c=u-n;if(!c)return a;var l=a-r,h=1/o-1/c,f=l/c;return h?(-f+Math.sqrt(f*f-2*h*(l*l/(-2*c)-u+c/2+i-o/2)))/h+r:(r+a)/2}function uS(t,n){var e=t.N;if(e)return aS(e,n);var r=t.site;return r[1]===n?r[0]:1/0}var cS,lS,hS,fS,dS=1e-6,pS=1e-12;function _S(t,n,e){return(t[0]-e[0])*(n[1]-t[1])-(t[0]-n[0])*(e[1]-t[1])}function mS(t,n){return n[1]-t[1]||n[0]-t[0]}function vS(t,n){var e,r,i,o=t.sort(mS).pop();for(fS=[],lS=new Array(t.length),cS=new Fk,hS=new Fk;;)if(i=Kk,o&&(!i||o[1]dS||Math.abs(i[0][1]-i[1][1])>dS)||delete fS[o]}(s,a,u,c),function(t,n,e,r){var i,o,s,a,u,c,l,h,f,d,p,_,m=lS.length,v=!0;for(i=0;idS||Math.abs(_-f)>dS)&&(u.splice(a,0,fS.push(Uk(s,d,Math.abs(p-t)dS?[t,Math.abs(h-t)dS?[Math.abs(f-r)dS?[e,Math.abs(h-e)dS?[Math.abs(f-n)=a)return null;var u=t-i.site[0],c=n-i.site[1],l=u*u+c*c;do{i=o.cells[r=s],s=null,i.halfedges.forEach((function(e){var r=o.edges[e],a=r.left;if(a!==i.site&&a||(a=r.right)){var u=t-a[0],c=n-a[1],h=u*u+c*c;hr?(r+i)/2:Math.min(0,r)||Math.max(0,i),s>o?(o+s)/2:Math.min(0,o)||Math.max(0,s))}function OS(){var t,n,e=CS,r=ES,i=TS,o=$S,s=zS,a=[0,1/0],u=[[-1/0,-1/0],[1/0,1/0]],c=250,l=Yp,h=_t("start","zoom","end"),f=500,d=150,p=0;function _(t){t.property("__zoom",MS).on("wheel.zoom",x).on("mousedown.zoom",k).on("dblclick.zoom",S).filter(s).on("touchstart.zoom",A).on("touchmove.zoom",C).on("touchend.zoom touchcancel.zoom",E).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function m(t,n){return(n=Math.max(a[0],Math.min(a[1],n)))===t.k?t:new yS(n,t.x,t.y)}function v(t,n,e){var r=n[0]-e[0]*t.k,i=n[1]-e[1]*t.k;return r===t.x&&i===t.y?t:new yS(t.k,r,i)}function g(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function b(t,n,e){t.on("start.zoom",(function(){w(this,arguments).start()})).on("interrupt.zoom end.zoom",(function(){w(this,arguments).end()})).tween("zoom",(function(){var t=this,i=arguments,o=w(t,i),s=r.apply(t,i),a=null==e?g(s):"function"==typeof e?e.apply(t,i):e,u=Math.max(s[1][0]-s[0][0],s[1][1]-s[0][1]),c=t.__zoom,h="function"==typeof n?n.apply(t,i):n,f=l(c.invert(a).concat(u/c.k),h.invert(a).concat(u/h.k));return function(t){if(1===t)t=h;else{var n=f(t),e=u/n[2];t=new yS(e,a[0]-n[0]*e,a[1]-n[1]*e)}o.zoom(null,t)}}))}function w(t,n,e){return!e&&t.__zooming||new y(t,n)}function y(t,n){this.that=t,this.args=n,this.active=0,this.extent=r.apply(t,n),this.taps=0}function x(){if(e.apply(this,arguments)){var t=w(this,arguments),n=this.__zoom,r=Math.max(a[0],Math.min(a[1],n.k*Math.pow(2,o.apply(this,arguments)))),s=Le(this);if(t.wheel)t.mouse[0][0]===s[0]&&t.mouse[0][1]===s[1]||(t.mouse[1]=n.invert(t.mouse[0]=s)),clearTimeout(t.wheel);else{if(n.k===r)return;t.mouse=[s,n.invert(s)],pr(this),t.start()}AS(),t.wheel=setTimeout((function(){t.wheel=null,t.end()}),d),t.zoom("mouse",i(v(m(n,r),t.mouse[0],t.mouse[1]),t.extent,u))}}function k(){if(!n&&e.apply(this,arguments)){var t=w(this,arguments,!0),r=En(pn.view).on("mousemove.zoom",(function(){if(AS(),!t.moved){var n=pn.clientX-s,e=pn.clientY-a;t.moved=n*n+e*e>p}t.zoom("mouse",i(v(t.that.__zoom,t.mouse[0]=Le(t.that),t.mouse[1]),t.extent,u))}),!0).on("mouseup.zoom",(function(){r.on("mousemove.zoom mouseup.zoom",null),Tn(pn.view,t.moved),AS(),t.end()}),!0),o=Le(this),s=pn.clientX,a=pn.clientY;zn(pn.view),SS(),t.mouse=[o,this.__zoom.invert(o)],pr(this),t.start()}}function S(){if(e.apply(this,arguments)){var t=this.__zoom,n=Le(this),o=t.invert(n),s=t.k*(pn.shiftKey?.5:2),a=i(v(m(t,s),n,o),r.apply(this,arguments),u);AS(),c>0?En(this).transition().duration(c).call(b,a,n):En(this).call(_.transform,a)}}function A(){if(e.apply(this,arguments)){var n,r,i,o,s=pn.touches,a=s.length,u=w(this,arguments,pn.changedTouches.length===a);for(SS(),r=0;r{t.exports={graphlib:e(96937),dagre:e(91925),intersect:e(50538),render:e(15102),util:e(8074),version:e(49356)}},69308:(t,n,e)=>{var r=e(8074);function i(t,n,e,i){var o=t.append("marker").attr("id",n).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").style("stroke-width",1).style("stroke-dasharray","1,0");r.applyStyle(o,e[i+"Style"]),e[i+"Class"]&&o.attr("class",e[i+"Class"])}t.exports={default:i,normal:i,vee:function(t,n,e,i){var o=t.append("marker").attr("id",n).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 L 4 5 z").style("stroke-width",1).style("stroke-dasharray","1,0");r.applyStyle(o,e[i+"Style"]),e[i+"Class"]&&o.attr("class",e[i+"Class"])},undirected:function(t,n,e,i){var o=t.append("marker").attr("id",n).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 5 L 10 5").style("stroke-width",1).style("stroke-dasharray","1,0");r.applyStyle(o,e[i+"Style"]),e[i+"Class"]&&o.attr("class",e[i+"Class"])}}},53456:(t,n,e)=>{var r=e(8074),i=e(1207),o=e(68489);t.exports=function(t,n){var e,s=n.nodes().filter((function(t){return r.isSubgraph(n,t)})),a=t.selectAll("g.cluster").data(s,(function(t){return t}));return a.selectAll("*").remove(),a.enter().append("g").attr("class","cluster").attr("id",(function(t){return n.node(t).id})).style("opacity",0),a=t.selectAll("g.cluster"),r.applyTransition(a,n).style("opacity",1),a.each((function(t){var e=n.node(t),r=i.select(this);i.select(this).append("rect");var s=r.append("g").attr("class","label");o(s,e,e.clusterLabelPos)})),a.selectAll("rect").each((function(t){var e=n.node(t),o=i.select(this);r.applyStyle(o,e.style)})),e=a.exit?a.exit():a.selectAll(null),r.applyTransition(e,n).style("opacity",0).remove(),a}},78812:(t,n,e)=>{"use strict";var r=e(42711),i=e(68489),o=e(8074),s=e(1207);t.exports=function(t,n){var e,a=t.selectAll("g.edgeLabel").data(n.edges(),(function(t){return o.edgeToId(t)})).classed("update",!0);return a.exit().remove(),a.enter().append("g").classed("edgeLabel",!0).style("opacity",0),(a=t.selectAll("g.edgeLabel")).each((function(t){var e=s.select(this);e.select(".label").remove();var o=n.edge(t),a=i(e,n.edge(t),0,0).classed("label",!0),u=a.node().getBBox();o.labelId&&a.attr("id",o.labelId),r.has(o,"width")||(o.width=u.width),r.has(o,"height")||(o.height=u.height)})),e=a.exit?a.exit():a.selectAll(null),o.applyTransition(e,n).style("opacity",0).remove(),a}},34483:(t,n,e)=>{"use strict";var r=e(42711),i=e(77044),o=e(8074),s=e(1207);function a(t,n){var e=(s.line||s.svg.line)().x((function(t){return t.x})).y((function(t){return t.y}));return(e.curve||e.interpolate)(t.curve),e(n)}t.exports=function(t,n,e){var u=t.selectAll("g.edgePath").data(n.edges(),(function(t){return o.edgeToId(t)})).classed("update",!0),c=function(t,n){var e=t.enter().append("g").attr("class","edgePath").style("opacity",0);return e.append("path").attr("class","path").attr("d",(function(t){var e=n.edge(t),i=n.node(t.v).elem;return a(e,r.range(e.points.length).map((function(){return n=(t=i).getBBox(),{x:(e=t.ownerSVGElement.getScreenCTM().inverse().multiply(t.getScreenCTM()).translate(n.width/2,n.height/2)).e,y:e.f};var t,n,e})))})),e.append("defs"),e}(u,n);!function(t,n){var e=t.exit();o.applyTransition(e,n).style("opacity",0).remove()}(u,n);var l=void 0!==u.merge?u.merge(c):u;return o.applyTransition(l,n).style("opacity",1),l.each((function(t){var e=s.select(this),r=n.edge(t);r.elem=this,r.id&&e.attr("id",r.id),o.applyClass(e,r.class,(e.classed("update")?"update ":"")+"edgePath")})),l.selectAll("path.path").each((function(t){var e=n.edge(t);e.arrowheadId=r.uniqueId("arrowhead");var u=s.select(this).attr("marker-end",(function(){return"url("+(t=location.href,n=e.arrowheadId,t.split("#")[0]+"#"+n+")");var t,n})).style("fill","none");o.applyTransition(u,n).attr("d",(function(t){return function(t,n){var e=t.edge(n),r=t.node(n.v),o=t.node(n.w),s=e.points.slice(1,e.points.length-1);return s.unshift(i(r,s[0])),s.push(i(o,s[s.length-1])),a(e,s)}(n,t)})),o.applyStyle(u,e.style)})),l.selectAll("defs *").remove(),l.selectAll("defs").each((function(t){var r=n.edge(t);(0,e[r.arrowhead])(s.select(this),r.arrowheadId,r,"arrowhead")})),l}},92606:(t,n,e)=>{"use strict";var r=e(42711),i=e(68489),o=e(8074),s=e(1207);t.exports=function(t,n,e){var a,u=n.nodes().filter((function(t){return!o.isSubgraph(n,t)})),c=t.selectAll("g.node").data(u,(function(t){return t})).classed("update",!0);return c.exit().remove(),c.enter().append("g").attr("class","node").style("opacity",0),(c=t.selectAll("g.node")).each((function(t){var a=n.node(t),u=s.select(this);o.applyClass(u,a.class,(u.classed("update")?"update ":"")+"node"),u.select("g.label").remove();var c=u.append("g").attr("class","label"),l=i(c,a),h=e[a.shape],f=r.pick(l.node().getBBox(),"width","height");a.elem=this,a.id&&u.attr("id",a.id),a.labelId&&c.attr("id",a.labelId),r.has(a,"width")&&(f.width=a.width),r.has(a,"height")&&(f.height=a.height),f.width+=a.paddingLeft+a.paddingRight,f.height+=a.paddingTop+a.paddingBottom,c.attr("transform","translate("+(a.paddingLeft-a.paddingRight)/2+","+(a.paddingTop-a.paddingBottom)/2+")");var d=s.select(this);d.select(".label-container").remove();var p=h(d,f,a).classed("label-container",!0);o.applyStyle(p,a.style);var _=p.node().getBBox();a.width=_.width,a.height=_.height})),a=c.exit?c.exit():c.selectAll(null),o.applyTransition(a,n).style("opacity",0).remove(),c}},1207:(t,n,e)=>{var r;if(!r)try{r=e(52471)}catch(t){}r||(r=window.d3),t.exports=r},91925:(t,n,e)=>{var r;try{r=e(19058)}catch(t){}r||(r=window.dagre),t.exports=r},96937:(t,n,e)=>{var r;try{r=e(80246)}catch(t){}r||(r=window.graphlib),t.exports=r},50538:(t,n,e)=>{t.exports={node:e(77044),circle:e(45004),ellipse:e(25416),polygon:e(58004),rect:e(54210)}},45004:(t,n,e)=>{var r=e(25416);t.exports=function(t,n,e){return r(t,n,n,e)}},25416:t=>{t.exports=function(t,n,e,r){var i=t.x,o=t.y,s=i-r.x,a=o-r.y,u=Math.sqrt(n*n*a*a+e*e*s*s),c=Math.abs(n*e*s/u);r.x{function n(t,n){return t*n>0}t.exports=function(t,e,r,i){var o,s,a,u,c,l,h,f,d,p,_,m,v;if(!(o=e.y-t.y,a=t.x-e.x,c=e.x*t.y-t.x*e.y,d=o*r.x+a*r.y+c,p=o*i.x+a*i.y+c,0!==d&&0!==p&&n(d,p)||(s=i.y-r.y,u=r.x-i.x,l=i.x*r.y-r.x*i.y,h=s*t.x+u*t.y+l,f=s*e.x+u*e.y+l,0!==h&&0!==f&&n(h,f)||0==(_=o*u-s*a))))return m=Math.abs(_/2),{x:(v=a*l-u*c)<0?(v-m)/_:(v+m)/_,y:(v=s*c-o*l)<0?(v-m)/_:(v+m)/_}}},77044:t=>{t.exports=function(t,n){return t.intersect(n)}},58004:(t,n,e)=>{var r=e(36846);t.exports=function(t,n,e){var i=t.x,o=t.y,s=[],a=Number.POSITIVE_INFINITY,u=Number.POSITIVE_INFINITY;n.forEach((function(t){a=Math.min(a,t.x),u=Math.min(u,t.y)}));for(var c=i-t.width/2-a,l=o-t.height/2-u,h=0;h1&&s.sort((function(t,n){var r=t.x-e.x,i=t.y-e.y,o=Math.sqrt(r*r+i*i),s=n.x-e.x,a=n.y-e.y,u=Math.sqrt(s*s+a*a);return o{t.exports=function(t,n){var e,r,i=t.x,o=t.y,s=n.x-i,a=n.y-o,u=t.width/2,c=t.height/2;return Math.abs(a)*u>Math.abs(s)*c?(a<0&&(c=-c),e=0===a?0:c*s/a,r=c):(s<0&&(u=-u),e=u,r=0===s?0:u*a/s),{x:i+e,y:o+r}}},98953:(t,n,e)=>{var r=e(8074);t.exports=function(t,n){var e=t.append("foreignObject").attr("width","100000"),i=e.append("xhtml:div");i.attr("xmlns","http://www.w3.org/1999/xhtml");var o=n.label;switch(typeof o){case"function":i.insert(o);break;case"object":i.insert((function(){return o}));break;default:i.html(o)}r.applyStyle(i,n.labelStyle),i.style("display","inline-block"),i.style("white-space","nowrap");var s=i.node().getBoundingClientRect();return e.attr("width",s.width).attr("height",s.height),e}},68489:(t,n,e)=>{var r=e(63299),i=e(98953),o=e(61794);t.exports=function(t,n,e){var s=n.label,a=t.append("g");"svg"===n.labelType?o(a,n):"string"!=typeof s||"html"===n.labelType?i(a,n):r(a,n);var u,c=a.node().getBBox();switch(e){case"top":u=-n.height/2;break;case"bottom":u=n.height/2-c.height;break;default:u=-c.height/2}return a.attr("transform","translate("+-c.width/2+","+u+")"),a}},61794:(t,n,e)=>{var r=e(8074);t.exports=function(t,n){var e=t;return e.node().appendChild(n.label),r.applyStyle(e,n.labelStyle),e}},63299:(t,n,e)=>{var r=e(8074);t.exports=function(t,n){for(var e=t.append("text"),i=function(t){for(var n,e="",r=!1,i=0;i{var r;try{r={defaults:e(256),each:e(37923),isFunction:e(94174),isPlainObject:e(19335),pick:e(59987),has:e(26967),range:e(33537),uniqueId:e(52732)}}catch(t){}r||(r=window._),t.exports=r},88285:(t,n,e)=>{"use strict";var r=e(8074),i=e(1207);t.exports=function(t,n){var e=t.filter((function(){return!i.select(this).classed("update")}));function o(t){var e=n.node(t);return"translate("+e.x+","+e.y+")"}e.attr("transform",o),r.applyTransition(t,n).style("opacity",1).attr("transform",o),r.applyTransition(e.selectAll("rect"),n).attr("width",(function(t){return n.node(t).width})).attr("height",(function(t){return n.node(t).height})).attr("x",(function(t){return-n.node(t).width/2})).attr("y",(function(t){return-n.node(t).height/2}))}},39311:(t,n,e)=>{"use strict";var r=e(8074),i=e(1207),o=e(42711);t.exports=function(t,n){function e(t){var e=n.edge(t);return o.has(e,"x")?"translate("+e.x+","+e.y+")":""}t.filter((function(){return!i.select(this).classed("update")})).attr("transform",e),r.applyTransition(t,n).style("opacity",1).attr("transform",e)}},8917:(t,n,e)=>{"use strict";var r=e(8074),i=e(1207);t.exports=function(t,n){function e(t){var e=n.node(t);return"translate("+e.x+","+e.y+")"}t.filter((function(){return!i.select(this).classed("update")})).attr("transform",e),r.applyTransition(t,n).style("opacity",1).attr("transform",e)}},15102:(t,n,e)=>{var r=e(42711),i=e(1207),o=e(91925).layout;t.exports=function(){var t=e(92606),n=e(53456),i=e(78812),c=e(34483),l=e(8917),h=e(39311),f=e(88285),d=e(63572),p=e(69308),_=function(e,_){!function(t){t.nodes().forEach((function(n){var e=t.node(n);r.has(e,"label")||t.children(n).length||(e.label=n),r.has(e,"paddingX")&&r.defaults(e,{paddingLeft:e.paddingX,paddingRight:e.paddingX}),r.has(e,"paddingY")&&r.defaults(e,{paddingTop:e.paddingY,paddingBottom:e.paddingY}),r.has(e,"padding")&&r.defaults(e,{paddingLeft:e.padding,paddingRight:e.padding,paddingTop:e.padding,paddingBottom:e.padding}),r.defaults(e,s),r.each(["paddingLeft","paddingRight","paddingTop","paddingBottom"],(function(t){e[t]=Number(e[t])})),r.has(e,"width")&&(e._prevWidth=e.width),r.has(e,"height")&&(e._prevHeight=e.height)})),t.edges().forEach((function(n){var e=t.edge(n);r.has(e,"label")||(e.label=""),r.defaults(e,a)}))}(_);var m=u(e,"output"),v=u(m,"clusters"),g=u(m,"edgePaths"),b=i(u(m,"edgeLabels"),_),w=t(u(m,"nodes"),_,d);o(_),l(w,_),h(b,_),c(g,_,p);var y=n(v,_);f(y,_),function(t){r.each(t.nodes(),(function(n){var e=t.node(n);r.has(e,"_prevWidth")?e.width=e._prevWidth:delete e.width,r.has(e,"_prevHeight")?e.height=e._prevHeight:delete e.height,delete e._prevWidth,delete e._prevHeight}))}(_)};return _.createNodes=function(n){return arguments.length?(t=n,_):t},_.createClusters=function(t){return arguments.length?(n=t,_):n},_.createEdgeLabels=function(t){return arguments.length?(i=t,_):i},_.createEdgePaths=function(t){return arguments.length?(c=t,_):c},_.shapes=function(t){return arguments.length?(d=t,_):d},_.arrows=function(t){return arguments.length?(p=t,_):p},_};var s={paddingLeft:10,paddingRight:10,paddingTop:10,paddingBottom:10,rx:0,ry:0,shape:"rect"},a={arrowhead:"normal",curve:i.curveLinear};function u(t,n){var e=t.select("g."+n);return e.empty()&&(e=t.append("g").attr("class",n)),e}},63572:(t,n,e)=>{"use strict";var r=e(54210),i=e(25416),o=e(45004),s=e(58004);t.exports={rect:function(t,n,e){var i=t.insert("rect",":first-child").attr("rx",e.rx).attr("ry",e.ry).attr("x",-n.width/2).attr("y",-n.height/2).attr("width",n.width).attr("height",n.height);return e.intersect=function(t){return r(e,t)},i},ellipse:function(t,n,e){var r=n.width/2,o=n.height/2,s=t.insert("ellipse",":first-child").attr("x",-n.width/2).attr("y",-n.height/2).attr("rx",r).attr("ry",o);return e.intersect=function(t){return i(e,r,o,t)},s},circle:function(t,n,e){var r=Math.max(n.width,n.height)/2,i=t.insert("circle",":first-child").attr("x",-n.width/2).attr("y",-n.height/2).attr("r",r);return e.intersect=function(t){return o(e,r,t)},i},diamond:function(t,n,e){var r=n.width*Math.SQRT2/2,i=n.height*Math.SQRT2/2,o=[{x:0,y:-i},{x:-r,y:0},{x:0,y:i},{x:r,y:0}],a=t.insert("polygon",":first-child").attr("points",o.map((function(t){return t.x+","+t.y})).join(" "));return e.intersect=function(t){return s(e,o,t)},a}}},8074:(t,n,e)=>{var r=e(42711);t.exports={isSubgraph:function(t,n){return!!t.children(n).length},edgeToId:function(t){return o(t.v)+":"+o(t.w)+":"+o(t.name)},applyStyle:function(t,n){n&&t.attr("style",n)},applyClass:function(t,n,e){n&&t.attr("class",n).attr("class",e+" "+t.attr("class"))},applyTransition:function(t,n){var e=n.graph();if(r.isPlainObject(e)){var i=e.transition;if(r.isFunction(i))return i(t)}return t}};var i=/:/g;function o(t){return t?String(t).replace(i,"\\:"):""}},49356:t=>{t.exports="0.6.4"},19058:(t,n,e)=>{t.exports={graphlib:e(80235),layout:e(81350),debug:e(35409),util:{time:e(19064).time,notime:e(19064).notime},version:e(94898)}},96738:(t,n,e)=>{"use strict";var r=e(60029),i=e(40955);t.exports={run:function(t){var n="greedy"===t.graph().acyclicer?i(t,function(t){return function(n){return t.edge(n).weight}}(t)):function(t){var n=[],e={},i={};return r.forEach(t.nodes(),(function o(s){r.has(i,s)||(i[s]=!0,e[s]=!0,r.forEach(t.outEdges(s),(function(t){r.has(e,t.w)?n.push(t):o(t.w)})),delete e[s])})),n}(t);r.forEach(n,(function(n){var e=t.edge(n);t.removeEdge(n),e.forwardName=n.name,e.reversed=!0,t.setEdge(n.w,n.v,e,r.uniqueId("rev"))}))},undo:function(t){r.forEach(t.edges(),(function(n){var e=t.edge(n);if(e.reversed){t.removeEdge(n);var r=e.forwardName;delete e.reversed,delete e.forwardName,t.setEdge(n.w,n.v,e,r)}}))}}},94563:(t,n,e)=>{var r=e(60029),i=e(19064);function o(t,n,e,r,o,s){var a={width:0,height:0,rank:s,borderType:n},u=o[n][s-1],c=i.addDummyNode(t,"border",a,e);o[n][s]=c,t.setParent(c,r),u&&t.setEdge(u,c,{weight:1})}t.exports=function(t){r.forEach(t.children(),(function n(e){var i=t.children(e),s=t.node(e);if(i.length&&r.forEach(i,n),r.has(s,"minRank")){s.borderLeft=[],s.borderRight=[];for(var a=s.minRank,u=s.maxRank+1;a{"use strict";var r=e(60029);function i(t){r.forEach(t.nodes(),(function(n){o(t.node(n))})),r.forEach(t.edges(),(function(n){o(t.edge(n))}))}function o(t){var n=t.width;t.width=t.height,t.height=n}function s(t){t.y=-t.y}function a(t){var n=t.x;t.x=t.y,t.y=n}t.exports={adjust:function(t){var n=t.graph().rankdir.toLowerCase();"lr"!==n&&"rl"!==n||i(t)},undo:function(t){var n=t.graph().rankdir.toLowerCase();"bt"!==n&&"rl"!==n||function(t){r.forEach(t.nodes(),(function(n){s(t.node(n))})),r.forEach(t.edges(),(function(n){var e=t.edge(n);r.forEach(e.points,s),r.has(e,"y")&&s(e)}))}(t),"lr"!==n&&"rl"!==n||(function(t){r.forEach(t.nodes(),(function(n){a(t.node(n))})),r.forEach(t.edges(),(function(n){var e=t.edge(n);r.forEach(e.points,a),r.has(e,"x")&&a(e)}))}(t),i(t))}}},35471:t=>{function n(){var t={};t._next=t._prev=t,this._sentinel=t}function e(t){t._prev._next=t._next,t._next._prev=t._prev,delete t._next,delete t._prev}function r(t,n){if("_next"!==t&&"_prev"!==t)return n}t.exports=n,n.prototype.dequeue=function(){var t=this._sentinel,n=t._prev;if(n!==t)return e(n),n},n.prototype.enqueue=function(t){var n=this._sentinel;t._prev&&t._next&&e(t),t._next=n._next,n._next._prev=t,n._next=t,t._prev=n},n.prototype.toString=function(){for(var t=[],n=this._sentinel,e=n._prev;e!==n;)t.push(JSON.stringify(e,r)),e=e._prev;return"["+t.join(", ")+"]"}},35409:(t,n,e)=>{var r=e(60029),i=e(19064),o=e(80235).Graph;t.exports={debugOrdering:function(t){var n=i.buildLayerMatrix(t),e=new o({compound:!0,multigraph:!0}).setGraph({});return r.forEach(t.nodes(),(function(n){e.setNode(n,{label:n}),e.setParent(n,"layer"+t.node(n).rank)})),r.forEach(t.edges(),(function(t){e.setEdge(t.v,t.w,{},t.name)})),r.forEach(n,(function(t,n){var i="layer"+n;e.setNode(i,{rank:"same"}),r.reduce(t,(function(t,n){return e.setEdge(t,n,{style:"invis"}),n}))})),e}}},80235:(t,n,e)=>{var r;try{r=e(80246)}catch(t){}r||(r=window.graphlib),t.exports=r},40955:(t,n,e)=>{var r=e(60029),i=e(80235).Graph,o=e(35471);t.exports=function(t,n){if(t.nodeCount()<=1)return[];var e=function(t,n){var e=new i,s=0,a=0;r.forEach(t.nodes(),(function(t){e.setNode(t,{v:t,in:0,out:0})})),r.forEach(t.edges(),(function(t){var r=e.edge(t.v,t.w)||0,i=n(t),o=r+i;e.setEdge(t.v,t.w,o),a=Math.max(a,e.node(t.v).out+=i),s=Math.max(s,e.node(t.w).in+=i)}));var c=r.range(a+s+3).map((function(){return new o})),l=s+1;return r.forEach(e.nodes(),(function(t){u(c,l,e.node(t))})),{graph:e,buckets:c,zeroIdx:l}}(t,n||s),c=function(t,n,e){for(var r,i=[],o=n[n.length-1],s=n[0];t.nodeCount();){for(;r=s.dequeue();)a(t,n,e,r);for(;r=o.dequeue();)a(t,n,e,r);if(t.nodeCount())for(var u=n.length-2;u>0;--u)if(r=n[u].dequeue()){i=i.concat(a(t,n,e,r,!0));break}}return i}(e.graph,e.buckets,e.zeroIdx);return r.flatten(r.map(c,(function(n){return t.outEdges(n.v,n.w)})),!0)};var s=r.constant(1);function a(t,n,e,i,o){var s=o?[]:void 0;return r.forEach(t.inEdges(i.v),(function(r){var i=t.edge(r),a=t.node(r.v);o&&s.push({v:r.v,w:r.w}),a.out-=i,u(n,e,a)})),r.forEach(t.outEdges(i.v),(function(r){var i=t.edge(r),o=r.w,s=t.node(o);s.in-=i,u(n,e,s)})),t.removeNode(i.v),s}function u(t,n,e){e.out?e.in?t[e.out-e.in+n].enqueue(e):t[t.length-1].enqueue(e):t[0].enqueue(e)}},81350:(t,n,e)=>{"use strict";var r=e(60029),i=e(96738),o=e(74301),s=e(37861),a=e(19064).normalizeRanks,u=e(40072),c=e(19064).removeEmptyRanks,l=e(56493),h=e(94563),f=e(19462),d=e(92825),p=e(54188),_=e(19064),m=e(80235).Graph;t.exports=function(t,n){var e=n&&n.debugTiming?_.time:_.notime;e("layout",(function(){var n=e(" buildLayoutGraph",(function(){return function(t){var n=new m({multigraph:!0,compound:!0}),e=C(t.graph());return n.setGraph(r.merge({},g,A(e,v),r.pick(e,b))),r.forEach(t.nodes(),(function(e){var i=C(t.node(e));n.setNode(e,r.defaults(A(i,w),y)),n.setParent(e,t.parent(e))})),r.forEach(t.edges(),(function(e){var i=C(t.edge(e));n.setEdge(e,r.merge({},k,A(i,x),r.pick(i,S)))})),n}(t)}));e(" runLayout",(function(){!function(t,n){n(" makeSpaceForEdgeLabels",(function(){!function(t){var n=t.graph();n.ranksep/=2,r.forEach(t.edges(),(function(e){var r=t.edge(e);r.minlen*=2,"c"!==r.labelpos.toLowerCase()&&("TB"===n.rankdir||"BT"===n.rankdir?r.width+=r.labeloffset:r.height+=r.labeloffset)}))}(t)})),n(" removeSelfEdges",(function(){!function(t){r.forEach(t.edges(),(function(n){if(n.v===n.w){var e=t.node(n.v);e.selfEdges||(e.selfEdges=[]),e.selfEdges.push({e:n,label:t.edge(n)}),t.removeEdge(n)}}))}(t)})),n(" acyclic",(function(){i.run(t)})),n(" nestingGraph.run",(function(){l.run(t)})),n(" rank",(function(){s(_.asNonCompoundGraph(t))})),n(" injectEdgeLabelProxies",(function(){!function(t){r.forEach(t.edges(),(function(n){var e=t.edge(n);if(e.width&&e.height){var r=t.node(n.v),i={rank:(t.node(n.w).rank-r.rank)/2+r.rank,e:n};_.addDummyNode(t,"edge-proxy",i,"_ep")}}))}(t)})),n(" removeEmptyRanks",(function(){c(t)})),n(" nestingGraph.cleanup",(function(){l.cleanup(t)})),n(" normalizeRanks",(function(){a(t)})),n(" assignRankMinMax",(function(){!function(t){var n=0;r.forEach(t.nodes(),(function(e){var i=t.node(e);i.borderTop&&(i.minRank=t.node(i.borderTop).rank,i.maxRank=t.node(i.borderBottom).rank,n=r.max(n,i.maxRank))})),t.graph().maxRank=n}(t)})),n(" removeEdgeLabelProxies",(function(){!function(t){r.forEach(t.nodes(),(function(n){var e=t.node(n);"edge-proxy"===e.dummy&&(t.edge(e.e).labelRank=e.rank,t.removeNode(n))}))}(t)})),n(" normalize.run",(function(){o.run(t)})),n(" parentDummyChains",(function(){u(t)})),n(" addBorderSegments",(function(){h(t)})),n(" order",(function(){d(t)})),n(" insertSelfEdges",(function(){!function(t){var n=_.buildLayerMatrix(t);r.forEach(n,(function(n){var e=0;r.forEach(n,(function(n,i){var o=t.node(n);o.order=i+e,r.forEach(o.selfEdges,(function(n){_.addDummyNode(t,"selfedge",{width:n.label.width,height:n.label.height,rank:o.rank,order:i+ ++e,e:n.e,label:n.label},"_se")})),delete o.selfEdges}))}))}(t)})),n(" adjustCoordinateSystem",(function(){f.adjust(t)})),n(" position",(function(){p(t)})),n(" positionSelfEdges",(function(){!function(t){r.forEach(t.nodes(),(function(n){var e=t.node(n);if("selfedge"===e.dummy){var r=t.node(e.e.v),i=r.x+r.width/2,o=r.y,s=e.x-i,a=r.height/2;t.setEdge(e.e,e.label),t.removeNode(n),e.label.points=[{x:i+2*s/3,y:o-a},{x:i+5*s/6,y:o-a},{x:i+s,y:o},{x:i+5*s/6,y:o+a},{x:i+2*s/3,y:o+a}],e.label.x=e.x,e.label.y=e.y}}))}(t)})),n(" removeBorderNodes",(function(){!function(t){r.forEach(t.nodes(),(function(n){if(t.children(n).length){var e=t.node(n),i=t.node(e.borderTop),o=t.node(e.borderBottom),s=t.node(r.last(e.borderLeft)),a=t.node(r.last(e.borderRight));e.width=Math.abs(a.x-s.x),e.height=Math.abs(o.y-i.y),e.x=s.x+e.width/2,e.y=i.y+e.height/2}})),r.forEach(t.nodes(),(function(n){"border"===t.node(n).dummy&&t.removeNode(n)}))}(t)})),n(" normalize.undo",(function(){o.undo(t)})),n(" fixupEdgeLabelCoords",(function(){!function(t){r.forEach(t.edges(),(function(n){var e=t.edge(n);if(r.has(e,"x"))switch("l"!==e.labelpos&&"r"!==e.labelpos||(e.width-=e.labeloffset),e.labelpos){case"l":e.x-=e.width/2+e.labeloffset;break;case"r":e.x+=e.width/2+e.labeloffset}}))}(t)})),n(" undoCoordinateSystem",(function(){f.undo(t)})),n(" translateGraph",(function(){!function(t){var n=Number.POSITIVE_INFINITY,e=0,i=Number.POSITIVE_INFINITY,o=0,s=t.graph(),a=s.marginx||0,u=s.marginy||0;function c(t){var r=t.x,s=t.y,a=t.width,u=t.height;n=Math.min(n,r-a/2),e=Math.max(e,r+a/2),i=Math.min(i,s-u/2),o=Math.max(o,s+u/2)}r.forEach(t.nodes(),(function(n){c(t.node(n))})),r.forEach(t.edges(),(function(n){var e=t.edge(n);r.has(e,"x")&&c(e)})),n-=a,i-=u,r.forEach(t.nodes(),(function(e){var r=t.node(e);r.x-=n,r.y-=i})),r.forEach(t.edges(),(function(e){var o=t.edge(e);r.forEach(o.points,(function(t){t.x-=n,t.y-=i})),r.has(o,"x")&&(o.x-=n),r.has(o,"y")&&(o.y-=i)})),s.width=e-n+a,s.height=o-i+u}(t)})),n(" assignNodeIntersects",(function(){!function(t){r.forEach(t.edges(),(function(n){var e,r,i=t.edge(n),o=t.node(n.v),s=t.node(n.w);i.points?(e=i.points[0],r=i.points[i.points.length-1]):(i.points=[],e=s,r=o),i.points.unshift(_.intersectRect(o,e)),i.points.push(_.intersectRect(s,r))}))}(t)})),n(" reversePoints",(function(){!function(t){r.forEach(t.edges(),(function(n){var e=t.edge(n);e.reversed&&e.points.reverse()}))}(t)})),n(" acyclic.undo",(function(){i.undo(t)}))}(n,e)})),e(" updateInputGraph",(function(){!function(t,n){r.forEach(t.nodes(),(function(e){var r=t.node(e),i=n.node(e);r&&(r.x=i.x,r.y=i.y,n.children(e).length&&(r.width=i.width,r.height=i.height))})),r.forEach(t.edges(),(function(e){var i=t.edge(e),o=n.edge(e);i.points=o.points,r.has(o,"x")&&(i.x=o.x,i.y=o.y)})),t.graph().width=n.graph().width,t.graph().height=n.graph().height}(t,n)}))}))};var v=["nodesep","edgesep","ranksep","marginx","marginy"],g={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},b=["acyclicer","ranker","rankdir","align"],w=["width","height"],y={width:0,height:0},x=["minlen","weight","width","height","labeloffset"],k={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},S=["labelpos"];function A(t,n){return r.mapValues(r.pick(t,n),Number)}function C(t){var n={};return r.forEach(t,(function(t,e){n[e.toLowerCase()]=t})),n}},60029:(t,n,e)=>{var r;try{r={cloneDeep:e(70139),constant:e(54642),defaults:e(256),each:e(37923),filter:e(9344),find:e(90185),flatten:e(72046),forEach:e(61726),forIn:e(24408),has:e(26967),isUndefined:e(41204),last:e(90142),map:e(28246),mapValues:e(94816),max:e(12862),merge:e(9840),min:e(56640),minBy:e(27697),now:e(99328),pick:e(59987),range:e(33537),reduce:e(62544),sortBy:e(28683),uniqueId:e(52732),values:e(54396),zipObject:e(48548)}}catch(t){}r||(r=window._),t.exports=r},56493:(t,n,e)=>{var r=e(60029),i=e(19064);function o(t,n,e,s,a,u,c){var l=t.children(c);if(l.length){var h=i.addBorderNode(t,"_bt"),f=i.addBorderNode(t,"_bb"),d=t.node(c);t.setParent(h,c),d.borderTop=h,t.setParent(f,c),d.borderBottom=f,r.forEach(l,(function(r){o(t,n,e,s,a,u,r);var i=t.node(r),l=i.borderTop?i.borderTop:r,d=i.borderBottom?i.borderBottom:r,p=i.borderTop?s:2*s,_=l!==d?1:a-u[c]+1;t.setEdge(h,l,{weight:p,minlen:_,nestingEdge:!0}),t.setEdge(d,f,{weight:p,minlen:_,nestingEdge:!0})})),t.parent(c)||t.setEdge(n,h,{weight:0,minlen:a+u[c]})}else c!==n&&t.setEdge(n,c,{weight:0,minlen:e})}t.exports={run:function(t){var n=i.addDummyNode(t,"root",{},"_root"),e=function(t){var n={};function e(i,o){var s=t.children(i);s&&s.length&&r.forEach(s,(function(t){e(t,o+1)})),n[i]=o}return r.forEach(t.children(),(function(t){e(t,1)})),n}(t),s=r.max(r.values(e))-1,a=2*s+1;t.graph().nestingRoot=n,r.forEach(t.edges(),(function(n){t.edge(n).minlen*=a}));var u=function(t){return r.reduce(t.edges(),(function(n,e){return n+t.edge(e).weight}),0)}(t)+1;r.forEach(t.children(),(function(r){o(t,n,a,u,s,e,r)})),t.graph().nodeRankFactor=a},cleanup:function(t){var n=t.graph();t.removeNode(n.nestingRoot),delete n.nestingRoot,r.forEach(t.edges(),(function(n){t.edge(n).nestingEdge&&t.removeEdge(n)}))}}},74301:(t,n,e)=>{"use strict";var r=e(60029),i=e(19064);t.exports={run:function(t){t.graph().dummyChains=[],r.forEach(t.edges(),(function(n){!function(t,n){var e,r,o,s=n.v,a=t.node(s).rank,u=n.w,c=t.node(u).rank,l=n.name,h=t.edge(n),f=h.labelRank;if(c!==a+1){for(t.removeEdge(n),o=0,++a;a{var r=e(60029);t.exports=function(t,n,e){var i,o={};r.forEach(e,(function(e){for(var r,s,a=t.parent(e);a;){if((r=t.parent(a))?(s=o[r],o[r]=a):(s=i,i=a),s&&s!==a)return void n.setEdge(s,a);a=r}}))}},69376:(t,n,e)=>{var r=e(60029);t.exports=function(t,n){return r.map(n,(function(n){var e=t.inEdges(n);if(e.length){var i=r.reduce(e,(function(n,e){var r=t.edge(e),i=t.node(e.v);return{sum:n.sum+r.weight*i.order,weight:n.weight+r.weight}}),{sum:0,weight:0});return{v:n,barycenter:i.sum/i.weight,weight:i.weight}}return{v:n}}))}},11864:(t,n,e)=>{var r=e(60029),i=e(80235).Graph;t.exports=function(t,n,e){var o=function(t){for(var n;t.hasNode(n=r.uniqueId("_root")););return n}(t),s=new i({compound:!0}).setGraph({root:o}).setDefaultNodeLabel((function(n){return t.node(n)}));return r.forEach(t.nodes(),(function(i){var a=t.node(i),u=t.parent(i);(a.rank===n||a.minRank<=n&&n<=a.maxRank)&&(s.setNode(i),s.setParent(i,u||o),r.forEach(t[e](i),(function(n){var e=n.v===i?n.w:n.v,o=s.edge(e,i),a=r.isUndefined(o)?0:o.weight;s.setEdge(e,i,{weight:t.edge(n).weight+a})})),r.has(a,"minRank")&&s.setNode(i,{borderLeft:a.borderLeft[n],borderRight:a.borderRight[n]}))})),s}},88544:(t,n,e)=>{"use strict";var r=e(60029);function i(t,n,e){for(var i=r.zipObject(e,r.map(e,(function(t,n){return n}))),o=r.flatten(r.map(n,(function(n){return r.sortBy(r.map(t.outEdges(n),(function(n){return{pos:i[n.w],weight:t.edge(n).weight}})),"pos")})),!0),s=1;s0;)n%2&&(e+=u[n+1]),u[n=n-1>>1]+=t.weight;c+=t.weight*e}))),c}t.exports=function(t,n){for(var e=0,r=1;r{"use strict";var r=e(60029),i=e(33138),o=e(88544),s=e(69460),a=e(11864),u=e(8388),c=e(80235).Graph,l=e(19064);function h(t,n,e){return r.map(n,(function(n){return a(t,n,e)}))}function f(t,n){var e=new c;r.forEach(t,(function(t){var i=t.graph().root,o=s(t,i,e,n);r.forEach(o.vs,(function(n,e){t.node(n).order=e})),u(t,e,o.vs)}))}function d(t,n){r.forEach(n,(function(n){r.forEach(n,(function(n,e){t.node(n).order=e}))}))}t.exports=function(t){var n=l.maxRank(t),e=h(t,r.range(1,n+1),"inEdges"),s=h(t,r.range(n-1,-1,-1),"outEdges"),a=i(t);d(t,a);for(var u,c=Number.POSITIVE_INFINITY,p=0,_=0;_<4;++p,++_){f(p%2?e:s,p%4>=2),a=l.buildLayerMatrix(t);var m=o(t,a);m{"use strict";var r=e(60029);t.exports=function(t){var n={},e=r.filter(t.nodes(),(function(n){return!t.children(n).length})),i=r.max(r.map(e,(function(n){return t.node(n).rank}))),o=r.map(r.range(i+1),(function(){return[]})),s=r.sortBy(e,(function(n){return t.node(n).rank}));return r.forEach(s,(function e(i){if(!r.has(n,i)){n[i]=!0;var s=t.node(i);o[s.rank].push(i),r.forEach(t.successors(i),e)}})),o}},95643:(t,n,e)=>{"use strict";var r=e(60029);t.exports=function(t,n){var e={};return r.forEach(t,(function(t,n){var i=e[t.v]={indegree:0,in:[],out:[],vs:[t.v],i:n};r.isUndefined(t.barycenter)||(i.barycenter=t.barycenter,i.weight=t.weight)})),r.forEach(n.edges(),(function(t){var n=e[t.v],i=e[t.w];r.isUndefined(n)||r.isUndefined(i)||(i.indegree++,n.out.push(e[t.w]))})),function(t){var n=[];function e(t){return function(n){var e,i,o,s;n.merged||(r.isUndefined(n.barycenter)||r.isUndefined(t.barycenter)||n.barycenter>=t.barycenter)&&(i=n,o=0,s=0,(e=t).weight&&(o+=e.barycenter*e.weight,s+=e.weight),i.weight&&(o+=i.barycenter*i.weight,s+=i.weight),e.vs=i.vs.concat(e.vs),e.barycenter=o/s,e.weight=s,e.i=Math.min(i.i,e.i),i.merged=!0)}}function i(n){return function(e){e.in.push(n),0==--e.indegree&&t.push(e)}}for(;t.length;){var o=t.pop();n.push(o),r.forEach(o.in.reverse(),e(o)),r.forEach(o.out,i(o))}return r.map(r.filter(n,(function(t){return!t.merged})),(function(t){return r.pick(t,["vs","i","barycenter","weight"])}))}(r.filter(e,(function(t){return!t.indegree})))}},69460:(t,n,e)=>{var r=e(60029),i=e(69376),o=e(95643),s=e(17245);t.exports=function t(n,e,a,u){var c=n.children(e),l=n.node(e),h=l?l.borderLeft:void 0,f=l?l.borderRight:void 0,d={};h&&(c=r.filter(c,(function(t){return t!==h&&t!==f})));var p=i(n,c);r.forEach(p,(function(e){if(n.children(e.v).length){var i=t(n,e.v,a,u);d[e.v]=i,r.has(i,"barycenter")&&(o=e,s=i,r.isUndefined(o.barycenter)?(o.barycenter=s.barycenter,o.weight=s.weight):(o.barycenter=(o.barycenter*o.weight+s.barycenter*s.weight)/(o.weight+s.weight),o.weight+=s.weight))}var o,s}));var _=o(p,a);!function(t,n){r.forEach(t,(function(t){t.vs=r.flatten(t.vs.map((function(t){return n[t]?n[t].vs:t})),!0)}))}(_,d);var m=s(_,u);if(h&&(m.vs=r.flatten([h,m.vs,f],!0),n.predecessors(h).length)){var v=n.node(n.predecessors(h)[0]),g=n.node(n.predecessors(f)[0]);r.has(m,"barycenter")||(m.barycenter=0,m.weight=0),m.barycenter=(m.barycenter*m.weight+v.order+g.order)/(m.weight+2),m.weight+=2}return m}},17245:(t,n,e)=>{var r=e(60029),i=e(19064);function o(t,n,e){for(var i;n.length&&(i=r.last(n)).i<=e;)n.pop(),t.push(i.vs),e++;return e}t.exports=function(t,n){var e,s=i.partition(t,(function(t){return r.has(t,"barycenter")})),a=s.lhs,u=r.sortBy(s.rhs,(function(t){return-t.i})),c=[],l=0,h=0,f=0;a.sort((e=!!n,function(t,n){return t.barycentern.barycenter?1:e?n.i-t.i:t.i-n.i})),f=o(c,u,f),r.forEach(a,(function(t){f+=t.vs.length,c.push(t.vs),l+=t.barycenter*t.weight,h+=t.weight,f=o(c,u,f)}));var d={vs:r.flatten(c,!0)};return h&&(d.barycenter=l/h,d.weight=h),d}},40072:(t,n,e)=>{var r=e(60029);t.exports=function(t){var n=function(t){var n={},e=0;return r.forEach(t.children(),(function i(o){var s=e;r.forEach(t.children(o),i),n[o]={low:s,lim:e++}})),n}(t);r.forEach(t.graph().dummyChains,(function(e){for(var r=t.node(e),i=r.edgeObj,o=function(t,n,e,r){var i,o,s=[],a=[],u=Math.min(n[e].low,n[r].low),c=Math.max(n[e].lim,n[r].lim);i=e;do{i=t.parent(i),s.push(i)}while(i&&(n[i].low>u||c>n[i].lim));for(o=i,i=r;(i=t.parent(i))!==o;)a.push(i);return{path:s.concat(a.reverse()),lca:o}}(t,n,i.v,i.w),s=o.path,a=o.lca,u=0,c=s[u],l=!0;e!==i.w;){if(r=t.node(e),l){for(;(c=s[u])!==a&&t.node(c).maxRank{"use strict";var r=e(60029),i=e(80235).Graph,o=e(19064);function s(t,n){var e={};return r.reduce(n,(function(n,i){var o=0,s=0,a=n.length,c=r.last(i);return r.forEach(i,(function(n,l){var h=function(t,n){if(t.node(n).dummy)return r.find(t.predecessors(n),(function(n){return t.node(n).dummy}))}(t,n),f=h?t.node(h).order:a;(h||n===c)&&(r.forEach(i.slice(s,l+1),(function(n){r.forEach(t.predecessors(n),(function(r){var i=t.node(r),s=i.order;!(sa)&&u(e,n,c)}))}))}return r.reduce(n,(function(n,e){var o,s=-1,a=0;return r.forEach(e,(function(r,u){if("border"===t.node(r).dummy){var c=t.predecessors(r);c.length&&(o=t.node(c[0]).order,i(e,a,u,s,o),a=u,s=o)}i(e,a,e.length,o,n.length)})),e})),e}function u(t,n,e){if(n>e){var r=n;n=e,e=r}var i=t[n];i||(t[n]=i={}),i[e]=!0}function c(t,n,e){if(n>e){var i=n;n=e,e=i}return r.has(t[n],e)}function l(t,n,e,i){var o={},s={},a={};return r.forEach(n,(function(t){r.forEach(t,(function(t,n){o[t]=t,s[t]=t,a[t]=n}))})),r.forEach(n,(function(t){var n=-1;r.forEach(t,(function(t){var u=i(t);if(u.length){u=r.sortBy(u,(function(t){return a[t]}));for(var l=(u.length-1)/2,h=Math.floor(l),f=Math.ceil(l);h<=f;++h){var d=u[h];s[t]===t&&n{"use strict";var r=e(60029),i=e(19064),o=e(87609).positionX;t.exports=function(t){(function(t){var n=i.buildLayerMatrix(t),e=t.graph().ranksep,o=0;r.forEach(n,(function(n){var i=r.max(r.map(n,(function(n){return t.node(n).height})));r.forEach(n,(function(n){t.node(n).y=o+i/2})),o+=i+e}))})(t=i.asNonCompoundGraph(t)),r.forEach(o(t),(function(n,e){t.node(e).x=n}))}},63581:(t,n,e)=>{"use strict";var r=e(60029),i=e(80235).Graph,o=e(5557).slack;function s(t,n){return r.forEach(t.nodes(),(function e(i){r.forEach(n.nodeEdges(i),(function(r){var s=r.v,a=i===s?r.w:s;t.hasNode(a)||o(n,r)||(t.setNode(a,{}),t.setEdge(i,a,{}),e(a))}))})),t.nodeCount()}function a(t,n){return r.minBy(n.edges(),(function(e){if(t.hasNode(e.v)!==t.hasNode(e.w))return o(n,e)}))}function u(t,n,e){r.forEach(t.nodes(),(function(t){n.node(t).rank+=e}))}t.exports=function(t){var n,e,r=new i({directed:!1}),c=t.nodes()[0],l=t.nodeCount();for(r.setNode(c,{});s(r,t){"use strict";var r=e(5557).longestPath,i=e(63581),o=e(69664);t.exports=function(t){switch(t.graph().ranker){case"network-simplex":default:!function(t){o(t)}(t);break;case"tight-tree":!function(t){r(t),i(t)}(t);break;case"longest-path":s(t)}};var s=r},69664:(t,n,e)=>{"use strict";var r=e(60029),i=e(63581),o=e(5557).slack,s=e(5557).longestPath,a=e(80235).alg.preorder,u=e(80235).alg.postorder,c=e(19064).simplify;function l(t){t=c(t),s(t);var n,e=i(t);for(d(e),h(e,t);n=_(e);)v(e,t,n,m(e,t,n))}function h(t,n){var e=u(t,t.nodes());e=e.slice(0,e.length-1),r.forEach(e,(function(e){!function(t,n,e){var r=t.node(e).parent;t.edge(e,r).cutvalue=f(t,n,e)}(t,n,e)}))}function f(t,n,e){var i=t.node(e).parent,o=!0,s=n.edge(e,i),a=0;return s||(o=!1,s=n.edge(i,e)),a=s.weight,r.forEach(n.nodeEdges(e),(function(r){var s,u,c=r.v===e,l=c?r.w:r.v;if(l!==i){var h=c===o,f=n.edge(r).weight;if(a+=h?f:-f,s=e,u=l,t.hasEdge(s,u)){var d=t.edge(e,l).cutvalue;a+=h?-d:d}}})),a}function d(t,n){arguments.length<2&&(n=t.nodes()[0]),p(t,{},1,n)}function p(t,n,e,i,o){var s=e,a=t.node(i);return n[i]=!0,r.forEach(t.neighbors(i),(function(o){r.has(n,o)||(e=p(t,n,e,o,i))})),a.low=s,a.lim=e++,o?a.parent=o:delete a.parent,e}function _(t){return r.find(t.edges(),(function(n){return t.edge(n).cutvalue<0}))}function m(t,n,e){var i=e.v,s=e.w;n.hasEdge(i,s)||(i=e.w,s=e.v);var a=t.node(i),u=t.node(s),c=a,l=!1;a.lim>u.lim&&(c=u,l=!0);var h=r.filter(n.edges(),(function(n){return l===g(0,t.node(n.v),c)&&l!==g(0,t.node(n.w),c)}));return r.minBy(h,(function(t){return o(n,t)}))}function v(t,n,e,i){var o=e.v,s=e.w;t.removeEdge(o,s),t.setEdge(i.v,i.w,{}),d(t),h(t,n),function(t,n){var e=r.find(t.nodes(),(function(t){return!n.node(t).parent})),i=a(t,e);i=i.slice(1),r.forEach(i,(function(e){var r=t.node(e).parent,i=n.edge(e,r),o=!1;i||(i=n.edge(r,e),o=!0),n.node(e).rank=n.node(r).rank+(o?i.minlen:-i.minlen)}))}(t,n)}function g(t,n,e){return e.low<=n.lim&&n.lim<=e.lim}t.exports=l,l.initLowLimValues=d,l.initCutValues=h,l.calcCutValue=f,l.leaveEdge=_,l.enterEdge=m,l.exchangeEdges=v},5557:(t,n,e)=>{"use strict";var r=e(60029);t.exports={longestPath:function(t){var n={};r.forEach(t.sources(),(function e(i){var o=t.node(i);if(r.has(n,i))return o.rank;n[i]=!0;var s=r.min(r.map(t.outEdges(i),(function(n){return e(n.w)-t.edge(n).minlen})));return s!==Number.POSITIVE_INFINITY&&null!=s||(s=0),o.rank=s}))},slack:function(t,n){return t.node(n.w).rank-t.node(n.v).rank-t.edge(n).minlen}}},19064:(t,n,e)=>{"use strict";var r=e(60029),i=e(80235).Graph;function o(t,n,e,i){var o;do{o=r.uniqueId(i)}while(t.hasNode(o));return e.dummy=n,t.setNode(o,e),o}function s(t){return r.max(r.map(t.nodes(),(function(n){var e=t.node(n).rank;if(!r.isUndefined(e))return e})))}t.exports={addDummyNode:o,simplify:function(t){var n=(new i).setGraph(t.graph());return r.forEach(t.nodes(),(function(e){n.setNode(e,t.node(e))})),r.forEach(t.edges(),(function(e){var r=n.edge(e.v,e.w)||{weight:0,minlen:1},i=t.edge(e);n.setEdge(e.v,e.w,{weight:r.weight+i.weight,minlen:Math.max(r.minlen,i.minlen)})})),n},asNonCompoundGraph:function(t){var n=new i({multigraph:t.isMultigraph()}).setGraph(t.graph());return r.forEach(t.nodes(),(function(e){t.children(e).length||n.setNode(e,t.node(e))})),r.forEach(t.edges(),(function(e){n.setEdge(e,t.edge(e))})),n},successorWeights:function(t){var n=r.map(t.nodes(),(function(n){var e={};return r.forEach(t.outEdges(n),(function(n){e[n.w]=(e[n.w]||0)+t.edge(n).weight})),e}));return r.zipObject(t.nodes(),n)},predecessorWeights:function(t){var n=r.map(t.nodes(),(function(n){var e={};return r.forEach(t.inEdges(n),(function(n){e[n.v]=(e[n.v]||0)+t.edge(n).weight})),e}));return r.zipObject(t.nodes(),n)},intersectRect:function(t,n){var e,r,i=t.x,o=t.y,s=n.x-i,a=n.y-o,u=t.width/2,c=t.height/2;if(!s&&!a)throw new Error("Not possible to find intersection inside of the rectangle");return Math.abs(a)*u>Math.abs(s)*c?(a<0&&(c=-c),e=c*s/a,r=c):(s<0&&(u=-u),e=u,r=u*a/s),{x:i+e,y:o+r}},buildLayerMatrix:function(t){var n=r.map(r.range(s(t)+1),(function(){return[]}));return r.forEach(t.nodes(),(function(e){var i=t.node(e),o=i.rank;r.isUndefined(o)||(n[o][i.order]=e)})),n},normalizeRanks:function(t){var n=r.min(r.map(t.nodes(),(function(n){return t.node(n).rank})));r.forEach(t.nodes(),(function(e){var i=t.node(e);r.has(i,"rank")&&(i.rank-=n)}))},removeEmptyRanks:function(t){var n=r.min(r.map(t.nodes(),(function(n){return t.node(n).rank}))),e=[];r.forEach(t.nodes(),(function(r){var i=t.node(r).rank-n;e[i]||(e[i]=[]),e[i].push(r)}));var i=0,o=t.graph().nodeRankFactor;r.forEach(e,(function(n,e){r.isUndefined(n)&&e%o!=0?--i:i&&r.forEach(n,(function(n){t.node(n).rank+=i}))}))},addBorderNode:function(t,n,e,r){var i={width:0,height:0};return arguments.length>=4&&(i.rank=e,i.order=r),o(t,"border",i,n)},maxRank:s,partition:function(t,n){var e={lhs:[],rhs:[]};return r.forEach(t,(function(t){n(t)?e.lhs.push(t):e.rhs.push(t)})),e},time:function(t,n){var e=r.now();try{return n()}finally{console.log(t+" time: "+(r.now()-e)+"ms")}},notime:function(t,n){return n()}}},94898:t=>{t.exports="0.8.5"},20201:t=>{var n=function(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32},e=-1;n.Diff=function(t,n){return[t,n]},n.prototype.diff_main=function(t,e,r,i){void 0===i&&(i=this.Diff_Timeout<=0?Number.MAX_VALUE:(new Date).getTime()+1e3*this.Diff_Timeout);var o=i;if(null==t||null==e)throw new Error("Null input. (diff_main)");if(t==e)return t?[new n.Diff(0,t)]:[];void 0===r&&(r=!0);var s=r,a=this.diff_commonPrefix(t,e),u=t.substring(0,a);t=t.substring(a),e=e.substring(a),a=this.diff_commonSuffix(t,e);var c=t.substring(t.length-a);t=t.substring(0,t.length-a),e=e.substring(0,e.length-a);var l=this.diff_compute_(t,e,s,o);return u&&l.unshift(new n.Diff(0,u)),c&&l.push(new n.Diff(0,c)),this.diff_cleanupMerge(l),l},n.prototype.diff_compute_=function(t,r,i,o){var s;if(!t)return[new n.Diff(1,r)];if(!r)return[new n.Diff(e,t)];var a=t.length>r.length?t:r,u=t.length>r.length?r:t,c=a.indexOf(u);if(-1!=c)return s=[new n.Diff(1,a.substring(0,c)),new n.Diff(0,u),new n.Diff(1,a.substring(c+u.length))],t.length>r.length&&(s[0][0]=s[2][0]=e),s;if(1==u.length)return[new n.Diff(e,t),new n.Diff(1,r)];var l=this.diff_halfMatch_(t,r);if(l){var h=l[0],f=l[1],d=l[2],p=l[3],_=l[4],m=this.diff_main(h,d,i,o),v=this.diff_main(f,p,i,o);return m.concat([new n.Diff(0,_)],v)}return i&&t.length>100&&r.length>100?this.diff_lineMode_(t,r,o):this.diff_bisect_(t,r,o)},n.prototype.diff_lineMode_=function(t,r,i){var o=this.diff_linesToChars_(t,r);t=o.chars1,r=o.chars2;var s=o.lineArray,a=this.diff_main(t,r,!1,i);this.diff_charsToLines_(a,s),this.diff_cleanupSemantic(a),a.push(new n.Diff(0,""));for(var u=0,c=0,l=0,h="",f="";u=1&&l>=1){a.splice(u-c-l,c+l),u=u-c-l;for(var d=this.diff_main(h,f,!1,i),p=d.length-1;p>=0;p--)a.splice(u,0,d[p]);u+=d.length}l=0,c=0,h="",f=""}u++}return a.pop(),a},n.prototype.diff_bisect_=function(t,r,i){for(var o=t.length,s=r.length,a=Math.ceil((o+s)/2),u=a,c=2*a,l=new Array(c),h=new Array(c),f=0;fi);b++){for(var w=-b+_;w<=b-m;w+=2){for(var y=u+w,x=(E=w==-b||w!=b&&l[y-1]o)m+=2;else if(x>s)_+=2;else if(p&&(A=u+d-w)>=0&&A=(S=o-h[A]))return this.diff_bisectSplit_(t,r,E,x,i)}for(var k=-b+v;k<=b-g;k+=2){for(var S,A=u+k,C=(S=k==-b||k!=b&&h[A-1]o)g+=2;else if(C>s)v+=2;else if(!p){var E;if((y=u+d-k)>=0&&y=(S=o-S))return this.diff_bisectSplit_(t,r,E,x,i)}}}return[new n.Diff(e,t),new n.Diff(1,r)]},n.prototype.diff_bisectSplit_=function(t,n,e,r,i){var o=t.substring(0,e),s=n.substring(0,r),a=t.substring(e),u=n.substring(r),c=this.diff_main(o,s,!1,i),l=this.diff_main(a,u,!1,i);return c.concat(l)},n.prototype.diff_linesToChars_=function(t,n){var e=[],r={};function i(t){for(var n="",i=0,s=-1,a=e.length;sr?t=t.substring(e-r):en.length?t:n,r=t.length>n.length?n:t;if(e.length<4||2*r.length=t.length?[r,o,s,a,l]:null}var s,a,u,c,l,h=o(e,r,Math.ceil(e.length/4)),f=o(e,r,Math.ceil(e.length/2));return h||f?(s=f?h&&h[4].length>f[4].length?h:f:h,t.length>n.length?(a=s[0],u=s[1],c=s[2],l=s[3]):(c=s[0],l=s[1],a=s[2],u=s[3]),[a,u,c,l,s[4]]):null},n.prototype.diff_cleanupSemantic=function(t){for(var r=!1,i=[],o=0,s=null,a=0,u=0,c=0,l=0,h=0;a0?i[o-1]:-1,u=0,c=0,l=0,h=0,s=null,r=!0)),a++;for(r&&this.diff_cleanupMerge(t),this.diff_cleanupSemanticLossless(t),a=1;a=_?(p>=f.length/2||p>=d.length/2)&&(t.splice(a,0,new n.Diff(0,d.substring(0,p))),t[a-1][1]=f.substring(0,f.length-p),t[a+1][1]=d.substring(p),a++):(_>=f.length/2||_>=d.length/2)&&(t.splice(a,0,new n.Diff(0,f.substring(0,_))),t[a-1][0]=1,t[a-1][1]=d.substring(0,d.length-_),t[a+1][0]=e,t[a+1][1]=f.substring(_),a++),a++}a++}},n.prototype.diff_cleanupSemanticLossless=function(t){function e(t,e){if(!t||!e)return 6;var r=t.charAt(t.length-1),i=e.charAt(0),o=r.match(n.nonAlphaNumericRegex_),s=i.match(n.nonAlphaNumericRegex_),a=o&&r.match(n.whitespaceRegex_),u=s&&i.match(n.whitespaceRegex_),c=a&&r.match(n.linebreakRegex_),l=u&&i.match(n.linebreakRegex_),h=c&&t.match(n.blanklineEndRegex_),f=l&&e.match(n.blanklineStartRegex_);return h||f?5:c||l?4:o&&!a&&u?3:a||u?2:o||s?1:0}for(var r=1;r=f&&(f=d,c=i,l=o,h=s)}t[r-1][1]!=c&&(c?t[r-1][1]=c:(t.splice(r-1,1),r--),t[r][1]=l,h?t[r+1][1]=h:(t.splice(r+1,1),r--))}r++}},n.nonAlphaNumericRegex_=/[^a-zA-Z0-9]/,n.whitespaceRegex_=/\s/,n.linebreakRegex_=/[\r\n]/,n.blanklineEndRegex_=/\n\r?\n$/,n.blanklineStartRegex_=/^\r?\n\r?\n/,n.prototype.diff_cleanupEfficiency=function(t){for(var r=!1,i=[],o=0,s=null,a=0,u=!1,c=!1,l=!1,h=!1;a0?i[o-1]:-1,l=h=!1),r=!0)),a++;r&&this.diff_cleanupMerge(t)},n.prototype.diff_cleanupMerge=function(t){t.push(new n.Diff(0,""));for(var r,i=0,o=0,s=0,a="",u="";i1?(0!==o&&0!==s&&(0!==(r=this.diff_commonPrefix(u,a))&&(i-o-s>0&&0==t[i-o-s-1][0]?t[i-o-s-1][1]+=u.substring(0,r):(t.splice(0,0,new n.Diff(0,u.substring(0,r))),i++),u=u.substring(r),a=a.substring(r)),0!==(r=this.diff_commonSuffix(u,a))&&(t[i][1]=u.substring(u.length-r)+t[i][1],u=u.substring(0,u.length-r),a=a.substring(0,a.length-r))),i-=o+s,t.splice(i,o+s),a.length&&(t.splice(i,0,new n.Diff(e,a)),i++),u.length&&(t.splice(i,0,new n.Diff(1,u)),i++),i++):0!==i&&0==t[i-1][0]?(t[i-1][1]+=t[i][1],t.splice(i,1)):i++,s=0,o=0,a="",u=""}""===t[t.length-1][1]&&t.pop();var c=!1;for(i=1;in));r++)s=i,a=o;return t.length!=r&&t[r][0]===e?a:a+(n-s)},n.prototype.diff_prettyHtml=function(t){for(var n=[],r=/&/g,i=//g,s=/\n/g,a=0;a");switch(u){case 1:n[a]=''+c+"";break;case e:n[a]=''+c+"";break;case 0:n[a]=""+c+""}}return n.join("")},n.prototype.diff_text1=function(t){for(var n=[],e=0;ethis.Match_MaxBits)throw new Error("Pattern too long for this browser.");var r=this.match_alphabet_(n),i=this;function o(t,r){var o=t/n.length,s=Math.abs(e-r);return i.Match_Distance?o+s/i.Match_Distance:s?1:o}var s=this.Match_Threshold,a=t.indexOf(n,e);-1!=a&&(s=Math.min(o(0,a),s),-1!=(a=t.lastIndexOf(n,e+n.length))&&(s=Math.min(o(0,a),s)));var u,c,l=1<=p;v--){var g=r[t.charAt(v-1)];if(m[v]=0===d?(m[v+1]<<1|1)&g:(m[v+1]<<1|1)&g|(h[v+1]|h[v])<<1|1|h[v+1],m[v]&l){var b=o(d,v-1);if(b<=s){if(s=b,!((a=v-1)>e))break;p=Math.max(1,2*e-a)}}}if(o(d+1,e)>s)break;h=m}return a},n.prototype.match_alphabet_=function(t){for(var n={},e=0;e2&&(this.diff_cleanupSemantic(s),this.diff_cleanupEfficiency(s));else if(t&&"object"==typeof t&&void 0===r&&void 0===i)s=t,o=this.diff_text1(s);else if("string"==typeof t&&r&&"object"==typeof r&&void 0===i)o=t,s=r;else{if("string"!=typeof t||"string"!=typeof r||!i||"object"!=typeof i)throw new Error("Unknown call format to patch_make.");o=t,s=i}if(0===s.length)return[];for(var a=[],u=new n.patch_obj,c=0,l=0,h=0,f=o,d=o,p=0;p=2*this.Patch_Margin&&c&&(this.patch_addContext_(u,f),a.push(u),u=new n.patch_obj,c=0,f=d,l=h)}1!==_&&(l+=m.length),_!==e&&(h+=m.length)}return c&&(this.patch_addContext_(u,f),a.push(u)),a},n.prototype.patch_deepCopy=function(t){for(var e=[],r=0;rthis.Match_MaxBits?-1!=(a=this.match_main(n,l.substring(0,this.Match_MaxBits),c))&&(-1==(h=this.match_main(n,l.substring(l.length-this.Match_MaxBits),c+l.length-this.Match_MaxBits))||a>=h)&&(a=-1):a=this.match_main(n,l,c),-1==a)o[s]=!1,i-=t[s].length2-t[s].length1;else if(o[s]=!0,i=a-c,l==(u=-1==h?n.substring(a,a+l.length):n.substring(a,h+this.Match_MaxBits)))n=n.substring(0,a)+this.diff_text2(t[s].diffs)+n.substring(a+l.length);else{var f=this.diff_main(l,u,!1);if(l.length>this.Match_MaxBits&&this.diff_levenshtein(f)/l.length>this.Patch_DeleteThreshold)o[s]=!1;else{this.diff_cleanupSemanticLossless(f);for(var d,p=0,_=0;_s[0][1].length){var a=e-s[0][1].length;s[0][1]=r.substring(s[0][1].length)+s[0][1],o.start1-=a,o.start2-=a,o.length1+=a,o.length2+=a}return 0==(s=(o=t[t.length-1]).diffs).length||0!=s[s.length-1][0]?(s.push(new n.Diff(0,r)),o.length1+=e,o.length2+=e):e>s[s.length-1][1].length&&(a=e-s[s.length-1][1].length,s[s.length-1][1]+=r.substring(0,a),o.length1+=a,o.length2+=a),r},n.prototype.patch_splitMax=function(t){for(var r=this.Match_MaxBits,i=0;i2*r?(c.length1+=f.length,s+=f.length,l=!1,c.diffs.push(new n.Diff(h,f)),o.diffs.shift()):(f=f.substring(0,r-c.length1-this.Patch_Margin),c.length1+=f.length,s+=f.length,0===h?(c.length2+=f.length,a+=f.length):l=!1,c.diffs.push(new n.Diff(h,f)),f==o.diffs[0][1]?o.diffs.shift():o.diffs[0][1]=o.diffs[0][1].substring(f.length))}u=(u=this.diff_text2(c.diffs)).substring(u.length-this.Patch_Margin);var d=this.diff_text1(o.diffs).substring(0,this.Patch_Margin);""!==d&&(c.length1+=d.length,c.length2+=d.length,0!==c.diffs.length&&0===c.diffs[c.diffs.length-1][0]?c.diffs[c.diffs.length-1][1]+=d:c.diffs.push(new n.Diff(0,d))),l||t.splice(++i,0,c)}}},n.prototype.patch_toText=function(t){for(var n=[],e=0;e{"use strict";t.exports=function t(n,e){if(n===e)return!0;if(n&&e&&"object"==typeof n&&"object"==typeof e){if(n.constructor!==e.constructor)return!1;var r,i,o;if(Array.isArray(n)){if((r=n.length)!=e.length)return!1;for(i=r;0!=i--;)if(!t(n[i],e[i]))return!1;return!0}if(n.constructor===RegExp)return n.source===e.source&&n.flags===e.flags;if(n.valueOf!==Object.prototype.valueOf)return n.valueOf()===e.valueOf();if(n.toString!==Object.prototype.toString)return n.toString()===e.toString();if((r=(o=Object.keys(n)).length)!==Object.keys(e).length)return!1;for(i=r;0!=i--;)if(!Object.prototype.hasOwnProperty.call(e,o[i]))return!1;for(i=r;0!=i--;){var s=o[i];if(!t(n[s],e[s]))return!1}return!0}return n!=n&&e!=e}},28033:(t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.deinterlace=void 0,n.deinterlace=function(t,n){for(var e=new Array(t.length),r=t.length/n,i=function(r,i){var o=t.slice(i*n,(i+1)*n);e.splice.apply(e,[r*n,n].concat(o))},o=[0,4,2,1],s=[8,8,4,2],a=0,u=0;u<4;u++)for(var c=o[u];c{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.decompressFrames=n.decompressFrame=n.parseGIF=void 0;var r,i=(r=e(1573))&&r.__esModule?r:{default:r},o=e(36052),s=e(84399),a=e(28033),u=e(33546);n.parseGIF=function(t){var n=new Uint8Array(t);return(0,o.parse)((0,s.buildStream)(n),i.default)};var c=function(t,n,e){if(t.image){var r=t.image,i=r.descriptor.width*r.descriptor.height,o=(0,u.lzw)(r.data.minCodeSize,r.data.blocks,i);r.descriptor.lct.interlaced&&(o=(0,a.deinterlace)(o,r.descriptor.width));var s={pixels:o,dims:{top:t.image.descriptor.top,left:t.image.descriptor.left,width:t.image.descriptor.width,height:t.image.descriptor.height}};return r.descriptor.lct&&r.descriptor.lct.exists?s.colorTable=r.lct:s.colorTable=n,t.gce&&(s.delay=10*(t.gce.delay||10),s.disposalType=t.gce.extras.disposal,t.gce.extras.transparentColorGiven&&(s.transparentIndex=t.gce.transparentColorIndex)),e&&(s.patch=function(t){for(var n=t.pixels.length,e=new Uint8ClampedArray(4*n),r=0;r{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.lzw=void 0,n.lzw=function(t,n,e){var r,i,o,s,a,u,c,l,h,f,d,p,_,m,v,g,b=4096,w=e,y=new Array(e),x=new Array(b),k=new Array(b),S=new Array(4097);for(a=1+(i=1<<(f=t)),r=i+2,c=-1,o=(1<<(s=f+1))-1,l=0;l>=s,p-=s,l>r||l==a)break;if(l==i){o=(1<<(s=f+1))-1,r=i+2,c=-1;continue}if(-1==c){S[m++]=k[l],c=l,_=l;continue}for(u=l,l==r&&(S[m++]=_,l=c);l>i;)S[m++]=k[l],l=x[l];_=255&k[l],S[m++]=_,r{var r=e(60490);t.exports={Graph:r.Graph,json:e(39346),alg:e(72535),version:r.version}},59487:(t,n,e)=>{var r=e(50937);t.exports=function(t){var n,e={},i=[];function o(i){r.has(e,i)||(e[i]=!0,n.push(i),r.each(t.successors(i),o),r.each(t.predecessors(i),o))}return r.each(t.nodes(),(function(t){n=[],o(t),n.length&&i.push(n)})),i}},16920:(t,n,e)=>{var r=e(50937);function i(t,n,e,o,s,a){r.has(o,n)||(o[n]=!0,e||a.push(n),r.each(s(n),(function(n){i(t,n,e,o,s,a)})),e&&a.push(n))}t.exports=function(t,n,e){r.isArray(n)||(n=[n]);var o=(t.isDirected()?t.successors:t.neighbors).bind(t),s=[],a={};return r.each(n,(function(n){if(!t.hasNode(n))throw new Error("Graph does not have node: "+n);i(t,n,"post"===e,a,o,s)})),s}},2195:(t,n,e)=>{var r=e(90925),i=e(50937);t.exports=function(t,n,e){return i.transform(t.nodes(),(function(i,o){i[o]=r(t,o,n,e)}),{})}},90925:(t,n,e)=>{var r=e(50937),i=e(32557);t.exports=function(t,n,e,r){return function(t,n,e,r){var o,s,a={},u=new i,c=function(t){var n=t.v!==o?t.v:t.w,r=a[n],i=e(t),c=s.distance+i;if(i<0)throw new Error("dijkstra does not allow negative edge weights. Bad edge: "+t+" Weight: "+i);c0&&(o=u.removeMin(),(s=a[o]).distance!==Number.POSITIVE_INFINITY);)r(o).forEach(c);return a}(t,String(n),e||o,r||function(n){return t.outEdges(n)})};var o=r.constant(1)},83890:(t,n,e)=>{var r=e(50937),i=e(79767);t.exports=function(t){return r.filter(i(t),(function(n){return n.length>1||1===n.length&&t.hasEdge(n[0],n[0])}))}},76522:(t,n,e)=>{var r=e(50937);t.exports=function(t,n,e){return function(t,n,e){var r={},i=t.nodes();return i.forEach((function(t){r[t]={},r[t][t]={distance:0},i.forEach((function(n){t!==n&&(r[t][n]={distance:Number.POSITIVE_INFINITY})})),e(t).forEach((function(e){var i=e.v===t?e.w:e.v,o=n(e);r[t][i]={distance:o,predecessor:t}}))})),i.forEach((function(t){var n=r[t];i.forEach((function(e){var o=r[e];i.forEach((function(e){var r=o[t],i=n[e],s=o[e],a=r.distance+i.distance;a{t.exports={components:e(59487),dijkstra:e(90925),dijkstraAll:e(2195),findCycles:e(83890),floydWarshall:e(76522),isAcyclic:e(99254),postorder:e(14025),preorder:e(12292),prim:e(1427),tarjan:e(79767),topsort:e(62236)}},99254:(t,n,e)=>{var r=e(62236);t.exports=function(t){try{r(t)}catch(t){if(t instanceof r.CycleException)return!1;throw t}return!0}},14025:(t,n,e)=>{var r=e(16920);t.exports=function(t,n){return r(t,n,"post")}},12292:(t,n,e)=>{var r=e(16920);t.exports=function(t,n){return r(t,n,"pre")}},1427:(t,n,e)=>{var r=e(50937),i=e(30834),o=e(32557);t.exports=function(t,n){var e,s=new i,a={},u=new o;function c(t){var r=t.v===e?t.w:t.v,i=u.priority(r);if(void 0!==i){var o=n(t);o0;){if(e=u.removeMin(),r.has(a,e))s.setEdge(e,a[e]);else{if(l)throw new Error("Input graph is not connected: "+t);l=!0}t.nodeEdges(e).forEach(c)}return s}},79767:(t,n,e)=>{var r=e(50937);t.exports=function(t){var n=0,e=[],i={},o=[];function s(a){var u=i[a]={onStack:!0,lowlink:n,index:n++};if(e.push(a),t.successors(a).forEach((function(t){r.has(i,t)?i[t].onStack&&(u.lowlink=Math.min(u.lowlink,i[t].index)):(s(t),u.lowlink=Math.min(u.lowlink,i[t].lowlink))})),u.lowlink===u.index){var c,l=[];do{c=e.pop(),i[c].onStack=!1,l.push(c)}while(a!==c);o.push(l)}}return t.nodes().forEach((function(t){r.has(i,t)||s(t)})),o}},62236:(t,n,e)=>{var r=e(50937);function i(t){var n={},e={},i=[];if(r.each(t.sinks(),(function s(a){if(r.has(e,a))throw new o;r.has(n,a)||(e[a]=!0,n[a]=!0,r.each(t.predecessors(a),s),delete e[a],i.push(a))})),r.size(n)!==t.nodeCount())throw new o;return i}function o(){}t.exports=i,i.CycleException=o,o.prototype=new Error},32557:(t,n,e)=>{var r=e(50937);function i(){this._arr=[],this._keyIndices={}}t.exports=i,i.prototype.size=function(){return this._arr.length},i.prototype.keys=function(){return this._arr.map((function(t){return t.key}))},i.prototype.has=function(t){return r.has(this._keyIndices,t)},i.prototype.priority=function(t){var n=this._keyIndices[t];if(void 0!==n)return this._arr[n].priority},i.prototype.min=function(){if(0===this.size())throw new Error("Queue underflow");return this._arr[0].key},i.prototype.add=function(t,n){var e=this._keyIndices;if(t=String(t),!r.has(e,t)){var i=this._arr,o=i.length;return e[t]=o,i.push({key:t,priority:n}),this._decrease(o),!0}return!1},i.prototype.removeMin=function(){this._swap(0,this._arr.length-1);var t=this._arr.pop();return delete this._keyIndices[t.key],this._heapify(0),t.key},i.prototype.decrease=function(t,n){var e=this._keyIndices[t];if(n>this._arr[e].priority)throw new Error("New priority is greater than current priority. Key: "+t+" Old: "+this._arr[e].priority+" New: "+n);this._arr[e].priority=n,this._decrease(e)},i.prototype._heapify=function(t){var n=this._arr,e=2*t,r=e+1,i=t;e>1].priority{"use strict";var r=e(50937);t.exports=a;var i="\0",o="\0",s="";function a(t){this._isDirected=!r.has(t,"directed")||t.directed,this._isMultigraph=!!r.has(t,"multigraph")&&t.multigraph,this._isCompound=!!r.has(t,"compound")&&t.compound,this._label=void 0,this._defaultNodeLabelFn=r.constant(void 0),this._defaultEdgeLabelFn=r.constant(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[o]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}function u(t,n){t[n]?t[n]++:t[n]=1}function c(t,n){--t[n]||delete t[n]}function l(t,n,e,o){var a=""+n,u=""+e;if(!t&&a>u){var c=a;a=u,u=c}return a+s+u+s+(r.isUndefined(o)?i:o)}function h(t,n){return l(t,n.v,n.w,n.name)}a.prototype._nodeCount=0,a.prototype._edgeCount=0,a.prototype.isDirected=function(){return this._isDirected},a.prototype.isMultigraph=function(){return this._isMultigraph},a.prototype.isCompound=function(){return this._isCompound},a.prototype.setGraph=function(t){return this._label=t,this},a.prototype.graph=function(){return this._label},a.prototype.setDefaultNodeLabel=function(t){return r.isFunction(t)||(t=r.constant(t)),this._defaultNodeLabelFn=t,this},a.prototype.nodeCount=function(){return this._nodeCount},a.prototype.nodes=function(){return r.keys(this._nodes)},a.prototype.sources=function(){var t=this;return r.filter(this.nodes(),(function(n){return r.isEmpty(t._in[n])}))},a.prototype.sinks=function(){var t=this;return r.filter(this.nodes(),(function(n){return r.isEmpty(t._out[n])}))},a.prototype.setNodes=function(t,n){var e=arguments,i=this;return r.each(t,(function(t){e.length>1?i.setNode(t,n):i.setNode(t)})),this},a.prototype.setNode=function(t,n){return r.has(this._nodes,t)?(arguments.length>1&&(this._nodes[t]=n),this):(this._nodes[t]=arguments.length>1?n:this._defaultNodeLabelFn(t),this._isCompound&&(this._parent[t]=o,this._children[t]={},this._children[o][t]=!0),this._in[t]={},this._preds[t]={},this._out[t]={},this._sucs[t]={},++this._nodeCount,this)},a.prototype.node=function(t){return this._nodes[t]},a.prototype.hasNode=function(t){return r.has(this._nodes,t)},a.prototype.removeNode=function(t){var n=this;if(r.has(this._nodes,t)){var e=function(t){n.removeEdge(n._edgeObjs[t])};delete this._nodes[t],this._isCompound&&(this._removeFromParentsChildList(t),delete this._parent[t],r.each(this.children(t),(function(t){n.setParent(t)})),delete this._children[t]),r.each(r.keys(this._in[t]),e),delete this._in[t],delete this._preds[t],r.each(r.keys(this._out[t]),e),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this},a.prototype.setParent=function(t,n){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(r.isUndefined(n))n=o;else{for(var e=n+="";!r.isUndefined(e);e=this.parent(e))if(e===t)throw new Error("Setting "+n+" as parent of "+t+" would create a cycle");this.setNode(n)}return this.setNode(t),this._removeFromParentsChildList(t),this._parent[t]=n,this._children[n][t]=!0,this},a.prototype._removeFromParentsChildList=function(t){delete this._children[this._parent[t]][t]},a.prototype.parent=function(t){if(this._isCompound){var n=this._parent[t];if(n!==o)return n}},a.prototype.children=function(t){if(r.isUndefined(t)&&(t=o),this._isCompound){var n=this._children[t];if(n)return r.keys(n)}else{if(t===o)return this.nodes();if(this.hasNode(t))return[]}},a.prototype.predecessors=function(t){var n=this._preds[t];if(n)return r.keys(n)},a.prototype.successors=function(t){var n=this._sucs[t];if(n)return r.keys(n)},a.prototype.neighbors=function(t){var n=this.predecessors(t);if(n)return r.union(n,this.successors(t))},a.prototype.isLeaf=function(t){return 0===(this.isDirected()?this.successors(t):this.neighbors(t)).length},a.prototype.filterNodes=function(t){var n=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});n.setGraph(this.graph());var e=this;r.each(this._nodes,(function(e,r){t(r)&&n.setNode(r,e)})),r.each(this._edgeObjs,(function(t){n.hasNode(t.v)&&n.hasNode(t.w)&&n.setEdge(t,e.edge(t))}));var i={};function o(t){var r=e.parent(t);return void 0===r||n.hasNode(r)?(i[t]=r,r):r in i?i[r]:o(r)}return this._isCompound&&r.each(n.nodes(),(function(t){n.setParent(t,o(t))})),n},a.prototype.setDefaultEdgeLabel=function(t){return r.isFunction(t)||(t=r.constant(t)),this._defaultEdgeLabelFn=t,this},a.prototype.edgeCount=function(){return this._edgeCount},a.prototype.edges=function(){return r.values(this._edgeObjs)},a.prototype.setPath=function(t,n){var e=this,i=arguments;return r.reduce(t,(function(t,r){return i.length>1?e.setEdge(t,r,n):e.setEdge(t,r),r})),this},a.prototype.setEdge=function(){var t,n,e,i,o=!1,s=arguments[0];"object"==typeof s&&null!==s&&"v"in s?(t=s.v,n=s.w,e=s.name,2===arguments.length&&(i=arguments[1],o=!0)):(t=s,n=arguments[1],e=arguments[3],arguments.length>2&&(i=arguments[2],o=!0)),t=""+t,n=""+n,r.isUndefined(e)||(e=""+e);var a=l(this._isDirected,t,n,e);if(r.has(this._edgeLabels,a))return o&&(this._edgeLabels[a]=i),this;if(!r.isUndefined(e)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(n),this._edgeLabels[a]=o?i:this._defaultEdgeLabelFn(t,n,e);var c=function(t,n,e,r){var i=""+n,o=""+e;if(!t&&i>o){var s=i;i=o,o=s}var a={v:i,w:o};return r&&(a.name=r),a}(this._isDirected,t,n,e);return t=c.v,n=c.w,Object.freeze(c),this._edgeObjs[a]=c,u(this._preds[n],t),u(this._sucs[t],n),this._in[n][a]=c,this._out[t][a]=c,this._edgeCount++,this},a.prototype.edge=function(t,n,e){var r=1===arguments.length?h(this._isDirected,arguments[0]):l(this._isDirected,t,n,e);return this._edgeLabels[r]},a.prototype.hasEdge=function(t,n,e){var i=1===arguments.length?h(this._isDirected,arguments[0]):l(this._isDirected,t,n,e);return r.has(this._edgeLabels,i)},a.prototype.removeEdge=function(t,n,e){var r=1===arguments.length?h(this._isDirected,arguments[0]):l(this._isDirected,t,n,e),i=this._edgeObjs[r];return i&&(t=i.v,n=i.w,delete this._edgeLabels[r],delete this._edgeObjs[r],c(this._preds[n],t),c(this._sucs[t],n),delete this._in[n][r],delete this._out[t][r],this._edgeCount--),this},a.prototype.inEdges=function(t,n){var e=this._in[t];if(e){var i=r.values(e);return n?r.filter(i,(function(t){return t.v===n})):i}},a.prototype.outEdges=function(t,n){var e=this._out[t];if(e){var i=r.values(e);return n?r.filter(i,(function(t){return t.w===n})):i}},a.prototype.nodeEdges=function(t,n){var e=this.inEdges(t,n);if(e)return e.concat(this.outEdges(t,n))}},60490:(t,n,e)=>{t.exports={Graph:e(30834),version:e(39934)}},39346:(t,n,e)=>{var r=e(50937),i=e(30834);function o(t){return r.map(t.nodes(),(function(n){var e=t.node(n),i=t.parent(n),o={v:n};return r.isUndefined(e)||(o.value=e),r.isUndefined(i)||(o.parent=i),o}))}function s(t){return r.map(t.edges(),(function(n){var e=t.edge(n),i={v:n.v,w:n.w};return r.isUndefined(n.name)||(i.name=n.name),r.isUndefined(e)||(i.value=e),i}))}t.exports={write:function(t){var n={options:{directed:t.isDirected(),multigraph:t.isMultigraph(),compound:t.isCompound()},nodes:o(t),edges:s(t)};return r.isUndefined(t.graph())||(n.value=r.clone(t.graph())),n},read:function(t){var n=new i(t.options).setGraph(t.value);return r.each(t.nodes,(function(t){n.setNode(t.v,t.value),t.parent&&n.setParent(t.v,t.parent)})),r.each(t.edges,(function(t){n.setEdge({v:t.v,w:t.w,name:t.name},t.value)})),n}}},50937:(t,n,e)=>{var r;try{r={clone:e(47409),constant:e(54642),each:e(37923),filter:e(9344),has:e(26967),isArray:e(54509),isEmpty:e(91317),isFunction:e(94174),isUndefined:e(41204),keys:e(24026),map:e(28246),reduce:e(62544),size:e(50383),transform:e(64860),union:e(47399),values:e(54396)}}catch(t){}r||(r=window._),t.exports=r},39934:t=>{t.exports="2.1.8"},806:(t,n,e)=>{"use strict";var r=e(19487),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function u(t){return r.isMemo(t)?s:a[t.$$typeof]||i}a[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[r.Memo]=s;var c=Object.defineProperty,l=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,p=Object.prototype;t.exports=function t(n,e,r){if("string"!=typeof e){if(p){var i=d(e);i&&i!==p&&t(n,i,r)}var s=l(e);h&&(s=s.concat(h(e)));for(var a=u(n),_=u(e),m=0;m{"use strict";e.r(n),e.d(n,{default:()=>a});var r=/[A-Z]/g,i=/^ms-/,o={};function s(t){return"-"+t.toLowerCase()}const a=function(t){if(o.hasOwnProperty(t))return o[t];var n=t.replace(r,s);return o[t]=i.test(n)?"-"+n:n}},48050:(t,n)=>{"use strict";function e(t){return"object"!=typeof t||"toString"in t?t:Object.prototype.toString.call(t).slice(8,-1)}Object.defineProperty(n,"__esModule",{value:!0});var r="object"==typeof process&&!0;function i(t,n){if(!t){if(r)throw new Error("Invariant failed");throw new Error(n())}}n.invariant=i;var o=Object.prototype.hasOwnProperty,s=Array.prototype.splice,a=Object.prototype.toString;function u(t){return a.call(t).slice(8,-1)}var c=Object.assign||function(t,n){return l(n).forEach((function(e){o.call(n,e)&&(t[e]=n[e])})),t},l="function"==typeof Object.getOwnPropertySymbols?function(t){return Object.keys(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.keys(t)};function h(t){return Array.isArray(t)?c(t.constructor(t.length),t):"Map"===u(t)?new Map(t):"Set"===u(t)?new Set(t):t&&"object"==typeof t?c(Object.create(Object.getPrototypeOf(t)),t):t}var f=function(){function t(){this.commands=c({},d),this.update=this.update.bind(this),this.update.extend=this.extend=this.extend.bind(this),this.update.isEquals=function(t,n){return t===n},this.update.newContext=function(){return(new t).update}}return Object.defineProperty(t.prototype,"isEquals",{get:function(){return this.update.isEquals},set:function(t){this.update.isEquals=t},enumerable:!0,configurable:!0}),t.prototype.extend=function(t,n){this.commands[t]=n},t.prototype.update=function(t,n){var e=this,r="function"==typeof n?{$apply:n}:n;Array.isArray(t)&&Array.isArray(r)||i(!Array.isArray(r),(function(){return"update(): You provided an invalid spec to update(). The spec may not contain an array except as the value of $set, $push, $unshift, $splice or any custom command allowing an array value."})),i("object"==typeof r&&null!==r,(function(){return"update(): You provided an invalid spec to update(). The spec and every included key path must be plain objects containing one of the following commands: "+Object.keys(e.commands).join(", ")+"."}));var s=t;return l(r).forEach((function(n){if(o.call(e.commands,n)){var i=t===s;s=e.commands[n](r[n],s,r,t),i&&e.isEquals(s,t)&&(s=t)}else{var a="Map"===u(t)?e.update(t.get(n),r[n]):e.update(t[n],r[n]),c="Map"===u(s)?s.get(n):s[n];e.isEquals(a,c)&&(void 0!==a||o.call(t,n))||(s===t&&(s=h(t)),"Map"===u(s)?s.set(n,a):s[n]=a)}})),s},t}();n.Context=f;var d={$push:function(t,n,e){return _(n,e,"$push"),t.length?n.concat(t):n},$unshift:function(t,n,e){return _(n,e,"$unshift"),t.length?t.concat(n):n},$splice:function(t,n,r,o){return function(t,n){i(Array.isArray(t),(function(){return"Expected $splice target to be an array; got "+e(t)})),v(n.$splice)}(n,r),t.forEach((function(t){v(t),n===o&&t.length&&(n=h(o)),s.apply(n,t)})),n},$set:function(t,n,e){return function(t){i(1===Object.keys(t).length,(function(){return"Cannot have more than one key in an object with $set"}))}(e),t},$toggle:function(t,n){m(t,"$toggle");var e=t.length?h(n):n;return t.forEach((function(t){e[t]=!n[t]})),e},$unset:function(t,n,e,r){return m(t,"$unset"),t.forEach((function(t){Object.hasOwnProperty.call(n,t)&&(n===r&&(n=h(r)),delete n[t])})),n},$add:function(t,n,e,r){return g(n,"$add"),m(t,"$add"),"Map"===u(n)?t.forEach((function(t){var e=t[0],i=t[1];n===r&&n.get(e)!==i&&(n=h(r)),n.set(e,i)})):t.forEach((function(t){n!==r||n.has(t)||(n=h(r)),n.add(t)})),n},$remove:function(t,n,e,r){return g(n,"$remove"),m(t,"$remove"),t.forEach((function(t){n===r&&n.has(t)&&(n=h(r)),n.delete(t)})),n},$merge:function(t,n,r,o){var s,a;return s=n,i((a=t)&&"object"==typeof a,(function(){return"update(): $merge expects a spec of type 'object'; got "+e(a)})),i(s&&"object"==typeof s,(function(){return"update(): $merge expects a target of type 'object'; got "+e(s)})),l(t).forEach((function(e){t[e]!==n[e]&&(n===o&&(n=h(o)),n[e]=t[e])})),n},$apply:function(t,n){var r;return i("function"==typeof(r=t),(function(){return"update(): expected spec of $apply to be a function; got "+e(r)+"."})),t(n)}},p=new f;function _(t,n,r){i(Array.isArray(t),(function(){return"update(): expected target of "+e(r)+" to be an array; got "+e(t)+"."})),m(n[r],r)}function m(t,n){i(Array.isArray(t),(function(){return"update(): expected spec of "+e(n)+" to be an array; got "+e(t)+". Did you forget to wrap your parameter in an array?"}))}function v(t){i(Array.isArray(t),(function(){return"update(): expected spec of $splice to be an array of arrays; got "+e(t)+". Did you forget to wrap your parameters in an array?"}))}function g(t,n){var r=u(t);i("Map"===r||"Set"===r,(function(){return"update(): "+e(n)+" expects a target of type Set or Map; got "+e(r)}))}n.isEquals=p.update.isEquals,n.extend=p.extend,n.default=p.update,n.default.default=t.exports=c(n.default,n)},77249:(t,n,e)=>{"use strict";function r(t){return t.charAt(0).toUpperCase()+t.slice(1)}function i(t,n,e){var i=t[n];if(i&&e.hasOwnProperty(n))for(var o=r(n),s=0;s0&&(r[s]=l)}else{var d=o(e,s,c,r,n);d&&(r[s]=d),r=i(n,s,r)}}return r}}e.r(n),e.d(n,{createPrefixer:()=>c,prefix:()=>G});var l=e(60273),h=e(51207),f=e(51400),d=e(31509),p=e(96480),_=["Webkit"],m=["ms"],v=["Webkit","ms"];const g={plugins:[l.A,h.A,f.A,d.A,p.A],prefixMap:{appearance:["Webkit","Moz","ms"],textEmphasisPosition:v,textEmphasis:v,textEmphasisStyle:v,textEmphasisColor:v,boxDecorationBreak:v,maskImage:v,maskMode:v,maskRepeat:v,maskPosition:v,maskClip:v,maskOrigin:v,maskSize:v,maskComposite:v,mask:v,maskBorderSource:v,maskBorderMode:v,maskBorderSlice:v,maskBorderWidth:v,maskBorderOutset:v,maskBorderRepeat:v,maskBorder:v,maskType:v,userSelect:v,backdropFilter:_,clipPath:_,hyphens:v,textOrientation:_,tabSize:["Moz"],wrapFlow:m,wrapThrough:m,wrapMargin:m,scrollSnapType:m,scrollSnapPointsX:m,scrollSnapPointsY:m,scrollSnapDestination:m,scrollSnapCoordinate:m,textSizeAdjust:["ms","Webkit"],flowInto:m,flowFrom:m,breakBefore:m,breakAfter:m,breakInside:m,regionFragment:m,fontKerning:_,textDecorationStyle:_,textDecorationSkip:_,textDecorationLine:_,textDecorationColor:_}};var b=["-webkit-","-moz-",""],w={"zoom-in":!0,"zoom-out":!0,grab:!0,grabbing:!0},y=e(17323),x=/cross-fade\(/g,k=["-webkit-",""],S=/filter\(/g,A=["-webkit-",""],C={flex:["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex","flex"],"inline-flex":["-webkit-inline-box","-moz-inline-box","-ms-inline-flexbox","-webkit-inline-flex","inline-flex"]},E={"space-around":"justify","space-between":"justify","flex-start":"start","flex-end":"end","wrap-reverse":"multiple",wrap:"multiple"},M={alignItems:"WebkitBoxAlign",justifyContent:"WebkitBoxPack",flexWrap:"WebkitBoxLines",flexGrow:"WebkitBoxFlex"},$=e(19074),z=["-webkit-","-moz-",""],T=/linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient/gi,O=function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,n){var e=[],r=!0,i=!1,o=void 0;try{for(var s,a=t[Symbol.iterator]();!(r=(s=a.next()).done)&&(e.push(s.value),!n||e.length!==n);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&a.return&&a.return()}finally{if(i)throw o}}return e}(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")};function j(t){return"number"==typeof t&&!isNaN(t)}function R(t){return"string"==typeof t&&t.includes("/")}var L=["center","end","start","stretch"],D={"inline-grid":["-ms-inline-grid","inline-grid"],grid:["-ms-grid","grid"]},P={alignSelf:function(t,n){L.indexOf(t)>-1&&(n.msGridRowAlign=t)},gridColumn:function(t,n){if(j(t))n.msGridColumn=t;else if(R(t)){var e=t.split("/"),r=O(e,2),i=r[0],o=r[1];P.gridColumnStart(+i,n);var s=o.split(/ ?span /),a=O(s,2),u=a[0],c=a[1];""===u?P.gridColumnEnd(+i+ +c,n):P.gridColumnEnd(+o,n)}else P.gridColumnStart(t,n)},gridColumnEnd:function(t,n){var e=n.msGridColumn;j(t)&&j(e)&&(n.msGridColumnSpan=t-e)},gridColumnStart:function(t,n){j(t)&&(n.msGridColumn=t)},gridRow:function(t,n){if(j(t))n.msGridRow=t;else if(R(t)){var e=t.split("/"),r=O(e,2),i=r[0],o=r[1];P.gridRowStart(+i,n);var s=o.split(/ ?span /),a=O(s,2),u=a[0],c=a[1];""===u?P.gridRowEnd(+i+ +c,n):P.gridRowEnd(+o,n)}else P.gridRowStart(t,n)},gridRowEnd:function(t,n){var e=n.msGridRow;j(t)&&j(e)&&(n.msGridRowSpan=t-e)},gridRowStart:function(t,n){j(t)&&(n.msGridRow=t)},gridTemplateColumns:function(t,n){n.msGridColumns=t},gridTemplateRows:function(t,n){n.msGridRows=t},justifySelf:function(t,n){L.indexOf(t)>-1&&(n.msGridColumnAlign=t)}},I=["-webkit-",""],q={marginBlockStart:["WebkitMarginBefore"],marginBlockEnd:["WebkitMarginAfter"],marginInlineStart:["WebkitMarginStart","MozMarginStart"],marginInlineEnd:["WebkitMarginEnd","MozMarginEnd"],paddingBlockStart:["WebkitPaddingBefore"],paddingBlockEnd:["WebkitPaddingAfter"],paddingInlineStart:["WebkitPaddingStart","MozPaddingStart"],paddingInlineEnd:["WebkitPaddingEnd","MozPaddingEnd"],borderBlockStart:["WebkitBorderBefore"],borderBlockStartColor:["WebkitBorderBeforeColor"],borderBlockStartStyle:["WebkitBorderBeforeStyle"],borderBlockStartWidth:["WebkitBorderBeforeWidth"],borderBlockEnd:["WebkitBorderAfter"],borderBlockEndColor:["WebkitBorderAfterColor"],borderBlockEndStyle:["WebkitBorderAfterStyle"],borderBlockEndWidth:["WebkitBorderAfterWidth"],borderInlineStart:["WebkitBorderStart","MozBorderStart"],borderInlineStartColor:["WebkitBorderStartColor","MozBorderStartColor"],borderInlineStartStyle:["WebkitBorderStartStyle","MozBorderStartStyle"],borderInlineStartWidth:["WebkitBorderStartWidth","MozBorderStartWidth"],borderInlineEnd:["WebkitBorderEnd","MozBorderEnd"],borderInlineEndColor:["WebkitBorderEndColor","MozBorderEndColor"],borderInlineEndStyle:["WebkitBorderEndStyle","MozBorderEndStyle"],borderInlineEndWidth:["WebkitBorderEndWidth","MozBorderEndWidth"]},N=["-webkit-","-moz-",""],F={maxHeight:!0,maxWidth:!0,width:!0,height:!0,columnWidth:!0,minWidth:!0,minHeight:!0},B={"min-content":!0,"max-content":!0,"fill-available":!0,"fit-content":!0,"contain-floats":!0},U=e(58309),H={transition:!0,transitionProperty:!0,WebkitTransition:!0,WebkitTransitionProperty:!0,MozTransition:!0,MozTransitionProperty:!0},V={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-"},W=[function(t,n){if("string"==typeof n&&!(0,y.A)(n)&&-1!==n.indexOf("cross-fade("))return k.map((function(t){return n.replace(x,t+"cross-fade(")}))},function(t,n){if("cursor"===t&&w.hasOwnProperty(n))return b.map((function(t){return t+n}))},function(t,n){if("string"==typeof n&&!(0,y.A)(n)&&-1!==n.indexOf("filter("))return A.map((function(t){return n.replace(S,t+"filter(")}))},function(t,n,e){"flexDirection"===t&&"string"==typeof n&&(n.indexOf("column")>-1?e.WebkitBoxOrient="vertical":e.WebkitBoxOrient="horizontal",n.indexOf("reverse")>-1?e.WebkitBoxDirection="reverse":e.WebkitBoxDirection="normal"),M.hasOwnProperty(t)&&(e[M[t]]=E[n]||n)},function(t,n){if("string"==typeof n&&!(0,$.default)(n)&&T.test(n))return z.map((function(t){return n.replace(T,(function(n){return t+n}))}))},function(t,n,e){if("display"===t&&n in D)return D[n];t in P&&(0,P[t])(n,e)},function(t,n){if("string"==typeof n&&!(0,$.default)(n)&&n.indexOf("image-set(")>-1)return I.map((function(t){return n.replace(/image-set\(/g,t+"image-set(")}))},function(t,n,e){if(Object.prototype.hasOwnProperty.call(q,t))for(var r=q[t],i=0,o=r.length;i-1&&"order"!==u)for(var c=n[a],l=0,h=c.length;l-1)return s;var a=o.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter((function(t){return!/-webkit-|-ms-/.test(t)})).join(",");return t.indexOf("Moz")>-1?a:(e["Webkit"+r(t)]=s,e["Moz"+r(t)]=a,o)}},function(t,n){if("display"===t&&C.hasOwnProperty(n))return C[n]}],G=c({prefixMap:g.prefixMap,plugins:W})},60273:(t,n,e)=>{"use strict";n.A=function(t,n){if("string"==typeof n&&!(0,r.isPrefixedValue)(n)&&-1!==n.indexOf("cross-fade("))return o.map((function(t){return n.replace(i,t+"cross-fade(")}))};var r=e(60824),i=/cross-fade\(/g,o=["-webkit-",""]},51207:(t,n,e)=>{"use strict";n.A=function(t,n){if("string"==typeof n&&!(0,i.default)(n)&&s.test(n))return o.map((function(t){return n.replace(s,(function(n){return t+n}))}))};var r,i=(r=e(19074))&&r.__esModule?r:{default:r},o=["-webkit-","-moz-",""],s=/linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient/gi},51400:(t,n,e)=>{"use strict";n.A=function(t,n){if("string"==typeof n&&!(0,i.default)(n)&&n.indexOf("image-set(")>-1)return o.map((function(t){return n.replace(/image-set\(/g,t+"image-set(")}))};var r,i=(r=e(19074))&&r.__esModule?r:{default:r},o=["-webkit-",""]},31509:(t,n)=>{"use strict";n.A=function(t,n){if(r.hasOwnProperty(t)&&i.hasOwnProperty(n))return e.map((function(t){return t+n}))};var e=["-webkit-","-moz-",""],r={maxHeight:!0,maxWidth:!0,width:!0,height:!0,columnWidth:!0,minWidth:!0,minHeight:!0},i={"min-content":!0,"max-content":!0,"fill-available":!0,"fit-content":!0,"contain-floats":!0}},96480:(t,n,e)=>{"use strict";n.A=function(t,n,e,s){if("string"==typeof n&&a.hasOwnProperty(t)){var c=function(t,n){if((0,i.default)(t))return t;for(var e=t.split(/,(?![^()]*(?:\([^()]*\))?\))/g),o=0,s=e.length;o-1&&"order"!==h)for(var f=n[l],d=0,p=f.length;d-1)return l;var h=c.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter((function(t){return!/-webkit-|-ms-/.test(t)})).join(",");return t.indexOf("Moz")>-1?h:(e["Webkit"+(0,o.default)(t)]=l,e["Moz"+(0,o.default)(t)]=h,c)}};var r=s(e(58309)),i=s(e(19074)),o=s(e(43319));function s(t){return t&&t.__esModule?t:{default:t}}var a={transition:!0,transitionProperty:!0,WebkitTransition:!0,WebkitTransitionProperty:!0,MozTransition:!0,MozTransitionProperty:!0},u={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-"}},43319:(t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(t){return t.charAt(0).toUpperCase()+t.slice(1)}},36052:(t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.loop=n.conditional=n.parse=void 0,n.parse=function t(n,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:r;if(Array.isArray(e))e.forEach((function(e){return t(n,e,r,i)}));else if("function"==typeof e)e(n,r,i,t);else{var o=Object.keys(e)[0];Array.isArray(e[o])?(i[o]={},t(n,e[o],r,i[o])):i[o]=e[o](n,r,i,t)}return r},n.conditional=function(t,n){return function(e,r,i,o){n(e,r,i)&&o(e,t,r,i)}},n.loop=function(t,n){return function(e,r,i,o){for(var s=[],a=e.pos;n(e,r,i);){var u={};if(o(e,t,r,u),e.pos===a)break;a=e.pos,s.push(u)}return s}}},84399:(t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.readBits=n.readArray=n.readUnsigned=n.readString=n.peekBytes=n.readBytes=n.peekByte=n.readByte=n.buildStream=void 0,n.buildStream=function(t){return{data:t,pos:0}};n.readByte=function(){return function(t){return t.data[t.pos++]}},n.peekByte=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return function(n){return n.data[n.pos+t]}};var e=function(t){return function(n){return n.data.subarray(n.pos,n.pos+=t)}};n.readBytes=e,n.peekBytes=function(t){return function(n){return n.data.subarray(n.pos,n.pos+t)}},n.readString=function(t){return function(n){return Array.from(e(t)(n)).map((function(t){return String.fromCharCode(t)})).join("")}},n.readUnsigned=function(t){return function(n){var r=e(2)(n);return t?(r[1]<<8)+r[0]:(r[0]<<8)+r[1]}},n.readArray=function(t,n){return function(r,i,o){for(var s="function"==typeof n?n(r,i,o):n,a=e(t),u=new Array(s),c=0;c{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=e(36052),i=e(84399),o={blocks:function(t){for(var n=[],e=t.data.length,r=0,o=(0,i.readByte)()(t);0!==o&&o;o=(0,i.readByte)()(t)){if(t.pos+o>=e){var s=e-t.pos;n.push((0,i.readBytes)(s)(t)),r+=s;break}n.push((0,i.readBytes)(o)(t)),r+=o}for(var a=new Uint8Array(r),u=0,c=0;c{"use strict";function r(t){return Array.prototype.slice.call(arguments,1).forEach((function(n){n&&Object.keys(n).forEach((function(e){t[e]=n[e]}))})),t}function i(t){return Object.prototype.toString.call(t)}function o(t){return"[object Function]"===i(t)}function s(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var a={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},u={"http:":{validate:function(t,n,e){var r=t.slice(n);return e.re.http||(e.re.http=new RegExp("^\\/\\/"+e.re.src_auth+e.re.src_host_port_strict+e.re.src_path,"i")),e.re.http.test(r)?r.match(e.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,n,e){var r=t.slice(n);return e.re.no_http||(e.re.no_http=new RegExp("^"+e.re.src_auth+"(?:localhost|(?:(?:"+e.re.src_domain+")\\.)+"+e.re.src_domain_root+")"+e.re.src_port+e.re.src_host_terminator+e.re.src_path,"i")),e.re.no_http.test(r)?n>=3&&":"===t[n-3]||n>=3&&"/"===t[n-3]?0:r.match(e.re.no_http)[0].length:0}},"mailto:":{validate:function(t,n,e){var r=t.slice(n);return e.re.mailto||(e.re.mailto=new RegExp("^"+e.re.src_email_name+"@"+e.re.src_host_strict,"i")),e.re.mailto.test(r)?r.match(e.re.mailto)[0].length:0}}},c="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",l="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function h(t){var n=t.re=e(49640)(t.__opts__),r=t.__tlds__.slice();function a(t){return t.replace("%TLDS%",n.src_tlds)}t.onCompile(),t.__tlds_replaced__||r.push(c),r.push(n.src_xn),n.src_tlds=r.join("|"),n.email_fuzzy=RegExp(a(n.tpl_email_fuzzy),"i"),n.link_fuzzy=RegExp(a(n.tpl_link_fuzzy),"i"),n.link_no_ip_fuzzy=RegExp(a(n.tpl_link_no_ip_fuzzy),"i"),n.host_fuzzy_test=RegExp(a(n.tpl_host_fuzzy_test),"i");var u=[];function l(t,n){throw new Error('(LinkifyIt) Invalid schema "'+t+'": '+n)}t.__compiled__={},Object.keys(t.__schemas__).forEach((function(n){var e=t.__schemas__[n];if(null!==e){var r={validate:null,link:null};if(t.__compiled__[n]=r,"[object Object]"===i(e))return"[object RegExp]"!==i(e.validate)?o(e.validate)?r.validate=e.validate:l(n,e):r.validate=function(t){return function(n,e){var r=n.slice(e);return t.test(r)?r.match(t)[0].length:0}}(e.validate),void(o(e.normalize)?r.normalize=e.normalize:e.normalize?l(n,e):r.normalize=function(t,n){n.normalize(t)});!function(t){return"[object String]"===i(t)}(e)?l(n,e):u.push(n)}})),u.forEach((function(n){t.__compiled__[t.__schemas__[n]]&&(t.__compiled__[n].validate=t.__compiled__[t.__schemas__[n]].validate,t.__compiled__[n].normalize=t.__compiled__[t.__schemas__[n]].normalize)})),t.__compiled__[""]={validate:null,normalize:function(t,n){n.normalize(t)}};var h=Object.keys(t.__compiled__).filter((function(n){return n.length>0&&t.__compiled__[n]})).map(s).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+n.src_ZPCc+"))("+h+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+n.src_ZPCc+"))("+h+")","ig"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),function(t){t.__index__=-1,t.__text_cache__=""}(t)}function f(t,n){var e=t.__index__,r=t.__last_index__,i=t.__text_cache__.slice(e,r);this.schema=t.__schema__.toLowerCase(),this.index=e+n,this.lastIndex=r+n,this.raw=i,this.text=i,this.url=i}function d(t,n){var e=new f(t,n);return t.__compiled__[e.schema].normalize(e,t),e}function p(t,n){if(!(this instanceof p))return new p(t,n);var e;n||(e=t,Object.keys(e||{}).reduce((function(t,n){return t||a.hasOwnProperty(n)}),!1)&&(n=t,t={})),this.__opts__=r({},a,n),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},u,t),this.__compiled__={},this.__tlds__=l,this.__tlds_replaced__=!1,this.re={},h(this)}p.prototype.add=function(t,n){return this.__schemas__[t]=n,h(this),this},p.prototype.set=function(t){return this.__opts__=r(this.__opts__,t),this},p.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;var n,e,r,i,o,s,a,u;if(this.re.schema_test.test(t))for((a=this.re.schema_search).lastIndex=0;null!==(n=a.exec(t));)if(i=this.testSchemaAt(t,n[2],a.lastIndex)){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+i;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(u=t.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||u=0&&null!==(r=t.match(this.re.email_fuzzy))&&(o=r.index+r[1].length,s=r.index+r[0].length,(this.__index__<0||othis.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=s)),this.__index__>=0},p.prototype.pretest=function(t){return this.re.pretest.test(t)},p.prototype.testSchemaAt=function(t,n,e){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(t,e,this):0},p.prototype.match=function(t){var n=0,e=[];this.__index__>=0&&this.__text_cache__===t&&(e.push(d(this,n)),n=this.__last_index__);for(var r=n?t.slice(n):t;this.test(r);)e.push(d(this,n)),r=r.slice(this.__last_index__),n+=this.__last_index__;return e.length?e:null},p.prototype.tlds=function(t,n){return t=Array.isArray(t)?t:[t],n?(this.__tlds__=this.__tlds__.concat(t).sort().filter((function(t,n,e){return t!==e[n-1]})).reverse(),h(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,h(this),this)},p.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),"mailto:"!==t.schema||/^mailto:/i.test(t.url)||(t.url="mailto:"+t.url)},p.prototype.onCompile=function(){},t.exports=p},49640:(t,n,e)=>{"use strict";t.exports=function(t){var n={};n.src_Any=e(34071).source,n.src_Cc=e(59732).source,n.src_Z=e(48870).source,n.src_P=e(53384).source,n.src_ZPCc=[n.src_Z,n.src_P,n.src_Cc].join("|"),n.src_ZCc=[n.src_Z,n.src_Cc].join("|");return n.src_pseudo_letter="(?:(?![><|]|"+n.src_ZPCc+")"+n.src_Any+")",n.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",n.src_auth="(?:(?:(?!"+n.src_ZCc+"|[@/\\[\\]()]).)+@)?",n.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",n.src_host_terminator="(?=$|[><|]|"+n.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+n.src_ZPCc+"))",n.src_path="(?:[/?#](?:(?!"+n.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+n.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+n.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+n.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+n.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+n.src_ZCc+"|[']).)+\\'|\\'(?="+n.src_pseudo_letter+"|[-]).|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+n.src_ZCc+"|[.]).|"+(t&&t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+n.src_ZCc+").|;(?!"+n.src_ZCc+").|\\!+(?!"+n.src_ZCc+"|[!]).|\\?(?!"+n.src_ZCc+"|[?]).)+|\\/)?",n.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',n.src_xn="xn--[a-z0-9\\-]{1,59}",n.src_domain_root="(?:"+n.src_xn+"|"+n.src_pseudo_letter+"{1,63})",n.src_domain="(?:"+n.src_xn+"|(?:"+n.src_pseudo_letter+")|(?:"+n.src_pseudo_letter+"(?:-|"+n.src_pseudo_letter+"){0,61}"+n.src_pseudo_letter+"))",n.src_host="(?:(?:(?:(?:"+n.src_domain+")\\.)*"+n.src_domain+"))",n.tpl_host_fuzzy="(?:"+n.src_ip4+"|(?:(?:(?:"+n.src_domain+")\\.)+(?:%TLDS%)))",n.tpl_host_no_ip_fuzzy="(?:(?:(?:"+n.src_domain+")\\.)+(?:%TLDS%))",n.src_host_strict=n.src_host+n.src_host_terminator,n.tpl_host_fuzzy_strict=n.tpl_host_fuzzy+n.src_host_terminator,n.src_host_port_strict=n.src_host+n.src_port+n.src_host_terminator,n.tpl_host_port_fuzzy_strict=n.tpl_host_fuzzy+n.src_port+n.src_host_terminator,n.tpl_host_port_no_ip_fuzzy_strict=n.tpl_host_no_ip_fuzzy+n.src_port+n.src_host_terminator,n.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+n.src_ZPCc+"|>|$))",n.tpl_email_fuzzy='(^|[><|]|"|\\(|'+n.src_ZCc+")("+n.src_email_name+"@"+n.tpl_host_fuzzy_strict+")",n.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+n.src_ZPCc+"))((?![$+<=>^`||])"+n.tpl_host_port_fuzzy_strict+n.src_path+")",n.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+n.src_ZPCc+"))((?![$+<=>^`||])"+n.tpl_host_port_no_ip_fuzzy_strict+n.src_path+")",n}},72990:(t,n,e)=>{var r,i="__lodash_hash_undefined__",o=1/0,s="[object Function]",a="[object GeneratorFunction]",u="[object Symbol]",c=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,l=/^\w*$/,h=/^\./,f=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,d=/\\(\\)?/g,p=/^\[object .+?Constructor\]$/,_="object"==typeof e.g&&e.g&&e.g.Object===Object&&e.g,m="object"==typeof self&&self&&self.Object===Object&&self,v=_||m||Function("return this")(),g=Array.prototype,b=Function.prototype,w=Object.prototype,y=v["__core-js_shared__"],x=(r=/[^.]+$/.exec(y&&y.keys&&y.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",k=b.toString,S=w.hasOwnProperty,A=w.toString,C=RegExp("^"+k.call(S).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),E=v.Symbol,M=g.splice,$=I(v,"Map"),z=I(Object,"create"),T=E?E.prototype:void 0,O=T?T.toString:void 0;function j(t){var n=-1,e=t?t.length:0;for(this.clear();++n-1},R.prototype.set=function(t,n){var e=this.__data__,r=D(e,t);return r<0?e.push([t,n]):e[r][1]=n,this},L.prototype.clear=function(){this.__data__={hash:new j,map:new($||R),string:new j}},L.prototype.delete=function(t){return P(this,t).delete(t)},L.prototype.get=function(t){return P(this,t).get(t)},L.prototype.has=function(t){return P(this,t).has(t)},L.prototype.set=function(t,n){return P(this,t).set(t,n),this};var q=F((function(t){var n;t=null==(n=t)?"":function(t){if("string"==typeof t)return t;if(H(t))return O?O.call(t):"";var n=t+"";return"0"==n&&1/t==-o?"-0":n}(n);var e=[];return h.test(t)&&e.push(""),t.replace(f,(function(t,n,r,i){e.push(r?i.replace(d,"$1"):n||t)})),e}));function N(t){if("string"==typeof t||H(t))return t;var n=t+"";return"0"==n&&1/t==-o?"-0":n}function F(t,n){if("function"!=typeof t||n&&"function"!=typeof n)throw new TypeError("Expected a function");var e=function(){var r=arguments,i=n?n.apply(this,r):r[0],o=e.cache;if(o.has(i))return o.get(i);var s=t.apply(this,r);return e.cache=o.set(i,s),s};return e.cache=new(F.Cache||L),e}F.Cache=L;var B=Array.isArray;function U(t){var n=typeof t;return!!t&&("object"==n||"function"==n)}function H(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&A.call(t)==u}t.exports=function(t,n,e){var r=null==t?void 0:function(t,n){var e;n=function(t,n){if(B(t))return!1;var e=typeof t;return!("number"!=e&&"symbol"!=e&&"boolean"!=e&&null!=t&&!H(t))||l.test(t)||!c.test(t)||null!=n&&t in Object(n)}(n,t)?[n]:B(e=n)?e:q(e);for(var r=0,i=n.length;null!=t&&r{t=e.nmd(t);var r="__lodash_hash_undefined__",i=1,o=2,s=9007199254740991,a="[object Arguments]",u="[object Array]",c="[object AsyncFunction]",l="[object Boolean]",h="[object Date]",f="[object Error]",d="[object Function]",p="[object GeneratorFunction]",_="[object Map]",m="[object Number]",v="[object Null]",g="[object Object]",b="[object Promise]",w="[object Proxy]",y="[object RegExp]",x="[object Set]",k="[object String]",S="[object Undefined]",A="[object WeakMap]",C="[object ArrayBuffer]",E="[object DataView]",M=/^\[object .+?Constructor\]$/,$=/^(?:0|[1-9]\d*)$/,z={};z["[object Float32Array]"]=z["[object Float64Array]"]=z["[object Int8Array]"]=z["[object Int16Array]"]=z["[object Int32Array]"]=z["[object Uint8Array]"]=z["[object Uint8ClampedArray]"]=z["[object Uint16Array]"]=z["[object Uint32Array]"]=!0,z[a]=z[u]=z[C]=z[l]=z[E]=z[h]=z[f]=z[d]=z[_]=z[m]=z[g]=z[y]=z[x]=z[k]=z[A]=!1;var T="object"==typeof e.g&&e.g&&e.g.Object===Object&&e.g,O="object"==typeof self&&self&&self.Object===Object&&self,j=T||O||Function("return this")(),R=n&&!n.nodeType&&n,L=R&&t&&!t.nodeType&&t,D=L&&L.exports===R,P=D&&T.process,I=function(){try{return P&&P.binding&&P.binding("util")}catch(t){}}(),q=I&&I.isTypedArray;function N(t,n){for(var e=-1,r=null==t?0:t.length;++ec))return!1;var h=a.get(t);if(h&&a.get(n))return h==n;var f=-1,d=!0,p=e&o?new Ct:void 0;for(a.set(t,n),a.set(n,t);++f-1},St.prototype.set=function(t,n){var e=this.__data__,r=Mt(e,t);return r<0?(++this.size,e.push([t,n])):e[r][1]=n,this},At.prototype.clear=function(){this.size=0,this.__data__={hash:new kt,map:new(ht||St),string:new kt}},At.prototype.delete=function(t){var n=Rt(this,t).delete(t);return this.size-=n?1:0,n},At.prototype.get=function(t){return Rt(this,t).get(t)},At.prototype.has=function(t){return Rt(this,t).has(t)},At.prototype.set=function(t,n){var e=Rt(this,t),r=e.size;return e.set(t,n),this.size+=e.size==r?0:1,this},Ct.prototype.add=Ct.prototype.push=function(t){return this.__data__.set(t,r),this},Ct.prototype.has=function(t){return this.__data__.has(t)},Et.prototype.clear=function(){this.__data__=new St,this.size=0},Et.prototype.delete=function(t){var n=this.__data__,e=n.delete(t);return this.size=n.size,e},Et.prototype.get=function(t){return this.__data__.get(t)},Et.prototype.has=function(t){return this.__data__.has(t)},Et.prototype.set=function(t,n){var e=this.__data__;if(e instanceof St){var r=e.__data__;if(!ht||r.length<199)return r.push([t,n]),this.size=++e.size,this;e=this.__data__=new At(r)}return e.set(t,n),this.size=e.size,this};var Dt=at?function(t){return null==t?[]:(t=Object(t),function(n,e){for(var r=-1,i=null==n?0:n.length,o=0,s=[];++r-1&&t%1==0&&t-1&&t%1==0&&t<=s}function Wt(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}function Gt(t){return null!=t&&"object"==typeof t}var Yt=q?function(t){return function(n){return t(n)}}(q):function(t){return Gt(t)&&Vt(t.length)&&!!z[$t(t)]};function Xt(t){return null!=(n=t)&&Vt(n.length)&&!Ht(n)?function(t,n){var e=Bt(t),r=!e&&Ft(t),i=!e&&!r&&Ut(t),o=!e&&!r&&!i&&Yt(t),s=e||r||i||o,a=s?function(t,n){for(var e=-1,r=Array(t);++e{var r=e(47922)(e(45289),"DataView");t.exports=r},92993:(t,n,e)=>{var r=e(16860),i=e(58682),o=e(17429),s=e(537),a=e(34769);function u(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n{var r=e(9106),i=e(37956),o=e(35063),s=e(75659),a=e(40403);function u(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n{var r=e(47922)(e(45289),"Map");t.exports=r},96369:(t,n,e)=>{var r=e(70188),i=e(78250),o=e(28677),s=e(99721),a=e(43297);function u(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n{var r=e(47922)(e(45289),"Promise");t.exports=r},81101:(t,n,e)=>{var r=e(47922)(e(45289),"Set");t.exports=r},56423:(t,n,e)=>{var r=e(96369),i=e(66744),o=e(8455);function s(t){var n=-1,e=null==t?0:t.length;for(this.__data__=new r;++n{var r=e(20179),i=e(43768),o=e(94062),s=e(40377),a=e(26485),u=e(33373);function c(t){var n=this.__data__=new r(t);this.size=n.size}c.prototype.clear=i,c.prototype.delete=o,c.prototype.get=s,c.prototype.has=a,c.prototype.set=u,t.exports=c},91741:(t,n,e)=>{var r=e(45289).Symbol;t.exports=r},7264:(t,n,e)=>{var r=e(45289).Uint8Array;t.exports=r},25747:(t,n,e)=>{var r=e(47922)(e(45289),"WeakMap");t.exports=r},16365:t=>{t.exports=function(t,n,e){switch(e.length){case 0:return t.call(n);case 1:return t.call(n,e[0]);case 2:return t.call(n,e[0],e[1]);case 3:return t.call(n,e[0],e[1],e[2])}return t.apply(n,e)}},67045:t=>{t.exports=function(t,n,e,r){for(var i=-1,o=null==t?0:t.length;++i{t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length;++e{t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length,i=0,o=[];++e{var r=e(24847);t.exports=function(t,n){return!(null==t||!t.length)&&r(t,n,0)>-1}},98130:t=>{t.exports=function(t,n,e){for(var r=-1,i=null==t?0:t.length;++r{var r=e(52700),i=e(76888),o=e(54509),s=e(35628),a=e(90029),u=e(43371),c=Object.prototype.hasOwnProperty;t.exports=function(t,n){var e=o(t),l=!e&&i(t),h=!e&&!l&&s(t),f=!e&&!l&&!h&&u(t),d=e||l||h||f,p=d?r(t.length,String):[],_=p.length;for(var m in t)!n&&!c.call(t,m)||d&&("length"==m||h&&("offset"==m||"parent"==m)||f&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||a(m,_))||p.push(m);return p}},97888:t=>{t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length,i=Array(r);++e{t.exports=function(t,n){for(var e=-1,r=n.length,i=t.length;++e{t.exports=function(t,n,e,r){var i=-1,o=null==t?0:t.length;for(r&&o&&(e=t[++i]);++i{t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length;++e{var r=e(28553)("length");t.exports=r},64785:t=>{var n=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;t.exports=function(t){return t.match(n)||[]}},66305:(t,n,e)=>{var r=e(49604),i=e(47332);t.exports=function(t,n,e){(void 0!==e&&!i(t[n],e)||void 0===e&&!(n in t))&&r(t,n,e)}},91967:(t,n,e)=>{var r=e(49604),i=e(47332),o=Object.prototype.hasOwnProperty;t.exports=function(t,n,e){var s=t[n];o.call(t,n)&&i(s,e)&&(void 0!==e||n in t)||r(t,n,e)}},32077:(t,n,e)=>{var r=e(47332);t.exports=function(t,n){for(var e=t.length;e--;)if(r(t[e][0],n))return e;return-1}},57593:(t,n,e)=>{var r=e(41441);t.exports=function(t,n,e,i){return r(t,(function(t,r,o){n(i,t,e(t),o)})),i}},26825:(t,n,e)=>{var r=e(59571),i=e(24026);t.exports=function(t,n){return t&&r(n,i(n),t)}},11954:(t,n,e)=>{var r=e(59571),i=e(44893);t.exports=function(t,n){return t&&r(n,i(n),t)}},49604:(t,n,e)=>{var r=e(32687);t.exports=function(t,n,e){"__proto__"==n&&r?r(t,n,{configurable:!0,enumerable:!0,value:e,writable:!0}):t[n]=e}},70353:t=>{t.exports=function(t,n,e){return t==t&&(void 0!==e&&(t=t<=e?t:e),void 0!==n&&(t=t>=n?t:n)),t}},26947:(t,n,e)=>{var r=e(72309),i=e(78005),o=e(91967),s=e(26825),a=e(11954),u=e(1190),c=e(83987),l=e(26619),h=e(47048),f=e(29158),d=e(6353),p=e(16689),_=e(72033),m=e(93763),v=e(15901),g=e(54509),b=e(35628),w=e(31910),y=e(89049),x=e(37972),k=e(24026),S=e(44893),A="[object Arguments]",C="[object Function]",E="[object Object]",M={};M[A]=M["[object Array]"]=M["[object ArrayBuffer]"]=M["[object DataView]"]=M["[object Boolean]"]=M["[object Date]"]=M["[object Float32Array]"]=M["[object Float64Array]"]=M["[object Int8Array]"]=M["[object Int16Array]"]=M["[object Int32Array]"]=M["[object Map]"]=M["[object Number]"]=M[E]=M["[object RegExp]"]=M["[object Set]"]=M["[object String]"]=M["[object Symbol]"]=M["[object Uint8Array]"]=M["[object Uint8ClampedArray]"]=M["[object Uint16Array]"]=M["[object Uint32Array]"]=!0,M["[object Error]"]=M[C]=M["[object WeakMap]"]=!1,t.exports=function t(n,e,$,z,T,O){var j,R=1&e,L=2&e,D=4&e;if($&&(j=T?$(n,z,T,O):$(n)),void 0!==j)return j;if(!y(n))return n;var P=g(n);if(P){if(j=_(n),!R)return c(n,j)}else{var I=p(n),q=I==C||"[object GeneratorFunction]"==I;if(b(n))return u(n,R);if(I==E||I==A||q&&!T){if(j=L||q?{}:v(n),!R)return L?h(n,a(j,n)):l(n,s(j,n))}else{if(!M[I])return T?n:{};j=m(n,I,R)}}O||(O=new r);var N=O.get(n);if(N)return N;O.set(n,j),x(n)?n.forEach((function(r){j.add(t(r,e,$,r,n,O))})):w(n)&&n.forEach((function(r,i){j.set(i,t(r,e,$,i,n,O))}));var F=P?void 0:(D?L?d:f:L?S:k)(n);return i(F||n,(function(r,i){F&&(r=n[i=r]),o(j,i,t(r,e,$,i,n,O))})),j}},22372:(t,n,e)=>{var r=e(89049),i=Object.create,o=function(){function t(){}return function(n){if(!r(n))return{};if(i)return i(n);t.prototype=n;var e=new t;return t.prototype=void 0,e}}();t.exports=o},53713:t=>{t.exports=function(t,n,e){if("function"!=typeof t)throw new TypeError("Expected a function");return setTimeout((function(){t.apply(void 0,e)}),n)}},41441:(t,n,e)=>{var r=e(90197),i=e(49157)(r);t.exports=i},15867:(t,n,e)=>{var r=e(33062);t.exports=function(t,n,e){for(var i=-1,o=t.length;++i{var r=e(41441);t.exports=function(t,n){var e=[];return r(t,(function(t,r,i){n(t,r,i)&&e.push(t)})),e}},23711:t=>{t.exports=function(t,n,e,r){for(var i=t.length,o=e+(r?1:-1);r?o--:++o{var r=e(64484),i=e(51327);t.exports=function t(n,e,o,s,a){var u=-1,c=n.length;for(o||(o=i),a||(a=[]);++u0&&o(l)?e>1?t(l,e-1,o,s,a):r(a,l):s||(a[a.length]=l)}return a}},83373:(t,n,e)=>{var r=e(25345)();t.exports=r},90197:(t,n,e)=>{var r=e(83373),i=e(24026);t.exports=function(t,n){return t&&r(t,n,i)}},77802:(t,n,e)=>{var r=e(78461),i=e(19897);t.exports=function(t,n){for(var e=0,o=(n=r(n,t)).length;null!=t&&e{var r=e(64484),i=e(54509);t.exports=function(t,n,e){var o=n(t);return i(t)?o:r(o,e(t))}},69052:(t,n,e)=>{var r=e(91741),i=e(42143),o=e(11274),s=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":s&&s in Object(t)?i(t):o(t)}},96339:t=>{t.exports=function(t,n){return t>n}},99598:t=>{var n=Object.prototype.hasOwnProperty;t.exports=function(t,e){return null!=t&&n.call(t,e)}},95801:t=>{t.exports=function(t,n){return null!=t&&n in Object(t)}},24847:(t,n,e)=>{var r=e(23711),i=e(85227),o=e(53299);t.exports=function(t,n,e){return n==n?o(t,n,e):r(t,i,e)}},546:(t,n,e)=>{var r=e(69052),i=e(97926);t.exports=function(t){return i(t)&&"[object Arguments]"==r(t)}},73242:(t,n,e)=>{var r=e(11616),i=e(97926);t.exports=function t(n,e,o,s,a){return n===e||(null==n||null==e||!i(n)&&!i(e)?n!=n&&e!=e:r(n,e,o,s,t,a))}},11616:(t,n,e)=>{var r=e(72309),i=e(35355),o=e(92862),s=e(1861),a=e(16689),u=e(54509),c=e(35628),l=e(43371),h="[object Arguments]",f="[object Array]",d="[object Object]",p=Object.prototype.hasOwnProperty;t.exports=function(t,n,e,_,m,v){var g=u(t),b=u(n),w=g?f:a(t),y=b?f:a(n),x=(w=w==h?d:w)==d,k=(y=y==h?d:y)==d,S=w==y;if(S&&c(t)){if(!c(n))return!1;g=!0,x=!1}if(S&&!x)return v||(v=new r),g||l(t)?i(t,n,e,_,m,v):o(t,n,w,e,_,m,v);if(!(1&e)){var A=x&&p.call(t,"__wrapped__"),C=k&&p.call(n,"__wrapped__");if(A||C){var E=A?t.value():t,M=C?n.value():n;return v||(v=new r),m(E,M,e,_,v)}}return!!S&&(v||(v=new r),s(t,n,e,_,m,v))}},78224:(t,n,e)=>{var r=e(16689),i=e(97926);t.exports=function(t){return i(t)&&"[object Map]"==r(t)}},16827:(t,n,e)=>{var r=e(72309),i=e(73242);t.exports=function(t,n,e,o){var s=e.length,a=s,u=!o;if(null==t)return!a;for(t=Object(t);s--;){var c=e[s];if(u&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++s{t.exports=function(t){return t!=t}},98151:(t,n,e)=>{var r=e(94174),i=e(79804),o=e(89049),s=e(67677),a=/^\[object .+?Constructor\]$/,u=Function.prototype,c=Object.prototype,l=u.toString,h=c.hasOwnProperty,f=RegExp("^"+l.call(h).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!o(t)||i(t))&&(r(t)?f:a).test(s(t))}},69866:(t,n,e)=>{var r=e(16689),i=e(97926);t.exports=function(t){return i(t)&&"[object Set]"==r(t)}},67929:(t,n,e)=>{var r=e(69052),i=e(29906),o=e(97926),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,t.exports=function(t){return o(t)&&i(t.length)&&!!s[r(t)]}},1057:(t,n,e)=>{var r=e(55483),i=e(16590),o=e(10780),s=e(54509),a=e(84323);t.exports=function(t){return"function"==typeof t?t:null==t?o:"object"==typeof t?s(t)?i(t[0],t[1]):r(t):a(t)}},78972:(t,n,e)=>{var r=e(46811),i=e(88398),o=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return i(t);var n=[];for(var e in Object(t))o.call(t,e)&&"constructor"!=e&&n.push(e);return n}},92995:(t,n,e)=>{var r=e(89049),i=e(46811),o=e(85561),s=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return o(t);var n=i(t),e=[];for(var a in t)("constructor"!=a||!n&&s.call(t,a))&&e.push(a);return e}},24860:t=>{t.exports=function(t,n){return t{var r=e(41441),i=e(1162);t.exports=function(t,n){var e=-1,o=i(t)?Array(t.length):[];return r(t,(function(t,r,i){o[++e]=n(t,r,i)})),o}},55483:(t,n,e)=>{var r=e(16827),i=e(56980),o=e(71521);t.exports=function(t){var n=i(t);return 1==n.length&&n[0][2]?o(n[0][0],n[0][1]):function(e){return e===t||r(e,t,n)}}},16590:(t,n,e)=>{var r=e(73242),i=e(94304),o=e(55659),s=e(71598),a=e(25464),u=e(71521),c=e(19897);t.exports=function(t,n){return s(t)&&a(n)?u(c(t),n):function(e){var s=i(e,t);return void 0===s&&s===n?o(e,t):r(n,s,3)}}},3814:(t,n,e)=>{var r=e(72309),i=e(66305),o=e(83373),s=e(15764),a=e(89049),u=e(44893),c=e(56002);t.exports=function t(n,e,l,h,f){n!==e&&o(e,(function(o,u){if(f||(f=new r),a(o))s(n,e,u,l,t,h,f);else{var d=h?h(c(n,u),o,u+"",n,e,f):void 0;void 0===d&&(d=o),i(n,u,d)}}),u)}},15764:(t,n,e)=>{var r=e(66305),i=e(1190),o=e(1869),s=e(83987),a=e(15901),u=e(76888),c=e(54509),l=e(40513),h=e(35628),f=e(94174),d=e(89049),p=e(19335),_=e(43371),m=e(56002),v=e(48432);t.exports=function(t,n,e,g,b,w,y){var x=m(t,e),k=m(n,e),S=y.get(k);if(S)r(t,e,S);else{var A=w?w(x,k,e+"",t,n,y):void 0,C=void 0===A;if(C){var E=c(k),M=!E&&h(k),$=!E&&!M&&_(k);A=k,E||M||$?c(x)?A=x:l(x)?A=s(x):M?(C=!1,A=i(k,!0)):$?(C=!1,A=o(k,!0)):A=[]:p(k)||u(k)?(A=x,u(x)?A=v(x):d(x)&&!f(x)||(A=a(k))):C=!1}C&&(y.set(k,A),b(A,k,g,w,y),y.delete(k)),r(t,e,A)}}},24087:(t,n,e)=>{var r=e(97888),i=e(77802),o=e(1057),s=e(45732),a=e(66669),u=e(32521),c=e(88662),l=e(10780),h=e(54509);t.exports=function(t,n,e){n=n.length?r(n,(function(t){return h(t)?function(n){return i(n,1===t.length?t[0]:t)}:t})):[l];var f=-1;n=r(n,u(o));var d=s(t,(function(t,e,i){return{criteria:r(n,(function(n){return n(t)})),index:++f,value:t}}));return a(d,(function(t,n){return c(t,n,e)}))}},88605:(t,n,e)=>{var r=e(60696),i=e(55659);t.exports=function(t,n){return r(t,n,(function(n,e){return i(t,e)}))}},60696:(t,n,e)=>{var r=e(77802),i=e(28086),o=e(78461);t.exports=function(t,n,e){for(var s=-1,a=n.length,u={};++s{t.exports=function(t){return function(n){return null==n?void 0:n[t]}}},16691:(t,n,e)=>{var r=e(77802);t.exports=function(t){return function(n){return r(n,t)}}},14892:t=>{t.exports=function(t){return function(n){return null==t?void 0:t[n]}}},20419:t=>{var n=Math.ceil,e=Math.max;t.exports=function(t,r,i,o){for(var s=-1,a=e(n((r-t)/(i||1)),0),u=Array(a);a--;)u[o?a:++s]=t,t+=i;return u}},1634:t=>{t.exports=function(t,n,e,r,i){return i(t,(function(t,i,o){e=r?(r=!1,t):n(e,t,i,o)})),e}},35042:(t,n,e)=>{var r=e(10780),i=e(11201),o=e(8261);t.exports=function(t,n){return o(i(t,n,r),t+"")}},28086:(t,n,e)=>{var r=e(91967),i=e(78461),o=e(90029),s=e(89049),a=e(19897);t.exports=function(t,n,e,u){if(!s(t))return t;for(var c=-1,l=(n=i(n,t)).length,h=l-1,f=t;null!=f&&++c{var r=e(54642),i=e(32687),o=e(10780),s=i?function(t,n){return i(t,"toString",{configurable:!0,enumerable:!1,value:r(n),writable:!0})}:o;t.exports=s},24444:t=>{t.exports=function(t,n,e){var r=-1,i=t.length;n<0&&(n=-n>i?0:i+n),(e=e>i?i:e)<0&&(e+=i),i=n>e?0:e-n>>>0,n>>>=0;for(var o=Array(i);++r{t.exports=function(t,n){var e=t.length;for(t.sort(n);e--;)t[e]=t[e].value;return t}},52700:t=>{t.exports=function(t,n){for(var e=-1,r=Array(t);++e{var r=e(91741),i=e(97888),o=e(54509),s=e(33062),a=r?r.prototype:void 0,u=a?a.toString:void 0;t.exports=function t(n){if("string"==typeof n)return n;if(o(n))return i(n,t)+"";if(s(n))return u?u.call(n):"";var e=n+"";return"0"==e&&1/n==-1/0?"-0":e}},57756:(t,n,e)=>{var r=e(96044),i=/^\s+/;t.exports=function(t){return t?t.slice(0,r(t)+1).replace(i,""):t}},32521:t=>{t.exports=function(t){return function(n){return t(n)}}},93809:(t,n,e)=>{var r=e(56423),i=e(68433),o=e(98130),s=e(7519),a=e(953),u=e(13147);t.exports=function(t,n,e){var c=-1,l=i,h=t.length,f=!0,d=[],p=d;if(e)f=!1,l=o;else if(h>=200){var _=n?null:a(t);if(_)return u(_);f=!1,l=s,p=new r}else p=n?[]:d;t:for(;++c{var r=e(97888);t.exports=function(t,n){return r(n,(function(n){return t[n]}))}},79998:t=>{t.exports=function(t,n,e){for(var r=-1,i=t.length,o=n.length,s={};++r{t.exports=function(t,n){return t.has(n)}},2174:(t,n,e)=>{var r=e(10780);t.exports=function(t){return"function"==typeof t?t:r}},78461:(t,n,e)=>{var r=e(54509),i=e(71598),o=e(27598),s=e(58514);t.exports=function(t,n){return r(t)?t:i(t,n)?[t]:o(s(t))}},96841:(t,n,e)=>{var r=e(7264);t.exports=function(t){var n=new t.constructor(t.byteLength);return new r(n).set(new r(t)),n}},1190:(t,n,e)=>{t=e.nmd(t);var r=e(45289),i=n&&!n.nodeType&&n,o=i&&t&&!t.nodeType&&t,s=o&&o.exports===i?r.Buffer:void 0,a=s?s.allocUnsafe:void 0;t.exports=function(t,n){if(n)return t.slice();var e=t.length,r=a?a(e):new t.constructor(e);return t.copy(r),r}},22893:(t,n,e)=>{var r=e(96841);t.exports=function(t,n){var e=n?r(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.byteLength)}},36469:t=>{var n=/\w*$/;t.exports=function(t){var e=new t.constructor(t.source,n.exec(t));return e.lastIndex=t.lastIndex,e}},30652:(t,n,e)=>{var r=e(91741),i=r?r.prototype:void 0,o=i?i.valueOf:void 0;t.exports=function(t){return o?Object(o.call(t)):{}}},1869:(t,n,e)=>{var r=e(96841);t.exports=function(t,n){var e=n?r(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.length)}},1462:(t,n,e)=>{var r=e(33062);t.exports=function(t,n){if(t!==n){var e=void 0!==t,i=null===t,o=t==t,s=r(t),a=void 0!==n,u=null===n,c=n==n,l=r(n);if(!u&&!l&&!s&&t>n||s&&a&&c&&!u&&!l||i&&a&&c||!e&&c||!o)return 1;if(!i&&!s&&!l&&t{var r=e(1462);t.exports=function(t,n,e){for(var i=-1,o=t.criteria,s=n.criteria,a=o.length,u=e.length;++i=u?c:c*("desc"==e[i]?-1:1)}return t.index-n.index}},83987:t=>{t.exports=function(t,n){var e=-1,r=t.length;for(n||(n=Array(r));++e{var r=e(91967),i=e(49604);t.exports=function(t,n,e,o){var s=!e;e||(e={});for(var a=-1,u=n.length;++a{var r=e(59571),i=e(79516);t.exports=function(t,n){return r(t,i(t),n)}},47048:(t,n,e)=>{var r=e(59571),i=e(52579);t.exports=function(t,n){return r(t,i(t),n)}},79021:(t,n,e)=>{var r=e(45289)["__core-js_shared__"];t.exports=r},74956:(t,n,e)=>{var r=e(67045),i=e(57593),o=e(1057),s=e(54509);t.exports=function(t,n){return function(e,a){var u=s(e)?r:i,c=n?n():{};return u(e,t,o(a,2),c)}}},87659:(t,n,e)=>{var r=e(35042),i=e(57788);t.exports=function(t){return r((function(n,e){var r=-1,o=e.length,s=o>1?e[o-1]:void 0,a=o>2?e[2]:void 0;for(s=t.length>3&&"function"==typeof s?(o--,s):void 0,a&&i(e[0],e[1],a)&&(s=o<3?void 0:s,o=1),n=Object(n);++r{var r=e(1162);t.exports=function(t,n){return function(e,i){if(null==e)return e;if(!r(e))return t(e,i);for(var o=e.length,s=n?o:-1,a=Object(e);(n?s--:++s{t.exports=function(t){return function(n,e,r){for(var i=-1,o=Object(n),s=r(n),a=s.length;a--;){var u=s[t?a:++i];if(!1===e(o[u],u,o))break}return n}}},87719:(t,n,e)=>{var r=e(1230),i=e(95320),o=e(79001),s=RegExp("['’]","g");t.exports=function(t){return function(n){return r(o(i(n).replace(s,"")),t,"")}}},7450:(t,n,e)=>{var r=e(1057),i=e(1162),o=e(24026);t.exports=function(t){return function(n,e,s){var a=Object(n);if(!i(n)){var u=r(e,3);n=o(n),e=function(t){return u(a[t],t,a)}}var c=t(n,e,s);return c>-1?a[u?n[c]:c]:void 0}}},9760:(t,n,e)=>{var r=e(20419),i=e(57788),o=e(70812);t.exports=function(t){return function(n,e,s){return s&&"number"!=typeof s&&i(n,e,s)&&(e=s=void 0),n=o(n),void 0===e?(e=n,n=0):e=o(e),s=void 0===s?n{var r=e(81101),i=e(40890),o=e(13147),s=r&&1/o(new r([,-0]))[1]==1/0?function(t){return new r(t)}:i;t.exports=s},30923:(t,n,e)=>{var r=e(14892)({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"});t.exports=r},32687:(t,n,e)=>{var r=e(47922),i=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=i},35355:(t,n,e)=>{var r=e(56423),i=e(74940),o=e(7519);t.exports=function(t,n,e,s,a,u){var c=1&e,l=t.length,h=n.length;if(l!=h&&!(c&&h>l))return!1;var f=u.get(t),d=u.get(n);if(f&&d)return f==n&&d==t;var p=-1,_=!0,m=2&e?new r:void 0;for(u.set(t,n),u.set(n,t);++p{var r=e(91741),i=e(7264),o=e(47332),s=e(35355),a=e(18873),u=e(13147),c=r?r.prototype:void 0,l=c?c.valueOf:void 0;t.exports=function(t,n,e,r,c,h,f){switch(e){case"[object DataView]":if(t.byteLength!=n.byteLength||t.byteOffset!=n.byteOffset)return!1;t=t.buffer,n=n.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=n.byteLength||!h(new i(t),new i(n)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+t,+n);case"[object Error]":return t.name==n.name&&t.message==n.message;case"[object RegExp]":case"[object String]":return t==n+"";case"[object Map]":var d=a;case"[object Set]":var p=1&r;if(d||(d=u),t.size!=n.size&&!p)return!1;var _=f.get(t);if(_)return _==n;r|=2,f.set(t,n);var m=s(d(t),d(n),r,c,h,f);return f.delete(t),m;case"[object Symbol]":if(l)return l.call(t)==l.call(n)}return!1}},1861:(t,n,e)=>{var r=e(29158),i=Object.prototype.hasOwnProperty;t.exports=function(t,n,e,o,s,a){var u=1&e,c=r(t),l=c.length;if(l!=r(n).length&&!u)return!1;for(var h=l;h--;){var f=c[h];if(!(u?f in n:i.call(n,f)))return!1}var d=a.get(t),p=a.get(n);if(d&&p)return d==n&&p==t;var _=!0;a.set(t,n),a.set(n,t);for(var m=u;++h{var r=e(72046),i=e(11201),o=e(8261);t.exports=function(t){return o(i(t,void 0,r),t+"")}},49348:(t,n,e)=>{var r="object"==typeof e.g&&e.g&&e.g.Object===Object&&e.g;t.exports=r},29158:(t,n,e)=>{var r=e(54035),i=e(79516),o=e(24026);t.exports=function(t){return r(t,o,i)}},6353:(t,n,e)=>{var r=e(54035),i=e(52579),o=e(44893);t.exports=function(t){return r(t,o,i)}},7135:(t,n,e)=>{var r=e(23550);t.exports=function(t,n){var e=t.__data__;return r(n)?e["string"==typeof n?"string":"hash"]:e.map}},56980:(t,n,e)=>{var r=e(25464),i=e(24026);t.exports=function(t){for(var n=i(t),e=n.length;e--;){var o=n[e],s=t[o];n[e]=[o,s,r(s)]}return n}},47922:(t,n,e)=>{var r=e(98151),i=e(11236);t.exports=function(t,n){var e=i(t,n);return r(e)?e:void 0}},3539:(t,n,e)=>{var r=e(85787)(Object.getPrototypeOf,Object);t.exports=r},42143:(t,n,e)=>{var r=e(91741),i=Object.prototype,o=i.hasOwnProperty,s=i.toString,a=r?r.toStringTag:void 0;t.exports=function(t){var n=o.call(t,a),e=t[a];try{t[a]=void 0;var r=!0}catch(t){}var i=s.call(t);return r&&(n?t[a]=e:delete t[a]),i}},79516:(t,n,e)=>{var r=e(61750),i=e(56269),o=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols,a=s?function(t){return null==t?[]:(t=Object(t),r(s(t),(function(n){return o.call(t,n)})))}:i;t.exports=a},52579:(t,n,e)=>{var r=e(64484),i=e(3539),o=e(79516),s=e(56269),a=Object.getOwnPropertySymbols?function(t){for(var n=[];t;)r(n,o(t)),t=i(t);return n}:s;t.exports=a},16689:(t,n,e)=>{var r=e(13592),i=e(10723),o=e(76808),s=e(81101),a=e(25747),u=e(69052),c=e(67677),l="[object Map]",h="[object Promise]",f="[object Set]",d="[object WeakMap]",p="[object DataView]",_=c(r),m=c(i),v=c(o),g=c(s),b=c(a),w=u;(r&&w(new r(new ArrayBuffer(1)))!=p||i&&w(new i)!=l||o&&w(o.resolve())!=h||s&&w(new s)!=f||a&&w(new a)!=d)&&(w=function(t){var n=u(t),e="[object Object]"==n?t.constructor:void 0,r=e?c(e):"";if(r)switch(r){case _:return p;case m:return l;case v:return h;case g:return f;case b:return d}return n}),t.exports=w},11236:t=>{t.exports=function(t,n){return null==t?void 0:t[n]}},56178:(t,n,e)=>{var r=e(78461),i=e(76888),o=e(54509),s=e(90029),a=e(29906),u=e(19897);t.exports=function(t,n,e){for(var c=-1,l=(n=r(n,t)).length,h=!1;++c{var n=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(t){return n.test(t)}},49582:t=>{var n=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;t.exports=function(t){return n.test(t)}},16860:(t,n,e)=>{var r=e(60958);t.exports=function(){this.__data__=r?r(null):{},this.size=0}},58682:t=>{t.exports=function(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n}},17429:(t,n,e)=>{var r=e(60958),i=Object.prototype.hasOwnProperty;t.exports=function(t){var n=this.__data__;if(r){var e=n[t];return"__lodash_hash_undefined__"===e?void 0:e}return i.call(n,t)?n[t]:void 0}},537:(t,n,e)=>{var r=e(60958),i=Object.prototype.hasOwnProperty;t.exports=function(t){var n=this.__data__;return r?void 0!==n[t]:i.call(n,t)}},34769:(t,n,e)=>{var r=e(60958);t.exports=function(t,n){var e=this.__data__;return this.size+=this.has(t)?0:1,e[t]=r&&void 0===n?"__lodash_hash_undefined__":n,this}},72033:t=>{var n=Object.prototype.hasOwnProperty;t.exports=function(t){var e=t.length,r=new t.constructor(e);return e&&"string"==typeof t[0]&&n.call(t,"index")&&(r.index=t.index,r.input=t.input),r}},93763:(t,n,e)=>{var r=e(96841),i=e(22893),o=e(36469),s=e(30652),a=e(1869);t.exports=function(t,n,e){var u=t.constructor;switch(n){case"[object ArrayBuffer]":return r(t);case"[object Boolean]":case"[object Date]":return new u(+t);case"[object DataView]":return i(t,e);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return a(t,e);case"[object Map]":case"[object Set]":return new u;case"[object Number]":case"[object String]":return new u(t);case"[object RegExp]":return o(t);case"[object Symbol]":return s(t)}}},15901:(t,n,e)=>{var r=e(22372),i=e(3539),o=e(46811);t.exports=function(t){return"function"!=typeof t.constructor||o(t)?{}:r(i(t))}},51327:(t,n,e)=>{var r=e(91741),i=e(76888),o=e(54509),s=r?r.isConcatSpreadable:void 0;t.exports=function(t){return o(t)||i(t)||!!(s&&t&&t[s])}},90029:t=>{var n=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){var r=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==r||"symbol"!=r&&n.test(t))&&t>-1&&t%1==0&&t{var r=e(47332),i=e(1162),o=e(90029),s=e(89049);t.exports=function(t,n,e){if(!s(e))return!1;var a=typeof n;return!!("number"==a?i(e)&&o(n,e.length):"string"==a&&n in e)&&r(e[n],t)}},71598:(t,n,e)=>{var r=e(54509),i=e(33062),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;t.exports=function(t,n){if(r(t))return!1;var e=typeof t;return!("number"!=e&&"symbol"!=e&&"boolean"!=e&&null!=t&&!i(t))||s.test(t)||!o.test(t)||null!=n&&t in Object(n)}},23550:t=>{t.exports=function(t){var n=typeof t;return"string"==n||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==t:null===t}},79804:(t,n,e)=>{var r,i=e(79021),o=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";t.exports=function(t){return!!o&&o in t}},46811:t=>{var n=Object.prototype;t.exports=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||n)}},25464:(t,n,e)=>{var r=e(89049);t.exports=function(t){return t==t&&!r(t)}},9106:t=>{t.exports=function(){this.__data__=[],this.size=0}},37956:(t,n,e)=>{var r=e(32077),i=Array.prototype.splice;t.exports=function(t){var n=this.__data__,e=r(n,t);return!(e<0||(e==n.length-1?n.pop():i.call(n,e,1),--this.size,0))}},35063:(t,n,e)=>{var r=e(32077);t.exports=function(t){var n=this.__data__,e=r(n,t);return e<0?void 0:n[e][1]}},75659:(t,n,e)=>{var r=e(32077);t.exports=function(t){return r(this.__data__,t)>-1}},40403:(t,n,e)=>{var r=e(32077);t.exports=function(t,n){var e=this.__data__,i=r(e,t);return i<0?(++this.size,e.push([t,n])):e[i][1]=n,this}},70188:(t,n,e)=>{var r=e(92993),i=e(20179),o=e(10723);t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},78250:(t,n,e)=>{var r=e(7135);t.exports=function(t){var n=r(this,t).delete(t);return this.size-=n?1:0,n}},28677:(t,n,e)=>{var r=e(7135);t.exports=function(t){return r(this,t).get(t)}},99721:(t,n,e)=>{var r=e(7135);t.exports=function(t){return r(this,t).has(t)}},43297:(t,n,e)=>{var r=e(7135);t.exports=function(t,n){var e=r(this,t),i=e.size;return e.set(t,n),this.size+=e.size==i?0:1,this}},18873:t=>{t.exports=function(t){var n=-1,e=Array(t.size);return t.forEach((function(t,r){e[++n]=[r,t]})),e}},71521:t=>{t.exports=function(t,n){return function(e){return null!=e&&e[t]===n&&(void 0!==n||t in Object(e))}}},28116:(t,n,e)=>{var r=e(52204);t.exports=function(t){var n=r(t,(function(t){return 500===e.size&&e.clear(),t})),e=n.cache;return n}},60958:(t,n,e)=>{var r=e(47922)(Object,"create");t.exports=r},88398:(t,n,e)=>{var r=e(85787)(Object.keys,Object);t.exports=r},85561:t=>{t.exports=function(t){var n=[];if(null!=t)for(var e in Object(t))n.push(e);return n}},6005:(t,n,e)=>{t=e.nmd(t);var r=e(49348),i=n&&!n.nodeType&&n,o=i&&t&&!t.nodeType&&t,s=o&&o.exports===i&&r.process,a=function(){try{return o&&o.require&&o.require("util").types||s&&s.binding&&s.binding("util")}catch(t){}}();t.exports=a},11274:t=>{var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},85787:t=>{t.exports=function(t,n){return function(e){return t(n(e))}}},11201:(t,n,e)=>{var r=e(16365),i=Math.max;t.exports=function(t,n,e){return n=i(void 0===n?t.length-1:n,0),function(){for(var o=arguments,s=-1,a=i(o.length-n,0),u=Array(a);++s{var r=e(49348),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();t.exports=o},56002:t=>{t.exports=function(t,n){if(("constructor"!==n||"function"!=typeof t[n])&&"__proto__"!=n)return t[n]}},66744:t=>{t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},8455:t=>{t.exports=function(t){return this.__data__.has(t)}},13147:t=>{t.exports=function(t){var n=-1,e=Array(t.size);return t.forEach((function(t){e[++n]=t})),e}},8261:(t,n,e)=>{var r=e(4894),i=e(46175)(r);t.exports=i},46175:t=>{var n=Date.now;t.exports=function(t){var e=0,r=0;return function(){var i=n(),o=16-(i-r);if(r=i,o>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}},43768:(t,n,e)=>{var r=e(20179);t.exports=function(){this.__data__=new r,this.size=0}},94062:t=>{t.exports=function(t){var n=this.__data__,e=n.delete(t);return this.size=n.size,e}},40377:t=>{t.exports=function(t){return this.__data__.get(t)}},26485:t=>{t.exports=function(t){return this.__data__.has(t)}},33373:(t,n,e)=>{var r=e(20179),i=e(10723),o=e(96369);t.exports=function(t,n){var e=this.__data__;if(e instanceof r){var s=e.__data__;if(!i||s.length<199)return s.push([t,n]),this.size=++e.size,this;e=this.__data__=new o(s)}return e.set(t,n),this.size=e.size,this}},53299:t=>{t.exports=function(t,n,e){for(var r=e-1,i=t.length;++r{var r=e(94215),i=e(96766),o=e(15427);t.exports=function(t){return i(t)?o(t):r(t)}},27598:(t,n,e)=>{var r=e(28116),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,s=r((function(t){var n=[];return 46===t.charCodeAt(0)&&n.push(""),t.replace(i,(function(t,e,r,i){n.push(r?i.replace(o,"$1"):e||t)})),n}));t.exports=s},19897:(t,n,e)=>{var r=e(33062);t.exports=function(t){if("string"==typeof t||r(t))return t;var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},67677:t=>{var n=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return n.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},96044:t=>{var n=/\s/;t.exports=function(t){for(var e=t.length;e--&&n.test(t.charAt(e)););return e}},15427:t=>{var n="\\ud800-\\udfff",e="["+n+"]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",i="\\ud83c[\\udffb-\\udfff]",o="[^"+n+"]",s="(?:\\ud83c[\\udde6-\\uddff]){2}",a="[\\ud800-\\udbff][\\udc00-\\udfff]",u="(?:"+r+"|"+i+")?",c="[\\ufe0e\\ufe0f]?",l=c+u+"(?:\\u200d(?:"+[o,s,a].join("|")+")"+c+u+")*",h="(?:"+[o+r+"?",r,s,a,e].join("|")+")",f=RegExp(i+"(?="+i+")|"+h+l,"g");t.exports=function(t){for(var n=f.lastIndex=0;f.test(t);)++n;return n}},75749:t=>{var n="\\ud800-\\udfff",e="\\u2700-\\u27bf",r="a-z\\xdf-\\xf6\\xf8-\\xff",i="A-Z\\xc0-\\xd6\\xd8-\\xde",o="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",s="["+o+"]",a="\\d+",u="["+e+"]",c="["+r+"]",l="[^"+n+o+a+e+r+i+"]",h="(?:\\ud83c[\\udde6-\\uddff]){2}",f="[\\ud800-\\udbff][\\udc00-\\udfff]",d="["+i+"]",p="(?:"+c+"|"+l+")",_="(?:"+d+"|"+l+")",m="(?:['’](?:d|ll|m|re|s|t|ve))?",v="(?:['’](?:D|LL|M|RE|S|T|VE))?",g="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",b="[\\ufe0e\\ufe0f]?",w=b+g+"(?:\\u200d(?:"+["[^"+n+"]",h,f].join("|")+")"+b+g+")*",y="(?:"+[u,h,f].join("|")+")"+w,x=RegExp([d+"?"+c+"+"+m+"(?="+[s,d,"$"].join("|")+")",_+"+"+v+"(?="+[s,d+p,"$"].join("|")+")",d+"?"+p+"+"+m,d+"+"+v,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",a,y].join("|"),"g");t.exports=function(t){return t.match(x)||[]}},59791:(t,n,e)=>{var r=e(70353),i=e(69570);t.exports=function(t,n,e){return void 0===e&&(e=n,n=void 0),void 0!==e&&(e=(e=i(e))==e?e:0),void 0!==n&&(n=(n=i(n))==n?n:0),r(i(t),n,e)}},47409:(t,n,e)=>{var r=e(26947);t.exports=function(t){return r(t,4)}},70139:(t,n,e)=>{var r=e(26947);t.exports=function(t){return r(t,5)}},54642:t=>{t.exports=function(t){return function(){return t}}},56294:(t,n,e)=>{var r=e(49604),i=e(74956),o=Object.prototype.hasOwnProperty,s=i((function(t,n,e){o.call(t,e)?++t[e]:r(t,e,1)}));t.exports=s},14993:(t,n,e)=>{var r=e(89049),i=e(99328),o=e(69570),s=Math.max,a=Math.min;t.exports=function(t,n,e){var u,c,l,h,f,d,p=0,_=!1,m=!1,v=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function g(n){var e=u,r=c;return u=c=void 0,p=n,h=t.apply(r,e)}function b(t){var e=t-d;return void 0===d||e>=n||e<0||m&&t-p>=l}function w(){var t=i();if(b(t))return y(t);f=setTimeout(w,function(t){var e=n-(t-d);return m?a(e,l-(t-p)):e}(t))}function y(t){return f=void 0,v&&u?g(t):(u=c=void 0,h)}function x(){var t=i(),e=b(t);if(u=arguments,c=this,d=t,e){if(void 0===f)return function(t){return p=t,f=setTimeout(w,n),_?g(t):h}(d);if(m)return clearTimeout(f),f=setTimeout(w,n),g(d)}return void 0===f&&(f=setTimeout(w,n)),h}return n=o(n)||0,r(e)&&(_=!!e.leading,l=(m="maxWait"in e)?s(o(e.maxWait)||0,n):l,v="trailing"in e?!!e.trailing:v),x.cancel=function(){void 0!==f&&clearTimeout(f),p=0,u=d=c=f=void 0},x.flush=function(){return void 0===f?h:y(i())},x}},95320:(t,n,e)=>{var r=e(30923),i=e(58514),o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,s=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");t.exports=function(t){return(t=i(t))&&t.replace(o,r).replace(s,"")}},256:(t,n,e)=>{var r=e(35042),i=e(47332),o=e(57788),s=e(44893),a=Object.prototype,u=a.hasOwnProperty,c=r((function(t,n){t=Object(t);var e=-1,r=n.length,c=r>2?n[2]:void 0;for(c&&o(n[0],n[1],c)&&(r=1);++e{var r=e(53713),i=e(35042)((function(t,n){return r(t,1,n)}));t.exports=i},41279:(t,n,e)=>{var r=e(24444),i=e(30085);t.exports=function(t,n,e){var o=null==t?0:t.length;return o?(n=e||void 0===n?1:i(n),r(t,n<0?0:n,o)):[]}},95757:(t,n,e)=>{var r=e(24444),i=e(30085);t.exports=function(t,n,e){var o=null==t?0:t.length;return o?(n=e||void 0===n?1:i(n),r(t,0,(n=o-n)<0?0:n)):[]}},37923:(t,n,e)=>{t.exports=e(61726)},47332:t=>{t.exports=function(t,n){return t===n||t!=t&&n!=n}},9344:(t,n,e)=>{var r=e(61750),i=e(75146),o=e(1057),s=e(54509);t.exports=function(t,n){return(s(t)?r:i)(t,o(n,3))}},90185:(t,n,e)=>{var r=e(7450)(e(98181));t.exports=r},98181:(t,n,e)=>{var r=e(23711),i=e(1057),o=e(30085),s=Math.max;t.exports=function(t,n,e){var a=null==t?0:t.length;if(!a)return-1;var u=null==e?0:o(e);return u<0&&(u=s(a+u,0)),r(t,i(n,3),u)}},72046:(t,n,e)=>{var r=e(46788);t.exports=function(t){return null!=t&&t.length?r(t,1):[]}},61726:(t,n,e)=>{var r=e(78005),i=e(41441),o=e(2174),s=e(54509);t.exports=function(t,n){return(s(t)?r:i)(t,o(n))}},24408:(t,n,e)=>{var r=e(83373),i=e(2174),o=e(44893);t.exports=function(t,n){return null==t?t:r(t,i(n),o)}},94304:(t,n,e)=>{var r=e(77802);t.exports=function(t,n,e){var i=null==t?void 0:r(t,n);return void 0===i?e:i}},26967:(t,n,e)=>{var r=e(99598),i=e(56178);t.exports=function(t,n){return null!=t&&i(t,n,r)}},55659:(t,n,e)=>{var r=e(95801),i=e(56178);t.exports=function(t,n){return null!=t&&i(t,n,r)}},10780:t=>{t.exports=function(t){return t}},76888:(t,n,e)=>{var r=e(546),i=e(97926),o=Object.prototype,s=o.hasOwnProperty,a=o.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(t){return i(t)&&s.call(t,"callee")&&!a.call(t,"callee")};t.exports=u},54509:t=>{var n=Array.isArray;t.exports=n},1162:(t,n,e)=>{var r=e(94174),i=e(29906);t.exports=function(t){return null!=t&&i(t.length)&&!r(t)}},40513:(t,n,e)=>{var r=e(1162),i=e(97926);t.exports=function(t){return i(t)&&r(t)}},35628:(t,n,e)=>{t=e.nmd(t);var r=e(45289),i=e(64611),o=n&&!n.nodeType&&n,s=o&&t&&!t.nodeType&&t,a=s&&s.exports===o?r.Buffer:void 0,u=(a?a.isBuffer:void 0)||i;t.exports=u},91317:(t,n,e)=>{var r=e(78972),i=e(16689),o=e(76888),s=e(54509),a=e(1162),u=e(35628),c=e(46811),l=e(43371),h=Object.prototype.hasOwnProperty;t.exports=function(t){if(null==t)return!0;if(a(t)&&(s(t)||"string"==typeof t||"function"==typeof t.splice||u(t)||l(t)||o(t)))return!t.length;var n=i(t);if("[object Map]"==n||"[object Set]"==n)return!t.size;if(c(t))return!r(t).length;for(var e in t)if(h.call(t,e))return!1;return!0}},70632:(t,n,e)=>{var r=e(73242);t.exports=function(t,n){return r(t,n)}},94174:(t,n,e)=>{var r=e(69052),i=e(89049);t.exports=function(t){if(!i(t))return!1;var n=r(t);return"[object Function]"==n||"[object GeneratorFunction]"==n||"[object AsyncFunction]"==n||"[object Proxy]"==n}},29906:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},31910:(t,n,e)=>{var r=e(78224),i=e(32521),o=e(6005),s=o&&o.isMap,a=s?i(s):r;t.exports=a},89049:t=>{t.exports=function(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}},97926:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},19335:(t,n,e)=>{var r=e(69052),i=e(3539),o=e(97926),s=Function.prototype,a=Object.prototype,u=s.toString,c=a.hasOwnProperty,l=u.call(Object);t.exports=function(t){if(!o(t)||"[object Object]"!=r(t))return!1;var n=i(t);if(null===n)return!0;var e=c.call(n,"constructor")&&n.constructor;return"function"==typeof e&&e instanceof e&&u.call(e)==l}},37972:(t,n,e)=>{var r=e(69866),i=e(32521),o=e(6005),s=o&&o.isSet,a=s?i(s):r;t.exports=a},80931:(t,n,e)=>{var r=e(69052),i=e(54509),o=e(97926);t.exports=function(t){return"string"==typeof t||!i(t)&&o(t)&&"[object String]"==r(t)}},33062:(t,n,e)=>{var r=e(69052),i=e(97926);t.exports=function(t){return"symbol"==typeof t||i(t)&&"[object Symbol]"==r(t)}},43371:(t,n,e)=>{var r=e(67929),i=e(32521),o=e(6005),s=o&&o.isTypedArray,a=s?i(s):r;t.exports=a},41204:t=>{t.exports=function(t){return void 0===t}},29077:(t,n,e)=>{var r=e(87719)((function(t,n,e){return t+(e?"-":"")+n.toLowerCase()}));t.exports=r},24026:(t,n,e)=>{var r=e(77643),i=e(78972),o=e(1162);t.exports=function(t){return o(t)?r(t):i(t)}},44893:(t,n,e)=>{var r=e(77643),i=e(92995),o=e(1162);t.exports=function(t){return o(t)?r(t,!0):i(t)}},90142:t=>{t.exports=function(t){var n=null==t?0:t.length;return n?t[n-1]:void 0}},28246:(t,n,e)=>{var r=e(97888),i=e(1057),o=e(45732),s=e(54509);t.exports=function(t,n){return(s(t)?r:o)(t,i(n,3))}},94816:(t,n,e)=>{var r=e(49604),i=e(90197),o=e(1057);t.exports=function(t,n){var e={};return n=o(n,3),i(t,(function(t,i,o){r(e,i,n(t,i,o))})),e}},12862:(t,n,e)=>{var r=e(15867),i=e(96339),o=e(10780);t.exports=function(t){return t&&t.length?r(t,o,i):void 0}},52204:(t,n,e)=>{var r=e(96369);function i(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new TypeError("Expected a function");var e=function(){var r=arguments,i=n?n.apply(this,r):r[0],o=e.cache;if(o.has(i))return o.get(i);var s=t.apply(this,r);return e.cache=o.set(i,s)||o,s};return e.cache=new(i.Cache||r),e}i.Cache=r,t.exports=i},9840:(t,n,e)=>{var r=e(3814),i=e(87659)((function(t,n,e){r(t,n,e)}));t.exports=i},56640:(t,n,e)=>{var r=e(15867),i=e(24860),o=e(10780);t.exports=function(t){return t&&t.length?r(t,o,i):void 0}},27697:(t,n,e)=>{var r=e(15867),i=e(1057),o=e(24860);t.exports=function(t,n){return t&&t.length?r(t,i(n,2),o):void 0}},40890:t=>{t.exports=function(){}},99328:(t,n,e)=>{var r=e(45289);t.exports=function(){return r.Date.now()}},59987:(t,n,e)=>{var r=e(88605),i=e(77884)((function(t,n){return null==t?{}:r(t,n)}));t.exports=i},83330:(t,n,e)=>{var r=e(97888),i=e(1057),o=e(60696),s=e(6353);t.exports=function(t,n){if(null==t)return{};var e=r(s(t),(function(t){return[t]}));return n=i(n),o(t,e,(function(t,e){return n(t,e[0])}))}},84323:(t,n,e)=>{var r=e(28553),i=e(16691),o=e(71598),s=e(19897);t.exports=function(t){return o(t)?r(s(t)):i(t)}},33537:(t,n,e)=>{var r=e(9760)();t.exports=r},62544:(t,n,e)=>{var r=e(1230),i=e(41441),o=e(1057),s=e(1634),a=e(54509);t.exports=function(t,n,e){var u=a(t)?r:s,c=arguments.length<3;return u(t,o(n,4),e,c,i)}},53540:(t,n,e)=>{var r=e(28086);t.exports=function(t,n,e){return null==t?t:r(t,n,e)}},50383:(t,n,e)=>{var r=e(78972),i=e(16689),o=e(1162),s=e(80931),a=e(95789);t.exports=function(t){if(null==t)return 0;if(o(t))return s(t)?a(t):t.length;var n=i(t);return"[object Map]"==n||"[object Set]"==n?t.size:r(t).length}},28683:(t,n,e)=>{var r=e(46788),i=e(24087),o=e(35042),s=e(57788),a=o((function(t,n){if(null==t)return[];var e=n.length;return e>1&&s(t,n[0],n[1])?n=[]:e>2&&s(n[0],n[1],n[2])&&(n=[n[0]]),i(t,r(n,1),[])}));t.exports=a},56269:t=>{t.exports=function(){return[]}},64611:t=>{t.exports=function(){return!1}},36717:(t,n,e)=>{var r=e(24444),i=e(30085);t.exports=function(t,n,e){return t&&t.length?(n=e||void 0===n?1:i(n),r(t,0,n<0?0:n)):[]}},62602:(t,n,e)=>{var r=e(14993),i=e(89049);t.exports=function(t,n,e){var o=!0,s=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return i(e)&&(o="leading"in e?!!e.leading:o,s="trailing"in e?!!e.trailing:s),r(t,n,{leading:o,maxWait:n,trailing:s})}},70812:(t,n,e)=>{var r=e(69570),i=1/0;t.exports=function(t){return t?(t=r(t))===i||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}},30085:(t,n,e)=>{var r=e(70812);t.exports=function(t){var n=r(t),e=n%1;return n==n?e?n-e:n:0}},69570:(t,n,e)=>{var r=e(57756),i=e(89049),o=e(33062),s=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(o(t))return NaN;if(i(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=i(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=r(t);var e=a.test(t);return e||u.test(t)?c(t.slice(2),e?2:8):s.test(t)?NaN:+t}},48432:(t,n,e)=>{var r=e(59571),i=e(44893);t.exports=function(t){return r(t,i(t))}},58514:(t,n,e)=>{var r=e(20056);t.exports=function(t){return null==t?"":r(t)}},64860:(t,n,e)=>{var r=e(78005),i=e(22372),o=e(90197),s=e(1057),a=e(3539),u=e(54509),c=e(35628),l=e(94174),h=e(89049),f=e(43371);t.exports=function(t,n,e){var d=u(t),p=d||c(t)||f(t);if(n=s(n,4),null==e){var _=t&&t.constructor;e=p?d?new _:[]:h(t)&&l(_)?i(a(t)):{}}return(p?r:o)(t,(function(t,r,i){return n(e,t,r,i)})),e}},47399:(t,n,e)=>{var r=e(46788),i=e(35042),o=e(93809),s=e(40513),a=i((function(t){return o(r(t,1,s,!0))}));t.exports=a},52732:(t,n,e)=>{var r=e(58514),i=0;t.exports=function(t){var n=++i;return r(t)+n}},54396:(t,n,e)=>{var r=e(28542),i=e(24026);t.exports=function(t){return null==t?[]:r(t,i(t))}},79001:(t,n,e)=>{var r=e(64785),i=e(49582),o=e(58514),s=e(75749);t.exports=function(t,n,e){return t=o(t),void 0===(n=e?void 0:n)?i(t)?s(t):r(t):t.match(n)||[]}},48548:(t,n,e)=>{var r=e(91967),i=e(79998);t.exports=function(t,n){return i(t||[],n||[],r)}},50150:(t,n,e)=>{"use strict";t.exports=e(78842)},4656:(t,n,e)=>{"use strict";t.exports=e(93141)},69002:t=>{"use strict";t.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","meta","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},95297:t=>{"use strict";var n="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",e="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",r=new RegExp("^(?:"+n+"|"+e+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|]*>|)"),i=new RegExp("^(?:"+n+"|"+e+")");t.exports.l=r,t.exports.p=i},5935:(t,n,e)=>{"use strict";var r=Object.prototype.hasOwnProperty;function i(t,n){return r.call(t,n)}function o(t){return!(t>=55296&&t<=57343||t>=64976&&t<=65007||!(65535&~t&&65534!=(65535&t))||t>=0&&t<=8||11===t||t>=14&&t<=31||t>=127&&t<=159||t>1114111)}function s(t){if(t>65535){var n=55296+((t-=65536)>>10),e=56320+(1023&t);return String.fromCharCode(n,e)}return String.fromCharCode(t)}var a=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,u=new RegExp(a.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),c=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,l=e(4656),h=/[&<>"]/,f=/[&<>"]/g,d={"&":"&","<":"<",">":">",'"':"""};function p(t){return d[t]}var _=/[.?*+^$[\]\\(){}|-]/g,m=e(53384);n.lib={},n.lib.mdurl=e(3473),n.lib.ucmicro=e(23707),n.assign=function(t){return Array.prototype.slice.call(arguments,1).forEach((function(n){if(n){if("object"!=typeof n)throw new TypeError(n+"must be object");Object.keys(n).forEach((function(e){t[e]=n[e]}))}})),t},n.isString=function(t){return"[object String]"===function(t){return Object.prototype.toString.call(t)}(t)},n.has=i,n.unescapeMd=function(t){return t.indexOf("\\")<0?t:t.replace(a,"$1")},n.unescapeAll=function(t){return t.indexOf("\\")<0&&t.indexOf("&")<0?t:t.replace(u,(function(t,n,e){return n||function(t,n){var e=0;return i(l,n)?l[n]:35===n.charCodeAt(0)&&c.test(n)&&o(e="x"===n[1].toLowerCase()?parseInt(n.slice(2),16):parseInt(n.slice(1),10))?s(e):t}(t,e)}))},n.isValidEntityCode=o,n.fromCodePoint=s,n.escapeHtml=function(t){return h.test(t)?t.replace(f,p):t},n.arrayReplaceAt=function(t,n,e){return[].concat(t.slice(0,n),e,t.slice(n+1))},n.isSpace=function(t){switch(t){case 9:case 32:return!0}return!1},n.isWhiteSpace=function(t){if(t>=8192&&t<=8202)return!0;switch(t){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},n.isMdAsciiPunct=function(t){switch(t){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},n.isPunctChar=function(t){return m.test(t)},n.escapeRE=function(t){return t.replace(_,"\\$&")},n.normalizeReference=function(t){return t=t.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(t=t.replace(/ẞ/g,"ß")),t.toLowerCase().toUpperCase()}},50612:(t,n,e)=>{"use strict";n.parseLinkLabel=e(89415),n.parseLinkDestination=e(74673),n.parseLinkTitle=e(66163)},74673:(t,n,e)=>{"use strict";var r=e(5935).unescapeAll;t.exports=function(t,n,e){var i,o,s=n,a={ok:!1,pos:0,lines:0,str:""};if(60===t.charCodeAt(n)){for(n++;n{"use strict";t.exports=function(t,n,e){var r,i,o,s,a=-1,u=t.posMax,c=t.pos;for(t.pos=n+1,r=1;t.pos{"use strict";var r=e(5935).unescapeAll;t.exports=function(t,n,e){var i,o,s=0,a=n,u={ok:!1,pos:0,lines:0,str:""};if(n>=e)return u;if(34!==(o=t.charCodeAt(n))&&39!==o&&40!==o)return u;for(n++,40===o&&(o=41);n{"use strict";var r=e(5935),i=e(50612),o=e(37539),s=e(68021),a=e(16913),u=e(62663),c=e(63493),l=e(3473),h=e(52655),f={default:e(12088),zero:e(39960),commonmark:e(87397)},d=/^(vbscript|javascript|file|data):/,p=/^data:image\/(gif|png|jpeg|webp);/;function _(t){var n=t.trim().toLowerCase();return!d.test(n)||!!p.test(n)}var m=["http:","https:","mailto:"];function v(t){var n=l.parse(t,!0);if(n.hostname&&(!n.protocol||m.indexOf(n.protocol)>=0))try{n.hostname=h.toASCII(n.hostname)}catch(t){}return l.encode(l.format(n))}function g(t){var n=l.parse(t,!0);if(n.hostname&&(!n.protocol||m.indexOf(n.protocol)>=0))try{n.hostname=h.toUnicode(n.hostname)}catch(t){}return l.decode(l.format(n))}function b(t,n){if(!(this instanceof b))return new b(t,n);n||r.isString(t)||(n=t||{},t="default"),this.inline=new u,this.block=new a,this.core=new s,this.renderer=new o,this.linkify=new c,this.validateLink=_,this.normalizeLink=v,this.normalizeLinkText=g,this.utils=r,this.helpers=r.assign({},i),this.options={},this.configure(t),n&&this.set(n)}b.prototype.set=function(t){return r.assign(this.options,t),this},b.prototype.configure=function(t){var n,e=this;if(r.isString(t)&&!(t=f[n=t]))throw new Error('Wrong `markdown-it` preset "'+n+'", check name');if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&e.set(t.options),t.components&&Object.keys(t.components).forEach((function(n){t.components[n].rules&&e[n].ruler.enableOnly(t.components[n].rules),t.components[n].rules2&&e[n].ruler2.enableOnly(t.components[n].rules2)})),this},b.prototype.enable=function(t,n){var e=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach((function(n){e=e.concat(this[n].ruler.enable(t,!0))}),this),e=e.concat(this.inline.ruler2.enable(t,!0));var r=t.filter((function(t){return e.indexOf(t)<0}));if(r.length&&!n)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},b.prototype.disable=function(t,n){var e=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach((function(n){e=e.concat(this[n].ruler.disable(t,!0))}),this),e=e.concat(this.inline.ruler2.disable(t,!0));var r=t.filter((function(t){return e.indexOf(t)<0}));if(r.length&&!n)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},b.prototype.use=function(t){var n=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,n),this},b.prototype.parse=function(t,n){if("string"!=typeof t)throw new Error("Input data should be a String");var e=new this.core.State(t,this,n);return this.core.process(e),e.tokens},b.prototype.render=function(t,n){return n=n||{},this.renderer.render(this.parse(t,n),this.options,n)},b.prototype.parseInline=function(t,n){var e=new this.core.State(t,this,n);return e.inlineMode=!0,this.core.process(e),e.tokens},b.prototype.renderInline=function(t,n){return n=n||{},this.renderer.render(this.parseInline(t,n),this.options,n)},t.exports=b},16913:(t,n,e)=>{"use strict";var r=e(17046),i=[["table",e(90740),["paragraph","reference"]],["code",e(40171)],["fence",e(26449),["paragraph","reference","blockquote","list"]],["blockquote",e(64833),["paragraph","reference","blockquote","list"]],["hr",e(3716),["paragraph","reference","blockquote","list"]],["list",e(14674),["paragraph","reference","blockquote"]],["reference",e(31373)],["heading",e(35462),["paragraph","reference","blockquote"]],["lheading",e(11916)],["html_block",e(97205),["paragraph","reference","blockquote"]],["paragraph",e(63066)]];function o(){this.ruler=new r;for(var t=0;t=e))&&!(t.sCount[s]=u){t.line=e;break}for(r=0;r{"use strict";var r=e(17046),i=[["normalize",e(38319)],["block",e(15713)],["inline",e(86967)],["linkify",e(26150)],["replacements",e(40991)],["smartquotes",e(6656)]];function o(){this.ruler=new r;for(var t=0;t{"use strict";var r=e(17046),i=[["text",e(80275)],["newline",e(51578)],["escape",e(27467)],["backticks",e(64657)],["strikethrough",e(73241).q],["emphasis",e(24966).q],["link",e(3940)],["image",e(37383)],["autolink",e(3583)],["html_inline",e(61749)],["entity",e(10291)]],o=[["balance_pairs",e(29816)],["strikethrough",e(73241).g],["emphasis",e(24966).g],["text_collapse",e(97525)]];function s(){var t;for(this.ruler=new r,t=0;t=o)break}else t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()},s.prototype.parse=function(t,n,e,r){var i,o,s,a=new this.State(t,n,e,r);for(this.tokenize(a),s=(o=this.ruler2.getRules("")).length,i=0;i{"use strict";t.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},12088:t=>{"use strict";t.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},39960:t=>{"use strict";t.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}},37539:(t,n,e)=>{"use strict";var r=e(5935).assign,i=e(5935).unescapeAll,o=e(5935).escapeHtml,s={};function a(){this.rules=r({},s)}s.code_inline=function(t,n,e,r,i){var s=t[n];return""+o(t[n].content)+""},s.code_block=function(t,n,e,r,i){var s=t[n];return""+o(t[n].content)+"\n"},s.fence=function(t,n,e,r,s){var a,u,c,l,h=t[n],f=h.info?i(h.info).trim():"",d="";return f&&(d=f.split(/\s+/g)[0]),0===(a=e.highlight&&e.highlight(h.content,d)||o(h.content)).indexOf(""+a+"\n"):"
"+a+"
\n"},s.image=function(t,n,e,r,i){var o=t[n];return o.attrs[o.attrIndex("alt")][1]=i.renderInlineAsText(o.children,e,r),i.renderToken(t,n,e)},s.hardbreak=function(t,n,e){return e.xhtmlOut?"
\n":"
\n"},s.softbreak=function(t,n,e){return e.breaks?e.xhtmlOut?"
\n":"
\n":"\n"},s.text=function(t,n){return o(t[n].content)},s.html_block=function(t,n){return t[n].content},s.html_inline=function(t,n){return t[n].content},a.prototype.renderAttrs=function(t){var n,e,r;if(!t.attrs)return"";for(r="",n=0,e=t.attrs.length;n\n":">")},a.prototype.renderInline=function(t,n,e){for(var r,i="",o=this.rules,s=0,a=t.length;s{"use strict";function n(){this.__rules__=[],this.__cache__=null}n.prototype.__find__=function(t){for(var n=0;n{"use strict";var r=e(5935).isSpace;t.exports=function(t,n,e,i){var o,s,a,u,c,l,h,f,d,p,_,m,v,g,b,w,y,x,k,S,A=t.lineMax,C=t.bMarks[n]+t.tShift[n],E=t.eMarks[n];if(t.sCount[n]-t.blkIndent>=4)return!1;if(62!==t.src.charCodeAt(C++))return!1;if(i)return!0;for(u=d=t.sCount[n]+1,32===t.src.charCodeAt(C)?(C++,u++,d++,o=!1,w=!0):9===t.src.charCodeAt(C)?(w=!0,(t.bsCount[n]+d)%4==3?(C++,u++,d++,o=!1):o=!0):w=!1,p=[t.bMarks[n]],t.bMarks[n]=C;C=E,g=[t.sCount[n]],t.sCount[n]=d-u,b=[t.tShift[n]],t.tShift[n]=C-t.bMarks[n],x=t.md.block.ruler.getRules("blockquote"),v=t.parentType,t.parentType="blockquote",f=n+1;f=(E=t.eMarks[f])));f++)if(62!==t.src.charCodeAt(C++)||S){if(l)break;for(y=!1,a=0,c=x.length;a=E,_.push(t.bsCount[f]),t.bsCount[f]=t.sCount[f]+1+(w?1:0),g.push(t.sCount[f]),t.sCount[f]=d-u,b.push(t.tShift[f]),t.tShift[f]=C-t.bMarks[f]}for(m=t.blkIndent,t.blkIndent=0,(k=t.push("blockquote_open","blockquote",1)).markup=">",k.map=h=[n,0],t.md.block.tokenize(t,n,f),(k=t.push("blockquote_close","blockquote",-1)).markup=">",t.lineMax=A,t.parentType=v,h[1]=t.line,a=0;a{"use strict";t.exports=function(t,n,e){var r,i,o;if(t.sCount[n]-t.blkIndent<4)return!1;for(i=r=n+1;r=4))break;i=++r}return t.line=i,(o=t.push("code_block","code",0)).content=t.getLines(n,i,4+t.blkIndent,!0),o.map=[n,t.line],!0}},26449:t=>{"use strict";t.exports=function(t,n,e,r){var i,o,s,a,u,c,l,h=!1,f=t.bMarks[n]+t.tShift[n],d=t.eMarks[n];if(t.sCount[n]-t.blkIndent>=4)return!1;if(f+3>d)return!1;if(126!==(i=t.src.charCodeAt(f))&&96!==i)return!1;if(u=f,(o=(f=t.skipChars(f,i))-u)<3)return!1;if(l=t.src.slice(u,f),s=t.src.slice(f,d),96===i&&s.indexOf(String.fromCharCode(i))>=0)return!1;if(r)return!0;for(a=n;!(++a>=e||(f=u=t.bMarks[a]+t.tShift[a])<(d=t.eMarks[a])&&t.sCount[a]=4||(f=t.skipChars(f,i))-u{"use strict";var r=e(5935).isSpace;t.exports=function(t,n,e,i){var o,s,a,u,c=t.bMarks[n]+t.tShift[n],l=t.eMarks[n];if(t.sCount[n]-t.blkIndent>=4)return!1;if(35!==(o=t.src.charCodeAt(c))||c>=l)return!1;for(s=1,o=t.src.charCodeAt(++c);35===o&&c6||cc&&r(t.src.charCodeAt(a-1))&&(l=a),t.line=n+1,(u=t.push("heading_open","h"+String(s),1)).markup="########".slice(0,s),u.map=[n,t.line],(u=t.push("inline","",0)).content=t.src.slice(c,l).trim(),u.map=[n,t.line],u.children=[],(u=t.push("heading_close","h"+String(s),-1)).markup="########".slice(0,s)),0))}},3716:(t,n,e)=>{"use strict";var r=e(5935).isSpace;t.exports=function(t,n,e,i){var o,s,a,u,c=t.bMarks[n]+t.tShift[n],l=t.eMarks[n];if(t.sCount[n]-t.blkIndent>=4)return!1;if(42!==(o=t.src.charCodeAt(c++))&&45!==o&&95!==o)return!1;for(s=1;c{"use strict";var r=e(69002),i=e(95297).p,o=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(i.source+"\\s*$"),/^$/,!1]];t.exports=function(t,n,e,r){var i,s,a,u,c=t.bMarks[n]+t.tShift[n],l=t.eMarks[n];if(t.sCount[n]-t.blkIndent>=4)return!1;if(!t.md.options.html)return!1;if(60!==t.src.charCodeAt(c))return!1;for(u=t.src.slice(c,l),i=0;i{"use strict";t.exports=function(t,n,e){var r,i,o,s,a,u,c,l,h,f,d=n+1,p=t.md.block.ruler.getRules("paragraph");if(t.sCount[n]-t.blkIndent>=4)return!1;for(f=t.parentType,t.parentType="paragraph";d3)){if(t.sCount[d]>=t.blkIndent&&(u=t.bMarks[d]+t.tShift[d])<(c=t.eMarks[d])&&(45===(h=t.src.charCodeAt(u))||61===h)&&(u=t.skipChars(u,h),(u=t.skipSpaces(u))>=c)){l=61===h?1:2;break}if(!(t.sCount[d]<0)){for(i=!1,o=0,s=p.length;o{"use strict";var r=e(5935).isSpace;function i(t,n){var e,i,o,s;return i=t.bMarks[n]+t.tShift[n],o=t.eMarks[n],42!==(e=t.src.charCodeAt(i++))&&45!==e&&43!==e||i=s)return-1;if((e=t.src.charCodeAt(o++))<48||e>57)return-1;for(;;){if(o>=s)return-1;if(!((e=t.src.charCodeAt(o++))>=48&&e<=57)){if(41===e||46===e)break;return-1}if(o-i>=10)return-1}return o=4)return!1;if(t.listIndent>=0&&t.sCount[n]-t.listIndent>=4&&t.sCount[n]=t.blkIndent&&(R=!0),(M=o(t,n))>=0){if(f=!0,z=t.bMarks[n]+t.tShift[n],g=Number(t.src.substr(z,M-z-1)),R&&1!==g)return!1}else{if(!((M=i(t,n))>=0))return!1;f=!1}if(R&&t.skipSpaces(M)>=t.eMarks[n])return!1;if(v=t.src.charCodeAt(M-1),r)return!0;for(m=t.tokens.length,f?(j=t.push("ordered_list_open","ol",1),1!==g&&(j.attrs=[["start",g]])):j=t.push("bullet_list_open","ul",1),j.map=_=[n,0],j.markup=String.fromCharCode(v),w=n,$=!1,O=t.md.block.ruler.getRules("list"),k=t.parentType,t.parentType="list";w=b?1:y-h)>4&&(l=1),c=h+l,(j=t.push("list_item_open","li",1)).markup=String.fromCharCode(v),j.map=d=[n,0],C=t.tight,A=t.tShift[n],S=t.sCount[n],x=t.listIndent,t.listIndent=t.blkIndent,t.blkIndent=c,t.tight=!0,t.tShift[n]=a-t.bMarks[n],t.sCount[n]=y,a>=b&&t.isEmpty(n+1)?t.line=Math.min(t.line+2,e):t.md.block.tokenize(t,n,e,!0),t.tight&&!$||(L=!1),$=t.line-n>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=x,t.tShift[n]=A,t.sCount[n]=S,t.tight=C,(j=t.push("list_item_close","li",-1)).markup=String.fromCharCode(v),w=n=t.line,d[1]=w,a=t.bMarks[n],w>=e)break;if(t.sCount[w]=4)break;for(T=!1,u=0,p=O.length;u{"use strict";t.exports=function(t,n){var e,r,i,o,s,a,u=n+1,c=t.md.block.ruler.getRules("paragraph"),l=t.lineMax;for(a=t.parentType,t.parentType="paragraph";u3||t.sCount[u]<0)){for(r=!1,i=0,o=c.length;i{"use strict";var r=e(5935).normalizeReference,i=e(5935).isSpace;t.exports=function(t,n,e,o){var s,a,u,c,l,h,f,d,p,_,m,v,g,b,w,y,x=0,k=t.bMarks[n]+t.tShift[n],S=t.eMarks[n],A=n+1;if(t.sCount[n]-t.blkIndent>=4)return!1;if(91!==t.src.charCodeAt(k))return!1;for(;++k3||t.sCount[A]<0)){for(b=!1,h=0,f=w.length;h{"use strict";var r=e(25135),i=e(5935).isSpace;function o(t,n,e,r){var o,s,a,u,c,l,h,f;for(this.src=t,this.md=n,this.env=e,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",f=!1,a=u=l=h=0,c=(s=this.src).length;u0&&this.level++,this.tokens.push(i),i},o.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]},o.prototype.skipEmptyLines=function(t){for(var n=this.lineMax;tn;)if(!i(this.src.charCodeAt(--t)))return t+1;return t},o.prototype.skipChars=function(t,n){for(var e=this.src.length;te;)if(n!==this.src.charCodeAt(--t))return t+1;return t},o.prototype.getLines=function(t,n,e,r){var o,s,a,u,c,l,h,f=t;if(t>=n)return"";for(l=new Array(n-t),o=0;fe?new Array(s-e+1).join(" ")+this.src.slice(u,c):this.src.slice(u,c)}return l.join("")},o.prototype.Token=r,t.exports=o},90740:(t,n,e)=>{"use strict";var r=e(5935).isSpace;function i(t,n){var e=t.bMarks[n]+t.blkIndent,r=t.eMarks[n];return t.src.substr(e,r-e)}function o(t){var n,e=[],r=0,i=t.length,o=0,s=0,a=!1,u=0;for(n=t.charCodeAt(r);re)return!1;if(h=n+1,t.sCount[h]=4)return!1;if((c=t.bMarks[h]+t.tShift[h])>=t.eMarks[h])return!1;if(124!==(a=t.src.charCodeAt(c++))&&45!==a&&58!==a)return!1;for(;c=4)return!1;if((d=(f=o(u.replace(/^\||\|$/g,""))).length)>_.length)return!1;if(s)return!0;for((p=t.push("table_open","table",1)).map=v=[n,0],(p=t.push("thead_open","thead",1)).map=[n,n+1],(p=t.push("tr_open","tr",1)).map=[n,n+1],l=0;l=4);h++){for(f=o(u.replace(/^\||\|$/g,"")),p=t.push("tr_open","tr",1),l=0;l{"use strict";t.exports=function(t){var n;t.inlineMode?((n=new t.Token("inline","",0)).content=t.src,n.map=[0,1],n.children=[],t.tokens.push(n)):t.md.block.parse(t.src,t.md,t.env,t.tokens)}},86967:t=>{"use strict";t.exports=function(t){var n,e,r,i=t.tokens;for(e=0,r=i.length;e{"use strict";var r=e(5935).arrayReplaceAt;function i(t){return/^<\/a\s*>/i.test(t)}t.exports=function(t){var n,e,o,s,a,u,c,l,h,f,d,p,_,m,v,g,b,w,y=t.tokens;if(t.md.options.linkify)for(e=0,o=y.length;e=0;n--)if("link_close"!==(u=s[n]).type){if("html_inline"===u.type&&(w=u.content,/^\s]/i.test(w)&&_>0&&_--,i(u.content)&&_++),!(_>0)&&"text"===u.type&&t.md.linkify.test(u.content)){for(h=u.content,b=t.md.linkify.match(h),c=[],p=u.level,d=0,l=0;ld&&((a=new t.Token("text","",0)).content=h.slice(d,f),a.level=p,c.push(a)),(a=new t.Token("link_open","a",1)).attrs=[["href",v]],a.level=p++,a.markup="linkify",a.info="auto",c.push(a),(a=new t.Token("text","",0)).content=g,a.level=p,c.push(a),(a=new t.Token("link_close","a",-1)).level=--p,a.markup="linkify",a.info="auto",c.push(a),d=b[l].lastIndex);d{"use strict";var n=/\r\n?|\n/g,e=/\0/g;t.exports=function(t){var r;r=(r=t.src.replace(n,"\n")).replace(e,"�"),t.src=r}},40991:t=>{"use strict";var n=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,e=/\((c|tm|r|p)\)/i,r=/\((c|tm|r|p)\)/gi,i={c:"©",r:"®",p:"§",tm:"™"};function o(t,n){return i[n.toLowerCase()]}function s(t){var n,e,i=0;for(n=t.length-1;n>=0;n--)"text"!==(e=t[n]).type||i||(e.content=e.content.replace(r,o)),"link_open"===e.type&&"auto"===e.info&&i--,"link_close"===e.type&&"auto"===e.info&&i++}function a(t){var e,r,i=0;for(e=t.length-1;e>=0;e--)"text"!==(r=t[e]).type||i||n.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===r.type&&"auto"===r.info&&i--,"link_close"===r.type&&"auto"===r.info&&i++}t.exports=function(t){var r;if(t.md.options.typographer)for(r=t.tokens.length-1;r>=0;r--)"inline"===t.tokens[r].type&&(e.test(t.tokens[r].content)&&s(t.tokens[r].children),n.test(t.tokens[r].content)&&a(t.tokens[r].children))}},6656:(t,n,e)=>{"use strict";var r=e(5935).isWhiteSpace,i=e(5935).isPunctChar,o=e(5935).isMdAsciiPunct,s=/['"]/,a=/['"]/g;function u(t,n,e){return t.substr(0,n)+e+t.substr(n+1)}function c(t,n){var e,s,c,l,h,f,d,p,_,m,v,g,b,w,y,x,k,S,A,C,E;for(A=[],e=0;e=0&&!(A[k].level<=d);k--);if(A.length=k+1,"text"===s.type){h=0,f=(c=s.content).length;t:for(;h=0)_=c.charCodeAt(l.index-1);else for(k=e-1;k>=0&&"softbreak"!==t[k].type&&"hardbreak"!==t[k].type;k--)if(t[k].content){_=t[k].content.charCodeAt(t[k].content.length-1);break}if(m=32,h=48&&_<=57&&(x=y=!1),y&&x&&(y=v,x=g),y||x){if(x)for(k=A.length-1;k>=0&&(p=A[k],!(A[k].level=0;n--)"inline"===t.tokens[n].type&&s.test(t.tokens[n].content)&&c(t.tokens[n].children,t)}},35211:(t,n,e)=>{"use strict";var r=e(25135);function i(t,n,e){this.src=t,this.env=e,this.tokens=[],this.inlineMode=!1,this.md=n}i.prototype.Token=r,t.exports=i},3583:t=>{"use strict";var n=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,e=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;t.exports=function(t,r){var i,o,s,a,u,c,l=t.pos;return!(60!==t.src.charCodeAt(l)||(i=t.src.slice(l)).indexOf(">")<0||(e.test(i)?(a=(o=i.match(e))[0].slice(1,-1),u=t.md.normalizeLink(a),!t.md.validateLink(u)||(r||((c=t.push("link_open","a",1)).attrs=[["href",u]],c.markup="autolink",c.info="auto",(c=t.push("text","",0)).content=t.md.normalizeLinkText(a),(c=t.push("link_close","a",-1)).markup="autolink",c.info="auto"),t.pos+=o[0].length,0)):!n.test(i)||(a=(s=i.match(n))[0].slice(1,-1),u=t.md.normalizeLink("mailto:"+a),!t.md.validateLink(u)||(r||((c=t.push("link_open","a",1)).attrs=[["href",u]],c.markup="autolink",c.info="auto",(c=t.push("text","",0)).content=t.md.normalizeLinkText(a),(c=t.push("link_close","a",-1)).markup="autolink",c.info="auto"),t.pos+=s[0].length,0))))}},64657:t=>{"use strict";t.exports=function(t,n){var e,r,i,o,s,a,u=t.pos;if(96!==t.src.charCodeAt(u))return!1;for(e=u,u++,r=t.posMax;u{"use strict";function n(t,n){var e,r,i,o,s,a,u,c,l={},h=n.length;for(e=0;es;r-=o.jump+1)if((o=n[r]).marker===i.marker&&(-1===a&&(a=r),o.open&&o.end<0&&(u=!1,(o.close||i.open)&&(o.length+i.length)%3==0&&(o.length%3==0&&i.length%3==0||(u=!0)),!u))){c=r>0&&!n[r-1].open?n[r-1].jump+1:0,i.jump=e-r+c,i.open=!1,o.end=e,o.jump=c,o.close=!1,a=-1;break}-1!==a&&(l[i.marker][(i.length||0)%3]=a)}}t.exports=function(t){var e,r=t.tokens_meta,i=t.tokens_meta.length;for(n(0,t.delimiters),e=0;e{"use strict";function n(t,n){var e,r,i,o,s,a;for(e=n.length-1;e>=0;e--)95!==(r=n[e]).marker&&42!==r.marker||-1!==r.end&&(i=n[r.end],a=e>0&&n[e-1].end===r.end+1&&n[e-1].token===r.token-1&&n[r.end+1].token===i.token+1&&n[e-1].marker===r.marker,s=String.fromCharCode(r.marker),(o=t.tokens[r.token]).type=a?"strong_open":"em_open",o.tag=a?"strong":"em",o.nesting=1,o.markup=a?s+s:s,o.content="",(o=t.tokens[i.token]).type=a?"strong_close":"em_close",o.tag=a?"strong":"em",o.nesting=-1,o.markup=a?s+s:s,o.content="",a&&(t.tokens[n[e-1].token].content="",t.tokens[n[r.end+1].token].content="",e--))}t.exports.q=function(t,n){var e,r,i=t.pos,o=t.src.charCodeAt(i);if(n)return!1;if(95!==o&&42!==o)return!1;for(r=t.scanDelims(t.pos,42===o),e=0;e{"use strict";var r=e(4656),i=e(5935).has,o=e(5935).isValidEntityCode,s=e(5935).fromCodePoint,a=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,u=/^&([a-z][a-z0-9]{1,31});/i;t.exports=function(t,n){var e,c,l=t.pos,h=t.posMax;if(38!==t.src.charCodeAt(l))return!1;if(l+1{"use strict";for(var r=e(5935).isSpace,i=[],o=0;o<256;o++)i.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(t){i[t.charCodeAt(0)]=1})),t.exports=function(t,n){var e,o=t.pos,s=t.posMax;if(92!==t.src.charCodeAt(o))return!1;if(++o{"use strict";var r=e(95297).l;t.exports=function(t,n){var e,i,o,s=t.pos;return!(!t.md.options.html||(o=t.posMax,60!==t.src.charCodeAt(s)||s+2>=o||33!==(e=t.src.charCodeAt(s+1))&&63!==e&&47!==e&&!function(t){var n=32|t;return n>=97&&n<=122}(e)||!(i=t.src.slice(s).match(r))||(n||(t.push("html_inline","",0).content=t.src.slice(s,s+i[0].length)),t.pos+=i[0].length,0)))}},37383:(t,n,e)=>{"use strict";var r=e(5935).normalizeReference,i=e(5935).isSpace;t.exports=function(t,n){var e,o,s,a,u,c,l,h,f,d,p,_,m,v="",g=t.pos,b=t.posMax;if(33!==t.src.charCodeAt(t.pos))return!1;if(91!==t.src.charCodeAt(t.pos+1))return!1;if(c=t.pos+2,(u=t.md.helpers.parseLinkLabel(t,t.pos+1,!1))<0)return!1;if((l=u+1)=b)return!1;for(m=l,(f=t.md.helpers.parseLinkDestination(t.src,l,t.posMax)).ok&&(v=t.md.normalizeLink(f.str),t.md.validateLink(v)?l=f.pos:v=""),m=l;l=b||41!==t.src.charCodeAt(l))return t.pos=g,!1;l++}else{if(void 0===t.env.references)return!1;if(l=0?a=t.src.slice(m,l++):l=u+1):l=u+1,a||(a=t.src.slice(c,u)),!(h=t.env.references[r(a)]))return t.pos=g,!1;v=h.href,d=h.title}return n||(s=t.src.slice(c,u),t.md.inline.parse(s,t.md,t.env,_=[]),(p=t.push("image","img",0)).attrs=e=[["src",v],["alt",""]],p.children=_,p.content=s,d&&e.push(["title",d])),t.pos=l,t.posMax=b,!0}},3940:(t,n,e)=>{"use strict";var r=e(5935).normalizeReference,i=e(5935).isSpace;t.exports=function(t,n){var e,o,s,a,u,c,l,h,f,d="",p=t.pos,_=t.posMax,m=t.pos,v=!0;if(91!==t.src.charCodeAt(t.pos))return!1;if(u=t.pos+1,(a=t.md.helpers.parseLinkLabel(t,t.pos,!0))<0)return!1;if((c=a+1)<_&&40===t.src.charCodeAt(c)){for(v=!1,c++;c<_&&(o=t.src.charCodeAt(c),i(o)||10===o);c++);if(c>=_)return!1;for(m=c,(l=t.md.helpers.parseLinkDestination(t.src,c,t.posMax)).ok&&(d=t.md.normalizeLink(l.str),t.md.validateLink(d)?c=l.pos:d=""),m=c;c<_&&(o=t.src.charCodeAt(c),i(o)||10===o);c++);if(l=t.md.helpers.parseLinkTitle(t.src,c,t.posMax),c<_&&m!==c&&l.ok)for(f=l.str,c=l.pos;c<_&&(o=t.src.charCodeAt(c),i(o)||10===o);c++);else f="";(c>=_||41!==t.src.charCodeAt(c))&&(v=!0),c++}if(v){if(void 0===t.env.references)return!1;if(c<_&&91===t.src.charCodeAt(c)?(m=c+1,(c=t.md.helpers.parseLinkLabel(t,c))>=0?s=t.src.slice(m,c++):c=a+1):c=a+1,s||(s=t.src.slice(u,a)),!(h=t.env.references[r(s)]))return t.pos=p,!1;d=h.href,f=h.title}return n||(t.pos=u,t.posMax=a,t.push("link_open","a",1).attrs=e=[["href",d]],f&&e.push(["title",f]),t.md.inline.tokenize(t),t.push("link_close","a",-1)),t.pos=c,t.posMax=_,!0}},51578:(t,n,e)=>{"use strict";var r=e(5935).isSpace;t.exports=function(t,n){var e,i,o=t.pos;if(10!==t.src.charCodeAt(o))return!1;for(e=t.pending.length-1,i=t.posMax,n||(e>=0&&32===t.pending.charCodeAt(e)?e>=1&&32===t.pending.charCodeAt(e-1)?(t.pending=t.pending.replace(/ +$/,""),t.push("hardbreak","br",0)):(t.pending=t.pending.slice(0,-1),t.push("softbreak","br",0)):t.push("softbreak","br",0)),o++;o{"use strict";var r=e(25135),i=e(5935).isWhiteSpace,o=e(5935).isPunctChar,s=e(5935).isMdAsciiPunct;function a(t,n,e,r){this.src=t,this.env=e,this.md=n,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[]}a.prototype.pushPending=function(){var t=new r("text","",0);return t.content=this.pending,t.level=this.pendingLevel,this.tokens.push(t),this.pending="",t},a.prototype.push=function(t,n,e){this.pending&&this.pushPending();var i=new r(t,n,e),o=null;return e<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),i.level=this.level,e>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(i),this.tokens_meta.push(o),i},a.prototype.scanDelims=function(t,n){var e,r,a,u,c,l,h,f,d,p=t,_=!0,m=!0,v=this.posMax,g=this.src.charCodeAt(t);for(e=t>0?this.src.charCodeAt(t-1):32;p{"use strict";function n(t,n){var e,r,i,o,s,a=[],u=n.length;for(e=0;e{"use strict";function n(t){switch(t){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}t.exports=function(t,e){for(var r=t.pos;r{"use strict";t.exports=function(t){var n,e,r=0,i=t.tokens,o=t.tokens.length;for(n=e=0;n0&&r++,"text"===i[n].type&&n+1{"use strict";function n(t,n,e){this.type=t,this.tag=n,this.attrs=null,this.map=null,this.nesting=e,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}n.prototype.attrIndex=function(t){var n,e,r;if(!this.attrs)return-1;for(e=0,r=(n=this.attrs).length;e=0&&(e=this.attrs[n][1]),e},n.prototype.attrJoin=function(t,n){var e=this.attrIndex(t);e<0?this.attrPush([t,n]):this.attrs[e][1]=this.attrs[e][1]+" "+n},t.exports=n},85235:t=>{"use strict";var n={};function e(t,r){var i;return"string"!=typeof r&&(r=e.defaultChars),i=function(t){var e,r,i=n[t];if(i)return i;for(i=n[t]=[],e=0;e<128;e++)r=String.fromCharCode(e),i.push(r);for(e=0;e=55296&&u<=57343?"���":String.fromCharCode(u),n+=6):240==(248&r)&&n+91114111?c+="����":(u-=65536,c+=String.fromCharCode(55296+(u>>10),56320+(1023&u))),n+=9):c+="�";return c}))}e.defaultChars=";/?:@&=+$,#",e.componentChars="",t.exports=e},26671:t=>{"use strict";var n={};function e(t,r,i){var o,s,a,u,c,l="";for("string"!=typeof r&&(i=r,r=e.defaultChars),void 0===i&&(i=!0),c=function(t){var e,r,i=n[t];if(i)return i;for(i=n[t]=[],e=0;e<128;e++)r=String.fromCharCode(e),/^[0-9a-z]$/i.test(r)?i.push(r):i.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2));for(e=0;e=55296&&a<=57343){if(a>=55296&&a<=56319&&o+1=56320&&u<=57343){l+=encodeURIComponent(t[o]+t[o+1]),o++;continue}l+="%EF%BF%BD"}else l+=encodeURIComponent(t[o]);return l}e.defaultChars=";/?:@&=+$,-_.!~*'()#",e.componentChars="-_.!~*'()",t.exports=e},76442:t=>{"use strict";t.exports=function(t){var n="";return n+=t.protocol||"",n+=t.slashes?"//":"",n+=t.auth?t.auth+"@":"",t.hostname&&-1!==t.hostname.indexOf(":")?n+="["+t.hostname+"]":n+=t.hostname||"",n+=t.port?":"+t.port:"",n+=t.pathname||"",(n+=t.search||"")+(t.hash||"")}},3473:(t,n,e)=>{"use strict";t.exports.encode=e(26671),t.exports.decode=e(85235),t.exports.format=e(76442),t.exports.parse=e(83974)},83974:t=>{"use strict";function n(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var e=/^([a-z0-9.+-]+:)/i,r=/:[0-9]*$/,i=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,o=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),s=["'"].concat(o),a=["%","/","?",";","#"].concat(s),u=["/","?","#"],c=/^[+a-z0-9A-Z_-]{0,63}$/,l=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,h={javascript:!0,"javascript:":!0},f={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};n.prototype.parse=function(t,n){var r,o,s,d,p,_=t;if(_=_.trim(),!n&&1===t.split("#").length){var m=i.exec(_);if(m)return this.pathname=m[1],m[2]&&(this.search=m[2]),this}var v=e.exec(_);if(v&&(s=(v=v[0]).toLowerCase(),this.protocol=v,_=_.substr(v.length)),(n||v||_.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(p="//"===_.substr(0,2))||v&&h[v]||(_=_.substr(2),this.slashes=!0)),!h[v]&&(p||v&&!f[v])){var g,b,w=-1;for(r=0;r127?A+="x":A+=S[C];if(!A.match(c)){var M=k.slice(0,r),$=k.slice(r+1),z=S.match(l);z&&(M.push(z[1]),$.unshift(z[2])),$.length&&(_=$.join(".")+_),this.hostname=M.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),x&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var T=_.indexOf("#");-1!==T&&(this.hash=_.substr(T),_=_.slice(0,T));var O=_.indexOf("?");return-1!==O&&(this.search=_.substr(O),_=_.slice(0,O)),_&&(this.pathname=_),f[s]&&this.hostname&&!this.pathname&&(this.pathname=""),this},n.prototype.parseHost=function(t){var n=r.exec(t);n&&(":"!==(n=n[0])&&(this.port=n.substr(1)),t=t.substr(0,t.length-n.length)),t&&(this.hostname=t)},t.exports=function(t,e){if(t&&t instanceof n)return t;var r=new n;return r.parse(t,e),r}},12218:(t,n,e)=>{"use strict";var r=e(905);function i(){}function o(){}o.resetWarningCache=i,t.exports=function(){function t(t,n,e,i,o,s){if(s!==r){var a=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 a.name="Invariant Violation",a}}function n(){return t}t.isRequired=t;var e={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:n,element:t,elementType:t,instanceOf:n,node:t,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:o,resetWarningCache:i};return e.PropTypes=e,e}},15152:(t,n,e)=>{t.exports=e(12218)()},905:t=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},52655:(t,n,e)=>{"use strict";e.r(n),e.d(n,{decode:()=>v,default:()=>y,encode:()=>g,toASCII:()=>w,toUnicode:()=>b,ucs2decode:()=>d,ucs2encode:()=>p});const r=2147483647,i=36,o=/^xn--/,s=/[^\0-\x7E]/,a=/[\x2E\u3002\uFF0E\uFF61]/g,u={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},c=Math.floor,l=String.fromCharCode;function h(t){throw new RangeError(u[t])}function f(t,n){const e=t.split("@");let r="";e.length>1&&(r=e[0]+"@",t=e[1]);const i=function(t,n){const e=[];let r=t.length;for(;r--;)e[r]=n(t[r]);return e}((t=t.replace(a,".")).split("."),n).join(".");return r+i}function d(t){const n=[];let e=0;const r=t.length;for(;e=55296&&i<=56319&&eString.fromCodePoint(...t),_=function(t,n){return t+22+75*(t<26)-((0!=n)<<5)},m=function(t,n,e){let r=0;for(t=e?c(t/700):t>>1,t+=c(t/n);t>455;r+=i)t=c(t/35);return c(r+36*t/(t+38))},v=function(t){const n=[],e=t.length;let o=0,s=128,a=72,u=t.lastIndexOf("-");u<0&&(u=0);for(let e=0;e=128&&h("not-basic"),n.push(t.charCodeAt(e));for(let f=u>0?u+1:0;f=e&&h("invalid-input");const u=(l=t.charCodeAt(f++))-48<10?l-22:l-65<26?l-65:l-97<26?l-97:i;(u>=i||u>c((r-o)/n))&&h("overflow"),o+=u*n;const d=s<=a?1:s>=a+26?26:s-a;if(uc(r/p)&&h("overflow"),n*=p}const d=n.length+1;a=m(o-u,d,0==u),c(o/d)>r-s&&h("overflow"),s+=c(o/d),o%=d,n.splice(o++,0,s)}var l;return String.fromCodePoint(...n)},g=function(t){const n=[];let e=(t=d(t)).length,o=128,s=0,a=72;for(const e of t)e<128&&n.push(l(e));let u=n.length,f=u;for(u&&n.push("-");f=o&&nc((r-s)/d)&&h("overflow"),s+=(e-o)*d,o=e;for(const e of t)if(er&&h("overflow"),e==o){let t=s;for(let e=i;;e+=i){const r=e<=a?1:e>=a+26?26:e-a;if(t0&&this.handleMarkers(x);var C=this.editor.$options;l.editorOptions.forEach((function(n){C.hasOwnProperty(n)?t.editor.setOption(n,t.props[n]):t.props[n]&&console.warn("ReactAce: editor option ".concat(n," 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(n){"string"==typeof n.exec?t.editor.commands.bindKey(n.bindKey,n.exec):t.editor.commands.addCommand(n)})),g&&this.editor.setKeyboardHandler("ace/keyboard/"+g),e&&(this.refEditor.className+=" "+e),b&&b(this.editor),this.editor.resize(),s&&this.editor.focus()},n.prototype.componentDidUpdate=function(t){for(var n=t,e=this.props,r=0;r{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.getAceInstance=n.debounce=n.editorEvents=n.editorOptions=void 0,n.editorOptions=["minLines","maxLines","readOnly","highlightActiveLine","tabSize","enableBasicAutocompletion","enableLiveAutocompletion","enableSnippets"],n.editorEvents=["onChange","onFocus","onInput","onBlur","onCopy","onPaste","onSelectionChange","onCursorChange","onScroll","handleOptions","updateRef"],n.getAceInstance=function(){var t;return"undefined"==typeof window?(e.g.window={},t=e(14124),delete e.g.window):window.ace?(t=window.ace).acequire=window.ace.require||window.ace.acequire:t=e(14124),t},n.debounce=function(t,n){var e=null;return function(){var r=this,i=arguments;clearTimeout(e),e=setTimeout((function(){t.apply(r,i)}),n)}}},84618:(t,n,e)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.diff=n.split=void 0;var r=e(74481),i=e(11151);n.diff=i.default;var o=e(42002);n.split=o.default,n.default=r.default},42002:function(t,n,e){"use strict";var r,i=this&&this.__extends||(r=function(t,n){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])},r(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function e(){this.constructor=t}r(t,n),t.prototype=null===n?Object.create(n):(e.prototype=n.prototype,new e)}),o=this&&this.__assign||function(){return o=Object.assign||function(t){for(var n,e=1,r=arguments.length;e0&&t.handleMarkers(y,n),r=0;r{"use strict";var r=e(29252);function i(){}function o(){}o.resetWarningCache=i,t.exports=function(){function t(t,n,e,i,o,s){if(s!==r){var a=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 a.name="Invariant Violation",a}}function n(){return t}t.isRequired=t;var e={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:n,element:t,elementType:t,instanceOf:n,node:t,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:o,resetWarningCache:i};return e.PropTypes=e,e}},44703:(t,n,e)=>{t.exports=e(98371)()},29252:t=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},45555:(t,n,e)=>{"use strict";var r=e(7552),i=e(13754);function o(t){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+t,e=1;e