PageSourceSearch

https://www.akris.es/design/themes/InmoBS3/bootstrap/js/moment-with-langs.js

js akris.es collected 2026-10-05 05:41:58 UTC 301,138 bytes, 8,521 lines download raw bytes

1//! moment.js
2//! version : 2.7.0
3//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
4//! license : MIT
5//! momentjs.com
6
7(function (undefined) {
8
9    /************************************
10        Constants
11    ************************************/
12
13    var moment,
14        VERSION = "2.7.0",
15        // the global-scope this is NOT the global object in Node.js
16        globalScope = typeof global !== 'undefined' ? global : this,
17        oldGlobalMoment,
18        round = Math.round,
19        i,
20
21        YEAR = 0,
22        MONTH = 1,
23        DATE = 2,
24        HOUR = 3,
25        MINUTE = 4,
26        SECOND = 5,
27        MILLISECOND = 6,
28
29        // internal storage for language config files
30        languages = {},
31
32        // moment internal properties
33        momentProperties = {
34            _isAMomentObject: null,
35            _i : null,
36            _f : null,
37            _l : null,
38            _strict : null,
39            _tzm : null,
40            _isUTC : null,
41            _offset : null,  // optional. Combine with _isUTC
42            _pf : null,
43            _lang : null  // optional
44        },
45
46        // check for nodeJS
47        hasModule = (typeof module !== 'undefined' && module.exports),
48
49        // ASP.NET json date format regex
50        aspNetJsonRegex = /^\/?Date\((\-?\d+)/i,
51        aspNetTimeSpanJsonRegex = /(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,
52
53        // from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html
54        // somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere
55        isoDurationRegex = /^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/,
56
57        // format tokens
58        formattingTokens = /(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,4}|X|zz?|ZZ?|.)/g,
59        localFormattingTokens = /(\[[^\[]*\])|(\\)?(LT|LL?L?L?|l{1,4})/g,
60
61        // parsing token regexes
62        parseTokenOneOrTwoDigits = /\d\d?/, // 0 - 99
63        parseTokenOneToThreeDigits = /\d{1,3}/, // 0 - 999
64        parseTokenOneToFourDigits = /\d{1,4}/, // 0 - 9999
65        parseTokenOneToSixDigits = /[+\-]?\d{1,6}/, // -999,999 - 999,999
66        parseTokenDigits = /\d+/, // nonzero number of digits
67        parseTokenWord = /[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i, // any word (or two) characters or numbers including two/three word month in arabic.
68        parseTokenTimezone = /Z|[\+\-]\d\d:?\d\d/gi, // +00:00 -00:00 +0000 -0000 or Z
69        parseTokenT = /T/i, // T (ISO separator)
70        parseTokenTimestampMs = /[\+\-]?\d+(\.\d{1,3})?/, // 123456789 123456789.123
71        parseTokenOrdinal = /\d{1,2}/,
72
73        //strict parsing regexes
74        parseTokenOneDigit = /\d/, // 0 - 9
75        parseTokenTwoDigits = /\d\d/, // 00 - 99
76        parseTokenThreeDigits = /\d{3}/, // 000 - 999
77        parseTokenFourDigits = /\d{4}/, // 0000 - 9999
78        parseTokenSixDigits = /[+-]?\d{6}/, // -999,999 - 999,999
79        parseTokenSignedNumber = /[+-]?\d+/, // -inf - inf
80
81        // iso 8601 regex
82        // 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)
83        isoRegex = /^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,
84
85        isoFormat = 'YYYY-MM-DDTHH:mm:ssZ',
86
87        isoDates = [
88            ['YYYYYY-MM-DD', /[+-]\d{6}-\d{2}-\d{2}/],
89            ['YYYY-MM-DD', /\d{4}-\d{2}-\d{2}/],
90            ['GGGG-[W]WW-E', /\d{4}-W\d{2}-\d/],
91            ['GGGG-[W]WW', /\d{4}-W\d{2}/],
92            ['YYYY-DDD', /\d{4}-\d{3}/]
93        ],
94
95        // iso time formats and regexes
96        isoTimes = [
97            ['HH:mm:ss.SSSS', /(T| )\d\d:\d\d:\d\d\.\d+/],
98            ['HH:mm:ss', /(T| )\d\d:\d\d:\d\d/],
99            ['HH:mm', /(T| )\d\d:\d\d/],
100            ['HH', /(T| )\d\d/]
101        ],
102
103        // timezone chunker "+10:00" > ["10", "00"] or "-1530" > ["-15", "30"]
104        parseTimezoneChunker = /([\+\-]|\d\d)/gi,
105
106        // getter and setter names
107        proxyGettersAndSetters = 'Date|Hours|Minutes|Seconds|Milliseconds'.split('|'),
108        unitMillisecondFactors = {
109            'Milliseconds' : 1,
110            'Seconds' : 1e3,
111            'Minutes' : 6e4,
112            'Hours' : 36e5,
113            'Days' : 864e5,
114            'Months' : 2592e6,
115            'Years' : 31536e6
116        },
117
118        unitAliases = {
119            ms : 'millisecond',
120            s : 'second',
121            m : 'minute',
122            h : 'hour',
123            d : 'day',
124            D : 'date',
125            w : 'week',
126            W : 'isoWeek',
127            M : 'month',
128            Q : 'quarter',
129            y : 'year',
130            DDD : 'dayOfYear',
131            e : 'weekday',
132            E : 'isoWeekday',
133            gg: 'weekYear',
134            GG: 'isoWeekYear'
135        },
136
137        camelFunctions = {
138            dayofyear : 'dayOfYear',
139            isoweekday : 'isoWeekday',
140            isoweek : 'isoWeek',
141            weekyear : 'weekYear',
142            isoweekyear : 'isoWeekYear'
143        },
144
145        // format function strings
146        formatFunctions = {},
147
148        // default relative time thresholds
149        relativeTimeThresholds = {
150          s: 45,   //seconds to minutes
151          m: 45,   //minutes to hours
152          h: 22,   //hours to days
153          dd: 25,  //days to month (month == 1)
154          dm: 45,  //days to months (months > 1)
155          dy: 345  //days to year
156        },
157
158        // tokens to ordinalize and pad
159        ordinalizeTokens = 'DDD w W M D d'.split(' '),
160        paddedTokens = 'M D H h m s w W'.split(' '),
161
162        formatTokenFunctions = {
163            M    : function () {
164                return this.month() + 1;
165            },
166            MMM  : function (format) {
167                return this.lang().monthsShort(this, format);
168            },
169            MMMM : function (format) {
170                return this.lang().months(this, format);
171            },
172            D    : function () {
173                return this.date();
174            },
175            DDD  : function () {
176                return this.dayOfYear();
177            },
178            d    : function () {
179                return this.day();
180            },
181            dd   : function (format) {
182                return this.lang().weekdaysMin(this, format);
183            },
184            ddd  : function (format) {
185                return this.lang().weekdaysShort(this, format);
186            },
187            dddd : function (format) {
188                return this.lang().weekdays(this, format);
189            },
190            w    : function () {
191                return this.week();
192            },
193            W    : function () {
194                return this.isoWeek();
195            },
196            YY   : function () {
197                return leftZeroFill(this.year() % 100, 2);
198            },
199            YYYY : function () {
200                return leftZeroFill(this.year(), 4);
201            },
202            YYYYY : function () {
203                return leftZeroFill(this.year(), 5);
204            },
205            YYYYYY : function () {
206                var y = this.year(), sign = y >= 0 ? '+' : '-';
207                return sign + leftZeroFill(Math.abs(y), 6);
208            },
209            gg   : function () {
210                return leftZeroFill(this.weekYear() % 100, 2);
211            },
212            gggg : function () {
213                return leftZeroFill(this.weekYear(), 4);
214            },
215            ggggg : function () {
216                return leftZeroFill(this.weekYear(), 5);
217            },
218            GG   : function () {
219                return leftZeroFill(this.isoWeekYear() % 100, 2);
220            },
221            GGGG : function () {
222                return leftZeroFill(this.isoWeekYear(), 4);
223            },
224            GGGGG : function () {
225                return leftZeroFill(this.isoWeekYear(), 5);
226            },
227            e : function () {
228                return this.weekday();
229            },
230            E : function () {
231                return this.isoWeekday();
232            },
233            a    : function () {
234                return this.lang().meridiem(this.hours(), this.minutes(), true);
235            },
236            A    : function () {
237                return this.lang().meridiem(this.hours(), this.minutes(), false);
238            },
239            H    : function () {
240                return this.hours();
241            },
242            h    : function () {
243                return this.hours() % 12 || 12;
244            },
245            m    : function () {
246                return this.minutes();
247            },
248            s    : function () {
249                return this.seconds();
250            },
251            S    : function () {
252                return toInt(this.milliseconds() / 100);
253            },
254            SS   : function () {
255                return leftZeroFill(toInt(this.milliseconds() / 10), 2);
256            },
257            SSS  : function () {
258                return leftZeroFill(this.milliseconds(), 3);
259            },
260            SSSS : function () {
261                return leftZeroFill(this.milliseconds(), 3);
262            },
263            Z    : function () {
264                var a = -this.zone(),
265                    b = "+";
266                if (a < 0) {
267                    a = -a;
268                    b = "-";
269                }
270                return b + leftZeroFill(toInt(a / 60), 2) + ":" + leftZeroFill(toInt(a) % 60, 2);
271            },
272            ZZ   : function () {
273                var a = -this.zone(),
274                    b = "+";
275                if (a < 0) {
276                    a = -a;
277                    b = "-";
278                }
279                return b + leftZeroFill(toInt(a / 60), 2) + leftZeroFill(toInt(a) % 60, 2);
280            },
281            z : function () {
282                return this.zoneAbbr();
283            },
284            zz : function () {
285                return this.zoneName();
286            },
287            X    : function () {
288                return this.unix();
289            },
290            Q : function () {
291                return this.quarter();
292            }
293        },
294
295        lists = ['months', 'monthsShort', 'weekdays', 'weekdaysShort', 'weekdaysMin'];
296
297    // Pick the first defined of two or three arguments. dfl comes from
298    // default.
299    function dfl(a, b, c) {
300        switch (arguments.length) {
301            case 2: return a != null ? a : b;
302            case 3: return a != null ? a : b != null ? b : c;
303            default: throw new Error("Implement me");
304        }
305    }
306
307    function defaultParsingFlags() {
308        // We need to deep clone this object, and es5 standard is not very
309        // helpful.
310        return {
311            empty : false,
312            unusedTokens : [],
313            unusedInput : [],
314            overflow : -2,
315            charsLeftOver : 0,
316            nullInput : false,
317            invalidMonth : null,
318            invalidFormat : false,
319            userInvalidated : false,
320            iso: false
321        };
322    }
323
324    function deprecate(msg, fn) {
325        var firstTime = true;
326        function printMsg() {
327            if (moment.suppressDeprecationWarnings === false &&
328                    typeof console !== 'undefined' && console.warn) {
329                console.warn("Deprecation warning: " + msg);
330            }
331        }
332        return extend(function () {
333            if (firstTime) {
334                printMsg();
335                firstTime = false;
336            }
337            return fn.apply(this, arguments);
338        }, fn);
339    }
340
341    function padToken(func, count) {
342        return function (a) {
343            return leftZeroFill(func.call(this, a), count);
344        };
345    }
346    function ordinalizeToken(func, period) {
347        return function (a) {
348            return this.lang().ordinal(func.call(this, a), period);
349        };
350    }
351
352    while (ordinalizeTokens.length) {
353        i = ordinalizeTokens.pop();
354        formatTokenFunctions[i + 'o'] = ordinalizeToken(formatTokenFunctions[i], i);
355    }
356    while (paddedTokens.length) {
357        i = paddedTokens.pop();
358        formatTokenFunctions[i + i] = padToken(formatTokenFunctions[i], 2);
359    }
360    formatTokenFunctions.DDDD = padToken(formatTokenFunctions.DDD, 3);
361
362
363    /************************************
364        Constructors
365    ************************************/
366
367    function Language() {
368
369    }
370
371    // Moment prototype object
372    function Moment(config) {
373        checkOverflow(config);
374        extend(this, config);
375    }
376
377    // Duration Constructor
378    function Duration(duration) {
379        var normalizedInput = normalizeObjectUnits(duration),
380            years = normalizedInput.year || 0,
381            quarters = normalizedInput.quarter || 0,
382            months = normalizedInput.month || 0,
383            weeks = normalizedInput.week || 0,
384            days = normalizedInput.day || 0,
385            hours = normalizedInput.hour || 0,
386            minutes = normalizedInput.minute || 0,
387            seconds = normalizedInput.second || 0,
388            milliseconds = normalizedInput.millisecond || 0;
389
390        // representation for dateAddRemove
391        this._milliseconds = +milliseconds +
392            seconds * 1e3 + // 1000
393            minutes * 6e4 + // 1000 * 60
394            hours * 36e5; // 1000 * 60 * 60
395        // Because of dateAddRemove treats 24 hours as different from a
396        // day when working around DST, we need to store them separately
397        this._days = +days +
398            weeks * 7;
399        // It is impossible translate months into days without knowing
400        // which months you are are talking about, so we have to store
401        // it separately.
402        this._months = +months +
403            quarters * 3 +
404            years * 12;
405
406        this._data = {};
407
408        this._bubble();
409    }
410
411    /************************************
412        Helpers
413    ************************************/
414
415
416    function extend(a, b) {
417        for (var i in b) {
418            if (b.hasOwnProperty(i)) {
419                a[i] = b[i];
420            }
421        }
422
423        if (b.hasOwnProperty("toString")) {
424            a.toString = b.toString;
425        }
426
427        if (b.hasOwnProperty("valueOf")) {
428            a.valueOf = b.valueOf;
429        }
430
431        return a;
432    }
433
434    function cloneMoment(m) {
435        var result = {}, i;
436        for (i in m) {
437            if (m.hasOwnProperty(i) && momentProperties.hasOwnProperty(i)) {
438                result[i] = m[i];
439            }
440        }
441
442        return result;
443    }
444
445    function absRound(number) {
446        if (number < 0) {
447            return Math.ceil(number);
448        } else {
449            return Math.floor(number);
450        }
451    }
452
453    // left zero fill a number
454    // see http://jsperf.com/left-zero-filling for performance comparison
455    function leftZeroFill(number, targetLength, forceSign) {
456        var output = '' + Math.abs(number),
457            sign = number >= 0;
458
459        while (output.length < targetLength) {
460            output = '0' + output;
461        }
462        return (sign ? (forceSign ? '+' : '') : '-') + output;
463    }
464
465    // helper function for _.addTime and _.subtractTime
466    function addOrSubtractDurationFromMoment(mom, duration, isAdding, updateOffset) {
467        var milliseconds = duration._milliseconds,
468            days = duration._days,
469            months = duration._months;
470        updateOffset = updateOffset == null ? true : updateOffset;
471
472        if (milliseconds) {
473            mom._d.setTime(+mom._d + milliseconds * isAdding);
474        }
475        if (days) {
476            rawSetter(mom, 'Date', rawGetter(mom, 'Date') + days * isAdding);
477        }
478        if (months) {
479            rawMonthSetter(mom, rawGetter(mom, 'Month') + months * isAdding);
480        }
481        if (updateOffset) {
482            moment.updateOffset(mom, days || months);
483        }
484    }
485
486    // check if is an array
487    function isArray(input) {
488        return Object.prototype.toString.call(input) === '[object Array]';
489    }
490
491    function isDate(input) {
492        return  Object.prototype.toString.call(input) === '[object Date]' ||
493                input instanceof Date;
494    }
495
496    // compare two arrays, return the number of differences
497    function compareArrays(array1, array2, dontConvert) {
498        var len = Math.min(array1.length, array2.length),
499            lengthDiff = Math.abs(array1.length - array2.length),
500            diffs = 0,
501            i;
502        for (i = 0; i < len; i++) {
503            if ((dontConvert && array1[i] !== array2[i]) ||
504                (!dontConvert && toInt(array1[i]) !== toInt(array2[i]))) {
505                diffs++;
506            }
507        }
508        return diffs + lengthDiff;
509    }
510
511    function normalizeUnits(units) {
512        if (units) {
513            var lowered = units.toLowerCase().replace(/(.)s$/, '$1');
514            units = unitAliases[units] || camelFunctions[lowered] || lowered;
515        }
516        return units;
517    }
518
519    function normalizeObjectUnits(inputObject) {
520        var normalizedInput = {},
521            normalizedProp,
522            prop;
523
524        for (prop in inputObject) {
525            if (inputObject.hasOwnProperty(prop)) {
526                normalizedProp = normalizeUnits(prop);
527                if (normalizedProp) {
528                    normalizedInput[normalizedProp] = inputObject[prop];
529                }
530            }
531        }
532
533        return normalizedInput;
534    }
535
536    function makeList(field) {
537        var count, setter;
538
539        if (field.indexOf('week') === 0) {
540            count = 7;
541            setter = 'day';
542        }
543        else if (field.indexOf('month') === 0) {
544            count = 12;
545            setter = 'month';
546        }
547        else {
548            return;
549        }
550
551        moment[field] = function (format, index) {
552            var i, getter,
553                method = moment.fn._lang[field],
554                results = [];
555
556            if (typeof format === 'number') {
557                index = format;
558                format = undefined;
559            }
560
561            getter = function (i) {
562                var m = moment().utc().set(setter, i);
563                return method.call(moment.fn._lang, m, format || '');
564            };
565
566            if (index != null) {
567                return getter(index);
568            }
569            else {
570                for (i = 0; i < count; i++) {
571                    results.push(getter(i));
572                }
573                return results;
574            }
575        };
576    }
577
578    function toInt(argumentForCoercion) {
579        var coercedNumber = +argumentForCoercion,
580            value = 0;
581
582        if (coercedNumber !== 0 && isFinite(coercedNumber)) {
583            if (coercedNumber >= 0) {
584                value = Math.floor(coercedNumber);
585            } else {
586                value = Math.ceil(coercedNumber);
587            }
588        }
589
590        return value;
591    }
592
593    function daysInMonth(year, month) {
594        return new Date(Date.UTC(year, month + 1, 0)).getUTCDate();
595    }
596
597    function weeksInYear(year, dow, doy) {
598        return weekOfYear(moment([year, 11, 31 + dow - doy]), dow, doy).week;
599    }
600
601    function daysInYear(year) {
602        return isLeapYear(year) ? 366 : 365;
603    }
604
605    function isLeapYear(year) {
606        return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0;
607    }
608
609    function checkOverflow(m) {
610        var overflow;
611        if (m._a && m._pf.overflow === -2) {
612            overflow =
613                m._a[MONTH] < 0 || m._a[MONTH] > 11 ? MONTH :
614                m._a[DATE] < 1 || m._a[DATE] > daysInMonth(m._a[YEAR], m._a[MONTH]) ? DATE :
615                m._a[HOUR] < 0 || m._a[HOUR] > 23 ? HOUR :
616                m._a[MINUTE] < 0 || m._a[MINUTE] > 59 ? MINUTE :
617                m._a[SECOND] < 0 || m._a[SECOND] > 59 ? SECOND :
618                m._a[MILLISECOND] < 0 || m._a[MILLISECOND] > 999 ? MILLISECOND :
619                -1;
620
621            if (m._pf._overflowDayOfYear && (overflow < YEAR || overflow > DATE)) {
622                overflow = DATE;
623            }
624
625            m._pf.overflow = overflow;
626        }
627    }
628
629    function isValid(m) {
630        if (m._isValid == null) {
631            m._isValid = !isNaN(m._d.getTime()) &&
632                m._pf.overflow < 0 &&
633                !m._pf.empty &&
634                !m._pf.invalidMonth &&
635                !m._pf.nullInput &&
636                !m._pf.invalidFormat &&
637                !m._pf.userInvalidated;
638
639            if (m._strict) {
640                m._isValid = m._isValid &&
641                    m._pf.charsLeftOver === 0 &&
642                    m._pf.unusedTokens.length === 0;
643            }
644        }
645        return m._isValid;
646    }
647
648    function normalizeLanguage(key) {
649        return key ? key.toLowerCase().replace('_', '-') : key;
650    }
651
652    // Return a moment from input, that is local/utc/zone equivalent to model.
653    function makeAs(input, model) {
654        return model._isUTC ? moment(input).zone(model._offset || 0) :
655            moment(input).local();
656    }
657
658    /************************************
659        Languages
660    ************************************/
661
662
663    extend(Language.prototype, {
664
665        set : function (config) {
666            var prop, i;
667            for (i in config) {
668                prop = config[i];
669                if (typeof prop === 'function') {
670                    this[i] = prop;
671                } else {
672                    this['_' + i] = prop;
673                }
674            }
675        },
676
677        _months : "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
678        months : function (m) {
679            return this._months[m.month()];
680        },
681
682        _monthsShort : "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),
683        monthsShort : function (m) {
684            return this._monthsShort[m.month()];
685        },
686
687        monthsParse : function (monthName) {
688            var i, mom, regex;
689
690            if (!this._monthsParse) {
691                this._monthsParse = [];
692            }
693
694            for (i = 0; i < 12; i++) {
695                // make the regex if we don't have it already
696                if (!this._monthsParse[i]) {
697                    mom = moment.utc([2000, i]);
698                    regex = '^' + this.months(mom, '') + '|^' + this.monthsShort(mom, '');
699                    this._monthsParse[i] = new RegExp(regex.replace('.', ''), 'i');
700                }
701                // test the regex
702                if (this._monthsParse[i].test(monthName)) {
703                    return i;
704                }
705            }
706        },
707
708        _weekdays : "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
709        weekdays : function (m) {
710            return this._weekdays[m.day()];
711        },
712
713        _weekdaysShort : "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),
714        weekdaysShort : function (m) {
715            return this._weekdaysShort[m.day()];
716        },
717
718        _weekdaysMin : "Su_Mo_Tu_We_Th_Fr_Sa".split("_"),
719        weekdaysMin : function (m) {
720            return this._weekdaysMin[m.day()];
721        },
722
723        weekdaysParse : function (weekdayName) {
724            var i, mom, regex;
725
726            if (!this._weekdaysParse) {
727                this._weekdaysParse = [];
728            }
729
730            for (i = 0; i < 7; i++) {
731                // make the regex if we don't have it already
732                if (!this._weekdaysParse[i]) {
733                    mom = moment([2000, 1]).day(i);
734                    regex = '^' + this.weekdays(mom, '') + '|^' + this.weekdaysShort(mom, '') + '|^' + this.weekdaysMin(mom, '');
735                    this._weekdaysParse[i] = new RegExp(regex.replace('.', ''), 'i');
736                }
737                // test the regex
738                if (this._weekdaysParse[i].test(weekdayName)) {
739                    return i;
740                }
741            }
742        },
743
744        _longDateFormat : {
745            LT : "h:mm A",
746            L : "MM/DD/YYYY",
747            LL : "MMMM D YYYY",
748            LLL : "MMMM D YYYY LT",
749            LLLL : "dddd, MMMM D YYYY LT"
750        },
751        longDateFormat : function (key) {
752            var output = this._longDateFormat[key];
753            if (!output && this._longDateFormat[key.toUpperCase()]) {
754                output = this._longDateFormat[key.toUpperCase()].replace(/MMMM|MM|DD|dddd/g, function (val) {
755                    return val.slice(1);
756                });
757                this._longDateFormat[key] = output;
758            }
759            return output;
760        },
761
762        isPM : function (input) {
763            // IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays
764            // Using charAt should be more compatible.
765            return ((input + '').toLowerCase().charAt(0) === 'p');
766        },
767
768        _meridiemParse : /[ap]\.?m?\.?/i,
769        meridiem : function (hours, minutes, isLower) {
770            if (hours > 11) {
771                return isLower ? 'pm' : 'PM';
772            } else {
773                return isLower ? 'am' : 'AM';
774            }
775        },
776
777        _calendar : {
778            sameDay : '[Today at] LT',
779            nextDay : '[Tomorrow at] LT',
780            nextWeek : 'dddd [at] LT',
781            lastDay : '[Yesterday at] LT',
782            lastWeek : '[Last] dddd [at] LT',
783            sameElse : 'L'
784        },
785        calendar : function (key, mom) {
786            var output = this._calendar[key];
787            return typeof output === 'function' ? output.apply(mom) : output;
788        },
789
790        _relativeTime : {
791            future : "in %s",
792            past : "%s ago",
793            s : "a few seconds",
794            m : "a minute",
795            mm : "%d minutes",
796            h : "an hour",
797            hh : "%d hours",
798            d : "a day",
799            dd : "%d days",
800            M : "a month",
801            MM : "%d months",
802            y : "a year",
803            yy : "%d years"
804        },
805        relativeTime : function (number, withoutSuffix, string, isFuture) {
806            var output = this._relativeTime[string];
807            return (typeof output === 'function') ?
808                output(number, withoutSuffix, string, isFuture) :
809                output.replace(/%d/i, number);
810        },
811        pastFuture : function (diff, output) {
812            var format = this._relativeTime[diff > 0 ? 'future' : 'past'];
813            return typeof format === 'function' ? format(output) : format.replace(/%s/i, output);
814        },
815
816        ordinal : function (number) {
817            return this._ordinal.replace("%d", number);
818        },
819        _ordinal : "%d",
820
821        preparse : function (string) {
822            return string;
823        },
824
825        postformat : function (string) {
826            return string;
827        },
828
829        week : function (mom) {
830            return weekOfYear(mom, this._week.dow, this._week.doy).week;
831        },
832
833        _week : {
834            dow : 0, // Sunday is the first day of the week.
835            doy : 6  // The week that contains Jan 1st is the first week of the year.
836        },
837
838        _invalidDate: 'Invalid date',
839        invalidDate: function () {
840            return this._invalidDate;
841        }
842    });
843
844    // Loads a language definition into the `languages` cache.  The function
845    // takes a key and optionally values.  If not in the browser and no values
846    // are provided, it will load the language file module.  As a convenience,
847    // this function also returns the language values.
848    function loadLang(key, values) {
849        values.abbr = key;
850        if (!languages[key]) {
851            languages[key] = new Language();
852        }
853        languages[key].set(values);
854        return languages[key];
855    }
856
857    // Remove a language from the `languages` cache. Mostly useful in tests.
858    function unloadLang(key) {
859        delete languages[key];
860    }
861
862    // Determines which language definition to use and returns it.
863    //
864    // With no parameters, it will return the global language.  If you
865    // pass in a language key, such as 'en', it will return the
866    // definition for 'en', so long as 'en' has already been loaded using
867    // moment.lang.
868    function getLangDefinition(key) {
869        var i = 0, j, lang, next, split,
870            get = function (k) {
871                if (!languages[k] && hasModule) {
872                    try {
873                        require('./lang/' + k);
874                    } catch (e) { }
875                }
876                return languages[k];
877            };
878
879        if (!key) {
880            return moment.fn._lang;
881        }
882
883        if (!isArray(key)) {
884            //short-circuit everything else
885            lang = get(key);
886            if (lang) {
887                return lang;
888            }
889            key = [key];
890        }
891
892        //pick the language from the array
893        //try ['en-au', 'en-gb'] as 'en-au', 'en-gb', 'en', as in move through the list trying each
894        //substring from most specific to least, but move to the next array item if it's a more specific variant than the current root
895        while (i < key.length) {
896            split = normalizeLanguage(key[i]).split('-');
897            j = split.length;
898            next = normalizeLanguage(key[i + 1]);
899            next = next ? next.split('-') : null;
900            while (j > 0) {
901                lang = get(split.slice(0, j).join('-'));
902                if (lang) {
903                    return lang;
904                }
905                if (next && next.length >= j && compareArrays(split, next, true) >= j - 1) {
906                    //the next array item is better than a shallower substring of this one
907                    break;
908                }
909                j--;
910            }
911            i++;
912        }
913        return moment.fn._lang;
914    }
915
916    /************************************
917        Formatting
918    ************************************/
919
920
921    function removeFormattingTokens(input) {
922        if (input.match(/\[[\s\S]/)) {
923            return input.replace(/^\[|\]$/g, "");
924        }
925        return input.replace(/\\/g, "");
926    }
927
928    function makeFormatFunction(format) {
929        var array = format.match(formattingTokens), i, length;
930
931        for (i = 0, length = array.length; i < length; i++) {
932            if (formatTokenFunctions[array[i]]) {
933                array[i] = formatTokenFunctions[array[i]];
934            } else {
935                array[i] = removeFormattingTokens(array[i]);
936            }
937        }
938
939        return function (mom) {
940            var output = "";
941            for (i = 0; i < length; i++) {
942                output += array[i] instanceof Function ? array[i].call(mom, format) : array[i];
943            }
944            return output;
945        };
946    }
947
948    // format date using native date object
949    function formatMoment(m, format) {
950
951        if (!m.isValid()) {
952            return m.lang().invalidDate();
953        }
954
955        format = expandFormat(format, m.lang());
956
957        if (!formatFunctions[format]) {
958            formatFunctions[format] = makeFormatFunction(format);
959        }
960
961        return formatFunctions[format](m);
962    }
963
964    function expandFormat(format, lang) {
965        var i = 5;
966
967        function replaceLongDateFormatTokens(input) {
968            return lang.longDateFormat(input) || input;
969        }
970
971        localFormattingTokens.lastIndex = 0;
972        while (i >= 0 && localFormattingTokens.test(format)) {
973            format = format.replace(localFormattingTokens, replaceLongDateFormatTokens);
974            localFormattingTokens.lastIndex = 0;
975            i -= 1;
976        }
977
978        return format;
979    }
980
981
982    /************************************
983        Parsing
984    ************************************/
985
986
987    // get the regex to find the next token
988    function getParseRegexForToken(token, config) {
989        var a, strict = config._strict;
990        switch (token) {
991        case 'Q':
992            return parseTokenOneDigit;
993        case 'DDDD':
994            return parseTokenThreeDigits;
995        case 'YYYY':
996        case 'GGGG':
997        case 'gggg':
998            return strict ? parseTokenFourDigits : parseTokenOneToFourDigits;
999        case 'Y':
1000        case 'G':
1001        case 'g':
1002            return parseTokenSignedNumber;
1003        case 'YYYYYY':
1004        case 'YYYYY':
1005        case 'GGGGG':
1006        case 'ggggg':
1007            return strict ? parseTokenSixDigits : parseTokenOneToSixDigits;
1008        case 'S':
1009            if (strict) { return parseTokenOneDigit; }
1010            /* falls through */
1011        case 'SS':
1012            if (strict) { return parseTokenTwoDigits; }
1013            /* falls through */
1014        case 'SSS':
1015            if (strict) { return parseTokenThreeDigits; }
1016            /* falls through */
1017        case 'DDD':
1018            return parseTokenOneToThreeDigits;
1019        case 'MMM':
1020        case 'MMMM':
1021        case 'dd':
1022        case 'ddd':
1023        case 'dddd':
1024            return parseTokenWord;
1025        case 'a':
1026        case 'A':
1027            return getLangDefinition(config._l)._meridiemParse;
1028        case 'X':
1029            return parseTokenTimestampMs;
1030        case 'Z':
1031        case 'ZZ':
1032            return parseTokenTimezone;
1033        case 'T':
1034            return parseTokenT;
1035        case 'SSSS':
1036            return parseTokenDigits;
1037        case 'MM':
1038        case 'DD':
1039        case 'YY':
1040        case 'GG':
1041        case 'gg':
1042        case 'HH':
1043        case 'hh':
1044        case 'mm':
1045        case 'ss':
1046        case 'ww':
1047        case 'WW':
1048            return strict ? parseTokenTwoDigits : parseTokenOneOrTwoDigits;
1049        case 'M':
1050        case 'D':
1051        case 'd':
1052        case 'H':
1053        case 'h':
1054        case 'm':
1055        case 's':
1056        case 'w':
1057        case 'W':
1058        case 'e':
1059        case 'E':
1060            return parseTokenOneOrTwoDigits;
1061        case 'Do':
1062            return parseTokenOrdinal;
1063        default :
1064            a = new RegExp(regexpEscape(unescapeFormat(token.replace('\\', '')), "i"));
1065            return a;
1066        }
1067    }
1068
1069    function timezoneMinutesFromString(string) {
1070        string = string || "";
1071        var possibleTzMatches = (string.match(parseTokenTimezone) || []),
1072            tzChunk = possibleTzMatches[possibleTzMatches.length - 1] || [],
1073            parts = (tzChunk + '').match(parseTimezoneChunker) || ['-', 0, 0],
1074            minutes = +(parts[1] * 60) + toInt(parts[2]);
1075
1076        return parts[0] === '+' ? -minutes : minutes;
1077    }
1078
1079    // function to convert string input to date
1080    function addTimeToArrayFromToken(token, input, config) {
1081        var a, datePartArray = config._a;
1082
1083        switch (token) {
1084        // QUARTER
1085        case 'Q':
1086            if (input != null) {
1087                datePartArray[MONTH] = (toInt(input) - 1) * 3;
1088            }
1089            break;
1090        // MONTH
1091        case 'M' : // fall through to MM
1092        case 'MM' :
1093            if (input != null) {
1094                datePartArray[MONTH] = toInt(input) - 1;
1095            }
1096            break;
1097        case 'MMM' : // fall through to MMMM
1098        case 'MMMM' :
1099            a = getLangDefinition(config._l).monthsParse(input);
1100            // if we didn't find a month name, mark the date as invalid.
1101            if (a != null) {
1102                datePartArray[MONTH] = a;
1103            } else {
1104                config._pf.invalidMonth = input;
1105            }
1106            break;
1107        // DAY OF MONTH
1108        case 'D' : // fall through to DD
1109        case 'DD' :
1110            if (input != null) {
1111                datePartArray[DATE] = toInt(input);
1112            }
1113            break;
1114        case 'Do' :
1115            if (input != null) {
1116                datePartArray[DATE] = toInt(parseInt(input, 10));
1117            }
1118            break;
1119        // DAY OF YEAR
1120        case 'DDD' : // fall through to DDDD
1121        case 'DDDD' :
1122            if (input != null) {
1123                config._dayOfYear = toInt(input);
1124            }
1125
1126            break;
1127        // YEAR
1128        case 'YY' :
1129            datePartArray[YEAR] = moment.parseTwoDigitYear(input);
1130            break;
1131        case 'YYYY' :
1132        case 'YYYYY' :
1133        case 'YYYYYY' :
1134            datePartArray[YEAR] = toInt(input);
1135            break;
1136        // AM / PM
1137        case 'a' : // fall through to A
1138        case 'A' :
1139            config._isPm = getLangDefinition(config._l).isPM(input);
1140            break;
1141        // 24 HOUR
1142        case 'H' : // fall through to hh
1143        case 'HH' : // fall through to hh
1144        case 'h' : // fall through to hh
1145        case 'hh' :
1146            datePartArray[HOUR] = toInt(input);
1147            break;
1148        // MINUTE
1149        case 'm' : // fall through to mm
1150        case 'mm' :
1151            datePartArray[MINUTE] = toInt(input);
1152            break;
1153        // SECOND
1154        case 's' : // fall through to ss
1155        case 'ss' :
1156            datePartArray[SECOND] = toInt(input);
1157            break;
1158        // MILLISECOND
1159        case 'S' :
1160        case 'SS' :
1161        case 'SSS' :
1162        case 'SSSS' :
1163            datePartArray[MILLISECOND] = toInt(('0.' + input) * 1000);
1164            break;
1165        // UNIX TIMESTAMP WITH MS
1166        case 'X':
1167            config._d = new Date(parseFloat(input) * 1000);
1168            break;
1169        // TIMEZONE
1170        case 'Z' : // fall through to ZZ
1171        case 'ZZ' :
1172            config._useUTC = true;
1173            config._tzm = timezoneMinutesFromString(input);
1174            break;
1175        // WEEKDAY - human
1176        case 'dd':
1177        case 'ddd':
1178        case 'dddd':
1179            a = getLangDefinition(config._l).weekdaysParse(input);
1180            // if we didn't get a weekday name, mark the date as invalid
1181            if (a != null) {
1182                config._w = config._w || {};
1183                config._w['d'] = a;
1184            } else {
1185                config._pf.invalidWeekday = input;
1186            }
1187            break;
1188        // WEEK, WEEK DAY - numeric
1189        case 'w':
1190        case 'ww':
1191        case 'W':
1192        case 'WW':
1193        case 'd':
1194        case 'e':
1195        case 'E':
1196            token = token.substr(0, 1);
1197            /* falls through */
1198        case 'gggg':
1199        case 'GGGG':
1200        case 'GGGGG':
1201            token = token.substr(0, 2);
1202            if (input) {
1203                config._w = config._w || {};
1204                config._w[token] = toInt(input);
1205            }
1206            break;
1207        case 'gg':
1208        case 'GG':
1209            config._w = config._w || {};
1210            config._w[token] = moment.parseTwoDigitYear(input);
1211        }
1212    }
1213
1214    function dayOfYearFromWeekInfo(config) {
1215        var w, weekYear, week, weekday, dow, doy, temp, lang;
1216
1217        w = config._w;
1218        if (w.GG != null || w.W != null || w.E != null) {
1219            dow = 1;
1220            doy = 4;
1221
1222            // TODO: We need to take the current isoWeekYear, but that depends on
1223            // how we interpret now (local, utc, fixed offset). So create
1224            // a now version of current config (take local/utc/offset flags, and
1225            // create now).
1226            weekYear = dfl(w.GG, config._a[YEAR], weekOfYear(moment(), 1, 4).year);
1227            week = dfl(w.W, 1);
1228            weekday = dfl(w.E, 1);
1229        } else {
1230            lang = getLangDefinition(config._l);
1231            dow = lang._week.dow;
1232            doy = lang._week.doy;
1233
1234            weekYear = dfl(w.gg, config._a[YEAR], weekOfYear(moment(), dow, doy).year);
1235            week = dfl(w.w, 1);
1236
1237            if (w.d != null) {
1238                // weekday -- low day numbers are considered next week
1239                weekday = w.d;
1240                if (weekday < dow) {
1241                    ++week;
1242                }
1243            } else if (w.e != null) {
1244                // local weekday -- counting starts from begining of week
1245                weekday = w.e + dow;
1246            } else {
1247                // default to begining of week
1248                weekday = dow;
1249            }
1250        }
1251        temp = dayOfYearFromWeeks(weekYear, week, weekday, doy, dow);
1252
1253        config._a[YEAR] = temp.year;
1254        config._dayOfYear = temp.dayOfYear;
1255    }
1256
1257    // convert an array to a date.
1258    // the array should mirror the parameters below
1259    // note: all values past the year are optional and will default to the lowest possible value.
1260    // [year, month, day , hour, minute, second, millisecond]
1261    function dateFromConfig(config) {
1262        var i, date, input = [], currentDate, yearToUse;
1263
1264        if (config._d) {
1265            return;
1266        }
1267
1268        currentDate = currentDateArray(config);
1269
1270        //compute day of the year from weeks and weekdays
1271        if (config._w && config._a[DATE] == null && config._a[MONTH] == null) {
1272            dayOfYearFromWeekInfo(config);
1273        }
1274
1275        //if the day of the year is set, figure out what it is
1276        if (config._dayOfYear) {
1277            yearToUse = dfl(config._a[YEAR], currentDate[YEAR]);
1278
1279            if (config._dayOfYear > daysInYear(yearToUse)) {
1280                config._pf._overflowDayOfYear = true;
1281            }
1282
1283            date = makeUTCDate(yearToUse, 0, config._dayOfYear);
1284            config._a[MONTH] = date.getUTCMonth();
1285            config._a[DATE] = date.getUTCDate();
1286        }
1287
1288        // Default to current date.
1289        // * if no year, month, day of month are given, default to today
1290        // * if day of month is given, default month and year
1291        // * if month is given, default only year
1292        // * if year is given, don't default anything
1293        for (i = 0; i < 3 && config._a[i] == null; ++i) {
1294            config._a[i] = input[i] = currentDate[i];
1295        }
1296
1297        // Zero out whatever was not defaulted, including time
1298        for (; i < 7; i++) {
1299            config._a[i] = input[i] = (config._a[i] == null) ? (i === 2 ? 1 : 0) : config._a[i];
1300        }
1301
1302        config._d = (config._useUTC ? makeUTCDate : makeDate).apply(null, input);
1303        // Apply timezone offset from input. The actual zone can be changed
1304        // with parseZone.
1305        if (config._tzm != null) {
1306            config._d.setUTCMinutes(config._d.getUTCMinutes() + config._tzm);
1307        }
1308    }
1309
1310    function dateFromObject(config) {
1311        var normalizedInput;
1312
1313        if (config._d) {
1314            return;
1315        }
1316
1317        normalizedInput = normalizeObjectUnits(config._i);
1318        config._a = [
1319            normalizedInput.year,
1320            normalizedInput.month,
1321            normalizedInput.day,
1322            normalizedInput.hour,
1323            normalizedInput.minute,
1324            normalizedInput.second,
1325            normalizedInput.millisecond
1326        ];
1327
1328        dateFromConfig(config);
1329    }
1330
1331    function currentDateArray(config) {
1332        var now = new Date();
1333        if (config._useUTC) {
1334            return [
1335                now.getUTCFullYear(),
1336                now.getUTCMonth(),
1337                now.getUTCDate()
1338            ];
1339        } else {
1340            return [now.getFullYear(), now.getMonth(), now.getDate()];
1341        }
1342    }
1343
1344    // date from string and format string
1345    function makeDateFromStringAndFormat(config) {
1346
1347        if (config._f === moment.ISO_8601) {
1348            parseISO(config);
1349            return;
1350        }
1351
1352        config._a = [];
1353        config._pf.empty = true;
1354
1355        // This array is used to make a Date, either with `new Date` or `Date.UTC`
1356        var lang = getLangDefinition(config._l),
1357            string = '' + config._i,
1358            i, parsedInput, tokens, token, skipped,
1359            stringLength = string.length,
1360            totalParsedInputLength = 0;
1361
1362        tokens = expandFormat(config._f, lang).match(formattingTokens) || [];
1363
1364        for (i = 0; i < tokens.length; i++) {
1365            token = tokens[i];
1366            parsedInput = (string.match(getParseRegexForToken(token, config)) || [])[0];
1367            if (parsedInput) {
1368                skipped = string.substr(0, string.indexOf(parsedInput));
1369                if (skipped.length > 0) {
1370                    config._pf.unusedInput.push(skipped);
1371                }
1372                string = string.slice(string.indexOf(parsedInput) + parsedInput.length);
1373                totalParsedInputLength += parsedInput.length;
1374            }
1375            // don't parse if it's not a known token
1376            if (formatTokenFunctions[token]) {
1377                if (parsedInput) {
1378                    config._pf.empty = false;
1379                }
1380                else {
1381                    config._pf.unusedTokens.push(token);
1382                }
1383                addTimeToArrayFromToken(token, parsedInput, config);
1384            }
1385            else if (config._strict && !parsedInput) {
1386                config._pf.unusedTokens.push(token);
1387            }
1388        }
1389
1390        // add remaining unparsed input length to the string
1391        config._pf.charsLeftOver = stringLength - totalParsedInputLength;
1392        if (string.length > 0) {
1393            config._pf.unusedInput.push(string);
1394        }
1395
1396        // handle am pm
1397        if (config._isPm && config._a[HOUR] < 12) {
1398            config._a[HOUR] += 12;
1399        }
1400        // if is 12 am, change hours to 0
1401        if (config._isPm === false && config._a[HOUR] === 12) {
1402            config._a[HOUR] = 0;
1403        }
1404
1405        dateFromConfig(config);
1406        checkOverflow(config);
1407    }
1408
1409    function unescapeFormat(s) {
1410        return s.replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g, function (matched, p1, p2, p3, p4) {
1411            return p1 || p2 || p3 || p4;
1412        });
1413    }
1414
1415    // Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript
1416    function regexpEscape(s) {
1417        return s.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&');
1418    }
1419
1420    // date from string and array of format strings
1421    function makeDateFromStringAndArray(config) {
1422        var tempConfig,
1423            bestMoment,
1424
1425            scoreToBeat,
1426            i,
1427            currentScore;
1428
1429        if (config._f.length === 0) {
1430            config._pf.invalidFormat = true;
1431            config._d = new Date(NaN);
1432            return;
1433        }
1434
1435        for (i = 0; i < config._f.length; i++) {
1436            currentScore = 0;
1437            tempConfig = extend({}, config);
1438            tempConfig._pf = defaultParsingFlags();
1439            tempConfig._f = config._f[i];
1440            makeDateFromStringAndFormat(tempConfig);
1441
1442            if (!isValid(tempConfig)) {
1443                continue;
1444            }
1445
1446            // if there is any input that was not parsed add a penalty for that format
1447            currentScore += tempConfig._pf.charsLeftOver;
1448
1449            //or tokens
1450            currentScore += tempConfig._pf.unusedTokens.length * 10;
1451
1452            tempConfig._pf.score = currentScore;
1453
1454            if (scoreToBeat == null || currentScore < scoreToBeat) {
1455                scoreToBeat = currentScore;
1456                bestMoment = tempConfig;
1457            }
1458        }
1459
1460        extend(config, bestMoment || tempConfig);
1461    }
1462
1463    // date from iso format
1464    function parseISO(config) {
1465        var i, l,
1466            string = config._i,
1467            match = isoRegex.exec(string);
1468
1469        if (match) {
1470            config._pf.iso = true;
1471            for (i = 0, l = isoDates.length; i < l; i++) {
1472                if (isoDates[i][1].exec(string)) {
1473                    // match[5] should be "T" or undefined
1474                    config._f = isoDates[i][0] + (match[6] || " ");
1475                    break;
1476                }
1477            }
1478            for (i = 0, l = isoTimes.length; i < l; i++) {
1479                if (isoTimes[i][1].exec(string)) {
1480                    config._f += isoTimes[i][0];
1481                    break;
1482                }
1483            }
1484            if (string.match(parseTokenTimezone)) {
1485                config._f += "Z";
1486            }
1487            makeDateFromStringAndFormat(config);
1488        } else {
1489            config._isValid = false;
1490        }
1491    }
1492
1493    // date from iso format or fallback
1494    function makeDateFromString(config) {
1495        parseISO(config);
1496        if (config._isValid === false) {
1497            delete config._isValid;
1498            moment.createFromInputFallback(config);
1499        }
1500    }
1501
1502    function makeDateFromInput(config) {
1503        var input = config._i,
1504            matched = aspNetJsonRegex.exec(input);
1505
1506        if (input === undefined) {
1507            config._d = new Date();
1508        } else if (matched) {
1509            config._d = new Date(+matched[1]);
1510        } else if (typeof input === 'string') {
1511            makeDateFromString(config);
1512        } else if (isArray(input)) {
1513            config._a = input.slice(0);
1514            dateFromConfig(config);
1515        } else if (isDate(input)) {
1516            config._d = new Date(+input);
1517        } else if (typeof(input) === 'object') {
1518            dateFromObject(config);
1519        } else if (typeof(input) === 'number') {
1520            // from milliseconds
1521            config._d = new Date(input);
1522        } else {
1523            moment.createFromInputFallback(config);
1524        }
1525    }
1526
1527    function makeDate(y, m, d, h, M, s, ms) {
1528        //can't just apply() to create a date:
1529        //http://stackoverflow.com/questions/181348/instantiating-a-javascript-object-by-calling-prototype-constructor-apply
1530        var date = new Date(y, m, d, h, M, s, ms);
1531
1532        //the date constructor doesn't accept years < 1970
1533        if (y < 1970) {
1534            date.setFullYear(y);
1535        }
1536        return date;
1537    }
1538
1539    function makeUTCDate(y) {
1540        var date = new Date(Date.UTC.apply(null, arguments));
1541        if (y < 1970) {
1542            date.setUTCFullYear(y);
1543        }
1544        return date;
1545    }
1546
1547    function parseWeekday(input, language) {
1548        if (typeof input === 'string') {
1549            if (!isNaN(input)) {
1550                input = parseInt(input, 10);
1551            }
1552            else {
1553                input = language.weekdaysParse(input);
1554                if (typeof input !== 'number') {
1555                    return null;
1556                }
1557            }
1558        }
1559        return input;
1560    }
1561
1562    /************************************
1563        Relative Time
1564    ************************************/
1565
1566
1567    // helper function for moment.fn.from, moment.fn.fromNow, and moment.duration.fn.humanize
1568    function substituteTimeAgo(string, number, withoutSuffix, isFuture, lang) {
1569        return lang.relativeTime(number || 1, !!withoutSuffix, string, isFuture);
1570    }
1571
1572    function relativeTime(milliseconds, withoutSuffix, lang) {
1573        var seconds = round(Math.abs(milliseconds) / 1000),
1574            minutes = round(seconds / 60),
1575            hours = round(minutes / 60),
1576            days = round(hours / 24),
1577            years = round(days / 365),
1578            args = seconds < relativeTimeThresholds.s  && ['s', seconds] ||
1579                minutes === 1 && ['m'] ||
1580                minutes < relativeTimeThresholds.m && ['mm', minutes] ||
1581                hours === 1 && ['h'] ||
1582                hours < relativeTimeThresholds.h && ['hh', hours] ||
1583                days === 1 && ['d'] ||
1584                days <= relativeTimeThresholds.dd && ['dd', days] ||
1585                days <= relativeTimeThresholds.dm && ['M'] ||
1586                days < relativeTimeThresholds.dy && ['MM', round(days / 30)] ||
1587                years === 1 && ['y'] || ['yy', years];
1588        args[2] = withoutSuffix;
1589        args[3] = milliseconds > 0;
1590        args[4] = lang;
1591        return substituteTimeAgo.apply({}, args);
1592    }
1593
1594
1595    /************************************
1596        Week of Year
1597    ************************************/
1598
1599
1600    // firstDayOfWeek       0 = sun, 6 = sat
1601    //                      the day of the week that starts the week
1602    //                      (usually sunday or monday)
1603    // firstDayOfWeekOfYear 0 = sun, 6 = sat
1604    //                      the first week is the week that contains the first
1605    //                      of this day of the week
1606    //                      (eg. ISO weeks use thursday (4))
1607    function weekOfYear(mom, firstDayOfWeek, firstDayOfWeekOfYear) {
1608        var end = firstDayOfWeekOfYear - firstDayOfWeek,
1609            daysToDayOfWeek = firstDayOfWeekOfYear - mom.day(),
1610            adjustedMoment;
1611
1612
1613        if (daysToDayOfWeek > end) {
1614            daysToDayOfWeek -= 7;
1615        }
1616
1617        if (daysToDayOfWeek < end - 7) {
1618            daysToDayOfWeek += 7;
1619        }
1620
1621        adjustedMoment = moment(mom).add('d', daysToDayOfWeek);
1622        return {
1623            week: Math.ceil(adjustedMoment.dayOfYear() / 7),
1624            year: adjustedMoment.year()
1625        };
1626    }
1627
1628    //http://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday
1629    function dayOfYearFromWeeks(year, week, weekday, firstDayOfWeekOfYear, firstDayOfWeek) {
1630        var d = makeUTCDate(year, 0, 1).getUTCDay(), daysToAdd, dayOfYear;
1631
1632        d = d === 0 ? 7 : d;
1633        weekday = weekday != null ? weekday : firstDayOfWeek;
1634        daysToAdd = firstDayOfWeek - d + (d > firstDayOfWeekOfYear ? 7 : 0) - (d < firstDayOfWeek ? 7 : 0);
1635        dayOfYear = 7 * (week - 1) + (weekday - firstDayOfWeek) + daysToAdd + 1;
1636
1637        return {
1638            year: dayOfYear > 0 ? year : year - 1,
1639            dayOfYear: dayOfYear > 0 ?  dayOfYear : daysInYear(year - 1) + dayOfYear
1640        };
1641    }
1642
1643    /************************************
1644        Top Level Functions
1645    ************************************/
1646
1647    function makeMoment(config) {
1648        var input = config._i,
1649            format = config._f;
1650
1651        if (input === null || (format === undefined && input === '')) {
1652            return moment.invalid({nullInput: true});
1653        }
1654
1655        if (typeof input === 'string') {
1656            config._i = input = getLangDefinition().preparse(input);
1657        }
1658
1659        if (moment.isMoment(input)) {
1660            config = cloneMoment(input);
1661
1662            config._d = new Date(+input._d);
1663        } else if (format) {
1664            if (isArray(format)) {
1665                makeDateFromStringAndArray(config);
1666            } else {
1667                makeDateFromStringAndFormat(config);
1668            }
1669        } else {
1670            makeDateFromInput(config);
1671        }
1672
1673        return new Moment(config);
1674    }
1675
1676    moment = function (input, format, lang, strict) {
1677        var c;
1678
1679        if (typeof(lang) === "boolean") {
1680            strict = lang;
1681            lang = undefined;
1682        }
1683        // object construction must be done this way.
1684        // https://github.com/moment/moment/issues/1423
1685        c = {};
1686        c._isAMomentObject = true;
1687        c._i = input;
1688        c._f = format;
1689        c._l = lang;
1690        c._strict = strict;
1691        c._isUTC = false;
1692        c._pf = defaultParsingFlags();
1693
1694        return makeMoment(c);
1695    };
1696
1697    moment.suppressDeprecationWarnings = false;
1698
1699    moment.createFromInputFallback = deprecate(
1700            "moment construction falls back to js Date. This is " +
1701            "discouraged and will be removed in upcoming major " +
1702            "release. Please refer to " +
1703            "https://github.com/moment/moment/issues/1407 for more info.",
1704            function (config) {
1705        config._d = new Date(config._i);
1706    });
1707
1708    // Pick a moment m from moments so that m[fn](other) is true for all
1709    // other. This relies on the function fn to be transitive.
1710    //
1711    // moments should either be an array of moment objects or an array, whose
1712    // first element is an array of moment objects.
1713    function pickBy(fn, moments) {
1714        var res, i;
1715        if (moments.length === 1 && isArray(moments[0])) {
1716            moments = moments[0];
1717        }
1718        if (!moments.length) {
1719            return moment();
1720        }
1721        res = moments[0];
1722        for (i = 1; i < moments.length; ++i) {
1723            if (moments[i][fn](res)) {
1724                res = moments[i];
1725            }
1726        }
1727        return res;
1728    }
1729
1730    moment.min = function () {
1731        var args = [].slice.call(arguments, 0);
1732
1733        return pickBy('isBefore', args);
1734    };
1735
1736    moment.max = function () {
1737        var args = [].slice.call(arguments, 0);
1738
1739        return pickBy('isAfter', args);
1740    };
1741
1742    // creating with utc
1743    moment.utc = function (input, format, lang, strict) {
1744        var c;
1745
1746        if (typeof(lang) === "boolean") {
1747            strict = lang;
1748            lang = undefined;
1749        }
1750        // object construction must be done this way.
1751        // https://github.com/moment/moment/issues/1423
1752        c = {};
1753        c._isAMomentObject = true;
1754        c._useUTC = true;
1755        c._isUTC = true;
1756        c._l = lang;
1757        c._i = input;
1758        c._f = format;
1759        c._strict = strict;
1760        c._pf = defaultParsingFlags();
1761
1762        return makeMoment(c).utc();
1763    };
1764
1765    // creating with unix timestamp (in seconds)
1766    moment.unix = function (input) {
1767        return moment(input * 1000);
1768    };
1769
1770    // duration
1771    moment.duration = function (input, key) {
1772        var duration = input,
1773            // matching against regexp is expensive, do it on demand
1774            match = null,
1775            sign,
1776            ret,
1777            parseIso;
1778
1779        if (moment.isDuration(input)) {
1780            duration = {
1781                ms: input._milliseconds,
1782                d: input._days,
1783                M: input._months
1784            };
1785        } else if (typeof input === 'number') {
1786            duration = {};
1787            if (key) {
1788                duration[key] = input;
1789            } else {
1790                duration.milliseconds = input;
1791            }
1792        } else if (!!(match = aspNetTimeSpanJsonRegex.exec(input))) {
1793            sign = (match[1] === "-") ? -1 : 1;
1794            duration = {
1795                y: 0,
1796                d: toInt(match[DATE]) * sign,
1797                h: toInt(match[HOUR]) * sign,
1798                m: toInt(match[MINUTE]) * sign,
1799                s: toInt(match[SECOND]) * sign,
1800                ms: toInt(match[MILLISECOND]) * sign
1801            };
1802        } else if (!!(match = isoDurationRegex.exec(input))) {
1803            sign = (match[1] === "-") ? -1 : 1;
1804            parseIso = function (inp) {
1805                // We'd normally use ~~inp for this, but unfortunately it also
1806                // converts floats to ints.
1807                // inp may be undefined, so careful calling replace on it.
1808                var res = inp && parseFloat(inp.replace(',', '.'));
1809                // apply sign while we're at it
1810                return (isNaN(res) ? 0 : res) * sign;
1811            };
1812            duration = {
1813                y: parseIso(match[2]),
1814                M: parseIso(match[3]),
1815                d: parseIso(match[4]),
1816                h: parseIso(match[5]),
1817                m: parseIso(match[6]),
1818                s: parseIso(match[7]),
1819                w: parseIso(match[8])
1820            };
1821        }
1822
1823        ret = new Duration(duration);
1824
1825        if (moment.isDuration(input) && input.hasOwnProperty('_lang')) {
1826            ret._lang = input._lang;
1827        }
1828
1829        return ret;
1830    };
1831
1832    // version number
1833    moment.version = VERSION;
1834
1835    // default format
1836    moment.defaultFormat = isoFormat;
1837
1838    // constant that refers to the ISO standard
1839    moment.ISO_8601 = function () {};
1840
1841    // Plugins that add properties should also add the key here (null value),
1842    // so we can properly clone ourselves.
1843    moment.momentProperties = momentProperties;
1844
1845    // This function will be called whenever a moment is mutated.
1846    // It is intended to keep the offset in sync with the timezone.
1847    moment.updateOffset = function () {};
1848
1849    // This function allows you to set a threshold for relative time strings
1850    moment.relativeTimeThreshold = function(threshold, limit) {
1851      if (relativeTimeThresholds[threshold] === undefined) {
1852        return false;
1853      }
1854      relativeTimeThresholds[threshold] = limit;
1855      return true;
1856    };
1857
1858    // This function will load languages and then set the global language.  If
1859    // no arguments are passed in, it will simply return the current global
1860    // language key.
1861    moment.lang = function (key, values) {
1862        var r;
1863        if (!key) {
1864            return moment.fn._lang._abbr;
1865        }
1866        if (values) {
1867            loadLang(normalizeLanguage(key), values);
1868        } else if (values === null) {
1869            unloadLang(key);
1870            key = 'en';
1871        } else if (!languages[key]) {
1872            getLangDefinition(key);
1873        }
1874        r = moment.duration.fn._lang = moment.fn._lang = getLangDefinition(key);
1875        return r._abbr;
1876    };
1877
1878    // returns language data
1879    moment.langData = function (key) {
1880        if (key && key._lang && key._lang._abbr) {
1881            key = key._lang._abbr;
1882        }
1883        return getLangDefinition(key);
1884    };
1885
1886    // compare moment object
1887    moment.isMoment = function (obj) {
1888        return obj instanceof Moment ||
1889            (obj != null &&  obj.hasOwnProperty('_isAMomentObject'));
1890    };
1891
1892    // for typechecking Duration objects
1893    moment.isDuration = function (obj) {
1894        return obj instanceof Duration;
1895    };
1896
1897    for (i = lists.length - 1; i >= 0; --i) {
1898        makeList(lists[i]);
1899    }
1900
1901    moment.normalizeUnits = function (units) {
1902        return normalizeUnits(units);
1903    };
1904
1905    moment.invalid = function (flags) {
1906        var m = moment.utc(NaN);
1907        if (flags != null) {
1908            extend(m._pf, flags);
1909        }
1910        else {
1911            m._pf.userInvalidated = true;
1912        }
1913
1914        return m;
1915    };
1916
1917    moment.parseZone = function () {
1918        return moment.apply(null, arguments).parseZone();
1919    };
1920
1921    moment.parseTwoDigitYear = function (input) {
1922        return toInt(input) + (toInt(input) > 68 ? 1900 : 2000);
1923    };
1924
1925    /************************************
1926        Moment Prototype
1927    ************************************/
1928
1929
1930    extend(moment.fn = Moment.prototype, {
1931
1932        clone : function () {
1933            return moment(this);
1934        },
1935
1936        valueOf : function () {
1937            return +this._d + ((this._offset || 0) * 60000);
1938        },
1939
1940        unix : function () {
1941            return Math.floor(+this / 1000);
1942        },
1943
1944        toString : function () {
1945            return this.clone().lang('en').format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ");
1946        },
1947
1948        toDate : function () {
1949            return this._offset ? new Date(+this) : this._d;
1950        },
1951
1952        toISOString : function () {
1953            var m = moment(this).utc();
1954            if (0 < m.year() && m.year() <= 9999) {
1955                return formatMoment(m, 'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]');
1956            } else {
1957                return formatMoment(m, 'YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]');
1958            }
1959        },
1960
1961        toArray : function () {
1962            var m = this;
1963            return [
1964                m.year(),
1965                m.month(),
1966                m.date(),
1967                m.hours(),
1968                m.minutes(),
1969                m.seconds(),
1970                m.milliseconds()
1971            ];
1972        },
1973
1974        isValid : function () {
1975            return isValid(this);
1976        },
1977
1978        isDSTShifted : function () {
1979
1980            if (this._a) {
1981                return this.isValid() && compareArrays(this._a, (this._isUTC ? moment.utc(this._a) : moment(this._a)).toArray()) > 0;
1982            }
1983
1984            return false;
1985        },
1986
1987        parsingFlags : function () {
1988            return extend({}, this._pf);
1989        },
1990
1991        invalidAt: function () {
1992            return this._pf.overflow;
1993        },
1994
1995        utc : function () {
1996            return this.zone(0);
1997        },
1998
1999        local : function () {
2000            this.zone(0);
2001            this._isUTC = false;
2002            return this;
2003        },
2004
2005        format : function (inputString) {
2006            var output = formatMoment(this, inputString || moment.defaultFormat);
2007            return this.lang().postformat(output);
2008        },
2009
2010        add : function (input, val) {
2011            var dur;
2012            // switch args to support add('s', 1) and add(1, 's')
2013            if (typeof input === 'string' && typeof val === 'string') {
2014                dur = moment.duration(isNaN(+val) ? +input : +val, isNaN(+val) ? val : input);
2015            } else if (typeof input === 'string') {
2016                dur = moment.duration(+val, input);
2017            } else {
2018                dur = moment.duration(input, val);
2019            }
2020            addOrSubtractDurationFromMoment(this, dur, 1);
2021            return this;
2022        },
2023
2024        subtract : function (input, val) {
2025            var dur;
2026            // switch args to support subtract('s', 1) and subtract(1, 's')
2027            if (typeof input === 'string' && typeof val === 'string') {
2028                dur = moment.duration(isNaN(+val) ? +input : +val, isNaN(+val) ? val : input);
2029            } else if (typeof input === 'string') {
2030                dur = moment.duration(+val, input);
2031            } else {
2032                dur = moment.duration(input, val);
2033            }
2034            addOrSubtractDurationFromMoment(this, dur, -1);
2035            return this;
2036        },
2037
2038        diff : function (input, units, asFloat) {
2039            var that = makeAs(input, this),
2040                zoneDiff = (this.zone() - that.zone()) * 6e4,
2041                diff, output;
2042
2043            units = normalizeUnits(units);
2044
2045            if (units === 'year' || units === 'month') {
2046                // average number of days in the months in the given dates
2047                diff = (this.daysInMonth() + that.daysInMonth()) * 432e5; // 24 * 60 * 60 * 1000 / 2
2048                // difference in months
2049                output = ((this.year() - that.year()) * 12) + (this.month() - that.month());
2050                // adjust by taking difference in days, average number of days
2051                // and dst in the given months.
2052                output += ((this - moment(this).startOf('month')) -
2053                        (that - moment(that).startOf('month'))) / diff;
2054                // same as above but with zones, to negate all dst
2055                output -= ((this.zone() - moment(this).startOf('month').zone()) -
2056                        (that.zone() - moment(that).startOf('month').zone())) * 6e4 / diff;
2057                if (units === 'year') {
2058                    output = output / 12;
2059                }
2060            } else {
2061                diff = (this - that);
2062                output = units === 'second' ? diff / 1e3 : // 1000
2063                    units === 'minute' ? diff / 6e4 : // 1000 * 60
2064                    units === 'hour' ? diff / 36e5 : // 1000 * 60 * 60
2065                    units === 'day' ? (diff - zoneDiff) / 864e5 : // 1000 * 60 * 60 * 24, negate dst
2066                    units === 'week' ? (diff - zoneDiff) / 6048e5 : // 1000 * 60 * 60 * 24 * 7, negate dst
2067                    diff;
2068            }
2069            return asFloat ? output : absRound(output);
2070        },
2071
2072        from : function (time, withoutSuffix) {
2073            return moment.duration(this.diff(time)).lang(this.lang()._abbr).humanize(!withoutSuffix);
2074        },
2075
2076        fromNow : function (withoutSuffix) {
2077            return this.from(moment(), withoutSuffix);
2078        },
2079
2080        calendar : function (time) {
2081            // We want to compare the start of today, vs this.
2082            // Getting start-of-today depends on whether we're zone'd or not.
2083            var now = time || moment(),
2084                sod = makeAs(now, this).startOf('day'),
2085                diff = this.diff(sod, 'days', true),
2086                format = diff < -6 ? 'sameElse' :
2087                    diff < -1 ? 'lastWeek' :
2088                    diff < 0 ? 'lastDay' :
2089                    diff < 1 ? 'sameDay' :
2090                    diff < 2 ? 'nextDay' :
2091                    diff < 7 ? 'nextWeek' : 'sameElse';
2092            return this.format(this.lang().calendar(format, this));
2093        },
2094
2095        isLeapYear : function () {
2096            return isLeapYear(this.year());
2097        },
2098
2099        isDST : function () {
2100            return (this.zone() < this.clone().month(0).zone() ||
2101                this.zone() < this.clone().month(5).zone());
2102        },
2103
2104        day : function (input) {
2105            var day = this._isUTC ? this._d.getUTCDay() : this._d.getDay();
2106            if (input != null) {
2107                input = parseWeekday(input, this.lang());
2108                return this.add({ d : input - day });
2109            } else {
2110                return day;
2111            }
2112        },
2113
2114        month : makeAccessor('Month', true),
2115
2116        startOf: function (units) {
2117            units = normalizeUnits(units);
2118            // the following switch intentionally omits break keywords
2119            // to utilize falling through the cases.
2120            switch (units) {
2121            case 'year':
2122                this.month(0);
2123                /* falls through */
2124            case 'quarter':
2125            case 'month':
2126                this.date(1);
2127                /* falls through */
2128            case 'week':
2129            case 'isoWeek':
2130            case 'day':
2131                this.hours(0);
2132                /* falls through */
2133            case 'hour':
2134                this.minutes(0);
2135                /* falls through */
2136            case 'minute':
2137                this.seconds(0);
2138                /* falls through */
2139            case 'second':
2140                this.milliseconds(0);
2141                /* falls through */
2142            }
2143
2144            // weeks are a special case
2145            if (units === 'week') {
2146                this.weekday(0);
2147            } else if (units === 'isoWeek') {
2148                this.isoWeekday(1);
2149            }
2150
2151            // quarters are also special
2152            if (units === 'quarter') {
2153                this.month(Math.floor(this.month() / 3) * 3);
2154            }
2155
2156            return this;
2157        },
2158
2159        endOf: function (units) {
2160            units = normalizeUnits(units);
2161            return this.startOf(units).add((units === 'isoWeek' ? 'week' : units), 1).subtract('ms', 1);
2162        },
2163
2164        isAfter: function (input, units) {
2165            units = typeof units !== 'undefined' ? units : 'millisecond';
2166            return +this.clone().startOf(units) > +moment(input).startOf(units);
2167        },
2168
2169        isBefore: function (input, units) {
2170            units = typeof units !== 'undefined' ? units : 'millisecond';
2171            return +this.clone().startOf(units) < +moment(input).startOf(units);
2172        },
2173
2174        isSame: function (input, units) {
2175            units = units || 'ms';
2176            return +this.clone().startOf(units) === +makeAs(input, this).startOf(units);
2177        },
2178
2179        min: deprecate(
2180                 "moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",
2181                 function (other) {
2182                     other = moment.apply(null, arguments);
2183                     return other < this ? this : other;
2184                 }
2185         ),
2186
2187        max: deprecate(
2188                "moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",
2189                function (other) {
2190                    other = moment.apply(null, arguments);
2191                    return other > this ? this : other;
2192                }
2193        ),
2194
2195        // keepTime = true means only change the timezone, without affecting
2196        // the local hour. So 5:31:26 +0300 --[zone(2, true)]--> 5:31:26 +0200
2197        // It is possible that 5:31:26 doesn't exist int zone +0200, so we
2198        // adjust the time as needed, to be valid.
2199        //
2200        // Keeping the time actually adds/subtracts (one hour)
2201        // from the actual represented time. That is why we call updateOffset
2202        // a second time. In case it wants us to change the offset again
2203        // _changeInProgress == true case, then we have to adjust, because
2204        // there is no such time in the given timezone.
2205        zone : function (input, keepTime) {
2206            var offset = this._offset || 0;
2207            if (input != null) {
2208                if (typeof input === "string") {
2209                    input = timezoneMinutesFromString(input);
2210                }
2211                if (Math.abs(input) < 16) {
2212                    input = input * 60;
2213                }
2214                this._offset = input;
2215                this._isUTC = true;
2216                if (offset !== input) {
2217                    if (!keepTime || this._changeInProgress) {
2218                        addOrSubtractDurationFromMoment(this,
2219                                moment.duration(offset - input, 'm'), 1, false);
2220                    } else if (!this._changeInProgress) {
2221                        this._changeInProgress = true;
2222                        moment.updateOffset(this, true);
2223                        this._changeInProgress = null;
2224                    }
2225                }
2226            } else {
2227                return this._isUTC ? offset : this._d.getTimezoneOffset();
2228            }
2229            return this;
2230        },
2231
2232        zoneAbbr : function () {
2233            return this._isUTC ? "UTC" : "";
2234        },
2235
2236        zoneName : function () {
2237            return this._isUTC ? "Coordinated Universal Time" : "";
2238        },
2239
2240        parseZone : function () {
2241            if (this._tzm) {
2242                this.zone(this._tzm);
2243            } else if (typeof this._i === 'string') {
2244                this.zone(this._i);
2245            }
2246            return this;
2247        },
2248
2249        hasAlignedHourOffset : function (input) {
2250            if (!input) {
2251                input = 0;
2252            }
2253            else {
2254                input = moment(input).zone();
2255            }
2256
2257            return (this.zone() - input) % 60 === 0;
2258        },
2259
2260        daysInMonth : function () {
2261            return daysInMonth(this.year(), this.month());
2262        },
2263
2264        dayOfYear : function (input) {
2265            var dayOfYear = round((moment(this).startOf('day') - moment(this).startOf('year')) / 864e5) + 1;
2266            return input == null ? dayOfYear : this.add("d", (input - dayOfYear));
2267        },
2268
2269        quarter : function (input) {
2270            return input == null ? Math.ceil((this.month() + 1) / 3) : this.month((input - 1) * 3 + this.month() % 3);
2271        },
2272
2273        weekYear : function (input) {
2274            var year = weekOfYear(this, this.lang()._week.dow, this.lang()._week.doy).year;
2275            return input == null ? year : this.add("y", (input - year));
2276        },
2277
2278        isoWeekYear : function (input) {
2279            var year = weekOfYear(this, 1, 4).year;
2280            return input == null ? year : this.add("y", (input - year));
2281        },
2282
2283        week : function (input) {
2284            var week = this.lang().week(this);
2285            return input == null ? week : this.add("d", (input - week) * 7);
2286        },
2287
2288        isoWeek : function (input) {
2289            var week = weekOfYear(this, 1, 4).week;
2290            return input == null ? week : this.add("d", (input - week) * 7);
2291        },
2292
2293        weekday : function (input) {
2294            var weekday = (this.day() + 7 - this.lang()._week.dow) % 7;
2295            return input == null ? weekday : this.add("d", input - weekday);
2296        },
2297
2298        isoWeekday : function (input) {
2299            // behaves the same as moment#day except
2300            // as a getter, returns 7 instead of 0 (1-7 range instead of 0-6)
2301            // as a setter, sunday should belong to the previous week.
2302            return input == null ? this.day() || 7 : this.day(this.day() % 7 ? input : input - 7);
2303        },
2304
2305        isoWeeksInYear : function () {
2306            return weeksInYear(this.year(), 1, 4);
2307        },
2308
2309        weeksInYear : function () {
2310            var weekInfo = this._lang._week;
2311            return weeksInYear(this.year(), weekInfo.dow, weekInfo.doy);
2312        },
2313
2314        get : function (units) {
2315            units = normalizeUnits(units);
2316            return this[units]();
2317        },
2318
2319        set : function (units, value) {
2320            units = normalizeUnits(units);
2321            if (typeof this[units] === 'function') {
2322                this[units](value);
2323            }
2324            return this;
2325        },
2326
2327        // If passed a language key, it will set the language for this
2328        // instance.  Otherwise, it will return the language configuration
2329        // variables for this instance.
2330        lang : function (key) {
2331            if (key === undefined) {
2332                return this._lang;
2333            } else {
2334                this._lang = getLangDefinition(key);
2335                return this;
2336            }
2337        }
2338    });
2339
2340    function rawMonthSetter(mom, value) {
2341        var dayOfMonth;
2342
2343        // TODO: Move this out of here!
2344        if (typeof value === 'string') {
2345            value = mom.lang().monthsParse(value);
2346            // TODO: Another silent failure?
2347            if (typeof value !== 'number') {
2348                return mom;
2349            }
2350        }
2351
2352        dayOfMonth = Math.min(mom.date(),
2353                daysInMonth(mom.year(), value));
2354        mom._d['set' + (mom._isUTC ? 'UTC' : '') + 'Month'](value, dayOfMonth);
2355        return mom;
2356    }
2357
2358    function rawGetter(mom, unit) {
2359        return mom._d['get' + (mom._isUTC ? 'UTC' : '') + unit]();
2360    }
2361
2362    function rawSetter(mom, unit, value) {
2363        if (unit === 'Month') {
2364            return rawMonthSetter(mom, value);
2365        } else {
2366            return mom._d['set' + (mom._isUTC ? 'UTC' : '') + unit](value);
2367        }
2368    }
2369
2370    function makeAccessor(unit, keepTime) {
2371        return function (value) {
2372            if (value != null) {
2373                rawSetter(this, unit, value);
2374                moment.updateOffset(this, keepTime);
2375                return this;
2376            } else {
2377                return rawGetter(this, unit);
2378            }
2379        };
2380    }
2381
2382    moment.fn.millisecond = moment.fn.milliseconds = makeAccessor('Milliseconds', false);
2383    moment.fn.second = moment.fn.seconds = makeAccessor('Seconds', false);
2384    moment.fn.minute = moment.fn.minutes = makeAccessor('Minutes', false);
2385    // Setting the hour should keep the time, because the user explicitly
2386    // specified which hour he wants. So trying to maintain the same hour (in
2387    // a new timezone) makes sense. Adding/subtracting hours does not follow
2388    // this rule.
2389    moment.fn.hour = moment.fn.hours = makeAccessor('Hours', true);
2390    // moment.fn.month is defined separately
2391    moment.fn.date = makeAccessor('Date', true);
2392    moment.fn.dates = deprecate("dates accessor is deprecated. Use date instead.", makeAccessor('Date', true));
2393    moment.fn.year = makeAccessor('FullYear', true);
2394    moment.fn.years = deprecate("years accessor is deprecated. Use year instead.", makeAccessor('FullYear', true));
2395
2396    // add plural methods
2397    moment.fn.days = moment.fn.day;
2398    moment.fn.months = moment.fn.month;
2399    moment.fn.weeks = moment.fn.week;
2400    moment.fn.isoWeeks = moment.fn.isoWeek;
2401    moment.fn.quarters = moment.fn.quarter;
2402
2403    // add aliased format methods
2404    moment.fn.toJSON = moment.fn.toISOString;
2405
2406    /************************************
2407        Duration Prototype
2408    ************************************/
2409
2410
2411    extend(moment.duration.fn = Duration.prototype, {
2412
2413        _bubble : function () {
2414            var milliseconds = this._milliseconds,
2415                days = this._days,
2416                months = this._months,
2417                data = this._data,
2418                seconds, minutes, hours, years;
2419
2420            // The following code bubbles up values, see the tests for
2421            // examples of what that means.
2422            data.milliseconds = milliseconds % 1000;
2423
2424            seconds = absRound(milliseconds / 1000);
2425            data.seconds = seconds % 60;
2426
2427            minutes = absRound(seconds / 60);
2428            data.minutes = minutes % 60;
2429
2430            hours = absRound(minutes / 60);
2431            data.hours = hours % 24;
2432
2433            days += absRound(hours / 24);
2434            data.days = days % 30;
2435
2436            months += absRound(days / 30);
2437            data.months = months % 12;
2438
2439            years = absRound(months / 12);
2440            data.years = years;
2441        },
2442
2443        weeks : function () {
2444            return absRound(this.days() / 7);
2445        },
2446
2447        valueOf : function () {
2448            return this._milliseconds +
2449              this._days * 864e5 +
2450              (this._months % 12) * 2592e6 +
2451              toInt(this._months / 12) * 31536e6;
2452        },
2453
2454        humanize : function (withSuffix) {
2455            var difference = +this,
2456                output = relativeTime(difference, !withSuffix, this.lang());
2457
2458            if (withSuffix) {
2459                output = this.lang().pastFuture(difference, output);
2460            }
2461
2462            return this.lang().postformat(output);
2463        },
2464
2465        add : function (input, val) {
2466            // supports only 2.0-style add(1, 's') or add(moment)
2467            var dur = moment.duration(input, val);
2468
2469            this._milliseconds += dur._milliseconds;
2470            this._days += dur._days;
2471            this._months += dur._months;
2472
2473            this._bubble();
2474
2475            return this;
2476        },
2477
2478        subtract : function (input, val) {
2479            var dur = moment.duration(input, val);
2480
2481            this._milliseconds -= dur._milliseconds;
2482            this._days -= dur._days;
2483            this._months -= dur._months;
2484
2485            this._bubble();
2486
2487            return this;
2488        },
2489
2490        get : function (units) {
2491            units = normalizeUnits(units);
2492            return this[units.toLowerCase() + 's']();
2493        },
2494
2495        as : function (units) {
2496            units = normalizeUnits(units);
2497            return this['as' + units.charAt(0).toUpperCase() + units.slice(1) + 's']();
2498        },
2499
2500        lang : moment.fn.lang,
2501
2502        toIsoString : function () {
2503            // inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js
2504            var years = Math.abs(this.years()),
2505                months = Math.abs(this.months()),
2506                days = Math.abs(this.days()),
2507                hours = Math.abs(this.hours()),
2508                minutes = Math.abs(this.minutes()),
2509                seconds = Math.abs(this.seconds() + this.milliseconds() / 1000);
2510
2511            if (!this.asSeconds()) {
2512                // this is the same as C#'s (Noda) and python (isodate)...
2513                // but not other JS (goog.date)
2514                return 'P0D';
2515            }
2516
2517            return (this.asSeconds() < 0 ? '-' : '') +
2518                'P' +
2519                (years ? years + 'Y' : '') +
2520                (months ? months + 'M' : '') +
2521                (days ? days + 'D' : '') +
2522                ((hours || minutes || seconds) ? 'T' : '') +
2523                (hours ? hours + 'H' : '') +
2524                (minutes ? minutes + 'M' : '') +
2525                (seconds ? seconds + 'S' : '');
2526        }
2527    });
2528
2529    function makeDurationGetter(name) {
2530        moment.duration.fn[name] = function () {
2531            return this._data[name];
2532        };
2533    }
2534
2535    function makeDurationAsGetter(name, factor) {
2536        moment.duration.fn['as' + name] = function () {
2537            return +this / factor;
2538        };
2539    }
2540
2541    for (i in unitMillisecondFactors) {
2542        if (unitMillisecondFactors.hasOwnProperty(i)) {
2543            makeDurationAsGetter(i, unitMillisecondFactors[i]);
2544            makeDurationGetter(i.toLowerCase());
2545        }
2546    }
2547
2548    makeDurationAsGetter('Weeks', 6048e5);
2549    moment.duration.fn.asMonths = function () {
2550        return (+this - this.years() * 31536e6) / 2592e6 + this.years() * 12;
2551    };
2552
2553
2554    /************************************
2555        Default Lang
2556    ************************************/
2557
2558
2559    // Set default language, other languages will inherit from English.
2560    moment.lang('en', {
2561        ordinal : function (number) {
2562            var b = number % 10,
2563                output = (toInt(number % 100 / 10) === 1) ? 'th' :
2564                (b === 1) ? 'st' :
2565                (b === 2) ? 'nd' :
2566                (b === 3) ? 'rd' : 'th';
2567            return number + output;
2568        }
2569    });
2570
2571    // moment.js language configuration
2572// language : Moroccan Arabic (ar-ma)
2573// author : ElFadili Yassine : https://github.com/ElFadiliY
2574// author : Abdel Said : https://github.com/abdelsaid
2575
2576(function (factory) {
2577    factory(moment);
2578}(function (moment) {
2579    return moment.lang('ar-ma', {
2580        months : "يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),
2581        monthsShort : "يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),
2582        weekdays : "الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),
2583        weekdaysShort : "احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),
2584        weekdaysMin : "ح_ن_ث_ر_خ_ج_س".split("_"),
2585        longDateFormat : {
2586            LT : "HH:mm",
2587            L : "DD/MM/YYYY",
2588            LL : "D MMMM YYYY",
2589            LLL : "D MMMM YYYY LT",
2590            LLLL : "dddd D MMMM YYYY LT"
2591        },
2592        calendar : {
2593            sameDay: "[اليوم على الساعة] LT",
2594            nextDay: '[غدا على الساعة] LT',
2595            nextWeek: 'dddd [على الساعة] LT',
2596            lastDay: '[أمس على الساعة] LT',
2597            lastWeek: 'dddd [على الساعة] LT',
2598            sameElse: 'L'
2599        },
2600        relativeTime : {
2601            future : "في %s",
2602            past : "منذ %s",
2603            s : "ثوان",
2604            m : "دقيقة",
2605            mm : "%d دقائق",
2606            h : "ساعة",
2607            hh : "%d ساعات",
2608            d : "يوم",
2609            dd : "%d أيام",
2610            M : "شهر",
2611            MM : "%d أشهر",
2612            y : "سنة",
2613            yy : "%d سنوات"
2614        },
2615        week : {
2616            dow : 6, // Saturday is the first day of the week.
2617            doy : 12  // The week that contains Jan 1st is the first week of the year.
2618        }
2619    });
2620}));
2621// moment.js language configuration
2622// language : Arabic Saudi Arabia (ar-sa)
2623// author : Suhail Alkowaileet : https://github.com/xsoh
2624
2625(function (factory) {
2626    factory(moment);
2627}(function (moment) {
2628    var symbolMap = {
2629        '1': 'Ù¡',
2630        '2': 'Ù¢',
2631        '3': 'Ù£',
2632        '4': 'Ù¤',
2633        '5': 'Ù¥',
2634        '6': 'Ù¦',
2635        '7': 'Ù§',
2636        '8': 'Ù¨',
2637        '9': 'Ù©',
2638        '0': 'Ù '
2639    }, numberMap = {
2640        'Ù¡': '1',
2641        'Ù¢': '2',
2642        'Ù£': '3',
2643        'Ù¤': '4',
2644        'Ù¥': '5',
2645        'Ù¦': '6',
2646        'Ù§': '7',
2647        'Ù¨': '8',
2648        'Ù©': '9',
2649        'Ù ': '0'
2650    };
2651
2652    return moment.lang('ar-sa', {
2653        months : "يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),
2654        monthsShort : "يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),
2655        weekdays : "الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),
2656        weekdaysShort : "أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),
2657        weekdaysMin : "ح_ن_ث_ر_خ_ج_س".split("_"),
2658        longDateFormat : {
2659            LT : "HH:mm",
2660            L : "DD/MM/YYYY",
2661            LL : "D MMMM YYYY",
2662            LLL : "D MMMM YYYY LT",
2663            LLLL : "dddd D MMMM YYYY LT"
2664        },
2665        meridiem : function (hour, minute, isLower) {
2666            if (hour < 12) {
2667                return "ص";
2668            } else {
2669                return "م";
2670            }
2671        },
2672        calendar : {
2673            sameDay: "[اليوم على الساعة] LT",
2674            nextDay: '[غدا على الساعة] LT',
2675            nextWeek: 'dddd [على الساعة] LT',
2676            lastDay: '[أمس على الساعة] LT',
2677            lastWeek: 'dddd [على الساعة] LT',
2678            sameElse: 'L'
2679        },
2680        relativeTime : {
2681            future : "في %s",
2682            past : "منذ %s",
2683            s : "ثوان",
2684            m : "دقيقة",
2685            mm : "%d دقائق",
2686            h : "ساعة",
2687            hh : "%d ساعات",
2688            d : "يوم",
2689            dd : "%d أيام",
2690            M : "شهر",
2691            MM : "%d أشهر",
2692            y : "سنة",
2693            yy : "%d سنوات"
2694        },
2695        preparse: function (string) {
2696            return string.replace(/[Û°-Û¹]/g, function (match) {
2697                return numberMap[match];
2698            }).replace(/،/g, ',');
2699        },
2700        postformat: function (string) {
2701            return string.replace(/\d/g, function (match) {
2702                return symbolMap[match];
2703            }).replace(/,/g, '،');
2704        },
2705        week : {
2706            dow : 6, // Saturday is the first day of the week.
2707            doy : 12  // The week that contains Jan 1st is the first week of the year.
2708        }
2709    });
2710}));
2711// moment.js language configuration
2712// language : Arabic (ar)
2713// author : Abdel Said : https://github.com/abdelsaid
2714// changes in months, weekdays : Ahmed Elkhatib
2715
2716(function (factory) {
2717    factory(moment);
2718}(function (moment) {
2719    var symbolMap = {
2720        '1': 'Ù¡',
2721        '2': 'Ù¢',
2722        '3': 'Ù£',
2723        '4': 'Ù¤',
2724        '5': 'Ù¥',
2725        '6': 'Ù¦',
2726        '7': 'Ù§',
2727        '8': 'Ù¨',
2728        '9': 'Ù©',
2729        '0': 'Ù '
2730    }, numberMap = {
2731        'Ù¡': '1',
2732        'Ù¢': '2',
2733        'Ù£': '3',
2734        'Ù¤': '4',
2735        'Ù¥': '5',
2736        'Ù¦': '6',
2737        'Ù§': '7',
2738        'Ù¨': '8',
2739        'Ù©': '9',
2740        'Ù ': '0'
2741    };
2742
2743    return moment.lang('ar', {
2744        months : "يناير/ كانون الثاني_فبراير/ شباط_مارس/ آذار_أبريل/ نيسان_مايو/ أيار_يونيو/ حزيران_يوليو/ تموز_أغسطس/ آب_سبتمبر/ أيلول_أكتوبر/ تشرين الأول_نوفمبر/ تشرين الثاني_ديسمبر/ كانون الأول".split("_"),
2745        monthsShort : "يناير/ كانون الثاني_فبراير/ شباط_مارس/ آذار_أبريل/ نيسان_مايو/ أيار_يونيو/ حزيران_يوليو/ تموز_أغسطس/ آب_سبتمبر/ أيلول_أكتوبر/ تشرين الأول_نوفمبر/ تشرين الثاني_ديسمبر/ كانون الأول".split("_"),
2746        weekdays : "الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),
2747        weekdaysShort : "أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),
2748        weekdaysMin : "ح_ن_ث_ر_خ_ج_س".split("_"),
2749        longDateFormat : {
2750            LT : "HH:mm",
2751            L : "DD/MM/YYYY",
2752            LL : "D MMMM YYYY",
2753            LLL : "D MMMM YYYY LT",
2754            LLLL : "dddd D MMMM YYYY LT"
2755        },
2756        meridiem : function (hour, minute, isLower) {
2757            if (hour < 12) {
2758                return "ص";
2759            } else {
2760                return "م";
2761            }
2762        },
2763        calendar : {
2764            sameDay: "[اليوم على الساعة] LT",
2765            nextDay: '[غدا على الساعة] LT',
2766            nextWeek: 'dddd [على الساعة] LT',
2767            lastDay: '[أمس على الساعة] LT',
2768            lastWeek: 'dddd [على الساعة] LT',
2769            sameElse: 'L'
2770        },
2771        relativeTime : {
2772            future : "في %s",
2773            past : "منذ %s",
2774            s : "ثوان",
2775            m : "دقيقة",
2776            mm : "%d دقائق",
2777            h : "ساعة",
2778            hh : "%d ساعات",
2779            d : "يوم",
2780            dd : "%d أيام",
2781            M : "شهر",
2782            MM : "%d أشهر",
2783            y : "سنة",
2784            yy : "%d سنوات"
2785        },
2786        preparse: function (string) {
2787            return string.replace(/[Û°-Û¹]/g, function (match) {
2788                return numberMap[match];
2789            }).replace(/،/g, ',');
2790        },
2791        postformat: function (string) {
2792            return string.replace(/\d/g, function (match) {
2793                return symbolMap[match];
2794            }).replace(/,/g, '،');
2795        },
2796        week : {
2797            dow : 6, // Saturday is the first day of the week.
2798            doy : 12  // The week that contains Jan 1st is the first week of the year.
2799        }
2800    });
2801}));
2802// moment.js language configuration
2803// language : azerbaijani (az)
2804// author : topchiyev : https://github.com/topchiyev
2805
2806(function (factory) {
2807    factory(moment);
2808}(function (moment) {
2809
2810    var suffixes = {
2811        1: "-inci",
2812        5: "-inci",
2813        8: "-inci",
2814        70: "-inci",
2815        80: "-inci",
2816
2817        2: "-nci",
2818        7: "-nci",
2819        20: "-nci",
2820        50: "-nci",
2821
2822        3: "-üncü",
2823        4: "-üncü",
2824        100: "-üncü",
2825
2826        6: "-ncı",
2827
2828        9: "-uncu",
2829        10: "-uncu",
2830        30: "-uncu",
2831
2832        60: "-ıncı",
2833        90: "-ıncı"
2834    };
2835    return moment.lang('az', {
2836        months : "yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),
2837        monthsShort : "yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),
2838        weekdays : "Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),
2839        weekdaysShort : "Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),
2840        weekdaysMin : "Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),
2841        longDateFormat : {
2842            LT : "HH:mm",
2843            L : "DD.MM.YYYY",
2844            LL : "D MMMM YYYY",
2845            LLL : "D MMMM YYYY LT",
2846            LLLL : "dddd, D MMMM YYYY LT"
2847        },
2848        calendar : {
2849            sameDay : '[bugün saat] LT',
2850            nextDay : '[sabah saat] LT',
2851            nextWeek : '[gələn həftə] dddd [saat] LT',
2852            lastDay : '[dünən] LT',
vendor: 24,810 bytes, lines 2853-3550
2853            lastWeek : '[keçən həftə] dddd [saat] LT',
2854            sameElse : 'L'
2855        },
2856        relativeTime : {
2857            future : "%s sonra",
2858            past : "%s əvvəl",
2859            s : "birneçə saniyyə",
2860            m : "bir dəqiqə",
2861            mm : "%d dəqiqə",
2862            h : "bir saat",
2863            hh : "%d saat",
2864            d : "bir gün",
2865            dd : "%d gün",
2866            M : "bir ay",
2867            MM : "%d ay",
2868            y : "bir il",
2869            yy : "%d il"
2870        },
2871        meridiem : function (hour, minute, isLower) {
2872            if (hour < 4) {
2873                return "gecə";
2874            } else if (hour < 12) {
2875                return "səhər";
2876            } else if (hour < 17) {
2877                return "gündüz";
2878            } else {
2879                return "axşam";
2880            }
2881        },
2882        ordinal : function (number) {
2883            if (number === 0) {  // special case for zero
2884                return number + "-ıncı";
2885            }
2886            var a = number % 10,
2887                b = number % 100 - a,
2888                c = number >= 100 ? 100 : null;
2889
2890            return number + (suffixes[a] || suffixes[b] || suffixes[c]);
2891        },
2892        week : {
2893            dow : 1, // Monday is the first day of the week.
2894            doy : 7  // The week that contains Jan 1st is the first week of the year.
2895        }
2896    });
2897}));
2898// moment.js language configuration
2899// language : bulgarian (bg)
2900// author : Krasen Borisov : https://github.com/kraz
2901
2902(function (factory) {
2903    factory(moment);
2904}(function (moment) {
2905    return moment.lang('bg', {
2906        months : "януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),
2907        monthsShort : "янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),
2908        weekdays : "неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),
2909        weekdaysShort : "нед_пон_вто_сря_чет_пет_съб".split("_"),
2910        weekdaysMin : "нд_пн_вт_ср_чт_пт_сб".split("_"),
2911        longDateFormat : {
2912            LT : "H:mm",
2913            L : "D.MM.YYYY",
2914            LL : "D MMMM YYYY",
2915            LLL : "D MMMM YYYY LT",
2916            LLLL : "dddd, D MMMM YYYY LT"
2917        },
2918        calendar : {
2919            sameDay : '[Днес в] LT',
2920            nextDay : '[Утре в] LT',
2921            nextWeek : 'dddd [в] LT',
2922            lastDay : '[Вчера в] LT',
2923            lastWeek : function () {
2924                switch (this.day()) {
2925                case 0:
2926                case 3:
2927                case 6:
2928                    return '[В изминалата] dddd [в] LT';
2929                case 1:
2930                case 2:
2931                case 4:
2932                case 5:
2933                    return '[В изминалия] dddd [в] LT';
2934                }
2935            },
2936            sameElse : 'L'
2937        },
2938        relativeTime : {
2939            future : "след %s",
2940            past : "преди %s",
2941            s : "няколко секунди",
2942            m : "минута",
2943            mm : "%d минути",
2944            h : "час",
2945            hh : "%d часа",
2946            d : "ден",
2947            dd : "%d дни",
2948            M : "месец",
2949            MM : "%d месеца",
2950            y : "година",
2951            yy : "%d години"
2952        },
2953        ordinal : function (number) {
2954            var lastDigit = number % 10,
2955                last2Digits = number % 100;
2956            if (number === 0) {
2957                return number + '-ев';
2958            } else if (last2Digits === 0) {
2959                return number + '-ен';
2960            } else if (last2Digits > 10 && last2Digits < 20) {
2961                return number + '-ти';
2962            } else if (lastDigit === 1) {
2963                return number + '-ви';
2964            } else if (lastDigit === 2) {
2965                return number + '-ри';
2966            } else if (lastDigit === 7 || lastDigit === 8) {
2967                return number + '-ми';
2968            } else {
2969                return number + '-ти';
2970            }
2971        },
2972        week : {
2973            dow : 1, // Monday is the first day of the week.
2974            doy : 7  // The week that contains Jan 1st is the first week of the year.
2975        }
2976    });
2977}));
2978// moment.js language configuration
2979// language : Bengali (bn)
2980// author : Kaushik Gandhi : https://github.com/kaushikgandhi
2981
2982(function (factory) {
2983    factory(moment);
2984}(function (moment) {
2985    var symbolMap = {
2986        '1': 'à§§',
2987        '2': '২',
2988        '3': 'à§©',
2989        '4': '৪',
2990        '5': 'à§«',
2991        '6': '৬',
2992        '7': 'à§­',
2993        '8': 'à§®',
2994        '9': '৯',
2995        '0': '০'
2996    },
2997    numberMap = {
2998        'à§§': '1',
2999        '২': '2',
3000        'à§©': '3',
3001        '৪': '4',
3002        'à§«': '5',
3003        '৬': '6',
3004        'à§­': '7',
3005        'à§®': '8',
3006        '৯': '9',
3007        '০': '0'
3008    };
3009
3010    return moment.lang('bn', {
3011        months : 'জানুয়ারী_ফেবুয়ারী_মার্চ_এপ্রিল_মে_জুন_জুলাই_অগাস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split("_"),
3012        monthsShort : 'জানু_ফেব_মার্চ_এপর_মে_জুন_জুল_অগ_সেপ্ট_অক্টো_নভ_ডিসেম্'.split("_"),
3013        weekdays : 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পত্তিবার_শুক্রুবার_শনিবার'.split("_"),
3014        weekdaysShort : 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পত্তি_শুক্রু_শনি'.split("_"),
3015        weekdaysMin : 'রব_সম_মঙ্গ_বু_ব্রিহ_শু_শনি'.split("_"),
3016        longDateFormat : {
3017            LT : "A h:mm সময়",
3018            L : "DD/MM/YYYY",
3019            LL : "D MMMM YYYY",
3020            LLL : "D MMMM YYYY, LT",
3021            LLLL : "dddd, D MMMM YYYY, LT"
3022        },
3023        calendar : {
3024            sameDay : '[আজ] LT',
3025            nextDay : '[আগামীকাল] LT',
3026            nextWeek : 'dddd, LT',
3027            lastDay : '[গতকাল] LT',
3028            lastWeek : '[গত] dddd, LT',
3029            sameElse : 'L'
3030        },
3031        relativeTime : {
3032            future : "%s পরে",
3033            past : "%s আগে",
3034            s : "কএক সেকেন্ড",
3035            m : "এক মিনিট",
3036            mm : "%d মিনিট",
3037            h : "এক ঘন্টা",
3038            hh : "%d ঘন্টা",
3039            d : "এক দিন",
3040            dd : "%d দিন",
3041            M : "এক মাস",
3042            MM : "%d মাস",
3043            y : "এক বছর",
3044            yy : "%d বছর"
3045        },
3046        preparse: function (string) {
3047            return string.replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) {
3048                return numberMap[match];
3049            });
3050        },
3051        postformat: function (string) {
3052            return string.replace(/\d/g, function (match) {
3053                return symbolMap[match];
3054            });
3055        },
3056        //Bengali is a vast language its spoken 
3057        //in different forms in various parts of the world.
3058        //I have just generalized with most common one used
3059        meridiem : function (hour, minute, isLower) {
3060            if (hour < 4) {
3061                return "রাত";
3062            } else if (hour < 10) {
3063                return "শকাল";
3064            } else if (hour < 17) {
3065                return "দুপুর";
3066            } else if (hour < 20) {
3067                return "বিকেল";
3068            } else {
3069                return "রাত";
3070            }
3071        },
3072        week : {
3073            dow : 0, // Sunday is the first day of the week.
3074            doy : 6  // The week that contains Jan 1st is the first week of the year.
3075        }
3076    });
3077}));
3078// moment.js language configuration
3079// language : breton (br)
3080// author : Jean-Baptiste Le Duigou : https://github.com/jbleduigou
3081
3082(function (factory) {
3083    factory(moment);
3084}(function (moment) {
3085    function relativeTimeWithMutation(number, withoutSuffix, key) {
3086        var format = {
3087            'mm': "munutenn",
3088            'MM': "miz",
3089            'dd': "devezh"
3090        };
3091        return number + ' ' + mutation(format[key], number);
3092    }
3093
3094    function specialMutationForYears(number) {
3095        switch (lastNumber(number)) {
3096        case 1:
3097        case 3:
3098        case 4:
3099        case 5:
3100        case 9:
3101            return number + ' bloaz';
3102        default:
3103            return number + ' vloaz';
3104        }
3105    }
3106
3107    function lastNumber(number) {
3108        if (number > 9) {
3109            return lastNumber(number % 10);
3110        }
3111        return number;
3112    }
3113
3114    function mutation(text, number) {
3115        if (number === 2) {
3116            return softMutation(text);
3117        }
3118        return text;
3119    }
3120
3121    function softMutation(text) {
3122        var mutationTable = {
3123            'm': 'v',
3124            'b': 'v',
3125            'd': 'z'
3126        };
3127        if (mutationTable[text.charAt(0)] === undefined) {
3128            return text;
3129        }
3130        return mutationTable[text.charAt(0)] + text.substring(1);
3131    }
3132
3133    return moment.lang('br', {
3134        months : "Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),
3135        monthsShort : "Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),
3136        weekdays : "Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),
3137        weekdaysShort : "Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),
3138        weekdaysMin : "Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),
3139        longDateFormat : {
3140            LT : "h[e]mm A",
3141            L : "DD/MM/YYYY",
3142            LL : "D [a viz] MMMM YYYY",
3143            LLL : "D [a viz] MMMM YYYY LT",
3144            LLLL : "dddd, D [a viz] MMMM YYYY LT"
3145        },
3146        calendar : {
3147            sameDay : '[Hiziv da] LT',
3148            nextDay : '[Warc\'hoazh da] LT',
3149            nextWeek : 'dddd [da] LT',
3150            lastDay : '[Dec\'h da] LT',
3151            lastWeek : 'dddd [paset da] LT',
3152            sameElse : 'L'
3153        },
3154        relativeTime : {
3155            future : "a-benn %s",
3156            past : "%s 'zo",
3157            s : "un nebeud segondennoù",
3158            m : "ur vunutenn",
3159            mm : relativeTimeWithMutation,
3160            h : "un eur",
3161            hh : "%d eur",
3162            d : "un devezh",
3163            dd : relativeTimeWithMutation,
3164            M : "ur miz",
3165            MM : relativeTimeWithMutation,
3166            y : "ur bloaz",
3167            yy : specialMutationForYears
3168        },
3169        ordinal : function (number) {
3170            var output = (number === 1) ? 'añ' : 'vet';
3171            return number + output;
3172        },
3173        week : {
3174            dow : 1, // Monday is the first day of the week.
3175            doy : 4  // The week that contains Jan 4th is the first week of the year.
3176        }
3177    });
3178}));
3179// moment.js language configuration
3180// language : bosnian (bs)
3181// author : Nedim Cholich : https://github.com/frontyard
3182// based on (hr) translation by Bojan Marković
3183
3184(function (factory) {
3185    factory(moment);
3186}(function (moment) {
3187
3188    function translate(number, withoutSuffix, key) {
3189        var result = number + " ";
3190        switch (key) {
3191        case 'm':
3192            return withoutSuffix ? 'jedna minuta' : 'jedne minute';
3193        case 'mm':
3194            if (number === 1) {
3195                result += 'minuta';
3196            } else if (number === 2 || number === 3 || number === 4) {
3197                result += 'minute';
3198            } else {
3199                result += 'minuta';
3200            }
3201            return result;
3202        case 'h':
3203            return withoutSuffix ? 'jedan sat' : 'jednog sata';
3204        case 'hh':
3205            if (number === 1) {
3206                result += 'sat';
3207            } else if (number === 2 || number === 3 || number === 4) {
3208                result += 'sata';
3209            } else {
3210                result += 'sati';
3211            }
3212            return result;
3213        case 'dd':
3214            if (number === 1) {
3215                result += 'dan';
3216            } else {
3217                result += 'dana';
3218            }
3219            return result;
3220        case 'MM':
3221            if (number === 1) {
3222                result += 'mjesec';
3223            } else if (number === 2 || number === 3 || number === 4) {
3224                result += 'mjeseca';
3225            } else {
3226                result += 'mjeseci';
3227            }
3228            return result;
3229        case 'yy':
3230            if (number === 1) {
3231                result += 'godina';
3232            } else if (number === 2 || number === 3 || number === 4) {
3233                result += 'godine';
3234            } else {
3235                result += 'godina';
3236            }
3237            return result;
3238        }
3239    }
3240
3241    return moment.lang('bs', {
3242		months : "januar_februar_mart_april_maj_juni_juli_avgust_septembar_oktobar_novembar_decembar".split("_"),
3243		monthsShort : "jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),
3244        weekdays : "nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),
3245        weekdaysShort : "ned._pon._uto._sri._čet._pet._sub.".split("_"),
3246        weekdaysMin : "ne_po_ut_sr_če_pe_su".split("_"),
3247        longDateFormat : {
3248            LT : "H:mm",
3249            L : "DD. MM. YYYY",
3250            LL : "D. MMMM YYYY",
3251            LLL : "D. MMMM YYYY LT",
3252            LLLL : "dddd, D. MMMM YYYY LT"
3253        },
3254        calendar : {
3255            sameDay  : '[danas u] LT',
3256            nextDay  : '[sutra u] LT',
3257
3258            nextWeek : function () {
3259                switch (this.day()) {
3260                case 0:
3261                    return '[u] [nedjelju] [u] LT';
3262                case 3:
3263                    return '[u] [srijedu] [u] LT';
3264                case 6:
3265                    return '[u] [subotu] [u] LT';
3266                case 1:
3267                case 2:
3268                case 4:
3269                case 5:
3270                    return '[u] dddd [u] LT';
3271                }
3272            },
3273            lastDay  : '[jučer u] LT',
3274            lastWeek : function () {
3275                switch (this.day()) {
3276                case 0:
3277                case 3:
3278                    return '[prošlu] dddd [u] LT';
3279                case 6:
3280                    return '[prošle] [subote] [u] LT';
3281                case 1:
3282                case 2:
3283                case 4:
3284                case 5:
3285                    return '[prošli] dddd [u] LT';
3286                }
3287            },
3288            sameElse : 'L'
3289        },
3290        relativeTime : {
3291            future : "za %s",
3292            past   : "prije %s",
3293            s      : "par sekundi",
3294            m      : translate,
3295            mm     : translate,
3296            h      : translate,
3297            hh     : translate,
3298            d      : "dan",
3299            dd     : translate,
3300            M      : "mjesec",
3301            MM     : translate,
3302            y      : "godinu",
3303            yy     : translate
3304        },
3305        ordinal : '%d.',
3306        week : {
3307            dow : 1, // Monday is the first day of the week.
3308            doy : 7  // The week that contains Jan 1st is the first week of the year.
3309        }
3310    });
3311}));
3312// moment.js language configuration
3313// language : catalan (ca)
3314// author : Juan G. Hurtado : https://github.com/juanghurtado
3315
3316(function (factory) {
3317    factory(moment);
3318}(function (moment) {
3319    return moment.lang('ca', {
3320        months : "gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),
3321        monthsShort : "gen._febr._mar._abr._mai._jun._jul._ag._set._oct._nov._des.".split("_"),
3322        weekdays : "diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),
3323        weekdaysShort : "dg._dl._dt._dc._dj._dv._ds.".split("_"),
3324        weekdaysMin : "Dg_Dl_Dt_Dc_Dj_Dv_Ds".split("_"),
3325        longDateFormat : {
3326            LT : "H:mm",
3327            L : "DD/MM/YYYY",
3328            LL : "D MMMM YYYY",
3329            LLL : "D MMMM YYYY LT",
3330            LLLL : "dddd D MMMM YYYY LT"
3331        },
3332        calendar : {
3333            sameDay : function () {
3334                return '[avui a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT';
3335            },
3336            nextDay : function () {
3337                return '[demà a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT';
3338            },
3339            nextWeek : function () {
3340                return 'dddd [a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT';
3341            },
3342            lastDay : function () {
3343                return '[ahir a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT';
3344            },
3345            lastWeek : function () {
3346                return '[el] dddd [passat a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT';
3347            },
3348            sameElse : 'L'
3349        },
3350        relativeTime : {
3351            future : "en %s",
3352            past : "fa %s",
3353            s : "uns segons",
3354            m : "un minut",
3355            mm : "%d minuts",
3356            h : "una hora",
3357            hh : "%d hores",
3358            d : "un dia",
3359            dd : "%d dies",
3360            M : "un mes",
3361            MM : "%d mesos",
3362            y : "un any",
3363            yy : "%d anys"
3364        },
3365        ordinal : '%dº',
3366        week : {
3367            dow : 1, // Monday is the first day of the week.
3368            doy : 4  // The week that contains Jan 4th is the first week of the year.
3369        }
3370    });
3371}));
3372// moment.js language configuration
3373// language : czech (cs)
3374// author : petrbela : https://github.com/petrbela
3375
3376(function (factory) {
3377    factory(moment);
3378}(function (moment) {
3379    var months = "leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),
3380        monthsShort = "led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_");
3381
3382    function plural(n) {
3383        return (n > 1) && (n < 5) && (~~(n / 10) !== 1);
3384    }
3385
3386    function translate(number, withoutSuffix, key, isFuture) {
3387        var result = number + " ";
3388        switch (key) {
3389        case 's':  // a few seconds / in a few seconds / a few seconds ago
3390            return (withoutSuffix || isFuture) ? 'pár sekund' : 'pár sekundami';
3391        case 'm':  // a minute / in a minute / a minute ago
3392            return withoutSuffix ? 'minuta' : (isFuture ? 'minutu' : 'minutou');
3393        case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago
3394            if (withoutSuffix || isFuture) {
3395                return result + (plural(number) ? 'minuty' : 'minut');
3396            } else {
3397                return result + 'minutami';
3398            }
3399            break;
3400        case 'h':  // an hour / in an hour / an hour ago
3401            return withoutSuffix ? 'hodina' : (isFuture ? 'hodinu' : 'hodinou');
3402        case 'hh': // 9 hours / in 9 hours / 9 hours ago
3403            if (withoutSuffix || isFuture) {
3404                return result + (plural(number) ? 'hodiny' : 'hodin');
3405            } else {
3406                return result + 'hodinami';
3407            }
3408            break;
3409        case 'd':  // a day / in a day / a day ago
3410            return (withoutSuffix || isFuture) ? 'den' : 'dnem';
3411        case 'dd': // 9 days / in 9 days / 9 days ago
3412            if (withoutSuffix || isFuture) {
3413                return result + (plural(number) ? 'dny' : 'dní');
3414            } else {
3415                return result + 'dny';
3416            }
3417            break;
3418        case 'M':  // a month / in a month / a month ago
3419            return (withoutSuffix || isFuture) ? 'měsíc' : 'měsícem';
3420        case 'MM': // 9 months / in 9 months / 9 months ago
3421            if (withoutSuffix || isFuture) {
3422                return result + (plural(number) ? 'měsíce' : 'měsíců');
3423            } else {
3424                return result + 'měsíci';
3425            }
3426            break;
3427        case 'y':  // a year / in a year / a year ago
3428            return (withoutSuffix || isFuture) ? 'rok' : 'rokem';
3429        case 'yy': // 9 years / in 9 years / 9 years ago
3430            if (withoutSuffix || isFuture) {
3431                return result + (plural(number) ? 'roky' : 'let');
3432            } else {
3433                return result + 'lety';
3434            }
3435            break;
3436        }
3437    }
3438
3439    return moment.lang('cs', {
3440        months : months,
3441        monthsShort : monthsShort,
3442        monthsParse : (function (months, monthsShort) {
3443            var i, _monthsParse = [];
3444            for (i = 0; i < 12; i++) {
3445                // use custom parser to solve problem with July (červenec)
3446                _monthsParse[i] = new RegExp('^' + months[i] + '$|^' + monthsShort[i] + '$', 'i');
3447            }
3448            return _monthsParse;
3449        }(months, monthsShort)),
3450        weekdays : "neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),
3451        weekdaysShort : "ne_po_út_st_čt_pá_so".split("_"),
3452        weekdaysMin : "ne_po_út_st_čt_pá_so".split("_"),
3453        longDateFormat : {
3454            LT: "H.mm",
3455            L : "DD. MM. YYYY",
3456            LL : "D. MMMM YYYY",
3457            LLL : "D. MMMM YYYY LT",
3458            LLLL : "dddd D. MMMM YYYY LT"
3459        },
3460        calendar : {
3461            sameDay: "[dnes v] LT",
3462            nextDay: '[zítra v] LT',
3463            nextWeek: function () {
3464                switch (this.day()) {
3465                case 0:
3466                    return '[v neděli v] LT';
3467                case 1:
3468                case 2:
3469                    return '[v] dddd [v] LT';
3470                case 3:
3471                    return '[ve středu v] LT';
3472                case 4:
3473                    return '[ve čtvrtek v] LT';
3474                case 5:
3475                    return '[v pátek v] LT';
3476                case 6:
3477                    return '[v sobotu v] LT';
3478                }
3479            },
3480            lastDay: '[včera v] LT',
3481            lastWeek: function () {
3482                switch (this.day()) {
3483                case 0:
3484                    return '[minulou neděli v] LT';
3485                case 1:
3486                case 2:
3487                    return '[minulé] dddd [v] LT';
3488                case 3:
3489                    return '[minulou středu v] LT';
3490                case 4:
3491                case 5:
3492                    return '[minulý] dddd [v] LT';
3493                case 6:
3494                    return '[minulou sobotu v] LT';
3495                }
3496            },
3497            sameElse: "L"
3498        },
3499        relativeTime : {
3500            future : "za %s",
3501            past : "před %s",
3502            s : translate,
3503            m : translate,
3504            mm : translate,
3505            h : translate,
3506            hh : translate,
3507            d : translate,
3508            dd : translate,
3509            M : translate,
3510            MM : translate,
3511            y : translate,
3512            yy : translate
3513        },
3514        ordinal : '%d.',
3515        week : {
3516            dow : 1, // Monday is the first day of the week.
3517            doy : 4  // The week that contains Jan 4th is the first week of the year.
3518        }
3519    });
3520}));
3521// moment.js language configuration
3522// language : chuvash (cv)
3523// author : Anatoly Mironov : https://github.com/mirontoli
3524
3525(function (factory) {
3526    factory(moment);
3527}(function (moment) {
3528    return moment.lang('cv', {
3529        months : "кăрлач_нарăс_пуш_ака_май_çĕртме_утă_çурла_авăн_юпа_чӳк_раштав".split("_"),
3530        monthsShort : "кăр_нар_пуш_ака_май_çĕр_утă_çур_ав_юпа_чӳк_раш".split("_"),
3531        weekdays : "вырсарникун_тунтикун_ытларикун_юнкун_кĕçнерникун_эрнекун_шăматкун".split("_"),
3532        weekdaysShort : "выр_тун_ытл_юн_кĕç_эрн_шăм".split("_"),
3533        weekdaysMin : "вр_тн_ыт_юн_кç_эр_шм".split("_"),
3534        longDateFormat : {
3535            LT : "HH:mm",
3536            L : "DD-MM-YYYY",
3537            LL : "YYYY [çулхи] MMMM [уйăхĕн] D[-мĕшĕ]",
3538            LLL : "YYYY [çулхи] MMMM [уйăхĕн] D[-мĕшĕ], LT",
3539            LLLL : "dddd, YYYY [çулхи] MMMM [уйăхĕн] D[-мĕшĕ], LT"
3540        },
3541        calendar : {
3542            sameDay: '[Паян] LT [сехетре]',
3543            nextDay: '[Ыран] LT [сехетре]',
3544            lastDay: '[Ĕнер] LT [сехетре]',
3545            nextWeek: '[Çитес] dddd LT [сехетре]',
3546            lastWeek: '[Иртнĕ] dddd LT [сехетре]',
3547            sameElse: 'L'
3548        },
3549        relativeTime : {
3550            future : function (output) {
3551                var affix = /сехет$/i.exec(output) ? "рен" : /çул$/i.exec(output) ? "тан" : "ран";
3552                return output + affix;
3553            },
3554            past : "%s каялла",
3555            s : "пĕр-ик çеккунт",
3556            m : "пĕр минут",
3557            mm : "%d минут",
3558            h : "пĕр сехет",
3559            hh : "%d сехет",
3560            d : "пĕр кун",
3561            dd : "%d кун",
3562            M : "пĕр уйăх",
3563            MM : "%d уйăх",
3564            y : "пĕр çул",
3565            yy : "%d çул"
3566        },
3567        ordinal : '%d-мĕш',
3568        week : {
3569            dow : 1, // Monday is the first day of the week.
3570            doy : 7  // The week that contains Jan 1st is the first week of the year.
3571        }
3572    });
3573}));
3574// moment.js language configuration
3575// language : Welsh (cy)
3576// author : Robert Allen
3577
3578(function (factory) {
3579    factory(moment);
3580}(function (moment) {
3581    return moment.lang("cy", {
3582        months: "Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),
3583        monthsShort: "Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),
3584        weekdays: "Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),
3585        weekdaysShort: "Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),
3586        weekdaysMin: "Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),
3587        // time formats are the same as en-gb
3588        longDateFormat: {
3589            LT: "HH:mm",
3590            L: "DD/MM/YYYY",
3591            LL: "D MMMM YYYY",
3592            LLL: "D MMMM YYYY LT",
3593            LLLL: "dddd, D MMMM YYYY LT"
3594        },
3595        calendar: {
3596            sameDay: '[Heddiw am] LT',
3597            nextDay: '[Yfory am] LT',
3598            nextWeek: 'dddd [am] LT',
3599            lastDay: '[Ddoe am] LT',
3600            lastWeek: 'dddd [diwethaf am] LT',
3601            sameElse: 'L'
3602        },
3603        relativeTime: {
3604            future: "mewn %s",
3605            past: "%s yn ôl",
3606            s: "ychydig eiliadau",
3607            m: "munud",
3608            mm: "%d munud",
3609            h: "awr",
3610            hh: "%d awr",
3611            d: "diwrnod",
3612            dd: "%d diwrnod",
3613            M: "mis",
3614            MM: "%d mis",
3615            y: "blwyddyn",
3616            yy: "%d flynedd"
3617        },
3618        // traditional ordinal numbers above 31 are not commonly used in colloquial Welsh
3619        ordinal: function (number) {
3620            var b = number,
3621                output = '',
3622                lookup = [
vendor: 21,745 bytes, lines 3623-4205
3623                    '', 'af', 'il', 'ydd', 'ydd', 'ed', 'ed', 'ed', 'fed', 'fed', 'fed', // 1af to 10fed
3624                    'eg', 'fed', 'eg', 'eg', 'fed', 'eg', 'eg', 'fed', 'eg', 'fed' // 11eg to 20fed
3625                ];
3626
3627            if (b > 20) {
3628                if (b === 40 || b === 50 || b === 60 || b === 80 || b === 100) {
3629                    output = 'fed'; // not 30ain, 70ain or 90ain
3630                } else {
3631                    output = 'ain';
3632                }
3633            } else if (b > 0) {
3634                output = lookup[b];
3635            }
3636
3637            return number + output;
3638        },
3639        week : {
3640            dow : 1, // Monday is the first day of the week.
3641            doy : 4  // The week that contains Jan 4th is the first week of the year.
3642        }
3643    });
3644}));
3645// moment.js language configuration
3646// language : danish (da)
3647// author : Ulrik Nielsen : https://github.com/mrbase
3648
3649(function (factory) {
3650    factory(moment);
3651}(function (moment) {
3652    return moment.lang('da', {
3653        months : "januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),
3654        monthsShort : "jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),
3655        weekdays : "søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),
3656        weekdaysShort : "søn_man_tir_ons_tor_fre_lør".split("_"),
3657        weekdaysMin : "sø_ma_ti_on_to_fr_lø".split("_"),
3658        longDateFormat : {
3659            LT : "HH:mm",
3660            L : "DD/MM/YYYY",
3661            LL : "D. MMMM YYYY",
3662            LLL : "D. MMMM YYYY LT",
3663            LLLL : "dddd [d.] D. MMMM YYYY LT"
3664        },
3665        calendar : {
3666            sameDay : '[I dag kl.] LT',
3667            nextDay : '[I morgen kl.] LT',
3668            nextWeek : 'dddd [kl.] LT',
3669            lastDay : '[I går kl.] LT',
3670            lastWeek : '[sidste] dddd [kl] LT',
3671            sameElse : 'L'
3672        },
3673        relativeTime : {
3674            future : "om %s",
3675            past : "%s siden",
3676            s : "få sekunder",
3677            m : "et minut",
3678            mm : "%d minutter",
3679            h : "en time",
3680            hh : "%d timer",
3681            d : "en dag",
3682            dd : "%d dage",
3683            M : "en måned",
3684            MM : "%d måneder",
3685            y : "et år",
3686            yy : "%d år"
3687        },
3688        ordinal : '%d.',
3689        week : {
3690            dow : 1, // Monday is the first day of the week.
3691            doy : 4  // The week that contains Jan 4th is the first week of the year.
3692        }
3693    });
3694}));
3695// moment.js language configuration
3696// language : austrian german (de-at)
3697// author : lluchs : https://github.com/lluchs
3698// author: Menelion Elensúle: https://github.com/Oire
3699// author : Martin Groller : https://github.com/MadMG
3700
3701(function (factory) {
3702    factory(moment);
3703}(function (moment) {
3704    function processRelativeTime(number, withoutSuffix, key, isFuture) {
3705        var format = {
3706            'm': ['eine Minute', 'einer Minute'],
3707            'h': ['eine Stunde', 'einer Stunde'],
3708            'd': ['ein Tag', 'einem Tag'],
3709            'dd': [number + ' Tage', number + ' Tagen'],
3710            'M': ['ein Monat', 'einem Monat'],
3711            'MM': [number + ' Monate', number + ' Monaten'],
3712            'y': ['ein Jahr', 'einem Jahr'],
3713            'yy': [number + ' Jahre', number + ' Jahren']
3714        };
3715        return withoutSuffix ? format[key][0] : format[key][1];
3716    }
3717
3718    return moment.lang('de-at', {
3719        months : "Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),
3720        monthsShort : "Jän._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),
3721        weekdays : "Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),
3722        weekdaysShort : "So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),
3723        weekdaysMin : "So_Mo_Di_Mi_Do_Fr_Sa".split("_"),
3724        longDateFormat : {
3725            LT: "HH:mm [Uhr]",
3726            L : "DD.MM.YYYY",
3727            LL : "D. MMMM YYYY",
3728            LLL : "D. MMMM YYYY LT",
3729            LLLL : "dddd, D. MMMM YYYY LT"
3730        },
3731        calendar : {
3732            sameDay: "[Heute um] LT",
3733            sameElse: "L",
3734            nextDay: '[Morgen um] LT',
3735            nextWeek: 'dddd [um] LT',
3736            lastDay: '[Gestern um] LT',
3737            lastWeek: '[letzten] dddd [um] LT'
3738        },
3739        relativeTime : {
3740            future : "in %s",
3741            past : "vor %s",
3742            s : "ein paar Sekunden",
3743            m : processRelativeTime,
3744            mm : "%d Minuten",
3745            h : processRelativeTime,
3746            hh : "%d Stunden",
3747            d : processRelativeTime,
3748            dd : processRelativeTime,
3749            M : processRelativeTime,
3750            MM : processRelativeTime,
3751            y : processRelativeTime,
3752            yy : processRelativeTime
3753        },
3754        ordinal : '%d.',
3755        week : {
3756            dow : 1, // Monday is the first day of the week.
3757            doy : 4  // The week that contains Jan 4th is the first week of the year.
3758        }
3759    });
3760}));
3761// moment.js language configuration
3762// language : german (de)
3763// author : lluchs : https://github.com/lluchs
3764// author: Menelion Elensúle: https://github.com/Oire
3765
3766(function (factory) {
3767    factory(moment);
3768}(function (moment) {
3769    function processRelativeTime(number, withoutSuffix, key, isFuture) {
3770        var format = {
3771            'm': ['eine Minute', 'einer Minute'],
3772            'h': ['eine Stunde', 'einer Stunde'],
3773            'd': ['ein Tag', 'einem Tag'],
3774            'dd': [number + ' Tage', number + ' Tagen'],
3775            'M': ['ein Monat', 'einem Monat'],
3776            'MM': [number + ' Monate', number + ' Monaten'],
3777            'y': ['ein Jahr', 'einem Jahr'],
3778            'yy': [number + ' Jahre', number + ' Jahren']
3779        };
3780        return withoutSuffix ? format[key][0] : format[key][1];
3781    }
3782
3783    return moment.lang('de', {
3784        months : "Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),
3785        monthsShort : "Jan._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),
3786        weekdays : "Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),
3787        weekdaysShort : "So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),
3788        weekdaysMin : "So_Mo_Di_Mi_Do_Fr_Sa".split("_"),
3789        longDateFormat : {
3790            LT: "HH:mm [Uhr]",
3791            L : "DD.MM.YYYY",
3792            LL : "D. MMMM YYYY",
3793            LLL : "D. MMMM YYYY LT",
3794            LLLL : "dddd, D. MMMM YYYY LT"
3795        },
3796        calendar : {
3797            sameDay: "[Heute um] LT",
3798            sameElse: "L",
3799            nextDay: '[Morgen um] LT',
3800            nextWeek: 'dddd [um] LT',
3801            lastDay: '[Gestern um] LT',
3802            lastWeek: '[letzten] dddd [um] LT'
3803        },
3804        relativeTime : {
3805            future : "in %s",
3806            past : "vor %s",
3807            s : "ein paar Sekunden",
3808            m : processRelativeTime,
3809            mm : "%d Minuten",
3810            h : processRelativeTime,
3811            hh : "%d Stunden",
3812            d : processRelativeTime,
3813            dd : processRelativeTime,
3814            M : processRelativeTime,
3815            MM : processRelativeTime,
3816            y : processRelativeTime,
3817            yy : processRelativeTime
3818        },
3819        ordinal : '%d.',
3820        week : {
3821            dow : 1, // Monday is the first day of the week.
3822            doy : 4  // The week that contains Jan 4th is the first week of the year.
3823        }
3824    });
3825}));
3826// moment.js language configuration
3827// language : modern greek (el)
3828// author : Aggelos Karalias : https://github.com/mehiel
3829
3830(function (factory) {
3831    factory(moment);
3832}(function (moment) {
3833    return moment.lang('el', {
3834        monthsNominativeEl : "Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),
3835        monthsGenitiveEl : "Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),
3836        months : function (momentToFormat, format) {
3837            if (/D/.test(format.substring(0, format.indexOf("MMMM")))) { // if there is a day number before 'MMMM'
3838                return this._monthsGenitiveEl[momentToFormat.month()];
3839            } else {
3840                return this._monthsNominativeEl[momentToFormat.month()];
3841            }
3842        },
3843        monthsShort : "Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),
3844        weekdays : "Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),
3845        weekdaysShort : "Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),
3846        weekdaysMin : "Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),
3847        meridiem : function (hours, minutes, isLower) {
3848            if (hours > 11) {
3849                return isLower ? 'μμ' : 'ΜΜ';
3850            } else {
3851                return isLower ? 'πμ' : 'ΠΜ';
3852            }
3853        },
3854        longDateFormat : {
3855            LT : "h:mm A",
3856            L : "DD/MM/YYYY",
3857            LL : "D MMMM YYYY",
3858            LLL : "D MMMM YYYY LT",
3859            LLLL : "dddd, D MMMM YYYY LT"
3860        },
3861        calendarEl : {
3862            sameDay : '[Σήμερα {}] LT',
3863            nextDay : '[Αύριο {}] LT',
3864            nextWeek : 'dddd [{}] LT',
3865            lastDay : '[Χθες {}] LT',
3866            lastWeek : function() {
3867                switch (this.day()) {
3868                    case 6:
3869                        return '[το προηγούμενο] dddd [{}] LT';
3870                    default:
3871                        return '[την προηγούμενη] dddd [{}] LT';
3872                }
3873            },
3874            sameElse : 'L'
3875        },
3876        calendar : function (key, mom) {
3877            var output = this._calendarEl[key],
3878                hours = mom && mom.hours();
3879
3880            if (typeof output === 'function') {
3881                output = output.apply(mom);
3882            }
3883
3884            return output.replace("{}", (hours % 12 === 1 ? "στη" : "στις"));
3885        },
3886        relativeTime : {
3887            future : "σε %s",
3888            past : "%s πριν",
3889            s : "δευτερόλεπτα",
3890            m : "ένα λεπτό",
3891            mm : "%d λεπτά",
3892            h : "μία ώρα",
3893            hh : "%d ώρες",
3894            d : "μία μέρα",
3895            dd : "%d μέρες",
3896            M : "ένας μήνας",
3897            MM : "%d μήνες",
3898            y : "ένας χρόνος",
3899            yy : "%d χρόνια"
3900        },
3901        ordinal : function (number) {
3902            return number + 'η';
3903        },
3904        week : {
3905            dow : 1, // Monday is the first day of the week.
3906            doy : 4  // The week that contains Jan 4st is the first week of the year.
3907        }
3908    });
3909}));
3910// moment.js language configuration
3911// language : australian english (en-au)
3912
3913(function (factory) {
3914    factory(moment);
3915}(function (moment) {
3916    return moment.lang('en-au', {
3917        months : "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
3918        monthsShort : "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),
3919        weekdays : "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
3920        weekdaysShort : "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),
3921        weekdaysMin : "Su_Mo_Tu_We_Th_Fr_Sa".split("_"),
3922        longDateFormat : {
3923            LT : "h:mm A",
3924            L : "DD/MM/YYYY",
3925            LL : "D MMMM YYYY",
3926            LLL : "D MMMM YYYY LT",
3927            LLLL : "dddd, D MMMM YYYY LT"
3928        },
3929        calendar : {
3930            sameDay : '[Today at] LT',
3931            nextDay : '[Tomorrow at] LT',
3932            nextWeek : 'dddd [at] LT',
3933            lastDay : '[Yesterday at] LT',
3934            lastWeek : '[Last] dddd [at] LT',
3935            sameElse : 'L'
3936        },
3937        relativeTime : {
3938            future : "in %s",
3939            past : "%s ago",
3940            s : "a few seconds",
3941            m : "a minute",
3942            mm : "%d minutes",
3943            h : "an hour",
3944            hh : "%d hours",
3945            d : "a day",
3946            dd : "%d days",
3947            M : "a month",
3948            MM : "%d months",
3949            y : "a year",
3950            yy : "%d years"
3951        },
3952        ordinal : function (number) {
3953            var b = number % 10,
3954                output = (~~ (number % 100 / 10) === 1) ? 'th' :
3955                (b === 1) ? 'st' :
3956                (b === 2) ? 'nd' :
3957                (b === 3) ? 'rd' : 'th';
3958            return number + output;
3959        },
3960        week : {
3961            dow : 1, // Monday is the first day of the week.
3962            doy : 4  // The week that contains Jan 4th is the first week of the year.
3963        }
3964    });
3965}));
3966// moment.js language configuration
3967// language : canadian english (en-ca)
3968// author : Jonathan Abourbih : https://github.com/jonbca
3969
3970(function (factory) {
3971    factory(moment);
3972}(function (moment) {
3973    return moment.lang('en-ca', {
3974        months : "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
3975        monthsShort : "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),
3976        weekdays : "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
3977        weekdaysShort : "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),
3978        weekdaysMin : "Su_Mo_Tu_We_Th_Fr_Sa".split("_"),
3979        longDateFormat : {
3980            LT : "h:mm A",
3981            L : "YYYY-MM-DD",
3982            LL : "D MMMM, YYYY",
3983            LLL : "D MMMM, YYYY LT",
3984            LLLL : "dddd, D MMMM, YYYY LT"
3985        },
3986        calendar : {
3987            sameDay : '[Today at] LT',
3988            nextDay : '[Tomorrow at] LT',
3989            nextWeek : 'dddd [at] LT',
3990            lastDay : '[Yesterday at] LT',
3991            lastWeek : '[Last] dddd [at] LT',
3992            sameElse : 'L'
3993        },
3994        relativeTime : {
3995            future : "in %s",
3996            past : "%s ago",
3997            s : "a few seconds",
3998            m : "a minute",
3999            mm : "%d minutes",
4000            h : "an hour",
4001            hh : "%d hours",
4002            d : "a day",
4003            dd : "%d days",
4004            M : "a month",
4005            MM : "%d months",
4006            y : "a year",
4007            yy : "%d years"
4008        },
4009        ordinal : function (number) {
4010            var b = number % 10,
4011                output = (~~ (number % 100 / 10) === 1) ? 'th' :
4012                (b === 1) ? 'st' :
4013                (b === 2) ? 'nd' :
4014                (b === 3) ? 'rd' : 'th';
4015            return number + output;
4016        }
4017    });
4018}));
4019// moment.js language configuration
4020// language : great britain english (en-gb)
4021// author : Chris Gedrim : https://github.com/chrisgedrim
4022
4023(function (factory) {
4024    factory(moment);
4025}(function (moment) {
4026    return moment.lang('en-gb', {
4027        months : "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
4028        monthsShort : "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),
4029        weekdays : "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
4030        weekdaysShort : "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),
4031        weekdaysMin : "Su_Mo_Tu_We_Th_Fr_Sa".split("_"),
4032        longDateFormat : {
4033            LT : "HH:mm",
4034            L : "DD/MM/YYYY",
4035            LL : "D MMMM YYYY",
4036            LLL : "D MMMM YYYY LT",
4037            LLLL : "dddd, D MMMM YYYY LT"
4038        },
4039        calendar : {
4040            sameDay : '[Today at] LT',
4041            nextDay : '[Tomorrow at] LT',
4042            nextWeek : 'dddd [at] LT',
4043            lastDay : '[Yesterday at] LT',
4044            lastWeek : '[Last] dddd [at] LT',
4045            sameElse : 'L'
4046        },
4047        relativeTime : {
4048            future : "in %s",
4049            past : "%s ago",
4050            s : "a few seconds",
4051            m : "a minute",
4052            mm : "%d minutes",
4053            h : "an hour",
4054            hh : "%d hours",
4055            d : "a day",
4056            dd : "%d days",
4057            M : "a month",
4058            MM : "%d months",
4059            y : "a year",
4060            yy : "%d years"
4061        },
4062        ordinal : function (number) {
4063            var b = number % 10,
4064                output = (~~ (number % 100 / 10) === 1) ? 'th' :
4065                (b === 1) ? 'st' :
4066                (b === 2) ? 'nd' :
4067                (b === 3) ? 'rd' : 'th';
4068            return number + output;
4069        },
4070        week : {
4071            dow : 1, // Monday is the first day of the week.
4072            doy : 4  // The week that contains Jan 4th is the first week of the year.
4073        }
4074    });
4075}));
4076// moment.js language configuration
4077// language : esperanto (eo)
4078// author : Colin Dean : https://github.com/colindean
4079// komento: Mi estas malcerta se mi korekte traktis akuzativojn en tiu traduko.
4080//          Se ne, bonvolu korekti kaj avizi min por ke mi povas lerni!
4081
4082(function (factory) {
4083    factory(moment);
4084}(function (moment) {
4085    return moment.lang('eo', {
4086        months : "januaro_februaro_marto_aprilo_majo_junio_julio_aÅ­gusto_septembro_oktobro_novembro_decembro".split("_"),
4087        monthsShort : "jan_feb_mar_apr_maj_jun_jul_aÅ­g_sep_okt_nov_dec".split("_"),
4088        weekdays : "Dimanĉo_Lundo_Mardo_Merkredo_Ĵaŭdo_Vendredo_Sabato".split("_"),
4089        weekdaysShort : "Dim_Lun_Mard_Merk_Ä´aÅ­_Ven_Sab".split("_"),
4090        weekdaysMin : "Di_Lu_Ma_Me_Ä´a_Ve_Sa".split("_"),
4091        longDateFormat : {
4092            LT : "HH:mm",
4093            L : "YYYY-MM-DD",
4094            LL : "D[-an de] MMMM, YYYY",
4095            LLL : "D[-an de] MMMM, YYYY LT",
4096            LLLL : "dddd, [la] D[-an de] MMMM, YYYY LT"
4097        },
4098        meridiem : function (hours, minutes, isLower) {
4099            if (hours > 11) {
4100                return isLower ? 'p.t.m.' : 'P.T.M.';
4101            } else {
4102                return isLower ? 'a.t.m.' : 'A.T.M.';
4103            }
4104        },
4105        calendar : {
4106            sameDay : '[HodiaÅ­ je] LT',
4107            nextDay : '[MorgaÅ­ je] LT',
4108            nextWeek : 'dddd [je] LT',
4109            lastDay : '[HieraÅ­ je] LT',
4110            lastWeek : '[pasinta] dddd [je] LT',
4111            sameElse : 'L'
4112        },
4113        relativeTime : {
4114            future : "je %s",
4115            past : "antaÅ­ %s",
4116            s : "sekundoj",
4117            m : "minuto",
4118            mm : "%d minutoj",
4119            h : "horo",
4120            hh : "%d horoj",
4121            d : "tago",//ne 'diurno', ĉar estas uzita por proksimumo
4122            dd : "%d tagoj",
4123            M : "monato",
4124            MM : "%d monatoj",
4125            y : "jaro",
4126            yy : "%d jaroj"
4127        },
4128        ordinal : "%da",
4129        week : {
4130            dow : 1, // Monday is the first day of the week.
4131            doy : 7  // The week that contains Jan 1st is the first week of the year.
4132        }
4133    });
4134}));
4135// moment.js language configuration
4136// language : spanish (es)
4137// author : Julio Napurí : https://github.com/julionc
4138
4139(function (factory) {
4140    factory(moment);
4141}(function (moment) {
4142    var monthsShortDot = "ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),
4143        monthsShort = "ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_");
4144
4145    return moment.lang('es', {
4146        months : "enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),
4147        monthsShort : function (m, format) {
4148            if (/-MMM-/.test(format)) {
4149                return monthsShort[m.month()];
4150            } else {
4151                return monthsShortDot[m.month()];
4152            }
4153        },
4154        weekdays : "domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),
4155        weekdaysShort : "dom._lun._mar._mié._jue._vie._sáb.".split("_"),
4156        weekdaysMin : "Do_Lu_Ma_Mi_Ju_Vi_Sá".split("_"),
4157        longDateFormat : {
4158            LT : "H:mm",
4159            L : "DD/MM/YYYY",
4160            LL : "D [de] MMMM [del] YYYY",
4161            LLL : "D [de] MMMM [del] YYYY LT",
4162            LLLL : "dddd, D [de] MMMM [del] YYYY LT"
4163        },
4164        calendar : {
4165            sameDay : function () {
4166                return '[hoy a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
4167            },
4168            nextDay : function () {
4169                return '[mañana a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
4170            },
4171            nextWeek : function () {
4172                return 'dddd [a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
4173            },
4174            lastDay : function () {
4175                return '[ayer a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
4176            },
4177            lastWeek : function () {
4178                return '[el] dddd [pasado a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
4179            },
4180            sameElse : 'L'
4181        },
4182        relativeTime : {
4183            future : "en %s",
4184            past : "hace %s",
4185            s : "unos segundos",
4186            m : "un minuto",
4187            mm : "%d minutos",
4188            h : "una hora",
4189            hh : "%d horas",
4190            d : "un día",
4191            dd : "%d días",
4192            M : "un mes",
4193            MM : "%d meses",
4194            y : "un año",
4195            yy : "%d años"
4196        },
4197        ordinal : '%dº',
4198        week : {
4199            dow : 1, // Monday is the first day of the week.
4200            doy : 4  // The week that contains Jan 4th is the first week of the year.
4201        }
4202    });
4203}));
4204// moment.js language configuration
4205// language : estonian (et)
4206// author : Henry Kehlmann : https://github.com/madhenry
4207// improvements : Illimar Tambek : https://github.com/ragulka
4208
4209(function (factory) {
4210    factory(moment);
4211}(function (moment) {
4212    function processRelativeTime(number, withoutSuffix, key, isFuture) {
4213        var format = {
4214            's' : ['mõne sekundi', 'mõni sekund', 'paar sekundit'],
4215            'm' : ['ühe minuti', 'üks minut'],
4216            'mm': [number + ' minuti', number + ' minutit'],
4217            'h' : ['ühe tunni', 'tund aega', 'üks tund'],
4218            'hh': [number + ' tunni', number + ' tundi'],
4219            'd' : ['ühe päeva', 'üks päev'],
4220            'M' : ['kuu aja', 'kuu aega', 'üks kuu'],
4221            'MM': [number + ' kuu', number + ' kuud'],
4222            'y' : ['ühe aasta', 'aasta', 'üks aasta'],
4223            'yy': [number + ' aasta', number + ' aastat']
4224        };
4225        if (withoutSuffix) {
4226            return format[key][2] ? format[key][2] : format[key][1];
4227        }
4228        return isFuture ? format[key][0] : format[key][1];
4229    }
4230
4231    return moment.lang('et', {
4232        months        : "jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),
4233        monthsShort   : "jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),
4234        weekdays      : "pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),
4235        weekdaysShort : "P_E_T_K_N_R_L".split("_"),
4236        weekdaysMin   : "P_E_T_K_N_R_L".split("_"),
4237        longDateFormat : {
4238            LT   : "H:mm",
4239            L    : "DD.MM.YYYY",
4240            LL   : "D. MMMM YYYY",
4241            LLL  : "D. MMMM YYYY LT",
4242            LLLL : "dddd, D. MMMM YYYY LT"
4243        },
4244        calendar : {
4245            sameDay  : '[Täna,] LT',
4246            nextDay  : '[Homme,] LT',
4247            nextWeek : '[Järgmine] dddd LT',
4248            lastDay  : '[Eile,] LT',
4249            lastWeek : '[Eelmine] dddd LT',
4250            sameElse : 'L'
4251        },
4252        relativeTime : {
4253            future : "%s pärast",
4254            past   : "%s tagasi",
4255            s      : processRelativeTime,
4256            m      : processRelativeTime,
4257            mm     : processRelativeTime,
4258            h      : processRelativeTime,
4259            hh     : processRelativeTime,
4260            d      : processRelativeTime,
4261            dd     : '%d päeva',
4262            M      : processRelativeTime,
4263            MM     : processRelativeTime,
4264            y      : processRelativeTime,
4265            yy     : processRelativeTime
4266        },
4267        ordinal : '%d.',
4268        week : {
4269            dow : 1, // Monday is the first day of the week.
4270            doy : 4  // The week that contains Jan 4th is the first week of the year.
4271        }
4272    });
4273}));
4274// moment.js language configuration
4275// language : euskara (eu)
4276// author : Eneko Illarramendi : https://github.com/eillarra
4277
4278(function (factory) {
4279    factory(moment);
4280}(function (moment) {
4281    return moment.lang('eu', {
4282        months : "urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),
4283        monthsShort : "urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),
4284        weekdays : "igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),
4285        weekdaysShort : "ig._al._ar._az._og._ol._lr.".split("_"),
4286        weekdaysMin : "ig_al_ar_az_og_ol_lr".split("_"),
4287        longDateFormat : {
4288            LT : "HH:mm",
4289            L : "YYYY-MM-DD",
4290            LL : "YYYY[ko] MMMM[ren] D[a]",
4291            LLL : "YYYY[ko] MMMM[ren] D[a] LT",
4292            LLLL : "dddd, YYYY[ko] MMMM[ren] D[a] LT",
4293            l : "YYYY-M-D",
4294            ll : "YYYY[ko] MMM D[a]",
4295            lll : "YYYY[ko] MMM D[a] LT",
4296            llll : "ddd, YYYY[ko] MMM D[a] LT"
4297        },
4298        calendar : {
4299            sameDay : '[gaur] LT[etan]',
4300            nextDay : '[bihar] LT[etan]',
4301            nextWeek : 'dddd LT[etan]',
4302            lastDay : '[atzo] LT[etan]',
4303            lastWeek : '[aurreko] dddd LT[etan]',
4304            sameElse : 'L'
4305        },
4306        relativeTime : {
4307            future : "%s barru",
4308            past : "duela %s",
4309            s : "segundo batzuk",
4310            m : "minutu bat",
4311            mm : "%d minutu",
4312            h : "ordu bat",
4313            hh : "%d ordu",
4314            d : "egun bat",
4315            dd : "%d egun",
4316            M : "hilabete bat",
4317            MM : "%d hilabete",
4318            y : "urte bat",
4319            yy : "%d urte"
4320        },
4321        ordinal : '%d.',
4322        week : {
4323            dow : 1, // Monday is the first day of the week.
4324            doy : 7  // The week that contains Jan 1st is the first week of the year.
4325        }
4326    });
4327}));
4328// moment.js language configuration
4329// language : Persian Language
4330// author : Ebrahim Byagowi : https://github.com/ebraminio
4331
4332(function (factory) {
4333    factory(moment);
4334}(function (moment) {
4335    var symbolMap = {
4336        '1': 'Û±',
4337        '2': 'Û²',
4338        '3': 'Û³',
4339        '4': 'Û´',
4340        '5': 'Ûµ',
4341        '6': 'Û¶',
4342        '7': 'Û·',
4343        '8': 'Û¸',
4344        '9': 'Û¹',
4345        '0': 'Û°'
4346    }, numberMap = {
4347        'Û±': '1',
4348        'Û²': '2',
4349        'Û³': '3',
4350        'Û´': '4',
4351        'Ûµ': '5',
4352        'Û¶': '6',
4353        'Û·': '7',
4354        'Û¸': '8',
4355        'Û¹': '9',
4356        'Û°': '0'
4357    };
4358
4359    return moment.lang('fa', {
4360        months : 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split('_'),
4361        monthsShort : 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split('_'),
vendor: 37,488 bytes, lines 4362-5421
4362        weekdays : 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split('_'),
4363        weekdaysShort : 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split('_'),
4364        weekdaysMin : 'ی_د_س_چ_پ_ج_ش'.split('_'),
4365        longDateFormat : {
4366            LT : 'HH:mm',
4367            L : 'DD/MM/YYYY',
4368            LL : 'D MMMM YYYY',
4369            LLL : 'D MMMM YYYY LT',
4370            LLLL : 'dddd, D MMMM YYYY LT'
4371        },
4372        meridiem : function (hour, minute, isLower) {
4373            if (hour < 12) {
4374                return "قبل از ظهر";
4375            } else {
4376                return "بعد از ظهر";
4377            }
4378        },
4379        calendar : {
4380            sameDay : '[امروز ساعت] LT',
4381            nextDay : '[فردا ساعت] LT',
4382            nextWeek : 'dddd [ساعت] LT',
4383            lastDay : '[دیروز ساعت] LT',
4384            lastWeek : 'dddd [پیش] [ساعت] LT',
4385            sameElse : 'L'
4386        },
4387        relativeTime : {
4388            future : 'در %s',
4389            past : '%s پیش',
4390            s : 'چندین ثانیه',
4391            m : 'یک دقیقه',
4392            mm : '%d دقیقه',
4393            h : 'یک ساعت',
4394            hh : '%d ساعت',
4395            d : 'یک روز',
4396            dd : '%d روز',
4397            M : 'یک ماه',
4398            MM : '%d ماه',
4399            y : 'یک سال',
4400            yy : '%d سال'
4401        },
4402        preparse: function (string) {
4403            return string.replace(/[Û°-Û¹]/g, function (match) {
4404                return numberMap[match];
4405            }).replace(/،/g, ',');
4406        },
4407        postformat: function (string) {
4408            return string.replace(/\d/g, function (match) {
4409                return symbolMap[match];
4410            }).replace(/,/g, '،');
4411        },
4412        ordinal : '%dم',
4413        week : {
4414            dow : 6, // Saturday is the first day of the week.
4415            doy : 12 // The week that contains Jan 1st is the first week of the year.
4416        }
4417    });
4418}));
4419// moment.js language configuration
4420// language : finnish (fi)
4421// author : Tarmo Aidantausta : https://github.com/bleadof
4422
4423(function (factory) {
4424    factory(moment);
4425}(function (moment) {
4426    var numbersPast = 'nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän'.split(' '),
4427        numbersFuture = ['nolla', 'yhden', 'kahden', 'kolmen', 'neljän', 'viiden', 'kuuden',
4428                          numbersPast[7], numbersPast[8], numbersPast[9]];
4429
4430    function translate(number, withoutSuffix, key, isFuture) {
4431        var result = "";
4432        switch (key) {
4433        case 's':
4434            return isFuture ? 'muutaman sekunnin' : 'muutama sekunti';
4435        case 'm':
4436            return isFuture ? 'minuutin' : 'minuutti';
4437        case 'mm':
4438            result = isFuture ? 'minuutin' : 'minuuttia';
4439            break;
4440        case 'h':
4441            return isFuture ? 'tunnin' : 'tunti';
4442        case 'hh':
4443            result = isFuture ? 'tunnin' : 'tuntia';
4444            break;
4445        case 'd':
4446            return isFuture ? 'päivän' : 'päivä';
4447        case 'dd':
4448            result = isFuture ? 'päivän' : 'päivää';
4449            break;
4450        case 'M':
4451            return isFuture ? 'kuukauden' : 'kuukausi';
4452        case 'MM':
4453            result = isFuture ? 'kuukauden' : 'kuukautta';
4454            break;
4455        case 'y':
4456            return isFuture ? 'vuoden' : 'vuosi';
4457        case 'yy':
4458            result = isFuture ? 'vuoden' : 'vuotta';
4459            break;
4460        }
4461        result = verbalNumber(number, isFuture) + " " + result;
4462        return result;
4463    }
4464
4465    function verbalNumber(number, isFuture) {
4466        return number < 10 ? (isFuture ? numbersFuture[number] : numbersPast[number]) : number;
4467    }
4468
4469    return moment.lang('fi', {
4470        months : "tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),
4471        monthsShort : "tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),
4472        weekdays : "sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),
4473        weekdaysShort : "su_ma_ti_ke_to_pe_la".split("_"),
4474        weekdaysMin : "su_ma_ti_ke_to_pe_la".split("_"),
4475        longDateFormat : {
4476            LT : "HH.mm",
4477            L : "DD.MM.YYYY",
4478            LL : "Do MMMM[ta] YYYY",
4479            LLL : "Do MMMM[ta] YYYY, [klo] LT",
4480            LLLL : "dddd, Do MMMM[ta] YYYY, [klo] LT",
4481            l : "D.M.YYYY",
4482            ll : "Do MMM YYYY",
4483            lll : "Do MMM YYYY, [klo] LT",
4484            llll : "ddd, Do MMM YYYY, [klo] LT"
4485        },
4486        calendar : {
4487            sameDay : '[tänään] [klo] LT',
4488            nextDay : '[huomenna] [klo] LT',
4489            nextWeek : 'dddd [klo] LT',
4490            lastDay : '[eilen] [klo] LT',
4491            lastWeek : '[viime] dddd[na] [klo] LT',
4492            sameElse : 'L'
4493        },
4494        relativeTime : {
4495            future : "%s päästä",
4496            past : "%s sitten",
4497            s : translate,
4498            m : translate,
4499            mm : translate,
4500            h : translate,
4501            hh : translate,
4502            d : translate,
4503            dd : translate,
4504            M : translate,
4505            MM : translate,
4506            y : translate,
4507            yy : translate
4508        },
4509        ordinal : "%d.",
4510        week : {
4511            dow : 1, // Monday is the first day of the week.
4512            doy : 4  // The week that contains Jan 4th is the first week of the year.
4513        }
4514    });
4515}));
4516// moment.js language configuration
4517// language : faroese (fo)
4518// author : Ragnar Johannesen : https://github.com/ragnar123
4519
4520(function (factory) {
4521    factory(moment);
4522}(function (moment) {
4523    return moment.lang('fo', {
4524        months : "januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),
4525        monthsShort : "jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),
4526        weekdays : "sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),
4527        weekdaysShort : "sun_mán_týs_mik_hós_frí_ley".split("_"),
4528        weekdaysMin : "su_má_tý_mi_hó_fr_le".split("_"),
4529        longDateFormat : {
4530            LT : "HH:mm",
4531            L : "DD/MM/YYYY",
4532            LL : "D MMMM YYYY",
4533            LLL : "D MMMM YYYY LT",
4534            LLLL : "dddd D. MMMM, YYYY LT"
4535        },
4536        calendar : {
4537            sameDay : '[Í dag kl.] LT',
4538            nextDay : '[Í morgin kl.] LT',
4539            nextWeek : 'dddd [kl.] LT',
4540            lastDay : '[Í gjár kl.] LT',
4541            lastWeek : '[síðstu] dddd [kl] LT',
4542            sameElse : 'L'
4543        },
4544        relativeTime : {
4545            future : "um %s",
4546            past : "%s síðani",
4547            s : "fá sekund",
4548            m : "ein minutt",
4549            mm : "%d minuttir",
4550            h : "ein tími",
4551            hh : "%d tímar",
4552            d : "ein dagur",
4553            dd : "%d dagar",
4554            M : "ein mánaði",
4555            MM : "%d mánaðir",
4556            y : "eitt ár",
4557            yy : "%d ár"
4558        },
4559        ordinal : '%d.',
4560        week : {
4561            dow : 1, // Monday is the first day of the week.
4562            doy : 4  // The week that contains Jan 4th is the first week of the year.
4563        }
4564    });
4565}));
4566// moment.js language configuration
4567// language : canadian french (fr-ca)
4568// author : Jonathan Abourbih : https://github.com/jonbca
4569
4570(function (factory) {
4571    factory(moment);
4572}(function (moment) {
4573    return moment.lang('fr-ca', {
4574        months : "janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),
4575        monthsShort : "janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),
4576        weekdays : "dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),
4577        weekdaysShort : "dim._lun._mar._mer._jeu._ven._sam.".split("_"),
4578        weekdaysMin : "Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),
4579        longDateFormat : {
4580            LT : "HH:mm",
4581            L : "YYYY-MM-DD",
4582            LL : "D MMMM YYYY",
4583            LLL : "D MMMM YYYY LT",
4584            LLLL : "dddd D MMMM YYYY LT"
4585        },
4586        calendar : {
4587            sameDay: "[Aujourd'hui à] LT",
4588            nextDay: '[Demain à] LT',
4589            nextWeek: 'dddd [à] LT',
4590            lastDay: '[Hier à] LT',
4591            lastWeek: 'dddd [dernier à] LT',
4592            sameElse: 'L'
4593        },
4594        relativeTime : {
4595            future : "dans %s",
4596            past : "il y a %s",
4597            s : "quelques secondes",
4598            m : "une minute",
4599            mm : "%d minutes",
4600            h : "une heure",
4601            hh : "%d heures",
4602            d : "un jour",
4603            dd : "%d jours",
4604            M : "un mois",
4605            MM : "%d mois",
4606            y : "un an",
4607            yy : "%d ans"
4608        },
4609        ordinal : function (number) {
4610            return number + (number === 1 ? 'er' : '');
4611        }
4612    });
4613}));
4614// moment.js language configuration
4615// language : french (fr)
4616// author : John Fischer : https://github.com/jfroffice
4617
4618(function (factory) {
4619    factory(moment);
4620}(function (moment) {
4621    return moment.lang('fr', {
4622        months : "janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),
4623        monthsShort : "janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),
4624        weekdays : "dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),
4625        weekdaysShort : "dim._lun._mar._mer._jeu._ven._sam.".split("_"),
4626        weekdaysMin : "Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),
4627        longDateFormat : {
4628            LT : "HH:mm",
4629            L : "DD/MM/YYYY",
4630            LL : "D MMMM YYYY",
4631            LLL : "D MMMM YYYY LT",
4632            LLLL : "dddd D MMMM YYYY LT"
4633        },
4634        calendar : {
4635            sameDay: "[Aujourd'hui à] LT",
4636            nextDay: '[Demain à] LT',
4637            nextWeek: 'dddd [à] LT',
4638            lastDay: '[Hier à] LT',
4639            lastWeek: 'dddd [dernier à] LT',
4640            sameElse: 'L'
4641        },
4642        relativeTime : {
4643            future : "dans %s",
4644            past : "il y a %s",
4645            s : "quelques secondes",
4646            m : "une minute",
4647            mm : "%d minutes",
4648            h : "une heure",
4649            hh : "%d heures",
4650            d : "un jour",
4651            dd : "%d jours",
4652            M : "un mois",
4653            MM : "%d mois",
4654            y : "un an",
4655            yy : "%d ans"
4656        },
4657        ordinal : function (number) {
4658            return number + (number === 1 ? 'er' : '');
4659        },
4660        week : {
4661            dow : 1, // Monday is the first day of the week.
4662            doy : 4  // The week that contains Jan 4th is the first week of the year.
4663        }
4664    });
4665}));
4666// moment.js language configuration
4667// language : galician (gl)
4668// author : Juan G. Hurtado : https://github.com/juanghurtado
4669
4670(function (factory) {
4671    factory(moment);
4672}(function (moment) {
4673    return moment.lang('gl', {
4674        months : "Xaneiro_Febreiro_Marzo_Abril_Maio_Xuño_Xullo_Agosto_Setembro_Outubro_Novembro_Decembro".split("_"),
4675        monthsShort : "Xan._Feb._Mar._Abr._Mai._Xuñ._Xul._Ago._Set._Out._Nov._Dec.".split("_"),
4676        weekdays : "Domingo_Luns_Martes_Mércores_Xoves_Venres_Sábado".split("_"),
4677        weekdaysShort : "Dom._Lun._Mar._Mér._Xov._Ven._Sáb.".split("_"),
4678        weekdaysMin : "Do_Lu_Ma_Mé_Xo_Ve_Sá".split("_"),
4679        longDateFormat : {
4680            LT : "H:mm",
4681            L : "DD/MM/YYYY",
4682            LL : "D MMMM YYYY",
4683            LLL : "D MMMM YYYY LT",
4684            LLLL : "dddd D MMMM YYYY LT"
4685        },
4686        calendar : {
4687            sameDay : function () {
4688                return '[hoxe ' + ((this.hours() !== 1) ? 'ás' : 'á') + '] LT';
4689            },
4690            nextDay : function () {
4691                return '[mañá ' + ((this.hours() !== 1) ? 'ás' : 'á') + '] LT';
4692            },
4693            nextWeek : function () {
4694                return 'dddd [' + ((this.hours() !== 1) ? 'ás' : 'a') + '] LT';
4695            },
4696            lastDay : function () {
4697                return '[onte ' + ((this.hours() !== 1) ? 'á' : 'a') + '] LT';
4698            },
4699            lastWeek : function () {
4700                return '[o] dddd [pasado ' + ((this.hours() !== 1) ? 'ás' : 'a') + '] LT';
4701            },
4702            sameElse : 'L'
4703        },
4704        relativeTime : {
4705            future : function (str) {
4706                if (str === "uns segundos") {
4707                    return "nuns segundos";
4708                }
4709                return "en " + str;
4710            },
4711            past : "hai %s",
4712            s : "uns segundos",
4713            m : "un minuto",
4714            mm : "%d minutos",
4715            h : "unha hora",
4716            hh : "%d horas",
4717            d : "un día",
4718            dd : "%d días",
4719            M : "un mes",
4720            MM : "%d meses",
4721            y : "un ano",
4722            yy : "%d anos"
4723        },
4724        ordinal : '%dº',
4725        week : {
4726            dow : 1, // Monday is the first day of the week.
4727            doy : 7  // The week that contains Jan 1st is the first week of the year.
4728        }
4729    });
4730}));
4731// moment.js language configuration
4732// language : Hebrew (he)
4733// author : Tomer Cohen : https://github.com/tomer
4734// author : Moshe Simantov : https://github.com/DevelopmentIL
4735// author : Tal Ater : https://github.com/TalAter
4736
4737(function (factory) {
4738    factory(moment);
4739}(function (moment) {
4740    return moment.lang('he', {
4741        months : "ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),
4742        monthsShort : "ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),
4743        weekdays : "ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),
4744        weekdaysShort : "א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),
4745        weekdaysMin : "א_ב_ג_ד_ה_ו_ש".split("_"),
4746        longDateFormat : {
4747            LT : "HH:mm",
4748            L : "DD/MM/YYYY",
4749            LL : "D [ב]MMMM YYYY",
4750            LLL : "D [ב]MMMM YYYY LT",
4751            LLLL : "dddd, D [ב]MMMM YYYY LT",
4752            l : "D/M/YYYY",
4753            ll : "D MMM YYYY",
4754            lll : "D MMM YYYY LT",
4755            llll : "ddd, D MMM YYYY LT"
4756        },
4757        calendar : {
4758            sameDay : '[היום ב־]LT',
4759            nextDay : '[מחר ב־]LT',
4760            nextWeek : 'dddd [בשעה] LT',
4761            lastDay : '[אתמול ב־]LT',
4762            lastWeek : '[ביום] dddd [האחרון בשעה] LT',
4763            sameElse : 'L'
4764        },
4765        relativeTime : {
4766            future : "בעוד %s",
4767            past : "לפני %s",
4768            s : "מספר שניות",
4769            m : "דקה",
4770            mm : "%d דקות",
4771            h : "שעה",
4772            hh : function (number) {
4773                if (number === 2) {
4774                    return "שעתיים";
4775                }
4776                return number + " שעות";
4777            },
4778            d : "יום",
4779            dd : function (number) {
4780                if (number === 2) {
4781                    return "יומיים";
4782                }
4783                return number + " ימים";
4784            },
4785            M : "חודש",
4786            MM : function (number) {
4787                if (number === 2) {
4788                    return "חודשיים";
4789                }
4790                return number + " חודשים";
4791            },
4792            y : "שנה",
4793            yy : function (number) {
4794                if (number === 2) {
4795                    return "שנתיים";
4796                }
4797                return number + " שנים";
4798            }
4799        }
4800    });
4801}));
4802// moment.js language configuration
4803// language : hindi (hi)
4804// author : Mayank Singhal : https://github.com/mayanksinghal
4805
4806(function (factory) {
4807    factory(moment);
4808}(function (moment) {
4809    var symbolMap = {
4810        '1': '१',
4811        '2': '२',
4812        '3': '३',
4813        '4': '४',
4814        '5': '५',
4815        '6': '६',
4816        '7': '७',
4817        '8': '८',
4818        '9': '९',
4819        '0': '०'
4820    },
4821    numberMap = {
4822        '१': '1',
4823        '२': '2',
4824        '३': '3',
4825        '४': '4',
4826        '५': '5',
4827        '६': '6',
4828        '७': '7',
4829        '८': '8',
4830        '९': '9',
4831        '०': '0'
4832    };
4833
4834    return moment.lang('hi', {
4835        months : 'जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर'.split("_"),
4836        monthsShort : 'जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.'.split("_"),
4837        weekdays : 'रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split("_"),
4838        weekdaysShort : 'रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि'.split("_"),
4839        weekdaysMin : 'र_सो_मं_बु_गु_शु_श'.split("_"),
4840        longDateFormat : {
4841            LT : "A h:mm बजे",
4842            L : "DD/MM/YYYY",
4843            LL : "D MMMM YYYY",
4844            LLL : "D MMMM YYYY, LT",
4845            LLLL : "dddd, D MMMM YYYY, LT"
4846        },
4847        calendar : {
4848            sameDay : '[आज] LT',
4849            nextDay : '[कल] LT',
4850            nextWeek : 'dddd, LT',
4851            lastDay : '[कल] LT',
4852            lastWeek : '[पिछले] dddd, LT',
4853            sameElse : 'L'
4854        },
4855        relativeTime : {
4856            future : "%s में",
4857            past : "%s पहले",
4858            s : "कुछ ही क्षण",
4859            m : "एक मिनट",
4860            mm : "%d मिनट",
4861            h : "एक घंटा",
4862            hh : "%d घंटे",
4863            d : "एक दिन",
4864            dd : "%d दिन",
4865            M : "एक महीने",
4866            MM : "%d महीने",
4867            y : "एक वर्ष",
4868            yy : "%d वर्ष"
4869        },
4870        preparse: function (string) {
4871            return string.replace(/[१२३४५६७८९०]/g, function (match) {
4872                return numberMap[match];
4873            });
4874        },
4875        postformat: function (string) {
4876            return string.replace(/\d/g, function (match) {
4877                return symbolMap[match];
4878            });
4879        },
4880        // Hindi notation for meridiems are quite fuzzy in practice. While there exists
4881        // a rigid notion of a 'Pahar' it is not used as rigidly in modern Hindi.
4882        meridiem : function (hour, minute, isLower) {
4883            if (hour < 4) {
4884                return "रात";
4885            } else if (hour < 10) {
4886                return "सुबह";
4887            } else if (hour < 17) {
4888                return "दोपहर";
4889            } else if (hour < 20) {
4890                return "शाम";
4891            } else {
4892                return "रात";
4893            }
4894        },
4895        week : {
4896            dow : 0, // Sunday is the first day of the week.
4897            doy : 6  // The week that contains Jan 1st is the first week of the year.
4898        }
4899    });
4900}));
4901// moment.js language configuration
4902// language : hrvatski (hr)
4903// author : Bojan Marković : https://github.com/bmarkovic
4904
4905// based on (sl) translation by Robert Sedovšek
4906
4907(function (factory) {
4908    factory(moment);
4909}(function (moment) {
4910
4911    function translate(number, withoutSuffix, key) {
4912        var result = number + " ";
4913        switch (key) {
4914        case 'm':
4915            return withoutSuffix ? 'jedna minuta' : 'jedne minute';
4916        case 'mm':
4917            if (number === 1) {
4918                result += 'minuta';
4919            } else if (number === 2 || number === 3 || number === 4) {
4920                result += 'minute';
4921            } else {
4922                result += 'minuta';
4923            }
4924            return result;
4925        case 'h':
4926            return withoutSuffix ? 'jedan sat' : 'jednog sata';
4927        case 'hh':
4928            if (number === 1) {
4929                result += 'sat';
4930            } else if (number === 2 || number === 3 || number === 4) {
4931                result += 'sata';
4932            } else {
4933                result += 'sati';
4934            }
4935            return result;
4936        case 'dd':
4937            if (number === 1) {
4938                result += 'dan';
4939            } else {
4940                result += 'dana';
4941            }
4942            return result;
4943        case 'MM':
4944            if (number === 1) {
4945                result += 'mjesec';
4946            } else if (number === 2 || number === 3 || number === 4) {
4947                result += 'mjeseca';
4948            } else {
4949                result += 'mjeseci';
4950            }
4951            return result;
4952        case 'yy':
4953            if (number === 1) {
4954                result += 'godina';
4955            } else if (number === 2 || number === 3 || number === 4) {
4956                result += 'godine';
4957            } else {
4958                result += 'godina';
4959            }
4960            return result;
4961        }
4962    }
4963
4964    return moment.lang('hr', {
4965        months : "sječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_"),
4966        monthsShort : "sje._vel._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),
4967        weekdays : "nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),
4968        weekdaysShort : "ned._pon._uto._sri._čet._pet._sub.".split("_"),
4969        weekdaysMin : "ne_po_ut_sr_če_pe_su".split("_"),
4970        longDateFormat : {
4971            LT : "H:mm",
4972            L : "DD. MM. YYYY",
4973            LL : "D. MMMM YYYY",
4974            LLL : "D. MMMM YYYY LT",
4975            LLLL : "dddd, D. MMMM YYYY LT"
4976        },
4977        calendar : {
4978            sameDay  : '[danas u] LT',
4979            nextDay  : '[sutra u] LT',
4980
4981            nextWeek : function () {
4982                switch (this.day()) {
4983                case 0:
4984                    return '[u] [nedjelju] [u] LT';
4985                case 3:
4986                    return '[u] [srijedu] [u] LT';
4987                case 6:
4988                    return '[u] [subotu] [u] LT';
4989                case 1:
4990                case 2:
4991                case 4:
4992                case 5:
4993                    return '[u] dddd [u] LT';
4994                }
4995            },
4996            lastDay  : '[jučer u] LT',
4997            lastWeek : function () {
4998                switch (this.day()) {
4999                case 0:
5000                case 3:
5001                    return '[prošlu] dddd [u] LT';
5002                case 6:
5003                    return '[prošle] [subote] [u] LT';
5004                case 1:
5005                case 2:
5006                case 4:
5007                case 5:
5008                    return '[prošli] dddd [u] LT';
5009                }
5010            },
5011            sameElse : 'L'
5012        },
5013        relativeTime : {
5014            future : "za %s",
5015            past   : "prije %s",
5016            s      : "par sekundi",
5017            m      : translate,
5018            mm     : translate,
5019            h      : translate,
5020            hh     : translate,
5021            d      : "dan",
5022            dd     : translate,
5023            M      : "mjesec",
5024            MM     : translate,
5025            y      : "godinu",
5026            yy     : translate
5027        },
5028        ordinal : '%d.',
5029        week : {
5030            dow : 1, // Monday is the first day of the week.
5031            doy : 7  // The week that contains Jan 1st is the first week of the year.
5032        }
5033    });
5034}));
5035// moment.js language configuration
5036// language : hungarian (hu)
5037// author : Adam Brunner : https://github.com/adambrunner
5038
5039(function (factory) {
5040    factory(moment);
5041}(function (moment) {
5042    var weekEndings = 'vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton'.split(' ');
5043
5044    function translate(number, withoutSuffix, key, isFuture) {
5045        var num = number,
5046            suffix;
5047
5048        switch (key) {
5049        case 's':
5050            return (isFuture || withoutSuffix) ? 'néhány másodperc' : 'néhány másodperce';
5051        case 'm':
5052            return 'egy' + (isFuture || withoutSuffix ? ' perc' : ' perce');
5053        case 'mm':
5054            return num + (isFuture || withoutSuffix ? ' perc' : ' perce');
5055        case 'h':
5056            return 'egy' + (isFuture || withoutSuffix ? ' óra' : ' órája');
5057        case 'hh':
5058            return num + (isFuture || withoutSuffix ? ' óra' : ' órája');
5059        case 'd':
5060            return 'egy' + (isFuture || withoutSuffix ? ' nap' : ' napja');
5061        case 'dd':
5062            return num + (isFuture || withoutSuffix ? ' nap' : ' napja');
5063        case 'M':
5064            return 'egy' + (isFuture || withoutSuffix ? ' hónap' : ' hónapja');
5065        case 'MM':
5066            return num + (isFuture || withoutSuffix ? ' hónap' : ' hónapja');
5067        case 'y':
5068            return 'egy' + (isFuture || withoutSuffix ? ' év' : ' éve');
5069        case 'yy':
5070            return num + (isFuture || withoutSuffix ? ' év' : ' éve');
5071        }
5072
5073        return '';
5074    }
5075
5076    function week(isFuture) {
5077        return (isFuture ? '' : '[múlt] ') + '[' + weekEndings[this.day()] + '] LT[-kor]';
5078    }
5079
5080    return moment.lang('hu', {
5081        months : "január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),
5082        monthsShort : "jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),
5083        weekdays : "vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),
5084        weekdaysShort : "vas_hét_kedd_sze_csüt_pén_szo".split("_"),
5085        weekdaysMin : "v_h_k_sze_cs_p_szo".split("_"),
5086        longDateFormat : {
5087            LT : "H:mm",
5088            L : "YYYY.MM.DD.",
5089            LL : "YYYY. MMMM D.",
5090            LLL : "YYYY. MMMM D., LT",
5091            LLLL : "YYYY. MMMM D., dddd LT"
5092        },
5093        meridiem : function (hours, minutes, isLower) {
5094            if (hours < 12) {
5095                return isLower === true ? 'de' : 'DE';
5096            } else {
5097                return isLower === true ? 'du' : 'DU';
5098            }
5099        },
5100        calendar : {
5101            sameDay : '[ma] LT[-kor]',
5102            nextDay : '[holnap] LT[-kor]',
5103            nextWeek : function () {
5104                return week.call(this, true);
5105            },
5106            lastDay : '[tegnap] LT[-kor]',
5107            lastWeek : function () {
5108                return week.call(this, false);
5109            },
5110            sameElse : 'L'
5111        },
5112        relativeTime : {
5113            future : "%s múlva",
5114            past : "%s",
5115            s : translate,
5116            m : translate,
5117            mm : translate,
5118            h : translate,
5119            hh : translate,
5120            d : translate,
5121            dd : translate,
5122            M : translate,
5123            MM : translate,
5124            y : translate,
5125            yy : translate
5126        },
5127        ordinal : '%d.',
5128        week : {
5129            dow : 1, // Monday is the first day of the week.
5130            doy : 7  // The week that contains Jan 1st is the first week of the year.
5131        }
5132    });
5133}));
5134// moment.js language configuration
5135// language : Armenian (hy-am)
5136// author : Armendarabyan : https://github.com/armendarabyan
5137
5138(function (factory) {
5139    factory(moment);
5140}(function (moment) {
5141
5142    function monthsCaseReplace(m, format) {
5143        var months = {
5144            'nominative': 'հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր'.split('_'),
5145            'accusative': 'հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի'.split('_')
5146        },
5147
5148        nounCase = (/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/).test(format) ?
5149            'accusative' :
5150            'nominative';
5151
5152        return months[nounCase][m.month()];
5153    }
5154
5155    function monthsShortCaseReplace(m, format) {
5156        var monthsShort = 'հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ'.split('_');
5157
5158        return monthsShort[m.month()];
5159    }
5160
5161    function weekdaysCaseReplace(m, format) {
5162        var weekdays = 'կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ'.split('_');
5163
5164        return weekdays[m.day()];
5165    }
5166
5167    return moment.lang('hy-am', {
5168        months : monthsCaseReplace,
5169        monthsShort : monthsShortCaseReplace,
5170        weekdays : weekdaysCaseReplace,
5171        weekdaysShort : "կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),
5172        weekdaysMin : "կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),
5173        longDateFormat : {
5174            LT : "HH:mm",
5175            L : "DD.MM.YYYY",
5176            LL : "D MMMM YYYY Õ©.",
5177            LLL : "D MMMM YYYY Õ©., LT",
5178            LLLL : "dddd, D MMMM YYYY Õ©., LT"
5179        },
5180        calendar : {
5181            sameDay: '[այսօր] LT',
5182            nextDay: '[Õ¾Õ¡Õ²Õ¨] LT',
5183            lastDay: '[երեկ] LT',
5184            nextWeek: function () {
5185                return 'dddd [օրը ժամը] LT';
5186            },
5187            lastWeek: function () {
5188                return '[անցած] dddd [օրը ժամը] LT';
5189            },
5190            sameElse: 'L'
5191        },
5192        relativeTime : {
5193            future : "%s Õ°Õ¥Õ¿Õ¸",
5194            past : "%s Õ¡Õ¼Õ¡Õ»",
5195            s : "մի քանի վայրկյան",
5196            m : "րոպե",
5197            mm : "%d րոպե",
5198            h : "ÕªÕ¡Õ´",
5199            hh : "%d ÕªÕ¡Õ´",
5200            d : "օր",
5201            dd : "%d օր",
5202            M : "Õ¡Õ´Õ«Õ½",
5203            MM : "%d Õ¡Õ´Õ«Õ½",
5204            y : "տարի",
5205            yy : "%d տարի"
5206        },
5207
5208        meridiem : function (hour) {
5209            if (hour < 4) {
5210                return "գիշերվա";
5211            } else if (hour < 12) {
5212                return "Õ¡Õ¼Õ¡Õ¾Õ¸Õ¿Õ¾Õ¡";
5213            } else if (hour < 17) {
5214                return "ցերեկվա";
5215            } else {
5216                return "երեկոյան";
5217            }
5218        },
5219
5220        ordinal: function (number, period) {
5221            switch (period) {
5222            case 'DDD':
5223            case 'w':
5224            case 'W':
5225            case 'DDDo':
5226                if (number === 1) {
5227                    return number + '-Õ«Õ¶';
5228                }
5229                return number + '-րդ';
5230            default:
5231                return number;
5232            }
5233        },
5234
5235        week : {
5236            dow : 1, // Monday is the first day of the week.
5237            doy : 7  // The week that contains Jan 1st is the first week of the year.
5238        }
5239    });
5240}));
5241// moment.js language configuration
5242// language : Bahasa Indonesia (id)
5243// author : Mohammad Satrio Utomo : https://github.com/tyok
5244// reference: http://id.wikisource.org/wiki/Pedoman_Umum_Ejaan_Bahasa_Indonesia_yang_Disempurnakan
5245
5246(function (factory) {
5247    factory(moment);
5248}(function (moment) {
5249    return moment.lang('id', {
5250        months : "Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),
5251        monthsShort : "Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des".split("_"),
5252        weekdays : "Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),
5253        weekdaysShort : "Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),
5254        weekdaysMin : "Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),
5255        longDateFormat : {
5256            LT : "HH.mm",
5257            L : "DD/MM/YYYY",
5258            LL : "D MMMM YYYY",
5259            LLL : "D MMMM YYYY [pukul] LT",
5260            LLLL : "dddd, D MMMM YYYY [pukul] LT"
5261        },
5262        meridiem : function (hours, minutes, isLower) {
5263            if (hours < 11) {
5264                return 'pagi';
5265            } else if (hours < 15) {
5266                return 'siang';
5267            } else if (hours < 19) {
5268                return 'sore';
5269            } else {
5270                return 'malam';
5271            }
5272        },
5273        calendar : {
5274            sameDay : '[Hari ini pukul] LT',
5275            nextDay : '[Besok pukul] LT',
5276            nextWeek : 'dddd [pukul] LT',
5277            lastDay : '[Kemarin pukul] LT',
5278            lastWeek : 'dddd [lalu pukul] LT',
5279            sameElse : 'L'
5280        },
5281        relativeTime : {
5282            future : "dalam %s",
5283            past : "%s yang lalu",
5284            s : "beberapa detik",
5285            m : "semenit",
5286            mm : "%d menit",
5287            h : "sejam",
5288            hh : "%d jam",
5289            d : "sehari",
5290            dd : "%d hari",
5291            M : "sebulan",
5292            MM : "%d bulan",
5293            y : "setahun",
5294            yy : "%d tahun"
5295        },
5296        week : {
5297            dow : 1, // Monday is the first day of the week.
5298            doy : 7  // The week that contains Jan 1st is the first week of the year.
5299        }
5300    });
5301}));
5302// moment.js language configuration
5303// language : icelandic (is)
5304// author : Hinrik Örn Sigurðsson : https://github.com/hinrik
5305
5306(function (factory) {
5307    factory(moment);
5308}(function (moment) {
5309    function plural(n) {
5310        if (n % 100 === 11) {
5311            return true;
5312        } else if (n % 10 === 1) {
5313            return false;
5314        }
5315        return true;
5316    }
5317
5318    function translate(number, withoutSuffix, key, isFuture) {
5319        var result = number + " ";
5320        switch (key) {
5321        case 's':
5322            return withoutSuffix || isFuture ? 'nokkrar sekúndur' : 'nokkrum sekúndum';
5323        case 'm':
5324            return withoutSuffix ? 'mínúta' : 'mínútu';
5325        case 'mm':
5326            if (plural(number)) {
5327                return result + (withoutSuffix || isFuture ? 'mínútur' : 'mínútum');
5328            } else if (withoutSuffix) {
5329                return result + 'mínúta';
5330            }
5331            return result + 'mínútu';
5332        case 'hh':
5333            if (plural(number)) {
5334                return result + (withoutSuffix || isFuture ? 'klukkustundir' : 'klukkustundum');
5335            }
5336            return result + 'klukkustund';
5337        case 'd':
5338            if (withoutSuffix) {
5339                return 'dagur';
5340            }
5341            return isFuture ? 'dag' : 'degi';
5342        case 'dd':
5343            if (plural(number)) {
5344                if (withoutSuffix) {
5345                    return result + 'dagar';
5346                }
5347                return result + (isFuture ? 'daga' : 'dögum');
5348            } else if (withoutSuffix) {
5349                return result + 'dagur';
5350            }
5351            return result + (isFuture ? 'dag' : 'degi');
5352        case 'M':
5353            if (withoutSuffix) {
5354                return 'mánuður';
5355            }
5356            return isFuture ? 'mánuð' : 'mánuði';
5357        case 'MM':
5358            if (plural(number)) {
5359                if (withoutSuffix) {
5360                    return result + 'mánuðir';
5361                }
5362                return result + (isFuture ? 'mánuði' : 'mánuðum');
5363            } else if (withoutSuffix) {
5364                return result + 'mánuður';
5365            }
5366            return result + (isFuture ? 'mánuð' : 'mánuði');
5367        case 'y':
5368            return withoutSuffix || isFuture ? 'ár' : 'ári';
5369        case 'yy':
5370            if (plural(number)) {
5371                return result + (withoutSuffix || isFuture ? 'ár' : 'árum');
5372            }
5373            return result + (withoutSuffix || isFuture ? 'ár' : 'ári');
5374        }
5375    }
5376
5377    return moment.lang('is', {
5378        months : "janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),
5379        monthsShort : "jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),
5380        weekdays : "sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),
5381        weekdaysShort : "sun_mán_þri_mið_fim_fös_lau".split("_"),
5382        weekdaysMin : "Su_Má_Þr_Mi_Fi_Fö_La".split("_"),
5383        longDateFormat : {
5384            LT : "H:mm",
5385            L : "DD/MM/YYYY",
5386            LL : "D. MMMM YYYY",
5387            LLL : "D. MMMM YYYY [kl.] LT",
5388            LLLL : "dddd, D. MMMM YYYY [kl.] LT"
5389        },
5390        calendar : {
5391            sameDay : '[í dag kl.] LT',
5392            nextDay : '[á morgun kl.] LT',
5393            nextWeek : 'dddd [kl.] LT',
5394            lastDay : '[í gær kl.] LT',
5395            lastWeek : '[síðasta] dddd [kl.] LT',
5396            sameElse : 'L'
5397        },
5398        relativeTime : {
5399            future : "eftir %s",
5400            past : "fyrir %s síðan",
5401            s : translate,
5402            m : translate,
5403            mm : translate,
5404            h : "klukkustund",
5405            hh : translate,
5406            d : translate,
5407            dd : translate,
5408            M : translate,
5409            MM : translate,
5410            y : translate,
5411            yy : translate
5412        },
5413        ordinal : '%d.',
5414        week : {
5415            dow : 1, // Monday is the first day of the week.
5416            doy : 4  // The week that contains Jan 4th is the first week of the year.
5417        }
5418    });
5419}));
5420// moment.js language configuration
5421// language : italian (it)
5422// author : Lorenzo : https://github.com/aliem
5423// author: Mattia Larentis: https://github.com/nostalgiaz
5424
5425(function (factory) {
5426    factory(moment);
5427}(function (moment) {
5428    return moment.lang('it', {
5429        months : "gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),
5430        monthsShort : "gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),
5431        weekdays : "Domenica_Lunedì_Martedì_Mercoledì_Giovedì_Venerdì_Sabato".split("_"),
5432        weekdaysShort : "Dom_Lun_Mar_Mer_Gio_Ven_Sab".split("_"),
5433        weekdaysMin : "D_L_Ma_Me_G_V_S".split("_"),
5434        longDateFormat : {
5435            LT : "HH:mm",
5436            L : "DD/MM/YYYY",
5437            LL : "D MMMM YYYY",
5438            LLL : "D MMMM YYYY LT",
5439            LLLL : "dddd, D MMMM YYYY LT"
5440        },
5441        calendar : {
5442            sameDay: '[Oggi alle] LT',
5443            nextDay: '[Domani alle] LT',
5444            nextWeek: 'dddd [alle] LT',
5445            lastDay: '[Ieri alle] LT',
5446            lastWeek: '[lo scorso] dddd [alle] LT',
5447            sameElse: 'L'
5448        },
5449        relativeTime : {
5450            future : function (s) {
5451                return ((/^[0-9].+$/).test(s) ? "tra" : "in") + " " + s;
5452            },
5453            past : "%s fa",
5454            s : "alcuni secondi",
5455            m : "un minuto",
5456            mm : "%d minuti",
5457            h : "un'ora",
5458            hh : "%d ore",
5459            d : "un giorno",
5460            dd : "%d giorni",
5461            M : "un mese",
5462            MM : "%d mesi",
5463            y : "un anno",
5464            yy : "%d anni"
5465        },
5466        ordinal: '%dº',
5467        week : {
5468            dow : 1, // Monday is the first day of the week.
5469            doy : 4  // The week that contains Jan 4th is the first week of the year.
5470        }
5471    });
5472}));
5473// moment.js language configuration
5474// language : japanese (ja)
5475// author : LI Long : https://github.com/baryon
5476
5477(function (factory) {
5478    factory(moment);
5479}(function (moment) {
5480    return moment.lang('ja', {
5481        months : "1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),
5482        monthsShort : "1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),
5483        weekdays : "日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),
5484        weekdaysShort : "日_月_火_水_木_金_土".split("_"),
5485        weekdaysMin : "日_月_火_水_木_金_土".split("_"),
5486        longDateFormat : {
5487            LT : "Ah時m分",
5488            L : "YYYY/MM/DD",
5489            LL : "YYYY年M月D日",
5490            LLL : "YYYY年M月D日LT",
5491            LLLL : "YYYY年M月D日LT dddd"
5492        },
5493        meridiem : function (hour, minute, isLower) {
5494            if (hour < 12) {
5495                return "午前";
5496            } else {
5497                return "午後";
5498            }
5499        },
5500        calendar : {
5501            sameDay : '[今日] LT',
5502            nextDay : '[明日] LT',
5503            nextWeek : '[来週]dddd LT',
5504            lastDay : '[昨日] LT',
5505            lastWeek : '[前週]dddd LT',
5506            sameElse : 'L'
5507        },
5508        relativeTime : {
5509            future : "%s後",
5510            past : "%s前",
5511            s : "数秒",
5512            m : "1分",
5513            mm : "%d分",
5514            h : "1時間",
5515            hh : "%d時間",
5516            d : "1日",
5517            dd : "%d日",
5518            M : "1ヶ月",
5519            MM : "%dヶ月",
5520            y : "1å¹´",
5521            yy : "%då¹´"
5522        }
5523    });
5524}));
5525// moment.js language configuration
5526// language : Georgian (ka)
5527// author : Irakli Janiashvili : https://github.com/irakli-janiashvili
5528
5529(function (factory) {
5530    factory(moment);
5531}(function (moment) {
5532
5533    function monthsCaseReplace(m, format) {
5534        var months = {
5535            'nominative': 'იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი'.split('_'),
5536            'accusative': 'იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს'.split('_')
5537        },
5538
5539        nounCase = (/D[oD] *MMMM?/).test(format) ?
5540            'accusative' :
5541            'nominative';
5542
5543        return months[nounCase][m.month()];
5544    }
5545
5546    function weekdaysCaseReplace(m, format) {
5547        var weekdays = {
5548            'nominative': 'კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი'.
5548split('_'),
5549            'accusative': 'კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს'.split('_')
5550        },
5551
5552        nounCase = (/(წინა|შემდეგ)/).test(format) ?
5553            'accusative' :
5554            'nominative';
5555
5556        return weekdays[nounCase][m.day()];
5557    }
5558
5559    return moment.lang('ka', {
5560        months : monthsCaseReplace,
5561        monthsShort : "იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),
5562        weekdays : weekdaysCaseReplace,
5563        weekdaysShort : "კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),
5564        weekdaysMin : "კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),
5565        longDateFormat : {
5566            LT : "h:mm A",
5567            L : "DD/MM/YYYY",
5568            LL : "D MMMM YYYY",
5569            LLL : "D MMMM YYYY LT",
5570            LLLL : "dddd, D MMMM YYYY LT"
5571        },
5572        calendar : {
5573            sameDay : '[დღეს] LT[-ზე]',
5574            nextDay : '[ხვალ] LT[-ზე]',
5575            lastDay : '[გუშინ] LT[-ზე]',
5576            nextWeek : '[შემდეგ] dddd LT[-ზე]',
5577            lastWeek : '[წინა] dddd LT-ზე',
5578            sameElse : 'L'
5579        },
5580        relativeTime : {
5581            future : function (s) {
5582                return (/(წამი|წუთი|საათი|წელი)/).test(s) ?
5583                    s.replace(/ი$/, "ში") :
5584                    s + "ში";
5585            },
5586            past : function (s) {
5587                if ((/(წამი|წუთი|საათი|დღე|თვე)/).test(s)) {
5588                    return s.replace(/(ი|ე)$/, "ის წინ");
5589                }
5590                if ((/წელი/).test(s)) {
5591                    return s.replace(/წელი$/, "წლის წინ");
5592                }
5593            },
5594            s : "რამდენიმე წამი",
5595            m : "წუთი",
5596            mm : "%d წუთი",
5597            h : "საათი",
5598            hh : "%d საათი",
5599            d : "დღე",
5600            dd : "%d დღე",
5601            M : "თვე",
5602            MM : "%d თვე",
5603            y : "წელი",
5604            yy : "%d წელი"
5605        },
5606        ordinal : function (number) {
5607            if (number === 0) {
5608                return number;
5609            }
5610
5611            if (number === 1) {
5612                return number + "-ლი";
5613            }
5614
5615            if ((number < 20) || (number <= 100 && (number % 20 === 0)) || (number % 100 === 0)) {
5616                return "მე-" + number;
5617            }
5618
5619            return number + "-ე";
5620        },
5621        week : {
5622            dow : 1,
5623            doy : 7
5624        }
5625    });
5626}));
5627// moment.js language configuration
5628// language : khmer (km)
5629// author : Kruy Vanna : https://github.com/kruyvanna
5630
5631(function (factory) {
5632    factory(moment);
5633}(function (moment) {
5634    return moment.lang('km', {
5635        months: "មករា_កុម្ភៈ_មិនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),
5636        monthsShort: "មករា_កុម្ភៈ_មិនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),
5637        weekdays: "អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),
5638        weekdaysShort: "អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),
5639        weekdaysMin: "អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),
5640        longDateFormat: {
5641            LT: "HH:mm",
5642            L: "DD/MM/YYYY",
5643            LL: "D MMMM YYYY",
5644            LLL: "D MMMM YYYY LT",
5645            LLLL: "dddd, D MMMM YYYY LT"
5646        },
5647        calendar: {
5648            sameDay: '[ថ្ងៃនៈ ម៉ោង] LT',
5649            nextDay: '[ស្អែក ម៉ោង] LT',
5650            nextWeek: 'dddd [ម៉ោង] LT',
5651            lastDay: '[ម្សិលមិញ ម៉ោង] LT',
5652            lastWeek: 'dddd [សប្តាហ៍មុន] [ម៉ោង] LT',
5653            sameElse: 'L'
5654        },
5655        relativeTime: {
5656            future: "%sទៀត",
5657            past: "%sមុន",
5658            s: "ប៉ុន្មានវិនាទី",
5659            m: "មួយនាទី",
5660            mm: "%d នាទី",
5661            h: "មួយម៉ោង",
5662            hh: "%d ម៉ោង",
5663            d: "មួយថ្ងៃ",
5664            dd: "%d ថ្ងៃ",
5665            M: "មួយខែ",
5666            MM: "%d ខែ",
5667            y: "មួយឆ្នាំ",
5668            yy: "%d ឆ្នាំ"
5669        },
5670        week: {
5671            dow: 1, // Monday is the first day of the week.
5672            doy: 4 // The week that contains Jan 4th is the first week of the year.
5673        }
5674    });
5675}));
5676// moment.js language configuration
5677// language : korean (ko)
5678//
5679// authors 
5680//
5681// - Kyungwook, Park : https://github.com/kyungw00k
5682// - Jeeeyul Lee <[email protected]>
5683(function (factory) {
5684    factory(moment);
5685}(function (moment) {
5686    return moment.lang('ko', {
5687        months : "1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),
5688        monthsShort : "1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),
5689        weekdays : "일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),
5690        weekdaysShort : "일_월_화_수_목_금_토".split("_"),
5691        weekdaysMin : "일_월_화_수_목_금_토".split("_"),
5692        longDateFormat : {
5693            LT : "A h시 mm분",
5694            L : "YYYY.MM.DD",
5695            LL : "YYYY년 MMMM D일",
5696            LLL : "YYYY년 MMMM D일 LT",
5697            LLLL : "YYYY년 MMMM D일 dddd LT"
5698        },
5699        meridiem : function (hour, minute, isUpper) {
5700            return hour < 12 ? '오전' : '오후';
5701        },
5702        calendar : {
5703            sameDay : '오늘 LT',
5704            nextDay : '내일 LT',
5705            nextWeek : 'dddd LT',
5706            lastDay : '어제 LT',
5707            lastWeek : '지난주 dddd LT',
5708            sameElse : 'L'
5709        },
5710        relativeTime : {
5711            future : "%s 후",
5712            past : "%s 전",
5713            s : "몇초",
5714            ss : "%d초",
5715            m : "일분",
5716            mm : "%d분",
5717            h : "한시간",
5718            hh : "%d시간",
5719            d : "하루",
5720            dd : "%d일",
5721            M : "한달",
5722            MM : "%d달",
5723            y : "일년",
5724            yy : "%d년"
5725        },
5726        ordinal : '%d일',
5727        meridiemParse : /(오전|오후)/,
5728        isPM : function (token) {
5729            return token === "오후";
5730        }
5731    });
5732}));
5733// moment.js language configuration
5734// language : Luxembourgish (lb)
5735// author : mweimerskirch : https://github.com/mweimerskirch
5736
5737// Note: Luxembourgish has a very particular phonological rule ("Eifeler Regel") that causes the
5738// deletion of the final "n" in certain contexts. That's what the "eifelerRegelAppliesToWeekday"
5739// and "eifelerRegelAppliesToNumber" methods are meant for
5740
5741(function (factory) {
5742    factory(moment);
5743}(function (moment) {
5744    function processRelativeTime(number, withoutSuffix, key, isFuture) {
5745        var format = {
5746            'm': ['eng Minutt', 'enger Minutt'],
5747            'h': ['eng Stonn', 'enger Stonn'],
5748            'd': ['een Dag', 'engem Dag'],
5749            'dd': [number + ' Deeg', number + ' Deeg'],
5750            'M': ['ee Mount', 'engem Mount'],
5751            'MM': [number + ' Méint', number + ' Méint'],
5752            'y': ['ee Joer', 'engem Joer'],
5753            'yy': [number + ' Joer', number + ' Joer']
5754        };
5755        return withoutSuffix ? format[key][0] : format[key][1];
5756    }
5757
5758    function processFutureTime(string) {
5759        var number = string.substr(0, string.indexOf(' '));
5760        if (eifelerRegelAppliesToNumber(number)) {
5761            return "a " + string;
5762        }
5763        return "an " + string;
5764    }
5765
5766    function processPastTime(string) {
5767        var number = string.substr(0, string.indexOf(' '));
5768        if (eifelerRegelAppliesToNumber(number)) {
5769            return "viru " + string;
5770        }
5771        return "virun " + string;
5772    }
5773
5774    function processLastWeek(string1) {
5775        var weekday = this.format('d');
5776        if (eifelerRegelAppliesToWeekday(weekday)) {
5777            return '[Leschte] dddd [um] LT';
5778        }
5779        return '[Leschten] dddd [um] LT';
5780    }
5781
5782    /**
5783     * Returns true if the word before the given week day loses the "-n" ending.
5784     * e.g. "Leschten Dënschdeg" but "Leschte Méindeg"
5785     *
5786     * @param weekday {integer}
5787     * @returns {boolean}
5788     */
5789    function eifelerRegelAppliesToWeekday(weekday) {
5790        weekday = parseInt(weekday, 10);
5791        switch (weekday) {
vendor: 4,796 bytes, lines 5792-5931
5792        case 0: // Sonndeg
5793        case 1: // Méindeg
5794        case 3: // Mëttwoch
5795        case 5: // Freideg
5796        case 6: // Samschdeg
5797            return true;
5798        default: // 2 Dënschdeg, 4 Donneschdeg
5799            return false;
5800        }
5801    }
5802
5803    /**
5804     * Returns true if the word before the given number loses the "-n" ending.
5805     * e.g. "an 10 Deeg" but "a 5 Deeg"
5806     *
5807     * @param number {integer}
5808     * @returns {boolean}
5809     */
5810    function eifelerRegelAppliesToNumber(number) {
5811        number = parseInt(number, 10);
5812        if (isNaN(number)) {
5813            return false;
5814        }
5815        if (number < 0) {
5816            // Negative Number --> always true
5817            return true;
5818        } else if (number < 10) {
5819            // Only 1 digit
5820            if (4 <= number && number <= 7) {
5821                return true;
5822            }
5823            return false;
5824        } else if (number < 100) {
5825            // 2 digits
5826            var lastDigit = number % 10, firstDigit = number / 10;
5827            if (lastDigit === 0) {
5828                return eifelerRegelAppliesToNumber(firstDigit);
5829            }
5830            return eifelerRegelAppliesToNumber(lastDigit);
5831        } else if (number < 10000) {
5832            // 3 or 4 digits --> recursively check first digit
5833            while (number >= 10) {
5834                number = number / 10;
5835            }
5836            return eifelerRegelAppliesToNumber(number);
5837        } else {
5838            // Anything larger than 4 digits: recursively check first n-3 digits
5839            number = number / 1000;
5840            return eifelerRegelAppliesToNumber(number);
5841        }
5842    }
5843
5844    return moment.lang('lb', {
5845        months: "Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),
5846        monthsShort: "Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),
5847        weekdays: "Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),
5848        weekdaysShort: "So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),
5849        weekdaysMin: "So_Mé_Dë_Më_Do_Fr_Sa".split("_"),
5850        longDateFormat: {
5851            LT: "H:mm [Auer]",
5852            L: "DD.MM.YYYY",
5853            LL: "D. MMMM YYYY",
5854            LLL: "D. MMMM YYYY LT",
5855            LLLL: "dddd, D. MMMM YYYY LT"
5856        },
5857        calendar: {
5858            sameDay: "[Haut um] LT",
5859            sameElse: "L",
5860            nextDay: '[Muer um] LT',
5861            nextWeek: 'dddd [um] LT',
5862            lastDay: '[Gëschter um] LT',
5863            lastWeek: processLastWeek
5864        },
5865        relativeTime: {
5866            future: processFutureTime,
5867            past: processPastTime,
5868            s: "e puer Sekonnen",
5869            m: processRelativeTime,
5870            mm: "%d Minutten",
5871            h: processRelativeTime,
5872            hh: "%d Stonnen",
5873            d: processRelativeTime,
5874            dd: processRelativeTime,
5875            M: processRelativeTime,
5876            MM: processRelativeTime,
5877            y: processRelativeTime,
5878            yy: processRelativeTime
5879        },
5880        ordinal: '%d.',
5881        week: {
5882            dow: 1, // Monday is the first day of the week.
5883            doy: 4  // The week that contains Jan 4th is the first week of the year.
5884        }
5885    });
5886}));
5887// moment.js language configuration
5888// language : Lithuanian (lt)
5889// author : Mindaugas Mozūras : https://github.com/mmozuras
5890
5891(function (factory) {
5892    factory(moment);
5893}(function (moment) {
5894    var units = {
5895        "m" : "minutė_minutės_minutę",
5896        "mm": "minutės_minučių_minutes",
5897        "h" : "valanda_valandos_valandą",
5898        "hh": "valandos_valandų_valandas",
5899        "d" : "diena_dienos_dieną",
5900        "dd": "dienos_dienų_dienas",
5901        "M" : "mėnuo_mėnesio_mėnesį",
5902        "MM": "mėnesiai_mėnesių_mėnesius",
5903        "y" : "metai_metų_metus",
5904        "yy": "metai_metų_metus"
5905    },
5906    weekDays = "sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_");
5907
5908    function translateSeconds(number, withoutSuffix, key, isFuture) {
5909        if (withoutSuffix) {
5910            return "kelios sekundės";
5911        } else {
5912            return isFuture ? "kelių sekundžių" : "kelias sekundes";
5913        }
5914    }
5915
5916    function translateSingular(number, withoutSuffix, key, isFuture) {
5917        return withoutSuffix ? forms(key)[0] : (isFuture ? forms(key)[1] : forms(key)[2]);
5918    }
5919
5920    function special(number) {
5921        return number % 10 === 0 || (number > 10 && number < 20);
5922    }
5923
5924    function forms(key) {
5925        return units[key].split("_");
5926    }
5927
5928    function translate(number, withoutSuffix, key, isFuture) {
5929        var result = number + " ";
5930        if (number === 1) {
5931            return result + translateSingular(number, withoutSuffix, key[
59310], isFuture);
5932        } else if (withoutSuffix) {
5933            return result + (special(number) ? forms(key)[1] : forms(key)[0]);
5934        } else {
5935            if (isFuture) {
5936                return result + forms(key)[1];
5937            } else {
5938                return result + (special(number) ? forms(key)[1] : forms(key)[2]);
5939            }
5940        }
5941    }
5942
5943    function relativeWeekDay(moment, format) {
5944        var nominative = format.indexOf('dddd HH:mm') === -1,
5945            weekDay = weekDays[moment.day()];
5946
5947        return nominative ? weekDay : weekDay.substring(0, weekDay.length - 2) + "į";
5948    }
5949
5950    return moment.lang("lt", {
5951        months : "sausio_vasario_kovo_balandžio_gegužės_biržėlio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),
5952        monthsShort : "sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),
5953        weekdays : relativeWeekDay,
5954        weekdaysShort : "Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),
5955        weekdaysMin : "S_P_A_T_K_Pn_Å ".split("_"),
5956        longDateFormat : {
5957            LT : "HH:mm",
5958            L : "YYYY-MM-DD",
5959            LL : "YYYY [m.] MMMM D [d.]",
5960            LLL : "YYYY [m.] MMMM D [d.], LT [val.]",
5961            LLLL : "YYYY [m.] MMMM D [d.], dddd, LT [val.]",
5962            l : "YYYY-MM-DD",
5963            ll : "YYYY [m.] MMMM D [d.]",
5964            lll : "YYYY [m.] MMMM D [d.], LT [val.]",
5965            llll : "YYYY [m.] MMMM D [d.], ddd, LT [val.]"
5966        },
5967        calendar : {
5968            sameDay : "[Å iandien] LT",
5969            nextDay : "[Rytoj] LT",
5970            nextWeek : "dddd LT",
5971            lastDay : "[Vakar] LT",
5972            lastWeek : "[Praėjusį] dddd LT",
5973            sameElse : "L"
5974        },
5975        relativeTime : {
5976            future : "po %s",
5977            past : "prieš %s",
5978            s : translateSeconds,
5979            m : translateSingular,
5980            mm : translate,
5981            h : translateSingular,
5982            hh : translate,
5983            d : translateSingular,
5984            dd : translate,
5985            M : translateSingular,
5986            MM : translate,
5987            y : translateSingular,
5988            yy : translate
5989        },
5990        ordinal : function (number) {
5991            return number + '-oji';
5992        },
5993        week : {
5994            dow : 1, // Monday is the first day of the week.
5995            doy : 4  // The week that contains Jan 4th is the first week of the year.
5996        }
5997    });
5998}));
5999// moment.js language configuration
6000// language : latvian (lv)
6001// author : Kristaps Karlsons : https://github.com/skakri
6002
6003(function (factory) {
6004    factory(moment);
6005}(function (moment) {
6006    var units = {
6007        'mm': 'minūti_minūtes_minūte_minūtes',
6008        'hh': 'stundu_stundas_stunda_stundas',
6009        'dd': 'dienu_dienas_diena_dienas',
6010        'MM': 'mēnesi_mēnešus_mēnesis_mēneši',
6011        'yy': 'gadu_gadus_gads_gadi'
6012    };
6013
6014    function format(word, number, withoutSuffix) {
6015        var forms = word.split('_');
6016        if (withoutSuffix) {
6017            return number % 10 === 1 && number !== 11 ? forms[2] : forms[3];
6018        } else {
6019            return number % 10 === 1 && number !== 11 ? forms[0] : forms[1];
6020        }
6021    }
6022
6023    function relativeTimeWithPlural(number, withoutSuffix, key) {
6024        return number + ' ' + format(units[key], number, withoutSuffix);
6025    }
6026
6027    return moment.lang('lv', {
6028        months : "janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),
6029        monthsShort : "jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),
6030        weekdays : "svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),
6031        weekdaysShort : "Sv_P_O_T_C_Pk_S".split("_"),
6032        weekdaysMin : "Sv_P_O_T_C_Pk_S".split("_"),
6033        longDateFormat : {
6034            LT : "HH:mm",
6035            L : "DD.MM.YYYY",
6036            LL : "YYYY. [gada] D. MMMM",
6037            LLL : "YYYY. [gada] D. MMMM, LT",
6038            LLLL : "YYYY. [gada] D. MMMM, dddd, LT"
6039        },
6040        calendar : {
6041            sameDay : '[Å odien pulksten] LT',
6042            nextDay : '[Rīt pulksten] LT',
6043            nextWeek : 'dddd [pulksten] LT',
6044            lastDay : '[Vakar pulksten] LT',
6045            lastWeek : '[Pagājušā] dddd [pulksten] LT',
6046            sameElse : 'L'
6047        },
6048        relativeTime : {
6049            future : "%s vēlāk",
6050            past : "%s agrāk",
6051            s : "dažas sekundes",
6052            m : "minūti",
6053            mm : relativeTimeWithPlural,
6054            h : "stundu",
6055            hh : relativeTimeWithPlural,
vendor: 9,293 bytes, lines 6056-6288
6056            d : "dienu",
6057            dd : relativeTimeWithPlural,
6058            M : "mēnesi",
6059            MM : relativeTimeWithPlural,
6060            y : "gadu",
6061            yy : relativeTimeWithPlural
6062        },
6063        ordinal : '%d.',
6064        week : {
6065            dow : 1, // Monday is the first day of the week.
6066            doy : 4  // The week that contains Jan 4th is the first week of the year.
6067        }
6068    });
6069}));
6070// moment.js language configuration
6071// language : macedonian (mk)
6072// author : Borislav Mickov : https://github.com/B0k0
6073
6074(function (factory) {
6075    factory(moment);
6076}(function (moment) {
6077    return moment.lang('mk', {
6078        months : "јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),
6079        monthsShort : "јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),
6080        weekdays : "недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),
6081        weekdaysShort : "нед_пон_вто_сре_чет_пет_саб".split("_"),
6082        weekdaysMin : "нe_пo_вт_ср_че_пе_сa".split("_"),
6083        longDateFormat : {
6084            LT : "H:mm",
6085            L : "D.MM.YYYY",
6086            LL : "D MMMM YYYY",
6087            LLL : "D MMMM YYYY LT",
6088            LLLL : "dddd, D MMMM YYYY LT"
6089        },
6090        calendar : {
6091            sameDay : '[Денес во] LT',
6092            nextDay : '[Утре во] LT',
6093            nextWeek : 'dddd [во] LT',
6094            lastDay : '[Вчера во] LT',
6095            lastWeek : function () {
6096                switch (this.day()) {
6097                case 0:
6098                case 3:
6099                case 6:
6100                    return '[Во изминатата] dddd [во] LT';
6101                case 1:
6102                case 2:
6103                case 4:
6104                case 5:
6105                    return '[Во изминатиот] dddd [во] LT';
6106                }
6107            },
6108            sameElse : 'L'
6109        },
6110        relativeTime : {
6111            future : "после %s",
6112            past : "пред %s",
6113            s : "неколку секунди",
6114            m : "минута",
6115            mm : "%d минути",
6116            h : "час",
6117            hh : "%d часа",
6118            d : "ден",
6119            dd : "%d дена",
6120            M : "месец",
6121            MM : "%d месеци",
6122            y : "година",
6123            yy : "%d години"
6124        },
6125        ordinal : function (number) {
6126            var lastDigit = number % 10,
6127                last2Digits = number % 100;
6128            if (number === 0) {
6129                return number + '-ев';
6130            } else if (last2Digits === 0) {
6131                return number + '-ен';
6132            } else if (last2Digits > 10 && last2Digits < 20) {
6133                return number + '-ти';
6134            } else if (lastDigit === 1) {
6135                return number + '-ви';
6136            } else if (lastDigit === 2) {
6137                return number + '-ри';
6138            } else if (lastDigit === 7 || lastDigit === 8) {
6139                return number + '-ми';
6140            } else {
6141                return number + '-ти';
6142            }
6143        },
6144        week : {
6145            dow : 1, // Monday is the first day of the week.
6146            doy : 7  // The week that contains Jan 1st is the first week of the year.
6147        }
6148    });
6149}));
6150// moment.js language configuration
6151// language : malayalam (ml)
6152// author : Floyd Pink : https://github.com/floydpink
6153
6154(function (factory) {
6155    factory(moment);
6156}(function (moment) {
6157    return moment.lang('ml', {
6158        months : 'ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ'.split("_"),
6159        monthsShort : 'ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.'.split("_"),
6160        weekdays : 'ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച'.split("_"),
6161        weekdaysShort : 'ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി'.split("_"),
6162        weekdaysMin : 'ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ'.split("_"),
6163        longDateFormat : {
6164            LT : "A h:mm -നു",
6165            L : "DD/MM/YYYY",
6166            LL : "D MMMM YYYY",
6167            LLL : "D MMMM YYYY, LT",
6168            LLLL : "dddd, D MMMM YYYY, LT"
6169        },
6170        calendar : {
6171            sameDay : '[ഇന്ന്] LT',
6172            nextDay : '[നാളെ] LT',
6173            nextWeek : 'dddd, LT',
6174            lastDay : '[ഇന്നലെ] LT',
6175            lastWeek : '[കഴിഞ്ഞ] dddd, LT',
6176            sameElse : 'L'
6177        },
6178        relativeTime : {
6179            future : "%s കഴിഞ്ഞ്",
6180            past : "%s മുൻപ്",
6181            s : "അൽപ നിമിഷങ്ങൾ",
6182            m : "ഒരു മിനിറ്റ്",
6183            mm : "%d മിനിറ്റ്",
6184            h : "ഒരു മണിക്കൂർ",
6185            hh : "%d മണിക്കൂർ",
6186            d : "ഒരു ദിവസം",
6187            dd : "%d ദിവസം",
6188            M : "ഒരു മാസം",
6189            MM : "%d മാസം",
6190            y : "ഒരു വർഷം",
6191            yy : "%d വർഷം"
6192        },
6193        meridiem : function (hour, minute, isLower) {
6194            if (hour < 4) {
6195                return "രാത്രി";
6196            } else if (hour < 12) {
6197                return "രാവിലെ";
6198            } else if (hour < 17) {
6199                return "ഉച്ച കഴിഞ്ഞ്";
6200            } else if (hour < 20) {
6201                return "വൈകുന്നേരം";
6202            } else {
6203                return "രാത്രി";
6204            }
6205        }
6206    });
6207}));
6208// moment.js language configuration
6209// language : Marathi (mr)
6210// author : Harshad Kale : https://github.com/kalehv
6211
6212(function (factory) {
6213    factory(moment);
6214}(function (moment) {
6215    var symbolMap = {
6216        '1': '१',
6217        '2': '२',
6218        '3': '३',
6219        '4': '४',
6220        '5': '५',
6221        '6': '६',
6222        '7': '७',
6223        '8': '८',
6224        '9': '९',
6225        '0': '०'
6226    },
6227    numberMap = {
6228        '१': '1',
6229        '२': '2',
6230        '३': '3',
6231        '४': '4',
6232        '५': '5',
6233        '६': '6',
6234        '७': '7',
6235        '८': '8',
6236        '९': '9',
6237        '०': '0'
6238    };
6239
6240    return moment.lang('mr', {
6241        months : 'जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split("_"),
6242        monthsShort: 'जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split("_"),
6243        weekdays : 'रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split("_"),
6244        weekdaysShort : 'रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि'.split("_"),
6245        weekdaysMin : 'र_सो_मं_बु_गु_शु_श'.split("_"),
6246        longDateFormat : {
6247            LT : "A h:mm वाजता",
6248            L : "DD/MM/YYYY",
6249            LL : "D MMMM YYYY",
6250            LLL : "D MMMM YYYY, LT",
6251            LLLL : "dddd, D MMMM YYYY, LT"
6252        },
6253        calendar : {
6254            sameDay : '[आज] LT',
6255            nextDay : '[उद्या] LT',
6256            nextWeek : 'dddd, LT',
6257            lastDay : '[काल] LT',
6258            lastWeek: '[मागील] dddd, LT',
6259            sameElse : 'L'
6260        },
6261        relativeTime : {
6262            future : "%s नंतर",
6263            past : "%s पूर्वी",
6264            s : "सेकंद",
6265            m: "एक मिनिट",
6266            mm: "%d मिनिटे",
6267            h : "एक तास",
6268            hh : "%d तास",
6269            d : "एक दिवस",
6270            dd : "%d दिवस",
6271            M : "एक महिना",
6272            MM : "%d महिने",
6273            y : "एक वर्ष",
6274            yy : "%d वर्षे"
6275        },
6276        preparse: function (string) {
6277            return string.replace(/[१२३४५६७८९०]/g, function (match) {
6278                return numberMap[match];
6279            });
6280        },
6281        postformat: function (string) {
6282            return string.replace(/\d/g, function (match) {
6283                return symbolMap[match];
6284            });
6285        },
6286        meridiem: function (hour, minute, isLower)
6287        {
6288            if (hour < 4) {
6289                return "रात्री";
6290            } else if (hour < 10) {
6291                return "सकाळी";
6292            } else if (hour < 17) {
6293                return "दुपारी";
6294            } else if (hour < 20) {
6295                return "सायंकाळी";
6296            } else {
6297                return "रात्री";
6298            }
6299        },
6300        week : {
6301            dow : 0, // Sunday is the first day of the week.
6302            doy : 6  // The week that contains Jan 1st is the first week of the year.
6303        }
6304    });
6305}));
6306// moment.js language configuration
6307// language : Bahasa Malaysia (ms-MY)
6308// author : Weldan Jamili : https://github.com/weldan
6309
6310(function (factory) {
6311    factory(moment);
6312}(function (moment) {
6313    return moment.lang('ms-my', {
6314        months : "Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),
6315        monthsShort : "Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),
6316        weekdays : "Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),
6317        weekdaysShort : "Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),
6318        weekdaysMin : "Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),
6319        longDateFormat : {
6320            LT : "HH.mm",
6321            L : "DD/MM/YYYY",
6322            LL : "D MMMM YYYY",
6323            LLL : "D MMMM YYYY [pukul] LT",
6324            LLLL : "dddd, D MMMM YYYY [pukul] LT"
6325        },
6326        meridiem : function (hours, minutes, isLower) {
6327            if (hours < 11) {
6328                return 'pagi';
6329            } else if (hours < 15) {
6330                return 'tengahari';
6331            } else if (hours < 19) {
6332                return 'petang';
6333            } else {
6334                return 'malam';
6335            }
6336        },
6337        calendar : {
6338            sameDay : '[Hari ini pukul] LT',
6339            nextDay : '[Esok pukul] LT',
6340            nextWeek : 'dddd [pukul] LT',
6341            lastDay : '[Kelmarin pukul] LT',
6342            lastWeek : 'dddd [lepas pukul] LT',
6343            sameElse : 'L'
6344        },
6345        relativeTime : {
6346            future : "dalam %s",
6347            past : "%s yang lepas",
6348            s : "beberapa saat",
6349            m : "seminit",
6350            mm : "%d minit",
6351            h : "sejam",
6352            hh : "%d jam",
6353            d : "sehari",
6354            dd : "%d hari",
6355            M : "sebulan",
6356            MM : "%d bulan",
6357            y : "setahun",
6358            yy : "%d tahun"
6359        },
6360        week : {
6361            dow : 1, // Monday is the first day of the week.
6362            doy : 7  // The week that contains Jan 1st is the first week of the year.
6363        }
6364    });
6365}));
6366// moment.js language configuration
6367// language : norwegian bokmål (nb)
6368// authors : Espen Hovlandsdal : https://github.com/rexxars
6369//           Sigurd Gartmann : https://github.com/sigurdga
6370
6371(function (factory) {
6372    factory(moment);
6373}(function (moment) {
6374    return moment.lang('nb', {
6375        months : "januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),
6376        monthsShort : "jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),
6377        weekdays : "søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),
6378        weekdaysShort : "sø._ma._ti._on._to._fr._lø.".split("_"),
6379        weekdaysMin : "sø_ma_ti_on_to_fr_lø".split("_"),
6380        longDateFormat : {
6381            LT : "H.mm",
6382            L : "DD.MM.YYYY",
6383            LL : "D. MMMM YYYY",
6384            LLL : "D. MMMM YYYY [kl.] LT",
6385            LLLL : "dddd D. MMMM YYYY [kl.] LT"
6386        },
6387        calendar : {
6388            sameDay: '[i dag kl.] LT',
6389            nextDay: '[i morgen kl.] LT',
6390            nextWeek: 'dddd [kl.] LT',
6391            lastDay: '[i går kl.] LT',
6392            lastWeek: '[forrige] dddd [kl.] LT',
6393            sameElse: 'L'
6394        },
6395        relativeTime : {
6396            future : "om %s",
6397            past : "for %s siden",
6398            s : "noen sekunder",
6399            m : "ett minutt",
6400            mm : "%d minutter",
6401            h : "en time",
6402            hh : "%d timer",
6403            d : "en dag",
6404            dd : "%d dager",
6405            M : "en måned",
6406            MM : "%d måneder",
6407            y : "ett år",
6408            yy : "%d år"
6409        },
6410        ordinal : '%d.',
6411        week : {
6412            dow : 1, // Monday is the first day of the week.
6413            doy : 4  // The week that contains Jan 4th is the first week of the year.
6414        }
6415    });
6416}));
6417// moment.js language configuration
6418// language : nepali/nepalese
6419// author : suvash : https://github.com/suvash
6420
6421(function (factory) {
6422    factory(moment);
6423}(function (moment) {
6424    var symbolMap = {
6425        '1': '१',
6426        '2': '२',
6427        '3': '३',
6428        '4': '४',
6429        '5': '५',
6430        '6': '६',
6431        '7': '७',
6432        '8': '८',
6433        '9': '९',
6434        '0': '०'
6435    },
6436    numberMap = {
6437        '१': '1',
6438        '२': '2',
6439        '३': '3',
6440        '४': '4',
6441        '५': '5',
6442        '६': '6',
6443        '७': '7',
6444        '८': '8',
6445        '९': '9',
6446        '०': '0'
6447    };
6448
6449    return moment.lang('ne', {
6450        months : 'जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर'.split("_"),
6451        monthsShort : 'जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.'.split("_"),
6452        weekdays : 'आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार'.split("_"),
6453        weekdaysShort : 'आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.'.split("_"),
6454        weekdaysMin : 'आइ._सो._मङ्_बु._बि._शु._श.'.split("_"),
6455        longDateFormat : {
6456            LT : "Aको h:mm बजे",
6457            L : "DD/MM/YYYY",
6458            LL : "D MMMM YYYY",
6459            LLL : "D MMMM YYYY, LT",
6460            LLLL : "dddd, D MMMM YYYY, LT"
6461        },
6462        preparse: function (string) {
6463            return string.replace(/[१२३४५६७८९०]/g, function (match) {
6464                return numberMap[match];
6465            });
6466        },
6467        postformat: function (string) {
6468            return string.replace(/\d/g, function (match) {
6469                return symbolMap[match];
6470            });
6471        },
6472        meridiem : function (hour, minute, isLower) {
6473            if (hour < 3) {
6474                return "राती";
6475            } else if (hour < 10) {
6476                return "बिहान";
6477            } else if (hour < 15) {
6478                return "दिउँसो";
6479            } else if (hour < 18) {
6480                return "बेलुका";
6481            } else if (hour < 20) {
6482                return "साँझ";
6483            } else {
6484                return "राती";
6485            }
6486        },
6487        calendar : {
6488            sameDay : '[आज] LT',
6489            nextDay : '[भोली] LT',
6490            nextWeek : '[आउँदो] dddd[,] LT',
6491            lastDay : '[हिजो] LT',
6492            lastWeek : '[गएको] dddd[,] LT',
6493            sameElse : 'L'
6494        },
6495        relativeTime : {
6496            future : "%sमा",
6497            past : "%s अगाडी",
6498            s : "केही समय",
6499            m : "एक मिनेट",
6500            mm : "%d मिनेट",
6501            h : "एक घण्टा",
6502            hh : "%d घण्टा",
6503            d : "एक दिन",
6504            dd : "%d दिन",
6505            M : "एक महिना",
6506            MM : "%d महिना",
6507            y : "एक बर्ष",
6508            yy : "%d बर्ष"
6509        },
6510        week : {
6511            dow : 1, // Monday is the first day of the week.
6512            doy : 7  // The week that contains Jan 1st is the first week of the year.
6513        }
6514    });
6515}));
6516// moment.js language configuration
6517// language : dutch (nl)
6518// author : Joris Röling : https://github.com/jjupiter
6519
6520(function (factory) {
6521    factory(moment);
6522}(function (moment) {
6523    var monthsShortWithDots = "jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),
6524        monthsShortWithoutDots = "jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_");
6525
6526    return moment.lang('nl', {
6527        months : "januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),
6528        monthsShort : function (m, format) {
6529            if (/-MMM-/.test(format)) {
6530                return monthsShortWithoutDots[m.month()];
6531            } else {
6532                return monthsShortWithDots[m.month()];
6533            }
6534        },
6535        weekdays : "zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),
6536        weekdaysShort : "zo._ma._di._wo._do._vr._za.".split("_"),
6537        weekdaysMin : "Zo_Ma_Di_Wo_Do_Vr_Za".split("_"),
6538        longDateFormat : {
6539            LT : "HH:mm",
6540            L : "DD-MM-YYYY",
6541            LL : "D MMMM YYYY",
6542            LLL : "D MMMM YYYY LT",
6543            LLLL : "dddd D MMMM YYYY LT"
6544        },
6545        calendar : {
6546            sameDay: '[vandaag om] LT',
6547            nextDay: '[morgen om] LT',
6548            nextWeek: 'dddd [om] LT',
6549            lastDay: '[gisteren om] LT',
6550            lastWeek: '[afgelopen] dddd [om] LT',
6551            sameElse: 'L'
6552        },
6553        relativeTime : {
6554            future : "over %s",
6555            past : "%s geleden",
6556            s : "een paar seconden",
6557            m : "één minuut",
6558            mm : "%d minuten",
6559            h : "één uur",
6560            hh : "%d uur",
6561            d : "één dag",
6562            dd : "%d dagen",
6563            M : "één maand",
6564            MM : "%d maanden",
vendor: 40,341 bytes, lines 6565-7682
6565            y : "één jaar",
6566            yy : "%d jaar"
6567        },
6568        ordinal : function (number) {
6569            return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de');
6570        },
6571        week : {
6572            dow : 1, // Monday is the first day of the week.
6573            doy : 4  // The week that contains Jan 4th is the first week of the year.
6574        }
6575    });
6576}));
6577// moment.js language configuration
6578// language : norwegian nynorsk (nn)
6579// author : https://github.com/mechuwind
6580
6581(function (factory) {
6582    factory(moment);
6583}(function (moment) {
6584    return moment.lang('nn', {
6585        months : "januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),
6586        monthsShort : "jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),
6587        weekdays : "sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),
6588        weekdaysShort : "sun_mån_tys_ons_tor_fre_lau".split("_"),
6589        weekdaysMin : "su_må_ty_on_to_fr_lø".split("_"),
6590        longDateFormat : {
6591            LT : "HH:mm",
6592            L : "DD.MM.YYYY",
6593            LL : "D MMMM YYYY",
6594            LLL : "D MMMM YYYY LT",
6595            LLLL : "dddd D MMMM YYYY LT"
6596        },
6597        calendar : {
6598            sameDay: '[I dag klokka] LT',
6599            nextDay: '[I morgon klokka] LT',
6600            nextWeek: 'dddd [klokka] LT',
6601            lastDay: '[I går klokka] LT',
6602            lastWeek: '[Føregåande] dddd [klokka] LT',
6603            sameElse: 'L'
6604        },
6605        relativeTime : {
6606            future : "om %s",
6607            past : "for %s sidan",
6608            s : "nokre sekund",
6609            m : "eit minutt",
6610            mm : "%d minutt",
6611            h : "ein time",
6612            hh : "%d timar",
6613            d : "ein dag",
6614            dd : "%d dagar",
6615            M : "ein månad",
6616            MM : "%d månader",
6617            y : "eit år",
6618            yy : "%d år"
6619        },
6620        ordinal : '%d.',
6621        week : {
6622            dow : 1, // Monday is the first day of the week.
6623            doy : 4  // The week that contains Jan 4th is the first week of the year.
6624        }
6625    });
6626}));
6627// moment.js language configuration
6628// language : polish (pl)
6629// author : Rafal Hirsz : https://github.com/evoL
6630
6631(function (factory) {
6632    factory(moment);
6633}(function (moment) {
6634    var monthsNominative = "styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),
6635        monthsSubjective = "stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_");
6636
6637    function plural(n) {
6638        return (n % 10 < 5) && (n % 10 > 1) && ((~~(n / 10) % 10) !== 1);
6639    }
6640
6641    function translate(number, withoutSuffix, key) {
6642        var result = number + " ";
6643        switch (key) {
6644        case 'm':
6645            return withoutSuffix ? 'minuta' : 'minutę';
6646        case 'mm':
6647            return result + (plural(number) ? 'minuty' : 'minut');
6648        case 'h':
6649            return withoutSuffix  ? 'godzina'  : 'godzinę';
6650        case 'hh':
6651            return result + (plural(number) ? 'godziny' : 'godzin');
6652        case 'MM':
6653            return result + (plural(number) ? 'miesiące' : 'miesięcy');
6654        case 'yy':
6655            return result + (plural(number) ? 'lata' : 'lat');
6656        }
6657    }
6658
6659    return moment.lang('pl', {
6660        months : function (momentToFormat, format) {
6661            if (/D MMMM/.test(format)) {
6662                return monthsSubjective[momentToFormat.month()];
6663            } else {
6664                return monthsNominative[momentToFormat.month()];
6665            }
6666        },
6667        monthsShort : "sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),
6668        weekdays : "niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),
6669        weekdaysShort : "nie_pon_wt_śr_czw_pt_sb".split("_"),
6670        weekdaysMin : "N_Pn_Wt_Śr_Cz_Pt_So".split("_"),
6671        longDateFormat : {
6672            LT : "HH:mm",
6673            L : "DD.MM.YYYY",
6674            LL : "D MMMM YYYY",
6675            LLL : "D MMMM YYYY LT",
6676            LLLL : "dddd, D MMMM YYYY LT"
6677        },
6678        calendar : {
6679            sameDay: '[Dziś o] LT',
6680            nextDay: '[Jutro o] LT',
6681            nextWeek: '[W] dddd [o] LT',
6682            lastDay: '[Wczoraj o] LT',
6683            lastWeek: function () {
6684                switch (this.day()) {
6685                case 0:
6686                    return '[W zeszłą niedzielę o] LT';
6687                case 3:
6688                    return '[W zeszłą środę o] LT';
6689                case 6:
6690                    return '[W zeszłą sobotę o] LT';
6691                default:
6692                    return '[W zeszły] dddd [o] LT';
6693                }
6694            },
6695            sameElse: 'L'
6696        },
6697        relativeTime : {
6698            future : "za %s",
6699            past : "%s temu",
6700            s : "kilka sekund",
6701            m : translate,
6702            mm : translate,
6703            h : translate,
6704            hh : translate,
6705            d : "1 dzień",
6706            dd : '%d dni',
6707            M : "miesiąc",
6708            MM : translate,
6709            y : "rok",
6710            yy : translate
6711        },
6712        ordinal : '%d.',
6713        week : {
6714            dow : 1, // Monday is the first day of the week.
6715            doy : 4  // The week that contains Jan 4th is the first week of the year.
6716        }
6717    });
6718}));
6719// moment.js language configuration
6720// language : brazilian portuguese (pt-br)
6721// author : Caio Ribeiro Pereira : https://github.com/caio-ribeiro-pereira
6722
6723(function (factory) {
6724    factory(moment);
6725}(function (moment) {
6726    return moment.lang('pt-br', {
6727        months : "janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),
6728        monthsShort : "jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),
6729        weekdays : "domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),
6730        weekdaysShort : "dom_seg_ter_qua_qui_sex_sáb".split("_"),
6731        weekdaysMin : "dom_2ª_3ª_4ª_5ª_6ª_sáb".split("_"),
6732        longDateFormat : {
6733            LT : "HH:mm",
6734            L : "DD/MM/YYYY",
6735            LL : "D [de] MMMM [de] YYYY",
6736            LLL : "D [de] MMMM [de] YYYY [às] LT",
6737            LLLL : "dddd, D [de] MMMM [de] YYYY [às] LT"
6738        },
6739        calendar : {
6740            sameDay: '[Hoje às] LT',
6741            nextDay: '[Amanhã às] LT',
6742            nextWeek: 'dddd [às] LT',
6743            lastDay: '[Ontem às] LT',
6744            lastWeek: function () {
6745                return (this.day() === 0 || this.day() === 6) ?
6746                    '[Último] dddd [às] LT' : // Saturday + Sunday
6747                    '[Última] dddd [às] LT'; // Monday - Friday
6748            },
6749            sameElse: 'L'
6750        },
6751        relativeTime : {
6752            future : "em %s",
6753            past : "%s atrás",
6754            s : "segundos",
6755            m : "um minuto",
6756            mm : "%d minutos",
6757            h : "uma hora",
6758            hh : "%d horas",
6759            d : "um dia",
6760            dd : "%d dias",
6761            M : "um mês",
6762            MM : "%d meses",
6763            y : "um ano",
6764            yy : "%d anos"
6765        },
6766        ordinal : '%dº'
6767    });
6768}));
6769// moment.js language configuration
6770// language : portuguese (pt)
6771// author : Jefferson : https://github.com/jalex79
6772
6773(function (factory) {
6774    factory(moment);
6775}(function (moment) {
6776    return moment.lang('pt', {
6777        months : "janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),
6778        monthsShort : "jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),
6779        weekdays : "domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),
6780        weekdaysShort : "dom_seg_ter_qua_qui_sex_sáb".split("_"),
6781        weekdaysMin : "dom_2ª_3ª_4ª_5ª_6ª_sáb".split("_"),
6782        longDateFormat : {
6783            LT : "HH:mm",
6784            L : "DD/MM/YYYY",
6785            LL : "D [de] MMMM [de] YYYY",
6786            LLL : "D [de] MMMM [de] YYYY LT",
6787            LLLL : "dddd, D [de] MMMM [de] YYYY LT"
6788        },
6789        calendar : {
6790            sameDay: '[Hoje às] LT',
6791            nextDay: '[Amanhã às] LT',
6792            nextWeek: 'dddd [às] LT',
6793            lastDay: '[Ontem às] LT',
6794            lastWeek: function () {
6795                return (this.day() === 0 || this.day() === 6) ?
6796                    '[Último] dddd [às] LT' : // Saturday + Sunday
6797                    '[Última] dddd [às] LT'; // Monday - Friday
6798            },
6799            sameElse: 'L'
6800        },
6801        relativeTime : {
6802            future : "em %s",
6803            past : "há %s",
6804            s : "segundos",
6805            m : "um minuto",
6806            mm : "%d minutos",
6807            h : "uma hora",
6808            hh : "%d horas",
6809            d : "um dia",
6810            dd : "%d dias",
6811            M : "um mês",
6812            MM : "%d meses",
6813            y : "um ano",
6814            yy : "%d anos"
6815        },
6816        ordinal : '%dº',
6817        week : {
6818            dow : 1, // Monday is the first day of the week.
6819            doy : 4  // The week that contains Jan 4th is the first week of the year.
6820        }
6821    });
6822}));
6823// moment.js language configuration
6824// language : romanian (ro)
6825// author : Vlad Gurdiga : https://github.com/gurdiga
6826// author : Valentin Agachi : https://github.com/avaly
6827
6828(function (factory) {
6829    factory(moment);
6830}(function (moment) {
6831    function relativeTimeWithPlural(number, withoutSuffix, key) {
6832        var format = {
6833            'mm': 'minute',
6834            'hh': 'ore',
6835            'dd': 'zile',
6836            'MM': 'luni',
6837            'yy': 'ani'
6838        },
6839            separator = ' ';
6840        if (number % 100 >= 20 || (number >= 100 && number % 100 === 0)) {
6841            separator = ' de ';
6842        }
6843
6844        return number + separator + format[key];
6845    }
6846
6847    return moment.lang('ro', {
6848        months : "ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),
6849        monthsShort : "ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),
6850        weekdays : "duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),
6851        weekdaysShort : "Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),
6852        weekdaysMin : "Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),
6853        longDateFormat : {
6854            LT : "H:mm",
6855            L : "DD.MM.YYYY",
6856            LL : "D MMMM YYYY",
6857            LLL : "D MMMM YYYY H:mm",
6858            LLLL : "dddd, D MMMM YYYY H:mm"
6859        },
6860        calendar : {
6861            sameDay: "[azi la] LT",
6862            nextDay: '[mâine la] LT',
6863            nextWeek: 'dddd [la] LT',
6864            lastDay: '[ieri la] LT',
6865            lastWeek: '[fosta] dddd [la] LT',
6866            sameElse: 'L'
6867        },
6868        relativeTime : {
6869            future : "peste %s",
6870            past : "%s în urmă",
6871            s : "câteva secunde",
6872            m : "un minut",
6873            mm : relativeTimeWithPlural,
6874            h : "o oră",
6875            hh : relativeTimeWithPlural,
6876            d : "o zi",
6877            dd : relativeTimeWithPlural,
6878            M : "o lună",
6879            MM : relativeTimeWithPlural,
6880            y : "un an",
6881            yy : relativeTimeWithPlural
6882        },
6883        week : {
6884            dow : 1, // Monday is the first day of the week.
6885            doy : 7  // The week that contains Jan 1st is the first week of the year.
6886        }
6887    });
6888}));
6889// moment.js language configuration
6890// language : russian (ru)
6891// author : Viktorminator : https://github.com/Viktorminator
6892// Author : Menelion Elensúle : https://github.com/Oire
6893
6894(function (factory) {
6895    factory(moment);
6896}(function (moment) {
6897    function plural(word, num) {
6898        var forms = word.split('_');
6899        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]);
6900    }
6901
6902    function relativeTimeWithPlural(number, withoutSuffix, key) {
6903        var format = {
6904            'mm': withoutSuffix ? 'минута_минуты_минут' : 'минуту_минуты_минут',
6905            'hh': 'час_часа_часов',
6906            'dd': 'день_дня_дней',
6907            'MM': 'месяц_месяца_месяцев',
6908            'yy': 'год_года_лет'
6909        };
6910        if (key === 'm') {
6911            return withoutSuffix ? 'минута' : 'минуту';
6912        }
6913        else {
6914            return number + ' ' + plural(format[key], +number);
6915        }
6916    }
6917
6918    function monthsCaseReplace(m, format) {
6919        var months = {
6920            'nominative': 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split('_'),
6921            'accusative': 'января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря'.split('_')
6922        },
6923
6924        nounCase = (/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/).test(format) ?
6925            'accusative' :
6926            'nominative';
6927
6928        return months[nounCase][m.month()];
6929    }
6930
6931    function monthsShortCaseReplace(m, format) {
6932        var monthsShort = {
6933            'nominative': 'янв_фев_мар_апр_май_июнь_июль_авг_сен_окт_ноя_дек'.split('_'),
6934            'accusative': 'янв_фев_мар_апр_мая_июня_июля_авг_сен_окт_ноя_дек'.split('_')
6935        },
6936
6937        nounCase = (/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/).test(format) ?
6938            'accusative' :
6939            'nominative';
6940
6941        return monthsShort[nounCase][m.month()];
6942    }
6943
6944    function weekdaysCaseReplace(m, format) {
6945        var weekdays = {
6946            'nominative': 'воскресенье_понедельник_вторник_среда_четверг_пятница_суббота'.split('_'),
6947            'accusative': 'воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу'.split('_')
6948        },
6949
6950        nounCase = (/\[ ?[Вв] ?(?:прошлую|следующую)? ?\] ?dddd/).test(format) ?
6951            'accusative' :
6952            'nominative';
6953
6954        return weekdays[nounCase][m.day()];
6955    }
6956
6957    return moment.lang('ru', {
6958        months : monthsCaseReplace,
6959        monthsShort : monthsShortCaseReplace,
6960        weekdays : weekdaysCaseReplace,
6961        weekdaysShort : "вс_пн_вт_ср_чт_пт_сб".split("_"),
6962        weekdaysMin : "вс_пн_вт_ср_чт_пт_сб".split("_"),
6963        monthsParse : [/^янв/i, /^фев/i, /^мар/i, /^апр/i, /^ма[й|я]/i, /^июн/i, /^июл/i, /^авг/i, /^сен/i, /^окт/i, /^ноя/i, /^дек/i],
6964        longDateFormat : {
6965            LT : "HH:mm",
6966            L : "DD.MM.YYYY",
6967            LL : "D MMMM YYYY г.",
6968            LLL : "D MMMM YYYY г., LT",
6969            LLLL : "dddd, D MMMM YYYY г., LT"
6970        },
6971        calendar : {
6972            sameDay: '[Сегодня в] LT',
6973            nextDay: '[Завтра в] LT',
6974            lastDay: '[Вчера в] LT',
6975            nextWeek: function () {
6976                return this.day() === 2 ? '[Во] dddd [в] LT' : '[В] dddd [в] LT';
6977            },
6978            lastWeek: function () {
6979                switch (this.day()) {
6980                case 0:
6981                    return '[В прошлое] dddd [в] LT';
6982                case 1:
6983                case 2:
6984                case 4:
6985                    return '[В прошлый] dddd [в] LT';
6986                case 3:
6987                case 5:
6988                case 6:
6989                    return '[В прошлую] dddd [в] LT';
6990                }
6991            },
6992            sameElse: 'L'
6993        },
6994        relativeTime : {
6995            future : "через %s",
6996            past : "%s назад",
6997            s : "несколько секунд",
6998            m : relativeTimeWithPlural,
6999            mm : relativeTimeWithPlural,
7000            h : "час",
7001            hh : relativeTimeWithPlural,
7002            d : "день",
7003            dd : relativeTimeWithPlural,
7004            M : "месяц",
7005            MM : relativeTimeWithPlural,
7006            y : "год",
7007            yy : relativeTimeWithPlural
7008        },
7009
7010        meridiemParse: /ночи|утра|дня|вечера/i,
7011        isPM : function (input) {
7012            return /^(дня|вечера)$/.test(input);
7013        },
7014
7015        meridiem : function (hour, minute, isLower) {
7016            if (hour < 4) {
7017                return "ночи";
7018            } else if (hour < 12) {
7019                return "утра";
7020            } else if (hour < 17) {
7021                return "дня";
7022            } else {
7023                return "вечера";
7024            }
7025        },
7026
7027        ordinal: function (number, period) {
7028            switch (period) {
7029            case 'M':
7030            case 'd':
7031            case 'DDD':
7032                return number + '-й';
7033            case 'D':
7034                return number + '-го';
7035            case 'w':
7036            case 'W':
7037                return number + '-я';
7038            default:
7039                return number;
7040            }
7041        },
7042
7043        week : {
7044            dow : 1, // Monday is the first day of the week.
7045            doy : 7  // The week that contains Jan 1st is the first week of the year.
7046        }
7047    });
7048}));
7049// moment.js language configuration
7050// language : slovak (sk)
7051// author : Martin Minka : https://github.com/k2s
7052// based on work of petrbela : https://github.com/petrbela
7053
7054(function (factory) {
7055    factory(moment);
7056}(function (moment) {
7057    var months = "január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),
7058        monthsShort = "jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");
7059
7060    function plural(n) {
7061        return (n > 1) && (n < 5);
7062    }
7063
7064    function translate(number, withoutSuffix, key, isFuture) {
7065        var result = number + " ";
7066        switch (key) {
7067        case 's':  // a few seconds / in a few seconds / a few seconds ago
7068            return (withoutSuffix || isFuture) ? 'pár sekúnd' : 'pár sekundami';
7069        case 'm':  // a minute / in a minute / a minute ago
7070            return withoutSuffix ? 'minúta' : (isFuture ? 'minútu' : 'minútou');
7071        case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago
7072            if (withoutSuffix || isFuture) {
7073                return result + (plural(number) ? 'minúty' : 'minút');
7074            } else {
7075                return result + 'minútami';
7076            }
7077            break;
7078        case 'h':  // an hour / in an hour / an hour ago
7079            return withoutSuffix ? 'hodina' : (isFuture ? 'hodinu' : 'hodinou');
7080        case 'hh': // 9 hours / in 9 hours / 9 hours ago
7081            if (withoutSuffix || isFuture) {
7082                return result + (plural(number) ? 'hodiny' : 'hodín');
7083            } else {
7084                return result + 'hodinami';
7085            }
7086            break;
7087        case 'd':  // a day / in a day / a day ago
7088            return (withoutSuffix || isFuture) ? 'deň' : 'dňom';
7089        case 'dd': // 9 days / in 9 days / 9 days ago
7090            if (withoutSuffix || isFuture) {
7091                return result + (plural(number) ? 'dni' : 'dní');
7092            } else {
7093                return result + 'dňami';
7094            }
7095            break;
7096        case 'M':  // a month / in a month / a month ago
7097            return (withoutSuffix || isFuture) ? 'mesiac' : 'mesiacom';
7098        case 'MM': // 9 months / in 9 months / 9 months ago
7099            if (withoutSuffix || isFuture) {
7100                return result + (plural(number) ? 'mesiace' : 'mesiacov');
7101            } else {
7102                return result + 'mesiacmi';
7103            }
7104            break;
7105        case 'y':  // a year / in a year / a year ago
7106            return (withoutSuffix || isFuture) ? 'rok' : 'rokom';
7107        case 'yy': // 9 years / in 9 years / 9 years ago
7108            if (withoutSuffix || isFuture) {
7109                return result + (plural(number) ? 'roky' : 'rokov');
7110            } else {
7111                return result + 'rokmi';
7112            }
7113            break;
7114        }
7115    }
7116
7117    return moment.lang('sk', {
7118        months : months,
7119        monthsShort : monthsShort,
7120        monthsParse : (function (months, monthsShort) {
7121            var i, _monthsParse = [];
7122            for (i = 0; i < 12; i++) {
7123                // use custom parser to solve problem with July (červenec)
7124                _monthsParse[i] = new RegExp('^' + months[i] + '$|^' + monthsShort[i] + '$', 'i');
7125            }
7126            return _monthsParse;
7127        }(months, monthsShort)),
7128        weekdays : "nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),
7129        weekdaysShort : "ne_po_ut_st_št_pi_so".split("_"),
7130        weekdaysMin : "ne_po_ut_st_št_pi_so".split("_"),
7131        longDateFormat : {
7132            LT: "H:mm",
7133            L : "DD.MM.YYYY",
7134            LL : "D. MMMM YYYY",
7135            LLL : "D. MMMM YYYY LT",
7136            LLLL : "dddd D. MMMM YYYY LT"
7137        },
7138        calendar : {
7139            sameDay: "[dnes o] LT",
7140            nextDay: '[zajtra o] LT',
7141            nextWeek: function () {
7142                switch (this.day()) {
7143                case 0:
7144                    return '[v nedeľu o] LT';
7145                case 1:
7146                case 2:
7147                    return '[v] dddd [o] LT';
7148                case 3:
7149                    return '[v stredu o] LT';
7150                case 4:
7151                    return '[vo štvrtok o] LT';
7152                case 5:
7153                    return '[v piatok o] LT';
7154                case 6:
7155                    return '[v sobotu o] LT';
7156                }
7157            },
7158            lastDay: '[včera o] LT',
7159            lastWeek: function () {
7160                switch (this.day()) {
7161                case 0:
7162                    return '[minulú nedeľu o] LT';
7163                case 1:
7164                case 2:
7165                    return '[minulý] dddd [o] LT';
7166                case 3:
7167                    return '[minulú stredu o] LT';
7168                case 4:
7169                case 5:
7170                    return '[minulý] dddd [o] LT';
7171                case 6:
7172                    return '[minulú sobotu o] LT';
7173                }
7174            },
7175            sameElse: "L"
7176        },
7177        relativeTime : {
7178            future : "za %s",
7179            past : "pred %s",
7180            s : translate,
7181            m : translate,
7182            mm : translate,
7183            h : translate,
7184            hh : translate,
7185            d : translate,
7186            dd : translate,
7187            M : translate,
7188            MM : translate,
7189            y : translate,
7190            yy : translate
7191        },
7192        ordinal : '%d.',
7193        week : {
7194            dow : 1, // Monday is the first day of the week.
7195            doy : 4  // The week that contains Jan 4th is the first week of the year.
7196        }
7197    });
7198}));
7199// moment.js language configuration
7200// language : slovenian (sl)
7201// author : Robert Sedovšek : https://github.com/sedovsek
7202
7203(function (factory) {
7204    factory(moment);
7205}(function (moment) {
7206    function translate(number, withoutSuffix, key) {
7207        var result = number + " ";
7208        switch (key) {
7209        case 'm':
7210            return withoutSuffix ? 'ena minuta' : 'eno minuto';
7211        case 'mm':
7212            if (number === 1) {
7213                result += 'minuta';
7214            } else if (number === 2) {
7215                result += 'minuti';
7216            } else if (number === 3 || number === 4) {
7217                result += 'minute';
7218            } else {
7219                result += 'minut';
7220            }
7221            return result;
7222        case 'h':
7223            return withoutSuffix ? 'ena ura' : 'eno uro';
7224        case 'hh':
7225            if (number === 1) {
7226                result += 'ura';
7227            } else if (number === 2) {
7228                result += 'uri';
7229            } else if (number === 3 || number === 4) {
7230                result += 'ure';
7231            } else {
7232                result += 'ur';
7233            }
7234            return result;
7235        case 'dd':
7236            if (number === 1) {
7237                result += 'dan';
7238            } else {
7239                result += 'dni';
7240            }
7241            return result;
7242        case 'MM':
7243            if (number === 1) {
7244                result += 'mesec';
7245            } else if (number === 2) {
7246                result += 'meseca';
7247            } else if (number === 3 || number === 4) {
7248                result += 'mesece';
7249            } else {
7250                result += 'mesecev';
7251            }
7252            return result;
7253        case 'yy':
7254            if (number === 1) {
7255                result += 'leto';
7256            } else if (number === 2) {
7257                result += 'leti';
7258            } else if (number === 3 || number === 4) {
7259                result += 'leta';
7260            } else {
7261                result += 'let';
7262            }
7263            return result;
7264        }
7265    }
7266
7267    return moment.lang('sl', {
7268        months : "januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),
7269        monthsShort : "jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),
7270        weekdays : "nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),
7271        weekdaysShort : "ned._pon._tor._sre._čet._pet._sob.".split("_"),
7272        weekdaysMin : "ne_po_to_sr_če_pe_so".split("_"),
7273        longDateFormat : {
7274            LT : "H:mm",
7275            L : "DD. MM. YYYY",
7276            LL : "D. MMMM YYYY",
7277            LLL : "D. MMMM YYYY LT",
7278            LLLL : "dddd, D. MMMM YYYY LT"
7279        },
7280        calendar : {
7281            sameDay  : '[danes ob] LT',
7282            nextDay  : '[jutri ob] LT',
7283
7284            nextWeek : function () {
7285                switch (this.day()) {
7286                case 0:
7287                    return '[v] [nedeljo] [ob] LT';
7288                case 3:
7289                    return '[v] [sredo] [ob] LT';
7290                case 6:
7291                    return '[v] [soboto] [ob] LT';
7292                case 1:
7293                case 2:
7294                case 4:
7295                case 5:
7296                    return '[v] dddd [ob] LT';
7297                }
7298            },
7299            lastDay  : '[včeraj ob] LT',
7300            lastWeek : function () {
7301                switch (this.day()) {
7302                case 0:
7303                case 3:
7304                case 6:
7305                    return '[prejšnja] dddd [ob] LT';
7306                case 1:
7307                case 2:
7308                case 4:
7309                case 5:
7310                    return '[prejšnji] dddd [ob] LT';
7311                }
7312            },
7313            sameElse : 'L'
7314        },
7315        relativeTime : {
7316            future : "čez %s",
7317            past   : "%s nazaj",
7318            s      : "nekaj sekund",
7319            m      : translate,
7320            mm     : translate,
7321            h      : translate,
7322            hh     : translate,
7323            d      : "en dan",
7324            dd     : translate,
7325            M      : "en mesec",
7326            MM     : translate,
7327            y      : "eno leto",
7328            yy     : translate
7329        },
7330        ordinal : '%d.',
7331        week : {
7332            dow : 1, // Monday is the first day of the week.
7333            doy : 7  // The week that contains Jan 1st is the first week of the year.
7334        }
7335    });
7336}));
7337// moment.js language configuration
7338// language : Albanian (sq)
7339// author : Flakërim Ismani : https://github.com/flakerimi
7340// author: Menelion Elensúle: https://github.com/Oire (tests)
7341// author : Oerd Cukalla : https://github.com/oerd (fixes)
7342
7343(function (factory) {
7344    factory(moment);
7345}(function (moment) {
7346    return moment.lang('sq', {
7347        months : "Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),
7348        monthsShort : "Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),
7349        weekdays : "E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),
7350        weekdaysShort : "Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),
7351        weekdaysMin : "D_H_Ma_Më_E_P_Sh".split("_"),
7352        meridiem : function (hours, minutes, isLower) {
7353            return hours < 12 ? 'PD' : 'MD';
7354        },
7355        longDateFormat : {
7356            LT : "HH:mm",
7357            L : "DD/MM/YYYY",
7358            LL : "D MMMM YYYY",
7359            LLL : "D MMMM YYYY LT",
7360            LLLL : "dddd, D MMMM YYYY LT"
7361        },
7362        calendar : {
7363            sameDay : '[Sot në] LT',
7364            nextDay : '[Nesër në] LT',
7365            nextWeek : 'dddd [në] LT',
7366            lastDay : '[Dje në] LT',
7367            lastWeek : 'dddd [e kaluar në] LT',
7368            sameElse : 'L'
7369        },
7370        relativeTime : {
7371            future : "në %s",
7372            past : "%s më parë",
7373            s : "disa sekonda",
7374            m : "një minutë",
7375            mm : "%d minuta",
7376            h : "një orë",
7377            hh : "%d orë",
7378            d : "një ditë",
7379            dd : "%d ditë",
7380            M : "një muaj",
7381            MM : "%d muaj",
7382            y : "një vit",
7383            yy : "%d vite"
7384        },
7385        ordinal : '%d.',
7386        week : {
7387            dow : 1, // Monday is the first day of the week.
7388            doy : 4  // The week that contains Jan 4th is the first week of the year.
7389        }
7390    });
7391}));
7392// moment.js language configuration
7393// language : Serbian-cyrillic (sr-cyrl)
7394// author : Milan Janačković<[email protected]> : https://github.com/milan-j
7395
7396(function (factory) {
7397    factory(moment);
7398}(function (moment) {
7399
7400    var translator = {
7401        words: { //Different grammatical cases
7402            m: ['један минут', 'једне минуте'],
7403            mm: ['минут', 'минуте', 'минута'],
7404            h: ['један сат', 'једног сата'],
7405            hh: ['сат', 'сата', 'сати'],
7406            dd: ['дан', 'дана', 'дана'],
7407            MM: ['месец', 'месеца', 'месеци'],
7408            yy: ['година', 'године', 'година']
7409        },
7410        correctGrammaticalCase: function (number, wordKey) {
7411            return number === 1 ? wordKey[0] : (number >= 2 && number <= 4 ? wordKey[1] : wordKey[2]);
7412        },
7413        translate: function (number, withoutSuffix, key) {
7414            var wordKey = translator.words[key];
7415            if (key.length === 1) {
7416                return withoutSuffix ? wordKey[0] : wordKey[1];
7417            } else {
7418                return number + ' ' + translator.correctGrammaticalCase(number, wordKey);
7419            }
7420        }
7421    };
7422
7423    return moment.lang('sr-cyrl', {
7424        months: ['јануар', 'фебруар', 'март', 'април', 'мај', 'јун', 'јул', 'август', 'септембар', 'октобар', 'новембар', 'децембар'],
7425        monthsShort: ['јан.', 'феб.', 'мар.', 'апр.', 'мај', 'јун', 'јул', 'авг.', 'сеп.', 'окт.', 'нов.', 'дец.'],
7426        weekdays: ['недеља', 'понедељак', 'уторак', 'среда', 'четвртак', 'петак', 'субота'],
7427        weekdaysShort: ['нед.', 'пон.', 'уто.', 'сре.', 'чет.', 'пет.', 'суб.'],
7428        weekdaysMin: ['не', 'по', 'ут', 'ср', 'че', 'пе', 'су'],
7429        longDateFormat: {
7430            LT: "H:mm",
7431            L: "DD. MM. YYYY",
7432            LL: "D. MMMM YYYY",
7433            LLL: "D. MMMM YYYY LT",
7434            LLLL: "dddd, D. MMMM YYYY LT"
7435        },
7436        calendar: {
7437            sameDay: '[данас у] LT',
7438            nextDay: '[сутра у] LT',
7439
7440            nextWeek: function () {
7441                switch (this.day()) {
7442                case 0:
7443                    return '[у] [недељу] [у] LT';
7444                case 3:
7445                    return '[у] [среду] [у] LT';
7446                case 6:
7447                    return '[у] [суботу] [у] LT';
7448                case 1:
7449                case 2:
7450                case 4:
7451                case 5:
7452                    return '[у] dddd [у] LT';
7453                }
7454            },
7455            lastDay  : '[јуче у] LT',
7456            lastWeek : function () {
7457                var lastWeekDays = [
7458                    '[прошле] [недеље] [у] LT',
7459                    '[прошлог] [понедељка] [у] LT',
7460                    '[прошлог] [уторка] [у] LT',
7461                    '[прошле] [среде] [у] LT',
7462                    '[прошлог] [четвртка] [у] LT',
7463                    '[прошлог] [петка] [у] LT',
7464                    '[прошле] [суботе] [у] LT'
7465                ];
7466                return lastWeekDays[this.day()];
7467            },
7468            sameElse : 'L'
7469        },
7470        relativeTime : {
7471            future : "за %s",
7472            past   : "пре %s",
7473            s      : "неколико секунди",
7474            m      : translator.translate,
7475            mm     : translator.translate,
7476            h      : translator.translate,
7477            hh     : translator.translate,
7478            d      : "дан",
7479            dd     : translator.translate,
7480            M      : "месец",
7481            MM     : translator.translate,
7482            y      : "годину",
7483            yy     : translator.translate
7484        },
7485        ordinal : '%d.',
7486        week : {
7487            dow : 1, // Monday is the first day of the week.
7488            doy : 7  // The week that contains Jan 1st is the first week of the year.
7489        }
7490    });
7491}));
7492// moment.js language configuration
7493// language : Serbian-latin (sr)
7494// author : Milan Janačković<[email protected]> : https://github.com/milan-j
7495
7496(function (factory) {
7497    factory(moment);
7498}(function (moment) {
7499
7500    var translator = {
7501        words: { //Different grammatical cases
7502            m: ['jedan minut', 'jedne minute'],
7503            mm: ['minut', 'minute', 'minuta'],
7504            h: ['jedan sat', 'jednog sata'],
7505            hh: ['sat', 'sata', 'sati'],
7506            dd: ['dan', 'dana', 'dana'],
7507            MM: ['mesec', 'meseca', 'meseci'],
7508            yy: ['godina', 'godine', 'godina']
7509        },
7510        correctGrammaticalCase: function (number, wordKey) {
7511            return number === 1 ? wordKey[0] : (number >= 2 && number <= 4 ? wordKey[1] : wordKey[2]);
7512        },
7513        translate: function (number, withoutSuffix, key) {
7514            var wordKey = translator.words[key];
7515            if (key.length === 1) {
7516                return withoutSuffix ? wordKey[0] : wordKey[1];
7517            } else {
7518                return number + ' ' + translator.correctGrammaticalCase(number, wordKey);
7519            }
7520        }
7521    };
7522
7523    return moment.lang('sr', {
7524        months: ['januar', 'februar', 'mart', 'april', 'maj', 'jun', 'jul', 'avgust', 'septembar', 'oktobar', 'novembar', 'decembar'],
7525        monthsShort: ['jan.', 'feb.', 'mar.', 'apr.', 'maj', 'jun', 'jul', 'avg.', 'sep.', 'okt.', 'nov.', 'dec.'],
7526        weekdays: ['nedelja', 'ponedeljak', 'utorak', 'sreda', 'četvrtak', 'petak', 'subota'],
7527        weekdaysShort: ['ned.', 'pon.', 'uto.', 'sre.', 'čet.', 'pet.', 'sub.'],
7528        weekdaysMin: ['ne', 'po', 'ut', 'sr', 'če', 'pe', 'su'],
7529        longDateFormat: {
7530            LT: "H:mm",
7531            L: "DD. MM. YYYY",
7532            LL: "D. MMMM YYYY",
7533            LLL: "D. MMMM YYYY LT",
7534            LLLL: "dddd, D. MMMM YYYY LT"
7535        },
7536        calendar: {
7537            sameDay: '[danas u] LT',
7538            nextDay: '[sutra u] LT',
7539
7540            nextWeek: function () {
7541                switch (this.day()) {
7542                case 0:
7543                    return '[u] [nedelju] [u] LT';
7544                case 3:
7545                    return '[u] [sredu] [u] LT';
7546                case 6:
7547                    return '[u] [subotu] [u] LT';
7548                case 1:
7549                case 2:
7550                case 4:
7551                case 5:
7552                    return '[u] dddd [u] LT';
7553                }
7554            },
7555            lastDay  : '[juče u] LT',
7556            lastWeek : function () {
7557                var lastWeekDays = [
7558                    '[prošle] [nedelje] [u] LT',
7559                    '[prošlog] [ponedeljka] [u] LT',
7560                    '[prošlog] [utorka] [u] LT',
7561                    '[prošle] [srede] [u] LT',
7562                    '[prošlog] [četvrtka] [u] LT',
7563                    '[prošlog] [petka] [u] LT',
7564                    '[prošle] [subote] [u] LT'
7565                ];
7566                return lastWeekDays[this.day()];
7567            },
7568            sameElse : 'L'
7569        },
7570        relativeTime : {
7571            future : "za %s",
7572            past   : "pre %s",
7573            s      : "nekoliko sekundi",
7574            m      : translator.translate,
7575            mm     : translator.translate,
7576            h      : translator.translate,
7577            hh     : translator.translate,
7578            d      : "dan",
7579            dd     : translator.translate,
7580            M      : "mesec",
7581            MM     : translator.translate,
7582            y      : "godinu",
7583            yy     : translator.translate
7584        },
7585        ordinal : '%d.',
7586        week : {
7587            dow : 1, // Monday is the first day of the week.
7588            doy : 7  // The week that contains Jan 1st is the first week of the year.
7589        }
7590    });
7591}));
7592// moment.js language configuration
7593// language : swedish (sv)
7594// author : Jens Alm : https://github.com/ulmus
7595
7596(function (factory) {
7597    factory(moment);
7598}(function (moment) {
7599    return moment.lang('sv', {
7600        months : "januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),
7601        monthsShort : "jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),
7602        weekdays : "söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),
7603        weekdaysShort : "sön_mån_tis_ons_tor_fre_lör".split("_"),
7604        weekdaysMin : "sö_må_ti_on_to_fr_lö".split("_"),
7605        longDateFormat : {
7606            LT : "HH:mm",
7607            L : "YYYY-MM-DD",
7608            LL : "D MMMM YYYY",
7609            LLL : "D MMMM YYYY LT",
7610            LLLL : "dddd D MMMM YYYY LT"
7611        },
7612        calendar : {
7613            sameDay: '[Idag] LT',
7614            nextDay: '[Imorgon] LT',
7615            lastDay: '[Igår] LT',
7616            nextWeek: 'dddd LT',
7617            lastWeek: '[Förra] dddd[en] LT',
7618            sameElse: 'L'
7619        },
7620        relativeTime : {
7621            future : "om %s",
7622            past : "för %s sedan",
7623            s : "några sekunder",
7624            m : "en minut",
7625            mm : "%d minuter",
7626            h : "en timme",
7627            hh : "%d timmar",
7628            d : "en dag",
7629            dd : "%d dagar",
7630            M : "en månad",
7631            MM : "%d månader",
7632            y : "ett år",
7633            yy : "%d år"
7634        },
7635        ordinal : function (number) {
7636            var b = number % 10,
7637                output = (~~ (number % 100 / 10) === 1) ? 'e' :
7638                (b === 1) ? 'a' :
7639                (b === 2) ? 'a' :
7640                (b === 3) ? 'e' : 'e';
7641            return number + output;
7642        },
7643        week : {
7644            dow : 1, // Monday is the first day of the week.
7645            doy : 4  // The week that contains Jan 4th is the first week of the year.
7646        }
7647    });
7648}));
7649// moment.js language configuration
7650// language : tamil (ta)
7651// author : Arjunkumar Krishnamoorthy : https://github.com/tk120404
7652
7653(function (factory) {
7654    factory(moment);
7655}(function (moment) {
7656    /*var symbolMap = {
7657            '1': '௧',
7658            '2': '௨',
7659            '3': '௩',
7660            '4': '௪',
7661            '5': '௫',
7662            '6': '௬',
7663            '7': '௭',
7664            '8': '௮',
7665            '9': '௯',
7666            '0': '௦'
7667        },
7668        numberMap = {
7669            '௧': '1',
7670            '௨': '2',
7671            '௩': '3',
7672            '௪': '4',
7673            '௫': '5',
7674            '௬': '6',
7675            '௭': '7',
7676            '௮': '8',
7677            '௯': '9',
7678            '௦': '0'
7679        }; */
7680
7681    return moment.lang('ta', {
7682        months : 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்ப
7682ர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split("_"),
7683        monthsShort : 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split("_"),
7684        weekdays : 'ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை'.split("_"),
7685        weekdaysShort : 'ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி'.split("_"),
7686        weekdaysMin : 'ஞா_தி_செ_பு_வி_வெ_ச'.split("_"),
7687        longDateFormat : {
7688            LT : "HH:mm",
7689            L : "DD/MM/YYYY",
7690            LL : "D MMMM YYYY",
7691            LLL : "D MMMM YYYY, LT",
7692            LLLL : "dddd, D MMMM YYYY, LT"
7693        },
7694        calendar : {
7695            sameDay : '[இன்று] LT',
7696            nextDay : '[நாளை] LT',
7697            nextWeek : 'dddd, LT',
7698            lastDay : '[நேற்று] LT',
7699            lastWeek : '[கடந்த வாரம்] dddd, LT',
7700            sameElse : 'L'
7701        },
7702        relativeTime : {
7703            future : "%s இல்",
7704            past : "%s முன்",
7705            s : "ஒரு சில விநாடிகள்",
7706            m : "ஒரு நிமிடம்",
7707            mm : "%d நிமிடங்கள்",
7708            h : "ஒரு மணி நேரம்",
7709            hh : "%d மணி நேரம்",
7710            d : "ஒரு நாள்",
7711            dd : "%d நாட்கள்",
7712            M : "ஒரு மாதம்",
7713            MM : "%d மாதங்கள்",
7714            y : "ஒரு வருடம்",
7715            yy : "%d ஆண்டுகள்"
7716        },
7717/*        preparse: function (string) {
7718            return string.replace(/[௧௨௩௪௫௬௭௮௯௦]/g, function (match) {
7719                return numberMap[match];
7720            });
7721        },
7722        postformat: function (string) {
7723            return string.replace(/\d/g, function (match) {
7724                return symbolMap[match];
7725            });
7726        },*/
7727        ordinal : function (number) {
7728            return number + 'வது';
7729        },
7730
7731
7732// refer http://ta.wikipedia.org/s/1er1      
7733
7734        meridiem : function (hour, minute, isLower) {
7735            if (hour >= 6 && hour <= 10) {
7736                return " காலை";
7737            } else   if (hour >= 10 && hour <= 14) {
7738                return " நண்பகல்";
7739            } else    if (hour >= 14 && hour <= 18) {
7740                return " எற்பாடு";
7741            } else   if (hour >= 18 && hour <= 20) {
7742                return " மாலை";
7743            } else  if (hour >= 20 && hour <= 24) {
7744                return " இரவு";
7745            } else  if (hour >= 0 && hour <= 6) {
7746                return " வைகறை";
7747            }
7748        },
7749        week : {
7750            dow : 0, // Sunday is the first day of the week.
7751            doy : 6  // The week that contains Jan 1st is the first week of the year.
7752        }
7753    });
7754}));
7755// moment.js language configuration
7756// language : thai (th)
7757// author : Kridsada Thanabulpong : https://github.com/sirn
7758
7759(function (factory) {
7760    factory(moment);
7761}(function (moment) {
7762    return moment.lang('th', {
7763        months : "มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),
7764        monthsShort : "มกรา_กุมภา_มีนา_เมษา_พฤษภา_มิถุนา_กรกฎา_สิงหา_กันยา_ตุลา_พฤศจิกา_ธ
7764ันวา".split("_"),
7765        weekdays : "อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),
7766        weekdaysShort : "อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"), // yes, three characters difference
7767        weekdaysMin : "อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),
7768        longDateFormat : {
7769            LT : "H นาฬิกา m นาที",
7770            L : "YYYY/MM/DD",
7771            LL : "D MMMM YYYY",
7772            LLL : "D MMMM YYYY เวลา LT",
7773            LLLL : "วันddddที่ D MMMM YYYY เวลา LT"
7774        },
7775        meridiem : function (hour, minute, isLower) {
7776            if (hour < 12) {
7777                return "ก่อนเที่ยง";
7778            } else {
7779                return "หลังเที่ยง";
7780            }
7781        },
7782        calendar : {
7783            sameDay : '[วันนี้ เวลา] LT',
7784            nextDay : '[พรุ่งนี้ เวลา] LT',
7785            nextWeek : 'dddd[หน้า เวลา] LT',
7786            lastDay : '[เมื่อวานนี้ เวลา] LT',
7787            lastWeek : '[วัน]dddd[ที่แล้ว เวลา] LT',
7788            sameElse : 'L'
7789        },
7790        relativeTime : {
7791            future : "อีก %s",
7792            past : "%sที่แล้ว",
7793            s : "ไม่กี่วินาที",
7794            m : "1 นาที",
7795            mm : "%d นาที",
7796            h : "1 ชั่วโมง",
7797            hh : "%d ชั่วโมง",
7798            d : "1 วัน",
7799            dd : "%d วัน",
7800            M : "1 เดือน",
7801            MM : "%d เดือน",
7802            y : "1 ปี",
7803            yy : "%d ปี"
7804        }
7805    });
7806}));
7807// moment.js language configuration
7808// language : Tagalog/Filipino (tl-ph)
7809// author : Dan Hagman
7810
7811(function (factory) {
7812    factory(moment);
7813}(function (moment) {
7814    return moment.lang('tl-ph', {
7815        months : "Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),
7816        monthsShort : "Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),
7817        weekdays : "Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),
7818        weekdaysShort : "Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),
7819        weekdaysMin : "Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),
7820        longDateFormat : {
7821            LT : "HH:mm",
7822            L : "MM/D/YYYY",
7823            LL : "MMMM D, YYYY",
7824            LLL : "MMMM D, YYYY LT",
7825            LLLL : "dddd, MMMM DD, YYYY LT"
7826        },
7827        calendar : {
7828            sameDay: "[Ngayon sa] LT",
7829            nextDay: '[Bukas sa] LT',
7830            nextWeek: 'dddd [sa] LT',
7831            lastDay: '[Kahapon sa] LT',
7832            lastWeek: 'dddd [huling linggo] LT',
7833            sameElse: 'L'
7834        },
7835        relativeTime : {
7836            future : "sa loob ng %s",
7837            past : "%s ang nakalipas",
7838            s : "ilang segundo",
7839            m : "isang minuto",
7840            mm : "%d minuto",
7841            h : "isang oras",
7842            hh : "%d oras",
7843            d : "isang araw",
7844            dd : "%d araw",
7845            M : "isang buwan",
7846            MM : "%d buwan",
7847            y : "isang taon",
7848            yy : "%d taon"
7849        },
7850        ordinal : function (number) {
7851            return number;
7852        },
7853        week : {
7854            dow : 1, // Monday is the first day of the week.
7855            doy : 4  // The week that contains Jan 4th is the first week of the year.
7856        }
7857    });
7858}));
7859// moment.js language configuration
7860// language : turkish (tr)
7861// authors : Erhan Gundogan : https://github.com/erhangundogan,
7862//           Burak Yiğit Kaya: https://github.com/BYK
7863
7864(function (factory) {
7865    factory(moment);
7866}(function (moment) {
7867
7868    var suffixes = {
7869        1: "'inci",
7870        5: "'inci",
7871        8: "'inci",
7872        70: "'inci",
7873        80: "'inci",
7874
7875        2: "'nci",
7876        7: "'nci",
7877        20: "'nci",
7878        50: "'nci",
7879
7880        3: "'üncü",
7881        4: "'üncü",
7882        100: "'üncü",
7883
7884        6: "'ncı",
7885
7886        9: "'uncu",
7887        10: "'uncu",
7888        30: "'uncu",
7889
7890        60: "'ıncı",
7891        90: "'ıncı"
7892    };
7893
7894    return moment.lang('tr', {
7895        months : "Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),
7896        monthsShort : "Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),
7897        weekdays : "Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),
7898        weekdaysShort : "Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),
7899        weekdaysMin : "Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),
7900        longDateFormat : {
7901            LT : "HH:mm",
7902            L : "DD.MM.YYYY",
7903            LL : "D MMMM YYYY",
7904            LLL : "D MMMM YYYY LT",
7905            LLLL : "dddd, D MMMM YYYY LT"
7906        },
7907        calendar : {
7908            sameDay : '[bugün saat] LT',
7909            nextDay : '[yarın saat] LT',
7910            nextWeek : '[haftaya] dddd [saat] LT',
7911            lastDay : '[dün] LT',
7912            lastWeek : '[geçen hafta] dddd [saat] LT',
7913            sameElse : 'L'
7914        },
7915        relativeTime : {
7916            future : "%s sonra",
7917            past : "%s önce",
7918            s : "birkaç saniye",
7919            m : "bir dakika",
7920            mm : "%d dakika",
7921            h : "bir saat",
7922            hh : "%d saat",
7923            d : "bir gün",
7924            dd : "%d gün",
7925            M : "bir ay",
7926            MM : "%d ay",
7927            y : "bir yıl",
7928            yy : "%d yıl"
7929        },
7930        ordinal : function (number) {
7931            if (number === 0) {  // special case for zero
7932                return number + "'ıncı";
7933            }
7934            var a = number % 10,
7935                b = number % 100 - a,
7936                c = number >= 100 ? 100 : null;
7937
7938            return number + (suffixes[a] || suffixes[b] || suffixes[c]);
7939        },
7940        week : {
7941            dow : 1, // Monday is the first day of the week.
7942            doy : 7  // The week that contains Jan 1st is the first week of the year.
7943        }
7944    });
7945}));
7946// moment.js language configuration
7947// language : Morocco Central Atlas Tamaziɣt in Latin (tzm-latn)
7948// author : Abdel Said : https://github.com/abdelsaid
7949
7950(function (factory) {
7951    factory(moment);
7952}(function (moment) {
7953    return moment.lang('tzm-latn', {
vendor: 12,167 bytes, lines 7954-8253
7954        months : "innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),
7955        monthsShort : "innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),
7956        weekdays : "asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),
7957        weekdaysShort : "asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),
7958        weekdaysMin : "asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),
7959        longDateFormat : {
7960            LT : "HH:mm",
7961            L : "DD/MM/YYYY",
7962            LL : "D MMMM YYYY",
7963            LLL : "D MMMM YYYY LT",
7964            LLLL : "dddd D MMMM YYYY LT"
7965        },
7966        calendar : {
7967            sameDay: "[asdkh g] LT",
7968            nextDay: '[aska g] LT',
7969            nextWeek: 'dddd [g] LT',
7970            lastDay: '[assant g] LT',
7971            lastWeek: 'dddd [g] LT',
7972            sameElse: 'L'
7973        },
7974        relativeTime : {
7975            future : "dadkh s yan %s",
7976            past : "yan %s",
7977            s : "imik",
7978            m : "minuḍ",
7979            mm : "%d minuḍ",
7980            h : "saɛa",
7981            hh : "%d tassaɛin",
7982            d : "ass",
7983            dd : "%d ossan",
7984            M : "ayowr",
7985            MM : "%d iyyirn",
7986            y : "asgas",
7987            yy : "%d isgasn"
7988        },
7989        week : {
7990            dow : 6, // Saturday is the first day of the week.
7991            doy : 12  // The week that contains Jan 1st is the first week of the year.
7992        }
7993    });
7994}));
7995// moment.js language configuration
7996// language : Morocco Central Atlas Tamaziɣt (tzm)
7997// author : Abdel Said : https://github.com/abdelsaid
7998
7999(function (factory) {
8000    factory(moment);
8001}(function (moment) {
8002    return moment.lang('tzm', {
8003        months : "ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),
8004        monthsShort : "ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),
8005        weekdays : "ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),
8006        weekdaysShort : "ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),
8007        weekdaysMin : "ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),
8008        longDateFormat : {
8009            LT : "HH:mm",
8010            L : "DD/MM/YYYY",
8011            LL : "D MMMM YYYY",
8012            LLL : "D MMMM YYYY LT",
8013            LLLL : "dddd D MMMM YYYY LT"
8014        },
8015        calendar : {
8016            sameDay: "[ⴰⵙⴷⵅ ⴴ] LT",
8017            nextDay: '[ⴰⵙⴽⴰ ⴴ] LT',
8018            nextWeek: 'dddd [â´´] LT',
8019            lastDay: '[ⴰⵚⴰⵏⵜ ⴴ] LT',
8020            lastWeek: 'dddd [â´´] LT',
8021            sameElse: 'L'
8022        },
8023        relativeTime : {
8024            future : "ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",
8025            past : "ⵢⴰⵏ %s",
8026            s : "ⵉⵎⵉⴽ",
8027            m : "ⵎⵉⵏⵓⴺ",
8028            mm : "%d ⵎⵉⵏⵓⴺ",
8029            h : "ⵙⴰⵄⴰ",
8030            hh : "%d ⵜⴰⵙⵙⴰⵄⵉⵏ",
8031            d : "ⴰⵙⵙ",
8032            dd : "%d oⵙⵙⴰⵏ",
8033            M : "ⴰⵢoⵓⵔ",
8034            MM : "%d ⵉⵢⵢⵉⵔⵏ",
8035            y : "ⴰⵙⴳⴰⵙ",
8036            yy : "%d ⵉⵙⴳⴰⵙⵏ"
8037        },
8038        week : {
8039            dow : 6, // Saturday is the first day of the week.
8040            doy : 12  // The week that contains Jan 1st is the first week of the year.
8041        }
8042    });
8043}));
8044// moment.js language configuration
8045// language : ukrainian (uk)
8046// author : zemlanin : https://github.com/zemlanin
8047// Author : Menelion Elensúle : https://github.com/Oire
8048
8049(function (factory) {
8050    factory(moment);
8051}(function (moment) {
8052    function plural(word, num) {
8053        var forms = word.split('_');
8054        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]);
8055    }
8056
8057    function relativeTimeWithPlural(number, withoutSuffix, key) {
8058        var format = {
8059            'mm': 'хвилина_хвилини_хвилин',
8060            'hh': 'година_години_годин',
8061            'dd': 'день_дні_днів',
8062            'MM': 'місяць_місяці_місяців',
8063            'yy': 'рік_роки_років'
8064        };
8065        if (key === 'm') {
8066            return withoutSuffix ? 'хвилина' : 'хвилину';
8067        }
8068        else if (key === 'h') {
8069            return withoutSuffix ? 'година' : 'годину';
8070        }
8071        else {
8072            return number + ' ' + plural(format[key], +number);
8073        }
8074    }
8075
8076    function monthsCaseReplace(m, format) {
8077        var months = {
8078            'nominative': 'січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень'.split('_'),
8079            'accusative': 'січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня'.split('_')
8080        },
8081
8082        nounCase = (/D[oD]? *MMMM?/).test(format) ?
8083            'accusative' :
8084            'nominative';
8085
8086        return months[nounCase][m.month()];
8087    }
8088
8089    function weekdaysCaseReplace(m, format) {
8090        var weekdays = {
8091            'nominative': 'неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота'.split('_'),
8092            'accusative': 'неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу'.split('_'),
8093            'genitive': 'неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи'.split('_')
8094        },
8095
8096        nounCase = (/(\[[ВвУу]\]) ?dddd/).test(format) ?
8097            'accusative' :
8098            ((/\[?(?:минулої|наступної)? ?\] ?dddd/).test(format) ?
8099                'genitive' :
8100                'nominative');
8101
8102        return weekdays[nounCase][m.day()];
8103    }
8104
8105    function processHoursFunction(str) {
8106        return function () {
8107            return str + 'о' + (this.hours() === 11 ? 'б' : '') + '] LT';
8108        };
8109    }
8110
8111    return moment.lang('uk', {
8112        months : monthsCaseReplace,
8113        monthsShort : "січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),
8114        weekdays : weekdaysCaseReplace,
8115        weekdaysShort : "нд_пн_вт_ср_чт_пт_сб".split("_"),
8116        weekdaysMin : "нд_пн_вт_ср_чт_пт_сб".split("_"),
8117        longDateFormat : {
8118            LT : "HH:mm",
8119            L : "DD.MM.YYYY",
8120            LL : "D MMMM YYYY р.",
8121            LLL : "D MMMM YYYY р., LT",
8122            LLLL : "dddd, D MMMM YYYY р., LT"
8123        },
8124        calendar : {
8125            sameDay: processHoursFunction('[Сьогодні '),
8126            nextDay: processHoursFunction('[Завтра '),
8127            lastDay: processHoursFunction('[Вчора '),
8128            nextWeek: processHoursFunction('[У] dddd ['),
8129            lastWeek: function () {
8130                switch (this.day()) {
8131                case 0:
8132                case 3:
8133                case 5:
8134                case 6:
8135                    return processHoursFunction('[Минулої] dddd [').call(this);
8136                case 1:
8137                case 2:
8138                case 4:
8139                    return processHoursFunction('[Минулого] dddd [').call(this);
8140                }
8141            },
8142            sameElse: 'L'
8143        },
8144        relativeTime : {
8145            future : "за %s",
8146            past : "%s тому",
8147            s : "декілька секунд",
8148            m : relativeTimeWithPlural,
8149            mm : relativeTimeWithPlural,
8150            h : "годину",
8151            hh : relativeTimeWithPlural,
8152            d : "день",
8153            dd : relativeTimeWithPlural,
8154            M : "місяць",
8155            MM : relativeTimeWithPlural,
8156            y : "рік",
8157            yy : relativeTimeWithPlural
8158        },
8159
8160        // M. E.: those two are virtually unused but a user might want to implement them for his/her website for some reason
8161
8162        meridiem : function (hour, minute, isLower) {
8163            if (hour < 4) {
8164                return "ночі";
8165            } else if (hour < 12) {
8166                return "ранку";
8167            } else if (hour < 17) {
8168                return "дня";
8169            } else {
8170                return "вечора";
8171            }
8172        },
8173
8174        ordinal: function (number, period) {
8175            switch (period) {
8176            case 'M':
8177            case 'd':
8178            case 'DDD':
8179            case 'w':
8180            case 'W':
8181                return number + '-й';
8182            case 'D':
8183                return number + '-го';
8184            default:
8185                return number;
8186            }
8187        },
8188
8189        week : {
8190            dow : 1, // Monday is the first day of the week.
8191            doy : 7  // The week that contains Jan 1st is the first week of the year.
8192        }
8193    });
8194}));
8195// moment.js language configuration
8196// language : uzbek
8197// author : Sardor Muminov : https://github.com/muminoff
8198
8199(function (factory) {
8200    factory(moment);
8201}(function (moment) {
8202    return moment.lang('uz', {
8203        months : "январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),
8204        monthsShort : "янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),
8205        weekdays : "Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),
8206        weekdaysShort : "Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),
8207        weekdaysMin : "Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),
8208        longDateFormat : {
8209            LT : "HH:mm",
8210            L : "DD/MM/YYYY",
8211            LL : "D MMMM YYYY",
8212            LLL : "D MMMM YYYY LT",
8213            LLLL : "D MMMM YYYY, dddd LT"
8214        },
8215        calendar : {
8216            sameDay : '[Бугун соат] LT [да]',
8217            nextDay : '[Эртага] LT [да]',
8218            nextWeek : 'dddd [куни соат] LT [да]',
8219            lastDay : '[Кеча соат] LT [да]',
8220            lastWeek : '[Утган] dddd [куни соат] LT [да]',
8221            sameElse : 'L'
8222        },
8223        relativeTime : {
8224            future : "Якин %s ичида",
8225            past : "Бир неча %s олдин",
8226            s : "фурсат",
8227            m : "бир дакика",
8228            mm : "%d дакика",
8229            h : "бир соат",
8230            hh : "%d соат",
8231            d : "бир кун",
8232            dd : "%d кун",
8233            M : "бир ой",
8234            MM : "%d ой",
8235            y : "бир йил",
8236            yy : "%d йил"
8237        },
8238        week : {
8239            dow : 1, // Monday is the first day of the week.
8240            doy : 7  // The week that contains Jan 4th is the first week of the year.
8241        }
8242    });
8243}));
8244// moment.js language configuration
8245// language : vietnamese (vi)
8246// author : Bang Nguyen : https://github.com/bangnk
8247
8248(function (factory) {
8249    factory(moment);
8250}(function (moment) {
8251    return moment.lang('vi', {
8252        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("_"),
8253        monthsShort : "Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),
8254        weekdays : "chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),
8255        weekdaysShort : "CN_T2_T3_T4_T5_T6_T7".split("_"),
8256        weekdaysMin : "CN_T2_T3_T4_T5_T6_T7".split("_"),
8257        longDateFormat : {
8258            LT : "HH:mm",
8259            L : "DD/MM/YYYY",
8260            LL : "D MMMM [năm] YYYY",
8261            LLL : "D MMMM [năm] YYYY LT",
8262            LLLL : "dddd, D MMMM [năm] YYYY LT",
8263            l : "DD/M/YYYY",
8264            ll : "D MMM YYYY",
8265            lll : "D MMM YYYY LT",
8266            llll : "ddd, D MMM YYYY LT"
8267        },
8268        calendar : {
8269            sameDay: "[Hôm nay lúc] LT",
8270            nextDay: '[Ngày mai lúc] LT',
8271            nextWeek: 'dddd [tuần tới lúc] LT',
8272            lastDay: '[Hôm qua lúc] LT',
8273            lastWeek: 'dddd [tuần rồi lúc] LT',
8274            sameElse: 'L'
8275        },
8276        relativeTime : {
8277            future : "%s tới",
8278            past : "%s trước",
8279            s : "vài giây",
8280            m : "một phút",
8281            mm : "%d phút",
8282            h : "một giờ",
8283            hh : "%d giờ",
8284            d : "một ngày",
8285            dd : "%d ngày",
8286            M : "một tháng",
8287            MM : "%d tháng",
8288            y : "một năm",
8289            yy : "%d năm"
8290        },
8291        ordinal : function (number) {
8292            return number;
8293        },
8294        week : {
8295            dow : 1, // Monday is the first day of the week.
8296            doy : 4  // The week that contains Jan 4th is the first week of the year.
8297        }
8298    });
8299}));
8300// moment.js language configuration
8301// language : chinese
8302// author : suupic : https://github.com/suupic
8303// author : Zeno Zeng : https://github.com/zenozeng
8304
8305(function (factory) {
8306    factory(moment);
8307}(function (moment) {
8308    return moment.lang('zh-cn', {
8309        months : "一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),
8310        monthsShort : "1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),
8311        weekdays : "星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),
8312        weekdaysShort : "周日_周一_周二_周三_周四_周五_周六".split("_"),
8313        weekdaysMin : "日_一_二_三_四_五_六".split("_"),
8314        longDateFormat : {
8315            LT : "Ah点mm",
8316            L : "YYYY-MM-DD",
8317            LL : "YYYY年MMMD日",
8318            LLL : "YYYY年MMMD日LT",
8319            LLLL : "YYYY年MMMD日ddddLT",
8320            l : "YYYY-MM-DD",
8321            ll : "YYYY年MMMD日",
8322            lll : "YYYY年MMMD日LT",
8323            llll : "YYYY年MMMD日ddddLT"
8324        },
8325        meridiem : function (hour, minute, isLower) {
8326            var hm = hour * 100 + minute;
8327            if (hm < 600) {
8328                return "凌晨";
8329            } else if (hm < 900) {
8330                return "早上";
8331            } else if (hm < 1130) {
8332                return "上午";
8333            } else if (hm < 1230) {
8334                return "中午";
8335            } else if (hm < 1800) {
8336                return "下午";
8337            } else {
8338                return "晚上";
8339            }
8340        },
8341        calendar : {
8342            sameDay : function () {
8343                return this.minutes() === 0 ? "[今天]Ah[点整]" : "[今天]LT";
8344            },
8345            nextDay : function () {
8346                return this.minutes() === 0 ? "[明天]Ah[点整]" : "[明天]LT";
8347            },
8348            lastDay : function () {
8349                return this.minutes() === 0 ? "[昨天]Ah[点整]" : "[昨天]LT";
8350            },
8351            nextWeek : function () {
8352                var startOfWeek, prefix;
8353                startOfWeek = moment().startOf('week');
8354                prefix = this.unix() - startOfWeek.unix() >= 7 * 24 * 3600 ? '[下]' : '[本]';
8355                return this.minutes() === 0 ? prefix + "dddAh点整" : prefix + "dddAh点mm";
8356            },
8357            lastWeek : function () {
8358                var startOfWeek, prefix;
8359                startOfWeek = moment().startOf('week');
8360                prefix = this.unix() < startOfWeek.unix()  ? '[上]' : '[本]';
8361                return this.minutes() === 0 ? prefix + "dddAh点整" : prefix + "dddAh点mm";
8362            },
8363            sameElse : 'LL'
8364        },
8365        ordinal : function (number, period) {
8366            switch (period) {
8367            case "d":
8368            case "D":
8369            case "DDD":
8370                return number + "日";
8371            case "M":
8372                return number + "月";
8373            case "w":
8374            case "W":
8375                return number + "周";
8376            default:
8377                return number;
8378            }
8379        },
8380        relativeTime : {
8381            future : "%s内",
8382            past : "%s前",
8383            s : "几秒",
8384            m : "1分钟",
8385            mm : "%d分钟",
8386            h : "1小时",
8387            hh : "%d小时",
8388            d : "1天",
8389            dd : "%d天",
8390            M : "1个月",
8391            MM : "%d个月",
8392            y : "1å¹´",
8393            yy : "%då¹´"
8394        },
8395        week : {
8396            // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效
8397            dow : 1, // Monday is the first day of the week.
8398            doy : 4  // The week that contains Jan 4th is the first week of the year.
8399        }
8400    });
8401}));
8402// moment.js language configuration
8403// language : traditional chinese (zh-tw)
8404// author : Ben : https://github.com/ben-lin
8405
8406(function (factory) {
8407    factory(moment);
8408}(function (moment) {
8409    return moment.lang('zh-tw', {
8410        months : "一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),
8411        monthsShort : "1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),
8412        weekdays : "星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),
8413        weekdaysShort : "週日_週一_週二_週三_週四_週五_週六".split("_"),
8414        weekdaysMin : "日_一_二_三_四_五_六".split("_"),
8415        longDateFormat : {
8416            LT : "Ah點mm",
8417            L : "YYYY年MMMD日",
8418            LL : "YYYY年MMMD日",
8419            LLL : "YYYY年MMMD日LT",
8420            LLLL : "YYYY年MMMD日ddddLT",
8421            l : "YYYY年MMMD日",
8422            ll : "YYYY年MMMD日",
8423            lll : "YYYY年MMMD日LT",
8424            llll : "YYYY年MMMD日ddddLT"
8425        },
8426        meridiem : function (hour, minute, isLower) {
8427            var hm = hour * 100 + minute;
8428            if (hm < 900) {
8429                return "早上";
8430            } else if (hm < 1130) {
8431                return "上午";
8432            } else if (hm < 1230) {
8433                return "中午";
8434            } else if (hm < 1800) {
8435                return "下午";
8436            } else {
8437                return "晚上";
8438            }
8439        },
8440        calendar : {
8441            sameDay : '[今天]LT',
8442            nextDay : '[明天]LT',
8443            nextWeek : '[下]ddddLT',
8444            lastDay : '[昨天]LT',
8445            lastWeek : '[上]ddddLT',
8446            sameElse : 'L'
8447        },
8448        ordinal : function (number, period) {
8449            switch (period) {
8450            case "d" :
8451            case "D" :
8452            case "DDD" :
8453                return number + "日";
8454            case "M" :
8455                return number + "月";
8456            case "w" :
8457            case "W" :
8458                return number + "週";
8459            default :
8460                return number;
8461            }
8462        },
8463        relativeTime : {
8464            future : "%s內",
8465            past : "%s前",
8466            s : "幾秒",
8467            m : "一分鐘",
8468            mm : "%d分鐘",
8469            h : "一小時",
8470            hh : "%d小時",
8471            d : "一天",
8472            dd : "%d天",
8473            M : "一個月",
8474            MM : "%d個月",
8475            y : "一年",
8476            yy : "%då¹´"
8477        }
8478    });
8479}));
8480
8481    moment.lang('en');
8482
8483
8484    /************************************
8485        Exposing Moment
8486    ************************************/
8487
8488    function makeGlobal(shouldDeprecate) {
8489        /*global ender:false */
8490        if (typeof ender !== 'undefined') {
8491            return;
8492        }
8493        oldGlobalMoment = globalScope.moment;
8494        if (shouldDeprecate) {
8495            globalScope.moment = deprecate(
8496                    "Accessing Moment through the global scope is " +
8497                    "deprecated, and will be removed in an upcoming " +
8498                    "release.",
8499                    moment);
8500        } else {
8501            globalScope.moment = moment;
8502        }
8503    }
8504
8505    // CommonJS module is defined
8506    if (hasModule) {
8507        module.exports = moment;
8508    } else if (typeof define === "function" && define.amd) {
8509        define("moment", function (require, exports, module) {
8510            if (module.config && module.config() && module.config().noGlobal === true) {
8511                // release the global variable
8512                globalScope.moment = oldGlobalMoment;
8513            }
8514
8515            return moment;
8516        });
8517        makeGlobal(true);
8518    } else {
8519        makeGlobal();
8520    }
8521}
8521).call(this);

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.