UNPKG

date-holidays

Version:
2 lines 1.45 MB
/*! For license information please see umd.min.js.LICENSE.txt */ !function(e,a){"object"==typeof exports&&"object"==typeof module?module.exports=a():"function"==typeof define&&define.amd?define([],a):"object"==typeof exports?exports.Holidays=a():e.Holidays=a()}(self,(function(){return function(){var e={219:function(e,a,n){var M,b,z;function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}e=n.nmd(e),function(p,t){"use strict";"object"===o(e)&&e.exports?e.exports=t(n(338)):(b=[n(338)],void 0===(z="function"==typeof(M=t)?M.apply(a,b):M)||(e.exports=z))}(0,(function(e){"use strict";void 0===e.version&&e.default&&(e=e.default);var a,n={},M={},b={},z={},p={};e&&"string"==typeof e.version||g("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");var t=e.version.split("."),O=+t[0],c=+t[1];function r(e){return e>96?e-87:e>64?e-29:e-48}function i(e){var a=0,n=e.split("."),M=n[0],b=n[1]||"",z=1,o=0,p=1;for(45===e.charCodeAt(0)&&(a=1,p=-1);a<M.length;a++)o=60*o+r(M.charCodeAt(a));for(a=0;a<b.length;a++)z/=60,o+=r(b.charCodeAt(a))*z;return o*p}function s(e){for(var a=0;a<e.length;a++)e[a]=i(e[a])}function A(e,a){var n,M=[];for(n=0;n<a.length;n++)M[n]=e[a[n]];return M}function d(e){var a=e.split("|"),n=a[2].split(" "),M=a[3].split(""),b=a[4].split(" ");return s(n),s(M),s(b),function(e,a){for(var n=0;n<a;n++)e[n]=Math.round((e[n-1]||0)+6e4*e[n]);e[a-1]=1/0}(b,M.length),{name:a[0],abbrs:A(a[1].split(" "),M),offsets:A(n,M),untils:b,population:0|a[5]}}function u(e){e&&this._set(d(e))}function q(e,a){this.name=e,this.zones=a}function m(e){var a=e.toTimeString(),n=a.match(/\([a-z ]+\)/i);"GMT"===(n=n&&n[0]?(n=n[0].match(/[A-Z]/g))?n.join(""):void 0:(n=a.match(/[A-Z]{3,5}/g))?n[0]:void 0)&&(n=void 0),this.at=+e,this.abbr=n,this.offset=e.getTimezoneOffset()}function l(e){this.zone=e,this.offsetScore=0,this.abbrScore=0}function f(e,a){for(var n,M;M=6e4*((a.at-e.at)/12e4|0);)(n=new m(new Date(e.at+M))).offset===e.offset?e=n:a=n;return e}function y(e,a){return e.offsetScore!==a.offsetScore?e.offsetScore-a.offsetScore:e.abbrScore!==a.abbrScore?e.abbrScore-a.abbrScore:e.zone.population!==a.zone.population?a.zone.population-e.zone.population:a.zone.name.localeCompare(e.zone.name)}function W(e,a){var n,M;for(s(a),n=0;n<a.length;n++)M=a[n],p[M]=p[M]||{},p[M][e]=!0}function h(e){var a,n,M,b,o=e.length,t={},O=[],c={};for(a=0;a<o;a++)if(M=e[a].offset,!c.hasOwnProperty(M)){for(n in b=p[M]||{})b.hasOwnProperty(n)&&(t[n]=!0);c[M]=!0}for(a in t)t.hasOwnProperty(a)&&O.push(z[a]);return O}function R(e){return(e||"").toLowerCase().replace(/\//g,"_")}function L(e){var a,M,b,o;for("string"==typeof e&&(e=[e]),a=0;a<e.length;a++)o=R(M=(b=e[a].split("|"))[0]),n[o]=e[a],z[o]=M,W(o,b[2].split(" "))}function v(e,a){e=R(e);var b,o=n[e];return o instanceof u?o:"string"==typeof o?(o=new u(o),n[e]=o,o):M[e]&&a!==v&&(b=v(M[e],v))?((o=n[e]=new u)._set(b),o.name=z[e],o):null}function _(e){var a,n,b,o;for("string"==typeof e&&(e=[e]),a=0;a<e.length;a++)b=R((n=e[a].split("|"))[0]),o=R(n[1]),M[b]=o,z[b]=n[0],M[o]=b,z[o]=n[1]}function N(e){var a="X"===e._f||"x"===e._f;return!(!e._a||void 0!==e._tzm||a)}function g(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e)}function B(a){var n,M=Array.prototype.slice.call(arguments,0,-1),b=arguments[arguments.length-1],z=e.utc.apply(null,M);return!e.isMoment(a)&&N(z)&&(n=v(b))&&z.add(n.parse(z),"minutes"),z.tz(b),z}(O<2||2===O&&c<6)&&g("Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js "+e.version+". See momentjs.com"),u.prototype={_set:function(e){this.name=e.name,this.abbrs=e.abbrs,this.untils=e.untils,this.offsets=e.offsets,this.population=e.population},_index:function(e){var a;if((a=function(e,a){var n,M=a.length;if(e<a[0])return 0;if(M>1&&a[M-1]===1/0&&e>=a[M-2])return M-1;if(e>=a[M-1])return-1;for(var b=0,z=M-1;z-b>1;)a[n=Math.floor((b+z)/2)]<=e?b=n:z=n;return z}(+e,this.untils))>=0)return a},countries:function(){var e=this.name;return Object.keys(b).filter((function(a){return-1!==b[a].zones.indexOf(e)}))},parse:function(e){var a,n,M,b,z=+e,o=this.offsets,p=this.untils,t=p.length-1;for(b=0;b<t;b++)if(a=o[b],n=o[b+1],M=o[b?b-1:b],a<n&&B.moveAmbiguousForward?a=n:a>M&&B.moveInvalidForward&&(a=M),z<p[b]-6e4*a)return o[b];return o[t]},abbr:function(e){return this.abbrs[this._index(e)]},offset:function(e){return g("zone.offset has been deprecated in favor of zone.utcOffset"),this.offsets[this._index(e)]},utcOffset:function(e){return this.offsets[this._index(e)]}},l.prototype.scoreOffsetAt=function(e){this.offsetScore+=Math.abs(this.zone.utcOffset(e.at)-e.offset),this.zone.abbr(e.at).replace(/[^A-Z]/g,"")!==e.abbr&&this.abbrScore++},B.version="0.5.47",B.dataVersion="",B._zones=n,B._links=M,B._names=z,B._countries=b,B.add=L,B.link=_,B.load=function(e){L(e.zones),_(e.links),function(e){var a,n,M,z;if(e&&e.length)for(a=0;a<e.length;a++)n=(z=e[a].split("|"))[0].toUpperCase(),M=z[1].split(" "),b[n]=new q(n,M)}(e.countries),B.dataVersion=e.version},B.zone=v,B.zoneExists=function e(a){return e.didShowError||(e.didShowError=!0,g("moment.tz.zoneExists('"+a+"') has been deprecated in favor of !moment.tz.zone('"+a+"')")),!!v(a)},B.guess=function(e){return a&&!e||(a=function(){try{var e=Intl.DateTimeFormat().resolvedOptions().timeZone;if(e&&e.length>3){var a=z[R(e)];if(a)return a;g("Moment Timezone found "+e+" from the Intl api, but did not have that data loaded.")}}catch(e){}var n,M,b,o=function(){var e,a,n,M,b=(new Date).getFullYear()-2,z=new m(new Date(b,0,1)),o=z.offset,p=[z];for(M=1;M<48;M++)(n=new Date(b,M,1).getTimezoneOffset())!==o&&(e=f(z,a=new m(new Date(b,M,1))),p.push(e),p.push(new m(new Date(e.at+6e4))),z=a,o=n);for(M=0;M<4;M++)p.push(new m(new Date(b+M,0,1))),p.push(new m(new Date(b+M,6,1)));return p}(),p=o.length,t=h(o),O=[];for(M=0;M<t.length;M++){for(n=new l(v(t[M]),p),b=0;b<p;b++)n.scoreOffsetAt(o[b]);O.push(n)}return O.sort(y),O.length>0?O[0].zone.name:void 0}()),a},B.names=function(){var e,a=[];for(e in z)z.hasOwnProperty(e)&&(n[e]||n[M[e]])&&z[e]&&a.push(z[e]);return a.sort()},B.Zone=u,B.unpack=d,B.unpackBase60=i,B.needsOffset=N,B.moveInvalidForward=!0,B.moveAmbiguousForward=!1,B.countries=function(){return Object.keys(b)},B.zonesForCountry=function(e,a){var n;if(n=(n=e).toUpperCase(),!(e=b[n]||null))return null;var M=e.zones.sort();return a?M.map((function(e){return{name:e,offset:v(e).utcOffset(new Date)}})):M};var D,S=e.fn;function X(e){return function(){return this._z?this._z.abbr(this):e.call(this)}}function T(e){return function(){return this._z=null,e.apply(this,arguments)}}e.tz=B,e.defaultZone=null,e.updateOffset=function(a,n){var M,b=e.defaultZone;if(void 0===a._z&&(b&&N(a)&&!a._isUTC&&a.isValid()&&(a._d=e.utc(a._a)._d,a.utc().add(b.parse(a),"minutes")),a._z=b),a._z)if(M=a._z.utcOffset(a),Math.abs(M)<16&&(M/=60),void 0!==a.utcOffset){var z=a._z;a.utcOffset(-M,n),a._z=z}else a.zone(M,n)},S.tz=function(a,n){if(a){if("string"!=typeof a)throw new Error("Time zone name must be a string, got "+a+" ["+o(a)+"]");return this._z=v(a),this._z?e.updateOffset(this,n):g("Moment Timezone has no data for "+a+". See http://momentjs.com/timezone/docs/#/data-loading/."),this}if(this._z)return this._z.name},S.zoneName=X(S.zoneName),S.zoneAbbr=X(S.zoneAbbr),S.utc=T(S.utc),S.local=T(S.local),S.utcOffset=(D=S.utcOffset,function(){return arguments.length>0&&(this._z=null),D.apply(this,arguments)}),e.tz.setDefault=function(a){return(O<2||2===O&&c<9)&&g("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js "+e.version+"."),e.defaultZone=a?v(a):null,e};var w=e.momentProperties;return"[object Array]"===Object.prototype.toString.call(w)?(w.push("_z"),w.push("_a")):w&&(w._z=null),e}))},330:function(e){"use strict";function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}var n=function(e){return function(e){return!!e&&"object"===a(e)}(e)&&!function(e){var a=Object.prototype.toString.call(e);return"[object RegExp]"===a||"[object Date]"===a||function(e){return e.$$typeof===M}(e)}(e)},M="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function b(e,a){return!1!==a.clone&&a.isMergeableObject(e)?t((n=e,Array.isArray(n)?[]:{}),e,a):e;var n}function z(e,a,n){return e.concat(a).map((function(e){return b(e,n)}))}function o(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(a){return Object.propertyIsEnumerable.call(e,a)})):[]}(e))}function p(e,a){try{return a in e}catch(e){return!1}}function t(e,a,M){(M=M||{}).arrayMerge=M.arrayMerge||z,M.isMergeableObject=M.isMergeableObject||n,M.cloneUnlessOtherwiseSpecified=b;var O=Array.isArray(a);return O===Array.isArray(e)?O?M.arrayMerge(e,a,M):function(e,a,n){var M={};return n.isMergeableObject(e)&&o(e).forEach((function(a){M[a]=b(e[a],n)})),o(a).forEach((function(z){(function(e,a){return p(e,a)&&!(Object.hasOwnProperty.call(e,a)&&Object.propertyIsEnumerable.call(e,a))})(e,z)||(p(e,z)&&n.isMergeableObject(a[z])?M[z]=function(e,a){if(!a.customMerge)return t;var n=a.customMerge(e);return"function"==typeof n?n:t}(z,n)(e[z],a[z],n):M[z]=b(a[z],n))})),M}(e,a,M):b(a,M)}t.all=function(e,a){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return t(e,n,a)}),{})};var O=t;e.exports=O},335:function(e,a,n){var M={};function b(e){var a=z(e);return n(a)}function z(e){if(!n.o(M,e)){var a=new Error("Cannot find module '"+e+"'");throw a.code="MODULE_NOT_FOUND",a}return M[e]}b.keys=function(){return Object.keys(M)},b.resolve=z,e.exports=b,b.id=335},338:function(e,a,n){var M,b,z;function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}e=n.nmd(e),z=function(){"use strict";var a,M;function b(){return a.apply(null,arguments)}function z(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function p(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function t(e,a){return Object.prototype.hasOwnProperty.call(e,a)}function O(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var a;for(a in e)if(t(e,a))return!1;return!0}function c(e){return void 0===e}function r(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function i(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function s(e,a){var n,M=[],b=e.length;for(n=0;n<b;++n)M.push(a(e[n],n));return M}function A(e,a){for(var n in a)t(a,n)&&(e[n]=a[n]);return t(a,"toString")&&(e.toString=a.toString),t(a,"valueOf")&&(e.valueOf=a.valueOf),e}function d(e,a,n,M){return wa(e,a,n,M,!0).utc()}function u(e){return null==e._pf&&(e._pf={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}),e._pf}function q(e){if(null==e._isValid){var a=u(e),n=M.call(a.parsedDateParts,(function(e){return null!=e})),b=!isNaN(e._d.getTime())&&a.overflow<0&&!a.empty&&!a.invalidEra&&!a.invalidMonth&&!a.invalidWeekday&&!a.weekdayMismatch&&!a.nullInput&&!a.invalidFormat&&!a.userInvalidated&&(!a.meridiem||a.meridiem&&n);if(e._strict&&(b=b&&0===a.charsLeftOver&&0===a.unusedTokens.length&&void 0===a.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return b;e._isValid=b}return e._isValid}function m(e){var a=d(NaN);return null!=e?A(u(a),e):u(a).userInvalidated=!0,a}M=Array.prototype.some?Array.prototype.some:function(e){var a,n=Object(this),M=n.length>>>0;for(a=0;a<M;a++)if(a in n&&e.call(this,n[a],a,n))return!0;return!1};var l=b.momentProperties=[],f=!1;function y(e,a){var n,M,b,z=l.length;if(c(a._isAMomentObject)||(e._isAMomentObject=a._isAMomentObject),c(a._i)||(e._i=a._i),c(a._f)||(e._f=a._f),c(a._l)||(e._l=a._l),c(a._strict)||(e._strict=a._strict),c(a._tzm)||(e._tzm=a._tzm),c(a._isUTC)||(e._isUTC=a._isUTC),c(a._offset)||(e._offset=a._offset),c(a._pf)||(e._pf=u(a)),c(a._locale)||(e._locale=a._locale),z>0)for(n=0;n<z;n++)c(b=a[M=l[n]])||(e[M]=b);return e}function W(e){y(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===f&&(f=!0,b.updateOffset(this),f=!1)}function h(e){return e instanceof W||null!=e&&null!=e._isAMomentObject}function R(e){!1===b.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function L(e,a){var n=!0;return A((function(){if(null!=b.deprecationHandler&&b.deprecationHandler(null,e),n){var M,z,p,O=[],c=arguments.length;for(z=0;z<c;z++){if(M="","object"===o(arguments[z])){for(p in M+="\n["+z+"] ",arguments[0])t(arguments[0],p)&&(M+=p+": "+arguments[0][p]+", ");M=M.slice(0,-2)}else M=arguments[z];O.push(M)}R(e+"\nArguments: "+Array.prototype.slice.call(O).join("")+"\n"+(new Error).stack),n=!1}return a.apply(this,arguments)}),a)}var v,_={};function N(e,a){null!=b.deprecationHandler&&b.deprecationHandler(e,a),_[e]||(R(a),_[e]=!0)}function g(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function B(e,a){var n,M=A({},e);for(n in a)t(a,n)&&(p(e[n])&&p(a[n])?(M[n]={},A(M[n],e[n]),A(M[n],a[n])):null!=a[n]?M[n]=a[n]:delete M[n]);for(n in e)t(e,n)&&!t(a,n)&&p(e[n])&&(M[n]=A({},M[n]));return M}function D(e){null!=e&&this.set(e)}function S(e,a,n){var M=""+Math.abs(e),b=a-M.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,b)).toString().substr(1)+M}b.suppressDeprecationWarnings=!1,b.deprecationHandler=null,v=Object.keys?Object.keys:function(e){var a,n=[];for(a in e)t(e,a)&&n.push(a);return n};var X=/(\[[^\[]*\])|(\\)?([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,T=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,w={},k={};function C(e,a,n,M){var b=M;"string"==typeof M&&(b=function(){return this[M]()}),e&&(k[e]=b),a&&(k[a[0]]=function(){return S(b.apply(this,arguments),a[1],a[2])}),n&&(k[n]=function(){return this.localeData().ordinal(b.apply(this,arguments),e)})}function P(e,a){return e.isValid()?(a=j(a,e.localeData()),w[a]=w[a]||function(e){var a,n,M,b=e.match(X);for(a=0,n=b.length;a<n;a++)k[b[a]]?b[a]=k[b[a]]:b[a]=(M=b[a]).match(/\[[\s\S]/)?M.replace(/^\[|\]$/g,""):M.replace(/\\/g,"");return function(a){var M,z="";for(M=0;M<n;M++)z+=g(b[M])?b[M].call(a,e):b[M];return z}}(a),w[a](e)):e.localeData().invalidDate()}function j(e,a){var n=5;function M(e){return a.longDateFormat(e)||e}for(T.lastIndex=0;n>=0&&T.test(e);)e=e.replace(T,M),T.lastIndex=0,n-=1;return e}var E={};function x(e,a){var n=e.toLowerCase();E[n]=E[n+"s"]=E[a]=e}function H(e){return"string"==typeof e?E[e]||E[e.toLowerCase()]:void 0}function I(e){var a,n,M={};for(n in e)t(e,n)&&(a=H(n))&&(M[a]=e[n]);return M}var F={};function G(e,a){F[e]=a}function J(e){return e%4==0&&e%100!=0||e%400==0}function V(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function K(e){var a=+e,n=0;return 0!==a&&isFinite(a)&&(n=V(a)),n}function Y(e,a){return function(n){return null!=n?(Z(this,e,n),b.updateOffset(this,a),this):U(this,e)}}function U(e,a){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+a]():NaN}function Z(e,a,n){e.isValid()&&!isNaN(n)&&("FullYear"===a&&J(e.year())&&1===e.month()&&29===e.date()?(n=K(n),e._d["set"+(e._isUTC?"UTC":"")+a](n,e.month(),Se(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+a](n))}var Q,$=/\d/,ee=/\d\d/,ae=/\d{3}/,ne=/\d{4}/,Me=/[+-]?\d{6}/,be=/\d\d?/,ze=/\d\d\d\d?/,oe=/\d\d\d\d\d\d?/,pe=/\d{1,3}/,te=/\d{1,4}/,Oe=/[+-]?\d{1,6}/,ce=/\d+/,re=/[+-]?\d+/,ie=/Z|[+-]\d\d:?\d\d/gi,se=/Z|[+-]\d\d(?::?\d\d)?/gi,Ae=/[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 de(e,a,n){Q[e]=g(a)?a:function(e,M){return e&&n?n:a}}function ue(e,a){return t(Q,e)?Q[e](a._strict,a._locale):new RegExp(qe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,a,n,M,b){return a||n||M||b}))))}function qe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}Q={};var me={};function le(e,a){var n,M,b=a;for("string"==typeof e&&(e=[e]),r(a)&&(b=function(e,n){n[a]=K(e)}),M=e.length,n=0;n<M;n++)me[e[n]]=b}function fe(e,a){le(e,(function(e,n,M,b){M._w=M._w||{},a(e,M._w,M,b)}))}function ye(e,a,n){null!=a&&t(me,e)&&me[e](a,n._a,n,e)}var We,he=0,Re=1,Le=2,ve=3,_e=4,Ne=5,ge=6,Be=7,De=8;function Se(e,a){if(isNaN(e)||isNaN(a))return NaN;var n=(a%12+12)%12;return e+=(a-n)/12,1===n?J(e)?29:28:31-n%7%2}We=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var a;for(a=0;a<this.length;++a)if(this[a]===e)return a;return-1},C("M",["MM",2],"Mo",(function(){return this.month()+1})),C("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),C("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),x("month","M"),G("month",8),de("M",be),de("MM",be,ee),de("MMM",(function(e,a){return a.monthsShortRegex(e)})),de("MMMM",(function(e,a){return a.monthsRegex(e)})),le(["M","MM"],(function(e,a){a[Re]=K(e)-1})),le(["MMM","MMMM"],(function(e,a,n,M){var b=n._locale.monthsParse(e,M,n._strict);null!=b?a[Re]=b:u(n).invalidMonth=e}));var Xe="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Te="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),we=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,ke=Ae,Ce=Ae;function Pe(e,a,n){var M,b,z,o=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],M=0;M<12;++M)z=d([2e3,M]),this._shortMonthsParse[M]=this.monthsShort(z,"").toLocaleLowerCase(),this._longMonthsParse[M]=this.months(z,"").toLocaleLowerCase();return n?"MMM"===a?-1!==(b=We.call(this._shortMonthsParse,o))?b:null:-1!==(b=We.call(this._longMonthsParse,o))?b:null:"MMM"===a?-1!==(b=We.call(this._shortMonthsParse,o))||-1!==(b=We.call(this._longMonthsParse,o))?b:null:-1!==(b=We.call(this._longMonthsParse,o))||-1!==(b=We.call(this._shortMonthsParse,o))?b:null}function je(e,a){var n;if(!e.isValid())return e;if("string"==typeof a)if(/^\d+$/.test(a))a=K(a);else if(!r(a=e.localeData().monthsParse(a)))return e;return n=Math.min(e.date(),Se(e.year(),a)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](a,n),e}function Ee(e){return null!=e?(je(this,e),b.updateOffset(this,!0),this):U(this,"Month")}function xe(){function e(e,a){return a.length-e.length}var a,n,M=[],b=[],z=[];for(a=0;a<12;a++)n=d([2e3,a]),M.push(this.monthsShort(n,"")),b.push(this.months(n,"")),z.push(this.months(n,"")),z.push(this.monthsShort(n,""));for(M.sort(e),b.sort(e),z.sort(e),a=0;a<12;a++)M[a]=qe(M[a]),b[a]=qe(b[a]);for(a=0;a<24;a++)z[a]=qe(z[a]);this._monthsRegex=new RegExp("^("+z.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+b.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+M.join("|")+")","i")}function He(e){return J(e)?366:365}C("Y",0,0,(function(){var e=this.year();return e<=9999?S(e,4):"+"+e})),C(0,["YY",2],0,(function(){return this.year()%100})),C(0,["YYYY",4],0,"year"),C(0,["YYYYY",5],0,"year"),C(0,["YYYYYY",6,!0],0,"year"),x("year","y"),G("year",1),de("Y",re),de("YY",be,ee),de("YYYY",te,ne),de("YYYYY",Oe,Me),de("YYYYYY",Oe,Me),le(["YYYYY","YYYYYY"],he),le("YYYY",(function(e,a){a[he]=2===e.length?b.parseTwoDigitYear(e):K(e)})),le("YY",(function(e,a){a[he]=b.parseTwoDigitYear(e)})),le("Y",(function(e,a){a[he]=parseInt(e,10)})),b.parseTwoDigitYear=function(e){return K(e)+(K(e)>68?1900:2e3)};var Ie=Y("FullYear",!0);function Fe(e,a,n,M,b,z,o){var p;return e<100&&e>=0?(p=new Date(e+400,a,n,M,b,z,o),isFinite(p.getFullYear())&&p.setFullYear(e)):p=new Date(e,a,n,M,b,z,o),p}function Ge(e){var a,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,a=new Date(Date.UTC.apply(null,n)),isFinite(a.getUTCFullYear())&&a.setUTCFullYear(e)):a=new Date(Date.UTC.apply(null,arguments)),a}function Je(e,a,n){var M=7+a-n;return-(7+Ge(e,0,M).getUTCDay()-a)%7+M-1}function Ve(e,a,n,M,b){var z,o,p=1+7*(a-1)+(7+n-M)%7+Je(e,M,b);return p<=0?o=He(z=e-1)+p:p>He(e)?(z=e+1,o=p-He(e)):(z=e,o=p),{year:z,dayOfYear:o}}function Ke(e,a,n){var M,b,z=Je(e.year(),a,n),o=Math.floor((e.dayOfYear()-z-1)/7)+1;return o<1?M=o+Ye(b=e.year()-1,a,n):o>Ye(e.year(),a,n)?(M=o-Ye(e.year(),a,n),b=e.year()+1):(b=e.year(),M=o),{week:M,year:b}}function Ye(e,a,n){var M=Je(e,a,n),b=Je(e+1,a,n);return(He(e)-M+b)/7}function Ue(e,a){return e.slice(a,7).concat(e.slice(0,a))}C("w",["ww",2],"wo","week"),C("W",["WW",2],"Wo","isoWeek"),x("week","w"),x("isoWeek","W"),G("week",5),G("isoWeek",5),de("w",be),de("ww",be,ee),de("W",be),de("WW",be,ee),fe(["w","ww","W","WW"],(function(e,a,n,M){a[M.substr(0,1)]=K(e)})),C("d",0,"do","day"),C("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),C("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),C("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),C("e",0,0,"weekday"),C("E",0,0,"isoWeekday"),x("day","d"),x("weekday","e"),x("isoWeekday","E"),G("day",11),G("weekday",11),G("isoWeekday",11),de("d",be),de("e",be),de("E",be),de("dd",(function(e,a){return a.weekdaysMinRegex(e)})),de("ddd",(function(e,a){return a.weekdaysShortRegex(e)})),de("dddd",(function(e,a){return a.weekdaysRegex(e)})),fe(["dd","ddd","dddd"],(function(e,a,n,M){var b=n._locale.weekdaysParse(e,M,n._strict);null!=b?a.d=b:u(n).invalidWeekday=e})),fe(["d","e","E"],(function(e,a,n,M){a[M]=K(e)}));var Ze="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Qe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),$e="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ea=Ae,aa=Ae,na=Ae;function Ma(e,a,n){var M,b,z,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],M=0;M<7;++M)z=d([2e3,1]).day(M),this._minWeekdaysParse[M]=this.weekdaysMin(z,"").toLocaleLowerCase(),this._shortWeekdaysParse[M]=this.weekdaysShort(z,"").toLocaleLowerCase(),this._weekdaysParse[M]=this.weekdays(z,"").toLocaleLowerCase();return n?"dddd"===a?-1!==(b=We.call(this._weekdaysParse,o))?b:null:"ddd"===a?-1!==(b=We.call(this._shortWeekdaysParse,o))?b:null:-1!==(b=We.call(this._minWeekdaysParse,o))?b:null:"dddd"===a?-1!==(b=We.call(this._weekdaysParse,o))||-1!==(b=We.call(this._shortWeekdaysParse,o))||-1!==(b=We.call(this._minWeekdaysParse,o))?b:null:"ddd"===a?-1!==(b=We.call(this._shortWeekdaysParse,o))||-1!==(b=We.call(this._weekdaysParse,o))||-1!==(b=We.call(this._minWeekdaysParse,o))?b:null:-1!==(b=We.call(this._minWeekdaysParse,o))||-1!==(b=We.call(this._weekdaysParse,o))||-1!==(b=We.call(this._shortWeekdaysParse,o))?b:null}function ba(){function e(e,a){return a.length-e.length}var a,n,M,b,z,o=[],p=[],t=[],O=[];for(a=0;a<7;a++)n=d([2e3,1]).day(a),M=qe(this.weekdaysMin(n,"")),b=qe(this.weekdaysShort(n,"")),z=qe(this.weekdays(n,"")),o.push(M),p.push(b),t.push(z),O.push(M),O.push(b),O.push(z);o.sort(e),p.sort(e),t.sort(e),O.sort(e),this._weekdaysRegex=new RegExp("^("+O.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+t.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+p.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function za(){return this.hours()%12||12}function oa(e,a){C(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),a)}))}function pa(e,a){return a._meridiemParse}C("H",["HH",2],0,"hour"),C("h",["hh",2],0,za),C("k",["kk",2],0,(function(){return this.hours()||24})),C("hmm",0,0,(function(){return""+za.apply(this)+S(this.minutes(),2)})),C("hmmss",0,0,(function(){return""+za.apply(this)+S(this.minutes(),2)+S(this.seconds(),2)})),C("Hmm",0,0,(function(){return""+this.hours()+S(this.minutes(),2)})),C("Hmmss",0,0,(function(){return""+this.hours()+S(this.minutes(),2)+S(this.seconds(),2)})),oa("a",!0),oa("A",!1),x("hour","h"),G("hour",13),de("a",pa),de("A",pa),de("H",be),de("h",be),de("k",be),de("HH",be,ee),de("hh",be,ee),de("kk",be,ee),de("hmm",ze),de("hmmss",oe),de("Hmm",ze),de("Hmmss",oe),le(["H","HH"],ve),le(["k","kk"],(function(e,a,n){var M=K(e);a[ve]=24===M?0:M})),le(["a","A"],(function(e,a,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),le(["h","hh"],(function(e,a,n){a[ve]=K(e),u(n).bigHour=!0})),le("hmm",(function(e,a,n){var M=e.length-2;a[ve]=K(e.substr(0,M)),a[_e]=K(e.substr(M)),u(n).bigHour=!0})),le("hmmss",(function(e,a,n){var M=e.length-4,b=e.length-2;a[ve]=K(e.substr(0,M)),a[_e]=K(e.substr(M,2)),a[Ne]=K(e.substr(b)),u(n).bigHour=!0})),le("Hmm",(function(e,a,n){var M=e.length-2;a[ve]=K(e.substr(0,M)),a[_e]=K(e.substr(M))})),le("Hmmss",(function(e,a,n){var M=e.length-4,b=e.length-2;a[ve]=K(e.substr(0,M)),a[_e]=K(e.substr(M,2)),a[Ne]=K(e.substr(b))}));var ta,Oa=Y("Hours",!0),ca={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",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Xe,monthsShort:Te,week:{dow:0,doy:6},weekdays:Ze,weekdaysMin:$e,weekdaysShort:Qe,meridiemParse:/[ap]\.?m?\.?/i},ra={},ia={};function sa(e,a){var n,M=Math.min(e.length,a.length);for(n=0;n<M;n+=1)if(e[n]!==a[n])return n;return M}function Aa(e){return e?e.toLowerCase().replace("_","-"):e}function da(a){var M=null;if(void 0===ra[a]&&e&&e.exports&&function(e){return null!=e.match("^[^/\\\\]*$")}(a))try{M=ta._abbr,n(335)("./"+a),ua(M)}catch(e){ra[a]=null}return ra[a]}function ua(e,a){var n;return e&&((n=c(a)?ma(e):qa(e,a))?ta=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),ta._abbr}function qa(e,a){if(null!==a){var n,M=ca;if(a.abbr=e,null!=ra[e])N("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."),M=ra[e]._config;else if(null!=a.parentLocale)if(null!=ra[a.parentLocale])M=ra[a.parentLocale]._config;else{if(null==(n=da(a.parentLocale)))return ia[a.parentLocale]||(ia[a.parentLocale]=[]),ia[a.parentLocale].push({name:e,config:a}),null;M=n._config}return ra[e]=new D(B(M,a)),ia[e]&&ia[e].forEach((function(e){qa(e.name,e.config)})),ua(e),ra[e]}return delete ra[e],null}function ma(e){var a;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ta;if(!z(e)){if(a=da(e))return a;e=[e]}return function(e){for(var a,n,M,b,z=0;z<e.length;){for(a=(b=Aa(e[z]).split("-")).length,n=(n=Aa(e[z+1]))?n.split("-"):null;a>0;){if(M=da(b.slice(0,a).join("-")))return M;if(n&&n.length>=a&&sa(b,n)>=a-1)break;a--}z++}return ta}(e)}function la(e){var a,n=e._a;return n&&-2===u(e).overflow&&(a=n[Re]<0||n[Re]>11?Re:n[Le]<1||n[Le]>Se(n[he],n[Re])?Le:n[ve]<0||n[ve]>24||24===n[ve]&&(0!==n[_e]||0!==n[Ne]||0!==n[ge])?ve:n[_e]<0||n[_e]>59?_e:n[Ne]<0||n[Ne]>59?Ne:n[ge]<0||n[ge]>999?ge:-1,u(e)._overflowDayOfYear&&(a<he||a>Le)&&(a=Le),u(e)._overflowWeeks&&-1===a&&(a=Be),u(e)._overflowWeekday&&-1===a&&(a=De),u(e).overflow=a),e}var fa=/^\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)?)?$/,ya=/^\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)?)?$/,Wa=/Z|[+-]\d\d(?::?\d\d)?/,ha=[["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]],Ra=[["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/]],La=/^\/?Date\((-?\d+)/i,va=/^(?:(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}))$/,_a={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Na(e){var a,n,M,b,z,o,p=e._i,t=fa.exec(p)||ya.exec(p),O=ha.length,c=Ra.length;if(t){for(u(e).iso=!0,a=0,n=O;a<n;a++)if(ha[a][1].exec(t[1])){b=ha[a][0],M=!1!==ha[a][2];break}if(null==b)return void(e._isValid=!1);if(t[3]){for(a=0,n=c;a<n;a++)if(Ra[a][1].exec(t[3])){z=(t[2]||" ")+Ra[a][0];break}if(null==z)return void(e._isValid=!1)}if(!M&&null!=z)return void(e._isValid=!1);if(t[4]){if(!Wa.exec(t[4]))return void(e._isValid=!1);o="Z"}e._f=b+(z||"")+(o||""),Xa(e)}else e._isValid=!1}function ga(e){var a=parseInt(e,10);return a<=49?2e3+a:a<=999?1900+a:a}function Ba(e){var a,n,M,b,z,o,p,t,O=va.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(O){if(n=O[4],M=O[3],b=O[2],z=O[5],o=O[6],p=O[7],t=[ga(n),Te.indexOf(M),parseInt(b,10),parseInt(z,10),parseInt(o,10)],p&&t.push(parseInt(p,10)),a=t,!function(e,a,n){return!e||Qe.indexOf(e)===new Date(a[0],a[1],a[2]).getDay()||(u(n).weekdayMismatch=!0,n._isValid=!1,!1)}(O[1],a,e))return;e._a=a,e._tzm=function(e,a,n){if(e)return _a[e];if(a)return 0;var M=parseInt(n,10),b=M%100;return(M-b)/100*60+b}(O[8],O[9],O[10]),e._d=Ge.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),u(e).rfc2822=!0}else e._isValid=!1}function Da(e,a,n){return null!=e?e:null!=a?a:n}function Sa(e){var a,n,M,z,o,p=[];if(!e._d){for(M=function(e){var a=new Date(b.now());return e._useUTC?[a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate()]:[a.getFullYear(),a.getMonth(),a.getDate()]}(e),e._w&&null==e._a[Le]&&null==e._a[Re]&&function(e){var a,n,M,b,z,o,p,t,O;null!=(a=e._w).GG||null!=a.W||null!=a.E?(z=1,o=4,n=Da(a.GG,e._a[he],Ke(ka(),1,4).year),M=Da(a.W,1),((b=Da(a.E,1))<1||b>7)&&(t=!0)):(z=e._locale._week.dow,o=e._locale._week.doy,O=Ke(ka(),z,o),n=Da(a.gg,e._a[he],O.year),M=Da(a.w,O.week),null!=a.d?((b=a.d)<0||b>6)&&(t=!0):null!=a.e?(b=a.e+z,(a.e<0||a.e>6)&&(t=!0)):b=z),M<1||M>Ye(n,z,o)?u(e)._overflowWeeks=!0:null!=t?u(e)._overflowWeekday=!0:(p=Ve(n,M,b,z,o),e._a[he]=p.year,e._dayOfYear=p.dayOfYear)}(e),null!=e._dayOfYear&&(o=Da(e._a[he],M[he]),(e._dayOfYear>He(o)||0===e._dayOfYear)&&(u(e)._overflowDayOfYear=!0),n=Ge(o,0,e._dayOfYear),e._a[Re]=n.getUTCMonth(),e._a[Le]=n.getUTCDate()),a=0;a<3&&null==e._a[a];++a)e._a[a]=p[a]=M[a];for(;a<7;a++)e._a[a]=p[a]=null==e._a[a]?2===a?1:0:e._a[a];24===e._a[ve]&&0===e._a[_e]&&0===e._a[Ne]&&0===e._a[ge]&&(e._nextDay=!0,e._a[ve]=0),e._d=(e._useUTC?Ge:Fe).apply(null,p),z=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ve]=24),e._w&&void 0!==e._w.d&&e._w.d!==z&&(u(e).weekdayMismatch=!0)}}function Xa(e){if(e._f!==b.ISO_8601)if(e._f!==b.RFC_2822){e._a=[],u(e).empty=!0;var a,n,M,z,o,p,t,O=""+e._i,c=O.length,r=0;for(t=(M=j(e._f,e._locale).match(X)||[]).length,a=0;a<t;a++)z=M[a],(n=(O.match(ue(z,e))||[])[0])&&((o=O.substr(0,O.indexOf(n))).length>0&&u(e).unusedInput.push(o),O=O.slice(O.indexOf(n)+n.length),r+=n.length),k[z]?(n?u(e).empty=!1:u(e).unusedTokens.push(z),ye(z,n,e)):e._strict&&!n&&u(e).unusedTokens.push(z);u(e).charsLeftOver=c-r,O.length>0&&u(e).unusedInput.push(O),e._a[ve]<=12&&!0===u(e).bigHour&&e._a[ve]>0&&(u(e).bigHour=void 0),u(e).parsedDateParts=e._a.slice(0),u(e).meridiem=e._meridiem,e._a[ve]=function(e,a,n){var M;return null==n?a:null!=e.meridiemHour?e.meridiemHour(a,n):null!=e.isPM?((M=e.isPM(n))&&a<12&&(a+=12),M||12!==a||(a=0),a):a}(e._locale,e._a[ve],e._meridiem),null!==(p=u(e).era)&&(e._a[he]=e._locale.erasConvertYear(p,e._a[he])),Sa(e),la(e)}else Ba(e);else Na(e)}function Ta(e){var a=e._i,n=e._f;return e._locale=e._locale||ma(e._l),null===a||void 0===n&&""===a?m({nullInput:!0}):("string"==typeof a&&(e._i=a=e._locale.preparse(a)),h(a)?new W(la(a)):(i(a)?e._d=a:z(n)?function(e){var a,n,M,b,z,o,p=!1,t=e._f.length;if(0===t)return u(e).invalidFormat=!0,void(e._d=new Date(NaN));for(b=0;b<t;b++)z=0,o=!1,a=y({},e),null!=e._useUTC&&(a._useUTC=e._useUTC),a._f=e._f[b],Xa(a),q(a)&&(o=!0),z+=u(a).charsLeftOver,z+=10*u(a).unusedTokens.length,u(a).score=z,p?z<M&&(M=z,n=a):(null==M||z<M||o)&&(M=z,n=a,o&&(p=!0));A(e,n||a)}(e):n?Xa(e):function(e){var a=e._i;c(a)?e._d=new Date(b.now()):i(a)?e._d=new Date(a.valueOf()):"string"==typeof a?function(e){var a=La.exec(e._i);null===a?(Na(e),!1===e._isValid&&(delete e._isValid,Ba(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:b.createFromInputFallback(e)))):e._d=new Date(+a[1])}(e):z(a)?(e._a=s(a.slice(0),(function(e){return parseInt(e,10)})),Sa(e)):p(a)?function(e){if(!e._d){var a=I(e._i),n=void 0===a.day?a.date:a.day;e._a=s([a.year,a.month,n,a.hour,a.minute,a.second,a.millisecond],(function(e){return e&&parseInt(e,10)})),Sa(e)}}(e):r(a)?e._d=new Date(a):b.createFromInputFallback(e)}(e),q(e)||(e._d=null),e))}function wa(e,a,n,M,b){var o,t={};return!0!==a&&!1!==a||(M=a,a=void 0),!0!==n&&!1!==n||(M=n,n=void 0),(p(e)&&O(e)||z(e)&&0===e.length)&&(e=void 0),t._isAMomentObject=!0,t._useUTC=t._isUTC=b,t._l=n,t._i=e,t._f=a,t._strict=M,(o=new W(la(Ta(t))))._nextDay&&(o.add(1,"d"),o._nextDay=void 0),o}function ka(e,a,n,M){return wa(e,a,n,M,!1)}b.createFromInputFallback=L("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(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),b.ISO_8601=function(){},b.RFC_2822=function(){};var Ca=L("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=ka.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:m()})),Pa=L("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=ka.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:m()}));function ja(e,a){var n,M;if(1===a.length&&z(a[0])&&(a=a[0]),!a.length)return ka();for(n=a[0],M=1;M<a.length;++M)a[M].isValid()&&!a[M][e](n)||(n=a[M]);return n}var Ea=["year","quarter","month","week","day","hour","minute","second","millisecond"];function xa(e){var a=I(e),n=a.year||0,M=a.quarter||0,b=a.month||0,z=a.week||a.isoWeek||0,o=a.day||0,p=a.hour||0,O=a.minute||0,c=a.second||0,r=a.millisecond||0;this._isValid=function(e){var a,n,M=!1,b=Ea.length;for(a in e)if(t(e,a)&&(-1===We.call(Ea,a)||null!=e[a]&&isNaN(e[a])))return!1;for(n=0;n<b;++n)if(e[Ea[n]]){if(M)return!1;parseFloat(e[Ea[n]])!==K(e[Ea[n]])&&(M=!0)}return!0}(a),this._milliseconds=+r+1e3*c+6e4*O+1e3*p*60*60,this._days=+o+7*z,this._months=+b+3*M+12*n,this._data={},this._locale=ma(),this._bubble()}function Ha(e){return e instanceof xa}function Ia(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Fa(e,a){C(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+S(~~(e/60),2)+a+S(~~e%60,2)}))}Fa("Z",":"),Fa("ZZ",""),de("Z",se),de("ZZ",se),le(["Z","ZZ"],(function(e,a,n){n._useUTC=!0,n._tzm=Ja(se,e)}));var Ga=/([\+\-]|\d\d)/gi;function Ja(e,a){var n,M,b=(a||"").match(e);return null===b?null:0===(M=60*(n=((b[b.length-1]||[])+"").match(Ga)||["-",0,0])[1]+K(n[2]))?0:"+"===n[0]?M:-M}function Va(e,a){var n,M;return a._isUTC?(n=a.clone(),M=(h(e)||i(e)?e.valueOf():ka(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+M),b.updateOffset(n,!1),n):ka(e).local()}function Ka(e){return-Math.round(e._d.getTimezoneOffset())}function Ya(){return!!this.isValid()&&this._isUTC&&0===this._offset}b.updateOffset=function(){};var Ua=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Za=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Qa(e,a){var n,M,b,z,p,O,c=e,i=null;return Ha(e)?c={ms:e._milliseconds,d:e._days,M:e._months}:r(e)||!isNaN(+e)?(c={},a?c[a]=+e:c.milliseconds=+e):(i=Ua.exec(e))?(n="-"===i[1]?-1:1,c={y:0,d:K(i[Le])*n,h:K(i[ve])*n,m:K(i[_e])*n,s:K(i[Ne])*n,ms:K(Ia(1e3*i[ge]))*n}):(i=Za.exec(e))?(n="-"===i[1]?-1:1,c={y:$a(i[2],n),M:$a(i[3],n),w:$a(i[4],n),d:$a(i[5],n),h:$a(i[6],n),m:$a(i[7],n),s:$a(i[8],n)}):null==c?c={}:"object"===o(c)&&("from"in c||"to"in c)&&(z=ka(c.from),p=ka(c.to),b=z.isValid()&&p.isValid()?(p=Va(p,z),z.isBefore(p)?O=en(z,p):((O=en(p,z)).milliseconds=-O.milliseconds,O.months=-O.months),O):{milliseconds:0,months:0},(c={}).ms=b.milliseconds,c.M=b.months),M=new xa(c),Ha(e)&&t(e,"_locale")&&(M._locale=e._locale),Ha(e)&&t(e,"_isValid")&&(M._isValid=e._isValid),M}function $a(e,a){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*a}function en(e,a){var n={};return n.months=a.month()-e.month()+12*(a.year()-e.year()),e.clone().add(n.months,"M").isAfter(a)&&--n.months,n.milliseconds=+a-+e.clone().add(n.months,"M"),n}function an(e,a){return function(n,M){var b;return null===M||isNaN(+M)||(N(a,"moment()."+a+"(period, number) is deprecated. Please use moment()."+a+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),b=n,n=M,M=b),nn(this,Qa(n,M),e),this}}function nn(e,a,n,M){var z=a._milliseconds,o=Ia(a._days),p=Ia(a._months);e.isValid()&&(M=null==M||M,p&&je(e,U(e,"Month")+p*n),o&&Z(e,"Date",U(e,"Date")+o*n),z&&e._d.setTime(e._d.valueOf()+z*n),M&&b.updateOffset(e,o||p))}Qa.fn=xa.prototype,Qa.invalid=function(){return Qa(NaN)};var Mn=an(1,"add"),bn=an(-1,"subtract");function zn(e){return"string"==typeof e||e instanceof String}function on(e,a){if(e.date()<a.date())return-on(a,e);var n=12*(a.year()-e.year())+(a.month()-e.month()),M=e.clone().add(n,"months");return-(n+(a-M<0?(a-M)/(M-e.clone().add(n-1,"months")):(a-M)/(e.clone().add(n+1,"months")-M)))||0}function pn(e){var a;return void 0===e?this._locale._abbr:(null!=(a=ma(e))&&(this._locale=a),this)}b.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",b.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var tn=L("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function On(){return this._locale}var cn=1e3,rn=6e4,sn=36e5,An=126227808e5;function dn(e,a){return(e%a+a)%a}function un(e,a,n){return e<100&&e>=0?new Date(e+400,a,n)-An:new Date(e,a,n).valueOf()}function qn(e,a,n){return e<100&&e>=0?Date.UTC(e+400,a,n)-An:Date.UTC(e,a,n)}function mn(e,a){return a.erasAbbrRegex(e)}function ln(){var e,a,n=[],M=[],b=[],z=[],o=this.eras();for(e=0,a=o.length;e<a;++e)M.push(qe(o[e].name)),n.push(qe(o[e].abbr)),b.push(qe(o[e].narrow)),z.push(qe(o[e].name)),z.push(qe(o[e].abbr)),z.push(qe(o[e].narrow));this._erasRegex=new RegExp("^("+z.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+M.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+b.join("|")+")","i")}function fn(e,a){C(0,[e,e.length],0,a)}function yn(e,a,n,M,b){var z;return null==e?Ke(this,M,b).year:(a>(z=Ye(e,M,b))&&(a=z),Wn.call(this,e,a,n,M,b))}function Wn(e,a,n,M,b){var z=Ve(e,a,n,M,b),o=Ge(z.year,0,z.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}C("N",0,0,"eraAbbr"),C("NN",0,0,"eraAbbr"),C("NNN",0,0,"eraAbbr"),C("NNNN",0,0,"eraName"),C("NNNNN",0,0,"eraNarrow"),C("y",["y",1],"yo","eraYear"),C("y",["yy",2],0,"eraYear"),C("y",["yyy",3],0,"eraYear"),C("y",["yyyy",4],0,"eraYear"),de("N",mn),de("NN",mn),de("NNN",mn),de("NNNN",(function(e,a){return a.erasNameRegex(e)})),de("NNNNN",(function(e,a){return a.erasNarrowRegex(e)})),le(["N","NN","NNN","NNNN","NNNNN"],(function(e,a,n,M){var b=n._locale.erasParse(e,M,n._strict);b?u(n).era=b:u(n).invalidEra=e})),de("y",ce),de("yy",ce),de("yyy",ce),de("yyyy",ce),de("yo",(function(e,a){return a._eraYearOrdinalRegex||ce})),le(["y","yy","yyy","yyyy"],he),le(["yo"],(function(e,a,n,M){var b;n._locale._eraYearOrdinalRegex&&(b=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?a[he]=n._locale.eraYearOrdinalParse(e,b):a[he]=parseInt(e,10)})),C(0,["gg",2],0,(function(){return this.weekYear()%100})),C(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),fn("gggg","weekYear"),fn("ggggg","weekYear"),fn("GGGG","isoWeekYear"),fn("GGGGG","isoWeekYear"),x("weekYear","gg"),x("isoWeekYear","GG"),G("weekYear",1),G("isoWeekYear",1),de("G",re),de("g",re),de("GG",be,ee),de("gg",be,ee),de("GGGG",te,ne),de("gggg",te,ne),de("GGGGG",Oe,Me),de("ggggg",Oe,Me),fe(["gggg","ggggg","GGGG","GGGGG"],(function(e,a,n,M){a[M.substr(0,2)]=K(e)})),fe(["gg","GG"],(function(e,a,n,M){a[M]=b.parseTwoDigitYear(e)})),C("Q",0,"Qo","quarter"),x("quarter","Q"),G("quarter",7),de("Q",$),le("Q",(function(e,a){a[Re]=3*(K(e)-1)})),C("D",["DD",2],"Do","date"),x("date","D"),G("date",9),de("D",be),de("DD",be,ee),de("Do",(function(e,a){return e?a._dayOfMonthOrdinalParse||a._ordinalParse:a._dayOfMonthOrdinalParseLenient})),le(["D","DD"],Le),le("Do",(function(e,a){a[Le]=K(e.match(be)[0])}));var hn=Y("Date",!0);C("DDD",["DDDD",3],"DDDo","dayOfYear"),x("dayOfYear","DDD"),G("dayOfYear",4),de("DDD",pe),de("DDDD",ae),le(["DDD","DDDD"],(function(e,a,n){n._dayOfYear=K(e)})),C("m",["mm",2],0,"minute"),x("minute","m"),G("minute",14),de("m",be),de("mm",be,ee),le(["m","mm"],_e);var Rn=Y("Minutes",!1);C("s",["ss",2],0,"second"),x("second","s"),G("second",15),de("s",be),de("ss",be,ee),le(["s","ss"],Ne);var Ln,vn,_n=Y("Seconds",!1);for(C("S",0,0,(function(){return~~(this.millisecond()/100)})),C(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),C(0,["SSS",3],0,"millisecond"),C(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),C(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),C(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),C(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),C(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),C(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),x("millisecond","ms"),G("millisecond",16),de("S",pe,$),de("SS",pe,ee),de("SSS",pe,ae),Ln="SSSS";Ln.length<=9;Ln+="S")de(Ln,ce);function Nn(e,a){a[ge]=K(1e3*("0."+e))}for(Ln="S";Ln.length<=9;Ln+="S")le(Ln,Nn);vn=Y("Milliseconds",!1),C("z",0,0,"zoneAbbr"),C("zz",0,0,"zoneName");var gn=W.prototype;function Bn(e){return e}gn.add=Mn,gn.calendar=function(e,a){var n;1===arguments.length&&(arguments[0]?h(n=arguments[0])||i(n)||zn(n)||r(n)||function(e){var a=z(e),n=!1;return a&&(n=0===e.filter((function(a){return!r(a)&&zn(e)})).length),a&&n}(n)||function(e){var a,n=p(e)&&!O(e),M=!1,b=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],z=b.length;for(a=0;a<z;a+=1)M=M||t(e,b[a]);return n&&M}(n)||null==n?(e=arguments[0],a=void 0):function(e){var a,n=p(e)&&!O(e),M=!1,b=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(a=0;a<b.length;a+=1)M=M||t(e,b[a]);return n&&M}(arguments[0])&&(a=arguments[0],e=void 0):(e=void 0,a=void 0));var M=e||ka(),o=Va(M,this).startOf("day"),c=b.calendarFormat(this,o)||"sameElse",s=a&&(g(a[c])?a[c].call(this,M):a[c]);return this.format(s||this.localeData().calendar(c,this,ka(M)))},gn.clone=function(){return new W(this)},gn.diff=function(e,a,n){var M,b,z;if(!this.isValid())return NaN;if(!(M=Va(e,this)).isValid())return NaN;switch(b=6e4*(M.utcOffset()-this.utcOffset()),a=H(a)){case"year":z=on(this,M)/12;break;case"month":z=on(this,M);break;case"quarter":z=on(this,M)/3;break;case"second":z=(this-M)/1e3;break;case"minute":z=(this-M)/6e4;break;case"hour":z=(this-M)/36e5;break;case"day":z=(this-M-b)/864e5;break;case"week":z=(this-M-b)/6048e5;break;default:z=this-M}return n?z:V(z)},gn.endOf=function(e){var a,n;if(void 0===(e=H(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?qn:un,e){case"year":a=n(this.year()+1,0,1)-1;break;case"quarter":a=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":a=n(this.year(),this.month()+1,1)-1;break;case"week":a=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":a=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":a=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":a=this._d.valueOf(),a+=sn-dn(a+(this._isUTC?0:this.utcOffset()*rn),sn)-1;break;case"minute":a=this._d.valueOf(),a+=rn-dn(a,rn)-1;break;case"second":a=this._d.valueOf(),a+=cn-dn(a,cn)-1}return this._d.setTime(a),b.updateOffset(this,!0),this},gn.format=function(e){e||(e=this.isUtc()?b.defaultFormatUtc:b.defaultFormat);var a=P(this,e);return this.localeData().postformat(a)},gn.from=function(e,a){return this.isValid()&&(h(e)&&e.isValid()||ka(e).isValid())?Qa({to:this,from:e}).locale(this.locale()).humanize(!a):this.localeData().invalidDate()},gn.fromNow=function(e){return this.from(ka(),e)},gn.to=function(e,a){return this.isValid()&&(h(e)&&e.isValid()||ka(e).isValid())?Qa({from:this,to:e}).locale(this.locale()).humanize(!a):this.localeData().invalidDate()},gn.toNow=function(e){return this.to(ka(),e)},gn.get=function(e){return g(this[e=H(e)])?this[e]():this},gn.invalidAt=function(){return u(this).overflow},gn.isAfter=function(e,a){var n=h(e)?e:ka(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(a=H(a)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(a).valueOf())},gn.isBefore=function(e,a){var n=h(e)?e:ka(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(a=H(a)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(a).valueOf()<n.valueOf())},gn.isBetween=function(e,a,n,M){var b=h(e)?e:ka(e),z=h(a)?a:ka(a);return!!(this.isValid()&&b.isValid()&&z.isValid())&&("("===(M=M||"()")[0]?this.isAfter(b,n):!this.isBefore(b,n))&&(")"===M[1]?this.isBefore(z,n):!this.isAfter(z,n))},gn.isSame=function(e,a){var n,M=h(e)?e:ka(e);return!(!this.isValid()||!M.isValid())&&("millisecond"===(a=H(a)||"millisecond")?this.valueOf()===M.valueOf():(n=M.valueOf(),this.clone().startOf(a).valueOf()<=n&&n<=this.clone().endOf(a).valueOf()))},gn.isSameOrAfter=function(e,a){return this.isSame(e,a)||this.isAfter(e,a)},gn.isSameOrBefore=function(e,a){return this.isSame(e,a)||this.isBefore(e,a)},gn.isValid=function(){return q(this)},gn.lang=tn,gn.locale=pn,gn.localeData=On,gn.max=Pa,gn.min=Ca,gn.parsingFlags=function(){return A({},u(this))},gn.set=function(e,a){if("object"===o(e)){var n,M=function(e){var a,n=[];for(a in e)t(e,a)&&n.push({unit:a,priority:F[a]});return n.sort((function(e,a){return e.priority-a.priority})),n}(e=I(e)),b=M.length;for(n=0;n<b;n++)this[M[n].unit](e[M[n].unit])}else if(g(this[e=H(e)]))return this[e](a);return this},gn.startOf=function(e){var a,n;if(void 0===(e=H(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?qn:un,e){case"year":a=n(this.year(),0,1);break;case"quarter":a=n(this.year(),this.month()-this.month()%3,1);break;case"month":a=n(this.year(),this.month(),1);break;case"week":a=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":a=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":a=n(this.year(),this.month(),this.date());break;case"hour":a=this._d.valueOf(),a-=dn(a+(this._isUTC?0:this.utcOffset()*rn),sn);break;case"minute":a=this._d.valueOf(),a-=dn(a,rn);break;case"second":a=this._d.valueOf(),a-=dn(a,cn)}return this._d.setTime(a),b.updateOffset(this,!0),this},gn.subtract=bn,gn.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},gn.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},gn.toDate=function(){return new Date(this.valueOf())},gn.toISOString=function(e){if(!this.isValid())return null;var a=!0!==e,n=a?this.clone().utc():this;return n.year()<0||n.year()>9999?P(n,a?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):g(Date.prototype.toISOString)?a?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",P(n,"Z")):P(n,a?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},gn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,a,n,M="moment",b="";return this.isLocal()||(M=0===this.utcOffset()?"moment.utc":"moment.parseZone",b="Z"),e="["+M+'("]',a=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n=b+'[")]',this.format(e+a+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(gn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),gn.toJSON=function(){return this.isValid()?this.toISOString():nu