@alicd/crui-time-picker-field
Version:
时间选择器
12 lines • 191 kB
JavaScript
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("React"),require("ReactDOM")):"function"==typeof define&&define.amd?define(["React","ReactDOM"],t):"object"==typeof exports?exports["@alicd/crui-time-picker-field"]=t(require("React"),require("ReactDOM")):e["@alicd/crui-time-picker-field"]=t(e.React,e.ReactDOM)}(this,function(e,t){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.i=function(e){return e},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=160)}([function(e,t,n){"use strict";(function(e){var o,r,i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};
//! moment.js
//! version : 2.17.0
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
//! license : MIT
//! momentjs.com
//!
//!
//!
//! 说明 : 内置了 zh-cn, zh-tw, zh-hk, ja 语言,其他语言为动态加载
//!
!function(s,a){"object"==i(t)&&void 0!==e?e.exports=a():(o=a,void 0!==(r="function"==typeof o?o.call(t,n,t,e):o)&&(e.exports=r))}(0,function(){function t(){return go.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 s(e){var t;for(t in e)return!1;return!0}function a(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function u(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function l(e,t){var n,o=[];for(n=0;n<e.length;++n)o.push(t(e[n],n));return o}function c(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function f(e,t){for(var n in t)c(t,n)&&(e[n]=t[n]);return c(t,"toString")&&(e.toString=t.toString),c(t,"valueOf")&&(e.valueOf=t.valueOf),e}function d(e,t,n,o){return vt(e,t,n,o,!0).utc()}function p(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null}}function h(e){return null==e._pf&&(e._pf=p()),e._pf}function m(e){var t,n,o;if(null==e._isValid){if(t=h(e),n=bo.call(t.parsedDateParts,function(e){return null!=e}),o=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n),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 y(e){var t=d(NaN);return null!=e?f(h(t),e):h(t).userInvalidated=!0,t}function _(e){return void 0===e}function g(e,t){var n,o,r;if(_(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),_(t._i)||(e._i=t._i),_(t._f)||(e._f=t._f),_(t._l)||(e._l=t._l),_(t._strict)||(e._strict=t._strict),_(t._tzm)||(e._tzm=t._tzm),_(t._isUTC)||(e._isUTC=t._isUTC),_(t._offset)||(e._offset=t._offset),_(t._pf)||(e._pf=h(t)),_(t._locale)||(e._locale=t._locale),wo.length>0)for(n in wo)o=wo[n],r=t[o],_(r)||(e[o]=r);return e}function v(e){g(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===Mo&&(Mo=!0,t.updateOffset(this),Mo=!1)}function b(e){return e instanceof v||null!=e&&null!=e._isAMomentObject}function w(e){return 0>e?Math.ceil(e)||0:Math.floor(e)}function M(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=w(t)),n}function O(e,t,n){var o,r=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),s=0;for(o=0;r>o;o++)(n&&e[o]!==t[o]||!n&&M(e[o])!==M(t[o]))&&s++;return s+i}function x(e){!1===t.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function S(e,n){var o=!0;return f(function(){var r,s,a,u;if(null!=t.deprecationHandler&&t.deprecationHandler(null,e),o){for(r=[],a=0;a<arguments.length;a++){if(s="","object"==i(arguments[a])){s+="\n["+a+"] ";for(u in arguments[0])s+=u+": "+arguments[0][u]+", ";s=s.slice(0,-2)}else s=arguments[a];r.push(s)}x(e+"\nArguments: "+Array.prototype.slice.call(r).join("")+"\n"+(new Error).stack),o=!1}return n.apply(this,arguments)},n)}function Y(e,n){null!=t.deprecationHandler&&t.deprecationHandler(e,n),Oo[e]||(x(n),Oo[e]=!0)}function L(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function D(e){var t,n;for(n in e)t=e[n],L(t)?this[n]=t:this["_"+n]=t;this._config=e,this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function T(e,t){var n,o=f({},e);for(n in t)c(t,n)&&(r(e[n])&&r(t[n])?(o[n]={},f(o[n],e[n]),f(o[n],t[n])):null!=t[n]?o[n]=t[n]:delete o[n]);for(n in e)c(e,n)&&!c(t,n)&&r(e[n])&&(o[n]=f({},o[n]));return o}function k(e){null!=e&&this.set(e)}function P(e,t,n){var o=this._calendar[e]||this._calendar.sameElse;return L(o)?o.call(t,n):o}function C(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 j(){return this._invalidDate}function E(e){return this._ordinal.replace("%d",e)}function N(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 W(e,t){var n=e.toLowerCase();Co[n]=Co[n+"s"]=Co[t]=e}function F(e){return"string"==typeof e?Co[e]||Co[e.toLowerCase()]:void 0}function R(e){var t,n,o={};for(n in e)c(e,n)&&(t=F(n))&&(o[t]=e[n]);return o}function H(e,t){jo[e]=t}function V(e){var t,n=[];for(t in e)n.push({unit:t,priority:jo[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}function z(e,n){return function(o){return null!=o?(U(this,e,o),t.updateOffset(this,n),this):I(this,e)}}function I(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function U(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function G(e){return e=F(e),L(this[e])?this[e]():this}function B(e,t){var n,o;if("object"==(void 0===e?"undefined":i(e)))for(e=R(e),n=V(e),o=0;o<n.length;o++)this[n[o].unit](e[n[o].unit]);else if(e=F(e),L(this[e]))return this[e](t);return this}function q(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&&(Wo[e]=r),t&&(Wo[t[0]]=function(){return q(r.apply(this,arguments),t[1],t[2])}),n&&(Wo[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function J(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function K(e){var t,n,o=e.match(Eo);for(t=0,n=o.length;n>t;t++)o[t]=Wo[o[t]]?Wo[o[t]]:J(o[t]);return function(t){var r,i="";for(r=0;n>r;r++)i+=o[r]instanceof Function?o[r].call(t,e):o[r];return i}}function $(e,t){return e.isValid()?(t=Q(t,e.localeData()),Ao[t]=Ao[t]||K(t),Ao[t](e)):e.localeData().invalidDate()}function Q(e,t){function n(e){return t.longDateFormat(e)||e}var o=5;for(No.lastIndex=0;o>=0&&No.test(e);)e=e.replace(No,n),No.lastIndex=0,o-=1;return e}function X(e,t,n){tr[e]=L(t)?t:function(e){return e&&n?n:t}}function ee(e,t){return c(tr,e)?tr[e](t._strict,t._locale):new RegExp(te(e))}function te(e){return ne(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,o,r){return t||n||o||r}))}function ne(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function oe(e,t){var n,o=t;for("string"==typeof e&&(e=[e]),a(t)&&(o=function(e,n){n[t]=M(e)}),n=0;n<e.length;n++)nr[e[n]]=o}function re(e,t){oe(e,function(e,n,o,r){o._w=o._w||{},t(e,o._w,o,r)})}function ie(e,t,n){null!=t&&c(nr,e)&&nr[e](t,n._a,n,e)}function se(e,t){return new Date(Date.UTC(e,t+1,0)).getUTCDate()}function ae(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||hr).test(t)?"format":"standalone"][e.month()]:this._months}function ue(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[hr.test(t)?"format":"standalone"][e.month()]:this._monthsShort}function le(e,t,n){var o,r,i,s=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],o=0;12>o;++o)i=d([2e3,o]),this._shortMonthsParse[o]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[o]=this.months(i,"").toLocaleLowerCase();return n?"MMM"===t?(r=pr.call(this._shortMonthsParse,s),-1!==r?r:null):(r=pr.call(this._longMonthsParse,s),-1!==r?r:null):"MMM"===t?(r=pr.call(this._shortMonthsParse,s),-1!==r?r:(r=pr.call(this._longMonthsParse,s),-1!==r?r:null)):(r=pr.call(this._longMonthsParse,s),-1!==r?r:(r=pr.call(this._shortMonthsParse,s),-1!==r?r:null))}function ce(e,t,n){var o,r,i;if(this._monthsParseExact)return le.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),o=0;12>o;o++){if(r=d([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 fe(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=M(t);else if(t=e.localeData().monthsParse(t),!a(t))return e;return n=Math.min(e.date(),se(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function de(e){return null!=e?(fe(this,e),t.updateOffset(this,!0),this):I(this,"Month")}function pe(){return se(this.year(),this.month())}function he(e){return this._monthsParseExact?(c(this,"_monthsRegex")||ye.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=_r),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function me(e){return this._monthsParseExact?(c(this,"_monthsRegex")||ye.call(this),e?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=gr),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function ye(){function e(e,t){return t.length-e.length}var t,n,o=[],r=[],i=[];for(t=0;12>t;t++)n=d([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;12>t;t++)o[t]=ne(o[t]),r[t]=ne(r[t]);for(t=0;24>t;t++)i[t]=ne(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 _e(e){return ge(e)?366:365}function ge(e){return 0==e%4&&0!=e%100||0==e%400}function ve(){return ge(this.year())}function be(e,t,n,o,r,i,s){var a=new Date(e,t,n,o,r,i,s);return 100>e&&e>=0&&isFinite(a.getFullYear())&&a.setFullYear(e),a}function we(e){var t=new Date(Date.UTC.apply(null,arguments));return 100>e&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function Me(e,t,n){var o=7+t-n;return-(7+we(e,0,o).getUTCDay()-t)%7+o-1}function Oe(e,t,n,o,r){var i,s,a=(7+n-o)%7,u=Me(e,o,r),l=1+7*(t-1)+a+u;return 0>=l?(i=e-1,s=_e(i)+l):l>_e(e)?(i=e+1,s=l-_e(e)):(i=e,s=l),{year:i,dayOfYear:s}}function xe(e,t,n){var o,r,i=Me(e.year(),t,n),s=Math.floor((e.dayOfYear()-i-1)/7)+1;return 1>s?(r=e.year()-1,o=s+Se(r,t,n)):s>Se(e.year(),t,n)?(o=s-Se(e.year(),t,n),r=e.year()+1):(r=e.year(),o=s),{week:o,year:r}}function Se(e,t,n){var o=Me(e,t,n),r=Me(e+1,t,n);return(_e(e)-o+r)/7}function Ye(e){return xe(e,this._week.dow,this._week.doy).week}function Le(){return this._week.dow}function De(){return this._week.doy}function Te(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function ke(e){var t=xe(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Pe(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function Ce(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function je(e,t){return e?o(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:this._weekdays}function Ee(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ne(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ae(e,t,n){var o,r,i,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],o=0;7>o;++o)i=d([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=pr.call(this._weekdaysParse,s),-1!==r?r:null):"ddd"===t?(r=pr.call(this._shortWeekdaysParse,s),-1!==r?r:null):(r=pr.call(this._minWeekdaysParse,s),-1!==r?r:null):"dddd"===t?(r=pr.call(this._weekdaysParse,s),-1!==r?r:(r=pr.call(this._shortWeekdaysParse,s),-1!==r?r:(r=pr.call(this._minWeekdaysParse,s),-1!==r?r:null))):"ddd"===t?(r=pr.call(this._shortWeekdaysParse,s),-1!==r?r:(r=pr.call(this._weekdaysParse,s),-1!==r?r:(r=pr.call(this._minWeekdaysParse,s),-1!==r?r:null))):(r=pr.call(this._minWeekdaysParse,s),-1!==r?r:(r=pr.call(this._weekdaysParse,s),-1!==r?r:(r=pr.call(this._shortWeekdaysParse,s),-1!==r?r:null)))}function We(e,t,n){var o,r,i;if(this._weekdaysParseExact)return Ae.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),o=0;7>o;o++){if(r=d([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 Fe(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Pe(e,this.localeData()),this.add(e-t,"d")):t}function Re(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 He(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Ce(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Ve(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Ue.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=xr),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function ze(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Ue.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Sr),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Ie(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Ue.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Yr),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Ue(){function e(e,t){return t.length-e.length}var t,n,o,r,i,s=[],a=[],u=[],l=[];for(t=0;7>t;t++)n=d([2e3,1]).day(t),o=this.weekdaysMin(n,""),r=this.weekdaysShort(n,""),i=this.weekdays(n,""),s.push(o),a.push(r),u.push(i),l.push(o),l.push(r),l.push(i);for(s.sort(e),a.sort(e),u.sort(e),l.sort(e),t=0;7>t;t++)a[t]=ne(a[t]),u[t]=ne(u[t]),l[t]=ne(l[t]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+s.join("|")+")","i")}function Ge(){return this.hours()%12||12}function Be(){return this.hours()||24}function qe(e,t){Z(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Ze(e,t){return t._meridiemParse}function Je(e){return"p"===(e+"").toLowerCase().charAt(0)}function Ke(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function $e(e){return e?e.toLowerCase().replace("_","-"):e}function Qe(e){for(var t,n,o,r,i=0;i<e.length;){for(r=$e(e[i]).split("-"),t=r.length,n=$e(e[i+1]),n=n?n.split("-"):null;t>0;){if(o=Xe(r.slice(0,t).join("-")))return o;if(n&&n.length>=t&&O(r,n,!0)>=t-1)break;t--}i++}return null}function Xe(t){var o=null;if(!kr[t]&&void 0!==e&&e&&e.exports)try{o=Cr._abbr,n(92)("./"+t),et(o)}catch(e){}return kr[t]}function et(e,t){var n;return e&&(n=_(t)?ot(e):tt(e,t))&&(Cr=n),Cr._abbr}function tt(e,t){if(null!==t){var n=Tr;if(t.abbr=e,null!=kr[e])Y("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=kr[e]._config;else if(null!=t.parentLocale){if(null==kr[t.parentLocale])return Pr[t.parentLocale]||(Pr[t.parentLocale]=[]),Pr[t.parentLocale].push({name:e,config:t}),null;n=kr[t.parentLocale]._config}return kr[e]=new k(T(n,t)),Pr[e]&&Pr[e].forEach(function(e){tt(e.name,e.config)}),et(e),kr[e]}return delete kr[e],null}function nt(e,t){if(null!=t){var n,o=Tr;null!=kr[e]&&(o=kr[e]._config),t=T(o,t),n=new k(t),n.parentLocale=kr[e],kr[e]=n,et(e)}else null!=kr[e]&&(null!=kr[e].parentLocale?kr[e]=kr[e].parentLocale:null!=kr[e]&&delete kr[e]);return kr[e]}function ot(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Cr;if(!o(e)){if(t=Xe(e))return t;e=[e]}return Qe(e)}function rt(){return So(kr)}function it(e){var t,n=e._a;return n&&-2===h(e).overflow&&(t=n[rr]<0||n[rr]>11?rr:n[ir]<1||n[ir]>se(n[or],n[rr])?ir:n[sr]<0||n[sr]>24||24===n[sr]&&(0!==n[ar]||0!==n[ur]||0!==n[lr])?sr:n[ar]<0||n[ar]>59?ar:n[ur]<0||n[ur]>59?ur:n[lr]<0||n[lr]>999?lr:-1,h(e)._overflowDayOfYear&&(or>t||t>ir)&&(t=ir),h(e)._overflowWeeks&&-1===t&&(t=cr),h(e)._overflowWeekday&&-1===t&&(t=fr),h(e).overflow=t),e}function st(e){var t,n,o,r,i,s,a=e._i,u=jr.exec(a)||Er.exec(a);if(u){for(h(e).iso=!0,t=0,n=Ar.length;n>t;t++)if(Ar[t][1].exec(u[1])){r=Ar[t][0],o=!1!==Ar[t][2];break}if(null==r)return void(e._isValid=!1);if(u[3]){for(t=0,n=Wr.length;n>t;t++)if(Wr[t][1].exec(u[3])){i=(u[2]||" ")+Wr[t][0];break}if(null==i)return void(e._isValid=!1)}if(!o&&null!=i)return void(e._isValid=!1);if(u[4]){if(!Nr.exec(u[4]))return void(e._isValid=!1);s="Z"}e._f=r+(i||"")+(s||""),dt(e)}else e._isValid=!1}function at(e){var n=Fr.exec(e._i);return null!==n?void(e._d=new Date(+n[1])):(st(e),void(!1===e._isValid&&(delete e._isValid,t.createFromInputFallback(e))))}function ut(e,t,n){return null!=e?e:null!=t?t:n}function lt(e){var n=new Date(t.now());return e._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}function ct(e){var t,n,o,r,i=[];if(!e._d){for(o=lt(e),e._w&&null==e._a[ir]&&null==e._a[rr]&&ft(e),e._dayOfYear&&(r=ut(e._a[or],o[or]),e._dayOfYear>_e(r)&&(h(e)._overflowDayOfYear=!0),n=we(r,0,e._dayOfYear),e._a[rr]=n.getUTCMonth(),e._a[ir]=n.getUTCDate()),t=0;3>t&&null==e._a[t];++t)e._a[t]=i[t]=o[t];for(;7>t;t++)e._a[t]=i[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[sr]&&0===e._a[ar]&&0===e._a[ur]&&0===e._a[lr]&&(e._nextDay=!0,e._a[sr]=0),e._d=(e._useUTC?we:be).apply(null,i),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[sr]=24)}}function ft(e){var t,n,o,r,i,s,a,u,l=e._w;null!=l.GG||null!=l.W||null!=l.E?(r=1,i=4,t=ut(l.GG,e._a[or],xe(bt(),1,4).year),n=ut(l.W,1),(1>(o=ut(l.E,1))||o>7)&&(a=!0)):(r=e._locale._week.dow,i=e._locale._week.doy,u=xe(bt(),r,i),t=ut(l.gg,e._a[or],u.year),n=ut(l.w,u.week),null!=l.d?(0>(o=l.d)||o>6)&&(a=!0):null!=l.e?(o=l.e+r,(l.e<0||l.e>6)&&(a=!0)):o=r),1>n||n>Se(t,r,i)?h(e)._overflowWeeks=!0:null!=a?h(e)._overflowWeekday=!0:(s=Oe(t,n,o,r,i),e._a[or]=s.year,e._dayOfYear=s.dayOfYear)}function dt(e){if(e._f===t.ISO_8601)return void st(e);e._a=[],h(e).empty=!0;var n,o,r,i,s,a=""+e._i,u=a.length,l=0;for(r=Q(e._f,e._locale).match(Eo)||[],n=0;n<r.length;n++)i=r[n],o=(a.match(ee(i,e))||[])[0],o&&(s=a.substr(0,a.indexOf(o)),s.length>0&&h(e).unusedInput.push(s),a=a.slice(a.indexOf(o)+o.length),l+=o.length),Wo[i]?(o?h(e).empty=!1:h(e).unusedTokens.push(i),ie(i,o,e)):e._strict&&!o&&h(e).unusedTokens.push(i);h(e).charsLeftOver=u-l,a.length>0&&h(e).unusedInput.push(a),e._a[sr]<=12&&!0===h(e).bigHour&&e._a[sr]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[sr]=pt(e._locale,e._a[sr],e._meridiem),ct(e),it(e)}function pt(e,t,n){var o;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(o=e.isPM(n),o&&12>t&&(t+=12),o||12!==t||(t=0),t):t}function ht(e){var t,n,o,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=g({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],dt(t),m(t)&&(i+=h(t).charsLeftOver,i+=10*h(t).unusedTokens.length,h(t).score=i,(null==o||o>i)&&(o=i,n=t));f(e,n||t)}function mt(e){if(!e._d){var t=R(e._i);e._a=l([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),ct(e)}}function yt(e){var t=new v(it(_t(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function _t(e){var t=e._i,n=e._f;return e._locale=e._locale||ot(e._l),null===t||void 0===n&&""===t?y({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),b(t)?new v(it(t)):(u(t)?e._d=t:o(n)?ht(e):n?dt(e):gt(e),m(e)||(e._d=null),e))}function gt(e){var n=e._i;void 0===n?e._d=new Date(t.now()):u(n)?e._d=new Date(n.valueOf()):"string"==typeof n?at(e):o(n)?(e._a=l(n.slice(0),function(e){return parseInt(e,10)}),ct(e)):"object"==(void 0===n?"undefined":i(n))?mt(e):a(n)?e._d=new Date(n):t.createFromInputFallback(e)}function vt(e,t,n,i,a){var u={};return(!0===n||!1===n)&&(i=n,n=void 0),(r(e)&&s(e)||o(e)&&0===e.length)&&(e=void 0),u._isAMomentObject=!0,u._useUTC=u._isUTC=a,u._l=n,u._i=e,u._f=t,u._strict=i,yt(u)}function bt(e,t,n,o){return vt(e,t,n,o,!1)}function wt(e,t){var n,r;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return bt();for(n=t[0],r=1;r<t.length;++r)(!t[r].isValid()||t[r][e](n))&&(n=t[r]);return n}function Mt(){return wt("isBefore",[].slice.call(arguments,0))}function Ot(){return wt("isAfter",[].slice.call(arguments,0))}function xt(e){var t=R(e),n=t.year||0,o=t.quarter||0,r=t.month||0,i=t.week||0,s=t.day||0,a=t.hour||0,u=t.minute||0,l=t.second||0,c=t.millisecond||0;this._milliseconds=+c+1e3*l+6e4*u+36e5*a,this._days=+s+7*i,this._months=+r+3*o+12*n,this._data={},this._locale=ot(),this._bubble()}function St(e){return e instanceof xt}function Yt(e){return 0>e?-1*Math.round(-1*e):Math.round(e)}function Lt(e,t){Z(e,0,0,function(){var e=this.utcOffset(),n="+";return 0>e&&(e=-e,n="-"),n+q(~~(e/60),2)+t+q(~~e%60,2)})}function Dt(e,t){var n,o,r,i=(t||"").match(e);return null===i?null:(n=i[i.length-1]||[],o=(n+"").match(zr)||["-",0,0],r=60*o[1]+M(o[2]),0===r?0:"+"===o[0]?r:-r)}function Tt(e,n){var o,r;return n._isUTC?(o=n.clone(),r=(b(e)||u(e)?e.valueOf():bt(e).valueOf())-o.valueOf(),o._d.setTime(o._d.valueOf()+r),t.updateOffset(o,!1),o):bt(e).local()}function kt(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Pt(e,n){var o,r=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Dt(Qo,e)))return this}else Math.abs(e)<16&&(e*=60);return!this._isUTC&&n&&(o=kt(this)),this._offset=e,this._isUTC=!0,null!=o&&this.add(o,"m"),r!==e&&(!n||this._changeInProgress?qt(this,zt(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?r:kt(this)}function Ct(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function jt(e){return this.utcOffset(0,e)}function Et(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(kt(this),"m")),this}function Nt(){if(null!=this._tzm)this.utcOffset(this._tzm);else if("string"==typeof this._i){var e=Dt($o,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function At(e){return!!this.isValid()&&(e=e?bt(e).utcOffset():0,0==(this.utcOffset()-e)%60)}function Wt(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Ft(){var e,t;return _(this._isDSTShifted)?(e={},g(e,this),e=_t(e),e._a?(t=e._isUTC?d(e._a):bt(e._a),this._isDSTShifted=this.isValid()&&O(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted):this._isDSTShifted}function Rt(){return!!this.isValid()&&!this._isUTC}function Ht(){return!!this.isValid()&&this._isUTC}function Vt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function zt(e,t){var n,o,r,s=e,u=null;return St(e)?s={ms:e._milliseconds,d:e._days,M:e._months}:a(e)?(s={},t?s[t]=e:s.milliseconds=e):(u=Ir.exec(e))?(n="-"===u[1]?-1:1,s={y:0,d:M(u[ir])*n,h:M(u[sr])*n,m:M(u[ar])*n,s:M(u[ur])*n,ms:M(Yt(1e3*u[lr]))*n}):(u=Ur.exec(e))?(n="-"===u[1]?-1:1,s={y:It(u[2],n),M:It(u[3],n),w:It(u[4],n),d:It(u[5],n),h:It(u[6],n),m:It(u[7],n),s:It(u[8],n)}):null==s?s={}:"object"==(void 0===s?"undefined":i(s))&&("from"in s||"to"in s)&&(r=Gt(bt(s.from),bt(s.to)),s={},s.ms=r.milliseconds,s.M=r.months),o=new xt(s),St(e)&&c(e,"_locale")&&(o._locale=e._locale),o}function It(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Ut(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=Tt(t,e),e.isBefore(t)?n=Ut(e,t):(n=Ut(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Bt(e,t){return function(n,o){var r,i;return null===o||isNaN(+o)||(Y(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=o,o=i),n="string"==typeof n?+n:n,r=zt(n,o),qt(this,r,e),this}}function qt(e,n,o,r){var i=n._milliseconds,s=Yt(n._days),a=Yt(n._months);e.isValid()&&(r=null==r||r,i&&e._d.setTime(e._d.valueOf()+i*o),s&&U(e,"Date",I(e,"Date")+s*o),a&&fe(e,I(e,"Month")+a*o),r&&t.updateOffset(e,s||a))}function Zt(e,t){var n=e.diff(t,"days",!0);return-6>n?"sameElse":-1>n?"lastWeek":0>n?"lastDay":1>n?"sameDay":2>n?"nextDay":7>n?"nextWeek":"sameElse"}function Jt(e,n){var o=e||bt(),r=Tt(o,this).startOf("day"),i=t.calendarFormat(this,r)||"sameElse",s=n&&(L(n[i])?n[i].call(this,o):n[i]);return this.format(s||this.localeData().calendar(i,this,bt(o)))}function Kt(){return new v(this)}function $t(e,t){var n=b(e)?e:bt(e);return!(!this.isValid()||!n.isValid())&&(t=F(_(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function Qt(e,t){var n=b(e)?e:bt(e);return!(!this.isValid()||!n.isValid())&&(t=F(_(t)?"millisecond":t),"millisecond"===t?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function Xt(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 en(e,t){var n,o=b(e)?e:bt(e);return!(!this.isValid()||!o.isValid())&&(t=F(t||"millisecond"),"millisecond"===t?this.valueOf()===o.valueOf():(n=o.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function tn(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function nn(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function on(e,t,n){var o,r,i,s;return this.isValid()?(o=Tt(e,this),o.isValid()?(r=6e4*(o.utcOffset()-this.utcOffset()),t=F(t),"year"===t||"month"===t||"quarter"===t?(s=rn(this,o),"quarter"===t?s/=3:"year"===t&&(s/=12)):(i=this-o,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:w(s)):NaN):NaN}function rn(e,t){var n,o,r=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(r,"months");return 0>t-i?(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 sn(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function an(){var e=this.clone().utc();return 0<e.year()&&e.year()<=9999?L(Date.prototype.toISOString)?this.toDate().toISOString():$(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):$(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function un(){var e,t,n,o,r,i;return this.isValid()?(e="moment",t="",this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z"),n="["+e+'("]',o=0<this.year()&&this.year()<=9999?"YYYY":"YYYYYY",r="-MM-DD[T]HH:mm:ss.SSS",i=t+'[")]',this.format(n+o+r+i)):"moment.invalid(/* "+this._i+" */)"}function ln(e){e||(e=this.isUtc()?t.defaultFormatUtc:t.defaultFormat);var n=$(this,e);return this.localeData().postformat(n)}function cn(e,t){return this.isValid()&&(b(e)&&e.isValid()||bt(e).isValid())?zt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function fn(e){return this.from(bt(),e)}function dn(e,t){return this.isValid()&&(b(e)&&e.isValid()||bt(e).isValid())?zt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function pn(e){return this.to(bt(),e)}function hn(e){var t;return void 0===e?this._locale._abbr:(t=ot(e),null!=t&&(this._locale=t),this)}function mn(){return this._locale}function yn(e){switch(e=F(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 _n(e){return e=F(e),void 0===e||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))}function gn(){return this._d.valueOf()-6e4*(this._offset||0)}function vn(){return Math.floor(this.valueOf()/1e3)}function bn(){return new Date(this.valueOf())}function wn(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Mn(){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 On(){return this.isValid()?this.toISOString():null}function xn(){return m(this)}function Sn(){return f({},h(this))}function Yn(){return h(this).overflow}function Ln(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Dn(e,t){Z(0,[e,e.length],0,t)}function Tn(e){return jn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function kn(e){return jn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Pn(){return Se(this.year(),1,4)}function Cn(){var e=this.localeData()._week;return Se(this.year(),e.dow,e.doy)}function jn(e,t,n,o,r){var i;return null==e?xe(this,o,r).year:(i=Se(e,o,r),t>i&&(t=i),En.call(this,e,t,n,o,r))}function En(e,t,n,o,r){var i=Oe(e,t,n,o,r),s=we(i.year,0,i.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}function Nn(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function An(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 Wn(e,t){t[lr]=M(1e3*("0."+e))}function Fn(){return this._isUTC?"UTC":""}function Rn(){return this._isUTC?"Coordinated Universal Time":""}function Hn(e){return bt(1e3*e)}function Vn(){return bt.apply(null,arguments).parseZone()}function zn(e){return e}function In(e,t,n,o){var r=ot(),i=d().set(o,t);return r[n](i,e)}function Un(e,t,n){var o,r;if(a(e)&&(t=e,e=void 0),e=e||"",null!=t)return In(e,t,n,"month");for(r=[],o=0;12>o;o++)r[o]=In(e,o,n,"month");return r}function Gn(e,t,n,o){var r,i,s,u;if("boolean"==typeof e?(a(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,a(t)&&(n=t,t=void 0),t=t||""),r=ot(),i=e?r._week.dow:0,null!=n)return In(t,(n+i)%7,o,"day");for(u=[],s=0;7>s;s++)u[s]=In(t,(s+i)%7,o,"day");return u}function Bn(e,t){return Un(e,t,"months")}function qn(e,t){return Un(e,t,"monthsShort")}function Zn(e,t,n){return Gn(e,t,n,"weekdays")}function Jn(e,t,n){return Gn(e,t,n,"weekdaysShort")}function Kn(e,t,n){return Gn(e,t,n,"weekdaysMin")}function $n(){var e=this._data;return this._milliseconds=ti(this._milliseconds),this._days=ti(this._days),this._months=ti(this._months),e.milliseconds=ti(e.milliseconds),e.seconds=ti(e.seconds),e.minutes=ti(e.minutes),e.hours=ti(e.hours),e.months=ti(e.months),e.years=ti(e.years),this}function Qn(e,t,n,o){var r=zt(t,n);return e._milliseconds+=o*r._milliseconds,e._days+=o*r._days,e._months+=o*r._months,e._bubble()}function Xn(e,t){return Qn(this,e,t,1)}function eo(e,t){return Qn(this,e,t,-1)}function to(e){return 0>e?Math.floor(e):Math.ceil(e)}function no(){var e,t,n,o,r,i=this._milliseconds,s=this._days,a=this._months,u=this._data;return i>=0&&s>=0&&a>=0||0>=i&&0>=s&&0>=a||(i+=864e5*to(ro(a)+s),s=0,a=0),u.milliseconds=i%1e3,e=w(i/1e3),u.seconds=e%60,t=w(e/60),u.minutes=t%60,n=w(t/60),u.hours=n%24,s+=w(n/24),r=w(oo(s)),a+=r,s-=to(ro(r)),o=w(a/12),a%=12,u.days=s,u.months=a,u.years=o,this}function oo(e){return 4800*e/146097}function ro(e){return 146097*e/4800}function io(e){var t,n,o=this._milliseconds;if("month"===(e=F(e))||"year"===e)return t=this._days+o/864e5,n=this._months+oo(t),"month"===e?n:n/12;switch(t=this._days+Math.round(ro(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 so(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*M(this._months/12)}function ao(e){return function(){return this.as(e)}}function uo(e){return e=F(e),this[e+"s"]()}function lo(e){return function(){return this._data[e]}}function co(){return w(this.days()/7)}function fo(e,t,n,o,r){return r.relativeTime(t||1,!!n,e,o)}function po(e,t,n){var o=zt(e).abs(),r=_i(o.as("s")),i=_i(o.as("m")),s=_i(o.as("h")),a=_i(o.as("d")),u=_i(o.as("M")),l=_i(o.as("y")),c=r<gi.s&&["s",r]||1>=i&&["m"]||i<gi.m&&["mm",i]||1>=s&&["h"]||s<gi.h&&["hh",s]||1>=a&&["d"]||a<gi.d&&["dd",a]||1>=u&&["M"]||u<gi.M&&["MM",u]||1>=l&&["y"]||["yy",l];return c[2]=t,c[3]=+e>0,c[4]=n,fo.apply(null,c)}function ho(e){return void 0===e?_i:"function"==typeof e&&(_i=e,!0)}function mo(e,t){return void 0!==gi[e]&&(void 0===t?gi[e]:(gi[e]=t,!0))}function yo(e){var t=this.localeData(),n=po(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function _o(){var e,t,n,o,r,i,s,a,u=vi(this._milliseconds)/1e3,l=vi(this._days),c=vi(this._months),f=w(u/60),d=w(f/60);return u%=60,f%=60,e=w(c/12),c%=12,t=e,n=c,o=l,r=d,i=f,s=u,a=this.asSeconds(),a?(0>a?"-":"")+"P"+(t?t+"Y":"")+(n?n+"M":"")+(o?o+"D":"")+(r||i||s?"T":"")+(r?r+"H":"")+(i?i+"M":"")+(s?s+"S":""):"P0D"}var go,vo,bo,wo,Mo,Oo,xo,So,Yo,Lo,Do,To,ko,Po,Co,jo,Eo,No,Ao,Wo,Fo,Ro,Ho,Vo,zo,Io,Uo,Go,Bo,qo,Zo,Jo,Ko,$o,Qo,Xo,er,tr,nr,or,rr,ir,sr,ar,ur,lr,cr,fr,dr,pr,hr,mr,yr,_r,gr,vr,br,wr,Mr,Or,xr,Sr,Yr,Lr,Dr,Tr,kr,Pr,Cr,jr,Er,Nr,Ar,Wr,Fr,Rr,Hr,Vr,zr,Ir,Ur,Gr,Br,qr,Zr,Jr,Kr,$r,Qr,Xr,ei,ti,ni,oi,ri,ii,si,ai,ui,li,ci,fi,di,pi,hi,mi,yi,_i,gi,vi,bi;vo=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),o=n.length>>>0;for(t=0;o>t;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1},bo=vo,wo=t.momentProperties=[],Mo=!1,Oo={},t.suppressDeprecationWarnings=!1,t.deprecationHandler=null,xo=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)c(e,t)&&n.push(t);return n},So=xo,Yo={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Lo={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"},Do="Invalid date",To="%d",ko=/\d{1,2}/,Po={future:"in %s",past:"%s ago",s:"a few 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"},Co={},jo={},Eo=/(\[[^\[]*\])|(\\)?([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,No=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Ao={},Wo={},Fo=/\d/,Ro=/\d\d/,Ho=/\d{3}/,Vo=/\d{4}/,zo=/[+-]?\d{6}/,Io=/\d\d?/,Uo=/\d\d\d\d?/,Go=/\d\d\d\d\d\d?/,Bo=/\d{1,3}/,qo=/\d{1,4}/,Zo=/[+-]?\d{1,6}/,Jo=/\d+/,Ko=/[+-]?\d+/,$o=/Z|[+-]\d\d:?\d\d/gi,Qo=/Z|[+-]\d\d(?::?\d\d)?/gi,Xo=/[+-]?\d+(\.\d{1,3})?/,er=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,tr={},nr={},or=0,rr=1,ir=2,sr=3,ar=4,ur=5,lr=6,cr=7,fr=8,dr=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},pr=dr,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)}),W("month","M"),H("month",8),X("M",Io),X("MM",Io,Ro),X("MMM",function(e,t){return t.monthsShortRegex(e)}),X("MMMM",function(e,t){return t.monthsRegex(e)}),oe(["M","MM"],function(e,t){t[rr]=M(e)-1}),oe(["MMM","MMMM"],function(e,t,n,o){var r=n._locale.monthsParse(e,o,n._strict);null!=r?t[rr]=r:h(n).invalidMonth=e}),hr=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,mr="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),yr="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),_r=er,gr=er,Z("Y",0,0,function(){var e=this.year();return 9999>=e?""+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"),W("year","y"),H("year",1),X("Y",Ko),X("YY",Io,Ro),X("YYYY",qo,Vo),X("YYYYY",Zo,zo),X("YYYYYY",Zo,zo),oe(["YYYYY","YYYYYY"],or),oe("YYYY",function(e,n){n[or]=2===e.length?t.parseTwoDigitYear(e):M(e)}),oe("YY",function(e,n){n[or]=t.parseTwoDigitYear(e)}),oe("Y",function(e,t){t[or]=parseInt(e,10)}),t.parseTwoDigitYear=function(e){return M(e)+(M(e)>68?1900:2e3)},vr=z("FullYear",!0),Z("w",["ww",2],"wo","week"),Z("W",["WW",2],"Wo","isoWeek"),W("week","w"),W("isoWeek","W"),H("week",5),H("isoWeek",5),X("w",Io),X("ww",Io,Ro),X("W",Io),X("WW",Io,Ro),re(["w","ww","W","WW"],function(e,t,n,o){t[o.substr(0,1)]=M(e)}),br={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"),W("day","d"),W("weekday","e"),W("isoWeekday","E"),H("day",11),H("weekday",11),H("isoWeekday",11),X("d",Io),X("e",Io),X("E",Io),X("dd",function(e,t){return t.weekdaysMinRegex(e)}),X("ddd",function(e,t){return t.weekdaysShortRegex(e)}),X("dddd",function(e,t){return t.weekdaysRegex(e)}),re(["dd","ddd","dddd"],function(e,t,n,o){var r=n._locale.weekdaysParse(e,o,n._strict);null!=r?t.d=r:h(n).invalidWeekday=e}),re(["d","e","E"],function(e,t,n,o){t[o]=M(e)}),wr="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Mr="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Or="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),xr=er,Sr=er,Yr=er,Z("H",["HH",2],0,"hour"),Z("h",["hh",2],0,Ge),Z("k",["kk",2],0,Be),Z("hmm",0,0,function(){return""+Ge.apply(this)+q(this.minutes(),2)}),Z("hmmss",0,0,function(){return""+Ge.apply(this)+q(this.minutes(),2)+q(this.seconds(),2)}),Z("Hmm",0,0,function(){return""+this.hours()+q(this.minutes(),2)}),Z("Hmmss",0,0,function(){return""+this.hours()+q(this.minutes(),2)+q(this.seconds(),2)}),qe("a",!0),qe("A",!1),W("hour","h"),H("hour",13),X("a",Ze),X("A",Ze),X("H",Io),X("h",Io),X("HH",Io,Ro),X("hh",Io,Ro),X("hmm",Uo),X("hmmss",Go),X("Hmm",Uo),X("Hmmss",Go),oe(["H","HH"],sr),oe(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),oe(["h","hh"],function(e,t,n){t[sr]=M(e),h(n).bigHour=!0}),oe("hmm",function(e,t,n){var o=e.length-2;t[sr]=M(e.substr(0,o)),t[ar]=M(e.substr(o)),h(n).bigHour=!0}),oe("hmmss",function(e,t,n){var o=e.length-4,r=e.length-2;t[sr]=M(e.substr(0,o)),t[ar]=M(e.substr(o,2)),t[ur]=M(e.substr(r)),h(n).bigHour=!0}),oe("Hmm",function(e,t){var n=e.length-2;t[sr]=M(e.substr(0,n)),t[ar]=M(e.substr(n))}),oe("Hmmss",function(e,t){var n=e.length-4,o=e.length-2;t[sr]=M(e.substr(0,n)),t[ar]=M(e.substr(n,2)),t[ur]=M(e.substr(o))}),Lr=/[ap]\.?m?\.?/i,Dr=z("Hours",!0),Tr={calendar:Yo,longDateFormat:Lo,invalidDate:Do,ordinal:To,ordinalParse:ko,relativeTime:Po,months:mr,monthsShort:yr,week:br,weekdays:wr,weekdaysMin:Or,weekdaysShort:Mr,meridiemParse:Lr},kr={},Pr={},jr=/^\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)?)?$/,Er=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Nr=/Z|[+-]\d\d(?::?\d\d)?/,Ar=[["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}/]],Wr=[["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/]],Fr=/^\/?Date\((\-?\d+)/i,t.createFromInputFallback=S("value provided is not in a recognized ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non 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(){},Rr=S("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=bt.apply(null,arguments);return this.isValid()&&e.isValid()?this>e?this:e:y()}),Hr=S("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=bt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:y()}),Vr=function(){return Date.now?Date.now():+new Date},Lt("Z",":"),Lt("ZZ",""),X("Z",Qo),X("ZZ",Qo),oe(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Dt(Qo,e)}),zr=/([\+\-]|\d\d)/gi,t.updateOffset=function(){},Ir=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Ur=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/,zt.fn=xt.prototype,Gr=Bt(1,"add"),Br=Bt(-1,"subtract"),t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",t.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]",qr=S("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}),Dn("gggg","weekYear"),Dn("ggggg","weekYear"),Dn("GGGG","isoWeekYear"),Dn("GGGGG","isoWeekYear"),W("weekYear","gg"),W("isoWeekYear","GG"),H("weekYear",1),H("isoWeekYear",1),X("G",Ko),X("g",Ko),X("GG",Io,Ro),X("gg",Io,Ro),X("GGGG",qo,Vo),X("gggg",qo,Vo),X("GGGGG",Zo,zo),X("ggggg",Zo,zo),re(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,o){t[o.substr(0,2)]=M(e)}),re(["gg","GG"],function(e,n,o,r){n[r]=t.parseTwoDigitYear(e)}),Z("Q",0,"Qo","quarter"),W("quarter","Q"),H("quarter",7),X("Q",Fo),oe("Q",function(e,t){t[rr]=3*(M(e)-1)}),Z("D",["DD",2],"Do","date"),W("date","D"),H("date",9),X("D",Io),X("DD",Io,Ro),X("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),oe(["D","DD"],ir),oe("Do",function(e,t){t[ir]=M(e.match(Io)[0],10)}),Zr=z("Date",!0),Z("DDD",["DDDD",3],"DDDo","dayOfYear"),W("dayOfYear","DDD"),H("dayOfYear",4),X("DDD",Bo),X("DDDD",Ho),oe(["DDD","DDDD"],function(e,t,n){n._dayOfYear=M(e)}),Z("m",["mm",2],0,"minute"),W("minute","m"),H("minute",14),X("m",Io),X("mm",Io,Ro),oe(["m","mm"],ar),Jr=z("Minutes",!1),Z("s",["ss",2],0,"second"),W("second","s"),H("second",15),X("s",Io),X("ss",Io,Ro),oe(["s","ss"],ur),Kr=z("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()}),W("millisecond","ms"),H("millisecond",16),X("S",Bo,Fo),X("SS",Bo,Ro),X("SSS",Bo,Ho);for($r="SSSS";$r.length<=9;$r+="S")X($r,Jo);for($r="S";$r.length<=9;$r+="S")oe($r,Wn);return Qr=z("Milliseconds",!1),Z("z",0,0,"zoneAbbr"),Z("zz",0,0,"zoneName"),Xr=v.prototype,Xr.add=Gr,Xr.calendar=Jt,Xr.clone=Kt,Xr.diff=on,Xr.endOf=_n,Xr.format=ln,Xr.from=cn,Xr.fromNow=fn,Xr.to=dn,Xr.toNow=pn,Xr.get=G,Xr.invalidAt=Yn,Xr.isAfter=$t,Xr.isBefore=Qt,Xr.isBetween=Xt,Xr.isSame=en,Xr.isSameOrAfter=tn,Xr.isSameOrBefore=nn,Xr.isValid=xn,Xr.lang=qr,Xr.locale=hn,Xr.localeData=mn,Xr.max=Hr,Xr.min=Rr,Xr.parsingFlags=Sn,Xr.set=B,Xr.startOf=yn,Xr.subtract=Br,Xr.toArray=wn,Xr.toObject=Mn,Xr.toDate=bn,Xr.toISOString=an,Xr.inspect=un,Xr.toJSON=On,Xr.toString=sn,Xr.unix=vn,Xr.valueOf=gn,Xr.creationData=Ln,Xr.year=vr,Xr.isLeapYear=ve,Xr.weekYear=Tn,Xr.isoWeekYear=kn,Xr.quarter=Xr.quarters=Nn,Xr.month=de,Xr.daysInMonth=pe,Xr.week=Xr.weeks=Te,Xr.isoWeek=Xr.isoWeeks=ke,Xr.weeksInYear=Cn,Xr.isoWeeksInYear=Pn,Xr.date=Zr,Xr.day=Xr.days=Fe,Xr.weekday=Re,Xr.isoWeekday=He,Xr.dayOfYear=An,Xr.hour=Xr.hours=Dr,Xr.minute=Xr.minutes=Jr,Xr.second=Xr.seconds=Kr,Xr.millisecond=Xr.milliseconds=Qr,Xr.utcOffset=Pt,Xr.utc=jt,Xr.local=Et,Xr.parseZone=Nt,Xr.hasAlignedHourOffset=At,Xr.isDST=Wt,Xr.isLocal=Rt,Xr.isUtcOffset=Ht,Xr.isUtc=Vt,Xr.isUTC=Vt,Xr.zoneAbbr=Fn,Xr.zoneName=Rn,Xr.dates=S("dates accessor is deprecated. Use date instead.",Zr),Xr.months=S("months accessor is deprecated. Use month instead",de),Xr.years=S("years accessor is deprecated. Use year instead",vr),Xr.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Ct),Xr.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Ft),ei=k.prototype,ei.calendar=P,ei.longDateFormat=C,ei.invalidDate=j,ei.ordinal=E,ei.preparse=zn,ei.postformat=zn,ei.relativeTime=N,ei.pastFuture=A,ei.set=D,ei.months=ae,ei.monthsShort=ue,ei.monthsParse=ce,ei.monthsRegex=me,ei.monthsShortRegex=he,ei.week=Ye,ei.firstDayOfYear=De,ei.firstDayOfWeek=Le,ei.weekdays=je,ei.weekdaysMin=Ne,ei.weekdaysShort=Ee,ei.weekdaysParse=We,ei.weekdaysRegex=Ve,ei.weekdaysShortRegex=ze,ei.weekdaysMinRegex=Ie,ei.isPM=Je,ei.meridiem=Ke,et("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===M(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),t.lang=S("moment.lang is deprecated. Use moment.locale instead.",et),t.langData=S("moment.langData is deprecated. Use moment.localeData instead.",ot),ti=Math.abs,ni=ao("ms"),oi=ao("s"),ri=ao("m"),ii=ao("h"),si=ao("d"),ai=ao("w"),ui=ao("M"),li=ao("y"),ci=lo("milliseconds"),fi=lo("seconds"),di=lo("minutes"),pi=lo("hours"),hi=lo("days"),mi=lo("months"),yi=lo("years"),_i=Math.round,gi={s:45,m:45,h:22,d:26,M:11},vi=Math.abs,bi=xt.prototype,bi.abs=$n,bi.add=Xn,bi.subtract=eo,bi.as=io,bi.asMilliseconds=ni,bi.asSeconds=oi,bi.asMinutes=ri,bi.asHours=ii,bi.asDays=si,bi.asWeeks=ai,bi.asMonths=ui,bi.asYears=li,bi.valueOf=so,bi._bubble=no,bi.get=uo,bi.milliseconds=ci,bi.seconds=fi,bi.minutes=di,bi.hours=pi,bi.days=hi,bi.weeks=co,bi.months=mi,bi.years=yi,bi.humanize=yo,bi.toISOString=_o,bi.toString=_o,bi.toJSON=_o,bi.locale=hn,bi.localeData=mn,bi.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",_o),bi.lang=qr,Z("X",0,0,"unix"),Z("x",0,0,"valueOf"),X("x",Ko),