UNPKG

ng2-handsontable

Version:
1 lines 1.06 MB
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@angular/core"),require("rxjs/Observable"),require("@angular/common")):"function"==typeof define&&define.amd?define(["@angular/core","rxjs/Observable","@angular/common"],t):"object"==typeof exports?exports["ng2-handsontable.umd.min"]=t(require("@angular/core"),require("rxjs/Observable"),require("@angular/common")):e["ng2-handsontable.umd.min"]=t(e["@angular/core"],e["rxjs/Observable"],e["@angular/common"])}("undefined"!=typeof self?self:this,function(e,t,n){return function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:o})},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=123)}([function(e,t,n){(function(e){!function(t,n){e.exports=n()}(0,function(){"use strict";function t(){return Oo.apply(null,arguments)}function o(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 a(e){return void 0===e}function s(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function l(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function u(e,t){var n,o=[];for(n=0;n<e.length;++n)o.push(t(e[n],n));return o}function d(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function c(e,t){for(var n in t)d(t,n)&&(e[n]=t[n]);return d(t,"toString")&&(e.toString=t.toString),d(t,"valueOf")&&(e.valueOf=t.valueOf),e}function h(e,t,n,o){return kt(e,t,n,o,!0).utc()}function f(){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 m(e){return null==e._pf&&(e._pf=f()),e._pf}function p(e){if(null==e._isValid){var t=m(e),n=Do.call(t.parsedDateParts,function(e){return null!=e}),o=!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&&(o=o&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return o;e._isValid=o}return e._isValid}function _(e){var t=h(NaN);return null!=e?c(m(t),e):m(t).userInvalidated=!0,t}function g(e,t){var n,o,r;if(a(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),a(t._i)||(e._i=t._i),a(t._f)||(e._f=t._f),a(t._l)||(e._l=t._l),a(t._strict)||(e._strict=t._strict),a(t._tzm)||(e._tzm=t._tzm),a(t._isUTC)||(e._isUTC=t._isUTC),a(t._offset)||(e._offset=t._offset),a(t._pf)||(e._pf=m(t)),a(t._locale)||(e._locale=t._locale),Ro.length>0)for(n=0;n<Ro.length;n++)o=Ro[n],r=t[o],a(r)||(e[o]=r);return e}function y(e){g(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===Yo&&(Yo=!0,t.updateOffset(this),Yo=!1)}function v(e){return e instanceof y||null!=e&&null!=e._isAMomentObject}function w(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function b(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=w(t)),n}function M(e,t,n){var o,r=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0;for(o=0;o<r;o++)(n&&e[o]!==t[o]||!n&&b(e[o])!==b(t[o]))&&a++;return a+i}function C(e){!1===t.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function T(e,n){var o=!0;return c(function(){if(null!=t.deprecationHandler&&t.deprecationHandler(null,e),o){for(var r,i=[],a=0;a<arguments.length;a++){if(r="","object"==typeof arguments[a]){r+="\n["+a+"] ";for(var s in arguments[0])r+=s+": "+arguments[0][s]+", ";r=r.slice(0,-2)}else r=arguments[a];i.push(r)}C(e+"\nArguments: "+Array.prototype.slice.call(i).join("")+"\n"+(new Error).stack),o=!1}return n.apply(this,arguments)},n)}function k(e,n){null!=t.deprecationHandler&&t.deprecationHandler(e,n),Ho[e]||(C(n),Ho[e]=!0)}function L(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function S(e){var t,n;for(n in e)t=e[n],L(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 E(e,t){var n,o=c({},e);for(n in t)d(t,n)&&(r(e[n])&&r(t[n])?(o[n]={},c(o[n],e[n]),c(o[n],t[n])):null!=t[n]?o[n]=t[n]:delete o[n]);for(n in e)d(e,n)&&!d(t,n)&&r(e[n])&&(o[n]=c({},o[n]));return o}function O(e){null!=e&&this.set(e)}function D(e,t,n){var o=this._calendar[e]||this._calendar.sameElse;return L(o)?o.call(t,n):o}function R(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 Y(){return this._invalidDate}function H(e){return this._ordinal.replace("%d",e)}function x(e,t,n,o){var r=this._relativeTime[n];return L(r)?r(e,t,n,o):r.replace(/%d/i,e)}function A(e,t){var n=this._relativeTime[e>0?"future":"past"];return L(n)?n(t):n.replace(/%s/i,t)}function P(e,t){var n=e.toLowerCase();Io[n]=Io[n+"s"]=Io[t]=e}function j(e){return"string"==typeof e?Io[e]||Io[e.toLowerCase()]:void 0}function N(e){var t,n,o={};for(n in e)d(e,n)&&(t=j(n))&&(o[t]=e[n]);return o}function I(e,t){Wo[e]=t}function W(e){var t=[];for(var n in e)t.push({unit:n,priority:Wo[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function F(e,t,n){var o=""+Math.abs(e),r=t-o.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+o}function z(e,t,n,o){var r=o;"string"==typeof o&&(r=function(){return this[o]()}),e&&(Vo[e]=r),t&&(Vo[t[0]]=function(){return F(r.apply(this,arguments),t[1],t[2])}),n&&(Vo[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function B(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function V(e){var t,n,o=e.match(Fo);for(t=0,n=o.length;t<n;t++)Vo[o[t]]?o[t]=Vo[o[t]]:o[t]=B(o[t]);return function(t){var r,i="";for(r=0;r<n;r++)i+=L(o[r])?o[r].call(t,e):o[r];return i}}function U(e,t){return e.isValid()?(t=G(t,e.localeData()),Bo[t]=Bo[t]||V(t),Bo[t](e)):e.localeData().invalidDate()}function G(e,t){function n(e){return t.longDateFormat(e)||e}var o=5;for(zo.lastIndex=0;o>=0&&zo.test(e);)e=e.replace(zo,n),zo.lastIndex=0,o-=1;return e}function K(e,t,n){lr[e]=L(t)?t:function(e,o){return e&&n?n:t}}function X(e,t){return d(lr,e)?lr[e](t._strict,t._locale):new RegExp(J(e))}function J(e){return $(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,o,r){return t||n||o||r}))}function $(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function q(e,t){var n,o=t;for("string"==typeof e&&(e=[e]),s(t)&&(o=function(e,n){n[t]=b(e)}),n=0;n<e.length;n++)ur[e[n]]=o}function Z(e,t){q(e,function(e,n,o,r){o._w=o._w||{},t(e,o._w,o,r)})}function Q(e,t,n){null!=t&&d(ur,e)&&ur[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 oe(e,n){return function(o){return null!=o?(ie(this,e,o),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())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),ue(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function ae(e){return e=j(e),L(this[e])?this[e]():this}function se(e,t){if("object"==typeof e){e=N(e);for(var n=W(e),o=0;o<n.length;o++)this[n[o].unit](e[n[o].unit])}else if(e=j(e),L(this[e]))return this[e](t);return this}function le(e,t){return(e%t+t)%t}function ue(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=le(t,12);return e+=(t-n)/12,1===n?te(e)?29:28:31-n%7%2}function de(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||br).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone}function ce(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[br.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function he(e,t,n){var o,r,i,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],o=0;o<12;++o)i=h([2e3,o]),this._shortMonthsParse[o]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[o]=this.months(i,"").toLocaleLowerCase();return n?"MMM"===t?(r=vr.call(this._shortMonthsParse,a),-1!==r?r:null):(r=vr.call(this._longMonthsParse,a),-1!==r?r:null):"MMM"===t?-1!==(r=vr.call(this._shortMonthsParse,a))?r:(r=vr.call(this._longMonthsParse,a),-1!==r?r:null):-1!==(r=vr.call(this._longMonthsParse,a))?r:(r=vr.call(this._shortMonthsParse,a),-1!==r?r:null)}function fe(e,t,n){var o,r,i;if(this._monthsParseExact)return he.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),o=0;o<12;o++){if(r=h([2e3,o]),n&&!this._longMonthsParse[o]&&(this._longMonthsParse[o]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[o]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[o]||(i="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[o]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[o].test(e))return o;if(n&&"MMM"===t&&this._shortMonthsParse[o].test(e))return o;if(!n&&this._monthsParse[o].test(e))return o}}function me(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=b(t);else if(t=e.localeData().monthsParse(t),!s(t))return e;return n=Math.min(e.date(),ue(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function pe(e){return null!=e?(me(this,e),t.updateOffset(this,!0),this):re(this,"Month")}function _e(){return ue(this.year(),this.month())}function ge(e){return this._monthsParseExact?(d(this,"_monthsRegex")||ve.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(d(this,"_monthsShortRegex")||(this._monthsShortRegex=Tr),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function ye(e){return this._monthsParseExact?(d(this,"_monthsRegex")||ve.call(this),e?this._monthsStrictRegex:this._monthsRegex):(d(this,"_monthsRegex")||(this._monthsRegex=kr),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function ve(){function e(e,t){return t.length-e.length}var t,n,o=[],r=[],i=[];for(t=0;t<12;t++)n=h([2e3,t]),o.push(this.monthsShort(n,"")),r.push(this.months(n,"")),i.push(this.months(n,"")),i.push(this.monthsShort(n,""));for(o.sort(e),r.sort(e),i.sort(e),t=0;t<12;t++)o[t]=$(o[t]),r[t]=$(r[t]);for(t=0;t<24;t++)i[t]=$(i[t]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+o.join("|")+")","i")}function we(e,t,n,o,r,i,a){var s=new Date(e,t,n,o,r,i,a);return e<100&&e>=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function be(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function Me(e,t,n){var o=7+t-n;return-(7+be(e,0,o).getUTCDay()-t)%7+o-1}function Ce(e,t,n,o,r){var i,a,s=(7+n-o)%7,l=Me(e,o,r),u=1+7*(t-1)+s+l;return u<=0?(i=e-1,a=ee(i)+u):u>ee(e)?(i=e+1,a=u-ee(e)):(i=e,a=u),{year:i,dayOfYear:a}}function Te(e,t,n){var o,r,i=Me(e.year(),t,n),a=Math.floor((e.dayOfYear()-i-1)/7)+1;return a<1?(r=e.year()-1,o=a+ke(r,t,n)):a>ke(e.year(),t,n)?(o=a-ke(e.year(),t,n),r=e.year()+1):(r=e.year(),o=a),{week:o,year:r}}function ke(e,t,n){var o=Me(e,t,n),r=Me(e+1,t,n);return(ee(e)-o+r)/7}function Le(e){return Te(e,this._week.dow,this._week.doy).week}function Se(){return this._week.dow}function Ee(){return this._week.doy}function Oe(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function De(e){var t=Te(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Re(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function Ye(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function He(e,t){return e?o(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:o(this._weekdays)?this._weekdays:this._weekdays.standalone}function xe(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ae(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Pe(e,t,n){var o,r,i,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],o=0;o<7;++o)i=h([2e3,1]).day(o),this._minWeekdaysParse[o]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[o]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[o]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?(r=vr.call(this._weekdaysParse,a),-1!==r?r:null):"ddd"===t?(r=vr.call(this._shortWeekdaysParse,a),-1!==r?r:null):(r=vr.call(this._minWeekdaysParse,a),-1!==r?r:null):"dddd"===t?-1!==(r=vr.call(this._weekdaysParse,a))?r:-1!==(r=vr.call(this._shortWeekdaysParse,a))?r:(r=vr.call(this._minWeekdaysParse,a),-1!==r?r:null):"ddd"===t?-1!==(r=vr.call(this._shortWeekdaysParse,a))?r:-1!==(r=vr.call(this._weekdaysParse,a))?r:(r=vr.call(this._minWeekdaysParse,a),-1!==r?r:null):-1!==(r=vr.call(this._minWeekdaysParse,a))?r:-1!==(r=vr.call(this._weekdaysParse,a))?r:(r=vr.call(this._shortWeekdaysParse,a),-1!==r?r:null)}function je(e,t,n){var o,r,i;if(this._weekdaysParseExact)return Pe.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),o=0;o<7;o++){if(r=h([2e3,1]).day(o),n&&!this._fullWeekdaysParse[o]&&(this._fullWeekdaysParse[o]=new RegExp("^"+this.weekdays(r,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[o]=new RegExp("^"+this.weekdaysShort(r,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[o]=new RegExp("^"+this.weekdaysMin(r,"").replace(".",".?")+"$","i")),this._weekdaysParse[o]||(i="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[o]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[o].test(e))return o;if(n&&"ddd"===t&&this._shortWeekdaysParse[o].test(e))return o;if(n&&"dd"===t&&this._minWeekdaysParse[o].test(e))return o;if(!n&&this._weekdaysParse[o].test(e))return o}}function Ne(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Re(e,this.localeData()),this.add(e-t,"d")):t}function Ie(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 We(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Ye(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Fe(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Ve.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(d(this,"_weekdaysRegex")||(this._weekdaysRegex=Dr),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function ze(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Ve.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(d(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Rr),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Be(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Ve.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(d(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Yr),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Ve(){function e(e,t){return t.length-e.length}var t,n,o,r,i,a=[],s=[],l=[],u=[];for(t=0;t<7;t++)n=h([2e3,1]).day(t),o=this.weekdaysMin(n,""),r=this.weekdaysShort(n,""),i=this.weekdays(n,""),a.push(o),s.push(r),l.push(i),u.push(o),u.push(r),u.push(i);for(a.sort(e),s.sort(e),l.sort(e),u.sort(e),t=0;t<7;t++)s[t]=$(s[t]),l[t]=$(l[t]),u[t]=$(u[t]);this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Ue(){return this.hours()%12||12}function Ge(){return this.hours()||24}function Ke(e,t){z(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Xe(e,t){return t._meridiemParse}function Je(e){return"p"===(e+"").toLowerCase().charAt(0)}function $e(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function qe(e){return e?e.toLowerCase().replace("_","-"):e}function Ze(e){for(var t,n,o,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(o=Qe(r.slice(0,t).join("-")))return o;if(n&&n.length>=t&&M(r,n,!0)>=t-1)break;t--}i++}return null}function Qe(t){var o=null;if(!jr[t]&&void 0!==e&&e&&e.exports)try{o=Hr._abbr;n(126)("./"+t),et(o)}catch(e){}return jr[t]}function et(e,t){var n;return e&&(n=a(t)?ot(e):tt(e,t))&&(Hr=n),Hr._abbr}function tt(e,t){if(null!==t){var n=Pr;if(t.abbr=e,null!=jr[e])k("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=jr[e]._config;else if(null!=t.parentLocale){if(null==jr[t.parentLocale])return Nr[t.parentLocale]||(Nr[t.parentLocale]=[]),Nr[t.parentLocale].push({name:e,config:t}),null;n=jr[t.parentLocale]._config}return jr[e]=new O(E(n,t)),Nr[e]&&Nr[e].forEach(function(e){tt(e.name,e.config)}),et(e),jr[e]}return delete jr[e],null}function nt(e,t){if(null!=t){var n,o,r=Pr;o=Qe(e),null!=o&&(r=o._config),t=E(r,t),n=new O(t),n.parentLocale=jr[e],jr[e]=n,et(e)}else null!=jr[e]&&(null!=jr[e].parentLocale?jr[e]=jr[e].parentLocale:null!=jr[e]&&delete jr[e]);return jr[e]}function ot(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Hr;if(!o(e)){if(t=Qe(e))return t;e=[e]}return Ze(e)}function rt(){return xo(jr)}function it(e){var t,n=e._a;return n&&-2===m(e).overflow&&(t=n[cr]<0||n[cr]>11?cr:n[hr]<1||n[hr]>ue(n[dr],n[cr])?hr:n[fr]<0||n[fr]>24||24===n[fr]&&(0!==n[mr]||0!==n[pr]||0!==n[_r])?fr:n[mr]<0||n[mr]>59?mr:n[pr]<0||n[pr]>59?pr:n[_r]<0||n[_r]>999?_r:-1,m(e)._overflowDayOfYear&&(t<dr||t>hr)&&(t=hr),m(e)._overflowWeeks&&-1===t&&(t=gr),m(e)._overflowWeekday&&-1===t&&(t=yr),m(e).overflow=t),e}function at(e,t,n){return null!=e?e:null!=t?t:n}function st(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,o,r,i,a=[];if(!e._d){for(o=st(e),e._w&&null==e._a[hr]&&null==e._a[cr]&&ut(e),null!=e._dayOfYear&&(i=at(e._a[dr],o[dr]),(e._dayOfYear>ee(i)||0===e._dayOfYear)&&(m(e)._overflowDayOfYear=!0),n=be(i,0,e._dayOfYear),e._a[cr]=n.getUTCMonth(),e._a[hr]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=o[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[fr]&&0===e._a[mr]&&0===e._a[pr]&&0===e._a[_r]&&(e._nextDay=!0,e._a[fr]=0),e._d=(e._useUTC?be:we).apply(null,a),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[fr]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(m(e).weekdayMismatch=!0)}}function ut(e){var t,n,o,r,i,a,s,l;if(t=e._w,null!=t.GG||null!=t.W||null!=t.E)i=1,a=4,n=at(t.GG,e._a[dr],Te(Lt(),1,4).year),o=at(t.W,1),((r=at(t.E,1))<1||r>7)&&(l=!0);else{i=e._locale._week.dow,a=e._locale._week.doy;var u=Te(Lt(),i,a);n=at(t.gg,e._a[dr],u.year),o=at(t.w,u.week),null!=t.d?((r=t.d)<0||r>6)&&(l=!0):null!=t.e?(r=t.e+i,(t.e<0||t.e>6)&&(l=!0)):r=i}o<1||o>ke(n,i,a)?m(e)._overflowWeeks=!0:null!=l?m(e)._overflowWeekday=!0:(s=Ce(n,o,r,i,a),e._a[dr]=s.year,e._dayOfYear=s.dayOfYear)}function dt(e){var t,n,o,r,i,a,s=e._i,l=Ir.exec(s)||Wr.exec(s);if(l){for(m(e).iso=!0,t=0,n=zr.length;t<n;t++)if(zr[t][1].exec(l[1])){r=zr[t][0],o=!1!==zr[t][2];break}if(null==r)return void(e._isValid=!1);if(l[3]){for(t=0,n=Br.length;t<n;t++)if(Br[t][1].exec(l[3])){i=(l[2]||" ")+Br[t][0];break}if(null==i)return void(e._isValid=!1)}if(!o&&null!=i)return void(e._isValid=!1);if(l[4]){if(!Fr.exec(l[4]))return void(e._isValid=!1);a="Z"}e._f=r+(i||"")+(a||""),yt(e)}else e._isValid=!1}function ct(e,t,n,o,r,i){var a=[ht(e),Cr.indexOf(t),parseInt(n,10),parseInt(o,10),parseInt(r,10)];return i&&a.push(parseInt(i,10)),a}function ht(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function ft(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}function mt(e,t,n){if(e){if(Er.indexOf(e)!==new Date(t[0],t[1],t[2]).getDay())return m(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function pt(e,t,n){if(e)return Gr[e];if(t)return 0;var o=parseInt(n,10),r=o%100;return(o-r)/100*60+r}function _t(e){var t=Ur.exec(ft(e._i));if(t){var n=ct(t[4],t[3],t[2],t[5],t[6],t[7]);if(!mt(t[1],n,e))return;e._a=n,e._tzm=pt(t[8],t[9],t[10]),e._d=be.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),m(e).rfc2822=!0}else e._isValid=!1}function gt(e){var n=Vr.exec(e._i);if(null!==n)return void(e._d=new Date(+n[1]));dt(e),!1===e._isValid&&(delete e._isValid,_t(e),!1===e._isValid&&(delete e._isValid,t.createFromInputFallback(e)))}function yt(e){if(e._f===t.ISO_8601)return void dt(e);if(e._f===t.RFC_2822)return void _t(e);e._a=[],m(e).empty=!0;var n,o,r,i,a,s=""+e._i,l=s.length,u=0;for(r=G(e._f,e._locale).match(Fo)||[],n=0;n<r.length;n++)i=r[n],o=(s.match(X(i,e))||[])[0],o&&(a=s.substr(0,s.indexOf(o)),a.length>0&&m(e).unusedInput.push(a),s=s.slice(s.indexOf(o)+o.length),u+=o.length),Vo[i]?(o?m(e).empty=!1:m(e).unusedTokens.push(i),Q(i,o,e)):e._strict&&!o&&m(e).unusedTokens.push(i);m(e).charsLeftOver=l-u,s.length>0&&m(e).unusedInput.push(s),e._a[fr]<=12&&!0===m(e).bigHour&&e._a[fr]>0&&(m(e).bigHour=void 0),m(e).parsedDateParts=e._a.slice(0),m(e).meridiem=e._meridiem,e._a[fr]=vt(e._locale,e._a[fr],e._meridiem),lt(e),it(e)}function vt(e,t,n){var o;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(o=e.isPM(n),o&&t<12&&(t+=12),o||12!==t||(t=0),t):t}function wt(e){var t,n,o,r,i;if(0===e._f.length)return m(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;r<e._f.length;r++)i=0,t=g({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],yt(t),p(t)&&(i+=m(t).charsLeftOver,i+=10*m(t).unusedTokens.length,m(t).score=i,(null==o||i<o)&&(o=i,n=t));c(e,n||t)}function bt(e){if(!e._d){var t=N(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 Mt(e){var t=new y(it(Ct(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Ct(e){var t=e._i,n=e._f;return e._locale=e._locale||ot(e._l),null===t||void 0===n&&""===t?_({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),v(t)?new y(it(t)):(l(t)?e._d=t:o(n)?wt(e):n?yt(e):Tt(e),p(e)||(e._d=null),e))}function Tt(e){var n=e._i;a(n)?e._d=new Date(t.now()):l(n)?e._d=new Date(n.valueOf()):"string"==typeof n?gt(e):o(n)?(e._a=u(n.slice(0),function(e){return parseInt(e,10)}),lt(e)):r(n)?bt(e):s(n)?e._d=new Date(n):t.createFromInputFallback(e)}function kt(e,t,n,a,s){var l={};return!0!==n&&!1!==n||(a=n,n=void 0),(r(e)&&i(e)||o(e)&&0===e.length)&&(e=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=s,l._l=n,l._i=e,l._f=t,l._strict=a,Mt(l)}function Lt(e,t,n,o){return kt(e,t,n,o,!1)}function St(e,t){var n,r;if(1===t.length&&o(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 Et(){return St("isBefore",[].slice.call(arguments,0))}function Ot(){return St("isAfter",[].slice.call(arguments,0))}function Dt(e){for(var t in e)if(-1===vr.call($r,t)||null!=e[t]&&isNaN(e[t]))return!1;for(var n=!1,o=0;o<$r.length;++o)if(e[$r[o]]){if(n)return!1;parseFloat(e[$r[o]])!==b(e[$r[o]])&&(n=!0)}return!0}function Rt(){return this._isValid}function Yt(){return qt(NaN)}function Ht(e){var t=N(e),n=t.year||0,o=t.quarter||0,r=t.month||0,i=t.week||0,a=t.day||0,s=t.hour||0,l=t.minute||0,u=t.second||0,d=t.millisecond||0;this._isValid=Dt(t),this._milliseconds=+d+1e3*u+6e4*l+1e3*s*60*60,this._days=+a+7*i,this._months=+r+3*o+12*n,this._data={},this._locale=ot(),this._bubble()}function xt(e){return e instanceof Ht}function At(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Pt(e,t){z(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+F(~~(e/60),2)+t+F(~~e%60,2)})}function jt(e,t){var n=(t||"").match(e);if(null===n)return null;var o=n[n.length-1]||[],r=(o+"").match(qr)||["-",0,0],i=60*r[1]+b(r[2]);return 0===i?0:"+"===r[0]?i:-i}function Nt(e,n){var o,r;return n._isUTC?(o=n.clone(),r=(v(e)||l(e)?e.valueOf():Lt(e).valueOf())-o.valueOf(),o._d.setTime(o._d.valueOf()+r),t.updateOffset(o,!1),o):Lt(e).local()}function It(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Wt(e,n,o){var r,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=jt(ir,e)))return this}else Math.abs(e)<16&&!o&&(e*=60);return!this._isUTC&&n&&(r=It(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!n||this._changeInProgress?nn(this,qt(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:It(this)}function Ft(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function zt(e){return this.utcOffset(0,e)}function Bt(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(It(this),"m")),this}function Vt(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=jt(rr,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Ut(e){return!!this.isValid()&&(e=e?Lt(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function Gt(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Kt(){if(!a(this._isDSTShifted))return this._isDSTShifted;var e={};if(g(e,this),e=Ct(e),e._a){var t=e._isUTC?h(e._a):Lt(e._a);this._isDSTShifted=this.isValid()&&M(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Xt(){return!!this.isValid()&&!this._isUTC}function Jt(){return!!this.isValid()&&this._isUTC}function $t(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function qt(e,t){var n,o,r,i=e,a=null;return xt(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:s(e)?(i={},t?i[t]=e:i.milliseconds=e):(a=Zr.exec(e))?(n="-"===a[1]?-1:1,i={y:0,d:b(a[hr])*n,h:b(a[fr])*n,m:b(a[mr])*n,s:b(a[pr])*n,ms:b(At(1e3*a[_r]))*n}):(a=Qr.exec(e))?(n="-"===a[1]?-1:(a[1],1),i={y:Zt(a[2],n),M:Zt(a[3],n),w:Zt(a[4],n),d:Zt(a[5],n),h:Zt(a[6],n),m:Zt(a[7],n),s:Zt(a[8],n)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(r=en(Lt(i.from),Lt(i.to)),i={},i.ms=r.milliseconds,i.M=r.months),o=new Ht(i),xt(e)&&d(e,"_locale")&&(o._locale=e._locale),o}function Zt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Qt(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=Nt(t,e),e.isBefore(t)?n=Qt(e,t):(n=Qt(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function tn(e,t){return function(n,o){var r,i;return null===o||isNaN(+o)||(k(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=o,o=i),n="string"==typeof n?+n:n,r=qt(n,o),nn(this,r,e),this}}function nn(e,n,o,r){var i=n._milliseconds,a=At(n._days),s=At(n._months);e.isValid()&&(r=null==r||r,s&&me(e,re(e,"Month")+s*o),a&&ie(e,"Date",re(e,"Date")+a*o),i&&e._d.setTime(e._d.valueOf()+i*o),r&&t.updateOffset(e,a||s))}function on(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 o=e||Lt(),r=Nt(o,this).startOf("day"),i=t.calendarFormat(this,r)||"sameElse",a=n&&(L(n[i])?n[i].call(this,o):n[i]);return this.format(a||this.localeData().calendar(i,this,Lt(o)))}function an(){return new y(this)}function sn(e,t){var n=v(e)?e:Lt(e);return!(!this.isValid()||!n.isValid())&&(t=j(a(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function ln(e,t){var n=v(e)?e:Lt(e);return!(!this.isValid()||!n.isValid())&&(t=j(a(t)?"millisecond":t),"millisecond"===t?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function un(e,t,n,o){return o=o||"()",("("===o[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===o[1]?this.isBefore(t,n):!this.isAfter(t,n))}function dn(e,t){var n,o=v(e)?e:Lt(e);return!(!this.isValid()||!o.isValid())&&(t=j(t||"millisecond"),"millisecond"===t?this.valueOf()===o.valueOf():(n=o.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function cn(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function hn(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function fn(e,t,n){var o,r,i;if(!this.isValid())return NaN;if(o=Nt(e,this),!o.isValid())return NaN;switch(r=6e4*(o.utcOffset()-this.utcOffset()),t=j(t)){case"year":i=mn(this,o)/12;break;case"month":i=mn(this,o);break;case"quarter":i=mn(this,o)/3;break;case"second":i=(this-o)/1e3;break;case"minute":i=(this-o)/6e4;break;case"hour":i=(this-o)/36e5;break;case"day":i=(this-o-r)/864e5;break;case"week":i=(this-o-r)/6048e5;break;default:i=this-o}return n?i:w(i)}function mn(e,t){var n,o,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"),o=(t-i)/(i-n)):(n=e.clone().add(r+1,"months"),o=(t-i)/(n-i)),-(r+o)||0}function pn(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function _n(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?U(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):L(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this._d.valueOf()).toISOString().replace("Z",U(n,"Z")):U(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function gn(){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+'("]',o=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",r=t+'[")]';return this.format(n+o+"-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 vn(e,t){return this.isValid()&&(v(e)&&e.isValid()||Lt(e).isValid())?qt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function wn(e){return this.from(Lt(),e)}function bn(e,t){return this.isValid()&&(v(e)&&e.isValid()||Lt(e).isValid())?qt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Mn(e){return this.to(Lt(),e)}function Cn(e){var t;return void 0===e?this._locale._abbr:(t=ot(e),null!=t&&(this._locale=t),this)}function Tn(){return this._locale}function kn(e){switch(e=j(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=j(e))||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))}function Sn(){return this._d.valueOf()-6e4*(this._offset||0)}function En(){return Math.floor(this.valueOf()/1e3)}function On(){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 Rn(){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 Yn(){return this.isValid()?this.toISOString():null}function Hn(){return p(this)}function xn(){return c({},m(this))}function An(){return m(this).overflow}function Pn(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function jn(e,t){z(0,[e,e.length],0,t)}function Nn(e){return zn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function In(e){return zn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Wn(){return ke(this.year(),1,4)}function Fn(){var e=this.localeData()._week;return ke(this.year(),e.dow,e.doy)}function zn(e,t,n,o,r){var i;return null==e?Te(this,o,r).year:(i=ke(e,o,r),t>i&&(t=i),Bn.call(this,e,t,n,o,r))}function Bn(e,t,n,o,r){var i=Ce(e,t,n,o,r),a=be(i.year,0,i.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Vn(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 Gn(e,t){t[_r]=b(1e3*("0."+e))}function Kn(){return this._isUTC?"UTC":""}function Xn(){return this._isUTC?"Coordinated Universal Time":""}function Jn(e){return Lt(1e3*e)}function $n(){return Lt.apply(null,arguments).parseZone()}function qn(e){return e}function Zn(e,t,n,o){var r=ot(),i=h().set(o,t);return r[n](i,e)}function Qn(e,t,n){if(s(e)&&(t=e,e=void 0),e=e||"",null!=t)return Zn(e,t,n,"month");var o,r=[];for(o=0;o<12;o++)r[o]=Zn(e,o,n,"month");return r}function eo(e,t,n,o){"boolean"==typeof e?(s(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,s(t)&&(n=t,t=void 0),t=t||"");var r=ot(),i=e?r._week.dow:0;if(null!=n)return Zn(t,(n+i)%7,o,"day");var a,l=[];for(a=0;a<7;a++)l[a]=Zn(t,(a+i)%7,o,"day");return l}function to(e,t){return Qn(e,t,"months")}function no(e,t){return Qn(e,t,"monthsShort")}function oo(e,t,n){return eo(e,t,n,"weekdays")}function ro(e,t,n){return eo(e,t,n,"weekdaysShort")}function io(e,t,n){return eo(e,t,n,"weekdaysMin")}function ao(){var e=this._data;return this._milliseconds=di(this._milliseconds),this._days=di(this._days),this._months=di(this._months),e.milliseconds=di(e.milliseconds),e.seconds=di(e.seconds),e.minutes=di(e.minutes),e.hours=di(e.hours),e.months=di(e.months),e.years=di(e.years),this}function so(e,t,n,o){var r=qt(t,n);return e._milliseconds+=o*r._milliseconds,e._days+=o*r._days,e._months+=o*r._months,e._bubble()}function lo(e,t){return so(this,e,t,1)}function uo(e,t){return so(this,e,t,-1)}function co(e){return e<0?Math.floor(e):Math.ceil(e)}function ho(){var e,t,n,o,r,i=this._milliseconds,a=this._days,s=this._months,l=this._data;return i>=0&&a>=0&&s>=0||i<=0&&a<=0&&s<=0||(i+=864e5*co(mo(s)+a),a=0,s=0),l.milliseconds=i%1e3,e=w(i/1e3),l.seconds=e%60,t=w(e/60),l.minutes=t%60,n=w(t/60),l.hours=n%24,a+=w(n/24),r=w(fo(a)),s+=r,a-=co(mo(r)),o=w(s/12),s%=12,l.days=a,l.months=s,l.years=o,this}function fo(e){return 4800*e/146097}function mo(e){return 146097*e/4800}function po(e){if(!this.isValid())return NaN;var t,n,o=this._milliseconds;if("month"===(e=j(e))||"year"===e)return t=this._days+o/864e5,n=this._months+fo(t),"month"===e?n:n/12;switch(t=this._days+Math.round(mo(this._months)),e){case"week":return t/7+o/6048e5;case"day":return t+o/864e5;case"hour":return 24*t+o/36e5;case"minute":return 1440*t+o/6e4;case"second":return 86400*t+o/1e3;case"millisecond":return Math.floor(864e5*t)+o;default:throw new Error("Unknown unit "+e)}}function _o(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*b(this._months/12):NaN}function go(e){return function(){return this.as(e)}}function yo(){return qt(this)}function vo(e){return e=j(e),this.isValid()?this[e+"s"]():NaN}function wo(e){return function(){return this.isValid()?this._data[e]:NaN}}function bo(){return w(this.days()/7)}function Mo(e,t,n,o,r){return r.relativeTime(t||1,!!n,e,o)}function Co(e,t,n){var o=qt(e).abs(),r=Li(o.as("s")),i=Li(o.as("m")),a=Li(o.as("h")),s=Li(o.as("d")),l=Li(o.as("M")),u=Li(o.as("y")),d=r<=Si.ss&&["s",r]||r<Si.s&&["ss",r]||i<=1&&["m"]||i<Si.m&&["mm",i]||a<=1&&["h"]||a<Si.h&&["hh",a]||s<=1&&["d"]||s<Si.d&&["dd",s]||l<=1&&["M"]||l<Si.M&&["MM",l]||u<=1&&["y"]||["yy",u];return d[2]=t,d[3]=+e>0,d[4]=n,Mo.apply(null,d)}function To(e){return void 0===e?Li:"function"==typeof e&&(Li=e,!0)}function ko(e,t){return void 0!==Si[e]&&(void 0===t?Si[e]:(Si[e]=t,"s"===e&&(Si.ss=t-1),!0))}function Lo(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=Co(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function So(e){return(e>0)-(e<0)||+e}function Eo(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,o=Ei(this._milliseconds)/1e3,r=Ei(this._days),i=Ei(this._months);e=w(o/60),t=w(e/60),o%=60,e%=60,n=w(i/12),i%=12;var a=n,s=i,l=r,u=t,d=e,c=o?o.toFixed(3).replace(/\.?0+$/,""):"",h=this.asSeconds();if(!h)return"P0D";var f=h<0?"-":"",m=So(this._months)!==So(h)?"-":"",p=So(this._days)!==So(h)?"-":"",_=So(this._milliseconds)!==So(h)?"-":"";return f+"P"+(a?m+a+"Y":"")+(s?m+s+"M":"")+(l?p+l+"D":"")+(u||d||c?"T":"")+(u?_+u+"H":"")+(d?_+d+"M":"")+(c?_+c+"S":"")}var Oo,Do;Do=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,o=0;o<n;o++)if(o in t&&e.call(this,t[o],o,t))return!0;return!1};var Ro=t.momentProperties=[],Yo=!1,Ho={};t.suppressDeprecationWarnings=!1,t.deprecationHandler=null;var xo;xo=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)d(e,t)&&n.push(t);return n};var Ao={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Po={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"},jo=/\d{1,2}/,No={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"},Io={},Wo={},Fo=/(\[[^\[]*\])|(\\)?([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,zo=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Bo={},Vo={},Uo=/\d/,Go=/\d\d/,Ko=/\d{3}/,Xo=/\d{4}/,Jo=/[+-]?\d{6}/,$o=/\d\d?/,qo=/\d\d\d\d?/,Zo=/\d\d\d\d\d\d?/,Qo=/\d{1,3}/,er=/\d{1,4}/,tr=/[+-]?\d{1,6}/,nr=/\d+/,or=/[+-]?\d+/,rr=/Z|[+-]\d\d:?\d\d/gi,ir=/Z|[+-]\d\d(?::?\d\d)?/gi,ar=/[+-]?\d+(\.\d{1,3})?/,sr=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,lr={},ur={},dr=0,cr=1,hr=2,fr=3,mr=4,pr=5,_r=6,gr=7,yr=8;z("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),z(0,["YY",2],0,function(){return this.year()%100}),z(0,["YYYY",4],0,"year"),z(0,["YYYYY",5],0,"year"),z(0,["YYYYYY",6,!0],0,"year"),P("year","y"),I("year",1),K("Y",or),K("YY",$o,Go),K("YYYY",er,Xo),K("YYYYY",tr,Jo),K("YYYYYY",tr,Jo),q(["YYYYY","YYYYYY"],dr),q("YYYY",function(e,n){n[dr]=2===e.length?t.parseTwoDigitYear(e):b(e)}),q("YY",function(e,n){n[dr]=t.parseTwoDigitYear(e)}),q("Y",function(e,t){t[dr]=parseInt(e,10)}),t.parseTwoDigitYear=function(e){return b(e)+(b(e)>68?1900:2e3)};var vr,wr=oe("FullYear",!0);vr=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},z("M",["MM",2],"Mo",function(){return this.month()+1}),z("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),z("MMMM",0,0,function(e){return this.localeData().months(this,e)}),P("month","M"),I("month",8),K("M",$o),K("MM",$o,Go),K("MMM",function(e,t){return t.monthsShortRegex(e)}),K("MMMM",function(e,t){return t.monthsRegex(e)}),q(["M","MM"],function(e,t){t[cr]=b(e)-1}),q(["MMM","MMMM"],function(e,t,n,o){var r=n._locale.monthsParse(e,o,n._strict);null!=r?t[cr]=r:m(n).invalidMonth=e});var br=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Mr="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Cr="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Tr=sr,kr=sr;z("w",["ww",2],"wo","week"),z("W",["WW",2],"Wo","isoWeek"),P("week","w"),P("isoWeek","W"),I("week",5),I("isoWeek",5),K("w",$o),K("ww",$o,Go),K("W",$o),K("WW",$o,Go),Z(["w","ww","W","WW"],function(e,t,n,o){t[o.substr(0,1)]=b(e)});var Lr={dow:0,doy:6};z("d",0,"do","day"),z("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),z("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),z("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),z("e",0,0,"weekday"),z("E",0,0,"isoWeekday"),P("day","d"),P("weekday","e"),P("isoWeekday","E"),I("day",11),I("weekday",11),I("isoWeekday",11),K("d",$o),K("e",$o),K("E",$o),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)}),Z(["dd","ddd","dddd"],function(e,t,n,o){var r=n._locale.weekdaysParse(e,o,n._strict);null!=r?t.d=r:m(n).invalidWeekday=e}),Z(["d","e","E"],function(e,t,n,o){t[o]=b(e)});var Sr="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Er="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Or="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Dr=sr,Rr=sr,Yr=sr;z("H",["HH",2],0,"hour"),z("h",["hh",2],0,Ue),z("k",["kk",2],0,Ge),z("hmm",0,0,function(){return""+Ue.apply(this)+F(this.minutes(),2)}),z("hmmss",0,0,function(){return""+Ue.apply(this)+F(this.minutes(),2)+F(this.seconds(),2)}),z("Hmm",0,0,function(){return""+this.hours()+F(this.minutes(),2)}),z("Hmmss",0,0,function(){return""+this.hours()+F(this.minutes(),2)+F(this.seconds(),2)}),Ke("a",!0),Ke("A",!1),P("hour","h"),I("hour",13),K("a",Xe),K("A",Xe),K("H",$o),K("h",$o),K("k",$o),K("HH",$o,Go),K("hh",$o,Go),K("kk",$o,Go),K("hmm",qo),K("hmmss",Zo),K("Hmm",qo),K("Hmmss",Zo),q(["H","HH"],fr),q(["k","kk"],function(e,t,n){var o=b(e);t[fr]=24===o?0:o}),q(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),q(["h","hh"],function(e,t,n){t[fr]=b(e),m(n).bigHour=!0}),q("hmm",function(e,t,n){var o=e.length-2;t[fr]=b(e.substr(0,o)),t[mr]=b(e.substr(o)),m(n).bigHour=!0}),q("hmmss",function(e,t,n){var o=e.length-4,r=e.length-2;t[fr]=b(e.substr(0,o)),t[mr]=b(e.substr(o,2)),t[pr]=b(e.substr(r)),m(n).bigHour=!0}),q("Hmm",function(e,t,n){var o=e.length-2;t[fr]=b(e.substr(0,o)),t[mr]=b(e.substr(o))}),q("Hmmss",function(e,t,n){var o=e.length-4,r=e.length-2;t[fr]=b(e.substr(0,o)),t[mr]=b(e.substr(o,2)),t[pr]=b(e.substr(r))});var Hr,xr=/[ap]\.?m?\.?/i,Ar=oe("Hours",!0),Pr={calendar:Ao,longDateFormat:Po,invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:jo,relativeTime:No,months:Mr,monthsShort:Cr,week:Lr,weekdays:Sr,weekdaysMin:Or,weekdaysShort:Er,meridiemParse:xr},jr={},Nr={},Ir=/^\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)?)?$/,Wr=/^\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)?)?$/,Fr=/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}/]],Br=[["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/]],Vr=/^\/?Date\((\-?\d+)/i,Ur=/^(?:(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}))$/,Gr={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};t.createFromInputFallback=T("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 Kr=T("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:_()}),Xr=T("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:_()}),Jr=function(){return Date.now?Date.now():+new Date},$r=["year","quarter","month","week","day","hour","minute","second","millisecond"];Pt("Z",":"),Pt("ZZ",""),K("Z",ir),K("ZZ",ir),q(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=jt(ir,e)});var qr=/([\+\-]|\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)?)?$/;qt.fn=Ht.prototype,qt.invalid=Yt;var ei=tn(1,"add"),ti=tn(-1,"subtract");t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",t.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var ni=T("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)});z(0,["gg",2],0,function(){return this.weekYear()%100}),z(0,["GG",2],0,function(){return this.isoWeekYear()%100}),jn("gggg","weekYear"),jn("ggggg","weekYear"),jn("GGGG","isoWeekYear"),jn("GGGGG","isoWeekYear"),P("weekYear","gg"),P("isoWeekYear","GG"),I("weekYear",1),I("isoWeekYear",1),K("G",or),K("g",or),K("GG",$o,Go),K("gg",$o,Go),K("GGGG",er,Xo),K("gggg",er,Xo),K("GGGGG",tr,Jo),K("ggggg",tr,Jo),Z(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,o){t[o.substr(0,2)]=b(e)}),Z(["gg","GG"],function(e,n,o,r){n[r]=t.parseTwoDigitYear(e)}),z("Q",0,"Qo","quarter"),P("quarter","Q"),I("quarter",7),K("Q",Uo),q("Q",function(e,t){t[cr]=3*(b(e)-1)}),z("D",["DD",2],"Do","date"),P("date","D"),I("date",9),K("D",$o),K("DD",$o,Go),K("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),q(["D","DD"],hr),q("Do",function(e,t){t[hr]=b(e.match($o)[0])});var oi=oe("Date",!0);z("DDD",["DDDD",3],"DDDo","dayOfYear"),P("dayOfYear","DDD"),I("dayOfYear",4),K("DDD",Qo),K("DDDD",Ko),q(["DDD","DDDD"],function(e,t,n){n._dayOfYear=b(e)}),z("m",["mm",2],0,"minute"),P("minute","m"),I("minute",14),K("m",$o),K("mm",$o,Go),q(["m","mm"],mr);var ri=oe("Minutes",!1);z("s",["ss",2],0,"second"),P("second","s"),I("second",15),K("s",$o),K("ss",$o,Go),q(["s","ss"],pr);var ii=oe("Seconds",!1);z("S",0,0,function(){return~~(this.millisecond()/100)}),z(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),z(0,["SSS",3],0,"millisecond"),z(0,["SSSS",4],0,function(){return 10*this.millisecond()}),z(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),z(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),z(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),z(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),z(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),P("millisecond","ms"),I("millisecond",16),K("S",Qo,Uo),K("SS",Qo,Go),K("SSS",Qo,Ko);var ai;for(ai="SSSS";ai.length<=9;ai+="S")K(ai,nr);for(ai="S";ai.length<=9;ai+="S")q(ai,Gn);var si=oe("Milliseconds",!1);z("z",0,0,"zoneAbbr"),z("zz",0,0,"zoneName");var li=y.prototype;li.add=ei,li.calendar=rn,li.clone=an,li.diff=fn,li.endOf=Ln,li.format=yn,li.from=vn,li.fromNow=wn,li.to=bn,li.toNow=Mn,li.get=ae,li.invalidAt=An,li.isAfter=sn,li.isBefore=ln,li.isBetween=un,li.isSame=dn,li.isSameOrAfter=cn,li.isSameOrBefore=hn,li.isValid=Hn,li.lang=ni,li.locale=Cn,li.localeData=Tn,li.max=Xr,li.min=Kr,li.parsingFlags=xn,li.set=se,li.startOf=kn,li.subtract=ti,li.toArray=Dn,li.toObject=Rn,li.toDate=On,li.toISOString=_n,li.inspect=gn,li.toJSON=Yn,li.toString=pn,li.unix=En,li.valueOf=Sn,li.creationData=Pn,li.year=wr,li.isLeapYear=ne,li.weekYear=Nn,li.isoWeekYear=In,li.quarter=li.quarters=Vn,li.month=pe,li.daysInMonth=_e,li.week=li.weeks=Oe,li.iso