PageSourceSearch

https://mythainguyen.vn/Scripts/moment.min.js

js mythainguyen.vn collected 2026-09-24 10:18:10 UTC 549,544 bytes, 14,765 lines download raw bytes

vendor: 6,401 bytes, lines 1-221
1; (function (global, factory) {
2    typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
3        typeof define === 'function' && define.amd ? define(factory) :
4            global.moment = factory()
5}(this, (function () {
6    'use strict';
7
8    var hookCallback;
9
10    function hooks() {
11        return hookCallback.apply(null, arguments);
12    }
13
14    // This is done to register the method called with moment()
15    // without creating circular dependencies.
16    function setHookCallback(callback) {
17        hookCallback = callback;
18    }
19
20    function isArray(input) {
21        return input instanceof Array || Object.prototype.toString.call(input) === '[object Array]';
22    }
23
24    function isObject(input) {
25        // IE8 will treat undefined and null as object if it wasn't for
26        // input != null
27        return input != null && Object.prototype.toString.call(input) === '[object Object]';
28    }
29
30    function isObjectEmpty(obj) {
31        if (Object.getOwnPropertyNames) {
32            return (Object.getOwnPropertyNames(obj).length === 0);
33        } else {
34            var k;
35            for (k in obj) {
36                if (obj.hasOwnProperty(k)) {
37                    return false;
38                }
39            }
40            return true;
41        }
42    }
43
44    function isUndefined(input) {
45        return input === void 0;
46    }
47
48    function isNumber(input) {
49        return typeof input === 'number' || Object.prototype.toString.call(input) === '[object Number]';
50    }
51
52    function isDate(input) {
53        return input instanceof Date || Object.prototype.toString.call(input) === '[object Date]';
54    }
55
56    function map(arr, fn) {
57        var res = [], i;
58        for (i = 0; i < arr.length; ++i) {
59            res.push(fn(arr[i], i));
60        }
61        return res;
62    }
63
64    function hasOwnProp(a, b) {
65        return Object.prototype.hasOwnProperty.call(a, b);
66    }
67
68    function extend(a, b) {
69        for (var i in b) {
70            if (hasOwnProp(b, i)) {
71                a[i] = b[i];
72            }
73        }
74
75        if (hasOwnProp(b, 'toString')) {
76            a.toString = b.toString;
77        }
78
79        if (hasOwnProp(b, 'valueOf')) {
80            a.valueOf = b.valueOf;
81        }
82
83        return a;
84    }
85
86    function createUTC(input, format, locale, strict) {
87        return createLocalOrUTC(input, format, locale, strict, true).utc();
88    }
89
90    function defaultParsingFlags() {
91        // We need to deep clone this object.
92        return {
93            empty: false,
94            unusedTokens: [],
95            unusedInput: [],
96            overflow: -2,
97            charsLeftOver: 0,
98            nullInput: false,
99            invalidMonth: null,
100            invalidFormat: false,
101            userInvalidated: false,
102            iso: false,
103            parsedDateParts: [],
104            meridiem: null,
105            rfc2822: false,
106            weekdayMismatch: false
107        };
108    }
109
110    function getParsingFlags(m) {
111        if (m._pf == null) {
112            m._pf = defaultParsingFlags();
113        }
114        return m._pf;
115    }
116
117    var some;
118    if (Array.prototype.some) {
119        some = Array.prototype.some;
120    } else {
121        some = function (fun) {
122            var t = Object(this);
123            var len = t.length >>> 0;
124
125            for (var i = 0; i < len; i++) {
126                if (i in t && fun.call(this, t[i], i, t)) {
127                    return true;
128                }
129            }
130
131            return false;
132        };
133    }
134
135    function isValid(m) {
136        if (m._isValid == null) {
137            var flags = getParsingFlags(m);
138            var parsedParts = some.call(flags.parsedDateParts, function (i) {
139                return i != null;
140            });
141            var isNowValid = !isNaN(m._d.getTime()) &&
142                flags.overflow < 0 &&
143                !flags.empty &&
144                !flags.invalidMonth &&
145                !flags.invalidWeekday &&
146                !flags.weekdayMismatch &&
147                !flags.nullInput &&
148                !flags.invalidFormat &&
149                !flags.userInvalidated &&
150                (!flags.meridiem || (flags.meridiem && parsedParts));
151
152            if (m._strict) {
153                isNowValid = isNowValid &&
154                    flags.charsLeftOver === 0 &&
155                    flags.unusedTokens.length === 0 &&
156                    flags.bigHour === undefined;
157            }
158
159            if (Object.isFrozen == null || !Object.isFrozen(m)) {
160                m._isValid = isNowValid;
161            }
162            else {
163                return isNowValid;
164            }
165        }
166        return m._isValid;
167    }
168
169    function createInvalid(flags) {
170        var m = createUTC(NaN);
171        if (flags != null) {
172            extend(getParsingFlags(m), flags);
173        }
174        else {
175            getParsingFlags(m).userInvalidated = true;
176        }
177
178        return m;
179    }
180
181    // Plugins that add properties should also add the key here (null value),
182    // so we can properly clone ourselves.
183    var momentProperties = hooks.momentProperties = [];
184
185    function copyConfig(to, from) {
186        var i, prop, val;
187
188        if (!isUndefined(from._isAMomentObject)) {
189            to._isAMomentObject = from._isAMomentObject;
190        }
191        if (!isUndefined(from._i)) {
192            to._i = from._i;
193        }
194        if (!isUndefined(from._f)) {
195            to._f = from._f;
196        }
197        if (!isUndefined(from._l)) {
198            to._l = from._l;
199        }
200        if (!isUndefined(from._strict)) {
201            to._strict = from._strict;
202        }
203        if (!isUndefined(from._tzm)) {
204            to._tzm = from._tzm;
205        }
206        if (!isUndefined(from._isUTC)) {
207            to._isUTC = from._isUTC;
208        }
209        if (!isUndefined(from._offset)) {
210            to._offset = from._offset;
211        }
212        if (!isUndefined(from._pf)) {
213            to._pf = getParsingFlags(from);
214        }
215        if (!isUndefined(from._locale)) {
216            to._locale = from._locale;
217        }
218
219        if (momentProperties.length > 0) {
220            for (i = 0; i < momentProperties.length; i++) {
221                prop = momentProperties[i];
vendor: 30,750 bytes, lines 222-1165
222                val = from[prop];
223                if (!isUndefined(val)) {
224                    to[prop] = val;
225                }
226            }
227        }
228
229        return to;
230    }
231
232    var updateInProgress = false;
233
234    // Moment prototype object
235    function Moment(config) {
236        copyConfig(this, config);
237        this._d = new Date(config._d != null ? config._d.getTime() : NaN);
238        if (!this.isValid()) {
239            this._d = new Date(NaN);
240        }
241        // Prevent infinite loop in case updateOffset creates new moment
242        // objects.
243        if (updateInProgress === false) {
244            updateInProgress = true;
245            hooks.updateOffset(this);
246            updateInProgress = false;
247        }
248    }
249
250    function isMoment(obj) {
251        return obj instanceof Moment || (obj != null && obj._isAMomentObject != null);
252    }
253
254    function absFloor(number) {
255        if (number < 0) {
256            // -0 -> 0
257            return Math.ceil(number) || 0;
258        } else {
259            return Math.floor(number);
260        }
261    }
262
263    function toInt(argumentForCoercion) {
264        var coercedNumber = +argumentForCoercion,
265            value = 0;
266
267        if (coercedNumber !== 0 && isFinite(coercedNumber)) {
268            value = absFloor(coercedNumber);
269        }
270
271        return value;
272    }
273
274    // compare two arrays, return the number of differences
275    function compareArrays(array1, array2, dontConvert) {
276        var len = Math.min(array1.length, array2.length),
277            lengthDiff = Math.abs(array1.length - array2.length),
278            diffs = 0,
279            i;
280        for (i = 0; i < len; i++) {
281            if ((dontConvert && array1[i] !== array2[i]) ||
282                (!dontConvert && toInt(array1[i]) !== toInt(array2[i]))) {
283                diffs++;
284            }
285        }
286        return diffs + lengthDiff;
287    }
288
289    function warn(msg) {
290        if (hooks.suppressDeprecationWarnings === false &&
291            (typeof console !== 'undefined') && console.warn) {
292            console.warn('Deprecation warning: ' + msg);
293        }
294    }
295
296    function deprecate(msg, fn) {
297        var firstTime = true;
298
299        return extend(function () {
300            if (hooks.deprecationHandler != null) {
301                hooks.deprecationHandler(null, msg);
302            }
303            if (firstTime) {
304                var args = [];
305                var arg;
306                for (var i = 0; i < arguments.length; i++) {
307                    arg = '';
308                    if (typeof arguments[i] === 'object') {
309                        arg += '\n[' + i + '] ';
310                        for (var key in arguments[0]) {
311                            arg += key + ': ' + arguments[0][key] + ', ';
312                        }
313                        arg = arg.slice(0, -2); // Remove trailing comma and space
314                    } else {
315                        arg = arguments[i];
316                    }
317                    args.push(arg);
318                }
319                warn(msg + '\nArguments: ' + Array.prototype.slice.call(args).join('') + '\n' + (new Error()).stack);
320                firstTime = false;
321            }
322            return fn.apply(this, arguments);
323        }, fn);
324    }
325
326    var deprecations = {};
327
328    function deprecateSimple(name, msg) {
329        if (hooks.deprecationHandler != null) {
330            hooks.deprecationHandler(name, msg);
331        }
332        if (!deprecations[name]) {
333            warn(msg);
334            deprecations[name] = true;
335        }
336    }
337
338    hooks.suppressDeprecationWarnings = false;
339    hooks.deprecationHandler = null;
340
341    function isFunction(input) {
342        return input instanceof Function || Object.prototype.toString.call(input) === '[object Function]';
343    }
344
345    function set(config) {
346        var prop, i;
347        for (i in config) {
348            prop = config[i];
349            if (isFunction(prop)) {
350                this[i] = prop;
351            } else {
352                this['_' + i] = prop;
353            }
354        }
355        this._config = config;
356        // Lenient ordinal parsing accepts just a number in addition to
357        // number + (possibly) stuff coming from _dayOfMonthOrdinalParse.
358        // TODO: Remove "ordinalParse" fallback in next major release.
359        this._dayOfMonthOrdinalParseLenient = new RegExp(
360            (this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) +
361            '|' + (/\d{1,2}/).source);
362    }
363
364    function mergeConfigs(parentConfig, childConfig) {
365        var res = extend({}, parentConfig), prop;
366        for (prop in childConfig) {
367            if (hasOwnProp(childConfig, prop)) {
368                if (isObject(parentConfig[prop]) && isObject(childConfig[prop])) {
369                    res[prop] = {};
370                    extend(res[prop], parentConfig[prop]);
371                    extend(res[prop], childConfig[prop]);
372                } else if (childConfig[prop] != null) {
373                    res[prop] = childConfig[prop];
374                } else {
375                    delete res[prop];
376                }
377            }
378        }
379        for (prop in parentConfig) {
380            if (hasOwnProp(parentConfig, prop) &&
381                !hasOwnProp(childConfig, prop) &&
382                isObject(parentConfig[prop])) {
383                // make sure changes to properties don't modify parent config
384                res[prop] = extend({}, res[prop]);
385            }
386        }
387        return res;
388    }
389
390    function Locale(config) {
391        if (config != null) {
392            this.set(config);
393        }
394    }
395
396    var keys;
397
398    if (Object.keys) {
399        keys = Object.keys;
400    } else {
401        keys = function (obj) {
402            var i, res = [];
403            for (i in obj) {
404                if (hasOwnProp(obj, i)) {
405                    res.push(i);
406                }
407            }
408            return res;
409        };
410    }
411
412    var defaultCalendar = {
413        sameDay: '[Today at] LT',
414        nextDay: '[Tomorrow at] LT',
415        nextWeek: 'dddd [at] LT',
416        lastDay: '[Yesterday at] LT',
417        lastWeek: '[Last] dddd [at] LT',
418        sameElse: 'L'
419    };
420
421    function calendar(key, mom, now) {
422        var output = this._calendar[key] || this._calendar['sameElse'];
423        return isFunction(output) ? output.call(mom, now) : output;
424    }
425
426    var defaultLongDateFormat = {
427        LTS: 'h:mm:ss A',
428        LT: 'h:mm A',
429        L: 'MM/DD/YYYY',
430        LL: 'MMMM D, YYYY',
431        LLL: 'MMMM D, YYYY h:mm A',
432        LLLL: 'dddd, MMMM D, YYYY h:mm A'
433    };
434
435    function longDateFormat(key) {
436        var format = this._longDateFormat[key],
437            formatUpper = this._longDateFormat[key.toUpperCase()];
438
439        if (format || !formatUpper) {
440            return format;
441        }
442
443        this._longDateFormat[key] = formatUpper.replace(/MMMM|MM|DD|dddd/g, function (val) {
444            return val.slice(1);
445        });
446
447        return this._longDateFormat[key];
448    }
449
450    var defaultInvalidDate = 'Invalid date';
451
452    function invalidDate() {
453        return this._invalidDate;
454    }
455
456    var defaultOrdinal = '%d';
457    var defaultDayOfMonthOrdinalParse = /\d{1,2}/;
458
459    function ordinal(number) {
460        return this._ordinal.replace('%d', number);
461    }
462
463    var defaultRelativeTime = {
464        future: 'in %s',
465        past: '%s ago',
466        s: 'a few seconds',
467        ss: '%d seconds',
468        m: 'a minute',
469        mm: '%d minutes',
470        h: 'an hour',
471        hh: '%d hours',
472        d: 'a day',
473        dd: '%d days',
474        M: 'a month',
475        MM: '%d months',
476        y: 'a year',
477        yy: '%d years'
478    };
479
480    function relativeTime(number, withoutSuffix, string, isFuture) {
481        var output = this._relativeTime[string];
482        return (isFunction(output)) ?
483            output(number, withoutSuffix, string, isFuture) :
484            output.replace(/%d/i, number);
485    }
486
487    function pastFuture(diff, output) {
488        var format = this._relativeTime[diff > 0 ? 'future' : 'past'];
489        return isFunction(format) ? format(output) : format.replace(/%s/i, output);
490    }
491
492    var aliases = {};
493
494    function addUnitAlias(unit, shorthand) {
495        var lowerCase = unit.toLowerCase();
496        aliases[lowerCase] = aliases[lowerCase + 's'] = aliases[shorthand] = unit;
497    }
498
499    function normalizeUnits(units) {
500        return typeof units === 'string' ? aliases[units] || aliases[units.toLowerCase()] : undefined;
501    }
502
503    function normalizeObjectUnits(inputObject) {
504        var normalizedInput = {},
505            normalizedProp,
506            prop;
507
508        for (prop in inputObject) {
509            if (hasOwnProp(inputObject, prop)) {
510                normalizedProp = normalizeUnits(prop);
511                if (normalizedProp) {
512                    normalizedInput[normalizedProp] = inputObject[prop];
513                }
514            }
515        }
516
517        return normalizedInput;
518    }
519
520    var priorities = {};
521
522    function addUnitPriority(unit, priority) {
523        priorities[unit] = priority;
524    }
525
526    function getPrioritizedUnits(unitsObj) {
527        var units = [];
528        for (var u in unitsObj) {
529            units.push({ unit: u, priority: priorities[u] });
530        }
531        units.sort(function (a, b) {
532            return a.priority - b.priority;
533        });
534        return units;
535    }
536
537    function zeroFill(number, targetLength, forceSign) {
538        var absNumber = '' + Math.abs(number),
539            zerosToFill = targetLength - absNumber.length,
540            sign = number >= 0;
541        return (sign ? (forceSign ? '+' : '') : '-') +
542            Math.pow(10, Math.max(0, zerosToFill)).toString().substr(1) + absNumber;
543    }
544
545    var formattingTokens = /(\[[^\[]*\])|(\\)?([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;
546
547    var localFormattingTokens = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g;
548
549    var formatFunctions = {};
550
551    var formatTokenFunctions = {};
552
553    // token:    'M'
554    // padded:   ['MM', 2]
555    // ordinal:  'Mo'
556    // callback: function () { this.month() + 1 }
557    function addFormatToken(token, padded, ordinal, callback) {
558        var func = callback;
559        if (typeof callback === 'string') {
560            func = function () {
561                return this[callback]();
562            };
563        }
564        if (token) {
565            formatTokenFunctions[token] = func;
566        }
567        if (padded) {
568            formatTokenFunctions[padded[0]] = function () {
569                return zeroFill(func.apply(this, arguments), padded[1], padded[2]);
570            };
571        }
572        if (ordinal) {
573            formatTokenFunctions[ordinal] = function () {
574                return this.localeData().ordinal(func.apply(this, arguments), token);
575            };
576        }
577    }
578
579    function removeFormattingTokens(input) {
580        if (input.match(/\[[\s\S]/)) {
581            return input.replace(/^\[|\]$/g, '');
582        }
583        return input.replace(/\\/g, '');
584    }
585
586    function makeFormatFunction(format) {
587        var array = format.match(formattingTokens), i, length;
588
589        for (i = 0, length = array.length; i < length; i++) {
590            if (formatTokenFunctions[array[i]]) {
591                array[i] = formatTokenFunctions[array[i]];
592            } else {
593                array[i] = removeFormattingTokens(array[i]);
594            }
595        }
596
597        return function (mom) {
598            var output = '', i;
599            for (i = 0; i < length; i++) {
600                output += isFunction(array[i]) ? array[i].call(mom, format) : array[i];
601            }
602            return output;
603        };
604    }
605
606    // format date using native date object
607    function formatMoment(m, format) {
608        if (!m.isValid()) {
609            return m.localeData().invalidDate();
610        }
611
612        format = expandFormat(format, m.localeData());
613        formatFunctions[format] = formatFunctions[format] || makeFormatFunction(format);
614
615        return formatFunctions[format](m);
616    }
617
618    function expandFormat(format, locale) {
619        var i = 5;
620
621        function replaceLongDateFormatTokens(input) {
622            return locale.longDateFormat(input) || input;
623        }
624
625        localFormattingTokens.lastIndex = 0;
626        while (i >= 0 && localFormattingTokens.test(format)) {
627            format = format.replace(localFormattingTokens, replaceLongDateFormatTokens);
628            localFormattingTokens.lastIndex = 0;
629            i -= 1;
630        }
631
632        return format;
633    }
634
635    var match1 = /\d/;            //       0 - 9
636    var match2 = /\d\d/;          //      00 - 99
637    var match3 = /\d{3}/;         //     000 - 999
638    var match4 = /\d{4}/;         //    0000 - 9999
639    var match6 = /[+-]?\d{6}/;    // -999999 - 999999
640    var match1to2 = /\d\d?/;         //       0 - 99
641    var match3to4 = /\d\d\d\d?/;     //     999 - 9999
642    var match5to6 = /\d\d\d\d\d\d?/; //   99999 - 999999
643    var match1to3 = /\d{1,3}/;       //       0 - 999
644    var match1to4 = /\d{1,4}/;       //       0 - 9999
645    var match1to6 = /[+-]?\d{1,6}/;  // -999999 - 999999
646
647    var matchUnsigned = /\d+/;           //       0 - inf
648    var matchSigned = /[+-]?\d+/;      //    -inf - inf
649
650    var matchOffset = /Z|[+-]\d\d:?\d\d/gi; // +00:00 -00:00 +0000 -0000 or Z
651    var matchShortOffset = /Z|[+-]\d\d(?::?\d\d)?/gi; // +00 -00 +00:00 -00:00 +0000 -0000 or Z
652
653    var matchTimestamp = /[+-]?\d+(\.\d{1,3})?/; // 123456789 123456789.123
654
655    // any word (or two) characters or numbers including two/three word month in arabic.
656    // includes scottish gaelic two word and hyphenated months
657    var matchWord = /[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;
658
659    var regexes = {};
660
661    function addRegexToken(token, regex, strictRegex) {
662        regexes[token] = isFunction(regex) ? regex : function (isStrict, localeData) {
663            return (isStrict && strictRegex) ? strictRegex : regex;
664        };
665    }
666
667    function getParseRegexForToken(token, config) {
668        if (!hasOwnProp(regexes, token)) {
669            return new RegExp(unescapeFormat(token));
670        }
671
672        return regexes[token](config._strict, config._locale);
673    }
674
675    // Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript
676    function unescapeFormat(s) {
677        return regexEscape(s.replace('\\', '').replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g, function (matched, p1, p2, p3, p4) {
678            return p1 || p2 || p3 || p4;
679        }));
680    }
681
682    function regexEscape(s) {
683        return s.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&');
684    }
685
686    var tokens = {};
687
688    function addParseToken(token, callback) {
689        var i, func = callback;
690        if (typeof token === 'string') {
691            token = [token];
692        }
693        if (isNumber(callback)) {
694            func = function (input, array) {
695                array[callback] = toInt(input);
696            };
697        }
698        for (i = 0; i < token.length; i++) {
699            tokens[token[i]] = func;
700        }
701    }
702
703    function addWeekParseToken(token, callback) {
704        addParseToken(token, function (input, array, config, token) {
705            config._w = config._w || {};
706            callback(input, config._w, config, token);
707        });
708    }
709
710    function addTimeToArrayFromToken(token, input, config) {
711        if (input != null && hasOwnProp(tokens, token)) {
712            tokens[token](input, config._a, config, token);
713        }
714    }
715
716    var YEAR = 0;
717    var MONTH = 1;
718    var DATE = 2;
719    var HOUR = 3;
720    var MINUTE = 4;
721    var SECOND = 5;
722    var MILLISECOND = 6;
723    var WEEK = 7;
724    var WEEKDAY = 8;
725
726    // FORMATTING
727
728    addFormatToken('Y', 0, 0, function () {
729        var y = this.year();
730        return y <= 9999 ? '' + y : '+' + y;
731    });
732
733    addFormatToken(0, ['YY', 2], 0, function () {
734        return this.year() % 100;
735    });
736
737    addFormatToken(0, ['YYYY', 4], 0, 'year');
738    addFormatToken(0, ['YYYYY', 5], 0, 'year');
739    addFormatToken(0, ['YYYYYY', 6, true], 0, 'year');
740
741    // ALIASES
742
743    addUnitAlias('year', 'y');
744
745    // PRIORITIES
746
747    addUnitPriority('year', 1);
748
749    // PARSING
750
751    addRegexToken('Y', matchSigned);
752    addRegexToken('YY', match1to2, match2);
753    addRegexToken('YYYY', match1to4, match4);
754    addRegexToken('YYYYY', match1to6, match6);
755    addRegexToken('YYYYYY', match1to6, match6);
756
757    addParseToken(['YYYYY', 'YYYYYY'], YEAR);
758    addParseToken('YYYY', function (input, array) {
759        array[YEAR] = input.length === 2 ? hooks.parseTwoDigitYear(input) : toInt(input);
760    });
761    addParseToken('YY', function (input, array) {
762        array[YEAR] = hooks.parseTwoDigitYear(input);
763    });
764    addParseToken('Y', function (input, array) {
765        array[YEAR] = parseInt(input, 10);
766    });
767
768    // HELPERS
769
770    function daysInYear(year) {
771        return isLeapYear(year) ? 366 : 365;
772    }
773
774    function isLeapYear(year) {
775        return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0;
776    }
777
778    // HOOKS
779
780    hooks.parseTwoDigitYear = function (input) {
781        return toInt(input) + (toInt(input) > 68 ? 1900 : 2000);
782    };
783
784    // MOMENTS
785
786    var getSetYear = makeGetSet('FullYear', true);
787
788    function getIsLeapYear() {
789        return isLeapYear(this.year());
790    }
791
792    function makeGetSet(unit, keepTime) {
793        return function (value) {
794            if (value != null) {
795                set$1(this, unit, value);
796                hooks.updateOffset(this, keepTime);
797                return this;
798            } else {
799                return get(this, unit);
800            }
801        };
802    }
803
804    function get(mom, unit) {
805        return mom.isValid() ?
806            mom._d['get' + (mom._isUTC ? 'UTC' : '') + unit]() : NaN;
807    }
808
809    function set$1(mom, unit, value) {
810        if (mom.isValid() && !isNaN(value)) {
811            if (unit === 'FullYear' && isLeapYear(mom.year()) && mom.month() === 1 && mom.date() === 29) {
812                mom._d['set' + (mom._isUTC ? 'UTC' : '') + unit](value, mom.month(), daysInMonth(value, mom.month()));
813            }
814            else {
815                mom._d['set' + (mom._isUTC ? 'UTC' : '') + unit](value);
816            }
817        }
818    }
819
820    // MOMENTS
821
822    function stringGet(units) {
823        units = normalizeUnits(units);
824        if (isFunction(this[units])) {
825            return this[units]();
826        }
827        return this;
828    }
829
830
831    function stringSet(units, value) {
832        if (typeof units === 'object') {
833            units = normalizeObjectUnits(units);
834            var prioritized = getPrioritizedUnits(units);
835            for (var i = 0; i < prioritized.length; i++) {
836                this[prioritized[i].unit](units[prioritized[i].unit]);
837            }
838        } else {
839            units = normalizeUnits(units);
840            if (isFunction(this[units])) {
841                return this[units](value);
842            }
843        }
844        return this;
845    }
846
847    function mod(n, x) {
848        return ((n % x) + x) % x;
849    }
850
851    var indexOf;
852
853    if (Array.prototype.indexOf) {
854        indexOf = Array.prototype.indexOf;
855    } else {
856        indexOf = function (o) {
857            // I know
858            var i;
859            for (i = 0; i < this.length; ++i) {
860                if (this[i] === o) {
861                    return i;
862                }
863            }
864            return -1;
865        };
866    }
867
868    function daysInMonth(year, month) {
869        if (isNaN(year) || isNaN(month)) {
870            return NaN;
871        }
872        var modMonth = mod(month, 12);
873        year += (month - modMonth) / 12;
874        return modMonth === 1 ? (isLeapYear(year) ? 29 : 28) : (31 - modMonth % 7 % 2);
875    }
876
877    // FORMATTING
878
879    addFormatToken('M', ['MM', 2], 'Mo', function () {
880        return this.month() + 1;
881    });
882
883    addFormatToken('MMM', 0, 0, function (format) {
884        return this.localeData().monthsShort(this, format);
885    });
886
887    addFormatToken('MMMM', 0, 0, function (format) {
888        return this.localeData().months(this, format);
889    });
890
891    // ALIASES
892
893    addUnitAlias('month', 'M');
894
895    // PRIORITY
896
897    addUnitPriority('month', 8);
898
899    // PARSING
900
901    addRegexToken('M', match1to2);
902    addRegexToken('MM', match1to2, match2);
903    addRegexToken('MMM', function (isStrict, locale) {
904        return locale.monthsShortRegex(isStrict);
905    });
906    addRegexToken('MMMM', function (isStrict, locale) {
907        return locale.monthsRegex(isStrict);
908    });
909
910    addParseToken(['M', 'MM'], function (input, array) {
911        array[MONTH] = toInt(input) - 1;
912    });
913
914    addParseToken(['MMM', 'MMMM'], function (input, array, config, token) {
915        var month = config._locale.monthsParse(input, token, config._strict);
916        // if we didn't find a month name, mark the date as invalid.
917        if (month != null) {
918            array[MONTH] = month;
919        } else {
920            getParsingFlags(config).invalidMonth = input;
921        }
922    });
923
924    // LOCALES
925
926    var MONTHS_IN_FORMAT = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/;
927    var defaultLocaleMonths = 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_');
928    function localeMonths(m, format) {
929        if (!m) {
930            return isArray(this._months) ? this._months :
931                this._months['standalone'];
932        }
933        return isArray(this._months) ? this._months[m.month()] :
934            this._months[(this._months.isFormat || MONTHS_IN_FORMAT).test(format) ? 'format' : 'standalone'][m.month()];
935    }
936
937    var defaultLocaleMonthsShort = 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_');
938    function localeMonthsShort(m, format) {
939        if (!m) {
940            return isArray(this._monthsShort) ? this._monthsShort :
941                this._monthsShort['standalone'];
942        }
943        return isArray(this._monthsShort) ? this._monthsShort[m.month()] :
944            this._monthsShort[MONTHS_IN_FORMAT.test(format) ? 'format' : 'standalone'][m.month()];
945    }
946
947    function handleStrictParse(monthName, format, strict) {
948        var i, ii, mom, llc = monthName.toLocaleLowerCase();
949        if (!this._monthsParse) {
950            // this is not used
951            this._monthsParse = [];
952            this._longMonthsParse = [];
953            this._shortMonthsParse = [];
954            for (i = 0; i < 12; ++i) {
955                mom = createUTC([2000, i]);
956                this._shortMonthsParse[i] = this.monthsShort(mom, '').toLocaleLowerCase();
957                this._longMonthsParse[i] = this.months(mom, '').toLocaleLowerCase();
958            }
959        }
960
961        if (strict) {
962            if (format === 'MMM') {
963                ii = indexOf.call(this._shortMonthsParse, llc);
964                return ii !== -1 ? ii : null;
965            } else {
966                ii = indexOf.call(this._longMonthsParse, llc);
967                return ii !== -1 ? ii : null;
968            }
969        } else {
970            if (format === 'MMM') {
971                ii = indexOf.call(this._shortMonthsParse, llc);
972                if (ii !== -1) {
973                    return ii;
974                }
975                ii = indexOf.call(this._longMonthsParse, llc);
976                return ii !== -1 ? ii : null;
977            } else {
978                ii = indexOf.call(this._longMonthsParse, llc);
979                if (ii !== -1) {
980                    return ii;
981                }
982                ii = indexOf.call(this._shortMonthsParse, llc);
983                return ii !== -1 ? ii : null;
984            }
985        }
986    }
987
988    function localeMonthsParse(monthName, format, strict) {
989        var i, mom, regex;
990
991        if (this._monthsParseExact) {
992            return handleStrictParse.call(this, monthName, format, strict);
993        }
994
995        if (!this._monthsParse) {
996            this._monthsParse = [];
997            this._longMonthsParse = [];
998            this._shortMonthsParse = [];
999        }
1000
1001        // TODO: add sorting
1002        // Sorting makes sure if one month (or abbr) is a prefix of another
1003        // see sorting in computeMonthsParse
1004        for (i = 0; i < 12; i++) {
1005            // make the regex if we don't have it already
1006            mom = createUTC([2000, i]);
1007            if (strict && !this._longMonthsParse[i]) {
1008                this._longMonthsParse[i] = new RegExp('^' + this.months(mom, '').replace('.', '') + '$', 'i');
1009                this._shortMonthsParse[i] = new RegExp('^' + this.monthsShort(mom, '').replace('.', '') + '$', 'i');
1010            }
1011            if (!strict && !this._monthsParse[i]) {
1012                regex = '^' + this.months(mom, '') + '|^' + this.monthsShort(mom, '');
1013                this._monthsParse[i] = new RegExp(regex.replace('.', ''), 'i');
1014            }
1015            // test the regex
1016            if (strict && format === 'MMMM' && this._longMonthsParse[i].test(monthName)) {
1017                return i;
1018            } else if (strict && format === 'MMM' && this._shortMonthsParse[i].test(monthName)) {
1019                return i;
1020            } else if (!strict && this._monthsParse[i].test(monthName)) {
1021                return i;
1022            }
1023        }
1024    }
1025
1026    // MOMENTS
1027
1028    function setMonth(mom, value) {
1029        var dayOfMonth;
1030
1031        if (!mom.isValid()) {
1032            // No op
1033            return mom;
1034        }
1035
1036        if (typeof value === 'string') {
1037            if (/^\d+$/.test(value)) {
1038                value = toInt(value);
1039            } else {
1040                value = mom.localeData().monthsParse(value);
1041                // TODO: Another silent failure?
1042                if (!isNumber(value)) {
1043                    return mom;
1044                }
1045            }
1046        }
1047
1048        dayOfMonth = Math.min(mom.date(), daysInMonth(mom.year(), value));
1049        mom._d['set' + (mom._isUTC ? 'UTC' : '') + 'Month'](value, dayOfMonth);
1050        return mom;
1051    }
1052
1053    function getSetMonth(value) {
1054        if (value != null) {
1055            setMonth(this, value);
1056            hooks.updateOffset(this, true);
1057            return this;
1058        } else {
1059            return get(this, 'Month');
1060        }
1061    }
1062
1063    function getDaysInMonth() {
1064        return daysInMonth(this.year(), this.month());
1065    }
1066
1067    var defaultMonthsShortRegex = matchWord;
1068    function monthsShortRegex(isStrict) {
1069        if (this._monthsParseExact) {
1070            if (!hasOwnProp(this, '_monthsRegex')) {
1071                computeMonthsParse.call(this);
1072            }
1073            if (isStrict) {
1074                return this._monthsShortStrictRegex;
1075            } else {
1076                return this._monthsShortRegex;
1077            }
1078        } else {
1079            if (!hasOwnProp(this, '_monthsShortRegex')) {
1080                this._monthsShortRegex = defaultMonthsShortRegex;
1081            }
1082            return this._monthsShortStrictRegex && isStrict ?
1083                this._monthsShortStrictRegex : this._monthsShortRegex;
1084        }
1085    }
1086
1087    var defaultMonthsRegex = matchWord;
1088    function monthsRegex(isStrict) {
1089        if (this._monthsParseExact) {
1090            if (!hasOwnProp(this, '_monthsRegex')) {
1091                computeMonthsParse.call(this);
1092            }
1093            if (isStrict) {
1094                return this._monthsStrictRegex;
1095            } else {
1096                return this._monthsRegex;
1097            }
1098        } else {
1099            if (!hasOwnProp(this, '_monthsRegex')) {
1100                this._monthsRegex = defaultMonthsRegex;
1101            }
1102            return this._monthsStrictRegex && isStrict ?
1103                this._monthsStrictRegex : this._monthsRegex;
1104        }
1105    }
1106
1107    function computeMonthsParse() {
1108        function cmpLenRev(a, b) {
1109            return b.length - a.length;
1110        }
1111
1112        var shortPieces = [], longPieces = [], mixedPieces = [],
1113            i, mom;
1114        for (i = 0; i < 12; i++) {
1115            // make the regex if we don't have it already
1116            mom = createUTC([2000, i]);
1117            shortPieces.push(this.monthsShort(mom, ''));
1118            longPieces.push(this.months(mom, ''));
1119            mixedPieces.push(this.months(mom, ''));
1120            mixedPieces.push(this.monthsShort(mom, ''));
1121        }
1122        // Sorting makes sure if one month (or abbr) is a prefix of another it
1123        // will match the longer piece.
1124        shortPieces.sort(cmpLenRev);
1125        longPieces.sort(cmpLenRev);
1126        mixedPieces.sort(cmpLenRev);
1127        for (i = 0; i < 12; i++) {
1128            shortPieces[i] = regexEscape(shortPieces[i]);
1129            longPieces[i] = regexEscape(longPieces[i]);
1130        }
1131        for (i = 0; i < 24; i++) {
1132            mixedPieces[i] = regexEscape(mixedPieces[i]);
1133        }
1134
1135        this._monthsRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');
1136        this._monthsShortRegex = this._monthsRegex;
1137        this._monthsStrictRegex = new RegExp('^(' + longPieces.join('|') + ')', 'i');
1138        this._monthsShortStrictRegex = new RegExp('^(' + shortPieces.join('|') + ')', 'i');
1139    }
1140
1141    function createDate(y, m, d, h, M, s, ms) {
1142        // can't just apply() to create a date:
1143        // https://stackoverflow.com/q/181348
1144        var date;
1145        // the date constructor remaps years 0-99 to 1900-1999
1146        if (y < 100 && y >= 0) {
1147            // preserve leap years using a full 400 year cycle, then reset
1148            date = new Date(y + 400, m, d, h, M, s, ms);
1149            if (isFinite(date.getFullYear())) {
1150                date.setFullYear(y);
1151            }
1152        } else {
1153            date = new Date(y, m, d, h, M, s, ms);
1154        }
1155
1156        return date;
1157    }
1158
1159    function createUTCDate(y) {
1160        var date;
1161        // the Date.UTC function remaps years 0-99 to 1900-1999
1162        if (y < 100 && y >= 0) {
1163            var args = Array.prototype.slice.call(arguments);
1164            // preserve leap years using a full 400 year cycle, then reset
1165            args[0] = y + 400;
vendor: 3,026 bytes, lines 1166-1260
1166            date = new Date(Date.UTC.apply(null, args));
1167            if (isFinite(date.getUTCFullYear())) {
1168                date.setUTCFullYear(y);
1169            }
1170        } else {
1171            date = new Date(Date.UTC.apply(null, arguments));
1172        }
1173
1174        return date;
1175    }
1176
1177    // start-of-first-week - start-of-year
1178    function firstWeekOffset(year, dow, doy) {
1179        var // first-week day -- which january is always in the first week (4 for iso, 1 for other)
1180            fwd = 7 + dow - doy,
1181            // first-week day local weekday -- which local weekday is fwd
1182            fwdlw = (7 + createUTCDate(year, 0, fwd).getUTCDay() - dow) % 7;
1183
1184        return -fwdlw + fwd - 1;
1185    }
1186
1187    // https://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday
1188    function dayOfYearFromWeeks(year, week, weekday, dow, doy) {
1189        var localWeekday = (7 + weekday - dow) % 7,
1190            weekOffset = firstWeekOffset(year, dow, doy),
1191            dayOfYear = 1 + 7 * (week - 1) + localWeekday + weekOffset,
1192            resYear, resDayOfYear;
1193
1194        if (dayOfYear <= 0) {
1195            resYear = year - 1;
1196            resDayOfYear = daysInYear(resYear) + dayOfYear;
1197        } else if (dayOfYear > daysInYear(year)) {
1198            resYear = year + 1;
1199            resDayOfYear = dayOfYear - daysInYear(year);
1200        } else {
1201            resYear = year;
1202            resDayOfYear = dayOfYear;
1203        }
1204
1205        return {
1206            year: resYear,
1207            dayOfYear: resDayOfYear
1208        };
1209    }
1210
1211    function weekOfYear(mom, dow, doy) {
1212        var weekOffset = firstWeekOffset(mom.year(), dow, doy),
1213            week = Math.floor((mom.dayOfYear() - weekOffset - 1) / 7) + 1,
1214            resWeek, resYear;
1215
1216        if (week < 1) {
1217            resYear = mom.year() - 1;
1218            resWeek = week + weeksInYear(resYear, dow, doy);
1219        } else if (week > weeksInYear(mom.year(), dow, doy)) {
1220            resWeek = week - weeksInYear(mom.year(), dow, doy);
1221            resYear = mom.year() + 1;
1222        } else {
1223            resYear = mom.year();
1224            resWeek = week;
1225        }
1226
1227        return {
1228            week: resWeek,
1229            year: resYear
1230        };
1231    }
1232
1233    function weeksInYear(year, dow, doy) {
1234        var weekOffset = firstWeekOffset(year, dow, doy),
1235            weekOffsetNext = firstWeekOffset(year + 1, dow, doy);
1236        return (daysInYear(year) - weekOffset + weekOffsetNext) / 7;
1237    }
1238
1239    // FORMATTING
1240
1241    addFormatToken('w', ['ww', 2], 'wo', 'week');
1242    addFormatToken('W', ['WW', 2], 'Wo', 'isoWeek');
1243
1244    // ALIASES
1245
1246    addUnitAlias('week', 'w');
1247    addUnitAlias('isoWeek', 'W');
1248
1249    // PRIORITIES
1250
1251    addUnitPriority('week', 5);
1252    addUnitPriority('isoWeek', 5);
1253
1254    // PARSING
1255
1256    addRegexToken('w', match1to2);
1257    addRegexToken('ww', match1to2, match2);
1258    addRegexToken('W', match1to2);
1259    addRegexToken('WW', match1to2, match2);
1260
vendor: 83,609 bytes, lines 1261-3661
1261    addWeekParseToken(['w', 'ww', 'W', 'WW'], function (input, week, config, token) {
1262        week[token.substr(0, 1)] = toInt(input);
1263    });
1264
1265    // HELPERS
1266
1267    // LOCALES
1268
1269    function localeWeek(mom) {
1270        return weekOfYear(mom, this._week.dow, this._week.doy).week;
1271    }
1272
1273    var defaultLocaleWeek = {
1274        dow: 0, // Sunday is the first day of the week.
1275        doy: 6  // The week that contains Jan 6th is the first week of the year.
1276    };
1277
1278    function localeFirstDayOfWeek() {
1279        return this._week.dow;
1280    }
1281
1282    function localeFirstDayOfYear() {
1283        return this._week.doy;
1284    }
1285
1286    // MOMENTS
1287
1288    function getSetWeek(input) {
1289        var week = this.localeData().week(this);
1290        return input == null ? week : this.add((input - week) * 7, 'd');
1291    }
1292
1293    function getSetISOWeek(input) {
1294        var week = weekOfYear(this, 1, 4).week;
1295        return input == null ? week : this.add((input - week) * 7, 'd');
1296    }
1297
1298    // FORMATTING
1299
1300    addFormatToken('d', 0, 'do', 'day');
1301
1302    addFormatToken('dd', 0, 0, function (format) {
1303        return this.localeData().weekdaysMin(this, format);
1304    });
1305
1306    addFormatToken('ddd', 0, 0, function (format) {
1307        return this.localeData().weekdaysShort(this, format);
1308    });
1309
1310    addFormatToken('dddd', 0, 0, function (format) {
1311        return this.localeData().weekdays(this, format);
1312    });
1313
1314    addFormatToken('e', 0, 0, 'weekday');
1315    addFormatToken('E', 0, 0, 'isoWeekday');
1316
1317    // ALIASES
1318
1319    addUnitAlias('day', 'd');
1320    addUnitAlias('weekday', 'e');
1321    addUnitAlias('isoWeekday', 'E');
1322
1323    // PRIORITY
1324    addUnitPriority('day', 11);
1325    addUnitPriority('weekday', 11);
1326    addUnitPriority('isoWeekday', 11);
1327
1328    // PARSING
1329
1330    addRegexToken('d', match1to2);
1331    addRegexToken('e', match1to2);
1332    addRegexToken('E', match1to2);
1333    addRegexToken('dd', function (isStrict, locale) {
1334        return locale.weekdaysMinRegex(isStrict);
1335    });
1336    addRegexToken('ddd', function (isStrict, locale) {
1337        return locale.weekdaysShortRegex(isStrict);
1338    });
1339    addRegexToken('dddd', function (isStrict, locale) {
1340        return locale.weekdaysRegex(isStrict);
1341    });
1342
1343    addWeekParseToken(['dd', 'ddd', 'dddd'], function (input, week, config, token) {
1344        var weekday = config._locale.weekdaysParse(input, token, config._strict);
1345        // if we didn't get a weekday name, mark the date as invalid
1346        if (weekday != null) {
1347            week.d = weekday;
1348        } else {
1349            getParsingFlags(config).invalidWeekday = input;
1350        }
1351    });
1352
1353    addWeekParseToken(['d', 'e', 'E'], function (input, week, config, token) {
1354        week[token] = toInt(input);
1355    });
1356
1357    // HELPERS
1358
1359    function parseWeekday(input, locale) {
1360        if (typeof input !== 'string') {
1361            return input;
1362        }
1363
1364        if (!isNaN(input)) {
1365            return parseInt(input, 10);
1366        }
1367
1368        input = locale.weekdaysParse(input);
1369        if (typeof input === 'number') {
1370            return input;
1371        }
1372
1373        return null;
1374    }
1375
1376    function parseIsoWeekday(input, locale) {
1377        if (typeof input === 'string') {
1378            return locale.weekdaysParse(input) % 7 || 7;
1379        }
1380        return isNaN(input) ? null : input;
1381    }
1382
1383    // LOCALES
1384    function shiftWeekdays(ws, n) {
1385        return ws.slice(n, 7).concat(ws.slice(0, n));
1386    }
1387
1388    var defaultLocaleWeekdays = 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_');
1389    function localeWeekdays(m, format) {
1390        var weekdays = isArray(this._weekdays) ? this._weekdays :
1391            this._weekdays[(m && m !== true && this._weekdays.isFormat.test(format)) ? 'format' : 'standalone'];
1392        return (m === true) ? shiftWeekdays(weekdays, this._week.dow)
1393            : (m) ? weekdays[m.day()] : weekdays;
1394    }
1395
1396    var defaultLocaleWeekdaysShort = 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_');
1397    function localeWeekdaysShort(m) {
1398        return (m === true) ? shiftWeekdays(this._weekdaysShort, this._week.dow)
1399            : (m) ? this._weekdaysShort[m.day()] : this._weekdaysShort;
1400    }
1401
1402    var defaultLocaleWeekdaysMin = 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_');
1403    function localeWeekdaysMin(m) {
1404        return (m === true) ? shiftWeekdays(this._weekdaysMin, this._week.dow)
1405            : (m) ? this._weekdaysMin[m.day()] : this._weekdaysMin;
1406    }
1407
1408    function handleStrictParse$1(weekdayName, format, strict) {
1409        var i, ii, mom, llc = weekdayName.toLocaleLowerCase();
1410        if (!this._weekdaysParse) {
1411            this._weekdaysParse = [];
1412            this._shortWeekdaysParse = [];
1413            this._minWeekdaysParse = [];
1414
1415            for (i = 0; i < 7; ++i) {
1416                mom = createUTC([2000, 1]).day(i);
1417                this._minWeekdaysParse[i] = this.weekdaysMin(mom, '').toLocaleLowerCase();
1418                this._shortWeekdaysParse[i] = this.weekdaysShort(mom, '').toLocaleLowerCase();
1419                this._weekdaysParse[i] = this.weekdays(mom, '').toLocaleLowerCase();
1420            }
1421        }
1422
1423        if (strict) {
1424            if (format === 'dddd') {
1425                ii = indexOf.call(this._weekdaysParse, llc);
1426                return ii !== -1 ? ii : null;
1427            } else if (format === 'ddd') {
1428                ii = indexOf.call(this._shortWeekdaysParse, llc);
1429                return ii !== -1 ? ii : null;
1430            } else {
1431                ii = indexOf.call(this._minWeekdaysParse, llc);
1432                return ii !== -1 ? ii : null;
1433            }
1434        } else {
1435            if (format === 'dddd') {
1436                ii = indexOf.call(this._weekdaysParse, llc);
1437                if (ii !== -1) {
1438                    return ii;
1439                }
1440                ii = indexOf.call(this._shortWeekdaysParse, llc);
1441                if (ii !== -1) {
1442                    return ii;
1443                }
1444                ii = indexOf.call(this._minWeekdaysParse, llc);
1445                return ii !== -1 ? ii : null;
1446            } else if (format === 'ddd') {
1447                ii = indexOf.call(this._shortWeekdaysParse, llc);
1448                if (ii !== -1) {
1449                    return ii;
1450                }
1451                ii = indexOf.call(this._weekdaysParse, llc);
1452                if (ii !== -1) {
1453                    return ii;
1454                }
1455                ii = indexOf.call(this._minWeekdaysParse, llc);
1456                return ii !== -1 ? ii : null;
1457            } else {
1458                ii = indexOf.call(this._minWeekdaysParse, llc);
1459                if (ii !== -1) {
1460                    return ii;
1461                }
1462                ii = indexOf.call(this._weekdaysParse, llc);
1463                if (ii !== -1) {
1464                    return ii;
1465                }
1466                ii = indexOf.call(this._shortWeekdaysParse, llc);
1467                return ii !== -1 ? ii : null;
1468            }
1469        }
1470    }
1471
1472    function localeWeekdaysParse(weekdayName, format, strict) {
1473        var i, mom, regex;
1474
1475        if (this._weekdaysParseExact) {
1476            return handleStrictParse$1.call(this, weekdayName, format, strict);
1477        }
1478
1479        if (!this._weekdaysParse) {
1480            this._weekdaysParse = [];
1481            this._minWeekdaysParse = [];
1482            this._shortWeekdaysParse = [];
1483            this._fullWeekdaysParse = [];
1484        }
1485
1486        for (i = 0; i < 7; i++) {
1487            // make the regex if we don't have it already
1488
1489            mom = createUTC([2000, 1]).day(i);
1490            if (strict && !this._fullWeekdaysParse[i]) {
1491                this._fullWeekdaysParse[i] = new RegExp('^' + this.weekdays(mom, '').replace('.', '\\.?') + '$', 'i');
1492                this._shortWeekdaysParse[i] = new RegExp('^' + this.weekdaysShort(mom, '').replace('.', '\\.?') + '$', 'i');
1493                this._minWeekdaysParse[i] = new RegExp('^' + this.weekdaysMin(mom, '').replace('.', '\\.?') + '$', 'i');
1494            }
1495            if (!this._weekdaysParse[i]) {
1496                regex = '^' + this.weekdays(mom, '') + '|^' + this.weekdaysShort(mom, '') + '|^' + this.weekdaysMin(mom, '');
1497                this._weekdaysParse[i] = new RegExp(regex.replace('.', ''), 'i');
1498            }
1499            // test the regex
1500            if (strict && format === 'dddd' && this._fullWeekdaysParse[i].test(weekdayName)) {
1501                return i;
1502            } else if (strict && format === 'ddd' && this._shortWeekdaysParse[i].test(weekdayName)) {
1503                return i;
1504            } else if (strict && format === 'dd' && this._minWeekdaysParse[i].test(weekdayName)) {
1505                return i;
1506            } else if (!strict && this._weekdaysParse[i].test(weekdayName)) {
1507                return i;
1508            }
1509        }
1510    }
1511
1512    // MOMENTS
1513
1514    function getSetDayOfWeek(input) {
1515        if (!this.isValid()) {
1516            return input != null ? this : NaN;
1517        }
1518        var day = this._isUTC ? this._d.getUTCDay() : this._d.getDay();
1519        if (input != null) {
1520            input = parseWeekday(input, this.localeData());
1521            return this.add(input - day, 'd');
1522        } else {
1523            return day;
1524        }
1525    }
1526
1527    function getSetLocaleDayOfWeek(input) {
1528        if (!this.isValid()) {
1529            return input != null ? this : NaN;
1530        }
1531        var weekday = (this.day() + 7 - this.localeData()._week.dow) % 7;
1532        return input == null ? weekday : this.add(input - weekday, 'd');
1533    }
1534
1535    function getSetISODayOfWeek(input) {
1536        if (!this.isValid()) {
1537            return input != null ? this : NaN;
1538        }
1539
1540        // behaves the same as moment#day except
1541        // as a getter, returns 7 instead of 0 (1-7 range instead of 0-6)
1542        // as a setter, sunday should belong to the previous week.
1543
1544        if (input != null) {
1545            var weekday = parseIsoWeekday(input, this.localeData());
1546            return this.day(this.day() % 7 ? weekday : weekday - 7);
1547        } else {
1548            return this.day() || 7;
1549        }
1550    }
1551
1552    var defaultWeekdaysRegex = matchWord;
1553    function weekdaysRegex(isStrict) {
1554        if (this._weekdaysParseExact) {
1555            if (!hasOwnProp(this, '_weekdaysRegex')) {
1556                computeWeekdaysParse.call(this);
1557            }
1558            if (isStrict) {
1559                return this._weekdaysStrictRegex;
1560            } else {
1561                return this._weekdaysRegex;
1562            }
1563        } else {
1564            if (!hasOwnProp(this, '_weekdaysRegex')) {
1565                this._weekdaysRegex = defaultWeekdaysRegex;
1566            }
1567            return this._weekdaysStrictRegex && isStrict ?
1568                this._weekdaysStrictRegex : this._weekdaysRegex;
1569        }
1570    }
1571
1572    var defaultWeekdaysShortRegex = matchWord;
1573    function weekdaysShortRegex(isStrict) {
1574        if (this._weekdaysParseExact) {
1575            if (!hasOwnProp(this, '_weekdaysRegex')) {
1576                computeWeekdaysParse.call(this);
1577            }
1578            if (isStrict) {
1579                return this._weekdaysShortStrictRegex;
1580            } else {
1581                return this._weekdaysShortRegex;
1582            }
1583        } else {
1584            if (!hasOwnProp(this, '_weekdaysShortRegex')) {
1585                this._weekdaysShortRegex = defaultWeekdaysShortRegex;
1586            }
1587            return this._weekdaysShortStrictRegex && isStrict ?
1588                this._weekdaysShortStrictRegex : this._weekdaysShortRegex;
1589        }
1590    }
1591
1592    var defaultWeekdaysMinRegex = matchWord;
1593    function weekdaysMinRegex(isStrict) {
1594        if (this._weekdaysParseExact) {
1595            if (!hasOwnProp(this, '_weekdaysRegex')) {
1596                computeWeekdaysParse.call(this);
1597            }
1598            if (isStrict) {
1599                return this._weekdaysMinStrictRegex;
1600            } else {
1601                return this._weekdaysMinRegex;
1602            }
1603        } else {
1604            if (!hasOwnProp(this, '_weekdaysMinRegex')) {
1605                this._weekdaysMinRegex = defaultWeekdaysMinRegex;
1606            }
1607            return this._weekdaysMinStrictRegex && isStrict ?
1608                this._weekdaysMinStrictRegex : this._weekdaysMinRegex;
1609        }
1610    }
1611
1612
1613    function computeWeekdaysParse() {
1614        function cmpLenRev(a, b) {
1615            return b.length - a.length;
1616        }
1617
1618        var minPieces = [], shortPieces = [], longPieces = [], mixedPieces = [],
1619            i, mom, minp, shortp, longp;
1620        for (i = 0; i < 7; i++) {
1621            // make the regex if we don't have it already
1622            mom = createUTC([2000, 1]).day(i);
1623            minp = this.weekdaysMin(mom, '');
1624            shortp = this.weekdaysShort(mom, '');
1625            longp = this.weekdays(mom, '');
1626            minPieces.push(minp);
1627            shortPieces.push(shortp);
1628            longPieces.push(longp);
1629            mixedPieces.push(minp);
1630            mixedPieces.push(shortp);
1631            mixedPieces.push(longp);
1632        }
1633        // Sorting makes sure if one weekday (or abbr) is a prefix of another it
1634        // will match the longer piece.
1635        minPieces.sort(cmpLenRev);
1636        shortPieces.sort(cmpLenRev);
1637        longPieces.sort(cmpLenRev);
1638        mixedPieces.sort(cmpLenRev);
1639        for (i = 0; i < 7; i++) {
1640            shortPieces[i] = regexEscape(shortPieces[i]);
1641            longPieces[i] = regexEscape(longPieces[i]);
1642            mixedPieces[i] = regexEscape(mixedPieces[i]);
1643        }
1644
1645        this._weekdaysRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');
1646        this._weekdaysShortRegex = this._weekdaysRegex;
1647        this._weekdaysMinRegex = this._weekdaysRegex;
1648
1649        this._weekdaysStrictRegex = new RegExp('^(' + longPieces.join('|') + ')', 'i');
1650        this._weekdaysShortStrictRegex = new RegExp('^(' + shortPieces.join('|') + ')', 'i');
1651        this._weekdaysMinStrictRegex = new RegExp('^(' + minPieces.join('|') + ')', 'i');
1652    }
1653
1654    // FORMATTING
1655
1656    function hFormat() {
1657        return this.hours() % 12 || 12;
1658    }
1659
1660    function kFormat() {
1661        return this.hours() || 24;
1662    }
1663
1664    addFormatToken('H', ['HH', 2], 0, 'hour');
1665    addFormatToken('h', ['hh', 2], 0, hFormat);
1666    addFormatToken('k', ['kk', 2], 0, kFormat);
1667
1668    addFormatToken('hmm', 0, 0, function () {
1669        return '' + hFormat.apply(this) + zeroFill(this.minutes(), 2);
1670    });
1671
1672    addFormatToken('hmmss', 0, 0, function () {
1673        return '' + hFormat.apply(this) + zeroFill(this.minutes(), 2) +
1674            zeroFill(this.seconds(), 2);
1675    });
1676
1677    addFormatToken('Hmm', 0, 0, function () {
1678        return '' + this.hours() + zeroFill(this.minutes(), 2);
1679    });
1680
1681    addFormatToken('Hmmss', 0, 0, function () {
1682        return '' + this.hours() + zeroFill(this.minutes(), 2) +
1683            zeroFill(this.seconds(), 2);
1684    });
1685
1686    function meridiem(token, lowercase) {
1687        addFormatToken(token, 0, 0, function () {
1688            return this.localeData().meridiem(this.hours(), this.minutes(), lowercase);
1689        });
1690    }
1691
1692    meridiem('a', true);
1693    meridiem('A', false);
1694
1695    // ALIASES
1696
1697    addUnitAlias('hour', 'h');
1698
1699    // PRIORITY
1700    addUnitPriority('hour', 13);
1701
1702    // PARSING
1703
1704    function matchMeridiem(isStrict, locale) {
1705        return locale._meridiemParse;
1706    }
1707
1708    addRegexToken('a', matchMeridiem);
1709    addRegexToken('A', matchMeridiem);
1710    addRegexToken('H', match1to2);
1711    addRegexToken('h', match1to2);
1712    addRegexToken('k', match1to2);
1713    addRegexToken('HH', match1to2, match2);
1714    addRegexToken('hh', match1to2, match2);
1715    addRegexToken('kk', match1to2, match2);
1716
1717    addRegexToken('hmm', match3to4);
1718    addRegexToken('hmmss', match5to6);
1719    addRegexToken('Hmm', match3to4);
1720    addRegexToken('Hmmss', match5to6);
1721
1722    addParseToken(['H', 'HH'], HOUR);
1723    addParseToken(['k', 'kk'], function (input, array, config) {
1724        var kInput = toInt(input);
1725        array[HOUR] = kInput === 24 ? 0 : kInput;
1726    });
1727    addParseToken(['a', 'A'], function (input, array, config) {
1728        config._isPm = config._locale.isPM(input);
1729        config._meridiem = input;
1730    });
1731    addParseToken(['h', 'hh'], function (input, array, config) {
1732        array[HOUR] = toInt(input);
1733        getParsingFlags(config).bigHour = true;
1734    });
1735    addParseToken('hmm', function (input, array, config) {
1736        var pos = input.length - 2;
1737        array[HOUR] = toInt(input.substr(0, pos));
1738        array[MINUTE] = toInt(input.substr(pos));
1739        getParsingFlags(config).bigHour = true;
1740    });
1741    addParseToken('hmmss', function (input, array, config) {
1742        var pos1 = input.length - 4;
1743        var pos2 = input.length - 2;
1744        array[HOUR] = toInt(input.substr(0, pos1));
1745        array[MINUTE] = toInt(input.substr(pos1, 2));
1746        array[SECOND] = toInt(input.substr(pos2));
1747        getParsingFlags(config).bigHour = true;
1748    });
1749    addParseToken('Hmm', function (input, array, config) {
1750        var pos = input.length - 2;
1751        array[HOUR] = toInt(input.substr(0, pos));
1752        array[MINUTE] = toInt(input.substr(pos));
1753    });
1754    addParseToken('Hmmss', function (input, array, config) {
1755        var pos1 = input.length - 4;
1756        var pos2 = input.length - 2;
1757        array[HOUR] = toInt(input.substr(0, pos1));
1758        array[MINUTE] = toInt(input.substr(pos1, 2));
1759        array[SECOND] = toInt(input.substr(pos2));
1760    });
1761
1762    // LOCALES
1763
1764    function localeIsPM(input) {
1765        // IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays
1766        // Using charAt should be more compatible.
1767        return ((input + '').toLowerCase().charAt(0) === 'p');
1768    }
1769
1770    var defaultLocaleMeridiemParse = /[ap]\.?m?\.?/i;
1771    function localeMeridiem(hours, minutes, isLower) {
1772        if (hours > 11) {
1773            return isLower ? 'pm' : 'PM';
1774        } else {
1775            return isLower ? 'am' : 'AM';
1776        }
1777    }
1778
1779
1780    // MOMENTS
1781
1782    // Setting the hour should keep the time, because the user explicitly
1783    // specified which hour they want. So trying to maintain the same hour (in
1784    // a new timezone) makes sense. Adding/subtracting hours does not follow
1785    // this rule.
1786    var getSetHour = makeGetSet('Hours', true);
1787
1788    var baseConfig = {
1789        calendar: defaultCalendar,
1790        longDateFormat: defaultLongDateFormat,
1791        invalidDate: defaultInvalidDate,
1792        ordinal: defaultOrdinal,
1793        dayOfMonthOrdinalParse: defaultDayOfMonthOrdinalParse,
1794        relativeTime: defaultRelativeTime,
1795
1796        months: defaultLocaleMonths,
1797        monthsShort: defaultLocaleMonthsShort,
1798
1799        week: defaultLocaleWeek,
1800
1801        weekdays: defaultLocaleWeekdays,
1802        weekdaysMin: defaultLocaleWeekdaysMin,
1803        weekdaysShort: defaultLocaleWeekdaysShort,
1804
1805        meridiemParse: defaultLocaleMeridiemParse
1806    };
1807
1808    // internal storage for locale config files
1809    var locales = {};
1810    var localeFamilies = {};
1811    var globalLocale;
1812
1813    function normalizeLocale(key) {
1814        return key ? key.toLowerCase().replace('_', '-') : key;
1815    }
1816
1817    // pick the locale from the array
1818    // try ['en-au', 'en-gb'] as 'en-au', 'en-gb', 'en', as in move through the list trying each
1819    // substring from most specific to least, but move to the next array item if it's a more specific variant than the current root
1820    function chooseLocale(names) {
1821        var i = 0, j, next, locale, split;
1822
1823        while (i < names.length) {
1824            split = normalizeLocale(names[i]).split('-');
1825            j = split.length;
1826            next = normalizeLocale(names[i + 1]);
1827            next = next ? next.split('-') : null;
1828            while (j > 0) {
1829                locale = loadLocale(split.slice(0, j).join('-'));
1830                if (locale) {
1831                    return locale;
1832                }
1833                if (next && next.length >= j && compareArrays(split, next, true) >= j - 1) {
1834                    //the next array item is better than a shallower substring of this one
1835                    break;
1836                }
1837                j--;
1838            }
1839            i++;
1840        }
1841        return globalLocale;
1842    }
1843
1844    function loadLocale(name) {
1845        var oldLocale = null;
1846        // TODO: Find a better way to register and load all the locales in Node
1847        if (!locales[name] && (typeof module !== 'undefined') &&
1848            module && module.exports) {
1849            try {
1850                oldLocale = globalLocale._abbr;
1851                var aliasedRequire = require;
1852                aliasedRequire('./locale/' + name);
1853                getSetGlobalLocale(oldLocale);
1854            } catch (e) { }
1855        }
1856        return locales[name];
1857    }
1858
1859    // This function will load locale and then set the global locale.  If
1860    // no arguments are passed in, it will simply return the current global
1861    // locale key.
1862    function getSetGlobalLocale(key, values) {
1863        var data;
1864        if (key) {
1865            if (isUndefined(values)) {
1866                data = getLocale(key);
1867            }
1868            else {
1869                data = defineLocale(key, values);
1870            }
1871
1872            if (data) {
1873                // moment.duration._locale = moment._locale = data;
1874                globalLocale = data;
1875            }
1876            else {
1877                if ((typeof console !== 'undefined') && console.warn) {
1878                    //warn user if arguments are passed but the locale could not be set
1879                    console.warn('Locale ' + key + ' not found. Did you forget to load it?');
1880                }
1881            }
1882        }
1883
1884        return globalLocale._abbr;
1885    }
1886
1887    function defineLocale(name, config) {
1888        if (config !== null) {
1889            var locale, parentConfig = baseConfig;
1890            config.abbr = name;
1891            if (locales[name] != null) {
1892                deprecateSimple('defineLocaleOverride',
1893                    'use moment.updateLocale(localeName, config) to change ' +
1894                    'an existing locale. moment.defineLocale(localeName, ' +
1895                    'config) should only be used for creating a new locale ' +
1896                    'See http://momentjs.com/guides/#/warnings/define-locale/ for more info.');
1897                parentConfig = locales[name]._config;
1898            } else if (config.parentLocale != null) {
1899                if (locales[config.parentLocale] != null) {
1900                    parentConfig = locales[config.parentLocale]._config;
1901                } else {
1902                    locale = loadLocale(config.parentLocale);
1903                    if (locale != null) {
1904                        parentConfig = locale._config;
1905                    } else {
1906                        if (!localeFamilies[config.parentLocale]) {
1907                            localeFamilies[config.parentLocale] = [];
1908                        }
1909                        localeFamilies[config.parentLocale].push({
1910                            name: name,
1911                            config: config
1912                        });
1913                        return null;
1914                    }
1915                }
1916            }
1917            locales[name] = new Locale(mergeConfigs(parentConfig, config));
1918
1919            if (localeFamilies[name]) {
1920                localeFamilies[name].forEach(function (x) {
1921                    defineLocale(x.name, x.config);
1922                });
1923            }
1924
1925            // backwards compat for now: also set the locale
1926            // make sure we set the locale AFTER all child locales have been
1927            // created, so we won't end up with the child locale set.
1928            getSetGlobalLocale(name);
1929
1930
1931            return locales[name];
1932        } else {
1933            // useful for testing
1934            delete locales[name];
1935            return null;
1936        }
1937    }
1938
1939    function updateLocale(name, config) {
1940        if (config != null) {
1941            var locale, tmpLocale, parentConfig = baseConfig;
1942            // MERGE
1943            tmpLocale = loadLocale(name);
1944            if (tmpLocale != null) {
1945                parentConfig = tmpLocale._config;
1946            }
1947            config = mergeConfigs(parentConfig, config);
1948            locale = new Locale(config);
1949            locale.parentLocale = locales[name];
1950            locales[name] = locale;
1951
1952            // backwards compat for now: also set the locale
1953            getSetGlobalLocale(name);
1954        } else {
1955            // pass null for config to unupdate, useful for tests
1956            if (locales[name] != null) {
1957                if (locales[name].parentLocale != null) {
1958                    locales[name] = locales[name].parentLocale;
1959                } else if (locales[name] != null) {
1960                    delete locales[name];
1961                }
1962            }
1963        }
1964        return locales[name];
1965    }
1966
1967    // returns locale data
1968    function getLocale(key) {
1969        var locale;
1970
1971        if (key && key._locale && key._locale._abbr) {
1972            key = key._locale._abbr;
1973        }
1974
1975        if (!key) {
1976            return globalLocale;
1977        }
1978
1979        if (!isArray(key)) {
1980            //short-circuit everything else
1981            locale = loadLocale(key);
1982            if (locale) {
1983                return locale;
1984            }
1985            key = [key];
1986        }
1987
1988        return chooseLocale(key);
1989    }
1990
1991    function listLocales() {
1992        return keys(locales);
1993    }
1994
1995    function checkOverflow(m) {
1996        var overflow;
1997        var a = m._a;
1998
1999        if (a && getParsingFlags(m).overflow === -2) {
2000            overflow =
2001                a[MONTH] < 0 || a[MONTH] > 11 ? MONTH :
2002                    a[DATE] < 1 || a[DATE] > daysInMonth(a[YEAR], a[MONTH]) ? DATE :
2003                        a[HOUR] < 0 || a[HOUR] > 24 || (a[HOUR] === 24 && (a[MINUTE] !== 0 || a[SECOND] !== 0 || a[MILLISECOND] !== 0)) ? HOUR :
2004                            a[MINUTE] < 0 || a[MINUTE] > 59 ? MINUTE :
2005                                a[SECOND] < 0 || a[SECOND] > 59 ? SECOND :
2006                                    a[MILLISECOND] < 0 || a[MILLISECOND] > 999 ? MILLISECOND :
2007                                        -1;
2008
2009            if (getParsingFlags(m)._overflowDayOfYear && (overflow < YEAR || overflow > DATE)) {
2010                overflow = DATE;
2011            }
2012            if (getParsingFlags(m)._overflowWeeks && overflow === -1) {
2013                overflow = WEEK;
2014            }
2015            if (getParsingFlags(m)._overflowWeekday && overflow === -1) {
2016                overflow = WEEKDAY;
2017            }
2018
2019            getParsingFlags(m).overflow = overflow;
2020        }
2021
2022        return m;
2023    }
2024
2025    // Pick the first defined of two or three arguments.
2026    function defaults(a, b, c) {
2027        if (a != null) {
2028            return a;
2029        }
2030        if (b != null) {
2031            return b;
2032        }
2033        return c;
2034    }
2035
2036    function currentDateArray(config) {
2037        // hooks is actually the exported moment object
2038        var nowValue = new Date(hooks.now());
2039        if (config._useUTC) {
2040            return [nowValue.getUTCFullYear(), nowValue.getUTCMonth(), nowValue.getUTCDate()];
2041        }
2042        return [nowValue.getFullYear(), nowValue.getMonth(), nowValue.getDate()];
2043    }
2044
2045    // convert an array to a date.
2046    // the array should mirror the parameters below
2047    // note: all values past the year are optional and will default to the lowest possible value.
2048    // [year, month, day , hour, minute, second, millisecond]
2049    function configFromArray(config) {
2050        var i, date, input = [], currentDate, expectedWeekday, yearToUse;
2051
2052        if (config._d) {
2053            return;
2054        }
2055
2056        currentDate = currentDateArray(config);
2057
2058        //compute day of the year from weeks and weekdays
2059        if (config._w && config._a[DATE] == null && config._a[MONTH] == null) {
2060            dayOfYearFromWeekInfo(config);
2061        }
2062
2063        //if the day of the year is set, figure out what it is
2064        if (config._dayOfYear != null) {
2065            yearToUse = defaults(config._a[YEAR], currentDate[YEAR]);
2066
2067            if (config._dayOfYear > daysInYear(yearToUse) || config._dayOfYear === 0) {
2068                getParsingFlags(config)._overflowDayOfYear = true;
2069            }
2070
2071            date = createUTCDate(yearToUse, 0, config._dayOfYear);
2072            config._a[MONTH] = date.getUTCMonth();
2073            config._a[DATE] = date.getUTCDate();
2074        }
2075
2076        // Default to current date.
2077        // * if no year, month, day of month are given, default to today
2078        // * if day of month is given, default month and year
2079        // * if month is given, default only year
2080        // * if year is given, don't default anything
2081        for (i = 0; i < 3 && config._a[i] == null; ++i) {
2082            config._a[i] = input[i] = currentDate[i];
2083        }
2084
2085        // Zero out whatever was not defaulted, including time
2086        for (; i < 7; i++) {
2087            config._a[i] = input[i] = (config._a[i] == null) ? (i === 2 ? 1 : 0) : config._a[i];
2088        }
2089
2090        // Check for 24:00:00.000
2091        if (config._a[HOUR] === 24 &&
2092            config._a[MINUTE] === 0 &&
2093            config._a[SECOND] === 0 &&
2094            config._a[MILLISECOND] === 0) {
2095            config._nextDay = true;
2096            config._a[HOUR] = 0;
2097        }
2098
2099        config._d = (config._useUTC ? createUTCDate : createDate).apply(null, input);
2100        expectedWeekday = config._useUTC ? config._d.getUTCDay() : config._d.getDay();
2101
2102        // Apply timezone offset from input. The actual utcOffset can be changed
2103        // with parseZone.
2104        if (config._tzm != null) {
2105            config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm);
2106        }
2107
2108        if (config._nextDay) {
2109            config._a[HOUR] = 24;
2110        }
2111
2112        // check for mismatching day of week
2113        if (config._w && typeof config._w.d !== 'undefined' && config._w.d !== expectedWeekday) {
2114            getParsingFlags(config).weekdayMismatch = true;
2115        }
2116    }
2117
2118    function dayOfYearFromWeekInfo(config) {
2119        var w, weekYear, week, weekday, dow, doy, temp, weekdayOverflow;
2120
2121        w = config._w;
2122        if (w.GG != null || w.W != null || w.E != null) {
2123            dow = 1;
2124            doy = 4;
2125
2126            // TODO: We need to take the current isoWeekYear, but that depends on
2127            // how we interpret now (local, utc, fixed offset). So create
2128            // a now version of current config (take local/utc/offset flags, and
2129            // create now).
2130            weekYear = defaults(w.GG, config._a[YEAR], weekOfYear(createLocal(), 1, 4).year);
2131            week = defaults(w.W, 1);
2132            weekday = defaults(w.E, 1);
2133            if (weekday < 1 || weekday > 7) {
2134                weekdayOverflow = true;
2135            }
2136        } else {
2137            dow = config._locale._week.dow;
2138            doy = config._locale._week.doy;
2139
2140            var curWeek = weekOfYear(createLocal(), dow, doy);
2141
2142            weekYear = defaults(w.gg, config._a[YEAR], curWeek.year);
2143
2144            // Default to current week.
2145            week = defaults(w.w, curWeek.week);
2146
2147            if (w.d != null) {
2148                // weekday -- low day numbers are considered next week
2149                weekday = w.d;
2150                if (weekday < 0 || weekday > 6) {
2151                    weekdayOverflow = true;
2152                }
2153            } else if (w.e != null) {
2154                // local weekday -- counting starts from beginning of week
2155                weekday = w.e + dow;
2156                if (w.e < 0 || w.e > 6) {
2157                    weekdayOverflow = true;
2158                }
2159            } else {
2160                // default to beginning of week
2161                weekday = dow;
2162            }
2163        }
2164        if (week < 1 || week > weeksInYear(weekYear, dow, doy)) {
2165            getParsingFlags(config)._overflowWeeks = true;
2166        } else if (weekdayOverflow != null) {
2167            getParsingFlags(config)._overflowWeekday = true;
2168        } else {
2169            temp = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy);
2170            config._a[YEAR] = temp.year;
2171            config._dayOfYear = temp.dayOfYear;
2172        }
2173    }
2174
2175    // iso 8601 regex
2176    // 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000 + +00:00 or +0000 or +00)
2177    var extendedIsoRegex = /^\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)?)?$/;
2178    var basicIsoRegex = /^\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)?)?$/;
2179
2180    var tzRegex = /Z|[+-]\d\d(?::?\d\d)?/;
2181
2182    var isoDates = [
2183        ['YYYYYY-MM-DD', /[+-]\d{6}-\d\d-\d\d/],
2184        ['YYYY-MM-DD', /\d{4}-\d\d-\d\d/],
2185        ['GGGG-[W]WW-E', /\d{4}-W\d\d-\d/],
2186        ['GGGG-[W]WW', /\d{4}-W\d\d/, false],
2187        ['YYYY-DDD', /\d{4}-\d{3}/],
2188        ['YYYY-MM', /\d{4}-\d\d/, false],
2189        ['YYYYYYMMDD', /[+-]\d{10}/],
2190        ['YYYYMMDD', /\d{8}/],
2191        // YYYYMM is NOT allowed by the standard
2192        ['GGGG[W]WWE', /\d{4}W\d{3}/],
2193        ['GGGG[W]WW', /\d{4}W\d{2}/, false],
2194        ['YYYYDDD', /\d{7}/]
2195    ];
2196
2197    // iso time formats and regexes
2198    var isoTimes = [
2199        ['HH:mm:ss.SSSS', /\d\d:\d\d:\d\d\.\d+/],
2200        ['HH:mm:ss,SSSS', /\d\d:\d\d:\d\d,\d+/],
2201        ['HH:mm:ss', /\d\d:\d\d:\d\d/],
2202        ['HH:mm', /\d\d:\d\d/],
2203        ['HHmmss.SSSS', /\d\d\d\d\d\d\.\d+/],
2204        ['HHmmss,SSSS', /\d\d\d\d\d\d,\d+/],
2205        ['HHmmss', /\d\d\d\d\d\d/],
2206        ['HHmm', /\d\d\d\d/],
2207        ['HH', /\d\d/]
2208    ];
2209
2210    var aspNetJsonRegex = /^\/?Date\((\-?\d+)/i;
2211
2212    // date from iso format
2213    function configFromISO(config) {
2214        var i, l,
2215            string = config._i,
2216            match = extendedIsoRegex.exec(string) || basicIsoRegex.exec(string),
2217            allowTime, dateFormat, timeFormat, tzFormat;
2218
2219        if (match) {
2220            getParsingFlags(config).iso = true;
2221
2222            for (i = 0, l = isoDates.length; i < l; i++) {
2223                if (isoDates[i][1].exec(match[1])) {
2224                    dateFormat = isoDates[i][0];
2225                    allowTime = isoDates[i][2] !== false;
2226                    break;
2227                }
2228            }
2229            if (dateFormat == null) {
2230                config._isValid = false;
2231                return;
2232            }
2233            if (match[3]) {
2234                for (i = 0, l = isoTimes.length; i < l; i++) {
2235                    if (isoTimes[i][1].exec(match[3])) {
2236                        // match[2] should be 'T' or space
2237                        timeFormat = (match[2] || ' ') + isoTimes[i][0];
2238                        break;
2239                    }
2240                }
2241                if (timeFormat == null) {
2242                    config._isValid = false;
2243                    return;
2244                }
2245            }
2246            if (!allowTime && timeFormat != null) {
2247                config._isValid = false;
2248                return;
2249            }
2250            if (match[4]) {
2251                if (tzRegex.exec(match[4])) {
2252                    tzFormat = 'Z';
2253                } else {
2254                    config._isValid = false;
2255                    return;
2256                }
2257            }
2258            config._f = dateFormat + (timeFormat || '') + (tzFormat || '');
2259            configFromStringAndFormat(config);
2260        } else {
2261            config._isValid = false;
2262        }
2263    }
2264
2265    // RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3
2266    var rfc2822 = /^(?:(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}))$/;
2267
2268    function extractFromRFC2822Strings(yearStr, monthStr, dayStr, hourStr, minuteStr, secondStr) {
2269        var result = [
2270            untruncateYear(yearStr),
2271            defaultLocaleMonthsShort.indexOf(monthStr),
2272            parseInt(dayStr, 10),
2273            parseInt(hourStr, 10),
2274            parseInt(minuteStr, 10)
2275        ];
2276
2277        if (secondStr) {
2278            result.push(parseInt(secondStr, 10));
2279        }
2280
2281        return result;
2282    }
2283
2284    function untruncateYear(yearStr) {
2285        var year = parseInt(yearStr, 10);
2286        if (year <= 49) {
2287            return 2000 + year;
2288        } else if (year <= 999) {
2289            return 1900 + year;
2290        }
2291        return year;
2292    }
2293
2294    function preprocessRFC2822(s) {
2295        // Remove comments and folding whitespace and replace multiple-spaces with a single space
2296        return s.replace(/\([^)]*\)|[\n\t]/g, ' ').replace(/(\s\s+)/g, ' ').replace(/^\s\s*/, '').replace(/\s\s*$/, '');
2297    }
2298
2299    function checkWeekday(weekdayStr, parsedInput, config) {
2300        if (weekdayStr) {
2301            // TODO: Replace the vanilla JS Date object with an indepentent day-of-week check.
2302            var weekdayProvided = defaultLocaleWeekdaysShort.indexOf(weekdayStr),
2303                weekdayActual = new Date(parsedInput[0], parsedInput[1], parsedInput[2]).getDay();
2304            if (weekdayProvided !== weekdayActual) {
2305                getParsingFlags(config).weekdayMismatch = true;
2306                config._isValid = false;
2307                return false;
2308            }
2309        }
2310        return true;
2311    }
2312
2313    var obsOffsets = {
2314        UT: 0,
2315        GMT: 0,
2316        EDT: -4 * 60,
2317        EST: -5 * 60,
2318        CDT: -5 * 60,
2319        CST: -6 * 60,
2320        MDT: -6 * 60,
2321        MST: -7 * 60,
2322        PDT: -7 * 60,
2323        PST: -8 * 60
2324    };
2325
2326    function calculateOffset(obsOffset, militaryOffset, numOffset) {
2327        if (obsOffset) {
2328            return obsOffsets[obsOffset];
2329        } else if (militaryOffset) {
2330            // the only allowed military tz is Z
2331            return 0;
2332        } else {
2333            var hm = parseInt(numOffset, 10);
2334            var m = hm % 100, h = (hm - m) / 100;
2335            return h * 60 + m;
2336        }
2337    }
2338
2339    // date and time from ref 2822 format
2340    function configFromRFC2822(config) {
2341        var match = rfc2822.exec(preprocessRFC2822(config._i));
2342        if (match) {
2343            var parsedArray = extractFromRFC2822Strings(match[4], match[3], match[2], match[5], match[6], match[7]);
2344            if (!checkWeekday(match[1], parsedArray, config)) {
2345                return;
2346            }
2347
2348            config._a = parsedArray;
2349            config._tzm = calculateOffset(match[8], match[9], match[10]);
2350
2351            config._d = createUTCDate.apply(null, config._a);
2352            config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm);
2353
2354            getParsingFlags(config).rfc2822 = true;
2355        } else {
2356            config._isValid = false;
2357        }
2358    }
2359
2360    // date from iso format or fallback
2361    function configFromString(config) {
2362        var matched = aspNetJsonRegex.exec(config._i);
2363
2364        if (matched !== null) {
2365            config._d = new Date(+matched[1]);
2366            return;
2367        }
2368
2369        configFromISO(config);
2370        if (config._isValid === false) {
2371            delete config._isValid;
2372        } else {
2373            return;
2374        }
2375
2376        configFromRFC2822(config);
2377        if (config._isValid === false) {
2378            delete config._isValid;
2379        } else {
2380            return;
2381        }
2382
2383        // Final attempt, use Input Fallback
2384        hooks.createFromInputFallback(config);
2385    }
2386
2387    hooks.createFromInputFallback = deprecate(
2388        'value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), ' +
2389        'which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are ' +
2390        'discouraged and will be removed in an upcoming major release. Please refer to ' +
2391        'http://momentjs.com/guides/#/warnings/js-date/ for more info.',
2392        function (config) {
2393            config._d = new Date(config._i + (config._useUTC ? ' UTC' : ''));
2394        }
2395    );
2396
2397    // constant that refers to the ISO standard
2398    hooks.ISO_8601 = function () { };
2399
2400    // constant that refers to the RFC 2822 form
2401    hooks.RFC_2822 = function () { };
2402
2403    // date from string and format string
2404    function configFromStringAndFormat(config) {
2405        // TODO: Move this to another part of the creation flow to prevent circular deps
2406        if (config._f === hooks.ISO_8601) {
2407            configFromISO(config);
2408            return;
2409        }
2410        if (config._f === hooks.RFC_2822) {
2411            configFromRFC2822(config);
2412            return;
2413        }
2414        config._a = [];
2415        getParsingFlags(config).empty = true;
2416
2417        // This array is used to make a Date, either with `new Date` or `Date.UTC`
2418        var string = '' + config._i,
2419            i, parsedInput, tokens, token, skipped,
2420            stringLength = string.length,
2421            totalParsedInputLength = 0;
2422
2423        tokens = expandFormat(config._f, config._locale).match(formattingTokens) || [];
2424
2425        for (i = 0; i < tokens.length; i++) {
2426            token = tokens[i];
2427            parsedInput = (string.match(getParseRegexForToken(token, config)) || [])[0];
2428            // console.log('token', token, 'parsedInput', parsedInput,
2429            //         'regex', getParseRegexForToken(token, config));
2430            if (parsedInput) {
2431                skipped = string.substr(0, string.indexOf(parsedInput));
2432                if (skipped.length > 0) {
2433                    getParsingFlags(config).unusedInput.push(skipped);
2434                }
2435                string = string.slice(string.indexOf(parsedInput) + parsedInput.length);
2436                totalParsedInputLength += parsedInput.length;
2437            }
2438            // don't parse if it's not a known token
2439            if (formatTokenFunctions[token]) {
2440                if (parsedInput) {
2441                    getParsingFlags(config).empty = false;
2442                }
2443                else {
2444                    getParsingFlags(config).unusedTokens.push(token);
2445                }
2446                addTimeToArrayFromToken(token, parsedInput, config);
2447            }
2448            else if (config._strict && !parsedInput) {
2449                getParsingFlags(config).unusedTokens.push(token);
2450            }
2451        }
2452
2453        // add remaining unparsed input length to the string
2454        getParsingFlags(config).charsLeftOver = stringLength - totalParsedInputLength;
2455        if (string.length > 0) {
2456            getParsingFlags(config).unusedInput.push(string);
2457        }
2458
2459        // clear _12h flag if hour is <= 12
2460        if (config._a[HOUR] <= 12 &&
2461            getParsingFlags(config).bigHour === true &&
2462            config._a[HOUR] > 0) {
2463            getParsingFlags(config).bigHour = undefined;
2464        }
2465
2466        getParsingFlags(config).parsedDateParts = config._a.slice(0);
2467        getParsingFlags(config).meridiem = config._meridiem;
2468        // handle meridiem
2469        config._a[HOUR] = meridiemFixWrap(config._locale, config._a[HOUR], config._meridiem);
2470
2471        configFromArray(config);
2472        checkOverflow(config);
2473    }
2474
2475
2476    function meridiemFixWrap(locale, hour, meridiem) {
2477        var isPm;
2478
2479        if (meridiem == null) {
2480            // nothing to do
2481            return hour;
2482        }
2483        if (locale.meridiemHour != null) {
2484            return locale.meridiemHour(hour, meridiem);
2485        } else if (locale.isPM != null) {
2486            // Fallback
2487            isPm = locale.isPM(meridiem);
2488            if (isPm && hour < 12) {
2489                hour += 12;
2490            }
2491            if (!isPm && hour === 12) {
2492                hour = 0;
2493            }
2494            return hour;
2495        } else {
2496            // this is not supposed to happen
2497            return hour;
2498        }
2499    }
2500
2501    // date from string and array of format strings
2502    function configFromStringAndArray(config) {
2503        var tempConfig,
2504            bestMoment,
2505
2506            scoreToBeat,
2507            i,
2508            currentScore;
2509
2510        if (config._f.length === 0) {
2511            getParsingFlags(config).invalidFormat = true;
2512            config._d = new Date(NaN);
2513            return;
2514        }
2515
2516        for (i = 0; i < config._f.length; i++) {
2517            currentScore = 0;
2518            tempConfig = copyConfig({}, config);
2519            if (config._useUTC != null) {
2520                tempConfig._useUTC = config._useUTC;
2521            }
2522            tempConfig._f = config._f[i];
2523            configFromStringAndFormat(tempConfig);
2524
2525            if (!isValid(tempConfig)) {
2526                continue;
2527            }
2528
2529            // if there is any input that was not parsed add a penalty for that format
2530            currentScore += getParsingFlags(tempConfig).charsLeftOver;
2531
2532            //or tokens
2533            currentScore += getParsingFlags(tempConfig).unusedTokens.length * 10;
2534
2535            getParsingFlags(tempConfig).score = currentScore;
2536
2537            if (scoreToBeat == null || currentScore < scoreToBeat) {
2538                scoreToBeat = currentScore;
2539                bestMoment = tempConfig;
2540            }
2541        }
2542
2543        extend(config, bestMoment || tempConfig);
2544    }
2545
2546    function configFromObject(config) {
2547        if (config._d) {
2548            return;
2549        }
2550
2551        var i = normalizeObjectUnits(config._i);
2552        config._a = map([i.year, i.month, i.day || i.date, i.hour, i.minute, i.second, i.millisecond], function (obj) {
2553            return obj && parseInt(obj, 10);
2554        });
2555
2556        configFromArray(config);
2557    }
2558
2559    function createFromConfig(config) {
2560        var res = new Moment(checkOverflow(prepareConfig(config)));
2561        if (res._nextDay) {
2562            // Adding is smart enough around DST
2563            res.add(1, 'd');
2564            res._nextDay = undefined;
2565        }
2566
2567        return res;
2568    }
2569
2570    function prepareConfig(config) {
2571        var input = config._i,
2572            format = config._f;
2573
2574        config._locale = config._locale || getLocale(config._l);
2575
2576        if (input === null || (format === undefined && input === '')) {
2577            return createInvalid({ nullInput: true });
2578        }
2579
2580        if (typeof input === 'string') {
2581            config._i = input = config._locale.preparse(input);
2582        }
2583
2584        if (isMoment(input)) {
2585            return new Moment(checkOverflow(input));
2586        } else if (isDate(input)) {
2587            config._d = input;
2588        } else if (isArray(format)) {
2589            configFromStringAndArray(config);
2590        } else if (format) {
2591            configFromStringAndFormat(config);
2592        } else {
2593            configFromInput(config);
2594        }
2595
2596        if (!isValid(config)) {
2597            config._d = null;
2598        }
2599
2600        return config;
2601    }
2602
2603    function configFromInput(config) {
2604        var input = config._i;
2605        if (isUndefined(input)) {
2606            config._d = new Date(hooks.now());
2607        } else if (isDate(input)) {
2608            config._d = new Date(input.valueOf());
2609        } else if (typeof input === 'string') {
2610            configFromString(config);
2611        } else if (isArray(input)) {
2612            config._a = map(input.slice(0), function (obj) {
2613                return parseInt(obj, 10);
2614            });
2615            configFromArray(config);
2616        } else if (isObject(input)) {
2617            configFromObject(config);
2618        } else if (isNumber(input)) {
2619            // from milliseconds
2620            config._d = new Date(input);
2621        } else {
2622            hooks.createFromInputFallback(config);
2623        }
2624    }
2625
2626    function createLocalOrUTC(input, format, locale, strict, isUTC) {
2627        var c = {};
2628
2629        if (locale === true || locale === false) {
2630            strict = locale;
2631            locale = undefined;
2632        }
2633
2634        if ((isObject(input) && isObjectEmpty(input)) ||
2635            (isArray(input) && input.length === 0)) {
2636            input = undefined;
2637        }
2638        // object construction must be done this way.
2639        // https://github.com/moment/moment/issues/1423
2640        c._isAMomentObject = true;
2641        c._useUTC = c._isUTC = isUTC;
2642        c._l = locale;
2643        c._i = input;
2644        c._f = format;
2645        c._strict = strict;
2646
2647        return createFromConfig(c);
2648    }
2649
2650    function createLocal(input, format, locale, strict) {
2651        return createLocalOrUTC(input, format, locale, strict, false);
2652    }
2653
2654    var prototypeMin = deprecate(
2655        'moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/',
2656        function () {
2657            var other = createLocal.apply(null, arguments);
2658            if (this.isValid() && other.isValid()) {
2659                return other < this ? this : other;
2660            } else {
2661                return createInvalid();
2662            }
2663        }
2664    );
2665
2666    var prototypeMax = deprecate(
2667        'moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/',
2668        function () {
2669            var other = createLocal.apply(null, arguments);
2670            if (this.isValid() && other.isValid()) {
2671                return other > this ? this : other;
2672            } else {
2673                return createInvalid();
2674            }
2675        }
2676    );
2677
2678    // Pick a moment m from moments so that m[fn](other) is true for all
2679    // other. This relies on the function fn to be transitive.
2680    //
2681    // moments should either be an array of moment objects or an array, whose
2682    // first element is an array of moment objects.
2683    function pickBy(fn, moments) {
2684        var res, i;
2685        if (moments.length === 1 && isArray(moments[0])) {
2686            moments = moments[0];
2687        }
2688        if (!moments.length) {
2689            return createLocal();
2690        }
2691        res = moments[0];
2692        for (i = 1; i < moments.length; ++i) {
2693            if (!moments[i].isValid() || moments[i][fn](res)) {
2694                res = moments[i];
2695            }
2696        }
2697        return res;
2698    }
2699
2700    // TODO: Use [].sort instead?
2701    function min() {
2702        var args = [].slice.call(arguments, 0);
2703
2704        return pickBy('isBefore', args);
2705    }
2706
2707    function max() {
2708        var args = [].slice.call(arguments, 0);
2709
2710        return pickBy('isAfter', args);
2711    }
2712
2713    var now = function () {
2714        return Date.now ? Date.now() : +(new Date());
2715    };
2716
2717    var ordering = ['year', 'quarter', 'month', 'week', 'day', 'hour', 'minute', 'second', 'millisecond'];
2718
2719    function isDurationValid(m) {
2720        for (var key in m) {
2721            if (!(indexOf.call(ordering, key) !== -1 && (m[key] == null || !isNaN(m[key])))) {
2722                return false;
2723            }
2724        }
2725
2726        var unitHasDecimal = false;
2727        for (var i = 0; i < ordering.length; ++i) {
2728            if (m[ordering[i]]) {
2729                if (unitHasDecimal) {
2730                    return false; // only allow non-integers for smallest unit
2731                }
2732                if (parseFloat(m[ordering[i]]) !== toInt(m[ordering[i]])) {
2733                    unitHasDecimal = true;
2734                }
2735            }
2736        }
2737
2738        return true;
2739    }
2740
2741    function isValid$1() {
2742        return this._isValid;
2743    }
2744
2745    function createInvalid$1() {
2746        return createDuration(NaN);
2747    }
2748
2749    function Duration(duration) {
2750        var normalizedInput = normalizeObjectUnits(duration),
2751            years = normalizedInput.year || 0,
2752            quarters = normalizedInput.quarter || 0,
2753            months = normalizedInput.month || 0,
2754            weeks = normalizedInput.week || normalizedInput.isoWeek || 0,
2755            days = normalizedInput.day || 0,
2756            hours = normalizedInput.hour || 0,
2757            minutes = normalizedInput.minute || 0,
2758            seconds = normalizedInput.second || 0,
2759            milliseconds = normalizedInput.millisecond || 0;
2760
2761        this._isValid = isDurationValid(normalizedInput);
2762
2763        // representation for dateAddRemove
2764        this._milliseconds = +milliseconds +
2765            seconds * 1e3 + // 1000
2766            minutes * 6e4 + // 1000 * 60
2767            hours * 1000 * 60 * 60; //using 1000 * 60 * 60 instead of 36e5 to avoid floating point rounding errors https://github.com/moment/moment/issues/2978
2768        // Because of dateAddRemove treats 24 hours as different from a
2769        // day when working around DST, we need to store them separately
2770        this._days = +days +
2771            weeks * 7;
2772        // It is impossible to translate months into days without knowing
2773        // which months you are are talking about, so we have to store
2774        // it separately.
2775        this._months = +months +
2776            quarters * 3 +
2777            years * 12;
2778
2779        this._data = {};
2780
2781        this._locale = getLocale();
2782
2783        this._bubble();
2784    }
2785
2786    function isDuration(obj) {
2787        return obj instanceof Duration;
2788    }
2789
2790    function absRound(number) {
2791        if (number < 0) {
2792            return Math.round(-1 * number) * -1;
2793        } else {
2794            return Math.round(number);
2795        }
2796    }
2797
2798    // FORMATTING
2799
2800    function offset(token, separator) {
2801        addFormatToken(token, 0, 0, function () {
2802            var offset = this.utcOffset();
2803            var sign = '+';
2804            if (offset < 0) {
2805                offset = -offset;
2806                sign = '-';
2807            }
2808            return sign + zeroFill(~~(offset / 60), 2) + separator + zeroFill(~~(offset) % 60, 2);
2809        });
2810    }
2811
2812    offset('Z', ':');
2813    offset('ZZ', '');
2814
2815    // PARSING
2816
2817    addRegexToken('Z', matchShortOffset);
2818    addRegexToken('ZZ', matchShortOffset);
2819    addParseToken(['Z', 'ZZ'], function (input, array, config) {
2820        config._useUTC = true;
2821        config._tzm = offsetFromString(matchShortOffset, input);
2822    });
2823
2824    // HELPERS
2825
2826    // timezone chunker
2827    // '+10:00' > ['10',  '00']
2828    // '-1530'  > ['-15', '30']
2829    var chunkOffset = /([\+\-]|\d\d)/gi;
2830
2831    function offsetFromString(matcher, string) {
2832        var matches = (string || '').match(matcher);
2833
2834        if (matches === null) {
2835            return null;
2836        }
2837
2838        var chunk = matches[matches.length - 1] || [];
2839        var parts = (chunk + '').match(chunkOffset) || ['-', 0, 0];
2840        var minutes = +(parts[1] * 60) + toInt(parts[2]);
2841
2842        return minutes === 0 ?
2843            0 :
2844            parts[0] === '+' ? minutes : -minutes;
2845    }
2846
2847    // Return a moment from input, that is local/utc/zone equivalent to model.
2848    function cloneWithOffset(input, model) {
2849        var res, diff;
2850        if (model._isUTC) {
2851            res = model.clone();
2852            diff = (isMoment(input) || isDate(input) ? input.valueOf() : createLocal(input).valueOf()) - res.valueOf();
2853            // Use low-level api, because this fn is low-level api.
2854            res._d.setTime(res._d.valueOf() + diff);
2855            hooks.updateOffset(res, false);
2856            return res;
2857        } else {
2858            return createLocal(input).local();
2859        }
2860    }
2861
2862    function getDateOffset(m) {
2863        // On Firefox.24 Date#getTimezoneOffset returns a floating point.
2864        // https://github.com/moment/moment/pull/1871
2865        return -Math.round(m._d.getTimezoneOffset() / 15) * 15;
2866    }
2867
2868    // HOOKS
2869
2870    // This function will be called whenever a moment is mutated.
2871    // It is intended to keep the offset in sync with the timezone.
2872    hooks.updateOffset = function () { };
2873
2874    // MOMENTS
2875
2876    // keepLocalTime = true means only change the timezone, without
2877    // affecting the local hour. So 5:31:26 +0300 --[utcOffset(2, true)]-->
2878    // 5:31:26 +0200 It is possible that 5:31:26 doesn't exist with offset
2879    // +0200, so we adjust the time as needed, to be valid.
2880    //
2881    // Keeping the time actually adds/subtracts (one hour)
2882    // from the actual represented time. That is why we call updateOffset
2883    // a second time. In case it wants us to change the offset again
2884    // _changeInProgress == true case, then we have to adjust, because
2885    // there is no such time in the given timezone.
2886    function getSetOffset(input, keepLocalTime, keepMinutes) {
2887        var offset = this._offset || 0,
2888            localAdjust;
2889        if (!this.isValid()) {
2890            return input != null ? this : NaN;
2891        }
2892        if (input != null) {
2893            if (typeof input === 'string') {
2894                input = offsetFromString(matchShortOffset, input);
2895                if (input === null) {
2896                    return this;
2897                }
2898            } else if (Math.abs(input) < 16 && !keepMinutes) {
2899                input = input * 60;
2900            }
2901            if (!this._isUTC && keepLocalTime) {
2902                localAdjust = getDateOffset(this);
2903            }
2904            this._offset = input;
2905            this._isUTC = true;
2906            if (localAdjust != null) {
2907                this.add(localAdjust, 'm');
2908            }
2909            if (offset !== input) {
2910                if (!keepLocalTime || this._changeInProgress) {
2911                    addSubtract(this, createDuration(input - offset, 'm'), 1, false);
2912                } else if (!this._changeInProgress) {
2913                    this._changeInProgress = true;
2914                    hooks.updateOffset(this, true);
2915                    this._changeInProgress = null;
2916                }
2917            }
2918            return this;
2919        } else {
2920            return this._isUTC ? offset : getDateOffset(this);
2921        }
2922    }
2923
2924    function getSetZone(input, keepLocalTime) {
2925        if (input != null) {
2926            if (typeof input !== 'string') {
2927                input = -input;
2928            }
2929
2930            this.utcOffset(input, keepLocalTime);
2931
2932            return this;
2933        } else {
2934            return -this.utcOffset();
2935        }
2936    }
2937
2938    function setOffsetToUTC(keepLocalTime) {
2939        return this.utcOffset(0, keepLocalTime);
2940    }
2941
2942    function setOffsetToLocal(keepLocalTime) {
2943        if (this._isUTC) {
2944            this.utcOffset(0, keepLocalTime);
2945            this._isUTC = false;
2946
2947            if (keepLocalTime) {
2948                this.subtract(getDateOffset(this), 'm');
2949            }
2950        }
2951        return this;
2952    }
2953
2954    function setOffsetToParsedOffset() {
2955        if (this._tzm != null) {
2956            this.utcOffset(this._tzm, false, true);
2957        } else if (typeof this._i === 'string') {
2958            var tZone = offsetFromString(matchOffset, this._i);
2959            if (tZone != null) {
2960                this.utcOffset(tZone);
2961            }
2962            else {
2963                this.utcOffset(0, true);
2964            }
2965        }
2966        return this;
2967    }
2968
2969    function hasAlignedHourOffset(input) {
2970        if (!this.isValid()) {
2971            return false;
2972        }
2973        input = input ? createLocal(input).utcOffset() : 0;
2974
2975        return (this.utcOffset() - input) % 60 === 0;
2976    }
2977
2978    function isDaylightSavingTime() {
2979        return (
2980            this.utcOffset() > this.clone().month(0).utcOffset() ||
2981            this.utcOffset() > this.clone().month(5).utcOffset()
2982        );
2983    }
2984
2985    function isDaylightSavingTimeShifted() {
2986        if (!isUndefined(this._isDSTShifted)) {
2987            return this._isDSTShifted;
2988        }
2989
2990        var c = {};
2991
2992        copyConfig(c, this);
2993        c = prepareConfig(c);
2994
2995        if (c._a) {
2996            var other = c._isUTC ? createUTC(c._a) : createLocal(c._a);
2997            this._isDSTShifted = this.isValid() &&
2998                compareArrays(c._a, other.toArray()) > 0;
2999        } else {
3000            this._isDSTShifted = false;
3001        }
3002
3003        return this._isDSTShifted;
3004    }
3005
3006    function isLocal() {
3007        return this.isValid() ? !this._isUTC : false;
3008    }
3009
3010    function isUtcOffset() {
3011        return this.isValid() ? this._isUTC : false;
3012    }
3013
3014    function isUtc() {
3015        return this.isValid() ? this._isUTC && this._offset === 0 : false;
3016    }
3017
3018    // ASP.NET json date format regex
3019    var aspNetRegex = /^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/;
3020
3021    // from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html
3022    // somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere
3023    // and further modified to allow for strings containing both week and day
3024    var isoRegex = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
3025
3026    function createDuration(input, key) {
3027        var duration = input,
3028            // matching against regexp is expensive, do it on demand
3029            match = null,
3030            sign,
3031            ret,
3032            diffRes;
3033
3034        if (isDuration(input)) {
3035            duration = {
3036                ms: input._milliseconds,
3037                d: input._days,
3038                M: input._months
3039            };
3040        } else if (isNumber(input)) {
3041            duration = {};
3042            if (key) {
3043                duration[key] = input;
3044            } else {
3045                duration.milliseconds = input;
3046            }
3047        } else if (!!(match = aspNetRegex.exec(input))) {
3048            sign = (match[1] === '-') ? -1 : 1;
3049            duration = {
3050                y: 0,
3051                d: toInt(match[DATE]) * sign,
3052                h: toInt(match[HOUR]) * sign,
3053                m: toInt(match[MINUTE]) * sign,
3054                s: toInt(match[SECOND]) * sign,
3055                ms: toInt(absRound(match[MILLISECOND] * 1000)) * sign // the millisecond decimal point is included in the match
3056            };
3057        } else if (!!(match = isoRegex.exec(input))) {
3058            sign = (match[1] === '-') ? -1 : 1;
3059            duration = {
3060                y: parseIso(match[2], sign),
3061                M: parseIso(match[3], sign),
3062                w: parseIso(match[4], sign),
3063                d: parseIso(match[5], sign),
3064                h: parseIso(match[6], sign),
3065                m: parseIso(match[7], sign),
3066                s: parseIso(match[8], sign)
3067            };
3068        } else if (duration == null) {// checks for null or undefined
3069            duration = {};
3070        } else if (typeof duration === 'object' && ('from' in duration || 'to' in duration)) {
3071            diffRes = momentsDifference(createLocal(duration.from), createLocal(duration.to));
3072
3073            duration = {};
3074            duration.ms = diffRes.milliseconds;
3075            duration.M = diffRes.months;
3076        }
3077
3078        ret = new Duration(duration);
3079
3080        if (isDuration(input) && hasOwnProp(input, '_locale')) {
3081            ret._locale = input._locale;
3082        }
3083
3084        return ret;
3085    }
3086
3087    createDuration.fn = Duration.prototype;
3088    createDuration.invalid = createInvalid$1;
3089
3090    function parseIso(inp, sign) {
3091        // We'd normally use ~~inp for this, but unfortunately it also
3092        // converts floats to ints.
3093        // inp may be undefined, so careful calling replace on it.
3094        var res = inp && parseFloat(inp.replace(',', '.'));
3095        // apply sign while we're at it
3096        return (isNaN(res) ? 0 : res) * sign;
3097    }
3098
3099    function positiveMomentsDifference(base, other) {
3100        var res = {};
3101
3102        res.months = other.month() - base.month() +
3103            (other.year() - base.year()) * 12;
3104        if (base.clone().add(res.months, 'M').isAfter(other)) {
3105            --res.months;
3106        }
3107
3108        res.milliseconds = +other - +(base.clone().add(res.months, 'M'));
3109
3110        return res;
3111    }
3112
3113    function momentsDifference(base, other) {
3114        var res;
3115        if (!(base.isValid() && other.isValid())) {
3116            return { milliseconds: 0, months: 0 };
3117        }
3118
3119        other = cloneWithOffset(other, base);
3120        if (base.isBefore(other)) {
3121            res = positiveMomentsDifference(base, other);
3122        } else {
3123            res = positiveMomentsDifference(other, base);
3124            res.milliseconds = -res.milliseconds;
3125            res.months = -res.months;
3126        }
3127
3128        return res;
3129    }
3130
3131    // TODO: remove 'name' arg after deprecation is removed
3132    function createAdder(direction, name) {
3133        return function (val, period) {
3134            var dur, tmp;
3135            //invert the arguments, but complain about it
3136            if (period !== null && !isNaN(+period)) {
3137                deprecateSimple(name, 'moment().' + name + '(period, number) is deprecated. Please use moment().' + name + '(number, period). ' +
3138                    'See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info.');
3139                tmp = val; val = period; period = tmp;
3140            }
3141
3142            val = typeof val === 'string' ? +val : val;
3143            dur = createDuration(val, period);
3144            addSubtract(this, dur, direction);
3145            return this;
3146        };
3147    }
3148
3149    function addSubtract(mom, duration, isAdding, updateOffset) {
3150        var milliseconds = duration._milliseconds,
3151            days = absRound(duration._days),
3152            months = absRound(duration._months);
3153
3154        if (!mom.isValid()) {
3155            // No op
3156            return;
3157        }
3158
3159        updateOffset = updateOffset == null ? true : updateOffset;
3160
3161        if (months) {
3162            setMonth(mom, get(mom, 'Month') + months * isAdding);
3163        }
3164        if (days) {
3165            set$1(mom, 'Date', get(mom, 'Date') + days * isAdding);
3166        }
3167        if (milliseconds) {
3168            mom._d.setTime(mom._d.valueOf() + milliseconds * isAdding);
3169        }
3170        if (updateOffset) {
3171            hooks.updateOffset(mom, days || months);
3172        }
3173    }
3174
3175    var add = createAdder(1, 'add');
3176    var subtract = createAdder(-1, 'subtract');
3177
3178    function getCalendarFormat(myMoment, now) {
3179        var diff = myMoment.diff(now, 'days', true);
3180        return diff < -6 ? 'sameElse' :
3181            diff < -1 ? 'lastWeek' :
3182                diff < 0 ? 'lastDay' :
3183                    diff < 1 ? 'sameDay' :
3184                        diff < 2 ? 'nextDay' :
3185                            diff < 7 ? 'nextWeek' : 'sameElse';
3186    }
3187
3188    function calendar$1(time, formats) {
3189        // We want to compare the start of today, vs this.
3190        // Getting start-of-today depends on whether we're local/utc/offset or not.
3191        var now = time || createLocal(),
3192            sod = cloneWithOffset(now, this).startOf('day'),
3193            format = hooks.calendarFormat(this, sod) || 'sameElse';
3194
3195        var output = formats && (isFunction(formats[format]) ? formats[format].call(this, now) : formats[format]);
3196
3197        return this.format(output || this.localeData().calendar(format, this, createLocal(now)));
3198    }
3199
3200    function clone() {
3201        return new Moment(this);
3202    }
3203
3204    function isAfter(input, units) {
3205        var localInput = isMoment(input) ? input : createLocal(input);
3206        if (!(this.isValid() && localInput.isValid())) {
3207            return false;
3208        }
3209        units = normalizeUnits(units) || 'millisecond';
3210        if (units === 'millisecond') {
3211            return this.valueOf() > localInput.valueOf();
3212        } else {
3213            return localInput.valueOf() < this.clone().startOf(units).valueOf();
3214        }
3215    }
3216
3217    function isBefore(input, units) {
3218        var localInput = isMoment(input) ? input : createLocal(input);
3219        if (!(this.isValid() && localInput.isValid())) {
3220            return false;
3221        }
3222        units = normalizeUnits(units) || 'millisecond';
3223        if (units === 'millisecond') {
3224            return this.valueOf() < localInput.valueOf();
3225        } else {
3226            return this.clone().endOf(units).valueOf() < localInput.valueOf();
3227        }
3228    }
3229
3230    function isBetween(from, to, units, inclusivity) {
3231        var localFrom = isMoment(from) ? from : createLocal(from),
3232            localTo = isMoment(to) ? to : createLocal(to);
3233        if (!(this.isValid() && localFrom.isValid() && localTo.isValid())) {
3234            return false;
3235        }
3236        inclusivity = inclusivity || '()';
3237        return (inclusivity[0] === '(' ? this.isAfter(localFrom, units) : !this.isBefore(localFrom, units)) &&
3238            (inclusivity[1] === ')' ? this.isBefore(localTo, units) : !this.isAfter(localTo, units));
3239    }
3240
3241    function isSame(input, units) {
3242        var localInput = isMoment(input) ? input : createLocal(input),
3243            inputMs;
3244        if (!(this.isValid() && localInput.isValid())) {
3245            return false;
3246        }
3247        units = normalizeUnits(units) || 'millisecond';
3248        if (units === 'millisecond') {
3249            return this.valueOf() === localInput.valueOf();
3250        } else {
3251            inputMs = localInput.valueOf();
3252            return this.clone().startOf(units).valueOf() <= inputMs && inputMs <= this.clone().endOf(units).valueOf();
3253        }
3254    }
3255
3256    function isSameOrAfter(input, units) {
3257        return this.isSame(input, units) || this.isAfter(input, units);
3258    }
3259
3260    function isSameOrBefore(input, units) {
3261        return this.isSame(input, units) || this.isBefore(input, units);
3262    }
3263
3264    function diff(input, units, asFloat) {
3265        var that,
3266            zoneDelta,
3267            output;
3268
3269        if (!this.isValid()) {
3270            return NaN;
3271        }
3272
3273        that = cloneWithOffset(input, this);
3274
3275        if (!that.isValid()) {
3276            return NaN;
3277        }
3278
3279        zoneDelta = (that.utcOffset() - this.utcOffset()) * 6e4;
3280
3281        units = normalizeUnits(units);
3282
3283        switch (units) {
3284            case 'year': output = monthDiff(this, that) / 12; break;
3285            case 'month': output = monthDiff(this, that); break;
3286            case 'quarter': output = monthDiff(this, that) / 3; break;
3287            case 'second': output = (this - that) / 1e3; break; // 1000
3288            case 'minute': output = (this - that) / 6e4; break; // 1000 * 60
3289            case 'hour': output = (this - that) / 36e5; break; // 1000 * 60 * 60
3290            case 'day': output = (this - that - zoneDelta) / 864e5; break; // 1000 * 60 * 60 * 24, negate dst
3291            case 'week': output = (this - that - zoneDelta) / 6048e5; break; // 1000 * 60 * 60 * 24 * 7, negate dst
3292            default: output = this - that;
3293        }
3294
3295        return asFloat ? output : absFloor(output);
3296    }
3297
3298    function monthDiff(a, b) {
3299        // difference in months
3300        var wholeMonthDiff = ((b.year() - a.year()) * 12) + (b.month() - a.month()),
3301            // b is in (anchor - 1 month, anchor + 1 month)
3302            anchor = a.clone().add(wholeMonthDiff, 'months'),
3303            anchor2, adjust;
3304
3305        if (b - anchor < 0) {
3306            anchor2 = a.clone().add(wholeMonthDiff - 1, 'months');
3307            // linear across the month
3308            adjust = (b - anchor) / (anchor - anchor2);
3309        } else {
3310            anchor2 = a.clone().add(wholeMonthDiff + 1, 'months');
3311            // linear across the month
3312            adjust = (b - anchor) / (anchor2 - anchor);
3313        }
3314
3315        //check for negative zero, return zero if negative zero
3316        return -(wholeMonthDiff + adjust) || 0;
3317    }
3318
3319    hooks.defaultFormat = 'YYYY-MM-DDTHH:mm:ssZ';
3320    hooks.defaultFormatUtc = 'YYYY-MM-DDTHH:mm:ss[Z]';
3321
3322    function toString() {
3323        return this.clone().locale('en').format('ddd MMM DD YYYY HH:mm:ss [GMT]ZZ');
3324    }
3325
3326    function toISOString(keepOffset) {
3327        if (!this.isValid()) {
3328            return null;
3329        }
3330        var utc = keepOffset !== true;
3331        var m = utc ? this.clone().utc() : this;
3332        if (m.year() < 0 || m.year() > 9999) {
3333            return formatMoment(m, utc ? 'YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]' : 'YYYYYY-MM-DD[T]HH:mm:ss.SSSZ');
3334        }
3335        if (isFunction(Date.prototype.toISOString)) {
3336            // native implementation is ~50x faster, use it when we can
3337            if (utc) {
3338                return this.toDate().toISOString();
3339            } else {
3340                return new Date(this.valueOf() + this.utcOffset() * 60 * 1000).toISOString().replace('Z', formatMoment(m, 'Z'));
3341            }
3342        }
3343        return formatMoment(m, utc ? 'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]' : 'YYYY-MM-DD[T]HH:mm:ss.SSSZ');
3344    }
3345
3346    /**
3347     * Return a human readable representation of a moment that can
3348     * also be evaluated to get a new moment which is the same
3349     *
3350     * @link https://nodejs.org/dist/latest/docs/api/util.html#util_custom_inspect_function_on_objects
3351     */
3352    function inspect() {
3353        if (!this.isValid()) {
3354            return 'moment.invalid(/* ' + this._i + ' */)';
3355        }
3356        var func = 'moment';
3357        var zone = '';
3358        if (!this.isLocal()) {
3359            func = this.utcOffset() === 0 ? 'moment.utc' : 'moment.parseZone';
3360            zone = 'Z';
3361        }
3362        var prefix = '[' + func + '("]';
3363        var year = (0 <= this.year() && this.year() <= 9999) ? 'YYYY' : 'YYYYYY';
3364        var datetime = '-MM-DD[T]HH:mm:ss.SSS';
3365        var suffix = zone + '[")]';
3366
3367        return this.format(prefix + year + datetime + suffix);
3368    }
3369
3370    function format(inputString) {
3371        if (!inputString) {
3372            inputString = this.isUtc() ? hooks.defaultFormatUtc : hooks.defaultFormat;
3373        }
3374        var output = formatMoment(this, inputString);
3375        return this.localeData().postformat(output);
3376    }
3377
3378    function from(time, withoutSuffix) {
3379        if (this.isValid() &&
3380            ((isMoment(time) && time.isValid()) ||
3381                createLocal(time).isValid())) {
3382            return createDuration({ to: this, from: time }).locale(this.locale()).humanize(!withoutSuffix);
3383        } else {
3384            return this.localeData().invalidDate();
3385        }
3386    }
3387
3388    function fromNow(withoutSuffix) {
3389        return this.from(createLocal(), withoutSuffix);
3390    }
3391
3392    function to(time, withoutSuffix) {
3393        if (this.isValid() &&
3394            ((isMoment(time) && time.isValid()) ||
3395                createLocal(time).isValid())) {
3396            return createDuration({ from: this, to: time }).locale(this.locale()).humanize(!withoutSuffix);
3397        } else {
3398            return this.localeData().invalidDate();
3399        }
3400    }
3401
3402    function toNow(withoutSuffix) {
3403        return this.to(createLocal(), withoutSuffix);
3404    }
3405
3406    // If passed a locale key, it will set the locale for this
3407    // instance.  Otherwise, it will return the locale configuration
3408    // variables for this instance.
3409    function locale(key) {
3410        var newLocaleData;
3411
3412        if (key === undefined) {
3413            return this._locale._abbr;
3414        } else {
3415            newLocaleData = getLocale(key);
3416            if (newLocaleData != null) {
3417                this._locale = newLocaleData;
3418            }
3419            return this;
3420        }
3421    }
3422
3423    var lang = deprecate(
3424        'moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.',
3425        function (key) {
3426            if (key === undefined) {
3427                return this.localeData();
3428            } else {
3429                return this.locale(key);
3430            }
3431        }
3432    );
3433
3434    function localeData() {
3435        return this._locale;
3436    }
3437
3438    var MS_PER_SECOND = 1000;
3439    var MS_PER_MINUTE = 60 * MS_PER_SECOND;
3440    var MS_PER_HOUR = 60 * MS_PER_MINUTE;
3441    var MS_PER_400_YEARS = (365 * 400 + 97) * 24 * MS_PER_HOUR;
3442
3443    // actual modulo - handles negative numbers (for dates before 1970):
3444    function mod$1(dividend, divisor) {
3445        return (dividend % divisor + divisor) % divisor;
3446    }
3447
3448    function localStartOfDate(y, m, d) {
3449        // the date constructor remaps years 0-99 to 1900-1999
3450        if (y < 100 && y >= 0) {
3451            // preserve leap years using a full 400 year cycle, then reset
3452            return new Date(y + 400, m, d) - MS_PER_400_YEARS;
3453        } else {
3454            return new Date(y, m, d).valueOf();
3455        }
3456    }
3457
3458    function utcStartOfDate(y, m, d) {
3459        // Date.UTC remaps years 0-99 to 1900-1999
3460        if (y < 100 && y >= 0) {
3461            // preserve leap years using a full 400 year cycle, then reset
3462            return Date.UTC(y + 400, m, d) - MS_PER_400_YEARS;
3463        } else {
3464            return Date.UTC(y, m, d);
3465        }
3466    }
3467
3468    function startOf(units) {
3469        var time;
3470        units = normalizeUnits(units);
3471        if (units === undefined || units === 'millisecond' || !this.isValid()) {
3472            return this;
3473        }
3474
3475        var startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate;
3476
3477        switch (units) {
3478            case 'year':
3479                time = startOfDate(this.year(), 0, 1);
3480                break;
3481            case 'quarter':
3482                time = startOfDate(this.year(), this.month() - this.month() % 3, 1);
3483                break;
3484            case 'month':
3485                time = startOfDate(this.year(), this.month(), 1);
3486                break;
3487            case 'week':
3488                time = startOfDate(this.year(), this.month(), this.date() - this.weekday());
3489                break;
3490            case 'isoWeek':
3491                time = startOfDate(this.year(), this.month(), this.date() - (this.isoWeekday() - 1));
3492                break;
3493            case 'day':
3494            case 'date':
3495                time = startOfDate(this.year(), this.month(), this.date());
3496                break;
3497            case 'hour':
3498                time = this._d.valueOf();
3499                time -= mod$1(time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE), MS_PER_HOUR);
3500                break;
3501            case 'minute':
3502                time = this._d.valueOf();
3503                time -= mod$1(time, MS_PER_MINUTE);
3504                break;
3505            case 'second':
3506                time = this._d.valueOf();
3507                time -= mod$1(time, MS_PER_SECOND);
3508                break;
3509        }
3510
3511        this._d.setTime(time);
3512        hooks.updateOffset(this, true);
3513        return this;
3514    }
3515
3516    function endOf(units) {
3517        var time;
3518        units = normalizeUnits(units);
3519        if (units === undefined || units === 'millisecond' || !this.isValid()) {
3520            return this;
3521        }
3522
3523        var startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate;
3524
3525        switch (units) {
3526            case 'year':
3527                time = startOfDate(this.year() + 1, 0, 1) - 1;
3528                break;
3529            case 'quarter':
3530                time = startOfDate(this.year(), this.month() - this.month() % 3 + 3, 1) - 1;
3531                break;
3532            case 'month':
3533                time = startOfDate(this.year(), this.month() + 1, 1) - 1;
3534                break;
3535            case 'week':
3536                time = startOfDate(this.year(), this.month(), this.date() - this.weekday() + 7) - 1;
3537                break;
3538            case 'isoWeek':
3539                time = startOfDate(this.year(), this.month(), this.date() - (this.isoWeekday() - 1) + 7) - 1;
3540                break;
3541            case 'day':
3542            case 'date':
3543                time = startOfDate(this.year(), this.month(), this.date() + 1) - 1;
3544                break;
3545            case 'hour':
3546                time = this._d.valueOf();
3547                time += MS_PER_HOUR - mod$1(time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE), MS_PER_HOUR) - 1;
3548                break;
3549            case 'minute':
3550                time = this._d.valueOf();
3551                time += MS_PER_MINUTE - mod$1(time, MS_PER_MINUTE) - 1;
3552                break;
3553            case 'second':
3554                time = this._d.valueOf();
3555                time += MS_PER_SECOND - mod$1(time, MS_PER_SECOND) - 1;
3556                break;
3557        }
3558
3559        this._d.setTime(time);
3560        hooks.updateOffset(this, true);
3561        return this;
3562    }
3563
3564    function valueOf() {
3565        return this._d.valueOf() - ((this._offset || 0) * 60000);
3566    }
3567
3568    function unix() {
3569        return Math.floor(this.valueOf() / 1000);
3570    }
3571
3572    function toDate() {
3573        return new Date(this.valueOf());
3574    }
3575
3576    function toArray() {
3577        var m = this;
3578        return [m.year(), m.month(), m.date(), m.hour(), m.minute(), m.second(), m.millisecond()];
3579    }
3580
3581    function toObject() {
3582        var m = this;
3583        return {
3584            years: m.year(),
3585            months: m.month(),
3586            date: m.date(),
3587            hours: m.hours(),
3588            minutes: m.minutes(),
3589            seconds: m.seconds(),
3590            milliseconds: m.milliseconds()
3591        };
3592    }
3593
3594    function toJSON() {
3595        // new Date(NaN).toJSON() === null
3596        return this.isValid() ? this.toISOString() : null;
3597    }
3598
3599    function isValid$2() {
3600        return isValid(this);
3601    }
3602
3603    function parsingFlags() {
3604        return extend({}, getParsingFlags(this));
3605    }
3606
3607    function invalidAt() {
3608        return getParsingFlags(this).overflow;
3609    }
3610
3611    function creationData() {
3612        return {
3613            input: this._i,
3614            format: this._f,
3615            locale: this._locale,
3616            isUTC: this._isUTC,
3617            strict: this._strict
3618        };
3619    }
3620
3621    // FORMATTING
3622
3623    addFormatToken(0, ['gg', 2], 0, function () {
3624        return this.weekYear() % 100;
3625    });
3626
3627    addFormatToken(0, ['GG', 2], 0, function () {
3628        return this.isoWeekYear() % 100;
3629    });
3630
3631    function addWeekYearFormatToken(token, getter) {
3632        addFormatToken(0, [token, token.length], 0, getter);
3633    }
3634
3635    addWeekYearFormatToken('gggg', 'weekYear');
3636    addWeekYearFormatToken('ggggg', 'weekYear');
3637    addWeekYearFormatToken('GGGG', 'isoWeekYear');
3638    addWeekYearFormatToken('GGGGG', 'isoWeekYear');
3639
3640    // ALIASES
3641
3642    addUnitAlias('weekYear', 'gg');
3643    addUnitAlias('isoWeekYear', 'GG');
3644
3645    // PRIORITY
3646
3647    addUnitPriority('weekYear', 1);
3648    addUnitPriority('isoWeekYear', 1);
3649
3650
3651    // PARSING
3652
3653    addRegexToken('G', matchSigned);
3654    addRegexToken('g', matchSigned);
3655    addRegexToken('GG', match1to2, match2);
3656    addRegexToken('gg', match1to2, match2);
3657    addRegexToken('GGGG', match1to4, match4);
3658    addRegexToken('gggg', match1to4, match4);
3659    addRegexToken('GGGGG', match1to6, match6);
3660    addRegexToken('ggggg', match1to6, match6);
3661
vendor: 2,046 bytes, lines 3662-3732
3662    addWeekParseToken(['gggg', 'ggggg', 'GGGG', 'GGGGG'], function (input, week, config, token) {
3663        week[token.substr(0, 2)] = toInt(input);
3664    });
3665
3666    addWeekParseToken(['gg', 'GG'], function (input, week, config, token) {
3667        week[token] = hooks.parseTwoDigitYear(input);
3668    });
3669
3670    // MOMENTS
3671
3672    function getSetWeekYear(input) {
3673        return getSetWeekYearHelper.call(this,
3674            input,
3675            this.week(),
3676            this.weekday(),
3677            this.localeData()._week.dow,
3678            this.localeData()._week.doy);
3679    }
3680
3681    function getSetISOWeekYear(input) {
3682        return getSetWeekYearHelper.call(this,
3683            input, this.isoWeek(), this.isoWeekday(), 1, 4);
3684    }
3685
3686    function getISOWeeksInYear() {
3687        return weeksInYear(this.year(), 1, 4);
3688    }
3689
3690    function getWeeksInYear() {
3691        var weekInfo = this.localeData()._week;
3692        return weeksInYear(this.year(), weekInfo.dow, weekInfo.doy);
3693    }
3694
3695    function getSetWeekYearHelper(input, week, weekday, dow, doy) {
3696        var weeksTarget;
3697        if (input == null) {
3698            return weekOfYear(this, dow, doy).year;
3699        } else {
3700            weeksTarget = weeksInYear(input, dow, doy);
3701            if (week > weeksTarget) {
3702                week = weeksTarget;
3703            }
3704            return setWeekAll.call(this, input, week, weekday, dow, doy);
3705        }
3706    }
3707
3708    function setWeekAll(weekYear, week, weekday, dow, doy) {
3709        var dayOfYearData = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy),
3710            date = createUTCDate(dayOfYearData.year, 0, dayOfYearData.dayOfYear);
3711
3712        this.year(date.getUTCFullYear());
3713        this.month(date.getUTCMonth());
3714        this.date(date.getUTCDate());
3715        return this;
3716    }
3717
3718    // FORMATTING
3719
3720    addFormatToken('Q', 0, 'Qo', 'quarter');
3721
3722    // ALIASES
3723
3724    addUnitAlias('quarter', 'Q');
3725
3726    // PRIORITY
3727
3728    addUnitPriority('quarter', 7);
3729
3730    // PARSING
3731
3732    addRegexToken('Q', match1);
vendor: 24,996 bytes, lines 3733-4542
3733    addParseToken('Q', function (input, array) {
3734        array[MONTH] = (toInt(input) - 1) * 3;
3735    });
3736
3737    // MOMENTS
3738
3739    function getSetQuarter(input) {
3740        return input == null ? Math.ceil((this.month() + 1) / 3) : this.month((input - 1) * 3 + this.month() % 3);
3741    }
3742
3743    // FORMATTING
3744
3745    addFormatToken('D', ['DD', 2], 'Do', 'date');
3746
3747    // ALIASES
3748
3749    addUnitAlias('date', 'D');
3750
3751    // PRIORITY
3752    addUnitPriority('date', 9);
3753
3754    // PARSING
3755
3756    addRegexToken('D', match1to2);
3757    addRegexToken('DD', match1to2, match2);
3758    addRegexToken('Do', function (isStrict, locale) {
3759        // TODO: Remove "ordinalParse" fallback in next major release.
3760        return isStrict ?
3761            (locale._dayOfMonthOrdinalParse || locale._ordinalParse) :
3762            locale._dayOfMonthOrdinalParseLenient;
3763    });
3764
3765    addParseToken(['D', 'DD'], DATE);
3766    addParseToken('Do', function (input, array) {
3767        array[DATE] = toInt(input.match(match1to2)[0]);
3768    });
3769
3770    // MOMENTS
3771
3772    var getSetDayOfMonth = makeGetSet('Date', true);
3773
3774    // FORMATTING
3775
3776    addFormatToken('DDD', ['DDDD', 3], 'DDDo', 'dayOfYear');
3777
3778    // ALIASES
3779
3780    addUnitAlias('dayOfYear', 'DDD');
3781
3782    // PRIORITY
3783    addUnitPriority('dayOfYear', 4);
3784
3785    // PARSING
3786
3787    addRegexToken('DDD', match1to3);
3788    addRegexToken('DDDD', match3);
3789    addParseToken(['DDD', 'DDDD'], function (input, array, config) {
3790        config._dayOfYear = toInt(input);
3791    });
3792
3793    // HELPERS
3794
3795    // MOMENTS
3796
3797    function getSetDayOfYear(input) {
3798        var dayOfYear = Math.round((this.clone().startOf('day') - this.clone().startOf('year')) / 864e5) + 1;
3799        return input == null ? dayOfYear : this.add((input - dayOfYear), 'd');
3800    }
3801
3802    // FORMATTING
3803
3804    addFormatToken('m', ['mm', 2], 0, 'minute');
3805
3806    // ALIASES
3807
3808    addUnitAlias('minute', 'm');
3809
3810    // PRIORITY
3811
3812    addUnitPriority('minute', 14);
3813
3814    // PARSING
3815
3816    addRegexToken('m', match1to2);
3817    addRegexToken('mm', match1to2, match2);
3818    addParseToken(['m', 'mm'], MINUTE);
3819
3820    // MOMENTS
3821
3822    var getSetMinute = makeGetSet('Minutes', false);
3823
3824    // FORMATTING
3825
3826    addFormatToken('s', ['ss', 2], 0, 'second');
3827
3828    // ALIASES
3829
3830    addUnitAlias('second', 's');
3831
3832    // PRIORITY
3833
3834    addUnitPriority('second', 15);
3835
3836    // PARSING
3837
3838    addRegexToken('s', match1to2);
3839    addRegexToken('ss', match1to2, match2);
3840    addParseToken(['s', 'ss'], SECOND);
3841
3842    // MOMENTS
3843
3844    var getSetSecond = makeGetSet('Seconds', false);
3845
3846    // FORMATTING
3847
3848    addFormatToken('S', 0, 0, function () {
3849        return ~~(this.millisecond() / 100);
3850    });
3851
3852    addFormatToken(0, ['SS', 2], 0, function () {
3853        return ~~(this.millisecond() / 10);
3854    });
3855
3856    addFormatToken(0, ['SSS', 3], 0, 'millisecond');
3857    addFormatToken(0, ['SSSS', 4], 0, function () {
3858        return this.millisecond() * 10;
3859    });
3860    addFormatToken(0, ['SSSSS', 5], 0, function () {
3861        return this.millisecond() * 100;
3862    });
3863    addFormatToken(0, ['SSSSSS', 6], 0, function () {
3864        return this.millisecond() * 1000;
3865    });
3866    addFormatToken(0, ['SSSSSSS', 7], 0, function () {
3867        return this.millisecond() * 10000;
3868    });
3869    addFormatToken(0, ['SSSSSSSS', 8], 0, function () {
3870        return this.millisecond() * 100000;
3871    });
3872    addFormatToken(0, ['SSSSSSSSS', 9], 0, function () {
3873        return this.millisecond() * 1000000;
3874    });
3875
3876
3877    // ALIASES
3878
3879    addUnitAlias('millisecond', 'ms');
3880
3881    // PRIORITY
3882
3883    addUnitPriority('millisecond', 16);
3884
3885    // PARSING
3886
3887    addRegexToken('S', match1to3, match1);
3888    addRegexToken('SS', match1to3, match2);
3889    addRegexToken('SSS', match1to3, match3);
3890
3891    var token;
3892    for (token = 'SSSS'; token.length <= 9; token += 'S') {
3893        addRegexToken(token, matchUnsigned);
3894    }
3895
3896    function parseMs(input, array) {
3897        array[MILLISECOND] = toInt(('0.' + input) * 1000);
3898    }
3899
3900    for (token = 'S'; token.length <= 9; token += 'S') {
3901        addParseToken(token, parseMs);
3902    }
3903    // MOMENTS
3904
3905    var getSetMillisecond = makeGetSet('Milliseconds', false);
3906
3907    // FORMATTING
3908
3909    addFormatToken('z', 0, 0, 'zoneAbbr');
3910    addFormatToken('zz', 0, 0, 'zoneName');
3911
3912    // MOMENTS
3913
3914    function getZoneAbbr() {
3915        return this._isUTC ? 'UTC' : '';
3916    }
3917
3918    function getZoneName() {
3919        return this._isUTC ? 'Coordinated Universal Time' : '';
3920    }
3921
3922    var proto = Moment.prototype;
3923
3924    proto.add = add;
3925    proto.calendar = calendar$1;
3926    proto.clone = clone;
3927    proto.diff = diff;
3928    proto.endOf = endOf;
3929    proto.format = format;
3930    proto.from = from;
3931    proto.fromNow = fromNow;
3932    proto.to = to;
3933    proto.toNow = toNow;
3934    proto.get = stringGet;
3935    proto.invalidAt = invalidAt;
3936    proto.isAfter = isAfter;
3937    proto.isBefore = isBefore;
3938    proto.isBetween = isBetween;
3939    proto.isSame = isSame;
3940    proto.isSameOrAfter = isSameOrAfter;
3941    proto.isSameOrBefore = isSameOrBefore;
3942    proto.isValid = isValid$2;
3943    proto.lang = lang;
3944    proto.locale = locale;
3945    proto.localeData = localeData;
3946    proto.max = prototypeMax;
3947    proto.min = prototypeMin;
3948    proto.parsingFlags = parsingFlags;
3949    proto.set = stringSet;
3950    proto.startOf = startOf;
3951    proto.subtract = subtract;
3952    proto.toArray = toArray;
3953    proto.toObject = toObject;
3954    proto.toDate = toDate;
3955    proto.toISOString = toISOString;
3956    proto.inspect = inspect;
3957    proto.toJSON = toJSON;
3958    proto.toString = toString;
3959    proto.unix = unix;
3960    proto.valueOf = valueOf;
3961    proto.creationData = creationData;
3962    proto.year = getSetYear;
3963    proto.isLeapYear = getIsLeapYear;
3964    proto.weekYear = getSetWeekYear;
3965    proto.isoWeekYear = getSetISOWeekYear;
3966    proto.quarter = proto.quarters = getSetQuarter;
3967    proto.month = getSetMonth;
3968    proto.daysInMonth = getDaysInMonth;
3969    proto.week = proto.weeks = getSetWeek;
3970    proto.isoWeek = proto.isoWeeks = getSetISOWeek;
3971    proto.weeksInYear = getWeeksInYear;
3972    proto.isoWeeksInYear = getISOWeeksInYear;
3973    proto.date = getSetDayOfMonth;
3974    proto.day = proto.days = getSetDayOfWeek;
3975    proto.weekday = getSetLocaleDayOfWeek;
3976    proto.isoWeekday = getSetISODayOfWeek;
3977    proto.dayOfYear = getSetDayOfYear;
3978    proto.hour = proto.hours = getSetHour;
3979    proto.minute = proto.minutes = getSetMinute;
3980    proto.second = proto.seconds = getSetSecond;
3981    proto.millisecond = proto.milliseconds = getSetMillisecond;
3982    proto.utcOffset = getSetOffset;
3983    proto.utc = setOffsetToUTC;
3984    proto.local = setOffsetToLocal;
3985    proto.parseZone = setOffsetToParsedOffset;
3986    proto.hasAlignedHourOffset = hasAlignedHourOffset;
3987    proto.isDST = isDaylightSavingTime;
3988    proto.isLocal = isLocal;
3989    proto.isUtcOffset = isUtcOffset;
3990    proto.isUtc = isUtc;
3991    proto.isUTC = isUtc;
3992    proto.zoneAbbr = getZoneAbbr;
3993    proto.zoneName = getZoneName;
3994    proto.dates = deprecate('dates accessor is deprecated. Use date instead.', getSetDayOfMonth);
3995    proto.months = deprecate('months accessor is deprecated. Use month instead', getSetMonth);
3996    proto.years = deprecate('years accessor is deprecated. Use year instead', getSetYear);
3997    proto.zone = deprecate('moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/', getSetZone);
3998    proto.isDSTShifted = deprecate('isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information', isDaylightSavingTimeShifted);
3999
4000    function createUnix(input) {
4001        return createLocal(input * 1000);
4002    }
4003
4004    function createInZone() {
4005        return createLocal.apply(null, arguments).parseZone();
4006    }
4007
4008    function preParsePostFormat(string) {
4009        return string;
4010    }
4011
4012    var proto$1 = Locale.prototype;
4013
4014    proto$1.calendar = calendar;
4015    proto$1.longDateFormat = longDateFormat;
4016    proto$1.invalidDate = invalidDate;
4017    proto$1.ordinal = ordinal;
4018    proto$1.preparse = preParsePostFormat;
4019    proto$1.postformat = preParsePostFormat;
4020    proto$1.relativeTime = relativeTime;
4021    proto$1.pastFuture = pastFuture;
4022    proto$1.set = set;
4023
4024    proto$1.months = localeMonths;
4025    proto$1.monthsShort = localeMonthsShort;
4026    proto$1.monthsParse = localeMonthsParse;
4027    proto$1.monthsRegex = monthsRegex;
4028    proto$1.monthsShortRegex = monthsShortRegex;
4029    proto$1.week = localeWeek;
4030    proto$1.firstDayOfYear = localeFirstDayOfYear;
4031    proto$1.firstDayOfWeek = localeFirstDayOfWeek;
4032
4033    proto$1.weekdays = localeWeekdays;
4034    proto$1.weekdaysMin = localeWeekdaysMin;
4035    proto$1.weekdaysShort = localeWeekdaysShort;
4036    proto$1.weekdaysParse = localeWeekdaysParse;
4037
4038    proto$1.weekdaysRegex = weekdaysRegex;
4039    proto$1.weekdaysShortRegex = weekdaysShortRegex;
4040    proto$1.weekdaysMinRegex = weekdaysMinRegex;
4041
4042    proto$1.isPM = localeIsPM;
4043    proto$1.meridiem = localeMeridiem;
4044
4045    function get$1(format, index, field, setter) {
4046        var locale = getLocale();
4047        var utc = createUTC().set(setter, index);
4048        return locale[field](utc, format);
4049    }
4050
4051    function listMonthsImpl(format, index, field) {
4052        if (isNumber(format)) {
4053            index = format;
4054            format = undefined;
4055        }
4056
4057        format = format || '';
4058
4059        if (index != null) {
4060            return get$1(format, index, field, 'month');
4061        }
4062
4063        var i;
4064        var out = [];
4065        for (i = 0; i < 12; i++) {
4066            out[i] = get$1(format, i, field, 'month');
4067        }
4068        return out;
4069    }
4070
4071    // ()
4072    // (5)
4073    // (fmt, 5)
4074    // (fmt)
4075    // (true)
4076    // (true, 5)
4077    // (true, fmt, 5)
4078    // (true, fmt)
4079    function listWeekdaysImpl(localeSorted, format, index, field) {
4080        if (typeof localeSorted === 'boolean') {
4081            if (isNumber(format)) {
4082                index = format;
4083                format = undefined;
4084            }
4085
4086            format = format || '';
4087        } else {
4088            format = localeSorted;
4089            index = format;
4090            localeSorted = false;
4091
4092            if (isNumber(format)) {
4093                index = format;
4094                format = undefined;
4095            }
4096
4097            format = format || '';
4098        }
4099
4100        var locale = getLocale(),
4101            shift = localeSorted ? locale._week.dow : 0;
4102
4103        if (index != null) {
4104            return get$1(format, (index + shift) % 7, field, 'day');
4105        }
4106
4107        var i;
4108        var out = [];
4109        for (i = 0; i < 7; i++) {
4110            out[i] = get$1(format, (i + shift) % 7, field, 'day');
4111        }
4112        return out;
4113    }
4114
4115    function listMonths(format, index) {
4116        return listMonthsImpl(format, index, 'months');
4117    }
4118
4119    function listMonthsShort(format, index) {
4120        return listMonthsImpl(format, index, 'monthsShort');
4121    }
4122
4123    function listWeekdays(localeSorted, format, index) {
4124        return listWeekdaysImpl(localeSorted, format, index, 'weekdays');
4125    }
4126
4127    function listWeekdaysShort(localeSorted, format, index) {
4128        return listWeekdaysImpl(localeSorted, format, index, 'weekdaysShort');
4129    }
4130
4131    function listWeekdaysMin(localeSorted, format, index) {
4132        return listWeekdaysImpl(localeSorted, format, index, 'weekdaysMin');
4133    }
4134
4135    getSetGlobalLocale('en', {
4136        dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/,
4137        ordinal: function (number) {
4138            var b = number % 10,
4139                output = (toInt(number % 100 / 10) === 1) ? 'th' :
4140                    (b === 1) ? 'st' :
4141                        (b === 2) ? 'nd' :
4142                            (b === 3) ? 'rd' : 'th';
4143            return number + output;
4144        }
4145    });
4146
4147    // Side effect imports
4148
4149    hooks.lang = deprecate('moment.lang is deprecated. Use moment.locale instead.', getSetGlobalLocale);
4150    hooks.langData = deprecate('moment.langData is deprecated. Use moment.localeData instead.', getLocale);
4151
4152    var mathAbs = Math.abs;
4153
4154    function abs() {
4155        var data = this._data;
4156
4157        this._milliseconds = mathAbs(this._milliseconds);
4158        this._days = mathAbs(this._days);
4159        this._months = mathAbs(this._months);
4160
4161        data.milliseconds = mathAbs(data.milliseconds);
4162        data.seconds = mathAbs(data.seconds);
4163        data.minutes = mathAbs(data.minutes);
4164        data.hours = mathAbs(data.hours);
4165        data.months = mathAbs(data.months);
4166        data.years = mathAbs(data.years);
4167
4168        return this;
4169    }
4170
4171    function addSubtract$1(duration, input, value, direction) {
4172        var other = createDuration(input, value);
4173
4174        duration._milliseconds += direction * other._milliseconds;
4175        duration._days += direction * other._days;
4176        duration._months += direction * other._months;
4177
4178        return duration._bubble();
4179    }
4180
4181    // supports only 2.0-style add(1, 's') or add(duration)
4182    function add$1(input, value) {
4183        return addSubtract$1(this, input, value, 1);
4184    }
4185
4186    // supports only 2.0-style subtract(1, 's') or subtract(duration)
4187    function subtract$1(input, value) {
4188        return addSubtract$1(this, input, value, -1);
4189    }
4190
4191    function absCeil(number) {
4192        if (number < 0) {
4193            return Math.floor(number);
4194        } else {
4195            return Math.ceil(number);
4196        }
4197    }
4198
4199    function bubble() {
4200        var milliseconds = this._milliseconds;
4201        var days = this._days;
4202        var months = this._months;
4203        var data = this._data;
4204        var seconds, minutes, hours, years, monthsFromDays;
4205
4206        // if we have a mix of positive and negative values, bubble down first
4207        // check: https://github.com/moment/moment/issues/2166
4208        if (!((milliseconds >= 0 && days >= 0 && months >= 0) ||
4209            (milliseconds <= 0 && days <= 0 && months <= 0))) {
4210            milliseconds += absCeil(monthsToDays(months) + days) * 864e5;
4211            days = 0;
4212            months = 0;
4213        }
4214
4215        // The following code bubbles up values, see the tests for
4216        // examples of what that means.
4217        data.milliseconds = milliseconds % 1000;
4218
4219        seconds = absFloor(milliseconds / 1000);
4220        data.seconds = seconds % 60;
4221
4222        minutes = absFloor(seconds / 60);
4223        data.minutes = minutes % 60;
4224
4225        hours = absFloor(minutes / 60);
4226        data.hours = hours % 24;
4227
4228        days += absFloor(hours / 24);
4229
4230        // convert days to months
4231        monthsFromDays = absFloor(daysToMonths(days));
4232        months += monthsFromDays;
4233        days -= absCeil(monthsToDays(monthsFromDays));
4234
4235        // 12 months -> 1 year
4236        years = absFloor(months / 12);
4237        months %= 12;
4238
4239        data.days = days;
4240        data.months = months;
4241        data.years = years;
4242
4243        return this;
4244    }
4245
4246    function daysToMonths(days) {
4247        // 400 years have 146097 days (taking into account leap year rules)
4248        // 400 years have 12 months === 4800
4249        return days * 4800 / 146097;
4250    }
4251
4252    function monthsToDays(months) {
4253        // the reverse of daysToMonths
4254        return months * 146097 / 4800;
4255    }
4256
4257    function as(units) {
4258        if (!this.isValid()) {
4259            return NaN;
4260        }
4261        var days;
4262        var months;
4263        var milliseconds = this._milliseconds;
4264
4265        units = normalizeUnits(units);
4266
4267        if (units === 'month' || units === 'quarter' || units === 'year') {
4268            days = this._days + milliseconds / 864e5;
4269            months = this._months + daysToMonths(days);
4270            switch (units) {
4271                case 'month': return months;
4272                case 'quarter': return months / 3;
4273                case 'year': return months / 12;
4274            }
4275        } else {
4276            // handle milliseconds separately because of floating point math errors (issue #1867)
4277            days = this._days + Math.round(monthsToDays(this._months));
4278            switch (units) {
4279                case 'week': return days / 7 + milliseconds / 6048e5;
4280                case 'day': return days + milliseconds / 864e5;
4281                case 'hour': return days * 24 + milliseconds / 36e5;
4282                case 'minute': return days * 1440 + milliseconds / 6e4;
4283                case 'second': return days * 86400 + milliseconds / 1000;
4284                // Math.floor prevents floating point math errors here
4285                case 'millisecond': return Math.floor(days * 864e5) + milliseconds;
4286                default: throw new Error('Unknown unit ' + units);
4287            }
4288        }
4289    }
4290
4291    // TODO: Use this.as('ms')?
4292    function valueOf$1() {
4293        if (!this.isValid()) {
4294            return NaN;
4295        }
4296        return (
4297            this._milliseconds +
4298            this._days * 864e5 +
4299            (this._months % 12) * 2592e6 +
4300            toInt(this._months / 12) * 31536e6
4301        );
4302    }
4303
4304    function makeAs(alias) {
4305        return function () {
4306            return this.as(alias);
4307        };
4308    }
4309
4310    var asMilliseconds = makeAs('ms');
4311    var asSeconds = makeAs('s');
4312    var asMinutes = makeAs('m');
4313    var asHours = makeAs('h');
4314    var asDays = makeAs('d');
4315    var asWeeks = makeAs('w');
4316    var asMonths = makeAs('M');
4317    var asQuarters = makeAs('Q');
4318    var asYears = makeAs('y');
4319
4320    function clone$1() {
4321        return createDuration(this);
4322    }
4323
4324    function get$2(units) {
4325        units = normalizeUnits(units);
4326        return this.isValid() ? this[units + 's']() : NaN;
4327    }
4328
4329    function makeGetter(name) {
4330        return function () {
4331            return this.isValid() ? this._data[name] : NaN;
4332        };
4333    }
4334
4335    var milliseconds = makeGetter('milliseconds');
4336    var seconds = makeGetter('seconds');
4337    var minutes = makeGetter('minutes');
4338    var hours = makeGetter('hours');
4339    var days = makeGetter('days');
4340    var months = makeGetter('months');
4341    var years = makeGetter('years');
4342
4343    function weeks() {
4344        return absFloor(this.days() / 7);
4345    }
4346
4347    var round = Math.round;
4348    var thresholds = {
4349        ss: 44,         // a few seconds to seconds
4350        s: 45,         // seconds to minute
4351        m: 45,         // minutes to hour
4352        h: 22,         // hours to day
4353        d: 26,         // days to month
4354        M: 11          // months to year
4355    };
4356
4357    // helper function for moment.fn.from, moment.fn.fromNow, and moment.duration.fn.humanize
4358    function substituteTimeAgo(string, number, withoutSuffix, isFuture, locale) {
4359        return locale.relativeTime(number || 1, !!withoutSuffix, string, isFuture);
4360    }
4361
4362    function relativeTime$1(posNegDuration, withoutSuffix, locale) {
4363        var duration = createDuration(posNegDuration).abs();
4364        var seconds = round(duration.as('s'));
4365        var minutes = round(duration.as('m'));
4366        var hours = round(duration.as('h'));
4367        var days = round(duration.as('d'));
4368        var months = round(duration.as('M'));
4369        var years = round(duration.as('y'));
4370
4371        var a = seconds <= thresholds.ss && ['s', seconds] ||
4372            seconds < thresholds.s && ['ss', seconds] ||
4373            minutes <= 1 && ['m'] ||
4374            minutes < thresholds.m && ['mm', minutes] ||
4375            hours <= 1 && ['h'] ||
4376            hours < thresholds.h && ['hh', hours] ||
4377            days <= 1 && ['d'] ||
4378            days < thresholds.d && ['dd', days] ||
4379            months <= 1 && ['M'] ||
4380            months < thresholds.M && ['MM', months] ||
4381            years <= 1 && ['y'] || ['yy', years];
4382
4383        a[2] = withoutSuffix;
4384        a[3] = +posNegDuration > 0;
4385        a[4] = locale;
4386        return substituteTimeAgo.apply(null, a);
4387    }
4388
4389    // This function allows you to set the rounding function for relative time strings
4390    function getSetRelativeTimeRounding(roundingFunction) {
4391        if (roundingFunction === undefined) {
4392            return round;
4393        }
4394        if (typeof (roundingFunction) === 'function') {
4395            round = roundingFunction;
4396            return true;
4397        }
4398        return false;
4399    }
4400
4401    // This function allows you to set a threshold for relative time strings
4402    function getSetRelativeTimeThreshold(threshold, limit) {
4403        if (thresholds[threshold] === undefined) {
4404            return false;
4405        }
4406        if (limit === undefined) {
4407            return thresholds[threshold];
4408        }
4409        thresholds[threshold] = limit;
4410        if (threshold === 's') {
4411            thresholds.ss = limit - 1;
4412        }
4413        return true;
4414    }
4415
4416    function humanize(withSuffix) {
4417        if (!this.isValid()) {
4418            return this.localeData().invalidDate();
4419        }
4420
4421        var locale = this.localeData();
4422        var output = relativeTime$1(this, !withSuffix, locale);
4423
4424        if (withSuffix) {
4425            output = locale.pastFuture(+this, output);
4426        }
4427
4428        return locale.postformat(output);
4429    }
4430
4431    var abs$1 = Math.abs;
4432
4433    function sign(x) {
4434        return ((x > 0) - (x < 0)) || +x;
4435    }
4436
4437    function toISOString$1() {
4438        // for ISO strings we do not use the normal bubbling rules:
4439        //  * milliseconds bubble up until they become hours
4440        //  * days do not bubble at all
4441        //  * months bubble up until they become years
4442        // This is because there is no context-free conversion between hours and days
4443        // (think of clock changes)
4444        // and also not between days and months (28-31 days per month)
4445        if (!this.isValid()) {
4446            return this.localeData().invalidDate();
4447        }
4448
4449        var seconds = abs$1(this._milliseconds) / 1000;
4450        var days = abs$1(this._days);
4451        var months = abs$1(this._months);
4452        var minutes, hours, years;
4453
4454        // 3600 seconds -> 60 minutes -> 1 hour
4455        minutes = absFloor(seconds / 60);
4456        hours = absFloor(minutes / 60);
4457        seconds %= 60;
4458        minutes %= 60;
4459
4460        // 12 months -> 1 year
4461        years = absFloor(months / 12);
4462        months %= 12;
4463
4464
4465        // inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js
4466        var Y = years;
4467        var M = months;
4468        var D = days;
4469        var h = hours;
4470        var m = minutes;
4471        var s = seconds ? seconds.toFixed(3).replace(/\.?0+$/, '') : '';
4472        var total = this.asSeconds();
4473
4474        if (!total) {
4475            // this is the same as C#'s (Noda) and python (isodate)...
4476            // but not other JS (goog.date)
4477            return 'P0D';
4478        }
4479
4480        var totalSign = total < 0 ? '-' : '';
4481        var ymSign = sign(this._months) !== sign(total) ? '-' : '';
4482        var daysSign = sign(this._days) !== sign(total) ? '-' : '';
4483        var hmsSign = sign(this._milliseconds) !== sign(total) ? '-' : '';
4484
4485        return totalSign + 'P' +
4486            (Y ? ymSign + Y + 'Y' : '') +
4487            (M ? ymSign + M + 'M' : '') +
4488            (D ? daysSign + D + 'D' : '') +
4489            ((h || m || s) ? 'T' : '') +
4490            (h ? hmsSign + h + 'H' : '') +
4491            (m ? hmsSign + m + 'M' : '') +
4492            (s ? hmsSign + s + 'S' : '');
4493    }
4494
4495    var proto$2 = Duration.prototype;
4496
4497    proto$2.isValid = isValid$1;
4498    proto$2.abs = abs;
4499    proto$2.add = add$1;
4500    proto$2.subtract = subtract$1;
4501    proto$2.as = as;
4502    proto$2.asMilliseconds = asMilliseconds;
4503    proto$2.asSeconds = asSeconds;
4504    proto$2.asMinutes = asMinutes;
4505    proto$2.asHours = asHours;
4506    proto$2.asDays = asDays;
4507    proto$2.asWeeks = asWeeks;
4508    proto$2.asMonths = asMonths;
4509    proto$2.asQuarters = asQuarters;
4510    proto$2.asYears = asYears;
4511    proto$2.valueOf = valueOf$1;
4512    proto$2._bubble = bubble;
4513    proto$2.clone = clone$1;
4514    proto$2.get = get$2;
4515    proto$2.milliseconds = milliseconds;
4516    proto$2.seconds = seconds;
4517    proto$2.minutes = minutes;
4518    proto$2.hours = hours;
4519    proto$2.days = days;
4520    proto$2.weeks = weeks;
4521    proto$2.months = months;
4522    proto$2.years = years;
4523    proto$2.humanize = humanize;
4524    proto$2.toISOString = toISOString$1;
4525    proto$2.toString = toISOString$1;
4526    proto$2.toJSON = toISOString$1;
4527    proto$2.locale = locale;
4528    proto$2.localeData = localeData;
4529
4530    proto$2.toIsoString = deprecate('toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)', toISOString$1);
4531    proto$2.lang = lang;
4532
4533    // Side effect imports
4534
4535    // FORMATTING
4536
4537    addFormatToken('X', 0, 0, 'unix');
4538    addFormatToken('x', 0, 0, 'valueOf');
4539
4540    // PARSING
4541
4542    addRegexToken('x', matchSigned);
4543    addRegexToken('X', matchTimestamp);
4544    addParseToken('X', function (input, array, config) {
4545        config._d = new Date(parseFloat(input, 10) * 1000);
4546    });
4547    addParseToken('x', function (input, array, config) {
4548        config._d = new Date(toInt(input));
4549    });
4550
4551    // Side effect imports
4552
4553    //! moment.js
4554
4555    hooks.version = '2.24.0';
4556
4557    setHookCallback(createLocal);
4558
4559    hooks.fn = proto;
4560    hooks.min = min;
4561    hooks.max = max;
4562    hooks.now = now;
4563    hooks.utc = createUTC;
4564    hooks.unix = createUnix;
4565    hooks.months = listMonths;
4566    hooks.isDate = isDate;
4567    hooks.locale = getSetGlobalLocale;
4568    hooks.invalid = createInvalid;
4569    hooks.duration = createDuration;
4570    hooks.isMoment = isMoment;
4571    hooks.weekdays = listWeekdays;
4572    hooks.parseZone = createInZone;
4573    hooks.localeData = getLocale;
4574    hooks.isDuration = isDuration;
4575    hooks.monthsShort = listMonthsShort;
4576    hooks.weekdaysMin = listWeekdaysMin;
4577    hooks.defineLocale = defineLocale;
4578    hooks.updateLocale = updateLocale;
4579    hooks.locales = listLocales;
4580    hooks.weekdaysShort = listWeekdaysShort;
4581    hooks.normalizeUnits = normalizeUnits;
4582    hooks.relativeTimeRounding = getSetRelativeTimeRounding;
4583    hooks.relativeTimeThreshold = getSetRelativeTimeThreshold;
4584    hooks.calendarFormat = getCalendarFormat;
4585    hooks.prototype = proto;
4586
4587    // currently HTML5 input type only supports 24-hour formats
4588    hooks.HTML5_FMT = {
4589        DATETIME_LOCAL: 'YYYY-MM-DDTHH:mm',             // <input type="datetime-local" />
4590        DATETIME_LOCAL_SECONDS: 'YYYY-MM-DDTHH:mm:ss',  // <input type="datetime-local" step="1" />
4591        DATETIME_LOCAL_MS: 'YYYY-MM-DDTHH:mm:ss.SSS',   // <input type="datetime-local" step="0.001" />
4592        DATE: 'YYYY-MM-DD',                             // <input type="date" />
4593        TIME: 'HH:mm',                                  // <input type="time" />
4594        TIME_SECONDS: 'HH:mm:ss',                       // <input type="time" step="1" />
4595        TIME_MS: 'HH:mm:ss.SSS',                        // <input type="time" step="0.001" />
4596        WEEK: 'GGGG-[W]WW',                             // <input type="week" />
4597        MONTH: 'YYYY-MM'                                // <input type="month" />
4598    };
4599
4600    //! moment.js locale configuration
4601
4602    hooks.defineLocale('af', {
4603        months: 'Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember'.split('_'),
4604        monthsShort: 'Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des'.split('_'),
4605        weekdays: 'Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag'.split('_'),
4606        weekdaysShort: 'Son_Maa_Din_Woe_Don_Vry_Sat'.split('_'),
4607        weekdaysMin: 'So_Ma_Di_Wo_Do_Vr_Sa'.split('_'),
4608        meridiemParse: /vm|nm/i,
4609        isPM: function (input) {
4610            return /^nm$/i.test(input);
4611        },
4612        meridiem: function (hours, minutes, isLower) {
4613            if (hours < 12) {
4614                return isLower ? 'vm' : 'VM';
4615            } else {
4616                return isLower ? 'nm' : 'NM';
4617            }
4618        },
4619        longDateFormat: {
4620            LT: 'HH:mm',
4621            LTS: 'HH:mm:ss',
4622            L: 'DD/MM/YYYY',
4623            LL: 'D MMMM YYYY',
4624            LLL: 'D MMMM YYYY HH:mm',
4625            LLLL: 'dddd, D MMMM YYYY HH:mm'
4626        },
4627        calendar: {
4628            sameDay: '[Vandag om] LT',
4629            nextDay: '[Môre om] LT',
4630            nextWeek: 'dddd [om] LT',
4631            lastDay: '[Gister om] LT',
4632            lastWeek: '[Laas] dddd [om] LT',
4633            sameElse: 'L'
4634        },
4635        relativeTime: {
4636            future: 'oor %s',
4637            past: '%s gelede',
4638            s: '\'n paar sekondes',
4639            ss: '%d sekondes',
4640            m: '\'n minuut',
4641            mm: '%d minute',
4642            h: '\'n uur',
4643            hh: '%d ure',
4644            d: '\'n dag',
4645            dd: '%d dae',
4646            M: '\'n maand',
4647            MM: '%d maande',
4648            y: '\'n jaar',
4649            yy: '%d jaar'
4650        },
4651        dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
4652        ordinal: function (number) {
4653            return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de'); // Thanks to Joris Röling : https://github.com/jjupiter
4654        },
4655        week: {
4656            dow: 1, // Maandag is die eerste dag van die week.
4657            doy: 4  // Die week wat die 4de Januarie bevat is die eerste week van die jaar.
4658        }
4659    });
vendor: 8,188 bytes, lines 4660-4863
4660
4661    //! moment.js locale configuration
4662
4663    hooks.defineLocale('ar-dz', {
4664        months: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'),
4665        monthsShort: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'),
4666        weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
4667        weekdaysShort: 'احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'),
4668        weekdaysMin: 'أح_إث_ثلا_أر_خم_جم_سب'.split('_'),
4669        weekdaysParseExact: true,
4670        longDateFormat: {
4671            LT: 'HH:mm',
4672            LTS: 'HH:mm:ss',
4673            L: 'DD/MM/YYYY',
4674            LL: 'D MMMM YYYY',
4675            LLL: 'D MMMM YYYY HH:mm',
4676            LLLL: 'dddd D MMMM YYYY HH:mm'
4677        },
4678        calendar: {
4679            sameDay: '[اليوم على الساعة] LT',
4680            nextDay: '[غدا على الساعة] LT',
4681            nextWeek: 'dddd [على الساعة] LT',
4682            lastDay: '[أمس على الساعة] LT',
4683            lastWeek: 'dddd [على الساعة] LT',
4684            sameElse: 'L'
4685        },
4686        relativeTime: {
4687            future: 'في %s',
4688            past: 'منذ %s',
4689            s: 'ثوان',
4690            ss: '%d ثانية',
4691            m: 'دقيقة',
4692            mm: '%d دقائق',
4693            h: 'ساعة',
4694            hh: '%d ساعات',
4695            d: 'يوم',
4696            dd: '%d أيام',
4697            M: 'شهر',
4698            MM: '%d أشهر',
4699            y: 'سنة',
4700            yy: '%d سنوات'
4701        },
4702        week: {
4703            dow: 0, // Sunday is the first day of the week.
4704            doy: 4  // The week that contains Jan 4th is the first week of the year.
4705        }
4706    });
4707
4708    //! moment.js locale configuration
4709
4710    hooks.defineLocale('ar-kw', {
4711        months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'),
4712        monthsShort: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'),
4713        weekdays: 'الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
4714        weekdaysShort: 'احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'),
4715        weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
4716        weekdaysParseExact: true,
4717        longDateFormat: {
4718            LT: 'HH:mm',
4719            LTS: 'HH:mm:ss',
4720            L: 'DD/MM/YYYY',
4721            LL: 'D MMMM YYYY',
4722            LLL: 'D MMMM YYYY HH:mm',
4723            LLLL: 'dddd D MMMM YYYY HH:mm'
4724        },
4725        calendar: {
4726            sameDay: '[اليوم على الساعة] LT',
4727            nextDay: '[غدا على الساعة] LT',
4728            nextWeek: 'dddd [على الساعة] LT',
4729            lastDay: '[أمس على الساعة] LT',
4730            lastWeek: 'dddd [على الساعة] LT',
4731            sameElse: 'L'
4732        },
4733        relativeTime: {
4734            future: 'في %s',
4735            past: 'منذ %s',
4736            s: 'ثوان',
4737            ss: '%d ثانية',
4738            m: 'دقيقة',
4739            mm: '%d دقائق',
4740            h: 'ساعة',
4741            hh: '%d ساعات',
4742            d: 'يوم',
4743            dd: '%d أيام',
4744            M: 'شهر',
4745            MM: '%d أشهر',
4746            y: 'سنة',
4747            yy: '%d سنوات'
4748        },
4749        week: {
4750            dow: 0, // Sunday is the first day of the week.
4751            doy: 12  // The week that contains Jan 12th is the first week of the year.
4752        }
4753    });
4754
4755    //! moment.js locale configuration
4756
4757    var symbolMap = {
4758        '1': '1',
4759        '2': '2',
4760        '3': '3',
4761        '4': '4',
4762        '5': '5',
4763        '6': '6',
4764        '7': '7',
4765        '8': '8',
4766        '9': '9',
4767        '0': '0'
4768    }, pluralForm = function (n) {
4769        return n === 0 ? 0 : n === 1 ? 1 : n === 2 ? 2 : n % 100 >= 3 && n % 100 <= 10 ? 3 : n % 100 >= 11 ? 4 : 5;
4770    }, plurals = {
4771        s: ['أقل من ثانية', 'ثانية واحدة', ['ثانيتان', 'ثانيتين'], '%d ثوان', '%d ثانية', '%d ثانية'],
4772        m: ['أقل من دقيقة', 'دقيقة واحدة', ['دقيقتان', 'دقيقتين'], '%d دقائق', '%d دقيقة', '%d دقيقة'],
4773        h: ['أقل من ساعة', 'ساعة واحدة', ['ساعتان', 'ساعتين'], '%d ساعات', '%d ساعة', '%d ساعة'],
4774        d: ['أقل من يوم', 'يوم واحد', ['يومان', 'يومين'], '%d أيام', '%d يومًا', '%d يوم'],
4775        M: ['أقل من شهر', 'شهر واحد', ['شهران', 'شهرين'], '%d أشهر', '%d شهرا', '%d شهر'],
4776        y: ['أقل من عام', 'عام واحد', ['عامان', 'عامين'], '%d أعوام', '%d عامًا', '%d عام']
4777    }, pluralize = function (u) {
4778        return function (number, withoutSuffix, string, isFuture) {
4779            var f = pluralForm(number),
4780                str = plurals[u][pluralForm(number)];
4781            if (f === 2) {
4782                str = str[withoutSuffix ? 0 : 1];
4783            }
4784            return str.replace(/%d/i, number);
4785        };
4786    }, months$1 = [
4787        'يناير',
4788        'فبراير',
4789        'مارس',
4790        'أبريل',
4791        'مايو',
4792        'يونيو',
4793        'يوليو',
4794        'أغسطس',
4795        'سبتمبر',
4796        'أكتوبر',
4797        'نوفمبر',
4798        'ديسمبر'
4799    ];
4800
4801    hooks.defineLocale('ar-ly', {
4802        months: months$1,
4803        monthsShort: months$1,
4804        weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
4805        weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
4806        weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
4807        weekdaysParseExact: true,
4808        longDateFormat: {
4809            LT: 'HH:mm',
4810            LTS: 'HH:mm:ss',
4811            L: 'D/\u200FM/\u200FYYYY',
4812            LL: 'D MMMM YYYY',
4813            LLL: 'D MMMM YYYY HH:mm',
4814            LLLL: 'dddd D MMMM YYYY HH:mm'
4815        },
4816        meridiemParse: /ص|م/,
4817        isPM: function (input) {
4818            return 'م' === input;
4819        },
4820        meridiem: function (hour, minute, isLower) {
4821            if (hour < 12) {
4822                return 'ص';
4823            } else {
4824                return 'م';
4825            }
4826        },
4827        calendar: {
4828            sameDay: '[اليوم عند الساعة] LT',
4829            nextDay: '[غدًا عند الساعة] LT',
4830            nextWeek: 'dddd [عند الساعة] LT',
4831            lastDay: '[أمس عند الساعة] LT',
4832            lastWeek: 'dddd [عند الساعة] LT',
4833            sameElse: 'L'
4834        },
4835        relativeTime: {
4836            future: 'بعد %s',
4837            past: 'منذ %s',
4838            s: pluralize('s'),
4839            ss: pluralize('s'),
4840            m: pluralize('m'),
4841            mm: pluralize('m'),
4842            h: pluralize('h'),
4843            hh: pluralize('h'),
4844            d: pluralize('d'),
4845            dd: pluralize('d'),
4846            M: pluralize('M'),
4847            MM: pluralize('M'),
4848            y: pluralize('y'),
4849            yy: pluralize('y')
4850        },
4851        preparse: function (string) {
4852            return string.replace(/،/g, ',');
4853        },
4854        postformat: function (string) {
4855            return string.replace(/\d/g, function (match) {
4856                return symbolMap[match];
4857            }).replace(/,/g, '،');
4858        },
4859        week: {
4860            dow: 6, // Saturday is the first day of the week.
4861            doy: 12  // The week that contains Jan 12th is the first week of the year.
4862        }
4863    });
4864
4865    //! moment.js locale configuration
4866
4867    hooks.defineLocale('ar-ma', {
4868        months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'),
4869        monthsShort: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'),
4870        weekdays: 'الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
4871        weekdaysShort: 'احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'),
4872        weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
4873        weekdaysParseExact: true,
4874        longDateFormat: {
4875            LT: 'HH:mm',
4876            LTS: 'HH:mm:ss',
4877            L: 'DD/MM/YYYY',
4878            LL: 'D MMMM YYYY',
4879            LLL: 'D MMMM YYYY HH:mm',
4880            LLLL: 'dddd D MMMM YYYY HH:mm'
4881        },
4882        calendar: {
4883            sameDay: '[اليوم على الساعة] LT',
4884            nextDay: '[غدا على الساعة] LT',
4885            nextWeek: 'dddd [على الساعة] LT',
4886            lastDay: '[أمس على الساعة] LT',
4887            lastWeek: 'dddd [على الساعة] LT',
4888            sameElse: 'L'
4889        },
4890        relativeTime: {
4891            future: 'في %s',
4892            past: 'منذ %s',
4893            s: 'ثوان',
4894            ss: '%d ثانية',
4895            m: 'دقيقة',
4896            mm: '%d دقائق',
4897            h: 'ساعة',
4898            hh: '%d ساعات',
4899            d: 'يوم',
4900            dd: '%d أيام',
4901            M: 'شهر',
4902            MM: '%d أشهر',
4903            y: 'سنة',
4904            yy: '%d سنوات'
4905        },
4906        week: {
4907            dow: 6, // Saturday is the first day of the week.
4908            doy: 12  // The week that contains Jan 12th is the first week of the year.
4909        }
4910    });
4911
4912    //! moment.js locale configuration
4913
4914    var symbolMap$1 = {
4915        '1': 'Ù¡',
4916        '2': 'Ù¢',
4917        '3': 'Ù£',
4918        '4': 'Ù¤',
4919        '5': 'Ù¥',
4920        '6': 'Ù¦',
4921        '7': 'Ù§',
4922        '8': 'Ù¨',
4923        '9': 'Ù©',
4924        '0': 'Ù '
4925    }, numberMap = {
4926        'Ù¡': '1',
4927        'Ù¢': '2',
4928        'Ù£': '3',
4929        'Ù¤': '4',
4930        'Ù¥': '5',
4931        'Ù¦': '6',
4932        'Ù§': '7',
4933        'Ù¨': '8',
4934        'Ù©': '9',
4935        'Ù ': '0'
4936    };
4937
4938    hooks.defineLocale('ar-sa', {
4939        months: 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'),
4940        monthsShort: 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'),
4941        weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
4942        weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
4943        weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
4944        weekdaysParseExact: true,
4945        longDateFormat: {
4946            LT: 'HH:mm',
4947            LTS: 'HH:mm:ss',
4948            L: 'DD/MM/YYYY',
4949            LL: 'D MMMM YYYY',
4950            LLL: 'D MMMM YYYY HH:mm',
4951            LLLL: 'dddd D MMMM YYYY HH:mm'
4952        },
4953        meridiemParse: /ص|م/,
4954        isPM: function (input) {
4955            return 'م' === input;
4956        },
4957        meridiem: function (hour, minute, isLower) {
4958            if (hour < 12) {
4959                return 'ص';
4960            } else {
4961                return 'م';
4962            }
4963        },
4964        calendar: {
4965            sameDay: '[اليوم على الساعة] LT',
4966            nextDay: '[غدا على الساعة] LT',
4967            nextWeek: 'dddd [على الساعة] LT',
4968            lastDay: '[أمس على الساعة] LT',
4969            lastWeek: 'dddd [على الساعة] LT',
4970            sameElse: 'L'
4971        },
4972        relativeTime: {
4973            future: 'في %s',
4974            past: 'منذ %s',
4975            s: 'ثوان',
4976            ss: '%d ثانية',
4977            m: 'دقيقة',
4978            mm: '%d دقائق',
4979            h: 'ساعة',
4980            hh: '%d ساعات',
4981            d: 'يوم',
4982            dd: '%d أيام',
4983            M: 'شهر',
4984            MM: '%d أشهر',
4985            y: 'سنة',
4986            yy: '%d سنوات'
4987        },
4988        preparse: function (string) {
4989            return string.replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {
4990                return numberMap[match];
4991            }).replace(/،/g, ',');
4992        },
4993        postformat: function (string) {
4994            return string.replace(/\d/g, function (match) {
4995                return symbolMap$1[match];
4996            }).replace(/,/g, '،');
4997        },
4998        week: {
4999            dow: 0, // Sunday is the first day of the week.
5000            doy: 6  // The week that contains Jan 6th is the first week of the year.
5001        }
5002    });
vendor: 6,587 bytes, lines 5003-5172
5003
5004    //! moment.js locale configuration
5005
5006    hooks.defineLocale('ar-tn', {
5007        months: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'),
5008        monthsShort: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'),
5009        weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
5010        weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
5011        weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
5012        weekdaysParseExact: true,
5013        longDateFormat: {
5014            LT: 'HH:mm',
5015            LTS: 'HH:mm:ss',
5016            L: 'DD/MM/YYYY',
5017            LL: 'D MMMM YYYY',
5018            LLL: 'D MMMM YYYY HH:mm',
5019            LLLL: 'dddd D MMMM YYYY HH:mm'
5020        },
5021        calendar: {
5022            sameDay: '[اليوم على الساعة] LT',
5023            nextDay: '[غدا على الساعة] LT',
5024            nextWeek: 'dddd [على الساعة] LT',
5025            lastDay: '[أمس على الساعة] LT',
5026            lastWeek: 'dddd [على الساعة] LT',
5027            sameElse: 'L'
5028        },
5029        relativeTime: {
5030            future: 'في %s',
5031            past: 'منذ %s',
5032            s: 'ثوان',
5033            ss: '%d ثانية',
5034            m: 'دقيقة',
5035            mm: '%d دقائق',
5036            h: 'ساعة',
5037            hh: '%d ساعات',
5038            d: 'يوم',
5039            dd: '%d أيام',
5040            M: 'شهر',
5041            MM: '%d أشهر',
5042            y: 'سنة',
5043            yy: '%d سنوات'
5044        },
5045        week: {
5046            dow: 1, // Monday is the first day of the week.
5047            doy: 4 // The week that contains Jan 4th is the first week of the year.
5048        }
5049    });
5050
5051    //! moment.js locale configuration
5052
5053    var symbolMap$2 = {
5054        '1': 'Ù¡',
5055        '2': 'Ù¢',
5056        '3': 'Ù£',
5057        '4': 'Ù¤',
5058        '5': 'Ù¥',
5059        '6': 'Ù¦',
5060        '7': 'Ù§',
5061        '8': 'Ù¨',
5062        '9': 'Ù©',
5063        '0': 'Ù '
5064    }, numberMap$1 = {
5065        'Ù¡': '1',
5066        'Ù¢': '2',
5067        'Ù£': '3',
5068        'Ù¤': '4',
5069        'Ù¥': '5',
5070        'Ù¦': '6',
5071        'Ù§': '7',
5072        'Ù¨': '8',
5073        'Ù©': '9',
5074        'Ù ': '0'
5075    }, pluralForm$1 = function (n) {
5076        return n === 0 ? 0 : n === 1 ? 1 : n === 2 ? 2 : n % 100 >= 3 && n % 100 <= 10 ? 3 : n % 100 >= 11 ? 4 : 5;
5077    }, plurals$1 = {
5078        s: ['أقل من ثانية', 'ثانية واحدة', ['ثانيتان', 'ثانيتين'], '%d ثوان', '%d ثانية', '%d ثانية'],
5079        m: ['أقل من دقيقة', 'دقيقة واحدة', ['دقيقتان', 'دقيقتين'], '%d دقائق', '%d دقيقة', '%d دقيقة'],
5080        h: ['أقل من ساعة', 'ساعة واحدة', ['ساعتان', 'ساعتين'], '%d ساعات', '%d ساعة', '%d ساعة'],
5081        d: ['أقل من يوم', 'يوم واحد', ['يومان', 'يومين'], '%d أيام', '%d يومًا', '%d يوم'],
5082        M: ['أقل من شهر', 'شهر واحد', ['شهران', 'شهرين'], '%d أشهر', '%d شهرا', '%d شهر'],
5083        y: ['أقل من عام', 'عام واحد', ['عامان', 'عامين'], '%d أعوام', '%d عامًا', '%d عام']
5084    }, pluralize$1 = function (u) {
5085        return function (number, withoutSuffix, string, isFuture) {
5086            var f = pluralForm$1(number),
5087                str = plurals$1[u][pluralForm$1(number)];
5088            if (f === 2) {
5089                str = str[withoutSuffix ? 0 : 1];
5090            }
5091            return str.replace(/%d/i, number);
5092        };
5093    }, months$2 = [
5094        'يناير',
5095        'فبراير',
5096        'مارس',
5097        'أبريل',
5098        'مايو',
5099        'يونيو',
5100        'يوليو',
5101        'أغسطس',
5102        'سبتمبر',
5103        'أكتوبر',
5104        'نوفمبر',
5105        'ديسمبر'
5106    ];
5107
5108    hooks.defineLocale('ar', {
5109        months: months$2,
5110        monthsShort: months$2,
5111        weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
5112        weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
5113        weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
5114        weekdaysParseExact: true,
5115        longDateFormat: {
5116            LT: 'HH:mm',
5117            LTS: 'HH:mm:ss',
5118            L: 'D/\u200FM/\u200FYYYY',
5119            LL: 'D MMMM YYYY',
5120            LLL: 'D MMMM YYYY HH:mm',
5121            LLLL: 'dddd D MMMM YYYY HH:mm'
5122        },
5123        meridiemParse: /ص|م/,
5124        isPM: function (input) {
5125            return 'م' === input;
5126        },
5127        meridiem: function (hour, minute, isLower) {
5128            if (hour < 12) {
5129                return 'ص';
5130            } else {
5131                return 'م';
5132            }
5133        },
5134        calendar: {
5135            sameDay: '[اليوم عند الساعة] LT',
5136            nextDay: '[غدًا عند الساعة] LT',
5137            nextWeek: 'dddd [عند الساعة] LT',
5138            lastDay: '[أمس عند الساعة] LT',
5139            lastWeek: 'dddd [عند الساعة] LT',
5140            sameElse: 'L'
5141        },
5142        relativeTime: {
5143            future: 'بعد %s',
5144            past: 'منذ %s',
5145            s: pluralize$1('s'),
5146            ss: pluralize$1('s'),
5147            m: pluralize$1('m'),
5148            mm: pluralize$1('m'),
5149            h: pluralize$1('h'),
5150            hh: pluralize$1('h'),
5151            d: pluralize$1('d'),
5152            dd: pluralize$1('d'),
5153            M: pluralize$1('M'),
5154            MM: pluralize$1('M'),
5155            y: pluralize$1('y'),
5156            yy: pluralize$1('y')
5157        },
5158        preparse: function (string) {
5159            return string.replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {
5160                return numberMap$1[match];
5161            }).replace(/،/g, ',');
5162        },
5163        postformat: function (string) {
5164            return string.replace(/\d/g, function (match) {
5165                return symbolMap$2[match];
5166            }).replace(/,/g, '،');
5167        },
5168        week: {
5169            dow: 6, // Saturday is the first day of the week.
5170            doy: 12  // The week that contains Jan 12th is the first week of the year.
5171        }
5172    });
5173
5174    //! moment.js locale configuration
5175
5176    var suffixes = {
5177        1: '-inci',
5178        5: '-inci',
5179        8: '-inci',
5180        70: '-inci',
5181        80: '-inci',
5182        2: '-nci',
5183        7: '-nci',
5184        20: '-nci',
5185        50: '-nci',
5186        3: '-üncü',
5187        4: '-üncü',
5188        100: '-üncü',
5189        6: '-ncı',
5190        9: '-uncu',
5191        10: '-uncu',
5192        30: '-uncu',
5193        60: '-ıncı',
5194        90: '-ıncı'
5195    };
5196
5197    hooks.defineLocale('az', {
5198        months: 'yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr'.split('_'),
5199        monthsShort: 'yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek'.split('_'),
5200        weekdays: 'Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə'.split('_'),
5201        weekdaysShort: 'Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən'.split('_'),
5202        weekdaysMin: 'Bz_BE_ÇA_Çə_CA_Cü_Şə'.split('_'),
5203        weekdaysParseExact: true,
5204        longDateFormat: {
5205            LT: 'HH:mm',
5206            LTS: 'HH:mm:ss',
5207            L: 'DD.MM.YYYY',
5208            LL: 'D MMMM YYYY',
5209            LLL: 'D MMMM YYYY HH:mm',
5210            LLLL: 'dddd, D MMMM YYYY HH:mm'
5211        },
5212        calendar: {
5213            sameDay: '[bugün saat] LT',
5214            nextDay: '[sabah saat] LT',
5215            nextWeek: '[gələn həftə] dddd [saat] LT',
5216            lastDay: '[dünən] LT',
5217            lastWeek: '[keçən həftə] dddd [saat] LT',
5218            sameElse: 'L'
5219        },
5220        relativeTime: {
5221            future: '%s sonra',
5222            past: '%s əvvəl',
5223            s: 'birneçə saniyə',
5224            ss: '%d saniyə',
5225            m: 'bir dəqiqə',
5226            mm: '%d dəqiqə',
5227            h: 'bir saat',
5228            hh: '%d saat',
5229            d: 'bir gün',
5230            dd: '%d gün',
5231            M: 'bir ay',
5232            MM: '%d ay',
5233            y: 'bir il',
5234            yy: '%d il'
5235        },
5236        meridiemParse: /gecə|səhər|gündüz|axşam/,
5237        isPM: function (input) {
5238            return /^(gündüz|axşam)$/.test(input);
5239        },
5240        meridiem: function (hour, minute, isLower) {
5241            if (hour < 4) {
5242                return 'gecə';
5243            } else if (hour < 12) {
5244                return 'səhər';
5245            } else if (hour < 17) {
5246                return 'gündüz';
5247            } else {
5248                return 'axşam';
5249            }
5250        },
5251        dayOfMonthOrdinalParse: /\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,
5252        ordinal: function (number) {
5253            if (number === 0) {  // special case for zero
5254                return number + '-ıncı';
5255            }
5256            var a = number % 10,
5257                b = number % 100 - a,
5258                c = number >= 100 ? 100 : null;
5259            return number + (suffixes[a] || suffixes[b] || suffixes[c]);
5260        },
5261        week: {
5262            dow: 1, // Monday is the first day of the week.
5263            doy: 7  // The week that contains Jan 7th is the first week of the year.
5264        }
5265    });
5266
5267    //! moment.js locale configuration
5268
5269    function plural(word, num) {
5270        var forms = word.split('_');
5271        return num % 10 === 1 && num % 100 !== 11 ? forms[0] : (num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) ? forms[1] : forms[2]);
5272    }
5273    function relativeTimeWithPlural(number, withoutSuffix, key) {
5274        var format = {
5275            'ss': withoutSuffix ? 'секунда_секунды_секунд' : 'секунду_секунды_секунд',
5276            'mm': withoutSuffix ? 'хвіліна_хвіліны_хвілін' : 'хвіліну_хвіліны_хвілін',
5277            'hh': withoutSuffix ? 'гадзіна_гадзіны_гадзін' : 'гадзіну_гадзіны_гадзін',
5278            'dd': 'дзень_дні_дзён',
5279            'MM': 'месяц_месяцы_месяцаў',
5280            'yy': 'год_гады_гадоў'
5281        };
5282        if (key === 'm') {
5283            return withoutSuffix ? 'хвіліна' : 'хвіліну';
5284        }
5285        else if (key === 'h') {
5286            return withoutSuffix ? 'гадзіна' : 'гадзіну';
5287        }
5288        else {
5289            return number + ' ' + plural(format[key], +number);
5290        }
5291    }
5292
5293    hooks.defineLocale('be', {
5294        months: {
5295            format: 'студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня'.split('_'),
5296            standalone: 'студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань'.split('_')
5297        },
5298        monthsShort: 'студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж'.split('_'),
5299        weekdays: {
5300            format: 'нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу'.split('_'),
5301            standalone: 'нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота'.split('_'),
5302            isFormat: /\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/
5303        },
5304        weekdaysShort: 'нд_пн_ат_ср_чц_пт_сб'.split('_'),
5305        weekdaysMin: 'нд_пн_ат_ср_чц_пт_сб'.split('_'),
5306        longDateFormat: {
5307            LT: 'HH:mm',
5308            LTS: 'HH:mm:ss',
5309            L: 'DD.MM.YYYY',
5310            LL: 'D MMMM YYYY г.',
5311            LLL: 'D MMMM YYYY г., HH:mm',
5312            LLLL: 'dddd, D MMMM YYYY г., HH:mm'
5313        },
5314        calendar: {
5315            sameDay: '[Сёння ў] LT',
5316            nextDay: '[Заўтра ў] LT',
5317            lastDay: '[Учора ў] LT',
5318            nextWeek: function () {
5319                return '[У] dddd [ў] LT';
5320            },
5321            lastWeek: function () {
5322                switch (this.day()) {
5323                    case 0:
5324                    case 3:
5325                    case 5:
5326                    case 6:
5327                        return '[У мінулую] dddd [ў] LT';
5328                    case 1:
5329                    case 2:
5330                    case 4:
5331                        return '[У мінулы] dddd [ў] LT';
5332                }
5333            },
5334            sameElse: 'L'
5335        },
5336        relativeTime: {
5337            future: 'праз %s',
5338            past: '%s таму',
5339            s: 'некалькі секунд',
5340            m: relativeTimeWithPlural,
5341            mm: relativeTimeWithPlural,
5342            h: relativeTimeWithPlural,
5343            hh: relativeTimeWithPlural,
5344            d: 'дзень',
5345            dd: relativeTimeWithPlural,
5346            M: 'месяц',
5347            MM: relativeTimeWithPlural,
5348            y: 'год',
5349            yy: relativeTimeWithPlural
5350        },
5351        meridiemParse: /ночы|раніцы|дня|вечара/,
5352        isPM: function (input) {
5353            return /^(дня|вечара)$/.test(input);
5354        },
5355        meridiem: function (hour, minute, isLower) {
5356            if (hour < 4) {
5357                return 'ночы';
5358            } else if (hour < 12) {
5359                return 'раніцы';
5360            } else if (hour < 17) {
5361                return 'дня';
5362            } else {
5363                return 'вечара';
5364            }
5365        },
5366        dayOfMonthOrdinalParse: /\d{1,2}-(і|ы|га)/,
5367        ordinal: function (number, period) {
5368            switch (period) {
5369                case 'M':
5370                case 'd':
5371                case 'DDD':
5372                case 'w':
5373                case 'W':
5374                    return (number % 10 === 2 || number % 10 === 3) && (number % 100 !== 12 && number % 100 !== 13) ? number + '-і' : number + '-ы';
5375                case 'D':
5376                    return number + '-га';
5377                default:
5378                    return number;
5379            }
5380        },
5381        week: {
5382            dow: 1, // Monday is the first day of the week.
5383            doy: 7  // The week that contains Jan 7th is the first week of the year.
5384        }
5385    });
5386
5387    //! moment.js locale configuration
5388
5389    hooks.defineLocale('bg', {
5390        months: 'януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември'.split('_'),
5391        monthsShort: 'янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек'.split('_'),
5392        weekdays: 'неделя_понеделник_вторник_сряда_четвъртък_петък_събота'.split('_'),
5393        weekdaysShort: 'нед_пон_вто_сря_чет_пет_съб'.split('_'),
5394        weekdaysMin: 'нд_пн_вт_ср_чт_пт_сб'.split('_'),
5395        longDateFormat: {
5396            LT: 'H:mm',
5397            LTS: 'H:mm:ss',
5398            L: 'D.MM.YYYY',
5399            LL: 'D MMMM YYYY',
5400            LLL: 'D MMMM YYYY H:mm',
5401            LLLL: 'dddd, D MMMM YYYY H:mm'
5402        },
5403        calendar: {
5404            sameDay: '[Днес в] LT',
5405            nextDay: '[Утре в] LT',
5406            nextWeek: 'dddd [в] LT',
5407            lastDay: '[Вчера в] LT',
5408            lastWeek: function () {
5409                switch (this.day()) {
5410                    case 0:
5411                    case 3:
5412                    case 6:
5413                        return '[В изминалата] dddd [в] LT';
5414                    case 1:
5415                    case 2:
5416                    case 4:
5417                    case 5:
5418                        return '[В изминалия] dddd [в] LT';
5419                }
5420            },
5421            sameElse: 'L'
5422        },
5423        relativeTime: {
5424            future: 'след %s',
5425            past: 'преди %s',
5426            s: 'няколко секунди',
5427            ss: '%d секунди',
5428            m: 'минута',
5429            mm: '%d минути',
5430            h: 'час',
5431            hh: '%d часа',
5432            d: 'ден',
5433            dd: '%d дни',
5434            M: 'месец',
5435            MM: '%d месеца',
5436            y: 'година',
5437            yy: '%d години'
5438        },
5439        dayOfMonthOrdinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/,
5440        ordinal: function (number) {
5441            var lastDigit = number % 10,
5442                last2Digits = number % 100;
5443            if (number === 0) {
5444                return number + '-ев';
5445            } else if (last2Digits === 0) {
5446                return number + '-ен';
5447            } else if (last2Digits > 10 && last2Digits < 20) {
5448                return number + '-ти';
5449            } else if (lastDigit === 1) {
5450                return number + '-ви';
5451            } else if (lastDigit === 2) {
5452                return number + '-ри';
5453            } else if (lastDigit === 7 || lastDigit === 8) {
5454                return number + '-ми';
5455            } else {
5456                return number + '-ти';
5457            }
5458        },
5459        week: {
5460            dow: 1, // Monday is the first day of the week.
5461            doy: 7  // The week that contains Jan 7th is the first week of the year.
5462        }
5463    });
vendor: 10,855 bytes, lines 5464-5723
5464
5465    //! moment.js locale configuration
5466
5467    hooks.defineLocale('bm', {
5468        months: 'Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo'.split('_'),
5469        monthsShort: 'Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des'.split('_'),
5470        weekdays: 'Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri'.split('_'),
5471        weekdaysShort: 'Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib'.split('_'),
5472        weekdaysMin: 'Ka_Nt_Ta_Ar_Al_Ju_Si'.split('_'),
5473        longDateFormat: {
5474            LT: 'HH:mm',
5475            LTS: 'HH:mm:ss',
5476            L: 'DD/MM/YYYY',
5477            LL: 'MMMM [tile] D [san] YYYY',
5478            LLL: 'MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm',
5479            LLLL: 'dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm'
5480        },
5481        calendar: {
5482            sameDay: '[Bi lɛrɛ] LT',
5483            nextDay: '[Sini lɛrɛ] LT',
5484            nextWeek: 'dddd [don lɛrɛ] LT',
5485            lastDay: '[Kunu lɛrɛ] LT',
5486            lastWeek: 'dddd [tɛmɛnen lɛrɛ] LT',
5487            sameElse: 'L'
5488        },
5489        relativeTime: {
5490            future: '%s kɔnɔ',
5491            past: 'a bɛ %s bɔ',
5492            s: 'sanga dama dama',
5493            ss: 'sekondi %d',
5494            m: 'miniti kelen',
5495            mm: 'miniti %d',
5496            h: 'lɛrɛ kelen',
5497            hh: 'lɛrɛ %d',
5498            d: 'tile kelen',
5499            dd: 'tile %d',
5500            M: 'kalo kelen',
5501            MM: 'kalo %d',
5502            y: 'san kelen',
5503            yy: 'san %d'
5504        },
5505        week: {
5506            dow: 1, // Monday is the first day of the week.
5507            doy: 4  // The week that contains Jan 4th is the first week of the year.
5508        }
5509    });
5510
5511    //! moment.js locale configuration
5512
5513    var symbolMap$3 = {
5514        '1': 'à§§',
5515        '2': '২',
5516        '3': 'à§©',
5517        '4': '৪',
5518        '5': 'à§«',
5519        '6': '৬',
5520        '7': 'à§­',
5521        '8': 'à§®',
5522        '9': '৯',
5523        '0': '০'
5524    },
5525        numberMap$2 = {
5526            'à§§': '1',
5527            '২': '2',
5528            'à§©': '3',
5529            '৪': '4',
5530            'à§«': '5',
5531            '৬': '6',
5532            'à§­': '7',
5533            'à§®': '8',
5534            '৯': '9',
5535            '০': '0'
5536        };
5537
5538    hooks.defineLocale('bn', {
5539        months: 'জানুয়ারী_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split('_'),
5540        monthsShort: 'জানু_ফেব_মার্চ_এপ্র_মে_জুন_জুল_আগ_সেপ্ট_অক্টো_নভে_ডিসে'.split('_'),
5541        weekdays: 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার'.split('_'),
5542        weekdaysShort: 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি'.split('_'),
5543        weekdaysMin: 'রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি'.split('_'),
5544        longDateFormat: {
5545            LT: 'A h:mm সময়',
5546            LTS: 'A h:mm:ss সময়',
5547            L: 'DD/MM/YYYY',
5548            LL: 'D MMMM YYYY',
5549            LLL: 'D MMMM YYYY, A h:mm সময়',
5550            LLLL: 'dddd, D MMMM YYYY, A h:mm সময়'
5551        },
5552        calendar: {
5553            sameDay: '[আজ] LT',
5554            nextDay: '[আগামীকাল] LT',
5555            nextWeek: 'dddd, LT',
5556            lastDay: '[গতকাল] LT',
5557            lastWeek: '[গত] dddd, LT',
5558            sameElse: 'L'
5559        },
5560        relativeTime: {
5561            future: '%s পরে',
5562            past: '%s আগে',
5563            s: 'কয়েক সেকেন্ড',
5564            ss: '%d সেকেন্ড',
5565            m: 'এক মিনিট',
5566            mm: '%d মিনিট',
5567            h: 'এক ঘন্টা',
5568            hh: '%d ঘন্টা',
5569            d: 'এক দিন',
5570            dd: '%d দিন',
5571            M: 'এক মাস',
5572            MM: '%d মাস',
5573            y: 'এক বছর',
5574            yy: '%d বছর'
5575        },
5576        preparse: function (string) {
5577            return string.replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) {
5578                return numberMap$2[match];
5579            });
5580        },
5581        postformat: function (string) {
5582            return string.replace(/\d/g, function (match) {
5583                return symbolMap$3[match];
5584            });
5585        },
5586        meridiemParse: /রাত|সকাল|দুপুর|বিকাল|রাত/,
5587        meridiemHour: function (hour, meridiem) {
5588            if (hour === 12) {
5589                hour = 0;
5590            }
5591            if ((meridiem === 'রাত' && hour >= 4) ||
5592                (meridiem === 'দুপুর' && hour < 5) ||
5593                meridiem === 'বিকাল') {
5594                return hour + 12;
5595            } else {
5596                return hour;
5597            }
5598        },
5599        meridiem: function (hour, minute, isLower) {
5600            if (hour < 4) {
5601                return 'রাত';
5602            } else if (hour < 10) {
5603                return 'সকাল';
5604            } else if (hour < 17) {
5605                return 'দুপুর';
5606            } else if (hour < 20) {
5607                return 'বিকাল';
5608            } else {
5609                return 'রাত';
5610            }
5611        },
5612        week: {
5613            dow: 0, // Sunday is the first day of the week.
5614            doy: 6  // The week that contains Jan 6th is the first week of the year.
5615        }
5616    });
5617
5618    //! moment.js locale configuration
5619
5620    var symbolMap$4 = {
5621        '1': '༡',
5622        '2': '༢',
5623        '3': '༣',
5624        '4': '༤',
5625        '5': '༥',
5626        '6': '༦',
5627        '7': '༧',
5628        '8': '༨',
5629        '9': '༩',
5630        '0': '༠'
5631    },
5632        numberMap$3 = {
5633            '༡': '1',
5634            '༢': '2',
5635            '༣': '3',
5636            '༤': '4',
5637            '༥': '5',
5638            '༦': '6',
5639            '༧': '7',
5640            '༨': '8',
5641            '༩': '9',
5642            '༠': '0'
5643        };
5644
5645    hooks.defineLocale('bo', {
5646        months: 'ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ'.split('_'),
5647        monthsShort: 'ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ'.split('_'),
5648        weekdays: 'གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་'.split('_'),
5649        weekdaysShort: 'ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་'.split('_'),
5650        weekdaysMin: 'ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་'.split('_'),
5651        longDateFormat: {
5652            LT: 'A h:mm',
5653            LTS: 'A h:mm:ss',
5654            L: 'DD/MM/YYYY',
5655            LL: 'D MMMM YYYY',
5656            LLL: 'D MMMM YYYY, A h:mm',
5657            LLLL: 'dddd, D MMMM YYYY, A h:mm'
5658        },
5659        calendar: {
5660            sameDay: '[དི་རིང] LT',
5661            nextDay: '[སང་ཉིན] LT',
5662            nextWeek: '[བདུན་ཕྲག་རྗེས་མ], LT',
5663            lastDay: '[ཁ་སང] LT',
5664            lastWeek: '[བདུན་ཕྲག་མཐའ་མ] dddd, LT',
5665            sameElse: 'L'
5666        },
5667        relativeTime: {
5668            future: '%s ལ་',
5669            past: '%s སྔན་ལ',
5670            s: 'ལམ་སང',
5671            ss: '%d སྐར་ཆ།',
5672            m: 'སྐར་མ་གཅིག',
5673            mm: '%d སྐར་མ',
5674            h: 'ཆུ་ཚོད་གཅིག',
5675            hh: '%d ཆུ་ཚོད',
5676            d: 'ཉིན་གཅིག',
5677            dd: '%d ཉིན་',
5678            M: 'ཟླ་བ་གཅིག',
5679            MM: '%d ཟླ་བ',
5680            y: 'ལོ་གཅིག',
5681            yy: '%d ལོ'
5682        },
5683        preparse: function (string) {
5684            return string.replace(/[༡༢༣༤༥༦༧༨༩༠]/g, function (match) {
5685                return numberMap$3[match];
5686            });
5687        },
5688        postformat: function (string) {
5689            return string.replace(/\d/g, function (match) {
5690                return symbolMap$4[match];
5691            });
5692        },
5693        meridiemParse: /མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,
5694        meridiemHour: function (hour, meridiem) {
5695            if (hour === 12) {
5696                hour = 0;
5697            }
5698            if ((meridiem === 'མཚན་མོ' && hour >= 4) ||
5699                (meridiem === 'ཉིན་གུང' && hour < 5) ||
5700                meridiem === 'དགོང་དག') {
5701                return hour + 12;
5702            } else {
5703                return hour;
5704            }
5705        },
5706        meridiem: function (hour, minute, isLower) {
5707            if (hour < 4) {
5708                return 'མཚན་མོ';
5709            } else if (hour < 10) {
5710                return 'ཞོགས་ཀས';
5711            } else if (hour < 17) {
5712                return 'ཉིན་གུང';
5713            } else if (hour < 20) {
5714                return 'དགོང་དག';
5715            } else {
5716                return 'མཚན་མོ';
5717            }
5718        },
5719        week: {
5720            dow: 0, // Sunday is the first day of the week.
5721            doy: 6  // The week that contains Jan 6th is the first week of the year.
5722        }
5723    });
5724
5725    //! moment.js locale configuration
5726
5727    function relativeTimeWithMutation(number, withoutSuffix, key) {
5728        var format = {
5729            'mm': 'munutenn',
5730            'MM': 'miz',
5731            'dd': 'devezh'
5732        };
5733        return number + ' ' + mutation(format[key], number);
5734    }
5735    function specialMutationForYears(number) {
5736        switch (lastNumber(number)) {
5737            case 1:
5738            case 3:
5739            case 4:
5740            case 5:
5741            case 9:
5742                return number + ' bloaz';
5743            default:
5744                return number + ' vloaz';
5745        }
5746    }
5747    function lastNumber(number) {
5748        if (number > 9) {
5749            return lastNumber(number % 10);
5750        }
5751        return number;
5752    }
5753    function mutation(text, number) {
5754        if (number === 2) {
5755            return softMutation(text);
5756        }
5757        return text;
5758    }
5759    function softMutation(text) {
5760        var mutationTable = {
5761            'm': 'v',
5762            'b': 'v',
5763            'd': 'z'
5764        };
5765        if (mutationTable[text.charAt(0)] === undefined) {
5766            return text;
5767        }
5768        return mutationTable[text.charAt(0)] + text.substring(1);
5769    }
5770
5771    hooks.defineLocale('br', {
5772        months: 'Genver_C\'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu'.split('_'),
5773        monthsShort: 'Gen_C\'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker'.split('_'),
5774        weekdays: 'Sul_Lun_Meurzh_Merc\'her_Yaou_Gwener_Sadorn'.split('_'),
5775        weekdaysShort: 'Sul_Lun_Meu_Mer_Yao_Gwe_Sad'.split('_'),
5776        weekdaysMin: 'Su_Lu_Me_Mer_Ya_Gw_Sa'.split('_'),
5777        weekdaysParseExact: true,
5778        longDateFormat: {
5779            LT: 'h[e]mm A',
5780            LTS: 'h[e]mm:ss A',
5781            L: 'DD/MM/YYYY',
5782            LL: 'D [a viz] MMMM YYYY',
5783            LLL: 'D [a viz] MMMM YYYY h[e]mm A',
5784            LLLL: 'dddd, D [a viz] MMMM YYYY h[e]mm A'
5785        },
5786        calendar: {
5787            sameDay: '[Hiziv da] LT',
5788            nextDay: '[Warc\'hoazh da] LT',
5789            nextWeek: 'dddd [da] LT',
5790            lastDay: '[Dec\'h da] LT',
5791            lastWeek: 'dddd [paset da] LT',
5792            sameElse: 'L'
5793        },
5794        relativeTime: {
5795            future: 'a-benn %s',
5796            past: '%s \'zo',
5797            s: 'un nebeud segondennoù',
5798            ss: '%d eilenn',
5799            m: 'ur vunutenn',
5800            mm: relativeTimeWithMutation,
5801            h: 'un eur',
5802            hh: '%d eur',
5803            d: 'un devezh',
5804            dd: relativeTimeWithMutation,
5805            M: 'ur miz',
5806            MM: relativeTimeWithMutation,
5807            y: 'ur bloaz',
5808            yy: specialMutationForYears
5809        },
5810        dayOfMonthOrdinalParse: /\d{1,2}(añ|vet)/,
5811        ordinal: function (number) {
5812            var output = (number === 1) ? 'añ' : 'vet';
5813            return number + output;
5814        },
5815        week: {
5816            dow: 1, // Monday is the first day of the week.
5817            doy: 4  // The week that contains Jan 4th is the first week of the year.
5818        }
5819    });
5820
5821    //! moment.js locale configuration
5822
5823    function translate(number, withoutSuffix, key) {
5824        var result = number + ' ';
5825        switch (key) {
5826            case 'ss':
5827                if (number === 1) {
5828                    result += 'sekunda';
5829                } else if (number === 2 || number === 3 || number === 4) {
5830                    result += 'sekunde';
5831                } else {
5832                    result += 'sekundi';
5833                }
5834                return result;
5835            case 'm':
5836                return withoutSuffix ? 'jedna minuta' : 'jedne minute';
5837            case 'mm':
5838                if (number === 1) {
5839                    result += 'minuta';
5840                } else if (number === 2 || number === 3 || number === 4) {
5841                    result += 'minute';
5842                } else {
5843                    result += 'minuta';
5844                }
5845                return result;
5846            case 'h':
5847                return withoutSuffix ? 'jedan sat' : 'jednog sata';
5848            case 'hh':
5849                if (number === 1) {
5850                    result += 'sat';
5851                } else if (number === 2 || number === 3 || number === 4) {
5852                    result += 'sata';
5853                } else {
5854                    result += 'sati';
5855                }
5856                return result;
5857            case 'dd':
5858                if (number === 1) {
5859                    result += 'dan';
5860                } else {
5861                    result += 'dana';
5862                }
5863                return result;
5864            case 'MM':
5865                if (number === 1) {
5866                    result += 'mjesec';
5867                } else if (number === 2 || number === 3 || number === 4) {
5868                    result += 'mjeseca';
5869                } else {
5870                    result += 'mjeseci';
5871                }
5872                return result;
5873            case 'yy':
5874                if (number === 1) {
5875                    result += 'godina';
5876                } else if (number === 2 || number === 3 || number === 4) {
5877                    result += 'godine';
5878                } else {
5879                    result += 'godina';
5880                }
5881                return result;
5882        }
5883    }
5884
5885    hooks.defineLocale('bs', {
5886        months: 'januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar'.split('_'),
5887        monthsShort: 'jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.'.split('_'),
5888        monthsParseExact: true,
5889        weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split('_'),
5890        weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),
5891        weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),
5892        weekdaysParseExact: true,
5893        longDateFormat: {
5894            LT: 'H:mm',
5895            LTS: 'H:mm:ss',
5896            L: 'DD.MM.YYYY',
5897            LL: 'D. MMMM YYYY',
5898            LLL: 'D. MMMM YYYY H:mm',
5899            LLLL: 'dddd, D. MMMM YYYY H:mm'
5900        },
5901        calendar: {
5902            sameDay: '[danas u] LT',
5903            nextDay: '[sutra u] LT',
5904            nextWeek: function () {
5905                switch (this.day()) {
5906                    case 0:
5907                        return '[u] [nedjelju] [u] LT';
5908                    case 3:
5909                        return '[u] [srijedu] [u] LT';
5910                    case 6:
5911                        return '[u] [subotu] [u] LT';
5912                    case 1:
5913                    case 2:
5914                    case 4:
5915                    case 5:
5916                        return '[u] dddd [u] LT';
5917                }
5918            },
5919            lastDay: '[jučer u] LT',
5920            lastWeek: function () {
5921                switch (this.day()) {
5922                    case 0:
5923                    case 3:
5924                        return '[prošlu] dddd [u] LT';
5925                    case 6:
5926                        return '[prošle] [subote] [u] LT';
5927                    case 1:
5928                    case 2:
5929                    case 4:
5930                    case 5:
5931                        return '[prošli] dddd [u] LT';
5932                }
5933            },
5934            sameElse: 'L'
5935        },
5936        relativeTime: {
5937            future: 'za %s',
5938            past: 'prije %s',
5939            s: 'par sekundi',
5940            ss: translate,
5941            m: translate,
5942            mm: translate,
5943            h: translate,
5944            hh: translate,
5945            d: 'dan',
5946            dd: translate,
5947            M: 'mjesec',
5948            MM: translate,
5949            y: 'godinu',
5950            yy: translate
5951        },
5952        dayOfMonthOrdinalParse: /\d{1,2}\./,
5953        ordinal: '%d.',
5954        week: {
5955            dow: 1, // Monday is the first day of the week.
5956            doy: 7  // The week that contains Jan 7th is the first week of the year.
5957        }
5958    });
5959
5960    //! moment.js locale configuration
5961
5962    hooks.defineLocale('ca', {
5963        months: {
5964            standalone: 'gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre'.split('_'),
5965            format: 'de gener_de febrer_de març_d\'abril_de maig_de juny_de juliol_d\'agost_de setembre_d\'octubre_de novembre_de desembre'.split('_'),
5966            isFormat: /D[oD]?(\s)+MMMM/
5967        },
5968        monthsShort: 'gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.'.split('_'),
5969        monthsParseExact: true,
5970        weekdays: 'diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte'.split('_'),
5971        weekdaysShort: 'dg._dl._dt._dc._dj._dv._ds.'.split('_'),
5972        weekdaysMin: 'dg_dl_dt_dc_dj_dv_ds'.split('_'),
5973        weekdaysParseExact: true,
5974        longDateFormat: {
5975            LT: 'H:mm',
5976            LTS: 'H:mm:ss',
5977            L: 'DD/MM/YYYY',
5978            LL: 'D MMMM [de] YYYY',
5979            ll: 'D MMM YYYY',
5980            LLL: 'D MMMM [de] YYYY [a les] H:mm',
5981            lll: 'D MMM YYYY, H:mm',
5982            LLLL: 'dddd D MMMM [de] YYYY [a les] H:mm',
5983            llll: 'ddd D MMM YYYY, H:mm'
5984        },
5985        calendar: {
5986            sameDay: function () {
5987                return '[avui a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT';
5988            },
5989            nextDay: function () {
5990                return '[demà a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT';
5991            },
5992            nextWeek: function () {
5993                return 'dddd [a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT';
5994            },
5995            lastDay: function () {
5996                return '[ahir a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT';
5997            },
5998            lastWeek: function () {
5999                return '[el] dddd [passat a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT';
6000            },
6001            sameElse: 'L'
6002        },
6003        relativeTime: {
6004            future: 'd\'aquí %s',
6005            past: 'fa %s',
6006            s: 'uns segons',
6007            ss: '%d segons',
6008            m: 'un minut',
6009            mm: '%d minuts',
6010            h: 'una hora',
6011            hh: '%d hores',
6012            d: 'un dia',
6013            dd: '%d dies',
6014            M: 'un mes',
6015            MM: '%d mesos',
6016            y: 'un any',
6017            yy: '%d anys'
6018        },
6019        dayOfMonthOrdinalParse: /\d{1,2}(r|n|t|è|a)/,
6020        ordinal: function (number, period) {
6021            var output = (number === 1) ? 'r' :
6022                (number === 2) ? 'n' :
6023                    (number === 3) ? 'r' :
6024                        (number === 4) ? 't' : 'è';
6025            if (period === 'w' || period === 'W') {
6026                output = 'a';
6027            }
6028            return number + output;
6029        },
6030        week: {
6031            dow: 1, // Monday is the first day of the week.
6032            doy: 4  // The week that contains Jan 4th is the first week of the year.
6033        }
6034    });
6035
6036    //! moment.js locale configuration
6037
6038    var months$3 = 'leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec'.
6038split('_'),
6039        monthsShort = 'led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro'.split('_');
6040
6041    var monthsParse = [/^led/i, /^úno/i, /^bře/i, /^dub/i, /^kvě/i, /^(čvn|červen$|června)/i, /^(čvc|červenec|července)/i, /^srp/i, /^zář/i, /^říj/i, /^lis/i, /^pro/i];
6042    // NOTE: 'červen' is substring of 'červenec'; therefore 'červenec' must precede 'červen' in the regex to be fully matched.
6043    // Otherwise parser matches '1. červenec' as '1. červen' + 'ec'.
6044    var monthsRegex$1 = /^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;
6045
6046    function plural$1(n) {
6047        return (n > 1) && (n < 5) && (~~(n / 10) !== 1);
6048    }
6049    function translate$1(number, withoutSuffix, key, isFuture) {
6050        var result = number + ' ';
6051        switch (key) {
6052            case 's':  // a few seconds / in a few seconds / a few seconds ago
6053                return (withoutSuffix || isFuture) ? 'pár sekund' : 'pár sekundami';
6054            case 'ss': // 9 seconds / in 9 seconds / 9 seconds ago
6055                if (withoutSuffix || isFuture) {
6056                    return result + (plural$1(number) ? 'sekundy' : 'sekund');
6057                } else {
6058                    return result + 'sekundami';
6059                }
6060                break;
6061            case 'm':  // a minute / in a minute / a minute ago
6062                return withoutSuffix ? 'minuta' : (isFuture ? 'minutu' : 'minutou');
6063            case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago
6064                if (withoutSuffix || isFuture) {
6065                    return result + (plural$1(number) ? 'minuty' : 'minut');
6066                } else {
6067                    return result + 'minutami';
6068                }
6069                break;
6070            case 'h':  // an hour / in an hour / an hour ago
6071                return withoutSuffix ? 'hodina' : (isFuture ? 'hodinu' : 'hodinou');
6072            case 'hh': // 9 hours / in 9 hours / 9 hours ago
6073                if (withoutSuffix || isFuture) {
6074                    return result + (plural$1(number) ? 'hodiny' : 'hodin');
6075                } else {
6076                    return result + 'hodinami';
6077                }
6078                break;
6079            case 'd':  // a day / in a day / a day ago
6080                return (withoutSuffix || isFuture) ? 'den' : 'dnem';
6081            case 'dd': // 9 days / in 9 days / 9 days ago
6082                if (withoutSuffix || isFuture) {
6083                    return result + (plural$1(number) ? 'dny' : 'dní');
6084                } else {
6085                    return result + 'dny';
6086                }
6087                break;
6088            case 'M':  // a month / in a month / a month ago
6089                return (withoutSuffix || isFuture) ? 'měsíc' : 'měsícem';
6090            case 'MM': // 9 months / in 9 months / 9 months ago
6091                if (withoutSuffix || isFuture) {
6092                    return result + (plural$1(number) ? 'měsíce' : 'měsíců');
6093                } else {
6094                    return result + 'měsíci';
6095                }
6096                break;
6097            case 'y':  // a year / in a year / a year ago
6098                return (withoutSuffix || isFuture) ? 'rok' : 'rokem';
6099            case 'yy': // 9 years / in 9 years / 9 years ago
6100                if (withoutSuffix || isFuture) {
6101                    return result + (plural$1(number) ? 'roky' : 'let');
6102                } else {
6103                    return result + 'lety';
6104                }
6105                break;
6106        }
6107    }
6108
6109    hooks.defineLocale('cs', {
6110        months: months$3,
6111        monthsShort: monthsShort,
6112        monthsRegex: monthsRegex$1,
6113        monthsShortRegex: monthsRegex$1,
6114        // NOTE: 'červen' is substring of 'červenec'; therefore 'červenec' must precede 'červen' in the regex to be fully matched.
6115        // Otherwise parser matches '1. červenec' as '1. červen' + 'ec'.
6116        monthsStrictRegex: /^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,
6117        monthsShortStrictRegex: /^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,
6118        monthsParse: monthsParse,
6119        longMonthsParse: monthsParse,
6120        shortMonthsParse: monthsParse,
6121        weekdays: 'neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota'.split('_'),
6122        weekdaysShort: 'ne_po_út_st_čt_pá_so'.split('_'),
6123        weekdaysMin: 'ne_po_út_st_čt_pá_so'.split('_'),
6124        longDateFormat: {
6125            LT: 'H:mm',
6126            LTS: 'H:mm:ss',
6127            L: 'DD.MM.YYYY',
6128            LL: 'D. MMMM YYYY',
6129            LLL: 'D. MMMM YYYY H:mm',
6130            LLLL: 'dddd D. MMMM YYYY H:mm',
6131            l: 'D. M. YYYY'
6132        },
6133        calendar: {
6134            sameDay: '[dnes v] LT',
6135            nextDay: '[zítra v] LT',
6136            nextWeek: function () {
6137                switch (this.day()) {
6138                    case 0:
6139                        return '[v neděli v] LT';
6140                    case 1:
6141                    case 2:
6142                        return '[v] dddd [v] LT';
6143                    case 3:
6144                        return '[ve středu v] LT';
6145                    case 4:
6146                        return '[ve čtvrtek v] LT';
6147                    case 5:
6148                        return '[v pátek v] LT';
6149                    case 6:
6150                        return '[v sobotu v] LT';
6151                }
6152            },
6153            lastDay: '[včera v] LT',
6154            lastWeek: function () {
6155                switch (this.day()) {
6156                    case 0:
6157                        return '[minulou neděli v] LT';
6158                    case 1:
6159                    case 2:
6160                        return '[minulé] dddd [v] LT';
6161                    case 3:
6162                        return '[minulou středu v] LT';
6163                    case 4:
6164                    case 5:
6165                        return '[minulý] dddd [v] LT';
6166                    case 6:
6167                        return '[minulou sobotu v] LT';
6168                }
6169            },
6170            sameElse: 'L'
6171        },
6172        relativeTime: {
6173            future: 'za %s',
6174            past: 'před %s',
6175            s: translate$1,
6176            ss: translate$1,
6177            m: translate$1,
6178            mm: translate$1,
6179            h: translate$1,
6180            hh: translate$1,
6181            d: translate$1,
6182            dd: translate$1,
6183            M: translate$1,
6184            MM: translate$1,
6185            y: translate$1,
6186            yy: translate$1
6187        },
6188        dayOfMonthOrdinalParse: /\d{1,2}\./,
6189        ordinal: '%d.',
6190        week: {
6191            dow: 1, // Monday is the first day of the week.
6192            doy: 4  // The week that contains Jan 4th is the first week of the year.
6193        }
6194    });
6195
6196    //! moment.js locale configuration
6197
6198    hooks.defineLocale('cv', {
6199        months: 'кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав'.split('_'),
6200        monthsShort: 'кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш'.split('_'),
6201        weekdays: 'вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун'.split('_'),
6202        weekdaysShort: 'выр_тун_ытл_юн_кӗҫ_эрн_шӑм'.split('_'),
6203        weekdaysMin: 'вр_тн_ыт_юн_кҫ_эр_шм'.split('_'),
6204        longDateFormat: {
6205            LT: 'HH:mm',
6206            LTS: 'HH:mm:ss',
6207            L: 'DD-MM-YYYY',
6208            LL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]',
6209            LLL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm',
6210            LLLL: 'dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm'
6211        },
6212        calendar: {
6213            sameDay: '[Паян] LT [сехетре]',
6214            nextDay: '[Ыран] LT [сехетре]',
6215            lastDay: '[Ӗнер] LT [сехетре]',
6216            nextWeek: '[Ҫитес] dddd LT [сехетре]',
6217            lastWeek: '[Иртнӗ] dddd LT [сехетре]',
6218            sameElse: 'L'
6219        },
6220        relativeTime: {
6221            future: function (output) {
6222                var affix = /сехет$/i.exec(output) ? 'рен' : /ҫул$/i.exec(output) ? 'тан' : 'ран';
6223                return output + affix;
6224            },
6225            past: '%s каялла',
6226            s: 'пӗр-ик ҫеккунт',
6227            ss: '%d ҫеккунт',
6228            m: 'пӗр минут',
6229            mm: '%d минут',
6230            h: 'пӗр сехет',
6231            hh: '%d сехет',
6232            d: 'пӗр кун',
6233            dd: '%d кун',
6234            M: 'пӗр уйӑх',
6235            MM: '%d уйӑх',
6236            y: 'пӗр ҫул',
6237            yy: '%d ҫул'
6238        },
6239        dayOfMonthOrdinalParse: /\d{1,2}-мӗш/,
6240        ordinal: '%d-мӗш',
6241        week: {
6242            dow: 1, // Monday is the first day of the week.
6243            doy: 7  // The week that contains Jan 7th is the first week of the year.
6244        }
6245    });
6246
6247    //! moment.js locale configuration
6248
6249    hooks.defineLocale('cy', {
6250        months: 'Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr'.split('_'),
6251        monthsShort: 'Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag'.split('_'),
6252        weekdays: 'Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn'.split('_'),
6253        weekdaysShort: 'Sul_Llun_Maw_Mer_Iau_Gwe_Sad'.split('_'),
6254        weekdaysMin: 'Su_Ll_Ma_Me_Ia_Gw_Sa'.split('_'),
6255        weekdaysParseExact: true,
6256        // time formats are the same as en-gb
6257        longDateFormat: {
6258            LT: 'HH:mm',
6259            LTS: 'HH:mm:ss',
6260            L: 'DD/MM/YYYY',
6261            LL: 'D MMMM YYYY',
6262            LLL: 'D MMMM YYYY HH:mm',
6263            LLLL: 'dddd, D MMMM YYYY HH:mm'
6264        },
6265        calendar: {
6266            sameDay: '[Heddiw am] LT',
6267            nextDay: '[Yfory am] LT',
6268            nextWeek: 'dddd [am] LT',
6269            lastDay: '[Ddoe am] LT',
6270            lastWeek: 'dddd [diwethaf am] LT',
6271            sameElse: 'L'
6272        },
6273        relativeTime: {
6274            future: 'mewn %s',
6275            past: '%s yn ôl',
6276            s: 'ychydig eiliadau',
6277            ss: '%d eiliad',
6278            m: 'munud',
6279            mm: '%d munud',
6280            h: 'awr',
6281            hh: '%d awr',
6282            d: 'diwrnod',
6283            dd: '%d diwrnod',
6284            M: 'mis',
6285            MM: '%d mis',
6286            y: 'blwyddyn',
6287            yy: '%d flynedd'
6288        },
6289        dayOfMonthOrdinalParse: /\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,
6290        // traditional ordinal numbers above 31 are not commonly used in colloquial Welsh
6291        ordinal: function (number) {
6292            var b = number,
6293                output = '',
6294                lookup = [
6295                    '', 'af', 'il', 'ydd', 'ydd', 'ed', 'ed', 'ed', 'fed', 'fed', 'fed', // 1af to 10fed
6296                    'eg', 'fed', 'eg', 'eg', 'fed', 'eg', 'eg', 'fed', 'eg', 'fed' // 11eg to 20fed
6297                ];
6298            if (b > 20) {
6299                if (b === 40 || b === 50 || b === 60 || b === 80 || b === 100) {
6300                    output = 'fed'; // not 30ain, 70ain or 90ain
6301                } else {
6302                    output = 'ain';
6303                }
6304            } else if (b > 0) {
6305                output = lookup[b];
6306            }
6307            return number + output;
6308        },
6309        week: {
6310            dow: 1, // Monday is the first day of the week.
6311            doy: 4  // The week that contains Jan 4th is the first week of the year.
6312        }
6313    });
6314
6315    //! moment.js locale configuration
6316
6317    hooks.defineLocale('da', {
6318        months: 'januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december'.split('_'),
6319        monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'),
6320        weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),
6321        weekdaysShort: 'søn_man_tir_ons_tor_fre_lør'.split('_'),
6322        weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'),
6323        longDateFormat: {
6324            LT: 'HH:mm',
6325            LTS: 'HH:mm:ss',
6326            L: 'DD.MM.YYYY',
6327            LL: 'D. MMMM YYYY',
6328            LLL: 'D. MMMM YYYY HH:mm',
6329            LLLL: 'dddd [d.] D. MMMM YYYY [kl.] HH:mm'
6330        },
6331        calendar: {
6332            sameDay: '[i dag kl.] LT',
6333            nextDay: '[i morgen kl.] LT',
6334            nextWeek: 'på dddd [kl.] LT',
6335            lastDay: '[i går kl.] LT',
6336            lastWeek: '[i] dddd[s kl.] LT',
6337            sameElse: 'L'
6338        },
6339        relativeTime: {
6340            future: 'om %s',
6341            past: '%s siden',
6342            s: 'få sekunder',
6343            ss: '%d sekunder',
6344            m: 'et minut',
6345            mm: '%d minutter',
6346            h: 'en time',
6347            hh: '%d timer',
6348            d: 'en dag',
6349            dd: '%d dage',
6350            M: 'en måned',
6351            MM: '%d måneder',
6352            y: 'et år',
6353            yy: '%d år'
6354        },
6355        dayOfMonthOrdinalParse: /\d{1,2}\./,
6356        ordinal: '%d.',
6357        week: {
6358            dow: 1, // Monday is the first day of the week.
6359            doy: 4  // The week that contains Jan 4th is the first week of the year.
6360        }
6361    });
6362
6363    //! moment.js locale configuration
6364
6365    function processRelativeTime(number, withoutSuffix, key, isFuture) {
6366        var format = {
6367            'm': ['eine Minute', 'einer Minute'],
6368            'h': ['eine Stunde', 'einer Stunde'],
6369            'd': ['ein Tag', 'einem Tag'],
6370            'dd': [number + ' Tage', number + ' Tagen'],
6371            'M': ['ein Monat', 'einem Monat'],
6372            'MM': [number + ' Monate', number + ' Monaten'],
6373            'y': ['ein Jahr', 'einem Jahr'],
6374            'yy': [number + ' Jahre', number + ' Jahren']
6375        };
6376        return withoutSuffix ? format[key][0] : format[key][1];
6377    }
6378
6379    hooks.defineLocale('de-at', {
6380        months: 'Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'),
6381        monthsShort: 'Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'),
6382        monthsParseExact: true,
6383        weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'),
6384        weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),
6385        weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
6386        weekdaysParseExact: true,
6387        longDateFormat: {
6388            LT: 'HH:mm',
6389            LTS: 'HH:mm:ss',
6390            L: 'DD.MM.YYYY',
6391            LL: 'D. MMMM YYYY',
6392            LLL: 'D. MMMM YYYY HH:mm',
6393            LLLL: 'dddd, D. MMMM YYYY HH:mm'
6394        },
6395        calendar: {
6396            sameDay: '[heute um] LT [Uhr]',
6397            sameElse: 'L',
6398            nextDay: '[morgen um] LT [Uhr]',
6399            nextWeek: 'dddd [um] LT [Uhr]',
6400            lastDay: '[gestern um] LT [Uhr]',
6401            lastWeek: '[letzten] dddd [um] LT [Uhr]'
6402        },
6403        relativeTime: {
6404            future: 'in %s',
6405            past: 'vor %s',
6406            s: 'ein paar Sekunden',
6407            ss: '%d Sekunden',
6408            m: processRelativeTime,
6409            mm: '%d Minuten',
6410            h: processRelativeTime,
6411            hh: '%d Stunden',
6412            d: processRelativeTime,
6413            dd: processRelativeTime,
6414            M: processRelativeTime,
6415            MM: processRelativeTime,
6416            y: processRelativeTime,
6417            yy: processRelativeTime
6418        },
6419        dayOfMonthOrdinalParse: /\d{1,2}\./,
6420        ordinal: '%d.',
6421        week: {
6422            dow: 1, // Monday is the first day of the week.
6423            doy: 4  // The week that contains Jan 4th is the first week of the year.
6424        }
6425    });
6426
6427    //! moment.js locale configuration
6428
6429    function processRelativeTime$1(number, withoutSuffix, key, isFuture) {
6430        var format = {
6431            'm': ['eine Minute', 'einer Minute'],
6432            'h': ['eine Stunde', 'einer Stunde'],
6433            'd': ['ein Tag', 'einem Tag'],
6434            'dd': [number + ' Tage', number + ' Tagen'],
6435            'M': ['ein Monat', 'einem Monat'],
6436            'MM': [number + ' Monate', number + ' Monaten'],
6437            'y': ['ein Jahr', 'einem Jahr'],
6438            'yy': [number + ' Jahre', number + ' Jahren']
6439        };
6440        return withoutSuffix ? format[key][0] : format[key][1];
6441    }
6442
6443    hooks.defineLocale('de-ch', {
6444        months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'),
6445        monthsShort: 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'),
6446        monthsParseExact: true,
6447        weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'),
6448        weekdaysShort: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
6449        weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
6450        weekdaysParseExact: true,
6451        longDateFormat: {
6452            LT: 'HH:mm',
6453            LTS: 'HH:mm:ss',
6454            L: 'DD.MM.YYYY',
6455            LL: 'D. MMMM YYYY',
6456            LLL: 'D. MMMM YYYY HH:mm',
6457            LLLL: 'dddd, D. MMMM YYYY HH:mm'
6458        },
6459        calendar: {
6460            sameDay: '[heute um] LT [Uhr]',
6461            sameElse: 'L',
6462            nextDay: '[morgen um] LT [Uhr]',
6463            nextWeek: 'dddd [um] LT [Uhr]',
6464            lastDay: '[gestern um] LT [Uhr]',
6465            lastWeek: '[letzten] dddd [um] LT [Uhr]'
6466        },
6467        relativeTime: {
6468            future: 'in %s',
6469            past: 'vor %s',
6470            s: 'ein paar Sekunden',
6471            ss: '%d Sekunden',
6472            m: processRelativeTime$1,
6473            mm: '%d Minuten',
6474            h: processRelativeTime$1,
6475            hh: '%d Stunden',
6476            d: processRelativeTime$1,
6477            dd: processRelativeTime$1,
6478            M: processRelativeTime$1,
6479            MM: processRelativeTime$1,
6480            y: processRelativeTime$1,
6481            yy: processRelativeTime$1
6482        },
6483        dayOfMonthOrdinalParse: /\d{1,2}\./,
6484        ordinal: '%d.',
6485        week: {
6486            dow: 1, // Monday is the first day of the week.
6487            doy: 4  // The week that contains Jan 4th is the first week of the year.
6488        }
6489    });
6490
6491    //! moment.js locale configuration
6492
6493    function processRelativeTime$2(number, withoutSuffix, key, isFuture) {
6494        var format = {
6495            'm': ['eine Minute', 'einer Minute'],
6496            'h': ['eine Stunde', 'einer Stunde'],
6497            'd': ['ein Tag', 'einem Tag'],
6498            'dd': [number + ' Tage', number + ' Tagen'],
6499            'M': ['ein Monat', 'einem Monat'],
6500            'MM': [number + ' Monate', number + ' Monaten'],
6501            'y': ['ein Jahr', 'einem Jahr'],
6502            'yy': [number + ' Jahre', number + ' Jahren']
6503        };
6504        return withoutSuffix ? format[key][0] : format[key][1];
6505    }
6506
6507    hooks.defineLocale('de', {
6508        months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'),
6509        monthsShort: 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'),
6510        monthsParseExact: true,
6511        weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'),
6512        weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),
6513        weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
6514        weekdaysParseExact: true,
6515        longDateFormat: {
6516            LT: 'HH:mm',
6517            LTS: 'HH:mm:ss',
6518            L: 'DD.MM.YYYY',
6519            LL: 'D. MMMM YYYY',
6520            LLL: 'D. MMMM YYYY HH:mm',
6521            LLLL: 'dddd, D. MMMM YYYY HH:mm'
6522        },
6523        calendar: {
6524            sameDay: '[heute um] LT [Uhr]',
6525            sameElse: 'L',
6526            nextDay: '[morgen um] LT [Uhr]',
6527            nextWeek: 'dddd [um] LT [Uhr]',
6528            lastDay: '[gestern um] LT [Uhr]',
6529            lastWeek: '[letzten] dddd [um] LT [Uhr]'
6530        },
6531        relativeTime: {
6532            future: 'in %s',
6533            past: 'vor %s',
6534            s: 'ein paar Sekunden',
6535            ss: '%d Sekunden',
6536            m: processRelativeTime$2,
6537            mm: '%d Minuten',
6538            h: processRelativeTime$2,
6539            hh: '%d Stunden',
6540            d: processRelativeTime$2,
6541            dd: processRelativeTime$2,
6542            M: processRelativeTime$2,
6543            MM: processRelativeTime$2,
6544            y: processRelativeTime$2,
6545            yy: processRelativeTime$2
6546        },
6547        dayOfMonthOrdinalParse: /\d{1,2}\./,
6548        ordinal: '%d.',
6549        week: {
6550            dow: 1, // Monday is the first day of the week.
6551            doy: 4  // The week that contains Jan 4th is the first week of the year.
6552        }
6553    });
6554
6555    //! moment.js locale configuration
6556
6557    var months$4 = [
6558        'ޖެނުއަރީ',
6559        'ފެބްރުއަރީ',
6560        'މާރިޗު',
6561        'އޭޕްރީލު',
6562        'މޭ',
6563        'ޖޫން',
6564        'ޖުލައި',
6565        'އޯގަސްޓު',
6566        'ސެޕްޓެމްބަރު',
6567        'އޮކްޓޯބަރު',
6568        'ނޮވެމްބަރު',
6569        'ޑިސެމްބަރު'
6570    ], weekdays = [
6571        'އާދިއްތަ',
6572        'ހޯމަ',
6573        'އަންގާރަ',
6574        'ބުދަ',
6575        'ބުރާސްފަތި',
6576        'ހުކުރު',
6577        'ހޮނިހިރު'
6578    ];
6579
6580    hooks.defineLocale('dv', {
6581        months: months$4,
6582        monthsShort: months$4,
6583        weekdays: weekdays,
6584        weekdaysShort: weekdays,
6585        weekdaysMin: 'އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި'.split('_'),
6586        longDateFormat: {
6587
6588            LT: 'HH:mm',
6589            LTS: 'HH:mm:ss',
6590            L: 'D/M/YYYY',
6591            LL: 'D MMMM YYYY',
6592            LLL: 'D MMMM YYYY HH:mm',
6593            LLLL: 'dddd D MMMM YYYY HH:mm'
6594        },
6595        meridiemParse: /މކ|މފ/,
6596        isPM: function (input) {
6597            return 'މފ' === input;
6598        },
6599        meridiem: function (hour, minute, isLower) {
6600            if (hour < 12) {
6601                return 'މކ';
6602            } else {
6603                return 'މފ';
6604            }
6605        },
6606        calendar: {
6607            sameDay: '[މިއަދު] LT',
6608            nextDay: '[މާދަމާ] LT',
6609            nextWeek: 'dddd LT',
6610            lastDay: '[އިއްޔެ] LT',
6611            lastWeek: '[ފާއިތުވި] dddd LT',
6612            sameElse: 'L'
6613        },
6614        relativeTime: {
6615            future: 'ތެރޭގައި %s',
6616            past: 'ކުރިން %s',
6617            s: 'ސިކުންތުކޮޅެއް',
6618            ss: 'd% ސިކުންތު',
6619            m: 'މިނިޓެއް',
6620            mm: 'މިނިޓު %d',
6621            h: 'ގަޑިއިރެއް',
6622            hh: 'ގަޑިއިރު %d',
6623            d: 'ދުވަހެއް',
6624            dd: 'ދުވަސް %d',
6625            M: 'މަހެއް',
6626            MM: 'މަސް %d',
6627            y: 'އަހަރެއް',
6628            yy: 'އަހަރު %d'
6629        },
6630        preparse: function (string) {
6631            return string.replace(/،/g, ',');
6632        },
6633        postformat: function (string) {
6634            return string.replace(/,/g, '،');
6635        },
6636        week: {
6637            dow: 7,  // Sunday is the first day of the week.
6638            doy: 12  // The week that contains Jan 12th is the first week of the year.
6639        }
6640    });
6641
6642    //! moment.js locale configuration
6643
6644    hooks.defineLocale('el', {
6645        monthsNominativeEl: 'Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος'.split('_'),
6646        monthsGenitiveEl: 'Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου'.split('_'),
6647        months: function (momentToFormat, format) {
6648            if (!momentToFormat) {
6649                return this._monthsNominativeEl;
6650            } else if (typeof format === 'string' && /D/.test(format.substring(0, format.indexOf('MMMM')))) { // if there is a day number before 'MMMM'
6651                return this._monthsGenitiveEl[momentToFormat.month()];
6652            } else {
6653                return this._monthsNominativeEl[momentToFormat.month()];
6654            }
6655        },
6656        monthsShort: 'Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ'.split('_'),
6657        weekdays: 'Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο'.split('_'),
6658        weekdaysShort: 'Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ'.split('_'),
6659        weekdaysMin: 'Κυ_Δε_Τρ_Τε_Πε_Πα_Σα'.split('_'),
6660        meridiem: function (hours, minutes, isLower) {
6661            if (hours > 11) {
6662                return isLower ? 'μμ' : 'ΜΜ';
6663            } else {
6664                return isLower ? 'πμ' : 'ΠΜ';
6665            }
6666        },
6667        isPM: function (input) {
6668            return ((input + '').toLowerCase()[0] === 'μ');
6669        },
6670        meridiemParse: /[ΠΜ]\.?Μ?\.?/i,
6671        longDateFormat: {
6672            LT: 'h:mm A',
6673            LTS: 'h:mm:ss A',
6674            L: 'DD/MM/YYYY',
6675            LL: 'D MMMM YYYY',
6676            LLL: 'D MMMM YYYY h:mm A',
6677            LLLL: 'dddd, D MMMM YYYY h:mm A'
6678        },
6679        calendarEl: {
6680            sameDay: '[Σήμερα {}] LT',
6681            nextDay: '[Αύριο {}] LT',
6682            nextWeek: 'dddd [{}] LT',
6683            lastDay: '[Χθες {}] LT',
6684            lastWeek: function () {
6685                switch (this.day()) {
6686                    case 6:
6687                        return '[το προηγούμενο] dddd [{}] LT';
6688                    default:
6689                        return '[την προηγούμενη] dddd [{}] LT';
6690                }
6691            },
6692            sameElse: 'L'
6693        },
6694        calendar: function (key, mom) {
6695            var output = this._calendarEl[key],
6696                hours = mom && mom.hours();
6697            if (isFunction(output)) {
6698                output = output.apply(mom);
6699            }
6700            return output.replace('{}', (hours % 12 === 1 ? 'στη' : 'στις'));
6701        },
6702        relativeTime: {
6703            future: 'σε %s',
6704            past: '%s πριν',
6705            s: 'λίγα δευτερόλεπτα',
6706            ss: '%d δευτερόλεπτα',
6707            m: 'ένα λεπτό',
6708            mm: '%d λεπτά',
6709            h: 'μία ώρα',
6710            hh: '%d ώρες',
6711            d: 'μία μέρα',
6712            dd: '%d μέρες',
6713            M: 'ένας μήνας',
6714            MM: '%d μήνες',
6715            y: 'ένας χρόνος',
6716            yy: '%d χρόνια'
6717        },
6718        dayOfMonthOrdinalParse: /\d{1,2}η/,
6719        ordinal: '%dη',
6720        week: {
6721            dow: 1, // Monday is the first day of the week.
6722            doy: 4  // The week that contains Jan 4st is the first week of the year.
6723        }
6724    });
6725
6726    //! moment.js locale configuration
6727
6728    hooks.defineLocale('en-SG', {
6729        months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
6730        monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
6731        weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
6732        weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
6733        weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
6734        longDateFormat: {
6735            LT: 'HH:mm',
6736            LTS: 'HH:mm:ss',
6737            L: 'DD/MM/YYYY',
6738            LL: 'D MMMM YYYY',
6739            LLL: 'D MMMM YYYY HH:mm',
6740            LLLL: 'dddd, D MMMM YYYY HH:mm'
6741        },
6742        calendar: {
6743            sameDay: '[Today at] LT',
6744            nextDay: '[Tomorrow at] LT',
6745            nextWeek: 'dddd [at] LT',
6746            lastDay: '[Yesterday at] LT',
6747            lastWeek: '[Last] dddd [at] LT',
6748            sameElse: 'L'
6749        },
6750        relativeTime: {
6751            future: 'in %s',
6752            past: '%s ago',
6753            s: 'a few seconds',
6754            ss: '%d seconds',
6755            m: 'a minute',
6756            mm: '%d minutes',
6757            h: 'an hour',
6758            hh: '%d hours',
6759            d: 'a day',
6760            dd: '%d days',
6761            M: 'a month',
6762            MM: '%d months',
6763            y: 'a year',
6764            yy: '%d years'
6765        },
6766        dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
6767        ordinal: function (number) {
6768            var b = number % 10,
6769                output = (~~(number % 100 / 10) === 1) ? 'th' :
6770                    (b === 1) ? 'st' :
6771                        (b === 2) ? 'nd' :
6772                            (b === 3) ? 'rd' : 'th';
6773            return number + output;
6774        },
6775        week: {
6776            dow: 1, // Monday is the first day of the week.
6777            doy: 4  // The week that contains Jan 4th is the first week of the year.
6778        }
6779    });
6780
6781    //! moment.js locale configuration
6782
6783    hooks.defineLocale('en-au', {
6784        months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
6785        monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
6786        weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
6787        weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
6788        weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
6789        longDateFormat: {
6790            LT: 'h:mm A',
6791            LTS: 'h:mm:ss A',
6792            L: 'DD/MM/YYYY',
6793            LL: 'D MMMM YYYY',
6794            LLL: 'D MMMM YYYY h:mm A',
6795            LLLL: 'dddd, D MMMM YYYY h:mm A'
6796        },
6797        calendar: {
6798            sameDay: '[Today at] LT',
6799            nextDay: '[Tomorrow at] LT',
6800            nextWeek: 'dddd [at] LT',
6801            lastDay: '[Yesterday at] LT',
6802            lastWeek: '[Last] dddd [at] LT',
6803            sameElse: 'L'
6804        },
6805        relativeTime: {
6806            future: 'in %s',
6807            past: '%s ago',
6808            s: 'a few seconds',
6809            ss: '%d seconds',
6810            m: 'a minute',
6811            mm: '%d minutes',
6812            h: 'an hour',
6813            hh: '%d hours',
6814            d: 'a day',
6815            dd: '%d days',
6816            M: 'a month',
6817            MM: '%d months',
6818            y: 'a year',
6819            yy: '%d years'
6820        },
6821        dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
6822        ordinal: function (number) {
6823            var b = number % 10,
6824                output = (~~(number % 100 / 10) === 1) ? 'th' :
6825                    (b === 1) ? 'st' :
6826                        (b === 2) ? 'nd' :
6827                            (b === 3) ? 'rd' : 'th';
6828            return number + output;
6829        },
6830        week: {
6831            dow: 1, // Monday is the first day of the week.
6832            doy: 4  // The week that contains Jan 4th is the first week of the year.
6833        }
6834    });
6835
6836    //! moment.js locale configuration
6837
6838    hooks.defineLocale('en-ca', {
6839        months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
6840        monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
6841        weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
6842        weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
6843        weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
6844        longDateFormat: {
6845            LT: 'h:mm A',
6846            LTS: 'h:mm:ss A',
6847            L: 'YYYY-MM-DD',
6848            LL: 'MMMM D, YYYY',
6849            LLL: 'MMMM D, YYYY h:mm A',
6850            LLLL: 'dddd, MMMM D, YYYY h:mm A'
6851        },
6852        calendar: {
6853            sameDay: '[Today at] LT',
6854            nextDay: '[Tomorrow at] LT',
6855            nextWeek: 'dddd [at] LT',
6856            lastDay: '[Yesterday at] LT',
6857            lastWeek: '[Last] dddd [at] LT',
6858            sameElse: 'L'
6859        },
6860        relativeTime: {
6861            future: 'in %s',
6862            past: '%s ago',
6863            s: 'a few seconds',
6864            ss: '%d seconds',
6865            m: 'a minute',
6866            mm: '%d minutes',
6867            h: 'an hour',
6868            hh: '%d hours',
6869            d: 'a day',
6870            dd: '%d days',
6871            M: 'a month',
6872            MM: '%d months',
6873            y: 'a year',
6874            yy: '%d years'
6875        },
6876        dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
6877        ordinal: function (number) {
6878            var b = number % 10,
6879                output = (~~(number % 100 / 10) === 1) ? 'th' :
6880                    (b === 1) ? 'st' :
6881                        (b === 2) ? 'nd' :
6882                            (b === 3) ? 'rd' : 'th';
6883            return number + output;
6884        }
6885    });
6886
6887    //! moment.js locale configuration
6888
6889    hooks.defineLocale('en-gb', {
6890        months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
6891        monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
6892        weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
6893        weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
6894        weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
6895        longDateFormat: {
6896            LT: 'HH:mm',
6897            LTS: 'HH:mm:ss',
6898            L: 'DD/MM/YYYY',
6899            LL: 'D MMMM YYYY',
6900            LLL: 'D MMMM YYYY HH:mm',
6901            LLLL: 'dddd, D MMMM YYYY HH:mm'
6902        },
6903        calendar: {
6904            sameDay: '[Today at] LT',
6905            nextDay: '[Tomorrow at] LT',
6906            nextWeek: 'dddd [at] LT',
6907            lastDay: '[Yesterday at] LT',
6908            lastWeek: '[Last] dddd [at] LT',
6909            sameElse: 'L'
6910        },
6911        relativeTime: {
6912            future: 'in %s',
6913            past: '%s ago',
6914            s: 'a few seconds',
6915            ss: '%d seconds',
6916            m: 'a minute',
6917            mm: '%d minutes',
6918            h: 'an hour',
6919            hh: '%d hours',
6920            d: 'a day',
6921            dd: '%d days',
6922            M: 'a month',
6923            MM: '%d months',
6924            y: 'a year',
6925            yy: '%d years'
6926        },
6927        dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
6928        ordinal: function (number) {
6929            var b = number % 10,
6930                output = (~~(number % 100 / 10) === 1) ? 'th' :
6931                    (b === 1) ? 'st' :
6932                        (b === 2) ? 'nd' :
6933                            (b === 3) ? 'rd' : 'th';
6934            return number + output;
6935        },
6936        week: {
6937            dow: 1, // Monday is the first day of the week.
6938            doy: 4  // The week that contains Jan 4th is the first week of the year.
6939        }
6940    });
6941
6942    //! moment.js locale configuration
6943
6944    hooks.defineLocale('en-ie', {
6945        months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
6946        monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
6947        weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
6948        weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
6949        weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
6950        longDateFormat: {
6951            LT: 'HH:mm',
6952            LTS: 'HH:mm:ss',
6953            L: 'DD/MM/YYYY',
6954            LL: 'D MMMM YYYY',
6955            LLL: 'D MMMM YYYY HH:mm',
6956            LLLL: 'dddd D MMMM YYYY HH:mm'
6957        },
6958        calendar: {
6959            sameDay: '[Today at] LT',
6960            nextDay: '[Tomorrow at] LT',
6961            nextWeek: 'dddd [at] LT',
6962            lastDay: '[Yesterday at] LT',
6963            lastWeek: '[Last] dddd [at] LT',
6964            sameElse: 'L'
6965        },
6966        relativeTime: {
6967            future: 'in %s',
6968            past: '%s ago',
6969            s: 'a few seconds',
6970            ss: '%d seconds',
6971            m: 'a minute',
6972            mm: '%d minutes',
6973            h: 'an hour',
6974            hh: '%d hours',
6975            d: 'a day',
6976            dd: '%d days',
6977            M: 'a month',
6978            MM: '%d months',
6979            y: 'a year',
6980            yy: '%d years'
6981        },
6982        dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
6983        ordinal: function (number) {
6984            var b = number % 10,
6985                output = (~~(number % 100 / 10) === 1) ? 'th' :
6986                    (b === 1) ? 'st' :
6987                        (b === 2) ? 'nd' :
6988                            (b === 3) ? 'rd' : 'th';
6989            return number + output;
6990        },
6991        week: {
6992            dow: 1, // Monday is the first day of the week.
6993            doy: 4  // The week that contains Jan 4th is the first week of the year.
6994        }
6995    });
6996
6997    //! moment.js locale configuration
6998
6999    hooks.defineLocale('en-il', {
7000        months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
7001        monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
7002        weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
7003        weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
7004        weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
7005        longDateFormat: {
7006            LT: 'HH:mm',
7007            LTS: 'HH:mm:ss',
7008            L: 'DD/MM/YYYY',
7009            LL: 'D MMMM YYYY',
7010            LLL: 'D MMMM YYYY HH:mm',
7011            LLLL: 'dddd, D MMMM YYYY HH:mm'
7012        },
7013        calendar: {
7014            sameDay: '[Today at] LT',
7015            nextDay: '[Tomorrow at] LT',
7016            nextWeek: 'dddd [at] LT',
7017            lastDay: '[Yesterday at] LT',
7018            lastWeek: '[Last] dddd [at] LT',
7019            sameElse: 'L'
7020        },
7021        relativeTime: {
7022            future: 'in %s',
7023            past: '%s ago',
7024            s: 'a few seconds',
7025            m: 'a minute',
7026            mm: '%d minutes',
7027            h: 'an hour',
7028            hh: '%d hours',
7029            d: 'a day',
7030            dd: '%d days',
7031            M: 'a month',
7032            MM: '%d months',
7033            y: 'a year',
7034            yy: '%d years'
7035        },
7036        dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
7037        ordinal: function (number) {
7038            var b = number % 10,
7039                output = (~~(number % 100 / 10) === 1) ? 'th' :
7040                    (b === 1) ? 'st' :
7041                        (b === 2) ? 'nd' :
7042                            (b === 3) ? 'rd' : 'th';
7043            return number + output;
7044        }
7045    });
7046
7047    //! moment.js locale configuration
7048
7049    hooks.defineLocale('en-nz', {
7050        months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
7051        monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
7052        weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
7053        weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
7054        weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
7055        longDateFormat: {
7056            LT: 'h:mm A',
7057            LTS: 'h:mm:ss A',
7058            L: 'DD/MM/YYYY',
7059            LL: 'D MMMM YYYY',
7060            LLL: 'D MMMM YYYY h:mm A',
7061            LLLL: 'dddd, D MMMM YYYY h:mm A'
7062        },
7063        calendar: {
7064            sameDay: '[Today at] LT',
7065            nextDay: '[Tomorrow at] LT',
7066            nextWeek: 'dddd [at] LT',
7067            lastDay: '[Yesterday at] LT',
7068            lastWeek: '[Last] dddd [at] LT',
7069            sameElse: 'L'
7070        },
7071        relativeTime: {
7072            future: 'in %s',
7073            past: '%s ago',
7074            s: 'a few seconds',
7075            ss: '%d seconds',
7076            m: 'a minute',
7077            mm: '%d minutes',
7078            h: 'an hour',
7079            hh: '%d hours',
7080            d: 'a day',
7081            dd: '%d days',
7082            M: 'a month',
7083            MM: '%d months',
7084            y: 'a year',
7085            yy: '%d years'
7086        },
7087        dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
7088        ordinal: function (number) {
7089            var b = number % 10,
7090                output = (~~(number % 100 / 10) === 1) ? 'th' :
7091                    (b === 1) ? 'st' :
7092                        (b === 2) ? 'nd' :
7093                            (b === 3) ? 'rd' : 'th';
7094            return number + output;
7095        },
7096        week: {
7097            dow: 1, // Monday is the first day of the week.
7098            doy: 4  // The week that contains Jan 4th is the first week of the year.
7099        }
7100    });
7101
7102    //! moment.js locale configuration
7103
7104    hooks.defineLocale('eo', {
7105        months: 'januaro_februaro_marto_aprilo_majo_junio_julio_aÅ­gusto_septembro_oktobro_novembro_decembro'.split('_'),
7106        monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aÅ­g_sep_okt_nov_dec'.split('_'),
7107        weekdays: 'dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato'.split('_'),
7108        weekdaysShort: 'dim_lun_mard_merk_ĵaŭ_ven_sab'.split('_'),
7109        weekdaysMin: 'di_lu_ma_me_ĵa_ve_sa'.split('_'),
7110        longDateFormat: {
7111            LT: 'HH:mm',
7112            LTS: 'HH:mm:ss',
7113            L: 'YYYY-MM-DD',
7114            LL: 'D[-a de] MMMM, YYYY',
7115            LLL: 'D[-a de] MMMM, YYYY HH:mm',
7116            LLLL: 'dddd, [la] D[-a de] MMMM, YYYY HH:mm'
7117        },
7118        meridiemParse: /[ap]\.t\.m/i,
7119        isPM: function (input) {
7120            return input.charAt(0).toLowerCase() === 'p';
7121        },
7122        meridiem: function (hours, minutes, isLower) {
7123            if (hours > 11) {
7124                return isLower ? 'p.t.m.' : 'P.T.M.';
7125            } else {
7126                return isLower ? 'a.t.m.' : 'A.T.M.';
7127            }
7128        },
7129        calendar: {
7130            sameDay: '[HodiaÅ­ je] LT',
7131            nextDay: '[MorgaÅ­ je] LT',
7132            nextWeek: 'dddd [je] LT',
7133            lastDay: '[HieraÅ­ je] LT',
7134            lastWeek: '[pasinta] dddd [je] LT',
7135            sameElse: 'L'
7136        },
7137        relativeTime: {
7138            future: 'post %s',
7139            past: 'antaÅ­ %s',
7140            s: 'sekundoj',
7141            ss: '%d sekundoj',
7142            m: 'minuto',
7143            mm: '%d minutoj',
7144            h: 'horo',
7145            hh: '%d horoj',
7146            d: 'tago',//ne 'diurno', ĉar estas uzita por proksimumo
7147            dd: '%d tagoj',
7148            M: 'monato',
7149            MM: '%d monatoj',
7150            y: 'jaro',
7151            yy: '%d jaroj'
7152        },
7153        dayOfMonthOrdinalParse: /\d{1,2}a/,
7154        ordinal: '%da',
7155        week: {
7156            dow: 1, // Monday is the first day of the week.
7157            doy: 7  // The week that contains Jan 7th is the first week of the year.
7158        }
7159    });
7160
7161    //! moment.js locale configuration
7162
7163    var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'),
7164        monthsShort$1 = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_');
7165
7166    var monthsParse$1 = [/^ene/i, /^feb/i, /^mar/i, /^abr/i, /^may/i, /^jun/i, /^jul/i, /^ago/i, /^sep/i, /^oct/i, /^nov/i, /^dic/i];
7167    var monthsRegex$2 = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;
7168
7169    hooks.defineLocale('es-do', {
7170        months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'),
7171        monthsShort: function (m, format) {
7172            if (!m) {
7173                return monthsShortDot;
7174            } else if (/-MMM-/.test(format)) {
7175                return monthsShort$1[m.month()];
7176            } else {
7177                return monthsShortDot[m.month()];
7178            }
7179        },
7180        monthsRegex: monthsRegex$2,
7181        monthsShortRegex: monthsRegex$2,
7182        monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
7183        monthsShortStrictRegex: /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
7184        monthsParse: monthsParse$1,
7185        longMonthsParse: monthsParse$1,
7186        shortMonthsParse: monthsParse$1,
7187        weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
7188        weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
7189        weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
7190        weekdaysParseExact: true,
7191        longDateFormat: {
7192            LT: 'h:mm A',
7193            LTS: 'h:mm:ss A',
7194            L: 'DD/MM/YYYY',
7195            LL: 'D [de] MMMM [de] YYYY',
7196            LLL: 'D [de] MMMM [de] YYYY h:mm A',
7197            LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A'
7198        },
7199        calendar: {
7200            sameDay: function () {
7201                return '[hoy a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
7202            },
7203            nextDay: function () {
7204                return '[mañana a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
7205            },
7206            nextWeek: function () {
7207                return 'dddd [a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
7208            },
7209            lastDay: function () {
7210                return '[ayer a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
7211            },
7212            lastWeek: function () {
7213                return '[el] dddd [pasado a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
7214            },
7215            sameElse: 'L'
7216        },
7217        relativeTime: {
7218            future: 'en %s',
7219            past: 'hace %s',
7220            s: 'unos segundos',
7221            ss: '%d segundos',
7222            m: 'un minuto',
7223            mm: '%d minutos',
7224            h: 'una hora',
7225            hh: '%d horas',
7226            d: 'un día',
7227            dd: '%d días',
7228            M: 'un mes',
7229            MM: '%d meses',
7230            y: 'un año',
7231            yy: '%d años'
7232        },
7233        dayOfMonthOrdinalParse: /\d{1,2}º/,
7234        ordinal: '%dº',
7235        week: {
7236            dow: 1, // Monday is the first day of the week.
7237            doy: 4  // The week that contains Jan 4th is the first week of the year.
7238        }
7239    });
7240
7241    //! moment.js locale configuration
7242
7243    var monthsShortDot$1 = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'),
7244        monthsShort$2 = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_');
7245
7246    var monthsParse$2 = [/^ene/i, /^feb/i, /^mar/i, /^abr/i, /^may/i, /^jun/i, /^jul/i, /^ago/i, /^sep/i, /^oct/i, /^nov/i, /^dic/i];
7247    var monthsRegex$3 = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;
7248
7249    hooks.defineLocale('es-us', {
7250        months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'),
7251        monthsShort: function (m, format) {
7252            if (!m) {
7253                return monthsShortDot$1;
7254            } else if (/-MMM-/.test(format)) {
7255                return monthsShort$2[m.month()];
7256            } else {
7257                return monthsShortDot$1[m.month()];
7258            }
7259        },
7260        monthsRegex: monthsRegex$3,
7261        monthsShortRegex: monthsRegex$3,
7262        monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
7263        monthsShortStrictRegex: /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
7264        monthsParse: monthsParse$2,
7265        longMonthsParse: monthsParse$2,
7266        shortMonthsParse: monthsParse$2,
7267        weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
7268        weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
7269        weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
7270        weekdaysParseExact: true,
7271        longDateFormat: {
7272            LT: 'h:mm A',
7273            LTS: 'h:mm:ss A',
7274            L: 'MM/DD/YYYY',
7275            LL: 'D [de] MMMM [de] YYYY',
7276            LLL: 'D [de] MMMM [de] YYYY h:mm A',
7277            LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A'
7278        },
7279        calendar: {
7280            sameDay: function () {
7281                return '[hoy a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
7282            },
7283            nextDay: function () {
7284                return '[mañana a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
7285            },
7286            nextWeek: function () {
7287                return 'dddd [a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
7288            },
7289            lastDay: function () {
7290                return '[ayer a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
7291            },
7292            lastWeek: function () {
7293                return '[el] dddd [pasado a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
7294            },
7295            sameElse: 'L'
7296        },
7297        relativeTime: {
7298            future: 'en %s',
7299            past: 'hace %s',
7300            s: 'unos segundos',
7301            ss: '%d segundos',
7302            m: 'un minuto',
7303            mm: '%d minutos',
7304            h: 'una hora',
7305            hh: '%d horas',
7306            d: 'un día',
7307            dd: '%d días',
7308            M: 'un mes',
7309            MM: '%d meses',
7310            y: 'un año',
7311            yy: '%d años'
7312        },
7313        dayOfMonthOrdinalParse: /\d{1,2}º/,
7314        ordinal: '%dº',
7315        week: {
7316            dow: 0, // Sunday is the first day of the week.
7317            doy: 6  // The week that contains Jan 6th is the first week of the year.
7318        }
7319    });
7320
7321    //! moment.js locale configuration
7322
7323    var monthsShortDot$2 = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'),
7324        monthsShort$3 = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_');
7325
7326    var monthsParse$3 = [/^ene/i, /^feb/i, /^mar/i, /^abr/i, /^may/i, /^jun/i, /^jul/i, /^ago/i, /^sep/i, /^oct/i, /^nov/i, /^dic/i];
7327    var monthsRegex$4 = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;
7328
7329    hooks.defineLocale('es', {
7330        months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'),
7331        monthsShort: function (m, format) {
7332            if (!m) {
7333                return monthsShortDot$2;
7334            } else if (/-MMM-/.test(format)) {
7335                return monthsShort$3[m.month()];
7336            } else {
7337                return monthsShortDot$2[m.month()];
7338            }
7339        },
7340        monthsRegex: monthsRegex$4,
7341        monthsShortRegex: monthsRegex$4,
7342        monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
7343        monthsShortStrictRegex: /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
7344        monthsParse: monthsParse$3,
7345        longMonthsParse: monthsParse$3,
7346        shortMonthsParse: monthsParse$3,
7347        weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
7348        weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
7349        weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
7350        weekdaysParseExact: true,
7351        longDateFormat: {
7352            LT: 'H:mm',
7353            LTS: 'H:mm:ss',
7354            L: 'DD/MM/YYYY',
7355            LL: 'D [de] MMMM [de] YYYY',
7356            LLL: 'D [de] MMMM [de] YYYY H:mm',
7357            LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm'
7358        },
7359        calendar: {
7360            sameDay: function () {
7361                return '[hoy a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
7362            },
7363            nextDay: function () {
7364                return '[mañana a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
7365            },
7366            nextWeek: function () {
7367                return 'dddd [a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
7368            },
7369            lastDay: function () {
7370                return '[ayer a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
7371            },
7372            lastWeek: function () {
7373                return '[el] dddd [pasado a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
7374            },
7375            sameElse: 'L'
7376        },
7377        relativeTime: {
7378            future: 'en %s',
7379            past: 'hace %s',
7380            s: 'unos segundos',
7381            ss: '%d segundos',
7382            m: 'un minuto',
7383            mm: '%d minutos',
7384            h: 'una hora',
7385            hh: '%d horas',
7386            d: 'un día',
7387            dd: '%d días',
7388            M: 'un mes',
7389            MM: '%d meses',
7390            y: 'un año',
7391            yy: '%d años'
7392        },
7393        dayOfMonthOrdinalParse: /\d{1,2}º/,
7394        ordinal: '%dº',
7395        week: {
7396            dow: 1, // Monday is the first day of the week.
7397            doy: 4  // The week that contains Jan 4th is the first week of the year.
7398        }
7399    });
7400
7401    //! moment.js locale configuration
7402
7403    function processRelativeTime$3(number, withoutSuffix, key, isFuture) {
7404        var format = {
7405            's': ['mõne sekundi', 'mõni sekund', 'paar sekundit'],
7406            'ss': [number + 'sekundi', number + 'sekundit'],
7407            'm': ['ühe minuti', 'üks minut'],
7408            'mm': [number + ' minuti', number + ' minutit'],
7409            'h': ['ühe tunni', 'tund aega', 'üks tund'],
7410            'hh': [number + ' tunni', number + ' tundi'],
7411            'd': ['ühe päeva', 'üks päev'],
7412            'M': ['kuu aja', 'kuu aega', 'üks kuu'],
7413            'MM': [number + ' kuu', number + ' kuud'],
7414            'y': ['ühe aasta', 'aasta', 'üks aasta'],
7415            'yy': [number + ' aasta', number + ' aastat']
7416        };
7417        if (withoutSuffix) {
7418            return format[key][2] ? format[key][2] : format[key][1];
7419        }
7420        return isFuture ? format[key][0] : format[key][1];
7421    }
7422
7423    hooks.defineLocale('et', {
7424        months: 'jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember'.split('_'),
7425        monthsShort: 'jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets'.split('_'),
7426        weekdays: 'pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev'.split('_'),
7427        weekdaysShort: 'P_E_T_K_N_R_L'.split('_'),
7428        weekdaysMin: 'P_E_T_K_N_R_L'.split('_'),
7429        longDateFormat: {
7430            LT: 'H:mm',
7431            LTS: 'H:mm:ss',
7432            L: 'DD.MM.YYYY',
7433            LL: 'D. MMMM YYYY',
7434            LLL: 'D. MMMM YYYY H:mm',
7435            LLLL: 'dddd, D. MMMM YYYY H:mm'
7436        },
7437        calendar: {
7438            sameDay: '[Täna,] LT',
7439            nextDay: '[Homme,] LT',
7440            nextWeek: '[Järgmine] dddd LT',
7441            lastDay: '[Eile,] LT',
7442            lastWeek: '[Eelmine] dddd LT',
7443            sameElse: 'L'
7444        },
7445        relativeTime: {
7446            future: '%s pärast',
7447            past: '%s tagasi',
7448            s: processRelativeTime$3,
7449            ss: processRelativeTime$3,
7450            m: processRelativeTime$3,
7451            mm: processRelativeTime$3,
7452            h: processRelativeTime$3,
7453            hh: processRelativeTime$3,
7454            d: processRelativeTime$3,
7455            dd: '%d päeva',
7456            M: processRelativeTime$3,
7457            MM: processRelativeTime$3,
7458            y: processRelativeTime$3,
7459            yy: processRelativeTime$3
7460        },
7461        dayOfMonthOrdinalParse: /\d{1,2}\./,
7462        ordinal: '%d.',
7463        week: {
7464            dow: 1, // Monday is the first day of the week.
7465            doy: 4  // The week that contains Jan 4th is the first week of the year.
7466        }
7467    });
7468
7469    //! moment.js locale configuration
7470
7471    hooks.defineLocale('eu', {
7472        months: 'urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua'.split('_'),
7473        monthsShort: 'urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.'.split('_'),
7474        monthsParseExact: true,
7475        weekdays: 'igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata'.split('_'),
7476        weekdaysShort: 'ig._al._ar._az._og._ol._lr.'.split('_'),
7477        weekdaysMin: 'ig_al_ar_az_og_ol_lr'.split('_'),
7478        weekdaysParseExact: true,
7479        longDateFormat: {
7480            LT: 'HH:mm',
7481            LTS: 'HH:mm:ss',
7482            L: 'YYYY-MM-DD',
7483            LL: 'YYYY[ko] MMMM[ren] D[a]',
7484            LLL: 'YYYY[ko] MMMM[ren] D[a] HH:mm',
7485            LLLL: 'dddd, YYYY[ko] MMMM[ren] D[a] HH:mm',
7486            l: 'YYYY-M-D',
7487            ll: 'YYYY[ko] MMM D[a]',
7488            lll: 'YYYY[ko] MMM D[a] HH:mm',
7489            llll: 'ddd, YYYY[ko] MMM D[a] HH:mm'
7490        },
7491        calendar: {
7492            sameDay: '[gaur] LT[etan]',
7493            nextDay: '[bihar] LT[etan]',
7494            nextWeek: 'dddd LT[etan]',
7495            lastDay: '[atzo] LT[etan]',
7496            lastWeek: '[aurreko] dddd LT[etan]',
7497            sameElse: 'L'
7498        },
7499        relativeTime: {
7500            future: '%s barru',
7501            past: 'duela %s',
7502            s: 'segundo batzuk',
7503            ss: '%d segundo',
7504            m: 'minutu bat',
7505            mm: '%d minutu',
7506            h: 'ordu bat',
7507            hh: '%d ordu',
7508            d: 'egun bat',
7509            dd: '%d egun',
7510            M: 'hilabete bat',
7511            MM: '%d hilabete',
7512            y: 'urte bat',
7513            yy: '%d urte'
7514        },
7515        dayOfMonthOrdinalParse: /\d{1,2}\./,
7516        ordinal: '%d.',
7517        week: {
7518            dow: 1, // Monday is the first day of the week.
7519            doy: 7  // The week that contains Jan 7th is the first week of the year.
7520        }
7521    });
7522
7523    //! moment.js locale configuration
7524
7525    var symbolMap$5 = {
7526        '1': 'Û±',
7527        '2': 'Û²',
7528        '3': 'Û³',
7529        '4': 'Û´',
7530        '5': 'Ûµ',
7531        '6': 'Û¶',
7532        '7': 'Û·',
7533        '8': 'Û¸',
7534        '9': 'Û¹',
7535        '0': 'Û°'
7536    }, numberMap$4 = {
7537        'Û±': '1',
7538        'Û²': '2',
7539        'Û³': '3',
7540        'Û´': '4',
7541        'Ûµ': '5',
7542        'Û¶': '6',
7543        'Û·': '7',
7544        'Û¸': '8',
7545        'Û¹': '9',
7546        'Û°': '0'
7547    };
7548
7549    hooks.defineLocale('fa', {
7550        months: 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split('_'),
7551        monthsShort: 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split('_'),
7552        weekdays: 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split('_'),
7553        weekdaysShort: 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split('_'),
7554        weekdaysMin: 'ی_د_س_چ_پ_ج_ش'.split('_'),
7555        weekdaysParseExact: true,
7556        longDateFormat: {
7557            LT: 'HH:mm',
7558            LTS: 'HH:mm:ss',
7559            L: 'DD/MM/YYYY',
7560            LL: 'D MMMM YYYY',
7561            LLL: 'D MMMM YYYY HH:mm',
7562            LLLL: 'dddd, D MMMM YYYY HH:mm'
7563        },
7564        meridiemParse: /قبل از ظهر|بعد از ظهر/,
7565        isPM: function (input) {
7566            return /بعد از ظهر/.test(input);
7567        },
7568        meridiem: function (hour, minute, isLower) {
7569            if (hour < 12) {
7570                return 'قبل از ظهر';
7571            } else {
7572                return 'بعد از ظهر';
7573            }
7574        },
7575        calendar: {
7576            sameDay: '[امروز ساعت] LT',
7577            nextDay: '[فردا ساعت] LT',
7578            nextWeek: 'dddd [ساعت] LT',
7579            lastDay: '[دیروز ساعت] LT',
7580            lastWeek: 'dddd [پیش] [ساعت] LT',
7581            sameElse: 'L'
7582        },
7583        relativeTime: {
7584            future: 'در %s',
7585            past: '%s پیش',
7586            s: 'چند ثانیه',
7587            ss: 'ثانیه d%',
7588            m: 'یک دقیقه',
7589            mm: '%d دقیقه',
7590            h: 'یک ساعت',
7591            hh: '%d ساعت',
7592            d: 'یک روز',
7593            dd: '%d روز',
7594            M: 'یک ماه',
7595            MM: '%d ماه',
7596            y: 'یک سال',
7597            yy: '%d سال'
7598        },
7599        preparse: function (string) {
7600            return string.replace(/[Û°-Û¹]/g, function (match) {
7601                return numberMap$4[match];
7602            }).replace(/،/g, ',');
7603        },
7604        postformat: function (string) {
7605            return string.replace(/\d/g, function (match) {
7606                return symbolMap$5[match];
7607            }).replace(/,/g, '،');
7608        },
7609        dayOfMonthOrdinalParse: /\d{1,2}م/,
7610        ordinal: '%dم',
7611        week: {
7612            dow: 6, // Saturday is the first day of the week.
7613            doy: 12 // The week that contains Jan 12th is the first week of the year.
7614        }
7615    });
7616
7617    //! moment.js locale configuration
7618
7619    var numbersPast = 'nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän'.split(' '),
7620        numbersFuture = [
7621            'nolla', 'yhden', 'kahden', 'kolmen', 'neljän', 'viiden', 'kuuden',
7622            numbersPast[7], numbersPast[8], numbersPast[9]
7623        ];
7624    function translate$2(number, withoutSuffix, key, isFuture) {
7625        var result = '';
7626        switch (key) {
7627            case 's':
7628                return isFuture ? 'muutaman sekunnin' : 'muutama sekunti';
7629            case 'ss':
7630                return isFuture ? 'sekunnin' : 'sekuntia';
7631            case 'm':
7632                return isFuture ? 'minuutin' : 'minuutti';
7633            case 'mm':
7634                result = isFuture ? 'minuutin' : 'minuuttia';
7635                break;
7636            case 'h':
7637                return isFuture ? 'tunnin' : 'tunti';
7638            case 'hh':
7639                result = isFuture ? 'tunnin' : 'tuntia';
7640                break;
7641            case 'd':
7642                return isFuture ? 'päivän' : 'päivä';
7643            case 'dd':
7644                result = isFuture ? 'päivän' : 'päivää';
7645                break;
7646            case 'M':
7647                return isFuture ? 'kuukauden' : 'kuukausi';
7648            case 'MM':
7649                result = isFuture ? 'kuukauden' : 'kuukautta';
7650                break;
7651            case 'y':
7652                return isFuture ? 'vuoden' : 'vuosi';
7653            case 'yy':
7654                result = isFuture ? 'vuoden' : 'vuotta';
7655                break;
7656        }
7657        result = verbalNumber(number, isFuture) + ' ' + result;
7658        return result;
7659    }
7660    function verbalNumber(number, isFuture) {
7661        return number < 10 ? (isFuture ? numbersFuture[number] : numbersPast[number]) : number;
7662    }
7663
7664    hooks.defineLocale('fi', {
7665        months: 'tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu'.split('_'),
7666        monthsShort: 'tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu'.split('_'),
7667        weekdays: 'sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai'.split('_'),
7668        weekdaysShort: 'su_ma_ti_ke_to_pe_la'.split('_'),
7669        weekdaysMin: 'su_ma_ti_ke_to_pe_la'.split('_'),
7670        longDateFormat: {
7671            LT: 'HH.mm',
7672            LTS: 'HH.mm.ss',
7673            L: 'DD.MM.YYYY',
7674            LL: 'Do MMMM[ta] YYYY',
7675            LLL: 'Do MMMM[ta] YYYY, [klo] HH.mm',
7676            LLLL: 'dddd, Do MMMM[ta] YYYY, [klo] HH.mm',
7677            l: 'D.M.YYYY',
7678            ll: 'Do MMM YYYY',
7679            lll: 'Do MMM YYYY, [klo] HH.mm',
7680            llll: 'ddd, Do MMM YYYY, [klo] HH.mm'
7681        },
7682        calendar: {
7683            sameDay: '[tänään] [klo] LT',
7684            nextDay: '[huomenna] [klo] LT',
7685            nextWeek: 'dddd [klo] LT',
7686            lastDay: '[eilen] [klo] LT',
7687            lastWeek: '[viime] dddd[na] [klo] LT',
7688            sameElse: 'L'
7689        },
7690        relativeTime: {
7691            future: '%s päästä',
7692            past: '%s sitten',
7693            s: translate$2,
7694            ss: translate$2,
7695            m: translate$2,
7696            mm: translate$2,
7697            h: translate$2,
7698            hh: translate$2,
7699            d: translate$2,
7700            dd: translate$2,
7701            M: translate$2,
7702            MM: translate$2,
7703            y: translate$2,
7704            yy: translate$2
7705        },
7706        dayOfMonthOrdinalParse: /\d{1,2}\./,
7707        ordinal: '%d.',
7708        week: {
7709            dow: 1, // Monday is the first day of the week.
7710            doy: 4  // The week that contains Jan 4th is the first week of the year.
7711        }
7712    });
7713
7714    //! moment.js locale configuration
7715
7716    hooks.defineLocale('fo', {
7717        months: 'januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember'.split('_'),
7718        monthsShort: 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'),
7719        weekdays: 'sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur'.split('_'),
7720        weekdaysShort: 'sun_mán_týs_mik_hós_frí_ley'.split('_'),
7721        weekdaysMin: 'su_má_tý_mi_hó_fr_le'.split('_'),
7722        longDateFormat: {
7723            LT: 'HH:mm',
7724            LTS: 'HH:mm:ss',
7725            L: 'DD/MM/YYYY',
7726            LL: 'D MMMM YYYY',
7727            LLL: 'D MMMM YYYY HH:mm',
7728            LLLL: 'dddd D. MMMM, YYYY HH:mm'
7729        },
7730        calendar: {
7731            sameDay: '[Í dag kl.] LT',
7732            nextDay: '[Í morgin kl.] LT',
7733            nextWeek: 'dddd [kl.] LT',
7734            lastDay: '[Í gjár kl.] LT',
7735            lastWeek: '[síðstu] dddd [kl] LT',
7736            sameElse: 'L'
7737        },
7738        relativeTime: {
7739            future: 'um %s',
7740            past: '%s síðani',
7741            s: 'fá sekund',
7742            ss: '%d sekundir',
7743            m: 'ein minuttur',
7744            mm: '%d minuttir',
7745            h: 'ein tími',
7746            hh: '%d tímar',
7747            d: 'ein dagur',
7748            dd: '%d dagar',
7749            M: 'ein mánaður',
7750            MM: '%d mánaðir',
7751            y: 'eitt ár',
7752            yy: '%d ár'
7753        },
7754        dayOfMonthOrdinalParse: /\d{1,2}\./,
7755        ordinal: '%d.',
7756        week: {
7757            dow: 1, // Monday is the first day of the week.
7758            doy: 4  // The week that contains Jan 4th is the first week of the year.
7759        }
7760    });
7761
7762    //! moment.js locale configuration
7763
7764    hooks.defineLocale('fr-ca', {
7765        months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'),
7766        monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'),
7767        monthsParseExact: true,
7768        weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
7769        weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
7770        weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),
7771        weekdaysParseExact: true,
7772        longDateFormat: {
7773            LT: 'HH:mm',
7774            LTS: 'HH:mm:ss',
7775            L: 'YYYY-MM-DD',
7776            LL: 'D MMMM YYYY',
7777            LLL: 'D MMMM YYYY HH:mm',
7778            LLLL: 'dddd D MMMM YYYY HH:mm'
7779        },
7780        calendar: {
7781            sameDay: '[Aujourd’hui à] LT',
7782            nextDay: '[Demain à] LT',
7783            nextWeek: 'dddd [à] LT',
7784            lastDay: '[Hier à] LT',
7785            lastWeek: 'dddd [dernier à] LT',
7786            sameElse: 'L'
7787        },
7788        relativeTime: {
7789            future: 'dans %s',
7790            past: 'il y a %s',
7791            s: 'quelques secondes',
7792            ss: '%d secondes',
7793            m: 'une minute',
7794            mm: '%d minutes',
7795            h: 'une heure',
7796            hh: '%d heures',
7797            d: 'un jour',
7798            dd: '%d jours',
7799            M: 'un mois',
7800            MM: '%d mois',
7801            y: 'un an',
7802            yy: '%d ans'
7803        },
7804        dayOfMonthOrdinalParse: /\d{1,2}(er|e)/,
7805        ordinal: function (number, period) {
7806            switch (period) {
7807                // Words with masculine grammatical gender: mois, trimestre, jour
7808                default:
7809                case 'M':
7810                case 'Q':
7811                case 'D':
7812                case 'DDD':
7813                case 'd':
7814                    return number + (number === 1 ? 'er' : 'e');
7815
7816                // Words with feminine grammatical gender: semaine
7817                case 'w':
7818                case 'W':
7819                    return number + (number === 1 ? 're' : 'e');
7820            }
7821        }
7822    });
vendor: 5,039 bytes, lines 7823-7959
7823
7824    //! moment.js locale configuration
7825
7826    hooks.defineLocale('fr-ch', {
7827        months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'),
7828        monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'),
7829        monthsParseExact: true,
7830        weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
7831        weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
7832        weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),
7833        weekdaysParseExact: true,
7834        longDateFormat: {
7835            LT: 'HH:mm',
7836            LTS: 'HH:mm:ss',
7837            L: 'DD.MM.YYYY',
7838            LL: 'D MMMM YYYY',
7839            LLL: 'D MMMM YYYY HH:mm',
7840            LLLL: 'dddd D MMMM YYYY HH:mm'
7841        },
7842        calendar: {
7843            sameDay: '[Aujourd’hui à] LT',
7844            nextDay: '[Demain à] LT',
7845            nextWeek: 'dddd [à] LT',
7846            lastDay: '[Hier à] LT',
7847            lastWeek: 'dddd [dernier à] LT',
7848            sameElse: 'L'
7849        },
7850        relativeTime: {
7851            future: 'dans %s',
7852            past: 'il y a %s',
7853            s: 'quelques secondes',
7854            ss: '%d secondes',
7855            m: 'une minute',
7856            mm: '%d minutes',
7857            h: 'une heure',
7858            hh: '%d heures',
7859            d: 'un jour',
7860            dd: '%d jours',
7861            M: 'un mois',
7862            MM: '%d mois',
7863            y: 'un an',
7864            yy: '%d ans'
7865        },
7866        dayOfMonthOrdinalParse: /\d{1,2}(er|e)/,
7867        ordinal: function (number, period) {
7868            switch (period) {
7869                // Words with masculine grammatical gender: mois, trimestre, jour
7870                default:
7871                case 'M':
7872                case 'Q':
7873                case 'D':
7874                case 'DDD':
7875                case 'd':
7876                    return number + (number === 1 ? 'er' : 'e');
7877
7878                // Words with feminine grammatical gender: semaine
7879                case 'w':
7880                case 'W':
7881                    return number + (number === 1 ? 're' : 'e');
7882            }
7883        },
7884        week: {
7885            dow: 1, // Monday is the first day of the week.
7886            doy: 4  // The week that contains Jan 4th is the first week of the year.
7887        }
7888    });
7889
7890    //! moment.js locale configuration
7891
7892    hooks.defineLocale('fr', {
7893        months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'),
7894        monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'),
7895        monthsParseExact: true,
7896        weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
7897        weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
7898        weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),
7899        weekdaysParseExact: true,
7900        longDateFormat: {
7901            LT: 'HH:mm',
7902            LTS: 'HH:mm:ss',
7903            L: 'DD/MM/YYYY',
7904            LL: 'D MMMM YYYY',
7905            LLL: 'D MMMM YYYY HH:mm',
7906            LLLL: 'dddd D MMMM YYYY HH:mm'
7907        },
7908        calendar: {
7909            sameDay: '[Aujourd’hui à] LT',
7910            nextDay: '[Demain à] LT',
7911            nextWeek: 'dddd [à] LT',
7912            lastDay: '[Hier à] LT',
7913            lastWeek: 'dddd [dernier à] LT',
7914            sameElse: 'L'
7915        },
7916        relativeTime: {
7917            future: 'dans %s',
7918            past: 'il y a %s',
7919            s: 'quelques secondes',
7920            ss: '%d secondes',
7921            m: 'une minute',
7922            mm: '%d minutes',
7923            h: 'une heure',
7924            hh: '%d heures',
7925            d: 'un jour',
7926            dd: '%d jours',
7927            M: 'un mois',
7928            MM: '%d mois',
7929            y: 'un an',
7930            yy: '%d ans'
7931        },
7932        dayOfMonthOrdinalParse: /\d{1,2}(er|)/,
7933        ordinal: function (number, period) {
7934            switch (period) {
7935                // TODO: Return 'e' when day of month > 1. Move this case inside
7936                // block for masculine words below.
7937                // See https://github.com/moment/moment/issues/3375
7938                case 'D':
7939                    return number + (number === 1 ? 'er' : '');
7940
7941                // Words with masculine grammatical gender: mois, trimestre, jour
7942                default:
7943                case 'M':
7944                case 'Q':
7945                case 'DDD':
7946                case 'd':
7947                    return number + (number === 1 ? 'er' : 'e');
7948
7949                // Words with feminine grammatical gender: semaine
7950                case 'w':
7951                case 'W':
7952                    return number + (number === 1 ? 're' : 'e');
7953            }
7954        },
7955        week: {
7956            dow: 1, // Monday is the first day of the week.
7957            doy: 4  // The week that contains Jan 4th is the first week of the year.
7958        }
7959    });
7960
7961    //! moment.js locale configuration
7962
7963    var monthsShortWithDots = 'jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.'.split('_'),
7964        monthsShortWithoutDots = 'jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_');
7965
7966    hooks.defineLocale('fy', {
7967        months: 'jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber'.split('_'),
7968        monthsShort: function (m, format) {
7969            if (!m) {
7970                return monthsShortWithDots;
7971            } else if (/-MMM-/.test(format)) {
7972                return monthsShortWithoutDots[m.month()];
7973            } else {
7974                return monthsShortWithDots[m.month()];
7975            }
7976        },
7977        monthsParseExact: true,
7978        weekdays: 'snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon'.split('_'),
7979        weekdaysShort: 'si._mo._ti._wo._to._fr._so.'.split('_'),
7980        weekdaysMin: 'Si_Mo_Ti_Wo_To_Fr_So'.split('_'),
7981        weekdaysParseExact: true,
7982        longDateFormat: {
7983            LT: 'HH:mm',
7984            LTS: 'HH:mm:ss',
7985            L: 'DD-MM-YYYY',
7986            LL: 'D MMMM YYYY',
7987            LLL: 'D MMMM YYYY HH:mm',
7988            LLLL: 'dddd D MMMM YYYY HH:mm'
7989        },
7990        calendar: {
7991            sameDay: '[hjoed om] LT',
7992            nextDay: '[moarn om] LT',
7993            nextWeek: 'dddd [om] LT',
7994            lastDay: '[juster om] LT',
7995            lastWeek: '[ôfrûne] dddd [om] LT',
7996            sameElse: 'L'
7997        },
7998        relativeTime: {
7999            future: 'oer %s',
8000            past: '%s lyn',
8001            s: 'in pear sekonden',
8002            ss: '%d sekonden',
8003            m: 'ien minút',
8004            mm: '%d minuten',
8005            h: 'ien oere',
8006            hh: '%d oeren',
8007            d: 'ien dei',
8008            dd: '%d dagen',
8009            M: 'ien moanne',
8010            MM: '%d moannen',
8011            y: 'ien jier',
8012            yy: '%d jierren'
8013        },
8014        dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
8015        ordinal: function (number) {
8016            return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de');
8017        },
8018        week: {
8019            dow: 1, // Monday is the first day of the week.
8020            doy: 4  // The week that contains Jan 4th is the first week of the year.
8021        }
8022    });
8023
8024    //! moment.js locale configuration
8025
8026
8027    var months$5 = [
8028        'Eanáir', 'Feabhra', 'Márta', 'Aibreán', 'Bealtaine', 'Méitheamh', 'Iúil', 'Lúnasa', 'Meán Fómhair', 'Deaireadh Fómhair', 'Samhain', 'Nollaig'
8029    ];
8030
8031    var monthsShort$4 = ['Eaná', 'Feab', 'Márt', 'Aibr', 'Beal', 'Méit', 'Iúil', 'Lúna', 'Meán', 'Deai', 'Samh', 'Noll'];
8032
8033    var weekdays$1 = ['Dé Domhnaigh', 'Dé Luain', 'Dé Máirt', 'Dé Céadaoin', 'Déardaoin', 'Dé hAoine', 'Dé Satharn'];
8034
8035    var weekdaysShort = ['Dom', 'Lua', 'Mái', 'Céa', 'Déa', 'hAo', 'Sat'];
8036
8037    var weekdaysMin = ['Do', 'Lu', 'Má', 'Ce', 'Dé', 'hA', 'Sa'];
8038
8039    hooks.defineLocale('ga', {
8040        months: months$5,
8041        monthsShort: monthsShort$4,
8042        monthsParseExact: true,
8043        weekdays: weekdays$1,
8044        weekdaysShort: weekdaysShort,
8045        weekdaysMin: weekdaysMin,
8046        longDateFormat: {
8047            LT: 'HH:mm',
8048            LTS: 'HH:mm:ss',
8049            L: 'DD/MM/YYYY',
8050            LL: 'D MMMM YYYY',
8051            LLL: 'D MMMM YYYY HH:mm',
8052            LLLL: 'dddd, D MMMM YYYY HH:mm'
8053        },
8054        calendar: {
8055            sameDay: '[Inniu ag] LT',
8056            nextDay: '[Amárach ag] LT',
8057            nextWeek: 'dddd [ag] LT',
8058            lastDay: '[Inné aig] LT',
8059            lastWeek: 'dddd [seo caite] [ag] LT',
8060            sameElse: 'L'
8061        },
8062        relativeTime: {
8063            future: 'i %s',
8064            past: '%s ó shin',
8065            s: 'cúpla soicind',
8066            ss: '%d soicind',
8067            m: 'nóiméad',
8068            mm: '%d nóiméad',
8069            h: 'uair an chloig',
8070            hh: '%d uair an chloig',
8071            d: 'lá',
8072            dd: '%d lá',
8073            M: 'mí',
8074            MM: '%d mí',
8075            y: 'bliain',
8076            yy: '%d bliain'
8077        },
8078        dayOfMonthOrdinalParse: /\d{1,2}(d|na|mh)/,
8079        ordinal: function (number) {
8080            var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh';
8081            return number + output;
8082        },
8083        week: {
8084            dow: 1, // Monday is the first day of the week.
8085            doy: 4  // The week that contains Jan 4th is the first week of the year.
8086        }
8087    });
8088
8089    //! moment.js locale configuration
8090
8091    var months$6 = [
8092        'Am Faoilleach', 'An Gearran', 'Am Màrt', 'An Giblean', 'An Cèitean', 'An t-Ògmhios', 'An t-Iuchar', 'An Lùnastal', 'An t-Sultain', 'An Dàmhair', 'An t-Samhain', 'An Dùbhlachd'
8093    ];
8094
8095    var monthsShort$5 = ['Faoi', 'Gear', 'Màrt', 'Gibl', 'Cèit', 'Ògmh', 'Iuch', 'Lùn', 'Sult', 'Dàmh', 'Samh', 'Dùbh'];
8096
8097    var weekdays$2 = ['Didòmhnaich', 'Diluain', 'Dimàirt', 'Diciadain', 'Diardaoin', 'Dihaoine', 'Disathairne'];
8098
8099    var weekdaysShort$1 = ['Did', 'Dil', 'Dim', 'Dic', 'Dia', 'Dih', 'Dis'];
8100
8101    var weekdaysMin$1 = ['Dò', 'Lu', 'Mà', 'Ci', 'Ar', 'Ha', 'Sa'];
8102
8103    hooks.defineLocale('gd', {
8104        months: months$6,
8105        monthsShort: monthsShort$5,
8106        monthsParseExact: true,
8107        weekdays: weekdays$2,
8108        weekdaysShort: weekdaysShort$1,
8109        weekdaysMin: weekdaysMin$1,
8110        longDateFormat: {
8111            LT: 'HH:mm',
8112            LTS: 'HH:mm:ss',
8113            L: 'DD/MM/YYYY',
8114            LL: 'D MMMM YYYY',
8115            LLL: 'D MMMM YYYY HH:mm',
8116            LLLL: 'dddd, D MMMM YYYY HH:mm'
8117        },
8118        calendar: {
8119            sameDay: '[An-diugh aig] LT',
8120            nextDay: '[A-màireach aig] LT',
8121            nextWeek: 'dddd [aig] LT',
8122            lastDay: '[An-dè aig] LT',
8123            lastWeek: 'dddd [seo chaidh] [aig] LT',
8124            sameElse: 'L'
8125        },
8126        relativeTime: {
8127            future: 'ann an %s',
8128            past: 'bho chionn %s',
8129            s: 'beagan diogan',
8130            ss: '%d diogan',
8131            m: 'mionaid',
8132            mm: '%d mionaidean',
8133            h: 'uair',
8134            hh: '%d uairean',
8135            d: 'latha',
8136            dd: '%d latha',
8137            M: 'mìos',
8138            MM: '%d mìosan',
8139            y: 'bliadhna',
8140            yy: '%d bliadhna'
8141        },
8142        dayOfMonthOrdinalParse: /\d{1,2}(d|na|mh)/,
8143        ordinal: function (number) {
8144            var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh';
8145            return number + output;
8146        },
8147        week: {
8148            dow: 1, // Monday is the first day of the week.
8149            doy: 4  // The week that contains Jan 4th is the first week of the year.
8150        }
8151    });
8152
8153    //! moment.js locale configuration
8154
8155    hooks.defineLocale('gl', {
8156        months: 'xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro'.split('_'),
8157        monthsShort: 'xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.'.split('_'),
8158        monthsParseExact: true,
8159        weekdays: 'domingo_luns_martes_mércores_xoves_venres_sábado'.split('_'),
8160        weekdaysShort: 'dom._lun._mar._mér._xov._ven._sáb.'.split('_'),
8161        weekdaysMin: 'do_lu_ma_mé_xo_ve_sá'.split('_'),
8162        weekdaysParseExact: true,
8163        longDateFormat: {
8164            LT: 'H:mm',
8165            LTS: 'H:mm:ss',
8166            L: 'DD/MM/YYYY',
8167            LL: 'D [de] MMMM [de] YYYY',
8168            LLL: 'D [de] MMMM [de] YYYY H:mm',
8169            LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm'
8170        },
8171        calendar: {
8172            sameDay: function () {
8173                return '[hoxe ' + ((this.hours() !== 1) ? 'ás' : 'á') + '] LT';
8174            },
8175            nextDay: function () {
8176                return '[mañá ' + ((this.hours() !== 1) ? 'ás' : 'á') + '] LT';
8177            },
8178            nextWeek: function () {
8179                return 'dddd [' + ((this.hours() !== 1) ? 'ás' : 'a') + '] LT';
8180            },
8181            lastDay: function () {
8182                return '[onte ' + ((this.hours() !== 1) ? 'á' : 'a') + '] LT';
8183            },
8184            lastWeek: function () {
8185                return '[o] dddd [pasado ' + ((this.hours() !== 1) ? 'ás' : 'a') + '] LT';
8186            },
8187            sameElse: 'L'
8188        },
8189        relativeTime: {
8190            future: function (str) {
8191                if (str.indexOf('un') === 0) {
8192                    return 'n' + str;
8193                }
8194                return 'en ' + str;
8195            },
8196            past: 'hai %s',
8197            s: 'uns segundos',
8198            ss: '%d segundos',
8199            m: 'un minuto',
8200            mm: '%d minutos',
8201            h: 'unha hora',
8202            hh: '%d horas',
8203            d: 'un día',
8204            dd: '%d días',
8205            M: 'un mes',
8206            MM: '%d meses',
8207            y: 'un ano',
8208            yy: '%d anos'
8209        },
8210        dayOfMonthOrdinalParse: /\d{1,2}º/,
8211        ordinal: '%dº',
8212        week: {
8213            dow: 1, // Monday is the first day of the week.
8214            doy: 4  // The week that contains Jan 4th is the first week of the year.
8215        }
8216    });
8217
8218    //! moment.js locale configuration
8219
8220    function processRelativeTime$4(number, withoutSuffix, key, isFuture) {
8221        var format = {
8222            's': ['thodde secondanim', 'thodde second'],
8223            'ss': [number + ' secondanim', number + ' second'],
8224            'm': ['eka mintan', 'ek minute'],
8225            'mm': [number + ' mintanim', number + ' mintam'],
8226            'h': ['eka voran', 'ek vor'],
8227            'hh': [number + ' voranim', number + ' voram'],
8228            'd': ['eka disan', 'ek dis'],
8229            'dd': [number + ' disanim', number + ' dis'],
8230            'M': ['eka mhoinean', 'ek mhoino'],
8231            'MM': [number + ' mhoineanim', number + ' mhoine'],
8232            'y': ['eka vorsan', 'ek voros'],
8233            'yy': [number + ' vorsanim', number + ' vorsam']
8234        };
8235        return withoutSuffix ? format[key][0] : format[key][1];
8236    }
8237
8238    hooks.defineLocale('gom-latn', {
8239        months: 'Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr'.split('_'),
8240        monthsShort: 'Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.'.split('_'),
8241        monthsParseExact: true,
8242        weekdays: 'Aitar_Somar_Mongllar_Budvar_Brestar_Sukrar_Son\'var'.split('_'),
8243        weekdaysShort: 'Ait._Som._Mon._Bud._Bre._Suk._Son.'.split('_'),
8244        weekdaysMin: 'Ai_Sm_Mo_Bu_Br_Su_Sn'.split('_'),
8245        weekdaysParseExact: true,
8246        longDateFormat: {
8247            LT: 'A h:mm [vazta]',
8248            LTS: 'A h:mm:ss [vazta]',
8249            L: 'DD-MM-YYYY',
8250            LL: 'D MMMM YYYY',
8251            LLL: 'D MMMM YYYY A h:mm [vazta]',
8252            LLLL: 'dddd, MMMM[achea] Do, YYYY, A h:mm [vazta]',
8253            llll: 'ddd, D MMM YYYY, A h:mm [vazta]'
8254        },
8255        calendar: {
8256            sameDay: '[Aiz] LT',
8257            nextDay: '[Faleam] LT',
8258            nextWeek: '[Ieta to] dddd[,] LT',
8259            lastDay: '[Kal] LT',
8260            lastWeek: '[Fatlo] dddd[,] LT',
8261            sameElse: 'L'
8262        },
8263        relativeTime: {
8264            future: '%s',
8265            past: '%s adim',
8266            s: processRelativeTime$4,
8267            ss: processRelativeTime$4,
8268            m: processRelativeTime$4,
8269            mm: processRelativeTime$4,
8270            h: processRelativeTime$4,
8271            hh: processRelativeTime$4,
8272            d: processRelativeTime$4,
8273            dd: processRelativeTime$4,
8274            M: processRelativeTime$4,
8275            MM: processRelativeTime$4,
8276            y: processRelativeTime$4,
8277            yy: processRelativeTime$4
8278        },
8279        dayOfMonthOrdinalParse: /\d{1,2}(er)/,
8280        ordinal: function (number, period) {
8281            switch (period) {
8282                // the ordinal 'er' only applies to day of the month
8283                case 'D':
8284                    return number + 'er';
8285                default:
8286                case 'M':
8287                case 'Q':
8288                case 'DDD':
8289                case 'd':
8290                case 'w':
8291                case 'W':
8292                    return number;
8293            }
8294        },
8295        week: {
8296            dow: 1, // Monday is the first day of the week.
8297            doy: 4  // The week that contains Jan 4th is the first week of the year.
8298        },
8299        meridiemParse: /rati|sokalli|donparam|sanje/,
8300        meridiemHour: function (hour, meridiem) {
8301            if (hour === 12) {
8302                hour = 0;
8303            }
8304            if (meridiem === 'rati') {
8305                return hour < 4 ? hour : hour + 12;
8306            } else if (meridiem === 'sokalli') {
8307                return hour;
8308            } else if (meridiem === 'donparam') {
8309                return hour > 12 ? hour : hour + 12;
8310            } else if (meridiem === 'sanje') {
8311                return hour + 12;
8312            }
8313        },
8314        meridiem: function (hour, minute, isLower) {
8315            if (hour < 4) {
8316                return 'rati';
8317            } else if (hour < 12) {
8318                return 'sokalli';
8319            } else if (hour < 16) {
8320                return 'donparam';
8321            } else if (hour < 20) {
8322                return 'sanje';
8323            } else {
8324                return 'rati';
8325            }
8326        }
8327    });
vendor: 4,463 bytes, lines 8328-8439
8328
8329    //! moment.js locale configuration
8330
8331    var symbolMap$6 = {
8332        '1': 'à«§',
8333        '2': '૨',
8334        '3': 'à«©',
8335        '4': '૪',
8336        '5': 'à««',
8337        '6': '૬',
8338        '7': 'à«­',
8339        '8': 'à«®',
8340        '9': '૯',
8341        '0': '૦'
8342    },
8343        numberMap$5 = {
8344            'à«§': '1',
8345            '૨': '2',
8346            'à«©': '3',
8347            '૪': '4',
8348            'à««': '5',
8349            '૬': '6',
8350            'à«­': '7',
8351            'à«®': '8',
8352            '૯': '9',
8353            '૦': '0'
8354        };
8355
8356    hooks.defineLocale('gu', {
8357        months: 'જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર'.split('_'),
8358        monthsShort: 'જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.'.split('_'),
8359        monthsParseExact: true,
8360        weekdays: 'રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર'.split('_'),
8361        weekdaysShort: 'રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ'.split('_'),
8362        weekdaysMin: 'ર_સો_મં_બુ_ગુ_શુ_શ'.split('_'),
8363        longDateFormat: {
8364            LT: 'A h:mm વાગ્યે',
8365            LTS: 'A h:mm:ss વાગ્યે',
8366            L: 'DD/MM/YYYY',
8367            LL: 'D MMMM YYYY',
8368            LLL: 'D MMMM YYYY, A h:mm વાગ્યે',
8369            LLLL: 'dddd, D MMMM YYYY, A h:mm વાગ્યે'
8370        },
8371        calendar: {
8372            sameDay: '[આજ] LT',
8373            nextDay: '[કાલે] LT',
8374            nextWeek: 'dddd, LT',
8375            lastDay: '[ગઇકાલે] LT',
8376            lastWeek: '[પાછલા] dddd, LT',
8377            sameElse: 'L'
8378        },
8379        relativeTime: {
8380            future: '%s મા',
8381            past: '%s પેહલા',
8382            s: 'અમુક પળો',
8383            ss: '%d સેકંડ',
8384            m: 'એક મિનિટ',
8385            mm: '%d મિનિટ',
8386            h: 'એક કલાક',
8387            hh: '%d કલાક',
8388            d: 'એક દિવસ',
8389            dd: '%d દિવસ',
8390            M: 'એક મહિનો',
8391            MM: '%d મહિનો',
8392            y: 'એક વર્ષ',
8393            yy: '%d વર્ષ'
8394        },
8395        preparse: function (string) {
8396            return string.replace(/[૧૨૩૪૫૬૭૮૯૦]/g, function (match) {
8397                return numberMap$5[match];
8398            });
8399        },
8400        postformat: function (string) {
8401            return string.replace(/\d/g, function (match) {
8402                return symbolMap$6[match];
8403            });
8404        },
8405        // Gujarati notation for meridiems are quite fuzzy in practice. While there exists
8406        // a rigid notion of a 'Pahar' it is not used as rigidly in modern Gujarati.
8407        meridiemParse: /રાત|બપોર|સવાર|સાંજ/,
8408        meridiemHour: function (hour, meridiem) {
8409            if (hour === 12) {
8410                hour = 0;
8411            }
8412            if (meridiem === 'રાત') {
8413                return hour < 4 ? hour : hour + 12;
8414            } else if (meridiem === 'સવાર') {
8415                return hour;
8416            } else if (meridiem === 'બપોર') {
8417                return hour >= 10 ? hour : hour + 12;
8418            } else if (meridiem === 'સાંજ') {
8419                return hour + 12;
8420            }
8421        },
8422        meridiem: function (hour, minute, isLower) {
8423            if (hour < 4) {
8424                return 'રાત';
8425            } else if (hour < 10) {
8426                return 'સવાર';
8427            } else if (hour < 17) {
8428                return 'બપોર';
8429            } else if (hour < 20) {
8430                return 'સાંજ';
8431            } else {
8432                return 'રાત';
8433            }
8434        },
8435        week: {
8436            dow: 0, // Sunday is the first day of the week.
8437            doy: 6 // The week that contains Jan 6th is the first week of the year.
8438        }
8439    });
8440
8441    //! moment.js locale configuration
8442
8443    hooks.defineLocale('he', {
8444        months: 'ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר'.split('_'),
8445        monthsShort: 'ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳'.split('_'),
8446        weekdays: 'ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת'.split('_'),
8447        weekdaysShort: 'א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳'.split('_'),
8448        weekdaysMin: 'א_ב_ג_ד_ה_ו_ש'.split('_'),
8449        longDateFormat: {
8450            LT: 'HH:mm',
8451            LTS: 'HH:mm:ss',
8452            L: 'DD/MM/YYYY',
8453            LL: 'D [ב]MMMM YYYY',
8454            LLL: 'D [ב]MMMM YYYY HH:mm',
8455            LLLL: 'dddd, D [ב]MMMM YYYY HH:mm',
8456            l: 'D/M/YYYY',
8457            ll: 'D MMM YYYY',
8458            lll: 'D MMM YYYY HH:mm',
8459            llll: 'ddd, D MMM YYYY HH:mm'
8460        },
8461        calendar: {
8462            sameDay: '[היום ב־]LT',
8463            nextDay: '[מחר ב־]LT',
8464            nextWeek: 'dddd [בשעה] LT',
8465            lastDay: '[אתמול ב־]LT',
8466            lastWeek: '[ביום] dddd [האחרון בשעה] LT',
8467            sameElse: 'L'
8468        },
8469        relativeTime: {
8470            future: 'בעוד %s',
8471            past: 'לפני %s',
8472            s: 'מספר שניות',
8473            ss: '%d שניות',
8474            m: 'דקה',
8475            mm: '%d דקות',
8476            h: 'שעה',
8477            hh: function (number) {
8478                if (number === 2) {
8479                    return 'שעתיים';
8480                }
8481                return number + ' שעות';
8482            },
8483            d: 'יום',
8484            dd: function (number) {
8485                if (number === 2) {
8486                    return 'יומיים';
8487                }
8488                return number + ' ימים';
8489            },
8490            M: 'חודש',
8491            MM: function (number) {
8492                if (number === 2) {
8493                    return 'חודשיים';
8494                }
8495                return number + ' חודשים';
8496            },
8497            y: 'שנה',
8498            yy: function (number) {
8499                if (number === 2) {
8500                    return 'שנתיים';
8501                } else if (number % 10 === 0 && number !== 10) {
8502                    return number + ' שנה';
8503                }
8504                return number + ' שנים';
8505            }
8506        },
8507        meridiemParse: /אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,
8508        isPM: function (input) {
8509            return /^(אחה"צ|אחרי הצהריים|בערב)$/.test(input);
8510        },
8511        meridiem: function (hour, minute, isLower) {
8512            if (hour < 5) {
8513                return 'לפנות בוקר';
8514            } else if (hour < 10) {
8515                return 'בבוקר';
8516            } else if (hour < 12) {
8517                return isLower ? 'לפנה"צ' : 'לפני הצהריים';
8518            } else if (hour < 18) {
8519                return isLower ? 'אחה"צ' : 'אחרי הצהריים';
8520            } else {
8521                return 'בערב';
8522            }
8523        }
8524    });
8525
8526    //! moment.js locale configuration
8527
8528    var symbolMap$7 = {
8529        '1': '१',
8530        '2': '२',
8531        '3': '३',
8532        '4': '४',
8533        '5': '५',
8534        '6': '६',
8535        '7': '७',
8536        '8': '८',
8537        '9': '९',
8538        '0': '०'
8539    },
8540        numberMap$6 = {
8541            '१': '1',
8542            '२': '2',
8543            '३': '3',
8544            '४': '4',
8545            '५': '5',
8546            '६': '6',
8547            '७': '7',
8548            '८': '8',
8549            '९': '9',
8550            '०': '0'
8551        };
8552
8553    hooks.defineLocale('hi', {
8554        months: 'जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर'.split('_'),
8555        monthsShort: 'जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.'.split('_'),
8556        monthsParseExact: true,
8557        weekdays: 'रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'),
8558        weekdaysShort: 'रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि'.split('_'),
8559        weekdaysMin: 'र_सो_मं_बु_गु_शु_श'.split('_'),
8560        longDateFormat: {
8561            LT: 'A h:mm बजे',
8562            LTS: 'A h:mm:ss बजे',
8563            L: 'DD/MM/YYYY',
8564            LL: 'D MMMM YYYY',
8565            LLL: 'D MMMM YYYY, A h:mm बजे',
8566            LLLL: 'dddd, D MMMM YYYY, A h:mm बजे'
8567        },
8568        calendar: {
8569            sameDay: '[आज] LT',
8570            nextDay: '[कल] LT',
8571            nextWeek: 'dddd, LT',
8572            lastDay: '[कल] LT',
8573            lastWeek: '[पिछले] dddd, LT',
8574            sameElse: 'L'
8575        },
8576        relativeTime: {
8577            future: '%s में',
8578            past: '%s पहले',
8579            s: 'कुछ ही क्षण',
8580            ss: '%d सेकंड',
8581            m: 'एक मिनट',
8582            mm: '%d मिनट',
8583            h: 'एक घंटा',
8584            hh: '%d घंटे',
8585            d: 'एक दिन',
8586            dd: '%d दिन',
8587            M: 'एक महीने',
8588            MM: '%d महीने',
8589            y: 'एक वर्ष',
8590            yy: '%d वर्ष'
8591        },
8592        preparse: function (string) {
8593            return string.replace(/[१२३४५६७८९०]/g, function (match) {
8594                return numberMap$6[match];
8595            });
8596        },
8597        postformat: function (string) {
8598            return string.replace(/\d/g, function (match) {
8599                return symbolMap$7[match];
8600            });
8601        },
8602        // Hindi notation for meridiems are quite fuzzy in practice. While there exists
8603        // a rigid notion of a 'Pahar' it is not used as rigidly in modern Hindi.
8604        meridiemParse: /रात|सुबह|दोपहर|शाम/,
8605        meridiemHour: function (hour, meridiem) {
8606            if (hour === 12) {
8607                hour = 0;
8608            }
8609            if (meridiem === 'रात') {
8610                return hour < 4 ? hour : hour + 12;
8611            } else if (meridiem === 'सुबह') {
8612                return hour;
8613            } else if (meridiem === 'दोपहर') {
8614                return hour >= 10 ? hour : hour + 12;
8615            } else if (meridiem === 'शाम') {
8616                return hour + 12;
8617            }
8618        },
8619        meridiem: function (hour, minute, isLower) {
8620            if (hour < 4) {
8621                return 'रात';
8622            } else if (hour < 10) {
8623                return 'सुबह';
8624            } else if (hour < 17) {
8625                return 'दोपहर';
8626            } else if (hour < 20) {
8627                return 'शाम';
8628            } else {
8629                return 'रात';
8630            }
8631        },
8632        week: {
8633            dow: 0, // Sunday is the first day of the week.
8634            doy: 6  // The week that contains Jan 6th is the first week of the year.
8635        }
8636    });
8637
8638    //! moment.js locale configuration
8639
8640    function translate$3(number, withoutSuffix, key) {
8641        var result = number + ' ';
8642        switch (key) {
8643            case 'ss':
8644                if (number === 1) {
8645                    result += 'sekunda';
8646                } else if (number === 2 || number === 3 || number === 4) {
8647                    result += 'sekunde';
8648                } else {
8649                    result += 'sekundi';
8650                }
8651                return result;
8652            case 'm':
8653                return withoutSuffix ? 'jedna minuta' : 'jedne minute';
8654            case 'mm':
8655                if (number === 1) {
8656                    result += 'minuta';
8657                } else if (number === 2 || number === 3 || number === 4) {
8658                    result += 'minute';
8659                } else {
8660                    result += 'minuta';
8661                }
8662                return result;
8663            case 'h':
8664                return withoutSuffix ? 'jedan sat' : 'jednog sata';
8665            case 'hh':
8666                if (number === 1) {
8667                    result += 'sat';
8668                } else if (number === 2 || number === 3 || number === 4) {
8669                    result += 'sata';
8670                } else {
8671                    result += 'sati';
8672                }
8673                return result;
8674            case 'dd':
8675                if (number === 1) {
8676                    result += 'dan';
8677                } else {
8678                    result += 'dana';
8679                }
8680                return result;
8681            case 'MM':
8682                if (number === 1) {
8683                    result += 'mjesec';
8684                } else if (number === 2 || number === 3 || number === 4) {
8685                    result += 'mjeseca';
8686                } else {
8687                    result += 'mjeseci';
8688                }
8689                return result;
8690            case 'yy':
8691                if (number === 1) {
8692                    result += 'godina';
8693                } else if (number === 2 || number === 3 || number === 4) {
8694                    result += 'godine';
8695                } else {
8696                    result += 'godina';
8697                }
8698                return result;
8699        }
8700    }
8701
8702    hooks.defineLocale('hr', {
8703        months: {
8704            format: 'siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca'.split('_'),
8705            standalone: 'siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac'.split('_')
8706        },
8707        monthsShort: 'sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.'.split('_'),
8708        monthsParseExact: true,
8709        weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split('_'),
8710        weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),
8711        weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),
8712        weekdaysParseExact: true,
8713        longDateFormat: {
8714            LT: 'H:mm',
8715            LTS: 'H:mm:ss',
8716            L: 'DD.MM.YYYY',
8717            LL: 'D. MMMM YYYY',
8718            LLL: 'D. MMMM YYYY H:mm',
8719            LLLL: 'dddd, D. MMMM YYYY H:mm'
8720        },
8721        calendar: {
8722            sameDay: '[danas u] LT',
8723            nextDay: '[sutra u] LT',
8724            nextWeek: function () {
8725                switch (this.day()) {
8726                    case 0:
8727                        return '[u] [nedjelju] [u] LT';
8728                    case 3:
8729                        return '[u] [srijedu] [u] LT';
8730                    case 6:
8731                        return '[u] [subotu] [u] LT';
8732                    case 1:
8733                    case 2:
8734                    case 4:
8735                    case 5:
8736                        return '[u] dddd [u] LT';
8737                }
8738            },
8739            lastDay: '[jučer u] LT',
8740            lastWeek: function () {
8741                switch (this.day()) {
8742                    case 0:
8743                    case 3:
8744                        return '[prošlu] dddd [u] LT';
8745                    case 6:
8746                        return '[prošle] [subote] [u] LT';
8747                    case 1:
8748                    case 2:
8749                    case 4:
8750                    case 5:
8751                        return '[prošli] dddd [u] LT';
8752                }
8753            },
8754            sameElse: 'L'
8755        },
8756        relativeTime: {
8757            future: 'za %s',
8758            past: 'prije %s',
8759            s: 'par sekundi',
8760            ss: translate$3,
8761            m: translate$3,
8762            mm: translate$3,
8763            h: translate$3,
8764            hh: translate$3,
8765            d: 'dan',
8766            dd: translate$3,
8767            M: 'mjesec',
8768            MM: translate$3,
8769            y: 'godinu',
8770            yy: translate$3
8771        },
8772        dayOfMonthOrdinalParse: /\d{1,2}\./,
8773        ordinal: '%d.',
8774        week: {
8775            dow: 1, // Monday is the first day of the week.
8776            doy: 7  // The week that contains Jan 7th is the first week of the year.
8777        }
8778    });
8779
8780    //! moment.js locale configuration
8781
8782    var weekEndings = 'vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton'.split(' ');
8783    function translate$4(number, withoutSuffix, key, isFuture) {
8784        var num = number;
8785        switch (key) {
8786            case 's':
8787                return (isFuture || withoutSuffix) ? 'néhány másodperc' : 'néhány másodperce';
8788            case 'ss':
8789                return num + (isFuture || withoutSuffix) ? ' másodperc' : ' másodperce';
8790            case 'm':
8791                return 'egy' + (isFuture || withoutSuffix ? ' perc' : ' perce');
8792            case 'mm':
8793                return num + (isFuture || withoutSuffix ? ' perc' : ' perce');
8794            case 'h':
8795                return 'egy' + (isFuture || withoutSuffix ? ' óra' : ' órája');
8796            case 'hh':
8797                return num + (isFuture || withoutSuffix ? ' óra' : ' órája');
8798            case 'd':
8799                return 'egy' + (isFuture || withoutSuffix ? ' nap' : ' napja');
8800            case 'dd':
8801                return num + (isFuture || withoutSuffix ? ' nap' : ' napja');
8802            case 'M':
8803                return 'egy' + (isFuture || withoutSuffix ? ' hónap' : ' hónapja');
8804            case 'MM':
8805                return num + (isFuture || withoutSuffix ? ' hónap' : ' hónapja');
8806            case 'y':
8807                return 'egy' + (isFuture || withoutSuffix ? ' év' : ' éve');
8808            case 'yy':
8809                return num + (isFuture || withoutSuffix ? ' év' : ' éve');
8810        }
8811        return '';
8812    }
8813    function week(isFuture) {
8814        return (isFuture ? '' : '[múlt] ') + '[' + weekEndings[this.day()] + '] LT[-kor]';
8815    }
8816
8817    hooks.defineLocale('hu', {
8818        months: 'január_február_március_április_május_június_július_augusztus_szeptember_október_november_december'.split('_'),
8819        monthsShort: 'jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec'.split('_'),
8820        weekdays: 'vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat'.split('_'),
8821        weekdaysShort: 'vas_hét_kedd_sze_csüt_pén_szo'.split('_'),
8822        weekdaysMin: 'v_h_k_sze_cs_p_szo'.split('_'),
8823        longDateFormat: {
8824            LT: 'H:mm',
8825            LTS: 'H:mm:ss',
8826            L: 'YYYY.MM.DD.',
8827            LL: 'YYYY. MMMM D.',
8828            LLL: 'YYYY. MMMM D. H:mm',
8829            LLLL: 'YYYY. MMMM D., dddd H:mm'
8830        },
8831        meridiemParse: /de|du/i,
8832        isPM: function (input) {
8833            return input.charAt(1).toLowerCase() === 'u';
8834        },
8835        meridiem: function (hours, minutes, isLower) {
8836            if (hours < 12) {
8837                return isLower === true ? 'de' : 'DE';
8838            } else {
8839                return isLower === true ? 'du' : 'DU';
8840            }
8841        },
8842        calendar: {
8843            sameDay: '[ma] LT[-kor]',
8844            nextDay: '[holnap] LT[-kor]',
8845            nextWeek: function () {
8846                return week.call(this, true);
8847            },
8848            lastDay: '[tegnap] LT[-kor]',
8849            lastWeek: function () {
8850                return week.call(this, false);
8851            },
8852            sameElse: 'L'
8853        },
8854        relativeTime: {
8855            future: '%s múlva',
8856            past: '%s',
8857            s: translate$4,
8858            ss: translate$4,
8859            m: translate$4,
8860            mm: translate$4,
8861            h: translate$4,
8862            hh: translate$4,
8863            d: translate$4,
8864            dd: translate$4,
8865            M: translate$4,
8866            MM: translate$4,
8867            y: translate$4,
8868            yy: translate$4
8869        },
8870        dayOfMonthOrdinalParse: /\d{1,2}\./,
8871        ordinal: '%d.',
8872        week: {
8873            dow: 1, // Monday is the first day of the week.
8874            doy: 4  // The week that contains Jan 4th is the first week of the year.
8875        }
8876    });
8877
8878    //! moment.js locale configuration
8879
8880    hooks.defineLocale('hy-am', {
8881        months: {
8882            format: 'հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի'.split('_'),
8883            standalone: 'հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր'.split('_')
8884        },
8885        monthsShort: 'հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ'.split('_'),
8886        weekdays: 'կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ'.split('_'),
8887        weekdaysShort: 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'),
8888        weekdaysMin: 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'),
8889        longDateFormat: {
8890            LT: 'HH:mm',
8891            LTS: 'HH:mm:ss',
8892            L: 'DD.MM.YYYY',
8893            LL: 'D MMMM YYYY Õ©.',
8894            LLL: 'D MMMM YYYY Õ©., HH:mm',
8895            LLLL: 'dddd, D MMMM YYYY Õ©., HH:mm'
8896        },
8897        calendar: {
8898            sameDay: '[այսօր] LT',
8899            nextDay: '[Õ¾Õ¡Õ²Õ¨] LT',
8900            lastDay: '[երեկ] LT',
8901            nextWeek: function () {
8902                return 'dddd [օրը ժամը] LT';
8903            },
8904            lastWeek: function () {
8905                return '[անցած] dddd [օրը ժամը] LT';
8906            },
8907            sameElse: 'L'
8908        },
8909        relativeTime: {
8910            future: '%s Õ°Õ¥Õ¿Õ¸',
8911            past: '%s Õ¡Õ¼Õ¡Õ»',
8912            s: 'մի քանի վայրկյան',
8913            ss: '%d վայրկյան',
8914            m: 'րոպե',
8915            mm: '%d րոպե',
8916            h: 'ÕªÕ¡Õ´',
8917            hh: '%d ÕªÕ¡Õ´',
8918            d: 'օր',
8919            dd: '%d օր',
8920            M: 'Õ¡Õ´Õ«Õ½',
8921            MM: '%d Õ¡Õ´Õ«Õ½',
8922            y: 'տարի',
8923            yy: '%d տարի'
8924        },
8925        meridiemParse: /գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,
8926        isPM: function (input) {
8927            return /^(ցերեկվա|երեկոյան)$/.test(input);
8928        },
8929        meridiem: function (hour) {
8930            if (hour < 4) {
8931                return 'գիշերվա';
8932            } else if (hour < 12) {
8933                return 'Õ¡Õ¼Õ¡Õ¾Õ¸Õ¿Õ¾Õ¡';
8934            } else if (hour < 17) {
8935                return 'ցերեկվա';
8936            } else {
8937                return 'երեկոյան';
8938            }
8939        },
8940        dayOfMonthOrdinalParse: /\d{1,2}|\d{1,2}-(ին|րդ)/,
8941        ordinal: function (number, period) {
8942            switch (period) {
8943                case 'DDD':
8944                case 'w':
8945                case 'W':
8946                case 'DDDo':
8947                    if (number === 1) {
8948                        return number + '-Õ«Õ¶';
8949                    }
8950                    return number + '-րդ';
8951                default:
8952                    return number;
8953            }
8954        },
8955        week: {
8956            dow: 1, // Monday is the first day of the week.
8957            doy: 7  // The week that contains Jan 7th is the first week of the year.
8958        }
8959    });
8960
8961    //! moment.js locale configuration
8962
8963    hooks.defineLocale('id', {
8964        months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember'.split('_'),
8965        monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des'.split('_'),
8966        weekdays: 'Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu'.split('_'),
8967        weekdaysShort: 'Min_Sen_Sel_Rab_Kam_Jum_Sab'.split('_'),
8968        weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sb'.split('_'),
8969        longDateFormat: {
8970            LT: 'HH.mm',
8971            LTS: 'HH.mm.ss',
8972            L: 'DD/MM/YYYY',
8973            LL: 'D MMMM YYYY',
8974            LLL: 'D MMMM YYYY [pukul] HH.mm',
8975            LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm'
8976        },
8977        meridiemParse: /pagi|siang|sore|malam/,
8978        meridiemHour: function (hour, meridiem) {
8979            if (hour === 12) {
8980                hour = 0;
8981            }
8982            if (meridiem === 'pagi') {
8983                return hour;
8984            } else if (meridiem === 'siang') {
8985                return hour >= 11 ? hour : hour + 12;
8986            } else if (meridiem === 'sore' || meridiem === 'malam') {
8987                return hour + 12;
8988            }
8989        },
8990        meridiem: function (hours, minutes, isLower) {
8991            if (hours < 11) {
8992                return 'pagi';
8993            } else if (hours < 15) {
8994                return 'siang';
8995            } else if (hours < 19) {
8996                return 'sore';
8997            } else {
8998                return 'malam';
8999            }
9000        },
9001        calendar: {
9002            sameDay: '[Hari ini pukul] LT',
9003            nextDay: '[Besok pukul] LT',
9004            nextWeek: 'dddd [pukul] LT',
9005            lastDay: '[Kemarin pukul] LT',
9006            lastWeek: 'dddd [lalu pukul] LT',
9007            sameElse: 'L'
9008        },
9009        relativeTime: {
9010            future: 'dalam %s',
9011            past: '%s yang lalu',
9012            s: 'beberapa detik',
9013            ss: '%d detik',
9014            m: 'semenit',
9015            mm: '%d menit',
9016            h: 'sejam',
9017            hh: '%d jam',
9018            d: 'sehari',
9019            dd: '%d hari',
9020            M: 'sebulan',
9021            MM: '%d bulan',
9022            y: 'setahun',
9023            yy: '%d tahun'
9024        },
9025        week: {
9026            dow: 1, // Monday is the first day of the week.
9027            doy: 7  // The week that contains Jan 7th is the first week of the year.
9028        }
9029    });
vendor: 4,471 bytes, lines 9030-9144
9030
9031    //! moment.js locale configuration
9032
9033    function plural$2(n) {
9034        if (n % 100 === 11) {
9035            return true;
9036        } else if (n % 10 === 1) {
9037            return false;
9038        }
9039        return true;
9040    }
9041    function translate$5(number, withoutSuffix, key, isFuture) {
9042        var result = number + ' ';
9043        switch (key) {
9044            case 's':
9045                return withoutSuffix || isFuture ? 'nokkrar sekúndur' : 'nokkrum sekúndum';
9046            case 'ss':
9047                if (plural$2(number)) {
9048                    return result + (withoutSuffix || isFuture ? 'sekúndur' : 'sekúndum');
9049                }
9050                return result + 'sekúnda';
9051            case 'm':
9052                return withoutSuffix ? 'mínúta' : 'mínútu';
9053            case 'mm':
9054                if (plural$2(number)) {
9055                    return result + (withoutSuffix || isFuture ? 'mínútur' : 'mínútum');
9056                } else if (withoutSuffix) {
9057                    return result + 'mínúta';
9058                }
9059                return result + 'mínútu';
9060            case 'hh':
9061                if (plural$2(number)) {
9062                    return result + (withoutSuffix || isFuture ? 'klukkustundir' : 'klukkustundum');
9063                }
9064                return result + 'klukkustund';
9065            case 'd':
9066                if (withoutSuffix) {
9067                    return 'dagur';
9068                }
9069                return isFuture ? 'dag' : 'degi';
9070            case 'dd':
9071                if (plural$2(number)) {
9072                    if (withoutSuffix) {
9073                        return result + 'dagar';
9074                    }
9075                    return result + (isFuture ? 'daga' : 'dögum');
9076                } else if (withoutSuffix) {
9077                    return result + 'dagur';
9078                }
9079                return result + (isFuture ? 'dag' : 'degi');
9080            case 'M':
9081                if (withoutSuffix) {
9082                    return 'mánuður';
9083                }
9084                return isFuture ? 'mánuð' : 'mánuði';
9085            case 'MM':
9086                if (plural$2(number)) {
9087                    if (withoutSuffix) {
9088                        return result + 'mánuðir';
9089                    }
9090                    return result + (isFuture ? 'mánuði' : 'mánuðum');
9091                } else if (withoutSuffix) {
9092                    return result + 'mánuður';
9093                }
9094                return result + (isFuture ? 'mánuð' : 'mánuði');
9095            case 'y':
9096                return withoutSuffix || isFuture ? 'ár' : 'ári';
9097            case 'yy':
9098                if (plural$2(number)) {
9099                    return result + (withoutSuffix || isFuture ? 'ár' : 'árum');
9100                }
9101                return result + (withoutSuffix || isFuture ? 'ár' : 'ári');
9102        }
9103    }
9104
9105    hooks.defineLocale('is', {
9106        months: 'janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember'.split('_'),
9107        monthsShort: 'jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des'.split('_'),
9108        weekdays: 'sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur'.split('_'),
9109        weekdaysShort: 'sun_mán_þri_mið_fim_fös_lau'.split('_'),
9110        weekdaysMin: 'Su_Má_Þr_Mi_Fi_Fö_La'.split('_'),
9111        longDateFormat: {
9112            LT: 'H:mm',
9113            LTS: 'H:mm:ss',
9114            L: 'DD.MM.YYYY',
9115            LL: 'D. MMMM YYYY',
9116            LLL: 'D. MMMM YYYY [kl.] H:mm',
9117            LLLL: 'dddd, D. MMMM YYYY [kl.] H:mm'
9118        },
9119        calendar: {
9120            sameDay: '[í dag kl.] LT',
9121            nextDay: '[á morgun kl.] LT',
9122            nextWeek: 'dddd [kl.] LT',
9123            lastDay: '[í gær kl.] LT',
9124            lastWeek: '[síðasta] dddd [kl.] LT',
9125            sameElse: 'L'
9126        },
9127        relativeTime: {
9128            future: 'eftir %s',
9129            past: 'fyrir %s síðan',
9130            s: translate$5,
9131            ss: translate$5,
9132            m: translate$5,
9133            mm: translate$5,
9134            h: 'klukkustund',
9135            hh: translate$5,
9136            d: translate$5,
9137            dd: translate$5,
9138            M: translate$5,
9139            MM: translate$5,
9140            y: translate$5,
9141            yy: translate$5
9142        },
9143        dayOfMonthOrdinalParse: /\d{1,2}\./,
9144        ordinal: '%d.',
9145        week: {
9146            dow: 1, // Monday is the first day of the week.
9147            doy: 4  // The week that contains Jan 4th is the first week of the year.
9148        }
9149    });
9150
9151    //! moment.js locale configuration
9152
9153    hooks.defineLocale('it-ch', {
9154        months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split('_'),
9155        monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'),
9156        weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split('_'),
9157        weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'),
9158        weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'),
9159        longDateFormat: {
9160            LT: 'HH:mm',
9161            LTS: 'HH:mm:ss',
9162            L: 'DD.MM.YYYY',
9163            LL: 'D MMMM YYYY',
9164            LLL: 'D MMMM YYYY HH:mm',
9165            LLLL: 'dddd D MMMM YYYY HH:mm'
9166        },
9167        calendar: {
9168            sameDay: '[Oggi alle] LT',
9169            nextDay: '[Domani alle] LT',
9170            nextWeek: 'dddd [alle] LT',
9171            lastDay: '[Ieri alle] LT',
9172            lastWeek: function () {
9173                switch (this.day()) {
9174                    case 0:
9175                        return '[la scorsa] dddd [alle] LT';
9176                    default:
9177                        return '[lo scorso] dddd [alle] LT';
9178                }
9179            },
9180            sameElse: 'L'
9181        },
9182        relativeTime: {
9183            future: function (s) {
9184                return ((/^[0-9].+$/).test(s) ? 'tra' : 'in') + ' ' + s;
9185            },
9186            past: '%s fa',
9187            s: 'alcuni secondi',
9188            ss: '%d secondi',
9189            m: 'un minuto',
9190            mm: '%d minuti',
9191            h: 'un\'ora',
9192            hh: '%d ore',
9193            d: 'un giorno',
9194            dd: '%d giorni',
9195            M: 'un mese',
9196            MM: '%d mesi',
9197            y: 'un anno',
9198            yy: '%d anni'
9199        },
9200        dayOfMonthOrdinalParse: /\d{1,2}º/,
9201        ordinal: '%dº',
9202        week: {
9203            dow: 1, // Monday is the first day of the week.
9204            doy: 4  // The week that contains Jan 4th is the first week of the year.
9205        }
9206    });
9207
9208    //! moment.js locale configuration
9209
9210    hooks.defineLocale('it', {
9211        months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split('_'),
9212        monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'),
9213        weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split('_'),
9214        weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'),
9215        weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'),
9216        longDateFormat: {
9217            LT: 'HH:mm',
9218            LTS: 'HH:mm:ss',
9219            L: 'DD/MM/YYYY',
9220            LL: 'D MMMM YYYY',
9221            LLL: 'D MMMM YYYY HH:mm',
9222            LLLL: 'dddd D MMMM YYYY HH:mm'
9223        },
9224        calendar: {
9225            sameDay: '[Oggi alle] LT',
9226            nextDay: '[Domani alle] LT',
9227            nextWeek: 'dddd [alle] LT',
9228            lastDay: '[Ieri alle] LT',
9229            lastWeek: function () {
9230                switch (this.day()) {
9231                    case 0:
9232                        return '[la scorsa] dddd [alle] LT';
9233                    default:
9234                        return '[lo scorso] dddd [alle] LT';
9235                }
9236            },
9237            sameElse: 'L'
9238        },
9239        relativeTime: {
9240            future: function (s) {
9241                return ((/^[0-9].+$/).test(s) ? 'tra' : 'in') + ' ' + s;
9242            },
9243            past: '%s fa',
9244            s: 'alcuni secondi',
9245            ss: '%d secondi',
9246            m: 'un minuto',
9247            mm: '%d minuti',
9248            h: 'un\'ora',
9249            hh: '%d ore',
9250            d: 'un giorno',
9251            dd: '%d giorni',
9252            M: 'un mese',
9253            MM: '%d mesi',
9254            y: 'un anno',
9255            yy: '%d anni'
9256        },
9257        dayOfMonthOrdinalParse: /\d{1,2}º/,
9258        ordinal: '%dº',
9259        week: {
9260            dow: 1, // Monday is the first day of the week.
9261            doy: 4  // The week that contains Jan 4th is the first week of the year.
9262        }
9263    });
9264
9265    //! moment.js locale configuration
9266
9267    hooks.defineLocale('ja', {
9268        months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'),
9269        monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),
9270        weekdays: '日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日'.split('_'),
9271        weekdaysShort: '日_月_火_水_木_金_土'.split('_'),
9272        weekdaysMin: '日_月_火_水_木_金_土'.split('_'),
9273        longDateFormat: {
9274            LT: 'HH:mm',
9275            LTS: 'HH:mm:ss',
9276            L: 'YYYY/MM/DD',
9277            LL: 'YYYY年M月D日',
9278            LLL: 'YYYY年M月D日 HH:mm',
9279            LLLL: 'YYYY年M月D日 dddd HH:mm',
9280            l: 'YYYY/MM/DD',
9281            ll: 'YYYY年M月D日',
9282            lll: 'YYYY年M月D日 HH:mm',
9283            llll: 'YYYY年M月D日(ddd) HH:mm'
9284        },
9285        meridiemParse: /午前|午後/i,
9286        isPM: function (input) {
9287            return input === '午後';
9288        },
9289        meridiem: function (hour, minute, isLower) {
9290            if (hour < 12) {
9291                return '午前';
9292            } else {
9293                return '午後';
9294            }
9295        },
9296        calendar: {
9297            sameDay: '[今日] LT',
9298            nextDay: '[明日] LT',
9299            nextWeek: function (now) {
9300                if (now.week() < this.week()) {
9301                    return '[来週]dddd LT';
9302                } else {
9303                    return 'dddd LT';
9304                }
9305            },
9306            lastDay: '[昨日] LT',
9307            lastWeek: function (now) {
9308                if (this.week() < now.week()) {
9309                    return '[先週]dddd LT';
9310                } else {
9311                    return 'dddd LT';
9312                }
9313            },
9314            sameElse: 'L'
9315        },
9316        dayOfMonthOrdinalParse: /\d{1,2}日/,
9317        ordinal: function (number, period) {
9318            switch (period) {
9319                case 'd':
9320                case 'D':
9321                case 'DDD':
9322                    return number + '日';
9323                default:
9324                    return number;
9325            }
9326        },
9327        relativeTime: {
9328            future: '%s後',
9329            past: '%s前',
9330            s: '数秒',
9331            ss: '%d秒',
9332            m: '1分',
9333            mm: '%d分',
9334            h: '1時間',
9335            hh: '%d時間',
9336            d: '1日',
9337            dd: '%d日',
9338            M: '1ヶ月',
9339            MM: '%dヶ月',
9340            y: '1å¹´',
9341            yy: '%då¹´'
9342        }
9343    });
9344
9345    //! moment.js locale configuration
9346
9347    hooks.defineLocale('jv', {
9348        months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember'.split('_'),
9349        monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des'.split('_'),
9350        weekdays: 'Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu'.split('_'),
9351        weekdaysShort: 'Min_Sen_Sel_Reb_Kem_Jem_Sep'.split('_'),
9352        weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sp'.split('_'),
9353        longDateFormat: {
9354            LT: 'HH.mm',
9355            LTS: 'HH.mm.ss',
9356            L: 'DD/MM/YYYY',
9357            LL: 'D MMMM YYYY',
9358            LLL: 'D MMMM YYYY [pukul] HH.mm',
9359            LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm'
9360        },
9361        meridiemParse: /enjing|siyang|sonten|ndalu/,
9362        meridiemHour: function (hour, meridiem) {
9363            if (hour === 12) {
9364                hour = 0;
9365            }
9366            if (meridiem === 'enjing') {
9367                return hour;
9368            } else if (meridiem === 'siyang') {
9369                return hour >= 11 ? hour : hour + 12;
9370            } else if (meridiem === 'sonten' || meridiem === 'ndalu') {
9371                return hour + 12;
9372            }
9373        },
9374        meridiem: function (hours, minutes, isLower) {
9375            if (hours < 11) {
9376                return 'enjing';
9377            } else if (hours < 15) {
9378                return 'siyang';
9379            } else if (hours < 19) {
9380                return 'sonten';
9381            } else {
9382                return 'ndalu';
9383            }
9384        },
9385        calendar: {
9386            sameDay: '[Dinten puniko pukul] LT',
9387            nextDay: '[Mbenjang pukul] LT',
9388            nextWeek: 'dddd [pukul] LT',
9389            lastDay: '[Kala wingi pukul] LT',
9390            lastWeek: 'dddd [kepengker pukul] LT',
9391            sameElse: 'L'
9392        },
9393        relativeTime: {
9394            future: 'wonten ing %s',
9395            past: '%s ingkang kepengker',
9396            s: 'sawetawis detik',
9397            ss: '%d detik',
9398            m: 'setunggal menit',
9399            mm: '%d menit',
9400            h: 'setunggal jam',
9401            hh: '%d jam',
9402            d: 'sedinten',
9403            dd: '%d dinten',
9404            M: 'sewulan',
9405            MM: '%d wulan',
9406            y: 'setaun',
9407            yy: '%d taun'
9408        },
9409        week: {
9410            dow: 1, // Monday is the first day of the week.
9411            doy: 7  // The week that contains Jan 7th is the first week of the year.
9412        }
9413    });
9414
9415    //! moment.js locale configuration
9416
9417    hooks.defineLocale('ka', {
9418        months: {
9419            standalone: 'იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი'.split('_'),
9420            format: 'იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს'.split('_')
9421        },
9422        monthsShort: 'იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ'.split('_'),
9423        weekdays: {
9424            standalone: 'კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი'.split('_'),
9425            format: 'კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს'.split('_'),
9426            isFormat: /(წინა|შემდეგ)/
9427        },
9428        weekdaysShort: 'კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ'.split('_'),
9429        weekdaysMin: 'კვ_ორ_სა_ოთ_ხუ_პა_შა'.split('_'),
9430        longDateFormat: {
9431            LT: 'h:mm A',
9432            LTS: 'h:mm:ss A',
9433            L: 'DD/MM/YYYY',
9434            LL: 'D MMMM YYYY',
9435            LLL: 'D MMMM YYYY h:mm A',
9436            LLLL: 'dddd, D MMMM YYYY h:mm A'
9437        },
9438        calendar: {
9439            sameDay: '[დღეს] LT[-ზე]',
9440            nextDay: '[ხვალ] LT[-ზე]',
9441            lastDay: '[გუშინ] LT[-ზე]',
9442            nextWeek: '[შემდეგ] dddd LT[-ზე]',
9443            lastWeek: '[წინა] dddd LT-ზე',
9444            sameElse: 'L'
9445        },
9446        relativeTime: {
9447            future: function (s) {
9448                return (/(წამი|წუთი|საათი|წელი)/).test(s) ?
9449                    s.replace(/ი$/, 'ში') :
9450                    s + 'ში';
9451            },
9452            past: function (s) {
9453                if ((/(წამი|წუთი|საათი|დღე|თვე)/).test(s)) {
9454                    return s.replace(/(ი|ე)$/, 'ის წინ');
9455                }
9456                if ((/წელი/).test(s)) {
9457                    return s.replace(/წელი$/, 'წლის წინ');
9458                }
9459            },
9460            s: 'რამდენიმე წამი',
9461            ss: '%d წამი',
9462            m: 'წუთი',
9463            mm: '%d წუთი',
9464            h: 'საათი',
9465            hh: '%d საათი',
9466            d: 'დღე',
9467            dd: '%d დღე',
9468            M: 'თვე',
9469            MM: '%d თვე',
9470            y: 'წელი',
9471            yy: '%d წელი'
9472        },
9473        dayOfMonthOrdinalParse: /0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,
9474        ordinal: function (number) {
9475            if (number === 0) {
9476                return number;
9477            }
9478            if (number === 1) {
9479                return number + '-ლი';
9480            }
9481            if ((number < 20) || (number <= 100 && (number % 20 === 0)) || (number % 100 === 0)) {
9482                return 'მე-' + number;
9483            }
9484            return number + '-ე';
9485        },
9486        week: {
9487            dow: 1,
9488            doy: 7
9489        }
9490    });
9491
9492    //! moment.js locale configuration
9493
9494    var suffixes$1 = {
9495        0: '-ші',
9496        1: '-ші',
9497        2: '-ші',
9498        3: '-ші',
9499        4: '-ші',
9500        5: '-ші',
9501        6: '-шы',
9502        7: '-ші',
9503        8: '-ші',
9504        9: '-шы',
9505        10: '-шы',
9506        20: '-шы',
9507        30: '-шы',
9508        40: '-шы',
9509        50: '-ші',
9510        60: '-шы',
9511        70: '-ші',
9512        80: '-ші',
9513        90: '-шы',
9514        100: '-ші'
9515    };
9516
9517    hooks.defineLocale('kk', {
9518        months: 'қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан'.split('_'),
9519        monthsShort: 'қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел'.split('_'),
9520        weekdays: 'жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі'.split('_'),
9521        weekdaysShort: 'жек_дүй_сей_сәр_бей_жұм_сен'.split('_'),
9522        weekdaysMin: 'жк_дй_сй_ср_бй_жм_сн'.split('_'),
9523        longDateFormat: {
9524            LT: 'HH:mm',
9525            LTS: 'HH:mm:ss',
9526            L: 'DD.MM.YYYY',
9527            LL: 'D MMMM YYYY',
9528            LLL: 'D MMMM YYYY HH:mm',
9529            LLLL: 'dddd, D MMMM YYYY HH:mm'
9530        },
9531        calendar: {
9532            sameDay: '[Бүгін сағат] LT',
9533            nextDay: '[Ертең сағат] LT',
9534            nextWeek: 'dddd [сағат] LT',
9535            lastDay: '[Кеше сағат] LT',
9536            lastWeek: '[Өткен аптаның] dddd [сағат] LT',
9537            sameElse: 'L'
9538        },
9539        relativeTime: {
9540            future: '%s ішінде',
9541            past: '%s бұрын',
9542            s: 'бірнеше секунд',
9543            ss: '%d секунд',
9544            m: 'бір минут',
9545            mm: '%d минут',
9546            h: 'бір сағат',
9547            hh: '%d сағат',
9548            d: 'бір күн',
9549            dd: '%d күн',
9550            M: 'бір ай',
9551            MM: '%d ай',
9552            y: 'бір жыл',
9553            yy: '%d жыл'
9554        },
9555        dayOfMonthOrdinalParse: /\d{1,2}-(ші|шы)/,
9556        ordinal: function (number) {
9557            var a = number % 10,
9558                b = number >= 100 ? 100 : null;
9559            return number + (suffixes$1[number] || suffixes$1[a] || suffixes$1[b]);
9560        },
9561        week: {
9562            dow: 1, // Monday is the first day of the week.
9563            doy: 7  // The week that contains Jan 7th is the first week of the year.
9564        }
9565    });
9566
9567    //! moment.js locale configuration
9568
9569    var symbolMap$8 = {
9570        '1': '១',
9571        '2': '២',
9572        '3': '៣',
9573        '4': '៤',
9574        '5': '៥',
9575        '6': '៦',
9576        '7': '៧',
9577        '8': '៨',
9578        '9': '៩',
9579        '0': '០'
9580    }, numberMap$7 = {
9581        '១': '1',
9582        '២': '2',
9583        '៣': '3',
9584        '៤': '4',
9585        '៥': '5',
9586        '៦': '6',
9587        '៧': '7',
9588        '៨': '8',
9589        '៩': '9',
9590        '០': '0'
9591    };
9592
9593    hooks.defineLocale('km', {
9594        months: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split(
9595            '_'
9596        ),
9597        monthsShort: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split(
9598            '_'
9599        ),
9600        weekdays: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'),
9601        weekdaysShort: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'),
9602        weekdaysMin: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'),
9603        weekdaysParseExact: true,
9604        longDateFormat: {
9605            LT: 'HH:mm',
9606            LTS: 'HH:mm:ss',
9607            L: 'DD/MM/YYYY',
9608            LL: 'D MMMM YYYY',
9609            LLL: 'D MMMM YYYY HH:mm',
9610            LLLL: 'dddd, D MMMM YYYY HH:mm'
9611        },
9612        meridiemParse: /ព្រឹក|ល្ងាច/,
9613        isPM: function (input) {
9614            return input === 'ល្ងាច';
9615        },
9616        meridiem: function (hour, minute, isLower) {
9617            if (hour < 12) {
9618                return 'ព្រឹក';
9619            } else {
9620                return 'ល្ងាច';
9621            }
9622        },
9623        calendar: {
9624            sameDay: '[ថ្ងៃនេះ ម៉ោង] LT',
9625            nextDay: '[ស្អែក ម៉ោង] LT',
9626            nextWeek: 'dddd [ម៉ោង] LT',
9627            lastDay: '[ម្សិលមិញ ម៉ោង] LT',
9628            lastWeek: 'dddd [សប្តាហ៍មុន] [ម៉ោង] LT',
9629            sameElse: 'L'
9630        },
9631        relativeTime: {
9632            future: '%sទៀត',
9633            past: '%sមុន',
9634            s: 'ប៉ុន្មានវិនាទី',
9635            ss: '%d វិនាទី',
9636            m: 'មួយនាទី',
9637            mm: '%d នាទី',
9638            h: 'មួយម៉ោង',
9639            hh: '%d ម៉ោង',
9640            d: 'មួយថ្ងៃ',
9641            dd: '%d ថ្ងៃ',
9642            M: 'មួយខែ',
9643            MM: '%d ខែ',
9644            y: 'មួយឆ្នាំ',
9645            yy: '%d ឆ្នាំ'
9646        },
9647        dayOfMonthOrdinalParse: /ទី\d{1,2}/,
9648        ordinal: 'ទី%d',
9649        preparse: function (string) {
9650            return string.replace(/[១២៣៤៥៦៧៨៩០]/g, function (match) {
9651                return numberMap$7[match];
9652            });
9653        },
9654        postformat: function (string) {
9655            return string.replace(/\d/g, function (match) {
9656                return symbolMap$8[match];
9657            });
9658        },
9659        week: {
9660            dow: 1, // Monday is the first day of the week.
9661            doy: 4 // The week that contains Jan 4th is the first week of the year.
9662        }
9663    });
9664
9665    //! moment.js locale configuration
9666
9667    var symbolMap$9 = {
9668        '1': 'à³§',
9669        '2': '೨',
9670        '3': '೩',
9671        '4': '೪',
9672        '5': '೫',
9673        '6': '೬',
9674        '7': 'à³­',
9675        '8': 'à³®',
9676        '9': '೯',
9677        '0': '೦'
9678    },
9679        numberMap$8 = {
9680            'à³§': '1',
9681            '೨': '2',
9682            '೩': '3',
9683            '೪': '4',
9684            '೫': '5',
9685            '೬': '6',
9686            'à³­': '7',
9687            'à³®': '8',
9688            '೯': '9',
9689            '೦': '0'
9690        };
9691
9692    hooks.defineLocale('kn', {
9693        months: 'ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್'.split('_'),
9694        monthsShort: 'ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ'.split('_'),
9695        monthsParseExact: true,
9696        weekdays: 'ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ'.split('_'),
9697        weekdaysShort: 'ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ'.split('_'),
9698        weekdaysMin: 'ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ'.split('_'),
9699        longDateFormat: {
9700            LT: 'A h:mm',
9701            LTS: 'A h:mm:ss',
9702            L: 'DD/MM/YYYY',
9703            LL: 'D MMMM YYYY',
9704            LLL: 'D MMMM YYYY, A h:mm',
9705            LLLL: 'dddd, D MMMM YYYY, A h:mm'
9706        },
9707        calendar: {
9708            sameDay: '[ಇಂದು] LT',
9709            nextDay: '[ನಾಳೆ] LT',
9710            nextWeek: 'dddd, LT',
9711            lastDay: '[ನಿನ್ನೆ] LT',
9712            lastWeek: '[ಕೊನೆಯ] dddd, LT',
9713            sameElse: 'L'
9714        },
9715        relativeTime: {
9716            future: '%s ನಂತರ',
9717            past: '%s ಹಿಂದೆ',
9718            s: 'ಕೆಲವು ಕ್ಷಣಗಳು',
9719            ss: '%d ಸೆಕೆಂಡುಗಳು',
9720            m: 'ಒಂದು ನಿಮಿಷ',
9721            mm: '%d ನಿಮಿಷ',
9722            h: 'ಒಂದು ಗಂಟೆ',
9723            hh: '%d ಗಂಟೆ',
9724            d: 'ಒಂದು ದಿನ',
9725            dd: '%d ದಿನ',
9726            M: 'ಒಂದು ತಿಂಗಳು',
9727            MM: '%d ತಿಂಗಳು',
9728            y: 'ಒಂದು ವರ್ಷ',
9729            yy: '%d ವರ್ಷ'
9730        },
9731        preparse: function (string) {
9732            return string.replace(/[೧೨೩೪೫೬೭೮೯೦]/g, function (match) {
9733                return numberMap$8[match];
9734            });
9735        },
9736        postformat: function (string) {
9737            return string.replace(/\d/g, function (match) {
9738                return symbolMap$9[match];
9739            });
9740        },
9741        meridiemParse: /ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,
9742        meridiemHour: function (hour, meridiem) {
9743            if (hour === 12) {
9744                hour = 0;
9745            }
9746            if (meridiem === 'ರಾತ್ರಿ') {
9747                return hour < 4 ? hour : hour + 12;
9748            } else if (meridiem === 'ಬೆಳಿಗ್ಗೆ') {
9749                return hour;
9750            } else if (meridiem === 'ಮಧ್ಯಾಹ್ನ') {
9751                return hour >= 10 ? hour : hour + 12;
9752            } else if (meridiem === 'ಸಂಜೆ') {
9753                return hour + 12;
9754            }
9755        },
9756        meridiem: function (hour, minute, isLower) {
9757            if (hour < 4) {
9758                return 'ರಾತ್ರಿ';
9759            } else if (hour < 10) {
9760                return 'ಬೆಳಿಗ್ಗೆ';
9761            } else if (hour < 17) {
9762                return 'ಮಧ್ಯಾಹ್ನ';
9763            } else if (hour < 20) {
9764                return 'ಸಂಜೆ';
9765            } else {
9766                return 'ರಾತ್ರಿ';
9767            }
9768        },
9769        dayOfMonthOrdinalParse: /\d{1,2}(ನೇ)/,
9770        ordinal: function (number) {
9771            return number + 'ನೇ';
9772        },
9773        week: {
9774            dow: 0, // Sunday is the first day of the week.
9775            doy: 6  // The week that contains Jan 6th is the first week of the year.
9776        }
9777    });
9778
9779    //! moment.js locale configuration
9780
9781    hooks.defineLocale('ko', {
9782        months: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'),
9783        monthsShort: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'),
9784        weekdays: '일요일_월요일_화요일_수요일_목요일_금요일_토요일'.split('_'),
9785        weekdaysShort: '일_월_화_수_목_금_토'.split('_'),
9786        weekdaysMin: '일_월_화_수_목_금_토'.split('_'),
9787        longDateFormat: {
9788            LT: 'A h:mm',
9789            LTS: 'A h:mm:ss',
9790            L: 'YYYY.MM.DD.',
9791            LL: 'YYYY년 MMMM D일',
9792            LLL: 'YYYY년 MMMM D일 A h:mm',
9793            LLLL: 'YYYY년 MMMM D일 dddd A h:mm',
9794            l: 'YYYY.MM.DD.',
9795            ll: 'YYYY년 MMMM D일',
9796            lll: 'YYYY년 MMMM D일 A h:mm',
9797            llll: 'YYYY년 MMMM D일 dddd A h:mm'
9798        },
9799        calendar: {
9800            sameDay: '오늘 LT',
9801            nextDay: '내일 LT',
9802            nextWeek: 'dddd LT',
9803            lastDay: '어제 LT',
9804            lastWeek: '지난주 dddd LT',
9805            sameElse: 'L'
9806        },
9807        relativeTime: {
9808            future: '%s 후',
9809            past: '%s 전',
9810            s: '몇 초',
9811            ss: '%d초',
9812            m: '1분',
9813            mm: '%d분',
9814            h: '한 시간',
9815            hh: '%d시간',
9816            d: '하루',
9817            dd: '%d일',
9818            M: '한 달',
9819            MM: '%d달',
9820            y: '일 년',
9821            yy: '%d년'
9822        },
9823        dayOfMonthOrdinalParse: /\d{1,2}(일|월|주)/,
9824        ordinal: function (number, period) {
9825            switch (period) {
9826                case 'd':
9827                case 'D':
9828                case 'DDD':
9829                    return number + '일';
9830                case 'M':
9831                    return number + '월';
9832                case 'w':
9833                case 'W':
9834                    return number + '주';
9835                default:
9836                    return number;
9837            }
9838        },
9839        meridiemParse: /오전|오후/,
9840        isPM: function (token) {
9841            return token === '오후';
9842        },
9843        meridiem: function (hour, minute, isUpper) {
9844            return hour < 12 ? '오전' : '오후';
9845        }
9846    });
9847
9848    //! moment.js locale configuration
9849
9850    var symbolMap$a = {
9851        '1': 'Ù¡',
9852        '2': 'Ù¢',
9853        '3': 'Ù£',
9854        '4': 'Ù¤',
9855        '5': 'Ù¥',
9856        '6': 'Ù¦',
9857        '7': 'Ù§',
9858        '8': 'Ù¨',
9859        '9': 'Ù©',
9860        '0': 'Ù '
9861    }, numberMap$9 = {
9862        'Ù¡': '1',
9863        'Ù¢': '2',
9864        'Ù£': '3',
9865        'Ù¤': '4',
9866        'Ù¥': '5',
9867        'Ù¦': '6',
9868        'Ù§': '7',
9869        'Ù¨': '8',
9870        'Ù©': '9',
9871        'Ù ': '0'
9872    },
9873        months$7 = [
9874            'کانونی دووەم',
9875            'شوبات',
9876            'ئازار',
9877            'نیسان',
9878            'ئایار',
9879            'حوزەیران',
9880            'تەمموز',
9881            'ئاب',
9882            'ئەیلوول',
9883            'تشرینی یەكەم',
9884            'تشرینی دووەم',
9885            'كانونی یەکەم'
9886        ];
9887
9888
9889    hooks.defineLocale('ku', {
9890        months: months$7,
9891        monthsShort: months$7,
9892        weekdays: 'یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌'.split('_'),
9893        weekdaysShort: 'یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌'.split('_'),
9894        weekdaysMin: 'ی_د_س_چ_پ_ه_ش'.split('_'),
9895        weekdaysParseExact: true,
9896        longDateFormat: {
9897            LT: 'HH:mm',
9898            LTS: 'HH:mm:ss',
9899            L: 'DD/MM/YYYY',
9900            LL: 'D MMMM YYYY',
9901            LLL: 'D MMMM YYYY HH:mm',
9902            LLLL: 'dddd, D MMMM YYYY HH:mm'
9903        },
9904        meridiemParse: /ئێواره‌|به‌یانی/,
9905        isPM: function (input) {
9906            return /ئێواره‌/.test(input);
9907        },
9908        meridiem: function (hour, minute, isLower) {
9909            if (hour < 12) {
9910                return 'به‌یانی';
9911            } else {
9912                return 'ئێواره‌';
9913            }
9914        },
9915        calendar: {
9916            sameDay: '[ئه‌مرۆ كاتژمێر] LT',
9917            nextDay: '[به‌یانی كاتژمێر] LT',
9918            nextWeek: 'dddd [كاتژمێر] LT',
9919            lastDay: '[دوێنێ كاتژمێر] LT',
9920            lastWeek: 'dddd [كاتژمێر] LT',
9921            sameElse: 'L'
9922        },
9923        relativeTime: {
9924            future: 'له‌ %s',
9925            past: '%s',
9926            s: 'چه‌ند چركه‌یه‌ك',
9927            ss: 'چركه‌ %d',
9928            m: 'یه‌ك خوله‌ك',
9929            mm: '%d خوله‌ك',
9930            h: 'یه‌ك كاتژمێر',
9931            hh: '%d كاتژمێر',
9932            d: 'یه‌ك ڕۆژ',
9933            dd: '%d ڕۆژ',
9934            M: 'یه‌ك مانگ',
9935            MM: '%d مانگ',
9936            y: 'یه‌ك ساڵ',
9937            yy: '%d ساڵ'
9938        },
9939        preparse: function (string) {
9940            return string.replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {
9941                return numberMap$9[match];
9942            }).replace(/،/g, ',');
9943        },
9944        postformat: function (string) {
9945            return string.replace(/\d/g, function (match) {
9946                return symbolMap$a[match];
9947            }).replace(/,/g, '،');
9948        },
9949        week: {
9950            dow: 6, // Saturday is the first day of the week.
9951            doy: 12 // The week that contains Jan 12th is the first week of the year.
9952        }
9953    });
9954
9955    //! moment.js locale configuration
9956
9957    var suffixes$2 = {
9958        0: '-чү',
9959        1: '-чи',
9960        2: '-чи',
9961        3: '-чү',
9962        4: '-чү',
9963        5: '-чи',
9964        6: '-чы',
9965        7: '-чи',
9966        8: '-чи',
9967        9: '-чу',
9968        10: '-чу',
9969        20: '-чы',
9970        30: '-чу',
9971        40: '-чы',
9972        50: '-чү',
9973        60: '-чы',
9974        70: '-чи',
9975        80: '-чи',
9976        90: '-чу',
9977        100: '-чү'
9978    };
9979
9980    hooks.defineLocale('ky', {
9981        months: 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split('_'),
9982        monthsShort: 'янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек'.split('_'),
9983        weekdays: 'Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби'.split('_'),
9984        weekdaysShort: 'Жек_Дүй_Шей_Шар_Бей_Жум_Ише'.split('_'),
9985        weekdaysMin: 'Жк_Дй_Шй_Шр_Бй_Жм_Иш'.split('_'),
9986        longDateFormat: {
9987            LT: 'HH:mm',
9988            LTS: 'HH:mm:ss',
9989            L: 'DD.MM.YYYY',
9990            LL: 'D MMMM YYYY',
9991            LLL: 'D MMMM YYYY HH:mm',
9992            LLLL: 'dddd, D MMMM YYYY HH:mm'
9993        },
9994        calendar: {
9995            sameDay: '[Бүгүн саат] LT',
9996            nextDay: '[Эртең саат] LT',
9997            nextWeek: 'dddd [саат] LT',
9998            lastDay: '[Кечээ саат] LT',
9999            lastWeek: '[Өткөн аптанын] dddd [күнү] [саат] LT',
10000            sameElse: 'L'
10001        },
10002        relativeTime: {
10003            future: '%s ичинде',
10004            past: '%s мурун',
10005            s: 'бирнече секунд',
10006            ss: '%d секунд',
10007            m: 'бир мүнөт',
10008            mm: '%d мүнөт',
10009            h: 'бир саат',
10010            hh: '%d саат',
10011            d: 'бир күн',
10012            dd: '%d күн',
10013            M: 'бир ай',
10014            MM: '%d ай',
10015            y: 'бир жыл',
10016            yy: '%d жыл'
10017        },
10018        dayOfMonthOrdinalParse: /\d{1,2}-(чи|чы|чү|чу)/,
10019        ordinal: function (number) {
10020            var a = number % 10,
10021                b = number >= 100 ? 100 : null;
10022            return number + (suffixes$2[number] || suffixes$2[a] || suffixes$2[b]);
10023        },
10024        week: {
10025            dow: 1, // Monday is the first day of the week.
10026            doy: 7  // The week that contains Jan 7th is the first week of the year.
10027        }
10028    });
10029
10030    //! moment.js locale configuration
10031
10032    function processRelativeTime$5(number, withoutSuffix, key, isFuture) {
10033        var format = {
10034            'm': ['eng Minutt', 'enger Minutt'],
10035            'h': ['eng Stonn', 'enger Stonn'],
10036            'd': ['een Dag', 'engem Dag'],
10037            'M': ['ee Mount', 'engem Mount'],
10038            'y': ['ee Joer', 'engem Joer']
10039        };
10040        return withoutSuffix ? format[key][0] : format[key][1];
10041    }
10042    function processFutureTime(string) {
10043        var number = string.substr(0, string.indexOf(' '));
10044        if (eifelerRegelAppliesToNumber(number)) {
10045            return 'a ' + string;
10046        }
10047        return 'an ' + string;
10048    }
10049    function processPastTime(string) {
10050        var number = string.substr(0, string.indexOf(' '));
10051        if (eifelerRegelAppliesToNumber(number)) {
10052            return 'viru ' + string;
10053        }
10054        return 'virun ' + string;
10055    }
10056    /**
10057     * Returns true if the word before the given number loses the '-n' ending.
10058     * e.g. 'an 10 Deeg' but 'a 5 Deeg'
10059     *
10060     * @param number {integer}
10061     * @returns {boolean}
10062     */
10063    function eifelerRegelAppliesToNumber(number) {
10064        number = parseInt(number, 10);
10065        if (isNaN(number)) {
10066            return false;
10067        }
10068        if (number < 0) {
10069            // Negative Number --> always true
10070            return true;
10071        } else if (number < 10) {
10072            // Only 1 digit
10073            if (4 <= number && number <= 7) {
10074                return true;
10075            }
10076            return false;
10077        } else if (number < 100) {
10078            // 2 digits
10079            var lastDigit = number % 10, firstDigit = number / 10;
10080            if (lastDigit === 0) {
10081                return eifelerRegelAppliesToNumber(firstDigit);
10082            }
10083            return eifelerRegelAppliesToNumber(lastDigit);
10084        } else if (number < 10000) {
10085            // 3 or 4 digits --> recursively check first digit
10086            while (number >= 10) {
10087                number = number / 10;
10088            }
10089            return eifelerRegelAppliesToNumber(number);
10090        } else {
10091            // Anything larger than 4 digits: recursively check first n-3 digits
10092            number = number / 1000;
10093            return eifelerRegelAppliesToNumber(number);
10094        }
10095    }
10096
10097    hooks.defineLocale('lb', {
10098        months: 'Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'),
10099        monthsShort: 'Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split('_'),
10100        monthsParseExact: true,
10101        weekdays: 'Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg'.split('_'),
10102        weekdaysShort: 'So._Mé._Dë._Më._Do._Fr._Sa.'.split('_'),
10103        weekdaysMin: 'So_Mé_Dë_Më_Do_Fr_Sa'.split('_'),
10104        weekdaysParseExact: true,
10105        longDateFormat: {
10106            LT: 'H:mm [Auer]',
10107            LTS: 'H:mm:ss [Auer]',
10108            L: 'DD.MM.YYYY',
10109            LL: 'D. MMMM YYYY',
10110            LLL: 'D. MMMM YYYY H:mm [Auer]',
10111            LLLL: 'dddd, D. MMMM YYYY H:mm [Auer]'
10112        },
10113        calendar: {
10114            sameDay: '[Haut um] LT',
10115            sameElse: 'L',
10116            nextDay: '[Muer um] LT',
10117            nextWeek: 'dddd [um] LT',
10118            lastDay: '[Gëschter um] LT',
10119            lastWeek: function () {
10120                // Different date string for 'Dënschdeg' (Tuesday) and 'Donneschdeg' (Thursday) due to phonological rule
10121                switch (this.day()) {
10122                    case 2:
10123                    case 4:
10124                        return '[Leschten] dddd [um] LT';
10125                    default:
10126                        return '[Leschte] dddd [um] LT';
10127                }
10128            }
10129        },
10130        relativeTime: {
10131            future: processFutureTime,
10132            past: processPastTime,
10133            s: 'e puer Sekonnen',
10134            ss: '%d Sekonnen',
10135            m: processRelativeTime$5,
10136            mm: '%d Minutten',
10137            h: processRelativeTime$5,
10138            hh: '%d Stonnen',
10139            d: processRelativeTime$5,
10140            dd: '%d Deeg',
10141            M: processRelativeTime$5,
10142            MM: '%d Méint',
10143            y: processRelativeTime$5,
10144            yy: '%d Joer'
10145        },
10146        dayOfMonthOrdinalParse: /\d{1,2}\./,
10147        ordinal: '%d.',
10148        week: {
10149            dow: 1, // Monday is the first day of the week.
10150            doy: 4  // The week that contains Jan 4th is the first week of the year.
10151        }
10152    });
10153
10154    //! moment.js locale configuration
10155
10156    hooks.defineLocale('lo', {
10157        months: 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split('_'),
10158        monthsShort: 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split('_'),
10159        weekdays: 'ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'),
10160        weekdaysShort: 'ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'),
10161        weekdaysMin: 'ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ'.split('_'),
10162        weekdaysParseExact: true,
10163        longDateFormat: {
10164            LT: 'HH:mm',
10165            LTS: 'HH:mm:ss',
10166            L: 'DD/MM/YYYY',
10167            LL: 'D MMMM YYYY',
10168            LLL: 'D MMMM YYYY HH:mm',
10169            LLLL: 'ວັນdddd D MMMM YYYY HH:mm'
10170        },
10171        meridiemParse: /ຕອນເຊົ້າ|ຕອນແລງ/,
10172        isPM: function (input) {
10173            return input === 'ຕອນແລງ';
10174        },
10175        meridiem: function (hour, minute, isLower) {
10176            if (hour < 12) {
10177                return 'ຕອນເຊົ້າ';
10178            } else {
10179                return 'ຕອນແລງ';
10180            }
10181        },
10182        calendar: {
10183            sameDay: '[ມື້ນີ້ເວລາ] LT',
10184            nextDay: '[ມື້ອື່ນເວລາ] LT',
10185            nextWeek: '[ວັນ]dddd[ໜ້າເວລາ] LT',
10186            lastDay: '[ມື້ວານນີ້ເວລາ] LT',
10187            lastWeek: '[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT',
10188            sameElse: 'L'
10189        },
10190        relativeTime: {
10191            future: 'ອີກ %s',
10192            past: '%sຜ່ານມາ',
10193            s: 'ບໍ່ເທົ່າໃດວິນາທີ',
10194            ss: '%d ວິນາທີ',
10195            m: '1 ນາທີ',
10196            mm: '%d ນາທີ',
10197            h: '1 ຊົ່ວໂມງ',
10198            hh: '%d ຊົ່ວໂມງ',
10199            d: '1 ມື້',
10200            dd: '%d ມື້',
10201            M: '1 ເດືອນ',
10202            MM: '%d ເດືອນ',
10203            y: '1 ປີ',
10204            yy: '%d ປີ'
10205        },
10206        dayOfMonthOrdinalParse: /(ທີ່)\d{1,2}/,
10207        ordinal: function (number) {
10208            return 'ທີ່' + number;
10209        }
10210    });
10211
10212    //! moment.js locale configuration
10213
10214    var units = {
10215        'ss': 'sekundė_sekundžių_sekundes',
10216        'm': 'minutė_minutės_minutę',
10217        'mm': 'minutės_minučių_minutes',
10218        'h': 'valanda_valandos_valandą',
10219        'hh': 'valandos_valandų_valandas',
10220        'd': 'diena_dienos_dieną',
10221        'dd': 'dienos_dienų_dienas',
10222        'M': 'mėnuo_mėnesio_mėnesį',
10223        'MM': 'mėnesiai_mėnesių_mėnesius',
10224        'y': 'metai_metų_metus',
10225        'yy': 'metai_metų_metus'
10226    };
10227    function translateSeconds(number, withoutSuffix, key, isFuture) {
10228        if (withoutSuffix) {
10229            return 'kelios sekundės';
10230        } else {
10231            return isFuture ? 'kelių sekundžių' : 'kelias sekundes';
10232        }
10233    }
10234    function translateSingular(number, withoutSuffix, key, isFuture) {
10235        return withoutSuffix ? forms(key)[0] : (isFuture ? forms(key)[1] : forms(key)[2]);
10236    }
10237    function special(number) {
10238        return number % 10 === 0 || (number > 10 && number < 20);
10239    }
10240    function forms(key) {
10241        return units[key].split('_');
10242    }
10243    function translate$6(number, withoutSuffix, key, isFuture) {
10244        var result = number + ' ';
10245        if (number === 1) {
10246            return result + translateSingular(number, withoutSuffix, key[0], isFuture);
10247        } else if (withoutSuffix) {
10248            return result + (special(number) ? forms(key)[1] : forms(key)[0]);
10249        } else {
10250            if (isFuture) {
10251                return result + forms(key)[1];
10252            } else {
10253                return result + (special(number) ? forms(key)[1] : forms(key)[2]);
10254            }
10255        }
10256    }
10257    hooks.defineLocale('lt', {
10258        months: {
10259            format: 'sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio'.split('_'),
10260            standalone: 'sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis'.split('_'),
10261            isFormat: /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/
10262        },
10263        monthsShort: 'sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd'.split('_'),
10264        weekdays: {
10265            format: 'sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį'.split('_'),
10266            standalone: 'sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis'.split('_'),
10267            isFormat: /dddd HH:mm/
10268        },
10269        weekdaysShort: 'Sek_Pir_Ant_Tre_Ket_Pen_Šeš'.split('_'),
10270        weekdaysMin: 'S_P_A_T_K_Pn_Å '.split('_'),
10271        weekdaysParseExact: true,
10272        longDateFormat: {
10273            LT: 'HH:mm',
10274            LTS: 'HH:mm:ss',
10275            L: 'YYYY-MM-DD',
10276            LL: 'YYYY [m.] MMMM D [d.]',
10277            LLL: 'YYYY [m.] MMMM D [d.], HH:mm [val.]',
10278            LLLL: 'YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]',
10279            l: 'YYYY-MM-DD',
10280            ll: 'YYYY [m.] MMMM D [d.]',
10281            lll: 'YYYY [m.] MMMM D [d.], HH:mm [val.]',
10282            llll: 'YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]'
10283        },
10284        calendar: {
10285            sameDay: '[Å iandien] LT',
10286            nextDay: '[Rytoj] LT',
10287            nextWeek: 'dddd LT',
10288            lastDay: '[Vakar] LT',
10289            lastWeek: '[Praėjusį] dddd LT',
10290            sameElse: 'L'
10291        },
10292        relativeTime: {
10293            future: 'po %s',
10294            past: 'prieš %s',
10295            s: translateSeconds,
10296            ss: translate$6,
10297            m: translateSingular,
10298            mm: translate$6,
10299            h: translateSingular,
10300            hh: translate$6,
10301            d: translateSingular,
10302            dd: translate$6,
10303            M: translateSingular,
10304            MM: translate$6,
10305            y: translateSingular,
10306            yy: translate$6
10307        },
10308        dayOfMonthOrdinalParse: /\d{1,2}-oji/,
10309        ordinal: function (number) {
10310            return number + '-oji';
10311        },
10312        week: {
10313            dow: 1, // Monday is the first day of the week.
10314            doy: 4  // The week that contains Jan 4th is the first week of the year.
10315        }
10316    });
10317
10318    //! moment.js locale configuration
10319
10320    var units$1 = {
10321        'ss': 'sekundes_sekundēm_sekunde_sekundes'.split('_'),
10322        'm': 'minūtes_minūtēm_minūte_minūtes'.split('_'),
10323        'mm': 'minūtes_minūtēm_minūte_minūtes'.split('_'),
10324        'h': 'stundas_stundām_stunda_stundas'.split('_'),
10325        'hh': 'stundas_stundām_stunda_stundas'.split('_'),
10326        'd': 'dienas_dienām_diena_dienas'.split('_'),
10327        'dd': 'dienas_dienām_diena_dienas'.split('_'),
10328        'M': 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'),
10329        'MM': 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'),
10330        'y': 'gada_gadiem_gads_gadi'.split('_'),
10331        'yy': 'gada_gadiem_gads_gadi'.split('_')
10332    };
10333    /**
10334     * @param withoutSuffix boolean true = a length of time; false = before/after a period of time.
10335     */
10336    function format$1(forms, number, withoutSuffix) {
10337        if (withoutSuffix) {
10338            // E.g. "21 minūte", "3 minūtes".
10339            return number % 10 === 1 && number % 100 !== 11 ? forms[2] : forms[3];
10340        } else {
10341            // E.g. "21 minūtes" as in "pēc 21 minūtes".
10342            // E.g. "3 minūtēm" as in "pēc 3 minūtēm".
10343            return number % 10 === 1 && number % 100 !== 11 ? forms[0] : forms[1];
10344        }
10345    }
10346    function relativeTimeWithPlural$1(number, withoutSuffix, key) {
10347        return number + ' ' + format$1(units$1[key], number, withoutSuffix);
10348    }
10349    function relativeTimeWithSingular(number, withoutSuffix, key) {
10350        return format$1(units$1[key], number, withoutSuffix);
10351    }
10352    function relativeSeconds(number, withoutSuffix) {
10353        return withoutSuffix ? 'dažas sekundes' : 'dažām sekundēm';
10354    }
10355
10356    hooks.defineLocale('lv', {
10357        months: 'janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris'.split('_'),
10358        monthsShort: 'jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec'.split('_'),
10359        weekdays: 'svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena'.split('_'),
10360        weekdaysShort: 'Sv_P_O_T_C_Pk_S'.split('_'),
10361        weekdaysMin: 'Sv_P_O_T_C_Pk_S'.split('_'),
10362        weekdaysParseExact: true,
10363        longDateFormat: {
10364            LT: 'HH:mm',
10365            LTS: 'HH:mm:ss',
10366            L: 'DD.MM.YYYY.',
10367            LL: 'YYYY. [gada] D. MMMM',
10368            LLL: 'YYYY. [gada] D. MMMM, HH:mm',
10369            LLLL: 'YYYY. [gada] D. MMMM, dddd, HH:mm'
10370        },
10371        calendar: {
10372            sameDay: '[Å odien pulksten] LT',
10373            nextDay: '[Rīt pulksten] LT',
10374            nextWeek: 'dddd [pulksten] LT',
10375            lastDay: '[Vakar pulksten] LT',
10376            lastWeek: '[Pagājušā] dddd [pulksten] LT',
10377            sameElse: 'L'
10378        },
10379        relativeTime: {
10380            future: 'pēc %s',
10381            past: 'pirms %s',
10382            s: relativeSeconds,
10383            ss: relativeTimeWithPlural$1,
10384            m: relativeTimeWithSingular,
10385            mm: relativeTimeWithPlural$1,
10386            h: relativeTimeWithSingular,
10387            hh: relativeTimeWithPlural$1,
10388            d: relativeTimeWithSingular,
10389            dd: relativeTimeWithPlural$1,
10390            M: relativeTimeWithSingular,
10391            MM: relativeTimeWithPlural$1,
10392            y: relativeTimeWithSingular,
10393            yy: relativeTimeWithPlural$1
10394        },
10395        dayOfMonthOrdinalParse: /\d{1,2}\./,
10396        ordinal: '%d.',
10397        week: {
10398            dow: 1, // Monday is the first day of the week.
10399            doy: 4  // The week that contains Jan 4th is the first week of the year.
10400        }
10401    });
10402
10403    //! moment.js locale configuration
10404
10405    var translator = {
10406        words: { //Different grammatical cases
10407            ss: ['sekund', 'sekunda', 'sekundi'],
10408            m: ['jedan minut', 'jednog minuta'],
10409            mm: ['minut', 'minuta', 'minuta'],
10410            h: ['jedan sat', 'jednog sata'],
10411            hh: ['sat', 'sata', 'sati'],
10412            dd: ['dan', 'dana', 'dana'],
10413            MM: ['mjesec', 'mjeseca', 'mjeseci'],
10414            yy: ['godina', 'godine', 'godina']
10415        },
10416        correctGrammaticalCase: function (number, wordKey) {
10417            return number === 1 ? wordKey[0] : (number >= 2 && number <= 4 ? wordKey[1] : wordKey[2]);
10418        },
10419        translate: function (number, withoutSuffix, key) {
10420            var wordKey = translator.words[key];
10421            if (key.length === 1) {
10422                return withoutSuffix ? wordKey[0] : wordKey[1];
10423            } else {
10424                return number + ' ' + translator.correctGrammaticalCase(number, wordKey);
10425            }
10426        }
10427    };
10428
10429    hooks.defineLocale('me', {
10430        months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split('_'),
10431        monthsShort: 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split('_'),
10432        monthsParseExact: true,
10433        weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split('_'),
10434        weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),
10435        weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),
10436        weekdaysParseExact: true,
10437        longDateFormat: {
10438            LT: 'H:mm',
10439            LTS: 'H:mm:ss',
10440            L: 'DD.MM.YYYY',
10441            LL: 'D. MMMM YYYY',
10442            LLL: 'D. MMMM YYYY H:mm',
10443            LLLL: 'dddd, D. MMMM YYYY H:mm'
10444        },
10445        calendar: {
10446            sameDay: '[danas u] LT',
10447            nextDay: '[sjutra u] LT',
10448
10449            nextWeek: function () {
10450                switch (this.day()) {
10451                    case 0:
10452                        return '[u] [nedjelju] [u] LT';
10453                    case 3:
10454                        return '[u] [srijedu] [u] LT';
10455                    case 6:
10456                        return '[u] [subotu] [u] LT';
10457                    case 1:
10458                    case 2:
10459                    case 4:
10460                    case 5:
10461                        return '[u] dddd [u] LT';
10462                }
10463            },
10464            lastDay: '[juče u] LT',
10465            lastWeek: function () {
10466                var lastWeekDays = [
10467                    '[prošle] [nedjelje] [u] LT',
10468                    '[prošlog] [ponedjeljka] [u] LT',
10469                    '[prošlog] [utorka] [u] LT',
10470                    '[prošle] [srijede] [u] LT',
10471                    '[prošlog] [četvrtka] [u] LT',
10472                    '[prošlog] [petka] [u] LT',
10473                    '[prošle] [subote] [u] LT'
10474                ];
10475                return lastWeekDays[this.day()];
10476            },
10477            sameElse: 'L'
10478        },
10479        relativeTime: {
10480            future: 'za %s',
10481            past: 'prije %s',
10482            s: 'nekoliko sekundi',
10483            ss: translator.translate,
10484            m: translator.translate,
10485            mm: translator.translate,
10486            h: translator.translate,
10487            hh: translator.translate,
10488            d: 'dan',
10489            dd: translator.translate,
10490            M: 'mjesec',
10491            MM: translator.translate,
10492            y: 'godinu',
10493            yy: translator.translate
10494        },
10495        dayOfMonthOrdinalParse: /\d{1,2}\./,
10496        ordinal: '%d.',
vendor: 4,304 bytes, lines 10497-10603
10497        week: {
10498            dow: 1, // Monday is the first day of the week.
10499            doy: 7  // The week that contains Jan 7th is the first week of the year.
10500        }
10501    });
10502
10503    //! moment.js locale configuration
10504
10505    hooks.defineLocale('mi', {
10506        months: 'Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea'.split('_'),
10507        monthsShort: 'Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki'.split('_'),
10508        monthsRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,
10509        monthsStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,
10510        monthsShortRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,
10511        monthsShortStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,
10512        weekdays: 'Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei'.split('_'),
10513        weekdaysShort: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'),
10514        weekdaysMin: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'),
10515        longDateFormat: {
10516            LT: 'HH:mm',
10517            LTS: 'HH:mm:ss',
10518            L: 'DD/MM/YYYY',
10519            LL: 'D MMMM YYYY',
10520            LLL: 'D MMMM YYYY [i] HH:mm',
10521            LLLL: 'dddd, D MMMM YYYY [i] HH:mm'
10522        },
10523        calendar: {
10524            sameDay: '[i teie mahana, i] LT',
10525            nextDay: '[apopo i] LT',
10526            nextWeek: 'dddd [i] LT',
10527            lastDay: '[inanahi i] LT',
10528            lastWeek: 'dddd [whakamutunga i] LT',
10529            sameElse: 'L'
10530        },
10531        relativeTime: {
10532            future: 'i roto i %s',
10533            past: '%s i mua',
10534            s: 'te hēkona ruarua',
10535            ss: '%d hēkona',
10536            m: 'he meneti',
10537            mm: '%d meneti',
10538            h: 'te haora',
10539            hh: '%d haora',
10540            d: 'he ra',
10541            dd: '%d ra',
10542            M: 'he marama',
10543            MM: '%d marama',
10544            y: 'he tau',
10545            yy: '%d tau'
10546        },
10547        dayOfMonthOrdinalParse: /\d{1,2}º/,
10548        ordinal: '%dº',
10549        week: {
10550            dow: 1, // Monday is the first day of the week.
10551            doy: 4  // The week that contains Jan 4th is the first week of the year.
10552        }
10553    });
10554
10555    //! moment.js locale configuration
10556
10557    hooks.defineLocale('mk', {
10558        months: 'јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември'.split('_'),
10559        monthsShort: 'јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек'.split('_'),
10560        weekdays: 'недела_понеделник_вторник_среда_четврток_петок_сабота'.split('_'),
10561        weekdaysShort: 'нед_пон_вто_сре_чет_пет_саб'.split('_'),
10562        weekdaysMin: 'нe_пo_вт_ср_че_пе_сa'.split('_'),
10563        longDateFormat: {
10564            LT: 'H:mm',
10565            LTS: 'H:mm:ss',
10566            L: 'D.MM.YYYY',
10567            LL: 'D MMMM YYYY',
10568            LLL: 'D MMMM YYYY H:mm',
10569            LLLL: 'dddd, D MMMM YYYY H:mm'
10570        },
10571        calendar: {
10572            sameDay: '[Денес во] LT',
10573            nextDay: '[Утре во] LT',
10574            nextWeek: '[Во] dddd [во] LT',
10575            lastDay: '[Вчера во] LT',
10576            lastWeek: function () {
10577                switch (this.day()) {
10578                    case 0:
10579                    case 3:
10580                    case 6:
10581                        return '[Изминатата] dddd [во] LT';
10582                    case 1:
10583                    case 2:
10584                    case 4:
10585                    case 5:
10586                        return '[Изминатиот] dddd [во] LT';
10587                }
10588            },
10589            sameElse: 'L'
10590        },
10591        relativeTime: {
10592            future: 'после %s',
10593            past: 'пред %s',
10594            s: 'неколку секунди',
10595            ss: '%d секунди',
10596            m: 'минута',
10597            mm: '%d минути',
10598            h: 'час',
10599            hh: '%d часа',
10600            d: 'ден',
10601            dd: '%d дена',
10602            M: 'месец',
10603            MM: '%d месеци',
10604            y: 'година',
10605            yy: '%d години'
10606        },
10607        dayOfMonthOrdinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/,
10608        ordinal: function (number) {
10609            var lastDigit = number % 10,
10610                last2Digits = number % 100;
10611            if (number === 0) {
10612                return number + '-ев';
10613            } else if (last2Digits === 0) {
10614                return number + '-ен';
10615            } else if (last2Digits > 10 && last2Digits < 20) {
10616                return number + '-ти';
10617            } else if (lastDigit === 1) {
10618                return number + '-ви';
10619            } else if (lastDigit === 2) {
10620                return number + '-ри';
10621            } else if (lastDigit === 7 || lastDigit === 8) {
10622                return number + '-ми';
10623            } else {
10624                return number + '-ти';
10625            }
10626        },
10627        week: {
10628            dow: 1, // Monday is the first day of the week.
10629            doy: 7  // The week that contains Jan 7th is the first week of the year.
10630        }
10631    });
10632
10633    //! moment.js locale configuration
10634
10635    hooks.defineLocale('ml', {
10636        months: 'ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ'.split('_'),
10637        monthsShort: 'ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.'.split('_'),
10638        monthsParseExact: true,
10639        weekdays: 'ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച'.split('_'),
10640        weekdaysShort: 'ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി'.split('_'),
10641        weekdaysMin: 'ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ'.split('_'),
10642        longDateFormat: {
10643            LT: 'A h:mm -നു',
10644            LTS: 'A h:mm:ss -നു',
10645            L: 'DD/MM/YYYY',
10646            LL: 'D MMMM YYYY',
10647            LLL: 'D MMMM YYYY, A h:mm -നു',
10648            LLLL: 'dddd, D MMMM YYYY, A h:mm -നു'
10649        },
10650        calendar: {
10651            sameDay: '[ഇന്ന്] LT',
10652            nextDay: '[നാളെ] LT',
10653            nextWeek: 'dddd, LT',
10654            lastDay: '[ഇന്നലെ] LT',
10655            lastWeek: '[കഴിഞ്ഞ] dddd, LT',
10656            sameElse: 'L'
10657        },
10658        relativeTime: {
10659            future: '%s കഴിഞ്ഞ്',
10660            past: '%s മുൻപ്',
10661            s: 'അൽപ നിമിഷങ്ങൾ',
10662            ss: '%d സെക്കൻഡ്',
10663            m: 'ഒരു മിനിറ്റ്',
10664            mm: '%d മിനിറ്റ്',
10665            h: 'ഒരു മണിക്കൂർ',
10666            hh: '%d മണിക്കൂർ',
10667            d: 'ഒരു ദിവസം',
10668            dd: '%d ദിവസം',
10669            M: 'ഒരു മാസം',
10670            MM: '%d മാസം',
10671            y: 'ഒരു വർഷം',
10672            yy: '%d വർഷം'
10673        },
10674        meridiemParse: /രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,
10675        meridiemHour: function (hour, meridiem) {
10676            if (hour === 12) {
10677                hour = 0;
10678            }
10679            if ((meridiem === 'രാത്രി' && hour >= 4) ||
10680                meridiem === 'ഉച്ച കഴിഞ്ഞ്' ||
10681                meridiem === 'വൈകുന്നേരം') {
10682                return hour + 12;
10683            } else {
10684                return hour;
10685            }
10686        },
10687        meridiem: function (hour, minute, isLower) {
10688            if (hour < 4) {
10689                return 'രാത്രി';
10690            } else if (hour < 12) {
10691                return 'രാവിലെ';
10692            } else if (hour < 17) {
10693                return 'ഉച്ച കഴിഞ്ഞ്';
10694            } else if (hour < 20) {
10695                return 'വൈകുന്നേരം';
10696            } else {
10697                return 'രാത്രി';
10698            }
10699        }
10700    });
10701
10702    //! moment.js locale configuration
10703
10704    function translate$7(number, withoutSuffix, key, isFuture) {
10705        switch (key) {
10706            case 's':
10707                return withoutSuffix ? 'хэдхэн секунд' : 'хэдхэн секундын';
10708            case 'ss':
10709                return number + (withoutSuffix ? ' секунд' : ' секундын');
10710            case 'm':
10711            case 'mm':
10712                return number + (withoutSuffix ? ' минут' : ' минутын');
10713            case 'h':
10714            case 'hh':
10715                return number + (withoutSuffix ? ' цаг' : ' цагийн');
10716            case 'd':
10717            case 'dd':
10718                return number + (withoutSuffix ? ' өдөр' : ' өдрийн');
10719            case 'M':
10720            case 'MM':
10721                return number + (withoutSuffix ? ' сар' : ' сарын');
10722            case 'y':
10723            case 'yy':
10724                return number + (withoutSuffix ? ' жил' : ' жилийн');
10725            default:
10726                return number;
10727        }
10728    }
10729
10730    hooks.defineLocale('mn', {
10731        months: 'Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар'.split('_'),
10732        monthsShort: '1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар'.split('_'),
10733        monthsParseExact: true,
10734        weekdays: 'Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба'.split('_'),
10735        weekdaysShort: 'Ням_Дав_Мяг_Лха_Пүр_Баа_Бям'.split('_'),
10736        weekdaysMin: 'Ня_Да_Мя_Лх_Пү_Ба_Бя'.split('_'),
10737        weekdaysParseExact: true,
10738        longDateFormat: {
10739            LT: 'HH:mm',
10740            LTS: 'HH:mm:ss',
10741            L: 'YYYY-MM-DD',
10742            LL: 'YYYY оны MMMMын D',
10743            LLL: 'YYYY оны MMMMын D HH:mm',
10744            LLLL: 'dddd, YYYY оны MMMMын D HH:mm'
10745        },
10746        meridiemParse: /ҮӨ|ҮХ/i,
10747        isPM: function (input) {
10748            return input === 'ҮХ';
10749        },
10750        meridiem: function (hour, minute, isLower) {
10751            if (hour < 12) {
10752                return 'Ò®Ó¨';
10753            } else {
10754                return 'ҮХ';
10755            }
10756        },
10757        calendar: {
10758            sameDay: '[Өнөөдөр] LT',
10759            nextDay: '[Маргааш] LT',
10760            nextWeek: '[Ирэх] dddd LT',
10761            lastDay: '[Өчигдөр] LT',
10762            lastWeek: '[Өнгөрсөн] dddd LT',
10763            sameElse: 'L'
10764        },
10765        relativeTime: {
10766            future: '%s дараа',
10767            past: '%s өмнө',
10768            s: translate$7,
10769            ss: translate$7,
10770            m: translate$7,
10771            mm: translate$7,
10772            h: translate$7,
10773            hh: translate$7,
10774            d: translate$7,
10775            dd: translate$7,
10776            M: translate$7,
10777            MM: translate$7,
10778            y: translate$7,
10779            yy: translate$7
10780        },
10781        dayOfMonthOrdinalParse: /\d{1,2} өдөр/,
10782        ordinal: function (number, period) {
10783            switch (period) {
10784                case 'd':
10785                case 'D':
10786                case 'DDD':
10787                    return number + ' өдөр';
10788                default:
10789                    return number;
10790            }
10791        }
10792    });
10793
10794    //! moment.js locale configuration
10795
10796    var symbolMap$b = {
10797        '1': '१',
10798        '2': '२',
10799        '3': '३',
10800        '4': '४',
10801        '5': '५',
10802        '6': '६',
10803        '7': '७',
10804        '8': '८',
10805        '9': '९',
10806        '0': '०'
10807    },
10808        numberMap$a = {
10809            '१': '1',
10810            '२': '2',
10811            '३': '3',
10812            '४': '4',
10813            '५': '5',
10814            '६': '6',
10815            '७': '7',
10816            '८': '8',
10817            '९': '9',
10818            '०': '0'
10819        };
10820
10821    function relativeTimeMr(number, withoutSuffix, string, isFuture) {
10822        var output = '';
10823        if (withoutSuffix) {
10824            switch (string) {
10825                case 's': output = 'काही सेकंद'; break;
10826                case 'ss': output = '%d सेकंद'; break;
10827                case 'm': output = 'एक मिनिट'; break;
10828                case 'mm': output = '%d मिनिटे'; break;
10829                case 'h': output = 'एक तास'; break;
10830                case 'hh': output = '%d तास'; break;
10831                case 'd': output = 'एक दिवस'; break;
10832                case 'dd': output = '%d दिवस'; break;
10833                case 'M': output = 'एक महिना'; break;
10834                case 'MM': output = '%d महिने'; break;
10835                case 'y': output = 'एक वर्ष'; break;
10836                case 'yy': output = '%d वर्षे'; break;
10837            }
10838        }
10839        else {
10840            switch (string) {
10841                case 's': output = 'काही सेकंदाà
vendor: 4,358 bytes, lines 10841-10931
10841¤‚'; break;
10842                case 'ss': output = '%d सेकंदां'; break;
10843                case 'm': output = 'एका मिनिटा'; break;
10844                case 'mm': output = '%d मिनिटां'; break;
10845                case 'h': output = 'एका तासा'; break;
10846                case 'hh': output = '%d तासां'; break;
10847                case 'd': output = 'एका दिवसा'; break;
10848                case 'dd': output = '%d दिवसां'; break;
10849                case 'M': output = 'एका महिन्या'; break;
10850                case 'MM': output = '%d महिन्यां'; break;
10851                case 'y': output = 'एका वर्षा'; break;
10852                case 'yy': output = '%d वर्षां'; break;
10853            }
10854        }
10855        return output.replace(/%d/i, number);
10856    }
10857
10858    hooks.defineLocale('mr', {
10859        months: 'जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split('_'),
10860        monthsShort: 'जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split('_'),
10861        monthsParseExact: true,
10862        weekdays: 'रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'),
10863        weekdaysShort: 'रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि'.split('_'),
10864        weekdaysMin: 'र_सो_मं_बु_गु_शु_श'.split('_'),
10865        longDateFormat: {
10866            LT: 'A h:mm वाजता',
10867            LTS: 'A h:mm:ss वाजता',
10868            L: 'DD/MM/YYYY',
10869            LL: 'D MMMM YYYY',
10870            LLL: 'D MMMM YYYY, A h:mm वाजता',
10871            LLLL: 'dddd, D MMMM YYYY, A h:mm वाजता'
10872        },
10873        calendar: {
10874            sameDay: '[आज] LT',
10875            nextDay: '[उद्या] LT',
10876            nextWeek: 'dddd, LT',
10877            lastDay: '[काल] LT',
10878            lastWeek: '[मागील] dddd, LT',
10879            sameElse: 'L'
10880        },
10881        relativeTime: {
10882            future: '%sमध्ये',
10883            past: '%sपूर्वी',
10884            s: relativeTimeMr,
10885            ss: relativeTimeMr,
10886            m: relativeTimeMr,
10887            mm: relativeTimeMr,
10888            h: relativeTimeMr,
10889            hh: relativeTimeMr,
10890            d: relativeTimeMr,
10891            dd: relativeTimeMr,
10892            M: relativeTimeMr,
10893            MM: relativeTimeMr,
10894            y: relativeTimeMr,
10895            yy: relativeTimeMr
10896        },
10897        preparse: function (string) {
10898            return string.replace(/[१२३४५६७८९०]/g, function (match) {
10899                return numberMap$a[match];
10900            });
10901        },
10902        postformat: function (string) {
10903            return string.replace(/\d/g, function (match) {
10904                return symbolMap$b[match];
10905            });
10906        },
10907        meridiemParse: /रात्री|सकाळी|दुपारी|सायंकाळी/,
10908        meridiemHour: function (hour, meridiem) {
10909            if (hour === 12) {
10910                hour = 0;
10911            }
10912            if (meridiem === 'रात्री') {
10913                return hour < 4 ? hour : hour + 12;
10914            } else if (meridiem === 'सकाळी') {
10915                return hour;
10916            } else if (meridiem === 'दुपारी') {
10917                return hour >= 10 ? hour : hour + 12;
10918            } else if (meridiem === 'सायंकाळी') {
10919                return hour + 12;
10920            }
10921        },
10922        meridiem: function (hour, minute, isLower) {
10923            if (hour < 4) {
10924                return 'रात्री';
10925            } else if (hour < 10) {
10926                return 'सकाळी';
10927            } else if (hour < 17) {
10928                return 'दुपारी';
10929            } else if (hour < 20) {
10930                return 'सायंकाळी';
10931            } else {
vendor: 5,208 bytes, lines 10932-11079
10932                return 'रात्री';
10933            }
10934        },
10935        week: {
10936            dow: 0, // Sunday is the first day of the week.
10937            doy: 6  // The week that contains Jan 6th is the first week of the year.
10938        }
10939    });
10940
10941    //! moment.js locale configuration
10942
10943    hooks.defineLocale('ms-my', {
10944        months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split('_'),
10945        monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'),
10946        weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'),
10947        weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'),
10948        weekdaysMin: 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'),
10949        longDateFormat: {
10950            LT: 'HH.mm',
10951            LTS: 'HH.mm.ss',
10952            L: 'DD/MM/YYYY',
10953            LL: 'D MMMM YYYY',
10954            LLL: 'D MMMM YYYY [pukul] HH.mm',
10955            LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm'
10956        },
10957        meridiemParse: /pagi|tengahari|petang|malam/,
10958        meridiemHour: function (hour, meridiem) {
10959            if (hour === 12) {
10960                hour = 0;
10961            }
10962            if (meridiem === 'pagi') {
10963                return hour;
10964            } else if (meridiem === 'tengahari') {
10965                return hour >= 11 ? hour : hour + 12;
10966            } else if (meridiem === 'petang' || meridiem === 'malam') {
10967                return hour + 12;
10968            }
10969        },
10970        meridiem: function (hours, minutes, isLower) {
10971            if (hours < 11) {
10972                return 'pagi';
10973            } else if (hours < 15) {
10974                return 'tengahari';
10975            } else if (hours < 19) {
10976                return 'petang';
10977            } else {
10978                return 'malam';
10979            }
10980        },
10981        calendar: {
10982            sameDay: '[Hari ini pukul] LT',
10983            nextDay: '[Esok pukul] LT',
10984            nextWeek: 'dddd [pukul] LT',
10985            lastDay: '[Kelmarin pukul] LT',
10986            lastWeek: 'dddd [lepas pukul] LT',
10987            sameElse: 'L'
10988        },
10989        relativeTime: {
10990            future: 'dalam %s',
10991            past: '%s yang lepas',
10992            s: 'beberapa saat',
10993            ss: '%d saat',
10994            m: 'seminit',
10995            mm: '%d minit',
10996            h: 'sejam',
10997            hh: '%d jam',
10998            d: 'sehari',
10999            dd: '%d hari',
11000            M: 'sebulan',
11001            MM: '%d bulan',
11002            y: 'setahun',
11003            yy: '%d tahun'
11004        },
11005        week: {
11006            dow: 1, // Monday is the first day of the week.
11007            doy: 7  // The week that contains Jan 7th is the first week of the year.
11008        }
11009    });
11010
11011    //! moment.js locale configuration
11012
11013    hooks.defineLocale('ms', {
11014        months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split('_'),
11015        monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'),
11016        weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'),
11017        weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'),
11018        weekdaysMin: 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'),
11019        longDateFormat: {
11020            LT: 'HH.mm',
11021            LTS: 'HH.mm.ss',
11022            L: 'DD/MM/YYYY',
11023            LL: 'D MMMM YYYY',
11024            LLL: 'D MMMM YYYY [pukul] HH.mm',
11025            LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm'
11026        },
11027        meridiemParse: /pagi|tengahari|petang|malam/,
11028        meridiemHour: function (hour, meridiem) {
11029            if (hour === 12) {
11030                hour = 0;
11031            }
11032            if (meridiem === 'pagi') {
11033                return hour;
11034            } else if (meridiem === 'tengahari') {
11035                return hour >= 11 ? hour : hour + 12;
11036            } else if (meridiem === 'petang' || meridiem === 'malam') {
11037                return hour + 12;
11038            }
11039        },
11040        meridiem: function (hours, minutes, isLower) {
11041            if (hours < 11) {
11042                return 'pagi';
11043            } else if (hours < 15) {
11044                return 'tengahari';
11045            } else if (hours < 19) {
11046                return 'petang';
11047            } else {
11048                return 'malam';
11049            }
11050        },
11051        calendar: {
11052            sameDay: '[Hari ini pukul] LT',
11053            nextDay: '[Esok pukul] LT',
11054            nextWeek: 'dddd [pukul] LT',
11055            lastDay: '[Kelmarin pukul] LT',
11056            lastWeek: 'dddd [lepas pukul] LT',
11057            sameElse: 'L'
11058        },
11059        relativeTime: {
11060            future: 'dalam %s',
11061            past: '%s yang lepas',
11062            s: 'beberapa saat',
11063            ss: '%d saat',
11064            m: 'seminit',
11065            mm: '%d minit',
11066            h: 'sejam',
11067            hh: '%d jam',
11068            d: 'sehari',
11069            dd: '%d hari',
11070            M: 'sebulan',
11071            MM: '%d bulan',
11072            y: 'setahun',
11073            yy: '%d tahun'
11074        },
11075        week: {
11076            dow: 1, // Monday is the first day of the week.
11077            doy: 7  // The week that contains Jan 7th is the first week of the year.
11078        }
11079    });
11080
11081    //! moment.js locale configuration
11082
11083    hooks.defineLocale('mt', {
11084        months: 'Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru'.split('_'),
11085        monthsShort: 'Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ'.split('_'),
11086        weekdays: 'Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt'.split('_'),
11087        weekdaysShort: 'Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib'.split('_'),
11088        weekdaysMin: 'Ħa_Tn_Tl_Er_Ħa_Ġi_Si'.split('_'),
11089        longDateFormat: {
11090            LT: 'HH:mm',
11091            LTS: 'HH:mm:ss',
11092            L: 'DD/MM/YYYY',
11093            LL: 'D MMMM YYYY',
11094            LLL: 'D MMMM YYYY HH:mm',
11095            LLLL: 'dddd, D MMMM YYYY HH:mm'
11096        },
11097        calendar: {
11098            sameDay: '[Illum fil-]LT',
11099            nextDay: '[Għada fil-]LT',
11100            nextWeek: 'dddd [fil-]LT',
11101            lastDay: '[Il-bieraħ fil-]LT',
11102            lastWeek: 'dddd [li għadda] [fil-]LT',
11103            sameElse: 'L'
11104        },
11105        relativeTime: {
11106            future: 'f’ %s',
11107            past: '%s ilu',
11108            s: 'ftit sekondi',
11109            ss: '%d sekondi',
11110            m: 'minuta',
11111            mm: '%d minuti',
11112            h: 'siegħa',
11113            hh: '%d siegħat',
11114            d: 'ġurnata',
11115            dd: '%d ġranet',
11116            M: 'xahar',
11117            MM: '%d xhur',
11118            y: 'sena',
11119            yy: '%d sni'
11120        },
11121        dayOfMonthOrdinalParse: /\d{1,2}º/,
11122        ordinal: '%dº',
11123        week: {
11124            dow: 1, // Monday is the first day of the week.
11125            doy: 4  // The week that contains Jan 4th is the first week of the year.
11126        }
11127    });
11128
11129    //! moment.js locale configuration
11130
11131    var symbolMap$c = {
11132        '1': '၁',
11133        '2': '၂',
11134        '3': '၃',
11135        '4': '၄',
11136        '5': '၅',
11137        '6': '၆',
11138        '7': '၇',
11139        '8': '၈',
11140        '9': '၉',
11141        '0': '၀'
11142    }, numberMap$b = {
11143        '၁': '1',
11144        '၂': '2',
11145        '၃': '3',
11146        '၄': '4',
11147        '၅': '5',
11148        '၆': '6',
11149        '၇': '7',
11150        '၈': '8',
11151        '၉': '9',
11152        '၀': '0'
11153    };
11154
11155    hooks.defineLocale('my', {
11156        months: 'ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ'.split('_'),
11157        monthsShort: 'ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ'.split('_'),
11158        weekdays: 'တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ'.split('_'),
11159        weekdaysShort: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'),
11160        weekdaysMin: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'),
11161
11162        longDateFormat: {
11163            LT: 'HH:mm',
11164            LTS: 'HH:mm:ss',
11165            L: 'DD/MM/YYYY',
11166            LL: 'D MMMM YYYY',
11167            LLL: 'D MMMM YYYY HH:mm',
11168            LLLL: 'dddd D MMMM YYYY HH:mm'
11169        },
11170        calendar: {
11171            sameDay: '[ယနေ.] LT [မှာ]',
11172            nextDay: '[မနက်ဖြန်] LT [မှာ]',
11173            nextWeek: 'dddd LT [မှာ]',
11174            lastDay: '[မနေ.က] LT [မှာ]',
11175            lastWeek: '[ပြီးခဲ့သော] dddd LT [မှာ]',
11176            sameElse: 'L'
11177        },
11178        relativeTime: {
11179            future: 'လာမည့် %s မှာ',
11180            past: 'လွန်ခဲ့သော %s က',
11181            s: 'စက္ကန်.အနည်းငယ်',
11182            ss: '%d စက္ကန့်',
11183            m: 'တစ်မိနစ်',
11184            mm: '%d မိနစ်',
11185            h: 'တစ်နာရီ',
11186            hh: '%d နာရီ',
11187            d: 'တစ်ရက်',
11188            dd: '%d ရက်',
11189            M: 'တစ်လ',
11190            MM: '%d လ',
11191            y: 'တစ်နှစ်',
11192            yy: '%d နှစ်'
11193        },
11194        preparse: function (string) {
11195            return string.replace(/[၁၂၃၄၅၆၇၈၉၀]/g, function (match) {
11196                return numberMap$b[match];
11197            });
11198        },
11199        postformat: function (string) {
11200            return string.replace(/\d/g, function (match) {
11201                return symbolMap$c[match];
11202            });
11203        },
11204        week: {
11205            dow: 1, // Monday is the first day of the week.
11206            doy: 4 // The week that contains Jan 4th is the first week of the year.
11207        }
11208    });
11209
11210    //! moment.js locale configuration
11211
11212    hooks.defineLocale('nb', {
11213        months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split('_'),
11214        monthsShort: 'jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.'.split('_'),
11215        monthsParseExact: true,
11216        weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),
11217        weekdaysShort: 'sø._ma._ti._on._to._fr._lø.'.split('_'),
11218        weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'),
11219        weekdaysParseExact: true,
11220        longDateFormat: {
11221            LT: 'HH:mm',
11222            LTS: 'HH:mm:ss',
11223            L: 'DD.MM.YYYY',
11224            LL: 'D. MMMM YYYY',
11225            LLL: 'D. MMMM YYYY [kl.] HH:mm',
11226            LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm'
11227        },
11228        calendar: {
11229            sameDay: '[i dag kl.] LT',
11230            nextDay: '[i morgen kl.] LT',
11231            nextWeek: 'dddd [kl.] LT',
11232            lastDay: '[i går kl.] LT',
11233            lastWeek: '[forrige] dddd [kl.] LT',
11234            sameElse: 'L'
11235        },
11236        relativeTime: {
11237            future: 'om %s',
11238            past: '%s siden',
11239            s: 'noen sekunder',
11240            ss: '%d sekunder',
11241            m: 'ett minutt',
11242            mm: '%d minutter',
11243            h: 'en time',
11244            hh: '%d timer',
11245            d: 'en dag',
11246            dd: '%d dager',
11247            M: 'en måned',
11248            MM: '%d måneder',
11249            y: 'ett år',
11250            yy: '%d år'
11251        },
11252        dayOfMonthOrdinalParse: /\d{1,2}\./,
11253        ordinal: '%d.',
vendor: 4,555 bytes, lines 11254-11369
11254        week: {
11255            dow: 1, // Monday is the first day of the week.
11256            doy: 4  // The week that contains Jan 4th is the first week of the year.
11257        }
11258    });
11259
11260    //! moment.js locale configuration
11261
11262    var symbolMap$d = {
11263        '1': '१',
11264        '2': '२',
11265        '3': '३',
11266        '4': '४',
11267        '5': '५',
11268        '6': '६',
11269        '7': '७',
11270        '8': '८',
11271        '9': '९',
11272        '0': '०'
11273    },
11274        numberMap$c = {
11275            '१': '1',
11276            '२': '2',
11277            '३': '3',
11278            '४': '4',
11279            '५': '5',
11280            '६': '6',
11281            '७': '7',
11282            '८': '8',
11283            '९': '9',
11284            '०': '0'
11285        };
11286
11287    hooks.defineLocale('ne', {
11288        months: 'जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर'.split('_'),
11289        monthsShort: 'जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.'.split('_'),
11290        monthsParseExact: true,
11291        weekdays: 'आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार'.split('_'),
11292        weekdaysShort: 'आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.'.split('_'),
11293        weekdaysMin: 'आ._सो._मं._बु._बि._शु._श.'.split('_'),
11294        weekdaysParseExact: true,
11295        longDateFormat: {
11296            LT: 'Aको h:mm बजे',
11297            LTS: 'Aको h:mm:ss बजे',
11298            L: 'DD/MM/YYYY',
11299            LL: 'D MMMM YYYY',
11300            LLL: 'D MMMM YYYY, Aको h:mm बजे',
11301            LLLL: 'dddd, D MMMM YYYY, Aको h:mm बजे'
11302        },
11303        preparse: function (string) {
11304            return string.replace(/[१२३४५६७८९०]/g, function (match) {
11305                return numberMap$c[match];
11306            });
11307        },
11308        postformat: function (string) {
11309            return string.replace(/\d/g, function (match) {
11310                return symbolMap$d[match];
11311            });
11312        },
11313        meridiemParse: /राति|बिहान|दिउँसो|साँझ/,
11314        meridiemHour: function (hour, meridiem) {
11315            if (hour === 12) {
11316                hour = 0;
11317            }
11318            if (meridiem === 'राति') {
11319                return hour < 4 ? hour : hour + 12;
11320            } else if (meridiem === 'बिहान') {
11321                return hour;
11322            } else if (meridiem === 'दिउँसो') {
11323                return hour >= 10 ? hour : hour + 12;
11324            } else if (meridiem === 'साँझ') {
11325                return hour + 12;
11326            }
11327        },
11328        meridiem: function (hour, minute, isLower) {
11329            if (hour < 3) {
11330                return 'राति';
11331            } else if (hour < 12) {
11332                return 'बिहान';
11333            } else if (hour < 16) {
11334                return 'दिउँसो';
11335            } else if (hour < 20) {
11336                return 'साँझ';
11337            } else {
11338                return 'राति';
11339            }
11340        },
11341        calendar: {
11342            sameDay: '[आज] LT',
11343            nextDay: '[भोलि] LT',
11344            nextWeek: '[आउँदो] dddd[,] LT',
11345            lastDay: '[हिजो] LT',
11346            lastWeek: '[गएको] dddd[,] LT',
11347            sameElse: 'L'
11348        },
11349        relativeTime: {
11350            future: '%sमा',
11351            past: '%s अगाडि',
11352            s: 'केही क्षण',
11353            ss: '%d सेकेण्ड',
11354            m: 'एक मिनेट',
11355            mm: '%d मिनेट',
11356            h: 'एक घण्टा',
11357            hh: '%d घण्टा',
11358            d: 'एक दिन',
11359            dd: '%d दिन',
11360            M: 'एक महिना',
11361            MM: '%d महिना',
11362            y: 'एक बर्ष',
11363            yy: '%d बर्ष'
11364        },
11365        week: {
11366            dow: 0, // Sunday is the first day of the week.
11367            doy: 6  // The week that contains Jan 6th is the first week of the year.
11368        }
11369    });
11370
11371    //! moment.js locale configuration
11372
11373    var monthsShortWithDots$1 = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'),
11374        monthsShortWithoutDots$1 = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_');
11375
11376    var monthsParse$4 = [/^jan/i, /^feb/i, /^maart|mrt.?$/i, /^apr/i, /^mei$/i, /^jun[i.]?$/i, /^jul[i.]?$/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dec/i];
11377    var monthsRegex$5 = /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;
11378
11379    hooks.defineLocale('nl-be', {
11380        months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'),
11381        monthsShort: function (m, format) {
11382            if (!m) {
11383                return monthsShortWithDots$1;
11384            } else if (/-MMM-/.test(format)) {
11385                return monthsShortWithoutDots$1[m.month()];
11386            } else {
11387                return monthsShortWithDots$1[m.month()];
11388            }
11389        },
11390
11391        monthsRegex: monthsRegex$5,
11392        monthsShortRegex: monthsRegex$5,
11393        monthsStrictRegex: /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,
11394        monthsShortStrictRegex: /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,
11395
11396        monthsParse: monthsParse$4,
11397        longMonthsParse: monthsParse$4,
11398        shortMonthsParse: monthsParse$4,
11399
11400        weekdays: 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'),
11401        weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'),
11402        weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'),
11403        weekdaysParseExact: true,
11404        longDateFormat: {
11405            LT: 'HH:mm',
11406            LTS: 'HH:mm:ss',
11407            L: 'DD/MM/YYYY',
11408            LL: 'D MMMM YYYY',
11409            LLL: 'D MMMM YYYY HH:mm',
11410            LLLL: 'dddd D MMMM YYYY HH:mm'
11411        },
11412        calendar: {
11413            sameDay: '[vandaag om] LT',
11414            nextDay: '[morgen om] LT',
11415            nextWeek: 'dddd [om] LT',
11416            lastDay: '[gisteren om] LT',
11417            lastWeek: '[afgelopen] dddd [om] LT',
11418            sameElse: 'L'
11419        },
11420        relativeTime: {
11421            future: 'over %s',
11422            past: '%s geleden',
11423            s: 'een paar seconden',
11424            ss: '%d seconden',
11425            m: 'één minuut',
11426            mm: '%d minuten',
11427            h: 'één uur',
11428            hh: '%d uur',
11429            d: 'één dag',
11430            dd: '%d dagen',
11431            M: 'één maand',
11432            MM: '%d maanden',
11433            y: 'één jaar',
11434            yy: '%d jaar'
11435        },
11436        dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
11437        ordinal: function (number) {
11438            return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de');
11439        },
11440        week: {
11441            dow: 1, // Monday is the first day of the week.
11442            doy: 4  // The week that contains Jan 4th is the first week of the year.
11443        }
11444    });
11445
11446    //! moment.js locale configuration
11447
11448    var monthsShortWithDots$2 = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'),
11449        monthsShortWithoutDots$2 = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_');
11450
11451    var monthsParse$5 = [/^jan/i, /^feb/i, /^maart|mrt.?$/i, /^apr/i, /^mei$/i, /^jun[i.]?$/i, /^jul[i.]?$/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dec/i];
11452    var monthsRegex$6 = /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;
11453
11454    hooks.defineLocale('nl', {
11455        months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'),
11456        monthsShort: function (m, format) {
11457            if (!m) {
11458                return monthsShortWithDots$2;
11459            } else if (/-MMM-/.test(format)) {
11460                return monthsShortWithoutDots$2[m.month()];
11461            } else {
11462                return monthsShortWithDots$2[m.month()];
11463            }
11464        },
11465
11466        monthsRegex: monthsRegex$6,
11467        monthsShortRegex: monthsRegex$6,
11468        monthsStrictRegex: /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,
11469        monthsShortStrictRegex: /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,
11470
11471        monthsParse: monthsParse$5,
11472        longMonthsParse: monthsParse$5,
11473        shortMonthsParse: monthsParse$5,
11474
11475        weekdays: 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'),
11476        weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'),
11477        weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'),
11478        weekdaysParseExact: true,
11479        longDateFormat: {
11480            LT: 'HH:mm',
11481            LTS: 'HH:mm:ss',
11482            L: 'DD-MM-YYYY',
11483            LL: 'D MMMM YYYY',
11484            LLL: 'D MMMM YYYY HH:mm',
11485            LLLL: 'dddd D MMMM YYYY HH:mm'
11486        },
11487        calendar: {
11488            sameDay: '[vandaag om] LT',
11489            nextDay: '[morgen om] LT',
11490            nextWeek: 'dddd [om] LT',
11491            lastDay: '[gisteren om] LT',
11492            lastWeek: '[afgelopen] dddd [om] LT',
11493            sameElse: 'L'
11494        },
11495        relativeTime: {
11496            future: 'over %s',
11497            past: '%s geleden',
11498            s: 'een paar seconden',
11499            ss: '%d seconden',
11500            m: 'één minuut',
11501            mm: '%d minuten',
11502            h: 'één uur',
11503            hh: '%d uur',
11504            d: 'één dag',
11505            dd: '%d dagen',
11506            M: 'één maand',
11507            MM: '%d maanden',
11508            y: 'één jaar',
11509            yy: '%d jaar'
11510        },
11511        dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
11512        ordinal: function (number) {
11513            return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de');
11514        },
11515        week: {
11516            dow: 1, // Monday is the first day of the week.
11517            doy: 4  // The week that contains Jan 4th is the first week of the year.
11518        }
11519    });
11520
11521    //! moment.js locale configuration
11522
11523    hooks.defineLocale('nn', {
11524        months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split('_'),
11525        monthsShort: 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'),
11526        weekdays: 'sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag'.split('_'),
11527        weekdaysShort: 'sun_mån_tys_ons_tor_fre_lau'.split('_'),
11528        weekdaysMin: 'su_må_ty_on_to_fr_lø'.split('_'),
11529        longDateFormat: {
11530            LT: 'HH:mm',
11531            LTS: 'HH:mm:ss',
11532            L: 'DD.MM.YYYY',
11533            LL: 'D. MMMM YYYY',
11534            LLL: 'D. MMMM YYYY [kl.] H:mm',
11535            LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm'
11536        },
11537        calendar: {
11538            sameDay: '[I dag klokka] LT',
11539            nextDay: '[I morgon klokka] LT',
11540            nextWeek: 'dddd [klokka] LT',
11541            lastDay: '[I går klokka] LT',
11542            lastWeek: '[Føregåande] dddd [klokka] LT',
11543            sameElse: 'L'
11544        },
11545        relativeTime: {
11546            future: 'om %s',
11547            past: '%s sidan',
11548            s: 'nokre sekund',
11549            ss: '%d sekund',
11550            m: 'eit minutt',
11551            mm: '%d minutt',
11552            h: 'ein time',
11553            hh: '%d timar',
11554            d: 'ein dag',
11555            dd: '%d dagar',
11556            M: 'ein månad',
11557            MM: '%d månader',
11558            y: 'eit år',
11559            yy: '%d år'
11560        },
11561        dayOfMonthOrdinalParse: /\d{1,2}\./,
11562        ordinal: '%d.',
11563        week: {
11564            dow: 1, // Monday is the first day of the week.
11565            doy: 4  // The week that contains Jan 4th is the first week of the year.
11566        }
11567    });
11568
11569    //! moment.js locale configuration
11570
11571    var symbolMap$e = {
11572        '1': 'à©§',
11573        '2': '੨',
11574        '3': 'à©©',
11575        '4': '੪',
11576        '5': 'à©«',
11577        '6': '੬',
11578        '7': 'à©­',
11579        '8': 'à©®',
11580        '9': '੯',
11581        '0': '੦'
11582    },
11583        numberMap$d = {
11584            'à©§': '1',
11585            '੨': '2',
11586            'à©©': '3',
11587            '੪': '4',
11588            'à©«': '5',
11589            '੬': '6',
11590            'à©­': '7',
11591            'à©®': '8',
11592            '੯': '9',
11593            '੦': '0'
11594        };
11595
11596    hooks.defineLocale('pa-in', {
11597        // There are months name as per Nanakshahi Calendar but they are not used as rigidly in modern Punjabi.
11598        months: 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split('_'),
11599        monthsShort: 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split('_'),
11600        weekdays: 'ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ'.split('_'),
11601        weekdaysShort: 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'),
11602        weekdaysMin: 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'),
11603        longDateFormat: {
11604            LT: 'A h:mm ਵਜੇ',
11605            LTS: 'A h:mm:ss ਵਜੇ',
11606            L: 'DD/MM/YYYY',
11607            LL: 'D MMMM YYYY',
11608            LLL: 'D MMMM YYYY, A h:mm ਵਜੇ',
11609            LLLL: 'dddd, D MMMM YYYY, A h:mm ਵਜੇ'
11610        },
11611        calendar: {
11612            sameDay: '[ਅਜ] LT',
11613            nextDay: '[ਕਲ] LT',
11614            nextWeek: '[ਅਗਲਾ] dddd, LT',
11615            lastDay: '[ਕਲ] LT',
11616            lastWeek: '[ਪਿਛਲੇ] dddd, LT',
11617            sameElse: 'L'
11618        },
11619        relativeTime: {
11620            future: '%s ਵਿੱਚ',
11621            past: '%s ਪਿਛਲੇ',
11622            s: 'ਕੁਝ ਸਕਿੰਟ',
11623            ss: '%d ਸਕਿੰਟ',
11624            m: 'ਇਕ ਮਿੰਟ',
11625            mm: '%d ਮਿੰਟ',
11626            h: 'ਇੱਕ ਘੰਟਾ',
11627            hh: '%d ਘੰਟੇ',
11628            d: 'ਇੱਕ ਦਿਨ',
11629            dd: '%d ਦਿਨ',
11630            M: 'ਇੱਕ ਮਹੀਨਾ',
11631            MM: '%d ਮਹੀਨੇ',
11632            y: 'ਇੱਕ ਸਾਲ',
11633            yy: '%d ਸਾਲ'
11634        },
11635        preparse: function (string) {
11636            return string.replace(/[੧੨੩੪੫੬੭੮੯੦]/g, function (match) {
11637                return numberMap$d[match];
11638            });
11639        },
11640        postformat: function (string) {
11641            return string.replace(/\d/g, function (match) {
11642                return symbolMap$e[match];
11643            });
11644        },
11645        // Punjabi notation for meridiems are quite fuzzy in practice. While there exists
11646        // a rigid notion of a 'Pahar' it is not used as rigidly in modern Punjabi.
11647        meridiemParse: /ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,
11648        meridiemHour: function (hour, meridiem) {
11649            if (hour === 12) {
11650                hour = 0;
11651            }
11652            if (meridiem === 'ਰਾਤ') {
11653                return hour < 4 ? hour : hour + 12;
11654            } else if (meridiem === 'ਸਵੇਰ') {
11655                return hour;
11656            } else if (meridiem === 'ਦੁਪਹਿਰ') {
11657                return hour >= 10 ? hour : hour + 12;
11658            } else if (meridiem === 'ਸ਼ਾਮ') {
11659                return hour + 12;
11660            }
11661        },
11662        meridiem: function (hour, minute, isLower) {
11663            if (hour < 4) {
11664                return 'ਰਾਤ';
11665            } else if (hour < 10) {
11666                return 'ਸਵੇਰ';
11667            } else if (hour < 17) {
11668                return 'ਦੁਪਹਿਰ';
11669            } else if (hour < 20) {
11670                return 'ਸ਼ਾਮ';
11671            } else {
11672                return 'ਰਾਤ';
11673            }
11674        },
11675        week: {
11676            dow: 0, // Sunday is the first day of the week.
11677            doy: 6  // The week that contains Jan 6th is the first week of the year.
11678        }
11679    });
11680
11681    //! moment.js locale configuration
11682
11683    var monthsNominative = 'styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień'.split('_'),
11684        monthsSubjective = 'stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia'.split('_');
11685    function plural$3(n) {
11686        return (n % 10 < 5) && (n % 10 > 1) && ((~~(n / 10) % 10) !== 1);
11687    }
11688    function translate$8(number, withoutSuffix, key) {
11689        var result = number + ' ';
11690        switch (key) {
11691            case 'ss':
11692                return result + (plural$3(number) ? 'sekundy' : 'sekund');
11693            case 'm':
11694                return withoutSuffix ? 'minuta' : 'minutę';
11695            case 'mm':
11696                return result + (plural$3(number) ? 'minuty' : 'minut');
11697            case 'h':
11698                return withoutSuffix ? 'godzina' : 'godzinę';
11699            case 'hh':
11700                return result + (plural$3(number) ? 'godziny' : 'godzin');
11701            case 'MM':
11702                return result + (plural$3(number) ? 'miesiące' : 'miesięcy');
11703            case 'yy':
11704                return result + (plural$3(number) ? 'lata' : 'lat');
11705        }
11706    }
11707
11708    hooks.defineLocale('pl', {
11709        months: function (momentToFormat, format) {
11710            if (!momentToFormat) {
11711                return monthsNominative;
11712            } else if (format === '') {
11713                // Hack: if format empty we know this is used to generate
11714                // RegExp by moment. Give then back both valid forms of months
11715                // in RegExp ready format.
11716                return '(' + monthsSubjective[momentToFormat.month()] + '|' + monthsNominative[momentToFormat.month()] + ')';
11717            } else if (/D MMMM/.test(format)) {
11718                return monthsSubjective[momentToFormat.month()];
11719            } else {
11720                return monthsNominative[momentToFormat.month()];
11721            }
11722        },
11723        monthsShort: 'sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru'.split('_'),
11724        weekdays: 'niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota'.split('_'),
11725        weekdaysShort: 'ndz_pon_wt_śr_czw_pt_sob'.split('_'),
11726        weekdaysMin: 'Nd_Pn_Wt_Śr_Cz_Pt_So'.split('_'),
11727        longDateFormat: {
11728            LT: 'HH:mm',
11729            LTS: 'HH:mm:ss',
11730            L: 'DD.MM.YYYY',
11731            LL: 'D MMMM YYYY',
11732            LLL: 'D MMMM YYYY HH:mm',
11733            LLLL: 'dddd, D MMMM YYYY HH:mm'
11734        },
11735        calendar: {
11736            sameDay: '[Dziś o] LT',
11737            nextDay: '[Jutro o] LT',
11738            nextWeek: function () {
11739                switch (this.day()) {
11740                    case 0:
11741                        return '[W niedzielę o] LT';
11742
11743                    case 2:
11744                        return '[We wtorek o] LT';
11745
11746                    case 3:
11747                        return '[W środę o] LT';
11748
11749                    case 6:
11750                        return '[W sobotę o] LT';
11751
11752                    default:
11753                        return '[W] dddd [o] LT';
11754                }
11755            },
11756            lastDay: '[Wczoraj o] LT',
11757            lastWeek: function () {
11758                switch (this.day()) {
11759                    case 0:
11760                        return '[W zeszłą niedzielę o] LT';
11761                    case 3:
11762                        return '[W zeszłą środę o] LT';
11763                    case 6:
11764                        return '[W zeszłą sobotę o] LT';
11765                    default:
11766                        return '[W zeszły] dddd [o] LT';
11767                }
11768            },
11769            sameElse: 'L'
11770        },
11771        relativeTime: {
11772            future: 'za %s',
11773            past: '%s temu',
11774            s: 'kilka sekund',
11775            ss: translate$8,
11776            m: translate$8,
11777            mm: translate$8,
11778            h: translate$8,
11779            hh: translate$8,
11780            d: '1 dzień',
11781            dd: '%d dni',
11782            M: 'miesiąc',
11783            MM: translate$8,
11784            y: 'rok',
11785            yy: translate$8
11786        },
11787        dayOfMonthOrdinalParse: /\d{1,2}\./,
11788        ordinal: '%d.',
11789        week: {
11790            dow: 1, // Monday is the first day of the week.
11791            doy: 4  // The week that contains Jan 4th is the first week of the year.
11792        }
11793    });
11794
11795    //! moment.js locale configuration
11796
11797    hooks.defineLocale('pt-br', {
11798        months: 'Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro'.split('_'),
11799        monthsShort: 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'),
11800        weekdays: 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split('_'),
11801        weekdaysShort: 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'),
11802        weekdaysMin: 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'),
11803        weekdaysParseExact: true,
11804        longDateFormat: {
11805            LT: 'HH:mm',
11806            LTS: 'HH:mm:ss',
11807            L: 'DD/MM/YYYY',
11808            LL: 'D [de] MMMM [de] YYYY',
11809            LLL: 'D [de] MMMM [de] YYYY [às] HH:mm',
11810            LLLL: 'dddd, D [de] MMMM [de] YYYY [às] HH:mm'
11811        },
11812        calendar: {
11813            sameDay: '[Hoje às] LT',
11814            nextDay: '[Amanhã às] LT',
11815            nextWeek: 'dddd [às] LT',
11816            lastDay: '[Ontem às] LT',
11817            lastWeek: function () {
11818                return (this.day() === 0 || this.day() === 6) ?
11819                    '[Último] dddd [às] LT' : // Saturday + Sunday
11820                    '[Última] dddd [às] LT'; // Monday - Friday
11821            },
11822            sameElse: 'L'
11823        },
11824        relativeTime: {
11825            future: 'em %s',
11826            past: 'há %s',
11827            s: 'poucos segundos',
11828            ss: '%d segundos',
11829            m: 'um minuto',
11830            mm: '%d minutos',
11831            h: 'uma hora',
11832            hh: '%d horas',
11833            d: 'um dia',
11834            dd: '%d dias',
11835            M: 'um mês',
11836            MM: '%d meses',
11837            y: 'um ano',
11838            yy: '%d anos'
11839        },
11840        dayOfMonthOrdinalParse: /\d{1,2}º/,
11841        ordinal: '%dº'
11842    });
11843
11844    //! moment.js locale configuration
11845
11846    hooks.defineLocale('pt', {
11847        months: 'Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro'.split('_'),
11848        monthsShort: 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'),
11849        weekdays: 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split('_'),
11850        weekdaysShort: 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'),
11851        weekdaysMin: 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'),
11852        weekdaysParseExact: true,
11853        longDateFormat: {
11854            LT: 'HH:mm',
11855            LTS: 'HH:mm:ss',
11856            L: 'DD/MM/YYYY',
11857            LL: 'D [de] MMMM [de] YYYY',
11858            LLL: 'D [de] MMMM [de] YYYY HH:mm',
11859            LLLL: 'dddd, D [de] MMMM [de] YYYY HH:mm'
11860        },
11861        calendar: {
11862            sameDay: '[Hoje às] LT',
11863            nextDay: '[Amanhã às] LT',
11864            nextWeek: 'dddd [às] LT',
11865            lastDay: '[Ontem às] LT',
11866            lastWeek: function () {
11867                return (this.day() === 0 || this.day() === 6) ?
11868                    '[Último] dddd [às] LT' : // Saturday + Sunday
11869                    '[Última] dddd [às] LT'; // Monday - Friday
11870            },
11871            sameElse: 'L'
11872        },
11873        relativeTime: {
11874            future: 'em %s',
11875            past: 'há %s',
11876            s: 'segundos',
11877            ss: '%d segundos',
11878            m: 'um minuto',
11879            mm: '%d minutos',
11880            h: 'uma hora',
11881            hh: '%d horas',
11882            d: 'um dia',
11883            dd: '%d dias',
11884            M: 'um mês',
11885            MM: '%d meses',
11886            y: 'um ano',
11887            yy: '%d anos'
11888        },
11889        dayOfMonthOrdinalParse: /\d{1,2}º/,
11890        ordinal: '%dº',
11891        week: {
11892            dow: 1, // Monday is the first day of the week.
11893            doy: 4  // The week that contains Jan 4th is the first week of the year.
11894        }
11895    });
11896
11897    //! moment.js locale configuration
11898
11899    function relativeTimeWithPlural$2(number, withoutSuffix, key) {
11900        var format = {
11901            'ss': 'secunde',
11902            'mm': 'minute',
11903            'hh': 'ore',
11904            'dd': 'zile',
11905            'MM': 'luni',
11906            'yy': 'ani'
11907        },
11908            separator = ' ';
11909        if (number % 100 >= 20 || (number >= 100 && number % 100 === 0)) {
11910            separator = ' de ';
11911        }
11912        return number + separator + format[key];
11913    }
11914
11915    hooks.defineLocale('ro', {
11916        months: 'ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie'.split('_'),
11917        monthsShort: 'ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.'.split('_'),
11918        monthsParseExact: true,
11919        weekdays: 'duminică_luni_marți_miercuri_joi_vineri_sâmbătă'.split('_'),
11920        weekdaysShort: 'Dum_Lun_Mar_Mie_Joi_Vin_Sâm'.split('_'),
11921        weekdaysMin: 'Du_Lu_Ma_Mi_Jo_Vi_Sâ'.split('_'),
11922        longDateFormat: {
11923            LT: 'H:mm',
11924            LTS: 'H:mm:ss',
11925            L: 'DD.MM.YYYY',
11926            LL: 'D MMMM YYYY',
11927            LLL: 'D MMMM YYYY H:mm',
11928            LLLL: 'dddd, D MMMM YYYY H:mm'
11929        },
11930        calendar: {
11931            sameDay: '[azi la] LT',
11932            nextDay: '[mâine la] LT',
11933            nextWeek: 'dddd [la] LT',
11934            lastDay: '[ieri la] LT',
11935            lastWeek: '[fosta] dddd [la] LT',
11936            sameElse: 'L'
11937        },
11938        relativeTime: {
11939            future: 'peste %s',
11940            past: '%s în urmă',
11941            s: 'câteva secunde',
11942            ss: relativeTimeWithPlural$2,
11943            m: 'un minut',
11944            mm: relativeTimeWithPlural$2,
11945            h: 'o oră',
11946            hh: relativeTimeWithPlural$2,
11947            d: 'o zi',
11948            dd: relativeTimeWithPlural$2,
11949            M: 'o lună',
11950            MM: relativeTimeWithPlural$2,
11951            y: 'un an',
11952            yy: relativeTimeWithPlural$2
11953        },
11954        week: {
11955            dow: 1, // Monday is the first day of the week.
11956            doy: 7  // The week that contains Jan 7th is the first week of the year.
11957        }
11958    });
11959
11960    //! moment.js locale configuration
11961
11962    function plural$4(word, num) {
11963        var forms = word.split('_');
11964        return num % 10 === 1 && num % 100 !== 11 ? forms[0] : (num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) ? forms[1] : forms[2]);
11965    }
11966    function relativeTimeWithPlural$3(number, withoutSuffix, key) {
11967        var format = {
11968            'ss': withoutSuffix ? 'секунда_секунды_секунд' : 'секунду_секунды_секунд',
11969            'mm': withoutSuffix ? 'минута_минуты_минут' : 'минуту_минуты_минут',
11970            'hh': 'час_часа_часов',
11971            'dd': 'день_дня_дней',
11972            'MM': 'месяц_месяца_месяцев',
11973            'yy': 'год_года_лет'
11974        };
11975        if (key === 'm') {
11976            return withoutSuffix ? 'минута' : 'минуту';
11977        }
11978        else {
11979            return number + ' ' + plural$4(format[key], +number);
11980        }
11981    }
11982    var monthsParse$6 = [/^янв/i, /^фев/i, /^мар/i, /^апр/i, /^ма[йя]/i, /^июн/i, /^июл/i, /^авг/i, /^сен/i, /^окт/i, /^ноя/i, /^дек/i];
11983
11984    // http://new.gramota.ru/spravka/rules/139-prop : § 103
11985    // Сокращения месяцев: http://new.gramota.ru/spravka/buro/search-answer?s=242637
11986    // CLDR data:          http://www.unicode.org/cldr/charts/28/summary/ru.html#1753
11987    hooks.defineLocale('ru', {
11988        months: {
11989            format: 'января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря'.split('_'),
11990            standalone: 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split('_')
11991        },
11992        monthsShort: {
11993            // по CLDR именно "июл." и "июн.", но какой смысл менять букву на точку ?
11994            format: 'янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.'.split('_'),
11995            standalone: 'янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.'.split('_')
11996        },
11997        weekdays: {
11998            standalone: 'воскресенье_понедельник_вторник_среда_четверг_пятница_суббота'.split('_'),
11999            format: 'воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу'.split('_'),
12000            isFormat: /\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/
12001        },
12002        weekdaysShort: 'вс_пн_вт_ср_чт_пт_сб'.split('_'),
12003        weekdaysMin: 'вс_пн_вт_ср_чт_пт_сб'.split('_'),
12004        monthsParse: monthsParse$6,
12005        longMonthsParse: monthsParse$6,
12006        shortMonthsParse: monthsParse$6,
12007
12008        // полные названия с падежами, по три буквы, для некоторых, по 4 буквы, сокращения с точкой и без точки
12009        monthsRegex: /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,
12010
12011        // копия предыдущего
12012        monthsShortRegex: /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,
12013
12014        // полные названия с падежами
12015        monthsStrictRegex: /^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,
12016
12017        // Выражение, которое соотвествует только сокращённым формам
12018        monthsShortStrictRegex: /^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|ок
vendor: 6,472 bytes, lines 12018-12214
12018т\.|нояб?\.|дек\.)/i,
12019        longDateFormat: {
12020            LT: 'H:mm',
12021            LTS: 'H:mm:ss',
12022            L: 'DD.MM.YYYY',
12023            LL: 'D MMMM YYYY г.',
12024            LLL: 'D MMMM YYYY г., H:mm',
12025            LLLL: 'dddd, D MMMM YYYY г., H:mm'
12026        },
12027        calendar: {
12028            sameDay: '[Сегодня, в] LT',
12029            nextDay: '[Завтра, в] LT',
12030            lastDay: '[Вчера, в] LT',
12031            nextWeek: function (now) {
12032                if (now.week() !== this.week()) {
12033                    switch (this.day()) {
12034                        case 0:
12035                            return '[В следующее] dddd, [в] LT';
12036                        case 1:
12037                        case 2:
12038                        case 4:
12039                            return '[В следующий] dddd, [в] LT';
12040                        case 3:
12041                        case 5:
12042                        case 6:
12043                            return '[В следующую] dddd, [в] LT';
12044                    }
12045                } else {
12046                    if (this.day() === 2) {
12047                        return '[Во] dddd, [в] LT';
12048                    } else {
12049                        return '[В] dddd, [в] LT';
12050                    }
12051                }
12052            },
12053            lastWeek: function (now) {
12054                if (now.week() !== this.week()) {
12055                    switch (this.day()) {
12056                        case 0:
12057                            return '[В прошлое] dddd, [в] LT';
12058                        case 1:
12059                        case 2:
12060                        case 4:
12061                            return '[В прошлый] dddd, [в] LT';
12062                        case 3:
12063                        case 5:
12064                        case 6:
12065                            return '[В прошлую] dddd, [в] LT';
12066                    }
12067                } else {
12068                    if (this.day() === 2) {
12069                        return '[Во] dddd, [в] LT';
12070                    } else {
12071                        return '[В] dddd, [в] LT';
12072                    }
12073                }
12074            },
12075            sameElse: 'L'
12076        },
12077        relativeTime: {
12078            future: 'через %s',
12079            past: '%s назад',
12080            s: 'несколько секунд',
12081            ss: relativeTimeWithPlural$3,
12082            m: relativeTimeWithPlural$3,
12083            mm: relativeTimeWithPlural$3,
12084            h: 'час',
12085            hh: relativeTimeWithPlural$3,
12086            d: 'день',
12087            dd: relativeTimeWithPlural$3,
12088            M: 'месяц',
12089            MM: relativeTimeWithPlural$3,
12090            y: 'год',
12091            yy: relativeTimeWithPlural$3
12092        },
12093        meridiemParse: /ночи|утра|дня|вечера/i,
12094        isPM: function (input) {
12095            return /^(дня|вечера)$/.test(input);
12096        },
12097        meridiem: function (hour, minute, isLower) {
12098            if (hour < 4) {
12099                return 'ночи';
12100            } else if (hour < 12) {
12101                return 'утра';
12102            } else if (hour < 17) {
12103                return 'дня';
12104            } else {
12105                return 'вечера';
12106            }
12107        },
12108        dayOfMonthOrdinalParse: /\d{1,2}-(й|го|я)/,
12109        ordinal: function (number, period) {
12110            switch (period) {
12111                case 'M':
12112                case 'd':
12113                case 'DDD':
12114                    return number + '-й';
12115                case 'D':
12116                    return number + '-го';
12117                case 'w':
12118                case 'W':
12119                    return number + '-я';
12120                default:
12121                    return number;
12122            }
12123        },
12124        week: {
12125            dow: 1, // Monday is the first day of the week.
12126            doy: 4  // The week that contains Jan 4th is the first week of the year.
12127        }
12128    });
12129
12130    //! moment.js locale configuration
12131
12132    var months$8 = [
12133        'جنوري',
12134        'فيبروري',
12135        'مارچ',
12136        'اپريل',
12137        'مئي',
12138        'جون',
12139        'جولاءِ',
12140        'آگسٽ',
12141        'سيپٽمبر',
12142        'آڪٽوبر',
12143        'نومبر',
12144        'ڊسمبر'
12145    ];
12146    var days$1 = [
12147        'آچر',
12148        'سومر',
12149        'اڱارو',
12150        'اربع',
12151        'خميس',
12152        'جمع',
12153        'ڇنڇر'
12154    ];
12155
12156    hooks.defineLocale('sd', {
12157        months: months$8,
12158        monthsShort: months$8,
12159        weekdays: days$1,
12160        weekdaysShort: days$1,
12161        weekdaysMin: days$1,
12162        longDateFormat: {
12163            LT: 'HH:mm',
12164            LTS: 'HH:mm:ss',
12165            L: 'DD/MM/YYYY',
12166            LL: 'D MMMM YYYY',
12167            LLL: 'D MMMM YYYY HH:mm',
12168            LLLL: 'dddd، D MMMM YYYY HH:mm'
12169        },
12170        meridiemParse: /صبح|شام/,
12171        isPM: function (input) {
12172            return 'شام' === input;
12173        },
12174        meridiem: function (hour, minute, isLower) {
12175            if (hour < 12) {
12176                return 'صبح';
12177            }
12178            return 'شام';
12179        },
12180        calendar: {
12181            sameDay: '[اڄ] LT',
12182            nextDay: '[سڀاڻي] LT',
12183            nextWeek: 'dddd [اڳين هفتي تي] LT',
12184            lastDay: '[ڪالهه] LT',
12185            lastWeek: '[گزريل هفتي] dddd [تي] LT',
12186            sameElse: 'L'
12187        },
12188        relativeTime: {
12189            future: '%s پوء',
12190            past: '%s اڳ',
12191            s: 'چند سيڪنڊ',
12192            ss: '%d سيڪنڊ',
12193            m: 'هڪ منٽ',
12194            mm: '%d منٽ',
12195            h: 'هڪ ڪلاڪ',
12196            hh: '%d ڪلاڪ',
12197            d: 'هڪ ڏينهن',
12198            dd: '%d ڏينهن',
12199            M: 'هڪ مهينو',
12200            MM: '%d مهينا',
12201            y: 'هڪ سال',
12202            yy: '%d سال'
12203        },
12204        preparse: function (string) {
12205            return string.replace(/،/g, ',');
12206        },
12207        postformat: function (string) {
12208            return string.replace(/,/g, '،');
12209        },
12210        week: {
12211            dow: 1, // Monday is the first day of the week.
12212            doy: 4  // The week that contains Jan 4th is the first week of the year.
12213        }
12214    });
12215
12216    //! moment.js locale configuration
12217
12218    hooks.defineLocale('se', {
12219        months: 'ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu'.split('_'),
12220        monthsShort: 'ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov'.split('_'),
12221        weekdays: 'sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat'.split('_'),
12222        weekdaysShort: 'sotn_vuos_maŋ_gask_duor_bear_láv'.split('_'),
12223        weekdaysMin: 's_v_m_g_d_b_L'.split('_'),
12224        longDateFormat: {
12225            LT: 'HH:mm',
12226            LTS: 'HH:mm:ss',
12227            L: 'DD.MM.YYYY',
12228            LL: 'MMMM D. [b.] YYYY',
12229            LLL: 'MMMM D. [b.] YYYY [ti.] HH:mm',
12230            LLLL: 'dddd, MMMM D. [b.] YYYY [ti.] HH:mm'
12231        },
12232        calendar: {
12233            sameDay: '[otne ti] LT',
12234            nextDay: '[ihttin ti] LT',
12235            nextWeek: 'dddd [ti] LT',
12236            lastDay: '[ikte ti] LT',
12237            lastWeek: '[ovddit] dddd [ti] LT',
12238            sameElse: 'L'
12239        },
12240        relativeTime: {
12241            future: '%s geažes',
12242            past: 'maŋit %s',
12243            s: 'moadde sekunddat',
12244            ss: '%d sekunddat',
12245            m: 'okta minuhta',
12246            mm: '%d minuhtat',
12247            h: 'okta diimmu',
12248            hh: '%d diimmut',
12249            d: 'okta beaivi',
12250            dd: '%d beaivvit',
12251            M: 'okta mánnu',
12252            MM: '%d mánut',
12253            y: 'okta jahki',
12254            yy: '%d jagit'
12255        },
12256        dayOfMonthOrdinalParse: /\d{1,2}\./,
12257        ordinal: '%d.',
12258        week: {
12259            dow: 1, // Monday is the first day of the week.
12260            doy: 4  // The week that contains Jan 4th is the first week of the year.
12261        }
12262    });
12263
12264    //! moment.js locale configuration
12265
12266    /*jshint -W100*/
12267    hooks.defineLocale('si', {
12268        months: 'ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්'.split('_'),
12269        monthsShort: 'ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ'.split('_'),
12270        weekdays: 'ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා'.split('_'),
12271        weekdaysShort: 'ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන'.split('_'),
12272        weekdaysMin: 'ඉ_ස_අ_බ_බ්‍ර_සි_සෙ'.split('_'),
12273        weekdaysParseExact: true,
12274        longDateFormat: {
12275            LT: 'a h:mm',
12276            LTS: 'a h:mm:ss',
12277            L: 'YYYY/MM/DD',
12278            LL: 'YYYY MMMM D',
12279            LLL: 'YYYY MMMM D, a h:mm',
12280            LLLL: 'YYYY MMMM D [වැනි] dddd, a h:mm:ss'
12281        },
12282        calendar: {
12283            sameDay: '[අද] LT[ට]',
12284            nextDay: '[හෙට] LT[ට]',
12285            nextWeek: 'dddd LT[à¶§]',
12286            lastDay: '[ඊයේ] LT[ට]',
12287            lastWeek: '[පසුගිය] dddd LT[ට]',
12288            sameElse: 'L'
12289        },
12290        relativeTime: {
12291            future: '%sකින්',
12292            past: '%sකට පෙර',
12293            s: 'තත්පර කිහිපය',
12294            ss: 'තත්පර %d',
12295            m: 'මිනිත්තුව',
12296            mm: 'මිනිත්තු %d',
12297            h: 'පැය',
12298            hh: 'පැය %d',
12299            d: 'දිනය',
12300            dd: 'දින %d',
12301            M: 'මාසය',
12302            MM: 'මාස %d',
12303            y: 'වසර',
12304            yy: 'වසර %d'
12305        },
12306        dayOfMonthOrdinalParse: /\d{1,2} වැනි/,
12307        ordinal: function (number) {
12308            return number + ' වැනි';
12309        },
12310        meridiemParse: /පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,
12311        isPM: function (input) {
12312            return input === 'ප.ව.' || input === 'පස් වරු';
12313        },
12314        meridiem: function (hours, minutes, isLower) {
12315            if (hours > 11) {
12316                return isLower ? 'ප.ව.' : 'පස් වරු';
12317            } else {
12318                return isLower ? 'පෙ.ව.' : 'පෙර වරු';
12319            }
12320        }
12321    });
12322
12323    //! moment.js locale configuration
12324
12325    var months$9 = 'január_február_marec_apríl_máj_jún_júl_august_september_október_november_december'.split('_'),
12326        monthsShort$6 = 'jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec'.split('_');
12327    function plural$5(n) {
12328        return (n > 1) && (n < 5);
12329    }
12330    function translate$9(number, withoutSuffix, key, isFuture) {
12331        var result = number + ' ';
12332        switch (key) {
12333            case 's':  // a few seconds / in a few seconds / a few seconds ago
12334                return (withoutSuffix || isFuture) ? 'pár sekúnd' : 'pár sekundami';
12335            case 'ss': // 9 seconds / in 9 seconds / 9 seconds ago
12336                if (withoutSuffix || isFuture) {
12337                    return result + (plural$5(number) ? 'sekundy' : 'sekúnd');
12338                } else {
12339                    return result + 'sekundami';
12340                }
12341                break;
12342            case 'm':  // a minute / in a minute / a minute ago
12343                return withoutSuffix ? 'minúta' : (isFuture ? 'minútu' : 'minútou');
12344            case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago
12345                if (withoutSuffix || isFuture) {
12346                    return result + (plural$5(number) ? 'minúty' : 'minút');
12347                } else {
12348                    return result + 'minútami';
12349                }
12350                break;
12351            case 'h':  // an hour / in an hour / an hour ago
12352                return withoutSuffix ? 'hodina' : (isFuture ? 'hodinu' : 'hodinou');
12353            case 'hh': // 9 hours / in 9 hours / 9 hours ago
12354                if (withoutSuffix || isFuture) {
12355                    return result + (plural$5(number) ? 'hodiny' : 'hodín');
12356                } else {
12357                    return result + 'hodinami';
12358                }
12359                break;
12360            case 'd':  // a day / in a day / a day ago
12361                return (withoutSuffix || isFuture) ? 'deň' : 'dňom';
12362            case 'dd': // 9 days / in 9 days / 9 days ago
12363                if (withoutSuffix || isFuture) {
12364                    return result + (plural$5(number) ? 'dni' : 'dní');
12365                } else {
12366                    return result + 'dňami';
12367                }
12368                break;
12369            case 'M':  // a month / in a month / a month ago
12370                return (withoutSuffix || isFuture) ? 'mesiac' : 'mesiacom';
12371            case 'MM': // 9 months / in 9 months / 9 months ago
12372                if (withoutSuffix || isFuture) {
12373                    return result + (plural$5(number) ? 'mesiace' : 'mesiacov');
12374                } else {
12375                    return result + 'mesiacmi';
12376                }
12377                break;
12378            case 'y':  // a year / in a year / a year ago
12379                return (withoutSuffix || isFuture) ? 'rok' : 'rokom';
12380            case 'yy': // 9 years / in 9 years / 9 years ago
12381                if (withoutSuffix || isFuture) {
12382                    return result + (plural$5(number) ? 'roky' : 'rokov');
12383                } else {
12384                    return result + 'rokmi';
12385                }
12386                break;
12387        }
12388    }
12389
12390    hooks.defineLocale('sk', {
12391        months: months$9,
12392        monthsShort: monthsShort$6,
12393        weekdays: 'nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota'.split('_'),
12394        weekdaysShort: 'ne_po_ut_st_št_pi_so'.split('_'),
12395        weekdaysMin: 'ne_po_ut_st_št_pi_so'.split('_'),
12396        longDateFormat: {
12397            LT: 'H:mm',
12398            LTS: 'H:mm:ss',
12399            L: 'DD.MM.YYYY',
12400            LL: 'D. MMMM YYYY',
12401            LLL: 'D. MMMM YYYY H:mm',
12402            LLLL: 'dddd D. MMMM YYYY H:mm'
12403        },
12404        calendar: {
12405            sameDay: '[dnes o] LT',
12406            nextDay: '[zajtra o] LT',
12407            nextWeek: function () {
12408                switch (this.day()) {
12409                    case 0:
12410                        return '[v nedeľu o] LT';
12411                    case 1:
12412                    case 2:
12413                        return '[v] dddd [o] LT';
12414                    case 3:
12415                        return '[v stredu o] LT';
12416                    case 4:
12417                        return '[vo štvrtok o] LT';
12418                    case 5:
12419                        return '[v piatok o] LT';
12420                    case 6:
12421                        return '[v sobotu o] LT';
12422                }
12423            },
12424            lastDay: '[včera o] LT',
12425            lastWeek: function () {
12426                switch (this.day()) {
12427                    case 0:
12428                        return '[minulú nedeľu o] LT';
12429                    case 1:
12430                    case 2:
12431                        return '[minulý] dddd [o] LT';
12432                    case 3:
12433                        return '[minulú stredu o] LT';
12434                    case 4:
12435                    case 5:
12436                        return '[minulý] dddd [o] LT';
12437                    case 6:
12438                        return '[minulú sobotu o] LT';
12439                }
12440            },
12441            sameElse: 'L'
12442        },
12443        relativeTime: {
12444            future: 'za %s',
12445            past: 'pred %s',
12446            s: translate$9,
12447            ss: translate$9,
12448            m: translate$9,
12449            mm: translate$9,
12450            h: translate$9,
12451            hh: translate$9,
12452            d: translate$9,
12453            dd: translate$9,
12454            M: translate$9,
12455            MM: translate$9,
12456            y: translate$9,
12457            yy: translate$9
12458        },
12459        dayOfMonthOrdinalParse: /\d{1,2}\./,
12460        ordinal: '%d.',
vendor: 6,712 bytes, lines 12461-12621
12461        week: {
12462            dow: 1, // Monday is the first day of the week.
12463            doy: 4  // The week that contains Jan 4th is the first week of the year.
12464        }
12465    });
12466
12467    //! moment.js locale configuration
12468
12469    function processRelativeTime$6(number, withoutSuffix, key, isFuture) {
12470        var result = number + ' ';
12471        switch (key) {
12472            case 's':
12473                return withoutSuffix || isFuture ? 'nekaj sekund' : 'nekaj sekundami';
12474            case 'ss':
12475                if (number === 1) {
12476                    result += withoutSuffix ? 'sekundo' : 'sekundi';
12477                } else if (number === 2) {
12478                    result += withoutSuffix || isFuture ? 'sekundi' : 'sekundah';
12479                } else if (number < 5) {
12480                    result += withoutSuffix || isFuture ? 'sekunde' : 'sekundah';
12481                } else {
12482                    result += 'sekund';
12483                }
12484                return result;
12485            case 'm':
12486                return withoutSuffix ? 'ena minuta' : 'eno minuto';
12487            case 'mm':
12488                if (number === 1) {
12489                    result += withoutSuffix ? 'minuta' : 'minuto';
12490                } else if (number === 2) {
12491                    result += withoutSuffix || isFuture ? 'minuti' : 'minutama';
12492                } else if (number < 5) {
12493                    result += withoutSuffix || isFuture ? 'minute' : 'minutami';
12494                } else {
12495                    result += withoutSuffix || isFuture ? 'minut' : 'minutami';
12496                }
12497                return result;
12498            case 'h':
12499                return withoutSuffix ? 'ena ura' : 'eno uro';
12500            case 'hh':
12501                if (number === 1) {
12502                    result += withoutSuffix ? 'ura' : 'uro';
12503                } else if (number === 2) {
12504                    result += withoutSuffix || isFuture ? 'uri' : 'urama';
12505                } else if (number < 5) {
12506                    result += withoutSuffix || isFuture ? 'ure' : 'urami';
12507                } else {
12508                    result += withoutSuffix || isFuture ? 'ur' : 'urami';
12509                }
12510                return result;
12511            case 'd':
12512                return withoutSuffix || isFuture ? 'en dan' : 'enim dnem';
12513            case 'dd':
12514                if (number === 1) {
12515                    result += withoutSuffix || isFuture ? 'dan' : 'dnem';
12516                } else if (number === 2) {
12517                    result += withoutSuffix || isFuture ? 'dni' : 'dnevoma';
12518                } else {
12519                    result += withoutSuffix || isFuture ? 'dni' : 'dnevi';
12520                }
12521                return result;
12522            case 'M':
12523                return withoutSuffix || isFuture ? 'en mesec' : 'enim mesecem';
12524            case 'MM':
12525                if (number === 1) {
12526                    result += withoutSuffix || isFuture ? 'mesec' : 'mesecem';
12527                } else if (number === 2) {
12528                    result += withoutSuffix || isFuture ? 'meseca' : 'mesecema';
12529                } else if (number < 5) {
12530                    result += withoutSuffix || isFuture ? 'mesece' : 'meseci';
12531                } else {
12532                    result += withoutSuffix || isFuture ? 'mesecev' : 'meseci';
12533                }
12534                return result;
12535            case 'y':
12536                return withoutSuffix || isFuture ? 'eno leto' : 'enim letom';
12537            case 'yy':
12538                if (number === 1) {
12539                    result += withoutSuffix || isFuture ? 'leto' : 'letom';
12540                } else if (number === 2) {
12541                    result += withoutSuffix || isFuture ? 'leti' : 'letoma';
12542                } else if (number < 5) {
12543                    result += withoutSuffix || isFuture ? 'leta' : 'leti';
12544                } else {
12545                    result += withoutSuffix || isFuture ? 'let' : 'leti';
12546                }
12547                return result;
12548        }
12549    }
12550
12551    hooks.defineLocale('sl', {
12552        months: 'januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december'.split('_'),
12553        monthsShort: 'jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.'.split('_'),
12554        monthsParseExact: true,
12555        weekdays: 'nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota'.split('_'),
12556        weekdaysShort: 'ned._pon._tor._sre._čet._pet._sob.'.split('_'),
12557        weekdaysMin: 'ne_po_to_sr_če_pe_so'.split('_'),
12558        weekdaysParseExact: true,
12559        longDateFormat: {
12560            LT: 'H:mm',
12561            LTS: 'H:mm:ss',
12562            L: 'DD.MM.YYYY',
12563            LL: 'D. MMMM YYYY',
12564            LLL: 'D. MMMM YYYY H:mm',
12565            LLLL: 'dddd, D. MMMM YYYY H:mm'
12566        },
12567        calendar: {
12568            sameDay: '[danes ob] LT',
12569            nextDay: '[jutri ob] LT',
12570
12571            nextWeek: function () {
12572                switch (this.day()) {
12573                    case 0:
12574                        return '[v] [nedeljo] [ob] LT';
12575                    case 3:
12576                        return '[v] [sredo] [ob] LT';
12577                    case 6:
12578                        return '[v] [soboto] [ob] LT';
12579                    case 1:
12580                    case 2:
12581                    case 4:
12582                    case 5:
12583                        return '[v] dddd [ob] LT';
12584                }
12585            },
12586            lastDay: '[včeraj ob] LT',
12587            lastWeek: function () {
12588                switch (this.day()) {
12589                    case 0:
12590                        return '[prejšnjo] [nedeljo] [ob] LT';
12591                    case 3:
12592                        return '[prejšnjo] [sredo] [ob] LT';
12593                    case 6:
12594                        return '[prejšnjo] [soboto] [ob] LT';
12595                    case 1:
12596                    case 2:
12597                    case 4:
12598                    case 5:
12599                        return '[prejšnji] dddd [ob] LT';
12600                }
12601            },
12602            sameElse: 'L'
12603        },
12604        relativeTime: {
12605            future: 'čez %s',
12606            past: 'pred %s',
12607            s: processRelativeTime$6,
12608            ss: processRelativeTime$6,
12609            m: processRelativeTime$6,
12610            mm: processRelativeTime$6,
12611            h: processRelativeTime$6,
12612            hh: processRelativeTime$6,
12613            d: processRelativeTime$6,
12614            dd: processRelativeTime$6,
12615            M: processRelativeTime$6,
12616            MM: processRelativeTime$6,
12617            y: processRelativeTime$6,
12618            yy: processRelativeTime$6
12619        },
12620        dayOfMonthOrdinalParse: /\d{1,2}\./,
12621        ordinal: '%d.',
12622        week: {
12623            dow: 1, // Monday is the first day of the week.
12624            doy: 7  // The week that contains Jan 7th is the first week of the year.
12625        }
12626    });
12627
12628    //! moment.js locale configuration
12629
12630    hooks.defineLocale('sq', {
12631        months: 'Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor'.split('_'),
12632        monthsShort: 'Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj'.split('_'),
12633        weekdays: 'E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë'.split('_'),
12634        weekdaysShort: 'Die_Hën_Mar_Mër_Enj_Pre_Sht'.split('_'),
12635        weekdaysMin: 'D_H_Ma_Më_E_P_Sh'.split('_'),
12636        weekdaysParseExact: true,
12637        meridiemParse: /PD|MD/,
12638        isPM: function (input) {
12639            return input.charAt(0) === 'M';
12640        },
12641        meridiem: function (hours, minutes, isLower) {
12642            return hours < 12 ? 'PD' : 'MD';
12643        },
12644        longDateFormat: {
12645            LT: 'HH:mm',
12646            LTS: 'HH:mm:ss',
12647            L: 'DD/MM/YYYY',
12648            LL: 'D MMMM YYYY',
12649            LLL: 'D MMMM YYYY HH:mm',
12650            LLLL: 'dddd, D MMMM YYYY HH:mm'
12651        },
12652        calendar: {
12653            sameDay: '[Sot në] LT',
12654            nextDay: '[Nesër në] LT',
12655            nextWeek: 'dddd [në] LT',
12656            lastDay: '[Dje në] LT',
12657            lastWeek: 'dddd [e kaluar në] LT',
12658            sameElse: 'L'
12659        },
12660        relativeTime: {
12661            future: 'në %s',
12662            past: '%s më parë',
12663            s: 'disa sekonda',
12664            ss: '%d sekonda',
12665            m: 'një minutë',
12666            mm: '%d minuta',
12667            h: 'një orë',
12668            hh: '%d orë',
12669            d: 'një ditë',
12670            dd: '%d ditë',
12671            M: 'një muaj',
12672            MM: '%d muaj',
12673            y: 'një vit',
12674            yy: '%d vite'
12675        },
12676        dayOfMonthOrdinalParse: /\d{1,2}\./,
12677        ordinal: '%d.',
12678        week: {
12679            dow: 1, // Monday is the first day of the week.
12680            doy: 4  // The week that contains Jan 4th is the first week of the year.
12681        }
12682    });
12683
12684    //! moment.js locale configuration
12685
12686    var translator$1 = {
12687        words: { //Different grammatical cases
12688            ss: ['секунда', 'секунде', 'секунди'],
12689            m: ['један минут', 'једне минуте'],
12690            mm: ['минут', 'минуте', 'минута'],
12691            h: ['један сат', 'једног сата'],
12692            hh: ['сат', 'сата', 'сати'],
12693            dd: ['дан', 'дана', 'дана'],
12694            MM: ['месец', 'месеца', 'месеци'],
12695            yy: ['година', 'године', 'година']
12696        },
12697        correctGrammaticalCase: function (number, wordKey) {
12698            return number === 1 ? wordKey[0] : (number >= 2 && number <= 4 ? wordKey[1] : wordKey[2]);
12699        },
12700        translate: function (number, withoutSuffix, key) {
12701            var wordKey = translator$1.words[key];
12702            if (key.length === 1) {
12703                return withoutSuffix ? wordKey[0] : wordKey[1];
12704            } else {
12705                return number + ' ' + translator$1.correctGrammaticalCase(number, wordKey);
12706            }
12707        }
12708    };
12709
12710    hooks.defineLocale('sr-cyrl', {
12711        months: 'јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар'.split('_'),
12712        monthsShort: 'јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.'.split('_'),
12713        monthsParseExact: true,
12714        weekdays: 'недеља_понедељак_уторак_среда_четвртак_петак_субота'.split('_'),
12715        weekdaysShort: 'нед._пон._уто._сре._чет._пет._суб.'.split('_'),
12716        weekdaysMin: 'не_по_ут_ср_че_пе_су'.split('_'),
12717        weekdaysParseExact: true,
12718        longDateFormat: {
12719            LT: 'H:mm',
12720            LTS: 'H:mm:ss',
12721            L: 'DD.MM.YYYY',
12722            LL: 'D. MMMM YYYY',
12723            LLL: 'D. MMMM YYYY H:mm',
12724            LLLL: 'dddd, D. MMMM YYYY H:mm'
12725        },
12726        calendar: {
12727            sameDay: '[данас у] LT',
12728            nextDay: '[сутра у] LT',
12729            nextWeek: function () {
12730                switch (this.day()) {
12731                    case 0:
12732                        return '[у] [недељу] [у] LT';
12733                    case 3:
12734                        return '[у] [среду] [у] LT';
12735                    case 6:
12736                        return '[у] [суботу] [у] LT';
12737                    case 1:
12738                    case 2:
12739                    case 4:
12740                    case 5:
12741                        return '[у] dddd [у] LT';
12742                }
12743            },
12744            lastDay: '[јуче у] LT',
12745            lastWeek: function () {
12746                var lastWeekDays = [
12747                    '[прошле] [недеље] [у] LT',
12748                    '[прошлог] [понедељка] [у] LT',
12749                    '[прошлог] [уторка] [у] LT',
12750                    '[прошле] [среде] [у] LT',
12751                    '[прошлог] [четвртка] [у] LT',
12752                    '[прошлог] [петка] [у] LT',
12753                    '[прошле] [суботе] [у] LT'
12754                ];
12755                return lastWeekDays[this.day()];
12756            },
12757            sameElse: 'L'
12758        },
12759        relativeTime: {
12760            future: 'за %s',
12761            past: 'пре %s',
12762            s: 'неколико секунди',
12763            ss: translator$1.translate,
12764            m: translator$1.translate,
12765            mm: translator$1.translate,
12766            h: translator$1.translate,
12767            hh: translator$1.translate,
12768            d: 'дан',
12769            dd: translator$1.translate,
12770            M: 'месец',
12771            MM: translator$1.translate,
12772            y: 'годину',
12773            yy: translator$1.translate
12774        },
12775        dayOfMonthOrdinalParse: /\d{1,2}\./,
12776        ordinal: '%d.',
12777        week: {
12778            dow: 1, // Monday is the first day of the week.
12779            doy: 7  // The week that contains Jan 7th is the first week of the year.
12780        }
12781    });
12782
12783    //! moment.js locale configuration
12784
12785    var translator$2 = {
12786        words: { //Different grammatical cases
12787            ss: ['sekunda', 'sekunde', 'sekundi'],
12788            m: ['jedan minut', 'jedne minute'],
12789            mm: ['minut', 'minute', 'minuta'],
12790            h: ['jedan sat', 'jednog sata'],
12791            hh: ['sat', 'sata', 'sati'],
12792            dd: ['dan', 'dana', 'dana'],
12793            MM: ['mesec', 'meseca', 'meseci'],
12794            yy: ['godina', 'godine', 'godina']
12795        },
12796        correctGrammaticalCase: function (number, wordKey) {
12797            return number === 1 ? wordKey[0] : (number >= 2 && number <= 4 ? wordKey[1] : wordKey[2]);
12798        },
12799        translate: function (number, withoutSuffix, key) {
12800            var wordKey = translator$2.words[key];
12801            if (key.length === 1) {
12802                return withoutSuffix ? wordKey[0] : wordKey[1];
12803            } else {
12804                return number + ' ' + translator$2.correctGrammaticalCase(number, wordKey);
12805            }
12806        }
12807    };
12808
12809    hooks.defineLocale('sr', {
12810        months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split('_'),
12811        monthsShort: 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split('_'),
12812        monthsParseExact: true,
12813        weekdays: 'nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota'.split('_'),
12814        weekdaysShort: 'ned._pon._uto._sre._čet._pet._sub.'.split('_'),
12815        weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),
12816        weekdaysParseExact: true,
12817        longDateFormat: {
12818            LT: 'H:mm',
12819            LTS: 'H:mm:ss',
12820            L: 'DD.MM.YYYY',
12821            LL: 'D. MMMM YYYY',
12822            LLL: 'D. MMMM YYYY H:mm',
12823            LLLL: 'dddd, D. MMMM YYYY H:mm'
12824        },
12825        calendar: {
12826            sameDay: '[danas u] LT',
12827            nextDay: '[sutra u] LT',
12828            nextWeek: function () {
12829                switch (this.day()) {
12830                    case 0:
12831                        return '[u] [nedelju] [u] LT';
12832                    case 3:
12833                        return '[u] [sredu] [u] LT';
12834                    case 6:
12835                        return '[u] [subotu] [u] LT';
12836                    case 1:
12837                    case 2:
12838                    case 4:
12839                    case 5:
12840                        return '[u] dddd [u] LT';
12841                }
12842            },
12843            lastDay: '[juče u] LT',
12844            lastWeek: function () {
12845                var lastWeekDays = [
12846                    '[prošle] [nedelje] [u] LT',
12847                    '[prošlog] [ponedeljka] [u] LT',
12848                    '[prošlog] [utorka] [u] LT',
12849                    '[prošle] [srede] [u] LT',
12850                    '[prošlog] [četvrtka] [u] LT',
12851                    '[prošlog] [petka] [u] LT',
12852                    '[prošle] [subote] [u] LT'
12853                ];
12854                return lastWeekDays[this.day()];
12855            },
12856            sameElse: 'L'
12857        },
12858        relativeTime: {
12859            future: 'za %s',
12860            past: 'pre %s',
12861            s: 'nekoliko sekundi',
12862            ss: translator$2.translate,
12863            m: translator$2.translate,
12864            mm: translator$2.translate,
12865            h: translator$2.translate,
12866            hh: translator$2.translate,
12867            d: 'dan',
12868            dd: translator$2.translate,
12869            M: 'mesec',
12870            MM: translator$2.translate,
12871            y: 'godinu',
12872            yy: translator$2.translate
12873        },
12874        dayOfMonthOrdinalParse: /\d{1,2}\./,
12875        ordinal: '%d.',
12876        week: {
12877            dow: 1, // Monday is the first day of the week.
12878            doy: 7  // The week that contains Jan 7th is the first week of the year.
12879        }
12880    });
12881
12882    //! moment.js locale configuration
12883
12884    hooks.defineLocale('ss', {
vendor: 4,749 bytes, lines 12885-13013
12885        months: "Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split('_'),
12886        monthsShort: 'Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo'.split('_'),
12887        weekdays: 'Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo'.split('_'),
12888        weekdaysShort: 'Lis_Umb_Lsb_Les_Lsi_Lsh_Umg'.split('_'),
12889        weekdaysMin: 'Li_Us_Lb_Lt_Ls_Lh_Ug'.split('_'),
12890        weekdaysParseExact: true,
12891        longDateFormat: {
12892            LT: 'h:mm A',
12893            LTS: 'h:mm:ss A',
12894            L: 'DD/MM/YYYY',
12895            LL: 'D MMMM YYYY',
12896            LLL: 'D MMMM YYYY h:mm A',
12897            LLLL: 'dddd, D MMMM YYYY h:mm A'
12898        },
12899        calendar: {
12900            sameDay: '[Namuhla nga] LT',
12901            nextDay: '[Kusasa nga] LT',
12902            nextWeek: 'dddd [nga] LT',
12903            lastDay: '[Itolo nga] LT',
12904            lastWeek: 'dddd [leliphelile] [nga] LT',
12905            sameElse: 'L'
12906        },
12907        relativeTime: {
12908            future: 'nga %s',
12909            past: 'wenteka nga %s',
12910            s: 'emizuzwana lomcane',
12911            ss: '%d mzuzwana',
12912            m: 'umzuzu',
12913            mm: '%d emizuzu',
12914            h: 'lihora',
12915            hh: '%d emahora',
12916            d: 'lilanga',
12917            dd: '%d emalanga',
12918            M: 'inyanga',
12919            MM: '%d tinyanga',
12920            y: 'umnyaka',
12921            yy: '%d iminyaka'
12922        },
12923        meridiemParse: /ekuseni|emini|entsambama|ebusuku/,
12924        meridiem: function (hours, minutes, isLower) {
12925            if (hours < 11) {
12926                return 'ekuseni';
12927            } else if (hours < 15) {
12928                return 'emini';
12929            } else if (hours < 19) {
12930                return 'entsambama';
12931            } else {
12932                return 'ebusuku';
12933            }
12934        },
12935        meridiemHour: function (hour, meridiem) {
12936            if (hour === 12) {
12937                hour = 0;
12938            }
12939            if (meridiem === 'ekuseni') {
12940                return hour;
12941            } else if (meridiem === 'emini') {
12942                return hour >= 11 ? hour : hour + 12;
12943            } else if (meridiem === 'entsambama' || meridiem === 'ebusuku') {
12944                if (hour === 0) {
12945                    return 0;
12946                }
12947                return hour + 12;
12948            }
12949        },
12950        dayOfMonthOrdinalParse: /\d{1,2}/,
12951        ordinal: '%d',
12952        week: {
12953            dow: 1, // Monday is the first day of the week.
12954            doy: 4  // The week that contains Jan 4th is the first week of the year.
12955        }
12956    });
12957
12958    //! moment.js locale configuration
12959
12960    hooks.defineLocale('sv', {
12961        months: 'januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december'.split('_'),
12962        monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'),
12963        weekdays: 'söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag'.split('_'),
12964        weekdaysShort: 'sön_mån_tis_ons_tor_fre_lör'.split('_'),
12965        weekdaysMin: 'sö_må_ti_on_to_fr_lö'.split('_'),
12966        longDateFormat: {
12967            LT: 'HH:mm',
12968            LTS: 'HH:mm:ss',
12969            L: 'YYYY-MM-DD',
12970            LL: 'D MMMM YYYY',
12971            LLL: 'D MMMM YYYY [kl.] HH:mm',
12972            LLLL: 'dddd D MMMM YYYY [kl.] HH:mm',
12973            lll: 'D MMM YYYY HH:mm',
12974            llll: 'ddd D MMM YYYY HH:mm'
12975        },
12976        calendar: {
12977            sameDay: '[Idag] LT',
12978            nextDay: '[Imorgon] LT',
12979            lastDay: '[Igår] LT',
12980            nextWeek: '[PÃ¥] dddd LT',
12981            lastWeek: '[I] dddd[s] LT',
12982            sameElse: 'L'
12983        },
12984        relativeTime: {
12985            future: 'om %s',
12986            past: 'för %s sedan',
12987            s: 'några sekunder',
12988            ss: '%d sekunder',
12989            m: 'en minut',
12990            mm: '%d minuter',
12991            h: 'en timme',
12992            hh: '%d timmar',
12993            d: 'en dag',
12994            dd: '%d dagar',
12995            M: 'en månad',
12996            MM: '%d månader',
12997            y: 'ett år',
12998            yy: '%d år'
12999        },
13000        dayOfMonthOrdinalParse: /\d{1,2}(e|a)/,
13001        ordinal: function (number) {
13002            var b = number % 10,
13003                output = (~~(number % 100 / 10) === 1) ? 'e' :
13004                    (b === 1) ? 'a' :
13005                        (b === 2) ? 'a' :
13006                            (b === 3) ? 'e' : 'e';
13007            return number + output;
13008        },
13009        week: {
13010            dow: 1, // Monday is the first day of the week.
13011            doy: 4  // The week that contains Jan 4th is the first week of the year.
13012        }
13013    });
13014
13015    //! moment.js locale configuration
13016
13017    hooks.defineLocale('sw', {
13018        months: 'Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba'.split('_'),
13019        monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des'.split('_'),
13020        weekdays: 'Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi'.split('_'),
13021        weekdaysShort: 'Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos'.split('_'),
13022        weekdaysMin: 'J2_J3_J4_J5_Al_Ij_J1'.split('_'),
13023        weekdaysParseExact: true,
13024        longDateFormat: {
13025            LT: 'HH:mm',
13026            LTS: 'HH:mm:ss',
13027            L: 'DD.MM.YYYY',
13028            LL: 'D MMMM YYYY',
13029            LLL: 'D MMMM YYYY HH:mm',
13030            LLLL: 'dddd, D MMMM YYYY HH:mm'
13031        },
13032        calendar: {
13033            sameDay: '[leo saa] LT',
13034            nextDay: '[kesho saa] LT',
13035            nextWeek: '[wiki ijayo] dddd [saat] LT',
13036            lastDay: '[jana] LT',
13037            lastWeek: '[wiki iliyopita] dddd [saat] LT',
13038            sameElse: 'L'
13039        },
13040        relativeTime: {
13041            future: '%s baadaye',
13042            past: 'tokea %s',
13043            s: 'hivi punde',
13044            ss: 'sekunde %d',
13045            m: 'dakika moja',
13046            mm: 'dakika %d',
13047            h: 'saa limoja',
13048            hh: 'masaa %d',
13049            d: 'siku moja',
13050            dd: 'masiku %d',
13051            M: 'mwezi mmoja',
13052            MM: 'miezi %d',
13053            y: 'mwaka mmoja',
13054            yy: 'miaka %d'
13055        },
13056        week: {
13057            dow: 1, // Monday is the first day of the week.
13058            doy: 7  // The week that contains Jan 7th is the first week of the year.
13059        }
13060    });
13061
13062    //! moment.js locale configuration
13063
13064    var symbolMap$f = {
13065        '1': '௧',
13066        '2': '௨',
13067        '3': '௩',
13068        '4': '௪',
13069        '5': '௫',
13070        '6': '௬',
13071        '7': '௭',
13072        '8': '௮',
13073        '9': '௯',
13074        '0': '௦'
13075    }, numberMap$e = {
13076        '௧': '1',
13077        '௨': '2',
13078        '௩': '3',
13079        '௪': '4',
13080        '௫': '5',
13081        '௬': '6',
13082        '௭': '7',
13083        '௮': '8',
13084        '௯': '9',
13085        '௦': '0'
13086    };
13087
13088    hooks.defineLocale('ta', {
13089        months: 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split('_'),
13090        monthsShort: 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split('_'),
13091        weekdays: 'ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை'.split('_'),
13092        weekdaysShort: 'ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி'.split('_'),
13093        weekdaysMin: 'ஞா_தி_செ_பு_வி_வெ_ச'.split('_'),
13094        longDateFormat: {
13095            LT: 'HH:mm',
13096            LTS: 'HH:mm:ss',
13097            L: 'DD/MM/YYYY',
13098            LL: 'D MMMM YYYY',
13099            LLL: 'D MMMM YYYY, HH:mm',
13100            LLLL: 'dddd, D MMMM YYYY, HH:mm'
13101        },
13102        calendar: {
13103            sameDay: '[இன்று] LT',
13104            nextDay: '[நாளை] LT',
13105            nextWeek: 'dddd, LT',
13106            lastDay: '[நேற்று] LT',
13107            lastWeek: '[கடந்த வாரம்] dddd, LT',
13108            sameElse: 'L'
13109        },
13110        relativeTime: {
13111            future: '%s இல்',
13112            past: '%s முன்',
13113            s: 'ஒரு சில விநாடிகள்',
13114            ss: '%d விநாடிகள்',
13115            m: 'ஒரு நிமிடம்',
13116            mm: '%d நிமிடங்கள்',
13117            h: 'ஒரு மணி நேரம்',
13118            hh: '%d மணி நேரம்',
13119            d: 'ஒரு நாள்',
13120            dd: '%d நாட்கள்',
13121            M: 'ஒரு மாதம்',
13122            MM: '%d மாதங்கள்',
13123            y: 'ஒரு வருடம்',
13124            yy: '%d ஆண்டுகள்'
13125        },
13126        dayOfMonthOrdinalParse: /\d{1,2}வது/,
13127        ordinal: function (number) {
13128            return number + 'வது';
13129        },
13130        preparse: function (string) {
13131            return string.replace(/[௧௨௩௪௫௬௭௮௯௦]/g, function (match) {
13132                return numberMap$e[match];
13133            });
13134        },
13135        postformat: function (string) {
13136            return string.replace(/\d/g, function (match) {
13137                return symbolMap$f[match];
13138            });
13139        },
13140        // refer http://ta.wikipedia.org/s/1er1
vendor: 5,148 bytes, lines 13141-13254
13141        meridiemParse: /யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,
13142        meridiem: function (hour, minute, isLower) {
13143            if (hour < 2) {
13144                return ' யாமம்';
13145            } else if (hour < 6) {
13146                return ' வைகறை';  // வைகறை
13147            } else if (hour < 10) {
13148                return ' காலை'; // காலை
13149            } else if (hour < 14) {
13150                return ' நண்பகல்'; // நண்பகல்
13151            } else if (hour < 18) {
13152                return ' எற்பாடு'; // எற்பாடு
13153            } else if (hour < 22) {
13154                return ' மாலை'; // மாலை
13155            } else {
13156                return ' யாமம்';
13157            }
13158        },
13159        meridiemHour: function (hour, meridiem) {
13160            if (hour === 12) {
13161                hour = 0;
13162            }
13163            if (meridiem === 'யாமம்') {
13164                return hour < 2 ? hour : hour + 12;
13165            } else if (meridiem === 'வைகறை' || meridiem === 'காலை') {
13166                return hour;
13167            } else if (meridiem === 'நண்பகல்') {
13168                return hour >= 10 ? hour : hour + 12;
13169            } else {
13170                return hour + 12;
13171            }
13172        },
13173        week: {
13174            dow: 0, // Sunday is the first day of the week.
13175            doy: 6  // The week that contains Jan 6th is the first week of the year.
13176        }
13177    });
13178
13179    //! moment.js locale configuration
13180
13181    hooks.defineLocale('te', {
13182        months: 'జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్'.split('_'),
13183        monthsShort: 'జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.'.split('_'),
13184        monthsParseExact: true,
13185        weekdays: 'ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం'.split('_'),
13186        weekdaysShort: 'ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని'.split('_'),
13187        weekdaysMin: 'ఆ_సో_మం_బు_గు_శు_శ'.split('_'),
13188        longDateFormat: {
13189            LT: 'A h:mm',
13190            LTS: 'A h:mm:ss',
13191            L: 'DD/MM/YYYY',
13192            LL: 'D MMMM YYYY',
13193            LLL: 'D MMMM YYYY, A h:mm',
13194            LLLL: 'dddd, D MMMM YYYY, A h:mm'
13195        },
13196        calendar: {
13197            sameDay: '[నేడు] LT',
13198            nextDay: '[రేపు] LT',
13199            nextWeek: 'dddd, LT',
13200            lastDay: '[నిన్న] LT',
13201            lastWeek: '[గత] dddd, LT',
13202            sameElse: 'L'
13203        },
13204        relativeTime: {
13205            future: '%s లో',
13206            past: '%s క్రితం',
13207            s: 'కొన్ని క్షణాలు',
13208            ss: '%d సెకన్లు',
13209            m: 'ఒక నిమిషం',
13210            mm: '%d నిమిషాలు',
13211            h: 'ఒక గంట',
13212            hh: '%d గంటలు',
13213            d: 'ఒక రోజు',
13214            dd: '%d రోజులు',
13215            M: 'ఒక నెల',
13216            MM: '%d నెలలు',
13217            y: 'ఒక సంవత్సరం',
13218            yy: '%d సంవత్సరాలు'
13219        },
13220        dayOfMonthOrdinalParse: /\d{1,2}à°µ/,
13221        ordinal: '%dà°µ',
13222        meridiemParse: /రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,
13223        meridiemHour: function (hour, meridiem) {
13224            if (hour === 12) {
13225                hour = 0;
13226            }
13227            if (meridiem === 'రాత్రి') {
13228                return hour < 4 ? hour : hour + 12;
13229            } else if (meridiem === 'ఉదయం') {
13230                return hour;
13231            } else if (meridiem === 'మధ్యాహ్నం') {
13232                return hour >= 10 ? hour : hour + 12;
13233            } else if (meridiem === 'సాయంత్రం') {
13234                return hour + 12;
13235            }
13236        },
13237        meridiem: function (hour, minute, isLower) {
13238            if (hour < 4) {
13239                return 'రాత్రి';
13240            } else if (hour < 10) {
13241                return 'ఉదయం';
13242            } else if (hour < 17) {
13243                return 'మధ్యాహ్నం';
13244            } else if (hour < 20) {
13245                return 'సాయంత్రం';
13246            } else {
13247                return 'రాత్రి';
13248            }
13249        },
13250        week: {
13251            dow: 0, // Sunday is the first day of the week.
13252            doy: 6  // The week that contains Jan 6th is the first week of the year.
13253        }
13254    });
vendor: 5,720 bytes, lines 13255-13413
13255
13256    //! moment.js locale configuration
13257
13258    hooks.defineLocale('tet', {
13259        months: 'Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru'.split('_'),
13260        monthsShort: 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'),
13261        weekdays: 'Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu'.split('_'),
13262        weekdaysShort: 'Dom_Seg_Ters_Kua_Kint_Sest_Sab'.split('_'),
13263        weekdaysMin: 'Do_Seg_Te_Ku_Ki_Ses_Sa'.split('_'),
13264        longDateFormat: {
13265            LT: 'HH:mm',
13266            LTS: 'HH:mm:ss',
13267            L: 'DD/MM/YYYY',
13268            LL: 'D MMMM YYYY',
13269            LLL: 'D MMMM YYYY HH:mm',
13270            LLLL: 'dddd, D MMMM YYYY HH:mm'
13271        },
13272        calendar: {
13273            sameDay: '[Ohin iha] LT',
13274            nextDay: '[Aban iha] LT',
13275            nextWeek: 'dddd [iha] LT',
13276            lastDay: '[Horiseik iha] LT',
13277            lastWeek: 'dddd [semana kotuk] [iha] LT',
13278            sameElse: 'L'
13279        },
13280        relativeTime: {
13281            future: 'iha %s',
13282            past: '%s liuba',
13283            s: 'minutu balun',
13284            ss: 'minutu %d',
13285            m: 'minutu ida',
13286            mm: 'minutu %d',
13287            h: 'oras ida',
13288            hh: 'oras %d',
13289            d: 'loron ida',
13290            dd: 'loron %d',
13291            M: 'fulan ida',
13292            MM: 'fulan %d',
13293            y: 'tinan ida',
13294            yy: 'tinan %d'
13295        },
13296        dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
13297        ordinal: function (number) {
13298            var b = number % 10,
13299                output = (~~(number % 100 / 10) === 1) ? 'th' :
13300                    (b === 1) ? 'st' :
13301                        (b === 2) ? 'nd' :
13302                            (b === 3) ? 'rd' : 'th';
13303            return number + output;
13304        },
13305        week: {
13306            dow: 1, // Monday is the first day of the week.
13307            doy: 4  // The week that contains Jan 4th is the first week of the year.
13308        }
13309    });
13310
13311    //! moment.js locale configuration
13312
13313    var suffixes$3 = {
13314        0: '-ум',
13315        1: '-ум',
13316        2: '-юм',
13317        3: '-юм',
13318        4: '-ум',
13319        5: '-ум',
13320        6: '-ум',
13321        7: '-ум',
13322        8: '-ум',
13323        9: '-ум',
13324        10: '-ум',
13325        12: '-ум',
13326        13: '-ум',
13327        20: '-ум',
13328        30: '-юм',
13329        40: '-ум',
13330        50: '-ум',
13331        60: '-ум',
13332        70: '-ум',
13333        80: '-ум',
13334        90: '-ум',
13335        100: '-ум'
13336    };
13337
13338    hooks.defineLocale('tg', {
13339        months: 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split('_'),
13340        monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'),
13341        weekdays: 'якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе'.split('_'),
13342        weekdaysShort: 'яшб_дшб_сшб_чшб_пшб_ҷум_шнб'.split('_'),
13343        weekdaysMin: 'яш_дш_сш_чш_пш_ҷм_шб'.split('_'),
13344        longDateFormat: {
13345            LT: 'HH:mm',
13346            LTS: 'HH:mm:ss',
13347            L: 'DD/MM/YYYY',
13348            LL: 'D MMMM YYYY',
13349            LLL: 'D MMMM YYYY HH:mm',
13350            LLLL: 'dddd, D MMMM YYYY HH:mm'
13351        },
13352        calendar: {
13353            sameDay: '[Имрӯз соати] LT',
13354            nextDay: '[Пагоҳ соати] LT',
13355            lastDay: '[Дирӯз соати] LT',
13356            nextWeek: 'dddd[и] [ҳафтаи оянда соати] LT',
13357            lastWeek: 'dddd[и] [ҳафтаи гузашта соати] LT',
13358            sameElse: 'L'
13359        },
13360        relativeTime: {
13361            future: 'баъди %s',
13362            past: '%s пеш',
13363            s: 'якчанд сония',
13364            m: 'як дақиқа',
13365            mm: '%d дақиқа',
13366            h: 'як соат',
13367            hh: '%d соат',
13368            d: 'як рӯз',
13369            dd: '%d рӯз',
13370            M: 'як моҳ',
13371            MM: '%d моҳ',
13372            y: 'як сол',
13373            yy: '%d сол'
13374        },
13375        meridiemParse: /шаб|субҳ|рӯз|бегоҳ/,
13376        meridiemHour: function (hour, meridiem) {
13377            if (hour === 12) {
13378                hour = 0;
13379            }
13380            if (meridiem === 'шаб') {
13381                return hour < 4 ? hour : hour + 12;
13382            } else if (meridiem === 'субҳ') {
13383                return hour;
13384            } else if (meridiem === 'рӯз') {
13385                return hour >= 11 ? hour : hour + 12;
13386            } else if (meridiem === 'бегоҳ') {
13387                return hour + 12;
13388            }
13389        },
13390        meridiem: function (hour, minute, isLower) {
13391            if (hour < 4) {
13392                return 'шаб';
13393            } else if (hour < 11) {
13394                return 'субҳ';
13395            } else if (hour < 16) {
13396                return 'рӯз';
13397            } else if (hour < 19) {
13398                return 'бегоҳ';
13399            } else {
13400                return 'шаб';
13401            }
13402        },
13403        dayOfMonthOrdinalParse: /\d{1,2}-(ум|юм)/,
13404        ordinal: function (number) {
13405            var a = number % 10,
13406                b = number >= 100 ? 100 : null;
13407            return number + (suffixes$3[number] || suffixes$3[a] || suffixes$3[b]);
13408        },
13409        week: {
13410            dow: 1, // Monday is the first day of the week.
13411            doy: 7  // The week that contains Jan 1th is the first week of the year.
13412        }
13413    });
vendor: 4,109 bytes, lines 13414-13504
13414
13415    //! moment.js locale configuration
13416
13417    hooks.defineLocale('th', {
13418        months: 'มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม'.split('_'),
13419        monthsShort: 'ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.'.split('_'),
13420        monthsParseExact: true,
13421        weekdays: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์'.split('_'),
13422        weekdaysShort: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์'.split('_'), // yes, three characters difference
13423        weekdaysMin: 'อา._จ._อ._พ._พฤ._ศ._ส.'.split('_'),
13424        weekdaysParseExact: true,
13425        longDateFormat: {
13426            LT: 'H:mm',
13427            LTS: 'H:mm:ss',
13428            L: 'DD/MM/YYYY',
13429            LL: 'D MMMM YYYY',
13430            LLL: 'D MMMM YYYY เวลา H:mm',
13431            LLLL: 'วันddddที่ D MMMM YYYY เวลา H:mm'
13432        },
13433        meridiemParse: /ก่อนเที่ยง|หลังเที่ยง/,
13434        isPM: function (input) {
13435            return input === 'หลังเที่ยง';
13436        },
13437        meridiem: function (hour, minute, isLower) {
13438            if (hour < 12) {
13439                return 'ก่อนเที่ยง';
13440            } else {
13441                return 'หลังเที่ยง';
13442            }
13443        },
13444        calendar: {
13445            sameDay: '[วันนี้ เวลา] LT',
13446            nextDay: '[พรุ่งนี้ เวลา] LT',
13447            nextWeek: 'dddd[หน้า เวลา] LT',
13448            lastDay: '[เมื่อวานนี้ เวลา] LT',
13449            lastWeek: '[วัน]dddd[ที่แล้ว เวลา] LT',
13450            sameElse: 'L'
13451        },
13452        relativeTime: {
13453            future: 'อีก %s',
13454            past: '%sที่แล้ว',
13455            s: 'ไม่กี่วินาที',
13456            ss: '%d วินาที',
13457            m: '1 นาที',
13458            mm: '%d นาที',
13459            h: '1 ชั่วโมง',
13460            hh: '%d ชั่วโมง',
13461            d: '1 วัน',
13462            dd: '%d วัน',
13463            M: '1 เดือน',
13464            MM: '%d เดือน',
13465            y: '1 ปี',
13466            yy: '%d ปี'
13467        }
13468    });
13469
13470    //! moment.js locale configuration
13471
13472    hooks.defineLocale('tl-ph', {
13473        months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split('_'),
13474        monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'),
13475        weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split('_'),
13476        weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'),
13477        weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'),
13478        longDateFormat: {
13479            LT: 'HH:mm',
13480            LTS: 'HH:mm:ss',
13481            L: 'MM/D/YYYY',
13482            LL: 'MMMM D, YYYY',
13483            LLL: 'MMMM D, YYYY HH:mm',
13484            LLLL: 'dddd, MMMM DD, YYYY HH:mm'
13485        },
13486        calendar: {
13487            sameDay: 'LT [ngayong araw]',
13488            nextDay: '[Bukas ng] LT',
13489            nextWeek: 'LT [sa susunod na] dddd',
13490            lastDay: 'LT [kahapon]',
13491            lastWeek: 'LT [noong nakaraang] dddd',
13492            sameElse: 'L'
13493        },
13494        relativeTime: {
13495            future: 'sa loob ng %s',
13496            past: '%s ang nakalipas',
13497            s: 'ilang segundo',
13498            ss: '%d segundo',
13499            m: 'isang minuto',
13500            mm: '%d minuto',
13501            h: 'isang oras',
13502            hh: '%d oras',
13503            d: 'isang araw',
13504            dd: '%d araw',
13505            M: 'isang buwan',
13506            MM: '%d buwan',
13507            y: 'isang taon',
13508            yy: '%d taon'
13509        },
13510        dayOfMonthOrdinalParse: /\d{1,2}/,
13511        ordinal: function (number) {
13512            return number;
13513        },
13514        week: {
13515            dow: 1, // Monday is the first day of the week.
13516            doy: 4  // The week that contains Jan 4th is the first week of the year.
13517        }
13518    });
13519
13520    //! moment.js locale configuration
13521
13522    var numbersNouns = 'pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut'.split('_');
13523
13524    function translateFuture(output) {
13525        var time = output;
13526        time = (output.indexOf('jaj') !== -1) ?
13527            time.slice(0, -3) + 'leS' :
13528            (output.indexOf('jar') !== -1) ?
13529                time.slice(0, -3) + 'waQ' :
13530                (output.indexOf('DIS') !== -1) ?
13531                    time.slice(0, -3) + 'nem' :
13532                    time + ' pIq';
13533        return time;
13534    }
13535
13536    function translatePast(output) {
13537        var time = output;
13538        time = (output.indexOf('jaj') !== -1) ?
13539            time.slice(0, -3) + 'Hu’' :
13540            (output.indexOf('jar') !== -1) ?
13541                time.slice(0, -3) + 'wen' :
13542                (output.indexOf('DIS') !== -1) ?
13543                    time.slice(0, -3) + 'ben' :
13544                    time + ' ret';
13545        return time;
13546    }
13547
13548    function translate$a(number, withoutSuffix, string, isFuture) {
13549        var numberNoun = numberAsNoun(number);
13550        switch (string) {
13551            case 'ss':
13552                return numberNoun + ' lup';
13553            case 'mm':
13554                return numberNoun + ' tup';
13555            case 'hh':
13556                return numberNoun + ' rep';
13557            case 'dd':
13558                return numberNoun + ' jaj';
13559            case 'MM':
13560                return numberNoun + ' jar';
13561            case 'yy':
13562                return numberNoun + ' DIS';
13563        }
13564    }
13565
13566    function numberAsNoun(number) {
13567        var hundred = Math.floor((number % 1000) / 100),
13568            ten = Math.floor((number % 100) / 10),
13569            one = number % 10,
13570            word = '';
13571        if (hundred > 0) {
13572            word += numbersNouns[hundred] + 'vatlh';
13573        }
13574        if (ten > 0) {
13575            word += ((word !== '') ? ' ' : '') + numbersNouns[ten] + 'maH';
13576        }
13577        if (one > 0) {
13578            word += ((word !== '') ? ' ' : '') + numbersNouns[one];
13579        }
13580        return (word === '') ? 'pagh' : word;
13581    }
13582
13583    hooks.defineLocale('tlh', {
13584        months: 'tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’'.split('_'),
13585        monthsShort: 'jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’'.split('_'),
13586        monthsParseExact: true,
13587        weekdays: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'),
13588        weekdaysShort: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'),
13589        weekdaysMin: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'),
13590        longDateFormat: {
13591            LT: 'HH:mm',
13592            LTS: 'HH:mm:ss',
13593            L: 'DD.MM.YYYY',
13594            LL: 'D MMMM YYYY',
13595            LLL: 'D MMMM YYYY HH:mm',
13596            LLLL: 'dddd, D MMMM YYYY HH:mm'
13597        },
13598        calendar: {
13599            sameDay: '[DaHjaj] LT',
13600            nextDay: '[wa’leS] LT',
13601            nextWeek: 'LLL',
13602            lastDay: '[wa’Hu’] LT',
13603            lastWeek: 'LLL',
13604            sameElse: 'L'
13605        },
13606        relativeTime: {
13607            future: translateFuture,
13608            past: translatePast,
13609            s: 'puS lup',
13610            ss: translate$a,
13611            m: 'wa’ tup',
13612            mm: translate$a,
13613            h: 'wa’ rep',
13614            hh: translate$a,
13615            d: 'wa’ jaj',
13616            dd: translate$a,
13617            M: 'wa’ jar',
13618            MM: translate$a,
13619            y: 'wa’ DIS',
13620            yy: translate$a
13621        },
13622        dayOfMonthOrdinalParse: /\d{1,2}\./,
13623        ordinal: '%d.',
13624        week: {
13625            dow: 1, // Monday is the first day of the week.
13626            doy: 4  // The week that contains Jan 4th is the first week of the year.
13627        }
13628    });
13629
13630    var suffixes$4 = {
13631        1: '\'inci',
13632        5: '\'inci',
13633        8: '\'inci',
13634        70: '\'inci',
13635        80: '\'inci',
13636        2: '\'nci',
13637        7: '\'nci',
13638        20: '\'nci',
13639        50: '\'nci',
13640        3: '\'üncü',
13641        4: '\'üncü',
13642        100: '\'üncü',
13643        6: '\'ncı',
13644        9: '\'uncu',
13645        10: '\'uncu',
13646        30: '\'uncu',
13647        60: '\'ıncı',
13648        90: '\'ıncı'
13649    };
13650
13651    hooks.defineLocale('tr', {
13652        months: 'Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık'.split('_'),
13653        monthsShort: 'Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara'.split('_'),
13654        weekdays: 'Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi'.split('_'),
13655        weekdaysShort: 'Paz_Pts_Sal_Çar_Per_Cum_Cts'.split('_'),
13656        weekdaysMin: 'Pz_Pt_Sa_Ça_Pe_Cu_Ct'.split('_'),
13657        longDateFormat: {
13658            LT: 'HH:mm',
13659            LTS: 'HH:mm:ss',
13660            L: 'DD.MM.YYYY',
13661            LL: 'D MMMM YYYY',
13662            LLL: 'D MMMM YYYY HH:mm',
13663            LLLL: 'dddd, D MMMM YYYY HH:mm'
13664        },
13665        calendar: {
13666            sameDay: '[bugün saat] LT',
13667            nextDay: '[yarın saat] LT',
13668            nextWeek: '[gelecek] dddd [saat] LT',
13669            lastDay: '[dün] LT',
13670            lastWeek: '[geçen] dddd [saat] LT',
13671            sameElse: 'L'
13672        },
13673        relativeTime: {
13674            future: '%s sonra',
13675            past: '%s önce',
13676            s: 'birkaç saniye',
13677            ss: '%d saniye',
13678            m: 'bir dakika',
13679            mm: '%d dakika',
13680            h: 'bir saat',
13681            hh: '%d saat',
13682            d: 'bir gün',
13683            dd: '%d gün',
13684            M: 'bir ay',
13685            MM: '%d ay',
13686            y: 'bir yıl',
13687            yy: '%d yıl'
13688        },
13689        ordinal: function (number, period) {
13690            switch (period) {
13691                case 'd':
13692                case 'D':
13693                case 'Do':
13694                case 'DD':
13695                    return number;
13696                default:
13697                    if (number === 0) {  // special case for zero
13698                        return number + '\'ıncı';
13699                    }
13700                    var a = number % 10,
13701                        b = number % 100 - a,
13702                        c = number >= 100 ? 100 : null;
13703                    return number + (suffixes$4[a] || suffixes$4[b] || suffixes$4[c]);
13704            }
13705        },
13706        week: {
13707            dow: 1, // Monday is the first day of the week.
13708            doy: 7  // The week that contains Jan 7th is the first week of the year.
13709        }
13710    });
13711
13712    //! moment.js locale configuration
13713
13714    // After the year there should be a slash and the amount of years since December 26, 1979 in Roman numerals.
13715    // This is currently too difficult (maybe even impossible) to add.
13716    hooks.defineLocale('tzl', {
13717        months: 'Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar'.split('_'),
13718        monthsShort: 'Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec'.split('_'),
13719        weekdays: 'Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi'.split('_'),
13720        weekdaysShort: 'Súl_Lún_Mai_Már_Xhú_Vié_Sát'.split('_'),
13721        weekdaysMin: 'Sú_Lú_Ma_Má_Xh_Vi_Sá'.split('_'),
13722        longDateFormat: {
13723            LT: 'HH.mm',
13724            LTS: 'HH.mm.ss',
13725            L: 'DD.MM.YYYY',
13726            LL: 'D. MMMM [dallas] YYYY',
13727            LLL: 'D. MMMM [dallas] YYYY HH.mm',
13728            LLLL: 'dddd, [li] D. MMMM [dallas] YYYY HH.mm'
13729        },
13730        meridiemParse: /d\'o|d\'a/i,
13731        isPM: function (input) {
13732            return 'd\'o' === input.toLowerCase();
13733        },
13734        meridiem: function (hours, minutes, isLower) {
13735            if (hours > 11) {
13736                return isLower ? 'd\'o' : 'D\'O';
13737            } else {
13738                return isLower ? 'd\'a' : 'D\'A';
13739            }
13740        },
13741        calendar: {
13742            sameDay: '[oxhi à] LT',
13743            nextDay: '[demà à] LT',
13744            nextWeek: 'dddd [à] LT',
13745            lastDay: '[ieiri à] LT',
13746            lastWeek: '[sür el] dddd [lasteu à] LT',
13747            sameElse: 'L'
13748        },
13749        relativeTime: {
13750            future: 'osprei %s',
13751            past: 'ja%s',
13752            s: processRelativeTime$7,
13753            ss: processRelativeTime$7,
13754            m: processRelativeTime$7,
13755            mm: processRelativeTime$7,
13756            h: processRelativeTime$7,
13757            hh: processRelativeTime$7,
13758            d: processRelativeTime$7,
13759            dd: processRelativeTime$7,
13760            M: processRelativeTime$7,
13761            MM: processRelativeTime$7,
13762            y: processRelativeTime$7,
13763            yy: processRelativeTime$7
13764        },
13765        dayOfMonthOrdinalParse: /\d{1,2}\./,
13766        ordinal: '%d.',
13767        week: {
13768            dow: 1, // Monday is the first day of the week.
13769            doy: 4  // The week that contains Jan 4th is the first week of the year.
13770        }
13771    });
13772
13773    function processRelativeTime$7(number, withoutSuffix, key, isFuture) {
13774        var format = {
13775            's': ['viensas secunds', '\'iensas secunds'],
13776            'ss': [number + ' secunds', '' + number + ' secunds'],
13777            'm': ['\'n míut', '\'iens míut'],
13778            'mm': [number + ' míuts', '' + number + ' míuts'],
13779            'h': ['\'n þora', '\'iensa þora'],
13780            'hh': [number + ' þoras', '' + number + ' þoras'],
13781            'd': ['\'n ziua', '\'iensa ziua'],
13782            'dd': [number + ' ziuas', '' + number + ' ziuas'],
13783            'M': ['\'n mes', '\'iens mes'],
13784            'MM': [number + ' mesen', '' + number + ' mesen'],
13785            'y': ['\'n ar', '\'iens ar'],
13786            'yy': [number + ' ars', '' + number + ' ars']
13787        };
13788        return isFuture ? format[key][0] : (withoutSuffix ? format[key][0] : format[key][1]);
13789    }
13790
13791    //! moment.js locale configuration
13792
13793    hooks.defineLocale('tzm-latn', {
13794        months: 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split('_'),
13795        monthsShort: 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split('_'),
13796        weekdays: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
13797        weekdaysShort: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
13798        weekdaysMin: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
13799        longDateFormat: {
13800            LT: 'HH:mm',
13801            LTS: 'HH:mm:ss',
13802            L: 'DD/MM/YYYY',
13803            LL: 'D MMMM YYYY',
13804            LLL: 'D MMMM YYYY HH:mm',
13805            LLLL: 'dddd D MMMM YYYY HH:mm'
13806        },
13807        calendar: {
13808            sameDay: '[asdkh g] LT',
13809            nextDay: '[aska g] LT',
13810            nextWeek: 'dddd [g] LT',
13811            lastDay: '[assant g] LT',
13812            lastWeek: 'dddd [g] LT',
13813            sameElse: 'L'
13814        },
13815        relativeTime: {
13816            future: 'dadkh s yan %s',
13817            past: 'yan %s',
13818            s: 'imik',
13819            ss: '%d imik',
13820            m: 'minuḍ',
13821            mm: '%d minuḍ',
13822            h: 'saɛa',
13823            hh: '%d tassaɛin',
13824            d: 'ass',
13825            dd: '%d ossan',
13826            M: 'ayowr',
13827            MM: '%d iyyirn',
13828            y: 'asgas',
13829            yy: '%d isgasn'
13830        },
13831        week: {
13832            dow: 6, // Saturday is the first day of the week.
13833            doy: 12  // The week that contains Jan 12th is the first week of the year.
13834        }
13835    });
13836
13837    //! moment.js locale configuration
13838
13839    hooks.defineLocale('tzm', {
13840        months: 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split('_'),
13841        monthsShort: 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split('_'),
13842        weekdays: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
13843        weekdaysShort: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
13844        weekdaysMin: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
13845        longDateFormat: {
13846            LT: 'HH:mm',
13847            LTS: 'HH:mm:ss',
13848            L: 'DD/MM/YYYY',
13849            LL: 'D MMMM YYYY',
13850            LLL: 'D MMMM YYYY HH:mm',
13851            LLLL: 'dddd D MMMM YYYY HH:mm'
13852        },
13853        calendar: {
13854            sameDay: '[ⴰⵙⴷⵅ ⴴ] LT',
13855            nextDay: '[ⴰⵙⴽⴰ ⴴ] LT',
13856            nextWeek: 'dddd [â´´] LT',
13857            lastDay: '[ⴰⵚⴰⵏⵜ ⴴ] LT',
13858            lastWeek: 'dddd [â´´] LT',
13859            sameElse: 'L'
13860        },
13861        relativeTime: {
13862            future: 'ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s',
13863            past: 'ⵢⴰⵏ %s',
13864            s: 'ⵉⵎⵉⴽ',
13865            ss: '%d ⵉⵎⵉⴽ',
13866            m: 'ⵎⵉⵏⵓⴺ',
13867            mm: '%d ⵎⵉⵏⵓⴺ',
13868            h: 'ⵙⴰⵄⴰ',
vendor: 4,720 bytes, lines 13869-13988
13869            hh: '%d ⵜⴰⵙⵙⴰⵄⵉⵏ',
13870            d: 'ⴰⵙⵙ',
13871            dd: '%d oⵙⵙⴰⵏ',
13872            M: 'ⴰⵢoⵓⵔ',
13873            MM: '%d ⵉⵢⵢⵉⵔⵏ',
13874            y: 'ⴰⵙⴳⴰⵙ',
13875            yy: '%d ⵉⵙⴳⴰⵙⵏ'
13876        },
13877        week: {
13878            dow: 6, // Saturday is the first day of the week.
13879            doy: 12  // The week that contains Jan 12th is the first week of the year.
13880        }
13881    });
13882
13883    //! moment.js language configuration
13884
13885    hooks.defineLocale('ug-cn', {
13886        months: 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split(
13887            '_'
13888        ),
13889        monthsShort: 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split(
13890            '_'
13891        ),
13892        weekdays: 'يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە'.split(
13893            '_'
13894        ),
13895        weekdaysShort: 'يە_دۈ_سە_چا_پە_جۈ_شە'.split('_'),
13896        weekdaysMin: 'يە_دۈ_سە_چا_پە_جۈ_شە'.split('_'),
13897        longDateFormat: {
13898            LT: 'HH:mm',
13899            LTS: 'HH:mm:ss',
13900            L: 'YYYY-MM-DD',
13901            LL: 'YYYY-يىلىM-ئاينىڭD-كۈنى',
13902            LLL: 'YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm',
13903            LLLL: 'dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm'
13904        },
13905        meridiemParse: /يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,
13906        meridiemHour: function (hour, meridiem) {
13907            if (hour === 12) {
13908                hour = 0;
13909            }
13910            if (
13911                meridiem === 'يېرىم كېچە' ||
13912                meridiem === 'سەھەر' ||
13913                meridiem === 'چۈشتىن بۇرۇن'
13914            ) {
13915                return hour;
13916            } else if (meridiem === 'چۈشتىن كېيىن' || meridiem === 'كەچ') {
13917                return hour + 12;
13918            } else {
13919                return hour >= 11 ? hour : hour + 12;
13920            }
13921        },
13922        meridiem: function (hour, minute, isLower) {
13923            var hm = hour * 100 + minute;
13924            if (hm < 600) {
13925                return 'يېرىم كېچە';
13926            } else if (hm < 900) {
13927                return 'سەھەر';
13928            } else if (hm < 1130) {
13929                return 'چۈشتىن بۇرۇن';
13930            } else if (hm < 1230) {
13931                return 'چۈش';
13932            } else if (hm < 1800) {
13933                return 'چۈشتىن كېيىن';
13934            } else {
13935                return 'كەچ';
13936            }
13937        },
13938        calendar: {
13939            sameDay: '[بۈگۈن سائەت] LT',
13940            nextDay: '[ئەتە سائەت] LT',
13941            nextWeek: '[كېلەركى] dddd [سائەت] LT',
13942            lastDay: '[تۆنۈگۈن] LT',
13943            lastWeek: '[ئالدىنقى] dddd [سائەت] LT',
13944            sameElse: 'L'
13945        },
13946        relativeTime: {
13947            future: '%s كېيىن',
13948            past: '%s بۇرۇن',
13949            s: 'نەچچە سېكونت',
13950            ss: '%d سېكونت',
13951            m: 'بىر مىنۇت',
13952            mm: '%d مىنۇت',
13953            h: 'بىر سائەت',
13954            hh: '%d سائەت',
13955            d: 'بىر كۈن',
13956            dd: '%d كۈن',
13957            M: 'بىر ئاي',
13958            MM: '%d ئاي',
13959            y: 'بىر يىل',
13960            yy: '%d يىل'
13961        },
13962
13963        dayOfMonthOrdinalParse: /\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,
13964        ordinal: function (number, period) {
13965            switch (period) {
13966                case 'd':
13967                case 'D':
13968                case 'DDD':
13969                    return number + '-كۈنى';
13970                case 'w':
13971                case 'W':
13972                    return number + '-ھەپتە';
13973                default:
13974                    return number;
13975            }
13976        },
13977        preparse: function (string) {
13978            return string.replace(/،/g, ',');
13979        },
13980        postformat: function (string) {
13981            return string.replace(/,/g, '،');
13982        },
13983        week: {
13984            // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效
13985            dow: 1, // Monday is the first day of the week.
13986            doy: 7 // The week that contains Jan 1st is the first week of the year.
13987        }
13988    });
13989
13990    //! moment.js locale configuration
13991
13992    function plural$6(word, num) {
13993        var forms = word.split('_');
13994        return num % 10 === 1 && num % 100 !== 11 ? forms[0] : (num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) ? forms[1] : forms[2]);
13995    }
13996    function relativeTimeWithPlural$4(number, withoutSuffix, key) {
13997        var format = {
13998            'ss': withoutSuffix ? 'секунда_секунди_секунд' : 'секунду_секунди_секунд',
13999            'mm': withoutSuffix ? 'хвилина_хвилини_хвилин' : 'хвилину_хвилини_хвилин',
14000            'hh': withoutSuffix ? 'година_години_годин' : 'годину_години_годин',
14001            'dd': 'день_дні_днів',
14002            'MM': 'місяць_місяці_місяців',
14003            'yy': 'рік_роки_років'
14004        };
14005        if (key === 'm') {
14006            return withoutSuffix ? 'хвилина' : 'хвилину';
14007        }
14008        else if (key === 'h') {
14009            return withoutSuffix ? 'година' : 'годину';
14010        }
14011        else {
14012            return number + ' ' + plural$6(format[key], +number);
14013        }
14014    }
14015    function weekdaysCaseReplace(m, format) {
14016        var weekdays = {
14017            'nominative': 'неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота'.split('_'),
14018            'accusative': 'неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу'.split('_'),
14019            'genitive': 'неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи'.split('_')
14020        };
14021
14022        if (m === true) {
14023            return weekdays['nominative'].slice(1, 7).concat(weekdays['nominative'].slice(0, 1));
14024        }
14025        if (!m) {
14026            return weekdays['nominative'];
14027        }
14028
14029        var nounCase = (/(\[[ВвУу]\]) ?dddd/).test(format) ?
14030            'accusative' :
14031            ((/\[?(?:минулої|наступної)? ?\] ?dddd/).test(format) ?
14032                'genitive' :
14033                'nominative');
14034        return weekdays[nounCase][m.day()];
14035    }
14036    function processHoursFunction(str) {
14037        return function () {
14038            return str + 'о' + (this.hours() === 11 ? 'б' : '') + '] LT';
14039        };
14040    }
14041
14042    hooks.defineLocale('uk', {
14043        months: {
14044            'format': 'січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня'.split('_'),
14045            'standalone': 'січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень'.split('_')
14046        },
14047        monthsShort: 'січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд'.split('_'),
14048        weekdays: weekdaysCaseReplace,
14049        weekdaysShort: 'нд_пн_вт_ср_чт_пт_сб'.split('_'),
14050        weekdaysMin: 'нд_пн_вт_ср_чт_пт_сб'.split('_'),
14051        longDateFormat: {
14052            LT: 'HH:mm',
14053            LTS: 'HH:mm:ss',
14054            L: 'DD.MM.YYYY',
14055            LL: 'D MMMM YYYY р.',
14056            LLL: 'D MMMM YYYY р., HH:mm',
14057            LLLL: 'dddd, D MMMM YYYY р., HH:mm'
14058        },
14059        calendar: {
14060            sameDay: processHoursFunction('[Сьогодні '),
14061            nextDay: processHoursFunction('[Завтра '),
14062            lastDay: processHoursFunction('[Вчора '),
14063            nextWeek: processHoursFunction('[У] dddd ['),
14064            lastWeek: function () {
14065                switch (this.day()) {
14066                    case 0:
14067                    case 3:
14068                    case 5:
14069                    case 6:
14070                        return processHoursFunction('[Минулої] dddd [').call(this);
14071                    case 1:
14072                    case 2:
14073                    case 4:
14074                        return processHoursFunction('[Минулого] dddd [').call(this);
14075                }
14076            },
14077            sameElse: 'L'
14078        },
14079        relativeTime: {
14080            future: 'за %s',
14081            past: '%s тому',
14082            s: 'декілька секунд',
14083            ss: relativeTimeWithPlural$4,
14084            m: relativeTimeWithPlural$4,
14085            mm: relativeTimeWithPlural$4,
14086            h: 'годину',
14087            hh: relativeTimeWithPlural$4,
14088            d: 'день',
14089            dd: relativeTimeWithPlural$4,
14090            M: 'місяць',
14091            MM: relativeTimeWithPlural$4,
14092            y: 'рік',
14093            yy: relativeTimeWithPlural$4
14094        },
14095        // M. E.: those two are virtually unused but a user might want to implement them for his/her website for some reason
14096        meridiemParse: /ночі|ранку|дня|вечора/,
14097        isPM: function (input) {
14098            return /^(дня|вечора)$/.test(input);
14099        },
14100        meridiem: function (hour, minute, isLower) {
14101            if (hour < 4) {
14102                return 'ночі';
14103            } else if (hour < 12) {
14104                return 'ранку';
14105            } else if (hour < 17) {
14106                return 'дня';
14107            } else {
14108                return 'вечора';
14109            }
14110        },
14111        dayOfMonthOrdinalParse: /\d{1,2}-(й|го)/,
14112        ordinal: function (number, period) {
14113            switch (period) {
14114                case 'M':
14115                case 'd':
14116                case 'DDD':
14117                case 'w':
14118                case 'W':
14119                    return number + '-й';
14120                case 'D':
14121                    return number + '-го';
14122                default:
14123                    return number;
14124            }
14125        },
14126        week: {
14127            dow: 1, // Monday is the first day of the week.
14128            doy: 7  // The week that contains Jan 7th is the first week of the year.
14129        }
14130    });
14131
14132    //! moment.js locale configuration
14133
14134    var months$a = [
14135        'جنوری',
14136        'فروری',
14137        'مارچ',
14138        'اپریل',
14139        'مئی',
14140        'جون',
14141        'جولائی',
14142        'اگست',
14143        'ستمبر',
14144        'اکتوبر',
14145        'نومبر',
14146        'دسمبر'
14147    ];
14148    var days$2 = [
14149        'اتوار',
14150        'پیر',
14151        'منگل',
14152        'بدھ',
14153        'جمعرات',
14154        'جمعہ',
14155        'ہفتہ'
14156    ];
14157
14158    hooks.defineLocale('ur', {
14159        months: months$a,
14160        monthsShort: months$a,
14161        weekdays: days$2,
14162        weekdaysShort: days$2,
14163        weekdaysMin: days$2,
14164        longDateFormat: {
14165            LT: 'HH:mm',
14166            LTS: 'HH:mm:ss',
14167            L: 'DD/MM/YYYY',
14168            LL: 'D MMMM YYYY',
14169            LLL: 'D MMMM YYYY HH:mm',
14170            LLLL: 'dddd، D MMMM YYYY HH:mm'
14171        },
14172        meridiemParse: /صبح|شام/,
14173        isPM: function (input) {
14174            return 'شام' === input;
14175        },
14176        meridiem: function (hour, minute, isLower) {
14177            if (hour < 12) {
14178                return 'صبح';
14179            }
14180            return 'شام';
14181        },
14182        calendar: {
14183            sameDay: '[آج بوقت] LT',
14184            nextDay: '[کل بوقت] LT',
14185            nextWeek: 'dddd [بوقت] LT',
14186            lastDay: '[گذشتہ روز بوقت] LT',
14187            lastWeek: '[گذشتہ] dddd [بوقت] LT',
14188            sameElse: 'L'
14189        },
14190        relativeTime: {
14191            future: '%s بعد',
14192            past: '%s قبل',
14193            s: 'چند سیکنڈ',
14194            ss: '%d سیکنڈ',
14195            m: 'ایک منٹ',
14196            mm: '%d منٹ',
14197            h: 'ایک گھنٹہ',
14198            hh: '%d گھنٹے',
14199            d: 'ایک دن',
14200            dd: '%d دن',
14201            M: 'ایک ماہ',
14202            MM: '%d ماہ',
14203            y: 'ایک سال',
14204            yy: '%d سال'
14205        },
14206        preparse: function (string) {
14207            return string.replace(/،/g, ',');
14208        },
14209        postformat: function (string) {
14210            return string.replace(/,/g, '،');
14211        },
14212        week: {
14213            dow: 1, // Monday is the first day of the week.
14214            doy: 4  // The week that contains Jan 4th is the first week of the year.
14215        }
14216    });
14217
14218    //! moment.js locale configuration
14219
14220    hooks.defineLocale('uz-latn', {
14221        months: 'Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr'.split('_'),
14222        monthsShort: 'Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek'.split('_'),
14223        weekdays: 'Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba'.split('_'),
14224        weekdaysShort: 'Yak_Dush_Sesh_Chor_Pay_Jum_Shan'.split('_'),
14225        weekdaysMin: 'Ya_Du_Se_Cho_Pa_Ju_Sha'.split('_'),
14226        longDateFormat: {
14227            LT: 'HH:mm',
14228            LTS: 'HH:mm:ss',
14229            L: 'DD/MM/YYYY',
14230            LL: 'D MMMM YYYY',
14231            LLL: 'D MMMM YYYY HH:mm',
14232            LLLL: 'D MMMM YYYY, dddd HH:mm'
14233        },
14234        calendar: {
14235            sameDay: '[Bugun soat] LT [da]',
14236            nextDay: '[Ertaga] LT [da]',
14237            nextWeek: 'dddd [kuni soat] LT [da]',
14238            lastDay: '[Kecha soat] LT [da]',
14239            lastWeek: '[O\'tgan] dddd [kuni soat] LT [da]',
14240            sameElse: 'L'
14241        },
14242        relativeTime: {
14243            future: 'Yaqin %s ichida',
14244            past: 'Bir necha %s oldin',
14245            s: 'soniya',
14246            ss: '%d soniya',
14247            m: 'bir daqiqa',
14248            mm: '%d daqiqa',
14249            h: 'bir soat',
14250            hh: '%d soat',
14251            d: 'bir kun',
14252            dd: '%d kun',
14253            M: 'bir oy',
14254            MM: '%d oy',
14255            y: 'bir yil',
14256            yy: '%d yil'
14257        },
14258        week: {
14259            dow: 1, // Monday is the first day of the week.
14260            doy: 7  // The week that contains Jan 7th is the first week of the year.
14261        }
14262    });
vendor: 4,390 bytes, lines 14263-14375
14263
14264    //! moment.js locale configuration
14265
14266    hooks.defineLocale('uz', {
14267        months: 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split('_'),
14268        monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'),
14269        weekdays: 'Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба'.split('_'),
14270        weekdaysShort: 'Якш_Душ_Сеш_Чор_Пай_Жум_Шан'.split('_'),
14271        weekdaysMin: 'Як_Ду_Се_Чо_Па_Жу_Ша'.split('_'),
14272        longDateFormat: {
14273            LT: 'HH:mm',
14274            LTS: 'HH:mm:ss',
14275            L: 'DD/MM/YYYY',
14276            LL: 'D MMMM YYYY',
14277            LLL: 'D MMMM YYYY HH:mm',
14278            LLLL: 'D MMMM YYYY, dddd HH:mm'
14279        },
14280        calendar: {
14281            sameDay: '[Бугун соат] LT [да]',
14282            nextDay: '[Эртага] LT [да]',
14283            nextWeek: 'dddd [куни соат] LT [да]',
14284            lastDay: '[Кеча соат] LT [да]',
14285            lastWeek: '[Утган] dddd [куни соат] LT [да]',
14286            sameElse: 'L'
14287        },
14288        relativeTime: {
14289            future: 'Якин %s ичида',
14290            past: 'Бир неча %s олдин',
14291            s: 'фурсат',
14292            ss: '%d фурсат',
14293            m: 'бир дакика',
14294            mm: '%d дакика',
14295            h: 'бир соат',
14296            hh: '%d соат',
14297            d: 'бир кун',
14298            dd: '%d кун',
14299            M: 'бир ой',
14300            MM: '%d ой',
14301            y: 'бир йил',
14302            yy: '%d йил'
14303        },
14304        week: {
14305            dow: 1, // Monday is the first day of the week.
14306            doy: 7  // The week that contains Jan 4th is the first week of the year.
14307        }
14308    });
14309
14310    //! moment.js locale configuration
14311
14312    hooks.defineLocale('vi', {
14313        months: 'tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12'.split('_'),
14314        monthsShort: 'Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12'.split('_'),
14315        monthsParseExact: true,
14316        weekdays: 'chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy'.split('_'),
14317        weekdaysShort: 'CN_T2_T3_T4_T5_T6_T7'.split('_'),
14318        weekdaysMin: 'CN_T2_T3_T4_T5_T6_T7'.split('_'),
14319        weekdaysParseExact: true,
14320        meridiemParse: /sa|ch/i,
14321        isPM: function (input) {
14322            return /^ch$/i.test(input);
14323        },
14324        meridiem: function (hours, minutes, isLower) {
14325            if (hours < 12) {
14326                return isLower ? 'sa' : 'SA';
14327            } else {
14328                return isLower ? 'ch' : 'CH';
14329            }
14330        },
14331        longDateFormat: {
14332            LT: 'HH:mm',
14333            LTS: 'HH:mm:ss',
14334            L: 'DD/MM/YYYY',
14335            LL: 'D MMMM [năm] YYYY',
14336            LLL: 'D MMMM [năm] YYYY HH:mm',
14337            LLLL: 'dddd, D MMMM [năm] YYYY HH:mm',
14338            l: 'DD/M/YYYY',
14339            ll: 'D MMM YYYY',
14340            lll: 'D MMM YYYY HH:mm',
14341            llll: 'ddd, D MMM YYYY HH:mm'
14342        },
14343        calendar: {
14344            sameDay: '[Hôm nay lúc] LT',
14345            nextDay: '[Ngày mai lúc] LT',
14346            nextWeek: 'dddd [tuần tới lúc] LT',
14347            lastDay: '[Hôm qua lúc] LT',
14348            lastWeek: 'dddd [tuần rồi lúc] LT',
14349            sameElse: 'L'
14350        },
14351        relativeTime: {
14352            future: '%s tới',
14353            past: '%s trước',
14354            s: 'vài giây',
14355            ss: '%d giây',
14356            m: 'một phút',
14357            mm: '%d phút',
14358            h: 'một giờ',
14359            hh: '%d giờ',
14360            d: 'một ngày',
14361            dd: '%d ngày',
14362            M: 'một tháng',
14363            MM: '%d tháng',
14364            y: 'một năm',
14365            yy: '%d năm'
14366        },
14367        dayOfMonthOrdinalParse: /\d{1,2}/,
14368        ordinal: function (number) {
14369            return number;
14370        },
14371        week: {
14372            dow: 1, // Monday is the first day of the week.
14373            doy: 4  // The week that contains Jan 4th is the first week of the year.
14374        }
14375    });
14376
14377    //! moment.js locale configuration
14378
14379    hooks.defineLocale('x-pseudo', {
14380        months: 'J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér'.split('_'),
14381        monthsShort: 'J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc'.split('_'),
14382        monthsParseExact: true,
14383        weekdays: 'S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý'.split('_'),
14384        weekdaysShort: 'S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát'.split('_'),
14385        weekdaysMin: 'S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá'.split('_'),
14386        weekdaysParseExact: true,
14387        longDateFormat: {
14388            LT: 'HH:mm',
14389            L: 'DD/MM/YYYY',
14390            LL: 'D MMMM YYYY',
14391            LLL: 'D MMMM YYYY HH:mm',
14392            LLLL: 'dddd, D MMMM YYYY HH:mm'
14393        },
14394        calendar: {
14395            sameDay: '[T~ódá~ý át] LT',
14396            nextDay: '[T~ómó~rró~w át] LT',
14397            nextWeek: 'dddd [át] LT',
14398            lastDay: '[Ý~ést~érdá~ý át] LT',
14399            lastWeek: '[L~ást] dddd [át] LT',
14400            sameElse: 'L'
14401        },
14402        relativeTime: {
14403            future: 'í~ñ %s',
14404            past: '%s á~gó',
14405            s: 'á ~féw ~sécó~ñds',
14406            ss: '%d s~écóñ~ds',
14407            m: 'á ~míñ~úté',
14408            mm: '%d m~íñú~tés',
14409            h: 'á~ñ hó~úr',
14410            hh: '%d h~óúrs',
14411            d: 'á ~dáý',
14412            dd: '%d d~áýs',
14413            M: 'á ~móñ~th',
14414            MM: '%d m~óñt~hs',
14415            y: 'á ~ýéár',
14416            yy: '%d ý~éárs'
14417        },
14418        dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/,
14419        ordinal: function (number) {
14420            var b = number % 10,
14421                output = (~~(number % 100 / 10) === 1) ? 'th' :
14422                    (b === 1) ? 'st' :
14423                        (b === 2) ? 'nd' :
14424                            (b === 3) ? 'rd' : 'th';
14425            return number + output;
14426        },
14427        week: {
14428            dow: 1, // Monday is the first day of the week.
14429            doy: 4  // The week that contains Jan 4th is the first week of the year.
14430        }
14431    });
14432
14433    //! moment.js locale configuration
14434
14435    hooks.defineLocale('yo', {
14436        months: 'Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀'.split('_'),
14437        monthsShort: 'Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀'.split('_'),
14438        weekdays: 'Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta'.split('_'),
14439        weekdaysShort: 'Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá'.split('_'),
14440        weekdaysMin: 'Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb'.split('_'),
14441        longDateFormat: {
14442            LT: 'h:mm A',
14443            LTS: 'h:mm:ss A',
14444            L: 'DD/MM/YYYY',
14445            LL: 'D MMMM YYYY',
14446            LLL: 'D MMMM YYYY h:mm A',
14447            LLLL: 'dddd, D MMMM YYYY h:mm A'
14448        },
14449        calendar: {
14450            sameDay: '[Ònì ni] LT',
14451            nextDay: '[Ọ̀la ni] LT',
14452            nextWeek: 'dddd [Ọsẹ̀ tón\'bọ] [ni] LT',
14453            lastDay: '[Àna ni] LT',
14454            lastWeek: 'dddd [Ọsẹ̀ tólọ́] [ni] LT',
14455            sameElse: 'L'
14456        },
14457        relativeTime: {
14458            future: 'ní %s',
14459            past: '%s kọjá',
14460            s: 'ìsẹjú aayá die',
14461            ss: 'aayá %d',
14462            m: 'ìsẹjú kan',
14463            mm: 'ìsẹjú %d',
14464            h: 'wákati kan',
14465            hh: 'wákati %d',
14466            d: 'ọjọ́ kan',
14467            dd: 'ọjọ́ %d',
14468            M: 'osù kan',
14469            MM: 'osù %d',
14470            y: 'ọdún kan',
14471            yy: 'ọdún %d'
14472        },
14473        dayOfMonthOrdinalParse: /ọjọ́\s\d{1,2}/,
14474        ordinal: 'ọjọ́ %d',
14475        week: {
14476            dow: 1, // Monday is the first day of the week.
14477            doy: 4 // The week that contains Jan 4th is the first week of the year.
14478        }
14479    });
14480
14481    //! moment.js locale configuration
14482
14483    hooks.defineLocale('zh-cn', {
14484        months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'),
14485        monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),
14486        weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),
14487        weekdaysShort: '周日_周一_周二_周三_周四_周五_周六'.split('_'),
14488        weekdaysMin: '日_一_二_三_四_五_六'.split('_'),
14489        longDateFormat: {
14490            LT: 'HH:mm',
14491            LTS: 'HH:mm:ss',
14492            L: 'YYYY/MM/DD',
14493            LL: 'YYYY年M月D日',
14494            LLL: 'YYYY年M月D日Ah点mm分',
14495            LLLL: 'YYYY年M月D日ddddAh点mm分',
14496            l: 'YYYY/M/D',
14497            ll: 'YYYY年M月D日',
14498            lll: 'YYYY年M月D日 HH:mm',
14499            llll: 'YYYY年M月D日dddd HH:mm'
14500        },
14501        meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
14502        meridiemHour: function (hour, meridiem) {
14503            if (hour === 12) {
14504                hour = 0;
14505            }
14506            if (meridiem === '凌晨' || meridiem === '早上' ||
14507                meridiem === '上午') {
14508                return hour;
14509            } else if (meridiem === '下午' || meridiem === '晚上') {
14510                return hour + 12;
14511            } else {
14512                // '中午'
14513                return hour >= 11 ? hour : hour + 12;
14514            }
14515        },
14516        meridiem: function (hour, minute, isLower) {
14517            var hm = hour * 100 + minute;
14518            if (hm < 600) {
14519                return '凌晨';
14520            } else if (hm < 900) {
14521                return '早上';
14522            } else if (hm < 1130) {
14523                return '上午';
14524            } else if (hm < 1230) {
14525                return '中午';
14526            } else if (hm < 1800) {
14527                return '下午';
14528            } else {
14529                return '晚上';
14530            }
14531        },
14532        calendar: {
14533            sameDay: '[今天]LT',
14534            nextDay: '[明天]LT',
14535            nextWeek: '[下]ddddLT',
14536            lastDay: '[昨天]LT',
14537            lastWeek: '[上]ddddLT',
14538            sameElse: 'L'
14539        },
14540        dayOfMonthOrdinalParse: /\d{1,2}(日|月|周)/,
14541        ordinal: function (number, period) {
14542            switch (period) {
14543                case 'd':
14544                case 'D':
14545                case 'DDD':
14546                    return number + '日';
14547                case 'M':
14548                    return number + '月';
14549                case 'w':
14550                case 'W':
14551                    return number + '周';
14552                default:
14553                    return number;
14554            }
14555        },
14556        relativeTime: {
14557            future: '%s内',
14558            past: '%s前',
14559            s: '几秒',
14560            ss: '%d 秒',
14561            m: '1 分钟',
14562            mm: '%d 分钟',
14563            h: '1 小时',
14564            hh: '%d 小时',
14565            d: '1 天',
14566            dd: '%d 天',
14567            M: '1 个月',
14568            MM: '%d 个月',
14569            y: '1 å¹´',
14570            yy: '%d å¹´'
14571        },
14572        week: {
14573            // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效
14574            dow: 1, // Monday is the first day of the week.
14575            doy: 4  // The week that contains Jan 4th is the first week of the year.
14576        }
14577    });
vendor: 6,479 bytes, lines 14578-14759
14578
14579    //! moment.js locale configuration
14580
14581    hooks.defineLocale('zh-hk', {
14582        months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'),
14583        monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),
14584        weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),
14585        weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'),
14586        weekdaysMin: '日_一_二_三_四_五_六'.split('_'),
14587        longDateFormat: {
14588            LT: 'HH:mm',
14589            LTS: 'HH:mm:ss',
14590            L: 'YYYY/MM/DD',
14591            LL: 'YYYY年M月D日',
14592            LLL: 'YYYY年M月D日 HH:mm',
14593            LLLL: 'YYYY年M月D日dddd HH:mm',
14594            l: 'YYYY/M/D',
14595            ll: 'YYYY年M月D日',
14596            lll: 'YYYY年M月D日 HH:mm',
14597            llll: 'YYYY年M月D日dddd HH:mm'
14598        },
14599        meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
14600        meridiemHour: function (hour, meridiem) {
14601            if (hour === 12) {
14602                hour = 0;
14603            }
14604            if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {
14605                return hour;
14606            } else if (meridiem === '中午') {
14607                return hour >= 11 ? hour : hour + 12;
14608            } else if (meridiem === '下午' || meridiem === '晚上') {
14609                return hour + 12;
14610            }
14611        },
14612        meridiem: function (hour, minute, isLower) {
14613            var hm = hour * 100 + minute;
14614            if (hm < 600) {
14615                return '凌晨';
14616            } else if (hm < 900) {
14617                return '早上';
14618            } else if (hm < 1130) {
14619                return '上午';
14620            } else if (hm < 1230) {
14621                return '中午';
14622            } else if (hm < 1800) {
14623                return '下午';
14624            } else {
14625                return '晚上';
14626            }
14627        },
14628        calendar: {
14629            sameDay: '[今天]LT',
14630            nextDay: '[明天]LT',
14631            nextWeek: '[下]ddddLT',
14632            lastDay: '[昨天]LT',
14633            lastWeek: '[上]ddddLT',
14634            sameElse: 'L'
14635        },
14636        dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/,
14637        ordinal: function (number, period) {
14638            switch (period) {
14639                case 'd':
14640                case 'D':
14641                case 'DDD':
14642                    return number + '日';
14643                case 'M':
14644                    return number + '月';
14645                case 'w':
14646                case 'W':
14647                    return number + '週';
14648                default:
14649                    return number;
14650            }
14651        },
14652        relativeTime: {
14653            future: '%s內',
14654            past: '%s前',
14655            s: '幾秒',
14656            ss: '%d 秒',
14657            m: '1 分鐘',
14658            mm: '%d 分鐘',
14659            h: '1 小時',
14660            hh: '%d 小時',
14661            d: '1 天',
14662            dd: '%d 天',
14663            M: '1 個月',
14664            MM: '%d 個月',
14665            y: '1 å¹´',
14666            yy: '%d å¹´'
14667        }
14668    });
14669
14670    //! moment.js locale configuration
14671
14672    hooks.defineLocale('zh-tw', {
14673        months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'),
14674        monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),
14675        weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),
14676        weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'),
14677        weekdaysMin: '日_一_二_三_四_五_六'.split('_'),
14678        longDateFormat: {
14679            LT: 'HH:mm',
14680            LTS: 'HH:mm:ss',
14681            L: 'YYYY/MM/DD',
14682            LL: 'YYYY年M月D日',
14683            LLL: 'YYYY年M月D日 HH:mm',
14684            LLLL: 'YYYY年M月D日dddd HH:mm',
14685            l: 'YYYY/M/D',
14686            ll: 'YYYY年M月D日',
14687            lll: 'YYYY年M月D日 HH:mm',
14688            llll: 'YYYY年M月D日dddd HH:mm'
14689        },
14690        meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
14691        meridiemHour: function (hour, meridiem) {
14692            if (hour === 12) {
14693                hour = 0;
14694            }
14695            if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {
14696                return hour;
14697            } else if (meridiem === '中午') {
14698                return hour >= 11 ? hour : hour + 12;
14699            } else if (meridiem === '下午' || meridiem === '晚上') {
14700                return hour + 12;
14701            }
14702        },
14703        meridiem: function (hour, minute, isLower) {
14704            var hm = hour * 100 + minute;
14705            if (hm < 600) {
14706                return '凌晨';
14707            } else if (hm < 900) {
14708                return '早上';
14709            } else if (hm < 1130) {
14710                return '上午';
14711            } else if (hm < 1230) {
14712                return '中午';
14713            } else if (hm < 1800) {
14714                return '下午';
14715            } else {
14716                return '晚上';
14717            }
14718        },
14719        calendar: {
14720            sameDay: '[今天] LT',
14721            nextDay: '[明天] LT',
14722            nextWeek: '[下]dddd LT',
14723            lastDay: '[昨天] LT',
14724            lastWeek: '[上]dddd LT',
14725            sameElse: 'L'
14726        },
14727        dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/,
14728        ordinal: function (number, period) {
14729            switch (period) {
14730                case 'd':
14731                case 'D':
14732                case 'DDD':
14733                    return number + '日';
14734                case 'M':
14735                    return number + '月';
14736                case 'w':
14737                case 'W':
14738                    return number + '週';
14739                default:
14740                    return number;
14741            }
14742        },
14743        relativeTime: {
14744            future: '%s內',
14745            past: '%s前',
14746            s: '幾秒',
14747            ss: '%d 秒',
14748            m: '1 分鐘',
14749            mm: '%d 分鐘',
14750            h: '1 小時',
14751            hh: '%d 小時',
14752            d: '1 天',
14753            dd: '%d 天',
14754            M: '1 個月',
14755            MM: '%d 個月',
14756            y: '1 å¹´',
14757            yy: '%d å¹´'
14758        }
14759    });
14760
14761    hooks.locale('en');
14762
14763    return hooks;
14764
14765})));

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.