UNPKG

vis-timeline

Version:

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

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