!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.moment=t()}(this,(function(){"use strict";var e,t;function n(){return e.apply(null,arguments)}function s(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function i(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(r(e,t))return;return 1}function o(e){return void 0===e}function l(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function u(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function d(e,t){for(var n=[],s=0;s<e.length;++s)n.push(t(e[s],s));return n}function c(e,t){for(var n in t)r(t,n)&&(e[n]=t[n]);return r(t,"toString")&&(e.toString=t.toString),r(t,"valueOf")&&(e.valueOf=t.valueOf),e}function h(e,t,n,s){return bt(e,t,n,s,!0).utc()}function f(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 m(e){if(null==e._isValid){var n=f(e),s=t.call(n.parsedDateParts,(function(e){return null!=e})),a=!isNaN(e._d.getTime())&&n.overflow<0&&!n.empty&&!n.invalidEra&&!n.invalidMonth&&!n.invalidWeekday&&!n.weekdayMismatch&&!n.nullInput&&!n.invalidFormat&&!n.userInvalidated&&(!n.meridiem||n.meridiem&&s);if(e._strict&&(a=a&&0===n.charsLeftOver&&0===n.unusedTokens.length&&void 0===n.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return a;e._isValid=a}return e._isValid}function y(e){var t=h(NaN);return null!=e?c(f(t),e):f(t).userInvalidated=!0,t}t=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,s=0;s<n;s++)if(s in t&&e.call(this,t[s],s,t))return!0;return!1};var _=n.momentProperties=[],g=!1;function p(e,t){var n,s,a;if(o(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),o(t._i)||(e._i=t._i),o(t._f)||(e._f=t._f),o(t._l)||(e._l=t._l),o(t._strict)||(e._strict=t._strict),o(t._tzm)||(e._tzm=t._tzm),o(t._isUTC)||(e._isUTC=t._isUTC),o(t._offset)||(e._offset=t._offset),o(t._pf)||(e._pf=f(t)),o(t._locale)||(e._locale=t._locale),0<_.length)for(n=0;n<_.length;n++)o(a=t[s=_[n]])||(e[s]=a);return e}function v(e){p(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===g&&(g=!0,n.updateOffset(this),g=!1)}function w(e){return e instanceof v||null!=e&&null!=e._isAMomentObject}function S(e){!1===n.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function M(e,t){var s=!0;return c((function(){if(null!=n.deprecationHandler&&n.deprecationHandler(null,e),s){for(var a,i,o=[],l=0;l<arguments.length;l++){if(a="","object"==typeof arguments[l]){for(i in a+="\n["+l+"] ",arguments[0])r(arguments[0],i)&&(a+=i+": "+arguments[0][i]+", ");a=a.slice(0,-2)}else a=arguments[l];o.push(a)}S(e+"\nArguments: "+Array.prototype.slice.call(o).join("")+"\n"+(new Error).stack),s=!1}return t.apply(this,arguments)}),t)}var k,D={};function Y(e,t){null!=n.deprecationHandler&&n.deprecationHandler(e,t),D[e]||(S(t),D[e]=!0)}function b(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function T(e,t){var n,s=c({},e);for(n in t)r(t,n)&&(a(e[n])&&a(t[n])?(s[n]={},c(s[n],e[n]),c(s[n],t[n])):null!=t[n]?s[n]=t[n]:delete s[n]);for(n in e)r(e,n)&&!r(t,n)&&a(e[n])&&(s[n]=c({},s[n]));return s}function O(e){null!=e&&this.set(e)}function x(e,t,n){var s=""+Math.abs(e),a=t-s.length;return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+s}n.suppressDeprecationWarnings=!1,n.deprecationHandler=null,k=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)r(e,t)&&n.push(t);return n};var N=/(\[[^\[]*\])|(\\)?([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,L=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,P={},R={};function E(e,t,n,s){var a="string"==typeof s?function(){return this[s]()}:s;e&&(R[e]=a),t&&(R[t[0]]=function(){return x(a.apply(this,arguments),t[1],t[2])}),n&&(R[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function C(e,t){return e.isValid()?(t=W(t,e.localeData()),P[t]=P[t]||function(e){for(var t,n=e.match(N),s=0,a=n.length;s<a;s++)R[n[s]]?n[s]=R[n[s]]:n[s]=(t=n[s]).match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"");return function(t){for(var s="",r=0;r<a;r++)s+=b(n[r])?n[r].call(t,e):n[r];return s}}(t),P[t](e)):e.localeData().invalidDate()}function W(e,t){var n=5;function s(e){return t.longDateFormat(e)||e}for(L.lastIndex=0;0<=n&&L.test(e);)e=e.replace(L,s),L.lastIndex=0,--n;return e}var H={};function F(e,t){var n=e.toLowerCase();H[n]=H[n+"s"]=H[t]=e}function I(e){return"string"==typeof e?H[e]||H[e.toLowerCase()]:void 0}function U(e){var t,n,s={};for(n in e)r(e,n)&&(t=I(n))&&(s[t]=e[n]);return s}var A={};function V(e,t){A[e]=t}function G(e){return e%4==0&&e%100!=0||e%400==0}function j(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function q(e){var t=+e,n=0;return 0!=t&&isFinite(t)&&(n=j(t)),n}function B(e,t){return function(s){return null!=s?(Z(this,e,s),n.updateOffset(this,t),this):z(this,e)}}function z(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Z(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&G(e.year())&&1===e.month()&&29===e.date()?(n=q(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Oe(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var $,J=/\d/,Q=/\d\d/,X=/\d{3}/,K=/\d{4}/,ee=/[+-]?\d{6}/,te=/\d\d?/,ne=/\d\d\d\d?/,se=/\d\d\d\d\d\d?/,ae=/\d{1,3}/,re=/\d{1,4}/,ie=/[+-]?\d{1,6}/,oe=/\d+/,le=/[+-]?\d+/,ue=/Z|[+-]\d\d:?\d\d/gi,de=/Z|[+-]\d\d(?::?\d\d)?/gi,ce=/[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 he(e,t,n){$[e]=b(t)?t:function(e,s){return e&&n?n:t}}function fe(e,t){return r($,e)?$[e](t._strict,t._locale):new RegExp(me(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,s,a){return t||n||s||a}))))}function me(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}$={};var ye={};function _e(e,t){var n,s=t;for("string"==typeof e&&(e=[e]),l(t)&&(s=function(e,n){n[t]=q(e)}),n=0;n<e.length;n++)ye[e[n]]=s}function ge(e,t){_e(e,(function(e,n,s,a){s._w=s._w||{},t(e,s._w,s,a)}))}var pe,ve=0,we=1,Se=2,Me=3,ke=4,De=5,Ye=6,be=7,Te=8;function Oe(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=(t%12+12)%12;return e+=(t-n)/12,1==n?G(e)?29:28:31-n%7%2}pe=Array.prototype.indexOf?Array.prototype.indexOf:function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},E("M",["MM",2],"Mo",(function(){return this.month()+1})),E("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),E("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),F("month","M"),V("month",8),he("M",te),he("MM",te,Q),he("MMM",(function(e,t){return t.monthsShortRegex(e)})),he("MMMM",(function(e,t){return t.monthsRegex(e)})),_e(["M","MM"],(function(e,t){t[we]=q(e)-1})),_e(["MMM","MMMM"],(function(e,t,n,s){var a=n._locale.monthsParse(e,s,n._strict);null!=a?t[we]=a:f(n).invalidMonth=e}));var xe="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ne="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Le=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Pe=ce,Re=ce;function Ee(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=q(t);else if(!l(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Oe(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Ce(e){return null!=e?(Ee(this,e),n.updateOffset(this,!0),this):z(this,"Month")}function We(){function e(e,t){return t.length-e.length}for(var t,n=[],s=[],a=[],r=0;r<12;r++)t=h([2e3,r]),n.push(this.monthsShort(t,"")),s.push(this.months(t,"")),a.push(this.months(t,"")),a.push(this.monthsShort(t,""));for(n.sort(e),s.sort(e),a.sort(e),r=0;r<12;r++)n[r]=me(n[r]),s[r]=me(s[r]);for(r=0;r<24;r++)a[r]=me(a[r]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function He(e){return G(e)?366:365}E("Y",0,0,(function(){var e=this.year();return e<=9999?x(e,4):"+"+e})),E(0,["YY",2],0,(function(){return this.year()%100})),E(0,["YYYY",4],0,"year"),E(0,["YYYYY",5],0,"year"),E(0,["YYYYYY",6,!0],0,"year"),F("year","y"),V("year",1),he("Y",le),he("YY",te,Q),he("YYYY",re,K),he("YYYYY",ie,ee),he("YYYYYY",ie,ee),_e(["YYYYY","YYYYYY"],ve),_e("YYYY",(function(e,t){t[ve]=2===e.length?n.parseTwoDigitYear(e):q(e)})),_e("YY",(function(e,t){t[ve]=n.parseTwoDigitYear(e)})),_e("Y",(function(e,t){t[ve]=parseInt(e,10)})),n.parseTwoDigitYear=function(e){return q(e)+(68<q(e)?1900:2e3)};var Fe=B("FullYear",!0);function Ie(e){var t,n;return e<100&&0<=e?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ue(e,t,n){var s=7+t-n;return s-(7+Ie(e,0,s).getUTCDay()-t)%7-1}function Ae(e,t,n,s,a){var r,i=1+7*(t-1)+(7+n-s)%7+Ue(e,s,a),o=i<=0?He(r=e-1)+i:i>He(e)?(r=e+1,i-He(e)):(r=e,i);return{year:r,dayOfYear:o}}function Ve(e,t,n){var s,a,r=Ue(e.year(),t,n),i=Math.floor((e.dayOfYear()-r-1)/7)+1;return i<1?s=i+Ge(a=e.year()-1,t,n):i>Ge(e.year(),t,n)?(s=i-Ge(e.year(),t,n),a=e.year()+1):(a=e.year(),s=i),{week:s,year:a}}function Ge(e,t,n){var s=Ue(e,t,n),a=Ue(e+1,t,n);return(He(e)-s+a)/7}function je(e,t){return e.slice(t,7).concat(e.slice(0,t))}E("w",["ww",2],"wo","week"),E("W",["WW",2],"Wo","isoWeek"),F("week","w"),F("isoWeek","W"),V("week",5),V("isoWeek",5),he("w",te),he("ww",te,Q),he("W",te),he("WW",te,Q),ge(["w","ww","W","WW"],(function(e,t,n,s){t[s.substr(0,1)]=q(e)})),E("d",0,"do","day"),E("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),E("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),E("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),E("e",0,0,"weekday"),E("E",0,0,"isoWeekday"),F("day","d"),F("weekday","e"),F("isoWeekday","E"),V("day",11),V("weekday",11),V("isoWeekday",11),he("d",te),he("e",te),he("E",te),he("dd",(function(e,t){return t.weekdaysMinRegex(e)})),he("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),he("dddd",(function(e,t){return t.weekdaysRegex(e)})),ge(["dd","ddd","dddd"],(function(e,t,n,s){var a=n._locale.weekdaysParse(e,s,n._strict);null!=a?t.d=a:f(n).invalidWeekday=e})),ge(["d","e","E"],(function(e,t,n,s){t[s]=q(e)}));var qe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Be="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),ze="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ze=ce,$e=ce,Je=ce;function Qe(){function e(e,t){return t.length-e.length}for(var t,n,s,a,r=[],i=[],o=[],l=[],u=0;u<7;u++)t=h([2e3,1]).day(u),n=me(this.weekdaysMin(t,"")),s=me(this.weekdaysShort(t,"")),a=me(this.weekdays(t,"")),r.push(n),i.push(s),o.push(a),l.push(n),l.push(s),l.push(a);r.sort(e),i.sort(e),o.sort(e),l.sort(e),this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Xe(){return this.hours()%12||12}function Ke(e,t){E(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function et(e,t){return t._meridiemParse}E("H",["HH",2],0,"hour"),E("h",["hh",2],0,Xe),E("k",["kk",2],0,(function(){return this.hours()||24})),E("hmm",0,0,(function(){return""+Xe.apply(this)+x(this.minutes(),2)})),E("hmmss",0,0,(function(){return""+Xe.apply(this)+x(this.minutes(),2)+x(this.seconds(),2)})),E("Hmm",0,0,(function(){return""+this.hours()+x(this.minutes(),2)})),E("Hmmss",0,0,(function(){return""+this.hours()+x(this.minutes(),2)+x(this.seconds(),2)})),Ke("a",!0),Ke("A",!1),F("hour","h"),V("hour",13),he("a",et),he("A",et),he("H",te),he("h",te),he("k",te),he("HH",te,Q),he("hh",te,Q),he("kk",te,Q),he("hmm",ne),he("hmmss",se),he("Hmm",ne),he("Hmmss",se),_e(["H","HH"],Me),_e(["k","kk"],(function(e,t,n){var s=q(e);t[Me]=24===s?0:s})),_e(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),_e(["h","hh"],(function(e,t,n){t[Me]=q(e),f(n).bigHour=!0})),_e("hmm",(function(e,t,n){var s=e.length-2;t[Me]=q(e.substr(0,s)),t[ke]=q(e.substr(s)),f(n).bigHour=!0})),_e("hmmss",(function(e,t,n){var s=e.length-4,a=e.length-2;t[Me]=q(e.substr(0,s)),t[ke]=q(e.substr(s,2)),t[De]=q(e.substr(a)),f(n).bigHour=!0})),_e("Hmm",(function(e,t,n){var s=e.length-2;t[Me]=q(e.substr(0,s)),t[ke]=q(e.substr(s))})),_e("Hmmss",(function(e,t,n){var s=e.length-4,a=e.length-2;t[Me]=q(e.substr(0,s)),t[ke]=q(e.substr(s,2)),t[De]=q(e.substr(a))}));var tt,nt=B("Hours",!0),st={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:Ne,week:{dow:0,doy:6},weekdays:qe,weekdaysMin:ze,weekdaysShort:Be,meridiemParse:/[ap]\.?m?\.?/i},at={},rt={};function it(e){return e?e.toLowerCase().replace("_","-"):e}function ot(e){var t;if(void 0===at[e]&&"undefined"!=typeof module&&module&&module.exports)try{t=tt._abbr,require("./locale/"+e),lt(t)}catch(t){at[e]=null}return at[e]}function lt(e,t){var n;return e&&((n=o(t)?dt(e):ut(e,t))?tt=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),tt._abbr}function ut(e,t){if(null===t)return delete at[e],null;var n,s=st;if(t.abbr=e,null!=at[e])Y("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."),s=at[e]._config;else if(null!=t.parentLocale)if(null!=at[t.parentLocale])s=at[t.parentLocale]._config;else{if(null==(n=ot(t.parentLocale)))return rt[t.parentLocale]||(rt[t.parentLocale]=[]),rt[t.parentLocale].push({name:e,config:t}),null;s=n._config}return at[e]=new O(T(s,t)),rt[e]&&rt[e].forEach((function(e){ut(e.name,e.config)})),lt(e),at[e]}function dt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return tt;if(!s(e)){if(t=ot(e))return t;e=[e]}return function(e){for(var t,n,s,a,r=0;r<e.length;){for(t=(a=it(e[r]).split("-")).length,n=(n=it(e[r+1]))?n.split("-"):null;0<t;){if(s=ot(a.slice(0,t).join("-")))return s;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),s=0;s<n;s+=1)if(e[s]!==t[s])return s;return n}(a,n)>=t-1)break;t--}r++}return tt}(e)}function ct(e){var t,n=e._a;return n&&-2===f(e).overflow&&(t=n[we]<0||11<n[we]?we:n[Se]<1||n[Se]>Oe(n[ve],n[we])?Se:n[Me]<0||24<n[Me]||24===n[Me]&&(0!==n[ke]||0!==n[De]||0!==n[Ye])?Me:n[ke]<0||59<n[ke]?ke:n[De]<0||59<n[De]?De:n[Ye]<0||999<n[Ye]?Ye:-1,f(e)._overflowDayOfYear&&(t<ve||Se<t)&&(t=Se),f(e)._overflowWeeks&&-1===t&&(t=be),f(e)._overflowWeekday&&-1===t&&(t=Te),f(e).overflow=t),e}var ht=/^\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)?)?$/,ft=/^\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)?)?$/,mt=/Z|[+-]\d\d(?::?\d\d)?/,yt=[["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]],_t=[["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/]],gt=/^\/?Date\((-?\d+)/i,pt=/^(?:(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}))$/,vt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function wt(e){var t,n,s,a,r,i,o=e._i,l=ht.exec(o)||ft.exec(o);if(l){for(f(e).iso=!0,t=0,n=yt.length;t<n;t++)if(yt[t][1].exec(l[1])){a=yt[t][0],s=!1!==yt[t][2];break}if(null==a)return void(e._isValid=!1);if(l[3]){for(t=0,n=_t.length;t<n;t++)if(_t[t][1].exec(l[3])){r=(l[2]||" ")+_t[t][0];break}if(null==r)return void(e._isValid=!1)}if(!s&&null!=r)return void(e._isValid=!1);if(l[4]){if(!mt.exec(l[4]))return void(e._isValid=!1);i="Z"}e._f=a+(r||"")+(i||""),Dt(e)}else e._isValid=!1}function St(e){var t,n,s,a,r=pt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(r){if(t=function(e,t,n,s,a,r){var i=[function(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}(e),Ne.indexOf(t),parseInt(n,10),parseInt(s,10),parseInt(a,10)];return r&&i.push(parseInt(r,10)),i}(r[4],r[3],r[2],r[5],r[6],r[7]),s=t,a=e,(n=r[1])&&Be.indexOf(n)!==new Date(s[0],s[1],s[2]).getDay()&&(f(a).weekdayMismatch=!0,!void(a._isValid=!1)))return;e._a=t,e._tzm=function(e,t,n){if(e)return vt[e];if(t)return 0;var s=parseInt(n,10),a=s%100;return(s-a)/100*60+a}(r[8],r[9],r[10]),e._d=Ie.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),f(e).rfc2822=!0}else e._isValid=!1}function Mt(e,t,n){return null!=e?e:null!=t?t:n}function kt(e){var t,s,a,r,i,o,l,u=[];if(!e._d){for(o=e,l=new Date(n.now()),a=o._useUTC?[l.getUTCFullYear(),l.getUTCMonth(),l.getUTCDate()]:[l.getFullYear(),l.getMonth(),l.getDate()],e._w&&null==e._a[Se]&&null==e._a[we]&&function(e){var t,n,s,a,r,i,o,l,u;null!=(t=e._w).GG||null!=t.W||null!=t.E?(r=1,i=4,n=Mt(t.GG,e._a[ve],Ve(Tt(),1,4).year),s=Mt(t.W,1),((a=Mt(t.E,1))<1||7<a)&&(l=!0)):(r=e._locale._week.dow,i=e._locale._week.doy,u=Ve(Tt(),r,i),n=Mt(t.gg,e._a[ve],u.year),s=Mt(t.w,u.week),null!=t.d?((a=t.d)<0||6<a)&&(l=!0):null!=t.e?(a=t.e+r,(t.e<0||6<t.e)&&(l=!0)):a=r),s<1||s>Ge(n,r,i)?f(e)._overflowWeeks=!0:null!=l?f(e)._overflowWeekday=!0:(o=Ae(n,s,a,r,i),e._a[ve]=o.year,e._dayOfYear=o.dayOfYear)}(e),null!=e._dayOfYear&&(i=Mt(e._a[ve],a[ve]),(e._dayOfYear>He(i)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),s=Ie(i,0,e._dayOfYear),e._a[we]=s.getUTCMonth(),e._a[Se]=s.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=u[t]=a[t];for(;t<7;t++)e._a[t]=u[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Me]&&0===e._a[ke]&&0===e._a[De]&&0===e._a[Ye]&&(e._nextDay=!0,e._a[Me]=0),e._d=(e._useUTC?Ie:function(e,t,n,s,a,r,i){var o;return e<100&&0<=e?(o=new Date(e+400,t,n,s,a,r,i),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,n,s,a,r,i),o}).apply(null,u),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Me]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(f(e).weekdayMismatch=!0)}}function Dt(e){if(e._f!==n.ISO_8601)if(e._f!==n.RFC_2822){e._a=[],f(e).empty=!0;for(var t,s,a,i,o,l,u,d=""+e._i,c=d.length,h=0,m=W(e._f,e._locale).match(N)||[],y=0;y<m.length;y++)s=m[y],(t=(d.match(fe(s,e))||[])[0])&&(0<(a=d.substr(0,d.indexOf(t))).length&&f(e).unusedInput.push(a),d=d.slice(d.indexOf(t)+t.length),h+=t.length),R[s]?(t?f(e).empty=!1:f(e).unusedTokens.push(s),o=s,u=e,null!=(l=t)&&r(ye,o)&&ye[o](l,u._a,u,o)):e._strict&&!t&&f(e).unusedTokens.push(s);f(e).charsLeftOver=c-h,0<d.length&&f(e).unusedInput.push(d),e._a[Me]<=12&&!0===f(e).bigHour&&0<e._a[Me]&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[Me]=function(e,t,n){var s;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):(null!=e.isPM&&((s=e.isPM(n))&&t<12&&(t+=12),s||12!==t||(t=0)),t)}(e._locale,e._a[Me],e._meridiem),null!==(i=f(e).era)&&(e._a[ve]=e._locale.erasConvertYear(i,e._a[ve])),kt(e),ct(e)}else St(e);else wt(e)}function Yt(e){var t,r,i=e._i,h=e._f;return e._locale=e._locale||dt(e._l),null===i||void 0===h&&""===i?y({nullInput:!0}):("string"==typeof i&&(e._i=i=e._locale.preparse(i)),w(i)?new v(ct(i)):(u(i)?e._d=i:s(h)?function(e){var t,n,s,a,r,i,o=!1;if(0===e._f.length)return f(e).invalidFormat=!0,e._d=new Date(NaN);for(a=0;a<e._f.length;a++)r=0,i=!1,t=p({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[a],Dt(t),m(t)&&(i=!0),r+=f(t).charsLeftOver,r+=10*f(t).unusedTokens.length,f(t).score=r,o?r<s&&(s=r,n=t):(null==s||r<s||i)&&(s=r,n=t,i&&(o=!0));c(e,n||t)}(e):h?Dt(e):o(r=(t=e)._i)?t._d=new Date(n.now()):u(r)?t._d=new Date(r.valueOf()):"string"==typeof r?function(e){var t=gt.exec(e._i);null===t?(wt(e),!1===e._isValid&&(delete e._isValid,St(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:n.createFromInputFallback(e)))):e._d=new Date(+t[1])}(t):s(r)?(t._a=d(r.slice(0),(function(e){return parseInt(e,10)})),kt(t)):a(r)?function(e){var t,n;e._d||(n=void 0===(t=U(e._i)).day?t.date:t.day,e._a=d([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),kt(e))}(t):l(r)?t._d=new Date(r):n.createFromInputFallback(t),m(e)||(e._d=null),e))}function bt(e,t,n,r,o){var l,u={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(a(e)&&i(e)||s(e)&&0===e.length)&&(e=void 0),u._isAMomentObject=!0,u._useUTC=u._isUTC=o,u._l=n,u._i=e,u._f=t,u._strict=r,(l=new v(ct(Yt(u))))._nextDay&&(l.add(1,"d"),l._nextDay=void 0),l}function Tt(e,t,n,s){return bt(e,t,n,s,!1)}n.createFromInputFallback=M("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":""))})),n.ISO_8601=function(){},n.RFC_2822=function(){};var Ot=M("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Tt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:y()})),xt=M("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Tt.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:y()}));function Nt(e,t){var n,a;if(1===t.length&&s(t[0])&&(t=t[0]),!t.length)return Tt();for(n=t[0],a=1;a<t.length;++a)t[a].isValid()&&!t[a][e](n)||(n=t[a]);return n}var Lt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Pt(e){var t=U(e),n=t.year||0,s=t.quarter||0,a=t.month||0,i=t.week||t.isoWeek||0,o=t.day||0,l=t.hour||0,u=t.minute||0,d=t.second||0,c=t.millisecond||0;this._isValid=function(e){var t,n,s=!1;for(t in e)if(r(e,t)&&(-1===pe.call(Lt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<Lt.length;++n)if(e[Lt[n]]){if(s)return!1;parseFloat(e[Lt[n]])!==q(e[Lt[n]])&&(s=!0)}return!0}(t),this._milliseconds=+c+1e3*d+6e4*u+1e3*l*60*60,this._days=+o+7*i,this._months=+a+3*s+12*n,this._data={},this._locale=dt(),this._bubble()}function Rt(e){return e instanceof Pt}function Et(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ct(e,t){E(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+x(~~(e/60),2)+t+x(~~e%60,2)}))}Ct("Z",":"),Ct("ZZ",""),he("Z",de),he("ZZ",de),_e(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=Ht(de,e)}));var Wt=/([\+\-]|\d\d)/gi;function Ht(e,t){var n,s,a=(t||"").match(e);return null===a?null:0===(s=60*(n=((a[a.length-1]||[])+"").match(Wt)||["-",0,0])[1]+q(n[2]))?0:"+"===n[0]?s:-s}function Ft(e,t){var s,a;return t._isUTC?(s=t.clone(),a=(w(e)||u(e)?e.valueOf():Tt(e).valueOf())-s.valueOf(),s._d.setTime(s._d.valueOf()+a),n.updateOffset(s,!1),s):Tt(e).local()}function It(e){return-Math.round(e._d.getTimezoneOffset())}function Ut(){return!!this.isValid()&&this._isUTC&&0===this._offset}n.updateOffset=function(){};var At=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Vt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Gt(e,t){var n,s,a,i=e,o=null;return Rt(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:l(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(o=At.exec(e))?(n="-"===o[1]?-1:1,i={y:0,d:q(o[Se])*n,h:q(o[Me])*n,m:q(o[ke])*n,s:q(o[De])*n,ms:q(Et(1e3*o[Ye]))*n}):(o=Vt.exec(e))?(n="-"===o[1]?-1:1,i={y:jt(o[2],n),M:jt(o[3],n),w:jt(o[4],n),d:jt(o[5],n),h:jt(o[6],n),m:jt(o[7],n),s:jt(o[8],n)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(a=function(e,t){var n;return e.isValid()&&t.isValid()?(t=Ft(t,e),e.isBefore(t)?n=qt(e,t):((n=qt(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}(Tt(i.from),Tt(i.to)),(i={}).ms=a.milliseconds,i.M=a.months),s=new Pt(i),Rt(e)&&r(e,"_locale")&&(s._locale=e._locale),Rt(e)&&r(e,"_isValid")&&(s._isValid=e._isValid),s}function jt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function qt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=t-e.clone().add(n.months,"M"),n}function Bt(e,t){return function(n,s){var a;return null===s||isNaN(+s)||(Y(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=n,n=s,s=a),zt(this,Gt(n,s),e),this}}function zt(e,t,s,a){var r=t._milliseconds,i=Et(t._days),o=Et(t._months);e.isValid()&&(a=null==a||a,o&&Ee(e,z(e,"Month")+o*s),i&&Z(e,"Date",z(e,"Date")+i*s),r&&e._d.setTime(e._d.valueOf()+r*s),a&&n.updateOffset(e,i||o))}Gt.fn=Pt.prototype,Gt.invalid=function(){return Gt(NaN)};var Zt=Bt(1,"add"),$t=Bt(-1,"subtract");function Jt(e){return"string"==typeof e||e instanceof String}function Qt(e,t){if(e.date()<t.date())return-Qt(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),s=e.clone().add(n,"months");return-(n+(t-s<0?(t-s)/(s-e.clone().add(n-1,"months")):(t-s)/(e.clone().add(1+n,"months")-s)))||0}function Xt(e){var t;return void 0===e?this._locale._abbr:(null!=(t=dt(e))&&(this._locale=t),this)}n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Kt=M("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 en(){return this._locale}var tn=126227808e5;function nn(e,t){return(e%t+t)%t}function sn(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-tn:new Date(e,t,n).valueOf()}function an(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-tn:Date.UTC(e,t,n)}function rn(e,t){return t.erasAbbrRegex(e)}function on(){for(var e=[],t=[],n=[],s=[],a=this.eras(),r=0,i=a.length;r<i;++r)t.push(me(a[r].name)),e.push(me(a[r].abbr)),n.push(me(a[r].narrow)),s.push(me(a[r].name)),s.push(me(a[r].abbr)),s.push(me(a[r].narrow));this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function ln(e,t){E(0,[e,e.length],0,t)}function un(e,t,n,s,a){var r;return null==e?Ve(this,s,a).year:((r=Ge(e,s,a))<t&&(t=r),function(e,t,n,s,a){var r=Ae(e,t,n,s,a),i=Ie(r.year,0,r.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}.call(this,e,t,n,s,a))}E("N",0,0,"eraAbbr"),E("NN",0,0,"eraAbbr"),E("NNN",0,0,"eraAbbr"),E("NNNN",0,0,"eraName"),E("NNNNN",0,0,"eraNarrow"),E("y",["y",1],"yo","eraYear"),E("y",["yy",2],0,"eraYear"),E("y",["yyy",3],0,"eraYear"),E("y",["yyyy",4],0,"eraYear"),he("N",rn),he("NN",rn),he("NNN",rn),he("NNNN",(function(e,t){return t.erasNameRegex(e)})),he("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),_e(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,s){var a=n._locale.erasParse(e,s,n._strict);a?f(n).era=a:f(n).invalidEra=e})),he("y",oe),he("yy",oe),he("yyy",oe),he("yyyy",oe),he("yo",(function(e,t){return t._eraYearOrdinalRegex||oe})),_e(["y","yy","yyy","yyyy"],ve),_e(["yo"],(function(e,t,n,s){var a;n._locale._eraYearOrdinalRegex&&(a=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[ve]=n._locale.eraYearOrdinalParse(e,a):t[ve]=parseInt(e,10)})),E(0,["gg",2],0,(function(){return this.weekYear()%100})),E(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),ln("gggg","weekYear"),ln("ggggg","weekYear"),ln("GGGG","isoWeekYear"),ln("GGGGG","isoWeekYear"),F("weekYear","gg"),F("isoWeekYear","GG"),V("weekYear",1),V("isoWeekYear",1),he("G",le),he("g",le),he("GG",te,Q),he("gg",te,Q),he("GGGG",re,K),he("gggg",re,K),he("GGGGG",ie,ee),he("ggggg",ie,ee),ge(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,s){t[s.substr(0,2)]=q(e)})),ge(["gg","GG"],(function(e,t,s,a){t[a]=n.parseTwoDigitYear(e)})),E("Q",0,"Qo","quarter"),F("quarter","Q"),V("quarter",7),he("Q",J),_e("Q",(function(e,t){t[we]=3*(q(e)-1)})),E("D",["DD",2],"Do","date"),F("date","D"),V("date",9),he("D",te),he("DD",te,Q),he("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),_e(["D","DD"],Se),_e("Do",(function(e,t){t[Se]=q(e.match(te)[0])}));var dn=B("Date",!0);E("DDD",["DDDD",3],"DDDo","dayOfYear"),F("dayOfYear","DDD"),V("dayOfYear",4),he("DDD",ae),he("DDDD",X),_e(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=q(e)})),E("m",["mm",2],0,"minute"),F("minute","m"),V("minute",14),he("m",te),he("mm",te,Q),_e(["m","mm"],ke);var cn=B("Minutes",!1);E("s",["ss",2],0,"second"),F("second","s"),V("second",15),he("s",te),he("ss",te,Q),_e(["s","ss"],De);var hn,fn,mn=B("Seconds",!1);for(E("S",0,0,(function(){return~~(this.millisecond()/100)})),E(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),E(0,["SSS",3],0,"millisecond"),E(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),E(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),E(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),E(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),E(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),E(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),F("millisecond","ms"),V("millisecond",16),he("S",ae,J),he("SS",ae,Q),he("SSS",ae,X),hn="SSSS";hn.length<=9;hn+="S")he(hn,oe);function yn(e,t){t[Ye]=q(1e3*("0."+e))}for(hn="S";hn.length<=9;hn+="S")_e(hn,yn);fn=B("Milliseconds",!1),E("z",0,0,"zoneAbbr"),E("zz",0,0,"zoneName");var _n=v.prototype;function gn(e){return e}_n.add=Zt,_n.calendar=function(e,t){1===arguments.length&&(arguments[0]?function(e){return w(e)||u(e)||Jt(e)||l(e)||function(e){var t=s(e),n=!1;return t&&(n=0===e.filter((function(t){return!l(t)&&Jt(e)})).length),t&&n}(e)||function(e){var t,n=a(e)&&!i(e),s=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(t=0;t<o.length;t+=1)s=s||r(e,o[t]);return n&&s}(e)||null==e}(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=a(e)&&!i(e),n=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],o=0;o<s.length;o+=1)n=n||r(e,s[o]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var o=e||Tt(),d=Ft(o,this).startOf("day"),c=n.calendarFormat(this,d)||"sameElse",h=t&&(b(t[c])?t[c].call(this,o):t[c]);return this.format(h||this.localeData().calendar(c,this,Tt(o)))},_n.clone=function(){return new v(this)},_n.diff=function(e,t,n){var s,a,r;if(!this.isValid())return NaN;if(!(s=Ft(e,this)).isValid())return NaN;switch(a=6e4*(s.utcOffset()-this.utcOffset()),t=I(t)){case"year":r=Qt(this,s)/12;break;case"month":r=Qt(this,s);break;case"quarter":r=Qt(this,s)/3;break;case"second":r=(this-s)/1e3;break;case"minute":r=(this-s)/6e4;break;case"hour":r=(this-s)/36e5;break;case"day":r=(this-s-a)/864e5;break;case"week":r=(this-s-a)/6048e5;break;default:r=this-s}return n?r:j(r)},_n.endOf=function(e){var t,s;if(void 0===(e=I(e))||"millisecond"===e||!this.isValid())return this;switch(s=this._isUTC?an:sn,e){case"year":t=s(this.year()+1,0,1)-1;break;case"quarter":t=s(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=s(this.year(),this.month()+1,1)-1;break;case"week":t=s(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=s(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=s(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-nn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-nn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-nn(t,1e3)-1}return this._d.setTime(t),n.updateOffset(this,!0),this},_n.format=function(e){var t=C(this,e=e||(this.isUtc()?n.defaultFormatUtc:n.defaultFormat));return this.localeData().postformat(t)},_n.from=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||Tt(e).isValid())?Gt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},_n.fromNow=function(e){return this.from(Tt(),e)},_n.to=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||Tt(e).isValid())?Gt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},_n.toNow=function(e){return this.to(Tt(),e)},_n.get=function(e){return b(this[e=I(e)])?this[e]():this},_n.invalidAt=function(){return f(this).overflow},_n.isAfter=function(e,t){var n=w(e)?e:Tt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=I(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},_n.isBefore=function(e,t){var n=w(e)?e:Tt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=I(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},_n.isBetween=function(e,t,n,s){var a=w(e)?e:Tt(e),r=w(t)?t:Tt(t);return!!(this.isValid()&&a.isValid()&&r.isValid())&&("("===(s=s||"()")[0]?this.isAfter(a,n):!this.isBefore(a,n))&&(")"===s[1]?this.isBefore(r,n):!this.isAfter(r,n))},_n.isSame=function(e,t){var n,s=w(e)?e:Tt(e);return!(!this.isValid()||!s.isValid())&&("millisecond"===(t=I(t)||"millisecond")?this.valueOf()===s.valueOf():(n=s.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},_n.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},_n.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},_n.isValid=function(){return m(this)},_n.lang=Kt,_n.locale=Xt,_n.localeData=en,_n.max=xt,_n.min=Ot,_n.parsingFlags=function(){return c({},f(this))},_n.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)r(e,t)&&n.push({unit:t,priority:A[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}(e=U(e)),s=0;s<n.length;s++)this[n[s].unit](e[n[s].unit]);else if(b(this[e=I(e)]))return this[e](t);return this},_n.startOf=function(e){var t,s;if(void 0===(e=I(e))||"millisecond"===e||!this.isValid())return this;switch(s=this._isUTC?an:sn,e){case"year":t=s(this.year(),0,1);break;case"quarter":t=s(this.year(),this.month()-this.month()%3,1);break;case"month":t=s(this.year(),this.month(),1);break;case"week":t=s(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=s(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=s(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=nn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=nn(t,6e4);break;case"second":t=this._d.valueOf(),t-=nn(t,1e3)}return this._d.setTime(t),n.updateOffset(this,!0),this},_n.subtract=$t,_n.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},_n.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()}},_n.toDate=function(){return new Date(this.valueOf())},_n.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||9999<n.year()?C(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):b(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",C(n,"Z")):C(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},_n.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,s="moment",a="";return this.isLocal()||(s=0===this.utcOffset()?"moment.utc":"moment.parseZone",a="Z"),e="["+s+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n=a+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(_n[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),_n.toJSON=function(){return this.isValid()?this.toISOString():null},_n.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},_n.unix=function(){return Math.floor(this.valueOf()/1e3)},_n.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},_n.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},_n.eraName=function(){for(var e,t=this.localeData().eras(),n=0,s=t.length;n<s;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].name;if(t[n].until<=e&&e<=t[n].since)return t[n].name}return""},_n.eraNarrow=function(){for(var e,t=this.localeData().eras(),n=0,s=t.length;n<s;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].narrow;if(t[n].until<=e&&e<=t[n].since)return t[n].narrow}return""},_n.eraAbbr=function(){for(var e,t=this.localeData().eras(),n=0,s=t.length;n<s;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].abbr;if(t[n].until<=e&&e<=t[n].since)return t[n].abbr}return""},_n.eraYear=function(){for(var e,t,s=this.localeData().eras(),a=0,r=s.length;a<r;++a)if(e=s[a].since<=s[a].until?1:-1,t=this.clone().startOf("day").valueOf(),s[a].since<=t&&t<=s[a].until||s[a].until<=t&&t<=s[a].since)return(this.year()-n(s[a].since).year())*e+s[a].offset;return this.year()},_n.year=Fe,_n.isLeapYear=function(){return G(this.year())},_n.weekYear=function(e){return un.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},_n.isoWeekYear=function(e){return un.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},_n.quarter=_n.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},_n.month=Ce,_n.daysInMonth=function(){return Oe(this.year(),this.month())},_n.week=_n.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},_n.isoWeek=_n.isoWeeks=function(e){var t=Ve(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},_n.weeksInYear=function(){var e=this.localeData()._week;return Ge(this.year(),e.dow,e.doy)},_n.weeksInWeekYear=function(){var e=this.localeData()._week;return Ge(this.weekYear(),e.dow,e.doy)},_n.isoWeeksInYear=function(){return Ge(this.year(),1,4)},_n.isoWeeksInISOWeekYear=function(){return Ge(this.isoWeekYear(),1,4)},_n.date=dn,_n.day=_n.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,n,s=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,n=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-s,"d")):s},_n.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},_n.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null==e)return this.day()||7;var t,n,s=(t=e,n=this.localeData(),"string"==typeof t?n.weekdaysParse(t)%7||7:isNaN(t)?null:t);return this.day(this.day()%7?s:s-7)},_n.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},_n.hour=_n.hours=nt,_n.minute=_n.minutes=cn,_n.second=_n.seconds=mn,_n.millisecond=_n.milliseconds=fn,_n.utcOffset=function(e,t,s){var a,r=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?r:It(this);if("string"==typeof e){if(null===(e=Ht(de,e)))return this}else Math.abs(e)<16&&!s&&(e*=60);return!this._isUTC&&t&&(a=It(this)),this._offset=e,this._isUTC=!0,null!=a&&this.add(a,"m"),r!==e&&(!t||this._changeInProgress?zt(this,Gt(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this},_n.utc=function(e){return this.utcOffset(0,e)},_n.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(It(this),"m")),this},_n.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Ht(ue,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},_n.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Tt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},_n.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},_n.isLocal=function(){return!!this.isValid()&&!this._isUTC},_n.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},_n.isUtc=Ut,_n.isUTC=Ut,_n.zoneAbbr=function(){return this._isUTC?"UTC":""},_n.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},_n.dates=M("dates accessor is deprecated. Use date instead.",dn),_n.months=M("months accessor is deprecated. Use month instead",Ce),_n.years=M("years accessor is deprecated. Use year instead",Fe),_n.zone=M("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),_n.isDSTShifted=M("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!o(this._isDSTShifted))return this._isDSTShifted;var e,t={};return p(t,this),(t=Yt(t))._a?(e=(t._isUTC?h:Tt)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var s=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),r=0,i=0;i<s;i++)q(e[i])!==q(t[i])&&r++;return r+a}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted}));var pn=O.prototype;function vn(e,t,n,s){var a=dt(),r=h().set(s,t);return a[n](r,e)}function wn(e,t,n){if(l(e)&&(t=e,e=void 0),e=e||"",null!=t)return vn(e,t,n,"month");for(var s=[],a=0;a<12;a++)s[a]=vn(e,a,n,"month");return s}function Sn(e,t,n,s){"boolean"==typeof e?l(t)&&(n=t,t=void 0):(t=e,e=!1,l(n=t)&&(n=t,t=void 0)),t=t||"";var a,r=dt(),i=e?r._week.dow:0,o=[];if(null!=n)return vn(t,(n+i)%7,s,"day");for(a=0;a<7;a++)o[a]=vn(t,(a+i)%7,s,"day");return o}pn.calendar=function(e,t,n){var s=this._calendar[e]||this._calendar.sameElse;return b(s)?s.call(t,n):s},pn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(N).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},pn.invalidDate=function(){return this._invalidDate},pn.ordinal=function(e){return this._ordinal.replace("%d",e)},pn.preparse=gn,pn.postformat=gn,pn.relativeTime=function(e,t,n,s){var a=this._relativeTime[n];return b(a)?a(e,t,n,s):a.replace(/%d/i,e)},pn.pastFuture=function(e,t){var n=this._relativeTime[0<e?"future":"past"];return b(n)?n(t):n.replace(/%s/i,t)},pn.set=function(e){var t,n;for(n in e)r(e,n)&&(b(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},pn.eras=function(e,t){for(var s,a=this._eras||dt("en")._eras,r=0,i=a.length;r<i;++r){if("string"==typeof a[r].since)s=n(a[r].since).startOf("day"),a[r].since=s.valueOf();switch(typeof a[r].until){case"undefined":a[r].until=1/0;break;case"string":s=n(a[r].until).startOf("day").valueOf(),a[r].until=s.valueOf()}}return a},pn.erasParse=function(e,t,n){var s,a,r,i,o,l=this.eras();for(e=e.toUpperCase(),s=0,a=l.length;s<a;++s)if(r=l[s].name.toUpperCase(),i=l[s].abbr.toUpperCase(),o=l[s].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(i===e)return l[s];break;case"NNNN":if(r===e)return l[s];break;case"NNNNN":if(o===e)return l[s]}else if(0<=[r,i,o].indexOf(e))return l[s]},pn.erasConvertYear=function(e,t){var s=e.since<=e.until?1:-1;return void 0===t?n(e.since).year():n(e.since).year()+(t-e.offset)*s},pn.erasAbbrRegex=function(e){return r(this,"_erasAbbrRegex")||on.call(this),e?this._erasAbbrRegex:this._erasRegex},pn.erasNameRegex=function(e){return r(this,"_erasNameRegex")||on.call(this),e?this._erasNameRegex:this._erasRegex},pn.erasNarrowRegex=function(e){return r(this,"_erasNarrowRegex")||on.call(this),e?this._erasNarrowRegex:this._erasRegex},pn.months=function(e,t){return e?s(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Le).test(t)?"format":"standalone"][e.month()]:s(this._months)?this._months:this._months.standalone},pn.monthsShort=function(e,t){return e?s(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Le.test(t)?"format":"standalone"][e.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},pn.monthsParse=function(e,t,n){var s,a,r;if(this._monthsParseExact)return function(e,t,n){var s,a,r,i=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)r=h([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(r,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(a=pe.call(this._shortMonthsParse,i))?a:null:-1!==(a=pe.call(this._longMonthsParse,i))?a:null:"MMM"===t?-1!==(a=pe.call(this._shortMonthsParse,i))||-1!==(a=pe.call(this._longMonthsParse,i))?a:null:-1!==(a=pe.call(this._longMonthsParse,i))||-1!==(a=pe.call(this._shortMonthsParse,i))?a:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if(a=h([2e3,s]),n&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),n||this._monthsParse[s]||(r="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[s]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[s].test(e))return s;if(n&&"MMM"===t&&this._shortMonthsParse[s].test(e))return s;if(!n&&this._monthsParse[s].test(e))return s}},pn.monthsRegex=function(e){return this._monthsParseExact?(r(this,"_monthsRegex")||We.call(this),e?this._monthsStrictRegex:this._monthsRegex):(r(this,"_monthsRegex")||(this._monthsRegex=Re),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},pn.monthsShortRegex=function(e){return this._monthsParseExact?(r(this,"_monthsRegex")||We.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(r(this,"_monthsShortRegex")||(this._monthsShortRegex=Pe),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},pn.week=function(e){return Ve(e,this._week.dow,this._week.doy).week},pn.firstDayOfYear=function(){return this._week.doy},pn.firstDayOfWeek=function(){return this._week.dow},pn.weekdays=function(e,t){var n=s(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?je(n,this._week.dow):e?n[e.day()]:n},pn.weekdaysMin=function(e){return!0===e?je(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},pn.weekdaysShort=function(e){return!0===e?je(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},pn.weekdaysParse=function(e,t,n){var s,a,r;if(this._weekdaysParseExact)return function(e,t,n){var s,a,r,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)r=h([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(a=pe.call(this._weekdaysParse,i))?a:null:"ddd"===t?-1!==(a=pe.call(this._shortWeekdaysParse,i))?a:null:-1!==(a=pe.call(this._minWeekdaysParse,i))?a:null:"dddd"===t?-1!==(a=pe.call(this._weekdaysParse,i))||-1!==(a=pe.call(this._shortWeekdaysParse,i))||-1!==(a=pe.call(this._minWeekdaysParse,i))?a:null:"ddd"===t?-1!==(a=pe.call(this._shortWeekdaysParse,i))||-1!==(a=pe.call(this._weekdaysParse,i))||-1!==(a=pe.call(this._minWeekdaysParse,i))?a:null:-1!==(a=pe.call(this._minWeekdaysParse,i))||-1!==(a=pe.call(this._weekdaysParse,i))||-1!==(a=pe.call(this._shortWeekdaysParse,i))?a:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(a=h([2e3,1]).day(s),n&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(r="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[s]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[s].test(e))return s;if(n&&"ddd"===t&&this._shortWeekdaysParse[s].test(e))return s;if(n&&"dd"===t&&this._minWeekdaysParse[s].test(e))return s;if(!n&&this._weekdaysParse[s].test(e))return s}},pn.weekdaysRegex=function(e){return this._weekdaysParseExact?(r(this,"_weekdaysRegex")||Qe.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(r(this,"_weekdaysRegex")||(this._weekdaysRegex=Ze),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},pn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(r(this,"_weekdaysRegex")||Qe.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(r(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=$e),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},pn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(r(this,"_weekdaysRegex")||Qe.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(r(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Je),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},pn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},pn.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},lt("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===q(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),n.lang=M("moment.lang is deprecated. Use moment.locale instead.",lt),n.langData=M("moment.langData is deprecated. Use moment.localeData instead.",dt);var Mn=Math.abs;function kn(e,t,n,s){var a=Gt(t,n);return e._milliseconds+=s*a._milliseconds,e._days+=s*a._days,e._months+=s*a._months,e._bubble()}function Dn(e){return e<0?Math.floor(e):Math.ceil(e)}function Yn(e){return 4800*e/146097}function bn(e){return 146097*e/4800}function Tn(e){return function(){return this.as(e)}}var On=Tn("ms"),xn=Tn("s"),Nn=Tn("m"),Ln=Tn("h"),Pn=Tn("d"),Rn=Tn("w"),En=Tn("M"),Cn=Tn("Q"),Wn=Tn("y");function Hn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Fn=Hn("milliseconds"),In=Hn("seconds"),Un=Hn("minutes"),An=Hn("hours"),Vn=Hn("days"),Gn=Hn("months"),jn=Hn("years"),qn=Math.round,Bn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};var zn=Math.abs;function Zn(e){return(0<e)-(e<0)||+e}function $n(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,s,a,r,i,o,l=zn(this._milliseconds)/1e3,u=zn(this._days),d=zn(this._months),c=this.asSeconds();return c?(e=j(l/60),t=j(e/60),l%=60,e%=60,n=j(d/12),d%=12,s=l?l.toFixed(3).replace(/\.?0+$/,""):"",a=c<0?"-":"",r=Zn(this._months)!==Zn(c)?"-":"",i=Zn(this._days)!==Zn(c)?"-":"",o=Zn(this._milliseconds)!==Zn(c)?"-":"",a+"P"+(n?r+n+"Y":"")+(d?r+d+"M":"")+(u?i+u+"D":"")+(t||e||l?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(l?o+s+"S":"")):"P0D"}var Jn=Pt.prototype;return Jn.isValid=function(){return this._isValid},Jn.abs=function(){var e=this._data;return this._milliseconds=Mn(this._milliseconds),this._days=Mn(this._days),this._months=Mn(this._months),e.milliseconds=Mn(e.milliseconds),e.seconds=Mn(e.seconds),e.minutes=Mn(e.minutes),e.hours=Mn(e.hours),e.months=Mn(e.months),e.years=Mn(e.years),this},Jn.add=function(e,t){return kn(this,e,t,1)},Jn.subtract=function(e,t){return kn(this,e,t,-1)},Jn.as=function(e){if(!this.isValid())return NaN;var t,n,s=this._milliseconds;if("month"===(e=I(e))||"quarter"===e||"year"===e)switch(t=this._days+s/864e5,n=this._months+Yn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(bn(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return 24*t+s/36e5;case"minute":return 1440*t+s/6e4;case"second":return 86400*t+s/1e3;case"millisecond":return Math.floor(864e5*t)+s;default:throw new Error("Unknown unit "+e)}},Jn.asMilliseconds=On,Jn.asSeconds=xn,Jn.asMinutes=Nn,Jn.asHours=Ln,Jn.asDays=Pn,Jn.asWeeks=Rn,Jn.asMonths=En,Jn.asQuarters=Cn,Jn.asYears=Wn,Jn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*q(this._months/12):NaN},Jn._bubble=function(){var e,t,n,s,a,r=this._milliseconds,i=this._days,o=this._months,l=this._data;return 0<=r&&0<=i&&0<=o||r<=0&&i<=0&&o<=0||(r+=864e5*Dn(bn(o)+i),o=i=0),l.milliseconds=r%1e3,e=j(r/1e3),l.seconds=e%60,t=j(e/60),l.minutes=t%60,n=j(t/60),l.hours=n%24,i+=j(n/24),o+=a=j(Yn(i)),i-=Dn(bn(a)),s=j(o/12),o%=12,l.days=i,l.months=o,l.years=s,this},Jn.clone=function(){return Gt(this)},Jn.get=function(e){return e=I(e),this.isValid()?this[e+"s"]():NaN},Jn.milliseconds=Fn,Jn.seconds=In,Jn.minutes=Un,Jn.hours=An,Jn.days=Vn,Jn.weeks=function(){return j(this.days()/7)},Jn.months=Gn,Jn.years=jn,Jn.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,s,a=!1,r=Bn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(a=e),"object"==typeof t&&(r=Object.assign({},Bn,t),null!=t.s&&null==t.ss&&(r.ss=t.s-1)),s=function(e,t,n,s){var a=Gt(e).abs(),r=qn(a.as("s")),i=qn(a.as("m")),o=qn(a.as("h")),l=qn(a.as("d")),u=qn(a.as("M")),d=qn(a.as("w")),c=qn(a.as("y")),h=(r<=n.ss?["s",r]:r<n.s&&["ss",r])||i<=1&&["m"]||i<n.m&&["mm",i]||o<=1&&["h"]||o<n.h&&["hh",o]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(h=h||d<=1&&["w"]||d<n.w&&["ww",d]),(h=h||u<=1&&["M"]||u<n.M&&["MM",u]||c<=1&&["y"]||["yy",c])[2]=t,h[3]=0<+e,h[4]=s,function(e,t,n,s,a){return a.relativeTime(t||1,!!n,e,s)}.apply(null,h)}(this,!a,r,n=this.localeData()),a&&(s=n.pastFuture(+this,s)),n.postformat(s)},Jn.toISOString=$n,Jn.toString=$n,Jn.toJSON=$n,Jn.locale=Xt,Jn.localeData=en,Jn.toIsoString=M("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",$n),Jn.lang=Kt,E("X",0,0,"unix"),E("x",0,0,"valueOf"),he("x",le),he("X",/[+-]?\d+(\.\d{1,3})?/),_e("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),_e("x",(function(e,t,n){n._d=new Date(q(e))})),n.version="2.29.1",e=Tt,n.fn=_n,n.min=function(){return Nt("isBefore",[].slice.call(arguments,0))},n.max=function(){return Nt("isAfter",[].slice.call(arguments,0))},n.now=function(){return Date.now?Date.now():+new Date},n.utc=h,n.unix=function(e){return Tt(1e3*e)},n.months=function(e,t){return wn(e,t,"months")},n.isDate=u,n.locale=lt,n.invalid=y,n.duration=Gt,n.isMoment=w,n.weekdays=function(e,t,n){return Sn(e,t,n,"weekdays")},n.parseZone=function(){return Tt.apply(null,arguments).parseZone()},n.localeData=dt,n.isDuration=Rt,n.monthsShort=function(e,t){return wn(e,t,"monthsShort")},n.weekdaysMin=function(e,t,n){return Sn(e,t,n,"weekdaysMin")},n.defineLocale=ut,n.updateLocale=function(e,t){var n,s,a;return null!=t?(a=st,null!=at[e]&&null!=at[e].parentLocale?at[e].set(T(at[e]._config,t)):(null!=(s=ot(e))&&(a=s._config),t=T(a,t),null==s&&(t.abbr=e),(n=new O(t)).parentLocale=at[e],at[e]=n),lt(e)):null!=at[e]&&(null!=at[e].parentLocale?(at[e]=at[e].parentLocale,e===lt()&&lt(e)):null!=at[e]&&delete at[e]),at[e]},n.locales=function(){return k(at)},n.weekdaysShort=function(e,t,n){return Sn(e,t,n,"weekdaysShort")},n.normalizeUnits=I,n.relativeTimeRounding=function(e){return void 0===e?qn:"function"==typeof e&&(qn=e,!0)},n.relativeTimeThreshold=function(e,t){return void 0!==Bn[e]&&(void 0===t?Bn[e]:(Bn[e]=t,"s"===e&&(Bn.ss=t-1),!0))},n.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},n.prototype=_n,n.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},n}));let getScript=document.currentScript;const userHrVal=getScript.dataset.hour,userMinsValue=getScript.dataset.minute,userAPVal=getScript.dataset.ap;let store,playButton=document.querySelector(".playButton"),audioSrc=document.querySelector("#audioSrc"),testAlarm=document.querySelector(".testAlarm"),modal__wrapper2=document.querySelector(".modal__wrapper2"),optionsSound=document.querySelector("#sound"),hours=document.querySelector("#edit-hour"),minutes=document.querySelector("#edit-minute"),AMPM=document.querySelector("#AMPM"),title=document.querySelector(".title"),result=document.querySelector(".result"),isPlaying=!1,alarm_alert_modal=document.querySelector(".alarm_alert_modal"),alarmTime=document.getElementsByClassName("alarmTime"),alarmTitles=document.getElementsByClassName("edit-alarm-title"),edit_alarm_result=document.querySelector(".edit_alarm_result"),editremainningTime=document.getElementsByClassName("editremainningTime");async function getUserAsync(e){let t=e;for(let e=0;e<t.length;e++){const n=t[e];"Bells"==n.innerHTML&&null===localStorage.getItem("alarmCode")&&(localStorage.setItem("alarmCode",n.innerHTML.toLowerCase()),n.setAttribute("selected","")),n.innerHTML.toLowerCase()==localStorage.getItem("alarmCode")&&(localStorage.setItem("alarmCode",n.innerHTML.toLowerCase()),n.setAttribute("selected",""))}}optionsSound.addEventListener("input",(()=>{localStorage.setItem("alarmCode",optionsSound.value.toLowerCase())})),getUserAsync(optionsSound);const playMusic=()=>{audio.src="sounds/"+localStorage.getItem("alarmCode").toLowerCase()+".mp3",audio.play(),audio.loop=!0,isPlaying=!0,playButton.classList.replace("fa-play","fa-pause")},pauseMusic=()=>{audio.src="sounds/"+optionsSound.value.toLowerCase()+".mp3",isPlaying=!1,audio.pause(),playButton.classList.replace("fa-pause","fa-play")};function checkTime(e){return e<10&&(e="0"+e),e}if(playButton.addEventListener("click",(()=>{isPlaying?pauseMusic():playMusic()})),optionsSound.addEventListener("input",(()=>{playMusic()})),audio.addEventListener("ended",(()=>{pauseMusic()})),userHrVal&&userMinsValue&&userAPVal){for(let e=0;e<hours.length;e++){const t=hours[e];t.innerHTML.replace(/\&nbsp;/g,"")==userHrVal+" "+userAPVal&&t.setAttribute("selected","")}for(let e=0;e<minutes.length;e++){const t=minutes[e];t.innerHTML==userMinsValue&&t.setAttribute("selected","")}}else{for(let e=0;e<hours.length;e++){const t=hours[e];t.innerHTML.replace(/\&nbsp;/g,"")==moment().format("h A")&&t.setAttribute("selected","")}for(let e=0;e<minutes.length;e++){const t=minutes[e];t.innerHTML==moment().add(userMinsValue,"minutes").format("mm")&&t.setAttribute("selected","")}}function Edit(){if(AlarmXCloseModal(),noSoundMusic.play(),noSoundMusic.loop=!0,0==activeAlarm){pauseMusic(),setAlarmTxt.innerHTML="",testAlarm.style.display="none",editAlarm.style.display="none",btn1.style.display="none",edit_alarm_result.style.display="block";let t=hours.value.split(" "),n=t[0],s=t[1];alarmElement=n.replace(/\xA0/g," ")+":"+minutes.value+" "+s;let a=new Date;a=new Date(a.getFullYear(),a.getMonth(),a.getDate(),a.getHours(),a.getMinutes(),0);let r=n;"PM"===s&&(r=parseInt(r)+12);var e=new Date(a.getFullYear(),a.getMonth(),a.getDate(),r,minutes.value,0);a.getTime()>=e.getTime()&&(e=new Date(a.getFullYear(),a.getMonth(),a.getDate()+1,r,minutes.value,0)),localStorage.setItem("dateObject",JSON.stringify(e)),EdittimeDiffererence(n,minutes.value,s),""!==title.value&&(alarmTitles[0].innerHTML=localStorage.getItem(`${URL}-alarmTitle`)),alarmTime[0].innerHTML=localStorage.getItem(`${URL}-alarm`),alarmTime[1].innerHTML=localStorage.getItem(`${URL}-alarm`)}}function EdittimeDiffererence(e,t,n){var s,a=new Date,r=a.getHours();var i,o=r>12?r-12:r,l=a.getMinutes(),u=a.getSeconds();s=r<12?"AM":"PM";isNaN(o)||isNaN(l)||isNaN(u)||isNaN(e)||isNaN(t)||isNaN("0")||(i=o,("PM"==s&&o<12||"AM"==s&&12==o)&&(i=o+12),hours24FormatEnd=e,("PM"==n&&e<12||"AM"==n&&12==e)&&(hours24FormatEnd=parseInt(e)+12),start=new Date(a.getFullYear(),a.getMonth(),a.getDate(),i,l,u),end=new Date(a.getFullYear(),a.getMonth(),a.getDate(),hours24FormatEnd,t,"0"),start>end&&(end=end.addDays(1)),EditstartTimer((end.getTime()-start.getTime())/1e3,e,t,n))}var x;function EditstartTimer(e,t,n,s){editremainningTime[1].innerHTML="";var a,r,i,o,l=e;clearInterval(x),x=setInterval((function(){EdittimeDiffererence(t,n,s),a=parseInt(l/3600,10),o=parseInt(l%3600,10),r=parseInt(o/60,10),o=parseInt(l%60,10),a=a<10?"0"+a:a,r=r<10?"0"+r:r,i=(i=o)<10?"0"+i:i,editremainningTime[0].innerHTML="Remaining Time:",editremainningTime[1].innerHTML=a+":"+r+":"+i;let e=localStorage.getItem("dateObject"),u=new Date;e=new Date(JSON.parse(e)),u.getTime()>e.getTime()&&(openModal2(),playMusic(),clearInterval(x),localStorage.removeItem(`${URL}-EditOptionbackground`),localStorage.removeItem(`${URL}-alarm`),localStorage.removeItem(`${URL}-alarmTitle`)),--l<0&&(openModal2(),playMusic(),clearInterval(x),localStorage.removeItem(`${URL}-EditOptionbackground`),localStorage.removeItem(`${URL}-alarm`),localStorage.removeItem(`${URL}-alarmTitle`))}),1e3)}Date.prototype.addDays=function(e){var t=new Date(this.valueOf());return t.setDate(t.getDate()+e),t},document.querySelectorAll(".stopEditAlarm").forEach((e=>{e.addEventListener("click",(e=>{noSoundMusic.pause(),pauseMusic(),audio.pause(),closeModal2(),edit_alarm_result.style.display="none",testAlarm.style.display="block",editAlarm.style.display="block",btn1.style.display="block",localStorage.removeItem(`${URL}-EditOptionbackground`),localStorage.removeItem(`${URL}-alarm`),localStorage.removeItem(`${URL}-alarmTitle`)}))}));let stopEditAlarm2=document.querySelector(".stopEditAlarm2");function openModal2(){modal__wrapper2.classList.add("active")}function closeModal2(){modal__wrapper2.classList.remove("active")}var removeNav;stopEditAlarm2.addEventListener("click",(()=>{noSoundMusic.pause(),clearInterval(x),testAlarm.style.display="block",editAlarm.style.display="block",btn1.style.display="block",edit_alarm_result.style.display="none",localStorage.removeItem(`${URL}-EditOptionbackground`),localStorage.removeItem(`${URL}-alarm`),localStorage.removeItem(`${URL}-alarmTitle`)})),closeBtn.addEventListener("click",(function(){closeModal2()})),modal__wrapper2.addEventListener("click",(function(e){e.target===this&&closeModal2()})),document.addEventListener("keydown",(function(e){"Escape"===e.key&&closeModal2()}));{const e=document.querySelector("#staticBackdrop"),t=document.querySelector("#int-modal-btn"),n=document.querySelector("#close-modal");t&&(t.addEventListener("click",(()=>{e.style.display="block",e.classList.add("show");let t=document.createElement("div");t.classList.add("modal-backdrop","show"),document.body.appendChild(t)})),n.addEventListener("click",(()=>{e.style.display="none",e.classList.remove("show");let t=document.querySelector(".modal-backdrop");document.body.removeChild(t)})));let s=document.querySelector("#navbarDropdown"),a=document.querySelector(".dropmenu");s.addEventListener("click",(()=>{a.classList.contains("show")?(a.classList.remove("show"),a.style.display="none"):(a.classList.add("show"),a.style.display="block",a.style.padding=".5rem 0")}));const r=document.querySelector(".navbar-toggler"),i=document.querySelector("#navbarSupportedContent");r.addEventListener("click",(()=>{i.classList.contains("show")?(i.classList.remove("show"),i.style.display="none"):(i.classList.add("show"),i.style.display="block")}))}let expand_btn=document.querySelector(".expand_btn"),el=document.querySelector(".full_screen_preview"),clockDate=document.querySelector("#clockdate");function exitHandler(){document.fullscreenElement||document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||(el.style="",clockDate.style.height="auto",clockDate.style.padding="35px")}expand_btn.addEventListener("click",(()=>{if(el.requestFullscreen){let e="\n    display: flex;\n    justify-content: center;\n    flex-direction: column;\n    height: 100vh;\n    ";el.style="background:linear-gradient(281deg, #0d0c0c -0.74%, #2c2c2c 101.97%)",clockDate.style=e,el.requestFullscreen(),document.querySelector(".calendar-wrapper").style.flexWrap="unset !important"}})),document.addEventListener("fullscreenchange",exitHandler),document.addEventListener("webkitfullscreenchange",exitHandler),document.addEventListener("mozfullscreenchange",exitHandler),document.addEventListener("MSFullscreenChange",exitHandler),expand_btn.onclick=function(e){document.fullscreenElement?(el.style="",clockDate.style.height="auto",clockDate.style.padding="35px",document.exitFullscreen().then((()=>console.log("Document Exited from Full screen mode"))).catch((e=>console.error(e)))):document.documentElement.requestFullscreen()};const openSidebarButton=document.getElementById("openSidebarButton"),sidebar=document.getElementById("settingsModal"),okButton=document.getElementById("btn-options-close"),switchDigital=document.querySelector("#switch-digital"),clockdateWrapper=document.querySelector(".clockdate-wrapper");let switchDate=document.querySelector("#switch-date");const calendarWrapper=document.querySelector(".calendar-wrapper");let hr,min,ap,sec,date=new Date,day=date.getDate(),year=date.getFullYear();function startTime(){var e=new Date;hr=e.getHours(),min=e.getMinutes(),sec=e.getSeconds(),min=checkTime(min),sec=checkTime(sec),ap=hr<12?"AM":"PM",hr=0==hr?12:hr,hr=hr>12?hr-12:hr;let t=document.getElementById("clock");t&&(t.innerHTML=hr+":"+min+":"+sec+" "+`${ap}`),setTimeout((function(){startTime()}),500)}function checkTime(e){return e<10&&(e="0"+e),e}startTime();let monthNames=["Jan","Feb","Mar","April","May","June","July","August","Sep","Oct","Nov","Dec"],dayNames=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],weekdayLabel=document.getElementsByClassName("weekday-label")[0];weekdayLabel&&(weekdayLabel.innerHTML=dayNames[date.getDay(0)]+" ");let monthLabel=document.getElementsByClassName("month-label")[0];monthLabel&&(monthLabel.innerHTML="- "+monthNames[date.getMonth()]);let dayLabel=document.getElementsByClassName("day-label")[0];dayLabel&&(dayLabel.innerHTML=day);let currentYear=document.getElementsByClassName("year")[0];currentYear&&(currentYear.innerHTML="."+year),openSidebarButton.addEventListener("click",(function(){sidebar.classList.toggle("open")})),document.addEventListener("click",(function(e){const t=e.target;t.closest("#sidebar")||t===openSidebarButton||sidebar.classList.remove("open")})),null!==localStorage.getItem("digitalFont")&&null!==localStorage.getItem("clockDate")||(localStorage.setItem("digitalFont",!0),localStorage.setItem("clockDate",!0)),"true"==localStorage.getItem("digitalFont")?(clockdateWrapper.style.fontFamily="myFirstFont",switchDigital.checked=!0):(clockdateWrapper.style.fontFamily="inherit",switchDigital.checked=!1),switchDigital.addEventListener("change",(function(){this.checked?(localStorage.setItem("digitalFont",!0),clockdateWrapper.style.fontFamily="myFirstFont"):(localStorage.setItem("digitalFont",!1),clockdateWrapper.style.fontFamily="inherit")})),"true"==localStorage.getItem("clockDate")?(calendarWrapper.style.display="inline-flex",switchDate.checked=!0):(calendarWrapper.style.display="none",switchDate.checked=!1),switchDate.addEventListener("change",(function(){this.checked?(localStorage.setItem("clockDate",!0),calendarWrapper.style.display="inline-flex"):(localStorage.setItem("clockDate",!1),calendarWrapper.style.display="none")}));