angular-material-simple-components
Version:
This include simplification of angular material components
1 lines • 355 kB
JavaScript
!function(e){function t(a){if(n[a])return n[a].exports;var r=n[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};t.m=e,t.c=n,t.i=function(e){return e},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="",t(t.s=136)}([function(e,t,n){(function(e){!function(t,n){e.exports=n()}(0,function(){"use strict";function t(){return La.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){var t;for(t in e)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 m(e,t,n,a){return gt(e,t,n,a,!0).utc()}function c(){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=c()),e._pf}function f(e){if(null==e._isValid){var t=h(e),n=va.call(t.parsedDateParts,function(e){return null!=e}),a=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!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=m(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),ka.length>0)for(n=0;n<ka.length;n++)a=ka[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===Da&&(Da=!0,t.updateOffset(this),Da=!1)}function g(e){return e instanceof y||null!=e&&null!=e._isAMomentObject}function L(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=L(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 w(e,n){null!=t.deprecationHandler&&t.deprecationHandler(e,n),wa[e]||(k(n),wa[e]=!0)}function b(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function T(e){var t,n;for(n in e)t=e[n],b(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 j(e){null!=e&&this.set(e)}function H(e,t,n){var a=this._calendar[e]||this._calendar.sameElse;return b(a)?a.call(t,n):a}function x(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 O(){return this._invalidDate}function P(e){return this._ordinal.replace("%d",e)}function A(e,t,n,a){var r=this._relativeTime[n];return b(r)?r(e,t,n,a):r.replace(/%d/i,e)}function $(e,t){var n=this._relativeTime[e>0?"future":"past"];return b(n)?n(t):n.replace(/%s/i,t)}function E(e,t){var n=e.toLowerCase();Oa[n]=Oa[n+"s"]=Oa[t]=e}function I(e){return"string"==typeof e?Oa[e]||Oa[e.toLowerCase()]:void 0}function W(e){var t,n,a={};for(n in e)l(e,n)&&(t=I(n))&&(a[t]=e[n]);return a}function C(e,t){Pa[e]=t}function F(e){var t=[];for(var n in e)t.push({unit:n,priority:Pa[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function z(e,n){return function(a){return null!=a?(N(this,e,a),t.updateOffset(this,n),this):R(this,e)}}function R(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function N(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function U(e){return e=I(e),b(this[e])?this[e]():this}function J(e,t){if("object"==typeof e){e=W(e);for(var n=F(e),a=0;a<n.length;a++)this[n[a].unit](e[n[a].unit])}else if(e=I(e),b(this[e]))return this[e](t);return this}function V(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 B(e,t,n,a){var r=a;"string"==typeof a&&(r=function(){return this[a]()}),e&&(Ia[e]=r),t&&(Ia[t[0]]=function(){return V(r.apply(this,arguments),t[1],t[2])}),n&&(Ia[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function G(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Z(e){var t,n,a=e.match(Aa);for(t=0,n=a.length;t<n;t++)Ia[a[t]]?a[t]=Ia[a[t]]:a[t]=G(a[t]);return function(t){var r,i="";for(r=0;r<n;r++)i+=b(a[r])?a[r].call(t,e):a[r];return i}}function q(e,t){return e.isValid()?(t=Q(t,e.localeData()),Ea[t]=Ea[t]||Z(t),Ea[t](e)):e.localeData().invalidDate()}function Q(e,t){function n(e){return t.longDateFormat(e)||e}var a=5;for($a.lastIndex=0;a>=0&&$a.test(e);)e=e.replace($a,n),$a.lastIndex=0,a-=1;return e}function K(e,t,n){Ra[e]=b(t)?t:function(e,a){return e&&n?n:t}}function X(e,t){return l(Ra,e)?Ra[e](t._strict,t._locale):new RegExp(ee(e))}function ee(e){return te(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,a,r){return t||n||a||r}))}function te(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ne(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++)Na[e[n]]=a}function ae(e,t){ne(e,function(e,n,a,r){a._w=a._w||{},t(e,a._w,a,r)})}function re(e,t,n){null!=t&&l(Na,e)&&Na[e](t,n._a,n,e)}function ie(e,t){return new Date(Date.UTC(e,t+1,0)).getUTCDate()}function se(e,t){return e?a(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||er).test(t)?"format":"standalone"][e.month()]:a(this._months)?this._months:this._months.standalone}function oe(e,t){return e?a(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[er.test(t)?"format":"standalone"][e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function de(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=m([2e3,a]),this._shortMonthsParse[a]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[a]=this.months(i,"").toLocaleLowerCase();return n?"MMM"===t?(r=Xa.call(this._shortMonthsParse,s),-1!==r?r:null):(r=Xa.call(this._longMonthsParse,s),-1!==r?r:null):"MMM"===t?-1!==(r=Xa.call(this._shortMonthsParse,s))?r:(r=Xa.call(this._longMonthsParse,s),-1!==r?r:null):-1!==(r=Xa.call(this._longMonthsParse,s))?r:(r=Xa.call(this._shortMonthsParse,s),-1!==r?r:null)}function ue(e,t,n){var a,r,i;if(this._monthsParseExact)return de.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),a=0;a<12;a++){if(r=m([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 le(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(),ie(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function _e(e){return null!=e?(le(this,e),t.updateOffset(this,!0),this):R(this,"Month")}function me(){return ie(this.year(),this.month())}function ce(e){return this._monthsParseExact?(l(this,"_monthsRegex")||fe.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(l(this,"_monthsShortRegex")||(this._monthsShortRegex=ar),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function he(e){return this._monthsParseExact?(l(this,"_monthsRegex")||fe.call(this),e?this._monthsStrictRegex:this._monthsRegex):(l(this,"_monthsRegex")||(this._monthsRegex=rr),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function fe(){function e(e,t){return t.length-e.length}var t,n,a=[],r=[],i=[];for(t=0;t<12;t++)n=m([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]=te(a[t]),r[t]=te(r[t]);for(t=0;t<24;t++)i[t]=te(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 pe(e){return Me(e)?366:365}function Me(e){return e%4==0&&e%100!=0||e%400==0}function ye(){return Me(this.year())}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 Le(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function Ye(e,t,n){var a=7+t-n;return-(7+Le(e,0,a).getUTCDay()-t)%7+a-1}function ve(e,t,n,a,r){var i,s,o=(7+n-a)%7,d=Ye(e,a,r),u=1+7*(t-1)+o+d;return u<=0?(i=e-1,s=pe(i)+u):u>pe(e)?(i=e+1,s=u-pe(e)):(i=e,s=u),{year:i,dayOfYear:s}}function ke(e,t,n){var a,r,i=Ye(e.year(),t,n),s=Math.floor((e.dayOfYear()-i-1)/7)+1;return s<1?(r=e.year()-1,a=s+De(r,t,n)):s>De(e.year(),t,n)?(a=s-De(e.year(),t,n),r=e.year()+1):(r=e.year(),a=s),{week:a,year:r}}function De(e,t,n){var a=Ye(e,t,n),r=Ye(e+1,t,n);return(pe(e)-a+r)/7}function we(e){return ke(e,this._week.dow,this._week.doy).week}function be(){return this._week.dow}function Te(){return this._week.doy}function Se(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function je(e){var t=ke(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function He(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function xe(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 $e(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=m([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=Xa.call(this._weekdaysParse,s),-1!==r?r:null):"ddd"===t?(r=Xa.call(this._shortWeekdaysParse,s),-1!==r?r:null):(r=Xa.call(this._minWeekdaysParse,s),-1!==r?r:null):"dddd"===t?-1!==(r=Xa.call(this._weekdaysParse,s))?r:-1!==(r=Xa.call(this._shortWeekdaysParse,s))?r:(r=Xa.call(this._minWeekdaysParse,s),-1!==r?r:null):"ddd"===t?-1!==(r=Xa.call(this._shortWeekdaysParse,s))?r:-1!==(r=Xa.call(this._weekdaysParse,s))?r:(r=Xa.call(this._minWeekdaysParse,s),-1!==r?r:null):-1!==(r=Xa.call(this._minWeekdaysParse,s))?r:-1!==(r=Xa.call(this._weekdaysParse,s))?r:(r=Xa.call(this._shortWeekdaysParse,s),-1!==r?r:null)}function Ee(e,t,n){var a,r,i;if(this._weekdaysParseExact)return $e.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),a=0;a<7;a++){if(r=m([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 Ie(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=He(e,this.localeData()),this.add(e-t,"d")):t}function We(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 Ce(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=xe(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Fe(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Ne.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=lr),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function ze(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Ne.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=_r),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Re(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Ne.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=mr),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Ne(){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=m([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]=te(o[t]),d[t]=te(d[t]),u[t]=te(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 Je(){return this.hours()||24}function Ve(e,t){B(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Be(e,t){return t._meridiemParse}function Ge(e){return"p"===(e+"").toLowerCase().charAt(0)}function Ze(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function qe(e){return e?e.toLowerCase().replace("_","-"):e}function Qe(e){for(var t,n,a,r,i=0;i<e.length;){for(r=qe(e[i]).split("-"),t=r.length,n=qe(e[i+1]),n=n?n.split("-"):null;t>0;){if(a=Ke(r.slice(0,t).join("-")))return a;if(n&&n.length>=t&&v(r,n,!0)>=t-1)break;t--}i++}return null}function Ke(t){var a=null;if(!pr[t]&&void 0!==e&&e&&e.exports)try{a=cr._abbr,n(155)("./"+t),Xe(a)}catch(e){}return pr[t]}function Xe(e,t){var n;return e&&(n=s(t)?nt(e):et(e,t))&&(cr=n),cr._abbr}function et(e,t){if(null!==t){var n=fr;if(t.abbr=e,null!=pr[e])w("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=pr[e]._config;else if(null!=t.parentLocale){if(null==pr[t.parentLocale])return Mr[t.parentLocale]||(Mr[t.parentLocale]=[]),Mr[t.parentLocale].push({name:e,config:t}),null;n=pr[t.parentLocale]._config}return pr[e]=new j(S(n,t)),Mr[e]&&Mr[e].forEach(function(e){et(e.name,e.config)}),Xe(e),pr[e]}return delete pr[e],null}function tt(e,t){if(null!=t){var n,a=fr;null!=pr[e]&&(a=pr[e]._config),t=S(a,t),n=new j(t),n.parentLocale=pr[e],pr[e]=n,Xe(e)}else null!=pr[e]&&(null!=pr[e].parentLocale?pr[e]=pr[e].parentLocale:null!=pr[e]&&delete pr[e]);return pr[e]}function nt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return cr;if(!a(e)){if(t=Ke(e))return t;e=[e]}return Qe(e)}function at(){return Sa(pr)}function rt(e){var t,n=e._a;return n&&-2===h(e).overflow&&(t=n[Ja]<0||n[Ja]>11?Ja:n[Va]<1||n[Va]>ie(n[Ua],n[Ja])?Va:n[Ba]<0||n[Ba]>24||24===n[Ba]&&(0!==n[Ga]||0!==n[Za]||0!==n[qa])?Ba:n[Ga]<0||n[Ga]>59?Ga:n[Za]<0||n[Za]>59?Za:n[qa]<0||n[qa]>999?qa:-1,h(e)._overflowDayOfYear&&(t<Ua||t>Va)&&(t=Va),h(e)._overflowWeeks&&-1===t&&(t=Qa),h(e)._overflowWeekday&&-1===t&&(t=Ka),h(e).overflow=t),e}function it(e){var t,n,a,r,i,s,o=e._i,d=yr.exec(o)||gr.exec(o);if(d){for(h(e).iso=!0,t=0,n=Yr.length;t<n;t++)if(Yr[t][1].exec(d[1])){r=Yr[t][0],a=!1!==Yr[t][2];break}if(null==r)return void(e._isValid=!1);if(d[3]){for(t=0,n=vr.length;t<n;t++)if(vr[t][1].exec(d[3])){i=(d[2]||" ")+vr[t][0];break}if(null==i)return void(e._isValid=!1)}if(!a&&null!=i)return void(e._isValid=!1);if(d[4]){if(!Lr.exec(d[4]))return void(e._isValid=!1);s="Z"}e._f=r+(i||"")+(s||""),mt(e)}else e._isValid=!1}function st(e){var t,n,a,r,i,s,o,d,u={" GMT":" +0000"," EDT":" -0400"," EST":" -0500"," CDT":" -0500"," CST":" -0600"," MDT":" -0600"," MST":" -0700"," PDT":" -0700"," PST":" -0800"},l="YXWVUTSRQPONZABCDEFGHIKLM";if(t=e._i.replace(/\([^\)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s|\s$/g,""),n=Dr.exec(t)){if(a=n[1]?"ddd"+(5===n[1].length?", ":" "):"",r="D MMM "+(n[2].length>10?"YYYY ":"YY "),i="HH:mm"+(n[4]?":ss":""),n[1]){var _=new Date(n[2]),m=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"][_.getDay()];if(n[1].substr(0,3)!==m)return h(e).weekdayMismatch=!0,void(e._isValid=!1)}switch(n[5].length){case 2:0===d?o=" +0000":(d=l.indexOf(n[5][1].toUpperCase())-12,o=(d<0?" -":" +")+(""+d).replace(/^-?/,"0").match(/..$/)[0]+"00");break;case 4:o=u[n[5]];break;default:o=u[" GMT"]}n[5]=o,e._i=n.splice(1).join(""),s=" ZZ",e._f=a+r+i+s,mt(e),h(e).rfc2822=!0}else e._isValid=!1}function ot(e){var n=kr.exec(e._i);if(null!==n)return void(e._d=new Date(+n[1]));it(e),!1===e._isValid&&(delete e._isValid,st(e),!1===e._isValid&&(delete e._isValid,t.createFromInputFallback(e)))}function dt(e,t,n){return null!=e?e:null!=t?t:n}function ut(e){var n=new Date(t.now());return e._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}function lt(e){var t,n,a,r,i=[];if(!e._d){for(a=ut(e),e._w&&null==e._a[Va]&&null==e._a[Ja]&&_t(e),null!=e._dayOfYear&&(r=dt(e._a[Ua],a[Ua]),(e._dayOfYear>pe(r)||0===e._dayOfYear)&&(h(e)._overflowDayOfYear=!0),n=Le(r,0,e._dayOfYear),e._a[Ja]=n.getUTCMonth(),e._a[Va]=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[Ba]&&0===e._a[Ga]&&0===e._a[Za]&&0===e._a[qa]&&(e._nextDay=!0,e._a[Ba]=0),e._d=(e._useUTC?Le:ge).apply(null,i),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Ba]=24)}}function _t(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=dt(t.GG,e._a[Ua],ke(Lt(),1,4).year),a=dt(t.W,1),((r=dt(t.E,1))<1||r>7)&&(d=!0);else{i=e._locale._week.dow,s=e._locale._week.doy;var u=ke(Lt(),i,s);n=dt(t.gg,e._a[Ua],u.year),a=dt(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>De(n,i,s)?h(e)._overflowWeeks=!0:null!=d?h(e)._overflowWeekday=!0:(o=ve(n,a,r,i,s),e._a[Ua]=o.year,e._dayOfYear=o.dayOfYear)}function mt(e){if(e._f===t.ISO_8601)return void it(e);if(e._f===t.RFC_2822)return void st(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(Aa)||[],n=0;n<r.length;n++)i=r[n],a=(o.match(X(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),Ia[i]?(a?h(e).empty=!1:h(e).unusedTokens.push(i),re(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[Ba]<=12&&!0===h(e).bigHour&&e._a[Ba]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[Ba]=ct(e._locale,e._a[Ba],e._meridiem),lt(e),rt(e)}function ct(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 ht(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],mt(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 ft(e){if(!e._d){var t=W(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)}),lt(e)}}function pt(e){var t=new y(rt(Mt(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Mt(e){var t=e._i,n=e._f;return e._locale=e._locale||nt(e._l),null===t||void 0===n&&""===t?p({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),g(t)?new y(rt(t)):(d(t)?e._d=t:a(n)?ht(e):n?mt(e):yt(e),f(e)||(e._d=null),e))}function yt(e){var n=e._i;s(n)?e._d=new Date(t.now()):d(n)?e._d=new Date(n.valueOf()):"string"==typeof n?ot(e):a(n)?(e._a=u(n.slice(0),function(e){return parseInt(e,10)}),lt(e)):r(n)?ft(e):o(n)?e._d=new Date(n):t.createFromInputFallback(e)}function gt(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,pt(d)}function Lt(e,t,n,a){return gt(e,t,n,a,!1)}function Yt(e,t){var n,r;if(1===t.length&&a(t[0])&&(t=t[0]),!t.length)return Lt();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}function vt(){return Yt("isBefore",[].slice.call(arguments,0))}function kt(){return Yt("isAfter",[].slice.call(arguments,0))}function Dt(e){for(var t in e)if(-1===Sr.indexOf(t)||null!=e[t]&&isNaN(e[t]))return!1;for(var n=!1,a=0;a<Sr.length;++a)if(e[Sr[a]]){if(n)return!1;parseFloat(e[Sr[a]])!==Y(e[Sr[a]])&&(n=!0)}return!0}function wt(){return this._isValid}function bt(){return Jt(NaN)}function Tt(e){var t=W(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=Dt(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=nt(),this._bubble()}function St(e){return e instanceof Tt}function jt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ht(e,t){B(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+V(~~(e/60),2)+t+V(~~e%60,2)})}function xt(e,t){var n=(t||"").match(e);if(null===n)return null;var a=n[n.length-1]||[],r=(a+"").match(jr)||["-",0,0],i=60*r[1]+Y(r[2]);return 0===i?0:"+"===r[0]?i:-i}function Ot(e,n){var a,r;return n._isUTC?(a=n.clone(),r=(g(e)||d(e)?e.valueOf():Lt(e).valueOf())-a.valueOf(),a._d.setTime(a._d.valueOf()+r),t.updateOffset(a,!1),a):Lt(e).local()}function Pt(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function At(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=xt(Fa,e)))return this}else Math.abs(e)<16&&!a&&(e*=60);return!this._isUTC&&n&&(r=Pt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!n||this._changeInProgress?qt(this,Jt(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:Pt(this)}function $t(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Et(e){return this.utcOffset(0,e)}function It(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Pt(this),"m")),this}function Wt(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=xt(Ca,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Ct(e){return!!this.isValid()&&(e=e?Lt(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function Ft(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function zt(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e={};if(M(e,this),e=Mt(e),e._a){var t=e._isUTC?m(e._a):Lt(e._a);this._isDSTShifted=this.isValid()&&v(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Rt(){return!!this.isValid()&&!this._isUTC}function Nt(){return!!this.isValid()&&this._isUTC}function Ut(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Jt(e,t){var n,a,r,i=e,s=null;return St(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:o(e)?(i={},t?i[t]=e:i.milliseconds=e):(s=Hr.exec(e))?(n="-"===s[1]?-1:1,i={y:0,d:Y(s[Va])*n,h:Y(s[Ba])*n,m:Y(s[Ga])*n,s:Y(s[Za])*n,ms:Y(jt(1e3*s[qa]))*n}):(s=xr.exec(e))?(n="-"===s[1]?-1:1,i={y:Vt(s[2],n),M:Vt(s[3],n),w:Vt(s[4],n),d:Vt(s[5],n),h:Vt(s[6],n),m:Vt(s[7],n),s:Vt(s[8],n)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(r=Gt(Lt(i.from),Lt(i.to)),i={},i.ms=r.milliseconds,i.M=r.months),a=new Tt(i),St(e)&&l(e,"_locale")&&(a._locale=e._locale),a}function Vt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Bt(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 Gt(e,t){var n;return e.isValid()&&t.isValid()?(t=Ot(t,e),e.isBefore(t)?n=Bt(e,t):(n=Bt(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Zt(e,t){return function(n,a){var r,i;return null===a||isNaN(+a)||(w(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=Jt(n,a),qt(this,r,e),this}}function qt(e,n,a,r){var i=n._milliseconds,s=jt(n._days),o=jt(n._months);e.isValid()&&(r=null==r||r,i&&e._d.setTime(e._d.valueOf()+i*a),s&&N(e,"Date",R(e,"Date")+s*a),o&&le(e,R(e,"Month")+o*a),r&&t.updateOffset(e,s||o))}function Qt(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 Kt(e,n){var a=e||Lt(),r=Ot(a,this).startOf("day"),i=t.calendarFormat(this,r)||"sameElse",s=n&&(b(n[i])?n[i].call(this,a):n[i]);return this.format(s||this.localeData().calendar(i,this,Lt(a)))}function Xt(){return new y(this)}function en(e,t){var n=g(e)?e:Lt(e);return!(!this.isValid()||!n.isValid())&&(t=I(s(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function tn(e,t){var n=g(e)?e:Lt(e);return!(!this.isValid()||!n.isValid())&&(t=I(s(t)?"millisecond":t),"millisecond"===t?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function nn(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 an(e,t){var n,a=g(e)?e:Lt(e);return!(!this.isValid()||!a.isValid())&&(t=I(t||"millisecond"),"millisecond"===t?this.valueOf()===a.valueOf():(n=a.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function rn(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function sn(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function on(e,t,n){var a,r,i,s;return this.isValid()?(a=Ot(e,this),a.isValid()?(r=6e4*(a.utcOffset()-this.utcOffset()),t=I(t),"year"===t||"month"===t||"quarter"===t?(s=dn(this,a),"quarter"===t?s/=3:"year"===t&&(s/=12)):(i=this-a,s="second"===t?i/1e3:"minute"===t?i/6e4:"hour"===t?i/36e5:"day"===t?(i-r)/864e5:"week"===t?(i-r)/6048e5:i),n?s:L(s)):NaN):NaN}function dn(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 un(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function ln(){if(!this.isValid())return null;var e=this.clone().utc();return e.year()<0||e.year()>9999?q(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):b(Date.prototype.toISOString)?this.toDate().toISOString():q(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function _n(){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 mn(e){e||(e=this.isUtc()?t.defaultFormatUtc:t.defaultFormat);var n=q(this,e);return this.localeData().postformat(n)}function cn(e,t){return this.isValid()&&(g(e)&&e.isValid()||Lt(e).isValid())?Jt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function hn(e){return this.from(Lt(),e)}function fn(e,t){return this.isValid()&&(g(e)&&e.isValid()||Lt(e).isValid())?Jt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function pn(e){return this.to(Lt(),e)}function Mn(e){var t;return void 0===e?this._locale._abbr:(t=nt(e),null!=t&&(this._locale=t),this)}function yn(){return this._locale}function gn(e){switch(e=I(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 Ln(e){return void 0===(e=I(e))||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))}function Yn(){return this._d.valueOf()-6e4*(this._offset||0)}function vn(){return Math.floor(this.valueOf()/1e3)}function kn(){return new Date(this.valueOf())}function Dn(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function wn(){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 bn(){return this.isValid()?this.toISOString():null}function Tn(){return f(this)}function Sn(){return _({},h(this))}function jn(){return h(this).overflow}function Hn(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function xn(e,t){B(0,[e,e.length],0,t)}function On(e){return En.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Pn(e){return En.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function An(){return De(this.year(),1,4)}function $n(){var e=this.localeData()._week;return De(this.year(),e.dow,e.doy)}function En(e,t,n,a,r){var i;return null==e?ke(this,a,r).year:(i=De(e,a,r),t>i&&(t=i),In.call(this,e,t,n,a,r))}function In(e,t,n,a,r){var i=ve(e,t,n,a,r),s=Le(i.year,0,i.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}function Wn(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function Cn(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 Fn(e,t){t[qa]=Y(1e3*("0."+e))}function zn(){return this._isUTC?"UTC":""}function Rn(){return this._isUTC?"Coordinated Universal Time":""}function Nn(e){return Lt(1e3*e)}function Un(){return Lt.apply(null,arguments).parseZone()}function Jn(e){return e}function Vn(e,t,n,a){var r=nt(),i=m().set(a,t);return r[n](i,e)}function Bn(e,t,n){if(o(e)&&(t=e,e=void 0),e=e||"",null!=t)return Vn(e,t,n,"month");var a,r=[];for(a=0;a<12;a++)r[a]=Vn(e,a,n,"month");return r}function Gn(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=nt(),i=e?r._week.dow:0;if(null!=n)return Vn(t,(n+i)%7,a,"day");var s,d=[];for(s=0;s<7;s++)d[s]=Vn(t,(s+i)%7,a,"day");return d}function Zn(e,t){return Bn(e,t,"months")}function qn(e,t){return Bn(e,t,"monthsShort")}function Qn(e,t,n){return Gn(e,t,n,"weekdays")}function Kn(e,t,n){return Gn(e,t,n,"weekdaysShort")}function Xn(e,t,n){return Gn(e,t,n,"weekdaysMin")}function ea(){var e=this._data;return this._milliseconds=Rr(this._milliseconds),this._days=Rr(this._days),this._months=Rr(this._months),e.milliseconds=Rr(e.milliseconds),e.seconds=Rr(e.seconds),e.minutes=Rr(e.minutes),e.hours=Rr(e.hours),e.months=Rr(e.months),e.years=Rr(e.years),this}function ta(e,t,n,a){var r=Jt(t,n);return e._milliseconds+=a*r._milliseconds,e._days+=a*r._days,e._months+=a*r._months,e._bubble()}function na(e,t){return ta(this,e,t,1)}function aa(e,t){return ta(this,e,t,-1)}function ra(e){return e<0?Math.floor(e):Math.ceil(e)}function ia(){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*ra(oa(o)+s),s=0,o=0),d.milliseconds=i%1e3,e=L(i/1e3),d.seconds=e%60,t=L(e/60),d.minutes=t%60,n=L(t/60),d.hours=n%24,s+=L(n/24),r=L(sa(s)),o+=r,s-=ra(oa(r)),a=L(o/12),o%=12,d.days=s,d.months=o,d.years=a,this}function sa(e){return 4800*e/146097}function oa(e){return 146097*e/4800}function da(e){if(!this.isValid())return NaN;var t,n,a=this._milliseconds;if("month"===(e=I(e))||"year"===e)return t=this._days+a/864e5,n=this._months+sa(t),"month"===e?n:n/12;switch(t=this._days+Math.round(oa(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 ua(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*Y(this._months/12):NaN}function la(e){return function(){return this.as(e)}}function _a(e){return e=I(e),this.isValid()?this[e+"s"]():NaN}function ma(e){return function(){return this.isValid()?this._data[e]:NaN}}function ca(){return L(this.days()/7)}function ha(e,t,n,a,r){return r.relativeTime(t||1,!!n,e,a)}function fa(e,t,n){var a=Jt(e).abs(),r=ri(a.as("s")),i=ri(a.as("m")),s=ri(a.as("h")),o=ri(a.as("d")),d=ri(a.as("M")),u=ri(a.as("y")),l=r<=ii.ss&&["s",r]||r<ii.s&&["ss",r]||i<=1&&["m"]||i<ii.m&&["mm",i]||s<=1&&["h"]||s<ii.h&&["hh",s]||o<=1&&["d"]||o<ii.d&&["dd",o]||d<=1&&["M"]||d<ii.M&&["MM",d]||u<=1&&["y"]||["yy",u];return l[2]=t,l[3]=+e>0,l[4]=n,ha.apply(null,l)}function pa(e){return void 0===e?ri:"function"==typeof e&&(ri=e,!0)}function Ma(e,t){return void 0!==ii[e]&&(void 0===t?ii[e]:(ii[e]=t,"s"===e&&(ii.ss=t-1),!0))}function ya(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=fa(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function ga(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,a=si(this._milliseconds)/1e3,r=si(this._days),i=si(this._months);e=L(a/60),t=L(e/60),a%=60,e%=60,n=L(i/12),i%=12;var s=n,o=i,d=r,u=t,l=e,_=a,m=this.asSeconds();return m?(m<0?"-":"")+"P"+(s?s+"Y":"")+(o?o+"M":"")+(d?d+"D":"")+(u||l||_?"T":"")+(u?u+"H":"")+(l?l+"M":"")+(_?_+"S":""):"P0D"}var La,Ya;Ya=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 va=Ya,ka=t.momentProperties=[],Da=!1,wa={};t.suppressDeprecationWarnings=!1,t.deprecationHandler=null;var ba;ba=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)l(e,t)&&n.push(t);return n};var Ta,Sa=ba,ja={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Ha={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"},xa={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"},Oa={},Pa={},Aa=/(\[[^\[]*\])|(\\)?([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,$a=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Ea={},Ia={},Wa=/[+-]?\d{6}/,Ca=/Z|[+-]\d\d:?\d\d/gi,Fa=/Z|[+-]\d\d(?::?\d\d)?/gi,za=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Ra={},Na={},Ua=0,Ja=1,Va=2,Ba=3,Ga=4,Za=5,qa=6,Qa=7,Ka=8;Ta=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};var Xa=Ta;B("M",["MM",2],"Mo",function(){return this.month()+1}),B("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),B("MMMM",0,0,function(e){return this.localeData().months(this,e)}),E("month","M"),C("month",8),K("M",/\d\d?/),K("MM",/\d\d?/,/\d\d/),K("MMM",function(e,t){return t.monthsShortRegex(e)}),K("MMMM",function(e,t){return t.monthsRegex(e)}),ne(["M","MM"],function(e,t){t[Ja]=Y(e)-1}),ne(["MMM","MMMM"],function(e,t,n,a){var r=n._locale.monthsParse(e,a,n._strict);null!=r?t[Ja]=r:h(n).invalidMonth=e});var er=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,tr="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),nr="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ar=za,rr=za;B("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),B(0,["YY",2],0,function(){return this.year()%100}),B(0,["YYYY",4],0,"year"),B(0,["YYYYY",5],0,"year"),B(0,["YYYYYY",6,!0],0,"year"),E("year","y"),C("year",1),K("Y",/[+-]?\d+/),K("YY",/\d\d?/,/\d\d/),K("YYYY",/\d{1,4}/,/\d{4}/),K("YYYYY",/[+-]?\d{1,6}/,Wa),K("YYYYYY",/[+-]?\d{1,6}/,Wa),ne(["YYYYY","YYYYYY"],Ua),ne("YYYY",function(e,n){n[Ua]=2===e.length?t.parseTwoDigitYear(e):Y(e)}),ne("YY",function(e,n){n[Ua]=t.parseTwoDigitYear(e)}),ne("Y",function(e,t){t[Ua]=parseInt(e,10)}),t.parseTwoDigitYear=function(e){return Y(e)+(Y(e)>68?1900:2e3)};var ir=z("FullYear",!0);B("w",["ww",2],"wo","week"),B("W",["WW",2],"Wo","isoWeek"),E("week","w"),E("isoWeek","W"),C("week",5),C("isoWeek",5),K("w",/\d\d?/),K("ww",/\d\d?/,/\d\d/),K("W",/\d\d?/),K("WW",/\d\d?/,/\d\d/),ae(["w","ww","W","WW"],function(e,t,n,a){t[a.substr(0,1)]=Y(e)});var sr={dow:0,doy:6};B("d",0,"do","day"),B("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),B("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),B("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),B("e",0,0,"weekday"),B("E",0,0,"isoWeekday"),E("day","d"),E("weekday","e"),E("isoWeekday","E"),C("day",11),C("weekday",11),C("isoWeekday",11),K("d",/\d\d?/),K("e",/\d\d?/),K("E",/\d\d?/),K("dd",function(e,t){return t.weekdaysMinRegex(e)}),K("ddd",function(e,t){return t.weekdaysShortRegex(e)}),K("dddd",function(e,t){return t.weekdaysRegex(e)}),ae(["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}),ae(["d","e","E"],function(e,t,n,a){t[a]=Y(e)});var or="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),dr="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),ur="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),lr=za,_r=za,mr=za;B("H",["HH",2],0,"hour"),B("h",["hh",2],0,Ue),B("k",["kk",2],0,Je),B("hmm",0,0,function(){return""+Ue.apply(this)+V(this.minutes(),2)}),B("hmmss",0,0,function(){return""+Ue.apply(this)+V(this.minutes(),2)+V(this.seconds(),2)}),B("Hmm",0,0,function(){return""+this.hours()+V(this.minutes(),2)}),B("Hmmss",0,0,function(){return""+this.hours()+V(this.minutes(),2)+V(this.seconds(),2)}),Ve("a",!0),Ve("A",!1),E("hour","h"),C("hour",13),K("a",Be),K("A",Be),K("H",/\d\d?/),K("h",/\d\d?/),K("k",/\d\d?/),K("HH",/\d\d?/,/\d\d/),K("hh",/\d\d?/,/\d\d/),K("kk",/\d\d?/,/\d\d/),K("hmm",/\d\d\d\d?/),K("hmmss",/\d\d\d\d\d\d?/),K("Hmm",/\d\d\d\d?/),K("Hmmss",/\d\d\d\d\d\d?/),ne(["H","HH"],Ba),ne(["k","kk"],function(e,t,n){var a=Y(e);t[Ba]=24===a?0:a}),ne(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ne(["h","hh"],function(e,t,n){t[Ba]=Y(e),h(n).bigHour=!0}),ne("hmm",function(e,t,n){var a=e.length-2;t[Ba]=Y(e.substr(0,a)),t[Ga]=Y(e.substr(a)),h(n).bigHour=!0}),ne("hmmss",function(e,t,n){var a=e.length-4,r=e.length-2;t[Ba]=Y(e.substr(0,a)),t[Ga]=Y(e.substr(a,2)),t[Za]=Y(e.substr(r)),h(n).bigHour=!0}),ne("Hmm",function(e,t,n){var a=e.length-2;t[Ba]=Y(e.substr(0,a)),t[Ga]=Y(e.substr(a))}),ne("Hmmss",function(e,t,n){var a=e.length-4,r=e.length-2;t[Ba]=Y(e.substr(0,a)),t[Ga]=Y(e.substr(a,2)),t[Za]=Y(e.substr(r))});var cr,hr=z("Hours",!0),fr={calendar:ja,longDateFormat:Ha,invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:xa,months:tr,monthsShort:nr,week:sr,weekdays:or,weekdaysMin:ur,weekdaysShort:dr,meridiemParse:/[ap]\.?m?\.?/i},pr={},Mr={},yr=/^\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)?)?$/,gr=/^\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)?)?$/,Lr=/Z|[+-]\d\d(?::?\d\d)?/,Yr=[["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}/]],vr=[["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/]],kr=/^\/?Date\((\-?\d+)/i,Dr=/^((?:Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d?\d\s(?:Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(?:\d\d)?\d\d\s)(\d\d:\d\d)(\:\d\d)?(\s(?:UT|GMT|[ECMP][SD]T|[A-IK-Za-ik-z]|[+-]\d{4}))$/;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 wr=D("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Lt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:p()}),br=D("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Lt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:p()}),Tr=function(){return Date.now?Date.now():+new Date},Sr=["year","quarter","month","week","day","hour","minute","second","millisecond"];Ht("Z",":"),Ht("ZZ",""),K("Z",Fa),K("ZZ",Fa),ne(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=xt(Fa,e)});var jr=/([\+\-]|\d\d)/gi;t.updateOffset=function(){};var Hr=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,xr=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Jt.fn=Tt.prototype,Jt.invalid=bt;var Or=Zt(1,"add"),Pr=Zt(-1,"subtract");t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",t.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Ar=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)});B(0,["gg",2],0,function(){return this.weekYear()%100}),B(0,["GG",2],0,function(){return this.isoWeekYear()%100}),xn("gggg","weekYear"),xn("ggggg","weekYear"),xn("GGGG","isoWeekYear"),xn("GGGGG","isoWeekYear"),E("weekYear","gg"),E("isoWeekYear","GG"),C("weekYear",1),C("isoWeekYear",1),K("G",/[+-]?\d+/),K("g",/[+-]?\d+/),K("GG",/\d\d?/,/\d\d/),K("gg",/\d\d?/,/\d\d/),K("GGGG",/\d{1,4}/,/\d{4}/),K("gggg",/\d{1,4}/,/\d{4}/),K("GGGGG",/[+-]?\d{1,6}/,Wa),K("ggggg",/[+-]?\d{1,6}/,Wa),ae(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,a){t[a.substr(0,2)]=Y(e)}),ae(["gg","GG"],function(e,n,a,r){n[r]=t.parseTwoDigitYear(e)}),B("Q",0,"Qo","quarter"),E("quarter","Q"),C("quarter",7),K("Q",/\d/),ne("Q",function(e,t){t[Ja]=3*(Y(e)-1)}),B("D",["DD",2],"Do","date"),E("date","D"),C("date",9),K("D",/\d\d?/),K("DD",/\d\d?/,/\d\d/),K("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),ne(["D","DD"],Va),ne("Do",function(e,t){t[Va]=Y(e.match(/\d\d?/)[0],10)});var $r=z("Date",!0);B("DDD",["DDDD",3],"DDDo","dayOfYear"),E("dayOfYear","DDD"),C("dayOfYear",4),K("DDD",/\d{1,3}/),K("DDDD",/\d{3}/),ne(["DDD","DDDD"],function(e,t,n){n._dayOfYear=Y(e)}),B("m",["mm",2],0,"minute"),E("minute","m"),C("minute",14),K("m",/\d\d?/),K("mm",/\d\d?/,/\d\d/),ne(["m","mm"],Ga);var Er=z("Minutes",!1);B("s",["ss",2],0,"second"),E("second","s"),C("second",15),K("s",/\d\d?/),K("ss",/\d\d?/,/\d\d/),ne(["s","ss"],Za);var Ir=z("Seconds",!1);B("S",0,0,function(){return~~(this.millisecond()/100)}),B(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),B(0,["SSS",3],0,"millisecond"),B(0,["SSSS",4],0,function(){return 10*this.millisecond()}),B(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),B(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),B(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),B(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),B(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),E("millisecond","ms"),C("millisecond",16),K("S",/\d{1,3}/,/\d/),K("SS",/\d{1,3}/,/\d\d/),K("SSS",/\d{1,3}/,/\d{3}/);var Wr;for(Wr="SSSS";Wr.length<=9;Wr+="S")K(Wr,/\d+/);for(Wr="S";Wr.length<=9;Wr+="S")ne(Wr,Fn);var Cr=z("Milliseconds",!1);B("z",0,0,"zoneAbbr"),B("zz",0,0,"zoneName");var Fr=y.prototype;Fr.add=Or,Fr.calendar=Kt,Fr.clone=Xt,Fr.diff=on,Fr.endOf=Ln,Fr.format=mn,Fr.from=cn,Fr.fromNow=hn,Fr.to=fn,Fr.toNow=pn,Fr.get=U,Fr.invalidAt=jn,Fr.isAfter=en,Fr.isBefore=tn,Fr.isBetween=nn,Fr.isSame=an,Fr.isSameOrAfter=rn,Fr.isSameOrBefore=sn,Fr.isValid=Tn,Fr.lang=Ar,Fr.locale=Mn,Fr.localeData=yn,Fr.max=br,Fr.min=wr,Fr.parsingFlags=Sn,Fr.set=J,Fr.startOf=gn,Fr.subtract=Pr,Fr.toArray=Dn,Fr.toObject=wn,Fr.toDate=kn,Fr.toISOString=ln,Fr.inspect=_n,Fr.toJSON=bn,Fr.toString=un,Fr.unix=vn,Fr.valueOf=Yn,Fr.creationData=Hn,Fr.year=ir,Fr.isLeapYear=ye,Fr.weekYear=On,Fr.isoWeekYear=Pn,Fr.quarter=Fr.quarters=Wn,Fr.month=_e,Fr.daysInMonth=me,Fr.week=Fr.weeks=Se,Fr.isoWeek=Fr.isoWeeks=je,Fr.weeksInYear=$n,Fr.isoWeeksInYear=An,Fr.date=$r,Fr.day=Fr.days=Ie,Fr.weekday=We,Fr.isoWeekday=Ce,Fr.dayOfYear=Cn,Fr.hour=Fr.hours=hr,Fr.minute=Fr.minutes=Er,Fr.second=Fr.seconds=Ir,Fr.millisecond=Fr.milliseconds=Cr,Fr.utcOffset=At,Fr.utc=Et,Fr.local=It,Fr.parseZone=Wt,Fr.hasAlignedHourOffset=Ct,Fr.isDST=Ft,Fr.isLocal=Rt,Fr.isUtcOffset=Nt,Fr.isUtc=Ut,Fr.isUTC=Ut,Fr.zoneAbbr=zn,Fr.zoneName=Rn,Fr.dates=D("dates accessor is deprecated. Use date instead.",$r),Fr.months=D("months accessor is deprecated. Use month instead",_e),Fr.years=D("years accessor is deprecated. Use year instead",ir),Fr.zone=D("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",$t),Fr.isDSTShifted=D("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",zt);var zr=j.prototype;zr.calendar=H,zr.longDateFormat=x,zr.invalidDate=O,zr.ordinal=P,zr.preparse=Jn,zr.postformat=Jn,zr.relativeTime=A,zr.pastFuture=$,zr.set=T,zr.months=se,zr.monthsShort=oe,zr.monthsParse=ue,zr.monthsRegex=he,zr.monthsShortRegex=ce,zr.week=we,zr.firstDayOfYear=Te,zr.firstDayOfWeek=be,zr.weekdays=Oe,zr.weekdaysMin=Ae,zr.weekdaysShort=Pe,zr.weekdaysParse=Ee,zr.weekdaysRegex=Fe,zr.weekdaysShortRegex=ze,zr.weekd