7 lines
35 KiB
JavaScript
Executable File
7 lines
35 KiB
JavaScript
Executable File
//! moment.js
|
|
//! version : 2.10.6
|
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
//! license : MIT
|
|
//! momentjs.com
|
|
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.moment=e()}(this,function(){"use strict";function t(){return Pi.apply(null,arguments)}function e(t){Pi=t}function n(t){return"[object Array]"===Object.prototype.toString.call(t)}function i(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function r(t,e){var n,i=[];for(n=0;n<t.length;++n)i.push(e(t[n],n));return i}function s(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function o(t,e){for(var n in e)s(e,n)&&(t[n]=e[n]);return s(e,"toString")&&(t.toString=e.toString),s(e,"valueOf")&&(t.valueOf=e.valueOf),t}function a(t,e,n,i){return Oe(t,e,n,i,!0).utc()}function u(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1}}function d(t){return null==t._pf&&(t._pf=u()),t._pf}function l(t){if(null==t._isValid){var e=d(t);t._isValid=!(isNaN(t._d.getTime())||!(e.overflow<0)||e.empty||e.invalidMonth||e.invalidWeekday||e.nullInput||e.invalidFormat||e.userInvalidated),t._strict&&(t._isValid=t._isValid&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour)}return t._isValid}function c(t){var e=a(0/0);return null!=t?o(d(e),t):d(e).userInvalidated=!0,e}function f(t,e){var n,i,r;if("undefined"!=typeof e._isAMomentObject&&(t._isAMomentObject=e._isAMomentObject),"undefined"!=typeof e._i&&(t._i=e._i),"undefined"!=typeof e._f&&(t._f=e._f),"undefined"!=typeof e._l&&(t._l=e._l),"undefined"!=typeof e._strict&&(t._strict=e._strict),"undefined"!=typeof e._tzm&&(t._tzm=e._tzm),"undefined"!=typeof e._isUTC&&(t._isUTC=e._isUTC),"undefined"!=typeof e._offset&&(t._offset=e._offset),"undefined"!=typeof e._pf&&(t._pf=d(e)),"undefined"!=typeof e._locale&&(t._locale=e._locale),Hi.length>0)for(n in Hi)i=Hi[n],r=e[i],"undefined"!=typeof r&&(t[i]=r);return t}function h(e){f(this,e),this._d=new Date(null!=e._d?e._d.getTime():0/0),Li===!1&&(Li=!0,t.updateOffset(this),Li=!1)}function m(t){return t instanceof h||null!=t&&null!=t._isAMomentObject}function _(t){return 0>t?Math.ceil(t):Math.floor(t)}function y(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=_(e)),n}function p(t,e,n){var i,r=Math.min(t.length,e.length),s=Math.abs(t.length-e.length),o=0;for(i=0;r>i;i++)(n&&t[i]!==e[i]||!n&&y(t[i])!==y(e[i]))&&o++;return o+s}function g(){}function D(t){return t?t.toLowerCase().replace("_","-"):t}function v(t){for(var e,n,i,r,s=0;s<t.length;){for(r=D(t[s]).split("-"),e=r.length,n=D(t[s+1]),n=n?n.split("-"):null;e>0;){if(i=M(r.slice(0,e).join("-")))return i;if(n&&n.length>=e&&p(r,n,!0)>=e-1)break;e--}s++}return null}function M(t){var e=null;if(!Ii[t]&&"undefined"!=typeof module&&module&&module.exports)try{e=xi._abbr,require("./locale/"+t),Y(e)}catch(n){}return Ii[t]}function Y(t,e){var n;return t&&(n="undefined"==typeof e?S(t):w(t,e),n&&(xi=n)),xi._abbr}function w(t,e){return null!==e?(e.abbr=t,Ii[t]=Ii[t]||new g,Ii[t].set(e),Y(t),Ii[t]):(delete Ii[t],null)}function S(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return xi;if(!n(t)){if(e=M(t))return e;t=[t]}return v(t)}function k(t,e){var n=t.toLowerCase();Ai[n]=Ai[n+"s"]=Ai[e]=t}function T(t){return"string"==typeof t?Ai[t]||Ai[t.toLowerCase()]:void 0}function b(t){var e,n,i={};for(n in t)s(t,n)&&(e=T(n),e&&(i[e]=t[n]));return i}function O(e,n){return function(i){return null!=i?(W(this,e,i),t.updateOffset(this,n),this):U(this,e)}}function U(t,e){return t._d["get"+(t._isUTC?"UTC":"")+e]()}function W(t,e,n){return t._d["set"+(t._isUTC?"UTC":"")+e](n)}function C(t,e){var n;if("object"==typeof t)for(n in t)this.set(n,t[n]);else if(t=T(t),"function"==typeof this[t])return this[t](e);return this}function G(t,e,n){var i=""+Math.abs(t),r=e-i.length,s=t>=0;return(s?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+i}function F(t,e,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),t&&(Ei[t]=r),e&&(Ei[e[0]]=function(){return G(r.apply(this,arguments),e[1],e[2])}),n&&(Ei[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function P(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function x(t){var e,n,i=t.match(zi);for(e=0,n=i.length;n>e;e++)i[e]=Ei[i[e]]?Ei[i[e]]:P(i[e]);return function(r){var s="";for(e=0;n>e;e++)s+=i[e]instanceof Function?i[e].call(r,t):i[e];return s}}function H(t,e){return t.isValid()?(e=L(e,t.localeData()),ji[e]=ji[e]||x(e),ji[e](t)):t.localeData().invalidDate()}function L(t,e){function n(t){return e.longDateFormat(t)||t}var i=5;for(Zi.lastIndex=0;i>=0&&Zi.test(t);)t=t.replace(Zi,n),Zi.lastIndex=0,i-=1;return t}function I(t){return"function"==typeof t&&"[object Function]"===Object.prototype.toString.call(t)}function A(t,e,n){rr[t]=I(e)?e:function(t){return t&&n?n:e}}function z(t,e){return s(rr,t)?rr[t](e._strict,e._locale):new RegExp(Z(t))}function Z(t){return t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,i,r){return e||n||i||r}).replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function j(t,e){var n,i=e;for("string"==typeof t&&(t=[t]),"number"==typeof e&&(i=function(t,n){n[e]=y(t)}),n=0;n<t.length;n++)sr[t[n]]=i}function E(t,e){j(t,function(t,n,i,r){i._w=i._w||{},e(t,i._w,i,r)})}function N(t,e,n){null!=e&&s(sr,t)&&sr[t](e,n._a,n,t)}function V(t,e){return new Date(Date.UTC(t,e+1,0)).getUTCDate()}function q(t){return this._months[t.month()]}function J(t){return this._monthsShort[t.month()]}function $(t,e,n){var i,r,s;for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;12>i;i++){if(r=a([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(s="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(s.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[i].test(t))return i;if(n&&"MMM"===e&&this._shortMonthsParse[i].test(t))return i;if(!n&&this._monthsParse[i].test(t))return i}}function R(t,e){var n;return"string"==typeof e&&(e=t.localeData().monthsParse(e),"number"!=typeof e)?t:(n=Math.min(t.date(),V(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t)}function B(e){return null!=e?(R(this,e),t.updateOffset(this,!0),this):U(this,"Month")}function Q(){return V(this.year(),this.month())}function X(t){var e,n=t._a;return n&&-2===d(t).overflow&&(e=n[ar]<0||n[ar]>11?ar:n[ur]<1||n[ur]>V(n[or],n[ar])?ur:n[dr]<0||n[dr]>24||24===n[dr]&&(0!==n[lr]||0!==n[cr]||0!==n[fr])?dr:n[lr]<0||n[lr]>59?lr:n[cr]<0||n[cr]>59?cr:n[fr]<0||n[fr]>999?fr:-1,d(t)._overflowDayOfYear&&(or>e||e>ur)&&(e=ur),d(t).overflow=e),t}function K(e){t.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function te(t,e){var n=!0;return o(function(){return n&&(K(t+"\n"+(new Error).stack),n=!1),e.apply(this,arguments)},e)}function ee(t,e){_r[t]||(K(e),_r[t]=!0)}function ne(t){var e,n,i=t._i,r=yr.exec(i);if(r){for(d(t).iso=!0,e=0,n=pr.length;n>e;e++)if(pr[e][1].exec(i)){t._f=pr[e][0];break}for(e=0,n=gr.length;n>e;e++)if(gr[e][1].exec(i)){t._f+=(r[6]||" ")+gr[e][0];break}i.match(er)&&(t._f+="Z"),Me(t)}else t._isValid=!1}function ie(e){var n=Dr.exec(e._i);return null!==n?void(e._d=new Date(+n[1])):(ne(e),void(e._isValid===!1&&(delete e._isValid,t.createFromInputFallback(e))))}function re(t,e,n,i,r,s,o){var a=new Date(t,e,n,i,r,s,o);return 1970>t&&a.setFullYear(t),a}function se(t){var e=new Date(Date.UTC.apply(null,arguments));return 1970>t&&e.setUTCFullYear(t),e}function oe(t){return ae(t)?366:365}function ae(t){return t%4===0&&t%100!==0||t%400===0}function ue(){return ae(this.year())}function de(t,e,n){var i,r=n-e,s=n-t.day();return s>r&&(s-=7),r-7>s&&(s+=7),i=Ue(t).add(s,"d"),{week:Math.ceil(i.dayOfYear()/7),year:i.year()}}function le(t){return de(t,this._week.dow,this._week.doy).week}function ce(){return this._week.dow}function fe(){return this._week.doy}function he(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function me(t){var e=de(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function _e(t,e,n,i,r){var s,o=6+r-i,a=se(t,0,1+o),u=a.getUTCDay();return r>u&&(u+=7),n=null!=n?1*n:r,s=1+o+7*(e-1)-u+n,{year:s>0?t:t-1,dayOfYear:s>0?s:oe(t-1)+s}}function ye(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}function pe(t,e,n){return null!=t?t:null!=e?e:n}function ge(t){var e=new Date;return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function De(t){var e,n,i,r,s=[];if(!t._d){for(i=ge(t),t._w&&null==t._a[ur]&&null==t._a[ar]&&ve(t),t._dayOfYear&&(r=pe(t._a[or],i[or]),t._dayOfYear>oe(r)&&(d(t)._overflowDayOfYear=!0),n=se(r,0,t._dayOfYear),t._a[ar]=n.getUTCMonth(),t._a[ur]=n.getUTCDate()),e=0;3>e&&null==t._a[e];++e)t._a[e]=s[e]=i[e];for(;7>e;e++)t._a[e]=s[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[dr]&&0===t._a[lr]&&0===t._a[cr]&&0===t._a[fr]&&(t._nextDay=!0,t._a[dr]=0),t._d=(t._useUTC?se:re).apply(null,s),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[dr]=24)}}function ve(t){var e,n,i,r,s,o,a;e=t._w,null!=e.GG||null!=e.W||null!=e.E?(s=1,o=4,n=pe(e.GG,t._a[or],de(Ue(),1,4).year),i=pe(e.W,1),r=pe(e.E,1)):(s=t._locale._week.dow,o=t._locale._week.doy,n=pe(e.gg,t._a[or],de(Ue(),s,o).year),i=pe(e.w,1),null!=e.d?(r=e.d,s>r&&++i):r=null!=e.e?e.e+s:s),a=_e(n,i,r,o,s),t._a[or]=a.year,t._dayOfYear=a.dayOfYear}function Me(e){if(e._f===t.ISO_8601)return void ne(e);e._a=[],d(e).empty=!0;var n,i,r,s,o,a=""+e._i,u=a.length,l=0;for(r=L(e._f,e._locale).match(zi)||[],n=0;n<r.length;n++)s=r[n],i=(a.match(z(s,e))||[])[0],i&&(o=a.substr(0,a.indexOf(i)),o.length>0&&d(e).unusedInput.push(o),a=a.slice(a.indexOf(i)+i.length),l+=i.length),Ei[s]?(i?d(e).empty=!1:d(e).unusedTokens.push(s),N(s,i,e)):e._strict&&!i&&d(e).unusedTokens.push(s);d(e).charsLeftOver=u-l,a.length>0&&d(e).unusedInput.push(a),d(e).bigHour===!0&&e._a[dr]<=12&&e._a[dr]>0&&(d(e).bigHour=void 0),e._a[dr]=Ye(e._locale,e._a[dr],e._meridiem),De(e),X(e)}function Ye(t,e,n){var i;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?(i=t.isPM(n),i&&12>e&&(e+=12),i||12!==e||(e=0),e):e}function we(t){var e,n,i,r,s;if(0===t._f.length)return d(t).invalidFormat=!0,void(t._d=new Date(0/0));for(r=0;r<t._f.length;r++)s=0,e=f({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[r],Me(e),l(e)&&(s+=d(e).charsLeftOver,s+=10*d(e).unusedTokens.length,d(e).score=s,(null==i||i>s)&&(i=s,n=e));o(t,n||e)}function Se(t){if(!t._d){var e=b(t._i);t._a=[e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],De(t)}}function ke(t){var e=new h(X(Te(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function Te(t){var e=t._i,r=t._f;return t._locale=t._locale||S(t._l),null===e||void 0===r&&""===e?c({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),m(e)?new h(X(e)):(n(r)?we(t):r?Me(t):i(e)?t._d=e:be(t),t))}function be(e){var s=e._i;void 0===s?e._d=new Date:i(s)?e._d=new Date(+s):"string"==typeof s?ie(e):n(s)?(e._a=r(s.slice(0),function(t){return parseInt(t,10)}),De(e)):"object"==typeof s?Se(e):"number"==typeof s?e._d=new Date(s):t.createFromInputFallback(e)}function Oe(t,e,n,i,r){var s={};return"boolean"==typeof n&&(i=n,n=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=r,s._l=n,s._i=t,s._f=e,s._strict=i,ke(s)}function Ue(t,e,n,i){return Oe(t,e,n,i,!1)}function We(t,e){var i,r;if(1===e.length&&n(e[0])&&(e=e[0]),!e.length)return Ue();for(i=e[0],r=1;r<e.length;++r)(!e[r].isValid()||e[r][t](i))&&(i=e[r]);return i}function Ce(){var t=[].slice.call(arguments,0);return We("isBefore",t)}function Ge(){var t=[].slice.call(arguments,0);return We("isAfter",t)}function Fe(t){var e=b(t),n=e.year||0,i=e.quarter||0,r=e.month||0,s=e.week||0,o=e.day||0,a=e.hour||0,u=e.minute||0,d=e.second||0,l=e.millisecond||0;this._milliseconds=+l+1e3*d+6e4*u+36e5*a,this._days=+o+7*s,this._months=+r+3*i+12*n,this._data={},this._locale=S(),this._bubble()}function Pe(t){return t instanceof Fe}function xe(t,e){F(t,0,0,function(){var t=this.utcOffset(),n="+";return 0>t&&(t=-t,n="-"),n+G(~~(t/60),2)+e+G(~~t%60,2)})}function He(t){var e=(t||"").match(er)||[],n=e[e.length-1]||[],i=(n+"").match(Sr)||["-",0,0],r=+(60*i[1])+y(i[2]);return"+"===i[0]?r:-r}function Le(e,n){var r,s;return n._isUTC?(r=n.clone(),s=(m(e)||i(e)?+e:+Ue(e))-+r,r._d.setTime(+r._d+s),t.updateOffset(r,!1),r):Ue(e).local()}function Ie(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function Ae(e,n){var i,r=this._offset||0;return null!=e?("string"==typeof e&&(e=He(e)),Math.abs(e)<16&&(e=60*e),!this._isUTC&&n&&(i=Ie(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),r!==e&&(!n||this._changeInProgress?en(this,Be(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?r:Ie(this)}function ze(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function Ze(t){return this.utcOffset(0,t)}function je(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Ie(this),"m")),this}function Ee(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&this.utcOffset(He(this._i)),this}function Ne(t){return t=t?Ue(t).utcOffset():0,(this.utcOffset()-t)%60===0}function Ve(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function qe(){if("undefined"!=typeof this._isDSTShifted)return this._isDSTShifted;var t={};if(f(t,this),t=Te(t),t._a){var e=t._isUTC?a(t._a):Ue(t._a);this._isDSTShifted=this.isValid()&&p(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Je(){return!this._isUTC}function $e(){return this._isUTC}function Re(){return this._isUTC&&0===this._offset}function Be(t,e){var n,i,r,o=t,a=null;return Pe(t)?o={ms:t._milliseconds,d:t._days,M:t._months}:"number"==typeof t?(o={},e?o[e]=t:o.milliseconds=t):(a=kr.exec(t))?(n="-"===a[1]?-1:1,o={y:0,d:y(a[ur])*n,h:y(a[dr])*n,m:y(a[lr])*n,s:y(a[cr])*n,ms:y(a[fr])*n}):(a=Tr.exec(t))?(n="-"===a[1]?-1:1,o={y:Qe(a[2],n),M:Qe(a[3],n),d:Qe(a[4],n),h:Qe(a[5],n),m:Qe(a[6],n),s:Qe(a[7],n),w:Qe(a[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(r=Ke(Ue(o.from),Ue(o.to)),o={},o.ms=r.milliseconds,o.M=r.months),i=new Fe(o),Pe(t)&&s(t,"_locale")&&(i._locale=t._locale),i}function Qe(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Xe(t,e){var n={milliseconds:0,months:0};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function Ke(t,e){var n;return e=Le(e,t),t.isBefore(e)?n=Xe(t,e):(n=Xe(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n}function tn(t,e){return function(n,i){var r,s;return null===i||isNaN(+i)||(ee(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period)."),s=n,n=i,i=s),n="string"==typeof n?+n:n,r=Be(n,i),en(this,r,t),this}}function en(e,n,i,r){var s=n._milliseconds,o=n._days,a=n._months;r=null==r?!0:r,s&&e._d.setTime(+e._d+s*i),o&&W(e,"Date",U(e,"Date")+o*i),a&&R(e,U(e,"Month")+a*i),r&&t.updateOffset(e,o||a)}function nn(t,e){var n=t||Ue(),i=Le(n,this).startOf("day"),r=this.diff(i,"days",!0),s=-6>r?"sameElse":-1>r?"lastWeek":0>r?"lastDay":1>r?"sameDay":2>r?"nextDay":7>r?"nextWeek":"sameElse";return this.format(e&&e[s]||this.localeData().calendar(s,this,Ue(n)))}function rn(){return new h(this)}function sn(t,e){var n;return e=T("undefined"!=typeof e?e:"millisecond"),"millisecond"===e?(t=m(t)?t:Ue(t),+this>+t):(n=m(t)?+t:+Ue(t),n<+this.clone().startOf(e))}function on(t,e){var n;return e=T("undefined"!=typeof e?e:"millisecond"),"millisecond"===e?(t=m(t)?t:Ue(t),+t>+this):(n=m(t)?+t:+Ue(t),+this.clone().endOf(e)<n)}function an(t,e,n){return this.isAfter(t,n)&&this.isBefore(e,n)}function un(t,e){var n;return e=T(e||"millisecond"),"millisecond"===e?(t=m(t)?t:Ue(t),+this===+t):(n=+Ue(t),+this.clone().startOf(e)<=n&&n<=+this.clone().endOf(e))}function dn(t,e,n){var i,r,s=Le(t,this),o=6e4*(s.utcOffset()-this.utcOffset());return e=T(e),"year"===e||"month"===e||"quarter"===e?(r=ln(this,s),"quarter"===e?r/=3:"year"===e&&(r/=12)):(i=this-s,r="second"===e?i/1e3:"minute"===e?i/6e4:"hour"===e?i/36e5:"day"===e?(i-o)/864e5:"week"===e?(i-o)/6048e5:i),n?r:_(r)}function ln(t,e){var n,i,r=12*(e.year()-t.year())+(e.month()-t.month()),s=t.clone().add(r,"months");return 0>e-s?(n=t.clone().add(r-1,"months"),i=(e-s)/(s-n)):(n=t.clone().add(r+1,"months"),i=(e-s)/(n-s)),-(r+i)}function cn(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function fn(){var t=this.clone().utc();return 0<t.year()&&t.year()<=9999?"function"==typeof Date.prototype.toISOString?this.toDate().toISOString():H(t,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):H(t,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function hn(e){var n=H(this,e||t.defaultFormat);return this.localeData().postformat(n)}function mn(t,e){return this.isValid()?Be({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function _n(t){return this.from(Ue(),t)}function yn(t,e){return this.isValid()?Be({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function pn(t){return this.to(Ue(),t)}function gn(t){var e;return void 0===t?this._locale._abbr:(e=S(t),null!=e&&(this._locale=e),this)}function Dn(){return this._locale}function vn(t){switch(t=T(t)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===t&&this.weekday(0),"isoWeek"===t&&this.isoWeekday(1),"quarter"===t&&this.month(3*Math.floor(this.month()/3)),this}function Mn(t){return t=T(t),void 0===t||"millisecond"===t?this:this.startOf(t).add(1,"isoWeek"===t?"week":t).subtract(1,"ms")}function Yn(){return+this._d-6e4*(this._offset||0)}function wn(){return Math.floor(+this/1e3)}function Sn(){return this._offset?new Date(+this):this._d}function kn(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function Tn(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function bn(){return l(this)}function On(){return o({},d(this))}function Un(){return d(this).overflow}function Wn(t,e){F(0,[t,t.length],0,e)}function Cn(t,e,n){return de(Ue([t,11,31+e-n]),e,n).week}function Gn(t){var e=de(this,this.localeData()._week.dow,this.localeData()._week.doy).year;return null==t?e:this.add(t-e,"y")}function Fn(t){var e=de(this,1,4).year;return null==t?e:this.add(t-e,"y")}function Pn(){return Cn(this.year(),1,4)}function xn(){var t=this.localeData()._week;return Cn(this.year(),t.dow,t.doy)}function Hn(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}function Ln(t,e){return"string"!=typeof t?t:isNaN(t)?(t=e.weekdaysParse(t),"number"==typeof t?t:null):parseInt(t,10)}function In(t){return this._weekdays[t.day()]}function An(t){return this._weekdaysShort[t.day()]}function zn(t){return this._weekdaysMin[t.day()]}function Zn(t){var e,n,i;for(this._weekdaysParse=this._weekdaysParse||[],e=0;7>e;e++)if(this._weekdaysParse[e]||(n=Ue([2e3,1]).day(e),i="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[e]=new RegExp(i.replace(".",""),"i")),this._weekdaysParse[e].test(t))return e}function jn(t){var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=Ln(t,this.localeData()),this.add(t-e,"d")):e}function En(t){var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")}function Nn(t){return null==t?this.day()||7:this.day(this.day()%7?t:t-7)}function Vn(t,e){F(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function qn(t,e){return e._meridiemParse}function Jn(t){return"p"===(t+"").toLowerCase().charAt(0)}function $n(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}function Rn(t,e){e[fr]=y(1e3*("0."+t))}function Bn(){return this._isUTC?"UTC":""}function Qn(){return this._isUTC?"Coordinated Universal Time":""}function Xn(t){return Ue(1e3*t)}function Kn(){return Ue.apply(null,arguments).parseZone()}function ti(t,e,n){var i=this._calendar[t];return"function"==typeof i?i.call(e,n):i}function ei(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])}function ni(){return this._invalidDate}function ii(t){return this._ordinal.replace("%d",t)}function ri(t){return t}function si(t,e,n,i){var r=this._relativeTime[n];return"function"==typeof r?r(t,e,n,i):r.replace(/%d/i,t)}function oi(t,e){var n=this._relativeTime[t>0?"future":"past"];return"function"==typeof n?n(e):n.replace(/%s/i,e)}function ai(t){var e,n;for(n in t)e=t[n],"function"==typeof e?this[n]=e:this["_"+n]=e;this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function ui(t,e,n,i){var r=S(),s=a().set(i,e);return r[n](s,t)}function di(t,e,n,i,r){if("number"==typeof t&&(e=t,t=void 0),t=t||"",null!=e)return ui(t,e,n,r);var s,o=[];for(s=0;i>s;s++)o[s]=ui(t,s,n,r);return o}function li(t,e){return di(t,e,"months",12,"month")}function ci(t,e){return di(t,e,"monthsShort",12,"month")}function fi(t,e){return di(t,e,"weekdays",7,"day")}function hi(t,e){return di(t,e,"weekdaysShort",7,"day")}function mi(t,e){return di(t,e,"weekdaysMin",7,"day")}function _i(){var t=this._data;return this._milliseconds=Rr(this._milliseconds),this._days=Rr(this._days),this._months=Rr(this._months),t.milliseconds=Rr(t.milliseconds),t.seconds=Rr(t.seconds),t.minutes=Rr(t.minutes),t.hours=Rr(t.hours),t.months=Rr(t.months),t.years=Rr(t.years),this}function yi(t,e,n,i){var r=Be(e,n);return t._milliseconds+=i*r._milliseconds,t._days+=i*r._days,t._months+=i*r._months,t._bubble()}function pi(t,e){return yi(this,t,e,1)}function gi(t,e){return yi(this,t,e,-1)}function Di(t){return 0>t?Math.floor(t):Math.ceil(t)}function vi(){var t,e,n,i,r,s=this._milliseconds,o=this._days,a=this._months,u=this._data;return s>=0&&o>=0&&a>=0||0>=s&&0>=o&&0>=a||(s+=864e5*Di(Yi(a)+o),o=0,a=0),u.milliseconds=s%1e3,t=_(s/1e3),u.seconds=t%60,e=_(t/60),u.minutes=e%60,n=_(e/60),u.hours=n%24,o+=_(n/24),r=_(Mi(o)),a+=r,o-=Di(Yi(r)),i=_(a/12),a%=12,u.days=o,u.months=a,u.years=i,this}function Mi(t){return 4800*t/146097}function Yi(t){return 146097*t/4800}function wi(t){var e,n,i=this._milliseconds;if(t=T(t),"month"===t||"year"===t)return e=this._days+i/864e5,n=this._months+Mi(e),"month"===t?n:n/12;switch(e=this._days+Math.round(Yi(this._months)),t){case"week":return e/7+i/6048e5;case"day":return e+i/864e5;case"hour":return 24*e+i/36e5;case"minute":return 1440*e+i/6e4;case"second":return 86400*e+i/1e3;case"millisecond":return Math.floor(864e5*e)+i;default:throw new Error("Unknown unit "+t)}}function Si(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*y(this._months/12)}function ki(t){return function(){return this.as(t)}}function Ti(t){return t=T(t),this[t+"s"]()}function bi(t){return function(){return this._data[t]}}function Oi(){return _(this.days()/7)}function Ui(t,e,n,i,r){return r.relativeTime(e||1,!!n,t,i)}function Wi(t,e,n){var i=Be(t).abs(),r=cs(i.as("s")),s=cs(i.as("m")),o=cs(i.as("h")),a=cs(i.as("d")),u=cs(i.as("M")),d=cs(i.as("y")),l=r<fs.s&&["s",r]||1===s&&["m"]||s<fs.m&&["mm",s]||1===o&&["h"]||o<fs.h&&["hh",o]||1===a&&["d"]||a<fs.d&&["dd",a]||1===u&&["M"]||u<fs.M&&["MM",u]||1===d&&["y"]||["yy",d];return l[2]=e,l[3]=+t>0,l[4]=n,Ui.apply(null,l)}function Ci(t,e){return void 0===fs[t]?!1:void 0===e?fs[t]:(fs[t]=e,!0)}function Gi(t){var e=this.localeData(),n=Wi(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)}function Fi(){var t,e,n,i=hs(this._milliseconds)/1e3,r=hs(this._days),s=hs(this._months);t=_(i/60),e=_(t/60),i%=60,t%=60,n=_(s/12),s%=12;var o=n,a=s,u=r,d=e,l=t,c=i,f=this.asSeconds();return f?(0>f?"-":"")+"P"+(o?o+"Y":"")+(a?a+"M":"")+(u?u+"D":"")+(d||l||c?"T":"")+(d?d+"H":"")+(l?l+"M":"")+(c?c+"S":""):"P0D"}var Pi,xi,Hi=t.momentProperties=[],Li=!1,Ii={},Ai={},zi=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Zi=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ji={},Ei={},Ni=/\d/,Vi=/\d\d/,qi=/\d{3}/,Ji=/\d{4}/,$i=/[+-]?\d{6}/,Ri=/\d\d?/,Bi=/\d{1,3}/,Qi=/\d{1,4}/,Xi=/[+-]?\d{1,6}/,Ki=/\d+/,tr=/[+-]?\d+/,er=/Z|[+-]\d\d:?\d\d/gi,nr=/[+-]?\d+(\.\d{1,3})?/,ir=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,rr={},sr={},or=0,ar=1,ur=2,dr=3,lr=4,cr=5,fr=6;F("M",["MM",2],"Mo",function(){return this.month()+1}),F("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),F("MMMM",0,0,function(t){return this.localeData().months(this,t)}),k("month","M"),A("M",Ri),A("MM",Ri,Vi),A("MMM",ir),A("MMMM",ir),j(["M","MM"],function(t,e){e[ar]=y(t)-1}),j(["MMM","MMMM"],function(t,e,n,i){var r=n._locale.monthsParse(t,i,n._strict);null!=r?e[ar]=r:d(n).invalidMonth=t});var hr="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),mr="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),_r={};t.suppressDeprecationWarnings=!1;var yr=/^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,pr=[["YYYYYY-MM-DD",/[+-]\d{6}-\d{2}-\d{2}/],["YYYY-MM-DD",/\d{4}-\d{2}-\d{2}/],["GGGG-[W]WW-E",/\d{4}-W\d{2}-\d/],["GGGG-[W]WW",/\d{4}-W\d{2}/],["YYYY-DDD",/\d{4}-\d{3}/]],gr=[["HH:mm:ss.SSSS",/(T| )\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss",/(T| )\d\d:\d\d:\d\d/],["HH:mm",/(T| )\d\d:\d\d/],["HH",/(T| )\d\d/]],Dr=/^\/?Date\((\-?\d+)/i;t.createFromInputFallback=te("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),F(0,["YY",2],0,function(){return this.year()%100}),F(0,["YYYY",4],0,"year"),F(0,["YYYYY",5],0,"year"),F(0,["YYYYYY",6,!0],0,"year"),k("year","y"),A("Y",tr),A("YY",Ri,Vi),A("YYYY",Qi,Ji),A("YYYYY",Xi,$i),A("YYYYYY",Xi,$i),j(["YYYYY","YYYYYY"],or),j("YYYY",function(e,n){n[or]=2===e.length?t.parseTwoDigitYear(e):y(e)}),j("YY",function(e,n){n[or]=t.parseTwoDigitYear(e)}),t.parseTwoDigitYear=function(t){return y(t)+(y(t)>68?1900:2e3)};var vr=O("FullYear",!1);F("w",["ww",2],"wo","week"),F("W",["WW",2],"Wo","isoWeek"),k("week","w"),k("isoWeek","W"),A("w",Ri),A("ww",Ri,Vi),A("W",Ri),A("WW",Ri,Vi),E(["w","ww","W","WW"],function(t,e,n,i){e[i.substr(0,1)]=y(t)});var Mr={dow:0,doy:6};F("DDD",["DDDD",3],"DDDo","dayOfYear"),k("dayOfYear","DDD"),A("DDD",Bi),A("DDDD",qi),j(["DDD","DDDD"],function(t,e,n){n._dayOfYear=y(t)}),t.ISO_8601=function(){};var Yr=te("moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(){var t=Ue.apply(null,arguments);return this>t?this:t}),wr=te("moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(){var t=Ue.apply(null,arguments);return t>this?this:t});xe("Z",":"),xe("ZZ",""),A("Z",er),A("ZZ",er),j(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=He(t)});var Sr=/([\+\-]|\d\d)/gi;t.updateOffset=function(){};var kr=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,Tr=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/;Be.fn=Fe.prototype;var br=tn(1,"add"),Or=tn(-1,"subtract");t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";var Ur=te("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});F(0,["gg",2],0,function(){return this.weekYear()%100}),F(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Wn("gggg","weekYear"),Wn("ggggg","weekYear"),Wn("GGGG","isoWeekYear"),Wn("GGGGG","isoWeekYear"),k("weekYear","gg"),k("isoWeekYear","GG"),A("G",tr),A("g",tr),A("GG",Ri,Vi),A("gg",Ri,Vi),A("GGGG",Qi,Ji),A("gggg",Qi,Ji),A("GGGGG",Xi,$i),A("ggggg",Xi,$i),E(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,i){e[i.substr(0,2)]=y(t)}),E(["gg","GG"],function(e,n,i,r){n[r]=t.parseTwoDigitYear(e)}),F("Q",0,0,"quarter"),k("quarter","Q"),A("Q",Ni),j("Q",function(t,e){e[ar]=3*(y(t)-1)}),F("D",["DD",2],"Do","date"),k("date","D"),A("D",Ri),A("DD",Ri,Vi),A("Do",function(t,e){return t?e._ordinalParse:e._ordinalParseLenient}),j(["D","DD"],ur),j("Do",function(t,e){e[ur]=y(t.match(Ri)[0],10)});var Wr=O("Date",!0);F("d",0,"do","day"),F("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),F("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),F("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),F("e",0,0,"weekday"),F("E",0,0,"isoWeekday"),k("day","d"),k("weekday","e"),k("isoWeekday","E"),A("d",Ri),A("e",Ri),A("E",Ri),A("dd",ir),A("ddd",ir),A("dddd",ir),E(["dd","ddd","dddd"],function(t,e,n){var i=n._locale.weekdaysParse(t);null!=i?e.d=i:d(n).invalidWeekday=t}),E(["d","e","E"],function(t,e,n,i){e[i]=y(t)});var Cr="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Gr="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Fr="Su_Mo_Tu_We_Th_Fr_Sa".split("_");F("H",["HH",2],0,"hour"),F("h",["hh",2],0,function(){return this.hours()%12||12}),Vn("a",!0),Vn("A",!1),k("hour","h"),A("a",qn),A("A",qn),A("H",Ri),A("h",Ri),A("HH",Ri,Vi),A("hh",Ri,Vi),j(["H","HH"],dr),j(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),j(["h","hh"],function(t,e,n){e[dr]=y(t),d(n).bigHour=!0});var Pr=/[ap]\.?m?\.?/i,xr=O("Hours",!0);F("m",["mm",2],0,"minute"),k("minute","m"),A("m",Ri),A("mm",Ri,Vi),j(["m","mm"],lr);var Hr=O("Minutes",!1);F("s",["ss",2],0,"second"),k("second","s"),A("s",Ri),A("ss",Ri,Vi),j(["s","ss"],cr);var Lr=O("Seconds",!1);F("S",0,0,function(){return~~(this.millisecond()/100)}),F(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),F(0,["SSS",3],0,"millisecond"),F(0,["SSSS",4],0,function(){return 10*this.millisecond()}),F(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),F(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),F(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),F(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),F(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),k("millisecond","ms"),A("S",Bi,Ni),A("SS",Bi,Vi),A("SSS",Bi,qi);var Ir;for(Ir="SSSS";Ir.length<=9;Ir+="S")A(Ir,Ki);for(Ir="S";Ir.length<=9;Ir+="S")j(Ir,Rn);var Ar=O("Milliseconds",!1);F("z",0,0,"zoneAbbr"),F("zz",0,0,"zoneName");var zr=h.prototype;zr.add=br,zr.calendar=nn,zr.clone=rn,zr.diff=dn,zr.endOf=Mn,zr.format=hn,zr.from=mn,zr.fromNow=_n,zr.to=yn,zr.toNow=pn,zr.get=C,zr.invalidAt=Un,zr.isAfter=sn,zr.isBefore=on,zr.isBetween=an,zr.isSame=un,zr.isValid=bn,zr.lang=Ur,zr.locale=gn,zr.localeData=Dn,zr.max=wr,zr.min=Yr,zr.parsingFlags=On,zr.set=C,zr.startOf=vn,zr.subtract=Or,zr.toArray=kn,zr.toObject=Tn,zr.toDate=Sn,zr.toISOString=fn,zr.toJSON=fn,zr.toString=cn,zr.unix=wn,zr.valueOf=Yn,zr.year=vr,zr.isLeapYear=ue,zr.weekYear=Gn,zr.isoWeekYear=Fn,zr.quarter=zr.quarters=Hn,zr.month=B,zr.daysInMonth=Q,zr.week=zr.weeks=he,zr.isoWeek=zr.isoWeeks=me,zr.weeksInYear=xn,zr.isoWeeksInYear=Pn,zr.date=Wr,zr.day=zr.days=jn,zr.weekday=En,zr.isoWeekday=Nn,zr.dayOfYear=ye,zr.hour=zr.hours=xr,zr.minute=zr.minutes=Hr,zr.second=zr.seconds=Lr,zr.millisecond=zr.milliseconds=Ar,zr.utcOffset=Ae,zr.utc=Ze,zr.local=je,zr.parseZone=Ee,zr.hasAlignedHourOffset=Ne,zr.isDST=Ve,zr.isDSTShifted=qe,zr.isLocal=Je,zr.isUtcOffset=$e,zr.isUtc=Re,zr.isUTC=Re,zr.zoneAbbr=Bn,zr.zoneName=Qn,zr.dates=te("dates accessor is deprecated. Use date instead.",Wr),zr.months=te("months accessor is deprecated. Use month instead",B),zr.years=te("years accessor is deprecated. Use year instead",vr),zr.zone=te("moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779",ze);
|
|
var Zr=zr,jr={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Er={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"},Nr="Invalid date",Vr="%d",qr=/\d{1,2}/,Jr={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"},$r=g.prototype;$r._calendar=jr,$r.calendar=ti,$r._longDateFormat=Er,$r.longDateFormat=ei,$r._invalidDate=Nr,$r.invalidDate=ni,$r._ordinal=Vr,$r.ordinal=ii,$r._ordinalParse=qr,$r.preparse=ri,$r.postformat=ri,$r._relativeTime=Jr,$r.relativeTime=si,$r.pastFuture=oi,$r.set=ai,$r.months=q,$r._months=hr,$r.monthsShort=J,$r._monthsShort=mr,$r.monthsParse=$,$r.week=le,$r._week=Mr,$r.firstDayOfYear=fe,$r.firstDayOfWeek=ce,$r.weekdays=In,$r._weekdays=Cr,$r.weekdaysMin=zn,$r._weekdaysMin=Fr,$r.weekdaysShort=An,$r._weekdaysShort=Gr,$r.weekdaysParse=Zn,$r.isPM=Jn,$r._meridiemParse=Pr,$r.meridiem=$n,Y("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,n=1===y(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n}}),t.lang=te("moment.lang is deprecated. Use moment.locale instead.",Y),t.langData=te("moment.langData is deprecated. Use moment.localeData instead.",S);var Rr=Math.abs,Br=ki("ms"),Qr=ki("s"),Xr=ki("m"),Kr=ki("h"),ts=ki("d"),es=ki("w"),ns=ki("M"),is=ki("y"),rs=bi("milliseconds"),ss=bi("seconds"),os=bi("minutes"),as=bi("hours"),us=bi("days"),ds=bi("months"),ls=bi("years"),cs=Math.round,fs={s:45,m:45,h:22,d:26,M:11},hs=Math.abs,ms=Fe.prototype;ms.abs=_i,ms.add=pi,ms.subtract=gi,ms.as=wi,ms.asMilliseconds=Br,ms.asSeconds=Qr,ms.asMinutes=Xr,ms.asHours=Kr,ms.asDays=ts,ms.asWeeks=es,ms.asMonths=ns,ms.asYears=is,ms.valueOf=Si,ms._bubble=vi,ms.get=Ti,ms.milliseconds=rs,ms.seconds=ss,ms.minutes=os,ms.hours=as,ms.days=us,ms.weeks=Oi,ms.months=ds,ms.years=ls,ms.humanize=Gi,ms.toISOString=Fi,ms.toString=Fi,ms.toJSON=Fi,ms.locale=gn,ms.localeData=Dn,ms.toIsoString=te("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Fi),ms.lang=Ur,F("X",0,0,"unix"),F("x",0,0,"valueOf"),A("x",tr),A("X",nr),j("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))}),j("x",function(t,e,n){n._d=new Date(y(t))}),t.version="2.10.6",e(Ue),t.fn=Zr,t.min=Ce,t.max=Ge,t.utc=a,t.unix=Xn,t.months=li,t.isDate=i,t.locale=Y,t.invalid=c,t.duration=Be,t.isMoment=m,t.weekdays=fi,t.parseZone=Kn,t.localeData=S,t.isDuration=Pe,t.monthsShort=ci,t.weekdaysMin=mi,t.defineLocale=w,t.weekdaysShort=hi,t.normalizeUnits=T,t.relativeTimeThreshold=Ci;var _s=t;return _s}); |