diff --git a/build/static/index.js b/build/static/index.js index cbe8231..e2d1bce 100644 --- a/build/static/index.js +++ b/build/static/index.js @@ -1,3 +1,3 @@ -/*! For license information please see main.a43aa33a.js.LICENSE.txt */ -(()=>{var __webpack_modules__={122:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(98),s=n(289);class o{constructor(){this.timer=null,this.limit=6,this.messages=[],(0,a.rC)(this,{messages:a.LO,show:a.aD,startClearTimer:a.aD})}static getTime(){return(new Date).getTime()}show(e){this.messages.push({id:o.getTime(),title:s.Z.get((null===e||void 0===e?void 0:e.title)||e||"common.notifications.save"),description:(null===e||void 0===e?void 0:e.description)||"",type:(null===e||void 0===e?void 0:e.type)||"success"}),this.messages.length>this.limit&&this.messages.shift(),this.startClearTimer()}startClearTimer(){this.timer||(this.timer=setInterval((()=>{const e=o.getTime()-3500;this.messages=this.messages.filter((t=>(null===t||void 0===t?void 0:t.id)>e)),this.messages.length||(clearInterval(this.timer),this.timer=null)}),500))}}const r=new o},289:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u,t:()=>p});var a=n(274),s=n(359),o=(0,s.Z)("addInTranslate"),r=(0,s.Z)("createPathByKey"),i=(0,s.Z)("addInObject");function l(e,t){const n=e.split(".");let a=this.translations;for(let s=0,o=n.length;s{e=e.replace("$".concat(n+1),t||"_")})),e}get(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const t=this.translations[this.language];if(!t)return e||"";let n=t[e];for(var a=arguments.length,s=new Array(a>1?a-1:0),o=1;o{let n=t.indexOf("\n");n===t.length-1&&(n=t.indexOf(":"));const s=e+"."+t.slice(0,n),r=t.slice(n+1).trim();(0,a.Z)(this,o)[o](s,r)}))}add(e,t){t?(0,a.Z)(this,i)[i]((0,a.Z)(this,r)[r](e),t):(0,a.Z)(this,i)[i](this.translations,e)}};window.localization=d;const u=d;function p(e){return d.get(e)}},575:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{C:()=>applicationHasCustom,Z:()=>applyUrlCommands});var ts_helpers_Localization__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(289),ts_components_Notifications_store__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(122);function getParametersFromString(e){return Object.fromEntries((e||"").substring(1,1/0).split("&").map((e=>e.split("="))))}function getParametersFromURL(){const e={...getParametersFromString(location.search),...getParametersFromString(location.hash)};return delete e[""],e}function loadJsLocal(e,t){const n=document.createElement("script");n.src=e,n.async=!0,n.onload=t,n.onerror=()=>{ts_components_Notifications_store__WEBPACK_IMPORTED_MODULE_1__.Z.show("common.fileLoader.notification")},document.body.appendChild(n)}function loadJsLGlobal(url,callback){fetch(url).then((e=>e.text())).then((text=>text?"r"===text[0]?(eval(text),callback()):(window.report=text.split("\n"),void callback()):callback()))}function loadJsDump(e,t){"."===(null===e||void 0===e?void 0:e[0])?loadJsLocal(e,t):loadJsLGlobal(e,t)}function loadCssFile(e){const t=document.createElement("link");t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),document.body.appendChild(t)}let applicationHasCustom={theme:!1,title:!1};function applyUrlCommands(e){const t=getParametersFromURL(),n=t.style||t.theme;n&&(loadCssFile(n),applicationHasCustom.theme=!0);const a=t.title;a&&(document.title=decodeURIComponent(a),applicationHasCustom.title=!0);const s=t.lang||t.language;s&&(ts_helpers_Localization__WEBPACK_IMPORTED_MODULE_0__.Z.language=s);const o=t.dump||t.log;o?loadJsDump(o,(()=>e(t))):e(t)}},98:(e,t,n)=>{"use strict";n.d(t,{Fl:()=>Ne,Gf:()=>zt,LO:()=>Ce,aD:()=>At,jQ:()=>Wt,le:()=>gt,rC:()=>cn});function a(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;ae.length)&&(t=e.length);for(var n=0,a=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[a++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var B=Symbol("mobx-stored-annotations");function z(e){return Object.assign((function(t,n){U(t,n,e)}),e)}function U(e,t,n){N(e,B)||_(e,B,P({},e[B])),function(e){return e.annotationType_===Z}(n)||(e[B][t]=n)}var H=Symbol("mobx administration"),G=function(){function e(e){void 0===e&&(e="Atom"),this.name_=void 0,this.isPendingUnobservation_=!1,this.isBeingObserved_=!1,this.observers_=new Set,this.diffValue_=0,this.lastAccessedBy_=0,this.lowestObserverState_=He.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=e}var t=e.prototype;return t.onBO=function(){this.onBOL&&this.onBOL.forEach((function(e){return e()}))},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(e){return e()}))},t.reportObserved=function(){return ht(this)},t.reportChanged=function(){ut(),ft(this),pt()},t.toString=function(){return this.name_},e}(),V=T("Atom",G);function K(e,t,n){void 0===t&&(t=g),void 0===n&&(n=g);var a,s=new G(e);return t!==g&&Ft(It,s,t,a),n!==g&&Lt(s,n),s}var q={identity:function(e,t){return e===t},structural:function(e,t){return aa(e,t)},default:function(e,t){return Object.is?Object.is(e,t):e===t?0!==e||1/e===1/t:e!==e&&t!==t},shallow:function(e,t){return aa(e,t,1)}};function $(e,t,n){return Xt(e)?e:Array.isArray(e)?Ce.array(e,{name:n}):w(e)?Ce.object(e,void 0,{name:n}):S(e)?Ce.map(e,{name:n}):C(e)?Ce.set(e,{name:n}):"function"!==typeof e||Dt(e)||Yt(e)?e:k(e)?qt(e):Nt(n,e)}function Y(e){return e}var Z="override";function X(e,t){return{annotationType_:e,options_:t,make_:J,extend_:Q}}function J(e,t,n,a){var s;if(null!=(s=this.options_)&&s.bound)return null===this.extend_(e,t,n,!1)?0:1;if(a===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(Dt(n.value))return 1;var o=ee(e,this,t,n,!1);return l(a,t,o),2}function Q(e,t,n,a){var s=ee(e,this,t,n);return e.defineProperty_(t,s,a)}function ee(e,t,n,a,s){var o,r,i,l,c,m,d,u;void 0===s&&(s=lt.safeDescriptors),u=a,t.annotationType_,u.value;var p,h=a.value;null!=(o=t.options_)&&o.bound&&(h=h.bind(null!=(p=e.proxy_)?p:e.target_));return{value:Le(null!=(r=null==(i=t.options_)?void 0:i.name)?r:n.toString(),h,null!=(l=null==(c=t.options_)?void 0:c.autoAction)&&l,null!=(m=t.options_)&&m.bound?null!=(d=e.proxy_)?d:e.target_:void 0),configurable:!s||e.isPlainObject_,enumerable:!1,writable:!s}}function te(e,t){return{annotationType_:e,options_:t,make_:ne,extend_:ae}}function ne(e,t,n,a){var s;if(a===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(null!=(s=this.options_)&&s.bound&&(!N(e.target_,t)||!Yt(e.target_[t]))&&null===this.extend_(e,t,n,!1))return 0;if(Yt(n.value))return 1;var o=se(e,this,t,n,!1,!1);return l(a,t,o),2}function ae(e,t,n,a){var s,o=se(e,this,t,n,null==(s=this.options_)?void 0:s.bound);return e.defineProperty_(t,o,a)}function se(e,t,n,a,s,o){var r;void 0===o&&(o=lt.safeDescriptors),r=a,t.annotationType_,r.value;var i,l=a.value;(Yt(l)||(l=qt(l)),s)&&((l=l.bind(null!=(i=e.proxy_)?i:e.target_)).isMobXFlow=!0);return{value:l,configurable:!o||e.isPlainObject_,enumerable:!1,writable:!o}}function oe(e,t){return{annotationType_:e,options_:t,make_:re,extend_:ie}}function re(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function ie(e,t,n,a){return function(e,t,n,a){t.annotationType_,a.get;0}(0,this,0,n),e.defineComputedProperty_(t,P({},this.options_,{get:n.get,set:n.set}),a)}function le(e,t){return{annotationType_:e,options_:t,make_:ce,extend_:me}}function ce(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function me(e,t,n,a){var s,o;return function(e,t,n,a){t.annotationType_;0}(0,this),e.defineObservableProperty_(t,n.value,null!=(s=null==(o=this.options_)?void 0:o.enhancer)?s:$,a)}var de=ue();function ue(e){return{annotationType_:"true",options_:e,make_:pe,extend_:he}}function pe(e,t,n,a){var s,o,r,i;if(n.get)return Ne.make_(e,t,n,a);if(n.set){var c=Le(t.toString(),n.set);return a===e.target_?null===e.defineProperty_(t,{configurable:!lt.safeDescriptors||e.isPlainObject_,set:c})?0:2:(l(a,t,{configurable:!0,set:c}),2)}if(a!==e.target_&&"function"===typeof n.value)return k(n.value)?(null!=(i=this.options_)&&i.autoBind?qt.bound:qt).make_(e,t,n,a):(null!=(r=this.options_)&&r.autoBind?Nt.bound:Nt).make_(e,t,n,a);var m,d=!1===(null==(s=this.options_)?void 0:s.deep)?Ce.ref:Ce;"function"===typeof n.value&&null!=(o=this.options_)&&o.autoBind&&(n.value=n.value.bind(null!=(m=e.proxy_)?m:e.target_));return d.make_(e,t,n,a)}function he(e,t,n,a){var s,o,r;if(n.get)return Ne.extend_(e,t,n,a);if(n.set)return e.defineProperty_(t,{configurable:!lt.safeDescriptors||e.isPlainObject_,set:Le(t.toString(),n.set)},a);"function"===typeof n.value&&null!=(s=this.options_)&&s.autoBind&&(n.value=n.value.bind(null!=(r=e.proxy_)?r:e.target_));return(!1===(null==(o=this.options_)?void 0:o.deep)?Ce.ref:Ce).extend_(e,t,n,a)}var fe={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};function ge(e){return e||fe}Object.freeze(fe);var ye=le("observable"),ve=le("observable.ref",{enhancer:Y}),be=le("observable.shallow",{enhancer:function(e,t,n){return void 0===e||null===e||Bn(e)||xn(e)||Nn(e)||Rn(e)?e:Array.isArray(e)?Ce.array(e,{name:n,deep:!1}):w(e)?Ce.object(e,void 0,{name:n,deep:!1}):S(e)?Ce.map(e,{name:n,deep:!1}):C(e)?Ce.set(e,{name:n,deep:!1}):void 0}}),we=le("observable.struct",{enhancer:function(e,t){return aa(e,t)?t:e}}),ke=z(ye);function _e(e){return!0===e.deep?$:!1===e.deep?Y:function(e){var t,n;return e&&null!=(t=null==(n=e.options_)?void 0:n.enhancer)?t:$}(e.defaultDecorator)}function xe(e,t,n){if(!v(t))return Xt(e)?e:w(e)?Ce.object(e,t,n):Array.isArray(e)?Ce.array(e,t):S(e)?Ce.map(e,t):C(e)?Ce.set(e,t):"object"===typeof e&&null!==e?e:Ce.box(e,t);U(e,t,ye)}Object.assign(xe,ke);var Te,Se,Ce=r(xe,{box:function(e,t){var n=ge(t);return new Ue(e,_e(n),n.name,!0,n.equals)},array:function(e,t){var n=ge(t);return(!1===lt.useProxies||!1===n.proxy?Jn:hn)(e,_e(n),n.name)},map:function(e,t){var n=ge(t);return new An(e,_e(n),n.name)},set:function(e,t){var n=ge(t);return new On(e,_e(n),n.name)},object:function(e,t,n){return Bt(!1===lt.useProxies||!1===(null==n?void 0:n.proxy)?Fn({},n):function(e,t){var n,a;return h(),e=Fn(e,t),null!=(a=(n=e[H]).proxy_)?a:n.proxy_=new Proxy(e,tn)}({},n),e,t)},ref:z(ve),shallow:z(be),deep:ke,struct:z(we)}),Ee="computed",je=oe(Ee),Ae=oe("computed.struct",{equals:q.structural}),Ne=function(e,t){if(v(t))return U(e,t,je);if(w(e))return z(oe(Ee,e));var n=w(t)?t:{};return n.get=e,n.name||(n.name=e.name||""),new Ve(n)};Object.assign(Ne,je),Ne.struct=z(Ae);var De,Oe=0,Re=1,Pe=null!=(Te=null==(Se=i((function(){}),"name"))?void 0:Se.configurable)&&Te,Ie={value:"action",configurable:!0,writable:!1,enumerable:!1};function Le(e,t,n,a){function s(){return Fe(e,n,t,a||this,arguments)}return void 0===n&&(n=!1),s.isMobxAction=!0,Pe&&(Ie.value=e,Object.defineProperty(s,"name",Ie)),s}function Fe(e,t,n,s,o){var r=function(e,t,n,a){var s=!1,o=0;0;var r=lt.trackingDerivation,i=!t||!r;ut();var l=lt.allowStateChanges;i&&(et(),l=We(!0));var c=nt(!0),m={runAsAction_:i,prevDerivation_:r,prevAllowStateChanges_:l,prevAllowStateReads_:c,notifySpy_:s,startTime_:o,actionId_:Re++,parentActionId_:Oe};return Oe=m.actionId_,m}(0,t);try{return n.apply(s,o)}catch(i){throw r.error_=i,i}finally{!function(e){Oe!==e.actionId_&&a(30);Oe=e.parentActionId_,void 0!==e.error_&&(lt.suppressReactionErrors=!0);Be(e.prevAllowStateChanges_),at(e.prevAllowStateReads_),pt(),e.runAsAction_&&tt(e.prevDerivation_);0;lt.suppressReactionErrors=!1}(r)}}function Me(e,t){var n=We(e);try{return t()}finally{Be(n)}}function We(e){var t=lt.allowStateChanges;return lt.allowStateChanges=e,t}function Be(e){lt.allowStateChanges=e}De=Symbol.toPrimitive;var ze,Ue=function(e){function t(t,n,a,s,o){var r;return void 0===a&&(a="ObservableValue"),void 0===s&&(s=!0),void 0===o&&(o=q.default),(r=e.call(this,a)||this).enhancer=void 0,r.name_=void 0,r.equals=void 0,r.hasUnreportedChange_=!1,r.interceptors_=void 0,r.changeListeners_=void 0,r.value_=void 0,r.dehancer=void 0,r.enhancer=n,r.name_=a,r.equals=o,r.value_=n(t,void 0,a),r}I(t,e);var n=t.prototype;return n.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},n.set=function(e){this.value_;if((e=this.prepareNewValue_(e))!==lt.UNCHANGED){0,this.setNewValue_(e)}},n.prepareNewValue_=function(e){if(Ze(this),nn(this)){var t=sn(this,{object:this,type:dn,newValue:e});if(!t)return lt.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value_,this.name_),this.equals(this.value_,e)?lt.UNCHANGED:e},n.setNewValue_=function(e){var t=this.value_;this.value_=e,this.reportChanged(),on(this)&&ln(this,{type:dn,object:this,newValue:e,oldValue:t})},n.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},n.intercept_=function(e){return an(this,e)},n.observe_=function(e,t){return t&&e({observableKind:"value",debugObjectName:this.name_,object:this,type:dn,newValue:this.value_,oldValue:void 0}),rn(this,e)},n.raw=function(){return this.value_},n.toJSON=function(){return this.get()},n.toString=function(){return this.name_+"["+this.value_+"]"},n.valueOf=function(){return A(this.get())},n[De]=function(){return this.valueOf()},t}(G);ze=Symbol.toPrimitive;var He,Ge,Ve=function(){function e(e){this.dependenciesState_=He.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.isBeingObserved_=!1,this.isPendingUnobservation_=!1,this.observers_=new Set,this.diffValue_=0,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=He.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new qe(null),this.name_=void 0,this.triggeredBy_=void 0,this.isComputing_=!1,this.isRunningSetter_=!1,this.derivation=void 0,this.setter_=void 0,this.isTracing_=Ge.NONE,this.scope_=void 0,this.equals_=void 0,this.requiresReaction_=void 0,this.keepAlive_=void 0,this.onBOL=void 0,this.onBUOL=void 0,e.get||a(31),this.derivation=e.get,this.name_=e.name||"ComputedValue",e.set&&(this.setter_=Le("ComputedValue-setter",e.set)),this.equals_=e.equals||(e.compareStructural||e.struct?q.structural:q.default),this.scope_=e.context,this.requiresReaction_=e.requiresReaction,this.keepAlive_=!!e.keepAlive}var t=e.prototype;return t.onBecomeStale_=function(){!function(e){if(e.lowestObserverState_!==He.UP_TO_DATE_)return;e.lowestObserverState_=He.POSSIBLY_STALE_,e.observers_.forEach((function(e){e.dependenciesState_===He.UP_TO_DATE_&&(e.dependenciesState_=He.POSSIBLY_STALE_,e.onBecomeStale_())}))}(this)},t.onBO=function(){this.onBOL&&this.onBOL.forEach((function(e){return e()}))},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(e){return e()}))},t.get=function(){if(this.isComputing_&&a(32,this.name_,this.derivation),0!==lt.inBatch||0!==this.observers_.size||this.keepAlive_){if(ht(this),Ye(this)){var e=lt.trackingContext;this.keepAlive_&&!e&&(lt.trackingContext=this),this.trackAndCompute()&&function(e){if(e.lowestObserverState_===He.STALE_)return;e.lowestObserverState_=He.STALE_,e.observers_.forEach((function(t){t.dependenciesState_===He.POSSIBLY_STALE_?t.dependenciesState_=He.STALE_:t.dependenciesState_===He.UP_TO_DATE_&&(e.lowestObserverState_=He.UP_TO_DATE_)}))}(this),lt.trackingContext=e}}else Ye(this)&&(this.warnAboutUntrackedRead_(),ut(),this.value_=this.computeValue_(!1),pt());var t=this.value_;if($e(t))throw t.cause;return t},t.set=function(e){if(this.setter_){this.isRunningSetter_&&a(33,this.name_),this.isRunningSetter_=!0;try{this.setter_.call(this.scope_,e)}finally{this.isRunningSetter_=!1}}else a(34,this.name_)},t.trackAndCompute=function(){var e=this.value_,t=this.dependenciesState_===He.NOT_TRACKING_,n=this.computeValue_(!0),a=t||$e(e)||$e(n)||!this.equals_(e,n);return a&&(this.value_=n),a},t.computeValue_=function(e){this.isComputing_=!0;var t,n=We(!1);if(e)t=Xe(this,this.derivation,this.scope_);else if(!0===lt.disableErrorBoundaries)t=this.derivation.call(this.scope_);else try{t=this.derivation.call(this.scope_)}catch(a){t=new qe(a)}return Be(n),this.isComputing_=!1,t},t.suspend_=function(){this.keepAlive_||(Je(this),this.value_=void 0)},t.observe_=function(e,t){var n=this,a=!0,s=void 0;return Ot((function(){var o=n.get();if(!a||t){var r=et();e({observableKind:"computed",debugObjectName:n.name_,type:dn,object:n,newValue:o,oldValue:s}),tt(r)}a=!1,s=o}))},t.warnAboutUntrackedRead_=function(){},t.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},t.valueOf=function(){return A(this.get())},t[ze]=function(){return this.valueOf()},e}(),Ke=T("ComputedValue",Ve);!function(e){e[e.NOT_TRACKING_=-1]="NOT_TRACKING_",e[e.UP_TO_DATE_=0]="UP_TO_DATE_",e[e.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",e[e.STALE_=2]="STALE_"}(He||(He={})),function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"}(Ge||(Ge={}));var qe=function(e){this.cause=void 0,this.cause=e};function $e(e){return e instanceof qe}function Ye(e){switch(e.dependenciesState_){case He.UP_TO_DATE_:return!1;case He.NOT_TRACKING_:case He.STALE_:return!0;case He.POSSIBLY_STALE_:for(var t=nt(!0),n=et(),a=e.observing_,s=a.length,o=0;oa&&(a=i.dependenciesState_)}n.length=s,e.newObserving_=null,o=t.length;for(;o--;){var l=t[o];0===l.diffValue_&&mt(l,e),l.diffValue_=0}for(;s--;){var c=n[s];1===c.diffValue_&&(c.diffValue_=0,ct(c,e))}a!==He.UP_TO_DATE_&&(e.dependenciesState_=a,e.onBecomeStale_())}(e),at(a),s}function Je(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)mt(t[n],e);e.dependenciesState_=He.NOT_TRACKING_}function Qe(e){var t=et();try{return e()}finally{tt(t)}}function et(){var e=lt.trackingDerivation;return lt.trackingDerivation=null,e}function tt(e){lt.trackingDerivation=e}function nt(e){var t=lt.allowStateReads;return lt.allowStateReads=e,t}function at(e){lt.allowStateReads=e}function st(e){if(e.dependenciesState_!==He.UP_TO_DATE_){e.dependenciesState_=He.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=He.UP_TO_DATE_}}var ot=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0},rt=!0,it=!1,lt=function(){var e=o();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(rt=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new ot).version&&(rt=!1),rt?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new ot):(setTimeout((function(){it||a(35)}),1),new ot)}();function ct(e,t){e.observers_.add(t),e.lowestObserverState_>t.dependenciesState_&&(e.lowestObserverState_=t.dependenciesState_)}function mt(e,t){e.observers_.delete(t),0===e.observers_.size&&dt(e)}function dt(e){!1===e.isPendingUnobservation_&&(e.isPendingUnobservation_=!0,lt.pendingUnobservations.push(e))}function ut(){lt.inBatch++}function pt(){if(0===--lt.inBatch){vt();for(var e=lt.pendingUnobservations,t=0;t0&&dt(e),!1)}function ft(e){e.lowestObserverState_!==He.STALE_&&(e.lowestObserverState_=He.STALE_,e.observers_.forEach((function(e){e.dependenciesState_===He.UP_TO_DATE_&&e.onBecomeStale_(),e.dependenciesState_=He.STALE_})))}var gt=function(){function e(e,t,n,a){void 0===e&&(e="Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=He.NOT_TRACKING_,this.diffValue_=0,this.runId_=0,this.unboundDepsCount_=0,this.isDisposed_=!1,this.isScheduled_=!1,this.isTrackPending_=!1,this.isRunning_=!1,this.isTracing_=Ge.NONE,this.name_=e,this.onInvalidate_=t,this.errorHandler_=n,this.requiresObservable_=a}var t=e.prototype;return t.onBecomeStale_=function(){this.schedule_()},t.schedule_=function(){this.isScheduled_||(this.isScheduled_=!0,lt.pendingReactions.push(this),vt())},t.isScheduled=function(){return this.isScheduled_},t.runReaction_=function(){if(!this.isDisposed_){ut(),this.isScheduled_=!1;var e=lt.trackingContext;if(lt.trackingContext=this,Ye(this)){this.isTrackPending_=!0;try{this.onInvalidate_()}catch(t){this.reportExceptionInDerivation_(t)}}lt.trackingContext=e,pt()}},t.track=function(e){if(!this.isDisposed_){ut();0,this.isRunning_=!0;var t=lt.trackingContext;lt.trackingContext=this;var n=Xe(this,e,void 0);lt.trackingContext=t,this.isRunning_=!1,this.isTrackPending_=!1,this.isDisposed_&&Je(this),$e(n)&&this.reportExceptionInDerivation_(n.cause),pt()}},t.reportExceptionInDerivation_=function(e){var t=this;if(this.errorHandler_)this.errorHandler_(e,this);else{if(lt.disableErrorBoundaries)throw e;var n="[mobx] uncaught error in '"+this+"'";lt.suppressReactionErrors||console.error(n,e),lt.globalReactionErrorHandlers.forEach((function(n){return n(e,t)}))}},t.dispose=function(){this.isDisposed_||(this.isDisposed_=!0,this.isRunning_||(ut(),Je(this),pt()))},t.getDisposer_=function(){var e=this.dispose.bind(this);return e[H]=this,e},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(e){void 0===e&&(e=!1),function(){a("trace() is not available in production builds");for(var e=!1,t=arguments.length,n=new Array(t),s=0;s0||lt.isRunningReactions||yt(bt)}function bt(){lt.isRunningReactions=!0;for(var e=lt.pendingReactions,t=0;e.length>0;){100===++t&&(console.error("[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var n=e.splice(0),a=0,s=n.length;a0&&(n.dependencies=(t=e.observing_,Array.from(new Set(t))).map(Ut)),n}var Ht=0;function Gt(){this.message="FLOW_CANCELLED"}Gt.prototype=Object.create(Error.prototype);var Vt=te("flow"),Kt=te("flow.bound",{bound:!0}),qt=Object.assign((function(e,t){if(v(t))return U(e,t,Vt);var n=e,a=n.name||"",s=function(){var e,t=this,s=arguments,o=++Ht,r=At(a+" - runid: "+o+" - init",n).apply(t,s),i=void 0,l=new Promise((function(t,n){var s=0;function l(e){var t;i=void 0;try{t=At(a+" - runid: "+o+" - yield "+s++,r.next).call(r,e)}catch(l){return n(l)}m(t)}function c(e){var t;i=void 0;try{t=At(a+" - runid: "+o+" - yield "+s++,r.throw).call(r,e)}catch(l){return n(l)}m(t)}function m(e){if(!y(null==e?void 0:e.then))return e.done?t(e.value):(i=Promise.resolve(e.value)).then(l,c);e.then(m,n)}e=n,l(void 0)}));return l.cancel=At(a+" - runid: "+o+" - cancel",(function(){try{i&&$t(i);var t=r.return(void 0),n=Promise.resolve(t.value);n.then(g,g),$t(n),e(new Gt)}catch(a){e(a)}})),l};return s.isMobXFlow=!0,s}),Vt);function $t(e){y(e.cancel)&&e.cancel()}function Yt(e){return!0===(null==e?void 0:e.isMobXFlow)}function Zt(e,t){return!!e&&(void 0!==t?!!Bn(e)&&e[H].values_.has(t):Bn(e)||!!e[H]||V(e)||wt(e)||Ke(e))}function Xt(e){return Zt(e)}function Jt(e){switch(e.length){case 0:return lt.trackingDerivation;case 1:return Qn(e[0]);case 2:return Qn(e[0],e[1])}}function Qt(e,t){void 0===t&&(t=void 0),ut();try{return e.apply(t)}finally{pt()}}function en(e){return e[H]}qt.bound=z(Kt);var tn={has:function(e,t){return en(e).has_(t)},get:function(e,t){return en(e).get_(t)},set:function(e,t,n){var a;return!!v(t)&&(null==(a=en(e).set_(t,n,!0))||a)},deleteProperty:function(e,t){var n;return!!v(t)&&(null==(n=en(e).delete_(t,!0))||n)},defineProperty:function(e,t,n){var a;return null==(a=en(e).defineProperty_(t,n))||a},ownKeys:function(e){return en(e).ownKeys_()},preventExtensions:function(e){a(13)}};function nn(e){return void 0!==e.interceptors_&&e.interceptors_.length>0}function an(e,t){var n=e.interceptors_||(e.interceptors_=[]);return n.push(t),f((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function sn(e,t){var n=et();try{for(var s=[].concat(e.interceptors_||[]),o=0,r=s.length;o0}function rn(e,t){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(t),f((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function ln(e,t){var n=et(),a=e.changeListeners_;if(a){for(var s=0,o=(a=a.slice()).length;s0?e.map(this.dehancer):e},t.intercept_=function(e){return an(this,e)},t.observe_=function(e,t){return void 0===t&&(t=!1),t&&e({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),rn(this,e)},t.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},t.setArrayLength_=function(e){("number"!==typeof e||isNaN(e)||e<0)&&a("Out of range: "+e);var t=this.values_.length;if(e!==t)if(e>t){for(var n=new Array(e-t),s=0;s0&&Xn(e+t+1)},t.spliceWithArray_=function(e,t,n){var a=this;this.atom_;var s=this.values_.length;if(void 0===e?e=0:e>s?e=s:e<0&&(e=Math.max(0,s+e)),t=1===arguments.length?s-e:void 0===t||null===t?0:Math.max(0,Math.min(t,s-e)),void 0===n&&(n=m),nn(this)){var o=sn(this,{object:this.proxy_,type:mn,index:e,removedCount:t,added:n});if(!o)return m;t=o.removedCount,n=o.added}if(n=0===n.length?n:n.map((function(e){return a.enhancer_(e,void 0)})),this.legacyMode_){var r=n.length-t;this.updateArrayLength_(s,r)}var i=this.spliceItemsIntoValues_(e,t,n);return 0===t&&0===n.length||this.notifyArraySplice_(e,n,i),this.dehanceValues_(i)},t.spliceItemsIntoValues_=function(e,t,n){var a;if(n.length<1e4)return(a=this.values_).splice.apply(a,[e,t].concat(n));var s=this.values_.slice(e,e+t),o=this.values_.slice(e+t);this.values_.length+=n.length-t;for(var r=0;r=this.values_.length))return this.atom_.reportObserved(),this.dehanceValue_(this.values_[e]);console.warn("[mobx] Out of bounds read: "+e)},t.set_=function(e,t){var n=this.values_;if(this.legacyMode_&&e>n.length&&a(17,e,n.length),e2?n-2:0),s=2;s-1&&(this.splice(n,1),!0)}};function gn(e,t){"function"===typeof Array.prototype[e]&&(fn[e]=t(e))}function yn(e){return function(){var t=this[H];t.atom_.reportObserved();var n=t.dehanceValues_(t.values_);return n[e].apply(n,arguments)}}function vn(e){return function(t,n){var a=this,s=this[H];return s.atom_.reportObserved(),s.dehanceValues_(s.values_)[e]((function(e,s){return t.call(n,e,s,a)}))}}function bn(e){return function(){var t=this,n=this[H];n.atom_.reportObserved();var a=n.dehanceValues_(n.values_),s=arguments[0];return arguments[0]=function(e,n,a){return s(e,n,a,t)},a[e].apply(a,arguments)}}gn("concat",yn),gn("flat",yn),gn("includes",yn),gn("indexOf",yn),gn("join",yn),gn("lastIndexOf",yn),gn("slice",yn),gn("toString",yn),gn("toLocaleString",yn),gn("every",vn),gn("filter",vn),gn("find",vn),gn("findIndex",vn),gn("flatMap",vn),gn("forEach",vn),gn("map",vn),gn("some",vn),gn("reduce",bn),gn("reduceRight",bn);var wn,kn,_n=T("ObservableArrayAdministration",pn);function xn(e){return b(e)&&_n(e[H])}var Tn={},Sn="add",Cn="delete";wn=Symbol.iterator,kn=Symbol.toStringTag;var En,jn,An=function(){function e(e,t,n){var s=this;void 0===t&&(t=$),void 0===n&&(n="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[H]=Tn,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=t,this.name_=n,y(Map)||a(18),this.keysAtom_=K("ObservableMap.keys()"),this.data_=new Map,this.hasMap_=new Map,Me(!0,(function(){s.merge(e)}))}var t=e.prototype;return t.has_=function(e){return this.data_.has(e)},t.has=function(e){var t=this;if(!lt.trackingDerivation)return this.has_(e);var n=this.hasMap_.get(e);if(!n){var a=n=new Ue(this.has_(e),Y,"ObservableMap.key?",!1);this.hasMap_.set(e,a),Lt(a,(function(){return t.hasMap_.delete(e)}))}return n.get()},t.set=function(e,t){var n=this.has_(e);if(nn(this)){var a=sn(this,{type:n?dn:Sn,object:this,newValue:t,name:e});if(!a)return this;t=a.newValue}return n?this.updateValue_(e,t):this.addValue_(e,t),this},t.delete=function(e){var t=this;if((this.keysAtom_,nn(this))&&!sn(this,{type:Cn,object:this,name:e}))return!1;if(this.has_(e)){var n=on(this),a=n?{observableKind:"map",debugObjectName:this.name_,type:Cn,object:this,oldValue:this.data_.get(e).value_,name:e}:null;return Qt((function(){var n;t.keysAtom_.reportChanged(),null==(n=t.hasMap_.get(e))||n.setNewValue_(!1),t.data_.get(e).setNewValue_(void 0),t.data_.delete(e)})),n&&ln(this,a),!0}return!1},t.updateValue_=function(e,t){var n=this.data_.get(e);if((t=n.prepareNewValue_(t))!==lt.UNCHANGED){var a=on(this),s=a?{observableKind:"map",debugObjectName:this.name_,type:dn,object:this,oldValue:n.value_,name:e,newValue:t}:null;0,n.setNewValue_(t),a&&ln(this,s)}},t.addValue_=function(e,t){var n=this;this.keysAtom_,Qt((function(){var a,s=new Ue(t,n.enhancer_,"ObservableMap.key",!1);n.data_.set(e,s),t=s.value_,null==(a=n.hasMap_.get(e))||a.setNewValue_(!0),n.keysAtom_.reportChanged()}));var a=on(this),s=a?{observableKind:"map",debugObjectName:this.name_,type:Sn,object:this,name:e,newValue:t}:null;a&&ln(this,s)},t.get=function(e){return this.has(e)?this.dehanceValue_(this.data_.get(e).get()):this.dehanceValue_(void 0)},t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},t.values=function(){var e=this,t=this.keys();return ra({next:function(){var n=t.next(),a=n.done,s=n.value;return{done:a,value:a?void 0:e.get(s)}}})},t.entries=function(){var e=this,t=this.keys();return ra({next:function(){var n=t.next(),a=n.done,s=n.value;return{done:a,value:a?void 0:[s,e.get(s)]}}})},t[wn]=function(){return this.entries()},t.forEach=function(e,t){for(var n,a=W(this);!(n=a()).done;){var s=n.value,o=s[0],r=s[1];e.call(t,r,o,this)}},t.merge=function(e){var t=this;return Nn(e)&&(e=new Map(e)),Qt((function(){w(e)?function(e){var t=Object.keys(e);if(!E)return t;var n=Object.getOwnPropertySymbols(e);return n.length?[].concat(t,n.filter((function(t){return c.propertyIsEnumerable.call(e,t)}))):t}(e).forEach((function(n){return t.set(n,e[n])})):Array.isArray(e)?e.forEach((function(e){var n=e[0],a=e[1];return t.set(n,a)})):S(e)?(e.constructor!==Map&&a(19,e),e.forEach((function(e,n){return t.set(n,e)}))):null!==e&&void 0!==e&&a(20,e)})),this},t.clear=function(){var e=this;Qt((function(){Qe((function(){for(var t,n=W(e.keys());!(t=n()).done;){var a=t.value;e.delete(a)}}))}))},t.replace=function(e){var t=this;return Qt((function(){for(var n,s=function(e){if(S(e)||Nn(e))return e;if(Array.isArray(e))return new Map(e);if(w(e)){var t=new Map;for(var n in e)t.set(n,e[n]);return t}return a(21,e)}(e),o=new Map,r=!1,i=W(t.data_.keys());!(n=i()).done;){var l=n.value;if(!s.has(l))if(t.delete(l))r=!0;else{var c=t.data_.get(l);o.set(l,c)}}for(var m,d=W(s.entries());!(m=d()).done;){var u=m.value,p=u[0],h=u[1],f=t.data_.has(p);if(t.set(p,h),t.data_.has(p)){var g=t.data_.get(p);o.set(p,g),f||(r=!0)}}if(!r)if(t.data_.size!==o.size)t.keysAtom_.reportChanged();else for(var y=t.data_.keys(),v=o.keys(),b=y.next(),k=v.next();!b.done;){if(b.value!==k.value){t.keysAtom_.reportChanged();break}b=y.next(),k=v.next()}t.data_=o})),this},t.toString=function(){return"[object ObservableMap]"},t.toJSON=function(){return Array.from(this)},t.observe_=function(e,t){return rn(this,e)},t.intercept_=function(e){return an(this,e)},R(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:kn,get:function(){return"Map"}}]),e}(),Nn=T("ObservableMap",An);var Dn={};En=Symbol.iterator,jn=Symbol.toStringTag;var On=function(){function e(e,t,n){void 0===t&&(t=$),void 0===n&&(n="ObservableSet"),this.name_=void 0,this[H]=Dn,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=n,y(Set)||a(22),this.atom_=K(this.name_),this.enhancer_=function(e,a){return t(e,a,n)},e&&this.replace(e)}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.clear=function(){var e=this;Qt((function(){Qe((function(){for(var t,n=W(e.data_.values());!(t=n()).done;){var a=t.value;e.delete(a)}}))}))},t.forEach=function(e,t){for(var n,a=W(this);!(n=a()).done;){var s=n.value;e.call(t,s,s,this)}},t.add=function(e){var t=this;if((this.atom_,nn(this))&&!sn(this,{type:Sn,object:this,newValue:e}))return this;if(!this.has(e)){Qt((function(){t.data_.add(t.enhancer_(e,void 0)),t.atom_.reportChanged()}));var n=!1,a=on(this),s=a?{observableKind:"set",debugObjectName:this.name_,type:Sn,object:this,newValue:e}:null;n,a&&ln(this,s)}return this},t.delete=function(e){var t=this;if(nn(this)&&!sn(this,{type:Cn,object:this,oldValue:e}))return!1;if(this.has(e)){var n=on(this),a=n?{observableKind:"set",debugObjectName:this.name_,type:Cn,object:this,oldValue:e}:null;return Qt((function(){t.atom_.reportChanged(),t.data_.delete(e)})),n&&ln(this,a),!0}return!1},t.has=function(e){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(e))},t.entries=function(){var e=0,t=Array.from(this.keys()),n=Array.from(this.values());return ra({next:function(){var a=e;return e+=1,aKn){for(var t=Kn;t=0&&n++}e=oa(e),t=oa(t);var i="[object Array]"===r;if(!i){if("object"!=typeof e||"object"!=typeof t)return!1;var l=e.constructor,c=t.constructor;if(l!==c&&!(y(l)&&l instanceof l&&y(c)&&c instanceof c)&&"constructor"in e&&"constructor"in t)return!1}if(0===n)return!1;n<0&&(n=-1),s=s||[];for(var m=(a=a||[]).length;m--;)if(a[m]===e)return s[m]===t;if(a.push(e),s.push(t),i){if((m=e.length)!==t.length)return!1;for(;m--;)if(!sa(e[m],t[m],n-1,a,s))return!1}else{var d,u=Object.keys(e);if(m=u.length,Object.keys(t).length!==m)return!1;for(;m--;)if(!N(t,d=u[m])||!sa(e[d],t[d],n-1,a,s))return!1}return a.pop(),s.pop(),!0}function oa(e){return xn(e)?e.slice():S(e)||Nn(e)||C(e)||Rn(e)?Array.from(e.entries()):e}function ra(e){return e[Symbol.iterator]=ia,e}function ia(){return this}["Symbol","Map","Set"].forEach((function(e){"undefined"===typeof o()[e]&&a("MobX requires global '"+e+"' to be available or polyfilled")})),"object"===typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:function(e){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}},extras:{getDebugName:ta},$mobx:H})},463:(e,t,n)=>{"use strict";var a=n(791),s=n(296);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n