(function(g,B){"object"===typeof exports&&"undefined"!==typeof module?module.exports=B():"function"===typeof define&&define.amd?define(B):g.moment=B()})(this,function(){function g(){return dc.apply(null,arguments)}function B(a){return a instanceof Array||"[object Array]"===Object.prototype.toString.call(a)}function ka(a){return null!=a&&"[object Object]"===Object.prototype.toString.call(a)}function ec(a){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(a).length;for(var b in a)if(a.hasOwnProperty(b))return!1;
return!0}function z(a){return void 0===a}function da(a){return"number"===typeof a||"[object Number]"===Object.prototype.toString.call(a)}function ta(a){return a instanceof Date||"[object Date]"===Object.prototype.toString.call(a)}function kb(a,b){var c=[],d;for(d=0;d<a.length;++d)c.push(b(a[d],d));return c}function u(a,b){return Object.prototype.hasOwnProperty.call(a,b)}function R(a,b){for(var c in b)u(b,c)&&(a[c]=b[c]);u(b,"toString")&&(a.toString=b.toString);u(b,"valueOf")&&(a.valueOf=b.valueOf);
return a}function J(a,b,c,d){return lb(a,b,c,d,!0).utc()}function n(a){null==a._pf&&(a._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});return a._pf}function Ka(a){if(null==a._isValid){var b=n(a),c=fc.call(b.parsedDateParts,function(a){return null!=a});c=!isNaN(a._d.getTime())&&0>b.overflow&&!b.empty&&!b.invalidMonth&&!b.invalidWeekday&&
!b.weekdayMismatch&&!b.nullInput&&!b.invalidFormat&&!b.userInvalidated&&(!b.meridiem||b.meridiem&&c);a._strict&&(c=c&&0===b.charsLeftOver&&0===b.unusedTokens.length&&void 0===b.bigHour);if(null!=Object.isFrozen&&Object.isFrozen(a))return c;a._isValid=c}return a._isValid}function ua(a){var b=J(NaN);null!=a?R(n(b),a):n(b).userInvalidated=!0;return b}function La(a,b){var c;z(b._isAMomentObject)||(a._isAMomentObject=b._isAMomentObject);z(b._i)||(a._i=b._i);z(b._f)||(a._f=b._f);z(b._l)||(a._l=b._l);z(b._strict)||
(a._strict=b._strict);z(b._tzm)||(a._tzm=b._tzm);z(b._isUTC)||(a._isUTC=b._isUTC);z(b._offset)||(a._offset=b._offset);z(b._pf)||(a._pf=n(b));z(b._locale)||(a._locale=b._locale);if(0<Ma.length)for(c=0;c<Ma.length;c++){var d=Ma[c];var f=b[d];z(f)||(a[d]=f)}return a}function la(a){La(this,a);this._d=new Date(null!=a._d?a._d.getTime():NaN);this.isValid()||(this._d=new Date(NaN));!1===Na&&(Na=!0,g.updateOffset(this),Na=!1)}function S(a){return a instanceof la||null!=a&&null!=a._isAMomentObject}function D(a){return 0>
a?Math.ceil(a)||0:Math.floor(a)}function m(a){a=+a;var b=0;0!==a&&isFinite(a)&&(b=D(a));return b}function mb(a,b,c){var d=Math.min(a.length,b.length),f=Math.abs(a.length-b.length),nb=0,e;for(e=0;e<d;e++)(c&&a[e]!==b[e]||!c&&m(a[e])!==m(b[e]))&&nb++;return nb+f}function pb(a){!1===g.suppressDeprecationWarnings&&"undefined"!==typeof console&&console.warn&&console.warn("Deprecation warning: "+a)}function E(a,b){var c=!0;return R(function(){null!=g.deprecationHandler&&g.deprecationHandler(null,a);if(c){for(var d=
[],f,e=0;e<arguments.length;e++){f="";if("object"===typeof arguments[e]){f+="\n["+e+"] ";for(var ob in arguments[0])f+=ob+": "+arguments[0][ob]+", ";f=f.slice(0,-2)}else f=arguments[e];d.push(f)}pb(a+"\nArguments: "+Array.prototype.slice.call(d).join("")+"\n"+Error().stack);c=!1}return b.apply(this,arguments)},b)}function qb(a,b){null!=g.deprecationHandler&&g.deprecationHandler(a,b);rb[a]||(pb(b),rb[a]=!0)}function K(a){return a instanceof Function||"[object Function]"===Object.prototype.toString.call(a)}
function sb(a,b){var c=R({},a),d;for(d in b)u(b,d)&&(ka(a[d])&&ka(b[d])?(c[d]={},R(c[d],a[d]),R(c[d],b[d])):null!=b[d]?c[d]=b[d]:delete c[d]);for(d in a)u(a,d)&&!u(b,d)&&ka(a[d])&&(c[d]=R({},c[d]));return c}function Oa(a){null!=a&&this.set(a)}function A(a,b){var c=a.toLowerCase();ma[c]=ma[c+"s"]=ma[b]=a}function F(a){return"string"===typeof a?ma[a]||ma[a.toLowerCase()]:void 0}function Pa(a){var b={},c,d;for(d in a)u(a,d)&&(c=F(d))&&(b[c]=a[d]);return b}function gc(a){var b=[],c;for(c in a)b.push({unit:c,
priority:y[c]});b.sort(function(a,b){return a.priority-b.priority});return b}function N(a,b,c){var d=""+Math.abs(a);return(0<=a?c?"+":"":"-")+Math.pow(10,Math.max(0,b-d.length)).toString().substr(1)+d}function l(a,b,c,d){var f=d;"string"===typeof d&&(f=function(){return this[d]()});a&&(ea[a]=f);b&&(ea[b[0]]=function(){return N(f.apply(this,arguments),b[1],b[2])});c&&(ea[c]=function(){return this.localeData().ordinal(f.apply(this,arguments),a)})}function hc(a){return a.match(/\[[\s\S]/)?a.replace(/^\[|\]$/g,
""):a.replace(/\\/g,"")}function ic(a){var b=a.match(tb),c;var d=0;for(c=b.length;d<c;d++)b[d]=ea[b[d]]?ea[b[d]]:hc(b[d]);return function(d){var f="",e;for(e=0;e<c;e++)f+=K(b[e])?b[e].call(d,a):b[e];return f}}function Qa(a,b){if(!a.isValid())return a.localeData().invalidDate();b=ub(b,a.localeData());Ra[b]=Ra[b]||ic(b);return Ra[b](a)}function ub(a,b){function c(a){return b.longDateFormat(a)||a}var d=5;for(va.lastIndex=0;0<=d&&va.test(a);)a=a.replace(va,c),va.lastIndex=0,--d;return a}function h(a,
b,c){Sa[a]=K(b)?b:function(a,f){return a&&c?c:b}}function jc(a,b){return u(Sa,a)?Sa[a](b._strict,b._locale):new RegExp(kc(a))}function kc(a){return Y(a.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(a,c,d,f,e){return c||d||f||e}))}function Y(a){return a.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function q(a,b){var c,d=b;"string"===typeof a&&(a=[a]);da(b)&&(d=function(a,c){c[b]=m(a)});for(c=0;c<a.length;c++)Ta[a[c]]=d}function na(a,b){q(a,function(a,d,f,e){f._w=f._w||{};b(a,
f._w,f,e)})}function T(a){return 0===a%4&&0!==a%100||0===a%400}function fa(a,b){return function(c){return null!=c?(vb(this,a,c),g.updateOffset(this,b),this):wa(this,a)}}function wa(a,b){return a.isValid()?a._d["get"+(a._isUTC?"UTC":"")+b]():NaN}function vb(a,b,c){if(a.isValid()&&!isNaN(c))if("FullYear"===b&&T(a.year())&&1===a.month()&&29===a.date())a._d["set"+(a._isUTC?"UTC":"")+b](c,a.month(),xa(c,a.month()));else a._d["set"+(a._isUTC?"UTC":"")+b](c)}function xa(a,b){if(isNaN(a)||isNaN(b))return NaN;
var c=(b%12+12)%12;return 1===c?T(a+(b-c)/12)?29:28:31-c%7%2}function wb(a,b){if(!a.isValid())return a;if("string"===typeof b)if(/^\d+$/.test(b))b=m(b);else if(b=a.localeData().monthsParse(b),!da(b))return a;var c=Math.min(a.date(),xa(a.year(),b));a._d["set"+(a._isUTC?"UTC":"")+"Month"](b,c);return a}function xb(a){return null!=a?(wb(this,a),g.updateOffset(this,!0),this):wa(this,"Month")}function yb(){function a(a,b){return b.length-a.length}var b=[],c=[],d=[],f;for(f=0;12>f;f++){var e=J([2E3,f]);
b.push(this.monthsShort(e,""));c.push(this.months(e,""));d.push(this.months(e,""));d.push(this.monthsShort(e,""))}b.sort(a);c.sort(a);d.sort(a);for(f=0;12>f;f++)b[f]=Y(b[f]),c[f]=Y(c[f]);for(f=0;24>f;f++)d[f]=Y(d[f]);this._monthsShortRegex=this._monthsRegex=new RegExp("^("+d.join("|")+")","i");this._monthsStrictRegex=new RegExp("^("+c.join("|")+")","i");this._monthsShortStrictRegex=new RegExp("^("+b.join("|")+")","i")}function lc(a,b,c,d,f,e,g){b=new Date(a,b,c,d,f,e,g);100>a&&0<=a&&isFinite(b.getFullYear())&&
b.setFullYear(a);return b}function oa(a){var b=new Date(Date.UTC.apply(null,arguments));100>a&&0<=a&&isFinite(b.getUTCFullYear())&&b.setUTCFullYear(a);return b}function ya(a,b,c){c=7+b-c;return-((7+oa(a,0,c).getUTCDay()-b)%7)+c-1}function zb(a,b,c,d,f){c=(7+c-d)%7;d=ya(a,d,f);d=1+7*(b-1)+c+d;0>=d?(b=a-1,a=(T(b)?366:365)+d):d>(T(a)?366:365)?(b=a+1,a=d-(T(a)?366:365)):(b=a,a=d);return{year:b,dayOfYear:a}}function pa(a,b,c){var d=ya(a.year(),b,c);d=Math.floor((a.dayOfYear()-d-1)/7)+1;1>d?(a=a.year()-
1,b=d+Z(a,b,c)):d>Z(a.year(),b,c)?(b=d-Z(a.year(),b,c),a=a.year()+1):(a=a.year(),b=d);return{week:b,year:a}}function Z(a,b,c){var d=ya(a,b,c);b=ya(a+1,b,c);return((T(a)?366:365)-d+b)/7}function mc(a,b,c){var d;a=a.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],d=0;7>d;++d){var f=J([2E3,1]).day(d);this._minWeekdaysParse[d]=this.weekdaysMin(f,"").toLocaleLowerCase();this._shortWeekdaysParse[d]=this.weekdaysShort(f,"").toLocaleLowerCase();
this._weekdaysParse[d]=this.weekdays(f,"").toLocaleLowerCase()}if(c)b="dddd"===b?v.call(this._weekdaysParse,a):"ddd"===b?v.call(this._shortWeekdaysParse,a):v.call(this._minWeekdaysParse,a);else if("dddd"===b){b=v.call(this._weekdaysParse,a);if(-1!==b)return b;b=v.call(this._shortWeekdaysParse,a);if(-1!==b)return b;b=v.call(this._minWeekdaysParse,a)}else if("ddd"===b){b=v.call(this._shortWeekdaysParse,a);if(-1!==b)return b;b=v.call(this._weekdaysParse,a);if(-1!==b)return b;b=v.call(this._minWeekdaysParse,
a)}else{b=v.call(this._minWeekdaysParse,a);if(-1!==b)return b;b=v.call(this._weekdaysParse,a);if(-1!==b)return b;b=v.call(this._shortWeekdaysParse,a)}return-1!==b?b:null}function Ua(){function a(a,b){return b.length-a.length}var b=[],c=[],d=[],f=[],e;for(e=0;7>e;e++){var g=J([2E3,1]).day(e);var h=this.weekdaysMin(g,"");var l=this.weekdaysShort(g,"");g=this.weekdays(g,"");b.push(h);c.push(l);d.push(g);f.push(h);f.push(l);f.push(g)}b.sort(a);c.sort(a);d.sort(a);f.sort(a);for(e=0;7>e;e++)c[e]=Y(c[e]),
d[e]=Y(d[e]),f[e]=Y(f[e]);this._weekdaysMinRegex=this._weekdaysShortRegex=this._weekdaysRegex=new RegExp("^("+f.join("|")+")","i");this._weekdaysStrictRegex=new RegExp("^("+d.join("|")+")","i");this._weekdaysShortStrictRegex=new RegExp("^("+c.join("|")+")","i");this._weekdaysMinStrictRegex=new RegExp("^("+b.join("|")+")","i")}function Va(){return this.hours()%12||12}function Ab(a,b){l(a,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),b)})}function Bb(a,b){return b._meridiemParse}
function Cb(a){return a?a.toLowerCase().replace("_","-"):a}function Wa(a){var b=null;if(!w[a]&&"undefined"!==typeof module&&module&&module.exports)try{b=za._abbr,require("./locale/"+a),ha(b)}catch(c){}return w[a]}function ha(a,b){a&&(a=z(b)?U(a):Xa(a,b))&&(za=a);return za._abbr}function Xa(a,b){if(null!==b){var c=Db;b.abbr=a;if(null!=w[a])qb("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."),
c=w[a]._config;else if(null!=b.parentLocale)if(null!=w[b.parentLocale])c=w[b.parentLocale]._config;else return qa[b.parentLocale]||(qa[b.parentLocale]=[]),qa[b.parentLocale].push({name:a,config:b}),null;w[a]=new Oa(sb(c,b));qa[a]&&qa[a].forEach(function(a){Xa(a.name,a.config)});ha(a);return w[a]}delete w[a];return null}function U(a){var b;a&&a._locale&&a._locale._abbr&&(a=a._locale._abbr);if(!a)return za;if(!B(a)){if(b=Wa(a))return b;a=[a]}a:{b=0;for(var c,d,f,e;b<a.length;){e=Cb(a[b]).split("-");
c=e.length;for(d=(d=Cb(a[b+1]))?d.split("-"):null;0<c;){if(f=Wa(e.slice(0,c).join("-"))){a=f;break a}if(d&&d.length>=c&&mb(e,d,!0)>=c-1)break;c--}b++}a=null}return a}function Ya(a){var b;(b=a._a)&&-2===n(a).overflow&&(b=0>b[O]||11<b[O]?O:1>b[L]||b[L]>xa(b[G],b[O])?L:0>b[x]||24<b[x]||24===b[x]&&(0!==b[H]||0!==b[P]||0!==b[aa])?x:0>b[H]||59<b[H]?H:0>b[P]||59<b[P]?P:0>b[aa]||999<b[aa]?aa:-1,n(a)._overflowDayOfYear&&(b<G||b>L)&&(b=L),n(a)._overflowWeeks&&-1===b&&(b=nc),n(a)._overflowWeekday&&-1===b&&(b=
oc),n(a).overflow=b);return a}function ia(a,b,c){return null!=a?a:null!=b?b:c}function Za(a){var b=[];if(!a._d){var c=new Date(g.now());c=a._useUTC?[c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()]:[c.getFullYear(),c.getMonth(),c.getDate()];if(a._w&&null==a._a[L]&&null==a._a[O]){var d=a._w;if(null!=d.GG||null!=d.W||null!=d.E){var f=1;var e=4;var h=ia(d.GG,a._a[G],pa(t(),1,4).year);var l=ia(d.W,1);var m=ia(d.E,1);if(1>m||7<m)var k=!0}else if(f=a._locale._week.dow,e=a._locale._week.doy,l=pa(t(),f,
e),h=ia(d.gg,a._a[G],l.year),l=ia(d.w,l.week),null!=d.d){if(m=d.d,0>m||6<m)k=!0}else if(null!=d.e){if(m=d.e+f,0>d.e||6<d.e)k=!0}else m=f;1>l||l>Z(h,f,e)?n(a)._overflowWeeks=!0:null!=k?n(a)._overflowWeekday=!0:(k=zb(h,l,m,f,e),a._a[G]=k.year,a._dayOfYear=k.dayOfYear)}if(null!=a._dayOfYear){k=ia(a._a[G],c[G]);if(a._dayOfYear>(T(k)?366:365)||0===a._dayOfYear)n(a)._overflowDayOfYear=!0;k=oa(k,0,a._dayOfYear);a._a[O]=k.getUTCMonth();a._a[L]=k.getUTCDate()}for(k=0;3>k&&null==a._a[k];++k)a._a[k]=b[k]=c[k];
for(;7>k;k++)a._a[k]=b[k]=null==a._a[k]?2===k?1:0:a._a[k];24===a._a[x]&&0===a._a[H]&&0===a._a[P]&&0===a._a[aa]&&(a._nextDay=!0,a._a[x]=0);a._d=(a._useUTC?oa:lc).apply(null,b);null!=a._tzm&&a._d.setUTCMinutes(a._d.getUTCMinutes()-a._tzm);a._nextDay&&(a._a[x]=24);a._w&&"undefined"!==typeof a._w.d&&a._w.d!==a._d.getDay()&&(n(a).weekdayMismatch=!0)}}function Eb(a){var b;var c=a._i;var d=pc.exec(c)||qc.exec(c);if(d){n(a).iso=!0;c=0;for(b=Aa.length;c<b;c++)if(Aa[c][1].exec(d[1])){var f=Aa[c][0];var e=!1!==
Aa[c][2];break}if(null==f)a._isValid=!1;else{if(d[3]){c=0;for(b=$a.length;c<b;c++)if($a[c][1].exec(d[3])){var g=(d[2]||" ")+$a[c][0];break}if(null==g){a._isValid=!1;return}}if(e||null==g){if(d[4])if(rc.exec(d[4]))var h="Z";else{a._isValid=!1;return}a._f=f+(g||"")+(h||"");ab(a)}else a._isValid=!1}}else a._isValid=!1}function Fb(a){var b=sc.exec(a._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim());if(b){var c=b[3],d=b[2],f=b[5],e=b[6],g=b[7],h=parseInt(b[4],10);c=[49>=h?2E3+h:999>=
h?1900+h:h,Gb.indexOf(c),parseInt(d,10),parseInt(f,10),parseInt(e,10)];g&&c.push(parseInt(g,10));a:{if(g=b[1])if(g=Hb.indexOf(g),d=(new Date(c[0],c[1],c[2])).getDay(),g!==d){n(a).weekdayMismatch=!0;g=a._isValid=!1;break a}g=!0}g&&(a._a=c,(g=b[8])?b=tc[g]:b[9]?b=0:(b=parseInt(b[10],10),g=b%100,b=(b-g)/100*60+g),a._tzm=b,a._d=oa.apply(null,a._a),a._d.setUTCMinutes(a._d.getUTCMinutes()-a._tzm),n(a).rfc2822=!0)}else a._isValid=!1}function uc(a){var b=vc.exec(a._i);null!==b?a._d=new Date(+b[1]):(Eb(a),
!1===a._isValid&&(delete a._isValid,Fb(a),!1===a._isValid&&(delete a._isValid,g.createFromInputFallback(a))))}function ab(a){if(a._f===g.ISO_8601)Eb(a);else if(a._f===g.RFC_2822)Fb(a);else{a._a=[];n(a).empty=!0;var b=""+a._i,c,d,f=b.length,e=0;var h=ub(a._f,a._locale).match(tb)||[];for(c=0;c<h.length;c++){var k=h[c];if(d=(b.match(jc(k,a))||[])[0]){var l=b.substr(0,b.indexOf(d));0<l.length&&n(a).unusedInput.push(l);b=b.slice(b.indexOf(d)+d.length);e+=d.length}if(ea[k]){if(d?n(a).empty=!1:n(a).unusedTokens.push(k),
l=a,null!=d&&u(Ta,k))Ta[k](d,l._a,l,k)}else a._strict&&!d&&n(a).unusedTokens.push(k)}n(a).charsLeftOver=f-e;0<b.length&&n(a).unusedInput.push(b);12>=a._a[x]&&!0===n(a).bigHour&&0<a._a[x]&&(n(a).bigHour=void 0);n(a).parsedDateParts=a._a.slice(0);n(a).meridiem=a._meridiem;b=a._a;c=x;f=a._locale;h=a._a[x];e=a._meridiem;null!=e&&(null!=f.meridiemHour?h=f.meridiemHour(h,e):null!=f.isPM&&((f=f.isPM(e))&&12>h&&(h+=12),f||12!==h||(h=0)));b[c]=h;Za(a);Ya(a)}}function wc(a){if(!a._d){var b=Pa(a._i);a._a=kb([b.year,
b.month,b.day||b.date,b.hour,b.minute,b.second,b.millisecond],function(a){return a&&parseInt(a,10)});Za(a)}}function Ib(a){var b=a._i,c=a._f;a._locale=a._locale||U(a._l);if(null===b||void 0===c&&""===b)return ua({nullInput:!0});"string"===typeof b&&(a._i=b=a._locale.preparse(b));if(S(b))return new la(Ya(b));if(ta(b))a._d=b;else if(B(c))if(0===a._f.length)n(a).invalidFormat=!0,a._d=new Date(NaN);else{for(b=0;b<a._f.length;b++){c=0;var d=La({},a);null!=a._useUTC&&(d._useUTC=a._useUTC);d._f=a._f[b];
ab(d);if(Ka(d)&&(c+=n(d).charsLeftOver,c+=10*n(d).unusedTokens.length,n(d).score=c,null==f||c<f)){var f=c;var e=d}}R(a,e||d)}else c?ab(a):xc(a);Ka(a)||(a._d=null);return a}function xc(a){var b=a._i;z(b)?a._d=new Date(g.now()):ta(b)?a._d=new Date(b.valueOf()):"string"===typeof b?uc(a):B(b)?(a._a=kb(b.slice(0),function(a){return parseInt(a,10)}),Za(a)):ka(b)?wc(a):da(b)?a._d=new Date(b):g.createFromInputFallback(a)}function lb(a,b,c,d,e){var f={};if(!0===c||!1===c)d=c,c=void 0;if(ka(a)&&ec(a)||B(a)&&
0===a.length)a=void 0;f._isAMomentObject=!0;f._useUTC=f._isUTC=e;f._l=c;f._i=a;f._f=b;f._strict=d;a=new la(Ya(Ib(f)));a._nextDay&&(a.add(1,"d"),a._nextDay=void 0);return a}function t(a,b,c,d){return lb(a,b,c,d,!1)}function Jb(a,b){var c;1===b.length&&B(b[0])&&(b=b[0]);if(!b.length)return t();var d=b[0];for(c=1;c<b.length;++c)if(!b[c].isValid()||b[c][a](d))d=b[c];return d}function yc(a){for(var b in a)if(-1===v.call(ra,b)||null!=a[b]&&isNaN(a[b]))return!1;b=!1;for(var c=0;c<ra.length;++c)if(a[ra[c]]){if(b)return!1;
parseFloat(a[ra[c]])!==m(a[ra[c]])&&(b=!0)}return!0}function Ba(a){a=Pa(a);var b=a.year||0,c=a.quarter||0,d=a.month||0,f=a.week||0,e=a.day||0,g=a.hour||0,h=a.minute||0,k=a.second||0,l=a.millisecond||0;this._isValid=yc(a);this._milliseconds=+l+1E3*k+6E4*h+36E5*g;this._days=+e+7*f;this._months=+d+3*c+12*b;this._data={};this._locale=U();this._bubble()}function bb(a){return a instanceof Ba}function cb(a){return 0>a?-1*Math.round(-1*a):Math.round(a)}function Kb(a,b){l(a,0,0,function(){var a=this.utcOffset(),
d="+";0>a&&(a=-a,d="-");return d+N(~~(a/60),2)+b+N(~~a%60,2)})}function db(a,b){a=(b||"").match(a);if(null===a)return null;a=((a[a.length-1]||[])+"").match(zc)||["-",0,0];b=+(60*a[1])+m(a[2]);return 0===b?0:"+"===a[0]?b:-b}function eb(a,b){return b._isUTC?(b=b.clone(),a=(S(a)||ta(a)?a.valueOf():t(a).valueOf())-b.valueOf(),b._d.setTime(b._d.valueOf()+a),g.updateOffset(b,!1),b):t(a).local()}function Lb(){return this.isValid()?this._isUTC&&0===this._offset:!1}function I(a,b){var c=a;bb(a)?c={ms:a._milliseconds,
d:a._days,M:a._months}:da(a)?(c={},b?c[b]=a:c.milliseconds=a):(b=Ac.exec(a))?(c="-"===b[1]?-1:1,c={y:0,d:m(b[L])*c,h:m(b[x])*c,m:m(b[H])*c,s:m(b[P])*c,ms:m(cb(1E3*b[aa]))*c}):(b=Bc.exec(a))?(c="-"===b[1]?-1:1,c={y:ba(b[2],c),M:ba(b[3],c),w:ba(b[4],c),d:ba(b[5],c),h:ba(b[6],c),m:ba(b[7],c),s:ba(b[8],c)}):null==c?c={}:"object"===typeof c&&("from"in c||"to"in c)&&(b=t(c.from),c=t(c.to),b.isValid()&&c.isValid()?(c=eb(c,b),b.isBefore(c)?c=Mb(b,c):(c=Mb(c,b),c.milliseconds=-c.milliseconds,c.months=-c.months),
b=c):b={milliseconds:0,months:0},c={},c.ms=b.milliseconds,c.M=b.months);c=new Ba(c);bb(a)&&u(a,"_locale")&&(c._locale=a._locale);return c}function ba(a,b){a=a&&parseFloat(a.replace(",","."));return(isNaN(a)?0:a)*b}function Mb(a,b){var c={milliseconds:0,months:0};c.months=b.month()-a.month()+12*(b.year()-a.year());a.clone().add(c.months,"M").isAfter(b)&&--c.months;c.milliseconds=+b-+a.clone().add(c.months,"M");return c}function Nb(a,b){return function(c,d){if(null!==d&&!isNaN(+d)){qb(b,"moment()."+
b+"(period, number) is deprecated. Please use moment()."+b+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info.");var f=c;c=d;d=f}c=I("string"===typeof c?+c:c,d);Ob(this,c,a);return this}}function Ob(a,b,c,d){var f=b._milliseconds,e=cb(b._days);b=cb(b._months);a.isValid()&&(d=null==d?!0:d,b&&wb(a,wa(a,"Month")+b*c),e&&vb(a,"Date",wa(a,"Date")+e*c),f&&a._d.setTime(a._d.valueOf()+f*c),d&&g.updateOffset(a,e||b))}function fb(a,b){var c=12*(b.year()-a.year())+
(b.month()-a.month()),d=a.clone().add(c,"months");0>b-d?(a=a.clone().add(c-1,"months"),b=(b-d)/(d-a)):(a=a.clone().add(c+1,"months"),b=(b-d)/(a-d));return-(c+b)||0}function Pb(a){if(void 0===a)return this._locale._abbr;a=U(a);null!=a&&(this._locale=a);return this}function Qb(){return this._locale}function Ca(a,b){l(0,[a,a.length],0,b)}function Rb(a,b,c,d,e){if(null==a)return pa(this,d,e).year;var f=Z(a,d,e);b>f&&(b=f);a=zb(a,b,c,d,e);a=oa(a.year,0,a.dayOfYear);this.year(a.getUTCFullYear());this.month(a.getUTCMonth());
this.date(a.getUTCDate());return this}function Cc(a,b){b[aa]=m(1E3*("0."+a))}function Sb(a){return a}function Da(a,b,c,d){var e=U();b=J().set(d,b);return e[c](b,a)}function Tb(a,b,c){da(a)&&(b=a,a=void 0);a=a||"";if(null!=b)return Da(a,b,c,"month");var d=[];for(b=0;12>b;b++)d[b]=Da(a,b,c,"month");return d}function gb(a,b,c,d){"boolean"!==typeof a&&(c=b=a,a=!1);da(b)&&(c=b,b=void 0);b=b||"";var e=U();a=a?e._week.dow:0;if(null!=c)return Da(b,(c+a)%7,d,"day");e=[];for(c=0;7>c;c++)e[c]=Da(b,(c+a)%7,d,
"day");return e}function Ub(a,b,c,d){b=I(b,c);a._milliseconds+=d*b._milliseconds;a._days+=d*b._days;a._months+=d*b._months;return a._bubble()}function Vb(a){return 0>a?Math.floor(a):Math.ceil(a)}function V(a){return function(){return this.as(a)}}function ca(a){return function(){return this.isValid()?this._data[a]:NaN}}function Dc(a,b,c,d,e){return e.relativeTime(b||1,!!c,a,d)}function ja(a){return(0<a)-(0>a)||+a}function Ea(){if(!this.isValid())return this.localeData().invalidDate();var a=hb(this._milliseconds)/
1E3,b=hb(this._days),c=hb(this._months);var d=D(a/60);var e=D(d/60);a%=60;d%=60;var g=D(c/12);c%=12;a=a?a.toFixed(3).replace(/\.?0+$/,""):"";var h=this.asSeconds();if(!h)return"P0D";var k=0>h?"-":"",l=ja(this._months)!==ja(h)?"-":"",m=ja(this._days)!==ja(h)?"-":"";h=ja(this._milliseconds)!==ja(h)?"-":"";return k+"P"+(g?l+g+"Y":"")+(c?l+c+"M":"")+(b?m+b+"D":"")+(e||d||a?"T":"")+(e?h+e+"H":"")+(d?h+d+"M":"")+(a?h+a+"S":"")}var fc=Array.prototype.some?Array.prototype.some:function(a){for(var b=Object(this),
c=b.length>>>0,d=0;d<c;d++)if(d in b&&a.call(this,b[d],d,b))return!0;return!1};var Ma=g.momentProperties=[],Na=!1,rb={};g.suppressDeprecationWarnings=!1;g.deprecationHandler=null;var Ec=Object.keys?Object.keys:function(a){var b,c=[];for(b in a)u(a,b)&&c.push(b);return c};var ma={},y={},tb=/(\[[^\[]*\])|(\\)?([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,va=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,
Ra={},ea={},Wb=/\d/,C=/\d\d/,Xb=/\d{3}/,ib=/\d{4}/,Fa=/[+-]?\d{6}/,r=/\d\d?/,Yb=/\d\d\d\d?/,Zb=/\d\d\d\d\d\d?/,Ga=/\d{1,3}/,jb=/\d{1,4}/,Ha=/[+-]?\d{1,6}/,Fc=/\d+/,Ia=/[+-]?\d+/,Gc=/Z|[+-]\d\d:?\d\d/gi,Ja=/Z|[+-]\d\d(?::?\d\d)?/gi,sa=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Sa={},Ta={},G=0,O=1,L=2,x=3,H=4,P=5,aa=6,nc=7,oc=8;l("Y",0,0,function(){var a=this.year();return 9999>=a?""+a:"+"+a});l(0,["YY",
2],0,function(){return this.year()%100});l(0,["YYYY",4],0,"year");l(0,["YYYYY",5],0,"year");l(0,["YYYYYY",6,!0],0,"year");A("year","y");y.year=1;h("Y",Ia);h("YY",r,C);h("YYYY",jb,ib);h("YYYYY",Ha,Fa);h("YYYYYY",Ha,Fa);q(["YYYYY","YYYYYY"],G);q("YYYY",function(a,b){b[G]=2===a.length?g.parseTwoDigitYear(a):m(a)});q("YY",function(a,b){b[G]=g.parseTwoDigitYear(a)});q("Y",function(a,b){b[G]=parseInt(a,10)});g.parseTwoDigitYear=function(a){return m(a)+(68<m(a)?1900:2E3)};var $b=fa("FullYear",!0);var v=
Array.prototype.indexOf?Array.prototype.indexOf:function(a){var b;for(b=0;b<this.length;++b)if(this[b]===a)return b;return-1};l("M",["MM",2],"Mo",function(){return this.month()+1});l("MMM",0,0,function(a){return this.localeData().monthsShort(this,a)});l("MMMM",0,0,function(a){return this.localeData().months(this,a)});A("month","M");y.month=8;h("M",r);h("MM",r,C);h("MMM",function(a,b){return b.monthsShortRegex(a)});h("MMMM",function(a,b){return b.monthsRegex(a)});q(["M","MM"],function(a,b){b[O]=m(a)-
1});q(["MMM","MMMM"],function(a,b,c,d){d=c._locale.monthsParse(a,d,c._strict);null!=d?b[O]=d:n(c).invalidMonth=a});var ac=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Gb="Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" ");l("w",["ww",2],"wo","week");l("W",["WW",2],"Wo","isoWeek");A("week","w");A("isoWeek","W");y.week=5;y.isoWeek=5;h("w",r);h("ww",r,C);h("W",r);h("WW",r,C);na(["w","ww","W","WW"],function(a,b,c,d){b[d.substr(0,1)]=m(a)});l("d",0,"do","day");l("dd",0,0,function(a){return this.localeData().weekdaysMin(this,
a)});l("ddd",0,0,function(a){return this.localeData().weekdaysShort(this,a)});l("dddd",0,0,function(a){return this.localeData().weekdays(this,a)});l("e",0,0,"weekday");l("E",0,0,"isoWeekday");A("day","d");A("weekday","e");A("isoWeekday","E");y.day=11;y.weekday=11;y.isoWeekday=11;h("d",r);h("e",r);h("E",r);h("dd",function(a,b){return b.weekdaysMinRegex(a)});h("ddd",function(a,b){return b.weekdaysShortRegex(a)});h("dddd",function(a,b){return b.weekdaysRegex(a)});na(["dd","ddd","dddd"],function(a,b,
c,d){d=c._locale.weekdaysParse(a,d,c._strict);null!=d?b.d=d:n(c).invalidWeekday=a});na(["d","e","E"],function(a,b,c,d){b[d]=m(a)});var Hb="Sun Mon Tue Wed Thu Fri Sat".split(" ");l("H",["HH",2],0,"hour");l("h",["hh",2],0,Va);l("k",["kk",2],0,function(){return this.hours()||24});l("hmm",0,0,function(){return""+Va.apply(this)+N(this.minutes(),2)});l("hmmss",0,0,function(){return""+Va.apply(this)+N(this.minutes(),2)+N(this.seconds(),2)});l("Hmm",0,0,function(){return""+this.hours()+N(this.minutes(),
2)});l("Hmmss",0,0,function(){return""+this.hours()+N(this.minutes(),2)+N(this.seconds(),2)});Ab("a",!0);Ab("A",!1);A("hour","h");y.hour=13;h("a",Bb);h("A",Bb);h("H",r);h("h",r);h("k",r);h("HH",r,C);h("hh",r,C);h("kk",r,C);h("hmm",Yb);h("hmmss",Zb);h("Hmm",Yb);h("Hmmss",Zb);q(["H","HH"],x);q(["k","kk"],function(a,b,c){a=m(a);b[x]=24===a?0:a});q(["a","A"],function(a,b,c){c._isPm=c._locale.isPM(a);c._meridiem=a});q(["h","hh"],function(a,b,c){b[x]=m(a);n(c).bigHour=!0});q("hmm",function(a,b,c){var d=
a.length-2;b[x]=m(a.substr(0,d));b[H]=m(a.substr(d));n(c).bigHour=!0});q("hmmss",function(a,b,c){var d=a.length-4,e=a.length-2;b[x]=m(a.substr(0,d));b[H]=m(a.substr(d,2));b[P]=m(a.substr(e));n(c).bigHour=!0});q("Hmm",function(a,b,c){c=a.length-2;b[x]=m(a.substr(0,c));b[H]=m(a.substr(c))});q("Hmmss",function(a,b,c){c=a.length-4;var d=a.length-2;b[x]=m(a.substr(0,c));b[H]=m(a.substr(c,2));b[P]=m(a.substr(d))});var Hc=fa("Hours",!0),Db={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:"January February March April May June July August September October November December".split(" "),
monthsShort:Gb,week:{dow:0,doy:6},weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),weekdaysMin:"Su Mo Tu We Th Fr Sa".split(" "),weekdaysShort:Hb,meridiemParse:/[ap]\.?m?\.?/i},w={},qa={},za,pc=/^\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)?)?$/,qc=/^\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)?)?$/,
rc=/Z|[+-]\d\d(?::?\d\d)?/,Aa=[["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}/]],$a=[["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/]],vc=/^\/?Date\((\-?\d+)/i,sc=/^(?:(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}))$/,tc={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};g.createFromInputFallback=E("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(a){a._d=new Date(a._i+(a._useUTC?" UTC":""))});g.ISO_8601=function(){};g.RFC_2822=function(){};var Ic=E("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var a=t.apply(null,arguments);return this.isValid()&&a.isValid()?a<this?this:a:ua()}),Jc=E("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var a=t.apply(null,arguments);return this.isValid()&&a.isValid()?a>this?this:
a:ua()}),ra="year quarter month week day hour minute second millisecond".split(" ");Kb("Z",":");Kb("ZZ","");h("Z",Ja);h("ZZ",Ja);q(["Z","ZZ"],function(a,b,c){c._useUTC=!0;c._tzm=db(Ja,a)});var zc=/([\+\-]|\d\d)/gi;g.updateOffset=function(){};var Ac=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Bc=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;I.fn=Ba.prototype;I.invalid=
function(){return I(NaN)};var Kc=Nb(1,"add"),Lc=Nb(-1,"subtract");g.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";g.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var bc=E("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(a){return void 0===a?this.localeData():this.locale(a)});l(0,["gg",2],0,function(){return this.weekYear()%100});l(0,["GG",2],0,function(){return this.isoWeekYear()%100});Ca("gggg","weekYear");
Ca("ggggg","weekYear");Ca("GGGG","isoWeekYear");Ca("GGGGG","isoWeekYear");A("weekYear","gg");A("isoWeekYear","GG");y.weekYear=1;y.isoWeekYear=1;h("G",Ia);h("g",Ia);h("GG",r,C);h("gg",r,C);h("GGGG",jb,ib);h("gggg",jb,ib);h("GGGGG",Ha,Fa);h("ggggg",Ha,Fa);na(["gggg","ggggg","GGGG","GGGGG"],function(a,b,c,d){b[d.substr(0,2)]=m(a)});na(["gg","GG"],function(a,b,c,d){b[d]=g.parseTwoDigitYear(a)});l("Q",0,"Qo","quarter");A("quarter","Q");y.quarter=7;h("Q",Wb);q("Q",function(a,b){b[O]=3*(m(a)-1)});l("D",
["DD",2],"Do","date");A("date","D");y.date=9;h("D",r);h("DD",r,C);h("Do",function(a,b){return a?b._dayOfMonthOrdinalParse||b._ordinalParse:b._dayOfMonthOrdinalParseLenient});q(["D","DD"],L);q("Do",function(a,b){b[L]=m(a.match(r)[0],10)});var cc=fa("Date",!0);l("DDD",["DDDD",3],"DDDo","dayOfYear");A("dayOfYear","DDD");y.dayOfYear=4;h("DDD",Ga);h("DDDD",Xb);q(["DDD","DDDD"],function(a,b,c){c._dayOfYear=m(a)});l("m",["mm",2],0,"minute");A("minute","m");y.minute=14;h("m",r);h("mm",r,C);q(["m","mm"],H);
var Mc=fa("Minutes",!1);l("s",["ss",2],0,"second");A("second","s");y.second=15;h("s",r);h("ss",r,C);q(["s","ss"],P);var Nc=fa("Seconds",!1);l("S",0,0,function(){return~~(this.millisecond()/100)});l(0,["SS",2],0,function(){return~~(this.millisecond()/10)});l(0,["SSS",3],0,"millisecond");l(0,["SSSS",4],0,function(){return 10*this.millisecond()});l(0,["SSSSS",5],0,function(){return 100*this.millisecond()});l(0,["SSSSSS",6],0,function(){return 1E3*this.millisecond()});l(0,["SSSSSSS",7],0,function(){return 1E4*
this.millisecond()});l(0,["SSSSSSSS",8],0,function(){return 1E5*this.millisecond()});l(0,["SSSSSSSSS",9],0,function(){return 1E6*this.millisecond()});A("millisecond","ms");y.millisecond=16;h("S",Ga,Wb);h("SS",Ga,C);h("SSS",Ga,Xb);var W;for(W="SSSS";9>=W.length;W+="S")h(W,Fc);for(W="S";9>=W.length;W+="S")q(W,Cc);var Oc=fa("Milliseconds",!1);l("z",0,0,"zoneAbbr");l("zz",0,0,"zoneName");var e=la.prototype;e.add=Kc;e.calendar=function(a,b){a=a||t();var c=eb(a,this).startOf("day");c=g.calendarFormat(this,
c)||"sameElse";b=b&&(K(b[c])?b[c].call(this,a):b[c]);return this.format(b||this.localeData().calendar(c,this,t(a)))};e.clone=function(){return new la(this)};e.diff=function(a,b,c){if(!this.isValid())return NaN;a=eb(a,this);if(!a.isValid())return NaN;var d=6E4*(a.utcOffset()-this.utcOffset());b=F(b);switch(b){case "year":b=fb(this,a)/12;break;case "month":b=fb(this,a);break;case "quarter":b=fb(this,a)/3;break;case "second":b=(this-a)/1E3;break;case "minute":b=(this-a)/6E4;break;case "hour":b=(this-
a)/36E5;break;case "day":b=(this-a-d)/864E5;break;case "week":b=(this-a-d)/6048E5;break;default:b=this-a}return c?b:D(b)};e.endOf=function(a){a=F(a);if(void 0===a||"millisecond"===a)return this;"date"===a&&(a="day");return this.startOf(a).add(1,"isoWeek"===a?"week":a).subtract(1,"ms")};e.format=function(a){a||(a=this.isUtc()?g.defaultFormatUtc:g.defaultFormat);a=Qa(this,a);return this.localeData().postformat(a)};e.from=function(a,b){return this.isValid()&&(S(a)&&a.isValid()||t(a).isValid())?I({to:this,
from:a}).locale(this.locale()).humanize(!b):this.localeData().invalidDate()};e.fromNow=function(a){return this.from(t(),a)};e.to=function(a,b){return this.isValid()&&(S(a)&&a.isValid()||t(a).isValid())?I({from:this,to:a}).locale(this.locale()).humanize(!b):this.localeData().invalidDate()};e.toNow=function(a){return this.to(t(),a)};e.get=function(a){a=F(a);return K(this[a])?this[a]():this};e.invalidAt=function(){return n(this).overflow};e.isAfter=function(a,b){a=S(a)?a:t(a);if(!this.isValid()||!a.isValid())return!1;
b=F(z(b)?"millisecond":b);return"millisecond"===b?this.valueOf()>a.valueOf():a.valueOf()<this.clone().startOf(b).valueOf()};e.isBefore=function(a,b){a=S(a)?a:t(a);if(!this.isValid()||!a.isValid())return!1;b=F(z(b)?"millisecond":b);return"millisecond"===b?this.valueOf()<a.valueOf():this.clone().endOf(b).valueOf()<a.valueOf()};e.isBetween=function(a,b,c,d){d=d||"()";return("("===d[0]?this.isAfter(a,c):!this.isBefore(a,c))&&(")"===d[1]?this.isBefore(b,c):!this.isAfter(b,c))};e.isSame=function(a,b){a=
S(a)?a:t(a);if(!this.isValid()||!a.isValid())return!1;b=F(b||"millisecond");if("millisecond"===b)return this.valueOf()===a.valueOf();a=a.valueOf();return this.clone().startOf(b).valueOf()<=a&&a<=this.clone().endOf(b).valueOf()};e.isSameOrAfter=function(a,b){return this.isSame(a,b)||this.isAfter(a,b)};e.isSameOrBefore=function(a,b){return this.isSame(a,b)||this.isBefore(a,b)};e.isValid=function(){return Ka(this)};e.lang=bc;e.locale=Pb;e.localeData=Qb;e.max=Jc;e.min=Ic;e.parsingFlags=function(){return R({},
n(this))};e.set=function(a,b){if("object"===typeof a){a=Pa(a);b=gc(a);for(var c=0;c<b.length;c++)this[b[c].unit](a[b[c].unit])}else if(a=F(a),K(this[a]))return this[a](b);return this};e.startOf=function(a){a=F(a);switch(a){case "year":this.month(0);case "quarter":case "month":this.date(1);case "week":case "isoWeek":case "day":case "date":this.hours(0);case "hour":this.minutes(0);case "minute":this.seconds(0);case "second":this.milliseconds(0)}"week"===a&&this.weekday(0);"isoWeek"===a&&this.isoWeekday(1);
"quarter"===a&&this.month(3*Math.floor(this.month()/3));return this};e.subtract=Lc;e.toArray=function(){return[this.year(),this.month(),this.date(),this.hour(),this.minute(),this.second(),this.millisecond()]};e.toObject=function(){return{years:this.year(),months:this.month(),date:this.date(),hours:this.hours(),minutes:this.minutes(),seconds:this.seconds(),milliseconds:this.milliseconds()}};e.toDate=function(){return new Date(this.valueOf())};e.toISOString=function(){if(!this.isValid())return null;
var a=this.clone().utc();return 0>a.year()||9999<a.year()?Qa(a,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):K(Date.prototype.toISOString)?this.toDate().toISOString():Qa(a,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]")};e.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var a="moment",b="";this.isLocal()||(a=0===this.utcOffset()?"moment.utc":"moment.parseZone",b="Z");a="["+a+'("]';var c=0<=this.year()&&9999>=this.year()?"YYYY":"YYYYYY";return this.format(a+c+"-MM-DD[T]HH:mm:ss.SSS"+(b+'[")]'))};
e.toJSON=function(){return this.isValid()?this.toISOString():null};e.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")};e.unix=function(){return Math.floor(this.valueOf()/1E3)};e.valueOf=function(){return this._d.valueOf()-6E4*(this._offset||0)};e.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}};e.year=$b;e.isLeapYear=function(){return T(this.year())};e.weekYear=function(a){return Rb.call(this,
a,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)};e.isoWeekYear=function(a){return Rb.call(this,a,this.isoWeek(),this.isoWeekday(),1,4)};e.quarter=e.quarters=function(a){return null==a?Math.ceil((this.month()+1)/3):this.month(3*(a-1)+this.month()%3)};e.month=xb;e.daysInMonth=function(){return xa(this.year(),this.month())};e.week=e.weeks=function(a){var b=this.localeData().week(this);return null==a?b:this.add(7*(a-b),"d")};e.isoWeek=e.isoWeeks=function(a){var b=
pa(this,1,4).week;return null==a?b:this.add(7*(a-b),"d")};e.weeksInYear=function(){var a=this.localeData()._week;return Z(this.year(),a.dow,a.doy)};e.isoWeeksInYear=function(){return Z(this.year(),1,4)};e.date=cc;e.day=e.days=function(a){if(!this.isValid())return null!=a?this:NaN;var b=this._isUTC?this._d.getUTCDay():this._d.getDay();if(null!=a){var c=this.localeData();"string"===typeof a&&(isNaN(a)?(a=c.weekdaysParse(a),a="number"===typeof a?a:null):a=parseInt(a,10));return this.add(a-b,"d")}return b};
e.weekday=function(a){if(!this.isValid())return null!=a?this:NaN;var b=(this.day()+7-this.localeData()._week.dow)%7;return null==a?b:this.add(a-b,"d")};e.isoWeekday=function(a){if(!this.isValid())return null!=a?this:NaN;if(null!=a){var b=this.localeData();a="string"===typeof a?b.weekdaysParse(a)%7||7:isNaN(a)?null:a;return this.day(this.day()%7?a:a-7)}return this.day()||7};e.dayOfYear=function(a){var b=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864E5)+1;return null==a?b:
this.add(a-b,"d")};e.hour=e.hours=Hc;e.minute=e.minutes=Mc;e.second=e.seconds=Nc;e.millisecond=e.milliseconds=Oc;e.utcOffset=function(a,b,c){var d=this._offset||0,e;if(!this.isValid())return null!=a?this:NaN;if(null!=a){if("string"===typeof a){if(a=db(Ja,a),null===a)return this}else 16>Math.abs(a)&&!c&&(a*=60);!this._isUTC&&b&&(e=15*-Math.round(this._d.getTimezoneOffset()/15));this._offset=a;this._isUTC=!0;null!=e&&this.add(e,"m");d!==a&&(!b||this._changeInProgress?Ob(this,I(a-d,"m"),1,!1):this._changeInProgress||
(this._changeInProgress=!0,g.updateOffset(this,!0),this._changeInProgress=null));return this}return this._isUTC?d:15*-Math.round(this._d.getTimezoneOffset()/15)};e.utc=function(a){return this.utcOffset(0,a)};e.local=function(a){this._isUTC&&(this.utcOffset(0,a),this._isUTC=!1,a&&this.subtract(15*-Math.round(this._d.getTimezoneOffset()/15),"m"));return this};e.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"===typeof this._i){var a=db(Gc,this._i);null!=a?this.utcOffset(a):
this.utcOffset(0,!0)}return this};e.hasAlignedHourOffset=function(a){if(!this.isValid())return!1;a=a?t(a).utcOffset():0;return 0===(this.utcOffset()-a)%60};e.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()};e.isLocal=function(){return this.isValid()?!this._isUTC:!1};e.isUtcOffset=function(){return this.isValid()?this._isUTC:!1};e.isUtc=Lb;e.isUTC=Lb;e.zoneAbbr=function(){return this._isUTC?"UTC":""};e.zoneName=function(){return this._isUTC?
"Coordinated Universal Time":""};e.dates=E("dates accessor is deprecated. Use date instead.",cc);e.months=E("months accessor is deprecated. Use month instead",xb);e.years=E("years accessor is deprecated. Use year instead",$b);e.zone=E("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(a,b){return null!=a?("string"!==typeof a&&(a=-a),this.utcOffset(a,b),this):-this.utcOffset()});e.isDSTShifted=E("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",
function(){if(!z(this._isDSTShifted))return this._isDSTShifted;var a={};La(a,this);a=Ib(a);if(a._a){var b=a._isUTC?J(a._a):t(a._a);this._isDSTShifted=this.isValid()&&0<mb(a._a,b.toArray())}else this._isDSTShifted=!1;return this._isDSTShifted});var p=Oa.prototype;p.calendar=function(a,b,c){a=this._calendar[a]||this._calendar.sameElse;return K(a)?a.call(b,c):a};p.longDateFormat=function(a){var b=this._longDateFormat[a],c=this._longDateFormat[a.toUpperCase()];if(b||!c)return b;this._longDateFormat[a]=
c.replace(/MMMM|MM|DD|dddd/g,function(a){return a.slice(1)});return this._longDateFormat[a]};p.invalidDate=function(){return this._invalidDate};p.ordinal=function(a){return this._ordinal.replace("%d",a)};p.preparse=Sb;p.postformat=Sb;p.relativeTime=function(a,b,c,d){var e=this._relativeTime[c];return K(e)?e(a,b,c,d):e.replace(/%d/i,a)};p.pastFuture=function(a,b){a=this._relativeTime[0<a?"future":"past"];return K(a)?a(b):a.replace(/%s/i,b)};p.set=function(a){var b;for(b in a){var c=a[b];K(c)?this[b]=
c:this["_"+b]=c}this._config=a;this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)};p.months=function(a,b){return a?B(this._months)?this._months[a.month()]:this._months[(this._months.isFormat||ac).test(b)?"format":"standalone"][a.month()]:B(this._months)?this._months:this._months.standalone};p.monthsShort=function(a,b){return a?B(this._monthsShort)?this._monthsShort[a.month()]:this._monthsShort[ac.test(b)?"format":"standalone"][a.month()]:
B(this._monthsShort)?this._monthsShort:this._monthsShort.standalone};p.monthsParse=function(a,b,c){var d;if(this._monthsParseExact){a:{a=a.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],d=0;12>d;++d){var e=J([2E3,d]);this._shortMonthsParse[d]=this.monthsShort(e,"").toLocaleLowerCase();this._longMonthsParse[d]=this.months(e,"").toLocaleLowerCase()}if(c)b="MMM"===b?v.call(this._shortMonthsParse,a):v.call(this._longMonthsParse,a);
else if("MMM"===b){b=v.call(this._shortMonthsParse,a);if(-1!==b)break a;b=v.call(this._longMonthsParse,a)}else{b=v.call(this._longMonthsParse,a);if(-1!==b)break a;b=v.call(this._shortMonthsParse,a)}b=-1!==b?b:null}return b}this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]);for(d=0;12>d;d++)if(e=J([2E3,d]),c&&!this._longMonthsParse[d]&&(this._longMonthsParse[d]=new RegExp("^"+this.months(e,"").replace(".","")+"$","i"),this._shortMonthsParse[d]=new RegExp("^"+
this.monthsShort(e,"").replace(".","")+"$","i")),c||this._monthsParse[d]||(e="^"+this.months(e,"")+"|^"+this.monthsShort(e,""),this._monthsParse[d]=new RegExp(e.replace(".",""),"i")),c&&"MMMM"===b&&this._longMonthsParse[d].test(a)||c&&"MMM"===b&&this._shortMonthsParse[d].test(a)||!c&&this._monthsParse[d].test(a))return d};p.monthsRegex=function(a){if(this._monthsParseExact)return u(this,"_monthsRegex")||yb.call(this),a?this._monthsStrictRegex:this._monthsRegex;u(this,"_monthsRegex")||(this._monthsRegex=
sa);return this._monthsStrictRegex&&a?this._monthsStrictRegex:this._monthsRegex};p.monthsShortRegex=function(a){if(this._monthsParseExact)return u(this,"_monthsRegex")||yb.call(this),a?this._monthsShortStrictRegex:this._monthsShortRegex;u(this,"_monthsShortRegex")||(this._monthsShortRegex=sa);return this._monthsShortStrictRegex&&a?this._monthsShortStrictRegex:this._monthsShortRegex};p.week=function(a){return pa(a,this._week.dow,this._week.doy).week};p.firstDayOfYear=function(){return this._week.doy};
p.firstDayOfWeek=function(){return this._week.dow};p.weekdays=function(a,b){return a?B(this._weekdays)?this._weekdays[a.day()]:this._weekdays[this._weekdays.isFormat.test(b)?"format":"standalone"][a.day()]:B(this._weekdays)?this._weekdays:this._weekdays.standalone};p.weekdaysMin=function(a){return a?this._weekdaysMin[a.day()]:this._weekdaysMin};p.weekdaysShort=function(a){return a?this._weekdaysShort[a.day()]:this._weekdaysShort};p.weekdaysParse=function(a,b,c){var d;if(this._weekdaysParseExact)return mc.call(this,
a,b,c);this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]);for(d=0;7>d;d++){var e=J([2E3,1]).day(d);c&&!this._fullWeekdaysParse[d]&&(this._fullWeekdaysParse[d]=new RegExp("^"+this.weekdays(e,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[d]=new RegExp("^"+this.weekdaysShort(e,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[d]=new RegExp("^"+this.weekdaysMin(e,"").replace(".",".?")+"$","i"));this._weekdaysParse[d]||
(e="^"+this.weekdays(e,"")+"|^"+this.weekdaysShort(e,"")+"|^"+this.weekdaysMin(e,""),this._weekdaysParse[d]=new RegExp(e.replace(".",""),"i"));if(c&&"dddd"===b&&this._fullWeekdaysParse[d].test(a)||c&&"ddd"===b&&this._shortWeekdaysParse[d].test(a)||c&&"dd"===b&&this._minWeekdaysParse[d].test(a)||!c&&this._weekdaysParse[d].test(a))return d}};p.weekdaysRegex=function(a){if(this._weekdaysParseExact)return u(this,"_weekdaysRegex")||Ua.call(this),a?this._weekdaysStrictRegex:this._weekdaysRegex;u(this,"_weekdaysRegex")||
(this._weekdaysRegex=sa);return this._weekdaysStrictRegex&&a?this._weekdaysStrictRegex:this._weekdaysRegex};p.weekdaysShortRegex=function(a){if(this._weekdaysParseExact)return u(this,"_weekdaysRegex")||Ua.call(this),a?this._weekdaysShortStrictRegex:this._weekdaysShortRegex;u(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=sa);return this._weekdaysShortStrictRegex&&a?this._weekdaysShortStrictRegex:this._weekdaysShortRegex};p.weekdaysMinRegex=function(a){if(this._weekdaysParseExact)return u(this,
"_weekdaysRegex")||Ua.call(this),a?this._weekdaysMinStrictRegex:this._weekdaysMinRegex;u(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=sa);return this._weekdaysMinStrictRegex&&a?this._weekdaysMinStrictRegex:this._weekdaysMinRegex};p.isPM=function(a){return"p"===(a+"").toLowerCase().charAt(0)};p.meridiem=function(a,b,c){return 11<a?c?"pm":"PM":c?"am":"AM"};ha("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(a){var b=a%10;b=1===m(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":
"th";return a+b}});g.lang=E("moment.lang is deprecated. Use moment.locale instead.",ha);g.langData=E("moment.langData is deprecated. Use moment.localeData instead.",U);var Q=Math.abs,Pc=V("ms"),Qc=V("s"),Rc=V("m"),Sc=V("h"),Tc=V("d"),Uc=V("w"),Vc=V("M"),Wc=V("y"),Xc=ca("milliseconds"),Yc=ca("seconds"),Zc=ca("minutes"),$c=ca("hours"),ad=ca("days"),bd=ca("months"),cd=ca("years"),X=Math.round,M={ss:44,s:45,m:45,h:22,d:26,M:11},hb=Math.abs,k=Ba.prototype;k.isValid=function(){return this._isValid};k.abs=
function(){var a=this._data;this._milliseconds=Q(this._milliseconds);this._days=Q(this._days);this._months=Q(this._months);a.milliseconds=Q(a.milliseconds);a.seconds=Q(a.seconds);a.minutes=Q(a.minutes);a.hours=Q(a.hours);a.months=Q(a.months);a.years=Q(a.years);return this};k.add=function(a,b){return Ub(this,a,b,1)};k.subtract=function(a,b){return Ub(this,a,b,-1)};k.as=function(a){if(!this.isValid())return NaN;var b=this._milliseconds;a=F(a);if("month"===a||"year"===a){var c=this._days+b/864E5;c=this._months+
4800*c/146097;return"month"===a?c:c/12}c=this._days+Math.round(146097*this._months/4800);switch(a){case "week":return c/7+b/6048E5;case "day":return c+b/864E5;case "hour":return 24*c+b/36E5;case "minute":return 1440*c+b/6E4;case "second":return 86400*c+b/1E3;case "millisecond":return Math.floor(864E5*c)+b;default:throw Error("Unknown unit "+a);}};k.asMilliseconds=Pc;k.asSeconds=Qc;k.asMinutes=Rc;k.asHours=Sc;k.asDays=Tc;k.asWeeks=Uc;k.asMonths=Vc;k.asYears=Wc;k.valueOf=function(){return this.isValid()?
this._milliseconds+864E5*this._days+this._months%12*2592E6+31536E6*m(this._months/12):NaN};k._bubble=function(){var a=this._milliseconds,b=this._days,c=this._months,d=this._data;0<=a&&0<=b&&0<=c||0>=a&&0>=b&&0>=c||(a+=864E5*Vb(146097*c/4800+b),c=b=0);d.milliseconds=a%1E3;a=D(a/1E3);d.seconds=a%60;a=D(a/60);d.minutes=a%60;a=D(a/60);d.hours=a%24;b+=D(a/24);a=D(4800*b/146097);c+=a;b-=Vb(146097*a/4800);a=D(c/12);d.days=b;d.months=c%12;d.years=a;return this};k.clone=function(){return I(this)};k.get=function(a){a=
F(a);return this.isValid()?this[a+"s"]():NaN};k.milliseconds=Xc;k.seconds=Yc;k.minutes=Zc;k.hours=$c;k.days=ad;k.weeks=function(){return D(this.days()/7)};k.months=bd;k.years=cd;k.humanize=function(a){if(!this.isValid())return this.localeData().invalidDate();var b=this.localeData();var c=!a;var d=I(this).abs(),e=X(d.as("s")),g=X(d.as("m")),h=X(d.as("h")),k=X(d.as("d")),l=X(d.as("M"));d=X(d.as("y"));e=e<=M.ss&&["s",e]||e<M.s&&["ss",e]||1>=g&&["m"]||g<M.m&&["mm",g]||1>=h&&["h"]||h<M.h&&["hh",h]||1>=
k&&["d"]||k<M.d&&["dd",k]||1>=l&&["M"]||l<M.M&&["MM",l]||1>=d&&["y"]||["yy",d];e[2]=c;e[3]=0<+this;e[4]=b;c=Dc.apply(null,e);a&&(c=b.pastFuture(+this,c));return b.postformat(c)};k.toISOString=Ea;k.toString=Ea;k.toJSON=Ea;k.locale=Pb;k.localeData=Qb;k.toIsoString=E("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ea);k.lang=bc;l("X",0,0,"unix");l("x",0,0,"valueOf");h("x",Ia);h("X",/[+-]?\d+(\.\d{1,3})?/);q("X",function(a,b,c){c._d=new Date(1E3*parseFloat(a,10))});
q("x",function(a,b,c){c._d=new Date(m(a))});g.version="2.19.3";var dc=t;g.fn=e;g.min=function(){var a=[].slice.call(arguments,0);return Jb("isBefore",a)};g.max=function(){var a=[].slice.call(arguments,0);return Jb("isAfter",a)};g.now=function(){return Date.now?Date.now():+new Date};g.utc=J;g.unix=function(a){return t(1E3*a)};g.months=function(a,b){return Tb(a,b,"months")};g.isDate=ta;g.locale=ha;g.invalid=ua;g.duration=I;g.isMoment=S;g.weekdays=function(a,b,c){return gb(a,b,c,"weekdays")};g.parseZone=
function(){return t.apply(null,arguments).parseZone()};g.localeData=U;g.isDuration=bb;g.monthsShort=function(a,b){return Tb(a,b,"monthsShort")};g.weekdaysMin=function(a,b,c){return gb(a,b,c,"weekdaysMin")};g.defineLocale=Xa;g.updateLocale=function(a,b){if(null!=b){var c=Db;var d=Wa(a);null!=d&&(c=d._config);b=sb(c,b);b=new Oa(b);b.parentLocale=w[a];w[a]=b;ha(a)}else null!=w[a]&&(null!=w[a].parentLocale?w[a]=w[a].parentLocale:null!=w[a]&&delete w[a]);return w[a]};g.locales=function(){return Ec(w)};
g.weekdaysShort=function(a,b,c){return gb(a,b,c,"weekdaysShort")};g.normalizeUnits=F;g.relativeTimeRounding=function(a){return void 0===a?X:"function"===typeof a?(X=a,!0):!1};g.relativeTimeThreshold=function(a,b){if(void 0===M[a])return!1;if(void 0===b)return M[a];M[a]=b;"s"===a&&(M.ss=b-1);return!0};g.calendarFormat=function(a,b){a=a.diff(b,"days",!0);return-6>a?"sameElse":-1>a?"lastWeek":0>a?"lastDay":1>a?"sameDay":2>a?"nextDay":7>a?"nextWeek":"sameElse"};g.prototype=e;return g});
