UNPKG

hdjs

Version:
1 lines 378 kB
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.hdjs=t():e.hdjs=t()}(this,function(){return function(e){function t(n){if(a[n])return a[n].exports;var r=a[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n=window.webpackJsonphdjs;window.webpackJsonphdjs=function(a,i,s){for(var o,d,u,l=0,_=[];l<a.length;l++)d=a[l],r[d]&&_.push(r[d][0]),r[d]=0;for(o in i)Object.prototype.hasOwnProperty.call(i,o)&&(e[o]=i[o]);for(n&&n(a,i,s);_.length;)_.shift()();if(s)for(l=0;l<s.length;l++)u=t(t.s=s[l]);return u};var a={},r={3:0};return t.e=function(e){function n(){o.onerror=o.onload=null,clearTimeout(d);var t=r[e];0!==t&&(t&&t[1](new Error("Loading chunk "+e+" failed.")),r[e]=void 0)}var a=r[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var i=new Promise(function(t,n){a=r[e]=[t,n]});a[2]=i;var s=document.getElementsByTagName("head")[0],o=document.createElement("script");o.type="text/javascript",o.charset="utf-8",o.async=!0,o.timeout=12e4,t.nc&&o.setAttribute("nonce",t.nc),o.src=t.p+""+{0:"c1c7a022495179ab3ea1",1:"6b4b836e67a8d54163b4",2:"24204e7c2e3cb5a9fba4",4:"9b10814bd41db82f441e"}[e]+".js";var d=setTimeout(n,12e4);return o.onerror=o.onload=n,s.appendChild(o),i},t.m=e,t.c=a,t.d=function(e,n,a){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:a})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/dist/",t.oe=function(e){throw console.error(e),e},t(t.s=503)}([function(e,t,n){(function(e){!function(t,n){e.exports=n()}(0,function(){"use strict";function t(){return Sa.apply(null,arguments)}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function r(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function i(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}function s(e){return void 0===e}function o(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function d(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function u(e,t){var n,a=[];for(n=0;n<e.length;++n)a.push(t(e[n],n));return a}function l(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function _(e,t){for(var n in t)l(t,n)&&(e[n]=t[n]);return l(t,"toString")&&(e.toString=t.toString),l(t,"valueOf")&&(e.valueOf=t.valueOf),e}function c(e,t,n,a){return Tt(e,t,n,a,!0).utc()}function m(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function h(e){return null==e._pf&&(e._pf=m()),e._pf}function f(e){if(null==e._isValid){var t=h(e),n=xa.call(t.parsedDateParts,function(e){return null!=e}),a=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(a=a&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return a;e._isValid=a}return e._isValid}function p(e){var t=c(NaN);return null!=e?_(h(t),e):h(t).userInvalidated=!0,t}function M(e,t){var n,a,r;if(s(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),s(t._i)||(e._i=t._i),s(t._f)||(e._f=t._f),s(t._l)||(e._l=t._l),s(t._strict)||(e._strict=t._strict),s(t._tzm)||(e._tzm=t._tzm),s(t._isUTC)||(e._isUTC=t._isUTC),s(t._offset)||(e._offset=t._offset),s(t._pf)||(e._pf=h(t)),s(t._locale)||(e._locale=t._locale),Ha.length>0)for(n=0;n<Ha.length;n++)a=Ha[n],r=t[a],s(r)||(e[a]=r);return e}function y(e){M(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===ja&&(ja=!0,t.updateOffset(this),ja=!1)}function L(e){return e instanceof y||null!=e&&null!=e._isAMomentObject}function g(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Y(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=g(t)),n}function v(e,t,n){var a,r=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),s=0;for(a=0;a<r;a++)(n&&e[a]!==t[a]||!n&&Y(e[a])!==Y(t[a]))&&s++;return s+i}function k(e){!1===t.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function D(e,n){var a=!0;return _(function(){if(null!=t.deprecationHandler&&t.deprecationHandler(null,e),a){for(var r,i=[],s=0;s<arguments.length;s++){if(r="","object"==typeof arguments[s]){r+="\n["+s+"] ";for(var o in arguments[0])r+=o+": "+arguments[0][o]+", ";r=r.slice(0,-2)}else r=arguments[s];i.push(r)}k(e+"\nArguments: "+Array.prototype.slice.call(i).join("")+"\n"+(new Error).stack),a=!1}return n.apply(this,arguments)},n)}function T(e,n){null!=t.deprecationHandler&&t.deprecationHandler(e,n),Ea[e]||(k(n),Ea[e]=!0)}function w(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function b(e){var t,n;for(n in e)t=e[n],w(t)?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function S(e,t){var n,a=_({},e);for(n in t)l(t,n)&&(r(e[n])&&r(t[n])?(a[n]={},_(a[n],e[n]),_(a[n],t[n])):null!=t[n]?a[n]=t[n]:delete a[n]);for(n in e)l(e,n)&&!l(t,n)&&r(e[n])&&(a[n]=_({},a[n]));return a}function x(e){null!=e&&this.set(e)}function H(e,t,n){var a=this._calendar[e]||this._calendar.sameElse;return w(a)?a.call(t,n):a}function j(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])}function E(){return this._invalidDate}function O(e){return this._ordinal.replace("%d",e)}function P(e,t,n,a){var r=this._relativeTime[n];return w(r)?r(e,t,n,a):r.replace(/%d/i,e)}function A(e,t){var n=this._relativeTime[e>0?"future":"past"];return w(n)?n(t):n.replace(/%s/i,t)}function W(e,t){var n=e.toLowerCase();Fa[n]=Fa[n+"s"]=Fa[t]=e}function C(e){return"string"==typeof e?Fa[e]||Fa[e.toLowerCase()]:void 0}function F(e){var t,n,a={};for(n in e)l(e,n)&&(t=C(n))&&(a[t]=e[n]);return a}function N(e,t){Na[e]=t}function $(e){var t=[];for(var n in e)t.push({unit:n,priority:Na[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function z(e,t,n){var a=""+Math.abs(e),r=t-a.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+a}function I(e,t,n,a){var r=a;"string"==typeof a&&(r=function(){return this[a]()}),e&&(Ra[e]=r),t&&(Ra[t[0]]=function(){return z(r.apply(this,arguments),t[1],t[2])}),n&&(Ra[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function R(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function J(e){var t,n,a=e.match($a);for(t=0,n=a.length;t<n;t++)Ra[a[t]]?a[t]=Ra[a[t]]:a[t]=R(a[t]);return function(t){var r,i="";for(r=0;r<n;r++)i+=w(a[r])?a[r].call(t,e):a[r];return i}}function U(e,t){return e.isValid()?(t=q(t,e.localeData()),Ia[t]=Ia[t]||J(t),Ia[t](e)):e.localeData().invalidDate()}function q(e,t){function n(e){return t.longDateFormat(e)||e}var a=5;for(za.lastIndex=0;a>=0&&za.test(e);)e=e.replace(za,n),za.lastIndex=0,a-=1;return e}function G(e,t,n){or[e]=w(t)?t:function(e,a){return e&&n?n:t}}function V(e,t){return l(or,e)?or[e](t._strict,t._locale):new RegExp(B(e))}function B(e){return K(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,a,r){return t||n||a||r}))}function K(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Z(e,t){var n,a=t;for("string"==typeof e&&(e=[e]),o(t)&&(a=function(e,n){n[t]=Y(e)}),n=0;n<e.length;n++)dr[e[n]]=a}function Q(e,t){Z(e,function(e,n,a,r){a._w=a._w||{},t(e,a._w,a,r)})}function X(e,t,n){null!=t&&l(dr,e)&&dr[e](t,n._a,n,e)}function ee(e){return te(e)?366:365}function te(e){return e%4==0&&e%100!=0||e%400==0}function ne(){return te(this.year())}function ae(e,n){return function(a){return null!=a?(ie(this,e,a),t.updateOffset(this,n),this):re(this,e)}}function re(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function ie(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&te(e.year())?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),ue(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function se(e){return e=C(e),w(this[e])?this[e]():this}function oe(e,t){if("object"==typeof e){e=F(e);for(var n=$(e),a=0;a<n.length;a++)this[n[a].unit](e[n[a].unit])}else if(e=C(e),w(this[e]))return this[e](t);return this}function de(e,t){return(e%t+t)%t}function ue(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=de(t,12);return e+=(t-n)/12,1===n?te(e)?29:28:31-n%7%2}function le(e,t){return e?a(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||gr).test(t)?"format":"standalone"][e.month()]:a(this._months)?this._months:this._months.standalone}function _e(e,t){return e?a(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[gr.test(t)?"format":"standalone"][e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function ce(e,t,n){var a,r,i,s=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],a=0;a<12;++a)i=c([2e3,a]),this._shortMonthsParse[a]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[a]=this.months(i,"").toLocaleLowerCase();return n?"MMM"===t?(r=yr.call(this._shortMonthsParse,s),-1!==r?r:null):(r=yr.call(this._longMonthsParse,s),-1!==r?r:null):"MMM"===t?-1!==(r=yr.call(this._shortMonthsParse,s))?r:(r=yr.call(this._longMonthsParse,s),-1!==r?r:null):-1!==(r=yr.call(this._longMonthsParse,s))?r:(r=yr.call(this._shortMonthsParse,s),-1!==r?r:null)}function me(e,t,n){var a,r,i;if(this._monthsParseExact)return ce.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),a=0;a<12;a++){if(r=c([2e3,a]),n&&!this._longMonthsParse[a]&&(this._longMonthsParse[a]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[a]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[a]||(i="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[a]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[a].test(e))return a;if(n&&"MMM"===t&&this._shortMonthsParse[a].test(e))return a;if(!n&&this._monthsParse[a].test(e))return a}}function he(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=Y(t);else if(t=e.localeData().monthsParse(t),!o(t))return e;return n=Math.min(e.date(),ue(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function fe(e){return null!=e?(he(this,e),t.updateOffset(this,!0),this):re(this,"Month")}function pe(){return ue(this.year(),this.month())}function Me(e){return this._monthsParseExact?(l(this,"_monthsRegex")||Le.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(l(this,"_monthsShortRegex")||(this._monthsShortRegex=kr),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function ye(e){return this._monthsParseExact?(l(this,"_monthsRegex")||Le.call(this),e?this._monthsStrictRegex:this._monthsRegex):(l(this,"_monthsRegex")||(this._monthsRegex=Dr),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function Le(){function e(e,t){return t.length-e.length}var t,n,a=[],r=[],i=[];for(t=0;t<12;t++)n=c([2e3,t]),a.push(this.monthsShort(n,"")),r.push(this.months(n,"")),i.push(this.months(n,"")),i.push(this.monthsShort(n,""));for(a.sort(e),r.sort(e),i.sort(e),t=0;t<12;t++)a[t]=K(a[t]),r[t]=K(r[t]);for(t=0;t<24;t++)i[t]=K(i[t]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+a.join("|")+")","i")}function ge(e,t,n,a,r,i,s){var o=new Date(e,t,n,a,r,i,s);return e<100&&e>=0&&isFinite(o.getFullYear())&&o.setFullYear(e),o}function Ye(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function ve(e,t,n){var a=7+t-n;return-(7+Ye(e,0,a).getUTCDay()-t)%7+a-1}function ke(e,t,n,a,r){var i,s,o=(7+n-a)%7,d=ve(e,a,r),u=1+7*(t-1)+o+d;return u<=0?(i=e-1,s=ee(i)+u):u>ee(e)?(i=e+1,s=u-ee(e)):(i=e,s=u),{year:i,dayOfYear:s}}function De(e,t,n){var a,r,i=ve(e.year(),t,n),s=Math.floor((e.dayOfYear()-i-1)/7)+1;return s<1?(r=e.year()-1,a=s+Te(r,t,n)):s>Te(e.year(),t,n)?(a=s-Te(e.year(),t,n),r=e.year()+1):(r=e.year(),a=s),{week:a,year:r}}function Te(e,t,n){var a=ve(e,t,n),r=ve(e+1,t,n);return(ee(e)-a+r)/7}function we(e){return De(e,this._week.dow,this._week.doy).week}function be(){return this._week.dow}function Se(){return this._week.doy}function xe(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function He(e){var t=De(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function je(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function Ee(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Oe(e,t){return e?a(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:a(this._weekdays)?this._weekdays:this._weekdays.standalone}function Pe(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ae(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function We(e,t,n){var a,r,i,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],a=0;a<7;++a)i=c([2e3,1]).day(a),this._minWeekdaysParse[a]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[a]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[a]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?(r=yr.call(this._weekdaysParse,s),-1!==r?r:null):"ddd"===t?(r=yr.call(this._shortWeekdaysParse,s),-1!==r?r:null):(r=yr.call(this._minWeekdaysParse,s),-1!==r?r:null):"dddd"===t?-1!==(r=yr.call(this._weekdaysParse,s))?r:-1!==(r=yr.call(this._shortWeekdaysParse,s))?r:(r=yr.call(this._minWeekdaysParse,s),-1!==r?r:null):"ddd"===t?-1!==(r=yr.call(this._shortWeekdaysParse,s))?r:-1!==(r=yr.call(this._weekdaysParse,s))?r:(r=yr.call(this._minWeekdaysParse,s),-1!==r?r:null):-1!==(r=yr.call(this._minWeekdaysParse,s))?r:-1!==(r=yr.call(this._weekdaysParse,s))?r:(r=yr.call(this._shortWeekdaysParse,s),-1!==r?r:null)}function Ce(e,t,n){var a,r,i;if(this._weekdaysParseExact)return We.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),a=0;a<7;a++){if(r=c([2e3,1]).day(a),n&&!this._fullWeekdaysParse[a]&&(this._fullWeekdaysParse[a]=new RegExp("^"+this.weekdays(r,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[a]=new RegExp("^"+this.weekdaysShort(r,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[a]=new RegExp("^"+this.weekdaysMin(r,"").replace(".",".?")+"$","i")),this._weekdaysParse[a]||(i="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[a]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[a].test(e))return a;if(n&&"ddd"===t&&this._shortWeekdaysParse[a].test(e))return a;if(n&&"dd"===t&&this._minWeekdaysParse[a].test(e))return a;if(!n&&this._weekdaysParse[a].test(e))return a}}function Fe(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=je(e,this.localeData()),this.add(e-t,"d")):t}function Ne(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")}function $e(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Ee(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function ze(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=xr),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Ie(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Hr),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Re(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=jr),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Je(){function e(e,t){return t.length-e.length}var t,n,a,r,i,s=[],o=[],d=[],u=[];for(t=0;t<7;t++)n=c([2e3,1]).day(t),a=this.weekdaysMin(n,""),r=this.weekdaysShort(n,""),i=this.weekdays(n,""),s.push(a),o.push(r),d.push(i),u.push(a),u.push(r),u.push(i);for(s.sort(e),o.sort(e),d.sort(e),u.sort(e),t=0;t<7;t++)o[t]=K(o[t]),d[t]=K(d[t]),u[t]=K(u[t]);this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+d.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+s.join("|")+")","i")}function Ue(){return this.hours()%12||12}function qe(){return this.hours()||24}function Ge(e,t){I(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Ve(e,t){return t._meridiemParse}function Be(e){return"p"===(e+"").toLowerCase().charAt(0)}function Ke(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Ze(e){return e?e.toLowerCase().replace("_","-"):e}function Qe(e){for(var t,n,a,r,i=0;i<e.length;){for(r=Ze(e[i]).split("-"),t=r.length,n=Ze(e[i+1]),n=n?n.split("-"):null;t>0;){if(a=Xe(r.slice(0,t).join("-")))return a;if(n&&n.length>=t&&v(r,n,!0)>=t-1)break;t--}i++}return null}function Xe(t){var a=null;if(!Wr[t]&&void 0!==e&&e&&e.exports)try{a=Er._abbr;n(388)("./"+t),et(a)}catch(e){}return Wr[t]}function et(e,t){var n;return e&&(n=s(t)?at(e):tt(e,t))&&(Er=n),Er._abbr}function tt(e,t){if(null!==t){var n=Ar;if(t.abbr=e,null!=Wr[e])T("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."),n=Wr[e]._config;else if(null!=t.parentLocale){if(null==Wr[t.parentLocale])return Cr[t.parentLocale]||(Cr[t.parentLocale]=[]),Cr[t.parentLocale].push({name:e,config:t}),null;n=Wr[t.parentLocale]._config}return Wr[e]=new x(S(n,t)),Cr[e]&&Cr[e].forEach(function(e){tt(e.name,e.config)}),et(e),Wr[e]}return delete Wr[e],null}function nt(e,t){if(null!=t){var n,a=Ar;null!=Wr[e]&&(a=Wr[e]._config),t=S(a,t),n=new x(t),n.parentLocale=Wr[e],Wr[e]=n,et(e)}else null!=Wr[e]&&(null!=Wr[e].parentLocale?Wr[e]=Wr[e].parentLocale:null!=Wr[e]&&delete Wr[e]);return Wr[e]}function at(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Er;if(!a(e)){if(t=Xe(e))return t;e=[e]}return Qe(e)}function rt(){return Oa(Wr)}function it(e){var t,n=e._a;return n&&-2===h(e).overflow&&(t=n[lr]<0||n[lr]>11?lr:n[_r]<1||n[_r]>ue(n[ur],n[lr])?_r:n[cr]<0||n[cr]>24||24===n[cr]&&(0!==n[mr]||0!==n[hr]||0!==n[fr])?cr:n[mr]<0||n[mr]>59?mr:n[hr]<0||n[hr]>59?hr:n[fr]<0||n[fr]>999?fr:-1,h(e)._overflowDayOfYear&&(t<ur||t>_r)&&(t=_r),h(e)._overflowWeeks&&-1===t&&(t=pr),h(e)._overflowWeekday&&-1===t&&(t=Mr),h(e).overflow=t),e}function st(e,t,n){return null!=e?e:null!=t?t:n}function ot(e){var n=new Date(t.now());return e._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}function dt(e){var t,n,a,r,i=[];if(!e._d){for(a=ot(e),e._w&&null==e._a[_r]&&null==e._a[lr]&&ut(e),null!=e._dayOfYear&&(r=st(e._a[ur],a[ur]),(e._dayOfYear>ee(r)||0===e._dayOfYear)&&(h(e)._overflowDayOfYear=!0),n=Ye(r,0,e._dayOfYear),e._a[lr]=n.getUTCMonth(),e._a[_r]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=i[t]=a[t];for(;t<7;t++)e._a[t]=i[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[cr]&&0===e._a[mr]&&0===e._a[hr]&&0===e._a[fr]&&(e._nextDay=!0,e._a[cr]=0),e._d=(e._useUTC?Ye:ge).apply(null,i),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[cr]=24),e._w&&void 0!==e._w.d&&e._w.d!==e._d.getDay()&&(h(e).weekdayMismatch=!0)}}function ut(e){var t,n,a,r,i,s,o,d;if(t=e._w,null!=t.GG||null!=t.W||null!=t.E)i=1,s=4,n=st(t.GG,e._a[ur],De(wt(),1,4).year),a=st(t.W,1),((r=st(t.E,1))<1||r>7)&&(d=!0);else{i=e._locale._week.dow,s=e._locale._week.doy;var u=De(wt(),i,s);n=st(t.gg,e._a[ur],u.year),a=st(t.w,u.week),null!=t.d?((r=t.d)<0||r>6)&&(d=!0):null!=t.e?(r=t.e+i,(t.e<0||t.e>6)&&(d=!0)):r=i}a<1||a>Te(n,i,s)?h(e)._overflowWeeks=!0:null!=d?h(e)._overflowWeekday=!0:(o=ke(n,a,r,i,s),e._a[ur]=o.year,e._dayOfYear=o.dayOfYear)}function lt(e){var t,n,a,r,i,s,o=e._i,d=Fr.exec(o)||Nr.exec(o);if(d){for(h(e).iso=!0,t=0,n=zr.length;t<n;t++)if(zr[t][1].exec(d[1])){r=zr[t][0],a=!1!==zr[t][2];break}if(null==r)return void(e._isValid=!1);if(d[3]){for(t=0,n=Ir.length;t<n;t++)if(Ir[t][1].exec(d[3])){i=(d[2]||" ")+Ir[t][0];break}if(null==i)return void(e._isValid=!1)}if(!a&&null!=i)return void(e._isValid=!1);if(d[4]){if(!$r.exec(d[4]))return void(e._isValid=!1);s="Z"}e._f=r+(i||"")+(s||""),yt(e)}else e._isValid=!1}function _t(e,t,n,a,r,i){var s=[ct(e),vr.indexOf(t),parseInt(n,10),parseInt(a,10),parseInt(r,10)];return i&&s.push(parseInt(i,10)),s}function ct(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function mt(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}function ht(e,t,n){if(e){if(br.indexOf(e)!==new Date(t[0],t[1],t[2]).getDay())return h(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function ft(e,t,n){if(e)return Ur[e];if(t)return 0;var a=parseInt(n,10),r=a%100;return(a-r)/100*60+r}function pt(e){var t=Jr.exec(mt(e._i));if(t){var n=_t(t[4],t[3],t[2],t[5],t[6],t[7]);if(!ht(t[1],n,e))return;e._a=n,e._tzm=ft(t[8],t[9],t[10]),e._d=Ye.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),h(e).rfc2822=!0}else e._isValid=!1}function Mt(e){var n=Rr.exec(e._i);if(null!==n)return void(e._d=new Date(+n[1]));lt(e),!1===e._isValid&&(delete e._isValid,pt(e),!1===e._isValid&&(delete e._isValid,t.createFromInputFallback(e)))}function yt(e){if(e._f===t.ISO_8601)return void lt(e);if(e._f===t.RFC_2822)return void pt(e);e._a=[],h(e).empty=!0;var n,a,r,i,s,o=""+e._i,d=o.length,u=0;for(r=q(e._f,e._locale).match($a)||[],n=0;n<r.length;n++)i=r[n],a=(o.match(V(i,e))||[])[0],a&&(s=o.substr(0,o.indexOf(a)),s.length>0&&h(e).unusedInput.push(s),o=o.slice(o.indexOf(a)+a.length),u+=a.length),Ra[i]?(a?h(e).empty=!1:h(e).unusedTokens.push(i),X(i,a,e)):e._strict&&!a&&h(e).unusedTokens.push(i);h(e).charsLeftOver=d-u,o.length>0&&h(e).unusedInput.push(o),e._a[cr]<=12&&!0===h(e).bigHour&&e._a[cr]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[cr]=Lt(e._locale,e._a[cr],e._meridiem),dt(e),it(e)}function Lt(e,t,n){var a;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(a=e.isPM(n),a&&t<12&&(t+=12),a||12!==t||(t=0),t):t}function gt(e){var t,n,a,r,i;if(0===e._f.length)return h(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;r<e._f.length;r++)i=0,t=M({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],yt(t),f(t)&&(i+=h(t).charsLeftOver,i+=10*h(t).unusedTokens.length,h(t).score=i,(null==a||i<a)&&(a=i,n=t));_(e,n||t)}function Yt(e){if(!e._d){var t=F(e._i);e._a=u([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),dt(e)}}function vt(e){var t=new y(it(kt(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function kt(e){var t=e._i,n=e._f;return e._locale=e._locale||at(e._l),null===t||void 0===n&&""===t?p({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),L(t)?new y(it(t)):(d(t)?e._d=t:a(n)?gt(e):n?yt(e):Dt(e),f(e)||(e._d=null),e))}function Dt(e){var n=e._i;s(n)?e._d=new Date(t.now()):d(n)?e._d=new Date(n.valueOf()):"string"==typeof n?Mt(e):a(n)?(e._a=u(n.slice(0),function(e){return parseInt(e,10)}),dt(e)):r(n)?Yt(e):o(n)?e._d=new Date(n):t.createFromInputFallback(e)}function Tt(e,t,n,s,o){var d={};return!0!==n&&!1!==n||(s=n,n=void 0),(r(e)&&i(e)||a(e)&&0===e.length)&&(e=void 0),d._isAMomentObject=!0,d._useUTC=d._isUTC=o,d._l=n,d._i=e,d._f=t,d._strict=s,vt(d)}function wt(e,t,n,a){return Tt(e,t,n,a,!1)}function bt(e,t){var n,r;if(1===t.length&&a(t[0])&&(t=t[0]),!t.length)return wt();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}function St(){return bt("isBefore",[].slice.call(arguments,0))}function xt(){return bt("isAfter",[].slice.call(arguments,0))}function Ht(e){for(var t in e)if(-1===yr.call(Br,t)||null!=e[t]&&isNaN(e[t]))return!1;for(var n=!1,a=0;a<Br.length;++a)if(e[Br[a]]){if(n)return!1;parseFloat(e[Br[a]])!==Y(e[Br[a]])&&(n=!0)}return!0}function jt(){return this._isValid}function Et(){return Zt(NaN)}function Ot(e){var t=F(e),n=t.year||0,a=t.quarter||0,r=t.month||0,i=t.week||0,s=t.day||0,o=t.hour||0,d=t.minute||0,u=t.second||0,l=t.millisecond||0;this._isValid=Ht(t),this._milliseconds=+l+1e3*u+6e4*d+1e3*o*60*60,this._days=+s+7*i,this._months=+r+3*a+12*n,this._data={},this._locale=at(),this._bubble()}function Pt(e){return e instanceof Ot}function At(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Wt(e,t){I(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+z(~~(e/60),2)+t+z(~~e%60,2)})}function Ct(e,t){var n=(t||"").match(e);if(null===n)return null;var a=n[n.length-1]||[],r=(a+"").match(Kr)||["-",0,0],i=60*r[1]+Y(r[2]);return 0===i?0:"+"===r[0]?i:-i}function Ft(e,n){var a,r;return n._isUTC?(a=n.clone(),r=(L(e)||d(e)?e.valueOf():wt(e).valueOf())-a.valueOf(),a._d.setTime(a._d.valueOf()+r),t.updateOffset(a,!1),a):wt(e).local()}function Nt(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function $t(e,n,a){var r,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Ct(rr,e)))return this}else Math.abs(e)<16&&!a&&(e*=60);return!this._isUTC&&n&&(r=Nt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!n||this._changeInProgress?nn(this,Zt(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:Nt(this)}function zt(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function It(e){return this.utcOffset(0,e)}function Rt(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Nt(this),"m")),this}function Jt(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Ct(ar,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Ut(e){return!!this.isValid()&&(e=e?wt(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function qt(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Gt(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e={};if(M(e,this),e=kt(e),e._a){var t=e._isUTC?c(e._a):wt(e._a);this._isDSTShifted=this.isValid()&&v(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Vt(){return!!this.isValid()&&!this._isUTC}function Bt(){return!!this.isValid()&&this._isUTC}function Kt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Zt(e,t){var n,a,r,i=e,s=null;return Pt(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:o(e)?(i={},t?i[t]=e:i.milliseconds=e):(s=Zr.exec(e))?(n="-"===s[1]?-1:1,i={y:0,d:Y(s[_r])*n,h:Y(s[cr])*n,m:Y(s[mr])*n,s:Y(s[hr])*n,ms:Y(At(1e3*s[fr]))*n}):(s=Qr.exec(e))?(n="-"===s[1]?-1:(s[1],1),i={y:Qt(s[2],n),M:Qt(s[3],n),w:Qt(s[4],n),d:Qt(s[5],n),h:Qt(s[6],n),m:Qt(s[7],n),s:Qt(s[8],n)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(r=en(wt(i.from),wt(i.to)),i={},i.ms=r.milliseconds,i.M=r.months),a=new Ot(i),Pt(e)&&l(e,"_locale")&&(a._locale=e._locale),a}function Qt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Xt(e,t){var n={milliseconds:0,months:0};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 en(e,t){var n;return e.isValid()&&t.isValid()?(t=Ft(t,e),e.isBefore(t)?n=Xt(e,t):(n=Xt(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function tn(e,t){return function(n,a){var r,i;return null===a||isNaN(+a)||(T(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."),i=n,n=a,a=i),n="string"==typeof n?+n:n,r=Zt(n,a),nn(this,r,e),this}}function nn(e,n,a,r){var i=n._milliseconds,s=At(n._days),o=At(n._months);e.isValid()&&(r=null==r||r,o&&he(e,re(e,"Month")+o*a),s&&ie(e,"Date",re(e,"Date")+s*a),i&&e._d.setTime(e._d.valueOf()+i*a),r&&t.updateOffset(e,s||o))}function an(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"}function rn(e,n){var a=e||wt(),r=Ft(a,this).startOf("day"),i=t.calendarFormat(this,r)||"sameElse",s=n&&(w(n[i])?n[i].call(this,a):n[i]);return this.format(s||this.localeData().calendar(i,this,wt(a)))}function sn(){return new y(this)}function on(e,t){var n=L(e)?e:wt(e);return!(!this.isValid()||!n.isValid())&&(t=C(s(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function dn(e,t){var n=L(e)?e:wt(e);return!(!this.isValid()||!n.isValid())&&(t=C(s(t)?"millisecond":t),"millisecond"===t?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function un(e,t,n,a){return a=a||"()",("("===a[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===a[1]?this.isBefore(t,n):!this.isAfter(t,n))}function ln(e,t){var n,a=L(e)?e:wt(e);return!(!this.isValid()||!a.isValid())&&(t=C(t||"millisecond"),"millisecond"===t?this.valueOf()===a.valueOf():(n=a.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function _n(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function cn(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function mn(e,t,n){var a,r,i;if(!this.isValid())return NaN;if(a=Ft(e,this),!a.isValid())return NaN;switch(r=6e4*(a.utcOffset()-this.utcOffset()),t=C(t)){case"year":i=hn(this,a)/12;break;case"month":i=hn(this,a);break;case"quarter":i=hn(this,a)/3;break;case"second":i=(this-a)/1e3;break;case"minute":i=(this-a)/6e4;break;case"hour":i=(this-a)/36e5;break;case"day":i=(this-a-r)/864e5;break;case"week":i=(this-a-r)/6048e5;break;default:i=this-a}return n?i:g(i)}function hn(e,t){var n,a,r=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(r,"months");return t-i<0?(n=e.clone().add(r-1,"months"),a=(t-i)/(i-n)):(n=e.clone().add(r+1,"months"),a=(t-i)/(n-i)),-(r+a)||0}function fn(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function pn(){if(!this.isValid())return null;var e=this.clone().utc();return e.year()<0||e.year()>9999?U(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):w(Date.prototype.toISOString)?this.toDate().toISOString():U(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function Mn(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',a=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",r=t+'[")]';return this.format(n+a+"-MM-DD[T]HH:mm:ss.SSS"+r)}function yn(e){e||(e=this.isUtc()?t.defaultFormatUtc:t.defaultFormat);var n=U(this,e);return this.localeData().postformat(n)}function Ln(e,t){return this.isValid()&&(L(e)&&e.isValid()||wt(e).isValid())?Zt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function gn(e){return this.from(wt(),e)}function Yn(e,t){return this.isValid()&&(L(e)&&e.isValid()||wt(e).isValid())?Zt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function vn(e){return this.to(wt(),e)}function kn(e){var t;return void 0===e?this._locale._abbr:(t=at(e),null!=t&&(this._locale=t),this)}function Dn(){return this._locale}function Tn(e){switch(e=C(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this}function wn(e){return void 0===(e=C(e))||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))}function bn(){return this._d.valueOf()-6e4*(this._offset||0)}function Sn(){return Math.floor(this.valueOf()/1e3)}function xn(){return new Date(this.valueOf())}function Hn(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function jn(){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()}}function En(){return this.isValid()?this.toISOString():null}function On(){return f(this)}function Pn(){return _({},h(this))}function An(){return h(this).overflow}function Wn(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Cn(e,t){I(0,[e,e.length],0,t)}function Fn(e){return In.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Nn(e){return In.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function $n(){return Te(this.year(),1,4)}function zn(){var e=this.localeData()._week;return Te(this.year(),e.dow,e.doy)}function In(e,t,n,a,r){var i;return null==e?De(this,a,r).year:(i=Te(e,a,r),t>i&&(t=i),Rn.call(this,e,t,n,a,r))}function Rn(e,t,n,a,r){var i=ke(e,t,n,a,r),s=Ye(i.year,0,i.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}function Jn(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function Un(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}function qn(e,t){t[fr]=Y(1e3*("0."+e))}function Gn(){return this._isUTC?"UTC":""}function Vn(){return this._isUTC?"Coordinated Universal Time":""}function Bn(e){return wt(1e3*e)}function Kn(){return wt.apply(null,arguments).parseZone()}function Zn(e){return e}function Qn(e,t,n,a){var r=at(),i=c().set(a,t);return r[n](i,e)}function Xn(e,t,n){if(o(e)&&(t=e,e=void 0),e=e||"",null!=t)return Qn(e,t,n,"month");var a,r=[];for(a=0;a<12;a++)r[a]=Qn(e,a,n,"month");return r}function ea(e,t,n,a){"boolean"==typeof e?(o(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,o(t)&&(n=t,t=void 0),t=t||"");var r=at(),i=e?r._week.dow:0;if(null!=n)return Qn(t,(n+i)%7,a,"day");var s,d=[];for(s=0;s<7;s++)d[s]=Qn(t,(s+i)%7,a,"day");return d}function ta(e,t){return Xn(e,t,"months")}function na(e,t){return Xn(e,t,"monthsShort")}function aa(e,t,n){return ea(e,t,n,"weekdays")}function ra(e,t,n){return ea(e,t,n,"weekdaysShort")}function ia(e,t,n){return ea(e,t,n,"weekdaysMin")}function sa(){var e=this._data;return this._milliseconds=ui(this._milliseconds),this._days=ui(this._days),this._months=ui(this._months),e.milliseconds=ui(e.milliseconds),e.seconds=ui(e.seconds),e.minutes=ui(e.minutes),e.hours=ui(e.hours),e.months=ui(e.months),e.years=ui(e.years),this}function oa(e,t,n,a){var r=Zt(t,n);return e._milliseconds+=a*r._milliseconds,e._days+=a*r._days,e._months+=a*r._months,e._bubble()}function da(e,t){return oa(this,e,t,1)}function ua(e,t){return oa(this,e,t,-1)}function la(e){return e<0?Math.floor(e):Math.ceil(e)}function _a(){var e,t,n,a,r,i=this._milliseconds,s=this._days,o=this._months,d=this._data;return i>=0&&s>=0&&o>=0||i<=0&&s<=0&&o<=0||(i+=864e5*la(ma(o)+s),s=0,o=0),d.milliseconds=i%1e3,e=g(i/1e3),d.seconds=e%60,t=g(e/60),d.minutes=t%60,n=g(t/60),d.hours=n%24,s+=g(n/24),r=g(ca(s)),o+=r,s-=la(ma(r)),a=g(o/12),o%=12,d.days=s,d.months=o,d.years=a,this}function ca(e){return 4800*e/146097}function ma(e){return 146097*e/4800}function ha(e){if(!this.isValid())return NaN;var t,n,a=this._milliseconds;if("month"===(e=C(e))||"year"===e)return t=this._days+a/864e5,n=this._months+ca(t),"month"===e?n:n/12;switch(t=this._days+Math.round(ma(this._months)),e){case"week":return t/7+a/6048e5;case"day":return t+a/864e5;case"hour":return 24*t+a/36e5;case"minute":return 1440*t+a/6e4;case"second":return 86400*t+a/1e3;case"millisecond":return Math.floor(864e5*t)+a;default:throw new Error("Unknown unit "+e)}}function fa(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*Y(this._months/12):NaN}function pa(e){return function(){return this.as(e)}}function Ma(){return Zt(this)}function ya(e){return e=C(e),this.isValid()?this[e+"s"]():NaN}function La(e){return function(){return this.isValid()?this._data[e]:NaN}}function ga(){return g(this.days()/7)}function Ya(e,t,n,a,r){return r.relativeTime(t||1,!!n,e,a)}function va(e,t,n){var a=Zt(e).abs(),r=Ti(a.as("s")),i=Ti(a.as("m")),s=Ti(a.as("h")),o=Ti(a.as("d")),d=Ti(a.as("M")),u=Ti(a.as("y")),l=r<=wi.ss&&["s",r]||r<wi.s&&["ss",r]||i<=1&&["m"]||i<wi.m&&["mm",i]||s<=1&&["h"]||s<wi.h&&["hh",s]||o<=1&&["d"]||o<wi.d&&["dd",o]||d<=1&&["M"]||d<wi.M&&["MM",d]||u<=1&&["y"]||["yy",u];return l[2]=t,l[3]=+e>0,l[4]=n,Ya.apply(null,l)}function ka(e){return void 0===e?Ti:"function"==typeof e&&(Ti=e,!0)}function Da(e,t){return void 0!==wi[e]&&(void 0===t?wi[e]:(wi[e]=t,"s"===e&&(wi.ss=t-1),!0))}function Ta(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=va(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function wa(e){return(e>0)-(e<0)||+e}function ba(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,a=bi(this._milliseconds)/1e3,r=bi(this._days),i=bi(this._months);e=g(a/60),t=g(e/60),a%=60,e%=60,n=g(i/12),i%=12;var s=n,o=i,d=r,u=t,l=e,_=a?a.toFixed(3).replace(/\.?0+$/,""):"",c=this.asSeconds();if(!c)return"P0D";var m=c<0?"-":"",h=wa(this._months)!==wa(c)?"-":"",f=wa(this._days)!==wa(c)?"-":"",p=wa(this._milliseconds)!==wa(c)?"-":"";return m+"P"+(s?h+s+"Y":"")+(o?h+o+"M":"")+(d?f+d+"D":"")+(u||l||_?"T":"")+(u?p+u+"H":"")+(l?p+l+"M":"")+(_?p+_+"S":"")}var Sa,xa;xa=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,a=0;a<n;a++)if(a in t&&e.call(this,t[a],a,t))return!0;return!1};var Ha=t.momentProperties=[],ja=!1,Ea={};t.suppressDeprecationWarnings=!1,t.deprecationHandler=null;var Oa;Oa=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)l(e,t)&&n.push(t);return n};var Pa={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Aa={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"},Wa=/\d{1,2}/,Ca={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Fa={},Na={},$a=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,za=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Ia={},Ra={},Ja=/\d/,Ua=/\d\d/,qa=/\d{3}/,Ga=/\d{4}/,Va=/[+-]?\d{6}/,Ba=/\d\d?/,Ka=/\d\d\d\d?/,Za=/\d\d\d\d\d\d?/,Qa=/\d{1,3}/,Xa=/\d{1,4}/,er=/[+-]?\d{1,6}/,tr=/\d+/,nr=/[+-]?\d+/,ar=/Z|[+-]\d\d:?\d\d/gi,rr=/Z|[+-]\d\d(?::?\d\d)?/gi,ir=/[+-]?\d+(\.\d{1,3})?/,sr=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,or={},dr={},ur=0,lr=1,_r=2,cr=3,mr=4,hr=5,fr=6,pr=7,Mr=8;I("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),I(0,["YY",2],0,function(){return this.year()%100}),I(0,["YYYY",4],0,"year"),I(0,["YYYYY",5],0,"year"),I(0,["YYYYYY",6,!0],0,"year"),W("year","y"),N("year",1),G("Y",nr),G("YY",Ba,Ua),G("YYYY",Xa,Ga),G("YYYYY",er,Va),G("YYYYYY",er,Va),Z(["YYYYY","YYYYYY"],ur),Z("YYYY",function(e,n){n[ur]=2===e.length?t.parseTwoDigitYear(e):Y(e)}),Z("YY",function(e,n){n[ur]=t.parseTwoDigitYear(e)}),Z("Y",function(e,t){t[ur]=parseInt(e,10)}),t.parseTwoDigitYear=function(e){return Y(e)+(Y(e)>68?1900:2e3)};var yr,Lr=ae("FullYear",!0);yr=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},I("M",["MM",2],"Mo",function(){return this.month()+1}),I("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),I("MMMM",0,0,function(e){return this.localeData().months(this,e)}),W("month","M"),N("month",8),G("M",Ba),G("MM",Ba,Ua),G("MMM",function(e,t){return t.monthsShortRegex(e)}),G("MMMM",function(e,t){return t.monthsRegex(e)}),Z(["M","MM"],function(e,t){t[lr]=Y(e)-1}),Z(["MMM","MMMM"],function(e,t,n,a){var r=n._locale.monthsParse(e,a,n._strict);null!=r?t[lr]=r:h(n).invalidMonth=e});var gr=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Yr="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),vr="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),kr=sr,Dr=sr;I("w",["ww",2],"wo","week"),I("W",["WW",2],"Wo","isoWeek"),W("week","w"),W("isoWeek","W"),N("week",5),N("isoWeek",5),G("w",Ba),G("ww",Ba,Ua),G("W",Ba),G("WW",Ba,Ua),Q(["w","ww","W","WW"],function(e,t,n,a){t[a.substr(0,1)]=Y(e)});var Tr={dow:0,doy:6};I("d",0,"do","day"),I("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),I("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),I("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),I("e",0,0,"weekday"),I("E",0,0,"isoWeekday"),W("day","d"),W("weekday","e"),W("isoWeekday","E"),N("day",11),N("weekday",11),N("isoWeekday",11),G("d",Ba),G("e",Ba),G("E",Ba),G("dd",function(e,t){return t.weekdaysMinRegex(e)}),G("ddd",function(e,t){return t.weekdaysShortRegex(e)}),G("dddd",function(e,t){return t.weekdaysRegex(e)}),Q(["dd","ddd","dddd"],function(e,t,n,a){var r=n._locale.weekdaysParse(e,a,n._strict);null!=r?t.d=r:h(n).invalidWeekday=e}),Q(["d","e","E"],function(e,t,n,a){t[a]=Y(e)});var wr="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),br="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Sr="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),xr=sr,Hr=sr,jr=sr;I("H",["HH",2],0,"hour"),I("h",["hh",2],0,Ue),I("k",["kk",2],0,qe),I("hmm",0,0,function(){return""+Ue.apply(this)+z(this.minutes(),2)}),I("hmmss",0,0,function(){return""+Ue.apply(this)+z(this.minutes(),2)+z(this.seconds(),2)}),I("Hmm",0,0,function(){return""+this.hours()+z(this.minutes(),2)}),I("Hmmss",0,0,function(){return""+this.hours()+z(this.minutes(),2)+z(this.seconds(),2)}),Ge("a",!0),Ge("A",!1),W("hour","h"),N("hour",13),G("a",Ve),G("A",Ve),G("H",Ba),G("h",Ba),G("k",Ba),G("HH",Ba,Ua),G("hh",Ba,Ua),G("kk",Ba,Ua),G("hmm",Ka),G("hmmss",Za),G("Hmm",Ka),G("Hmmss",Za),Z(["H","HH"],cr),Z(["k","kk"],function(e,t,n){var a=Y(e);t[cr]=24===a?0:a}),Z(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),Z(["h","hh"],function(e,t,n){t[cr]=Y(e),h(n).bigHour=!0}),Z("hmm",function(e,t,n){var a=e.length-2;t[cr]=Y(e.substr(0,a)),t[mr]=Y(e.substr(a)),h(n).bigHour=!0}),Z("hmmss",function(e,t,n){var a=e.length-4,r=e.length-2;t[cr]=Y(e.substr(0,a)),t[mr]=Y(e.substr(a,2)),t[hr]=Y(e.substr(r)),h(n).bigHour=!0}),Z("Hmm",function(e,t,n){var a=e.length-2;t[cr]=Y(e.substr(0,a)),t[mr]=Y(e.substr(a))}),Z("Hmmss",function(e,t,n){var a=e.length-4,r=e.length-2;t[cr]=Y(e.substr(0,a)),t[mr]=Y(e.substr(a,2)),t[hr]=Y(e.substr(r))});var Er,Or=/[ap]\.?m?\.?/i,Pr=ae("Hours",!0),Ar={calendar:Pa,longDateFormat:Aa,invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:Wa,relativeTime:Ca,months:Yr,monthsShort:vr,week:Tr,weekdays:wr,weekdaysMin:Sr,weekdaysShort:br,meridiemParse:Or},Wr={},Cr={},Fr=/^\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)?)?$/,Nr=/^\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)?)?$/,$r=/Z|[+-]\d\d(?::?\d\d)?/,zr=[["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}/]],Ir=[["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/]],Rr=/^\/?Date\((\-?\d+)/i,Jr=/^(?:(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}))$/,Ur={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};t.createFromInputFallback=D("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),t.ISO_8601=function(){},t.RFC_2822=function(){};var qr=D("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=wt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:p()}),Gr=D("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=wt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:p()}),Vr=function(){return Date.now?Date.now():+new Date},Br=["year","quarter","month","week","day","hour","minute","second","millisecond"];Wt("Z",":"),Wt("ZZ",""),G("Z",rr),G("ZZ",rr),Z(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Ct(rr,e)});var Kr=/([\+\-]|\d\d)/gi;t.updateOffset=function(){};var Zr=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Qr=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;Zt.fn=Ot.prototype,Zt.invalid=Et;var Xr=tn(1,"add"),ei=tn(-1,"subtract");t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",t.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var ti=D("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)});I(0,["gg",2],0,function(){return this.weekYear()%100}),I(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Cn("gggg","weekYear"),Cn("ggggg","weekYear"),Cn("GGGG","isoWeekYear"),Cn("GGGGG","isoWeekYear"),W("weekYear","gg"),W("isoWeekYear","GG"),N("weekYear",1),N("isoWeekYear",1),G("G",nr),G("g",nr),G("GG",Ba,Ua),G("gg",Ba,Ua),G("GGGG",Xa,Ga),G("gggg",Xa,Ga),G("GGGGG",er,Va),G("ggggg",er,Va),Q(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,a){t[a.substr(0,2)]=Y(e)}),Q(["gg","GG"],function(e,n,a,r){n[r]=t.parseTwoDigitYear(e)}),I("Q",0,"Qo","quarter"),W("quarter","Q"),N("quarter",7),G("Q",Ja),Z("Q",function(e,t){t[lr]=3*(Y(e)-1)}),I("D",["DD",2],"Do","date"),W("date","D"),N("date",9),G("D",Ba),G("DD",Ba,Ua),G("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),Z(["D","DD"],_r),Z("Do",function(e,t){t[_r]=Y(e.match(Ba)[0],10)});var ni=ae("Date",!0);I("DDD",["DDDD",3],"DDDo","dayOfYear"),W("dayOfYear","DDD"),N("dayOfYear",4),G("DDD",Qa),G("DDDD",qa),Z(["DDD","DDDD"],function(e,t,n){n._dayOfYear=Y(e)}),I("m",["mm",2],0,"minute"),W("minute","m"),N("minute",14),G("m",Ba),G("mm",Ba,Ua),Z(["m","mm"],mr);var ai=ae("Minutes",!1);I("s",["ss",2],0,"second"),W("second","s"),N("second",15),G("s",Ba),G("ss",Ba,Ua),Z(["s","ss"],hr);var ri=ae("Seconds",!1);I("S",0,0,function(){return~~(this.millisecond()/100)}),I(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),I(0,["SSS",3],0,"millisecond"),I(0,["SSSS",4],0,function(){return 10*this.millisecond()}),I(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),I(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),I(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),I(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),I(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),W("millisecond","ms"),N("millisecond",16),G("S",Qa,Ja),G("SS",Qa,Ua),G("SSS",Qa,qa);var ii;for(ii="SSSS";ii.length<=9;ii+="S")G(ii,tr);for(ii="S";ii.length<=9;ii+="S")Z(ii,qn);var si=ae("Milliseconds",!1);I("z",0,0,"zoneAbbr"),I("zz",0,0,"zoneName");var oi=y.prototype;oi.add=Xr,oi.calendar=rn,oi.clone=sn,oi.diff=mn,oi.endOf=wn,oi.format=yn,oi.from=Ln,oi.fromNow=gn,oi.to=Yn,oi.toNow=vn,oi.get=se,oi.invalidAt=An,oi.isAfter=on,oi.isBefore=dn,oi.isBetween=un,oi.isSame=ln,oi.isSameOrAfter=_n,oi.isSameOrBefore=c