Created
April 20, 2021 05:37
-
-
Save paulshen/912bd3ad9beecf17584ad1df9c5150e0 to your computer and use it in GitHub Desktop.
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!function(A){var e={};function t(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return A[i].call(r.exports,r,r.exports,t),r.l=!0,r.exports}t.m=A,t.c=e,t.d=function(A,e,i){t.o(A,e)||Object.defineProperty(A,e,{enumerable:!0,get:i})},t.r=function(A){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(A,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(A,"__esModule",{value:!0})},t.t=function(A,e){if(1&e&&(A=t(A)),8&e)return A;if(4&e&&"object"==typeof A&&A&&A.__esModule)return A;var i=Object.create(null);if(t.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:A}),2&e&&"string"!=typeof A)for(var r in A)t.d(i,r,function(e){return A[e]}.bind(null,r));return i},t.n=function(A){var e=A&&A.__esModule?function(){return A.default}:function(){return A};return t.d(e,"a",e),e},t.o=function(A,e){return Object.prototype.hasOwnProperty.call(A,e)},t.p="",t(t.s=224)}([function(A,e,t){"use strict";function i(A){return A&&0===A.length}function r(A){return null==A?[]:Object.keys(A)}function n(A){for(var e=[],t=Object.keys(A),i=0;i<t.length;i++)e.push(A[t[i]]);return e}function g(A,e){for(var t=[],i=r(A),n=0;n<i.length;n++){var g=i[n];t.push(e.call(null,A[g],g))}return t}function o(A,e){for(var t=[],i=0;i<A.length;i++)t.push(e.call(null,A[i],i));return t}function a(A){for(var e=[],t=0;t<A.length;t++){var i=A[t];Array.isArray(i)?e=e.concat(a(i)):e.push(i)}return e}function I(A){return i(A)?void 0:A[0]}function C(A){var e=A&&A.length;return e?A[e-1]:void 0}function s(A,e){if(Array.isArray(A))for(var t=0;t<A.length;t++)e.call(null,A[t],t);else{if(!G(A))throw Error("non exhaustive match");var i=r(A);for(t=0;t<i.length;t++){var n=i[t],g=A[n];e.call(null,g,n)}}}function c(A){return"string"==typeof A}function l(A){return void 0===A}function B(A){return A instanceof Function}function Q(A,e){return void 0===e&&(e=1),A.slice(e,A.length)}function u(A,e){return void 0===e&&(e=1),A.slice(0,A.length-e)}function E(A,e){var t=[];if(Array.isArray(A))for(var i=0;i<A.length;i++){var r=A[i];e.call(null,r)&&t.push(r)}return t}function h(A,e){return E(A,(function(A){return!e(A)}))}function f(A,e){for(var t=Object.keys(A),i={},r=0;r<t.length;r++){var n=t[r],g=A[n];e(g)&&(i[n]=g)}return i}function d(A,e){return!!G(A)&&A.hasOwnProperty(e)}function p(A,e){return void 0!==D(A,(function(A){return A===e}))}function y(A){for(var e=[],t=0;t<A.length;t++)e.push(A[t]);return e}function w(A){var e={};for(var t in A)Object.prototype.hasOwnProperty.call(A,t)&&(e[t]=A[t]);return e}function D(A,e){for(var t=0;t<A.length;t++){var i=A[t];if(e.call(null,i))return i}}function v(A,e){for(var t=[],i=0;i<A.length;i++){var r=A[i];e.call(null,r)&&t.push(r)}return t}function m(A,e,t){for(var i=Array.isArray(A),g=i?A:n(A),o=i?[]:r(A),a=t,I=0;I<g.length;I++)a=e.call(null,a,g[I],i?I:o[I]);return a}function b(A){return h(A,(function(A){return null==A}))}function k(A,e){void 0===e&&(e=function(A){return A});var t=[];return m(A,(function(A,i){var r=e(i);return p(t,r)?A:(t.push(r),A.concat(i))}),[])}function N(A){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];var i=[null],r=i.concat(e);return Function.bind.apply(A,r)}function M(A){return Array.isArray(A)}function R(A){return A instanceof RegExp}function G(A){return A instanceof Object}function F(A,e){for(var t=0;t<A.length;t++)if(!e(A[t],t))return!1;return!0}function x(A,e){return h(A,(function(A){return p(e,A)}))}function S(A,e){for(var t=0;t<A.length;t++)if(e(A[t]))return!0;return!1}function Y(A,e){for(var t=0;t<A.length;t++)if(A[t]===e)return t;return-1}function _(A,e){var t=y(A);return t.sort((function(A,t){return e(A)-e(t)})),t}function U(A,e){if(A.length!==e.length)throw Error("can't zipObject with different number of keys and values!");for(var t={},i=0;i<A.length;i++)t[A[i]]=e[i];return t}function L(A){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];for(var i=0;i<e.length;i++)for(var n=e[i],g=r(n),o=0;o<g.length;o++){var a=g[o];A[a]=n[a]}return A}function K(A){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];for(var i=0;i<e.length;i++){var n=e[i];if(!l(n))for(var g=r(n),o=0;o<g.length;o++){var a=g[o];d(A,a)||(A[a]=n[a])}}return A}function J(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];return K.apply(null,[{}].concat(A))}function T(A,e){var t={};return s(A,(function(A){var i=e(A),r=t[i];r?r.push(A):t[i]=[A]})),t}function H(A,e){for(var t=w(A),i=r(e),n=0;n<i.length;n++){var g=i[n],o=e[g];t[g]=o}return t}function O(){}function q(A){return A}function j(A){for(var e=[],t=0;t<A.length;t++){var i=A[t];e.push(void 0!==i?i:void 0)}return e}function P(A){console&&console.error&&console.error("Error: "+A)}function V(A){console&&console.warn&&console.warn("Warning: "+A)}function z(){return"function"==typeof Map}function Z(A,e){e.forEach((function(e){var t=e.prototype;Object.getOwnPropertyNames(t).forEach((function(i){if("constructor"!==i){var r=Object.getOwnPropertyDescriptor(t,i);r&&(r.get||r.set)?Object.defineProperty(A.prototype,i,r):A.prototype[i]=e.prototype[i]}}))}))}function X(A){function e(){}e.prototype=A;var t=new e;function i(){return typeof t.bar}return i(),i(),A}function W(A){return A[A.length-1]}function $(A){var e=(new Date).getTime(),t=A();return{time:(new Date).getTime()-e,value:t}}t.d(e,"A",(function(){return i})),t.d(e,"G",(function(){return r})),t.d(e,"U",(function(){return n})),t.d(e,"J",(function(){return g})),t.d(e,"I",(function(){return o})),t.d(e,"t",(function(){return a})),t.d(e,"s",(function(){return I})),t.d(e,"H",(function(){return C})),t.d(e,"u",(function(){return s})),t.d(e,"E",(function(){return c})),t.d(e,"F",(function(){return l})),t.d(e,"B",(function(){return B})),t.d(e,"m",(function(){return Q})),t.d(e,"n",(function(){return u})),t.d(e,"p",(function(){return E})),t.d(e,"P",(function(){return h})),t.d(e,"N",(function(){return f})),t.d(e,"w",(function(){return d})),t.d(e,"j",(function(){return p})),t.d(e,"g",(function(){return y})),t.d(e,"h",(function(){return w})),t.d(e,"q",(function(){return D})),t.d(e,"r",(function(){return v})),t.d(e,"O",(function(){return m})),t.d(e,"i",(function(){return b})),t.d(e,"T",(function(){return k})),t.d(e,"y",(function(){return M})),t.d(e,"D",(function(){return R})),t.d(e,"C",(function(){return G})),t.d(e,"o",(function(){return F})),t.d(e,"l",(function(){return x})),t.d(e,"Q",(function(){return S})),t.d(e,"x",(function(){return Y})),t.d(e,"f",(function(){return L})),t.d(e,"k",(function(){return J})),t.d(e,"v",(function(){return T})),t.d(e,"K",(function(){return H})),t.d(e,"b",(function(){return O})),t.d(e,"a",(function(){return q})),t.d(e,"L",(function(){return j})),t.d(e,"c",(function(){return P})),t.d(e,"d",(function(){return V})),t.d(e,"z",(function(){return z})),t.d(e,"e",(function(){return Z})),t.d(e,"S",(function(){return X})),t.d(e,"M",(function(){return W})),t.d(e,"R",(function(){return $}))},function(A,e,t){"use strict";A.exports=t(228)},function(A,e,t){A.exports=t(256)()},function(A,e,t){"use strict";t.r(e),t.d(e,"bisect",(function(){return a})),t.d(e,"bisectRight",(function(){return g})),t.d(e,"bisectLeft",(function(){return o})),t.d(e,"ascending",(function(){return i})),t.d(e,"bisector",(function(){return r})),t.d(e,"cross",(function(){return s})),t.d(e,"descending",(function(){return c})),t.d(e,"deviation",(function(){return Q})),t.d(e,"extent",(function(){return u})),t.d(e,"histogram",(function(){return M})),t.d(e,"thresholdFreedmanDiaconis",(function(){return G})),t.d(e,"thresholdScott",(function(){return F})),t.d(e,"thresholdSturges",(function(){return N})),t.d(e,"max",(function(){return x})),t.d(e,"mean",(function(){return S})),t.d(e,"median",(function(){return Y})),t.d(e,"merge",(function(){return _})),t.d(e,"min",(function(){return U})),t.d(e,"pairs",(function(){return I})),t.d(e,"permute",(function(){return L})),t.d(e,"quantile",(function(){return R})),t.d(e,"range",(function(){return y})),t.d(e,"scan",(function(){return K})),t.d(e,"shuffle",(function(){return J})),t.d(e,"sum",(function(){return T})),t.d(e,"ticks",(function(){return m})),t.d(e,"tickIncrement",(function(){return b})),t.d(e,"tickStep",(function(){return k})),t.d(e,"transpose",(function(){return H})),t.d(e,"variance",(function(){return B})),t.d(e,"zip",(function(){return q}));var i=function(A,e){return A<e?-1:A>e?1:A>=e?0:NaN},r=function(A){var e;return 1===A.length&&(e=A,A=function(A,t){return i(e(A),t)}),{left:function(e,t,i,r){for(null==i&&(i=0),null==r&&(r=e.length);i<r;){var n=i+r>>>1;A(e[n],t)<0?i=n+1:r=n}return i},right:function(e,t,i,r){for(null==i&&(i=0),null==r&&(r=e.length);i<r;){var n=i+r>>>1;A(e[n],t)>0?r=n:i=n+1}return i}}};var n=r(i),g=n.right,o=n.left,a=g,I=function(A,e){null==e&&(e=C);for(var t=0,i=A.length-1,r=A[0],n=new Array(i<0?0:i);t<i;)n[t]=e(r,r=A[++t]);return n};function C(A,e){return[A,e]}var s=function(A,e,t){var i,r,n,g,o=A.length,a=e.length,I=new Array(o*a);for(null==t&&(t=C),i=n=0;i<o;++i)for(g=A[i],r=0;r<a;++r,++n)I[n]=t(g,e[r]);return I},c=function(A,e){return e<A?-1:e>A?1:e>=A?0:NaN},l=function(A){return null===A?NaN:+A},B=function(A,e){var t,i,r=A.length,n=0,g=-1,o=0,a=0;if(null==e)for(;++g<r;)isNaN(t=l(A[g]))||(a+=(i=t-o)*(t-(o+=i/++n)));else for(;++g<r;)isNaN(t=l(e(A[g],g,A)))||(a+=(i=t-o)*(t-(o+=i/++n)));if(n>1)return a/(n-1)},Q=function(A,e){var t=B(A,e);return t?Math.sqrt(t):t},u=function(A,e){var t,i,r,n=A.length,g=-1;if(null==e){for(;++g<n;)if(null!=(t=A[g])&&t>=t)for(i=r=t;++g<n;)null!=(t=A[g])&&(i>t&&(i=t),r<t&&(r=t))}else for(;++g<n;)if(null!=(t=e(A[g],g,A))&&t>=t)for(i=r=t;++g<n;)null!=(t=e(A[g],g,A))&&(i>t&&(i=t),r<t&&(r=t));return[i,r]},E=Array.prototype,h=E.slice,f=E.map,d=function(A){return function(){return A}},p=function(A){return A},y=function(A,e,t){A=+A,e=+e,t=(r=arguments.length)<2?(e=A,A=0,1):r<3?1:+t;for(var i=-1,r=0|Math.max(0,Math.ceil((e-A)/t)),n=new Array(r);++i<r;)n[i]=A+i*t;return n},w=Math.sqrt(50),D=Math.sqrt(10),v=Math.sqrt(2),m=function(A,e,t){var i,r,n,g,o=-1;if(t=+t,(A=+A)===(e=+e)&&t>0)return[A];if((i=e<A)&&(r=A,A=e,e=r),0===(g=b(A,e,t))||!isFinite(g))return[];if(g>0)for(A=Math.ceil(A/g),e=Math.floor(e/g),n=new Array(r=Math.ceil(e-A+1));++o<r;)n[o]=(A+o)*g;else for(A=Math.floor(A*g),e=Math.ceil(e*g),n=new Array(r=Math.ceil(A-e+1));++o<r;)n[o]=(A-o)/g;return i&&n.reverse(),n};function b(A,e,t){var i=(e-A)/Math.max(0,t),r=Math.floor(Math.log(i)/Math.LN10),n=i/Math.pow(10,r);return r>=0?(n>=w?10:n>=D?5:n>=v?2:1)*Math.pow(10,r):-Math.pow(10,-r)/(n>=w?10:n>=D?5:n>=v?2:1)}function k(A,e,t){var i=Math.abs(e-A)/Math.max(0,t),r=Math.pow(10,Math.floor(Math.log(i)/Math.LN10)),n=i/r;return n>=w?r*=10:n>=D?r*=5:n>=v&&(r*=2),e<A?-r:r}var N=function(A){return Math.ceil(Math.log(A.length)/Math.LN2)+1},M=function(){var A=p,e=u,t=N;function i(i){var r,n,g=i.length,o=new Array(g);for(r=0;r<g;++r)o[r]=A(i[r],r,i);var I=e(o),C=I[0],s=I[1],c=t(o,C,s);Array.isArray(c)||(c=k(C,s,c),c=y(Math.ceil(C/c)*c,s,c));for(var l=c.length;c[0]<=C;)c.shift(),--l;for(;c[l-1]>s;)c.pop(),--l;var B,Q=new Array(l+1);for(r=0;r<=l;++r)(B=Q[r]=[]).x0=r>0?c[r-1]:C,B.x1=r<l?c[r]:s;for(r=0;r<g;++r)C<=(n=o[r])&&n<=s&&Q[a(c,n,0,l)].push(i[r]);return Q}return i.value=function(e){return arguments.length?(A="function"==typeof e?e:d(e),i):A},i.domain=function(A){return arguments.length?(e="function"==typeof A?A:d([A[0],A[1]]),i):e},i.thresholds=function(A){return arguments.length?(t="function"==typeof A?A:Array.isArray(A)?d(h.call(A)):d(A),i):t},i},R=function(A,e,t){if(null==t&&(t=l),i=A.length){if((e=+e)<=0||i<2)return+t(A[0],0,A);if(e>=1)return+t(A[i-1],i-1,A);var i,r=(i-1)*e,n=Math.floor(r),g=+t(A[n],n,A);return g+(+t(A[n+1],n+1,A)-g)*(r-n)}},G=function(A,e,t){return A=f.call(A,l).sort(i),Math.ceil((t-e)/(2*(R(A,.75)-R(A,.25))*Math.pow(A.length,-1/3)))},F=function(A,e,t){return Math.ceil((t-e)/(3.5*Q(A)*Math.pow(A.length,-1/3)))},x=function(A,e){var t,i,r=A.length,n=-1;if(null==e){for(;++n<r;)if(null!=(t=A[n])&&t>=t)for(i=t;++n<r;)null!=(t=A[n])&&t>i&&(i=t)}else for(;++n<r;)if(null!=(t=e(A[n],n,A))&&t>=t)for(i=t;++n<r;)null!=(t=e(A[n],n,A))&&t>i&&(i=t);return i},S=function(A,e){var t,i=A.length,r=i,n=-1,g=0;if(null==e)for(;++n<i;)isNaN(t=l(A[n]))?--r:g+=t;else for(;++n<i;)isNaN(t=l(e(A[n],n,A)))?--r:g+=t;if(r)return g/r},Y=function(A,e){var t,r=A.length,n=-1,g=[];if(null==e)for(;++n<r;)isNaN(t=l(A[n]))||g.push(t);else for(;++n<r;)isNaN(t=l(e(A[n],n,A)))||g.push(t);return R(g.sort(i),.5)},_=function(A){for(var e,t,i,r=A.length,n=-1,g=0;++n<r;)g+=A[n].length;for(t=new Array(g);--r>=0;)for(e=(i=A[r]).length;--e>=0;)t[--g]=i[e];return t},U=function(A,e){var t,i,r=A.length,n=-1;if(null==e){for(;++n<r;)if(null!=(t=A[n])&&t>=t)for(i=t;++n<r;)null!=(t=A[n])&&i>t&&(i=t)}else for(;++n<r;)if(null!=(t=e(A[n],n,A))&&t>=t)for(i=t;++n<r;)null!=(t=e(A[n],n,A))&&i>t&&(i=t);return i},L=function(A,e){for(var t=e.length,i=new Array(t);t--;)i[t]=A[e[t]];return i},K=function(A,e){if(t=A.length){var t,r,n=0,g=0,o=A[g];for(null==e&&(e=i);++n<t;)(e(r=A[n],o)<0||0!==e(o,o))&&(o=r,g=n);return 0===e(o,o)?g:void 0}},J=function(A,e,t){for(var i,r,n=(null==t?A.length:t)-(e=null==e?0:+e);n;)r=Math.random()*n--|0,i=A[n+e],A[n+e]=A[r+e],A[r+e]=i;return A},T=function(A,e){var t,i=A.length,r=-1,n=0;if(null==e)for(;++r<i;)(t=+A[r])&&(n+=t);else for(;++r<i;)(t=+e(A[r],r,A))&&(n+=t);return n},H=function(A){if(!(r=A.length))return[];for(var e=-1,t=U(A,O),i=new Array(t);++e<t;)for(var r,n=-1,g=i[e]=new Array(r);++n<r;)g[n]=A[n][e];return i};function O(A){return A.length}var q=function(){return H(arguments)}},function(A,e,t){"use strict";t.r(e),function(A,i){t.d(e,"$mobx",(function(){return m})),t.d(e,"FlowCancellationError",(function(){return ve})),t.d(e,"IDerivationState",(function(){return W})),t.d(e,"ObservableMap",(function(){return ft})),t.d(e,"ObservableSet",(function(){return yt})),t.d(e,"Reaction",(function(){return PA})),t.d(e,"_allowStateChanges",(function(){return wA})),t.d(e,"_allowStateChangesInsideComputed",(function(){return mA})),t.d(e,"_allowStateReadsEnd",(function(){return BA})),t.d(e,"_allowStateReadsStart",(function(){return lA})),t.d(e,"_endAction",(function(){return yA})),t.d(e,"_getAdministration",(function(){return Gt})),t.d(e,"_getGlobalState",(function(){return UA})),t.d(e,"_interceptReads",(function(){return Ne})),t.d(e,"_isComputingDerivation",(function(){return gA})),t.d(e,"_resetGlobalState",(function(){return LA})),t.d(e,"_startAction",(function(){return pA})),t.d(e,"action",(function(){return re})),t.d(e,"autorun",(function(){return ae})),t.d(e,"comparer",(function(){return M})),t.d(e,"computed",(function(){return tA})),t.d(e,"configure",(function(){return Qe})),t.d(e,"createAtom",(function(){return N})),t.d(e,"decorate",(function(){return ue})),t.d(e,"entries",(function(){return Le})),t.d(e,"extendObservable",(function(){return Ee})),t.d(e,"flow",(function(){return be})),t.d(e,"get",(function(){return He})),t.d(e,"getAtom",(function(){return Rt})),t.d(e,"getDebugName",(function(){return Ft})),t.d(e,"getDependencyTree",(function(){return de})),t.d(e,"getObserverTree",(function(){return ye})),t.d(e,"has",(function(){return Te})),t.d(e,"intercept",(function(){return Me})),t.d(e,"isAction",(function(){return ge})),t.d(e,"isArrayLike",(function(){return d})),t.d(e,"isBoxedObservable",(function(){return kA})),t.d(e,"isComputed",(function(){return Ge})),t.d(e,"isComputedProp",(function(){return Fe})),t.d(e,"isFlowCancellationError",(function(){return me})),t.d(e,"isObservable",(function(){return Se})),t.d(e,"isObservableArray",(function(){return ut})),t.d(e,"isObservableMap",(function(){return dt})),t.d(e,"isObservableObject",(function(){return Mt})),t.d(e,"isObservableProp",(function(){return Ye})),t.d(e,"isObservableSet",(function(){return wt})),t.d(e,"keys",(function(){return _e})),t.d(e,"observable",(function(){return Z})),t.d(e,"observe",(function(){return Oe})),t.d(e,"onBecomeObserved",(function(){return ce})),t.d(e,"onBecomeUnobserved",(function(){return le})),t.d(e,"onReactionError",(function(){return VA})),t.d(e,"reaction",(function(){return se})),t.d(e,"remove",(function(){return Je})),t.d(e,"runInAction",(function(){return ne})),t.d(e,"set",(function(){return Ke})),t.d(e,"spy",(function(){return Ae})),t.d(e,"toJS",(function(){return Pe})),t.d(e,"trace",(function(){return Ve})),t.d(e,"transaction",(function(){return Ze})),t.d(e,"untracked",(function(){return CA})),t.d(e,"values",(function(){return Ue})),t.d(e,"when",(function(){return Xe})); | |
/*! ***************************************************************************** | |
Copyright (c) Microsoft Corporation. All rights reserved. | |
Licensed under the Apache License, Version 2.0 (the "License"); you may not use | |
this file except in compliance with the License. You may obtain a copy of the | |
License at http://www.apache.org/licenses/LICENSE-2.0 | |
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | |
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED | |
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, | |
MERCHANTABLITY OR NON-INFRINGEMENT. | |
See the Apache Version 2.0 License for specific language governing permissions | |
and limitations under the License. | |
***************************************************************************** */ | |
var r=function(A,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,e){A.__proto__=e}||function(A,e){for(var t in e)e.hasOwnProperty(t)&&(A[t]=e[t])})(A,e)};var n=function(){return(n=Object.assign||function(A){for(var e,t=1,i=arguments.length;t<i;t++)for(var r in e=arguments[t])Object.prototype.hasOwnProperty.call(e,r)&&(A[r]=e[r]);return A}).apply(this,arguments)};function g(A){var e="function"==typeof Symbol&&A[Symbol.iterator],t=0;return e?e.call(A):{next:function(){return A&&t>=A.length&&(A=void 0),{value:A&&A[t++],done:!A}}}}function o(A,e){var t="function"==typeof Symbol&&A[Symbol.iterator];if(!t)return A;var i,r,n=t.call(A),g=[];try{for(;(void 0===e||e-- >0)&&!(i=n.next()).done;)g.push(i.value)}catch(A){r={error:A}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(r)throw r.error}}return g}function a(){for(var A=[],e=0;e<arguments.length;e++)A=A.concat(o(arguments[e]));return A}var I=[];Object.freeze(I);var C={};function s(){return++_A.mobxGuid}function c(A){throw l(!1,A),"X"}function l(A,e){if(!A)throw new Error("[mobx] "+(e||"An invariant failed, however the error is obfuscated because this is a production build."))}Object.freeze(C);function B(A){var e=!1;return function(){if(!e)return e=!0,A.apply(this,arguments)}}var Q=function(){};function u(A){return null!==A&&"object"==typeof A}function E(A){if(null===A||"object"!=typeof A)return!1;var e=Object.getPrototypeOf(A);return e===Object.prototype||null===e}function h(A,e,t){Object.defineProperty(A,e,{enumerable:!1,writable:!0,configurable:!0,value:t})}function f(A,e){var t="isMobX"+A;return e.prototype[t]=!0,function(A){return u(A)&&!0===A[t]}}function d(A){return Array.isArray(A)||ut(A)}function p(A){return A instanceof Map}function y(A){return A instanceof Set}function w(A){var e=new Set;for(var t in A)e.add(t);return Object.getOwnPropertySymbols(A).forEach((function(t){Object.getOwnPropertyDescriptor(A,t).enumerable&&e.add(t)})),Array.from(e)}function D(A){return A&&A.toString?A.toString():new String(A).toString()}function v(A){return null===A?null:"object"==typeof A?""+A:A}var m=Symbol("mobx administration"),b=function(){function A(A){void 0===A&&(A="Atom@"+s()),this.name=A,this.isPendingUnobservation=!1,this.isBeingObserved=!1,this.observers=new Set,this.diffValue=0,this.lastAccessedBy=0,this.lowestObserverState=W.NOT_TRACKING}return A.prototype.onBecomeObserved=function(){this.onBecomeObservedListeners&&this.onBecomeObservedListeners.forEach((function(A){return A()}))},A.prototype.onBecomeUnobserved=function(){this.onBecomeUnobservedListeners&&this.onBecomeUnobservedListeners.forEach((function(A){return A()}))},A.prototype.reportObserved=function(){return qA(this)},A.prototype.reportChanged=function(){HA(),function(A){if(A.lowestObserverState===W.STALE)return;A.lowestObserverState=W.STALE,A.observers.forEach((function(e){e.dependenciesState===W.UP_TO_DATE&&(e.isTracing!==$.NONE&&jA(e,A),e.onBecomeStale()),e.dependenciesState=W.STALE}))}(this),OA()},A.prototype.toString=function(){return this.name},A}(),k=f("Atom",b);function N(A,e,t){void 0===e&&(e=Q),void 0===t&&(t=Q);var i=new b(A);return e!==Q&&ce(i,e),t!==Q&&le(i,t),i}var M={identity:function(A,e){return A===e},structural:function(A,e){return St(A,e)},default:function(A,e){return Object.is(A,e)},shallow:function(A,e){return St(A,e,1)}},R=Symbol("mobx did run lazy initializers"),G=Symbol("mobx pending decorators"),F={},x={};function S(A,e){var t=e?F:x;return t[A]||(t[A]={configurable:!0,enumerable:e,get:function(){return Y(this),this[A]},set:function(e){Y(this),this[A]=e}})}function Y(A){var e,t;if(!0!==A[R]){var i=A[G];if(i){h(A,R,!0);var r=a(Object.getOwnPropertySymbols(i),Object.keys(i));try{for(var n=g(r),o=n.next();!o.done;o=n.next()){var I=i[o.value];I.propertyCreator(A,I.prop,I.descriptor,I.decoratorTarget,I.decoratorArguments)}}catch(A){e={error:A}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}}}}function _(A,e){return function(){var t,i=function(i,r,g,o){if(!0===o)return e(i,r,g,i,t),null;if(!Object.prototype.hasOwnProperty.call(i,G)){var a=i[G];h(i,G,n({},a))}return i[G][r]={prop:r,propertyCreator:e,descriptor:g,decoratorTarget:i,decoratorArguments:t},S(r,A)};return U(arguments)?(t=I,i.apply(null,arguments)):(t=Array.prototype.slice.call(arguments),i)}}function U(A){return(2===A.length||3===A.length)&&("string"==typeof A[1]||"symbol"==typeof A[1])||4===A.length&&!0===A[3]}function L(A,e,t){return Se(A)?A:Array.isArray(A)?Z.array(A,{name:t}):E(A)?Z.object(A,void 0,{name:t}):p(A)?Z.map(A,{name:t}):y(A)?Z.set(A,{name:t}):A}function K(A){return A}function J(e){l(e);var t=_(!0,(function(A,t,i,r,n){var g=i?i.initializer?i.initializer.call(A):i.value:void 0;vt(A).addObservableProp(t,g,e)})),i=(void 0!==A&&A.env,t);return i.enhancer=e,i}var T={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};function H(A){return null==A?T:"string"==typeof A?{name:A,deep:!0,proxy:!0}:A}Object.freeze(T);var O=J(L),q=J((function(A,e,t){return null==A||Mt(A)||ut(A)||dt(A)||wt(A)?A:Array.isArray(A)?Z.array(A,{name:t,deep:!1}):E(A)?Z.object(A,void 0,{name:t,deep:!1}):p(A)?Z.map(A,{name:t,deep:!1}):y(A)?Z.set(A,{name:t,deep:!1}):c(!1)})),j=J(K),P=J((function(A,e,t){return St(A,e)?e:A}));function V(A){return A.defaultDecorator?A.defaultDecorator.enhancer:!1===A.deep?K:L}var z={box:function(A,e){arguments.length>2&&X("box");var t=H(e);return new bA(A,V(t),t.name,!0,t.equals)},array:function(A,e){arguments.length>2&&X("array");var t=H(e);return st(A,V(t),t.name)},map:function(A,e){arguments.length>2&&X("map");var t=H(e);return new ft(A,V(t),t.name)},set:function(A,e){arguments.length>2&&X("set");var t=H(e);return new yt(A,V(t),t.name)},object:function(A,e,t){"string"==typeof arguments[1]&&X("object");var i=H(t);if(!1===i.proxy)return Ee({},A,e,i);var r=he(i),n=Ee({},void 0,void 0,i),g=it(n);return fe(g,A,e,r),g},ref:j,shallow:q,deep:O,struct:P},Z=function(A,e,t){if("string"==typeof arguments[1]||"symbol"==typeof arguments[1])return O.apply(null,arguments);if(Se(A))return A;var i=E(A)?Z.object(A,e,t):Array.isArray(A)?Z.array(A,e):p(A)?Z.map(A,e):y(A)?Z.set(A,e):A;if(i!==A)return i;c(!1)};function X(A){c("Expected one or two arguments to observable."+A+". Did you accidentally try to use observable."+A+" as decorator?")}Object.keys(z).forEach((function(A){return Z[A]=z[A]}));var W,$,AA=_(!1,(function(A,e,t,i,r){var g=t.get,o=t.set,a=r[0]||{};vt(A).addComputedProp(A,e,n({get:g,set:o,context:A},a))})),eA=AA({equals:M.structural}),tA=function(A,e,t){if("string"==typeof e)return AA.apply(null,arguments);if(null!==A&&"object"==typeof A&&1===arguments.length)return AA.apply(null,arguments);var i="object"==typeof e?e:{};return i.get=A,i.set="function"==typeof e?e:i.set,i.name=i.name||A.name||"",new NA(i)};tA.struct=eA,function(A){A[A.NOT_TRACKING=-1]="NOT_TRACKING",A[A.UP_TO_DATE=0]="UP_TO_DATE",A[A.POSSIBLY_STALE=1]="POSSIBLY_STALE",A[A.STALE=2]="STALE"}(W||(W={})),function(A){A[A.NONE=0]="NONE",A[A.LOG=1]="LOG",A[A.BREAK=2]="BREAK"}($||($={}));var iA=function(A){this.cause=A};function rA(A){return A instanceof iA}function nA(A){switch(A.dependenciesState){case W.UP_TO_DATE:return!1;case W.NOT_TRACKING:case W.STALE:return!0;case W.POSSIBLY_STALE:for(var e=lA(!0),t=sA(),i=A.observing,r=i.length,n=0;n<r;n++){var g=i[n];if(MA(g)){if(_A.disableErrorBoundaries)g.get();else try{g.get()}catch(A){return cA(t),BA(e),!0}if(A.dependenciesState===W.STALE)return cA(t),BA(e),!0}}return QA(A),cA(t),BA(e),!1}}function gA(){return null!==_A.trackingDerivation}function oA(A){var e=A.observers.size>0;_A.computationDepth>0&&e&&c(!1),_A.allowStateChanges||!e&&"strict"!==_A.enforceActions||c(!1)}function aA(A,e,t){var i=lA(!0);QA(A),A.newObserving=new Array(A.observing.length+100),A.unboundDepsCount=0,A.runId=++_A.runId;var r,n=_A.trackingDerivation;if(_A.trackingDerivation=A,!0===_A.disableErrorBoundaries)r=e.call(t);else try{r=e.call(t)}catch(A){r=new iA(A)}return _A.trackingDerivation=n,function(A){for(var e=A.observing,t=A.observing=A.newObserving,i=W.UP_TO_DATE,r=0,n=A.unboundDepsCount,g=0;g<n;g++){0===(o=t[g]).diffValue&&(o.diffValue=1,r!==g&&(t[r]=o),r++),o.dependenciesState>i&&(i=o.dependenciesState)}t.length=r,A.newObserving=null,n=e.length;for(;n--;){0===(o=e[n]).diffValue&&JA(o,A),o.diffValue=0}for(;r--;){var o;1===(o=t[r]).diffValue&&(o.diffValue=0,KA(o,A))}i!==W.UP_TO_DATE&&(A.dependenciesState=i,A.onBecomeStale())}(A),BA(i),r}function IA(A){var e=A.observing;A.observing=[];for(var t=e.length;t--;)JA(e[t],A);A.dependenciesState=W.NOT_TRACKING}function CA(A){var e=sA();try{return A()}finally{cA(e)}}function sA(){var A=_A.trackingDerivation;return _A.trackingDerivation=null,A}function cA(A){_A.trackingDerivation=A}function lA(A){var e=_A.allowStateReads;return _A.allowStateReads=A,e}function BA(A){_A.allowStateReads=A}function QA(A){if(A.dependenciesState!==W.UP_TO_DATE){A.dependenciesState=W.UP_TO_DATE;for(var e=A.observing,t=e.length;t--;)e[t].lowestObserverState=W.UP_TO_DATE}}var uA=0,EA=1,hA=Object.getOwnPropertyDescriptor((function(){}),"name");hA&&hA.configurable;function fA(A,e,t){var i=function(){return dA(A,e,t||this,arguments)};return i.isMobxAction=!0,i}function dA(A,e,t,i){var r=pA(A,t,i);try{return e.apply(t,i)}catch(A){throw r.error=A,A}finally{yA(r)}}function pA(A,e,t){var i=0,r=sA();HA();var n={prevDerivation:r,prevAllowStateChanges:DA(!0),prevAllowStateReads:lA(!0),notifySpy:!1,startTime:i,actionId:EA++,parentActionId:uA};return uA=n.actionId,n}function yA(A){uA!==A.actionId&&c("invalid action stack. did you forget to finish an action?"),uA=A.parentActionId,void 0!==A.error&&(_A.suppressReactionErrors=!0),vA(A.prevAllowStateChanges),BA(A.prevAllowStateReads),OA(),cA(A.prevDerivation),A.notifySpy,_A.suppressReactionErrors=!1}function wA(A,e){var t,i=DA(A);try{t=e()}finally{vA(i)}return t}function DA(A){var e=_A.allowStateChanges;return _A.allowStateChanges=A,e}function vA(A){_A.allowStateChanges=A}function mA(A){var e,t=_A.computationDepth;_A.computationDepth=0;try{e=A()}finally{_A.computationDepth=t}return e}var bA=function(A){function e(e,t,i,r,n){void 0===i&&(i="ObservableValue@"+s()),void 0===r&&(r=!0),void 0===n&&(n=M.default);var g=A.call(this,i)||this;return g.enhancer=t,g.name=i,g.equals=n,g.hasUnreportedChange=!1,g.value=t(e,void 0,i),g}return function(A,e){function t(){this.constructor=A}r(A,e),A.prototype=null===e?Object.create(e):(t.prototype=e.prototype,new t)}(e,A),e.prototype.dehanceValue=function(A){return void 0!==this.dehancer?this.dehancer(A):A},e.prototype.set=function(A){this.value;if((A=this.prepareNewValue(A))!==_A.UNCHANGED){0,this.setNewValue(A)}},e.prototype.prepareNewValue=function(A){if(oA(this),rt(this)){var e=gt(this,{object:this,type:"update",newValue:A});if(!e)return _A.UNCHANGED;A=e.newValue}return A=this.enhancer(A,this.value,this.name),this.equals(this.value,A)?_A.UNCHANGED:A},e.prototype.setNewValue=function(A){var e=this.value;this.value=A,this.reportChanged(),ot(this)&&It(this,{type:"update",object:this,newValue:A,oldValue:e})},e.prototype.get=function(){return this.reportObserved(),this.dehanceValue(this.value)},e.prototype.intercept=function(A){return nt(this,A)},e.prototype.observe=function(A,e){return e&&A({object:this,type:"update",newValue:this.value,oldValue:void 0}),at(this,A)},e.prototype.toJSON=function(){return this.get()},e.prototype.toString=function(){return this.name+"["+this.value+"]"},e.prototype.valueOf=function(){return v(this.get())},e.prototype[Symbol.toPrimitive]=function(){return this.valueOf()},e}(b),kA=f("ObservableValue",bA),NA=function(){function A(A){this.dependenciesState=W.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=W.UP_TO_DATE,this.unboundDepsCount=0,this.__mapid="#"+s(),this.value=new iA(null),this.isComputing=!1,this.isRunningSetter=!1,this.isTracing=$.NONE,l(A.get,"missing option for computed: get"),this.derivation=A.get,this.name=A.name||"ComputedValue@"+s(),A.set&&(this.setter=fA(this.name+"-setter",A.set)),this.equals=A.equals||(A.compareStructural||A.struct?M.structural:M.default),this.scope=A.context,this.requiresReaction=!!A.requiresReaction,this.keepAlive=!!A.keepAlive}return A.prototype.onBecomeStale=function(){!function(A){if(A.lowestObserverState!==W.UP_TO_DATE)return;A.lowestObserverState=W.POSSIBLY_STALE,A.observers.forEach((function(e){e.dependenciesState===W.UP_TO_DATE&&(e.dependenciesState=W.POSSIBLY_STALE,e.isTracing!==$.NONE&&jA(e,A),e.onBecomeStale())}))}(this)},A.prototype.onBecomeObserved=function(){this.onBecomeObservedListeners&&this.onBecomeObservedListeners.forEach((function(A){return A()}))},A.prototype.onBecomeUnobserved=function(){this.onBecomeUnobservedListeners&&this.onBecomeUnobservedListeners.forEach((function(A){return A()}))},A.prototype.get=function(){this.isComputing&&c("Cycle detected in computation "+this.name+": "+this.derivation),0!==_A.inBatch||0!==this.observers.size||this.keepAlive?(qA(this),nA(this)&&this.trackAndCompute()&&function(A){if(A.lowestObserverState===W.STALE)return;A.lowestObserverState=W.STALE,A.observers.forEach((function(e){e.dependenciesState===W.POSSIBLY_STALE?e.dependenciesState=W.STALE:e.dependenciesState===W.UP_TO_DATE&&(A.lowestObserverState=W.UP_TO_DATE)}))}(this)):nA(this)&&(this.warnAboutUntrackedRead(),HA(),this.value=this.computeValue(!1),OA());var A=this.value;if(rA(A))throw A.cause;return A},A.prototype.peek=function(){var A=this.computeValue(!1);if(rA(A))throw A.cause;return A},A.prototype.set=function(A){if(this.setter){l(!this.isRunningSetter,"The setter of computed value '"+this.name+"' is trying to update itself. Did you intend to update an _observable_ value, instead of the computed property?"),this.isRunningSetter=!0;try{this.setter.call(this.scope,A)}finally{this.isRunningSetter=!1}}else l(!1,!1)},A.prototype.trackAndCompute=function(){var A=this.value,e=this.dependenciesState===W.NOT_TRACKING,t=this.computeValue(!0),i=e||rA(A)||rA(t)||!this.equals(A,t);return i&&(this.value=t),i},A.prototype.computeValue=function(A){var e;if(this.isComputing=!0,_A.computationDepth++,A)e=aA(this,this.derivation,this.scope);else if(!0===_A.disableErrorBoundaries)e=this.derivation.call(this.scope);else try{e=this.derivation.call(this.scope)}catch(A){e=new iA(A)}return _A.computationDepth--,this.isComputing=!1,e},A.prototype.suspend=function(){this.keepAlive||(IA(this),this.value=void 0)},A.prototype.observe=function(A,e){var t=this,i=!0,r=void 0;return ae((function(){var n=t.get();if(!i||e){var g=sA();A({type:"update",object:t,newValue:n,oldValue:r}),cA(g)}i=!1,r=n}))},A.prototype.warnAboutUntrackedRead=function(){},A.prototype.toJSON=function(){return this.get()},A.prototype.toString=function(){return this.name+"["+this.derivation.toString()+"]"},A.prototype.valueOf=function(){return v(this.get())},A.prototype[Symbol.toPrimitive]=function(){return this.valueOf()},A}(),MA=f("ComputedValue",NA),RA=["mobxGuid","spyListeners","enforceActions","computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","allowStateReads","disableErrorBoundaries","runId","UNCHANGED"],GA=function(){this.version=5,this.UNCHANGED={},this.trackingDerivation=null,this.computationDepth=0,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!0,this.allowStateReads=!0,this.enforceActions=!1,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.computedConfigurable=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1},FA={};function xA(){return"undefined"!=typeof window?window:void 0!==i?i:"undefined"!=typeof self?self:FA}var SA=!0,YA=!1,_A=function(){var A=xA();return A.__mobxInstanceCount>0&&!A.__mobxGlobals&&(SA=!1),A.__mobxGlobals&&A.__mobxGlobals.version!==(new GA).version&&(SA=!1),SA?A.__mobxGlobals?(A.__mobxInstanceCount+=1,A.__mobxGlobals.UNCHANGED||(A.__mobxGlobals.UNCHANGED={}),A.__mobxGlobals):(A.__mobxInstanceCount=1,A.__mobxGlobals=new GA):(setTimeout((function(){YA||c("There are multiple, different versions of MobX active. Make sure MobX is loaded only once or use `configure({ isolateGlobalState: true })`")}),1),new GA)}();function UA(){return _A}function LA(){var A=new GA;for(var e in A)-1===RA.indexOf(e)&&(_A[e]=A[e]);_A.allowStateChanges=!_A.enforceActions}function KA(A,e){A.observers.add(e),A.lowestObserverState>e.dependenciesState&&(A.lowestObserverState=e.dependenciesState)}function JA(A,e){A.observers.delete(e),0===A.observers.size&&TA(A)}function TA(A){!1===A.isPendingUnobservation&&(A.isPendingUnobservation=!0,_A.pendingUnobservations.push(A))}function HA(){_A.inBatch++}function OA(){if(0==--_A.inBatch){ZA();for(var A=_A.pendingUnobservations,e=0;e<A.length;e++){var t=A[e];t.isPendingUnobservation=!1,0===t.observers.size&&(t.isBeingObserved&&(t.isBeingObserved=!1,t.onBecomeUnobserved()),t instanceof NA&&t.suspend())}_A.pendingUnobservations=[]}}function qA(A){var e=_A.trackingDerivation;return null!==e?(e.runId!==A.lastAccessedBy&&(A.lastAccessedBy=e.runId,e.newObserving[e.unboundDepsCount++]=A,A.isBeingObserved||(A.isBeingObserved=!0,A.onBecomeObserved())),!0):(0===A.observers.size&&_A.inBatch>0&&TA(A),!1)}function jA(A,e){if(console.log("[mobx.trace] '"+A.name+"' is invalidated due to a change in: '"+e.name+"'"),A.isTracing===$.BREAK){var t=[];!function A(e,t,i){if(t.length>=1e3)return void t.push("(and many more)");t.push(""+new Array(i).join("\t")+e.name),e.dependencies&&e.dependencies.forEach((function(e){return A(e,t,i+1)}))}(de(A),t,1),new Function("debugger;\n/*\nTracing '"+A.name+"'\n\nYou are entering this break point because derivation '"+A.name+"' is being traced and '"+e.name+"' is now forcing it to update.\nJust follow the stacktrace you should now see in the devtools to see precisely what piece of your code is causing this update\nThe stackframe you are looking for is at least ~6-8 stack-frames up.\n\n"+(A instanceof NA?A.derivation.toString().replace(/[*]\//g,"/"):"")+"\n\nThe dependencies for this derivation are:\n\n"+t.join("\n")+"\n*/\n ")()}}var PA=function(){function A(A,e,t,i){void 0===A&&(A="Reaction@"+s()),void 0===i&&(i=!1),this.name=A,this.onInvalidate=e,this.errorHandler=t,this.requiresObservable=i,this.observing=[],this.newObserving=[],this.dependenciesState=W.NOT_TRACKING,this.diffValue=0,this.runId=0,this.unboundDepsCount=0,this.__mapid="#"+s(),this.isDisposed=!1,this._isScheduled=!1,this._isTrackPending=!1,this._isRunning=!1,this.isTracing=$.NONE}return A.prototype.onBecomeStale=function(){this.schedule()},A.prototype.schedule=function(){this._isScheduled||(this._isScheduled=!0,_A.pendingReactions.push(this),ZA())},A.prototype.isScheduled=function(){return this._isScheduled},A.prototype.runReaction=function(){if(!this.isDisposed){if(HA(),this._isScheduled=!1,nA(this)){this._isTrackPending=!0;try{this.onInvalidate(),this._isTrackPending}catch(A){this.reportExceptionInDerivation(A)}}OA()}},A.prototype.track=function(A){if(!this.isDisposed){HA();0,this._isRunning=!0;var e=aA(this,A,void 0);this._isRunning=!1,this._isTrackPending=!1,this.isDisposed&&IA(this),rA(e)&&this.reportExceptionInDerivation(e.cause),OA()}},A.prototype.reportExceptionInDerivation=function(A){var e=this;if(this.errorHandler)this.errorHandler(A,this);else{if(_A.disableErrorBoundaries)throw A;var t="[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '"+this+"'";_A.suppressReactionErrors?console.warn("[mobx] (error in reaction '"+this.name+"' suppressed, fix error of causing action below)"):console.error(t,A),_A.globalReactionErrorHandlers.forEach((function(t){return t(A,e)}))}},A.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this._isRunning||(HA(),IA(this),OA()))},A.prototype.getDisposer=function(){var A=this.dispose.bind(this);return A[m]=this,A},A.prototype.toString=function(){return"Reaction["+this.name+"]"},A.prototype.trace=function(A){void 0===A&&(A=!1),Ve(this,A)},A}();function VA(A){return _A.globalReactionErrorHandlers.push(A),function(){var e=_A.globalReactionErrorHandlers.indexOf(A);e>=0&&_A.globalReactionErrorHandlers.splice(e,1)}}var zA=function(A){return A()};function ZA(){_A.inBatch>0||_A.isRunningReactions||zA(XA)}function XA(){_A.isRunningReactions=!0;for(var A=_A.pendingReactions,e=0;A.length>0;){100==++e&&(console.error("Reaction doesn't converge to a stable state after 100 iterations. Probably there is a cycle in the reactive function: "+A[0]),A.splice(0));for(var t=A.splice(0),i=0,r=t.length;i<r;i++)t[i].runReaction()}_A.isRunningReactions=!1}var WA=f("Reaction",PA);function $A(A){var e=zA;zA=function(t){return A((function(){return e(t)}))}}function Ae(A){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}}function ee(){c(!1)}function te(A){return function(e,t,i){if(i){if(i.value)return{value:fA(A,i.value),enumerable:!1,configurable:!0,writable:!0};var r=i.initializer;return{enumerable:!1,configurable:!0,writable:!0,initializer:function(){return fA(A,r.call(this))}}}return ie(A).apply(this,arguments)}}function ie(A){return function(e,t,i){Object.defineProperty(e,t,{configurable:!0,enumerable:!1,get:function(){},set:function(e){h(this,t,re(A,e))}})}}var re=function(A,e,t,i){return 1===arguments.length&&"function"==typeof A?fA(A.name||"<unnamed action>",A):2===arguments.length&&"function"==typeof e?fA(A,e):1===arguments.length&&"string"==typeof A?te(A):!0!==i?te(e).apply(null,arguments):void h(A,e,fA(A.name||e,t.value,this))};function ne(A,e){return dA("string"==typeof A?A:A.name||"<unnamed action>","function"==typeof A?A:e,this,void 0)}function ge(A){return"function"==typeof A&&!0===A.isMobxAction}function oe(A,e,t){h(A,e,fA(e,t.bind(A)))}function ae(A,e){void 0===e&&(e=C);var t,i=e&&e.name||A.name||"Autorun@"+s();if(!e.scheduler&&!e.delay)t=new PA(i,(function(){this.track(g)}),e.onError,e.requiresObservable);else{var r=Ce(e),n=!1;t=new PA(i,(function(){n||(n=!0,r((function(){n=!1,t.isDisposed||t.track(g)})))}),e.onError,e.requiresObservable)}function g(){A(t)}return t.schedule(),t.getDisposer()}re.bound=function(A,e,t,i){return!0===i?(oe(A,e,t.value),null):t?{configurable:!0,enumerable:!1,get:function(){return oe(this,e,t.value||t.initializer.call(this)),this[e]},set:ee}:{enumerable:!1,configurable:!0,set:function(A){oe(this,e,A)},get:function(){}}};var Ie=function(A){return A()};function Ce(A){return A.scheduler?A.scheduler:A.delay?function(e){return setTimeout(e,A.delay)}:Ie}function se(A,e,t){void 0===t&&(t=C);var i,r,n,g=t.name||"Reaction@"+s(),o=re(g,t.onError?(i=t.onError,r=e,function(){try{return r.apply(this,arguments)}catch(A){i.call(this,A)}}):e),a=!t.scheduler&&!t.delay,I=Ce(t),c=!0,l=!1,B=t.compareStructural?M.structural:t.equals||M.default,Q=new PA(g,(function(){c||a?u():l||(l=!0,I(u))}),t.onError,t.requiresObservable);function u(){if(l=!1,!Q.isDisposed){var e=!1;Q.track((function(){var t=A(Q);e=c||!B(n,t),n=t})),c&&t.fireImmediately&&o(n,Q),c||!0!==e||o(n,Q),c&&(c=!1)}}return Q.schedule(),Q.getDisposer()}function ce(A,e,t){return Be("onBecomeObserved",A,e,t)}function le(A,e,t){return Be("onBecomeUnobserved",A,e,t)}function Be(A,e,t,i){var r="function"==typeof i?Rt(e,t):Rt(e),n="function"==typeof i?i:t,g=A+"Listeners";return r[g]?r[g].add(n):r[g]=new Set([n]),"function"!=typeof r[A]?c(!1):function(){var A=r[g];A&&(A.delete(n),0===A.size&&delete r[g])}}function Qe(A){var e=A.enforceActions,t=A.computedRequiresReaction,i=A.computedConfigurable,r=A.disableErrorBoundaries,n=A.reactionScheduler,g=A.reactionRequiresObservable,o=A.observableRequiresReaction;if(!0===A.isolateGlobalState&&((_A.pendingReactions.length||_A.inBatch||_A.isRunningReactions)&&c("isolateGlobalState should be called before MobX is running any reactions"),YA=!0,SA&&(0==--xA().__mobxInstanceCount&&(xA().__mobxGlobals=void 0),_A=new GA)),void 0!==e){var a=void 0;switch(e){case!0:case"observed":a=!0;break;case!1:case"never":a=!1;break;case"strict":case"always":a="strict";break;default:c("Invalid value for 'enforceActions': '"+e+"', expected 'never', 'always' or 'observed'")}_A.enforceActions=a,_A.allowStateChanges=!0!==a&&"strict"!==a}void 0!==t&&(_A.computedRequiresReaction=!!t),void 0!==g&&(_A.reactionRequiresObservable=!!g),void 0!==o&&(_A.observableRequiresReaction=!!o,_A.allowStateReads=!_A.observableRequiresReaction),void 0!==i&&(_A.computedConfigurable=!!i),void 0!==r&&(!0===r&&console.warn("WARNING: Debug feature only. MobX will NOT recover from errors when `disableErrorBoundaries` is enabled."),_A.disableErrorBoundaries=!!r),n&&$A(n)}function ue(A,e){var t="function"==typeof A?A.prototype:A,i=function(A){var i=e[A];Array.isArray(i)||(i=[i]);var r=Object.getOwnPropertyDescriptor(t,A),n=i.reduce((function(e,i){return i(t,A,e)}),r);n&&Object.defineProperty(t,A,n)};for(var r in e)i(r);return A}function Ee(A,e,t,i){var r=he(i=H(i));return Y(A),vt(A,i.name,r.enhancer),e&&fe(A,e,t,r),A}function he(A){return A.defaultDecorator||(!1===A.deep?j:O)}function fe(A,e,t,i){var r,n;HA();try{var o=w(e);try{for(var a=g(o),I=a.next();!I.done;I=a.next()){var C=I.value,s=Object.getOwnPropertyDescriptor(e,C);0;var c=(t&&C in t?t[C]:s.get?AA:i)(A,C,s,!0);c&&Object.defineProperty(A,C,c)}}catch(A){r={error:A}}finally{try{I&&!I.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}finally{OA()}}function de(A,e){return pe(Rt(A,e))}function pe(A){var e,t,i={name:A.name};return A.observing&&A.observing.length>0&&(i.dependencies=(e=A.observing,t=[],e.forEach((function(A){-1===t.indexOf(A)&&t.push(A)})),t).map(pe)),i}function ye(A,e){return we(Rt(A,e))}function we(A){var e={name:A.name};return function(A){return A.observers&&A.observers.size>0}(A)&&(e.observers=Array.from(function(A){return A.observers}(A)).map(we)),e}var De=0;function ve(){this.message="FLOW_CANCELLED"}function me(A){return A instanceof ve}function be(A){1!==arguments.length&&c("Flow expects 1 argument and cannot be used as decorator");var e=A.name||"<unnamed flow>";return function(){var t,i=this,r=arguments,n=++De,g=re(e+" - runid: "+n+" - init",A).apply(i,r),o=void 0,a=new Promise((function(A,i){var r=0;function a(A){var t;o=void 0;try{t=re(e+" - runid: "+n+" - yield "+r++,g.next).call(g,A)}catch(A){return i(A)}C(t)}function I(A){var t;o=void 0;try{t=re(e+" - runid: "+n+" - yield "+r++,g.throw).call(g,A)}catch(A){return i(A)}C(t)}function C(e){if(!e||"function"!=typeof e.then)return e.done?A(e.value):(o=Promise.resolve(e.value)).then(a,I);e.then(C,i)}t=i,a(void 0)}));return a.cancel=re(e+" - runid: "+n+" - cancel",(function(){try{o&&ke(o);var A=g.return(void 0),e=Promise.resolve(A.value);e.then(Q,Q),ke(e),t(new ve)}catch(A){t(A)}})),a}}function ke(A){"function"==typeof A.cancel&&A.cancel()}function Ne(A,e,t){var i;if(dt(A)||ut(A)||kA(A))i=Gt(A);else{if(!Mt(A))return c(!1);if("string"!=typeof e)return c(!1);i=Gt(A,e)}return void 0!==i.dehancer?c(!1):(i.dehancer="function"==typeof e?e:t,function(){i.dehancer=void 0})}function Me(A,e,t){return"function"==typeof t?function(A,e,t){return Gt(A,e).intercept(t)}(A,e,t):function(A,e){return Gt(A).intercept(e)}(A,e)}function Re(A,e){if(null==A)return!1;if(void 0!==e){if(!1===Mt(A))return!1;if(!A[m].values.has(e))return!1;var t=Rt(A,e);return MA(t)}return MA(A)}function Ge(A){return arguments.length>1?c(!1):Re(A)}function Fe(A,e){return"string"!=typeof e?c(!1):Re(A,e)}function xe(A,e){return null!=A&&(void 0!==e?!!Mt(A)&&A[m].values.has(e):Mt(A)||!!A[m]||k(A)||WA(A)||MA(A))}function Se(A){return 1!==arguments.length&&c(!1),xe(A)}function Ye(A,e){return"string"!=typeof e?c(!1):xe(A,e)}function _e(A){return Mt(A)?A[m].getKeys():dt(A)||wt(A)?Array.from(A.keys()):ut(A)?A.map((function(A,e){return e})):c(!1)}function Ue(A){return Mt(A)?_e(A).map((function(e){return A[e]})):dt(A)?_e(A).map((function(e){return A.get(e)})):wt(A)?Array.from(A.values()):ut(A)?A.slice():c(!1)}function Le(A){return Mt(A)?_e(A).map((function(e){return[e,A[e]]})):dt(A)?_e(A).map((function(e){return[e,A.get(e)]})):wt(A)?Array.from(A.entries()):ut(A)?A.map((function(A,e){return[e,A]})):c(!1)}function Ke(A,e,t){if(2!==arguments.length||wt(A))if(Mt(A)){var i=A[m],r=i.values.get(e);r?i.write(e,t):i.addObservableProp(e,t,i.defaultEnhancer)}else if(dt(A))A.set(e,t);else if(wt(A))A.add(e);else{if(!ut(A))return c(!1);"number"!=typeof e&&(e=parseInt(e,10)),l(e>=0,"Not a valid index: '"+e+"'"),HA(),e>=A.length&&(A.length=e+1),A[e]=t,OA()}else{HA();var n=e;try{for(var g in n)Ke(A,g,n[g])}finally{OA()}}}function Je(A,e){if(Mt(A))A[m].remove(e);else if(dt(A))A.delete(e);else if(wt(A))A.delete(e);else{if(!ut(A))return c(!1);"number"!=typeof e&&(e=parseInt(e,10)),l(e>=0,"Not a valid index: '"+e+"'"),A.splice(e,1)}}function Te(A,e){return Mt(A)?Gt(A).has(e):dt(A)||wt(A)?A.has(e):ut(A)?e>=0&&e<A.length:c(!1)}function He(A,e){if(Te(A,e))return Mt(A)?A[e]:dt(A)?A.get(e):ut(A)?A[e]:c(!1)}function Oe(A,e,t,i){return"function"==typeof t?function(A,e,t,i){return Gt(A,e).observe(t,i)}(A,e,t,i):function(A,e,t){return Gt(A).observe(e,t)}(A,e,t)}ve.prototype=Object.create(Error.prototype);var qe={detectCycles:!0,exportMapsAsObjects:!0,recurseEverything:!1};function je(A,e,t,i){return i.detectCycles&&A.set(e,t),t}function Pe(A,e){var t;return"boolean"==typeof e&&(e={detectCycles:e}),e||(e=qe),e.detectCycles=void 0===e.detectCycles?!0===e.recurseEverything:!0===e.detectCycles,e.detectCycles&&(t=new Map),function A(e,t,i){if(!t.recurseEverything&&!Se(e))return e;if("object"!=typeof e)return e;if(null===e)return null;if(e instanceof Date)return e;if(kA(e))return A(e.get(),t,i);if(Se(e)&&_e(e),!0===t.detectCycles&&null!==e&&i.has(e))return i.get(e);if(ut(e)||Array.isArray(e)){var r=je(i,e,[],t),n=e.map((function(e){return A(e,t,i)}));r.length=n.length;for(var g=0,o=n.length;g<o;g++)r[g]=n[g];return r}if(wt(e)||Object.getPrototypeOf(e)===Set.prototype){if(!1===t.exportMapsAsObjects){var a=je(i,e,new Set,t);return e.forEach((function(e){a.add(A(e,t,i))})),a}var I=je(i,e,[],t);return e.forEach((function(e){I.push(A(e,t,i))})),I}if(dt(e)||Object.getPrototypeOf(e)===Map.prototype){if(!1===t.exportMapsAsObjects){var C=je(i,e,new Map,t);return e.forEach((function(e,r){C.set(r,A(e,t,i))})),C}var s=je(i,e,{},t);return e.forEach((function(e,r){s[r]=A(e,t,i)})),s}var c=je(i,e,{},t);return w(e).forEach((function(r){c[r]=A(e[r],t,i)})),c}(A,e,t)}function Ve(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];var t=!1;"boolean"==typeof A[A.length-1]&&(t=A.pop());var i=ze(A);if(!i)return c(!1);i.isTracing===$.NONE&&console.log("[mobx.trace] '"+i.name+"' tracing enabled"),i.isTracing=t?$.BREAK:$.LOG}function ze(A){switch(A.length){case 0:return _A.trackingDerivation;case 1:return Rt(A[0]);case 2:return Rt(A[0],A[1])}}function Ze(A,e){void 0===e&&(e=void 0),HA();try{return A.apply(e)}finally{OA()}}function Xe(A,e,t){return 1===arguments.length||e&&"object"==typeof e?$e(A,e):We(A,e,t||{})}function We(A,e,t){var i;"number"==typeof t.timeout&&(i=setTimeout((function(){if(!n[m].isDisposed){n();var A=new Error("WHEN_TIMEOUT");if(!t.onError)throw A;t.onError(A)}}),t.timeout)),t.name=t.name||"When@"+s();var r=fA(t.name+"-effect",e),n=ae((function(e){A()&&(e.dispose(),i&&clearTimeout(i),r())}),t);return n}function $e(A,e){var t;var i=new Promise((function(i,r){var g=We(A,i,n(n({},e),{onError:r}));t=function(){g(),r("WHEN_CANCELLED")}}));return i.cancel=t,i}function At(A){return A[m]}function et(A){return"string"==typeof A||"number"==typeof A||"symbol"==typeof A}var tt={has:function(A,e){if(e===m||"constructor"===e||e===R)return!0;var t=At(A);return et(e)?t.has(e):e in A},get:function(A,e){if(e===m||"constructor"===e||e===R)return A[e];var t=At(A),i=t.values.get(e);if(i instanceof b){var r=i.get();return void 0===r&&t.has(e),r}return et(e)&&t.has(e),A[e]},set:function(A,e,t){return!!et(e)&&(Ke(A,e,t),!0)},deleteProperty:function(A,e){return!!et(e)&&(At(A).remove(e),!0)},ownKeys:function(A){return At(A).keysAtom.reportObserved(),Reflect.ownKeys(A)},preventExtensions:function(A){return c("Dynamic observable objects cannot be frozen"),!1}};function it(A){var e=new Proxy(A,tt);return A[m].proxy=e,e}function rt(A){return void 0!==A.interceptors&&A.interceptors.length>0}function nt(A,e){var t=A.interceptors||(A.interceptors=[]);return t.push(e),B((function(){var A=t.indexOf(e);-1!==A&&t.splice(A,1)}))}function gt(A,e){var t=sA();try{for(var i=a(A.interceptors||[]),r=0,n=i.length;r<n&&(l(!(e=i[r](e))||e.type,"Intercept handlers should return nothing or a change object"),e);r++);return e}finally{cA(t)}}function ot(A){return void 0!==A.changeListeners&&A.changeListeners.length>0}function at(A,e){var t=A.changeListeners||(A.changeListeners=[]);return t.push(e),B((function(){var A=t.indexOf(e);-1!==A&&t.splice(A,1)}))}function It(A,e){var t=sA(),i=A.changeListeners;if(i){for(var r=0,n=(i=i.slice()).length;r<n;r++)i[r](e);cA(t)}}var Ct={get:function(A,e){return e===m?A[m]:"length"===e?A[m].getArrayLength():"number"==typeof e?lt.get.call(A,e):"string"!=typeof e||isNaN(e)?lt.hasOwnProperty(e)?lt[e]:A[e]:lt.get.call(A,parseInt(e))},set:function(A,e,t){return"length"===e&&A[m].setArrayLength(t),"number"==typeof e&<.set.call(A,e,t),"symbol"==typeof e||isNaN(e)?A[e]=t:lt.set.call(A,parseInt(e),t),!0},preventExtensions:function(A){return c("Observable arrays cannot be frozen"),!1}};function st(A,e,t,i){void 0===t&&(t="ObservableArray@"+s()),void 0===i&&(i=!1);var r=new ct(t,e,i);!function(A,e,t){Object.defineProperty(A,e,{enumerable:!1,writable:!1,configurable:!0,value:t})}(r.values,m,r);var n=new Proxy(r.values,Ct);if(r.proxy=n,A&&A.length){var g=DA(!0);r.spliceWithArray(0,0,A),vA(g)}return n}var ct=function(){function A(A,e,t){this.owned=t,this.values=[],this.proxy=void 0,this.lastKnownLength=0,this.atom=new b(A||"ObservableArray@"+s()),this.enhancer=function(t,i){return e(t,i,A+"[..]")}}return A.prototype.dehanceValue=function(A){return void 0!==this.dehancer?this.dehancer(A):A},A.prototype.dehanceValues=function(A){return void 0!==this.dehancer&&A.length>0?A.map(this.dehancer):A},A.prototype.intercept=function(A){return nt(this,A)},A.prototype.observe=function(A,e){return void 0===e&&(e=!1),e&&A({object:this.proxy,type:"splice",index:0,added:this.values.slice(),addedCount:this.values.length,removed:[],removedCount:0}),at(this,A)},A.prototype.getArrayLength=function(){return this.atom.reportObserved(),this.values.length},A.prototype.setArrayLength=function(A){if("number"!=typeof A||A<0)throw new Error("[mobx.array] Out of range: "+A);var e=this.values.length;if(A!==e)if(A>e){for(var t=new Array(A-e),i=0;i<A-e;i++)t[i]=void 0;this.spliceWithArray(e,0,t)}else this.spliceWithArray(A,e-A)},A.prototype.updateArrayLength=function(A,e){if(A!==this.lastKnownLength)throw new Error("[mobx] Modification exception: the internal structure of an observable array was changed.");this.lastKnownLength+=e},A.prototype.spliceWithArray=function(A,e,t){var i=this;oA(this.atom);var r=this.values.length;if(void 0===A?A=0:A>r?A=r:A<0&&(A=Math.max(0,r+A)),e=1===arguments.length?r-A:null==e?0:Math.max(0,Math.min(e,r-A)),void 0===t&&(t=I),rt(this)){var n=gt(this,{object:this.proxy,type:"splice",index:A,removedCount:e,added:t});if(!n)return I;e=n.removedCount,t=n.added}t=0===t.length?t:t.map((function(A){return i.enhancer(A,void 0)}));var g=this.spliceItemsIntoValues(A,e,t);return 0===e&&0===t.length||this.notifyArraySplice(A,t,g),this.dehanceValues(g)},A.prototype.spliceItemsIntoValues=function(A,e,t){var i;if(t.length<1e4)return(i=this.values).splice.apply(i,a([A,e],t));var r=this.values.slice(A,A+e);return this.values=this.values.slice(0,A).concat(t,this.values.slice(A+e)),r},A.prototype.notifyArrayChildUpdate=function(A,e,t){var i=!this.owned&&!1,r=ot(this),n=r||i?{object:this.proxy,type:"update",index:A,newValue:e,oldValue:t}:null;this.atom.reportChanged(),r&&It(this,n)},A.prototype.notifyArraySplice=function(A,e,t){var i=!this.owned&&!1,r=ot(this),n=r||i?{object:this.proxy,type:"splice",index:A,removed:t,added:e,removedCount:t.length,addedCount:e.length}:null;this.atom.reportChanged(),r&&It(this,n)},A}(),lt={intercept:function(A){return this[m].intercept(A)},observe:function(A,e){return void 0===e&&(e=!1),this[m].observe(A,e)},clear:function(){return this.splice(0)},replace:function(A){var e=this[m];return e.spliceWithArray(0,e.values.length,A)},toJS:function(){return this.slice()},toJSON:function(){return this.toJS()},splice:function(A,e){for(var t=[],i=2;i<arguments.length;i++)t[i-2]=arguments[i];var r=this[m];switch(arguments.length){case 0:return[];case 1:return r.spliceWithArray(A);case 2:return r.spliceWithArray(A,e)}return r.spliceWithArray(A,e,t)},spliceWithArray:function(A,e,t){return this[m].spliceWithArray(A,e,t)},push:function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];var t=this[m];return t.spliceWithArray(t.values.length,0,A),t.values.length},pop:function(){return this.splice(Math.max(this[m].values.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];var t=this[m];return t.spliceWithArray(0,0,A),t.values.length},reverse:function(){var A=this.slice();return A.reverse.apply(A,arguments)},sort:function(A){var e=this.slice();return e.sort.apply(e,arguments)},remove:function(A){var e=this[m],t=e.dehanceValues(e.values).indexOf(A);return t>-1&&(this.splice(t,1),!0)},get:function(A){var e=this[m];if(e){if(A<e.values.length)return e.atom.reportObserved(),e.dehanceValue(e.values[A]);console.warn("[mobx.array] Attempt to read an array index ("+A+") that is out of bounds ("+e.values.length+"). Please check length first. Out of bound indices will not be tracked by MobX")}},set:function(A,e){var t=this[m],i=t.values;if(A<i.length){oA(t.atom);var r=i[A];if(rt(t)){var n=gt(t,{type:"update",object:t.proxy,index:A,newValue:e});if(!n)return;e=n.newValue}(e=t.enhancer(e,r))!==r&&(i[A]=e,t.notifyArrayChildUpdate(A,e,r))}else{if(A!==i.length)throw new Error("[mobx.array] Index out of bounds, "+A+" is larger than "+i.length);t.spliceWithArray(A,0,[e])}}};["concat","every","filter","forEach","indexOf","join","lastIndexOf","map","reduce","reduceRight","slice","some","toString","toLocaleString"].forEach((function(A){lt[A]=function(){var e=this[m];e.atom.reportObserved();var t=e.dehanceValues(e.values);return t[A].apply(t,arguments)}}));var Bt,Qt=f("ObservableArrayAdministration",ct);function ut(A){return u(A)&&Qt(A[m])}var Et,ht={},ft=function(){function A(A,e,t){if(void 0===e&&(e=L),void 0===t&&(t="ObservableMap@"+s()),this.enhancer=e,this.name=t,this[Bt]=ht,this._keysAtom=N(this.name+".keys()"),this[Symbol.toStringTag]="Map","function"!=typeof Map)throw new Error("mobx.map requires Map polyfill for the current browser. Check babel-polyfill or core-js/es6/map.js");this._data=new Map,this._hasMap=new Map,this.merge(A)}return A.prototype._has=function(A){return this._data.has(A)},A.prototype.has=function(A){var e=this;if(!_A.trackingDerivation)return this._has(A);var t=this._hasMap.get(A);if(!t){var i=t=new bA(this._has(A),K,this.name+"."+D(A)+"?",!1);this._hasMap.set(A,i),le(i,(function(){return e._hasMap.delete(A)}))}return t.get()},A.prototype.set=function(A,e){var t=this._has(A);if(rt(this)){var i=gt(this,{type:t?"update":"add",object:this,newValue:e,name:A});if(!i)return this;e=i.newValue}return t?this._updateValue(A,e):this._addValue(A,e),this},A.prototype.delete=function(A){var e=this;if(rt(this)&&!(i=gt(this,{type:"delete",object:this,name:A})))return!1;if(this._has(A)){var t=ot(this),i=t?{type:"delete",object:this,oldValue:this._data.get(A).value,name:A}:null;return Ze((function(){e._keysAtom.reportChanged(),e._updateHasMapEntry(A,!1),e._data.get(A).setNewValue(void 0),e._data.delete(A)})),t&&It(this,i),!0}return!1},A.prototype._updateHasMapEntry=function(A,e){var t=this._hasMap.get(A);t&&t.setNewValue(e)},A.prototype._updateValue=function(A,e){var t=this._data.get(A);if((e=t.prepareNewValue(e))!==_A.UNCHANGED){var i=ot(this),r=i?{type:"update",object:this,oldValue:t.value,name:A,newValue:e}:null;0,t.setNewValue(e),i&&It(this,r)}},A.prototype._addValue=function(A,e){var t=this;oA(this._keysAtom),Ze((function(){var i=new bA(e,t.enhancer,t.name+"."+D(A),!1);t._data.set(A,i),e=i.value,t._updateHasMapEntry(A,!0),t._keysAtom.reportChanged()}));var i=ot(this),r=i?{type:"add",object:this,name:A,newValue:e}:null;i&&It(this,r)},A.prototype.get=function(A){return this.has(A)?this.dehanceValue(this._data.get(A).get()):this.dehanceValue(void 0)},A.prototype.dehanceValue=function(A){return void 0!==this.dehancer?this.dehancer(A):A},A.prototype.keys=function(){return this._keysAtom.reportObserved(),this._data.keys()},A.prototype.values=function(){var A=this,e=0,t=Array.from(this.keys());return Ut({next:function(){return e<t.length?{value:A.get(t[e++]),done:!1}:{done:!0}}})},A.prototype.entries=function(){var A=this,e=0,t=Array.from(this.keys());return Ut({next:function(){if(e<t.length){var i=t[e++];return{value:[i,A.get(i)],done:!1}}return{done:!0}}})},A.prototype[(Bt=m,Symbol.iterator)]=function(){return this.entries()},A.prototype.forEach=function(A,e){var t,i;try{for(var r=g(this),n=r.next();!n.done;n=r.next()){var a=o(n.value,2),I=a[0],C=a[1];A.call(e,C,I,this)}}catch(A){t={error:A}}finally{try{n&&!n.done&&(i=r.return)&&i.call(r)}finally{if(t)throw t.error}}},A.prototype.merge=function(A){var e=this;return dt(A)&&(A=A.toJS()),Ze((function(){E(A)?w(A).forEach((function(t){return e.set(t,A[t])})):Array.isArray(A)?A.forEach((function(A){var t=o(A,2),i=t[0],r=t[1];return e.set(i,r)})):p(A)?(A.constructor!==Map&&c("Cannot initialize from classes that inherit from Map: "+A.constructor.name),A.forEach((function(A,t){return e.set(t,A)}))):null!=A&&c("Cannot initialize map from "+A)})),this},A.prototype.clear=function(){var A=this;Ze((function(){CA((function(){var e,t;try{for(var i=g(A.keys()),r=i.next();!r.done;r=i.next()){var n=r.value;A.delete(n)}}catch(A){e={error:A}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}}))}))},A.prototype.replace=function(A){var e=this;return Ze((function(){var t,i=E(t=A)?Object.keys(t):Array.isArray(t)?t.map((function(A){return o(A,1)[0]})):p(t)||dt(t)?Array.from(t.keys()):c("Cannot get keys from '"+t+"'");Array.from(e.keys()).filter((function(A){return-1===i.indexOf(A)})).forEach((function(A){return e.delete(A)})),e.merge(A)})),this},Object.defineProperty(A.prototype,"size",{get:function(){return this._keysAtom.reportObserved(),this._data.size},enumerable:!0,configurable:!0}),A.prototype.toPOJO=function(){var A,e,t={};try{for(var i=g(this),r=i.next();!r.done;r=i.next()){var n=o(r.value,2),a=n[0],I=n[1];t["symbol"==typeof a?a:D(a)]=I}}catch(e){A={error:e}}finally{try{r&&!r.done&&(e=i.return)&&e.call(i)}finally{if(A)throw A.error}}return t},A.prototype.toJS=function(){return new Map(this)},A.prototype.toJSON=function(){return this.toPOJO()},A.prototype.toString=function(){var A=this;return this.name+"[{ "+Array.from(this.keys()).map((function(e){return D(e)+": "+A.get(e)})).join(", ")+" }]"},A.prototype.observe=function(A,e){return at(this,A)},A.prototype.intercept=function(A){return nt(this,A)},A}(),dt=f("ObservableMap",ft),pt={},yt=function(){function A(A,e,t){if(void 0===e&&(e=L),void 0===t&&(t="ObservableSet@"+s()),this.name=t,this[Et]=pt,this._data=new Set,this._atom=N(this.name),this[Symbol.toStringTag]="Set","function"!=typeof Set)throw new Error("mobx.set requires Set polyfill for the current browser. Check babel-polyfill or core-js/es6/set.js");this.enhancer=function(A,i){return e(A,i,t)},A&&this.replace(A)}return A.prototype.dehanceValue=function(A){return void 0!==this.dehancer?this.dehancer(A):A},A.prototype.clear=function(){var A=this;Ze((function(){CA((function(){var e,t;try{for(var i=g(A._data.values()),r=i.next();!r.done;r=i.next()){var n=r.value;A.delete(n)}}catch(A){e={error:A}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}}))}))},A.prototype.forEach=function(A,e){var t,i;try{for(var r=g(this),n=r.next();!n.done;n=r.next()){var o=n.value;A.call(e,o,o,this)}}catch(A){t={error:A}}finally{try{n&&!n.done&&(i=r.return)&&i.call(r)}finally{if(t)throw t.error}}},Object.defineProperty(A.prototype,"size",{get:function(){return this._atom.reportObserved(),this._data.size},enumerable:!0,configurable:!0}),A.prototype.add=function(A){var e=this;if((oA(this._atom),rt(this))&&!(i=gt(this,{type:"add",object:this,newValue:A})))return this;if(!this.has(A)){Ze((function(){e._data.add(e.enhancer(A,void 0)),e._atom.reportChanged()}));var t=ot(this),i=t?{type:"add",object:this,newValue:A}:null;0,t&&It(this,i)}return this},A.prototype.delete=function(A){var e=this;if(rt(this)&&!(i=gt(this,{type:"delete",object:this,oldValue:A})))return!1;if(this.has(A)){var t=ot(this),i=t?{type:"delete",object:this,oldValue:A}:null;return Ze((function(){e._atom.reportChanged(),e._data.delete(A)})),t&&It(this,i),!0}return!1},A.prototype.has=function(A){return this._atom.reportObserved(),this._data.has(this.dehanceValue(A))},A.prototype.entries=function(){var A=0,e=Array.from(this.keys()),t=Array.from(this.values());return Ut({next:function(){var i=A;return A+=1,i<t.length?{value:[e[i],t[i]],done:!1}:{done:!0}}})},A.prototype.keys=function(){return this.values()},A.prototype.values=function(){this._atom.reportObserved();var A=this,e=0,t=Array.from(this._data.values());return Ut({next:function(){return e<t.length?{value:A.dehanceValue(t[e++]),done:!1}:{done:!0}}})},A.prototype.replace=function(A){var e=this;return wt(A)&&(A=A.toJS()),Ze((function(){Array.isArray(A)||y(A)?(e.clear(),A.forEach((function(A){return e.add(A)}))):null!=A&&c("Cannot initialize set from "+A)})),this},A.prototype.observe=function(A,e){return at(this,A)},A.prototype.intercept=function(A){return nt(this,A)},A.prototype.toJS=function(){return new Set(this)},A.prototype.toString=function(){return this.name+"[ "+Array.from(this).join(", ")+" ]"},A.prototype[(Et=m,Symbol.iterator)]=function(){return this.values()},A}(),wt=f("ObservableSet",yt),Dt=function(){function A(A,e,t,i){void 0===e&&(e=new Map),this.target=A,this.values=e,this.name=t,this.defaultEnhancer=i,this.keysAtom=new b(t+".keys")}return A.prototype.read=function(A){return this.values.get(A).get()},A.prototype.write=function(A,e){var t=this.target,i=this.values.get(A);if(i instanceof NA)i.set(e);else{if(rt(this)){if(!(n=gt(this,{type:"update",object:this.proxy||t,name:A,newValue:e})))return;e=n.newValue}if((e=i.prepareNewValue(e))!==_A.UNCHANGED){var r=ot(this),n=r?{type:"update",object:this.proxy||t,oldValue:i.value,name:A,newValue:e}:null;0,i.setNewValue(e),r&&It(this,n)}}},A.prototype.has=function(A){var e=this.pendingKeys||(this.pendingKeys=new Map),t=e.get(A);if(t)return t.get();var i=!!this.values.get(A);return t=new bA(i,K,this.name+"."+D(A)+"?",!1),e.set(A,t),t.get()},A.prototype.addObservableProp=function(A,e,t){void 0===t&&(t=this.defaultEnhancer);var i=this.target;if(rt(this)){var r=gt(this,{object:this.proxy||i,name:A,type:"add",newValue:e});if(!r)return;e=r.newValue}var n=new bA(e,t,this.name+"."+D(A),!1);this.values.set(A,n),e=n.value,Object.defineProperty(i,A,function(A){return mt[A]||(mt[A]={configurable:!0,enumerable:!0,get:function(){return this[m].read(A)},set:function(e){this[m].write(A,e)}})}(A)),this.notifyPropertyAddition(A,e)},A.prototype.addComputedProp=function(A,e,t){var i=this.target;t.name=t.name||this.name+"."+D(e),this.values.set(e,new NA(t)),(A===i||function(A,e){var t=Object.getOwnPropertyDescriptor(A,e);return!t||!1!==t.configurable&&!1!==t.writable}(A,e))&&Object.defineProperty(A,e,function(A){return bt[A]||(bt[A]={configurable:_A.computedConfigurable,enumerable:!1,get:function(){return kt(this).read(A)},set:function(e){kt(this).write(A,e)}})}(e))},A.prototype.remove=function(A){if(this.values.has(A)){var e=this.target;if(rt(this))if(!(g=gt(this,{object:this.proxy||e,name:A,type:"remove"})))return;try{HA();var t=ot(this),i=this.values.get(A),r=i&&i.get();if(i&&i.set(void 0),this.keysAtom.reportChanged(),this.values.delete(A),this.pendingKeys){var n=this.pendingKeys.get(A);n&&n.set(!1)}delete this.target[A];var g=t?{type:"remove",object:this.proxy||e,oldValue:r,name:A}:null;0,t&&It(this,g)}finally{OA()}}},A.prototype.illegalAccess=function(A,e){console.warn("Property '"+e+"' of '"+A+"' was accessed through the prototype chain. Use 'decorate' instead to declare the prop or access it statically through it's owner")},A.prototype.observe=function(A,e){return at(this,A)},A.prototype.intercept=function(A){return nt(this,A)},A.prototype.notifyPropertyAddition=function(A,e){var t=ot(this),i=t?{type:"add",object:this.proxy||this.target,name:A,newValue:e}:null;if(t&&It(this,i),this.pendingKeys){var r=this.pendingKeys.get(A);r&&r.set(!0)}this.keysAtom.reportChanged()},A.prototype.getKeys=function(){var A,e;this.keysAtom.reportObserved();var t=[];try{for(var i=g(this.values),r=i.next();!r.done;r=i.next()){var n=o(r.value,2),a=n[0];n[1]instanceof bA&&t.push(a)}}catch(e){A={error:e}}finally{try{r&&!r.done&&(e=i.return)&&e.call(i)}finally{if(A)throw A.error}}return t},A}();function vt(A,e,t){if(void 0===e&&(e=""),void 0===t&&(t=L),Object.prototype.hasOwnProperty.call(A,m))return A[m];E(A)||(e=(A.constructor.name||"ObservableObject")+"@"+s()),e||(e="ObservableObject@"+s());var i=new Dt(A,new Map,D(e),t);return h(A,m,i),i}var mt=Object.create(null),bt=Object.create(null);function kt(A){var e=A[m];return e||(Y(A),A[m])}var Nt=f("ObservableObjectAdministration",Dt);function Mt(A){return!!u(A)&&(Y(A),Nt(A[m]))}function Rt(A,e){if("object"==typeof A&&null!==A){if(ut(A))return void 0!==e&&c(!1),A[m].atom;if(wt(A))return A[m];if(dt(A)){var t=A;return void 0===e?t._keysAtom:((i=t._data.get(e)||t._hasMap.get(e))||c(!1),i)}var i;if(Y(A),e&&!A[m]&&A[e],Mt(A))return e?((i=A[m].values.get(e))||c(!1),i):c(!1);if(k(A)||MA(A)||WA(A))return A}else if("function"==typeof A&&WA(A[m]))return A[m];return c(!1)}function Gt(A,e){return A||c("Expecting some object"),void 0!==e?Gt(Rt(A,e)):k(A)||MA(A)||WA(A)||dt(A)||wt(A)?A:(Y(A),A[m]?A[m]:void c(!1))}function Ft(A,e){return(void 0!==e?Rt(A,e):Mt(A)||dt(A)||wt(A)?Gt(A):Rt(A)).name}var xt=Object.prototype.toString;function St(A,e,t){return void 0===t&&(t=-1),function A(e,t,i,r,n){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var g=typeof e;if("function"!==g&&"object"!==g&&"object"!=typeof t)return!1;var o=xt.call(e);if(o!==xt.call(t))return!1;switch(o){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return"undefined"!=typeof Symbol&&Symbol.valueOf.call(e)===Symbol.valueOf.call(t);case"[object Map]":case"[object Set]":i>=0&&i++}e=Yt(e),t=Yt(t);var a="[object Array]"===o;if(!a){if("object"!=typeof e||"object"!=typeof t)return!1;var I=e.constructor,C=t.constructor;if(I!==C&&!("function"==typeof I&&I instanceof I&&"function"==typeof C&&C instanceof C)&&"constructor"in e&&"constructor"in t)return!1}if(0===i)return!1;i<0&&(i=-1);n=n||[];var s=(r=r||[]).length;for(;s--;)if(r[s]===e)return n[s]===t;if(r.push(e),n.push(t),a){if((s=e.length)!==t.length)return!1;for(;s--;)if(!A(e[s],t[s],i-1,r,n))return!1}else{var c=Object.keys(e),l=void 0;if(s=c.length,Object.keys(t).length!==s)return!1;for(;s--;)if(l=c[s],!_t(t,l)||!A(e[l],t[l],i-1,r,n))return!1}return r.pop(),n.pop(),!0}(A,e,t)}function Yt(A){return ut(A)?A.slice():p(A)||dt(A)||y(A)||wt(A)?Array.from(A.entries()):A}function _t(A,e){return Object.prototype.hasOwnProperty.call(A,e)}function Ut(A){return A[Symbol.iterator]=Lt,A}function Lt(){return this}if("undefined"==typeof Proxy||"undefined"==typeof Symbol)throw new Error("[mobx] MobX 5+ requires Proxy and Symbol objects. If your environment doesn't support Symbol or Proxy objects, please downgrade to MobX 4. For React Native Android, consider upgrading JSCore.");"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:Ae,extras:{getDebugName:Ft},$mobx:m})}.call(this,t(97),t(19))},function(A,e,t){"use strict";t.d(e,"a",(function(){return n}));var i=new Date,r=new Date;function n(A,e,t,g){function o(e){return A(e=0===arguments.length?new Date:new Date(+e)),e}return o.floor=function(e){return A(e=new Date(+e)),e},o.ceil=function(t){return A(t=new Date(t-1)),e(t,1),A(t),t},o.round=function(A){var e=o(A),t=o.ceil(A);return A-e<t-A?e:t},o.offset=function(A,t){return e(A=new Date(+A),null==t?1:Math.floor(t)),A},o.range=function(t,i,r){var n,g=[];if(t=o.ceil(t),r=null==r?1:Math.floor(r),!(t<i&&r>0))return g;do{g.push(n=new Date(+t)),e(t,r),A(t)}while(n<t&&t<i);return g},o.filter=function(t){return n((function(e){if(e>=e)for(;A(e),!t(e);)e.setTime(e-1)}),(function(A,i){if(A>=A)if(i<0)for(;++i<=0;)for(;e(A,-1),!t(A););else for(;--i>=0;)for(;e(A,1),!t(A););}))},t&&(o.count=function(e,n){return i.setTime(+e),r.setTime(+n),A(i),A(r),Math.floor(t(i,r))},o.every=function(A){return A=Math.floor(A),isFinite(A)&&A>0?A>1?o.filter(g?function(e){return g(e)%A==0}:function(e){return o.count(0,e)%A==0}):o:null}),o}},function(A,e,t){"use strict";t.d(e,"d",(function(){return i})),t.d(e,"c",(function(){return r})),t.d(e,"b",(function(){return n})),t.d(e,"a",(function(){return g})),t.d(e,"e",(function(){return o}));var i=1e3,r=6e4,n=36e5,g=864e5,o=6048e5},function(A,e,t){"use strict";t.d(e,"c",(function(){return n})),t.d(e,"b",(function(){return g})),t.d(e,"a",(function(){return o}));var i=t(78);function r(A,e){return function(t){return A+t*e}}function n(A,e){var t=e-A;return t?r(A,t>180||t<-180?t-360*Math.round(t/360):t):Object(i.a)(isNaN(A)?e:A)}function g(A){return 1==(A=+A)?o:function(e,t){return t-e?function(A,e,t){return A=Math.pow(A,t),e=Math.pow(e,t)-A,t=1/t,function(i){return Math.pow(A+i*e,t)}}(e,t,A):Object(i.a)(isNaN(e)?t:e)}}function o(A,e){var t=e-A;return t?r(A,t):Object(i.a)(isNaN(A)?e:A)}},function(A,e,t){"use strict";t.d(e,"g",(function(){return g})),t.d(e,"c",(function(){return o})),t.d(e,"k",(function(){return a})),t.d(e,"m",(function(){return I})),t.d(e,"i",(function(){return C})),t.d(e,"a",(function(){return s})),t.d(e,"e",(function(){return c})),t.d(e,"h",(function(){return l})),t.d(e,"d",(function(){return B})),t.d(e,"l",(function(){return Q})),t.d(e,"n",(function(){return u})),t.d(e,"j",(function(){return E})),t.d(e,"b",(function(){return h})),t.d(e,"f",(function(){return f}));var i=t(5),r=t(6);function n(A){return Object(i.a)((function(e){e.setDate(e.getDate()-(e.getDay()+7-A)%7),e.setHours(0,0,0,0)}),(function(A,e){A.setDate(A.getDate()+7*e)}),(function(A,e){return(e-A-(e.getTimezoneOffset()-A.getTimezoneOffset())*r.c)/r.e}))}var g=n(0),o=n(1),a=n(2),I=n(3),C=n(4),s=n(5),c=n(6),l=g.range,B=o.range,Q=a.range,u=I.range,E=C.range,h=s.range,f=c.range},function(A,e,t){"use strict";t.d(e,"g",(function(){return g})),t.d(e,"c",(function(){return o})),t.d(e,"k",(function(){return a})),t.d(e,"m",(function(){return I})),t.d(e,"i",(function(){return C})),t.d(e,"a",(function(){return s})),t.d(e,"e",(function(){return c})),t.d(e,"h",(function(){return l})),t.d(e,"d",(function(){return B})),t.d(e,"l",(function(){return Q})),t.d(e,"n",(function(){return u})),t.d(e,"j",(function(){return E})),t.d(e,"b",(function(){return h})),t.d(e,"f",(function(){return f}));var i=t(5),r=t(6);function n(A){return Object(i.a)((function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-A)%7),e.setUTCHours(0,0,0,0)}),(function(A,e){A.setUTCDate(A.getUTCDate()+7*e)}),(function(A,e){return(e-A)/r.e}))}var g=n(0),o=n(1),a=n(2),I=n(3),C=n(4),s=n(5),c=n(6),l=g.range,B=o.range,Q=a.range,u=I.range,E=C.range,h=s.range,f=c.range},function(A,e,t){"use strict";t.d(e,"a",(function(){return r})),t.d(e,"d",(function(){return n})),t.d(e,"c",(function(){return g})),t.d(e,"e",(function(){return d})),t.d(e,"h",(function(){return w})),t.d(e,"g",(function(){return D})),t.d(e,"b",(function(){return v})),t.d(e,"f",(function(){return R}));var i=t(21);function r(){}var n=.7,g=1/n,o="\\s*([+-]?\\d+)\\s*",a="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",I="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",C=/^#([0-9a-f]{3,8})$/,s=new RegExp("^rgb\\("+[o,o,o]+"\\)$"),c=new RegExp("^rgb\\("+[I,I,I]+"\\)$"),l=new RegExp("^rgba\\("+[o,o,o,a]+"\\)$"),B=new RegExp("^rgba\\("+[I,I,I,a]+"\\)$"),Q=new RegExp("^hsl\\("+[a,I,I]+"\\)$"),u=new RegExp("^hsla\\("+[a,I,I,a]+"\\)$"),E={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function h(){return this.rgb().formatHex()}function f(){return this.rgb().formatRgb()}function d(A){var e,t;return A=(A+"").trim().toLowerCase(),(e=C.exec(A))?(t=e[1].length,e=parseInt(e[1],16),6===t?p(e):3===t?new v(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===t?y(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===t?y(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=s.exec(A))?new v(e[1],e[2],e[3],1):(e=c.exec(A))?new v(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=l.exec(A))?y(e[1],e[2],e[3],e[4]):(e=B.exec(A))?y(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=Q.exec(A))?N(e[1],e[2]/100,e[3]/100,1):(e=u.exec(A))?N(e[1],e[2]/100,e[3]/100,e[4]):E.hasOwnProperty(A)?p(E[A]):"transparent"===A?new v(NaN,NaN,NaN,0):null}function p(A){return new v(A>>16&255,A>>8&255,255&A,1)}function y(A,e,t,i){return i<=0&&(A=e=t=NaN),new v(A,e,t,i)}function w(A){return A instanceof r||(A=d(A)),A?new v((A=A.rgb()).r,A.g,A.b,A.opacity):new v}function D(A,e,t,i){return 1===arguments.length?w(A):new v(A,e,t,null==i?1:i)}function v(A,e,t,i){this.r=+A,this.g=+e,this.b=+t,this.opacity=+i}function m(){return"#"+k(this.r)+k(this.g)+k(this.b)}function b(){var A=this.opacity;return(1===(A=isNaN(A)?1:Math.max(0,Math.min(1,A)))?"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===A?")":", "+A+")")}function k(A){return((A=Math.max(0,Math.min(255,Math.round(A)||0)))<16?"0":"")+A.toString(16)}function N(A,e,t,i){return i<=0?A=e=t=NaN:t<=0||t>=1?A=e=NaN:e<=0&&(A=NaN),new G(A,e,t,i)}function M(A){if(A instanceof G)return new G(A.h,A.s,A.l,A.opacity);if(A instanceof r||(A=d(A)),!A)return new G;if(A instanceof G)return A;var e=(A=A.rgb()).r/255,t=A.g/255,i=A.b/255,n=Math.min(e,t,i),g=Math.max(e,t,i),o=NaN,a=g-n,I=(g+n)/2;return a?(o=e===g?(t-i)/a+6*(t<i):t===g?(i-e)/a+2:(e-t)/a+4,a/=I<.5?g+n:2-g-n,o*=60):a=I>0&&I<1?0:o,new G(o,a,I,A.opacity)}function R(A,e,t,i){return 1===arguments.length?M(A):new G(A,e,t,null==i?1:i)}function G(A,e,t,i){this.h=+A,this.s=+e,this.l=+t,this.opacity=+i}function F(A,e,t){return 255*(A<60?e+(t-e)*A/60:A<180?t:A<240?e+(t-e)*(240-A)/60:e)}Object(i.a)(r,d,{copy:function(A){return Object.assign(new this.constructor,this,A)},displayable:function(){return this.rgb().displayable()},hex:h,formatHex:h,formatHsl:function(){return M(this).formatHsl()},formatRgb:f,toString:f}),Object(i.a)(v,D,Object(i.b)(r,{brighter:function(A){return A=null==A?g:Math.pow(g,A),new v(this.r*A,this.g*A,this.b*A,this.opacity)},darker:function(A){return A=null==A?n:Math.pow(n,A),new v(this.r*A,this.g*A,this.b*A,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:m,formatHex:m,formatRgb:b,toString:b})),Object(i.a)(G,R,Object(i.b)(r,{brighter:function(A){return A=null==A?g:Math.pow(g,A),new G(this.h,this.s,this.l*A,this.opacity)},darker:function(A){return A=null==A?n:Math.pow(n,A),new G(this.h,this.s,this.l*A,this.opacity)},rgb:function(){var A=this.h%360+360*(this.h<0),e=isNaN(A)||isNaN(this.s)?0:this.s,t=this.l,i=t+(t<.5?t:1-t)*e,r=2*t-i;return new v(F(A>=240?A-240:A+120,r,i),F(A,r,i),F(A<120?A+240:A-120,r,i),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 A=this.opacity;return(1===(A=isNaN(A)?1:Math.max(0,Math.min(1,A)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===A?")":", "+A+")")}}))},function(A,e,t){"use strict";t.d(e,"a",(function(){return i.a})),t.d(e,"b",(function(){return r.a})),t.d(e,"c",(function(){return n.b})),t.d(e,"d",(function(){return g.a})),t.d(e,"g",(function(){return o.a})),t.d(e,"h",(function(){return a})),t.d(e,"m",(function(){return C})),t.d(e,"o",(function(){return s.a})),t.d(e,"p",(function(){return c.a})),t.d(e,"q",(function(){return l.a})),t.d(e,"u",(function(){return B.a})),t.d(e,"v",(function(){return Q.a})),t.d(e,"w",(function(){return u.a})),t.d(e,"x",(function(){return u.b})),t.d(e,"y",(function(){return E.a})),t.d(e,"r",(function(){return h.a})),t.d(e,"s",(function(){return h.b})),t.d(e,"t",(function(){return h.c})),t.d(e,"k",(function(){return p})),t.d(e,"l",(function(){return y})),t.d(e,"n",(function(){return D})),t.d(e,"i",(function(){return m})),t.d(e,"j",(function(){return b})),t.d(e,"e",(function(){return k.b})),t.d(e,"f",(function(){return k.a})),t.d(e,"z",(function(){return N})),t.d(e,"A",(function(){return M}));var i=t(72),r=t(123),n=t(68),g=t(117),o=t(122),a=function(A){var e=A.length;return function(t){return A[Math.max(0,Math.min(e-1,Math.floor(t*e)))]}},I=t(7),C=function(A,e){var t=Object(I.c)(+A,+e);return function(A){var e=t(A);return e-360*Math.floor(e/360)}},s=t(20),c=t(54),l=t(124),B=t(219),Q=t(118),u=t(166),E=t(220),h=t(62),f=t(10);function d(A){return function(e,t){var i=A((e=Object(f.f)(e)).h,(t=Object(f.f)(t)).h),r=Object(I.a)(e.s,t.s),n=Object(I.a)(e.l,t.l),g=Object(I.a)(e.opacity,t.opacity);return function(A){return e.h=i(A),e.s=r(A),e.l=n(A),e.opacity=g(A),e+""}}}var p=d(I.c),y=d(I.a),w=t(89);function D(A,e){var t=Object(I.a)((A=Object(w.a)(A)).l,(e=Object(w.a)(e)).l),i=Object(I.a)(A.a,e.a),r=Object(I.a)(A.b,e.b),n=Object(I.a)(A.opacity,e.opacity);return function(e){return A.l=t(e),A.a=i(e),A.b=r(e),A.opacity=n(e),A+""}}function v(A){return function(e,t){var i=A((e=Object(w.c)(e)).h,(t=Object(w.c)(t)).h),r=Object(I.a)(e.c,t.c),n=Object(I.a)(e.l,t.l),g=Object(I.a)(e.opacity,t.opacity);return function(A){return e.h=i(A),e.c=r(A),e.l=n(A),e.opacity=g(A),e+""}}}var m=v(I.c),b=v(I.a),k=t(154);function N(A,e){for(var t=0,i=e.length-1,r=e[0],n=new Array(i<0?0:i);t<i;)n[t]=A(r,r=e[++t]);return function(A){var e=Math.max(0,Math.min(i-1,Math.floor(A*=i)));return n[e](A-e)}}var M=function(A,e){for(var t=new Array(e),i=0;i<e;++i)t[i]=A(i/(e-1));return t}},function(A,e,t){"use strict";t.r(e),t.d(e,"create",(function(){return n})),t.d(e,"creator",(function(){return i.a})),t.d(e,"local",(function(){return o})),t.d(e,"matcher",(function(){return I.a})),t.d(e,"mouse",(function(){return C.a})),t.d(e,"namespace",(function(){return s.a})),t.d(e,"namespaces",(function(){return c.a})),t.d(e,"clientPoint",(function(){return l.a})),t.d(e,"select",(function(){return r.a})),t.d(e,"selectAll",(function(){return Q})),t.d(e,"selection",(function(){return B.b})),t.d(e,"selector",(function(){return u.a})),t.d(e,"selectorAll",(function(){return E.a})),t.d(e,"style",(function(){return h.b})),t.d(e,"touch",(function(){return f.a})),t.d(e,"touches",(function(){return p})),t.d(e,"window",(function(){return y.a})),t.d(e,"event",(function(){return w.c})),t.d(e,"customEvent",(function(){return w.a}));var i=t(51),r=t(77),n=function(A){return Object(r.a)(Object(i.a)(A).call(document.documentElement))},g=0;function o(){return new a}function a(){this._="@"+(++g).toString(36)}a.prototype=o.prototype={constructor:a,get:function(A){for(var e=this._;!(e in A);)if(!(A=A.parentNode))return;return A[e]},set:function(A,e){return A[this._]=e},remove:function(A){return this._ in A&&delete A[this._]},toString:function(){return this._}};var I=t(119),C=t(214),s=t(69),c=t(53),l=t(52),B=t(39),Q=function(A){return"string"==typeof A?new B.a([document.querySelectorAll(A)],[document.documentElement]):new B.a([null==A?[]:A],B.c)},u=t(70),E=t(120),h=t(121),f=t(213),d=t(76),p=function(A,e){null==e&&(e=Object(d.a)().touches);for(var t=0,i=e?e.length:0,r=new Array(i);t<i;++t)r[t]=Object(l.a)(A,e[t]);return r},y=t(71),w=t(37)},function(A,e,t){(function(e){var t=function(A){return A&&A.Math==Math&&A};A.exports=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof e&&e)||Function("return this")()}).call(this,t(19))},function(A,e,t){var i=t(13),r=t(178),n=t(23),g=t(138),o=t(182),a=t(275),I=r("wks"),C=i.Symbol,s=a?C:C&&C.withoutSetter||g;A.exports=function(A){return n(I,A)||(o&&n(C,A)?I[A]=C[A]:I[A]=s("Symbol."+A)),I[A]}},function(A,e,t){"use strict";var i=t(10);t.d(e,"a",(function(){return i.e})),t.d(e,"h",(function(){return i.g})),t.d(e,"e",(function(){return i.f}));var r=t(89);t.d(e,"f",(function(){return r.a})),t.d(e,"d",(function(){return r.c})),t.d(e,"g",(function(){return r.d})),t.d(e,"c",(function(){return r.b}));var n=t(127);t.d(e,"b",(function(){return n.a}))},function(A,e,t){"use strict";(function(A){t.d(e,"a",(function(){return N})),t.d(e,"b",(function(){return E})),t.d(e,"c",(function(){return a})),t.d(e,"d",(function(){return b})),t.d(e,"e",(function(){return Q})),t.d(e,"f",(function(){return u})),t.d(e,"g",(function(){return G})),t.d(e,"h",(function(){return F})),t.d(e,"i",(function(){return m})),t.d(e,"j",(function(){return o}));var i=t(4),r=t(1),n=t.n(r);if(!r.useState)throw new Error("mobx-react-lite requires React with Hooks support");if(!i.spy)throw new Error("mobx-react-lite requires mobx at least version 4 to be available");var g=!1;function o(A){g=A}function a(){return g}function I(){return(I=Object.assign||function(A){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(A[i]=t[i])}return A}).apply(this,arguments)}function C(){var A=Object(r.useState)(0)[1];return Object(r.useCallback)((function(){A((function(A){return A+1}))}),[])}function s(A){return"function"==typeof Symbol?Symbol.for(A):"__$mobx-react "+A+"__"}var c={};function l(){return"undefined"!=typeof window?window:void 0!==A?A:"undefined"!=typeof self?self:c}var B=s("observerBatching"),Q=function(A){"function"==typeof A&&Object(i.configure)({reactionScheduler:A}),l()[B]=!0},u=function(){Object(i.configure)({reactionScheduler:void 0}),l()[B]=!0},E=function(){return l()[B]};function h(A){return Object(i.getDependencyTree)(A)}var f,d=1e4,p=new Set;function y(){void 0===f&&(f=setTimeout(w,1e4))}function w(){f=void 0;var A=Date.now();p.forEach((function(e){var t=e.current;t&&A>=t.cleanAt&&(t.reaction.dispose(),e.current=null,p.delete(e))})),p.size>0&&y()}var D={};function v(A){return"observer"+A}function m(A,e,t){if(void 0===e&&(e="observed"),void 0===t&&(t=D),a())return A();var r,g=(t.useForceUpdate||C)(),o=n.a.useRef(null);if(!o.current){var I=new i.Reaction(v(e),(function(){s.mounted?g():(I.dispose(),o.current=null)})),s=function(A){return{cleanAt:Date.now()+d,reaction:A}}(I);o.current=s,r=o,p.add(r),y()}var c,l,B=o.current.reaction;if(n.a.useDebugValue(B,h),n.a.useEffect((function(){var A;return A=o,p.delete(A),o.current?o.current.mounted=!0:(o.current={reaction:new i.Reaction(v(e),(function(){g()})),cleanAt:1/0},g()),function(){o.current.reaction.dispose(),o.current=null}}),[]),B.track((function(){try{c=A()}catch(A){l=A}})),l)throw l;return c}function b(A,e){if(a())return A;var t,i,n,g=I({forwardRef:!1},e),o=A.displayName||A.name,C=function(e,t){return m((function(){return A(e,t)}),o)};return C.displayName=o,t=g.forwardRef?Object(r.memo)(Object(r.forwardRef)(C)):Object(r.memo)(C),i=A,n=t,Object.keys(i).forEach((function(A){k[A]||Object.defineProperty(n,A,Object.getOwnPropertyDescriptor(i,A))})),t.displayName=o,t}var k={$$typeof:!0,render:!0,compare:!0,type:!0};function N(A){var e=A.children,t=A.render,i=e||t;return"function"!=typeof i?null:m(i)}function M(A,e,t,i,r){var n="children"===e?"render":"children",g="function"==typeof A[e],o="function"==typeof A[n];return g&&o?new Error("MobX Observer: Do not use children and render in the same time in`"+t):g||o?null:new Error("Invalid prop `"+r+"` of type `"+typeof A[e]+"` supplied to `"+t+"`, expected `function`.")}function R(A,e){if(!e||void 0!==A){0;var t=n.a.useState((function(){return Object(i.observable)(A,{},{deep:!1})}))[0];return Object(i.runInAction)((function(){Object.assign(t,A)})),t}}function G(A){return R(A,!1)}function F(A,e){var t=R(e,!0);return n.a.useState((function(){var e=Object(i.observable)(A(t));return function(A){if(!A||"object"!=typeof A)return!1;var e=Object.getPrototypeOf(A);return!e||e===Object.prototype}(e)&&Object(i.runInAction)((function(){Object.keys(e).forEach((function(A){var t,r,n=e[A];"function"==typeof n&&(e[A]=(t=n,r=e,function(){for(var A=arguments.length,e=new Array(A),n=0;n<A;n++)e[n]=arguments[n];return Object(i.transaction)((function(){return t.apply(r,e)}))}))}))})),e}))[0]}N.propTypes={children:M,render:M},N.displayName="Observer"}).call(this,t(19))},function(A,e,t){"use strict";t.d(e,"d",(function(){return g})),t.d(e,"e",(function(){return B})),t.d(e,"c",(function(){return n})),t.d(e,"b",(function(){return Q})),t.d(e,"f",(function(){return u})),t.d(e,"a",(function(){return E}));function i(){}function r(A,e){var t=new i;if(A instanceof i)A.each((function(A,e){t.set(e,A)}));else if(Array.isArray(A)){var r,n=-1,g=A.length;if(null==e)for(;++n<g;)t.set(n,A[n]);else for(;++n<g;)t.set(e(r=A[n],n,A),r)}else if(A)for(var o in A)t.set(o,A[o]);return t}i.prototype=r.prototype={constructor:i,has:function(A){return"$"+A in this},get:function(A){return this["$"+A]},set:function(A,e){return this["$"+A]=e,this},remove:function(A){var e="$"+A;return e in this&&delete this[e]},clear:function(){for(var A in this)"$"===A[0]&&delete this[A]},keys:function(){var A=[];for(var e in this)"$"===e[0]&&A.push(e.slice(1));return A},values:function(){var A=[];for(var e in this)"$"===e[0]&&A.push(this[e]);return A},entries:function(){var A=[];for(var e in this)"$"===e[0]&&A.push({key:e.slice(1),value:this[e]});return A},size:function(){var A=0;for(var e in this)"$"===e[0]&&++A;return A},empty:function(){for(var A in this)if("$"===A[0])return!1;return!0},each:function(A){for(var e in this)"$"===e[0]&&A(this[e],e.slice(1),this)}};var n=r,g=function(){var A,e,t,i=[],r=[];function g(t,r,o,a){if(r>=i.length)return null!=A&&t.sort(A),null!=e?e(t):t;for(var I,C,s,c=-1,l=t.length,B=i[r++],Q=n(),u=o();++c<l;)(s=Q.get(I=B(C=t[c])+""))?s.push(C):Q.set(I,[C]);return Q.each((function(A,e){a(u,e,g(A,r,o,a))})),u}return t={object:function(A){return g(A,0,o,a)},map:function(A){return g(A,0,I,C)},entries:function(A){return function A(t,n){if(++n>i.length)return t;var g,o=r[n-1];return null!=e&&n>=i.length?g=t.entries():(g=[],t.each((function(e,t){g.push({key:t,values:A(e,n)})}))),null!=o?g.sort((function(A,e){return o(A.key,e.key)})):g}(g(A,0,I,C),0)},key:function(A){return i.push(A),t},sortKeys:function(A){return r[i.length-1]=A,t},sortValues:function(e){return A=e,t},rollup:function(A){return e=A,t}}};function o(){return{}}function a(A,e,t){A[e]=t}function I(){return n()}function C(A,e,t){A.set(e,t)}function s(){}var c=n.prototype;function l(A,e){var t=new s;if(A instanceof s)A.each((function(A){t.add(A)}));else if(A){var i=-1,r=A.length;if(null==e)for(;++i<r;)t.add(A[i]);else for(;++i<r;)t.add(e(A[i],i,A))}return t}s.prototype=l.prototype={constructor:s,has:c.has,add:function(A){return this["$"+(A+="")]=A,this},remove:c.remove,clear:c.clear,values:c.keys,size:c.size,empty:c.empty,each:c.each};var B=l,Q=function(A){var e=[];for(var t in A)e.push(t);return e},u=function(A){var e=[];for(var t in A)e.push(A[t]);return e},E=function(A){var e=[];for(var t in A)e.push({key:t,value:A[t]});return e}},function(A,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UnexpectedPropertyTree=e.DeserializeError=e.DeserializeResultBuilder=e.DeserializeResult=void 0;class i{constructor(A,e,t,i){this.hasValue=A,this.errors=t,this.unprocessedPropertyTree=i,this.value=void 0,this.value=e}static fromValue(A){return new i(!0,A,[],void 0)}static fromError(...A){return new i(!1,void 0,A.map(A=>r.from(A)),void 0)}static fromValueWithError(A,...e){return new i(!0,A,e.map(A=>r.from(A)),void 0)}get hasErrors(){return this.errors.length>0}formatError(){return JSON.stringify(this.errors)}getValidValue(){if(this.hasErrors)throw new Error(this.formatError());return this.value}}e.DeserializeResult=i;e.DeserializeResultBuilder=class{constructor(){this.hasValue=!1,this.value=void 0,this.errors=new Array}setValue(A){this.hasValue=!0,this.value=A}addError(...A){this.errors.push(...A.map(A=>r.from(A)))}build(){return new i(this.hasValue,this.value,this.errors,void 0)}};class r{constructor(A,e,t){this.message=A,this.path=e,this.alternatives=t}static from(A){return new r(A.message,void 0===A.path?[]:A.path,A.alternatives||[])}prependPath(A){return new r(this.message,[A].concat(...this.path),this.alternatives)}}e.DeserializeError=r;e.UnexpectedPropertyTree=class{constructor(A,e){this.properties=A,this.unprocessedProperties=e}merge(A){}}},function(A,e){var t;t=function(){return this}();try{t=t||new Function("return this")()}catch(A){"object"==typeof window&&(t=window)}A.exports=t},function(A,e,t){"use strict";e.a=function(A,e){return A=+A,e=+e,function(t){return A*(1-t)+e*t}}},function(A,e,t){"use strict";function i(A,e){var t=Object.create(A.prototype);for(var i in e)t[i]=e[i];return t}t.d(e,"b",(function(){return i})),e.a=function(A,e,t){A.prototype=e.prototype=t,t.constructor=A}},function(A,e,t){var i=t(13),r=t(274),n=t(177),g=t(25),o=t(14),a=o("iterator"),I=o("toStringTag"),C=n.values;for(var s in r){var c=i[s],l=c&&c.prototype;if(l){if(l[a]!==C)try{g(l,a,C)}catch(A){l[a]=C}if(l[I]||g(l,I,s),r[s])for(var B in n)if(l[B]!==n[B])try{g(l,B,n[B])}catch(A){l[B]=n[B]}}}},function(A,e){var t={}.hasOwnProperty;A.exports=function(A,e){return t.call(A,e)}},function(A,e){A.exports=function(A){try{return!!A()}catch(A){return!0}}},function(A,e,t){var i=t(26),r=t(31),n=t(64);A.exports=i?function(A,e,t){return r.f(A,e,n(1,t))}:function(A,e,t){return A[e]=t,A}},function(A,e,t){var i=t(24);A.exports=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(A,e,t){"use strict";t.d(e,"b",(function(){return r}));var i=t(37);function r(){i.c.stopImmediatePropagation()}e.a=function(){i.c.preventDefault(),i.c.stopImmediatePropagation()}},function(A,e,t){"use strict";var i=this&&this.__createBinding||(Object.create?function(A,e,t,i){void 0===i&&(i=t),Object.defineProperty(A,i,{enumerable:!0,get:function(){return e[t]}})}:function(A,e,t,i){void 0===i&&(i=t),A[i]=e[t]}),r=this&&this.__exportStar||function(A,e){for(var t in A)"default"===t||e.hasOwnProperty(t)||i(e,A,t)};Object.defineProperty(e,"__esModule",{value:!0}),r(t(226),e),r(t(227),e),r(t(128),e),r(t(233),e),r(t(251),e),r(t(252),e),r(t(253),e)},function(A,e,t){"use strict";var i=this&&this.__createBinding||(Object.create?function(A,e,t,i){void 0===i&&(i=t),Object.defineProperty(A,i,{enumerable:!0,get:function(){return e[t]}})}:function(A,e,t,i){void 0===i&&(i=t),A[i]=e[t]}),r=this&&this.__exportStar||function(A,e){for(var t in A)"default"===t||e.hasOwnProperty(t)||i(e,A,t)};Object.defineProperty(e,"__esModule",{value:!0}),r(t(95),e),r(t(246),e);var n=t(247);Object.defineProperty(e,"sTypePackage",{enumerable:!0,get:function(){return n.sTypePackage}}),Object.defineProperty(e,"sSchemaDef",{enumerable:!0,get:function(){return n.sSchemaDef}});var g=t(249);Object.defineProperty(e,"TypeScriptTypeGenerator",{enumerable:!0,get:function(){return g.TypeScriptTypeGenerator}});var o=t(250);Object.defineProperty(e,"JsonSchemaGenerator",{enumerable:!0,get:function(){return o.JsonSchemaGenerator}}),r(t(80),e)},function(A,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BaseSerializerImpl=e.BaseSerializer=void 0;const i=t(169),r=t(18),n=t(80),g=t(130),o=t(235);class a{get T(){throw new Error("Only for compile time")}asSerializer(){return this}deserialize(A,e=i.DeserializeContext.default){if(void 0===A)throw new Error("Got 'undefined' which is not valid JSON!");let t=e.withoutReportUnexpectedPropertiesAsError();if("object"==typeof A&&null!==A&&"$ns"in A&&t.firstDeserializationOnValue){const e=A.$ns;t=t.withPrefixes(g.fromEntries(Object.entries(e).map(([A,e])=>{if("string"!=typeof e)throw new Error(e+" has invalid type. Must be string.");return[A,n.namespace(e)]})))}let o=this.internalDeserialize(A,t);if(t.reportUnexpectedPropertiesAsError){const A=[...o.errors],e=(t,i)=>{for(const e of i.unprocessedProperties)A.push(r.DeserializeError.from({message:`Unexpected property "${e}"`,path:[...t,e]}));for(const[A,r]of Object.entries(i.properties))e([...t,A],r)};o.unprocessedPropertyTree&&e([],o.unprocessedPropertyTree),o=new r.DeserializeResult(o.hasValue,o.value,A,o.unprocessedPropertyTree)}return o}defineAs(A){return new I.NamedSerializerImpl(this,A,!0)}knownAs(A){return new I.NamedSerializerImpl(this,A,!1)}refine(A){return new I.RefinedSerializerImpl(this,A)}canSerialize(A){return this.internalCanSerialize(A)}serialize(A,e){e||(e=new o.SerializeContext);let t=e.prefixesEnabled;t||(e.prefixesEnabled=!0);const i=this.internalSerialize(A,e);if(!t&&"object"==typeof i&&null!==i){const A=e.getDefinedPrefixes();if(A.length>0){const e={};if("$ns"in i)throw new Error("This is unexpected");i.$ns=e;for(const{prefix:t,namespace:i}of A)e[t]=i}e.prefixesEnabled=!1}return i}}e.BaseSerializer=a;e.BaseSerializerImpl=class extends a{get TInterface(){throw new Error("Only For Runtime")}get TSerializer(){throw new Error("Only For Runtime")}};const I=t(129)},function(A,e,t){var i=t(26),r=t(180),n=t(33),g=t(102),o=Object.defineProperty;e.f=i?o:function(A,e,t){if(n(A),e=g(e,!0),n(t),r)try{return o(A,e,t)}catch(A){}if("get"in t||"set"in t)throw TypeError("Accessors not supported");return"value"in t&&(A[e]=t.value),A}},function(A,e){A.exports=function(A){return"object"==typeof A?null!==A:"function"==typeof A}},function(A,e,t){var i=t(32);A.exports=function(A){if(!i(A))throw TypeError(String(A)+" is not an object");return A}},function(A,e,t){var i=t(195),r="object"==typeof self&&self&&self.Object===Object&&self,n=i||r||Function("return this")();A.exports=n},function(A,e,t){"use strict";t.r(e);var i=t(5);t.d(e,"timeInterval",(function(){return i.a}));var r=t(91);t.d(e,"timeMillisecond",(function(){return r.a})),t.d(e,"timeMilliseconds",(function(){return r.b})),t.d(e,"utcMillisecond",(function(){return r.a})),t.d(e,"utcMilliseconds",(function(){return r.b}));var n=t(90);t.d(e,"timeSecond",(function(){return n.a})),t.d(e,"timeSeconds",(function(){return n.b})),t.d(e,"utcSecond",(function(){return n.a})),t.d(e,"utcSeconds",(function(){return n.b}));var g=t(157);t.d(e,"timeMinute",(function(){return g.a})),t.d(e,"timeMinutes",(function(){return g.b}));var o=t(156);t.d(e,"timeHour",(function(){return o.a})),t.d(e,"timeHours",(function(){return o.b}));var a=t(93);t.d(e,"timeDay",(function(){return a.b})),t.d(e,"timeDays",(function(){return a.a}));var I=t(8);t.d(e,"timeWeek",(function(){return I.g})),t.d(e,"timeWeeks",(function(){return I.h})),t.d(e,"timeSunday",(function(){return I.g})),t.d(e,"timeSundays",(function(){return I.h})),t.d(e,"timeMonday",(function(){return I.c})),t.d(e,"timeMondays",(function(){return I.d})),t.d(e,"timeTuesday",(function(){return I.k})),t.d(e,"timeTuesdays",(function(){return I.l})),t.d(e,"timeWednesday",(function(){return I.m})),t.d(e,"timeWednesdays",(function(){return I.n})),t.d(e,"timeThursday",(function(){return I.i})),t.d(e,"timeThursdays",(function(){return I.j})),t.d(e,"timeFriday",(function(){return I.a})),t.d(e,"timeFridays",(function(){return I.b})),t.d(e,"timeSaturday",(function(){return I.e})),t.d(e,"timeSaturdays",(function(){return I.f}));var C=t(155);t.d(e,"timeMonth",(function(){return C.a})),t.d(e,"timeMonths",(function(){return C.b}));var s=t(56);t.d(e,"timeYear",(function(){return s.a})),t.d(e,"timeYears",(function(){return s.b}));var c=t(160);t.d(e,"utcMinute",(function(){return c.a})),t.d(e,"utcMinutes",(function(){return c.b}));var l=t(159);t.d(e,"utcHour",(function(){return l.a})),t.d(e,"utcHours",(function(){return l.b}));var B=t(94);t.d(e,"utcDay",(function(){return B.a})),t.d(e,"utcDays",(function(){return B.b}));var Q=t(9);t.d(e,"utcWeek",(function(){return Q.g})),t.d(e,"utcWeeks",(function(){return Q.h})),t.d(e,"utcSunday",(function(){return Q.g})),t.d(e,"utcSundays",(function(){return Q.h})),t.d(e,"utcMonday",(function(){return Q.c})),t.d(e,"utcMondays",(function(){return Q.d})),t.d(e,"utcTuesday",(function(){return Q.k})),t.d(e,"utcTuesdays",(function(){return Q.l})),t.d(e,"utcWednesday",(function(){return Q.m})),t.d(e,"utcWednesdays",(function(){return Q.n})),t.d(e,"utcThursday",(function(){return Q.i})),t.d(e,"utcThursdays",(function(){return Q.j})),t.d(e,"utcFriday",(function(){return Q.a})),t.d(e,"utcFridays",(function(){return Q.b})),t.d(e,"utcSaturday",(function(){return Q.e})),t.d(e,"utcSaturdays",(function(){return Q.f}));var u=t(158);t.d(e,"utcMonth",(function(){return u.a})),t.d(e,"utcMonths",(function(){return u.b}));var E=t(57);t.d(e,"utcYear",(function(){return E.a})),t.d(e,"utcYears",(function(){return E.b}))},function(A,e,t){"use strict";t.d(e,"b",(function(){return r})),t.d(e,"c",(function(){return n})),t.d(e,"d",(function(){return g})),t.d(e,"e",(function(){return o})),t.d(e,"a",(function(){return I}));var i,r,n,g,o,a=t(125);function I(A){return i=Object(a.a)(A),r=i.format,n=i.parse,g=i.utcFormat,o=i.utcParse,i}I({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"]})},function(A,e,t){"use strict";t.d(e,"c",(function(){return r})),t.d(e,"a",(function(){return C}));var i={},r=null;"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(i={mouseenter:"mouseover",mouseleave:"mouseout"}));function n(A,e,t){return A=g(A,e,t),function(e){var t=e.relatedTarget;t&&(t===this||8&t.compareDocumentPosition(this))||A.call(this,e)}}function g(A,e,t){return function(i){var n=r;r=i;try{A.call(this,this.__data__,e,t)}finally{r=n}}}function o(A){return A.trim().split(/^|\s+/).map((function(A){var e="",t=A.indexOf(".");return t>=0&&(e=A.slice(t+1),A=A.slice(0,t)),{type:A,name:e}}))}function a(A){return function(){var e=this.__on;if(e){for(var t,i=0,r=-1,n=e.length;i<n;++i)t=e[i],A.type&&t.type!==A.type||t.name!==A.name?e[++r]=t:this.removeEventListener(t.type,t.listener,t.capture);++r?e.length=r:delete this.__on}}}function I(A,e,t){var r=i.hasOwnProperty(A.type)?n:g;return function(i,n,g){var o,a=this.__on,I=r(e,n,g);if(a)for(var C=0,s=a.length;C<s;++C)if((o=a[C]).type===A.type&&o.name===A.name)return this.removeEventListener(o.type,o.listener,o.capture),this.addEventListener(o.type,o.listener=I,o.capture=t),void(o.value=e);this.addEventListener(A.type,I,t),o={type:A.type,name:A.name,value:e,listener:I,capture:t},a?a.push(o):this.__on=[o]}}function C(A,e,t,i){var n=r;A.sourceEvent=r,r=A;try{return e.apply(t,i)}finally{r=n}}e.b=function(A,e,t){var i,r,n=o(A+""),g=n.length;if(!(arguments.length<2)){for(C=e?I:a,null==t&&(t=!1),i=0;i<g;++i)this.each(C(n[i],e,t));return this}var C=this.node().__on;if(C)for(var s,c=0,l=C.length;c<l;++c)for(i=0,s=C[c];i<g;++i)if((r=n[i]).type===s.type&&r.name===s.name)return s.value}},function(A,e,t){"use strict";var i=t(63);e.a=function(A){return(A=Object(i.a)(Math.abs(A)))?A[1]:NaN}},function(A,e,t){"use strict";t.d(e,"c",(function(){return V})),t.d(e,"a",(function(){return z}));var i=t(70),r=t(120),n=t(119),g=function(A){return new Array(A.length)};function o(A,e){this.ownerDocument=A.ownerDocument,this.namespaceURI=A.namespaceURI,this._next=null,this._parent=A,this.__data__=e}o.prototype={constructor:o,appendChild:function(A){return this._parent.insertBefore(A,this._next)},insertBefore:function(A,e){return this._parent.insertBefore(A,e)},querySelector:function(A){return this._parent.querySelector(A)},querySelectorAll:function(A){return this._parent.querySelectorAll(A)}};function a(A,e,t,i,r,n){for(var g,a=0,I=e.length,C=n.length;a<C;++a)(g=e[a])?(g.__data__=n[a],i[a]=g):t[a]=new o(A,n[a]);for(;a<I;++a)(g=e[a])&&(r[a]=g)}function I(A,e,t,i,r,n,g){var a,I,C,s={},c=e.length,l=n.length,B=new Array(c);for(a=0;a<c;++a)(I=e[a])&&(B[a]=C="$"+g.call(I,I.__data__,a,e),C in s?r[a]=I:s[C]=I);for(a=0;a<l;++a)(I=s[C="$"+g.call(A,n[a],a,n)])?(i[a]=I,I.__data__=n[a],s[C]=null):t[a]=new o(A,n[a]);for(a=0;a<c;++a)(I=e[a])&&s[B[a]]===I&&(r[a]=I)}function C(A,e){return A<e?-1:A>e?1:A>=e?0:NaN}var s=t(69);function c(A){return function(){this.removeAttribute(A)}}function l(A){return function(){this.removeAttributeNS(A.space,A.local)}}function B(A,e){return function(){this.setAttribute(A,e)}}function Q(A,e){return function(){this.setAttributeNS(A.space,A.local,e)}}function u(A,e){return function(){var t=e.apply(this,arguments);null==t?this.removeAttribute(A):this.setAttribute(A,t)}}function E(A,e){return function(){var t=e.apply(this,arguments);null==t?this.removeAttributeNS(A.space,A.local):this.setAttributeNS(A.space,A.local,t)}}var h=t(121);function f(A){return function(){delete this[A]}}function d(A,e){return function(){this[A]=e}}function p(A,e){return function(){var t=e.apply(this,arguments);null==t?delete this[A]:this[A]=t}}function y(A){return A.trim().split(/^|\s+/)}function w(A){return A.classList||new D(A)}function D(A){this._node=A,this._names=y(A.getAttribute("class")||"")}function v(A,e){for(var t=w(A),i=-1,r=e.length;++i<r;)t.add(e[i])}function m(A,e){for(var t=w(A),i=-1,r=e.length;++i<r;)t.remove(e[i])}function b(A){return function(){v(this,A)}}function k(A){return function(){m(this,A)}}function N(A,e){return function(){(e.apply(this,arguments)?v:m)(this,A)}}D.prototype={add:function(A){this._names.indexOf(A)<0&&(this._names.push(A),this._node.setAttribute("class",this._names.join(" ")))},remove:function(A){var e=this._names.indexOf(A);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(A){return this._names.indexOf(A)>=0}};function M(){this.textContent=""}function R(A){return function(){this.textContent=A}}function G(A){return function(){var e=A.apply(this,arguments);this.textContent=null==e?"":e}}function F(){this.innerHTML=""}function x(A){return function(){this.innerHTML=A}}function S(A){return function(){var e=A.apply(this,arguments);this.innerHTML=null==e?"":e}}function Y(){this.nextSibling&&this.parentNode.appendChild(this)}function _(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}var U=t(51);function L(){return null}function K(){var A=this.parentNode;A&&A.removeChild(this)}function J(){var A=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(A,this.nextSibling):A}function T(){var A=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(A,this.nextSibling):A}var H=t(37),O=t(71);function q(A,e,t){var i=Object(O.a)(A),r=i.CustomEvent;"function"==typeof r?r=new r(e,t):(r=i.document.createEvent("Event"),t?(r.initEvent(e,t.bubbles,t.cancelable),r.detail=t.detail):r.initEvent(e,!1,!1)),A.dispatchEvent(r)}function j(A,e){return function(){return q(this,A,e)}}function P(A,e){return function(){return q(this,A,e.apply(this,arguments))}}var V=[null];function z(A,e){this._groups=A,this._parents=e}function Z(){return new z([[document.documentElement]],V)}z.prototype=Z.prototype={constructor:z,select:function(A){"function"!=typeof A&&(A=Object(i.a)(A));for(var e=this._groups,t=e.length,r=new Array(t),n=0;n<t;++n)for(var g,o,a=e[n],I=a.length,C=r[n]=new Array(I),s=0;s<I;++s)(g=a[s])&&(o=A.call(g,g.__data__,s,a))&&("__data__"in g&&(o.__data__=g.__data__),C[s]=o);return new z(r,this._parents)},selectAll:function(A){"function"!=typeof A&&(A=Object(r.a)(A));for(var e=this._groups,t=e.length,i=[],n=[],g=0;g<t;++g)for(var o,a=e[g],I=a.length,C=0;C<I;++C)(o=a[C])&&(i.push(A.call(o,o.__data__,C,a)),n.push(o));return new z(i,n)},filter:function(A){"function"!=typeof A&&(A=Object(n.a)(A));for(var e=this._groups,t=e.length,i=new Array(t),r=0;r<t;++r)for(var g,o=e[r],a=o.length,I=i[r]=[],C=0;C<a;++C)(g=o[C])&&A.call(g,g.__data__,C,o)&&I.push(g);return new z(i,this._parents)},data:function(A,e){if(!A)return u=new Array(this.size()),c=-1,this.each((function(A){u[++c]=A})),u;var t,i=e?I:a,r=this._parents,n=this._groups;"function"!=typeof A&&(t=A,A=function(){return t});for(var g=n.length,o=new Array(g),C=new Array(g),s=new Array(g),c=0;c<g;++c){var l=r[c],B=n[c],Q=B.length,u=A.call(l,l&&l.__data__,c,r),E=u.length,h=C[c]=new Array(E),f=o[c]=new Array(E);i(l,B,h,f,s[c]=new Array(Q),u,e);for(var d,p,y=0,w=0;y<E;++y)if(d=h[y]){for(y>=w&&(w=y+1);!(p=f[w])&&++w<E;);d._next=p||null}}return(o=new z(o,r))._enter=C,o._exit=s,o},enter:function(){return new z(this._enter||this._groups.map(g),this._parents)},exit:function(){return new z(this._exit||this._groups.map(g),this._parents)},join:function(A,e,t){var i=this.enter(),r=this,n=this.exit();return i="function"==typeof A?A(i):i.append(A+""),null!=e&&(r=e(r)),null==t?n.remove():t(n),i&&r?i.merge(r).order():r},merge:function(A){for(var e=this._groups,t=A._groups,i=e.length,r=t.length,n=Math.min(i,r),g=new Array(i),o=0;o<n;++o)for(var a,I=e[o],C=t[o],s=I.length,c=g[o]=new Array(s),l=0;l<s;++l)(a=I[l]||C[l])&&(c[l]=a);for(;o<i;++o)g[o]=e[o];return new z(g,this._parents)},order:function(){for(var A=this._groups,e=-1,t=A.length;++e<t;)for(var i,r=A[e],n=r.length-1,g=r[n];--n>=0;)(i=r[n])&&(g&&4^i.compareDocumentPosition(g)&&g.parentNode.insertBefore(i,g),g=i);return this},sort:function(A){function e(e,t){return e&&t?A(e.__data__,t.__data__):!e-!t}A||(A=C);for(var t=this._groups,i=t.length,r=new Array(i),n=0;n<i;++n){for(var g,o=t[n],a=o.length,I=r[n]=new Array(a),s=0;s<a;++s)(g=o[s])&&(I[s]=g);I.sort(e)}return new z(r,this._parents).order()},call:function(){var A=arguments[0];return arguments[0]=this,A.apply(null,arguments),this},nodes:function(){var A=new Array(this.size()),e=-1;return this.each((function(){A[++e]=this})),A},node:function(){for(var A=this._groups,e=0,t=A.length;e<t;++e)for(var i=A[e],r=0,n=i.length;r<n;++r){var g=i[r];if(g)return g}return null},size:function(){var A=0;return this.each((function(){++A})),A},empty:function(){return!this.node()},each:function(A){for(var e=this._groups,t=0,i=e.length;t<i;++t)for(var r,n=e[t],g=0,o=n.length;g<o;++g)(r=n[g])&&A.call(r,r.__data__,g,n);return this},attr:function(A,e){var t=Object(s.a)(A);if(arguments.length<2){var i=this.node();return t.local?i.getAttributeNS(t.space,t.local):i.getAttribute(t)}return this.each((null==e?t.local?l:c:"function"==typeof e?t.local?E:u:t.local?Q:B)(t,e))},style:h.a,property:function(A,e){return arguments.length>1?this.each((null==e?f:"function"==typeof e?p:d)(A,e)):this.node()[A]},classed:function(A,e){var t=y(A+"");if(arguments.length<2){for(var i=w(this.node()),r=-1,n=t.length;++r<n;)if(!i.contains(t[r]))return!1;return!0}return this.each(("function"==typeof e?N:e?b:k)(t,e))},text:function(A){return arguments.length?this.each(null==A?M:("function"==typeof A?G:R)(A)):this.node().textContent},html:function(A){return arguments.length?this.each(null==A?F:("function"==typeof A?S:x)(A)):this.node().innerHTML},raise:function(){return this.each(Y)},lower:function(){return this.each(_)},append:function(A){var e="function"==typeof A?A:Object(U.a)(A);return this.select((function(){return this.appendChild(e.apply(this,arguments))}))},insert:function(A,e){var t="function"==typeof A?A:Object(U.a)(A),r=null==e?L:"function"==typeof e?e:Object(i.a)(e);return this.select((function(){return this.insertBefore(t.apply(this,arguments),r.apply(this,arguments)||null)}))},remove:function(){return this.each(K)},clone:function(A){return this.select(A?T:J)},datum:function(A){return arguments.length?this.property("__data__",A):this.node().__data__},on:H.b,dispatch:function(A,e){return this.each(("function"==typeof e?P:j)(A,e))}};e.b=Z},function(A,e,t){"use strict";t.r(e),t.d(e,"MobXProviderContext",(function(){return x})),t.d(e,"PropTypes",(function(){return P})),t.d(e,"Provider",(function(){return S})),t.d(e,"disposeOnUnmount",(function(){return T})),t.d(e,"inject",(function(){return U})),t.d(e,"observer",(function(){return G}));var i=t(4),r=t(1),n=t.n(r),g=t(16);t.d(e,"Observer",(function(){return g.a})),t.d(e,"isObserverBatched",(function(){return g.b})),t.d(e,"isUsingStaticRendering",(function(){return g.c})),t.d(e,"observerBatching",(function(){return g.e})),t.d(e,"observerBatchingOptOut",(function(){return g.f})),t.d(e,"useAsObservableSource",(function(){return g.g})),t.d(e,"useLocalStore",(function(){return g.h})),t.d(e,"useObserver",(function(){return g.i})),t.d(e,"useStaticRendering",(function(){return g.j}));var o=0;var a={};function I(A){return a[A]||(a[A]=function(A){if("function"==typeof Symbol)return Symbol(A);var e="__$mobx-react "+A+" ("+o+")";return o++,e}(A)),a[A]}function C(A,e){if(s(A,e))return!0;if("object"!=typeof A||null===A||"object"!=typeof e||null===e)return!1;var t=Object.keys(A),i=Object.keys(e);if(t.length!==i.length)return!1;for(var r=0;r<t.length;r++)if(!Object.hasOwnProperty.call(e,t[r])||!s(A[t[r]],e[t[r]]))return!1;return!0}function s(A,e){return A===e?0!==A||1/A==1/e:A!=A&&e!=e}var c={$$typeof:1,render:1,compare:1,type:1,childContextTypes:1,contextType:1,contextTypes:1,defaultProps:1,getDefaultProps:1,getDerivedStateFromError:1,getDerivedStateFromProps:1,mixins:1,propTypes:1};function l(A,e,t){Object.hasOwnProperty.call(A,e)?A[e]=t:Object.defineProperty(A,e,{enumerable:!1,configurable:!0,writable:!0,value:t})}var B=I("patchMixins"),Q=I("patchedDefinition");function u(A,e){for(var t=this,i=arguments.length,r=new Array(i>2?i-2:0),n=2;n<i;n++)r[n-2]=arguments[n];e.locks++;try{var g;return null!=A&&(g=A.apply(this,r)),g}finally{e.locks--,0===e.locks&&e.methods.forEach((function(A){A.apply(t,r)}))}}function E(A,e){return function(){for(var t=arguments.length,i=new Array(t),r=0;r<t;r++)i[r]=arguments[r];u.call.apply(u,[this,A,e].concat(i))}}function h(A,e,t){var i=function(A,e){var t=A[B]=A[B]||{},i=t[e]=t[e]||{};return i.locks=i.locks||0,i.methods=i.methods||[],i}(A,e);i.methods.indexOf(t)<0&&i.methods.push(t);var r=Object.getOwnPropertyDescriptor(A,e);if(!r||!r[Q]){var n=A[e],g=function A(e,t,i,r,n){var g,o=E(n,r);return(g={})[Q]=!0,g.get=function(){return o},g.set=function(n){if(this===e)o=E(n,r);else{var g=A(this,t,i,r,n);Object.defineProperty(this,t,g)}},g.configurable=!0,g.enumerable=i,g}(A,e,r?r.enumerable:void 0,i,n);Object.defineProperty(A,e,g)}}var f=i.$mobx||"$mobx",d=I("isMobXReactObserver"),p=I("isUnmounted"),y=I("skipRender"),w=I("isForcingUpdate");function D(A){var e=A.prototype;if(A[d]){var t=v(e);console.warn("The provided component class ("+t+") \n has already been declared as an observer component.")}else A[d]=!0;if(e.componentWillReact)throw new Error("The componentWillReact life-cycle event is no longer supported");if(A.__proto__!==r.PureComponent)if(e.shouldComponentUpdate){if(e.shouldComponentUpdate!==b)throw new Error("It is not allowed to use shouldComponentUpdate in observer based components.")}else e.shouldComponentUpdate=b;k(e,"props"),k(e,"state");var i=e.render;return e.render=function(){return m.call(this,i)},h(e,"componentWillUnmount",(function(){var A;if(!0!==Object(g.c)()&&(null===(A=this.render[f])||void 0===A||A.dispose(),this[p]=!0,!this.render[f])){var e=v(this);console.warn("The reactive render of an observer class component ("+e+") \n was overriden after MobX attached. This may result in a memory leak if the \n overriden reactive render was not properly disposed.")}})),A}function v(A){return A.displayName||A.name||A.constructor&&(A.constructor.displayName||A.constructor.name)||"<component>"}function m(A){var e=this;if(!0===Object(g.c)())return A.call(this);l(this,y,!1),l(this,w,!1);var t=v(this),n=A.bind(this),o=!1,a=new i.Reaction(t+".render()",(function(){if(!o&&(o=!0,!0!==e[p])){var A=!0;try{l(e,w,!0),e[y]||r.Component.prototype.forceUpdate.call(e),A=!1}finally{l(e,w,!1),A&&a.dispose()}}}));function I(){o=!1;var A=void 0,e=void 0;if(a.track((function(){try{e=Object(i._allowStateChanges)(!1,n)}catch(e){A=e}})),A)throw A;return e}return a.reactComponent=this,I[f]=a,this.render=I,I.call(this)}function b(A,e){return Object(g.c)()&&console.warn("[mobx-react] It seems that a re-rendering of a React component is triggered while in static (server-side) mode. Please make sure components are rendered only once server-side."),this.state!==e||!C(this.props,A)}function k(A,e){var t=I("reactProp_"+e+"_valueHolder"),r=I("reactProp_"+e+"_atomHolder");function n(){return this[r]||l(this,r,Object(i.createAtom)("reactive "+e)),this[r]}Object.defineProperty(A,e,{configurable:!0,enumerable:!0,get:function(){var A=!1;return i._allowStateReadsStart&&i._allowStateReadsEnd&&(A=Object(i._allowStateReadsStart)(!0)),n.call(this).reportObserved(),i._allowStateReadsStart&&i._allowStateReadsEnd&&Object(i._allowStateReadsEnd)(A),this[t]},set:function(A){this[w]||C(this[t],A)?l(this,t,A):(l(this,t,A),l(this,y,!0),n.call(this).reportChanged(),l(this,y,!1))}})}var N="function"==typeof Symbol&&Symbol.for,M=N?Symbol.for("react.forward_ref"):"function"==typeof r.forwardRef&&Object(r.forwardRef)((function(A){return null})).$$typeof,R=N?Symbol.for("react.memo"):"function"==typeof r.memo&&Object(r.memo)((function(A){return null})).$$typeof;function G(A){if(!0===A.isMobxInjector&&console.warn("Mobx observer: You are trying to use 'observer' on a component that already has 'inject'. Please apply 'observer' before applying 'inject'"),R&&A.$$typeof===R)throw new Error("Mobx observer: You are trying to use 'observer' on a function component wrapped in either another observer or 'React.memo'. The observer already applies 'React.memo' for you.");if(M&&A.$$typeof===M){var e=A.render;if("function"!=typeof e)throw new Error("render property of ForwardRef was not a function");return Object(r.forwardRef)((function(){var A=arguments;return Object(r.createElement)(g.a,null,(function(){return e.apply(void 0,A)}))}))}return"function"!=typeof A||A.prototype&&A.prototype.render||A.isReactClass||Object.prototype.isPrototypeOf.call(r.Component,A)?D(A):Object(g.d)(A)}function F(){return(F=Object.assign||function(A){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(A[i]=t[i])}return A}).apply(this,arguments)}var x=n.a.createContext({});function S(A){var e=A.children,t=function(A,e){if(null==A)return{};var t,i,r={},n=Object.keys(A);for(i=0;i<n.length;i++)t=n[i],e.indexOf(t)>=0||(r[t]=A[t]);return r}(A,["children"]),i=n.a.useContext(x),r=n.a.useRef(F({},i,{},t)).current;return n.a.createElement(x.Provider,{value:r},e)}function Y(A,e,t,i){var r,g,o,a=n.a.forwardRef((function(t,i){var r=F({},t),g=n.a.useContext(x);return Object.assign(r,A(g||{},r)||{}),i&&(r.ref=i),n.a.createElement(e,r)}));return i&&(a=G(a)),a.isMobxInjector=!0,r=e,g=a,o=Object.getOwnPropertyNames(Object.getPrototypeOf(r)),Object.getOwnPropertyNames(r).forEach((function(A){c[A]||-1!==o.indexOf(A)||Object.defineProperty(g,A,Object.getOwnPropertyDescriptor(r,A))})),a.wrappedComponent=e,a.displayName=function(A,e){var t,i=A.displayName||A.name||A.constructor&&A.constructor.name||"Component";t=e?"inject-with-"+e+"("+i+")":"inject("+i+")";return t}(e,t),a}function _(A){return function(e,t){return A.forEach((function(A){if(!(A in t)){if(!(A in e))throw new Error("MobX injector: Store '"+A+"' is not available! Make sure it is provided by some Provider");t[A]=e[A]}})),t}}function U(){for(var A=arguments.length,e=new Array(A),t=0;t<A;t++)e[t]=arguments[t];if("function"==typeof arguments[0]){var i=arguments[0];return function(A){return Y(i,A,i.name,!0)}}return function(A){return Y(_(e),A,e.join("-"),!1)}}S.displayName="MobXProvider";var L=I("disposeOnUnmountProto"),K=I("disposeOnUnmountInst");function J(){var A=this;[].concat(this[L]||[],this[K]||[]).forEach((function(e){var t="string"==typeof e?A[e]:e;null!=t&&(Array.isArray(t)?t.map((function(A){return A()})):t())}))}function T(A,e){if(Array.isArray(e))return e.map((function(e){return T(A,e)}));var t=Object.getPrototypeOf(A).constructor,i=Object.getPrototypeOf(A.constructor),r=Object.getPrototypeOf(Object.getPrototypeOf(A));if(t!==n.a.Component&&t!==n.a.PureComponent&&i!==n.a.Component&&i!==n.a.PureComponent&&r!==n.a.Component&&r!==n.a.PureComponent)throw new Error("[mobx-react] disposeOnUnmount only supports direct subclasses of React.Component or React.PureComponent.");if("string"!=typeof e&&"function"!=typeof e&&!Array.isArray(e))throw new Error("[mobx-react] disposeOnUnmount only works if the parameter is either a property key or a function.");var g="string"==typeof e,o=!!A[L]||!!A[K];return(g?A[L]||(A[L]=[]):A[K]||(A[K]=[])).push(e),o||h(A,"componentWillUnmount",J),"string"!=typeof e?e:void 0}function H(A){function e(e,t,r,n,g,o){for(var a=arguments.length,I=new Array(a>6?a-6:0),C=6;C<a;C++)I[C-6]=arguments[C];return Object(i.untracked)((function(){if(n=n||"<<anonymous>>",o=o||r,null==t[r]){if(e){var i=null===t[r]?"null":"undefined";return new Error("The "+g+" `"+o+"` is marked as required in `"+n+"`, but its value is `"+i+"`.")}return null}return A.apply(void 0,[t,r,n,g,o].concat(I))}))}var t=e.bind(null,!1);return t.isRequired=e.bind(null,!0),t}function O(A){var e=typeof A;return Array.isArray(A)?"array":A instanceof RegExp?"object":function(A,e){return"symbol"===A||("Symbol"===e["@@toStringTag"]||"function"==typeof Symbol&&e instanceof Symbol)}(e,A)?"symbol":e}function q(A,e){return H((function(t,r,n,g,o){return Object(i.untracked)((function(){if(A&&O(t[r])===e.toLowerCase())return null;var g;switch(e){case"Array":g=i.isObservableArray;break;case"Object":g=i.isObservableObject;break;case"Map":g=i.isObservableMap;break;default:throw new Error("Unexpected mobxType: "+e)}var a=t[r];if(!g(a)){var I=function(A){var e=O(A);if("object"===e){if(A instanceof Date)return"date";if(A instanceof RegExp)return"regexp"}return e}(a),C=A?" or javascript `"+e.toLowerCase()+"`":"";return new Error("Invalid prop `"+o+"` of type `"+I+"` supplied to `"+n+"`, expected `mobx.Observable"+e+"`"+C+".")}return null}))}))}function j(A,e){return H((function(t,r,n,g,o){for(var a=arguments.length,I=new Array(a>5?a-5:0),C=5;C<a;C++)I[C-5]=arguments[C];return Object(i.untracked)((function(){if("function"!=typeof e)return new Error("Property `"+o+"` of component `"+n+"` has invalid PropType notation.");var i=q(A,"Array")(t,r,n,g,o);if(i instanceof Error)return i;for(var a=t[r],C=0;C<a.length;C++)if((i=e.apply(void 0,[a,C,n,g,o+"["+C+"]"].concat(I)))instanceof Error)return i;return null}))}))}var P={observableArray:q(!1,"Array"),observableArrayOf:j.bind(null,!1),observableMap:q(!1,"Map"),observableObject:q(!1,"Object"),arrayOrObservableArray:q(!0,"Array"),arrayOrObservableArrayOf:j.bind(null,!0),objectOrObservableObject:q(!0,"Object")};if(!r.Component)throw new Error("mobx-react requires React to be available");if(!i.observable)throw new Error("mobx-react requires mobx to be available")},function(A,e,t){var i=t(58),r=Math.min;A.exports=function(A){return A>0?r(i(A),9007199254740991):0}},function(A,e,t){"use strict";t.r(e);var i=t(215);t.d(e,"path",(function(){return i.a}))},function(A,e,t){"use strict";t.d(e,"b",(function(){return l})),t.d(e,"a",(function(){return Q})),t.d(e,"c",(function(){return u})),t.d(e,"d",(function(){return E}));var i,r,n=0,g=0,o=0,a=0,I=0,C=0,s="object"==typeof performance&&performance.now?performance:Date,c="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(A){setTimeout(A,17)};function l(){return I||(c(B),I=s.now()+C)}function B(){I=0}function Q(){this._call=this._time=this._next=null}function u(A,e,t){var i=new Q;return i.restart(A,e,t),i}function E(){l(),++n;for(var A,e=i;e;)(A=I-e._time)>=0&&e._call.call(null,A),e=e._next;--n}function h(){I=(a=s.now())+C,n=g=0;try{E()}finally{n=0,function(){var A,e,t=i,n=1/0;for(;t;)t._call?(n>t._time&&(n=t._time),A=t,t=t._next):(e=t._next,t._next=null,t=A?A._next=e:i=e);r=A,d(n)}(),I=0}}function f(){var A=s.now(),e=A-a;e>1e3&&(C-=e,a=A)}function d(A){n||(g&&(g=clearTimeout(g)),A-I>24?(A<1/0&&(g=setTimeout(h,A-s.now()-C)),o&&(o=clearInterval(o))):(o||(a=s.now(),o=setInterval(f,1e3)),n=1,c(h)))}Q.prototype=u.prototype={constructor:Q,restart:function(A,e,t){if("function"!=typeof A)throw new TypeError("callback is not a function");t=(null==t?l():+t)+(null==e?0:+e),this._next||r===this||(r?r._next=this:i=this,r=this),this._call=A,this._time=t,d()},stop:function(){this._call&&(this._call=null,this._time=1/0,d())}}},function(A,e,t){"use strict";t.d(e,"c",(function(){return W})),t.d(e,"a",(function(){return rA})),t.d(e,"b",(function(){return l}));var i=t(39),r=t(211),n=t(43),g=t(212),o=Object(r.a)("start","end","cancel","interrupt"),a=[],I=function(A,e,t,i,r,I){var C=A.__transition;if(C){if(t in C)return}else A.__transition={};!function(A,e,t){var i,r=A.__transition;function o(n){var C,s,c,l;if(1!==t.state)return I();for(C in r)if((l=r[C]).name===t.name){if(3===l.state)return Object(g.a)(o);4===l.state?(l.state=6,l.timer.stop(),l.on.call("interrupt",A,A.__data__,l.index,l.group),delete r[C]):+C<e&&(l.state=6,l.timer.stop(),l.on.call("cancel",A,A.__data__,l.index,l.group),delete r[C])}if(Object(g.a)((function(){3===t.state&&(t.state=4,t.timer.restart(a,t.delay,t.time),a(n))})),t.state=2,t.on.call("start",A,A.__data__,t.index,t.group),2===t.state){for(t.state=3,i=new Array(c=t.tween.length),C=0,s=-1;C<c;++C)(l=t.tween[C].value.call(A,A.__data__,t.index,t.group))&&(i[++s]=l);i.length=s+1}}function a(e){for(var r=e<t.duration?t.ease.call(null,e/t.duration):(t.timer.restart(I),t.state=5,1),n=-1,g=i.length;++n<g;)i[n].call(A,r);5===t.state&&(t.on.call("end",A,A.__data__,t.index,t.group),I())}function I(){for(var i in t.state=6,t.timer.stop(),delete r[e],r)return;delete A.__transition}r[e]=t,t.timer=Object(n.c)((function(A){t.state=1,t.timer.restart(o,t.delay,t.time),t.delay<=A&&o(A-t.delay)}),0,t.time)}(A,t,{name:e,index:i,group:r,on:o,tween:a,time:I.time,delay:I.delay,duration:I.duration,ease:I.ease,timer:null,state:0})};function C(A,e){var t=c(A,e);if(t.state>0)throw new Error("too late; already scheduled");return t}function s(A,e){var t=c(A,e);if(t.state>3)throw new Error("too late; already running");return t}function c(A,e){var t=A.__transition;if(!t||!(t=t[e]))throw new Error("transition not found");return t}var l=function(A,e){var t,i,r,n=A.__transition,g=!0;if(n){for(r in e=null==e?null:e+"",n)(t=n[r]).name===e?(i=t.state>2&&t.state<5,t.state=6,t.timer.stop(),t.on.call(i?"interrupt":"cancel",A,A.__data__,t.index,t.group),delete n[r]):g=!1;g&&delete A.__transition}},B=t(166),Q=t(69);function u(A,e){var t,i;return function(){var r=s(this,A),n=r.tween;if(n!==t)for(var g=0,o=(i=t=n).length;g<o;++g)if(i[g].name===e){(i=i.slice()).splice(g,1);break}r.tween=i}}function E(A,e,t){var i,r;if("function"!=typeof t)throw new Error;return function(){var n=s(this,A),g=n.tween;if(g!==i){r=(i=g).slice();for(var o={name:e,value:t},a=0,I=r.length;a<I;++a)if(r[a].name===e){r[a]=o;break}a===I&&r.push(o)}n.tween=r}}function h(A,e,t){var i=A._id;return A.each((function(){var A=s(this,i);(A.value||(A.value={}))[e]=t.apply(this,arguments)})),function(A){return c(A,i).value[e]}}var f=t(10),d=t(20),p=t(62),y=t(118),w=function(A,e){var t;return("number"==typeof e?d.a:e instanceof f.e?p.a:(t=Object(f.e)(e))?(e=t,p.a):y.a)(A,e)};function D(A){return function(){this.removeAttribute(A)}}function v(A){return function(){this.removeAttributeNS(A.space,A.local)}}function m(A,e,t){var i,r,n=t+"";return function(){var g=this.getAttribute(A);return g===n?null:g===i?r:r=e(i=g,t)}}function b(A,e,t){var i,r,n=t+"";return function(){var g=this.getAttributeNS(A.space,A.local);return g===n?null:g===i?r:r=e(i=g,t)}}function k(A,e,t){var i,r,n;return function(){var g,o,a=t(this);if(null!=a)return(g=this.getAttribute(A))===(o=a+"")?null:g===i&&o===r?n:(r=o,n=e(i=g,a));this.removeAttribute(A)}}function N(A,e,t){var i,r,n;return function(){var g,o,a=t(this);if(null!=a)return(g=this.getAttributeNS(A.space,A.local))===(o=a+"")?null:g===i&&o===r?n:(r=o,n=e(i=g,a));this.removeAttributeNS(A.space,A.local)}}function M(A,e){return function(t){this.setAttribute(A,e.call(this,t))}}function R(A,e){return function(t){this.setAttributeNS(A.space,A.local,e.call(this,t))}}function G(A,e){var t,i;function r(){var r=e.apply(this,arguments);return r!==i&&(t=(i=r)&&R(A,r)),t}return r._value=e,r}function F(A,e){var t,i;function r(){var r=e.apply(this,arguments);return r!==i&&(t=(i=r)&&M(A,r)),t}return r._value=e,r}function x(A,e){return function(){C(this,A).delay=+e.apply(this,arguments)}}function S(A,e){return e=+e,function(){C(this,A).delay=e}}function Y(A,e){return function(){s(this,A).duration=+e.apply(this,arguments)}}function _(A,e){return e=+e,function(){s(this,A).duration=e}}function U(A,e){if("function"!=typeof e)throw new Error;return function(){s(this,A).ease=e}}var L=t(119);function K(A,e,t){var i,r,n=function(A){return(A+"").trim().split(/^|\s+/).every((function(A){var e=A.indexOf(".");return e>=0&&(A=A.slice(0,e)),!A||"start"===A}))}(e)?C:s;return function(){var g=n(this,A),o=g.on;o!==i&&(r=(i=o).copy()).on(e,t),g.on=r}}var J=t(70),T=t(120),H=i.b.prototype.constructor,O=t(121);function q(A){return function(){this.style.removeProperty(A)}}function j(A,e,t){return function(i){this.style.setProperty(A,e.call(this,i),t)}}function P(A,e,t){var i,r;function n(){var n=e.apply(this,arguments);return n!==r&&(i=(r=n)&&j(A,n,t)),i}return n._value=e,n}function V(A){return function(e){this.textContent=A.call(this,e)}}function z(A){var e,t;function i(){var i=A.apply(this,arguments);return i!==t&&(e=(t=i)&&V(i)),e}return i._value=A,i}var Z=0;function X(A,e,t,i){this._groups=A,this._parents=e,this._name=t,this._id=i}function W(A){return Object(i.b)().transition(A)}function $(){return++Z}var AA=i.b.prototype;X.prototype=W.prototype={constructor:X,select:function(A){var e=this._name,t=this._id;"function"!=typeof A&&(A=Object(J.a)(A));for(var i=this._groups,r=i.length,n=new Array(r),g=0;g<r;++g)for(var o,a,C=i[g],s=C.length,l=n[g]=new Array(s),B=0;B<s;++B)(o=C[B])&&(a=A.call(o,o.__data__,B,C))&&("__data__"in o&&(a.__data__=o.__data__),l[B]=a,I(l[B],e,t,B,l,c(o,t)));return new X(n,this._parents,e,t)},selectAll:function(A){var e=this._name,t=this._id;"function"!=typeof A&&(A=Object(T.a)(A));for(var i=this._groups,r=i.length,n=[],g=[],o=0;o<r;++o)for(var a,C=i[o],s=C.length,l=0;l<s;++l)if(a=C[l]){for(var B,Q=A.call(a,a.__data__,l,C),u=c(a,t),E=0,h=Q.length;E<h;++E)(B=Q[E])&&I(B,e,t,E,Q,u);n.push(Q),g.push(a)}return new X(n,g,e,t)},filter:function(A){"function"!=typeof A&&(A=Object(L.a)(A));for(var e=this._groups,t=e.length,i=new Array(t),r=0;r<t;++r)for(var n,g=e[r],o=g.length,a=i[r]=[],I=0;I<o;++I)(n=g[I])&&A.call(n,n.__data__,I,g)&&a.push(n);return new X(i,this._parents,this._name,this._id)},merge:function(A){if(A._id!==this._id)throw new Error;for(var e=this._groups,t=A._groups,i=e.length,r=t.length,n=Math.min(i,r),g=new Array(i),o=0;o<n;++o)for(var a,I=e[o],C=t[o],s=I.length,c=g[o]=new Array(s),l=0;l<s;++l)(a=I[l]||C[l])&&(c[l]=a);for(;o<i;++o)g[o]=e[o];return new X(g,this._parents,this._name,this._id)},selection:function(){return new H(this._groups,this._parents)},transition:function(){for(var A=this._name,e=this._id,t=$(),i=this._groups,r=i.length,n=0;n<r;++n)for(var g,o=i[n],a=o.length,C=0;C<a;++C)if(g=o[C]){var s=c(g,e);I(g,A,t,C,o,{time:s.time+s.delay+s.duration,delay:0,duration:s.duration,ease:s.ease})}return new X(i,this._parents,A,t)},call:AA.call,nodes:AA.nodes,node:AA.node,size:AA.size,empty:AA.empty,each:AA.each,on:function(A,e){var t=this._id;return arguments.length<2?c(this.node(),t).on.on(A):this.each(K(t,A,e))},attr:function(A,e){var t=Object(Q.a)(A),i="transform"===t?B.b:w;return this.attrTween(A,"function"==typeof e?(t.local?N:k)(t,i,h(this,"attr."+A,e)):null==e?(t.local?v:D)(t):(t.local?b:m)(t,i,e))},attrTween:function(A,e){var t="attr."+A;if(arguments.length<2)return(t=this.tween(t))&&t._value;if(null==e)return this.tween(t,null);if("function"!=typeof e)throw new Error;var i=Object(Q.a)(A);return this.tween(t,(i.local?G:F)(i,e))},style:function(A,e,t){var i="transform"==(A+="")?B.a:w;return null==e?this.styleTween(A,function(A,e){var t,i,r;return function(){var n=Object(O.b)(this,A),g=(this.style.removeProperty(A),Object(O.b)(this,A));return n===g?null:n===t&&g===i?r:r=e(t=n,i=g)}}(A,i)).on("end.style."+A,q(A)):"function"==typeof e?this.styleTween(A,function(A,e,t){var i,r,n;return function(){var g=Object(O.b)(this,A),o=t(this),a=o+"";return null==o&&(this.style.removeProperty(A),a=o=Object(O.b)(this,A)),g===a?null:g===i&&a===r?n:(r=a,n=e(i=g,o))}}(A,i,h(this,"style."+A,e))).each(function(A,e){var t,i,r,n,g="style."+e,o="end."+g;return function(){var a=s(this,A),I=a.on,C=null==a.value[g]?n||(n=q(e)):void 0;I===t&&r===C||(i=(t=I).copy()).on(o,r=C),a.on=i}}(this._id,A)):this.styleTween(A,function(A,e,t){var i,r,n=t+"";return function(){var g=Object(O.b)(this,A);return g===n?null:g===i?r:r=e(i=g,t)}}(A,i,e),t).on("end.style."+A,null)},styleTween:function(A,e,t){var i="style."+(A+="");if(arguments.length<2)return(i=this.tween(i))&&i._value;if(null==e)return this.tween(i,null);if("function"!=typeof e)throw new Error;return this.tween(i,P(A,e,null==t?"":t))},text:function(A){return this.tween("text","function"==typeof A?function(A){return function(){var e=A(this);this.textContent=null==e?"":e}}(h(this,"text",A)):function(A){return function(){this.textContent=A}}(null==A?"":A+""))},textTween:function(A){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(null==A)return this.tween(e,null);if("function"!=typeof A)throw new Error;return this.tween(e,z(A))},remove:function(){return this.on("end.remove",(A=this._id,function(){var e=this.parentNode;for(var t in this.__transition)if(+t!==A)return;e&&e.removeChild(this)}));var A},tween:function(A,e){var t=this._id;if(A+="",arguments.length<2){for(var i,r=c(this.node(),t).tween,n=0,g=r.length;n<g;++n)if((i=r[n]).name===A)return i.value;return null}return this.each((null==e?u:E)(t,A,e))},delay:function(A){var e=this._id;return arguments.length?this.each(("function"==typeof A?x:S)(e,A)):c(this.node(),e).delay},duration:function(A){var e=this._id;return arguments.length?this.each(("function"==typeof A?Y:_)(e,A)):c(this.node(),e).duration},ease:function(A){var e=this._id;return arguments.length?this.each(U(e,A)):c(this.node(),e).ease},end:function(){var A,e,t=this,i=t._id,r=t.size();return new Promise((function(n,g){var o={value:g},a={value:function(){0==--r&&n()}};t.each((function(){var t=s(this,i),r=t.on;r!==A&&((e=(A=r).copy())._.cancel.push(o),e._.interrupt.push(o),e._.end.push(a)),t.on=e}))}))}};var eA={time:null,delay:0,duration:250,ease:t(88).b};function tA(A,e){for(var t;!(t=A.__transition)||!(t=t[e]);)if(!(A=A.parentNode))return eA.time=Object(n.b)(),eA;return t}i.b.prototype.interrupt=function(A){return this.each((function(){l(this,A)}))},i.b.prototype.transition=function(A){var e,t;A instanceof X?(e=A._id,A=A._name):(e=$(),(t=eA).time=Object(n.b)(),A=null==A?null:A+"");for(var i=this._groups,r=i.length,g=0;g<r;++g)for(var o,a=i[g],C=a.length,s=0;s<C;++s)(o=a[s])&&I(o,A,e,s,a,t||tA(o,e));return new X(i,this._parents,A,e)};var iA=[null],rA=function(A,e){var t,i,r=A.__transition;if(r)for(i in e=null==e?null:e+"",r)if((t=r[i]).state>1&&t.name===e)return new X([[A]],iA,e,+i);return null}},function(A,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.visualizationNs=void 0;const i=t(80);e.visualizationNs=i.namespace("hediet.de/visualization")},function(A,e,t){"use strict";t(209),t(22),Object.defineProperty(e,"__esModule",{value:!0}),e.getCellConfig=async function({view:A,config:e},t,i){const r=e.row_pivots,n=e.column_pivots,g=t>=0?t:0,o=g+1,a=await A.to_json({start_row:g,end_row:o}),I=a.map(A=>A.__ROW_PATH__)[0]||[],C=r.map((A,e)=>{const t=I[e];return t?[A,"==",t]:void 0}).filter(A=>A),s=r.length>0?i+1:i,c=Object.keys(a[0])[s],l={row:a[0]};let B=[];if(c){const A=c.split("|");l.column_names=[A[A.length-1]],B=n.map((e,t)=>{const i=A[t];return i?[e,"==",i]:void 0}).filter(A=>A).filter(([,,A])=>"__ROW_PATH__"!==A)}const Q=e.filter.concat(C).concat(B);return l.config={filters:Q},l},e.log_perf=function(A){r.push(A)},e._start_profiling_loop=function(){i.DEBUG&&setInterval(n,5e3)},e.memoize=function(A,e,t){const i=new Map,r=t.value;return t.value=function(A){if(i.has(A))return i.get(A);{const e=r.call(this,A);return i.set(A,e),e}},t},e.column_path_2_type=function(A,e){const t=e.split("|");return A[t[t.length-1]]},e.isEqual=function A(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){if(e.constructor!==t.constructor)return!1;let i,r,n;if(Array.isArray(e)){if(i=e.length,i!=t.length)return!1;for(r=i;0!=r--;)if(!A(e[r],t[r]))return!1;return!0}if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if(n=Object.keys(e),i=n.length,i!==Object.keys(t).length)return!1;for(r=i;0!=r--;)if(!Object.prototype.hasOwnProperty.call(t,n[r]))return!1;for(r=i;0!=r--;){let i=n[r];if(!A(e[i],t[i]))return!1}return!0}return e!=e&&t!=t},e.throttlePromise=function(A,e,t){const i=Symbol("private lock"),r=t.value;return t.value=async function(...A){if(this[i]&&(await this[i],this[i]))return void await this[i];let e;this[i]=(()=>{let A;const e=new Promise(e=>{A=e});return e.resolve=A,e})();try{e=await r.call(this,...A)}catch(A){console.error(A)}finally{const A=this[i];return this[i]=void 0,A.resolve(),e}},t},e.get_type_config=function A(e){const t={};a[e]&&Object.assign(t,a[e]);if(t.type){const e=A(t.type);return Object.assign(e,t),e}return t},e.default_types=e.css=e.html=void 0;var i=t(66);let r=[];function n(){const A=r.reduce((A,e)=>A+e,0)/r.length,e=r.length/5,t=1e3/A,i=r.length;console.log(`${A.toFixed(2)} ms/frame ${e} rfps ${t.toFixed(2)} vfps (${i} frames in 5s)`),r=[]}const g=(A,...e)=>A.map((A,t)=>[A,e[t]]).flat().filter(A=>!!A).join("");e.html=g;const o=g;e.css=o;const a={types:{float:{filter_operator:"==",aggregate:"sum",format:{style:"decimal",minimumFractionDigits:2,maximumFractionDigits:2}},string:{filter_operator:"==",aggregate:"count"},integer:{filter_operator:"==",aggregate:"sum",format:{}},boolean:{filter_operator:"==",aggregate:"count"},datetime:{filter_operator:"==",aggregate:"count",format:{week:"numeric",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"},null_value:-1},date:{filter_operator:"==",aggregate:"count",format:{week:"numeric",year:"numeric",month:"numeric",day:"numeric"},null_value:-1}}};e.default_types=a},function(A,e,t){"use strict";t.r(e);var i=t(211);t.d(e,"dispatch",(function(){return i.a}))},function(A,e,t){"use strict";t.d(e,"f",(function(){return n})),t.d(e,"g",(function(){return g})),t.d(e,"a",(function(){return o})),t.d(e,"b",(function(){return a})),t.d(e,"d",(function(){return I})),t.d(e,"c",(function(){return C})),t.d(e,"e",(function(){return s}));var i=t(74),r=Object(i.a)(","),n=r.parse,g=r.parseRows,o=r.format,a=r.formatBody,I=r.formatRows,C=r.formatRow,s=r.formatValue},function(A,e,t){"use strict";t.d(e,"f",(function(){return n})),t.d(e,"g",(function(){return g})),t.d(e,"a",(function(){return o})),t.d(e,"b",(function(){return a})),t.d(e,"d",(function(){return I})),t.d(e,"c",(function(){return C})),t.d(e,"e",(function(){return s}));var i=t(74),r=Object(i.a)("\t"),n=r.parse,g=r.parseRows,o=r.format,a=r.formatBody,I=r.formatRows,C=r.formatRow,s=r.formatValue},function(A,e,t){"use strict";t.d(e,"d",(function(){return i.a})),t.d(e,"c",(function(){return i.b})),t.d(e,"f",(function(){return i.c})),t.d(e,"g",(function(){return i.d})),t.d(e,"h",(function(){return i.e})),t.d(e,"e",(function(){return r.a})),t.d(e,"a",(function(){return n})),t.d(e,"b",(function(){return g}));var i=t(36),r=t(125);var n=Date.prototype.toISOString?function(A){return A.toISOString()}:Object(i.d)("%Y-%m-%dT%H:%M:%S.%LZ");var g=+new Date("2000-01-01T00:00:00.000Z")?function(A){var e=new Date(A);return isNaN(e)?null:e}:Object(i.e)("%Y-%m-%dT%H:%M:%S.%LZ")},function(A,e,t){"use strict";var i=t(69),r=t(53);function n(A){return function(){var e=this.ownerDocument,t=this.namespaceURI;return t===r.b&&e.documentElement.namespaceURI===r.b?e.createElement(A):e.createElementNS(t,A)}}function g(A){return function(){return this.ownerDocument.createElementNS(A.space,A.local)}}e.a=function(A){var e=Object(i.a)(A);return(e.local?g:n)(e)}},function(A,e,t){"use strict";e.a=function(A,e){var t=A.ownerSVGElement||A;if(t.createSVGPoint){var i=t.createSVGPoint();return i.x=e.clientX,i.y=e.clientY,[(i=i.matrixTransform(A.getScreenCTM().inverse())).x,i.y]}var r=A.getBoundingClientRect();return[e.clientX-r.left-A.clientLeft,e.clientY-r.top-A.clientTop]}},function(A,e,t){"use strict";t.d(e,"b",(function(){return i}));var i="http://www.w3.org/1999/xhtml";e.a={svg:"http://www.w3.org/2000/svg",xhtml:i,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}},function(A,e,t){"use strict";function i(A){return ArrayBuffer.isView(A)&&!(A instanceof DataView)}t.d(e,"b",(function(){return i})),e.a=function(A,e){e||(e=[]);var t,i=A?Math.min(e.length,A.length):0,r=e.slice();return function(n){for(t=0;t<i;++t)r[t]=A[t]*(1-n)+e[t]*n;return r}}},function(A,e,t){var i,r,n;"undefined"!=typeof self&&self,r=[],void 0===(n="function"==typeof(i=function(){function A(){}A.prototype.saveState=function(){return{idx:this.idx,input:this.input,groupIdx:this.groupIdx}},A.prototype.restoreState=function(A){this.idx=A.idx,this.input=A.input,this.groupIdx=A.groupIdx},A.prototype.pattern=function(A){this.idx=0,this.input=A,this.groupIdx=0,this.consumeChar("/");var e=this.disjunction();this.consumeChar("/");for(var t={type:"Flags",global:!1,ignoreCase:!1,multiLine:!1,unicode:!1,sticky:!1};this.isRegExpFlag();)switch(this.popChar()){case"g":o(t,"global");break;case"i":o(t,"ignoreCase");break;case"m":o(t,"multiLine");break;case"u":o(t,"unicode");break;case"y":o(t,"sticky")}if(this.idx!==this.input.length)throw Error("Redundant input: "+this.input.substring(this.idx));return{type:"Pattern",flags:t,value:e}},A.prototype.disjunction=function(){var A=[];for(A.push(this.alternative());"|"===this.peekChar();)this.consumeChar("|"),A.push(this.alternative());return{type:"Disjunction",value:A}},A.prototype.alternative=function(){for(var A=[];this.isTerm();)A.push(this.term());return{type:"Alternative",value:A}},A.prototype.term=function(){return this.isAssertion()?this.assertion():this.atom()},A.prototype.assertion=function(){switch(this.popChar()){case"^":return{type:"StartAnchor"};case"$":return{type:"EndAnchor"};case"\\":switch(this.popChar()){case"b":return{type:"WordBoundary"};case"B":return{type:"NonWordBoundary"}}throw Error("Invalid Assertion Escape");case"(":var A;switch(this.consumeChar("?"),this.popChar()){case"=":A="Lookahead";break;case"!":A="NegativeLookahead"}a(A);var e=this.disjunction();return this.consumeChar(")"),{type:A,value:e}}!function(){throw Error("Internal Error - Should never get here!")}()},A.prototype.quantifier=function(A){var e;switch(this.popChar()){case"*":e={atLeast:0,atMost:1/0};break;case"+":e={atLeast:1,atMost:1/0};break;case"?":e={atLeast:0,atMost:1};break;case"{":var t=this.integerIncludingZero();switch(this.popChar()){case"}":e={atLeast:t,atMost:t};break;case",":e=this.isDigit()?{atLeast:t,atMost:this.integerIncludingZero()}:{atLeast:t,atMost:1/0},this.consumeChar("}")}if(!0===A&&void 0===e)return;a(e)}if(!0!==A||void 0!==e)return a(e),"?"===this.peekChar(0)?(this.consumeChar("?"),e.greedy=!1):e.greedy=!0,e.type="Quantifier",e},A.prototype.atom=function(){var A;switch(this.peekChar()){case".":A=this.dotAll();break;case"\\":A=this.atomEscape();break;case"[":A=this.characterClass();break;case"(":A=this.group()}return void 0===A&&this.isPatternCharacter()&&(A=this.patternCharacter()),a(A),this.isQuantifier()&&(A.quantifier=this.quantifier()),A},A.prototype.dotAll=function(){return this.consumeChar("."),{type:"Set",complement:!0,value:[n("\n"),n("\r"),n("\u2028"),n("\u2029")]}},A.prototype.atomEscape=function(){switch(this.consumeChar("\\"),this.peekChar()){case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return this.decimalEscapeAtom();case"d":case"D":case"s":case"S":case"w":case"W":return this.characterClassEscape();case"f":case"n":case"r":case"t":case"v":return this.controlEscapeAtom();case"c":return this.controlLetterEscapeAtom();case"0":return this.nulCharacterAtom();case"x":return this.hexEscapeSequenceAtom();case"u":return this.regExpUnicodeEscapeSequenceAtom();default:return this.identityEscapeAtom()}},A.prototype.decimalEscapeAtom=function(){return{type:"GroupBackReference",value:this.positiveInteger()}},A.prototype.characterClassEscape=function(){var A,e=!1;switch(this.popChar()){case"d":A=I;break;case"D":A=I,e=!0;break;case"s":A=s;break;case"S":A=s,e=!0;break;case"w":A=C;break;case"W":A=C,e=!0}return a(A),{type:"Set",value:A,complement:e}},A.prototype.controlEscapeAtom=function(){var A;switch(this.popChar()){case"f":A=n("\f");break;case"n":A=n("\n");break;case"r":A=n("\r");break;case"t":A=n("\t");break;case"v":A=n("\v")}return a(A),{type:"Character",value:A}},A.prototype.controlLetterEscapeAtom=function(){this.consumeChar("c");var A=this.popChar();if(!1===/[a-zA-Z]/.test(A))throw Error("Invalid ");return{type:"Character",value:A.toUpperCase().charCodeAt(0)-64}},A.prototype.nulCharacterAtom=function(){return this.consumeChar("0"),{type:"Character",value:n("\0")}},A.prototype.hexEscapeSequenceAtom=function(){return this.consumeChar("x"),this.parseHexDigits(2)},A.prototype.regExpUnicodeEscapeSequenceAtom=function(){return this.consumeChar("u"),this.parseHexDigits(4)},A.prototype.identityEscapeAtom=function(){return{type:"Character",value:n(this.popChar())}},A.prototype.classPatternCharacterAtom=function(){switch(this.peekChar()){case"\n":case"\r":case"\u2028":case"\u2029":case"\\":case"]":throw Error("TBD");default:return{type:"Character",value:n(this.popChar())}}},A.prototype.characterClass=function(){var A=[],e=!1;for(this.consumeChar("["),"^"===this.peekChar(0)&&(this.consumeChar("^"),e=!0);this.isClassAtom();){var t=this.classAtom();if("Character"===t.type&&this.isRangeDash()){this.consumeChar("-");var i=this.classAtom();if("Character"===i.type){if(i.value<t.value)throw Error("Range out of order in character class");A.push({from:t.value,to:i.value})}else g(t.value,A),A.push(n("-")),g(i.value,A)}else g(t.value,A)}return this.consumeChar("]"),{type:"Set",complement:e,value:A}},A.prototype.classAtom=function(){switch(this.peekChar()){case"]":case"\n":case"\r":case"\u2028":case"\u2029":throw Error("TBD");case"\\":return this.classEscape();default:return this.classPatternCharacterAtom()}},A.prototype.classEscape=function(){switch(this.consumeChar("\\"),this.peekChar()){case"b":return this.consumeChar("b"),{type:"Character",value:n("\b")};case"d":case"D":case"s":case"S":case"w":case"W":return this.characterClassEscape();case"f":case"n":case"r":case"t":case"v":return this.controlEscapeAtom();case"c":return this.controlLetterEscapeAtom();case"0":return this.nulCharacterAtom();case"x":return this.hexEscapeSequenceAtom();case"u":return this.regExpUnicodeEscapeSequenceAtom();default:return this.identityEscapeAtom()}},A.prototype.group=function(){var A=!0;switch(this.consumeChar("("),this.peekChar(0)){case"?":this.consumeChar("?"),this.consumeChar(":"),A=!1;break;default:this.groupIdx++}var e=this.disjunction();this.consumeChar(")");var t={type:"Group",capturing:A,value:e};return A&&(t.idx=this.groupIdx),t},A.prototype.positiveInteger=function(){var A=this.popChar();if(!1===r.test(A))throw Error("Expecting a positive integer");for(;i.test(this.peekChar(0));)A+=this.popChar();return parseInt(A,10)},A.prototype.integerIncludingZero=function(){var A=this.popChar();if(!1===i.test(A))throw Error("Expecting an integer");for(;i.test(this.peekChar(0));)A+=this.popChar();return parseInt(A,10)},A.prototype.patternCharacter=function(){var A=this.popChar();switch(A){case"\n":case"\r":case"\u2028":case"\u2029":case"^":case"$":case"\\":case".":case"*":case"+":case"?":case"(":case")":case"[":case"|":throw Error("TBD");default:return{type:"Character",value:n(A)}}},A.prototype.isRegExpFlag=function(){switch(this.peekChar(0)){case"g":case"i":case"m":case"u":case"y":return!0;default:return!1}},A.prototype.isRangeDash=function(){return"-"===this.peekChar()&&this.isClassAtom(1)},A.prototype.isDigit=function(){return i.test(this.peekChar(0))},A.prototype.isClassAtom=function(A){switch(void 0===A&&(A=0),this.peekChar(A)){case"]":case"\n":case"\r":case"\u2028":case"\u2029":return!1;default:return!0}},A.prototype.isTerm=function(){return this.isAtom()||this.isAssertion()},A.prototype.isAtom=function(){if(this.isPatternCharacter())return!0;switch(this.peekChar(0)){case".":case"\\":case"[":case"(":return!0;default:return!1}},A.prototype.isAssertion=function(){switch(this.peekChar(0)){case"^":case"$":return!0;case"\\":switch(this.peekChar(1)){case"b":case"B":return!0;default:return!1}case"(":return"?"===this.peekChar(1)&&("="===this.peekChar(2)||"!"===this.peekChar(2));default:return!1}},A.prototype.isQuantifier=function(){var A=this.saveState();try{return void 0!==this.quantifier(!0)}catch(A){return!1}finally{this.restoreState(A)}},A.prototype.isPatternCharacter=function(){switch(this.peekChar()){case"^":case"$":case"\\":case".":case"*":case"+":case"?":case"(":case")":case"[":case"|":case"/":case"\n":case"\r":case"\u2028":case"\u2029":return!1;default:return!0}},A.prototype.parseHexDigits=function(A){for(var e="",i=0;i<A;i++){var r=this.popChar();if(!1===t.test(r))throw Error("Expecting a HexDecimal digits");e+=r}return{type:"Character",value:parseInt(e,16)}},A.prototype.peekChar=function(A){return void 0===A&&(A=0),this.input[this.idx+A]},A.prototype.popChar=function(){var A=this.peekChar(0);return this.consumeChar(),A},A.prototype.consumeChar=function(A){if(void 0!==A&&this.input[this.idx]!==A)throw Error("Expected: '"+A+"' but found: '"+this.input[this.idx]+"' at offset: "+this.idx);if(this.idx>=this.input.length)throw Error("Unexpected end of input");this.idx++};var e,t=/[0-9a-fA-F]/,i=/[0-9]/,r=/[1-9]/;function n(A){return A.charCodeAt(0)}function g(A,e){void 0!==A.length?A.forEach((function(A){e.push(A)})):e.push(A)}function o(A,e){if(!0===A[e])throw"duplicate flag "+e;A[e]=!0}function a(A){if(void 0===A)throw Error("Internal Error - Should never get here!")}var I=[];for(e=n("0");e<=n("9");e++)I.push(e);var C=[n("_")].concat(I);for(e=n("a");e<=n("z");e++)C.push(e);for(e=n("A");e<=n("Z");e++)C.push(e);var s=[n(" "),n("\f"),n("\n"),n("\r"),n("\t"),n("\v"),n("\t"),n(" "),n(" "),n(" "),n(" "),n(" "),n(" "),n(" "),n(" "),n(" "),n(" "),n(" "),n(" "),n(" "),n("\u2028"),n("\u2029"),n(" "),n(" "),n(" "),n("\ufeff")];function c(){}return c.prototype.visitChildren=function(A){for(var e in A){var t=A[e];A.hasOwnProperty(e)&&(void 0!==t.type?this.visit(t):Array.isArray(t)&&t.forEach((function(A){this.visit(A)}),this))}},c.prototype.visit=function(A){switch(A.type){case"Pattern":this.visitPattern(A);break;case"Flags":this.visitFlags(A);break;case"Disjunction":this.visitDisjunction(A);break;case"Alternative":this.visitAlternative(A);break;case"StartAnchor":this.visitStartAnchor(A);break;case"EndAnchor":this.visitEndAnchor(A);break;case"WordBoundary":this.visitWordBoundary(A);break;case"NonWordBoundary":this.visitNonWordBoundary(A);break;case"Lookahead":this.visitLookahead(A);break;case"NegativeLookahead":this.visitNegativeLookahead(A);break;case"Character":this.visitCharacter(A);break;case"Set":this.visitSet(A);break;case"Group":this.visitGroup(A);break;case"GroupBackReference":this.visitGroupBackReference(A);break;case"Quantifier":this.visitQuantifier(A)}this.visitChildren(A)},c.prototype.visitPattern=function(A){},c.prototype.visitFlags=function(A){},c.prototype.visitDisjunction=function(A){},c.prototype.visitAlternative=function(A){},c.prototype.visitStartAnchor=function(A){},c.prototype.visitEndAnchor=function(A){},c.prototype.visitWordBoundary=function(A){},c.prototype.visitNonWordBoundary=function(A){},c.prototype.visitLookahead=function(A){},c.prototype.visitNegativeLookahead=function(A){},c.prototype.visitCharacter=function(A){},c.prototype.visitSet=function(A){},c.prototype.visitGroup=function(A){},c.prototype.visitGroupBackReference=function(A){},c.prototype.visitQuantifier=function(A){},{RegExpParser:A,BaseRegExpVisitor:c,VERSION:"0.4.0"}})?i.apply(e,r):i)||(A.exports=n)},function(A,e,t){"use strict";t.d(e,"b",(function(){return n}));var i=t(5),r=Object(i.a)((function(A){A.setMonth(0,1),A.setHours(0,0,0,0)}),(function(A,e){A.setFullYear(A.getFullYear()+e)}),(function(A,e){return e.getFullYear()-A.getFullYear()}),(function(A){return A.getFullYear()}));r.every=function(A){return isFinite(A=Math.floor(A))&&A>0?Object(i.a)((function(e){e.setFullYear(Math.floor(e.getFullYear()/A)*A),e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,t){e.setFullYear(e.getFullYear()+t*A)})):null},e.a=r;var n=r.range},function(A,e,t){"use strict";t.d(e,"b",(function(){return n}));var i=t(5),r=Object(i.a)((function(A){A.setUTCMonth(0,1),A.setUTCHours(0,0,0,0)}),(function(A,e){A.setUTCFullYear(A.getUTCFullYear()+e)}),(function(A,e){return e.getUTCFullYear()-A.getUTCFullYear()}),(function(A){return A.getUTCFullYear()}));r.every=function(A){return isFinite(A=Math.floor(A))&&A>0?Object(i.a)((function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/A)*A),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t*A)})):null},e.a=r;var n=r.range},function(A,e){var t=Math.ceil,i=Math.floor;A.exports=function(A){return isNaN(A=+A)?0:(A>0?i:t)(A)}},function(A,e,t){var i,r,n,g=t(279),o=t(13),a=t(32),I=t(25),C=t(23),s=t(141),c=t(139),l=o.WeakMap;if(g){var B=new l,Q=B.get,u=B.has,E=B.set;i=function(A,e){return E.call(B,A,e),e},r=function(A){return Q.call(B,A)||{}},n=function(A){return u.call(B,A)}}else{var h=s("state");c[h]=!0,i=function(A,e){return I(A,h,e),e},r=function(A){return C(A,h)?A[h]:{}},n=function(A){return C(A,h)}}A.exports={set:i,get:r,has:n,enforce:function(A){return n(A)?r(A):i(A,{})},getterFor:function(A){return function(e){var t;if(!a(e)||(t=r(e)).type!==A)throw TypeError("Incompatible receiver, "+A+" required");return t}}}},function(A,e,t){var i=t(13),r=t(25),n=t(23),g=t(137),o=t(187),a=t(59),I=a.get,C=a.enforce,s=String(String).split("String");(A.exports=function(A,e,t,o){var a=!!o&&!!o.unsafe,I=!!o&&!!o.enumerable,c=!!o&&!!o.noTargetGet;"function"==typeof t&&("string"!=typeof e||n(t,"name")||r(t,"name",e),C(t).source=s.join("string"==typeof e?e:"")),A!==i?(a?!c&&A[e]&&(I=!0):delete A[e],I?A[e]=t:r(A,e,t)):I?A[e]=t:g(e,t)})(Function.prototype,"toString",(function(){return"function"==typeof this&&I(this).source||o(this)}))},function(A,e,t){var i=t(100);A.exports=function(A){return Object(i(A))}},function(A,e,t){"use strict";t.d(e,"b",(function(){return a})),t.d(e,"c",(function(){return I}));var i=t(10),r=t(68),n=t(117),g=t(7);function o(A){return function(e){var t,r,n=e.length,g=new Array(n),o=new Array(n),a=new Array(n);for(t=0;t<n;++t)r=Object(i.g)(e[t]),g[t]=r.r||0,o[t]=r.g||0,a[t]=r.b||0;return g=A(g),o=A(o),a=A(a),r.opacity=1,function(A){return r.r=g(A),r.g=o(A),r.b=a(A),r+""}}}e.a=function A(e){var t=Object(g.b)(e);function r(A,e){var r=t((A=Object(i.g)(A)).r,(e=Object(i.g)(e)).r),n=t(A.g,e.g),o=t(A.b,e.b),a=Object(g.a)(A.opacity,e.opacity);return function(e){return A.r=r(e),A.g=n(e),A.b=o(e),A.opacity=a(e),A+""}}return r.gamma=A,r}(1);var a=o(r.b),I=o(n.a)},function(A,e,t){"use strict";e.a=function(A,e){if((t=(A=e?A.toExponential(e-1):A.toExponential()).indexOf("e"))<0)return null;var t,i=A.slice(0,t);return[i.length>1?i[0]+i.slice(2):i,+A.slice(t+1)]}},function(A,e){A.exports=function(A,e){return{enumerable:!(1&A),configurable:!(2&A),writable:!(4&A),value:e}}},function(A,e,t){var i=t(315),r=t(318);A.exports=function(A,e){var t=r(A,e);return i(t)?t:void 0}},function(A,e,t){"use strict";t(22),Object.defineProperty(e,"__esModule",{value:!0}),e.ICON_MAP=e.BROWSER_MAX_HEIGHT=e.DOUBLE_BUFFER_RECREATE=e.DOUBLE_BUFFER_ROW=e.DOUBLE_BUFFER_COLUMN=e.DEBUG=e.METADATA_MAP=void 0;const i=new WeakMap;e.METADATA_MAP=i;e.DEBUG=!1;e.DOUBLE_BUFFER_COLUMN=!1;e.DOUBLE_BUFFER_ROW=!1;e.DOUBLE_BUFFER_RECREATE=!1;e.BROWSER_MAX_HEIGHT=1e7;e.ICON_MAP={asc:"arrow_upward",desc:"arrow_downward","asc abs":"⇧","desc abs":"⇩","col asc":"arrow_back","col desc":"arrow_forward","col asc abs":"⇨","col desc abs":"⇦"}},function(A,e,t){"use strict";var i=t(115);t.d(e,"c",(function(){return i.a})),t.d(e,"b",(function(){return i.b})),t.d(e,"e",(function(){return i.c}));var r=t(126);t.d(e,"d",(function(){return r.a}));var n=t(75);t.d(e,"f",(function(){return n.b})),t.d(e,"a",(function(){return n.a}));var g=t(216);t.d(e,"g",(function(){return g.a}));var o=t(217);t.d(e,"h",(function(){return o.a}));var a=t(218);t.d(e,"i",(function(){return a.a}))},function(A,e,t){"use strict";function i(A,e,t,i,r){var n=A*A,g=n*A;return((1-3*A+3*n-g)*e+(4-6*n+3*g)*t+(1+3*A+3*n-3*g)*i+g*r)/6}t.d(e,"a",(function(){return i})),e.b=function(A){var e=A.length-1;return function(t){var r=t<=0?t=0:t>=1?(t=1,e-1):Math.floor(t*e),n=A[r],g=A[r+1],o=r>0?A[r-1]:2*n-g,a=r<e-1?A[r+2]:2*g-n;return i((t-r/e)*e,o,n,g,a)}}},function(A,e,t){"use strict";var i=t(53);e.a=function(A){var e=A+="",t=e.indexOf(":");return t>=0&&"xmlns"!==(e=A.slice(0,t))&&(A=A.slice(t+1)),i.a.hasOwnProperty(e)?{space:i.a[e],local:A}:A}},function(A,e,t){"use strict";function i(){}e.a=function(A){return null==A?i:function(){return this.querySelector(A)}}},function(A,e,t){"use strict";e.a=function(A){return A.ownerDocument&&A.ownerDocument.defaultView||A.document&&A||A.defaultView}},function(A,e,t){"use strict";var i=t(10),r=t(62),n=t(123),g=t(122),o=t(20),a=t(124),I=t(118),C=t(78),s=t(54);e.a=function(A,e){var t,c=typeof e;return null==e||"boolean"===c?Object(C.a)(e):("number"===c?o.a:"string"===c?(t=Object(i.e)(e))?(e=t,r.a):I.a:e instanceof i.e?r.a:e instanceof Date?g.a:Object(s.b)(e)?s.a:Array.isArray(e)?n.b:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?a.a:o.a)(A,e)}},function(A,e,t){"use strict";t.d(e,"b",(function(){return n}));var i=t(77),r=t(27);function n(A,e){var t=A.document.documentElement,n=Object(i.a)(A).on("dragstart.drag",null);e&&(n.on("click.drag",r.a,!0),setTimeout((function(){n.on("click.drag",null)}),0)),"onselectstart"in t?n.on("selectstart.drag",null):(t.style.MozUserSelect=t.__noselect,delete t.__noselect)}e.a=function(A){var e=A.document.documentElement,t=Object(i.a)(A).on("dragstart.drag",r.a,!0);"onselectstart"in e?t.on("selectstart.drag",r.a,!0):(e.__noselect=e.style.MozUserSelect,e.style.MozUserSelect="none")}},function(A,e,t){"use strict";var i={},r={};function n(A){return new Function("d","return {"+A.map((function(A,e){return JSON.stringify(A)+": d["+e+'] || ""'})).join(",")+"}")}function g(A){var e=Object.create(null),t=[];return A.forEach((function(A){for(var i in A)i in e||t.push(e[i]=i)})),t}function o(A,e){var t=A+"",i=t.length;return i<e?new Array(e-i+1).join(0)+t:t}function a(A){var e,t=A.getUTCHours(),i=A.getUTCMinutes(),r=A.getUTCSeconds(),n=A.getUTCMilliseconds();return isNaN(A)?"Invalid Date":((e=A.getUTCFullYear())<0?"-"+o(-e,6):e>9999?"+"+o(e,6):o(e,4))+"-"+o(A.getUTCMonth()+1,2)+"-"+o(A.getUTCDate(),2)+(n?"T"+o(t,2)+":"+o(i,2)+":"+o(r,2)+"."+o(n,3)+"Z":r?"T"+o(t,2)+":"+o(i,2)+":"+o(r,2)+"Z":i||t?"T"+o(t,2)+":"+o(i,2)+"Z":"")}e.a=function(A){var e=new RegExp('["'+A+"\n\r]"),t=A.charCodeAt(0);function o(A,e){var n,g=[],o=A.length,a=0,I=0,C=o<=0,s=!1;function c(){if(C)return r;if(s)return s=!1,i;var e,n,g=a;if(34===A.charCodeAt(g)){for(;a++<o&&34!==A.charCodeAt(a)||34===A.charCodeAt(++a););return(e=a)>=o?C=!0:10===(n=A.charCodeAt(a++))?s=!0:13===n&&(s=!0,10===A.charCodeAt(a)&&++a),A.slice(g+1,e-1).replace(/""/g,'"')}for(;a<o;){if(10===(n=A.charCodeAt(e=a++)))s=!0;else if(13===n)s=!0,10===A.charCodeAt(a)&&++a;else if(n!==t)continue;return A.slice(g,e)}return C=!0,A.slice(g,o)}for(10===A.charCodeAt(o-1)&&--o,13===A.charCodeAt(o-1)&&--o;(n=c())!==r;){for(var l=[];n!==i&&n!==r;)l.push(n),n=c();e&&null==(l=e(l,I++))||g.push(l)}return g}function I(e,t){return e.map((function(e){return t.map((function(A){return s(e[A])})).join(A)}))}function C(e){return e.map(s).join(A)}function s(A){return null==A?"":A instanceof Date?a(A):e.test(A+="")?'"'+A.replace(/"/g,'""')+'"':A}return{parse:function(A,e){var t,i,r=o(A,(function(A,r){if(t)return t(A,r-1);i=A,t=e?function(A,e){var t=n(A);return function(i,r){return e(t(i),r,A)}}(A,e):n(A)}));return r.columns=i||[],r},parseRows:o,format:function(e,t){return null==t&&(t=g(e)),[t.map(s).join(A)].concat(I(e,t)).join("\n")},formatBody:function(A,e){return null==e&&(e=g(A)),I(A,e).join("\n")},formatRows:function(A){return A.map(C).join("\n")},formatRow:C,formatValue:s}}},function(A,e,t){"use strict";t.d(e,"b",(function(){return r})),t.d(e,"a",(function(){return n}));var i=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function r(A){if(!(e=i.exec(A)))throw new Error("invalid format: "+A);var e;return new n({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function n(A){this.fill=void 0===A.fill?" ":A.fill+"",this.align=void 0===A.align?">":A.align+"",this.sign=void 0===A.sign?"-":A.sign+"",this.symbol=void 0===A.symbol?"":A.symbol+"",this.zero=!!A.zero,this.width=void 0===A.width?void 0:+A.width,this.comma=!!A.comma,this.precision=void 0===A.precision?void 0:+A.precision,this.trim=!!A.trim,this.type=void 0===A.type?"":A.type+""}r.prototype=n.prototype,n.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}},function(A,e,t){"use strict";var i=t(37);e.a=function(){for(var A,e=i.c;A=e.sourceEvent;)e=A;return e}},function(A,e,t){"use strict";var i=t(39);e.a=function(A){return"string"==typeof A?new i.a([[document.querySelector(A)]],[document.documentElement]):new i.a([[A]],i.c)}},function(A,e,t){"use strict";e.a=function(A){return function(){return A}}},function(A,e,t){"use strict";t.d(e,"a",(function(){return i})),t.d(e,"b",(function(){return r}));var i=Math.PI/180,r=180/Math.PI},function(A,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.namespace=e.NamespacedName=void 0;class i{constructor(A,e){this.namespace=A,this.name=e}equals(A){return this.namespace===A.namespace&&this.name===A.name}toString(){return`${this.namespace}#${this.name}`}}e.NamespacedName=i,e.namespace=function(A){const e=e=>new i(A,e);return e.namespace=A,e}},function(A,e,t){"use strict";function i(A){if(null===A)return"null";if(Array.isArray(A))return"array";const e=typeof A;if("bigint"===e||"function"===e||"undefined"===e||"symbol"===e)throw new Error(`Got value of unexpected type "${A}".`);return e}Object.defineProperty(e,"__esModule",{value:!0}),e.isValueOfType=e.getType=e.getTypeMismatchMessage=void 0,e.getTypeMismatchMessage=function(A,e){let t,r,n="";if("type"in e?(n=`Expected a value of type "${e.type}"`,t=e.type):(n=`Expected "${e.value}"`,t=i(e.value)),null===A)return n+', but got "null".';const g=i(A);return r=g===t?`but got "${A}"`:`but got a value of type "${g}"`,`${n}, ${r}.`},e.getType=i,e.isValueOfType=function(A,e){return i(A)==e}},function(A,e){A.exports={}},function(A,e,t){var i=t(13),r=t(142).f,n=t(25),g=t(60),o=t(137),a=t(280),I=t(282);A.exports=function(A,e){var t,C,s,c,l,B=A.target,Q=A.global,u=A.stat;if(t=Q?i:u?i[B]||o(B,{}):(i[B]||{}).prototype)for(C in e){if(c=e[C],s=A.noTargetGet?(l=r(t,C))&&l.value:t[C],!I(Q?C:B+(u?".":"#")+C,A.forced)&&void 0!==s){if(typeof c==typeof s)continue;a(c,s)}(A.sham||s&&s.sham)&&n(c,"sham",!0),g(t,C,c,A)}}},function(A,e,t){var i=t(31).f,r=t(23),n=t(14)("toStringTag");A.exports=function(A,e,t){A&&!r(A=t?A:A.prototype,n)&&i(A,n,{configurable:!0,value:e})}},function(A,e,t){var i=t(33),r=t(284);A.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var A,e=!1,t={};try{(A=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(t,[]),e=t instanceof Array}catch(A){}return function(t,n){return i(t),r(n),e?A.call(t,n):t.__proto__=n,t}}():void 0)},function(A,e,t){var i=t(147),r=t(298),n=t(299),g=i?i.toStringTag:void 0;A.exports=function(A){return null==A?void 0===A?"[object Undefined]":"[object Null]":g&&g in Object(A)?r(A):n(A)}},function(A,e){A.exports=function(A){return null!=A&&"object"==typeof A}},function(A,e,t){"use strict";function i(A){return A*A*A}function r(A){return--A*A*A+1}function n(A){return((A*=2)<=1?A*A*A:(A-=2)*A*A+2)/2}t.d(e,"a",(function(){return i})),t.d(e,"c",(function(){return r})),t.d(e,"b",(function(){return n}))},function(A,e,t){"use strict";t.d(e,"b",(function(){return I})),t.d(e,"a",(function(){return C})),t.d(e,"d",(function(){return E})),t.d(e,"c",(function(){return h}));var i=t(21),r=t(10),n=t(79),g=6/29,o=3*g*g;function a(A){if(A instanceof s)return new s(A.l,A.a,A.b,A.opacity);if(A instanceof f)return d(A);A instanceof r.b||(A=Object(r.h)(A));var e,t,i=Q(A.r),n=Q(A.g),g=Q(A.b),o=c((.2225045*i+.7168786*n+.0606169*g)/1);return i===n&&n===g?e=t=o:(e=c((.4360747*i+.3850649*n+.1430804*g)/.96422),t=c((.0139322*i+.0971045*n+.7141733*g)/.82521)),new s(116*o-16,500*(e-o),200*(o-t),A.opacity)}function I(A,e){return new s(A,0,0,null==e?1:e)}function C(A,e,t,i){return 1===arguments.length?a(A):new s(A,e,t,null==i?1:i)}function s(A,e,t,i){this.l=+A,this.a=+e,this.b=+t,this.opacity=+i}function c(A){return A>.008856451679035631?Math.pow(A,1/3):A/o+4/29}function l(A){return A>g?A*A*A:o*(A-4/29)}function B(A){return 255*(A<=.0031308?12.92*A:1.055*Math.pow(A,1/2.4)-.055)}function Q(A){return(A/=255)<=.04045?A/12.92:Math.pow((A+.055)/1.055,2.4)}function u(A){if(A instanceof f)return new f(A.h,A.c,A.l,A.opacity);if(A instanceof s||(A=a(A)),0===A.a&&0===A.b)return new f(NaN,0<A.l&&A.l<100?0:NaN,A.l,A.opacity);var e=Math.atan2(A.b,A.a)*n.b;return new f(e<0?e+360:e,Math.sqrt(A.a*A.a+A.b*A.b),A.l,A.opacity)}function E(A,e,t,i){return 1===arguments.length?u(A):new f(t,e,A,null==i?1:i)}function h(A,e,t,i){return 1===arguments.length?u(A):new f(A,e,t,null==i?1:i)}function f(A,e,t,i){this.h=+A,this.c=+e,this.l=+t,this.opacity=+i}function d(A){if(isNaN(A.h))return new s(A.l,0,0,A.opacity);var e=A.h*n.a;return new s(A.l,Math.cos(e)*A.c,Math.sin(e)*A.c,A.opacity)}Object(i.a)(s,C,Object(i.b)(r.a,{brighter:function(A){return new s(this.l+18*(null==A?1:A),this.a,this.b,this.opacity)},darker:function(A){return new s(this.l-18*(null==A?1:A),this.a,this.b,this.opacity)},rgb:function(){var A=(this.l+16)/116,e=isNaN(this.a)?A:A+this.a/500,t=isNaN(this.b)?A:A-this.b/200;return e=.96422*l(e),A=1*l(A),t=.82521*l(t),new r.b(B(3.1338561*e-1.6168667*A-.4906146*t),B(-.9787684*e+1.9161415*A+.033454*t),B(.0719453*e-.2289914*A+1.4052427*t),this.opacity)}})),Object(i.a)(f,h,Object(i.b)(r.a,{brighter:function(A){return new f(this.h,this.c,this.l+18*(null==A?1:A),this.opacity)},darker:function(A){return new f(this.h,this.c,this.l-18*(null==A?1:A),this.opacity)},rgb:function(){return d(this).rgb()}}))},function(A,e,t){"use strict";t.d(e,"b",(function(){return g}));var i=t(5),r=t(6),n=Object(i.a)((function(A){A.setTime(A-A.getMilliseconds())}),(function(A,e){A.setTime(+A+e*r.d)}),(function(A,e){return(e-A)/r.d}),(function(A){return A.getUTCSeconds()}));e.a=n;var g=n.range},function(A,e,t){"use strict";t.d(e,"b",(function(){return n}));var i=t(5),r=Object(i.a)((function(){}),(function(A,e){A.setTime(+A+e)}),(function(A,e){return e-A}));r.every=function(A){return A=Math.floor(A),isFinite(A)&&A>0?A>1?Object(i.a)((function(e){e.setTime(Math.floor(e/A)*A)}),(function(e,t){e.setTime(+e+t*A)}),(function(e,t){return(t-e)/A})):r:null},e.a=r;var n=r.range},function(A,e,t){"use strict";t.d(e,"b",(function(){return i.b})),t.d(e,"d",(function(){return i.c})),t.d(e,"e",(function(){return i.d})),t.d(e,"c",(function(){return r.a})),t.d(e,"a",(function(){return n}));var i=t(43),r=t(212),n=function(A,e,t){var r=new i.a,n=e;return null==e?(r.restart(A,e,t),r):(e=+e,t=null==t?Object(i.b)():+t,r.restart((function i(g){g+=n,r.restart(i,n+=e,t),A(g)}),e,t),r)}},function(A,e,t){"use strict";t.d(e,"a",(function(){return g}));var i=t(5),r=t(6),n=Object(i.a)((function(A){A.setHours(0,0,0,0)}),(function(A,e){A.setDate(A.getDate()+e)}),(function(A,e){return(e-A-(e.getTimezoneOffset()-A.getTimezoneOffset())*r.c)/r.a}),(function(A){return A.getDate()-1}));e.b=n;var g=n.range},function(A,e,t){"use strict";t.d(e,"b",(function(){return g}));var i=t(5),r=t(6),n=Object(i.a)((function(A){A.setUTCHours(0,0,0,0)}),(function(A,e){A.setUTCDate(A.getUTCDate()+e)}),(function(A,e){return(e-A)/r.a}),(function(A){return A.getUTCDate()-1}));e.a=n;var g=n.range},function(A,e,t){"use strict";var i=this&&this.__createBinding||(Object.create?function(A,e,t,i){void 0===i&&(i=t),Object.defineProperty(A,i,{enumerable:!0,get:function(){return e[t]}})}:function(A,e,t,i){void 0===i&&(i=t),A[i]=e[t]}),r=this&&this.__exportStar||function(A,e){for(var t in A)"default"===t||e.hasOwnProperty(t)||i(e,A,t)};Object.defineProperty(e,"__esModule",{value:!0}),r(t(129),e),r(t(169),e),r(t(18),e),r(t(245),e),r(t(170),e);var n=t(30);Object.defineProperty(e,"BaseSerializer",{enumerable:!0,get:function(){return n.BaseSerializer}})},function(A,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DelegatingSerializerImpl=void 0;const i=t(30),r=t(18);class n extends i.BaseSerializerImpl{constructor(){super(...arguments),this.kind="delegation"}refineSource(A,e){const t=[...A.errors];let i=!1,n=void 0;if(!A.hasErrors){const r=this.refineIntermediate(A.value,e);r.hasValue&&(i=!0,n=r.value),t.push(...r.errors)}return new r.DeserializeResult(i,n,t,A.unprocessedPropertyTree)}internalDeserialize(A,e){const t=this.underlyingSerializer.deserialize(A,e.withoutFirstDeserializationOnValue());return this.refineSource(t,e)}}e.DelegatingSerializerImpl=n},function(A,e){var t,i,r=A.exports={};function n(){throw new Error("setTimeout has not been defined")}function g(){throw new Error("clearTimeout has not been defined")}function o(A){if(t===setTimeout)return setTimeout(A,0);if((t===n||!t)&&setTimeout)return t=setTimeout,setTimeout(A,0);try{return t(A,0)}catch(e){try{return t.call(null,A,0)}catch(e){return t.call(this,A,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:n}catch(A){t=n}try{i="function"==typeof clearTimeout?clearTimeout:g}catch(A){i=g}}();var a,I=[],C=!1,s=-1;function c(){C&&a&&(C=!1,a.length?I=a.concat(I):s=-1,I.length&&l())}function l(){if(!C){var A=o(c);C=!0;for(var e=I.length;e;){for(a=I,I=[];++s<e;)a&&a[s].run();s=-1,e=I.length}a=null,C=!1,function(A){if(i===clearTimeout)return clearTimeout(A);if((i===g||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(A);try{i(A)}catch(e){try{return i.call(null,A)}catch(e){return i.call(this,A)}}}(A)}}function B(A,e){this.fun=A,this.array=e}function Q(){}r.nextTick=function(A){var e=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)e[t-1]=arguments[t];I.push(new B(A,e)),1!==I.length||C||o(l)},B.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=Q,r.addListener=Q,r.once=Q,r.off=Q,r.removeListener=Q,r.removeAllListeners=Q,r.emit=Q,r.prependListener=Q,r.prependOnceListener=Q,r.listeners=function(A){return[]},r.binding=function(A){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(A){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},function(A,e,t){var i=t(135),r=t(100);A.exports=function(A){return i(r(A))}},function(A,e){var t={}.toString;A.exports=function(A){return t.call(A).slice(8,-1)}},function(A,e){A.exports=function(A){if(null==A)throw TypeError("Can't call method on "+A);return A}},function(A,e){A.exports=!1},function(A,e,t){var i=t(32);A.exports=function(A,e){if(!i(A))return A;var t,r;if(e&&"function"==typeof(t=A.toString)&&!i(r=t.call(A)))return r;if("function"==typeof(t=A.valueOf)&&!i(r=t.call(A)))return r;if(!e&&"function"==typeof(t=A.toString)&&!i(r=t.call(A)))return r;throw TypeError("Can't convert object to primitive value")}},function(A,e,t){var i,r=t(33),n=t(183),g=t(140),o=t(139),a=t(277),I=t(181),C=t(141),s=C("IE_PROTO"),c=function(){},l=function(A){return"<script>"+A+"<\/script>"},B=function(){try{i=document.domain&&new ActiveXObject("htmlfile")}catch(A){}var A,e;B=i?function(A){A.write(l("")),A.close();var e=A.parentWindow.Object;return A=null,e}(i):((e=I("iframe")).style.display="none",a.appendChild(e),e.src=String("javascript:"),(A=e.contentWindow.document).open(),A.write(l("document.F=Object")),A.close(),A.F);for(var t=g.length;t--;)delete B.prototype[g[t]];return B()};o[s]=!0,A.exports=Object.create||function(A,e){var t;return null!==A?(c.prototype=r(A),t=new c,c.prototype=null,t[s]=A):t=B(),void 0===e?t:n(t,e)}},function(A,e,t){var i=t(278),r=t(13),n=function(A){return"function"==typeof A?A:void 0};A.exports=function(A,e){return arguments.length<2?n(i[A])||n(r[A]):i[A]&&i[A][e]||r[A]&&r[A][e]}},function(A,e,t){var i=t(23),r=t(61),n=t(141),g=t(283),o=n("IE_PROTO"),a=Object.prototype;A.exports=g?Object.getPrototypeOf:function(A){return A=r(A),i(A,o)?A[o]:"function"==typeof A.constructor&&A instanceof A.constructor?A.constructor.prototype:A instanceof Object?a:null}},function(A,e){A.exports=function(A){var e=typeof A;return null!=A&&("object"==e||"function"==e)}},function(A,e,t){var i=t(305),r=t(306),n=t(307),g=t(308),o=t(309);function a(A){var e=-1,t=null==A?0:A.length;for(this.clear();++e<t;){var i=A[e];this.set(i[0],i[1])}}a.prototype.clear=i,a.prototype.delete=r,a.prototype.get=n,a.prototype.has=g,a.prototype.set=o,A.exports=a},function(A,e,t){var i=t(196);A.exports=function(A,e){for(var t=A.length;t--;)if(i(A[t][0],e))return t;return-1}},function(A,e,t){var i=t(65)(Object,"create");A.exports=i},function(A,e,t){var i=t(327);A.exports=function(A,e){var t=A.__data__;return i(e)?t["string"==typeof e?"string":"hash"]:t.map}},function(A,e,t){var i=t(371),r=t(99),n=t(14)("toStringTag"),g="Arguments"==r(function(){return arguments}());A.exports=i?r:function(A){var e,t,i;return void 0===A?"Undefined":null===A?"Null":"string"==typeof(t=function(A,e){try{return A[e]}catch(A){}}(e=Object(A),n))?t:g?r(e):"Object"==(i=r(e))&&"function"==typeof e.callee?"Arguments":i}},function(A,e){A.exports=function(A,e,t){if(!(A instanceof e))throw TypeError("Incorrect "+(t?t+" ":"")+"invocation");return A}},function(A,e,t){var i=t(111),r=t(82),n=t(14)("iterator");A.exports=function(A){if(null!=A)return A[n]||A["@@iterator"]||r[i(A)]}},function(A,e,t){var i=t(378);A.exports=function(A,e,t){if(i(A),void 0===e)return A;switch(t){case 0:return function(){return A.call(e)};case 1:return function(t){return A.call(e,t)};case 2:return function(t,i){return A.call(e,t,i)};case 3:return function(t,i,r){return A.call(e,t,i,r)}}return function(){return A.apply(e,arguments)}}},function(A,e,t){"use strict";t.d(e,"b",(function(){return r})),t.d(e,"c",(function(){return n})),t.d(e,"a",(function(){return o}));var i,r,n,g=t(126);function o(A){return i=Object(g.a)(A),r=i.format,n=i.formatPrefix,i}o({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"})},function(A,e,t){"use strict";t.d(e,"a",(function(){return u})),t.d(e,"b",(function(){return a.a})),t.d(e,"c",(function(){return a.b}));var i=t(211),r=t(37),n=t(214),g=t(77),o=t(213),a=t(73),I=t(27),C=function(A){return function(){return A}};function s(A,e,t,i,r,n,g,o,a,I){this.target=A,this.type=e,this.subject=t,this.identifier=i,this.active=r,this.x=n,this.y=g,this.dx=o,this.dy=a,this._=I}function c(){return!r.c.ctrlKey&&!r.c.button}function l(){return this.parentNode}function B(A){return null==A?{x:r.c.x,y:r.c.y}:A}function Q(){return navigator.maxTouchPoints||"ontouchstart"in this}s.prototype.on=function(){var A=this._.on.apply(this._,arguments);return A===this._?this:A};var u=function(){var A,e,t,u,E=c,h=l,f=B,d=Q,p={},y=Object(i.a)("start","drag","end"),w=0,D=0;function v(A){A.on("mousedown.drag",m).filter(d).on("touchstart.drag",N).on("touchmove.drag",M).on("touchend.drag touchcancel.drag",R).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function m(){if(!u&&E.apply(this,arguments)){var i=G("mouse",h.apply(this,arguments),n.a,this,arguments);i&&(Object(g.a)(r.c.view).on("mousemove.drag",b,!0).on("mouseup.drag",k,!0),Object(a.a)(r.c.view),Object(I.b)(),t=!1,A=r.c.clientX,e=r.c.clientY,i("start"))}}function b(){if(Object(I.a)(),!t){var i=r.c.clientX-A,n=r.c.clientY-e;t=i*i+n*n>D}p.mouse("drag")}function k(){Object(g.a)(r.c.view).on("mousemove.drag mouseup.drag",null),Object(a.b)(r.c.view,t),Object(I.a)(),p.mouse("end")}function N(){if(E.apply(this,arguments)){var A,e,t=r.c.changedTouches,i=h.apply(this,arguments),n=t.length;for(A=0;A<n;++A)(e=G(t[A].identifier,i,o.a,this,arguments))&&(Object(I.b)(),e("start"))}}function M(){var A,e,t=r.c.changedTouches,i=t.length;for(A=0;A<i;++A)(e=p[t[A].identifier])&&(Object(I.a)(),e("drag"))}function R(){var A,e,t=r.c.changedTouches,i=t.length;for(u&&clearTimeout(u),u=setTimeout((function(){u=null}),500),A=0;A<i;++A)(e=p[t[A].identifier])&&(Object(I.b)(),e("end"))}function G(A,e,t,i,n){var g,o,a,I=t(e,A),C=y.copy();if(Object(r.a)(new s(v,"beforestart",g,A,w,I[0],I[1],0,0,C),(function(){return null!=(r.c.subject=g=f.apply(i,n))&&(o=g.x-I[0]||0,a=g.y-I[1]||0,!0)})))return function c(l){var B,Q=I;switch(l){case"start":p[A]=c,B=w++;break;case"end":delete p[A],--w;case"drag":I=t(e,A),B=w}Object(r.a)(new s(v,l,g,A,B,I[0]+o,I[1]+a,I[0]-Q[0],I[1]-Q[1],C),C.apply,C,[l,i,n])}}return v.filter=function(A){return arguments.length?(E="function"==typeof A?A:C(!!A),v):E},v.container=function(A){return arguments.length?(h="function"==typeof A?A:C(A),v):h},v.subject=function(A){return arguments.length?(f="function"==typeof A?A:C(A),v):f},v.touchable=function(A){return arguments.length?(d="function"==typeof A?A:C(!!A),v):d},v.on=function(){var A=y.on.apply(y,arguments);return A===y?v:A},v.clickDistance=function(A){return arguments.length?(D=(A=+A)*A,v):Math.sqrt(D)},v}},function(A,e,t){"use strict";var i=t(68);e.a=function(A){var e=A.length;return function(t){var r=Math.floor(((t%=1)<0?++t:t)*e),n=A[(r+e-1)%e],g=A[r%e],o=A[(r+1)%e],a=A[(r+2)%e];return Object(i.a)((t-r/e)*e,n,g,o,a)}}},function(A,e,t){"use strict";var i=t(20),r=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,n=new RegExp(r.source,"g");e.a=function(A,e){var t,g,o,a=r.lastIndex=n.lastIndex=0,I=-1,C=[],s=[];for(A+="",e+="";(t=r.exec(A))&&(g=n.exec(e));)(o=g.index)>a&&(o=e.slice(a,o),C[I]?C[I]+=o:C[++I]=o),(t=t[0])===(g=g[0])?C[I]?C[I]+=g:C[++I]=g:(C[++I]=null,s.push({i:I,x:Object(i.a)(t,g)})),a=n.lastIndex;return a<e.length&&(o=e.slice(a),C[I]?C[I]+=o:C[++I]=o),C.length<2?s[0]?function(A){return function(e){return A(e)+""}}(s[0].x):function(A){return function(){return A}}(e):(e=s.length,function(A){for(var t,i=0;i<e;++i)C[(t=s[i]).i]=t.x(A);return C.join("")})}},function(A,e,t){"use strict";e.a=function(A){return function(){return this.matches(A)}}},function(A,e,t){"use strict";function i(){return[]}e.a=function(A){return null==A?i:function(){return this.querySelectorAll(A)}}},function(A,e,t){"use strict";t.d(e,"b",(function(){return o}));var i=t(71);function r(A){return function(){this.style.removeProperty(A)}}function n(A,e,t){return function(){this.style.setProperty(A,e,t)}}function g(A,e,t){return function(){var i=e.apply(this,arguments);null==i?this.style.removeProperty(A):this.style.setProperty(A,i,t)}}function o(A,e){return A.style.getPropertyValue(e)||Object(i.a)(A).getComputedStyle(A,null).getPropertyValue(e)}e.a=function(A,e,t){return arguments.length>1?this.each((null==e?r:"function"==typeof e?g:n)(A,e,null==t?"":t)):o(this.node(),A)}},function(A,e,t){"use strict";e.a=function(A,e){var t=new Date;return A=+A,e=+e,function(i){return t.setTime(A*(1-i)+e*i),t}}},function(A,e,t){"use strict";t.d(e,"b",(function(){return n}));var i=t(72),r=t(54);function n(A,e){var t,r=e?e.length:0,n=A?Math.min(r,A.length):0,g=new Array(n),o=new Array(r);for(t=0;t<n;++t)g[t]=Object(i.a)(A[t],e[t]);for(;t<r;++t)o[t]=e[t];return function(A){for(t=0;t<n;++t)o[t]=g[t](A);return o}}e.a=function(A,e){return(Object(r.b)(e)?r.a:n)(A,e)}},function(A,e,t){"use strict";var i=t(72);e.a=function(A,e){var t,r={},n={};for(t in null!==A&&"object"==typeof A||(A={}),null!==e&&"object"==typeof e||(e={}),e)t in A?r[t]=Object(i.a)(A[t],e[t]):n[t]=e[t];return function(A){for(t in r)n[t]=r[t](A);return n}}},function(A,e,t){"use strict";t.d(e,"a",(function(){return c}));var i=t(9),r=t(94),n=t(8),g=t(93),o=t(56),a=t(57);function I(A){if(0<=A.y&&A.y<100){var e=new Date(-1,A.m,A.d,A.H,A.M,A.S,A.L);return e.setFullYear(A.y),e}return new Date(A.y,A.m,A.d,A.H,A.M,A.S,A.L)}function C(A){if(0<=A.y&&A.y<100){var e=new Date(Date.UTC(-1,A.m,A.d,A.H,A.M,A.S,A.L));return e.setUTCFullYear(A.y),e}return new Date(Date.UTC(A.y,A.m,A.d,A.H,A.M,A.S,A.L))}function s(A,e,t){return{y:A,m:e,d:t,H:0,M:0,S:0,L:0}}function c(A){var e=A.dateTime,t=A.date,o=A.time,a=A.periods,c=A.days,B=A.shortDays,Q=A.months,u=A.shortMonths,E=f(a),h=d(a),DA=f(c),vA=d(c),mA=f(B),bA=d(B),kA=f(Q),NA=d(Q),MA=f(u),RA=d(u),GA={a:function(A){return B[A.getDay()]},A:function(A){return c[A.getDay()]},b:function(A){return u[A.getMonth()]},B:function(A){return Q[A.getMonth()]},c:null,d:J,e:J,f:j,H:T,I:H,j:O,L:q,m:P,M:V,p:function(A){return a[+(A.getHours()>=12)]},q:function(A){return 1+~~(A.getMonth()/3)},Q:yA,s:wA,S:z,u:Z,U:X,V:W,w:$,W:AA,x:null,X:null,y:eA,Y:tA,Z:iA,"%":pA},FA={a:function(A){return B[A.getUTCDay()]},A:function(A){return c[A.getUTCDay()]},b:function(A){return u[A.getUTCMonth()]},B:function(A){return Q[A.getUTCMonth()]},c:null,d:rA,e:rA,f:IA,H:nA,I:gA,j:oA,L:aA,m:CA,M:sA,p:function(A){return a[+(A.getUTCHours()>=12)]},q:function(A){return 1+~~(A.getUTCMonth()/3)},Q:yA,s:wA,S:cA,u:lA,U:BA,V:QA,w:uA,W:EA,x:null,X:null,y:hA,Y:fA,Z:dA,"%":pA},xA={a:function(A,e,t){var i=mA.exec(e.slice(t));return i?(A.w=bA[i[0].toLowerCase()],t+i[0].length):-1},A:function(A,e,t){var i=DA.exec(e.slice(t));return i?(A.w=vA[i[0].toLowerCase()],t+i[0].length):-1},b:function(A,e,t){var i=MA.exec(e.slice(t));return i?(A.m=RA[i[0].toLowerCase()],t+i[0].length):-1},B:function(A,e,t){var i=kA.exec(e.slice(t));return i?(A.m=NA[i[0].toLowerCase()],t+i[0].length):-1},c:function(A,t,i){return _A(A,e,t,i)},d:R,e:R,f:_,H:F,I:F,j:G,L:Y,m:M,M:x,p:function(A,e,t){var i=E.exec(e.slice(t));return i?(A.p=h[i[0].toLowerCase()],t+i[0].length):-1},q:N,Q:L,s:K,S:S,u:y,U:w,V:D,w:p,W:v,x:function(A,e,i){return _A(A,t,e,i)},X:function(A,e,t){return _A(A,o,e,t)},y:b,Y:m,Z:k,"%":U};function SA(A,e){return function(t){var i,r,n,g=[],o=-1,a=0,I=A.length;for(t instanceof Date||(t=new Date(+t));++o<I;)37===A.charCodeAt(o)&&(g.push(A.slice(a,o)),null!=(r=l[i=A.charAt(++o)])?i=A.charAt(++o):r="e"===i?" ":"0",(n=e[i])&&(i=n(t,r)),g.push(i),a=o+1);return g.push(A.slice(a,o)),g.join("")}}function YA(A,e){return function(t){var o,a,c=s(1900,void 0,1);if(_A(c,A,t+="",0)!=t.length)return null;if("Q"in c)return new Date(c.Q);if("s"in c)return new Date(1e3*c.s+("L"in c?c.L:0));if(e&&!("Z"in c)&&(c.Z=0),"p"in c&&(c.H=c.H%12+12*c.p),void 0===c.m&&(c.m="q"in c?c.q:0),"V"in c){if(c.V<1||c.V>53)return null;"w"in c||(c.w=1),"Z"in c?(a=(o=C(s(c.y,0,1))).getUTCDay(),o=a>4||0===a?i.c.ceil(o):Object(i.c)(o),o=r.a.offset(o,7*(c.V-1)),c.y=o.getUTCFullYear(),c.m=o.getUTCMonth(),c.d=o.getUTCDate()+(c.w+6)%7):(a=(o=I(s(c.y,0,1))).getDay(),o=a>4||0===a?n.c.ceil(o):Object(n.c)(o),o=g.b.offset(o,7*(c.V-1)),c.y=o.getFullYear(),c.m=o.getMonth(),c.d=o.getDate()+(c.w+6)%7)}else("W"in c||"U"in c)&&("w"in c||(c.w="u"in c?c.u%7:"W"in c?1:0),a="Z"in c?C(s(c.y,0,1)).getUTCDay():I(s(c.y,0,1)).getDay(),c.m=0,c.d="W"in c?(c.w+6)%7+7*c.W-(a+5)%7:c.w+7*c.U-(a+6)%7);return"Z"in c?(c.H+=c.Z/100|0,c.M+=c.Z%100,C(c)):I(c)}}function _A(A,e,t,i){for(var r,n,g=0,o=e.length,a=t.length;g<o;){if(i>=a)return-1;if(37===(r=e.charCodeAt(g++))){if(r=e.charAt(g++),!(n=xA[r in l?e.charAt(g++):r])||(i=n(A,t,i))<0)return-1}else if(r!=t.charCodeAt(i++))return-1}return i}return GA.x=SA(t,GA),GA.X=SA(o,GA),GA.c=SA(e,GA),FA.x=SA(t,FA),FA.X=SA(o,FA),FA.c=SA(e,FA),{format:function(A){var e=SA(A+="",GA);return e.toString=function(){return A},e},parse:function(A){var e=YA(A+="",!1);return e.toString=function(){return A},e},utcFormat:function(A){var e=SA(A+="",FA);return e.toString=function(){return A},e},utcParse:function(A){var e=YA(A+="",!0);return e.toString=function(){return A},e}}}var l={"-":"",_:" ",0:"0"},B=/^\s*\d+/,Q=/^%/,u=/[\\^$*+?|[\]().{}]/g;function E(A,e,t){var i=A<0?"-":"",r=(i?-A:A)+"",n=r.length;return i+(n<t?new Array(t-n+1).join(e)+r:r)}function h(A){return A.replace(u,"\\$&")}function f(A){return new RegExp("^(?:"+A.map(h).join("|")+")","i")}function d(A){for(var e={},t=-1,i=A.length;++t<i;)e[A[t].toLowerCase()]=t;return e}function p(A,e,t){var i=B.exec(e.slice(t,t+1));return i?(A.w=+i[0],t+i[0].length):-1}function y(A,e,t){var i=B.exec(e.slice(t,t+1));return i?(A.u=+i[0],t+i[0].length):-1}function w(A,e,t){var i=B.exec(e.slice(t,t+2));return i?(A.U=+i[0],t+i[0].length):-1}function D(A,e,t){var i=B.exec(e.slice(t,t+2));return i?(A.V=+i[0],t+i[0].length):-1}function v(A,e,t){var i=B.exec(e.slice(t,t+2));return i?(A.W=+i[0],t+i[0].length):-1}function m(A,e,t){var i=B.exec(e.slice(t,t+4));return i?(A.y=+i[0],t+i[0].length):-1}function b(A,e,t){var i=B.exec(e.slice(t,t+2));return i?(A.y=+i[0]+(+i[0]>68?1900:2e3),t+i[0].length):-1}function k(A,e,t){var i=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(t,t+6));return i?(A.Z=i[1]?0:-(i[2]+(i[3]||"00")),t+i[0].length):-1}function N(A,e,t){var i=B.exec(e.slice(t,t+1));return i?(A.q=3*i[0]-3,t+i[0].length):-1}function M(A,e,t){var i=B.exec(e.slice(t,t+2));return i?(A.m=i[0]-1,t+i[0].length):-1}function R(A,e,t){var i=B.exec(e.slice(t,t+2));return i?(A.d=+i[0],t+i[0].length):-1}function G(A,e,t){var i=B.exec(e.slice(t,t+3));return i?(A.m=0,A.d=+i[0],t+i[0].length):-1}function F(A,e,t){var i=B.exec(e.slice(t,t+2));return i?(A.H=+i[0],t+i[0].length):-1}function x(A,e,t){var i=B.exec(e.slice(t,t+2));return i?(A.M=+i[0],t+i[0].length):-1}function S(A,e,t){var i=B.exec(e.slice(t,t+2));return i?(A.S=+i[0],t+i[0].length):-1}function Y(A,e,t){var i=B.exec(e.slice(t,t+3));return i?(A.L=+i[0],t+i[0].length):-1}function _(A,e,t){var i=B.exec(e.slice(t,t+6));return i?(A.L=Math.floor(i[0]/1e3),t+i[0].length):-1}function U(A,e,t){var i=Q.exec(e.slice(t,t+1));return i?t+i[0].length:-1}function L(A,e,t){var i=B.exec(e.slice(t));return i?(A.Q=+i[0],t+i[0].length):-1}function K(A,e,t){var i=B.exec(e.slice(t));return i?(A.s=+i[0],t+i[0].length):-1}function J(A,e){return E(A.getDate(),e,2)}function T(A,e){return E(A.getHours(),e,2)}function H(A,e){return E(A.getHours()%12||12,e,2)}function O(A,e){return E(1+g.b.count(Object(o.a)(A),A),e,3)}function q(A,e){return E(A.getMilliseconds(),e,3)}function j(A,e){return q(A,e)+"000"}function P(A,e){return E(A.getMonth()+1,e,2)}function V(A,e){return E(A.getMinutes(),e,2)}function z(A,e){return E(A.getSeconds(),e,2)}function Z(A){var e=A.getDay();return 0===e?7:e}function X(A,e){return E(n.g.count(Object(o.a)(A)-1,A),e,2)}function W(A,e){var t=A.getDay();return A=t>=4||0===t?Object(n.i)(A):n.i.ceil(A),E(n.i.count(Object(o.a)(A),A)+(4===Object(o.a)(A).getDay()),e,2)}function $(A){return A.getDay()}function AA(A,e){return E(n.c.count(Object(o.a)(A)-1,A),e,2)}function eA(A,e){return E(A.getFullYear()%100,e,2)}function tA(A,e){return E(A.getFullYear()%1e4,e,4)}function iA(A){var e=A.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+E(e/60|0,"0",2)+E(e%60,"0",2)}function rA(A,e){return E(A.getUTCDate(),e,2)}function nA(A,e){return E(A.getUTCHours(),e,2)}function gA(A,e){return E(A.getUTCHours()%12||12,e,2)}function oA(A,e){return E(1+r.a.count(Object(a.a)(A),A),e,3)}function aA(A,e){return E(A.getUTCMilliseconds(),e,3)}function IA(A,e){return aA(A,e)+"000"}function CA(A,e){return E(A.getUTCMonth()+1,e,2)}function sA(A,e){return E(A.getUTCMinutes(),e,2)}function cA(A,e){return E(A.getUTCSeconds(),e,2)}function lA(A){var e=A.getUTCDay();return 0===e?7:e}function BA(A,e){return E(i.g.count(Object(a.a)(A)-1,A),e,2)}function QA(A,e){var t=A.getUTCDay();return A=t>=4||0===t?Object(i.i)(A):i.i.ceil(A),E(i.i.count(Object(a.a)(A),A)+(4===Object(a.a)(A).getUTCDay()),e,2)}function uA(A){return A.getUTCDay()}function EA(A,e){return E(i.c.count(Object(a.a)(A)-1,A),e,2)}function hA(A,e){return E(A.getUTCFullYear()%100,e,2)}function fA(A,e){return E(A.getUTCFullYear()%1e4,e,4)}function dA(){return"+0000"}function pA(){return"%"}function yA(A){return+A}function wA(A){return Math.floor(+A/1e3)}},function(A,e,t){"use strict";var i,r=t(38),n=t(75),g=t(63),o=function(A,e){var t=Object(g.a)(A,e);if(!t)return A+"";var i=t[0],r=t[1];return r<0?"0."+new Array(-r).join("0")+i:i.length>r+1?i.slice(0,r+1)+"."+i.slice(r+1):i+new Array(r-i.length+2).join("0")},a={"%":function(A,e){return(100*A).toFixed(e)},b:function(A){return Math.round(A).toString(2)},c:function(A){return A+""},d:function(A){return Math.round(A).toString(10)},e:function(A,e){return A.toExponential(e)},f:function(A,e){return A.toFixed(e)},g:function(A,e){return A.toPrecision(e)},o:function(A){return Math.round(A).toString(8)},p:function(A,e){return o(100*A,e)},r:o,s:function(A,e){var t=Object(g.a)(A,e);if(!t)return A+"";var r=t[0],n=t[1],o=n-(i=3*Math.max(-8,Math.min(8,Math.floor(n/3))))+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+Object(g.a)(A,Math.max(0,e+o-1))[0]},X:function(A){return Math.round(A).toString(16).toUpperCase()},x:function(A){return Math.round(A).toString(16)}},I=function(A){return A},C=Array.prototype.map,s=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];e.a=function(A){var e,t,g=void 0===A.grouping||void 0===A.thousands?I:(e=C.call(A.grouping,Number),t=A.thousands+"",function(A,i){for(var r=A.length,n=[],g=0,o=e[0],a=0;r>0&&o>0&&(a+o+1>i&&(o=Math.max(1,i-a)),n.push(A.substring(r-=o,r+o)),!((a+=o+1)>i));)o=e[g=(g+1)%e.length];return n.reverse().join(t)}),o=void 0===A.currency?"":A.currency[0]+"",c=void 0===A.currency?"":A.currency[1]+"",l=void 0===A.decimal?".":A.decimal+"",B=void 0===A.numerals?I:function(A){return function(e){return e.replace(/[0-9]/g,(function(e){return A[+e]}))}}(C.call(A.numerals,String)),Q=void 0===A.percent?"%":A.percent+"",u=void 0===A.minus?"-":A.minus+"",E=void 0===A.nan?"NaN":A.nan+"";function h(A){var e=(A=Object(n.b)(A)).fill,t=A.align,r=A.sign,I=A.symbol,C=A.zero,h=A.width,f=A.comma,d=A.precision,p=A.trim,y=A.type;"n"===y?(f=!0,y="g"):a[y]||(void 0===d&&(d=12),p=!0,y="g"),(C||"0"===e&&"="===t)&&(C=!0,e="0",t="=");var w="$"===I?o:"#"===I&&/[boxX]/.test(y)?"0"+y.toLowerCase():"",D="$"===I?c:/[%p]/.test(y)?Q:"",v=a[y],m=/[defgprs%]/.test(y);function b(A){var n,o,a,I=w,c=D;if("c"===y)c=v(A)+c,A="";else{var Q=(A=+A)<0||1/A<0;if(A=isNaN(A)?E:v(Math.abs(A),d),p&&(A=function(A){A:for(var e,t=A.length,i=1,r=-1;i<t;++i)switch(A[i]){case".":r=e=i;break;case"0":0===r&&(r=i),e=i;break;default:if(!+A[i])break A;r>0&&(r=0)}return r>0?A.slice(0,r)+A.slice(e+1):A}(A)),Q&&0==+A&&"+"!==r&&(Q=!1),I=(Q?"("===r?r:u:"-"===r||"("===r?"":r)+I,c=("s"===y?s[8+i/3]:"")+c+(Q&&"("===r?")":""),m)for(n=-1,o=A.length;++n<o;)if(48>(a=A.charCodeAt(n))||a>57){c=(46===a?l+A.slice(n+1):A.slice(n))+c,A=A.slice(0,n);break}}f&&!C&&(A=g(A,1/0));var b=I.length+A.length+c.length,k=b<h?new Array(h-b+1).join(e):"";switch(f&&C&&(A=g(k+A,k.length?h-c.length:1/0),k=""),t){case"<":A=I+A+c+k;break;case"=":A=I+k+A+c;break;case"^":A=k.slice(0,b=k.length>>1)+I+A+c+k.slice(b);break;default:A=k+I+A+c}return B(A)}return d=void 0===d?6:/[gprs]/.test(y)?Math.max(1,Math.min(21,d)):Math.max(0,Math.min(20,d)),b.toString=function(){return A+""},b}return{format:h,formatPrefix:function(A,e){var t=h(((A=Object(n.b)(A)).type="f",A)),i=3*Math.max(-8,Math.min(8,Math.floor(Object(r.a)(e)/3))),g=Math.pow(10,-i),o=s[8+i/3];return function(A){return t(g*A)+o}}}}},function(A,e,t){"use strict";t.d(e,"a",(function(){return Q}));var i=t(21),r=t(10),n=t(79),g=-.14861,o=1.78277,a=-.29227,I=-.90649,C=1.97294,s=C*I,c=C*o,l=o*a-I*g;function B(A){if(A instanceof u)return new u(A.h,A.s,A.l,A.opacity);A instanceof r.b||(A=Object(r.h)(A));var e=A.r/255,t=A.g/255,i=A.b/255,g=(l*i+s*e-c*t)/(l+s-c),o=i-g,B=(C*(t-g)-a*o)/I,Q=Math.sqrt(B*B+o*o)/(C*g*(1-g)),E=Q?Math.atan2(B,o)*n.b-120:NaN;return new u(E<0?E+360:E,Q,g,A.opacity)}function Q(A,e,t,i){return 1===arguments.length?B(A):new u(A,e,t,null==i?1:i)}function u(A,e,t,i){this.h=+A,this.s=+e,this.l=+t,this.opacity=+i}Object(i.a)(u,Q,Object(i.b)(r.a,{brighter:function(A){return A=null==A?r.c:Math.pow(r.c,A),new u(this.h,this.s,this.l*A,this.opacity)},darker:function(A){return A=null==A?r.d:Math.pow(r.d,A),new u(this.h,this.s,this.l*A,this.opacity)},rgb:function(){var A=isNaN(this.h)?0:(this.h+120)*n.a,e=+this.l,t=isNaN(this.s)?0:this.s*e*(1-e),i=Math.cos(A),s=Math.sin(A);return new r.b(255*(e+t*(g*i+o*s)),255*(e+t*(a*i+I*s)),255*(e+t*(C*i)),this.opacity)}}))},function(A,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.asVisualizationId=e.asVisualizerId=void 0,e.asVisualizerId=function(A){return A},e.asVisualizationId=function(A){return A}},function(A,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=t(234);Object.defineProperty(e,"AnySerializerImpl",{enumerable:!0,get:function(){return i.AnySerializerImpl}});var r=t(236);Object.defineProperty(e,"PrimitiveSerializerImpl",{enumerable:!0,get:function(){return r.PrimitiveSerializerImpl}});var n=t(237);Object.defineProperty(e,"LiteralSerializerImpl",{enumerable:!0,get:function(){return n.LiteralSerializerImpl}});var g=t(238);Object.defineProperty(e,"UnionSerializerImpl",{enumerable:!0,get:function(){return g.UnionSerializerImpl}});var o=t(239);Object.defineProperty(e,"IntersectionSerializerImpl",{enumerable:!0,get:function(){return o.IntersectionSerializerImpl}});var a=t(96);Object.defineProperty(e,"DelegatingSerializerImpl",{enumerable:!0,get:function(){return a.DelegatingSerializerImpl}});var I=t(240);Object.defineProperty(e,"RefinedSerializerImpl",{enumerable:!0,get:function(){return I.RefinedSerializerImpl}});var C=t(241);Object.defineProperty(e,"NamedSerializerImpl",{enumerable:!0,get:function(){return C.NamedSerializerImpl}});var s=t(242);Object.defineProperty(e,"LazySerializerImpl",{enumerable:!0,get:function(){return s.LazySerializerImpl}});var c=t(243);Object.defineProperty(e,"ArraySerializerImpl",{enumerable:!0,get:function(){return c.ArraySerializerImpl}});var l=t(131);Object.defineProperty(e,"ObjectSerializerImpl",{enumerable:!0,get:function(){return l.ObjectSerializerImpl}});var B=t(244);Object.defineProperty(e,"MapSerializerImpl",{enumerable:!0,get:function(){return B.MapSerializerImpl}})},function(A,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.fromEntries=void 0,e.fromEntries=function(A){return[...A].reduce((A,[e,t])=>(A[e]=t,A),{})}},function(A,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sProp=e.sOptionalProp=e.sObject=e.sOpenObject=e.ObjectSerializerProperty=e.ObjectSerializerImpl=void 0;const i=t(30),r=t(18),n=t(81);class g extends i.BaseSerializerImpl{constructor(A,e){super(),this.properties=A,this.allowUnknownProperties=e,this.kind="object"}get propertiesList(){return[...Object.values(this.properties)]}internalDeserialize(A,e){if(!n.isValueOfType(A,"object"))return r.DeserializeResult.fromError({message:n.getTypeMismatchMessage(A,{type:"object"})});const t=new Array,i={};this.allowUnknownProperties&&Object.assign(i,A);const g=e.withFirstDeserializationOnValue();let o=void 0;const a=this.allowUnknownProperties?new Set:new Set(Object.keys(A).filter(A=>"$ns"!==A));for(const e of this.propertiesList)if(e.name in A){const r=A[e.name];a.delete(e.name);const n=e.serializer.deserialize(r,g);n.unprocessedPropertyTree&&(o||(o={}),o[e.name]=n.unprocessedPropertyTree),t.push(...n.errors.map(A=>A.prependPath(e.name))),n.hasValue?i[e.name]=n.value:i[e.name]=void 0}else e.isOptional?e.defaultValue&&(i[e.name]=e.defaultValue.value):t.push(r.DeserializeError.from({message:`Required property "${e.name}" is missing.`}));let I=void 0;return(o||0!==a.size)&&(I=new r.UnexpectedPropertyTree(o||{},a)),new r.DeserializeResult(!0,i,t,I)}internalCanSerialize(A){if(!n.isValueOfType(A,"object"))return!1;for(const[e,t]of Object.entries(this.properties))if(!(e in A)&&!t.isOptional)return!1;for(const[e,t]of Object.entries(this.properties))if(e in A){const i=A[e];if(!t.serializer.canSerialize(i))return!1}return!0}internalSerialize(A,e){if(!n.isValueOfType(A,"object"))throw new Error(n.getTypeMismatchMessage(A,{type:"object"}));const t={};for(const i of this.propertiesList)if(i.name in A){const r=A[i.name];if(!i.isOptional||void 0!==r){const A=i.serializer.serialize(r,e);t[i.name]=A}}return t}opened(){return new g(this.properties,!0)}}e.ObjectSerializerImpl=g;class o{constructor(A,e,t,i,r){this.name=A,this.serializer=e,this.description=t,this.isOptional=i,this.defaultValue=r}get T(){throw new Error("Not meant to be accessed at runtime!")}get TKind(){throw new Error("Not meant to be accessed at runtime!")}withName(A){return new o(A,this.serializer,this.description,this.isOptional,this.defaultValue)}}function a(A,e){return e=e||{},new g(function(A){const e={};for(const[t,i]of Object.entries(A))if("deserialize"in i)e[t]=new o(t,i,void 0,!1,void 0);else{if(!(i instanceof o))throw new Error("Unexpected field type: "+i);i||console.log(A),e[t]=i.withName(t)}return e}(A),!!e.allowUnknownProperties)}e.ObjectSerializerProperty=o,e.sOpenObject=function(A,e){return a(A,{allowUnknownProperties:!0})},e.sObject=a,e.sOptionalProp=function(A,e={}){return new o("(not set yet)",A,e.description,!0,void 0)},e.sProp=function(A,e){let t=void 0;return"object"==typeof e.optional&&"withDefault"in e.optional&&(t={value:e.optional.withDefault}),new o("(not set yet)",A,e.description,!!e.optional,t)}},function(A,e,t){"use strict";var i=this&&this.__decorate||function(A,e,t,i){var r,n=arguments.length,g=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,t):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(A,e,t,i);else for(var o=A.length-1;o>=0;o--)(r=A[o])&&(g=(n<3?r(g):n>3?r(e,t,g):r(e,t))||g);return n>3&&g&&Object.defineProperty(e,t,g),g};Object.defineProperty(e,"__esModule",{value:!0}),e.GraphvizDotViewer=e.getSvgFromDotCode=void 0;const r=t(40),n=t(1),g=t(133),o=t(171);const a=new class{async getViz(){if(!this.result){const A=await Promise.resolve().then(()=>t(258)),{Module:e,render:i}=await Promise.resolve().then(()=>t(259)),r=new A.default({Module:()=>e({TOTAL_MEMORY:1<<30}),render:i});this.result=r}return this.result}};e.getSvgFromDotCode=function(A){return new o.Loadable(async()=>{const e=await a.getViz();return await e.renderString(A)})};let I=class extends n.Component{render(){const{svgSource:A}=this.props;return A.load(),A.result?n.createElement(g.SvgViewer,{svgRef:this.props.svgRef,svgContent:A.result}):n.createElement("div",null,"Loading...")}};I=i([r.observer],I),e.GraphvizDotViewer=I},function(A,e,t){"use strict";var i=this&&this.__decorate||function(A,e,t,i){var r,n=arguments.length,g=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,t):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(A,e,t,i);else for(var o=A.length-1;o>=0;o--)(r=A[o])&&(g=(n<3?r(g):n>3?r(e,t,g):r(e,t))||g);return n>3&&g&&Object.defineProperty(e,t,g),g};Object.defineProperty(e,"__esModule",{value:!0}),e.SvgViewer=void 0;const r=t(431),n=t(40),g=t(1),o=t(4),a=t(428);function I(A){return A.bounds&&A.bounds.height?A.bounds.height:1}let C=class extends g.Component{constructor(){super(...arguments),this.tool="pan",this.svgPanZoomRef=g.createRef(),this.value={}}setTool(A){this.tool=A}componentDidMount(){const A=this.svgPanZoomRef.current;if(this.props.svgRef){if(!A)return void this.props.svgRef(null);const e=A.ViewerDOM;this.props.svgRef(e)}}render(){let{svgContent:A}=this.props,e=0,t=0;A=A.replace(/viewBox="[0-9\.]+ [0-9\.]+ ([0-9\.]+) ([0-9\.]+)"/,(A,i,r)=>(e=parseFloat(i),t=parseFloat(r),""));const i=this.tool,n=this.value;return g.createElement(r.default,{bounds:!0,onResize:()=>{this.svgPanZoomRef.current&&this.svgPanZoomRef.current.fitToViewer("center","center")}},({measureRef:r,contentRect:o})=>{return g.createElement("div",{ref:r,className:"svgViewer",style:{width:"100%",height:"100%"}},g.createElement(a.ReactSVGPanZoom,{width:(C=o,C.bounds&&C.bounds.width?C.bounds.width:1),height:I(o),tool:i,value:n,onChangeValue:A=>this.value=A,onChangeTool:this.setTool,ref:this.svgPanZoomRef,toolbarProps:{SVGAlignX:"center",SVGAlignY:"center"},miniatureProps:{position:"none",height:0,width:0,background:"black"}},g.createElement("svg",{width:e,height:t},g.createElement("g",{dangerouslySetInnerHTML:{__html:A}}))));var C})}};i([o.observable],C.prototype,"tool",void 0),i([o.action.bound],C.prototype,"setTool",null),i([o.observable],C.prototype,"value",void 0),C=i([n.observer],C),e.SvgViewer=C},function(A,e,t){"use strict";var i=this&&this.__decorate||function(A,e,t,i){var r,n=arguments.length,g=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,t):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(A,e,t,i);else for(var o=A.length-1;o>=0;o--)(r=A[o])&&(g=(n<3?r(g):n>3?r(e,t,g):r(e,t))||g);return n>3&&g&&Object.defineProperty(e,t,g),g};Object.defineProperty(e,"__esModule",{value:!0}),e.makeLazyLoadable=void 0;const r=t(1),n=t(40),g=t(171);e.makeLazyLoadable=function(A){const e=new g.Loadable(A);let t=class extends r.Component{constructor(A){super(A),e.load()}render(){if(!e.result)return r.createElement("div",null,"Loading...");const A=e.result;return r.createElement(A,Object.assign({},this.props))}static async preload(){await e.load()}};return t=i([n.observer],t),t}},function(A,e,t){var i=t(24),r=t(99),n="".split;A.exports=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(A){return"String"==r(A)?n.call(A,""):Object(A)}:Object},function(A,e,t){var i=t(14),r=t(103),n=t(31),g=i("unscopables"),o=Array.prototype;null==o[g]&&n.f(o,g,{configurable:!0,value:r(null)}),A.exports=function(A){o[g][A]=!0}},function(A,e,t){var i=t(13),r=t(25);A.exports=function(A,e){try{r(i,A,e)}catch(t){i[A]=e}return e}},function(A,e){var t=0,i=Math.random();A.exports=function(A){return"Symbol("+String(void 0===A?"":A)+")_"+(++t+i).toString(36)}},function(A,e){A.exports={}},function(A,e){A.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(A,e,t){var i=t(178),r=t(138),n=i("keys");A.exports=function(A){return n[A]||(n[A]=r(A))}},function(A,e,t){var i=t(26),r=t(189),n=t(64),g=t(98),o=t(102),a=t(23),I=t(180),C=Object.getOwnPropertyDescriptor;e.f=i?C:function(A,e){if(A=g(A),e=o(e,!0),I)try{return C(A,e)}catch(A){}if(a(A,e))return n(!r.f.call(A,e),A[e])}},function(A,e,t){var i=t(185),r=t(140).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(A){return i(A,r)}},function(A,e){A.exports=function(A){return A.webpackPolyfill||(A.deprecate=function(){},A.paths=[],A.children||(A.children=[]),Object.defineProperty(A,"loaded",{enumerable:!0,get:function(){return A.l}}),Object.defineProperty(A,"id",{enumerable:!0,get:function(){return A.i}}),A.webpackPolyfill=1),A}},function(A,e,t){"use strict";var i,r,n=t(290),g=t(291),o=RegExp.prototype.exec,a=String.prototype.replace,I=o,C=(i=/a/,r=/b*/g,o.call(i,"a"),o.call(r,"a"),0!==i.lastIndex||0!==r.lastIndex),s=g.UNSUPPORTED_Y||g.BROKEN_CARET,c=void 0!==/()??/.exec("")[1];(C||c||s)&&(I=function(A){var e,t,i,r,g=this,I=s&&g.sticky,l=n.call(g),B=g.source,Q=0,u=A;return I&&(-1===(l=l.replace("y","")).indexOf("g")&&(l+="g"),u=String(A).slice(g.lastIndex),g.lastIndex>0&&(!g.multiline||g.multiline&&"\n"!==A[g.lastIndex-1])&&(B="(?: "+B+")",u=" "+u,Q++),t=new RegExp("^(?:"+B+")",l)),c&&(t=new RegExp("^"+B+"$(?!\\s)",l)),C&&(e=g.lastIndex),i=o.call(I?t:g,u),I?i?(i.input=i.input.slice(Q),i[0]=i[0].slice(Q),i.index=g.lastIndex,g.lastIndex+=i[0].length):g.lastIndex=0:C&&i&&(g.lastIndex=g.global?i.index+i[0].length:e),c&&i&&i.length>1&&a.call(i[0],t,(function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(i[r]=void 0)})),i}),A.exports=I},function(A,e,t){var i=t(58),r=t(100),n=function(A){return function(e,t){var n,g,o=String(r(e)),a=i(t),I=o.length;return a<0||a>=I?A?"":void 0:(n=o.charCodeAt(a))<55296||n>56319||a+1===I||(g=o.charCodeAt(a+1))<56320||g>57343?A?o.charAt(a):n:A?o.slice(a,a+2):g-56320+(n-55296<<10)+65536}};A.exports={codeAt:n(!1),charAt:n(!0)}},function(A,e,t){var i=t(34).Symbol;A.exports=i},function(A,e,t){var i=t(65)(t(34),"Map");A.exports=i},function(A,e){var t=Array.isArray;A.exports=t},function(A,e,t){"use strict";var i,r=t(204),n=t(26),g=t(13),o=t(32),a=t(23),I=t(111),C=t(25),s=t(60),c=t(31).f,l=t(105),B=t(85),Q=t(14),u=t(138),E=g.Int8Array,h=E&&E.prototype,f=g.Uint8ClampedArray,d=f&&f.prototype,p=E&&l(E),y=h&&l(h),w=Object.prototype,D=w.isPrototypeOf,v=Q("toStringTag"),m=u("TYPED_ARRAY_TAG"),b=r&&!!B&&"Opera"!==I(g.opera),k=!1,N={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},M=function(A){return o(A)&&a(N,I(A))};for(i in N)g[i]||(b=!1);if((!b||"function"!=typeof p||p===Function.prototype)&&(p=function(){throw TypeError("Incorrect invocation")},b))for(i in N)g[i]&&B(g[i],p);if((!b||!y||y===w)&&(y=p.prototype,b))for(i in N)g[i]&&B(g[i].prototype,y);if(b&&l(d)!==y&&B(d,y),n&&!a(y,v))for(i in k=!0,c(y,v,{get:function(){return o(this)?this[m]:void 0}}),N)g[i]&&C(g[i],m,i);A.exports={NATIVE_ARRAY_BUFFER_VIEWS:b,TYPED_ARRAY_TAG:k&&m,aTypedArray:function(A){if(M(A))return A;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(A){if(B){if(D.call(p,A))return A}else for(var e in N)if(a(N,i)){var t=g[e];if(t&&(A===t||D.call(t,A)))return A}throw TypeError("Target is not a typed array constructor")},exportTypedArrayMethod:function(A,e,t){if(n){if(t)for(var i in N){var r=g[i];r&&a(r.prototype,A)&&delete r.prototype[A]}y[A]&&!t||s(y,A,t?e:b&&h[A]||e)}},exportTypedArrayStaticMethod:function(A,e,t){var i,r;if(n){if(B){if(t)for(i in N)(r=g[i])&&a(r,A)&&delete r[A];if(p[A]&&!t)return;try{return s(p,A,t?e:b&&E[A]||e)}catch(A){}}for(i in N)!(r=g[i])||r[A]&&!t||s(r,A,e)}},isView:function(A){var e=I(A);return"DataView"===e||a(N,e)},isTypedArray:M,TypedArray:p,TypedArrayPrototype:y}},function(A,e,t){"use strict";t.r(e),function(A){t.d(e,"importTemplate",(function(){return i})),t.d(e,"registerElement",(function(){return r})),t.d(e,"bindTemplate",(function(){return n})),t.d(e,"copy_to_clipboard",(function(){return o})),t.d(e,"setPromise",(function(){return a})),t.d(e,"invertPromise",(function(){return I})),t.d(e,"throttlePromise",(function(){return C})),t.d(e,"swap",(function(){return s})),t.d(e,"json_attribute",(function(){return c})),t.d(e,"array_attribute",(function(){return l})),t.d(e,"registerPlugin",(function(){return B}));t(22);function i(A){const e=document.createElement("div");return e.innerHTML=A,Array.prototype.slice.call(e.children)[0]}function r(A,e,t){const r=i(A);!function(A){if(A.content)return;let e;for(A.content=document.createDocumentFragment();e=A.firstChild;)Node.prototype.appendChild.call(A.content,e)}(r),e&&(r.innerHTML=`<style>${e.toString()}</style>`+r.innerHTML),r.innerHTML=`<style id="psp_styles" scope="${r.getAttribute("id")}">test{}</style>`+r.innerHTML;for(let A of Object.getOwnPropertyNames(t.prototype)){let e=Object.getOwnPropertyDescriptor(t.prototype,A);if(e&&e.set){let i=e.set;e.set=function(e){this.hasAttribute(A)&&this.getAttribute(A)===e?(this._initializing||this._initialized)&&i.call(this,e):this.setAttribute(A,e)},Object.defineProperty(t.prototype,A,e)}}let n=r.getAttribute("id");console.log("Registered "+n),window.customElements.define(n,class extends t{attributeChangedCallback(A,e,i){null===i&&(i="null"),"_"!==A[0]&&e!=i&&Object.getOwnPropertyDescriptor(t.prototype,A).set&&(this[A]=i)}connectedCallback(){if(!this._initialized){this._initializing=!0;var A=document.importNode(r.content,!0);this.attachShadow({mode:"open"}),this.shadowRoot.appendChild(A),super.connectedCallback&&super.connectedCallback();for(let A of Object.getOwnPropertyNames(t.prototype))"connectedCallback"!==A&&this.hasAttribute(A)&&"_"!==A[0]&&Object.getOwnPropertyDescriptor(t.prototype,A).set&&(this[A]=this.getAttribute(A));this._initializing=!1,this._initialized=!0}}static get observedAttributes(){return Object.getOwnPropertyNames(t.prototype)}})}function n(A,...e){const t=e.map(A=>A.toString()).join("\n");return function(e){return r(A,{toString:()=>t},e)}}function g(A){return function(e,t,i){const r=i.value;return i.set=function(e){let i=this.getAttribute(t);try{null!=e&&""!==e||(e=A()),"string"!=typeof e&&(e=JSON.stringify(e)),e!==i&&(i=e),i=JSON.parse(i)}catch(r){console.warn(`Invalid value for attribute "${t}": ${e}`),i=A()}r.call(this,i)},i.get=function(){return this.hasAttribute(t)?JSON.parse(this.getAttribute(t)):A()},delete i.value,delete i.writable,i}}function o(A){let e=document.createElement("textarea");document.body.appendChild(e),e.value=A,e.select(),document.execCommand("copy"),document.body.removeChild(e)}async function a(A=(async()=>{}),e=0){return await new Promise(A=>setTimeout(A,e)),await A()}function I(){let A,e=new Promise(e=>{A=e});return e.resolve=A,e}function C(A,e,t){const i=Symbol("private lock"),r=t.value;return t.value=async function(...A){if(this[i]&&(await this[i],this[i]))return void await this[i];let e;this[i]=I();try{e=await r.call(this,...A)}catch(A){console.error(A)}finally{const A=this[i];return this[i]=void 0,A.resolve(),e}},t}function s(A,...e){if(e[0]===e[1])return;if(e.every(A=>A.classList.contains("null-column")))return;let[t,i]=e.map(e=>Array.prototype.slice.call(A.children).indexOf(e));i<t&&([t,i]=[i,t],e=e.reverse()),A.insertBefore(e[1],e[0]),i+1===A.children.length?A.appendChild(e[0]):A.insertBefore(e[0],A.children[i+1])}const c=g(()=>({})),l=g(()=>[]),B=(e,t)=>{A.registerPlugin?A.registerPlugin(e,t):(A.__perspective_plugins__=A.__perspective_plugins__||[],A.__perspective_plugins__.push([e,t]))}}.call(this,t(19))},function(A,e,t){"use strict";var i,r=function(){return void 0===i&&(i=Boolean(window&&document&&document.all&&!window.atob)),i},n=function(){var A={};return function(e){if(void 0===A[e]){var t=document.querySelector(e);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(A){t=null}A[e]=t}return A[e]}}(),g=[];function o(A){for(var e=-1,t=0;t<g.length;t++)if(g[t].identifier===A){e=t;break}return e}function a(A,e){for(var t={},i=[],r=0;r<A.length;r++){var n=A[r],a=e.base?n[0]+e.base:n[0],I=t[a]||0,C="".concat(a," ").concat(I);t[a]=I+1;var s=o(C),c={css:n[1],media:n[2],sourceMap:n[3]};-1!==s?(g[s].references++,g[s].updater(c)):g.push({identifier:C,updater:u(c,e),references:1}),i.push(C)}return i}function I(A){var e=document.createElement("style"),i=A.attributes||{};if(void 0===i.nonce){var r=t.nc;r&&(i.nonce=r)}if(Object.keys(i).forEach((function(A){e.setAttribute(A,i[A])})),"function"==typeof A.insert)A.insert(e);else{var g=n(A.insert||"head");if(!g)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");g.appendChild(e)}return e}var C,s=(C=[],function(A,e){return C[A]=e,C.filter(Boolean).join("\n")});function c(A,e,t,i){var r=t?"":i.media?"@media ".concat(i.media," {").concat(i.css,"}"):i.css;if(A.styleSheet)A.styleSheet.cssText=s(e,r);else{var n=document.createTextNode(r),g=A.childNodes;g[e]&&A.removeChild(g[e]),g.length?A.insertBefore(n,g[e]):A.appendChild(n)}}function l(A,e,t){var i=t.css,r=t.media,n=t.sourceMap;if(r?A.setAttribute("media",r):A.removeAttribute("media"),n&&btoa&&(i+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(n))))," */")),A.styleSheet)A.styleSheet.cssText=i;else{for(;A.firstChild;)A.removeChild(A.firstChild);A.appendChild(document.createTextNode(i))}}var B=null,Q=0;function u(A,e){var t,i,r;if(e.singleton){var n=Q++;t=B||(B=I(e)),i=c.bind(null,t,n,!1),r=c.bind(null,t,n,!0)}else t=I(e),i=l.bind(null,t,e),r=function(){!function(A){if(null===A.parentNode)return!1;A.parentNode.removeChild(A)}(t)};return i(A),function(e){if(e){if(e.css===A.css&&e.media===A.media&&e.sourceMap===A.sourceMap)return;i(A=e)}else r()}}A.exports=function(A,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=r());var t=a(A=A||[],e);return function(A){if(A=A||[],"[object Array]"===Object.prototype.toString.call(A)){for(var i=0;i<t.length;i++){var r=o(t[i]);g[r].references--}for(var n=a(A,e),I=0;I<t.length;I++){var C=o(t[I]);0===g[C].references&&(g[C].updater(),g.splice(C,1))}t=n}}}},function(A,e,t){"use strict";A.exports=function(A){var e=[];return e.toString=function(){return this.map((function(e){var t=function(A,e){var t=A[1]||"",i=A[3];if(!i)return t;if(e&&"function"==typeof btoa){var r=(g=i,o=btoa(unescape(encodeURIComponent(JSON.stringify(g)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(o),"/*# ".concat(a," */")),n=i.sources.map((function(A){return"/*# sourceURL=".concat(i.sourceRoot||"").concat(A," */")}));return[t].concat(n).concat([r]).join("\n")}var g,o,a;return[t].join("\n")}(e,A);return e[2]?"@media ".concat(e[2]," {").concat(t,"}"):t})).join("")},e.i=function(A,t,i){"string"==typeof A&&(A=[[null,A,""]]);var r={};if(i)for(var n=0;n<this.length;n++){var g=this[n][0];null!=g&&(r[g]=!0)}for(var o=0;o<A.length;o++){var a=[].concat(A[o]);i&&r[a[0]]||(t&&(a[2]?a[2]="".concat(t," and ").concat(a[2]):a[2]=t),e.push(a))}},e}},function(A,e,t){"use strict";t.d(e,"a",(function(){return g}));var i=t(127),r=t(7);function n(A){return function e(t){function n(e,n){var g=A((e=Object(i.a)(e)).h,(n=Object(i.a)(n)).h),o=Object(r.a)(e.s,n.s),a=Object(r.a)(e.l,n.l),I=Object(r.a)(e.opacity,n.opacity);return function(A){return e.h=g(A),e.s=o(A),e.l=a(Math.pow(A,t)),e.opacity=I(A),e+""}}return t=+t,n.gamma=e,n}(1)}e.b=n(r.c);var g=n(r.a)},function(A,e,t){"use strict";t.d(e,"b",(function(){return n}));var i=t(5),r=Object(i.a)((function(A){A.setDate(1),A.setHours(0,0,0,0)}),(function(A,e){A.setMonth(A.getMonth()+e)}),(function(A,e){return e.getMonth()-A.getMonth()+12*(e.getFullYear()-A.getFullYear())}),(function(A){return A.getMonth()}));e.a=r;var n=r.range},function(A,e,t){"use strict";t.d(e,"b",(function(){return g}));var i=t(5),r=t(6),n=Object(i.a)((function(A){A.setTime(A-A.getMilliseconds()-A.getSeconds()*r.d-A.getMinutes()*r.c)}),(function(A,e){A.setTime(+A+e*r.b)}),(function(A,e){return(e-A)/r.b}),(function(A){return A.getHours()}));e.a=n;var g=n.range},function(A,e,t){"use strict";t.d(e,"b",(function(){return g}));var i=t(5),r=t(6),n=Object(i.a)((function(A){A.setTime(A-A.getMilliseconds()-A.getSeconds()*r.d)}),(function(A,e){A.setTime(+A+e*r.c)}),(function(A,e){return(e-A)/r.c}),(function(A){return A.getMinutes()}));e.a=n;var g=n.range},function(A,e,t){"use strict";t.d(e,"b",(function(){return n}));var i=t(5),r=Object(i.a)((function(A){A.setUTCDate(1),A.setUTCHours(0,0,0,0)}),(function(A,e){A.setUTCMonth(A.getUTCMonth()+e)}),(function(A,e){return e.getUTCMonth()-A.getUTCMonth()+12*(e.getUTCFullYear()-A.getUTCFullYear())}),(function(A){return A.getUTCMonth()}));e.a=r;var n=r.range},function(A,e,t){"use strict";t.d(e,"b",(function(){return g}));var i=t(5),r=t(6),n=Object(i.a)((function(A){A.setUTCMinutes(0,0,0)}),(function(A,e){A.setTime(+A+e*r.b)}),(function(A,e){return(e-A)/r.b}),(function(A){return A.getUTCHours()}));e.a=n;var g=n.range},function(A,e,t){"use strict";t.d(e,"b",(function(){return g}));var i=t(5),r=t(6),n=Object(i.a)((function(A){A.setUTCSeconds(0,0)}),(function(A,e){A.setTime(+A+e*r.c)}),(function(A,e){return(e-A)/r.c}),(function(A){return A.getUTCMinutes()}));e.a=n;var g=n.range},function(A,e,t){"use strict";t.r(e),t.d(e,"arc",(function(){return D})),t.d(e,"area",(function(){return M})),t.d(e,"line",(function(){return N})),t.d(e,"pie",(function(){return F})),t.d(e,"areaRadial",(function(){return L})),t.d(e,"radialArea",(function(){return L})),t.d(e,"lineRadial",(function(){return U})),t.d(e,"radialLine",(function(){return U})),t.d(e,"pointRadial",(function(){return K})),t.d(e,"linkHorizontal",(function(){return V})),t.d(e,"linkVertical",(function(){return z})),t.d(e,"linkRadial",(function(){return Z})),t.d(e,"symbol",(function(){return BA})),t.d(e,"symbols",(function(){return lA})),t.d(e,"symbolCircle",(function(){return X})),t.d(e,"symbolCross",(function(){return W})),t.d(e,"symbolDiamond",(function(){return eA})),t.d(e,"symbolSquare",(function(){return gA})),t.d(e,"symbolStar",(function(){return nA})),t.d(e,"symbolTriangle",(function(){return aA})),t.d(e,"symbolWye",(function(){return cA})),t.d(e,"curveBasisClosed",(function(){return dA})),t.d(e,"curveBasisOpen",(function(){return yA})),t.d(e,"curveBasis",(function(){return hA})),t.d(e,"curveBundle",(function(){return DA})),t.d(e,"curveCardinalClosed",(function(){return NA})),t.d(e,"curveCardinalOpen",(function(){return RA})),t.d(e,"curveCardinal",(function(){return bA})),t.d(e,"curveCatmullRomClosed",(function(){return YA})),t.d(e,"curveCatmullRomOpen",(function(){return UA})),t.d(e,"curveCatmullRom",(function(){return xA})),t.d(e,"curveLinearClosed",(function(){return KA})),t.d(e,"curveLinear",(function(){return m})),t.d(e,"curveMonotoneX",(function(){return VA})),t.d(e,"curveMonotoneY",(function(){return zA})),t.d(e,"curveNatural",(function(){return WA})),t.d(e,"curveStep",(function(){return Ae})),t.d(e,"curveStepAfter",(function(){return te})),t.d(e,"curveStepBefore",(function(){return ee})),t.d(e,"stack",(function(){return ge})),t.d(e,"stackOffsetExpand",(function(){return oe})),t.d(e,"stackOffsetDiverging",(function(){return ae})),t.d(e,"stackOffsetNone",(function(){return ie})),t.d(e,"stackOffsetSilhouette",(function(){return Ie})),t.d(e,"stackOffsetWiggle",(function(){return Ce})),t.d(e,"stackOrderAppearance",(function(){return se})),t.d(e,"stackOrderAscending",(function(){return le})),t.d(e,"stackOrderDescending",(function(){return Qe})),t.d(e,"stackOrderInsideOut",(function(){return ue})),t.d(e,"stackOrderNone",(function(){return re})),t.d(e,"stackOrderReverse",(function(){return Ee}));var i=t(215),r=function(A){return function(){return A}},n=Math.abs,g=Math.atan2,o=Math.cos,a=Math.max,I=Math.min,C=Math.sin,s=Math.sqrt,c=Math.PI,l=c/2,B=2*c;function Q(A){return A>1?0:A<-1?c:Math.acos(A)}function u(A){return A>=1?l:A<=-1?-l:Math.asin(A)}function E(A){return A.innerRadius}function h(A){return A.outerRadius}function f(A){return A.startAngle}function d(A){return A.endAngle}function p(A){return A&&A.padAngle}function y(A,e,t,i,r,n,g,o){var a=t-A,I=i-e,C=g-r,s=o-n,c=s*a-C*I;if(!(c*c<1e-12))return[A+(c=(C*(e-n)-s*(A-r))/c)*a,e+c*I]}function w(A,e,t,i,r,n,g){var o=A-t,I=e-i,C=(g?n:-n)/s(o*o+I*I),c=C*I,l=-C*o,B=A+c,Q=e+l,u=t+c,E=i+l,h=(B+u)/2,f=(Q+E)/2,d=u-B,p=E-Q,y=d*d+p*p,w=r-n,D=B*E-u*Q,v=(p<0?-1:1)*s(a(0,w*w*y-D*D)),m=(D*p-d*v)/y,b=(-D*d-p*v)/y,k=(D*p+d*v)/y,N=(-D*d+p*v)/y,M=m-h,R=b-f,G=k-h,F=N-f;return M*M+R*R>G*G+F*F&&(m=k,b=N),{cx:m,cy:b,x01:-c,y01:-l,x11:m*(r/w-1),y11:b*(r/w-1)}}var D=function(){var A=E,e=h,t=r(0),a=null,D=f,v=d,m=p,b=null;function k(){var r,E,h=+A.apply(this,arguments),f=+e.apply(this,arguments),d=D.apply(this,arguments)-l,p=v.apply(this,arguments)-l,k=n(p-d),N=p>d;if(b||(b=r=Object(i.a)()),f<h&&(E=f,f=h,h=E),f>1e-12)if(k>B-1e-12)b.moveTo(f*o(d),f*C(d)),b.arc(0,0,f,d,p,!N),h>1e-12&&(b.moveTo(h*o(p),h*C(p)),b.arc(0,0,h,p,d,N));else{var M,R,G=d,F=p,x=d,S=p,Y=k,_=k,U=m.apply(this,arguments)/2,L=U>1e-12&&(a?+a.apply(this,arguments):s(h*h+f*f)),K=I(n(f-h)/2,+t.apply(this,arguments)),J=K,T=K;if(L>1e-12){var H=u(L/h*C(U)),O=u(L/f*C(U));(Y-=2*H)>1e-12?(x+=H*=N?1:-1,S-=H):(Y=0,x=S=(d+p)/2),(_-=2*O)>1e-12?(G+=O*=N?1:-1,F-=O):(_=0,G=F=(d+p)/2)}var q=f*o(G),j=f*C(G),P=h*o(S),V=h*C(S);if(K>1e-12){var z,Z=f*o(F),X=f*C(F),W=h*o(x),$=h*C(x);if(k<c&&(z=y(q,j,W,$,Z,X,P,V))){var AA=q-z[0],eA=j-z[1],tA=Z-z[0],iA=X-z[1],rA=1/C(Q((AA*tA+eA*iA)/(s(AA*AA+eA*eA)*s(tA*tA+iA*iA)))/2),nA=s(z[0]*z[0]+z[1]*z[1]);J=I(K,(h-nA)/(rA-1)),T=I(K,(f-nA)/(rA+1))}}_>1e-12?T>1e-12?(M=w(W,$,q,j,f,T,N),R=w(Z,X,P,V,f,T,N),b.moveTo(M.cx+M.x01,M.cy+M.y01),T<K?b.arc(M.cx,M.cy,T,g(M.y01,M.x01),g(R.y01,R.x01),!N):(b.arc(M.cx,M.cy,T,g(M.y01,M.x01),g(M.y11,M.x11),!N),b.arc(0,0,f,g(M.cy+M.y11,M.cx+M.x11),g(R.cy+R.y11,R.cx+R.x11),!N),b.arc(R.cx,R.cy,T,g(R.y11,R.x11),g(R.y01,R.x01),!N))):(b.moveTo(q,j),b.arc(0,0,f,G,F,!N)):b.moveTo(q,j),h>1e-12&&Y>1e-12?J>1e-12?(M=w(P,V,Z,X,h,-J,N),R=w(q,j,W,$,h,-J,N),b.lineTo(M.cx+M.x01,M.cy+M.y01),J<K?b.arc(M.cx,M.cy,J,g(M.y01,M.x01),g(R.y01,R.x01),!N):(b.arc(M.cx,M.cy,J,g(M.y01,M.x01),g(M.y11,M.x11),!N),b.arc(0,0,h,g(M.cy+M.y11,M.cx+M.x11),g(R.cy+R.y11,R.cx+R.x11),N),b.arc(R.cx,R.cy,J,g(R.y11,R.x11),g(R.y01,R.x01),!N))):b.arc(0,0,h,S,x,N):b.lineTo(P,V)}else b.moveTo(0,0);if(b.closePath(),r)return b=null,r+""||null}return k.centroid=function(){var t=(+A.apply(this,arguments)+ +e.apply(this,arguments))/2,i=(+D.apply(this,arguments)+ +v.apply(this,arguments))/2-c/2;return[o(i)*t,C(i)*t]},k.innerRadius=function(e){return arguments.length?(A="function"==typeof e?e:r(+e),k):A},k.outerRadius=function(A){return arguments.length?(e="function"==typeof A?A:r(+A),k):e},k.cornerRadius=function(A){return arguments.length?(t="function"==typeof A?A:r(+A),k):t},k.padRadius=function(A){return arguments.length?(a=null==A?null:"function"==typeof A?A:r(+A),k):a},k.startAngle=function(A){return arguments.length?(D="function"==typeof A?A:r(+A),k):D},k.endAngle=function(A){return arguments.length?(v="function"==typeof A?A:r(+A),k):v},k.padAngle=function(A){return arguments.length?(m="function"==typeof A?A:r(+A),k):m},k.context=function(A){return arguments.length?(b=null==A?null:A,k):b},k};function v(A){this._context=A}v.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(A,e){switch(A=+A,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(A,e):this._context.moveTo(A,e);break;case 1:this._point=2;default:this._context.lineTo(A,e)}}};var m=function(A){return new v(A)};function b(A){return A[0]}function k(A){return A[1]}var N=function(){var A=b,e=k,t=r(!0),n=null,g=m,o=null;function a(r){var a,I,C,s=r.length,c=!1;for(null==n&&(o=g(C=Object(i.a)())),a=0;a<=s;++a)!(a<s&&t(I=r[a],a,r))===c&&((c=!c)?o.lineStart():o.lineEnd()),c&&o.point(+A(I,a,r),+e(I,a,r));if(C)return o=null,C+""||null}return a.x=function(e){return arguments.length?(A="function"==typeof e?e:r(+e),a):A},a.y=function(A){return arguments.length?(e="function"==typeof A?A:r(+A),a):e},a.defined=function(A){return arguments.length?(t="function"==typeof A?A:r(!!A),a):t},a.curve=function(A){return arguments.length?(g=A,null!=n&&(o=g(n)),a):g},a.context=function(A){return arguments.length?(null==A?n=o=null:o=g(n=A),a):n},a},M=function(){var A=b,e=null,t=r(0),n=k,g=r(!0),o=null,a=m,I=null;function C(r){var C,s,c,l,B,Q=r.length,u=!1,E=new Array(Q),h=new Array(Q);for(null==o&&(I=a(B=Object(i.a)())),C=0;C<=Q;++C){if(!(C<Q&&g(l=r[C],C,r))===u)if(u=!u)s=C,I.areaStart(),I.lineStart();else{for(I.lineEnd(),I.lineStart(),c=C-1;c>=s;--c)I.point(E[c],h[c]);I.lineEnd(),I.areaEnd()}u&&(E[C]=+A(l,C,r),h[C]=+t(l,C,r),I.point(e?+e(l,C,r):E[C],n?+n(l,C,r):h[C]))}if(B)return I=null,B+""||null}function s(){return N().defined(g).curve(a).context(o)}return C.x=function(t){return arguments.length?(A="function"==typeof t?t:r(+t),e=null,C):A},C.x0=function(e){return arguments.length?(A="function"==typeof e?e:r(+e),C):A},C.x1=function(A){return arguments.length?(e=null==A?null:"function"==typeof A?A:r(+A),C):e},C.y=function(A){return arguments.length?(t="function"==typeof A?A:r(+A),n=null,C):t},C.y0=function(A){return arguments.length?(t="function"==typeof A?A:r(+A),C):t},C.y1=function(A){return arguments.length?(n=null==A?null:"function"==typeof A?A:r(+A),C):n},C.lineX0=C.lineY0=function(){return s().x(A).y(t)},C.lineY1=function(){return s().x(A).y(n)},C.lineX1=function(){return s().x(e).y(t)},C.defined=function(A){return arguments.length?(g="function"==typeof A?A:r(!!A),C):g},C.curve=function(A){return arguments.length?(a=A,null!=o&&(I=a(o)),C):a},C.context=function(A){return arguments.length?(null==A?o=I=null:I=a(o=A),C):o},C},R=function(A,e){return e<A?-1:e>A?1:e>=A?0:NaN},G=function(A){return A},F=function(){var A=G,e=R,t=null,i=r(0),n=r(B),g=r(0);function o(r){var o,a,I,C,s,c=r.length,l=0,Q=new Array(c),u=new Array(c),E=+i.apply(this,arguments),h=Math.min(B,Math.max(-B,n.apply(this,arguments)-E)),f=Math.min(Math.abs(h)/c,g.apply(this,arguments)),d=f*(h<0?-1:1);for(o=0;o<c;++o)(s=u[Q[o]=o]=+A(r[o],o,r))>0&&(l+=s);for(null!=e?Q.sort((function(A,t){return e(u[A],u[t])})):null!=t&&Q.sort((function(A,e){return t(r[A],r[e])})),o=0,I=l?(h-c*d)/l:0;o<c;++o,E=C)a=Q[o],C=E+((s=u[a])>0?s*I:0)+d,u[a]={data:r[a],index:o,value:s,startAngle:E,endAngle:C,padAngle:f};return u}return o.value=function(e){return arguments.length?(A="function"==typeof e?e:r(+e),o):A},o.sortValues=function(A){return arguments.length?(e=A,t=null,o):e},o.sort=function(A){return arguments.length?(t=A,e=null,o):t},o.startAngle=function(A){return arguments.length?(i="function"==typeof A?A:r(+A),o):i},o.endAngle=function(A){return arguments.length?(n="function"==typeof A?A:r(+A),o):n},o.padAngle=function(A){return arguments.length?(g="function"==typeof A?A:r(+A),o):g},o},x=Y(m);function S(A){this._curve=A}function Y(A){function e(e){return new S(A(e))}return e._curve=A,e}function _(A){var e=A.curve;return A.angle=A.x,delete A.x,A.radius=A.y,delete A.y,A.curve=function(A){return arguments.length?e(Y(A)):e()._curve},A}S.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(A,e){this._curve.point(e*Math.sin(A),e*-Math.cos(A))}};var U=function(){return _(N().curve(x))},L=function(){var A=M().curve(x),e=A.curve,t=A.lineX0,i=A.lineX1,r=A.lineY0,n=A.lineY1;return A.angle=A.x,delete A.x,A.startAngle=A.x0,delete A.x0,A.endAngle=A.x1,delete A.x1,A.radius=A.y,delete A.y,A.innerRadius=A.y0,delete A.y0,A.outerRadius=A.y1,delete A.y1,A.lineStartAngle=function(){return _(t())},delete A.lineX0,A.lineEndAngle=function(){return _(i())},delete A.lineX1,A.lineInnerRadius=function(){return _(r())},delete A.lineY0,A.lineOuterRadius=function(){return _(n())},delete A.lineY1,A.curve=function(A){return arguments.length?e(Y(A)):e()._curve},A},K=function(A,e){return[(e=+e)*Math.cos(A-=Math.PI/2),e*Math.sin(A)]},J=Array.prototype.slice;function T(A){return A.source}function H(A){return A.target}function O(A){var e=T,t=H,n=b,g=k,o=null;function a(){var r,a=J.call(arguments),I=e.apply(this,a),C=t.apply(this,a);if(o||(o=r=Object(i.a)()),A(o,+n.apply(this,(a[0]=I,a)),+g.apply(this,a),+n.apply(this,(a[0]=C,a)),+g.apply(this,a)),r)return o=null,r+""||null}return a.source=function(A){return arguments.length?(e=A,a):e},a.target=function(A){return arguments.length?(t=A,a):t},a.x=function(A){return arguments.length?(n="function"==typeof A?A:r(+A),a):n},a.y=function(A){return arguments.length?(g="function"==typeof A?A:r(+A),a):g},a.context=function(A){return arguments.length?(o=null==A?null:A,a):o},a}function q(A,e,t,i,r){A.moveTo(e,t),A.bezierCurveTo(e=(e+i)/2,t,e,r,i,r)}function j(A,e,t,i,r){A.moveTo(e,t),A.bezierCurveTo(e,t=(t+r)/2,i,t,i,r)}function P(A,e,t,i,r){var n=K(e,t),g=K(e,t=(t+r)/2),o=K(i,t),a=K(i,r);A.moveTo(n[0],n[1]),A.bezierCurveTo(g[0],g[1],o[0],o[1],a[0],a[1])}function V(){return O(q)}function z(){return O(j)}function Z(){var A=O(P);return A.angle=A.x,delete A.x,A.radius=A.y,delete A.y,A}var X={draw:function(A,e){var t=Math.sqrt(e/c);A.moveTo(t,0),A.arc(0,0,t,0,B)}},W={draw:function(A,e){var t=Math.sqrt(e/5)/2;A.moveTo(-3*t,-t),A.lineTo(-t,-t),A.lineTo(-t,-3*t),A.lineTo(t,-3*t),A.lineTo(t,-t),A.lineTo(3*t,-t),A.lineTo(3*t,t),A.lineTo(t,t),A.lineTo(t,3*t),A.lineTo(-t,3*t),A.lineTo(-t,t),A.lineTo(-3*t,t),A.closePath()}},$=Math.sqrt(1/3),AA=2*$,eA={draw:function(A,e){var t=Math.sqrt(e/AA),i=t*$;A.moveTo(0,-t),A.lineTo(i,0),A.lineTo(0,t),A.lineTo(-i,0),A.closePath()}},tA=Math.sin(c/10)/Math.sin(7*c/10),iA=Math.sin(B/10)*tA,rA=-Math.cos(B/10)*tA,nA={draw:function(A,e){var t=Math.sqrt(.8908130915292852*e),i=iA*t,r=rA*t;A.moveTo(0,-t),A.lineTo(i,r);for(var n=1;n<5;++n){var g=B*n/5,o=Math.cos(g),a=Math.sin(g);A.lineTo(a*t,-o*t),A.lineTo(o*i-a*r,a*i+o*r)}A.closePath()}},gA={draw:function(A,e){var t=Math.sqrt(e),i=-t/2;A.rect(i,i,t,t)}},oA=Math.sqrt(3),aA={draw:function(A,e){var t=-Math.sqrt(e/(3*oA));A.moveTo(0,2*t),A.lineTo(-oA*t,-t),A.lineTo(oA*t,-t),A.closePath()}},IA=Math.sqrt(3)/2,CA=1/Math.sqrt(12),sA=3*(CA/2+1),cA={draw:function(A,e){var t=Math.sqrt(e/sA),i=t/2,r=t*CA,n=i,g=t*CA+t,o=-n,a=g;A.moveTo(i,r),A.lineTo(n,g),A.lineTo(o,a),A.lineTo(-.5*i-IA*r,IA*i+-.5*r),A.lineTo(-.5*n-IA*g,IA*n+-.5*g),A.lineTo(-.5*o-IA*a,IA*o+-.5*a),A.lineTo(-.5*i+IA*r,-.5*r-IA*i),A.lineTo(-.5*n+IA*g,-.5*g-IA*n),A.lineTo(-.5*o+IA*a,-.5*a-IA*o),A.closePath()}},lA=[X,W,eA,gA,nA,aA,cA],BA=function(){var A=r(X),e=r(64),t=null;function n(){var r;if(t||(t=r=Object(i.a)()),A.apply(this,arguments).draw(t,+e.apply(this,arguments)),r)return t=null,r+""||null}return n.type=function(e){return arguments.length?(A="function"==typeof e?e:r(e),n):A},n.size=function(A){return arguments.length?(e="function"==typeof A?A:r(+A),n):e},n.context=function(A){return arguments.length?(t=null==A?null:A,n):t},n},QA=function(){};function uA(A,e,t){A._context.bezierCurveTo((2*A._x0+A._x1)/3,(2*A._y0+A._y1)/3,(A._x0+2*A._x1)/3,(A._y0+2*A._y1)/3,(A._x0+4*A._x1+e)/6,(A._y0+4*A._y1+t)/6)}function EA(A){this._context=A}EA.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:uA(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(A,e){switch(A=+A,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(A,e):this._context.moveTo(A,e);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:uA(this,A,e)}this._x0=this._x1,this._x1=A,this._y0=this._y1,this._y1=e}};var hA=function(A){return new EA(A)};function fA(A){this._context=A}fA.prototype={areaStart:QA,areaEnd:QA,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(A,e){switch(A=+A,e=+e,this._point){case 0:this._point=1,this._x2=A,this._y2=e;break;case 1:this._point=2,this._x3=A,this._y3=e;break;case 2:this._point=3,this._x4=A,this._y4=e,this._context.moveTo((this._x0+4*this._x1+A)/6,(this._y0+4*this._y1+e)/6);break;default:uA(this,A,e)}this._x0=this._x1,this._x1=A,this._y0=this._y1,this._y1=e}};var dA=function(A){return new fA(A)};function pA(A){this._context=A}pA.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(A,e){switch(A=+A,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var t=(this._x0+4*this._x1+A)/6,i=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(t,i):this._context.moveTo(t,i);break;case 3:this._point=4;default:uA(this,A,e)}this._x0=this._x1,this._x1=A,this._y0=this._y1,this._y1=e}};var yA=function(A){return new pA(A)};function wA(A,e){this._basis=new EA(A),this._beta=e}wA.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var A=this._x,e=this._y,t=A.length-1;if(t>0)for(var i,r=A[0],n=e[0],g=A[t]-r,o=e[t]-n,a=-1;++a<=t;)i=a/t,this._basis.point(this._beta*A[a]+(1-this._beta)*(r+i*g),this._beta*e[a]+(1-this._beta)*(n+i*o));this._x=this._y=null,this._basis.lineEnd()},point:function(A,e){this._x.push(+A),this._y.push(+e)}};var DA=function A(e){function t(A){return 1===e?new EA(A):new wA(A,e)}return t.beta=function(e){return A(+e)},t}(.85);function vA(A,e,t){A._context.bezierCurveTo(A._x1+A._k*(A._x2-A._x0),A._y1+A._k*(A._y2-A._y0),A._x2+A._k*(A._x1-e),A._y2+A._k*(A._y1-t),A._x2,A._y2)}function mA(A,e){this._context=A,this._k=(1-e)/6}mA.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:vA(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(A,e){switch(A=+A,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(A,e):this._context.moveTo(A,e);break;case 1:this._point=2,this._x1=A,this._y1=e;break;case 2:this._point=3;default:vA(this,A,e)}this._x0=this._x1,this._x1=this._x2,this._x2=A,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var bA=function A(e){function t(A){return new mA(A,e)}return t.tension=function(e){return A(+e)},t}(0);function kA(A,e){this._context=A,this._k=(1-e)/6}kA.prototype={areaStart:QA,areaEnd:QA,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(A,e){switch(A=+A,e=+e,this._point){case 0:this._point=1,this._x3=A,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=A,this._y4=e);break;case 2:this._point=3,this._x5=A,this._y5=e;break;default:vA(this,A,e)}this._x0=this._x1,this._x1=this._x2,this._x2=A,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var NA=function A(e){function t(A){return new kA(A,e)}return t.tension=function(e){return A(+e)},t}(0);function MA(A,e){this._context=A,this._k=(1-e)/6}MA.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(A,e){switch(A=+A,e=+e,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:vA(this,A,e)}this._x0=this._x1,this._x1=this._x2,this._x2=A,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var RA=function A(e){function t(A){return new MA(A,e)}return t.tension=function(e){return A(+e)},t}(0);function GA(A,e,t){var i=A._x1,r=A._y1,n=A._x2,g=A._y2;if(A._l01_a>1e-12){var o=2*A._l01_2a+3*A._l01_a*A._l12_a+A._l12_2a,a=3*A._l01_a*(A._l01_a+A._l12_a);i=(i*o-A._x0*A._l12_2a+A._x2*A._l01_2a)/a,r=(r*o-A._y0*A._l12_2a+A._y2*A._l01_2a)/a}if(A._l23_a>1e-12){var I=2*A._l23_2a+3*A._l23_a*A._l12_a+A._l12_2a,C=3*A._l23_a*(A._l23_a+A._l12_a);n=(n*I+A._x1*A._l23_2a-e*A._l12_2a)/C,g=(g*I+A._y1*A._l23_2a-t*A._l12_2a)/C}A._context.bezierCurveTo(i,r,n,g,A._x2,A._y2)}function FA(A,e){this._context=A,this._alpha=e}FA.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(A,e){if(A=+A,e=+e,this._point){var t=this._x2-A,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(t*t+i*i,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(A,e):this._context.moveTo(A,e);break;case 1:this._point=2;break;case 2:this._point=3;default:GA(this,A,e)}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=A,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var xA=function A(e){function t(A){return e?new FA(A,e):new mA(A,0)}return t.alpha=function(e){return A(+e)},t}(.5);function SA(A,e){this._context=A,this._alpha=e}SA.prototype={areaStart:QA,areaEnd:QA,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(A,e){if(A=+A,e=+e,this._point){var t=this._x2-A,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(t*t+i*i,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=A,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=A,this._y4=e);break;case 2:this._point=3,this._x5=A,this._y5=e;break;default:GA(this,A,e)}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=A,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var YA=function A(e){function t(A){return e?new SA(A,e):new kA(A,0)}return t.alpha=function(e){return A(+e)},t}(.5);function _A(A,e){this._context=A,this._alpha=e}_A.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(A,e){if(A=+A,e=+e,this._point){var t=this._x2-A,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(t*t+i*i,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:GA(this,A,e)}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=A,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var UA=function A(e){function t(A){return e?new _A(A,e):new MA(A,0)}return t.alpha=function(e){return A(+e)},t}(.5);function LA(A){this._context=A}LA.prototype={areaStart:QA,areaEnd:QA,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(A,e){A=+A,e=+e,this._point?this._context.lineTo(A,e):(this._point=1,this._context.moveTo(A,e))}};var KA=function(A){return new LA(A)};function JA(A){return A<0?-1:1}function TA(A,e,t){var i=A._x1-A._x0,r=e-A._x1,n=(A._y1-A._y0)/(i||r<0&&-0),g=(t-A._y1)/(r||i<0&&-0),o=(n*r+g*i)/(i+r);return(JA(n)+JA(g))*Math.min(Math.abs(n),Math.abs(g),.5*Math.abs(o))||0}function HA(A,e){var t=A._x1-A._x0;return t?(3*(A._y1-A._y0)/t-e)/2:e}function OA(A,e,t){var i=A._x0,r=A._y0,n=A._x1,g=A._y1,o=(n-i)/3;A._context.bezierCurveTo(i+o,r+o*e,n-o,g-o*t,n,g)}function qA(A){this._context=A}function jA(A){this._context=new PA(A)}function PA(A){this._context=A}function VA(A){return new qA(A)}function zA(A){return new jA(A)}function ZA(A){this._context=A}function XA(A){var e,t,i=A.length-1,r=new Array(i),n=new Array(i),g=new Array(i);for(r[0]=0,n[0]=2,g[0]=A[0]+2*A[1],e=1;e<i-1;++e)r[e]=1,n[e]=4,g[e]=4*A[e]+2*A[e+1];for(r[i-1]=2,n[i-1]=7,g[i-1]=8*A[i-1]+A[i],e=1;e<i;++e)t=r[e]/n[e-1],n[e]-=t,g[e]-=t*g[e-1];for(r[i-1]=g[i-1]/n[i-1],e=i-2;e>=0;--e)r[e]=(g[e]-r[e+1])/n[e];for(n[i-1]=(A[i]+r[i-1])/2,e=0;e<i-1;++e)n[e]=2*A[e+1]-r[e+1];return[r,n]}qA.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:OA(this,this._t0,HA(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(A,e){var t=NaN;if(e=+e,(A=+A)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(A,e):this._context.moveTo(A,e);break;case 1:this._point=2;break;case 2:this._point=3,OA(this,HA(this,t=TA(this,A,e)),t);break;default:OA(this,this._t0,t=TA(this,A,e))}this._x0=this._x1,this._x1=A,this._y0=this._y1,this._y1=e,this._t0=t}}},(jA.prototype=Object.create(qA.prototype)).point=function(A,e){qA.prototype.point.call(this,e,A)},PA.prototype={moveTo:function(A,e){this._context.moveTo(e,A)},closePath:function(){this._context.closePath()},lineTo:function(A,e){this._context.lineTo(e,A)},bezierCurveTo:function(A,e,t,i,r,n){this._context.bezierCurveTo(e,A,i,t,n,r)}},ZA.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var A=this._x,e=this._y,t=A.length;if(t)if(this._line?this._context.lineTo(A[0],e[0]):this._context.moveTo(A[0],e[0]),2===t)this._context.lineTo(A[1],e[1]);else for(var i=XA(A),r=XA(e),n=0,g=1;g<t;++n,++g)this._context.bezierCurveTo(i[0][n],r[0][n],i[1][n],r[1][n],A[g],e[g]);(this._line||0!==this._line&&1===t)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(A,e){this._x.push(+A),this._y.push(+e)}};var WA=function(A){return new ZA(A)};function $A(A,e){this._context=A,this._t=e}$A.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(A,e){switch(A=+A,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(A,e):this._context.moveTo(A,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(A,e);else{var t=this._x*(1-this._t)+A*this._t;this._context.lineTo(t,this._y),this._context.lineTo(t,e)}}this._x=A,this._y=e}};var Ae=function(A){return new $A(A,.5)};function ee(A){return new $A(A,0)}function te(A){return new $A(A,1)}var ie=function(A,e){if((r=A.length)>1)for(var t,i,r,n=1,g=A[e[0]],o=g.length;n<r;++n)for(i=g,g=A[e[n]],t=0;t<o;++t)g[t][1]+=g[t][0]=isNaN(i[t][1])?i[t][0]:i[t][1]},re=function(A){for(var e=A.length,t=new Array(e);--e>=0;)t[e]=e;return t};function ne(A,e){return A[e]}var ge=function(){var A=r([]),e=re,t=ie,i=ne;function n(r){var n,g,o=A.apply(this,arguments),a=r.length,I=o.length,C=new Array(I);for(n=0;n<I;++n){for(var s,c=o[n],l=C[n]=new Array(a),B=0;B<a;++B)l[B]=s=[0,+i(r[B],c,B,r)],s.data=r[B];l.key=c}for(n=0,g=e(C);n<I;++n)C[g[n]].index=n;return t(C,g),C}return n.keys=function(e){return arguments.length?(A="function"==typeof e?e:r(J.call(e)),n):A},n.value=function(A){return arguments.length?(i="function"==typeof A?A:r(+A),n):i},n.order=function(A){return arguments.length?(e=null==A?re:"function"==typeof A?A:r(J.call(A)),n):e},n.offset=function(A){return arguments.length?(t=null==A?ie:A,n):t},n},oe=function(A,e){if((i=A.length)>0){for(var t,i,r,n=0,g=A[0].length;n<g;++n){for(r=t=0;t<i;++t)r+=A[t][n][1]||0;if(r)for(t=0;t<i;++t)A[t][n][1]/=r}ie(A,e)}},ae=function(A,e){if((o=A.length)>0)for(var t,i,r,n,g,o,a=0,I=A[e[0]].length;a<I;++a)for(n=g=0,t=0;t<o;++t)(r=(i=A[e[t]][a])[1]-i[0])>0?(i[0]=n,i[1]=n+=r):r<0?(i[1]=g,i[0]=g+=r):(i[0]=0,i[1]=r)},Ie=function(A,e){if((t=A.length)>0){for(var t,i=0,r=A[e[0]],n=r.length;i<n;++i){for(var g=0,o=0;g<t;++g)o+=A[g][i][1]||0;r[i][1]+=r[i][0]=-o/2}ie(A,e)}},Ce=function(A,e){if((r=A.length)>0&&(i=(t=A[e[0]]).length)>0){for(var t,i,r,n=0,g=1;g<i;++g){for(var o=0,a=0,I=0;o<r;++o){for(var C=A[e[o]],s=C[g][1]||0,c=(s-(C[g-1][1]||0))/2,l=0;l<o;++l){var B=A[e[l]];c+=(B[g][1]||0)-(B[g-1][1]||0)}a+=s,I+=c*s}t[g-1][1]+=t[g-1][0]=n,a&&(n-=I/a)}t[g-1][1]+=t[g-1][0]=n,ie(A,e)}},se=function(A){var e=A.map(ce);return re(A).sort((function(A,t){return e[A]-e[t]}))};function ce(A){for(var e,t=-1,i=0,r=A.length,n=-1/0;++t<r;)(e=+A[t][1])>n&&(n=e,i=t);return i}var le=function(A){var e=A.map(Be);return re(A).sort((function(A,t){return e[A]-e[t]}))};function Be(A){for(var e,t=0,i=-1,r=A.length;++i<r;)(e=+A[i][1])&&(t+=e);return t}var Qe=function(A){return le(A).reverse()},ue=function(A){var e,t,i=A.length,r=A.map(Be),n=se(A),g=0,o=0,a=[],I=[];for(e=0;e<i;++e)t=n[e],g<o?(g+=r[t],a.push(t)):(o+=r[t],I.push(t));return I.reverse().concat(a)},Ee=function(A){return re(A).reverse()}},function(A,e,t){"use strict";function i(A){return+A}function r(A){return A*A}function n(A){return A*(2-A)}function g(A){return((A*=2)<=1?A*A:--A*(2-A)+1)/2}t.d(e,"y",(function(){return i})),t.d(e,"D",(function(){return g})),t.d(e,"E",(function(){return r})),t.d(e,"G",(function(){return n})),t.d(e,"F",(function(){return g})),t.d(e,"m",(function(){return o.b})),t.d(e,"n",(function(){return o.a})),t.d(e,"p",(function(){return o.c})),t.d(e,"o",(function(){return o.b})),t.d(e,"z",(function(){return C})),t.d(e,"A",(function(){return a})),t.d(e,"C",(function(){return I})),t.d(e,"B",(function(){return C})),t.d(e,"H",(function(){return Q})),t.d(e,"I",(function(){return l})),t.d(e,"K",(function(){return B})),t.d(e,"J",(function(){return Q})),t.d(e,"u",(function(){return h})),t.d(e,"v",(function(){return u})),t.d(e,"x",(function(){return E})),t.d(e,"w",(function(){return h})),t.d(e,"i",(function(){return p})),t.d(e,"j",(function(){return f})),t.d(e,"l",(function(){return d})),t.d(e,"k",(function(){return p})),t.d(e,"e",(function(){return D})),t.d(e,"f",(function(){return w})),t.d(e,"h",(function(){return D})),t.d(e,"g",(function(){return v})),t.d(e,"a",(function(){return k})),t.d(e,"b",(function(){return m})),t.d(e,"d",(function(){return b})),t.d(e,"c",(function(){return k})),t.d(e,"q",(function(){return R})),t.d(e,"r",(function(){return M})),t.d(e,"t",(function(){return R})),t.d(e,"s",(function(){return G}));var o=t(88),a=function A(e){function t(A){return Math.pow(A,e)}return e=+e,t.exponent=A,t}(3),I=function A(e){function t(A){return 1-Math.pow(1-A,e)}return e=+e,t.exponent=A,t}(3),C=function A(e){function t(A){return((A*=2)<=1?Math.pow(A,e):2-Math.pow(2-A,e))/2}return e=+e,t.exponent=A,t}(3),s=Math.PI,c=s/2;function l(A){return 1-Math.cos(A*c)}function B(A){return Math.sin(A*c)}function Q(A){return(1-Math.cos(s*A))/2}function u(A){return Math.pow(2,10*A-10)}function E(A){return 1-Math.pow(2,-10*A)}function h(A){return((A*=2)<=1?Math.pow(2,10*A-10):2-Math.pow(2,10-10*A))/2}function f(A){return 1-Math.sqrt(1-A*A)}function d(A){return Math.sqrt(1- --A*A)}function p(A){return((A*=2)<=1?1-Math.sqrt(1-A*A):Math.sqrt(1-(A-=2)*A)+1)/2}var y=7.5625;function w(A){return 1-D(1-A)}function D(A){return(A=+A)<4/11?y*A*A:A<8/11?y*(A-=6/11)*A+3/4:A<10/11?y*(A-=9/11)*A+15/16:y*(A-=21/22)*A+63/64}function v(A){return((A*=2)<=1?1-D(1-A):D(A-1)+1)/2}var m=function A(e){function t(A){return A*A*((e+1)*A-e)}return e=+e,t.overshoot=A,t}(1.70158),b=function A(e){function t(A){return--A*A*((e+1)*A+e)+1}return e=+e,t.overshoot=A,t}(1.70158),k=function A(e){function t(A){return((A*=2)<1?A*A*((e+1)*A-e):(A-=2)*A*((e+1)*A+e)+2)/2}return e=+e,t.overshoot=A,t}(1.70158),N=2*Math.PI,M=function A(e,t){var i=Math.asin(1/(e=Math.max(1,e)))*(t/=N);function r(A){return e*Math.pow(2,10*--A)*Math.sin((i-A)/t)}return r.amplitude=function(e){return A(e,t*N)},r.period=function(t){return A(e,t)},r}(1,.3),R=function A(e,t){var i=Math.asin(1/(e=Math.max(1,e)))*(t/=N);function r(A){return 1-e*Math.pow(2,-10*(A=+A))*Math.sin((A+i)/t)}return r.amplitude=function(e){return A(e,t*N)},r.period=function(t){return A(e,t)},r}(1,.3),G=function A(e,t){var i=Math.asin(1/(e=Math.max(1,e)))*(t/=N);function r(A){return((A=2*A-1)<0?e*Math.pow(2,10*A)*Math.sin((i-A)/t):2-e*Math.pow(2,-10*A)*Math.sin((i+A)/t))/2}return r.amplitude=function(e){return A(e,t*N)},r.period=function(t){return A(e,t)},r}(1,.3)},function(A,e,t){"use strict";function i(A){if(!A.ok)throw new Error(A.status+" "+A.statusText);return A.blob()}t.r(e),t.d(e,"blob",(function(){return r})),t.d(e,"buffer",(function(){return g})),t.d(e,"dsv",(function(){return l})),t.d(e,"csv",(function(){return B})),t.d(e,"tsv",(function(){return Q})),t.d(e,"image",(function(){return u})),t.d(e,"json",(function(){return h})),t.d(e,"text",(function(){return s})),t.d(e,"xml",(function(){return d})),t.d(e,"html",(function(){return p})),t.d(e,"svg",(function(){return y}));var r=function(A,e){return fetch(A,e).then(i)};function n(A){if(!A.ok)throw new Error(A.status+" "+A.statusText);return A.arrayBuffer()}var g=function(A,e){return fetch(A,e).then(n)},o=t(74),a=t(48),I=t(49);function C(A){if(!A.ok)throw new Error(A.status+" "+A.statusText);return A.text()}var s=function(A,e){return fetch(A,e).then(C)};function c(A){return function(e,t,i){return 2===arguments.length&&"function"==typeof t&&(i=t,t=void 0),s(e,t).then((function(e){return A(e,i)}))}}function l(A,e,t,i){3===arguments.length&&"function"==typeof t&&(i=t,t=void 0);var r=Object(o.a)(A);return s(e,t).then((function(A){return r.parse(A,i)}))}var B=c(a.f),Q=c(I.f),u=function(A,e){return new Promise((function(t,i){var r=new Image;for(var n in e)r[n]=e[n];r.onerror=i,r.onload=function(){t(r)},r.src=A}))};function E(A){if(!A.ok)throw new Error(A.status+" "+A.statusText);if(204!==A.status&&205!==A.status)return A.json()}var h=function(A,e){return fetch(A,e).then(E)};function f(A){return function(e,t){return s(e,t).then((function(e){return(new DOMParser).parseFromString(e,A)}))}}var d=f("application/xml"),p=f("text/html"),y=f("image/svg+xml")},function(A,e,t){"use strict";t.r(e),t.d(e,"randomUniform",(function(){return r})),t.d(e,"randomNormal",(function(){return n})),t.d(e,"randomLogNormal",(function(){return g})),t.d(e,"randomBates",(function(){return a})),t.d(e,"randomIrwinHall",(function(){return o})),t.d(e,"randomExponential",(function(){return I}));var i=function(){return Math.random()},r=function A(e){function t(A,t){return A=null==A?0:+A,t=null==t?1:+t,1===arguments.length?(t=A,A=0):t-=A,function(){return e()*t+A}}return t.source=A,t}(i),n=function A(e){function t(A,t){var i,r;return A=null==A?0:+A,t=null==t?1:+t,function(){var n;if(null!=i)n=i,i=null;else do{i=2*e()-1,n=2*e()-1,r=i*i+n*n}while(!r||r>1);return A+t*n*Math.sqrt(-2*Math.log(r)/r)}}return t.source=A,t}(i),g=function A(e){function t(){var A=n.source(e).apply(this,arguments);return function(){return Math.exp(A())}}return t.source=A,t}(i),o=function A(e){function t(A){return function(){for(var t=0,i=0;i<A;++i)t+=e();return t}}return t.source=A,t}(i),a=function A(e){function t(A){var t=o.source(e)(A);return function(){return t()/A}}return t.source=A,t}(i),I=function A(e){function t(A){return function(){return-Math.log(1-e())/A}}return t.source=A,t}(i)},function(A,e,t){"use strict";t.r(e),t.d(e,"brush",(function(){return L})),t.d(e,"brushX",(function(){return _})),t.d(e,"brushY",(function(){return U})),t.d(e,"brushSelection",(function(){return Y}));var i=t(211),r=t(73),n=t(72),g=t(213),o=t(37),a=t(77),I=t(214),C=t(44),s=function(A){return function(){return A}},c=function(A,e,t){this.target=A,this.type=e,this.selection=t};function l(){o.c.stopImmediatePropagation()}var B=function(){o.c.preventDefault(),o.c.stopImmediatePropagation()},Q={name:"drag"},u={name:"space"},E={name:"handle"},h={name:"center"};function f(A){return[+A[0],+A[1]]}function d(A){return[f(A[0]),f(A[1])]}function p(A){return function(e){return Object(g.a)(e,o.c.touches,A)}}var y={name:"x",handles:["w","e"].map(M),input:function(A,e){return null==A?null:[[+A[0],e[0][1]],[+A[1],e[1][1]]]},output:function(A){return A&&[A[0][0],A[1][0]]}},w={name:"y",handles:["n","s"].map(M),input:function(A,e){return null==A?null:[[e[0][0],+A[0]],[e[1][0],+A[1]]]},output:function(A){return A&&[A[0][1],A[1][1]]}},D={name:"xy",handles:["n","w","e","s","nw","ne","sw","se"].map(M),input:function(A){return null==A?null:d(A)},output:function(A){return A}},v={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"},m={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},b={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},k={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},N={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function M(A){return{type:A}}function R(){return!o.c.ctrlKey&&!o.c.button}function G(){var A=this.ownerSVGElement||this;return A.hasAttribute("viewBox")?[[(A=A.viewBox.baseVal).x,A.y],[A.x+A.width,A.y+A.height]]:[[0,0],[A.width.baseVal.value,A.height.baseVal.value]]}function F(){return navigator.maxTouchPoints||"ontouchstart"in this}function x(A){for(;!A.__brush;)if(!(A=A.parentNode))return;return A.__brush}function S(A){return A[0][0]===A[1][0]||A[0][1]===A[1][1]}function Y(A){var e=A.__brush;return e?e.dim.output(e.selection):null}function _(){return K(y)}function U(){return K(w)}var L=function(){return K(D)};function K(A){var e,t=G,g=R,f=F,D=!0,Y=Object(i.a)("start","brush","end"),_=6;function U(e){var t=e.property("__brush",q).selectAll(".overlay").data([M("overlay")]);t.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",v.overlay).merge(t).each((function(){var A=x(this).extent;Object(a.a)(this).attr("x",A[0][0]).attr("y",A[0][1]).attr("width",A[1][0]-A[0][0]).attr("height",A[1][1]-A[0][1])})),e.selectAll(".selection").data([M("selection")]).enter().append("rect").attr("class","selection").attr("cursor",v.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var i=e.selectAll(".handle").data(A.handles,(function(A){return A.type}));i.exit().remove(),i.enter().append("rect").attr("class",(function(A){return"handle handle--"+A.type})).attr("cursor",(function(A){return v[A.type]})),e.each(L).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",T).filter(f).on("touchstart.brush",T).on("touchmove.brush",H).on("touchend.brush touchcancel.brush",O).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function L(){var A=Object(a.a)(this),e=x(this).selection;e?(A.selectAll(".selection").style("display",null).attr("x",e[0][0]).attr("y",e[0][1]).attr("width",e[1][0]-e[0][0]).attr("height",e[1][1]-e[0][1]),A.selectAll(".handle").style("display",null).attr("x",(function(A){return"e"===A.type[A.type.length-1]?e[1][0]-_/2:e[0][0]-_/2})).attr("y",(function(A){return"s"===A.type[0]?e[1][1]-_/2:e[0][1]-_/2})).attr("width",(function(A){return"n"===A.type||"s"===A.type?e[1][0]-e[0][0]+_:_})).attr("height",(function(A){return"e"===A.type||"w"===A.type?e[1][1]-e[0][1]+_:_}))):A.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function K(A,e,t){return!t&&A.__brush.emitter||new J(A,e)}function J(A,e){this.that=A,this.args=e,this.state=A.__brush,this.active=0}function T(){if((!e||o.c.touches)&&g.apply(this,arguments)){var t,i,n,s,c,f,d,M,R,G,F,Y=this,_=o.c.target.__data__.type,U="selection"===(D&&o.c.metaKey?_="overlay":_)?Q:D&&o.c.altKey?h:E,J=A===w?null:k[_],T=A===y?null:N[_],H=x(Y),O=H.extent,q=H.selection,j=O[0][0],P=O[0][1],V=O[1][0],z=O[1][1],Z=0,X=0,W=J&&T&&D&&o.c.shiftKey,$=o.c.touches?p(o.c.changedTouches[0].identifier):I.a,AA=$(Y),eA=AA,tA=K(Y,arguments,!0).beforestart();"overlay"===_?(q&&(R=!0),H.selection=q=[[t=A===w?j:AA[0],n=A===y?P:AA[1]],[c=A===w?V:t,d=A===y?z:n]]):(t=q[0][0],n=q[0][1],c=q[1][0],d=q[1][1]),i=t,s=n,f=c,M=d;var iA=Object(a.a)(Y).attr("pointer-events","none"),rA=iA.selectAll(".overlay").attr("cursor",v[_]);if(o.c.touches)tA.moved=gA,tA.ended=aA;else{var nA=Object(a.a)(o.c.view).on("mousemove.brush",gA,!0).on("mouseup.brush",aA,!0);D&&nA.on("keydown.brush",IA,!0).on("keyup.brush",CA,!0),Object(r.a)(o.c.view)}l(),Object(C.b)(Y),L.call(Y),tA.start()}function gA(){var A=$(Y);!W||G||F||(Math.abs(A[0]-eA[0])>Math.abs(A[1]-eA[1])?F=!0:G=!0),eA=A,R=!0,B(),oA()}function oA(){var A;switch(Z=eA[0]-AA[0],X=eA[1]-AA[1],U){case u:case Q:J&&(Z=Math.max(j-t,Math.min(V-c,Z)),i=t+Z,f=c+Z),T&&(X=Math.max(P-n,Math.min(z-d,X)),s=n+X,M=d+X);break;case E:J<0?(Z=Math.max(j-t,Math.min(V-t,Z)),i=t+Z,f=c):J>0&&(Z=Math.max(j-c,Math.min(V-c,Z)),i=t,f=c+Z),T<0?(X=Math.max(P-n,Math.min(z-n,X)),s=n+X,M=d):T>0&&(X=Math.max(P-d,Math.min(z-d,X)),s=n,M=d+X);break;case h:J&&(i=Math.max(j,Math.min(V,t-Z*J)),f=Math.max(j,Math.min(V,c+Z*J))),T&&(s=Math.max(P,Math.min(z,n-X*T)),M=Math.max(P,Math.min(z,d+X*T)))}f<i&&(J*=-1,A=t,t=c,c=A,A=i,i=f,f=A,_ in m&&rA.attr("cursor",v[_=m[_]])),M<s&&(T*=-1,A=n,n=d,d=A,A=s,s=M,M=A,_ in b&&rA.attr("cursor",v[_=b[_]])),H.selection&&(q=H.selection),G&&(i=q[0][0],f=q[1][0]),F&&(s=q[0][1],M=q[1][1]),q[0][0]===i&&q[0][1]===s&&q[1][0]===f&&q[1][1]===M||(H.selection=[[i,s],[f,M]],L.call(Y),tA.brush())}function aA(){if(l(),o.c.touches){if(o.c.touches.length)return;e&&clearTimeout(e),e=setTimeout((function(){e=null}),500)}else Object(r.b)(o.c.view,R),nA.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);iA.attr("pointer-events","all"),rA.attr("cursor",v.overlay),H.selection&&(q=H.selection),S(q)&&(H.selection=null,L.call(Y)),tA.end()}function IA(){switch(o.c.keyCode){case 16:W=J&&T;break;case 18:U===E&&(J&&(c=f-Z*J,t=i+Z*J),T&&(d=M-X*T,n=s+X*T),U=h,oA());break;case 32:U!==E&&U!==h||(J<0?c=f-Z:J>0&&(t=i-Z),T<0?d=M-X:T>0&&(n=s-X),U=u,rA.attr("cursor",v.selection),oA());break;default:return}B()}function CA(){switch(o.c.keyCode){case 16:W&&(G=F=W=!1,oA());break;case 18:U===h&&(J<0?c=f:J>0&&(t=i),T<0?d=M:T>0&&(n=s),U=E,oA());break;case 32:U===u&&(o.c.altKey?(J&&(c=f-Z*J,t=i+Z*J),T&&(d=M-X*T,n=s+X*T),U=h):(J<0?c=f:J>0&&(t=i),T<0?d=M:T>0&&(n=s),U=E),rA.attr("cursor",v[_]),oA());break;default:return}B()}}function H(){K(this,arguments).moved()}function O(){K(this,arguments).ended()}function q(){var e=this.__brush||{selection:null};return e.extent=d(t.apply(this,arguments)),e.dim=A,e}return U.move=function(e,t){e.selection?e.on("start.brush",(function(){K(this,arguments).beforestart().start()})).on("interrupt.brush end.brush",(function(){K(this,arguments).end()})).tween("brush",(function(){var e=this,i=e.__brush,r=K(e,arguments),g=i.selection,o=A.input("function"==typeof t?t.apply(this,arguments):t,i.extent),a=Object(n.a)(g,o);function I(A){i.selection=1===A&&null===o?null:a(A),L.call(e),r.brush()}return null!==g&&null!==o?I:I(1)})):e.each((function(){var e=this,i=arguments,r=e.__brush,n=A.input("function"==typeof t?t.apply(e,i):t,r.extent),g=K(e,i).beforestart();Object(C.b)(e),r.selection=null===n?null:n,L.call(e),g.start().brush().end()}))},U.clear=function(A){U.move(A,null)},J.prototype={beforestart:function(){return 1==++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(){return this.starting?(this.starting=!1,this.emit("start")):this.emit("brush"),this},brush:function(){return this.emit("brush"),this},end:function(){return 0==--this.active&&(delete this.state.emitter,this.emit("end")),this},emit:function(e){Object(o.a)(new c(U,e,A.output(this.state.selection)),Y.apply,Y,[e,this.that,this.args])}},U.extent=function(A){return arguments.length?(t="function"==typeof A?A:s(d(A)),U):t},U.filter=function(A){return arguments.length?(g="function"==typeof A?A:s(!!A),U):g},U.touchable=function(A){return arguments.length?(f="function"==typeof A?A:s(!!A),U):f},U.handleSize=function(A){return arguments.length?(_=+A,U):_},U.keyModifiers=function(A){return arguments.length?(D=!!A,U):D},U.on=function(){var A=Y.on.apply(Y,arguments);return A===Y?U:A},U}},function(A,e,t){"use strict";t.d(e,"a",(function(){return c})),t.d(e,"b",(function(){return l}));var i,r,n,g,o=t(20),a=180/Math.PI,I={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},C=function(A,e,t,i,r,n){var g,o,I;return(g=Math.sqrt(A*A+e*e))&&(A/=g,e/=g),(I=A*t+e*i)&&(t-=A*I,i-=e*I),(o=Math.sqrt(t*t+i*i))&&(t/=o,i/=o,I/=o),A*i<e*t&&(A=-A,e=-e,I=-I,g=-g),{translateX:r,translateY:n,rotate:Math.atan2(e,A)*a,skewX:Math.atan(I)*a,scaleX:g,scaleY:o}};function s(A,e,t,i){function r(A){return A.length?A.pop()+" ":""}return function(n,g){var a=[],I=[];return n=A(n),g=A(g),function(A,i,r,n,g,a){if(A!==r||i!==n){var I=g.push("translate(",null,e,null,t);a.push({i:I-4,x:Object(o.a)(A,r)},{i:I-2,x:Object(o.a)(i,n)})}else(r||n)&&g.push("translate("+r+e+n+t)}(n.translateX,n.translateY,g.translateX,g.translateY,a,I),function(A,e,t,n){A!==e?(A-e>180?e+=360:e-A>180&&(A+=360),n.push({i:t.push(r(t)+"rotate(",null,i)-2,x:Object(o.a)(A,e)})):e&&t.push(r(t)+"rotate("+e+i)}(n.rotate,g.rotate,a,I),function(A,e,t,n){A!==e?n.push({i:t.push(r(t)+"skewX(",null,i)-2,x:Object(o.a)(A,e)}):e&&t.push(r(t)+"skewX("+e+i)}(n.skewX,g.skewX,a,I),function(A,e,t,i,n,g){if(A!==t||e!==i){var a=n.push(r(n)+"scale(",null,",",null,")");g.push({i:a-4,x:Object(o.a)(A,t)},{i:a-2,x:Object(o.a)(e,i)})}else 1===t&&1===i||n.push(r(n)+"scale("+t+","+i+")")}(n.scaleX,n.scaleY,g.scaleX,g.scaleY,a,I),n=g=null,function(A){for(var e,t=-1,i=I.length;++t<i;)a[(e=I[t]).i]=e.x(A);return a.join("")}}}var c=s((function(A){return"none"===A?I:(i||(i=document.createElement("DIV"),r=document.documentElement,n=document.defaultView),i.style.transform=A,A=n.getComputedStyle(r.appendChild(i),null).getPropertyValue("transform"),r.removeChild(i),A=A.slice(7,-1).split(","),C(+A[0],+A[1],+A[2],+A[3],+A[4],+A[5]))}),"px, ","px)","deg)"),l=s((function(A){return null==A?I:(g||(g=document.createElementNS("http://www.w3.org/2000/svg","g")),g.setAttribute("transform",A),(A=g.transform.baseVal.consolidate())?(A=A.matrix,C(A.a,A.b,A.c,A.d,A.e,A.f)):I)}),", ",")",")")},function(A,e,t){"use strict";t.d(e,"i",(function(){return i.a})),t.d(e,"g",(function(){return r.f})),t.d(e,"h",(function(){return r.g})),t.d(e,"b",(function(){return r.a})),t.d(e,"c",(function(){return r.b})),t.d(e,"e",(function(){return r.d})),t.d(e,"d",(function(){return r.c})),t.d(e,"f",(function(){return r.e})),t.d(e,"o",(function(){return n.f})),t.d(e,"p",(function(){return n.g})),t.d(e,"j",(function(){return n.a})),t.d(e,"k",(function(){return n.b})),t.d(e,"m",(function(){return n.d})),t.d(e,"l",(function(){return n.c})),t.d(e,"n",(function(){return n.e})),t.d(e,"a",(function(){return g}));var i=t(74),r=t(48),n=t(49);function g(A){for(var e in A){var t,i,r=A[e].trim();if(r)if("true"===r)r=!0;else if("false"===r)r=!1;else if("NaN"===r)r=NaN;else if(isNaN(t=+r)){if(!(i=r.match(/^([-+]\d{2})?\d{4}(-\d{2}(-\d{2})?)?(T\d{2}:\d{2}(:\d{2}(\.\d{3})?)?(Z|[-+]\d{2}:\d{2})?)?$/)))continue;o&&i[4]&&!i[7]&&(r=r.replace(/-/g,"/").replace(/T/," ")),r=new Date(r)}else r=t;else r=null;A[e]=r}return A}var o=new Date("2019-01-01T00:00").getHours()||new Date("2019-07-01T00:00").getHours()},function(A,e,t){"use strict"; | |
/* | |
object-assign | |
(c) Sindre Sorhus | |
@license MIT | |
*/var i=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function g(A){if(null==A)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(A)}A.exports=function(){try{if(!Object.assign)return!1;var A=new String("abc");if(A[5]="de","5"===Object.getOwnPropertyNames(A)[0])return!1;for(var e={},t=0;t<10;t++)e["_"+String.fromCharCode(t)]=t;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(A){return e[A]})).join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(A){i[A]=A})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(A){return!1}}()?Object.assign:function(A,e){for(var t,o,a=g(A),I=1;I<arguments.length;I++){for(var C in t=Object(arguments[I]))r.call(t,C)&&(a[C]=t[C]);if(i){o=i(t);for(var s=0;s<o.length;s++)n.call(t,o[s])&&(a[o[s]]=t[o[s]])}}return a}},function(A,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DeserializeContext=void 0;let i=(()=>{class A{constructor(A,e,t){this.parent=A,this.firstDeserializationOnValue=e,this.reportUnexpectedPropertiesAsError=t,this.namespaces=new Map}hasPrefixes(){return this.namespaces.size>0}withPrefixes(e){const t=new A(this,this.firstDeserializationOnValue,this.reportUnexpectedPropertiesAsError);for(const[A,i]of Object.entries(e))t.namespaces.set(A,i);return t}_withReportUnexpectedPropertiesAsError(e){return this.reportUnexpectedPropertiesAsError===e?this:new A(this,this.firstDeserializationOnValue,e)}withoutReportUnexpectedPropertiesAsError(){return this._withReportUnexpectedPropertiesAsError(!0)}_withFirstDeserializationOnValue(e){return this.firstDeserializationOnValue===e?this:new A(this,e,this.reportUnexpectedPropertiesAsError)}withFirstDeserializationOnValue(){return this._withFirstDeserializationOnValue(!0)}withoutFirstDeserializationOnValue(){return this._withFirstDeserializationOnValue(!1)}lookupNamespace(A){const e=this.namespaces.get(A);return e||(this.parent?this.parent.lookupNamespace(A):void 0)}}return A.default=new A(void 0,!0,!0),A})();e.DeserializeContext=i},function(A,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sNamespacedName=e.sLazy=e.sMap=e.sArrayOf=e.sIntersect=e.sUnion=e.sIntersectionMany=e.sUnionMany=e.sLiteral=e.sNull=e.sBoolean=e.sNumber=e.sString=e.sAny=void 0;const i=t(129),r=t(80),n=t(18);var g=t(131);function o(){return new i.PrimitiveSerializerImpl("string")}function a(A,e){return new i.UnionSerializerImpl(A,e.processingStrategy)}function I(A){return new i.IntersectionSerializerImpl(A)}Object.defineProperty(e,"sObject",{enumerable:!0,get:function(){return g.sObject}}),Object.defineProperty(e,"sOpenObject",{enumerable:!0,get:function(){return g.sOpenObject}}),Object.defineProperty(e,"sProp",{enumerable:!0,get:function(){return g.sProp}}),Object.defineProperty(e,"sOptionalProp",{enumerable:!0,get:function(){return g.sOptionalProp}}),e.sAny=function(){return new i.AnySerializerImpl},e.sString=o,e.sNumber=function(){return new i.PrimitiveSerializerImpl("number")},e.sBoolean=function(){return new i.PrimitiveSerializerImpl("boolean")},e.sNull=function(){return new i.LiteralSerializerImpl(null)},e.sLiteral=function(A){return new i.LiteralSerializerImpl(A)},e.sUnionMany=a,e.sIntersectionMany=I,e.sUnion=function(A,e={}){return a(A,{processingStrategy:e.inclusive?"first":"firstExclusive"}).refine({canSerialize:e=>A.some(A=>A.canSerialize(e)),fromIntermediate:A=>n.DeserializeResult.fromValue(A[0]),toIntermediate:A=>[A]})},e.sIntersect=function(A){return I(A).refine({canSerialize:A=>Array.isArray(A),fromIntermediate:A=>n.DeserializeResult.fromValue(Object.assign({},...A)),toIntermediate:A=>[A]})},e.sArrayOf=function(A){return new i.ArraySerializerImpl(A)},e.sMap=function(A){return new i.MapSerializerImpl(A)},e.sLazy=function(A){return new i.LazySerializerImpl(A)},e.sNamespacedName=function(){return o().refine({canSerialize:A=>A instanceof r.NamespacedName,fromIntermediate:(A,e)=>{const t=/(.*)#(.*)/.exec(A);if(!t)return n.DeserializeResult.fromError({message:'Namespaced name must match the regex "(.*)#(.*)".'});const i=t[1],r=t[2],g=e.lookupNamespace(i);return g?n.DeserializeResult.fromValue(g(r)):n.DeserializeResult.fromError({message:`Prefix "${i}" is not defined.`})},toIntermediate:(A,e)=>`${e.getPrefixForNamespace(r.namespace(A.namespace))}#${A.name}`})}},function(A,e,t){"use strict";var i=this&&this.__decorate||function(A,e,t,i){var r,n=arguments.length,g=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,t):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(A,e,t,i);else for(var o=A.length-1;o>=0;o--)(r=A[o])&&(g=(n<3?r(g):n>3?r(e,t,g):r(e,t))||g);return n>3&&g&&Object.defineProperty(e,t,g),g};Object.defineProperty(e,"__esModule",{value:!0}),e.Loadable=void 0;const r=t(4);class n{constructor(A){this._load=A,this.operation=void 0}load(){return this.operation||(this.operation=(async()=>{const A=await this._load();r.runInAction(()=>{this.result=A})})()),this.operation}}i([r.observable.ref],n.prototype,"result",void 0),e.Loadable=n},function(A,e,t){"use strict";(function(A){ | |
/*! | |
* The buffer module from node.js, for the browser. | |
* | |
* @author Feross Aboukhadijeh <http://feross.org> | |
* @license MIT | |
*/ | |
var i=t(260),r=t(261),n=t(262);function g(){return a.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(A,e){if(g()<e)throw new RangeError("Invalid typed array length");return a.TYPED_ARRAY_SUPPORT?(A=new Uint8Array(e)).__proto__=a.prototype:(null===A&&(A=new a(e)),A.length=e),A}function a(A,e,t){if(!(a.TYPED_ARRAY_SUPPORT||this instanceof a))return new a(A,e,t);if("number"==typeof A){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return s(this,A)}return I(this,A,e,t)}function I(A,e,t,i){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(A,e,t,i){if(e.byteLength,t<0||e.byteLength<t)throw new RangeError("'offset' is out of bounds");if(e.byteLength<t+(i||0))throw new RangeError("'length' is out of bounds");e=void 0===t&&void 0===i?new Uint8Array(e):void 0===i?new Uint8Array(e,t):new Uint8Array(e,t,i);a.TYPED_ARRAY_SUPPORT?(A=e).__proto__=a.prototype:A=c(A,e);return A}(A,e,t,i):"string"==typeof e?function(A,e,t){"string"==typeof t&&""!==t||(t="utf8");if(!a.isEncoding(t))throw new TypeError('"encoding" must be a valid string encoding');var i=0|B(e,t),r=(A=o(A,i)).write(e,t);r!==i&&(A=A.slice(0,r));return A}(A,e,t):function(A,e){if(a.isBuffer(e)){var t=0|l(e.length);return 0===(A=o(A,t)).length||e.copy(A,0,0,t),A}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(i=e.length)!=i?o(A,0):c(A,e);if("Buffer"===e.type&&n(e.data))return c(A,e.data)}var i;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(A,e)}function C(A){if("number"!=typeof A)throw new TypeError('"size" argument must be a number');if(A<0)throw new RangeError('"size" argument must not be negative')}function s(A,e){if(C(e),A=o(A,e<0?0:0|l(e)),!a.TYPED_ARRAY_SUPPORT)for(var t=0;t<e;++t)A[t]=0;return A}function c(A,e){var t=e.length<0?0:0|l(e.length);A=o(A,t);for(var i=0;i<t;i+=1)A[i]=255&e[i];return A}function l(A){if(A>=g())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+g().toString(16)+" bytes");return 0|A}function B(A,e){if(a.isBuffer(A))return A.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(A)||A instanceof ArrayBuffer))return A.byteLength;"string"!=typeof A&&(A=""+A);var t=A.length;if(0===t)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":case void 0:return K(A).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*t;case"hex":return t>>>1;case"base64":return J(A).length;default:if(i)return K(A).length;e=(""+e).toLowerCase(),i=!0}}function Q(A,e,t){var i=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===t||t>this.length)&&(t=this.length),t<=0)return"";if((t>>>=0)<=(e>>>=0))return"";for(A||(A="utf8");;)switch(A){case"hex":return N(this,e,t);case"utf8":case"utf-8":return m(this,e,t);case"ascii":return b(this,e,t);case"latin1":case"binary":return k(this,e,t);case"base64":return v(this,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,e,t);default:if(i)throw new TypeError("Unknown encoding: "+A);A=(A+"").toLowerCase(),i=!0}}function u(A,e,t){var i=A[e];A[e]=A[t],A[t]=i}function E(A,e,t,i,r){if(0===A.length)return-1;if("string"==typeof t?(i=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,isNaN(t)&&(t=r?0:A.length-1),t<0&&(t=A.length+t),t>=A.length){if(r)return-1;t=A.length-1}else if(t<0){if(!r)return-1;t=0}if("string"==typeof e&&(e=a.from(e,i)),a.isBuffer(e))return 0===e.length?-1:h(A,e,t,i,r);if("number"==typeof e)return e&=255,a.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(A,e,t):Uint8Array.prototype.lastIndexOf.call(A,e,t):h(A,[e],t,i,r);throw new TypeError("val must be string, number or Buffer")}function h(A,e,t,i,r){var n,g=1,o=A.length,a=e.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(A.length<2||e.length<2)return-1;g=2,o/=2,a/=2,t/=2}function I(A,e){return 1===g?A[e]:A.readUInt16BE(e*g)}if(r){var C=-1;for(n=t;n<o;n++)if(I(A,n)===I(e,-1===C?0:n-C)){if(-1===C&&(C=n),n-C+1===a)return C*g}else-1!==C&&(n-=n-C),C=-1}else for(t+a>o&&(t=o-a),n=t;n>=0;n--){for(var s=!0,c=0;c<a;c++)if(I(A,n+c)!==I(e,c)){s=!1;break}if(s)return n}return-1}function f(A,e,t,i){t=Number(t)||0;var r=A.length-t;i?(i=Number(i))>r&&(i=r):i=r;var n=e.length;if(n%2!=0)throw new TypeError("Invalid hex string");i>n/2&&(i=n/2);for(var g=0;g<i;++g){var o=parseInt(e.substr(2*g,2),16);if(isNaN(o))return g;A[t+g]=o}return g}function d(A,e,t,i){return T(K(e,A.length-t),A,t,i)}function p(A,e,t,i){return T(function(A){for(var e=[],t=0;t<A.length;++t)e.push(255&A.charCodeAt(t));return e}(e),A,t,i)}function y(A,e,t,i){return p(A,e,t,i)}function w(A,e,t,i){return T(J(e),A,t,i)}function D(A,e,t,i){return T(function(A,e){for(var t,i,r,n=[],g=0;g<A.length&&!((e-=2)<0);++g)t=A.charCodeAt(g),i=t>>8,r=t%256,n.push(r),n.push(i);return n}(e,A.length-t),A,t,i)}function v(A,e,t){return 0===e&&t===A.length?i.fromByteArray(A):i.fromByteArray(A.slice(e,t))}function m(A,e,t){t=Math.min(A.length,t);for(var i=[],r=e;r<t;){var n,g,o,a,I=A[r],C=null,s=I>239?4:I>223?3:I>191?2:1;if(r+s<=t)switch(s){case 1:I<128&&(C=I);break;case 2:128==(192&(n=A[r+1]))&&(a=(31&I)<<6|63&n)>127&&(C=a);break;case 3:n=A[r+1],g=A[r+2],128==(192&n)&&128==(192&g)&&(a=(15&I)<<12|(63&n)<<6|63&g)>2047&&(a<55296||a>57343)&&(C=a);break;case 4:n=A[r+1],g=A[r+2],o=A[r+3],128==(192&n)&&128==(192&g)&&128==(192&o)&&(a=(15&I)<<18|(63&n)<<12|(63&g)<<6|63&o)>65535&&a<1114112&&(C=a)}null===C?(C=65533,s=1):C>65535&&(C-=65536,i.push(C>>>10&1023|55296),C=56320|1023&C),i.push(C),r+=s}return function(A){var e=A.length;if(e<=4096)return String.fromCharCode.apply(String,A);var t="",i=0;for(;i<e;)t+=String.fromCharCode.apply(String,A.slice(i,i+=4096));return t}(i)}e.Buffer=a,e.SlowBuffer=function(A){+A!=A&&(A=0);return a.alloc(+A)},e.INSPECT_MAX_BYTES=50,a.TYPED_ARRAY_SUPPORT=void 0!==A.TYPED_ARRAY_SUPPORT?A.TYPED_ARRAY_SUPPORT:function(){try{var A=new Uint8Array(1);return A.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===A.foo()&&"function"==typeof A.subarray&&0===A.subarray(1,1).byteLength}catch(A){return!1}}(),e.kMaxLength=g(),a.poolSize=8192,a._augment=function(A){return A.__proto__=a.prototype,A},a.from=function(A,e,t){return I(null,A,e,t)},a.TYPED_ARRAY_SUPPORT&&(a.prototype.__proto__=Uint8Array.prototype,a.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&a[Symbol.species]===a&&Object.defineProperty(a,Symbol.species,{value:null,configurable:!0})),a.alloc=function(A,e,t){return function(A,e,t,i){return C(e),e<=0?o(A,e):void 0!==t?"string"==typeof i?o(A,e).fill(t,i):o(A,e).fill(t):o(A,e)}(null,A,e,t)},a.allocUnsafe=function(A){return s(null,A)},a.allocUnsafeSlow=function(A){return s(null,A)},a.isBuffer=function(A){return!(null==A||!A._isBuffer)},a.compare=function(A,e){if(!a.isBuffer(A)||!a.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(A===e)return 0;for(var t=A.length,i=e.length,r=0,n=Math.min(t,i);r<n;++r)if(A[r]!==e[r]){t=A[r],i=e[r];break}return t<i?-1:i<t?1:0},a.isEncoding=function(A){switch(String(A).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(A,e){if(!n(A))throw new TypeError('"list" argument must be an Array of Buffers');if(0===A.length)return a.alloc(0);var t;if(void 0===e)for(e=0,t=0;t<A.length;++t)e+=A[t].length;var i=a.allocUnsafe(e),r=0;for(t=0;t<A.length;++t){var g=A[t];if(!a.isBuffer(g))throw new TypeError('"list" argument must be an Array of Buffers');g.copy(i,r),r+=g.length}return i},a.byteLength=B,a.prototype._isBuffer=!0,a.prototype.swap16=function(){var A=this.length;if(A%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<A;e+=2)u(this,e,e+1);return this},a.prototype.swap32=function(){var A=this.length;if(A%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<A;e+=4)u(this,e,e+3),u(this,e+1,e+2);return this},a.prototype.swap64=function(){var A=this.length;if(A%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<A;e+=8)u(this,e,e+7),u(this,e+1,e+6),u(this,e+2,e+5),u(this,e+3,e+4);return this},a.prototype.toString=function(){var A=0|this.length;return 0===A?"":0===arguments.length?m(this,0,A):Q.apply(this,arguments)},a.prototype.equals=function(A){if(!a.isBuffer(A))throw new TypeError("Argument must be a Buffer");return this===A||0===a.compare(this,A)},a.prototype.inspect=function(){var A="",t=e.INSPECT_MAX_BYTES;return this.length>0&&(A=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(A+=" ... ")),"<Buffer "+A+">"},a.prototype.compare=function(A,e,t,i,r){if(!a.isBuffer(A))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===t&&(t=A?A.length:0),void 0===i&&(i=0),void 0===r&&(r=this.length),e<0||t>A.length||i<0||r>this.length)throw new RangeError("out of range index");if(i>=r&&e>=t)return 0;if(i>=r)return-1;if(e>=t)return 1;if(this===A)return 0;for(var n=(r>>>=0)-(i>>>=0),g=(t>>>=0)-(e>>>=0),o=Math.min(n,g),I=this.slice(i,r),C=A.slice(e,t),s=0;s<o;++s)if(I[s]!==C[s]){n=I[s],g=C[s];break}return n<g?-1:g<n?1:0},a.prototype.includes=function(A,e,t){return-1!==this.indexOf(A,e,t)},a.prototype.indexOf=function(A,e,t){return E(this,A,e,t,!0)},a.prototype.lastIndexOf=function(A,e,t){return E(this,A,e,t,!1)},a.prototype.write=function(A,e,t,i){if(void 0===e)i="utf8",t=this.length,e=0;else if(void 0===t&&"string"==typeof e)i=e,t=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(t)?(t|=0,void 0===i&&(i="utf8")):(i=t,t=void 0)}var r=this.length-e;if((void 0===t||t>r)&&(t=r),A.length>0&&(t<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var n=!1;;)switch(i){case"hex":return f(this,A,e,t);case"utf8":case"utf-8":return d(this,A,e,t);case"ascii":return p(this,A,e,t);case"latin1":case"binary":return y(this,A,e,t);case"base64":return w(this,A,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return D(this,A,e,t);default:if(n)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),n=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function b(A,e,t){var i="";t=Math.min(A.length,t);for(var r=e;r<t;++r)i+=String.fromCharCode(127&A[r]);return i}function k(A,e,t){var i="";t=Math.min(A.length,t);for(var r=e;r<t;++r)i+=String.fromCharCode(A[r]);return i}function N(A,e,t){var i=A.length;(!e||e<0)&&(e=0),(!t||t<0||t>i)&&(t=i);for(var r="",n=e;n<t;++n)r+=L(A[n]);return r}function M(A,e,t){for(var i=A.slice(e,t),r="",n=0;n<i.length;n+=2)r+=String.fromCharCode(i[n]+256*i[n+1]);return r}function R(A,e,t){if(A%1!=0||A<0)throw new RangeError("offset is not uint");if(A+e>t)throw new RangeError("Trying to access beyond buffer length")}function G(A,e,t,i,r,n){if(!a.isBuffer(A))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>r||e<n)throw new RangeError('"value" argument is out of bounds');if(t+i>A.length)throw new RangeError("Index out of range")}function F(A,e,t,i){e<0&&(e=65535+e+1);for(var r=0,n=Math.min(A.length-t,2);r<n;++r)A[t+r]=(e&255<<8*(i?r:1-r))>>>8*(i?r:1-r)}function x(A,e,t,i){e<0&&(e=4294967295+e+1);for(var r=0,n=Math.min(A.length-t,4);r<n;++r)A[t+r]=e>>>8*(i?r:3-r)&255}function S(A,e,t,i,r,n){if(t+i>A.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function Y(A,e,t,i,n){return n||S(A,0,t,4),r.write(A,e,t,i,23,4),t+4}function _(A,e,t,i,n){return n||S(A,0,t,8),r.write(A,e,t,i,52,8),t+8}a.prototype.slice=function(A,e){var t,i=this.length;if((A=~~A)<0?(A+=i)<0&&(A=0):A>i&&(A=i),(e=void 0===e?i:~~e)<0?(e+=i)<0&&(e=0):e>i&&(e=i),e<A&&(e=A),a.TYPED_ARRAY_SUPPORT)(t=this.subarray(A,e)).__proto__=a.prototype;else{var r=e-A;t=new a(r,void 0);for(var n=0;n<r;++n)t[n]=this[n+A]}return t},a.prototype.readUIntLE=function(A,e,t){A|=0,e|=0,t||R(A,e,this.length);for(var i=this[A],r=1,n=0;++n<e&&(r*=256);)i+=this[A+n]*r;return i},a.prototype.readUIntBE=function(A,e,t){A|=0,e|=0,t||R(A,e,this.length);for(var i=this[A+--e],r=1;e>0&&(r*=256);)i+=this[A+--e]*r;return i},a.prototype.readUInt8=function(A,e){return e||R(A,1,this.length),this[A]},a.prototype.readUInt16LE=function(A,e){return e||R(A,2,this.length),this[A]|this[A+1]<<8},a.prototype.readUInt16BE=function(A,e){return e||R(A,2,this.length),this[A]<<8|this[A+1]},a.prototype.readUInt32LE=function(A,e){return e||R(A,4,this.length),(this[A]|this[A+1]<<8|this[A+2]<<16)+16777216*this[A+3]},a.prototype.readUInt32BE=function(A,e){return e||R(A,4,this.length),16777216*this[A]+(this[A+1]<<16|this[A+2]<<8|this[A+3])},a.prototype.readIntLE=function(A,e,t){A|=0,e|=0,t||R(A,e,this.length);for(var i=this[A],r=1,n=0;++n<e&&(r*=256);)i+=this[A+n]*r;return i>=(r*=128)&&(i-=Math.pow(2,8*e)),i},a.prototype.readIntBE=function(A,e,t){A|=0,e|=0,t||R(A,e,this.length);for(var i=e,r=1,n=this[A+--i];i>0&&(r*=256);)n+=this[A+--i]*r;return n>=(r*=128)&&(n-=Math.pow(2,8*e)),n},a.prototype.readInt8=function(A,e){return e||R(A,1,this.length),128&this[A]?-1*(255-this[A]+1):this[A]},a.prototype.readInt16LE=function(A,e){e||R(A,2,this.length);var t=this[A]|this[A+1]<<8;return 32768&t?4294901760|t:t},a.prototype.readInt16BE=function(A,e){e||R(A,2,this.length);var t=this[A+1]|this[A]<<8;return 32768&t?4294901760|t:t},a.prototype.readInt32LE=function(A,e){return e||R(A,4,this.length),this[A]|this[A+1]<<8|this[A+2]<<16|this[A+3]<<24},a.prototype.readInt32BE=function(A,e){return e||R(A,4,this.length),this[A]<<24|this[A+1]<<16|this[A+2]<<8|this[A+3]},a.prototype.readFloatLE=function(A,e){return e||R(A,4,this.length),r.read(this,A,!0,23,4)},a.prototype.readFloatBE=function(A,e){return e||R(A,4,this.length),r.read(this,A,!1,23,4)},a.prototype.readDoubleLE=function(A,e){return e||R(A,8,this.length),r.read(this,A,!0,52,8)},a.prototype.readDoubleBE=function(A,e){return e||R(A,8,this.length),r.read(this,A,!1,52,8)},a.prototype.writeUIntLE=function(A,e,t,i){(A=+A,e|=0,t|=0,i)||G(this,A,e,t,Math.pow(2,8*t)-1,0);var r=1,n=0;for(this[e]=255&A;++n<t&&(r*=256);)this[e+n]=A/r&255;return e+t},a.prototype.writeUIntBE=function(A,e,t,i){(A=+A,e|=0,t|=0,i)||G(this,A,e,t,Math.pow(2,8*t)-1,0);var r=t-1,n=1;for(this[e+r]=255&A;--r>=0&&(n*=256);)this[e+r]=A/n&255;return e+t},a.prototype.writeUInt8=function(A,e,t){return A=+A,e|=0,t||G(this,A,e,1,255,0),a.TYPED_ARRAY_SUPPORT||(A=Math.floor(A)),this[e]=255&A,e+1},a.prototype.writeUInt16LE=function(A,e,t){return A=+A,e|=0,t||G(this,A,e,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[e]=255&A,this[e+1]=A>>>8):F(this,A,e,!0),e+2},a.prototype.writeUInt16BE=function(A,e,t){return A=+A,e|=0,t||G(this,A,e,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[e]=A>>>8,this[e+1]=255&A):F(this,A,e,!1),e+2},a.prototype.writeUInt32LE=function(A,e,t){return A=+A,e|=0,t||G(this,A,e,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[e+3]=A>>>24,this[e+2]=A>>>16,this[e+1]=A>>>8,this[e]=255&A):x(this,A,e,!0),e+4},a.prototype.writeUInt32BE=function(A,e,t){return A=+A,e|=0,t||G(this,A,e,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[e]=A>>>24,this[e+1]=A>>>16,this[e+2]=A>>>8,this[e+3]=255&A):x(this,A,e,!1),e+4},a.prototype.writeIntLE=function(A,e,t,i){if(A=+A,e|=0,!i){var r=Math.pow(2,8*t-1);G(this,A,e,t,r-1,-r)}var n=0,g=1,o=0;for(this[e]=255&A;++n<t&&(g*=256);)A<0&&0===o&&0!==this[e+n-1]&&(o=1),this[e+n]=(A/g>>0)-o&255;return e+t},a.prototype.writeIntBE=function(A,e,t,i){if(A=+A,e|=0,!i){var r=Math.pow(2,8*t-1);G(this,A,e,t,r-1,-r)}var n=t-1,g=1,o=0;for(this[e+n]=255&A;--n>=0&&(g*=256);)A<0&&0===o&&0!==this[e+n+1]&&(o=1),this[e+n]=(A/g>>0)-o&255;return e+t},a.prototype.writeInt8=function(A,e,t){return A=+A,e|=0,t||G(this,A,e,1,127,-128),a.TYPED_ARRAY_SUPPORT||(A=Math.floor(A)),A<0&&(A=255+A+1),this[e]=255&A,e+1},a.prototype.writeInt16LE=function(A,e,t){return A=+A,e|=0,t||G(this,A,e,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[e]=255&A,this[e+1]=A>>>8):F(this,A,e,!0),e+2},a.prototype.writeInt16BE=function(A,e,t){return A=+A,e|=0,t||G(this,A,e,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[e]=A>>>8,this[e+1]=255&A):F(this,A,e,!1),e+2},a.prototype.writeInt32LE=function(A,e,t){return A=+A,e|=0,t||G(this,A,e,4,2147483647,-2147483648),a.TYPED_ARRAY_SUPPORT?(this[e]=255&A,this[e+1]=A>>>8,this[e+2]=A>>>16,this[e+3]=A>>>24):x(this,A,e,!0),e+4},a.prototype.writeInt32BE=function(A,e,t){return A=+A,e|=0,t||G(this,A,e,4,2147483647,-2147483648),A<0&&(A=4294967295+A+1),a.TYPED_ARRAY_SUPPORT?(this[e]=A>>>24,this[e+1]=A>>>16,this[e+2]=A>>>8,this[e+3]=255&A):x(this,A,e,!1),e+4},a.prototype.writeFloatLE=function(A,e,t){return Y(this,A,e,!0,t)},a.prototype.writeFloatBE=function(A,e,t){return Y(this,A,e,!1,t)},a.prototype.writeDoubleLE=function(A,e,t){return _(this,A,e,!0,t)},a.prototype.writeDoubleBE=function(A,e,t){return _(this,A,e,!1,t)},a.prototype.copy=function(A,e,t,i){if(t||(t=0),i||0===i||(i=this.length),e>=A.length&&(e=A.length),e||(e=0),i>0&&i<t&&(i=t),i===t)return 0;if(0===A.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(t<0||t>=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),A.length-e<i-t&&(i=A.length-e+t);var r,n=i-t;if(this===A&&t<e&&e<i)for(r=n-1;r>=0;--r)A[r+e]=this[r+t];else if(n<1e3||!a.TYPED_ARRAY_SUPPORT)for(r=0;r<n;++r)A[r+e]=this[r+t];else Uint8Array.prototype.set.call(A,this.subarray(t,t+n),e);return n},a.prototype.fill=function(A,e,t,i){if("string"==typeof A){if("string"==typeof e?(i=e,e=0,t=this.length):"string"==typeof t&&(i=t,t=this.length),1===A.length){var r=A.charCodeAt(0);r<256&&(A=r)}if(void 0!==i&&"string"!=typeof i)throw new TypeError("encoding must be a string");if("string"==typeof i&&!a.isEncoding(i))throw new TypeError("Unknown encoding: "+i)}else"number"==typeof A&&(A&=255);if(e<0||this.length<e||this.length<t)throw new RangeError("Out of range index");if(t<=e)return this;var n;if(e>>>=0,t=void 0===t?this.length:t>>>0,A||(A=0),"number"==typeof A)for(n=e;n<t;++n)this[n]=A;else{var g=a.isBuffer(A)?A:K(new a(A,i).toString()),o=g.length;for(n=0;n<t-e;++n)this[n+e]=g[n%o]}return this};var U=/[^+\/0-9A-Za-z-_]/g;function L(A){return A<16?"0"+A.toString(16):A.toString(16)}function K(A,e){var t;e=e||1/0;for(var i=A.length,r=null,n=[],g=0;g<i;++g){if((t=A.charCodeAt(g))>55295&&t<57344){if(!r){if(t>56319){(e-=3)>-1&&n.push(239,191,189);continue}if(g+1===i){(e-=3)>-1&&n.push(239,191,189);continue}r=t;continue}if(t<56320){(e-=3)>-1&&n.push(239,191,189),r=t;continue}t=65536+(r-55296<<10|t-56320)}else r&&(e-=3)>-1&&n.push(239,191,189);if(r=null,t<128){if((e-=1)<0)break;n.push(t)}else if(t<2048){if((e-=2)<0)break;n.push(t>>6|192,63&t|128)}else if(t<65536){if((e-=3)<0)break;n.push(t>>12|224,t>>6&63|128,63&t|128)}else{if(!(t<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;n.push(t>>18|240,t>>12&63|128,t>>6&63|128,63&t|128)}}return n}function J(A){return i.toByteArray(function(A){if((A=function(A){return A.trim?A.trim():A.replace(/^\s+|\s+$/g,"")}(A).replace(U,"")).length<2)return"";for(;A.length%4!=0;)A+="=";return A}(A))}function T(A,e,t,i){for(var r=0;r<i&&!(r+t>=e.length||r>=A.length);++r)e[r+t]=A[r];return r}}).call(this,t(19))},function(A,e){},function(A,e){},function(A,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sGraph=e.sGraphEdge=e.sGraphNode=void 0;const i=t(29),r=t(45);e.sGraphNode=i.sOpenObject({id:i.sString(),label:i.sOptionalProp(i.sString(),{}),color:i.sOptionalProp(i.sString(),{}),shape:i.sOptionalProp(i.sUnion([i.sLiteral("ellipse"),i.sLiteral("box")]),{})}).defineAs(r.visualizationNs("GraphNode")),e.sGraphEdge=i.sOpenObject({from:i.sString(),to:i.sString(),label:i.sOptionalProp(i.sString(),{}),id:i.sOptionalProp(i.sString(),{}),color:i.sOptionalProp(i.sString(),{}),style:i.sOptionalProp(i.sUnion([i.sLiteral("solid"),i.sLiteral("dashed"),i.sLiteral("dotted")]),{})}).defineAs(r.visualizationNs("GraphEdge")),e.sGraph=i.sOpenObject({kind:i.sOpenObject({graph:i.sLiteral(!0)}),nodes:i.sArrayOf(e.sGraphNode),edges:i.sArrayOf(e.sGraphEdge)}).defineAs(r.visualizationNs("GraphVisualizationData"))},function(A,e,t){"use strict";(function(A){t.d(e,"a",(function(){return FC})),t.d(e,"b",(function(){return xC})),t.d(e,"c",(function(){return Pl})),t.d(e,"d",(function(){return xa})),t.d(e,"e",(function(){return MC})),t.d(e,"f",(function(){return SC})),t.d(e,"g",(function(){return zg})),t.d(e,"h",(function(){return Xg})),t.d(e,"i",(function(){return Ol})),t.d(e,"j",(function(){return Vl})),t.d(e,"k",(function(){return Zg})); | |
/** | |
* vis-network | |
* https://visjs.github.io/vis-network/ | |
* | |
* A dynamic, browser-based visualization library. | |
* | |
* @version 8.0.0 | |
* @date 2020-08-03T19:17:24.334Z | |
* | |
* @copyright (c) 2011-2017 Almende B.V, http://almende.com | |
* @copyright (c) 2017-2019 visjs contributors, https://github.com/visjs | |
* | |
* @license | |
* vis.js is dual licensed under both | |
* | |
* 1. The Apache 2.0 License | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* and | |
* | |
* 2. The MIT License | |
* http://opensource.org/licenses/MIT | |
* | |
* vis.js may be distributed under either license. | |
*/ | |
var i="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==A?A:"undefined"!=typeof self?self:{};function r(A,e,t){return A(t={path:e,exports:{},require:function(A,e){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==e&&t.path)}},t.exports),t.exports}var n=function(A){return A&&A.Math==Math&&A},g=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof i&&i)||Function("return this")(),o=function(A){try{return!!A()}catch(A){return!0}},a=!o((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),I={}.propertyIsEnumerable,C=Object.getOwnPropertyDescriptor,s={f:C&&!I.call({1:2},1)?function(A){var e=C(this,A);return!!e&&e.enumerable}:I},c=function(A,e){return{enumerable:!(1&A),configurable:!(2&A),writable:!(4&A),value:e}},l={}.toString,B=function(A){return l.call(A).slice(8,-1)},Q="".split,u=o((function(){return!Object("z").propertyIsEnumerable(0)}))?function(A){return"String"==B(A)?Q.call(A,""):Object(A)}:Object,E=function(A){if(null==A)throw TypeError("Can't call method on "+A);return A},h=function(A){return u(E(A))},f=function(A){return"object"==typeof A?null!==A:"function"==typeof A},d=function(A,e){if(!f(A))return A;var t,i;if(e&&"function"==typeof(t=A.toString)&&!f(i=t.call(A)))return i;if("function"==typeof(t=A.valueOf)&&!f(i=t.call(A)))return i;if(!e&&"function"==typeof(t=A.toString)&&!f(i=t.call(A)))return i;throw TypeError("Can't convert object to primitive value")},p={}.hasOwnProperty,y=function(A,e){return p.call(A,e)},w=g.document,D=f(w)&&f(w.createElement),v=function(A){return D?w.createElement(A):{}},m=!a&&!o((function(){return 7!=Object.defineProperty(v("div"),"a",{get:function(){return 7}}).a})),b=Object.getOwnPropertyDescriptor,k={f:a?b:function(A,e){if(A=h(A),e=d(e,!0),m)try{return b(A,e)}catch(A){}if(y(A,e))return c(!s.f.call(A,e),A[e])}},N=/#|\.prototype\./,M=function(A,e){var t=G[R(A)];return t==x||t!=F&&("function"==typeof e?o(e):!!e)},R=M.normalize=function(A){return String(A).replace(N,".").toLowerCase()},G=M.data={},F=M.NATIVE="N",x=M.POLYFILL="P",S=M,Y={},_=function(A){if("function"!=typeof A)throw TypeError(String(A)+" is not a function");return A},U=function(A,e,t){if(_(A),void 0===e)return A;switch(t){case 0:return function(){return A.call(e)};case 1:return function(t){return A.call(e,t)};case 2:return function(t,i){return A.call(e,t,i)};case 3:return function(t,i,r){return A.call(e,t,i,r)}}return function(){return A.apply(e,arguments)}},L=function(A){if(!f(A))throw TypeError(String(A)+" is not an object");return A},K=Object.defineProperty,J={f:a?K:function(A,e,t){if(L(A),e=d(e,!0),L(t),m)try{return K(A,e,t)}catch(A){}if("get"in t||"set"in t)throw TypeError("Accessors not supported");return"value"in t&&(A[e]=t.value),A}},T=a?function(A,e,t){return J.f(A,e,c(1,t))}:function(A,e,t){return A[e]=t,A},H=k.f,O=function(A){var e=function(e,t,i){if(this instanceof A){switch(arguments.length){case 0:return new A;case 1:return new A(e);case 2:return new A(e,t)}return new A(e,t,i)}return A.apply(this,arguments)};return e.prototype=A.prototype,e},q=function(A,e){var t,i,r,n,o,a,I,C,s=A.target,c=A.global,l=A.stat,B=A.proto,Q=c?g:l?g[s]:(g[s]||{}).prototype,u=c?Y:Y[s]||(Y[s]={}),E=u.prototype;for(r in e)t=!S(c?r:s+(l?".":"#")+r,A.forced)&&Q&&y(Q,r),o=u[r],t&&(a=A.noTargetGet?(C=H(Q,r))&&C.value:Q[r]),n=t&&a?a:e[r],t&&typeof o==typeof n||(I=A.bind&&t?U(n,g):A.wrap&&t?O(n):B&&"function"==typeof n?U(Function.call,n):n,(A.sham||n&&n.sham||o&&o.sham)&&T(I,"sham",!0),u[r]=I,B&&(y(Y,i=s+"Prototype")||T(Y,i,{}),Y[i][r]=n,A.real&&E&&!E[r]&&T(E,r,n)))},j=[].slice,P={},V=function(A,e,t){if(!(e in P)){for(var i=[],r=0;r<e;r++)i[r]="a["+r+"]";P[e]=Function("C,a","return new C("+i.join(",")+")")}return P[e](A,t)},z=Function.bind||function(A){var e=_(this),t=j.call(arguments,1),i=function(){var r=t.concat(j.call(arguments));return this instanceof i?V(e,r.length,r):e.apply(A,r)};return f(e.prototype)&&(i.prototype=e.prototype),i};q({target:"Function",proto:!0},{bind:z});var Z=function(A){return Y[A+"Prototype"]},X=Z("Function").bind,W=Function.prototype,$=function(A){var e=A.bind;return A===W||A instanceof Function&&e===W.bind?X:e},AA=Math.ceil,eA=Math.floor,tA=function(A){return isNaN(A=+A)?0:(A>0?eA:AA)(A)},iA=Math.min,rA=function(A){return A>0?iA(tA(A),9007199254740991):0},nA=Math.max,gA=Math.min,oA=function(A,e){var t=tA(A);return t<0?nA(t+e,0):gA(t,e)},aA=function(A){return function(e,t,i){var r,n=h(e),g=rA(n.length),o=oA(i,g);if(A&&t!=t){for(;g>o;)if((r=n[o++])!=r)return!0}else for(;g>o;o++)if((A||o in n)&&n[o]===t)return A||o||0;return!A&&-1}},IA={includes:aA(!0),indexOf:aA(!1)},CA={},sA=IA.indexOf,cA=function(A,e){var t,i=h(A),r=0,n=[];for(t in i)!y(CA,t)&&y(i,t)&&n.push(t);for(;e.length>r;)y(i,t=e[r++])&&(~sA(n,t)||n.push(t));return n},lA=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],BA=Object.keys||function(A){return cA(A,lA)},QA={f:Object.getOwnPropertySymbols},uA=function(A){return Object(E(A))},EA=Object.assign,hA=Object.defineProperty,fA=!EA||o((function(){if(a&&1!==EA({b:1},EA(hA({},"a",{enumerable:!0,get:function(){hA(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var A={},e={},t=Symbol();return A[t]=7,"abcdefghijklmnopqrst".split("").forEach((function(A){e[A]=A})),7!=EA({},A)[t]||"abcdefghijklmnopqrst"!=BA(EA({},e)).join("")}))?function(A,e){for(var t=uA(A),i=arguments.length,r=1,n=QA.f,g=s.f;i>r;)for(var o,I=u(arguments[r++]),C=n?BA(I).concat(n(I)):BA(I),c=C.length,l=0;c>l;)o=C[l++],a&&!g.call(I,o)||(t[o]=I[o]);return t}:EA;q({target:"Object",stat:!0,forced:Object.assign!==fA},{assign:fA});var dA=Y.Object.assign;function pA(A,e,t,i){A.beginPath(),A.arc(e,t,i,0,2*Math.PI,!1),A.closePath()}function yA(A,e,t,i,r,n){var g=Math.PI/180;i-2*n<0&&(n=i/2),r-2*n<0&&(n=r/2),A.beginPath(),A.moveTo(e+n,t),A.lineTo(e+i-n,t),A.arc(e+i-n,t+n,n,270*g,360*g,!1),A.lineTo(e+i,t+r-n),A.arc(e+i-n,t+r-n,n,0,90*g,!1),A.lineTo(e+n,t+r),A.arc(e+n,t+r-n,n,90*g,180*g,!1),A.lineTo(e,t+n),A.arc(e+n,t+n,n,180*g,270*g,!1),A.closePath()}function wA(A,e,t,i,r){var n=i/2*.5522848,g=r/2*.5522848,o=e+i,a=t+r,I=e+i/2,C=t+r/2;A.beginPath(),A.moveTo(e,C),A.bezierCurveTo(e,C-g,I-n,t,I,t),A.bezierCurveTo(I+n,t,o,C-g,o,C),A.bezierCurveTo(o,C+g,I+n,a,I,a),A.bezierCurveTo(I-n,a,e,C+g,e,C),A.closePath()}function DA(A,e,t,i,r){var n=r*(1/3),g=i/2*.5522848,o=n/2*.5522848,a=e+i,I=t+n,C=e+i/2,s=t+n/2,c=t+(r-n/2),l=t+r;A.beginPath(),A.moveTo(a,s),A.bezierCurveTo(a,s+o,C+g,I,C,I),A.bezierCurveTo(C-g,I,e,s+o,e,s),A.bezierCurveTo(e,s-o,C-g,t,C,t),A.bezierCurveTo(C+g,t,a,s-o,a,s),A.lineTo(a,c),A.bezierCurveTo(a,c+o,C+g,l,C,l),A.bezierCurveTo(C-g,l,e,c+o,e,c),A.lineTo(e,s)}function vA(A,e,t,i,r,n){A.beginPath(),A.moveTo(e,t);for(var g=n.length,o=i-e,a=r-t,I=a/o,C=Math.sqrt(o*o+a*a),s=0,c=!0,l=0,B=+n[0];C>=.1;)(B=+n[s++%g])>C&&(B=C),l=Math.sqrt(B*B/(1+I*I)),e+=l=o<0?-l:l,t+=I*l,!0===c?A.lineTo(e,t):A.moveTo(e,t),C-=B,c=!c}var mA={circle:pA,dashedLine:vA,database:DA,diamond:function(A,e,t,i){A.beginPath(),A.lineTo(e,t+i),A.lineTo(e+i,t),A.lineTo(e,t-i),A.lineTo(e-i,t),A.closePath()},ellipse:wA,ellipse_vis:wA,hexagon:function(A,e,t,i){A.beginPath();var r=2*Math.PI/6;A.moveTo(e+i,t);for(var n=1;n<6;n++)A.lineTo(e+i*Math.cos(r*n),t+i*Math.sin(r*n));A.closePath()},roundRect:yA,square:function(A,e,t,i){A.beginPath(),A.rect(e-i,t-i,2*i,2*i),A.closePath()},star:function(A,e,t,i){A.beginPath(),t+=.1*(i*=.82);for(var r=0;r<10;r++){var n=r%2==0?1.3*i:.5*i;A.lineTo(e+n*Math.sin(2*r*Math.PI/10),t-n*Math.cos(2*r*Math.PI/10))}A.closePath()},triangle:function(A,e,t,i){A.beginPath(),t+=.275*(i*=1.15);var r=2*i,n=r/2,g=Math.sqrt(3)/6*r,o=Math.sqrt(r*r-n*n);A.moveTo(e,t-(o-g)),A.lineTo(e+n,t+g),A.lineTo(e-n,t+g),A.lineTo(e,t-(o-g)),A.closePath()},triangleDown:function(A,e,t,i){A.beginPath(),t-=.275*(i*=1.15);var r=2*i,n=r/2,g=Math.sqrt(3)/6*r,o=Math.sqrt(r*r-n*n);A.moveTo(e,t+(o-g)),A.lineTo(e+n,t-g),A.lineTo(e-n,t-g),A.lineTo(e,t+(o-g)),A.closePath()}};var bA=r((function(A){function e(A){if(A)return function(A){for(var t in e.prototype)A[t]=e.prototype[t];return A}(A)}A.exports=e,e.prototype.on=e.prototype.addEventListener=function(A,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+A]=this._callbacks["$"+A]||[]).push(e),this},e.prototype.once=function(A,e){function t(){this.off(A,t),e.apply(this,arguments)}return t.fn=e,this.on(A,t),this},e.prototype.off=e.prototype.removeListener=e.prototype.removeAllListeners=e.prototype.removeEventListener=function(A,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var t,i=this._callbacks["$"+A];if(!i)return this;if(1==arguments.length)return delete this._callbacks["$"+A],this;for(var r=0;r<i.length;r++)if((t=i[r])===e||t.fn===e){i.splice(r,1);break}return 0===i.length&&delete this._callbacks["$"+A],this},e.prototype.emit=function(A){this._callbacks=this._callbacks||{};for(var e=new Array(arguments.length-1),t=this._callbacks["$"+A],i=1;i<arguments.length;i++)e[i-1]=arguments[i];if(t){i=0;for(var r=(t=t.slice(0)).length;i<r;++i)t[i].apply(this,e)}return this},e.prototype.listeners=function(A){return this._callbacks=this._callbacks||{},this._callbacks["$"+A]||[]},e.prototype.hasListeners=function(A){return!!this.listeners(A).length}}));q({target:"Object",stat:!0,forced:!a,sham:!a},{defineProperty:J.f});var kA=r((function(A){var e=Y.Object,t=A.exports=function(A,t,i){return e.defineProperty(A,t,i)};e.defineProperty.sham&&(t.sham=!0)})),NA=kA,MA=a?Object.defineProperties:function(A,e){L(A);for(var t,i=BA(e),r=i.length,n=0;r>n;)J.f(A,t=i[n++],e[t]);return A};q({target:"Object",stat:!0,forced:!a,sham:!a},{defineProperties:MA});var RA=r((function(A){var e=Y.Object,t=A.exports=function(A,t){return e.defineProperties(A,t)};e.defineProperties.sham&&(t.sham=!0)})),GA=function(A){return"function"==typeof A?A:void 0},FA=function(A,e){return arguments.length<2?GA(Y[A])||GA(g[A]):Y[A]&&Y[A][e]||g[A]&&g[A][e]},xA=lA.concat("length","prototype"),SA={f:Object.getOwnPropertyNames||function(A){return cA(A,xA)}},YA=FA("Reflect","ownKeys")||function(A){var e=SA.f(L(A)),t=QA.f;return t?e.concat(t(A)):e},_A=function(A,e,t){var i=d(e);i in A?J.f(A,i,c(0,t)):A[i]=t};q({target:"Object",stat:!0,sham:!a},{getOwnPropertyDescriptors:function(A){for(var e,t,i=h(A),r=k.f,n=YA(i),g={},o=0;n.length>o;)void 0!==(t=r(i,e=n[o++]))&&_A(g,e,t);return g}});var UA=Y.Object.getOwnPropertyDescriptors,LA=k.f,KA=o((function(){LA(1)}));q({target:"Object",stat:!0,forced:!a||KA,sham:!a},{getOwnPropertyDescriptor:function(A,e){return LA(h(A),e)}});var JA,TA=r((function(A){var e=Y.Object,t=A.exports=function(A,t){return e.getOwnPropertyDescriptor(A,t)};e.getOwnPropertyDescriptor.sham&&(t.sham=!0)})),HA=TA,OA=!!Object.getOwnPropertySymbols&&!o((function(){return!String(Symbol())})),qA=OA&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,jA=Array.isArray||function(A){return"Array"==B(A)},PA=FA("document","documentElement"),VA=g["__core-js_shared__"]||function(A,e){try{T(g,A,e)}catch(t){g[A]=e}return e}("__core-js_shared__",{}),zA=r((function(A){(A.exports=function(A,e){return VA[A]||(VA[A]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.4",mode:"pure",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),ZA=0,XA=Math.random(),WA=function(A){return"Symbol("+String(void 0===A?"":A)+")_"+(++ZA+XA).toString(36)},$A=zA("keys"),Ae=function(A){return $A[A]||($A[A]=WA(A))},ee=Ae("IE_PROTO"),te=function(){},ie=function(A){return"<script>"+A+"<\/script>"},re=function(){try{JA=document.domain&&new ActiveXObject("htmlfile")}catch(A){}var A,e;re=JA?function(A){A.write(ie("")),A.close();var e=A.parentWindow.Object;return A=null,e}(JA):((e=v("iframe")).style.display="none",PA.appendChild(e),e.src=String("javascript:"),(A=e.contentWindow.document).open(),A.write(ie("document.F=Object")),A.close(),A.F);for(var t=lA.length;t--;)delete re.prototype[lA[t]];return re()};CA[ee]=!0;var ne=Object.create||function(A,e){var t;return null!==A?(te.prototype=L(A),t=new te,te.prototype=null,t[ee]=A):t=re(),void 0===e?t:MA(t,e)},ge=SA.f,oe={}.toString,ae="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Ie={f:function(A){return ae&&"[object Window]"==oe.call(A)?function(A){try{return ge(A)}catch(A){return ae.slice()}}(A):ge(h(A))}},Ce=function(A,e,t,i){i&&i.enumerable?A[e]=t:T(A,e,t)},se=zA("wks"),ce=g.Symbol,le=qA?ce:ce&&ce.withoutSetter||WA,Be=function(A){return y(se,A)||(OA&&y(ce,A)?se[A]=ce[A]:se[A]=le("Symbol."+A)),se[A]},Qe={f:Be},ue=J.f,Ee=function(A){var e=Y.Symbol||(Y.Symbol={});y(e,A)||ue(e,A,{value:Qe.f(A)})},he={};he[Be("toStringTag")]="z";var fe="[object z]"===String(he),de=Be("toStringTag"),pe="Arguments"==B(function(){return arguments}()),ye=fe?B:function(A){var e,t,i;return void 0===A?"Undefined":null===A?"Null":"string"==typeof(t=function(A,e){try{return A[e]}catch(A){}}(e=Object(A),de))?t:pe?B(e):"Object"==(i=B(e))&&"function"==typeof e.callee?"Arguments":i},we=fe?{}.toString:function(){return"[object "+ye(this)+"]"},De=J.f,ve=Be("toStringTag"),me=function(A,e,t,i){if(A){var r=t?A:A.prototype;y(r,ve)||De(r,ve,{configurable:!0,value:e}),i&&!fe&&T(r,"toString",we)}},be=Function.toString;"function"!=typeof VA.inspectSource&&(VA.inspectSource=function(A){return be.call(A)});var ke,Ne,Me,Re=VA.inspectSource,Ge=g.WeakMap,Fe="function"==typeof Ge&&/native code/.test(Re(Ge)),xe=g.WeakMap;if(Fe){var Se=new xe,Ye=Se.get,_e=Se.has,Ue=Se.set;ke=function(A,e){return Ue.call(Se,A,e),e},Ne=function(A){return Ye.call(Se,A)||{}},Me=function(A){return _e.call(Se,A)}}else{var Le=Ae("state");CA[Le]=!0,ke=function(A,e){return T(A,Le,e),e},Ne=function(A){return y(A,Le)?A[Le]:{}},Me=function(A){return y(A,Le)}}var Ke={set:ke,get:Ne,has:Me,enforce:function(A){return Me(A)?Ne(A):ke(A,{})},getterFor:function(A){return function(e){var t;if(!f(e)||(t=Ne(e)).type!==A)throw TypeError("Incompatible receiver, "+A+" required");return t}}},Je=Be("species"),Te=function(A,e){var t;return jA(A)&&("function"!=typeof(t=A.constructor)||t!==Array&&!jA(t.prototype)?f(t)&&null===(t=t[Je])&&(t=void 0):t=void 0),new(void 0===t?Array:t)(0===e?0:e)},He=[].push,Oe=function(A){var e=1==A,t=2==A,i=3==A,r=4==A,n=6==A,g=5==A||n;return function(o,a,I,C){for(var s,c,l=uA(o),B=u(l),Q=U(a,I,3),E=rA(B.length),h=0,f=C||Te,d=e?f(o,E):t?f(o,0):void 0;E>h;h++)if((g||h in B)&&(c=Q(s=B[h],h,l),A))if(e)d[h]=c;else if(c)switch(A){case 3:return!0;case 5:return s;case 6:return h;case 2:He.call(d,s)}else if(r)return!1;return n?-1:i||r?r:d}},qe={forEach:Oe(0),map:Oe(1),filter:Oe(2),some:Oe(3),every:Oe(4),find:Oe(5),findIndex:Oe(6)},je=qe.forEach,Pe=Ae("hidden"),Ve=Be("toPrimitive"),ze=Ke.set,Ze=Ke.getterFor("Symbol"),Xe=Object.prototype,We=g.Symbol,$e=FA("JSON","stringify"),At=k.f,et=J.f,tt=Ie.f,it=s.f,rt=zA("symbols"),nt=zA("op-symbols"),gt=zA("string-to-symbol-registry"),ot=zA("symbol-to-string-registry"),at=zA("wks"),It=g.QObject,Ct=!It||!It.prototype||!It.prototype.findChild,st=a&&o((function(){return 7!=ne(et({},"a",{get:function(){return et(this,"a",{value:7}).a}})).a}))?function(A,e,t){var i=At(Xe,e);i&&delete Xe[e],et(A,e,t),i&&A!==Xe&&et(Xe,e,i)}:et,ct=function(A,e){var t=rt[A]=ne(We.prototype);return ze(t,{type:"Symbol",tag:A,description:e}),a||(t.description=e),t},lt=qA?function(A){return"symbol"==typeof A}:function(A){return Object(A)instanceof We},Bt=function(A,e,t){A===Xe&&Bt(nt,e,t),L(A);var i=d(e,!0);return L(t),y(rt,i)?(t.enumerable?(y(A,Pe)&&A[Pe][i]&&(A[Pe][i]=!1),t=ne(t,{enumerable:c(0,!1)})):(y(A,Pe)||et(A,Pe,c(1,{})),A[Pe][i]=!0),st(A,i,t)):et(A,i,t)},Qt=function(A,e){L(A);var t=h(e),i=BA(t).concat(ft(t));return je(i,(function(e){a&&!ut.call(t,e)||Bt(A,e,t[e])})),A},ut=function(A){var e=d(A,!0),t=it.call(this,e);return!(this===Xe&&y(rt,e)&&!y(nt,e))&&(!(t||!y(this,e)||!y(rt,e)||y(this,Pe)&&this[Pe][e])||t)},Et=function(A,e){var t=h(A),i=d(e,!0);if(t!==Xe||!y(rt,i)||y(nt,i)){var r=At(t,i);return!r||!y(rt,i)||y(t,Pe)&&t[Pe][i]||(r.enumerable=!0),r}},ht=function(A){var e=tt(h(A)),t=[];return je(e,(function(A){y(rt,A)||y(CA,A)||t.push(A)})),t},ft=function(A){var e=A===Xe,t=tt(e?nt:h(A)),i=[];return je(t,(function(A){!y(rt,A)||e&&!y(Xe,A)||i.push(rt[A])})),i};if(OA||(Ce((We=function(){if(this instanceof We)throw TypeError("Symbol is not a constructor");var A=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=WA(A),t=function(A){this===Xe&&t.call(nt,A),y(this,Pe)&&y(this[Pe],e)&&(this[Pe][e]=!1),st(this,e,c(1,A))};return a&&Ct&&st(Xe,e,{configurable:!0,set:t}),ct(e,A)}).prototype,"toString",(function(){return Ze(this).tag})),Ce(We,"withoutSetter",(function(A){return ct(WA(A),A)})),s.f=ut,J.f=Bt,k.f=Et,SA.f=Ie.f=ht,QA.f=ft,Qe.f=function(A){return ct(Be(A),A)},a&&et(We.prototype,"description",{configurable:!0,get:function(){return Ze(this).description}})),q({global:!0,wrap:!0,forced:!OA,sham:!OA},{Symbol:We}),je(BA(at),(function(A){Ee(A)})),q({target:"Symbol",stat:!0,forced:!OA},{for:function(A){var e=String(A);if(y(gt,e))return gt[e];var t=We(e);return gt[e]=t,ot[t]=e,t},keyFor:function(A){if(!lt(A))throw TypeError(A+" is not a symbol");if(y(ot,A))return ot[A]},useSetter:function(){Ct=!0},useSimple:function(){Ct=!1}}),q({target:"Object",stat:!0,forced:!OA,sham:!a},{create:function(A,e){return void 0===e?ne(A):Qt(ne(A),e)},defineProperty:Bt,defineProperties:Qt,getOwnPropertyDescriptor:Et}),q({target:"Object",stat:!0,forced:!OA},{getOwnPropertyNames:ht,getOwnPropertySymbols:ft}),q({target:"Object",stat:!0,forced:o((function(){QA.f(1)}))},{getOwnPropertySymbols:function(A){return QA.f(uA(A))}}),$e){var dt=!OA||o((function(){var A=We();return"[null]"!=$e([A])||"{}"!=$e({a:A})||"{}"!=$e(Object(A))}));q({target:"JSON",stat:!0,forced:dt},{stringify:function(A,e,t){for(var i,r=[A],n=1;arguments.length>n;)r.push(arguments[n++]);if(i=e,(f(e)||void 0!==A)&&!lt(A))return jA(e)||(e=function(A,e){if("function"==typeof i&&(e=i.call(this,A,e)),!lt(e))return e}),r[1]=e,$e.apply(null,r)}})}We.prototype[Ve]||T(We.prototype,Ve,We.prototype.valueOf),me(We,"Symbol"),CA[Pe]=!0;var pt,yt,wt,Dt=Y.Object.getOwnPropertySymbols,vt={},mt=!o((function(){function A(){}return A.prototype.constructor=null,Object.getPrototypeOf(new A)!==A.prototype})),bt=Ae("IE_PROTO"),kt=Object.prototype,Nt=mt?Object.getPrototypeOf:function(A){return A=uA(A),y(A,bt)?A[bt]:"function"==typeof A.constructor&&A instanceof A.constructor?A.constructor.prototype:A instanceof Object?kt:null},Mt=(Be("iterator"),!1);[].keys&&("next"in(wt=[].keys())?(yt=Nt(Nt(wt)))!==Object.prototype&&(pt=yt):Mt=!0),null==pt&&(pt={});var Rt={IteratorPrototype:pt,BUGGY_SAFARI_ITERATORS:Mt},Gt=Rt.IteratorPrototype,Ft=function(){return this},xt=Object.setPrototypeOf||("__proto__"in{}?function(){var A,e=!1,t={};try{(A=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(t,[]),e=t instanceof Array}catch(A){}return function(t,i){return L(t),function(A){if(!f(A)&&null!==A)throw TypeError("Can't set "+String(A)+" as a prototype")}(i),e?A.call(t,i):t.__proto__=i,t}}():void 0),St=Rt.IteratorPrototype,Yt=Rt.BUGGY_SAFARI_ITERATORS,_t=Be("iterator"),Ut=function(){return this},Lt=function(A,e,t,i,r,n,g){!function(A,e,t){var i=e+" Iterator";A.prototype=ne(Gt,{next:c(1,t)}),me(A,i,!1,!0),vt[i]=Ft}(t,e,i);var o,a,I,C=function(A){if(A===r&&u)return u;if(!Yt&&A in B)return B[A];switch(A){case"keys":case"values":case"entries":return function(){return new t(this,A)}}return function(){return new t(this)}},s=e+" Iterator",l=!1,B=A.prototype,Q=B[_t]||B["@@iterator"]||r&&B[r],u=!Yt&&Q||C(r),E="Array"==e&&B.entries||Q;if(E&&(o=Nt(E.call(new A)),St!==Object.prototype&&o.next&&(me(o,s,!0,!0),vt[s]=Ut)),"values"==r&&Q&&"values"!==Q.name&&(l=!0,u=function(){return Q.call(this)}),g&&B[_t]!==u&&T(B,_t,u),vt[e]=u,r)if(a={values:C("values"),keys:n?u:C("keys"),entries:C("entries")},g)for(I in a)(Yt||l||!(I in B))&&Ce(B,I,a[I]);else q({target:e,proto:!0,forced:Yt||l},a);return a},Kt=Ke.set,Jt=Ke.getterFor("Array Iterator");Lt(Array,"Array",(function(A,e){Kt(this,{type:"Array Iterator",target:h(A),index:0,kind:e})}),(function(){var A=Jt(this),e=A.target,t=A.kind,i=A.index++;return!e||i>=e.length?(A.target=void 0,{value:void 0,done:!0}):"keys"==t?{value:i,done:!1}:"values"==t?{value:e[i],done:!1}:{value:[i,e[i]],done:!1}}),"values");vt.Arguments=vt.Array;var Tt=Be("toStringTag");for(var Ht in{CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}){var Ot=g[Ht],qt=Ot&&Ot.prototype;qt&&ye(qt)!==Tt&&T(qt,Tt,Ht),vt[Ht]=vt.Array}var jt=function(A){return function(e,t){var i,r,n=String(E(e)),g=tA(t),o=n.length;return g<0||g>=o?A?"":void 0:(i=n.charCodeAt(g))<55296||i>56319||g+1===o||(r=n.charCodeAt(g+1))<56320||r>57343?A?n.charAt(g):i:A?n.slice(g,g+2):r-56320+(i-55296<<10)+65536}},Pt={codeAt:jt(!1),charAt:jt(!0)}.charAt,Vt=Ke.set,zt=Ke.getterFor("String Iterator");Lt(String,"String",(function(A){Vt(this,{type:"String Iterator",string:String(A),index:0})}),(function(){var A,e=zt(this),t=e.string,i=e.index;return i>=t.length?{value:void 0,done:!0}:(A=Pt(t,i),e.index+=A.length,{value:A,done:!1})}));var Zt=Be("iterator"),Xt=function(A){if(null!=A)return A[Zt]||A["@@iterator"]||vt[ye(A)]},Wt=function(A){var e=Xt(A);if("function"!=typeof e)throw TypeError(String(A)+" is not iterable");return L(e.call(A))},$t=Xt,Ai=function(A,e,t,i){try{return i?e(L(t)[0],t[1]):e(t)}catch(e){var r=A.return;throw void 0!==r&&L(r.call(A)),e}},ei=Be("iterator"),ti=Array.prototype,ii=function(A){return void 0!==A&&(vt.Array===A||ti[ei]===A)},ri=Be("iterator"),ni=!1;try{var gi=0,oi={next:function(){return{done:!!gi++}},return:function(){ni=!0}};oi[ri]=function(){return this},Array.from(oi,(function(){throw 2}))}catch(A){}var ai=!function(A,e){if(!e&&!ni)return!1;var t=!1;try{var i={};i[ri]=function(){return{next:function(){return{done:t=!0}}}},A(i)}catch(A){}return t}((function(A){Array.from(A)}));q({target:"Array",stat:!0,forced:ai},{from:function(A){var e,t,i,r,n,g,o=uA(A),a="function"==typeof this?this:Array,I=arguments.length,C=I>1?arguments[1]:void 0,s=void 0!==C,c=Xt(o),l=0;if(s&&(C=U(C,I>2?arguments[2]:void 0,2)),null==c||a==Array&&ii(c))for(t=new a(e=rA(o.length));e>l;l++)g=s?C(o[l],l):o[l],_A(t,l,g);else for(n=(r=c.call(o)).next,t=new a;!(i=n.call(r)).done;l++)g=s?Ai(r,C,[i.value,l],!0):i.value,_A(t,l,g);return t.length=l,t}});var Ii=Y.Array.from,Ci=Ii;q({target:"Object",stat:!0,sham:!a},{create:ne});var si=Y.Object,ci=function(A,e){return si.create(A,e)},li=ci,Bi=kA;var Qi,ui=function(A,e,t){return e in A?Bi(A,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):A[e]=t,A},Ei="\t\n\v\f\r \u2028\u2029\ufeff",hi="["+Ei+"]",fi=RegExp("^"+hi+hi+"*"),di=RegExp(hi+hi+"*$"),pi=function(A){return function(e){var t=String(E(e));return 1&A&&(t=t.replace(fi,"")),2&A&&(t=t.replace(di,"")),t}},yi={start:pi(1),end:pi(2),trim:pi(3)},wi=yi.trim;q({target:"String",proto:!0,forced:(Qi="trim",o((function(){return!!Ei[Qi]()||" "!=" "[Qi]()||Ei[Qi].name!==Qi})))},{trim:function(){return wi(this)}});Z("String").trim;var Di=function(A,e){var t=[][A];return!!t&&o((function(){t.call(null,e||function(){throw 1},1)}))},vi=Object.defineProperty,mi={},bi=function(A){throw A},ki=function(A,e){if(y(mi,A))return mi[A];e||(e={});var t=[][A],i=!!y(e,"ACCESSORS")&&e.ACCESSORS,r=y(e,0)?e[0]:bi,n=y(e,1)?e[1]:void 0;return mi[A]=!!t&&!o((function(){if(i&&!a)return!0;var A={length:-1};i?vi(A,1,{enumerable:!0,get:bi}):A[1]=1,t.call(A,r,n)}))},Ni=qe.forEach,Mi=Di("forEach"),Ri=ki("forEach"),Gi=Mi&&Ri?[].forEach:function(A){return Ni(this,A,arguments.length>1?arguments[1]:void 0)};q({target:"Array",proto:!0,forced:[].forEach!=Gi},{forEach:Gi});var Fi=Z("Array").forEach,xi=Array.prototype,Si={DOMTokenList:!0,NodeList:!0},Yi=function(A){var e=A.forEach;return A===xi||A instanceof Array&&e===xi.forEach||Si.hasOwnProperty(ye(A))?Fi:e},_i=yi.trim,Ui=g.parseInt,Li=/^[+-]?0[Xx]/,Ki=8!==Ui(Ei+"08")||22!==Ui(Ei+"0x16")?function(A,e){var t=_i(String(A));return Ui(t,e>>>0||(Li.test(t)?16:10))}:Ui;q({global:!0,forced:parseInt!=Ki},{parseInt:Ki});var Ji=Y.parseInt,Ti=s.f,Hi=function(A){return function(e){for(var t,i=h(e),r=BA(i),n=r.length,g=0,o=[];n>g;)t=r[g++],a&&!Ti.call(i,t)||o.push(A?[t,i[t]]:i[t]);return o}},Oi={entries:Hi(!0),values:Hi(!1)}.values;q({target:"Object",stat:!0},{values:function(A){return Oi(A)}});Y.Object.values;var qi,ji,Pi=FA("navigator","userAgent")||"",Vi=g.process,zi=Vi&&Vi.versions,Zi=zi&&zi.v8;Zi?ji=(qi=Zi.split("."))[0]+qi[1]:Pi&&(!(qi=Pi.match(/Edge\/(\d+)/))||qi[1]>=74)&&(qi=Pi.match(/Chrome\/(\d+)/))&&(ji=qi[1]);var Xi=ji&&+ji,Wi=Be("species"),$i=function(A){return Xi>=51||!o((function(){var e=[];return(e.constructor={})[Wi]=function(){return{foo:1}},1!==e[A](Boolean).foo}))},Ar=qe.filter,er=$i("filter"),tr=ki("filter");q({target:"Array",proto:!0,forced:!er||!tr},{filter:function(A){return Ar(this,A,arguments.length>1?arguments[1]:void 0)}});var ir=Z("Array").filter,rr=Array.prototype,nr=function(A){var e=A.filter;return A===rr||A instanceof Array&&e===rr.filter?ir:e},gr=o((function(){Nt(1)}));q({target:"Object",stat:!0,forced:gr,sham:!mt},{getPrototypeOf:function(A){return Nt(uA(A))}});var or=Y.Object.getPrototypeOf,ar=or,Ir=IA.indexOf,Cr=[].indexOf,sr=!!Cr&&1/[1].indexOf(1,-0)<0,cr=Di("indexOf"),lr=ki("indexOf",{ACCESSORS:!0,1:0});q({target:"Array",proto:!0,forced:sr||!cr||!lr},{indexOf:function(A){return sr?Cr.apply(this,arguments)||0:Ir(this,A,arguments.length>1?arguments[1]:void 0)}});var Br=Z("Array").indexOf,Qr=Array.prototype,ur=function(A){var e=A.indexOf;return A===Qr||A instanceof Array&&e===Qr.indexOf?Br:e};q({target:"Array",stat:!0},{isArray:jA});var Er=Y.Array.isArray,hr=Er;var fr=function(A){if(hr(A))return A},dr=Be("iterator"),pr=function(A){var e=Object(A);return void 0!==e[dr]||"@@iterator"in e||vt.hasOwnProperty(ye(e))},yr=Be("isConcatSpreadable"),wr=Xi>=51||!o((function(){var A=[];return A[yr]=!1,A.concat()[0]!==A})),Dr=$i("concat"),vr=function(A){if(!f(A))return!1;var e=A[yr];return void 0!==e?!!e:jA(A)};q({target:"Array",proto:!0,forced:!wr||!Dr},{concat:function(A){var e,t,i,r,n,g=uA(this),o=Te(g,0),a=0;for(e=-1,i=arguments.length;e<i;e++)if(vr(n=-1===e?g:arguments[e])){if(a+(r=rA(n.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(t=0;t<r;t++,a++)t in n&&_A(o,a,n[t])}else{if(a>=9007199254740991)throw TypeError("Maximum allowed index exceeded");_A(o,a++,n)}return o.length=a,o}}),Ee("asyncIterator"),Ee("hasInstance"),Ee("isConcatSpreadable"),Ee("iterator"),Ee("match"),Ee("matchAll"),Ee("replace"),Ee("search"),Ee("species"),Ee("split"),Ee("toPrimitive"),Ee("toStringTag"),Ee("unscopables"),me(Math,"Math",!0),me(g.JSON,"JSON",!0);var mr=Y.Symbol;Ee("asyncDispose"),Ee("dispose"),Ee("observable"),Ee("patternMatch"),Ee("replaceAll");var br=mr;var kr=function(A,e){if(void 0!==br&&pr(Object(A))){var t=[],i=!0,r=!1,n=void 0;try{for(var g,o=Wt(A);!(i=(g=o.next()).done)&&(t.push(g.value),!e||t.length!==e);i=!0);}catch(A){r=!0,n=A}finally{try{i||null==o.return||o.return()}finally{if(r)throw n}}return t}},Nr=Ii,Mr=$i("slice"),Rr=ki("slice",{ACCESSORS:!0,0:0,1:2}),Gr=Be("species"),Fr=[].slice,xr=Math.max;q({target:"Array",proto:!0,forced:!Mr||!Rr},{slice:function(A,e){var t,i,r,n=h(this),g=rA(n.length),o=oA(A,g),a=oA(void 0===e?g:e,g);if(jA(n)&&("function"!=typeof(t=n.constructor)||t!==Array&&!jA(t.prototype)?f(t)&&null===(t=t[Gr])&&(t=void 0):t=void 0,t===Array||void 0===t))return Fr.call(n,o,a);for(i=new(void 0===t?Array:t)(xr(a-o,0)),r=0;o<a;o++,r++)o in n&&_A(i,r,n[o]);return i.length=r,i}});var Sr=Z("Array").slice,Yr=Array.prototype,_r=function(A){var e=A.slice;return A===Yr||A instanceof Array&&e===Yr.slice?Sr:e},Ur=_r;var Lr=function(A,e){(null==e||e>A.length)&&(e=A.length);for(var t=0,i=new Array(e);t<e;t++)i[t]=A[t];return i};var Kr=function(A,e){var t;if(A){if("string"==typeof A)return Lr(A,e);var i=Ur(t=Object.prototype.toString.call(A)).call(t,8,-1);return"Object"===i&&A.constructor&&(i=A.constructor.name),"Map"===i||"Set"===i?Nr(A):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Lr(A,e):void 0}};var Jr=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")};var Tr=function(A,e){return fr(A)||kr(A,e)||Kr(A,e)||Jr()};q({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}});var Hr=Y.Date.now,Or=o((function(){BA(1)}));q({target:"Object",stat:!0,forced:Or},{keys:function(A){return BA(uA(A))}});var qr=Y.Object.keys,jr=qe.map,Pr=$i("map"),Vr=ki("map");q({target:"Array",proto:!0,forced:!Pr||!Vr},{map:function(A){return jr(this,A,arguments.length>1?arguments[1]:void 0)}});var zr=Z("Array").map,Zr=Array.prototype,Xr=function(A){var e=A.map;return A===Zr||A instanceof Array&&e===Zr.map?zr:e},Wr=Er,$r=Qe.f("iterator"),An=$r,en=r((function(A){function e(t){return A.exports=e="function"==typeof br&&"symbol"==typeof An?function(A){return typeof A}:function(A){return A&&"function"==typeof br&&A.constructor===br&&A!==br.prototype?"symbol":typeof A},e(t)}A.exports=e}));q({target:"Reflect",stat:!0},{ownKeys:YA});var tn=Y.Reflect.ownKeys,rn=_r;var nn=function(A){if(hr(A))return Lr(A)};var gn=function(A){if(void 0!==br&&pr(Object(A)))return Nr(A)};var on=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")};var an=function(A){return nn(A)||gn(A)||Kr(A)||on()},In=Z("Array").concat,Cn=Array.prototype,sn=function(A){var e=A.concat;return A===Cn||A instanceof Array&&e===Cn.concat?In:e},cn=mr;function ln(A,e){var t;if(void 0===cn||null==$t(A)){if(Wr(A)||(t=function(A,e){var t;if(!A)return;if("string"==typeof A)return Bn(A,e);var i=rn(t=Object.prototype.toString.call(A)).call(t,8,-1);"Object"===i&&A.constructor&&(i=A.constructor.name);if("Map"===i||"Set"===i)return Ci(A);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return Bn(A,e)}(A))||e&&A&&"number"==typeof A.length){t&&(A=t);var i=0,r=function(){};return{s:r,n:function(){return i>=A.length?{done:!0}:{done:!1,value:A[i++]}},e:function(A){throw A},f:r}}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 n,g=!0,o=!1;return{s:function(){t=Wt(A)},n:function(){var A=t.next();return g=A.done,A},e:function(A){o=!0,n=A},f:function(){try{g||null==t.return||t.return()}finally{if(o)throw n}}}}function Bn(A,e){(null==e||e>A.length)&&(e=A.length);for(var t=0,i=new Array(e);t<e;t++)i[t]=A[t];return i} | |
/** | |
* vis-util | |
* https://github.com/visjs/vis-util | |
* | |
* utilitie collection for visjs | |
* | |
* @version 4.3.4 | |
* @date 2020-08-01T15:11:53.524Z | |
* | |
* @copyright (c) 2011-2017 Almende B.V, http://almende.com | |
* @copyright (c) 2017-2019 visjs contributors, https://github.com/visjs | |
* | |
* @license | |
* vis.js is dual licensed under both | |
* | |
* 1. The Apache 2.0 License | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* and | |
* | |
* 2. The MIT License | |
* http://opensource.org/licenses/MIT | |
* | |
* vis.js may be distributed under either license. | |
*/var Qn=cn("DELETE");function un(){var A=En.apply(void 0,arguments);return fn(A),A}function En(){for(var A=arguments.length,e=new Array(A),t=0;t<A;t++)e[t]=arguments[t];if(e.length<2)return e[0];var i;if(e.length>2)return En.apply(void 0,sn(i=[un(e[0],e[1])]).call(i,an(rn(e).call(e,2))));var r,n=e[0],g=e[1],o=ln(tn(g));try{for(o.s();!(r=o.n()).done;){var a=r.value;Object.prototype.propertyIsEnumerable.call(g,a)&&(g[a]===Qn?delete n[a]:null===n[a]||null===g[a]||"object"!==en(n[a])||"object"!==en(g[a])||Wr(n[a])||Wr(g[a])?n[a]=hn(g[a]):n[a]=En(n[a],g[a]))}}catch(A){o.e(A)}finally{o.f()}return n}function hn(A){return Wr(A)?Xr(A).call(A,(function(A){return hn(A)})):"object"===en(A)&&null!==A?En({},A):A}function fn(A){for(var e=0,t=qr(A);e<t.length;e++){var i=t[e];A[i]===Qn?delete A[i]:"object"===en(A[i])&&null!==A[i]&&fn(A[i])}}function dn(){for(var A=arguments.length,e=new Array(A),t=0;t<A;t++)e[t]=arguments[t];return pn(e.length?e:[Hr()])}function pn(A){var e=function(){for(var A=yn(),e=A(" "),t=A(" "),i=A(" "),r=0;r<arguments.length;r++)(e-=A(r<0||arguments.length<=r?void 0:arguments[r]))<0&&(e+=1),(t-=A(r<0||arguments.length<=r?void 0:arguments[r]))<0&&(t+=1),(i-=A(r<0||arguments.length<=r?void 0:arguments[r]))<0&&(i+=1);return[e,t,i]}(A),t=Tr(e,3),i=t[0],r=t[1],n=t[2],g=1,o=function(){var A=2091639*i+2.3283064365386963e-10*g;return i=r,r=n,n=A-(g=0|A)};return o.uint32=function(){return 4294967296*o()},o.fract53=function(){return o()+11102230246251565e-32*(2097152*o()|0)},o.algorithm="Alea",o.seed=A,o.version="0.9",o}function yn(){var A=4022871197;return function(e){for(var t=e.toString(),i=0;i<t.length;i++){var r=.02519603282416938*(A+=t.charCodeAt(i));r-=A=r>>>0,A=(r*=A)>>>0,A+=4294967296*(r-=A)}return 2.3283064365386963e-10*(A>>>0)}}var wn=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,Dn=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,vn=/^rgb\( *(1?\d{1,2}|2[0-4]\d|25[0-5]) *, *(1?\d{1,2}|2[0-4]\d|25[0-5]) *, *(1?\d{1,2}|2[0-4]\d|25[0-5]) *\)$/i,mn=/^rgba\( *(1?\d{1,2}|2[0-4]\d|25[0-5]) *, *(1?\d{1,2}|2[0-4]\d|25[0-5]) *, *(1?\d{1,2}|2[0-4]\d|25[0-5]) *, *([01]|0?\.\d+) *\)$/i;function bn(A){if(A)for(;!0===A.hasChildNodes();){var e=A.firstChild;e&&(bn(e),A.removeChild(e))}}function kn(A){return A instanceof String||"string"==typeof A}function Nn(A){return"object"===en(A)&&null!==A}function Mn(A,e,t,i){var r=!1;!0===i&&(r=null===e[t]&&void 0!==A[t]),r?delete A[t]:A[t]=e[t]}function Rn(A,e){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];for(var i in A)if(void 0!==e[i])if(null===e[i]||"object"!==en(e[i]))Mn(A,e,i,t);else{var r=A[i],n=e[i];Nn(r)&&Nn(n)&&Rn(r,n,t)}}function Gn(A,e,t){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(Wr(t))throw new TypeError("Arrays are not supported by deepExtend");for(var r=0;r<A.length;r++){var n=A[r];if(Object.prototype.hasOwnProperty.call(t,n))if(t[n]&&t[n].constructor===Object)void 0===e[n]&&(e[n]={}),e[n].constructor===Object?xn(e[n],t[n],!1,i):Mn(e,t,n,i);else{if(Wr(t[n]))throw new TypeError("Arrays are not supported by deepExtend");Mn(e,t,n,i)}}return e}function Fn(A,e,t){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(Wr(t))throw new TypeError("Arrays are not supported by deepExtend");for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)&&-1===ur(A).call(A,r))if(t[r]&&t[r].constructor===Object)void 0===e[r]&&(e[r]={}),e[r].constructor===Object?xn(e[r],t[r]):Mn(e,t,r,i);else if(Wr(t[r])){e[r]=[];for(var n=0;n<t[r].length;n++)e[r].push(t[r][n])}else Mn(e,t,r,i);return e}function xn(A,e){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)||!0===t)if("object"===en(e[r])&&null!==e[r]&&ar(e[r])===Object.prototype)void 0===A[r]?A[r]=xn({},e[r],t):"object"===en(A[r])&&null!==A[r]&&ar(A[r])===Object.prototype?xn(A[r],e[r],t):Mn(A,e,r,i);else if(Wr(e[r])){var n;A[r]=rn(n=e[r]).call(n)}else Mn(A,e,r,i);return A}function Sn(A,e){var t;return sn(t=[]).call(t,an(A),[e])}function Yn(A){return rn(A).call(A)}function _n(A){return A.getBoundingClientRect().top}function Un(A,e){if(Wr(A))for(var t=A.length,i=0;i<t;i++)e(A[i],i,A);else for(var r in A)Object.prototype.hasOwnProperty.call(A,r)&&e(A[r],r,A)}function Ln(A){var e;switch(A.length){case 3:case 4:return(e=Dn.exec(A))?{r:Ji(e[1]+e[1],16),g:Ji(e[2]+e[2],16),b:Ji(e[3]+e[3],16)}:null;case 6:case 7:return(e=wn.exec(A))?{r:Ji(e[1],16),g:Ji(e[2],16),b:Ji(e[3],16)}:null;default:return null}}function Kn(A,e){if(-1!==ur(A).call(A,"rgba"))return A;if(-1!==ur(A).call(A,"rgb")){var t=A.substr(ur(A).call(A,"(")+1).replace(")","").split(",");return"rgba("+t[0]+","+t[1]+","+t[2]+","+e+")"}var i=Ln(A);return null==i?A:"rgba("+i.r+","+i.g+","+i.b+","+e+")"}function Jn(A,e,t){var i;return"#"+rn(i=((1<<24)+(A<<16)+(e<<8)+t).toString(16)).call(i,1)}function Tn(A,e){if(kn(A)){var t=A;if(Pn(t)){var i,r=Xr(i=t.substr(4).substr(0,t.length-5).split(",")).call(i,(function(A){return Ji(A)}));t=Jn(r[0],r[1],r[2])}if(!0===jn(t)){var n=function(A){var e=Ln(A);if(!e)throw new TypeError("'".concat(A,"' is not a valid color."));return Hn(e.r,e.g,e.b)}(t),g={h:n.h,s:.8*n.s,v:Math.min(1,1.02*n.v)},o={h:n.h,s:Math.min(1,1.25*n.s),v:.8*n.v},a=qn(o.h,o.s,o.v),I=qn(g.h,g.s,g.v);return{background:t,border:a,highlight:{background:I,border:a},hover:{background:I,border:a}}}return{background:t,border:t,highlight:{background:t,border:t},hover:{background:t,border:t}}}return e?{background:A.background||e.background,border:A.border||e.border,highlight:kn(A.highlight)?{border:A.highlight,background:A.highlight}:{background:A.highlight&&A.highlight.background||e.highlight.background,border:A.highlight&&A.highlight.border||e.highlight.border},hover:kn(A.hover)?{border:A.hover,background:A.hover}:{border:A.hover&&A.hover.border||e.hover.border,background:A.hover&&A.hover.background||e.hover.background}}:{background:A.background||void 0,border:A.border||void 0,highlight:kn(A.highlight)?{border:A.highlight,background:A.highlight}:{background:A.highlight&&A.highlight.background||void 0,border:A.highlight&&A.highlight.border||void 0},hover:kn(A.hover)?{border:A.hover,background:A.hover}:{border:A.hover&&A.hover.border||void 0,background:A.hover&&A.hover.background||void 0}}}function Hn(A,e,t){A/=255,e/=255,t/=255;var i=Math.min(A,Math.min(e,t)),r=Math.max(A,Math.max(e,t));return i===r?{h:0,s:0,v:i}:{h:60*((A===i?3:t===i?1:5)-(A===i?e-t:t===i?A-e:t-A)/(r-i))/360,s:(r-i)/r,v:r}}function On(A,e,t){var i,r,n,g=Math.floor(6*A),o=6*A-g,a=t*(1-e),I=t*(1-o*e),C=t*(1-(1-o)*e);switch(g%6){case 0:i=t,r=C,n=a;break;case 1:i=I,r=t,n=a;break;case 2:i=a,r=t,n=C;break;case 3:i=a,r=I,n=t;break;case 4:i=C,r=a,n=t;break;case 5:i=t,r=a,n=I}return{r:Math.floor(255*i),g:Math.floor(255*r),b:Math.floor(255*n)}}function qn(A,e,t){var i=On(A,e,t);return Jn(i.r,i.g,i.b)}function jn(A){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(A)}function Pn(A){return vn.test(A)}function Vn(A){return mn.test(A)}function zn(A){if(null===A||"object"!==en(A))return null;if(A instanceof Element)return A;var e=li(A);for(var t in A)Object.prototype.hasOwnProperty.call(A,t)&&"object"==en(A[t])&&(e[t]=zn(A[t]));return e}function Zn(A,e,t){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=function(A){return null!=A},n=function(A){return null!==A&&"object"===en(A)},g=function(A){for(var e in A)if(Object.prototype.hasOwnProperty.call(A,e))return!1;return!0};if(!n(A))throw new Error("Parameter mergeTarget must be an object");if(!n(e))throw new Error("Parameter options must be an object");if(!r(t))throw new Error("Parameter option must have a value");if(!n(i))throw new Error("Parameter globalOptions must be an object");var o=function(A,e,t){n(A[t])||(A[t]={});var i=e[t],r=A[t];for(var g in i)Object.prototype.hasOwnProperty.call(i,g)&&(r[g]=i[g])},a=e[t],I=n(i)&&!g(i),C=I?i[t]:void 0,s=C?C.enabled:void 0;if(void 0!==a){if("boolean"==typeof a)return n(A[t])||(A[t]={}),void(A[t].enabled=a);if(null===a&&!n(A[t])){if(!r(C))return;A[t]=li(C)}if(n(a)){var c=!0;void 0!==a.enabled?c=a.enabled:void 0!==s&&(c=C.enabled),o(A,e,t),A[t].enabled=c}}}var Xn={linear:function(A){return A},easeInQuad:function(A){return A*A},easeOutQuad:function(A){return A*(2-A)},easeInOutQuad:function(A){return A<.5?2*A*A:(4-2*A)*A-1},easeInCubic:function(A){return A*A*A},easeOutCubic:function(A){return--A*A*A+1},easeInOutCubic:function(A){return A<.5?4*A*A*A:(A-1)*(2*A-2)*(2*A-2)+1},easeInQuart:function(A){return A*A*A*A},easeOutQuart:function(A){return 1- --A*A*A*A},easeInOutQuart:function(A){return A<.5?8*A*A*A*A:1-8*--A*A*A*A},easeInQuint:function(A){return A*A*A*A*A},easeOutQuint:function(A){return 1+--A*A*A*A*A},easeInOutQuint:function(A){return A<.5?16*A*A*A*A*A:1+16*--A*A*A*A*A}};function Wn(A,e){var t;Wr(e)||(e=[e]);var i,r=ln(A);try{for(r.s();!(i=r.n()).done;){var n=i.value;if(n){t=n[e[0]];for(var g=1;g<e.length;g++)t&&(t=t[e[g]]);if(void 0!==t)break}}}catch(A){r.e(A)}finally{r.f()}return t}var $n=$i("splice"),Ag=ki("splice",{ACCESSORS:!0,0:0,1:2}),eg=Math.max,tg=Math.min;q({target:"Array",proto:!0,forced:!$n||!Ag},{splice:function(A,e){var t,i,r,n,g,o,a=uA(this),I=rA(a.length),C=oA(A,I),s=arguments.length;if(0===s?t=i=0:1===s?(t=0,i=I-C):(t=s-2,i=tg(eg(tA(e),0),I-C)),I+t-i>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(r=Te(a,i),n=0;n<i;n++)(g=C+n)in a&&_A(r,n,a[g]);if(r.length=i,t<i){for(n=C;n<I-i;n++)o=n+t,(g=n+i)in a?a[o]=a[g]:delete a[o];for(n=I;n>I-i+t;n--)delete a[n-1]}else if(t>i)for(n=I-i;n>C;n--)o=n+t-1,(g=n+i-1)in a?a[o]=a[g]:delete a[o];for(n=0;n<t;n++)a[n+C]=arguments[n+2];return a.length=I-i+t,r}});var ig=Z("Array").splice,rg=Array.prototype,ng=function(A){var e=A.splice;return A===rg||A instanceof Array&&e===rg.splice?ig:e},gg=IA.includes,og=ki("indexOf",{ACCESSORS:!0,1:0});q({target:"Array",proto:!0,forced:!og},{includes:function(A){return gg(this,A,arguments.length>1?arguments[1]:void 0)}});var ag=Z("Array").includes,Ig=Be("match"),Cg=function(A){if(function(A){var e;return f(A)&&(void 0!==(e=A[Ig])?!!e:"RegExp"==B(A))}(A))throw TypeError("The method doesn't accept regular expressions");return A},sg=Be("match");q({target:"String",proto:!0,forced:!function(A){var e=/./;try{"/./"[A](e)}catch(t){try{return e[sg]=!1,"/./"[A](e)}catch(A){}}return!1}("includes")},{includes:function(A){return!!~String(E(this)).indexOf(Cg(A),arguments.length>1?arguments[1]:void 0)}});var cg=Z("String").includes,lg=Array.prototype,Bg=String.prototype,Qg=function(A){var e=A.includes;return A===lg||A instanceof Array&&e===lg.includes?ag:"string"==typeof A||A===Bg||A instanceof String&&e===Bg.includes?cg:e};function ug(A){return Dg=A,function(){var A={};vg=0,void(mg=Dg.charAt(0)),Ug(),"strict"===bg&&(A.strict=!0,Ug());"graph"!==bg&&"digraph"!==bg||(A.type=bg,Ug());kg===pg&&(A.id=bg,Ug());if("{"!=bg)throw Og("Angle bracket { expected");if(Ug(),Lg(A),"}"!=bg)throw Og("Angle bracket } expected");if(Ug(),""!==bg)throw Og("End of file expected");return Ug(),delete A.node,delete A.edge,delete A.graph,A}()}var Eg={fontsize:"font.size",fontcolor:"font.color",labelfontcolor:"font.color",fontname:"font.face",color:["color.border","color.background"],fillcolor:"color.background",tooltip:"title",labeltooltip:"title"},hg=li(Eg);hg.color="color.color",hg.style="dashes";var fg=0,dg=1,pg=2,yg=3,wg={"{":!0,"}":!0,"[":!0,"]":!0,";":!0,"=":!0,",":!0,"->":!0,"--":!0},Dg="",vg=0,mg="",bg="",kg=fg;function Ng(){vg++,mg=Dg.charAt(vg)}function Mg(){return Dg.charAt(vg+1)}var Rg=/[a-zA-Z_0-9.:#]/;function Gg(A){return Rg.test(A)}function Fg(A,e){if(A||(A={}),e)for(var t in e)e.hasOwnProperty(t)&&(A[t]=e[t]);return A}function xg(A,e,t){for(var i=e.split("."),r=A;i.length;){var n=i.shift();i.length?(r[n]||(r[n]={}),r=r[n]):r[n]=t}}function Sg(A,e){for(var t,i,r=null,n=[A],g=A;g.parent;)n.push(g.parent),g=g.parent;if(g.nodes)for(t=0,i=g.nodes.length;t<i;t++)if(e.id===g.nodes[t].id){r=g.nodes[t];break}for(r||(r={id:e.id},A.node&&(r.attr=Fg(r.attr,A.node))),t=n.length-1;t>=0;t--){var o,a=n[t];a.nodes||(a.nodes=[]),-1===ur(o=a.nodes).call(o,r)&&a.nodes.push(r)}e.attr&&(r.attr=Fg(r.attr,e.attr))}function Yg(A,e){if(A.edges||(A.edges=[]),A.edges.push(e),A.edge){var t=Fg({},A.edge);e.attr=Fg(t,e.attr)}}function _g(A,e,t,i,r){var n={from:e,to:t,type:i};return A.edge&&(n.attr=Fg({},A.edge)),n.attr=Fg(n.attr||{},r),null!=r&&r.hasOwnProperty("arrows")&&null!=r.arrows&&(n.arrows={to:{enabled:!0,type:r.arrows.type}},r.arrows=null),n}function Ug(){for(kg=fg,bg="";" "===mg||"\t"===mg||"\n"===mg||"\r"===mg;)Ng();do{var A=!1;if("#"===mg){for(var e=vg-1;" "===Dg.charAt(e)||"\t"===Dg.charAt(e);)e--;if("\n"===Dg.charAt(e)||""===Dg.charAt(e)){for(;""!=mg&&"\n"!=mg;)Ng();A=!0}}if("/"===mg&&"/"===Mg()){for(;""!=mg&&"\n"!=mg;)Ng();A=!0}if("/"===mg&&"*"===Mg()){for(;""!=mg;){if("*"===mg&&"/"===Mg()){Ng(),Ng();break}Ng()}A=!0}for(;" "===mg||"\t"===mg||"\n"===mg||"\r"===mg;)Ng()}while(A);if(""!==mg){var t=mg+Mg();if(wg[t])return kg=dg,bg=t,Ng(),void Ng();if(wg[mg])return kg=dg,bg=mg,void Ng();if(Gg(mg)||"-"===mg){for(bg+=mg,Ng();Gg(mg);)bg+=mg,Ng();return"false"===bg?bg=!1:"true"===bg?bg=!0:isNaN(Number(bg))||(bg=Number(bg)),void(kg=pg)}if('"'===mg){for(Ng();""!=mg&&('"'!=mg||'"'===mg&&'"'===Mg());)'"'===mg?(bg+=mg,Ng()):"\\"===mg&&"n"===Mg()?(bg+="\n",Ng()):bg+=mg,Ng();if('"'!=mg)throw Og('End of string " expected');return Ng(),void(kg=pg)}for(kg=yg;""!=mg;)bg+=mg,Ng();throw new SyntaxError('Syntax error in part "'+qg(bg,30)+'"')}kg=dg}function Lg(A){for(;""!==bg&&"}"!=bg;)Kg(A),";"===bg&&Ug()}function Kg(A){var e=Jg(A);if(e)Tg(A,e);else if(!function(A){if("node"===bg)return Ug(),A.node=Hg(),"node";if("edge"===bg)return Ug(),A.edge=Hg(),"edge";if("graph"===bg)return Ug(),A.graph=Hg(),"graph";return null}(A)){if(kg!=pg)throw Og("Identifier expected");var t=bg;if(Ug(),"="===bg){if(Ug(),kg!=pg)throw Og("Identifier expected");A[t]=bg,Ug()}else!function(A,e){var t={id:e},i=Hg();i&&(t.attr=i);Sg(A,t),Tg(A,e)}(A,t)}}function Jg(A){var e=null;if("subgraph"===bg&&((e={}).type="subgraph",Ug(),kg===pg&&(e.id=bg,Ug())),"{"===bg){if(Ug(),e||(e={}),e.parent=A,e.node=A.node,e.edge=A.edge,e.graph=A.graph,Lg(e),"}"!=bg)throw Og("Angle bracket } expected");Ug(),delete e.node,delete e.edge,delete e.graph,delete e.parent,A.subgraphs||(A.subgraphs=[]),A.subgraphs.push(e)}return e}function Tg(A,e){for(;"->"===bg||"--"===bg;){var t,i=bg;Ug();var r=Jg(A);if(r)t=r;else{if(kg!=pg)throw Og("Identifier or subgraph expected");Sg(A,{id:t=bg}),Ug()}Yg(A,_g(A,e,t,i,Hg())),e=t}}function Hg(){for(var A,e,t=null,i={dashed:!0,solid:!1,dotted:[1,5]},r={dot:"circle",box:"box",crow:"crow",curve:"curve",icurve:"inv_curve",normal:"triangle",inv:"inv_triangle",diamond:"diamond",tee:"bar",vee:"vee"},n=new Array,g=new Array;"["===bg;){for(Ug(),t={};""!==bg&&"]"!=bg;){if(kg!=pg)throw Og("Attribute name expected");var o=bg;if(Ug(),"="!=bg)throw Og("Equal sign = expected");if(Ug(),kg!=pg)throw Og("Attribute value expected");var a=bg;"style"===o&&(a=i[a]),"arrowhead"===o&&(o="arrows",a={to:{enabled:!0,type:r[a]}}),"arrowtail"===o&&(o="arrows",a={from:{enabled:!0,type:r[a]}}),n.push({attr:t,name:o,value:a}),g.push(o),Ug(),","==bg&&Ug()}if("]"!=bg)throw Og("Bracket ] expected");Ug()}if(Qg(g).call(g,"dir")){var I={arrows:{}};for(A=0;A<n.length;A++)if("arrows"===n[A].name)if(null!=n[A].value.to)I.arrows.to=A;else{if(null==n[A].value.from)throw Og("Invalid value of arrows");I.arrows.from=A}else"dir"===n[A].name&&(I.dir=A);var C,s,c=n[I.dir].value;if(!Qg(g).call(g,"arrows"))if("both"===c)n.push({attr:n[I.dir].attr,name:"arrows",value:{to:{enabled:!0}}}),I.arrows.to=n.length-1,n.push({attr:n[I.dir].attr,name:"arrows",value:{from:{enabled:!0}}}),I.arrows.from=n.length-1;else if("forward"===c)n.push({attr:n[I.dir].attr,name:"arrows",value:{to:{enabled:!0}}}),I.arrows.to=n.length-1;else if("back"===c)n.push({attr:n[I.dir].attr,name:"arrows",value:{from:{enabled:!0}}}),I.arrows.from=n.length-1;else{if("none"!==c)throw Og('Invalid dir type "'+c+'"');n.push({attr:n[I.dir].attr,name:"arrows",value:""}),I.arrows.to=n.length-1}if("both"===c)I.arrows.to&&I.arrows.from?(s=n[I.arrows.to].value.to.type,C=n[I.arrows.from].value.from.type,n[I.arrows.to]={attr:n[I.arrows.to].attr,name:n[I.arrows.to].name,value:{to:{enabled:!0,type:s},from:{enabled:!0,type:C}}},ng(n).call(n,I.arrows.from,1)):I.arrows.to?(s=n[I.arrows.to].value.to.type,C="arrow",n[I.arrows.to]={attr:n[I.arrows.to].attr,name:n[I.arrows.to].name,value:{to:{enabled:!0,type:s},from:{enabled:!0,type:C}}}):I.arrows.from&&(s="arrow",C=n[I.arrows.from].value.from.type,n[I.arrows.from]={attr:n[I.arrows.from].attr,name:n[I.arrows.from].name,value:{to:{enabled:!0,type:s},from:{enabled:!0,type:C}}});else if("back"===c)I.arrows.to&&I.arrows.from?(s="",C=n[I.arrows.from].value.from.type,n[I.arrows.from]={attr:n[I.arrows.from].attr,name:n[I.arrows.from].name,value:{to:{enabled:!0,type:s},from:{enabled:!0,type:C}}}):I.arrows.to?(s="",C="arrow",I.arrows.from=I.arrows.to,n[I.arrows.from]={attr:n[I.arrows.from].attr,name:n[I.arrows.from].name,value:{to:{enabled:!0,type:s},from:{enabled:!0,type:C}}}):I.arrows.from&&(s="",C=n[I.arrows.from].value.from.type,n[I.arrows.to]={attr:n[I.arrows.from].attr,name:n[I.arrows.from].name,value:{to:{enabled:!0,type:s},from:{enabled:!0,type:C}}}),n[I.arrows.from]={attr:n[I.arrows.from].attr,name:n[I.arrows.from].name,value:{from:{enabled:!0,type:n[I.arrows.from].value.from.type}}};else if("none"===c){var l;n[l=I.arrows.to?I.arrows.to:I.arrows.from]={attr:n[l].attr,name:n[l].name,value:""}}else{if("forward"!==c)throw Og('Invalid dir type "'+c+'"');I.arrows.to&&I.arrows.from||I.arrows.to?(s=n[I.arrows.to].value.to.type,C="",n[I.arrows.to]={attr:n[I.arrows.to].attr,name:n[I.arrows.to].name,value:{to:{enabled:!0,type:s},from:{enabled:!0,type:C}}}):I.arrows.from&&(s="arrow",C="",I.arrows.to=I.arrows.from,n[I.arrows.to]={attr:n[I.arrows.to].attr,name:n[I.arrows.to].name,value:{to:{enabled:!0,type:s},from:{enabled:!0,type:C}}}),n[I.arrows.to]={attr:n[I.arrows.to].attr,name:n[I.arrows.to].name,value:{to:{enabled:!0,type:n[I.arrows.to].value.to.type}}}}ng(n).call(n,I.dir,1)}if(Qg(g).call(g,"penwidth")){var B=[];for(e=n.length,A=0;A<e;A++)"width"!==n[A].name&&("penwidth"===n[A].name&&(n[A].name="width"),B.push(n[A]));n=B}for(e=n.length,A=0;A<e;A++)xg(n[A].attr,n[A].name,n[A].value);return t}function Og(A){return new SyntaxError(A+', got "'+qg(bg,30)+'" (char '+vg+")")}function qg(A,e){return A.length<=e?A:A.substr(0,27)+"..."}function jg(A,e,t){for(var i=e.split("."),r=i.pop(),n=A,g=0;g<i.length;g++){var o=i[g];o in n||(n[o]={}),n=n[o]}return n[r]=t,A}function Pg(A,e){var t={};for(var i in A)if(A.hasOwnProperty(i)){var r=e[i];Wr(r)?Yi(r).call(r,(function(e){jg(t,e,A[i])})):jg(t,"string"==typeof r?r:i,A[i])}return t}function Vg(A){var e,t=ug(A),i={nodes:[],edges:[],options:{}};t.nodes&&Yi(e=t.nodes).call(e,(function(A){var e={id:A.id,label:String(A.label||A.id)};Fg(e,Pg(A.attr,Eg)),e.image&&(e.shape="image"),i.nodes.push(e)}));if(t.edges){var r,n=function(A){var e={from:A.from,to:A.to};return Fg(e,Pg(A.attr,hg)),null==e.arrows&&"->"===A.type&&(e.arrows="to"),e};Yi(r=t.edges).call(r,(function(A){var e,t,r,g,o,a,I;(e=A.from instanceof Object?A.from.nodes:{id:A.from},t=A.to instanceof Object?A.to.nodes:{id:A.to},A.from instanceof Object&&A.from.edges)&&Yi(r=A.from.edges).call(r,(function(A){var e=n(A);i.edges.push(e)}));(o=t,a=function(e,t){var r=_g(i,e.id,t.id,A.type,A.attr),g=n(r);i.edges.push(g)},Wr(g=e)?Yi(g).call(g,(function(A){Wr(o)?Yi(o).call(o,(function(e){a(A,e)})):a(A,o)})):Wr(o)?Yi(o).call(o,(function(A){a(g,A)})):a(g,o),A.to instanceof Object&&A.to.edges)&&Yi(I=A.to.edges).call(I,(function(A){var e=n(A);i.edges.push(e)}))}))}return t.attr&&(i.options=t.attr),i}var zg=Object.freeze({__proto__:null,parseDOT:ug,DOTToGraph:Vg});function Zg(A,e){var t,i={edges:{inheritColor:!1},nodes:{fixed:!1,parseColor:!1}};null!=e&&(null!=e.fixed&&(i.nodes.fixed=e.fixed),null!=e.parseColor&&(i.nodes.parseColor=e.parseColor),null!=e.inheritColor&&(i.edges.inheritColor=e.inheritColor));var r=A.edges,n=Xr(r).call(r,(function(A){var e={from:A.source,id:A.id,to:A.target};return null!=A.attributes&&(e.attributes=A.attributes),null!=A.label&&(e.label=A.label),null!=A.attributes&&null!=A.attributes.title&&(e.title=A.attributes.title),"Directed"===A.type&&(e.arrows="to"),A.color&&!1===i.edges.inheritColor&&(e.color=A.color),e}));return{nodes:Xr(t=A.nodes).call(t,(function(A){var e={id:A.id,fixed:i.nodes.fixed&&null!=A.x&&null!=A.y};return null!=A.attributes&&(e.attributes=A.attributes),null!=A.label&&(e.label=A.label),null!=A.size&&(e.size=A.size),null!=A.attributes&&null!=A.attributes.title&&(e.title=A.attributes.title),null!=A.title&&(e.title=A.title),null!=A.x&&(e.x=A.x),null!=A.y&&(e.y=A.y),null!=A.color&&(!0===i.nodes.parseColor?e.color=A.color:e.color={background:A.color,border:A.color,highlight:{background:A.color,border:A.color},hover:{background:A.color,border:A.color}}),e})),edges:n}}var Xg=Object.freeze({__proto__:null,parseGephi:Zg});function Wg(A,e){void 0===e&&(e={});var t=e.insertAt;if(A&&"undefined"!=typeof document){var i=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===t&&i.firstChild?i.insertBefore(r,i.firstChild):i.appendChild(r),r.styleSheet?r.styleSheet.cssText=A:r.appendChild(document.createTextNode(A))}}Wg(".vis-overlay {\n position: absolute;\n top: 0px;\n right: 0px;\n bottom: 0px;\n left: 0px;\n\n /* Must be displayed above for example selected Timeline items */\n z-index: 10;\n}\n\n.vis-active {\n box-shadow: 0 0 10px #86d5f8;\n}\n");var $g=r((function(A,e){A.exports=function(A){var e,t=A&&A.preventDefault||!1,i=A&&A.container||window,r={},n={keydown:{},keyup:{}},g={};for(e=97;e<=122;e++)g[String.fromCharCode(e)]={code:e-97+65,shift:!1};for(e=65;e<=90;e++)g[String.fromCharCode(e)]={code:e,shift:!0};for(e=0;e<=9;e++)g[""+e]={code:48+e,shift:!1};for(e=1;e<=12;e++)g["F"+e]={code:111+e,shift:!1};for(e=0;e<=9;e++)g["num"+e]={code:96+e,shift:!1};g["num*"]={code:106,shift:!1},g["num+"]={code:107,shift:!1},g["num-"]={code:109,shift:!1},g["num/"]={code:111,shift:!1},g["num."]={code:110,shift:!1},g.left={code:37,shift:!1},g.up={code:38,shift:!1},g.right={code:39,shift:!1},g.down={code:40,shift:!1},g.space={code:32,shift:!1},g.enter={code:13,shift:!1},g.shift={code:16,shift:void 0},g.esc={code:27,shift:!1},g.backspace={code:8,shift:!1},g.tab={code:9,shift:!1},g.ctrl={code:17,shift:!1},g.alt={code:18,shift:!1},g.delete={code:46,shift:!1},g.pageup={code:33,shift:!1},g.pagedown={code:34,shift:!1},g["="]={code:187,shift:!1},g["-"]={code:189,shift:!1},g["]"]={code:221,shift:!1},g["["]={code:219,shift:!1};var o=function(A){I(A,"keydown")},a=function(A){I(A,"keyup")},I=function(A,e){if(void 0!==n[e][A.keyCode]){for(var i=n[e][A.keyCode],r=0;r<i.length;r++)(void 0===i[r].shift||1==i[r].shift&&1==A.shiftKey||0==i[r].shift&&0==A.shiftKey)&&i[r].fn(A);1==t&&A.preventDefault()}};return r.bind=function(A,e,t){if(void 0===t&&(t="keydown"),void 0===g[A])throw new Error("unsupported key: "+A);void 0===n[t][g[A].code]&&(n[t][g[A].code]=[]),n[t][g[A].code].push({fn:e,shift:g[A].shift})},r.bindAll=function(A,e){for(var t in void 0===e&&(e="keydown"),g)g.hasOwnProperty(t)&&r.bind(t,A,e)},r.getKey=function(A){for(var e in g)if(g.hasOwnProperty(e)){if(1==A.shiftKey&&1==g[e].shift&&A.keyCode==g[e].code)return e;if(0==A.shiftKey&&0==g[e].shift&&A.keyCode==g[e].code)return e;if(A.keyCode==g[e].code&&"shift"==e)return e}return"unknown key, currently not supported"},r.unbind=function(A,e,t){if(void 0===t&&(t="keydown"),void 0===g[A])throw new Error("unsupported key: "+A);if(void 0!==e){var i=[],r=n[t][g[A].code];if(void 0!==r)for(var o=0;o<r.length;o++)r[o].fn==e&&r[o].shift==g[A].shift||i.push(n[t][g[A].code][o]);n[t][g[A].code]=i}else n[t][g[A].code]=[]},r.reset=function(){n={keydown:{},keyup:{}}},r.destroy=function(){n={keydown:{},keyup:{}},i.removeEventListener("keydown",o,!0),i.removeEventListener("keyup",a,!0)},i.addEventListener("keydown",o,!0),i.addEventListener("keyup",a,!0),r}})); | |
/*! Hammer.JS - v2.0.17-rc - 2019-12-16 | |
* http://naver.github.io/egjs | |
* | |
* Forked By Naver egjs | |
* Copyright (c) hammerjs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment