vue-visjs
Version:
> Vue2 component that helps with <a href="http://visjs.org/">Visjs</a> interaction. > This is a fork of the [vis2vue](https://github.com/alexcode/vue2vis) project to update to the latest split component Visjs structure.
1 lines • 930 kB
JavaScript
var VueVisjs=function(t){"use strict";"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function e(t){var e={exports:{}};return t(e,e.exports),e.exports}function i(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var g=e((function(t,e){t.exports=function(){var e,g;function o(){return e.apply(null,arguments)}function s(t){e=t}function n(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function A(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function C(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function I(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(C(t,e))return!1;return!0}function r(t){return void 0===t}function a(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 d(t,e){var i,g=[];for(i=0;i<t.length;++i)g.push(e(t[i],i));return g}function l(t,e){for(var i in e)C(e,i)&&(t[i]=e[i]);return C(e,"toString")&&(t.toString=e.toString),C(e,"valueOf")&&(t.valueOf=e.valueOf),t}function c(t,e,i,g){return Ui(t,e,i,g,!0).utc()}function p(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function u(t){return null==t._pf&&(t._pf=p()),t._pf}function m(t){if(null==t._isValid){var e=u(t),i=g.call(e.parsedDateParts,(function(t){return null!=t})),o=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&i);if(t._strict&&(o=o&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return o;t._isValid=o}return t._isValid}function f(t){var e=c(NaN);return null!=t?l(u(e),t):u(e).userInvalidated=!0,e}g=Array.prototype.some?Array.prototype.some:function(t){var e,i=Object(this),g=i.length>>>0;for(e=0;e<g;e++)if(e in i&&t.call(this,i[e],e,i))return!0;return!1};var b=o.momentProperties=[],v=!1;function y(t,e){var i,g,o;if(r(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),r(e._i)||(t._i=e._i),r(e._f)||(t._f=e._f),r(e._l)||(t._l=e._l),r(e._strict)||(t._strict=e._strict),r(e._tzm)||(t._tzm=e._tzm),r(e._isUTC)||(t._isUTC=e._isUTC),r(e._offset)||(t._offset=e._offset),r(e._pf)||(t._pf=u(e)),r(e._locale)||(t._locale=e._locale),b.length>0)for(i=0;i<b.length;i++)r(o=e[g=b[i]])||(t[g]=o);return t}function w(t){y(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===v&&(v=!0,o.updateOffset(this),v=!1)}function x(t){return t instanceof w||null!=t&&null!=t._isAMomentObject}function D(t){!1===o.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function k(t,e){var i=!0;return l((function(){if(null!=o.deprecationHandler&&o.deprecationHandler(null,t),i){var g,s,n,A=[];for(s=0;s<arguments.length;s++){if(g="","object"==typeof arguments[s]){for(n in g+="\n["+s+"] ",arguments[0])C(arguments[0],n)&&(g+=n+": "+arguments[0][n]+", ");g=g.slice(0,-2)}else g=arguments[s];A.push(g)}D(t+"\nArguments: "+Array.prototype.slice.call(A).join("")+"\n"+(new Error).stack),i=!1}return e.apply(this,arguments)}),e)}var T,E={};function O(t,e){null!=o.deprecationHandler&&o.deprecationHandler(t,e),E[t]||(D(e),E[t]=!0)}function _(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function S(t){var e,i;for(i in t)C(t,i)&&(_(e=t[i])?this[i]=e:this["_"+i]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function N(t,e){var i,g=l({},t);for(i in e)C(e,i)&&(A(t[i])&&A(e[i])?(g[i]={},l(g[i],t[i]),l(g[i],e[i])):null!=e[i]?g[i]=e[i]:delete g[i]);for(i in t)C(t,i)&&!C(e,i)&&A(t[i])&&(g[i]=l({},g[i]));return g}function M(t){null!=t&&this.set(t)}o.suppressDeprecationWarnings=!1,o.deprecationHandler=null,T=Object.keys?Object.keys:function(t){var e,i=[];for(e in t)C(t,e)&&i.push(e);return i};var R={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function P(t,e,i){var g=this._calendar[t]||this._calendar.sameElse;return _(g)?g.call(e,i):g}function z(t,e,i){var g=""+Math.abs(t),o=e-g.length;return(t>=0?i?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+g}var F=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,B=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,L={},G={};function Y(t,e,i,g){var o=g;"string"==typeof g&&(o=function(){return this[g]()}),t&&(G[t]=o),e&&(G[e[0]]=function(){return z(o.apply(this,arguments),e[1],e[2])}),i&&(G[i]=function(){return this.localeData().ordinal(o.apply(this,arguments),t)})}function Z(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function j(t){var e,i,g=t.match(F);for(e=0,i=g.length;e<i;e++)G[g[e]]?g[e]=G[g[e]]:g[e]=Z(g[e]);return function(e){var o,s="";for(o=0;o<i;o++)s+=_(g[o])?g[o].call(e,t):g[o];return s}}function V(t,e){return t.isValid()?(e=W(e,t.localeData()),L[e]=L[e]||j(e),L[e](t)):t.localeData().invalidDate()}function W(t,e){var i=5;function g(t){return e.longDateFormat(t)||t}for(B.lastIndex=0;i>=0&&B.test(t);)t=t.replace(B,g),B.lastIndex=0,i-=1;return t}var H={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function U(t){var e=this._longDateFormat[t],i=this._longDateFormat[t.toUpperCase()];return e||!i?e:(this._longDateFormat[t]=i.match(F).map((function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t})).join(""),this._longDateFormat[t])}var X="Invalid date";function Q(){return this._invalidDate}var K="%d",J=/\d{1,2}/;function q(t){return this._ordinal.replace("%d",t)}var $={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function tt(t,e,i,g){var o=this._relativeTime[i];return _(o)?o(t,e,i,g):o.replace(/%d/i,t)}function et(t,e){var i=this._relativeTime[t>0?"future":"past"];return _(i)?i(e):i.replace(/%s/i,e)}var it={};function gt(t,e){var i=t.toLowerCase();it[i]=it[i+"s"]=it[e]=t}function ot(t){return"string"==typeof t?it[t]||it[t.toLowerCase()]:void 0}function st(t){var e,i,g={};for(i in t)C(t,i)&&(e=ot(i))&&(g[e]=t[i]);return g}var nt={};function At(t,e){nt[t]=e}function Ct(t){var e,i=[];for(e in t)C(t,e)&&i.push({unit:e,priority:nt[e]});return i.sort((function(t,e){return t.priority-e.priority})),i}function It(t){return t%4==0&&t%100!=0||t%400==0}function rt(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function at(t){var e=+t,i=0;return 0!==e&&isFinite(e)&&(i=rt(e)),i}function ht(t,e){return function(i){return null!=i?(lt(this,t,i),o.updateOffset(this,e),this):dt(this,t)}}function dt(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function lt(t,e,i){t.isValid()&&!isNaN(i)&&("FullYear"===e&&It(t.year())&&1===t.month()&&29===t.date()?(i=at(i),t._d["set"+(t._isUTC?"UTC":"")+e](i,t.month(),te(i,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](i))}function ct(t){return _(this[t=ot(t)])?this[t]():this}function pt(t,e){if("object"==typeof t){var i,g=Ct(t=st(t));for(i=0;i<g.length;i++)this[g[i].unit](t[g[i].unit])}else if(_(this[t=ot(t)]))return this[t](e);return this}var ut,mt=/\d/,ft=/\d\d/,bt=/\d{3}/,vt=/\d{4}/,yt=/[+-]?\d{6}/,wt=/\d\d?/,xt=/\d\d\d\d?/,Dt=/\d\d\d\d\d\d?/,kt=/\d{1,3}/,Tt=/\d{1,4}/,Et=/[+-]?\d{1,6}/,Ot=/\d+/,_t=/[+-]?\d+/,St=/Z|[+-]\d\d:?\d\d/gi,Nt=/Z|[+-]\d\d(?::?\d\d)?/gi,Mt=/[+-]?\d+(\.\d{1,3})?/,Rt=/[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;function Pt(t,e,i){ut[t]=_(e)?e:function(t,g){return t&&i?i:e}}function zt(t,e){return C(ut,t)?ut[t](e._strict,e._locale):new RegExp(Ft(t))}function Ft(t){return Bt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,e,i,g,o){return e||i||g||o})))}function Bt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}ut={};var Lt={};function Gt(t,e){var i,g=e;for("string"==typeof t&&(t=[t]),a(e)&&(g=function(t,i){i[e]=at(t)}),i=0;i<t.length;i++)Lt[t[i]]=g}function Yt(t,e){Gt(t,(function(t,i,g,o){g._w=g._w||{},e(t,g._w,g,o)}))}function Zt(t,e,i){null!=e&&C(Lt,t)&&Lt[t](e,i._a,i,t)}var jt,Vt=0,Wt=1,Ht=2,Ut=3,Xt=4,Qt=5,Kt=6,Jt=7,qt=8;function $t(t,e){return(t%e+e)%e}function te(t,e){if(isNaN(t)||isNaN(e))return NaN;var i=$t(e,12);return t+=(e-i)/12,1===i?It(t)?29:28:31-i%7%2}jt=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},Y("M",["MM",2],"Mo",(function(){return this.month()+1})),Y("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),Y("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),gt("month","M"),At("month",8),Pt("M",wt),Pt("MM",wt,ft),Pt("MMM",(function(t,e){return e.monthsShortRegex(t)})),Pt("MMMM",(function(t,e){return e.monthsRegex(t)})),Gt(["M","MM"],(function(t,e){e[Wt]=at(t)-1})),Gt(["MMM","MMMM"],(function(t,e,i,g){var o=i._locale.monthsParse(t,g,i._strict);null!=o?e[Wt]=o:u(i).invalidMonth=t}));var ee="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ie="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ge=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,oe=Rt,se=Rt;function ne(t,e){return t?n(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||ge).test(e)?"format":"standalone"][t.month()]:n(this._months)?this._months:this._months.standalone}function Ae(t,e){return t?n(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[ge.test(e)?"format":"standalone"][t.month()]:n(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Ce(t,e,i){var g,o,s,n=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],g=0;g<12;++g)s=c([2e3,g]),this._shortMonthsParse[g]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[g]=this.months(s,"").toLocaleLowerCase();return i?"MMM"===e?-1!==(o=jt.call(this._shortMonthsParse,n))?o:null:-1!==(o=jt.call(this._longMonthsParse,n))?o:null:"MMM"===e?-1!==(o=jt.call(this._shortMonthsParse,n))||-1!==(o=jt.call(this._longMonthsParse,n))?o:null:-1!==(o=jt.call(this._longMonthsParse,n))||-1!==(o=jt.call(this._shortMonthsParse,n))?o:null}function Ie(t,e,i){var g,o,s;if(this._monthsParseExact)return Ce.call(this,t,e,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),g=0;g<12;g++){if(o=c([2e3,g]),i&&!this._longMonthsParse[g]&&(this._longMonthsParse[g]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[g]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),i||this._monthsParse[g]||(s="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[g]=new RegExp(s.replace(".",""),"i")),i&&"MMMM"===e&&this._longMonthsParse[g].test(t))return g;if(i&&"MMM"===e&&this._shortMonthsParse[g].test(t))return g;if(!i&&this._monthsParse[g].test(t))return g}}function re(t,e){var i;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=at(e);else if(!a(e=t.localeData().monthsParse(e)))return t;return i=Math.min(t.date(),te(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,i),t}function ae(t){return null!=t?(re(this,t),o.updateOffset(this,!0),this):dt(this,"Month")}function he(){return te(this.year(),this.month())}function de(t){return this._monthsParseExact?(C(this,"_monthsRegex")||ce.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(C(this,"_monthsShortRegex")||(this._monthsShortRegex=oe),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function le(t){return this._monthsParseExact?(C(this,"_monthsRegex")||ce.call(this),t?this._monthsStrictRegex:this._monthsRegex):(C(this,"_monthsRegex")||(this._monthsRegex=se),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function ce(){function t(t,e){return e.length-t.length}var e,i,g=[],o=[],s=[];for(e=0;e<12;e++)i=c([2e3,e]),g.push(this.monthsShort(i,"")),o.push(this.months(i,"")),s.push(this.months(i,"")),s.push(this.monthsShort(i,""));for(g.sort(t),o.sort(t),s.sort(t),e=0;e<12;e++)g[e]=Bt(g[e]),o[e]=Bt(o[e]);for(e=0;e<24;e++)s[e]=Bt(s[e]);this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+g.join("|")+")","i")}function pe(t){return It(t)?366:365}Y("Y",0,0,(function(){var t=this.year();return t<=9999?z(t,4):"+"+t})),Y(0,["YY",2],0,(function(){return this.year()%100})),Y(0,["YYYY",4],0,"year"),Y(0,["YYYYY",5],0,"year"),Y(0,["YYYYYY",6,!0],0,"year"),gt("year","y"),At("year",1),Pt("Y",_t),Pt("YY",wt,ft),Pt("YYYY",Tt,vt),Pt("YYYYY",Et,yt),Pt("YYYYYY",Et,yt),Gt(["YYYYY","YYYYYY"],Vt),Gt("YYYY",(function(t,e){e[Vt]=2===t.length?o.parseTwoDigitYear(t):at(t)})),Gt("YY",(function(t,e){e[Vt]=o.parseTwoDigitYear(t)})),Gt("Y",(function(t,e){e[Vt]=parseInt(t,10)})),o.parseTwoDigitYear=function(t){return at(t)+(at(t)>68?1900:2e3)};var ue=ht("FullYear",!0);function me(){return It(this.year())}function fe(t,e,i,g,o,s,n){var A;return t<100&&t>=0?(A=new Date(t+400,e,i,g,o,s,n),isFinite(A.getFullYear())&&A.setFullYear(t)):A=new Date(t,e,i,g,o,s,n),A}function be(t){var e,i;return t<100&&t>=0?((i=Array.prototype.slice.call(arguments))[0]=t+400,e=new Date(Date.UTC.apply(null,i)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function ve(t,e,i){var g=7+e-i;return-(7+be(t,0,g).getUTCDay()-e)%7+g-1}function ye(t,e,i,g,o){var s,n,A=1+7*(e-1)+(7+i-g)%7+ve(t,g,o);return A<=0?n=pe(s=t-1)+A:A>pe(t)?(s=t+1,n=A-pe(t)):(s=t,n=A),{year:s,dayOfYear:n}}function we(t,e,i){var g,o,s=ve(t.year(),e,i),n=Math.floor((t.dayOfYear()-s-1)/7)+1;return n<1?g=n+xe(o=t.year()-1,e,i):n>xe(t.year(),e,i)?(g=n-xe(t.year(),e,i),o=t.year()+1):(o=t.year(),g=n),{week:g,year:o}}function xe(t,e,i){var g=ve(t,e,i),o=ve(t+1,e,i);return(pe(t)-g+o)/7}function De(t){return we(t,this._week.dow,this._week.doy).week}Y("w",["ww",2],"wo","week"),Y("W",["WW",2],"Wo","isoWeek"),gt("week","w"),gt("isoWeek","W"),At("week",5),At("isoWeek",5),Pt("w",wt),Pt("ww",wt,ft),Pt("W",wt),Pt("WW",wt,ft),Yt(["w","ww","W","WW"],(function(t,e,i,g){e[g.substr(0,1)]=at(t)}));var ke={dow:0,doy:6};function Te(){return this._week.dow}function Ee(){return this._week.doy}function Oe(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function _e(t){var e=we(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function Se(t,e){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=e.weekdaysParse(t))?t:null:parseInt(t,10)}function Ne(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function Me(t,e){return t.slice(e,7).concat(t.slice(0,e))}Y("d",0,"do","day"),Y("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),Y("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),Y("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),Y("e",0,0,"weekday"),Y("E",0,0,"isoWeekday"),gt("day","d"),gt("weekday","e"),gt("isoWeekday","E"),At("day",11),At("weekday",11),At("isoWeekday",11),Pt("d",wt),Pt("e",wt),Pt("E",wt),Pt("dd",(function(t,e){return e.weekdaysMinRegex(t)})),Pt("ddd",(function(t,e){return e.weekdaysShortRegex(t)})),Pt("dddd",(function(t,e){return e.weekdaysRegex(t)})),Yt(["dd","ddd","dddd"],(function(t,e,i,g){var o=i._locale.weekdaysParse(t,g,i._strict);null!=o?e.d=o:u(i).invalidWeekday=t})),Yt(["d","e","E"],(function(t,e,i,g){e[g]=at(t)}));var Re="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Pe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),ze="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Fe=Rt,Be=Rt,Le=Rt;function Ge(t,e){var i=n(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Me(i,this._week.dow):t?i[t.day()]:i}function Ye(t){return!0===t?Me(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function Ze(t){return!0===t?Me(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function je(t,e,i){var g,o,s,n=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],g=0;g<7;++g)s=c([2e3,1]).day(g),this._minWeekdaysParse[g]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[g]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[g]=this.weekdays(s,"").toLocaleLowerCase();return i?"dddd"===e?-1!==(o=jt.call(this._weekdaysParse,n))?o:null:"ddd"===e?-1!==(o=jt.call(this._shortWeekdaysParse,n))?o:null:-1!==(o=jt.call(this._minWeekdaysParse,n))?o:null:"dddd"===e?-1!==(o=jt.call(this._weekdaysParse,n))||-1!==(o=jt.call(this._shortWeekdaysParse,n))||-1!==(o=jt.call(this._minWeekdaysParse,n))?o:null:"ddd"===e?-1!==(o=jt.call(this._shortWeekdaysParse,n))||-1!==(o=jt.call(this._weekdaysParse,n))||-1!==(o=jt.call(this._minWeekdaysParse,n))?o:null:-1!==(o=jt.call(this._minWeekdaysParse,n))||-1!==(o=jt.call(this._weekdaysParse,n))||-1!==(o=jt.call(this._shortWeekdaysParse,n))?o:null}function Ve(t,e,i){var g,o,s;if(this._weekdaysParseExact)return je.call(this,t,e,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),g=0;g<7;g++){if(o=c([2e3,1]).day(g),i&&!this._fullWeekdaysParse[g]&&(this._fullWeekdaysParse[g]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[g]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[g]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[g]||(s="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[g]=new RegExp(s.replace(".",""),"i")),i&&"dddd"===e&&this._fullWeekdaysParse[g].test(t))return g;if(i&&"ddd"===e&&this._shortWeekdaysParse[g].test(t))return g;if(i&&"dd"===e&&this._minWeekdaysParse[g].test(t))return g;if(!i&&this._weekdaysParse[g].test(t))return g}}function We(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=Se(t,this.localeData()),this.add(t-e,"d")):e}function He(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")}function Ue(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=Ne(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7}function Xe(t){return this._weekdaysParseExact?(C(this,"_weekdaysRegex")||Je.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(C(this,"_weekdaysRegex")||(this._weekdaysRegex=Fe),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function Qe(t){return this._weekdaysParseExact?(C(this,"_weekdaysRegex")||Je.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(C(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Be),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Ke(t){return this._weekdaysParseExact?(C(this,"_weekdaysRegex")||Je.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(C(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Le),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Je(){function t(t,e){return e.length-t.length}var e,i,g,o,s,n=[],A=[],C=[],I=[];for(e=0;e<7;e++)i=c([2e3,1]).day(e),g=Bt(this.weekdaysMin(i,"")),o=Bt(this.weekdaysShort(i,"")),s=Bt(this.weekdays(i,"")),n.push(g),A.push(o),C.push(s),I.push(g),I.push(o),I.push(s);n.sort(t),A.sort(t),C.sort(t),I.sort(t),this._weekdaysRegex=new RegExp("^("+I.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+C.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+A.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+n.join("|")+")","i")}function qe(){return this.hours()%12||12}function $e(){return this.hours()||24}function ti(t,e){Y(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)}))}function ei(t,e){return e._meridiemParse}function ii(t){return"p"===(t+"").toLowerCase().charAt(0)}Y("H",["HH",2],0,"hour"),Y("h",["hh",2],0,qe),Y("k",["kk",2],0,$e),Y("hmm",0,0,(function(){return""+qe.apply(this)+z(this.minutes(),2)})),Y("hmmss",0,0,(function(){return""+qe.apply(this)+z(this.minutes(),2)+z(this.seconds(),2)})),Y("Hmm",0,0,(function(){return""+this.hours()+z(this.minutes(),2)})),Y("Hmmss",0,0,(function(){return""+this.hours()+z(this.minutes(),2)+z(this.seconds(),2)})),ti("a",!0),ti("A",!1),gt("hour","h"),At("hour",13),Pt("a",ei),Pt("A",ei),Pt("H",wt),Pt("h",wt),Pt("k",wt),Pt("HH",wt,ft),Pt("hh",wt,ft),Pt("kk",wt,ft),Pt("hmm",xt),Pt("hmmss",Dt),Pt("Hmm",xt),Pt("Hmmss",Dt),Gt(["H","HH"],Ut),Gt(["k","kk"],(function(t,e,i){var g=at(t);e[Ut]=24===g?0:g})),Gt(["a","A"],(function(t,e,i){i._isPm=i._locale.isPM(t),i._meridiem=t})),Gt(["h","hh"],(function(t,e,i){e[Ut]=at(t),u(i).bigHour=!0})),Gt("hmm",(function(t,e,i){var g=t.length-2;e[Ut]=at(t.substr(0,g)),e[Xt]=at(t.substr(g)),u(i).bigHour=!0})),Gt("hmmss",(function(t,e,i){var g=t.length-4,o=t.length-2;e[Ut]=at(t.substr(0,g)),e[Xt]=at(t.substr(g,2)),e[Qt]=at(t.substr(o)),u(i).bigHour=!0})),Gt("Hmm",(function(t,e,i){var g=t.length-2;e[Ut]=at(t.substr(0,g)),e[Xt]=at(t.substr(g))})),Gt("Hmmss",(function(t,e,i){var g=t.length-4,o=t.length-2;e[Ut]=at(t.substr(0,g)),e[Xt]=at(t.substr(g,2)),e[Qt]=at(t.substr(o))}));var gi=/[ap]\.?m?\.?/i,oi=ht("Hours",!0);function si(t,e,i){return t>11?i?"pm":"PM":i?"am":"AM"}var ni,Ai={calendar:R,longDateFormat:H,invalidDate:X,ordinal:K,dayOfMonthOrdinalParse:J,relativeTime:$,months:ee,monthsShort:ie,week:ke,weekdays:Re,weekdaysMin:ze,weekdaysShort:Pe,meridiemParse:gi},Ci={},Ii={};function ri(t,e){var i,g=Math.min(t.length,e.length);for(i=0;i<g;i+=1)if(t[i]!==e[i])return i;return g}function ai(t){return t?t.toLowerCase().replace("_","-"):t}function hi(t){for(var e,i,g,o,s=0;s<t.length;){for(e=(o=ai(t[s]).split("-")).length,i=(i=ai(t[s+1]))?i.split("-"):null;e>0;){if(g=di(o.slice(0,e).join("-")))return g;if(i&&i.length>=e&&ri(o,i)>=e-1)break;e--}s++}return ni}function di(e){var g=null;if(void 0===Ci[e]&&t&&t.exports)try{g=ni._abbr,i("./locale/"+e),li(g)}catch(t){Ci[e]=null}return Ci[e]}function li(t,e){var i;return t&&((i=r(e)?ui(t):ci(t,e))?ni=i:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),ni._abbr}function ci(t,e){if(null!==e){var i,g=Ai;if(e.abbr=t,null!=Ci[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."),g=Ci[t]._config;else if(null!=e.parentLocale)if(null!=Ci[e.parentLocale])g=Ci[e.parentLocale]._config;else{if(null==(i=di(e.parentLocale)))return Ii[e.parentLocale]||(Ii[e.parentLocale]=[]),Ii[e.parentLocale].push({name:t,config:e}),null;g=i._config}return Ci[t]=new M(N(g,e)),Ii[t]&&Ii[t].forEach((function(t){ci(t.name,t.config)})),li(t),Ci[t]}return delete Ci[t],null}function pi(t,e){if(null!=e){var i,g,o=Ai;null!=Ci[t]&&null!=Ci[t].parentLocale?Ci[t].set(N(Ci[t]._config,e)):(null!=(g=di(t))&&(o=g._config),e=N(o,e),null==g&&(e.abbr=t),(i=new M(e)).parentLocale=Ci[t],Ci[t]=i),li(t)}else null!=Ci[t]&&(null!=Ci[t].parentLocale?(Ci[t]=Ci[t].parentLocale,t===li()&&li(t)):null!=Ci[t]&&delete Ci[t]);return Ci[t]}function ui(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return ni;if(!n(t)){if(e=di(t))return e;t=[t]}return hi(t)}function mi(){return T(Ci)}function fi(t){var e,i=t._a;return i&&-2===u(t).overflow&&(e=i[Wt]<0||i[Wt]>11?Wt:i[Ht]<1||i[Ht]>te(i[Vt],i[Wt])?Ht:i[Ut]<0||i[Ut]>24||24===i[Ut]&&(0!==i[Xt]||0!==i[Qt]||0!==i[Kt])?Ut:i[Xt]<0||i[Xt]>59?Xt:i[Qt]<0||i[Qt]>59?Qt:i[Kt]<0||i[Kt]>999?Kt:-1,u(t)._overflowDayOfYear&&(e<Vt||e>Ht)&&(e=Ht),u(t)._overflowWeeks&&-1===e&&(e=Jt),u(t)._overflowWeekday&&-1===e&&(e=qt),u(t).overflow=e),t}var bi=/^\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)?)?$/,vi=/^\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)?)?$/,yi=/Z|[+-]\d\d(?::?\d\d)?/,wi=[["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}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],xi=[["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/]],Di=/^\/?Date\((-?\d+)/i,ki=/^(?:(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}))$/,Ti={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Ei(t){var e,i,g,o,s,n,A=t._i,C=bi.exec(A)||vi.exec(A);if(C){for(u(t).iso=!0,e=0,i=wi.length;e<i;e++)if(wi[e][1].exec(C[1])){o=wi[e][0],g=!1!==wi[e][2];break}if(null==o)return void(t._isValid=!1);if(C[3]){for(e=0,i=xi.length;e<i;e++)if(xi[e][1].exec(C[3])){s=(C[2]||" ")+xi[e][0];break}if(null==s)return void(t._isValid=!1)}if(!g&&null!=s)return void(t._isValid=!1);if(C[4]){if(!yi.exec(C[4]))return void(t._isValid=!1);n="Z"}t._f=o+(s||"")+(n||""),Gi(t)}else t._isValid=!1}function Oi(t,e,i,g,o,s){var n=[_i(t),ie.indexOf(e),parseInt(i,10),parseInt(g,10),parseInt(o,10)];return s&&n.push(parseInt(s,10)),n}function _i(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function Si(t){return t.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Ni(t,e,i){return!t||Pe.indexOf(t)===new Date(e[0],e[1],e[2]).getDay()||(u(i).weekdayMismatch=!0,i._isValid=!1,!1)}function Mi(t,e,i){if(t)return Ti[t];if(e)return 0;var g=parseInt(i,10),o=g%100;return(g-o)/100*60+o}function Ri(t){var e,i=ki.exec(Si(t._i));if(i){if(e=Oi(i[4],i[3],i[2],i[5],i[6],i[7]),!Ni(i[1],e,t))return;t._a=e,t._tzm=Mi(i[8],i[9],i[10]),t._d=be.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),u(t).rfc2822=!0}else t._isValid=!1}function Pi(t){var e=Di.exec(t._i);null===e?(Ei(t),!1===t._isValid&&(delete t._isValid,Ri(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:o.createFromInputFallback(t)))):t._d=new Date(+e[1])}function zi(t,e,i){return null!=t?t:null!=e?e:i}function Fi(t){var e=new Date(o.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function Bi(t){var e,i,g,o,s,n=[];if(!t._d){for(g=Fi(t),t._w&&null==t._a[Ht]&&null==t._a[Wt]&&Li(t),null!=t._dayOfYear&&(s=zi(t._a[Vt],g[Vt]),(t._dayOfYear>pe(s)||0===t._dayOfYear)&&(u(t)._overflowDayOfYear=!0),i=be(s,0,t._dayOfYear),t._a[Wt]=i.getUTCMonth(),t._a[Ht]=i.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=n[e]=g[e];for(;e<7;e++)t._a[e]=n[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[Ut]&&0===t._a[Xt]&&0===t._a[Qt]&&0===t._a[Kt]&&(t._nextDay=!0,t._a[Ut]=0),t._d=(t._useUTC?be:fe).apply(null,n),o=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[Ut]=24),t._w&&void 0!==t._w.d&&t._w.d!==o&&(u(t).weekdayMismatch=!0)}}function Li(t){var e,i,g,o,s,n,A,C,I;null!=(e=t._w).GG||null!=e.W||null!=e.E?(s=1,n=4,i=zi(e.GG,t._a[Vt],we(Xi(),1,4).year),g=zi(e.W,1),((o=zi(e.E,1))<1||o>7)&&(C=!0)):(s=t._locale._week.dow,n=t._locale._week.doy,I=we(Xi(),s,n),i=zi(e.gg,t._a[Vt],I.year),g=zi(e.w,I.week),null!=e.d?((o=e.d)<0||o>6)&&(C=!0):null!=e.e?(o=e.e+s,(e.e<0||e.e>6)&&(C=!0)):o=s),g<1||g>xe(i,s,n)?u(t)._overflowWeeks=!0:null!=C?u(t)._overflowWeekday=!0:(A=ye(i,g,o,s,n),t._a[Vt]=A.year,t._dayOfYear=A.dayOfYear)}function Gi(t){if(t._f!==o.ISO_8601)if(t._f!==o.RFC_2822){t._a=[],u(t).empty=!0;var e,i,g,s,n,A,C=""+t._i,I=C.length,r=0;for(g=W(t._f,t._locale).match(F)||[],e=0;e<g.length;e++)s=g[e],(i=(C.match(zt(s,t))||[])[0])&&((n=C.substr(0,C.indexOf(i))).length>0&&u(t).unusedInput.push(n),C=C.slice(C.indexOf(i)+i.length),r+=i.length),G[s]?(i?u(t).empty=!1:u(t).unusedTokens.push(s),Zt(s,i,t)):t._strict&&!i&&u(t).unusedTokens.push(s);u(t).charsLeftOver=I-r,C.length>0&&u(t).unusedInput.push(C),t._a[Ut]<=12&&!0===u(t).bigHour&&t._a[Ut]>0&&(u(t).bigHour=void 0),u(t).parsedDateParts=t._a.slice(0),u(t).meridiem=t._meridiem,t._a[Ut]=Yi(t._locale,t._a[Ut],t._meridiem),null!==(A=u(t).era)&&(t._a[Vt]=t._locale.erasConvertYear(A,t._a[Vt])),Bi(t),fi(t)}else Ri(t);else Ei(t)}function Yi(t,e,i){var g;return null==i?e:null!=t.meridiemHour?t.meridiemHour(e,i):null!=t.isPM?((g=t.isPM(i))&&e<12&&(e+=12),g||12!==e||(e=0),e):e}function Zi(t){var e,i,g,o,s,n,A=!1;if(0===t._f.length)return u(t).invalidFormat=!0,void(t._d=new Date(NaN));for(o=0;o<t._f.length;o++)s=0,n=!1,e=y({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[o],Gi(e),m(e)&&(n=!0),s+=u(e).charsLeftOver,s+=10*u(e).unusedTokens.length,u(e).score=s,A?s<g&&(g=s,i=e):(null==g||s<g||n)&&(g=s,i=e,n&&(A=!0));l(t,i||e)}function ji(t){if(!t._d){var e=st(t._i),i=void 0===e.day?e.date:e.day;t._a=d([e.year,e.month,i,e.hour,e.minute,e.second,e.millisecond],(function(t){return t&&parseInt(t,10)})),Bi(t)}}function Vi(t){var e=new w(fi(Wi(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function Wi(t){var e=t._i,i=t._f;return t._locale=t._locale||ui(t._l),null===e||void 0===i&&""===e?f({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),x(e)?new w(fi(e)):(h(e)?t._d=e:n(i)?Zi(t):i?Gi(t):Hi(t),m(t)||(t._d=null),t))}function Hi(t){var e=t._i;r(e)?t._d=new Date(o.now()):h(e)?t._d=new Date(e.valueOf()):"string"==typeof e?Pi(t):n(e)?(t._a=d(e.slice(0),(function(t){return parseInt(t,10)})),Bi(t)):A(e)?ji(t):a(e)?t._d=new Date(e):o.createFromInputFallback(t)}function Ui(t,e,i,g,o){var s={};return!0!==e&&!1!==e||(g=e,e=void 0),!0!==i&&!1!==i||(g=i,i=void 0),(A(t)&&I(t)||n(t)&&0===t.length)&&(t=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=o,s._l=i,s._i=t,s._f=e,s._strict=g,Vi(s)}function Xi(t,e,i,g){return Ui(t,e,i,g,!1)}o.createFromInputFallback=k("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. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))})),o.ISO_8601=function(){},o.RFC_2822=function(){};var Qi=k("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Xi.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:f()})),Ki=k("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Xi.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:f()}));function Ji(t,e){var i,g;if(1===e.length&&n(e[0])&&(e=e[0]),!e.length)return Xi();for(i=e[0],g=1;g<e.length;++g)e[g].isValid()&&!e[g][t](i)||(i=e[g]);return i}function qi(){return Ji("isBefore",[].slice.call(arguments,0))}function $i(){return Ji("isAfter",[].slice.call(arguments,0))}var tg=function(){return Date.now?Date.now():+new Date},eg=["year","quarter","month","week","day","hour","minute","second","millisecond"];function ig(t){var e,i,g=!1;for(e in t)if(C(t,e)&&(-1===jt.call(eg,e)||null!=t[e]&&isNaN(t[e])))return!1;for(i=0;i<eg.length;++i)if(t[eg[i]]){if(g)return!1;parseFloat(t[eg[i]])!==at(t[eg[i]])&&(g=!0)}return!0}function gg(){return this._isValid}function og(){return Tg(NaN)}function sg(t){var e=st(t),i=e.year||0,g=e.quarter||0,o=e.month||0,s=e.week||e.isoWeek||0,n=e.day||0,A=e.hour||0,C=e.minute||0,I=e.second||0,r=e.millisecond||0;this._isValid=ig(e),this._milliseconds=+r+1e3*I+6e4*C+1e3*A*60*60,this._days=+n+7*s,this._months=+o+3*g+12*i,this._data={},this._locale=ui(),this._bubble()}function ng(t){return t instanceof sg}function Ag(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Cg(t,e,i){var g,o=Math.min(t.length,e.length),s=Math.abs(t.length-e.length),n=0;for(g=0;g<o;g++)(i&&t[g]!==e[g]||!i&&at(t[g])!==at(e[g]))&&n++;return n+s}function Ig(t,e){Y(t,0,0,(function(){var t=this.utcOffset(),i="+";return t<0&&(t=-t,i="-"),i+z(~~(t/60),2)+e+z(~~t%60,2)}))}Ig("Z",":"),Ig("ZZ",""),Pt("Z",Nt),Pt("ZZ",Nt),Gt(["Z","ZZ"],(function(t,e,i){i._useUTC=!0,i._tzm=ag(Nt,t)}));var rg=/([\+\-]|\d\d)/gi;function ag(t,e){var i,g,o=(e||"").match(t);return null===o?null:0===(g=60*(i=((o[o.length-1]||[])+"").match(rg)||["-",0,0])[1]+at(i[2]))?0:"+"===i[0]?g:-g}function hg(t,e){var i,g;return e._isUTC?(i=e.clone(),g=(x(t)||h(t)?t.valueOf():Xi(t).valueOf())-i.valueOf(),i._d.setTime(i._d.valueOf()+g),o.updateOffset(i,!1),i):Xi(t).local()}function dg(t){return-Math.round(t._d.getTimezoneOffset())}function lg(t,e,i){var g,s=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=ag(Nt,t)))return this}else Math.abs(t)<16&&!i&&(t*=60);return!this._isUTC&&e&&(g=dg(this)),this._offset=t,this._isUTC=!0,null!=g&&this.add(g,"m"),s!==t&&(!e||this._changeInProgress?Ng(this,Tg(t-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,o.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?s:dg(this)}function cg(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function pg(t){return this.utcOffset(0,t)}function ug(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(dg(this),"m")),this}function mg(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=ag(St,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this}function fg(t){return!!this.isValid()&&(t=t?Xi(t).utcOffset():0,(this.utcOffset()-t)%60==0)}function bg(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function vg(){if(!r(this._isDSTShifted))return this._isDSTShifted;var t,e={};return y(e,this),(e=Wi(e))._a?(t=e._isUTC?c(e._a):Xi(e._a),this._isDSTShifted=this.isValid()&&Cg(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function yg(){return!!this.isValid()&&!this._isUTC}function wg(){return!!this.isValid()&&this._isUTC}function xg(){return!!this.isValid()&&this._isUTC&&0===this._offset}o.updateOffset=function(){};var Dg=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,kg=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Tg(t,e){var i,g,o,s=t,n=null;return ng(t)?s={ms:t._milliseconds,d:t._days,M:t._months}:a(t)||!isNaN(+t)?(s={},e?s[e]=+t:s.milliseconds=+t):(n=Dg.exec(t))?(i="-"===n[1]?-1:1,s={y:0,d:at(n[Ht])*i,h:at(n[Ut])*i,m:at(n[Xt])*i,s:at(n[Qt])*i,ms:at(Ag(1e3*n[Kt]))*i}):(n=kg.exec(t))?(i="-"===n[1]?-1:1,s={y:Eg(n[2],i),M:Eg(n[3],i),w:Eg(n[4],i),d:Eg(n[5],i),h:Eg(n[6],i),m:Eg(n[7],i),s:Eg(n[8],i)}):null==s?s={}:"object"==typeof s&&("from"in s||"to"in s)&&(o=_g(Xi(s.from),Xi(s.to)),(s={}).ms=o.milliseconds,s.M=o.months),g=new sg(s),ng(t)&&C(t,"_locale")&&(g._locale=t._locale),ng(t)&&C(t,"_isValid")&&(g._isValid=t._isValid),g}function Eg(t,e){var i=t&&parseFloat(t.replace(",","."));return(isNaN(i)?0:i)*e}function Og(t,e){var i={};return i.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(i.months,"M").isAfter(e)&&--i.months,i.milliseconds=+e-+t.clone().add(i.months,"M"),i}function _g(t,e){var i;return t.isValid()&&e.isValid()?(e=hg(e,t),t.isBefore(e)?i=Og(t,e):((i=Og(e,t)).milliseconds=-i.milliseconds,i.months=-i.months),i):{milliseconds:0,months:0}}function Sg(t,e){return function(i,g){var o;return null===g||isNaN(+g)||(O(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=i,i=g,g=o),Ng(this,Tg(i,g),t),this}}function Ng(t,e,i,g){var s=e._milliseconds,n=Ag(e._days),A=Ag(e._months);t.isValid()&&(g=null==g||g,A&&re(t,dt(t,"Month")+A*i),n&<(t,"Date",dt(t,"Date")+n*i),s&&t._d.setTime(t._d.valueOf()+s*i),g&&o.updateOffset(t,n||A))}Tg.fn=sg.prototype,Tg.invalid=og;var Mg=Sg(1,"add"),Rg=Sg(-1,"subtract");function Pg(t){return"string"==typeof t||t instanceof String}function zg(t){return x(t)||h(t)||Pg(t)||a(t)||Bg(t)||Fg(t)||null==t}function Fg(t){var e,i,g=A(t)&&!I(t),o=!1,s=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(e=0;e<s.length;e+=1)i=s[e],o=o||C(t,i);return g&&o}function Bg(t){var e=n(t),i=!1;return e&&(i=0===t.filter((function(e){return!a(e)&&Pg(t)})).length),e&&i}function Lg(t){var e,i,g=A(t)&&!I(t),o=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(e=0;e<s.length;e+=1)i=s[e],o=o||C(t,i);return g&&o}function Gg(t,e){var i=t.diff(e,"days",!0);return i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse"}function Yg(t,e){1===arguments.length&&(arguments[0]?zg(arguments[0])?(t=arguments[0],e=void 0):Lg(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var i=t||Xi(),g=hg(i,this).startOf("day"),s=o.calendarFormat(this,g)||"sameElse",n=e&&(_(e[s])?e[s].call(this,i):e[s]);return this.format(n||this.localeData().calendar(s,this,Xi(i)))}function Zg(){return new w(this)}function jg(t,e){var i=x(t)?t:Xi(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(e=ot(e)||"millisecond")?this.valueOf()>i.valueOf():i.valueOf()<this.clone().startOf(e).valueOf())}function Vg(t,e){var i=x(t)?t:Xi(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(e=ot(e)||"millisecond")?this.valueOf()<i.valueOf():this.clone().endOf(e).valueOf()<i.valueOf())}function Wg(t,e,i,g){var o=x(t)?t:Xi(t),s=x(e)?e:Xi(e);return!!(this.isValid()&&o.isValid()&&s.isValid())&&("("===(g=g||"()")[0]?this.isAfter(o,i):!this.isBefore(o,i))&&(")"===g[1]?this.isBefore(s,i):!this.isAfter(s,i))}function Hg(t,e){var i,g=x(t)?t:Xi(t);return!(!this.isValid()||!g.isValid())&&("millisecond"===(e=ot(e)||"millisecond")?this.valueOf()===g.valueOf():(i=g.valueOf(),this.clone().startOf(e).valueOf()<=i&&i<=this.clone().endOf(e).valueOf()))}function Ug(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function Xg(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function Qg(t,e,i){var g,o,s;if(!this.isValid())return NaN;if(!(g=hg(t,this)).isValid())return NaN;switch(o=6e4*(g.utcOffset()-this.utcOffset()),e=ot(e)){case"year":s=Kg(this,g)/12;break;case"month":s=Kg(this,g);break;case"quarter":s=Kg(this,g)/3;break;case"second":s=(this-g)/1e3;break;case"minute":s=(this-g)/6e4;break;case"hour":s=(this-g)/36e5;break;case"day":s=(this-g-o)/864e5;break;case"week":s=(this-g-o)/6048e5;break;default:s=this-g}return i?s:rt(s)}function Kg(t,e){if(t.date()<e.date())return-Kg(e,t);var i=12*(e.year()-t.year())+(e.month()-t.month()),g=t.clone().add(i,"months");return-(i+(e-g<0?(e-g)/(g-t.clone().add(i-1,"months")):(e-g)/(t.clone().add(i+1,"months")-g)))||0}function Jg(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function qg(t){if(!this.isValid())return null;var e=!0!==t,i=e?this.clone().utc():this;return i.year()<0||i.year()>9999?V(i,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):_(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",V(i,"Z")):V(i,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function $g(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,e,i,g,o="moment",s="";return this.isLocal()||(o=0===this.utcOffset()?"moment.utc":"moment.parseZone",s="Z"),t="["+o+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i="-MM-DD[T]HH:mm:ss.SSS",g=s+'[")]',this.format(t+e+i+g)}function to(t){t||(t=this.isUtc()?o.defaultFormatUtc:o.defaultFormat);var e=V(this,t);return this.localeData().postformat(e)}function eo(t,e){return this.isValid()&&(x(t)&&t.isValid()||Xi(t).isValid())?Tg({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function io(t){return this.from(Xi(),t)}function go(t,e){return this.isValid()&&(x(t)&&t.isValid()||Xi(t).isValid())?Tg({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function oo(t){return this.to(Xi(),t)}function so(t){var e;return void 0===t?this._locale._abbr:(null!=(e=ui(t))&&(this._locale=e),this)}o.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",o.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var no=k("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 Ao(){return this._locale}var Co=1e3,Io=60*Co,ro=60*Io,ao=3506328*ro;function ho(t,e){return(t%e+e)%e}function lo(t,e,i){return t<100&&t>=0?new Date(t+400,e,i)-ao:new Date(t,e,i).valueOf()}function co(t,e,i){return t<100&&t>=0?Date.UTC(t+400,e,i)-ao:Date.UTC(t,e,i)}function po(t){var e,i;if(void 0===(t=ot(t))||"millisecond"===t||!this.isValid())return this;switch(i=this._isUTC?co:lo,t){case"year":e=i(this.year(),0,1);break;case"quarter":e=i(this.year(),this.month()-this.month()%3,1);break;case"month":e=i(this.year(),this.month(),1);break;case"week":e=i(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=i(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=ho(e+(this._isUTC?0:this.utcOffset()*Io),ro);break;case"minute":e=this._d.valueOf(),e-=ho(e,Io);break;case"second":e=this._d.valueOf(),e-=ho(e,Co)}return this._d.setTime(e),o.updateOffset(this,!0),this}function uo(t){var e,i;if(void 0===(t=ot(t))||"millisecond"===t||!this.isValid())return this;switch(i=this._isUTC?co:lo,t){case"year":e=i(this.year()+1,0,1)-1;break;case"quarter":e=i(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=i(this.year(),this.month()+1,1)-1;break;case"week":e=i(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=i(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=ro-ho(e+(this._isUTC?0:this.utcOffset()*Io),ro)-1;break;case"minute":e=this._d.valueOf(),e+=Io-ho(e,Io)-1;break;case"second":e=this._d.valueOf(),e+=Co-ho(e,Co)-1}return this._d.setTime(e),o.updateOffset(this,!0),this}function mo(){return this._d.valueOf()-6e4*(this._offset||0)}function fo(){return Math.floor(this.valueOf()/1e3)}function bo(){return new Date(this.valueOf())}function vo(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function yo(){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()}}function wo(){return this.isValid()?this.toISOString():null}function xo(){return m(this)}function Do(){return l({},u(this))}function ko(){return u(this).overflow}function To(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Eo(t,e){var i,g,s,n=this._eras||ui("en")._eras;for(i=0,g=n.length;i<g;++i){switch(typeof n[i].since){case"string":s=o(n[i].since).startOf("day"),n[i].since=s.valueOf()}switch(typeof n[i].until){case"undefined":n[i].until=1/0;break;case"string":s=o(n[i].until).startOf("day").valueOf(),n[i].until=s.valueOf()}}return n}function Oo(t,e,i){var g,o,s,n,A,C=this.eras();for(t=t.toUpperCase(),g=0,o=C.length;g<o;++g)if(s=C[g].name.toUpperCase(),n=C[g].abbr.toUpperCase(),A=C[g].narrow.toUpperCase(),i)switch(e){case"N":case"NN":case"NNN":if(n===t)return C[g];break;case"NNNN":if(s===t)return C[g];break;case"NNNNN":if(A===t)return C[g]}else if([s,n,A].indexOf(t)>=0)return C[g]}function _o(t,e){var i=t.since<=t.until?1:-1;return void 0===e?o(t.since).year():o(t.since).year()+(e-t.offset)*i}function So(){var t,e,i,g=this.localeData().eras();for(t=0,e=g.length;t<e;++t){if(i=this.clone().startOf("day").valueOf(),g[t].since<=i&&i<=g[t].until)return g[t].name;if(g[t].until<=i&&i<=g[t].since)return g[t].name}return""}function No(){var t,e,i,g=this.localeData().eras();for(t=0,e=g.length;t<e;++t){if(i=this.clone().startOf("day").valueOf(),g[t].since<=i&&i<=g[t].until)return g[t].narrow;if(g[t].until<=i&&i<=g[t].since)return g[t].narrow}return""}function Mo(){var t,e,i,g=this.localeData().eras();for(t=0,e=g.length;t<e;++t){if(i=this.clone().startOf("day").valueOf(),g[t].since<=i&&i<=g[t].until)return g[t].abbr;if(g[t].until<=i&&i<=g[t].since)return g[t].abbr}return""}function Ro(){var t,e,i,g,s=this.localeData().eras();for(t=0,e=s.length;t<e;++t)if(i=s[t].since<=s[t].until?1:-1,g=this.clone().startOf("day").valueOf(),s[t].since<=g&&g<=s[t].until||s[t].until<=g&&g<=s[t].since)return(this.year()-o(s[t].since).year())*i+s[t].offset;return this.year()}function Po(t){return C(this,"_erasNameRegex")||Zo.call(this),t?this._erasNameRegex:this._erasRegex}function zo(t){return C(this,"_erasAbbrRegex")||Zo.call(this),t?this._erasAbbrRegex:this._erasRegex}function Fo(t){return C(this,"_erasNarrowRegex")||Zo.call(this),t?this._erasNarrowRegex:this._erasRegex}function Bo(t,e){return e.erasAbbrRegex(t)}function Lo(t,e){return e.erasNameRegex(t)}function Go(t,e){return e.erasNarrowRegex(t)}function Yo(t,e){return e._eraYearOrdinalRegex||Ot}function Zo(){var t,e,i=[],g=[],o=[],s=[],n=this.eras();for(t=0,e=n.length;t<e;++t)g.push(Bt(n[t].name)),i.push(Bt(n[t].abbr)),o.push(Bt(n[t].narrow)),s.push(Bt(n[t].name)),s.push(Bt(n[t].abbr)),s.push(Bt(n[t].narrow));this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+g.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+o.join("|")+")","i")}function jo(t,e){Y(0,[t,t.length],0,e)}function Vo(t){return Ko.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Wo(t){return Ko.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function Ho(){return xe(this.year(),1,4)}function Uo(){return xe(this.isoWeekYear(),1,4)}function Xo(){var t=this.localeData()._week;return xe(this.year(),t.dow,t.doy)}function Qo(){var t=this.localeData()._week;return xe(this.weekYear(),t.dow,t.doy)}function Ko(t,e,i,g,o){var s;return null==t?we(this,g,o).year:(e>(s=xe(t,g,o))&&(e=s),Jo.call(this,t,e,i,g,o))}function Jo(t,e,i,g,o){var s=ye(t,e,i,g,o),n=be(s.year,0,s.dayOfYear);return this.year(n.getUTCFullYear()),this.month(n.getUTCMonth()),this.date(n.getUTCDate()),this}function qo(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}Y("N",0,0,"eraAbbr"),Y("NN",0,0,"eraAbbr"),Y("NNN",0,0,"eraAbbr"),Y("NNNN",0,0,"eraName"),Y("NNNNN",0,0,"eraNarrow"),Y("y",["y",1],"yo","eraYear"),Y("y",["yy",2],0,"eraYear"),Y("y",["yyy",3],0,"eraYear"),Y("y",["yyyy",4],0,"eraYear"),Pt("N",Bo),Pt("NN",Bo),Pt("NNN",Bo),Pt("NNNN",Lo),Pt("NNNNN",Go),Gt(["N","NN","NNN","NNNN","NNNNN"],(function(t,e,i,g){var o=i._locale.erasParse(t,g,i._strict);o?u(i).era=o:u(i).invalidEra=t})),Pt("y",Ot),Pt("yy",Ot),Pt("yyy",Ot),Pt("yyyy",Ot),Pt("yo",Yo),Gt(["y","yy","yyy","yyyy"],Vt),Gt(["yo"],(function(t,e,i,g){var o;i._locale._eraYearOrdinalRegex&&(o=t.match(i._locale._eraYearOrdinalRegex)),i._locale.eraYearOrdinalParse?e[Vt]=i._locale.eraYearOrdinalParse(t,o):e[Vt]=parseInt(t,10)})),Y(0,["gg",2],0,(function(){return this.weekYear()%100})),Y(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),jo("gggg","weekYear"),jo("ggggg","weekYear"),jo("GGGG","isoWeekYear"),jo("GGGGG","isoWeekYear"),gt("weekYear","gg"),gt("isoWeekYear","GG"),At("weekYear",1),At("isoWeekYear",1),Pt("G",_t),Pt("g",_t),Pt("GG",wt,ft),Pt("gg",wt,ft),Pt("GGGG",Tt,vt),Pt("gggg",Tt,vt),Pt("GGGGG",Et,yt),Pt("ggggg",Et,yt),Yt(["gggg","ggggg","GGGG","GGGGG"],(function(t,e,i,g){e[g.substr(0,2)]=at(t)})),Yt(["gg","GG"],(function(t,e,i,g){e[g]=o.parseTwoDigitYear(t)})),Y("Q",0,"Qo","quarter"),gt("quarter","Q"),At("quarter",7),Pt("Q",mt),Gt("Q",(function(t,e){e[Wt]=3*(at(t)-1)})),Y("D",["DD",2],"Do","date"),gt("date","D"),At("date",9),Pt("D",wt),Pt("DD",wt,ft