UNPKG

321 kBJavaScriptView Raw
1/**
2 * vis-graph3d - graph3d
3 * http://visjs.org/
4 *
5 * Create interactive, animated 3d graphs. Surfaces, lines, dots and block styling out of the box.
6 *
7 * @version 5.3.2
8 * @date 2019-11-08T16:17:57Z
9 *
10 * @copyright (c) 2011-2017 Almende B.V, http://almende.com
11 * @copyright (c) 2018-2019 visjs contributors, https://github.com/visjs
12 *
13 * @license
14 * vis.js is dual licensed under both
15 *
16 * 1. The Apache 2.0 License
17 * http://www.apache.org/licenses/LICENSE-2.0
18 *
19 * and
20 *
21 * 2. The MIT License
22 * http://opensource.org/licenses/MIT
23 *
24 * vis.js may be distributed under either license.
25 */
26
27!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).vis=t.vis||{})}(this,function(t){"use strict";var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function er(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}function n(t,e){return t(e={exports:{}},e.exports),e.exports}function r(t){return t&&t.Math==Math&&t}function i(t){try{return!!t()}catch(t){return!0}}function v(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}function a(t){return x.call(t).slice(8,-1)}function u(t){if(null==t)throw TypeError("Can't call method on "+t);return t}function l(t){return M(u(t))}function h(t){return"object"==typeof t?null!==t:"function"==typeof t}function s(t,e){if(!h(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!h(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!h(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!h(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}function g(t,e){return O.call(t,e)}function o(t){return Y?T.createElement(t):{}}function c(t,e){var n=R[A(t)];return n==I||n!=W&&("function"==typeof e?i(e):!!e)}function d(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}function w(r,i,t){if(d(r),void 0===i)return r;switch(t){case 0:return function(){return r.call(i)};case 1:return function(t){return r.call(i,t)};case 2:return function(t,e){return r.call(i,t,e)};case 3:return function(t,e,n){return r.call(i,t,e,n)}}return function(){return r.apply(i,arguments)}}function f(t){if(!h(t))throw TypeError(String(t)+" is not an object");return t}function _(r){function t(t,e,n){if(this instanceof r){switch(arguments.length){case 0:return new r;case 1:return new r(t);case 2:return new r(t,e)}return new r(t,e,n)}return r.apply(this,arguments)}return t.prototype=r.prototype,t}function b(t,e){var n,r,i,a,s,o,u,l,h=t.target,c=t.global,d=t.stat,f=t.proto,m=c?S:d?S[h]:(S[h]||{}).prototype,p=c?j:j[h]||(j[h]={}),y=p.prototype;for(i in e)n=!N(c?i:h+(d?".":"#")+i,t.forced)&&m&&g(m,i),s=p[i],n&&(o=t.noTargetGet?(l=H(m,i))&&l.value:m[i]),a=n&&o?o:e[i],n&&typeof s==typeof a||(u=t.bind&&n?w(a,S):t.wrap&&n?_(a):f&&"function"==typeof a?w(Function.call,a):a,(t.sham||a&&a.sham||s&&s.sham)&&z(u,"sham",!0),p[i]=u,f&&(g(j,r=h+"Prototype")||z(j,r,{}),j[r][i]=a,t.real&&y&&!y[i]&&z(y,i,a)))}var S=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof e&&e)||Function("return this")(),m=!i(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),p={}.propertyIsEnumerable,y=Object.getOwnPropertyDescriptor,k={f:y&&!p.call({1:2},1)?function(t){var e=y(this,t);return!!e&&e.enumerable}:p},x={}.toString,D="".split,M=i(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return"String"==a(t)?D.call(t,""):Object(t)}:Object,O={}.hasOwnProperty,T=S.document,Y=h(T)&&h(T.createElement),P=!m&&!i(function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}),C=Object.getOwnPropertyDescriptor,E={f:m?C:function(t,e){if(t=l(t),e=s(e,!0),P)try{return C(t,e)}catch(t){}if(g(t,e))return v(!k.f.call(t,e),t[e])}},L=/#|\.prototype\./,A=c.normalize=function(t){return String(t).replace(L,".").toLowerCase()},R=c.data={},W=c.NATIVE="N",I=c.POLYFILL="P",N=c,j={},F=Object.defineProperty,V={f:m?F:function(t,e,n){if(f(t),e=s(e,!0),f(n),P)try{return F(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},z=m?function(t,e,n){return V.f(t,e,v(1,n))}:function(t,e,n){return t[e]=n,t},H=E.f;b({target:"Object",stat:!0,forced:!m,sham:!m},{defineProperty:V.f});function G(t){return isNaN(t=+t)?0:(0<t?Q:J)(t)}function U(t){return 0<t?K(G(t),9007199254740991):0}function B(t,e){var n=G(t);return n<0?tt(n+e,0):et(n,e)}function Z(o){return function(t,e,n){var r,i=l(t),a=U(i.length),s=B(n,a);if(o&&e!=e){for(;s<a;)if((r=i[s++])!=r)return!0}else for(;s<a;s++)if((o||s in i)&&i[s]===e)return o||s||0;return!o&&-1}}function X(t,e){var n,r=l(t),i=0,a=[];for(n in r)!g(rt,n)&&g(r,n)&&a.push(n);for(;e.length>i;)g(r,n=e[i++])&&(~it(a,n)||a.push(n));return a}var q=n(function(t){var r=j.Object,e=t.exports=function(t,e,n){return r.defineProperty(t,e,n)};r.defineProperty.sham&&(e.sham=!0)}),$=q,J=Math.ceil,Q=Math.floor,K=Math.min,tt=Math.max,et=Math.min,nt={includes:Z(!0),indexOf:Z(!1)},rt={},it=nt.indexOf,at=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],st=Object.keys||function(t){return X(t,at)},ot=m?Object.defineProperties:function(t,e){f(t);for(var n,r=st(e),i=r.length,a=0;a<i;)V.f(t,n=r[a++],e[n]);return t};b({target:"Object",stat:!0,forced:!m,sham:!m},{defineProperties:ot});function ut(t){return"function"==typeof t?t:void 0}function lt(t,e){return arguments.length<2?ut(j[t])||ut(S[t]):j[t]&&j[t][e]||S[t]&&S[t][e]}function ht(t,e,n){var r=s(e);r in t?V.f(t,r,v(0,n)):t[r]=n}var ct=n(function(t){var n=j.Object,e=t.exports=function(t,e){return n.defineProperties(t,e)};n.defineProperties.sham&&(e.sham=!0)}),dt=at.concat("length","prototype"),ft={f:Object.getOwnPropertyNames||function(t){return X(t,dt)}},mt={f:Object.getOwnPropertySymbols},pt=lt("Reflect","ownKeys")||function(t){var e=ft.f(f(t)),n=mt.f;return n?e.concat(n(t)):e};b({target:"Object",stat:!0,sham:!m},{getOwnPropertyDescriptors:function(t){for(var e,n,r=l(t),i=E.f,a=pt(r),s={},o=0;a.length>o;)void 0!==(n=i(r,e=a[o++]))&&ht(s,e,n);return s}});var yt=j.Object.getOwnPropertyDescriptors,vt=E.f,gt=i(function(){vt(1)});b({target:"Object",stat:!0,forced:!m||gt,sham:!m},{getOwnPropertyDescriptor:function(t,e){return vt(l(t),e)}});function _t(t){return Object(u(t))}function wt(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++Pt+Ct).toString(36)}function bt(t){return Et[t]||(Et[t]=wt(t))}function St(){}var kt=n(function(t){var n=j.Object,e=t.exports=function(t,e){return n.getOwnPropertyDescriptor(t,e)};n.getOwnPropertyDescriptor.sham&&(e.sham=!0)}),xt=!!Object.getOwnPropertySymbols&&!i(function(){return!String(Symbol())}),Dt=Array.isArray||function(t){return"Array"==a(t)},Mt=lt("document","documentElement"),Ot="__core-js_shared__",Tt=S[Ot]||function(e,n){try{z(S,e,n)}catch(t){S[e]=n}return n}(Ot,{}),Yt=n(function(t){(t.exports=function(t,e){return Tt[t]||(Tt[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.3.6",mode:"pure",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})}),Pt=0,Ct=Math.random(),Et=Yt("keys"),Lt=bt("IE_PROTO"),At="prototype",Rt=function(){var t,e=o("iframe"),n=at.length,r="script";for(e.style.display="none",Mt.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write("<script>document.F=Object</"+r+">"),t.close(),Rt=t.F;n--;)delete Rt[At][at[n]];return Rt()},Wt=Object.create||function(t,e){var n;return null!==t?(St[At]=f(t),n=new St,St[At]=null,n[Lt]=t):n=Rt(),void 0===e?n:ot(n,e)};rt[Lt]=!0;function It(t,e,n,r){r&&r.enumerable?t[e]=n:z(t,e,n)}function Nt(t){return Bt[t]||(Bt[t]=xt&&Ut[t]||(xt?Ut:wt)("Symbol."+t))}function jt(t){var e=j.Symbol||(j.Symbol={});g(e,t)||Xt(e,t,{value:Zt.f(t)})}function Ft(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),qt))?n:$t?a(e):"Object"==(r=a(e))&&"function"==typeof e.callee?"Arguments":r}var Vt=ft.f,zt={}.toString,Ht="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Gt={f:function(t){return Ht&&"[object Window]"==zt.call(t)?function(t){try{return Vt(t)}catch(t){return Ht.slice()}}(t):Vt(l(t))}},Ut=S.Symbol,Bt=Yt("wks"),Zt={f:Nt},Xt=V.f,qt=Nt("toStringTag"),$t="Arguments"==a(function(){return arguments}()),Jt={};Jt[Nt("toStringTag")]="z";function Qt(t,e,n,r){if(t){var i=n?t:t.prototype;g(i,ie)||re(i,ie,{configurable:!0,value:e}),r&&ae&&z(i,"toString",ne)}}var Kt,te,ee,ne="[object z]"!==String(Jt)?function(){return"[object "+Ft(this)+"]"}:Jt.toString,re=V.f,ie=Nt("toStringTag"),ae=ne!=={}.toString,se=Yt("native-function-to-string",Function.toString),oe=S.WeakMap,ue="function"==typeof oe&&/native code/.test(se.call(oe)),le=S.WeakMap;if(ue){var he=new le,ce=he.get,de=he.has,fe=he.set;Kt=function(t,e){return fe.call(he,t,e),e},te=function(t){return ce.call(he,t)||{}},ee=function(t){return de.call(he,t)}}else{var me=bt("state");rt[me]=!0,Kt=function(t,e){return z(t,me,e),e},te=function(t){return g(t,me)?t[me]:{}},ee=function(t){return g(t,me)}}function pe(t,e){var n;return Dt(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!Dt(n.prototype)?h(n)&&null===(n=n[Se])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}function ye(f){var m=1==f,p=2==f,y=3==f,v=4==f,g=6==f,_=5==f||g;return function(t,e,n,r){for(var i,a,s=_t(t),o=M(s),u=w(e,n,3),l=U(o.length),h=0,c=r||pe,d=m?c(t,l):p?c(t,0):void 0;h<l;h++)if((_||h in o)&&(a=u(i=o[h],h,s),f))if(m)d[h]=a;else if(a)switch(f){case 3:return!0;case 5:return i;case 6:return h;case 2:ke.call(d,i)}else if(v)return!1;return g?-1:y||v?v:d}}function ve(t,e){var n=Fe[t]=Wt(Le[Te]);return Pe(n,{type:Oe,tag:t,description:e}),m||(n.description=e),n}function ge(e,t){f(e);var n=l(t),r=st(n).concat(Je(n));return De(r,function(t){m&&!$e.call(n,t)||qe(e,t,n[t])}),e}function _e(t,e){var n=l(t),r=s(e,!0);if(n!==Ee||!g(Fe,r)||g(Ve,r)){var i=We(n,r);return!i||!g(Fe,r)||g(n,Me)&&n[Me][r]||(i.enumerable=!0),i}}function we(t){var e=Ne(l(t)),n=[];return De(e,function(t){g(Fe,t)||g(rt,t)||n.push(t)}),n}var be={set:Kt,get:te,has:ee,enforce:function(t){return ee(t)?te(t):Kt(t,{})},getterFor:function(n){return function(t){var e;if(!h(t)||(e=te(t)).type!==n)throw TypeError("Incompatible receiver, "+n+" required");return e}}},Se=Nt("species"),ke=[].push,xe={forEach:ye(0),map:ye(1),filter:ye(2),some:ye(3),every:ye(4),find:ye(5),findIndex:ye(6)},De=xe.forEach,Me=bt("hidden"),Oe="Symbol",Te="prototype",Ye=Nt("toPrimitive"),Pe=be.set,Ce=be.getterFor(Oe),Ee=Object[Te],Le=S.Symbol,Ae=S.JSON,Re=Ae&&Ae.stringify,We=E.f,Ie=V.f,Ne=Gt.f,je=k.f,Fe=Yt("symbols"),Ve=Yt("op-symbols"),ze=Yt("string-to-symbol-registry"),He=Yt("symbol-to-string-registry"),Ge=Yt("wks"),Ue=S.QObject,Be=!Ue||!Ue[Te]||!Ue[Te].findChild,Ze=m&&i(function(){return 7!=Wt(Ie({},"a",{get:function(){return Ie(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=We(Ee,e);r&&delete Ee[e],Ie(t,e,n),r&&t!==Ee&&Ie(Ee,e,r)}:Ie,Xe=xt&&"symbol"==typeof Le.iterator?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof Le},qe=function(t,e,n){t===Ee&&qe(Ve,e,n),f(t);var r=s(e,!0);return f(n),g(Fe,r)?(n.enumerable?(g(t,Me)&&t[Me][r]&&(t[Me][r]=!1),n=Wt(n,{enumerable:v(0,!1)})):(g(t,Me)||Ie(t,Me,v(1,{})),t[Me][r]=!0),Ze(t,r,n)):Ie(t,r,n)},$e=function(t){var e=s(t,!0),n=je.call(this,e);return!(this===Ee&&g(Fe,e)&&!g(Ve,e))&&(!(n||!g(this,e)||!g(Fe,e)||g(this,Me)&&this[Me][e])||n)},Je=function(t){var e=t===Ee,n=Ne(e?Ve:l(t)),r=[];return De(n,function(t){!g(Fe,t)||e&&!g(Ee,t)||r.push(Fe[t])}),r};xt||(It((Le=function(t){if(this instanceof Le)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==t?String(t):void 0,n=wt(e),r=function(t){this===Ee&&r.call(Ve,t),g(this,Me)&&g(this[Me],n)&&(this[Me][n]=!1),Ze(this,n,v(1,t))};return m&&Be&&Ze(Ee,n,{configurable:!0,set:r}),ve(n,e)})[Te],"toString",function(){return Ce(this).tag}),k.f=$e,V.f=qe,E.f=_e,ft.f=Gt.f=we,mt.f=Je,m&&Ie(Le[Te],"description",{configurable:!0,get:function(){return Ce(this).description}}),Zt.f=function(t){return ve(Nt(t),t)}),b({global:!0,wrap:!0,forced:!xt,sham:!xt},{Symbol:Le}),De(st(Ge),function(t){jt(t)}),b({target:Oe,stat:!0,forced:!xt},{for:function(t){var e=String(t);if(g(ze,e))return ze[e];var n=Le(e);return ze[e]=n,He[n]=e,n},keyFor:function(t){if(!Xe(t))throw TypeError(t+" is not a symbol");if(g(He,t))return He[t]},useSetter:function(){Be=!0},useSimple:function(){Be=!1}}),b({target:"Object",stat:!0,forced:!xt,sham:!m},{create:function(t,e){return void 0===e?Wt(t):ge(Wt(t),e)},defineProperty:qe,defineProperties:ge,getOwnPropertyDescriptor:_e}),b({target:"Object",stat:!0,forced:!xt},{getOwnPropertyNames:we,getOwnPropertySymbols:Je}),b({target:"Object",stat:!0,forced:i(function(){mt.f(1)})},{getOwnPropertySymbols:function(t){return mt.f(_t(t))}}),Ae&&b({target:"JSON",stat:!0,forced:!xt||i(function(){var t=Le();return"[null]"!=Re([t])||"{}"!=Re({a:t})||"{}"!=Re(Object(t))})},{stringify:function(t){for(var e,n,r=[t],i=1;i<arguments.length;)r.push(arguments[i++]);if(n=e=r[1],(h(e)||void 0!==t)&&!Xe(t))return Dt(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!Xe(e))return e}),r[1]=e,Re.apply(Ae,r)}}),Le[Te][Ye]||z(Le[Te],Ye,Le[Te].valueOf),Qt(Le,Oe),rt[Me]=!0;var Qe,Ke,tn,en=j.Object.getOwnPropertySymbols,nn={},rn=!i(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),an=bt("IE_PROTO"),sn=Object.prototype,on=rn?Object.getPrototypeOf:function(t){return t=_t(t),g(t,an)?t[an]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?sn:null},un=(Nt("iterator"),!1);[].keys&&("next"in(tn=[].keys())?(Ke=on(on(tn)))!==Object.prototype&&(Qe=Ke):un=!0),null==Qe&&(Qe={});function ln(){return this}function hn(){return this}function cn(t,e,n,r,i,a,s){function o(t){if(t===i&&p)return p;if(!pn&&t in f)return f[t];switch(t){case"keys":case vn:case gn:return function(){return new n(this,t)}}return function(){return new n(this)}}!function(t,e,n){var r=e+" Iterator";t.prototype=Wt(fn,{next:v(1,n)}),Qt(t,r,!1,!0),nn[r]=ln}(n,e,r);var u,l,h,c=e+" Iterator",d=!1,f=t.prototype,m=f[yn]||f["@@iterator"]||i&&f[i],p=!pn&&m||o(i),y="Array"==e&&f.entries||m;if(y&&(u=on(y.call(new t)),mn!==Object.prototype&&u.next&&(Qt(u,c,!0,!0),nn[c]=hn)),i==vn&&m&&m.name!==vn&&(d=!0,p=function(){return m.call(this)}),s&&f[yn]!==p&&z(f,yn,p),nn[e]=p,i)if(l={values:o(vn),keys:a?p:o("keys"),entries:o(gn)},s)for(h in l)!pn&&!d&&h in f||It(f,h,l[h]);else b({target:e,proto:!0,forced:pn||d},l);return l}var dn={IteratorPrototype:Qe,BUGGY_SAFARI_ITERATORS:un},fn=dn.IteratorPrototype,mn=(Object.setPrototypeOf||"__proto__"in{}&&function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(t){}}(),dn.IteratorPrototype),pn=dn.BUGGY_SAFARI_ITERATORS,yn=Nt("iterator"),vn="values",gn="entries",_n="Array Iterator",wn=be.set,bn=be.getterFor(_n);cn(Array,"Array",function(t,e){wn(this,{type:_n,target:l(t),index:0,kind:e})},function(){var t=bn(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?{value:t.target=void 0,done:!0}:"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}},"values");nn.Arguments=nn.Array;var Sn=Nt("toStringTag");for(var kn in{CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}){var xn=S[kn],Dn=xn&&xn.prototype;Dn&&!Dn[Sn]&&z(Dn,Sn,kn),nn[kn]=nn.Array}function Mn(o){return function(t,e){var n,r,i=String(u(t)),a=G(e),s=i.length;return a<0||s<=a?o?"":void 0:(n=i.charCodeAt(a))<55296||56319<n||a+1===s||(r=i.charCodeAt(a+1))<56320||57343<r?o?i.charAt(a):n:o?i.slice(a,a+2):r-56320+(n-55296<<10)+65536}}var On={codeAt:Mn(!1),charAt:Mn(!0)}.charAt,Tn="String Iterator",Yn=be.set,Pn=be.getterFor(Tn);cn(String,"String",function(t){Yn(this,{type:Tn,string:String(t),index:0})},function(){var t,e=Pn(this),n=e.string,r=e.index;return r>=n.length?{value:void 0,done:!0}:(t=On(n,r),e.index+=t.length,{value:t,done:!1})});function Cn(t){if(null!=t)return t[En]||t["@@iterator"]||nn[Ft(t)]}var En=Nt("iterator"),Ln=function(t){var e=Cn(t);if("function"!=typeof e)throw TypeError(String(t)+" is not iterable");return f(e.call(t))};b({target:"Object",stat:!0,sham:!m},{create:Wt});var An=j.Object,Rn=function(t,e){return An.create(t,e)},Wn=q;var In=function(t,e,n){return e in t?Wn(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},Nn=i(function(){st(1)});b({target:"Object",stat:!0,forced:Nn},{keys:function(t){return st(_t(t))}});function jn(n){return function(t){var e=String(u(t));return 1&n&&(e=e.replace(Hn,"")),2&n&&(e=e.replace(Gn,"")),e}}var Fn,nr=j.Object.keys,Vn="\t\n\v\f\r                 \u2028\u2029\ufeff",zn="["+Vn+"]",Hn=RegExp("^"+zn+zn+"*"),Gn=RegExp(zn+zn+"*$"),Un={start:jn(1),end:jn(2),trim:jn(3)},Bn=Un.trim;b({target:"String",proto:!0,forced:(Fn="trim",i(function(){return!!Vn[Fn]()||"​…᠎"!="​…᠎"[Fn]()||Vn[Fn].name!==Fn}))},{trim:function(){return Bn(this)}});function Zn(t){return j[t+"Prototype"]}function Xn(t,e){var n=[][t];return!n||!i(function(){n.call(null,e||function(){throw 1},1)})}var qn=Zn("String").trim,$n=String.prototype,Jn=function(t){var e=t.trim;return"string"==typeof t||t===$n||t instanceof String&&e===$n.trim?qn:e},Qn=xe.forEach,Kn=Xn("forEach")?function(t,e){return Qn(this,t,1<arguments.length?e:void 0)}:[].forEach;b({target:"Array",proto:!0,forced:[].forEach!=Kn},{forEach:Kn});var tr,rr,ir=Zn("Array").forEach,ar=Array.prototype,sr={DOMTokenList:!0,NodeList:!0},or=function(t){var e=t.forEach;return t===ar||t instanceof Array&&e===ar.forEach||sr.hasOwnProperty(Ft(t))?ir:e},ur=lt("navigator","userAgent")||"",lr=S.process,hr=lr&&lr.versions,cr=hr&&hr.v8;cr?rr=(tr=cr.split("."))[0]+tr[1]:ur&&(!(tr=ur.match(/Edge\/(\d+)/))||74<=tr[1])&&(tr=ur.match(/Chrome\/(\d+)/))&&(rr=tr[1]);function dr(e){return 51<=fr||!i(function(){var t=[];return(t.constructor={})[mr]=function(){return{foo:1}},1!==t[e](Boolean).foo})}var fr=rr&&+rr,mr=Nt("species"),pr=xe.map;b({target:"Array",proto:!0,forced:!dr("map")},{map:function(t,e){return pr(this,t,1<arguments.length?e:void 0)}});var yr=Zn("Array").map,vr=Array.prototype,gr=function(t){var e=t.map;return t===vr||t instanceof Array&&e===vr.map?yr:e},_r=Un.trim,wr=S.parseInt,br=/^[+-]?0[Xx]/,Sr=8!==wr(Vn+"08")||22!==wr(Vn+"0x16")?function(t,e){var n=_r(String(t));return wr(n,e>>>0||(br.test(n)?16:10))}:wr;b({global:!0,forced:parseInt!=Sr},{parseInt:Sr});function kr(o){return function(t){for(var e,n=l(t),r=st(n),i=r.length,a=0,s=[];a<i;)e=r[a++],m&&!Dr.call(n,e)||s.push(o?[e,n[e]]:n[e]);return s}}var xr=j.parseInt,Dr=k.f,Mr={entries:kr(!0),values:kr(!1)}.values;b({target:"Object",stat:!0},{values:function(t){return Mr(t)}});var Or=j.Object.values,Tr=xe.filter;b({target:"Array",proto:!0,forced:!dr("filter")},{filter:function(t,e){return Tr(this,t,1<arguments.length?e:void 0)}});function Yr(t){if(!h(t))return!1;var e=t[Lr];return void 0!==e?!!e:Dt(t)}var Pr=Zn("Array").filter,Cr=Array.prototype,Er=function(t){var e=t.filter;return t===Cr||t instanceof Array&&e===Cr.filter?Pr:e},Lr=Nt("isConcatSpreadable"),Ar=9007199254740991,Rr="Maximum allowed index exceeded",Wr=51<=fr||!i(function(){var t=[];return t[Lr]=!1,t.concat()[0]!==t}),Ir=dr("concat");b({target:"Array",proto:!0,forced:!Wr||!Ir},{concat:function(t){var e,n,r,i,a,s=_t(this),o=pe(s,0),u=0;for(e=-1,r=arguments.length;e<r;e++)if(Yr(a=-1===e?s:arguments[e])){if(i=U(a.length),Ar<u+i)throw TypeError(Rr);for(n=0;n<i;n++,u++)n in a&&ht(o,u,a[n])}else{if(Ar<=u)throw TypeError(Rr);ht(o,u++,a)}return o.length=u,o}});var Nr=Zn("Array").concat,jr=Array.prototype,Fr=function(t){var e=t.concat;return t===jr||t instanceof Array&&e===jr.concat?Nr:e};b({target:"Array",stat:!0},{isArray:Dt});var Vr=j.Array.isArray,zr=Vr;function Hr(e,t,n,r){try{return r?t(f(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&f(i.call(e)),t}}var Gr=function(t){if(zr(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}},Ur=Nt("iterator"),Br=Array.prototype,Zr=Nt("iterator"),Xr=!1;try{var qr=0,$r={next:function(){return{done:!!qr++}},return:function(){Xr=!0}};$r[Zr]=function(){return this},Array.from($r,function(){throw 2})}catch(t){}var Jr=!function(t,e){if(!e&&!Xr)return!1;var n=!1;try{var r={};r[Zr]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(t){}return n}(function(t){Array.from(t)});b({target:"Array",stat:!0,forced:Jr},{from:function(t,e,n){var r,i,a,s,o,u=_t(t),l="function"==typeof this?this:Array,h=arguments.length,c=1<h?e:void 0,d=void 0!==c,f=0,m=Cn(u);if(d&&(c=w(c,2<h?n:void 0,2)),null==m||l==Array&&function(t){return void 0!==t&&(nn.Array===t||Br[Ur]===t)}(m))for(i=new l(r=U(u.length));f<r;f++)ht(i,f,d?c(u[f],f):u[f]);else for(o=(s=m.call(u)).next,i=new l;!(a=o.call(s)).done;f++)ht(i,f,d?Hr(s,c,[a.value,f],!0):a.value);return i.length=f,i}});var Qr=j.Array.from,Kr=Nt("iterator"),ti=function(t){var e=Object(t);return void 0!==e[Kr]||"@@iterator"in e||nn.hasOwnProperty(Ft(e))};var ei=function(t){if(ti(Object(t))||"[object Arguments]"===Object.prototype.toString.call(t))return Qr(t)};var ni=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")};var ri=function(t){return Gr(t)||ei(t)||ni()},ii=Nt("species"),ai=[].slice,si=Math.max;b({target:"Array",proto:!0,forced:!dr("slice")},{slice:function(t,e){var n,r,i,a=l(this),s=U(a.length),o=B(t,s),u=B(void 0===e?s:e,s);if(Dt(a)&&("function"!=typeof(n=a.constructor)||n!==Array&&!Dt(n.prototype)?h(n)&&null===(n=n[ii])&&(n=void 0):n=void 0,n===Array||void 0===n))return ai.call(a,o,u);for(r=new(void 0===n?Array:n)(si(u-o,0)),i=0;o<u;o++,i++)o in a&&ht(r,i,a[o]);return r.length=i,r}});var oi=Zn("Array").slice,ui=Array.prototype,li=function(t){var e=t.slice;return t===ui||t instanceof Array&&e===ui.slice?oi:e},hi=i(function(){on(1)});b({target:"Object",stat:!0,forced:hi,sham:!rn},{getPrototypeOf:function(t){return on(_t(t))}});var ci=j.Object.getPrototypeOf,di=nt.indexOf,fi=[].indexOf,mi=!!fi&&1/[1].indexOf(1,-0)<0,pi=Xn("indexOf");b({target:"Array",proto:!0,forced:mi||pi},{indexOf:function(t,e){return mi?fi.apply(this,arguments)||0:di(this,t,1<arguments.length?e:void 0)}});var yi=Zn("Array").indexOf,vi=Array.prototype,gi=function(t){var e=t.indexOf;return t===vi||t instanceof Array&&e===vi.indexOf?yi:e},_i=Vr,wi=Object.assign,bi=!wi||i(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=wi({},t)[n]||st(wi({},e)).join("")!=r})?function(t,e){for(var n=_t(t),r=arguments.length,i=1,a=mt.f,s=k.f;i<r;)for(var o,u=M(arguments[i++]),l=a?st(u).concat(a(u)):st(u),h=l.length,c=0;c<h;)o=l[c++],m&&!s.call(u,o)||(n[o]=u[o]);return n}:wi;b({target:"Object",stat:!0,forced:Object.assign!==bi},{assign:bi});var Si=j.Object.assign;jt("iterator");var ki=Zt.f("iterator");jt("asyncIterator"),jt("hasInstance"),jt("isConcatSpreadable"),jt("match"),jt("matchAll"),jt("replace"),jt("search"),jt("species"),jt("split"),jt("toPrimitive"),jt("toStringTag"),jt("unscopables"),Qt(Math,"Math",!0),Qt(S.JSON,"JSON",!0);var xi=j.Symbol;jt("asyncDispose"),jt("dispose"),jt("observable"),jt("patternMatch"),jt("replaceAll");var Di=xi,Mi=n(function(e){function n(t){return(n="function"==typeof Di&&"symbol"==typeof ki?function(t){return typeof t}:function(t){return t&&"function"==typeof Di&&t.constructor===Di&&t!==Di.prototype?"symbol":typeof t})(t)}function r(t){return"function"==typeof Di&&"symbol"===n(ki)?e.exports=r=function(t){return n(t)}:e.exports=r=function(t){return t&&"function"==typeof Di&&t.constructor===Di&&t!==Di.prototype?"symbol":n(t)},r(t)}e.exports=r}),Oi=Un.trim,Ti=S.parseFloat,Yi=1/Ti(Vn+"-0")!=-1/0?function(t){var e=Oi(String(t)),n=Ti(e);return 0===n&&"-"==e.charAt(0)?-0:n}:Ti;b({global:!0,forced:parseFloat!=Yi},{parseFloat:Yi});var Pi=j.parseFloat;b({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}});var Ci=j.Date.now,Ei=[].sort,Li=[1,2,3],Ai=i(function(){Li.sort(void 0)}),Ri=i(function(){Li.sort(null)}),Wi=Xn("sort");b({target:"Array",proto:!0,forced:Ai||!Ri||Wi},{sort:function(t){return void 0===t?Ei.call(_t(this)):Ei.call(_t(this),d(t))}});var Ii=Zn("Array").sort,Ni=Array.prototype,ji=function(t){var e=t.sort;return t===Ni||t instanceof Array&&e===Ni.sort?Ii:e},Fi=Object.isFrozen,Vi=i(function(){Fi(1)});b({target:"Object",stat:!0,forced:Vi},{isFrozen:function(t){return!h(t)||!!Fi&&Fi(t)}});var zi=j.Object.isFrozen,Hi=xe.some;b({target:"Array",proto:!0,forced:Xn("some")},{some:function(t,e){return Hi(this,t,1<arguments.length?e:void 0)}});var Gi=Zn("Array").some,Ui=Array.prototype,Bi=function(t){var e=t.some;return t===Ui||t instanceof Array&&e===Ui.some?Gi:e},Zi=Gt.f,Xi=i(function(){return!Object.getOwnPropertyNames(1)});b({target:"Object",stat:!0,forced:Xi},{getOwnPropertyNames:Zi});for(var qi=j.Object,$i=function(t){return qi.getOwnPropertyNames(t)},Ji=n(function(tr,t){tr.exports=function(){var e,i;function h(){return e.apply(null,arguments)}function s(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function o(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function a(t){return void 0===t}function u(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function l(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function r(t,e){var n,r=[];for(n=0;n<t.length;++n)r.push(e(t[n],n));return r}function c(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function d(t,e){for(var n in e)c(e,n)&&(t[n]=e[n]);return c(e,"toString")&&(t.toString=e.toString),c(e,"valueOf")&&(t.valueOf=e.valueOf),t}function f(t,e,n,r){return Ee(t,e,n,r,!0).utc()}function m(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),t._pf}function p(t){if(null==t._isValid){var e=m(t),n=i.call(e.parsedDateParts,function(t){return null!=t}),r=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(r=r&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=zi&&zi(t))return r;t._isValid=r}return t._isValid}function y(t){var e=f(NaN);return null!=t?d(m(e),t):m(e).userInvalidated=!0,e}i=Bi(Array.prototype)?Bi(Array.prototype):function(t){for(var e=Object(this),n=e.length>>>0,r=0;r<n;r++)if(r in e&&t.call(this,e[r],r,e))return!0;return!1};var v=h.momentProperties=[];function g(t,e){var n,r,i;if(a(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),a(e._i)||(t._i=e._i),a(e._f)||(t._f=e._f),a(e._l)||(t._l=e._l),a(e._strict)||(t._strict=e._strict),a(e._tzm)||(t._tzm=e._tzm),a(e._isUTC)||(t._isUTC=e._isUTC),a(e._offset)||(t._offset=e._offset),a(e._pf)||(t._pf=m(e)),a(e._locale)||(t._locale=e._locale),0<v.length)for(n=0;n<v.length;n++)r=v[n],a(i=e[r])||(t[r]=i);return t}var n=!1;function _(t){g(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===n&&(n=!0,h.updateOffset(this),n=!1)}function w(t){return t instanceof _||null!=t&&null!=t._isAMomentObject}function b(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function S(t){var e=+t,n=0;return 0!=e&&isFinite(e)&&(n=b(e)),n}function k(t,e,n){var r,i=Math.min(t.length,e.length),a=Math.abs(t.length-e.length),s=0;for(r=0;r<i;r++)(n&&t[r]!==e[r]||!n&&S(t[r])!==S(e[r]))&&s++;return s+a}function x(t){!1===h.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function t(i,a){var s=!0;return d(function(){if(null!=h.deprecationHandler&&h.deprecationHandler(null,i),s){for(var t,e=[],n=0;n<arguments.length;n++){if(t="","object"===Mi(arguments[n])){for(var r in t+="\n["+n+"] ",arguments[0])t+=r+": "+arguments[0][r]+", ";t=li(t).call(t,0,-2)}else t=arguments[n];e.push(t)}x(i+"\nArguments: "+li(Array.prototype).call(e).join("")+"\n"+(new Error).stack),s=!1}return a.apply(this,arguments)},a)}var D,M={};function O(t,e){null!=h.deprecationHandler&&h.deprecationHandler(t,e),M[t]||(x(e),M[t]=!0)}function T(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function Y(t,e){var n,r=d({},t);for(n in e)c(e,n)&&(o(t[n])&&o(e[n])?(r[n]={},d(r[n],t[n]),d(r[n],e[n])):null!=e[n]?r[n]=e[n]:delete r[n]);for(n in t)c(t,n)&&!c(e,n)&&o(t[n])&&(r[n]=d({},r[n]));return r}function P(t){null!=t&&this.set(t)}h.suppressDeprecationWarnings=!1,h.deprecationHandler=null,D=nr||function(t){var e,n=[];for(e in t)c(t,e)&&n.push(e);return n};var C={};function E(t,e){var n=t.toLowerCase();C[n]=C[n+"s"]=C[e]=t}function L(t){return"string"==typeof t?C[t]||C[t.toLowerCase()]:void 0}function A(t){var e,n,r={};for(n in t)c(t,n)&&(e=L(n))&&(r[e]=t[n]);return r}var R={};function W(t,e){R[t]=e}function I(t){var e=[];for(var n in t)e.push({unit:n,priority:R[n]});return ji(e).call(e,function(t,e){return t.priority-e.priority}),e}function N(t,e,n){var r=""+Math.abs(t),i=e-r.length,a=0<=t;return(a?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var j=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,F=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,V={},z={};function H(t,e,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),t&&(z[t]=i),e&&(z[e[0]]=function(){return N(i.apply(this,arguments),e[1],e[2])}),n&&(z[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function G(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function U(t,e){return t.isValid()?(e=B(e,t.localeData()),V[e]=V[e]||function(r){var t,i,a=r.match(j);for(t=0,i=a.length;t<i;t++)z[a[t]]?a[t]=z[a[t]]:a[t]=G(a[t]);return function(t){var e,n="";for(e=0;e<i;e++)n+=T(a[e])?a[e].call(t,r):a[e];return n}}(e),V[e](t)):t.localeData().invalidDate()}function B(t,e){var n=5;function r(t){return e.longDateFormat(t)||t}for(F.lastIndex=0;0<=n&&F.test(t);)t=t.replace(F,r),F.lastIndex=0,n-=1;return t}var Z=/\d/,X=/\d\d/,q=/\d{3}/,$=/\d{4}/,J=/[+-]?\d{6}/,Q=/\d\d?/,K=/\d\d\d\d?/,tt=/\d\d\d\d\d\d?/,et=/\d{1,3}/,nt=/\d{1,4}/,rt=/[+-]?\d{1,6}/,it=/\d+/,at=/[+-]?\d+/,st=/Z|[+-]\d\d:?\d\d/gi,ot=/Z|[+-]\d\d(?::?\d\d)?/gi,ut=/[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,lt={};function ht(t,n,r){lt[t]=T(n)?n:function(t,e){return t&&r?r:n}}function ct(t,e){return c(lt,t)?lt[t](e._strict,e._locale):new RegExp(function(t){return dt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,r,i){return e||n||r||i}))}(t))}function dt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var ft={};function mt(t,n){var e,r=n;for("string"==typeof t&&(t=[t]),u(n)&&(r=function(t,e){e[n]=S(t)}),e=0;e<t.length;e++)ft[t[e]]=r}function pt(t,i){mt(t,function(t,e,n,r){n._w=n._w||{},i(t,n._w,n,r)})}function yt(t,e,n){null!=e&&c(ft,t)&&ft[t](e,n._a,n,t)}var vt=0,gt=1,_t=2,wt=3,bt=4,St=5,kt=6,xt=7,Dt=8;function Mt(t){return Ot(t)?366:365}function Ot(t){return t%4==0&&t%100!=0||t%400==0}H("Y",0,0,function(){var t=this.year();return t<=9999?""+t:"+"+t}),H(0,["YY",2],0,function(){return this.year()%100}),H(0,["YYYY",4],0,"year"),H(0,["YYYYY",5],0,"year"),H(0,["YYYYYY",6,!0],0,"year"),E("year","y"),W("year",1),ht("Y",at),ht("YY",Q,X),ht("YYYY",nt,$),ht("YYYYY",rt,J),ht("YYYYYY",rt,J),mt(["YYYYY","YYYYYY"],vt),mt("YYYY",function(t,e){e[vt]=2===t.length?h.parseTwoDigitYear(t):S(t)}),mt("YY",function(t,e){e[vt]=h.parseTwoDigitYear(t)}),mt("Y",function(t,e){e[vt]=xr(t,10)}),h.parseTwoDigitYear=function(t){return S(t)+(68<S(t)?1900:2e3)};var Tt,Yt=Pt("FullYear",!0);function Pt(e,n){return function(t){return null!=t?(Et(this,e,t),h.updateOffset(this,n),this):Ct(this,e)}}function Ct(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function Et(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&Ot(t.year())&&1===t.month()&&29===t.date()?t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),Lt(n,t.month())):t._d["set"+(t._isUTC?"UTC":"")+e](n))}function Lt(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=function(t,e){return(t%e+e)%e}(e,12);return t+=(e-n)/12,1===n?Ot(t)?29:28:31-n%7%2}Tt=gi(Array.prototype)?gi(Array.prototype):function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},H("M",["MM",2],"Mo",function(){return this.month()+1}),H("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),H("MMMM",0,0,function(t){return this.localeData().months(this,t)}),E("month","M"),W("month",8),ht("M",Q),ht("MM",Q,X),ht("MMM",function(t,e){return e.monthsShortRegex(t)}),ht("MMMM",function(t,e){return e.monthsRegex(t)}),mt(["M","MM"],function(t,e){e[gt]=S(t)-1}),mt(["MMM","MMMM"],function(t,e,n,r){var i=n._locale.monthsParse(t,r,n._strict);null!=i?e[gt]=i:m(n).invalidMonth=t});var At=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Rt="January_February_March_April_May_June_July_August_September_October_November_December".split("_");var Wt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function It(t,e,n){var r,i,a,s=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=f([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===e?-1!==(i=Tt.call(this._shortMonthsParse,s))?i:null:-1!==(i=Tt.call(this._longMonthsParse,s))?i:null:"MMM"===e?-1!==(i=Tt.call(this._shortMonthsParse,s))?i:-1!==(i=Tt.call(this._longMonthsParse,s))?i:null:-1!==(i=Tt.call(this._longMonthsParse,s))?i:-1!==(i=Tt.call(this._shortMonthsParse,s))?i:null}function Nt(t,e){var n;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=S(e);else if(!u(e=t.localeData().monthsParse(e)))return t;return n=Math.min(t.date(),Lt(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function jt(t){return null!=t?(Nt(this,t),h.updateOffset(this,!0),this):Ct(this,"Month")}var Ft=ut;var Vt=ut;function zt(){function t(t,e){return e.length-t.length}var e,n,r=[],i=[],a=[];for(e=0;e<12;e++)n=f([2e3,e]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),a.push(this.months(n,"")),a.push(this.monthsShort(n,""));for(ji(r).call(r,t),ji(i).call(i,t),ji(a).call(a,t),e=0;e<12;e++)r[e]=dt(r[e]),i[e]=dt(i[e]);for(e=0;e<24;e++)a[e]=dt(a[e]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Ht(t){var e;if(t<100&&0<=t){var n=li(Array.prototype).call(arguments);n[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)}else e=new Date(Date.UTC.apply(null,arguments));return e}function Gt(t,e,n){var r=7+e-n,i=(7+Ht(t,0,r).getUTCDay()-e)%7;return r-i-1}function Ut(t,e,n,r,i){var a,s,o=(7+n-r)%7,u=Gt(t,r,i),l=1+7*(e-1)+o+u;return s=l<=0?Mt(a=t-1)+l:l>Mt(t)?(a=t+1,l-Mt(t)):(a=t,l),{year:a,dayOfYear:s}}function Bt(t,e,n){var r,i,a=Gt(t.year(),e,n),s=Math.floor((t.dayOfYear()-a-1)/7)+1;return s<1?(i=t.year()-1,r=s+Zt(i,e,n)):s>Zt(t.year(),e,n)?(r=s-Zt(t.year(),e,n),i=t.year()+1):(i=t.year(),r=s),{week:r,year:i}}function Zt(t,e,n){var r=Gt(t,e,n),i=Gt(t+1,e,n);return(Mt(t)-r+i)/7}H("w",["ww",2],"wo","week"),H("W",["WW",2],"Wo","isoWeek"),E("week","w"),E("isoWeek","W"),W("week",5),W("isoWeek",5),ht("w",Q),ht("ww",Q,X),ht("W",Q),ht("WW",Q,X),pt(["w","ww","W","WW"],function(t,e,n,r){e[r.substr(0,1)]=S(t)});function Xt(t,e){var n;return Fr(n=li(t).call(t,e,7)).call(n,li(t).call(t,0,e))}H("d",0,"do","day"),H("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),H("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),H("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),H("e",0,0,"weekday"),H("E",0,0,"isoWeekday"),E("day","d"),E("weekday","e"),E("isoWeekday","E"),W("day",11),W("weekday",11),W("isoWeekday",11),ht("d",Q),ht("e",Q),ht("E",Q),ht("dd",function(t,e){return e.weekdaysMinRegex(t)}),ht("ddd",function(t,e){return e.weekdaysShortRegex(t)}),ht("dddd",function(t,e){return e.weekdaysRegex(t)}),pt(["dd","ddd","dddd"],function(t,e,n,r){var i=n._locale.weekdaysParse(t,r,n._strict);null!=i?e.d=i:m(n).invalidWeekday=t}),pt(["d","e","E"],function(t,e,n,r){e[r]=S(t)});var qt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");var $t="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");var Jt="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function Qt(t,e,n){var r,i,a,s=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===e?-1!==(i=Tt.call(this._weekdaysParse,s))?i:null:"ddd"===e?-1!==(i=Tt.call(this._shortWeekdaysParse,s))?i:null:-1!==(i=Tt.call(this._minWeekdaysParse,s))?i:null:"dddd"===e?-1!==(i=Tt.call(this._weekdaysParse,s))?i:-1!==(i=Tt.call(this._shortWeekdaysParse,s))?i:-1!==(i=Tt.call(this._minWeekdaysParse,s))?i:null:"ddd"===e?-1!==(i=Tt.call(this._shortWeekdaysParse,s))?i:-1!==(i=Tt.call(this._weekdaysParse,s))?i:-1!==(i=Tt.call(this._minWeekdaysParse,s))?i:null:-1!==(i=Tt.call(this._minWeekdaysParse,s))?i:-1!==(i=Tt.call(this._weekdaysParse,s))?i:-1!==(i=Tt.call(this._shortWeekdaysParse,s))?i:null}var Kt=ut;var te=ut;var ee=ut;function ne(){function t(t,e){return e.length-t.length}var e,n,r,i,a,s=[],o=[],u=[],l=[];for(e=0;e<7;e++)n=f([2e3,1]).day(e),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),a=this.weekdays(n,""),s.push(r),o.push(i),u.push(a),l.push(r),l.push(i),l.push(a);for(ji(s).call(s,t),ji(o).call(o,t),ji(u).call(u,t),ji(l).call(l,t),e=0;e<7;e++)o[e]=dt(o[e]),u[e]=dt(u[e]),l[e]=dt(l[e]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+s.join("|")+")","i")}function re(){return this.hours()%12||12}function ie(t,e){H(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function ae(t,e){return e._meridiemParse}H("H",["HH",2],0,"hour"),H("h",["hh",2],0,re),H("k",["kk",2],0,function(){return this.hours()||24}),H("hmm",0,0,function(){return""+re.apply(this)+N(this.minutes(),2)}),H("hmmss",0,0,function(){return""+re.apply(this)+N(this.minutes(),2)+N(this.seconds(),2)}),H("Hmm",0,0,function(){return""+this.hours()+N(this.minutes(),2)}),H("Hmmss",0,0,function(){return""+this.hours()+N(this.minutes(),2)+N(this.seconds(),2)}),ie("a",!0),ie("A",!1),E("hour","h"),W("hour",13),ht("a",ae),ht("A",ae),ht("H",Q),ht("h",Q),ht("k",Q),ht("HH",Q,X),ht("hh",Q,X),ht("kk",Q,X),ht("hmm",K),ht("hmmss",tt),ht("Hmm",K),ht("Hmmss",tt),mt(["H","HH"],wt),mt(["k","kk"],function(t,e,n){var r=S(t);e[wt]=24===r?0:r}),mt(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),mt(["h","hh"],function(t,e,n){e[wt]=S(t),m(n).bigHour=!0}),mt("hmm",function(t,e,n){var r=t.length-2;e[wt]=S(t.substr(0,r)),e[bt]=S(t.substr(r)),m(n).bigHour=!0}),mt("hmmss",function(t,e,n){var r=t.length-4,i=t.length-2;e[wt]=S(t.substr(0,r)),e[bt]=S(t.substr(r,2)),e[St]=S(t.substr(i)),m(n).bigHour=!0}),mt("Hmm",function(t,e,n){var r=t.length-2;e[wt]=S(t.substr(0,r)),e[bt]=S(t.substr(r))}),mt("Hmmss",function(t,e,n){var r=t.length-4,i=t.length-2;e[wt]=S(t.substr(0,r)),e[bt]=S(t.substr(r,2)),e[St]=S(t.substr(i))});var se,oe=Pt("Hours",!0),ue={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{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"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Rt,monthsShort:Wt,week:{dow:0,doy:6},weekdays:qt,weekdaysMin:Jt,weekdaysShort:$t,meridiemParse:/[ap]\.?m?\.?/i},le={},he={};function ce(t){return t?t.toLowerCase().replace("_","-"):t}function de(t){var e=null;if(!le[t]&&tr&&tr.exports)try{e=se._abbr;var n=er;n("./locale/"+t),fe(e)}catch(t){}return le[t]}function fe(t,e){var n;return t&&((n=a(e)?pe(t):me(t,e))?se=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),se._abbr}function me(t,e){if(null===e)return delete le[t],null;var n,r,i=ue;if(e.abbr=t,null!=le[t])O("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=le[t]._config;else if(null!=e.parentLocale)if(null!=le[e.parentLocale])i=le[e.parentLocale]._config;else{if(null==(n=de(e.parentLocale)))return he[e.parentLocale]||(he[e.parentLocale]=[]),he[e.parentLocale].push({name:t,config:e}),null;i=n._config}return le[t]=new P(Y(i,e)),he[t]&&or(r=he[t]).call(r,function(t){me(t.name,t.config)}),fe(t),le[t]}function pe(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return se;if(!s(t)){if(e=de(t))return e;t=[t]}return function(t){var e,n,r,i,a=0;for(;a<t.length;){for(i=ce(t[a]).split("-"),e=i.length,n=(n=ce(t[a+1]))?n.split("-"):null;0<e;){if(r=de(li(i).call(i,0,e).join("-")))return r;if(n&&n.length>=e&&k(i,n,!0)>=e-1)break;e--}a++}return se}(t)}function ye(t){var e,n=t._a;return n&&-2===m(t).overflow&&(e=n[gt]<0||11<n[gt]?gt:n[_t]<1||n[_t]>Lt(n[vt],n[gt])?_t:n[wt]<0||24<n[wt]||24===n[wt]&&(0!==n[bt]||0!==n[St]||0!==n[kt])?wt:n[bt]<0||59<n[bt]?bt:n[St]<0||59<n[St]?St:n[kt]<0||999<n[kt]?kt:-1,m(t)._overflowDayOfYear&&(e<vt||_t<e)&&(e=_t),m(t)._overflowWeeks&&-1===e&&(e=xt),m(t)._overflowWeekday&&-1===e&&(e=Dt),m(t).overflow=e),t}function ve(t,e,n){return null!=t?t:null!=e?e:n}function ge(t){var e,n,r,i,a,s=[];if(!t._d){for(r=function(t){var e=new Date(h.now());if(t._useUTC)return[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()];return[e.getFullYear(),e.getMonth(),e.getDate()]}(t),t._w&&null==t._a[_t]&&null==t._a[gt]&&function(t){var e,n,r,i,a,s,o,u;if(null!=(e=t._w).GG||null!=e.W||null!=e.E)a=1,s=4,n=ve(e.GG,t._a[vt],Bt(Le(),1,4).year),r=ve(e.W,1),((i=ve(e.E,1))<1||7<i)&&(u=!0);else{a=t._locale._week.dow,s=t._locale._week.doy;var l=Bt(Le(),a,s);n=ve(e.gg,t._a[vt],l.year),r=ve(e.w,l.week),null!=e.d?((i=e.d)<0||6<i)&&(u=!0):null!=e.e?(i=e.e+a,(e.e<0||6<e.e)&&(u=!0)):i=a}r<1||r>Zt(n,a,s)?m(t)._overflowWeeks=!0:null!=u?m(t)._overflowWeekday=!0:(o=Ut(n,r,i,a,s),t._a[vt]=o.year,t._dayOfYear=o.dayOfYear)}(t),null!=t._dayOfYear&&(a=ve(t._a[vt],r[vt]),(t._dayOfYear>Mt(a)||0===t._dayOfYear)&&(m(t)._overflowDayOfYear=!0),n=Ht(a,0,t._dayOfYear),t._a[gt]=n.getUTCMonth(),t._a[_t]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=s[e]=r[e];for(;e<7;e++)t._a[e]=s[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[wt]&&0===t._a[bt]&&0===t._a[St]&&0===t._a[kt]&&(t._nextDay=!0,t._a[wt]=0),t._d=(t._useUTC?Ht:function(t,e,n,r,i,a,s){var o;t<100&&0<=t?(o=new Date(t+400,e,n,r,i,a,s),isFinite(o.getFullYear())&&o.setFullYear(t)):o=new Date(t,e,n,r,i,a,s);return o}).apply(null,s),i=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[wt]=24),t._w&&void 0!==t._w.d&&t._w.d!==i&&(m(t).weekdayMismatch=!0)}}var _e=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,we=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,be=/Z|[+-]\d\d(?::?\d\d)?/,Se=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],ke=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],xe=/^\/?Date\((\-?\d+)/i;function De(t){var e,n,r,i,a,s,o=t._i,u=_e.exec(o)||we.exec(o);if(u){for(m(t).iso=!0,e=0,n=Se.length;e<n;e++)if(Se[e][1].exec(u[1])){i=Se[e][0],r=!1!==Se[e][2];break}if(null==i)return void(t._isValid=!1);if(u[3]){for(e=0,n=ke.length;e<n;e++)if(ke[e][1].exec(u[3])){a=(u[2]||" ")+ke[e][0];break}if(null==a)return void(t._isValid=!1)}if(!r&&null!=a)return void(t._isValid=!1);if(u[4]){if(!be.exec(u[4]))return void(t._isValid=!1);s="Z"}t._f=i+(a||"")+(s||""),Pe(t)}else t._isValid=!1}var Me=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;function Oe(t,e,n,r,i,a){var s=[function(t){var e=xr(t,10);{if(e<=49)return 2e3+e;if(e<=999)return 1900+e}return e}(t),gi(Wt).call(Wt,e),xr(n,10),xr(r,10),xr(i,10)];return a&&s.push(xr(a,10)),s}var Te={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Ye(t){var e=Me.exec(function(t){return t.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}(t._i));if(e){var n=Oe(e[4],e[3],e[2],e[5],e[6],e[7]);if(!function(t,e,n){if(t){var r=gi($t).call($t,t),i=new Date(e[0],e[1],e[2]).getDay();if(r!==i)return m(n).weekdayMismatch=!0,n._isValid=!1}return!0}(e[1],n,t))return;t._a=n,t._tzm=function(t,e,n){{if(t)return Te[t];if(e)return 0;var r=xr(n,10),i=r%100;return 60*((r-i)/100)+i}}(e[8],e[9],e[10]),t._d=Ht.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),m(t).rfc2822=!0}else t._isValid=!1}function Pe(t){var e;if(t._f!==h.ISO_8601)if(t._f!==h.RFC_2822){t._a=[],m(t).empty=!0;var n,r,i,a,s,o=""+t._i,u=o.length,l=0;for(i=B(t._f,t._locale).match(j)||[],n=0;n<i.length;n++)a=i[n],(r=(o.match(ct(a,t))||[])[0])&&(0<(s=o.substr(0,gi(o).call(o,r))).length&&m(t).unusedInput.push(s),o=li(o).call(o,gi(o).call(o,r)+r.length),l+=r.length),z[a]?(r?m(t).empty=!1:m(t).unusedTokens.push(a),yt(a,r,t)):t._strict&&!r&&m(t).unusedTokens.push(a);m(t).charsLeftOver=u-l,0<o.length&&m(t).unusedInput.push(o),t._a[wt]<=12&&!0===m(t).bigHour&&0<t._a[wt]&&(m(t).bigHour=void 0),m(t).parsedDateParts=li(e=t._a).call(e,0),m(t).meridiem=t._meridiem,t._a[wt]=function(t,e,n){var r;if(null==n)return e;return null!=t.meridiemHour?t.meridiemHour(e,n):(null!=t.isPM&&((r=t.isPM(n))&&e<12&&(e+=12),r||12!==e||(e=0)),e)}(t._locale,t._a[wt],t._meridiem),ge(t),ye(t)}else Ye(t);else De(t)}function Ce(t){var e=t._i,n=t._f;return t._locale=t._locale||pe(t._l),null===e||void 0===n&&""===e?y({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),w(e)?new _(ye(e)):(l(e)?t._d=e:s(n)?function(t){var e,n,r,i,a;if(0===t._f.length)return m(t).invalidFormat=!0,t._d=new Date(NaN);for(i=0;i<t._f.length;i++)a=0,e=g({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[i],Pe(e),p(e)&&(a+=m(e).charsLeftOver,a+=10*m(e).unusedTokens.length,m(e).score=a,(null==r||a<r)&&(r=a,n=e));d(t,n||e)}(t):n?Pe(t):function(t){var e=t._i;a(e)?t._d=new Date(h.now()):l(e)?t._d=new Date(e.valueOf()):"string"==typeof e?function(t){var e=xe.exec(t._i);if(null!==e)return t._d=new Date(+e[1]);{if(De(t),!1!==t._isValid)return;delete t._isValid}{if(Ye(t),!1!==t._isValid)return;delete t._isValid}h.createFromInputFallback(t)}(t):s(e)?(t._a=r(li(e).call(e,0),function(t){return xr(t,10)}),ge(t)):o(e)?function(t){if(t._d)return;var e=A(t._i);t._a=r([e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],function(t){return t&&xr(t,10)}),ge(t)}(t):u(e)?t._d=new Date(e):h.createFromInputFallback(t)}(t),p(t)||(t._d=null),t))}function Ee(t,e,n,r,i){var a={};return!0!==n&&!1!==n||(r=n,n=void 0),(o(t)&&function(t){{if($i)return 0===$i(t).length;var e;for(e in t)if(t.hasOwnProperty(e))return!1;return!0}}(t)||s(t)&&0===t.length)&&(t=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=i,a._l=n,a._i=t,a._f=e,a._strict=r,function(t){var e=new _(ye(Ce(t)));e._nextDay&&(e.add(1,"d"),e._nextDay=void 0);return e}(a)}function Le(t,e,n,r){return Ee(t,e,n,r,!1)}h.createFromInputFallback=t("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),h.ISO_8601=function(){},h.RFC_2822=function(){};var Ae=t("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Le.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:y()}),Re=t("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Le.apply(null,arguments);return this.isValid()&&t.isValid()?this<t?this:t:y()});function We(t,e){var n,r;if(1===e.length&&s(e[0])&&(e=e[0]),!e.length)return Le();for(n=e[0],r=1;r<e.length;++r)e[r].isValid()&&!e[r][t](n)||(n=e[r]);return n}var Ie=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ne(t){var e=A(t),n=e.year||0,r=e.quarter||0,i=e.month||0,a=e.week||e.isoWeek||0,s=e.day||0,o=e.hour||0,u=e.minute||0,l=e.second||0,h=e.millisecond||0;this._isValid=function(t){for(var e in t)if(-1===Tt.call(Ie,e)||null!=t[e]&&isNaN(t[e]))return!1;for(var n=!1,r=0;r<Ie.length;++r)if(t[Ie[r]]){if(n)return!1;Pi(t[Ie[r]])!==S(t[Ie[r]])&&(n=!0)}return!0}(e),this._milliseconds=+h+1e3*l+6e4*u+1e3*o*60*60,this._days=+s+7*a,this._months=+i+3*r+12*n,this._data={},this._locale=pe(),this._bubble()}function je(t){return t instanceof Ne}function Fe(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Ve(t,n){H(t,0,0,function(){var t=this.utcOffset(),e="+";return t<0&&(t=-t,e="-"),e+N(~~(t/60),2)+n+N(~~t%60,2)})}Ve("Z",":"),Ve("ZZ",""),ht("Z",ot),ht("ZZ",ot),mt(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=He(ot,t)});var ze=/([\+\-]|\d\d)/gi;function He(t,e){var n=(e||"").match(t);if(null===n)return null;var r=n[n.length-1]||[],i=(r+"").match(ze)||["-",0,0],a=60*i[1]+S(i[2]);return 0===a?0:"+"===i[0]?a:-a}function Ge(t,e){var n,r;return e._isUTC?(n=e.clone(),r=(w(t)||l(t)?t.valueOf():Le(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),h.updateOffset(n,!1),n):Le(t).local()}function Ue(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function Be(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}h.updateOffset=function(){};var Ze=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Xe=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function qe(t,e){var n,r,i,a=t,s=null;return je(t)?a={ms:t._milliseconds,d:t._days,M:t._months}:u(t)?(a={},e?a[e]=t:a.milliseconds=t):(s=Ze.exec(t))?(n="-"===s[1]?-1:1,a={y:0,d:S(s[_t])*n,h:S(s[wt])*n,m:S(s[bt])*n,s:S(s[St])*n,ms:S(Fe(1e3*s[kt]))*n}):(s=Xe.exec(t))?(n="-"===s[1]?-1:1,a={y:$e(s[2],n),M:$e(s[3],n),w:$e(s[4],n),d:$e(s[5],n),h:$e(s[6],n),m:$e(s[7],n),s:$e(s[8],n)}):null==a?a={}:"object"===Mi(a)&&("from"in a||"to"in a)&&(i=function(t,e){var n;if(!t.isValid()||!e.isValid())return{milliseconds:0,months:0};e=Ge(e,t),t.isBefore(e)?n=Je(t,e):((n=Je(e,t)).milliseconds=-n.milliseconds,n.months=-n.months);return n}(Le(a.from),Le(a.to)),(a={}).ms=i.milliseconds,a.M=i.months),r=new Ne(a),je(t)&&c(t,"_locale")&&(r._locale=t._locale),r}function $e(t,e){var n=t&&Pi(t.replace(",","."));return(isNaN(n)?0:n)*e}function Je(t,e){var n={};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function Qe(r,i){return function(t,e){var n;return null===e||isNaN(+e)||(O(i,"moment()."+i+"(period, number) is deprecated. Please use moment()."+i+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=t,t=e,e=n),Ke(this,qe(t="string"==typeof t?+t:t,e),r),this}}function Ke(t,e,n,r){var i=e._milliseconds,a=Fe(e._days),s=Fe(e._months);t.isValid()&&(r=null==r||r,s&&Nt(t,Ct(t,"Month")+s*n),a&&Et(t,"Date",Ct(t,"Date")+a*n),i&&t._d.setTime(t._d.valueOf()+i*n),r&&h.updateOffset(t,a||s))}qe.fn=Ne.prototype,qe.invalid=function(){return qe(NaN)};var tn=Qe(1,"add"),en=Qe(-1,"subtract");function nn(t,e){var n,r,i=12*(e.year()-t.year())+(e.month()-t.month()),a=t.clone().add(i,"months");return r=e-a<0?(n=t.clone().add(i-1,"months"),(e-a)/(a-n)):(n=t.clone().add(1+i,"months"),(e-a)/(n-a)),-(i+r)||0}function rn(t){var e;return void 0===t?this._locale._abbr:(null!=(e=pe(t))&&(this._locale=e),this)}h.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",h.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var an=t("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});function sn(){return this._locale}var on=126227808e5;function un(t,e){return(t%e+e)%e}function ln(t,e,n){return t<100&&0<=t?new Date(t+400,e,n)-on:new Date(t,e,n).valueOf()}function hn(t,e,n){return t<100&&0<=t?Date.UTC(t+400,e,n)-on:Date.UTC(t,e,n)}function cn(t,e){H(0,[t,t.length],0,e)}function dn(t,e,n,r,i){var a;return null==t?Bt(this,r,i).year:((a=Zt(t,r,i))<e&&(e=a),function(t,e,n,r,i){var a=Ut(t,e,n,r,i),s=Ht(a.year,0,a.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}.call(this,t,e,n,r,i))}H(0,["gg",2],0,function(){return this.weekYear()%100}),H(0,["GG",2],0,function(){return this.isoWeekYear()%100}),cn("gggg","weekYear"),cn("ggggg","weekYear"),cn("GGGG","isoWeekYear"),cn("GGGGG","isoWeekYear"),E("weekYear","gg"),E("isoWeekYear","GG"),W("weekYear",1),W("isoWeekYear",1),ht("G",at),ht("g",at),ht("GG",Q,X),ht("gg",Q,X),ht("GGGG",nt,$),ht("gggg",nt,$),ht("GGGGG",rt,J),ht("ggggg",rt,J),pt(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,r){e[r.substr(0,2)]=S(t)}),pt(["gg","GG"],function(t,e,n,r){e[r]=h.parseTwoDigitYear(t)}),H("Q",0,"Qo","quarter"),E("quarter","Q"),W("quarter",7),ht("Q",Z),mt("Q",function(t,e){e[gt]=3*(S(t)-1)}),H("D",["DD",2],"Do","date"),E("date","D"),W("date",9),ht("D",Q),ht("DD",Q,X),ht("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),mt(["D","DD"],_t),mt("Do",function(t,e){e[_t]=S(t.match(Q)[0])});var fn=Pt("Date",!0);H("DDD",["DDDD",3],"DDDo","dayOfYear"),E("dayOfYear","DDD"),W("dayOfYear",4),ht("DDD",et),ht("DDDD",q),mt(["DDD","DDDD"],function(t,e,n){n._dayOfYear=S(t)}),H("m",["mm",2],0,"minute"),E("minute","m"),W("minute",14),ht("m",Q),ht("mm",Q,X),mt(["m","mm"],bt);var mn=Pt("Minutes",!1);H("s",["ss",2],0,"second"),E("second","s"),W("second",15),ht("s",Q),ht("ss",Q,X),mt(["s","ss"],St);var pn,yn=Pt("Seconds",!1);for(H("S",0,0,function(){return~~(this.millisecond()/100)}),H(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),H(0,["SSS",3],0,"millisecond"),H(0,["SSSS",4],0,function(){return 10*this.millisecond()}),H(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),H(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),H(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),H(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),H(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),E("millisecond","ms"),W("millisecond",16),ht("S",et,Z),ht("SS",et,X),ht("SSS",et,q),pn="SSSS";pn.length<=9;pn+="S")ht(pn,it);function vn(t,e){e[kt]=S(1e3*("0."+t))}for(pn="S";pn.length<=9;pn+="S")mt(pn,vn);var gn=Pt("Milliseconds",!1);H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var _n=_.prototype;function wn(t){return t}_n.add=tn,_n.calendar=function(t,e){var n=t||Le(),r=Ge(n,this).startOf("day"),i=h.calendarFormat(this,r)||"sameElse",a=e&&(T(e[i])?e[i].call(this,n):e[i]);return this.format(a||this.localeData().calendar(i,this,Le(n)))},_n.clone=function(){return new _(this)},_n.diff=function(t,e,n){var r,i,a;if(!this.isValid())return NaN;if(!(r=Ge(t,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),e=L(e)){case"year":a=nn(this,r)/12;break;case"month":a=nn(this,r);break;case"quarter":a=nn(this,r)/3;break;case"second":a=(this-r)/1e3;break;case"minute":a=(this-r)/6e4;break;case"hour":a=(this-r)/36e5;break;case"day":a=(this-r-i)/864e5;break;case"week":a=(this-r-i)/6048e5;break;default:a=this-r}return n?a:b(a)},_n.endOf=function(t){var e;if(void 0===(t=L(t))||"millisecond"===t||!this.isValid())return this;var n=this._isUTC?hn:ln;switch(t){case"year":e=n(this.year()+1,0,1)-1;break;case"quarter":e=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=n(this.year(),this.month()+1,1)-1;break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=36e5-un(e+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":e=this._d.valueOf(),e+=6e4-un(e,6e4)-1;break;case"second":e=this._d.valueOf(),e+=1e3-un(e,1e3)-1}return this._d.setTime(e),h.updateOffset(this,!0),this},_n.format=function(t){t=t||(this.isUtc()?h.defaultFormatUtc:h.defaultFormat);var e=U(this,t);return this.localeData().postformat(e)},_n.from=function(t,e){return this.isValid()&&(w(t)&&t.isValid()||Le(t).isValid())?qe({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},_n.fromNow=function(t){return this.from(Le(),t)},_n.to=function(t,e){return this.isValid()&&(w(t)&&t.isValid()||Le(t).isValid())?qe({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},_n.toNow=function(t){return this.to(Le(),t)},_n.get=function(t){if(T(this[t=L(t)]))return this[t]();return this},_n.invalidAt=function(){return m(this).overflow},_n.isAfter=function(t,e){var n=w(t)?t:Le(t);if(!this.isValid()||!n.isValid())return!1;return"millisecond"===(e=L(e)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf()},_n.isBefore=function(t,e){var n=w(t)?t:Le(t);if(!this.isValid()||!n.isValid())return!1;return"millisecond"===(e=L(e)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf()},_n.isBetween=function(t,e,n,r){var i=w(t)?t:Le(t),a=w(e)?e:Le(e);return!!(this.isValid()&&i.isValid()&&a.isValid())&&(("("===(r=r||"()")[0]?this.isAfter(i,n):!this.isBefore(i,n))&&(")"===r[1]?this.isBefore(a,n):!this.isAfter(a,n)))},_n.isSame=function(t,e){var n,r=w(t)?t:Le(t);if(!this.isValid()||!r.isValid())return!1;return"millisecond"===(e=L(e)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf())},_n.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},_n.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},_n.isValid=function(){return p(this)},_n.lang=an,_n.locale=rn,_n.localeData=sn,_n.max=Re,_n.min=Ae,_n.parsingFlags=function(){return d({},m(this))},_n.set=function(t,e){if("object"===Mi(t))for(var n=I(t=A(t)),r=0;r<n.length;r++)this[n[r].unit](t[n[r].unit]);else if(T(this[t=L(t)]))return this[t](e);return this},_n.startOf=function(t){var e;if(void 0===(t=L(t))||"millisecond"===t||!this.isValid())return this;var n=this._isUTC?hn:ln;switch(t){case"year":e=n(this.year(),0,1);break;case"quarter":e=n(this.year(),this.month()-this.month()%3,1);break;case"month":e=n(this.year(),this.month(),1);break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=n(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=un(e+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":e=this._d.valueOf(),e-=un(e,6e4);break;case"second":e=this._d.valueOf(),e-=un(e,1e3)}return this._d.setTime(e),h.updateOffset(this,!0),this},_n.subtract=en,_n.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},_n.toObject=function(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}},_n.toDate=function(){return new Date(this.valueOf())},_n.toISOString=function(t){if(!this.isValid())return null;var e=!0!==t,n=e?this.clone().utc():this;if(n.year()<0||9999<n.year())return U(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ");if(T(Date.prototype.toISOString))return e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",U(n,"Z"));return U(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},_n.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="";this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z");var n="["+t+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i=e+'[")]';return this.format(n+r+"-MM-DD[T]HH:mm:ss.SSS"+i)},_n.toJSON=function(){return this.isValid()?this.toISOString():null},_n.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},_n.unix=function(){return Math.floor(this.valueOf()/1e3)},_n.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},_n.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},_n.year=Yt,_n.isLeapYear=function(){return Ot(this.year())},_n.weekYear=function(t){return dn.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},_n.isoWeekYear=function(t){return dn.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},_n.quarter=_n.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},_n.month=jt,_n.daysInMonth=function(){return Lt(this.year(),this.month())},_n.week=_n.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},_n.isoWeek=_n.isoWeeks=function(t){var e=Bt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},_n.weeksInYear=function(){var t=this.localeData()._week;return Zt(this.year(),t.dow,t.doy)},_n.isoWeeksInYear=function(){return Zt(this.year(),1,4)},_n.date=fn,_n.day=_n.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(n=t,r=this.localeData(),t="string"==typeof n?isNaN(n)?"number"!=typeof(n=r.weekdaysParse(n))?null:n:xr(n,10):n,this.add(t-e,"d")):e;var n,r},_n.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},_n.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;{if(null==t)return this.day()||7;var e=(n=t,r=this.localeData(),"string"!=typeof n?isNaN(n)?null:n:r.weekdaysParse(n)%7||7);return this.day(this.day()%7?e:e-7)}var n,r},_n.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},_n.hour=_n.hours=oe,_n.minute=_n.minutes=mn,_n.second=_n.seconds=yn,_n.millisecond=_n.milliseconds=gn,_n.utcOffset=function(t,e,n){var r,i=this._offset||0;if(!this.isValid())return null!=t?this:NaN;{if(null==t)return this._isUTC?i:Ue(this);if("string"==typeof t){if(null===(t=He(ot,t)))return this}else Math.abs(t)<16&&!n&&(t*=60);return!this._isUTC&&e&&(r=Ue(this)),this._offset=t,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==t&&(!e||this._changeInProgress?Ke(this,qe(t-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,h.updateOffset(this,!0),this._changeInProgress=null)),this}},_n.utc=function(t){return this.utcOffset(0,t)},_n.local=function(t){this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Ue(this),"m"));return this},_n.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=He(st,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},_n.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?Le(t).utcOffset():0,(this.utcOffset()-t)%60==0)},_n.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},_n.isLocal=function(){return!!this.isValid()&&!this._isUTC},_n.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},_n.isUtc=Be,_n.isUTC=Be,_n.zoneAbbr=function(){return this._isUTC?"UTC":""},_n.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},_n.dates=t("dates accessor is deprecated. Use date instead.",fn),_n.months=t("months accessor is deprecated. Use month instead",jt),_n.years=t("years accessor is deprecated. Use year instead",Yt),_n.zone=t("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}),_n.isDSTShifted=t("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var t={};if(g(t,this),(t=Ce(t))._a){var e=t._isUTC?f(t._a):Le(t._a);this._isDSTShifted=this.isValid()&&0<k(t._a,e.toArray())}else this._isDSTShifted=!1;return this._isDSTShifted});var bn=P.prototype;function Sn(t,e,n,r){var i=pe(),a=f().set(r,e);return i[n](a,t)}function kn(t,e,n){if(u(t)&&(e=t,t=void 0),t=t||"",null!=e)return Sn(t,e,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Sn(t,r,n,"month");return i}function xn(t,e,n,r){e=("boolean"==typeof t?u(e)&&(n=e,e=void 0):(e=t,t=!1,u(n=e)&&(n=e,e=void 0)),e||"");var i,a=pe(),s=t?a._week.dow:0;if(null!=n)return Sn(e,(n+s)%7,r,"day");var o=[];for(i=0;i<7;i++)o[i]=Sn(e,(i+s)%7,r,"day");return o}bn.calendar=function(t,e,n){var r=this._calendar[t]||this._calendar.sameElse;return T(r)?r.call(e,n):r},bn.longDateFormat=function(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return!e&&n?(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,function(t){return li(t).call(t,1)}),this._longDateFormat[t]):e},bn.invalidDate=function(){return this._invalidDate},bn.ordinal=function(t){return this._ordinal.replace("%d",t)},bn.preparse=wn,bn.postformat=wn,bn.relativeTime=function(t,e,n,r){var i=this._relativeTime[n];return T(i)?i(t,e,n,r):i.replace(/%d/i,t)},bn.pastFuture=function(t,e){var n=this._relativeTime[0<t?"future":"past"];return T(n)?n(e):n.replace(/%s/i,e)},bn.set=function(t){var e,n;for(n in t)T(e=t[n])?this[n]=e:this["_"+n]=e;this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},bn.months=function(t,e){return t?s(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||At).test(e)?"format":"standalone"][t.month()]:s(this._months)?this._months:this._months.standalone},bn.monthsShort=function(t,e){return t?s(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[At.test(e)?"format":"standalone"][t.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},bn.monthsParse=function(t,e,n){var r,i,a;if(this._monthsParseExact)return It.call(this,t,e,n);this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]);for(r=0;r<12;r++){if(i=f([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(a="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[r].test(t))return r;if(n&&"MMM"===e&&this._shortMonthsParse[r].test(t))return r;if(!n&&this._monthsParse[r].test(t))return r}},bn.monthsRegex=function(t){return this._monthsParseExact?(c(this,"_monthsRegex")||zt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=Vt),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},bn.monthsShortRegex=function(t){return this._monthsParseExact?(c(this,"_monthsRegex")||zt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=Ft),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},bn.week=function(t){return Bt(t,this._week.dow,this._week.doy).week},bn.firstDayOfYear=function(){return this._week.doy},bn.firstDayOfWeek=function(){return this._week.dow},bn.weekdays=function(t,e){var n=s(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Xt(n,this._week.dow):t?n[t.day()]:n},bn.weekdaysMin=function(t){return!0===t?Xt(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},bn.weekdaysShort=function(t){return!0===t?Xt(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},bn.weekdaysParse=function(t,e,n){var r,i,a;if(this._weekdaysParseExact)return Qt.call(this,t,e,n);this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]);for(r=0;r<7;r++){if(i=f([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(a="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[r].test(t))return r;if(n&&"ddd"===e&&this._shortWeekdaysParse[r].test(t))return r;if(n&&"dd"===e&&this._minWeekdaysParse[r].test(t))return r;if(!n&&this._weekdaysParse[r].test(t))return r}},bn.weekdaysRegex=function(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||ne.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=Kt),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},bn.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||ne.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=te),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},bn.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||ne.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ee),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},bn.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},bn.meridiem=function(t,e,n){return 11<t?n?"pm":"PM":n?"am":"AM"},fe("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,n=1===S(t%100/10)?"th":1==e?"st":2==e?"nd":3==e?"rd":"th";return t+n}}),h.lang=t("moment.lang is deprecated. Use moment.locale instead.",fe),h.langData=t("moment.langData is deprecated. Use moment.localeData instead.",pe);var Dn=Math.abs;function Mn(t,e,n,r){var i=qe(e,n);return t._milliseconds+=r*i._milliseconds,t._days+=r*i._days,t._months+=r*i._months,t._bubble()}function On(t){return t<0?Math.floor(t):Math.ceil(t)}function Tn(t){return 4800*t/146097}function Yn(t){return 146097*t/4800}function Pn(t){return function(){return this.as(t)}}var Cn=Pn("ms"),En=Pn("s"),Ln=Pn("m"),An=Pn("h"),Rn=Pn("d"),Wn=Pn("w"),In=Pn("M"),Nn=Pn("Q"),jn=Pn("y");function Fn(t){return function(){return this.isValid()?this._data[t]:NaN}}var Vn=Fn("milliseconds"),zn=Fn("seconds"),Hn=Fn("minutes"),Gn=Fn("hours"),Un=Fn("days"),Bn=Fn("months"),Zn=Fn("years");var Xn=Math.round,qn={ss:44,s:45,m:45,h:22,d:26,M:11};var $n=Math.abs;function Jn(t){return(0<t)-(t<0)||+t}function Qn(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n=$n(this._milliseconds)/1e3,r=$n(this._days),i=$n(this._months);t=b(n/60),e=b(t/60),n%=60,t%=60;var a=b(i/12),s=i%=12,o=r,u=e,l=t,h=n?n.toFixed(3).replace(/\.?0+$/,""):"",c=this.asSeconds();if(!c)return"P0D";var d=c<0?"-":"",f=Jn(this._months)!==Jn(c)?"-":"",m=Jn(this._days)!==Jn(c)?"-":"",p=Jn(this._milliseconds)!==Jn(c)?"-":"";return d+"P"+(a?f+a+"Y":"")+(s?f+s+"M":"")+(o?m+o+"D":"")+(u||l||h?"T":"")+(u?p+u+"H":"")+(l?p+l+"M":"")+(h?p+h+"S":"")}var Kn=Ne.prototype;return Kn.isValid=function(){return this._isValid},Kn.abs=function(){var t=this._data;return this._milliseconds=Dn(this._milliseconds),this._days=Dn(this._days),this._months=Dn(this._months),t.milliseconds=Dn(t.milliseconds),t.seconds=Dn(t.seconds),t.minutes=Dn(t.minutes),t.hours=Dn(t.hours),t.months=Dn(t.months),t.years=Dn(t.years),this},Kn.add=function(t,e){return Mn(this,t,e,1)},Kn.subtract=function(t,e){return Mn(this,t,e,-1)},Kn.as=function(t){if(!this.isValid())return NaN;var e,n,r=this._milliseconds;if("month"===(t=L(t))||"quarter"===t||"year"===t)switch(e=this._days+r/864e5,n=this._months+Tn(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(Yn(this._months)),t){case"week":return e/7+r/6048e5;case"day":return e+r/864e5;case"hour":return 24*e+r/36e5;case"minute":return 1440*e+r/6e4;case"second":return 86400*e+r/1e3;case"millisecond":return Math.floor(864e5*e)+r;default:throw new Error("Unknown unit "+t)}},Kn.asMilliseconds=Cn,Kn.asSeconds=En,Kn.asMinutes=Ln,Kn.asHours=An,Kn.asDays=Rn,Kn.asWeeks=Wn,Kn.asMonths=In,Kn.asQuarters=Nn,Kn.asYears=jn,Kn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*S(this._months/12):NaN},Kn._bubble=function(){var t,e,n,r,i,a=this._milliseconds,s=this._days,o=this._months,u=this._data;return 0<=a&&0<=s&&0<=o||a<=0&&s<=0&&o<=0||(a+=864e5*On(Yn(o)+s),o=s=0),u.milliseconds=a%1e3,t=b(a/1e3),u.seconds=t%60,e=b(t/60),u.minutes=e%60,n=b(e/60),u.hours=n%24,s+=b(n/24),i=b(Tn(s)),o+=i,s-=On(Yn(i)),r=b(o/12),o%=12,u.days=s,u.months=o,u.years=r,this},Kn.clone=function(){return qe(this)},Kn.get=function(t){return t=L(t),this.isValid()?this[t+"s"]():NaN},Kn.milliseconds=Vn,Kn.seconds=zn,Kn.minutes=Hn,Kn.hours=Gn,Kn.days=Un,Kn.weeks=function(){return b(this.days()/7)},Kn.months=Bn,Kn.years=Zn,Kn.humanize=function(t){if(!this.isValid())return this.localeData().invalidDate();var e=this.localeData(),n=function(t,e,n){var r=qe(t).abs(),i=Xn(r.as("s")),a=Xn(r.as("m")),s=Xn(r.as("h")),o=Xn(r.as("d")),u=Xn(r.as("M")),l=Xn(r.as("y")),h=i<=qn.ss&&["s",i]||i<qn.s&&["ss",i]||a<=1&&["m"]||a<qn.m&&["mm",a]||s<=1&&["h"]||s<qn.h&&["hh",s]||o<=1&&["d"]||o<qn.d&&["dd",o]||u<=1&&["M"]||u<qn.M&&["MM",u]||l<=1&&["y"]||["yy",l];return h[2]=e,h[3]=0<+t,h[4]=n,function(t,e,n,r,i){return i.relativeTime(e||1,!!n,t,r)}.apply(null,h)}(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)},Kn.toISOString=Qn,Kn.toString=Qn,Kn.toJSON=Qn,Kn.locale=rn,Kn.localeData=sn,Kn.toIsoString=t("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Qn),Kn.lang=an,H("X",0,0,"unix"),H("x",0,0,"valueOf"),ht("x",at),ht("X",/[+-]?\d+(\.\d{1,3})?/),mt("X",function(t,e,n){n._d=new Date(1e3*Pi(t,10))}),mt("x",function(t,e,n){n._d=new Date(S(t))}),h.version="2.24.0",function(t){e=t}(Le),h.fn=_n,h.min=function(){return We("isBefore",li([]).call(arguments,0))},h.max=function(){return We("isAfter",li([]).call(arguments,0))},h.now=function(){return Ci?Ci():+new Date},h.utc=f,h.unix=function(t){return Le(1e3*t)},h.months=function(t,e){return kn(t,e,"months")},h.isDate=l,h.locale=fe,h.invalid=y,h.duration=qe,h.isMoment=w,h.weekdays=function(t,e,n){return xn(t,e,n,"weekdays")},h.parseZone=function(){return Le.apply(null,arguments).parseZone()},h.localeData=pe,h.isDuration=je,h.monthsShort=function(t,e){return kn(t,e,"monthsShort")},h.weekdaysMin=function(t,e,n){return xn(t,e,n,"weekdaysMin")},h.defineLocale=me,h.updateLocale=function(t,e){if(null!=e){var n,r,i=ue;null!=(r=de(t))&&(i=r._config),e=Y(i,e),(n=new P(e)).parentLocale=le[t],le[t]=n,fe(t)}else null!=le[t]&&(null!=le[t].parentLocale?le[t]=le[t].parentLocale:null!=le[t]&&delete le[t]);return le[t]},h.locales=function(){return D(le)},h.weekdaysShort=function(t,e,n){return xn(t,e,n,"weekdaysShort")},h.normalizeUnits=L,h.relativeTimeRounding=function(t){return void 0!==t?"function"==typeof t&&(Xn=t,!0):Xn},h.relativeTimeThreshold=function(t,e){return void 0!==qn[t]&&(void 0===e?qn[t]:(qn[t]=e,"s"===t&&(qn.ss=e-1),!0))},h.calendarFormat=function(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},h.prototype=_n,h.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},h}()}),Qi=[],Ki=0;Ki<256;Ki++)Qi[Ki]=(Ki+256).toString(16).substr(1);for(var ta=function(){if("undefined"!=typeof crypto&&crypto.getRandomValues){var t=new Uint8Array(16);return function(){return crypto.getRandomValues(t),t}}var n=new Array(16);return function(){for(var t,e=0;e<16;e++)0==(3&e)&&(t=4294967296*Math.random()),n[e]=t>>>((3&e)<<3)&255;return n}}(),ea=[],na=0;na<256;na++)ea[na]=(na+256).toString(16).substr(1);var ra=ta();ra[0],ra[1],ra[2],ra[3],ra[4],ra[5],ra[6],ra[7];function ia(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=1<arguments.length?arguments[1]:void 0,n=e&&(2<arguments.length?arguments[2]:void 0)||0;"string"==typeof t&&(e="binary"===t?new Array(16):void 0,t={});var r=t.random||(t.rng||ta)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,e)for(var i=0;i<16;i++)e[n+i]=r[i];return e||function(t,e){var n=e||0,r=Qi;return r[t[n++]]+r[t[n++]]+r[t[n++]]+r[t[n++]]+"-"+r[t[n++]]+r[t[n++]]+"-"+r[t[n++]]+r[t[n++]]+"-"+r[t[n++]]+r[t[n++]]+"-"+r[t[n++]]+r[t[n++]]+r[t[n++]]+r[t[n++]]+r[t[n++]]+r[t[n++]]}(r)}function aa(e,t){var n=nr(e);if(en){var r=en(e);t&&(r=Er(r).call(r,function(t){return kt(e,t).enumerable})),n.push.apply(n,r)}return n}var sa=/^\/?Date\((-?\d+)/i,oa=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,ua=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,la=/^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,ha=/^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 ca(t){return t instanceof Number||"number"==typeof t}function da(t){if(t)for(;!0===t.hasChildNodes();){var e=t.firstChild;e&&(da(e),t.removeChild(e))}}function fa(t){return t instanceof String||"string"==typeof t}function ma(t){return"object"===Mi(t)&&null!==t}function pa(t){if(t instanceof Date)return!0;if(fa(t)){if(sa.exec(t))return!0;if(!isNaN(Date.parse(t)))return!0}return!1}function ya(t){return Ji.isMoment(t)}function va(t,e,n,r){var i=!1;!0===r&&(i=null===e[n]&&void 0!==t[n]),i?delete t[n]:t[n]=e[n]}function ga(t,e){var n=2<arguments.length&&void 0!==arguments[2]&&arguments[2];for(var r in t)if(void 0!==e[r])if(null===e[r]||"object"!==Mi(e[r]))va(t,e,r,n);else{var i=t[r],a=e[r];ma(i)&&ma(a)&&ga(i,a,n)}}var _a=Si;function wa(t,e){if(!_i(t))throw new Error("Array with property names expected as first argument");for(var n=arguments.length,r=new Array(2<n?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];for(var a=0,s=r;a<s.length;a++)for(var o=s[a],u=0;u<t.length;u++){var l=t[u];o&&Object.prototype.hasOwnProperty.call(o,l)&&(e[l]=o[l])}return e}function ba(t,e,n){var r=3<arguments.length&&void 0!==arguments[3]&&arguments[3];if(_i(n))throw new TypeError("Arrays are not supported by deepExtend");for(var i=0;i<t.length;i++){var a=t[i];if(Object.prototype.hasOwnProperty.call(n,a))if(n[a]&&n[a].constructor===Object)void 0===e[a]&&(e[a]={}),e[a].constructor===Object?ka(e[a],n[a],!1,r):va(e,n,a,r);else{if(_i(n[a]))throw new TypeError("Arrays are not supported by deepExtend");va(e,n,a,r)}}return e}function Sa(t,e,n){var r=3<arguments.length&&void 0!==arguments[3]&&arguments[3];if(_i(n))throw new TypeError("Arrays are not supported by deepExtend");for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)&&-1===gi(t).call(t,i))if(n[i]&&n[i].constructor===Object)void 0===e[i]&&(e[i]={}),e[i].constructor===Object?ka(e[i],n[i]):va(e,n,i,r);else if(_i(n[i])){e[i]=[];for(var a=0;a<n[i].length;a++)e[i].push(n[i][a])}else va(e,n,i,r);return e}function ka(t,e){var n=2<arguments.length&&void 0!==arguments[2]&&arguments[2],r=3<arguments.length&&void 0!==arguments[3]&&arguments[3];for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)||!0===n)if("object"===Mi(e[i])&&null!==e[i]&&ci(e[i])===Object.prototype)void 0===t[i]?t[i]=ka({},e[i],n):"object"===Mi(t[i])&&null!==t[i]&&ci(t[i])===Object.prototype?ka(t[i],e[i],n):va(t,e,i,r);else if(_i(e[i])){var a;t[i]=li(a=e[i]).call(a)}else va(t,e,i,r);return t}function xa(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}function Da(t,e){var n;if(void 0!==t){if(null===t)return null;if(!e)return t;if("string"!=typeof e&&!(e instanceof String))throw new Error("Type must be a string");switch(e){case"boolean":case"Boolean":return Boolean(t);case"number":case"Number":return fa(t)&&!isNaN(Date.parse(t))?Ji(t).valueOf():Number(t.valueOf());case"string":case"String":return String(t);case"Date":if(ca(t))return new Date(t);if(t instanceof Date)return new Date(t.valueOf());if(ya(t))return new Date(t.valueOf());if(fa(t))return(n=sa.exec(t))?new Date(Number(n[1])):Ji(new Date(t)).toDate();throw new Error("Cannot convert object of type "+Ma(t)+" to type Date");case"Moment":if(ca(t))return Ji(t);if(t instanceof Date)return Ji(t.valueOf());if(ya(t))return Ji(t);if(fa(t))return n=sa.exec(t),Ji(n?Number(n[1]):t);throw new Error("Cannot convert object of type "+Ma(t)+" to type Date");case"ISODate":if(ca(t))return new Date(t);if(t instanceof Date)return t.toISOString();if(ya(t))return t.toDate().toISOString();if(fa(t))return(n=sa.exec(t))?new Date(Number(n[1])).toISOString():Ji(t).format();throw new Error("Cannot convert object of type "+Ma(t)+" to type ISODate");case"ASPDate":if(ca(t))return"/Date("+t+")/";if(t instanceof Date||ya(t))return"/Date("+t.valueOf()+")/";if(fa(t))return"/Date("+((n=sa.exec(t))?new Date(Number(n[1])).valueOf():new Date(t).valueOf())+")/";throw new Error("Cannot convert object of type "+Ma(t)+" to type ASPDate");default:throw new Error("Unknown type ".concat(e))}}}function Ma(t){var e=Mi(t);return"object"===e?null===t?"null":t instanceof Boolean?"Boolean":t instanceof Number?"Number":t instanceof String?"String":_i(t)?"Array":t instanceof Date?"Date":"Object":"number"===e?"Number":"boolean"===e?"Boolean":"string"===e?"String":void 0===e?"undefined":e}function Oa(t,e){var n;return Fr(n=[]).call(n,ri(t),[e])}function Ta(t){return li(t).call(t)}function Ya(t){return t.getBoundingClientRect().left}function Pa(t){return t.getBoundingClientRect().right}function Ca(t){return t.getBoundingClientRect().top}function Ea(t,e){var n=t.className.split(" "),r=e.split(" ");n=Fr(n).call(n,Er(r).call(r,function(t){return gi(n).call(n,t)<0})),t.className=n.join(" ")}function La(t,e){var n=t.className.split(" "),r=e.split(" ");n=Er(n).call(n,function(t){return gi(r).call(r,t)<0}),t.className=n.join(" ")}function Aa(t,e){if(_i(t))for(var n=t.length,r=0;r<n;r++)e(t[r],r,t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e(t[i],i,t)}var Ra=Or;function Wa(t,e,n){return t[e]!==n&&(t[e]=n,!0)}function Ia(t){var e=!1;return function(){e||(e=!0,requestAnimationFrame(function(){e=!1,t()}))}}function Na(t,e,n,r){var i;t.addEventListener?(void 0===r&&(r=!1),"mousewheel"===e&&0<=gi(i=navigator.userAgent).call(i,"Firefox")&&(e="DOMMouseScroll"),t.addEventListener(e,n,r)):t.attachEvent("on"+e,n)}function ja(t,e,n,r){var i;t.removeEventListener?(void 0===r&&(r=!1),"mousewheel"===e&&0<=gi(i=navigator.userAgent).call(i,"Firefox")&&(e="DOMMouseScroll"),t.removeEventListener(e,n,r)):t.detachEvent("on"+e,n)}function Fa(t){(t=t||window.event)&&(t.preventDefault?t.preventDefault():t.returnValue=!1)}function Va(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:window.event,e=null;return t&&(t.target?e=t.target:t.srcElement&&(e=t.srcElement)),e instanceof Element&&(null==e.nodeType||3!=e.nodeType||(e=e.parentNode)instanceof Element)?e:null}function za(t,e){for(var n=t;n;){if(n===e)return!0;if(!n.parentNode)return!1;n=n.parentNode}return!1}var Ha={asBoolean:function(t,e){return"function"==typeof t&&(t=t()),null!=t?0!=t:e||null},asNumber:function(t,e){return"function"==typeof t&&(t=t()),null!=t?Number(t)||e||null:e||null},asString:function(t,e){return"function"==typeof t&&(t=t()),null!=t?String(t):e||null},asSize:function(t,e){return"function"==typeof t&&(t=t()),fa(t)?t:ca(t)?t+"px":e||null},asElement:function(t,e){return"function"==typeof t&&(t=t()),t||e||null}};function Ga(t){var e;switch(t.length){case 3:case 4:return(e=ua.exec(t))?{r:xr(e[1]+e[1],16),g:xr(e[2]+e[2],16),b:xr(e[3]+e[3],16)}:null;case 6:case 7:return(e=oa.exec(t))?{r:xr(e[1],16),g:xr(e[2],16),b:xr(e[3],16)}:null;default:return null}}function Ua(t,e){if(-1!==gi(t).call(t,"rgba"))return t;if(-1!==gi(t).call(t,"rgb")){var n=t.substr(gi(t).call(t,"(")+1).replace(")","").split(",");return"rgba("+n[0]+","+n[1]+","+n[2]+","+e+")"}var r=Ga(t);return null==r?t:"rgba("+r.r+","+r.g+","+r.b+","+e+")"}function Ba(t,e,n){var r;return"#"+li(r=((1<<24)+(t<<16)+(e<<8)+n).toString(16)).call(r,1)}function Za(t,e){if(fa(t)){var n=t;if(rs(n)){var r,i=gr(r=n.substr(4).substr(0,n.length-5).split(",")).call(r,function(t){return xr(t)});n=Ba(i[0],i[1],i[2])}if(!0!==ns(n))return{background:n,border:n,highlight:{background:n,border:n},hover:{background:n,border:n}};var a=es(n),s={h:a.h,s:.8*a.s,v:Math.min(1,1.02*a.v)},o={h:a.h,s:Math.min(1,1.25*a.s),v:.8*a.v},u=ts(o.h,o.s,o.v),l=ts(s.h,s.s,s.v);return{background:n,border:u,highlight:{background:l,border:u},hover:{background:l,border:u}}}return e?{background:t.background||e.background,border:t.border||e.border,highlight:fa(t.highlight)?{border:t.highlight,background:t.highlight}:{background:t.highlight&&t.highlight.background||e.highlight.background,border:t.highlight&&t.highlight.border||e.highlight.border},hover:fa(t.hover)?{border:t.hover,background:t.hover}:{border:t.hover&&t.hover.border||e.hover.border,background:t.hover&&t.hover.background||e.hover.background}}:{background:t.background||void 0,border:t.border||void 0,highlight:fa(t.highlight)?{border:t.highlight,background:t.highlight}:{background:t.highlight&&t.highlight.background||void 0,border:t.highlight&&t.highlight.border||void 0},hover:fa(t.hover)?{border:t.hover,background:t.hover}:{border:t.hover&&t.hover.border||void 0,background:t.hover&&t.hover.background||void 0}}}function Xa(t,e,n){t/=255,e/=255,n/=255;var r=Math.min(t,Math.min(e,n)),i=Math.max(t,Math.max(e,n));return r===i?{h:0,s:0,v:r}:{h:60*((t===r?3:n===r?1:5)-(t===r?e-n:n===r?t-e:n-t)/(i-r))/360,s:(i-r)/i,v:i}}var qa=function(t){var e,s={};return or(e=t.split(";")).call(e,function(t){if(""!=Jn(t).call(t)){var e,n,r=t.split(":"),i=Jn(e=r[0]).call(e),a=Jn(n=r[1]).call(n);s[i]=a}}),s},$a=function(e){var t;return gr(t=nr(e)).call(t,function(t){return t+": "+e[t]}).join("; ")};function Ja(t,e){var n=function(e){for(var t=1;t<arguments.length;t++){var n,r=null!=arguments[t]?arguments[t]:{};if(t%2)or(n=aa(r,!0)).call(n,function(t){In(e,t,r[t])});else if(yt)ct(e,yt(r));else{var i;or(i=aa(r)).call(i,function(t){$(e,t,kt(r,t))})}}return e}({},qa(t.style.cssText),{},qa(e));t.style.cssText=$a(n)}function Qa(t,e){var n=qa(t.style.cssText),r=qa(e);for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&delete n[i];t.style.cssText=$a(n)}function Ka(t,e,n){var r,i,a,s=Math.floor(6*t),o=6*t-s,u=n*(1-e),l=n*(1-o*e),h=n*(1-(1-o)*e);switch(s%6){case 0:r=n,i=h,a=u;break;case 1:r=l,i=n,a=u;break;case 2:r=u,i=n,a=h;break;case 3:r=u,i=l,a=n;break;case 4:r=h,i=u,a=n;break;case 5:r=n,i=u,a=l}return{r:Math.floor(255*r),g:Math.floor(255*i),b:Math.floor(255*a)}}function ts(t,e,n){var r=Ka(t,e,n);return Ba(r.r,r.g,r.b)}function es(t){var e=Ga(t);if(!e)throw new TypeError("'".concat(t,"' is not a valid color."));return Xa(e.r,e.g,e.b)}function ns(t){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(t)}function rs(t){return la.test(t)}function is(t){return ha.test(t)}function as(t,e){if(null===e||"object"!==Mi(e))return null;for(var n=Rn(e),r=0;r<t.length;r++)Object.prototype.hasOwnProperty.call(e,t[r])&&"object"==Mi(e[t[r]])&&(n[t[r]]=ss(e[t[r]]));return n}function ss(t){if(null===t||"object"!==Mi(t))return null;if(t instanceof Element)return t;var e=Rn(t);for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&"object"==Mi(t[n])&&(e[n]=ss(t[n]));return e}function os(t,e){for(var n=0;n<t.length;n++){var r=t[n],i=void 0;for(i=n;0<i&&e(r,t[i-1])<0;i--)t[i]=t[i-1];t[i]=r}return t}function us(t,e,n){function r(t){return null!=t}function s(t){return null!==t&&"object"===Mi(t)}var i=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{};if(!s(t))throw new Error("Parameter mergeTarget must be an object");if(!s(e))throw new Error("Parameter options must be an object");if(!r(n))throw new Error("Parameter option must have a value");if(!s(i))throw new Error("Parameter globalOptions must be an object");var a=e[n],o=s(i)&&!function(t){for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e))return!1;return!0}(i)?i[n]:void 0,u=o?o.enabled:void 0;if(void 0!==a){if("boolean"==typeof a)return s(t[n])||(t[n]={}),void(t[n].enabled=a);if(null===a&&!s(t[n])){if(!r(o))return;t[n]=Rn(o)}if(s(a)){var l=!0;void 0!==a.enabled?l=a.enabled:void 0!==u&&(l=o.enabled),function(t,e,n){s(t[n])||(t[n]={});var r=e[n],i=t[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(i[a]=r[a])}(t,e,n),t[n].enabled=l}}}function ls(t,e,n,r){for(var i=0,a=0,s=t.length-1;a<=s&&i<1e4;){var o=Math.floor((a+s)/2),u=t[o],l=e(void 0===r?u[n]:u[n][r]);if(0==l)return o;-1==l?a=o+1:s=o-1,i++}return-1}function hs(t,e,n,r,i){var a,s,o,u,l=0,h=0,c=t.length-1;for(i=null!=i?i:function(t,e){return t==e?0:t<e?-1:1};h<=c&&l<1e4;){if(u=Math.floor(.5*(c+h)),a=t[Math.max(0,u-1)][n],s=t[u][n],o=t[Math.min(t.length-1,u+1)][n],0==i(s,e))return u;if(i(a,e)<0&&0<i(s,e))return"before"==r?Math.max(0,u-1):u;if(i(s,e)<0&&0<i(o,e))return"before"==r?u:Math.min(t.length-1,u+1);i(s,e)<0?h=u+1:c=u-1,l++}return-1}var cs={linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return t*(2-t)},easeInOutQuad:function(t){return t<.5?2*t*t:(4-2*t)*t-1},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return--t*t*t+1},easeInOutCubic:function(t){return t<.5?4*t*t*t:(t-1)*(2*t-2)*(2*t-2)+1},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return 1- --t*t*t*t},easeInOutQuart:function(t){return t<.5?8*t*t*t*t:1-8*--t*t*t*t},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return 1+--t*t*t*t*t},easeInOutQuint:function(t){return t<.5?16*t*t*t*t*t:1+16*--t*t*t*t*t}};function ds(){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}function fs(t,e){var n;_i(e)||(e=[e]);var r=!0,i=!1,a=void 0;try{for(var s,o=Ln(t);!(r=(s=o.next()).done);r=!0){var u=s.value;if(u){n=u[e[0]];for(var l=1;l<e.length;l++)n=n&&n[e[l]];if(void 0!==n)break}}}catch(t){i=!0,a=t}finally{try{r||null==o.return||o.return()}finally{if(i)throw a}}return n}var ms=Object.freeze({isNumber:ca,recursiveDOMDelete:da,isString:fa,isObject:ma,isDate:pa,isMoment:ya,fillIfDefined:ga,extend:_a,selectiveExtend:wa,selectiveDeepExtend:ba,selectiveNotDeepExtend:Sa,deepExtend:ka,equalArray:xa,convert:Da,getType:Ma,copyAndExtendArray:Oa,copyArray:Ta,getAbsoluteLeft:Ya,getAbsoluteRight:Pa,getAbsoluteTop:Ca,addClassName:Ea,removeClassName:La,forEach:Aa,toArray:Ra,updateProperty:Wa,throttle:Ia,addEventListener:Na,removeEventListener:ja,preventDefault:Fa,getTarget:Va,hasParent:za,option:Ha,hexToRGB:Ga,overrideOpacity:Ua,RGBToHex:Ba,parseColor:Za,RGBToHSV:Xa,addCssText:Ja,removeCssText:Qa,HSVToRGB:Ka,HSVToHex:ts,hexToHSV:es,isValidHex:ns,isValidRGB:rs,isValidRGBA:is,selectiveBridgeObject:as,bridgeObject:ss,insertSort:os,mergeOptions:us,binarySearchCustom:ls,binarySearchValue:hs,easingFunctions:cs,getScrollBarWidth:ds,topMost:fs,randomUUID:ia}),ps=Object.freeze({default:ms,HSVToHex:ts,HSVToRGB:Ka,RGBToHSV:Xa,RGBToHex:Ba,addClassName:Ea,addCssText:Ja,addEventListener:Na,binarySearchCustom:ls,binarySearchValue:hs,bridgeObject:ss,convert:Da,copyAndExtendArray:Oa,copyArray:Ta,deepExtend:ka,easingFunctions:cs,equalArray:xa,extend:_a,fillIfDefined:ga,forEach:Aa,getAbsoluteLeft:Ya,getAbsoluteRight:Pa,getAbsoluteTop:Ca,getScrollBarWidth:ds,getTarget:Va,getType:Ma,hasParent:za,hexToHSV:es,hexToRGB:Ga,insertSort:os,isDate:pa,isMoment:ya,isNumber:ca,isObject:ma,isString:fa,isValidHex:ns,isValidRGB:rs,isValidRGBA:is,mergeOptions:us,option:Ha,overrideOpacity:Ua,parseColor:Za,preventDefault:Fa,randomUUID:ia,recursiveDOMDelete:da,removeClassName:La,removeCssText:Qa,removeEventListener:ja,selectiveBridgeObject:as,selectiveDeepExtend:ba,selectiveExtend:wa,selectiveNotDeepExtend:Sa,throttle:Ia,toArray:Ra,topMost:fs,updateProperty:Wa});"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function ys(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}function vs(t,e){return t(e={exports:{}},e.exports),e.exports}function gs(t){return t&&t.default||t}var _s=vs(function(t,l){l.prepareElements=function(t){for(var e in t)t.hasOwnProperty(e)&&(t[e].redundant=t[e].used,t[e].used=[])},l.cleanupElements=function(t){for(var e in t)if(t.hasOwnProperty(e)&&t[e].redundant){for(var n=0;n<t[e].redundant.length;n++)t[e].redundant[n].parentNode.removeChild(t[e].redundant[n]);t[e].redundant=[]}},l.resetElements=function(t){l.prepareElements(t),l.cleanupElements(t),l.prepareElements(t)},l.getSVGElement=function(t,e,n){var r;return e.hasOwnProperty(t)?0<e[t].redundant.length?(r=e[t].redundant[0],e[t].redundant.shift()):(r=document.createElementNS("http://www.w3.org/2000/svg",t),n.appendChild(r)):(r=document.createElementNS("http://www.w3.org/2000/svg",t),e[t]={used:[],redundant:[]},n.appendChild(r)),e[t].used.push(r),r},l.getDOMElement=function(t,e,n,r){var i;return e.hasOwnProperty(t)?0<e[t].redundant.length?(i=e[t].redundant[0],e[t].redundant.shift()):(i=document.createElement(t),void 0!==r?n.insertBefore(i,r):n.appendChild(i)):(i=document.createElement(t),e[t]={used:[],redundant:[]},void 0!==r?n.insertBefore(i,r):n.appendChild(i)),e[t].used.push(i),i},l.drawPoint=function(t,e,n,r,i,a){var s;if("circle"==n.style?((s=l.getSVGElement("circle",r,i)).setAttributeNS(null,"cx",t),s.setAttributeNS(null,"cy",e),s.setAttributeNS(null,"r",.5*n.size)):((s=l.getSVGElement("rect",r,i)).setAttributeNS(null,"x",t-.5*n.size),s.setAttributeNS(null,"y",e-.5*n.size),s.setAttributeNS(null,"width",n.size),s.setAttributeNS(null,"height",n.size)),void 0!==n.styles&&s.setAttributeNS(null,"style",n.styles),s.setAttributeNS(null,"class",n.className+" vis-point"),a){var o=l.getSVGElement("text",r,i);a.xOffset&&(t+=a.xOffset),a.yOffset&&(e+=a.yOffset),a.content&&(o.textContent=a.content),a.className&&o.setAttributeNS(null,"class",a.className+" vis-label"),o.setAttributeNS(null,"x",t),o.setAttributeNS(null,"y",e)}return s},l.drawBar=function(t,e,n,r,i,a,s,o){if(0!=r){r<0&&(e-=r*=-1);var u=l.getSVGElement("rect",a,s);u.setAttributeNS(null,"x",t-.5*n),u.setAttributeNS(null,"y",e),u.setAttributeNS(null,"width",n),u.setAttributeNS(null,"height",r),u.setAttributeNS(null,"class",i),o&&u.setAttributeNS(null,"style",o)}}});_s.prepareElements,_s.cleanupElements,_s.resetElements,_s.getSVGElement,_s.getDOMElement,_s.drawPoint,_s.drawBar;function ws(t,e){return t(e={exports:{}},e.exports),e.exports}var bs=ws(function(t){var e=function(a){var u,t=Object.prototype,l=t.hasOwnProperty,e="function"==typeof Symbol?Symbol:{},i=e.iterator||"@@iterator",n=e.asyncIterator||"@@asyncIterator",r=e.toStringTag||"@@toStringTag";function s(t,e,n,r){var i=e&&e.prototype instanceof o?e:o,a=Object.create(i.prototype),s=new O(r||[]);return a._invoke=function(a,s,o){var u=c;return function(t,e){if(u===f)throw new Error("Generator is already running");if(u===m){if("throw"===t)throw e;return Y()}for(o.method=t,o.arg=e;;){var n=o.delegate;if(n){var r=x(n,o);if(r){if(r===p)continue;return r}}if("next"===o.method)o.sent=o._sent=o.arg;else if("throw"===o.method){if(u===c)throw u=m,o.arg;o.dispatchException(o.arg)}else"return"===o.method&&o.abrupt("return",o.arg);u=f;var i=h(a,s,o);if("normal"===i.type){if(u=o.done?m:d,i.arg===p)continue;return{value:i.arg,done:o.done}}"throw"===i.type&&(u=m,o.method="throw",o.arg=i.arg)}}}(t,n,s),a}function h(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}a.wrap=s;var c="suspendedStart",d="suspendedYield",f="executing",m="completed",p={};function o(){}function y(){}function v(){}var g={};g[i]=function(){return this};var _=Object.getPrototypeOf,w=_&&_(_(T([])));w&&w!==t&&l.call(w,i)&&(g=w);var b=v.prototype=o.prototype=Object.create(g);function S(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function k(u){var e;this._invoke=function(n,r){function t(){return new Promise(function(t,e){!function e(t,n,r,i){var a=h(u[t],u,n);if("throw"!==a.type){var s=a.arg,o=s.value;return o&&"object"==typeof o&&l.call(o,"__await")?Promise.resolve(o.__await).then(function(t){e("next",t,r,i)},function(t){e("throw",t,r,i)}):Promise.resolve(o).then(function(t){s.value=t,r(s)},function(t){return e("throw",t,r,i)})}i(a.arg)}(n,r,t,e)})}return e=e?e.then(t,t):t()}}function x(t,e){var n=t.iterator[e.method];if(n===u){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=u,x(t,e),"throw"===e.method))return p;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var r=h(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,p;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=u),e.delegate=null,p):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,p)}function D(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function M(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(D,this),this.reset(!0)}function T(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(l.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=u,t.done=!0,t};return r.next=r}}return{next:Y}}function Y(){return{value:u,done:!0}}return y.prototype=b.constructor=v,v.constructor=y,v[r]=y.displayName="GeneratorFunction",a.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},a.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,r in t||(t[r]="GeneratorFunction")),t.prototype=Object.create(b),t},a.awrap=function(t){return{__await:t}},S(k.prototype),k.prototype[n]=function(){return this},a.AsyncIterator=k,a.async=function(t,e,n,r){var i=new k(s(t,e,n,r));return a.isGeneratorFunction(e)?i:i.next().then(function(t){return t.done?t.value:i.next()})},S(b),b[r]="Generator",b[i]=function(){return this},b.toString=function(){return"[object Generator]"},a.keys=function(n){var r=[];for(var t in n)r.push(t);return r.reverse(),function t(){for(;r.length;){var e=r.pop();if(e in n)return t.value=e,t.done=!1,t}return t.done=!0,t}},a.values=T,O.prototype={constructor:O,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=u,this.done=!1,this.delegate=null,this.method="next",this.arg=u,this.tryEntries.forEach(M),!t)for(var e in this)"t"===e.charAt(0)&&l.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=u)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(n){if(this.done)throw n;var r=this;function t(t,e){return a.type="throw",a.arg=n,r.next=t,e&&(r.method="next",r.arg=u),!!e}for(var e=this.tryEntries.length-1;0<=e;--e){var i=this.tryEntries[e],a=i.completion;if("root"===i.tryLoc)return t("end");if(i.tryLoc<=this.prev){var s=l.call(i,"catchLoc"),o=l.call(i,"finallyLoc");if(s&&o){if(this.prev<i.catchLoc)return t(i.catchLoc,!0);if(this.prev<i.finallyLoc)return t(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return t(i.catchLoc,!0)}else{if(!o)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return t(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;0<=n;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&l.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),p},finish:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),M(n),p}},catch:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;M(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:T(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=u),p}},a}(t.exports);try{regeneratorRuntime=e}catch(t){Function("r","regeneratorRuntime = r")(e)}});var Ss=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t};var ks=function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}};var xs=function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)};var Ds=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")};var Ms=function(t){return ks(t)||xs(t)||Ds()},Os=ws(function(e){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t){return"function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?e.exports=r=function(t){return n(t)}:e.exports=r=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":n(t)},r(t)}e.exports=r});var Ts=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")};function Ys(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var Ps=function(t,e,n){return e&&Ys(t.prototype,e),n&&Ys(t,n),t};var Cs=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t};var Es=function(t,e){return!e||"object"!==Os(e)&&"function"!=typeof e?Cs(t):e},Ls=ws(function(e){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},n(t)}e.exports=n}),As=ws(function(n){function r(t,e){return n.exports=r=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},r(t,e)}n.exports=r});for(var Rs=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&As(t,e)},Ws=[],Is=0;Is<256;Is++)Ws[Is]=(Is+256).toString(16).substr(1);for(var Ns=function(){if("undefined"!=typeof crypto&&crypto.getRandomValues){var t=new Uint8Array(16);return function(){return crypto.getRandomValues(t),t}}var n=new Array(16);return function(){for(var t,e=0;e<16;e++)0==(3&e)&&(t=4294967296*Math.random()),n[e]=t>>>((3&e)<<3)&255;return n}}(),js=[],Fs=0;Fs<256;Fs++)js[Fs]=(Fs+256).toString(16).substr(1);var Vs=Ns();Vs[0],Vs[1],Vs[2],Vs[3],Vs[4],Vs[5],Vs[6],Vs[7];function zs(t,e,n){var r=0<arguments.length&&void 0!==t?t:{},i=1<arguments.length?e:void 0,a=i&&(2<arguments.length?n:void 0)||0;"string"==typeof r&&(i="binary"===r?new Array(16):void 0,r={});var s=r.random||(r.rng||Ns)();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,i)for(var o=0;o<16;o++)i[a+o]=s[o];return i||function(t,e){var n=e||0,r=Ws;return r[t[n++]]+r[t[n++]]+r[t[n++]]+r[t[n++]]+"-"+r[t[n++]]+r[t[n++]]+"-"+r[t[n++]]+r[t[n++]]+"-"+r[t[n++]]+r[t[n++]]+"-"+r[t[n++]]+r[t[n++]]+r[t[n++]]+r[t[n++]]+r[t[n++]]+r[t[n++]]}(s)}function Hs(t){return(Hs="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function Gs(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}for(var Us,Bs=(function(tr,t){tr.exports=function(){var e,i;function l(){return e.apply(null,arguments)}function s(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function o(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function a(t){return void 0===t}function u(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function h(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function r(t,e){var n,r=[];for(n=0;n<t.length;++n)r.push(e(t[n],n));return r}function c(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function d(t,e){for(var n in e)c(e,n)&&(t[n]=e[n]);return c(e,"toString")&&(t.toString=e.toString),c(e,"valueOf")&&(t.valueOf=e.valueOf),t}function f(t,e,n,r){return Ee(t,e,n,r,!0).utc()}function m(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),t._pf}function p(t){if(null==t._isValid){var e=m(t),n=i.call(e.parsedDateParts,function(t){return null!=t}),r=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(r=r&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return r;t._isValid=r}return t._isValid}function y(t){var e=f(NaN);return null!=t?d(m(e),t):m(e).userInvalidated=!0,e}i=Array.prototype.some?Array.prototype.some:function(t){for(var e=Object(this),n=e.length>>>0,r=0;r<n;r++)if(r in e&&t.call(this,e[r],r,e))return!0;return!1};var v=l.momentProperties=[];function g(t,e){var n,r,i;if(a(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),a(e._i)||(t._i=e._i),a(e._f)||(t._f=e._f),a(e._l)||(t._l=e._l),a(e._strict)||(t._strict=e._strict),a(e._tzm)||(t._tzm=e._tzm),a(e._isUTC)||(t._isUTC=e._isUTC),a(e._offset)||(t._offset=e._offset),a(e._pf)||(t._pf=m(e)),a(e._locale)||(t._locale=e._locale),0<v.length)for(n=0;n<v.length;n++)r=v[n],a(i=e[r])||(t[r]=i);return t}var n=!1;function _(t){g(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===n&&(n=!0,l.updateOffset(this),n=!1)}function w(t){return t instanceof _||null!=t&&null!=t._isAMomentObject}function b(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function S(t){var e=+t,n=0;return 0!=e&&isFinite(e)&&(n=b(e)),n}function k(t,e,n){var r,i=Math.min(t.length,e.length),a=Math.abs(t.length-e.length),s=0;for(r=0;r<i;r++)(n&&t[r]!==e[r]||!n&&S(t[r])!==S(e[r]))&&s++;return s+a}function x(t){!1===l.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function t(i,a){var s=!0;return d(function(){if(null!=l.deprecationHandler&&l.deprecationHandler(null,i),s){for(var t,e=[],n=0;n<arguments.length;n++){if(t="","object"==typeof arguments[n]){for(var r in t+="\n["+n+"] ",arguments[0])t+=r+": "+arguments[0][r]+", ";t=t.slice(0,-2)}else t=arguments[n];e.push(t)}x(i+"\nArguments: "+Array.prototype.slice.call(e).join("")+"\n"+(new Error).stack),s=!1}return a.apply(this,arguments)},a)}var D,M={};function O(t,e){null!=l.deprecationHandler&&l.deprecationHandler(t,e),M[t]||(x(e),M[t]=!0)}function T(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function Y(t,e){var n,r=d({},t);for(n in e)c(e,n)&&(o(t[n])&&o(e[n])?(r[n]={},d(r[n],t[n]),d(r[n],e[n])):null!=e[n]?r[n]=e[n]:delete r[n]);for(n in t)c(t,n)&&!c(e,n)&&o(t[n])&&(r[n]=d({},r[n]));return r}function P(t){null!=t&&this.set(t)}l.suppressDeprecationWarnings=!1,l.deprecationHandler=null,D=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)c(t,e)&&n.push(e);return n};var C={};function E(t,e){var n=t.toLowerCase();C[n]=C[n+"s"]=C[e]=t}function L(t){return"string"==typeof t?C[t]||C[t.toLowerCase()]:void 0}function A(t){var e,n,r={};for(n in t)c(t,n)&&(e=L(n))&&(r[e]=t[n]);return r}var R={};function W(t,e){R[t]=e}function I(t){var e=[];for(var n in t)e.push({unit:n,priority:R[n]});return e.sort(function(t,e){return t.priority-e.priority}),e}function N(t,e,n){var r=""+Math.abs(t),i=e-r.length,a=0<=t;return(a?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var j=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,F=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,V={},z={};function H(t,e,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),t&&(z[t]=i),e&&(z[e[0]]=function(){return N(i.apply(this,arguments),e[1],e[2])}),n&&(z[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function G(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function U(t,e){return t.isValid()?(e=B(e,t.localeData()),V[e]=V[e]||function(r){var t,i,a=r.match(j);for(t=0,i=a.length;t<i;t++)z[a[t]]?a[t]=z[a[t]]:a[t]=G(a[t]);return function(t){var e,n="";for(e=0;e<i;e++)n+=T(a[e])?a[e].call(t,r):a[e];return n}}(e),V[e](t)):t.localeData().invalidDate()}function B(t,e){var n=5;function r(t){return e.longDateFormat(t)||t}for(F.lastIndex=0;0<=n&&F.test(t);)t=t.replace(F,r),F.lastIndex=0,n-=1;return t}var Z=/\d/,X=/\d\d/,q=/\d{3}/,$=/\d{4}/,J=/[+-]?\d{6}/,Q=/\d\d?/,K=/\d\d\d\d?/,tt=/\d\d\d\d\d\d?/,et=/\d{1,3}/,nt=/\d{1,4}/,rt=/[+-]?\d{1,6}/,it=/\d+/,at=/[+-]?\d+/,st=/Z|[+-]\d\d:?\d\d/gi,ot=/Z|[+-]\d\d(?::?\d\d)?/gi,ut=/[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,lt={};function ht(t,n,r){lt[t]=T(n)?n:function(t,e){return t&&r?r:n}}function ct(t,e){return c(lt,t)?lt[t](e._strict,e._locale):new RegExp(function(t){return dt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,r,i){return e||n||r||i}))}(t))}function dt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var ft={};function mt(t,n){var e,r=n;for("string"==typeof t&&(t=[t]),u(n)&&(r=function(t,e){e[n]=S(t)}),e=0;e<t.length;e++)ft[t[e]]=r}function pt(t,i){mt(t,function(t,e,n,r){n._w=n._w||{},i(t,n._w,n,r)})}function yt(t,e,n){null!=e&&c(ft,t)&&ft[t](e,n._a,n,t)}var vt=0,gt=1,_t=2,wt=3,bt=4,St=5,kt=6,xt=7,Dt=8;function Mt(t){return Ot(t)?366:365}function Ot(t){return t%4==0&&t%100!=0||t%400==0}H("Y",0,0,function(){var t=this.year();return t<=9999?""+t:"+"+t}),H(0,["YY",2],0,function(){return this.year()%100}),H(0,["YYYY",4],0,"year"),H(0,["YYYYY",5],0,"year"),H(0,["YYYYYY",6,!0],0,"year"),E("year","y"),W("year",1),ht("Y",at),ht("YY",Q,X),ht("YYYY",nt,$),ht("YYYYY",rt,J),ht("YYYYYY",rt,J),mt(["YYYYY","YYYYYY"],vt),mt("YYYY",function(t,e){e[vt]=2===t.length?l.parseTwoDigitYear(t):S(t)}),mt("YY",function(t,e){e[vt]=l.parseTwoDigitYear(t)}),mt("Y",function(t,e){e[vt]=parseInt(t,10)}),l.parseTwoDigitYear=function(t){return S(t)+(68<S(t)?1900:2e3)};var Tt,Yt=Pt("FullYear",!0);function Pt(e,n){return function(t){return null!=t?(Et(this,e,t),l.updateOffset(this,n),this):Ct(this,e)}}function Ct(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function Et(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&Ot(t.year())&&1===t.month()&&29===t.date()?t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),Lt(n,t.month())):t._d["set"+(t._isUTC?"UTC":"")+e](n))}function Lt(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=function(t,e){return(t%e+e)%e}(e,12);return t+=(e-n)/12,1===n?Ot(t)?29:28:31-n%7%2}Tt=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},H("M",["MM",2],"Mo",function(){return this.month()+1}),H("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),H("MMMM",0,0,function(t){return this.localeData().months(this,t)}),E("month","M"),W("month",8),ht("M",Q),ht("MM",Q,X),ht("MMM",function(t,e){return e.monthsShortRegex(t)}),ht("MMMM",function(t,e){return e.monthsRegex(t)}),mt(["M","MM"],function(t,e){e[gt]=S(t)-1}),mt(["MMM","MMMM"],function(t,e,n,r){var i=n._locale.monthsParse(t,r,n._strict);null!=i?e[gt]=i:m(n).invalidMonth=t});var At=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Rt="January_February_March_April_May_June_July_August_September_October_November_December".split("_");var Wt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function It(t,e,n){var r,i,a,s=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=f([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===e?-1!==(i=Tt.call(this._shortMonthsParse,s))?i:null:-1!==(i=Tt.call(this._longMonthsParse,s))?i:null:"MMM"===e?-1!==(i=Tt.call(this._shortMonthsParse,s))?i:-1!==(i=Tt.call(this._longMonthsParse,s))?i:null:-1!==(i=Tt.call(this._longMonthsParse,s))?i:-1!==(i=Tt.call(this._shortMonthsParse,s))?i:null}function Nt(t,e){var n;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=S(e);else if(!u(e=t.localeData().monthsParse(e)))return t;return n=Math.min(t.date(),Lt(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function jt(t){return null!=t?(Nt(this,t),l.updateOffset(this,!0),this):Ct(this,"Month")}var Ft=ut;var Vt=ut;function zt(){function t(t,e){return e.length-t.length}var e,n,r=[],i=[],a=[];for(e=0;e<12;e++)n=f([2e3,e]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),a.push(this.months(n,"")),a.push(this.monthsShort(n,""));for(r.sort(t),i.sort(t),a.sort(t),e=0;e<12;e++)r[e]=dt(r[e]),i[e]=dt(i[e]);for(e=0;e<24;e++)a[e]=dt(a[e]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Ht(t){var e;if(t<100&&0<=t){var n=Array.prototype.slice.call(arguments);n[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)}else e=new Date(Date.UTC.apply(null,arguments));return e}function Gt(t,e,n){var r=7+e-n,i=(7+Ht(t,0,r).getUTCDay()-e)%7;return r-i-1}function Ut(t,e,n,r,i){var a,s,o=(7+n-r)%7,u=Gt(t,r,i),l=1+7*(e-1)+o+u;return s=l<=0?Mt(a=t-1)+l:l>Mt(t)?(a=t+1,l-Mt(t)):(a=t,l),{year:a,dayOfYear:s}}function Bt(t,e,n){var r,i,a=Gt(t.year(),e,n),s=Math.floor((t.dayOfYear()-a-1)/7)+1;return s<1?(i=t.year()-1,r=s+Zt(i,e,n)):s>Zt(t.year(),e,n)?(r=s-Zt(t.year(),e,n),i=t.year()+1):(i=t.year(),r=s),{week:r,year:i}}function Zt(t,e,n){var r=Gt(t,e,n),i=Gt(t+1,e,n);return(Mt(t)-r+i)/7}H("w",["ww",2],"wo","week"),H("W",["WW",2],"Wo","isoWeek"),E("week","w"),E("isoWeek","W"),W("week",5),W("isoWeek",5),ht("w",Q),ht("ww",Q,X),ht("W",Q),ht("WW",Q,X),pt(["w","ww","W","WW"],function(t,e,n,r){e[r.substr(0,1)]=S(t)});function Xt(t,e){return t.slice(e,7).concat(t.slice(0,e))}H("d",0,"do","day"),H("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),H("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),H("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),H("e",0,0,"weekday"),H("E",0,0,"isoWeekday"),E("day","d"),E("weekday","e"),E("isoWeekday","E"),W("day",11),W("weekday",11),W("isoWeekday",11),ht("d",Q),ht("e",Q),ht("E",Q),ht("dd",function(t,e){return e.weekdaysMinRegex(t)}),ht("ddd",function(t,e){return e.weekdaysShortRegex(t)}),ht("dddd",function(t,e){return e.weekdaysRegex(t)}),pt(["dd","ddd","dddd"],function(t,e,n,r){var i=n._locale.weekdaysParse(t,r,n._strict);null!=i?e.d=i:m(n).invalidWeekday=t}),pt(["d","e","E"],function(t,e,n,r){e[r]=S(t)});var qt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");var $t="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");var Jt="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function Qt(t,e,n){var r,i,a,s=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===e?-1!==(i=Tt.call(this._weekdaysParse,s))?i:null:"ddd"===e?-1!==(i=Tt.call(this._shortWeekdaysParse,s))?i:null:-1!==(i=Tt.call(this._minWeekdaysParse,s))?i:null:"dddd"===e?-1!==(i=Tt.call(this._weekdaysParse,s))?i:-1!==(i=Tt.call(this._shortWeekdaysParse,s))?i:-1!==(i=Tt.call(this._minWeekdaysParse,s))?i:null:"ddd"===e?-1!==(i=Tt.call(this._shortWeekdaysParse,s))?i:-1!==(i=Tt.call(this._weekdaysParse,s))?i:-1!==(i=Tt.call(this._minWeekdaysParse,s))?i:null:-1!==(i=Tt.call(this._minWeekdaysParse,s))?i:-1!==(i=Tt.call(this._weekdaysParse,s))?i:-1!==(i=Tt.call(this._shortWeekdaysParse,s))?i:null}var Kt=ut;var te=ut;var ee=ut;function ne(){function t(t,e){return e.length-t.length}var e,n,r,i,a,s=[],o=[],u=[],l=[];for(e=0;e<7;e++)n=f([2e3,1]).day(e),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),a=this.weekdays(n,""),s.push(r),o.push(i),u.push(a),l.push(r),l.push(i),l.push(a);for(s.sort(t),o.sort(t),u.sort(t),l.sort(t),e=0;e<7;e++)o[e]=dt(o[e]),u[e]=dt(u[e]),l[e]=dt(l[e]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+s.join("|")+")","i")}function re(){return this.hours()%12||12}function ie(t,e){H(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function ae(t,e){return e._meridiemParse}H("H",["HH",2],0,"hour"),H("h",["hh",2],0,re),H("k",["kk",2],0,function(){return this.hours()||24}),H("hmm",0,0,function(){return""+re.apply(this)+N(this.minutes(),2)}),H("hmmss",0,0,function(){return""+re.apply(this)+N(this.minutes(),2)+N(this.seconds(),2)}),H("Hmm",0,0,function(){return""+this.hours()+N(this.minutes(),2)}),H("Hmmss",0,0,function(){return""+this.hours()+N(this.minutes(),2)+N(this.seconds(),2)}),ie("a",!0),ie("A",!1),E("hour","h"),W("hour",13),ht("a",ae),ht("A",ae),ht("H",Q),ht("h",Q),ht("k",Q),ht("HH",Q,X),ht("hh",Q,X),ht("kk",Q,X),ht("hmm",K),ht("hmmss",tt),ht("Hmm",K),ht("Hmmss",tt),mt(["H","HH"],wt),mt(["k","kk"],function(t,e,n){var r=S(t);e[wt]=24===r?0:r}),mt(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),mt(["h","hh"],function(t,e,n){e[wt]=S(t),m(n).bigHour=!0}),mt("hmm",function(t,e,n){var r=t.length-2;e[wt]=S(t.substr(0,r)),e[bt]=S(t.substr(r)),m(n).bigHour=!0}),mt("hmmss",function(t,e,n){var r=t.length-4,i=t.length-2;e[wt]=S(t.substr(0,r)),e[bt]=S(t.substr(r,2)),e[St]=S(t.substr(i)),m(n).bigHour=!0}),mt("Hmm",function(t,e,n){var r=t.length-2;e[wt]=S(t.substr(0,r)),e[bt]=S(t.substr(r))}),mt("Hmmss",function(t,e,n){var r=t.length-4,i=t.length-2;e[wt]=S(t.substr(0,r)),e[bt]=S(t.substr(r,2)),e[St]=S(t.substr(i))});var se,oe=Pt("Hours",!0),ue={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{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"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Rt,monthsShort:Wt,week:{dow:0,doy:6},weekdays:qt,weekdaysMin:Jt,weekdaysShort:$t,meridiemParse:/[ap]\.?m?\.?/i},le={},he={};function ce(t){return t?t.toLowerCase().replace("_","-"):t}function de(t){var e=null;if(!le[t]&&tr&&tr.exports)try{e=se._abbr;var n=Gs;n("./locale/"+t),fe(e)}catch(t){}return le[t]}function fe(t,e){var n;return t&&((n=a(e)?pe(t):me(t,e))?se=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),se._abbr}function me(t,e){if(null===e)return delete le[t],null;var n,r=ue;if(e.abbr=t,null!=le[t])O("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=le[t]._config;else if(null!=e.parentLocale)if(null!=le[e.parentLocale])r=le[e.parentLocale]._config;else{if(null==(n=de(e.parentLocale)))return he[e.parentLocale]||(he[e.parentLocale]=[]),he[e.parentLocale].push({name:t,config:e}),null;r=n._config}return le[t]=new P(Y(r,e)),he[t]&&he[t].forEach(function(t){me(t.name,t.config)}),fe(t),le[t]}function pe(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return se;if(!s(t)){if(e=de(t))return e;t=[t]}return function(t){var e,n,r,i,a=0;for(;a<t.length;){for(i=ce(t[a]).split("-"),e=i.length,n=(n=ce(t[a+1]))?n.split("-"):null;0<e;){if(r=de(i.slice(0,e).join("-")))return r;if(n&&n.length>=e&&k(i,n,!0)>=e-1)break;e--}a++}return se}(t)}function ye(t){var e,n=t._a;return n&&-2===m(t).overflow&&(e=n[gt]<0||11<n[gt]?gt:n[_t]<1||n[_t]>Lt(n[vt],n[gt])?_t:n[wt]<0||24<n[wt]||24===n[wt]&&(0!==n[bt]||0!==n[St]||0!==n[kt])?wt:n[bt]<0||59<n[bt]?bt:n[St]<0||59<n[St]?St:n[kt]<0||999<n[kt]?kt:-1,m(t)._overflowDayOfYear&&(e<vt||_t<e)&&(e=_t),m(t)._overflowWeeks&&-1===e&&(e=xt),m(t)._overflowWeekday&&-1===e&&(e=Dt),m(t).overflow=e),t}function ve(t,e,n){return null!=t?t:null!=e?e:n}function ge(t){var e,n,r,i,a,s=[];if(!t._d){for(r=function(t){var e=new Date(l.now());if(t._useUTC)return[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()];return[e.getFullYear(),e.getMonth(),e.getDate()]}(t),t._w&&null==t._a[_t]&&null==t._a[gt]&&function(t){var e,n,r,i,a,s,o,u;if(null!=(e=t._w).GG||null!=e.W||null!=e.E)a=1,s=4,n=ve(e.GG,t._a[vt],Bt(Le(),1,4).year),r=ve(e.W,1),((i=ve(e.E,1))<1||7<i)&&(u=!0);else{a=t._locale._week.dow,s=t._locale._week.doy;var l=Bt(Le(),a,s);n=ve(e.gg,t._a[vt],l.year),r=ve(e.w,l.week),null!=e.d?((i=e.d)<0||6<i)&&(u=!0):null!=e.e?(i=e.e+a,(e.e<0||6<e.e)&&(u=!0)):i=a}r<1||r>Zt(n,a,s)?m(t)._overflowWeeks=!0:null!=u?m(t)._overflowWeekday=!0:(o=Ut(n,r,i,a,s),t._a[vt]=o.year,t._dayOfYear=o.dayOfYear)}(t),null!=t._dayOfYear&&(a=ve(t._a[vt],r[vt]),(t._dayOfYear>Mt(a)||0===t._dayOfYear)&&(m(t)._overflowDayOfYear=!0),n=Ht(a,0,t._dayOfYear),t._a[gt]=n.getUTCMonth(),t._a[_t]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=s[e]=r[e];for(;e<7;e++)t._a[e]=s[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[wt]&&0===t._a[bt]&&0===t._a[St]&&0===t._a[kt]&&(t._nextDay=!0,t._a[wt]=0),t._d=(t._useUTC?Ht:function(t,e,n,r,i,a,s){var o;t<100&&0<=t?(o=new Date(t+400,e,n,r,i,a,s),isFinite(o.getFullYear())&&o.setFullYear(t)):o=new Date(t,e,n,r,i,a,s);return o}).apply(null,s),i=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[wt]=24),t._w&&void 0!==t._w.d&&t._w.d!==i&&(m(t).weekdayMismatch=!0)}}var _e=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,we=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,be=/Z|[+-]\d\d(?::?\d\d)?/,Se=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],ke=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],xe=/^\/?Date\((\-?\d+)/i;function De(t){var e,n,r,i,a,s,o=t._i,u=_e.exec(o)||we.exec(o);if(u){for(m(t).iso=!0,e=0,n=Se.length;e<n;e++)if(Se[e][1].exec(u[1])){i=Se[e][0],r=!1!==Se[e][2];break}if(null==i)return void(t._isValid=!1);if(u[3]){for(e=0,n=ke.length;e<n;e++)if(ke[e][1].exec(u[3])){a=(u[2]||" ")+ke[e][0];break}if(null==a)return void(t._isValid=!1)}if(!r&&null!=a)return void(t._isValid=!1);if(u[4]){if(!be.exec(u[4]))return void(t._isValid=!1);s="Z"}t._f=i+(a||"")+(s||""),Pe(t)}else t._isValid=!1}var Me=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;function Oe(t,e,n,r,i,a){var s=[function(t){var e=parseInt(t,10);{if(e<=49)return 2e3+e;if(e<=999)return 1900+e}return e}(t),Wt.indexOf(e),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return a&&s.push(parseInt(a,10)),s}var Te={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Ye(t){var e=Me.exec(function(t){return t.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}(t._i));if(e){var n=Oe(e[4],e[3],e[2],e[5],e[6],e[7]);if(!function(t,e,n){if(t){var r=$t.indexOf(t),i=new Date(e[0],e[1],e[2]).getDay();if(r!==i)return m(n).weekdayMismatch=!0,n._isValid=!1}return!0}(e[1],n,t))return;t._a=n,t._tzm=function(t,e,n){{if(t)return Te[t];if(e)return 0;var r=parseInt(n,10),i=r%100;return 60*((r-i)/100)+i}}(e[8],e[9],e[10]),t._d=Ht.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),m(t).rfc2822=!0}else t._isValid=!1}function Pe(t){if(t._f!==l.ISO_8601)if(t._f!==l.RFC_2822){t._a=[],m(t).empty=!0;var e,n,r,i,a,s=""+t._i,o=s.length,u=0;for(r=B(t._f,t._locale).match(j)||[],e=0;e<r.length;e++)i=r[e],(n=(s.match(ct(i,t))||[])[0])&&(0<(a=s.substr(0,s.indexOf(n))).length&&m(t).unusedInput.push(a),s=s.slice(s.indexOf(n)+n.length),u+=n.length),z[i]?(n?m(t).empty=!1:m(t).unusedTokens.push(i),yt(i,n,t)):t._strict&&!n&&m(t).unusedTokens.push(i);m(t).charsLeftOver=o-u,0<s.length&&m(t).unusedInput.push(s),t._a[wt]<=12&&!0===m(t).bigHour&&0<t._a[wt]&&(m(t).bigHour=void 0),m(t).parsedDateParts=t._a.slice(0),m(t).meridiem=t._meridiem,t._a[wt]=function(t,e,n){var r;if(null==n)return e;return null!=t.meridiemHour?t.meridiemHour(e,n):(null!=t.isPM&&((r=t.isPM(n))&&e<12&&(e+=12),r||12!==e||(e=0)),e)}(t._locale,t._a[wt],t._meridiem),ge(t),ye(t)}else Ye(t);else De(t)}function Ce(t){var e=t._i,n=t._f;return t._locale=t._locale||pe(t._l),null===e||void 0===n&&""===e?y({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),w(e)?new _(ye(e)):(h(e)?t._d=e:s(n)?function(t){var e,n,r,i,a;if(0===t._f.length)return m(t).invalidFormat=!0,t._d=new Date(NaN);for(i=0;i<t._f.length;i++)a=0,e=g({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[i],Pe(e),p(e)&&(a+=m(e).charsLeftOver,a+=10*m(e).unusedTokens.length,m(e).score=a,(null==r||a<r)&&(r=a,n=e));d(t,n||e)}(t):n?Pe(t):function(t){var e=t._i;a(e)?t._d=new Date(l.now()):h(e)?t._d=new Date(e.valueOf()):"string"==typeof e?function(t){var e=xe.exec(t._i);if(null!==e)return t._d=new Date(+e[1]);{if(De(t),!1!==t._isValid)return;delete t._isValid}{if(Ye(t),!1!==t._isValid)return;delete t._isValid}l.createFromInputFallback(t)}(t):s(e)?(t._a=r(e.slice(0),function(t){return parseInt(t,10)}),ge(t)):o(e)?function(t){if(t._d)return;var e=A(t._i);t._a=r([e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],function(t){return t&&parseInt(t,10)}),ge(t)}(t):u(e)?t._d=new Date(e):l.createFromInputFallback(t)}(t),p(t)||(t._d=null),t))}function Ee(t,e,n,r,i){var a={};return!0!==n&&!1!==n||(r=n,n=void 0),(o(t)&&function(t){{if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(t.hasOwnProperty(e))return!1;return!0}}(t)||s(t)&&0===t.length)&&(t=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=i,a._l=n,a._i=t,a._f=e,a._strict=r,function(t){var e=new _(ye(Ce(t)));e._nextDay&&(e.add(1,"d"),e._nextDay=void 0);return e}(a)}function Le(t,e,n,r){return Ee(t,e,n,r,!1)}l.createFromInputFallback=t("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),l.ISO_8601=function(){},l.RFC_2822=function(){};var Ae=t("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Le.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:y()}),Re=t("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Le.apply(null,arguments);return this.isValid()&&t.isValid()?this<t?this:t:y()});function We(t,e){var n,r;if(1===e.length&&s(e[0])&&(e=e[0]),!e.length)return Le();for(n=e[0],r=1;r<e.length;++r)e[r].isValid()&&!e[r][t](n)||(n=e[r]);return n}var Ie=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ne(t){var e=A(t),n=e.year||0,r=e.quarter||0,i=e.month||0,a=e.week||e.isoWeek||0,s=e.day||0,o=e.hour||0,u=e.minute||0,l=e.second||0,h=e.millisecond||0;this._isValid=function(t){for(var e in t)if(-1===Tt.call(Ie,e)||null!=t[e]&&isNaN(t[e]))return!1;for(var n=!1,r=0;r<Ie.length;++r)if(t[Ie[r]]){if(n)return!1;parseFloat(t[Ie[r]])!==S(t[Ie[r]])&&(n=!0)}return!0}(e),this._milliseconds=+h+1e3*l+6e4*u+1e3*o*60*60,this._days=+s+7*a,this._months=+i+3*r+12*n,this._data={},this._locale=pe(),this._bubble()}function je(t){return t instanceof Ne}function Fe(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Ve(t,n){H(t,0,0,function(){var t=this.utcOffset(),e="+";return t<0&&(t=-t,e="-"),e+N(~~(t/60),2)+n+N(~~t%60,2)})}Ve("Z",":"),Ve("ZZ",""),ht("Z",ot),ht("ZZ",ot),mt(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=He(ot,t)});var ze=/([\+\-]|\d\d)/gi;function He(t,e){var n=(e||"").match(t);if(null===n)return null;var r=n[n.length-1]||[],i=(r+"").match(ze)||["-",0,0],a=60*i[1]+S(i[2]);return 0===a?0:"+"===i[0]?a:-a}function Ge(t,e){var n,r;return e._isUTC?(n=e.clone(),r=(w(t)||h(t)?t.valueOf():Le(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),l.updateOffset(n,!1),n):Le(t).local()}function Ue(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function Be(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}l.updateOffset=function(){};var Ze=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Xe=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function qe(t,e){var n,r,i,a=t,s=null;return je(t)?a={ms:t._milliseconds,d:t._days,M:t._months}:u(t)?(a={},e?a[e]=t:a.milliseconds=t):(s=Ze.exec(t))?(n="-"===s[1]?-1:1,a={y:0,d:S(s[_t])*n,h:S(s[wt])*n,m:S(s[bt])*n,s:S(s[St])*n,ms:S(Fe(1e3*s[kt]))*n}):(s=Xe.exec(t))?(n="-"===s[1]?-1:1,a={y:$e(s[2],n),M:$e(s[3],n),w:$e(s[4],n),d:$e(s[5],n),h:$e(s[6],n),m:$e(s[7],n),s:$e(s[8],n)}):null==a?a={}:"object"==typeof a&&("from"in a||"to"in a)&&(i=function(t,e){var n;if(!t.isValid()||!e.isValid())return{milliseconds:0,months:0};e=Ge(e,t),t.isBefore(e)?n=Je(t,e):((n=Je(e,t)).milliseconds=-n.milliseconds,n.months=-n.months);return n}(Le(a.from),Le(a.to)),(a={}).ms=i.milliseconds,a.M=i.months),r=new Ne(a),je(t)&&c(t,"_locale")&&(r._locale=t._locale),r}function $e(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Je(t,e){var n={};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function Qe(r,i){return function(t,e){var n;return null===e||isNaN(+e)||(O(i,"moment()."+i+"(period, number) is deprecated. Please use moment()."+i+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=t,t=e,e=n),Ke(this,qe(t="string"==typeof t?+t:t,e),r),this}}function Ke(t,e,n,r){var i=e._milliseconds,a=Fe(e._days),s=Fe(e._months);t.isValid()&&(r=null==r||r,s&&Nt(t,Ct(t,"Month")+s*n),a&&Et(t,"Date",Ct(t,"Date")+a*n),i&&t._d.setTime(t._d.valueOf()+i*n),r&&l.updateOffset(t,a||s))}qe.fn=Ne.prototype,qe.invalid=function(){return qe(NaN)};var tn=Qe(1,"add"),en=Qe(-1,"subtract");function nn(t,e){var n,r,i=12*(e.year()-t.year())+(e.month()-t.month()),a=t.clone().add(i,"months");return r=e-a<0?(n=t.clone().add(i-1,"months"),(e-a)/(a-n)):(n=t.clone().add(1+i,"months"),(e-a)/(n-a)),-(i+r)||0}function rn(t){var e;return void 0===t?this._locale._abbr:(null!=(e=pe(t))&&(this._locale=e),this)}l.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",l.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var an=t("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});function sn(){return this._locale}var on=126227808e5;function un(t,e){return(t%e+e)%e}function ln(t,e,n){return t<100&&0<=t?new Date(t+400,e,n)-on:new Date(t,e,n).valueOf()}function hn(t,e,n){return t<100&&0<=t?Date.UTC(t+400,e,n)-on:Date.UTC(t,e,n)}function cn(t,e){H(0,[t,t.length],0,e)}function dn(t,e,n,r,i){var a;return null==t?Bt(this,r,i).year:((a=Zt(t,r,i))<e&&(e=a),function(t,e,n,r,i){var a=Ut(t,e,n,r,i),s=Ht(a.year,0,a.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}.call(this,t,e,n,r,i))}H(0,["gg",2],0,function(){return this.weekYear()%100}),H(0,["GG",2],0,function(){return this.isoWeekYear()%100}),cn("gggg","weekYear"),cn("ggggg","weekYear"),cn("GGGG","isoWeekYear"),cn("GGGGG","isoWeekYear"),E("weekYear","gg"),E("isoWeekYear","GG"),W("weekYear",1),W("isoWeekYear",1),ht("G",at),ht("g",at),ht("GG",Q,X),ht("gg",Q,X),ht("GGGG",nt,$),ht("gggg",nt,$),ht("GGGGG",rt,J),ht("ggggg",rt,J),pt(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,r){e[r.substr(0,2)]=S(t)}),pt(["gg","GG"],function(t,e,n,r){e[r]=l.parseTwoDigitYear(t)}),H("Q",0,"Qo","quarter"),E("quarter","Q"),W("quarter",7),ht("Q",Z),mt("Q",function(t,e){e[gt]=3*(S(t)-1)}),H("D",["DD",2],"Do","date"),E("date","D"),W("date",9),ht("D",Q),ht("DD",Q,X),ht("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),mt(["D","DD"],_t),mt("Do",function(t,e){e[_t]=S(t.match(Q)[0])});var fn=Pt("Date",!0);H("DDD",["DDDD",3],"DDDo","dayOfYear"),E("dayOfYear","DDD"),W("dayOfYear",4),ht("DDD",et),ht("DDDD",q),mt(["DDD","DDDD"],function(t,e,n){n._dayOfYear=S(t)}),H("m",["mm",2],0,"minute"),E("minute","m"),W("minute",14),ht("m",Q),ht("mm",Q,X),mt(["m","mm"],bt);var mn=Pt("Minutes",!1);H("s",["ss",2],0,"second"),E("second","s"),W("second",15),ht("s",Q),ht("ss",Q,X),mt(["s","ss"],St);var pn,yn=Pt("Seconds",!1);for(H("S",0,0,function(){return~~(this.millisecond()/100)}),H(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),H(0,["SSS",3],0,"millisecond"),H(0,["SSSS",4],0,function(){return 10*this.millisecond()}),H(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),H(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),H(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),H(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),H(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),E("millisecond","ms"),W("millisecond",16),ht("S",et,Z),ht("SS",et,X),ht("SSS",et,q),pn="SSSS";pn.length<=9;pn+="S")ht(pn,it);function vn(t,e){e[kt]=S(1e3*("0."+t))}for(pn="S";pn.length<=9;pn+="S")mt(pn,vn);var gn=Pt("Milliseconds",!1);H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var _n=_.prototype;function wn(t){return t}_n.add=tn,_n.calendar=function(t,e){var n=t||Le(),r=Ge(n,this).startOf("day"),i=l.calendarFormat(this,r)||"sameElse",a=e&&(T(e[i])?e[i].call(this,n):e[i]);return this.format(a||this.localeData().calendar(i,this,Le(n)))},_n.clone=function(){return new _(this)},_n.diff=function(t,e,n){var r,i,a;if(!this.isValid())return NaN;if(!(r=Ge(t,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),e=L(e)){case"year":a=nn(this,r)/12;break;case"month":a=nn(this,r);break;case"quarter":a=nn(this,r)/3;break;case"second":a=(this-r)/1e3;break;case"minute":a=(this-r)/6e4;break;case"hour":a=(this-r)/36e5;break;case"day":a=(this-r-i)/864e5;break;case"week":a=(this-r-i)/6048e5;break;default:a=this-r}return n?a:b(a)},_n.endOf=function(t){var e;if(void 0===(t=L(t))||"millisecond"===t||!this.isValid())return this;var n=this._isUTC?hn:ln;switch(t){case"year":e=n(this.year()+1,0,1)-1;break;case"quarter":e=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=n(this.year(),this.month()+1,1)-1;break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=36e5-un(e+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":e=this._d.valueOf(),e+=6e4-un(e,6e4)-1;break;case"second":e=this._d.valueOf(),e+=1e3-un(e,1e3)-1}return this._d.setTime(e),l.updateOffset(this,!0),this},_n.format=function(t){t=t||(this.isUtc()?l.defaultFormatUtc:l.defaultFormat);var e=U(this,t);return this.localeData().postformat(e)},_n.from=function(t,e){return this.isValid()&&(w(t)&&t.isValid()||Le(t).isValid())?qe({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},_n.fromNow=function(t){return this.from(Le(),t)},_n.to=function(t,e){return this.isValid()&&(w(t)&&t.isValid()||Le(t).isValid())?qe({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},_n.toNow=function(t){return this.to(Le(),t)},_n.get=function(t){if(T(this[t=L(t)]))return this[t]();return this},_n.invalidAt=function(){return m(this).overflow},_n.isAfter=function(t,e){var n=w(t)?t:Le(t);if(!this.isValid()||!n.isValid())return!1;return"millisecond"===(e=L(e)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf()},_n.isBefore=function(t,e){var n=w(t)?t:Le(t);if(!this.isValid()||!n.isValid())return!1;return"millisecond"===(e=L(e)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf()},_n.isBetween=function(t,e,n,r){var i=w(t)?t:Le(t),a=w(e)?e:Le(e);return!!(this.isValid()&&i.isValid()&&a.isValid())&&(("("===(r=r||"()")[0]?this.isAfter(i,n):!this.isBefore(i,n))&&(")"===r[1]?this.isBefore(a,n):!this.isAfter(a,n)))},_n.isSame=function(t,e){var n,r=w(t)?t:Le(t);if(!this.isValid()||!r.isValid())return!1;return"millisecond"===(e=L(e)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf())},_n.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},_n.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},_n.isValid=function(){return p(this)},_n.lang=an,_n.locale=rn,_n.localeData=sn,_n.max=Re,_n.min=Ae,_n.parsingFlags=function(){return d({},m(this))},_n.set=function(t,e){if("object"==typeof t)for(var n=I(t=A(t)),r=0;r<n.length;r++)this[n[r].unit](t[n[r].unit]);else if(T(this[t=L(t)]))return this[t](e);return this},_n.startOf=function(t){var e;if(void 0===(t=L(t))||"millisecond"===t||!this.isValid())return this;var n=this._isUTC?hn:ln;switch(t){case"year":e=n(this.year(),0,1);break;case"quarter":e=n(this.year(),this.month()-this.month()%3,1);break;case"month":e=n(this.year(),this.month(),1);break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=n(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=un(e+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":e=this._d.valueOf(),e-=un(e,6e4);break;case"second":e=this._d.valueOf(),e-=un(e,1e3)}return this._d.setTime(e),l.updateOffset(this,!0),this},_n.subtract=en,_n.toArray=function(){return[this.year(),this.month(),this.date(),this.hour(),this.minute(),this.second(),this.millisecond()]},_n.toObject=function(){return{years:this.year(),months:this.month(),date:this.date(),hours:this.hours(),minutes:this.minutes(),seconds:this.seconds(),milliseconds:this.milliseconds()}},_n.toDate=function(){return new Date(this.valueOf())},_n.toISOString=function(t){if(!this.isValid())return null;var e=!0!==t,n=e?this.clone().utc():this;if(n.year()<0||9999<n.year())return U(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ");if(T(Date.prototype.toISOString))return e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",U(n,"Z"));return U(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},_n.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="";this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z");var n="["+t+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i=e+'[")]';return this.format(n+r+"-MM-DD[T]HH:mm:ss.SSS"+i)},_n.toJSON=function(){return this.isValid()?this.toISOString():null},_n.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},_n.unix=function(){return Math.floor(this.valueOf()/1e3)},_n.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},_n.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},_n.year=Yt,_n.isLeapYear=function(){return Ot(this.year())},_n.weekYear=function(t){return dn.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},_n.isoWeekYear=function(t){return dn.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},_n.quarter=_n.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},_n.month=jt,_n.daysInMonth=function(){return Lt(this.year(),this.month())},_n.week=_n.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},_n.isoWeek=_n.isoWeeks=function(t){var e=Bt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},_n.weeksInYear=function(){var t=this.localeData()._week;return Zt(this.year(),t.dow,t.doy)},_n.isoWeeksInYear=function(){return Zt(this.year(),1,4)},_n.date=fn,_n.day=_n.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(n=t,r=this.localeData(),t="string"==typeof n?isNaN(n)?"number"!=typeof(n=r.weekdaysParse(n))?null:n:parseInt(n,10):n,this.add(t-e,"d")):e;var n,r},_n.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},_n.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;{if(null==t)return this.day()||7;var e=(n=t,r=this.localeData(),"string"!=typeof n?isNaN(n)?null:n:r.weekdaysParse(n)%7||7);return this.day(this.day()%7?e:e-7)}var n,r},_n.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},_n.hour=_n.hours=oe,_n.minute=_n.minutes=mn,_n.second=_n.seconds=yn,_n.millisecond=_n.milliseconds=gn,_n.utcOffset=function(t,e,n){var r,i=this._offset||0;if(!this.isValid())return null!=t?this:NaN;{if(null==t)return this._isUTC?i:Ue(this);if("string"==typeof t){if(null===(t=He(ot,t)))return this}else Math.abs(t)<16&&!n&&(t*=60);return!this._isUTC&&e&&(r=Ue(this)),this._offset=t,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==t&&(!e||this._changeInProgress?Ke(this,qe(t-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,l.updateOffset(this,!0),this._changeInProgress=null)),this}},_n.utc=function(t){return this.utcOffset(0,t)},_n.local=function(t){this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Ue(this),"m"));return this},_n.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=He(st,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},_n.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?Le(t).utcOffset():0,(this.utcOffset()-t)%60==0)},_n.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},_n.isLocal=function(){return!!this.isValid()&&!this._isUTC},_n.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},_n.isUtc=Be,_n.isUTC=Be,_n.zoneAbbr=function(){return this._isUTC?"UTC":""},_n.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},_n.dates=t("dates accessor is deprecated. Use date instead.",fn),_n.months=t("months accessor is deprecated. Use month instead",jt),_n.years=t("years accessor is deprecated. Use year instead",Yt),_n.zone=t("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}),_n.isDSTShifted=t("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var t={};if(g(t,this),(t=Ce(t))._a){var e=t._isUTC?f(t._a):Le(t._a);this._isDSTShifted=this.isValid()&&0<k(t._a,e.toArray())}else this._isDSTShifted=!1;return this._isDSTShifted});var bn=P.prototype;function Sn(t,e,n,r){var i=pe(),a=f().set(r,e);return i[n](a,t)}function kn(t,e,n){if(u(t)&&(e=t,t=void 0),t=t||"",null!=e)return Sn(t,e,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Sn(t,r,n,"month");return i}function xn(t,e,n,r){e=("boolean"==typeof t?u(e)&&(n=e,e=void 0):(e=t,t=!1,u(n=e)&&(n=e,e=void 0)),e||"");var i,a=pe(),s=t?a._week.dow:0;if(null!=n)return Sn(e,(n+s)%7,r,"day");var o=[];for(i=0;i<7;i++)o[i]=Sn(e,(i+s)%7,r,"day");return o}bn.calendar=function(t,e,n){var r=this._calendar[t]||this._calendar.sameElse;return T(r)?r.call(e,n):r},bn.longDateFormat=function(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return!e&&n?(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t]):e},bn.invalidDate=function(){return this._invalidDate},bn.ordinal=function(t){return this._ordinal.replace("%d",t)},bn.preparse=wn,bn.postformat=wn,bn.relativeTime=function(t,e,n,r){var i=this._relativeTime[n];return T(i)?i(t,e,n,r):i.replace(/%d/i,t)},bn.pastFuture=function(t,e){var n=this._relativeTime[0<t?"future":"past"];return T(n)?n(e):n.replace(/%s/i,e)},bn.set=function(t){var e,n;for(n in t)T(e=t[n])?this[n]=e:this["_"+n]=e;this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},bn.months=function(t,e){return t?s(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||At).test(e)?"format":"standalone"][t.month()]:s(this._months)?this._months:this._months.standalone},bn.monthsShort=function(t,e){return t?s(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[At.test(e)?"format":"standalone"][t.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},bn.monthsParse=function(t,e,n){var r,i,a;if(this._monthsParseExact)return It.call(this,t,e,n);this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]);for(r=0;r<12;r++){if(i=f([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(a="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[r].test(t))return r;if(n&&"MMM"===e&&this._shortMonthsParse[r].test(t))return r;if(!n&&this._monthsParse[r].test(t))return r}},bn.monthsRegex=function(t){return this._monthsParseExact?(c(this,"_monthsRegex")||zt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=Vt),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},bn.monthsShortRegex=function(t){return this._monthsParseExact?(c(this,"_monthsRegex")||zt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=Ft),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},bn.week=function(t){return Bt(t,this._week.dow,this._week.doy).week},bn.firstDayOfYear=function(){return this._week.doy},bn.firstDayOfWeek=function(){return this._week.dow},bn.weekdays=function(t,e){var n=s(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Xt(n,this._week.dow):t?n[t.day()]:n},bn.weekdaysMin=function(t){return!0===t?Xt(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},bn.weekdaysShort=function(t){return!0===t?Xt(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},bn.weekdaysParse=function(t,e,n){var r,i,a;if(this._weekdaysParseExact)return Qt.call(this,t,e,n);this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]);for(r=0;r<7;r++){if(i=f([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(a="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[r].test(t))return r;if(n&&"ddd"===e&&this._shortWeekdaysParse[r].test(t))return r;if(n&&"dd"===e&&this._minWeekdaysParse[r].test(t))return r;if(!n&&this._weekdaysParse[r].test(t))return r}},bn.weekdaysRegex=function(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||ne.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=Kt),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},bn.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||ne.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=te),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},bn.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||ne.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ee),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},bn.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},bn.meridiem=function(t,e,n){return 11<t?n?"pm":"PM":n?"am":"AM"},fe("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,n=1===S(t%100/10)?"th":1==e?"st":2==e?"nd":3==e?"rd":"th";return t+n}}),l.lang=t("moment.lang is deprecated. Use moment.locale instead.",fe),l.langData=t("moment.langData is deprecated. Use moment.localeData instead.",pe);var Dn=Math.abs;function Mn(t,e,n,r){var i=qe(e,n);return t._milliseconds+=r*i._milliseconds,t._days+=r*i._days,t._months+=r*i._months,t._bubble()}function On(t){return t<0?Math.floor(t):Math.ceil(t)}function Tn(t){return 4800*t/146097}function Yn(t){return 146097*t/4800}function Pn(t){return function(){return this.as(t)}}var Cn=Pn("ms"),En=Pn("s"),Ln=Pn("m"),An=Pn("h"),Rn=Pn("d"),Wn=Pn("w"),In=Pn("M"),Nn=Pn("Q"),jn=Pn("y");function Fn(t){return function(){return this.isValid()?this._data[t]:NaN}}var Vn=Fn("milliseconds"),zn=Fn("seconds"),Hn=Fn("minutes"),Gn=Fn("hours"),Un=Fn("days"),Bn=Fn("months"),Zn=Fn("years");var Xn=Math.round,qn={ss:44,s:45,m:45,h:22,d:26,M:11};var $n=Math.abs;function Jn(t){return(0<t)-(t<0)||+t}function Qn(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n=$n(this._milliseconds)/1e3,r=$n(this._days),i=$n(this._months);t=b(n/60),e=b(t/60),n%=60,t%=60;var a=b(i/12),s=i%=12,o=r,u=e,l=t,h=n?n.toFixed(3).replace(/\.?0+$/,""):"",c=this.asSeconds();if(!c)return"P0D";var d=c<0?"-":"",f=Jn(this._months)!==Jn(c)?"-":"",m=Jn(this._days)!==Jn(c)?"-":"",p=Jn(this._milliseconds)!==Jn(c)?"-":"";return d+"P"+(a?f+a+"Y":"")+(s?f+s+"M":"")+(o?m+o+"D":"")+(u||l||h?"T":"")+(u?p+u+"H":"")+(l?p+l+"M":"")+(h?p+h+"S":"")}var Kn=Ne.prototype;return Kn.isValid=function(){return this._isValid},Kn.abs=function(){var t=this._data;return this._milliseconds=Dn(this._milliseconds),this._days=Dn(this._days),this._months=Dn(this._months),t.milliseconds=Dn(t.milliseconds),t.seconds=Dn(t.seconds),t.minutes=Dn(t.minutes),t.hours=Dn(t.hours),t.months=Dn(t.months),t.years=Dn(t.years),this},Kn.add=function(t,e){return Mn(this,t,e,1)},Kn.subtract=function(t,e){return Mn(this,t,e,-1)},Kn.as=function(t){if(!this.isValid())return NaN;var e,n,r=this._milliseconds;if("month"===(t=L(t))||"quarter"===t||"year"===t)switch(e=this._days+r/864e5,n=this._months+Tn(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(Yn(this._months)),t){case"week":return e/7+r/6048e5;case"day":return e+r/864e5;case"hour":return 24*e+r/36e5;case"minute":return 1440*e+r/6e4;case"second":return 86400*e+r/1e3;case"millisecond":return Math.floor(864e5*e)+r;default:throw new Error("Unknown unit "+t)}},Kn.asMilliseconds=Cn,Kn.asSeconds=En,Kn.asMinutes=Ln,Kn.asHours=An,Kn.asDays=Rn,Kn.asWeeks=Wn,Kn.asMonths=In,Kn.asQuarters=Nn,Kn.asYears=jn,Kn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*S(this._months/12):NaN},Kn._bubble=function(){var t,e,n,r,i,a=this._milliseconds,s=this._days,o=this._months,u=this._data;return 0<=a&&0<=s&&0<=o||a<=0&&s<=0&&o<=0||(a+=864e5*On(Yn(o)+s),o=s=0),u.milliseconds=a%1e3,t=b(a/1e3),u.seconds=t%60,e=b(t/60),u.minutes=e%60,n=b(e/60),u.hours=n%24,s+=b(n/24),i=b(Tn(s)),o+=i,s-=On(Yn(i)),r=b(o/12),o%=12,u.days=s,u.months=o,u.years=r,this},Kn.clone=function(){return qe(this)},Kn.get=function(t){return t=L(t),this.isValid()?this[t+"s"]():NaN},Kn.milliseconds=Vn,Kn.seconds=zn,Kn.minutes=Hn,Kn.hours=Gn,Kn.days=Un,Kn.weeks=function(){return b(this.days()/7)},Kn.months=Bn,Kn.years=Zn,Kn.humanize=function(t){if(!this.isValid())return this.localeData().invalidDate();var e=this.localeData(),n=function(t,e,n){var r=qe(t).abs(),i=Xn(r.as("s")),a=Xn(r.as("m")),s=Xn(r.as("h")),o=Xn(r.as("d")),u=Xn(r.as("M")),l=Xn(r.as("y")),h=i<=qn.ss&&["s",i]||i<qn.s&&["ss",i]||a<=1&&["m"]||a<qn.m&&["mm",a]||s<=1&&["h"]||s<qn.h&&["hh",s]||o<=1&&["d"]||o<qn.d&&["dd",o]||u<=1&&["M"]||u<qn.M&&["MM",u]||l<=1&&["y"]||["yy",l];return h[2]=e,h[3]=0<+t,h[4]=n,function(t,e,n,r,i){return i.relativeTime(e||1,!!n,t,r)}.apply(null,h)}(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)},Kn.toISOString=Qn,Kn.toString=Qn,Kn.toJSON=Qn,Kn.locale=rn,Kn.localeData=sn,Kn.toIsoString=t("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Qn),Kn.lang=an,H("X",0,0,"unix"),H("x",0,0,"valueOf"),ht("x",at),ht("X",/[+-]?\d+(\.\d{1,3})?/),mt("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))}),mt("x",function(t,e,n){n._d=new Date(S(t))}),l.version="2.24.0",function(t){e=t}(Le),l.fn=_n,l.min=function(){return We("isBefore",[].slice.call(arguments,0))},l.max=function(){return We("isAfter",[].slice.call(arguments,0))},l.now=function(){return Date.now?Date.now():+new Date},l.utc=f,l.unix=function(t){return Le(1e3*t)},l.months=function(t,e){return kn(t,e,"months")},l.isDate=h,l.locale=fe,l.invalid=y,l.duration=qe,l.isMoment=w,l.weekdays=function(t,e,n){return xn(t,e,n,"weekdays")},l.parseZone=function(){return Le.apply(null,arguments).parseZone()},l.localeData=pe,l.isDuration=je,l.monthsShort=function(t,e){return kn(t,e,"monthsShort")},l.weekdaysMin=function(t,e,n){return xn(t,e,n,"weekdaysMin")},l.defineLocale=me,l.updateLocale=function(t,e){if(null!=e){var n,r,i=ue;null!=(r=de(t))&&(i=r._config),e=Y(i,e),(n=new P(e)).parentLocale=le[t],le[t]=n,fe(t)}else null!=le[t]&&(null!=le[t].parentLocale?le[t]=le[t].parentLocale:null!=le[t]&&delete le[t]);return le[t]},l.locales=function(){return D(le)},l.weekdaysShort=function(t,e,n){return xn(t,e,n,"weekdaysShort")},l.normalizeUnits=L,l.relativeTimeRounding=function(t){return void 0!==t?"function"==typeof t&&(Xn=t,!0):Xn},l.relativeTimeThreshold=function(t,e){return void 0!==qn[t]&&(void 0===e?qn[t]:(qn[t]=e,"s"===t&&(qn.ss=e-1),!0))},l.calendarFormat=function(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},l.prototype=_n,l.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},l}()}(Us={exports:{}},Us.exports),Us.exports),Zs=[],Xs=0;Xs<256;Xs++)Zs[Xs]=(Xs+256).toString(16).substr(1);for(var qs=function(){if("undefined"!=typeof crypto&&crypto.getRandomValues){var t=new Uint8Array(16);return function(){return crypto.getRandomValues(t),t}}var n=new Array(16);return function(){for(var t,e=0;e<16;e++)0==(3&e)&&(t=4294967296*Math.random()),n[e]=t>>>((3&e)<<3)&255;return n}}(),$s=[],Js=0;Js<256;Js++)$s[Js]=(Js+256).toString(16).substr(1);var Qs=qs(),Ks=(Qs[0],Qs[1],Qs[2],Qs[3],Qs[4],Qs[5],Qs[6],Qs[7],/^\/?Date\((-?\d+)/i);function to(t){return t instanceof Number||"number"==typeof t}function eo(t){return t instanceof String||"string"==typeof t}function no(t){return Bs.isMoment(t)}function ro(t,e,n,r){var i=!1;!0===r&&(i=null===e[n]&&void 0!==t[n]),i?delete t[n]:t[n]=e[n]}function io(t,e,n,r){var i=2<arguments.length&&void 0!==n&&n,a=3<arguments.length&&void 0!==r&&r;for(var s in e)if(Object.prototype.hasOwnProperty.call(e,s)||!0===i)if(e[s]&&e[s].constructor===Object)void 0===t[s]&&(t[s]={}),t[s].constructor===Object?io(t[s],e[s],i):ro(t,e,s,a);else if(Array.isArray(e[s])){t[s]=[];for(var o=0;o<e[s].length;o++)t[s].push(e[s][o])}else ro(t,e,s,a);return t}function ao(t,e){var n;if(void 0!==t){if(null===t)return null;if(!e)return t;if("string"!=typeof e&&!(e instanceof String))throw new Error("Type must be a string");switch(e){case"boolean":case"Boolean":return Boolean(t);case"number":case"Number":return eo(t)&&!isNaN(Date.parse(t))?Bs(t).valueOf():Number(t.valueOf());case"string":case"String":return String(t);case"Date":if(to(t))return new Date(t);if(t instanceof Date)return new Date(t.valueOf());if(no(t))return new Date(t.valueOf());if(eo(t))return(n=Ks.exec(t))?new Date(Number(n[1])):Bs(new Date(t)).toDate();throw new Error("Cannot convert object of type "+so(t)+" to type Date");case"Moment":if(to(t))return Bs(t);if(t instanceof Date)return Bs(t.valueOf());if(no(t))return Bs(t);if(eo(t))return n=Ks.exec(t),Bs(n?Number(n[1]):t);throw new Error("Cannot convert object of type "+so(t)+" to type Date");case"ISODate":if(to(t))return new Date(t);if(t instanceof Date)return t.toISOString();if(no(t))return t.toDate().toISOString();if(eo(t))return(n=Ks.exec(t))?new Date(Number(n[1])).toISOString():Bs(t).format();throw new Error("Cannot convert object of type "+so(t)+" to type ISODate");case"ASPDate":if(to(t))return"/Date("+t+")/";if(t instanceof Date)return"/Date("+t.valueOf()+")/";if(eo(t))return"/Date("+((n=Ks.exec(t))?new Date(Number(n[1])).valueOf():new Date(t).valueOf())+")/";throw new Error("Cannot convert object of type "+so(t)+" to type ASPDate");default:throw new Error("Unknown type ".concat(e))}}}function so(t){var e=Hs(t);return"object"===e?null===t?"null":t instanceof Boolean?"Boolean":t instanceof Number?"Number":t instanceof String?"String":Array.isArray(t)?"Array":t instanceof Date?"Date":"Object":"number"===e?"Number":"boolean"===e?"Boolean":"string"===e?"String":void 0===e?"undefined":e}function oo(t){return"string"==typeof t||"number"==typeof t}var uo=function(){function s(t){Ts(this,s),this._queue=[],this._timeout=null,this._extended=null,this.delay=null,this.max=1/0,this.setOptions(t)}return Ps(s,[{key:"setOptions",value:function(t){t&&void 0!==t.delay&&(this.delay=t.delay),t&&void 0!==t.max&&(this.max=t.max),this._flushIfNeeded()}},{key:"destroy",value:function(){if(this.flush(),this._extended){for(var t=this._extended.object,e=this._extended.methods,n=0;n<e.length;n++){var r=e[n];r.original?t[r.name]=r.original:delete t[r.name]}this._extended=null}}},{key:"replace",value:function(t,e){var r=this,i=t[e];if(!i)throw new Error("Method "+e+" undefined");t[e]=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];r.queue({args:e,fn:i,context:this})}}},{key:"queue",value:function(t){"function"==typeof t?this._queue.push({fn:t}):this._queue.push(t),this._flushIfNeeded()}},{key:"_flushIfNeeded",value:function(){var t=this;this._queue.length>this.max&&this.flush(),null!=this._timeout&&(clearTimeout(this._timeout),this._timeout=null),0<this.queue.length&&"number"==typeof this.delay&&(this._timeout=setTimeout(function(){t.flush()},this.delay))}},{key:"flush",value:function(){this._queue.splice(0).forEach(function(t){t.fn.apply(t.context||t.fn,t.args||[])})}}],[{key:"extend",value:function(t,e){var n=new s(e);if(void 0!==t.flush)throw new Error("Target object already has a property flush");t.flush=function(){n.flush()};var r=[{name:"flush",original:void 0}];if(e&&e.replace)for(var i=0;i<e.replace.length;i++){var a=e.replace[i];r.push({name:a,original:t[a]}),n.replace(t,a)}return n._extended={object:t,methods:r},n}}]),s}(),lo=function(){function t(){Ts(this,t),this._subscribers={"*":[],add:[],remove:[],update:[]},this.subscribe=t.prototype.on,this.unsubscribe=t.prototype.off}return Ps(t,[{key:"_trigger",value:function(e,n,r){if("*"===e)throw new Error("Cannot trigger event *");[].concat(Ms(this._subscribers[e]),Ms(this._subscribers["*"])).forEach(function(t){t(e,n,null!=r?r:null)})}},{key:"on",value:function(t,e){"function"==typeof e&&this._subscribers[t].push(e)}},{key:"off",value:function(t,e){this._subscribers[t]=this._subscribers[t].filter(function(t){return t!==e})}}]),t}();var ho=function(t){if(Array.isArray(t))return t};var co=function(t,e){var n=[],r=!0,i=!1,a=void 0;try{for(var s,o=t[Symbol.iterator]();!(r=(s=o.next()).done)&&(n.push(s.value),!e||n.length!==e);r=!0);}catch(t){i=!0,a=t}finally{try{r||null==o.return||o.return()}finally{if(i)throw a}}return n};var fo=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")};var mo=function(t,e){return ho(t)||co(t,e)||fo()},po=function(){function e(t){Ts(this,e),this._pairs=t}return Ps(e,[{key:Symbol.iterator,value:bs.mark(function t(){var e,n,r,i,a,s,o,u;return bs.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:n=!(e=!0),r=void 0,t.prev=3,i=this._pairs[Symbol.iterator]();case 5:if(e=(a=i.next()).done){t.next=12;break}return s=mo(a.value,2),o=s[0],u=s[1],t.next=9,[o,u];case 9:e=!0,t.next=5;break;case 12:t.next=18;break;case 14:t.prev=14,t.t0=t.catch(3),n=!0,r=t.t0;case 18:t.prev=18,t.prev=19,e||null==i.return||i.return();case 21:if(t.prev=21,n)throw r;t.next=24;break;case 24:return t.finish(21);case 25:return t.finish(18);case 26:case"end":return t.stop()}},t,this,[[3,14,18,26],[19,,21,25]])})},{key:"entries",value:bs.mark(function t(){var e,n,r,i,a,s,o,u;return bs.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:n=!(e=!0),r=void 0,t.prev=3,i=this._pairs[Symbol.iterator]();case 5:if(e=(a=i.next()).done){t.next=12;break}return s=mo(a.value,2),o=s[0],u=s[1],t.next=9,[o,u];case 9:e=!0,t.next=5;break;case 12:t.next=18;break;case 14:t.prev=14,t.t0=t.catch(3),n=!0,r=t.t0;case 18:t.prev=18,t.prev=19,e||null==i.return||i.return();case 21:if(t.prev=21,n)throw r;t.next=24;break;case 24:return t.finish(21);case 25:return t.finish(18);case 26:case"end":return t.stop()}},t,this,[[3,14,18,26],[19,,21,25]])})},{key:"keys",value:bs.mark(function t(){var e,n,r,i,a,s,o;return bs.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:n=!(e=!0),r=void 0,t.prev=3,i=this._pairs[Symbol.iterator]();case 5:if(e=(a=i.next()).done){t.next=12;break}return s=mo(a.value,1),o=s[0],t.next=9,o;case 9:e=!0,t.next=5;break;case 12:t.next=18;break;case 14:t.prev=14,t.t0=t.catch(3),n=!0,r=t.t0;case 18:t.prev=18,t.prev=19,e||null==i.return||i.return();case 21:if(t.prev=21,n)throw r;t.next=24;break;case 24:return t.finish(21);case 25:return t.finish(18);case 26:case"end":return t.stop()}},t,this,[[3,14,18,26],[19,,21,25]])})},{key:"values",value:bs.mark(function t(){var e,n,r,i,a,s,o;return bs.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:n=!(e=!0),r=void 0,t.prev=3,i=this._pairs[Symbol.iterator]();case 5:if(e=(a=i.next()).done){t.next=12;break}return s=mo(a.value,2),o=s[1],t.next=9,o;case 9:e=!0,t.next=5;break;case 12:t.next=18;break;case 14:t.prev=14,t.t0=t.catch(3),n=!0,r=t.t0;case 18:t.prev=18,t.prev=19,e||null==i.return||i.return();case 21:if(t.prev=21,n)throw r;t.next=24;break;case 24:return t.finish(21);case 25:return t.finish(18);case 26:case"end":return t.stop()}},t,this,[[3,14,18,26],[19,,21,25]])})},{key:"toIdArray",value:function(){return Ms(this._pairs).map(function(t){return t[0]})}},{key:"toItemArray",value:function(){return Ms(this._pairs).map(function(t){return t[1]})}},{key:"toEntryArray",value:function(){return Ms(this._pairs)}},{key:"toObjectMap",value:function(){var t=Object.create(null),e=!0,n=!1,r=void 0;try{for(var i,a=this._pairs[Symbol.iterator]();!(e=(i=a.next()).done);e=!0){var s=mo(i.value,2),o=s[0],u=s[1];t[o]=u}}catch(t){n=!0,r=t}finally{try{e||null==a.return||a.return()}finally{if(n)throw r}}return t}},{key:"toMap",value:function(){return new Map(this._pairs)}},{key:"toIdSet",value:function(){return new Set(this.toIdArray())}},{key:"toItemSet",value:function(){return new Set(this.toItemArray())}},{key:"cache",value:function(){return new e(Ms(this._pairs))}},{key:"distinct",value:function(t){var e=new Set,n=!0,r=!1,i=void 0;try{for(var a,s=this._pairs[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var o=mo(a.value,2),u=o[0],l=o[1];e.add(t(l,u))}}catch(t){r=!0,i=t}finally{try{n||null==s.return||s.return()}finally{if(r)throw i}}return e}},{key:"filter",value:function(l){var h=this._pairs;return new e(Ss({},Symbol.iterator,bs.mark(function t(){var e,n,r,i,a,s,o,u;return bs.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:n=!(e=!0),r=void 0,t.prev=3,i=h[Symbol.iterator]();case 5:if(e=(a=i.next()).done){t.next=13;break}if(s=mo(a.value,2),o=s[0],u=s[1],l(u,o))return t.next=10,[o,u];t.next=10;break;case 10:e=!0,t.next=5;break;case 13:t.next=19;break;case 15:t.prev=15,t.t0=t.catch(3),n=!0,r=t.t0;case 19:t.prev=19,t.prev=20,e||null==i.return||i.return();case 22:if(t.prev=22,n)throw r;t.next=25;break;case 25:return t.finish(22);case 26:return t.finish(19);case 27:case"end":return t.stop()}},t,null,[[3,15,19,27],[20,,22,26]])})))}},{key:"forEach",value:function(t){var e=!0,n=!1,r=void 0;try{for(var i,a=this._pairs[Symbol.iterator]();!(e=(i=a.next()).done);e=!0){var s=mo(i.value,2),o=s[0];t(s[1],o)}}catch(t){n=!0,r=t}finally{try{e||null==a.return||a.return()}finally{if(n)throw r}}}},{key:"map",value:function(l){var h=this._pairs;return new e(Ss({},Symbol.iterator,bs.mark(function t(){var e,n,r,i,a,s,o,u;return bs.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:n=!(e=!0),r=void 0,t.prev=3,i=h[Symbol.iterator]();case 5:if(e=(a=i.next()).done){t.next=12;break}return s=mo(a.value,2),o=s[0],u=s[1],t.next=9,[o,l(u,o)];case 9:e=!0,t.next=5;break;case 12:t.next=18;break;case 14:t.prev=14,t.t0=t.catch(3),n=!0,r=t.t0;case 18:t.prev=18,t.prev=19,e||null==i.return||i.return();case 21:if(t.prev=21,n)throw r;t.next=24;break;case 24:return t.finish(21);case 25:return t.finish(18);case 26:case"end":return t.stop()}},t,null,[[3,14,18,26],[19,,21,25]])})))}},{key:"max",value:function(t){var e=this._pairs[Symbol.iterator](),n=e.next();if(n.done)return null;for(var r=n.value[1],i=t(n.value[1],n.value[0]);!(n=e.next()).done;){var a=mo(n.value,2),s=a[0],o=a[1],u=t(o,s);i<u&&(i=u,r=o)}return r}},{key:"min",value:function(t){var e=this._pairs[Symbol.iterator](),n=e.next();if(n.done)return null;for(var r=n.value[1],i=t(n.value[1],n.value[0]);!(n=e.next()).done;){var a=mo(n.value,2),s=a[0],o=a[1],u=t(o,s);u<i&&(i=u,r=o)}return r}},{key:"reduce",value:function(t,e){var n=!0,r=!1,i=void 0;try{for(var a,s=this._pairs[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var o=mo(a.value,2),u=o[0];e=t(e,o[1],u)}}catch(t){r=!0,i=t}finally{try{n||null==s.return||s.return()}finally{if(r)throw i}}return e}},{key:"sort",value:function(u){var t=this;return new e(Ss({},Symbol.iterator,function(){return Ms(t._pairs).sort(function(t,e){var n=mo(t,2),r=n[0],i=n[1],a=mo(e,2),s=a[0],o=a[1];return u(i,o,r,s)})[Symbol.iterator]()}))}}]),e}();function yo(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n}var vo=function(){function u(t,e){var n;if(Ts(this,u),n=Es(this,Ls(u).call(this)),t&&!Array.isArray(t)&&(e=t,t=[]),n._options=e||{},n._data=new Map,n.length=0,n._idProp=n._options.fieldId||"id",n._type={},n._options.type)for(var r=Object.keys(n._options.type),i=0,a=r.length;i<a;i++){var s=r[i],o=n._options.type[s];n._type[s]="Date"==o||"ISODate"==o||"ASPDate"==o?"Date":o}return t&&t.length&&n.add(t),n.setOptions(e),n}return Rs(u,lo),Ps(u,[{key:"setOptions",value:function(t){t&&void 0!==t.queue&&(!1===t.queue?this._queue&&(this._queue.destroy(),delete this._queue):(this._queue||(this._queue=uo.extend(this,{replace:["add","update","remove"]})),t.queue&&"object"===Os(t.queue)&&this._queue.setOptions(t.queue)))}},{key:"add",value:function(t,e){var n,r=[];if(Array.isArray(t))for(var i=0,a=t.length;i<a;i++)n=this._addItem(t[i]),r.push(n);else{if(!t||"object"!==Os(t))throw new Error("Unknown dataType");n=this._addItem(t),r.push(n)}return r.length&&this._trigger("add",{items:r},e),r}},{key:"update",value:function(t,e){function n(t){var e=t[c];if(null!=e&&s._data.has(e)){var n=t,r=Object.assign({},s._data.get(e)),i=s._updateItem(n);u.push(i),h.push(n),l.push(r)}else{var a=s._addItem(t);o.push(a)}}var s=this,o=[],u=[],l=[],h=[],c=this._idProp;if(Array.isArray(t))for(var r=0,i=t.length;r<i;r++)t[r]&&"object"===Os(t[r])?n(t[r]):console.warn("Ignoring input item, which is not an object at index "+r);else{if(!t||"object"!==Os(t))throw new Error("Unknown dataType");n(t)}if(o.length&&this._trigger("add",{items:o},e),u.length){var a={items:u,oldData:l,data:h};this._trigger("update",a,e)}return o.concat(u)}},{key:"updateOnly",value:function(t,e){var a=this;Array.isArray(t)||(t=[t]);var n=t.map(function(t){var e=a._data.get(t[a._idProp]);if(null==e)throw new Error("Updating non-existent items is not allowed.");return{oldData:e,update:t}}).map(function(t){var e=t.oldData,n=t.update,r=e[a._idProp],i=io(io({},e),n);return a._data.set(r,i),{id:r,oldData:e,updatedData:i}});if(n.length){var r={items:n.map(function(t){return t.id}),oldData:n.map(function(t){return t.oldData}),data:n.map(function(t){return t.updatedData})};return this._trigger("update",r,e),r.items}return[]}},{key:"get",value:function(t,e){var n=void 0,r=void 0,i=void 0,a=(i=oo(t)?(n=t,e):Array.isArray(t)?(r=t,e):t)&&"Object"===i.returnType?"Object":"Array",s=i&&i.type||this._options.type,o=i&&i.filter,u=[],l=null,h=null,c=null;if(null!=n)(l=this._getItem(n,s))&&o&&!o(l)&&(l=null);else if(null!=r)for(var d=0,f=r.length;d<f;d++)null==(l=this._getItem(r[d],s))||o&&!o(l)||u.push(l);else for(var m=0,p=(h=Ms(this._data.keys())).length;m<p;m++)c=h[m],null==(l=this._getItem(c,s))||o&&!o(l)||u.push(l);if(i&&i.order&&null==n&&this._sort(u,i.order),i&&i.fields){var y=i.fields;if(null!=n&&null!=l)l=this._filterFields(l,y);else for(var v=0,g=u.length;v<g;v++)u[v]=this._filterFields(u[v],y)}if("Object"!=a)return null!=n?l:u;for(var _={},w=0,b=u.length;w<b;w++){var S=u[w];_[S[this._idProp]]=S}return _}},{key:"getIds",value:function(t){var e,n,r=this._data,i=t&&t.filter,a=t&&t.order,s=t&&t.type||this._options.type,o=Ms(r.keys()),u=[];if(i)if(a){n=[];for(var l=0,h=o.length;l<h;l++){var c=o[l];i(e=this._getItem(c,s))&&n.push(e)}this._sort(n,a);for(var d=0,f=n.length;d<f;d++)u.push(n[d][this._idProp])}else for(var m=0,p=o.length;m<p;m++){var y=o[m];i(e=this._getItem(y,s))&&u.push(e[this._idProp])}else if(a){n=[];for(var v=0,g=o.length;v<g;v++){var _=o[v];n.push(r.get(_))}this._sort(n,a);for(var w=0,b=n.length;w<b;w++)u.push(n[w][this._idProp])}else for(var S=0,k=o.length;S<k;S++){var x=o[S];e=r.get(x),u.push(e[this._idProp])}return u}},{key:"getDataSet",value:function(){return this}},{key:"forEach",value:function(t,e){var n=e&&e.filter,r=e&&e.type||this._options.type,i=this._data,a=Ms(i.keys());if(e&&e.order)for(var s=this.get(e),o=0,u=s.length;o<u;o++){var l=s[o];t(l,l[this._idProp])}else for(var h=0,c=a.length;h<c;h++){var d=a[h],f=this._getItem(d,r);n&&!n(f)||t(f,d)}}},{key:"map",value:function(t,e){for(var n=e&&e.filter,r=e&&e.type||this._options.type,i=[],a=this._data,s=Ms(a.keys()),o=0,u=s.length;o<u;o++){var l=s[o],h=this._getItem(l,r);n&&!n(h)||i.push(t(h,l))}return e&&e.order&&this._sort(i,e.order),i}},{key:"_filterFields",value:function(n,t){return n?(Array.isArray(t)?t:Object.keys(t)).reduce(function(t,e){return t[e]=n[e],t},{}):n}},{key:"_sort",value:function(t,e){if("string"==typeof e){var i=e;t.sort(function(t,e){var n=t[i],r=e[i];return r<n?1:n<r?-1:0})}else{if("function"!=typeof e)throw new TypeError("Order must be a function or a string");t.sort(e)}}},{key:"remove",value:function(t,e){for(var n=[],r=[],i=Array.isArray(t)?t:[t],a=0,s=i.length;a<s;a++){var o=this._remove(i[a]);if(o){var u=o[this._idProp];null!=u&&(n.push(u),r.push(o))}}return n.length&&this._trigger("remove",{items:n,oldData:r},e),n}},{key:"_remove",value:function(t){var e;if(oo(t)?e=t:t&&"object"===Os(t)&&(e=t[this._idProp]),null!=e&&this._data.has(e)){var n=this._data.get(e)||null;return this._data.delete(e),--this.length,n}return null}},{key:"clear",value:function(t){for(var e=Ms(this._data.keys()),n=[],r=0,i=e.length;r<i;r++)n.push(this._data.get(e[r]));return this._data.clear(),this.length=0,this._trigger("remove",{items:e,oldData:n},t),e}},{key:"max",value:function(t){var e=null,n=null,r=!0,i=!1,a=void 0;try{for(var s,o=this._data.values()[Symbol.iterator]();!(r=(s=o.next()).done);r=!0){var u=s.value,l=u[t];"number"==typeof l&&(null==n||n<l)&&(e=u,n=l)}}catch(t){i=!0,a=t}finally{try{r||null==o.return||o.return()}finally{if(i)throw a}}return e||null}},{key:"min",value:function(t){var e=null,n=null,r=!0,i=!1,a=void 0;try{for(var s,o=this._data.values()[Symbol.iterator]();!(r=(s=o.next()).done);r=!0){var u=s.value,l=u[t];"number"==typeof l&&(null==n||l<n)&&(e=u,n=l)}}catch(t){i=!0,a=t}finally{try{r||null==o.return||o.return()}finally{if(i)throw a}}return e||null}},{key:"distinct",value:function(t){for(var e=this._data,n=Ms(e.keys()),r=[],i=this._options.type&&this._options.type[t]||null,a=0,s=0,o=n.length;s<o;s++){for(var u=n[s],l=e.get(u)[t],h=!1,c=0;c<a;c++)if(r[c]==l){h=!0;break}h||void 0===l||(r[a]=l,a++)}if(i)for(var d=0,f=r.length;d<f;d++)r[d]=ao(r[d],i);return r}},{key:"_addItem",value:function(t){var e=t[this._idProp];if(null!=e){if(this._data.has(e))throw new Error("Cannot add item: item with id "+e+" already exists")}else e=zs(),t[this._idProp]=e;for(var n={},r=Object.keys(t),i=0,a=r.length;i<a;i++){var s=r[i],o=this._type[s];n[s]=ao(t[s],o)}return this._data.set(e,n),++this.length,e}},{key:"_getItem",value:function(t,e){var n,r=this._data.get(t);if(!r)return null;var i=Object.keys(r);if(e){n={};for(var a=0,s=i.length;a<s;a++){var o=i[a],u=r[o];n[o]=ao(u,e[o])}}else n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yo(n,!0).forEach(function(t){Ss(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yo(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},r);return null==n[this._idProp]&&(n[this._idProp]=r.id),n}},{key:"_updateItem",value:function(t){var e=t[this._idProp];if(null==e)throw new Error("Cannot update item: item has no id (item: "+JSON.stringify(t)+")");var n=this._data.get(e);if(!n)throw new Error("Cannot update item: no item with id "+e+" found");for(var r=Object.keys(t),i=0,a=r.length;i<a;i++){var s=r[i],o=this._type[s];n[s]=ao(t[s],o)}return e}},{key:"stream",value:function(u){if(u){var l=this._data;return new po(Ss({},Symbol.iterator,bs.mark(function t(){var e,n,r,i,a,s,o;return bs.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:n=!(e=!0),r=void 0,t.prev=3,i=u[Symbol.iterator]();case 5:if(e=(a=i.next()).done){t.next=14;break}if(s=a.value,null!=(o=l.get(s)))return t.next=11,[s,o];t.next=11;break;case 11:e=!0,t.next=5;break;case 14:t.next=20;break;case 16:t.prev=16,t.t0=t.catch(3),n=!0,r=t.t0;case 20:t.prev=20,t.prev=21,e||null==i.return||i.return();case 23:if(t.prev=23,n)throw r;t.next=26;break;case 26:return t.finish(23);case 27:return t.finish(20);case 28:case"end":return t.stop()}},t,null,[[3,16,20,28],[21,,23,27]])})))}return new po(Ss({},Symbol.iterator,this._data.entries.bind(this._data)))}}]),u}(),go=function(){function r(t,e){var n;return Ts(this,r),(n=Es(this,Ls(r).call(this))).length=0,n._ids=new Set,n._options=e||{},n._listener=n._onEvent.bind(Cs(n)),n.setData(t),n}return Rs(r,lo),Ps(r,[{key:"setData",value:function(t){if(this._data){this._data.off&&this._data.off("*",this._listener);var e=this._data.getIds({filter:this._options.filter}),n=this._data.get(e);this._ids.clear(),this.length=0,this._trigger("remove",{items:e,oldData:n})}if(null!=t){this._data=t;for(var r=this._data.getIds({filter:this._options.filter}),i=0,a=r.length;i<a;i++){var s=r[i];this._ids.add(s)}this.length=r.length,this._trigger("add",{items:r})}else this._data=new vo;this._data.on&&this._data.on("*",this._listener)}},{key:"refresh",value:function(){for(var t=this._data.getIds({filter:this._options.filter}),e=Ms(this._ids),n={},r=[],i=[],a=[],s=0,o=t.length;s<o;s++){var u=t[s];n[u]=!0,this._ids.has(u)||(r.push(u),this._ids.add(u))}for(var l=0,h=e.length;l<h;l++){var c=e[l],d=this._data.get(c);null==d?console.error("If you see this, report it please."):n[c]||(i.push(c),a.push(d),this._ids.delete(c))}this.length+=r.length-i.length,r.length&&this._trigger("add",{items:r}),i.length&&this._trigger("remove",{items:i,oldData:a})}},{key:"get",value:function(t,e){if(null==this._data)return null;var n,r=null;n=oo(t)||Array.isArray(t)?(r=t,e):t;var i=Object.assign({},this._options,n),a=this._options.filter,s=n&&n.filter;return a&&s&&(i.filter=function(t){return a(t)&&s(t)}),null==r?this._data.get(i):this._data.get(r,i)}},{key:"getIds",value:function(t){if(this._data.length){var e,n=this._options.filter,r=null!=t?t.filter:null;return e=r?n?function(t){return n(t)&&r(t)}:r:n,this._data.getIds({filter:e,order:t&&t.order})}return[]}},{key:"forEach",value:function(t,e){if(this._data){var n,r=this._options.filter,i=e&&e.filter;n=i?r?function(t){return r(t)&&i(t)}:i:r,this._data.forEach(t,{filter:n,order:e&&e.order})}}},{key:"map",value:function(t,e){if(this._data){var n,r=this._options.filter,i=e&&e.filter;return n=i?r?function(t){return r(t)&&i(t)}:i:r,this._data.map(t,{filter:n,order:e&&e.order})}return[]}},{key:"getDataSet",value:function(){return this._data.getDataSet()}},{key:"stream",value:function(t){return this._data.stream(t||Ss({},Symbol.iterator,this._ids.keys.bind(this._ids)))}},{key:"_onEvent",value:function(t,e,n){if(e&&e.items&&this._data){var r=e.items,i=[],a=[],s=[],o=[],u=[],l=[];switch(t){case"add":for(var h=0,c=r.length;h<c;h++){var d=r[h];this.get(d)&&(this._ids.add(d),i.push(d))}break;case"update":for(var f=0,m=r.length;f<m;f++){var p=r[f];this.get(p)?this._ids.has(p)?(a.push(p),u.push(e.data[f]),o.push(e.oldData[f])):(this._ids.add(p),i.push(p)):this._ids.has(p)&&(this._ids.delete(p),s.push(p),l.push(e.oldData[f]))}break;case"remove":for(var y=0,v=r.length;y<v;y++){var g=r[y];this._ids.has(g)&&(this._ids.delete(g),s.push(g),l.push(e.oldData[y]))}}this.length+=i.length-s.length,i.length&&this._trigger("add",{items:i},n),a.length&&this._trigger("update",{items:a,oldData:o,data:u},n),s.length&&this._trigger("remove",{items:s,oldData:l},n)}}}]),r}(),_o={DataSet:vo,DataView:go,Queue:uo},wo=Object.freeze({default:_o,DataSet:vo,DataStream:po,DataView:go,Queue:uo});function bo(t){return(bo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function So(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var ko=xo;function xo(t){if(t)return function(t){for(var e in xo.prototype)t[e]=xo.prototype[e];return t}(t)}function Do(t,e,n){this.x=void 0!==t?t:0,this.y=void 0!==e?e:0,this.z=void 0!==n?n:0}xo.prototype.on=xo.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks[t]=this._callbacks[t]||[]).push(e),this},xo.prototype.once=function(t,e){var n=this;function r(){n.off(t,r),e.apply(this,arguments)}return this._callbacks=this._callbacks||{},r.fn=e,this.on(t,r),this},xo.prototype.off=xo.prototype.removeListener=xo.prototype.removeAllListeners=xo.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks[t];if(!r)return this;if(1==arguments.length)return delete this._callbacks[t],this;for(var i=0;i<r.length;i++)if((n=r[i])===e||n.fn===e){r.splice(i,1);break}return this},xo.prototype.emit=function(t){this._callbacks=this._callbacks||{};var e=[].slice.call(arguments,1),n=this._callbacks[t];if(n)for(var r=0,i=(n=n.slice(0)).length;r<i;++r)n[r].apply(this,e);return this},xo.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks[t]||[]},xo.prototype.hasListeners=function(t){return!!this.listeners(t).length},Do.subtract=function(t,e){var n=new Do;return n.x=t.x-e.x,n.y=t.y-e.y,n.z=t.z-e.z,n},Do.add=function(t,e){var n=new Do;return n.x=t.x+e.x,n.y=t.y+e.y,n.z=t.z+e.z,n},Do.avg=function(t,e){return new Do((t.x+e.x)/2,(t.y+e.y)/2,(t.z+e.z)/2)},Do.crossProduct=function(t,e){var n=new Do;return n.x=t.y*e.z-t.z*e.y,n.y=t.z*e.x-t.x*e.z,n.z=t.x*e.y-t.y*e.x,n},Do.prototype.length=function(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)};var Mo=Do;var Oo=function(t,e){this.x=void 0!==t?t:0,this.y=void 0!==e?e:0},To=gs(ps);function Yo(t,e){if(void 0===t)throw new Error("No container element defined");if(this.container=t,this.visible=!e||null==e.visible||e.visible,this.visible){this.frame=document.createElement("DIV"),this.frame.style.width="100%",this.frame.style.position="relative",this.container.appendChild(this.frame),this.frame.prev=document.createElement("INPUT"),this.frame.prev.type="BUTTON",this.frame.prev.value="Prev",this.frame.appendChild(this.frame.prev),this.frame.play=document.createElement("INPUT"),this.frame.play.type="BUTTON",this.frame.play.value="Play",this.frame.appendChild(this.frame.play),this.frame.next=document.createElement("INPUT"),this.frame.next.type="BUTTON",this.frame.next.value="Next",this.frame.appendChild(this.frame.next),this.frame.bar=document.createElement("INPUT"),this.frame.bar.type="BUTTON",this.frame.bar.style.position="absolute",this.frame.bar.style.border="1px solid red",this.frame.bar.style.width="100px",this.frame.bar.style.height="6px",this.frame.bar.style.borderRadius="2px",this.frame.bar.style.MozBorderRadius="2px",this.frame.bar.style.border="1px solid #7F7F7F",this.frame.bar.style.backgroundColor="#E5E5E5",this.frame.appendChild(this.frame.bar),this.frame.slide=document.createElement("INPUT"),this.frame.slide.type="BUTTON",this.frame.slide.style.margin="0px",this.frame.slide.value=" ",this.frame.slide.style.position="relative",this.frame.slide.style.left="-100px",this.frame.appendChild(this.frame.slide);var n=this;this.frame.slide.onmousedown=function(t){n._onMouseDown(t)},this.frame.prev.onclick=function(t){n.prev(t)},this.frame.play.onclick=function(t){n.togglePlay(t)},this.frame.next.onclick=function(t){n.next(t)}}this.onChangeCallback=void 0,this.values=[],this.index=void 0,this.playTimeout=void 0,this.playInterval=1e3,this.playLoop=!0}Yo.prototype.prev=function(){var t=this.getIndex();0<t&&(t--,this.setIndex(t))},Yo.prototype.next=function(){var t=this.getIndex();t<this.values.length-1&&(t++,this.setIndex(t))},Yo.prototype.playNext=function(){var t=new Date,e=this.getIndex();e<this.values.length-1?(e++,this.setIndex(e)):this.playLoop&&(e=0,this.setIndex(e));var n=new Date-t,r=Math.max(this.playInterval-n,0),i=this;this.playTimeout=setTimeout(function(){i.playNext()},r)},Yo.prototype.togglePlay=function(){void 0===this.playTimeout?this.play():this.stop()},Yo.prototype.play=function(){this.playTimeout||(this.playNext(),this.frame&&(this.frame.play.value="Stop"))},Yo.prototype.stop=function(){clearInterval(this.playTimeout),this.playTimeout=void 0,this.frame&&(this.frame.play.value="Play")},Yo.prototype.setOnChangeCallback=function(t){this.onChangeCallback=t},Yo.prototype.setPlayInterval=function(t){this.playInterval=t},Yo.prototype.getPlayInterval=function(){return this.playInterval},Yo.prototype.setPlayLoop=function(t){this.playLoop=t},Yo.prototype.onChange=function(){void 0!==this.onChangeCallback&&this.onChangeCallback()},Yo.prototype.redraw=function(){if(this.frame){this.frame.bar.style.top=this.frame.clientHeight/2-this.frame.bar.offsetHeight/2+"px",this.frame.bar.style.width=this.frame.clientWidth-this.frame.prev.clientWidth-this.frame.play.clientWidth-this.frame.next.clientWidth-30+"px";var t=this.indexToLeft(this.index);this.frame.slide.style.left=t+"px"}},Yo.prototype.setValues=function(t){this.values=t,0<this.values.length?this.setIndex(0):this.index=void 0},Yo.prototype.setIndex=function(t){if(!(t<this.values.length))throw new Error("Index out of range");this.index=t,this.redraw(),this.onChange()},Yo.prototype.getIndex=function(){return this.index},Yo.prototype.get=function(){return this.values[this.index]},Yo.prototype._onMouseDown=function(t){if(t.which?1===t.which:1===t.button){this.startClientX=t.clientX,this.startSlideX=parseFloat(this.frame.slide.style.left),this.frame.style.cursor="move";var e=this;this.onmousemove=function(t){e._onMouseMove(t)},this.onmouseup=function(t){e._onMouseUp(t)},To.addEventListener(document,"mousemove",this.onmousemove),To.addEventListener(document,"mouseup",this.onmouseup),To.preventDefault(t)}},Yo.prototype.leftToIndex=function(t){var e=parseFloat(this.frame.bar.style.width)-this.frame.slide.clientWidth-10,n=t-3,r=Math.round(n/e*(this.values.length-1));return r<0&&(r=0),r>this.values.length-1&&(r=this.values.length-1),r},Yo.prototype.indexToLeft=function(t){var e=parseFloat(this.frame.bar.style.width)-this.frame.slide.clientWidth-10;return 3+t/(this.values.length-1)*e},Yo.prototype._onMouseMove=function(t){var e=t.clientX-this.startClientX,n=this.startSlideX+e,r=this.leftToIndex(n);this.setIndex(r),To.preventDefault()},Yo.prototype._onMouseUp=function(t){this.frame.style.cursor="auto",To.removeEventListener(document,"mousemove",this.onmousemove),To.removeEventListener(document,"mouseup",this.onmouseup),To.preventDefault()};var Po=Yo;function Co(t,e,n,r){this._start=0,this._end=0,this._step=1,this.prettyStep=!0,this.precision=5,this._current=0,this.setRange(t,e,n,r)}Co.prototype.isNumeric=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},Co.prototype.setRange=function(t,e,n,r){if(!this.isNumeric(t))throw new Error("Parameter 'start' is not numeric; value: "+t);if(!this.isNumeric(e))throw new Error("Parameter 'end' is not numeric; value: "+t);if(!this.isNumeric(n))throw new Error("Parameter 'step' is not numeric; value: "+t);this._start=t||0,this._end=e||0,this.setStep(n,r)},Co.prototype.setStep=function(t,e){void 0===t||t<=0||(void 0!==e&&(this.prettyStep=e),!0===this.prettyStep?this._step=Co.calculatePrettyStep(t):this._step=t)},Co.calculatePrettyStep=function(t){function e(t){return Math.log(t)/Math.LN10}var n=Math.pow(10,Math.round(e(t))),r=2*Math.pow(10,Math.round(e(t/2))),i=5*Math.pow(10,Math.round(e(t/5))),a=n;return Math.abs(r-t)<=Math.abs(a-t)&&(a=r),Math.abs(i-t)<=Math.abs(a-t)&&(a=i),a<=0&&(a=1),a},Co.prototype.getCurrent=function(){return parseFloat(this._current.toPrecision(this.precision))},Co.prototype.getStep=function(){return this._step},Co.prototype.start=function(t){void 0===t&&(t=!1),this._current=this._start-this._start%this._step,t&&this.getCurrent()<this._start&&this.next()},Co.prototype.next=function(){this._current+=this._step},Co.prototype.end=function(){return this._current>this._end};var Eo=Co;function Lo(){this.armLocation=new Mo,this.armRotation={},this.armRotation.horizontal=0,this.armRotation.vertical=0,this.armLength=1.7,this.cameraOffset=new Mo,this.offsetMultiplier=.6,this.cameraLocation=new Mo,this.cameraRotation=new Mo(.5*Math.PI,0,0),this.calculateCameraOrientation()}Lo.prototype.setOffset=function(t,e){var n=Math.abs,r=Math.sign,i=this.offsetMultiplier,a=this.armLength*i;n(t)>a&&(t=r(t)*a),n(e)>a&&(e=r(e)*a),this.cameraOffset.x=t,this.cameraOffset.y=e,this.calculateCameraOrientation()},Lo.prototype.getOffset=function(){return this.cameraOffset},Lo.prototype.setArmLocation=function(t,e,n){this.armLocation.x=t,this.armLocation.y=e,this.armLocation.z=n,this.calculateCameraOrientation()},Lo.prototype.setArmRotation=function(t,e){void 0!==t&&(this.armRotation.horizontal=t),void 0!==e&&(this.armRotation.vertical=e,this.armRotation.vertical<0&&(this.armRotation.vertical=0),this.armRotation.vertical>.5*Math.PI&&(this.armRotation.vertical=.5*Math.PI)),void 0===t&&void 0===e||this.calculateCameraOrientation()},Lo.prototype.getArmRotation=function(){var t={};return t.horizontal=this.armRotation.horizontal,t.vertical=this.armRotation.vertical,t},Lo.prototype.setArmLength=function(t){void 0!==t&&(this.armLength=t,this.armLength<.71&&(this.armLength=.71),5<this.armLength&&(this.armLength=5),this.setOffset(this.cameraOffset.x,this.cameraOffset.y),this.calculateCameraOrientation())},Lo.prototype.getArmLength=function(){return this.armLength},Lo.prototype.getCameraLocation=function(){return this.cameraLocation},Lo.prototype.getCameraRotation=function(){return this.cameraRotation},Lo.prototype.calculateCameraOrientation=function(){this.cameraLocation.x=this.armLocation.x-this.armLength*Math.sin(this.armRotation.horizontal)*Math.cos(this.armRotation.vertical),this.cameraLocation.y=this.armLocation.y-this.armLength*Math.cos(this.armRotation.horizontal)*Math.cos(this.armRotation.vertical),this.cameraLocation.z=this.armLocation.z+this.armLength*Math.sin(this.armRotation.vertical),this.cameraRotation.x=Math.PI/2-this.armRotation.vertical,this.cameraRotation.y=0,this.cameraRotation.z=-this.armRotation.horizontal;var t=this.cameraRotation.x,e=this.cameraRotation.z,n=this.cameraOffset.x,r=this.cameraOffset.y,i=Math.sin,a=Math.cos;this.cameraLocation.x=this.cameraLocation.x+n*a(e)+r*-i(e)*a(t),this.cameraLocation.y=this.cameraLocation.y+n*i(e)+r*a(e)*a(t),this.cameraLocation.z=this.cameraLocation.z+r*i(t)};var Ao=Lo,Ro={BAR:0,BARCOLOR:1,BARSIZE:2,DOT:3,DOTLINE:4,DOTCOLOR:5,DOTSIZE:6,GRID:7,LINE:8,SURFACE:9},Wo={dot:Ro.DOT,"dot-line":Ro.DOTLINE,"dot-color":Ro.DOTCOLOR,"dot-size":Ro.DOTSIZE,line:Ro.LINE,grid:Ro.GRID,surface:Ro.SURFACE,bar:Ro.BAR,"bar-color":Ro.BARCOLOR,"bar-size":Ro.BARSIZE},Io=["width","height","filterLabel","legendLabel","xLabel","yLabel","zLabel","xValueLabel","yValueLabel","zValueLabel","showXAxis","showYAxis","showZAxis","showGrid","showPerspective","showShadow","keepAspectRatio","rotateAxisLabels","verticalRatio","dotSizeRatio","dotSizeMinFraction","dotSizeMaxFraction","showAnimationControls","animationInterval","animationPreload","animationAutoStart","axisColor","axisFontSize","axisFontType","gridColor","xCenter","yCenter","zoomable","tooltipDelay","ctrlToZoom"],No=["xBarWidth","yBarWidth","valueMin","valueMax","xMin","xMax","xStep","yMin","yMax","yStep","zMin","zMax","zStep"],jo=void 0;function Fo(t){for(var e in t)if(t.hasOwnProperty(e))return!1;return!0}function Vo(t,e){return void 0===t||""===t?e:t+function(t){return void 0===t||""===t||"string"!=typeof t?t:t.charAt(0).toUpperCase()+t.slice(1)}(e)}function zo(t,e,n,r){for(var i,a=0;a<n.length;++a)e[Vo(r,i=n[a])]=t[i]}function Ho(t,e,n,r){for(var i,a=0;a<n.length;++a)void 0!==t[i=n[a]]&&(e[Vo(r,i)]=t[i])}function Go(t,e){void 0!==t.backgroundColor&&function(t,e){var n="white",r="gray",i=1;if("string"==typeof t)n=t,r="none",i=0;else{if("object"!==bo(t))throw new Error("Unsupported type of backgroundColor");void 0!==t.fill&&(n=t.fill),void 0!==t.stroke&&(r=t.stroke),void 0!==t.strokeWidth&&(i=t.strokeWidth)}e.frame.style.backgroundColor=n,e.frame.style.borderColor=r,e.frame.style.borderWidth=i+"px",e.frame.style.borderStyle="solid"}(t.backgroundColor,e),function(t,e){if(void 0===t)return;void 0===e.dataColor&&(e.dataColor={});"string"==typeof t?(e.dataColor.fill=t,e.dataColor.stroke=t):(t.fill&&(e.dataColor.fill=t.fill),t.stroke&&(e.dataColor.stroke=t.stroke),void 0!==t.strokeWidth&&(e.dataColor.strokeWidth=t.strokeWidth))}(t.dataColor,e),function(t,e){if(void 0===t)return;var n;if("string"==typeof t){if(-1===(n=function(t){var e=Wo[t];return void 0!==e?e:-1}(t)))throw new Error("Style '"+t+"' is invalid")}else{if(!function(t){var e=!1;for(var n in Ro)if(Ro[n]===t){e=!0;break}return e}(t))throw new Error("Style '"+t+"' is invalid");n=t}e.style=n}(t.style,e),function(t,e){if(void 0===t){if(void 0===jo.showLegend){var n=e.style===Ro.DOTCOLOR||e.style===Ro.DOTSIZE;e.showLegend=n}}else e.showLegend=t}(t.showLegend,e),Uo(t.cameraPosition,e),void 0!==t.tooltip&&(e.showTooltip=t.tooltip),null!=t.onclick&&(e.onclick_callback=t.onclick),void 0!==t.tooltipStyle&&To.selectiveDeepExtend(["tooltipStyle"],e,t)}function Uo(t,e){var n=t;void 0!==n&&(void 0===e.camera&&(e.camera=new Ao),e.camera.setArmRotation(n.horizontal,n.vertical),e.camera.setArmLength(n.distance))}var Bo,Zo={STYLE:Ro,setDefaults:function(t,e){if(void 0===t||Fo(t))throw new Error("No DEFAULTS passed");if(void 0===e)throw new Error("No dst passed");zo(jo=t,e,Io),zo(t,e,No,"default"),Go(t,e),e.margin=10,e.showGrayBottom=!1,e.showTooltip=!1,e.onclick_callback=null,e.eye=new Mo(0,0,-1)},setOptions:function(t,e){if(void 0!==t){if(void 0===e)throw new Error("No dst passed");if(void 0===jo||Fo(jo))throw new Error("DEFAULTS not set for module Settings");Ho(t,e,Io),Ho(t,e,No,"default"),Go(t,e)}},setCameraPosition:Uo},Xo=!1,qo="background: #FFeeee; color: #dd0000",$o=function(){function f(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,f)}return function(t,e,n){e&&So(t.prototype,e),n&&So(t,n)}(f,null,[{key:"validate",value:function(t,e,n){Xo=!1;var r=Bo=e;return void 0!==n&&(r=e[n]),f.parse(t,r,[]),Xo}},{key:"parse",value:function(t,e,n){for(var r in t)t.hasOwnProperty(r)&&f.check(r,t,e,n)}},{key:"check",value:function(t,e,n,r){if(void 0!==n[t]||void 0!==n.__any__){var i=t,a=!0;void 0===n[t]&&void 0!==n.__any__&&(i="__any__",a="object"===f.getType(e[t]));var s=n[i];a&&void 0!==s.__type__&&(s=s.__type__),f.checkFields(t,e,n,i,s,r)}else f.getSuggestion(t,n,r)}},{key:"checkFields",value:function(e,t,n,r,i,a){function s(t){console.log("%c"+t+f.printLocation(a,e),qo)}var o=f.getType(t[e]),u=i[o];void 0!==u?"array"===f.getType(u)&&-1===u.indexOf(t[e])?(s('Invalid option detected in "'+e+'". Allowed values are:'+f.print(u)+' not "'+t[e]+'". '),Xo=!0):"object"===o&&"__any__"!==r&&(a=ms.copyAndExtendArray(a,e),f.parse(t[e],n[r],a)):void 0===i.any&&(s('Invalid type received for "'+e+'". Expected: '+f.print(Object.keys(i))+". Received ["+o+'] "'+t[e]+'"'),Xo=!0)}},{key:"getType",value:function(t){var e=bo(t);return"object"===e?null===t?"null":t instanceof Boolean?"boolean":t instanceof Number?"number":t instanceof String?"string":Array.isArray(t)?"array":t instanceof Date?"date":void 0!==t.nodeType?"dom":!0===t._isAMomentObject?"moment":"object":"number"===e?"number":"boolean"===e?"boolean":"string"===e?"string":void 0===e?"undefined":e}},{key:"getSuggestion",value:function(t,e,n){var r,i=f.findInOptions(t,e,n,!1),a=f.findInOptions(t,Bo,[],!0);r=void 0!==i.indexMatch?" in "+f.printLocation(i.path,t,"")+'Perhaps it was incomplete? Did you mean: "'+i.indexMatch+'"?\n\n':a.distance<=4&&i.distance>a.distance?" in "+f.printLocation(i.path,t,"")+"Perhaps it was misplaced? Matching option found at: "+f.printLocation(a.path,a.closestMatch,""):i.distance<=8?'. Did you mean "'+i.closestMatch+'"?'+f.printLocation(i.path,t):". Did you mean one of these: "+f.print(Object.keys(e))+f.printLocation(n,t),console.log('%cUnknown option detected: "'+t+'"'+r,qo),Xo=!0}},{key:"findInOptions",value:function(t,e,n,r){var i=3<arguments.length&&void 0!==r&&r,a=1e9,s="",o=[],u=t.toLowerCase(),l=void 0;for(var h in e){var c=void 0;if(void 0!==e[h].__type__&&!0===i){var d=f.findInOptions(t,e[h],ms.copyAndExtendArray(n,h));a>d.distance&&(s=d.closestMatch,o=d.path,a=d.distance,l=d.indexMatch)}else-1!==h.toLowerCase().indexOf(u)&&(l=h),(c=f.levenshteinDistance(t,h))<a&&(s=h,o=ms.copyArray(n),a=c)}return{closestMatch:s,path:o,distance:a,indexMatch:l}}},{key:"printLocation",value:function(t,e,n){for(var r="\n\n"+(2<arguments.length&&void 0!==n?n:"Problem value found at: \n")+"options = {\n",i=0;i<t.length;i++){for(var a=0;a<i+1;a++)r+=" ";r+=t[i]+": {\n"}for(var s=0;s<t.length+1;s++)r+=" ";r+=e+"\n";for(var o=0;o<t.length+1;o++){for(var u=0;u<t.length-o;u++)r+=" ";r+="}\n"}return r+"\n\n"}},{key:"print",value:function(t){return JSON.stringify(t).replace(/(\")|(\[)|(\])|(,"__type__")/g,"").replace(/(\,)/g,", ")}},{key:"levenshteinDistance",value:function(t,e){if(0===t.length)return e.length;if(0===e.length)return t.length;var n,r,i=[];for(n=0;n<=e.length;n++)i[n]=[n];for(r=0;r<=t.length;r++)i[0][r]=r;for(n=1;n<=e.length;n++)for(r=1;r<=t.length;r++)e.charAt(n-1)==t.charAt(r-1)?i[n][r]=i[n-1][r-1]:i[n][r]=Math.min(i[n-1][r-1]+1,Math.min(i[n][r-1]+1,i[n-1][r]+1));return i[e.length][t.length]}}]),f}(),Jo=Object.freeze({Validator:$o,printStyle:qo}),Qo="string",Ko="boolean",tu="number",eu="object",nu={fill:{string:Qo},stroke:{string:Qo},strokeWidth:{number:tu},__type__:{string:Qo,object:eu,undefined:"undefined"}},ru={animationAutoStart:{boolean:Ko,undefined:"undefined"},animationInterval:{number:tu},animationPreload:{boolean:Ko},axisColor:{string:Qo},axisFontSize:{number:tu},axisFontType:{string:Qo},backgroundColor:nu,xBarWidth:{number:tu,undefined:"undefined"},yBarWidth:{number:tu,undefined:"undefined"},cameraPosition:{distance:{number:tu},horizontal:{number:tu},vertical:{number:tu},__type__:{object:eu}},zoomable:{boolean:Ko},ctrlToZoom:{boolean:Ko},xCenter:{string:Qo},yCenter:{string:Qo},dataColor:nu,dotSizeMinFraction:{number:tu},dotSizeMaxFraction:{number:tu},dotSizeRatio:{number:tu},filterLabel:{string:Qo},gridColor:{string:Qo},onclick:{function:"function"},keepAspectRatio:{boolean:Ko},xLabel:{string:Qo},yLabel:{string:Qo},zLabel:{string:Qo},legendLabel:{string:Qo},xMin:{number:tu,undefined:"undefined"},yMin:{number:tu,undefined:"undefined"},zMin:{number:tu,undefined:"undefined"},xMax:{number:tu,undefined:"undefined"},yMax:{number:tu,undefined:"undefined"},zMax:{number:tu,undefined:"undefined"},showAnimationControls:{boolean:Ko,undefined:"undefined"},showGrid:{boolean:Ko},showLegend:{boolean:Ko,undefined:"undefined"},showPerspective:{boolean:Ko},showShadow:{boolean:Ko},showXAxis:{boolean:Ko},showYAxis:{boolean:Ko},showZAxis:{boolean:Ko},rotateAxisLabels:{boolean:Ko},xStep:{number:tu,undefined:"undefined"},yStep:{number:tu,undefined:"undefined"},zStep:{number:tu,undefined:"undefined"},style:{number:tu,string:["bar","bar-color","bar-size","dot","dot-line","dot-color","dot-size","line","grid","surface"]},tooltip:{boolean:Ko,function:"function"},tooltipDelay:{number:tu},tooltipStyle:{content:{color:{string:Qo},background:{string:Qo},border:{string:Qo},borderRadius:{string:Qo},boxShadow:{string:Qo},padding:{string:Qo},__type__:{object:eu}},line:{borderLeft:{string:Qo},height:{string:Qo},width:{string:Qo},pointerEvents:{string:Qo},__type__:{object:eu}},dot:{border:{string:Qo},borderRadius:{string:Qo},height:{string:Qo},width:{string:Qo},pointerEvents:{string:Qo},__type__:{object:eu}},__type__:{object:eu}},xValueLabel:{function:"function"},yValueLabel:{function:"function"},zValueLabel:{function:"function"},valueMax:{number:tu,undefined:"undefined"},valueMin:{number:tu,undefined:"undefined"},verticalRatio:{number:tu},height:{string:Qo},width:{string:Qo},__type__:{object:eu}},iu=Object.freeze({allOptions:ru});function au(){this.min=void 0,this.max=void 0}au.prototype.adjust=function(t){void 0!==t&&((void 0===this.min||this.min>t)&&(this.min=t),(void 0===this.max||this.max<t)&&(this.max=t))},au.prototype.combine=function(t){this.add(t.min),this.add(t.max)},au.prototype.expand=function(t){if(void 0!==t){var e=this.min-t,n=this.max+t;if(n<e)throw new Error("Passed expansion value makes range invalid");this.min=e,this.max=n}},au.prototype.range=function(){return this.max-this.min},au.prototype.center=function(){return(this.min+this.max)/2};var su=au,ou=gs(wo),uu=ou.DataView;function lu(t,e,n){this.dataGroup=t,this.column=e,this.graph=n,this.index=void 0,this.value=void 0,this.values=t.getDistinctValues(this.column),0<this.values.length&&this.selectValue(0),this.dataPoints=[],this.loaded=!1,this.onLoadCallback=void 0,n.animationPreload?(this.loaded=!1,this.loadInBackground()):this.loaded=!0}lu.prototype.isLoaded=function(){return this.loaded},lu.prototype.getLoadedProgress=function(){for(var t=this.values.length,e=0;this.dataPoints[e];)e++;return Math.round(e/t*100)},lu.prototype.getLabel=function(){return this.graph.filterLabel},lu.prototype.getColumn=function(){return this.column},lu.prototype.getSelectedValue=function(){if(void 0!==this.index)return this.values[this.index]},lu.prototype.getValues=function(){return this.values},lu.prototype.getValue=function(t){if(t>=this.values.length)throw new Error("Index out of range");return this.values[t]},lu.prototype._getDataPoints=function(t){if(void 0===t&&(t=this.index),void 0===t)return[];var e;if(this.dataPoints[t])e=this.dataPoints[t];else{var n={};n.column=this.column,n.value=this.values[t];var r=new uu(this.dataGroup.getDataSet(),{filter:function(t){return t[n.column]==n.value}}).get();e=this.dataGroup._getDataPoints(r),this.dataPoints[t]=e}return e},lu.prototype.setOnLoadCallback=function(t){this.onLoadCallback=t},lu.prototype.selectValue=function(t){if(t>=this.values.length)throw new Error("Index out of range");this.index=t,this.value=this.values[t]},lu.prototype.loadInBackground=function(t){void 0===t&&(t=0);var e=this.graph.frame;if(t<this.values.length){void 0===e.progress&&(e.progress=document.createElement("DIV"),e.progress.style.position="absolute",e.progress.style.color="gray",e.appendChild(e.progress));var n=this.getLoadedProgress();e.progress.innerHTML="Loading animation... "+n+"%",e.progress.style.bottom="60px",e.progress.style.left="10px";var r=this;setTimeout(function(){r.loadInBackground(t+1)},10),this.loaded=!1}else this.loaded=!0,void 0!==e.progress&&(e.removeChild(e.progress),e.progress=void 0),this.onLoadCallback&&this.onLoadCallback()};var hu=lu,cu=ou.DataSet,du=ou.DataView;function fu(){this.dataTable=null}fu.prototype.initializeData=function(t,e,n){if(void 0!==e){var r;if(Array.isArray(e)&&(e=new cu(e)),!(e instanceof cu||e instanceof du))throw new Error("Array, DataSet, or DataView expected");if(0!=(r=e.get()).length){this.style=n,this.dataSet&&this.dataSet.off("*",this._onChange),this.dataSet=e,this.dataTable=r;var i=this;this._onChange=function(){t.setData(i.dataSet)},this.dataSet.on("*",this._onChange),this.colX="x",this.colY="y",this.colZ="z";var a=t.hasBars(n);if(a&&(void 0!==t.defaultXBarWidth?this.xBarWidth=t.defaultXBarWidth:this.xBarWidth=this.getSmallestDifference(r,this.colX)||1,void 0!==t.defaultYBarWidth?this.yBarWidth=t.defaultYBarWidth:this.yBarWidth=this.getSmallestDifference(r,this.colY)||1),this._initializeRange(r,this.colX,t,a),this._initializeRange(r,this.colY,t,a),this._initializeRange(r,this.colZ,t,!1),r[0].hasOwnProperty("style")){this.colValue="style";var s=this.getColumnRange(r,this.colValue);this._setRangeDefaults(s,t.defaultValueMin,t.defaultValueMax),this.valueRange=s}return this.getDataTable()[0].hasOwnProperty("filter")&&void 0===this.dataFilter&&(this.dataFilter=new hu(this,"filter",t),this.dataFilter.setOnLoadCallback(function(){t.redraw()})),this.dataFilter?this.dataFilter._getDataPoints():this._getDataPoints(this.getDataTable())}}},fu.prototype._collectRangeSettings=function(t,e){if(-1==["x","y","z"].indexOf(t))throw new Error("Column '"+t+"' invalid");var n=t.toUpperCase();return{barWidth:this[t+"BarWidth"],min:e["default"+n+"Min"],max:e["default"+n+"Max"],step:e["default"+n+"Step"],range_label:t+"Range",step_label:t+"Step"}},fu.prototype._initializeRange=function(t,e,n,r){var i=this._collectRangeSettings(e,n),a=this.getColumnRange(t,e);r&&"z"!=e&&a.expand(i.barWidth/2),this._setRangeDefaults(a,i.min,i.max),this[i.range_label]=a,this[i.step_label]=void 0!==i.step?i.step:a.range()/5},fu.prototype.getDistinctValues=function(t,e){void 0===e&&(e=this.dataTable);for(var n=[],r=0;r<e.length;r++){var i=e[r][t]||0;-1===n.indexOf(i)&&n.push(i)}return n.sort(function(t,e){return t-e})},fu.prototype.getSmallestDifference=function(t,e){for(var n=this.getDistinctValues(t,e),r=null,i=1;i<n.length;i++){var a=n[i]-n[i-1];(null==r||a<r)&&(r=a)}return r},fu.prototype.getColumnRange=function(t,e){for(var n=new su,r=0;r<t.length;r++){var i=t[r][e];n.adjust(i)}return n},fu.prototype.getNumberOfRows=function(){return this.dataTable.length},fu.prototype._setRangeDefaults=function(t,e,n){void 0!==e&&(t.min=e),void 0!==n&&(t.max=n),t.max<=t.min&&(t.max=t.min+1)},fu.prototype.getDataTable=function(){return this.dataTable},fu.prototype.getDataSet=function(){return this.dataSet},fu.prototype.getDataPoints=function(t){for(var e=[],n=0;n<t.length;n++){var r=new Mo;r.x=t[n][this.colX]||0,r.y=t[n][this.colY]||0,r.z=t[n][this.colZ]||0,r.data=t[n],void 0!==this.colValue&&(r.value=t[n][this.colValue]||0);var i={};i.point=r,i.bottom=new Mo(r.x,r.y,this.zRange.min),i.trans=void 0,i.screen=void 0,e.push(i)}return e},fu.prototype.initDataAsMatrix=function(t){var e,n,r,i,a=this.getDistinctValues(this.colX,t),s=this.getDistinctValues(this.colY,t),o=this.getDataPoints(t),u=[];for(r=0;r<o.length;r++){i=o[r];var l=a.indexOf(i.point.x),h=s.indexOf(i.point.y);void 0===u[l]&&(u[l]=[]),u[l][h]=i}for(e=0;e<u.length;e++)for(n=0;n<u[e].length;n++)u[e][n]&&(u[e][n].pointRight=e<u.length-1?u[e+1][n]:void 0,u[e][n].pointTop=n<u[e].length-1?u[e][n+1]:void 0,u[e][n].pointCross=e<u.length-1&&n<u[e].length-1?u[e+1][n+1]:void 0);return o},fu.prototype.getInfo=function(){var t=this.dataFilter;if(t)return t.getLabel()+": "+t.getSelectedValue()},fu.prototype.reload=function(){this.dataTable&&this.setData(this.dataTable)},fu.prototype._getDataPoints=function(t){var e=[];if(this.style===Zo.STYLE.GRID||this.style===Zo.STYLE.SURFACE)e=this.initDataAsMatrix(t);else if(this._checkValueField(t),e=this.getDataPoints(t),this.style===Zo.STYLE.LINE)for(var n=0;n<e.length;n++)0<n&&(e[n-1].pointNext=e[n]);return e},fu.prototype._checkValueField=function(t){if(this.style===Zo.STYLE.BARCOLOR||this.style===Zo.STYLE.BARSIZE||this.style===Zo.STYLE.DOTCOLOR||this.style===Zo.STYLE.DOTSIZE){if(void 0===this.colValue)throw new Error("Expected data to have field 'style' for graph style '"+this.style+"'");if(void 0===t[0][this.colValue])throw new Error("Expected data to have field '"+this.colValue+"' for graph style '"+this.style+"'")}};var mu=fu,pu=gs(Jo),yu=gs(iu),vu=pu.Validator,gu=pu.printStyle,_u=yu.allOptions;bu.STYLE=Zo.STYLE;var wu=void 0;function bu(t,e,n){if(!(this instanceof bu))throw new SyntaxError("Constructor must be called with the new operator");this.containerElement=t,this.dataGroup=new mu,this.dataPoints=null,this.create(),Zo.setDefaults(bu.DEFAULTS,this),this.colX=void 0,this.colY=void 0,this.colZ=void 0,this.colValue=void 0,this.setOptions(n),this.setData(e)}function Su(t){return"clientX"in t?t.clientX:t.targetTouches[0]&&t.targetTouches[0].clientX||0}function ku(t){return"clientY"in t?t.clientY:t.targetTouches[0]&&t.targetTouches[0].clientY||0}bu.DEFAULTS={width:"400px",height:"400px",filterLabel:"time",legendLabel:"value",xLabel:"x",yLabel:"y",zLabel:"z",xValueLabel:function(t){return t},yValueLabel:function(t){return t},zValueLabel:function(t){return t},showXAxis:!0,showYAxis:!0,showZAxis:!0,showGrid:!0,showPerspective:!0,showShadow:!1,keepAspectRatio:!0,rotateAxisLabels:!0,verticalRatio:.5,dotSizeRatio:.02,dotSizeMinFraction:.5,dotSizeMaxFraction:2.5,showAnimationControls:wu,animationInterval:1e3,animationPreload:!1,animationAutoStart:wu,axisFontSize:14,axisFontType:"arial",axisColor:"#4D4D4D",gridColor:"#D3D3D3",xCenter:"55%",yCenter:"50%",style:bu.STYLE.DOT,tooltip:!1,tooltipDelay:300,tooltipStyle:{content:{padding:"10px",border:"1px solid #4d4d4d",color:"#1a1a1a",background:"rgba(255,255,255,0.7)",borderRadius:"2px",boxShadow:"5px 5px 10px rgba(128,128,128,0.5)"},line:{height:"40px",width:"0",borderLeft:"1px solid #4d4d4d",pointerEvents:"none"},dot:{height:"0",width:"0",border:"5px solid #4d4d4d",borderRadius:"5px",pointerEvents:"none"}},dataColor:{fill:"#7DC1FF",stroke:"#3267D2",strokeWidth:1},cameraPosition:{horizontal:1,vertical:.5,distance:1.7},zoomable:!0,ctrlToZoom:!1,showLegend:wu,backgroundColor:wu,xBarWidth:wu,yBarWidth:wu,valueMin:wu,valueMax:wu,xMin:wu,xMax:wu,xStep:wu,yMin:wu,yMax:wu,yStep:wu,zMin:wu,zMax:wu,zStep:wu},ko(bu.prototype),bu.prototype._setScale=function(){this.scale=new Mo(1/this.xRange.range(),1/this.yRange.range(),1/this.zRange.range()),this.keepAspectRatio&&(this.scale.x<this.scale.y?this.scale.y=this.scale.x:this.scale.x=this.scale.y),this.scale.z*=this.verticalRatio,void 0!==this.valueRange&&(this.scale.value=1/this.valueRange.range());var t=this.xRange.center()*this.scale.x,e=this.yRange.center()*this.scale.y,n=this.zRange.center()*this.scale.z;this.camera.setArmLocation(t,e,n)},bu.prototype._convert3Dto2D=function(t){var e=this._convertPointToTranslation(t);return this._convertTranslationToScreen(e)},bu.prototype._convertPointToTranslation=function(t){var e=this.camera.getCameraLocation(),n=this.camera.getCameraRotation(),r=t.x*this.scale.x,i=t.y*this.scale.y,a=t.z*this.scale.z,s=e.x,o=e.y,u=e.z,l=Math.sin(n.x),h=Math.cos(n.x),c=Math.sin(n.y),d=Math.cos(n.y),f=Math.sin(n.z),m=Math.cos(n.z);return new Mo(d*(f*(i-o)+m*(r-s))-c*(a-u),l*(d*(a-u)+c*(f*(i-o)+m*(r-s)))+h*(m*(i-o)-f*(r-s)),h*(d*(a-u)+c*(f*(i-o)+m*(r-s)))-l*(m*(i-o)-f*(r-s)))},bu.prototype._convertTranslationToScreen=function(t){var e,n,r=this.eye.x,i=this.eye.y,a=this.eye.z,s=t.x,o=t.y,u=t.z;return n=this.showPerspective?(e=a/u*(s-r),a/u*(o-i)):(e=s*(-a/this.camera.getArmLength()),o*(-a/this.camera.getArmLength())),new Oo(this.currentXCenter+e*this.frame.canvas.clientWidth,this.currentYCenter-n*this.frame.canvas.clientWidth)},bu.prototype._calcTranslations=function(t){for(var e=0;e<t.length;e++){var n=t[e];n.trans=this._convertPointToTranslation(n.point),n.screen=this._convertTranslationToScreen(n.trans);var r=this._convertPointToTranslation(n.bottom);n.dist=this.showPerspective?r.length():-r.z}t.sort(function(t,e){return e.dist-t.dist})},bu.prototype._initializeRanges=function(){var t=this.dataGroup;this.xRange=t.xRange,this.yRange=t.yRange,this.zRange=t.zRange,this.valueRange=t.valueRange,this.xStep=t.xStep,this.yStep=t.yStep,this.zStep=t.zStep,this.xBarWidth=t.xBarWidth,this.yBarWidth=t.yBarWidth,this.colX=t.colX,this.colY=t.colY,this.colZ=t.colZ,this.colValue=t.colValue,this._setScale()},bu.prototype.getDataPoints=function(t){for(var e=[],n=0;n<t.length;n++){var r=new Mo;r.x=t[n][this.colX]||0,r.y=t[n][this.colY]||0,r.z=t[n][this.colZ]||0,r.data=t[n],void 0!==this.colValue&&(r.value=t[n][this.colValue]||0);var i={};i.point=r,i.bottom=new Mo(r.x,r.y,this.zRange.min),i.trans=void 0,i.screen=void 0,e.push(i)}return e},bu.prototype._getDataPoints=function(t){var e,n,r,i,a=[];if(this.style===bu.STYLE.GRID||this.style===bu.STYLE.SURFACE){var s=this.dataGroup.getDistinctValues(this.colX,t),o=this.dataGroup.getDistinctValues(this.colY,t);a=this.getDataPoints(t);var u=[];for(r=0;r<a.length;r++){i=a[r];var l=s.indexOf(i.point.x),h=o.indexOf(i.point.y);void 0===u[l]&&(u[l]=[]),u[l][h]=i}for(e=0;e<u.length;e++)for(n=0;n<u[e].length;n++)u[e][n]&&(u[e][n].pointRight=e<u.length-1?u[e+1][n]:void 0,u[e][n].pointTop=n<u[e].length-1?u[e][n+1]:void 0,u[e][n].pointCross=e<u.length-1&&n<u[e].length-1?u[e+1][n+1]:void 0)}else if(this._checkValueField(t),a=this.getDataPoints(t),this.style===bu.STYLE.LINE)for(r=0;r<a.length;r++)0<r&&(a[r-1].pointNext=a[r]);return a},bu.prototype.create=function(){for(;this.containerElement.hasChildNodes();)this.containerElement.removeChild(this.containerElement.firstChild);this.frame=document.createElement("div"),this.frame.style.position="relative",this.frame.style.overflow="hidden",this.frame.canvas=document.createElement("canvas"),this.frame.canvas.style.position="relative",this.frame.appendChild(this.frame.canvas);var t=document.createElement("DIV");t.style.color="red",t.style.fontWeight="bold",t.style.padding="10px",t.innerHTML="Error: your browser does not support HTML canvas",this.frame.canvas.appendChild(t),this.frame.filter=document.createElement("div"),this.frame.filter.style.position="absolute",this.frame.filter.style.bottom="0px",this.frame.filter.style.left="0px",this.frame.filter.style.width="100%",this.frame.appendChild(this.frame.filter);var e=this;To.addEventListener(this.frame.canvas,"mousedown",function(t){e._onMouseDown(t)}),To.addEventListener(this.frame.canvas,"touchstart",function(t){e._onTouchStart(t)}),To.addEventListener(this.frame.canvas,"mousewheel",function(t){e._onWheel(t)}),To.addEventListener(this.frame.canvas,"mousemove",function(t){e._onTooltip(t)}),To.addEventListener(this.frame.canvas,"click",function(t){e._onClick(t)}),this.containerElement.appendChild(this.frame)},bu.prototype._setSize=function(t,e){this.frame.style.width=t,this.frame.style.height=e,this._resizeCanvas()},bu.prototype._resizeCanvas=function(){this.frame.canvas.style.width="100%",this.frame.canvas.style.height="100%",this.frame.canvas.width=this.frame.canvas.clientWidth,this.frame.canvas.height=this.frame.canvas.clientHeight,this.frame.filter.style.width=this.frame.canvas.clientWidth-20+"px"},bu.prototype.animationStart=function(){if(this.animationAutoStart&&this.dataGroup.dataFilter){if(!this.frame.filter||!this.frame.filter.slider)throw new Error("No animation available");this.frame.filter.slider.play()}},bu.prototype.animationStop=function(){this.frame.filter&&this.frame.filter.slider&&this.frame.filter.slider.stop()},bu.prototype._resizeCenter=function(){"%"===this.xCenter.charAt(this.xCenter.length-1)?this.currentXCenter=parseFloat(this.xCenter)/100*this.frame.canvas.clientWidth:this.currentXCenter=parseFloat(this.xCenter),"%"===this.yCenter.charAt(this.yCenter.length-1)?this.currentYCenter=parseFloat(this.yCenter)/100*(this.frame.canvas.clientHeight-this.frame.filter.clientHeight):this.currentYCenter=parseFloat(this.yCenter)},bu.prototype.getCameraPosition=function(){var t=this.camera.getArmRotation();return t.distance=this.camera.getArmLength(),t},bu.prototype._readData=function(t){this.dataPoints=this.dataGroup.initializeData(this,t,this.style),this._initializeRanges(),this._redrawFilter()},bu.prototype.setData=function(t){null!=t&&(this._readData(t),this.redraw(),this.animationStart())},bu.prototype.setOptions=function(t){void 0!==t&&(!0===vu.validate(t,_u)&&console.log("%cErrors have been found in the supplied options object.",gu),this.animationStop(),Zo.setOptions(t,this),this.setPointDrawingMethod(),this._setSize(this.width,this.height),this.setAxisLabelMethod(),this.setData(this.dataGroup.getDataTable()),this.animationStart())},bu.prototype.setPointDrawingMethod=function(){var t=void 0;switch(this.style){case bu.STYLE.BAR:t=bu.prototype._redrawBarGraphPoint;break;case bu.STYLE.BARCOLOR:t=bu.prototype._redrawBarColorGraphPoint;break;case bu.STYLE.BARSIZE:t=bu.prototype._redrawBarSizeGraphPoint;break;case bu.STYLE.DOT:t=bu.prototype._redrawDotGraphPoint;break;case bu.STYLE.DOTLINE:t=bu.prototype._redrawDotLineGraphPoint;break;case bu.STYLE.DOTCOLOR:t=bu.prototype._redrawDotColorGraphPoint;break;case bu.STYLE.DOTSIZE:t=bu.prototype._redrawDotSizeGraphPoint;break;case bu.STYLE.SURFACE:t=bu.prototype._redrawSurfaceGraphPoint;break;case bu.STYLE.GRID:t=bu.prototype._redrawGridGraphPoint;break;case bu.STYLE.LINE:t=bu.prototype._redrawLineGraphPoint;break;default:throw new Error("Can not determine point drawing method for graph style '"+this.style+"'")}this._pointDrawingMethod=t},bu.prototype.setAxisLabelMethod=function(){var t,e,n;t=e=n=void 0,n=1==this.rotateAxisLabels?(t=bu.prototype.drawAxisLabelXRotate,e=bu.prototype.drawAxisLabelYRotate,bu.prototype.drawAxisLabelZRotate):(t=bu.prototype.drawAxisLabelX,e=bu.prototype.drawAxisLabelY,bu.prototype.drawAxisLabelZ),this._drawAxisLabelX=t,this._drawAxisLabelY=e,this._drawAxisLabelZ=n},bu.prototype.redraw=function(){if(void 0===this.dataPoints)throw new Error("Graph data not initialized");this._resizeCanvas(),this._resizeCenter(),this._redrawSlider(),this._redrawClear(),this._redrawAxis(),this._redrawDataGraph(),this._redrawInfo(),this._redrawLegend()},bu.prototype._getContext=function(){var t=this.frame.canvas.getContext("2d");return t.lineJoin="round",t.lineCap="round",t},bu.prototype._redrawClear=function(){var t=this.frame.canvas;t.getContext("2d").clearRect(0,0,t.width,t.height)},bu.prototype._dotSize=function(){return this.frame.clientWidth*this.dotSizeRatio},bu.prototype._getLegendWidth=function(){var t;this.style===bu.STYLE.DOTSIZE?t=this._dotSize()*this.dotSizeMaxFraction:t=this.style===bu.STYLE.BARSIZE?this.xBarWidth:20;return t},bu.prototype._redrawLegend=function(){if(!0===this.showLegend&&this.style!==bu.STYLE.LINE&&this.style!==bu.STYLE.BARSIZE){var t=this.style===bu.STYLE.BARSIZE||this.style===bu.STYLE.DOTSIZE,e=this.style===bu.STYLE.DOTSIZE||this.style===bu.STYLE.DOTCOLOR||this.style===bu.STYLE.BARCOLOR,n=Math.max(.25*this.frame.clientHeight,100),r=this.margin,i=this._getLegendWidth(),a=this.frame.clientWidth-this.margin,s=a-i,o=r+n,u=this._getContext();if(u.lineWidth=1,!(u.font="14px arial")==t){var l,h=n;for(l=0;l<h;l++){var c=240*((l-0)/(h-0)),d=this._hsv2rgb(c,1,1);u.strokeStyle=d,u.beginPath(),u.moveTo(s,r+l),u.lineTo(a,r+l),u.stroke()}u.strokeStyle=this.axisColor,u.strokeRect(s,r,i,n)}else{var f;this.style===bu.STYLE.DOTSIZE?f=i*(this.dotSizeMinFraction/this.dotSizeMaxFraction):(this.style,bu.STYLE.BARSIZE),u.strokeStyle=this.axisColor,u.fillStyle=this.dataColor.fill,u.beginPath(),u.moveTo(s,r),u.lineTo(a,r),u.lineTo(s+f,o),u.lineTo(s,o),u.closePath(),u.fill(),u.stroke()}var m,p,y=e?this.valueRange.min:this.zRange.min,v=e?this.valueRange.max:this.zRange.max,g=new Eo(y,v,(v-y)/5,!0);for(g.start(!0);!g.end();)l=o-(g.getCurrent()-y)/(v-y)*n,m=new Oo(s-5,l),p=new Oo(s,l),this._line(u,m,p),u.textAlign="right",u.textBaseline="middle",u.fillStyle=this.axisColor,u.fillText(g.getCurrent(),s-10,l),g.next();u.textAlign="right",u.textBaseline="top";var _=this.legendLabel;u.fillText(_,a,o+this.margin)}},bu.prototype._redrawFilter=function(){var t=this.dataGroup.dataFilter,e=this.frame.filter;if(e.innerHTML="",t){var n={visible:this.showAnimationControls},r=new Po(e,n);e.slider=r,e.style.padding="10px",r.setValues(t.values),r.setPlayInterval(this.animationInterval);var i=this;r.setOnChangeCallback(function(){var t=i.dataGroup.dataFilter,e=r.getIndex();t.selectValue(e),i.dataPoints=t._getDataPoints(),i.redraw()})}else e.slider=void 0},bu.prototype._redrawSlider=function(){void 0!==this.frame.filter.slider&&this.frame.filter.slider.redraw()},bu.prototype._redrawInfo=function(){var t=this.dataGroup.getInfo();if(void 0!==t){var e=this._getContext();e.font="14px arial",e.lineStyle="gray",e.fillStyle="gray",e.textAlign="left",e.textBaseline="top";var n=this.margin,r=this.margin;e.fillText(t,n,r)}},bu.prototype._line=function(t,e,n,r){void 0!==r&&(t.strokeStyle=r),t.beginPath(),t.moveTo(e.x,e.y),t.lineTo(n.x,n.y),t.stroke()},bu.prototype.drawAxisLabelX=function(t,e,n,r,i){void 0===i&&(i=0);var a=this._convert3Dto2D(e);0<Math.cos(2*r)?(t.textAlign="center",t.textBaseline="top",a.y+=i):(Math.sin(2*r)<0?t.textAlign="right":t.textAlign="left",t.textBaseline="middle"),t.fillStyle=this.axisColor,t.fillText(n,a.x,a.y)},bu.prototype.drawAxisLabelY=function(t,e,n,r,i){void 0===i&&(i=0);var a=this._convert3Dto2D(e);Math.cos(2*r)<0?(t.textAlign="center",t.textBaseline="top",a.y+=i):(0<Math.sin(2*r)?t.textAlign="right":t.textAlign="left",t.textBaseline="middle"),t.fillStyle=this.axisColor,t.fillText(n,a.x,a.y)},bu.prototype.drawAxisLabelZ=function(t,e,n,r){void 0===r&&(r=0);var i=this._convert3Dto2D(e);t.textAlign="right",t.textBaseline="middle",t.fillStyle=this.axisColor,t.fillText(n,i.x-r,i.y)},bu.prototype.drawAxisLabelXRotate=function(t,e,n,r,i){void 0===i&&(i=0);var a=this._convert3Dto2D(e);0<Math.cos(2*r)?(t.save(),t.get,t.translate(a.x,a.y),t.rotate(Math.PI/2),t.fillText(n,a.x/100,a.y/100),t.textAlign="center",t.textBaseline="top",a.y+=i,t.restore()):(Math.sin(2*r)<0?t.textAlign="right":t.textAlign="left",t.textBaseline="middle",t.fillStyle=this.axisColor,t.fillText(n,a.x,a.y))},bu.prototype.drawAxisLabelYRotate=function(t,e,n,r,i){void 0===i&&(i=0);var a=this._convert3Dto2D(e);Math.cos(2*r)<0&&Math.sin(2*r)<0?(t.save(),t.get,t.translate(a.x,a.y),t.rotate(Math.PI/2*-1),t.fillText(n,a.x/100,a.y/100),t.textAlign="center",t.textBaseline="top",a.y+=i,t.restore()):Math.cos(2*r)<0?(t.save(),t.get,t.translate(a.x,a.y),t.rotate(Math.PI/2),t.fillText(n,a.x/100,a.y/100),t.textAlign="center",t.textBaseline="top",a.y+=i,t.restore()):(0<Math.sin(2*r)?t.textAlign="right":t.textAlign="left",t.textBaseline="middle",t.fillStyle=this.axisColor,t.fillText(n,a.x,a.y))},bu.prototype.drawAxisLabelZRotate=function(t,e,n,r){void 0===r&&(r=0);var i=this._convert3Dto2D(e);t.textAlign="right",t.textBaseline="middle",t.fillStyle=this.axisColor,t.fillText(n,i.x-r,i.y)},bu.prototype._line3d=function(t,e,n,r){var i=this._convert3Dto2D(e),a=this._convert3Dto2D(n);this._line(t,i,a,r)},bu.prototype._redrawAxis=function(){var t,e,n,r,i,a,s,o,u,l,h=this._getContext();h.font=this.axisFontSize/this.camera.getArmLength()+"px "+this.axisFontType;var c,d,f,m=.025/this.scale.x,p=.025/this.scale.y,y=5/this.camera.getArmLength(),v=this.camera.getArmRotation().horizontal,g=new Oo(Math.cos(v),Math.sin(v)),_=this.xRange,w=this.yRange,b=this.zRange;for(h.lineWidth=1,r=void 0===this.defaultXStep,(n=new Eo(_.min,_.max,this.xStep,r)).start(!0);!n.end();){var S=n.getCurrent();if(this.showGrid?(t=new Mo(S,w.min,b.min),e=new Mo(S,w.max,b.min),this._line3d(h,t,e,this.gridColor)):this.showXAxis&&(t=new Mo(S,w.min,b.min),e=new Mo(S,w.min+m,b.min),this._line3d(h,t,e,this.axisColor),t=new Mo(S,w.max,b.min),e=new Mo(S,w.max-m,b.min),this._line3d(h,t,e,this.axisColor)),this.showXAxis){s=0<g.x?w.min:w.max,c=new Mo(S,s,b.min);var k=" "+this.xValueLabel(S)+" ";this._drawAxisLabelX.call(this,h,c,k,v,y)}n.next()}for(h.lineWidth=1,r=void 0===this.defaultYStep,(n=new Eo(w.min,w.max,this.yStep,r)).start(!0);!n.end();){var x=n.getCurrent();if(this.showGrid?(t=new Mo(_.min,x,b.min),e=new Mo(_.max,x,b.min),this._line3d(h,t,e,this.gridColor)):this.showYAxis&&(t=new Mo(_.min,x,b.min),e=new Mo(_.min+p,x,b.min),this._line3d(h,t,e,this.axisColor),t=new Mo(_.max,x,b.min),e=new Mo(_.max-p,x,b.min),this._line3d(h,t,e,this.axisColor)),this.showYAxis){a=0<g.y?_.min:_.max,c=new Mo(a,x,b.min);var D=" "+this.yValueLabel(x)+" ";this._drawAxisLabelY.call(this,h,c,D,v,y)}n.next()}if(this.showZAxis){for(h.lineWidth=1,r=void 0===this.defaultZStep,(n=new Eo(b.min,b.max,this.zStep,r)).start(!0),a=0<g.x?_.min:_.max,s=g.y<0?w.min:w.max;!n.end();){var M=n.getCurrent(),O=new Mo(a,s,M),T=this._convert3Dto2D(O);e=new Oo(T.x-y,T.y),this._line(h,T,e,this.axisColor);var Y=this.zValueLabel(M)+" ";this._drawAxisLabelZ.call(this,h,O,Y,5),n.next()}h.lineWidth=1,t=new Mo(a,s,b.min),e=new Mo(a,s,b.max),this._line3d(h,t,e,this.axisColor)}this.showXAxis&&(h.lineWidth=1,d=new Mo(_.min,w.min,b.min),f=new Mo(_.max,w.min,b.min),this._line3d(h,d,f,this.axisColor),d=new Mo(_.min,w.max,b.min),f=new Mo(_.max,w.max,b.min),this._line3d(h,d,f,this.axisColor));this.showYAxis&&(h.lineWidth=1,t=new Mo(_.min,w.min,b.min),e=new Mo(_.min,w.max,b.min),this._line3d(h,t,e,this.axisColor),t=new Mo(_.max,w.min,b.min),e=new Mo(_.max,w.max,b.min),this._line3d(h,t,e,this.axisColor));var P=this.xLabel;0<P.length&&this.showXAxis&&(l=.1/this.scale.y,a=(_.max+3*_.min)/4,s=0<g.x?w.min-l:w.max+l,i=new Mo(a,s,b.min),this.drawAxisLabelX(h,i,P,v));var C=this.yLabel;0<C.length&&this.showYAxis&&(u=.1/this.scale.x,a=0<g.y?_.min-u:_.max+u,s=(w.max+3*w.min)/4,i=new Mo(a,s,b.min),this.drawAxisLabelY(h,i,C,v));var E=this.zLabel;0<E.length&&this.showZAxis&&(a=0<g.x?_.min:_.max,s=g.y<0?w.min:w.max,o=(b.max+3*b.min)/4,i=new Mo(a,s,o),this.drawAxisLabelZ(h,i,E,30))},bu.prototype._hsv2rgb=function(t,e,n){var r,i,a,s,o,u;switch(s=n*e,o=Math.floor(t/60),u=s*(1-Math.abs(t/60%2-1)),o){case 0:r=s,i=u,a=0;break;case 1:r=u,i=s,a=0;break;case 2:r=0,i=s,a=u;break;case 3:r=0,i=u,a=s;break;case 4:r=u,i=0,a=s;break;case 5:r=s,i=0,a=u;break;default:a=i=r=0}return"RGB("+parseInt(255*r)+","+parseInt(255*i)+","+parseInt(255*a)+")"},bu.prototype._getStrokeWidth=function(t){return void 0!==t?this.showPerspective?1/-t.trans.z*this.dataColor.strokeWidth:-this.eye.z/this.camera.getArmLength()*this.dataColor.strokeWidth:this.dataColor.strokeWidth},bu.prototype._redrawBar=function(t,e,n,r,i,a){var s,o=this,u=e.point,l=this.zRange.min,h=[{point:new Mo(u.x-n,u.y-r,u.z)},{point:new Mo(u.x+n,u.y-r,u.z)},{point:new Mo(u.x+n,u.y+r,u.z)},{point:new Mo(u.x-n,u.y+r,u.z)}],c=[{point:new Mo(u.x-n,u.y-r,l)},{point:new Mo(u.x+n,u.y-r,l)},{point:new Mo(u.x+n,u.y+r,l)},{point:new Mo(u.x-n,u.y+r,l)}];h.forEach(function(t){t.screen=o._convert3Dto2D(t.point)}),c.forEach(function(t){t.screen=o._convert3Dto2D(t.point)});var d=[{corners:h,center:Mo.avg(c[0].point,c[2].point)},{corners:[h[0],h[1],c[1],c[0]],center:Mo.avg(c[1].point,c[0].point)},{corners:[h[1],h[2],c[2],c[1]],center:Mo.avg(c[2].point,c[1].point)},{corners:[h[2],h[3],c[3],c[2]],center:Mo.avg(c[3].point,c[2].point)},{corners:[h[3],h[0],c[0],c[3]],center:Mo.avg(c[0].point,c[3].point)}];e.surfaces=d;for(var f=0;f<d.length;f++){s=d[f];var m=this._convertPointToTranslation(s.center);s.dist=this.showPerspective?m.length():-m.z}d.sort(function(t,e){var n=e.dist-t.dist;return n||(t.corners===h?1:e.corners===h?-1:0)}),t.lineWidth=this._getStrokeWidth(e),t.strokeStyle=a,t.fillStyle=i;for(var p=2;p<d.length;p++)s=d[p],this._polygon(t,s.corners)},bu.prototype._polygon=function(t,e,n,r){if(!(e.length<2)){void 0!==n&&(t.fillStyle=n),void 0!==r&&(t.strokeStyle=r),t.beginPath(),t.moveTo(e[0].screen.x,e[0].screen.y);for(var i=1;i<e.length;++i){var a=e[i];t.lineTo(a.screen.x,a.screen.y)}t.closePath(),t.fill(),t.stroke()}},bu.prototype._drawCircle=function(t,e,n,r,i){var a=this._calcRadius(e,i);t.lineWidth=this._getStrokeWidth(e),t.strokeStyle=r,t.fillStyle=n,t.beginPath(),t.arc(e.screen.x,e.screen.y,a,0,2*Math.PI,!0),t.fill(),t.stroke()},bu.prototype._getColorsRegular=function(t){var e=240*(1-(t.point.z-this.zRange.min)*this.scale.z/this.verticalRatio);return{fill:this._hsv2rgb(e,1,1),border:this._hsv2rgb(e,1,.8)}},bu.prototype._getColorsColor=function(t){var e,n,r;if(t&&t.point&&t.point.data&&t.point.data.style&&(r=t.point.data.style),r&&"object"===bo(r)&&r.fill&&r.stroke)return{fill:r.fill,border:r.stroke};if("string"==typeof t.point.value)e=t.point.value,n=t.point.value;else{var i=240*(1-(t.point.value-this.valueRange.min)*this.scale.value);e=this._hsv2rgb(i,1,1),n=this._hsv2rgb(i,1,.8)}return{fill:e,border:n}},bu.prototype._getColorsSize=function(){return{fill:this.dataColor.fill,border:this.dataColor.stroke}},bu.prototype._calcRadius=function(t,e){var n;return void 0===e&&(e=this._dotSize()),(n=this.showPerspective?e/-t.trans.z:e*(-this.eye.z/this.camera.getArmLength()))<0&&(n=0),n},bu.prototype._redrawBarGraphPoint=function(t,e){var n=this.xBarWidth/2,r=this.yBarWidth/2,i=this._getColorsRegular(e);this._redrawBar(t,e,n,r,i.fill,i.border)},bu.prototype._redrawBarColorGraphPoint=function(t,e){var n=this.xBarWidth/2,r=this.yBarWidth/2,i=this._getColorsColor(e);this._redrawBar(t,e,n,r,i.fill,i.border)},bu.prototype._redrawBarSizeGraphPoint=function(t,e){var n=(e.point.value-this.valueRange.min)/this.valueRange.range(),r=this.xBarWidth/2*(.8*n+.2),i=this.yBarWidth/2*(.8*n+.2),a=this._getColorsSize();this._redrawBar(t,e,r,i,a.fill,a.border)},bu.prototype._redrawDotGraphPoint=function(t,e){var n=this._getColorsRegular(e);this._drawCircle(t,e,n.fill,n.border)},bu.prototype._redrawDotLineGraphPoint=function(t,e){var n=this._convert3Dto2D(e.bottom);t.lineWidth=1,this._line(t,n,e.screen,this.gridColor),this._redrawDotGraphPoint(t,e)},bu.prototype._redrawDotColorGraphPoint=function(t,e){var n=this._getColorsColor(e);this._drawCircle(t,e,n.fill,n.border)},bu.prototype._redrawDotSizeGraphPoint=function(t,e){var n=this._dotSize(),r=(e.point.value-this.valueRange.min)/this.valueRange.range(),i=n*this.dotSizeMinFraction,a=i+(n*this.dotSizeMaxFraction-i)*r,s=this._getColorsSize();this._drawCircle(t,e,s.fill,s.border,a)},bu.prototype._redrawSurfaceGraphPoint=function(t,e){var n=e.pointRight,r=e.pointTop,i=e.pointCross;if(void 0!==e&&void 0!==n&&void 0!==r&&void 0!==i){var a,s,o=!0;if(this.showGrayBottom||this.showShadow){var u=Mo.subtract(i.trans,e.trans),l=Mo.subtract(r.trans,n.trans),h=Mo.crossProduct(u,l),c=h.length();o=0<h.z}if(o){var d,f=240*(1-((e.point.z+n.point.z+r.point.z+i.point.z)/4-this.zRange.min)*this.scale.z/this.verticalRatio);s=this.showShadow?(d=Math.min(1+h.x/c/2,1),a=this._hsv2rgb(f,1,d)):(d=1,a=this._hsv2rgb(f,1,d),this.axisColor)}else a="gray",s=this.axisColor;t.lineWidth=this._getStrokeWidth(e);var m=[e,n,i,r];this._polygon(t,m,a,s)}},bu.prototype._drawGridLine=function(t,e,n){if(void 0!==e&&void 0!==n){var r=240*(1-((e.point.z+n.point.z)/2-this.zRange.min)*this.scale.z/this.verticalRatio);t.lineWidth=2*this._getStrokeWidth(e),t.strokeStyle=this._hsv2rgb(r,1,1),this._line(t,e.screen,n.screen)}},bu.prototype._redrawGridGraphPoint=function(t,e){this._drawGridLine(t,e,e.pointRight),this._drawGridLine(t,e,e.pointTop)},bu.prototype._redrawLineGraphPoint=function(t,e){void 0!==e.pointNext&&(t.lineWidth=this._getStrokeWidth(e),t.strokeStyle=this.dataColor.stroke,this._line(t,e.screen,e.pointNext.screen))},bu.prototype._redrawDataGraph=function(){var t,e=this._getContext();if(!(void 0===this.dataPoints||this.dataPoints.length<=0))for(this._calcTranslations(this.dataPoints),t=0;t<this.dataPoints.length;t++){var n=this.dataPoints[t];this._pointDrawingMethod.call(this,e,n)}},bu.prototype._storeMousePosition=function(t){this.startMouseX=Su(t),this.startMouseY=ku(t),this._startCameraOffset=this.camera.getOffset()},bu.prototype._onMouseDown=function(t){if(t=t||window.event,this.leftButtonDown&&this._onMouseUp(t),this.leftButtonDown=t.which?1===t.which:1===t.button,this.leftButtonDown||this.touchDown){this._storeMousePosition(t),this.startStart=new Date(this.start),this.startEnd=new Date(this.end),this.startArmRotation=this.camera.getArmRotation(),this.frame.style.cursor="move";var e=this;this.onmousemove=function(t){e._onMouseMove(t)},this.onmouseup=function(t){e._onMouseUp(t)},To.addEventListener(document,"mousemove",e.onmousemove),To.addEventListener(document,"mouseup",e.onmouseup),To.preventDefault(t)}},bu.prototype._onMouseMove=function(t){this.moving=!0,t=t||window.event;var e=parseFloat(Su(t))-this.startMouseX,n=parseFloat(ku(t))-this.startMouseY;if(t&&!0===t.ctrlKey){var r=.5*this.frame.clientWidth,i=.5*this.frame.clientHeight,a=(this._startCameraOffset.x||0)-e/r*this.camera.armLength*.8,s=(this._startCameraOffset.y||0)+n/i*this.camera.armLength*.8;this.camera.setOffset(a,s),this._storeMousePosition(t)}else{var o=this.startArmRotation.horizontal+e/200,u=this.startArmRotation.vertical+n/200,l=Math.sin(4/360*2*Math.PI);Math.abs(Math.sin(o))<l&&(o=Math.round(o/Math.PI)*Math.PI-.001),Math.abs(Math.cos(o))<l&&(o=(Math.round(o/Math.PI-.5)+.5)*Math.PI-.001),Math.abs(Math.sin(u))<l&&(u=Math.round(u/Math.PI)*Math.PI),Math.abs(Math.cos(u))<l&&(u=(Math.round(u/Math.PI-.5)+.5)*Math.PI),this.camera.setArmRotation(o,u)}this.redraw();var h=this.getCameraPosition();this.emit("cameraPositionChange",h),To.preventDefault(t)},bu.prototype._onMouseUp=function(t){this.frame.style.cursor="auto",this.leftButtonDown=!1,To.removeEventListener(document,"mousemove",this.onmousemove),To.removeEventListener(document,"mouseup",this.onmouseup),To.preventDefault(t)},bu.prototype._onClick=function(t){if(this.onclick_callback){if(this.moving)this.moving=!1;else{var e=this.frame.getBoundingClientRect(),n=Su(t)-e.left,r=ku(t)-e.top,i=this._dataPointFromXY(n,r);i&&this.onclick_callback(i.point.data)}To.preventDefault(t)}},bu.prototype._onTooltip=function(t){var e=this.tooltipDelay,n=this.frame.getBoundingClientRect(),r=Su(t)-n.left,i=ku(t)-n.top;if(this.showTooltip)if(this.tooltipTimeout&&clearTimeout(this.tooltipTimeout),this.leftButtonDown)this._hideTooltip();else if(this.tooltip&&this.tooltip.dataPoint){var a=this._dataPointFromXY(r,i);a!==this.tooltip.dataPoint&&(a?this._showTooltip(a):this._hideTooltip())}else{var s=this;this.tooltipTimeout=setTimeout(function(){s.tooltipTimeout=null;var t=s._dataPointFromXY(r,i);t&&s._showTooltip(t)},e)}},bu.prototype._onTouchStart=function(t){this.touchDown=!0;var e=this;this.ontouchmove=function(t){e._onTouchMove(t)},this.ontouchend=function(t){e._onTouchEnd(t)},To.addEventListener(document,"touchmove",e.ontouchmove),To.addEventListener(document,"touchend",e.ontouchend),this._onMouseDown(t)},bu.prototype._onTouchMove=function(t){this._onMouseMove(t)},bu.prototype._onTouchEnd=function(t){this.touchDown=!1,To.removeEventListener(document,"touchmove",this.ontouchmove),To.removeEventListener(document,"touchend",this.ontouchend),this._onMouseUp(t)},bu.prototype._onWheel=function(t){if(t=t||window.event,this.zoomable&&(!this.ctrlToZoom||t.ctrlKey)){var e=0;if(t.wheelDelta?e=t.wheelDelta/120:t.detail&&(e=-t.detail/3),e){var n=this.camera.getArmLength()*(1-e/10);this.camera.setArmLength(n),this.redraw(),this._hideTooltip()}var r=this.getCameraPosition();this.emit("cameraPositionChange",r),To.preventDefault(t)}},bu.prototype._insideTriangle=function(t,e){var n=e[0],r=e[1],i=e[2];function a(t){return 0<t?1:t<0?-1:0}var s=a((r.x-n.x)*(t.y-n.y)-(r.y-n.y)*(t.x-n.x)),o=a((i.x-r.x)*(t.y-r.y)-(i.y-r.y)*(t.x-r.x)),u=a((n.x-i.x)*(t.y-i.y)-(n.y-i.y)*(t.x-i.x));return!(0!=s&&0!=o&&s!=o||0!=o&&0!=u&&o!=u||0!=s&&0!=u&&s!=u)},bu.prototype._dataPointFromXY=function(t,e){var n,r=null,i=null,a=null,s=new Oo(t,e);if(this.style===bu.STYLE.BAR||this.style===bu.STYLE.BARCOLOR||this.style===bu.STYLE.BARSIZE)for(n=this.dataPoints.length-1;0<=n;n--){var o=(r=this.dataPoints[n]).surfaces;if(o)for(var u=o.length-1;0<=u;u--){var l=o[u].corners,h=[l[0].screen,l[1].screen,l[2].screen],c=[l[2].screen,l[3].screen,l[0].screen];if(this._insideTriangle(s,h)||this._insideTriangle(s,c))return r}}else for(n=0;n<this.dataPoints.length;n++){var d=(r=this.dataPoints[n]).screen;if(d){var f=Math.abs(t-d.x),m=Math.abs(e-d.y),p=Math.sqrt(f*f+m*m);(null===a||p<a)&&p<100&&(a=p,i=r)}}return i},bu.prototype.hasBars=function(t){return t==bu.STYLE.BAR||t==bu.STYLE.BARCOLOR||t==bu.STYLE.BARSIZE},bu.prototype._showTooltip=function(t){var e,n,r;this.tooltip?(e=this.tooltip.dom.content,n=this.tooltip.dom.line,r=this.tooltip.dom.dot):(e=document.createElement("div"),Object.assign(e.style,{},this.tooltipStyle.content),e.style.position="absolute",n=document.createElement("div"),Object.assign(n.style,{},this.tooltipStyle.line),n.style.position="absolute",r=document.createElement("div"),Object.assign(r.style,{},this.tooltipStyle.dot),r.style.position="absolute",this.tooltip={dataPoint:null,dom:{content:e,line:n,dot:r}}),this._hideTooltip(),this.tooltip.dataPoint=t,"function"==typeof this.showTooltip?e.innerHTML=this.showTooltip(t.point):e.innerHTML="<table><tr><td>"+this.xLabel+":</td><td>"+t.point.x+"</td></tr><tr><td>"+this.yLabel+":</td><td>"+t.point.y+"</td></tr><tr><td>"+this.zLabel+":</td><td>"+t.point.z+"</td></tr></table>",e.style.left="0",e.style.top="0",this.frame.appendChild(e),this.frame.appendChild(n),this.frame.appendChild(r);var i=e.offsetWidth,a=e.offsetHeight,s=n.offsetHeight,o=r.offsetWidth,u=r.offsetHeight,l=t.screen.x-i/2;l=Math.min(Math.max(l,10),this.frame.clientWidth-10-i),n.style.left=t.screen.x+"px",n.style.top=t.screen.y-s+"px",e.style.left=l+"px",e.style.top=t.screen.y-s-a+"px",r.style.left=t.screen.x-o/2+"px",r.style.top=t.screen.y-u/2+"px"},bu.prototype._hideTooltip=function(){if(this.tooltip)for(var t in this.tooltip.dataPoint=null,this.tooltip.dom)if(this.tooltip.dom.hasOwnProperty(t)){var e=this.tooltip.dom[t];e&&e.parentNode&&e.parentNode.removeChild(e)}},bu.prototype.setCameraPosition=function(t){Zo.setCameraPosition(t,this),this.redraw()},bu.prototype.setSize=function(t,e){this._setSize(t,e),this.redraw()};var xu=bu,Du=vs(function(tr,t){tr.exports=function(){var e,i;function l(){return e.apply(null,arguments)}function s(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function o(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function a(t){return void 0===t}function u(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function h(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function r(t,e){var n,r=[];for(n=0;n<t.length;++n)r.push(e(t[n],n));return r}function c(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function d(t,e){for(var n in e)c(e,n)&&(t[n]=e[n]);return c(e,"toString")&&(t.toString=e.toString),c(e,"valueOf")&&(t.valueOf=e.valueOf),t}function f(t,e,n,r){return Ee(t,e,n,r,!0).utc()}function m(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),t._pf}function p(t){if(null==t._isValid){var e=m(t),n=i.call(e.parsedDateParts,function(t){return null!=t}),r=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(r=r&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return r;t._isValid=r}return t._isValid}function y(t){var e=f(NaN);return null!=t?d(m(e),t):m(e).userInvalidated=!0,e}i=Array.prototype.some?Array.prototype.some:function(t){for(var e=Object(this),n=e.length>>>0,r=0;r<n;r++)if(r in e&&t.call(this,e[r],r,e))return!0;return!1};var v=l.momentProperties=[];function g(t,e){var n,r,i;if(a(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),a(e._i)||(t._i=e._i),a(e._f)||(t._f=e._f),a(e._l)||(t._l=e._l),a(e._strict)||(t._strict=e._strict),a(e._tzm)||(t._tzm=e._tzm),a(e._isUTC)||(t._isUTC=e._isUTC),a(e._offset)||(t._offset=e._offset),a(e._pf)||(t._pf=m(e)),a(e._locale)||(t._locale=e._locale),0<v.length)for(n=0;n<v.length;n++)r=v[n],a(i=e[r])||(t[r]=i);return t}var n=!1;function _(t){g(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===n&&(n=!0,l.updateOffset(this),n=!1)}function w(t){return t instanceof _||null!=t&&null!=t._isAMomentObject}function b(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function S(t){var e=+t,n=0;return 0!=e&&isFinite(e)&&(n=b(e)),n}function k(t,e,n){var r,i=Math.min(t.length,e.length),a=Math.abs(t.length-e.length),s=0;for(r=0;r<i;r++)(n&&t[r]!==e[r]||!n&&S(t[r])!==S(e[r]))&&s++;return s+a}function x(t){!1===l.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function t(i,a){var s=!0;return d(function(){if(null!=l.deprecationHandler&&l.deprecationHandler(null,i),s){for(var t,e=[],n=0;n<arguments.length;n++){if(t="","object"==typeof arguments[n]){for(var r in t+="\n["+n+"] ",arguments[0])t+=r+": "+arguments[0][r]+", ";t=t.slice(0,-2)}else t=arguments[n];e.push(t)}x(i+"\nArguments: "+Array.prototype.slice.call(e).join("")+"\n"+(new Error).stack),s=!1}return a.apply(this,arguments)},a)}var D,M={};function O(t,e){null!=l.deprecationHandler&&l.deprecationHandler(t,e),M[t]||(x(e),M[t]=!0)}function T(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function Y(t,e){var n,r=d({},t);for(n in e)c(e,n)&&(o(t[n])&&o(e[n])?(r[n]={},d(r[n],t[n]),d(r[n],e[n])):null!=e[n]?r[n]=e[n]:delete r[n]);for(n in t)c(t,n)&&!c(e,n)&&o(t[n])&&(r[n]=d({},r[n]));return r}function P(t){null!=t&&this.set(t)}l.suppressDeprecationWarnings=!1,l.deprecationHandler=null,D=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)c(t,e)&&n.push(e);return n};var C={};function E(t,e){var n=t.toLowerCase();C[n]=C[n+"s"]=C[e]=t}function L(t){return"string"==typeof t?C[t]||C[t.toLowerCase()]:void 0}function A(t){var e,n,r={};for(n in t)c(t,n)&&(e=L(n))&&(r[e]=t[n]);return r}var R={};function W(t,e){R[t]=e}function I(t){var e=[];for(var n in t)e.push({unit:n,priority:R[n]});return e.sort(function(t,e){return t.priority-e.priority}),e}function N(t,e,n){var r=""+Math.abs(t),i=e-r.length,a=0<=t;return(a?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var j=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,F=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,V={},z={};function H(t,e,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),t&&(z[t]=i),e&&(z[e[0]]=function(){return N(i.apply(this,arguments),e[1],e[2])}),n&&(z[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function G(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function U(t,e){return t.isValid()?(e=B(e,t.localeData()),V[e]=V[e]||function(r){var t,i,a=r.match(j);for(t=0,i=a.length;t<i;t++)z[a[t]]?a[t]=z[a[t]]:a[t]=G(a[t]);return function(t){var e,n="";for(e=0;e<i;e++)n+=T(a[e])?a[e].call(t,r):a[e];return n}}(e),V[e](t)):t.localeData().invalidDate()}function B(t,e){var n=5;function r(t){return e.longDateFormat(t)||t}for(F.lastIndex=0;0<=n&&F.test(t);)t=t.replace(F,r),F.lastIndex=0,n-=1;return t}var Z=/\d/,X=/\d\d/,q=/\d{3}/,$=/\d{4}/,J=/[+-]?\d{6}/,Q=/\d\d?/,K=/\d\d\d\d?/,tt=/\d\d\d\d\d\d?/,et=/\d{1,3}/,nt=/\d{1,4}/,rt=/[+-]?\d{1,6}/,it=/\d+/,at=/[+-]?\d+/,st=/Z|[+-]\d\d:?\d\d/gi,ot=/Z|[+-]\d\d(?::?\d\d)?/gi,ut=/[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,lt={};function ht(t,n,r){lt[t]=T(n)?n:function(t,e){return t&&r?r:n}}function ct(t,e){return c(lt,t)?lt[t](e._strict,e._locale):new RegExp(function(t){return dt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,r,i){return e||n||r||i}))}(t))}function dt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var ft={};function mt(t,n){var e,r=n;for("string"==typeof t&&(t=[t]),u(n)&&(r=function(t,e){e[n]=S(t)}),e=0;e<t.length;e++)ft[t[e]]=r}function pt(t,i){mt(t,function(t,e,n,r){n._w=n._w||{},i(t,n._w,n,r)})}function yt(t,e,n){null!=e&&c(ft,t)&&ft[t](e,n._a,n,t)}var vt=0,gt=1,_t=2,wt=3,bt=4,St=5,kt=6,xt=7,Dt=8;function Mt(t){return Ot(t)?366:365}function Ot(t){return t%4==0&&t%100!=0||t%400==0}H("Y",0,0,function(){var t=this.year();return t<=9999?""+t:"+"+t}),H(0,["YY",2],0,function(){return this.year()%100}),H(0,["YYYY",4],0,"year"),H(0,["YYYYY",5],0,"year"),H(0,["YYYYYY",6,!0],0,"year"),E("year","y"),W("year",1),ht("Y",at),ht("YY",Q,X),ht("YYYY",nt,$),ht("YYYYY",rt,J),ht("YYYYYY",rt,J),mt(["YYYYY","YYYYYY"],vt),mt("YYYY",function(t,e){e[vt]=2===t.length?l.parseTwoDigitYear(t):S(t)}),mt("YY",function(t,e){e[vt]=l.parseTwoDigitYear(t)}),mt("Y",function(t,e){e[vt]=parseInt(t,10)}),l.parseTwoDigitYear=function(t){return S(t)+(68<S(t)?1900:2e3)};var Tt,Yt=Pt("FullYear",!0);function Pt(e,n){return function(t){return null!=t?(Et(this,e,t),l.updateOffset(this,n),this):Ct(this,e)}}function Ct(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function Et(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&Ot(t.year())&&1===t.month()&&29===t.date()?t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),Lt(n,t.month())):t._d["set"+(t._isUTC?"UTC":"")+e](n))}function Lt(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=function(t,e){return(t%e+e)%e}(e,12);return t+=(e-n)/12,1===n?Ot(t)?29:28:31-n%7%2}Tt=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},H("M",["MM",2],"Mo",function(){return this.month()+1}),H("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),H("MMMM",0,0,function(t){return this.localeData().months(this,t)}),E("month","M"),W("month",8),ht("M",Q),ht("MM",Q,X),ht("MMM",function(t,e){return e.monthsShortRegex(t)}),ht("MMMM",function(t,e){return e.monthsRegex(t)}),mt(["M","MM"],function(t,e){e[gt]=S(t)-1}),mt(["MMM","MMMM"],function(t,e,n,r){var i=n._locale.monthsParse(t,r,n._strict);null!=i?e[gt]=i:m(n).invalidMonth=t});var At=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Rt="January_February_March_April_May_June_July_August_September_October_November_December".split("_");var Wt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function It(t,e,n){var r,i,a,s=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=f([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===e?-1!==(i=Tt.call(this._shortMonthsParse,s))?i:null:-1!==(i=Tt.call(this._longMonthsParse,s))?i:null:"MMM"===e?-1!==(i=Tt.call(this._shortMonthsParse,s))?i:-1!==(i=Tt.call(this._longMonthsParse,s))?i:null:-1!==(i=Tt.call(this._longMonthsParse,s))?i:-1!==(i=Tt.call(this._shortMonthsParse,s))?i:null}function Nt(t,e){var n;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=S(e);else if(!u(e=t.localeData().monthsParse(e)))return t;return n=Math.min(t.date(),Lt(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function jt(t){return null!=t?(Nt(this,t),l.updateOffset(this,!0),this):Ct(this,"Month")}var Ft=ut;var Vt=ut;function zt(){function t(t,e){return e.length-t.length}var e,n,r=[],i=[],a=[];for(e=0;e<12;e++)n=f([2e3,e]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),a.push(this.months(n,"")),a.push(this.monthsShort(n,""));for(r.sort(t),i.sort(t),a.sort(t),e=0;e<12;e++)r[e]=dt(r[e]),i[e]=dt(i[e]);for(e=0;e<24;e++)a[e]=dt(a[e]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Ht(t){var e;if(t<100&&0<=t){var n=Array.prototype.slice.call(arguments);n[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)}else e=new Date(Date.UTC.apply(null,arguments));return e}function Gt(t,e,n){var r=7+e-n,i=(7+Ht(t,0,r).getUTCDay()-e)%7;return r-i-1}function Ut(t,e,n,r,i){var a,s,o=(7+n-r)%7,u=Gt(t,r,i),l=1+7*(e-1)+o+u;return s=l<=0?Mt(a=t-1)+l:l>Mt(t)?(a=t+1,l-Mt(t)):(a=t,l),{year:a,dayOfYear:s}}function Bt(t,e,n){var r,i,a=Gt(t.year(),e,n),s=Math.floor((t.dayOfYear()-a-1)/7)+1;return s<1?(i=t.year()-1,r=s+Zt(i,e,n)):s>Zt(t.year(),e,n)?(r=s-Zt(t.year(),e,n),i=t.year()+1):(i=t.year(),r=s),{week:r,year:i}}function Zt(t,e,n){var r=Gt(t,e,n),i=Gt(t+1,e,n);return(Mt(t)-r+i)/7}H("w",["ww",2],"wo","week"),H("W",["WW",2],"Wo","isoWeek"),E("week","w"),E("isoWeek","W"),W("week",5),W("isoWeek",5),ht("w",Q),ht("ww",Q,X),ht("W",Q),ht("WW",Q,X),pt(["w","ww","W","WW"],function(t,e,n,r){e[r.substr(0,1)]=S(t)});function Xt(t,e){return t.slice(e,7).concat(t.slice(0,e))}H("d",0,"do","day"),H("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),H("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),H("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),H("e",0,0,"weekday"),H("E",0,0,"isoWeekday"),E("day","d"),E("weekday","e"),E("isoWeekday","E"),W("day",11),W("weekday",11),W("isoWeekday",11),ht("d",Q),ht("e",Q),ht("E",Q),ht("dd",function(t,e){return e.weekdaysMinRegex(t)}),ht("ddd",function(t,e){return e.weekdaysShortRegex(t)}),ht("dddd",function(t,e){return e.weekdaysRegex(t)}),pt(["dd","ddd","dddd"],function(t,e,n,r){var i=n._locale.weekdaysParse(t,r,n._strict);null!=i?e.d=i:m(n).invalidWeekday=t}),pt(["d","e","E"],function(t,e,n,r){e[r]=S(t)});var qt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");var $t="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");var Jt="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function Qt(t,e,n){var r,i,a,s=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===e?-1!==(i=Tt.call(this._weekdaysParse,s))?i:null:"ddd"===e?-1!==(i=Tt.call(this._shortWeekdaysParse,s))?i:null:-1!==(i=Tt.call(this._minWeekdaysParse,s))?i:null:"dddd"===e?-1!==(i=Tt.call(this._weekdaysParse,s))?i:-1!==(i=Tt.call(this._shortWeekdaysParse,s))?i:-1!==(i=Tt.call(this._minWeekdaysParse,s))?i:null:"ddd"===e?-1!==(i=Tt.call(this._shortWeekdaysParse,s))?i:-1!==(i=Tt.call(this._weekdaysParse,s))?i:-1!==(i=Tt.call(this._minWeekdaysParse,s))?i:null:-1!==(i=Tt.call(this._minWeekdaysParse,s))?i:-1!==(i=Tt.call(this._weekdaysParse,s))?i:-1!==(i=Tt.call(this._shortWeekdaysParse,s))?i:null}var Kt=ut;var te=ut;var ee=ut;function ne(){function t(t,e){return e.length-t.length}var e,n,r,i,a,s=[],o=[],u=[],l=[];for(e=0;e<7;e++)n=f([2e3,1]).day(e),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),a=this.weekdays(n,""),s.push(r),o.push(i),u.push(a),l.push(r),l.push(i),l.push(a);for(s.sort(t),o.sort(t),u.sort(t),l.sort(t),e=0;e<7;e++)o[e]=dt(o[e]),u[e]=dt(u[e]),l[e]=dt(l[e]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+s.join("|")+")","i")}function re(){return this.hours()%12||12}function ie(t,e){H(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function ae(t,e){return e._meridiemParse}H("H",["HH",2],0,"hour"),H("h",["hh",2],0,re),H("k",["kk",2],0,function(){return this.hours()||24}),H("hmm",0,0,function(){return""+re.apply(this)+N(this.minutes(),2)}),H("hmmss",0,0,function(){return""+re.apply(this)+N(this.minutes(),2)+N(this.seconds(),2)}),H("Hmm",0,0,function(){return""+this.hours()+N(this.minutes(),2)}),H("Hmmss",0,0,function(){return""+this.hours()+N(this.minutes(),2)+N(this.seconds(),2)}),ie("a",!0),ie("A",!1),E("hour","h"),W("hour",13),ht("a",ae),ht("A",ae),ht("H",Q),ht("h",Q),ht("k",Q),ht("HH",Q,X),ht("hh",Q,X),ht("kk",Q,X),ht("hmm",K),ht("hmmss",tt),ht("Hmm",K),ht("Hmmss",tt),mt(["H","HH"],wt),mt(["k","kk"],function(t,e,n){var r=S(t);e[wt]=24===r?0:r}),mt(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),mt(["h","hh"],function(t,e,n){e[wt]=S(t),m(n).bigHour=!0}),mt("hmm",function(t,e,n){var r=t.length-2;e[wt]=S(t.substr(0,r)),e[bt]=S(t.substr(r)),m(n).bigHour=!0}),mt("hmmss",function(t,e,n){var r=t.length-4,i=t.length-2;e[wt]=S(t.substr(0,r)),e[bt]=S(t.substr(r,2)),e[St]=S(t.substr(i)),m(n).bigHour=!0}),mt("Hmm",function(t,e,n){var r=t.length-2;e[wt]=S(t.substr(0,r)),e[bt]=S(t.substr(r))}),mt("Hmmss",function(t,e,n){var r=t.length-4,i=t.length-2;e[wt]=S(t.substr(0,r)),e[bt]=S(t.substr(r,2)),e[St]=S(t.substr(i))});var se,oe=Pt("Hours",!0),ue={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{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"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Rt,monthsShort:Wt,week:{dow:0,doy:6},weekdays:qt,weekdaysMin:Jt,weekdaysShort:$t,meridiemParse:/[ap]\.?m?\.?/i},le={},he={};function ce(t){return t?t.toLowerCase().replace("_","-"):t}function de(t){var e=null;if(!le[t]&&tr&&tr.exports)try{e=se._abbr;var n=ys;n("./locale/"+t),fe(e)}catch(t){}return le[t]}function fe(t,e){var n;return t&&((n=a(e)?pe(t):me(t,e))?se=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),se._abbr}function me(t,e){if(null===e)return delete le[t],null;var n,r=ue;if(e.abbr=t,null!=le[t])O("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=le[t]._config;else if(null!=e.parentLocale)if(null!=le[e.parentLocale])r=le[e.parentLocale]._config;else{if(null==(n=de(e.parentLocale)))return he[e.parentLocale]||(he[e.parentLocale]=[]),he[e.parentLocale].push({name:t,config:e}),null;r=n._config}return le[t]=new P(Y(r,e)),he[t]&&he[t].forEach(function(t){me(t.name,t.config)}),fe(t),le[t]}function pe(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return se;if(!s(t)){if(e=de(t))return e;t=[t]}return function(t){var e,n,r,i,a=0;for(;a<t.length;){for(i=ce(t[a]).split("-"),e=i.length,n=(n=ce(t[a+1]))?n.split("-"):null;0<e;){if(r=de(i.slice(0,e).join("-")))return r;if(n&&n.length>=e&&k(i,n,!0)>=e-1)break;e--}a++}return se}(t)}function ye(t){var e,n=t._a;return n&&-2===m(t).overflow&&(e=n[gt]<0||11<n[gt]?gt:n[_t]<1||n[_t]>Lt(n[vt],n[gt])?_t:n[wt]<0||24<n[wt]||24===n[wt]&&(0!==n[bt]||0!==n[St]||0!==n[kt])?wt:n[bt]<0||59<n[bt]?bt:n[St]<0||59<n[St]?St:n[kt]<0||999<n[kt]?kt:-1,m(t)._overflowDayOfYear&&(e<vt||_t<e)&&(e=_t),m(t)._overflowWeeks&&-1===e&&(e=xt),m(t)._overflowWeekday&&-1===e&&(e=Dt),m(t).overflow=e),t}function ve(t,e,n){return null!=t?t:null!=e?e:n}function ge(t){var e,n,r,i,a,s=[];if(!t._d){for(r=function(t){var e=new Date(l.now());if(t._useUTC)return[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()];return[e.getFullYear(),e.getMonth(),e.getDate()]}(t),t._w&&null==t._a[_t]&&null==t._a[gt]&&function(t){var e,n,r,i,a,s,o,u;if(null!=(e=t._w).GG||null!=e.W||null!=e.E)a=1,s=4,n=ve(e.GG,t._a[vt],Bt(Le(),1,4).year),r=ve(e.W,1),((i=ve(e.E,1))<1||7<i)&&(u=!0);else{a=t._locale._week.dow,s=t._locale._week.doy;var l=Bt(Le(),a,s);n=ve(e.gg,t._a[vt],l.year),r=ve(e.w,l.week),null!=e.d?((i=e.d)<0||6<i)&&(u=!0):null!=e.e?(i=e.e+a,(e.e<0||6<e.e)&&(u=!0)):i=a}r<1||r>Zt(n,a,s)?m(t)._overflowWeeks=!0:null!=u?m(t)._overflowWeekday=!0:(o=Ut(n,r,i,a,s),t._a[vt]=o.year,t._dayOfYear=o.dayOfYear)}(t),null!=t._dayOfYear&&(a=ve(t._a[vt],r[vt]),(t._dayOfYear>Mt(a)||0===t._dayOfYear)&&(m(t)._overflowDayOfYear=!0),n=Ht(a,0,t._dayOfYear),t._a[gt]=n.getUTCMonth(),t._a[_t]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=s[e]=r[e];for(;e<7;e++)t._a[e]=s[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[wt]&&0===t._a[bt]&&0===t._a[St]&&0===t._a[kt]&&(t._nextDay=!0,t._a[wt]=0),t._d=(t._useUTC?Ht:function(t,e,n,r,i,a,s){var o;t<100&&0<=t?(o=new Date(t+400,e,n,r,i,a,s),isFinite(o.getFullYear())&&o.setFullYear(t)):o=new Date(t,e,n,r,i,a,s);return o}).apply(null,s),i=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[wt]=24),t._w&&void 0!==t._w.d&&t._w.d!==i&&(m(t).weekdayMismatch=!0)}}var _e=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,we=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,be=/Z|[+-]\d\d(?::?\d\d)?/,Se=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],ke=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],xe=/^\/?Date\((\-?\d+)/i;function De(t){var e,n,r,i,a,s,o=t._i,u=_e.exec(o)||we.exec(o);if(u){for(m(t).iso=!0,e=0,n=Se.length;e<n;e++)if(Se[e][1].exec(u[1])){i=Se[e][0],r=!1!==Se[e][2];break}if(null==i)return void(t._isValid=!1);if(u[3]){for(e=0,n=ke.length;e<n;e++)if(ke[e][1].exec(u[3])){a=(u[2]||" ")+ke[e][0];break}if(null==a)return void(t._isValid=!1)}if(!r&&null!=a)return void(t._isValid=!1);if(u[4]){if(!be.exec(u[4]))return void(t._isValid=!1);s="Z"}t._f=i+(a||"")+(s||""),Pe(t)}else t._isValid=!1}var Me=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;function Oe(t,e,n,r,i,a){var s=[function(t){var e=parseInt(t,10);{if(e<=49)return 2e3+e;if(e<=999)return 1900+e}return e}(t),Wt.indexOf(e),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return a&&s.push(parseInt(a,10)),s}var Te={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Ye(t){var e=Me.exec(function(t){return t.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}(t._i));if(e){var n=Oe(e[4],e[3],e[2],e[5],e[6],e[7]);if(!function(t,e,n){if(t){var r=$t.indexOf(t),i=new Date(e[0],e[1],e[2]).getDay();if(r!==i)return m(n).weekdayMismatch=!0,n._isValid=!1}return!0}(e[1],n,t))return;t._a=n,t._tzm=function(t,e,n){{if(t)return Te[t];if(e)return 0;var r=parseInt(n,10),i=r%100;return 60*((r-i)/100)+i}}(e[8],e[9],e[10]),t._d=Ht.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),m(t).rfc2822=!0}else t._isValid=!1}function Pe(t){if(t._f!==l.ISO_8601)if(t._f!==l.RFC_2822){t._a=[],m(t).empty=!0;var e,n,r,i,a,s=""+t._i,o=s.length,u=0;for(r=B(t._f,t._locale).match(j)||[],e=0;e<r.length;e++)i=r[e],(n=(s.match(ct(i,t))||[])[0])&&(0<(a=s.substr(0,s.indexOf(n))).length&&m(t).unusedInput.push(a),s=s.slice(s.indexOf(n)+n.length),u+=n.length),z[i]?(n?m(t).empty=!1:m(t).unusedTokens.push(i),yt(i,n,t)):t._strict&&!n&&m(t).unusedTokens.push(i);m(t).charsLeftOver=o-u,0<s.length&&m(t).unusedInput.push(s),t._a[wt]<=12&&!0===m(t).bigHour&&0<t._a[wt]&&(m(t).bigHour=void 0),m(t).parsedDateParts=t._a.slice(0),m(t).meridiem=t._meridiem,t._a[wt]=function(t,e,n){var r;if(null==n)return e;return null!=t.meridiemHour?t.meridiemHour(e,n):(null!=t.isPM&&((r=t.isPM(n))&&e<12&&(e+=12),r||12!==e||(e=0)),e)}(t._locale,t._a[wt],t._meridiem),ge(t),ye(t)}else Ye(t);else De(t)}function Ce(t){var e=t._i,n=t._f;return t._locale=t._locale||pe(t._l),null===e||void 0===n&&""===e?y({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),w(e)?new _(ye(e)):(h(e)?t._d=e:s(n)?function(t){var e,n,r,i,a;if(0===t._f.length)return m(t).invalidFormat=!0,t._d=new Date(NaN);for(i=0;i<t._f.length;i++)a=0,e=g({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[i],Pe(e),p(e)&&(a+=m(e).charsLeftOver,a+=10*m(e).unusedTokens.length,m(e).score=a,(null==r||a<r)&&(r=a,n=e));d(t,n||e)}(t):n?Pe(t):function(t){var e=t._i;a(e)?t._d=new Date(l.now()):h(e)?t._d=new Date(e.valueOf()):"string"==typeof e?function(t){var e=xe.exec(t._i);if(null!==e)return t._d=new Date(+e[1]);{if(De(t),!1!==t._isValid)return;delete t._isValid}{if(Ye(t),!1!==t._isValid)return;delete t._isValid}l.createFromInputFallback(t)}(t):s(e)?(t._a=r(e.slice(0),function(t){return parseInt(t,10)}),ge(t)):o(e)?function(t){if(t._d)return;var e=A(t._i);t._a=r([e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],function(t){return t&&parseInt(t,10)}),ge(t)}(t):u(e)?t._d=new Date(e):l.createFromInputFallback(t)}(t),p(t)||(t._d=null),t))}function Ee(t,e,n,r,i){var a={};return!0!==n&&!1!==n||(r=n,n=void 0),(o(t)&&function(t){{if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(t.hasOwnProperty(e))return!1;return!0}}(t)||s(t)&&0===t.length)&&(t=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=i,a._l=n,a._i=t,a._f=e,a._strict=r,function(t){var e=new _(ye(Ce(t)));e._nextDay&&(e.add(1,"d"),e._nextDay=void 0);return e}(a)}function Le(t,e,n,r){return Ee(t,e,n,r,!1)}l.createFromInputFallback=t("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),l.ISO_8601=function(){},l.RFC_2822=function(){};var Ae=t("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Le.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:y()}),Re=t("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Le.apply(null,arguments);return this.isValid()&&t.isValid()?this<t?this:t:y()});function We(t,e){var n,r;if(1===e.length&&s(e[0])&&(e=e[0]),!e.length)return Le();for(n=e[0],r=1;r<e.length;++r)e[r].isValid()&&!e[r][t](n)||(n=e[r]);return n}var Ie=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ne(t){var e=A(t),n=e.year||0,r=e.quarter||0,i=e.month||0,a=e.week||e.isoWeek||0,s=e.day||0,o=e.hour||0,u=e.minute||0,l=e.second||0,h=e.millisecond||0;this._isValid=function(t){for(var e in t)if(-1===Tt.call(Ie,e)||null!=t[e]&&isNaN(t[e]))return!1;for(var n=!1,r=0;r<Ie.length;++r)if(t[Ie[r]]){if(n)return!1;parseFloat(t[Ie[r]])!==S(t[Ie[r]])&&(n=!0)}return!0}(e),this._milliseconds=+h+1e3*l+6e4*u+1e3*o*60*60,this._days=+s+7*a,this._months=+i+3*r+12*n,this._data={},this._locale=pe(),this._bubble()}function je(t){return t instanceof Ne}function Fe(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Ve(t,n){H(t,0,0,function(){var t=this.utcOffset(),e="+";return t<0&&(t=-t,e="-"),e+N(~~(t/60),2)+n+N(~~t%60,2)})}Ve("Z",":"),Ve("ZZ",""),ht("Z",ot),ht("ZZ",ot),mt(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=He(ot,t)});var ze=/([\+\-]|\d\d)/gi;function He(t,e){var n=(e||"").match(t);if(null===n)return null;var r=n[n.length-1]||[],i=(r+"").match(ze)||["-",0,0],a=60*i[1]+S(i[2]);return 0===a?0:"+"===i[0]?a:-a}function Ge(t,e){var n,r;return e._isUTC?(n=e.clone(),r=(w(t)||h(t)?t.valueOf():Le(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),l.updateOffset(n,!1),n):Le(t).local()}function Ue(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function Be(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}l.updateOffset=function(){};var Ze=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Xe=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function qe(t,e){var n,r,i,a=t,s=null;return je(t)?a={ms:t._milliseconds,d:t._days,M:t._months}:u(t)?(a={},e?a[e]=t:a.milliseconds=t):(s=Ze.exec(t))?(n="-"===s[1]?-1:1,a={y:0,d:S(s[_t])*n,h:S(s[wt])*n,m:S(s[bt])*n,s:S(s[St])*n,ms:S(Fe(1e3*s[kt]))*n}):(s=Xe.exec(t))?(n="-"===s[1]?-1:1,a={y:$e(s[2],n),M:$e(s[3],n),w:$e(s[4],n),d:$e(s[5],n),h:$e(s[6],n),m:$e(s[7],n),s:$e(s[8],n)}):null==a?a={}:"object"==typeof a&&("from"in a||"to"in a)&&(i=function(t,e){var n;if(!t.isValid()||!e.isValid())return{milliseconds:0,months:0};e=Ge(e,t),t.isBefore(e)?n=Je(t,e):((n=Je(e,t)).milliseconds=-n.milliseconds,n.months=-n.months);return n}(Le(a.from),Le(a.to)),(a={}).ms=i.milliseconds,a.M=i.months),r=new Ne(a),je(t)&&c(t,"_locale")&&(r._locale=t._locale),r}function $e(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Je(t,e){var n={};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function Qe(r,i){return function(t,e){var n;return null===e||isNaN(+e)||(O(i,"moment()."+i+"(period, number) is deprecated. Please use moment()."+i+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=t,t=e,e=n),Ke(this,qe(t="string"==typeof t?+t:t,e),r),this}}function Ke(t,e,n,r){var i=e._milliseconds,a=Fe(e._days),s=Fe(e._months);t.isValid()&&(r=null==r||r,s&&Nt(t,Ct(t,"Month")+s*n),a&&Et(t,"Date",Ct(t,"Date")+a*n),i&&t._d.setTime(t._d.valueOf()+i*n),r&&l.updateOffset(t,a||s))}qe.fn=Ne.prototype,qe.invalid=function(){return qe(NaN)};var tn=Qe(1,"add"),en=Qe(-1,"subtract");function nn(t,e){var n,r,i=12*(e.year()-t.year())+(e.month()-t.month()),a=t.clone().add(i,"months");return r=e-a<0?(n=t.clone().add(i-1,"months"),(e-a)/(a-n)):(n=t.clone().add(1+i,"months"),(e-a)/(n-a)),-(i+r)||0}function rn(t){var e;return void 0===t?this._locale._abbr:(null!=(e=pe(t))&&(this._locale=e),this)}l.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",l.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var an=t("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});function sn(){return this._locale}var on=126227808e5;function un(t,e){return(t%e+e)%e}function ln(t,e,n){return t<100&&0<=t?new Date(t+400,e,n)-on:new Date(t,e,n).valueOf()}function hn(t,e,n){return t<100&&0<=t?Date.UTC(t+400,e,n)-on:Date.UTC(t,e,n)}function cn(t,e){H(0,[t,t.length],0,e)}function dn(t,e,n,r,i){var a;return null==t?Bt(this,r,i).year:((a=Zt(t,r,i))<e&&(e=a),function(t,e,n,r,i){var a=Ut(t,e,n,r,i),s=Ht(a.year,0,a.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}.call(this,t,e,n,r,i))}H(0,["gg",2],0,function(){return this.weekYear()%100}),H(0,["GG",2],0,function(){return this.isoWeekYear()%100}),cn("gggg","weekYear"),cn("ggggg","weekYear"),cn("GGGG","isoWeekYear"),cn("GGGGG","isoWeekYear"),E("weekYear","gg"),E("isoWeekYear","GG"),W("weekYear",1),W("isoWeekYear",1),ht("G",at),ht("g",at),ht("GG",Q,X),ht("gg",Q,X),ht("GGGG",nt,$),ht("gggg",nt,$),ht("GGGGG",rt,J),ht("ggggg",rt,J),pt(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,r){e[r.substr(0,2)]=S(t)}),pt(["gg","GG"],function(t,e,n,r){e[r]=l.parseTwoDigitYear(t)}),H("Q",0,"Qo","quarter"),E("quarter","Q"),W("quarter",7),ht("Q",Z),mt("Q",function(t,e){e[gt]=3*(S(t)-1)}),H("D",["DD",2],"Do","date"),E("date","D"),W("date",9),ht("D",Q),ht("DD",Q,X),ht("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),mt(["D","DD"],_t),mt("Do",function(t,e){e[_t]=S(t.match(Q)[0])});var fn=Pt("Date",!0);H("DDD",["DDDD",3],"DDDo","dayOfYear"),E("dayOfYear","DDD"),W("dayOfYear",4),ht("DDD",et),ht("DDDD",q),mt(["DDD","DDDD"],function(t,e,n){n._dayOfYear=S(t)}),H("m",["mm",2],0,"minute"),E("minute","m"),W("minute",14),ht("m",Q),ht("mm",Q,X),mt(["m","mm"],bt);var mn=Pt("Minutes",!1);H("s",["ss",2],0,"second"),E("second","s"),W("second",15),ht("s",Q),ht("ss",Q,X),mt(["s","ss"],St);var pn,yn=Pt("Seconds",!1);for(H("S",0,0,function(){return~~(this.millisecond()/100)}),H(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),H(0,["SSS",3],0,"millisecond"),H(0,["SSSS",4],0,function(){return 10*this.millisecond()}),H(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),H(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),H(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),H(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),H(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),E("millisecond","ms"),W("millisecond",16),ht("S",et,Z),ht("SS",et,X),ht("SSS",et,q),pn="SSSS";pn.length<=9;pn+="S")ht(pn,it);function vn(t,e){e[kt]=S(1e3*("0."+t))}for(pn="S";pn.length<=9;pn+="S")mt(pn,vn);var gn=Pt("Milliseconds",!1);H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var _n=_.prototype;function wn(t){return t}_n.add=tn,_n.calendar=function(t,e){var n=t||Le(),r=Ge(n,this).startOf("day"),i=l.calendarFormat(this,r)||"sameElse",a=e&&(T(e[i])?e[i].call(this,n):e[i]);return this.format(a||this.localeData().calendar(i,this,Le(n)))},_n.clone=function(){return new _(this)},_n.diff=function(t,e,n){var r,i,a;if(!this.isValid())return NaN;if(!(r=Ge(t,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),e=L(e)){case"year":a=nn(this,r)/12;break;case"month":a=nn(this,r);break;case"quarter":a=nn(this,r)/3;break;case"second":a=(this-r)/1e3;break;case"minute":a=(this-r)/6e4;break;case"hour":a=(this-r)/36e5;break;case"day":a=(this-r-i)/864e5;break;case"week":a=(this-r-i)/6048e5;break;default:a=this-r}return n?a:b(a)},_n.endOf=function(t){var e;if(void 0===(t=L(t))||"millisecond"===t||!this.isValid())return this;var n=this._isUTC?hn:ln;switch(t){case"year":e=n(this.year()+1,0,1)-1;break;case"quarter":e=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=n(this.year(),this.month()+1,1)-1;break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=36e5-un(e+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":e=this._d.valueOf(),e+=6e4-un(e,6e4)-1;break;case"second":e=this._d.valueOf(),e+=1e3-un(e,1e3)-1}return this._d.setTime(e),l.updateOffset(this,!0),this},_n.format=function(t){t=t||(this.isUtc()?l.defaultFormatUtc:l.defaultFormat);var e=U(this,t);return this.localeData().postformat(e)},_n.from=function(t,e){return this.isValid()&&(w(t)&&t.isValid()||Le(t).isValid())?qe({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},_n.fromNow=function(t){return this.from(Le(),t)},_n.to=function(t,e){return this.isValid()&&(w(t)&&t.isValid()||Le(t).isValid())?qe({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},_n.toNow=function(t){return this.to(Le(),t)},_n.get=function(t){if(T(this[t=L(t)]))return this[t]();return this},_n.invalidAt=function(){return m(this).overflow},_n.isAfter=function(t,e){var n=w(t)?t:Le(t);if(!this.isValid()||!n.isValid())return!1;return"millisecond"===(e=L(e)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf()},_n.isBefore=function(t,e){var n=w(t)?t:Le(t);if(!this.isValid()||!n.isValid())return!1;return"millisecond"===(e=L(e)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf()},_n.isBetween=function(t,e,n,r){var i=w(t)?t:Le(t),a=w(e)?e:Le(e);return!!(this.isValid()&&i.isValid()&&a.isValid())&&(("("===(r=r||"()")[0]?this.isAfter(i,n):!this.isBefore(i,n))&&(")"===r[1]?this.isBefore(a,n):!this.isAfter(a,n)))},_n.isSame=function(t,e){var n,r=w(t)?t:Le(t);if(!this.isValid()||!r.isValid())return!1;return"millisecond"===(e=L(e)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf())},_n.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},_n.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},_n.isValid=function(){return p(this)},_n.lang=an,_n.locale=rn,_n.localeData=sn,_n.max=Re,_n.min=Ae,_n.parsingFlags=function(){return d({},m(this))},_n.set=function(t,e){if("object"==typeof t)for(var n=I(t=A(t)),r=0;r<n.length;r++)this[n[r].unit](t[n[r].unit]);else if(T(this[t=L(t)]))return this[t](e);return this},_n.startOf=function(t){var e;if(void 0===(t=L(t))||"millisecond"===t||!this.isValid())return this;var n=this._isUTC?hn:ln;switch(t){case"year":e=n(this.year(),0,1);break;case"quarter":e=n(this.year(),this.month()-this.month()%3,1);break;case"month":e=n(this.year(),this.month(),1);break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=n(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=un(e+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":e=this._d.valueOf(),e-=un(e,6e4);break;case"second":e=this._d.valueOf(),e-=un(e,1e3)}return this._d.setTime(e),l.updateOffset(this,!0),this},_n.subtract=en,_n.toArray=function(){return[this.year(),this.month(),this.date(),this.hour(),this.minute(),this.second(),this.millisecond()]},_n.toObject=function(){return{years:this.year(),months:this.month(),date:this.date(),hours:this.hours(),minutes:this.minutes(),seconds:this.seconds(),milliseconds:this.milliseconds()}},_n.toDate=function(){return new Date(this.valueOf())},_n.toISOString=function(t){if(!this.isValid())return null;var e=!0!==t,n=e?this.clone().utc():this;if(n.year()<0||9999<n.year())return U(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ");if(T(Date.prototype.toISOString))return e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",U(n,"Z"));return U(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},_n.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="";this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z");var n="["+t+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i=e+'[")]';return this.format(n+r+"-MM-DD[T]HH:mm:ss.SSS"+i)},_n.toJSON=function(){return this.isValid()?this.toISOString():null},_n.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},_n.unix=function(){return Math.floor(this.valueOf()/1e3)},_n.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},_n.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},_n.year=Yt,_n.isLeapYear=function(){return Ot(this.year())},_n.weekYear=function(t){return dn.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},_n.isoWeekYear=function(t){return dn.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},_n.quarter=_n.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},_n.month=jt,_n.daysInMonth=function(){return Lt(this.year(),this.month())},_n.week=_n.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},_n.isoWeek=_n.isoWeeks=function(t){var e=Bt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},_n.weeksInYear=function(){var t=this.localeData()._week;return Zt(this.year(),t.dow,t.doy)},_n.isoWeeksInYear=function(){return Zt(this.year(),1,4)},_n.date=fn,_n.day=_n.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(n=t,r=this.localeData(),t="string"==typeof n?isNaN(n)?"number"!=typeof(n=r.weekdaysParse(n))?null:n:parseInt(n,10):n,this.add(t-e,"d")):e;var n,r},_n.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},_n.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;{if(null==t)return this.day()||7;var e=(n=t,r=this.localeData(),"string"!=typeof n?isNaN(n)?null:n:r.weekdaysParse(n)%7||7);return this.day(this.day()%7?e:e-7)}var n,r},_n.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},_n.hour=_n.hours=oe,_n.minute=_n.minutes=mn,_n.second=_n.seconds=yn,_n.millisecond=_n.milliseconds=gn,_n.utcOffset=function(t,e,n){var r,i=this._offset||0;if(!this.isValid())return null!=t?this:NaN;{if(null==t)return this._isUTC?i:Ue(this);if("string"==typeof t){if(null===(t=He(ot,t)))return this}else Math.abs(t)<16&&!n&&(t*=60);return!this._isUTC&&e&&(r=Ue(this)),this._offset=t,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==t&&(!e||this._changeInProgress?Ke(this,qe(t-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,l.updateOffset(this,!0),this._changeInProgress=null)),this}},_n.utc=function(t){return this.utcOffset(0,t)},_n.local=function(t){this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Ue(this),"m"));return this},_n.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=He(st,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},_n.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?Le(t).utcOffset():0,(this.utcOffset()-t)%60==0)},_n.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},_n.isLocal=function(){return!!this.isValid()&&!this._isUTC},_n.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},_n.isUtc=Be,_n.isUTC=Be,_n.zoneAbbr=function(){return this._isUTC?"UTC":""},_n.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},_n.dates=t("dates accessor is deprecated. Use date instead.",fn),_n.months=t("months accessor is deprecated. Use month instead",jt),_n.years=t("years accessor is deprecated. Use year instead",Yt),_n.zone=t("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}),_n.isDSTShifted=t("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var t={};if(g(t,this),(t=Ce(t))._a){var e=t._isUTC?f(t._a):Le(t._a);this._isDSTShifted=this.isValid()&&0<k(t._a,e.toArray())}else this._isDSTShifted=!1;return this._isDSTShifted});var bn=P.prototype;function Sn(t,e,n,r){var i=pe(),a=f().set(r,e);return i[n](a,t)}function kn(t,e,n){if(u(t)&&(e=t,t=void 0),t=t||"",null!=e)return Sn(t,e,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Sn(t,r,n,"month");return i}function xn(t,e,n,r){e=("boolean"==typeof t?u(e)&&(n=e,e=void 0):(e=t,t=!1,u(n=e)&&(n=e,e=void 0)),e||"");var i,a=pe(),s=t?a._week.dow:0;if(null!=n)return Sn(e,(n+s)%7,r,"day");var o=[];for(i=0;i<7;i++)o[i]=Sn(e,(i+s)%7,r,"day");return o}bn.calendar=function(t,e,n){var r=this._calendar[t]||this._calendar.sameElse;return T(r)?r.call(e,n):r},bn.longDateFormat=function(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return!e&&n?(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t]):e},bn.invalidDate=function(){return this._invalidDate},bn.ordinal=function(t){return this._ordinal.replace("%d",t)},bn.preparse=wn,bn.postformat=wn,bn.relativeTime=function(t,e,n,r){var i=this._relativeTime[n];return T(i)?i(t,e,n,r):i.replace(/%d/i,t)},bn.pastFuture=function(t,e){var n=this._relativeTime[0<t?"future":"past"];return T(n)?n(e):n.replace(/%s/i,e)},bn.set=function(t){var e,n;for(n in t)T(e=t[n])?this[n]=e:this["_"+n]=e;this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},bn.months=function(t,e){return t?s(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||At).test(e)?"format":"standalone"][t.month()]:s(this._months)?this._months:this._months.standalone},bn.monthsShort=function(t,e){return t?s(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[At.test(e)?"format":"standalone"][t.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},bn.monthsParse=function(t,e,n){var r,i,a;if(this._monthsParseExact)return It.call(this,t,e,n);this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]);for(r=0;r<12;r++){if(i=f([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(a="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[r].test(t))return r;if(n&&"MMM"===e&&this._shortMonthsParse[r].test(t))return r;if(!n&&this._monthsParse[r].test(t))return r}},bn.monthsRegex=function(t){return this._monthsParseExact?(c(this,"_monthsRegex")||zt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=Vt),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},bn.monthsShortRegex=function(t){return this._monthsParseExact?(c(this,"_monthsRegex")||zt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=Ft),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},bn.week=function(t){return Bt(t,this._week.dow,this._week.doy).week},bn.firstDayOfYear=function(){return this._week.doy},bn.firstDayOfWeek=function(){return this._week.dow},bn.weekdays=function(t,e){var n=s(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Xt(n,this._week.dow):t?n[t.day()]:n},bn.weekdaysMin=function(t){return!0===t?Xt(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},bn.weekdaysShort=function(t){return!0===t?Xt(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},bn.weekdaysParse=function(t,e,n){var r,i,a;if(this._weekdaysParseExact)return Qt.call(this,t,e,n);this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]);for(r=0;r<7;r++){if(i=f([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(a="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[r].test(t))return r;if(n&&"ddd"===e&&this._shortWeekdaysParse[r].test(t))return r;if(n&&"dd"===e&&this._minWeekdaysParse[r].test(t))return r;if(!n&&this._weekdaysParse[r].test(t))return r}},bn.weekdaysRegex=function(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||ne.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=Kt),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},bn.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||ne.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=te),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},bn.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||ne.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ee),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},bn.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},bn.meridiem=function(t,e,n){return 11<t?n?"pm":"PM":n?"am":"AM"},fe("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,n=1===S(t%100/10)?"th":1==e?"st":2==e?"nd":3==e?"rd":"th";return t+n}}),l.lang=t("moment.lang is deprecated. Use moment.locale instead.",fe),l.langData=t("moment.langData is deprecated. Use moment.localeData instead.",pe);var Dn=Math.abs;function Mn(t,e,n,r){var i=qe(e,n);return t._milliseconds+=r*i._milliseconds,t._days+=r*i._days,t._months+=r*i._months,t._bubble()}function On(t){return t<0?Math.floor(t):Math.ceil(t)}function Tn(t){return 4800*t/146097}function Yn(t){return 146097*t/4800}function Pn(t){return function(){return this.as(t)}}var Cn=Pn("ms"),En=Pn("s"),Ln=Pn("m"),An=Pn("h"),Rn=Pn("d"),Wn=Pn("w"),In=Pn("M"),Nn=Pn("Q"),jn=Pn("y");function Fn(t){return function(){return this.isValid()?this._data[t]:NaN}}var Vn=Fn("milliseconds"),zn=Fn("seconds"),Hn=Fn("minutes"),Gn=Fn("hours"),Un=Fn("days"),Bn=Fn("months"),Zn=Fn("years");var Xn=Math.round,qn={ss:44,s:45,m:45,h:22,d:26,M:11};var $n=Math.abs;function Jn(t){return(0<t)-(t<0)||+t}function Qn(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n=$n(this._milliseconds)/1e3,r=$n(this._days),i=$n(this._months);t=b(n/60),e=b(t/60),n%=60,t%=60;var a=b(i/12),s=i%=12,o=r,u=e,l=t,h=n?n.toFixed(3).replace(/\.?0+$/,""):"",c=this.asSeconds();if(!c)return"P0D";var d=c<0?"-":"",f=Jn(this._months)!==Jn(c)?"-":"",m=Jn(this._days)!==Jn(c)?"-":"",p=Jn(this._milliseconds)!==Jn(c)?"-":"";return d+"P"+(a?f+a+"Y":"")+(s?f+s+"M":"")+(o?m+o+"D":"")+(u||l||h?"T":"")+(u?p+u+"H":"")+(l?p+l+"M":"")+(h?p+h+"S":"")}var Kn=Ne.prototype;return Kn.isValid=function(){return this._isValid},Kn.abs=function(){var t=this._data;return this._milliseconds=Dn(this._milliseconds),this._days=Dn(this._days),this._months=Dn(this._months),t.milliseconds=Dn(t.milliseconds),t.seconds=Dn(t.seconds),t.minutes=Dn(t.minutes),t.hours=Dn(t.hours),t.months=Dn(t.months),t.years=Dn(t.years),this},Kn.add=function(t,e){return Mn(this,t,e,1)},Kn.subtract=function(t,e){return Mn(this,t,e,-1)},Kn.as=function(t){if(!this.isValid())return NaN;var e,n,r=this._milliseconds;if("month"===(t=L(t))||"quarter"===t||"year"===t)switch(e=this._days+r/864e5,n=this._months+Tn(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(Yn(this._months)),t){case"week":return e/7+r/6048e5;case"day":return e+r/864e5;case"hour":return 24*e+r/36e5;case"minute":return 1440*e+r/6e4;case"second":return 86400*e+r/1e3;case"millisecond":return Math.floor(864e5*e)+r;default:throw new Error("Unknown unit "+t)}},Kn.asMilliseconds=Cn,Kn.asSeconds=En,Kn.asMinutes=Ln,Kn.asHours=An,Kn.asDays=Rn,Kn.asWeeks=Wn,Kn.asMonths=In,Kn.asQuarters=Nn,Kn.asYears=jn,Kn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*S(this._months/12):NaN},Kn._bubble=function(){var t,e,n,r,i,a=this._milliseconds,s=this._days,o=this._months,u=this._data;return 0<=a&&0<=s&&0<=o||a<=0&&s<=0&&o<=0||(a+=864e5*On(Yn(o)+s),o=s=0),u.milliseconds=a%1e3,t=b(a/1e3),u.seconds=t%60,e=b(t/60),u.minutes=e%60,n=b(e/60),u.hours=n%24,s+=b(n/24),i=b(Tn(s)),o+=i,s-=On(Yn(i)),r=b(o/12),o%=12,u.days=s,u.months=o,u.years=r,this},Kn.clone=function(){return qe(this)},Kn.get=function(t){return t=L(t),this.isValid()?this[t+"s"]():NaN},Kn.milliseconds=Vn,Kn.seconds=zn,Kn.minutes=Hn,Kn.hours=Gn,Kn.days=Un,Kn.weeks=function(){return b(this.days()/7)},Kn.months=Bn,Kn.years=Zn,Kn.humanize=function(t){if(!this.isValid())return this.localeData().invalidDate();var e=this.localeData(),n=function(t,e,n){var r=qe(t).abs(),i=Xn(r.as("s")),a=Xn(r.as("m")),s=Xn(r.as("h")),o=Xn(r.as("d")),u=Xn(r.as("M")),l=Xn(r.as("y")),h=i<=qn.ss&&["s",i]||i<qn.s&&["ss",i]||a<=1&&["m"]||a<qn.m&&["mm",a]||s<=1&&["h"]||s<qn.h&&["hh",s]||o<=1&&["d"]||o<qn.d&&["dd",o]||u<=1&&["M"]||u<qn.M&&["MM",u]||l<=1&&["y"]||["yy",l];return h[2]=e,h[3]=0<+t,h[4]=n,function(t,e,n,r,i){return i.relativeTime(e||1,!!n,t,r)}.apply(null,h)}(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)},Kn.toISOString=Qn,Kn.toString=Qn,Kn.toJSON=Qn,Kn.locale=rn,Kn.localeData=sn,Kn.toIsoString=t("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Qn),Kn.lang=an,H("X",0,0,"unix"),H("x",0,0,"valueOf"),ht("x",at),ht("X",/[+-]?\d+(\.\d{1,3})?/),mt("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))}),mt("x",function(t,e,n){n._d=new Date(S(t))}),l.version="2.24.0",function(t){e=t}(Le),l.fn=_n,l.min=function(){return We("isBefore",[].slice.call(arguments,0))},l.max=function(){return We("isAfter",[].slice.call(arguments,0))},l.now=function(){return Date.now?Date.now():+new Date},l.utc=f,l.unix=function(t){return Le(1e3*t)},l.months=function(t,e){return kn(t,e,"months")},l.isDate=h,l.locale=fe,l.invalid=y,l.duration=qe,l.isMoment=w,l.weekdays=function(t,e,n){return xn(t,e,n,"weekdays")},l.parseZone=function(){return Le.apply(null,arguments).parseZone()},l.localeData=pe,l.isDuration=je,l.monthsShort=function(t,e){return kn(t,e,"monthsShort")},l.weekdaysMin=function(t,e,n){return xn(t,e,n,"weekdaysMin")},l.defineLocale=me,l.updateLocale=function(t,e){if(null!=e){var n,r,i=ue;null!=(r=de(t))&&(i=r._config),e=Y(i,e),(n=new P(e)).parentLocale=le[t],le[t]=n,fe(t)}else null!=le[t]&&(null!=le[t].parentLocale?le[t]=le[t].parentLocale:null!=le[t]&&delete le[t]);return le[t]},l.locales=function(){return D(le)},l.weekdaysShort=function(t,e,n){return xn(t,e,n,"weekdaysShort")},l.normalizeUnits=L,l.relativeTimeRounding=function(t){return void 0!==t?"function"==typeof t&&(Xn=t,!0):Xn},l.relativeTimeThreshold=function(t,e){return void 0!==qn[t]&&(void 0===e?qn[t]:(qn[t]=e,"s"===t&&(qn.ss=e-1),!0))},l.calendarFormat=function(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},l.prototype=_n,l.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},l}()}),Mu="undefined"!=typeof window&&window.moment||Du,Ou=vs(function(t,e){var h;t.exports=(h=null,function r(i,t){var a=t||{preventDefault:!1};if(i.Manager){var s=i,e=function(t,e){var n=Object.create(a);return e&&s.assign(n,e),r(new s(t,n),n)};return s.assign(e,s),e.Manager=function(t,e){var n=Object.create(a);return e&&s.assign(n,e),r(new s.Manager(t,n),n)},e}var o=Object.create(i),n=i.element;function u(t){return t.match(/[^ ]+/g)}function l(t){if("hammer.input"!==t.type){if(t.srcEvent._handled||(t.srcEvent._handled={}),t.srcEvent._handled[t.type])return;t.srcEvent._handled[t.type]=!0}var e=!1;t.stopPropagation=function(){e=!0};var n=t.srcEvent.stopPropagation.bind(t.srcEvent);"function"==typeof n&&(t.srcEvent.stopPropagation=function(){n(),t.stopPropagation()});for(var r=t.firstTarget=h;r&&!e;){var i=r.hammer;if(i)for(var a,s=0;s<i.length;s++)if(a=i[s]._handlers[t.type])for(var o=0;o<a.length&&!e;o++)a[o](t);r=r.parentNode}}return n.hammer||(n.hammer=[]),n.hammer.push(o),i.on("hammer.input",function(t){!0!==a.preventDefault&&a.preventDefault!==t.pointerType||t.preventDefault(),t.isFirst&&(h=t.target)}),o._handlers={},o.on=function(t,n){return u(t).forEach(function(t){var e=o._handlers[t];e||(o._handlers[t]=e=[],i.on(t,l)),e.push(n)}),o},o.off=function(t,n){return u(t).forEach(function(t){var e=o._handlers[t];e&&(0<(e=n?e.filter(function(t){return t!==n}):[]).length?o._handlers[t]=e:(i.off(t,l),delete o._handlers[t]))}),o},o.emit=function(t,e){h=e.target,i.emit(t,e)},o.destroy=function(){var t=i.element.hammer,e=t.indexOf(o);-1!==e&&t.splice(e,1),t.length||delete i.element.hammer,o._handlers={},i.destroy()},o})}),Tu=vs(function(Gt){!function(a,i,t,c){var s,o=["","webkit","Moz","MS","ms","o"],e=i.createElement("div"),n="function",u=Math.round,d=Math.abs,f=Date.now;function l(t,e,n){return setTimeout(g(t,n),e)}function r(t,e,n){return!!Array.isArray(t)&&(h(t,n[e],n),!0)}function h(t,e,n){var r;if(t)if(t.forEach)t.forEach(e,n);else if(t.length!==c)for(r=0;r<t.length;)e.call(n,t[r],r,t),r++;else for(r in t)t.hasOwnProperty(r)&&e.call(n,t[r],r,t)}function m(r,t,e){var i="DEPRECATED METHOD: "+t+"\n"+e+" AT \n";return function(){var t=new Error("get-stack-trace"),e=t&&t.stack?t.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",n=a.console&&(a.console.warn||a.console.log);return n&&n.call(a.console,i,e),r.apply(this,arguments)}}s="function"!=typeof Object.assign?function(t){if(t===c||null===t)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!==c&&null!==r)for(var i in r)r.hasOwnProperty(i)&&(e[i]=r[i])}return e}:Object.assign;var p=m(function(t,e,n){for(var r=Object.keys(e),i=0;i<r.length;)(!n||n&&t[r[i]]===c)&&(t[r[i]]=e[r[i]]),i++;return t},"extend","Use `assign`."),y=m(function(t,e){return p(t,e,!0)},"merge","Use `assign`.");function v(t,e,n){var r,i=e.prototype;(r=t.prototype=Object.create(i)).constructor=t,r._super=i,n&&s(r,n)}function g(t,e){return function(){return t.apply(e,arguments)}}function _(t,e){return typeof t==n?t.apply(e&&e[0]||c,e):t}function w(t,e){return t===c?e:t}function b(e,t,n){h(D(t),function(t){e.addEventListener(t,n,!1)})}function S(e,t,n){h(D(t),function(t){e.removeEventListener(t,n,!1)})}function k(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function x(t,e){return-1<t.indexOf(e)}function D(t){return t.trim().split(/\s+/g)}function M(t,e,n){if(t.indexOf&&!n)return t.indexOf(e);for(var r=0;r<t.length;){if(n&&t[r][n]==e||!n&&t[r]===e)return r;r++}return-1}function O(t){return Array.prototype.slice.call(t,0)}function T(t,n,e){for(var r=[],i=[],a=0;a<t.length;){var s=n?t[a][n]:t[a];M(i,s)<0&&r.push(t[a]),i[a]=s,a++}return e&&(r=n?r.sort(function(t,e){return t[n]>e[n]}):r.sort()),r}function Y(t,e){for(var n,r,i=e[0].toUpperCase()+e.slice(1),a=0;a<o.length;){if((r=(n=o[a])?n+i:e)in t)return r;a++}return c}var P=1;function C(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||a}var E="ontouchstart"in a,L=Y(a,"PointerEvent")!==c,A=E&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),R="touch",W=25,I=1,N=4,j=8,F=1,V=2,z=4,H=8,G=16,U=V|z,B=H|G,Z=U|B,X=["x","y"],q=["clientX","clientY"];function $(e,t){var n=this;this.manager=e,this.callback=t,this.element=e.element,this.target=e.options.inputTarget,this.domHandler=function(t){_(e.options.enable,[e])&&n.handler(t)},this.init()}function J(t,e,n){var r=n.pointers.length,i=n.changedPointers.length,a=e&I&&r-i==0,s=e&(N|j)&&r-i==0;n.isFirst=!!a,n.isFinal=!!s,a&&(t.session={}),n.eventType=e,function(t,e){var n=t.session,r=e.pointers,i=r.length;n.firstInput||(n.firstInput=Q(e));1<i&&!n.firstMultiple?n.firstMultiple=Q(e):1===i&&(n.firstMultiple=!1);var a=n.firstInput,s=n.firstMultiple,o=s?s.center:a.center,u=e.center=K(r);e.timeStamp=f(),e.deltaTime=e.timeStamp-a.timeStamp,e.angle=rt(o,u),e.distance=nt(o,u),function(t,e){var n=e.center,r=t.offsetDelta||{},i=t.prevDelta||{},a=t.prevInput||{};e.eventType!==I&&a.eventType!==N||(i=t.prevDelta={x:a.deltaX||0,y:a.deltaY||0},r=t.offsetDelta={x:n.x,y:n.y});e.deltaX=i.x+(n.x-r.x),e.deltaY=i.y+(n.y-r.y)}(n,e),e.offsetDirection=et(e.deltaX,e.deltaY);var l=tt(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=l.x,e.overallVelocityY=l.y,e.overallVelocity=d(l.x)>d(l.y)?l.x:l.y,e.scale=s?function(t,e){return nt(e[0],e[1],q)/nt(t[0],t[1],q)}(s.pointers,r):1,e.rotation=s?function(t,e){return rt(e[1],e[0],q)+rt(t[1],t[0],q)}(s.pointers,r):0,e.maxPointers=n.prevInput?e.pointers.length>n.prevInput.maxPointers?e.pointers.length:n.prevInput.maxPointers:e.pointers.length,function(t,e){var n,r,i,a,s=t.lastInterval||e,o=e.timeStamp-s.timeStamp;if(e.eventType!=j&&(W<o||s.velocity===c)){var u=e.deltaX-s.deltaX,l=e.deltaY-s.deltaY,h=tt(o,u,l);r=h.x,i=h.y,n=d(h.x)>d(h.y)?h.x:h.y,a=et(u,l),t.lastInterval=e}else n=s.velocity,r=s.velocityX,i=s.velocityY,a=s.direction;e.velocity=n,e.velocityX=r,e.velocityY=i,e.direction=a}(n,e);var h=t.element;k(e.srcEvent.target,h)&&(h=e.srcEvent.target);e.target=h}(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function Q(t){for(var e=[],n=0;n<t.pointers.length;)e[n]={clientX:u(t.pointers[n].clientX),clientY:u(t.pointers[n].clientY)},n++;return{timeStamp:f(),pointers:e,center:K(e),deltaX:t.deltaX,deltaY:t.deltaY}}function K(t){var e=t.length;if(1===e)return{x:u(t[0].clientX),y:u(t[0].clientY)};for(var n=0,r=0,i=0;i<e;)n+=t[i].clientX,r+=t[i].clientY,i++;return{x:u(n/e),y:u(r/e)}}function tt(t,e,n){return{x:e/t||0,y:n/t||0}}function et(t,e){return t===e?F:d(t)>=d(e)?t<0?V:z:e<0?H:G}function nt(t,e,n){var r=e[(n=n||X)[0]]-t[n[0]],i=e[n[1]]-t[n[1]];return Math.sqrt(r*r+i*i)}function rt(t,e,n){var r=e[(n=n||X)[0]]-t[n[0]],i=e[n[1]]-t[n[1]];return 180*Math.atan2(i,r)/Math.PI}$.prototype={handler:function(){},init:function(){this.evEl&&b(this.element,this.evEl,this.domHandler),this.evTarget&&b(this.target,this.evTarget,this.domHandler),this.evWin&&b(C(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&S(this.element,this.evEl,this.domHandler),this.evTarget&&S(this.target,this.evTarget,this.domHandler),this.evWin&&S(C(this.element),this.evWin,this.domHandler)}};var it={mousedown:I,mousemove:2,mouseup:N},at="mousedown",st="mousemove mouseup";function ot(){this.evEl=at,this.evWin=st,this.pressed=!1,$.apply(this,arguments)}v(ot,$,{handler:function(t){var e=it[t.type];e&I&&0===t.button&&(this.pressed=!0),2&e&&1!==t.which&&(e=N),this.pressed&&(e&N&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:"mouse",srcEvent:t}))}});var ut={pointerdown:I,pointermove:2,pointerup:N,pointercancel:j,pointerout:j},lt={2:R,3:"pen",4:"mouse",5:"kinect"},ht="pointerdown",ct="pointermove pointerup pointercancel";function dt(){this.evEl=ht,this.evWin=ct,$.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}a.MSPointerEvent&&!a.PointerEvent&&(ht="MSPointerDown",ct="MSPointerMove MSPointerUp MSPointerCancel"),v(dt,$,{handler:function(t){var e=this.store,n=!1,r=t.type.toLowerCase().replace("ms",""),i=ut[r],a=lt[t.pointerType]||t.pointerType,s=a==R,o=M(e,t.pointerId,"pointerId");i&I&&(0===t.button||s)?o<0&&(e.push(t),o=e.length-1):i&(N|j)&&(n=!0),o<0||(e[o]=t,this.callback(this.manager,i,{pointers:e,changedPointers:[t],pointerType:a,srcEvent:t}),n&&e.splice(o,1))}});var ft={touchstart:I,touchmove:2,touchend:N,touchcancel:j};function mt(){this.evTarget="touchstart",this.evWin="touchstart touchmove touchend touchcancel",this.started=!1,$.apply(this,arguments)}v(mt,$,{handler:function(t){var e=ft[t.type];if(e===I&&(this.started=!0),this.started){var n=function(t,e){var n=O(t.touches),r=O(t.changedTouches);e&(N|j)&&(n=T(n.concat(r),"identifier",!0));return[n,r]}.call(this,t,e);e&(N|j)&&n[0].length-n[1].length==0&&(this.started=!1),this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:R,srcEvent:t})}}});var pt={touchstart:I,touchmove:2,touchend:N,touchcancel:j},yt="touchstart touchmove touchend touchcancel";function vt(){this.evTarget=yt,this.targetIds={},$.apply(this,arguments)}v(vt,$,{handler:function(t){var e=pt[t.type],n=function(t,e){var n=O(t.touches),r=this.targetIds;if(e&(2|I)&&1===n.length)return r[n[0].identifier]=!0,[n,n];var i,a,s=O(t.changedTouches),o=[],u=this.target;if(a=n.filter(function(t){return k(t.target,u)}),e===I)for(i=0;i<a.length;)r[a[i].identifier]=!0,i++;i=0;for(;i<s.length;)r[s[i].identifier]&&o.push(s[i]),e&(N|j)&&delete r[s[i].identifier],i++;return o.length?[T(a.concat(o),"identifier",!0),o]:void 0}.call(this,t,e);n&&this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:R,srcEvent:t})}});var gt=2500;function _t(){$.apply(this,arguments);var t=g(this.handler,this);this.touch=new vt(this.manager,t),this.mouse=new ot(this.manager,t),this.primaryTouch=null,this.lastTouches=[]}function wt(t){var e=t.changedPointers[0];if(e.identifier===this.primaryTouch){var n={x:e.clientX,y:e.clientY};this.lastTouches.push(n);var r=this.lastTouches;setTimeout(function(){var t=r.indexOf(n);-1<t&&r.splice(t,1)},gt)}}v(_t,$,{handler:function(t,e,n){var r=n.pointerType==R,i="mouse"==n.pointerType;if(!(i&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if(r)(function(t,e){t&I?(this.primaryTouch=e.changedPointers[0].identifier,wt.call(this,e)):t&(N|j)&&wt.call(this,e)}).call(this,e,n);else if(i&&function(t){for(var e=t.srcEvent.clientX,n=t.srcEvent.clientY,r=0;r<this.lastTouches.length;r++){var i=this.lastTouches[r],a=Math.abs(e-i.x),s=Math.abs(n-i.y);if(a<=25&&s<=25)return!0}return!1}.call(this,n))return;this.callback(t,e,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var bt=Y(e.style,"touchAction"),St=bt!==c,kt="manipulation",xt="none",Dt="pan-x",Mt="pan-y",Ot=function(){if(!St)return!1;var e={},n=a.CSS&&a.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(t){e[t]=!n||a.CSS.supports("touch-action",t)}),e}();function Tt(t,e){this.manager=t,this.set(e)}Tt.prototype={set:function(t){"compute"==t&&(t=this.compute()),St&&this.manager.element.style&&Ot[t]&&(this.manager.element.style[bt]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var e=[];return h(this.manager.recognizers,function(t){_(t.options.enable,[t])&&(e=e.concat(t.getTouchAction()))}),function(t){if(x(t,xt))return xt;var e=x(t,Dt),n=x(t,Mt);if(e&&n)return xt;if(e||n)return e?Dt:Mt;if(x(t,kt))return kt;return"auto"}(e.join(" "))},preventDefaults:function(t){var e=t.srcEvent,n=t.offsetDirection;if(this.manager.session.prevented)e.preventDefault();else{var r=this.actions,i=x(r,xt)&&!Ot.none,a=x(r,Mt)&&!Ot[Mt],s=x(r,Dt)&&!Ot[Dt];if(i){var o=1===t.pointers.length,u=t.distance<2,l=t.deltaTime<250;if(o&&u&&l)return}if(!s||!a)return i||a&&n&U||s&&n&B?this.preventSrc(e):void 0}},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};var Yt=1;function Pt(t){this.options=s({},this.defaults,t||{}),this.id=P++,this.manager=null,this.options.enable=w(this.options.enable,!0),this.state=Yt,this.simultaneous={},this.requireFail=[]}function Ct(t){return 16&t?"cancel":8&t?"end":4&t?"move":2&t?"start":""}function Et(t){return t==G?"down":t==H?"up":t==V?"left":t==z?"right":""}function Lt(t,e){var n=e.manager;return n?n.get(t):t}function At(){Pt.apply(this,arguments)}function Rt(){At.apply(this,arguments),this.pX=null,this.pY=null}function Wt(){At.apply(this,arguments)}function It(){Pt.apply(this,arguments),this._timer=null,this._input=null}function Nt(){At.apply(this,arguments)}function jt(){At.apply(this,arguments)}function Ft(){Pt.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function Vt(t,e){return(e=e||{}).recognizers=w(e.recognizers,Vt.defaults.preset),new zt(t,e)}Pt.prototype={defaults:{},set:function(t){return s(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(r(t,"recognizeWith",this))return this;var e=this.simultaneous;return e[(t=Lt(t,this)).id]||(e[t.id]=t).recognizeWith(this),this},dropRecognizeWith:function(t){return r(t,"dropRecognizeWith",this)||(t=Lt(t,this),delete this.simultaneous[t.id]),this},requireFailure:function(t){if(r(t,"requireFailure",this))return this;var e=this.requireFail;return-1===M(e,t=Lt(t,this))&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(r(t,"dropRequireFailure",this))return this;t=Lt(t,this);var e=M(this.requireFail,t);return-1<e&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return 0<this.requireFail.length},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(e){var n=this,t=this.state;function r(t){n.manager.emit(t,e)}t<8&&r(n.options.event+Ct(t)),r(n.options.event),e.additionalEvent&&r(e.additionalEvent),8<=t&&r(n.options.event+Ct(t))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=32},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(this.requireFail[t].state&(32|Yt)))return!1;t++}return!0},recognize:function(t){var e=s({},t);if(!_(this.options.enable,[this,e]))return this.reset(),void(this.state=32);56&this.state&&(this.state=Yt),this.state=this.process(e),30&this.state&&this.tryEmit(e)},process:function(t){},getTouchAction:function(){},reset:function(){}},v(At,Pt,{defaults:{pointers:1},attrTest:function(t){var e=this.options.pointers;return 0===e||t.pointers.length===e},process:function(t){var e=this.state,n=t.eventType,r=6&e,i=this.attrTest(t);return r&&(n&j||!i)?16|e:r||i?n&N?8|e:2&e?4|e:2:32}}),v(Rt,At,{defaults:{event:"pan",threshold:10,pointers:1,direction:Z},getTouchAction:function(){var t=this.options.direction,e=[];return t&U&&e.push(Mt),t&B&&e.push(Dt),e},directionTest:function(t){var e=this.options,n=!0,r=t.distance,i=t.direction,a=t.deltaX,s=t.deltaY;return i&e.direction||(r=e.direction&U?(i=0===a?F:a<0?V:z,n=a!=this.pX,Math.abs(t.deltaX)):(i=0===s?F:s<0?H:G,n=s!=this.pY,Math.abs(t.deltaY))),t.direction=i,n&&r>e.threshold&&i&e.direction},attrTest:function(t){return At.prototype.attrTest.call(this,t)&&(2&this.state||!(2&this.state)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=Et(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),v(Wt,At,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[xt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||2&this.state)},emit:function(t){if(1!==t.scale){var e=t.scale<1?"in":"out";t.additionalEvent=this.options.event+e}this._super.emit.call(this,t)}}),v(It,Pt,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return["auto"]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,r=t.distance<e.threshold,i=t.deltaTime>e.time;if(this._input=t,!r||!n||t.eventType&(N|j)&&!i)this.reset();else if(t.eventType&I)this.reset(),this._timer=l(function(){this.state=8,this.tryEmit()},e.time,this);else if(t.eventType&N)return 8;return 32},reset:function(){clearTimeout(this._timer)},emit:function(t){8===this.state&&(t&&t.eventType&N?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=f(),this.manager.emit(this.options.event,this._input)))}}),v(Nt,At,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[xt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||2&this.state)}}),v(jt,At,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:U|B,pointers:1},getTouchAction:function(){return Rt.prototype.getTouchAction.call(this)},attrTest:function(t){var e,n=this.options.direction;return n&(U|B)?e=t.overallVelocity:n&U?e=t.overallVelocityX:n&B&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&n&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&d(e)>this.options.velocity&&t.eventType&N},emit:function(t){var e=Et(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),v(Ft,Pt,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[kt]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,r=t.distance<e.threshold,i=t.deltaTime<e.time;if(this.reset(),t.eventType&I&&0===this.count)return this.failTimeout();if(r&&i&&n){if(t.eventType!=N)return this.failTimeout();var a=!this.pTime||t.timeStamp-this.pTime<e.interval,s=!this.pCenter||nt(this.pCenter,t.center)<e.posThreshold;if(this.pTime=t.timeStamp,this.pCenter=t.center,s&&a?this.count+=1:this.count=1,this._input=t,0==this.count%e.taps)return this.hasRequireFailures()?(this._timer=l(function(){this.state=8,this.tryEmit()},e.interval,this),2):8}return 32},failTimeout:function(){return this._timer=l(function(){this.state=32},this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){8==this.state&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),Vt.VERSION="2.0.7",Vt.defaults={domEvents:!1,touchAction:"compute",enable:!0,inputTarget:null,inputClass:null,preset:[[Nt,{enable:!1}],[Wt,{enable:!1},["rotate"]],[jt,{direction:U}],[Rt,{direction:U},["swipe"]],[Ft],[Ft,{event:"doubletap",taps:2},["tap"]],[It]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};function zt(t,e){this.options=s({},Vt.defaults,e||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=function(t){var e=t.options.inputClass;return new(e||(L?dt:A?vt:E?_t:ot))(t,J)}(this),this.touchAction=new Tt(this,this.options.touchAction),Ht(this,!0),h(this.options.recognizers,function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])},this)}function Ht(n,r){var i,a=n.element;a.style&&(h(n.options.cssProps,function(t,e){i=Y(a.style,e),r?(n.oldCssProps[i]=a.style[i],a.style[i]=t):a.style[i]=n.oldCssProps[i]||""}),r||(n.oldCssProps={}))}zt.prototype={set:function(t){return s(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},stop:function(t){this.session.stopped=t?2:1},recognize:function(t){var e=this.session;if(!e.stopped){var n;this.touchAction.preventDefaults(t);var r=this.recognizers,i=e.curRecognizer;(!i||i&&8&i.state)&&(i=e.curRecognizer=null);for(var a=0;a<r.length;)n=r[a],2===e.stopped||i&&n!=i&&!n.canRecognizeWith(i)?n.reset():n.recognize(t),!i&&14&n.state&&(i=e.curRecognizer=n),a++}},get:function(t){if(t instanceof Pt)return t;for(var e=this.recognizers,n=0;n<e.length;n++)if(e[n].options.event==t)return e[n];return null},add:function(t){if(r(t,"add",this))return this;var e=this.get(t.options.event);return e&&this.remove(e),this.recognizers.push(t),(t.manager=this).touchAction.update(),t},remove:function(t){if(r(t,"remove",this))return this;if(t=this.get(t)){var e=this.recognizers,n=M(e,t);-1!==n&&(e.splice(n,1),this.touchAction.update())}return this},on:function(t,e){if(t!==c&&e!==c){var n=this.handlers;return h(D(t),function(t){n[t]=n[t]||[],n[t].push(e)}),this}},off:function(t,e){if(t!==c){var n=this.handlers;return h(D(t),function(t){e?n[t]&&n[t].splice(M(n[t],e),1):delete n[t]}),this}},emit:function(t,e){this.options.domEvents&&function(t,e){var n=i.createEvent("Event");n.initEvent(t,!0,!0),(n.gesture=e).target.dispatchEvent(n)}(t,e);var n=this.handlers[t]&&this.handlers[t].slice();if(n&&n.length){e.type=t,e.preventDefault=function(){e.srcEvent.preventDefault()};for(var r=0;r<n.length;)n[r](e),r++}},destroy:function(){this.element&&Ht(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},s(Vt,{INPUT_START:I,INPUT_MOVE:2,INPUT_END:N,INPUT_CANCEL:j,STATE_POSSIBLE:Yt,STATE_BEGAN:2,STATE_CHANGED:4,STATE_ENDED:8,STATE_RECOGNIZED:8,STATE_CANCELLED:16,STATE_FAILED:32,DIRECTION_NONE:F,DIRECTION_LEFT:V,DIRECTION_RIGHT:z,DIRECTION_UP:H,DIRECTION_DOWN:G,DIRECTION_HORIZONTAL:U,DIRECTION_VERTICAL:B,DIRECTION_ALL:Z,Manager:zt,Input:$,TouchAction:Tt,TouchInput:vt,MouseInput:ot,PointerEventInput:dt,TouchMouseInput:_t,SingleTouchInput:mt,Recognizer:Pt,AttrRecognizer:At,Tap:Ft,Pan:Rt,Swipe:jt,Pinch:Wt,Rotate:Nt,Press:It,on:b,off:S,each:h,merge:y,extend:p,assign:s,inherit:v,bindFn:g,prefixed:Y}),(void 0!==a?a:"undefined"!=typeof self?self:{}).Hammer=Vt,"function"==typeof c&&c.amd?c(function(){return Vt}):Gt.exports?Gt.exports=Vt:a.Hammer=Vt}(window,document)}),Yu=vs(function(t){if("undefined"!=typeof window){var e=Ou,n=window.Hammer||Tu;t.exports=e(n,{preventDefault:"mouse"})}else t.exports=function(){return function(){function e(){}return{on:e,off:e,destroy:e,emit:e,get:function(t){return{set:e}}}}()}}),Pu=vs(function(t,e){t.exports=function(t){var e,i=t&&t.preventDefault||!1,n=t&&t.container||window,r={},s={keydown:{},keyup:{}},o={};for(e=97;e<=122;e++)o[String.fromCharCode(e)]={code:e-97+65,shift:!1};for(e=65;e<=90;e++)o[String.fromCharCode(e)]={code:e,shift:!0};for(e=0;e<=9;e++)o[""+e]={code:48+e,shift:!1};for(e=1;e<=12;e++)o["F"+e]={code:111+e,shift:!1};for(e=0;e<=9;e++)o["num"+e]={code:96+e,shift:!1};function a(t){l(t,"keydown")}function u(t){l(t,"keyup")}o["num*"]={code:106,shift:!1},o["num+"]={code:107,shift:!1},o["num-"]={code:109,shift:!1},o["num/"]={code:111,shift:!1},o["num."]={code:110,shift:!1},o.left={code:37,shift:!1},o.up={code:38,shift:!1},o.right={code:39,shift:!1},o.down={code:40,shift:!1},o.space={code:32,shift:!1},o.enter={code:13,shift:!1},o.shift={code:16,shift:void 0},o.esc={code:27,shift:!1},o.backspace={code:8,shift:!1},o.tab={code:9,shift:!1},o.ctrl={code:17,shift:!1},o.alt={code:18,shift:!1},o.delete={code:46,shift:!1},o.pageup={code:33,shift:!1},o.pagedown={code:34,shift:!1},o["="]={code:187,shift:!1},o["-"]={code:189,shift:!1},o["]"]={code:221,shift:!1},o["["]={code:219,shift:!1};var l=function(t,e){if(void 0!==s[e][t.keyCode]){for(var n=s[e][t.keyCode],r=0;r<n.length;r++)void 0===n[r].shift?n[r].fn(t):1==n[r].shift&&1==t.shiftKey?n[r].fn(t):0==n[r].shift&&0==t.shiftKey&&n[r].fn(t);1==i&&t.preventDefault()}};return r.bind=function(t,e,n){if(void 0===n&&(n="keydown"),void 0===o[t])throw new Error("unsupported key: "+t);void 0===s[n][o[t].code]&&(s[n][o[t].code]=[]),s[n][o[t].code].push({fn:e,shift:o[t].shift})},r.bindAll=function(t,e){for(var n in void 0===e&&(e="keydown"),o)o.hasOwnProperty(n)&&r.bind(n,t,e)},r.getKey=function(t){for(var e in o)if(o.hasOwnProperty(e)){if(1==t.shiftKey&&1==o[e].shift&&t.keyCode==o[e].code)return e;if(0==t.shiftKey&&0==o[e].shift&&t.keyCode==o[e].code)return e;if(t.keyCode==o[e].code&&"shift"==e)return e}return"unknown key, currently not supported"},r.unbind=function(t,e,n){if(void 0===n&&(n="keydown"),void 0===o[t])throw new Error("unsupported key: "+t);if(void 0!==e){var r=[],i=s[n][o[t].code];if(void 0!==i)for(var a=0;a<i.length;a++)i[a].fn==e&&i[a].shift==o[t].shift||r.push(s[n][o[t].code][a]);s[n][o[t].code]=r}else s[n][o[t].code]=[]},r.reset=function(){s={keydown:{},keyup:{}}},r.destroy=function(){s={keydown:{},keyup:{}},n.removeEventListener("keydown",a,!0),n.removeEventListener("keyup",u,!0)},n.addEventListener("keydown",a,!0),n.addEventListener("keyup",u,!0),r}}),Cu=To,Eu=_s,Lu=ou.DataSet,Au=ou.DataView,Ru=ou.Queue,Wu=xu,Iu={Camera:Ao,Filter:hu,Point2d:Oo,Point3d:Mo,Slider:Po,StepNumber:Eo},Nu=Mu,ju=Yu,Fu=Pu,Vu={util:Cu,DOMutil:Eu,DataSet:Lu,DataView:Au,Queue:Ru,Graph3d:Wu,graph3d:Iu,moment:Nu,Hammer:ju,keycharm:Fu};t.DOMutil=Eu,t.DataSet=Lu,t.DataView=Au,t.Graph3d=Wu,t.Hammer=ju,t.Queue=Ru,t.default=Vu,t.graph3d=Iu,t.keycharm=Fu,t.moment=Nu,t.util=Cu,Object.defineProperty(t,"__esModule",{value:!0})});