vis-network
Version:
A dynamic, browser-based visualization library.
26 lines • 609 kB
JavaScript
/**
* vis-network
* https://visjs.github.io/vis-network/
*
* A dynamic, browser-based visualization library.
*
* @version 6.5.2
* @date 2020-01-12T20:07:21.735Z
*
* @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 t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}function i(t,e){return t(e={exports:{}},e.exports),e.exports}var n=function(t){return t&&t.Math==Math&&t},o=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||Function("return this")(),r=function(t){try{return!!t()}catch(t){return!0}},s=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),a={}.propertyIsEnumerable,h=Object.getOwnPropertyDescriptor,l={f:h&&!a.call({1:2},1)?function(t){var e=h(this,t);return!!e&&e.enumerable}:a},d=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},u={}.toString,c=function(t){return u.call(t).slice(8,-1)},f="".split,p=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==c(t)?f.call(t,""):Object(t)}:Object,v=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},g=function(t){return p(v(t))},y=function(t){return"object"==typeof t?null!==t:"function"==typeof t},m=function(t,e){if(!y(t))return t;var i,n;if(e&&"function"==typeof(i=t.toString)&&!y(n=i.call(t)))return n;if("function"==typeof(i=t.valueOf)&&!y(n=i.call(t)))return n;if(!e&&"function"==typeof(i=t.toString)&&!y(n=i.call(t)))return n;throw TypeError("Can't convert object to primitive value")},b={}.hasOwnProperty,w=function(t,e){return b.call(t,e)},_=o.document,k=y(_)&&y(_.createElement),x=function(t){return k?_.createElement(t):{}},O=!s&&!r((function(){return 7!=Object.defineProperty(x("div"),"a",{get:function(){return 7}}).a})),S=Object.getOwnPropertyDescriptor,E={f:s?S:function(t,e){if(t=g(t),e=m(e,!0),O)try{return S(t,e)}catch(t){}if(w(t,e))return d(!l.f.call(t,e),t[e])}},M=/#|\.prototype\./,D=function(t,e){var i=C[T(t)];return i==A||i!=P&&("function"==typeof e?r(e):!!e)},T=D.normalize=function(t){return String(t).replace(M,".").toLowerCase()},C=D.data={},P=D.NATIVE="N",A=D.POLYFILL="P",I=D,F={},N=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},j=function(t,e,i){if(N(t),void 0===e)return t;switch(i){case 0:return function(){return t.call(e)};case 1:return function(i){return t.call(e,i)};case 2:return function(i,n){return t.call(e,i,n)};case 3:return function(i,n,o){return t.call(e,i,n,o)}}return function(){return t.apply(e,arguments)}},z=function(t){if(!y(t))throw TypeError(String(t)+" is not an object");return t},L=Object.defineProperty,R={f:s?L:function(t,e,i){if(z(t),e=m(e,!0),z(i),O)try{return L(t,e,i)}catch(t){}if("get"in i||"set"in i)throw TypeError("Accessors not supported");return"value"in i&&(t[e]=i.value),t}},B=s?function(t,e,i){return R.f(t,e,d(1,i))}:function(t,e,i){return t[e]=i,t},Y=E.f,H=function(t){var e=function(e,i,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,i)}return new t(e,i,n)}return t.apply(this,arguments)};return e.prototype=t.prototype,e},W=function(t,e){var i,n,r,s,a,h,l,d,u=t.target,c=t.global,f=t.stat,p=t.proto,v=c?o:f?o[u]:(o[u]||{}).prototype,g=c?F:F[u]||(F[u]={}),y=g.prototype;for(r in e)i=!I(c?r:u+(f?".":"#")+r,t.forced)&&v&&w(v,r),a=g[r],i&&(h=t.noTargetGet?(d=Y(v,r))&&d.value:v[r]),s=i&&h?h:e[r],i&&typeof a==typeof s||(l=t.bind&&i?j(s,o):t.wrap&&i?H(s):p&&"function"==typeof s?j(Function.call,s):s,(t.sham||s&&s.sham||a&&a.sham)&&B(l,"sham",!0),g[r]=l,p&&(w(F,n=u+"Prototype")||B(F,n,{}),F[n][r]=s,t.real&&y&&!y[r]&&B(y,r,s)))},V=[].slice,U={},G=function(t,e,i){if(!(e in U)){for(var n=[],o=0;o<e;o++)n[o]="a["+o+"]";U[e]=Function("C,a","return new C("+n.join(",")+")")}return U[e](t,i)},q=Function.bind||function(t){var e=N(this),i=V.call(arguments,1),n=function(){var o=i.concat(V.call(arguments));return this instanceof n?G(e,o.length,o):e.apply(t,o)};return y(e.prototype)&&(n.prototype=e.prototype),n};W({target:"Function",proto:!0},{bind:q});var X=function(t){return F[t+"Prototype"]},Z=X("Function").bind,K=Function.prototype,$=function(t){var e=t.bind;return t===K||t instanceof Function&&e===K.bind?Z:e};function J(t,e,i,n){t.beginPath(),t.arc(e,i,n,0,2*Math.PI,!1),t.closePath()}function Q(t,e,i,n,o,r){var s=Math.PI/180;n-2*r<0&&(r=n/2),o-2*r<0&&(r=o/2),t.beginPath(),t.moveTo(e+r,i),t.lineTo(e+n-r,i),t.arc(e+n-r,i+r,r,270*s,360*s,!1),t.lineTo(e+n,i+o-r),t.arc(e+n-r,i+o-r,r,0,90*s,!1),t.lineTo(e+r,i+o),t.arc(e+r,i+o-r,r,90*s,180*s,!1),t.lineTo(e,i+r),t.arc(e+r,i+r,r,180*s,270*s,!1),t.closePath()}function tt(t,e,i,n,o){var r=n/2*.5522848,s=o/2*.5522848,a=e+n,h=i+o,l=e+n/2,d=i+o/2;t.beginPath(),t.moveTo(e,d),t.bezierCurveTo(e,d-s,l-r,i,l,i),t.bezierCurveTo(l+r,i,a,d-s,a,d),t.bezierCurveTo(a,d+s,l+r,h,l,h),t.bezierCurveTo(l-r,h,e,d+s,e,d),t.closePath()}function et(t,e,i,n,o){var r=o*(1/3),s=n/2*.5522848,a=r/2*.5522848,h=e+n,l=i+r,d=e+n/2,u=i+r/2,c=i+(o-r/2),f=i+o;t.beginPath(),t.moveTo(h,u),t.bezierCurveTo(h,u+a,d+s,l,d,l),t.bezierCurveTo(d-s,l,e,u+a,e,u),t.bezierCurveTo(e,u-a,d-s,i,d,i),t.bezierCurveTo(d+s,i,h,u-a,h,u),t.lineTo(h,c),t.bezierCurveTo(h,c+a,d+s,f,d,f),t.bezierCurveTo(d-s,f,e,c+a,e,c),t.lineTo(e,u)}function it(t,e,i,n,o,r){t.beginPath(),t.moveTo(e,i);for(var s=r.length,a=n-e,h=o-i,l=h/a,d=Math.sqrt(a*a+h*h),u=0,c=!0,f=0,p=+r[0];d>=.1;)(p=+r[u++%s])>d&&(p=d),f=Math.sqrt(p*p/(1+l*l)),e+=f=a<0?-f:f,i+=l*f,!0===c?t.lineTo(e,i):t.moveTo(e,i),d-=p,c=!c}var nt={circle:J,dashedLine:it,database:et,diamond:function(t,e,i,n){t.beginPath(),t.lineTo(e,i+n),t.lineTo(e+n,i),t.lineTo(e,i-n),t.lineTo(e-n,i),t.closePath()},ellipse:tt,ellipse_vis:tt,hexagon:function(t,e,i,n){t.beginPath();var o=2*Math.PI/6;t.moveTo(e+n,i);for(var r=1;r<6;r++)t.lineTo(e+n*Math.cos(o*r),i+n*Math.sin(o*r));t.closePath()},roundRect:Q,square:function(t,e,i,n){t.beginPath(),t.rect(e-n,i-n,2*n,2*n),t.closePath()},star:function(t,e,i,n){t.beginPath(),i+=.1*(n*=.82);for(var o=0;o<10;o++){var r=o%2==0?1.3*n:.5*n;t.lineTo(e+r*Math.sin(2*o*Math.PI/10),i-r*Math.cos(2*o*Math.PI/10))}t.closePath()},triangle:function(t,e,i,n){t.beginPath(),i+=.275*(n*=1.15);var o=2*n,r=o/2,s=Math.sqrt(3)/6*o,a=Math.sqrt(o*o-r*r);t.moveTo(e,i-(a-s)),t.lineTo(e+r,i+s),t.lineTo(e-r,i+s),t.lineTo(e,i-(a-s)),t.closePath()},triangleDown:function(t,e,i,n){t.beginPath(),i-=.275*(n*=1.15);var o=2*n,r=o/2,s=Math.sqrt(3)/6*o,a=Math.sqrt(o*o-r*r);t.moveTo(e,i+(a-s)),t.lineTo(e+r,i-s),t.lineTo(e-r,i-s),t.lineTo(e,i+(a-s)),t.closePath()}};var ot=i((function(t){function e(t){if(t)return function(t){for(var i in e.prototype)t[i]=e.prototype[i];return t}(t)}t.exports=e,e.prototype.on=e.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this},e.prototype.once=function(t,e){function i(){this.off(t,i),e.apply(this,arguments)}return i.fn=e,this.on(t,i),this},e.prototype.off=e.prototype.removeListener=e.prototype.removeAllListeners=e.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var i,n=this._callbacks["$"+t];if(!n)return this;if(1==arguments.length)return delete this._callbacks["$"+t],this;for(var o=0;o<n.length;o++)if((i=n[o])===e||i.fn===e){n.splice(o,1);break}return 0===n.length&&delete this._callbacks["$"+t],this},e.prototype.emit=function(t){this._callbacks=this._callbacks||{};for(var e=new Array(arguments.length-1),i=this._callbacks["$"+t],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(i){n=0;for(var o=(i=i.slice(0)).length;n<o;++n)i[n].apply(this,e)}return this},e.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks["$"+t]||[]},e.prototype.hasListeners=function(t){return!!this.listeners(t).length}})),rt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function st(t,e){return t(e={exports:{}},e.exports),e.exports}var at=function(t){return t&&t.Math==Math&&t},ht=at("object"==typeof globalThis&&globalThis)||at("object"==typeof window&&window)||at("object"==typeof self&&self)||at("object"==typeof rt&&rt)||Function("return this")(),lt=function(t){try{return!!t()}catch(t){return!0}},dt=!lt((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),ut={}.propertyIsEnumerable,ct=Object.getOwnPropertyDescriptor,ft={f:ct&&!ut.call({1:2},1)?function(t){var e=ct(this,t);return!!e&&e.enumerable}:ut},pt=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},vt={}.toString,gt=function(t){return vt.call(t).slice(8,-1)},yt="".split,mt=lt((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==gt(t)?yt.call(t,""):Object(t)}:Object,bt=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},wt=function(t){return mt(bt(t))},_t=function(t){return"object"==typeof t?null!==t:"function"==typeof t},kt=function(t,e){if(!_t(t))return t;var i,n;if(e&&"function"==typeof(i=t.toString)&&!_t(n=i.call(t)))return n;if("function"==typeof(i=t.valueOf)&&!_t(n=i.call(t)))return n;if(!e&&"function"==typeof(i=t.toString)&&!_t(n=i.call(t)))return n;throw TypeError("Can't convert object to primitive value")},xt={}.hasOwnProperty,Ot=function(t,e){return xt.call(t,e)},St=ht.document,Et=_t(St)&&_t(St.createElement),Mt=function(t){return Et?St.createElement(t):{}},Dt=!dt&&!lt((function(){return 7!=Object.defineProperty(Mt("div"),"a",{get:function(){return 7}}).a})),Tt=Object.getOwnPropertyDescriptor,Ct={f:dt?Tt:function(t,e){if(t=wt(t),e=kt(e,!0),Dt)try{return Tt(t,e)}catch(t){}if(Ot(t,e))return pt(!ft.f.call(t,e),t[e])}},Pt=/#|\.prototype\./,At=function(t,e){var i=Ft[It(t)];return i==jt||i!=Nt&&("function"==typeof e?lt(e):!!e)},It=At.normalize=function(t){return String(t).replace(Pt,".").toLowerCase()},Ft=At.data={},Nt=At.NATIVE="N",jt=At.POLYFILL="P",zt=At,Lt={},Rt=function(t,e,i){if(function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function")}(t),void 0===e)return t;switch(i){case 0:return function(){return t.call(e)};case 1:return function(i){return t.call(e,i)};case 2:return function(i,n){return t.call(e,i,n)};case 3:return function(i,n,o){return t.call(e,i,n,o)}}return function(){return t.apply(e,arguments)}},Bt=function(t){if(!_t(t))throw TypeError(String(t)+" is not an object");return t},Yt=Object.defineProperty,Ht={f:dt?Yt:function(t,e,i){if(Bt(t),e=kt(e,!0),Bt(i),Dt)try{return Yt(t,e,i)}catch(t){}if("get"in i||"set"in i)throw TypeError("Accessors not supported");return"value"in i&&(t[e]=i.value),t}},Wt=dt?function(t,e,i){return Ht.f(t,e,pt(1,i))}:function(t,e,i){return t[e]=i,t},Vt=Ct.f,Ut=function(t){var e=function(e,i,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,i)}return new t(e,i,n)}return t.apply(this,arguments)};return e.prototype=t.prototype,e},Gt=function(t,e){var i,n,o,r,s,a,h,l,d=t.target,u=t.global,c=t.stat,f=t.proto,p=u?ht:c?ht[d]:(ht[d]||{}).prototype,v=u?Lt:Lt[d]||(Lt[d]={}),g=v.prototype;for(o in e)i=!zt(u?o:d+(c?".":"#")+o,t.forced)&&p&&Ot(p,o),s=v[o],i&&(a=t.noTargetGet?(l=Vt(p,o))&&l.value:p[o]),r=i&&a?a:e[o],i&&typeof s==typeof r||(h=t.bind&&i?Rt(r,ht):t.wrap&&i?Ut(r):f&&"function"==typeof r?Rt(Function.call,r):r,(t.sham||r&&r.sham||s&&s.sham)&&Wt(h,"sham",!0),v[o]=h,f&&(Ot(Lt,n=d+"Prototype")||Wt(Lt,n,{}),Lt[n][o]=r,t.real&&g&&!g[o]&&Wt(g,o,r)))};Gt({target:"Object",stat:!0,forced:!dt,sham:!dt},{defineProperty:Ht.f});var qt=st((function(t){var e=Lt.Object,i=t.exports=function(t,i,n){return e.defineProperty(t,i,n)};e.defineProperty.sham&&(i.sham=!0)})),Xt=qt,Zt=Math.ceil,Kt=Math.floor,$t=function(t){return isNaN(t=+t)?0:(t>0?Kt:Zt)(t)},Jt=Math.min,Qt=function(t){return t>0?Jt($t(t),9007199254740991):0},te=Math.max,ee=Math.min,ie=function(t,e){var i=$t(t);return i<0?te(i+e,0):ee(i,e)},ne=function(t){return function(e,i,n){var o,r=wt(e),s=Qt(r.length),a=ie(n,s);if(t&&i!=i){for(;s>a;)if((o=r[a++])!=o)return!0}else for(;s>a;a++)if((t||a in r)&&r[a]===i)return t||a||0;return!t&&-1}},oe={includes:ne(!0),indexOf:ne(!1)},re={},se=oe.indexOf,ae=function(t,e){var i,n=wt(t),o=0,r=[];for(i in n)!Ot(re,i)&&Ot(n,i)&&r.push(i);for(;e.length>o;)Ot(n,i=e[o++])&&(~se(r,i)||r.push(i));return r},he=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],le=Object.keys||function(t){return ae(t,he)},de=dt?Object.defineProperties:function(t,e){Bt(t);for(var i,n=le(e),o=n.length,r=0;o>r;)Ht.f(t,i=n[r++],e[i]);return t};Gt({target:"Object",stat:!0,forced:!dt,sham:!dt},{defineProperties:de});var ue=st((function(t){var e=Lt.Object,i=t.exports=function(t,i){return e.defineProperties(t,i)};e.defineProperties.sham&&(i.sham=!0)})),ce=function(t){return"function"==typeof t?t:void 0},fe=function(t,e){return arguments.length<2?ce(Lt[t])||ce(ht[t]):Lt[t]&&Lt[t][e]||ht[t]&&ht[t][e]},pe=he.concat("length","prototype"),ve={f:Object.getOwnPropertyNames||function(t){return ae(t,pe)}},ge={f:Object.getOwnPropertySymbols},ye=fe("Reflect","ownKeys")||function(t){var e=ve.f(Bt(t)),i=ge.f;return i?e.concat(i(t)):e},me=function(t,e,i){var n=kt(e);n in t?Ht.f(t,n,pt(0,i)):t[n]=i};Gt({target:"Object",stat:!0,sham:!dt},{getOwnPropertyDescriptors:function(t){for(var e,i,n=wt(t),o=Ct.f,r=ye(n),s={},a=0;r.length>a;)void 0!==(i=o(n,e=r[a++]))&&me(s,e,i);return s}});var be=Lt.Object.getOwnPropertyDescriptors,we=Ct.f,_e=lt((function(){we(1)}));Gt({target:"Object",stat:!0,forced:!dt||_e,sham:!dt},{getOwnPropertyDescriptor:function(t,e){return we(wt(t),e)}});var ke,xe=st((function(t){var e=Lt.Object,i=t.exports=function(t,i){return e.getOwnPropertyDescriptor(t,i)};e.getOwnPropertyDescriptor.sham&&(i.sham=!0)})),Oe=!!Object.getOwnPropertySymbols&&!lt((function(){return!String(Symbol())})),Se=Oe&&!Symbol.sham&&"symbol"==typeof Symbol(),Ee=Array.isArray||function(t){return"Array"==gt(t)},Me=function(t){return Object(bt(t))},De=fe("document","documentElement"),Te=ht["__core-js_shared__"]||function(t,e){try{Wt(ht,t,e)}catch(i){ht[t]=e}return e}("__core-js_shared__",{}),Ce=st((function(t){(t.exports=function(t,e){return Te[t]||(Te[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.0",mode:"pure",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})})),Pe=0,Ae=Math.random(),Ie=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++Pe+Ae).toString(36)},Fe=Ce("keys"),Ne=function(t){return Fe[t]||(Fe[t]=Ie(t))},je=Ne("IE_PROTO"),ze=function(){},Le=function(t){return"<script>"+t+"<\/script>"},Re=function(){try{ke=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;Re=ke?function(t){t.write(Le("")),t.close();var e=t.parentWindow.Object;return t=null,e}(ke):((e=Mt("iframe")).style.display="none",De.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(Le("document.F=Object")),t.close(),t.F);for(var i=he.length;i--;)delete Re.prototype[he[i]];return Re()};re[je]=!0;var Be=Object.create||function(t,e){var i;return null!==t?(ze.prototype=Bt(t),i=new ze,ze.prototype=null,i[je]=t):i=Re(),void 0===e?i:de(i,e)},Ye=ve.f,He={}.toString,We="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Ve={f:function(t){return We&&"[object Window]"==He.call(t)?function(t){try{return Ye(t)}catch(t){return We.slice()}}(t):Ye(wt(t))}},Ue=function(t,e,i,n){n&&n.enumerable?t[e]=i:Wt(t,e,i)},Ge=Ce("wks"),qe=ht.Symbol,Xe=Se?qe:Ie,Ze=function(t){return Ot(Ge,t)||(Oe&&Ot(qe,t)?Ge[t]=qe[t]:Ge[t]=Xe("Symbol."+t)),Ge[t]},Ke={f:Ze},$e=Ht.f,Je=function(t){var e=Lt.Symbol||(Lt.Symbol={});Ot(e,t)||$e(e,t,{value:Ke.f(t)})},Qe={};Qe[Ze("toStringTag")]="z";var ti="[object z]"===String(Qe),ei=Ze("toStringTag"),ii="Arguments"==gt(function(){return arguments}()),ni=ti?gt:function(t){var e,i,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(i=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),ei))?i:ii?gt(e):"Object"==(n=gt(e))&&"function"==typeof e.callee?"Arguments":n},oi=ti?{}.toString:function(){return"[object "+ni(this)+"]"},ri=Ht.f,si=Ze("toStringTag"),ai=function(t,e,i,n){if(t){var o=i?t:t.prototype;Ot(o,si)||ri(o,si,{configurable:!0,value:e}),n&&!ti&&Wt(o,"toString",oi)}},hi=Function.toString;"function"!=typeof Te.inspectSource&&(Te.inspectSource=function(t){return hi.call(t)});var li,di,ui,ci=Te.inspectSource,fi=ht.WeakMap,pi="function"==typeof fi&&/native code/.test(ci(fi)),vi=ht.WeakMap;if(pi){var gi=new vi,yi=gi.get,mi=gi.has,bi=gi.set;li=function(t,e){return bi.call(gi,t,e),e},di=function(t){return yi.call(gi,t)||{}},ui=function(t){return mi.call(gi,t)}}else{var wi=Ne("state");re[wi]=!0,li=function(t,e){return Wt(t,wi,e),e},di=function(t){return Ot(t,wi)?t[wi]:{}},ui=function(t){return Ot(t,wi)}}var _i={set:li,get:di,has:ui,enforce:function(t){return ui(t)?di(t):li(t,{})},getterFor:function(t){return function(e){var i;if(!_t(e)||(i=di(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return i}}},ki=Ze("species"),xi=function(t,e){var i;return Ee(t)&&("function"!=typeof(i=t.constructor)||i!==Array&&!Ee(i.prototype)?_t(i)&&null===(i=i[ki])&&(i=void 0):i=void 0),new(void 0===i?Array:i)(0===e?0:e)},Oi=[].push,Si=function(t){var e=1==t,i=2==t,n=3==t,o=4==t,r=6==t,s=5==t||r;return function(a,h,l,d){for(var u,c,f=Me(a),p=mt(f),v=Rt(h,l,3),g=Qt(p.length),y=0,m=d||xi,b=e?m(a,g):i?m(a,0):void 0;g>y;y++)if((s||y in p)&&(c=v(u=p[y],y,f),t))if(e)b[y]=c;else if(c)switch(t){case 3:return!0;case 5:return u;case 6:return y;case 2:Oi.call(b,u)}else if(o)return!1;return r?-1:n||o?o:b}},Ei={forEach:Si(0),map:Si(1),filter:Si(2),some:Si(3),every:Si(4),find:Si(5),findIndex:Si(6)},Mi=Ei.forEach,Di=Ne("hidden"),Ti=Ze("toPrimitive"),Ci=_i.set,Pi=_i.getterFor("Symbol"),Ai=Object.prototype,Ii=ht.Symbol,Fi=fe("JSON","stringify"),Ni=Ct.f,ji=Ht.f,zi=Ve.f,Li=ft.f,Ri=Ce("symbols"),Bi=Ce("op-symbols"),Yi=Ce("string-to-symbol-registry"),Hi=Ce("symbol-to-string-registry"),Wi=Ce("wks"),Vi=ht.QObject,Ui=!Vi||!Vi.prototype||!Vi.prototype.findChild,Gi=dt&<((function(){return 7!=Be(ji({},"a",{get:function(){return ji(this,"a",{value:7}).a}})).a}))?function(t,e,i){var n=Ni(Ai,e);n&&delete Ai[e],ji(t,e,i),n&&t!==Ai&&ji(Ai,e,n)}:ji,qi=function(t,e){var i=Ri[t]=Be(Ii.prototype);return Ci(i,{type:"Symbol",tag:t,description:e}),dt||(i.description=e),i},Xi=Oe&&"symbol"==typeof Ii.iterator?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof Ii},Zi=function(t,e,i){t===Ai&&Zi(Bi,e,i),Bt(t);var n=kt(e,!0);return Bt(i),Ot(Ri,n)?(i.enumerable?(Ot(t,Di)&&t[Di][n]&&(t[Di][n]=!1),i=Be(i,{enumerable:pt(0,!1)})):(Ot(t,Di)||ji(t,Di,pt(1,{})),t[Di][n]=!0),Gi(t,n,i)):ji(t,n,i)},Ki=function(t,e){Bt(t);var i=wt(e),n=le(i).concat(tn(i));return Mi(n,(function(e){dt&&!$i.call(i,e)||Zi(t,e,i[e])})),t},$i=function(t){var e=kt(t,!0),i=Li.call(this,e);return!(this===Ai&&Ot(Ri,e)&&!Ot(Bi,e))&&(!(i||!Ot(this,e)||!Ot(Ri,e)||Ot(this,Di)&&this[Di][e])||i)},Ji=function(t,e){var i=wt(t),n=kt(e,!0);if(i!==Ai||!Ot(Ri,n)||Ot(Bi,n)){var o=Ni(i,n);return!o||!Ot(Ri,n)||Ot(i,Di)&&i[Di][n]||(o.enumerable=!0),o}},Qi=function(t){var e=zi(wt(t)),i=[];return Mi(e,(function(t){Ot(Ri,t)||Ot(re,t)||i.push(t)})),i},tn=function(t){var e=t===Ai,i=zi(e?Bi:wt(t)),n=[];return Mi(i,(function(t){!Ot(Ri,t)||e&&!Ot(Ai,t)||n.push(Ri[t])})),n};if(Oe||(Ue((Ii=function(){if(this instanceof Ii)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=Ie(t),i=function(t){this===Ai&&i.call(Bi,t),Ot(this,Di)&&Ot(this[Di],e)&&(this[Di][e]=!1),Gi(this,e,pt(1,t))};return dt&&Ui&&Gi(Ai,e,{configurable:!0,set:i}),qi(e,t)}).prototype,"toString",(function(){return Pi(this).tag})),ft.f=$i,Ht.f=Zi,Ct.f=Ji,ve.f=Ve.f=Qi,ge.f=tn,dt&&ji(Ii.prototype,"description",{configurable:!0,get:function(){return Pi(this).description}})),Se||(Ke.f=function(t){return qi(Ze(t),t)}),Gt({global:!0,wrap:!0,forced:!Oe,sham:!Oe},{Symbol:Ii}),Mi(le(Wi),(function(t){Je(t)})),Gt({target:"Symbol",stat:!0,forced:!Oe},{for:function(t){var e=String(t);if(Ot(Yi,e))return Yi[e];var i=Ii(e);return Yi[e]=i,Hi[i]=e,i},keyFor:function(t){if(!Xi(t))throw TypeError(t+" is not a symbol");if(Ot(Hi,t))return Hi[t]},useSetter:function(){Ui=!0},useSimple:function(){Ui=!1}}),Gt({target:"Object",stat:!0,forced:!Oe,sham:!dt},{create:function(t,e){return void 0===e?Be(t):Ki(Be(t),e)},defineProperty:Zi,defineProperties:Ki,getOwnPropertyDescriptor:Ji}),Gt({target:"Object",stat:!0,forced:!Oe},{getOwnPropertyNames:Qi,getOwnPropertySymbols:tn}),Gt({target:"Object",stat:!0,forced:lt((function(){ge.f(1)}))},{getOwnPropertySymbols:function(t){return ge.f(Me(t))}}),Fi){var en=!Oe||lt((function(){var t=Ii();return"[null]"!=Fi([t])||"{}"!=Fi({a:t})||"{}"!=Fi(Object(t))}));Gt({target:"JSON",stat:!0,forced:en},{stringify:function(t,e,i){for(var n,o=[t],r=1;arguments.length>r;)o.push(arguments[r++]);if(n=e,(_t(e)||void 0!==t)&&!Xi(t))return Ee(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!Xi(e))return e}),o[1]=e,Fi.apply(null,o)}})}Ii.prototype[Ti]||Wt(Ii.prototype,Ti,Ii.prototype.valueOf),ai(Ii,"Symbol"),re[Di]=!0;var nn,on,rn,sn=Lt.Object.getOwnPropertySymbols,an={},hn=!lt((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),ln=Ne("IE_PROTO"),dn=Object.prototype,un=hn?Object.getPrototypeOf:function(t){return t=Me(t),Ot(t,ln)?t[ln]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?dn:null},cn=(Ze("iterator"),!1);[].keys&&("next"in(rn=[].keys())?(on=un(un(rn)))!==Object.prototype&&(nn=on):cn=!0),null==nn&&(nn={});var fn={IteratorPrototype:nn,BUGGY_SAFARI_ITERATORS:cn},pn=fn.IteratorPrototype,vn=function(){return this},gn=(Object.setPrototypeOf||"__proto__"in{}&&function(){var t,e=!1,i={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(i,[]),e=i instanceof Array}catch(t){}}(),fn.IteratorPrototype),yn=fn.BUGGY_SAFARI_ITERATORS,mn=Ze("iterator"),bn=function(){return this},wn=function(t,e,i,n,o,r,s){!function(t,e,i){var n=e+" Iterator";t.prototype=Be(pn,{next:pt(1,i)}),ai(t,n,!1,!0),an[n]=vn}(i,e,n);var a,h,l,d=function(t){if(t===o&&v)return v;if(!yn&&t in f)return f[t];switch(t){case"keys":case"values":case"entries":return function(){return new i(this,t)}}return function(){return new i(this)}},u=e+" Iterator",c=!1,f=t.prototype,p=f[mn]||f["@@iterator"]||o&&f[o],v=!yn&&p||d(o),g="Array"==e&&f.entries||p;if(g&&(a=un(g.call(new t)),gn!==Object.prototype&&a.next&&(ai(a,u,!0,!0),an[u]=bn)),"values"==o&&p&&"values"!==p.name&&(c=!0,v=function(){return p.call(this)}),s&&f[mn]!==v&&Wt(f,mn,v),an[e]=v,o)if(h={values:d("values"),keys:r?v:d("keys"),entries:d("entries")},s)for(l in h)!yn&&!c&&l in f||Ue(f,l,h[l]);else Gt({target:e,proto:!0,forced:yn||c},h);return h},_n=_i.set,kn=_i.getterFor("Array Iterator");wn(Array,"Array",(function(t,e){_n(this,{type:"Array Iterator",target:wt(t),index:0,kind:e})}),(function(){var t=kn(this),e=t.target,i=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==i?{value:n,done:!1}:"values"==i?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}}),"values");an.Arguments=an.Array;var xn=Ze("toStringTag");for(var On 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 Sn=ht[On],En=Sn&&Sn.prototype;En&&!En[xn]&&Wt(En,xn,On),an[On]=an.Array}var Mn=function(t){return function(e,i){var n,o,r=String(bt(e)),s=$t(i),a=r.length;return s<0||s>=a?t?"":void 0:(n=r.charCodeAt(s))<55296||n>56319||s+1===a||(o=r.charCodeAt(s+1))<56320||o>57343?t?r.charAt(s):n:t?r.slice(s,s+2):o-56320+(n-55296<<10)+65536}},Dn={codeAt:Mn(!1),charAt:Mn(!0)}.charAt,Tn=_i.set,Cn=_i.getterFor("String Iterator");wn(String,"String",(function(t){Tn(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,e=Cn(this),i=e.string,n=e.index;return n>=i.length?{value:void 0,done:!0}:(t=Dn(i,n),e.index+=t.length,{value:t,done:!1})}));var Pn=Ze("iterator"),An=function(t){if(null!=t)return t[Pn]||t["@@iterator"]||an[ni(t)]},In=function(t){var e=An(t);if("function"!=typeof e)throw TypeError(String(t)+" is not iterable");return Bt(e.call(t))};Gt({target:"Object",stat:!0,sham:!dt},{create:Be});var Fn=Lt.Object,Nn=function(t,e){return Fn.create(t,e)},jn=qt;var zn=function(t,e,i){return e in t?jn(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t},Ln=lt((function(){le(1)}));Gt({target:"Object",stat:!0,forced:Ln},{keys:function(t){return le(Me(t))}});var Rn,Bn=Lt.Object.keys,Yn="\t\n\v\f\r \u2028\u2029\ufeff",Hn="["+Yn+"]",Wn=RegExp("^"+Hn+Hn+"*"),Vn=RegExp(Hn+Hn+"*$"),Un=function(t){return function(e){var i=String(bt(e));return 1&t&&(i=i.replace(Wn,"")),2&t&&(i=i.replace(Vn,"")),i}},Gn={start:Un(1),end:Un(2),trim:Un(3)},qn=Gn.trim;Gt({target:"String",proto:!0,forced:(Rn="trim",lt((function(){return!!Yn[Rn]()||"
"!="
"[Rn]()||Yn[Rn].name!==Rn})))},{trim:function(){return qn(this)}});var Xn=function(t){return Lt[t+"Prototype"]},Zn=Xn("String").trim,Kn=String.prototype,$n=function(t){var e=t.trim;return"string"==typeof t||t===Kn||t instanceof String&&e===Kn.trim?Zn:e},Jn=function(t,e){var i=[][t];return!i||!lt((function(){i.call(null,e||function(){throw 1},1)}))},Qn=Ei.forEach,to=Jn("forEach")?function(t){return Qn(this,t,arguments.length>1?arguments[1]:void 0)}:[].forEach;Gt({target:"Array",proto:!0,forced:[].forEach!=to},{forEach:to});var eo,io,no=Xn("Array").forEach,oo=Array.prototype,ro={DOMTokenList:!0,NodeList:!0},so=function(t){var e=t.forEach;return t===oo||t instanceof Array&&e===oo.forEach||ro.hasOwnProperty(ni(t))?no:e},ao=fe("navigator","userAgent")||"",ho=ht.process,lo=ho&&ho.versions,uo=lo&&lo.v8;uo?io=(eo=uo.split("."))[0]+eo[1]:ao&&(!(eo=ao.match(/Edge\/(\d+)/))||eo[1]>=74)&&(eo=ao.match(/Chrome\/(\d+)/))&&(io=eo[1]);var co=io&&+io,fo=Ze("species"),po=function(t){return co>=51||!lt((function(){var e=[];return(e.constructor={})[fo]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},vo=Ei.map,go=po("map"),yo=go&&!lt((function(){[].map.call({length:-1,0:1},(function(t){throw t}))}));Gt({target:"Array",proto:!0,forced:!go||!yo},{map:function(t){return vo(this,t,arguments.length>1?arguments[1]:void 0)}});var mo=Xn("Array").map,bo=Array.prototype,wo=function(t){var e=t.map;return t===bo||t instanceof Array&&e===bo.map?mo:e},_o=Gn.trim,ko=ht.parseInt,xo=/^[+-]?0[Xx]/,Oo=8!==ko(Yn+"08")||22!==ko(Yn+"0x16")?function(t,e){var i=_o(String(t));return ko(i,e>>>0||(xo.test(i)?16:10))}:ko;Gt({global:!0,forced:parseInt!=Oo},{parseInt:Oo});var So=Lt.parseInt,Eo=ft.f,Mo=function(t){return function(e){for(var i,n=wt(e),o=le(n),r=o.length,s=0,a=[];r>s;)i=o[s++],dt&&!Eo.call(n,i)||a.push(t?[i,n[i]]:n[i]);return a}},Do={entries:Mo(!0),values:Mo(!1)}.values;Gt({target:"Object",stat:!0},{values:function(t){return Do(t)}});var To=Lt.Object.values,Co=Ei.filter,Po=po("filter"),Ao=Po&&!lt((function(){[].filter.call({length:-1,0:1},(function(t){throw t}))}));Gt({target:"Array",proto:!0,forced:!Po||!Ao},{filter:function(t){return Co(this,t,arguments.length>1?arguments[1]:void 0)}});var Io=Xn("Array").filter,Fo=Array.prototype,No=function(t){var e=t.filter;return t===Fo||t instanceof Array&&e===Fo.filter?Io:e},jo=Ze("isConcatSpreadable"),zo=co>=51||!lt((function(){var t=[];return t[jo]=!1,t.concat()[0]!==t})),Lo=po("concat"),Ro=function(t){if(!_t(t))return!1;var e=t[jo];return void 0!==e?!!e:Ee(t)};Gt({target:"Array",proto:!0,forced:!zo||!Lo},{concat:function(t){var e,i,n,o,r,s=Me(this),a=xi(s,0),h=0;for(e=-1,n=arguments.length;e<n;e++)if(r=-1===e?s:arguments[e],Ro(r)){if(h+(o=Qt(r.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(i=0;i<o;i++,h++)i in r&&me(a,h,r[i])}else{if(h>=9007199254740991)throw TypeError("Maximum allowed index exceeded");me(a,h++,r)}return a.length=h,a}});var Bo=Xn("Array").concat,Yo=Array.prototype,Ho=function(t){var e=t.concat;return t===Yo||t instanceof Array&&e===Yo.concat?Bo:e};Gt({target:"Array",stat:!0},{isArray:Ee});var Wo=Lt.Array.isArray,Vo=Wo;var Uo=function(t){if(Vo(t)){for(var e=0,i=new Array(t.length);e<t.length;e++)i[e]=t[e];return i}},Go=function(t,e,i,n){try{return n?e(Bt(i)[0],i[1]):e(i)}catch(e){var o=t.return;throw void 0!==o&&Bt(o.call(t)),e}},qo=Ze("iterator"),Xo=Array.prototype,Zo=function(t){return void 0!==t&&(an.Array===t||Xo[qo]===t)},Ko=Ze("iterator"),$o=!1;try{var Jo=0,Qo={next:function(){return{done:!!Jo++}},return:function(){$o=!0}};Qo[Ko]=function(){return this},Array.from(Qo,(function(){throw 2}))}catch(t){}var tr=!function(t,e){if(!e&&!$o)return!1;var i=!1;try{var n={};n[Ko]=function(){return{next:function(){return{done:i=!0}}}},t(n)}catch(t){}return i}((function(t){Array.from(t)}));Gt({target:"Array",stat:!0,forced:tr},{from:function(t){var e,i,n,o,r,s=Me(t),a="function"==typeof this?this:Array,h=arguments.length,l=h>1?arguments[1]:void 0,d=void 0!==l,u=0,c=An(s);if(d&&(l=Rt(l,h>2?arguments[2]:void 0,2)),null==c||a==Array&&Zo(c))for(i=new a(e=Qt(s.length));e>u;u++)me(i,u,d?l(s[u],u):s[u]);else for(r=(o=c.call(s)).next,i=new a;!(n=r.call(o)).done;u++)me(i,u,d?Go(o,l,[n.value,u],!0):n.value);return i.length=u,i}});var er=Lt.Array.from,ir=Ze("iterator"),nr=function(t){var e=Object(t);return void 0!==e[ir]||"@@iterator"in e||an.hasOwnProperty(ni(e))};var or=function(t){if(nr(Object(t))||"[object Arguments]"===Object.prototype.toString.call(t))return er(t)};var rr=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")};var sr=function(t){return Uo(t)||or(t)||rr()},ar=Ze("species"),hr=[].slice,lr=Math.max;Gt({target:"Array",proto:!0,forced:!po("slice")},{slice:function(t,e){var i,n,o,r=wt(this),s=Qt(r.length),a=ie(t,s),h=ie(void 0===e?s:e,s);if(Ee(r)&&("function"!=typeof(i=r.constructor)||i!==Array&&!Ee(i.prototype)?_t(i)&&null===(i=i[ar])&&(i=void 0):i=void 0,i===Array||void 0===i))return hr.call(r,a,h);for(n=new(void 0===i?Array:i)(lr(h-a,0)),o=0;a<h;a++,o++)a in r&&me(n,o,r[a]);return n.length=o,n}});var dr=Xn("Array").slice,ur=Array.prototype,cr=function(t){var e=t.slice;return t===ur||t instanceof Array&&e===ur.slice?dr:e},fr=lt((function(){un(1)}));Gt({target:"Object",stat:!0,forced:fr,sham:!hn},{getPrototypeOf:function(t){return un(Me(t))}});var pr=Lt.Object.getPrototypeOf,vr=oe.indexOf,gr=[].indexOf,yr=!!gr&&1/[1].indexOf(1,-0)<0,mr=Jn("indexOf");Gt({target:"Array",proto:!0,forced:yr||mr},{indexOf:function(t){return yr?gr.apply(this,arguments)||0:vr(this,t,arguments.length>1?arguments[1]:void 0)}});var br=Xn("Array").indexOf,wr=Array.prototype,_r=function(t){var e=t.indexOf;return t===wr||t instanceof Array&&e===wr.indexOf?br:e},kr=Wo,xr=Object.assign,Or=Object.defineProperty,Sr=!xr||lt((function(){if(dt&&1!==xr({b:1},xr(Or({},"a",{enumerable:!0,get:function(){Or(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},i=Symbol();return t[i]=7,"abcdefghijklmnopqrst".split("").forEach((function(t){e[t]=t})),7!=xr({},t)[i]||"abcdefghijklmnopqrst"!=le(xr({},e)).join("")}))?function(t,e){for(var i=Me(t),n=arguments.length,o=1,r=ge.f,s=ft.f;n>o;)for(var a,h=mt(arguments[o++]),l=r?le(h).concat(r(h)):le(h),d=l.length,u=0;d>u;)a=l[u++],dt&&!s.call(h,a)||(i[a]=h[a]);return i}:xr;Gt({target:"Object",stat:!0,forced:Object.assign!==Sr},{assign:Sr});var Er=Lt.Object.assign;Je("iterator");var Mr=Ke.f("iterator");Je("asyncIterator"),Je("hasInstance"),Je("isConcatSpreadable"),Je("match"),Je("matchAll"),Je("replace"),Je("search"),Je("species"),Je("split"),Je("toPrimitive"),Je("toStringTag"),Je("unscopables"),ai(Math,"Math",!0),ai(ht.JSON,"JSON",!0);var Dr=Lt.Symbol;Je("asyncDispose"),Je("dispose"),Je("observable"),Je("patternMatch"),Je("replaceAll");for(var Tr=Dr,Cr=st((function(t){function e(i){return t.exports=e="function"==typeof Tr&&"symbol"==typeof Mr?function(t){return typeof t}:function(t){return t&&"function"==typeof Tr&&t.constructor===Tr&&t!==Tr.prototype?"symbol":typeof t},e(i)}t.exports=e})),Pr=[],Ar=0;Ar<256;Ar++)Pr[Ar]=(Ar+256).toString(16).substr(1);for(var Ir=function(){if("undefined"!=typeof crypto&&crypto.getRandomValues){var t=new Uint8Array(16);return function(){return crypto.getRandomValues(t),t}}var e=new Array(16);return function(){for(var t,i=0;i<16;i++)0==(3&i)&&(t=4294967296*Math.random()),e[i]=t>>>((3&i)<<3)&255;return e}}(),Fr=[],Nr=0;Nr<256;Nr++)Fr[Nr]=(Nr+256).toString(16).substr(1);var jr=Ir();jr[0],jr[1],jr[2],jr[3],jr[4],jr[5],jr[6],jr[7];function zr(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0,n=e&&i||0;"string"==typeof t&&(e="binary"===t?new Array(16):void 0,t={});var o=t.random||(t.rng||Ir)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,e)for(var r=0;r<16;r++)e[n+r]=o[r];return e||function(t,e){var i=e||0,n=Pr;return n[t[i++]]+n[t[i++]]+n[t[i++]]+n[t[i++]]+"-"+n[t[i++]]+n[t[i++]]+"-"+n[t[i++]]+n[t[i++]]+"-"+n[t[i++]]+n[t[i++]]+"-"+n[t[i++]]+n[t[i++]]+n[t[i++]]+n[t[i++]]+n[t[i++]]+n[t[i++]]}(o)}function Lr(t,e){var i=Bn(t);if(sn){var n=sn(t);e&&(n=No(n).call(n,(function(e){return xe(t,e).enumerable}))),i.push.apply(i,n)}return i}var Rr=/^\/?Date\((-?\d+)/i,Br=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,Yr=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,Hr=/^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,Wr=/^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 Vr(t){return t instanceof Number||"number"==typeof t}function Ur(t){if(t)for(;!0===t.hasChildNodes();){var e=t.firstChild;e&&(Ur(e),t.removeChild(e))}}function Gr(t){return t instanceof String||"string"==typeof t}function qr(t){return"object"===Cr(t)&&null!==t}function Xr(t){if(t instanceof Date)return!0;if(Gr(t)){if(Rr.exec(t))return!0;if(!isNaN(Date.parse(t)))return!0}return!1}function Zr(t,e,i,n){var o=!1;!0===n&&(o=null===e[i]&&void 0!==t[i]),o?delete t[i]:t[i]=e[i]}function Kr(t,e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];for(var n in t)if(void 0!==e[n])if(null===e[n]||"object"!==Cr(e[n]))Zr(t,e,n,i);else{var o=t[n],r=e[n];qr(o)&&qr(r)&&Kr(o,r,i)}}var $r=Er;function Jr(t,e){if(!kr(t))throw new Error("Array with property names expected as first argument");for(var i=arguments.length,n=new Array(i>2?i-2:0),o=2;o<i;o++)n[o-2]=arguments[o];for(var r=0,s=n;r<s.length;r++)for(var a=s[r],h=0;h<t.length;h++){var l=t[h];a&&Object.prototype.hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e}function Qr(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(kr(i))throw new TypeError("Arrays are not supported by deepExtend");for(var o=0;o<t.length;o++){var r=t[o];if(Object.prototype.hasOwnProperty.call(i,r))if(i[r]&&i[r].constructor===Object)void 0===e[r]&&(e[r]={}),e[r].constructor===Object?es(e[r],i[r],!1,n):Zr(e,i,r,n);else{if(kr(i[r]))throw new TypeError("Arrays are not supported by deepExtend");Zr(e,i,r,n)}}return e}function ts(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(kr(i))throw new TypeError("Arrays are not supported by deepExtend");for(var o in i)if(Object.prototype.hasOwnProperty.call(i,o)&&-1===_r(t).call(t,o))if(i[o]&&i[o].constructor===Object)void 0===e[o]&&(e[o]={}),e[o].constructor===Object?es(e[o],i[o]):Zr(e,i,o,n);else if(kr(i[o])){e[o]=[];for(var r=0;r<i[o].length;r++)e[o].push(i[o][r])}else Zr(e,i,o,n);return e}function es(t,e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)||!0===i)if("object"===Cr(e[o])&&null!==e[o]&&pr(e[o])===Object.prototype)void 0===t[o]?t[o]=es({},e[o],i):"object"===Cr(t[o])&&null!==t[o]&&pr(t[o])===Object.prototype?es(t[o],e[o],i):Zr(t,e,o,n);else if(kr(e[o])){var r;t[o]=cr(r=e[o]).call(r)}else Zr(t,e,o,n);return t}function is(t,e){if(t.length!==e.length)return!1;for(var i=0,n=t.length;i<n;i++)if(t[i]!=e[i])return!1;return!0}function ns(t){var e=Cr(t);return"object"===e?null===t?"null":t instanceof Boolean?"Boolean":t instanceof Number?"Number":t instanceof String?"String":kr(t)?"Array":t instanceof Date?"Date":"Object":"number"===e?"Number":"boolean"===e?"Boolean":"string"===e?"String":void 0===e?"undefined":e}function os(t,e){var i;return Ho(i=[]).call(i,sr(t),[e])}function rs(t){return cr(t).call(t)}function ss(t){return t.getBoundingClientRect().left}function as(t){return t.getBoundingClientRect().right}function hs(t){return t.getBoundingClientRect().top}function ls(t,e){var i=t.className.split(" "),n=e.split(" ");i=Ho(i).call(i,No(n).call(n,(function(t){return _r(i).call(i,t)<0}))),t.className=i.join(" ")}function ds(t,e){var i=t.className.split(" "),n=e.split(" ");i=No(i).call(i,(function(t){return _r(n).call(n,t)<0})),t.className=i.join(" ")}function us(t,e){if(kr(t))for(var i=t.length,n=0;n<i;n++)e(t[n],n,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e(t[o],o,t)}var cs=To;function fs(t,e,i){return t[e]!==i&&(t[e]=i,!0)}function ps(t){var e=!1;return function(){e||(e=!0,requestAnimationFrame((function(){e=!1,t()})))}}function vs(t,e,i,n){var o;t.addEventListener?(void 0===n&&(n=!1),"mousewheel"===e&&_r(o=navigator.userAgent).call(o,"Firefox")>=0&&(e="DOMMouseScroll"),t.addEventListener(e,i,n)):t.attachEvent("on"+e,i)}function gs(t,e,i,n){var o;t.removeEventListener?(void 0===n&&(n=!1),"mousewheel"===e&&_r(o=navigator.userAgent).call(o,"Firefox")>=0&&(e="DOMMouseScroll"),t.removeEventListener(e,i,n)):t.detachEvent("on"+e,i)}function ys(t){t||(t=window.event),t&&(t.preventDefault?t.preventDefault():t.returnValue=!1)}function ms(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.event,e=null;return t&&(t.target?e=t.target:t.srcElement&&(e=t.srcElement)),e instanceof Element&&(null==e.nodeType||3!=e.nodeType||(e=e.parentNode)instanceof Element)?e:null}function bs(t,e){for(var i=t;i;){if(i===e)return!0;if(!i.parentNode)return!1;i=i.parentNode}return!1}var ws={asBoolean:function(t,e){return"function"==typeof t&&(t=t()),null!=t?0!=t:e||null},asNumber:function(t,e){return"function"==typeof t&&(t=t()),null!=t?Number(t)||e||null:e||null},asString:function(t,e){return"function"==typeof t&&(t=t()),null!=t?String(t):e||null},asSize:function(t,e){return"function"==typeof t&&(t=t()),Gr(t)?t:Vr(t)?t+"px":e||null},asElement:function(t,e){return"function"==typeof t&&(t=t()),t||e||null}};function _s(t){var e;switch(t.length){case 3:case 4:return(e=Yr.exec(t))?{r:So(e[1]+e[1],16),g:So(e[2]+e[2],16),b:So(e[3]+e[3],16)}:null;case 6:case 7:return(e=Br.exec(t))?{r:So(e[1],16),g:So(e[2],16),b:So(e[3],16)}:null;default:return null}}function ks(t,e){if(-1!==_r(t).call(t,"rgba"))return t;if(-1!==_r(t).call(t,"rgb")){var i=t.substr(_r(t).call(t,"(")+1).replace(")","").split(",");return"rgba("+i[0]+","+i[1]+","+i[2]+","+e+")"}var n=_s(t);return null==n?t:"rgba("+n.r+","+n.g+","+n.b+","+e+")"}function xs(t,e,i){var n;return"#"+cr(n=((1<<24)+(t<<16)+(e<<8)+i).toString(16)).call(n,1)}function Os(t,e){if(Gr(t)){var i=t;if(Is(i)){var n,o=wo(n=i.substr(4).substr(0,i.length-5).split(",")).call(n,(function(t){return So(t)}));i=xs(o[0],o[1],o[2])}if(!0===As(i)){var r=Ps(i),s={h:r.h,s:.8*r.s,v:Math.min(1,1.02*r.v)},a={h:r.h,s:Math.min(1,1.25*r.s),v:.8*r.v},h=Cs(a.h,a.s,a.v),l=Cs(s.h,s.s,s.v);return{background:i,border:h,highlight:{background:l,border:h},hover:{background:l,border:h}}}return{background:i,border:i,highlight:{background:i,border:i},hover:{background:i,border:i}}}return e?{background:t.background||e.background,border:t.border||e.border,highlight:Gr(t.highlight)?{border:t.highlight,background:t.highlight}:{background:t.highlight&&t.highlight.background||e.highlight.background,border:t.highlight&&t.highlight.border||e.highlight.border},hover:Gr(t.hover)?{border:t.hover,background:t.hover}:{border:t.hover&&t.hover.border||e.hover.border,background:t.hover&&t.hover.background||e.hover.background}}:{background:t.background||void 0,border:t.border||void 0,highlight:Gr(t.highlight)?{border:t.highlight,background:t.highlight}:{background:t.highlight&&t.highlight.background||void 0,border:t.highlight&&t.highlight.border||void 0},hover:Gr(t.hover)?{border:t.hover,background:t.hover}:{border:t.hover&&t.hover.border||void 0,background:t.hover&&t.hover.background||void 0}}}function Ss(t,e,i){t/=255,e/=255,i/=255;var n=Math.min(t,Math.min(e,i)),o=Math.max(t,Math.max(e,i));return n===o?{h:0,s:0,v:n}:{h:60*((t===n?3:i===n?1:5)-(t===n?e-i:i===n?t-e:i-t)/(o-n))/360,s:(o-n)/o,v:o}}var Es={split:function(t){var e,i={};return so(e=t.split(";")).call(e,(function(t){if(""!=$n(t).call(t)){var e,n,o=t.split(":"),r=$n(e=o[0]).call(e),s=$n(n=o[1]).call(n);i[r]=s}})),i},join:function(t){var e;return wo(e=Bn(t)).call(e,(function(e){return e+": "+t[e]})).join("; ")}};function Ms(t,e){var i=function(t){for(var e=1;e<arguments.length;e++){var i,n=null!=arguments[e]?arguments[e]:{};if(e%2)so(i=Lr(Object(n),!0)).call(i,(function(e){zn(t,e,n[e])}));else if(be)ue(t,be(n));else{var o;so(o=Lr(Object(n))).call(o,(function(e){Xt(t,e,xe(n,e))}))}}return t}({},Es.split(t.style.cssText),{},Es.split(e));t.style.cssText=Es.join(i)}function Ds(t,e){var i=Es.split(t.style.cssText),n=Es.split(e);for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&delete i[o];t.style.cssText=Es.join(i)}function Ts(t,e,i){var n,o,r,s=Math.floor(6*t),a=6*t-s,h=i*(1-e),l=i*(1-a*e),d=i*(1-(1-a)*e);switch(s%6){case 0:n=i,o=d,r=h;break;case 1:n=l,o=i,r=h;break;case 2:n=h,o=i,r=d;break;case 3:n=h,o=l,r=i;break;case 4:n=d,o=h,r=i;break;case 5:n=i,o=h,r=l}return{r:Math.floor(255*n),g:Math.floor(255*o),b:Math.floor(255*r)}}function Cs(t,e,i){var n=Ts(t,e,i);return xs(n.r,n.g,n.b)}function Ps(t){var e=_s(t);if(!e)throw new TypeError("'".concat(t,"' is not a valid color."));return Ss(e.r,e.g,e.b)}function As(t){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(t)}function Is(t){return Hr.test(t)}function Fs(t){return Wr.test(t)}function Ns(t,e){if(null!==e&&"object"===Cr(e)){for(var i=Nn(e),n=0;n<t.length;n++)Object.prototype.hasOwnProperty.call(e,t[n])&&"object"==Cr(e[t[n]])&&(i[t[n]]=js(e[t[n]]));return i}return null}function js(t){if(null===t||"object"!==Cr(t))return null;if(t instanceof Element)return t;var e=Nn(t);for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&"object"==Cr(t[i])&&(e[i]=js(t[i]));return e}function zs(t,e){for(var i=0;i<t.length;i++){var n=t[i],o=void 0;for(o=i;o>0&&e(n,t[o-1])<0;o--)t[o]=t[o-1];t[o]=n}return t}function Ls(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=function(t){return null!=t},r=function(t){return null!==t&&"object"===Cr(t)};if(!r(t))throw new Error("Parameter mergeTarget must be an object");if(!r(e))throw new Error("Parameter options must be an object");if(!o(i))throw new Error("Parameter option must have a value");if(!r(n))throw new Error("Parameter globalOptions must be an object");var s=e[i],a=r(n)&&!function(t){for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e))return!1;return!0}(n)?n[i]:void 0,h=a?a.enabled:void 0;if(void 0!==s){if("boolean"==typeof s)return r(t[i])||(t[i]={}),void(t[i].enabled=s);if(null===s&&!r(t[i])){if(!o(a))return;t[i]=Nn(a)}if(r(s)){var l=!0;void 0!==s.enabled?l=s.enabled:void 0!==h&&(l=a.enabled),function(t,e,i){r(t[i])||(t[i]={});var n=e[i],o=t[i];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(o[s]=n[s])}(t,e,i),t[i].enabled=l}}}function Rs(t,e,i,n){for(var o=0,r=0,s=t.length-1;r<=s&&o<1e4;){var a=Math.floor((r+s)/2),h=t[a],l=e(void 0===n?h[i]:h[i][n]);if(0==l)return a;-1==l?r=a+1:s=a-1,o++}return-1}function Bs(t,e,i,n,o){var r,s,a,h,l=0,d=0,u=t.length-1;for(o=null!=o?o:function(t,e){return t==e?0:t<e?-1:1};d<=u&&l<1e4;){if(h=Math.floor(.5*(u+d)),r=t[Math.max(0,h-1)][i],s=t[h][i],a=t[Math.min(t.length-1,h+1)][i],0==o(s,e))return h;if(o(r,e)<0&&o(s,e)>0)return"before"==n?Math.max(0,h-1):h;if(o(s,e)<0&&o(a,e)>0)return"before"==n?h:Math.min(t.length-1,h+1);o(s,e)<0?d=h+1:u=h-1,l++}return-1}var Ys={linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return t*(2-t)},easeInOutQuad:function(t){return t<.5?2*t*t:(4-2*t)*t-1},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return--t*t*t+1},easeInOutCubic:function(t){return t<.5?4*t*t*t:(t-1)*(2*t-2)*(2*t-2)+1},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return 1- --t*t*t*t},easeInOutQuart:function(t){return t<.5?8*t*t*t*t:1-8*--t*t*t*t},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return 1+--t*t*t*t*t},easeInOutQuint:function(t){return t<.5?16*t*t*t*t*t:1+16*--t*t*t*t*t}};function Hs(){var t=document.createElement("p");t.style.width="100%",t.style.height="200px";var e=document.createElement("div");e.style.position="absolute",e.style.top="0px",e.style.left="0px",e.style.visibility="hidden",e.style.width="200px",e.style.height="150px",e.style.overflow="hidden",e.appendChild(t),document.body.appendChild(e);var i=t.offsetWidth;e.style.overflow="scroll";var n=t.offsetWidth;return i==n&&(n=e.clientWidth),document.body.removeChild(e),i-n}function Ws(t,e){var i;kr(e)||(e=[e]);var n=!0,o=!1,r=void 0;try{for(var s,a=In(t);!(n=(s=a.next()).done);n=!0){var h=s.value;if(h){i=h[e[0]];for(var l=1;l<e.length;l++)i&&(i=i[e[l]]);if(void 0!==i)break}}}catch(t){o=!0,r=t}finally{try{n||null==a.return||a.return()}finally{if(o)throw r}}return i}var Vs=Object.freeze({__proto__:null,isNumber:Vr,recursiveDOMDelete:Ur,isString:Gr,isObject:qr,isDate:Xr,fillIfDefined:Kr,extend:$r,selectiveExtend:Jr,selectiveDeepExtend:Qr,selectiveNotDeepExtend:ts,deepExtend:es,equalArray:is,getType:ns,copyAndExtendArray:os,copyArray:rs,getAbsoluteLeft:ss,getAbsoluteRight:as,getAbsoluteTop:hs,addClassName:ls,removeClassName:ds,forEach:us,toArray:cs,updateProperty:fs,throttle:ps,addEventListener:vs,removeEventListener:gs,preventDefault:ys,getTarget:ms,hasParent:bs,option:ws,hexToRGB:_s,overrideOpacity:ks,RGBToHex:xs,parseColor:Os,RGBToHSV:Ss,addCssText:Ms,removeCssText:Ds,HSVToRGB:Ts,HSVToHex:Cs,hexToHSV:Ps,isValidHex:As,isValidRGB:Is,isValidRGBA:Fs,selectiveBridgeObject:Ns,bridgeObject:js,insertSort:zs,mergeOptions:Ls,binarySearchCustom:Rs,binarySearchValue:Bs,easingFunctions:Ys,getScrollBarWidth:Hs,topMost:Ws,randomUUID:zr}),Us=Object.freeze({__proto__:null,default:Vs,HSVToHex:Cs,HSVToRGB:Ts,RGBToHSV:Ss,RGBToHex:xs,addClassName:ls,addCssText:Ms,addEventListener:vs,binarySearchCustom:Rs,binarySearchValue:Bs,bridgeObject:js,copyAndExtendArray:os,copyArray:rs,deepExtend:es,easingFunctions:Ys,equalArray:is,extend:$r,fillIfDefined:Kr,forEach:us,getAbsoluteLeft:ss,getAbsoluteRight:as,getAbsoluteTop:hs,getScrollBarWidth:Hs,getTarget:ms,getType:ns,hasParent:bs,hexToHSV:Ps,hexToRGB:_s,insertSort:zs,isDate:Xr,isNumber:Vr,isObject:qr,isString:Gr,isValidHex:As,isValidRGB:Is,isValidRGBA:Fs,mergeOptions:Ls,option:ws,overrideOpacity:ks,parseColor:Os,preventDefault:ys,randomUUID:zr,recursiveDOMDelete:Ur,removeClassName:ds,removeCssText:Ds,removeEventListener:gs,selectiveBridgeObject:Ns,selectiveDeepExtend:Qr,selectiveExtend:Jr,selectiveNotDeepExtend:ts,throttle:ps,toArray:cs,topMost:Ws,updateProperty:fs}),Gs={},qs=o["__core-js_shared__"]||function(t,e){try{B(o,t,e)}catch(i){o[t]=e}return e}("__core-js_shared__",{}),Xs=Function.toString;"function"!=typeof qs.inspectSource&&(qs.inspectSource=function(t){return Xs.call(t)});var Zs,Ks,$s,Js=qs.inspectSource,Qs=o.WeakMap,ta="function"==typeof Qs&&/native code/.test(Js(Qs)),ea=i((function(t){(t.exports=function(t,e){return qs[t]||(qs[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.3",mode:"pure",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),ia=0,na=Math.random(),oa=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++ia+na).toString(36)},ra=ea("keys"),sa=function(t){return ra[t]||(ra[t]=oa(t))},aa={},ha=o.WeakMap;if(ta){var la=new ha,da=la.get,ua=la.has,ca=la.set;Zs=function(t,e){return ca.call(la,t,e),e},Ks=function(t){return da.call(la,t)||{}},$s=function(t){return ua.call(la,t)}}else{var fa=sa("state");aa[fa]=!0,Zs=function(t,e){return B(t,fa,e),e},Ks=function(t){return w(t,fa)?t[fa]:{}},$s=function(t){return w(t,fa)}}var pa,va,ga,ya={set:Zs,get:Ks,has:$s,enforce:function(t){return $s(t)?Ks(t):Zs(t,{})},getterFor:function(t){return function(e){var i;if(!y(e)||(i=Ks(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return i}}},ma=function(t){return Object(v(t))},ba=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),wa=sa("IE_PROTO"),_a=Object.prototype,ka=ba?Object.getPrototypeOf:function(t){return t=ma(t),w(t,wa)?t[wa]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?_a:null},xa=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())})),Oa=xa&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Sa=ea("wks"),Ea=o.S