Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
Executable
+170
@@ -0,0 +1,170 @@
|
||||
var KR=Object.create;var oA=Object.defineProperty,JR=Object.defineProperties,ZR=Object.getOwnPropertyDescriptor,QR=Object.getOwnPropertyDescriptors,tj=Object.getOwnPropertyNames,t$=Object.getOwnPropertySymbols,ej=Object.getPrototypeOf,r$=Object.prototype.hasOwnProperty,rj=Object.prototype.propertyIsEnumerable;var e$=(F,L,J)=>L in F?oA(F,L,{enumerable:!0,configurable:!0,writable:!0,value:J}):F[L]=J,m_=(F,L)=>{for(var J in L||(L={}))r$.call(L,J)&&e$(F,J,L[J]);if(t$)for(var J of t$(L))rj.call(L,J)&&e$(F,J,L[J]);return F},mC=(F,L)=>JR(F,QR(L));var n$=(F=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(F,{get:(L,J)=>(typeof require!="undefined"?require:L)[J]}):F)(function(F){if(typeof require!="undefined")return require.apply(this,arguments);throw Error('Dynamic require of "'+F+'" is not supported')});var mI=(F,L)=>()=>(L||F((L={exports:{}}).exports,L),L.exports);var nj=(F,L,J,z)=>{if(L&&typeof L=="object"||typeof L=="function")for(let nt of tj(L))!r$.call(F,nt)&&nt!==J&&oA(F,nt,{get:()=>L[nt],enumerable:!(z=ZR(L,nt))||z.enumerable});return F};var i$=(F,L,J)=>(J=F!=null?KR(ej(F)):{},nj(L||!F||!F.__esModule?oA(J,"default",{value:F,enumerable:!0}):J,F));var o$=mI((aA,FT)=>{(function(F,L){typeof aA=="object"&&typeof FT!="undefined"?FT.exports=L():typeof define=="function"&&define.amd?define(L):F.moment=L()})(aA,function(){"use strict";var F;function L(){return F.apply(null,arguments)}function J(c){F=c}function z(c){return c instanceof Array||Object.prototype.toString.call(c)==="[object Array]"}function nt(c){return c!=null&&Object.prototype.toString.call(c)==="[object Object]"}function yt(c,b){return Object.prototype.hasOwnProperty.call(c,b)}function St(c){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(c).length===0;var b;for(b in c)if(yt(c,b))return!1;return!0}function dt(c){return c===void 0}function Gt(c){return typeof c=="number"||Object.prototype.toString.call(c)==="[object Number]"}function Wt(c){return c instanceof Date||Object.prototype.toString.call(c)==="[object Date]"}function In(c,b){var k=[],D,M=c.length;for(D=0;D<M;++D)k.push(b(c[D],D));return k}function Qe(c,b){for(var k in b)yt(b,k)&&(c[k]=b[k]);return yt(b,"toString")&&(c.toString=b.toString),yt(b,"valueOf")&&(c.valueOf=b.valueOf),c}function zr(c,b,k,D){return wc(c,b,k,D,!0).utc()}function Mi(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function Nt(c){return c._pf==null&&(c._pf=Mi()),c._pf}var an;Array.prototype.some?an=Array.prototype.some:an=function(c){var b=Object(this),k=b.length>>>0,D;for(D=0;D<k;D++)if(D in b&&c.call(this,b[D],D,b))return!0;return!1};function Pe(c){var b=null,k=!1,D=c._d&&!isNaN(c._d.getTime());if(D&&(b=Nt(c),k=an.call(b.parsedDateParts,function(M){return M!=null}),D=b.overflow<0&&!b.empty&&!b.invalidEra&&!b.invalidMonth&&!b.invalidWeekday&&!b.weekdayMismatch&&!b.nullInput&&!b.invalidFormat&&!b.userInvalidated&&(!b.meridiem||b.meridiem&&k),c._strict&&(D=D&&b.charsLeftOver===0&&b.unusedTokens.length===0&&b.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(c))c._isValid=D;else return D;return c._isValid}function sn(c){var b=zr(NaN);return c!=null?Qe(Nt(b),c):Nt(b).userInvalidated=!0,b}var le=L.momentProperties=[],ye=!1;function se(c,b){var k,D,M,W=le.length;if(dt(b._isAMomentObject)||(c._isAMomentObject=b._isAMomentObject),dt(b._i)||(c._i=b._i),dt(b._f)||(c._f=b._f),dt(b._l)||(c._l=b._l),dt(b._strict)||(c._strict=b._strict),dt(b._tzm)||(c._tzm=b._tzm),dt(b._isUTC)||(c._isUTC=b._isUTC),dt(b._offset)||(c._offset=b._offset),dt(b._pf)||(c._pf=Nt(b)),dt(b._locale)||(c._locale=b._locale),W>0)for(k=0;k<W;k++)D=le[k],M=b[D],dt(M)||(c[D]=M);return c}function fi(c){se(this,c),this._d=new Date(c._d!=null?c._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),ye===!1&&(ye=!0,L.updateOffset(this),ye=!1)}function kr(c){return c instanceof fi||c!=null&&c._isAMomentObject!=null}function ho(c){L.suppressDeprecationWarnings===!1&&typeof console!="undefined"&&console.warn&&console.warn("Deprecation warning: "+c)}function fr(c,b){var k=!0;return Qe(function(){if(L.deprecationHandler!=null&&L.deprecationHandler(null,c),k){var D=[],M,W,it,vt=arguments.length;for(W=0;W<vt;W++){if(M="",typeof arguments[W]=="object"){M+=`
|
||||
[`+W+"] ";for(it in arguments[0])yt(arguments[0],it)&&(M+=it+": "+arguments[0][it]+", ");M=M.slice(0,-2)}else M=arguments[W];D.push(M)}ho(c+`
|
||||
Arguments: `+Array.prototype.slice.call(D).join("")+`
|
||||
`+new Error().stack),k=!1}return b.apply(this,arguments)},b)}var oc={};function $u(c,b){L.deprecationHandler!=null&&L.deprecationHandler(c,b),oc[c]||(ho(b),oc[c]=!0)}L.suppressDeprecationWarnings=!1,L.deprecationHandler=null;function Tr(c){return typeof Function!="undefined"&&c instanceof Function||Object.prototype.toString.call(c)==="[object Function]"}function ad(c){var b,k;for(k in c)yt(c,k)&&(b=c[k],Tr(b)?this[k]=b:this["_"+k]=b);this._config=c,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function Te(c,b){var k=Qe({},c),D;for(D in b)yt(b,D)&&(nt(c[D])&&nt(b[D])?(k[D]={},Qe(k[D],c[D]),Qe(k[D],b[D])):b[D]!=null?k[D]=b[D]:delete k[D]);for(D in c)yt(c,D)&&!yt(b,D)&&nt(c[D])&&(k[D]=Qe({},k[D]));return k}function Ni(c){c!=null&&this.set(c)}var ie;Object.keys?ie=Object.keys:ie=function(c){var b,k=[];for(b in c)yt(c,b)&&k.push(b);return k};var Re={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function xe(c,b,k){var D=this._calendar[c]||this._calendar.sameElse;return Tr(D)?D.call(b,k):D}function Ae(c,b,k){var D=""+Math.abs(c),M=b-D.length,W=c>=0;return(W?k?"+":"":"-")+Math.pow(10,Math.max(0,M)).toString().substr(1)+D}var je=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Ur=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,pi={},Ue={};function Dt(c,b,k,D){var M=D;typeof D=="string"&&(M=function(){return this[D]()}),c&&(Ue[c]=M),b&&(Ue[b[0]]=function(){return Ae(M.apply(this,arguments),b[1],b[2])}),k&&(Ue[k]=function(){return this.localeData().ordinal(M.apply(this,arguments),c)})}function Mu(c){return c.match(/\[[\s\S]/)?c.replace(/^\[|\]$/g,""):c.replace(/\\/g,"")}function un(c){var b=c.match(je),k,D;for(k=0,D=b.length;k<D;k++)Ue[b[k]]?b[k]=Ue[b[k]]:b[k]=Mu(b[k]);return function(M){var W="",it;for(it=0;it<D;it++)W+=Tr(b[it])?b[it].call(M,c):b[it];return W}}function ya(c,b){return c.isValid()?(b=ei(b,c.localeData()),pi[b]=pi[b]||un(b),pi[b](c)):c.localeData().invalidDate()}function ei(c,b){var k=5;function D(M){return b.longDateFormat(M)||M}for(Ur.lastIndex=0;k>=0&&Ur.test(c);)c=c.replace(Ur,D),Ur.lastIndex=0,k-=1;return c}var sd={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function Kg(c){var b=this._longDateFormat[c],k=this._longDateFormat[c.toUpperCase()];return b||!k?b:(this._longDateFormat[c]=k.match(je).map(function(D){return D==="MMMM"||D==="MM"||D==="DD"||D==="dddd"?D.slice(1):D}).join(""),this._longDateFormat[c])}var gs="Invalid date";function No(){return this._invalidDate}var ac="%d",ba=/\d{1,2}/;function Ro(c){return this._ordinal.replace("%d",c)}var Jg={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function ys(c,b,k,D){var M=this._relativeTime[k];return Tr(M)?M(c,b,k,D):M.replace(/%d/i,c)}function ri(c,b){var k=this._relativeTime[c>0?"future":"past"];return Tr(k)?k(b):k.replace(/%s/i,b)}var ud={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function tr(c){return typeof c=="string"?ud[c]||ud[c.toLowerCase()]:void 0}function _e(c){var b={},k,D;for(D in c)yt(c,D)&&(k=tr(D),k&&(b[k]=c[D]));return b}var Ge={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function xr(c){var b=[],k;for(k in c)yt(c,k)&&b.push({unit:k,priority:Ge[k]});return b.sort(function(D,M){return D.priority-M.priority}),b}var we=/\d/,be=/\d\d/,Oe=/\d{3}/,wr=/\d{4}/,$e=/[+-]?\d{6}/,Xt=/\d\d?/,Le=/\d\d\d\d?/,er=/\d\d\d\d\d\d?/,bs=/\d{1,3}/,Fe=/\d{1,4}/,Pn=/[+-]?\d{1,6}/,fo=/\d+/,An=/[+-]?\d+/,sc=/Z|[+-]\d\d:?\d\d/gi,Ri=/Z|[+-]\d\d(?::?\d\d)?/gi,ld=/[+-]?\d+(\.\d{1,3})?/,vi=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,rr=/^[1-9]\d?/,wa=/^([1-9]\d|
Line truncated
|
||||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ci(l,h){return B0(l)||rE(l,h)||ew(l,h)||hE()}function dE(l){if(vh(l))return bh(l)}function zS(l){if(typeof iu!="undefined"&&F0(l)!=null||l["@@iterator"]!=null)return zn(l)}function US(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
||||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function xn(l){return dE(l)||zS(l)||ew(l)||US()}var fE=D1,wh=z(fE),pE=Yr,vE=pE("Array","concat"),mE=Fe,VS=vE,km=Array.prototype,XS=function(l){var h=l.concat;return l===km||mE(km,l)&&h===km.concat?VS:h},gE=XS,qS=gE,KS=qS,If=z(KS),rw=YS,Pl=z(rw),JS=er,Pf=ye,Xa=Vs,nw=D,iw=_n,Af=Pf([].concat),Tm=JS("Reflect","ownKeys")||function(h){var g=Xa.f(iw(h)),y=nw.f;return y?Af(g,y(h)):g},ow=Mt,aw=Tm;ow({target:"Reflect",stat:!0},{ownKeys:aw});var ZS=Oe,QS=ZS.Reflect.ownKeys,tk=QS,_h=tk,sw=_h,uw=z(sw),yE=vr,fn=z(yE),xm=Mt,bE=ir,$f=wo,wE=dt,_E=wE(function(){$f(1)});xm({target:"Object",stat:!0,forced:_E},{keys:function(h){return $f(bE(h))}});var lw=Oe,cw=lw.Object.keys,SE=cw,kE=SE,Om=kE,Mf=z(Om),ek=hl.forEach,TE=cm,xE=TE("forEach"),OE=xE?[].forEach:function(h){return ek(this,h,arguments.length>1?arguments[1]:void 0)},EE=Mt,Em=OE;EE({target:"Array",proto:!0,forced:[].forEach!==Em},{forEach:Em});var Nf=Yr,rk=Nf("Array","forEach"),nk=rk,ik=nk,DE=Vr,ok=or,ak=Fe,Oi=ik,Rf=Array.prototype,sk={DOMTokenList:!0,NodeList:!0},uk=function(l){var h=l.forEach;return l===Rf||ak(Rf,l)&&h===Rf.forEach||ok(sk,DE(l))?Oi:h},Dm=uk,qa=z(Dm),Ka=Mt,lk=ye,CE=go,IE=lk([].reverse),ck=[1,2];Ka({target:"Array",proto:!0,forced:String(ck)===String(ck.reverse())},{reverse:function(){return CE(this)&&(this.length=this.length),IE(this)}});var Sh=Yr,PE=Sh("Array","reverse"),hk=Fe,Ie=PE,Al=Array.prototype,AE=function(l){var h=l.reverse;return l===Al||hk(Al,l)&&h===Al.reverse?Ie:h},$E=AE,dk=$E,fk=dk,ME=z(fk),jf=De,NE=TypeError,$l=function(l,h){if(!delete l[h])throw new NE("Cannot delete property "+jf(h)+" of "+jf(l))},Lf=Mt,Ff=ir,kh=Ac,Cm=Oc,Yf=Lr,Im=TS,hw=qu,RE=el,Pm=As,Am=$l,jE=Wi,LE=jE("splice"),Un=Math.max,$m=Math.min;Lf({target:"Array",proto:!0,forced:!LE},{splice:function(h,g){var y=Ff(this),w=Yf(y),T=kh(h,w),I=arguments.length,R,$,B,V,et,Z;for(I===0?R=$=0:I===1?(R=0,$=w-T):(R=I-2,$=$m(Un(Cm(g),0),w-T)),hw(w+R-$),B=RE(y,$),V=0;V<$;V++)et=T+V,et in y&&Pm(B,V,y[et]);if(B.length=$,R<$){for(V=T;V<w-$;V++)et=V+$,Z=V+R,et in y?y[Z]=y[et]:Am(y,Z);for(V=w;V>w-$+R;V--)Am(y,V-1)}else if(R>$)for(V=w-$;V>T;V--)et=V+$-1,Z=V+R-1,et in y?y[Z]=y[et]:Am(y,Z);for(V=0;V<R;V++)y[V+T]=arguments[V+2];return Im(y,w-$+R),B}});var FE=Yr,YE=FE("Array","splice"),pk=Fe,vk=YE,Mm=Array.prototype,Ei=function(l){var h=l.splice;return l===Mm||pk(Mm,l)&&h===Mm.splice?vk:h},BE=Ei,HE=BE,Nm=HE,mk=z(Nm),dw=je,fw=ye,pw=Ue,vw=dt,Bf=wo,Eo=D,Qi=Dt,Th=ir,na=ba,to=Object.assign,Hf=Object.defineProperty,GE=fw([].concat),gk=!to||vw(function(){if(dw&&to({b:1},to(Hf({},"a",{enumerable:!0,get:function(){Hf(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var l={},h={},g=Symbol("assign detection"),y="abcdefghijklmnopqrst";return l[g]=7,y.split("").forEach(function(w){h[w]=w}),to({},l)[g]!==7||Bf(to({},h)).join("")!==y})?function(h,g){for(var y=Th(h),w=arguments.length,T=1,I=Eo.f,R=Qi.f;w>T;)for(var $=na(arguments[T++]),B=I?GE(Bf($),I($)):Bf($),V=B.length,et=0,Z;V>et;)Z=B[et++],(!dw||pw(R,$,Z))&&(y[Z]=$[Z]);return y}:to,xh=Mt,ia=gk;xh({target:"Object",stat:!0,arity:2,forced:Object.assign!==ia},{assign:ia});var Ml=Oe,Gf=Ml.Object.assign,Rm=Gf,jm=Rm,mw=jm,Lm=z(mw),Fm=Mt,fu=dt,oa=ir,pu=Hv,Oh=Qc,Ym=fu(function(){pu(1)});Fm({target:"Object",stat:!0,forced:Ym,sham:!Oh},{getPrototypeOf:function(h){return pu(oa(h))}});var yk=Oe,bk=yk.Object.getPrototypeOf,Wf=bk,gw=Wf,Nl=Mt,On=je,Rl=Uo;Nl({target:"Object",stat:!0,sham:!On},{create:Rl});var mr=Oe,hi=mr.Object,Bm=function(h,g){return hi.create(h,g)},zf=Bm,Eh=zf,jl=Eh,Ll=z(jl),Di=Oe,vu=Nt;Di.JSON||(Di.JSON={stringify:JSON.stringify});var Uf=function(h,g,y){return vu(Di.JSON.stringify,null,arguments)},yw=Uf,Dh=yw,eo=Dh,Fl=z(eo),Yl=typeof Bun=="function"&&Bun&&typeof Bun.version=="string",Bl=TypeError,aa=function(l,h){if(l<h)throw new Bl("Not enough arguments");return l},Hm=St,wk=Nt,Gm=Re,Hl=Yl,_k=Pn,Sk=qc,WE=aa,zE=Hm.Function,Vf=/MSIE .\./.test(_k)||Hl&&function(){var l=Hm.Bun.version.split(".");return l.length<3||l[0]==="0"&&(l[1]<3||l[1]==="3"&&l[2]==="0")}(),Ch=function(l,h){var g=h?2:1;return Vf?function(y,w){var T=WE(arguments.length,1)>g,I=Gm(y)?y:zE(y),R=T?Sk(arguments,g):[],$=T?function(){wk(I,this,R)}:I;return h?l($,w):l($)}:l},Gl=Mt,Wm=St,Ih=Ch,Ja=Ih(Wm.setInterval,!0);Gl({global:!0,bind:!0,forced:Wm.setInterval!==Ja},{setInterval:Ja});var kk=Mt,Tk=St,Ph=Ch,ro=Ph(Tk.setTimeout,!0);kk({global:!0,bind:!0,forced:Tk.setTimeout!==ro},{setTimeout:ro});var bw=Oe,Xf=bw.setTimeout,ww=Xf,_w=z(ww),Sw={exports:{}};(function(l){function h(y){if(y)return g(y);this._callbacks=new Map}function g(y){return Object.assign(y,h.prototype),y._callbacks=new Map,y}h.prototype.on=function(y,w){var I;let T=(I=this._callbacks.get(y))!=null?I:[];return T.push(w),this._callbacks.set(y,T),this},h.prototype.once=function(y,w){let T=(...I)=>{this.off(y,T),w.apply(this,I)};return T.fn=w,this.on(y,T),this},h.prototype.off=function(y,w){if(y===void 0&&w===void 0)return this._callbacks.clear(),th
Line truncated
|
||||
`+g+` AT
|
||||
`;return function(){var w=new Error("get-stack-trace"),T=w&&w.stack?w.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",I=window.console&&(window.console.warn||window.console.log);return I&&I.call(window.console,y,T),l.apply(this,arguments)}}var Yk=Fk(function(l,h,g){for(var y=Object.keys(h),w=0;w<y.length;)(!g||g&&l[y[w]]===void 0)&&(l[y[w]]=h[y[w]]),w++;return l},"extend","Use `assign`."),eD=Fk(function(l,h){return Yk(l,h,!0)},"merge","Use `assign`.");function rD(l,h,g){var y=h.prototype,w;w=l.prototype=Object.create(y),w.constructor=l,w._super=y,g&&Wl(w,g)}function Bk(l,h){return function(){return l.apply(h,arguments)}}var cg=function(){var l=function(g,y){return y===void 0&&(y={}),new Bh(g,en({recognizers:Nw.concat()},y))};return l.VERSION="2.0.17-rc",l.DIRECTION_ALL=Zf,l.DIRECTION_DOWN=Kl,l.DIRECTION_LEFT=Nh,l.DIRECTION_RIGHT=Jf,l.DIRECTION_UP=ql,l.DIRECTION_HORIZONTAL=Xn,l.DIRECTION_VERTICAL=io,l.DIRECTION_NONE=Kf,l.DIRECTION_DOWN=Kl,l.INPUT_START=Dn,l.INPUT_MOVE=rs,l.INPUT_END=Sr,l.INPUT_CANCEL=Vn,l.STATE_POSSIBLE=ng,l.STATE_BEGAN=oo,l.STATE_CHANGED=Fh,l.STATE_ENDED=_u,l.STATE_RECOGNIZED=ao,l.STATE_CANCELLED=lp,l.STATE_FAILED=hr,l.Manager=Bh,l.Input=la,l.TouchAction=Zm,l.TouchInput=tg,l.MouseInput=Iw,l.PointerEventInput=Qm,l.TouchMouseInput=jh,l.SingleTouchInput=tD,l.Recognizer=ha,l.AttrRecognizer=qn,l.Tap=ag,l.Pan=Mw,l.Swipe=Yh,l.Pinch=Mk,l.Rotate=cp,l.Press=Nk,l.on=Co,l.off=op,l.each=ua,l.merge=eD,l.extend=Yk,l.bindFn=Bk,l.assign=Wl,l.inherit=rD,l.bindFn=Bk,l.prefixed=Qa,l.toArray=ca,l.inArray=Io,l.uniqueArray=wu,l.splitStr=Jl,l.boolOrFn=Qf,l.hasParent=tp,l.addEventListeners=Co,l.removeEventListeners=op,l.defaults=Wl({},hp,{preset:Nw}),l}(),Hk=cg;function Rw(l,h){var g=typeof wh!="undefined"&&bm(l)||l["@@iterator"];if(!g){if(fn(l)||(g=Gk(l))||h&&l&&typeof l.length=="number"){g&&(l=g);var y=0,w=function(){};return{s:w,n:function(){return y>=l.length?{done:!0}:{done:!1,value:l[y++]}},e:function(B){throw B},f:w}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
||||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var T=!0,I=!1,R;return{s:function(){g=g.call(l)},n:function(){var B=g.next();return T=B.done,B},e:function(B){I=!0,R=B},f:function(){try{!T&&g.return!=null&&g.return()}finally{if(I)throw R}}}}function Gk(l,h){var g;if(l){if(typeof l=="string")return jw(l,h);var y=Pl(g=Object.prototype.toString.call(l)).call(g,8,-1);if(y==="Object"&&l.constructor&&(y=l.constructor.name),y==="Map"||y==="Set")return Ji(l);if(y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y))return jw(l,h)}}function jw(l,h){(h==null||h>l.length)&&(h=l.length);for(var g=0,y=new Array(h);g<h;g++)y[g]=l[g];return y}var hg=wh("DELETE");function Wk(l){for(var h,g=arguments.length,y=new Array(g>1?g-1:0),w=1;w<g;w++)y[w-1]=arguments[w];return Lw.apply(void 0,If(h=[{},l]).call(h,y))}function Lw(){var l=dp.apply(void 0,arguments);return fp(l),l}function dp(){for(var l=arguments.length,h=new Array(l),g=0;g<l;g++)h[g]=arguments[g];if(h.length<2)return h[0];if(h.length>2){var y;return dp.apply(void 0,If(y=[Lw(h[0],h[1])]).call(y,xn(Pl(h).call(h,2))))}var w=h[0],T=h[1];if(w instanceof Date&&T instanceof Date)return w.setTime(T.getTime()),w;var I=Rw(uw(T)),R;try{for(I.s();!(R=I.n()).done;){var $=R.value;Object.prototype.propertyIsEnumerable.call(T,$)&&(T[$]===hg?delete w[$]:w[$]!==null&&T[$]!==null&&typeof w[$]=="object"&&typeof T[$]=="object"&&!fn(w[$])&&!fn(T[$])?w[$]=dp(w[$],T[$]):w[$]=Fw(T[$]))}}catch(B){I.e(B)}finally{I.f()}return w}function Fw(l){return fn(l)?Zr(l).call(l,function(h){return Fw(h)}):typeof l=="object"&&l!==null?l instanceof Date?new Date(l.getTime()):dp({},l):l}function fp(l){for(var h=0,g=Mf(l);h<g.length;h++){var y=g[h];l[y]===hg?delete l[y]:typeof l[y]=="object"&&l[y]!==null&&fp(l[y])}}function os(){var l=function(){};return{on:l,off:l,destroy:l,emit:l,get(){return{set:l}}}}var nD=typeof window!="undefined"?window.Hammer||Hk:function(){return os()};function as(l){var h=this,g;this._cleanupQueue=[],this.active=!1,this._dom={container:l,overlay:document.createElement("div")},this._dom.overlay.classList.add("vis-overlay"),this._dom.container.appendChild(this._dom.overlay),this._cleanupQueue.push(function(){h._dom.overlay.parentNode.removeChild(h._dom.overlay)});var y=nD(this._dom.overlay);y.on("tap",za(g=this._onTapOverlay).call(g,this)),this._cleanupQueue.push(function(){y.destroy()});var w=["tap","doubletap","press","pinch","pan","panstart","panmove","panend"];qa(w).call(w,function(T){y.on(T,function(I){I.srcEvent.stopPropagation()})}),document&&document.body&&(this._onClick=function(T){iD(T.target,l)||h.deactivate()},document.body.addEventListener("click",this._onClick),this._cleanupQueue.push(function(){document.body.removeEventListener("click",h._onClick)})),this._escListener=function(T){("key"in T?T.key==="Escape":T.keyCode===27)&&h.deactivate()}}zm(as.prototype),as.current=null,as.prototype.destroy=function(){var l,h;this.deactivate();var g=Rw(ME(l=mk(h=this._cleanupQueue).call(h,0)).call(l)),y;try{for(g.s();!(y=g.n()).done;){var w=y.value;w()}}catch(T){g.e(T)}finally{g.f()}},as.prototype.activate=function(){as.current&&as.current.deactivate(),as.current=this,this.active=!0,this._dom.overlay.style.display="none",this._dom.container.classList.add("vis-active"),this.emit("change"),this.emit("activate"),document.body.addEventListener("keydown",this._escListener)},as.prototype.deactivate=function(){this.active=!1,this._dom.overlay.style.display="block",this._dom.container.classList.remove("vis-active"),document.body.removeEventListener("keydown",this._escListener),this.emit("change"),this.emit("deactivate")},as.prototype._onTapOverlay=function(l){this.activate(),l.srcEvent.stopPropagation()};function iD(l,h){for(;l;){if(l===h)return!0;l=l.parentNode}return!1}var zk=tl,oD=De,aD=TypeError,Yw=function(l){if(zk(l))return l;throw new aD(oD(l)+" is not a constructor")},sD=Mt,Po=er,pp=Nt,uD=sm,Hh=Yw,vp=_n,Gh=be,dg=Uo,Bw=dt,fg=Po("Reflect","construct"),pg=Object.prototype,lD=[].push,Uk=Bw(function(){function l(){}return!(fg(function(){},[],l)instanceof l)}),rn=!Bw(function(){fg(function(){})}),mp=Uk||rn;sD({target:"Reflect",stat:!0,forced:mp,sham:mp},{construct:function(h,g){Hh(h),vp(g);var y=arguments.length<3?h:Hh(arguments[2]);if(rn&&!Uk)return fg(h,g,y);if(h===y){switch(g.length){case 0:return new h;case 1:return new h(g[0]);case 2:return new h(g[0],g[1]);case 3:return new h(g[0],g[1],g[2]);case 4:return new h(g[0],g[1],g[2],g[3])}var w=[null];return pp(lD,w,g),new(pp(uD,h,w))}var T=y.prototype,I=dg(Gh(T)?T:pg),R=pp(h,I,g);return Gh(R)?R:I}});var Wh=Oe,Vk=Wh.Reflect.construct,Xk=Vk,ss=Xk,Hw=ss,Su=z(Hw),gp=Oe,zh=gp.Object.getOwnPropertySymbols,ku=zh,qk=ku,Gw=qk,H=z(Gw),vg={exports:{}},cD=Mt,Kk=dt,Jk=_e,Zk=xe.f,Qk=je,tT=!Qk||Kk(function(){Zk(1)});cD({target:"Object",stat:!0,forced:tT,sham:!Qk},{getOwnPropertyDescriptor:function(h,g){return Zk(Jk(h),g)}});var hD=Oe,yp=hD.Object,Ww=vg.exports=function(h,g){return yp.getOwnPropertyDescripto
Line truncated
|
||||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var T=!0,I=!1,R;return{s:function(){g=g.call(l)},n:function(){var B=g.next();return T=B.done,B},e:function(B){I=!0,R=B},f:function(){try{!T&&g.return!=null&&g.return()}finally{if(I)throw R}}}}function jR(l,h){var g;if(l){if(typeof l=="string")return zA(l,h);var y=Pl(g=Object.prototype.toString.call(l)).call(g,8,-1);if(y==="Object"&&l.constructor&&(y=l.constructor.name),y==="Map"||y==="Set")return Ji(l);if(y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y))return zA(l,h)}}function zA(l,h){(h==null||h>l.length)&&(h=l.length);for(var g=0,y=new Array(h);g<h;g++)y[g]=l[g];return y}var ZP=function(l){function h(g){L(this,h),this._pairs=g}return kl(h,[{key:l,value:ma.mark(function g(){var y,w,T,I,R;return ma.wrap(function(B){for(;;)switch(B.prev=B.next){case 0:y=id(this._pairs),B.prev=1,y.s();case 3:if((w=y.n()).done){B.next=9;break}return T=ci(w.value,2),I=T[0],R=T[1],B.next=7,[I,R];case 7:B.next=3;break;case 9:B.next=14;break;case 11:B.prev=11,B.t0=B.catch(1),y.e(B.t0);case 14:return B.prev=14,y.f(),B.finish(14);case 17:case"end":return B.stop()}},g,this,[[1,11,14,17]])})},{key:"entries",value:ma.mark(function g(){var y,w,T,I,R;return ma.wrap(function(B){for(;;)switch(B.prev=B.next){case 0:y=id(this._pairs),B.prev=1,y.s();case 3:if((w=y.n()).done){B.next=9;break}return T=ci(w.value,2),I=T[0],R=T[1],B.next=7,[I,R];case 7:B.next=3;break;case 9:B.next=14;break;case 11:B.prev=11,B.t0=B.catch(1),y.e(B.t0);case 14:return B.prev=14,y.f(),B.finish(14);case 17:case"end":return B.stop()}},g,this,[[1,11,14,17]])})},{key:"keys",value:ma.mark(function g(){var y,w,T,I;return ma.wrap(function($){for(;;)switch($.prev=$.next){case 0:y=id(this._pairs),$.prev=1,y.s();case 3:if((w=y.n()).done){$.next=9;break}return T=ci(w.value,1),I=T[0],$.next=7,I;case 7:$.next=3;break;case 9:$.next=14;break;case 11:$.prev=11,$.t0=$.catch(1),y.e($.t0);case 14:return $.prev=14,y.f(),$.finish(14);case 17:case"end":return $.stop()}},g,this,[[1,11,14,17]])})},{key:"values",value:ma.mark(function g(){var y,w,T,I;return ma.wrap(function($){for(;;)switch($.prev=$.next){case 0:y=id(this._pairs),$.prev=1,y.s();case 3:if((w=y.n()).done){$.next=9;break}return T=ci(w.value,2),I=T[1],$.next=7,I;case 7:$.next=3;break;case 9:$.next=14;break;case 11:$.prev=11,$.t0=$.catch(1),y.e($.t0);case 14:return $.prev=14,y.f(),$.finish(14);case 17:case"end":return $.stop()}},g,this,[[1,11,14,17]])})},{key:"toIdArray",value:function(){var y;return Zr(y=xn(this._pairs)).call(y,function(w){return w[0]})}},{key:"toItemArray",value:function(){var y;return Zr(y=xn(this._pairs)).call(y,function(w){return w[1]})}},{key:"toEntryArray",value:function(){return xn(this._pairs)}},{key:"toObjectMap",value:function(){var y=Ll(null),w=id(this._pairs),T;try{for(w.s();!(T=w.n()).done;){var I=ci(T.value,2),R=I[0],$=I[1];y[R]=$}}catch(B){w.e(B)}finally{w.f()}return y}},{key:"toMap",value:function(){return new CA(this._pairs)}},{key:"toIdSet",value:function(){return new dI(this.toIdArray())}},{key:"toItemSet",value:function(){return new dI(this.toItemArray())}},{key:"cache",value:function(){return new h(xn(this._pairs))}},{key:"distinct",value:function(y){var w=new dI,T=id(this._pairs),I;try{for(T.s();!(I=T.n()).done;){var R=ci(I.value,2),$=R[0],B=R[1];w.add(y(B,$))}}catch(V){T.e(V)}finally{T.f()}return w}},{key:"filter",value:function(y){var w=this._pairs;return new h({[d_](){return ma.mark(function T(){var I,R,$,B,V;return ma.wrap(function(Z){for(;;)switch(Z.prev=Z.next){case 0:I=id(w),Z.prev=1,I.s();case 3:if((R=I.n()).done){Z.next=10;break}if($=ci(R.value,2),B=$[0],V=$[1],!y(V,B)){Z.next=8;break}return Z.next=8,[B,V];case 8:Z.next=3;break;case 10:Z.next=15;break;case 12:Z.prev=12,Z.t0=Z.catch(1),I.e(Z.t0);case 15:return Z.prev=15,I.f(),Z.finish(15);case 18:case"end":return Z.stop()}},T,null,[[1,12,15,18]])})()}})}},{key:"forEach",value:function(y){var w=id(this._pairs),T;try{for(w.s();!(T=w.n()).done;){var I=ci(T.value,2),R=I[0],$=I[1];y($,R)}}catch(B){w.e(B)}finally{w.f()}}},{key:"map",value:function(y){var w=this._pairs;return new h({[d_](){return ma.mark(function T(){var I,R,$,B,V;return ma.wrap(function(Z){for(;;)switch(Z.prev=Z.next){case 0:I=id(w),Z.prev=1,I.s();case 3:if((R=I.n()).done){Z.next=9;break}return $=ci(R.value,2),B=$[0],V=$[1],Z.next=7,[B,y(V,B)];case 7:Z.next=3;break;case 9:Z.next=14;break;case 11:Z.prev=11,Z.t0=Z.catch(1),I.e(Z.t0);case 14:return Z.prev=14,I.f(),Z.finish(14);case 17:case"end":return Z.stop()}},T,null,[[1,11,14,17]])})()}})}},{key:"max",value:function(y){var w=JP(this._pairs),T=w.next();if(T.done)return null;for(var I=T.value[1],R=y(T.value[1],T.value[0]);!(T=w.next()).done;){var $=ci(T.value,2),B=$[0],V=$[1],et=y(V,B);et>R&&(R=et,I=V)}return I}},{key:"min",value:function(y){var w=JP(this._pairs),T=w.next();if(T.done)return null;for(var I=T.value[1],R=y(T.value[1],T.value[0]);!(T=w.next()).done;){var $=ci(T.value,2),B=$[0],V=$[1],et=y(V,B);et<R&&(R=et,I=V
Line truncated
|
||||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var T=!0,I=!1,R;return{s:function(){g=g.call(l)},n:function(){var B=g.next();return T=B.done,B},e:function(B){I=!0,R=B},f:function(){try{!T&&g.return!=null&&g.return()}finally{if(I)throw R}}}}function LR(l,h){var g;if(l){if(typeof l=="string")return XA(l,h);var y=Pl(g=Object.prototype.toString.call(l)).call(g,8,-1);if(y==="Object"&&l.constructor&&(y=l.constructor.name),y==="Map"||y==="Set")return Ji(l);if(y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y))return XA(l,h)}}function XA(l,h){(h==null||h>l.length)&&(h=l.length);for(var g=0,y=new Array(h);g<h;g++)y[g]=l[g];return y}function FR(l){var h=YR();return function(){var y=so(l),w;if(h){var T=so(this).constructor;w=Su(y,arguments,T)}else w=y.apply(this,arguments);return Mr(this,w)}}function YR(){if(typeof Reflect=="undefined"||!Su||Su.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Su(Boolean,[],function(){})),!0}catch(l){return!1}}function BR(l,h){return l[h]==null&&(l[h]=bR()),l}var qA=function(l){kg(g,l);var h=FR(g);function g(y,w){var T;return L(this,g),T=h.call(this),qi(Vh(T),"_queue",null),y&&!fn(y)&&(w=y,y=[]),T._options=w||{},T._data=new CA,T.length=0,T._idProp=T._options.fieldId||"id",y&&y.length&&T.add(y),T.setOptions(w),T}return kl(g,[{key:"idProp",get:function(){return this._idProp}},{key:"setOptions",value:function(w){w&&w.queue!==void 0&&(w.queue===!1?this._queue&&(this._queue.destroy(),this._queue=null):(this._queue||(this._queue=GA.extend(this,{replace:["add","update","remove"]})),w.queue&&typeof w.queue=="object"&&this._queue.setOptions(w.queue)))}},{key:"add",value:function(w,T){var I=this,R=[],$;if(fn(w)){var B=Zr(w).call(w,function(Z){return Z[I._idProp]});if(nN(B).call(B,function(Z){return I._data.has(Z)}))throw new Error("A duplicate id was found in the parameter array.");for(var V=0,et=w.length;V<et;V++)$=this._addItem(w[V]),R.push($)}else if(w&&typeof w=="object")$=this._addItem(w),R.push($);else throw new Error("Unknown dataType");return R.length&&this._trigger("add",{items:R},T),R}},{key:"update",value:function(w,T){var I=this,R=[],$=[],B=[],V=[],et=this._idProp,Z=function(ae){var he=ae[et];if(he!=null&&I._data.has(he)){var Qn=ae,Gr=Lm({},I._data.get(he)),$i=I._updateItem(Qn);$.push($i),V.push(Qn),B.push(Gr)}else{var Wr=I._addItem(ae);R.push(Wr)}};if(fn(w))for(var rt=0,xt=w.length;rt<xt;rt++)w[rt]&&typeof w[rt]=="object"?Z(w[rt]):console.warn("Ignoring input item, which is not an object at index "+rt);else if(w&&typeof w=="object")Z(w);else throw new Error("Unknown dataType");if(R.length&&this._trigger("add",{items:R},T),$.length){var Ht={items:$,oldData:B,data:V};this._trigger("update",Ht,T)}return If(R).call(R,$)}},{key:"updateOnly",value:function(w,T){var I,R=this;fn(w)||(w=[w]);var $=Zr(I=Zr(w).call(w,function(V){var et=R._data.get(V[R._idProp]);if(et==null)throw new Error("Updating non-existent items is not allowed.");return{oldData:et,update:V}})).call(I,function(V){var et=V.oldData,Z=V.update,rt=et[R._idProp],xt=Wk(et,Z);return R._data.set(rt,xt),{id:rt,oldData:et,updatedData:xt}});if($.length){var B={items:Zr($).call($,function(V){return V.id}),oldData:Zr($).call($,function(V){return V.oldData}),data:Zr($).call($,function(V){return V.updatedData})};return this._trigger("update",B,T),B.items}else return[]}},{key:"get",value:function(w,T){var I=void 0,R=void 0,$=void 0;KP(w)?(I=w,$=T):fn(w)?(R=w,$=T):$=w;var B=$&&$.returnType==="Object"?"Object":"Array",V=$&&Kr($),et=[],Z=void 0,rt=void 0,xt=void 0;if(I!=null)Z=this._data.get(I),Z&&V&&!V(Z)&&(Z=void 0);else if(R!=null)for(var Ht=0,zt=R.length;Ht<zt;Ht++)Z=this._data.get(R[Ht]),Z!=null&&(!V||V(Z))&&et.push(Z);else{var ae;rt=xn(h_(ae=this._data).call(ae));for(var he=0,Qn=rt.length;he<Qn;he++)xt=rt[he],Z=this._data.get(xt),Z!=null&&(!V||V(Z))&&et.push(Z)}if($&&$.order&&I==null&&this._sort(et,$.order),$&&$.fields){var Gr=$.fields;if(I!=null&&Z!=null)Z=this._filterFields(Z,Gr);else for(var $i=0,Wr=et.length;$i<Wr;$i++)et[$i]=this._filterFields(et[$i],Gr)}if(B=="Object"){for(var Ap={},vs=0,zg=et.length;vs<zg;vs++){var RT=et[vs],Ug=RT[this._idProp];Ap[Ug]=RT}return Ap}else if(I!=null){var od;return(od=Z)!==null&&od!==void 0?od:null}else return et}},{key:"getIds",value:function(w){var T=this._data,I=w&&Kr(w),R=w&&w.order,$=xn(h_(T).call(T)),B=[];if(I)if(R){for(var V=[],et=0,Z=$.length;et<Z;et++){var rt=$[et],xt=this._data.get(rt);xt!=null&&I(xt)&&V.push(xt)}this._sort(V,R);for(var Ht=0,zt=V.length;Ht<zt;Ht++)B.push(V[Ht][this._idProp])}else for(var ae=0,he=$.length;ae<he;ae++){var Qn=$[ae],Gr=this._data.get(Qn);Gr!=null&&I(Gr)&&B.push(Gr[this._idProp])}else if(R){for(var $i=[],Wr=0,Ap=$.length;Wr<Ap;Wr++){var vs=$[Wr];$i.push(T.get(vs))}this._sort($i,R);for(var zg=0,RT=$i.length;zg<RT;zg++)B.push($i[zg][this._idProp])}else for(var Ug=0,od=$.length;Ug<od;Ug++){var Pu=$[Ug],jT=T.get(Pu);jT!=null&&B.push(jT[this._idProp])}return B}},{key:"
Line truncated
|
||||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var T=!0,I=!1,R;return{s:function(){g=g.call(l)},n:function(){var B=g.next();return T=B.done,B},e:function(B){I=!0,R=B},f:function(){try{!T&&g.return!=null&&g.return()}finally{if(I)throw R}}}}function GR(l,h){var g;if(l){if(typeof l=="string")return KA(l,h);var y=Pl(g=Object.prototype.toString.call(l)).call(g,8,-1);if(y==="Object"&&l.constructor&&(y=l.constructor.name),y==="Map"||y==="Set")return Ji(l);if(y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y))return KA(l,h)}}function KA(l,h){(h==null||h>l.length)&&(h=l.length);for(var g=0,y=new Array(h);g<h;g++)y[g]=l[g];return y}function WR(l){var h=zR();return function(){var y=so(l),w;if(h){var T=so(this).constructor;w=Su(y,arguments,T)}else w=y.apply(this,arguments);return Mr(this,w)}}function zR(){if(typeof Reflect=="undefined"||!Su||Su.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Su(Boolean,[],function(){})),!0}catch(l){return!1}}var UR=function(l){kg(g,l);var h=WR(g);function g(y,w){var T,I;return L(this,g),I=h.call(this),qi(Vh(I),"length",0),qi(Vh(I),"_ids",new dI),I._options=w||{},I._listener=za(T=I._onEvent).call(T,Vh(I)),I.setData(y),I}return kl(g,[{key:"idProp",get:function(){return this.getDataSet().idProp}},{key:"setData",value:function(w){if(this._data){this._data.off&&this._data.off("*",this._listener);var T=this._data.getIds({filter:Kr(this._options)}),I=this._data.get(T);this._ids.clear(),this.length=0,this._trigger("remove",{items:T,oldData:I})}if(w!=null){this._data=w;for(var R=this._data.getIds({filter:Kr(this._options)}),$=0,B=R.length;$<B;$++){var V=R[$];this._ids.add(V)}this.length=R.length,this._trigger("add",{items:R})}else this._data=new qA;this._data.on&&this._data.on("*",this._listener)}},{key:"refresh",value:function(){for(var w=this._data.getIds({filter:Kr(this._options)}),T=xn(this._ids),I={},R=[],$=[],B=[],V=0,et=w.length;V<et;V++){var Z=w[V];I[Z]=!0,this._ids.has(Z)||(R.push(Z),this._ids.add(Z))}for(var rt=0,xt=T.length;rt<xt;rt++){var Ht=T[rt],zt=this._data.get(Ht);zt==null?console.error("If you see this, report it please."):I[Ht]||($.push(Ht),B.push(zt),this._ids.delete(Ht))}this.length+=R.length-$.length,R.length&&this._trigger("add",{items:R}),$.length&&this._trigger("remove",{items:$,oldData:B})}},{key:"get",value:function(w,T){if(this._data==null)return null;var I=null,R;KP(w)||fn(w)?(I=w,R=T):R=w;var $=Lm({},this._options,R),B=Kr(this._options),V=R&&Kr(R);return B&&V&&($.filter=function(et){return B(et)&&V(et)}),I==null?this._data.get($):this._data.get(I,$)}},{key:"getIds",value:function(w){if(this._data.length){var T=Kr(this._options),I=w!=null?Kr(w):null,R;return I?T?R=function(B){return T(B)&&I(B)}:R=I:R=T,this._data.getIds({filter:R,order:w&&w.order})}else return[]}},{key:"forEach",value:function(w,T){if(this._data){var I,R=Kr(this._options),$=T&&Kr(T),B;$?R?B=function(et){return R(et)&&$(et)}:B=$:B=R,qa(I=this._data).call(I,w,{filter:B,order:T&&T.order})}}},{key:"map",value:function(w,T){if(this._data){var I,R=Kr(this._options),$=T&&Kr(T),B;return $?R?B=function(et){return R(et)&&$(et)}:B=$:B=R,Zr(I=this._data).call(I,w,{filter:B,order:T&&T.order})}else return[]}},{key:"getDataSet",value:function(){return this._data.getDataSet()}},{key:"stream",value:function(w){var T;return this._data.stream(w||{[d_]:za(T=h_(this._ids)).call(T,this._ids)})}},{key:"dispose",value:function(){var w;(w=this._data)!==null&&w!==void 0&&w.off&&this._data.off("*",this._listener);var T="This data view has already been disposed of.",I={get:function(){throw new Error(T)},set:function(){throw new Error(T)},configurable:!1},R=HR(uw(g.prototype)),$;try{for(R.s();!($=R.n()).done;){var B=$.value;cT(this,B,I)}}catch(V){R.e(V)}finally{R.f()}}},{key:"_onEvent",value:function(w,T,I){if(!(!T||!T.items||!this._data)){var R=T.items,$=[],B=[],V=[],et=[],Z=[],rt=[];switch(w){case"add":for(var xt=0,Ht=R.length;xt<Ht;xt++){var zt=R[xt],ae=this.get(zt);ae&&(this._ids.add(zt),$.push(zt))}break;case"update":for(var he=0,Qn=R.length;he<Qn;he++){var Gr=R[he],$i=this.get(Gr);$i?this._ids.has(Gr)?(B.push(Gr),Z.push(T.data[he]),et.push(T.oldData[he])):(this._ids.add(Gr),$.push(Gr)):this._ids.has(Gr)&&(this._ids.delete(Gr),V.push(Gr),rt.push(T.oldData[he]))}break;case"remove":for(var Wr=0,Ap=R.length;Wr<Ap;Wr++){var vs=R[Wr];this._ids.has(vs)&&(this._ids.delete(vs),V.push(vs),rt.push(T.oldData[Wr]))}break}this.length+=$.length-V.length,$.length&&this._trigger("add",{items:$},I),B.length&&this._trigger("update",{items:B,oldData:et,data:Z},I),V.length&&this._trigger("remove",{items:V,oldData:rt},I)}}}]),g}(WA);function JA(l,h){return typeof h=="object"&&h!==null&&l===h.idProp&&typeof h.add=="function"&&typeof h.clear=="function"&&typeof h.distinct=="function"&&typeof qa(h)=="function"&&typeof h.get=="function"&&typeof h.getDataSet=="function"&&typeof h.getIds=="function"&&typeof h.length=="number"&&typeof Zr(h)=="function
Line truncated
|
||||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Zi(t){return function(e){if(fm(e))return Ua(e)}(t)||function(e){if(Wa!==void 0&&Qr(e)!=null||e["@@iterator"]!=null)return Sf(e)}(t)||R0(t)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
||||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}var ym={};(function(t){t.exports=Mb})({get exports(){return ym},set exports(t){ym=t}});var Oo=nt(ym),kf={},L0={get exports(){return kf},set exports(t){kf=t}},F0=Pr("Array").concat,qO=Le,bm=F0,Il=Array.prototype,Tf=function(t){var e=t.concat;return t===Il||qO(Il,t)&&e===Il.concat?bm:e},xf=Tf;(function(t){t.exports=xf})(L0);var Ke=nt(kf),lu={};(function(t){t.exports=Dl})({get exports(){return lu},set exports(t){lu=t}});var vr=nt(lu),Y0={},KO={get exports(){return Y0},set exports(t){Y0=t}};Bt({target:"Reflect",stat:!0},{ownKeys:l0});var _S=we.Reflect.ownKeys;(function(t){t.exports=_S})(KO);var SS=nt(Y0),wm={},vh={get exports(){return wm},set exports(t){wm=t}},B0=Bt,kS=Date,H0=se(kS.prototype.getTime);B0({target:"Date",stat:!0},{now:function(){return H0(new kS)}});var JO=we.Date.now;(function(t){t.exports=JO})(vh);var xi=nt(wm),Of={},TS={get exports(){return Of},set exports(t){Of=t}},xS=Bt,ZO=bo,QO=se([].reverse),G0=[1,2];xS({target:"Array",proto:!0,forced:String(G0)===String(G0.reverse())},{reverse:function(){return ZO(this)&&(this.length=this.length),QO(this)}});var mh=Pr("Array").reverse,cu=Le,tE=mh,gh=Array.prototype,OS=function(t){var e=t.reverse;return t===gh||cu(gh,t)&&e===gh.reverse?tE:e},Ef=OS;(function(t){t.exports=Ef})(TS);var W0=nt(Of),hu={},ES={get exports(){return hu},set exports(t){hu=t}},Df=xe,DS=bo,CS=TypeError,IS=Object.getOwnPropertyDescriptor,PS=Df&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}(),z0=qt,AS=TypeError,U0=function(t,e){if(!delete t[e])throw AS("Cannot delete property "+z0(e)+" of "+z0(t))},V0=Bt,eE=bn,rE=Lr,nE=yo,X0=bi,$S=PS?function(t,e){if(DS(t)&&!IS(t,"length").writable)throw CS("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e},iE=Hs,MS=wo,NS=wi,q0=U0,RS=sl("splice"),jS=Math.max,K0=Math.min;V0({target:"Array",proto:!0,forced:!RS},{splice:function(t,e){var n,r,o,a,s,d,p=eE(this),_=X0(p),x=rE(t,_),O=arguments.length;for(O===0?n=r=0:O===1?(n=0,r=_-x):(n=O-2,r=K0(jS(nE(e),0),_-x)),iE(_+n-r),o=MS(p,r),a=0;a<r;a++)(s=x+a)in p&&NS(o,a,p[s]);if(o.length=r,n<r){for(a=x;a<_-r;a++)d=a+n,(s=a+r)in p?p[d]=p[s]:q0(p,d);for(a=_;a>_-r+n;a--)q0(p,a-1)}else if(n>r)for(a=_-r;a>x;a--)d=a+n-1,(s=a+r-1)in p?p[d]=p[s]:q0(p,d);for(a=0;a<n;a++)p[a+x]=arguments[a+2];return $S(p,_-r+n),o}});var LS=Pr("Array").splice,_m=Le,FS=LS,yh=Array.prototype,oE=function(t){var e=t.splice;return t===yh||_m(yh,t)&&e===yh.splice?FS:e},Va=oE;(function(t){t.exports=Va})(ES);var li=nt(hu),J0={},aE={get exports(){return J0},set exports(t){J0=t}},Cf=xe,sE=se,Z0=Ur,YS=Wt,Sm=Vr,uE=jn,BS=pi,lE=bn,Q0=ac,du=Object.assign,HS=Object.defineProperty,cE=sE([].concat),GS=!du||YS(function(){if(Cf&&du({b:1},du(HS({},"a",{enumerable:!0,get:function(){HS(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(o){e[o]=o}),du({},t)[n]!=7||Sm(du({},e)).join("")!=r})?function(t,e){for(var n=lE(t),r=arguments.length,o=1,a=uE.f,s=BS.f;r>o;)for(var d,p=Q0(arguments[o++]),_=a?cE(Sm(p),a(p)):Sm(p),x=_.length,O=0;x>O;)d=_[O++],Cf&&!Z0(s,p,d)||(n[d]=p[d]);return n}:du,tw=GS;Bt({target:"Object",stat:!0,arity:2,forced:Object.assign!==tw},{assign:tw});var WS=we.Object.assign;(function(t){t.exports=WS})(aE);var zn=nt(J0),bh={},ew={get exports(){return bh},set exports(t){bh=t}},hE=Pa.includes;Bt({target:"Array",proto:!0,forced:Wt(function(){return!Array(1).includes()})},{includes:function(t){return hE(this,t,arguments.length>1?arguments[1]:void 0)}});var ci=Pr("Array").includes,dE=xr,zS=fr,US=cr("match"),xn=function(t){var e;return dE(t)&&((e=t[US])!==void 0?!!e:zS(t)=="RegExp")},fE=TypeError,wh=cr("match"),pE=Bt,vE=function(t){if(xn(t))throw fE("The method doesn't accept regular expressions");return t},mE=ys,VS=Dr,km=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[wh]=!1,"/./"[t](e)}catch(r){}}return!1},XS=se("".indexOf);pE({target:"String",proto:!0,forced:!km("includes")},{includes:function(t){return!!~XS(VS(mE(this)),VS(vE(t)),arguments.length>1?arguments[1]:void 0)}});var gE=Pr("String").includes,qS=Le,KS=ci,If=gE,rw=Array.prototype,Pl=String.prototype,JS=function(t){var e=t.includes;return t===rw||qS(rw,t)&&e===rw.includes?KS:typeof t=="string"||t===Pl||qS(Pl,t)&&e===Pl.includes?If:e},Pf=JS;(function(t){t.exports=Pf})(ew);var Xa=nt(bh),nw={};(function(t){t.exports=N1})({get exports(){return nw},set exports(t){nw=t}});var iw=nt(nw),Af={},Tm={get exports(){return Af},set exports(t){Af=t}},ow=xe,aw=se,ZS=Vr,QS=tr,tk=aw(pi.f),_h=aw([].push),sw=function(t){return function(e){for(var n,r=QS(e),o=ZS(r),a=o.length,s=0,d=[];a>s;)n=o[s++],ow&&!tk(r,n)||_h(d,t?[n,r[n]]:r[n]);return d}},uw={entries:sw(!0),values:sw(!1)}.values;Bt({target:"Object",stat:!0},{values:function(t){return uw(t)}});var yE=we.Object.values;(function(t){t.exports=y
Line truncated
|
||||
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`,wE=ys,_E=Dr,lw=$f,cw=se("".replace),SE=RegExp("^["+lw+"]+"),kE=RegExp("(^|[^"+lw+"])["+lw+"]+$"),Om=function(t){return function(e){var n=_E(wE(e));return 1&t&&(n=cw(n,SE,"")),2&t&&(n=cw(n,kE,"$1")),n}},Mf={start:Om(1),end:Om(2),trim:Om(3)},ek=Gt,TE=Wt,xE=se,OE=Dr,EE=Mf.trim,Em=$f,Nf=ek.parseInt,rk=ek.Symbol,nk=rk&&rk.iterator,ik=/^[+-]?0x/i,DE=xE(ik.exec),ok=Nf(Em+"08")!==8||Nf(Em+"0x16")!==22||nk&&!TE(function(){Nf(Object(nk))})?function(t,e){var n=EE(OE(t));return Nf(n,e>>>0||(DE(ik,n)?16:10))}:Nf;Bt({global:!0,forced:parseInt!=ok},{parseInt:ok});var ak=we.parseInt;(function(t){t.exports=ak})(bE);var Oi=nt(xm),Rf={},sk={get exports(){return Rf},set exports(t){Rf=t}},uk=Bt,Dm=Pa.indexOf,qa=ou,Ka=Tr([].indexOf),lk=!!Ka&&1/Ka([1],1,-0)<0;uk({target:"Array",proto:!0,forced:lk||!qa("indexOf")},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return lk?Ka(this,t,e)||0:Dm(this,t,e)}});var CE=Pr("Array").indexOf,IE=Le,ck=CE,Sh=Array.prototype,PE=function(t){var e=t.indexOf;return t===Sh||IE(Sh,t)&&e===Sh.indexOf?ck:e},hk=PE;(function(t){t.exports=hk})(sk);var Ie=nt(Rf),Al={},AE={get exports(){return Al},set exports(t){Al=t}},$E=Sb.PROPER,dk=Wt,fk=$f,ME=Mf.trim;Bt({target:"String",proto:!0,forced:function(t){return dk(function(){return!!fk[t]()||"\u200B\x85\u180E"[t]()!=="\u200B\x85\u180E"||$E&&fk[t].name!==t})}("trim")},{trim:function(){return ME(this)}});var jf=Pr("String").trim,NE=Le,$l=jf,Lf=String.prototype,Ff=function(t){var e=t.trim;return typeof t=="string"||t===Lf||NE(Lf,t)&&e===Lf.trim?$l:e},kh=Ff;(function(t){t.exports=kh})(AE);var Cm=nt(Al),Yf={};(function(t){t.exports=ai})({get exports(){return Yf},set exports(t){Yf=t}});var Im=nt(Yf),hw={},RE={get exports(){return hw},set exports(t){hw=t}},Pm=we,Am=an;Pm.JSON||(Pm.JSON={stringify:JSON.stringify});var jE=function(t,e,n){return Am(Pm.JSON.stringify,null,arguments)},LE=jE;(function(t){t.exports=LE})(RE);var Un=nt(hw),$m={},FE={get exports(){return $m},set exports(t){$m=t}},YE=bn,pk=Lr,vk=bi,Mm=function(t){for(var e=YE(this),n=vk(e),r=arguments.length,o=pk(r>1?arguments[1]:void 0,n),a=r>2?arguments[2]:void 0,s=a===void 0?n:pk(a,n);s>o;)e[o++]=t;return e};Bt({target:"Array",proto:!0},{fill:Mm});var Ei=Pr("Array").fill,BE=Le,HE=Ei,Nm=Array.prototype,mk=function(t){var e=t.fill;return t===Nm||BE(Nm,t)&&e===Nm.fill?HE:e},dw=mk;(function(t){t.exports=dw})(FE);var fw=nt($m),pw={};(function(t){function e(n){if(n)return function(r){for(var o in e.prototype)r[o]=e.prototype[o];return r}(n)}t.exports=e,e.prototype.on=e.prototype.addEventListener=function(n,r){return this._callbacks=this._callbacks||{},(this._callbacks["$"+n]=this._callbacks["$"+n]||[]).push(r),this},e.prototype.once=function(n,r){function o(){this.off(n,o),r.apply(this,arguments)}return o.fn=r,this.on(n,o),this},e.prototype.off=e.prototype.removeListener=e.prototype.removeAllListeners=e.prototype.removeEventListener=function(n,r){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var o,a=this._callbacks["$"+n];if(!a)return this;if(arguments.length==1)return delete this._callbacks["$"+n],this;for(var s=0;s<a.length;s++)if((o=a[s])===r||o.fn===r){a.splice(s,1);break}return a.length===0&&delete this._callbacks["$"+n],this},e.prototype.emit=function(n){this._callbacks=this._callbacks||{};for(var r=new Array(arguments.length-1),o=this._callbacks["$"+n],a=1;a<arguments.length;a++)r[a-1]=arguments[a];if(o){a=0;for(var s=(o=o.slice(0)).length;a<s;++a)o[a].apply(this,r)}return this},e.prototype.listeners=function(n){return this._callbacks=this._callbacks||{},this._callbacks["$"+n]||[]},e.prototype.hasListeners=function(n){return!!this.listeners(n).length}})({get exports(){return pw},set exports(t){pw=t}});var vw,Bf=pw;function Eo(){return Eo=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Eo.apply(this,arguments)}function Qi(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Th(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}vw=typeof Object.assign!="function"?function(t){if(t==null)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=1;n<arguments.length;n++){var r=arguments[n];if(r!=null)for(var o in r)r.hasOwnProperty(o)&&(e[o]=r[o])}return e}:Object.assign;var na,to=vw,Hf=["","webkit","Moz","MS","ms","o"],GE=typeof document=="undefined"?{style:{}}:document.createElement("div"),gk="function",xh=Math.round,ia=Math.abs,Ml=Date.now;function Gf(t,e){for(var n,r,o=e[0].toUpperCase()+e.slice(1),a=0;a<Hf.length;){if((r=(n=Hf[a])?n+o:e)in t)return r;a++}}na=typeof window=="undefined"?{}:window;var Rm=Gf(GE.style,"touchAction"),jm=Rm!==void 0,mw="compute",Lm="auto",Fm="manipulation",fu="
Line truncated
|
||||
`+n+` AT
|
||||
`;return function(){var o=new Error("get-stack-trace"),a=o&&o.stack?o.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",s=window.console&&(window.console.warn||window.console.log);return s&&s.call(window.console,r,a),t.apply(this,arguments)}}var Kl=ql(function(t,e,n){for(var r=Object.keys(e),o=0;o<r.length;)(!n||n&&t[r[o]]===void 0)&&(t[r[o]]=e[r[o]]),o++;return t},"extend","Use `assign`."),Xn=ql(function(t,e){return Kl(t,e,!0)},"merge","Use `assign`.");function io(t,e,n){var r,o=e.prototype;(r=t.prototype=Object.create(o)).constructor=t,r._super=o,n&&to(r,n)}function Zf(t,e){return function(){return t.apply(e,arguments)}}var Ow=function(){var t=function(e,n){return n===void 0&&(n={}),new rs(e,Eo({recognizers:xk.concat()},n))};return t.VERSION="2.0.17-rc",t.DIRECTION_ALL=Uf,t.DIRECTION_DOWN=Ll,t.DIRECTION_LEFT=zf,t.DIRECTION_RIGHT=Eh,t.DIRECTION_UP=jl,t.DIRECTION_HORIZONTAL=Di,t.DIRECTION_VERTICAL=vu,t.DIRECTION_NONE=Bm,t.DIRECTION_DOWN=Ll,t.INPUT_START=On,t.INPUT_MOVE=Rl,t.INPUT_END=mr,t.INPUT_CANCEL=hi,t.STATE_POSSIBLE=Qa,t.STATE_BEGAN=$r,t.STATE_CHANGED=zl,t.STATE_ENDED=ts,t.STATE_RECOGNIZED=sa,t.STATE_CANCELLED=gu,t.STATE_FAILED=no,t.Manager=rs,t.Input=Ih,t.TouchAction=Bl,t.TouchInput=kw,t.MouseInput=qf,t.PointerEventInput=bw,t.TouchMouseInput=mu,t.SingleTouchInput=Nh,t.Recognizer=es,t.AttrRecognizer=$h,t.Tap=yu,t.Pan=Vl,t.Swipe=qm,t.Pinch=Xl,t.Rotate=Km,t.Press=Mh,t.on=Ch,t.off=Gl,t.each=eo,t.merge=Xn,t.extend=Kl,t.bindFn=Zf,t.assign=to,t.inherit=io,t.bindFn=Zf,t.prefixed=Gf,t.toArray=Xf,t.inArray=Ja,t.uniqueArray=ww,t.splitStr=Vf,t.boolOrFn=Fl,t.hasParent=aa,t.addEventListeners=Ch,t.removeEventListeners=Gl,t.defaults=to({},Jm,{preset:xk}),t}();Ow.defaults;var bu=Ow;function ua(t,e){var n=Jr(t);if(im){var r=im(t);e&&(r=ve(r).call(r,function(o){return Yr(t,o).enumerable})),n.push.apply(n,r)}return n}function Qf(t){for(var e=1;e<arguments.length;e++){var n,r,o=arguments[e]!=null?arguments[e]:{};e%2?Ot(n=ua(Object(o),!0)).call(n,function(a){ea(t,a,o[a])}):ff?h0(t,ff(o)):Ot(r=ua(Object(o))).call(r,function(a){Tl(t,a,Yr(o,a))})}return t}function ns(t,e){var n=Oo!==void 0&&Qr(t)||t["@@iterator"];if(!n){if(ce(t)||(n=function(p,_){var x;if(p){if(typeof p=="string")return Ok(p,_);var O=vr(x=Object.prototype.toString.call(p)).call(x,8,-1);if(O==="Object"&&p.constructor&&(O=p.constructor.name),O==="Map"||O==="Set")return au(p);if(O==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(O))return Ok(p,_)}}(t))||e&&t&&typeof t.length=="number"){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(p){throw p},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
||||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a,s=!0,d=!1;return{s:function(){n=n.call(t)},n:function(){var p=n.next();return s=p.done,p},e:function(p){d=!0,a=p},f:function(){try{s||n.return==null||n.return()}finally{if(d)throw a}}}}function Ok(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var Zm=Oo("DELETE");function tp(){var t=ep.apply(void 0,arguments);return rp(t),t}function ep(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];if(e.length<2)return e[0];var r;if(e.length>2)return ep.apply(void 0,Ke(r=[tp(e[0],e[1])]).call(r,Zi(vr(e).call(e,2))));var o,a=e[0],s=e[1],d=ns(SS(s));try{for(d.s();!(o=d.n()).done;){var p=o.value;Object.prototype.propertyIsEnumerable.call(s,p)&&(s[p]===Zm?delete a[p]:a[p]===null||s[p]===null||Jt(a[p])!=="object"||Jt(s[p])!=="object"||ce(a[p])||ce(s[p])?a[p]=Ew(s[p]):a[p]=ep(a[p],s[p]))}}catch(_){d.e(_)}finally{d.f()}return a}function Ew(t){return ce(t)?Br(t).call(t,function(e){return Ew(e)}):Jt(t)==="object"&&t!==null?ep({},t):t}function rp(t){for(var e=0,n=Jr(t);e<n.length;e++){var r=n[e];t[r]===Zm?delete t[r]:Jt(t[r])==="object"&&t[r]!==null&&rp(t[r])}}var np=typeof window!="undefined"?window.Hammer||bu:function(){return function(){var t=function(){};return{on:t,off:t,destroy:t,emit:t,get:function(){return{set:t}}}}()};function Do(t){var e,n=this;this._cleanupQueue=[],this.active=!1,this._dom={container:t,overlay:document.createElement("div")},this._dom.overlay.classList.add("vis-overlay"),this._dom.container.appendChild(this._dom.overlay),this._cleanupQueue.push(function(){n._dom.overlay.parentNode.removeChild(n._dom.overlay)});var r=np(this._dom.overlay);r.on("tap",at(e=this._onTapOverlay).call(e,this)),this._cleanupQueue.push(function(){r.destroy()});var o=["tap","doubletap","press","pinch","pan","panstart","panmove","panend"];Ot(o).call(o,function(a){r.on(a,function(s){s.srcEvent.stopPropagation()})}),document&&document.body&&(this._onClick=function(a){(function(s,d){for(;s;){if(s===d)return!0;s=s.parentNode}return!1})(a.target,t)||n.deactivate()},document.body.addEventListener("click",this._onClick),this._cleanupQueue.push(function(){document.body.removeEventListener("click",n._onClick)})),this._escListener=function(a){("key"in a?a.key==="Escape":a.keyCode===27)&&n.deactivate()}}Bf(Do.prototype),Do.current=null,Do.prototype.destroy=function(){var t,e;this.deactivate();var n,r=ns(W0(t=li(e=this._cleanupQueue).call(e,0)).call(t));try{for(r.s();!(n=r.n()).done;)(0,n.value)()}catch(o){r.e(o)}finally{r.f()}},Do.prototype.activate=function(){Do.current&&Do.current.deactivate(),Do.current=this,this.active=!0,this._dom.overlay.style.display="none",this._dom.container.classList.add("vis-active"),this.emit("change"),this.emit("activate"),document.body.addEventListener("keydown",this._escListener)},Do.prototype.deactivate=function(){this.active=!1,this._dom.overlay.style.display="block",this._dom.container.classList.remove("vis-active"),document.body.removeEventListener("keydown",this._escListener),this.emit("change"),this.emit("deactivate")},Do.prototype._onTapOverlay=function(t){this.activate(),t.srcEvent.stopPropagation()};var VE=/^\/?Date\((-?\d+)/i,Ek=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,XE=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,qE=/^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,KE=/^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 ip(t){return t instanceof Number||typeof t=="number"}function di(t){return t instanceof String||typeof t=="string"}function Jl(t){return Jt(t)==="object"&&t!==null}function Co(t,e,n,r){var o=!1;r===!0&&(o=e[n]===null&&t[n]!==void 0),o?delete t[n]:t[n]=e[n]}var op=zn;function Rh(t,e){var n=arguments.length>2&&arguments[2]!==void 0&&arguments[2],r=arguments.length>3&&arguments[3]!==void 0&&arguments[3];for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)||n===!0)if(Jt(e[o])==="object"&&e[o]!==null&&iw(e[o])===Object.prototype)t[o]===void 0?t[o]=Rh({},e[o],n):Jt(t[o])==="object"&&t[o]!==null&&iw(t[o])===Object.prototype?Rh(t[o],e[o],n):Co(t,e,o,r);else if(ce(e[o])){var a;t[o]=vr(a=e[o]).call(a)}else Co(t,e,o,r);return t}function la(t){var e=Jt(t);return e==="object"?t===null?"null":t instanceof Boolean?"Boolean":t instanceof Number?"Number":t instanceof String?"String":ce(t)?"Array":t instanceof Date?"Date":"Object":e==="number"?"Number":e==="boolean"?"Boolean":e==="string"?"String":e===void 0?"undefined":e}function Io(t,e){var n;return Ke(n=[]).call(n,Zi(t),[e])}function Dk(t){return vr(t).call(t)}var JE=fn,Ck={asBoolean:function(t,e){return typeof t=="function"&&(t=t()),t!=null?t!=0:e||null},asNumber:function(t,e){return typeof t=="function"&&(t=t()),t!=null?Number(t)||e||null:e||null},asString:function(t,e){return typeof t=="function"&&(t=t()),t!=null?String(t):e||null},asSize
Line truncated
|
||||
|
||||
`:s.distance<=4&&a.distance>s.distance?" in "+t.printLocation(a.path,e,"")+"Perhaps it was misplaced? Matching option found at: "+t.printLocation(s.path,s.closestMatch,""):a.distance<=8?'. Did you mean "'+a.closestMatch+'"?'+t.printLocation(a.path,e):". Did you mean one of these: "+t.print(Jr(n))+t.printLocation(r,e),console.error('%cUnknown option detected: "'+e+'"'+o,Aw),jh=!0}},{key:"findInOptions",value:function(e,n,r){var o=arguments.length>3&&arguments[3]!==void 0&&arguments[3],a=1e9,s="",d=[],p=e.toLowerCase(),_=void 0;for(var x in n){var O=void 0;if(n[x].__type__!==void 0&&o===!0){var C=t.findInOptions(e,n[x],Io(r,x));a>C.distance&&(s=C.closestMatch,d=C.path,a=C.distance,_=C.indexMatch)}else{var Y;Ie(Y=x.toLowerCase()).call(Y,p)!==-1&&(_=x),a>(O=t.levenshteinDistance(e,x))&&(s=x,d=Dk(r),a=O)}}return{closestMatch:s,path:d,distance:a,indexMatch:_}}},{key:"printLocation",value:function(e,n){for(var r=`
|
||||
|
||||
`+(arguments.length>2&&arguments[2]!==void 0?arguments[2]:`Problem value found at:
|
||||
`)+`options = {
|
||||
`,o=0;o<e.length;o++){for(var a=0;a<o+1;a++)r+=" ";r+=e[o]+`: {
|
||||
`}for(var s=0;s<e.length+1;s++)r+=" ";r+=n+`
|
||||
`;for(var d=0;d<e.length+1;d++){for(var p=0;p<e.length-d;p++)r+=" ";r+=`}
|
||||
`}return r+`
|
||||
|
||||
`}},{key:"print",value:function(e){return Un(e).replace(/(")|(\[)|(\])|(,"__type__")/g,"").replace(/(,)/g,", ")}},{key:"levenshteinDistance",value:function(e,n){if(e.length===0)return n.length;if(n.length===0)return e.length;var r,o,a=[];for(r=0;r<=n.length;r++)a[r]=[r];for(o=0;o<=e.length;o++)a[0][o]=o;for(r=1;r<=n.length;r++)for(o=1;o<=e.length;o++)n.charAt(r-1)==e.charAt(o-1)?a[r][o]=a[r-1][o-1]:a[r][o]=Math.min(a[r-1][o-1]+1,Math.min(a[r][o-1]+1,a[r-1][o]+1));return a[n.length][e.length]}}]),t}(),ng=Do,oo=Pk,Fh=Ak,_u=np,ao=ZE,lp=Aw,hr=Lh,$k=Object.freeze({__proto__:null,Activator:ng,Alea:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(r){var o=function(){for(var O=function(){var X=4022871197;return function(q){for(var tt=q.toString(),ot=0;ot<tt.length;ot++){var wt=.02519603282416938*(X+=tt.charCodeAt(ot));wt-=X=wt>>>0,X=(wt*=X)>>>0,X+=4294967296*(wt-=X)}return 23283064365386963e-26*(X>>>0)}}(),C=O(" "),Y=O(" "),j=O(" "),G=0;G<arguments.length;G++)(C-=O(G<0||arguments.length<=G?void 0:arguments[G]))<0&&(C+=1),(Y-=O(G<0||arguments.length<=G?void 0:arguments[G]))<0&&(Y+=1),(j-=O(G<0||arguments.length<=G?void 0:arguments[G]))<0&&(j+=1);return[C,Y,j]}(r),a=j0(o,3),s=a[0],d=a[1],p=a[2],_=1,x=function(){var O=2091639*s+23283064365386963e-26*_;return s=d,d=p,p=O-(_=0|O)};return x.uint32=function(){return 4294967296*x()},x.fract53=function(){return x()+11102230246251565e-32*(2097152*x()|0)},x.algorithm="Alea",x.seed=r,x.version="0.9",x}(e.length?e:[xi()])},ColorPicker:oo,Configurator:Fh,DELETE:Zm,HSVToHex:Dw,HSVToRGB:sp,Hammer:_u,Popup:ao,RGBToHSV:ca,RGBToHex:Qm,VALIDATOR_PRINT_STYLE:lp,Validator:hr,addClassName:function(t,e){var n=t.className.split(" "),r=e.split(" ");n=Ke(n).call(n,ve(r).call(r,function(o){return!Xa(n).call(n,o)})),t.className=n.join(" ")},addCssText:function(t,e){var n=wu.split(t.style.cssText),r=wu.split(e),o=Qf(Qf({},n),r);t.style.cssText=wu.join(o)},addEventListener:function(t,e,n,r){var o;t.addEventListener?(r===void 0&&(r=!1),e==="mousewheel"&&Xa(o=navigator.userAgent).call(o,"Firefox")&&(e="DOMMouseScroll"),t.addEventListener(e,n,r)):t.attachEvent("on"+e,n)},binarySearchCustom:function(t,e,n,r){for(var o=0,a=0,s=t.length-1;a<=s&&o<1e4;){var d=Math.floor((a+s)/2),p=t[d],_=e(r===void 0?p[n]:p[n][r]);if(_==0)return d;_==-1?a=d+1:s=d-1,o++}return-1},binarySearchValue:function(t,e,n,r,o){var a,s,d,p,_=0,x=0,O=t.length-1;for(o=o!=null?o:function(C,Y){return C==Y?0:C<Y?-1:1};x<=O&&_<1e4;){if(p=Math.floor(.5*(O+x)),a=t[Math.max(0,p-1)][n],s=t[p][n],d=t[Math.min(t.length-1,p+1)][n],o(s,e)==0)return p;if(o(a,e)<0&&o(s,e)>0)return r=="before"?Math.max(0,p-1):p;if(o(s,e)<0&&o(d,e)>0)return r=="before"?p:Math.min(t.length-1,p+1);o(s,e)<0?x=p+1:O=p-1,_++}return-1},bridgeObject:up,copyAndExtendArray:Io,copyArray:Dk,deepExtend:Rh,deepObjectAssign:tp,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 n=0,r=t.length;n<r;n++)if(t[n]!=e[n])return!1;return!0},extend:op,fillIfDefined:function t(e,n){var r=arguments.length>2&&arguments[2]!==void 0&&arguments[2];for(var o in e)if(n[o]!==void 0)if(n[o]===null||Jt(n[o])!=="object")Co(e,n,o,r);else{var a=e[o],s=n[o];Jl(a)&&Jl(s)&&t(a,s,r)}},forEach:function(t,e){if(ce(t))for(var n=t.length,r=0;r<n;r++)e(t[r],r,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 n=t.offsetWidth;e.style.overflow="scroll";var r=t.offsetWidth;return n==r&&(r=e.clientWidth),document.body.removeChild(e),n-r},getTarget:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.event,e=null;return t&&(t.target?e=t.target:t.srcElement&&(e=t.srcElement)),e instanceof Element&&(e.nodeType==null||e.nodeType!=3||(e=e.parentNode)instanceof Element)?e:null},getType:la,hasParent:function(t,e){for(var n=t;n;){i
Line truncated
|
||||
`&&d()}return Yh.trim(s)},cp=qn,Nk=Mk;function hp(t){return t==null}function Nw(t){(t=function(e){var n={};for(var r in e)n[r]=e[r];return n}(t||{})).whiteList=t.whiteList||cp.whiteList,t.onAttr=t.onAttr||cp.onAttr,t.onIgnoreAttr=t.onIgnoreAttr||cp.onIgnoreAttr,t.safeAttrValue=t.safeAttrValue||cp.safeAttrValue,this.options=t}Nw.prototype.process=function(t){if(!(t=(t=t||"").toString()))return"";var e=this.options,n=e.whiteList,r=e.onAttr,o=e.onIgnoreAttr,a=e.safeAttrValue,s=Nk(t,function(d,p,_,x,O){var C=n[_],Y=!1;if(C===!0?Y=C:typeof C=="function"?Y=C(x):C instanceof RegExp&&(Y=C.test(x)),Y!==!0&&(Y=!1),x=a(_,x)){var j,G={position:p,sourcePosition:d,source:O,isWhite:Y};return Y?hp(j=r(_,x,G))?_+":"+x:j:hp(j=o(_,x,G))?void 0:j}});return s};var Rk=Nw;(function(t,e){var n=qn,r=Rk;for(var o in e=t.exports=function(a,s){return new r(s).process(a)},e.FilterCSS=r,n)e[o]=n[o];typeof window!="undefined"&&(window.filterCSS=t.exports)})(ag,ha);var sg={indexOf:function(t,e){var n,r;if(Array.prototype.indexOf)return t.indexOf(e);for(n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1},forEach:function(t,e,n){var r,o;if(Array.prototype.forEach)return t.forEach(e,n);for(r=0,o=t.length;r<o;r++)e.call(n,t[r],r,t)},trim:function(t){return String.prototype.trim?t.trim():t.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(t){var e=/\s|\n|\t/.exec(t);return e?e.index:-1}},ug=ha.FilterCSS,QE=ha.getDefaultWhiteList,Bh=sg;function is(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}}var jk=new ug;function lg(t){return t.replace(tD,"<").replace(Lk,">")}var tD=/</g,Lk=/>/g,Fk=/"/g,Yk=/"/g,eD=/&#([a-zA-Z0-9]*);?/gim,rD=/:?/gim,Bk=/&newline;?/gim,cg=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,Hk=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,Rw=/u\s*r\s*l\s*\(.*/gi;function Gk(t){return t.replace(Fk,""")}function jw(t){return t.replace(Yk,'"')}function hg(t){return t.replace(eD,function(e,n){return n[0]==="x"||n[0]==="X"?String.fromCharCode(parseInt(n.substr(1),16)):String.fromCharCode(parseInt(n,10))})}function Wk(t){return t.replace(rD,":").replace(Bk," ")}function Lw(t){for(var e="",n=0,r=t.length;n<r;n++)e+=t.charCodeAt(n)<32?" ":t.charAt(n);return Bh.trim(e)}function dp(t){return t=Lw(t=Wk(t=hg(t=jw(t))))}function Fw(t){return t=lg(t=Gk(t))}sr.whiteList={a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]},sr.getDefaultWhiteList=is,sr.onTag=function(t,e,n){},sr.onIgnoreTag=function(t,e,n){},sr.onTagAttr=function(t,e,n){},sr.onIgnoreTagAttr=function(t,e,n){},sr.safeAttrValue=function(t,e,n,r){if(n=dp(n),e==="href"||e==="src"){if((n=Bh.trim(n))==="#")return"#";if(n.substr(0,7)!=="http://"&&n.substr(0,8)!=="https://"&&n.substr(0,7)!=="mailto:"&&n.substr(0,4)!=="tel:"&&n.substr(0,11)!=="data:image/"&&n.substr(0,6)!=="ftp://"&&n.substr(0,2)!=="./"&&n.substr(0,3)!=="../"&&n[0]!=="#
Line truncated
|
||||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a,s=!0,d=!1;return{s:function(){n=n.call(t)},n:function(){var p=n.next();return s=p.done,p},e:function(p){d=!0,a=p},f:function(){try{s||n.return==null||n.return()}finally{if(d)throw a}}}}function OT(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var uo=.001;function WC(t){Mr(t).call(t,function(e,n){return e.data.start-n.data.start})}function Ng(t){Mr(t).call(t,function(e,n){return("end"in e.data?e.data.end:e.data.start)-("end"in n.data?n.data.end:n.data.start)})}function pa(t,e,n,r){return Rg(t,e.item,!1,function(o){return o.stack&&(n||o.top===null)},function(o){return o.stack},function(o){return e.axis},r)===null}function UD(t,e,n){var r=Rg(t,e.item,!1,function(o){return o.stack},function(o){return!0},function(o){return o.baseTop});n.height=r-n.top+.5*e.item.vertical}function zC(t,e,n,r){for(var o=0;o<t.length;o++)if(t[o].data.subgroup==null)t[o].top=e.item.vertical;else if(t[o].data.subgroup!==void 0&&r){var a=0;for(var s in n)n.hasOwnProperty(s)&&n[s].visible==1&&n[s].index<n[t[o].data.subgroup].index&&(a+=n[s].height,n[t[o].data.subgroup].top=a);t[o].top=a+.5*e.item.vertical}r||UC(t,e,n)}function UC(t,e,n){var r;Rg(Mr(r=fn(n)).call(r,function(a,s){return a.index>s.index?1:a.index<s.index?-1:0}),{vertical:0},!0,function(a){return!0},function(a){return!0},function(a){return 0});for(var o=0;o<t.length;o++)t[o].data.subgroup!==void 0&&(t[o].top=n[t[o].data.subgroup].top+.5*e.item.vertical)}function VD(t,e,n){var r=!1,o=[];for(var a in n)n[a].hasOwnProperty("index")?o[n[a].index]=a:o.push(a);for(var s=0;s<o.length;s++)if(a=o[s],n.hasOwnProperty(a)){for(var d in r=r||n[a].stack,n[a].top=0,n)n[d].visible&&n[a].index>n[d].index&&(n[a].top+=n[d].height);for(var p=t[a],_=0;_<p.length;_++)p[_].data.subgroup!==void 0&&(p[_].top=n[p[_].data.subgroup].top+.5*e.item.vertical,n[a].stack&&(p[_].baseTop=p[_].top));r&&n[a].stack&&UD(t[a],e,n[a])}}function Rg(t,e,n,r,o,a,s){var d=function(bt){return bt.start},p=function(bt){return bt.end};if(!n){var _=!(!t[0]||!t[0].options.rtl);d=_?function(bt){return bt.right}:function(bt){return bt.left},p=function(bt){return d(bt)+bt.width+e.horizontal}}var x,O=[],C=[],Y=null,j=0,G=bP(t);try{var X=function(){var bt=x.value;if(r(bt))O.push(bt);else if(o(bt)){var ut=d(bt);Y!==null&&ut<Y-uo&&(j=0),Y=ut,j=hs(C,function(Lt){return d(Lt)-uo>ut},j),li(C).call(C,j,0,bt),j++}};for(G.s();!(x=G.n()).done;)X()}catch(bt){G.e(bt)}finally{G.f()}Y=null;var q=null;j=0;for(var tt=0,ot=0,wt=0,It=function(){var bt,ut,Lt=O.shift();Lt.top=a(Lt);var re=d(Lt),lr=p(Lt);Y!==null&&re<Y-uo&&(tt=0,ot=0,j=0,q=null),Y=re,tt=hs(C,function(Pi){return re<p(Pi)-uo},tt),(q===null||q<lr-uo)&&(ot=hs(C,function(Pi){return lr<d(Pi)-uo},Math.max(tt,ot))),q!==null&&q-uo>lr&&(ot=function(Pi,fC,NT,pC){for(NT||(NT=0),pC||(pC=Pi.length),i=pC-1;i>=NT;i--)if(fC(Pi[i]))return i;return NT-1}(C,function(Pi){return lr+uo>=d(Pi)},tt,horizontalOVerlapEndIndex)+1);for(var dr,co,Ip,Gg=Mr(bt=ve(ut=vr(C).call(C,tt,ot)).call(ut,function(Pi){return re<p(Pi)-uo&&lr-uo>d(Pi)})).call(bt,function(Pi,fC){return Pi.top-fC.top}),c_=0;c_<Gg.length;c_++){var dC=Gg[c_];co=dC,Ip=e,(dr=Lt).top-Ip.vertical+uo<co.top+co.height&&dr.top+dr.height+Ip.vertical-uo>co.top&&(Lt.top=dC.top+dC.height+e.vertical)}o(Lt)&&(j=hs(C,function(Pi){return d(Pi)-uo>re},j),li(C).call(C,j,0,Lt),j++);var sI=Lt.top+Lt.height;if(sI>wt&&(wt=sI),s&&s())return{v:null}};O.length>0;){var pt=It();if(Jt(pt)==="object")return pt.v}return wt}function hs(t,e,n){var r;n||(n=0);var o=GC(r=vr(t).call(t,n)).call(r,e);return o===-1?t.length:o+n}var s_=Object.freeze({__proto__:null,nostack:zC,orderByEnd:Ng,orderByStart:WC,stack:pa,stackSubgroups:UC,stackSubgroupsWithInnerStack:VD,substack:UD}),VC="__background__",ET=function(){function t(e,n,r){var o=this;if(Se(this,t),this.groupId=e,this.subgroups={},this.subgroupStack={},this.subgroupStackAll=!1,this.subgroupVisibility={},this.doInnerStack=!1,this.shouldBailStackItems=!1,this.subgroupIndex=0,this.subgroupOrderer=n&&n.subgroupOrder,this.itemSet=r,this.isVisible=null,this.stackDirty=!0,this._disposeCallbacks=[],n&&n.nestedGroups&&(this.nestedGroups=n.nestedGroups,n.showNested==0?this.showNested=!1:this.showNested=!0),n&&n.subgroupStack)if(typeof n.subgroupStack=="boolean")this.doInnerStack=n.subgroupStack,this.subgroupStackAll=n.subgroupStack;else for(var a in n.subgroupStack)this.subgroupStack[a]=n.subgroupStack[a],this.doInnerStack=this.doInnerStack||n.subgroupStack[a];n&&n.heightMode?this.heightMode=n.heightMode:this.heightMode=r.options.groupHeightMode,this.nestedInGroup=null,this.dom={},this.props={label:{width:0,height:0}},this.className=null,this.items={},this.visibleItems=[],this.itemsInRange=[],this.orderedItems={byStart:[],byEnd:[]},this.checkRangedItems=!1;var s=function(){o.checkRangedItems=!0};this.itemSet.body.emitter.on("checkRangedItems",s),this._disposeCallbacks.push(function(){o.itemSet.body.em
Line truncated
|
||||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a,s=!0,d=!1;return{s:function(){n=n.call(t)},n:function(){var p=n.next();return s=p.done,p},e:function(p){d=!0,a=p},f:function(){try{s||n.return==null||n.return()}finally{if(d)throw a}}}}function XC(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var Dp=function(){function t(e,n,r){var o,a=this;Se(this,t),this.id=null,this.parent=null,this.data=e,this.dom=null,this.conversion=n||{},this.defaultOptions={locales:ft,locale:"en"},this.options=H.extend({},this.defaultOptions,r),this.options.locales=H.extend({},ft,this.options.locales);var s=this.defaultOptions.locales[this.defaultOptions.locale];Ot(o=Jr(this.options.locales)).call(o,function(d){a.options.locales[d]=H.extend({},s,a.options.locales[d])}),this.selected=!1,this.displayed=!1,this.groupShowing=!0,this.selectable=r&&r.selectable||!1,this.dirty=!0,this.top=null,this.right=null,this.left=null,this.width=null,this.height=null,this.setSelectability(e),this.editable=null,this._updateEditStatus()}return Ce(t,[{key:"select",value:function(){this.selectable&&(this.selected=!0,this.dirty=!0,this.displayed&&this.redraw())}},{key:"unselect",value:function(){this.selected=!1,this.dirty=!0,this.displayed&&this.redraw()}},{key:"setData",value:function(e){e.group!=null&&this.data.group!=e.group&&this.parent!=null&&this.parent.itemSet._moveToGroup(this,e.group),this.setSelectability(e),this.parent&&(this.parent.stackDirty=!0),e.subgroup!=null&&this.data.subgroup!=e.subgroup&&this.parent!=null&&this.parent.changeSubgroup(this,this.data.subgroup,e.subgroup),this.data=e,this._updateEditStatus(),this.dirty=!0,this.displayed&&this.redraw()}},{key:"setSelectability",value:function(e){e&&(this.selectable=e.selectable===void 0||!!e.selectable)}},{key:"setParent",value:function(e){this.displayed?(this.hide(),this.parent=e,this.parent&&this.show()):this.parent=e}},{key:"isVisible",value:function(e){return!1}},{key:"show",value:function(){return!1}},{key:"hide",value:function(){return!1}},{key:"redraw",value:function(){}},{key:"repositionX",value:function(){}},{key:"repositionY",value:function(){}},{key:"_repaintDragCenter",value:function(){if(this.selected&&this.editable.updateTime&&!this.dom.dragCenter){var e,n,r=this,o=document.createElement("div");o.className="vis-drag-center",o.dragCenterItem=this,this.hammerDragCenter=new ze(o),this.hammerDragCenter.on("tap",function(a){r.parent.itemSet.body.emitter.emit("click",{event:a,item:r.id})}),this.hammerDragCenter.on("doubletap",function(a){a.stopPropagation(),r.parent.itemSet._onUpdateItem(r),r.parent.itemSet.body.emitter.emit("doubleClick",{event:a,item:r.id})}),this.hammerDragCenter.on("panstart",function(a){a.stopPropagation(),r.parent.itemSet._onDragStart(a)}),this.hammerDragCenter.on("panmove",at(e=r.parent.itemSet._onDrag).call(e,r.parent.itemSet)),this.hammerDragCenter.on("panend",at(n=r.parent.itemSet._onDragEnd).call(n,r.parent.itemSet)),this.hammerDragCenter.get("press").set({time:1e4}),this.dom.box?this.dom.dragLeft?this.dom.box.insertBefore(o,this.dom.dragLeft):this.dom.box.appendChild(o):this.dom.point&&this.dom.point.appendChild(o),this.dom.dragCenter=o}else!this.selected&&this.dom.dragCenter&&(this.dom.dragCenter.parentNode&&this.dom.dragCenter.parentNode.removeChild(this.dom.dragCenter),this.dom.dragCenter=null,this.hammerDragCenter&&(this.hammerDragCenter.destroy(),this.hammerDragCenter=null))}},{key:"_repaintDeleteButton",value:function(e){var n=(this.options.editable.overrideItems||this.editable==null)&&this.options.editable.remove||!this.options.editable.overrideItems&&this.editable!=null&&this.editable.remove;if(this.selected&&n&&!this.dom.deleteButton){var r=this,o=document.createElement("div");this.options.rtl?o.className="vis-delete-rtl":o.className="vis-delete";var a=this.options.locales[this.options.locale];a||(this.warned||(console.warn("WARNING: options.locales['".concat(this.options.locale,"'] not found. See https://visjs.github.io/vis-timeline/docs/timeline/#Localization")),this.warned=!0),a=this.options.locales.en),o.title=a.deleteSelected,this.hammerDeleteButton=new ze(o).on("tap",function(s){s.stopPropagation(),r.parent.removeFromDataSet(r)}),e.appendChild(o),this.dom.deleteButton=o}else this.selected&&n||!this.dom.deleteButton||(this.dom.deleteButton.parentNode&&this.dom.deleteButton.parentNode.removeChild(this.dom.deleteButton),this.dom.deleteButton=null,this.hammerDeleteButton&&(this.hammerDeleteButton.destroy(),this.hammerDeleteButton=null))}},{key:"_repaintOnItemUpdateTimeTooltip",value:function(e){if(this.options.tooltipOnItemUpdateTime){var n=(this.options.editable.updateTime||this.data.editable===!0)&&this.data.editable!==!1;if(this.selected&&n&&!this.dom.onItemUpdateTimeTooltip){var r=document.createElement("div");r.className="vis-onUpdateTime-tooltip",e.appendChild(r),this.dom.onItemUpdateTimeTooltip=r}else!this.selected&&this.dom.onItemUpdateTimeToolti
Line truncated
|
||||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a,s=!0,d=!1;return{s:function(){n=n.call(t)},n:function(){var p=n.next();return s=p.done,p},e:function(p){d=!0,a=p},f:function(){try{s||n.return==null||n.return()}finally{if(d)throw a}}}}function PT(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function rC(t){var e=function(){if(typeof Reflect=="undefined"||!At||At.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(At(Boolean,[],function(){})),!0}catch(n){return!1}}();return function(){var n,r=Be(t);if(e){var o=Be(this).constructor;n=At(r,arguments,o)}else n=r.apply(this,arguments);return ui(this,n)}}var nC=function(t){si(n,t);var e=rC(n);function n(r,o,a){var s;Se(this,n);var d=zn({},{fitOnDoubleClick:!0},a,{editable:!1});if((s=e.call(this,r,o,d)).props={content:{width:0,height:0}},!r||r.uiItems==null)throw new Error('Property "uiItems" missing in item '+r.id);return s.id=Wh(),s.group=r.group,s._setupRange(),s.emitter=s.data.eventEmitter,s.range=s.data.range,s.attached=!1,s.isCluster=!0,s.data.isCluster=!0,s}return Ce(n,[{key:"hasItems",value:function(){return this.data.uiItems&&this.data.uiItems.length&&this.attached}},{key:"setUiItems",value:function(r){this.detach(),this.data.uiItems=r,this._setupRange(),this.attach()}},{key:"isVisible",value:function(r){var o=this.data.end?this.data.end-this.data.start:0,a=this.width*r.getMillisecondsPerPixel(),s=Math.max(this.data.start.getTime()+o,this.data.start.getTime()+a);return this.data.start<r.end&&s>r.start&&this.hasItems()}},{key:"getData",value:function(){return{isCluster:!0,id:this.id,items:this.data.items||[],data:this.data}}},{key:"redraw",value:function(r){var o,a,s,d,p,_,x,O,C=[at(o=this._createDomElement).call(o,this),at(a=this._appendDomElement).call(a,this),at(s=this._updateDirtyDomComponents).call(s,this),at(d=function(){this.dirty&&(x=this._getDomComponentsSizes())}).call(d,this),at(p=function(){var Y;this.dirty&&at(Y=this._updateDomComponentsSizes).call(Y,this)(x)}).call(p,this),at(_=this._repaintDomAdditionals).call(_,this)];return r?C:(Ot(C).call(C,function(Y){O=Y()}),O)}},{key:"show",value:function(){this.displayed||this.redraw()}},{key:"hide",value:function(){if(this.displayed){var r=this.dom;r.box.parentNode&&r.box.parentNode.removeChild(r.box),this.options.showStipes&&(r.line.parentNode&&r.line.parentNode.removeChild(r.line),r.dot.parentNode&&r.dot.parentNode.removeChild(r.dot)),this.displayed=!1}}},{key:"repositionX",value:function(){var r=this.conversion.toScreen(this.data.start),o=this.data.end?this.conversion.toScreen(this.data.end):0;if(o)this.repositionXWithRanges(r,o);else{var a=this.data.align===void 0?this.options.align:this.data.align;this.repositionXWithoutRanges(r,a)}this.options.showStipes&&(this.dom.line.style.display=this._isStipeVisible()?"block":"none",this.dom.dot.style.display=this._isStipeVisible()?"block":"none",this._isStipeVisible()&&this.repositionStype(r,o))}},{key:"repositionStype",value:function(r,o){this.dom.line.style.display="block",this.dom.dot.style.display="block";var a=this.dom.line.offsetWidth,s=this.dom.dot.offsetWidth;if(o){var d=a+r+(o-r)/2,p=d-s/2,_=this.options.rtl?-1*d:d,x=this.options.rtl?-1*p:p;this.dom.line.style.transform="translateX(".concat(_,"px)"),this.dom.dot.style.transform="translateX(".concat(x,"px)")}else{var O=this.options.rtl?-1*r:r,C=this.options.rtl?-1*(r-s/2):r-s/2;this.dom.line.style.transform="translateX(".concat(O,"px)"),this.dom.dot.style.transform="translateX(".concat(C,"px)")}}},{key:"repositionXWithoutRanges",value:function(r,o){o=="right"?this.options.rtl?(this.right=r-this.width,this.dom.box.style.right=this.right+"px"):(this.left=r-this.width,this.dom.box.style.left=this.left+"px"):o=="left"?this.options.rtl?(this.right=r,this.dom.box.style.right=this.right+"px"):(this.left=r,this.dom.box.style.left=this.left+"px"):this.options.rtl?(this.right=r-this.width/2,this.dom.box.style.right=this.right+"px"):(this.left=r-this.width/2,this.dom.box.style.left=this.left+"px")}},{key:"repositionXWithRanges",value:function(r,o){var a=Math.round(Math.max(o-r+.5,1));this.options.rtl?this.right=r:this.left=r,this.width=Math.max(a,this.minWidth||0),this.options.rtl?this.dom.box.style.right=this.right+"px":this.dom.box.style.left=this.left+"px",this.dom.box.style.width=a+"px"}},{key:"repositionY",value:function(){var r=this.options.orientation.item,o=this.dom.box;if(o.style.top=r=="top"?(this.top||0)+"px":(this.parent.height-this.top-this.height||0)+"px",this.options.showStipes){if(r=="top")this.dom.line.style.top="0",this.dom.line.style.height=this.parent.top+this.top+1+"px",this.dom.line.style.bottom="";else{var a=this.parent.itemSet.props.height,s=a-this.parent.top-this.parent.height+this.top;this.dom.line.style.top=a-s+"px",this.dom.line.style.bottom="0"}this.dom.dot.style.top=-this.dom.dot.offsetHeight/2+"px"}}},{key:"getWidthLeft",value:function(){return thi
Line truncated
|
||||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a,s=!0,d=!1;return{s:function(){n=n.call(t)},n:function(){var p=n.next();return s=p.done,p},e:function(p){d=!0,a=p},f:function(){try{s||n.return==null||n.return()}finally{if(d)throw a}}}}function iC(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}nC.prototype.baseClassName="vis-item vis-range vis-cluster";var OP="__ungrouped__",QC=function(){function t(e){Se(this,t),this.itemSet=e,this.groups={},this.cache={},this.cache[-1]=[]}return Ce(t,[{key:"createClusterItem",value:function(e,n,r){return new nC(e,n,r)}},{key:"setItems",value:function(e,n){this.items=e||[],this.dataChanged=!0,this.applyOnChangedLevel=!1,n&&n.applyOnChangedLevel&&(this.applyOnChangedLevel=n.applyOnChangedLevel)}},{key:"updateData",value:function(){this.dataChanged=!0,this.applyOnChangedLevel=!1}},{key:"getClusters",value:function(e,n,r){var o=typeof r=="boolean"?{}:r,a=o.maxItems,s=o.clusterCriteria;s||(s=function(){return!0}),a=a||1;var d=-1,p=0;if(n>0){if(n>=1)return[];d=Math.abs(Math.round(Math.log(100/n)/Math.log(2))),p=Math.abs(Math.pow(2,d))}if(this.dataChanged){var _=d!=this.cacheLevel;(!this.applyOnChangedLevel||_)&&(this._dropLevelsCache(),this._filterData())}this.cacheLevel=d;var x=this.cache[d];if(!x){for(var O in x=[],this.groups)if(this.groups.hasOwnProperty(O))for(var C=this.groups[O],Y=C.length,j=0;j<Y;){for(var G=C[j],X=1,q=j-1;q>=0&&G.center-C[q].center<p/2;)!C[q].cluster&&s(G.data,C[q].data)&&X++,q--;for(var tt=j+1;tt<C.length&&C[tt].center-G.center<p/2;)s(G.data,C[tt].data)&&X++,tt++;for(var ot=x.length-1;ot>=0&&G.center-x[ot].center<p;)G.group==x[ot].group&&s(G.data,x[ot].data)&&X++,ot--;if(X>a){for(var wt=X-a+1,It=[],pt=j;It.length<wt&&pt<C.length;)s(C[j].data,C[pt].data)&&It.push(C[pt]),pt++;var bt=this.itemSet.getGroupId(G.data),ut=this.itemSet.groups[bt]||this.itemSet.groups[OP],Lt=this._getClusterForItems(It,ut,e,r);x.push(Lt),j+=wt}else delete G.cluster,j+=1}this.cache[d]=x}return x}},{key:"_filterData",value:function(){var e={};this.groups=e;for(var n=0,r=fn(this.items);n<r.length;n++){var o=r[n],a=o.parent?o.parent.groupId:"",s=e[a];s||(s=[],e[a]=s),s.push(o),o.data.start&&(o.data.end?o.center=(o.data.start.valueOf()+o.data.end.valueOf())/2:o.center=o.data.start.valueOf())}for(var d in e){var p;e.hasOwnProperty(d)&&Mr(p=e[d]).call(p,function(_,x){return _.center-x.center})}this.dataChanged=!1}},{key:"_getClusterForItems",value:function(e,n,r,o){var a,s,d=Br(a=r||[]).call(a,function(q){var tt;return{cluster:q,itemsIds:new a_(Br(tt=q.data.uiItems).call(tt,function(ot){return ot.id}))}});if(d.length){var p,_=xP(d);try{var x=function(){var q=p.value;if(q.itemsIds.size===e.length&&ZC(e).call(e,function(tt){return q.itemsIds.has(tt.id)}))return s=q.cluster,"break"};for(_.s();!(p=_.n()).done&&x()!=="break";);}catch(q){_.e(q)}finally{_.f()}}if(s)return s.setUiItems(e),s.group!==n&&(s.group&&s.group.remove(s),n&&(n.add(s),s.group=n)),s;var O=o.titleTemplate||"",C={toScreen:this.itemSet.body.util.toScreen,toTime:this.itemSet.body.util.toTime},Y=O.replace(/{count}/,e.length),j='<div title="'+Y+'">'+e.length+"</div>",G=zn({},o,this.itemSet.options),X={content:j,title:Y,group:n,uiItems:e,eventEmitter:this.itemSet.body.emitter,range:this.itemSet.body.range};return s=this.createClusterItem(X,C,G),n&&(n.add(s),s.group=n),s.attach(),s}},{key:"_dropLevelsCache",value:function(){this.cache={},this.cacheLevel=-1,this.cache[this.cacheLevel]=[]}}]),t}();function ed(t,e){var n=Oo!==void 0&&Qr(t)||t["@@iterator"];if(!n){if(ce(t)||(n=function(p,_){var x;if(p){if(typeof p=="string")return tI(p,_);var O=vr(x=Object.prototype.toString.call(p)).call(x,8,-1);if(O==="Object"&&p.constructor&&(O=p.constructor.name),O==="Map"||O==="Set")return au(p);if(O==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(O))return tI(p,_)}}(t))||e&&t&&typeof t.length=="number"){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(p){throw p},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
||||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a,s=!0,d=!1;return{s:function(){n=n.call(t)},n:function(){var p=n.next();return s=p.done,p},e:function(p){d=!0,a=p},f:function(){try{s||n.return==null||n.return()}finally{if(d)throw a}}}}function tI(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function oC(t){var e=function(){if(typeof Reflect=="undefined"||!At||At.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(At(Boolean,[],function(){})),!0}catch(n){return!1}}();return function(){var n,r=Be(t);if(e){var o=Be(this).constructor;n=At(r,arguments,o)}else n=r.apply(this,arguments);return ui(this,n)}}var Cp="__ungrouped__",ds="__background__",Lg=function(t){si(n,t);var e=oC(n);function n(r,o){var a;Se(this,n),(a=e.call(this)).body=r,a.defaultOptions={type:null,orientation:{item:"bottom"},align:"auto",stack:!0,stackSubgroups:!0,groupOrderSwap:function(d,p,_){var x=p.order;p.order=d.order,d.order=x},groupOrder:"order",selectable:!0,multiselect:!1,longSelectPressTime:251,itemsAlwaysDraggable:{item:!1,range:!1},editable:{updateTime:!1,updateGroup:!1,add:!1,remove:!1,overrideItems:!1},groupEditable:{order:!1,add:!1,remove:!1},snap:Ou.snap,onDropObjectOnItem:function(d,p,_){_(p)},onAdd:function(d,p){p(d)},onUpdate:function(d,p){p(d)},onMove:function(d,p){p(d)},onRemove:function(d,p){p(d)},onMoving:function(d,p){p(d)},onAddGroup:function(d,p){p(d)},onMoveGroup:function(d,p){p(d)},onRemoveGroup:function(d,p){p(d)},margin:{item:{horizontal:10,vertical:10},axis:20},showTooltips:!0,tooltip:{followMouse:!1,overflowMethod:"flip",delay:500},tooltipOnItemUpdateTime:!1},a.options=H.extend({},a.defaultOptions),a.options.rtl=o.rtl,a.options.onTimeout=o.onTimeout,a.conversion={toScreen:r.util.toScreen,toTime:r.util.toTime},a.dom={},a.props={},a.hammer=null;var s=me(a);return a.itemsData=null,a.groupsData=null,a.itemsSettingTime=null,a.initialItemSetDrawn=!1,a.userContinueNotBail=null,a.sequentialSelection=!1,a.itemListeners={add:function(d,p,_){s._onAdd(p.items),s.options.cluster&&s.clusterGenerator.setItems(s.items,{applyOnChangedLevel:!1}),s.redraw()},update:function(d,p,_){s._onUpdate(p.items),s.options.cluster&&s.clusterGenerator.setItems(s.items,{applyOnChangedLevel:!1}),s.redraw()},remove:function(d,p,_){s._onRemove(p.items),s.options.cluster&&s.clusterGenerator.setItems(s.items,{applyOnChangedLevel:!1}),s.redraw()}},a.groupListeners={add:function(d,p,_){if(s._onAddGroups(p.items),s.groupsData&&s.groupsData.length>0){var x,O=s.groupsData.getDataSet();Ot(x=O.get()).call(x,function(C){if(C.nestedGroups){var Y;C.showNested!=0&&(C.showNested=!0);var j=[];Ot(Y=C.nestedGroups).call(Y,function(G){var X=O.get(G);X&&(X.nestedInGroup=C.id,C.showNested==0&&(X.visible=!1),j=Ke(j).call(j,X))}),O.update(j,_)}})}},update:function(d,p,_){s._onUpdateGroups(p.items)},remove:function(d,p,_){s._onRemoveGroups(p.items)}},a.items={},a.groups={},a.groupIds=[],a.selection=[],a.popup=null,a.popupTimer=null,a.touchParams={},a.groupTouchParams={group:null,isDragging:!1},a._create(),a.setOptions(o),a.clusters=[],a}return Ce(n,[{key:"_create",value:function(){var r,o,a,s,d,p,_,x,O,C,Y,j,G,X,q,tt=this,ot=document.createElement("div");ot.className="vis-itemset",ot["vis-itemset"]=this,this.dom.frame=ot;var wt=document.createElement("div");wt.className="vis-background",ot.appendChild(wt),this.dom.background=wt;var It=document.createElement("div");It.className="vis-foreground",ot.appendChild(It),this.dom.foreground=It;var pt=document.createElement("div");pt.className="vis-axis",this.dom.axis=pt;var bt=document.createElement("div");bt.className="vis-labelset",this.dom.labelSet=bt,this._updateUngrouped();var ut=new XD(ds,null,this);ut.show(),this.groups[ds]=ut,this.hammer=new ze(this.body.dom.centerContainer),this.hammer.on("hammer.input",function(Lt){Lt.isFirst&&tt._onTouch(Lt)}),this.hammer.on("panstart",at(r=this._onDragStart).call(r,this)),this.hammer.on("panmove",at(o=this._onDrag).call(o,this)),this.hammer.on("panend",at(a=this._onDragEnd).call(a,this)),this.hammer.get("pan").set({threshold:5,direction:ze.ALL}),this.hammer.get("press").set({time:1e4}),this.hammer.on("tap",at(s=this._onSelectItem).call(s,this)),this.hammer.on("press",at(d=this._onMultiSelectItem).call(d,this)),this.hammer.get("press").set({time:1e4}),this.hammer.on("doubletap",at(p=this._onAddItem).call(p,this)),this.options.rtl?this.groupHammer=new ze(this.body.dom.rightContainer):this.groupHammer=new ze(this.body.dom.leftContainer),this.groupHammer.on("tap",at(_=this._onGroupClick).call(_,this)),this.groupHammer.on("panstart",at(x=this._onGroupDragStart).call(x,this)),this.groupHammer.on("panmove",at(O=this._onGroupDrag).call(O,this)),this.groupHammer.on("panend",at(C=this._onGroupDragEnd).call(C,this)),this.groupHammer.get("pan").set({threshold:5,direction:ze.DIRECTION_VERTICAL}),this.body.dom.centerContainer.addEventListener("mouseover",at(Y=this._onMo
Line truncated
|
||||
|
||||
`:s.distance<=4&&a.distance>s.distance?" in "+t.printLocation(a.path,e,"")+"Perhaps it was misplaced? Matching option found at: "+t.printLocation(s.path,s.closestMatch,""):a.distance<=8?'. Did you mean "'+a.closestMatch+'"?'+t.printLocation(a.path,e):". Did you mean one of these: "+t.print(Jr(n))+t.printLocation(r,e),console.log('%cUnknown option detected: "'+e+'"'+o,u_),Fg=!0}},{key:"findInOptions",value:function(e,n,r){var o=arguments.length>3&&arguments[3]!==void 0&&arguments[3],a=1e9,s="",d=[],p=e.toLowerCase(),_=void 0;for(var x in n){var O=void 0;if(n[x].__type__!==void 0&&o===!0){var C=t.findInOptions(e,n[x],H.copyAndExtendArray(r,x));a>C.distance&&(s=C.closestMatch,d=C.path,a=C.distance,_=C.indexMatch)}else{var Y;Ie(Y=x.toLowerCase()).call(Y,p)!==-1&&(_=x),a>(O=t.levenshteinDistance(e,x))&&(s=x,d=H.copyArray(r),a=O)}}return{closestMatch:s,path:d,distance:a,indexMatch:_}}},{key:"printLocation",value:function(e,n){for(var r=`
|
||||
|
||||
`+(arguments.length>2&&arguments[2]!==void 0?arguments[2]:`Problem value found at:
|
||||
`)+`options = {
|
||||
`,o=0;o<e.length;o++){for(var a=0;a<o+1;a++)r+=" ";r+=e[o]+`: {
|
||||
`}for(var s=0;s<e.length+1;s++)r+=" ";r+=n+`
|
||||
`;for(var d=0;d<e.length+1;d++){for(var p=0;p<e.length-d;p++)r+=" ";r+=`}
|
||||
`}return r+`
|
||||
|
||||
`}},{key:"print",value:function(e){return Un(e).replace(/(\")|(\[)|(\])|(,"__type__")/g,"").replace(/(\,)/g,", ")}},{key:"levenshteinDistance",value:function(e,n){if(e.length===0)return n.length;if(n.length===0)return e.length;var r,o,a=[];for(r=0;r<=n.length;r++)a[r]=[r];for(o=0;o<=e.length;o++)a[0][o]=o;for(r=1;r<=n.length;r++)for(o=1;o<=e.length;o++)n.charAt(r-1)==e.charAt(o-1)?a[r][o]=a[r-1][o-1]:a[r][o]=Math.min(a[r-1][o-1]+1,Math.min(a[r][o-1]+1,a[r-1][o]+1));return a[n.length][e.length]}}]),t}(),te="string",ee="boolean",Ze="number",rI="array",fs="date",ur="object",rd="moment",EP={configure:{enabled:{boolean:ee},filter:{boolean:ee,function:"function"},container:{dom:"dom"},__type__:{object:ur,boolean:ee,function:"function"}},align:{string:te},alignCurrentTime:{string:te,undefined:"undefined"},rtl:{boolean:ee,undefined:"undefined"},rollingMode:{follow:{boolean:ee},offset:{number:Ze,undefined:"undefined"},__type__:{object:ur}},onTimeout:{timeoutMs:{number:Ze},callback:{function:"function"},__type__:{object:ur}},verticalScroll:{boolean:ee,undefined:"undefined"},horizontalScroll:{boolean:ee,undefined:"undefined"},autoResize:{boolean:ee},throttleRedraw:{number:Ze},clickToUse:{boolean:ee},dataAttributes:{string:te,array:rI},editable:{add:{boolean:ee,undefined:"undefined"},remove:{boolean:ee,undefined:"undefined"},updateGroup:{boolean:ee,undefined:"undefined"},updateTime:{boolean:ee,undefined:"undefined"},overrideItems:{boolean:ee,undefined:"undefined"},__type__:{boolean:ee,object:ur}},end:{number:Ze,date:fs,string:te,moment:rd},format:{minorLabels:{millisecond:{string:te,undefined:"undefined"},second:{string:te,undefined:"undefined"},minute:{string:te,undefined:"undefined"},hour:{string:te,undefined:"undefined"},weekday:{string:te,undefined:"undefined"},day:{string:te,undefined:"undefined"},week:{string:te,undefined:"undefined"},month:{string:te,undefined:"undefined"},year:{string:te,undefined:"undefined"},__type__:{object:ur,function:"function"}},majorLabels:{millisecond:{string:te,undefined:"undefined"},second:{string:te,undefined:"undefined"},minute:{string:te,undefined:"undefined"},hour:{string:te,undefined:"undefined"},weekday:{string:te,undefined:"undefined"},day:{string:te,undefined:"undefined"},week:{string:te,undefined:"undefined"},month:{string:te,undefined:"undefined"},year:{string:te,undefined:"undefined"},__type__:{object:ur,function:"function"}},__type__:{object:ur}},moment:{function:"function"},groupHeightMode:{string:te},groupOrder:{string:te,function:"function"},groupEditable:{add:{boolean:ee,undefined:"undefined"},remove:{boolean:ee,undefined:"undefined"},order:{boolean:ee,undefined:"undefined"},__type__:{boolean:ee,object:ur}},groupOrderSwap:{function:"function"},height:{string:te,number:Ze},hiddenDates:{start:{date:fs,number:Ze,string:te,moment:rd},end:{date:fs,number:Ze,string:te,moment:rd},repeat:{string:te},__type__:{object:ur,array:rI}},itemsAlwaysDraggable:{item:{boolean:ee,undefined:"undefined"},range:{boolean:ee,undefined:"undefined"},__type__:{boolean:ee,object:ur}},limitSize:{boolean:ee},locale:{string:te},locales:{__any__:{any:"any"},__type__:{object:ur}},longSelectPressTime:{number:Ze},margin:{axis:{number:Ze},item:{horizontal:{number:Ze,undefined:"undefined"},vertical:{number:Ze,undefined:"undefined"},__type__:{object:ur,number:Ze}},__type__:{object:ur,number:Ze}},max:{date:fs,number:Ze,string:te,moment:rd},maxHeight:{number:Ze,string:te},maxMinorChars:{number:Ze},min:{date:fs,number:Ze,string:te,moment:rd},minHeight:{number:Ze,string:te},moveable:{boolean:ee},multiselect:{boolean:ee},multiselectPerGroup:{boolean:ee},onAdd:{function:"function"},onDropObjectOnItem:{function:"function"},onUpdate:{function:"function"},onMove:{function:"function"},onMoving:{function:"function"},onRemove:{function:"function"},onAddGroup:{function:"function"},onMoveGroup:{function:"function"},onRemoveGroup:{function:"function"},onInitialDrawComplete:{function:"function"},order:{function:"function"},orientation:{axis:{string:te,undefined:"undefined"},item:{string:te,undefined:"undefined"},__type__:{string:te,object:ur}},selectable:{boolean:ee},sequentialSelection:{boolean:ee},showCurrentTime:{boolean:ee},showMajorLabels:{boolean:ee},showMinorLabels:{boolean:ee},showWeekScale:{boolean:ee},stack:{boolean:ee},stackSubgroups:{boolean:ee},cluster:{maxItems:{number:Ze,undefined:"undefined"},titleTemplate:{string:te,undefined:"undefined"},clusterCriteria:{function:"function",undefined:"undefined"},showStipes:{boolean:ee,undefined:"undefined"},fitOnDoubleClick:{boolean:ee,undefined:"undefined"},__type__:{boolean:ee,object:ur}},snap:{function:"function",null:"null"},start:{date:fs,number:Ze,string:te,moment:rd},template:{function:"function"},loadingScreenTemplate:{function:"function"},groupTemplate:{function:"function"},visibleFrameTemplate:{string:te,function:"function"},showTooltips:{boolean:ee},tooltip:{followMouse:{boolean:ee},overflowMethod:{string:["cap","flip","none"]},delay:{number:Ze},template:{fun
Line truncated
|
||||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a,s=!0,d=!1;return{s:function(){n=n.call(t)},n:function(){var p=n.next();return s=p.done,p},e:function(p){d=!0,a=p},f:function(){try{s||n.return==null||n.return()}finally{if(d)throw a}}}}function aI(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function $P(t){var e=function(){if(typeof Reflect=="undefined"||!At||At.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(At(Boolean,[],function(){})),!0}catch(n){return!1}}();return function(){var n,r=Be(t);if(e){var o=Be(this).constructor;n=At(r,arguments,o)}else n=r.apply(this,arguments);return ui(this,n)}}var cC=function(t){si(n,t);var e=$P(n);function n(r,o,a,s){var d;Se(this,n),(d=e.call(this)).id=Wh(),d.body=r,d.defaultOptions={orientation:"left",showMinorLabels:!0,showMajorLabels:!0,showWeekScale:!1,icons:!1,majorLinesOffset:7,minorLinesOffset:4,labelOffsetX:10,labelOffsetY:2,iconWidth:20,width:"40px",visible:!0,alignZeros:!0,left:{range:{min:void 0,max:void 0},format:function(_){return"".concat(mg(_.toPrecision(3)))},title:{text:void 0,style:void 0}},right:{range:{min:void 0,max:void 0},format:function(_){return"".concat(mg(_.toPrecision(3)))},title:{text:void 0,style:void 0}}},d.linegraphOptions=s,d.linegraphSVG=a,d.props={},d.DOMelements={lines:{},labels:{},title:{}},d.dom={},d.scale=void 0,d.range={start:0,end:0},d.options=H.extend({},d.defaultOptions),d.conversionFactor=1,d.setOptions(o),d.width=Number("".concat(d.options.width).replace("px","")),d.minWidth=d.width,d.height=d.linegraphSVG.getBoundingClientRect().height,d.hidden=!1,d.stepPixels=25,d.zeroCrossing=-1,d.amountOfSteps=-1,d.lineOffset=0,d.master=!0,d.masterAxis=null,d.svgElements={},d.iconsRemoved=!1,d.groups={},d.amountOfGroups=0,d._create(),d.scale==null&&d._redrawLabels(),d.framework={svg:d.svg,svgElements:d.svgElements,options:d.options,groups:d.groups};var p=me(d);return d.body.emitter.on("verticalDrag",function(){p.dom.lineContainer.style.top="".concat(p.body.domProps.scrollTop,"px")}),d}return Ce(n,[{key:"addGroup",value:function(r,o){this.groups.hasOwnProperty(r)||(this.groups[r]=o),this.amountOfGroups+=1}},{key:"updateGroup",value:function(r,o){this.groups.hasOwnProperty(r)||(this.amountOfGroups+=1),this.groups[r]=o}},{key:"removeGroup",value:function(r){this.groups.hasOwnProperty(r)&&(delete this.groups[r],this.amountOfGroups-=1)}},{key:"setOptions",value:function(r){if(r){var o=!1;this.options.orientation!=r.orientation&&r.orientation!==void 0&&(o=!0),H.selectiveDeepExtend(["orientation","showMinorLabels","showMajorLabels","icons","majorLinesOffset","minorLinesOffset","labelOffsetX","labelOffsetY","iconWidth","width","visible","left","right","alignZeros"],this.options,r),this.minWidth=Number("".concat(this.options.width).replace("px","")),o===!0&&this.dom.frame&&(this.hide(),this.show())}}},{key:"_create",value:function(){this.dom.frame=document.createElement("div"),this.dom.frame.style.width=this.options.width,this.dom.frame.style.height=this.height,this.dom.lineContainer=document.createElement("div"),this.dom.lineContainer.style.width="100%",this.dom.lineContainer.style.height=this.height,this.dom.lineContainer.style.position="relative",this.dom.lineContainer.style.visibility="visible",this.dom.lineContainer.style.display="block",this.svg=document.createElementNS("http://www.w3.org/2000/svg","svg"),this.svg.style.position="absolute",this.svg.style.top="0px",this.svg.style.height="100%",this.svg.style.width="100%",this.svg.style.display="block",this.dom.frame.appendChild(this.svg)}},{key:"_redrawGroupIcons",value:function(){var r;nd(this.svgElements);var o=this.options.iconWidth,a=11.5;r=this.options.orientation==="left"?4:this.width-o-4;var s=Jr(this.groups);Mr(s).call(s,function(x,O){return x<O?-1:1});var d,p=AP(s);try{for(p.s();!(d=p.n()).done;){var _=d.value;this.groups[_].visible!==!0||this.linegraphOptions.visibility[_]!==void 0&&this.linegraphOptions.visibility[_]!==!0||(this.groups[_].getLegend(o,15,this.framework,r,a),a+=19)}}catch(x){p.e(x)}finally{p.f()}va(this.svgElements),this.iconsRemoved=!1}},{key:"_cleanupIcons",value:function(){this.iconsRemoved===!1&&(nd(this.svgElements),va(this.svgElements),this.iconsRemoved=!0)}},{key:"show",value:function(){this.hidden=!1,this.dom.frame.parentNode||(this.options.orientation==="left"?this.body.dom.left.appendChild(this.dom.frame):this.body.dom.right.appendChild(this.dom.frame)),this.dom.lineContainer.parentNode||this.body.dom.backgroundHorizontal.appendChild(this.dom.lineContainer),this.dom.lineContainer.style.display="block"}},{key:"hide",value:function(){this.hidden=!0,this.dom.frame.parentNode&&this.dom.frame.parentNode.removeChild(this.dom.frame),this.dom.lineContainer.style.display="none"}},{key:"setRange",value:function(r,o){this.range.start=r,this.range.end=o}},{key:"redraw",value:function(){var r=!1,o=0;for(var a in this.dom.lineContainer.st
Line truncated
|
||||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function dn(u){return function(f){if(z1(f))return o0(f)}(u)||function(f){if(nu!==void 0&&W1(f)!=null||f["@@iterator"]!=null)return am(f)}(u)||sm(u)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
||||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}var hf=z(J_),iO=qr("Array","concat"),Yr=$e,a0=iO,s0=Array.prototype,um=z(function(u){var f=u.concat;return u===s0||Yr(s0,u)&&f===s0.concat?a0:f}),df=z(cf),u0=wr,oO=oi,aO=wi,l0=wn,sO=le([].concat),za=u0("Reflect","ownKeys")||function(u){var f=oO.f(l0(u)),v=aO.f;return v?sO(f,v(u)):f};Rt({target:"Reflect",stat:!0},{ownKeys:za});var Q1=z(Ge.Reflect.ownKeys),Gn=z(nm),uO=yn,ff=Ys;Rt({target:"Object",stat:!0,forced:dt(function(){ff(1)})},{keys:function(u){return ff(uO(u))}});var pf=z(Ge.Object.keys),tS=Ut.forEach,lm=Jv("forEach")?[].forEach:function(u){return tS(this,u,arguments.length>1?arguments[1]:void 0)};Rt({target:"Array",proto:!0,forced:[].forEach!==lm},{forEach:lm});var lO=qr("Array","forEach"),cm=Bi,cO=Kt,eS=$e,lh=lO,c0=Array.prototype,hO={DOMTokenList:!0,NodeList:!0},h0=function(u){var f=u.forEach;return u===c0||eS(c0,u)&&f===c0.forEach||cO(hO,cm(u))?lh:f},ea=z(h0),d0=Rt,dO=Yi,fO=le([].reverse),rS=[1,2];d0({target:"Array",proto:!0,forced:String(rS)===String(rS.reverse())},{reverse:function(){return dO(this)&&(this.length=this.length),fO(this)}});var pO=qr("Array","reverse"),vO=$e,f0=pO,vf=Array.prototype,nS=function(u){var f=u.reverse;return u===vf||vO(vf,u)&&f===vf.reverse?f0:f},Br=z(nS),hm=nr,mO=TypeError,p0=function(u,f){if(!delete u[f])throw new mO("Cannot delete property "+hm(f)+" of "+hm(u))},gO=Rt,yO=yn,bO=Go,wO=Sn,iS=Rn,_O=ou,SO=zu,kO=Ku,v0=yi,m0=p0,TO=Pa("splice"),g0=Math.max,xO=Math.min;gO({target:"Array",proto:!0,forced:!TO},{splice:function(u,f){var v,m,S,E,P,A,N=yO(this),U=iS(N),K=bO(u,U),Q=arguments.length;for(Q===0?v=m=0:Q===1?(v=0,m=U-K):(v=Q-2,m=xO(g0(wO(f),0),U-K)),SO(U+v-m),S=kO(N,m),E=0;E<m;E++)(P=K+E)in N&&v0(S,E,N[P]);if(S.length=m,v<m){for(E=K;E<U-m;E++)A=E+v,(P=E+m)in N?N[A]=N[P]:m0(N,A);for(E=U;E>U-m+v;E--)m0(N,E-1)}else if(v>m)for(E=U-m;E>K;E--)A=E+v-1,(P=E+m-1)in N?N[A]=N[P]:m0(N,A);for(E=0;E<v;E++)N[E+K]=arguments[E+2];return _O(N,U-m+v),S}});var Kr=qr("Array","splice"),oS=$e,y0=Kr,b0=Array.prototype,aS=z(function(u){var f=u.splice;return u===b0||oS(b0,u)&&f===b0.splice?y0:f}),w0=ie,OO=le,Jr=Ae,_0=dt,Tl=Ys,S0=wi,EO=je,DO=yn,sS=gs,Zr=Object.assign,k0=Object.defineProperty,CO=OO([].concat),IO=!Zr||_0(function(){if(w0&&Zr({b:1},Zr(k0({},"a",{enumerable:!0,get:function(){k0(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var u={},f={},v=Symbol("assign detection"),m="abcdefghijklmnopqrst";return u[v]=7,m.split("").forEach(function(S){f[S]=S}),Zr({},u)[v]!==7||Tl(Zr({},f)).join("")!==m})?function(u,f){for(var v=DO(u),m=arguments.length,S=1,E=S0.f,P=EO.f;m>S;)for(var A,N=sS(arguments[S++]),U=E?CO(Tl(N),E(N)):Tl(N),K=U.length,Q=0;K>Q;)A=U[Q++],w0&&!Jr(P,N,A)||(v[A]=N[A]);return v}:Zr,uS=IO;Rt({target:"Object",stat:!0,arity:2,forced:Object.assign!==uS},{assign:uS});var T0=z(Ge.Object.assign),PO=yn,x0=Xd,AO=hb;Rt({target:"Object",stat:!0,forced:dt(function(){x0(1)}),sham:!AO},{getPrototypeOf:function(u){return x0(PO(u))}});var lS=Ge.Object.getPrototypeOf;Rt({target:"Object",stat:!0,sham:!ie},{create:Wo});var $O=Ge.Object,cS=function(u,f){return $O.create(u,f)},MO=z(cS),ch=Ge,NO=Mi;ch.JSON||(ch.JSON={stringify:JSON.stringify});var RO=function(u,f,v){return NO(ch.JSON.stringify,null,arguments)},jO=z(RO),O0=typeof Bun=="function"&&Bun&&typeof Bun.version=="string",LO=TypeError,hS=function(u,f){if(u<f)throw new LO("Not enough arguments");return u},E0=St,FO=Mi,YO=Te,BO=O0,HO=Xt,GO=Xr,WO=hS,dS=E0.Function,fS=/MSIE .\./.test(HO)||BO&&function(){var u=E0.Bun.version.split(".");return u.length<3||u[0]==="0"&&(u[1]<3||u[1]==="3"&&u[2]==="0")}(),D0=function(u,f){var v=f?2:1;return fS?function(m,S){var E=WO(arguments.length,1)>v,P=YO(m)?m:dS(m),A=E?GO(arguments,v):[],N=E?function(){FO(P,this,A)}:P;return f?u(N,S):u(N)}:u},zO=Rt,C0=St,I0=D0(C0.setInterval,!0);zO({global:!0,bind:!0,forced:C0.setInterval!==I0},{setInterval:I0});var pS=Rt,vS=St,P0=D0(vS.setTimeout,!0);pS({global:!0,bind:!0,forced:vS.setTimeout!==P0},{setTimeout:P0});var UO=z(Ge.setTimeout),A0={exports:{}};(function(u){function f(v){if(v)return function(m){return Object.assign(m,f.prototype),m._callbacks=new Map,m}(v);this._callbacks=new Map}f.prototype.on=function(v,m){var E;let S=(E=this._callbacks.get(v))!=null?E:[];return S.push(m),this._callbacks.set(v,S),this},f.prototype.once=function(v,m){let S=(...E)=>{this.off(v,S),m.apply(this,E)};return S.fn=m,this.on(v,S),this},f.prototype.off=function(v,m){if(v===void 0&&m===void 0)return this._callbacks.clear(),this;if(m===void 0)return this._callbacks.delete(v),this;let S=this._callbacks.get(v);if(S){for(let[E,P]of S.entries())if(P===m||P.fn===m){S.splice(E,1);break}S.length===0?this._callbacks.delete(v):this._callbacks.set(v,S)}return this},f.prototype.emit=function(v,...m){let S=this._callbacks.get(v);if(S){let E=[...S];for(let P of E)P.apply(this,m)}return this},f.prototype.listeners=function(v){var m;return(m=this._callbacks.get(v))!=null?m:[]},f.prototype.listenerCount=function(v){i
Line truncated
|
||||
`+v+` AT
|
||||
`;return function(){var S=new Error("get-stack-trace"),E=S&&S.stack?S.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",P=window.console&&(window.console.warn||window.console.log);return P&&P.call(window.console,m,E),u.apply(this,arguments)}}var $S=X0(function(u,f,v){for(var m=Object.keys(f),S=0;S<m.length;)(!v||v&&u[m[S]]===void 0)&&(u[m[S]]=f[m[S]]),S++;return u},"extend","Use `assign`."),iE=X0(function(u,f){return $S(u,f,!0)},"merge","Use `assign`.");function MS(u,f,v){var m,S=f.prototype;(m=u.prototype=Object.create(S)).constructor=u,m._super=S,v&&Qr(m,v)}function NS(u,f){return function(){return u.apply(f,arguments)}}var q0=function(){var u=function(f,v){return v===void 0&&(v={}),new V0(f,Ti({recognizers:AS.concat()},v))};return u.VERSION="2.0.17-rc",u.DIRECTION_ALL=gm,u.DIRECTION_DOWN=Dl,u.DIRECTION_LEFT=wf,u.DIRECTION_RIGHT=El,u.DIRECTION_UP=_f,u.DIRECTION_HORIZONTAL=ra,u.DIRECTION_VERTICAL=Cl,u.DIRECTION_NONE=bf,u.DIRECTION_DOWN=Dl,u.INPUT_START=tn,u.INPUT_MOVE=2,u.INPUT_END=Ar,u.INPUT_CANCEL=Wn,u.STATE_POSSIBLE=1,u.STATE_BEGAN=2,u.STATE_CHANGED=4,u.STATE_ENDED=8,u.STATE_RECOGNIZED=8,u.STATE_CANCELLED=16,u.STATE_FAILED=cu,u.Manager=V0,u.Input=lu,u.TouchAction=R0,u.TouchInput=H0,u.MouseInput=Of,u.PointerEventInput=wm,u.TouchMouseInput=G0,u.SingleTouchInput=rE,u.Recognizer=Ef,u.AttrRecognizer=hu,u.Tap=W0,u.Pan=Df,u.Swipe=DS,u.Pinch=CS,u.Rotate=IS,u.Press=PS,u.on=Tf,u.off=xf,u.each=Ji,u.merge=iE,u.extend=$S,u.bindFn=NS,u.assign=Qr,u.inherit=MS,u.bindFn=NS,u.prefixed=dh,u.toArray=vh,u.inArray=vr,u.uniqueArray=B0,u.splitStr=Il,u.boolOrFn=Sf,u.hasParent=j0,u.addEventListeners=Tf,u.removeEventListeners=xf,u.defaults=Qr({},z0,{preset:AS}),u}();function RS(u,f){var v=hf!==void 0&&ah(u)||u["@@iterator"];if(!v){if(Gn(u)||(v=function(N,U){var K;if(N){if(typeof N=="string")return jS(N,U);var Q=df(K=Object.prototype.toString.call(N)).call(K,8,-1);if(Q==="Object"&&N.constructor&&(Q=N.constructor.name),Q==="Map"||Q==="Set")return uf(N);if(Q==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Q))return jS(N,U)}}(u))||f&&u&&typeof u.length=="number"){v&&(u=v);var m=0,S=function(){};return{s:S,n:function(){return m>=u.length?{done:!0}:{done:!1,value:u[m++]}},e:function(N){throw N},f:S}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
||||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var E,P=!0,A=!1;return{s:function(){v=v.call(u)},n:function(){var N=v.next();return P=N.done,N},e:function(N){A=!0,E=N},f:function(){try{P||v.return==null||v.return()}finally{if(A)throw E}}}}function jS(u,f){(f==null||f>u.length)&&(f=u.length);for(var v=0,m=new Array(f);v<f;v++)m[v]=u[v];return m}var K0=hf("DELETE");function LS(){var u=_m.apply(void 0,arguments);return yh(u),u}function _m(){for(var u=arguments.length,f=new Array(u),v=0;v<u;v++)f[v]=arguments[v];if(f.length<2)return f[0];var m;if(f.length>2)return _m.apply(void 0,um(m=[LS(f[0],f[1])]).call(m,dn(df(f).call(f,2))));var S=f[0],E=f[1];if(S instanceof Date&&E instanceof Date)return S.setTime(E.getTime()),S;var P,A=RS(Q1(E));try{for(A.s();!(P=A.n()).done;){var N=P.value;Object.prototype.propertyIsEnumerable.call(E,N)&&(E[N]===K0?delete S[N]:S[N]===null||E[N]===null||typeof S[N]!="object"||typeof E[N]!="object"||Gn(S[N])||Gn(E[N])?S[N]=FS(E[N]):S[N]=_m(S[N],E[N]))}}catch(U){A.e(U)}finally{A.f()}return S}function FS(u){return Gn(u)?ai(u).call(u,function(f){return FS(f)}):typeof u=="object"&&u!==null?u instanceof Date?new Date(u.getTime()):_m({},u):u}function yh(u){for(var f=0,v=pf(u);f<v.length;f++){var m=v[f];u[m]===K0?delete u[m]:typeof u[m]=="object"&&u[m]!==null&&yh(u[m])}}var oE=typeof window!="undefined"?window.Hammer||q0:function(){return function(){var u=function(){};return{on:u,off:u,destroy:u,emit:u,get:()=>({set:u})}}()};function Va(u){var f,v=this;this._cleanupQueue=[],this.active=!1,this._dom={container:u,overlay:document.createElement("div")},this._dom.overlay.classList.add("vis-overlay"),this._dom.container.appendChild(this._dom.overlay),this._cleanupQueue.push(function(){v._dom.overlay.parentNode.removeChild(v._dom.overlay)});var m=oE(this._dom.overlay);m.on("tap",Sl(f=this._onTapOverlay).call(f,this)),this._cleanupQueue.push(function(){m.destroy()});var S=["tap","doubletap","press","pinch","pan","panstart","panmove","panend"];ea(S).call(S,function(E){m.on(E,function(P){P.srcEvent.stopPropagation()})}),document&&document.body&&(this._onClick=function(E){(function(P,A){for(;P;){if(P===A)return!0;P=P.parentNode}return!1})(E.target,u)||v.deactivate()},document.body.addEventListener("click",this._onClick),this._cleanupQueue.push(function(){document.body.removeEventListener("click",v._onClick)})),this._escListener=function(E){("key"in E?E.key==="Escape":E.keyCode===27)&&v.deactivate()}}au(Va.prototype),Va.current=null,Va.prototype.destroy=function(){var u,f;this.deactivate();var v,m=RS(Br(u=aS(f=this._cleanupQueue).call(f,0)).call(u));try{for(m.s();!(v=m.n()).done;)(0,v.value)()}catch(S){m.e(S)}finally{m.f()}},Va.prototype.activate=function(){Va.current&&Va.current.deactivate(),Va.current=this,this.active=!0,this._dom.overlay.style.display="none",this._dom.container.classList.add("vis-active"),this.emit("change"),this.emit("activate"),document.body.addEventListener("keydown",this._escListener)},Va.prototype.deactivate=function(){this.active=!1,this._dom.overlay.style.display="block",this._dom.container.classList.remove("vis-active"),document.body.removeEventListener("keydown",this._escListener),this.emit("change"),this.emit("deactivate")},Va.prototype._onTapOverlay=function(u){this.activate(),u.srcEvent.stopPropagation()};var li=Hi,J0=nr,aE=TypeError,Cf=function(u){if(li(u))return u;throw new aE(J0(u)+" is not a constructor")},sE=Rt,Z0=Mi,YS=Uv,Sm=Cf,uE=wn,BS=_e,lE=Wo,Q0=dt,du=wr("Reflect","construct"),HS=Object.prototype,cE=[].push,GS=Q0(function(){function u(){}return!(du(function(){},[],u)instanceof u)}),tw=!Q0(function(){du(function(){})}),WS=GS||tw;sE({target:"Reflect",stat:!0,forced:WS,sham:WS},{construct:function(u,f){Sm(u),uE(f);var v=arguments.length<3?u:Sm(arguments[2]);if(tw&&!GS)return du(u,f,v);if(u===v){switch(f.length){case 0:return new u;case 1:return new u(f[0]);case 2:return new u(f[0],f[1]);case 3:return new u(f[0],f[1],f[2]);case 4:return new u(f[0],f[1],f[2],f[3])}var m=[null];return Z0(cE,m,f),new(Z0(YS,u,m))}var S=v.prototype,E=lE(BS(S)?S:HS),P=Z0(u,E,f);return BS(P)?P:E}});var zn=z(Ge.Reflect.construct),bh=z(Ge.Object.getOwnPropertySymbols),ew={exports:{}},hE=Rt,ci=dt,dE=ri,zS=Ni.f,US=ie;hE({target:"Object",stat:!0,forced:!US||ci(function(){zS(1)}),sham:!US},{getOwnPropertyDescriptor:function(u,f){return zS(dE(u),f)}});var xn=Ge.Object,fE=ew.exports=function(u,f){return xn.getOwnPropertyDescriptor(u,f)};xn.getOwnPropertyDescriptor.sham&&(fE.sham=!0);var wh=z(ew.exports),pE=za,vE=ri,mE=Ni,VS=yi;Rt({target:"Object",stat:!0,sham:!ie},{getOwnPropertyDescriptors:function(u){for(var f,v,m=vE(u),S=mE.f,E=pE(m),P={},A=0;E.length>A;)(v=S(m,f=E[A++]))!==void 0&&VS(P,f,v);return P}});var km=z(Ge.Object.getOwnPropertyDescriptors),XS={exports:{}},gE=Rt,qS=ie,KS=$a.f;gE({target:"Object",stat:!0,forced:Object.defineProperties!==KS,sham:!qS},{defineProperties:KS});var If=Ge.Object,rw=XS.exports=function(u,f){return If.defineProperties(u,f)};If.de
Line truncated
|
||||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var E,P=!0,A=!1;return{s:function(){v=v.call(u)},n:function(){var N=v.next();return P=N.done,N},e:function(N){A=!0,E=N},f:function(){try{P||v.return==null||v.return()}finally{if(A)throw E}}}}function mT(u,f){(f==null||f>u.length)&&(f=u.length);for(var v=0,m=new Array(f);v<f;v++)m[v]=u[v];return m}var Kw=function(u){function f(v){L(this,f),this._pairs=v}return _l(f,[{key:u,value:hr.mark(function v(){var m,S,E,P,A;return hr.wrap(function(N){for(;;)switch(N.prev=N.next){case 0:m=da(this._pairs),N.prev=1,m.s();case 3:if((S=m.n()).done){N.next=9;break}return E=Hn(S.value,2),P=E[0],A=E[1],N.next=7,[P,A];case 7:N.next=3;break;case 9:N.next=14;break;case 11:N.prev=11,N.t0=N.catch(1),m.e(N.t0);case 14:return N.prev=14,m.f(),N.finish(14);case 17:case"end":return N.stop()}},v,this,[[1,11,14,17]])})},{key:"entries",value:hr.mark(function v(){var m,S,E,P,A;return hr.wrap(function(N){for(;;)switch(N.prev=N.next){case 0:m=da(this._pairs),N.prev=1,m.s();case 3:if((S=m.n()).done){N.next=9;break}return E=Hn(S.value,2),P=E[0],A=E[1],N.next=7,[P,A];case 7:N.next=3;break;case 9:N.next=14;break;case 11:N.prev=11,N.t0=N.catch(1),m.e(N.t0);case 14:return N.prev=14,m.f(),N.finish(14);case 17:case"end":return N.stop()}},v,this,[[1,11,14,17]])})},{key:"keys",value:hr.mark(function v(){var m,S,E,P;return hr.wrap(function(A){for(;;)switch(A.prev=A.next){case 0:m=da(this._pairs),A.prev=1,m.s();case 3:if((S=m.n()).done){A.next=9;break}return E=Hn(S.value,1),P=E[0],A.next=7,P;case 7:A.next=3;break;case 9:A.next=14;break;case 11:A.prev=11,A.t0=A.catch(1),m.e(A.t0);case 14:return A.prev=14,m.f(),A.finish(14);case 17:case"end":return A.stop()}},v,this,[[1,11,14,17]])})},{key:"values",value:hr.mark(function v(){var m,S,E,P;return hr.wrap(function(A){for(;;)switch(A.prev=A.next){case 0:m=da(this._pairs),A.prev=1,m.s();case 3:if((S=m.n()).done){A.next=9;break}return E=Hn(S.value,2),P=E[1],A.next=7,P;case 7:A.next=3;break;case 9:A.next=14;break;case 11:A.prev=11,A.t0=A.catch(1),m.e(A.t0);case 14:return A.prev=14,m.f(),A.finish(14);case 17:case"end":return A.stop()}},v,this,[[1,11,14,17]])})},{key:"toIdArray",value:function(){var v;return ai(v=dn(this._pairs)).call(v,function(m){return m[0]})}},{key:"toItemArray",value:function(){var v;return ai(v=dn(this._pairs)).call(v,function(m){return m[1]})}},{key:"toEntryArray",value:function(){return dn(this._pairs)}},{key:"toObjectMap",value:function(){var v,m=MO(null),S=da(this._pairs);try{for(S.s();!(v=S.n()).done;){var E=Hn(v.value,2),P=E[0],A=E[1];m[P]=A}}catch(N){S.e(N)}finally{S.f()}return m}},{key:"toMap",value:function(){return new fg(this._pairs)}},{key:"toIdSet",value:function(){return new wg(this.toIdArray())}},{key:"toItemSet",value:function(){return new wg(this.toItemArray())}},{key:"cache",value:function(){return new f(dn(this._pairs))}},{key:"distinct",value:function(v){var m,S=new wg,E=da(this._pairs);try{for(E.s();!(m=E.n()).done;){var P=Hn(m.value,2),A=P[0],N=P[1];S.add(v(N,A))}}catch(U){E.e(U)}finally{E.f()}return S}},{key:"filter",value:function(v){var m=this._pairs;return new f({[xu]:()=>hr.mark(function S(){var E,P,A,N,U;return hr.wrap(function(K){for(;;)switch(K.prev=K.next){case 0:E=da(m),K.prev=1,E.s();case 3:if((P=E.n()).done){K.next=10;break}if(A=Hn(P.value,2),N=A[0],U=A[1],!v(U,N)){K.next=8;break}return K.next=8,[N,U];case 8:K.next=3;break;case 10:K.next=15;break;case 12:K.prev=12,K.t0=K.catch(1),E.e(K.t0);case 15:return K.prev=15,E.f(),K.finish(15);case 18:case"end":return K.stop()}},S,null,[[1,12,15,18]])})()})}},{key:"forEach",value:function(v){var m,S=da(this._pairs);try{for(S.s();!(m=S.n()).done;){var E=Hn(m.value,2),P=E[0];v(E[1],P)}}catch(A){S.e(A)}finally{S.f()}}},{key:"map",value:function(v){var m=this._pairs;return new f({[xu]:()=>hr.mark(function S(){var E,P,A,N,U;return hr.wrap(function(K){for(;;)switch(K.prev=K.next){case 0:E=da(m),K.prev=1,E.s();case 3:if((P=E.n()).done){K.next=9;break}return A=Hn(P.value,2),N=A[0],U=A[1],K.next=7,[N,v(U,N)];case 7:K.next=3;break;case 9:K.next=14;break;case 11:K.prev=11,K.t0=K.catch(1),E.e(K.t0);case 14:return K.prev=14,E.f(),K.finish(14);case 17:case"end":return K.stop()}},S,null,[[1,11,14,17]])})()})}},{key:"max",value:function(v){var m=_g(this._pairs),S=m.next();if(S.done)return null;for(var E=S.value[1],P=v(S.value[1],S.value[0]);!(S=m.next()).done;){var A=Hn(S.value,2),N=A[0],U=A[1],K=v(U,N);K>P&&(P=K,E=U)}return E}},{key:"min",value:function(v){var m=_g(this._pairs),S=m.next();if(S.done)return null;for(var E=S.value[1],P=v(S.value[1],S.value[0]);!(S=m.next()).done;){var A=Hn(S.value,2),N=A[0],U=A[1],K=v(U,N);K<P&&(P=K,E=U)}return E}},{key:"reduce",value:function(v,m){var S,E=da(this._pairs);try{for(E.s();!(S=E.n()).done;){var P=Hn(S.value,2),A=P[0];m=v(m,P[1],A)}}catch(N){E.e(N)}finally{E.f()}return m}},{key:"sort",value:function(v){var m=this;return new f({[xu]:function(){var S;return _g(Vw(S=dn(m._pairs)).call(S,function(E,P){var A=Hn(E,
Line truncated
|
||||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var E,P=!0,A=!1;return{s:function(){v=v.call(u)},n:function(){var N=v.next();return P=N.done,N},e:function(N){A=!0,E=N},f:function(){try{P||v.return==null||v.return()}finally{if(A)throw E}}}}function Mr(u,f){(f==null||f>u.length)&&(f=u.length);for(var v=0,m=new Array(f);v<f;v++)m[v]=u[v];return m}function Tg(u){var f=function(){if(typeof Reflect=="undefined"||!zn||zn.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(zn(Boolean,[],function(){})),!0}catch(v){return!1}}();return function(){var v,m=_h(u);if(f){var S=_h(this).constructor;v=zn(m,arguments,S)}else v=m.apply(this,arguments);return ZS(this,v)}}var Xh=function(u){aw(v,u);var f=Tg(v);function v(m,S){var E;return L(this,v),Fn(Pf(E=f.call(this)),"_queue",null),m&&!Gn(m)&&(S=m,m=[]),E._options=S||{},E._data=new fg,E.length=0,E._idProp=E._options.fieldId||"id",m&&m.length&&E.add(m),E.setOptions(S),E}return _l(v,[{key:"idProp",get:function(){return this._idProp}},{key:"setOptions",value:function(m){m&&m.queue!==void 0&&(m.queue===!1?this._queue&&(this._queue.destroy(),this._queue=null):(this._queue||(this._queue=qw.extend(this,{replace:["add","update","remove"]})),m.queue&&typeof m.queue=="object"&&this._queue.setOptions(m.queue)))}},{key:"add",value:function(m,S){var E,P=this,A=[];if(Gn(m)){var N=ai(m).call(m,function(Q){return Q[P._idProp]});if(Wh(N).call(N,function(Q){return P._data.has(Q)}))throw new Error("A duplicate id was found in the parameter array.");for(var U=0,K=m.length;U<K;U++)E=this._addItem(m[U]),A.push(E)}else{if(!m||typeof m!="object")throw new Error("Unknown dataType");E=this._addItem(m),A.push(E)}return A.length&&this._trigger("add",{items:A},S),A}},{key:"update",value:function(m,S){var E=this,P=[],A=[],N=[],U=[],K=this._idProp,Q=function(Tt){var Pt=Tt[K];if(Pt!=null&&E._data.has(Pt)){var Vt=Tt,jt=T0({},E._data.get(Pt)),Me=E._updateItem(Vt);A.push(Me),U.push(Vt),N.push(jt)}else{var Ne=E._addItem(Tt);P.push(Ne)}};if(Gn(m))for(var st=0,ht=m.length;st<ht;st++)m[st]&&typeof m[st]=="object"?Q(m[st]):console.warn("Ignoring input item, which is not an object at index "+st);else{if(!m||typeof m!="object")throw new Error("Unknown dataType");Q(m)}if(P.length&&this._trigger("add",{items:P},S),A.length){var kt={items:A,oldData:N,data:U};this._trigger("update",kt,S)}return um(P).call(P,A)}},{key:"updateOnly",value:function(m,S){var E,P=this;Gn(m)||(m=[m]);var A=ai(E=ai(m).call(m,function(U){var K=P._data.get(U[P._idProp]);if(K==null)throw new Error("Updating non-existent items is not allowed.");return{oldData:K,update:U}})).call(E,function(U){var K=U.oldData,Q=U.update,st=K[P._idProp],ht=function(kt){for(var Tt,Pt=arguments.length,Vt=new Array(Pt>1?Pt-1:0),jt=1;jt<Pt;jt++)Vt[jt-1]=arguments[jt];return LS.apply(void 0,um(Tt=[{},kt]).call(Tt,Vt))}(K,Q);return P._data.set(st,ht),{id:st,oldData:K,updatedData:ht}});if(A.length){var N={items:ai(A).call(A,function(U){return U.id}),oldData:ai(A).call(A,function(U){return U.oldData}),data:ai(A).call(A,function(U){return U.updatedData})};return this._trigger("update",N,S),N.items}return[]}},{key:"get",value:function(m,S){var E=void 0,P=void 0,A=void 0;Xw(m)?(E=m,A=S):Gn(m)?(P=m,A=S):A=m;var N,U=A&&A.returnType==="Object"?"Object":"Array",K=A&&me(A),Q=[],st=void 0,ht=void 0,kt=void 0;if(E!=null)(st=this._data.get(E))&&K&&!K(st)&&(st=void 0);else if(P!=null)for(var Tt=0,Pt=P.length;Tt<Pt;Tt++)(st=this._data.get(P[Tt]))==null||K&&!K(st)||Q.push(st);else for(var Vt,jt=0,Me=(ht=dn(ku(Vt=this._data).call(Vt))).length;jt<Me;jt++)kt=ht[jt],(st=this._data.get(kt))==null||K&&!K(st)||Q.push(st);if(A&&A.order&&E==null&&this._sort(Q,A.order),A&&A.fields){var Ne=A.fields;if(E!=null&&st!=null)st=this._filterFields(st,Ne);else for(var Je=0,Hr=Q.length;Je<Hr;Je++)Q[Je]=this._filterFields(Q[Je],Ne)}if(U=="Object"){for(var fa={},pn=0,ze=Q.length;pn<ze;pn++){var ls=Q[pn];fa[ls[this._idProp]]=ls}return fa}return E!=null?(N=st)!==null&&N!==void 0?N:null:Q}},{key:"getIds",value:function(m){var S=this._data,E=m&&me(m),P=m&&m.order,A=dn(ku(S).call(S)),N=[];if(E)if(P){for(var U=[],K=0,Q=A.length;K<Q;K++){var st=A[K],ht=this._data.get(st);ht!=null&&E(ht)&&U.push(ht)}this._sort(U,P);for(var kt=0,Tt=U.length;kt<Tt;kt++)N.push(U[kt][this._idProp])}else for(var Pt=0,Vt=A.length;Pt<Vt;Pt++){var jt=A[Pt],Me=this._data.get(jt);Me!=null&&E(Me)&&N.push(Me[this._idProp])}else if(P){for(var Ne=[],Je=0,Hr=A.length;Je<Hr;Je++){var fa=A[Je];Ne.push(S.get(fa))}this._sort(Ne,P);for(var pn=0,ze=Ne.length;pn<ze;pn++)N.push(Ne[pn][this._idProp])}else for(var ls=0,Ou=A.length;ls<Ou;ls++){var qh=A[ls],on=S.get(qh);on!=null&&N.push(on[this._idProp])}return N}},{key:"getDataSet",value:function(){return this}},{key:"forEach",value:function(m,S){var E=S&&me(S),P=this._data,A=dn(ku(P).call(P));if(S&&S.order)for(var N=this.get(S),U=0,K=N.length;U<K;U++){var Q=N[U];m(Q,Q[this._idProp])}else for(var st=0,ht=A.length;st<ht;st++){var kt=A
Line truncated
|
||||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var E,P=!0,A=!1;return{s:function(){v=v.call(u)},n:function(){var N=v.next();return P=N.done,N},e:function(N){A=!0,E=N},f:function(){try{P||v.return==null||v.return()}finally{if(A)throw E}}}}function Jw(u,f){(f==null||f>u.length)&&(f=u.length);for(var v=0,m=new Array(f);v<f;v++)m[v]=u[v];return m}function xg(u){var f=function(){if(typeof Reflect=="undefined"||!zn||zn.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(zn(Boolean,[],function(){})),!0}catch(v){return!1}}();return function(){var v,m=_h(u);if(f){var S=_h(this).constructor;v=zn(m,arguments,S)}else v=m.apply(this,arguments);return ZS(this,v)}}var Og=function(u){aw(v,u);var f=xg(v);function v(m,S){var E,P;return L(this,v),Fn(Pf(P=f.call(this)),"length",0),Fn(Pf(P),"_ids",new wg),P._options=S||{},P._listener=Sl(E=P._onEvent).call(E,Pf(P)),P.setData(m),P}return _l(v,[{key:"idProp",get:function(){return this.getDataSet().idProp}},{key:"setData",value:function(m){if(this._data){this._data.off&&this._data.off("*",this._listener);var S=this._data.getIds({filter:me(this._options)}),E=this._data.get(S);this._ids.clear(),this.length=0,this._trigger("remove",{items:S,oldData:E})}if(m!=null){this._data=m;for(var P=this._data.getIds({filter:me(this._options)}),A=0,N=P.length;A<N;A++){var U=P[A];this._ids.add(U)}this.length=P.length,this._trigger("add",{items:P})}else this._data=new Xh;this._data.on&&this._data.on("*",this._listener)}},{key:"refresh",value:function(){for(var m=this._data.getIds({filter:me(this._options)}),S=dn(this._ids),E={},P=[],A=[],N=[],U=0,K=m.length;U<K;U++){var Q=m[U];E[Q]=!0,this._ids.has(Q)||(P.push(Q),this._ids.add(Q))}for(var st=0,ht=S.length;st<ht;st++){var kt=S[st],Tt=this._data.get(kt);Tt==null?console.error("If you see this, report it please."):E[kt]||(A.push(kt),N.push(Tt),this._ids.delete(kt))}this.length+=P.length-A.length,P.length&&this._trigger("add",{items:P}),A.length&&this._trigger("remove",{items:A,oldData:N})}},{key:"get",value:function(m,S){if(this._data==null)return null;var E,P=null;Xw(m)||Gn(m)?(P=m,E=S):E=m;var A=T0({},this._options,E),N=me(this._options),U=E&&me(E);return N&&U&&(A.filter=function(K){return N(K)&&U(K)}),P==null?this._data.get(A):this._data.get(P,A)}},{key:"getIds",value:function(m){if(this._data.length){var S,E=me(this._options),P=m!=null?me(m):null;return S=P?E?function(A){return E(A)&&P(A)}:P:E,this._data.getIds({filter:S,order:m&&m.order})}return[]}},{key:"forEach",value:function(m,S){if(this._data){var E,P,A=me(this._options),N=S&&me(S);P=N?A?function(U){return A(U)&&N(U)}:N:A,ea(E=this._data).call(E,m,{filter:P,order:S&&S.order})}}},{key:"map",value:function(m,S){if(this._data){var E,P,A=me(this._options),N=S&&me(S);return P=N?A?function(U){return A(U)&&N(U)}:N:A,ai(E=this._data).call(E,m,{filter:P,order:S&&S.order})}return[]}},{key:"getDataSet",value:function(){return this._data.getDataSet()}},{key:"stream",value:function(m){var S;return this._data.stream(m||{[xu]:Sl(S=ku(this._ids)).call(S,this._ids)})}},{key:"dispose",value:function(){var m;(m=this._data)!==null&&m!==void 0&&m.off&&this._data.off("*",this._listener);var S,E="This data view has already been disposed of.",P={get:function(){throw new Error(E)},set:function(){throw new Error(E)},configurable:!1},A=gT(Q1(v.prototype));try{for(A.s();!(S=A.n()).done;){var N=S.value;JS(this,N,P)}}catch(U){A.e(U)}finally{A.f()}}},{key:"_onEvent",value:function(m,S,E){if(S&&S.items&&this._data){var P=S.items,A=[],N=[],U=[],K=[],Q=[],st=[];switch(m){case"add":for(var ht=0,kt=P.length;ht<kt;ht++){var Tt=P[ht];this.get(Tt)&&(this._ids.add(Tt),A.push(Tt))}break;case"update":for(var Pt=0,Vt=P.length;Pt<Vt;Pt++){var jt=P[Pt];this.get(jt)?this._ids.has(jt)?(N.push(jt),Q.push(S.data[Pt]),K.push(S.oldData[Pt])):(this._ids.add(jt),A.push(jt)):this._ids.has(jt)&&(this._ids.delete(jt),U.push(jt),st.push(S.oldData[Pt]))}break;case"remove":for(var Me=0,Ne=P.length;Me<Ne;Me++){var Je=P[Me];this._ids.has(Je)&&(this._ids.delete(Je),U.push(Je),st.push(S.oldData[Me]))}}this.length+=A.length-U.length,A.length&&this._trigger("add",{items:A},E),N.length&&this._trigger("update",{items:N,oldData:K,data:Q},E),U.length&&this._trigger("remove",{items:U,oldData:st},E)}}}]),v}(bg);function so(u,f){return typeof f=="object"&&f!==null&&u===f.idProp&&typeof f.add=="function"&&typeof f.clear=="function"&&typeof f.distinct=="function"&&typeof ea(f)=="function"&&typeof f.get=="function"&&typeof f.getDataSet=="function"&&typeof f.getIds=="function"&&typeof f.length=="number"&&typeof ai(f)=="function"&&typeof f.max=="function"&&typeof f.min=="function"&&typeof f.off=="function"&&typeof f.on=="function"&&typeof f.remove=="function"&&typeof f.setOptions=="function"&&typeof f.stream=="function"&&typeof f.update=="function"&&typeof f.updateOnly=="function"}F.DELETE=K0,F.DataSet=Xh,F.DataStream=Kw,F.DataView=Og,F.Queue=qw,F.createNewDataPipeFrom=function(u){return n
Line truncated
|
||||
/*! Bundled license information:
|
||||
|
||||
moment/moment.js:
|
||||
(*! moment.js *)
|
||||
(*! version : 2.30.1 *)
|
||||
(*! authors : Tim Wood, Iskren Chernev, Moment.js contributors *)
|
||||
(*! license : MIT *)
|
||||
(*! momentjs.com *)
|
||||
|
||||
vis-data/peer/umd/vis-data.js:
|
||||
(**
|
||||
* vis-data
|
||||
* http://visjs.org/
|
||||
*
|
||||
* Manage unstructured data using DataSet. Add, update, and remove data, and listen for changes in the data.
|
||||
*
|
||||
* @version 7.1.9
|
||||
* @date 2023-11-24T17:53:34.179Z
|
||||
*
|
||||
* @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.
|
||||
*)
|
||||
(*! 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 *)
|
||||
|
||||
vis-timeline/peer/umd/vis-timeline-graph2d.min.js:
|
||||
(**
|
||||
* vis-timeline and vis-graph2d
|
||||
* https://visjs.github.io/vis-timeline/
|
||||
*
|
||||
* Create a fully customizable, interactive timeline with items and ranges.
|
||||
*
|
||||
* @version 7.7.2
|
||||
* @date 2023-03-22T11:14:31.874Z
|
||||
*
|
||||
* @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.
|
||||
*)
|
||||
(*! 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 *)
|
||||
|
||||
vis-data/peer/umd/vis-data.min.js:
|
||||
(**
|
||||
* vis-data
|
||||
* http://visjs.org/
|
||||
*
|
||||
* Manage unstructured data using DataSet. Add, update, and remove data, and listen for changes in the data.
|
||||
*
|
||||
* @version 7.1.9
|
||||
* @date 2023-11-24T17:53:34.179Z
|
||||
*
|
||||
* @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.
|
||||
*)
|
||||
(*! 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 *)
|
||||
|
||||
webtr/dist/webtr.js:
|
||||
(**
|
||||
* @file webtr.ts
|
||||
* @copyright Mike Wille <mike@wille.io>
|
||||
* @license MIT
|
||||
*)
|
||||
*/
|
||||
Reference in new issue
Block a user