UNPKG

vis-timeline

Version:

Create a fully customizable, interactive timeline with items and ranges.

51 lines 362 kB
/** * vis-timeline and vis-graph2d * https://visjs.github.io/vis-timeline/ * * Create a fully customizable, interactive timeline with items and ranges. * * @version 7.3.9 * @date 2020-09-10T12:09:21.650Z * * @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. */ import t from"moment";import{DataSet as e,createNewDataPipeFrom as i,DataView as n}from"vis-data/peer/esm/vis-data.js";var o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function r(t,e,i){return t(i={path:e,exports:{},require:function(t,e){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==e&&i.path)}},i.exports),i.exports}var s,a=function(t){return t&&t.Math==Math&&t},l=a("object"==typeof globalThis&&globalThis)||a("object"==typeof window&&window)||a("object"==typeof self&&self)||a("object"==typeof o&&o)||Function("return this")(),h=function(t){try{return!!t()}catch(t){return!0}},u=!h((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),d={}.propertyIsEnumerable,c=Object.getOwnPropertyDescriptor,p={f:c&&!d.call({1:2},1)?function(t){var e=c(this,t);return!!e&&e.enumerable}:d},m=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},f={}.toString,g=function(t){return f.call(t).slice(8,-1)},v="".split,y=h((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==g(t)?v.call(t,""):Object(t)}:Object,b=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},w=function(t){return y(b(t))},_=function(t){return"object"==typeof t?null!==t:"function"==typeof t},k=function(t,e){if(!_(t))return t;var i,n;if(e&&"function"==typeof(i=t.toString)&&!_(n=i.call(t)))return n;if("function"==typeof(i=t.valueOf)&&!_(n=i.call(t)))return n;if(!e&&"function"==typeof(i=t.toString)&&!_(n=i.call(t)))return n;throw TypeError("Can't convert object to primitive value")},x={}.hasOwnProperty,S=function(t,e){return x.call(t,e)},D=l.document,C=_(D)&&_(D.createElement),T=function(t){return C?D.createElement(t):{}},O=!u&&!h((function(){return 7!=Object.defineProperty(T("div"),"a",{get:function(){return 7}}).a})),E=Object.getOwnPropertyDescriptor,I={f:u?E:function(t,e){if(t=w(t),e=k(e,!0),O)try{return E(t,e)}catch(t){}if(S(t,e))return m(!p.f.call(t,e),t[e])}},M=/#|\.prototype\./,A=function(t,e){var i=N[P(t)];return i==L||i!=R&&("function"==typeof e?h(e):!!e)},P=A.normalize=function(t){return String(t).replace(M,".").toLowerCase()},N=A.data={},R=A.NATIVE="N",L=A.POLYFILL="P",j=A,F={},z=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},G=function(t,e,i){if(z(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)}},H=function(t){if(!_(t))throw TypeError(String(t)+" is not an object");return t},B=Object.defineProperty,Y={f:u?B:function(t,e,i){if(H(t),e=k(e,!0),H(i),O)try{return B(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}},W=u?function(t,e,i){return Y.f(t,e,m(1,i))}:function(t,e,i){return t[e]=i,t},V=I.f,U=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},X=function(t,e){var i,n,o,r,s,a,h,u,d=t.target,c=t.global,p=t.stat,m=t.proto,f=c?l:p?l[d]:(l[d]||{}).prototype,g=c?F:F[d]||(F[d]={}),v=g.prototype;for(o in e)i=!j(c?o:d+(p?".":"#")+o,t.forced)&&f&&S(f,o),s=g[o],i&&(a=t.noTargetGet?(u=V(f,o))&&u.value:f[o]),r=i&&a?a:e[o],i&&typeof s==typeof r||(h=t.bind&&i?G(r,l):t.wrap&&i?U(r):m&&"function"==typeof r?G(Function.call,r):r,(t.sham||r&&r.sham||s&&s.sham)&&W(h,"sham",!0),g[o]=h,m&&(S(F,n=d+"Prototype")||W(F,n,{}),F[n][o]=r,t.real&&v&&!v[o]&&W(v,o,r)))},q=function(t){return"function"==typeof t?t:void 0},K=function(t,e){return arguments.length<2?q(F[t])||q(l[t]):F[t]&&F[t][e]||l[t]&&l[t][e]},$=Math.ceil,Z=Math.floor,J=function(t){return isNaN(t=+t)?0:(t>0?Z:$)(t)},Q=Math.min,tt=function(t){return t>0?Q(J(t),9007199254740991):0},et=Math.max,it=Math.min,nt=function(t,e){var i=J(t);return i<0?et(i+e,0):it(i,e)},ot=function(t){return function(e,i,n){var o,r=w(e),s=tt(r.length),a=nt(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}},rt={includes:ot(!0),indexOf:ot(!1)},st={},at=rt.indexOf,lt=function(t,e){var i,n=w(t),o=0,r=[];for(i in n)!S(st,i)&&S(n,i)&&r.push(i);for(;e.length>o;)S(n,i=e[o++])&&(~at(r,i)||r.push(i));return r},ht=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],ut=Object.keys||function(t){return lt(t,ht)},dt=u?Object.defineProperties:function(t,e){H(t);for(var i,n=ut(e),o=n.length,r=0;o>r;)Y.f(t,i=n[r++],e[i]);return t},ct=K("document","documentElement"),pt=l["__core-js_shared__"]||function(t,e){try{W(l,t,e)}catch(i){l[t]=e}return e}("__core-js_shared__",{}),mt=r((function(t){(t.exports=function(t,e){return pt[t]||(pt[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.4",mode:"pure",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),ft=0,gt=Math.random(),vt=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++ft+gt).toString(36)},yt=mt("keys"),bt=function(t){return yt[t]||(yt[t]=vt(t))},wt=bt("IE_PROTO"),_t=function(){},kt=function(t){return"<script>"+t+"<\/script>"},xt=function(){try{s=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;xt=s?function(t){t.write(kt("")),t.close();var e=t.parentWindow.Object;return t=null,e}(s):((e=T("iframe")).style.display="none",ct.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(kt("document.F=Object")),t.close(),t.F);for(var i=ht.length;i--;)delete xt.prototype[ht[i]];return xt()};st[wt]=!0;var St=Object.create||function(t,e){var i;return null!==t?(_t.prototype=H(t),i=new _t,_t.prototype=null,i[wt]=t):i=xt(),void 0===e?i:dt(i,e)},Dt=[].slice,Ct={},Tt=function(t,e,i){if(!(e in Ct)){for(var n=[],o=0;o<e;o++)n[o]="a["+o+"]";Ct[e]=Function("C,a","return new C("+n.join(",")+")")}return Ct[e](t,i)},Ot=Function.bind||function(t){var e=z(this),i=Dt.call(arguments,1),n=function(){var o=i.concat(Dt.call(arguments));return this instanceof n?Tt(e,o.length,o):e.apply(t,o)};return _(e.prototype)&&(n.prototype=e.prototype),n},Et=K("Reflect","construct"),It=h((function(){function t(){}return!(Et((function(){}),[],t)instanceof t)})),Mt=!h((function(){Et((function(){}))})),At=It||Mt;X({target:"Reflect",stat:!0,forced:At,sham:At},{construct:function(t,e){z(t),H(e);var i=arguments.length<3?t:z(arguments[2]);if(Mt&&!It)return Et(t,e,i);if(t==i){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return n.push.apply(n,e),new(Ot.apply(t,n))}var o=i.prototype,r=St(_(o)?o:Object.prototype),s=Function.apply.call(t,r,e);return _(s)?s:r}});var Pt=F.Reflect.construct,Nt={},Rt=Function.toString;"function"!=typeof pt.inspectSource&&(pt.inspectSource=function(t){return Rt.call(t)});var Lt,jt,Ft,zt=pt.inspectSource,Gt=l.WeakMap,Ht="function"==typeof Gt&&/native code/.test(zt(Gt)),Bt=l.WeakMap;if(Ht){var Yt=new Bt,Wt=Yt.get,Vt=Yt.has,Ut=Yt.set;Lt=function(t,e){return Ut.call(Yt,t,e),e},jt=function(t){return Wt.call(Yt,t)||{}},Ft=function(t){return Vt.call(Yt,t)}}else{var Xt=bt("state");st[Xt]=!0,Lt=function(t,e){return W(t,Xt,e),e},jt=function(t){return S(t,Xt)?t[Xt]:{}},Ft=function(t){return S(t,Xt)}}var qt,Kt,$t,Zt={set:Lt,get:jt,has:Ft,enforce:function(t){return Ft(t)?jt(t):Lt(t,{})},getterFor:function(t){return function(e){var i;if(!_(e)||(i=jt(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return i}}},Jt=function(t){return Object(b(t))},Qt=!h((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),te=bt("IE_PROTO"),ee=Object.prototype,ie=Qt?Object.getPrototypeOf:function(t){return t=Jt(t),S(t,te)?t[te]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?ee:null},ne=!!Object.getOwnPropertySymbols&&!h((function(){return!String(Symbol())})),oe=ne&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,re=mt("wks"),se=l.Symbol,ae=oe?se:se&&se.withoutSetter||vt,le=function(t){return S(re,t)||(ne&&S(se,t)?re[t]=se[t]:re[t]=ae("Symbol."+t)),re[t]},he=(le("iterator"),!1);[].keys&&("next"in($t=[].keys())?(Kt=ie(ie($t)))!==Object.prototype&&(qt=Kt):he=!0),null==qt&&(qt={});var ue={IteratorPrototype:qt,BUGGY_SAFARI_ITERATORS:he},de={};de[le("toStringTag")]="z";var ce="[object z]"===String(de),pe=le("toStringTag"),me="Arguments"==g(function(){return arguments}()),fe=ce?g: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),pe))?i:me?g(e):"Object"==(n=g(e))&&"function"==typeof e.callee?"Arguments":n},ge=ce?{}.toString:function(){return"[object "+fe(this)+"]"},ve=Y.f,ye=le("toStringTag"),be=function(t,e,i,n){if(t){var o=i?t:t.prototype;S(o,ye)||ve(o,ye,{configurable:!0,value:e}),n&&!ce&&W(o,"toString",ge)}},we=ue.IteratorPrototype,_e=function(){return this},ke=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){}return function(i,n){return H(i),function(t){if(!_(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}(n),e?t.call(i,n):i.__proto__=n,i}}():void 0),xe=function(t,e,i,n){n&&n.enumerable?t[e]=i:W(t,e,i)},Se=ue.IteratorPrototype,De=ue.BUGGY_SAFARI_ITERATORS,Ce=le("iterator"),Te=function(){return this},Oe=function(t,e,i,n,o,r,s){!function(t,e,i){var n=e+" Iterator";t.prototype=St(we,{next:m(1,i)}),be(t,n,!1,!0),Nt[n]=_e}(i,e,n);var a,l,h,u=function(t){if(t===o&&g)return g;if(!De&&t in p)return p[t];switch(t){case"keys":case"values":case"entries":return function(){return new i(this,t)}}return function(){return new i(this)}},d=e+" Iterator",c=!1,p=t.prototype,f=p[Ce]||p["@@iterator"]||o&&p[o],g=!De&&f||u(o),v="Array"==e&&p.entries||f;if(v&&(a=ie(v.call(new t)),Se!==Object.prototype&&a.next&&(be(a,d,!0,!0),Nt[d]=Te)),"values"==o&&f&&"values"!==f.name&&(c=!0,g=function(){return f.call(this)}),s&&p[Ce]!==g&&W(p,Ce,g),Nt[e]=g,o)if(l={values:u("values"),keys:r?g:u("keys"),entries:u("entries")},s)for(h in l)(De||c||!(h in p))&&xe(p,h,l[h]);else X({target:e,proto:!0,forced:De||c},l);return l},Ee=Zt.set,Ie=Zt.getterFor("Array Iterator");Oe(Array,"Array",(function(t,e){Ee(this,{type:"Array Iterator",target:w(t),index:0,kind:e})}),(function(){var t=Ie(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");Nt.Arguments=Nt.Array;var Me=le("toStringTag");for(var Ae 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 Pe=l[Ae],Ne=Pe&&Pe.prototype;Ne&&fe(Ne)!==Me&&W(Ne,Me,Ae),Nt[Ae]=Nt.Array}var Re=Array.isArray||function(t){return"Array"==g(t)},Le=le("species"),je=function(t,e){var i;return Re(t)&&("function"!=typeof(i=t.constructor)||i!==Array&&!Re(i.prototype)?_(i)&&null===(i=i[Le])&&(i=void 0):i=void 0),new(void 0===i?Array:i)(0===e?0:e)},Fe=[].push,ze=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,l,h,u){for(var d,c,p=Jt(a),m=y(p),f=G(l,h,3),g=tt(m.length),v=0,b=u||je,w=e?b(a,g):i?b(a,0):void 0;g>v;v++)if((s||v in m)&&(c=f(d=m[v],v,p),t))if(e)w[v]=c;else if(c)switch(t){case 3:return!0;case 5:return d;case 6:return v;case 2:Fe.call(w,d)}else if(o)return!1;return r?-1:n||o?o:w}},Ge={forEach:ze(0),map:ze(1),filter:ze(2),some:ze(3),every:ze(4),find:ze(5),findIndex:ze(6)},He=function(t,e){var i=[][t];return!!i&&h((function(){i.call(null,e||function(){throw 1},1)}))},Be=Object.defineProperty,Ye={},We=function(t){throw t},Ve=function(t,e){if(S(Ye,t))return Ye[t];e||(e={});var i=[][t],n=!!S(e,"ACCESSORS")&&e.ACCESSORS,o=S(e,0)?e[0]:We,r=S(e,1)?e[1]:void 0;return Ye[t]=!!i&&!h((function(){if(n&&!u)return!0;var t={length:-1};n?Be(t,1,{enumerable:!0,get:We}):t[1]=1,i.call(t,o,r)}))},Ue=Ge.forEach,Xe=He("forEach"),qe=Ve("forEach"),Ke=Xe&&qe?[].forEach:function(t){return Ue(this,t,arguments.length>1?arguments[1]:void 0)};X({target:"Array",proto:!0,forced:[].forEach!=Ke},{forEach:Ke});var $e,Ze,Je=function(t){return F[t+"Prototype"]},Qe=Je("Array").forEach,ti=Array.prototype,ei={DOMTokenList:!0,NodeList:!0},ii=function(t){var e=t.forEach;return t===ti||t instanceof Array&&e===ti.forEach||ei.hasOwnProperty(fe(t))?Qe:e},ni=K("navigator","userAgent")||"",oi=l.process,ri=oi&&oi.versions,si=ri&&ri.v8;si?Ze=($e=si.split("."))[0]+$e[1]:ni&&(!($e=ni.match(/Edge\/(\d+)/))||$e[1]>=74)&&($e=ni.match(/Chrome\/(\d+)/))&&(Ze=$e[1]);var ai=Ze&&+Ze,li=le("species"),hi=function(t){return ai>=51||!h((function(){var e=[];return(e.constructor={})[li]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},ui=Ge.filter,di=hi("filter"),ci=Ve("filter");X({target:"Array",proto:!0,forced:!di||!ci},{filter:function(t){return ui(this,t,arguments.length>1?arguments[1]:void 0)}});var pi=Je("Array").filter,mi=Array.prototype,fi=function(t){var e=t.filter;return t===mi||t instanceof Array&&e===mi.filter?pi:e},gi=[].slice,vi=/MSIE .\./.test(ni),yi=function(t){return function(e,i){var n=arguments.length>2,o=n?gi.call(arguments,2):void 0;return t(n?function(){("function"==typeof e?e:Function(e)).apply(this,o)}:e,i)}};X({global:!0,bind:!0,forced:vi},{setTimeout:yi(l.setTimeout),setInterval:yi(l.setInterval)});var bi=F.setTimeout;X({target:"Function",proto:!0},{bind:Ot});var wi=Je("Function").bind,_i=Function.prototype,ki=function(t){var e=t.bind;return t===_i||t instanceof Function&&e===_i.bind?wi:e};X({target:"Array",stat:!0},{isArray:Re});var xi=F.Array.isArray,Si=xi;var Di=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")};X({target:"Object",stat:!0,forced:!u,sham:!u},{defineProperty:Y.f});var Ci=r((function(t){var e=F.Object,i=t.exports=function(t,i,n){return e.defineProperty(t,i,n)};e.defineProperty.sham&&(i.sham=!0)})),Ti=Ci;function Oi(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Ti(t,n.key,n)}}var Ei=function(t,e,i){return e&&Oi(t.prototype,e),i&&Oi(t,i),t};var Ii=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t};X({target:"Object",stat:!0,sham:!u},{create:St});var Mi=F.Object,Ai=function(t,e){return Mi.create(t,e)},Pi=Ai;X({target:"Object",stat:!0},{setPrototypeOf:ke});var Ni=F.Object.setPrototypeOf,Ri=r((function(t){function e(i,n){return t.exports=e=Ni||function(t,e){return t.__proto__=e,t},e(i,n)}t.exports=e}));var Li=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Pi(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ri(t,e)},ji={f:le},Fi=Y.f,zi=function(t){var e=F.Symbol||(F.Symbol={});S(e,t)||Fi(e,t,{value:ji.f(t)})};zi("iterator");var Gi=function(t){return function(e,i){var n,o,r=String(b(e)),s=J(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}},Hi={codeAt:Gi(!1),charAt:Gi(!0)}.charAt,Bi=Zt.set,Yi=Zt.getterFor("String Iterator");Oe(String,"String",(function(t){Bi(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,e=Yi(this),i=e.string,n=e.index;return n>=i.length?{value:void 0,done:!0}:(t=Hi(i,n),e.index+=t.length,{value:t,done:!1})}));var Wi=ji.f("iterator"),Vi=function(t,e,i){var n=k(e);n in t?Y.f(t,n,m(0,i)):t[n]=i},Ui=le("isConcatSpreadable"),Xi=ai>=51||!h((function(){var t=[];return t[Ui]=!1,t.concat()[0]!==t})),qi=hi("concat"),Ki=function(t){if(!_(t))return!1;var e=t[Ui];return void 0!==e?!!e:Re(t)};X({target:"Array",proto:!0,forced:!Xi||!qi},{concat:function(t){var e,i,n,o,r,s=Jt(this),a=je(s,0),l=0;for(e=-1,n=arguments.length;e<n;e++)if(Ki(r=-1===e?s:arguments[e])){if(l+(o=tt(r.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(i=0;i<o;i++,l++)i in r&&Vi(a,l,r[i])}else{if(l>=9007199254740991)throw TypeError("Maximum allowed index exceeded");Vi(a,l++,r)}return a.length=l,a}});var $i=ht.concat("length","prototype"),Zi={f:Object.getOwnPropertyNames||function(t){return lt(t,$i)}},Ji=Zi.f,Qi={}.toString,tn="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],en={f:function(t){return tn&&"[object Window]"==Qi.call(t)?function(t){try{return Ji(t)}catch(t){return tn.slice()}}(t):Ji(w(t))}},nn={f:Object.getOwnPropertySymbols},on=Ge.forEach,rn=bt("hidden"),sn=le("toPrimitive"),an=Zt.set,ln=Zt.getterFor("Symbol"),hn=Object.prototype,un=l.Symbol,dn=K("JSON","stringify"),cn=I.f,pn=Y.f,mn=en.f,fn=p.f,gn=mt("symbols"),vn=mt("op-symbols"),yn=mt("string-to-symbol-registry"),bn=mt("symbol-to-string-registry"),wn=mt("wks"),_n=l.QObject,kn=!_n||!_n.prototype||!_n.prototype.findChild,xn=u&&h((function(){return 7!=St(pn({},"a",{get:function(){return pn(this,"a",{value:7}).a}})).a}))?function(t,e,i){var n=cn(hn,e);n&&delete hn[e],pn(t,e,i),n&&t!==hn&&pn(hn,e,n)}:pn,Sn=function(t,e){var i=gn[t]=St(un.prototype);return an(i,{type:"Symbol",tag:t,description:e}),u||(i.description=e),i},Dn=oe?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof un},Cn=function(t,e,i){t===hn&&Cn(vn,e,i),H(t);var n=k(e,!0);return H(i),S(gn,n)?(i.enumerable?(S(t,rn)&&t[rn][n]&&(t[rn][n]=!1),i=St(i,{enumerable:m(0,!1)})):(S(t,rn)||pn(t,rn,m(1,{})),t[rn][n]=!0),xn(t,n,i)):pn(t,n,i)},Tn=function(t,e){H(t);var i=w(e),n=ut(i).concat(Mn(i));return on(n,(function(e){u&&!On.call(i,e)||Cn(t,e,i[e])})),t},On=function(t){var e=k(t,!0),i=fn.call(this,e);return!(this===hn&&S(gn,e)&&!S(vn,e))&&(!(i||!S(this,e)||!S(gn,e)||S(this,rn)&&this[rn][e])||i)},En=function(t,e){var i=w(t),n=k(e,!0);if(i!==hn||!S(gn,n)||S(vn,n)){var o=cn(i,n);return!o||!S(gn,n)||S(i,rn)&&i[rn][n]||(o.enumerable=!0),o}},In=function(t){var e=mn(w(t)),i=[];return on(e,(function(t){S(gn,t)||S(st,t)||i.push(t)})),i},Mn=function(t){var e=t===hn,i=mn(e?vn:w(t)),n=[];return on(i,(function(t){!S(gn,t)||e&&!S(hn,t)||n.push(gn[t])})),n};if(ne||(xe((un=function(){if(this instanceof un)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=vt(t),i=function(t){this===hn&&i.call(vn,t),S(this,rn)&&S(this[rn],e)&&(this[rn][e]=!1),xn(this,e,m(1,t))};return u&&kn&&xn(hn,e,{configurable:!0,set:i}),Sn(e,t)}).prototype,"toString",(function(){return ln(this).tag})),xe(un,"withoutSetter",(function(t){return Sn(vt(t),t)})),p.f=On,Y.f=Cn,I.f=En,Zi.f=en.f=In,nn.f=Mn,ji.f=function(t){return Sn(le(t),t)},u&&pn(un.prototype,"description",{configurable:!0,get:function(){return ln(this).description}})),X({global:!0,wrap:!0,forced:!ne,sham:!ne},{Symbol:un}),on(ut(wn),(function(t){zi(t)})),X({target:"Symbol",stat:!0,forced:!ne},{for:function(t){var e=String(t);if(S(yn,e))return yn[e];var i=un(e);return yn[e]=i,bn[i]=e,i},keyFor:function(t){if(!Dn(t))throw TypeError(t+" is not a symbol");if(S(bn,t))return bn[t]},useSetter:function(){kn=!0},useSimple:function(){kn=!1}}),X({target:"Object",stat:!0,forced:!ne,sham:!u},{create:function(t,e){return void 0===e?St(t):Tn(St(t),e)},defineProperty:Cn,defineProperties:Tn,getOwnPropertyDescriptor:En}),X({target:"Object",stat:!0,forced:!ne},{getOwnPropertyNames:In,getOwnPropertySymbols:Mn}),X({target:"Object",stat:!0,forced:h((function(){nn.f(1)}))},{getOwnPropertySymbols:function(t){return nn.f(Jt(t))}}),dn){var An=!ne||h((function(){var t=un();return"[null]"!=dn([t])||"{}"!=dn({a:t})||"{}"!=dn(Object(t))}));X({target:"JSON",stat:!0,forced:An},{stringify:function(t,e,i){for(var n,o=[t],r=1;arguments.length>r;)o.push(arguments[r++]);if(n=e,(_(e)||void 0!==t)&&!Dn(t))return Re(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!Dn(e))return e}),o[1]=e,dn.apply(null,o)}})}un.prototype[sn]||W(un.prototype,sn,un.prototype.valueOf),be(un,"Symbol"),st[rn]=!0,zi("asyncIterator"),zi("hasInstance"),zi("isConcatSpreadable"),zi("match"),zi("matchAll"),zi("replace"),zi("search"),zi("species"),zi("split"),zi("toPrimitive"),zi("toStringTag"),zi("unscopables"),be(Math,"Math",!0),be(l.JSON,"JSON",!0);var Pn=F.Symbol;zi("asyncDispose"),zi("dispose"),zi("observable"),zi("patternMatch"),zi("replaceAll");var Nn=Pn,Rn=r((function(t){function e(i){return t.exports=e="function"==typeof Nn&&"symbol"==typeof Wi?function(t){return typeof t}:function(t){return t&&"function"==typeof Nn&&t.constructor===Nn&&t!==Nn.prototype?"symbol":typeof t},e(i)}t.exports=e}));var Ln=function(t,e){return!e||"object"!==Rn(e)&&"function"!=typeof e?Ii(t):e},jn=h((function(){ie(1)}));X({target:"Object",stat:!0,forced:jn,sham:!Qt},{getPrototypeOf:function(t){return ie(Jt(t))}});var Fn=F.Object.getPrototypeOf,zn=Fn,Gn=r((function(t){function e(i){return t.exports=e=Ni?zn:function(t){return t.__proto__||zn(t)},e(i)}t.exports=e})),Hn="undefined"!=typeof window&&window.moment||t,Bn=Ci;X({target:"Object",stat:!0,forced:!u,sham:!u},{defineProperties:dt});var Yn=r((function(t){var e=F.Object,i=t.exports=function(t,i){return e.defineProperties(t,i)};e.defineProperties.sham&&(i.sham=!0)})),Wn=K("Reflect","ownKeys")||function(t){var e=Zi.f(H(t)),i=nn.f;return i?e.concat(i(t)):e};X({target:"Object",stat:!0,sham:!u},{getOwnPropertyDescriptors:function(t){for(var e,i,n=w(t),o=I.f,r=Wn(n),s={},a=0;r.length>a;)void 0!==(i=o(n,e=r[a++]))&&Vi(s,e,i);return s}});var Vn=F.Object.getOwnPropertyDescriptors,Un=I.f,Xn=h((function(){Un(1)}));X({target:"Object",stat:!0,forced:!u||Xn,sham:!u},{getOwnPropertyDescriptor:function(t,e){return Un(w(t),e)}});var qn=r((function(t){var e=F.Object,i=t.exports=function(t,i){return e.getOwnPropertyDescriptor(t,i)};e.getOwnPropertyDescriptor.sham&&(i.sham=!0)})),Kn=F.Object.getOwnPropertySymbols;var $n=function(t,e,i){return e in t?Ti(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t},Zn=h((function(){ut(1)}));X({target:"Object",stat:!0,forced:Zn},{keys:function(t){return ut(Jt(t))}});var Jn=F.Object.keys,Qn=function(t){return function(e,i,n,o){z(i);var r=Jt(e),s=y(r),a=tt(r.length),l=t?a-1:0,h=t?-1:1;if(n<2)for(;;){if(l in s){o=s[l],l+=h;break}if(l+=h,t?l<0:a<=l)throw TypeError("Reduce of empty array with no initial value")}for(;t?l>=0:a>l;l+=h)l in s&&(o=i(o,s[l],l,r));return o}},to={left:Qn(!1),right:Qn(!0)}.left,eo=He("reduce"),io=Ve("reduce",{1:0});X({target:"Array",proto:!0,forced:!eo||!io},{reduce:function(t){return to(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}});var no=Je("Array").reduce,oo=Array.prototype,ro=function(t){var e=t.reduce;return t===oo||t instanceof Array&&e===oo.reduce?no:e},so=Ge.map,ao=hi("map"),lo=Ve("map");X({target:"Array",proto:!0,forced:!ao||!lo},{map:function(t){return so(this,t,arguments.length>1?arguments[1]:void 0)}});var ho=Je("Array").map,uo=Array.prototype,co=function(t){var e=t.map;return t===uo||t instanceof Array&&e===uo.map?ho:e},po=le("iterator"),mo=function(t){if(null!=t)return t[po]||t["@@iterator"]||Nt[fe(t)]},fo=function(t){var e=mo(t);if("function"!=typeof e)throw TypeError(String(t)+" is not iterable");return H(e.call(t))},go=mo,vo=function(t,e,i,n){try{return n?e(H(i)[0],i[1]):e(i)}catch(e){var o=t.return;throw void 0!==o&&H(o.call(t)),e}},yo=le("iterator"),bo=Array.prototype,wo=function(t){return void 0!==t&&(Nt.Array===t||bo[yo]===t)},_o=le("iterator"),ko=!1;try{var xo=0,So={next:function(){return{done:!!xo++}},return:function(){ko=!0}};So[_o]=function(){return this},Array.from(So,(function(){throw 2}))}catch(t){}var Do=!function(t,e){if(!e&&!ko)return!1;var i=!1;try{var n={};n[_o]=function(){return{next:function(){return{done:i=!0}}}},t(n)}catch(t){}return i}((function(t){Array.from(t)}));X({target:"Array",stat:!0,forced:Do},{from:function(t){var e,i,n,o,r,s,a=Jt(t),l="function"==typeof this?this:Array,h=arguments.length,u=h>1?arguments[1]:void 0,d=void 0!==u,c=mo(a),p=0;if(d&&(u=G(u,h>2?arguments[2]:void 0,2)),null==c||l==Array&&wo(c))for(i=new l(e=tt(a.length));e>p;p++)s=d?u(a[p],p):a[p],Vi(i,p,s);else for(r=(o=c.call(a)).next,i=new l;!(n=r.call(o)).done;p++)s=d?vo(o,u,[n.value,p],!0):n.value,Vi(i,p,s);return i.length=p,i}});var Co,To=F.Array.from,Oo=To,Eo=Ai,Io="\t\n\v\f\r                 \u2028\u2029\ufeff",Mo="["+Io+"]",Ao=RegExp("^"+Mo+Mo+"*"),Po=RegExp(Mo+Mo+"*$"),No=function(t){return function(e){var i=String(b(e));return 1&t&&(i=i.replace(Ao,"")),2&t&&(i=i.replace(Po,"")),i}},Ro={start:No(1),end:No(2),trim:No(3)},Lo=Ro.trim;X({target:"String",proto:!0,forced:(Co="trim",h((function(){return!!Io[Co]()||"​…᠎"!="​…᠎"[Co]()||Io[Co].name!==Co})))},{trim:function(){return Lo(this)}});var jo=Je("String").trim,Fo=String.prototype,zo=function(t){var e=t.trim;return"string"==typeof t||t===Fo||t instanceof String&&e===Fo.trim?jo:e},Go=Ro.trim,Ho=l.parseInt,Bo=/^[+-]?0[Xx]/,Yo=8!==Ho(Io+"08")||22!==Ho(Io+"0x16")?function(t,e){var i=Go(String(t));return Ho(i,e>>>0||(Bo.test(i)?16:10))}:Ho;X({global:!0,forced:parseInt!=Yo},{parseInt:Yo});var Wo=F.parseInt,Vo=p.f,Uo=function(t){return function(e){for(var i,n=w(e),o=ut(n),r=o.length,s=0,a=[];r>s;)i=o[s++],u&&!Vo.call(n,i)||a.push(t?[i,n[i]]:n[i]);return a}},Xo={entries:Uo(!0),values:Uo(!1)}.values;X({target:"Object",stat:!0},{values:function(t){return Xo(t)}});var qo=F.Object.values,Ko=Fn,$o=rt.indexOf,Zo=[].indexOf,Jo=!!Zo&&1/[1].indexOf(1,-0)<0,Qo=He("indexOf"),tr=Ve("indexOf",{ACCESSORS:!0,1:0});X({target:"Array",proto:!0,forced:Jo||!Qo||!tr},{indexOf:function(t){return Jo?Zo.apply(this,arguments)||0:$o(this,t,arguments.length>1?arguments[1]:void 0)}});var er=Je("Array").indexOf,ir=Array.prototype,nr=function(t){var e=t.indexOf;return t===ir||t instanceof Array&&e===ir.indexOf?er:e},or=Object.assign,rr=Object.defineProperty,sr=!or||h((function(){if(u&&1!==or({b:1},or(rr({},"a",{enumerable:!0,get:function(){rr(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},i=Symbol(),n="abcdefghijklmnopqrst";return t[i]=7,n.split("").forEach((function(t){e[t]=t})),7!=or({},t)[i]||ut(or({},e)).join("")!=n}))?function(t,e){for(var i=Jt(t),n=arguments.length,o=1,r=nn.f,s=p.f;n>o;)for(var a,l=y(arguments[o++]),h=r?ut(l).concat(r(l)):ut(l),d=h.length,c=0;d>c;)a=h[c++],u&&!s.call(l,a)||(i[a]=l[a]);return i}:or;X({target:"Object",stat:!0,forced:Object.assign!==sr},{assign:sr});var ar=F.Object.assign,lr=xi;var hr=function(t){if(lr(t))return t},ur=le("iterator"),dr=function(t){var e=Object(t);return void 0!==e[ur]||"@@iterator"in e||Nt.hasOwnProperty(fe(e))};var cr=function(t,e){if(void 0!==Nn&&dr(Object(t))){var i=[],n=!0,o=!1,r=void 0;try{for(var s,a=fo(t);!(n=(s=a.next()).done)&&(i.push(s.value),!e||i.length!==e);n=!0);}catch(t){o=!0,r=t}finally{try{n||null==a.return||a.return()}finally{if(o)throw r}}return i}},pr=To,mr=hi("slice"),fr=Ve("slice",{ACCESSORS:!0,0:0,1:2}),gr=le("species"),vr=[].slice,yr=Math.max;X({target:"Array",proto:!0,forced:!mr||!fr},{slice:function(t,e){var i,n,o,r=w(this),s=tt(r.length),a=nt(t,s),l=nt(void 0===e?s:e,s);if(Re(r)&&("function"!=typeof(i=r.constructor)||i!==Array&&!Re(i.prototype)?_(i)&&null===(i=i[gr])&&(i=void 0):i=void 0,i===Array||void 0===i))return vr.call(r,a,l);for(n=new(void 0===i?Array:i)(yr(l-a,0)),o=0;a<l;a++,o++)a in r&&Vi(n,o,r[a]);return n.length=o,n}});var br=Je("Array").slice,wr=Array.prototype,_r=function(t){var e=t.slice;return t===wr||t instanceof Array&&e===wr.slice?br:e},kr=_r;var xr=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n};var Sr=function(t,e){var i;if(t){if("string"==typeof t)return xr(t,e);var n=kr(i=Object.prototype.toString.call(t)).call(i,8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?pr(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?xr(t,e):void 0}};var Dr=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 Cr=function(t,e){return hr(t)||cr(t,e)||Sr(t,e)||Dr()};X({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}});var Tr=F.Date.now;X({target:"Reflect",stat:!0},{ownKeys:Wn});var Or=F.Reflect.ownKeys,Er=_r;var Ir=function(t){if(lr(t))return xr(t)};var Mr=function(t){if(void 0!==Nn&&dr(Object(t)))return pr(t)};var Ar=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 Pr=function(t){return Ir(t)||Mr(t)||Sr(t)||Ar()},Nr=Je("Array").concat,Rr=Array.prototype,Lr=function(t){var e=t.concat;return t===Rr||t instanceof Array&&e===Rr.concat?Nr:e},jr=Pn;function Fr(t,e){var i=Jn(t);if(Kn){var n=Kn(t);e&&(n=fi(n).call(n,(function(e){return qn(t,e).enumerable}))),i.push.apply(i,n)}return i}function zr(t){for(var e=1;e<arguments.length;e++){var i,n=null!=arguments[e]?arguments[e]:{};if(e%2)ii(i=Fr(Object(n),!0)).call(i,(function(e){$n(t,e,n[e])}));else if(Vn)Yn(t,Vn(n));else{var o;ii(o=Fr(Object(n))).call(o,(function(e){Bn(t,e,qn(n,e))}))}}return t}function Gr(t,e){var i;if(void 0===jr||null==go(t)){if(Si(t)||(i=function(t,e){var i;if(!t)return;if("string"==typeof t)return Hr(t,e);var n=Er(i=Object.prototype.toString.call(t)).call(i,8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Oo(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Hr(t,e)}(t))||e&&t&&"number"==typeof t.length){i&&(t=i);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}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 r,s=!0,a=!1;return{s:function(){i=fo(t)},n:function(){var t=i.next();return s=t.done,t},e:function(t){a=!0,r=t},f:function(){try{s||null==i.return||i.return()}finally{if(a)throw r}}}}function Hr(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n} /** * 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 Br=jr("DELETE");function Yr(){var t=Wr.apply(void 0,arguments);return Ur(t),t}function Wr(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];if(e.length<2)return e[0];var n;if(e.length>2)return Wr.apply(void 0,Lr(n=[Yr(e[0],e[1])]).call(n,Pr(Er(e).call(e,2))));var o,r=e[0],s=e[1],a=Gr(Or(s));try{for(a.s();!(o=a.n()).done;){var l=o.value;Object.prototype.propertyIsEnumerable.call(s,l)&&(s[l]===Br?delete r[l]:null===r[l]||null===s[l]||"object"!==Rn(r[l])||"object"!==Rn(s[l])||Si(r[l])||Si(s[l])?r[l]=Vr(s[l]):r[l]=Wr(r[l],s[l]))}}catch(t){a.e(t)}finally{a.f()}return r}function Vr(t){return Si(t)?co(t).call(t,(function(t){return Vr(t)})):"object"===Rn(t)&&null!==t?Wr({},t):t}function Ur(t){for(var e=0,i=Jn(t);e<i.length;e++){var n=i[e];t[n]===Br?delete t[n]:"object"===Rn(t[n])&&null!==t[n]&&Ur(t[n])}}function Xr(t){var e=function(){for(var t=qr(),e=t(" "),i=t(" "),n=t(" "),o=0;o<arguments.length;o++)(e-=t(o<0||arguments.length<=o?void 0:arguments[o]))<0&&(e+=1),(i-=t(o<0||arguments.length<=o?void 0:arguments[o]))<0&&(i+=1),(n-=t(o<0||arguments.length<=o?void 0:arguments[o]))<0&&(n+=1);return[e,i,n]}(t),i=Cr(e,3),n=i[0],o=i[1],r=i[2],s=1,a=function(){var t=2091639*n+2.3283064365386963e-10*s;return n=o,o=r,r=t-(s=0|t)};return a.uint32=function(){return 4294967296*a()},a.fract53=function(){return a()+11102230246251565e-32*(2097152*a()|0)},a.algorithm="Alea",a.seed=t,a.version="0.9",a}function qr(){var t=4022871197;return function(e){for(var i=e.toString(),n=0;n<i.length;n++){var o=.02519603282416938*(t+=i.charCodeAt(n));o-=t=o>>>0,t=(o*=t)>>>0,t+=4294967296*(o-=t)}return 2.3283064365386963e-10*(t>>>0)}}var Kr=/^\/?Date\((-?\d+)/i,$r=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,Zr=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,Jr=/^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,Qr=/^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 ts(t){return t instanceof Number||"number"==typeof t}function es(t){return t instanceof String||"string"==typeof t}function is(t){return"object"===Rn(t)&&null!==t}function ns(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]}var os=ar;function rs(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"===Rn(e[o])&&null!==e[o]&&Ko(e[o])===Object.prototype)void 0===t[o]?t[o]=rs({},e[o],i):"object"===Rn(t[o])&&null!==t[o]&&Ko(t[o])===Object.prototype?rs(t[o],e[o],i):ns(t,e,o,n);else if(Si(e[o])){var r;t[o]=Er(r=e[o]).call(r)}else ns(t,e,o,n);return t}function ss(t){var e=Rn(t);return"object"===e?null===t?"null":t instanceof Boolean?"Boolean":t instanceof Number?"Number":t instanceof String?"String":Si(t)?"Array":t instanceof Date?"Date":"Object":"number"===e?"Number":"boolean"===e?"Boolean":"string"===e?"String":void 0===e?"undefined":e}var as=qo;var ls={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()),es(t)?t:ts(t)?t+"px":e||null},asElement:function(t,e){return"function"==typeof t&&(t=t()),t||e||null}};function hs(t){var e;switch(t.length){case 3:case 4:return(e=Zr.exec(t))?{r:Wo(e[1]+e[1],16),g:Wo(e[2]+e[2],16),b:Wo(e[3]+e[3],16)}:null;case 6:case 7:return(e=$r.exec(t))?{r:Wo(e[1],16),g:Wo(e[2],16),b:Wo(e[3],16)}:null;default:return null}}function us(t,e,i){var n;return"#"+Er(n=((1<<24)+(t<<16)+(e<<8)+i).toString(16)).call(n,1)}function ds(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 cs=function(t){var e,i={};return ii(e=t.split(";")).call(e,(function(t){if(""!=zo(t).call(t)){var e,n,o=t.split(":"),r=zo(e=o[0]).call(e),s=zo(n=o[1]).call(n);i[r]=s}})),i},ps=function(t){var e;return co(e=Jn(t)).call(e,(function(e){return e+": "+t[e]})).join("; ")};function ms(t,e,i){var n,o,r,s=Math.floor(6*t),a=6*t-s,l=i*(1-e),h=i*(1-a*e),u=i*(1-(1-a)*e);switch(s%6){case 0:n=i,o=u,r=l;break;case 1:n=h,o=i,r=l;break;case 2:n=l,o=i,r=u;break;case 3:n=l,o=h,r=i;break;case 4:n=u,o=l,r=i;break;case 5:n=i,o=l,r=h}return{r:Math.floor(255*n),g:Math.floor(255*o),b:Math.floor(255*r)}}function fs(t,e,i){var n=ms(t,e,i);return us(n.r,n.g,n.b)}function gs(t){var e=hs(t);if(!e)throw new TypeError("'".concat(t,"' is not a valid color."));return ds(e.r,e.g,e.b)}function vs(t){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(t)}function ys(t){return Jr.test(t)}function bs(t){if(null===t||"object"!==Rn(t))return null;if(t instanceof Element)return t;var e=Eo(t);for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&"object"==Rn(t[i])&&(e[i]=bs(t[i]));return e}function ws(t,e){var i=Jn(t);if(Kn){var n=Kn(t);e&&(n=fi(n).call(n,(function(e){return qn(t,e).enumerable}))),i.push.apply(i,n)}return i}function _s(t){for(var e=1;e<arguments.length;e++){var i,n=null!=arguments[e]?arguments[e]:{};if(e%2)ii(i=ws(Object(n),!0)).call(i,(function(e){$n(t,e,n[e])}));else if(Vn)Yn(t,Vn(n));else{var o;ii(o=ws(Object(n))).call(o,(function(e){Bn(t,e,qn(n,e))}))}}return t}var ks=/^\/?Date\((-?\d+)/i;function xs(e,i){var n;if(void 0!==e){if(null===e)return null;if(!i)return e;if("string"!=typeof i&&!(i instanceof String))throw new Error("Type must be a string");switch(i){case"boolean":case"Boolean":return Boolean(e);case"number":case"Number":return es(e)&&!isNaN(Date.parse(e))?t(e).valueOf():Number(e.valueOf());case"string":case"String":return String(e);case"Date":if(ts(e))return new Date(e);if(e instanceof Date)return new Date(e.valueOf());if(t.isMoment(e))return new Date(e.valueOf());if(es(e))return(n=ks.exec(e))?new Date(Number(n[1])):t(new Date(e)).toDate();throw new Error("Cannot convert object of type "+ss(e)+" to type Date");case"Moment":if(ts(e))return t(e);if(e instanceof Date)return t(e.valueOf());if(t.isMoment(e))return t(e);if(es(e))return n=ks.exec(e),t(n?Number(n[1]):e);throw new Error("Cannot convert object of type "+ss(e)+" to type Date");case"ISODate":if(ts(e))return new Date(e);if(e instanceof Date)return e.toISOString();if(t.isMoment(e))return e.toDate().toISOString();if(es(e))return(n=ks.exec(e))?new Date(Number(n[1])).toISOString():t(e).format();throw new Error("Cannot convert object of type "+ss(e)+" to type ISODate");case"ASPDate":if(ts(e))return"/Date("+e+")/";if(e instanceof Date||t.isMoment(e))return"/Date("+e.valueOf()+")/";if(es(e))return"/Date("+((n=ks.exec(e))?new Date(Number(n[1])).valueOf():new Date(e).valueOf())+")/";throw new Error("Cannot convert object of type "+ss(e)+" to type ASPDate");default:throw new Error("Unknown type ".concat(i))}}}function Ss(t){var n,o,r,s,a,l,h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{start:"Date",end:"Date"},u=t._idProp,d=new e({fieldId:u}),c=co(n=i(t)).call(n,(function(t){var e;return ro(e=Jn(t)).call(e,(function(e,i){return e[i]=xs(t[i],h[i]),e}),{})})).to(d);return c.all().start(),{add:function(){var e;return(e=t.getDataSet()).add.apply(e,arguments)},remove:function(){var e;return(e=t.getDataSet()).remove.apply(e,arguments)},update:function(){var e;return(e=t.getDataSet()).update.apply(e,arguments)},updateOnly:function(){var e;return(e=t.getDataSet()).updateOnly.apply(e,arguments)},forEach:ki(o=ii(d)).call(o,d),get:ki(r=d.get).call(r,d),getIds:ki(s=d.getIds).call(s,d),off:ki(a=d.off).call(a,d),on:ki(l=d.on).call(l,d),get length(){return d.length},idProp:u,type:h,rawDS:t,coercedDS:d,dispose:function(){return c.stop()}}}var Ds=_s(_s({},Object.freeze({__proto__:null,Alea:function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return Xr(e.length?e:[Tr()])},DELETE:Br,HSVToHex:fs,HSVToRGB:ms,RGBToHSV:ds,RGBToHex:us,addClassName:function(t,e){var i=t.className.split(" "),n=e.split(" ");i=Lr(i).call(i,fi(n).call(n,(function(t){return nr(i).call(i,t)<0}))),t.className=i.join(" ")},addCssText:function(t,e){var i=cs(t.style.cssText),n=cs(e),o=zr(zr({},i),n);t.style.cssText=ps(o)},addEventListener:function(t,e,i,n){var o;t.addEventListener?(void 0===n&&(n=!1),"mousewheel"===e&&nr(o=navigator.userAgent).call(o,"Firefox")>=0&&(e="DOMMouseScroll"),t.addEventListener(e,i,n)):t.attachEvent("on"+e,i)},binarySearchCustom:function(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),l=t[a],h=e(void 0===n?l[i]:l[i][n]);if(0==h)return a;-1==h?r=a+1:s=a-1,o++}return-1},binarySearchValue:function(t,e,i,n,o){var r,s,a,l,h=0,u=0,d=t.length-1;for(o=null!=o?o:function(t,e){return t==e?0:t<e?-1:1};u<=d&&h<1e4;){if(l=Math.floor(.5*(d+u)),r=t[Math.max(0,l-1)][i],s=t[l][i],a=t[Math.min(t.length-1,l+1)][i],0==o(s,e))return l;if(o(r,e)<0&&o(s,e)>0)return"before"==n?Math.max(0,l-1):l;if(o(s,e)<0&&o(a,e)>0)return"before"==n?l:Math.min(t.length-1,l+1);o(s,e)<0?u=l+1:d=l-1,h++}return-1},bridgeObject:bs,copyAndExtendArray:function(t,e){var i;return Lr(i=[]).call(i,Pr(t),[e])},copyArray:function(t){return Er(t).call(t)},deepExtend:rs,deepObjectAssign:Yr,easingFunctions:{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}},equalArray:function(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},extend:os,fillIfDefined:function t(e,i){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];for(var o in e)if(void 0!==i[o])if(null===i[o]||"object"!==Rn(i[o]))ns(e,i,o,n);else{var r=e[o],s=i[o];is(r)&&is(s)&&t(r,s,n)}},forEach:function(t,e){if(Si(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)},getAbsoluteLeft:function(t){return t.getBoundingClientRect().left},getAbsoluteRight:function(t){return t.getBoundingClientRect().right},getAbsoluteTop:function(t){return t.getBoundingClientRect().top},getScrollBarWidth:function(){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},getTarget:function(){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},getType:ss,hasParent:function(t,e){for(var i=t;i;){if(i===e)return!0;if(!i.parentNode)return!1;i=i.parentNode}return!1},hexToHSV:gs,hexToRGB:hs,insertSort:function(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},isDate:function(t){if(t instanceof Date)return!0;if(es(t)){if(Kr.exec(t))return!0;if(!isNaN(Date.parse(t)))return!0}return!1},isNumber:ts,isObject:is,isString:es,isValidHex:vs,isValidRGB:ys,isValidRGBA:function(t){return Qr.test(t)},mergeOptions:function(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"===Rn(t)},s=function(t){for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e))return!1;return!0};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 a=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])},l=e[i],h=r(n)&&!s(n),u=h?n[i]:void 0,d=u?u.enabled:void 0;if(void 0!==l){if("boolean"==typeof l)return r(t[i])||(t[i]={}),void(t[i].enabled=l);if(null===l&&!r(t[i])){if(!o(u))return;t[i]=Eo(u)}if(r(l)){var c=!0;void 0!==l.enabled?c=l.enabled:void 0!==d&&(c=u.enabled),a(t,e,i),t[i].enabled=c}}},option:ls,overrideOpacity:function(t,e){if(-1!==nr(t).call(t,"rgba"))return t;if(-1!==nr(t).call(t,"rgb")){var i=t.substr(nr(t).call(t,"(")+1).replace(")","").split(",");return"rgba("+i[0]+","+i[1]+","+i[2]+","+e+")"}var n=hs(t);return null==n?t:"rgba("+n.r+","+n.g+","+n.b+","+e+")"},parseColor:function(t,e){if(es(t)){var i=t;if(ys(i)){var n,o=co(n=i.substr(4).substr(0,i.length-5).split(",")).call(n,(function(t){return Wo(t)}));i=us(o[0],o[1],o[2])}if(!0===vs(i)){var r=gs(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},l=fs(a.h,a.s,a.v),h=fs(s.h,s.s,s.v);return{background:i,border:l,highlight:{background:h,border:l},hover:{background:h,border:l}}}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:es(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:es(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:es(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:es(t.hover)?{border:t.hover,background:t.hover}:{border:t.hover&&t.hover.border||void 0,background:t.hover&&t.hover.background||void 0}}},preventDefault:function(t){t||(t=window.event),t&&(t.preventDefault?t.preventDefault():t.returnValue=!1)},pureDeepObjectAssign:function(t){for(var e,i=arguments.length,n=new Array(i>1?i-1:0),o=1;o<i;o++)n[o-1]=arguments[o];return Yr.apply(void 0,Lr(e=[{},t]).call(e,n))},recursiveDOMDelete:function t(e){if(e)for(;!0===e.hasChildNodes();){var i=e.firstChild;i&&(t(i),e.removeChild(i))}},removeClassName:function(t,e){var i=t.className.split(" "),n=e.split(" ");i=fi(i).call(i,(function(t){return nr(n).call(n,t)<0})),t.className=i.join(" ")},removeCssText:function(t,e){var i=cs(t.style.cssText),n=cs(e);for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&delete i[o];t.style.cssText=ps(i)},removeEventListener:function(t,e,i,n){var o;t.removeEventListener?(void 0===n&&(n=!1),"mousewheel"===e&&nr(o=navigator.userAgent).call(o,"Firefox")>=0&&(e="DOMMouseScroll"),t.removeEventListener(e,i,n)):t.detachEvent("on"+e,i)},selectiveBridgeObject:function(t,e){if(null!==e&&"object"===Rn(e)){for(var i=Eo(e),n=0;n<t.length;n++)Object.prototype.hasOwnProperty.call(e,t[n])&&"object"==Rn(e[t[n]])&&(i[t[n]]=bs(e[t[n]]));return i}return null},selectiveDeepExtend:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(Si(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?rs(e[r],i[r],!1,n):ns(e,i,r,n);else{if(Si(i[r]))throw new TypeError("Arrays are not supported by deepExtend");ns(e,i,r,n)}}return e},selectiveExtend:function(t,e){if(!Si(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],l=0;l<t.length;l++){var h=t[l];a&&Object.prototype.hasOwnProperty.call(a,h)&&(e[h]=a[h])}return e},selectiveNotDeepExtend:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(Si(i))throw new TypeError("Arrays are not supported by deepExtend");for(var o in i)if(Object.prototype.hasOwnProperty.call(i,o)&&-1===nr(t).call(t,o))if(i[o]&&i[o].constructor===Object)void 0===e[o]&&(e[o]={}),e[o].constructor===Object?rs(e[o],i[o]):ns(e,i,o,n);else if(Si(i[o])){e[o]=[];for(var r=0;r<i[o].length;r++)e[o].push(i[o][r])}else ns(e,i,o,n);return e},throttle:function(t){var e=!1;return function(){e||(e=!0,requestAnimationFrame((function(){e=!1,t()})))}},toArray:as,topMost:function(t,e){var i;Si(e)||(e=[e]);var n,o=Gr(t);try{for(o.s();!(n=o.n()).done;){var r=n.value;if(r){i=r[e[0]];for(var s=1;s<e.length;s++)i&&(i=i[e[s]]);if(void 0!==i)break}}}catch(t){o.e(t)}finally{o.f()}return i},updateProperty:function(t,e,i){return t[e]!==i&&(t[e]=i,!0)}})),{},{convert:xs}),Cs=Ro.trim,Ts=l.parseFloat,Os=1/Ts(Io+"-0")!=-1/0?function(t){var e=Cs(String(t)),i=Ts(e);return 0===i&&"-"==e.charAt(0)?-0:i}:Ts;X({global:!0,forced:parseFloat!=Os},{parseFloat:Os});var Es=F.parseFloat,Is=K("JSON","stringify"),Ms=/[\uD800-\uDFFF]/g,As=/^[\uD800-\uDBFF]$/,Ps=/^[\uDC00-\uDFFF]$/,Ns=function(t,e,i){var n=i.charAt(e-1),o=i.charAt(e+1);return As.test(t)&&!Ps.test(o)||Ps.test(t)&&!As.test(n)?"\\u"+t.charCodeAt(0).toString(16):t},Rs=h((function(){return'"\\udf06\\ud834"'!==Is("\udf06\ud834")||'"\\udead"'!==Is("\udead")}));Is&&X({target:"JSON",stat:!0,forced:Rs