vendor: 5,685 bytes, lines 1-113
1! function(e, t) { "object" == typeof exports && "undefined" != typeof module ? module.exports = t() : "function" == typeof define && define.amd ? define(t) : e.moment = t() }(this, function() { 2 "use strict"; 3 var e, t; 4 5 function n() { return e.apply(null, arguments) } 6 7 function s(e) { return e instanceof Array || "[object Array]" === Object.prototype.toString.call(e) } 8 9 function i(e) { return null != e && "[object Object]" === Object.prototype.toString.call(e) } 10 11 function r(e) { return void 0 === e } 12 13 function a(e) { return "number" == typeof e || "[object Number]" === Object.prototype.toString.call(e) } 14 15 function o(e) { return e instanceof Date || "[object Date]" === Object.prototype.toString.call(e) } 16 17 function u(e, t) { var n, s = []; for (n = 0; n < e.length; ++n) s.push(t(e[n], n)); return s } 18 19 function l(e, t) { return Object.prototype.hasOwnProperty.call(e, t) } 20 21 function d(e, t) { for (var n in t) l(t, n) && (e[n] = t[n]); return l(t, "toString") && (e.toString = t.toString), l(t, "valueOf") && (e.valueOf = t.valueOf), e } 22 23 function h(e, t, n, s) { return Ot(e, t, n, s, !0).utc() } 24 25 function c(e) { return null == e._pf && (e._pf = { 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 }), e._pf } 26 27 function f(e) { 28 if (null == e._isValid) { 29 var n = c(e), 30 s = t.call(n.parsedDateParts, function(e) { return null != e }), 31 i = !isNaN(e._d.getTime()) && n.overflow < 0 && !n.empty && !n.invalidMonth && !n.invalidWeekday && !n.weekdayMismatch && !n.nullInput && !n.invalidFormat && !n.userInvalidated && (!n.meridiem || n.meridiem && s); 32 if (e._strict && (i = i && 0 === n.charsLeftOver && 0 === n.unusedTokens.length && void 0 === n.bigHour), null != Object.isFrozen && Object.isFrozen(e)) return i; 33 e._isValid = i 34 } 35 return e._isValid 36 } 37 38 function m(e) { var t = h(NaN); return null != e ? d(c(t), e) : c(t).userInvalidated = !0, t } 39 t = Array.prototype.some ? Array.prototype.some : function(e) { 40 for (var t = Object(this), n = t.length >>> 0, s = 0; s < n; s++) 41 if (s in t && e.call(this, t[s], s, t)) return !0; 42 return !1 43 }; 44 var _ = n.momentProperties = []; 45 46 function y(e, t) { 47 var n, s, i; 48 if (r(t._isAMomentObject) || (e._isAMomentObject = t._isAMomentObject), r(t._i) || (e._i = t._i), r(t._f) || (e._f = t._f), r(t._l) || (e._l = t._l), r(t._strict) || (e._strict = t._strict), r(t._tzm) || (e._tzm = t._tzm), r(t._isUTC) || (e._isUTC = t._isUTC), r(t._offset) || (e._offset = t._offset), r(t._pf) || (e._pf = c(t)), r(t._locale) || (e._locale = t._locale), _.length > 0) 49 for (n = 0; n < _.length; n++) r(i = t[s = _[n]]) || (e[s] = i); 50 return e 51 } 52 var g = !1; 53 54 function p(e) { y(this, e), this._d = new Date(null != e._d ? e._d.getTime() : NaN), this.isValid() || (this._d = new Date(NaN)), !1 === g && (g = !0, n.updateOffset(this), g = !1) } 55 56 function v(e) { return e instanceof p || null != e && null != e._isAMomentObject } 57 58 function w(e) { return e < 0 ? Math.ceil(e) || 0 : Math.floor(e) } 59 60 function M(e) { 61 var t = +e, 62 n = 0; 63 return 0 !== t && isFinite(t) && (n = w(t)), n 64 } 65 66 function S(e, t, n) { 67 var s, i = Math.min(e.length, t.length), 68 r = Math.abs(e.length - t.length), 69 a = 0; 70 for (s = 0; s < i; s++)(n && e[s] !== t[s] || !n && M(e[s]) !== M(t[s])) && a++; 71 return a + r 72 } 73 74 function D(e) {!1 === n.suppressDeprecationWarnings && "undefined" != typeof console && console.warn && console.warn("Deprecation warning: " + e) } 75 76 function k(e, t) { 77 var s = !0; 78 return d(function() { 79 if (null != n.deprecationHandler && n.deprecationHandler(null, e), s) { 80 for (var i, r = [], a = 0; a < arguments.length; a++) { 81 if (i = "", "object" == typeof arguments[a]) { 82 for (var o in i += "\n[" + a + "] ", arguments[0]) i += o + ": " + arguments[0][o] + ", "; 83 i = i.slice(0, -2) 84 } else i = arguments[a]; 85 r.push(i) 86 } 87 D(e + "\nArguments: " + Array.prototype.slice.call(r).join("") + "\n" + (new Error).stack), s = !1 88 } 89 return t.apply(this, arguments) 90 }, t) 91 } 92 var Y, O = {}; 93 94 function T(e, t) { null != n.deprecationHandler && n.deprecationHandler(e, t), O[e] || (D(t), O[e] = !0) } 95 96 function x(e) { return e instanceof Function || "[object Function]" === Object.prototype.toString.call(e) } 97 98 function b(e, t) { var n, s = d({}, e); for (n in t) l(t, n) && (i(e[n]) && i(t[n]) ? (s[n] = {}, d(s[n], e[n]), d(s[n], t[n])) : null != t[n] ? s[n] = t[n] : delete s[n]); for (n in e) l(e, n) && !l(t, n) && i(e[n]) && (s[n] = d({}, s[n])); return s } 99 100 function P(e) { null != e && this.set(e) } 101 n.suppressDeprecationWarnings = !1, n.deprecationHandler = null, Y = Object.keys ? Object.keys : function(e) { var t, n = []; for (t in e) l(e, t) && n.push(t); return n }; 102 var W = {}; 103 104 function H(e, t) { 105 var n = e.toLowerCase(); 106 W[n] = W[n + "s"] = W[t] = e 107 } 108 109 function R(e) { return "string" == typeof e ? W[e] || W[e.toLowerCase()] : void 0 } 110 111 function C(e) { var t, n, s = {}; for (n in e) l(e, n) && (t = R(n)) && (s[t] = e[n]); return s } 112 var F = {}; 113
vendor: 6,164 bytes, lines 114-219
114 function L(e, t) { F[e] = t } 115 116 function U(e, t, n) { 117 var s = "" + Math.abs(e), 118 i = t - s.length; 119 return (e >= 0 ? n ? "+" : "" : "-") + Math.pow(10, Math.max(0, i)).toString().substr(1) + s 120 } 121 var N = /(\[[^\[]*\])|(\\)?([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, 122 G = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, 123 V = {}, 124 E = {}; 125 126 function I(e, t, n, s) { var i = s; "string" == typeof s && (i = function() { return this[s]() }), e && (E[e] = i), t && (E[t[0]] = function() { return U(i.apply(this, arguments), t[1], t[2]) }), n && (E[n] = function() { return this.localeData().ordinal(i.apply(this, arguments), e) }) } 127 128 function A(e, t) { return e.isValid() ? (t = j(t, e.localeData()), V[t] = V[t] || function(e) { var t, n, s, i = e.match(N); for (t = 0, n = i.length; t < n; t++) E[i[t]] ? i[t] = E[i[t]] : i[t] = (s = i[t]).match(/\[[\s\S]/) ? s.replace(/^\[|\]$/g, "") : s.replace(/\\/g, ""); return function(t) { var s, r = ""; for (s = 0; s < n; s++) r += x(i[s]) ? i[s].call(t, e) : i[s]; return r } }(t), V[t](e)) : e.localeData().invalidDate() } 129 130 function j(e, t) { 131 var n = 5; 132 133 function s(e) { return t.longDateFormat(e) || e } 134 for (G.lastIndex = 0; n >= 0 && G.test(e);) e = e.replace(G, s), G.lastIndex = 0, n -= 1; 135 return e 136 } 137 var Z = /\d/, 138 z = /\d\d/, 139 $ = /\d{3}/, 140 q = /\d{4}/, 141 J = /[+-]?\d{6}/, 142 B = /\d\d?/, 143 Q = /\d\d\d\d?/, 144 X = /\d\d\d\d\d\d?/, 145 K = /\d{1,3}/, 146 ee = /\d{1,4}/, 147 te = /[+-]?\d{1,6}/, 148 ne = /\d+/, 149 se = /[+-]?\d+/, 150 ie = /Z|[+-]\d\d:?\d\d/gi, 151 re = /Z|[+-]\d\d(?::?\d\d)?/gi, 152 ae = /[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, 153 oe = {}; 154 155 function ue(e, t, n) { oe[e] = x(t) ? t : function(e, s) { return e && n ? n : t } } 156 157 function le(e, t) { return l(oe, e) ? oe[e](t._strict, t._locale) : new RegExp(de(e.replace("\\", "").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g, function(e, t, n, s, i) { return t || n || s || i }))) } 158 159 function de(e) { return e.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&") } 160 var he = {}; 161 162 function ce(e, t) { var n, s = t; for ("string" == typeof e && (e = [e]), a(t) && (s = function(e, n) { n[t] = M(e) }), n = 0; n < e.length; n++) he[e[n]] = s } 163 164 function fe(e, t) { ce(e, function(e, n, s, i) { s._w = s._w || {}, t(e, s._w, s, i) }) } 165 var me = 0, 166 _e = 1, 167 ye = 2, 168 ge = 3, 169 pe = 4, 170 ve = 5, 171 we = 6, 172 Me = 7, 173 Se = 8; 174 175 function De(e) { return ke(e) ? 366 : 365 } 176 177 function ke(e) { return e % 4 == 0 && e % 100 != 0 || e % 400 == 0 } 178 I("Y", 0, 0, function() { var e = this.year(); return e <= 9999 ? "" + e : "+" + e }), I(0, ["YY", 2], 0, function() { return this.year() % 100 }), I(0, ["YYYY", 4], 0, "year"), I(0, ["YYYYY", 5], 0, "year"), I(0, ["YYYYYY", 6, !0], 0, "year"), H("year", "y"), L("year", 1), ue("Y", se), ue("YY", B, z), ue("YYYY", ee, q), ue("YYYYY", te, J), ue("YYYYYY", te, J), ce(["YYYYY", "YYYYYY"], me), ce("YYYY", function(e, t) { t[me] = 2 === e.length ? n.parseTwoDigitYear(e) : M(e) }), ce("YY", function(e, t) { t[me] = n.parseTwoDigitYear(e) }), ce("Y", function(e, t) { t[me] = parseInt(e, 10) }), n.parseTwoDigitYear = function(e) { return M(e) + (M(e) > 68 ? 1900 : 2e3) }; 179 var Ye, Oe = Te("FullYear", !0); 180 181 function Te(e, t) { return function(s) { return null != s ? (be(this, e, s), n.updateOffset(this, t), this) : xe(this, e) } } 182 183 function xe(e, t) { return e.isValid() ? e._d["get" + (e._isUTC ? "UTC" : "") + t]() : NaN } 184 185 function be(e, t, n) { e.isValid() && !isNaN(n) && ("FullYear" === t && ke(e.year()) && 1 === e.month() && 29 === e.date() ? e._d["set" + (e._isUTC ? "UTC" : "") + t](n, e.month(), Pe(n, e.month())) : e._d["set" + (e._isUTC ? "UTC" : "") + t](n)) } 186 187 function Pe(e, t) { if (isNaN(e) || isNaN(t)) return NaN; var n, s = (t % (n = 12) + n) % n; return e += (t - s) / 12, 1 === s ? ke(e) ? 29 : 28 : 31 - s % 7 % 2 } 188 Ye = Array.prototype.indexOf ? Array.prototype.indexOf : function(e) { 189 var t; 190 for (t = 0; t < this.length; ++t) 191 if (this[t] === e) return t; 192 return -1 193 }, I("M", ["MM", 2], "Mo", function() { return this.month() + 1 }), I("MMM", 0, 0, function(e) { return this.localeData().monthsShort(this, e) }), I("MMMM", 0, 0, function(e) { return this.localeData().months(this, e) }), H("month", "M"), L("month", 8), ue("M", B), ue("MM", B, z), ue("MMM", function(e, t) { return t.monthsShortRegex(e) }), ue("MMMM", function(e, t) { return t.monthsRegex(e) }), ce(["M", "MM"], function(e, t) { t[_e] = M(e) - 1 }), ce(["MMM", "MMMM"], function(e, t, n, s) { 194 var i = n._locale.monthsParse(e, s, n._strict); 195 null != i ? t[_e] = i : c(n).invalidMonth = e 196 }); 197 var We = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/, 198 He = "January_February_March_April_May_June_July_August_September_October_November_December".split("_"); 199 var Re = "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"); 200 201 function Ce(e, t) { 202 var n; 203 if (!e.isValid()) return e; 204 if ("string" == typeof t) 205 if (/^\d+$/.test(t)) t = M(t); 206 else if (!a(t = e.localeData().monthsParse(t))) return e; 207 return n = Math.min(e.date(), Pe(e.year(), t)), e._d["set" + (e._isUTC ? "UTC" : "") + "Month"](t, n), e 208 } 209 210 function Fe(e) { return null != e ? (Ce(this, e), n.updateOffset(this, !0), this) : xe(this, "Month") } 211 var Le = ae; 212 var Ue = ae; 213 214 function Ne() { 215 function e(e, t) { return t.length - e.length } 216 var t, n, s = [], 217 i = [], 218 r = []; 219 for (t = 0; t < 12; t++) n = h([2e3, t]), s.push(this.monthsShort(n, "")), i.push(this.months(n, "")), r.push(this.months(n, "")), r.push(this.monthsShort(n, ""));
vendor: 15,669 bytes, lines 220-437
220 for (s.sort(e), i.sort(e), r.sort(e), t = 0; t < 12; t++) s[t] = de(s[t]), i[t] = de(i[t]); 221 for (t = 0; t < 24; t++) r[t] = de(r[t]); 222 this._monthsRegex = new RegExp("^(" + r.join("|") + ")", "i"), this._monthsShortRegex = this._monthsRegex, this._monthsStrictRegex = new RegExp("^(" + i.join("|") + ")", "i"), this._monthsShortStrictRegex = new RegExp("^(" + s.join("|") + ")", "i") 223 } 224 225 function Ge(e) { var t = new Date(Date.UTC.apply(null, arguments)); return e < 100 && e >= 0 && isFinite(t.getUTCFullYear()) && t.setUTCFullYear(e), t } 226 227 function Ve(e, t, n) { var s = 7 + t - n; return -((7 + Ge(e, 0, s).getUTCDay() - t) % 7) + s - 1 } 228 229 function Ee(e, t, n, s, i) { var r, a, o = 1 + 7 * (t - 1) + (7 + n - s) % 7 + Ve(e, s, i); return o <= 0 ? a = De(r = e - 1) + o : o > De(e) ? (r = e + 1, a = o - De(e)) : (r = e, a = o), { year: r, dayOfYear: a } } 230 231 function Ie(e, t, n) { 232 var s, i, r = Ve(e.year(), t, n), 233 a = Math.floor((e.dayOfYear() - r - 1) / 7) + 1; 234 return a < 1 ? s = a + Ae(i = e.year() - 1, t, n) : a > Ae(e.year(), t, n) ? (s = a - Ae(e.year(), t, n), i = e.year() + 1) : (i = e.year(), s = a), { week: s, year: i } 235 } 236 237 function Ae(e, t, n) { 238 var s = Ve(e, t, n), 239 i = Ve(e + 1, t, n); 240 return (De(e) - s + i) / 7 241 } 242 I("w", ["ww", 2], "wo", "week"), I("W", ["WW", 2], "Wo", "isoWeek"), H("week", "w"), H("isoWeek", "W"), L("week", 5), L("isoWeek", 5), ue("w", B), ue("ww", B, z), ue("W", B), ue("WW", B, z), fe(["w", "ww", "W", "WW"], function(e, t, n, s) { t[s.substr(0, 1)] = M(e) }); 243 I("d", 0, "do", "day"), I("dd", 0, 0, function(e) { return this.localeData().weekdaysMin(this, e) }), I("ddd", 0, 0, function(e) { return this.localeData().weekdaysShort(this, e) }), I("dddd", 0, 0, function(e) { return this.localeData().weekdays(this, e) }), I("e", 0, 0, "weekday"), I("E", 0, 0, "isoWeekday"), H("day", "d"), H("weekday", "e"), H("isoWeekday", "E"), L("day", 11), L("weekday", 11), L("isoWeekday", 11), ue("d", B), ue("e", B), ue("E", B), ue("dd", function(e, t) { return t.weekdaysMinRegex(e) }), ue("ddd", function(e, t) { return t.weekdaysShortRegex(e) }), ue("dddd", function(e, t) { return t.weekdaysRegex(e) }), fe(["dd", "ddd", "dddd"], function(e, t, n, s) { 244 var i = n._locale.weekdaysParse(e, s, n._strict); 245 null != i ? t.d = i : c(n).invalidWeekday = e 246 }), fe(["d", "e", "E"], function(e, t, n, s) { t[s] = M(e) }); 247 var je = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"); 248 var Ze = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"); 249 var ze = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"); 250 var $e = ae; 251 var qe = ae; 252 var Je = ae; 253 254 function Be() { 255 function e(e, t) { return t.length - e.length } 256 var t, n, s, i, r, a = [], 257 o = [], 258 u = [], 259 l = []; 260 for (t = 0; t < 7; t++) n = h([2e3, 1]).day(t), s = this.weekdaysMin(n, ""), i = this.weekdaysShort(n, ""), r = this.weekdays(n, ""), a.push(s), o.push(i), u.push(r), l.push(s), l.push(i), l.push(r); 261 for (a.sort(e), o.sort(e), u.sort(e), l.sort(e), t = 0; t < 7; t++) o[t] = de(o[t]), u[t] = de(u[t]), l[t] = de(l[t]); 262 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("^(" + o.join("|") + ")", "i"), this._weekdaysMinStrictRegex = new RegExp("^(" + a.join("|") + ")", "i") 263 } 264 265 function Qe() { return this.hours() % 12 || 12 } 266 267 function Xe(e, t) { I(e, 0, 0, function() { return this.localeData().meridiem(this.hours(), this.minutes(), t) }) } 268 269 function Ke(e, t) { return t._meridiemParse } 270 I("H", ["HH", 2], 0, "hour"), I("h", ["hh", 2], 0, Qe), I("k", ["kk", 2], 0, function() { return this.hours() || 24 }), I("hmm", 0, 0, function() { return "" + Qe.apply(this) + U(this.minutes(), 2) }), I("hmmss", 0, 0, function() { return "" + Qe.apply(this) + U(this.minutes(), 2) + U(this.seconds(), 2) }), I("Hmm", 0, 0, function() { return "" + this.hours() + U(this.minutes(), 2) }), I("Hmmss", 0, 0, function() { return "" + this.hours() + U(this.minutes(), 2) + U(this.seconds(), 2) }), Xe("a", !0), Xe("A", !1), H("hour", "h"), L("hour", 13), ue("a", Ke), ue("A", Ke), ue("H", B), ue("h", B), ue("k", B), ue("HH", B, z), ue("hh", B, z), ue("kk", B, z), ue("hmm", Q), ue("hmmss", X), ue("Hmm", Q), ue("Hmmss", X), ce(["H", "HH"], ge), ce(["k", "kk"], function(e, t, n) { 271 var s = M(e); 272 t[ge] = 24 === s ? 0 : s 273 }), ce(["a", "A"], function(e, t, n) { n._isPm = n._locale.isPM(e), n._meridiem = e }), ce(["h", "hh"], function(e, t, n) { t[ge] = M(e), c(n).bigHour = !0 }), ce("hmm", function(e, t, n) { 274 var s = e.length - 2; 275 t[ge] = M(e.substr(0, s)), t[pe] = M(e.substr(s)), c(n).bigHour = !0 276 }), ce("hmmss", function(e, t, n) { 277 var s = e.length - 4, 278 i = e.length - 2; 279 t[ge] = M(e.substr(0, s)), t[pe] = M(e.substr(s, 2)), t[ve] = M(e.substr(i)), c(n).bigHour = !0 280 }), ce("Hmm", function(e, t, n) { 281 var s = e.length - 2; 282 t[ge] = M(e.substr(0, s)), t[pe] = M(e.substr(s)) 283 }), ce("Hmmss", function(e, t, n) { 284 var s = e.length - 4, 285 i = e.length - 2; 286 t[ge] = M(e.substr(0, s)), t[pe] = M(e.substr(s, 2)), t[ve] = M(e.substr(i)) 287 }); 288 var et, tt = Te("Hours", !0), 289 nt = { calendar: { sameDay: "[Today at] LT", nextDay: "[Tomorrow at] LT", nextWeek: "dddd [at] LT", lastDay: "[Yesterday at] LT", lastWeek: "[Last] dddd [at] LT", sameElse: "L" }, longDateFormat: { 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" }, invalidDate: "Invalid date", ordinal: "%d", dayOfMonthOrdinalParse: /\d{1,2}/, relativeTime: { 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" }, months: He, monthsShort: Re, week: { dow: 0, doy: 6 }, weekdays: je, weekdaysMin: ze, weekdaysShort: Ze, meridiemParse: /[ap]\.?m?\.?/i }, 290 st = {}, 291 it = {}; 292 293 function rt(e) { return e ? e.toLowerCase().replace("_", "-") : e } 294 295 function at(e) { 296 var t = null; 297 if (!st[e] && "undefined" != typeof module && module && module.exports) try { t = et._abbr, require("./locale/" + e), ot(t) } catch (e) {} 298 return st[e] 299 } 300 301 function ot(e, t) { var n; return e && ((n = r(t) ? lt(e) : ut(e, t)) ? et = n : "undefined" != typeof console && console.warn && console.warn("Locale " + e + " not found. Did you forget to load it?")), et._abbr } 302 303 function ut(e, t) { 304 if (null !== t) { 305 var n, s = nt; 306 if (t.abbr = e, null != st[e]) T("defineLocaleOverride", "use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."), s = st[e]._config; 307 else if (null != t.parentLocale) 308 if (null != st[t.parentLocale]) s = st[t.parentLocale]._config; 309 else { 310 if (null == (n = at(t.parentLocale))) return it[t.parentLocale] || (it[t.parentLocale] = []), it[t.parentLocale].push({ name: e, config: t }), null; 311 s = n._config 312 } 313 return st[e] = new P(b(s, t)), it[e] && it[e].forEach(function(e) { ut(e.name, e.config) }), ot(e), st[e] 314 } 315 return delete st[e], null 316 } 317 318 function lt(e) { 319 var t; 320 if (e && e._locale && e._locale._abbr && (e = e._locale._abbr), !e) return et; 321 if (!s(e)) { 322 if (t = at(e)) return t; 323 e = [e] 324 } 325 return function(e) { 326 for (var t, n, s, i, r = 0; r < e.length;) { 327 for (t = (i = rt(e[r]).split("-")).length, n = (n = rt(e[r + 1])) ? n.split("-") : null; t > 0;) { 328 if (s = at(i.slice(0, t).join("-"))) return s; 329 if (n && n.length >= t && S(i, n, !0) >= t - 1) break; 330 t-- 331 } 332 r++ 333 } 334 return et 335 }(e) 336 } 337 338 function dt(e) { var t, n = e._a; return n && -2 === c(e).overflow && (t = n[_e] < 0 || n[_e] > 11 ? _e : n[ye] < 1 || n[ye] > Pe(n[me], n[_e]) ? ye : n[ge] < 0 || n[ge] > 24 || 24 === n[ge] && (0 !== n[pe] || 0 !== n[ve] || 0 !== n[we]) ? ge : n[pe] < 0 || n[pe] > 59 ? pe : n[ve] < 0 || n[ve] > 59 ? ve : n[we] < 0 || n[we] > 999 ? we : -1, c(e)._overflowDayOfYear && (t < me || t > ye) && (t = ye), c(e)._overflowWeeks && -1 === t && (t = Me), c(e)._overflowWeekday && -1 === t && (t = Se), c(e).overflow = t), e } 339 340 function ht(e, t, n) { return null != e ? e : null != t ? t : n } 341 342 function ct(e) { 343 var t, s, i, r, a, o = []; 344 if (!e._d) { 345 var u, l; 346 for (u = e, l = new Date(n.now()), i = u._useUTC ? [l.getUTCFullYear(), l.getUTCMonth(), l.getUTCDate()] : [l.getFullYear(), l.getMonth(), l.getDate()], e._w && null == e._a[ye] && null == e._a[_e] && function(e) { 347 var t, n, s, i, r, a, o, u; 348 if (null != (t = e._w).GG || null != t.W || null != t.E) r = 1, a = 4, n = ht(t.GG, e._a[me], Ie(Tt(), 1, 4).year), s = ht(t.W, 1), ((i = ht(t.E, 1)) < 1 || i > 7) && (u = !0); 349 else { 350 r = e._locale._week.dow, a = e._locale._week.doy; 351 var l = Ie(Tt(), r, a); 352 n = ht(t.gg, e._a[me], l.year), s = ht(t.w, l.week), null != t.d ? ((i = t.d) < 0 || i > 6) && (u = !0) : null != t.e ? (i = t.e + r, (t.e < 0 || t.e > 6) && (u = !0)) : i = r 353 } 354 s < 1 || s > Ae(n, r, a) ? c(e)._overflowWeeks = !0 : null != u ? c(e)._overflowWeekday = !0 : (o = Ee(n, s, i, r, a), e._a[me] = o.year, e._dayOfYear = o.dayOfYear) 355 }(e), null != e._dayOfYear && (a = ht(e._a[me], i[me]), (e._dayOfYear > De(a) || 0 === e._dayOfYear) && (c(e)._overflowDayOfYear = !0), s = Ge(a, 0, e._dayOfYear), e._a[_e] = s.getUTCMonth(), e._a[ye] = s.getUTCDate()), t = 0; t < 3 && null == e._a[t]; ++t) e._a[t] = o[t] = i[t]; 356 for (; t < 7; t++) e._a[t] = o[t] = null == e._a[t] ? 2 === t ? 1 : 0 : e._a[t]; 357 24 === e._a[ge] && 0 === e._a[pe] && 0 === e._a[ve] && 0 === e._a[we] && (e._nextDay = !0, e._a[ge] = 0), e._d = (e._useUTC ? Ge : function(e, t, n, s, i, r, a) { var o = new Date(e, t, n, s, i, r, a); return e < 100 && e >= 0 && isFinite(o.getFullYear()) && o.setFullYear(e), o }).apply(null, o), r = e._useUTC ? e._d.getUTCDay() : e._d.getDay(), null != e._tzm && e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), e._nextDay && (e._a[ge] = 24), e._w && void 0 !== e._w.d && e._w.d !== r && (c(e).weekdayMismatch = !0) 358 } 359 } 360 var ft = /^\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)?)?$/, 361 mt = /^\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)?)?$/, 362 _t = /Z|[+-]\d\d(?::?\d\d)?/, 363 yt = [ 364 ["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/], 365 ["YYYY-MM-DD", /\d{4}-\d\d-\d\d/], 366 ["GGGG-[W]WW-E", /\d{4}-W\d\d-\d/], 367 ["GGGG-[W]WW", /\d{4}-W\d\d/, !1], 368 ["YYYY-DDD", /\d{4}-\d{3}/], 369 ["YYYY-MM", /\d{4}-\d\d/, !1], 370 ["YYYYYYMMDD", /[+-]\d{10}/], 371 ["YYYYMMDD", /\d{8}/], 372 ["GGGG[W]WWE", /\d{4}W\d{3}/], 373 ["GGGG[W]WW", /\d{4}W\d{2}/, !1], 374 ["YYYYDDD", /\d{7}/] 375 ], 376 gt = [ 377 ["HH:mm:ss.SSSS", /\d\d:\d\d:\d\d\.\d+/], 378 ["HH:mm:ss,SSSS", /\d\d:\d\d:\d\d,\d+/], 379 ["HH:mm:ss", /\d\d:\d\d:\d\d/], 380 ["HH:mm", /\d\d:\d\d/], 381 ["HHmmss.SSSS", /\d\d\d\d\d\d\.\d+/], 382 ["HHmmss,SSSS", /\d\d\d\d\d\d,\d+/], 383 ["HHmmss", /\d\d\d\d\d\d/], 384 ["HHmm", /\d\d\d\d/], 385 ["HH", /\d\d/] 386 ], 387 pt = /^\/?Date\((\-?\d+)/i; 388 389 function vt(e) { 390 var t, n, s, i, r, a, o = e._i, 391 u = ft.exec(o) || mt.exec(o); 392 if (u) { 393 for (c(e).iso = !0, t = 0, n = yt.length; t < n; t++) 394 if (yt[t][1].exec(u[1])) { i = yt[t][0], s = !1 !== yt[t][2]; break } 395 if (null == i) return void(e._isValid = !1); 396 if (u[3]) { 397 for (t = 0, n = gt.length; t < n; t++) 398 if (gt[t][1].exec(u[3])) { r = (u[2] || " ") + gt[t][0]; break } 399 if (null == r) return void(e._isValid = !1) 400 } 401 if (!s && null != r) return void(e._isValid = !1); 402 if (u[4]) { 403 if (!_t.exec(u[4])) return void(e._isValid = !1); 404 a = "Z" 405 } 406 e._f = i + (r || "") + (a || ""), kt(e) 407 } else e._isValid = !1 408 } 409 var wt = /^(?:(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}))$/; 410 411 function Mt(e, t, n, s, i, r) { var a = [function(e) { var t = parseInt(e, 10); { if (t <= 49) return 2e3 + t; if (t <= 999) return 1900 + t } return t }(e), Re.indexOf(t), parseInt(n, 10), parseInt(s, 10), parseInt(i, 10)]; return r && a.push(parseInt(r, 10)), a } 412 var St = { UT: 0, GMT: 0, EDT: -240, EST: -300, CDT: -300, CST: -360, MDT: -360, MST: -420, PDT: -420, PST: -480 }; 413 414 function Dt(e) { 415 var t, n, s, i = wt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g, " ").replace(/(\s\s+)/g, " ").trim()); 416 if (i) { 417 var r = Mt(i[4], i[3], i[2], i[5], i[6], i[7]); 418 if (t = i[1], n = r, s = e, t && Ze.indexOf(t) !== new Date(n[0], n[1], n[2]).getDay() && (c(s).weekdayMismatch = !0, s._isValid = !1, 1)) return; 419 e._a = r, e._tzm = function(e, t, n) { 420 if (e) return St[e]; 421 if (t) return 0; 422 var s = parseInt(n, 10), 423 i = s % 100; 424 return (s - i) / 100 * 60 + i 425 }(i[8], i[9], i[10]), e._d = Ge.apply(null, e._a), e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), c(e).rfc2822 = !0 426 } else e._isValid = !1 427 } 428 429 function kt(e) { 430 if (e._f !== n.ISO_8601) 431 if (e._f !== n.RFC_2822) { 432 e._a = [], c(e).empty = !0; 433 var t, s, i, r, a, o, u, d, h = "" + e._i, 434 f = h.length, 435 m = 0; 436 for (i = j(e._f, e._locale).match(N) || [], t = 0; t < i.length; t++) r = i[t], (s = (h.match(le(r, e)) || [])[0]) && ((a = h.substr(0, h.indexOf(s))).length > 0 && c(e).unusedInput.push(a), h = h.slice(h.indexOf(s) + s.length), m += s.length), E[r] ? (s ? c(e).empty = !1 : c(e).unusedTokens.push(r), o = r, d = e, null != (u = s) && l(he, o) && he[o](u, d._a, d, o)) : e._strict && !s && c(e).unusedTokens.push(r); 437 c(e).charsLeftOver = f - m, h.length > 0 && c(e).unusedInput.push(h), e._a[ge] <= 12 && !0 === c(e).bigHour && e._a[ge] > 0 && (c(e).bigHour = void 0), c(e).parsedDateParts = e._a.slice(0), c(e).meridiem = e._meridiem, e._a[ge] = function(e, t, n) { var s; if (null == n) return t;
vendor: 5,285 bytes, lines 437-518
437 return null != e.meridiemHour ? e.meridiemHour(t, n) : null != e.isPM ? ((s = e.isPM(n)) && t < 12 && (t += 12), s || 12 !== t || (t = 0), t) : t }(e._locale, e._a[ge], e._meridiem), ct(e), dt(e) 438 } else Dt(e); 439 else vt(e) 440 } 441 442 function Yt(e) { 443 var t, l, h, _, g = e._i, 444 w = e._f; 445 return e._locale = e._locale || lt(e._l), null === g || void 0 === w && "" === g ? m({ nullInput: !0 }) : ("string" == typeof g && (e._i = g = e._locale.preparse(g)), v(g) ? new p(dt(g)) : (o(g) ? e._d = g : s(w) ? function(e) { 446 var t, n, s, i, r; 447 if (0 === e._f.length) return c(e).invalidFormat = !0, void(e._d = new Date(NaN)); 448 for (i = 0; i < e._f.length; i++) r = 0, t = y({}, e), null != e._useUTC && (t._useUTC = e._useUTC), t._f = e._f[i], kt(t), f(t) && (r += c(t).charsLeftOver, r += 10 * c(t).unusedTokens.length, c(t).score = r, (null == s || r < s) && (s = r, n = t)); 449 d(e, n || t) 450 }(e) : w ? kt(e) : r(l = (t = e)._i) ? t._d = new Date(n.now()) : o(l) ? t._d = new Date(l.valueOf()) : "string" == typeof l ? (h = t, null === (_ = pt.exec(h._i)) ? (vt(h), !1 === h._isValid && (delete h._isValid, Dt(h), !1 === h._isValid && (delete h._isValid, n.createFromInputFallback(h)))) : h._d = new Date(+_[1])) : s(l) ? (t._a = u(l.slice(0), function(e) { return parseInt(e, 10) }), ct(t)) : i(l) ? function(e) { 451 if (!e._d) { 452 var t = C(e._i); 453 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) }), ct(e) 454 } 455 }(t) : a(l) ? t._d = new Date(l) : n.createFromInputFallback(t), f(e) || (e._d = null), e)) 456 } 457 458 function Ot(e, t, n, r, a) { 459 var o, u = {}; 460 return !0 !== n && !1 !== n || (r = n, n = void 0), (i(e) && function(e) { 461 if (Object.getOwnPropertyNames) return 0 === Object.getOwnPropertyNames(e).length; 462 var t; 463 for (t in e) 464 if (e.hasOwnProperty(t)) return !1; 465 return !0 466 }(e) || s(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 = r, (o = new p(dt(Yt(u))))._nextDay && (o.add(1, "d"), o._nextDay = void 0), o 467 } 468 469 function Tt(e, t, n, s) { return Ot(e, t, n, s, !1) } 470 n.createFromInputFallback = k("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" : "")) }), n.ISO_8601 = function() {}, n.RFC_2822 = function() {}; 471 var xt = k("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/", function() { var e = Tt.apply(null, arguments); return this.isValid() && e.isValid() ? e < this ? this : e : m() }), 472 bt = k("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/", function() { var e = Tt.apply(null, arguments); return this.isValid() && e.isValid() ? e > this ? this : e : m() }); 473 474 function Pt(e, t) { var n, i; if (1 === t.length && s(t[0]) && (t = t[0]), !t.length) return Tt(); for (n = t[0], i = 1; i < t.length; ++i) t[i].isValid() && !t[i][e](n) || (n = t[i]); return n } 475 var Wt = ["year", "quarter", "month", "week", "day", "hour", "minute", "second", "millisecond"]; 476 477 function Ht(e) { 478 var t = C(e), 479 n = t.year || 0, 480 s = t.quarter || 0, 481 i = t.month || 0, 482 r = t.week || 0, 483 a = t.day || 0, 484 o = t.hour || 0, 485 u = t.minute || 0, 486 l = t.second || 0, 487 d = t.millisecond || 0; 488 this._isValid = function(e) { 489 for (var t in e) 490 if (-1 === Ye.call(Wt, t) || null != e[t] && isNaN(e[t])) return !1; 491 for (var n = !1, s = 0; s < Wt.length; ++s) 492 if (e[Wt[s]]) { 493 if (n) return !1; 494 parseFloat(e[Wt[s]]) !== M(e[Wt[s]]) && (n = !0) 495 } 496 return !0 497 }(t), this._milliseconds = +d + 1e3 * l + 6e4 * u + 1e3 * o * 60 * 60, this._days = +a + 7 * r, this._months = +i + 3 * s + 12 * n, this._data = {}, this._locale = lt(), this._bubble() 498 } 499 500 function Rt(e) { return e instanceof Ht } 501 502 function Ct(e) { return e < 0 ? -1 * Math.round(-1 * e) : Math.round(e) } 503 504 function Ft(e, t) { 505 I(e, 0, 0, function() { 506 var e = this.utcOffset(), 507 n = "+"; 508 return e < 0 && (e = -e, n = "-"), n + U(~~(e / 60), 2) + t + U(~~e % 60, 2) 509 }) 510 } 511 Ft("Z", ":"), Ft("ZZ", ""), ue("Z", re), ue("ZZ", re), ce(["Z", "ZZ"], function(e, t, n) { n._useUTC = !0, n._tzm = Ut(re, e) }); 512 var Lt = /([\+\-]|\d\d)/gi; 513 514 function Ut(e, t) { 515 var n = (t || "").match(e); 516 if (null === n) return null; 517 var s = ((n[n.length - 1] || []) + "").match(Lt) || ["-", 0, 0], 518 i = 60 * s[1] + M(s[2]);
vendor: 27,647 bytes, lines 519-750
519 return 0 === i ? 0 : "+" === s[0] ? i : -i 520 } 521 522 function Nt(e, t) { var s, i; return t._isUTC ? (s = t.clone(), i = (v(e) || o(e) ? e.valueOf() : Tt(e).valueOf()) - s.valueOf(), s._d.setTime(s._d.valueOf() + i), n.updateOffset(s, !1), s) : Tt(e).local() } 523 524 function Gt(e) { return 15 * -Math.round(e._d.getTimezoneOffset() / 15) } 525 526 function Vt() { return !!this.isValid() && (this._isUTC && 0 === this._offset) } 527 n.updateOffset = function() {}; 528 var Et = /^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/, 529 It = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/; 530 531 function At(e, t) { 532 var n, s, i, r = e, 533 o = null; 534 return Rt(e) ? r = { ms: e._milliseconds, d: e._days, M: e._months } : a(e) ? (r = {}, t ? r[t] = e : r.milliseconds = e) : (o = Et.exec(e)) ? (n = "-" === o[1] ? -1 : 1, r = { y: 0, d: M(o[ye]) * n, h: M(o[ge]) * n, m: M(o[pe]) * n, s: M(o[ve]) * n, ms: M(Ct(1e3 * o[we])) * n }) : (o = It.exec(e)) ? (n = "-" === o[1] ? -1 : (o[1], 1), r = { y: jt(o[2], n), M: jt(o[3], n), w: jt(o[4], n), d: jt(o[5], n), h: jt(o[6], n), m: jt(o[7], n), s: jt(o[8], n) }) : null == r ? r = {} : "object" == typeof r && ("from" in r || "to" in r) && (i = function(e, t) { 535 var n; 536 if (!e.isValid() || !t.isValid()) return { milliseconds: 0, months: 0 }; 537 t = Nt(t, e), e.isBefore(t) ? n = Zt(e, t) : ((n = Zt(t, e)).milliseconds = -n.milliseconds, n.months = -n.months); 538 return n 539 }(Tt(r.from), Tt(r.to)), (r = {}).ms = i.milliseconds, r.M = i.months), s = new Ht(r), Rt(e) && l(e, "_locale") && (s._locale = e._locale), s 540 } 541 542 function jt(e, t) { var n = e && parseFloat(e.replace(",", ".")); return (isNaN(n) ? 0 : n) * t } 543 544 function Zt(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 } 545 546 function zt(e, t) { return function(n, s) { var i; return null === s || isNaN(+s) || (T(t, "moment()." + t + "(period, number) is deprecated. Please use moment()." + t + "(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."), i = n, n = s, s = i), $t(this, At(n = "string" == typeof n ? +n : n, s), e), this } } 547 548 function $t(e, t, s, i) { 549 var r = t._milliseconds, 550 a = Ct(t._days), 551 o = Ct(t._months); 552 e.isValid() && (i = null == i || i, o && Ce(e, xe(e, "Month") + o * s), a && be(e, "Date", xe(e, "Date") + a * s), r && e._d.setTime(e._d.valueOf() + r * s), i && n.updateOffset(e, a || o)) 553 } 554 At.fn = Ht.prototype, At.invalid = function() { return At(NaN) }; 555 var qt = zt(1, "add"), 556 Jt = zt(-1, "subtract"); 557 558 function Bt(e, t) { 559 var n = 12 * (t.year() - e.year()) + (t.month() - e.month()), 560 s = e.clone().add(n, "months"); 561 return -(n + (t - s < 0 ? (t - s) / (s - e.clone().add(n - 1, "months")) : (t - s) / (e.clone().add(n + 1, "months") - s))) || 0 562 } 563 564 function Qt(e) { var t; return void 0 === e ? this._locale._abbr : (null != (t = lt(e)) && (this._locale = t), this) } 565 n.defaultFormat = "YYYY-MM-DDTHH:mm:ssZ", n.defaultFormatUtc = "YYYY-MM-DDTHH:mm:ss[Z]"; 566 var Xt = k("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) }); 567 568 function Kt() { return this._locale } 569 570 function en(e, t) { I(0, [e, e.length], 0, t) } 571 572 function tn(e, t, n, s, i) { 573 var r; 574 return null == e ? Ie(this, s, i).year : (t > (r = Ae(e, s, i)) && (t = r), function(e, t, n, s, i) { 575 var r = Ee(e, t, n, s, i), 576 a = Ge(r.year, 0, r.dayOfYear); 577 return this.year(a.getUTCFullYear()), this.month(a.getUTCMonth()), this.date(a.getUTCDate()), this 578 }.call(this, e, t, n, s, i)) 579 } 580 I(0, ["gg", 2], 0, function() { return this.weekYear() % 100 }), I(0, ["GG", 2], 0, function() { return this.isoWeekYear() % 100 }), en("gggg", "weekYear"), en("ggggg", "weekYear"), en("GGGG", "isoWeekYear"), en("GGGGG", "isoWeekYear"), H("weekYear", "gg"), H("isoWeekYear", "GG"), L("weekYear", 1), L("isoWeekYear", 1), ue("G", se), ue("g", se), ue("GG", B, z), ue("gg", B, z), ue("GGGG", ee, q), ue("gggg", ee, q), ue("GGGGG", te, J), ue("ggggg", te, J), fe(["gggg", "ggggg", "GGGG", "GGGGG"], function(e, t, n, s) { t[s.substr(0, 2)] = M(e) }), fe(["gg", "GG"], function(e, t, s, i) { t[i] = n.parseTwoDigitYear(e) }), I("Q", 0, "Qo", "quarter"), H("quarter", "Q"), L("quarter", 7), ue("Q", Z), ce("Q", function(e, t) { t[_e] = 3 * (M(e) - 1) }), I("D", ["DD", 2], "Do", "date"), H("date", "D"), L("date", 9), ue("D", B), ue("DD", B, z), ue("Do", function(e, t) { return e ? t._dayOfMonthOrdinalParse || t._ordinalParse : t._dayOfMonthOrdinalParseLenient }), ce(["D", "DD"], ye), ce("Do", function(e, t) { t[ye] = M(e.match(B)[0]) }); 581 var nn = Te("Date", !0); 582 I("DDD", ["DDDD", 3], "DDDo", "dayOfYear"), H("dayOfYear", "DDD"), L("dayOfYear", 4), ue("DDD", K), ue("DDDD", $), ce(["DDD", "DDDD"], function(e, t, n) { n._dayOfYear = M(e) }), I("m", ["mm", 2], 0, "minute"), H("minute", "m"), L("minute", 14), ue("m", B), ue("mm", B, z), ce(["m", "mm"], pe); 583 var sn = Te("Minutes", !1); 584 I("s", ["ss", 2], 0, "second"), H("second", "s"), L("second", 15), ue("s", B), ue("ss", B, z), ce(["s", "ss"], ve); 585 var rn, an = Te("Seconds", !1); 586 for (I("S", 0, 0, function() { return ~~(this.millisecond() / 100) }), I(0, ["SS", 2], 0, function() { return ~~(this.millisecond() / 10) }), I(0, ["SSS", 3], 0, "millisecond"), I(0, ["SSSS", 4], 0, function() { return 10 * this.millisecond() }), I(0, ["SSSSS", 5], 0, function() { return 100 * this.millisecond() }), I(0, ["SSSSSS", 6], 0, function() { return 1e3 * this.millisecond() }), I(0, ["SSSSSSS", 7], 0, function() { return 1e4 * this.millisecond() }), I(0, ["SSSSSSSS", 8], 0, function() { return 1e5 * this.millisecond() }), I(0, ["SSSSSSSSS", 9], 0, function() { return 1e6 * this.millisecond() }), H("millisecond", "ms"), L("millisecond", 16), ue("S", K, Z), ue("SS", K, z), ue("SSS", K, $), rn = "SSSS"; rn.length <= 9; rn += "S") ue(rn, ne); 587 588 function on(e, t) { t[we] = M(1e3 * ("0." + e)) } 589 for (rn = "S"; rn.length <= 9; rn += "S") ce(rn, on); 590 var un = Te("Milliseconds", !1); 591 I("z", 0, 0, "zoneAbbr"), I("zz", 0, 0, "zoneName"); 592 var ln = p.prototype; 593 594 function dn(e) { return e } 595 ln.add = qt, ln.calendar = function(e, t) { 596 var s = e || Tt(), 597 i = Nt(s, this).startOf("day"), 598 r = n.calendarFormat(this, i) || "sameElse", 599 a = t && (x(t[r]) ? t[r].call(this, s) : t[r]); 600 return this.format(a || this.localeData().calendar(r, this, Tt(s))) 601 }, ln.clone = function() { return new p(this) }, ln.diff = function(e, t, n) { 602 var s, i, r; 603 if (!this.isValid()) return NaN; 604 if (!(s = Nt(e, this)).isValid()) return NaN; 605 switch (i = 6e4 * (s.utcOffset() - this.utcOffset()), t = R(t)) { 606 case "year": 607 r = Bt(this, s) / 12; 608 break; 609 case "month": 610 r = Bt(this, s); 611 break; 612 case "quarter": 613 r = Bt(this, s) / 3; 614 break; 615 case "second": 616 r = (this - s) / 1e3; 617 break; 618 case "minute": 619 r = (this - s) / 6e4; 620 break; 621 case "hour": 622 r = (this - s) / 36e5; 623 break; 624 case "day": 625 r = (this - s - i) / 864e5; 626 break; 627 case "week": 628 r = (this - s - i) / 6048e5; 629 break; 630 default: 631 r = this - s 632 } 633 return n ? r : w(r) 634 }, ln.endOf = function(e) { return void 0 === (e = R(e)) || "millisecond" === e ? this : ("date" === e && (e = "day"), this.startOf(e).add(1, "isoWeek" === e ? "week" : e).subtract(1, "ms")) }, ln.format = function(e) { e || (e = this.isUtc() ? n.defaultFormatUtc : n.defaultFormat); var t = A(this, e); return this.localeData().postformat(t) }, ln.from = function(e, t) { return this.isValid() && (v(e) && e.isValid() || Tt(e).isValid()) ? At({ to: this, from: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate() }, ln.fromNow = function(e) { return this.from(Tt(), e) }, ln.to = function(e, t) { return this.isValid() && (v(e) && e.isValid() || Tt(e).isValid()) ? At({ from: this, to: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate() }, ln.toNow = function(e) { return this.to(Tt(), e) }, ln.get = function(e) { return x(this[e = R(e)]) ? this[e]() : this }, ln.invalidAt = function() { return c(this).overflow }, ln.isAfter = function(e, t) { var n = v(e) ? e : Tt(e); return !(!this.isValid() || !n.isValid()) && ("millisecond" === (t = R(r(t) ? "millisecond" : t)) ? this.valueOf() > n.valueOf() : n.valueOf() < this.clone().startOf(t).valueOf()) }, ln.isBefore = function(e, t) { var n = v(e) ? e : Tt(e); return !(!this.isValid() || !n.isValid()) && ("millisecond" === (t = R(r(t) ? "millisecond" : t)) ? this.valueOf() < n.valueOf() : this.clone().endOf(t).valueOf() < n.valueOf()) }, ln.isBetween = function(e, t, n, s) { return ("(" === (s = s || "()")[0] ? this.isAfter(e, n) : !this.isBefore(e, n)) && (")" === s[1] ? this.isBefore(t, n) : !this.isAfter(t, n)) }, ln.isSame = function(e, t) { var n, s = v(e) ? e : Tt(e); return !(!this.isValid() || !s.isValid()) && ("millisecond" === (t = R(t || "millisecond")) ? this.valueOf() === s.valueOf() : (n = s.valueOf(), this.clone().startOf(t).valueOf() <= n && n <= this.clone().endOf(t).valueOf())) }, ln.isSameOrAfter = function(e, t) { return this.isSame(e, t) || this.isAfter(e, t) }, ln.isSameOrBefore = function(e, t) { return this.isSame(e, t) || this.isBefore(e, t) }, ln.isValid = function() { return f(this) }, ln.lang = Xt, ln.locale = Qt, ln.localeData = Kt, ln.max = bt, ln.min = xt, ln.parsingFlags = function() { return d({}, c(this)) }, ln.set = function(e, t) { 635 if ("object" == typeof e) 636 for (var n = function(e) { var t = []; for (var n in e) t.push({ unit: n, priority: F[n] }); return t.sort(function(e, t) { return e.priority - t.priority }), t }(e = C(e)), s = 0; s < n.length; s++) this[n[s].unit](e[n[s].unit]); 637 else if (x(this[e = R(e)])) return this[e](t); 638 return this 639 }, ln.startOf = function(e) { 640 switch (e = R(e)) { 641 case "year": 642 this.month(0); 643 case "quarter": 644 case "month": 645 this.date(1); 646 case "week": 647 case "isoWeek": 648 case "day": 649 case "date": 650 this.hours(0); 651 case "hour": 652 this.minutes(0); 653 case "minute": 654 this.seconds(0); 655 case "second": 656 this.milliseconds(0) 657 } 658 return "week" === e && this.weekday(0), "isoWeek" === e && this.isoWeekday(1), "quarter" === e && this.month(3 * Math.floor(this.month() / 3)), this 659 }, ln.subtract = Jt, ln.toArray = function() { var e = this; return [e.year(), e.month(), e.date(), e.hour(), e.minute(), e.second(), e.millisecond()] }, ln.toObject = function() { 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() } }, ln.toDate = function() { return new Date(this.valueOf()) }, ln.toISOString = function(e) { 660 if (!this.isValid()) return null; 661 var t = !0 !== e, 662 n = t ? this.clone().utc() : this; 663 return n.year() < 0 || n.year() > 9999 ? A(n, t ? "YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYYYY-MM-DD[T]HH:mm:ss.SSSZ") : x(Date.prototype.toISOString) ? t ? this.toDate().toISOString() : new Date(this.valueOf() + 60 * this.utcOffset() * 1e3).toISOString().replace("Z", A(n, "Z")) : A(n, t ? "YYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYY-MM-DD[T]HH:mm:ss.SSSZ") 664 }, ln.inspect = function() { 665 if (!this.isValid()) return "moment.invalid(/* " + this._i + " */)"; 666 var e = "moment", 667 t = ""; 668 this.isLocal() || (e = 0 === this.utcOffset() ? "moment.utc" : "moment.parseZone", t = "Z"); 669 var n = "[" + e + '("]', 670 s = 0 <= this.year() && this.year() <= 9999 ? "YYYY" : "YYYYYY", 671 i = t + '[")]'; 672 return this.format(n + s + "-MM-DD[T]HH:mm:ss.SSS" + i) 673 }, ln.toJSON = function() { return this.isValid() ? this.toISOString() : null }, ln.toString = function() { return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ") }, ln.unix = function() { return Math.floor(this.valueOf() / 1e3) }, ln.valueOf = function() { return this._d.valueOf() - 6e4 * (this._offset || 0) }, ln.creationData = function() { return { input: this._i, format: this._f, locale: this._locale, isUTC: this._isUTC, strict: this._strict } }, ln.year = Oe, ln.isLeapYear = function() { return ke(this.year()) }, ln.weekYear = function(e) { return tn.call(this, e, this.week(), this.weekday(), this.localeData()._week.dow, this.localeData()._week.doy) }, ln.isoWeekYear = function(e) { return tn.call(this, e, this.isoWeek(), this.isoWeekday(), 1, 4) }, ln.quarter = ln.quarters = function(e) { return null == e ? Math.ceil((this.month() + 1) / 3) : this.month(3 * (e - 1) + this.month() % 3) }, ln.month = Fe, ln.daysInMonth = function() { return Pe(this.year(), this.month()) }, ln.week = ln.weeks = function(e) { var t = this.localeData().week(this); return null == e ? t : this.add(7 * (e - t), "d") }, ln.isoWeek = ln.isoWeeks = function(e) { var t = Ie(this, 1, 4).week; return null == e ? t : this.add(7 * (e - t), "d") }, ln.weeksInYear = function() { var e = this.localeData()._week; return Ae(this.year(), e.dow, e.doy) }, ln.isoWeeksInYear = function() { return Ae(this.year(), 1, 4) }, ln.date = nn, ln.day = ln.days = function(e) { if (!this.isValid()) return null != e ? this : NaN; var t, n, s = this._isUTC ? this._d.getUTCDay() : this._d.getDay(); return null != e ? (t = e, n = this.localeData(), e = "string" != typeof t ? t : isNaN(t) ? "number" == typeof(t = n.weekdaysParse(t)) ? t : null : parseInt(t, 10), this.add(e - s, "d")) : s }, ln.weekday = function(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") }, ln.isoWeekday = function(e) { if (!this.isValid()) return null != e ? this : NaN; if (null != e) { var t = (n = e, s = this.localeData(), "string" == typeof n ? s.weekdaysParse(n) % 7 || 7 : isNaN(n) ? null : n); return this.day(this.day() % 7 ? t : t - 7) } return this.day() || 7; var n, s }, ln.dayOfYear = function(e) { var t = Math.round((this.clone().startOf("day") - this.clone().startOf("year")) / 864e5) + 1; return null == e ? t : this.add(e - t, "d") }, ln.hour = ln.hours = tt, ln.minute = ln.minutes = sn, ln.second = ln.seconds = an, ln.millisecond = ln.milliseconds = un, ln.utcOffset = function(e, t, s) { var i, r = this._offset || 0; if (!this.isValid()) return null != e ? this : NaN; if (null != e) { if ("string" == typeof e) { if (null === (e = Ut(re, e))) return this } else Math.abs(e) < 16 && !s && (e *= 60); return !this._isUTC && t && (i = Gt(this)), this._offset = e, this._isUTC = !0, null != i && this.add(i, "m"), r !== e && (!t || this._changeInProgress ? $t(this, At(e - r, "m"), 1, !1) : this._changeInProgress || (this._changeInProgress = !0, n.updateOffset(this, !0), this._changeInProgress = null)), this } return this._isUTC ? r : Gt(this) }, ln.utc = function(e) { return this.utcOffset(0, e) }, ln.local = function(e) { return this._isUTC && (this.utcOffset(0, e), this._isUTC = !1, e && this.subtract(Gt(this), "m")), this }, ln.parseZone = function() { 674 if (null != this._tzm) this.utcOffset(this._tzm, !1, !0); 675 else if ("string" == typeof this._i) { 676 var e = Ut(ie, this._i); 677 null != e ? this.utcOffset(e) : this.utcOffset(0, !0) 678 } 679 return this 680 }, ln.hasAlignedHourOffset = function(e) { return !!this.isValid() && (e = e ? Tt(e).utcOffset() : 0, (this.utcOffset() - e) % 60 == 0) }, ln.isDST = function() { return this.utcOffset() > this.clone().month(0).utcOffset() || this.utcOffset() > this.clone().month(5).utcOffset() }, ln.isLocal = function() { return !!this.isValid() && !this._isUTC }, ln.isUtcOffset = function() { return !!this.isValid() && this._isUTC }, ln.isUtc = Vt, ln.isUTC = Vt, ln.zoneAbbr = function() { return this._isUTC ? "UTC" : "" }, ln.zoneName = function() { return this._isUTC ? "Coordinated Universal Time" : "" }, ln.dates = k("dates accessor is deprecated. Use date instead.", nn), ln.months = k("months accessor is deprecated. Use month instead", Fe), ln.years = k("years accessor is deprecated. Use year instead", Oe), ln.zone = k("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/", function(e, t) { return null != e ? ("string" != typeof e && (e = -e), this.utcOffset(e, t), this) : -this.utcOffset() }), ln.isDSTShifted = k("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information", function() { 681 if (!r(this._isDSTShifted)) return this._isDSTShifted; 682 var e = {}; 683 if (y(e, this), (e = Yt(e))._a) { 684 var t = e._isUTC ? h(e._a) : Tt(e._a); 685 this._isDSTShifted = this.isValid() && S(e._a, t.toArray()) > 0 686 } else this._isDSTShifted = !1; 687 return this._isDSTShifted 688 }); 689 var hn = P.prototype; 690 691 function cn(e, t, n, s) { 692 var i = lt(), 693 r = h().set(s, t); 694 return i[n](r, e) 695 } 696 697 function fn(e, t, n) { if (a(e) && (t = e, e = void 0), e = e || "", null != t) return cn(e, t, n, "month"); var s, i = []; for (s = 0; s < 12; s++) i[s] = cn(e, s, n, "month"); return i } 698 699 function mn(e, t, n, s) { 700 "boolean" == typeof e ? (a(t) && (n = t, t = void 0), t = t || "") : (n = t = e, e = !1, a(t) && (n = t, t = void 0), t = t || ""); 701 var i, r = lt(), 702 o = e ? r._week.dow : 0; 703 if (null != n) return cn(t, (n + o) % 7, s, "day"); 704 var u = []; 705 for (i = 0; i < 7; i++) u[i] = cn(t, (i + o) % 7, s, "day"); 706 return u 707 } 708 hn.calendar = function(e, t, n) { var s = this._calendar[e] || this._calendar.sameElse; return x(s) ? s.call(t, n) : s }, hn.longDateFormat = function(e) { 709 var t = this._longDateFormat[e], 710 n = this._longDateFormat[e.toUpperCase()]; 711 return t || !n ? t : (this._longDateFormat[e] = n.replace(/MMMM|MM|DD|dddd/g, function(e) { return e.slice(1) }), this._longDateFormat[e]) 712 }, hn.invalidDate = function() { return this._invalidDate }, hn.ordinal = function(e) { return this._ordinal.replace("%d", e) }, hn.preparse = dn, hn.postformat = dn, hn.relativeTime = function(e, t, n, s) { var i = this._relativeTime[n]; return x(i) ? i(e, t, n, s) : i.replace(/%d/i, e) }, hn.pastFuture = function(e, t) { var n = this._relativeTime[e > 0 ? "future" : "past"]; return x(n) ? n(t) : n.replace(/%s/i, t) }, hn.set = function(e) { 713 var t, n; 714 for (n in e) x(t = e[n]) ? this[n] = t : this["_" + n] = t; 715 this._config = e, this._dayOfMonthOrdinalParseLenient = new RegExp((this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + "|" + /\d{1,2}/.source) 716 }, hn.months = function(e, t) { return e ? s(this._months) ? this._months[e.month()] : this._months[(this._months.isFormat || We).test(t) ? "format" : "standalone"][e.month()] : s(this._months) ? this._months : this._months.standalone }, hn.monthsShort = function(e, t) { return e ? s(this._monthsShort) ? this._monthsShort[e.month()] : this._monthsShort[We.test(t) ? "format" : "standalone"][e.month()] : s(this._monthsShort) ? this._monthsShort : this._monthsShort.standalone }, hn.monthsParse = function(e, t, n) { 717 var s, i, r; 718 if (this._monthsParseExact) return function(e, t, n) { 719 var s, i, r, a = e.toLocaleLowerCase(); 720 if (!this._monthsParse) 721 for (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = [], s = 0; s < 12; ++s) r = h([2e3, s]), this._shortMonthsParse[s] = this.monthsShort(r, "").toLocaleLowerCase(), this._longMonthsParse[s] = this.months(r, "").toLocaleLowerCase(); 722 return n ? "MMM" === t ? -1 !== (i = Ye.call(this._shortMonthsParse, a)) ? i : null : -1 !== (i = Ye.call(this._longMonthsParse, a)) ? i : null : "MMM" === t ? -1 !== (i = Ye.call(this._shortMonthsParse, a)) ? i : -1 !== (i = Ye.call(this._longMonthsParse, a)) ? i : null : -1 !== (i = Ye.call(this._longMonthsParse, a)) ? i : -1 !== (i = Ye.call(this._shortMonthsParse, a)) ? i : null 723 }.call(this, e, t, n); 724 for (this._monthsParse || (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = []), s = 0; s < 12; s++) { if (i = h([2e3, s]), n && !this._longMonthsParse[s] && (this._longMonthsParse[s] = new RegExp("^" + this.months(i, "").replace(".", "") + "$", "i"), this._shortMonthsParse[s] = new RegExp("^" + this.monthsShort(i, "").replace(".", "") + "$", "i")), n || this._monthsParse[s] || (r = "^" + this.months(i, "") + "|^" + this.monthsShort(i, ""), this._monthsParse[s] = new RegExp(r.replace(".", ""), "i")), n && "MMMM" === t && this._longMonthsParse[s].test(e)) return s; if (n && "MMM" === t && this._shortMonthsParse[s].test(e)) return s; if (!n && this._monthsParse[s].test(e)) return s } 725 }, hn.monthsRegex = function(e) { return this._monthsParseExact ? (l(this, "_monthsRegex") || Ne.call(this), e ? this._monthsStrictRegex : this._monthsRegex) : (l(this, "_monthsRegex") || (this._monthsRegex = Ue), this._monthsStrictRegex && e ? this._monthsStrictRegex : this._monthsRegex) }, hn.monthsShortRegex = function(e) { return this._monthsParseExact ? (l(this, "_monthsRegex") || Ne.call(this), e ? this._monthsShortStrictRegex : this._monthsShortRegex) : (l(this, "_monthsShortRegex") || (this._monthsShortRegex = Le), this._monthsShortStrictRegex && e ? this._monthsShortStrictRegex : this._monthsShortRegex) }, hn.week = function(e) { return Ie(e, this._week.dow, this._week.doy).week }, hn.firstDayOfYear = function() { return this._week.doy }, hn.firstDayOfWeek = function() { return this._week.dow }, hn.weekdays = function(e, t) { return e ? s(this._weekdays) ? this._weekdays[e.day()] : this._weekdays[this._weekdays.isFormat.test(t) ? "format" : "standalone"][e.day()] : s(this._weekdays) ? this._weekdays : this._weekdays.standalone }, hn.weekdaysMin = function(e) { return e ? this._weekdaysMin[e.day()] : this._weekdaysMin }, hn.weekdaysShort = function(e) { return e ? this._weekdaysShort[e.day()] : this._weekdaysShort }, hn.weekdaysParse = function(e, t, n) { 726 var s, i, r; 727 if (this._weekdaysParseExact) return function(e, t, n) { 728 var s, i, r, a = e.toLocaleLowerCase(); 729 if (!this._weekdaysParse) 730 for (this._weekdaysParse = [], this._shortWeekdaysParse = [], this._minWeekdaysParse = [], s = 0; s < 7; ++s) r = h([2e3, 1]).day(s), this._minWeekdaysParse[s] = this.weekdaysMin(r, "").toLocaleLowerCase(), this._shortWeekdaysParse[s] = this.weekdaysShort(r, "").toLocaleLowerCase(), this._weekdaysParse[s] = this.weekdays(r, "").toLocaleLowerCase(); 731 return n ? "dddd" === t ? -1 !== (i = Ye.call(this._weekdaysParse, a)) ? i : null : "ddd" === t ? -1 !== (i = Ye.call(this._shortWeekdaysParse, a)) ? i : null : -1 !== (i = Ye.call(this._minWeekdaysParse, a)) ? i : null : "dddd" === t ? -1 !== (i = Ye.call(this._weekdaysParse, a)) ? i : -1 !== (i = Ye.call(this._shortWeekdaysParse, a)) ? i : -1 !== (i = Ye.call(this._minWeekdaysParse, a)) ? i : null : "ddd" === t ? -1 !== (i = Ye.call(this._shortWeekdaysParse, a)) ? i : -1 !== (i = Ye.call(this._weekdaysParse, a)) ? i : -1 !== (i = Ye.call(this._minWeekdaysParse, a)) ? i : null : -1 !== (i = Ye.call(this._minWeekdaysParse, a)) ? i : -1 !== (i = Ye.call(this._weekdaysParse, a)) ? i : -1 !== (i = Ye.call(this._shortWeekdaysParse, a)) ? i : null 732 }.call(this, e, t, n); 733 for (this._weekdaysParse || (this._weekdaysParse = [], this._minWeekdaysParse = [], this._shortWeekdaysParse = [], this._fullWeekdaysParse = []), s = 0; s < 7; s++) { if (i = h([2e3, 1]).day(s), n && !this._fullWeekdaysParse[s] && (this._fullWeekdaysParse[s] = new RegExp("^" + this.weekdays(i, "").replace(".", ".?") + "$", "i"), this._shortWeekdaysParse[s] = new RegExp("^" + this.weekdaysShort(i, "").replace(".", ".?") + "$", "i"), this._minWeekdaysParse[s] = new RegExp("^" + this.weekdaysMin(i, "").replace(".", ".?") + "$", "i")), this._weekdaysParse[s] || (r = "^" + this.weekdays(i, "") + "|^" + this.weekdaysShort(i, "") + "|^" + this.weekdaysMin(i, ""), this._weekdaysParse[s] = new RegExp(r.replace(".", ""), "i")), n && "dddd" === t && this._fullWeekdaysParse[s].test(e)) return s; if (n && "ddd" === t && this._shortWeekdaysParse[s].test(e)) return s; if (n && "dd" === t && this._minWeekdaysParse[s].test(e)) return s; if (!n && this._weekdaysParse[s].test(e)) return s } 734 }, hn.weekdaysRegex = function(e) { return this._weekdaysParseExact ? (l(this, "_weekdaysRegex") || Be.call(this), e ? this._weekdaysStrictRegex : this._weekdaysRegex) : (l(this, "_weekdaysRegex") || (this._weekdaysRegex = $e), this._weekdaysStrictRegex && e ? this._weekdaysStrictRegex : this._weekdaysRegex) }, hn.weekdaysShortRegex = function(e) { return this._weekdaysParseExact ? (l(this, "_weekdaysRegex") || Be.call(this), e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) : (l(this, "_weekdaysShortRegex") || (this._weekdaysShortRegex = qe), this._weekdaysShortStrictRegex && e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) }, hn.weekdaysMinRegex = function(e) { return this._weekdaysParseExact ? (l(this, "_weekdaysRegex") || Be.call(this), e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (l(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex = Je), this._weekdaysMinStrictRegex && e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) }, hn.isPM = function(e) { return "p" === (e + "").toLowerCase().charAt(0) }, hn.meridiem = function(e, t, n) { return e > 11 ? n ? "pm" : "PM" : n ? "am" : "AM" }, ot("en", { dayOfMonthOrdinalParse: /\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") } }), n.lang = k("moment.lang is deprecated. Use moment.locale instead.", ot), n.langData = k("moment.langData is deprecated. Use moment.localeData instead.", lt); 735 var _n = Math.abs; 736 737 function yn(e, t, n, s) { var i = At(t, n); return e._milliseconds += s * i._milliseconds, e._days += s * i._days, e._months += s * i._months, e._bubble() } 738 739 function gn(e) { return e < 0 ? Math.floor(e) : Math.ceil(e) } 740 741 function pn(e) { return 4800 * e / 146097 } 742 743 function vn(e) { return 146097 * e / 4800 } 744 745 function wn(e) { return function() { return this.as(e) } } 746 var Mn = wn("ms"), 747 Sn = wn("s"), 748 Dn = wn("m"), 749 kn = wn("h"), 750 Yn = wn("d"),
vendor: 6,615 bytes, lines 751-827
751 On = wn("w"), 752 Tn = wn("M"), 753 xn = wn("y"); 754 755 function bn(e) { return function() { return this.isValid() ? this._data[e] : NaN } } 756 var Pn = bn("milliseconds"), 757 Wn = bn("seconds"), 758 Hn = bn("minutes"), 759 Rn = bn("hours"), 760 Cn = bn("days"), 761 Fn = bn("months"), 762 Ln = bn("years"); 763 var Un = Math.round, 764 Nn = { ss: 44, s: 45, m: 45, h: 22, d: 26, M: 11 }; 765 var Gn = Math.abs; 766 767 function Vn(e) { return (e > 0) - (e < 0) || +e } 768 769 function En() { 770 if (!this.isValid()) return this.localeData().invalidDate(); 771 var e, t, n = Gn(this._milliseconds) / 1e3, 772 s = Gn(this._days), 773 i = Gn(this._months); 774 t = w((e = w(n / 60)) / 60), n %= 60, e %= 60; 775 var r = w(i / 12), 776 a = i %= 12, 777 o = s, 778 u = t, 779 l = e, 780 d = n ? n.toFixed(3).replace(/\.?0+$/, "") : "", 781 h = this.asSeconds(); 782 if (!h) return "P0D"; 783 var c = h < 0 ? "-" : "", 784 f = Vn(this._months) !== Vn(h) ? "-" : "", 785 m = Vn(this._days) !== Vn(h) ? "-" : "", 786 _ = Vn(this._milliseconds) !== Vn(h) ? "-" : ""; 787 return c + "P" + (r ? f + r + "Y" : "") + (a ? f + a + "M" : "") + (o ? m + o + "D" : "") + (u || l || d ? "T" : "") + (u ? _ + u + "H" : "") + (l ? _ + l + "M" : "") + (d ? _ + d + "S" : "") 788 } 789 var In = Ht.prototype; 790 return In.isValid = function() { return this._isValid }, In.abs = function() { var e = this._data; return this._milliseconds = _n(this._milliseconds), this._days = _n(this._days), this._months = _n(this._months), e.milliseconds = _n(e.milliseconds), e.seconds = _n(e.seconds), e.minutes = _n(e.minutes), e.hours = _n(e.hours), e.months = _n(e.months), e.years = _n(e.years), this }, In.add = function(e, t) { return yn(this, e, t, 1) }, In.subtract = function(e, t) { return yn(this, e, t, -1) }, In.as = function(e) { 791 if (!this.isValid()) return NaN; 792 var t, n, s = this._milliseconds; 793 if ("month" === (e = R(e)) || "year" === e) return t = this._days + s / 864e5, n = this._months + pn(t), "month" === e ? n : n / 12; 794 switch (t = this._days + Math.round(vn(this._months)), e) { 795 case "week": 796 return t / 7 + s / 6048e5; 797 case "day": 798 return t + s / 864e5; 799 case "hour": 800 return 24 * t + s / 36e5; 801 case "minute": 802 return 1440 * t + s / 6e4; 803 case "second": 804 return 86400 * t + s / 1e3; 805 case "millisecond": 806 return Math.floor(864e5 * t) + s; 807 default: 808 throw new Error("Unknown unit " + e) 809 } 810 }, In.asMilliseconds = Mn, In.asSeconds = Sn, In.asMinutes = Dn, In.asHours = kn, In.asDays = Yn, In.asWeeks = On, In.asMonths = Tn, In.asYears = xn, In.valueOf = function() { return this.isValid() ? this._milliseconds + 864e5 * this._days + this._months % 12 * 2592e6 + 31536e6 * M(this._months / 12) : NaN }, In._bubble = function() { 811 var e, t, n, s, i, r = this._milliseconds, 812 a = this._days, 813 o = this._months, 814 u = this._data; 815 return r >= 0 && a >= 0 && o >= 0 || r <= 0 && a <= 0 && o <= 0 || (r += 864e5 * gn(vn(o) + a), a = 0, o = 0), u.milliseconds = r % 1e3, e = w(r / 1e3), u.seconds = e % 60, t = w(e / 60), u.minutes = t % 60, n = w(t / 60), u.hours = n % 24, o += i = w(pn(a += w(n / 24))), a -= gn(vn(i)), s = w(o / 12), o %= 12, u.days = a, u.months = o, u.years = s, this 816 }, In.clone = function() { return At(this) }, In.get = function(e) { return e = R(e), this.isValid() ? this[e + "s"]() : NaN }, In.milliseconds = Pn, In.seconds = Wn, In.minutes = Hn, In.hours = Rn, In.days = Cn, In.weeks = function() { return w(this.days() / 7) }, In.months = Fn, In.years = Ln, In.humanize = function(e) { 817 if (!this.isValid()) return this.localeData().invalidDate(); 818 var t, n, s, i, r, a, o, u, l, d, h, c = this.localeData(), 819 f = (n = !e, s = c, i = At(t = this).abs(), r = Un(i.as("s")), a = Un(i.as("m")), o = Un(i.as("h")), u = Un(i.as("d")), l = Un(i.as("M")), d = Un(i.as("y")), (h = r <= Nn.ss && ["s", r] || r < Nn.s && ["ss", r] || a <= 1 && ["m"] || a < Nn.m && ["mm", a] || o <= 1 && ["h"] || o < Nn.h && ["hh", o] || u <= 1 && ["d"] || u < Nn.d && ["dd", u] || l <= 1 && ["M"] || l < Nn.M && ["MM", l] || d <= 1 && ["y"] || ["yy", d])[2] = n, h[3] = +t > 0, h[4] = s, function(e, t, n, s, i) { return i.relativeTime(t || 1, !!n, e, s) }.apply(null, h)); 820 return e && (f = c.pastFuture(+this, f)), c.postformat(f) 821 }, In.toISOString = En, In.toString = En, In.toJSON = En, In.locale = Qt, In.localeData = Kt, In.toIsoString = k("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)", En), In.lang = Xt, I("X", 0, 0, "unix"), I("x", 0, 0, "valueOf"), ue("x", se), ue("X", /[+-]?\d+(\.\d{1,3})?/), ce("X", function(e, t, n) { n._d = new Date(1e3 * parseFloat(e, 10)) }), ce("x", function(e, t, n) { n._d = new Date(M(e)) }), n.version = "2.21.0", e = Tt, n.fn = ln, n.min = function() { return Pt("isBefore", [].slice.call(arguments, 0)) }, n.max = function() { return Pt("isAfter", [].slice.call(arguments, 0)) }, n.now = function() { return Date.now ? Date.now() : +new Date }, n.utc = h, n.unix = function(e) { return Tt(1e3 * e) }, n.months = function(e, t) { return fn(e, t, "months") }, n.isDate = o, n.locale = ot, n.invalid = m, n.duration = At, n.isMoment = v, n.weekdays = function(e, t, n) { return mn(e, t, n, "weekdays") }, n.parseZone = function() { return Tt.apply(null, arguments).parseZone() }, n.localeData = lt, n.isDuration = Rt, n.monthsShort = function(e, t) { return fn(e, t, "monthsShort") }, n.weekdaysMin = function(e, t, n) { return mn(e, t, n, "weekdaysMin") }, n.defineLocale = ut, n.updateLocale = function(e, t) { 822 if (null != t) { 823 var n, s, i = nt; 824 null != (s = at(e)) && (i = s._config), (n = new P(t = b(i, t))).parentLocale = st[e], st[e] = n, ot(e) 825 } else null != st[e] && (null != st[e].parentLocale ? st[e] = st[e].parentLocale : null != st[e] && delete st[e]); 826 return st[e] 827 }, n.locales = function() { return Y(st) }, n.weekdaysShort = function(e, t, n) { return mn(e, t, n, "weekdaysShort") }, n.normalizeUnits = R, n.relativeTimeRounding = function(e) { return void 0 === e ? Un : "function" == typeof e && (Un = e, !0) }, n.relativeTimeThreshold = function(e, t) { return void 0 !== Nn[e] && (void 0 === t ? Nn[e]
vendor: 559 bytes, lines 827-828
827: (Nn[e] = t, "s" === e && (Nn.ss = t - 1), !0)) }, n.calendarFormat = function(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" }, n.prototype = ln, n.HTML5_FMT = { DATETIME_LOCAL: "YYYY-MM-DDTHH:mm", DATETIME_LOCAL_SECONDS: "YYYY-MM-DDTHH:mm:ss", DATETIME_LOCAL_MS: "YYYY-MM-DDTHH:mm:ss.SSS", DATE: "YYYY-MM-DD", TIME: "HH:mm", TIME_SECONDS: "HH:mm:ss", TIME_MS: "HH:mm:ss.SSS", WEEK: "YYYY-[W]WW", MONTH: "YYYY-MM" }, n 828});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.