35 lines
417 KiB
Text
35 lines
417 KiB
Text
|
|
/**
|
||
|
|
* vis-timeline and vis-graph2d
|
||
|
|
* https://visjs.github.io/vis-timeline/
|
||
|
|
*
|
||
|
|
* Create a fully customizable, interactive timeline with items and ranges.
|
||
|
|
*
|
||
|
|
* @version 7.7.3
|
||
|
|
* @date 2023-10-27T17:57:57.604Z
|
||
|
|
*
|
||
|
|
* @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(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("moment"),require("vis-data/peer/umd/vis-data.js")):"function"==typeof define&&define.amd?define(["exports","moment","vis-data/peer/umd/vis-data.js"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).vis=t.vis||{},t.moment,t.vis)}(this,(function(t,e,n){var o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function r(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var s=function(t){return t&&t.Math===Math&&t},a=s("object"==typeof globalThis&&globalThis)||s("object"==typeof window&&window)||s("object"==typeof self&&self)||s("object"==typeof o&&o)||function(){return this}()||o||Function("return this")(),l=function(t){try{return!!t()}catch(t){return!0}},h=!l((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),u=h,c=Function.prototype,d=c.apply,p=c.call,m="object"==typeof Reflect&&Reflect.apply||(u?p.bind(d):function(){return p.apply(d,arguments)}),f=h,v=Function.prototype,g=v.call,y=f&&v.bind.bind(g,g),b=f?y:function(t){return function(){return g.apply(t,arguments)}},w=b,k=w({}.toString),_=w("".slice),x=function(t){return _(k(t),8,-1)},C=x,S=b,D=function(t){if("Function"===C(t))return S(t)},T="object"==typeof document&&document.all,E={all:T,IS_HTMLDDA:void 0===T&&void 0!==T},O=E.all,A=E.IS_HTMLDDA?function(t){return"function"==typeof t||t===O}:function(t){return"function"==typeof t},I={},P=!l((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),M=h,N=Function.prototype.call,F=M?N.bind(N):function(){return N.apply(N,arguments)},R={},L={}.propertyIsEnumerable,j=Object.getOwnPropertyDescriptor,B=j&&!L.call({1:2},1);R.f=B?function(t){var e=j(this,t);return!!e&&e.enumerable}:L;var z,H,G=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},W=l,Y=x,V=Object,U=b("".split),X=W((function(){return!V("z").propertyIsEnumerable(0)}))?function(t){return"String"===Y(t)?U(t,""):V(t)}:V,q=function(t){return null==t},K=q,$=TypeError,Z=function(t){if(K(t))throw new $("Can't call method on "+t);return t},Q=X,J=Z,tt=function(t){return Q(J(t))},et=A,it=E.all,nt=E.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:et(t)||t===it}:function(t){return"object"==typeof t?null!==t:et(t)},ot={},rt=ot,st=a,at=A,lt=function(t){return at(t)?t:void 0},ht=function(t,e){return arguments.length<2?lt(rt[t])||lt(st[t]):rt[t]&&rt[t][e]||st[t]&&st[t][e]},ut=b({}.isPrototypeOf),ct="undefined"!=typeof navigator&&String(navigator.userAgent)||"",dt=a,pt=ct,mt=dt.process,ft=dt.Deno,vt=mt&&mt.versions||ft&&ft.version,gt=vt&&vt.v8;gt&&(H=(z=gt.split("."))[0]>0&&z[0]<4?1:+(z[0]+z[1])),!H&&pt&&(!(z=pt.match(/Edge\/(\d+)/))||z[1]>=74)&&(z=pt.match(/Chrome\/(\d+)/))&&(H=+z[1]);var yt=H,bt=yt,wt=l,kt=a.String,_t=!!Object.getOwnPropertySymbols&&!wt((function(){var t=Symbol("symbol detection");return!kt(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&bt&&bt<41})),xt=_t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Ct=ht,St=A,Dt=ut,Tt=Object,Et=xt?function(t){return"symbol"==typeof t}:function(t){var e=Ct("Symbol");return St(e)&&Dt(e.prototype,Tt(t))},Ot=String,At=function(t){try{return Ot(t)}catch(t){return"Object"}},It=A,Pt=At,Mt=TypeError,Nt=function(t){if(It(t))return t;throw new Mt(Pt(t)+" is not a function")},Ft=Nt,Rt=q,Lt=function(t,e){var i=t[e];return Rt(i)?void 0:Ft(i)},jt=F,Bt=A,zt=nt,Ht=TypeError,Gt={exports:{}},Wt=a,Yt=Object.defineProperty,Vt=function(t,e){try{Yt(Wt,t,{value:e,configurable:!0,writable:!0})}catch(i){Wt[t]=e}return e},Ut="__core-js_shared__",Xt=a[Ut]||Vt(Ut,{}),qt=Xt;(Gt.exports=function(t,e){return qt[t]||(qt[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.33.0",mode:"pure",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.0/LICENSE",source:"https://github.com/zloirock/core-js"});var Kt=Gt.exports,$t=Z,Zt=Object,Qt=function(t){return Zt($t(t)
|
||
|
|
/*! Hammer.JS - v2.0.17-rc - 2019-12-16
|
||
|
|
* http://naver.github.io/egjs
|
||
|
|
*
|
||
|
|
* Forked By Naver egjs
|
||
|
|
* Copyright (c) hammerjs
|
||
|
|
* Licensed under the MIT license */
|
||
|
|
function Kg(){return Kg=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},Kg.apply(this,arguments)}function $g(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Zg(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}Xg="function"!=typeof Object.assign?function(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),i=1;i<arguments.length;i++){var n=arguments[i];if(null!=n)for(var o in n)n.hasOwnProperty(o)&&(e[o]=n[o])}return e}:Object.assign;var Qg,Jg=Xg,ty=["","webkit","Moz","MS","ms","o"],ey="undefined"==typeof document?{style:{}}:document.createElement("div"),iy=Math.round,ny=Math.abs,oy=Date.now;function ry(t,e){for(var i,n,o=e[0].toUpperCase()+e.slice(1),r=0;r<ty.length;){if((n=(i=ty[r])?i+o:e)in t)return n;r++}}Qg="undefined"==typeof window?{}:window;var sy=ry(ey.style,"touchAction"),ay=void 0!==sy;var ly="compute",hy="auto",uy="manipulation",cy="none",dy="pan-x",py="pan-y",my=function(){if(!ay)return!1;var t={},e=Qg.CSS&&Qg.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(i){return t[i]=!e||Qg.CSS.supports("touch-action",i)})),t}(),fy="ontouchstart"in Qg,vy=void 0!==ry(Qg,"PointerEvent"),gy=fy&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),yy="touch",by="mouse",wy=25,ky=1,_y=4,xy=8,Cy=1,Sy=2,Dy=4,Ty=8,Ey=16,Oy=Sy|Dy,Ay=Ty|Ey,Iy=Oy|Ay,Py=["x","y"],My=["clientX","clientY"];function Ny(t,e,i){var n;if(t)if(t.forEach)t.forEach(e,i);else if(void 0!==t.length)for(n=0;n<t.length;)e.call(i,t[n],n,t),n++;else for(n in t)t.hasOwnProperty(n)&&e.call(i,t[n],n,t)}function Fy(t,e){return"function"==typeof t?t.apply(e&&e[0]||void 0,e):t}function Ry(t,e){return t.indexOf(e)>-1}var Ly=function(){function t(t,e){this.manager=t,this.set(e)}var e=t.prototype;return e.set=function(t){t===ly&&(t=this.compute()),ay&&this.manager.element.style&&my[t]&&(this.manager.element.style[sy]=t),this.actions=t.toLowerCase().trim()},e.update=function(){this.set(this.manager.options.touchAction)},e.compute=function(){var t=[];return Ny(this.manager.recognizers,(function(e){Fy(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))})),function(t){if(Ry(t,cy))return cy;var e=Ry(t,dy),i=Ry(t,py);return e&&i?cy:e||i?e?dy:py:Ry(t,uy)?uy:hy}(t.join(" "))},e.preventDefaults=function(t){var e=t.srcEvent,i=t.offsetDirection;if(this.manager.session.prevented)e.preventDefault();else{var n=this.actions,o=Ry(n,cy)&&!my[cy],r=Ry(n,py)&&!my[py],s=Ry(n,dy)&&!my[dy];if(o){var a=1===t.pointers.length,l=t.distance<2,h=t.deltaTime<250;if(a&&l&&h)return}if(!s||!r)return o||r&&i&Oy||s&&i&Ay?this.preventSrc(e):void 0}},e.preventSrc=function(t){this.manager.session.prevented=!0,t.preventDefault()},t}();function jy(t,e){for(;t;){if(t===e)return!0;t=t.parentNode}return!1}function By(t){var e=t.length;if(1===e)return{x:iy(t[0].clientX),y:iy(t[0].clientY)};for(var i=0,n=0,o=0;o<e;)i+=t[o].clientX,n+=t[o].clientY,o++;return{x:iy(i/e),y:iy(n/e)}}function zy(t){for(var e=[],i=0;i<t.pointers.length;)e[i]={clientX:iy(t.pointers[i].clientX),clientY:iy(t.pointers[i].clientY)},i++;return{timeStamp:oy(),pointers:e,center:By(e),deltaX:t.deltaX,deltaY:t.deltaY}}function Hy(t,e,i){i||(i=Py);var n=e[i[0]]-t[i[0]],o=e[i[1]]-t[i[1]];return Math.sqrt(n*n+o*o)}function Gy(t,e,i){i||(i=Py);var n=e[i[0]]-t[i[0]],o=e[i[1]]-t[i[1]];return 180*Math.atan2(o,n)/Math.PI}function Wy(t,e){return t===e?Cy:ny(t)>=ny(e)?t<0?Sy:Dy:e<0?Ty:Ey}function Yy(t,e,i){return{x:e/t||0,y:i/t||0}}function Vy(t,e){var i=t.session,n=e.pointers,o=n.length;i.firstInput||(i.firstInput=zy(e)),o>1&&!i.firstMultiple?i.firstMultiple=zy(e):1===o&&(i.firstMultiple=!1);var r=i.firstInput,s=i.firstMultiple,a=s?s.center:r.center,l=e.center=By(n);e.timeStamp=oy(),e.deltaTime=e.timeStamp-r.timeStamp,e.angle=Gy(a,l),e.distance=Hy(a,l),function(t,e){var i=e.center,n=t.offsetDelta||{},o=t.prevDelta||{},r=t.prevInp
|
||
|
|
//# sourceMappingURL=vis-timeline-graph2d.min.js.map
|