Build 2.19.0
Iskren Chernev
6 years ago
15 | 15 | "locale/az.js", |
16 | 16 | "locale/be.js", |
17 | 17 | "locale/bg.js", |
18 | "locale/bm.js", | |
18 | 19 | "locale/bn.js", |
19 | 20 | "locale/bo.js", |
20 | 21 | "locale/br.js", |
36 | 37 | "locale/en-nz.js", |
37 | 38 | "locale/eo.js", |
38 | 39 | "locale/es-do.js", |
40 | "locale/es-us.js", | |
39 | 41 | "locale/es.js", |
40 | 42 | "locale/et.js", |
41 | 43 | "locale/eu.js", |
49 | 51 | "locale/gd.js", |
50 | 52 | "locale/gl.js", |
51 | 53 | "locale/gom-latn.js", |
54 | "locale/gu.js", | |
52 | 55 | "locale/he.js", |
53 | 56 | "locale/hi.js", |
54 | 57 | "locale/hr.js", |
107 | 107 | yy : pluralize('y') |
108 | 108 | }, |
109 | 109 | preparse: function (string) { |
110 | return string.replace(/\u200f/g, '').replace(/،/g, ','); | |
110 | return string.replace(/،/g, ','); | |
111 | 111 | }, |
112 | 112 | postformat: function (string) { |
113 | 113 | return string.replace(/\d/g, function (match) { |
121 | 121 | yy : pluralize('y') |
122 | 122 | }, |
123 | 123 | preparse: function (string) { |
124 | return string.replace(/\u200f/g, '').replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) { | |
124 | return string.replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) { | |
125 | 125 | return numberMap[match]; |
126 | 126 | }).replace(/،/g, ','); |
127 | 127 | }, |
0 | //! moment.js locale configuration | |
1 | //! locale : Bambara [bm] | |
2 | //! author : Estelle Comment : https://github.com/estellecomment | |
3 | ||
4 | ;(function (global, factory) { | |
5 | typeof exports === 'object' && typeof module !== 'undefined' | |
6 | && typeof require === 'function' ? factory(require('../moment')) : | |
7 | typeof define === 'function' && define.amd ? define(['../moment'], factory) : | |
8 | factory(global.moment) | |
9 | }(this, (function (moment) { 'use strict'; | |
10 | ||
11 | // Language contact person : Abdoufata Kane : https://github.com/abdoufata | |
12 | ||
13 | var bm = moment.defineLocale('bm', { | |
14 | months : 'Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo'.split('_'), | |
15 | monthsShort : 'Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des'.split('_'), | |
16 | weekdays : 'Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri'.split('_'), | |
17 | weekdaysShort : 'Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib'.split('_'), | |
18 | weekdaysMin : 'Ka_Nt_Ta_Ar_Al_Ju_Si'.split('_'), | |
19 | longDateFormat : { | |
20 | LT : 'HH:mm', | |
21 | LTS : 'HH:mm:ss', | |
22 | L : 'DD/MM/YYYY', | |
23 | LL : 'MMMM [tile] D [san] YYYY', | |
24 | LLL : 'MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm', | |
25 | LLLL : 'dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm' | |
26 | }, | |
27 | calendar : { | |
28 | sameDay : '[Bi lɛrɛ] LT', | |
29 | nextDay : '[Sini lɛrɛ] LT', | |
30 | nextWeek : 'dddd [don lɛrɛ] LT', | |
31 | lastDay : '[Kunu lɛrɛ] LT', | |
32 | lastWeek : 'dddd [tɛmɛnen lɛrɛ] LT', | |
33 | sameElse : 'L' | |
34 | }, | |
35 | relativeTime : { | |
36 | future : '%s kɔnɔ', | |
37 | past : 'a bɛ %s bɔ', | |
38 | s : 'sanga dama dama', | |
39 | m : 'miniti kelen', | |
40 | mm : 'miniti %d', | |
41 | h : 'lɛrɛ kelen', | |
42 | hh : 'lɛrɛ %d', | |
43 | d : 'tile kelen', | |
44 | dd : 'tile %d', | |
45 | M : 'kalo kelen', | |
46 | MM : 'kalo %d', | |
47 | y : 'san kelen', | |
48 | yy : 'san %d' | |
49 | }, | |
50 | week : { | |
51 | dow : 1, // Monday is the first day of the week. | |
52 | doy : 4 // The week that contains Jan 4th is the first week of the year. | |
53 | } | |
54 | }); | |
55 | ||
56 | return bm; | |
57 | ||
58 | }))); |
19 | 19 | monthsParseExact : true, |
20 | 20 | weekdays : 'diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte'.split('_'), |
21 | 21 | weekdaysShort : 'dg._dl._dt._dc._dj._dv._ds.'.split('_'), |
22 | weekdaysMin : 'Dg_Dl_Dt_Dc_Dj_Dv_Ds'.split('_'), | |
22 | weekdaysMin : 'dg_dl_dt_dc_dj_dv_ds'.split('_'), | |
23 | 23 | weekdaysParseExact : true, |
24 | 24 | longDateFormat : { |
25 | 25 | LT : 'H:mm', |
26 | 26 | LTS : 'H:mm:ss', |
27 | 27 | L : 'DD/MM/YYYY', |
28 | LL : '[el] D MMMM [de] YYYY', | |
28 | LL : 'D MMMM [de] YYYY', | |
29 | 29 | ll : 'D MMM YYYY', |
30 | LLL : '[el] D MMMM [de] YYYY [a les] H:mm', | |
30 | LLL : 'D MMMM [de] YYYY [a les] H:mm', | |
31 | 31 | lll : 'D MMM YYYY, H:mm', |
32 | LLLL : '[el] dddd D MMMM [de] YYYY [a les] H:mm', | |
32 | LLLL : 'dddd D MMMM [de] YYYY [a les] H:mm', | |
33 | 33 | llll : 'ddd D MMM YYYY, H:mm' |
34 | 34 | }, |
35 | 35 | calendar : { |
18 | 18 | longDateFormat : { |
19 | 19 | LT : 'HH:mm', |
20 | 20 | LTS : 'HH:mm:ss', |
21 | L : 'DD/MM/YYYY', | |
21 | L : 'DD.MM.YYYY', | |
22 | 22 | LL : 'D. MMMM YYYY', |
23 | 23 | LLL : 'D. MMMM YYYY HH:mm', |
24 | 24 | LLLL : 'dddd [d.] D. MMMM YYYY [kl.] HH:mm' |
28 | 28 | |
29 | 29 | var deAt = moment.defineLocale('de-at', { |
30 | 30 | months : 'Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'), |
31 | monthsShort : 'Jän._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split('_'), | |
31 | monthsShort : 'Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'), | |
32 | 32 | monthsParseExact : true, |
33 | 33 | weekdays : 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'), |
34 | 34 | weekdaysShort : 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'), |
27 | 27 | |
28 | 28 | var deCh = moment.defineLocale('de-ch', { |
29 | 29 | months : 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'), |
30 | monthsShort : 'Jan._Febr._März_April_Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.'.split('_'), | |
30 | monthsShort : 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'), | |
31 | 31 | monthsParseExact : true, |
32 | 32 | weekdays : 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'), |
33 | 33 | weekdaysShort : 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), |
27 | 27 | |
28 | 28 | var de = moment.defineLocale('de', { |
29 | 29 | months : 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'), |
30 | monthsShort : 'Jan._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split('_'), | |
30 | monthsShort : 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'), | |
31 | 31 | monthsParseExact : true, |
32 | 32 | weekdays : 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'), |
33 | 33 | weekdaysShort : 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'), |
19 | 19 | months : function (momentToFormat, format) { |
20 | 20 | if (!momentToFormat) { |
21 | 21 | return this._monthsNominativeEl; |
22 | } else if (/D/.test(format.substring(0, format.indexOf('MMMM')))) { // if there is a day number before 'MMMM' | |
22 | } else if (typeof format === 'string' && /D/.test(format.substring(0, format.indexOf('MMMM')))) { // if there is a day number before 'MMMM' | |
23 | 23 | return this._monthsGenitiveEl[momentToFormat.month()]; |
24 | 24 | } else { |
25 | 25 | return this._monthsNominativeEl[momentToFormat.month()]; |
11 | 11 | var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'); |
12 | 12 | var monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'); |
13 | 13 | |
14 | var monthsParse = [/^ene/i, /^feb/i, /^mar/i, /^abr/i, /^may/i, /^jun/i, /^jul/i, /^ago/i, /^sep/i, /^oct/i, /^nov/i, /^dic/i]; | |
15 | var monthsRegex = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i; | |
16 | ||
14 | 17 | var esDo = moment.defineLocale('es-do', { |
15 | 18 | months : 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'), |
16 | 19 | monthsShort : function (m, format) { |
22 | 25 | return monthsShortDot[m.month()]; |
23 | 26 | } |
24 | 27 | }, |
25 | monthsParseExact : true, | |
28 | monthsRegex: monthsRegex, | |
29 | monthsShortRegex: monthsRegex, | |
30 | monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i, | |
31 | monthsShortStrictRegex: /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i, | |
32 | monthsParse: monthsParse, | |
33 | longMonthsParse: monthsParse, | |
34 | shortMonthsParse: monthsParse, | |
26 | 35 | weekdays : 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), |
27 | 36 | weekdaysShort : 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), |
28 | 37 | weekdaysMin : 'do_lu_ma_mi_ju_vi_sá'.split('_'), |
0 | //! moment.js locale configuration | |
1 | //! locale : Spanish(United State) [es-us] | |
2 | //! author : bustta : https://github.com/bustta | |
3 | ||
4 | ;(function (global, factory) { | |
5 | typeof exports === 'object' && typeof module !== 'undefined' | |
6 | && typeof require === 'function' ? factory(require('../moment')) : | |
7 | typeof define === 'function' && define.amd ? define(['../moment'], factory) : | |
8 | factory(global.moment) | |
9 | }(this, (function (moment) { 'use strict'; | |
10 | ||
11 | ||
12 | var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'); | |
13 | var monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'); | |
14 | ||
15 | var esUs = moment.defineLocale('es-us', { | |
16 | months : 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'), | |
17 | monthsShort : function (m, format) { | |
18 | if (!m) { | |
19 | return monthsShortDot; | |
20 | } else if (/-MMM-/.test(format)) { | |
21 | return monthsShort[m.month()]; | |
22 | } else { | |
23 | return monthsShortDot[m.month()]; | |
24 | } | |
25 | }, | |
26 | monthsParseExact : true, | |
27 | weekdays : 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), | |
28 | weekdaysShort : 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), | |
29 | weekdaysMin : 'do_lu_ma_mi_ju_vi_sá'.split('_'), | |
30 | weekdaysParseExact : true, | |
31 | longDateFormat : { | |
32 | LT : 'H:mm', | |
33 | LTS : 'H:mm:ss', | |
34 | L : 'MM/DD/YYYY', | |
35 | LL : 'MMMM [de] D [de] YYYY', | |
36 | LLL : 'MMMM [de] D [de] YYYY H:mm', | |
37 | LLLL : 'dddd, MMMM [de] D [de] YYYY H:mm' | |
38 | }, | |
39 | calendar : { | |
40 | sameDay : function () { | |
41 | return '[hoy a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; | |
42 | }, | |
43 | nextDay : function () { | |
44 | return '[mañana a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; | |
45 | }, | |
46 | nextWeek : function () { | |
47 | return 'dddd [a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; | |
48 | }, | |
49 | lastDay : function () { | |
50 | return '[ayer a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; | |
51 | }, | |
52 | lastWeek : function () { | |
53 | return '[el] dddd [pasado a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; | |
54 | }, | |
55 | sameElse : 'L' | |
56 | }, | |
57 | relativeTime : { | |
58 | future : 'en %s', | |
59 | past : 'hace %s', | |
60 | s : 'unos segundos', | |
61 | m : 'un minuto', | |
62 | mm : '%d minutos', | |
63 | h : 'una hora', | |
64 | hh : '%d horas', | |
65 | d : 'un día', | |
66 | dd : '%d días', | |
67 | M : 'un mes', | |
68 | MM : '%d meses', | |
69 | y : 'un año', | |
70 | yy : '%d años' | |
71 | }, | |
72 | dayOfMonthOrdinalParse : /\d{1,2}º/, | |
73 | ordinal : '%dº', | |
74 | week : { | |
75 | dow : 0, // Sunday is the first day of the week. | |
76 | doy : 6 // The week that contains Jan 1st is the first week of the year. | |
77 | } | |
78 | }); | |
79 | ||
80 | return esUs; | |
81 | ||
82 | }))); |
12 | 12 | var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'); |
13 | 13 | var monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'); |
14 | 14 | |
15 | var monthsParse = [/^ene/i, /^feb/i, /^mar/i, /^abr/i, /^may/i, /^jun/i, /^jul/i, /^ago/i, /^sep/i, /^oct/i, /^nov/i, /^dic/i]; | |
16 | var monthsRegex = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i; | |
17 | ||
15 | 18 | var es = moment.defineLocale('es', { |
16 | 19 | months : 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'), |
17 | 20 | monthsShort : function (m, format) { |
23 | 26 | return monthsShortDot[m.month()]; |
24 | 27 | } |
25 | 28 | }, |
26 | monthsParseExact : true, | |
29 | monthsRegex : monthsRegex, | |
30 | monthsShortRegex : monthsRegex, | |
31 | monthsStrictRegex : /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i, | |
32 | monthsShortStrictRegex : /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i, | |
33 | monthsParse : monthsParse, | |
34 | longMonthsParse : monthsParse, | |
35 | shortMonthsParse : monthsParse, | |
27 | 36 | weekdays : 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), |
28 | 37 | weekdaysShort : 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), |
29 | 38 | weekdaysMin : 'do_lu_ma_mi_ju_vi_sá'.split('_'), |
0 | //! moment.js locale configuration | |
1 | //! locale : Gujarati [gu] | |
2 | //! author : Kaushik Thanki : https://github.com/Kaushik1987 | |
3 | ||
4 | ;(function (global, factory) { | |
5 | typeof exports === 'object' && typeof module !== 'undefined' | |
6 | && typeof require === 'function' ? factory(require('../moment')) : | |
7 | typeof define === 'function' && define.amd ? define(['../moment'], factory) : | |
8 | factory(global.moment) | |
9 | }(this, (function (moment) { 'use strict'; | |
10 | ||
11 | ||
12 | var symbolMap = { | |
13 | '1': '૧', | |
14 | '2': '૨', | |
15 | '3': '૩', | |
16 | '4': '૪', | |
17 | '5': '૫', | |
18 | '6': '૬', | |
19 | '7': '૭', | |
20 | '8': '૮', | |
21 | '9': '૯', | |
22 | '0': '૦' | |
23 | }; | |
24 | var numberMap = { | |
25 | '૧': '1', | |
26 | '૨': '2', | |
27 | '૩': '3', | |
28 | '૪': '4', | |
29 | '૫': '5', | |
30 | '૬': '6', | |
31 | '૭': '7', | |
32 | '૮': '8', | |
33 | '૯': '9', | |
34 | '૦': '0' | |
35 | }; | |
36 | ||
37 | var gu = moment.defineLocale('gu', { | |
38 | months: 'જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર'.split('_'), | |
39 | monthsShort: 'જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.'.split('_'), | |
40 | monthsParseExact: true, | |
41 | weekdays: 'રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર'.split('_'), | |
42 | weekdaysShort: 'રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ'.split('_'), | |
43 | weekdaysMin: 'ર_સો_મં_બુ_ગુ_શુ_શ'.split('_'), | |
44 | longDateFormat: { | |
45 | LT: 'A h:mm વાગ્યે', | |
46 | LTS: 'A h:mm:ss વાગ્યે', | |
47 | L: 'DD/MM/YYYY', | |
48 | LL: 'D MMMM YYYY', | |
49 | LLL: 'D MMMM YYYY, A h:mm વાગ્યે', | |
50 | LLLL: 'dddd, D MMMM YYYY, A h:mm વાગ્યે' | |
51 | }, | |
52 | calendar: { | |
53 | sameDay: '[આજ] LT', | |
54 | nextDay: '[કાલે] LT', | |
55 | nextWeek: 'dddd, LT', | |
56 | lastDay: '[ગઇકાલે] LT', | |
57 | lastWeek: '[પાછલા] dddd, LT', | |
58 | sameElse: 'L' | |
59 | }, | |
60 | relativeTime: { | |
61 | future: '%s મા', | |
62 | past: '%s પેહલા', | |
63 | s: 'અમુક પળો', | |
64 | m: 'એક મિનિટ', | |
65 | mm: '%d મિનિટ', | |
66 | h: 'એક કલાક', | |
67 | hh: '%d કલાક', | |
68 | d: 'એક દિવસ', | |
69 | dd: '%d દિવસ', | |
70 | M: 'એક મહિનો', | |
71 | MM: '%d મહિનો', | |
72 | y: 'એક વર્ષ', | |
73 | yy: '%d વર્ષ' | |
74 | }, | |
75 | preparse: function (string) { | |
76 | return string.replace(/[૧૨૩૪૫૬૭૮૯૦]/g, function (match) { | |
77 | return numberMap[match]; | |
78 | }); | |
79 | }, | |
80 | postformat: function (string) { | |
81 | return string.replace(/\d/g, function (match) { | |
82 | return symbolMap[match]; | |
83 | }); | |
84 | }, | |
85 | // Gujarati notation for meridiems are quite fuzzy in practice. While there exists | |
86 | // a rigid notion of a 'Pahar' it is not used as rigidly in modern Gujarati. | |
87 | meridiemParse: /રાત|બપોર|સવાર|સાંજ/, | |
88 | meridiemHour: function (hour, meridiem) { | |
89 | if (hour === 12) { | |
90 | hour = 0; | |
91 | } | |
92 | if (meridiem === 'રાત') { | |
93 | return hour < 4 ? hour : hour + 12; | |
94 | } else if (meridiem === 'સવાર') { | |
95 | return hour; | |
96 | } else if (meridiem === 'બપોર') { | |
97 | return hour >= 10 ? hour : hour + 12; | |
98 | } else if (meridiem === 'સાંજ') { | |
99 | return hour + 12; | |
100 | } | |
101 | }, | |
102 | meridiem: function (hour, minute, isLower) { | |
103 | if (hour < 4) { | |
104 | return 'રાત'; | |
105 | } else if (hour < 10) { | |
106 | return 'સવાર'; | |
107 | } else if (hour < 17) { | |
108 | return 'બપોર'; | |
109 | } else if (hour < 20) { | |
110 | return 'સાંજ'; | |
111 | } else { | |
112 | return 'રાત'; | |
113 | } | |
114 | }, | |
115 | week: { | |
116 | dow: 0, // Sunday is the first day of the week. | |
117 | doy: 6 // The week that contains Jan 1st is the first week of the year. | |
118 | } | |
119 | }); | |
120 | ||
121 | return gu; | |
122 | ||
123 | }))); |
52 | 52 | y : '일 년', |
53 | 53 | yy : '%d년' |
54 | 54 | }, |
55 | dayOfMonthOrdinalParse : /\d{1,2}일/, | |
56 | ordinal : '%d일', | |
55 | dayOfMonthOrdinalParse : /\d{1,2}(일|월|주)/, | |
56 | ordinal : function (number, period) { | |
57 | switch (period) { | |
58 | case 'd': | |
59 | case 'D': | |
60 | case 'DDD': | |
61 | return number + '일'; | |
62 | case 'M': | |
63 | return number + '월'; | |
64 | case 'w': | |
65 | case 'W': | |
66 | return number + '주'; | |
67 | default: | |
68 | return number; | |
69 | } | |
70 | }, | |
57 | 71 | meridiemParse : /오전|오후/, |
58 | 72 | isPM : function (token) { |
59 | 73 | return token === '오후'; |
39 | 39 | |
40 | 40 | weekdays : 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'), |
41 | 41 | weekdaysShort : 'zo._ma._di._wo._do._vr._za.'.split('_'), |
42 | weekdaysMin : 'Zo_Ma_Di_Wo_Do_Vr_Za'.split('_'), | |
42 | weekdaysMin : 'zo_ma_di_wo_do_vr_za'.split('_'), | |
43 | 43 | weekdaysParseExact : true, |
44 | 44 | longDateFormat : { |
45 | 45 | LT : 'HH:mm', |
39 | 39 | |
40 | 40 | weekdays : 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'), |
41 | 41 | weekdaysShort : 'zo._ma._di._wo._do._vr._za.'.split('_'), |
42 | weekdaysMin : 'Zo_Ma_Di_Wo_Do_Vr_Za'.split('_'), | |
42 | weekdaysMin : 'zo_ma_di_wo_do_vr_za'.split('_'), | |
43 | 43 | weekdaysParseExact : true, |
44 | 44 | longDateFormat : { |
45 | 45 | LT : 'HH:mm', |
62 | 62 | calendar : { |
63 | 63 | sameDay: '[Dziś o] LT', |
64 | 64 | nextDay: '[Jutro o] LT', |
65 | nextWeek: '[W] dddd [o] LT', | |
65 | nextWeek: function () { | |
66 | switch (this.day()) { | |
67 | case 0: | |
68 | return '[W niedzielę o] LT'; | |
69 | ||
70 | case 2: | |
71 | return '[We wtorek o] LT'; | |
72 | ||
73 | case 3: | |
74 | return '[W środę o] LT'; | |
75 | ||
76 | case 6: | |
77 | return '[W sobotę o] LT'; | |
78 | ||
79 | default: | |
80 | return '[W] dddd [o] LT'; | |
81 | } | |
82 | }, | |
66 | 83 | lastDay: '[Wczoraj o] LT', |
67 | 84 | lastWeek: function () { |
68 | 85 | switch (this.day()) { |
10 | 10 | |
11 | 11 | |
12 | 12 | var ptBr = moment.defineLocale('pt-br', { |
13 | months : 'Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro'.split('_'), | |
14 | monthsShort : 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'), | |
13 | months : 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split('_'), | |
14 | monthsShort : 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'), | |
15 | 15 | weekdays : 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split('_'), |
16 | 16 | weekdaysShort : 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'), |
17 | 17 | weekdaysMin : 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'), |
40 | 40 | future : 'em %s', |
41 | 41 | past : '%s atrás', |
42 | 42 | s : 'poucos segundos', |
43 | ss : '%d segundos', | |
43 | 44 | m : 'um minuto', |
44 | 45 | mm : '%d minutos', |
45 | 46 | h : 'uma hora', |
10 | 10 | |
11 | 11 | |
12 | 12 | var pt = moment.defineLocale('pt', { |
13 | months : 'Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro'.split('_'), | |
14 | monthsShort : 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'), | |
15 | weekdays : 'Domingo_Segunda-Feira_Terça-Feira_Quarta-Feira_Quinta-Feira_Sexta-Feira_Sábado'.split('_'), | |
13 | months : 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split('_'), | |
14 | monthsShort : 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'), | |
15 | weekdays : 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split('_'), | |
16 | 16 | weekdaysShort : 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'), |
17 | 17 | weekdaysMin : 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'), |
18 | 18 | weekdaysParseExact : true, |
173 | 173 | }, |
174 | 174 | week : { |
175 | 175 | dow : 1, // Monday is the first day of the week. |
176 | doy : 7 // The week that contains Jan 1st is the first week of the year. | |
176 | doy : 4 // The week that contains Jan 4th is the first week of the year. | |
177 | 177 | } |
178 | 178 | }); |
179 | 179 |
48 | 48 | calendar : { |
49 | 49 | sameDay : '[bugün saat] LT', |
50 | 50 | nextDay : '[yarın saat] LT', |
51 | nextWeek : '[haftaya] dddd [saat] LT', | |
51 | nextWeek : '[gelecek] dddd [saat] LT', | |
52 | 52 | lastDay : '[dün] LT', |
53 | lastWeek : '[geçen hafta] dddd [saat] LT', | |
53 | lastWeek : '[geçen] dddd [saat] LT', | |
54 | 54 | sameElse : 'L' |
55 | 55 | }, |
56 | 56 | relativeTime : { |
264 | 264 | yy : pluralize('y') |
265 | 265 | }, |
266 | 266 | preparse: function (string) { |
267 | return string.replace(/\u200f/g, '').replace(/،/g, ','); | |
267 | return string.replace(/،/g, ','); | |
268 | 268 | }, |
269 | 269 | postformat: function (string) { |
270 | 270 | return string.replace(/\d/g, function (match) { |
584 | 584 | yy : pluralize$1('y') |
585 | 585 | }, |
586 | 586 | preparse: function (string) { |
587 | return string.replace(/\u200f/g, '').replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) { | |
587 | return string.replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) { | |
588 | 588 | return numberMap$1[match]; |
589 | 589 | }).replace(/،/g, ','); |
590 | 590 | }, |
892 | 892 | week : { |
893 | 893 | dow : 1, // Monday is the first day of the week. |
894 | 894 | doy : 7 // The week that contains Jan 1st is the first week of the year. |
895 | } | |
896 | }); | |
897 | ||
898 | //! moment.js locale configuration | |
899 | //! locale : Bambara [bm] | |
900 | //! author : Estelle Comment : https://github.com/estellecomment | |
901 | // Language contact person : Abdoufata Kane : https://github.com/abdoufata | |
902 | ||
903 | moment.defineLocale('bm', { | |
904 | months : 'Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo'.split('_'), | |
905 | monthsShort : 'Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des'.split('_'), | |
906 | weekdays : 'Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri'.split('_'), | |
907 | weekdaysShort : 'Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib'.split('_'), | |
908 | weekdaysMin : 'Ka_Nt_Ta_Ar_Al_Ju_Si'.split('_'), | |
909 | longDateFormat : { | |
910 | LT : 'HH:mm', | |
911 | LTS : 'HH:mm:ss', | |
912 | L : 'DD/MM/YYYY', | |
913 | LL : 'MMMM [tile] D [san] YYYY', | |
914 | LLL : 'MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm', | |
915 | LLLL : 'dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm' | |
916 | }, | |
917 | calendar : { | |
918 | sameDay : '[Bi lɛrɛ] LT', | |
919 | nextDay : '[Sini lɛrɛ] LT', | |
920 | nextWeek : 'dddd [don lɛrɛ] LT', | |
921 | lastDay : '[Kunu lɛrɛ] LT', | |
922 | lastWeek : 'dddd [tɛmɛnen lɛrɛ] LT', | |
923 | sameElse : 'L' | |
924 | }, | |
925 | relativeTime : { | |
926 | future : '%s kɔnɔ', | |
927 | past : 'a bɛ %s bɔ', | |
928 | s : 'sanga dama dama', | |
929 | m : 'miniti kelen', | |
930 | mm : 'miniti %d', | |
931 | h : 'lɛrɛ kelen', | |
932 | hh : 'lɛrɛ %d', | |
933 | d : 'tile kelen', | |
934 | dd : 'tile %d', | |
935 | M : 'kalo kelen', | |
936 | MM : 'kalo %d', | |
937 | y : 'san kelen', | |
938 | yy : 'san %d' | |
939 | }, | |
940 | week : { | |
941 | dow : 1, // Monday is the first day of the week. | |
942 | doy : 4 // The week that contains Jan 4th is the first week of the year. | |
895 | 943 | } |
896 | 944 | }); |
897 | 945 | |
1354 | 1402 | monthsParseExact : true, |
1355 | 1403 | weekdays : 'diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte'.split('_'), |
1356 | 1404 | weekdaysShort : 'dg._dl._dt._dc._dj._dv._ds.'.split('_'), |
1357 | weekdaysMin : 'Dg_Dl_Dt_Dc_Dj_Dv_Ds'.split('_'), | |
1405 | weekdaysMin : 'dg_dl_dt_dc_dj_dv_ds'.split('_'), | |
1358 | 1406 | weekdaysParseExact : true, |
1359 | 1407 | longDateFormat : { |
1360 | 1408 | LT : 'H:mm', |
1361 | 1409 | LTS : 'H:mm:ss', |
1362 | 1410 | L : 'DD/MM/YYYY', |
1363 | LL : '[el] D MMMM [de] YYYY', | |
1411 | LL : 'D MMMM [de] YYYY', | |
1364 | 1412 | ll : 'D MMM YYYY', |
1365 | LLL : '[el] D MMMM [de] YYYY [a les] H:mm', | |
1413 | LLL : 'D MMMM [de] YYYY [a les] H:mm', | |
1366 | 1414 | lll : 'D MMM YYYY, H:mm', |
1367 | LLLL : '[el] dddd D MMMM [de] YYYY [a les] H:mm', | |
1415 | LLLL : 'dddd D MMMM [de] YYYY [a les] H:mm', | |
1368 | 1416 | llll : 'ddd D MMM YYYY, H:mm' |
1369 | 1417 | }, |
1370 | 1418 | calendar : { |
1713 | 1761 | longDateFormat : { |
1714 | 1762 | LT : 'HH:mm', |
1715 | 1763 | LTS : 'HH:mm:ss', |
1716 | L : 'DD/MM/YYYY', | |
1764 | L : 'DD.MM.YYYY', | |
1717 | 1765 | LL : 'D. MMMM YYYY', |
1718 | 1766 | LLL : 'D. MMMM YYYY HH:mm', |
1719 | 1767 | LLLL : 'dddd [d.] D. MMMM YYYY [kl.] HH:mm' |
1772 | 1820 | |
1773 | 1821 | moment.defineLocale('de-at', { |
1774 | 1822 | months : 'Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'), |
1775 | monthsShort : 'Jän._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split('_'), | |
1823 | monthsShort : 'Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'), | |
1776 | 1824 | monthsParseExact : true, |
1777 | 1825 | weekdays : 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'), |
1778 | 1826 | weekdaysShort : 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'), |
1839 | 1887 | |
1840 | 1888 | moment.defineLocale('de-ch', { |
1841 | 1889 | months : 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'), |
1842 | monthsShort : 'Jan._Febr._März_April_Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.'.split('_'), | |
1890 | monthsShort : 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'), | |
1843 | 1891 | monthsParseExact : true, |
1844 | 1892 | weekdays : 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'), |
1845 | 1893 | weekdaysShort : 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), |
1906 | 1954 | |
1907 | 1955 | moment.defineLocale('de', { |
1908 | 1956 | months : 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'), |
1909 | monthsShort : 'Jan._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split('_'), | |
1957 | monthsShort : 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'), | |
1910 | 1958 | monthsParseExact : true, |
1911 | 1959 | weekdays : 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'), |
1912 | 1960 | weekdaysShort : 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'), |
2054 | 2102 | months : function (momentToFormat, format) { |
2055 | 2103 | if (!momentToFormat) { |
2056 | 2104 | return this._monthsNominativeEl; |
2057 | } else if (/D/.test(format.substring(0, format.indexOf('MMMM')))) { // if there is a day number before 'MMMM' | |
2105 | } else if (typeof format === 'string' && /D/.test(format.substring(0, format.indexOf('MMMM')))) { // if there is a day number before 'MMMM' | |
2058 | 2106 | return this._monthsGenitiveEl[momentToFormat.month()]; |
2059 | 2107 | } else { |
2060 | 2108 | return this._monthsNominativeEl[momentToFormat.month()]; |
2473 | 2521 | var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'); |
2474 | 2522 | var monthsShort$1 = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'); |
2475 | 2523 | |
2524 | var monthsParse = [/^ene/i, /^feb/i, /^mar/i, /^abr/i, /^may/i, /^jun/i, /^jul/i, /^ago/i, /^sep/i, /^oct/i, /^nov/i, /^dic/i]; | |
2525 | var monthsRegex = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i; | |
2526 | ||
2476 | 2527 | moment.defineLocale('es-do', { |
2477 | 2528 | months : 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'), |
2478 | 2529 | monthsShort : function (m, format) { |
2484 | 2535 | return monthsShortDot[m.month()]; |
2485 | 2536 | } |
2486 | 2537 | }, |
2487 | monthsParseExact : true, | |
2538 | monthsRegex: monthsRegex, | |
2539 | monthsShortRegex: monthsRegex, | |
2540 | monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i, | |
2541 | monthsShortStrictRegex: /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i, | |
2542 | monthsParse: monthsParse, | |
2543 | longMonthsParse: monthsParse, | |
2544 | shortMonthsParse: monthsParse, | |
2488 | 2545 | weekdays : 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), |
2489 | 2546 | weekdaysShort : 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), |
2490 | 2547 | weekdaysMin : 'do_lu_ma_mi_ju_vi_sá'.split('_'), |
2539 | 2596 | }); |
2540 | 2597 | |
2541 | 2598 | //! moment.js locale configuration |
2542 | //! locale : Spanish [es] | |
2543 | //! author : Julio Napurí : https://github.com/julionc | |
2599 | //! locale : Spanish(United State) [es-us] | |
2600 | //! author : bustta : https://github.com/bustta | |
2544 | 2601 | |
2545 | 2602 | var monthsShortDot$1 = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'); |
2546 | 2603 | var monthsShort$2 = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'); |
2547 | 2604 | |
2548 | moment.defineLocale('es', { | |
2605 | moment.defineLocale('es-us', { | |
2549 | 2606 | months : 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'), |
2550 | 2607 | monthsShort : function (m, format) { |
2551 | 2608 | if (!m) { |
2557 | 2614 | } |
2558 | 2615 | }, |
2559 | 2616 | monthsParseExact : true, |
2617 | weekdays : 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), | |
2618 | weekdaysShort : 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), | |
2619 | weekdaysMin : 'do_lu_ma_mi_ju_vi_sá'.split('_'), | |
2620 | weekdaysParseExact : true, | |
2621 | longDateFormat : { | |
2622 | LT : 'H:mm', | |
2623 | LTS : 'H:mm:ss', | |
2624 | L : 'MM/DD/YYYY', | |
2625 | LL : 'MMMM [de] D [de] YYYY', | |
2626 | LLL : 'MMMM [de] D [de] YYYY H:mm', | |
2627 | LLLL : 'dddd, MMMM [de] D [de] YYYY H:mm' | |
2628 | }, | |
2629 | calendar : { | |
2630 | sameDay : function () { | |
2631 | return '[hoy a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; | |
2632 | }, | |
2633 | nextDay : function () { | |
2634 | return '[mañana a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; | |
2635 | }, | |
2636 | nextWeek : function () { | |
2637 | return 'dddd [a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; | |
2638 | }, | |
2639 | lastDay : function () { | |
2640 | return '[ayer a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; | |
2641 | }, | |
2642 | lastWeek : function () { | |
2643 | return '[el] dddd [pasado a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; | |
2644 | }, | |
2645 | sameElse : 'L' | |
2646 | }, | |
2647 | relativeTime : { | |
2648 | future : 'en %s', | |
2649 | past : 'hace %s', | |
2650 | s : 'unos segundos', | |
2651 | m : 'un minuto', | |
2652 | mm : '%d minutos', | |
2653 | h : 'una hora', | |
2654 | hh : '%d horas', | |
2655 | d : 'un día', | |
2656 | dd : '%d días', | |
2657 | M : 'un mes', | |
2658 | MM : '%d meses', | |
2659 | y : 'un año', | |
2660 | yy : '%d años' | |
2661 | }, | |
2662 | dayOfMonthOrdinalParse : /\d{1,2}º/, | |
2663 | ordinal : '%dº', | |
2664 | week : { | |
2665 | dow : 0, // Sunday is the first day of the week. | |
2666 | doy : 6 // The week that contains Jan 1st is the first week of the year. | |
2667 | } | |
2668 | }); | |
2669 | ||
2670 | //! moment.js locale configuration | |
2671 | //! locale : Spanish [es] | |
2672 | //! author : Julio Napurí : https://github.com/julionc | |
2673 | ||
2674 | var monthsShortDot$2 = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'); | |
2675 | var monthsShort$3 = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'); | |
2676 | ||
2677 | var monthsParse$1 = [/^ene/i, /^feb/i, /^mar/i, /^abr/i, /^may/i, /^jun/i, /^jul/i, /^ago/i, /^sep/i, /^oct/i, /^nov/i, /^dic/i]; | |
2678 | var monthsRegex$1 = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i; | |
2679 | ||
2680 | moment.defineLocale('es', { | |
2681 | months : 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'), | |
2682 | monthsShort : function (m, format) { | |
2683 | if (!m) { | |
2684 | return monthsShortDot$2; | |
2685 | } else if (/-MMM-/.test(format)) { | |
2686 | return monthsShort$3[m.month()]; | |
2687 | } else { | |
2688 | return monthsShortDot$2[m.month()]; | |
2689 | } | |
2690 | }, | |
2691 | monthsRegex : monthsRegex$1, | |
2692 | monthsShortRegex : monthsRegex$1, | |
2693 | monthsStrictRegex : /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i, | |
2694 | monthsShortStrictRegex : /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i, | |
2695 | monthsParse : monthsParse$1, | |
2696 | longMonthsParse : monthsParse$1, | |
2697 | shortMonthsParse : monthsParse$1, | |
2560 | 2698 | weekdays : 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), |
2561 | 2699 | weekdaysShort : 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), |
2562 | 2700 | weekdaysMin : 'do_lu_ma_mi_ju_vi_sá'.split('_'), |
3249 | 3387 | 'Am Faoilleach', 'An Gearran', 'Am Màrt', 'An Giblean', 'An Cèitean', 'An t-Ògmhios', 'An t-Iuchar', 'An Lùnastal', 'An t-Sultain', 'An Dàmhair', 'An t-Samhain', 'An Dùbhlachd' |
3250 | 3388 | ]; |
3251 | 3389 | |
3252 | var monthsShort$3 = ['Faoi', 'Gear', 'Màrt', 'Gibl', 'Cèit', 'Ògmh', 'Iuch', 'Lùn', 'Sult', 'Dàmh', 'Samh', 'Dùbh']; | |
3390 | var monthsShort$4 = ['Faoi', 'Gear', 'Màrt', 'Gibl', 'Cèit', 'Ògmh', 'Iuch', 'Lùn', 'Sult', 'Dàmh', 'Samh', 'Dùbh']; | |
3253 | 3391 | |
3254 | 3392 | var weekdays$1 = ['Didòmhnaich', 'Diluain', 'Dimàirt', 'Diciadain', 'Diardaoin', 'Dihaoine', 'Disathairne']; |
3255 | 3393 | |
3259 | 3397 | |
3260 | 3398 | moment.defineLocale('gd', { |
3261 | 3399 | months : months$4, |
3262 | monthsShort : monthsShort$3, | |
3400 | monthsShort : monthsShort$4, | |
3263 | 3401 | monthsParseExact : true, |
3264 | 3402 | weekdays : weekdays$1, |
3265 | 3403 | weekdaysShort : weekdaysShort, |
3480 | 3618 | } else { |
3481 | 3619 | return 'rati'; |
3482 | 3620 | } |
3621 | } | |
3622 | }); | |
3623 | ||
3624 | //! moment.js locale configuration | |
3625 | //! locale : Gujarati [gu] | |
3626 | //! author : Kaushik Thanki : https://github.com/Kaushik1987 | |
3627 | ||
3628 | var symbolMap$6 = { | |
3629 | '1': '૧', | |
3630 | '2': '૨', | |
3631 | '3': '૩', | |
3632 | '4': '૪', | |
3633 | '5': '૫', | |
3634 | '6': '૬', | |
3635 | '7': '૭', | |
3636 | '8': '૮', | |
3637 | '9': '૯', | |
3638 | '0': '૦' | |
3639 | }; | |
3640 | var numberMap$5 = { | |
3641 | '૧': '1', | |
3642 | '૨': '2', | |
3643 | '૩': '3', | |
3644 | '૪': '4', | |
3645 | '૫': '5', | |
3646 | '૬': '6', | |
3647 | '૭': '7', | |
3648 | '૮': '8', | |
3649 | '૯': '9', | |
3650 | '૦': '0' | |
3651 | }; | |
3652 | ||
3653 | moment.defineLocale('gu', { | |
3654 | months: 'જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર'.split('_'), | |
3655 | monthsShort: 'જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.'.split('_'), | |
3656 | monthsParseExact: true, | |
3657 | weekdays: 'રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર'.split('_'), | |
3658 | weekdaysShort: 'રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ'.split('_'), | |
3659 | weekdaysMin: 'ર_સો_મં_બુ_ગુ_શુ_શ'.split('_'), | |
3660 | longDateFormat: { | |
3661 | LT: 'A h:mm વાગ્યે', | |
3662 | LTS: 'A h:mm:ss વાગ્યે', | |
3663 | L: 'DD/MM/YYYY', | |
3664 | LL: 'D MMMM YYYY', | |
3665 | LLL: 'D MMMM YYYY, A h:mm વાગ્યે', | |
3666 | LLLL: 'dddd, D MMMM YYYY, A h:mm વાગ્યે' | |
3667 | }, | |
3668 | calendar: { | |
3669 | sameDay: '[આજ] LT', | |
3670 | nextDay: '[કાલે] LT', | |
3671 | nextWeek: 'dddd, LT', | |
3672 | lastDay: '[ગઇકાલે] LT', | |
3673 | lastWeek: '[પાછલા] dddd, LT', | |
3674 | sameElse: 'L' | |
3675 | }, | |
3676 | relativeTime: { | |
3677 | future: '%s મા', | |
3678 | past: '%s પેહલા', | |
3679 | s: 'અમુક પળો', | |
3680 | m: 'એક મિનિટ', | |
3681 | mm: '%d મિનિટ', | |
3682 | h: 'એક કલાક', | |
3683 | hh: '%d કલાક', | |
3684 | d: 'એક દિવસ', | |
3685 | dd: '%d દિવસ', | |
3686 | M: 'એક મહિનો', | |
3687 | MM: '%d મહિનો', | |
3688 | y: 'એક વર્ષ', | |
3689 | yy: '%d વર્ષ' | |
3690 | }, | |
3691 | preparse: function (string) { | |
3692 | return string.replace(/[૧૨૩૪૫૬૭૮૯૦]/g, function (match) { | |
3693 | return numberMap$5[match]; | |
3694 | }); | |
3695 | }, | |
3696 | postformat: function (string) { | |
3697 | return string.replace(/\d/g, function (match) { | |
3698 | return symbolMap$6[match]; | |
3699 | }); | |
3700 | }, | |
3701 | // Gujarati notation for meridiems are quite fuzzy in practice. While there exists | |
3702 | // a rigid notion of a 'Pahar' it is not used as rigidly in modern Gujarati. | |
3703 | meridiemParse: /રાત|બપોર|સવાર|સાંજ/, | |
3704 | meridiemHour: function (hour, meridiem) { | |
3705 | if (hour === 12) { | |
3706 | hour = 0; | |
3707 | } | |
3708 | if (meridiem === 'રાત') { | |
3709 | return hour < 4 ? hour : hour + 12; | |
3710 | } else if (meridiem === 'સવાર') { | |
3711 | return hour; | |
3712 | } else if (meridiem === 'બપોર') { | |
3713 | return hour >= 10 ? hour : hour + 12; | |
3714 | } else if (meridiem === 'સાંજ') { | |
3715 | return hour + 12; | |
3716 | } | |
3717 | }, | |
3718 | meridiem: function (hour, minute, isLower) { | |
3719 | if (hour < 4) { | |
3720 | return 'રાત'; | |
3721 | } else if (hour < 10) { | |
3722 | return 'સવાર'; | |
3723 | } else if (hour < 17) { | |
3724 | return 'બપોર'; | |
3725 | } else if (hour < 20) { | |
3726 | return 'સાંજ'; | |
3727 | } else { | |
3728 | return 'રાત'; | |
3729 | } | |
3730 | }, | |
3731 | week: { | |
3732 | dow: 0, // Sunday is the first day of the week. | |
3733 | doy: 6 // The week that contains Jan 1st is the first week of the year. | |
3483 | 3734 | } |
3484 | 3735 | }); |
3485 | 3736 | |
3575 | 3826 | //! locale : Hindi [hi] |
3576 | 3827 | //! author : Mayank Singhal : https://github.com/mayanksinghal |
3577 | 3828 | |
3578 | var symbolMap$6 = { | |
3829 | var symbolMap$7 = { | |
3579 | 3830 | '1': '१', |
3580 | 3831 | '2': '२', |
3581 | 3832 | '3': '३', |
3587 | 3838 | '9': '९', |
3588 | 3839 | '0': '०' |
3589 | 3840 | }; |
3590 | var numberMap$5 = { | |
3841 | var numberMap$6 = { | |
3591 | 3842 | '१': '1', |
3592 | 3843 | '२': '2', |
3593 | 3844 | '३': '3', |
3640 | 3891 | }, |
3641 | 3892 | preparse: function (string) { |
3642 | 3893 | return string.replace(/[१२३४५६७८९०]/g, function (match) { |
3643 | return numberMap$5[match]; | |
3894 | return numberMap$6[match]; | |
3644 | 3895 | }); |
3645 | 3896 | }, |
3646 | 3897 | postformat: function (string) { |
3647 | 3898 | return string.replace(/\d/g, function (match) { |
3648 | return symbolMap$6[match]; | |
3899 | return symbolMap$7[match]; | |
3649 | 3900 | }); |
3650 | 3901 | }, |
3651 | 3902 | // Hindi notation for meridiems are quite fuzzy in practice. While there exists |
4593 | 4844 | //! locale : Kannada [kn] |
4594 | 4845 | //! author : Rajeev Naik : https://github.com/rajeevnaikte |
4595 | 4846 | |
4596 | var symbolMap$7 = { | |
4847 | var symbolMap$8 = { | |
4597 | 4848 | '1': '೧', |
4598 | 4849 | '2': '೨', |
4599 | 4850 | '3': '೩', |
4605 | 4856 | '9': '೯', |
4606 | 4857 | '0': '೦' |
4607 | 4858 | }; |
4608 | var numberMap$6 = { | |
4859 | var numberMap$7 = { | |
4609 | 4860 | '೧': '1', |
4610 | 4861 | '೨': '2', |
4611 | 4862 | '೩': '3', |
4658 | 4909 | }, |
4659 | 4910 | preparse: function (string) { |
4660 | 4911 | return string.replace(/[೧೨೩೪೫೬೭೮೯೦]/g, function (match) { |
4661 | return numberMap$6[match]; | |
4912 | return numberMap$7[match]; | |
4662 | 4913 | }); |
4663 | 4914 | }, |
4664 | 4915 | postformat: function (string) { |
4665 | 4916 | return string.replace(/\d/g, function (match) { |
4666 | return symbolMap$7[match]; | |
4917 | return symbolMap$8[match]; | |
4667 | 4918 | }); |
4668 | 4919 | }, |
4669 | 4920 | meridiemParse: /ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/, |
4751 | 5002 | y : '일 년', |
4752 | 5003 | yy : '%d년' |
4753 | 5004 | }, |
4754 | dayOfMonthOrdinalParse : /\d{1,2}일/, | |
4755 | ordinal : '%d일', | |
5005 | dayOfMonthOrdinalParse : /\d{1,2}(일|월|주)/, | |
5006 | ordinal : function (number, period) { | |
5007 | switch (period) { | |
5008 | case 'd': | |
5009 | case 'D': | |
5010 | case 'DDD': | |
5011 | return number + '일'; | |
5012 | case 'M': | |
5013 | return number + '월'; | |
5014 | case 'w': | |
5015 | case 'W': | |
5016 | return number + '주'; | |
5017 | default: | |
5018 | return number; | |
5019 | } | |
5020 | }, | |
4756 | 5021 | meridiemParse : /오전|오후/, |
4757 | 5022 | isPM : function (token) { |
4758 | 5023 | return token === '오후'; |
5523 | 5788 | //! author : Harshad Kale : https://github.com/kalehv |
5524 | 5789 | //! author : Vivek Athalye : https://github.com/vnathalye |
5525 | 5790 | |
5526 | var symbolMap$8 = { | |
5791 | var symbolMap$9 = { | |
5527 | 5792 | '1': '१', |
5528 | 5793 | '2': '२', |
5529 | 5794 | '3': '३', |
5535 | 5800 | '9': '९', |
5536 | 5801 | '0': '०' |
5537 | 5802 | }; |
5538 | var numberMap$7 = { | |
5803 | var numberMap$8 = { | |
5539 | 5804 | '१': '1', |
5540 | 5805 | '२': '2', |
5541 | 5806 | '३': '3', |
5624 | 5889 | }, |
5625 | 5890 | preparse: function (string) { |
5626 | 5891 | return string.replace(/[१२३४५६७८९०]/g, function (match) { |
5627 | return numberMap$7[match]; | |
5892 | return numberMap$8[match]; | |
5628 | 5893 | }); |
5629 | 5894 | }, |
5630 | 5895 | postformat: function (string) { |
5631 | 5896 | return string.replace(/\d/g, function (match) { |
5632 | return symbolMap$8[match]; | |
5897 | return symbolMap$9[match]; | |
5633 | 5898 | }); |
5634 | 5899 | }, |
5635 | 5900 | meridiemParse: /रात्री|सकाळी|दुपारी|सायंकाळी/, |
5815 | 6080 | //! author : David Rossellat : https://github.com/gholadr |
5816 | 6081 | //! author : Tin Aung Lin : https://github.com/thanyawzinmin |
5817 | 6082 | |
5818 | var symbolMap$9 = { | |
6083 | var symbolMap$10 = { | |
5819 | 6084 | '1': '၁', |
5820 | 6085 | '2': '၂', |
5821 | 6086 | '3': '၃', |
5827 | 6092 | '9': '၉', |
5828 | 6093 | '0': '၀' |
5829 | 6094 | }; |
5830 | var numberMap$8 = { | |
6095 | var numberMap$9 = { | |
5831 | 6096 | '၁': '1', |
5832 | 6097 | '၂': '2', |
5833 | 6098 | '၃': '3', |
5880 | 6145 | }, |
5881 | 6146 | preparse: function (string) { |
5882 | 6147 | return string.replace(/[၁၂၃၄၅၆၇၈၉၀]/g, function (match) { |
5883 | return numberMap$8[match]; | |
6148 | return numberMap$9[match]; | |
5884 | 6149 | }); |
5885 | 6150 | }, |
5886 | 6151 | postformat: function (string) { |
5887 | 6152 | return string.replace(/\d/g, function (match) { |
5888 | return symbolMap$9[match]; | |
6153 | return symbolMap$10[match]; | |
5889 | 6154 | }); |
5890 | 6155 | }, |
5891 | 6156 | week: { |
5950 | 6215 | //! locale : Nepalese [ne] |
5951 | 6216 | //! author : suvash : https://github.com/suvash |
5952 | 6217 | |
5953 | var symbolMap$10 = { | |
6218 | var symbolMap$11 = { | |
5954 | 6219 | '1': '१', |
5955 | 6220 | '2': '२', |
5956 | 6221 | '3': '३', |
5962 | 6227 | '9': '९', |
5963 | 6228 | '0': '०' |
5964 | 6229 | }; |
5965 | var numberMap$9 = { | |
6230 | var numberMap$10 = { | |
5966 | 6231 | '१': '1', |
5967 | 6232 | '२': '2', |
5968 | 6233 | '३': '3', |
5993 | 6258 | }, |
5994 | 6259 | preparse: function (string) { |
5995 | 6260 | return string.replace(/[१२३४५६७८९०]/g, function (match) { |
5996 | return numberMap$9[match]; | |
6261 | return numberMap$10[match]; | |
5997 | 6262 | }); |
5998 | 6263 | }, |
5999 | 6264 | postformat: function (string) { |
6000 | 6265 | return string.replace(/\d/g, function (match) { |
6001 | return symbolMap$10[match]; | |
6266 | return symbolMap$11[match]; | |
6002 | 6267 | }); |
6003 | 6268 | }, |
6004 | 6269 | meridiemParse: /राति|बिहान|दिउँसो|साँझ/, |
6066 | 6331 | var monthsShortWithDots$1 = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'); |
6067 | 6332 | var monthsShortWithoutDots$1 = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'); |
6068 | 6333 | |
6069 | var monthsParse = [/^jan/i, /^feb/i, /^maart|mrt.?$/i, /^apr/i, /^mei$/i, /^jun[i.]?$/i, /^jul[i.]?$/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dec/i]; | |
6070 | var monthsRegex = /^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i; | |
6334 | var monthsParse$2 = [/^jan/i, /^feb/i, /^maart|mrt.?$/i, /^apr/i, /^mei$/i, /^jun[i.]?$/i, /^jul[i.]?$/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dec/i]; | |
6335 | var monthsRegex$2 = /^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i; | |
6071 | 6336 | |
6072 | 6337 | moment.defineLocale('nl-be', { |
6073 | 6338 | months : 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'), |
6081 | 6346 | } |
6082 | 6347 | }, |
6083 | 6348 | |
6084 | monthsRegex: monthsRegex, | |
6085 | monthsShortRegex: monthsRegex, | |
6349 | monthsRegex: monthsRegex$2, | |
6350 | monthsShortRegex: monthsRegex$2, | |
6086 | 6351 | monthsStrictRegex: /^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i, |
6087 | 6352 | monthsShortStrictRegex: /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i, |
6088 | 6353 | |
6089 | monthsParse : monthsParse, | |
6090 | longMonthsParse : monthsParse, | |
6091 | shortMonthsParse : monthsParse, | |
6354 | monthsParse : monthsParse$2, | |
6355 | longMonthsParse : monthsParse$2, | |
6356 | shortMonthsParse : monthsParse$2, | |
6092 | 6357 | |
6093 | 6358 | weekdays : 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'), |
6094 | 6359 | weekdaysShort : 'zo._ma._di._wo._do._vr._za.'.split('_'), |
6095 | weekdaysMin : 'Zo_Ma_Di_Wo_Do_Vr_Za'.split('_'), | |
6360 | weekdaysMin : 'zo_ma_di_wo_do_vr_za'.split('_'), | |
6096 | 6361 | weekdaysParseExact : true, |
6097 | 6362 | longDateFormat : { |
6098 | 6363 | LT : 'HH:mm', |
6143 | 6408 | var monthsShortWithDots$2 = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'); |
6144 | 6409 | var monthsShortWithoutDots$2 = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'); |
6145 | 6410 | |
6146 | var monthsParse$1 = [/^jan/i, /^feb/i, /^maart|mrt.?$/i, /^apr/i, /^mei$/i, /^jun[i.]?$/i, /^jul[i.]?$/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dec/i]; | |
6147 | var monthsRegex$1 = /^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i; | |
6411 | var monthsParse$3 = [/^jan/i, /^feb/i, /^maart|mrt.?$/i, /^apr/i, /^mei$/i, /^jun[i.]?$/i, /^jul[i.]?$/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dec/i]; | |
6412 | var monthsRegex$3 = /^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i; | |
6148 | 6413 | |
6149 | 6414 | moment.defineLocale('nl', { |
6150 | 6415 | months : 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'), |
6158 | 6423 | } |
6159 | 6424 | }, |
6160 | 6425 | |
6161 | monthsRegex: monthsRegex$1, | |
6162 | monthsShortRegex: monthsRegex$1, | |
6426 | monthsRegex: monthsRegex$3, | |
6427 | monthsShortRegex: monthsRegex$3, | |
6163 | 6428 | monthsStrictRegex: /^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i, |
6164 | 6429 | monthsShortStrictRegex: /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i, |
6165 | 6430 | |
6166 | monthsParse : monthsParse$1, | |
6167 | longMonthsParse : monthsParse$1, | |
6168 | shortMonthsParse : monthsParse$1, | |
6431 | monthsParse : monthsParse$3, | |
6432 | longMonthsParse : monthsParse$3, | |
6433 | shortMonthsParse : monthsParse$3, | |
6169 | 6434 | |
6170 | 6435 | weekdays : 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'), |
6171 | 6436 | weekdaysShort : 'zo._ma._di._wo._do._vr._za.'.split('_'), |
6172 | weekdaysMin : 'Zo_Ma_Di_Wo_Do_Vr_Za'.split('_'), | |
6437 | weekdaysMin : 'zo_ma_di_wo_do_vr_za'.split('_'), | |
6173 | 6438 | weekdaysParseExact : true, |
6174 | 6439 | longDateFormat : { |
6175 | 6440 | LT : 'HH:mm', |
6265 | 6530 | //! locale : Punjabi (India) [pa-in] |
6266 | 6531 | //! author : Harpreet Singh : https://github.com/harpreetkhalsagtbit |
6267 | 6532 | |
6268 | var symbolMap$11 = { | |
6533 | var symbolMap$12 = { | |
6269 | 6534 | '1': '੧', |
6270 | 6535 | '2': '੨', |
6271 | 6536 | '3': '੩', |
6277 | 6542 | '9': '੯', |
6278 | 6543 | '0': '੦' |
6279 | 6544 | }; |
6280 | var numberMap$10 = { | |
6545 | var numberMap$11 = { | |
6281 | 6546 | '੧': '1', |
6282 | 6547 | '੨': '2', |
6283 | 6548 | '੩': '3', |
6330 | 6595 | }, |
6331 | 6596 | preparse: function (string) { |
6332 | 6597 | return string.replace(/[੧੨੩੪੫੬੭੮੯੦]/g, function (match) { |
6333 | return numberMap$10[match]; | |
6598 | return numberMap$11[match]; | |
6334 | 6599 | }); |
6335 | 6600 | }, |
6336 | 6601 | postformat: function (string) { |
6337 | 6602 | return string.replace(/\d/g, function (match) { |
6338 | return symbolMap$11[match]; | |
6603 | return symbolMap$12[match]; | |
6339 | 6604 | }); |
6340 | 6605 | }, |
6341 | 6606 | // Punjabi notation for meridiems are quite fuzzy in practice. While there exists |
6431 | 6696 | calendar : { |
6432 | 6697 | sameDay: '[Dziś o] LT', |
6433 | 6698 | nextDay: '[Jutro o] LT', |
6434 | nextWeek: '[W] dddd [o] LT', | |
6699 | nextWeek: function () { | |
6700 | switch (this.day()) { | |
6701 | case 0: | |
6702 | return '[W niedzielę o] LT'; | |
6703 | ||
6704 | case 2: | |
6705 | return '[We wtorek o] LT'; | |
6706 | ||
6707 | case 3: | |
6708 | return '[W środę o] LT'; | |
6709 | ||
6710 | case 6: | |
6711 | return '[W sobotę o] LT'; | |
6712 | ||
6713 | default: | |
6714 | return '[W] dddd [o] LT'; | |
6715 | } | |
6716 | }, | |
6435 | 6717 | lastDay: '[Wczoraj o] LT', |
6436 | 6718 | lastWeek: function () { |
6437 | 6719 | switch (this.day()) { |
6475 | 6757 | //! author : Caio Ribeiro Pereira : https://github.com/caio-ribeiro-pereira |
6476 | 6758 | |
6477 | 6759 | moment.defineLocale('pt-br', { |
6478 | months : 'Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro'.split('_'), | |
6479 | monthsShort : 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'), | |
6760 | months : 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split('_'), | |
6761 | monthsShort : 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'), | |
6480 | 6762 | weekdays : 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split('_'), |
6481 | 6763 | weekdaysShort : 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'), |
6482 | 6764 | weekdaysMin : 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'), |
6505 | 6787 | future : 'em %s', |
6506 | 6788 | past : '%s atrás', |
6507 | 6789 | s : 'poucos segundos', |
6790 | ss : '%d segundos', | |
6508 | 6791 | m : 'um minuto', |
6509 | 6792 | mm : '%d minutos', |
6510 | 6793 | h : 'uma hora', |
6525 | 6808 | //! author : Jefferson : https://github.com/jalex79 |
6526 | 6809 | |
6527 | 6810 | moment.defineLocale('pt', { |
6528 | months : 'Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro'.split('_'), | |
6529 | monthsShort : 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'), | |
6530 | weekdays : 'Domingo_Segunda-Feira_Terça-Feira_Quarta-Feira_Quinta-Feira_Sexta-Feira_Sábado'.split('_'), | |
6811 | months : 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split('_'), | |
6812 | monthsShort : 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'), | |
6813 | weekdays : 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split('_'), | |
6531 | 6814 | weekdaysShort : 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'), |
6532 | 6815 | weekdaysMin : 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'), |
6533 | 6816 | weekdaysParseExact : true, |
6663 | 6946 | return number + ' ' + plural$4(format[key], +number); |
6664 | 6947 | } |
6665 | 6948 | } |
6666 | var monthsParse$2 = [/^янв/i, /^фев/i, /^мар/i, /^апр/i, /^ма[йя]/i, /^июн/i, /^июл/i, /^авг/i, /^сен/i, /^окт/i, /^ноя/i, /^дек/i]; | |
6949 | var monthsParse$4 = [/^янв/i, /^фев/i, /^мар/i, /^апр/i, /^ма[йя]/i, /^июн/i, /^июл/i, /^авг/i, /^сен/i, /^окт/i, /^ноя/i, /^дек/i]; | |
6667 | 6950 | |
6668 | 6951 | // http://new.gramota.ru/spravka/rules/139-prop : § 103 |
6669 | 6952 | // Сокращения месяцев: http://new.gramota.ru/spravka/buro/search-answer?s=242637 |
6685 | 6968 | }, |
6686 | 6969 | weekdaysShort : 'вс_пн_вт_ср_чт_пт_сб'.split('_'), |
6687 | 6970 | weekdaysMin : 'вс_пн_вт_ср_чт_пт_сб'.split('_'), |
6688 | monthsParse : monthsParse$2, | |
6689 | longMonthsParse : monthsParse$2, | |
6690 | shortMonthsParse : monthsParse$2, | |
6971 | monthsParse : monthsParse$4, | |
6972 | longMonthsParse : monthsParse$4, | |
6973 | shortMonthsParse : monthsParse$4, | |
6691 | 6974 | |
6692 | 6975 | // полные названия с падежами, по три буквы, для некоторых, по 4 буквы, сокращения с точкой и без точки |
6693 | 6976 | monthsRegex: /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i, |
6806 | 7089 | }, |
6807 | 7090 | week : { |
6808 | 7091 | dow : 1, // Monday is the first day of the week. |
6809 | doy : 7 // The week that contains Jan 1st is the first week of the year. | |
7092 | doy : 4 // The week that contains Jan 4th is the first week of the year. | |
6810 | 7093 | } |
6811 | 7094 | }); |
6812 | 7095 | |
7013 | 7296 | //! based on work of petrbela : https://github.com/petrbela |
7014 | 7297 | |
7015 | 7298 | var months$6 = 'január_február_marec_apríl_máj_jún_júl_august_september_október_november_december'.split('_'); |
7016 | var monthsShort$4 = 'jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec'.split('_'); | |
7299 | var monthsShort$5 = 'jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec'.split('_'); | |
7017 | 7300 | function plural$5(n) { |
7018 | 7301 | return (n > 1) && (n < 5); |
7019 | 7302 | } |
7072 | 7355 | |
7073 | 7356 | moment.defineLocale('sk', { |
7074 | 7357 | months : months$6, |
7075 | monthsShort : monthsShort$4, | |
7358 | monthsShort : monthsShort$5, | |
7076 | 7359 | weekdays : 'nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota'.split('_'), |
7077 | 7360 | weekdaysShort : 'ne_po_ut_st_št_pi_so'.split('_'), |
7078 | 7361 | weekdaysMin : 'ne_po_ut_st_št_pi_so'.split('_'), |
7742 | 8025 | //! locale : Tamil [ta] |
7743 | 8026 | //! author : Arjunkumar Krishnamoorthy : https://github.com/tk120404 |
7744 | 8027 | |
7745 | var symbolMap$12 = { | |
8028 | var symbolMap$13 = { | |
7746 | 8029 | '1': '௧', |
7747 | 8030 | '2': '௨', |
7748 | 8031 | '3': '௩', |
7754 | 8037 | '9': '௯', |
7755 | 8038 | '0': '௦' |
7756 | 8039 | }; |
7757 | var numberMap$11 = { | |
8040 | var numberMap$12 = { | |
7758 | 8041 | '௧': '1', |
7759 | 8042 | '௨': '2', |
7760 | 8043 | '௩': '3', |
7810 | 8093 | }, |
7811 | 8094 | preparse: function (string) { |
7812 | 8095 | return string.replace(/[௧௨௩௪௫௬௭௮௯௦]/g, function (match) { |
7813 | return numberMap$11[match]; | |
8096 | return numberMap$12[match]; | |
7814 | 8097 | }); |
7815 | 8098 | }, |
7816 | 8099 | postformat: function (string) { |
7817 | 8100 | return string.replace(/\d/g, function (match) { |
7818 | return symbolMap$12[match]; | |
8101 | return symbolMap$13[match]; | |
7819 | 8102 | }); |
7820 | 8103 | }, |
7821 | 8104 | // refer http://ta.wikipedia.org/s/1er1 |
8251 | 8534 | calendar : { |
8252 | 8535 | sameDay : '[bugün saat] LT', |
8253 | 8536 | nextDay : '[yarın saat] LT', |
8254 | nextWeek : '[haftaya] dddd [saat] LT', | |
8537 | nextWeek : '[gelecek] dddd [saat] LT', | |
8255 | 8538 | lastDay : '[dün] LT', |
8256 | lastWeek : '[geçen hafta] dddd [saat] LT', | |
8539 | lastWeek : '[geçen] dddd [saat] LT', | |
8257 | 8540 | sameElse : 'L' |
8258 | 8541 | }, |
8259 | 8542 | relativeTime : { |
0 | !function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict"; | |
1 | //! moment.js locale configuration | |
2 | //! locale : Belarusian [be] | |
3 | //! author : Dmitry Demidov : https://github.com/demidov91 | |
4 | //! author: Praleska: http://praleska.pro/ | |
5 | //! Author : Menelion Elensúle : https://github.com/Oire | |
6 | function b(a,b){var c=a.split("_");return b%10===1&&b%100!==11?c[0]:b%10>=2&&b%10<=4&&(b%100<10||b%100>=20)?c[1]:c[2]}function c(a,c,d){var e={mm:c?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:c?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"};return"m"===d?c?"хвіліна":"хвіліну":"h"===d?c?"гадзіна":"гадзіну":a+" "+b(e[d],+a)} | |
7 | //! moment.js locale configuration | |
8 | //! locale : Breton [br] | |
9 | //! author : Jean-Baptiste Le Duigou : https://github.com/jbleduigou | |
10 | function d(a,b,c){var d={mm:"munutenn",MM:"miz",dd:"devezh"};return a+" "+g(d[c],a)}function e(a){switch(f(a)){case 1:case 3:case 4:case 5:case 9:return a+" bloaz";default:return a+" vloaz"}}function f(a){return a>9?f(a%10):a}function g(a,b){return 2===b?h(a):a}function h(a){var b={m:"v",b:"v",d:"z"};return void 0===b[a.charAt(0)]?a:b[a.charAt(0)]+a.substring(1)} | |
11 | //! moment.js locale configuration | |
12 | //! locale : Bosnian [bs] | |
13 | //! author : Nedim Cholich : https://github.com/frontyard | |
14 | //! based on (hr) translation by Bojan Marković | |
15 | function i(a,b,c){var d=a+" ";switch(c){case"m":return b?"jedna minuta":"jedne minute";case"mm":return d+=1===a?"minuta":2===a||3===a||4===a?"minute":"minuta";case"h":return b?"jedan sat":"jednog sata";case"hh":return d+=1===a?"sat":2===a||3===a||4===a?"sata":"sati";case"dd":return d+=1===a?"dan":"dana";case"MM":return d+=1===a?"mjesec":2===a||3===a||4===a?"mjeseca":"mjeseci";case"yy":return d+=1===a?"godina":2===a||3===a||4===a?"godine":"godina"}}function j(a){return a>1&&a<5&&1!==~~(a/10)}function k(a,b,c,d){var e=a+" ";switch(c){case"s":return b||d?"pár sekund":"pár sekundami";case"m":return b?"minuta":d?"minutu":"minutou";case"mm":return b||d?e+(j(a)?"minuty":"minut"):e+"minutami";break;case"h":return b?"hodina":d?"hodinu":"hodinou";case"hh":return b||d?e+(j(a)?"hodiny":"hodin"):e+"hodinami";break;case"d":return b||d?"den":"dnem";case"dd":return b||d?e+(j(a)?"dny":"dní"):e+"dny";break;case"M":return b||d?"měsíc":"měsícem";case"MM":return b||d?e+(j(a)?"měsíce":"měsíců"):e+"měsíci";break;case"y":return b||d?"rok":"rokem";case"yy":return b||d?e+(j(a)?"roky":"let"):e+"lety"}} | |
16 | //! moment.js locale configuration | |
17 | //! locale : German (Austria) [de-at] | |
18 | //! author : lluchs : https://github.com/lluchs | |
19 | //! author: Menelion Elensúle: https://github.com/Oire | |
20 | //! author : Martin Groller : https://github.com/MadMG | |
21 | //! author : Mikolaj Dadela : https://github.com/mik01aj | |
22 | function l(a,b,c,d){var e={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[a+" Tage",a+" Tagen"],M:["ein Monat","einem Monat"],MM:[a+" Monate",a+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[a+" Jahre",a+" Jahren"]};return b?e[c][0]:e[c][1]} | |
23 | //! moment.js locale configuration | |
24 | //! locale : German (Switzerland) [de-ch] | |
25 | //! author : sschueller : https://github.com/sschueller | |
26 | function m(a,b,c,d){var e={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[a+" Tage",a+" Tagen"],M:["ein Monat","einem Monat"],MM:[a+" Monate",a+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[a+" Jahre",a+" Jahren"]};return b?e[c][0]:e[c][1]} | |
27 | //! moment.js locale configuration | |
28 | //! locale : German [de] | |
29 | //! author : lluchs : https://github.com/lluchs | |
30 | //! author: Menelion Elensúle: https://github.com/Oire | |
31 | //! author : Mikolaj Dadela : https://github.com/mik01aj | |
32 | function n(a,b,c,d){var e={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[a+" Tage",a+" Tagen"],M:["ein Monat","einem Monat"],MM:[a+" Monate",a+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[a+" Jahre",a+" Jahren"]};return b?e[c][0]:e[c][1]}function o(a){return a instanceof Function||"[object Function]"===Object.prototype.toString.call(a)} | |
33 | //! moment.js locale configuration | |
34 | //! locale : Estonian [et] | |
35 | //! author : Henry Kehlmann : https://github.com/madhenry | |
36 | //! improvements : Illimar Tambek : https://github.com/ragulka | |
37 | function p(a,b,c,d){var e={s:["mõne sekundi","mõni sekund","paar sekundit"],m:["ühe minuti","üks minut"],mm:[a+" minuti",a+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[a+" tunni",a+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[a+" kuu",a+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[a+" aasta",a+" aastat"]};return b?e[c][2]?e[c][2]:e[c][1]:d?e[c][0]:e[c][1]}function q(a,b,c,d){var e="";switch(c){case"s":return d?"muutaman sekunnin":"muutama sekunti";case"m":return d?"minuutin":"minuutti";case"mm":e=d?"minuutin":"minuuttia";break;case"h":return d?"tunnin":"tunti";case"hh":e=d?"tunnin":"tuntia";break;case"d":return d?"päivän":"päivä";case"dd":e=d?"päivän":"päivää";break;case"M":return d?"kuukauden":"kuukausi";case"MM":e=d?"kuukauden":"kuukautta";break;case"y":return d?"vuoden":"vuosi";case"yy":e=d?"vuoden":"vuotta"}return e=r(a,d)+" "+e}function r(a,b){return a<10?b?Ea[a]:Da[a]:a} | |
38 | //! moment.js locale configuration | |
39 | //! locale : Konkani Latin script [gom-latn] | |
40 | //! author : The Discoverer : https://github.com/WikiDiscoverer | |
41 | function s(a,b,c,d){var e={s:["thodde secondanim","thodde second"],m:["eka mintan","ek minute"],mm:[a+" mintanim",a+" mintam"],h:["eka horan","ek hor"],hh:[a+" horanim",a+" hor"],d:["eka disan","ek dis"],dd:[a+" disanim",a+" dis"],M:["eka mhoinean","ek mhoino"],MM:[a+" mhoineanim",a+" mhoine"],y:["eka vorsan","ek voros"],yy:[a+" vorsanim",a+" vorsam"]};return b?e[c][0]:e[c][1]} | |
42 | //! moment.js locale configuration | |
43 | //! locale : Croatian [hr] | |
44 | //! author : Bojan Marković : https://github.com/bmarkovic | |
45 | function t(a,b,c){var d=a+" ";switch(c){case"m":return b?"jedna minuta":"jedne minute";case"mm":return d+=1===a?"minuta":2===a||3===a||4===a?"minute":"minuta";case"h":return b?"jedan sat":"jednog sata";case"hh":return d+=1===a?"sat":2===a||3===a||4===a?"sata":"sati";case"dd":return d+=1===a?"dan":"dana";case"MM":return d+=1===a?"mjesec":2===a||3===a||4===a?"mjeseca":"mjeseci";case"yy":return d+=1===a?"godina":2===a||3===a||4===a?"godine":"godina"}}function u(a,b,c,d){var e=a;switch(c){case"s":return d||b?"néhány másodperc":"néhány másodperce";case"m":return"egy"+(d||b?" perc":" perce");case"mm":return e+(d||b?" perc":" perce");case"h":return"egy"+(d||b?" óra":" órája");case"hh":return e+(d||b?" óra":" órája");case"d":return"egy"+(d||b?" nap":" napja");case"dd":return e+(d||b?" nap":" napja");case"M":return"egy"+(d||b?" hónap":" hónapja");case"MM":return e+(d||b?" hónap":" hónapja");case"y":return"egy"+(d||b?" év":" éve");case"yy":return e+(d||b?" év":" éve")}return""}function v(a){return(a?"":"[múlt] ")+"["+Oa[this.day()]+"] LT[-kor]"} | |
46 | //! moment.js locale configuration | |
47 | //! locale : Icelandic [is] | |
48 | //! author : Hinrik Örn Sigurðsson : https://github.com/hinrik | |
49 | function w(a){return a%100===11||a%10!==1}function x(a,b,c,d){var e=a+" ";switch(c){case"s":return b||d?"nokkrar sekúndur":"nokkrum sekúndum";case"m":return b?"mínúta":"mínútu";case"mm":return w(a)?e+(b||d?"mínútur":"mínútum"):b?e+"mínúta":e+"mínútu";case"hh":return w(a)?e+(b||d?"klukkustundir":"klukkustundum"):e+"klukkustund";case"d":return b?"dagur":d?"dag":"degi";case"dd":return w(a)?b?e+"dagar":e+(d?"daga":"dögum"):b?e+"dagur":e+(d?"dag":"degi");case"M":return b?"mánuður":d?"mánuð":"mánuði";case"MM":return w(a)?b?e+"mánuðir":e+(d?"mánuði":"mánuðum"):b?e+"mánuður":e+(d?"mánuð":"mánuði");case"y":return b||d?"ár":"ári";case"yy":return w(a)?e+(b||d?"ár":"árum"):e+(b||d?"ár":"ári")}} | |
50 | //! moment.js locale configuration | |
51 | //! locale : Luxembourgish [lb] | |
52 | //! author : mweimerskirch : https://github.com/mweimerskirch | |
53 | //! author : David Raison : https://github.com/kwisatz | |
54 | function y(a,b,c,d){var e={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return b?e[c][0]:e[c][1]}function z(a){var b=a.substr(0,a.indexOf(" "));return B(b)?"a "+a:"an "+a}function A(a){var b=a.substr(0,a.indexOf(" "));return B(b)?"viru "+a:"virun "+a}function B(a){if(a=parseInt(a,10),isNaN(a))return!1;if(a<0)return!0;if(a<10)return 4<=a&&a<=7;if(a<100){var b=a%10,c=a/10;return B(0===b?c:b)}if(a<1e4){for(;a>=10;)a/=10;return B(a)}return a/=1e3,B(a)}function C(a,b,c,d){return b?"kelios sekundės":d?"kelių sekundžių":"kelias sekundes"}function D(a,b,c,d){return b?F(c)[0]:d?F(c)[1]:F(c)[2]}function E(a){return a%10===0||a>10&&a<20}function F(a){return Ta[a].split("_")}function G(a,b,c,d){var e=a+" ";return 1===a?e+D(a,b,c[0],d):b?e+(E(a)?F(c)[1]:F(c)[0]):d?e+F(c)[1]:e+(E(a)?F(c)[1]:F(c)[2])}function H(a,b,c){return c?b%10===1&&b%100!==11?a[2]:a[3]:b%10===1&&b%100!==11?a[0]:a[1]}function I(a,b,c){return a+" "+H(Ua[c],a,b)}function J(a,b,c){return H(Ua[c],a,b)}function K(a,b){return b?"dažas sekundes":"dažām sekundēm"}function L(a,b,c,d){var e="";if(b)switch(c){case"s":e="काही सेकंद";break;case"m":e="एक मिनिट";break;case"mm":e="%d मिनिटे";break;case"h":e="एक तास";break;case"hh":e="%d तास";break;case"d":e="एक दिवस";break;case"dd":e="%d दिवस";break;case"M":e="एक महिना";break;case"MM":e="%d महिने";break;case"y":e="एक वर्ष";break;case"yy":e="%d वर्षे"}else switch(c){case"s":e="काही सेकंदां";break;case"m":e="एका मिनिटा";break;case"mm":e="%d मिनिटां";break;case"h":e="एका तासा";break;case"hh":e="%d तासां";break;case"d":e="एका दिवसा";break;case"dd":e="%d दिवसां";break;case"M":e="एका महिन्या";break;case"MM":e="%d महिन्यां";break;case"y":e="एका वर्षा";break;case"yy":e="%d वर्षां"}return e.replace(/%d/i,a)}function M(a){return a%10<5&&a%10>1&&~~(a/10)%10!==1}function N(a,b,c){var d=a+" ";switch(c){case"m":return b?"minuta":"minutę";case"mm":return d+(M(a)?"minuty":"minut");case"h":return b?"godzina":"godzinę";case"hh":return d+(M(a)?"godziny":"godzin");case"MM":return d+(M(a)?"miesiące":"miesięcy");case"yy":return d+(M(a)?"lata":"lat")}} | |
55 | //! moment.js locale configuration | |
56 | //! locale : Romanian [ro] | |
57 | //! author : Vlad Gurdiga : https://github.com/gurdiga | |
58 | //! author : Valentin Agachi : https://github.com/avaly | |
59 | function O(a,b,c){var d={mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"},e=" ";return(a%100>=20||a>=100&&a%100===0)&&(e=" de "),a+e+d[c]} | |
60 | //! moment.js locale configuration | |
61 | //! locale : Russian [ru] | |
62 | //! author : Viktorminator : https://github.com/Viktorminator | |
63 | //! Author : Menelion Elensúle : https://github.com/Oire | |
64 | //! author : Коренберг Марк : https://github.com/socketpair | |
65 | function P(a,b){var c=a.split("_");return b%10===1&&b%100!==11?c[0]:b%10>=2&&b%10<=4&&(b%100<10||b%100>=20)?c[1]:c[2]}function Q(a,b,c){var d={mm:b?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"};return"m"===c?b?"минута":"минуту":a+" "+P(d[c],+a)}function R(a){return a>1&&a<5}function S(a,b,c,d){var e=a+" ";switch(c){case"s":return b||d?"pár sekúnd":"pár sekundami";case"m":return b?"minúta":d?"minútu":"minútou";case"mm":return b||d?e+(R(a)?"minúty":"minút"):e+"minútami";break;case"h":return b?"hodina":d?"hodinu":"hodinou";case"hh":return b||d?e+(R(a)?"hodiny":"hodín"):e+"hodinami";break;case"d":return b||d?"deň":"dňom";case"dd":return b||d?e+(R(a)?"dni":"dní"):e+"dňami";break;case"M":return b||d?"mesiac":"mesiacom";case"MM":return b||d?e+(R(a)?"mesiace":"mesiacov"):e+"mesiacmi";break;case"y":return b||d?"rok":"rokom";case"yy":return b||d?e+(R(a)?"roky":"rokov"):e+"rokmi"}} | |
66 | //! moment.js locale configuration | |
67 | //! locale : Slovenian [sl] | |
68 | //! author : Robert Sedovšek : https://github.com/sedovsek | |
69 | function T(a,b,c,d){var e=a+" ";switch(c){case"s":return b||d?"nekaj sekund":"nekaj sekundami";case"m":return b?"ena minuta":"eno minuto";case"mm":return e+=1===a?b?"minuta":"minuto":2===a?b||d?"minuti":"minutama":a<5?b||d?"minute":"minutami":b||d?"minut":"minutami";case"h":return b?"ena ura":"eno uro";case"hh":return e+=1===a?b?"ura":"uro":2===a?b||d?"uri":"urama":a<5?b||d?"ure":"urami":b||d?"ur":"urami";case"d":return b||d?"en dan":"enim dnem";case"dd":return e+=1===a?b||d?"dan":"dnem":2===a?b||d?"dni":"dnevoma":b||d?"dni":"dnevi";case"M":return b||d?"en mesec":"enim mesecem";case"MM":return e+=1===a?b||d?"mesec":"mesecem":2===a?b||d?"meseca":"mesecema":a<5?b||d?"mesece":"meseci":b||d?"mesecev":"meseci";case"y":return b||d?"eno leto":"enim letom";case"yy":return e+=1===a?b||d?"leto":"letom":2===a?b||d?"leti":"letoma":a<5?b||d?"leta":"leti":b||d?"let":"leti"}}function U(a){var b=a;return b=a.indexOf("jaj")!==-1?b.slice(0,-3)+"leS":a.indexOf("jar")!==-1?b.slice(0,-3)+"waQ":a.indexOf("DIS")!==-1?b.slice(0,-3)+"nem":b+" pIq"}function V(a){var b=a;return b=a.indexOf("jaj")!==-1?b.slice(0,-3)+"Hu’":a.indexOf("jar")!==-1?b.slice(0,-3)+"wen":a.indexOf("DIS")!==-1?b.slice(0,-3)+"ben":b+" ret"}function W(a,b,c,d){var e=X(a);switch(c){case"mm":return e+" tup";case"hh":return e+" rep";case"dd":return e+" jaj";case"MM":return e+" jar";case"yy":return e+" DIS"}}function X(a){var b=Math.floor(a%1e3/100),c=Math.floor(a%100/10),d=a%10,e="";return b>0&&(e+=vb[b]+"vatlh"),c>0&&(e+=(""!==e?" ":"")+vb[c]+"maH"),d>0&&(e+=(""!==e?" ":"")+vb[d]),""===e?"pagh":e}function Y(a,b,c,d){var e={s:["viensas secunds","'iensas secunds"],m:["'n míut","'iens míut"],mm:[a+" míuts",""+a+" míuts"],h:["'n þora","'iensa þora"],hh:[a+" þoras",""+a+" þoras"],d:["'n ziua","'iensa ziua"],dd:[a+" ziuas",""+a+" ziuas"],M:["'n mes","'iens mes"],MM:[a+" mesen",""+a+" mesen"],y:["'n ar","'iens ar"],yy:[a+" ars",""+a+" ars"]};return d?e[c][0]:b?e[c][0]:e[c][1]} | |
70 | //! moment.js locale configuration | |
71 | //! locale : Ukrainian [uk] | |
72 | //! author : zemlanin : https://github.com/zemlanin | |
73 | //! Author : Menelion Elensúle : https://github.com/Oire | |
74 | function Z(a,b){var c=a.split("_");return b%10===1&&b%100!==11?c[0]:b%10>=2&&b%10<=4&&(b%100<10||b%100>=20)?c[1]:c[2]}function $(a,b,c){var d={mm:b?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:b?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};return"m"===c?b?"хвилина":"хвилину":"h"===c?b?"година":"годину":a+" "+Z(d[c],+a)}function _(a,b){var c={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};if(!a)return c.nominative;var d=/(\[[ВвУу]\]) ?dddd/.test(b)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(b)?"genitive":"nominative";return c[d][a.day()]}function aa(a){return function(){return a+"о"+(11===this.hours()?"б":"")+"] LT"}} | |
75 | //! moment.js locale configuration | |
76 | //! locale : Afrikaans [af] | |
77 | //! author : Werner Mollentze : https://github.com/wernerm | |
78 | a.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(a){return/^nm$/i.test(a)},meridiem:function(a,b,c){return a<12?c?"vm":"VM":c?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(a){return a+(1===a||8===a||a>=20?"ste":"de")},week:{dow:1,doy:4}}), | |
79 | //! moment.js locale configuration | |
80 | //! locale : Arabic (Algeria) [ar-dz] | |
81 | //! author : Noureddine LOUAHEDJ : https://github.com/noureddineme | |
82 | a.defineLocale("ar-dz",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"أح_إث_ثلا_أر_خم_جم_سب".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:4}}), | |
83 | //! moment.js locale configuration | |
84 | //! locale : Arabic (Kuwait) [ar-kw] | |
85 | //! author : Nusret Parlak: https://github.com/nusretparlak | |
86 | a.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}}); | |
87 | //! moment.js locale configuration | |
88 | //! locale : Arabic (Lybia) [ar-ly] | |
89 | //! author : Ali Hmer: https://github.com/kikoanis | |
90 | var ba={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},ca=function(a){return 0===a?0:1===a?1:2===a?2:a%100>=3&&a%100<=10?3:a%100>=11?4:5},da={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},ea=function(a){return function(b,c,d,e){var f=ca(b),g=da[a][ca(b)];return 2===f&&(g=g[c?0:1]),g.replace(/%d/i,b)}},fa=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];a.defineLocale("ar-ly",{months:fa,monthsShort:fa,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(a){return"م"===a},meridiem:function(a,b,c){return a<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:ea("s"),m:ea("m"),mm:ea("m"),h:ea("h"),hh:ea("h"),d:ea("d"),dd:ea("d"),M:ea("M"),MM:ea("M"),y:ea("y"),yy:ea("y")},preparse:function(a){return a.replace(/\u200f/g,"").replace(/،/g,",")},postformat:function(a){return a.replace(/\d/g,function(a){return ba[a]}).replace(/,/g,"،")},week:{dow:6,doy:12}}), | |
91 | //! moment.js locale configuration | |
92 | //! locale : Arabic (Morocco) [ar-ma] | |
93 | //! author : ElFadili Yassine : https://github.com/ElFadiliY | |
94 | //! author : Abdel Said : https://github.com/abdelsaid | |
95 | a.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:6,doy:12}}); | |
96 | //! moment.js locale configuration | |
97 | //! locale : Arabic (Saudi Arabia) [ar-sa] | |
98 | //! author : Suhail Alkowaileet : https://github.com/xsoh | |
99 | var ga={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},ha={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};a.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(a){return"م"===a},meridiem:function(a,b,c){return a<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(a){return a.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(a){return ha[a]}).replace(/،/g,",")},postformat:function(a){return a.replace(/\d/g,function(a){return ga[a]}).replace(/,/g,"،")},week:{dow:0,doy:6}}), | |
100 | //! moment.js locale configuration | |
101 | //! locale : Arabic (Tunisia) [ar-tn] | |
102 | //! author : Nader Toukabri : https://github.com/naderio | |
103 | a.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}}); | |
104 | //! moment.js locale configuration | |
105 | //! locale : Arabic [ar] | |
106 | //! author : Abdel Said: https://github.com/abdelsaid | |
107 | //! author : Ahmed Elkhatib | |
108 | //! author : forabi https://github.com/forabi | |
109 | var ia={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},ja={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},ka=function(a){return 0===a?0:1===a?1:2===a?2:a%100>=3&&a%100<=10?3:a%100>=11?4:5},la={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},ma=function(a){return function(b,c,d,e){var f=ka(b),g=la[a][ka(b)];return 2===f&&(g=g[c?0:1]),g.replace(/%d/i,b)}},na=["كانون الثاني يناير","شباط فبراير","آذار مارس","نيسان أبريل","أيار مايو","حزيران يونيو","تموز يوليو","آب أغسطس","أيلول سبتمبر","تشرين الأول أكتوبر","تشرين الثاني نوفمبر","كانون الأول ديسمبر"];a.defineLocale("ar",{months:na,monthsShort:na,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(a){return"م"===a},meridiem:function(a,b,c){return a<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:ma("s"),m:ma("m"),mm:ma("m"),h:ma("h"),hh:ma("h"),d:ma("d"),dd:ma("d"),M:ma("M"),MM:ma("M"),y:ma("y"),yy:ma("y")},preparse:function(a){return a.replace(/\u200f/g,"").replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(a){return ja[a]}).replace(/،/g,",")},postformat:function(a){return a.replace(/\d/g,function(a){return ia[a]}).replace(/,/g,"،")},week:{dow:6,doy:12}}); | |
110 | //! moment.js locale configuration | |
111 | //! locale : Azerbaijani [az] | |
112 | //! author : topchiyev : https://github.com/topchiyev | |
113 | var oa={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"};a.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"birneçə saniyyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(a){return/^(gündüz|axşam)$/.test(a)},meridiem:function(a,b,c){return a<4?"gecə":a<12?"səhər":a<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(a){if(0===a)return a+"-ıncı";var b=a%10,c=a%100-b,d=a>=100?100:null;return a+(oa[b]||oa[c]||oa[d])},week:{dow:1,doy:7}}),a.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Вв] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:c,mm:c,h:c,hh:c,d:"дзень",dd:c,M:"месяц",MM:c,y:"год",yy:c},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(a){return/^(дня|вечара)$/.test(a)},meridiem:function(a,b,c){return a<4?"ночы":a<12?"раніцы":a<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(a,b){switch(b){case"M":case"d":case"DDD":case"w":case"W":return a%10!==2&&a%10!==3||a%100===12||a%100===13?a+"-ы":a+"-і";case"D":return a+"-га";default:return a}},week:{dow:1,doy:7}}), | |
114 | //! moment.js locale configuration | |
115 | //! locale : Bulgarian [bg] | |
116 | //! author : Krasen Borisov : https://github.com/kraz | |
117 | a.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[В изминалата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[В изминалия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дни",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(a){var b=a%10,c=a%100;return 0===a?a+"-ев":0===c?a+"-ен":c>10&&c<20?a+"-ти":1===b?a+"-ви":2===b?a+"-ри":7===b||8===b?a+"-ми":a+"-ти"},week:{dow:1,doy:7}}); | |
118 | //! moment.js locale configuration | |
119 | //! locale : Bengali [bn] | |
120 | //! author : Kaushik Gandhi : https://github.com/kaushikgandhi | |
121 | var pa={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},qa={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};a.defineLocale("bn",{months:"জানুয়ারী_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব_মার্চ_এপ্র_মে_জুন_জুল_আগ_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(a){return a.replace(/[১২৩৪৫৬৭৮৯০]/g,function(a){return qa[a]})},postformat:function(a){return a.replace(/\d/g,function(a){return pa[a]})},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(a,b){return 12===a&&(a=0),"রাত"===b&&a>=4||"দুপুর"===b&&a<5||"বিকাল"===b?a+12:a},meridiem:function(a,b,c){return a<4?"রাত":a<10?"সকাল":a<17?"দুপুর":a<20?"বিকাল":"রাত"},week:{dow:0,doy:6}}); | |
122 | //! moment.js locale configuration | |
123 | //! locale : Tibetan [bo] | |
124 | //! author : Thupten N. Chakrishar : https://github.com/vajradog | |
125 | var ra={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},sa={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};a.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(a){return a.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,function(a){return sa[a]})},postformat:function(a){return a.replace(/\d/g,function(a){return ra[a]})},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(a,b){return 12===a&&(a=0),"མཚན་མོ"===b&&a>=4||"ཉིན་གུང"===b&&a<5||"དགོང་དག"===b?a+12:a},meridiem:function(a,b,c){return a<4?"མཚན་མོ":a<10?"ཞོགས་ཀས":a<17?"ཉིན་གུང":a<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}}),a.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondennoù",m:"ur vunutenn",mm:d,h:"un eur",hh:"%d eur",d:"un devezh",dd:d,M:"ur miz",MM:d,y:"ur bloaz",yy:e},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(a){var b=1===a?"añ":"vet";return a+b},week:{dow:1,doy:4}}),a.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",m:i,mm:i,h:i,hh:i,d:"dan",dd:i,M:"mjesec",MM:i,y:"godinu",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}), | |
126 | //! moment.js locale configuration | |
127 | //! locale : Catalan [ca] | |
128 | //! author : Juan G. Hurtado : https://github.com/juanghurtado | |
129 | a.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"Dg_Dl_Dt_Dc_Dj_Dv_Ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"[el] D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"[el] D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"[el] dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(a,b){var c=1===a?"r":2===a?"n":3===a?"r":4===a?"t":"è";return"w"!==b&&"W"!==b||(c="a"),a+c},week:{dow:1,doy:4}}); | |
130 | //! moment.js locale configuration | |
131 | //! locale : Czech [cs] | |
132 | //! author : petrbela : https://github.com/petrbela | |
133 | var ta="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),ua="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_");a.defineLocale("cs",{months:ta,monthsShort:ua,monthsParse:function(a,b){var c,d=[];for(c=0;c<12;c++)d[c]=new RegExp("^"+a[c]+"$|^"+b[c]+"$","i");return d}(ta,ua),shortMonthsParse:function(a){var b,c=[];for(b=0;b<12;b++)c[b]=new RegExp("^"+a[b]+"$","i");return c}(ua),longMonthsParse:function(a){var b,c=[];for(b=0;b<12;b++)c[b]=new RegExp("^"+a[b]+"$","i");return c}(ta),weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:k,m:k,mm:k,h:k,hh:k,d:k,dd:k,M:k,MM:k,y:k,yy:k},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}), | |
134 | //! moment.js locale configuration | |
135 | //! locale : Chuvash [cv] | |
136 | //! author : Anatoly Mironov : https://github.com/mirontoli | |
137 | a.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(a){var b=/сехет$/i.exec(a)?"рен":/ҫул$/i.exec(a)?"тан":"ран";return a+b},past:"%s каялла",s:"пӗр-ик ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}}), | |
138 | //! moment.js locale configuration | |
139 | //! locale : Welsh [cy] | |
140 | //! author : Robert Allen : https://github.com/robgallen | |
141 | //! author : https://github.com/ryangreaves | |
142 | a.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(a){var b=a,c="",d=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"];return b>20?c=40===b||50===b||60===b||80===b||100===b?"fed":"ain":b>0&&(c=d[b]),a+c},week:{dow:1,doy:4}}), | |
143 | //! moment.js locale configuration | |
144 | //! locale : Danish [da] | |
145 | //! author : Ulrik Nielsen : https://github.com/mrbase | |
146 | a.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),a.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:l,mm:"%d Minuten",h:l,hh:"%d Stunden",d:l,dd:l,M:l,MM:l,y:l,yy:l},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),a.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._März_April_Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH.mm",LLLL:"dddd, D. MMMM YYYY HH.mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:m,mm:"%d Minuten",h:m,hh:"%d Stunden",d:m,dd:m,M:m,MM:m,y:m,yy:m},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),a.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:n,mm:"%d Minuten",h:n,hh:"%d Stunden",d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}); | |
147 | //! moment.js locale configuration | |
148 | //! locale : Maldivian [dv] | |
149 | //! author : Jawish Hameed : https://github.com/jawish | |
150 | var va=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],wa=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"];a.defineLocale("dv",{months:va,monthsShort:va,weekdays:wa,weekdaysShort:wa,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(a){return"މފ"===a},meridiem:function(a,b,c){return a<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(a){return a.replace(/،/g,",")},postformat:function(a){return a.replace(/,/g,"،")},week:{dow:7,doy:12}}), | |
151 | //! moment.js locale configuration | |
152 | //! locale : Greek [el] | |
153 | //! author : Aggelos Karalias : https://github.com/mehiel | |
154 | a.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(a,b){return a?/D/.test(b.substring(0,b.indexOf("MMMM")))?this._monthsGenitiveEl[a.month()]:this._monthsNominativeEl[a.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(a,b,c){return a>11?c?"μμ":"ΜΜ":c?"πμ":"ΠΜ"},isPM:function(a){return"μ"===(a+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(a,b){var c=this._calendarEl[a],d=b&&b.hours();return o(c)&&(c=c.apply(b)),c.replace("{}",d%12===1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}}), | |
155 | //! moment.js locale configuration | |
156 | //! locale : English (Australia) [en-au] | |
157 | //! author : Jared Morse : https://github.com/jarcoal | |
158 | a.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var b=a%10,c=1===~~(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c},week:{dow:1,doy:4}}), | |
159 | //! moment.js locale configuration | |
160 | //! locale : English (Canada) [en-ca] | |
161 | //! author : Jonathan Abourbih : https://github.com/jonbca | |
162 | a.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var b=a%10,c=1===~~(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c}}), | |
163 | //! moment.js locale configuration | |
164 | //! locale : English (United Kingdom) [en-gb] | |
165 | //! author : Chris Gedrim : https://github.com/chrisgedrim | |
166 | a.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var b=a%10,c=1===~~(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c},week:{dow:1,doy:4}}), | |
167 | //! moment.js locale configuration | |
168 | //! locale : English (Ireland) [en-ie] | |
169 | //! author : Chris Cartlidge : https://github.com/chriscartlidge | |
170 | a.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var b=a%10,c=1===~~(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c},week:{dow:1,doy:4}}), | |
171 | //! moment.js locale configuration | |
172 | //! locale : English (New Zealand) [en-nz] | |
173 | //! author : Luke McGregor : https://github.com/lukemcgregor | |
174 | a.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var b=a%10,c=1===~~(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c},week:{dow:1,doy:4}}), | |
175 | //! moment.js locale configuration | |
176 | //! locale : Esperanto [eo] | |
177 | //! author : Colin Dean : https://github.com/colindean | |
178 | //! author : Mia Nordentoft Imperatori : https://github.com/miestasmia | |
179 | //! comment : miestasmia corrected the translation by colindean | |
180 | a.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-a de] MMMM, YYYY",LLL:"D[-a de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-a de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(a){return"p"===a.charAt(0).toLowerCase()},meridiem:function(a,b,c){return a>11?c?"p.t.m.":"P.T.M.":c?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}}); | |
181 | //! moment.js locale configuration | |
182 | //! locale : Spanish (Dominican Republic) [es-do] | |
183 | var xa="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),ya="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_");a.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(a,b){return a?/-MMM-/.test(b)?ya[a.month()]:xa[a.month()]:xa},monthsParseExact:!0,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}); | |
184 | //! moment.js locale configuration | |
185 | //! locale : Spanish [es] | |
186 | //! author : Julio Napurí : https://github.com/julionc | |
187 | var za="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),Aa="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_");a.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(a,b){return a?/-MMM-/.test(b)?Aa[a.month()]:za[a.month()]:za},monthsParseExact:!0,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}),a.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:p,m:p,mm:p,h:p,hh:p,d:p,dd:"%d päeva",M:p,MM:p,y:p,yy:p},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}), | |
188 | //! moment.js locale configuration | |
189 | //! locale : Basque [eu] | |
190 | //! author : Eneko Illarramendi : https://github.com/eillarra | |
191 | a.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}); | |
192 | //! moment.js locale configuration | |
193 | //! locale : Persian [fa] | |
194 | //! author : Ebrahim Byagowi : https://github.com/ebraminio | |
195 | var Ba={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},Ca={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};a.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یکشنبه_دوشنبه_سهشنبه_چهارشنبه_پنجشنبه_جمعه_شنبه".split("_"),weekdaysShort:"یکشنبه_دوشنبه_سهشنبه_چهارشنبه_پنجشنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(a){return/بعد از ظهر/.test(a)},meridiem:function(a,b,c){return a<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(a){return a.replace(/[۰-۹]/g,function(a){return Ca[a]}).replace(/،/g,",")},postformat:function(a){return a.replace(/\d/g,function(a){return Ba[a]}).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}}); | |
196 | //! moment.js locale configuration | |
197 | //! locale : Finnish [fi] | |
198 | //! author : Tarmo Aidantausta : https://github.com/bleadof | |
199 | var Da="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),Ea=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",Da[7],Da[8],Da[9]];a.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:q,m:q,mm:q,h:q,hh:q,d:q,dd:q,M:q,MM:q,y:q,yy:q},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}), | |
200 | //! moment.js locale configuration | |
201 | //! locale : Faroese [fo] | |
202 | //! author : Ragnar Johannesen : https://github.com/ragnar123 | |
203 | a.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",m:"ein minutt",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaði",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}), | |
204 | //! moment.js locale configuration | |
205 | //! locale : French (Canada) [fr-ca] | |
206 | //! author : Jonathan Abourbih : https://github.com/jonbca | |
207 | a.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(a,b){switch(b){default:case"M":case"Q":case"D":case"DDD":case"d":return a+(1===a?"er":"e");case"w":case"W":return a+(1===a?"re":"e")}}}), | |
208 | //! moment.js locale configuration | |
209 | //! locale : French (Switzerland) [fr-ch] | |
210 | //! author : Gaspard Bucher : https://github.com/gaspard | |
211 | a.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(a,b){switch(b){default:case"M":case"Q":case"D":case"DDD":case"d":return a+(1===a?"er":"e");case"w":case"W":return a+(1===a?"re":"e")}},week:{dow:1,doy:4}}), | |
212 | //! moment.js locale configuration | |
213 | //! locale : French [fr] | |
214 | //! author : John Fischer : https://github.com/jfroffice | |
215 | a.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(a,b){switch(b){case"D":return a+(1===a?"er":"");default:case"M":case"Q":case"DDD":case"d":return a+(1===a?"er":"e");case"w":case"W":return a+(1===a?"re":"e")}},week:{dow:1,doy:4}}); | |
216 | //! moment.js locale configuration | |
217 | //! locale : Frisian [fy] | |
218 | //! author : Robin van der Vliet : https://github.com/robin0van0der0v | |
219 | var Fa="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),Ga="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");a.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(a,b){return a?/-MMM-/.test(b)?Ga[a.month()]:Fa[a.month()]:Fa},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(a){return a+(1===a||8===a||a>=20?"ste":"de")},week:{dow:1,doy:4}}); | |
220 | //! moment.js locale configuration | |
221 | //! locale : Scottish Gaelic [gd] | |
222 | //! author : Jon Ashdown : https://github.com/jonashdown | |
223 | var Ha=["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],Ia=["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],Ja=["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],Ka=["Did","Dil","Dim","Dic","Dia","Dih","Dis"],La=["Dò","Lu","Mà","Ci","Ar","Ha","Sa"];a.defineLocale("gd",{months:Ha,monthsShort:Ia,monthsParseExact:!0,weekdays:Ja,weekdaysShort:Ka,weekdaysMin:La,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(a){var b=1===a?"d":a%10===2?"na":"mh";return a+b},week:{dow:1,doy:4}}), | |
224 | //! moment.js locale configuration | |
225 | //! locale : Galician [gl] | |
226 | //! author : Juan G. Hurtado : https://github.com/juanghurtado | |
227 | a.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(a){return 0===a.indexOf("un")?"n"+a:"en "+a},past:"hai %s",s:"uns segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}),a.defineLocale("gom-latn",{months:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budvar_Brestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM[achea] Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Ieta to] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fatlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:s,m:s,mm:s,h:s,hh:s,d:s,dd:s,M:s,MM:s,y:s,yy:s},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(a,b){switch(b){case"D":return a+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return a}},week:{dow:1,doy:4},meridiemParse:/rati|sokalli|donparam|sanje/,meridiemHour:function(a,b){return 12===a&&(a=0),"rati"===b?a<4?a:a+12:"sokalli"===b?a:"donparam"===b?a>12?a:a+12:"sanje"===b?a+12:void 0},meridiem:function(a,b,c){return a<4?"rati":a<12?"sokalli":a<16?"donparam":a<20?"sanje":"rati"}}), | |
228 | //! moment.js locale configuration | |
229 | //! locale : Hebrew [he] | |
230 | //! author : Tomer Cohen : https://github.com/tomer | |
231 | //! author : Moshe Simantov : https://github.com/DevelopmentIL | |
232 | //! author : Tal Ater : https://github.com/TalAter | |
233 | a.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(a){return 2===a?"שעתיים":a+" שעות"},d:"יום",dd:function(a){return 2===a?"יומיים":a+" ימים"},M:"חודש",MM:function(a){return 2===a?"חודשיים":a+" חודשים"},y:"שנה",yy:function(a){return 2===a?"שנתיים":a%10===0&&10!==a?a+" שנה":a+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(a){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(a)},meridiem:function(a,b,c){return a<5?"לפנות בוקר":a<10?"בבוקר":a<12?c?'לפנה"צ':"לפני הצהריים":a<18?c?'אחה"צ':"אחרי הצהריים":"בערב"}}); | |
234 | //! moment.js locale configuration | |
235 | //! locale : Hindi [hi] | |
236 | //! author : Mayank Singhal : https://github.com/mayanksinghal | |
237 | var Ma={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},Na={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};a.defineLocale("hi",{months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(a){return a.replace(/[१२३४५६७८९०]/g,function(a){return Na[a]})},postformat:function(a){return a.replace(/\d/g,function(a){return Ma[a]})},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(a,b){return 12===a&&(a=0),"रात"===b?a<4?a:a+12:"सुबह"===b?a:"दोपहर"===b?a>=10?a:a+12:"शाम"===b?a+12:void 0},meridiem:function(a,b,c){return a<4?"रात":a<10?"सुबह":a<17?"दोपहर":a<20?"शाम":"रात"},week:{dow:0,doy:6}}),a.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}); | |
238 | //! moment.js locale configuration | |
239 | //! locale : Hungarian [hu] | |
240 | //! author : Adam Brunner : https://github.com/adambrunner | |
241 | var Oa="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");a.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(a){return"u"===a.charAt(1).toLowerCase()},meridiem:function(a,b,c){return a<12?c===!0?"de":"DE":c===!0?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return v.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return v.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:u,m:u,mm:u,h:u,hh:u,d:u,dd:u,M:u,MM:u,y:u,yy:u},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}), | |
242 | //! moment.js locale configuration | |
243 | //! locale : Armenian [hy-am] | |
244 | //! author : Armendarabyan : https://github.com/armendarabyan | |
245 | a.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(a){return/^(ցերեկվա|երեկոյան)$/.test(a)},meridiem:function(a){return a<4?"գիշերվա":a<12?"առավոտվա":a<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(a,b){switch(b){case"DDD":case"w":case"W":case"DDDo":return 1===a?a+"-ին":a+"-րդ";default:return a}},week:{dow:1,doy:7}}), | |
246 | //! moment.js locale configuration | |
247 | //! locale : Indonesian [id] | |
248 | //! author : Mohammad Satrio Utomo : https://github.com/tyok | |
249 | //! reference: http://id.wikisource.org/wiki/Pedoman_Umum_Ejaan_Bahasa_Indonesia_yang_Disempurnakan | |
250 | a.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(a,b){return 12===a&&(a=0),"pagi"===b?a:"siang"===b?a>=11?a:a+12:"sore"===b||"malam"===b?a+12:void 0},meridiem:function(a,b,c){return a<11?"pagi":a<15?"siang":a<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}}),a.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:x,m:x,mm:x,h:"klukkustund",hh:x,d:x,dd:x,M:x,MM:x,y:x,yy:x},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}), | |
251 | //! moment.js locale configuration | |
252 | //! locale : Italian [it] | |
253 | //! author : Lorenzo : https://github.com/aliem | |
254 | //! author: Mattia Larentis: https://github.com/nostalgiaz | |
255 | a.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(a){return(/^[0-9].+$/.test(a)?"tra":"in")+" "+a},past:"%s fa",s:"alcuni secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}), | |
256 | //! moment.js locale configuration | |
257 | //! locale : Japanese [ja] | |
258 | //! author : LI Long : https://github.com/baryon | |
259 | a.defineLocale("ja",{months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 HH:mm dddd",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日 HH:mm dddd"},meridiemParse:/午前|午後/i,isPM:function(a){return"午後"===a},meridiem:function(a,b,c){return a<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:"[来週]dddd LT",lastDay:"[昨日] LT",lastWeek:"[前週]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(a,b){switch(b){case"d":case"D":case"DDD":return a+"日";default:return a}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}}), | |
260 | //! moment.js locale configuration | |
261 | //! locale : Javanese [jv] | |
262 | //! author : Rony Lantip : https://github.com/lantip | |
263 | //! reference: http://jv.wikipedia.org/wiki/Basa_Jawa | |
264 | a.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(a,b){return 12===a&&(a=0),"enjing"===b?a:"siyang"===b?a>=11?a:a+12:"sonten"===b||"ndalu"===b?a+12:void 0},meridiem:function(a,b,c){return a<11?"enjing":a<15?"siyang":a<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}}), | |
265 | //! moment.js locale configuration | |
266 | //! locale : Georgian [ka] | |
267 | //! author : Irakli Janiashvili : https://github.com/irakli-janiashvili | |
268 | a.defineLocale("ka",{months:{standalone:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),format:"იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს".split("_")},monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(a){return/(წამი|წუთი|საათი|წელი)/.test(a)?a.replace(/ი$/,"ში"):a+"ში"},past:function(a){return/(წამი|წუთი|საათი|დღე|თვე)/.test(a)?a.replace(/(ი|ე)$/,"ის უკან"):/წელი/.test(a)?a.replace(/წელი$/,"წლის უკან"):void 0},s:"რამდენიმე წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(a){return 0===a?a:1===a?a+"-ლი":a<20||a<=100&&a%20===0||a%100===0?"მე-"+a:a+"-ე"},week:{dow:1,doy:7}}); | |
269 | //! moment.js locale configuration | |
270 | //! locale : Kazakh [kk] | |
271 | //! authors : Nurlan Rakhimzhanov : https://github.com/nurlan | |
272 | var Pa={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};a.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(a){var b=a%10,c=a>=100?100:null;return a+(Pa[a]||Pa[b]||Pa[c])},week:{dow:1,doy:7}}), | |
273 | //! moment.js locale configuration | |
274 | //! locale : Cambodian [km] | |
275 | //! author : Kruy Vanna : https://github.com/kruyvanna | |
276 | a.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysMin:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},week:{dow:1,doy:4}}); | |
277 | //! moment.js locale configuration | |
278 | //! locale : Kannada [kn] | |
279 | //! author : Rajeev Naik : https://github.com/rajeevnaikte | |
280 | var Qa={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},Ra={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"};a.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬ_ಅಕ್ಟೋಬ_ನವೆಂಬ_ಡಿಸೆಂಬ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(a){return a.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,function(a){return Ra[a]})},postformat:function(a){return a.replace(/\d/g,function(a){return Qa[a]})},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(a,b){return 12===a&&(a=0),"ರಾತ್ರಿ"===b?a<4?a:a+12:"ಬೆಳಿಗ್ಗೆ"===b?a:"ಮಧ್ಯಾಹ್ನ"===b?a>=10?a:a+12:"ಸಂಜೆ"===b?a+12:void 0},meridiem:function(a,b,c){return a<4?"ರಾತ್ರಿ":a<10?"ಬೆಳಿಗ್ಗೆ":a<17?"ಮಧ್ಯಾಹ್ನ":a<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(a){return a+"ನೇ"},week:{dow:0,doy:6}}), | |
281 | //! moment.js locale configuration | |
282 | //! locale : Korean [ko] | |
283 | //! author : Kyungwook, Park : https://github.com/kyungw00k | |
284 | //! author : Jeeeyul Lee <jeeeyul@gmail.com> | |
285 | a.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}일/,ordinal:"%d일",meridiemParse:/오전|오후/,isPM:function(a){return"오후"===a},meridiem:function(a,b,c){return a<12?"오전":"오후"}}); | |
286 | //! moment.js locale configuration | |
287 | //! locale : Kyrgyz [ky] | |
288 | //! author : Chyngyz Arystan uulu : https://github.com/chyngyz | |
289 | var Sa={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"};a.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кече саат] LT",lastWeek:"[Өткен аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(a){var b=a%10,c=a>=100?100:null;return a+(Sa[a]||Sa[b]||Sa[c])},week:{dow:1,doy:7}}),a.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:z,past:A,s:"e puer Sekonnen",m:y,mm:"%d Minutten",h:y,hh:"%d Stonnen",d:y,dd:"%d Deeg",M:y,MM:"%d Méint",y:y,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}), | |
290 | //! moment.js locale configuration | |
291 | //! locale : Lao [lo] | |
292 | //! author : Ryan Hart : https://github.com/ryanhart2 | |
293 | a.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(a){return"ຕອນແລງ"===a},meridiem:function(a,b,c){return a<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(a){return"ທີ່"+a}}); | |
294 | //! moment.js locale configuration | |
295 | //! locale : Lithuanian [lt] | |
296 | //! author : Mindaugas Mozūras : https://github.com/mmozuras | |
297 | var Ta={m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};a.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:C,m:D,mm:G,h:D,hh:G,d:D,dd:G,M:D,MM:G,y:D,yy:G},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(a){return a+"-oji"},week:{dow:1,doy:4}}); | |
298 | //! moment.js locale configuration | |
299 | //! locale : Latvian [lv] | |
300 | //! author : Kristaps Karlsons : https://github.com/skakri | |
301 | //! author : Jānis Elmeris : https://github.com/JanisE | |
302 | var Ua={m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};a.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:K,m:J,mm:I,h:J,hh:I,d:J,dd:I,M:J,MM:I,y:J,yy:I},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}); | |
303 | //! moment.js locale configuration | |
304 | //! locale : Montenegrin [me] | |
305 | //! author : Miodrag Nikač <miodrag@restartit.me> : https://github.com/miodragnikac | |
306 | var Va={words:{m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(a,b){return 1===a?b[0]:a>=2&&a<=4?b[1]:b[2]},translate:function(a,b,c){var d=Va.words[c];return 1===c.length?b?d[0]:d[1]:a+" "+Va.correctGrammaticalCase(a,d)}};a.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var a=["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return a[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",m:Va.translate,mm:Va.translate,h:Va.translate,hh:Va.translate,d:"dan",dd:Va.translate,M:"mjesec",MM:Va.translate,y:"godinu",yy:Va.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}), | |
307 | //! moment.js locale configuration | |
308 | //! locale : Maori [mi] | |
309 | //! author : John Corrigan <robbiecloset@gmail.com> : https://github.com/johnideal | |
310 | a.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}), | |
311 | //! moment.js locale configuration | |
312 | //! locale : Macedonian [mk] | |
313 | //! author : Borislav Mickov : https://github.com/B0k0 | |
314 | a.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(a){var b=a%10,c=a%100;return 0===a?a+"-ев":0===c?a+"-ен":c>10&&c<20?a+"-ти":1===b?a+"-ви":2===b?a+"-ри":7===b||8===b?a+"-ми":a+"-ти"},week:{dow:1,doy:7}}), | |
315 | //! moment.js locale configuration | |
316 | //! locale : Malayalam [ml] | |
317 | //! author : Floyd Pink : https://github.com/floydpink | |
318 | a.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(a,b){return 12===a&&(a=0),"രാത്രി"===b&&a>=4||"ഉച്ച കഴിഞ്ഞ്"===b||"വൈകുന്നേരം"===b?a+12:a},meridiem:function(a,b,c){return a<4?"രാത്രി":a<12?"രാവിലെ":a<17?"ഉച്ച കഴിഞ്ഞ്":a<20?"വൈകുന്നേരം":"രാത്രി"}}); | |
319 | //! moment.js locale configuration | |
320 | //! locale : Marathi [mr] | |
321 | //! author : Harshad Kale : https://github.com/kalehv | |
322 | //! author : Vivek Athalye : https://github.com/vnathalye | |
323 | var Wa={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},Xa={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};a.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:L,m:L,mm:L,h:L,hh:L,d:L,dd:L,M:L,MM:L,y:L,yy:L},preparse:function(a){return a.replace(/[१२३४५६७८९०]/g,function(a){return Xa[a]})},postformat:function(a){return a.replace(/\d/g,function(a){return Wa[a]})},meridiemParse:/रात्री|सकाळी|दुपारी|सायंकाळी/,meridiemHour:function(a,b){return 12===a&&(a=0),"रात्री"===b?a<4?a:a+12:"सकाळी"===b?a:"दुपारी"===b?a>=10?a:a+12:"सायंकाळी"===b?a+12:void 0},meridiem:function(a,b,c){return a<4?"रात्री":a<10?"सकाळी":a<17?"दुपारी":a<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}}), | |
324 | //! moment.js locale configuration | |
325 | //! locale : Malay [ms-my] | |
326 | //! note : DEPRECATED, the correct one is [ms] | |
327 | //! author : Weldan Jamili : https://github.com/weldan | |
328 | a.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(a,b){return 12===a&&(a=0),"pagi"===b?a:"tengahari"===b?a>=11?a:a+12:"petang"===b||"malam"===b?a+12:void 0},meridiem:function(a,b,c){return a<11?"pagi":a<15?"tengahari":a<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}}), | |
329 | //! moment.js locale configuration | |
330 | //! locale : Malay [ms] | |
331 | //! author : Weldan Jamili : https://github.com/weldan | |
332 | a.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(a,b){return 12===a&&(a=0),"pagi"===b?a:"tengahari"===b?a>=11?a:a+12:"petang"===b||"malam"===b?a+12:void 0},meridiem:function(a,b,c){return a<11?"pagi":a<15?"tengahari":a<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}}); | |
333 | //! moment.js locale configuration | |
334 | //! locale : Burmese [my] | |
335 | //! author : Squar team, mysquar.com | |
336 | //! author : David Rossellat : https://github.com/gholadr | |
337 | //! author : Tin Aung Lin : https://github.com/thanyawzinmin | |
338 | var Ya={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},Za={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"};a.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(a){return a.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,function(a){return Za[a]})},postformat:function(a){return a.replace(/\d/g,function(a){return Ya[a]})},week:{dow:1,doy:4}}), | |
339 | //! moment.js locale configuration | |
340 | //! locale : Norwegian Bokmål [nb] | |
341 | //! authors : Espen Hovlandsdal : https://github.com/rexxars | |
342 | //! Sigurd Gartmann : https://github.com/sigurdga | |
343 | a.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}); | |
344 | //! moment.js locale configuration | |
345 | //! locale : Nepalese [ne] | |
346 | //! author : suvash : https://github.com/suvash | |
347 | var $a={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},_a={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};a.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(a){return a.replace(/[१२३४५६७८९०]/g,function(a){return _a[a]})},postformat:function(a){return a.replace(/\d/g,function(a){return $a[a]})},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(a,b){return 12===a&&(a=0),"राति"===b?a<4?a:a+12:"बिहान"===b?a:"दिउँसो"===b?a>=10?a:a+12:"साँझ"===b?a+12:void 0},meridiem:function(a,b,c){return a<3?"राति":a<12?"बिहान":a<16?"दिउँसो":a<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}}); | |
348 | //! moment.js locale configuration | |
349 | //! locale : Dutch (Belgium) [nl-be] | |
350 | //! author : Joris Röling : https://github.com/jorisroling | |
351 | //! author : Jacob Middag : https://github.com/middagj | |
352 | var ab="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),bb="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),cb=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],db=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;a.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(a,b){return a?/-MMM-/.test(b)?bb[a.month()]:ab[a.month()]:ab},monthsRegex:db,monthsShortRegex:db,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:cb,longMonthsParse:cb,shortMonthsParse:cb,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"Zo_Ma_Di_Wo_Do_Vr_Za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(a){return a+(1===a||8===a||a>=20?"ste":"de")},week:{dow:1,doy:4}}); | |
353 | //! moment.js locale configuration | |
354 | //! locale : Dutch [nl] | |
355 | //! author : Joris Röling : https://github.com/jorisroling | |
356 | //! author : Jacob Middag : https://github.com/middagj | |
357 | var eb="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),fb="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),gb=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],hb=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;a.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(a,b){return a?/-MMM-/.test(b)?fb[a.month()]:eb[a.month()]:eb},monthsRegex:hb,monthsShortRegex:hb,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:gb,longMonthsParse:gb,shortMonthsParse:gb,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"Zo_Ma_Di_Wo_Do_Vr_Za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(a){return a+(1===a||8===a||a>=20?"ste":"de")},week:{dow:1,doy:4}}), | |
358 | //! moment.js locale configuration | |
359 | //! locale : Nynorsk [nn] | |
360 | //! author : https://github.com/mechuwind | |
361 | a.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_mån_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_må_ty_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}); | |
362 | //! moment.js locale configuration | |
363 | //! locale : Punjabi (India) [pa-in] | |
364 | //! author : Harpreet Singh : https://github.com/harpreetkhalsagtbit | |
365 | var ib={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},jb={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"};a.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(a){return a.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,function(a){return jb[a]})},postformat:function(a){return a.replace(/\d/g,function(a){return ib[a]})},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(a,b){return 12===a&&(a=0),"ਰਾਤ"===b?a<4?a:a+12:"ਸਵੇਰ"===b?a:"ਦੁਪਹਿਰ"===b?a>=10?a:a+12:"ਸ਼ਾਮ"===b?a+12:void 0},meridiem:function(a,b,c){return a<4?"ਰਾਤ":a<10?"ਸਵੇਰ":a<17?"ਦੁਪਹਿਰ":a<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}}); | |
366 | //! moment.js locale configuration | |
367 | //! locale : Polish [pl] | |
368 | //! author : Rafal Hirsz : https://github.com/evoL | |
369 | var kb="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),lb="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_");a.defineLocale("pl",{months:function(a,b){return a?""===b?"("+lb[a.month()]+"|"+kb[a.month()]+")":/D MMMM/.test(b)?lb[a.month()]:kb[a.month()]:kb},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:"[W] dddd [o] LT",lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:N,mm:N,h:N,hh:N,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:N,y:"rok",yy:N},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}), | |
370 | //! moment.js locale configuration | |
371 | //! locale : Portuguese (Brazil) [pt-br] | |
372 | //! author : Caio Ribeiro Pereira : https://github.com/caio-ribeiro-pereira | |
373 | a.defineLocale("pt-br",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"%s atrás",s:"poucos segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº"}), | |
374 | //! moment.js locale configuration | |
375 | //! locale : Portuguese [pt] | |
376 | //! author : Jefferson : https://github.com/jalex79 | |
377 | a.defineLocale("pt",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-Feira_Terça-Feira_Quarta-Feira_Quinta-Feira_Sexta-Feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}),a.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",m:"un minut",mm:O,h:"o oră",hh:O,d:"o zi",dd:O,M:"o lună",MM:O,y:"un an",yy:O},week:{dow:1,doy:7}});var mb=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];a.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:mb,longMonthsParse:mb,shortMonthsParse:mb,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сегодня в] LT",nextDay:"[Завтра в] LT",lastDay:"[Вчера в] LT",nextWeek:function(a){if(a.week()===this.week())return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT";switch(this.day()){case 0:return"[В следующее] dddd [в] LT";case 1:case 2:case 4:return"[В следующий] dddd [в] LT";case 3:case 5:case 6:return"[В следующую] dddd [в] LT"}},lastWeek:function(a){if(a.week()===this.week())return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:Q,mm:Q,h:"час",hh:Q,d:"день",dd:Q,M:"месяц",MM:Q,y:"год",yy:Q},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(a){return/^(дня|вечера)$/.test(a)},meridiem:function(a,b,c){return a<4?"ночи":a<12?"утра":a<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(a,b){switch(b){case"M":case"d":case"DDD":return a+"-й";case"D":return a+"-го";case"w":case"W":return a+"-я";default:return a}},week:{dow:1,doy:7}}); | |
378 | //! moment.js locale configuration | |
379 | //! locale : Sindhi [sd] | |
380 | //! author : Narain Sagar : https://github.com/narainsagar | |
381 | var nb=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],ob=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"];a.defineLocale("sd",{months:nb,monthsShort:nb,weekdays:ob,weekdaysShort:ob,weekdaysMin:ob,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(a){return"شام"===a},meridiem:function(a,b,c){return a<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(a){return a.replace(/،/g,",")},postformat:function(a){return a.replace(/,/g,"،")},week:{dow:1,doy:4}}), | |
382 | //! moment.js locale configuration | |
383 | //! locale : Northern Sami [se] | |
384 | //! authors : Bård Rolstad Henriksen : https://github.com/karamell | |
385 | a.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}), | |
386 | //! moment.js locale configuration | |
387 | //! locale : Sinhalese [si] | |
388 | //! author : Sampath Sitinamaluwa : https://github.com/sampathsris | |
389 | a.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(a){return a+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(a){return"ප.ව."===a||"පස් වරු"===a},meridiem:function(a,b,c){return a>11?c?"ප.ව.":"පස් වරු":c?"පෙ.ව.":"පෙර වරු"}}); | |
390 | //! moment.js locale configuration | |
391 | //! locale : Slovak [sk] | |
392 | //! author : Martin Minka : https://github.com/k2s | |
393 | //! based on work of petrbela : https://github.com/petrbela | |
394 | var pb="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),qb="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");a.defineLocale("sk",{months:pb,monthsShort:qb,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:S,m:S,mm:S,h:S,hh:S,d:S,dd:S,M:S,MM:S,y:S,yy:S},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),a.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:T,m:T,mm:T,h:T,hh:T,d:T,dd:T,M:T,MM:T,y:T,yy:T},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}), | |
395 | //! moment.js locale configuration | |
396 | //! locale : Albanian [sq] | |
397 | //! author : Flakërim Ismani : https://github.com/flakerimi | |
398 | //! author : Menelion Elensúle : https://github.com/Oire | |
399 | //! author : Oerd Cukalla : https://github.com/oerd | |
400 | a.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(a){return"M"===a.charAt(0)},meridiem:function(a,b,c){return a<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}); | |
401 | //! moment.js locale configuration | |
402 | //! locale : Serbian Cyrillic [sr-cyrl] | |
403 | //! author : Milan Janačković<milanjanackovic@gmail.com> : https://github.com/milan-j | |
404 | var rb={words:{m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(a,b){return 1===a?b[0]:a>=2&&a<=4?b[1]:b[2]},translate:function(a,b,c){var d=rb.words[c];return 1===c.length?b?d[0]:d[1]:a+" "+rb.correctGrammaticalCase(a,d)}};a.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){var a=["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"];return a[this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",m:rb.translate,mm:rb.translate,h:rb.translate,hh:rb.translate,d:"дан",dd:rb.translate,M:"месец",MM:rb.translate,y:"годину",yy:rb.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}); | |
405 | //! moment.js locale configuration | |
406 | //! locale : Serbian [sr] | |
407 | //! author : Milan Janačković<milanjanackovic@gmail.com> : https://github.com/milan-j | |
408 | var sb={words:{m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(a,b){return 1===a?b[0]:a>=2&&a<=4?b[1]:b[2]},translate:function(a,b,c){var d=sb.words[c];return 1===c.length?b?d[0]:d[1]:a+" "+sb.correctGrammaticalCase(a,d)}};a.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var a=["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return a[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",m:sb.translate,mm:sb.translate,h:sb.translate,hh:sb.translate,d:"dan",dd:sb.translate,M:"mesec",MM:sb.translate,y:"godinu",yy:sb.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}), | |
409 | //! moment.js locale configuration | |
410 | //! locale : siSwati [ss] | |
411 | //! author : Nicolai Davies<mail@nicolai.io> : https://github.com/nicolaidavies | |
412 | a.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(a,b,c){return a<11?"ekuseni":a<15?"emini":a<19?"entsambama":"ebusuku"},meridiemHour:function(a,b){return 12===a&&(a=0),"ekuseni"===b?a:"emini"===b?a>=11?a:a+12:"entsambama"===b||"ebusuku"===b?0===a?0:a+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}}), | |
413 | //! moment.js locale configuration | |
414 | //! locale : Swedish [sv] | |
415 | //! author : Jens Alm : https://github.com/ulmus | |
416 | a.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(e|a)/,ordinal:function(a){var b=a%10,c=1===~~(a%100/10)?"e":1===b?"a":2===b?"a":"e";return a+c},week:{dow:1,doy:4}}), | |
417 | //! moment.js locale configuration | |
418 | //! locale : Swahili [sw] | |
419 | //! author : Fahad Kassim : https://github.com/fadsel | |
420 | a.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}}); | |
421 | //! moment.js locale configuration | |
422 | //! locale : Tamil [ta] | |
423 | //! author : Arjunkumar Krishnamoorthy : https://github.com/tk120404 | |
424 | var tb={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},ub={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"};a.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(a){return a+"வது"},preparse:function(a){return a.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,function(a){return ub[a]})},postformat:function(a){return a.replace(/\d/g,function(a){return tb[a]})},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(a,b,c){return a<2?" யாமம்":a<6?" வைகறை":a<10?" காலை":a<14?" நண்பகல்":a<18?" எற்பாடு":a<22?" மாலை":" யாமம்"},meridiemHour:function(a,b){return 12===a&&(a=0),"யாமம்"===b?a<2?a:a+12:"வைகறை"===b||"காலை"===b?a:"நண்பகல்"===b&&a>=10?a:a+12},week:{dow:0,doy:6}}), | |
425 | //! moment.js locale configuration | |
426 | //! locale : Telugu [te] | |
427 | //! author : Krishna Chaitanya Thota : https://github.com/kcthota | |
428 | a.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జూలై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జూలై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(a,b){return 12===a&&(a=0),"రాత్రి"===b?a<4?a:a+12:"ఉదయం"===b?a:"మధ్యాహ్నం"===b?a>=10?a:a+12:"సాయంత్రం"===b?a+12:void 0},meridiem:function(a,b,c){return a<4?"రాత్రి":a<10?"ఉదయం":a<17?"మధ్యాహ్నం":a<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}}), | |
429 | //! moment.js locale configuration | |
430 | //! locale : Tetun Dili (East Timor) [tet] | |
431 | //! author : Joshua Brooks : https://github.com/joshbrooks | |
432 | //! author : Onorio De J. Afonso : https://github.com/marobo | |
433 | a.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juniu_Juliu_Augustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Aug_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sexta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sext_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Sex_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"minutu balun",m:"minutu ida",mm:"minutus %d",h:"horas ida",hh:"horas %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var b=a%10,c=1===~~(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c},week:{dow:1,doy:4}}), | |
434 | //! moment.js locale configuration | |
435 | //! locale : Thai [th] | |
436 | //! author : Kridsada Thanabulpong : https://github.com/sirn | |
437 | a.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(a){return"หลังเที่ยง"===a},meridiem:function(a,b,c){return a<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}}), | |
438 | //! moment.js locale configuration | |
439 | //! locale : Tagalog (Philippines) [tl-ph] | |
440 | //! author : Dan Hagman : https://github.com/hagmandan | |
441 | a.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(a){return a},week:{dow:1,doy:4}}); | |
442 | //! moment.js locale configuration | |
443 | //! locale : Klingon [tlh] | |
444 | //! author : Dominika Kruk : https://github.com/amaranthrose | |
445 | var vb="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");a.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:U,past:V,s:"puS lup",m:"wa’ tup",mm:W,h:"wa’ rep",hh:W,d:"wa’ jaj",dd:W,M:"wa’ jar",MM:W,y:"wa’ DIS",yy:W},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}); | |
446 | //! moment.js locale configuration | |
447 | //! locale : Turkish [tr] | |
448 | //! authors : Erhan Gundogan : https://github.com/erhangundogan, | |
449 | //! Burak Yiğit Kaya: https://github.com/BYK | |
450 | var wb={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};a.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[haftaya] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen hafta] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},dayOfMonthOrdinalParse:/\d{1,2}'(inci|nci|üncü|ncı|uncu|ıncı)/,ordinal:function(a){if(0===a)return a+"'ıncı";var b=a%10,c=a%100-b,d=a>=100?100:null;return a+(wb[b]||wb[c]||wb[d])},week:{dow:1,doy:7}}), | |
451 | //! moment.js locale configuration | |
452 | //! locale : Talossan [tzl] | |
453 | //! author : Robin van der Vliet : https://github.com/robin0van0der0v | |
454 | //! author : Iustì Canun | |
455 | a.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(a){return"d'o"===a.toLowerCase()},meridiem:function(a,b,c){return a>11?c?"d'o":"D'O":c?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:Y,m:Y,mm:Y,h:Y,hh:Y,d:Y,dd:Y,M:Y,MM:Y,y:Y,yy:Y},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}), | |
456 | //! moment.js locale configuration | |
457 | //! locale : Central Atlas Tamazight Latin [tzm-latn] | |
458 | //! author : Abdel Said : https://github.com/abdelsaid | |
459 | a.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}}), | |
460 | //! moment.js locale configuration | |
461 | //! locale : Central Atlas Tamazight [tzm] | |
462 | //! author : Abdel Said : https://github.com/abdelsaid | |
463 | a.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}}),a.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:_,weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:aa("[Сьогодні "),nextDay:aa("[Завтра "),lastDay:aa("[Вчора "),nextWeek:aa("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return aa("[Минулої] dddd [").call(this);case 1:case 2:case 4:return aa("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:$,mm:$,h:"годину",hh:$,d:"день",dd:$,M:"місяць",MM:$,y:"рік",yy:$},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(a){return/^(дня|вечора)$/.test(a)},meridiem:function(a,b,c){return a<4?"ночі":a<12?"ранку":a<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(a,b){switch(b){case"M":case"d":case"DDD":case"w":case"W":return a+"-й";case"D":return a+"-го";default:return a}},week:{dow:1,doy:7}}); | |
464 | //! moment.js locale configuration | |
465 | //! locale : Urdu [ur] | |
466 | //! author : Sawood Alam : https://github.com/ibnesayeed | |
467 | //! author : Zack : https://github.com/ZackVision | |
468 | var xb=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],yb=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"]; | |
469 | //! moment.js locale configuration | |
470 | //! locale : Uzbek Latin [uz-latn] | |
471 | //! author : Rasulbek Mirzayev : github.com/Rasulbeeek | |
472 | //! moment.js locale configuration | |
473 | //! locale : Uzbek [uz] | |
474 | //! author : Sardor Muminov : https://github.com/muminoff | |
475 | //! moment.js locale configuration | |
476 | //! locale : Vietnamese [vi] | |
477 | //! author : Bang Nguyen : https://github.com/bangnk | |
478 | //! moment.js locale configuration | |
479 | //! locale : Pseudo [x-pseudo] | |
480 | //! author : Andrew Hood : https://github.com/andrewhood125 | |
481 | //! moment.js locale configuration | |
482 | //! locale : Yoruba Nigeria [yo] | |
483 | //! author : Atolagbe Abisoye : https://github.com/andela-batolagbe | |
484 | //! moment.js locale configuration | |
485 | //! locale : Chinese (China) [zh-cn] | |
486 | //! author : suupic : https://github.com/suupic | |
487 | //! author : Zeno Zeng : https://github.com/zenozeng | |
488 | //! moment.js locale configuration | |
489 | //! locale : Chinese (Hong Kong) [zh-hk] | |
490 | //! author : Ben : https://github.com/ben-lin | |
491 | //! author : Chris Lam : https://github.com/hehachris | |
492 | //! author : Konstantin : https://github.com/skfd | |
493 | //! moment.js locale configuration | |
494 | //! locale : Chinese (Taiwan) [zh-tw] | |
495 | //! author : Ben : https://github.com/ben-lin | |
496 | //! author : Chris Lam : https://github.com/hehachris | |
497 | return a.defineLocale("ur",{months:xb,monthsShort:xb,weekdays:yb,weekdaysShort:yb,weekdaysMin:yb,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(a){return"شام"===a},meridiem:function(a,b,c){return a<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(a){return a.replace(/،/g,",")},postformat:function(a){return a.replace(/,/g,"،")},week:{dow:1,doy:4}}),a.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}}),a.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}}),a.defineLocale("vi",{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("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(a){return/^ch$/i.test(a)},meridiem:function(a,b,c){return a<12?c?"sa":"SA":c?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần rồi lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(a){return a},week:{dow:1,doy:4}}),a.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(a){var b=a%10,c=1===~~(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c},week:{dow:1,doy:4}}),a.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}}),a.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY年MMMD日",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日Ah点mm分",LLLL:"YYYY年MMMD日ddddAh点mm分",l:"YYYY年MMMD日",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日 HH:mm",llll:"YYYY年MMMD日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(a,b){return 12===a&&(a=0),"凌晨"===b||"早上"===b||"上午"===b?a:"下午"===b||"晚上"===b?a+12:a>=11?a:a+12},meridiem:function(a,b,c){var d=100*a+b;return d<600?"凌晨":d<900?"早上":d<1130?"上午":d<1230?"中午":d<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(a,b){switch(b){case"d":case"D":case"DDD":return a+"日";case"M":return a+"月";case"w":case"W":return a+"周";default:return a}},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}}),a.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY年MMMD日",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日 HH:mm",LLLL:"YYYY年MMMD日dddd HH:mm",l:"YYYY年MMMD日",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日 HH:mm",llll:"YYYY年MMMD日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(a,b){return 12===a&&(a=0),"凌晨"===b||"早上"===b||"上午"===b?a:"中午"===b?a>=11?a:a+12:"下午"===b||"晚上"===b?a+12:void 0},meridiem:function(a,b,c){var d=100*a+b;return d<600?"凌晨":d<900?"早上":d<1130?"上午":d<1230?"中午":d<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(a,b){switch(b){case"d":case"D":case"DDD":return a+"日";case"M":return a+"月";case"w":case"W":return a+"週";default:return a}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}}),a.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY年MMMD日",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日 HH:mm",LLLL:"YYYY年MMMD日dddd HH:mm",l:"YYYY年MMMD日",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日 HH:mm",llll:"YYYY年MMMD日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(a,b){return 12===a&&(a=0),"凌晨"===b||"早上"===b||"上午"===b?a:"中午"===b?a>=11?a:a+12:"下午"===b||"晚上"===b?a+12:void 0},meridiem:function(a,b,c){var d=100*a+b;return d<600?"凌晨":d<900?"早上":d<1130?"上午":d<1230?"中午":d<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(a,b){switch(b){case"d":case"D":case"DDD":return a+"日";case"M":return a+"月";case"w":case"W":return a+"週";default:return a}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}}),a.locale("en"),a});⏎ | |
0 | !function(e,a){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?a(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],a):a(e.moment)}(this,function(e){"use strict";function a(e,a){var _=e.split("_");return a%10==1&&a%100!=11?_[0]:a%10>=2&&a%10<=4&&(a%100<10||a%100>=20)?_[1]:_[2]}function _(e,_,t){var d={mm:_?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:_?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"};return"m"===t?_?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===t?_?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":e+" "+a(d[t],+e)}function t(e,a,_){return e+" "+s({mm:"munutenn",MM:"miz",dd:"devezh"}[_],e)}function d(e){return e>9?d(e%10):e}function s(e,a){return 2===a?n(e):e}function n(e){var a={m:"v",b:"v",d:"z"};return void 0===a[e.charAt(0)]?e:a[e.charAt(0)]+e.substring(1)}function r(e,a,_){var t=e+" ";switch(_){case"m":return a?"jedna minuta":"jedne minute";case"mm":return t+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return a?"jedan sat":"jednog sata";case"hh":return t+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return t+=1===e?"dan":"dana";case"MM":return t+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return t+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}function i(e){return e>1&&e<5&&1!=~~(e/10)}function m(e,a,_,t){var d=e+" ";switch(_){case"s":return a||t?"p\xe1r sekund":"p\xe1r sekundami";case"m":return a?"minuta":t?"minutu":"minutou";case"mm":return a||t?d+(i(e)?"minuty":"minut"):d+"minutami";break;case"h":return a?"hodina":t?"hodinu":"hodinou";case"hh":return a||t?d+(i(e)?"hodiny":"hodin"):d+"hodinami";break;case"d":return a||t?"den":"dnem";case"dd":return a||t?d+(i(e)?"dny":"dn\xed"):d+"dny";break;case"M":return a||t?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return a||t?d+(i(e)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):d+"m\u011bs\xedci";break;case"y":return a||t?"rok":"rokem";case"yy":return a||t?d+(i(e)?"roky":"let"):d+"lety";break}}function o(e,a,_,t){var d={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return a?d[_][0]:d[_][1]}function u(e,a,_,t){var d={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return a?d[_][0]:d[_][1]}function M(e,a,_,t){var d={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return a?d[_][0]:d[_][1]}function l(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function L(e,a,_,t){var d={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[e+" minuti",e+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[e+" tunni",e+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[e+" kuu",e+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[e+" aasta",e+" aastat"]};return a?d[_][2]?d[_][2]:d[_][1]:t?d[_][0]:d[_][1]}function Y(e,a,_,t){var d="";switch(_){case"s":return t?"muutaman sekunnin":"muutama sekunti";case"m":return t?"minuutin":"minuutti";case"mm":d=t?"minuutin":"minuuttia";break;case"h":return t?"tunnin":"tunti";case"hh":d=t?"tunnin":"tuntia";break;case"d":return t?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":d=t?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return t?"kuukauden":"kuukausi";case"MM":d=t?"kuukauden":"kuukautta";break;case"y":return t?"vuoden":"vuosi";case"yy":d=t?"vuoden":"vuotta";break}return d=h(e,t)+" "+d}function h(e,a){return e<10?a?ve[e]:be[e]:e}function y(e,a,_,t){var d={s:["thodde secondanim","thodde second"],m:["eka mintan","ek minute"],mm:[e+" mintanim",e+" mintam"],h:["eka horan","ek hor"],hh:[e+" horanim",e+" hor"],d:["eka disan","ek dis"],dd:[e+" disanim",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineanim",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsanim",e+" vorsam"]};return a?d[_][0]:d[_][1]}function c(e,a,_){var t=e+" ";switch(_){case"m":return a?"jedna minuta":"jedne minute";case"mm":return t+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return a?"jedan sat":"jednog sata";case"hh":return t+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return t+=1===e?"dan":"dana";case"MM":return t+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return t+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}function p(e,a,_,t){var d=e;switch(_){case"s":return t||a?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"m":return"egy"+(t||a?" perc":" perce");case"mm":return d+(t||a?" perc":" perce");case"h":return"egy"+(t||a?" \xf3ra":" \xf3r\xe1ja");case"hh":return d+(t||a?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(t||a?" nap":" napja");case"dd":return d+(t||a?" nap":" napja");case"M":return"egy"+(t||a?" h\xf3nap":" h\xf3napja");case"MM":return d+(t||a?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(t||a?" \xe9v":" \xe9ve");case"yy":return d+(t||a?" \xe9v":" \xe9ve")}return""}function k(e){return(e?"":"[m\xfalt] ")+"["+Ie[this.day()]+"] LT[-kor]"}function D(e){return e%100==11||e%10!=1}function T(e,a,_,t){var d=e+" ";switch(_){case"s":return a||t?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"m":return a?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return D(e)?d+(a||t?"m\xedn\xfatur":"m\xedn\xfatum"):a?d+"m\xedn\xfata":d+"m\xedn\xfatu";case"hh":return D(e)?d+(a||t?"klukkustundir":"klukkustundum"):d+"klukkustund";case"d":return a?"dagur":t?"dag":"degi";case"dd":return D(e)?a?d+"dagar":d+(t?"daga":"d\xf6gum"):a?d+"dagur":d+(t?"dag":"degi");case"M":return a?"m\xe1nu\xf0ur":t?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return D(e)?a?d+"m\xe1nu\xf0ir":d+(t?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):a?d+"m\xe1nu\xf0ur":d+(t?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return a||t?"\xe1r":"\xe1ri";case"yy":return D(e)?d+(a||t?"\xe1r":"\xe1rum"):d+(a||t?"\xe1r":"\xe1ri")}}function f(e,a,_,t){var d={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return a?d[_][0]:d[_][1]}function w(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var a=e%10,_=e/10;return w(0===a?_:a)}if(e<1e4){for(;e>=10;)e/=10;return w(e)}return e/=1e3,w(e)}function g(e,a,_,t){return a?b(_)[0]:t?b(_)[1]:b(_)[2]}function H(e){return e%10==0||e>10&&e<20}function b(e){return Ge[e].split("_")}function v(e,a,_,t){var d=e+" ";return 1===e?d+g(e,a,_[0],t):a?d+(H(e)?b(_)[1]:b(_)[0]):t?d+b(_)[1]:d+(H(e)?b(_)[1]:b(_)[2])}function S(e,a,_){return _?a%10==1&&a%100!=11?e[2]:e[3]:a%10==1&&a%100!=11?e[0]:e[1]}function j(e,a,_){return e+" "+S(Be[_],e,a)}function x(e,a,_){return S(Be[_],e,a)}function P(e,a,_,t){var d="";if(a)switch(_){case"s":d="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"m":d="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":d="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":d="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":d="%d \u0924\u093e\u0938";break;case"d":d="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":d="%d \u0926\u093f\u0935\u0938";break;case"M":d="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":d="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":d="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":d="%d \u0935\u0930\u094d\u0937\u0947";break}else switch(_){case"s":d="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":d="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":d="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":d="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":d="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":d="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":d="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":d="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":d="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":d="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":d="%d \u0935\u0930\u094d\u0937\u093e\u0902";break}return d.replace(/%d/i,e)}function W(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function E(e,a,_){var t=e+" ";switch(_){case"m":return a?"minuta":"minut\u0119";case"mm":return t+(W(e)?"minuty":"minut");case"h":return a?"godzina":"godzin\u0119";case"hh":return t+(W(e)?"godziny":"godzin");case"MM":return t+(W(e)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return t+(W(e)?"lata":"lat")}}function A(e,a,_){var t={mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"},d=" ";return(e%100>=20||e>=100&&e%100==0)&&(d=" de "),e+d+t[_]}function O(e,a){var _=e.split("_");return a%10==1&&a%100!=11?_[0]:a%10>=2&&a%10<=4&&(a%100<10||a%100>=20)?_[1]:_[2]}function F(e,a,_){var t={mm:a?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"};return"m"===_?a?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":e+" "+O(t[_],+e)}function z(e){return e>1&&e<5}function J(e,a,_,t){var d=e+" ";switch(_){case"s":return a||t?"p\xe1r sek\xfand":"p\xe1r sekundami";case"m":return a?"min\xfata":t?"min\xfatu":"min\xfatou";case"mm":return a||t?d+(z(e)?"min\xfaty":"min\xfat"):d+"min\xfatami";break;case"h":return a?"hodina":t?"hodinu":"hodinou";case"hh":return a||t?d+(z(e)?"hodiny":"hod\xedn"):d+"hodinami";break;case"d":return a||t?"de\u0148":"d\u0148om";case"dd":return a||t?d+(z(e)?"dni":"dn\xed"):d+"d\u0148ami";break;case"M":return a||t?"mesiac":"mesiacom";case"MM":return a||t?d+(z(e)?"mesiace":"mesiacov"):d+"mesiacmi";break;case"y":return a||t?"rok":"rokom";case"yy":return a||t?d+(z(e)?"roky":"rokov"):d+"rokmi";break}}function I(e,a,_,t){var d=e+" ";switch(_){case"s":return a||t?"nekaj sekund":"nekaj sekundami";case"m":return a?"ena minuta":"eno minuto";case"mm":return d+=1===e?a?"minuta":"minuto":2===e?a||t?"minuti":"minutama":e<5?a||t?"minute":"minutami":a||t?"minut":"minutami";case"h":return a?"ena ura":"eno uro";case"hh":return d+=1===e?a?"ura":"uro":2===e?a||t?"uri":"urama":e<5?a||t?"ure":"urami":a||t?"ur":"urami";case"d":return a||t?"en dan":"enim dnem";case"dd":return d+=1===e?a||t?"dan":"dnem":2===e?a||t?"dni":"dnevoma":a||t?"dni":"dnevi";case"M":return a||t?"en mesec":"enim mesecem";case"MM":return d+=1===e?a||t?"mesec":"mesecem":2===e?a||t?"meseca":"mesecema":e<5?a||t?"mesece":"meseci":a||t?"mesecev":"meseci";case"y":return a||t?"eno leto":"enim letom";case"yy":return d+=1===e?a||t?"leto":"letom":2===e?a||t?"leti":"letoma":e<5?a||t?"leta":"leti":a||t?"let":"leti"}}function N(e,a,_,t){var d=R(e);switch(_){case"mm":return d+" tup";case"hh":return d+" rep";case"dd":return d+" jaj";case"MM":return d+" jar";case"yy":return d+" DIS"}}function R(e){var a=Math.floor(e%1e3/100),_=Math.floor(e%100/10),t=e%10,d="";return a>0&&(d+=Da[a]+"vatlh"),_>0&&(d+=(""!==d?" ":"")+Da[_]+"maH"),t>0&&(d+=(""!==d?" ":"")+Da[t]),""===d?"pagh":d}function K(e,a,_,t){var d={s:["viensas secunds","'iensas secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[e+" m\xeduts",e+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[e+" \xfeoras",e+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return t?d[_][0]:a?d[_][0]:d[_][1]}function C(e,a){var _=e.split("_");return a%10==1&&a%100!=11?_[0]:a%10>=2&&a%10<=4&&(a%100<10||a%100>=20)?_[1]:_[2]}function G(e,a,_){var t={mm:a?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:a?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"};return"m"===_?a?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===_?a?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":e+" "+C(t[_],+e)}function B(e){return function(){return e+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,a,_){return e<12?_?"vm":"VM":_?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}}),e.defineLocale("ar-dz",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u0623\u062d_\u0625\u062b_\u062b\u0644\u0627_\u0623\u0631_\u062e\u0645_\u062c\u0645_\u0633\u0628".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:4}}),e.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}});var q={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},$=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},U={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},Q=function(e){return function(a,_,t,d){var s=$(a),n=U[e][$(a)];return 2===s&&(n=n[_?0:1]),n.replace(/%d/i,a)}},V=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];e.defineLocale("ar-ly",{months:V,monthsShort:V,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,a,_){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:Q("s"),m:Q("m"),mm:Q("m"),h:Q("h"),hh:Q("h"),d:Q("d"),dd:Q("d"),M:Q("M"),MM:Q("M"),y:Q("y"),yy:Q("y")},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return q[e]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}}),e.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:6,doy:12}});var Z={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},X={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};e.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,a,_){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(e){return X[e]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return Z[e]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}}),e.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}});var ee={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},ae={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},_e=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},te={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},de=function(e){return function(a,_,t,d){var s=_e(a),n=te[e][_e(a)];return 2===s&&(n=n[_?0:1]),n.replace(/%d/i,a)}},se=["\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u062b\u0627\u0646\u064a \u064a\u0646\u0627\u064a\u0631","\u0634\u0628\u0627\u0637 \u0641\u0628\u0631\u0627\u064a\u0631","\u0622\u0630\u0627\u0631 \u0645\u0627\u0631\u0633","\u0646\u064a\u0633\u0627\u0646 \u0623\u0628\u0631\u064a\u0644","\u0623\u064a\u0627\u0631 \u0645\u0627\u064a\u0648","\u062d\u0632\u064a\u0631\u0627\u0646 \u064a\u0648\u0646\u064a\u0648","\u062a\u0645\u0648\u0632 \u064a\u0648\u0644\u064a\u0648","\u0622\u0628 \u0623\u063a\u0633\u0637\u0633","\u0623\u064a\u0644\u0648\u0644 \u0633\u0628\u062a\u0645\u0628\u0631","\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u0623\u0648\u0644 \u0623\u0643\u062a\u0648\u0628\u0631","\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u062b\u0627\u0646\u064a \u0646\u0648\u0641\u0645\u0628\u0631","\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u0623\u0648\u0644 \u062f\u064a\u0633\u0645\u0628\u0631"];e.defineLocale("ar",{months:se,monthsShort:se,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,a,_){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:de("s"),m:de("m"),mm:de("m"),h:de("h"),hh:de("h"),d:de("d"),dd:de("d"),M:de("M"),MM:de("M"),y:de("y"),yy:de("y")},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(e){return ae[e]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return ee[e]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}});var ne={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"birne\xe7\u0259 saniyy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(e){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(e)},meridiem:function(e,a,_){return e<4?"gec\u0259":e<12?"s\u0259h\u0259r":e<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(e){if(0===e)return e+"-\u0131nc\u0131";var a=e%10,_=e%100-a,t=e>=100?100:null;return e+(ne[a]||ne[_]||ne[t])},week:{dow:1,doy:7}}),e.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:_,mm:_,h:_,hh:_,d:"\u0434\u0437\u0435\u043d\u044c",dd:_,M:"\u043c\u0435\u0441\u044f\u0446",MM:_,y:"\u0433\u043e\u0434",yy:_},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(e)},meridiem:function(e,a,_){return e<4?"\u043d\u043e\u0447\u044b":e<12?"\u0440\u0430\u043d\u0456\u0446\u044b":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(e,a){switch(a){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-\u044b":e+"-\u0456";case"D":return e+"-\u0433\u0430";default:return e}},week:{dow:1,doy:7}}),e.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0440_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0412 \u0438\u0437\u043c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u0412 \u0438\u0437\u043c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u043d\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(e){var a=e%10,_=e%100;return 0===e?e+"-\u0435\u0432":0===_?e+"-\u0435\u043d":_>10&&_<20?e+"-\u0442\u0438":1===a?e+"-\u0432\u0438":2===a?e+"-\u0440\u0438":7===a||8===a?e+"-\u043c\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}}),e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}});var re={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},ie={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};e.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09c0_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2_\u0986\u0997_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u0983_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(e){return e.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(e){return ie[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return re[e]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u09b0\u09be\u09a4"===a&&e>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===a&&e<5||"\u09ac\u09bf\u0995\u09be\u09b2"===a?e+12:e},meridiem:function(e,a,_){return e<4?"\u09b0\u09be\u09a4":e<10?"\u09b8\u0995\u09be\u09b2":e<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":e<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}});var me={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},oe={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};e.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(e){return e.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(e){return oe[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return me[e]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===a&&e>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===a&&e<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===a?e+12:e},meridiem:function(e,a,_){return e<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":e<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":e<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":e<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}}),e.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondenno\xf9",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function(e){switch(d(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(e){return e+(1===e?"a\xf1":"vet")},week:{dow:1,doy:4}}),e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",m:r,mm:r,h:r,hh:r,d:"dan",dd:r,M:"mjesec",MM:r,y:"godinu",yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),e.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(e,a){var _=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"\xe8";return"w"!==a&&"W"!==a||(_="a"),e+_},week:{dow:1,doy:4}});var ue="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),Me="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_");e.defineLocale("cs",{months:ue,monthsShort:Me,monthsParse:function(e,a){var _,t=[];for(_=0;_<12;_++)t[_]=new RegExp("^"+e[_]+"$|^"+a[_]+"$","i");return t}(ue,Me),shortMonthsParse:function(e){var a,_=[];for(a=0;a<12;a++)_[a]=new RegExp("^"+e[a]+"$","i");return _}(Me),longMonthsParse:function(e){var a,_=[];for(a=0;a<12;a++)_[a]=new RegExp("^"+e[a]+"$","i");return _}(ue),weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:m,m:m,mm:m,h:m,hh:m,d:m,dd:m,M:m,MM:m,y:m,yy:m},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(e){return e+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(e)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(e)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}}),e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var a=e,_="",t=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"];return a>20?_=40===a||50===a||60===a||80===a||100===a?"fed":"ain":a>0&&(_=t[a]),e+_},week:{dow:1,doy:4}}),e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:o,mm:"%d Minuten",h:o,hh:"%d Stunden",d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH.mm",LLLL:"dddd, D. MMMM YYYY HH.mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:u,mm:"%d Minuten",h:u,hh:"%d Stunden",d:u,dd:u,M:u,MM:u,y:u,yy:u},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:M,mm:"%d Minuten",h:M,hh:"%d Stunden",d:M,dd:M,M:M,MM:M,y:M,yy:M},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});var le=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],Le=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];e.defineLocale("dv",{months:le,monthsShort:le,weekdays:Le,weekdaysShort:Le,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(e){return"\u0789\u078a"===e},meridiem:function(e,a,_){return e<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:7,doy:12}}),e.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(e,a){return e?"string"==typeof a&&/D/.test(a.substring(0,a.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(e,a,_){return e>11?_?"\u03bc\u03bc":"\u039c\u039c":_?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(e){return"\u03bc"===(e+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT";default:return"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,a){var _=this._calendarEl[e],t=a&&a.hours();return l(_)&&(_=_.apply(a)),_.replace("{}",t%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}}),e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}}),e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")}}),e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}}),e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}}),e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}}),e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_a\u016dg_sep_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-a de] MMMM, YYYY",LLL:"D[-a de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-a de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,a,_){return e>11?_?"p.t.m.":"P.T.M.":_?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}});var Ye="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),he="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),ye=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],ce=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,a){return e?/-MMM-/.test(a)?he[e.month()]:Ye[e.month()]:Ye},monthsRegex:ce,monthsShortRegex:ce,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:ye,longMonthsParse:ye,shortMonthsParse:ye,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}});var pe="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),ke="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_");e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,a){return e?/-MMM-/.test(a)?ke[e.month()]:pe[e.month()]:pe},monthsParseExact:!0,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"MM/DD/YYYY",LL:"MMMM [de] D [de] YYYY",LLL:"MMMM [de] D [de] YYYY H:mm",LLLL:"dddd, MMMM [de] D [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}});var De="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),Te="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),fe=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],we=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,a){return e?/-MMM-/.test(a)?Te[e.month()]:De[e.month()]:De},monthsRegex:we,monthsShortRegex:we,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:fe,longMonthsParse:fe,shortMonthsParse:fe,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}}),e.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:L,m:L,mm:L,h:L,hh:L,d:L,dd:"%d p\xe4eva",M:L,MM:L,y:L,yy:L},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});var ge={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},He={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};e.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(e){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(e)},meridiem:function(e,a,_){return e<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/[\u06f0-\u06f9]/g,function(e){return He[e]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return ge[e]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}});var be="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),ve=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",be[7],be[8],be[9]];e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:Y,m:Y,mm:Y,h:Y,hh:Y,d:Y,dd:Y,M:Y,MM:Y,y:Y,yy:Y},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",m:"ein minutt",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0i",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,a){switch(a){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}}),e.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,a){switch(a){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}}),e.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,a){switch(a){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}});var Se="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),je="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,a){return e?/-MMM-/.test(a)?je[e.month()]:Se[e.month()]:Se},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});var xe=["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],Pe=["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],We=["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],Ee=["Did","Dil","Dim","Dic","Dia","Dih","Dis"],Ae=["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"];e.defineLocale("gd",{months:xe,monthsShort:Pe,monthsParseExact:!0,weekdays:We,weekdaysShort:Ee,weekdaysMin:Ae,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}}),e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}}),e.defineLocale("gom-latn",{months:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budvar_Brestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM[achea] Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Ieta to] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fatlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:y,m:y,mm:y,h:y,hh:y,d:y,dd:y,M:y,MM:y,y:y,yy:y},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,a){switch(a){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:1,doy:4},meridiemParse:/rati|sokalli|donparam|sanje/,meridiemHour:function(e,a){return 12===e&&(e=0),"rati"===a?e<4?e:e+12:"sokalli"===a?e:"donparam"===a?e>12?e:e+12:"sanje"===a?e+12:void 0},meridiem:function(e,a,_){return e<4?"rati":e<12?"sokalli":e<16?"donparam":e<20?"sanje":"rati"}});var Oe={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},Fe={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};e.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ac7\u0ab9\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(e){return e.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(e){return Fe[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return Oe[e]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u0ab0\u0abe\u0aa4"===a?e<4?e:e+12:"\u0ab8\u0ab5\u0abe\u0ab0"===a?e:"\u0aac\u0aaa\u0acb\u0ab0"===a?e>=10?e:e+12:"\u0ab8\u0abe\u0a82\u0a9c"===a?e+12:void 0},meridiem:function(e,a,_){return e<4?"\u0ab0\u0abe\u0aa4":e<10?"\u0ab8\u0ab5\u0abe\u0ab0":e<17?"\u0aac\u0aaa\u0acb\u0ab0":e<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}}),e.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(e){return 2===e?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":e+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(e){return 2===e?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":e+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(e){return 2===e?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":e+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(e){return 2===e?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":e%10==0&&10!==e?e+" \u05e9\u05e0\u05d4":e+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(e){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(e)},meridiem:function(e,a,_){return e<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":e<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":e<12?_?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":e<18?_?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}});var ze={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},Je={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};e.defineLocale("hi",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(e){return Je[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return ze[e]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u0930\u093e\u0924"===a?e<4?e:e+12:"\u0938\u0941\u092c\u0939"===a?e:"\u0926\u094b\u092a\u0939\u0930"===a?e>=10?e:e+12:"\u0936\u093e\u092e"===a?e+12:void 0},meridiem:function(e,a,_){return e<4?"\u0930\u093e\u0924":e<10?"\u0938\u0941\u092c\u0939":e<17?"\u0926\u094b\u092a\u0939\u0930":e<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}}),e.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",m:c,mm:c,h:c,hh:c,d:"dan",dd:c,M:"mjesec",MM:c,y:"godinu",yy:c},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});var Ie="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");e.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan_feb_m\xe1rc_\xe1pr_m\xe1j_j\xfan_j\xfal_aug_szept_okt_nov_dec".split("_"),weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,a,_){return e<12?!0===_?"de":"DE":!0===_?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return k.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return k.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:p,m:p,mm:p,h:p,hh:p,d:p,dd:p,M:p,MM:p,y:p,yy:p},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(e){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(e)},meridiem:function(e){return e<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":e<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":e<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(e,a){switch(a){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-\u056b\u0576":e+"-\u0580\u0564";default:return e}},week:{dow:1,doy:7}}),e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,a){return 12===e&&(e=0),"pagi"===a?e:"siang"===a?e>=11?e:e+12:"sore"===a||"malam"===a?e+12:void 0},meridiem:function(e,a,_){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}}),e.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:T,m:T,mm:T,h:"klukkustund",hh:T,d:T,dd:T,M:T,MM:T,y:T,yy:T},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}}),e.defineLocale("ja",{months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm dddd",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5 HH:mm dddd"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(e){return"\u5348\u5f8c"===e},meridiem:function(e,a,_){return e<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:"[\u6765\u9031]dddd LT",lastDay:"[\u6628\u65e5] LT",lastWeek:"[\u524d\u9031]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(e,a){switch(a){case"d":case"D":case"DDD":return e+"\u65e5";default:return e}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}}),e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,a){return 12===e&&(e=0),"enjing"===a?e:"siyang"===a?e>=11?e:e+12:"sonten"===a||"ndalu"===a?e+12:void 0},meridiem:function(e,a,_){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}}),e.defineLocale("ka",{months:{standalone:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),format:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10e1_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10e1_\u10db\u10d0\u10e0\u10e2\u10e1_\u10d0\u10de\u10e0\u10d8\u10da\u10d8\u10e1_\u10db\u10d0\u10d8\u10e1\u10e1_\u10d8\u10d5\u10dc\u10d8\u10e1\u10e1_\u10d8\u10d5\u10da\u10d8\u10e1\u10e1_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10e1_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10e1_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10e1".split("_")},monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(e){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10ec\u10d4\u10da\u10d8)/.test(e)?e.replace(/\u10d8$/,"\u10e8\u10d8"):e+"\u10e8\u10d8"},past:function(e){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(e)?e.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10e3\u10d9\u10d0\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(e)?e.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10e3\u10d9\u10d0\u10dc"):void 0},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(e){return 0===e?e:1===e?e+"-\u10da\u10d8":e<20||e<=100&&e%20==0||e%100==0?"\u10db\u10d4-"+e:e+"-\u10d4"},week:{dow:1,doy:7}});var Ne={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};e.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(e){var a=e%10,_=e>=100?100:null;return e+(Ne[e]||Ne[a]||Ne[_])},week:{dow:1,doy:7}}),e.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysMin:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},week:{dow:1,doy:4}});var Re={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},Ke={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};e.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac_\u0ca8\u0cb5\u0cc6\u0c82\u0cac_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(e){return e.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(e){return Ke[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return Re[e]})},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===a?e<4?e:e+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===a?e:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===a?e>=10?e:e+12:"\u0cb8\u0c82\u0c9c\u0cc6"===a?e+12:void 0},meridiem:function(e,a,_){return e<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":e<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":e<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":e<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(e){return e+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}}),e.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(e,a){switch(a){case"d":case"D":case"DDD":return e+"\uc77c";case"M":return e+"\uc6d4";case"w":case"W":return e+"\uc8fc";default:return e}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(e){return"\uc624\ud6c4"===e},meridiem:function(e,a,_){return e<12?"\uc624\uc804":"\uc624\ud6c4"}});var Ce={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};e.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u0435 \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(e){var a=e%10,_=e>=100?100:null;return e+(Ce[e]||Ce[a]||Ce[_])},week:{dow:1,doy:7}}),e.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(e){return w(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return w(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e},s:"e puer Sekonnen",m:f,mm:"%d Minutten",h:f,hh:"%d Stonnen",d:f,dd:"%d Deeg",M:f,MM:"%d M\xe9int",y:f,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(e){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===e},meridiem:function(e,a,_){return e<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(e){return"\u0e97\u0eb5\u0ec8"+e}});var Ge={m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function(e,a,_,t){return a?"kelios sekund\u0117s":t?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},m:g,mm:v,h:g,hh:v,d:g,dd:v,M:g,MM:v,y:g,yy:v},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}});var Be={m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};e.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function(e,a){return a?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},m:x,mm:j,h:x,hh:j,d:x,dd:j,M:x,MM:j,y:x,yy:j},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});var qe={words:{m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,a){return 1===e?a[0]:e>=2&&e<=4?a[1]:a[2]},translate:function(e,a,_){var t=qe.words[_];return 1===_.length?a?t[0]:t[1]:e+" "+qe.correctGrammaticalCase(e,t)}};e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",m:qe.translate,mm:qe.translate,h:qe.translate,hh:qe.translate,d:"dan",dd:qe.translate,M:"mjesec",MM:qe.translate,y:"godinu",yy:qe.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),e.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}}),e.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u043e\u0441\u043b\u0435 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(e){var a=e%10,_=e%100;return 0===e?e+"-\u0435\u0432":0===_?e+"-\u0435\u043d":_>10&&_<20?e+"-\u0442\u0438":1===a?e+"-\u0432\u0438":2===a?e+"-\u0440\u0438":7===a||8===a?e+"-\u043c\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}}),e.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(e,a){return 12===e&&(e=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===a&&e>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===a||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===a?e+12:e},meridiem:function(e,a,_){return e<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":e<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":e<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":e<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}});var $e={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},Ue={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};e.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:P,m:P,mm:P,h:P,hh:P,d:P,dd:P,M:P,MM:P,y:P,yy:P},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(e){return Ue[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return $e[e]})},meridiemParse:/\u0930\u093e\u0924\u094d\u0930\u0940|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u0930\u093e\u0924\u094d\u0930\u0940"===a?e<4?e:e+12:"\u0938\u0915\u093e\u0933\u0940"===a?e:"\u0926\u0941\u092a\u093e\u0930\u0940"===a?e>=10?e:e+12:"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===a?e+12:void 0},meridiem:function(e,a,_){return e<4?"\u0930\u093e\u0924\u094d\u0930\u0940":e<10?"\u0938\u0915\u093e\u0933\u0940":e<17?"\u0926\u0941\u092a\u093e\u0930\u0940":e<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}}),e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,a){return 12===e&&(e=0),"pagi"===a?e:"tengahari"===a?e>=11?e:e+12:"petang"===a||"malam"===a?e+12:void 0},meridiem:function(e,a,_){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}}),e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,a){return 12===e&&(e=0),"pagi"===a?e:"tengahari"===a?e>=11?e:e+12:"petang"===a||"malam"===a?e+12:void 0},meridiem:function(e,a,_){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}});var Qe={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},Ve={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};e.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(e){return e.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(e){return Ve[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return Qe[e]})},week:{dow:1,doy:4}}),e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});var Ze={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},Xe={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};e.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(e){return Xe[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return Ze[e]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u0930\u093e\u0924\u093f"===a?e<4?e:e+12:"\u092c\u093f\u0939\u093e\u0928"===a?e:"\u0926\u093f\u0909\u0901\u0938\u094b"===a?e>=10?e:e+12:"\u0938\u093e\u0901\u091d"===a?e+12:void 0},meridiem:function(e,a,_){return e<3?"\u0930\u093e\u0924\u093f":e<12?"\u092c\u093f\u0939\u093e\u0928":e<16?"\u0926\u093f\u0909\u0901\u0938\u094b":e<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}});var ea="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),aa="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),_a=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],ta=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,a){return e?/-MMM-/.test(a)?aa[e.month()]:ea[e.month()]:ea},monthsRegex:ta,monthsShortRegex:ta,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:_a,longMonthsParse:_a,shortMonthsParse:_a,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});var da="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),sa="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),na=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],ra=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,a){return e?/-MMM-/.test(a)?sa[e.month()]:da[e.month()]:da},monthsRegex:ra,monthsShortRegex:ra,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:na,longMonthsParse:na,shortMonthsParse:na,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}}),e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_m\xe5n_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});var ia={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},ma={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};e.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(e){return e.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(e){return ma[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return ia[e]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u0a30\u0a3e\u0a24"===a?e<4?e:e+12:"\u0a38\u0a35\u0a47\u0a30"===a?e:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===a?e>=10?e:e+12:"\u0a38\u0a3c\u0a3e\u0a2e"===a?e+12:void 0},meridiem:function(e,a,_){return e<4?"\u0a30\u0a3e\u0a24":e<10?"\u0a38\u0a35\u0a47\u0a30":e<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":e<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}});var oa="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),ua="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_");e.defineLocale("pl",{months:function(e,a){return e?""===a?"("+ua[e.month()]+"|"+oa[e.month()]+")":/D MMMM/.test(a)?ua[e.month()]:oa[e.month()]:oa},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:E,mm:E,h:E,hh:E,d:"1 dzie\u0144",dd:"%d dni",M:"miesi\u0105c",MM:E,y:"rok",yy:E},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"%s atr\xe1s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba"}),e.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}}),e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",m:"un minut",mm:A,h:"o or\u0103",hh:A,d:"o zi",dd:A,M:"o lun\u0103",MM:A,y:"un an",yy:A},week:{dow:1,doy:7}});var Ma=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];e.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?\] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:Ma,longMonthsParse:Ma,shortMonthsParse:Ma,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430 \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd [\u0432] LT":"[\u0412] dddd [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd [\u0432] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd [\u0432] LT":"[\u0412] dddd [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",m:F,mm:F,h:"\u0447\u0430\u0441",hh:F,d:"\u0434\u0435\u043d\u044c",dd:F,M:"\u043c\u0435\u0441\u044f\u0446",MM:F,y:"\u0433\u043e\u0434",yy:F},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(e)},meridiem:function(e,a,_){return e<4?"\u043d\u043e\u0447\u0438":e<12?"\u0443\u0442\u0440\u0430":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(e,a){switch(a){case"M":case"d":case"DDD":return e+"-\u0439";case"D":return e+"-\u0433\u043e";case"w":case"W":return e+"-\u044f";default:return e}},week:{dow:1,doy:4}});var la=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],La=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];e.defineLocale("sd",{months:la,monthsShort:la,weekdays:La,weekdaysShort:La,weekdaysMin:La,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(e){return"\u0634\u0627\u0645"===e},meridiem:function(e,a,_){return e<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:4}}),e.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(e){return e+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(e){return"\u0db4.\u0dc0."===e||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===e},meridiem:function(e,a,_){return e>11?_?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":_?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}});var Ya="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),ha="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");e.defineLocale("sk",{months:Ya,monthsShort:ha,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 4:case 5:return"[minul\xfd] dddd [o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:J,m:J,mm:J,h:J,hh:J,d:J,dd:J,M:J,MM:J,y:J,yy:J},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:I,m:I,mm:I,h:I,hh:I,d:I,dd:I,M:I,MM:I,y:I,yy:I},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,a,_){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});var ya={words:{m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u0435 \u043c\u0438\u043d\u0443\u0442\u0435"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0435","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],yy:["\u0433\u043e\u0434\u0438\u043d\u0430","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(e,a){return 1===e?a[0]:e>=2&&e<=4?a[1]:a[2]},translate:function(e,a,_){var t=ya.words[_];return 1===_.length?a?t[0]:t[1]:e+" "+ya.correctGrammaticalCase(e,t)}};e.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:ya.translate,mm:ya.translate,h:ya.translate,hh:ya.translate,d:"\u0434\u0430\u043d",dd:ya.translate,M:"\u043c\u0435\u0441\u0435\u0446",MM:ya.translate,y:"\u0433\u043e\u0434\u0438\u043d\u0443",yy:ya.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});var ca={words:{m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,a){return 1===e?a[0]:e>=2&&e<=4?a[1]:a[2]},translate:function(e,a,_){var t=ca.words[_];return 1===_.length?a?t[0]:t[1]:e+" "+ca.correctGrammaticalCase(e,t)}};e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",m:ca.translate,mm:ca.translate,h:ca.translate,hh:ca.translate,d:"dan",dd:ca.translate,M:"mesec",MM:ca.translate,y:"godinu",yy:ca.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,a,_){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,a){return 12===e&&(e=0),"ekuseni"===a?e:"emini"===a?e>=11?e:e+12:"entsambama"===a||"ebusuku"===a?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}}),e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(e|a)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?"e":1===a?"a":2===a?"a":"e")},week:{dow:1,doy:4}}),e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}});var pa={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},ka={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};e.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(e){return e+"\u0bb5\u0ba4\u0bc1"},preparse:function(e){return e.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(e){return ka[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return pa[e]})},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(e,a,_){return e<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":e<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":e<10?" \u0b95\u0bbe\u0bb2\u0bc8":e<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":e<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":e<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(e,a){return 12===e&&(e=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===a?e<2?e:e+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===a||"\u0b95\u0bbe\u0bb2\u0bc8"===a?e:"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===a&&e>=10?e:e+12},week:{dow:0,doy:6}}),e.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c42\u0c32\u0c46\u0c56_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c42\u0c32\u0c46\u0c56_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===a?e<4?e:e+12:"\u0c09\u0c26\u0c2f\u0c02"===a?e:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===a?e>=10?e:e+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===a?e+12:void 0},meridiem:function(e,a,_){return e<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":e<10?"\u0c09\u0c26\u0c2f\u0c02":e<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":e<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}}),e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juniu_Juliu_Augustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Aug_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sexta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sext_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Sex_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"minutu balun",m:"minutu ida",mm:"minutus %d",h:"horas ida",hh:"horas %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}}),e.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(e){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===e},meridiem:function(e,a,_){return e<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}}),e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}});var Da="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");e.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(e){var a=e;return a=-1!==e.indexOf("jaj")?a.slice(0,-3)+"leS":-1!==e.indexOf("jar")?a.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?a.slice(0,-3)+"nem":a+" pIq"},past:function(e){var a=e;return a=-1!==e.indexOf("jaj")?a.slice(0,-3)+"Hu\u2019":-1!==e.indexOf("jar")?a.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?a.slice(0,-3)+"ben":a+" ret"},s:"puS lup",m:"wa\u2019 tup",mm:N,h:"wa\u2019 rep",hh:N,d:"wa\u2019 jaj",dd:N,M:"wa\u2019 jar",MM:N,y:"wa\u2019 DIS",yy:N},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});var Ta={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};e.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},dayOfMonthOrdinalParse:/\d{1,2}'(inci|nci|\xfcnc\xfc|nc\u0131|uncu|\u0131nc\u0131)/,ordinal:function(e){if(0===e)return e+"'\u0131nc\u0131";var a=e%10,_=e%100-a,t=e>=100?100:null;return e+(Ta[a]||Ta[_]||Ta[t])},week:{dow:1,doy:7}}),e.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,a,_){return e>11?_?"d'o":"D'O":_?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:K,m:K,mm:K,h:K,hh:K,d:K,dd:K,M:K,MM:K,y:K,yy:K},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}}),e.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}}),e.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function(e,a){var _={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return e?_[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(a)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(a)?"genitive":"nominative"][e.day()]:_.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:B("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:B("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:B("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:B("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return B("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return B("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",m:G,mm:G,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:G,d:"\u0434\u0435\u043d\u044c",dd:G,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:G,y:"\u0440\u0456\u043a",yy:G},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(e)},meridiem:function(e,a,_){return e<4?"\u043d\u043e\u0447\u0456":e<12?"\u0440\u0430\u043d\u043a\u0443":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(e,a){switch(a){case"M":case"d":case"DDD":case"w":case"W":return e+"-\u0439";case"D":return e+"-\u0433\u043e";default:return e}},week:{dow:1,doy:7}});var fa=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],wa=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];return e.defineLocale("ur",{months:fa,monthsShort:fa,weekdays:wa,weekdaysShort:wa,weekdaysMin:wa,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(e){return"\u0634\u0627\u0645"===e},meridiem:function(e,a,_){return e<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:4}}),e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}}),e.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}}),e.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,a,_){return e<12?_?"sa":"SA":_?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n r\u1ed3i l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}}),e.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}}),e.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}}),e.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY\u5e74MMMD\u65e5",LL:"YYYY\u5e74MMMD\u65e5",LLL:"YYYY\u5e74MMMD\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74MMMD\u65e5ddddAh\u70b9mm\u5206",l:"YYYY\u5e74MMMD\u65e5",ll:"YYYY\u5e74MMMD\u65e5",lll:"YYYY\u5e74MMMD\u65e5 HH:mm",llll:"YYYY\u5e74MMMD\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u51cc\u6668"===a||"\u65e9\u4e0a"===a||"\u4e0a\u5348"===a?e:"\u4e0b\u5348"===a||"\u665a\u4e0a"===a?e+12:e>=11?e:e+12},meridiem:function(e,a,_){var t=100*e+a;return t<600?"\u51cc\u6668":t<900?"\u65e9\u4e0a":t<1130?"\u4e0a\u5348":t<1230?"\u4e2d\u5348":t<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(e,a){switch(a){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u5468";default:return e}},relativeTime:{future:"%s\u5185",past:"%s\u524d",s:"\u51e0\u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}}),e.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY\u5e74MMMD\u65e5",LL:"YYYY\u5e74MMMD\u65e5",LLL:"YYYY\u5e74MMMD\u65e5 HH:mm",LLLL:"YYYY\u5e74MMMD\u65e5dddd HH:mm",l:"YYYY\u5e74MMMD\u65e5",ll:"YYYY\u5e74MMMD\u65e5",lll:"YYYY\u5e74MMMD\u65e5 HH:mm",llll:"YYYY\u5e74MMMD\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u51cc\u6668"===a||"\u65e9\u4e0a"===a||"\u4e0a\u5348"===a?e:"\u4e2d\u5348"===a?e>=11?e:e+12:"\u4e0b\u5348"===a||"\u665a\u4e0a"===a?e+12:void 0},meridiem:function(e,a,_){var t=100*e+a;return t<600?"\u51cc\u6668":t<900?"\u65e9\u4e0a":t<1130?"\u4e0a\u5348":t<1230?"\u4e2d\u5348":t<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,a){switch(a){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}}),e.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY\u5e74MMMD\u65e5",LL:"YYYY\u5e74MMMD\u65e5",LLL:"YYYY\u5e74MMMD\u65e5 HH:mm",LLLL:"YYYY\u5e74MMMD\u65e5dddd HH:mm",l:"YYYY\u5e74MMMD\u65e5",ll:"YYYY\u5e74MMMD\u65e5",lll:"YYYY\u5e74MMMD\u65e5 HH:mm",llll:"YYYY\u5e74MMMD\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u51cc\u6668"===a||"\u65e9\u4e0a"===a||"\u4e0a\u5348"===a?e:"\u4e2d\u5348"===a?e>=11?e:e+12:"\u4e0b\u5348"===a||"\u665a\u4e0a"===a?e+12:void 0},meridiem:function(e,a,_){var t=100*e+a;return t<600?"\u51cc\u6668":t<900?"\u65e9\u4e0a":t<1130?"\u4e0a\u5348":t<1230?"\u4e2d\u5348":t<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,a){switch(a){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}}),e.locale("en"),e});⏎ |
26 | 26 | } |
27 | 27 | |
28 | 28 | function isObjectEmpty(obj) { |
29 | var k; | |
30 | for (k in obj) { | |
31 | // even if its not own property I'd still call it non-empty | |
32 | return false; | |
33 | } | |
34 | return true; | |
29 | if (Object.getOwnPropertyNames) { | |
30 | return (Object.getOwnPropertyNames(obj).length === 0); | |
31 | } else { | |
32 | var k; | |
33 | for (k in obj) { | |
34 | if (obj.hasOwnProperty(k)) { | |
35 | return false; | |
36 | } | |
37 | } | |
38 | return true; | |
39 | } | |
35 | 40 | } |
36 | 41 | |
37 | 42 | function isUndefined(input) { |
125 | 130 | }; |
126 | 131 | } |
127 | 132 | |
128 | var some$1 = some; | |
129 | ||
130 | 133 | function isValid(m) { |
131 | 134 | if (m._isValid == null) { |
132 | 135 | var flags = getParsingFlags(m); |
133 | var parsedParts = some$1.call(flags.parsedDateParts, function (i) { | |
136 | var parsedParts = some.call(flags.parsedDateParts, function (i) { | |
134 | 137 | return i != null; |
135 | 138 | }); |
136 | 139 | var isNowValid = !isNaN(m._d.getTime()) && |
138 | 141 | !flags.empty && |
139 | 142 | !flags.invalidMonth && |
140 | 143 | !flags.invalidWeekday && |
144 | !flags.weekdayMismatch && | |
141 | 145 | !flags.nullInput && |
142 | 146 | !flags.invalidFormat && |
143 | 147 | !flags.userInvalidated && |
403 | 407 | }; |
404 | 408 | } |
405 | 409 | |
406 | var keys$1 = keys; | |
407 | ||
408 | 410 | var defaultCalendar = { |
409 | 411 | sameDay : '[Today at] LT', |
410 | 412 | nextDay : '[Tomorrow at] LT', |
530 | 532 | return units; |
531 | 533 | } |
532 | 534 | |
533 | function makeGetSet (unit, keepTime) { | |
534 | return function (value) { | |
535 | if (value != null) { | |
536 | set$1(this, unit, value); | |
537 | hooks.updateOffset(this, keepTime); | |
538 | return this; | |
539 | } else { | |
540 | return get(this, unit); | |
541 | } | |
542 | }; | |
543 | } | |
544 | ||
545 | function get (mom, unit) { | |
546 | return mom.isValid() ? | |
547 | mom._d['get' + (mom._isUTC ? 'UTC' : '') + unit]() : NaN; | |
548 | } | |
549 | ||
550 | function set$1 (mom, unit, value) { | |
551 | if (mom.isValid()) { | |
552 | mom._d['set' + (mom._isUTC ? 'UTC' : '') + unit](value); | |
553 | } | |
554 | } | |
555 | ||
556 | // MOMENTS | |
557 | ||
558 | function stringGet (units) { | |
559 | units = normalizeUnits(units); | |
560 | if (isFunction(this[units])) { | |
561 | return this[units](); | |
562 | } | |
563 | return this; | |
564 | } | |
565 | ||
566 | ||
567 | function stringSet (units, value) { | |
568 | if (typeof units === 'object') { | |
569 | units = normalizeObjectUnits(units); | |
570 | var prioritized = getPrioritizedUnits(units); | |
571 | for (var i = 0; i < prioritized.length; i++) { | |
572 | this[prioritized[i].unit](units[prioritized[i].unit]); | |
573 | } | |
574 | } else { | |
575 | units = normalizeUnits(units); | |
576 | if (isFunction(this[units])) { | |
577 | return this[units](value); | |
578 | } | |
579 | } | |
580 | return this; | |
581 | } | |
582 | ||
583 | 535 | function zeroFill(number, targetLength, forceSign) { |
584 | 536 | var absNumber = '' + Math.abs(number), |
585 | 537 | zerosToFill = targetLength - absNumber.length, |
770 | 722 | var WEEK = 7; |
771 | 723 | var WEEKDAY = 8; |
772 | 724 | |
725 | // FORMATTING | |
726 | ||
727 | addFormatToken('Y', 0, 0, function () { | |
728 | var y = this.year(); | |
729 | return y <= 9999 ? '' + y : '+' + y; | |
730 | }); | |
731 | ||
732 | addFormatToken(0, ['YY', 2], 0, function () { | |
733 | return this.year() % 100; | |
734 | }); | |
735 | ||
736 | addFormatToken(0, ['YYYY', 4], 0, 'year'); | |
737 | addFormatToken(0, ['YYYYY', 5], 0, 'year'); | |
738 | addFormatToken(0, ['YYYYYY', 6, true], 0, 'year'); | |
739 | ||
740 | // ALIASES | |
741 | ||
742 | addUnitAlias('year', 'y'); | |
743 | ||
744 | // PRIORITIES | |
745 | ||
746 | addUnitPriority('year', 1); | |
747 | ||
748 | // PARSING | |
749 | ||
750 | addRegexToken('Y', matchSigned); | |
751 | addRegexToken('YY', match1to2, match2); | |
752 | addRegexToken('YYYY', match1to4, match4); | |
753 | addRegexToken('YYYYY', match1to6, match6); | |
754 | addRegexToken('YYYYYY', match1to6, match6); | |
755 | ||
756 | addParseToken(['YYYYY', 'YYYYYY'], YEAR); | |
757 | addParseToken('YYYY', function (input, array) { | |
758 | array[YEAR] = input.length === 2 ? hooks.parseTwoDigitYear(input) : toInt(input); | |
759 | }); | |
760 | addParseToken('YY', function (input, array) { | |
761 | array[YEAR] = hooks.parseTwoDigitYear(input); | |
762 | }); | |
763 | addParseToken('Y', function (input, array) { | |
764 | array[YEAR] = parseInt(input, 10); | |
765 | }); | |
766 | ||
767 | // HELPERS | |
768 | ||
769 | function daysInYear(year) { | |
770 | return isLeapYear(year) ? 366 : 365; | |
771 | } | |
772 | ||
773 | function isLeapYear(year) { | |
774 | return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0; | |
775 | } | |
776 | ||
777 | // HOOKS | |
778 | ||
779 | hooks.parseTwoDigitYear = function (input) { | |
780 | return toInt(input) + (toInt(input) > 68 ? 1900 : 2000); | |
781 | }; | |
782 | ||
783 | // MOMENTS | |
784 | ||
785 | var getSetYear = makeGetSet('FullYear', true); | |
786 | ||
787 | function getIsLeapYear () { | |
788 | return isLeapYear(this.year()); | |
789 | } | |
790 | ||
791 | function makeGetSet (unit, keepTime) { | |
792 | return function (value) { | |
793 | if (value != null) { | |
794 | set$1(this, unit, value); | |
795 | hooks.updateOffset(this, keepTime); | |
796 | return this; | |
797 | } else { | |
798 | return get(this, unit); | |
799 | } | |
800 | }; | |
801 | } | |
802 | ||
803 | function get (mom, unit) { | |
804 | return mom.isValid() ? | |
805 | mom._d['get' + (mom._isUTC ? 'UTC' : '') + unit]() : NaN; | |
806 | } | |
807 | ||
808 | function set$1 (mom, unit, value) { | |
809 | if (mom.isValid() && !isNaN(value)) { | |
810 | if (unit === 'FullYear' && isLeapYear(mom.year())) { | |
811 | mom._d['set' + (mom._isUTC ? 'UTC' : '') + unit](value, mom.month(), daysInMonth(value, mom.month())); | |
812 | } | |
813 | else { | |
814 | mom._d['set' + (mom._isUTC ? 'UTC' : '') + unit](value); | |
815 | } | |
816 | } | |
817 | } | |
818 | ||
819 | // MOMENTS | |
820 | ||
821 | function stringGet (units) { | |
822 | units = normalizeUnits(units); | |
823 | if (isFunction(this[units])) { | |
824 | return this[units](); | |
825 | } | |
826 | return this; | |
827 | } | |
828 | ||
829 | ||
830 | function stringSet (units, value) { | |
831 | if (typeof units === 'object') { | |
832 | units = normalizeObjectUnits(units); | |
833 | var prioritized = getPrioritizedUnits(units); | |
834 | for (var i = 0; i < prioritized.length; i++) { | |
835 | this[prioritized[i].unit](units[prioritized[i].unit]); | |
836 | } | |
837 | } else { | |
838 | units = normalizeUnits(units); | |
839 | if (isFunction(this[units])) { | |
840 | return this[units](value); | |
841 | } | |
842 | } | |
843 | return this; | |
844 | } | |
845 | ||
846 | function mod(n, x) { | |
847 | return ((n % x) + x) % x; | |
848 | } | |
849 | ||
773 | 850 | var indexOf; |
774 | 851 | |
775 | 852 | if (Array.prototype.indexOf) { |
787 | 864 | }; |
788 | 865 | } |
789 | 866 | |
790 | var indexOf$1 = indexOf; | |
791 | ||
792 | 867 | function daysInMonth(year, month) { |
793 | return new Date(Date.UTC(year, month + 1, 0)).getUTCDate(); | |
868 | if (isNaN(year) || isNaN(month)) { | |
869 | return NaN; | |
870 | } | |
871 | var modMonth = mod(month, 12); | |
872 | year += (month - modMonth) / 12; | |
873 | return modMonth === 1 ? (isLeapYear(year) ? 29 : 28) : (31 - modMonth % 7 % 2); | |
794 | 874 | } |
795 | 875 | |
796 | 876 | // FORMATTING |
879 | 959 | |
880 | 960 | if (strict) { |
881 | 961 | if (format === 'MMM') { |
882 | ii = indexOf$1.call(this._shortMonthsParse, llc); | |
962 | ii = indexOf.call(this._shortMonthsParse, llc); | |
883 | 963 | return ii !== -1 ? ii : null; |
884 | 964 | } else { |
885 | ii = indexOf$1.call(this._longMonthsParse, llc); | |
965 | ii = indexOf.call(this._longMonthsParse, llc); | |
886 | 966 | return ii !== -1 ? ii : null; |
887 | 967 | } |
888 | 968 | } else { |
889 | 969 | if (format === 'MMM') { |
890 | ii = indexOf$1.call(this._shortMonthsParse, llc); | |
970 | ii = indexOf.call(this._shortMonthsParse, llc); | |
891 | 971 | if (ii !== -1) { |
892 | 972 | return ii; |
893 | 973 | } |
894 | ii = indexOf$1.call(this._longMonthsParse, llc); | |
974 | ii = indexOf.call(this._longMonthsParse, llc); | |
895 | 975 | return ii !== -1 ? ii : null; |
896 | 976 | } else { |
897 | ii = indexOf$1.call(this._longMonthsParse, llc); | |
977 | ii = indexOf.call(this._longMonthsParse, llc); | |
898 | 978 | if (ii !== -1) { |
899 | 979 | return ii; |
900 | 980 | } |
901 | ii = indexOf$1.call(this._shortMonthsParse, llc); | |
981 | ii = indexOf.call(this._shortMonthsParse, llc); | |
902 | 982 | return ii !== -1 ? ii : null; |
903 | 983 | } |
904 | 984 | } |
1057 | 1137 | this._monthsShortStrictRegex = new RegExp('^(' + shortPieces.join('|') + ')', 'i'); |
1058 | 1138 | } |
1059 | 1139 | |
1060 | // FORMATTING | |
1061 | ||
1062 | addFormatToken('Y', 0, 0, function () { | |
1063 | var y = this.year(); | |
1064 | return y <= 9999 ? '' + y : '+' + y; | |
1065 | }); | |
1066 | ||
1067 | addFormatToken(0, ['YY', 2], 0, function () { | |
1068 | return this.year() % 100; | |
1069 | }); | |
1070 | ||
1071 | addFormatToken(0, ['YYYY', 4], 0, 'year'); | |
1072 | addFormatToken(0, ['YYYYY', 5], 0, 'year'); | |
1073 | addFormatToken(0, ['YYYYYY', 6, true], 0, 'year'); | |
1074 | ||
1075 | // ALIASES | |
1076 | ||
1077 | addUnitAlias('year', 'y'); | |
1078 | ||
1079 | // PRIORITIES | |
1080 | ||
1081 | addUnitPriority('year', 1); | |
1082 | ||
1083 | // PARSING | |
1084 | ||
1085 | addRegexToken('Y', matchSigned); | |
1086 | addRegexToken('YY', match1to2, match2); | |
1087 | addRegexToken('YYYY', match1to4, match4); | |
1088 | addRegexToken('YYYYY', match1to6, match6); | |
1089 | addRegexToken('YYYYYY', match1to6, match6); | |
1090 | ||
1091 | addParseToken(['YYYYY', 'YYYYYY'], YEAR); | |
1092 | addParseToken('YYYY', function (input, array) { | |
1093 | array[YEAR] = input.length === 2 ? hooks.parseTwoDigitYear(input) : toInt(input); | |
1094 | }); | |
1095 | addParseToken('YY', function (input, array) { | |
1096 | array[YEAR] = hooks.parseTwoDigitYear(input); | |
1097 | }); | |
1098 | addParseToken('Y', function (input, array) { | |
1099 | array[YEAR] = parseInt(input, 10); | |
1100 | }); | |
1101 | ||
1102 | // HELPERS | |
1103 | ||
1104 | function daysInYear(year) { | |
1105 | return isLeapYear(year) ? 366 : 365; | |
1106 | } | |
1107 | ||
1108 | function isLeapYear(year) { | |
1109 | return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0; | |
1110 | } | |
1111 | ||
1112 | // HOOKS | |
1113 | ||
1114 | hooks.parseTwoDigitYear = function (input) { | |
1115 | return toInt(input) + (toInt(input) > 68 ? 1900 : 2000); | |
1116 | }; | |
1117 | ||
1118 | // MOMENTS | |
1119 | ||
1120 | var getSetYear = makeGetSet('FullYear', true); | |
1121 | ||
1122 | function getIsLeapYear () { | |
1123 | return isLeapYear(this.year()); | |
1124 | } | |
1125 | ||
1126 | 1140 | function createDate (y, m, d, h, M, s, ms) { |
1127 | 1141 | // can't just apply() to create a date: |
1128 | 1142 | // https://stackoverflow.com/q/181348 |
1390 | 1404 | |
1391 | 1405 | if (strict) { |
1392 | 1406 | if (format === 'dddd') { |
1393 | ii = indexOf$1.call(this._weekdaysParse, llc); | |
1407 | ii = indexOf.call(this._weekdaysParse, llc); | |
1394 | 1408 | return ii !== -1 ? ii : null; |
1395 | 1409 | } else if (format === 'ddd') { |
1396 | ii = indexOf$1.call(this._shortWeekdaysParse, llc); | |
1410 | ii = indexOf.call(this._shortWeekdaysParse, llc); | |
1397 | 1411 | return ii !== -1 ? ii : null; |
1398 | 1412 | } else { |
1399 | ii = indexOf$1.call(this._minWeekdaysParse, llc); | |
1413 | ii = indexOf.call(this._minWeekdaysParse, llc); | |
1400 | 1414 | return ii !== -1 ? ii : null; |
1401 | 1415 | } |
1402 | 1416 | } else { |
1403 | 1417 | if (format === 'dddd') { |
1404 | ii = indexOf$1.call(this._weekdaysParse, llc); | |
1418 | ii = indexOf.call(this._weekdaysParse, llc); | |
1405 | 1419 | if (ii !== -1) { |
1406 | 1420 | return ii; |
1407 | 1421 | } |
1408 | ii = indexOf$1.call(this._shortWeekdaysParse, llc); | |
1422 | ii = indexOf.call(this._shortWeekdaysParse, llc); | |
1409 | 1423 | if (ii !== -1) { |
1410 | 1424 | return ii; |
1411 | 1425 | } |
1412 | ii = indexOf$1.call(this._minWeekdaysParse, llc); | |
1426 | ii = indexOf.call(this._minWeekdaysParse, llc); | |
1413 | 1427 | return ii !== -1 ? ii : null; |
1414 | 1428 | } else if (format === 'ddd') { |
1415 | ii = indexOf$1.call(this._shortWeekdaysParse, llc); | |
1429 | ii = indexOf.call(this._shortWeekdaysParse, llc); | |
1416 | 1430 | if (ii !== -1) { |
1417 | 1431 | return ii; |
1418 | 1432 | } |
1419 | ii = indexOf$1.call(this._weekdaysParse, llc); | |
1433 | ii = indexOf.call(this._weekdaysParse, llc); | |
1420 | 1434 | if (ii !== -1) { |
1421 | 1435 | return ii; |
1422 | 1436 | } |
1423 | ii = indexOf$1.call(this._minWeekdaysParse, llc); | |
1437 | ii = indexOf.call(this._minWeekdaysParse, llc); | |
1424 | 1438 | return ii !== -1 ? ii : null; |
1425 | 1439 | } else { |
1426 | ii = indexOf$1.call(this._minWeekdaysParse, llc); | |
1440 | ii = indexOf.call(this._minWeekdaysParse, llc); | |
1427 | 1441 | if (ii !== -1) { |
1428 | 1442 | return ii; |
1429 | 1443 | } |
1430 | ii = indexOf$1.call(this._weekdaysParse, llc); | |
1444 | ii = indexOf.call(this._weekdaysParse, llc); | |
1431 | 1445 | if (ii !== -1) { |
1432 | 1446 | return ii; |
1433 | 1447 | } |
1434 | ii = indexOf$1.call(this._shortWeekdaysParse, llc); | |
1448 | ii = indexOf.call(this._shortWeekdaysParse, llc); | |
1435 | 1449 | return ii !== -1 ? ii : null; |
1436 | 1450 | } |
1437 | 1451 | } |
1815 | 1829 | |
1816 | 1830 | function loadLocale(name) { |
1817 | 1831 | var oldLocale = null; |
1832 | ||
1818 | 1833 | // TODO: Find a better way to register and load all the locales in Node |
1819 | 1834 | if (!locales[name] && (typeof module !== 'undefined') && |
1820 | 1835 | module && module.exports) { |
1836 | oldLocale = globalLocale._abbr; | |
1821 | 1837 | try { |
1822 | oldLocale = globalLocale._abbr; | |
1823 | require('./locale/' + name); | |
1824 | // because defineLocale currently also sets the global locale, we | |
1825 | // want to undo that for lazy loaded locales | |
1826 | getSetGlobalLocale(oldLocale); | |
1827 | } catch (e) { } | |
1838 | // workaround for React Native 0.49+ | |
1839 | var pretendingNotToRequireV1 = require; | |
1840 | pretendingNotToRequireV1('moment/locale/' + name); | |
1841 | } catch (e) { | |
1842 | // In the test environment, the external module 'moment' | |
1843 | // can't be resolved because we're running inside it. | |
1844 | // Fallback to using the old relative import | |
1845 | try { | |
1846 | var pretendingNotToRequireV2 = require; | |
1847 | pretendingNotToRequireV2('./locale/' + name); | |
1848 | } catch (e) { } | |
1849 | } | |
1850 | ||
1851 | // because defineLocale currently also sets the global locale, we | |
1852 | // want to undo that for lazy loaded locales | |
1853 | getSetGlobalLocale(oldLocale); | |
1828 | 1854 | } |
1829 | 1855 | return locales[name]; |
1830 | 1856 | } |
1950 | 1976 | } |
1951 | 1977 | |
1952 | 1978 | function listLocales() { |
1953 | return keys$1(locales); | |
1979 | return keys(locales); | |
1954 | 1980 | } |
1955 | 1981 | |
1956 | 1982 | function checkOverflow (m) { |
1983 | 2009 | return m; |
1984 | 2010 | } |
1985 | 2011 | |
1986 | // iso 8601 regex | |
1987 | // 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) | |
1988 | var extendedIsoRegex = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/; | |
1989 | var basicIsoRegex = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/; | |
1990 | ||
1991 | var tzRegex = /Z|[+-]\d\d(?::?\d\d)?/; | |
1992 | ||
1993 | var isoDates = [ | |
1994 | ['YYYYYY-MM-DD', /[+-]\d{6}-\d\d-\d\d/], | |
1995 | ['YYYY-MM-DD', /\d{4}-\d\d-\d\d/], | |
1996 | ['GGGG-[W]WW-E', /\d{4}-W\d\d-\d/], | |
1997 | ['GGGG-[W]WW', /\d{4}-W\d\d/, false], | |
1998 | ['YYYY-DDD', /\d{4}-\d{3}/], | |
1999 | ['YYYY-MM', /\d{4}-\d\d/, false], | |
2000 | ['YYYYYYMMDD', /[+-]\d{10}/], | |
2001 | ['YYYYMMDD', /\d{8}/], | |
2002 | // YYYYMM is NOT allowed by the standard | |
2003 | ['GGGG[W]WWE', /\d{4}W\d{3}/], | |
2004 | ['GGGG[W]WW', /\d{4}W\d{2}/, false], | |
2005 | ['YYYYDDD', /\d{7}/] | |
2006 | ]; | |
2007 | ||
2008 | // iso time formats and regexes | |
2009 | var isoTimes = [ | |
2010 | ['HH:mm:ss.SSSS', /\d\d:\d\d:\d\d\.\d+/], | |
2011 | ['HH:mm:ss,SSSS', /\d\d:\d\d:\d\d,\d+/], | |
2012 | ['HH:mm:ss', /\d\d:\d\d:\d\d/], | |
2013 | ['HH:mm', /\d\d:\d\d/], | |
2014 | ['HHmmss.SSSS', /\d\d\d\d\d\d\.\d+/], | |
2015 | ['HHmmss,SSSS', /\d\d\d\d\d\d,\d+/], | |
2016 | ['HHmmss', /\d\d\d\d\d\d/], | |
2017 | ['HHmm', /\d\d\d\d/], | |
2018 | ['HH', /\d\d/] | |
2019 | ]; | |
2020 | ||
2021 | var aspNetJsonRegex = /^\/?Date\((\-?\d+)/i; | |
2022 | ||
2023 | // date from iso format | |
2024 | function configFromISO(config) { | |
2025 | var i, l, | |
2026 | string = config._i, | |
2027 | match = extendedIsoRegex.exec(string) || basicIsoRegex.exec(string), | |
2028 | allowTime, dateFormat, timeFormat, tzFormat; | |
2029 | ||
2030 | if (match) { | |
2031 | getParsingFlags(config).iso = true; | |
2032 | ||
2033 | for (i = 0, l = isoDates.length; i < l; i++) { | |
2034 | if (isoDates[i][1].exec(match[1])) { | |
2035 | dateFormat = isoDates[i][0]; | |
2036 | allowTime = isoDates[i][2] !== false; | |
2037 | break; | |
2038 | } | |
2039 | } | |
2040 | if (dateFormat == null) { | |
2041 | config._isValid = false; | |
2042 | return; | |
2043 | } | |
2044 | if (match[3]) { | |
2045 | for (i = 0, l = isoTimes.length; i < l; i++) { | |
2046 | if (isoTimes[i][1].exec(match[3])) { | |
2047 | // match[2] should be 'T' or space | |
2048 | timeFormat = (match[2] || ' ') + isoTimes[i][0]; | |
2049 | break; | |
2050 | } | |
2051 | } | |
2052 | if (timeFormat == null) { | |
2053 | config._isValid = false; | |
2054 | return; | |
2055 | } | |
2056 | } | |
2057 | if (!allowTime && timeFormat != null) { | |
2058 | config._isValid = false; | |
2059 | return; | |
2060 | } | |
2061 | if (match[4]) { | |
2062 | if (tzRegex.exec(match[4])) { | |
2063 | tzFormat = 'Z'; | |
2064 | } else { | |
2065 | config._isValid = false; | |
2066 | return; | |
2067 | } | |
2068 | } | |
2069 | config._f = dateFormat + (timeFormat || '') + (tzFormat || ''); | |
2070 | configFromStringAndFormat(config); | |
2071 | } else { | |
2072 | config._isValid = false; | |
2073 | } | |
2074 | } | |
2075 | ||
2076 | // RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3 | |
2077 | var basicRfcRegex = /^((?:Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d?\d\s(?:Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(?:\d\d)?\d\d\s)(\d\d:\d\d)(\:\d\d)?(\s(?:UT|GMT|[ECMP][SD]T|[A-IK-Za-ik-z]|[+-]\d{4}))$/; | |
2078 | ||
2079 | // date and time from ref 2822 format | |
2080 | function configFromRFC2822(config) { | |
2081 | var string, match, dayFormat, | |
2082 | dateFormat, timeFormat, tzFormat; | |
2083 | var timezones = { | |
2084 | ' GMT': ' +0000', | |
2085 | ' EDT': ' -0400', | |
2086 | ' EST': ' -0500', | |
2087 | ' CDT': ' -0500', | |
2088 | ' CST': ' -0600', | |
2089 | ' MDT': ' -0600', | |
2090 | ' MST': ' -0700', | |
2091 | ' PDT': ' -0700', | |
2092 | ' PST': ' -0800' | |
2093 | }; | |
2094 | var military = 'YXWVUTSRQPONZABCDEFGHIKLM'; | |
2095 | var timezone, timezoneIndex; | |
2096 | ||
2097 | string = config._i | |
2098 | .replace(/\([^\)]*\)|[\n\t]/g, ' ') // Remove comments and folding whitespace | |
2099 | .replace(/(\s\s+)/g, ' ') // Replace multiple-spaces with a single space | |
2100 | .replace(/^\s|\s$/g, ''); // Remove leading and trailing spaces | |
2101 | match = basicRfcRegex.exec(string); | |
2102 | ||
2103 | if (match) { | |
2104 | dayFormat = match[1] ? 'ddd' + ((match[1].length === 5) ? ', ' : ' ') : ''; | |
2105 | dateFormat = 'D MMM ' + ((match[2].length > 10) ? 'YYYY ' : 'YY '); | |
2106 | timeFormat = 'HH:mm' + (match[4] ? ':ss' : ''); | |
2107 | ||
2108 | // TODO: Replace the vanilla JS Date object with an indepentent day-of-week check. | |
2109 | if (match[1]) { // day of week given | |
2110 | var momentDate = new Date(match[2]); | |
2111 | var momentDay = ['Sun','Mon','Tue','Wed','Thu','Fri','Sat'][momentDate.getDay()]; | |
2112 | ||
2113 | if (match[1].substr(0,3) !== momentDay) { | |
2114 | getParsingFlags(config).weekdayMismatch = true; | |
2115 | config._isValid = false; | |
2116 | return; | |
2117 | } | |
2118 | } | |
2119 | ||
2120 | switch (match[5].length) { | |
2121 | case 2: // military | |
2122 | if (timezoneIndex === 0) { | |
2123 | timezone = ' +0000'; | |
2124 | } else { | |
2125 | timezoneIndex = military.indexOf(match[5][1].toUpperCase()) - 12; | |
2126 | timezone = ((timezoneIndex < 0) ? ' -' : ' +') + | |
2127 | (('' + timezoneIndex).replace(/^-?/, '0')).match(/..$/)[0] + '00'; | |
2128 | } | |
2129 | break; | |
2130 | case 4: // Zone | |
2131 | timezone = timezones[match[5]]; | |
2132 | break; | |
2133 | default: // UT or +/-9999 | |
2134 | timezone = timezones[' GMT']; | |
2135 | } | |
2136 | match[5] = timezone; | |
2137 | config._i = match.splice(1).join(''); | |
2138 | tzFormat = ' ZZ'; | |
2139 | config._f = dayFormat + dateFormat + timeFormat + tzFormat; | |
2140 | configFromStringAndFormat(config); | |
2141 | getParsingFlags(config).rfc2822 = true; | |
2142 | } else { | |
2143 | config._isValid = false; | |
2144 | } | |
2145 | } | |
2146 | ||
2147 | // date from iso format or fallback | |
2148 | function configFromString(config) { | |
2149 | var matched = aspNetJsonRegex.exec(config._i); | |
2150 | ||
2151 | if (matched !== null) { | |
2152 | config._d = new Date(+matched[1]); | |
2153 | return; | |
2154 | } | |
2155 | ||
2156 | configFromISO(config); | |
2157 | if (config._isValid === false) { | |
2158 | delete config._isValid; | |
2159 | } else { | |
2160 | return; | |
2161 | } | |
2162 | ||
2163 | configFromRFC2822(config); | |
2164 | if (config._isValid === false) { | |
2165 | delete config._isValid; | |
2166 | } else { | |
2167 | return; | |
2168 | } | |
2169 | ||
2170 | // Final attempt, use Input Fallback | |
2171 | hooks.createFromInputFallback(config); | |
2172 | } | |
2173 | ||
2174 | hooks.createFromInputFallback = deprecate( | |
2175 | 'value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), ' + | |
2176 | 'which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are ' + | |
2177 | 'discouraged and will be removed in an upcoming major release. Please refer to ' + | |
2178 | 'http://momentjs.com/guides/#/warnings/js-date/ for more info.', | |
2179 | function (config) { | |
2180 | config._d = new Date(config._i + (config._useUTC ? ' UTC' : '')); | |
2181 | } | |
2182 | ); | |
2183 | ||
2184 | 2012 | // Pick the first defined of two or three arguments. |
2185 | 2013 | function defaults(a, b, c) { |
2186 | 2014 | if (a != null) { |
2264 | 2092 | |
2265 | 2093 | if (config._nextDay) { |
2266 | 2094 | config._a[HOUR] = 24; |
2095 | } | |
2096 | ||
2097 | // check for mismatching day of week | |
2098 | if (config._w && typeof config._w.d !== 'undefined' && config._w.d !== config._d.getDay()) { | |
2099 | getParsingFlags(config).weekdayMismatch = true; | |
2267 | 2100 | } |
2268 | 2101 | } |
2269 | 2102 | |
2323 | 2156 | config._dayOfYear = temp.dayOfYear; |
2324 | 2157 | } |
2325 | 2158 | } |
2159 | ||
2160 | // iso 8601 regex | |
2161 | // 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) | |
2162 | var extendedIsoRegex = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/; | |
2163 | var basicIsoRegex = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/; | |
2164 | ||
2165 | var tzRegex = /Z|[+-]\d\d(?::?\d\d)?/; | |
2166 | ||
2167 | var isoDates = [ | |
2168 | ['YYYYYY-MM-DD', /[+-]\d{6}-\d\d-\d\d/], | |
2169 | ['YYYY-MM-DD', /\d{4}-\d\d-\d\d/], | |
2170 | ['GGGG-[W]WW-E', /\d{4}-W\d\d-\d/], | |
2171 | ['GGGG-[W]WW', /\d{4}-W\d\d/, false], | |
2172 | ['YYYY-DDD', /\d{4}-\d{3}/], | |
2173 | ['YYYY-MM', /\d{4}-\d\d/, false], | |
2174 | ['YYYYYYMMDD', /[+-]\d{10}/], | |
2175 | ['YYYYMMDD', /\d{8}/], | |
2176 | // YYYYMM is NOT allowed by the standard | |
2177 | ['GGGG[W]WWE', /\d{4}W\d{3}/], | |
2178 | ['GGGG[W]WW', /\d{4}W\d{2}/, false], | |
2179 | ['YYYYDDD', /\d{7}/] | |
2180 | ]; | |
2181 | ||
2182 | // iso time formats and regexes | |
2183 | var isoTimes = [ | |
2184 | ['HH:mm:ss.SSSS', /\d\d:\d\d:\d\d\.\d+/], | |
2185 | ['HH:mm:ss,SSSS', /\d\d:\d\d:\d\d,\d+/], | |
2186 | ['HH:mm:ss', /\d\d:\d\d:\d\d/], | |
2187 | ['HH:mm', /\d\d:\d\d/], | |
2188 | ['HHmmss.SSSS', /\d\d\d\d\d\d\.\d+/], | |
2189 | ['HHmmss,SSSS', /\d\d\d\d\d\d,\d+/], | |
2190 | ['HHmmss', /\d\d\d\d\d\d/], | |
2191 | ['HHmm', /\d\d\d\d/], | |
2192 | ['HH', /\d\d/] | |
2193 | ]; | |
2194 | ||
2195 | var aspNetJsonRegex = /^\/?Date\((\-?\d+)/i; | |
2196 | ||
2197 | // date from iso format | |
2198 | function configFromISO(config) { | |
2199 | var i, l, | |
2200 | string = config._i, | |
2201 | match = extendedIsoRegex.exec(string) || basicIsoRegex.exec(string), | |
2202 | allowTime, dateFormat, timeFormat, tzFormat; | |
2203 | ||
2204 | if (match) { | |
2205 | getParsingFlags(config).iso = true; | |
2206 | ||
2207 | for (i = 0, l = isoDates.length; i < l; i++) { | |
2208 | if (isoDates[i][1].exec(match[1])) { | |
2209 | dateFormat = isoDates[i][0]; | |
2210 | allowTime = isoDates[i][2] !== false; | |
2211 | break; | |
2212 | } | |
2213 | } | |
2214 | if (dateFormat == null) { | |
2215 | config._isValid = false; | |
2216 | return; | |
2217 | } | |
2218 | if (match[3]) { | |
2219 | for (i = 0, l = isoTimes.length; i < l; i++) { | |
2220 | if (isoTimes[i][1].exec(match[3])) { | |
2221 | // match[2] should be 'T' or space | |
2222 | timeFormat = (match[2] || ' ') + isoTimes[i][0]; | |
2223 | break; | |
2224 | } | |
2225 | } | |
2226 | if (timeFormat == null) { | |
2227 | config._isValid = false; | |
2228 | return; | |
2229 | } | |
2230 | } | |
2231 | if (!allowTime && timeFormat != null) { | |
2232 | config._isValid = false; | |
2233 | return; | |
2234 | } | |
2235 | if (match[4]) { | |
2236 | if (tzRegex.exec(match[4])) { | |
2237 | tzFormat = 'Z'; | |
2238 | } else { | |
2239 | config._isValid = false; | |
2240 | return; | |
2241 | } | |
2242 | } | |
2243 | config._f = dateFormat + (timeFormat || '') + (tzFormat || ''); | |
2244 | configFromStringAndFormat(config); | |
2245 | } else { | |
2246 | config._isValid = false; | |
2247 | } | |
2248 | } | |
2249 | ||
2250 | // RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3 | |
2251 | var rfc2822 = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/; | |
2252 | ||
2253 | function extractFromRFC2822Strings(yearStr, monthStr, dayStr, hourStr, minuteStr, secondStr) { | |
2254 | var result = [ | |
2255 | untruncateYear(yearStr), | |
2256 | defaultLocaleMonthsShort.indexOf(monthStr), | |
2257 | parseInt(dayStr, 10), | |
2258 | parseInt(hourStr, 10), | |
2259 | parseInt(minuteStr, 10) | |
2260 | ]; | |
2261 | ||
2262 | if (secondStr) { | |
2263 | result.push(parseInt(secondStr, 10)); | |
2264 | } | |
2265 | ||
2266 | return result; | |
2267 | } | |
2268 | ||
2269 | function untruncateYear(yearStr) { | |
2270 | var year = parseInt(yearStr, 10); | |
2271 | if (year <= 49) { | |
2272 | return 2000 + year; | |
2273 | } else if (year <= 999) { | |
2274 | return 1900 + year; | |
2275 | } | |
2276 | return year; | |
2277 | } | |
2278 | ||
2279 | function preprocessRFC2822(s) { | |
2280 | // Remove comments and folding whitespace and replace multiple-spaces with a single space | |
2281 | return s.replace(/\([^)]*\)|[\n\t]/g, ' ').replace(/(\s\s+)/g, ' ').trim(); | |
2282 | } | |
2283 | ||
2284 | function checkWeekday(weekdayStr, parsedInput, config) { | |
2285 | if (weekdayStr) { | |
2286 | // TODO: Replace the vanilla JS Date object with an indepentent day-of-week check. | |
2287 | var weekdayProvided = defaultLocaleWeekdaysShort.indexOf(weekdayStr), | |
2288 | weekdayActual = new Date(parsedInput[0], parsedInput[1], parsedInput[2]).getDay(); | |
2289 | if (weekdayProvided !== weekdayActual) { | |
2290 | getParsingFlags(config).weekdayMismatch = true; | |
2291 | config._isValid = false; | |
2292 | return false; | |
2293 | } | |
2294 | } | |
2295 | return true; | |
2296 | } | |
2297 | ||
2298 | var obsOffsets = { | |
2299 | UT: 0, | |
2300 | GMT: 0, | |
2301 | EDT: -4 * 60, | |
2302 | EST: -5 * 60, | |
2303 | CDT: -5 * 60, | |
2304 | CST: -6 * 60, | |
2305 | MDT: -6 * 60, | |
2306 | MST: -7 * 60, | |
2307 | PDT: -7 * 60, | |
2308 | PST: -8 * 60 | |
2309 | }; | |
2310 | ||
2311 | function calculateOffset(obsOffset, militaryOffset, numOffset) { | |
2312 | if (obsOffset) { | |
2313 | return obsOffsets[obsOffset]; | |
2314 | } else if (militaryOffset) { | |
2315 | // the only allowed military tz is Z | |
2316 | return 0; | |
2317 | } else { | |
2318 | var hm = parseInt(numOffset, 10); | |
2319 | var m = hm % 100, h = (hm - m) / 100; | |
2320 | return h * 60 + m; | |
2321 | } | |
2322 | } | |
2323 | ||
2324 | // date and time from ref 2822 format | |
2325 | function configFromRFC2822(config) { | |
2326 | var match = rfc2822.exec(preprocessRFC2822(config._i)); | |
2327 | if (match) { | |
2328 | var parsedArray = extractFromRFC2822Strings(match[4], match[3], match[2], match[5], match[6], match[7]); | |
2329 | if (!checkWeekday(match[1], parsedArray, config)) { | |
2330 | return; | |
2331 | } | |
2332 | ||
2333 | config._a = parsedArray; | |
2334 | config._tzm = calculateOffset(match[8], match[9], match[10]); | |
2335 | ||
2336 | config._d = createUTCDate.apply(null, config._a); | |
2337 | config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm); | |
2338 | ||
2339 | getParsingFlags(config).rfc2822 = true; | |
2340 | } else { | |
2341 | config._isValid = false; | |
2342 | } | |
2343 | } | |
2344 | ||
2345 | // date from iso format or fallback | |
2346 | function configFromString(config) { | |
2347 | var matched = aspNetJsonRegex.exec(config._i); | |
2348 | ||
2349 | if (matched !== null) { | |
2350 | config._d = new Date(+matched[1]); | |
2351 | return; | |
2352 | } | |
2353 | ||
2354 | configFromISO(config); | |
2355 | if (config._isValid === false) { | |
2356 | delete config._isValid; | |
2357 | } else { | |
2358 | return; | |
2359 | } | |
2360 | ||
2361 | configFromRFC2822(config); | |
2362 | if (config._isValid === false) { | |
2363 | delete config._isValid; | |
2364 | } else { | |
2365 | return; | |
2366 | } | |
2367 | ||
2368 | // Final attempt, use Input Fallback | |
2369 | hooks.createFromInputFallback(config); | |
2370 | } | |
2371 | ||
2372 | hooks.createFromInputFallback = deprecate( | |
2373 | 'value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), ' + | |
2374 | 'which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are ' + | |
2375 | 'discouraged and will be removed in an upcoming major release. Please refer to ' + | |
2376 | 'http://momentjs.com/guides/#/warnings/js-date/ for more info.', | |
2377 | function (config) { | |
2378 | config._d = new Date(config._i + (config._useUTC ? ' UTC' : '')); | |
2379 | } | |
2380 | ); | |
2326 | 2381 | |
2327 | 2382 | // constant that refers to the ISO standard |
2328 | 2383 | hooks.ISO_8601 = function () {}; |
2648 | 2703 | |
2649 | 2704 | function isDurationValid(m) { |
2650 | 2705 | for (var key in m) { |
2651 | if (!(ordering.indexOf(key) !== -1 && (m[key] == null || !isNaN(m[key])))) { | |
2706 | if (!(indexOf.call(ordering, key) !== -1 && (m[key] == null || !isNaN(m[key])))) { | |
2652 | 2707 | return false; |
2653 | 2708 | } |
2654 | 2709 | } |
2699 | 2754 | // day when working around DST, we need to store them separately |
2700 | 2755 | this._days = +days + |
2701 | 2756 | weeks * 7; |
2702 | // It is impossible translate months into days without knowing | |
2757 | // It is impossible to translate months into days without knowing | |
2703 | 2758 | // which months you are are talking about, so we have to store |
2704 | 2759 | // it separately. |
2705 | 2760 | this._months = +months + |
2946 | 3001 | } |
2947 | 3002 | |
2948 | 3003 | // ASP.NET json date format regex |
2949 | var aspNetRegex = /^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/; | |
3004 | var aspNetRegex = /^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/; | |
2950 | 3005 | |
2951 | 3006 | // from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html |
2952 | 3007 | // somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere |
2953 | 3008 | // and further modified to allow for strings containing both week and day |
2954 | var isoRegex = /^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/; | |
3009 | var isoRegex = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/; | |
2955 | 3010 | |
2956 | 3011 | function createDuration (input, key) { |
2957 | 3012 | var duration = input, |
2985 | 3040 | ms : toInt(absRound(match[MILLISECOND] * 1000)) * sign // the millisecond decimal point is included in the match |
2986 | 3041 | }; |
2987 | 3042 | } else if (!!(match = isoRegex.exec(input))) { |
2988 | sign = (match[1] === '-') ? -1 : 1; | |
3043 | sign = (match[1] === '-') ? -1 : (match[1] === '+') ? 1 : 1; | |
2989 | 3044 | duration = { |
2990 | 3045 | y : parseIso(match[2], sign), |
2991 | 3046 | M : parseIso(match[3], sign), |
3088 | 3143 | |
3089 | 3144 | updateOffset = updateOffset == null ? true : updateOffset; |
3090 | 3145 | |
3146 | if (months) { | |
3147 | setMonth(mom, get(mom, 'Month') + months * isAdding); | |
3148 | } | |
3149 | if (days) { | |
3150 | set$1(mom, 'Date', get(mom, 'Date') + days * isAdding); | |
3151 | } | |
3091 | 3152 | if (milliseconds) { |
3092 | 3153 | mom._d.setTime(mom._d.valueOf() + milliseconds * isAdding); |
3093 | } | |
3094 | if (days) { | |
3095 | set$1(mom, 'Date', get(mom, 'Date') + days * isAdding); | |
3096 | } | |
3097 | if (months) { | |
3098 | setMonth(mom, get(mom, 'Month') + months * isAdding); | |
3099 | 3154 | } |
3100 | 3155 | if (updateOffset) { |
3101 | 3156 | hooks.updateOffset(mom, days || months); |
3205 | 3260 | |
3206 | 3261 | units = normalizeUnits(units); |
3207 | 3262 | |
3208 | if (units === 'year' || units === 'month' || units === 'quarter') { | |
3209 | output = monthDiff(this, that); | |
3210 | if (units === 'quarter') { | |
3211 | output = output / 3; | |
3212 | } else if (units === 'year') { | |
3213 | output = output / 12; | |
3214 | } | |
3215 | } else { | |
3216 | delta = this - that; | |
3217 | output = units === 'second' ? delta / 1e3 : // 1000 | |
3218 | units === 'minute' ? delta / 6e4 : // 1000 * 60 | |
3219 | units === 'hour' ? delta / 36e5 : // 1000 * 60 * 60 | |
3220 | units === 'day' ? (delta - zoneDelta) / 864e5 : // 1000 * 60 * 60 * 24, negate dst | |
3221 | units === 'week' ? (delta - zoneDelta) / 6048e5 : // 1000 * 60 * 60 * 24 * 7, negate dst | |
3222 | delta; | |
3223 | } | |
3263 | switch (units) { | |
3264 | case 'year': output = monthDiff(this, that) / 12; break; | |
3265 | case 'month': output = monthDiff(this, that); break; | |
3266 | case 'quarter': output = monthDiff(this, that) / 3; break; | |
3267 | case 'second': output = (this - that) / 1e3; break; // 1000 | |
3268 | case 'minute': output = (this - that) / 6e4; break; // 1000 * 60 | |
3269 | case 'hour': output = (this - that) / 36e5; break; // 1000 * 60 * 60 | |
3270 | case 'day': output = (this - that - zoneDelta) / 864e5; break; // 1000 * 60 * 60 * 24, negate dst | |
3271 | case 'week': output = (this - that - zoneDelta) / 6048e5; break; // 1000 * 60 * 60 * 24 * 7, negate dst | |
3272 | default: output = this - that; | |
3273 | } | |
3274 | ||
3224 | 3275 | return asFloat ? output : absFloor(output); |
3225 | 3276 | } |
3226 | 3277 | |
4198 | 4249 | var asMonths = makeAs('M'); |
4199 | 4250 | var asYears = makeAs('y'); |
4200 | 4251 | |
4252 | function clone$1 () { | |
4253 | return createDuration(this); | |
4254 | } | |
4255 | ||
4201 | 4256 | function get$2 (units) { |
4202 | 4257 | units = normalizeUnits(units); |
4203 | 4258 | return this.isValid() ? this[units + 's']() : NaN; |
4307 | 4362 | |
4308 | 4363 | var abs$1 = Math.abs; |
4309 | 4364 | |
4365 | function sign(x) { | |
4366 | return ((x > 0) - (x < 0)) || +x; | |
4367 | } | |
4368 | ||
4310 | 4369 | function toISOString$1() { |
4311 | 4370 | // for ISO strings we do not use the normal bubbling rules: |
4312 | 4371 | // * milliseconds bubble up until they become hours |
4341 | 4400 | var D = days; |
4342 | 4401 | var h = hours; |
4343 | 4402 | var m = minutes; |
4344 | var s = seconds; | |
4403 | var s = seconds ? seconds.toFixed(3).replace(/\.?0+$/, '') : ''; | |
4345 | 4404 | var total = this.asSeconds(); |
4346 | 4405 | |
4347 | 4406 | if (!total) { |
4350 | 4409 | return 'P0D'; |
4351 | 4410 | } |
4352 | 4411 | |
4353 | return (total < 0 ? '-' : '') + | |
4354 | 'P' + | |
4355 | (Y ? Y + 'Y' : '') + | |
4356 | (M ? M + 'M' : '') + | |
4357 | (D ? D + 'D' : '') + | |
4412 | var totalSign = total < 0 ? '-' : ''; | |
4413 | var ymSign = sign(this._months) !== sign(total) ? '-' : ''; | |
4414 | var daysSign = sign(this._days) !== sign(total) ? '-' : ''; | |
4415 | var hmsSign = sign(this._milliseconds) !== sign(total) ? '-' : ''; | |
4416 | ||
4417 | return totalSign + 'P' + | |
4418 | (Y ? ymSign + Y + 'Y' : '') + | |
4419 | (M ? ymSign + M + 'M' : '') + | |
4420 | (D ? daysSign + D + 'D' : '') + | |
4358 | 4421 | ((h || m || s) ? 'T' : '') + |
4359 | (h ? h + 'H' : '') + | |
4360 | (m ? m + 'M' : '') + | |
4361 | (s ? s + 'S' : ''); | |
4422 | (h ? hmsSign + h + 'H' : '') + | |
4423 | (m ? hmsSign + m + 'M' : '') + | |
4424 | (s ? hmsSign + s + 'S' : ''); | |
4362 | 4425 | } |
4363 | 4426 | |
4364 | 4427 | var proto$2 = Duration.prototype; |
4378 | 4441 | proto$2.asYears = asYears; |
4379 | 4442 | proto$2.valueOf = valueOf$1; |
4380 | 4443 | proto$2._bubble = bubble; |
4444 | proto$2.clone = clone$1; | |
4381 | 4445 | proto$2.get = get$2; |
4382 | 4446 | proto$2.milliseconds = milliseconds; |
4383 | 4447 | proto$2.seconds = seconds; |
4419 | 4483 | // Side effect imports |
4420 | 4484 | |
4421 | 4485 | //! moment.js |
4422 | //! version : 2.18.1 | |
4486 | //! version : 2.19.0 | |
4423 | 4487 | //! authors : Tim Wood, Iskren Chernev, Moment.js contributors |
4424 | 4488 | //! license : MIT |
4425 | 4489 | //! momentjs.com |
4426 | 4490 | |
4427 | hooks.version = '2.18.1'; | |
4491 | hooks.version = '2.19.0'; | |
4428 | 4492 | |
4429 | 4493 | setHookCallback(createLocal); |
4430 | 4494 | |
4451 | 4515 | hooks.locales = listLocales; |
4452 | 4516 | hooks.weekdaysShort = listWeekdaysShort; |
4453 | 4517 | hooks.normalizeUnits = normalizeUnits; |
4454 | hooks.relativeTimeRounding = getSetRelativeTimeRounding; | |
4518 | hooks.relativeTimeRounding = getSetRelativeTimeRounding; | |
4455 | 4519 | hooks.relativeTimeThreshold = getSetRelativeTimeThreshold; |
4456 | 4520 | hooks.calendarFormat = getCalendarFormat; |
4457 | 4521 | hooks.prototype = proto; |
4716 | 4780 | yy : pluralize('y') |
4717 | 4781 | }, |
4718 | 4782 | preparse: function (string) { |
4719 | return string.replace(/\u200f/g, '').replace(/،/g, ','); | |
4783 | return string.replace(/،/g, ','); | |
4720 | 4784 | }, |
4721 | 4785 | postformat: function (string) { |
4722 | 4786 | return string.replace(/\d/g, function (match) { |
5036 | 5100 | yy : pluralize$1('y') |
5037 | 5101 | }, |
5038 | 5102 | preparse: function (string) { |
5039 | return string.replace(/\u200f/g, '').replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) { | |
5103 | return string.replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) { | |
5040 | 5104 | return numberMap$1[match]; |
5041 | 5105 | }).replace(/،/g, ','); |
5042 | 5106 | }, |
5344 | 5408 | week : { |
5345 | 5409 | dow : 1, // Monday is the first day of the week. |
5346 | 5410 | doy : 7 // The week that contains Jan 1st is the first week of the year. |
5411 | } | |
5412 | }); | |
5413 | ||
5414 | //! moment.js locale configuration | |
5415 | //! locale : Bambara [bm] | |
5416 | //! author : Estelle Comment : https://github.com/estellecomment | |
5417 | // Language contact person : Abdoufata Kane : https://github.com/abdoufata | |
5418 | ||
5419 | hooks.defineLocale('bm', { | |
5420 | months : 'Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo'.split('_'), | |
5421 | monthsShort : 'Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des'.split('_'), | |
5422 | weekdays : 'Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri'.split('_'), | |
5423 | weekdaysShort : 'Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib'.split('_'), | |
5424 | weekdaysMin : 'Ka_Nt_Ta_Ar_Al_Ju_Si'.split('_'), | |
5425 | longDateFormat : { | |
5426 | LT : 'HH:mm', | |
5427 | LTS : 'HH:mm:ss', | |
5428 | L : 'DD/MM/YYYY', | |
5429 | LL : 'MMMM [tile] D [san] YYYY', | |
5430 | LLL : 'MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm', | |
5431 | LLLL : 'dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm' | |
5432 | }, | |
5433 | calendar : { | |
5434 | sameDay : '[Bi lɛrɛ] LT', | |
5435 | nextDay : '[Sini lɛrɛ] LT', | |
5436 | nextWeek : 'dddd [don lɛrɛ] LT', | |
5437 | lastDay : '[Kunu lɛrɛ] LT', | |
5438 | lastWeek : 'dddd [tɛmɛnen lɛrɛ] LT', | |
5439 | sameElse : 'L' | |
5440 | }, | |
5441 | relativeTime : { | |
5442 | future : '%s kɔnɔ', | |
5443 | past : 'a bɛ %s bɔ', | |
5444 | s : 'sanga dama dama', | |
5445 | m : 'miniti kelen', | |
5446 | mm : 'miniti %d', | |
5447 | h : 'lɛrɛ kelen', | |
5448 | hh : 'lɛrɛ %d', | |
5449 | d : 'tile kelen', | |
5450 | dd : 'tile %d', | |
5451 | M : 'kalo kelen', | |
5452 | MM : 'kalo %d', | |
5453 | y : 'san kelen', | |
5454 | yy : 'san %d' | |
5455 | }, | |
5456 | week : { | |
5457 | dow : 1, // Monday is the first day of the week. | |
5458 | doy : 4 // The week that contains Jan 4th is the first week of the year. | |
5347 | 5459 | } |
5348 | 5460 | }); |
5349 | 5461 | |
5806 | 5918 | monthsParseExact : true, |
5807 | 5919 | weekdays : 'diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte'.split('_'), |
5808 | 5920 | weekdaysShort : 'dg._dl._dt._dc._dj._dv._ds.'.split('_'), |
5809 | weekdaysMin : 'Dg_Dl_Dt_Dc_Dj_Dv_Ds'.split('_'), | |
5921 | weekdaysMin : 'dg_dl_dt_dc_dj_dv_ds'.split('_'), | |
5810 | 5922 | weekdaysParseExact : true, |
5811 | 5923 | longDateFormat : { |
5812 | 5924 | LT : 'H:mm', |
5813 | 5925 | LTS : 'H:mm:ss', |
5814 | 5926 | L : 'DD/MM/YYYY', |
5815 | LL : '[el] D MMMM [de] YYYY', | |
5927 | LL : 'D MMMM [de] YYYY', | |
5816 | 5928 | ll : 'D MMM YYYY', |
5817 | LLL : '[el] D MMMM [de] YYYY [a les] H:mm', | |
5929 | LLL : 'D MMMM [de] YYYY [a les] H:mm', | |
5818 | 5930 | lll : 'D MMM YYYY, H:mm', |
5819 | LLLL : '[el] dddd D MMMM [de] YYYY [a les] H:mm', | |
5931 | LLLL : 'dddd D MMMM [de] YYYY [a les] H:mm', | |
5820 | 5932 | llll : 'ddd D MMM YYYY, H:mm' |
5821 | 5933 | }, |
5822 | 5934 | calendar : { |
6165 | 6277 | longDateFormat : { |
6166 | 6278 | LT : 'HH:mm', |
6167 | 6279 | LTS : 'HH:mm:ss', |
6168 | L : 'DD/MM/YYYY', | |
6280 | L : 'DD.MM.YYYY', | |
6169 | 6281 | LL : 'D. MMMM YYYY', |
6170 | 6282 | LLL : 'D. MMMM YYYY HH:mm', |
6171 | 6283 | LLLL : 'dddd [d.] D. MMMM YYYY [kl.] HH:mm' |
6224 | 6336 | |
6225 | 6337 | hooks.defineLocale('de-at', { |
6226 | 6338 | months : 'Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'), |
6227 | monthsShort : 'Jän._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split('_'), | |
6339 | monthsShort : 'Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'), | |
6228 | 6340 | monthsParseExact : true, |
6229 | 6341 | weekdays : 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'), |
6230 | 6342 | weekdaysShort : 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'), |
6291 | 6403 | |
6292 | 6404 | hooks.defineLocale('de-ch', { |
6293 | 6405 | months : 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'), |
6294 | monthsShort : 'Jan._Febr._März_April_Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.'.split('_'), | |
6406 | monthsShort : 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'), | |
6295 | 6407 | monthsParseExact : true, |
6296 | 6408 | weekdays : 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'), |
6297 | 6409 | weekdaysShort : 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), |
6358 | 6470 | |
6359 | 6471 | hooks.defineLocale('de', { |
6360 | 6472 | months : 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'), |
6361 | monthsShort : 'Jan._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split('_'), | |
6473 | monthsShort : 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'), | |
6362 | 6474 | monthsParseExact : true, |
6363 | 6475 | weekdays : 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'), |
6364 | 6476 | weekdaysShort : 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'), |
6502 | 6614 | months : function (momentToFormat, format) { |
6503 | 6615 | if (!momentToFormat) { |
6504 | 6616 | return this._monthsNominativeEl; |
6505 | } else if (/D/.test(format.substring(0, format.indexOf('MMMM')))) { // if there is a day number before 'MMMM' | |
6617 | } else if (typeof format === 'string' && /D/.test(format.substring(0, format.indexOf('MMMM')))) { // if there is a day number before 'MMMM' | |
6506 | 6618 | return this._monthsGenitiveEl[momentToFormat.month()]; |
6507 | 6619 | } else { |
6508 | 6620 | return this._monthsNominativeEl[momentToFormat.month()]; |
6921 | 7033 | var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'); |
6922 | 7034 | var monthsShort$1 = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'); |
6923 | 7035 | |
7036 | var monthsParse = [/^ene/i, /^feb/i, /^mar/i, /^abr/i, /^may/i, /^jun/i, /^jul/i, /^ago/i, /^sep/i, /^oct/i, /^nov/i, /^dic/i]; | |
7037 | var monthsRegex$1 = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i; | |
7038 | ||
6924 | 7039 | hooks.defineLocale('es-do', { |
6925 | 7040 | months : 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'), |
6926 | 7041 | monthsShort : function (m, format) { |
6932 | 7047 | return monthsShortDot[m.month()]; |
6933 | 7048 | } |
6934 | 7049 | }, |
6935 | monthsParseExact : true, | |
7050 | monthsRegex: monthsRegex$1, | |
7051 | monthsShortRegex: monthsRegex$1, | |
7052 | monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i, | |
7053 | monthsShortStrictRegex: /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i, | |
7054 | monthsParse: monthsParse, | |
7055 | longMonthsParse: monthsParse, | |
7056 | shortMonthsParse: monthsParse, | |
6936 | 7057 | weekdays : 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), |
6937 | 7058 | weekdaysShort : 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), |
6938 | 7059 | weekdaysMin : 'do_lu_ma_mi_ju_vi_sá'.split('_'), |
6987 | 7108 | }); |
6988 | 7109 | |
6989 | 7110 | //! moment.js locale configuration |
6990 | //! locale : Spanish [es] | |
6991 | //! author : Julio Napurí : https://github.com/julionc | |
7111 | //! locale : Spanish(United State) [es-us] | |
7112 | //! author : bustta : https://github.com/bustta | |
6992 | 7113 | |
6993 | 7114 | var monthsShortDot$1 = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'); |
6994 | 7115 | var monthsShort$2 = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'); |
6995 | 7116 | |
6996 | hooks.defineLocale('es', { | |
7117 | hooks.defineLocale('es-us', { | |
6997 | 7118 | months : 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'), |
6998 | 7119 | monthsShort : function (m, format) { |
6999 | 7120 | if (!m) { |
7005 | 7126 | } |
7006 | 7127 | }, |
7007 | 7128 | monthsParseExact : true, |
7129 | weekdays : 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), | |
7130 | weekdaysShort : 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), | |
7131 | weekdaysMin : 'do_lu_ma_mi_ju_vi_sá'.split('_'), | |
7132 | weekdaysParseExact : true, | |
7133 | longDateFormat : { | |
7134 | LT : 'H:mm', | |
7135 | LTS : 'H:mm:ss', | |
7136 | L : 'MM/DD/YYYY', | |
7137 | LL : 'MMMM [de] D [de] YYYY', | |
7138 | LLL : 'MMMM [de] D [de] YYYY H:mm', | |
7139 | LLLL : 'dddd, MMMM [de] D [de] YYYY H:mm' | |
7140 | }, | |
7141 | calendar : { | |
7142 | sameDay : function () { | |
7143 | return '[hoy a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; | |
7144 | }, | |
7145 | nextDay : function () { | |
7146 | return '[mañana a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; | |
7147 | }, | |
7148 | nextWeek : function () { | |
7149 | return 'dddd [a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; | |
7150 | }, | |
7151 | lastDay : function () { | |
7152 | return '[ayer a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; | |
7153 | }, | |
7154 | lastWeek : function () { | |
7155 | return '[el] dddd [pasado a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; | |
7156 | }, | |
7157 | sameElse : 'L' | |
7158 | }, | |
7159 | relativeTime : { | |
7160 | future : 'en %s', | |
7161 | past : 'hace %s', | |
7162 | s : 'unos segundos', | |
7163 | m : 'un minuto', | |
7164 | mm : '%d minutos', | |
7165 | h : 'una hora', | |
7166 | hh : '%d horas', | |
7167 | d : 'un día', | |
7168 | dd : '%d días', | |
7169 | M : 'un mes', | |
7170 | MM : '%d meses', | |
7171 | y : 'un año', | |
7172 | yy : '%d años' | |
7173 | }, | |
7174 | dayOfMonthOrdinalParse : /\d{1,2}º/, | |
7175 | ordinal : '%dº', | |
7176 | week : { | |
7177 | dow : 0, // Sunday is the first day of the week. | |
7178 | doy : 6 // The week that contains Jan 1st is the first week of the year. | |
7179 | } | |
7180 | }); | |
7181 | ||
7182 | //! moment.js locale configuration | |
7183 | //! locale : Spanish [es] | |
7184 | //! author : Julio Napurí : https://github.com/julionc | |
7185 | ||
7186 | var monthsShortDot$2 = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'); | |
7187 | var monthsShort$3 = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'); | |
7188 | ||
7189 | var monthsParse$1 = [/^ene/i, /^feb/i, /^mar/i, /^abr/i, /^may/i, /^jun/i, /^jul/i, /^ago/i, /^sep/i, /^oct/i, /^nov/i, /^dic/i]; | |
7190 | var monthsRegex$2 = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i; | |
7191 | ||
7192 | hooks.defineLocale('es', { | |
7193 | months : 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'), | |
7194 | monthsShort : function (m, format) { | |
7195 | if (!m) { | |
7196 | return monthsShortDot$2; | |
7197 | } else if (/-MMM-/.test(format)) { | |
7198 | return monthsShort$3[m.month()]; | |
7199 | } else { | |
7200 | return monthsShortDot$2[m.month()]; | |
7201 | } | |
7202 | }, | |
7203 | monthsRegex : monthsRegex$2, | |
7204 | monthsShortRegex : monthsRegex$2, | |
7205 | monthsStrictRegex : /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i, | |
7206 | monthsShortStrictRegex : /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i, | |
7207 | monthsParse : monthsParse$1, | |
7208 | longMonthsParse : monthsParse$1, | |
7209 | shortMonthsParse : monthsParse$1, | |
7008 | 7210 | weekdays : 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), |
7009 | 7211 | weekdaysShort : 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), |
7010 | 7212 | weekdaysMin : 'do_lu_ma_mi_ju_vi_sá'.split('_'), |
7697 | 7899 | 'Am Faoilleach', 'An Gearran', 'Am Màrt', 'An Giblean', 'An Cèitean', 'An t-Ògmhios', 'An t-Iuchar', 'An Lùnastal', 'An t-Sultain', 'An Dàmhair', 'An t-Samhain', 'An Dùbhlachd' |
7698 | 7900 | ]; |
7699 | 7901 | |
7700 | var monthsShort$3 = ['Faoi', 'Gear', 'Màrt', 'Gibl', 'Cèit', 'Ògmh', 'Iuch', 'Lùn', 'Sult', 'Dàmh', 'Samh', 'Dùbh']; | |
7902 | var monthsShort$4 = ['Faoi', 'Gear', 'Màrt', 'Gibl', 'Cèit', 'Ògmh', 'Iuch', 'Lùn', 'Sult', 'Dàmh', 'Samh', 'Dùbh']; | |
7701 | 7903 | |
7702 | 7904 | var weekdays$1 = ['Didòmhnaich', 'Diluain', 'Dimàirt', 'Diciadain', 'Diardaoin', 'Dihaoine', 'Disathairne']; |
7703 | 7905 | |
7707 | 7909 | |
7708 | 7910 | hooks.defineLocale('gd', { |
7709 | 7911 | months : months$5, |
7710 | monthsShort : monthsShort$3, | |
7912 | monthsShort : monthsShort$4, | |
7711 | 7913 | monthsParseExact : true, |
7712 | 7914 | weekdays : weekdays$1, |
7713 | 7915 | weekdaysShort : weekdaysShort, |
7928 | 8130 | } else { |
7929 | 8131 | return 'rati'; |
7930 | 8132 | } |
8133 | } | |
8134 | }); | |
8135 | ||
8136 | //! moment.js locale configuration | |
8137 | //! locale : Gujarati [gu] | |
8138 | //! author : Kaushik Thanki : https://github.com/Kaushik1987 | |
8139 | ||
8140 | var symbolMap$6 = { | |
8141 | '1': '૧', | |
8142 | '2': '૨', | |
8143 | '3': '૩', | |
8144 | '4': '૪', | |
8145 | '5': '૫', | |
8146 | '6': '૬', | |
8147 | '7': '૭', | |
8148 | '8': '૮', | |
8149 | '9': '૯', | |
8150 | '0': '૦' | |
8151 | }; | |
8152 | var numberMap$5 = { | |
8153 | '૧': '1', | |
8154 | '૨': '2', | |
8155 | '૩': '3', | |
8156 | '૪': '4', | |
8157 | '૫': '5', | |
8158 | '૬': '6', | |
8159 | '૭': '7', | |
8160 | '૮': '8', | |
8161 | '૯': '9', | |
8162 | '૦': '0' | |
8163 | }; | |
8164 | ||
8165 | hooks.defineLocale('gu', { | |
8166 | months: 'જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર'.split('_'), | |
8167 | monthsShort: 'જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.'.split('_'), | |
8168 | monthsParseExact: true, | |
8169 | weekdays: 'રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર'.split('_'), | |
8170 | weekdaysShort: 'રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ'.split('_'), | |
8171 | weekdaysMin: 'ર_સો_મં_બુ_ગુ_શુ_શ'.split('_'), | |
8172 | longDateFormat: { | |
8173 | LT: 'A h:mm વાગ્યે', | |
8174 | LTS: 'A h:mm:ss વાગ્યે', | |
8175 | L: 'DD/MM/YYYY', | |
8176 | LL: 'D MMMM YYYY', | |
8177 | LLL: 'D MMMM YYYY, A h:mm વાગ્યે', | |
8178 | LLLL: 'dddd, D MMMM YYYY, A h:mm વાગ્યે' | |
8179 | }, | |
8180 | calendar: { | |
8181 | sameDay: '[આજ] LT', | |
8182 | nextDay: '[કાલે] LT', | |
8183 | nextWeek: 'dddd, LT', | |
8184 | lastDay: '[ગઇકાલે] LT', | |
8185 | lastWeek: '[પાછલા] dddd, LT', | |
8186 | sameElse: 'L' | |
8187 | }, | |
8188 | relativeTime: { | |
8189 | future: '%s મા', | |
8190 | past: '%s પેહલા', | |
8191 | s: 'અમુક પળો', | |
8192 | m: 'એક મિનિટ', | |
8193 | mm: '%d મિનિટ', | |
8194 | h: 'એક કલાક', | |
8195 | hh: '%d કલાક', | |
8196 | d: 'એક દિવસ', | |
8197 | dd: '%d દિવસ', | |
8198 | M: 'એક મહિનો', | |
8199 | MM: '%d મહિનો', | |
8200 | y: 'એક વર્ષ', | |
8201 | yy: '%d વર્ષ' | |
8202 | }, | |
8203 | preparse: function (string) { | |
8204 | return string.replace(/[૧૨૩૪૫૬૭૮૯૦]/g, function (match) { | |
8205 | return numberMap$5[match]; | |
8206 | }); | |
8207 | }, | |
8208 | postformat: function (string) { | |
8209 | return string.replace(/\d/g, function (match) { | |
8210 | return symbolMap$6[match]; | |
8211 | }); | |
8212 | }, | |
8213 | // Gujarati notation for meridiems are quite fuzzy in practice. While there exists | |
8214 | // a rigid notion of a 'Pahar' it is not used as rigidly in modern Gujarati. | |
8215 | meridiemParse: /રાત|બપોર|સવાર|સાંજ/, | |
8216 | meridiemHour: function (hour, meridiem) { | |
8217 | if (hour === 12) { | |
8218 | hour = 0; | |
8219 | } | |
8220 | if (meridiem === 'રાત') { | |
8221 | return hour < 4 ? hour : hour + 12; | |
8222 | } else if (meridiem === 'સવાર') { | |
8223 | return hour; | |
8224 | } else if (meridiem === 'બપોર') { | |
8225 | return hour >= 10 ? hour : hour + 12; | |
8226 | } else if (meridiem === 'સાંજ') { | |
8227 | return hour + 12; | |
8228 | } | |
8229 | }, | |
8230 | meridiem: function (hour, minute, isLower) { | |
8231 | if (hour < 4) { | |
8232 | return 'રાત'; | |
8233 | } else if (hour < 10) { | |
8234 | return 'સવાર'; | |
8235 | } else if (hour < 17) { | |
8236 | return 'બપોર'; | |
8237 | } else if (hour < 20) { | |
8238 | return 'સાંજ'; | |
8239 | } else { | |
8240 | return 'રાત'; | |
8241 | } | |
8242 | }, | |
8243 | week: { | |
8244 | dow: 0, // Sunday is the first day of the week. | |
8245 | doy: 6 // The week that contains Jan 1st is the first week of the year. | |
7931 | 8246 | } |
7932 | 8247 | }); |
7933 | 8248 | |
8023 | 8338 | //! locale : Hindi [hi] |
8024 | 8339 | //! author : Mayank Singhal : https://github.com/mayanksinghal |
8025 | 8340 | |
8026 | var symbolMap$6 = { | |
8341 | var symbolMap$7 = { | |
8027 | 8342 | '1': '१', |
8028 | 8343 | '2': '२', |
8029 | 8344 | '3': '३', |
8035 | 8350 | '9': '९', |
8036 | 8351 | '0': '०' |
8037 | 8352 | }; |
8038 | var numberMap$5 = { | |
8353 | var numberMap$6 = { | |
8039 | 8354 | '१': '1', |
8040 | 8355 | '२': '2', |
8041 | 8356 | '३': '3', |
8088 | 8403 | }, |
8089 | 8404 | preparse: function (string) { |
8090 | 8405 | return string.replace(/[१२३४५६७८९०]/g, function (match) { |
8091 | return numberMap$5[match]; | |
8406 | return numberMap$6[match]; | |
8092 | 8407 | }); |
8093 | 8408 | }, |
8094 | 8409 | postformat: function (string) { |
8095 | 8410 | return string.replace(/\d/g, function (match) { |
8096 | return symbolMap$6[match]; | |
8411 | return symbolMap$7[match]; | |
8097 | 8412 | }); |
8098 | 8413 | }, |
8099 | 8414 | // Hindi notation for meridiems are quite fuzzy in practice. While there exists |
9041 | 9356 | //! locale : Kannada [kn] |
9042 | 9357 | //! author : Rajeev Naik : https://github.com/rajeevnaikte |
9043 | 9358 | |
9044 | var symbolMap$7 = { | |
9359 | var symbolMap$8 = { | |
9045 | 9360 | '1': '೧', |
9046 | 9361 | '2': '೨', |
9047 | 9362 | '3': '೩', |
9053 | 9368 | '9': '೯', |
9054 | 9369 | '0': '೦' |
9055 | 9370 | }; |
9056 | var numberMap$6 = { | |
9371 | var numberMap$7 = { | |
9057 | 9372 | '೧': '1', |
9058 | 9373 | '೨': '2', |
9059 | 9374 | '೩': '3', |
9106 | 9421 | }, |
9107 | 9422 | preparse: function (string) { |
9108 | 9423 | return string.replace(/[೧೨೩೪೫೬೭೮೯೦]/g, function (match) { |
9109 | return numberMap$6[match]; | |
9424 | return numberMap$7[match]; | |
9110 | 9425 | }); |
9111 | 9426 | }, |
9112 | 9427 | postformat: function (string) { |
9113 | 9428 | return string.replace(/\d/g, function (match) { |
9114 | return symbolMap$7[match]; | |
9429 | return symbolMap$8[match]; | |
9115 | 9430 | }); |
9116 | 9431 | }, |
9117 | 9432 | meridiemParse: /ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/, |
9199 | 9514 | y : '일 년', |
9200 | 9515 | yy : '%d년' |
9201 | 9516 | }, |
9202 | dayOfMonthOrdinalParse : /\d{1,2}일/, | |
9203 | ordinal : '%d일', | |
9517 | dayOfMonthOrdinalParse : /\d{1,2}(일|월|주)/, | |
9518 | ordinal : function (number, period) { | |
9519 | switch (period) { | |
9520 | case 'd': | |
9521 | case 'D': | |
9522 | case 'DDD': | |
9523 | return number + '일'; | |
9524 | case 'M': | |
9525 | return number + '월'; | |
9526 | case 'w': | |
9527 | case 'W': | |
9528 | return number + '주'; | |
9529 | default: | |
9530 | return number; | |
9531 | } | |
9532 | }, | |
9204 | 9533 | meridiemParse : /오전|오후/, |
9205 | 9534 | isPM : function (token) { |
9206 | 9535 | return token === '오후'; |
9971 | 10300 | //! author : Harshad Kale : https://github.com/kalehv |
9972 | 10301 | //! author : Vivek Athalye : https://github.com/vnathalye |
9973 | 10302 | |
9974 | var symbolMap$8 = { | |
10303 | var symbolMap$9 = { | |
9975 | 10304 | '1': '१', |
9976 | 10305 | '2': '२', |
9977 | 10306 | '3': '३', |
9983 | 10312 | '9': '९', |
9984 | 10313 | '0': '०' |
9985 | 10314 | }; |
9986 | var numberMap$7 = { | |
10315 | var numberMap$8 = { | |
9987 | 10316 | '१': '1', |
9988 | 10317 | '२': '2', |
9989 | 10318 | '३': '3', |
10072 | 10401 | }, |
10073 | 10402 | preparse: function (string) { |
10074 | 10403 | return string.replace(/[१२३४५६७८९०]/g, function (match) { |
10075 | return numberMap$7[match]; | |
10404 | return numberMap$8[match]; | |
10076 | 10405 | }); |
10077 | 10406 | }, |
10078 | 10407 | postformat: function (string) { |
10079 | 10408 | return string.replace(/\d/g, function (match) { |
10080 | return symbolMap$8[match]; | |
10409 | return symbolMap$9[match]; | |
10081 | 10410 | }); |
10082 | 10411 | }, |
10083 | 10412 | meridiemParse: /रात्री|सकाळी|दुपारी|सायंकाळी/, |
10263 | 10592 | //! author : David Rossellat : https://github.com/gholadr |
10264 | 10593 | //! author : Tin Aung Lin : https://github.com/thanyawzinmin |
10265 | 10594 | |
10266 | var symbolMap$9 = { | |
10595 | var symbolMap$10 = { | |
10267 | 10596 | '1': '၁', |
10268 | 10597 | '2': '၂', |
10269 | 10598 | '3': '၃', |
10275 | 10604 | '9': '၉', |
10276 | 10605 | '0': '၀' |
10277 | 10606 | }; |
10278 | var numberMap$8 = { | |
10607 | var numberMap$9 = { | |
10279 | 10608 | '၁': '1', |
10280 | 10609 | '၂': '2', |
10281 | 10610 | '၃': '3', |
10328 | 10657 | }, |
10329 | 10658 | preparse: function (string) { |
10330 | 10659 | return string.replace(/[၁၂၃၄၅၆၇၈၉၀]/g, function (match) { |
10331 | return numberMap$8[match]; | |
10660 | return numberMap$9[match]; | |
10332 | 10661 | }); |
10333 | 10662 | }, |
10334 | 10663 | postformat: function (string) { |
10335 | 10664 | return string.replace(/\d/g, function (match) { |
10336 | return symbolMap$9[match]; | |
10665 | return symbolMap$10[match]; | |
10337 | 10666 | }); |
10338 | 10667 | }, |
10339 | 10668 | week: { |
10398 | 10727 | //! locale : Nepalese [ne] |
10399 | 10728 | //! author : suvash : https://github.com/suvash |
10400 | 10729 | |
10401 | var symbolMap$10 = { | |
10730 | var symbolMap$11 = { | |
10402 | 10731 | '1': '१', |
10403 | 10732 | '2': '२', |
10404 | 10733 | '3': '३', |
10410 | 10739 | '9': '९', |
10411 | 10740 | '0': '०' |
10412 | 10741 | }; |
10413 | var numberMap$9 = { | |
10742 | var numberMap$10 = { | |
10414 | 10743 | '१': '1', |
10415 | 10744 | '२': '2', |
10416 | 10745 | '३': '3', |
10441 | 10770 | }, |
10442 | 10771 | preparse: function (string) { |
10443 | 10772 | return string.replace(/[१२३४५६७८९०]/g, function (match) { |
10444 | return numberMap$9[match]; | |
10773 | return numberMap$10[match]; | |
10445 | 10774 | }); |
10446 | 10775 | }, |
10447 | 10776 | postformat: function (string) { |
10448 | 10777 | return string.replace(/\d/g, function (match) { |
10449 | return symbolMap$10[match]; | |
10778 | return symbolMap$11[match]; | |
10450 | 10779 | }); |
10451 | 10780 | }, |
10452 | 10781 | meridiemParse: /राति|बिहान|दिउँसो|साँझ/, |
10514 | 10843 | var monthsShortWithDots$1 = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'); |
10515 | 10844 | var monthsShortWithoutDots$1 = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'); |
10516 | 10845 | |
10517 | var monthsParse = [/^jan/i, /^feb/i, /^maart|mrt.?$/i, /^apr/i, /^mei$/i, /^jun[i.]?$/i, /^jul[i.]?$/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dec/i]; | |
10518 | var monthsRegex$1 = /^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i; | |
10846 | var monthsParse$2 = [/^jan/i, /^feb/i, /^maart|mrt.?$/i, /^apr/i, /^mei$/i, /^jun[i.]?$/i, /^jul[i.]?$/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dec/i]; | |
10847 | var monthsRegex$3 = /^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i; | |
10519 | 10848 | |
10520 | 10849 | hooks.defineLocale('nl-be', { |
10521 | 10850 | months : 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'), |
10529 | 10858 | } |
10530 | 10859 | }, |
10531 | 10860 | |
10532 | monthsRegex: monthsRegex$1, | |
10533 | monthsShortRegex: monthsRegex$1, | |
10861 | monthsRegex: monthsRegex$3, | |
10862 | monthsShortRegex: monthsRegex$3, | |
10534 | 10863 | monthsStrictRegex: /^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i, |
10535 | 10864 | monthsShortStrictRegex: /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i, |
10536 | 10865 | |
10537 | monthsParse : monthsParse, | |
10538 | longMonthsParse : monthsParse, | |
10539 | shortMonthsParse : monthsParse, | |
10866 | monthsParse : monthsParse$2, | |
10867 | longMonthsParse : monthsParse$2, | |
10868 | shortMonthsParse : monthsParse$2, | |
10540 | 10869 | |
10541 | 10870 | weekdays : 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'), |
10542 | 10871 | weekdaysShort : 'zo._ma._di._wo._do._vr._za.'.split('_'), |
10543 | weekdaysMin : 'Zo_Ma_Di_Wo_Do_Vr_Za'.split('_'), | |
10872 | weekdaysMin : 'zo_ma_di_wo_do_vr_za'.split('_'), | |
10544 | 10873 | weekdaysParseExact : true, |
10545 | 10874 | longDateFormat : { |
10546 | 10875 | LT : 'HH:mm', |
10591 | 10920 | var monthsShortWithDots$2 = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'); |
10592 | 10921 | var monthsShortWithoutDots$2 = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'); |
10593 | 10922 | |
10594 | var monthsParse$1 = [/^jan/i, /^feb/i, /^maart|mrt.?$/i, /^apr/i, /^mei$/i, /^jun[i.]?$/i, /^jul[i.]?$/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dec/i]; | |
10595 | var monthsRegex$2 = /^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i; | |
10923 | var monthsParse$3 = [/^jan/i, /^feb/i, /^maart|mrt.?$/i, /^apr/i, /^mei$/i, /^jun[i.]?$/i, /^jul[i.]?$/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dec/i]; | |
10924 | var monthsRegex$4 = /^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i; | |
10596 | 10925 | |
10597 | 10926 | hooks.defineLocale('nl', { |
10598 | 10927 | months : 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'), |
10606 | 10935 | } |
10607 | 10936 | }, |
10608 | 10937 | |
10609 | monthsRegex: monthsRegex$2, | |
10610 | monthsShortRegex: monthsRegex$2, | |
10938 | monthsRegex: monthsRegex$4, | |
10939 | monthsShortRegex: monthsRegex$4, | |
10611 | 10940 | monthsStrictRegex: /^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i, |
10612 | 10941 | monthsShortStrictRegex: /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i, |
10613 | 10942 | |
10614 | monthsParse : monthsParse$1, | |
10615 | longMonthsParse : monthsParse$1, | |
10616 | shortMonthsParse : monthsParse$1, | |
10943 | monthsParse : monthsParse$3, | |
10944 | longMonthsParse : monthsParse$3, | |
10945 | shortMonthsParse : monthsParse$3, | |
10617 | 10946 | |
10618 | 10947 | weekdays : 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'), |
10619 | 10948 | weekdaysShort : 'zo._ma._di._wo._do._vr._za.'.split('_'), |
10620 | weekdaysMin : 'Zo_Ma_Di_Wo_Do_Vr_Za'.split('_'), | |
10949 | weekdaysMin : 'zo_ma_di_wo_do_vr_za'.split('_'), | |
10621 | 10950 | weekdaysParseExact : true, |
10622 | 10951 | longDateFormat : { |
10623 | 10952 | LT : 'HH:mm', |
10713 | 11042 | //! locale : Punjabi (India) [pa-in] |
10714 | 11043 | //! author : Harpreet Singh : https://github.com/harpreetkhalsagtbit |
10715 | 11044 | |
10716 | var symbolMap$11 = { | |
11045 | var symbolMap$12 = { | |
10717 | 11046 | '1': '੧', |
10718 | 11047 | '2': '੨', |
10719 | 11048 | '3': '੩', |
10725 | 11054 | '9': '੯', |
10726 | 11055 | '0': '੦' |
10727 | 11056 | }; |
10728 | var numberMap$10 = { | |
11057 | var numberMap$11 = { | |
10729 | 11058 | '੧': '1', |
10730 | 11059 | '੨': '2', |
10731 | 11060 | '੩': '3', |
10778 | 11107 | }, |
10779 | 11108 | preparse: function (string) { |
10780 | 11109 | return string.replace(/[੧੨੩੪੫੬੭੮੯੦]/g, function (match) { |
10781 | return numberMap$10[match]; | |
11110 | return numberMap$11[match]; | |
10782 | 11111 | }); |
10783 | 11112 | }, |
10784 | 11113 | postformat: function (string) { |
10785 | 11114 | return string.replace(/\d/g, function (match) { |
10786 | return symbolMap$11[match]; | |
11115 | return symbolMap$12[match]; | |
10787 | 11116 | }); |
10788 | 11117 | }, |
10789 | 11118 | // Punjabi notation for meridiems are quite fuzzy in practice. While there exists |
10879 | 11208 | calendar : { |
10880 | 11209 | sameDay: '[Dziś o] LT', |
10881 | 11210 | nextDay: '[Jutro o] LT', |
10882 | nextWeek: '[W] dddd [o] LT', | |
11211 | nextWeek: function () { | |
11212 | switch (this.day()) { | |
11213 | case 0: | |
11214 | return '[W niedzielę o] LT'; | |
11215 | ||
11216 | case 2: | |
11217 | return '[We wtorek o] LT'; | |
11218 | ||
11219 | case 3: | |
11220 | return '[W środę o] LT'; | |
11221 | ||
11222 | case 6: | |
11223 | return '[W sobotę o] LT'; | |
11224 | ||
11225 | default: | |
11226 | return '[W] dddd [o] LT'; | |
11227 | } | |
11228 | }, | |
10883 | 11229 | lastDay: '[Wczoraj o] LT', |
10884 | 11230 | lastWeek: function () { |
10885 | 11231 | switch (this.day()) { |
10923 | 11269 | //! author : Caio Ribeiro Pereira : https://github.com/caio-ribeiro-pereira |
10924 | 11270 | |
10925 | 11271 | hooks.defineLocale('pt-br', { |
10926 | months : 'Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro'.split('_'), | |
10927 | monthsShort : 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'), | |
11272 | months : 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split('_'), | |
11273 | monthsShort : 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'), | |
10928 | 11274 | weekdays : 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split('_'), |
10929 | 11275 | weekdaysShort : 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'), |
10930 | 11276 | weekdaysMin : 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'), |
10953 | 11299 | future : 'em %s', |
10954 | 11300 | past : '%s atrás', |
10955 | 11301 | s : 'poucos segundos', |
11302 | ss : '%d segundos', | |
10956 | 11303 | m : 'um minuto', |
10957 | 11304 | mm : '%d minutos', |
10958 | 11305 | h : 'uma hora', |
10973 | 11320 | //! author : Jefferson : https://github.com/jalex79 |
10974 | 11321 | |
10975 | 11322 | hooks.defineLocale('pt', { |
10976 | months : 'Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro'.split('_'), | |
10977 | monthsShort : 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'), | |
10978 | weekdays : 'Domingo_Segunda-Feira_Terça-Feira_Quarta-Feira_Quinta-Feira_Sexta-Feira_Sábado'.split('_'), | |
11323 | months : 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split('_'), | |
11324 | monthsShort : 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'), | |
11325 | weekdays : 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split('_'), | |
10979 | 11326 | weekdaysShort : 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'), |
10980 | 11327 | weekdaysMin : 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'), |
10981 | 11328 | weekdaysParseExact : true, |
11111 | 11458 | return number + ' ' + plural$4(format[key], +number); |
11112 | 11459 | } |
11113 | 11460 | } |
11114 | var monthsParse$2 = [/^янв/i, /^фев/i, /^мар/i, /^апр/i, /^ма[йя]/i, /^июн/i, /^июл/i, /^авг/i, /^сен/i, /^окт/i, /^ноя/i, /^дек/i]; | |
11461 | var monthsParse$4 = [/^янв/i, /^фев/i, /^мар/i, /^апр/i, /^ма[йя]/i, /^июн/i, /^июл/i, /^авг/i, /^сен/i, /^окт/i, /^ноя/i, /^дек/i]; | |
11115 | 11462 | |
11116 | 11463 | // http://new.gramota.ru/spravka/rules/139-prop : § 103 |
11117 | 11464 | // Сокращения месяцев: http://new.gramota.ru/spravka/buro/search-answer?s=242637 |
11133 | 11480 | }, |
11134 | 11481 | weekdaysShort : 'вс_пн_вт_ср_чт_пт_сб'.split('_'), |
11135 | 11482 | weekdaysMin : 'вс_пн_вт_ср_чт_пт_сб'.split('_'), |
11136 | monthsParse : monthsParse$2, | |
11137 | longMonthsParse : monthsParse$2, | |
11138 | shortMonthsParse : monthsParse$2, | |
11483 | monthsParse : monthsParse$4, | |
11484 | longMonthsParse : monthsParse$4, | |
11485 | shortMonthsParse : monthsParse$4, | |
11139 | 11486 | |
11140 | 11487 | // полные названия с падежами, по три буквы, для некоторых, по 4 буквы, сокращения с точкой и без точки |
11141 | 11488 | monthsRegex: /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i, |
11254 | 11601 | }, |
11255 | 11602 | week : { |
11256 | 11603 | dow : 1, // Monday is the first day of the week. |
11257 | doy : 7 // The week that contains Jan 1st is the first week of the year. | |
11604 | doy : 4 // The week that contains Jan 4th is the first week of the year. | |
11258 | 11605 | } |
11259 | 11606 | }); |
11260 | 11607 | |
11461 | 11808 | //! based on work of petrbela : https://github.com/petrbela |
11462 | 11809 | |
11463 | 11810 | var months$7 = 'január_február_marec_apríl_máj_jún_júl_august_september_október_november_december'.split('_'); |
11464 | var monthsShort$4 = 'jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec'.split('_'); | |
11811 | var monthsShort$5 = 'jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec'.split('_'); | |
11465 | 11812 | function plural$5(n) { |
11466 | 11813 | return (n > 1) && (n < 5); |
11467 | 11814 | } |
11520 | 11867 | |
11521 | 11868 | hooks.defineLocale('sk', { |
11522 | 11869 | months : months$7, |
11523 | monthsShort : monthsShort$4, | |
11870 | monthsShort : monthsShort$5, | |
11524 | 11871 | weekdays : 'nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota'.split('_'), |
11525 | 11872 | weekdaysShort : 'ne_po_ut_st_št_pi_so'.split('_'), |
11526 | 11873 | weekdaysMin : 'ne_po_ut_st_št_pi_so'.split('_'), |
12190 | 12537 | //! locale : Tamil [ta] |
12191 | 12538 | //! author : Arjunkumar Krishnamoorthy : https://github.com/tk120404 |
12192 | 12539 | |
12193 | var symbolMap$12 = { | |
12540 | var symbolMap$13 = { | |
12194 | 12541 | '1': '௧', |
12195 | 12542 | '2': '௨', |
12196 | 12543 | '3': '௩', |
12202 | 12549 | '9': '௯', |
12203 | 12550 | '0': '௦' |
12204 | 12551 | }; |
12205 | var numberMap$11 = { | |
12552 | var numberMap$12 = { | |
12206 | 12553 | '௧': '1', |
12207 | 12554 | '௨': '2', |
12208 | 12555 | '௩': '3', |
12258 | 12605 | }, |
12259 | 12606 | preparse: function (string) { |
12260 | 12607 | return string.replace(/[௧௨௩௪௫௬௭௮௯௦]/g, function (match) { |
12261 | return numberMap$11[match]; | |
12608 | return numberMap$12[match]; | |
12262 | 12609 | }); |
12263 | 12610 | }, |
12264 | 12611 | postformat: function (string) { |
12265 | 12612 | return string.replace(/\d/g, function (match) { |
12266 | return symbolMap$12[match]; | |
12613 | return symbolMap$13[match]; | |
12267 | 12614 | }); |
12268 | 12615 | }, |
12269 | 12616 | // refer http://ta.wikipedia.org/s/1er1 |
12699 | 13046 | calendar : { |
12700 | 13047 | sameDay : '[bugün saat] LT', |
12701 | 13048 | nextDay : '[yarın saat] LT', |
12702 | nextWeek : '[haftaya] dddd [saat] LT', | |
13049 | nextWeek : '[gelecek] dddd [saat] LT', | |
12703 | 13050 | lastDay : '[dün] LT', |
12704 | lastWeek : '[geçen hafta] dddd [saat] LT', | |
13051 | lastWeek : '[geçen] dddd [saat] LT', | |
12705 | 13052 | sameElse : 'L' |
12706 | 13053 | }, |
12707 | 13054 | relativeTime : { |
0 | !function(a,b){"object"==typeof exports&&"undefined"!=typeof module?module.exports=b():"function"==typeof define&&define.amd?define(b):a.moment=b()}(this,function(){"use strict";function a(){return re.apply(null,arguments)}function b(a){re=a}function c(a){return a instanceof Array||"[object Array]"===Object.prototype.toString.call(a)}function d(a){return null!=a&&"[object Object]"===Object.prototype.toString.call(a)}function e(a){var b;for(b in a)return!1;return!0}function f(a){return void 0===a}function g(a){return"number"==typeof a||"[object Number]"===Object.prototype.toString.call(a)}function h(a){return a instanceof Date||"[object Date]"===Object.prototype.toString.call(a)}function i(a,b){var c,d=[];for(c=0;c<a.length;++c)d.push(b(a[c],c));return d}function j(a,b){return Object.prototype.hasOwnProperty.call(a,b)}function k(a,b){for(var c in b)j(b,c)&&(a[c]=b[c]);return j(b,"toString")&&(a.toString=b.toString),j(b,"valueOf")&&(a.valueOf=b.valueOf),a}function l(a,b,c,d){return sb(a,b,c,d,!0).utc()}function m(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function n(a){return null==a._pf&&(a._pf=m()),a._pf}function o(a){if(null==a._isValid){var b=n(a),c=te.call(b.parsedDateParts,function(a){return null!=a}),d=!isNaN(a._d.getTime())&&b.overflow<0&&!b.empty&&!b.invalidMonth&&!b.invalidWeekday&&!b.nullInput&&!b.invalidFormat&&!b.userInvalidated&&(!b.meridiem||b.meridiem&&c);if(a._strict&&(d=d&&0===b.charsLeftOver&&0===b.unusedTokens.length&&void 0===b.bigHour),null!=Object.isFrozen&&Object.isFrozen(a))return d;a._isValid=d}return a._isValid}function p(a){var b=l(NaN);return null!=a?k(n(b),a):n(b).userInvalidated=!0,b}function q(a,b){var c,d,e;if(f(b._isAMomentObject)||(a._isAMomentObject=b._isAMomentObject),f(b._i)||(a._i=b._i),f(b._f)||(a._f=b._f),f(b._l)||(a._l=b._l),f(b._strict)||(a._strict=b._strict),f(b._tzm)||(a._tzm=b._tzm),f(b._isUTC)||(a._isUTC=b._isUTC),f(b._offset)||(a._offset=b._offset),f(b._pf)||(a._pf=n(b)),f(b._locale)||(a._locale=b._locale),ue.length>0)for(c=0;c<ue.length;c++)d=ue[c],e=b[d],f(e)||(a[d]=e);return a}function r(b){q(this,b),this._d=new Date(null!=b._d?b._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),ve===!1&&(ve=!0,a.updateOffset(this),ve=!1)}function s(a){return a instanceof r||null!=a&&null!=a._isAMomentObject}function t(a){return a<0?Math.ceil(a)||0:Math.floor(a)}function u(a){var b=+a,c=0;return 0!==b&&isFinite(b)&&(c=t(b)),c}function v(a,b,c){var d,e=Math.min(a.length,b.length),f=Math.abs(a.length-b.length),g=0;for(d=0;d<e;d++)(c&&a[d]!==b[d]||!c&&u(a[d])!==u(b[d]))&&g++;return g+f}function w(b){a.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+b)}function x(b,c){var d=!0;return k(function(){if(null!=a.deprecationHandler&&a.deprecationHandler(null,b),d){for(var e,f=[],g=0;g<arguments.length;g++){if(e="","object"==typeof arguments[g]){e+="\n["+g+"] ";for(var h in arguments[0])e+=h+": "+arguments[0][h]+", ";e=e.slice(0,-2)}else e=arguments[g];f.push(e)}w(b+"\nArguments: "+Array.prototype.slice.call(f).join("")+"\n"+(new Error).stack),d=!1}return c.apply(this,arguments)},c)}function y(b,c){null!=a.deprecationHandler&&a.deprecationHandler(b,c),we[b]||(w(c),we[b]=!0)}function z(a){return a instanceof Function||"[object Function]"===Object.prototype.toString.call(a)}function A(a){var b,c;for(c in a)b=a[c],z(b)?this[c]=b:this["_"+c]=b;this._config=a,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function B(a,b){var c,e=k({},a);for(c in b)j(b,c)&&(d(a[c])&&d(b[c])?(e[c]={},k(e[c],a[c]),k(e[c],b[c])):null!=b[c]?e[c]=b[c]:delete e[c]);for(c in a)j(a,c)&&!j(b,c)&&d(a[c])&&(e[c]=k({},e[c]));return e}function C(a){null!=a&&this.set(a)}function D(a,b,c){var d=this._calendar[a]||this._calendar.sameElse;return z(d)?d.call(b,c):d}function E(a){var b=this._longDateFormat[a],c=this._longDateFormat[a.toUpperCase()];return b||!c?b:(this._longDateFormat[a]=c.replace(/MMMM|MM|DD|dddd/g,function(a){return a.slice(1)}),this._longDateFormat[a])}function F(){return this._invalidDate}function G(a){return this._ordinal.replace("%d",a)}function H(a,b,c,d){var e=this._relativeTime[c];return z(e)?e(a,b,c,d):e.replace(/%d/i,a)}function I(a,b){var c=this._relativeTime[a>0?"future":"past"];return z(c)?c(b):c.replace(/%s/i,b)}function J(a,b){var c=a.toLowerCase();Ge[c]=Ge[c+"s"]=Ge[b]=a}function K(a){return"string"==typeof a?Ge[a]||Ge[a.toLowerCase()]:void 0}function L(a){var b,c,d={};for(c in a)j(a,c)&&(b=K(c),b&&(d[b]=a[c]));return d}function M(a,b){He[a]=b}function N(a){var b=[];for(var c in a)b.push({unit:c,priority:He[c]});return b.sort(function(a,b){return a.priority-b.priority}),b}function O(b,c){return function(d){return null!=d?(Q(this,b,d),a.updateOffset(this,c),this):P(this,b)}}function P(a,b){return a.isValid()?a._d["get"+(a._isUTC?"UTC":"")+b]():NaN}function Q(a,b,c){a.isValid()&&a._d["set"+(a._isUTC?"UTC":"")+b](c)}function R(a){return a=K(a),z(this[a])?this[a]():this}function S(a,b){if("object"==typeof a){a=L(a);for(var c=N(a),d=0;d<c.length;d++)this[c[d].unit](a[c[d].unit])}else if(a=K(a),z(this[a]))return this[a](b);return this}function T(a,b,c){var d=""+Math.abs(a),e=b-d.length,f=a>=0;return(f?c?"+":"":"-")+Math.pow(10,Math.max(0,e)).toString().substr(1)+d}function U(a,b,c,d){var e=d;"string"==typeof d&&(e=function(){return this[d]()}),a&&(Le[a]=e),b&&(Le[b[0]]=function(){return T(e.apply(this,arguments),b[1],b[2])}),c&&(Le[c]=function(){return this.localeData().ordinal(e.apply(this,arguments),a)})}function V(a){return a.match(/\[[\s\S]/)?a.replace(/^\[|\]$/g,""):a.replace(/\\/g,"")}function W(a){var b,c,d=a.match(Ie);for(b=0,c=d.length;b<c;b++)Le[d[b]]?d[b]=Le[d[b]]:d[b]=V(d[b]);return function(b){var e,f="";for(e=0;e<c;e++)f+=z(d[e])?d[e].call(b,a):d[e];return f}}function X(a,b){return a.isValid()?(b=Y(b,a.localeData()),Ke[b]=Ke[b]||W(b),Ke[b](a)):a.localeData().invalidDate()}function Y(a,b){function c(a){return b.longDateFormat(a)||a}var d=5;for(Je.lastIndex=0;d>=0&&Je.test(a);)a=a.replace(Je,c),Je.lastIndex=0,d-=1;return a}function Z(a,b,c){bf[a]=z(b)?b:function(a,d){return a&&c?c:b}}function $(a,b){return j(bf,a)?bf[a](b._strict,b._locale):new RegExp(_(a))}function _(a){return aa(a.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(a,b,c,d,e){return b||c||d||e}))}function aa(a){return a.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ba(a,b){var c,d=b;for("string"==typeof a&&(a=[a]),g(b)&&(d=function(a,c){c[b]=u(a)}),c=0;c<a.length;c++)cf[a[c]]=d}function ca(a,b){ba(a,function(a,c,d,e){d._w=d._w||{},b(a,d._w,d,e)})}function da(a,b,c){null!=b&&j(cf,a)&&cf[a](b,c._a,c,a)}function ea(a,b){return new Date(Date.UTC(a,b+1,0)).getUTCDate()}function fa(a,b){return a?c(this._months)?this._months[a.month()]:this._months[(this._months.isFormat||of).test(b)?"format":"standalone"][a.month()]:c(this._months)?this._months:this._months.standalone}function ga(a,b){return a?c(this._monthsShort)?this._monthsShort[a.month()]:this._monthsShort[of.test(b)?"format":"standalone"][a.month()]:c(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function ha(a,b,c){var d,e,f,g=a.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],d=0;d<12;++d)f=l([2e3,d]),this._shortMonthsParse[d]=this.monthsShort(f,"").toLocaleLowerCase(),this._longMonthsParse[d]=this.months(f,"").toLocaleLowerCase();return c?"MMM"===b?(e=nf.call(this._shortMonthsParse,g),e!==-1?e:null):(e=nf.call(this._longMonthsParse,g),e!==-1?e:null):"MMM"===b?(e=nf.call(this._shortMonthsParse,g),e!==-1?e:(e=nf.call(this._longMonthsParse,g),e!==-1?e:null)):(e=nf.call(this._longMonthsParse,g),e!==-1?e:(e=nf.call(this._shortMonthsParse,g),e!==-1?e:null))}function ia(a,b,c){var d,e,f;if(this._monthsParseExact)return ha.call(this,a,b,c);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),d=0;d<12;d++){if(e=l([2e3,d]),c&&!this._longMonthsParse[d]&&(this._longMonthsParse[d]=new RegExp("^"+this.months(e,"").replace(".","")+"$","i"),this._shortMonthsParse[d]=new RegExp("^"+this.monthsShort(e,"").replace(".","")+"$","i")),c||this._monthsParse[d]||(f="^"+this.months(e,"")+"|^"+this.monthsShort(e,""),this._monthsParse[d]=new RegExp(f.replace(".",""),"i")),c&&"MMMM"===b&&this._longMonthsParse[d].test(a))return d;if(c&&"MMM"===b&&this._shortMonthsParse[d].test(a))return d;if(!c&&this._monthsParse[d].test(a))return d}}function ja(a,b){var c;if(!a.isValid())return a;if("string"==typeof b)if(/^\d+$/.test(b))b=u(b);else if(b=a.localeData().monthsParse(b),!g(b))return a;return c=Math.min(a.date(),ea(a.year(),b)),a._d["set"+(a._isUTC?"UTC":"")+"Month"](b,c),a}function ka(b){return null!=b?(ja(this,b),a.updateOffset(this,!0),this):P(this,"Month")}function la(){return ea(this.year(),this.month())}function ma(a){return this._monthsParseExact?(j(this,"_monthsRegex")||oa.call(this),a?this._monthsShortStrictRegex:this._monthsShortRegex):(j(this,"_monthsShortRegex")||(this._monthsShortRegex=rf),this._monthsShortStrictRegex&&a?this._monthsShortStrictRegex:this._monthsShortRegex)}function na(a){return this._monthsParseExact?(j(this,"_monthsRegex")||oa.call(this),a?this._monthsStrictRegex:this._monthsRegex):(j(this,"_monthsRegex")||(this._monthsRegex=sf),this._monthsStrictRegex&&a?this._monthsStrictRegex:this._monthsRegex)}function oa(){function a(a,b){return b.length-a.length}var b,c,d=[],e=[],f=[];for(b=0;b<12;b++)c=l([2e3,b]),d.push(this.monthsShort(c,"")),e.push(this.months(c,"")),f.push(this.months(c,"")),f.push(this.monthsShort(c,""));for(d.sort(a),e.sort(a),f.sort(a),b=0;b<12;b++)d[b]=aa(d[b]),e[b]=aa(e[b]);for(b=0;b<24;b++)f[b]=aa(f[b]);this._monthsRegex=new RegExp("^("+f.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+e.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+d.join("|")+")","i")}function pa(a){return qa(a)?366:365}function qa(a){return a%4===0&&a%100!==0||a%400===0}function ra(){return qa(this.year())}function sa(a,b,c,d,e,f,g){var h=new Date(a,b,c,d,e,f,g);return a<100&&a>=0&&isFinite(h.getFullYear())&&h.setFullYear(a),h}function ta(a){var b=new Date(Date.UTC.apply(null,arguments));return a<100&&a>=0&&isFinite(b.getUTCFullYear())&&b.setUTCFullYear(a),b}function ua(a,b,c){var d=7+b-c,e=(7+ta(a,0,d).getUTCDay()-b)%7;return-e+d-1}function va(a,b,c,d,e){var f,g,h=(7+c-d)%7,i=ua(a,d,e),j=1+7*(b-1)+h+i;return j<=0?(f=a-1,g=pa(f)+j):j>pa(a)?(f=a+1,g=j-pa(a)):(f=a,g=j),{year:f,dayOfYear:g}}function wa(a,b,c){var d,e,f=ua(a.year(),b,c),g=Math.floor((a.dayOfYear()-f-1)/7)+1;return g<1?(e=a.year()-1,d=g+xa(e,b,c)):g>xa(a.year(),b,c)?(d=g-xa(a.year(),b,c),e=a.year()+1):(e=a.year(),d=g),{week:d,year:e}}function xa(a,b,c){var d=ua(a,b,c),e=ua(a+1,b,c);return(pa(a)-d+e)/7}function ya(a){return wa(a,this._week.dow,this._week.doy).week}function za(){return this._week.dow}function Aa(){return this._week.doy}function Ba(a){var b=this.localeData().week(this);return null==a?b:this.add(7*(a-b),"d")}function Ca(a){var b=wa(this,1,4).week;return null==a?b:this.add(7*(a-b),"d")}function Da(a,b){return"string"!=typeof a?a:isNaN(a)?(a=b.weekdaysParse(a),"number"==typeof a?a:null):parseInt(a,10)}function Ea(a,b){return"string"==typeof a?b.weekdaysParse(a)%7||7:isNaN(a)?null:a}function Fa(a,b){return a?c(this._weekdays)?this._weekdays[a.day()]:this._weekdays[this._weekdays.isFormat.test(b)?"format":"standalone"][a.day()]:c(this._weekdays)?this._weekdays:this._weekdays.standalone}function Ga(a){return a?this._weekdaysShort[a.day()]:this._weekdaysShort}function Ha(a){return a?this._weekdaysMin[a.day()]:this._weekdaysMin}function Ia(a,b,c){var d,e,f,g=a.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],d=0;d<7;++d)f=l([2e3,1]).day(d),this._minWeekdaysParse[d]=this.weekdaysMin(f,"").toLocaleLowerCase(),this._shortWeekdaysParse[d]=this.weekdaysShort(f,"").toLocaleLowerCase(),this._weekdaysParse[d]=this.weekdays(f,"").toLocaleLowerCase();return c?"dddd"===b?(e=nf.call(this._weekdaysParse,g),e!==-1?e:null):"ddd"===b?(e=nf.call(this._shortWeekdaysParse,g),e!==-1?e:null):(e=nf.call(this._minWeekdaysParse,g),e!==-1?e:null):"dddd"===b?(e=nf.call(this._weekdaysParse,g),e!==-1?e:(e=nf.call(this._shortWeekdaysParse,g),e!==-1?e:(e=nf.call(this._minWeekdaysParse,g),e!==-1?e:null))):"ddd"===b?(e=nf.call(this._shortWeekdaysParse,g),e!==-1?e:(e=nf.call(this._weekdaysParse,g),e!==-1?e:(e=nf.call(this._minWeekdaysParse,g),e!==-1?e:null))):(e=nf.call(this._minWeekdaysParse,g),e!==-1?e:(e=nf.call(this._weekdaysParse,g),e!==-1?e:(e=nf.call(this._shortWeekdaysParse,g),e!==-1?e:null)))}function Ja(a,b,c){var d,e,f;if(this._weekdaysParseExact)return Ia.call(this,a,b,c);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),d=0;d<7;d++){if(e=l([2e3,1]).day(d),c&&!this._fullWeekdaysParse[d]&&(this._fullWeekdaysParse[d]=new RegExp("^"+this.weekdays(e,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[d]=new RegExp("^"+this.weekdaysShort(e,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[d]=new RegExp("^"+this.weekdaysMin(e,"").replace(".",".?")+"$","i")),this._weekdaysParse[d]||(f="^"+this.weekdays(e,"")+"|^"+this.weekdaysShort(e,"")+"|^"+this.weekdaysMin(e,""),this._weekdaysParse[d]=new RegExp(f.replace(".",""),"i")),c&&"dddd"===b&&this._fullWeekdaysParse[d].test(a))return d;if(c&&"ddd"===b&&this._shortWeekdaysParse[d].test(a))return d;if(c&&"dd"===b&&this._minWeekdaysParse[d].test(a))return d;if(!c&&this._weekdaysParse[d].test(a))return d}}function Ka(a){if(!this.isValid())return null!=a?this:NaN;var b=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=a?(a=Da(a,this.localeData()),this.add(a-b,"d")):b}function La(a){if(!this.isValid())return null!=a?this:NaN;var b=(this.day()+7-this.localeData()._week.dow)%7;return null==a?b:this.add(a-b,"d")}function Ma(a){if(!this.isValid())return null!=a?this:NaN;if(null!=a){var b=Ea(a,this.localeData());return this.day(this.day()%7?b:b-7)}return this.day()||7}function Na(a){return this._weekdaysParseExact?(j(this,"_weekdaysRegex")||Qa.call(this),a?this._weekdaysStrictRegex:this._weekdaysRegex):(j(this,"_weekdaysRegex")||(this._weekdaysRegex=yf),this._weekdaysStrictRegex&&a?this._weekdaysStrictRegex:this._weekdaysRegex)}function Oa(a){return this._weekdaysParseExact?(j(this,"_weekdaysRegex")||Qa.call(this),a?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(j(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=zf),this._weekdaysShortStrictRegex&&a?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Pa(a){return this._weekdaysParseExact?(j(this,"_weekdaysRegex")||Qa.call(this),a?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(j(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Af),this._weekdaysMinStrictRegex&&a?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Qa(){function a(a,b){return b.length-a.length}var b,c,d,e,f,g=[],h=[],i=[],j=[];for(b=0;b<7;b++)c=l([2e3,1]).day(b),d=this.weekdaysMin(c,""),e=this.weekdaysShort(c,""),f=this.weekdays(c,""),g.push(d),h.push(e),i.push(f),j.push(d),j.push(e),j.push(f);for(g.sort(a),h.sort(a),i.sort(a),j.sort(a),b=0;b<7;b++)h[b]=aa(h[b]),i[b]=aa(i[b]),j[b]=aa(j[b]);this._weekdaysRegex=new RegExp("^("+j.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+h.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+g.join("|")+")","i")}function Ra(){return this.hours()%12||12}function Sa(){return this.hours()||24}function Ta(a,b){U(a,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),b)})}function Ua(a,b){return b._meridiemParse}function Va(a){return"p"===(a+"").toLowerCase().charAt(0)}function Wa(a,b,c){return a>11?c?"pm":"PM":c?"am":"AM"}function Xa(a){return a?a.toLowerCase().replace("_","-"):a}function Ya(a){for(var b,c,d,e,f=0;f<a.length;){for(e=Xa(a[f]).split("-"),b=e.length,c=Xa(a[f+1]),c=c?c.split("-"):null;b>0;){if(d=Za(e.slice(0,b).join("-")))return d;if(c&&c.length>=b&&v(e,c,!0)>=b-1)break;b--}f++}return null}function Za(a){var b=null;if(!Ff[a]&&"undefined"!=typeof module&&module&&module.exports)try{b=Bf._abbr,require("./locale/"+a),$a(b)}catch(a){}return Ff[a]}function $a(a,b){var c;return a&&(c=f(b)?bb(a):_a(a,b),c&&(Bf=c)),Bf._abbr}function _a(a,b){if(null!==b){var c=Ef;if(b.abbr=a,null!=Ff[a])y("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),c=Ff[a]._config;else if(null!=b.parentLocale){if(null==Ff[b.parentLocale])return Gf[b.parentLocale]||(Gf[b.parentLocale]=[]),Gf[b.parentLocale].push({name:a,config:b}),null;c=Ff[b.parentLocale]._config}return Ff[a]=new C(B(c,b)),Gf[a]&&Gf[a].forEach(function(a){_a(a.name,a.config)}),$a(a),Ff[a]}return delete Ff[a],null}function ab(a,b){if(null!=b){var c,d=Ef;null!=Ff[a]&&(d=Ff[a]._config),b=B(d,b),c=new C(b),c.parentLocale=Ff[a],Ff[a]=c,$a(a)}else null!=Ff[a]&&(null!=Ff[a].parentLocale?Ff[a]=Ff[a].parentLocale:null!=Ff[a]&&delete Ff[a]);return Ff[a]}function bb(a){var b;if(a&&a._locale&&a._locale._abbr&&(a=a._locale._abbr),!a)return Bf;if(!c(a)){if(b=Za(a))return b;a=[a]}return Ya(a)}function cb(){return ze(Ff)}function db(a){var b,c=a._a;return c&&n(a).overflow===-2&&(b=c[ef]<0||c[ef]>11?ef:c[ff]<1||c[ff]>ea(c[df],c[ef])?ff:c[gf]<0||c[gf]>24||24===c[gf]&&(0!==c[hf]||0!==c[jf]||0!==c[kf])?gf:c[hf]<0||c[hf]>59?hf:c[jf]<0||c[jf]>59?jf:c[kf]<0||c[kf]>999?kf:-1,n(a)._overflowDayOfYear&&(b<df||b>ff)&&(b=ff),n(a)._overflowWeeks&&b===-1&&(b=lf),n(a)._overflowWeekday&&b===-1&&(b=mf),n(a).overflow=b),a}function eb(a){var b,c,d,e,f,g,h=a._i,i=Hf.exec(h)||If.exec(h);if(i){for(n(a).iso=!0,b=0,c=Kf.length;b<c;b++)if(Kf[b][1].exec(i[1])){e=Kf[b][0],d=Kf[b][2]!==!1;break}if(null==e)return void(a._isValid=!1);if(i[3]){for(b=0,c=Lf.length;b<c;b++)if(Lf[b][1].exec(i[3])){f=(i[2]||" ")+Lf[b][0];break}if(null==f)return void(a._isValid=!1)}if(!d&&null!=f)return void(a._isValid=!1);if(i[4]){if(!Jf.exec(i[4]))return void(a._isValid=!1);g="Z"}a._f=e+(f||"")+(g||""),lb(a)}else a._isValid=!1}function fb(a){var b,c,d,e,f,g,h,i,j={" GMT":" +0000"," EDT":" -0400"," EST":" -0500"," CDT":" -0500"," CST":" -0600"," MDT":" -0600"," MST":" -0700"," PDT":" -0700"," PST":" -0800"},k="YXWVUTSRQPONZABCDEFGHIKLM";if(b=a._i.replace(/\([^\)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s|\s$/g,""),c=Nf.exec(b)){if(d=c[1]?"ddd"+(5===c[1].length?", ":" "):"",e="D MMM "+(c[2].length>10?"YYYY ":"YY "),f="HH:mm"+(c[4]?":ss":""),c[1]){var l=new Date(c[2]),m=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"][l.getDay()];if(c[1].substr(0,3)!==m)return n(a).weekdayMismatch=!0,void(a._isValid=!1)}switch(c[5].length){case 2:0===i?h=" +0000":(i=k.indexOf(c[5][1].toUpperCase())-12,h=(i<0?" -":" +")+(""+i).replace(/^-?/,"0").match(/..$/)[0]+"00");break;case 4:h=j[c[5]];break;default:h=j[" GMT"]}c[5]=h,a._i=c.splice(1).join(""),g=" ZZ",a._f=d+e+f+g,lb(a),n(a).rfc2822=!0}else a._isValid=!1}function gb(b){var c=Mf.exec(b._i);return null!==c?void(b._d=new Date(+c[1])):(eb(b),void(b._isValid===!1&&(delete b._isValid,fb(b),b._isValid===!1&&(delete b._isValid,a.createFromInputFallback(b)))))}function hb(a,b,c){return null!=a?a:null!=b?b:c}function ib(b){var c=new Date(a.now());return b._useUTC?[c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()]:[c.getFullYear(),c.getMonth(),c.getDate()]}function jb(a){var b,c,d,e,f=[];if(!a._d){for(d=ib(a),a._w&&null==a._a[ff]&&null==a._a[ef]&&kb(a),null!=a._dayOfYear&&(e=hb(a._a[df],d[df]),(a._dayOfYear>pa(e)||0===a._dayOfYear)&&(n(a)._overflowDayOfYear=!0),c=ta(e,0,a._dayOfYear),a._a[ef]=c.getUTCMonth(),a._a[ff]=c.getUTCDate()),b=0;b<3&&null==a._a[b];++b)a._a[b]=f[b]=d[b];for(;b<7;b++)a._a[b]=f[b]=null==a._a[b]?2===b?1:0:a._a[b];24===a._a[gf]&&0===a._a[hf]&&0===a._a[jf]&&0===a._a[kf]&&(a._nextDay=!0,a._a[gf]=0),a._d=(a._useUTC?ta:sa).apply(null,f),null!=a._tzm&&a._d.setUTCMinutes(a._d.getUTCMinutes()-a._tzm),a._nextDay&&(a._a[gf]=24)}}function kb(a){var b,c,d,e,f,g,h,i;if(b=a._w,null!=b.GG||null!=b.W||null!=b.E)f=1,g=4,c=hb(b.GG,a._a[df],wa(tb(),1,4).year),d=hb(b.W,1),e=hb(b.E,1),(e<1||e>7)&&(i=!0);else{f=a._locale._week.dow,g=a._locale._week.doy;var j=wa(tb(),f,g);c=hb(b.gg,a._a[df],j.year),d=hb(b.w,j.week),null!=b.d?(e=b.d,(e<0||e>6)&&(i=!0)):null!=b.e?(e=b.e+f,(b.e<0||b.e>6)&&(i=!0)):e=f}d<1||d>xa(c,f,g)?n(a)._overflowWeeks=!0:null!=i?n(a)._overflowWeekday=!0:(h=va(c,d,e,f,g),a._a[df]=h.year,a._dayOfYear=h.dayOfYear)}function lb(b){if(b._f===a.ISO_8601)return void eb(b);if(b._f===a.RFC_2822)return void fb(b);b._a=[],n(b).empty=!0;var c,d,e,f,g,h=""+b._i,i=h.length,j=0;for(e=Y(b._f,b._locale).match(Ie)||[],c=0;c<e.length;c++)f=e[c],d=(h.match($(f,b))||[])[0],d&&(g=h.substr(0,h.indexOf(d)),g.length>0&&n(b).unusedInput.push(g),h=h.slice(h.indexOf(d)+d.length),j+=d.length),Le[f]?(d?n(b).empty=!1:n(b).unusedTokens.push(f),da(f,d,b)):b._strict&&!d&&n(b).unusedTokens.push(f);n(b).charsLeftOver=i-j,h.length>0&&n(b).unusedInput.push(h),b._a[gf]<=12&&n(b).bigHour===!0&&b._a[gf]>0&&(n(b).bigHour=void 0),n(b).parsedDateParts=b._a.slice(0),n(b).meridiem=b._meridiem,b._a[gf]=mb(b._locale,b._a[gf],b._meridiem),jb(b),db(b)}function mb(a,b,c){var d;return null==c?b:null!=a.meridiemHour?a.meridiemHour(b,c):null!=a.isPM?(d=a.isPM(c),d&&b<12&&(b+=12),d||12!==b||(b=0),b):b}function nb(a){var b,c,d,e,f;if(0===a._f.length)return n(a).invalidFormat=!0,void(a._d=new Date(NaN));for(e=0;e<a._f.length;e++)f=0,b=q({},a),null!=a._useUTC&&(b._useUTC=a._useUTC),b._f=a._f[e],lb(b),o(b)&&(f+=n(b).charsLeftOver,f+=10*n(b).unusedTokens.length,n(b).score=f,(null==d||f<d)&&(d=f,c=b));k(a,c||b)}function ob(a){if(!a._d){var b=L(a._i);a._a=i([b.year,b.month,b.day||b.date,b.hour,b.minute,b.second,b.millisecond],function(a){return a&&parseInt(a,10)}),jb(a)}}function pb(a){var b=new r(db(qb(a)));return b._nextDay&&(b.add(1,"d"),b._nextDay=void 0),b}function qb(a){var b=a._i,d=a._f;return a._locale=a._locale||bb(a._l),null===b||void 0===d&&""===b?p({nullInput:!0}):("string"==typeof b&&(a._i=b=a._locale.preparse(b)),s(b)?new r(db(b)):(h(b)?a._d=b:c(d)?nb(a):d?lb(a):rb(a),o(a)||(a._d=null),a))}function rb(b){var e=b._i;f(e)?b._d=new Date(a.now()):h(e)?b._d=new Date(e.valueOf()):"string"==typeof e?gb(b):c(e)?(b._a=i(e.slice(0),function(a){return parseInt(a,10)}),jb(b)):d(e)?ob(b):g(e)?b._d=new Date(e):a.createFromInputFallback(b)}function sb(a,b,f,g,h){var i={};return f!==!0&&f!==!1||(g=f,f=void 0),(d(a)&&e(a)||c(a)&&0===a.length)&&(a=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=h,i._l=f,i._i=a,i._f=b,i._strict=g,pb(i)}function tb(a,b,c,d){return sb(a,b,c,d,!1)}function ub(a,b){var d,e;if(1===b.length&&c(b[0])&&(b=b[0]),!b.length)return tb();for(d=b[0],e=1;e<b.length;++e)b[e].isValid()&&!b[e][a](d)||(d=b[e]);return d}function vb(){var a=[].slice.call(arguments,0);return ub("isBefore",a)}function wb(){var a=[].slice.call(arguments,0);return ub("isAfter",a)}function xb(a){for(var b in a)if(Rf.indexOf(b)===-1||null!=a[b]&&isNaN(a[b]))return!1;for(var c=!1,d=0;d<Rf.length;++d)if(a[Rf[d]]){if(c)return!1;parseFloat(a[Rf[d]])!==u(a[Rf[d]])&&(c=!0)}return!0}function yb(){return this._isValid}function zb(){return Sb(NaN)}function Ab(a){var b=L(a),c=b.year||0,d=b.quarter||0,e=b.month||0,f=b.week||0,g=b.day||0,h=b.hour||0,i=b.minute||0,j=b.second||0,k=b.millisecond||0;this._isValid=xb(b),this._milliseconds=+k+1e3*j+6e4*i+1e3*h*60*60,this._days=+g+7*f,this._months=+e+3*d+12*c,this._data={},this._locale=bb(),this._bubble()}function Bb(a){return a instanceof Ab}function Cb(a){return a<0?Math.round(-1*a)*-1:Math.round(a)}function Db(a,b){U(a,0,0,function(){var a=this.utcOffset(),c="+";return a<0&&(a=-a,c="-"),c+T(~~(a/60),2)+b+T(~~a%60,2)})}function Eb(a,b){var c=(b||"").match(a);if(null===c)return null;var d=c[c.length-1]||[],e=(d+"").match(Sf)||["-",0,0],f=+(60*e[1])+u(e[2]);return 0===f?0:"+"===e[0]?f:-f}function Fb(b,c){var d,e;return c._isUTC?(d=c.clone(),e=(s(b)||h(b)?b.valueOf():tb(b).valueOf())-d.valueOf(),d._d.setTime(d._d.valueOf()+e),a.updateOffset(d,!1),d):tb(b).local()}function Gb(a){return 15*-Math.round(a._d.getTimezoneOffset()/15)}function Hb(b,c,d){var e,f=this._offset||0;if(!this.isValid())return null!=b?this:NaN;if(null!=b){if("string"==typeof b){if(b=Eb($e,b),null===b)return this}else Math.abs(b)<16&&!d&&(b=60*b);return!this._isUTC&&c&&(e=Gb(this)),this._offset=b,this._isUTC=!0,null!=e&&this.add(e,"m"),f!==b&&(!c||this._changeInProgress?Xb(this,Sb(b-f,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,a.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?f:Gb(this)}function Ib(a,b){return null!=a?("string"!=typeof a&&(a=-a),this.utcOffset(a,b),this):-this.utcOffset()}function Jb(a){return this.utcOffset(0,a)}function Kb(a){return this._isUTC&&(this.utcOffset(0,a),this._isUTC=!1,a&&this.subtract(Gb(this),"m")),this}function Lb(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var a=Eb(Ze,this._i);null!=a?this.utcOffset(a):this.utcOffset(0,!0)}return this}function Mb(a){return!!this.isValid()&&(a=a?tb(a).utcOffset():0,(this.utcOffset()-a)%60===0)}function Nb(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Ob(){if(!f(this._isDSTShifted))return this._isDSTShifted;var a={};if(q(a,this),a=qb(a),a._a){var b=a._isUTC?l(a._a):tb(a._a);this._isDSTShifted=this.isValid()&&v(a._a,b.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Pb(){return!!this.isValid()&&!this._isUTC}function Qb(){return!!this.isValid()&&this._isUTC}function Rb(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Sb(a,b){var c,d,e,f=a,h=null;return Bb(a)?f={ms:a._milliseconds,d:a._days,M:a._months}:g(a)?(f={},b?f[b]=a:f.milliseconds=a):(h=Tf.exec(a))?(c="-"===h[1]?-1:1,f={y:0,d:u(h[ff])*c,h:u(h[gf])*c,m:u(h[hf])*c,s:u(h[jf])*c,ms:u(Cb(1e3*h[kf]))*c}):(h=Uf.exec(a))?(c="-"===h[1]?-1:1,f={y:Tb(h[2],c),M:Tb(h[3],c),w:Tb(h[4],c),d:Tb(h[5],c),h:Tb(h[6],c),m:Tb(h[7],c),s:Tb(h[8],c)}):null==f?f={}:"object"==typeof f&&("from"in f||"to"in f)&&(e=Vb(tb(f.from),tb(f.to)),f={},f.ms=e.milliseconds,f.M=e.months),d=new Ab(f),Bb(a)&&j(a,"_locale")&&(d._locale=a._locale),d}function Tb(a,b){var c=a&&parseFloat(a.replace(",","."));return(isNaN(c)?0:c)*b}function Ub(a,b){var c={milliseconds:0,months:0};return c.months=b.month()-a.month()+12*(b.year()-a.year()),a.clone().add(c.months,"M").isAfter(b)&&--c.months,c.milliseconds=+b-+a.clone().add(c.months,"M"),c}function Vb(a,b){var c;return a.isValid()&&b.isValid()?(b=Fb(b,a),a.isBefore(b)?c=Ub(a,b):(c=Ub(b,a),c.milliseconds=-c.milliseconds,c.months=-c.months),c):{milliseconds:0,months:0}}function Wb(a,b){return function(c,d){var e,f;return null===d||isNaN(+d)||(y(b,"moment()."+b+"(period, number) is deprecated. Please use moment()."+b+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),f=c,c=d,d=f),c="string"==typeof c?+c:c,e=Sb(c,d),Xb(this,e,a),this}}function Xb(b,c,d,e){var f=c._milliseconds,g=Cb(c._days),h=Cb(c._months);b.isValid()&&(e=null==e||e,f&&b._d.setTime(b._d.valueOf()+f*d),g&&Q(b,"Date",P(b,"Date")+g*d),h&&ja(b,P(b,"Month")+h*d),e&&a.updateOffset(b,g||h))}function Yb(a,b){var c=a.diff(b,"days",!0);return c<-6?"sameElse":c<-1?"lastWeek":c<0?"lastDay":c<1?"sameDay":c<2?"nextDay":c<7?"nextWeek":"sameElse"}function Zb(b,c){var d=b||tb(),e=Fb(d,this).startOf("day"),f=a.calendarFormat(this,e)||"sameElse",g=c&&(z(c[f])?c[f].call(this,d):c[f]);return this.format(g||this.localeData().calendar(f,this,tb(d)))}function $b(){return new r(this)}function _b(a,b){var c=s(a)?a:tb(a);return!(!this.isValid()||!c.isValid())&&(b=K(f(b)?"millisecond":b),"millisecond"===b?this.valueOf()>c.valueOf():c.valueOf()<this.clone().startOf(b).valueOf())}function ac(a,b){var c=s(a)?a:tb(a);return!(!this.isValid()||!c.isValid())&&(b=K(f(b)?"millisecond":b),"millisecond"===b?this.valueOf()<c.valueOf():this.clone().endOf(b).valueOf()<c.valueOf())}function bc(a,b,c,d){return d=d||"()",("("===d[0]?this.isAfter(a,c):!this.isBefore(a,c))&&(")"===d[1]?this.isBefore(b,c):!this.isAfter(b,c))}function cc(a,b){var c,d=s(a)?a:tb(a);return!(!this.isValid()||!d.isValid())&&(b=K(b||"millisecond"),"millisecond"===b?this.valueOf()===d.valueOf():(c=d.valueOf(),this.clone().startOf(b).valueOf()<=c&&c<=this.clone().endOf(b).valueOf()))}function dc(a,b){return this.isSame(a,b)||this.isAfter(a,b)}function ec(a,b){return this.isSame(a,b)||this.isBefore(a,b)}function fc(a,b,c){var d,e,f,g;return this.isValid()?(d=Fb(a,this),d.isValid()?(e=6e4*(d.utcOffset()-this.utcOffset()),b=K(b),"year"===b||"month"===b||"quarter"===b?(g=gc(this,d),"quarter"===b?g/=3:"year"===b&&(g/=12)):(f=this-d,g="second"===b?f/1e3:"minute"===b?f/6e4:"hour"===b?f/36e5:"day"===b?(f-e)/864e5:"week"===b?(f-e)/6048e5:f),c?g:t(g)):NaN):NaN}function gc(a,b){var c,d,e=12*(b.year()-a.year())+(b.month()-a.month()),f=a.clone().add(e,"months");return b-f<0?(c=a.clone().add(e-1,"months"),d=(b-f)/(f-c)):(c=a.clone().add(e+1,"months"),d=(b-f)/(c-f)),-(e+d)||0}function hc(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function ic(){if(!this.isValid())return null;var a=this.clone().utc();return a.year()<0||a.year()>9999?X(a,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):z(Date.prototype.toISOString)?this.toDate().toISOString():X(a,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function jc(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var a="moment",b="";this.isLocal()||(a=0===this.utcOffset()?"moment.utc":"moment.parseZone",b="Z");var c="["+a+'("]',d=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",e="-MM-DD[T]HH:mm:ss.SSS",f=b+'[")]';return this.format(c+d+e+f)}function kc(b){b||(b=this.isUtc()?a.defaultFormatUtc:a.defaultFormat);var c=X(this,b);return this.localeData().postformat(c)}function lc(a,b){return this.isValid()&&(s(a)&&a.isValid()||tb(a).isValid())?Sb({to:this,from:a}).locale(this.locale()).humanize(!b):this.localeData().invalidDate()}function mc(a){return this.from(tb(),a)}function nc(a,b){return this.isValid()&&(s(a)&&a.isValid()||tb(a).isValid())?Sb({from:this,to:a}).locale(this.locale()).humanize(!b):this.localeData().invalidDate()}function oc(a){return this.to(tb(),a)}function pc(a){var b;return void 0===a?this._locale._abbr:(b=bb(a),null!=b&&(this._locale=b),this)}function qc(){return this._locale}function rc(a){switch(a=K(a)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===a&&this.weekday(0),"isoWeek"===a&&this.isoWeekday(1),"quarter"===a&&this.month(3*Math.floor(this.month()/3)),this}function sc(a){return a=K(a),void 0===a||"millisecond"===a?this:("date"===a&&(a="day"),this.startOf(a).add(1,"isoWeek"===a?"week":a).subtract(1,"ms"))}function tc(){return this._d.valueOf()-6e4*(this._offset||0)}function uc(){return Math.floor(this.valueOf()/1e3)}function vc(){return new Date(this.valueOf())}function wc(){var a=this;return[a.year(),a.month(),a.date(),a.hour(),a.minute(),a.second(),a.millisecond()]}function xc(){var a=this;return{years:a.year(),months:a.month(),date:a.date(),hours:a.hours(),minutes:a.minutes(),seconds:a.seconds(),milliseconds:a.milliseconds()}}function yc(){return this.isValid()?this.toISOString():null}function zc(){return o(this)}function Ac(){ | |
1 | return k({},n(this))}function Bc(){return n(this).overflow}function Cc(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Dc(a,b){U(0,[a,a.length],0,b)}function Ec(a){return Ic.call(this,a,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Fc(a){return Ic.call(this,a,this.isoWeek(),this.isoWeekday(),1,4)}function Gc(){return xa(this.year(),1,4)}function Hc(){var a=this.localeData()._week;return xa(this.year(),a.dow,a.doy)}function Ic(a,b,c,d,e){var f;return null==a?wa(this,d,e).year:(f=xa(a,d,e),b>f&&(b=f),Jc.call(this,a,b,c,d,e))}function Jc(a,b,c,d,e){var f=va(a,b,c,d,e),g=ta(f.year,0,f.dayOfYear);return this.year(g.getUTCFullYear()),this.month(g.getUTCMonth()),this.date(g.getUTCDate()),this}function Kc(a){return null==a?Math.ceil((this.month()+1)/3):this.month(3*(a-1)+this.month()%3)}function Lc(a){var b=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==a?b:this.add(a-b,"d")}function Mc(a,b){b[kf]=u(1e3*("0."+a))}function Nc(){return this._isUTC?"UTC":""}function Oc(){return this._isUTC?"Coordinated Universal Time":""}function Pc(a){return tb(1e3*a)}function Qc(){return tb.apply(null,arguments).parseZone()}function Rc(a){return a}function Sc(a,b,c,d){var e=bb(),f=l().set(d,b);return e[c](f,a)}function Tc(a,b,c){if(g(a)&&(b=a,a=void 0),a=a||"",null!=b)return Sc(a,b,c,"month");var d,e=[];for(d=0;d<12;d++)e[d]=Sc(a,d,c,"month");return e}function Uc(a,b,c,d){"boolean"==typeof a?(g(b)&&(c=b,b=void 0),b=b||""):(b=a,c=b,a=!1,g(b)&&(c=b,b=void 0),b=b||"");var e=bb(),f=a?e._week.dow:0;if(null!=c)return Sc(b,(c+f)%7,d,"day");var h,i=[];for(h=0;h<7;h++)i[h]=Sc(b,(h+f)%7,d,"day");return i}function Vc(a,b){return Tc(a,b,"months")}function Wc(a,b){return Tc(a,b,"monthsShort")}function Xc(a,b,c){return Uc(a,b,c,"weekdays")}function Yc(a,b,c){return Uc(a,b,c,"weekdaysShort")}function Zc(a,b,c){return Uc(a,b,c,"weekdaysMin")}function $c(){var a=this._data;return this._milliseconds=dg(this._milliseconds),this._days=dg(this._days),this._months=dg(this._months),a.milliseconds=dg(a.milliseconds),a.seconds=dg(a.seconds),a.minutes=dg(a.minutes),a.hours=dg(a.hours),a.months=dg(a.months),a.years=dg(a.years),this}function _c(a,b,c,d){var e=Sb(b,c);return a._milliseconds+=d*e._milliseconds,a._days+=d*e._days,a._months+=d*e._months,a._bubble()}function ad(a,b){return _c(this,a,b,1)}function bd(a,b){return _c(this,a,b,-1)}function cd(a){return a<0?Math.floor(a):Math.ceil(a)}function dd(){var a,b,c,d,e,f=this._milliseconds,g=this._days,h=this._months,i=this._data;return f>=0&&g>=0&&h>=0||f<=0&&g<=0&&h<=0||(f+=864e5*cd(fd(h)+g),g=0,h=0),i.milliseconds=f%1e3,a=t(f/1e3),i.seconds=a%60,b=t(a/60),i.minutes=b%60,c=t(b/60),i.hours=c%24,g+=t(c/24),e=t(ed(g)),h+=e,g-=cd(fd(e)),d=t(h/12),h%=12,i.days=g,i.months=h,i.years=d,this}function ed(a){return 4800*a/146097}function fd(a){return 146097*a/4800}function gd(a){if(!this.isValid())return NaN;var b,c,d=this._milliseconds;if(a=K(a),"month"===a||"year"===a)return b=this._days+d/864e5,c=this._months+ed(b),"month"===a?c:c/12;switch(b=this._days+Math.round(fd(this._months)),a){case"week":return b/7+d/6048e5;case"day":return b+d/864e5;case"hour":return 24*b+d/36e5;case"minute":return 1440*b+d/6e4;case"second":return 86400*b+d/1e3;case"millisecond":return Math.floor(864e5*b)+d;default:throw new Error("Unknown unit "+a)}}function hd(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*u(this._months/12):NaN}function id(a){return function(){return this.as(a)}}function jd(a){return a=K(a),this.isValid()?this[a+"s"]():NaN}function kd(a){return function(){return this.isValid()?this._data[a]:NaN}}function ld(){return t(this.days()/7)}function md(a,b,c,d,e){return e.relativeTime(b||1,!!c,a,d)}function nd(a,b,c){var d=Sb(a).abs(),e=tg(d.as("s")),f=tg(d.as("m")),g=tg(d.as("h")),h=tg(d.as("d")),i=tg(d.as("M")),j=tg(d.as("y")),k=e<=ug.ss&&["s",e]||e<ug.s&&["ss",e]||f<=1&&["m"]||f<ug.m&&["mm",f]||g<=1&&["h"]||g<ug.h&&["hh",g]||h<=1&&["d"]||h<ug.d&&["dd",h]||i<=1&&["M"]||i<ug.M&&["MM",i]||j<=1&&["y"]||["yy",j];return k[2]=b,k[3]=+a>0,k[4]=c,md.apply(null,k)}function od(a){return void 0===a?tg:"function"==typeof a&&(tg=a,!0)}function pd(a,b){return void 0!==ug[a]&&(void 0===b?ug[a]:(ug[a]=b,"s"===a&&(ug.ss=b-1),!0))}function qd(a){if(!this.isValid())return this.localeData().invalidDate();var b=this.localeData(),c=nd(this,!a,b);return a&&(c=b.pastFuture(+this,c)),b.postformat(c)}function rd(){if(!this.isValid())return this.localeData().invalidDate();var a,b,c,d=vg(this._milliseconds)/1e3,e=vg(this._days),f=vg(this._months);a=t(d/60),b=t(a/60),d%=60,a%=60,c=t(f/12),f%=12;var g=c,h=f,i=e,j=b,k=a,l=d,m=this.asSeconds();return m?(m<0?"-":"")+"P"+(g?g+"Y":"")+(h?h+"M":"")+(i?i+"D":"")+(j||k||l?"T":"")+(j?j+"H":"")+(k?k+"M":"")+(l?l+"S":""):"P0D"} | |
2 | //! moment.js locale configuration | |
3 | //! locale : Belarusian [be] | |
4 | //! author : Dmitry Demidov : https://github.com/demidov91 | |
5 | //! author: Praleska: http://praleska.pro/ | |
6 | //! Author : Menelion Elensúle : https://github.com/Oire | |
7 | function sd(a,b){var c=a.split("_");return b%10===1&&b%100!==11?c[0]:b%10>=2&&b%10<=4&&(b%100<10||b%100>=20)?c[1]:c[2]}function td(a,b,c){var d={mm:b?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:b?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"};return"m"===c?b?"хвіліна":"хвіліну":"h"===c?b?"гадзіна":"гадзіну":a+" "+sd(d[c],+a)} | |
8 | //! moment.js locale configuration | |
9 | //! locale : Breton [br] | |
10 | //! author : Jean-Baptiste Le Duigou : https://github.com/jbleduigou | |
11 | function ud(a,b,c){var d={mm:"munutenn",MM:"miz",dd:"devezh"};return a+" "+xd(d[c],a)}function vd(a){switch(wd(a)){case 1:case 3:case 4:case 5:case 9:return a+" bloaz";default:return a+" vloaz"}}function wd(a){return a>9?wd(a%10):a}function xd(a,b){return 2===b?yd(a):a}function yd(a){var b={m:"v",b:"v",d:"z"};return void 0===b[a.charAt(0)]?a:b[a.charAt(0)]+a.substring(1)} | |
12 | //! moment.js locale configuration | |
13 | //! locale : Bosnian [bs] | |
14 | //! author : Nedim Cholich : https://github.com/frontyard | |
15 | //! based on (hr) translation by Bojan Marković | |
16 | function zd(a,b,c){var d=a+" ";switch(c){case"m":return b?"jedna minuta":"jedne minute";case"mm":return d+=1===a?"minuta":2===a||3===a||4===a?"minute":"minuta";case"h":return b?"jedan sat":"jednog sata";case"hh":return d+=1===a?"sat":2===a||3===a||4===a?"sata":"sati";case"dd":return d+=1===a?"dan":"dana";case"MM":return d+=1===a?"mjesec":2===a||3===a||4===a?"mjeseca":"mjeseci";case"yy":return d+=1===a?"godina":2===a||3===a||4===a?"godine":"godina"}}function Ad(a){return a>1&&a<5&&1!==~~(a/10)}function Bd(a,b,c,d){var e=a+" ";switch(c){case"s":return b||d?"pár sekund":"pár sekundami";case"m":return b?"minuta":d?"minutu":"minutou";case"mm":return b||d?e+(Ad(a)?"minuty":"minut"):e+"minutami";break;case"h":return b?"hodina":d?"hodinu":"hodinou";case"hh":return b||d?e+(Ad(a)?"hodiny":"hodin"):e+"hodinami";break;case"d":return b||d?"den":"dnem";case"dd":return b||d?e+(Ad(a)?"dny":"dní"):e+"dny";break;case"M":return b||d?"měsíc":"měsícem";case"MM":return b||d?e+(Ad(a)?"měsíce":"měsíců"):e+"měsíci";break;case"y":return b||d?"rok":"rokem";case"yy":return b||d?e+(Ad(a)?"roky":"let"):e+"lety"}} | |
17 | //! moment.js locale configuration | |
18 | //! locale : German (Austria) [de-at] | |
19 | //! author : lluchs : https://github.com/lluchs | |
20 | //! author: Menelion Elensúle: https://github.com/Oire | |
21 | //! author : Martin Groller : https://github.com/MadMG | |
22 | //! author : Mikolaj Dadela : https://github.com/mik01aj | |
23 | function Cd(a,b,c,d){var e={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[a+" Tage",a+" Tagen"],M:["ein Monat","einem Monat"],MM:[a+" Monate",a+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[a+" Jahre",a+" Jahren"]};return b?e[c][0]:e[c][1]} | |
24 | //! moment.js locale configuration | |
25 | //! locale : German (Switzerland) [de-ch] | |
26 | //! author : sschueller : https://github.com/sschueller | |
27 | function Dd(a,b,c,d){var e={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[a+" Tage",a+" Tagen"],M:["ein Monat","einem Monat"],MM:[a+" Monate",a+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[a+" Jahre",a+" Jahren"]};return b?e[c][0]:e[c][1]} | |
28 | //! moment.js locale configuration | |
29 | //! locale : German [de] | |
30 | //! author : lluchs : https://github.com/lluchs | |
31 | //! author: Menelion Elensúle: https://github.com/Oire | |
32 | //! author : Mikolaj Dadela : https://github.com/mik01aj | |
33 | function Ed(a,b,c,d){var e={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[a+" Tage",a+" Tagen"],M:["ein Monat","einem Monat"],MM:[a+" Monate",a+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[a+" Jahre",a+" Jahren"]};return b?e[c][0]:e[c][1]} | |
34 | //! moment.js locale configuration | |
35 | //! locale : Estonian [et] | |
36 | //! author : Henry Kehlmann : https://github.com/madhenry | |
37 | //! improvements : Illimar Tambek : https://github.com/ragulka | |
38 | function Fd(a,b,c,d){var e={s:["mõne sekundi","mõni sekund","paar sekundit"],m:["ühe minuti","üks minut"],mm:[a+" minuti",a+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[a+" tunni",a+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[a+" kuu",a+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[a+" aasta",a+" aastat"]};return b?e[c][2]?e[c][2]:e[c][1]:d?e[c][0]:e[c][1]}function Gd(a,b,c,d){var e="";switch(c){case"s":return d?"muutaman sekunnin":"muutama sekunti";case"m":return d?"minuutin":"minuutti";case"mm":e=d?"minuutin":"minuuttia";break;case"h":return d?"tunnin":"tunti";case"hh":e=d?"tunnin":"tuntia";break;case"d":return d?"päivän":"päivä";case"dd":e=d?"päivän":"päivää";break;case"M":return d?"kuukauden":"kuukausi";case"MM":e=d?"kuukauden":"kuukautta";break;case"y":return d?"vuoden":"vuosi";case"yy":e=d?"vuoden":"vuotta"}return e=Hd(a,d)+" "+e}function Hd(a,b){return a<10?b?$g[a]:Zg[a]:a} | |
39 | //! moment.js locale configuration | |
40 | //! locale : Konkani Latin script [gom-latn] | |
41 | //! author : The Discoverer : https://github.com/WikiDiscoverer | |
42 | function Id(a,b,c,d){var e={s:["thodde secondanim","thodde second"],m:["eka mintan","ek minute"],mm:[a+" mintanim",a+" mintam"],h:["eka horan","ek hor"],hh:[a+" horanim",a+" hor"],d:["eka disan","ek dis"],dd:[a+" disanim",a+" dis"],M:["eka mhoinean","ek mhoino"],MM:[a+" mhoineanim",a+" mhoine"],y:["eka vorsan","ek voros"],yy:[a+" vorsanim",a+" vorsam"]};return b?e[c][0]:e[c][1]} | |
43 | //! moment.js locale configuration | |
44 | //! locale : Croatian [hr] | |
45 | //! author : Bojan Marković : https://github.com/bmarkovic | |
46 | function Jd(a,b,c){var d=a+" ";switch(c){case"m":return b?"jedna minuta":"jedne minute";case"mm":return d+=1===a?"minuta":2===a||3===a||4===a?"minute":"minuta";case"h":return b?"jedan sat":"jednog sata";case"hh":return d+=1===a?"sat":2===a||3===a||4===a?"sata":"sati";case"dd":return d+=1===a?"dan":"dana";case"MM":return d+=1===a?"mjesec":2===a||3===a||4===a?"mjeseca":"mjeseci";case"yy":return d+=1===a?"godina":2===a||3===a||4===a?"godine":"godina"}}function Kd(a,b,c,d){var e=a;switch(c){case"s":return d||b?"néhány másodperc":"néhány másodperce";case"m":return"egy"+(d||b?" perc":" perce");case"mm":return e+(d||b?" perc":" perce");case"h":return"egy"+(d||b?" óra":" órája");case"hh":return e+(d||b?" óra":" órája");case"d":return"egy"+(d||b?" nap":" napja");case"dd":return e+(d||b?" nap":" napja");case"M":return"egy"+(d||b?" hónap":" hónapja");case"MM":return e+(d||b?" hónap":" hónapja");case"y":return"egy"+(d||b?" év":" éve");case"yy":return e+(d||b?" év":" éve")}return""}function Ld(a){return(a?"":"[múlt] ")+"["+ih[this.day()]+"] LT[-kor]"} | |
47 | //! moment.js locale configuration | |
48 | //! locale : Icelandic [is] | |
49 | //! author : Hinrik Örn Sigurðsson : https://github.com/hinrik | |
50 | function Md(a){return a%100===11||a%10!==1}function Nd(a,b,c,d){var e=a+" ";switch(c){case"s":return b||d?"nokkrar sekúndur":"nokkrum sekúndum";case"m":return b?"mínúta":"mínútu";case"mm":return Md(a)?e+(b||d?"mínútur":"mínútum"):b?e+"mínúta":e+"mínútu";case"hh":return Md(a)?e+(b||d?"klukkustundir":"klukkustundum"):e+"klukkustund";case"d":return b?"dagur":d?"dag":"degi";case"dd":return Md(a)?b?e+"dagar":e+(d?"daga":"dögum"):b?e+"dagur":e+(d?"dag":"degi");case"M":return b?"mánuður":d?"mánuð":"mánuði";case"MM":return Md(a)?b?e+"mánuðir":e+(d?"mánuði":"mánuðum"):b?e+"mánuður":e+(d?"mánuð":"mánuði");case"y":return b||d?"ár":"ári";case"yy":return Md(a)?e+(b||d?"ár":"árum"):e+(b||d?"ár":"ári")}} | |
51 | //! moment.js locale configuration | |
52 | //! locale : Luxembourgish [lb] | |
53 | //! author : mweimerskirch : https://github.com/mweimerskirch | |
54 | //! author : David Raison : https://github.com/kwisatz | |
55 | function Od(a,b,c,d){var e={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return b?e[c][0]:e[c][1]}function Pd(a){var b=a.substr(0,a.indexOf(" "));return Rd(b)?"a "+a:"an "+a}function Qd(a){var b=a.substr(0,a.indexOf(" "));return Rd(b)?"viru "+a:"virun "+a}function Rd(a){if(a=parseInt(a,10),isNaN(a))return!1;if(a<0)return!0;if(a<10)return 4<=a&&a<=7;if(a<100){var b=a%10,c=a/10;return Rd(0===b?c:b)}if(a<1e4){for(;a>=10;)a/=10;return Rd(a)}return a/=1e3,Rd(a)}function Sd(a,b,c,d){return b?"kelios sekundės":d?"kelių sekundžių":"kelias sekundes"}function Td(a,b,c,d){return b?Vd(c)[0]:d?Vd(c)[1]:Vd(c)[2]}function Ud(a){return a%10===0||a>10&&a<20}function Vd(a){return nh[a].split("_")}function Wd(a,b,c,d){var e=a+" ";return 1===a?e+Td(a,b,c[0],d):b?e+(Ud(a)?Vd(c)[1]:Vd(c)[0]):d?e+Vd(c)[1]:e+(Ud(a)?Vd(c)[1]:Vd(c)[2])}function Xd(a,b,c){return c?b%10===1&&b%100!==11?a[2]:a[3]:b%10===1&&b%100!==11?a[0]:a[1]}function Yd(a,b,c){return a+" "+Xd(oh[c],a,b)}function Zd(a,b,c){return Xd(oh[c],a,b)}function $d(a,b){return b?"dažas sekundes":"dažām sekundēm"}function _d(a,b,c,d){var e="";if(b)switch(c){case"s":e="काही सेकंद";break;case"m":e="एक मिनिट";break;case"mm":e="%d मिनिटे";break;case"h":e="एक तास";break;case"hh":e="%d तास";break;case"d":e="एक दिवस";break;case"dd":e="%d दिवस";break;case"M":e="एक महिना";break;case"MM":e="%d महिने";break;case"y":e="एक वर्ष";break;case"yy":e="%d वर्षे"}else switch(c){case"s":e="काही सेकंदां";break;case"m":e="एका मिनिटा";break;case"mm":e="%d मिनिटां";break;case"h":e="एका तासा";break;case"hh":e="%d तासां";break;case"d":e="एका दिवसा";break;case"dd":e="%d दिवसां";break;case"M":e="एका महिन्या";break;case"MM":e="%d महिन्यां";break;case"y":e="एका वर्षा";break;case"yy":e="%d वर्षां"}return e.replace(/%d/i,a)}function ae(a){return a%10<5&&a%10>1&&~~(a/10)%10!==1}function be(a,b,c){var d=a+" ";switch(c){case"m":return b?"minuta":"minutę";case"mm":return d+(ae(a)?"minuty":"minut");case"h":return b?"godzina":"godzinę";case"hh":return d+(ae(a)?"godziny":"godzin");case"MM":return d+(ae(a)?"miesiące":"miesięcy");case"yy":return d+(ae(a)?"lata":"lat")}} | |
56 | //! moment.js locale configuration | |
57 | //! locale : Romanian [ro] | |
58 | //! author : Vlad Gurdiga : https://github.com/gurdiga | |
59 | //! author : Valentin Agachi : https://github.com/avaly | |
60 | function ce(a,b,c){var d={mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"},e=" ";return(a%100>=20||a>=100&&a%100===0)&&(e=" de "),a+e+d[c]} | |
61 | //! moment.js locale configuration | |
62 | //! locale : Russian [ru] | |
63 | //! author : Viktorminator : https://github.com/Viktorminator | |
64 | //! Author : Menelion Elensúle : https://github.com/Oire | |
65 | //! author : Коренберг Марк : https://github.com/socketpair | |
66 | function de(a,b){var c=a.split("_");return b%10===1&&b%100!==11?c[0]:b%10>=2&&b%10<=4&&(b%100<10||b%100>=20)?c[1]:c[2]}function ee(a,b,c){var d={mm:b?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"};return"m"===c?b?"минута":"минуту":a+" "+de(d[c],+a)}function fe(a){return a>1&&a<5}function ge(a,b,c,d){var e=a+" ";switch(c){case"s":return b||d?"pár sekúnd":"pár sekundami";case"m":return b?"minúta":d?"minútu":"minútou";case"mm":return b||d?e+(fe(a)?"minúty":"minút"):e+"minútami";break;case"h":return b?"hodina":d?"hodinu":"hodinou";case"hh":return b||d?e+(fe(a)?"hodiny":"hodín"):e+"hodinami";break;case"d":return b||d?"deň":"dňom";case"dd":return b||d?e+(fe(a)?"dni":"dní"):e+"dňami";break;case"M":return b||d?"mesiac":"mesiacom";case"MM":return b||d?e+(fe(a)?"mesiace":"mesiacov"):e+"mesiacmi";break;case"y":return b||d?"rok":"rokom";case"yy":return b||d?e+(fe(a)?"roky":"rokov"):e+"rokmi"}} | |
67 | //! moment.js locale configuration | |
68 | //! locale : Slovenian [sl] | |
69 | //! author : Robert Sedovšek : https://github.com/sedovsek | |
70 | function he(a,b,c,d){var e=a+" ";switch(c){case"s":return b||d?"nekaj sekund":"nekaj sekundami";case"m":return b?"ena minuta":"eno minuto";case"mm":return e+=1===a?b?"minuta":"minuto":2===a?b||d?"minuti":"minutama":a<5?b||d?"minute":"minutami":b||d?"minut":"minutami";case"h":return b?"ena ura":"eno uro";case"hh":return e+=1===a?b?"ura":"uro":2===a?b||d?"uri":"urama":a<5?b||d?"ure":"urami":b||d?"ur":"urami";case"d":return b||d?"en dan":"enim dnem";case"dd":return e+=1===a?b||d?"dan":"dnem":2===a?b||d?"dni":"dnevoma":b||d?"dni":"dnevi";case"M":return b||d?"en mesec":"enim mesecem";case"MM":return e+=1===a?b||d?"mesec":"mesecem":2===a?b||d?"meseca":"mesecema":a<5?b||d?"mesece":"meseci":b||d?"mesecev":"meseci";case"y":return b||d?"eno leto":"enim letom";case"yy":return e+=1===a?b||d?"leto":"letom":2===a?b||d?"leti":"letoma":a<5?b||d?"leta":"leti":b||d?"let":"leti"}}function ie(a){var b=a;return b=a.indexOf("jaj")!==-1?b.slice(0,-3)+"leS":a.indexOf("jar")!==-1?b.slice(0,-3)+"waQ":a.indexOf("DIS")!==-1?b.slice(0,-3)+"nem":b+" pIq"}function je(a){var b=a;return b=a.indexOf("jaj")!==-1?b.slice(0,-3)+"Hu’":a.indexOf("jar")!==-1?b.slice(0,-3)+"wen":a.indexOf("DIS")!==-1?b.slice(0,-3)+"ben":b+" ret"}function ke(a,b,c,d){var e=le(a);switch(c){case"mm":return e+" tup";case"hh":return e+" rep";case"dd":return e+" jaj";case"MM":return e+" jar";case"yy":return e+" DIS"}}function le(a){var b=Math.floor(a%1e3/100),c=Math.floor(a%100/10),d=a%10,e="";return b>0&&(e+=Rh[b]+"vatlh"),c>0&&(e+=(""!==e?" ":"")+Rh[c]+"maH"),d>0&&(e+=(""!==e?" ":"")+Rh[d]),""===e?"pagh":e}function me(a,b,c,d){var e={s:["viensas secunds","'iensas secunds"],m:["'n míut","'iens míut"],mm:[a+" míuts",""+a+" míuts"],h:["'n þora","'iensa þora"],hh:[a+" þoras",""+a+" þoras"],d:["'n ziua","'iensa ziua"],dd:[a+" ziuas",""+a+" ziuas"],M:["'n mes","'iens mes"],MM:[a+" mesen",""+a+" mesen"],y:["'n ar","'iens ar"],yy:[a+" ars",""+a+" ars"]};return d?e[c][0]:b?e[c][0]:e[c][1]} | |
71 | //! moment.js locale configuration | |
72 | //! locale : Ukrainian [uk] | |
73 | //! author : zemlanin : https://github.com/zemlanin | |
74 | //! Author : Menelion Elensúle : https://github.com/Oire | |
75 | function ne(a,b){var c=a.split("_");return b%10===1&&b%100!==11?c[0]:b%10>=2&&b%10<=4&&(b%100<10||b%100>=20)?c[1]:c[2]}function oe(a,b,c){var d={mm:b?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:b?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};return"m"===c?b?"хвилина":"хвилину":"h"===c?b?"година":"годину":a+" "+ne(d[c],+a)}function pe(a,b){var c={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};if(!a)return c.nominative;var d=/(\[[ВвУу]\]) ?dddd/.test(b)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(b)?"genitive":"nominative";return c[d][a.day()]}function qe(a){return function(){return a+"о"+(11===this.hours()?"б":"")+"] LT"}}var re,se;se=Array.prototype.some?Array.prototype.some:function(a){for(var b=Object(this),c=b.length>>>0,d=0;d<c;d++)if(d in b&&a.call(this,b[d],d,b))return!0;return!1};var te=se,ue=a.momentProperties=[],ve=!1,we={};a.suppressDeprecationWarnings=!1,a.deprecationHandler=null;var xe;xe=Object.keys?Object.keys:function(a){var b,c=[];for(b in a)j(a,b)&&c.push(b);return c};var ye,ze=xe,Ae={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Be={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Ce="Invalid date",De="%d",Ee=/\d{1,2}/,Fe={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Ge={},He={},Ie=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Je=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Ke={},Le={},Me=/\d/,Ne=/\d\d/,Oe=/\d{3}/,Pe=/\d{4}/,Qe=/[+-]?\d{6}/,Re=/\d\d?/,Se=/\d\d\d\d?/,Te=/\d\d\d\d\d\d?/,Ue=/\d{1,3}/,Ve=/\d{1,4}/,We=/[+-]?\d{1,6}/,Xe=/\d+/,Ye=/[+-]?\d+/,Ze=/Z|[+-]\d\d:?\d\d/gi,$e=/Z|[+-]\d\d(?::?\d\d)?/gi,_e=/[+-]?\d+(\.\d{1,3})?/,af=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,bf={},cf={},df=0,ef=1,ff=2,gf=3,hf=4,jf=5,kf=6,lf=7,mf=8;ye=Array.prototype.indexOf?Array.prototype.indexOf:function(a){var b;for(b=0;b<this.length;++b)if(this[b]===a)return b;return-1};var nf=ye;U("M",["MM",2],"Mo",function(){return this.month()+1}),U("MMM",0,0,function(a){return this.localeData().monthsShort(this,a)}),U("MMMM",0,0,function(a){return this.localeData().months(this,a)}),J("month","M"),M("month",8),Z("M",Re),Z("MM",Re,Ne),Z("MMM",function(a,b){return b.monthsShortRegex(a)}),Z("MMMM",function(a,b){return b.monthsRegex(a)}),ba(["M","MM"],function(a,b){b[ef]=u(a)-1}),ba(["MMM","MMMM"],function(a,b,c,d){var e=c._locale.monthsParse(a,d,c._strict);null!=e?b[ef]=e:n(c).invalidMonth=a});var of=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,pf="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),qf="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),rf=af,sf=af;U("Y",0,0,function(){var a=this.year();return a<=9999?""+a:"+"+a}),U(0,["YY",2],0,function(){return this.year()%100}),U(0,["YYYY",4],0,"year"),U(0,["YYYYY",5],0,"year"),U(0,["YYYYYY",6,!0],0,"year"),J("year","y"),M("year",1),Z("Y",Ye),Z("YY",Re,Ne),Z("YYYY",Ve,Pe),Z("YYYYY",We,Qe),Z("YYYYYY",We,Qe),ba(["YYYYY","YYYYYY"],df),ba("YYYY",function(b,c){c[df]=2===b.length?a.parseTwoDigitYear(b):u(b)}),ba("YY",function(b,c){c[df]=a.parseTwoDigitYear(b)}),ba("Y",function(a,b){b[df]=parseInt(a,10)}),a.parseTwoDigitYear=function(a){return u(a)+(u(a)>68?1900:2e3)};var tf=O("FullYear",!0);U("w",["ww",2],"wo","week"),U("W",["WW",2],"Wo","isoWeek"),J("week","w"),J("isoWeek","W"),M("week",5),M("isoWeek",5),Z("w",Re),Z("ww",Re,Ne),Z("W",Re),Z("WW",Re,Ne),ca(["w","ww","W","WW"],function(a,b,c,d){b[d.substr(0,1)]=u(a)});var uf={dow:0,doy:6};U("d",0,"do","day"),U("dd",0,0,function(a){return this.localeData().weekdaysMin(this,a)}),U("ddd",0,0,function(a){return this.localeData().weekdaysShort(this,a)}),U("dddd",0,0,function(a){return this.localeData().weekdays(this,a)}),U("e",0,0,"weekday"),U("E",0,0,"isoWeekday"),J("day","d"),J("weekday","e"),J("isoWeekday","E"),M("day",11),M("weekday",11),M("isoWeekday",11),Z("d",Re),Z("e",Re),Z("E",Re),Z("dd",function(a,b){return b.weekdaysMinRegex(a)}),Z("ddd",function(a,b){return b.weekdaysShortRegex(a)}),Z("dddd",function(a,b){return b.weekdaysRegex(a)}),ca(["dd","ddd","dddd"],function(a,b,c,d){var e=c._locale.weekdaysParse(a,d,c._strict);null!=e?b.d=e:n(c).invalidWeekday=a}),ca(["d","e","E"],function(a,b,c,d){b[d]=u(a)});var vf="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),wf="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),xf="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),yf=af,zf=af,Af=af;U("H",["HH",2],0,"hour"),U("h",["hh",2],0,Ra),U("k",["kk",2],0,Sa),U("hmm",0,0,function(){return""+Ra.apply(this)+T(this.minutes(),2)}),U("hmmss",0,0,function(){return""+Ra.apply(this)+T(this.minutes(),2)+T(this.seconds(),2)}),U("Hmm",0,0,function(){return""+this.hours()+T(this.minutes(),2)}),U("Hmmss",0,0,function(){return""+this.hours()+T(this.minutes(),2)+T(this.seconds(),2)}),Ta("a",!0),Ta("A",!1),J("hour","h"),M("hour",13),Z("a",Ua),Z("A",Ua),Z("H",Re),Z("h",Re),Z("k",Re),Z("HH",Re,Ne),Z("hh",Re,Ne),Z("kk",Re,Ne),Z("hmm",Se),Z("hmmss",Te),Z("Hmm",Se),Z("Hmmss",Te),ba(["H","HH"],gf),ba(["k","kk"],function(a,b,c){var d=u(a);b[gf]=24===d?0:d}),ba(["a","A"],function(a,b,c){c._isPm=c._locale.isPM(a),c._meridiem=a}),ba(["h","hh"],function(a,b,c){b[gf]=u(a),n(c).bigHour=!0}),ba("hmm",function(a,b,c){var d=a.length-2;b[gf]=u(a.substr(0,d)),b[hf]=u(a.substr(d)),n(c).bigHour=!0}),ba("hmmss",function(a,b,c){var d=a.length-4,e=a.length-2;b[gf]=u(a.substr(0,d)),b[hf]=u(a.substr(d,2)),b[jf]=u(a.substr(e)),n(c).bigHour=!0}),ba("Hmm",function(a,b,c){var d=a.length-2;b[gf]=u(a.substr(0,d)),b[hf]=u(a.substr(d))}),ba("Hmmss",function(a,b,c){var d=a.length-4,e=a.length-2;b[gf]=u(a.substr(0,d)),b[hf]=u(a.substr(d,2)),b[jf]=u(a.substr(e))});var Bf,Cf=/[ap]\.?m?\.?/i,Df=O("Hours",!0),Ef={calendar:Ae,longDateFormat:Be,invalidDate:Ce,ordinal:De,dayOfMonthOrdinalParse:Ee,relativeTime:Fe,months:pf,monthsShort:qf,week:uf,weekdays:vf,weekdaysMin:xf,weekdaysShort:wf,meridiemParse:Cf},Ff={},Gf={},Hf=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,If=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Jf=/Z|[+-]\d\d(?::?\d\d)?/,Kf=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],Lf=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Mf=/^\/?Date\((\-?\d+)/i,Nf=/^((?:Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d?\d\s(?:Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(?:\d\d)?\d\d\s)(\d\d:\d\d)(\:\d\d)?(\s(?:UT|GMT|[ECMP][SD]T|[A-IK-Za-ik-z]|[+-]\d{4}))$/;a.createFromInputFallback=x("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(a){a._d=new Date(a._i+(a._useUTC?" UTC":""))}),a.ISO_8601=function(){},a.RFC_2822=function(){};var Of=x("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var a=tb.apply(null,arguments);return this.isValid()&&a.isValid()?a<this?this:a:p()}),Pf=x("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var a=tb.apply(null,arguments);return this.isValid()&&a.isValid()?a>this?this:a:p()}),Qf=function(){return Date.now?Date.now():+new Date},Rf=["year","quarter","month","week","day","hour","minute","second","millisecond"];Db("Z",":"),Db("ZZ",""),Z("Z",$e),Z("ZZ",$e),ba(["Z","ZZ"],function(a,b,c){c._useUTC=!0,c._tzm=Eb($e,a)});var Sf=/([\+\-]|\d\d)/gi;a.updateOffset=function(){};var Tf=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Uf=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Sb.fn=Ab.prototype,Sb.invalid=zb;var Vf=Wb(1,"add"),Wf=Wb(-1,"subtract");a.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",a.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Xf=x("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(a){return void 0===a?this.localeData():this.locale(a)});U(0,["gg",2],0,function(){return this.weekYear()%100}),U(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Dc("gggg","weekYear"),Dc("ggggg","weekYear"),Dc("GGGG","isoWeekYear"),Dc("GGGGG","isoWeekYear"),J("weekYear","gg"),J("isoWeekYear","GG"),M("weekYear",1),M("isoWeekYear",1),Z("G",Ye),Z("g",Ye),Z("GG",Re,Ne),Z("gg",Re,Ne),Z("GGGG",Ve,Pe),Z("gggg",Ve,Pe),Z("GGGGG",We,Qe),Z("ggggg",We,Qe),ca(["gggg","ggggg","GGGG","GGGGG"],function(a,b,c,d){b[d.substr(0,2)]=u(a)}),ca(["gg","GG"],function(b,c,d,e){c[e]=a.parseTwoDigitYear(b)}),U("Q",0,"Qo","quarter"),J("quarter","Q"),M("quarter",7),Z("Q",Me),ba("Q",function(a,b){b[ef]=3*(u(a)-1)}),U("D",["DD",2],"Do","date"),J("date","D"),M("date",9),Z("D",Re),Z("DD",Re,Ne),Z("Do",function(a,b){return a?b._dayOfMonthOrdinalParse||b._ordinalParse:b._dayOfMonthOrdinalParseLenient}),ba(["D","DD"],ff),ba("Do",function(a,b){b[ff]=u(a.match(Re)[0],10)});var Yf=O("Date",!0);U("DDD",["DDDD",3],"DDDo","dayOfYear"),J("dayOfYear","DDD"),M("dayOfYear",4),Z("DDD",Ue),Z("DDDD",Oe),ba(["DDD","DDDD"],function(a,b,c){c._dayOfYear=u(a)}),U("m",["mm",2],0,"minute"),J("minute","m"),M("minute",14),Z("m",Re),Z("mm",Re,Ne),ba(["m","mm"],hf);var Zf=O("Minutes",!1);U("s",["ss",2],0,"second"),J("second","s"),M("second",15),Z("s",Re),Z("ss",Re,Ne),ba(["s","ss"],jf);var $f=O("Seconds",!1);U("S",0,0,function(){return~~(this.millisecond()/100)}),U(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),U(0,["SSS",3],0,"millisecond"),U(0,["SSSS",4],0,function(){return 10*this.millisecond()}),U(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),U(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),U(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),U(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),U(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),J("millisecond","ms"),M("millisecond",16),Z("S",Ue,Me),Z("SS",Ue,Ne),Z("SSS",Ue,Oe);var _f;for(_f="SSSS";_f.length<=9;_f+="S")Z(_f,Xe);for(_f="S";_f.length<=9;_f+="S")ba(_f,Mc);var ag=O("Milliseconds",!1);U("z",0,0,"zoneAbbr"),U("zz",0,0,"zoneName");var bg=r.prototype;bg.add=Vf,bg.calendar=Zb,bg.clone=$b,bg.diff=fc,bg.endOf=sc,bg.format=kc,bg.from=lc,bg.fromNow=mc,bg.to=nc,bg.toNow=oc,bg.get=R,bg.invalidAt=Bc,bg.isAfter=_b,bg.isBefore=ac,bg.isBetween=bc,bg.isSame=cc,bg.isSameOrAfter=dc,bg.isSameOrBefore=ec,bg.isValid=zc,bg.lang=Xf,bg.locale=pc,bg.localeData=qc,bg.max=Pf,bg.min=Of,bg.parsingFlags=Ac,bg.set=S,bg.startOf=rc,bg.subtract=Wf,bg.toArray=wc,bg.toObject=xc,bg.toDate=vc,bg.toISOString=ic,bg.inspect=jc,bg.toJSON=yc,bg.toString=hc,bg.unix=uc,bg.valueOf=tc,bg.creationData=Cc,bg.year=tf,bg.isLeapYear=ra,bg.weekYear=Ec,bg.isoWeekYear=Fc,bg.quarter=bg.quarters=Kc,bg.month=ka,bg.daysInMonth=la,bg.week=bg.weeks=Ba,bg.isoWeek=bg.isoWeeks=Ca,bg.weeksInYear=Hc,bg.isoWeeksInYear=Gc,bg.date=Yf,bg.day=bg.days=Ka,bg.weekday=La,bg.isoWeekday=Ma,bg.dayOfYear=Lc,bg.hour=bg.hours=Df,bg.minute=bg.minutes=Zf,bg.second=bg.seconds=$f,bg.millisecond=bg.milliseconds=ag,bg.utcOffset=Hb,bg.utc=Jb,bg.local=Kb,bg.parseZone=Lb,bg.hasAlignedHourOffset=Mb,bg.isDST=Nb,bg.isLocal=Pb,bg.isUtcOffset=Qb,bg.isUtc=Rb,bg.isUTC=Rb,bg.zoneAbbr=Nc,bg.zoneName=Oc,bg.dates=x("dates accessor is deprecated. Use date instead.",Yf),bg.months=x("months accessor is deprecated. Use month instead",ka),bg.years=x("years accessor is deprecated. Use year instead",tf),bg.zone=x("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Ib),bg.isDSTShifted=x("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Ob);var cg=C.prototype;cg.calendar=D,cg.longDateFormat=E,cg.invalidDate=F,cg.ordinal=G,cg.preparse=Rc,cg.postformat=Rc,cg.relativeTime=H,cg.pastFuture=I,cg.set=A,cg.months=fa,cg.monthsShort=ga,cg.monthsParse=ia,cg.monthsRegex=na,cg.monthsShortRegex=ma,cg.week=ya,cg.firstDayOfYear=Aa,cg.firstDayOfWeek=za,cg.weekdays=Fa,cg.weekdaysMin=Ha,cg.weekdaysShort=Ga,cg.weekdaysParse=Ja,cg.weekdaysRegex=Na,cg.weekdaysShortRegex=Oa,cg.weekdaysMinRegex=Pa,cg.isPM=Va,cg.meridiem=Wa,$a("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(a){var b=a%10,c=1===u(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c}}),a.lang=x("moment.lang is deprecated. Use moment.locale instead.",$a),a.langData=x("moment.langData is deprecated. Use moment.localeData instead.",bb);var dg=Math.abs,eg=id("ms"),fg=id("s"),gg=id("m"),hg=id("h"),ig=id("d"),jg=id("w"),kg=id("M"),lg=id("y"),mg=kd("milliseconds"),ng=kd("seconds"),og=kd("minutes"),pg=kd("hours"),qg=kd("days"),rg=kd("months"),sg=kd("years"),tg=Math.round,ug={ss:44,s:45,m:45,h:22,d:26,M:11},vg=Math.abs,wg=Ab.prototype;wg.isValid=yb,wg.abs=$c,wg.add=ad,wg.subtract=bd,wg.as=gd,wg.asMilliseconds=eg,wg.asSeconds=fg,wg.asMinutes=gg,wg.asHours=hg,wg.asDays=ig,wg.asWeeks=jg,wg.asMonths=kg,wg.asYears=lg,wg.valueOf=hd,wg._bubble=dd,wg.get=jd,wg.milliseconds=mg,wg.seconds=ng,wg.minutes=og,wg.hours=pg,wg.days=qg,wg.weeks=ld,wg.months=rg,wg.years=sg,wg.humanize=qd,wg.toISOString=rd,wg.toString=rd,wg.toJSON=rd,wg.locale=pc,wg.localeData=qc,wg.toIsoString=x("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",rd),wg.lang=Xf,U("X",0,0,"unix"),U("x",0,0,"valueOf"),Z("x",Ye),Z("X",_e),ba("X",function(a,b,c){c._d=new Date(1e3*parseFloat(a,10))}),ba("x",function(a,b,c){c._d=new Date(u(a))}), | |
76 | //! moment.js | |
77 | //! version : 2.18.1 | |
78 | //! authors : Tim Wood, Iskren Chernev, Moment.js contributors | |
79 | //! license : MIT | |
80 | //! momentjs.com | |
81 | a.version="2.18.1",b(tb),a.fn=bg,a.min=vb,a.max=wb,a.now=Qf,a.utc=l,a.unix=Pc,a.months=Vc,a.isDate=h,a.locale=$a,a.invalid=p,a.duration=Sb,a.isMoment=s,a.weekdays=Xc,a.parseZone=Qc,a.localeData=bb,a.isDuration=Bb,a.monthsShort=Wc,a.weekdaysMin=Zc,a.defineLocale=_a,a.updateLocale=ab,a.locales=cb,a.weekdaysShort=Yc,a.normalizeUnits=K,a.relativeTimeRounding=od,a.relativeTimeThreshold=pd,a.calendarFormat=Yb,a.prototype=bg, | |
82 | //! moment.js locale configuration | |
83 | //! locale : Afrikaans [af] | |
84 | //! author : Werner Mollentze : https://github.com/wernerm | |
85 | a.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(a){return/^nm$/i.test(a)},meridiem:function(a,b,c){return a<12?c?"vm":"VM":c?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(a){return a+(1===a||8===a||a>=20?"ste":"de")},week:{dow:1,doy:4}}), | |
86 | //! moment.js locale configuration | |
87 | //! locale : Arabic (Algeria) [ar-dz] | |
88 | //! author : Noureddine LOUAHEDJ : https://github.com/noureddineme | |
89 | a.defineLocale("ar-dz",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"أح_إث_ثلا_أر_خم_جم_سب".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:4}}), | |
90 | //! moment.js locale configuration | |
91 | //! locale : Arabic (Kuwait) [ar-kw] | |
92 | //! author : Nusret Parlak: https://github.com/nusretparlak | |
93 | a.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}}); | |
94 | //! moment.js locale configuration | |
95 | //! locale : Arabic (Lybia) [ar-ly] | |
96 | //! author : Ali Hmer: https://github.com/kikoanis | |
97 | var xg={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},yg=function(a){return 0===a?0:1===a?1:2===a?2:a%100>=3&&a%100<=10?3:a%100>=11?4:5},zg={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},Ag=function(a){return function(b,c,d,e){var f=yg(b),g=zg[a][yg(b)];return 2===f&&(g=g[c?0:1]),g.replace(/%d/i,b)}},Bg=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];a.defineLocale("ar-ly",{months:Bg,monthsShort:Bg,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(a){return"م"===a},meridiem:function(a,b,c){return a<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:Ag("s"),m:Ag("m"),mm:Ag("m"),h:Ag("h"),hh:Ag("h"),d:Ag("d"),dd:Ag("d"),M:Ag("M"),MM:Ag("M"),y:Ag("y"),yy:Ag("y")},preparse:function(a){return a.replace(/\u200f/g,"").replace(/،/g,",")},postformat:function(a){return a.replace(/\d/g,function(a){return xg[a]}).replace(/,/g,"،")},week:{dow:6,doy:12}}), | |
98 | //! moment.js locale configuration | |
99 | //! locale : Arabic (Morocco) [ar-ma] | |
100 | //! author : ElFadili Yassine : https://github.com/ElFadiliY | |
101 | //! author : Abdel Said : https://github.com/abdelsaid | |
102 | a.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:6,doy:12}}); | |
103 | //! moment.js locale configuration | |
104 | //! locale : Arabic (Saudi Arabia) [ar-sa] | |
105 | //! author : Suhail Alkowaileet : https://github.com/xsoh | |
106 | var Cg={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},Dg={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};a.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(a){return"م"===a},meridiem:function(a,b,c){return a<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(a){return a.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(a){return Dg[a]}).replace(/،/g,",")},postformat:function(a){return a.replace(/\d/g,function(a){return Cg[a]}).replace(/,/g,"،")},week:{dow:0,doy:6}}), | |
107 | //! moment.js locale configuration | |
108 | //! locale : Arabic (Tunisia) [ar-tn] | |
109 | //! author : Nader Toukabri : https://github.com/naderio | |
110 | a.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}}); | |
111 | //! moment.js locale configuration | |
112 | //! locale : Arabic [ar] | |
113 | //! author : Abdel Said: https://github.com/abdelsaid | |
114 | //! author : Ahmed Elkhatib | |
115 | //! author : forabi https://github.com/forabi | |
116 | var Eg={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},Fg={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},Gg=function(a){return 0===a?0:1===a?1:2===a?2:a%100>=3&&a%100<=10?3:a%100>=11?4:5},Hg={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},Ig=function(a){return function(b,c,d,e){var f=Gg(b),g=Hg[a][Gg(b)];return 2===f&&(g=g[c?0:1]),g.replace(/%d/i,b)}},Jg=["كانون الثاني يناير","شباط فبراير","آذار مارس","نيسان أبريل","أيار مايو","حزيران يونيو","تموز يوليو","آب أغسطس","أيلول سبتمبر","تشرين الأول أكتوبر","تشرين الثاني نوفمبر","كانون الأول ديسمبر"];a.defineLocale("ar",{months:Jg,monthsShort:Jg,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(a){return"م"===a},meridiem:function(a,b,c){return a<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:Ig("s"),m:Ig("m"),mm:Ig("m"),h:Ig("h"),hh:Ig("h"),d:Ig("d"),dd:Ig("d"),M:Ig("M"),MM:Ig("M"),y:Ig("y"),yy:Ig("y")},preparse:function(a){return a.replace(/\u200f/g,"").replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(a){return Fg[a]}).replace(/،/g,",")},postformat:function(a){return a.replace(/\d/g,function(a){return Eg[a]}).replace(/,/g,"،")},week:{dow:6,doy:12}}); | |
117 | //! moment.js locale configuration | |
118 | //! locale : Azerbaijani [az] | |
119 | //! author : topchiyev : https://github.com/topchiyev | |
120 | var Kg={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"};a.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"birneçə saniyyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(a){return/^(gündüz|axşam)$/.test(a)},meridiem:function(a,b,c){return a<4?"gecə":a<12?"səhər":a<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(a){if(0===a)return a+"-ıncı";var b=a%10,c=a%100-b,d=a>=100?100:null;return a+(Kg[b]||Kg[c]||Kg[d])},week:{dow:1,doy:7}}),a.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Вв] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:td,mm:td,h:td,hh:td,d:"дзень",dd:td,M:"месяц",MM:td,y:"год",yy:td},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(a){return/^(дня|вечара)$/.test(a)},meridiem:function(a,b,c){return a<4?"ночы":a<12?"раніцы":a<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(a,b){switch(b){case"M":case"d":case"DDD":case"w":case"W":return a%10!==2&&a%10!==3||a%100===12||a%100===13?a+"-ы":a+"-і";case"D":return a+"-га";default:return a}},week:{dow:1,doy:7}}), | |
121 | //! moment.js locale configuration | |
122 | //! locale : Bulgarian [bg] | |
123 | //! author : Krasen Borisov : https://github.com/kraz | |
124 | a.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[В изминалата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[В изминалия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дни",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(a){var b=a%10,c=a%100;return 0===a?a+"-ев":0===c?a+"-ен":c>10&&c<20?a+"-ти":1===b?a+"-ви":2===b?a+"-ри":7===b||8===b?a+"-ми":a+"-ти"},week:{dow:1,doy:7}}); | |
125 | //! moment.js locale configuration | |
126 | //! locale : Bengali [bn] | |
127 | //! author : Kaushik Gandhi : https://github.com/kaushikgandhi | |
128 | var Lg={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},Mg={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};a.defineLocale("bn",{months:"জানুয়ারী_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব_মার্চ_এপ্র_মে_জুন_জুল_আগ_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(a){return a.replace(/[১২৩৪৫৬৭৮৯০]/g,function(a){return Mg[a]})},postformat:function(a){return a.replace(/\d/g,function(a){return Lg[a]})},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(a,b){return 12===a&&(a=0),"রাত"===b&&a>=4||"দুপুর"===b&&a<5||"বিকাল"===b?a+12:a},meridiem:function(a,b,c){return a<4?"রাত":a<10?"সকাল":a<17?"দুপুর":a<20?"বিকাল":"রাত"},week:{dow:0,doy:6}}); | |
129 | //! moment.js locale configuration | |
130 | //! locale : Tibetan [bo] | |
131 | //! author : Thupten N. Chakrishar : https://github.com/vajradog | |
132 | var Ng={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},Og={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};a.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(a){return a.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,function(a){return Og[a]})},postformat:function(a){return a.replace(/\d/g,function(a){return Ng[a]})},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(a,b){return 12===a&&(a=0),"མཚན་མོ"===b&&a>=4||"ཉིན་གུང"===b&&a<5||"དགོང་དག"===b?a+12:a},meridiem:function(a,b,c){return a<4?"མཚན་མོ":a<10?"ཞོགས་ཀས":a<17?"ཉིན་གུང":a<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}}),a.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondennoù",m:"ur vunutenn",mm:ud,h:"un eur",hh:"%d eur",d:"un devezh",dd:ud,M:"ur miz",MM:ud,y:"ur bloaz",yy:vd},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(a){var b=1===a?"añ":"vet";return a+b},week:{dow:1,doy:4}}),a.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",m:zd,mm:zd,h:zd,hh:zd,d:"dan",dd:zd,M:"mjesec",MM:zd,y:"godinu",yy:zd},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}), | |
133 | //! moment.js locale configuration | |
134 | //! locale : Catalan [ca] | |
135 | //! author : Juan G. Hurtado : https://github.com/juanghurtado | |
136 | a.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"Dg_Dl_Dt_Dc_Dj_Dv_Ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"[el] D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"[el] D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"[el] dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(a,b){var c=1===a?"r":2===a?"n":3===a?"r":4===a?"t":"è";return"w"!==b&&"W"!==b||(c="a"),a+c},week:{dow:1,doy:4}}); | |
137 | //! moment.js locale configuration | |
138 | //! locale : Czech [cs] | |
139 | //! author : petrbela : https://github.com/petrbela | |
140 | var Pg="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),Qg="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_");a.defineLocale("cs",{months:Pg,monthsShort:Qg,monthsParse:function(a,b){var c,d=[];for(c=0;c<12;c++)d[c]=new RegExp("^"+a[c]+"$|^"+b[c]+"$","i");return d}(Pg,Qg),shortMonthsParse:function(a){var b,c=[];for(b=0;b<12;b++)c[b]=new RegExp("^"+a[b]+"$","i");return c}(Qg),longMonthsParse:function(a){var b,c=[];for(b=0;b<12;b++)c[b]=new RegExp("^"+a[b]+"$","i");return c}(Pg),weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:Bd,m:Bd,mm:Bd,h:Bd,hh:Bd,d:Bd,dd:Bd,M:Bd,MM:Bd,y:Bd,yy:Bd},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}), | |
141 | //! moment.js locale configuration | |
142 | //! locale : Chuvash [cv] | |
143 | //! author : Anatoly Mironov : https://github.com/mirontoli | |
144 | a.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(a){var b=/сехет$/i.exec(a)?"рен":/ҫул$/i.exec(a)?"тан":"ран";return a+b},past:"%s каялла",s:"пӗр-ик ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}}), | |
145 | //! moment.js locale configuration | |
146 | //! locale : Welsh [cy] | |
147 | //! author : Robert Allen : https://github.com/robgallen | |
148 | //! author : https://github.com/ryangreaves | |
149 | a.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(a){var b=a,c="",d=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"];return b>20?c=40===b||50===b||60===b||80===b||100===b?"fed":"ain":b>0&&(c=d[b]),a+c},week:{dow:1,doy:4}}), | |
150 | //! moment.js locale configuration | |
151 | //! locale : Danish [da] | |
152 | //! author : Ulrik Nielsen : https://github.com/mrbase | |
153 | a.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),a.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:Cd,mm:"%d Minuten",h:Cd,hh:"%d Stunden",d:Cd,dd:Cd,M:Cd,MM:Cd,y:Cd,yy:Cd},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),a.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._März_April_Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH.mm",LLLL:"dddd, D. MMMM YYYY HH.mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:Dd,mm:"%d Minuten",h:Dd,hh:"%d Stunden",d:Dd,dd:Dd,M:Dd,MM:Dd,y:Dd,yy:Dd},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),a.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:Ed,mm:"%d Minuten",h:Ed,hh:"%d Stunden",d:Ed,dd:Ed,M:Ed,MM:Ed,y:Ed,yy:Ed},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}); | |
154 | //! moment.js locale configuration | |
155 | //! locale : Maldivian [dv] | |
156 | //! author : Jawish Hameed : https://github.com/jawish | |
157 | var Rg=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],Sg=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"];a.defineLocale("dv",{months:Rg,monthsShort:Rg,weekdays:Sg,weekdaysShort:Sg,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(a){return"މފ"===a},meridiem:function(a,b,c){return a<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(a){return a.replace(/،/g,",")},postformat:function(a){return a.replace(/,/g,"،")},week:{dow:7,doy:12}}), | |
158 | //! moment.js locale configuration | |
159 | //! locale : Greek [el] | |
160 | //! author : Aggelos Karalias : https://github.com/mehiel | |
161 | a.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(a,b){return a?/D/.test(b.substring(0,b.indexOf("MMMM")))?this._monthsGenitiveEl[a.month()]:this._monthsNominativeEl[a.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(a,b,c){return a>11?c?"μμ":"ΜΜ":c?"πμ":"ΠΜ"},isPM:function(a){return"μ"===(a+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(a,b){var c=this._calendarEl[a],d=b&&b.hours();return z(c)&&(c=c.apply(b)),c.replace("{}",d%12===1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}}), | |
162 | //! moment.js locale configuration | |
163 | //! locale : English (Australia) [en-au] | |
164 | //! author : Jared Morse : https://github.com/jarcoal | |
165 | a.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var b=a%10,c=1===~~(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c},week:{dow:1,doy:4}}), | |
166 | //! moment.js locale configuration | |
167 | //! locale : English (Canada) [en-ca] | |
168 | //! author : Jonathan Abourbih : https://github.com/jonbca | |
169 | a.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var b=a%10,c=1===~~(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c}}), | |
170 | //! moment.js locale configuration | |
171 | //! locale : English (United Kingdom) [en-gb] | |
172 | //! author : Chris Gedrim : https://github.com/chrisgedrim | |
173 | a.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var b=a%10,c=1===~~(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c},week:{dow:1,doy:4}}), | |
174 | //! moment.js locale configuration | |
175 | //! locale : English (Ireland) [en-ie] | |
176 | //! author : Chris Cartlidge : https://github.com/chriscartlidge | |
177 | a.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var b=a%10,c=1===~~(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c},week:{dow:1,doy:4}}), | |
178 | //! moment.js locale configuration | |
179 | //! locale : English (New Zealand) [en-nz] | |
180 | //! author : Luke McGregor : https://github.com/lukemcgregor | |
181 | a.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var b=a%10,c=1===~~(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c},week:{dow:1,doy:4}}), | |
182 | //! moment.js locale configuration | |
183 | //! locale : Esperanto [eo] | |
184 | //! author : Colin Dean : https://github.com/colindean | |
185 | //! author : Mia Nordentoft Imperatori : https://github.com/miestasmia | |
186 | //! comment : miestasmia corrected the translation by colindean | |
187 | a.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-a de] MMMM, YYYY",LLL:"D[-a de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-a de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(a){return"p"===a.charAt(0).toLowerCase()},meridiem:function(a,b,c){return a>11?c?"p.t.m.":"P.T.M.":c?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}}); | |
188 | //! moment.js locale configuration | |
189 | //! locale : Spanish (Dominican Republic) [es-do] | |
190 | var Tg="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),Ug="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_");a.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(a,b){return a?/-MMM-/.test(b)?Ug[a.month()]:Tg[a.month()]:Tg},monthsParseExact:!0,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}); | |
191 | //! moment.js locale configuration | |
192 | //! locale : Spanish [es] | |
193 | //! author : Julio Napurí : https://github.com/julionc | |
194 | var Vg="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),Wg="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_");a.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(a,b){return a?/-MMM-/.test(b)?Wg[a.month()]:Vg[a.month()]:Vg},monthsParseExact:!0,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}),a.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:Fd,m:Fd,mm:Fd,h:Fd,hh:Fd,d:Fd,dd:"%d päeva",M:Fd,MM:Fd,y:Fd,yy:Fd},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}), | |
195 | //! moment.js locale configuration | |
196 | //! locale : Basque [eu] | |
197 | //! author : Eneko Illarramendi : https://github.com/eillarra | |
198 | a.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}); | |
199 | //! moment.js locale configuration | |
200 | //! locale : Persian [fa] | |
201 | //! author : Ebrahim Byagowi : https://github.com/ebraminio | |
202 | var Xg={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},Yg={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};a.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یکشنبه_دوشنبه_سهشنبه_چهارشنبه_پنجشنبه_جمعه_شنبه".split("_"),weekdaysShort:"یکشنبه_دوشنبه_سهشنبه_چهارشنبه_پنجشنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(a){return/بعد از ظهر/.test(a)},meridiem:function(a,b,c){return a<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(a){return a.replace(/[۰-۹]/g,function(a){return Yg[a]}).replace(/،/g,",")},postformat:function(a){return a.replace(/\d/g,function(a){return Xg[a]}).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}}); | |
203 | //! moment.js locale configuration | |
204 | //! locale : Finnish [fi] | |
205 | //! author : Tarmo Aidantausta : https://github.com/bleadof | |
206 | var Zg="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),$g=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",Zg[7],Zg[8],Zg[9]];a.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:Gd,m:Gd,mm:Gd,h:Gd,hh:Gd,d:Gd,dd:Gd,M:Gd,MM:Gd,y:Gd,yy:Gd},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}), | |
207 | //! moment.js locale configuration | |
208 | //! locale : Faroese [fo] | |
209 | //! author : Ragnar Johannesen : https://github.com/ragnar123 | |
210 | a.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",m:"ein minutt",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaði",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}), | |
211 | //! moment.js locale configuration | |
212 | //! locale : French (Canada) [fr-ca] | |
213 | //! author : Jonathan Abourbih : https://github.com/jonbca | |
214 | a.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(a,b){switch(b){default:case"M":case"Q":case"D":case"DDD":case"d":return a+(1===a?"er":"e");case"w":case"W":return a+(1===a?"re":"e")}}}), | |
215 | //! moment.js locale configuration | |
216 | //! locale : French (Switzerland) [fr-ch] | |
217 | //! author : Gaspard Bucher : https://github.com/gaspard | |
218 | a.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(a,b){switch(b){default:case"M":case"Q":case"D":case"DDD":case"d":return a+(1===a?"er":"e");case"w":case"W":return a+(1===a?"re":"e")}},week:{dow:1,doy:4}}), | |
219 | //! moment.js locale configuration | |
220 | //! locale : French [fr] | |
221 | //! author : John Fischer : https://github.com/jfroffice | |
222 | a.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(a,b){switch(b){case"D":return a+(1===a?"er":"");default:case"M":case"Q":case"DDD":case"d":return a+(1===a?"er":"e");case"w":case"W":return a+(1===a?"re":"e")}},week:{dow:1,doy:4}}); | |
223 | //! moment.js locale configuration | |
224 | //! locale : Frisian [fy] | |
225 | //! author : Robin van der Vliet : https://github.com/robin0van0der0v | |
226 | var _g="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),ah="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");a.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(a,b){return a?/-MMM-/.test(b)?ah[a.month()]:_g[a.month()]:_g},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(a){return a+(1===a||8===a||a>=20?"ste":"de")},week:{dow:1,doy:4}}); | |
227 | //! moment.js locale configuration | |
228 | //! locale : Scottish Gaelic [gd] | |
229 | //! author : Jon Ashdown : https://github.com/jonashdown | |
230 | var bh=["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],ch=["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],dh=["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],eh=["Did","Dil","Dim","Dic","Dia","Dih","Dis"],fh=["Dò","Lu","Mà","Ci","Ar","Ha","Sa"];a.defineLocale("gd",{months:bh,monthsShort:ch,monthsParseExact:!0,weekdays:dh,weekdaysShort:eh,weekdaysMin:fh,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(a){var b=1===a?"d":a%10===2?"na":"mh";return a+b},week:{dow:1,doy:4}}), | |
231 | //! moment.js locale configuration | |
232 | //! locale : Galician [gl] | |
233 | //! author : Juan G. Hurtado : https://github.com/juanghurtado | |
234 | a.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(a){return 0===a.indexOf("un")?"n"+a:"en "+a},past:"hai %s",s:"uns segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}),a.defineLocale("gom-latn",{months:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budvar_Brestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM[achea] Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Ieta to] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fatlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:Id,m:Id,mm:Id,h:Id,hh:Id,d:Id,dd:Id,M:Id,MM:Id,y:Id,yy:Id},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(a,b){switch(b){case"D":return a+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return a}},week:{dow:1,doy:4},meridiemParse:/rati|sokalli|donparam|sanje/,meridiemHour:function(a,b){return 12===a&&(a=0),"rati"===b?a<4?a:a+12:"sokalli"===b?a:"donparam"===b?a>12?a:a+12:"sanje"===b?a+12:void 0},meridiem:function(a,b,c){return a<4?"rati":a<12?"sokalli":a<16?"donparam":a<20?"sanje":"rati"}}), | |
235 | //! moment.js locale configuration | |
236 | //! locale : Hebrew [he] | |
237 | //! author : Tomer Cohen : https://github.com/tomer | |
238 | //! author : Moshe Simantov : https://github.com/DevelopmentIL | |
239 | //! author : Tal Ater : https://github.com/TalAter | |
240 | a.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(a){return 2===a?"שעתיים":a+" שעות"},d:"יום",dd:function(a){return 2===a?"יומיים":a+" ימים"},M:"חודש",MM:function(a){return 2===a?"חודשיים":a+" חודשים"},y:"שנה",yy:function(a){return 2===a?"שנתיים":a%10===0&&10!==a?a+" שנה":a+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(a){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(a)},meridiem:function(a,b,c){return a<5?"לפנות בוקר":a<10?"בבוקר":a<12?c?'לפנה"צ':"לפני הצהריים":a<18?c?'אחה"צ':"אחרי הצהריים":"בערב"}}); | |
241 | //! moment.js locale configuration | |
242 | //! locale : Hindi [hi] | |
243 | //! author : Mayank Singhal : https://github.com/mayanksinghal | |
244 | var gh={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},hh={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};a.defineLocale("hi",{months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(a){return a.replace(/[१२३४५६७८९०]/g,function(a){return hh[a]})},postformat:function(a){return a.replace(/\d/g,function(a){return gh[a]})},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(a,b){return 12===a&&(a=0),"रात"===b?a<4?a:a+12:"सुबह"===b?a:"दोपहर"===b?a>=10?a:a+12:"शाम"===b?a+12:void 0},meridiem:function(a,b,c){return a<4?"रात":a<10?"सुबह":a<17?"दोपहर":a<20?"शाम":"रात"},week:{dow:0,doy:6}}),a.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",m:Jd,mm:Jd,h:Jd,hh:Jd,d:"dan",dd:Jd,M:"mjesec",MM:Jd,y:"godinu",yy:Jd},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}); | |
245 | //! moment.js locale configuration | |
246 | //! locale : Hungarian [hu] | |
247 | //! author : Adam Brunner : https://github.com/adambrunner | |
248 | var ih="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");a.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(a){return"u"===a.charAt(1).toLowerCase()},meridiem:function(a,b,c){return a<12?c===!0?"de":"DE":c===!0?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return Ld.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return Ld.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:Kd,m:Kd,mm:Kd,h:Kd,hh:Kd,d:Kd,dd:Kd,M:Kd,MM:Kd,y:Kd,yy:Kd},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}), | |
249 | //! moment.js locale configuration | |
250 | //! locale : Armenian [hy-am] | |
251 | //! author : Armendarabyan : https://github.com/armendarabyan | |
252 | a.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(a){return/^(ցերեկվա|երեկոյան)$/.test(a)},meridiem:function(a){return a<4?"գիշերվա":a<12?"առավոտվա":a<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(a,b){switch(b){case"DDD":case"w":case"W":case"DDDo":return 1===a?a+"-ին":a+"-րդ";default:return a}},week:{dow:1,doy:7}}), | |
253 | //! moment.js locale configuration | |
254 | //! locale : Indonesian [id] | |
255 | //! author : Mohammad Satrio Utomo : https://github.com/tyok | |
256 | //! reference: http://id.wikisource.org/wiki/Pedoman_Umum_Ejaan_Bahasa_Indonesia_yang_Disempurnakan | |
257 | a.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(a,b){return 12===a&&(a=0),"pagi"===b?a:"siang"===b?a>=11?a:a+12:"sore"===b||"malam"===b?a+12:void 0},meridiem:function(a,b,c){return a<11?"pagi":a<15?"siang":a<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}}),a.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:Nd,m:Nd,mm:Nd,h:"klukkustund",hh:Nd,d:Nd,dd:Nd,M:Nd,MM:Nd,y:Nd,yy:Nd},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}), | |
258 | //! moment.js locale configuration | |
259 | //! locale : Italian [it] | |
260 | //! author : Lorenzo : https://github.com/aliem | |
261 | //! author: Mattia Larentis: https://github.com/nostalgiaz | |
262 | a.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(a){return(/^[0-9].+$/.test(a)?"tra":"in")+" "+a},past:"%s fa",s:"alcuni secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}), | |
263 | //! moment.js locale configuration | |
264 | //! locale : Japanese [ja] | |
265 | //! author : LI Long : https://github.com/baryon | |
266 | a.defineLocale("ja",{months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 HH:mm dddd",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日 HH:mm dddd"},meridiemParse:/午前|午後/i,isPM:function(a){return"午後"===a},meridiem:function(a,b,c){return a<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:"[来週]dddd LT",lastDay:"[昨日] LT",lastWeek:"[前週]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(a,b){switch(b){case"d":case"D":case"DDD":return a+"日";default:return a}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}}), | |
267 | //! moment.js locale configuration | |
268 | //! locale : Javanese [jv] | |
269 | //! author : Rony Lantip : https://github.com/lantip | |
270 | //! reference: http://jv.wikipedia.org/wiki/Basa_Jawa | |
271 | a.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(a,b){return 12===a&&(a=0),"enjing"===b?a:"siyang"===b?a>=11?a:a+12:"sonten"===b||"ndalu"===b?a+12:void 0},meridiem:function(a,b,c){return a<11?"enjing":a<15?"siyang":a<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}}), | |
272 | //! moment.js locale configuration | |
273 | //! locale : Georgian [ka] | |
274 | //! author : Irakli Janiashvili : https://github.com/irakli-janiashvili | |
275 | a.defineLocale("ka",{months:{standalone:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),format:"იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს".split("_")},monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(a){return/(წამი|წუთი|საათი|წელი)/.test(a)?a.replace(/ი$/,"ში"):a+"ში"},past:function(a){return/(წამი|წუთი|საათი|დღე|თვე)/.test(a)?a.replace(/(ი|ე)$/,"ის უკან"):/წელი/.test(a)?a.replace(/წელი$/,"წლის უკან"):void 0},s:"რამდენიმე წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(a){return 0===a?a:1===a?a+"-ლი":a<20||a<=100&&a%20===0||a%100===0?"მე-"+a:a+"-ე"},week:{dow:1,doy:7}}); | |
276 | //! moment.js locale configuration | |
277 | //! locale : Kazakh [kk] | |
278 | //! authors : Nurlan Rakhimzhanov : https://github.com/nurlan | |
279 | var jh={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};a.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(a){var b=a%10,c=a>=100?100:null;return a+(jh[a]||jh[b]||jh[c])},week:{dow:1,doy:7}}), | |
280 | //! moment.js locale configuration | |
281 | //! locale : Cambodian [km] | |
282 | //! author : Kruy Vanna : https://github.com/kruyvanna | |
283 | a.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysMin:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},week:{dow:1,doy:4}}); | |
284 | //! moment.js locale configuration | |
285 | //! locale : Kannada [kn] | |
286 | //! author : Rajeev Naik : https://github.com/rajeevnaikte | |
287 | var kh={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},lh={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"};a.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬ_ಅಕ್ಟೋಬ_ನವೆಂಬ_ಡಿಸೆಂಬ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(a){return a.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,function(a){return lh[a]})},postformat:function(a){return a.replace(/\d/g,function(a){return kh[a]})},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(a,b){return 12===a&&(a=0),"ರಾತ್ರಿ"===b?a<4?a:a+12:"ಬೆಳಿಗ್ಗೆ"===b?a:"ಮಧ್ಯಾಹ್ನ"===b?a>=10?a:a+12:"ಸಂಜೆ"===b?a+12:void 0},meridiem:function(a,b,c){return a<4?"ರಾತ್ರಿ":a<10?"ಬೆಳಿಗ್ಗೆ":a<17?"ಮಧ್ಯಾಹ್ನ":a<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(a){return a+"ನೇ"},week:{dow:0,doy:6}}), | |
288 | //! moment.js locale configuration | |
289 | //! locale : Korean [ko] | |
290 | //! author : Kyungwook, Park : https://github.com/kyungw00k | |
291 | //! author : Jeeeyul Lee <jeeeyul@gmail.com> | |
292 | a.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}일/,ordinal:"%d일",meridiemParse:/오전|오후/,isPM:function(a){return"오후"===a},meridiem:function(a,b,c){return a<12?"오전":"오후"}}); | |
293 | //! moment.js locale configuration | |
294 | //! locale : Kyrgyz [ky] | |
295 | //! author : Chyngyz Arystan uulu : https://github.com/chyngyz | |
296 | var mh={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"};a.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кече саат] LT",lastWeek:"[Өткен аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(a){var b=a%10,c=a>=100?100:null;return a+(mh[a]||mh[b]||mh[c])},week:{dow:1,doy:7}}),a.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:Pd,past:Qd,s:"e puer Sekonnen",m:Od,mm:"%d Minutten",h:Od,hh:"%d Stonnen",d:Od,dd:"%d Deeg",M:Od,MM:"%d Méint",y:Od,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}), | |
297 | //! moment.js locale configuration | |
298 | //! locale : Lao [lo] | |
299 | //! author : Ryan Hart : https://github.com/ryanhart2 | |
300 | a.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(a){return"ຕອນແລງ"===a},meridiem:function(a,b,c){return a<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(a){return"ທີ່"+a}}); | |
301 | //! moment.js locale configuration | |
302 | //! locale : Lithuanian [lt] | |
303 | //! author : Mindaugas Mozūras : https://github.com/mmozuras | |
304 | var nh={m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};a.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:Sd,m:Td,mm:Wd,h:Td,hh:Wd,d:Td,dd:Wd,M:Td,MM:Wd,y:Td,yy:Wd},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(a){return a+"-oji"},week:{dow:1,doy:4}}); | |
305 | //! moment.js locale configuration | |
306 | //! locale : Latvian [lv] | |
307 | //! author : Kristaps Karlsons : https://github.com/skakri | |
308 | //! author : Jānis Elmeris : https://github.com/JanisE | |
309 | var oh={m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};a.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:$d,m:Zd,mm:Yd,h:Zd,hh:Yd,d:Zd,dd:Yd,M:Zd,MM:Yd,y:Zd,yy:Yd},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}); | |
310 | //! moment.js locale configuration | |
311 | //! locale : Montenegrin [me] | |
312 | //! author : Miodrag Nikač <miodrag@restartit.me> : https://github.com/miodragnikac | |
313 | var ph={words:{m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(a,b){return 1===a?b[0]:a>=2&&a<=4?b[1]:b[2]},translate:function(a,b,c){var d=ph.words[c];return 1===c.length?b?d[0]:d[1]:a+" "+ph.correctGrammaticalCase(a,d)}};a.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var a=["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return a[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",m:ph.translate,mm:ph.translate,h:ph.translate,hh:ph.translate,d:"dan",dd:ph.translate,M:"mjesec",MM:ph.translate,y:"godinu",yy:ph.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}), | |
314 | //! moment.js locale configuration | |
315 | //! locale : Maori [mi] | |
316 | //! author : John Corrigan <robbiecloset@gmail.com> : https://github.com/johnideal | |
317 | a.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}), | |
318 | //! moment.js locale configuration | |
319 | //! locale : Macedonian [mk] | |
320 | //! author : Borislav Mickov : https://github.com/B0k0 | |
321 | a.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(a){var b=a%10,c=a%100;return 0===a?a+"-ев":0===c?a+"-ен":c>10&&c<20?a+"-ти":1===b?a+"-ви":2===b?a+"-ри":7===b||8===b?a+"-ми":a+"-ти"},week:{dow:1,doy:7}}), | |
322 | //! moment.js locale configuration | |
323 | //! locale : Malayalam [ml] | |
324 | //! author : Floyd Pink : https://github.com/floydpink | |
325 | a.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(a,b){return 12===a&&(a=0),"രാത്രി"===b&&a>=4||"ഉച്ച കഴിഞ്ഞ്"===b||"വൈകുന്നേരം"===b?a+12:a},meridiem:function(a,b,c){return a<4?"രാത്രി":a<12?"രാവിലെ":a<17?"ഉച്ച കഴിഞ്ഞ്":a<20?"വൈകുന്നേരം":"രാത്രി"}}); | |
326 | //! moment.js locale configuration | |
327 | //! locale : Marathi [mr] | |
328 | //! author : Harshad Kale : https://github.com/kalehv | |
329 | //! author : Vivek Athalye : https://github.com/vnathalye | |
330 | var qh={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},rh={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};a.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:_d,m:_d,mm:_d,h:_d,hh:_d,d:_d,dd:_d,M:_d,MM:_d,y:_d,yy:_d},preparse:function(a){return a.replace(/[१२३४५६७८९०]/g,function(a){return rh[a]})},postformat:function(a){return a.replace(/\d/g,function(a){return qh[a]})},meridiemParse:/रात्री|सकाळी|दुपारी|सायंकाळी/,meridiemHour:function(a,b){return 12===a&&(a=0),"रात्री"===b?a<4?a:a+12:"सकाळी"===b?a:"दुपारी"===b?a>=10?a:a+12:"सायंकाळी"===b?a+12:void 0},meridiem:function(a,b,c){return a<4?"रात्री":a<10?"सकाळी":a<17?"दुपारी":a<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}}), | |
331 | //! moment.js locale configuration | |
332 | //! locale : Malay [ms-my] | |
333 | //! note : DEPRECATED, the correct one is [ms] | |
334 | //! author : Weldan Jamili : https://github.com/weldan | |
335 | a.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(a,b){return 12===a&&(a=0),"pagi"===b?a:"tengahari"===b?a>=11?a:a+12:"petang"===b||"malam"===b?a+12:void 0},meridiem:function(a,b,c){return a<11?"pagi":a<15?"tengahari":a<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}}), | |
336 | //! moment.js locale configuration | |
337 | //! locale : Malay [ms] | |
338 | //! author : Weldan Jamili : https://github.com/weldan | |
339 | a.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(a,b){return 12===a&&(a=0),"pagi"===b?a:"tengahari"===b?a>=11?a:a+12:"petang"===b||"malam"===b?a+12:void 0},meridiem:function(a,b,c){return a<11?"pagi":a<15?"tengahari":a<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}}); | |
340 | //! moment.js locale configuration | |
341 | //! locale : Burmese [my] | |
342 | //! author : Squar team, mysquar.com | |
343 | //! author : David Rossellat : https://github.com/gholadr | |
344 | //! author : Tin Aung Lin : https://github.com/thanyawzinmin | |
345 | var sh={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},th={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"};a.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(a){return a.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,function(a){return th[a]})},postformat:function(a){return a.replace(/\d/g,function(a){return sh[a]})},week:{dow:1,doy:4}}), | |
346 | //! moment.js locale configuration | |
347 | //! locale : Norwegian Bokmål [nb] | |
348 | //! authors : Espen Hovlandsdal : https://github.com/rexxars | |
349 | //! Sigurd Gartmann : https://github.com/sigurdga | |
350 | a.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}); | |
351 | //! moment.js locale configuration | |
352 | //! locale : Nepalese [ne] | |
353 | //! author : suvash : https://github.com/suvash | |
354 | var uh={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},vh={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};a.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(a){return a.replace(/[१२३४५६७८९०]/g,function(a){return vh[a]})},postformat:function(a){return a.replace(/\d/g,function(a){return uh[a]})},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(a,b){return 12===a&&(a=0),"राति"===b?a<4?a:a+12:"बिहान"===b?a:"दिउँसो"===b?a>=10?a:a+12:"साँझ"===b?a+12:void 0},meridiem:function(a,b,c){return a<3?"राति":a<12?"बिहान":a<16?"दिउँसो":a<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}}); | |
355 | //! moment.js locale configuration | |
356 | //! locale : Dutch (Belgium) [nl-be] | |
357 | //! author : Joris Röling : https://github.com/jorisroling | |
358 | //! author : Jacob Middag : https://github.com/middagj | |
359 | var wh="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),xh="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),yh=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],zh=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;a.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(a,b){return a?/-MMM-/.test(b)?xh[a.month()]:wh[a.month()]:wh},monthsRegex:zh,monthsShortRegex:zh,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:yh,longMonthsParse:yh,shortMonthsParse:yh,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"Zo_Ma_Di_Wo_Do_Vr_Za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(a){return a+(1===a||8===a||a>=20?"ste":"de")},week:{dow:1,doy:4}}); | |
360 | //! moment.js locale configuration | |
361 | //! locale : Dutch [nl] | |
362 | //! author : Joris Röling : https://github.com/jorisroling | |
363 | //! author : Jacob Middag : https://github.com/middagj | |
364 | var Ah="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),Bh="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),Ch=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],Dh=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;a.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(a,b){return a?/-MMM-/.test(b)?Bh[a.month()]:Ah[a.month()]:Ah},monthsRegex:Dh,monthsShortRegex:Dh,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:Ch,longMonthsParse:Ch,shortMonthsParse:Ch,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"Zo_Ma_Di_Wo_Do_Vr_Za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(a){return a+(1===a||8===a||a>=20?"ste":"de")},week:{dow:1,doy:4}}), | |
365 | //! moment.js locale configuration | |
366 | //! locale : Nynorsk [nn] | |
367 | //! author : https://github.com/mechuwind | |
368 | a.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_mån_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_må_ty_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}); | |
369 | //! moment.js locale configuration | |
370 | //! locale : Punjabi (India) [pa-in] | |
371 | //! author : Harpreet Singh : https://github.com/harpreetkhalsagtbit | |
372 | var Eh={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},Fh={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"};a.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(a){return a.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,function(a){return Fh[a]})},postformat:function(a){return a.replace(/\d/g,function(a){return Eh[a]})},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(a,b){return 12===a&&(a=0),"ਰਾਤ"===b?a<4?a:a+12:"ਸਵੇਰ"===b?a:"ਦੁਪਹਿਰ"===b?a>=10?a:a+12:"ਸ਼ਾਮ"===b?a+12:void 0},meridiem:function(a,b,c){return a<4?"ਰਾਤ":a<10?"ਸਵੇਰ":a<17?"ਦੁਪਹਿਰ":a<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}}); | |
373 | //! moment.js locale configuration | |
374 | //! locale : Polish [pl] | |
375 | //! author : Rafal Hirsz : https://github.com/evoL | |
376 | var Gh="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),Hh="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_");a.defineLocale("pl",{months:function(a,b){return a?""===b?"("+Hh[a.month()]+"|"+Gh[a.month()]+")":/D MMMM/.test(b)?Hh[a.month()]:Gh[a.month()]:Gh},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:"[W] dddd [o] LT",lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:be,mm:be,h:be,hh:be,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:be,y:"rok",yy:be},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}), | |
377 | //! moment.js locale configuration | |
378 | //! locale : Portuguese (Brazil) [pt-br] | |
379 | //! author : Caio Ribeiro Pereira : https://github.com/caio-ribeiro-pereira | |
380 | a.defineLocale("pt-br",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"%s atrás",s:"poucos segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº"}), | |
381 | //! moment.js locale configuration | |
382 | //! locale : Portuguese [pt] | |
383 | //! author : Jefferson : https://github.com/jalex79 | |
384 | a.defineLocale("pt",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-Feira_Terça-Feira_Quarta-Feira_Quinta-Feira_Sexta-Feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}),a.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",m:"un minut",mm:ce,h:"o oră",hh:ce,d:"o zi",dd:ce,M:"o lună",MM:ce,y:"un an",yy:ce},week:{dow:1,doy:7}});var Ih=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];a.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:Ih,longMonthsParse:Ih,shortMonthsParse:Ih,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сегодня в] LT",nextDay:"[Завтра в] LT",lastDay:"[Вчера в] LT",nextWeek:function(a){if(a.week()===this.week())return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT";switch(this.day()){case 0:return"[В следующее] dddd [в] LT";case 1:case 2:case 4:return"[В следующий] dddd [в] LT";case 3:case 5:case 6:return"[В следующую] dddd [в] LT"}},lastWeek:function(a){if(a.week()===this.week())return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:ee,mm:ee,h:"час",hh:ee,d:"день",dd:ee,M:"месяц",MM:ee,y:"год",yy:ee},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(a){return/^(дня|вечера)$/.test(a)},meridiem:function(a,b,c){return a<4?"ночи":a<12?"утра":a<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(a,b){switch(b){case"M":case"d":case"DDD":return a+"-й";case"D":return a+"-го";case"w":case"W":return a+"-я";default:return a}},week:{dow:1,doy:7}}); | |
385 | //! moment.js locale configuration | |
386 | //! locale : Sindhi [sd] | |
387 | //! author : Narain Sagar : https://github.com/narainsagar | |
388 | var Jh=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],Kh=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"];a.defineLocale("sd",{months:Jh,monthsShort:Jh,weekdays:Kh,weekdaysShort:Kh,weekdaysMin:Kh,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(a){return"شام"===a},meridiem:function(a,b,c){return a<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(a){return a.replace(/،/g,",")},postformat:function(a){return a.replace(/,/g,"،")},week:{dow:1,doy:4}}), | |
389 | //! moment.js locale configuration | |
390 | //! locale : Northern Sami [se] | |
391 | //! authors : Bård Rolstad Henriksen : https://github.com/karamell | |
392 | a.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}), | |
393 | //! moment.js locale configuration | |
394 | //! locale : Sinhalese [si] | |
395 | //! author : Sampath Sitinamaluwa : https://github.com/sampathsris | |
396 | a.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(a){return a+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(a){return"ප.ව."===a||"පස් වරු"===a},meridiem:function(a,b,c){return a>11?c?"ප.ව.":"පස් වරු":c?"පෙ.ව.":"පෙර වරු"}}); | |
397 | //! moment.js locale configuration | |
398 | //! locale : Slovak [sk] | |
399 | //! author : Martin Minka : https://github.com/k2s | |
400 | //! based on work of petrbela : https://github.com/petrbela | |
401 | var Lh="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),Mh="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");a.defineLocale("sk",{months:Lh,monthsShort:Mh,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:ge,m:ge,mm:ge,h:ge,hh:ge,d:ge,dd:ge,M:ge,MM:ge,y:ge,yy:ge},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),a.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:he,m:he,mm:he,h:he,hh:he,d:he,dd:he,M:he,MM:he,y:he,yy:he},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}), | |
402 | //! moment.js locale configuration | |
403 | //! locale : Albanian [sq] | |
404 | //! author : Flakërim Ismani : https://github.com/flakerimi | |
405 | //! author : Menelion Elensúle : https://github.com/Oire | |
406 | //! author : Oerd Cukalla : https://github.com/oerd | |
407 | a.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(a){return"M"===a.charAt(0)},meridiem:function(a,b,c){return a<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}); | |
408 | //! moment.js locale configuration | |
409 | //! locale : Serbian Cyrillic [sr-cyrl] | |
410 | //! author : Milan Janačković<milanjanackovic@gmail.com> : https://github.com/milan-j | |
411 | var Nh={words:{m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(a,b){return 1===a?b[0]:a>=2&&a<=4?b[1]:b[2]},translate:function(a,b,c){var d=Nh.words[c];return 1===c.length?b?d[0]:d[1]:a+" "+Nh.correctGrammaticalCase(a,d)}};a.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){var a=["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"];return a[this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",m:Nh.translate,mm:Nh.translate,h:Nh.translate,hh:Nh.translate,d:"дан",dd:Nh.translate,M:"месец",MM:Nh.translate,y:"годину",yy:Nh.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}); | |
412 | //! moment.js locale configuration | |
413 | //! locale : Serbian [sr] | |
414 | //! author : Milan Janačković<milanjanackovic@gmail.com> : https://github.com/milan-j | |
415 | var Oh={words:{m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(a,b){return 1===a?b[0]:a>=2&&a<=4?b[1]:b[2]},translate:function(a,b,c){var d=Oh.words[c];return 1===c.length?b?d[0]:d[1]:a+" "+Oh.correctGrammaticalCase(a,d)}};a.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var a=["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return a[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",m:Oh.translate,mm:Oh.translate,h:Oh.translate,hh:Oh.translate,d:"dan",dd:Oh.translate,M:"mesec",MM:Oh.translate,y:"godinu",yy:Oh.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}), | |
416 | //! moment.js locale configuration | |
417 | //! locale : siSwati [ss] | |
418 | //! author : Nicolai Davies<mail@nicolai.io> : https://github.com/nicolaidavies | |
419 | a.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(a,b,c){return a<11?"ekuseni":a<15?"emini":a<19?"entsambama":"ebusuku"},meridiemHour:function(a,b){return 12===a&&(a=0),"ekuseni"===b?a:"emini"===b?a>=11?a:a+12:"entsambama"===b||"ebusuku"===b?0===a?0:a+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}}), | |
420 | //! moment.js locale configuration | |
421 | //! locale : Swedish [sv] | |
422 | //! author : Jens Alm : https://github.com/ulmus | |
423 | a.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(e|a)/,ordinal:function(a){var b=a%10,c=1===~~(a%100/10)?"e":1===b?"a":2===b?"a":"e";return a+c},week:{dow:1,doy:4}}), | |
424 | //! moment.js locale configuration | |
425 | //! locale : Swahili [sw] | |
426 | //! author : Fahad Kassim : https://github.com/fadsel | |
427 | a.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}}); | |
428 | //! moment.js locale configuration | |
429 | //! locale : Tamil [ta] | |
430 | //! author : Arjunkumar Krishnamoorthy : https://github.com/tk120404 | |
431 | var Ph={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},Qh={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"};a.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(a){return a+"வது"},preparse:function(a){return a.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,function(a){return Qh[a]})},postformat:function(a){return a.replace(/\d/g,function(a){return Ph[a]})},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(a,b,c){return a<2?" யாமம்":a<6?" வைகறை":a<10?" காலை":a<14?" நண்பகல்":a<18?" எற்பாடு":a<22?" மாலை":" யாமம்"},meridiemHour:function(a,b){return 12===a&&(a=0),"யாமம்"===b?a<2?a:a+12:"வைகறை"===b||"காலை"===b?a:"நண்பகல்"===b&&a>=10?a:a+12},week:{dow:0,doy:6}}), | |
432 | //! moment.js locale configuration | |
433 | //! locale : Telugu [te] | |
434 | //! author : Krishna Chaitanya Thota : https://github.com/kcthota | |
435 | a.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జూలై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జూలై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(a,b){return 12===a&&(a=0),"రాత్రి"===b?a<4?a:a+12:"ఉదయం"===b?a:"మధ్యాహ్నం"===b?a>=10?a:a+12:"సాయంత్రం"===b?a+12:void 0},meridiem:function(a,b,c){return a<4?"రాత్రి":a<10?"ఉదయం":a<17?"మధ్యాహ్నం":a<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}}), | |
436 | //! moment.js locale configuration | |
437 | //! locale : Tetun Dili (East Timor) [tet] | |
438 | //! author : Joshua Brooks : https://github.com/joshbrooks | |
439 | //! author : Onorio De J. Afonso : https://github.com/marobo | |
440 | a.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juniu_Juliu_Augustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Aug_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sexta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sext_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Sex_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"minutu balun",m:"minutu ida",mm:"minutus %d",h:"horas ida",hh:"horas %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var b=a%10,c=1===~~(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c},week:{dow:1,doy:4}}), | |
441 | //! moment.js locale configuration | |
442 | //! locale : Thai [th] | |
443 | //! author : Kridsada Thanabulpong : https://github.com/sirn | |
444 | a.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(a){return"หลังเที่ยง"===a},meridiem:function(a,b,c){return a<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}}), | |
445 | //! moment.js locale configuration | |
446 | //! locale : Tagalog (Philippines) [tl-ph] | |
447 | //! author : Dan Hagman : https://github.com/hagmandan | |
448 | a.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(a){return a},week:{dow:1,doy:4}}); | |
449 | //! moment.js locale configuration | |
450 | //! locale : Klingon [tlh] | |
451 | //! author : Dominika Kruk : https://github.com/amaranthrose | |
452 | var Rh="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");a.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:ie,past:je,s:"puS lup",m:"wa’ tup",mm:ke,h:"wa’ rep",hh:ke,d:"wa’ jaj",dd:ke,M:"wa’ jar",MM:ke,y:"wa’ DIS",yy:ke},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}); | |
453 | //! moment.js locale configuration | |
454 | //! locale : Turkish [tr] | |
455 | //! authors : Erhan Gundogan : https://github.com/erhangundogan, | |
456 | //! Burak Yiğit Kaya: https://github.com/BYK | |
457 | var Sh={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};a.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[haftaya] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen hafta] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},dayOfMonthOrdinalParse:/\d{1,2}'(inci|nci|üncü|ncı|uncu|ıncı)/,ordinal:function(a){if(0===a)return a+"'ıncı";var b=a%10,c=a%100-b,d=a>=100?100:null;return a+(Sh[b]||Sh[c]||Sh[d])},week:{dow:1,doy:7}}), | |
458 | //! moment.js locale configuration | |
459 | //! locale : Talossan [tzl] | |
460 | //! author : Robin van der Vliet : https://github.com/robin0van0der0v | |
461 | //! author : Iustì Canun | |
462 | a.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(a){return"d'o"===a.toLowerCase()},meridiem:function(a,b,c){return a>11?c?"d'o":"D'O":c?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:me,m:me,mm:me,h:me,hh:me,d:me,dd:me,M:me,MM:me,y:me,yy:me},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}), | |
463 | //! moment.js locale configuration | |
464 | //! locale : Central Atlas Tamazight Latin [tzm-latn] | |
465 | //! author : Abdel Said : https://github.com/abdelsaid | |
466 | a.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}}), | |
467 | //! moment.js locale configuration | |
468 | //! locale : Central Atlas Tamazight [tzm] | |
469 | //! author : Abdel Said : https://github.com/abdelsaid | |
470 | a.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}}),a.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:pe,weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:qe("[Сьогодні "),nextDay:qe("[Завтра "),lastDay:qe("[Вчора "),nextWeek:qe("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return qe("[Минулої] dddd [").call(this);case 1:case 2:case 4:return qe("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:oe,mm:oe,h:"годину",hh:oe,d:"день",dd:oe,M:"місяць",MM:oe,y:"рік",yy:oe},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(a){return/^(дня|вечора)$/.test(a)},meridiem:function(a,b,c){return a<4?"ночі":a<12?"ранку":a<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(a,b){switch(b){case"M":case"d":case"DDD":case"w":case"W":return a+"-й";case"D":return a+"-го";default:return a}},week:{dow:1,doy:7}}); | |
471 | //! moment.js locale configuration | |
472 | //! locale : Urdu [ur] | |
473 | //! author : Sawood Alam : https://github.com/ibnesayeed | |
474 | //! author : Zack : https://github.com/ZackVision | |
475 | var Th=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],Uh=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"]; | |
476 | //! moment.js locale configuration | |
477 | //! locale : Uzbek Latin [uz-latn] | |
478 | //! author : Rasulbek Mirzayev : github.com/Rasulbeeek | |
479 | //! moment.js locale configuration | |
480 | //! locale : Uzbek [uz] | |
481 | //! author : Sardor Muminov : https://github.com/muminoff | |
482 | //! moment.js locale configuration | |
483 | //! locale : Vietnamese [vi] | |
484 | //! author : Bang Nguyen : https://github.com/bangnk | |
485 | //! moment.js locale configuration | |
486 | //! locale : Pseudo [x-pseudo] | |
487 | //! author : Andrew Hood : https://github.com/andrewhood125 | |
488 | //! moment.js locale configuration | |
489 | //! locale : Yoruba Nigeria [yo] | |
490 | //! author : Atolagbe Abisoye : https://github.com/andela-batolagbe | |
491 | //! moment.js locale configuration | |
492 | //! locale : Chinese (China) [zh-cn] | |
493 | //! author : suupic : https://github.com/suupic | |
494 | //! author : Zeno Zeng : https://github.com/zenozeng | |
495 | //! moment.js locale configuration | |
496 | //! locale : Chinese (Hong Kong) [zh-hk] | |
497 | //! author : Ben : https://github.com/ben-lin | |
498 | //! author : Chris Lam : https://github.com/hehachris | |
499 | //! author : Konstantin : https://github.com/skfd | |
500 | //! moment.js locale configuration | |
501 | //! locale : Chinese (Taiwan) [zh-tw] | |
502 | //! author : Ben : https://github.com/ben-lin | |
503 | //! author : Chris Lam : https://github.com/hehachris | |
504 | return a.defineLocale("ur",{months:Th,monthsShort:Th,weekdays:Uh,weekdaysShort:Uh,weekdaysMin:Uh,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(a){return"شام"===a},meridiem:function(a,b,c){return a<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(a){return a.replace(/،/g,",")},postformat:function(a){return a.replace(/,/g,"،")},week:{dow:1,doy:4}}),a.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}}),a.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}}),a.defineLocale("vi",{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("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(a){return/^ch$/i.test(a)},meridiem:function(a,b,c){return a<12?c?"sa":"SA":c?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần rồi lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(a){return a},week:{dow:1,doy:4}}),a.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(a){var b=a%10,c=1===~~(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c},week:{dow:1,doy:4}}),a.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}}),a.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY年MMMD日",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日Ah点mm分",LLLL:"YYYY年MMMD日ddddAh点mm分",l:"YYYY年MMMD日",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日 HH:mm",llll:"YYYY年MMMD日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(a,b){return 12===a&&(a=0),"凌晨"===b||"早上"===b||"上午"===b?a:"下午"===b||"晚上"===b?a+12:a>=11?a:a+12},meridiem:function(a,b,c){var d=100*a+b;return d<600?"凌晨":d<900?"早上":d<1130?"上午":d<1230?"中午":d<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(a,b){switch(b){case"d":case"D":case"DDD":return a+"日";case"M":return a+"月";case"w":case"W":return a+"周";default:return a}},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}}),a.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY年MMMD日",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日 HH:mm",LLLL:"YYYY年MMMD日dddd HH:mm",l:"YYYY年MMMD日",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日 HH:mm",llll:"YYYY年MMMD日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(a,b){return 12===a&&(a=0),"凌晨"===b||"早上"===b||"上午"===b?a:"中午"===b?a>=11?a:a+12:"下午"===b||"晚上"===b?a+12:void 0},meridiem:function(a,b,c){var d=100*a+b;return d<600?"凌晨":d<900?"早上":d<1130?"上午":d<1230?"中午":d<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(a,b){switch(b){case"d":case"D":case"DDD":return a+"日";case"M":return a+"月";case"w":case"W":return a+"週";default:return a}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}}),a.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY年MMMD日",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日 HH:mm",LLLL:"YYYY年MMMD日dddd HH:mm",l:"YYYY年MMMD日",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日 HH:mm",llll:"YYYY年MMMD日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(a,b){return 12===a&&(a=0),"凌晨"===b||"早上"===b||"上午"===b?a:"中午"===b?a>=11?a:a+12:"下午"===b||"晚上"===b?a+12:void 0},meridiem:function(a,b,c){var d=100*a+b;return d<600?"凌晨":d<900?"早上":d<1130?"上午":d<1230?"中午":d<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(a,b){switch(b){case"d":case"D":case"DDD":return a+"日";case"M":return a+"月";case"w":case"W":return a+"週";default:return a}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}}),a.locale("en"),a});⏎ | |
0 | !function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a():"function"==typeof define&&define.amd?define(a):e.moment=a()}(this,function(){"use strict";function e(){return ct.apply(null,arguments)}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function t(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function n(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var a;for(a in e)if(e.hasOwnProperty(a))return!1;return!0}function s(e){return void 0===e}function r(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function d(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function _(e,a){var t,n=[];for(t=0;t<e.length;++t)n.push(a(e[t],t));return n}function i(e,a){return Object.prototype.hasOwnProperty.call(e,a)}function o(e,a){for(var t in a)i(a,t)&&(e[t]=a[t]);return i(a,"toString")&&(e.toString=a.toString),i(a,"valueOf")&&(e.valueOf=a.valueOf),e}function m(e,a,t,n){return Re(e,a,t,n,!0).utc()}function u(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function l(e){return null==e._pf&&(e._pf=u()),e._pf}function M(e){if(null==e._isValid){var a=l(e),t=Yt.call(a.parsedDateParts,function(e){return null!=e}),n=!isNaN(e._d.getTime())&&a.overflow<0&&!a.empty&&!a.invalidMonth&&!a.invalidWeekday&&!a.weekdayMismatch&&!a.nullInput&&!a.invalidFormat&&!a.userInvalidated&&(!a.meridiem||a.meridiem&&t);if(e._strict&&(n=n&&0===a.charsLeftOver&&0===a.unusedTokens.length&&void 0===a.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return n;e._isValid=n}return e._isValid}function h(e){var a=m(NaN);return null!=e?o(l(a),e):l(a).userInvalidated=!0,a}function L(e,a){var t,n,r;if(s(a._isAMomentObject)||(e._isAMomentObject=a._isAMomentObject),s(a._i)||(e._i=a._i),s(a._f)||(e._f=a._f),s(a._l)||(e._l=a._l),s(a._strict)||(e._strict=a._strict),s(a._tzm)||(e._tzm=a._tzm),s(a._isUTC)||(e._isUTC=a._isUTC),s(a._offset)||(e._offset=a._offset),s(a._pf)||(e._pf=l(a)),s(a._locale)||(e._locale=a._locale),yt.length>0)for(t=0;t<yt.length;t++)s(r=a[n=yt[t]])||(e[n]=r);return e}function c(a){L(this,a),this._d=new Date(null!=a._d?a._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===ft&&(ft=!0,e.updateOffset(this),ft=!1)}function Y(e){return e instanceof c||null!=e&&null!=e._isAMomentObject}function y(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function f(e){var a=+e,t=0;return 0!==a&&isFinite(a)&&(t=y(a)),t}function p(e,a,t){var n,s=Math.min(e.length,a.length),r=Math.abs(e.length-a.length),d=0;for(n=0;n<s;n++)(t&&e[n]!==a[n]||!t&&f(e[n])!==f(a[n]))&&d++;return d+r}function k(a){!1===e.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+a)}function D(a,t){var n=!0;return o(function(){if(null!=e.deprecationHandler&&e.deprecationHandler(null,a),n){for(var s,r=[],d=0;d<arguments.length;d++){if(s="","object"==typeof arguments[d]){s+="\n["+d+"] ";for(var _ in arguments[0])s+=_+": "+arguments[0][_]+", ";s=s.slice(0,-2)}else s=arguments[d];r.push(s)}k(a+"\nArguments: "+Array.prototype.slice.call(r).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)},t)}function T(a,t){null!=e.deprecationHandler&&e.deprecationHandler(a,t),pt[a]||(k(t),pt[a]=!0)}function g(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function w(e,a){var n,s=o({},e);for(n in a)i(a,n)&&(t(e[n])&&t(a[n])?(s[n]={},o(s[n],e[n]),o(s[n],a[n])):null!=a[n]?s[n]=a[n]:delete s[n]);for(n in e)i(e,n)&&!i(a,n)&&t(e[n])&&(s[n]=o({},s[n]));return s}function v(e){null!=e&&this.set(e)}function S(e,a){var t=e.toLowerCase();vt[t]=vt[t+"s"]=vt[a]=e}function H(e){return"string"==typeof e?vt[e]||vt[e.toLowerCase()]:void 0}function b(e){var a,t,n={};for(t in e)i(e,t)&&(a=H(t))&&(n[a]=e[t]);return n}function j(e,a){St[e]=a}function x(e){var a=[];for(var t in e)a.push({unit:t,priority:St[t]});return a.sort(function(e,a){return e.priority-a.priority}),a}function P(e,a,t){var n=""+Math.abs(e),s=a-n.length;return(e>=0?t?"+":"":"-")+Math.pow(10,Math.max(0,s)).toString().substr(1)+n}function O(e,a,t,n){var s=n;"string"==typeof n&&(s=function(){return this[n]()}),e&&(xt[e]=s),a&&(xt[a[0]]=function(){return P(s.apply(this,arguments),a[1],a[2])}),t&&(xt[t]=function(){return this.localeData().ordinal(s.apply(this,arguments),e)})}function W(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function E(e){var a,t,n=e.match(Ht);for(a=0,t=n.length;a<t;a++)xt[n[a]]?n[a]=xt[n[a]]:n[a]=W(n[a]);return function(a){var s,r="";for(s=0;s<t;s++)r+=g(n[s])?n[s].call(a,e):n[s];return r}}function A(e,a){return e.isValid()?(a=F(a,e.localeData()),jt[a]=jt[a]||E(a),jt[a](e)):e.localeData().invalidDate()}function F(e,a){var t=5;for(bt.lastIndex=0;t>=0&&bt.test(e);)e=e.replace(bt,function(e){return a.longDateFormat(e)||e}),bt.lastIndex=0,t-=1;return e}function z(e,a,t){Zt[e]=g(a)?a:function(e,n){return e&&t?t:a}}function J(e,a){return i(Zt,e)?Zt[e](a._strict,a._locale):new RegExp(N(e))}function N(e){return R(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,a,t,n,s){return a||t||n||s}))}function R(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function C(e,a){var t,n=a;for("string"==typeof e&&(e=[e]),r(a)&&(n=function(e,t){t[a]=f(e)}),t=0;t<e.length;t++)qt[e[t]]=n}function I(e,a){C(e,function(e,t,n,s){n._w=n._w||{},a(e,n._w,n,s)})}function G(e,a,t){null!=a&&i(qt,e)&&qt[e](a,t._a,t,e)}function U(e){return V(e)?366:365}function V(e){return e%4==0&&e%100!=0||e%400==0}function K(a,t){return function(n){return null!=n?(Z(this,a,n),e.updateOffset(this,t),this):$(this,a)}}function $(e,a){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+a]():NaN}function Z(e,a,t){e.isValid()&&!isNaN(t)&&("FullYear"===a&&V(e.year())?e._d["set"+(e._isUTC?"UTC":"")+a](t,e.month(),B(t,e.month())):e._d["set"+(e._isUTC?"UTC":"")+a](t))}function q(e,a){return(e%a+a)%a}function B(e,a){if(isNaN(e)||isNaN(a))return NaN;var t=q(a,12);return e+=(a-t)/12,1===t?V(e)?29:28:31-t%7%2}function Q(e,a,t){var n,s,r,d=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)r=m([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(r,"").toLocaleLowerCase();return t?"MMM"===a?-1!==(s=dn.call(this._shortMonthsParse,d))?s:null:-1!==(s=dn.call(this._longMonthsParse,d))?s:null:"MMM"===a?-1!==(s=dn.call(this._shortMonthsParse,d))?s:-1!==(s=dn.call(this._longMonthsParse,d))?s:null:-1!==(s=dn.call(this._longMonthsParse,d))?s:-1!==(s=dn.call(this._shortMonthsParse,d))?s:null}function X(e,a){var t;if(!e.isValid())return e;if("string"==typeof a)if(/^\d+$/.test(a))a=f(a);else if(a=e.localeData().monthsParse(a),!r(a))return e;return t=Math.min(e.date(),B(e.year(),a)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](a,t),e}function ee(a){return null!=a?(X(this,a),e.updateOffset(this,!0),this):$(this,"Month")}function ae(){function e(e,a){return a.length-e.length}var a,t,n=[],s=[],r=[];for(a=0;a<12;a++)t=m([2e3,a]),n.push(this.monthsShort(t,"")),s.push(this.months(t,"")),r.push(this.months(t,"")),r.push(this.monthsShort(t,""));for(n.sort(e),s.sort(e),r.sort(e),a=0;a<12;a++)n[a]=R(n[a]),s[a]=R(s[a]);for(a=0;a<24;a++)r[a]=R(r[a]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function te(e,a,t,n,s,r,d){var _=new Date(e,a,t,n,s,r,d);return e<100&&e>=0&&isFinite(_.getFullYear())&&_.setFullYear(e),_}function ne(e){var a=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(a.getUTCFullYear())&&a.setUTCFullYear(e),a}function se(e,a,t){var n=7+a-t;return-((7+ne(e,0,n).getUTCDay()-a)%7)+n-1}function re(e,a,t,n,s){var r,d,_=1+7*(a-1)+(7+t-n)%7+se(e,n,s);return _<=0?d=U(r=e-1)+_:_>U(e)?(r=e+1,d=_-U(e)):(r=e,d=_),{year:r,dayOfYear:d}}function de(e,a,t){var n,s,r=se(e.year(),a,t),d=Math.floor((e.dayOfYear()-r-1)/7)+1;return d<1?n=d+_e(s=e.year()-1,a,t):d>_e(e.year(),a,t)?(n=d-_e(e.year(),a,t),s=e.year()+1):(s=e.year(),n=d),{week:n,year:s}}function _e(e,a,t){var n=se(e,a,t),s=se(e+1,a,t);return(U(e)-n+s)/7}function ie(e,a){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=a.weekdaysParse(e))?e:null:parseInt(e,10)}function oe(e,a){return"string"==typeof e?a.weekdaysParse(e)%7||7:isNaN(e)?null:e}function me(e,a,t){var n,s,r,d=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)r=m([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(r,"").toLocaleLowerCase();return t?"dddd"===a?-1!==(s=dn.call(this._weekdaysParse,d))?s:null:"ddd"===a?-1!==(s=dn.call(this._shortWeekdaysParse,d))?s:null:-1!==(s=dn.call(this._minWeekdaysParse,d))?s:null:"dddd"===a?-1!==(s=dn.call(this._weekdaysParse,d))?s:-1!==(s=dn.call(this._shortWeekdaysParse,d))?s:-1!==(s=dn.call(this._minWeekdaysParse,d))?s:null:"ddd"===a?-1!==(s=dn.call(this._shortWeekdaysParse,d))?s:-1!==(s=dn.call(this._weekdaysParse,d))?s:-1!==(s=dn.call(this._minWeekdaysParse,d))?s:null:-1!==(s=dn.call(this._minWeekdaysParse,d))?s:-1!==(s=dn.call(this._weekdaysParse,d))?s:-1!==(s=dn.call(this._shortWeekdaysParse,d))?s:null}function ue(){function e(e,a){return a.length-e.length}var a,t,n,s,r,d=[],_=[],i=[],o=[];for(a=0;a<7;a++)t=m([2e3,1]).day(a),n=this.weekdaysMin(t,""),s=this.weekdaysShort(t,""),r=this.weekdays(t,""),d.push(n),_.push(s),i.push(r),o.push(n),o.push(s),o.push(r);for(d.sort(e),_.sort(e),i.sort(e),o.sort(e),a=0;a<7;a++)_[a]=R(_[a]),i[a]=R(i[a]),o[a]=R(o[a]);this._weekdaysRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+_.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+d.join("|")+")","i")}function le(){return this.hours()%12||12}function Me(e,a){O(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),a)})}function he(e,a){return a._meridiemParse}function Le(e){return e?e.toLowerCase().replace("_","-"):e}function ce(e){for(var a,t,n,s,r=0;r<e.length;){for(a=(s=Le(e[r]).split("-")).length,t=(t=Le(e[r+1]))?t.split("-"):null;a>0;){if(n=Ye(s.slice(0,a).join("-")))return n;if(t&&t.length>=a&&p(s,t,!0)>=a-1)break;a--}r++}return null}function Ye(e){var a=null;if(!wn[e]&&"undefined"!=typeof module&&module&&module.exports){a=kn._abbr;try{require("moment/locale/"+e)}catch(a){try{require("./locale/"+e)}catch(e){}}ye(a)}return wn[e]}function ye(e,a){var t;return e&&(t=s(a)?pe(e):fe(e,a))&&(kn=t),kn._abbr}function fe(e,a){if(null!==a){var t=gn;if(a.abbr=e,null!=wn[e])T("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),t=wn[e]._config;else if(null!=a.parentLocale){if(null==wn[a.parentLocale])return vn[a.parentLocale]||(vn[a.parentLocale]=[]),vn[a.parentLocale].push({name:e,config:a}),null;t=wn[a.parentLocale]._config}return wn[e]=new v(w(t,a)),vn[e]&&vn[e].forEach(function(e){fe(e.name,e.config)}),ye(e),wn[e]}return delete wn[e],null}function pe(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return kn;if(!a(e)){if(t=Ye(e))return t;e=[e]}return ce(e)}function ke(e){var a,t=e._a;return t&&-2===l(e).overflow&&(a=t[Qt]<0||t[Qt]>11?Qt:t[Xt]<1||t[Xt]>B(t[Bt],t[Qt])?Xt:t[en]<0||t[en]>24||24===t[en]&&(0!==t[an]||0!==t[tn]||0!==t[nn])?en:t[an]<0||t[an]>59?an:t[tn]<0||t[tn]>59?tn:t[nn]<0||t[nn]>999?nn:-1,l(e)._overflowDayOfYear&&(a<Bt||a>Xt)&&(a=Xt),l(e)._overflowWeeks&&-1===a&&(a=sn),l(e)._overflowWeekday&&-1===a&&(a=rn),l(e).overflow=a),e}function De(e,a,t){return null!=e?e:null!=a?a:t}function Te(a){var t=new Date(e.now());return a._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function ge(e){var a,t,n,s,r=[];if(!e._d){for(n=Te(e),e._w&&null==e._a[Xt]&&null==e._a[Qt]&&we(e),null!=e._dayOfYear&&(s=De(e._a[Bt],n[Bt]),(e._dayOfYear>U(s)||0===e._dayOfYear)&&(l(e)._overflowDayOfYear=!0),t=ne(s,0,e._dayOfYear),e._a[Qt]=t.getUTCMonth(),e._a[Xt]=t.getUTCDate()),a=0;a<3&&null==e._a[a];++a)e._a[a]=r[a]=n[a];for(;a<7;a++)e._a[a]=r[a]=null==e._a[a]?2===a?1:0:e._a[a];24===e._a[en]&&0===e._a[an]&&0===e._a[tn]&&0===e._a[nn]&&(e._nextDay=!0,e._a[en]=0),e._d=(e._useUTC?ne:te).apply(null,r),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[en]=24),e._w&&void 0!==e._w.d&&e._w.d!==e._d.getDay()&&(l(e).weekdayMismatch=!0)}}function we(e){var a,t,n,s,r,d,_,i;if(null!=(a=e._w).GG||null!=a.W||null!=a.E)r=1,d=4,t=De(a.GG,e._a[Bt],de(Ce(),1,4).year),n=De(a.W,1),((s=De(a.E,1))<1||s>7)&&(i=!0);else{r=e._locale._week.dow,d=e._locale._week.doy;var o=de(Ce(),r,d);t=De(a.gg,e._a[Bt],o.year),n=De(a.w,o.week),null!=a.d?((s=a.d)<0||s>6)&&(i=!0):null!=a.e?(s=a.e+r,(a.e<0||a.e>6)&&(i=!0)):s=r}n<1||n>_e(t,r,d)?l(e)._overflowWeeks=!0:null!=i?l(e)._overflowWeekday=!0:(_=re(t,n,s,r,d),e._a[Bt]=_.year,e._dayOfYear=_.dayOfYear)}function ve(e){var a,t,n,s,r,d,_=e._i,i=Sn.exec(_)||Hn.exec(_);if(i){for(l(e).iso=!0,a=0,t=jn.length;a<t;a++)if(jn[a][1].exec(i[1])){s=jn[a][0],n=!1!==jn[a][2];break}if(null==s)return void(e._isValid=!1);if(i[3]){for(a=0,t=xn.length;a<t;a++)if(xn[a][1].exec(i[3])){r=(i[2]||" ")+xn[a][0];break}if(null==r)return void(e._isValid=!1)}if(!n&&null!=r)return void(e._isValid=!1);if(i[4]){if(!bn.exec(i[4]))return void(e._isValid=!1);d="Z"}e._f=s+(r||"")+(d||""),We(e)}else e._isValid=!1}function Se(e,a,t,n,s,r){var d=[He(e),un.indexOf(a),parseInt(t,10),parseInt(n,10),parseInt(s,10)];return r&&d.push(parseInt(r,10)),d}function He(e){var a=parseInt(e,10);return a<=49?2e3+a:a<=999?1900+a:a}function be(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}function je(e,a,t){return!e||cn.indexOf(e)===new Date(a[0],a[1],a[2]).getDay()||(l(t).weekdayMismatch=!0,t._isValid=!1,!1)}function xe(e,a,t){if(e)return Wn[e];if(a)return 0;var n=parseInt(t,10),s=n%100;return 60*((n-s)/100)+s}function Pe(e){var a=On.exec(be(e._i));if(a){var t=Se(a[4],a[3],a[2],a[5],a[6],a[7]);if(!je(a[1],t,e))return;e._a=t,e._tzm=xe(a[8],a[9],a[10]),e._d=ne.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),l(e).rfc2822=!0}else e._isValid=!1}function Oe(a){var t=Pn.exec(a._i);null===t?(ve(a),!1===a._isValid&&(delete a._isValid,Pe(a),!1===a._isValid&&(delete a._isValid,e.createFromInputFallback(a)))):a._d=new Date(+t[1])}function We(a){if(a._f!==e.ISO_8601)if(a._f!==e.RFC_2822){a._a=[],l(a).empty=!0;var t,n,s,r,d,_=""+a._i,i=_.length,o=0;for(s=F(a._f,a._locale).match(Ht)||[],t=0;t<s.length;t++)r=s[t],(n=(_.match(J(r,a))||[])[0])&&((d=_.substr(0,_.indexOf(n))).length>0&&l(a).unusedInput.push(d),_=_.slice(_.indexOf(n)+n.length),o+=n.length),xt[r]?(n?l(a).empty=!1:l(a).unusedTokens.push(r),G(r,n,a)):a._strict&&!n&&l(a).unusedTokens.push(r);l(a).charsLeftOver=i-o,_.length>0&&l(a).unusedInput.push(_),a._a[en]<=12&&!0===l(a).bigHour&&a._a[en]>0&&(l(a).bigHour=void 0),l(a).parsedDateParts=a._a.slice(0),l(a).meridiem=a._meridiem,a._a[en]=Ee(a._locale,a._a[en],a._meridiem),ge(a),ke(a)}else Pe(a);else ve(a)}function Ee(e,a,t){var n;return null==t?a:null!=e.meridiemHour?e.meridiemHour(a,t):null!=e.isPM?((n=e.isPM(t))&&a<12&&(a+=12),n||12!==a||(a=0),a):a}function Ae(e){var a,t,n,s,r;if(0===e._f.length)return l(e).invalidFormat=!0,void(e._d=new Date(NaN));for(s=0;s<e._f.length;s++)r=0,a=L({},e),null!=e._useUTC&&(a._useUTC=e._useUTC),a._f=e._f[s],We(a),M(a)&&(r+=l(a).charsLeftOver,r+=10*l(a).unusedTokens.length,l(a).score=r,(null==n||r<n)&&(n=r,t=a));o(e,t||a)}function Fe(e){if(!e._d){var a=b(e._i);e._a=_([a.year,a.month,a.day||a.date,a.hour,a.minute,a.second,a.millisecond],function(e){return e&&parseInt(e,10)}),ge(e)}}function ze(e){var a=new c(ke(Je(e)));return a._nextDay&&(a.add(1,"d"),a._nextDay=void 0),a}function Je(e){var t=e._i,n=e._f;return e._locale=e._locale||pe(e._l),null===t||void 0===n&&""===t?h({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),Y(t)?new c(ke(t)):(d(t)?e._d=t:a(n)?Ae(e):n?We(e):Ne(e),M(e)||(e._d=null),e))}function Ne(n){var i=n._i;s(i)?n._d=new Date(e.now()):d(i)?n._d=new Date(i.valueOf()):"string"==typeof i?Oe(n):a(i)?(n._a=_(i.slice(0),function(e){return parseInt(e,10)}),ge(n)):t(i)?Fe(n):r(i)?n._d=new Date(i):e.createFromInputFallback(n)}function Re(e,s,r,d,_){var i={};return!0!==r&&!1!==r||(d=r,r=void 0),(t(e)&&n(e)||a(e)&&0===e.length)&&(e=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=_,i._l=r,i._i=e,i._f=s,i._strict=d,ze(i)}function Ce(e,a,t,n){return Re(e,a,t,n,!1)}function Ie(e,t){var n,s;if(1===t.length&&a(t[0])&&(t=t[0]),!t.length)return Ce();for(n=t[0],s=1;s<t.length;++s)t[s].isValid()&&!t[s][e](n)||(n=t[s]);return n}function Ge(e){for(var a in e)if(-1===dn.call(Fn,a)||null!=e[a]&&isNaN(e[a]))return!1;for(var t=!1,n=0;n<Fn.length;++n)if(e[Fn[n]]){if(t)return!1;parseFloat(e[Fn[n]])!==f(e[Fn[n]])&&(t=!0)}return!0}function Ue(e){var a=b(e),t=a.year||0,n=a.quarter||0,s=a.month||0,r=a.week||0,d=a.day||0,_=a.hour||0,i=a.minute||0,o=a.second||0,m=a.millisecond||0;this._isValid=Ge(a),this._milliseconds=+m+1e3*o+6e4*i+1e3*_*60*60,this._days=+d+7*r,this._months=+s+3*n+12*t,this._data={},this._locale=pe(),this._bubble()}function Ve(e){return e instanceof Ue}function Ke(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function $e(e,a){O(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+P(~~(e/60),2)+a+P(~~e%60,2)})}function Ze(e,a){var t=(a||"").match(e);if(null===t)return null;var n=((t[t.length-1]||[])+"").match(zn)||["-",0,0],s=60*n[1]+f(n[2]);return 0===s?0:"+"===n[0]?s:-s}function qe(a,t){var n,s;return t._isUTC?(n=t.clone(),s=(Y(a)||d(a)?a.valueOf():Ce(a).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+s),e.updateOffset(n,!1),n):Ce(a).local()}function Be(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Qe(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Xe(e,a){var t,n,s,d=e,_=null;return Ve(e)?d={ms:e._milliseconds,d:e._days,M:e._months}:r(e)?(d={},a?d[a]=e:d.milliseconds=e):(_=Jn.exec(e))?(t="-"===_[1]?-1:1,d={y:0,d:f(_[Xt])*t,h:f(_[en])*t,m:f(_[an])*t,s:f(_[tn])*t,ms:f(Ke(1e3*_[nn]))*t}):(_=Nn.exec(e))?(t="-"===_[1]?-1:(_[1],1),d={y:ea(_[2],t),M:ea(_[3],t),w:ea(_[4],t),d:ea(_[5],t),h:ea(_[6],t),m:ea(_[7],t),s:ea(_[8],t)}):null==d?d={}:"object"==typeof d&&("from"in d||"to"in d)&&(s=ta(Ce(d.from),Ce(d.to)),(d={}).ms=s.milliseconds,d.M=s.months),n=new Ue(d),Ve(e)&&i(e,"_locale")&&(n._locale=e._locale),n}function ea(e,a){var t=e&&parseFloat(e.replace(",","."));return(isNaN(t)?0:t)*a}function aa(e,a){var t={milliseconds:0,months:0};return t.months=a.month()-e.month()+12*(a.year()-e.year()),e.clone().add(t.months,"M").isAfter(a)&&--t.months,t.milliseconds=+a-+e.clone().add(t.months,"M"),t}function ta(e,a){var t;return e.isValid()&&a.isValid()?(a=qe(a,e),e.isBefore(a)?t=aa(e,a):((t=aa(a,e)).milliseconds=-t.milliseconds,t.months=-t.months),t):{milliseconds:0,months:0}}function na(e,a){return function(t,n){var s,r;return null===n||isNaN(+n)||(T(a,"moment()."+a+"(period, number) is deprecated. Please use moment()."+a+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=t,t=n,n=r),t="string"==typeof t?+t:t,s=Xe(t,n),sa(this,s,e),this}}function sa(a,t,n,s){var r=t._milliseconds,d=Ke(t._days),_=Ke(t._months);a.isValid()&&(s=null==s||s,_&&X(a,$(a,"Month")+_*n),d&&Z(a,"Date",$(a,"Date")+d*n),r&&a._d.setTime(a._d.valueOf()+r*n),s&&e.updateOffset(a,d||_))}function ra(e,a){var t,n=12*(a.year()-e.year())+(a.month()-e.month()),s=e.clone().add(n,"months");return t=a-s<0?(a-s)/(s-e.clone().add(n-1,"months")):(a-s)/(e.clone().add(n+1,"months")-s),-(n+t)||0}function da(e){var a;return void 0===e?this._locale._abbr:(null!=(a=pe(e))&&(this._locale=a),this)}function _a(){return this._locale}function ia(e,a){O(0,[e,e.length],0,a)}function oa(e,a,t,n,s){var r;return null==e?de(this,n,s).year:(r=_e(e,n,s),a>r&&(a=r),ma.call(this,e,a,t,n,s))}function ma(e,a,t,n,s){var r=re(e,a,t,n,s),d=ne(r.year,0,r.dayOfYear);return this.year(d.getUTCFullYear()),this.month(d.getUTCMonth()),this.date(d.getUTCDate()),this}function ua(e){return e}function la(e,a,t,n){var s=pe(),r=m().set(n,a);return s[t](r,e)}function Ma(e,a,t){if(r(e)&&(a=e,e=void 0),e=e||"",null!=a)return la(e,a,t,"month");var n,s=[];for(n=0;n<12;n++)s[n]=la(e,n,t,"month");return s}function ha(e,a,t,n){"boolean"==typeof e?(r(a)&&(t=a,a=void 0),a=a||""):(t=a=e,e=!1,r(a)&&(t=a,a=void 0),a=a||"");var s=pe(),d=e?s._week.dow:0;if(null!=t)return la(a,(t+d)%7,n,"day");var _,i=[];for(_=0;_<7;_++)i[_]=la(a,(_+d)%7,n,"day");return i}function La(e,a,t,n){var s=Xe(a,t);return e._milliseconds+=n*s._milliseconds,e._days+=n*s._days,e._months+=n*s._months,e._bubble()}function ca(e){return e<0?Math.floor(e):Math.ceil(e)}function Ya(e){return 4800*e/146097}function ya(e){return 146097*e/4800}function fa(e){return function(){return this.as(e)}}function pa(e){return function(){return this.isValid()?this._data[e]:NaN}}function ka(e,a,t,n,s){return s.relativeTime(a||1,!!t,e,n)}function Da(e,a,t){var n=Xe(e).abs(),s=Ms(n.as("s")),r=Ms(n.as("m")),d=Ms(n.as("h")),_=Ms(n.as("d")),i=Ms(n.as("M")),o=Ms(n.as("y")),m=s<=hs.ss&&["s",s]||s<hs.s&&["ss",s]||r<=1&&["m"]||r<hs.m&&["mm",r]||d<=1&&["h"]||d<hs.h&&["hh",d]||_<=1&&["d"]||_<hs.d&&["dd",_]||i<=1&&["M"]||i<hs.M&&["MM",i]||o<=1&&["y"]||["yy",o];return m[2]=a,m[3]=+e>0,m[4]=t,ka.apply(null,m)}function Ta(e){return(e>0)-(e<0)||+e}function ga(){if(!this.isValid())return this.localeData().invalidDate();var e,a,t,n=Ls(this._milliseconds)/1e3,s=Ls(this._days),r=Ls(this._months);a=y((e=y(n/60))/60),n%=60,e%=60;var d=t=y(r/12),_=r%=12,i=s,o=a,m=e,u=n?n.toFixed(3).replace(/\.?0+$/,""):"",l=this.asSeconds();if(!l)return"P0D";var M=l<0?"-":"",h=Ta(this._months)!==Ta(l)?"-":"",L=Ta(this._days)!==Ta(l)?"-":"",c=Ta(this._milliseconds)!==Ta(l)?"-":"";return M+"P"+(d?h+d+"Y":"")+(_?h+_+"M":"")+(i?L+i+"D":"")+(o||m||u?"T":"")+(o?c+o+"H":"")+(m?c+m+"M":"")+(u?c+u+"S":"")}function wa(e,a){var t=e.split("_");return a%10==1&&a%100!=11?t[0]:a%10>=2&&a%10<=4&&(a%100<10||a%100>=20)?t[1]:t[2]}function va(e,a,t){var n={mm:a?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:a?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"};return"m"===t?a?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===t?a?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":e+" "+wa(n[t],+e)}function Sa(e,a,t){return e+" "+ba({mm:"munutenn",MM:"miz",dd:"devezh"}[t],e)}function Ha(e){return e>9?Ha(e%10):e}function ba(e,a){return 2===a?ja(e):e}function ja(e){var a={m:"v",b:"v",d:"z"};return void 0===a[e.charAt(0)]?e:a[e.charAt(0)]+e.substring(1)}function xa(e,a,t){var n=e+" ";switch(t){case"m":return a?"jedna minuta":"jedne minute";case"mm":return n+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return a?"jedan sat":"jednog sata";case"hh":return n+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return n+=1===e?"dan":"dana";case"MM":return n+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return n+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}function Pa(e){return e>1&&e<5&&1!=~~(e/10)}function Oa(e,a,t,n){var s=e+" ";switch(t){case"s":return a||n?"p\xe1r sekund":"p\xe1r sekundami";case"m":return a?"minuta":n?"minutu":"minutou";case"mm":return a||n?s+(Pa(e)?"minuty":"minut"):s+"minutami";break;case"h":return a?"hodina":n?"hodinu":"hodinou";case"hh":return a||n?s+(Pa(e)?"hodiny":"hodin"):s+"hodinami";break;case"d":return a||n?"den":"dnem";case"dd":return a||n?s+(Pa(e)?"dny":"dn\xed"):s+"dny";break;case"M":return a||n?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return a||n?s+(Pa(e)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):s+"m\u011bs\xedci";break;case"y":return a||n?"rok":"rokem";case"yy":return a||n?s+(Pa(e)?"roky":"let"):s+"lety";break}}function Wa(e,a,t,n){var s={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return a?s[t][0]:s[t][1]}function Ea(e,a,t,n){var s={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return a?s[t][0]:s[t][1]}function Aa(e,a,t,n){var s={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return a?s[t][0]:s[t][1]}function Fa(e,a,t,n){var s={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[e+" minuti",e+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[e+" tunni",e+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[e+" kuu",e+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[e+" aasta",e+" aastat"]};return a?s[t][2]?s[t][2]:s[t][1]:n?s[t][0]:s[t][1]}function za(e,a,t,n){var s="";switch(t){case"s":return n?"muutaman sekunnin":"muutama sekunti";case"m":return n?"minuutin":"minuutti";case"mm":s=n?"minuutin":"minuuttia";break;case"h":return n?"tunnin":"tunti";case"hh":s=n?"tunnin":"tuntia";break;case"d":return n?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":s=n?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return n?"kuukauden":"kuukausi";case"MM":s=n?"kuukauden":"kuukautta";break;case"y":return n?"vuoden":"vuosi";case"yy":s=n?"vuoden":"vuotta";break}return s=Ja(e,n)+" "+s}function Ja(e,a){return e<10?a?Qs[e]:Bs[e]:e}function Na(e,a,t,n){var s={s:["thodde secondanim","thodde second"],m:["eka mintan","ek minute"],mm:[e+" mintanim",e+" mintam"],h:["eka horan","ek hor"],hh:[e+" horanim",e+" hor"],d:["eka disan","ek dis"],dd:[e+" disanim",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineanim",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsanim",e+" vorsam"]};return a?s[t][0]:s[t][1]}function Ra(e,a,t){var n=e+" ";switch(t){case"m":return a?"jedna minuta":"jedne minute";case"mm":return n+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return a?"jedan sat":"jednog sata";case"hh":return n+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return n+=1===e?"dan":"dana";case"MM":return n+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return n+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}function Ca(e,a,t,n){var s=e;switch(t){case"s":return n||a?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"m":return"egy"+(n||a?" perc":" perce");case"mm":return s+(n||a?" perc":" perce");case"h":return"egy"+(n||a?" \xf3ra":" \xf3r\xe1ja");case"hh":return s+(n||a?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(n||a?" nap":" napja");case"dd":return s+(n||a?" nap":" napja");case"M":return"egy"+(n||a?" h\xf3nap":" h\xf3napja");case"MM":return s+(n||a?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(n||a?" \xe9v":" \xe9ve");case"yy":return s+(n||a?" \xe9v":" \xe9ve")}return""}function Ia(e){return(e?"":"[m\xfalt] ")+"["+mr[this.day()]+"] LT[-kor]"}function Ga(e){return e%100==11||e%10!=1}function Ua(e,a,t,n){var s=e+" ";switch(t){case"s":return a||n?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"m":return a?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return Ga(e)?s+(a||n?"m\xedn\xfatur":"m\xedn\xfatum"):a?s+"m\xedn\xfata":s+"m\xedn\xfatu";case"hh":return Ga(e)?s+(a||n?"klukkustundir":"klukkustundum"):s+"klukkustund";case"d":return a?"dagur":n?"dag":"degi";case"dd":return Ga(e)?a?s+"dagar":s+(n?"daga":"d\xf6gum"):a?s+"dagur":s+(n?"dag":"degi");case"M":return a?"m\xe1nu\xf0ur":n?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return Ga(e)?a?s+"m\xe1nu\xf0ir":s+(n?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):a?s+"m\xe1nu\xf0ur":s+(n?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return a||n?"\xe1r":"\xe1ri";case"yy":return Ga(e)?s+(a||n?"\xe1r":"\xe1rum"):s+(a||n?"\xe1r":"\xe1ri")}}function Va(e,a,t,n){var s={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return a?s[t][0]:s[t][1]}function Ka(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var a=e%10,t=e/10;return Ka(0===a?t:a)}if(e<1e4){for(;e>=10;)e/=10;return Ka(e)}return e/=1e3,Ka(e)}function $a(e,a,t,n){return a?qa(t)[0]:n?qa(t)[1]:qa(t)[2]}function Za(e){return e%10==0||e>10&&e<20}function qa(e){return Lr[e].split("_")}function Ba(e,a,t,n){var s=e+" ";return 1===e?s+$a(e,a,t[0],n):a?s+(Za(e)?qa(t)[1]:qa(t)[0]):n?s+qa(t)[1]:s+(Za(e)?qa(t)[1]:qa(t)[2])}function Qa(e,a,t){return t?a%10==1&&a%100!=11?e[2]:e[3]:a%10==1&&a%100!=11?e[0]:e[1]}function Xa(e,a,t){return e+" "+Qa(cr[t],e,a)}function et(e,a,t){return Qa(cr[t],e,a)}function at(e,a,t,n){var s="";if(a)switch(t){case"s":s="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"m":s="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":s="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":s="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":s="%d \u0924\u093e\u0938";break;case"d":s="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":s="%d \u0926\u093f\u0935\u0938";break;case"M":s="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":s="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":s="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":s="%d \u0935\u0930\u094d\u0937\u0947";break}else switch(t){case"s":s="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":s="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":s="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":s="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":s="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":s="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":s="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":s="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":s="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":s="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":s="%d \u0935\u0930\u094d\u0937\u093e\u0902";break}return s.replace(/%d/i,e)}function tt(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function nt(e,a,t){var n=e+" ";switch(t){case"m":return a?"minuta":"minut\u0119";case"mm":return n+(tt(e)?"minuty":"minut");case"h":return a?"godzina":"godzin\u0119";case"hh":return n+(tt(e)?"godziny":"godzin");case"MM":return n+(tt(e)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return n+(tt(e)?"lata":"lat")}}function st(e,a,t){var n={mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"},s=" ";return(e%100>=20||e>=100&&e%100==0)&&(s=" de "),e+s+n[t]}function rt(e,a){var t=e.split("_");return a%10==1&&a%100!=11?t[0]:a%10>=2&&a%10<=4&&(a%100<10||a%100>=20)?t[1]:t[2]}function dt(e,a,t){var n={mm:a?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"};return"m"===t?a?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":e+" "+rt(n[t],+e)}function _t(e){return e>1&&e<5}function it(e,a,t,n){var s=e+" ";switch(t){case"s":return a||n?"p\xe1r sek\xfand":"p\xe1r sekundami";case"m":return a?"min\xfata":n?"min\xfatu":"min\xfatou";case"mm":return a||n?s+(_t(e)?"min\xfaty":"min\xfat"):s+"min\xfatami";break;case"h":return a?"hodina":n?"hodinu":"hodinou";case"hh":return a||n?s+(_t(e)?"hodiny":"hod\xedn"):s+"hodinami";break;case"d":return a||n?"de\u0148":"d\u0148om";case"dd":return a||n?s+(_t(e)?"dni":"dn\xed"):s+"d\u0148ami";break;case"M":return a||n?"mesiac":"mesiacom";case"MM":return a||n?s+(_t(e)?"mesiace":"mesiacov"):s+"mesiacmi";break;case"y":return a||n?"rok":"rokom";case"yy":return a||n?s+(_t(e)?"roky":"rokov"):s+"rokmi";break}}function ot(e,a,t,n){var s=e+" ";switch(t){case"s":return a||n?"nekaj sekund":"nekaj sekundami";case"m":return a?"ena minuta":"eno minuto";case"mm":return s+=1===e?a?"minuta":"minuto":2===e?a||n?"minuti":"minutama":e<5?a||n?"minute":"minutami":a||n?"minut":"minutami";case"h":return a?"ena ura":"eno uro";case"hh":return s+=1===e?a?"ura":"uro":2===e?a||n?"uri":"urama":e<5?a||n?"ure":"urami":a||n?"ur":"urami";case"d":return a||n?"en dan":"enim dnem";case"dd":return s+=1===e?a||n?"dan":"dnem":2===e?a||n?"dni":"dnevoma":a||n?"dni":"dnevi";case"M":return a||n?"en mesec":"enim mesecem";case"MM":return s+=1===e?a||n?"mesec":"mesecem":2===e?a||n?"meseca":"mesecema":e<5?a||n?"mesece":"meseci":a||n?"mesecev":"meseci";case"y":return a||n?"eno leto":"enim letom";case"yy":return s+=1===e?a||n?"leto":"letom":2===e?a||n?"leti":"letoma":e<5?a||n?"leta":"leti":a||n?"let":"leti"}}function mt(e,a,t,n){var s=ut(e);switch(t){case"mm":return s+" tup";case"hh":return s+" rep";case"dd":return s+" jaj";case"MM":return s+" jar";case"yy":return s+" DIS"}}function ut(e){var a=Math.floor(e%1e3/100),t=Math.floor(e%100/10),n=e%10,s="";return a>0&&(s+=Ur[a]+"vatlh"),t>0&&(s+=(""!==s?" ":"")+Ur[t]+"maH"),n>0&&(s+=(""!==s?" ":"")+Ur[n]),""===s?"pagh":s}function lt(e,a,t,n){var s={s:["viensas secunds","'iensas secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[e+" m\xeduts",e+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[e+" \xfeoras",e+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return n?s[t][0]:a?s[t][0]:s[t][1]}function Mt(e,a){var t=e.split("_");return a%10==1&&a%100!=11?t[0]:a%10>=2&&a%10<=4&&(a%100<10||a%100>=20)?t[1]:t[2]}function ht(e,a,t){var n={mm:a?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:a?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"};return"m"===t?a?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===t?a?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":e+" "+Mt(n[t],+e)}function Lt(e){return function(){return e+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}var ct,Yt;Yt=Array.prototype.some?Array.prototype.some:function(e){for(var a=Object(this),t=a.length>>>0,n=0;n<t;n++)if(n in a&&e.call(this,a[n],n,a))return!0;return!1};var yt=e.momentProperties=[],ft=!1,pt={};e.suppressDeprecationWarnings=!1,e.deprecationHandler=null;var kt;kt=Object.keys?Object.keys:function(e){var a,t=[];for(a in e)i(e,a)&&t.push(a);return t};var Dt={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Tt={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},gt=/\d{1,2}/,wt={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},vt={},St={},Ht=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,bt=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,jt={},xt={},Pt=/\d/,Ot=/\d\d/,Wt=/\d{3}/,Et=/\d{4}/,At=/[+-]?\d{6}/,Ft=/\d\d?/,zt=/\d\d\d\d?/,Jt=/\d\d\d\d\d\d?/,Nt=/\d{1,3}/,Rt=/\d{1,4}/,Ct=/[+-]?\d{1,6}/,It=/\d+/,Gt=/[+-]?\d+/,Ut=/Z|[+-]\d\d:?\d\d/gi,Vt=/Z|[+-]\d\d(?::?\d\d)?/gi,Kt=/[+-]?\d+(\.\d{1,3})?/,$t=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Zt={},qt={},Bt=0,Qt=1,Xt=2,en=3,an=4,tn=5,nn=6,sn=7,rn=8;O("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),O(0,["YY",2],0,function(){return this.year()%100}),O(0,["YYYY",4],0,"year"),O(0,["YYYYY",5],0,"year"),O(0,["YYYYYY",6,!0],0,"year"),S("year","y"),j("year",1),z("Y",Gt),z("YY",Ft,Ot),z("YYYY",Rt,Et),z("YYYYY",Ct,At),z("YYYYYY",Ct,At),C(["YYYYY","YYYYYY"],Bt),C("YYYY",function(a,t){t[Bt]=2===a.length?e.parseTwoDigitYear(a):f(a)}),C("YY",function(a,t){t[Bt]=e.parseTwoDigitYear(a)}),C("Y",function(e,a){a[Bt]=parseInt(e,10)}),e.parseTwoDigitYear=function(e){return f(e)+(f(e)>68?1900:2e3)};var dn,_n=K("FullYear",!0);dn=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var a;for(a=0;a<this.length;++a)if(this[a]===e)return a;return-1},O("M",["MM",2],"Mo",function(){return this.month()+1}),O("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),O("MMMM",0,0,function(e){return this.localeData().months(this,e)}),S("month","M"),j("month",8),z("M",Ft),z("MM",Ft,Ot),z("MMM",function(e,a){return a.monthsShortRegex(e)}),z("MMMM",function(e,a){return a.monthsRegex(e)}),C(["M","MM"],function(e,a){a[Qt]=f(e)-1}),C(["MMM","MMMM"],function(e,a,t,n){var s=t._locale.monthsParse(e,n,t._strict);null!=s?a[Qt]=s:l(t).invalidMonth=e});var on=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,mn="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),un="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ln=$t,Mn=$t;O("w",["ww",2],"wo","week"),O("W",["WW",2],"Wo","isoWeek"),S("week","w"),S("isoWeek","W"),j("week",5),j("isoWeek",5),z("w",Ft),z("ww",Ft,Ot),z("W",Ft),z("WW",Ft,Ot),I(["w","ww","W","WW"],function(e,a,t,n){a[n.substr(0,1)]=f(e)});var hn={dow:0,doy:6};O("d",0,"do","day"),O("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),O("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),O("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),O("e",0,0,"weekday"),O("E",0,0,"isoWeekday"),S("day","d"),S("weekday","e"),S("isoWeekday","E"),j("day",11),j("weekday",11),j("isoWeekday",11),z("d",Ft),z("e",Ft),z("E",Ft),z("dd",function(e,a){return a.weekdaysMinRegex(e)}),z("ddd",function(e,a){return a.weekdaysShortRegex(e)}),z("dddd",function(e,a){return a.weekdaysRegex(e)}),I(["dd","ddd","dddd"],function(e,a,t,n){var s=t._locale.weekdaysParse(e,n,t._strict);null!=s?a.d=s:l(t).invalidWeekday=e}),I(["d","e","E"],function(e,a,t,n){a[n]=f(e)});var Ln="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),cn="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Yn="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),yn=$t,fn=$t,pn=$t;O("H",["HH",2],0,"hour"),O("h",["hh",2],0,le),O("k",["kk",2],0,function(){return this.hours()||24}),O("hmm",0,0,function(){return""+le.apply(this)+P(this.minutes(),2)}),O("hmmss",0,0,function(){return""+le.apply(this)+P(this.minutes(),2)+P(this.seconds(),2)}),O("Hmm",0,0,function(){return""+this.hours()+P(this.minutes(),2)}),O("Hmmss",0,0,function(){return""+this.hours()+P(this.minutes(),2)+P(this.seconds(),2)}),Me("a",!0),Me("A",!1),S("hour","h"),j("hour",13),z("a",he),z("A",he),z("H",Ft),z("h",Ft),z("k",Ft),z("HH",Ft,Ot),z("hh",Ft,Ot),z("kk",Ft,Ot),z("hmm",zt),z("hmmss",Jt),z("Hmm",zt),z("Hmmss",Jt),C(["H","HH"],en),C(["k","kk"],function(e,a,t){var n=f(e);a[en]=24===n?0:n}),C(["a","A"],function(e,a,t){t._isPm=t._locale.isPM(e),t._meridiem=e}),C(["h","hh"],function(e,a,t){a[en]=f(e),l(t).bigHour=!0}),C("hmm",function(e,a,t){var n=e.length-2;a[en]=f(e.substr(0,n)),a[an]=f(e.substr(n)),l(t).bigHour=!0}),C("hmmss",function(e,a,t){var n=e.length-4,s=e.length-2;a[en]=f(e.substr(0,n)),a[an]=f(e.substr(n,2)),a[tn]=f(e.substr(s)),l(t).bigHour=!0}),C("Hmm",function(e,a,t){var n=e.length-2;a[en]=f(e.substr(0,n)),a[an]=f(e.substr(n))}),C("Hmmss",function(e,a,t){var n=e.length-4,s=e.length-2;a[en]=f(e.substr(0,n)),a[an]=f(e.substr(n,2)),a[tn]=f(e.substr(s))});var kn,Dn=/[ap]\.?m?\.?/i,Tn=K("Hours",!0),gn={calendar:Dt,longDateFormat:Tt,invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:gt,relativeTime:wt,months:mn,monthsShort:un,week:hn,weekdays:Ln,weekdaysMin:Yn,weekdaysShort:cn,meridiemParse:Dn},wn={},vn={},Sn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Hn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,bn=/Z|[+-]\d\d(?::?\d\d)?/,jn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],xn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Pn=/^\/?Date\((\-?\d+)/i,On=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Wn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};e.createFromInputFallback=D("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),e.ISO_8601=function(){},e.RFC_2822=function(){};var En=D("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Ce.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:h()}),An=D("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Ce.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:h()}),Fn=["year","quarter","month","week","day","hour","minute","second","millisecond"];$e("Z",":"),$e("ZZ",""),z("Z",Vt),z("ZZ",Vt),C(["Z","ZZ"],function(e,a,t){t._useUTC=!0,t._tzm=Ze(Vt,e)});var zn=/([\+\-]|\d\d)/gi;e.updateOffset=function(){};var Jn=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Nn=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;Xe.fn=Ue.prototype,Xe.invalid=function(){return Xe(NaN)};var Rn=na(1,"add"),Cn=na(-1,"subtract");e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",e.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var In=D("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});O(0,["gg",2],0,function(){return this.weekYear()%100}),O(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ia("gggg","weekYear"),ia("ggggg","weekYear"),ia("GGGG","isoWeekYear"),ia("GGGGG","isoWeekYear"),S("weekYear","gg"),S("isoWeekYear","GG"),j("weekYear",1),j("isoWeekYear",1),z("G",Gt),z("g",Gt),z("GG",Ft,Ot),z("gg",Ft,Ot),z("GGGG",Rt,Et),z("gggg",Rt,Et),z("GGGGG",Ct,At),z("ggggg",Ct,At),I(["gggg","ggggg","GGGG","GGGGG"],function(e,a,t,n){a[n.substr(0,2)]=f(e)}),I(["gg","GG"],function(a,t,n,s){t[s]=e.parseTwoDigitYear(a)}),O("Q",0,"Qo","quarter"),S("quarter","Q"),j("quarter",7),z("Q",Pt),C("Q",function(e,a){a[Qt]=3*(f(e)-1)}),O("D",["DD",2],"Do","date"),S("date","D"),j("date",9),z("D",Ft),z("DD",Ft,Ot),z("Do",function(e,a){return e?a._dayOfMonthOrdinalParse||a._ordinalParse:a._dayOfMonthOrdinalParseLenient}),C(["D","DD"],Xt),C("Do",function(e,a){a[Xt]=f(e.match(Ft)[0],10)});var Gn=K("Date",!0);O("DDD",["DDDD",3],"DDDo","dayOfYear"),S("dayOfYear","DDD"),j("dayOfYear",4),z("DDD",Nt),z("DDDD",Wt),C(["DDD","DDDD"],function(e,a,t){t._dayOfYear=f(e)}),O("m",["mm",2],0,"minute"),S("minute","m"),j("minute",14),z("m",Ft),z("mm",Ft,Ot),C(["m","mm"],an);var Un=K("Minutes",!1);O("s",["ss",2],0,"second"),S("second","s"),j("second",15),z("s",Ft),z("ss",Ft,Ot),C(["s","ss"],tn);var Vn=K("Seconds",!1);O("S",0,0,function(){return~~(this.millisecond()/100)}),O(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),O(0,["SSS",3],0,"millisecond"),O(0,["SSSS",4],0,function(){return 10*this.millisecond()}),O(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),O(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),O(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),O(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),O(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),S("millisecond","ms"),j("millisecond",16),z("S",Nt,Pt),z("SS",Nt,Ot),z("SSS",Nt,Wt);var Kn;for(Kn="SSSS";Kn.length<=9;Kn+="S")z(Kn,It);for(Kn="S";Kn.length<=9;Kn+="S")C(Kn,function(e,a){a[nn]=f(1e3*("0."+e))});var $n=K("Milliseconds",!1);O("z",0,0,"zoneAbbr"),O("zz",0,0,"zoneName");var Zn=c.prototype;Zn.add=Rn,Zn.calendar=function(a,t){var n=a||Ce(),s=qe(n,this).startOf("day"),r=e.calendarFormat(this,s)||"sameElse",d=t&&(g(t[r])?t[r].call(this,n):t[r]);return this.format(d||this.localeData().calendar(r,this,Ce(n)))},Zn.clone=function(){return new c(this)},Zn.diff=function(e,a,t){var n,s,r;if(!this.isValid())return NaN;if(!(n=qe(e,this)).isValid())return NaN;switch(s=6e4*(n.utcOffset()-this.utcOffset()),a=H(a)){case"year":r=ra(this,n)/12;break;case"month":r=ra(this,n);break;case"quarter":r=ra(this,n)/3;break;case"second":r=(this-n)/1e3;break;case"minute":r=(this-n)/6e4;break;case"hour":r=(this-n)/36e5;break;case"day":r=(this-n-s)/864e5;break;case"week":r=(this-n-s)/6048e5;break;default:r=this-n}return t?r:y(r)},Zn.endOf=function(e){return void 0===(e=H(e))||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))},Zn.format=function(a){a||(a=this.isUtc()?e.defaultFormatUtc:e.defaultFormat);var t=A(this,a);return this.localeData().postformat(t)},Zn.from=function(e,a){return this.isValid()&&(Y(e)&&e.isValid()||Ce(e).isValid())?Xe({to:this,from:e}).locale(this.locale()).humanize(!a):this.localeData().invalidDate()},Zn.fromNow=function(e){return this.from(Ce(),e)},Zn.to=function(e,a){return this.isValid()&&(Y(e)&&e.isValid()||Ce(e).isValid())?Xe({from:this,to:e}).locale(this.locale()).humanize(!a):this.localeData().invalidDate()},Zn.toNow=function(e){return this.to(Ce(),e)},Zn.get=function(e){return e=H(e),g(this[e])?this[e]():this},Zn.invalidAt=function(){return l(this).overflow},Zn.isAfter=function(e,a){var t=Y(e)?e:Ce(e);return!(!this.isValid()||!t.isValid())&&("millisecond"===(a=H(s(a)?"millisecond":a))?this.valueOf()>t.valueOf():t.valueOf()<this.clone().startOf(a).valueOf())},Zn.isBefore=function(e,a){var t=Y(e)?e:Ce(e);return!(!this.isValid()||!t.isValid())&&("millisecond"===(a=H(s(a)?"millisecond":a))?this.valueOf()<t.valueOf():this.clone().endOf(a).valueOf()<t.valueOf())},Zn.isBetween=function(e,a,t,n){return("("===(n=n||"()")[0]?this.isAfter(e,t):!this.isBefore(e,t))&&(")"===n[1]?this.isBefore(a,t):!this.isAfter(a,t))},Zn.isSame=function(e,a){var t,n=Y(e)?e:Ce(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(a=H(a||"millisecond"))?this.valueOf()===n.valueOf():(t=n.valueOf(),this.clone().startOf(a).valueOf()<=t&&t<=this.clone().endOf(a).valueOf()))},Zn.isSameOrAfter=function(e,a){return this.isSame(e,a)||this.isAfter(e,a)},Zn.isSameOrBefore=function(e,a){return this.isSame(e,a)||this.isBefore(e,a)},Zn.isValid=function(){return M(this)},Zn.lang=In,Zn.locale=da,Zn.localeData=_a,Zn.max=An,Zn.min=En,Zn.parsingFlags=function(){return o({},l(this))},Zn.set=function(e,a){if("object"==typeof e)for(var t=x(e=b(e)),n=0;n<t.length;n++)this[t[n].unit](e[t[n].unit]);else if(e=H(e),g(this[e]))return this[e](a);return this},Zn.startOf=function(e){switch(e=H(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this},Zn.subtract=Cn,Zn.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},Zn.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},Zn.toDate=function(){return new Date(this.valueOf())},Zn.toISOString=function(){if(!this.isValid())return null;var e=this.clone().utc();return e.year()<0||e.year()>9999?A(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):g(Date.prototype.toISOString)?this.toDate().toISOString():A(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]")},Zn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",a="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",a="Z");var t="["+e+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",s=a+'[")]';return this.format(t+n+"-MM-DD[T]HH:mm:ss.SSS"+s)},Zn.toJSON=function(){return this.isValid()?this.toISOString():null},Zn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Zn.unix=function(){return Math.floor(this.valueOf()/1e3)},Zn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Zn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Zn.year=_n,Zn.isLeapYear=function(){return V(this.year())},Zn.weekYear=function(e){return oa.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},Zn.isoWeekYear=function(e){return oa.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},Zn.quarter=Zn.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},Zn.month=ee,Zn.daysInMonth=function(){return B(this.year(),this.month())},Zn.week=Zn.weeks=function(e){var a=this.localeData().week(this);return null==e?a:this.add(7*(e-a),"d")},Zn.isoWeek=Zn.isoWeeks=function(e){var a=de(this,1,4).week;return null==e?a:this.add(7*(e-a),"d")},Zn.weeksInYear=function(){var e=this.localeData()._week;return _e(this.year(),e.dow,e.doy)},Zn.isoWeeksInYear=function(){return _e(this.year(),1,4)},Zn.date=Gn,Zn.day=Zn.days=function(e){if(!this.isValid())return null!=e?this:NaN;var a=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=ie(e,this.localeData()),this.add(e-a,"d")):a},Zn.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var a=(this.day()+7-this.localeData()._week.dow)%7;return null==e?a:this.add(e-a,"d")},Zn.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var a=oe(e,this.localeData());return this.day(this.day()%7?a:a-7)}return this.day()||7},Zn.dayOfYear=function(e){var a=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?a:this.add(e-a,"d")},Zn.hour=Zn.hours=Tn,Zn.minute=Zn.minutes=Un,Zn.second=Zn.seconds=Vn,Zn.millisecond=Zn.milliseconds=$n,Zn.utcOffset=function(a,t,n){var s,r=this._offset||0;if(!this.isValid())return null!=a?this:NaN;if(null!=a){if("string"==typeof a){if(null===(a=Ze(Vt,a)))return this}else Math.abs(a)<16&&!n&&(a*=60);return!this._isUTC&&t&&(s=Be(this)),this._offset=a,this._isUTC=!0,null!=s&&this.add(s,"m"),r!==a&&(!t||this._changeInProgress?sa(this,Xe(a-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,e.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?r:Be(this)},Zn.utc=function(e){return this.utcOffset(0,e)},Zn.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Be(this),"m")),this},Zn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Ze(Ut,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},Zn.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Ce(e).utcOffset():0,(this.utcOffset()-e)%60==0)},Zn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Zn.isLocal=function(){return!!this.isValid()&&!this._isUTC},Zn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Zn.isUtc=Qe,Zn.isUTC=Qe,Zn.zoneAbbr=function(){return this._isUTC?"UTC":""},Zn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Zn.dates=D("dates accessor is deprecated. Use date instead.",Gn),Zn.months=D("months accessor is deprecated. Use month instead",ee),Zn.years=D("years accessor is deprecated. Use year instead",_n),Zn.zone=D("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,a){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,a),this):-this.utcOffset()}),Zn.isDSTShifted=D("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e={};if(L(e,this),(e=Je(e))._a){var a=e._isUTC?m(e._a):Ce(e._a);this._isDSTShifted=this.isValid()&&p(e._a,a.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var qn=v.prototype;qn.calendar=function(e,a,t){var n=this._calendar[e]||this._calendar.sameElse;return g(n)?n.call(a,t):n},qn.longDateFormat=function(e){var a=this._longDateFormat[e],t=this._longDateFormat[e.toUpperCase()];return a||!t?a:(this._longDateFormat[e]=t.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])},qn.invalidDate=function(){return this._invalidDate},qn.ordinal=function(e){return this._ordinal.replace("%d",e)},qn.preparse=ua,qn.postformat=ua,qn.relativeTime=function(e,a,t,n){var s=this._relativeTime[t];return g(s)?s(e,a,t,n):s.replace(/%d/i,e)},qn.pastFuture=function(e,a){var t=this._relativeTime[e>0?"future":"past"];return g(t)?t(a):t.replace(/%s/i,a)},qn.set=function(e){var a,t;for(t in e)g(a=e[t])?this[t]=a:this["_"+t]=a;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},qn.months=function(e,t){return e?a(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||on).test(t)?"format":"standalone"][e.month()]:a(this._months)?this._months:this._months.standalone},qn.monthsShort=function(e,t){return e?a(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[on.test(t)?"format":"standalone"][e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},qn.monthsParse=function(e,a,t){var n,s,r;if(this._monthsParseExact)return Q.call(this,e,a,t);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(s=m([2e3,n]),t&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(s,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(s,"").replace(".","")+"$","i")),t||this._monthsParse[n]||(r="^"+this.months(s,"")+"|^"+this.monthsShort(s,""),this._monthsParse[n]=new RegExp(r.replace(".",""),"i")),t&&"MMMM"===a&&this._longMonthsParse[n].test(e))return n;if(t&&"MMM"===a&&this._shortMonthsParse[n].test(e))return n;if(!t&&this._monthsParse[n].test(e))return n}},qn.monthsRegex=function(e){return this._monthsParseExact?(i(this,"_monthsRegex")||ae.call(this),e?this._monthsStrictRegex:this._monthsRegex):(i(this,"_monthsRegex")||(this._monthsRegex=Mn),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},qn.monthsShortRegex=function(e){return this._monthsParseExact?(i(this,"_monthsRegex")||ae.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(i(this,"_monthsShortRegex")||(this._monthsShortRegex=ln),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},qn.week=function(e){return de(e,this._week.dow,this._week.doy).week},qn.firstDayOfYear=function(){return this._week.doy},qn.firstDayOfWeek=function(){return this._week.dow},qn.weekdays=function(e,t){return e?a(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:a(this._weekdays)?this._weekdays:this._weekdays.standalone},qn.weekdaysMin=function(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin},qn.weekdaysShort=function(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort},qn.weekdaysParse=function(e,a,t){var n,s,r;if(this._weekdaysParseExact)return me.call(this,e,a,t);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(s=m([2e3,1]).day(n),t&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(s,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(s,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(s,"").replace(".",".?")+"$","i")),this._weekdaysParse[n]||(r="^"+this.weekdays(s,"")+"|^"+this.weekdaysShort(s,"")+"|^"+this.weekdaysMin(s,""),this._weekdaysParse[n]=new RegExp(r.replace(".",""),"i")),t&&"dddd"===a&&this._fullWeekdaysParse[n].test(e))return n;if(t&&"ddd"===a&&this._shortWeekdaysParse[n].test(e))return n;if(t&&"dd"===a&&this._minWeekdaysParse[n].test(e))return n;if(!t&&this._weekdaysParse[n].test(e))return n}},qn.weekdaysRegex=function(e){return this._weekdaysParseExact?(i(this,"_weekdaysRegex")||ue.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(i(this,"_weekdaysRegex")||(this._weekdaysRegex=yn),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},qn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(i(this,"_weekdaysRegex")||ue.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(i(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=fn),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},qn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(i(this,"_weekdaysRegex")||ue.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(i(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=pn),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},qn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},qn.meridiem=function(e,a,t){return e>11?t?"pm":"PM":t?"am":"AM"},ye("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var a=e%10;return e+(1===f(e%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")}}),e.lang=D("moment.lang is deprecated. Use moment.locale instead.",ye),e.langData=D("moment.langData is deprecated. Use moment.localeData instead.",pe);var Bn=Math.abs,Qn=fa("ms"),Xn=fa("s"),es=fa("m"),as=fa("h"),ts=fa("d"),ns=fa("w"),ss=fa("M"),rs=fa("y"),ds=pa("milliseconds"),_s=pa("seconds"),is=pa("minutes"),os=pa("hours"),ms=pa("days"),us=pa("months"),ls=pa("years"),Ms=Math.round,hs={ss:44,s:45,m:45,h:22,d:26,M:11},Ls=Math.abs,cs=Ue.prototype;cs.isValid=function(){return this._isValid},cs.abs=function(){var e=this._data;return this._milliseconds=Bn(this._milliseconds),this._days=Bn(this._days),this._months=Bn(this._months),e.milliseconds=Bn(e.milliseconds),e.seconds=Bn(e.seconds),e.minutes=Bn(e.minutes),e.hours=Bn(e.hours),e.months=Bn(e.months),e.years=Bn(e.years),this},cs.add=function(e,a){return La(this,e,a,1)},cs.subtract=function(e,a){return La(this,e,a,-1)},cs.as=function(e){if(!this.isValid())return NaN;var a,t,n=this._milliseconds;if("month"===(e=H(e))||"year"===e)return a=this._days+n/864e5,t=this._months+Ya(a),"month"===e?t:t/12;switch(a=this._days+Math.round(ya(this._months)),e){case"week":return a/7+n/6048e5;case"day":return a+n/864e5;case"hour":return 24*a+n/36e5;case"minute":return 1440*a+n/6e4;case"second":return 86400*a+n/1e3;case"millisecond":return Math.floor(864e5*a)+n;default:throw new Error("Unknown unit "+e)}},cs.asMilliseconds=Qn,cs.asSeconds=Xn,cs.asMinutes=es,cs.asHours=as,cs.asDays=ts,cs.asWeeks=ns,cs.asMonths=ss,cs.asYears=rs,cs.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*f(this._months/12):NaN},cs._bubble=function(){var e,a,t,n,s,r=this._milliseconds,d=this._days,_=this._months,i=this._data;return r>=0&&d>=0&&_>=0||r<=0&&d<=0&&_<=0||(r+=864e5*ca(ya(_)+d),d=0,_=0),i.milliseconds=r%1e3,e=y(r/1e3),i.seconds=e%60,a=y(e/60),i.minutes=a%60,t=y(a/60),i.hours=t%24,d+=y(t/24),s=y(Ya(d)),_+=s,d-=ca(ya(s)),n=y(_/12),_%=12,i.days=d,i.months=_,i.years=n,this},cs.clone=function(){return Xe(this)},cs.get=function(e){return e=H(e),this.isValid()?this[e+"s"]():NaN},cs.milliseconds=ds,cs.seconds=_s,cs.minutes=is,cs.hours=os,cs.days=ms,cs.weeks=function(){return y(this.days()/7)},cs.months=us,cs.years=ls,cs.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var a=this.localeData(),t=Da(this,!e,a);return e&&(t=a.pastFuture(+this,t)),a.postformat(t)},cs.toISOString=ga,cs.toString=ga,cs.toJSON=ga,cs.locale=da,cs.localeData=_a,cs.toIsoString=D("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ga),cs.lang=In,O("X",0,0,"unix"),O("x",0,0,"valueOf"),z("x",Gt),z("X",Kt),C("X",function(e,a,t){t._d=new Date(1e3*parseFloat(e,10))}),C("x",function(e,a,t){t._d=new Date(f(e))}),e.version="2.19.0",function(e){ct=e}(Ce),e.fn=Zn,e.min=function(){return Ie("isBefore",[].slice.call(arguments,0))},e.max=function(){return Ie("isAfter",[].slice.call(arguments,0))},e.now=function(){return Date.now?Date.now():+new Date},e.utc=m,e.unix=function(e){return Ce(1e3*e)},e.months=function(e,a){return Ma(e,a,"months")},e.isDate=d,e.locale=ye,e.invalid=h,e.duration=Xe,e.isMoment=Y,e.weekdays=function(e,a,t){return ha(e,a,t,"weekdays")},e.parseZone=function(){return Ce.apply(null,arguments).parseZone()},e.localeData=pe,e.isDuration=Ve,e.monthsShort=function(e,a){return Ma(e,a,"monthsShort")},e.weekdaysMin=function(e,a,t){return ha(e,a,t,"weekdaysMin")},e.defineLocale=fe,e.updateLocale=function(e,a){if(null!=a){var t,n=gn;null!=wn[e]&&(n=wn[e]._config),(t=new v(a=w(n,a))).parentLocale=wn[e],wn[e]=t,ye(e)}else null!=wn[e]&&(null!=wn[e].parentLocale?wn[e]=wn[e].parentLocale:null!=wn[e]&&delete wn[e]);return wn[e]},e.locales=function(){return kt(wn)},e.weekdaysShort=function(e,a,t){return ha(e,a,t,"weekdaysShort")},e.normalizeUnits=H,e.relativeTimeRounding=function(e){return void 0===e?Ms:"function"==typeof e&&(Ms=e,!0)},e.relativeTimeThreshold=function(e,a){return void 0!==hs[e]&&(void 0===a?hs[e]:(hs[e]=a,"s"===e&&(hs.ss=a-1),!0))},e.calendarFormat=function(e,a){var t=e.diff(a,"days",!0);return t<-6?"sameElse":t<-1?"lastWeek":t<0?"lastDay":t<1?"sameDay":t<2?"nextDay":t<7?"nextWeek":"sameElse"},e.prototype=Zn,e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,a,t){return e<12?t?"vm":"VM":t?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}}),e.defineLocale("ar-dz",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u0623\u062d_\u0625\u062b_\u062b\u0644\u0627_\u0623\u0631_\u062e\u0645_\u062c\u0645_\u0633\u0628".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:4}}),e.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}});var Ys={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},ys=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},fs={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},ps=function(e){return function(a,t,n,s){var r=ys(a),d=fs[e][ys(a)];return 2===r&&(d=d[t?0:1]),d.replace(/%d/i,a)}},ks=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];e.defineLocale("ar-ly",{months:ks,monthsShort:ks,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,a,t){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:ps("s"),m:ps("m"),mm:ps("m"),h:ps("h"),hh:ps("h"),d:ps("d"),dd:ps("d"),M:ps("M"),MM:ps("M"),y:ps("y"),yy:ps("y")},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return Ys[e]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}}),e.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:6,doy:12}});var Ds={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},Ts={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};e.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,a,t){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(e){return Ts[e]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return Ds[e]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}}),e.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}});var gs={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},ws={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},vs=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},Ss={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},Hs=function(e){return function(a,t,n,s){var r=vs(a),d=Ss[e][vs(a)];return 2===r&&(d=d[t?0:1]),d.replace(/%d/i,a)}},bs=["\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u062b\u0627\u0646\u064a \u064a\u0646\u0627\u064a\u0631","\u0634\u0628\u0627\u0637 \u0641\u0628\u0631\u0627\u064a\u0631","\u0622\u0630\u0627\u0631 \u0645\u0627\u0631\u0633","\u0646\u064a\u0633\u0627\u0646 \u0623\u0628\u0631\u064a\u0644","\u0623\u064a\u0627\u0631 \u0645\u0627\u064a\u0648","\u062d\u0632\u064a\u0631\u0627\u0646 \u064a\u0648\u0646\u064a\u0648","\u062a\u0645\u0648\u0632 \u064a\u0648\u0644\u064a\u0648","\u0622\u0628 \u0623\u063a\u0633\u0637\u0633","\u0623\u064a\u0644\u0648\u0644 \u0633\u0628\u062a\u0645\u0628\u0631","\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u0623\u0648\u0644 \u0623\u0643\u062a\u0648\u0628\u0631","\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u062b\u0627\u0646\u064a \u0646\u0648\u0641\u0645\u0628\u0631","\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u0623\u0648\u0644 \u062f\u064a\u0633\u0645\u0628\u0631"];e.defineLocale("ar",{months:bs,monthsShort:bs,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,a,t){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:Hs("s"),m:Hs("m"),mm:Hs("m"),h:Hs("h"),hh:Hs("h"),d:Hs("d"),dd:Hs("d"),M:Hs("M"),MM:Hs("M"),y:Hs("y"),yy:Hs("y")},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(e){return ws[e]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return gs[e]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}});var js={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"birne\xe7\u0259 saniyy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(e){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(e)},meridiem:function(e,a,t){return e<4?"gec\u0259":e<12?"s\u0259h\u0259r":e<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(e){if(0===e)return e+"-\u0131nc\u0131";var a=e%10,t=e%100-a,n=e>=100?100:null;return e+(js[a]||js[t]||js[n])},week:{dow:1,doy:7}}),e.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:va,mm:va,h:va,hh:va,d:"\u0434\u0437\u0435\u043d\u044c",dd:va,M:"\u043c\u0435\u0441\u044f\u0446",MM:va,y:"\u0433\u043e\u0434",yy:va},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(e)},meridiem:function(e,a,t){return e<4?"\u043d\u043e\u0447\u044b":e<12?"\u0440\u0430\u043d\u0456\u0446\u044b":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(e,a){switch(a){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-\u044b":e+"-\u0456";case"D":return e+"-\u0433\u0430";default:return e}},week:{dow:1,doy:7}}),e.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0440_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0412 \u0438\u0437\u043c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u0412 \u0438\u0437\u043c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u043d\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(e){var a=e%10,t=e%100;return 0===e?e+"-\u0435\u0432":0===t?e+"-\u0435\u043d":t>10&&t<20?e+"-\u0442\u0438":1===a?e+"-\u0432\u0438":2===a?e+"-\u0440\u0438":7===a||8===a?e+"-\u043c\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}}),e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}});var xs={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},Ps={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};e.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09c0_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2_\u0986\u0997_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u0983_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(e){return e.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(e){return Ps[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return xs[e]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u09b0\u09be\u09a4"===a&&e>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===a&&e<5||"\u09ac\u09bf\u0995\u09be\u09b2"===a?e+12:e},meridiem:function(e,a,t){return e<4?"\u09b0\u09be\u09a4":e<10?"\u09b8\u0995\u09be\u09b2":e<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":e<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}});var Os={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},Ws={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};e.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(e){return e.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(e){return Ws[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return Os[e]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===a&&e>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===a&&e<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===a?e+12:e},meridiem:function(e,a,t){return e<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":e<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":e<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":e<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}}),e.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondenno\xf9",m:"ur vunutenn",mm:Sa,h:"un eur",hh:"%d eur",d:"un devezh",dd:Sa,M:"ur miz",MM:Sa,y:"ur bloaz",yy:function(e){switch(Ha(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(e){return e+(1===e?"a\xf1":"vet")},week:{dow:1,doy:4}}),e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",m:xa,mm:xa,h:xa,hh:xa,d:"dan",dd:xa,M:"mjesec",MM:xa,y:"godinu",yy:xa},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),e.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(e,a){var t=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"\xe8";return"w"!==a&&"W"!==a||(t="a"),e+t},week:{dow:1,doy:4}});var Es="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),As="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_");e.defineLocale("cs",{months:Es,monthsShort:As,monthsParse:function(e,a){var t,n=[];for(t=0;t<12;t++)n[t]=new RegExp("^"+e[t]+"$|^"+a[t]+"$","i");return n}(Es,As),shortMonthsParse:function(e){var a,t=[];for(a=0;a<12;a++)t[a]=new RegExp("^"+e[a]+"$","i");return t}(As),longMonthsParse:function(e){var a,t=[];for(a=0;a<12;a++)t[a]=new RegExp("^"+e[a]+"$","i");return t}(Es),weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:Oa,m:Oa,mm:Oa,h:Oa,hh:Oa,d:Oa,dd:Oa,M:Oa,MM:Oa,y:Oa,yy:Oa},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(e){return e+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(e)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(e)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}}),e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var a=e,t="",n=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"];return a>20?t=40===a||50===a||60===a||80===a||100===a?"fed":"ain":a>0&&(t=n[a]),e+t},week:{dow:1,doy:4}}),e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:Wa,mm:"%d Minuten",h:Wa,hh:"%d Stunden",d:Wa,dd:Wa,M:Wa,MM:Wa,y:Wa,yy:Wa},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH.mm",LLLL:"dddd, D. MMMM YYYY HH.mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:Ea,mm:"%d Minuten",h:Ea,hh:"%d Stunden",d:Ea,dd:Ea,M:Ea,MM:Ea,y:Ea,yy:Ea},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:Aa,mm:"%d Minuten",h:Aa,hh:"%d Stunden",d:Aa,dd:Aa,M:Aa,MM:Aa,y:Aa,yy:Aa},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});var Fs=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],zs=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];e.defineLocale("dv",{months:Fs,monthsShort:Fs,weekdays:zs,weekdaysShort:zs,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(e){return"\u0789\u078a"===e},meridiem:function(e,a,t){return e<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:7,doy:12}}),e.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(e,a){return e?"string"==typeof a&&/D/.test(a.substring(0,a.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(e,a,t){return e>11?t?"\u03bc\u03bc":"\u039c\u039c":t?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(e){return"\u03bc"===(e+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT";default:return"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,a){var t=this._calendarEl[e],n=a&&a.hours();return g(t)&&(t=t.apply(a)),t.replace("{}",n%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}}),e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}}),e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")}}),e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}}),e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}}),e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}}),e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_a\u016dg_sep_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-a de] MMMM, YYYY",LLL:"D[-a de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-a de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,a,t){return e>11?t?"p.t.m.":"P.T.M.":t?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}});var Js="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),Ns="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),Rs=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],Cs=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,a){return e?/-MMM-/.test(a)?Ns[e.month()]:Js[e.month()]:Js},monthsRegex:Cs,monthsShortRegex:Cs,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:Rs,longMonthsParse:Rs,shortMonthsParse:Rs,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}});var Is="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),Gs="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_");e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,a){return e?/-MMM-/.test(a)?Gs[e.month()]:Is[e.month()]:Is},monthsParseExact:!0,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"MM/DD/YYYY",LL:"MMMM [de] D [de] YYYY",LLL:"MMMM [de] D [de] YYYY H:mm",LLLL:"dddd, MMMM [de] D [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}});var Us="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),Vs="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),Ks=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],$s=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,a){return e?/-MMM-/.test(a)?Vs[e.month()]:Us[e.month()]:Us},monthsRegex:$s,monthsShortRegex:$s,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:Ks,longMonthsParse:Ks,shortMonthsParse:Ks,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}}),e.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:Fa,m:Fa,mm:Fa,h:Fa,hh:Fa,d:Fa,dd:"%d p\xe4eva",M:Fa,MM:Fa,y:Fa,yy:Fa},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});var Zs={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},qs={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};e.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(e){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(e)},meridiem:function(e,a,t){return e<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/[\u06f0-\u06f9]/g,function(e){return qs[e]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return Zs[e]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}});var Bs="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),Qs=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",Bs[7],Bs[8],Bs[9]];e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:za,m:za,mm:za,h:za,hh:za,d:za,dd:za,M:za,MM:za,y:za,yy:za},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",m:"ein minutt",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0i",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,a){switch(a){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}}),e.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,a){switch(a){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}}),e.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,a){switch(a){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}});var Xs="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),er="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,a){return e?/-MMM-/.test(a)?er[e.month()]:Xs[e.month()]:Xs},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});var ar=["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],tr=["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],nr=["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],sr=["Did","Dil","Dim","Dic","Dia","Dih","Dis"],rr=["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"];e.defineLocale("gd",{months:ar,monthsShort:tr,monthsParseExact:!0,weekdays:nr,weekdaysShort:sr,weekdaysMin:rr,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}}),e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}}),e.defineLocale("gom-latn",{months:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budvar_Brestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM[achea] Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Ieta to] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fatlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:Na,m:Na,mm:Na,h:Na,hh:Na,d:Na,dd:Na,M:Na,MM:Na,y:Na,yy:Na},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,a){switch(a){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:1,doy:4},meridiemParse:/rati|sokalli|donparam|sanje/,meridiemHour:function(e,a){return 12===e&&(e=0),"rati"===a?e<4?e:e+12:"sokalli"===a?e:"donparam"===a?e>12?e:e+12:"sanje"===a?e+12:void 0},meridiem:function(e,a,t){return e<4?"rati":e<12?"sokalli":e<16?"donparam":e<20?"sanje":"rati"}});var dr={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},_r={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};e.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ac7\u0ab9\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(e){return e.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(e){return _r[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return dr[e]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u0ab0\u0abe\u0aa4"===a?e<4?e:e+12:"\u0ab8\u0ab5\u0abe\u0ab0"===a?e:"\u0aac\u0aaa\u0acb\u0ab0"===a?e>=10?e:e+12:"\u0ab8\u0abe\u0a82\u0a9c"===a?e+12:void 0},meridiem:function(e,a,t){return e<4?"\u0ab0\u0abe\u0aa4":e<10?"\u0ab8\u0ab5\u0abe\u0ab0":e<17?"\u0aac\u0aaa\u0acb\u0ab0":e<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}}),e.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(e){return 2===e?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":e+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(e){return 2===e?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":e+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(e){return 2===e?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":e+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(e){return 2===e?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":e%10==0&&10!==e?e+" \u05e9\u05e0\u05d4":e+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(e){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(e)},meridiem:function(e,a,t){return e<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":e<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":e<12?t?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":e<18?t?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}});var ir={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},or={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};e.defineLocale("hi",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(e){return or[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return ir[e]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u0930\u093e\u0924"===a?e<4?e:e+12:"\u0938\u0941\u092c\u0939"===a?e:"\u0926\u094b\u092a\u0939\u0930"===a?e>=10?e:e+12:"\u0936\u093e\u092e"===a?e+12:void 0},meridiem:function(e,a,t){return e<4?"\u0930\u093e\u0924":e<10?"\u0938\u0941\u092c\u0939":e<17?"\u0926\u094b\u092a\u0939\u0930":e<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}}),e.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",m:Ra,mm:Ra,h:Ra,hh:Ra,d:"dan",dd:Ra,M:"mjesec",MM:Ra,y:"godinu",yy:Ra},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});var mr="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");e.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan_feb_m\xe1rc_\xe1pr_m\xe1j_j\xfan_j\xfal_aug_szept_okt_nov_dec".split("_"),weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,a,t){return e<12?!0===t?"de":"DE":!0===t?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return Ia.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return Ia.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:Ca,m:Ca,mm:Ca,h:Ca,hh:Ca,d:Ca,dd:Ca,M:Ca,MM:Ca,y:Ca,yy:Ca},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(e){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(e)},meridiem:function(e){return e<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":e<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":e<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(e,a){switch(a){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-\u056b\u0576":e+"-\u0580\u0564";default:return e}},week:{dow:1,doy:7}}),e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,a){return 12===e&&(e=0),"pagi"===a?e:"siang"===a?e>=11?e:e+12:"sore"===a||"malam"===a?e+12:void 0},meridiem:function(e,a,t){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}}),e.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:Ua,m:Ua,mm:Ua,h:"klukkustund",hh:Ua,d:Ua,dd:Ua,M:Ua,MM:Ua,y:Ua,yy:Ua},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}}),e.defineLocale("ja",{months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm dddd",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5 HH:mm dddd"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(e){return"\u5348\u5f8c"===e},meridiem:function(e,a,t){return e<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:"[\u6765\u9031]dddd LT",lastDay:"[\u6628\u65e5] LT",lastWeek:"[\u524d\u9031]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(e,a){switch(a){case"d":case"D":case"DDD":return e+"\u65e5";default:return e}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}}),e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,a){return 12===e&&(e=0),"enjing"===a?e:"siyang"===a?e>=11?e:e+12:"sonten"===a||"ndalu"===a?e+12:void 0},meridiem:function(e,a,t){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}}),e.defineLocale("ka",{months:{standalone:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),format:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10e1_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10e1_\u10db\u10d0\u10e0\u10e2\u10e1_\u10d0\u10de\u10e0\u10d8\u10da\u10d8\u10e1_\u10db\u10d0\u10d8\u10e1\u10e1_\u10d8\u10d5\u10dc\u10d8\u10e1\u10e1_\u10d8\u10d5\u10da\u10d8\u10e1\u10e1_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10e1_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10e1_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10e1".split("_")},monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(e){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10ec\u10d4\u10da\u10d8)/.test(e)?e.replace(/\u10d8$/,"\u10e8\u10d8"):e+"\u10e8\u10d8"},past:function(e){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(e)?e.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10e3\u10d9\u10d0\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(e)?e.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10e3\u10d9\u10d0\u10dc"):void 0},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(e){return 0===e?e:1===e?e+"-\u10da\u10d8":e<20||e<=100&&e%20==0||e%100==0?"\u10db\u10d4-"+e:e+"-\u10d4"},week:{dow:1,doy:7}});var ur={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};e.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(e){var a=e%10,t=e>=100?100:null;return e+(ur[e]||ur[a]||ur[t])},week:{dow:1,doy:7}}),e.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysMin:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},week:{dow:1,doy:4}});var lr={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},Mr={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};e.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac_\u0ca8\u0cb5\u0cc6\u0c82\u0cac_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(e){return e.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(e){return Mr[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return lr[e]})},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===a?e<4?e:e+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===a?e:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===a?e>=10?e:e+12:"\u0cb8\u0c82\u0c9c\u0cc6"===a?e+12:void 0},meridiem:function(e,a,t){return e<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":e<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":e<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":e<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(e){return e+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}}),e.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(e,a){switch(a){case"d":case"D":case"DDD":return e+"\uc77c";case"M":return e+"\uc6d4";case"w":case"W":return e+"\uc8fc";default:return e}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(e){return"\uc624\ud6c4"===e},meridiem:function(e,a,t){return e<12?"\uc624\uc804":"\uc624\ud6c4"}});var hr={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};e.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u0435 \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(e){var a=e%10,t=e>=100?100:null;return e+(hr[e]||hr[a]||hr[t])},week:{dow:1,doy:7}}),e.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(e){return Ka(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return Ka(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e},s:"e puer Sekonnen",m:Va,mm:"%d Minutten",h:Va,hh:"%d Stonnen",d:Va,dd:"%d Deeg",M:Va,MM:"%d M\xe9int",y:Va,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(e){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===e},meridiem:function(e,a,t){return e<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(e){return"\u0e97\u0eb5\u0ec8"+e}});var Lr={m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function(e,a,t,n){return a?"kelios sekund\u0117s":n?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},m:$a,mm:Ba,h:$a,hh:Ba,d:$a,dd:Ba,M:$a,MM:Ba,y:$a,yy:Ba},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}});var cr={m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};e.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function(e,a){return a?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},m:et,mm:Xa,h:et,hh:Xa,d:et,dd:Xa,M:et,MM:Xa,y:et,yy:Xa},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});var Yr={words:{m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,a){return 1===e?a[0]:e>=2&&e<=4?a[1]:a[2]},translate:function(e,a,t){var n=Yr.words[t];return 1===t.length?a?n[0]:n[1]:e+" "+Yr.correctGrammaticalCase(e,n)}};e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",m:Yr.translate,mm:Yr.translate,h:Yr.translate,hh:Yr.translate,d:"dan",dd:Yr.translate,M:"mjesec",MM:Yr.translate,y:"godinu",yy:Yr.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),e.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}}),e.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u043e\u0441\u043b\u0435 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(e){var a=e%10,t=e%100;return 0===e?e+"-\u0435\u0432":0===t?e+"-\u0435\u043d":t>10&&t<20?e+"-\u0442\u0438":1===a?e+"-\u0432\u0438":2===a?e+"-\u0440\u0438":7===a||8===a?e+"-\u043c\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}}),e.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(e,a){return 12===e&&(e=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===a&&e>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===a||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===a?e+12:e},meridiem:function(e,a,t){return e<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":e<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":e<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":e<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}});var yr={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},fr={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};e.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:at,m:at,mm:at,h:at,hh:at,d:at,dd:at,M:at,MM:at,y:at,yy:at},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(e){return fr[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return yr[e]})},meridiemParse:/\u0930\u093e\u0924\u094d\u0930\u0940|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u0930\u093e\u0924\u094d\u0930\u0940"===a?e<4?e:e+12:"\u0938\u0915\u093e\u0933\u0940"===a?e:"\u0926\u0941\u092a\u093e\u0930\u0940"===a?e>=10?e:e+12:"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===a?e+12:void 0},meridiem:function(e,a,t){return e<4?"\u0930\u093e\u0924\u094d\u0930\u0940":e<10?"\u0938\u0915\u093e\u0933\u0940":e<17?"\u0926\u0941\u092a\u093e\u0930\u0940":e<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}}),e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,a){return 12===e&&(e=0),"pagi"===a?e:"tengahari"===a?e>=11?e:e+12:"petang"===a||"malam"===a?e+12:void 0},meridiem:function(e,a,t){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}}),e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,a){return 12===e&&(e=0),"pagi"===a?e:"tengahari"===a?e>=11?e:e+12:"petang"===a||"malam"===a?e+12:void 0},meridiem:function(e,a,t){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}});var pr={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},kr={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};e.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(e){return e.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(e){return kr[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return pr[e]})},week:{dow:1,doy:4}}),e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});var Dr={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},Tr={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};e.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(e){return Tr[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return Dr[e]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u0930\u093e\u0924\u093f"===a?e<4?e:e+12:"\u092c\u093f\u0939\u093e\u0928"===a?e:"\u0926\u093f\u0909\u0901\u0938\u094b"===a?e>=10?e:e+12:"\u0938\u093e\u0901\u091d"===a?e+12:void 0},meridiem:function(e,a,t){return e<3?"\u0930\u093e\u0924\u093f":e<12?"\u092c\u093f\u0939\u093e\u0928":e<16?"\u0926\u093f\u0909\u0901\u0938\u094b":e<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}});var gr="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),wr="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),vr=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],Sr=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,a){return e?/-MMM-/.test(a)?wr[e.month()]:gr[e.month()]:gr},monthsRegex:Sr,monthsShortRegex:Sr,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:vr,longMonthsParse:vr,shortMonthsParse:vr,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});var Hr="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),br="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),jr=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],xr=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,a){return e?/-MMM-/.test(a)?br[e.month()]:Hr[e.month()]:Hr},monthsRegex:xr,monthsShortRegex:xr,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:jr,longMonthsParse:jr,shortMonthsParse:jr,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}}),e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_m\xe5n_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});var Pr={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},Or={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};e.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(e){return e.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(e){return Or[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return Pr[e]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u0a30\u0a3e\u0a24"===a?e<4?e:e+12:"\u0a38\u0a35\u0a47\u0a30"===a?e:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===a?e>=10?e:e+12:"\u0a38\u0a3c\u0a3e\u0a2e"===a?e+12:void 0},meridiem:function(e,a,t){return e<4?"\u0a30\u0a3e\u0a24":e<10?"\u0a38\u0a35\u0a47\u0a30":e<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":e<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}});var Wr="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),Er="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_");e.defineLocale("pl",{months:function(e,a){return e?""===a?"("+Er[e.month()]+"|"+Wr[e.month()]+")":/D MMMM/.test(a)?Er[e.month()]:Wr[e.month()]:Wr},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:nt,mm:nt,h:nt,hh:nt,d:"1 dzie\u0144",dd:"%d dni",M:"miesi\u0105c",MM:nt,y:"rok",yy:nt},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"%s atr\xe1s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba"}),e.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}}),e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",m:"un minut",mm:st,h:"o or\u0103",hh:st,d:"o zi",dd:st,M:"o lun\u0103",MM:st,y:"un an",yy:st},week:{dow:1,doy:7}});var Ar=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];e.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?\] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:Ar,longMonthsParse:Ar,shortMonthsParse:Ar,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430 \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd [\u0432] LT":"[\u0412] dddd [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd [\u0432] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd [\u0432] LT":"[\u0412] dddd [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",m:dt,mm:dt,h:"\u0447\u0430\u0441",hh:dt,d:"\u0434\u0435\u043d\u044c",dd:dt,M:"\u043c\u0435\u0441\u044f\u0446",MM:dt,y:"\u0433\u043e\u0434",yy:dt},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(e)},meridiem:function(e,a,t){return e<4?"\u043d\u043e\u0447\u0438":e<12?"\u0443\u0442\u0440\u0430":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(e,a){switch(a){case"M":case"d":case"DDD":return e+"-\u0439";case"D":return e+"-\u0433\u043e";case"w":case"W":return e+"-\u044f";default:return e}},week:{dow:1,doy:4}});var Fr=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],zr=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];e.defineLocale("sd",{months:Fr,monthsShort:Fr,weekdays:zr,weekdaysShort:zr,weekdaysMin:zr,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(e){return"\u0634\u0627\u0645"===e},meridiem:function(e,a,t){return e<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:4}}),e.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(e){return e+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(e){return"\u0db4.\u0dc0."===e||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===e},meridiem:function(e,a,t){return e>11?t?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":t?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}});var Jr="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),Nr="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");e.defineLocale("sk",{months:Jr,monthsShort:Nr,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 4:case 5:return"[minul\xfd] dddd [o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:it,m:it,mm:it,h:it,hh:it,d:it,dd:it,M:it,MM:it,y:it,yy:it},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:ot,m:ot,mm:ot,h:ot,hh:ot,d:ot,dd:ot,M:ot,MM:ot,y:ot,yy:ot},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,a,t){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});var Rr={words:{m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u0435 \u043c\u0438\u043d\u0443\u0442\u0435"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0435","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],yy:["\u0433\u043e\u0434\u0438\u043d\u0430","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(e,a){return 1===e?a[0]:e>=2&&e<=4?a[1]:a[2]},translate:function(e,a,t){var n=Rr.words[t];return 1===t.length?a?n[0]:n[1]:e+" "+Rr.correctGrammaticalCase(e,n)}};e.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:Rr.translate,mm:Rr.translate,h:Rr.translate,hh:Rr.translate,d:"\u0434\u0430\u043d",dd:Rr.translate,M:"\u043c\u0435\u0441\u0435\u0446",MM:Rr.translate,y:"\u0433\u043e\u0434\u0438\u043d\u0443",yy:Rr.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});var Cr={words:{m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,a){return 1===e?a[0]:e>=2&&e<=4?a[1]:a[2]},translate:function(e,a,t){var n=Cr.words[t];return 1===t.length?a?n[0]:n[1]:e+" "+Cr.correctGrammaticalCase(e,n)}};e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",m:Cr.translate,mm:Cr.translate,h:Cr.translate,hh:Cr.translate,d:"dan",dd:Cr.translate,M:"mesec",MM:Cr.translate,y:"godinu",yy:Cr.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,a,t){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,a){return 12===e&&(e=0),"ekuseni"===a?e:"emini"===a?e>=11?e:e+12:"entsambama"===a||"ebusuku"===a?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}}),e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(e|a)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?"e":1===a?"a":2===a?"a":"e")},week:{dow:1,doy:4}}),e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}});var Ir={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},Gr={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};e.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(e){return e+"\u0bb5\u0ba4\u0bc1"},preparse:function(e){return e.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(e){return Gr[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return Ir[e]})},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(e,a,t){return e<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":e<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":e<10?" \u0b95\u0bbe\u0bb2\u0bc8":e<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":e<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":e<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(e,a){return 12===e&&(e=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===a?e<2?e:e+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===a||"\u0b95\u0bbe\u0bb2\u0bc8"===a?e:"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===a&&e>=10?e:e+12},week:{dow:0,doy:6}}),e.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c42\u0c32\u0c46\u0c56_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c42\u0c32\u0c46\u0c56_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===a?e<4?e:e+12:"\u0c09\u0c26\u0c2f\u0c02"===a?e:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===a?e>=10?e:e+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===a?e+12:void 0},meridiem:function(e,a,t){return e<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":e<10?"\u0c09\u0c26\u0c2f\u0c02":e<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":e<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}}),e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juniu_Juliu_Augustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Aug_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sexta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sext_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Sex_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"minutu balun",m:"minutu ida",mm:"minutus %d",h:"horas ida",hh:"horas %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}}),e.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(e){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===e},meridiem:function(e,a,t){return e<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}}),e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}});var Ur="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");e.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(e){var a=e;return a=-1!==e.indexOf("jaj")?a.slice(0,-3)+"leS":-1!==e.indexOf("jar")?a.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?a.slice(0,-3)+"nem":a+" pIq"},past:function(e){var a=e;return a=-1!==e.indexOf("jaj")?a.slice(0,-3)+"Hu\u2019":-1!==e.indexOf("jar")?a.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?a.slice(0,-3)+"ben":a+" ret"},s:"puS lup",m:"wa\u2019 tup",mm:mt,h:"wa\u2019 rep",hh:mt,d:"wa\u2019 jaj",dd:mt,M:"wa\u2019 jar",MM:mt,y:"wa\u2019 DIS",yy:mt},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});var Vr={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};e.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},dayOfMonthOrdinalParse:/\d{1,2}'(inci|nci|\xfcnc\xfc|nc\u0131|uncu|\u0131nc\u0131)/,ordinal:function(e){if(0===e)return e+"'\u0131nc\u0131";var a=e%10,t=e%100-a,n=e>=100?100:null;return e+(Vr[a]||Vr[t]||Vr[n])},week:{dow:1,doy:7}}),e.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,a,t){return e>11?t?"d'o":"D'O":t?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:lt,m:lt,mm:lt,h:lt,hh:lt,d:lt,dd:lt,M:lt,MM:lt,y:lt,yy:lt},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}}),e.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}}),e.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function(e,a){var t={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return e?t[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(a)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(a)?"genitive":"nominative"][e.day()]:t.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:Lt("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:Lt("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:Lt("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:Lt("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return Lt("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return Lt("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",m:ht,mm:ht,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:ht,d:"\u0434\u0435\u043d\u044c",dd:ht,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:ht,y:"\u0440\u0456\u043a",yy:ht},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(e)},meridiem:function(e,a,t){return e<4?"\u043d\u043e\u0447\u0456":e<12?"\u0440\u0430\u043d\u043a\u0443":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(e,a){switch(a){case"M":case"d":case"DDD":case"w":case"W":return e+"-\u0439";case"D":return e+"-\u0433\u043e";default:return e}},week:{dow:1,doy:7}});var Kr=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],$r=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];return e.defineLocale("ur",{months:Kr,monthsShort:Kr,weekdays:$r,weekdaysShort:$r,weekdaysMin:$r,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(e){return"\u0634\u0627\u0645"===e},meridiem:function(e,a,t){return e<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:4}}),e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}}),e.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}}),e.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,a,t){return e<12?t?"sa":"SA":t?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n r\u1ed3i l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}}),e.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}}),e.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}}),e.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY\u5e74MMMD\u65e5",LL:"YYYY\u5e74MMMD\u65e5",LLL:"YYYY\u5e74MMMD\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74MMMD\u65e5ddddAh\u70b9mm\u5206",l:"YYYY\u5e74MMMD\u65e5",ll:"YYYY\u5e74MMMD\u65e5",lll:"YYYY\u5e74MMMD\u65e5 HH:mm",llll:"YYYY\u5e74MMMD\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u51cc\u6668"===a||"\u65e9\u4e0a"===a||"\u4e0a\u5348"===a?e:"\u4e0b\u5348"===a||"\u665a\u4e0a"===a?e+12:e>=11?e:e+12},meridiem:function(e,a,t){var n=100*e+a;return n<600?"\u51cc\u6668":n<900?"\u65e9\u4e0a":n<1130?"\u4e0a\u5348":n<1230?"\u4e2d\u5348":n<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(e,a){switch(a){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u5468";default:return e}},relativeTime:{future:"%s\u5185",past:"%s\u524d",s:"\u51e0\u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}}),e.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY\u5e74MMMD\u65e5",LL:"YYYY\u5e74MMMD\u65e5",LLL:"YYYY\u5e74MMMD\u65e5 HH:mm",LLLL:"YYYY\u5e74MMMD\u65e5dddd HH:mm",l:"YYYY\u5e74MMMD\u65e5",ll:"YYYY\u5e74MMMD\u65e5",lll:"YYYY\u5e74MMMD\u65e5 HH:mm",llll:"YYYY\u5e74MMMD\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u51cc\u6668"===a||"\u65e9\u4e0a"===a||"\u4e0a\u5348"===a?e:"\u4e2d\u5348"===a?e>=11?e:e+12:"\u4e0b\u5348"===a||"\u665a\u4e0a"===a?e+12:void 0},meridiem:function(e,a,t){var n=100*e+a;return n<600?"\u51cc\u6668":n<900?"\u65e9\u4e0a":n<1130?"\u4e0a\u5348":n<1230?"\u4e2d\u5348":n<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,a){switch(a){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}}),e.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY\u5e74MMMD\u65e5",LL:"YYYY\u5e74MMMD\u65e5",LLL:"YYYY\u5e74MMMD\u65e5 HH:mm",LLLL:"YYYY\u5e74MMMD\u65e5dddd HH:mm",l:"YYYY\u5e74MMMD\u65e5",ll:"YYYY\u5e74MMMD\u65e5",lll:"YYYY\u5e74MMMD\u65e5 HH:mm",llll:"YYYY\u5e74MMMD\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u51cc\u6668"===a||"\u65e9\u4e0a"===a||"\u4e0a\u5348"===a?e:"\u4e2d\u5348"===a?e>=11?e:e+12:"\u4e0b\u5348"===a||"\u665a\u4e0a"===a?e+12:void 0},meridiem:function(e,a,t){var n=100*e+a;return n<600?"\u51cc\u6668":n<900?"\u65e9\u4e0a":n<1130?"\u4e0a\u5348":n<1230?"\u4e2d\u5348":n<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,a){switch(a){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}}),e.locale("en"),e});⏎ |
0 | //! moment.js | |
1 | //! version : 2.18.1 | |
2 | //! authors : Tim Wood, Iskren Chernev, Moment.js contributors | |
3 | //! license : MIT | |
4 | //! momentjs.com | |
5 | !function(a,b){"object"==typeof exports&&"undefined"!=typeof module?module.exports=b():"function"==typeof define&&define.amd?define(b):a.moment=b()}(this,function(){"use strict";function a(){return sd.apply(null,arguments)}function b(a){sd=a}function c(a){return a instanceof Array||"[object Array]"===Object.prototype.toString.call(a)}function d(a){return null!=a&&"[object Object]"===Object.prototype.toString.call(a)}function e(a){var b;for(b in a)return!1;return!0}function f(a){return void 0===a}function g(a){return"number"==typeof a||"[object Number]"===Object.prototype.toString.call(a)}function h(a){return a instanceof Date||"[object Date]"===Object.prototype.toString.call(a)}function i(a,b){var c,d=[];for(c=0;c<a.length;++c)d.push(b(a[c],c));return d}function j(a,b){return Object.prototype.hasOwnProperty.call(a,b)}function k(a,b){for(var c in b)j(b,c)&&(a[c]=b[c]);return j(b,"toString")&&(a.toString=b.toString),j(b,"valueOf")&&(a.valueOf=b.valueOf),a}function l(a,b,c,d){return sb(a,b,c,d,!0).utc()}function m(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function n(a){return null==a._pf&&(a._pf=m()),a._pf}function o(a){if(null==a._isValid){var b=n(a),c=ud.call(b.parsedDateParts,function(a){return null!=a}),d=!isNaN(a._d.getTime())&&b.overflow<0&&!b.empty&&!b.invalidMonth&&!b.invalidWeekday&&!b.nullInput&&!b.invalidFormat&&!b.userInvalidated&&(!b.meridiem||b.meridiem&&c);if(a._strict&&(d=d&&0===b.charsLeftOver&&0===b.unusedTokens.length&&void 0===b.bigHour),null!=Object.isFrozen&&Object.isFrozen(a))return d;a._isValid=d}return a._isValid}function p(a){var b=l(NaN);return null!=a?k(n(b),a):n(b).userInvalidated=!0,b}function q(a,b){var c,d,e;if(f(b._isAMomentObject)||(a._isAMomentObject=b._isAMomentObject),f(b._i)||(a._i=b._i),f(b._f)||(a._f=b._f),f(b._l)||(a._l=b._l),f(b._strict)||(a._strict=b._strict),f(b._tzm)||(a._tzm=b._tzm),f(b._isUTC)||(a._isUTC=b._isUTC),f(b._offset)||(a._offset=b._offset),f(b._pf)||(a._pf=n(b)),f(b._locale)||(a._locale=b._locale),vd.length>0)for(c=0;c<vd.length;c++)d=vd[c],e=b[d],f(e)||(a[d]=e);return a}function r(b){q(this,b),this._d=new Date(null!=b._d?b._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),wd===!1&&(wd=!0,a.updateOffset(this),wd=!1)}function s(a){return a instanceof r||null!=a&&null!=a._isAMomentObject}function t(a){return a<0?Math.ceil(a)||0:Math.floor(a)}function u(a){var b=+a,c=0;return 0!==b&&isFinite(b)&&(c=t(b)),c}function v(a,b,c){var d,e=Math.min(a.length,b.length),f=Math.abs(a.length-b.length),g=0;for(d=0;d<e;d++)(c&&a[d]!==b[d]||!c&&u(a[d])!==u(b[d]))&&g++;return g+f}function w(b){a.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+b)}function x(b,c){var d=!0;return k(function(){if(null!=a.deprecationHandler&&a.deprecationHandler(null,b),d){for(var e,f=[],g=0;g<arguments.length;g++){if(e="","object"==typeof arguments[g]){e+="\n["+g+"] ";for(var h in arguments[0])e+=h+": "+arguments[0][h]+", ";e=e.slice(0,-2)}else e=arguments[g];f.push(e)}w(b+"\nArguments: "+Array.prototype.slice.call(f).join("")+"\n"+(new Error).stack),d=!1}return c.apply(this,arguments)},c)}function y(b,c){null!=a.deprecationHandler&&a.deprecationHandler(b,c),xd[b]||(w(c),xd[b]=!0)}function z(a){return a instanceof Function||"[object Function]"===Object.prototype.toString.call(a)}function A(a){var b,c;for(c in a)b=a[c],z(b)?this[c]=b:this["_"+c]=b;this._config=a,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function B(a,b){var c,e=k({},a);for(c in b)j(b,c)&&(d(a[c])&&d(b[c])?(e[c]={},k(e[c],a[c]),k(e[c],b[c])):null!=b[c]?e[c]=b[c]:delete e[c]);for(c in a)j(a,c)&&!j(b,c)&&d(a[c])&&(e[c]=k({},e[c]));return e}function C(a){null!=a&&this.set(a)}function D(a,b,c){var d=this._calendar[a]||this._calendar.sameElse;return z(d)?d.call(b,c):d}function E(a){var b=this._longDateFormat[a],c=this._longDateFormat[a.toUpperCase()];return b||!c?b:(this._longDateFormat[a]=c.replace(/MMMM|MM|DD|dddd/g,function(a){return a.slice(1)}),this._longDateFormat[a])}function F(){return this._invalidDate}function G(a){return this._ordinal.replace("%d",a)}function H(a,b,c,d){var e=this._relativeTime[c];return z(e)?e(a,b,c,d):e.replace(/%d/i,a)}function I(a,b){var c=this._relativeTime[a>0?"future":"past"];return z(c)?c(b):c.replace(/%s/i,b)}function J(a,b){var c=a.toLowerCase();Hd[c]=Hd[c+"s"]=Hd[b]=a}function K(a){return"string"==typeof a?Hd[a]||Hd[a.toLowerCase()]:void 0}function L(a){var b,c,d={};for(c in a)j(a,c)&&(b=K(c),b&&(d[b]=a[c]));return d}function M(a,b){Id[a]=b}function N(a){var b=[];for(var c in a)b.push({unit:c,priority:Id[c]});return b.sort(function(a,b){return a.priority-b.priority}),b}function O(b,c){return function(d){return null!=d?(Q(this,b,d),a.updateOffset(this,c),this):P(this,b)}}function P(a,b){return a.isValid()?a._d["get"+(a._isUTC?"UTC":"")+b]():NaN}function Q(a,b,c){a.isValid()&&a._d["set"+(a._isUTC?"UTC":"")+b](c)}function R(a){return a=K(a),z(this[a])?this[a]():this}function S(a,b){if("object"==typeof a){a=L(a);for(var c=N(a),d=0;d<c.length;d++)this[c[d].unit](a[c[d].unit])}else if(a=K(a),z(this[a]))return this[a](b);return this}function T(a,b,c){var d=""+Math.abs(a),e=b-d.length,f=a>=0;return(f?c?"+":"":"-")+Math.pow(10,Math.max(0,e)).toString().substr(1)+d}function U(a,b,c,d){var e=d;"string"==typeof d&&(e=function(){return this[d]()}),a&&(Md[a]=e),b&&(Md[b[0]]=function(){return T(e.apply(this,arguments),b[1],b[2])}),c&&(Md[c]=function(){return this.localeData().ordinal(e.apply(this,arguments),a)})}function V(a){return a.match(/\[[\s\S]/)?a.replace(/^\[|\]$/g,""):a.replace(/\\/g,"")}function W(a){var b,c,d=a.match(Jd);for(b=0,c=d.length;b<c;b++)Md[d[b]]?d[b]=Md[d[b]]:d[b]=V(d[b]);return function(b){var e,f="";for(e=0;e<c;e++)f+=z(d[e])?d[e].call(b,a):d[e];return f}}function X(a,b){return a.isValid()?(b=Y(b,a.localeData()),Ld[b]=Ld[b]||W(b),Ld[b](a)):a.localeData().invalidDate()}function Y(a,b){function c(a){return b.longDateFormat(a)||a}var d=5;for(Kd.lastIndex=0;d>=0&&Kd.test(a);)a=a.replace(Kd,c),Kd.lastIndex=0,d-=1;return a}function Z(a,b,c){ce[a]=z(b)?b:function(a,d){return a&&c?c:b}}function $(a,b){return j(ce,a)?ce[a](b._strict,b._locale):new RegExp(_(a))}function _(a){return aa(a.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(a,b,c,d,e){return b||c||d||e}))}function aa(a){return a.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ba(a,b){var c,d=b;for("string"==typeof a&&(a=[a]),g(b)&&(d=function(a,c){c[b]=u(a)}),c=0;c<a.length;c++)de[a[c]]=d}function ca(a,b){ba(a,function(a,c,d,e){d._w=d._w||{},b(a,d._w,d,e)})}function da(a,b,c){null!=b&&j(de,a)&&de[a](b,c._a,c,a)}function ea(a,b){return new Date(Date.UTC(a,b+1,0)).getUTCDate()}function fa(a,b){return a?c(this._months)?this._months[a.month()]:this._months[(this._months.isFormat||oe).test(b)?"format":"standalone"][a.month()]:c(this._months)?this._months:this._months.standalone}function ga(a,b){return a?c(this._monthsShort)?this._monthsShort[a.month()]:this._monthsShort[oe.test(b)?"format":"standalone"][a.month()]:c(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function ha(a,b,c){var d,e,f,g=a.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],d=0;d<12;++d)f=l([2e3,d]),this._shortMonthsParse[d]=this.monthsShort(f,"").toLocaleLowerCase(),this._longMonthsParse[d]=this.months(f,"").toLocaleLowerCase();return c?"MMM"===b?(e=ne.call(this._shortMonthsParse,g),e!==-1?e:null):(e=ne.call(this._longMonthsParse,g),e!==-1?e:null):"MMM"===b?(e=ne.call(this._shortMonthsParse,g),e!==-1?e:(e=ne.call(this._longMonthsParse,g),e!==-1?e:null)):(e=ne.call(this._longMonthsParse,g),e!==-1?e:(e=ne.call(this._shortMonthsParse,g),e!==-1?e:null))}function ia(a,b,c){var d,e,f;if(this._monthsParseExact)return ha.call(this,a,b,c);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),d=0;d<12;d++){if(e=l([2e3,d]),c&&!this._longMonthsParse[d]&&(this._longMonthsParse[d]=new RegExp("^"+this.months(e,"").replace(".","")+"$","i"),this._shortMonthsParse[d]=new RegExp("^"+this.monthsShort(e,"").replace(".","")+"$","i")),c||this._monthsParse[d]||(f="^"+this.months(e,"")+"|^"+this.monthsShort(e,""),this._monthsParse[d]=new RegExp(f.replace(".",""),"i")),c&&"MMMM"===b&&this._longMonthsParse[d].test(a))return d;if(c&&"MMM"===b&&this._shortMonthsParse[d].test(a))return d;if(!c&&this._monthsParse[d].test(a))return d}}function ja(a,b){var c;if(!a.isValid())return a;if("string"==typeof b)if(/^\d+$/.test(b))b=u(b);else if(b=a.localeData().monthsParse(b),!g(b))return a;return c=Math.min(a.date(),ea(a.year(),b)),a._d["set"+(a._isUTC?"UTC":"")+"Month"](b,c),a}function ka(b){return null!=b?(ja(this,b),a.updateOffset(this,!0),this):P(this,"Month")}function la(){return ea(this.year(),this.month())}function ma(a){return this._monthsParseExact?(j(this,"_monthsRegex")||oa.call(this),a?this._monthsShortStrictRegex:this._monthsShortRegex):(j(this,"_monthsShortRegex")||(this._monthsShortRegex=re),this._monthsShortStrictRegex&&a?this._monthsShortStrictRegex:this._monthsShortRegex)}function na(a){return this._monthsParseExact?(j(this,"_monthsRegex")||oa.call(this),a?this._monthsStrictRegex:this._monthsRegex):(j(this,"_monthsRegex")||(this._monthsRegex=se),this._monthsStrictRegex&&a?this._monthsStrictRegex:this._monthsRegex)}function oa(){function a(a,b){return b.length-a.length}var b,c,d=[],e=[],f=[];for(b=0;b<12;b++)c=l([2e3,b]),d.push(this.monthsShort(c,"")),e.push(this.months(c,"")),f.push(this.months(c,"")),f.push(this.monthsShort(c,""));for(d.sort(a),e.sort(a),f.sort(a),b=0;b<12;b++)d[b]=aa(d[b]),e[b]=aa(e[b]);for(b=0;b<24;b++)f[b]=aa(f[b]);this._monthsRegex=new RegExp("^("+f.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+e.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+d.join("|")+")","i")}function pa(a){return qa(a)?366:365}function qa(a){return a%4===0&&a%100!==0||a%400===0}function ra(){return qa(this.year())}function sa(a,b,c,d,e,f,g){var h=new Date(a,b,c,d,e,f,g);return a<100&&a>=0&&isFinite(h.getFullYear())&&h.setFullYear(a),h}function ta(a){var b=new Date(Date.UTC.apply(null,arguments));return a<100&&a>=0&&isFinite(b.getUTCFullYear())&&b.setUTCFullYear(a),b}function ua(a,b,c){var d=7+b-c,e=(7+ta(a,0,d).getUTCDay()-b)%7;return-e+d-1}function va(a,b,c,d,e){var f,g,h=(7+c-d)%7,i=ua(a,d,e),j=1+7*(b-1)+h+i;return j<=0?(f=a-1,g=pa(f)+j):j>pa(a)?(f=a+1,g=j-pa(a)):(f=a,g=j),{year:f,dayOfYear:g}}function wa(a,b,c){var d,e,f=ua(a.year(),b,c),g=Math.floor((a.dayOfYear()-f-1)/7)+1;return g<1?(e=a.year()-1,d=g+xa(e,b,c)):g>xa(a.year(),b,c)?(d=g-xa(a.year(),b,c),e=a.year()+1):(e=a.year(),d=g),{week:d,year:e}}function xa(a,b,c){var d=ua(a,b,c),e=ua(a+1,b,c);return(pa(a)-d+e)/7}function ya(a){return wa(a,this._week.dow,this._week.doy).week}function za(){return this._week.dow}function Aa(){return this._week.doy}function Ba(a){var b=this.localeData().week(this);return null==a?b:this.add(7*(a-b),"d")}function Ca(a){var b=wa(this,1,4).week;return null==a?b:this.add(7*(a-b),"d")}function Da(a,b){return"string"!=typeof a?a:isNaN(a)?(a=b.weekdaysParse(a),"number"==typeof a?a:null):parseInt(a,10)}function Ea(a,b){return"string"==typeof a?b.weekdaysParse(a)%7||7:isNaN(a)?null:a}function Fa(a,b){return a?c(this._weekdays)?this._weekdays[a.day()]:this._weekdays[this._weekdays.isFormat.test(b)?"format":"standalone"][a.day()]:c(this._weekdays)?this._weekdays:this._weekdays.standalone}function Ga(a){return a?this._weekdaysShort[a.day()]:this._weekdaysShort}function Ha(a){return a?this._weekdaysMin[a.day()]:this._weekdaysMin}function Ia(a,b,c){var d,e,f,g=a.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],d=0;d<7;++d)f=l([2e3,1]).day(d),this._minWeekdaysParse[d]=this.weekdaysMin(f,"").toLocaleLowerCase(),this._shortWeekdaysParse[d]=this.weekdaysShort(f,"").toLocaleLowerCase(),this._weekdaysParse[d]=this.weekdays(f,"").toLocaleLowerCase();return c?"dddd"===b?(e=ne.call(this._weekdaysParse,g),e!==-1?e:null):"ddd"===b?(e=ne.call(this._shortWeekdaysParse,g),e!==-1?e:null):(e=ne.call(this._minWeekdaysParse,g),e!==-1?e:null):"dddd"===b?(e=ne.call(this._weekdaysParse,g),e!==-1?e:(e=ne.call(this._shortWeekdaysParse,g),e!==-1?e:(e=ne.call(this._minWeekdaysParse,g),e!==-1?e:null))):"ddd"===b?(e=ne.call(this._shortWeekdaysParse,g),e!==-1?e:(e=ne.call(this._weekdaysParse,g),e!==-1?e:(e=ne.call(this._minWeekdaysParse,g),e!==-1?e:null))):(e=ne.call(this._minWeekdaysParse,g),e!==-1?e:(e=ne.call(this._weekdaysParse,g),e!==-1?e:(e=ne.call(this._shortWeekdaysParse,g),e!==-1?e:null)))}function Ja(a,b,c){var d,e,f;if(this._weekdaysParseExact)return Ia.call(this,a,b,c);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),d=0;d<7;d++){if(e=l([2e3,1]).day(d),c&&!this._fullWeekdaysParse[d]&&(this._fullWeekdaysParse[d]=new RegExp("^"+this.weekdays(e,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[d]=new RegExp("^"+this.weekdaysShort(e,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[d]=new RegExp("^"+this.weekdaysMin(e,"").replace(".",".?")+"$","i")),this._weekdaysParse[d]||(f="^"+this.weekdays(e,"")+"|^"+this.weekdaysShort(e,"")+"|^"+this.weekdaysMin(e,""),this._weekdaysParse[d]=new RegExp(f.replace(".",""),"i")),c&&"dddd"===b&&this._fullWeekdaysParse[d].test(a))return d;if(c&&"ddd"===b&&this._shortWeekdaysParse[d].test(a))return d;if(c&&"dd"===b&&this._minWeekdaysParse[d].test(a))return d;if(!c&&this._weekdaysParse[d].test(a))return d}}function Ka(a){if(!this.isValid())return null!=a?this:NaN;var b=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=a?(a=Da(a,this.localeData()),this.add(a-b,"d")):b}function La(a){if(!this.isValid())return null!=a?this:NaN;var b=(this.day()+7-this.localeData()._week.dow)%7;return null==a?b:this.add(a-b,"d")}function Ma(a){if(!this.isValid())return null!=a?this:NaN;if(null!=a){var b=Ea(a,this.localeData());return this.day(this.day()%7?b:b-7)}return this.day()||7}function Na(a){return this._weekdaysParseExact?(j(this,"_weekdaysRegex")||Qa.call(this),a?this._weekdaysStrictRegex:this._weekdaysRegex):(j(this,"_weekdaysRegex")||(this._weekdaysRegex=ye),this._weekdaysStrictRegex&&a?this._weekdaysStrictRegex:this._weekdaysRegex)}function Oa(a){return this._weekdaysParseExact?(j(this,"_weekdaysRegex")||Qa.call(this),a?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(j(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ze),this._weekdaysShortStrictRegex&&a?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Pa(a){return this._weekdaysParseExact?(j(this,"_weekdaysRegex")||Qa.call(this),a?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(j(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ae),this._weekdaysMinStrictRegex&&a?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Qa(){function a(a,b){return b.length-a.length}var b,c,d,e,f,g=[],h=[],i=[],j=[];for(b=0;b<7;b++)c=l([2e3,1]).day(b),d=this.weekdaysMin(c,""),e=this.weekdaysShort(c,""),f=this.weekdays(c,""),g.push(d),h.push(e),i.push(f),j.push(d),j.push(e),j.push(f);for(g.sort(a),h.sort(a),i.sort(a),j.sort(a),b=0;b<7;b++)h[b]=aa(h[b]),i[b]=aa(i[b]),j[b]=aa(j[b]);this._weekdaysRegex=new RegExp("^("+j.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+h.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+g.join("|")+")","i")}function Ra(){return this.hours()%12||12}function Sa(){return this.hours()||24}function Ta(a,b){U(a,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),b)})}function Ua(a,b){return b._meridiemParse}function Va(a){return"p"===(a+"").toLowerCase().charAt(0)}function Wa(a,b,c){return a>11?c?"pm":"PM":c?"am":"AM"}function Xa(a){return a?a.toLowerCase().replace("_","-"):a}function Ya(a){for(var b,c,d,e,f=0;f<a.length;){for(e=Xa(a[f]).split("-"),b=e.length,c=Xa(a[f+1]),c=c?c.split("-"):null;b>0;){if(d=Za(e.slice(0,b).join("-")))return d;if(c&&c.length>=b&&v(e,c,!0)>=b-1)break;b--}f++}return null}function Za(a){var b=null;if(!Fe[a]&&"undefined"!=typeof module&&module&&module.exports)try{b=Be._abbr,require("./locale/"+a),$a(b)}catch(a){}return Fe[a]}function $a(a,b){var c;return a&&(c=f(b)?bb(a):_a(a,b),c&&(Be=c)),Be._abbr}function _a(a,b){if(null!==b){var c=Ee;if(b.abbr=a,null!=Fe[a])y("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),c=Fe[a]._config;else if(null!=b.parentLocale){if(null==Fe[b.parentLocale])return Ge[b.parentLocale]||(Ge[b.parentLocale]=[]),Ge[b.parentLocale].push({name:a,config:b}),null;c=Fe[b.parentLocale]._config}return Fe[a]=new C(B(c,b)),Ge[a]&&Ge[a].forEach(function(a){_a(a.name,a.config)}),$a(a),Fe[a]}return delete Fe[a],null}function ab(a,b){if(null!=b){var c,d=Ee;null!=Fe[a]&&(d=Fe[a]._config),b=B(d,b),c=new C(b),c.parentLocale=Fe[a],Fe[a]=c,$a(a)}else null!=Fe[a]&&(null!=Fe[a].parentLocale?Fe[a]=Fe[a].parentLocale:null!=Fe[a]&&delete Fe[a]);return Fe[a]}function bb(a){var b;if(a&&a._locale&&a._locale._abbr&&(a=a._locale._abbr),!a)return Be;if(!c(a)){if(b=Za(a))return b;a=[a]}return Ya(a)}function cb(){return Ad(Fe)}function db(a){var b,c=a._a;return c&&n(a).overflow===-2&&(b=c[fe]<0||c[fe]>11?fe:c[ge]<1||c[ge]>ea(c[ee],c[fe])?ge:c[he]<0||c[he]>24||24===c[he]&&(0!==c[ie]||0!==c[je]||0!==c[ke])?he:c[ie]<0||c[ie]>59?ie:c[je]<0||c[je]>59?je:c[ke]<0||c[ke]>999?ke:-1,n(a)._overflowDayOfYear&&(b<ee||b>ge)&&(b=ge),n(a)._overflowWeeks&&b===-1&&(b=le),n(a)._overflowWeekday&&b===-1&&(b=me),n(a).overflow=b),a}function eb(a){var b,c,d,e,f,g,h=a._i,i=He.exec(h)||Ie.exec(h);if(i){for(n(a).iso=!0,b=0,c=Ke.length;b<c;b++)if(Ke[b][1].exec(i[1])){e=Ke[b][0],d=Ke[b][2]!==!1;break}if(null==e)return void(a._isValid=!1);if(i[3]){for(b=0,c=Le.length;b<c;b++)if(Le[b][1].exec(i[3])){f=(i[2]||" ")+Le[b][0];break}if(null==f)return void(a._isValid=!1)}if(!d&&null!=f)return void(a._isValid=!1);if(i[4]){if(!Je.exec(i[4]))return void(a._isValid=!1);g="Z"}a._f=e+(f||"")+(g||""),lb(a)}else a._isValid=!1}function fb(a){var b,c,d,e,f,g,h,i,j={" GMT":" +0000"," EDT":" -0400"," EST":" -0500"," CDT":" -0500"," CST":" -0600"," MDT":" -0600"," MST":" -0700"," PDT":" -0700"," PST":" -0800"},k="YXWVUTSRQPONZABCDEFGHIKLM";if(b=a._i.replace(/\([^\)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s|\s$/g,""),c=Ne.exec(b)){if(d=c[1]?"ddd"+(5===c[1].length?", ":" "):"",e="D MMM "+(c[2].length>10?"YYYY ":"YY "),f="HH:mm"+(c[4]?":ss":""),c[1]){var l=new Date(c[2]),m=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"][l.getDay()];if(c[1].substr(0,3)!==m)return n(a).weekdayMismatch=!0,void(a._isValid=!1)}switch(c[5].length){case 2:0===i?h=" +0000":(i=k.indexOf(c[5][1].toUpperCase())-12,h=(i<0?" -":" +")+(""+i).replace(/^-?/,"0").match(/..$/)[0]+"00");break;case 4:h=j[c[5]];break;default:h=j[" GMT"]}c[5]=h,a._i=c.splice(1).join(""),g=" ZZ",a._f=d+e+f+g,lb(a),n(a).rfc2822=!0}else a._isValid=!1}function gb(b){var c=Me.exec(b._i);return null!==c?void(b._d=new Date(+c[1])):(eb(b),void(b._isValid===!1&&(delete b._isValid,fb(b),b._isValid===!1&&(delete b._isValid,a.createFromInputFallback(b)))))}function hb(a,b,c){return null!=a?a:null!=b?b:c}function ib(b){var c=new Date(a.now());return b._useUTC?[c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()]:[c.getFullYear(),c.getMonth(),c.getDate()]}function jb(a){var b,c,d,e,f=[];if(!a._d){for(d=ib(a),a._w&&null==a._a[ge]&&null==a._a[fe]&&kb(a),null!=a._dayOfYear&&(e=hb(a._a[ee],d[ee]),(a._dayOfYear>pa(e)||0===a._dayOfYear)&&(n(a)._overflowDayOfYear=!0),c=ta(e,0,a._dayOfYear),a._a[fe]=c.getUTCMonth(),a._a[ge]=c.getUTCDate()),b=0;b<3&&null==a._a[b];++b)a._a[b]=f[b]=d[b];for(;b<7;b++)a._a[b]=f[b]=null==a._a[b]?2===b?1:0:a._a[b];24===a._a[he]&&0===a._a[ie]&&0===a._a[je]&&0===a._a[ke]&&(a._nextDay=!0,a._a[he]=0),a._d=(a._useUTC?ta:sa).apply(null,f),null!=a._tzm&&a._d.setUTCMinutes(a._d.getUTCMinutes()-a._tzm),a._nextDay&&(a._a[he]=24)}}function kb(a){var b,c,d,e,f,g,h,i;if(b=a._w,null!=b.GG||null!=b.W||null!=b.E)f=1,g=4,c=hb(b.GG,a._a[ee],wa(tb(),1,4).year),d=hb(b.W,1),e=hb(b.E,1),(e<1||e>7)&&(i=!0);else{f=a._locale._week.dow,g=a._locale._week.doy;var j=wa(tb(),f,g);c=hb(b.gg,a._a[ee],j.year),d=hb(b.w,j.week),null!=b.d?(e=b.d,(e<0||e>6)&&(i=!0)):null!=b.e?(e=b.e+f,(b.e<0||b.e>6)&&(i=!0)):e=f}d<1||d>xa(c,f,g)?n(a)._overflowWeeks=!0:null!=i?n(a)._overflowWeekday=!0:(h=va(c,d,e,f,g),a._a[ee]=h.year,a._dayOfYear=h.dayOfYear)}function lb(b){if(b._f===a.ISO_8601)return void eb(b);if(b._f===a.RFC_2822)return void fb(b);b._a=[],n(b).empty=!0;var c,d,e,f,g,h=""+b._i,i=h.length,j=0;for(e=Y(b._f,b._locale).match(Jd)||[],c=0;c<e.length;c++)f=e[c],d=(h.match($(f,b))||[])[0],d&&(g=h.substr(0,h.indexOf(d)),g.length>0&&n(b).unusedInput.push(g),h=h.slice(h.indexOf(d)+d.length),j+=d.length),Md[f]?(d?n(b).empty=!1:n(b).unusedTokens.push(f),da(f,d,b)):b._strict&&!d&&n(b).unusedTokens.push(f);n(b).charsLeftOver=i-j,h.length>0&&n(b).unusedInput.push(h),b._a[he]<=12&&n(b).bigHour===!0&&b._a[he]>0&&(n(b).bigHour=void 0),n(b).parsedDateParts=b._a.slice(0),n(b).meridiem=b._meridiem,b._a[he]=mb(b._locale,b._a[he],b._meridiem),jb(b),db(b)}function mb(a,b,c){var d;return null==c?b:null!=a.meridiemHour?a.meridiemHour(b,c):null!=a.isPM?(d=a.isPM(c),d&&b<12&&(b+=12),d||12!==b||(b=0),b):b}function nb(a){var b,c,d,e,f;if(0===a._f.length)return n(a).invalidFormat=!0,void(a._d=new Date(NaN));for(e=0;e<a._f.length;e++)f=0,b=q({},a),null!=a._useUTC&&(b._useUTC=a._useUTC),b._f=a._f[e],lb(b),o(b)&&(f+=n(b).charsLeftOver,f+=10*n(b).unusedTokens.length,n(b).score=f,(null==d||f<d)&&(d=f,c=b));k(a,c||b)}function ob(a){if(!a._d){var b=L(a._i);a._a=i([b.year,b.month,b.day||b.date,b.hour,b.minute,b.second,b.millisecond],function(a){return a&&parseInt(a,10)}),jb(a)}}function pb(a){var b=new r(db(qb(a)));return b._nextDay&&(b.add(1,"d"),b._nextDay=void 0),b}function qb(a){var b=a._i,d=a._f;return a._locale=a._locale||bb(a._l),null===b||void 0===d&&""===b?p({nullInput:!0}):("string"==typeof b&&(a._i=b=a._locale.preparse(b)),s(b)?new r(db(b)):(h(b)?a._d=b:c(d)?nb(a):d?lb(a):rb(a),o(a)||(a._d=null),a))}function rb(b){var e=b._i;f(e)?b._d=new Date(a.now()):h(e)?b._d=new Date(e.valueOf()):"string"==typeof e?gb(b):c(e)?(b._a=i(e.slice(0),function(a){return parseInt(a,10)}),jb(b)):d(e)?ob(b):g(e)?b._d=new Date(e):a.createFromInputFallback(b)}function sb(a,b,f,g,h){var i={};return f!==!0&&f!==!1||(g=f,f=void 0),(d(a)&&e(a)||c(a)&&0===a.length)&&(a=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=h,i._l=f,i._i=a,i._f=b,i._strict=g,pb(i)}function tb(a,b,c,d){return sb(a,b,c,d,!1)}function ub(a,b){var d,e;if(1===b.length&&c(b[0])&&(b=b[0]),!b.length)return tb();for(d=b[0],e=1;e<b.length;++e)b[e].isValid()&&!b[e][a](d)||(d=b[e]);return d}function vb(){var a=[].slice.call(arguments,0);return ub("isBefore",a)}function wb(){var a=[].slice.call(arguments,0);return ub("isAfter",a)}function xb(a){for(var b in a)if(Re.indexOf(b)===-1||null!=a[b]&&isNaN(a[b]))return!1;for(var c=!1,d=0;d<Re.length;++d)if(a[Re[d]]){if(c)return!1;parseFloat(a[Re[d]])!==u(a[Re[d]])&&(c=!0)}return!0}function yb(){return this._isValid}function zb(){return Sb(NaN)}function Ab(a){var b=L(a),c=b.year||0,d=b.quarter||0,e=b.month||0,f=b.week||0,g=b.day||0,h=b.hour||0,i=b.minute||0,j=b.second||0,k=b.millisecond||0;this._isValid=xb(b),this._milliseconds=+k+1e3*j+6e4*i+1e3*h*60*60,this._days=+g+7*f,this._months=+e+3*d+12*c,this._data={},this._locale=bb(),this._bubble()}function Bb(a){return a instanceof Ab}function Cb(a){return a<0?Math.round(-1*a)*-1:Math.round(a)}function Db(a,b){U(a,0,0,function(){var a=this.utcOffset(),c="+";return a<0&&(a=-a,c="-"),c+T(~~(a/60),2)+b+T(~~a%60,2)})}function Eb(a,b){var c=(b||"").match(a);if(null===c)return null;var d=c[c.length-1]||[],e=(d+"").match(Se)||["-",0,0],f=+(60*e[1])+u(e[2]);return 0===f?0:"+"===e[0]?f:-f}function Fb(b,c){var d,e;return c._isUTC?(d=c.clone(),e=(s(b)||h(b)?b.valueOf():tb(b).valueOf())-d.valueOf(),d._d.setTime(d._d.valueOf()+e),a.updateOffset(d,!1),d):tb(b).local()}function Gb(a){return 15*-Math.round(a._d.getTimezoneOffset()/15)}function Hb(b,c,d){var e,f=this._offset||0;if(!this.isValid())return null!=b?this:NaN;if(null!=b){if("string"==typeof b){if(b=Eb(_d,b),null===b)return this}else Math.abs(b)<16&&!d&&(b=60*b);return!this._isUTC&&c&&(e=Gb(this)),this._offset=b,this._isUTC=!0,null!=e&&this.add(e,"m"),f!==b&&(!c||this._changeInProgress?Xb(this,Sb(b-f,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,a.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?f:Gb(this)}function Ib(a,b){return null!=a?("string"!=typeof a&&(a=-a),this.utcOffset(a,b),this):-this.utcOffset()}function Jb(a){return this.utcOffset(0,a)}function Kb(a){return this._isUTC&&(this.utcOffset(0,a),this._isUTC=!1,a&&this.subtract(Gb(this),"m")),this}function Lb(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var a=Eb($d,this._i);null!=a?this.utcOffset(a):this.utcOffset(0,!0)}return this}function Mb(a){return!!this.isValid()&&(a=a?tb(a).utcOffset():0,(this.utcOffset()-a)%60===0)}function Nb(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Ob(){if(!f(this._isDSTShifted))return this._isDSTShifted;var a={};if(q(a,this),a=qb(a),a._a){var b=a._isUTC?l(a._a):tb(a._a);this._isDSTShifted=this.isValid()&&v(a._a,b.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Pb(){return!!this.isValid()&&!this._isUTC}function Qb(){return!!this.isValid()&&this._isUTC}function Rb(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Sb(a,b){var c,d,e,f=a,h=null;return Bb(a)?f={ms:a._milliseconds,d:a._days,M:a._months}:g(a)?(f={},b?f[b]=a:f.milliseconds=a):(h=Te.exec(a))?(c="-"===h[1]?-1:1,f={y:0,d:u(h[ge])*c,h:u(h[he])*c,m:u(h[ie])*c,s:u(h[je])*c,ms:u(Cb(1e3*h[ke]))*c}):(h=Ue.exec(a))?(c="-"===h[1]?-1:1,f={y:Tb(h[2],c),M:Tb(h[3],c),w:Tb(h[4],c),d:Tb(h[5],c),h:Tb(h[6],c),m:Tb(h[7],c),s:Tb(h[8],c)}):null==f?f={}:"object"==typeof f&&("from"in f||"to"in f)&&(e=Vb(tb(f.from),tb(f.to)),f={},f.ms=e.milliseconds,f.M=e.months),d=new Ab(f),Bb(a)&&j(a,"_locale")&&(d._locale=a._locale),d}function Tb(a,b){var c=a&&parseFloat(a.replace(",","."));return(isNaN(c)?0:c)*b}function Ub(a,b){var c={milliseconds:0,months:0};return c.months=b.month()-a.month()+12*(b.year()-a.year()),a.clone().add(c.months,"M").isAfter(b)&&--c.months,c.milliseconds=+b-+a.clone().add(c.months,"M"),c}function Vb(a,b){var c;return a.isValid()&&b.isValid()?(b=Fb(b,a),a.isBefore(b)?c=Ub(a,b):(c=Ub(b,a),c.milliseconds=-c.milliseconds,c.months=-c.months),c):{milliseconds:0,months:0}}function Wb(a,b){return function(c,d){var e,f;return null===d||isNaN(+d)||(y(b,"moment()."+b+"(period, number) is deprecated. Please use moment()."+b+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),f=c,c=d,d=f),c="string"==typeof c?+c:c,e=Sb(c,d),Xb(this,e,a),this}}function Xb(b,c,d,e){var f=c._milliseconds,g=Cb(c._days),h=Cb(c._months);b.isValid()&&(e=null==e||e,f&&b._d.setTime(b._d.valueOf()+f*d),g&&Q(b,"Date",P(b,"Date")+g*d),h&&ja(b,P(b,"Month")+h*d),e&&a.updateOffset(b,g||h))}function Yb(a,b){var c=a.diff(b,"days",!0);return c<-6?"sameElse":c<-1?"lastWeek":c<0?"lastDay":c<1?"sameDay":c<2?"nextDay":c<7?"nextWeek":"sameElse"}function Zb(b,c){var d=b||tb(),e=Fb(d,this).startOf("day"),f=a.calendarFormat(this,e)||"sameElse",g=c&&(z(c[f])?c[f].call(this,d):c[f]);return this.format(g||this.localeData().calendar(f,this,tb(d)))}function $b(){return new r(this)}function _b(a,b){var c=s(a)?a:tb(a);return!(!this.isValid()||!c.isValid())&&(b=K(f(b)?"millisecond":b),"millisecond"===b?this.valueOf()>c.valueOf():c.valueOf()<this.clone().startOf(b).valueOf())}function ac(a,b){var c=s(a)?a:tb(a);return!(!this.isValid()||!c.isValid())&&(b=K(f(b)?"millisecond":b),"millisecond"===b?this.valueOf()<c.valueOf():this.clone().endOf(b).valueOf()<c.valueOf())}function bc(a,b,c,d){return d=d||"()",("("===d[0]?this.isAfter(a,c):!this.isBefore(a,c))&&(")"===d[1]?this.isBefore(b,c):!this.isAfter(b,c))}function cc(a,b){var c,d=s(a)?a:tb(a);return!(!this.isValid()||!d.isValid())&&(b=K(b||"millisecond"),"millisecond"===b?this.valueOf()===d.valueOf():(c=d.valueOf(),this.clone().startOf(b).valueOf()<=c&&c<=this.clone().endOf(b).valueOf()))}function dc(a,b){return this.isSame(a,b)||this.isAfter(a,b)}function ec(a,b){return this.isSame(a,b)||this.isBefore(a,b)}function fc(a,b,c){var d,e,f,g;return this.isValid()?(d=Fb(a,this),d.isValid()?(e=6e4*(d.utcOffset()-this.utcOffset()),b=K(b),"year"===b||"month"===b||"quarter"===b?(g=gc(this,d),"quarter"===b?g/=3:"year"===b&&(g/=12)):(f=this-d,g="second"===b?f/1e3:"minute"===b?f/6e4:"hour"===b?f/36e5:"day"===b?(f-e)/864e5:"week"===b?(f-e)/6048e5:f),c?g:t(g)):NaN):NaN}function gc(a,b){var c,d,e=12*(b.year()-a.year())+(b.month()-a.month()),f=a.clone().add(e,"months");return b-f<0?(c=a.clone().add(e-1,"months"),d=(b-f)/(f-c)):(c=a.clone().add(e+1,"months"),d=(b-f)/(c-f)),-(e+d)||0}function hc(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function ic(){if(!this.isValid())return null;var a=this.clone().utc();return a.year()<0||a.year()>9999?X(a,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):z(Date.prototype.toISOString)?this.toDate().toISOString():X(a,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function jc(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var a="moment",b="";this.isLocal()||(a=0===this.utcOffset()?"moment.utc":"moment.parseZone",b="Z");var c="["+a+'("]',d=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",e="-MM-DD[T]HH:mm:ss.SSS",f=b+'[")]';return this.format(c+d+e+f)}function kc(b){b||(b=this.isUtc()?a.defaultFormatUtc:a.defaultFormat);var c=X(this,b);return this.localeData().postformat(c)}function lc(a,b){return this.isValid()&&(s(a)&&a.isValid()||tb(a).isValid())?Sb({to:this,from:a}).locale(this.locale()).humanize(!b):this.localeData().invalidDate()}function mc(a){return this.from(tb(),a)}function nc(a,b){return this.isValid()&&(s(a)&&a.isValid()||tb(a).isValid())?Sb({from:this,to:a}).locale(this.locale()).humanize(!b):this.localeData().invalidDate()}function oc(a){return this.to(tb(),a)}function pc(a){var b;return void 0===a?this._locale._abbr:(b=bb(a),null!=b&&(this._locale=b),this)}function qc(){return this._locale}function rc(a){switch(a=K(a)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===a&&this.weekday(0),"isoWeek"===a&&this.isoWeekday(1),"quarter"===a&&this.month(3*Math.floor(this.month()/3)),this}function sc(a){return a=K(a),void 0===a||"millisecond"===a?this:("date"===a&&(a="day"),this.startOf(a).add(1,"isoWeek"===a?"week":a).subtract(1,"ms"))}function tc(){return this._d.valueOf()-6e4*(this._offset||0)}function uc(){return Math.floor(this.valueOf()/1e3)}function vc(){return new Date(this.valueOf())}function wc(){var a=this;return[a.year(),a.month(),a.date(),a.hour(),a.minute(),a.second(),a.millisecond()]}function xc(){var a=this;return{years:a.year(),months:a.month(),date:a.date(),hours:a.hours(),minutes:a.minutes(),seconds:a.seconds(),milliseconds:a.milliseconds()}}function yc(){return this.isValid()?this.toISOString():null}function zc(){return o(this)}function Ac(){ | |
6 | return k({},n(this))}function Bc(){return n(this).overflow}function Cc(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Dc(a,b){U(0,[a,a.length],0,b)}function Ec(a){return Ic.call(this,a,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Fc(a){return Ic.call(this,a,this.isoWeek(),this.isoWeekday(),1,4)}function Gc(){return xa(this.year(),1,4)}function Hc(){var a=this.localeData()._week;return xa(this.year(),a.dow,a.doy)}function Ic(a,b,c,d,e){var f;return null==a?wa(this,d,e).year:(f=xa(a,d,e),b>f&&(b=f),Jc.call(this,a,b,c,d,e))}function Jc(a,b,c,d,e){var f=va(a,b,c,d,e),g=ta(f.year,0,f.dayOfYear);return this.year(g.getUTCFullYear()),this.month(g.getUTCMonth()),this.date(g.getUTCDate()),this}function Kc(a){return null==a?Math.ceil((this.month()+1)/3):this.month(3*(a-1)+this.month()%3)}function Lc(a){var b=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==a?b:this.add(a-b,"d")}function Mc(a,b){b[ke]=u(1e3*("0."+a))}function Nc(){return this._isUTC?"UTC":""}function Oc(){return this._isUTC?"Coordinated Universal Time":""}function Pc(a){return tb(1e3*a)}function Qc(){return tb.apply(null,arguments).parseZone()}function Rc(a){return a}function Sc(a,b,c,d){var e=bb(),f=l().set(d,b);return e[c](f,a)}function Tc(a,b,c){if(g(a)&&(b=a,a=void 0),a=a||"",null!=b)return Sc(a,b,c,"month");var d,e=[];for(d=0;d<12;d++)e[d]=Sc(a,d,c,"month");return e}function Uc(a,b,c,d){"boolean"==typeof a?(g(b)&&(c=b,b=void 0),b=b||""):(b=a,c=b,a=!1,g(b)&&(c=b,b=void 0),b=b||"");var e=bb(),f=a?e._week.dow:0;if(null!=c)return Sc(b,(c+f)%7,d,"day");var h,i=[];for(h=0;h<7;h++)i[h]=Sc(b,(h+f)%7,d,"day");return i}function Vc(a,b){return Tc(a,b,"months")}function Wc(a,b){return Tc(a,b,"monthsShort")}function Xc(a,b,c){return Uc(a,b,c,"weekdays")}function Yc(a,b,c){return Uc(a,b,c,"weekdaysShort")}function Zc(a,b,c){return Uc(a,b,c,"weekdaysMin")}function $c(){var a=this._data;return this._milliseconds=df(this._milliseconds),this._days=df(this._days),this._months=df(this._months),a.milliseconds=df(a.milliseconds),a.seconds=df(a.seconds),a.minutes=df(a.minutes),a.hours=df(a.hours),a.months=df(a.months),a.years=df(a.years),this}function _c(a,b,c,d){var e=Sb(b,c);return a._milliseconds+=d*e._milliseconds,a._days+=d*e._days,a._months+=d*e._months,a._bubble()}function ad(a,b){return _c(this,a,b,1)}function bd(a,b){return _c(this,a,b,-1)}function cd(a){return a<0?Math.floor(a):Math.ceil(a)}function dd(){var a,b,c,d,e,f=this._milliseconds,g=this._days,h=this._months,i=this._data;return f>=0&&g>=0&&h>=0||f<=0&&g<=0&&h<=0||(f+=864e5*cd(fd(h)+g),g=0,h=0),i.milliseconds=f%1e3,a=t(f/1e3),i.seconds=a%60,b=t(a/60),i.minutes=b%60,c=t(b/60),i.hours=c%24,g+=t(c/24),e=t(ed(g)),h+=e,g-=cd(fd(e)),d=t(h/12),h%=12,i.days=g,i.months=h,i.years=d,this}function ed(a){return 4800*a/146097}function fd(a){return 146097*a/4800}function gd(a){if(!this.isValid())return NaN;var b,c,d=this._milliseconds;if(a=K(a),"month"===a||"year"===a)return b=this._days+d/864e5,c=this._months+ed(b),"month"===a?c:c/12;switch(b=this._days+Math.round(fd(this._months)),a){case"week":return b/7+d/6048e5;case"day":return b+d/864e5;case"hour":return 24*b+d/36e5;case"minute":return 1440*b+d/6e4;case"second":return 86400*b+d/1e3;case"millisecond":return Math.floor(864e5*b)+d;default:throw new Error("Unknown unit "+a)}}function hd(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*u(this._months/12):NaN}function id(a){return function(){return this.as(a)}}function jd(a){return a=K(a),this.isValid()?this[a+"s"]():NaN}function kd(a){return function(){return this.isValid()?this._data[a]:NaN}}function ld(){return t(this.days()/7)}function md(a,b,c,d,e){return e.relativeTime(b||1,!!c,a,d)}function nd(a,b,c){var d=Sb(a).abs(),e=uf(d.as("s")),f=uf(d.as("m")),g=uf(d.as("h")),h=uf(d.as("d")),i=uf(d.as("M")),j=uf(d.as("y")),k=e<=vf.ss&&["s",e]||e<vf.s&&["ss",e]||f<=1&&["m"]||f<vf.m&&["mm",f]||g<=1&&["h"]||g<vf.h&&["hh",g]||h<=1&&["d"]||h<vf.d&&["dd",h]||i<=1&&["M"]||i<vf.M&&["MM",i]||j<=1&&["y"]||["yy",j];return k[2]=b,k[3]=+a>0,k[4]=c,md.apply(null,k)}function od(a){return void 0===a?uf:"function"==typeof a&&(uf=a,!0)}function pd(a,b){return void 0!==vf[a]&&(void 0===b?vf[a]:(vf[a]=b,"s"===a&&(vf.ss=b-1),!0))}function qd(a){if(!this.isValid())return this.localeData().invalidDate();var b=this.localeData(),c=nd(this,!a,b);return a&&(c=b.pastFuture(+this,c)),b.postformat(c)}function rd(){if(!this.isValid())return this.localeData().invalidDate();var a,b,c,d=wf(this._milliseconds)/1e3,e=wf(this._days),f=wf(this._months);a=t(d/60),b=t(a/60),d%=60,a%=60,c=t(f/12),f%=12;var g=c,h=f,i=e,j=b,k=a,l=d,m=this.asSeconds();return m?(m<0?"-":"")+"P"+(g?g+"Y":"")+(h?h+"M":"")+(i?i+"D":"")+(j||k||l?"T":"")+(j?j+"H":"")+(k?k+"M":"")+(l?l+"S":""):"P0D"}var sd,td;td=Array.prototype.some?Array.prototype.some:function(a){for(var b=Object(this),c=b.length>>>0,d=0;d<c;d++)if(d in b&&a.call(this,b[d],d,b))return!0;return!1};var ud=td,vd=a.momentProperties=[],wd=!1,xd={};a.suppressDeprecationWarnings=!1,a.deprecationHandler=null;var yd;yd=Object.keys?Object.keys:function(a){var b,c=[];for(b in a)j(a,b)&&c.push(b);return c};var zd,Ad=yd,Bd={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Cd={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Dd="Invalid date",Ed="%d",Fd=/\d{1,2}/,Gd={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Hd={},Id={},Jd=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Kd=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Ld={},Md={},Nd=/\d/,Od=/\d\d/,Pd=/\d{3}/,Qd=/\d{4}/,Rd=/[+-]?\d{6}/,Sd=/\d\d?/,Td=/\d\d\d\d?/,Ud=/\d\d\d\d\d\d?/,Vd=/\d{1,3}/,Wd=/\d{1,4}/,Xd=/[+-]?\d{1,6}/,Yd=/\d+/,Zd=/[+-]?\d+/,$d=/Z|[+-]\d\d:?\d\d/gi,_d=/Z|[+-]\d\d(?::?\d\d)?/gi,ae=/[+-]?\d+(\.\d{1,3})?/,be=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,ce={},de={},ee=0,fe=1,ge=2,he=3,ie=4,je=5,ke=6,le=7,me=8;zd=Array.prototype.indexOf?Array.prototype.indexOf:function(a){var b;for(b=0;b<this.length;++b)if(this[b]===a)return b;return-1};var ne=zd;U("M",["MM",2],"Mo",function(){return this.month()+1}),U("MMM",0,0,function(a){return this.localeData().monthsShort(this,a)}),U("MMMM",0,0,function(a){return this.localeData().months(this,a)}),J("month","M"),M("month",8),Z("M",Sd),Z("MM",Sd,Od),Z("MMM",function(a,b){return b.monthsShortRegex(a)}),Z("MMMM",function(a,b){return b.monthsRegex(a)}),ba(["M","MM"],function(a,b){b[fe]=u(a)-1}),ba(["MMM","MMMM"],function(a,b,c,d){var e=c._locale.monthsParse(a,d,c._strict);null!=e?b[fe]=e:n(c).invalidMonth=a});var oe=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,pe="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),qe="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),re=be,se=be;U("Y",0,0,function(){var a=this.year();return a<=9999?""+a:"+"+a}),U(0,["YY",2],0,function(){return this.year()%100}),U(0,["YYYY",4],0,"year"),U(0,["YYYYY",5],0,"year"),U(0,["YYYYYY",6,!0],0,"year"),J("year","y"),M("year",1),Z("Y",Zd),Z("YY",Sd,Od),Z("YYYY",Wd,Qd),Z("YYYYY",Xd,Rd),Z("YYYYYY",Xd,Rd),ba(["YYYYY","YYYYYY"],ee),ba("YYYY",function(b,c){c[ee]=2===b.length?a.parseTwoDigitYear(b):u(b)}),ba("YY",function(b,c){c[ee]=a.parseTwoDigitYear(b)}),ba("Y",function(a,b){b[ee]=parseInt(a,10)}),a.parseTwoDigitYear=function(a){return u(a)+(u(a)>68?1900:2e3)};var te=O("FullYear",!0);U("w",["ww",2],"wo","week"),U("W",["WW",2],"Wo","isoWeek"),J("week","w"),J("isoWeek","W"),M("week",5),M("isoWeek",5),Z("w",Sd),Z("ww",Sd,Od),Z("W",Sd),Z("WW",Sd,Od),ca(["w","ww","W","WW"],function(a,b,c,d){b[d.substr(0,1)]=u(a)});var ue={dow:0,doy:6};U("d",0,"do","day"),U("dd",0,0,function(a){return this.localeData().weekdaysMin(this,a)}),U("ddd",0,0,function(a){return this.localeData().weekdaysShort(this,a)}),U("dddd",0,0,function(a){return this.localeData().weekdays(this,a)}),U("e",0,0,"weekday"),U("E",0,0,"isoWeekday"),J("day","d"),J("weekday","e"),J("isoWeekday","E"),M("day",11),M("weekday",11),M("isoWeekday",11),Z("d",Sd),Z("e",Sd),Z("E",Sd),Z("dd",function(a,b){return b.weekdaysMinRegex(a)}),Z("ddd",function(a,b){return b.weekdaysShortRegex(a)}),Z("dddd",function(a,b){return b.weekdaysRegex(a)}),ca(["dd","ddd","dddd"],function(a,b,c,d){var e=c._locale.weekdaysParse(a,d,c._strict);null!=e?b.d=e:n(c).invalidWeekday=a}),ca(["d","e","E"],function(a,b,c,d){b[d]=u(a)});var ve="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),we="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),xe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ye=be,ze=be,Ae=be;U("H",["HH",2],0,"hour"),U("h",["hh",2],0,Ra),U("k",["kk",2],0,Sa),U("hmm",0,0,function(){return""+Ra.apply(this)+T(this.minutes(),2)}),U("hmmss",0,0,function(){return""+Ra.apply(this)+T(this.minutes(),2)+T(this.seconds(),2)}),U("Hmm",0,0,function(){return""+this.hours()+T(this.minutes(),2)}),U("Hmmss",0,0,function(){return""+this.hours()+T(this.minutes(),2)+T(this.seconds(),2)}),Ta("a",!0),Ta("A",!1),J("hour","h"),M("hour",13),Z("a",Ua),Z("A",Ua),Z("H",Sd),Z("h",Sd),Z("k",Sd),Z("HH",Sd,Od),Z("hh",Sd,Od),Z("kk",Sd,Od),Z("hmm",Td),Z("hmmss",Ud),Z("Hmm",Td),Z("Hmmss",Ud),ba(["H","HH"],he),ba(["k","kk"],function(a,b,c){var d=u(a);b[he]=24===d?0:d}),ba(["a","A"],function(a,b,c){c._isPm=c._locale.isPM(a),c._meridiem=a}),ba(["h","hh"],function(a,b,c){b[he]=u(a),n(c).bigHour=!0}),ba("hmm",function(a,b,c){var d=a.length-2;b[he]=u(a.substr(0,d)),b[ie]=u(a.substr(d)),n(c).bigHour=!0}),ba("hmmss",function(a,b,c){var d=a.length-4,e=a.length-2;b[he]=u(a.substr(0,d)),b[ie]=u(a.substr(d,2)),b[je]=u(a.substr(e)),n(c).bigHour=!0}),ba("Hmm",function(a,b,c){var d=a.length-2;b[he]=u(a.substr(0,d)),b[ie]=u(a.substr(d))}),ba("Hmmss",function(a,b,c){var d=a.length-4,e=a.length-2;b[he]=u(a.substr(0,d)),b[ie]=u(a.substr(d,2)),b[je]=u(a.substr(e))});var Be,Ce=/[ap]\.?m?\.?/i,De=O("Hours",!0),Ee={calendar:Bd,longDateFormat:Cd,invalidDate:Dd,ordinal:Ed,dayOfMonthOrdinalParse:Fd,relativeTime:Gd,months:pe,monthsShort:qe,week:ue,weekdays:ve,weekdaysMin:xe,weekdaysShort:we,meridiemParse:Ce},Fe={},Ge={},He=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ie=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Je=/Z|[+-]\d\d(?::?\d\d)?/,Ke=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],Le=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Me=/^\/?Date\((\-?\d+)/i,Ne=/^((?:Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d?\d\s(?:Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(?:\d\d)?\d\d\s)(\d\d:\d\d)(\:\d\d)?(\s(?:UT|GMT|[ECMP][SD]T|[A-IK-Za-ik-z]|[+-]\d{4}))$/;a.createFromInputFallback=x("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(a){a._d=new Date(a._i+(a._useUTC?" UTC":""))}),a.ISO_8601=function(){},a.RFC_2822=function(){};var Oe=x("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var a=tb.apply(null,arguments);return this.isValid()&&a.isValid()?a<this?this:a:p()}),Pe=x("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var a=tb.apply(null,arguments);return this.isValid()&&a.isValid()?a>this?this:a:p()}),Qe=function(){return Date.now?Date.now():+new Date},Re=["year","quarter","month","week","day","hour","minute","second","millisecond"];Db("Z",":"),Db("ZZ",""),Z("Z",_d),Z("ZZ",_d),ba(["Z","ZZ"],function(a,b,c){c._useUTC=!0,c._tzm=Eb(_d,a)});var Se=/([\+\-]|\d\d)/gi;a.updateOffset=function(){};var Te=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Ue=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Sb.fn=Ab.prototype,Sb.invalid=zb;var Ve=Wb(1,"add"),We=Wb(-1,"subtract");a.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",a.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Xe=x("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(a){return void 0===a?this.localeData():this.locale(a)});U(0,["gg",2],0,function(){return this.weekYear()%100}),U(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Dc("gggg","weekYear"),Dc("ggggg","weekYear"),Dc("GGGG","isoWeekYear"),Dc("GGGGG","isoWeekYear"),J("weekYear","gg"),J("isoWeekYear","GG"),M("weekYear",1),M("isoWeekYear",1),Z("G",Zd),Z("g",Zd),Z("GG",Sd,Od),Z("gg",Sd,Od),Z("GGGG",Wd,Qd),Z("gggg",Wd,Qd),Z("GGGGG",Xd,Rd),Z("ggggg",Xd,Rd),ca(["gggg","ggggg","GGGG","GGGGG"],function(a,b,c,d){b[d.substr(0,2)]=u(a)}),ca(["gg","GG"],function(b,c,d,e){c[e]=a.parseTwoDigitYear(b)}),U("Q",0,"Qo","quarter"),J("quarter","Q"),M("quarter",7),Z("Q",Nd),ba("Q",function(a,b){b[fe]=3*(u(a)-1)}),U("D",["DD",2],"Do","date"),J("date","D"),M("date",9),Z("D",Sd),Z("DD",Sd,Od),Z("Do",function(a,b){return a?b._dayOfMonthOrdinalParse||b._ordinalParse:b._dayOfMonthOrdinalParseLenient}),ba(["D","DD"],ge),ba("Do",function(a,b){b[ge]=u(a.match(Sd)[0],10)});var Ye=O("Date",!0);U("DDD",["DDDD",3],"DDDo","dayOfYear"),J("dayOfYear","DDD"),M("dayOfYear",4),Z("DDD",Vd),Z("DDDD",Pd),ba(["DDD","DDDD"],function(a,b,c){c._dayOfYear=u(a)}),U("m",["mm",2],0,"minute"),J("minute","m"),M("minute",14),Z("m",Sd),Z("mm",Sd,Od),ba(["m","mm"],ie);var Ze=O("Minutes",!1);U("s",["ss",2],0,"second"),J("second","s"),M("second",15),Z("s",Sd),Z("ss",Sd,Od),ba(["s","ss"],je);var $e=O("Seconds",!1);U("S",0,0,function(){return~~(this.millisecond()/100)}),U(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),U(0,["SSS",3],0,"millisecond"),U(0,["SSSS",4],0,function(){return 10*this.millisecond()}),U(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),U(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),U(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),U(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),U(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),J("millisecond","ms"),M("millisecond",16),Z("S",Vd,Nd),Z("SS",Vd,Od),Z("SSS",Vd,Pd);var _e;for(_e="SSSS";_e.length<=9;_e+="S")Z(_e,Yd);for(_e="S";_e.length<=9;_e+="S")ba(_e,Mc);var af=O("Milliseconds",!1);U("z",0,0,"zoneAbbr"),U("zz",0,0,"zoneName");var bf=r.prototype;bf.add=Ve,bf.calendar=Zb,bf.clone=$b,bf.diff=fc,bf.endOf=sc,bf.format=kc,bf.from=lc,bf.fromNow=mc,bf.to=nc,bf.toNow=oc,bf.get=R,bf.invalidAt=Bc,bf.isAfter=_b,bf.isBefore=ac,bf.isBetween=bc,bf.isSame=cc,bf.isSameOrAfter=dc,bf.isSameOrBefore=ec,bf.isValid=zc,bf.lang=Xe,bf.locale=pc,bf.localeData=qc,bf.max=Pe,bf.min=Oe,bf.parsingFlags=Ac,bf.set=S,bf.startOf=rc,bf.subtract=We,bf.toArray=wc,bf.toObject=xc,bf.toDate=vc,bf.toISOString=ic,bf.inspect=jc,bf.toJSON=yc,bf.toString=hc,bf.unix=uc,bf.valueOf=tc,bf.creationData=Cc,bf.year=te,bf.isLeapYear=ra,bf.weekYear=Ec,bf.isoWeekYear=Fc,bf.quarter=bf.quarters=Kc,bf.month=ka,bf.daysInMonth=la,bf.week=bf.weeks=Ba,bf.isoWeek=bf.isoWeeks=Ca,bf.weeksInYear=Hc,bf.isoWeeksInYear=Gc,bf.date=Ye,bf.day=bf.days=Ka,bf.weekday=La,bf.isoWeekday=Ma,bf.dayOfYear=Lc,bf.hour=bf.hours=De,bf.minute=bf.minutes=Ze,bf.second=bf.seconds=$e,bf.millisecond=bf.milliseconds=af,bf.utcOffset=Hb,bf.utc=Jb,bf.local=Kb,bf.parseZone=Lb,bf.hasAlignedHourOffset=Mb,bf.isDST=Nb,bf.isLocal=Pb,bf.isUtcOffset=Qb,bf.isUtc=Rb,bf.isUTC=Rb,bf.zoneAbbr=Nc,bf.zoneName=Oc,bf.dates=x("dates accessor is deprecated. Use date instead.",Ye),bf.months=x("months accessor is deprecated. Use month instead",ka),bf.years=x("years accessor is deprecated. Use year instead",te),bf.zone=x("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Ib),bf.isDSTShifted=x("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Ob);var cf=C.prototype;cf.calendar=D,cf.longDateFormat=E,cf.invalidDate=F,cf.ordinal=G,cf.preparse=Rc,cf.postformat=Rc,cf.relativeTime=H,cf.pastFuture=I,cf.set=A,cf.months=fa,cf.monthsShort=ga,cf.monthsParse=ia,cf.monthsRegex=na,cf.monthsShortRegex=ma,cf.week=ya,cf.firstDayOfYear=Aa,cf.firstDayOfWeek=za,cf.weekdays=Fa,cf.weekdaysMin=Ha,cf.weekdaysShort=Ga,cf.weekdaysParse=Ja,cf.weekdaysRegex=Na,cf.weekdaysShortRegex=Oa,cf.weekdaysMinRegex=Pa,cf.isPM=Va,cf.meridiem=Wa,$a("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(a){var b=a%10,c=1===u(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c}}),a.lang=x("moment.lang is deprecated. Use moment.locale instead.",$a),a.langData=x("moment.langData is deprecated. Use moment.localeData instead.",bb);var df=Math.abs,ef=id("ms"),ff=id("s"),gf=id("m"),hf=id("h"),jf=id("d"),kf=id("w"),lf=id("M"),mf=id("y"),nf=kd("milliseconds"),of=kd("seconds"),pf=kd("minutes"),qf=kd("hours"),rf=kd("days"),sf=kd("months"),tf=kd("years"),uf=Math.round,vf={ss:44,s:45,m:45,h:22,d:26,M:11},wf=Math.abs,xf=Ab.prototype;return xf.isValid=yb,xf.abs=$c,xf.add=ad,xf.subtract=bd,xf.as=gd,xf.asMilliseconds=ef,xf.asSeconds=ff,xf.asMinutes=gf,xf.asHours=hf,xf.asDays=jf,xf.asWeeks=kf,xf.asMonths=lf,xf.asYears=mf,xf.valueOf=hd,xf._bubble=dd,xf.get=jd,xf.milliseconds=nf,xf.seconds=of,xf.minutes=pf,xf.hours=qf,xf.days=rf,xf.weeks=ld,xf.months=sf,xf.years=tf,xf.humanize=qd,xf.toISOString=rd,xf.toString=rd,xf.toJSON=rd,xf.locale=pc,xf.localeData=qc,xf.toIsoString=x("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",rd),xf.lang=Xe,U("X",0,0,"unix"),U("x",0,0,"valueOf"),Z("x",Zd),Z("X",ae),ba("X",function(a,b,c){c._d=new Date(1e3*parseFloat(a,10))}),ba("x",function(a,b,c){c._d=new Date(u(a))}),a.version="2.18.1",b(tb),a.fn=bf,a.min=vb,a.max=wb,a.now=Qe,a.utc=l,a.unix=Pc,a.months=Vc,a.isDate=h,a.locale=$a,a.invalid=p,a.duration=Sb,a.isMoment=s,a.weekdays=Xc,a.parseZone=Qc,a.localeData=bb,a.isDuration=Bb,a.monthsShort=Wc,a.weekdaysMin=Zc,a.defineLocale=_a,a.updateLocale=ab,a.locales=cb,a.weekdaysShort=Yc,a.normalizeUnits=K,a.relativeTimeRounding=od,a.relativeTimeThreshold=pd,a.calendarFormat=Yb,a.prototype=bf,a});⏎ | |
0 | !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.moment=t()}(this,function(){"use strict";function e(){return Yt.apply(null,arguments)}function t(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function n(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function s(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}function i(e){return void 0===e}function r(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function a(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function o(e,t){var n,s=[];for(n=0;n<e.length;++n)s.push(t(e[n],n));return s}function u(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e,t){for(var n in t)u(t,n)&&(e[n]=t[n]);return u(t,"toString")&&(e.toString=t.toString),u(t,"valueOf")&&(e.valueOf=t.valueOf),e}function d(e,t,n,s){return je(e,t,n,s,!0).utc()}function h(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function c(e){return null==e._pf&&(e._pf=h()),e._pf}function f(e){if(null==e._isValid){var t=c(e),n=Ot.call(t.parsedDateParts,function(e){return null!=e}),s=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(s=s&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return s;e._isValid=s}return e._isValid}function m(e){var t=d(NaN);return null!=e?l(c(t),e):c(t).userInvalidated=!0,t}function _(e,t){var n,s,r;if(i(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),i(t._i)||(e._i=t._i),i(t._f)||(e._f=t._f),i(t._l)||(e._l=t._l),i(t._strict)||(e._strict=t._strict),i(t._tzm)||(e._tzm=t._tzm),i(t._isUTC)||(e._isUTC=t._isUTC),i(t._offset)||(e._offset=t._offset),i(t._pf)||(e._pf=c(t)),i(t._locale)||(e._locale=t._locale),xt.length>0)for(n=0;n<xt.length;n++)i(r=t[s=xt[n]])||(e[s]=r);return e}function y(t){_(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===Tt&&(Tt=!0,e.updateOffset(this),Tt=!1)}function g(e){return e instanceof y||null!=e&&null!=e._isAMomentObject}function p(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function w(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=p(t)),n}function v(e,t,n){var s,i=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),a=0;for(s=0;s<i;s++)(n&&e[s]!==t[s]||!n&&w(e[s])!==w(t[s]))&&a++;return a+r}function M(t){!1===e.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function k(t,n){var s=!0;return l(function(){if(null!=e.deprecationHandler&&e.deprecationHandler(null,t),s){for(var i,r=[],a=0;a<arguments.length;a++){if(i="","object"==typeof arguments[a]){i+="\n["+a+"] ";for(var o in arguments[0])i+=o+": "+arguments[0][o]+", ";i=i.slice(0,-2)}else i=arguments[a];r.push(i)}M(t+"\nArguments: "+Array.prototype.slice.call(r).join("")+"\n"+(new Error).stack),s=!1}return n.apply(this,arguments)},n)}function S(t,n){null!=e.deprecationHandler&&e.deprecationHandler(t,n),bt[t]||(M(n),bt[t]=!0)}function D(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function Y(e,t){var s,i=l({},e);for(s in t)u(t,s)&&(n(e[s])&&n(t[s])?(i[s]={},l(i[s],e[s]),l(i[s],t[s])):null!=t[s]?i[s]=t[s]:delete i[s]);for(s in e)u(e,s)&&!u(t,s)&&n(e[s])&&(i[s]=l({},i[s]));return i}function O(e){null!=e&&this.set(e)}function x(e,t){var n=e.toLowerCase();Ut[n]=Ut[n+"s"]=Ut[t]=e}function T(e){return"string"==typeof e?Ut[e]||Ut[e.toLowerCase()]:void 0}function b(e){var t,n,s={};for(n in e)u(e,n)&&(t=T(n))&&(s[t]=e[n]);return s}function P(e,t){Nt[e]=t}function W(e){var t=[];for(var n in e)t.push({unit:n,priority:Nt[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function R(e,t,n){var s=""+Math.abs(e),i=t-s.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+s}function C(e,t,n,s){var i=s;"string"==typeof s&&(i=function(){return this[s]()}),e&&(Vt[e]=i),t&&(Vt[t[0]]=function(){return R(i.apply(this,arguments),t[1],t[2])}),n&&(Vt[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function F(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function U(e){var t,n,s=e.match(Ht);for(t=0,n=s.length;t<n;t++)Vt[s[t]]?s[t]=Vt[s[t]]:s[t]=F(s[t]);return function(t){var i,r="";for(i=0;i<n;i++)r+=D(s[i])?s[i].call(t,e):s[i];return r}}function N(e,t){return e.isValid()?(t=H(t,e.localeData()),Gt[t]=Gt[t]||U(t),Gt[t](e)):e.localeData().invalidDate()}function H(e,t){var n=5;for(Lt.lastIndex=0;n>=0&&Lt.test(e);)e=e.replace(Lt,function(e){return t.longDateFormat(e)||e}),Lt.lastIndex=0,n-=1;return e}function L(e,t,n){rn[e]=D(t)?t:function(e,s){return e&&n?n:t}}function G(e,t){return u(rn,e)?rn[e](t._strict,t._locale):new RegExp(V(e))}function V(e){return j(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,s,i){return t||n||s||i}))}function j(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function I(e,t){var n,s=t;for("string"==typeof e&&(e=[e]),r(t)&&(s=function(e,n){n[t]=w(e)}),n=0;n<e.length;n++)an[e[n]]=s}function E(e,t){I(e,function(e,n,s,i){s._w=s._w||{},t(e,s._w,s,i)})}function A(e,t,n){null!=t&&u(an,e)&&an[e](t,n._a,n,e)}function z(e){return Z(e)?366:365}function Z(e){return e%4==0&&e%100!=0||e%400==0}function $(t,n){return function(s){return null!=s?(J(this,t,s),e.updateOffset(this,n),this):q(this,t)}}function q(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function J(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&Z(e.year())?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Q(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function B(e,t){return(e%t+t)%t}function Q(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=B(t,12);return e+=(t-n)/12,1===n?Z(e)?29:28:31-n%7%2}function X(e,t,n){var s,i,r,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)r=d([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(r,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=yn.call(this._shortMonthsParse,a))?i:null:-1!==(i=yn.call(this._longMonthsParse,a))?i:null:"MMM"===t?-1!==(i=yn.call(this._shortMonthsParse,a))?i:-1!==(i=yn.call(this._longMonthsParse,a))?i:null:-1!==(i=yn.call(this._longMonthsParse,a))?i:-1!==(i=yn.call(this._shortMonthsParse,a))?i:null}function K(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=w(t);else if(t=e.localeData().monthsParse(t),!r(t))return e;return n=Math.min(e.date(),Q(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function ee(t){return null!=t?(K(this,t),e.updateOffset(this,!0),this):q(this,"Month")}function te(){function e(e,t){return t.length-e.length}var t,n,s=[],i=[],r=[];for(t=0;t<12;t++)n=d([2e3,t]),s.push(this.monthsShort(n,"")),i.push(this.months(n,"")),r.push(this.months(n,"")),r.push(this.monthsShort(n,""));for(s.sort(e),i.sort(e),r.sort(e),t=0;t<12;t++)s[t]=j(s[t]),i[t]=j(i[t]);for(t=0;t<24;t++)r[t]=j(r[t]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+s.join("|")+")","i")}function ne(e,t,n,s,i,r,a){var o=new Date(e,t,n,s,i,r,a);return e<100&&e>=0&&isFinite(o.getFullYear())&&o.setFullYear(e),o}function se(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function ie(e,t,n){var s=7+t-n;return-((7+se(e,0,s).getUTCDay()-t)%7)+s-1}function re(e,t,n,s,i){var r,a,o=1+7*(t-1)+(7+n-s)%7+ie(e,s,i);return o<=0?a=z(r=e-1)+o:o>z(e)?(r=e+1,a=o-z(e)):(r=e,a=o),{year:r,dayOfYear:a}}function ae(e,t,n){var s,i,r=ie(e.year(),t,n),a=Math.floor((e.dayOfYear()-r-1)/7)+1;return a<1?s=a+oe(i=e.year()-1,t,n):a>oe(e.year(),t,n)?(s=a-oe(e.year(),t,n),i=e.year()+1):(i=e.year(),s=a),{week:s,year:i}}function oe(e,t,n){var s=ie(e,t,n),i=ie(e+1,t,n);return(z(e)-s+i)/7}function ue(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function le(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function de(e,t,n){var s,i,r,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)r=d([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=yn.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=yn.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=yn.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=yn.call(this._weekdaysParse,a))?i:-1!==(i=yn.call(this._shortWeekdaysParse,a))?i:-1!==(i=yn.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=yn.call(this._shortWeekdaysParse,a))?i:-1!==(i=yn.call(this._weekdaysParse,a))?i:-1!==(i=yn.call(this._minWeekdaysParse,a))?i:null:-1!==(i=yn.call(this._minWeekdaysParse,a))?i:-1!==(i=yn.call(this._weekdaysParse,a))?i:-1!==(i=yn.call(this._shortWeekdaysParse,a))?i:null}function he(){function e(e,t){return t.length-e.length}var t,n,s,i,r,a=[],o=[],u=[],l=[];for(t=0;t<7;t++)n=d([2e3,1]).day(t),s=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),r=this.weekdays(n,""),a.push(s),o.push(i),u.push(r),l.push(s),l.push(i),l.push(r);for(a.sort(e),o.sort(e),u.sort(e),l.sort(e),t=0;t<7;t++)o[t]=j(o[t]),u[t]=j(u[t]),l[t]=j(l[t]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function ce(){return this.hours()%12||12}function fe(e,t){C(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function me(e,t){return t._meridiemParse}function _e(e){return e?e.toLowerCase().replace("_","-"):e}function ye(e){for(var t,n,s,i,r=0;r<e.length;){for(t=(i=_e(e[r]).split("-")).length,n=(n=_e(e[r+1]))?n.split("-"):null;t>0;){if(s=ge(i.slice(0,t).join("-")))return s;if(n&&n.length>=t&&v(i,n,!0)>=t-1)break;t--}r++}return null}function ge(e){var t=null;if(!Fn[e]&&"undefined"!=typeof module&&module&&module.exports){t=Pn._abbr;try{require("moment/locale/"+e)}catch(t){try{require("./locale/"+e)}catch(e){}}pe(t)}return Fn[e]}function pe(e,t){var n;return e&&(n=i(t)?ve(e):we(e,t))&&(Pn=n),Pn._abbr}function we(e,t){if(null!==t){var n=Cn;if(t.abbr=e,null!=Fn[e])S("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=Fn[e]._config;else if(null!=t.parentLocale){if(null==Fn[t.parentLocale])return Un[t.parentLocale]||(Un[t.parentLocale]=[]),Un[t.parentLocale].push({name:e,config:t}),null;n=Fn[t.parentLocale]._config}return Fn[e]=new O(Y(n,t)),Un[e]&&Un[e].forEach(function(e){we(e.name,e.config)}),pe(e),Fn[e]}return delete Fn[e],null}function ve(e){var n;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Pn;if(!t(e)){if(n=ge(e))return n;e=[e]}return ye(e)}function Me(e){var t,n=e._a;return n&&-2===c(e).overflow&&(t=n[un]<0||n[un]>11?un:n[ln]<1||n[ln]>Q(n[on],n[un])?ln:n[dn]<0||n[dn]>24||24===n[dn]&&(0!==n[hn]||0!==n[cn]||0!==n[fn])?dn:n[hn]<0||n[hn]>59?hn:n[cn]<0||n[cn]>59?cn:n[fn]<0||n[fn]>999?fn:-1,c(e)._overflowDayOfYear&&(t<on||t>ln)&&(t=ln),c(e)._overflowWeeks&&-1===t&&(t=mn),c(e)._overflowWeekday&&-1===t&&(t=_n),c(e).overflow=t),e}function ke(e,t,n){return null!=e?e:null!=t?t:n}function Se(t){var n=new Date(e.now());return t._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}function De(e){var t,n,s,i,r=[];if(!e._d){for(s=Se(e),e._w&&null==e._a[ln]&&null==e._a[un]&&Ye(e),null!=e._dayOfYear&&(i=ke(e._a[on],s[on]),(e._dayOfYear>z(i)||0===e._dayOfYear)&&(c(e)._overflowDayOfYear=!0),n=se(i,0,e._dayOfYear),e._a[un]=n.getUTCMonth(),e._a[ln]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=r[t]=s[t];for(;t<7;t++)e._a[t]=r[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[dn]&&0===e._a[hn]&&0===e._a[cn]&&0===e._a[fn]&&(e._nextDay=!0,e._a[dn]=0),e._d=(e._useUTC?se:ne).apply(null,r),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[dn]=24),e._w&&void 0!==e._w.d&&e._w.d!==e._d.getDay()&&(c(e).weekdayMismatch=!0)}}function Ye(e){var t,n,s,i,r,a,o,u;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)r=1,a=4,n=ke(t.GG,e._a[on],ae(Ie(),1,4).year),s=ke(t.W,1),((i=ke(t.E,1))<1||i>7)&&(u=!0);else{r=e._locale._week.dow,a=e._locale._week.doy;var l=ae(Ie(),r,a);n=ke(t.gg,e._a[on],l.year),s=ke(t.w,l.week),null!=t.d?((i=t.d)<0||i>6)&&(u=!0):null!=t.e?(i=t.e+r,(t.e<0||t.e>6)&&(u=!0)):i=r}s<1||s>oe(n,r,a)?c(e)._overflowWeeks=!0:null!=u?c(e)._overflowWeekday=!0:(o=re(n,s,i,r,a),e._a[on]=o.year,e._dayOfYear=o.dayOfYear)}function Oe(e){var t,n,s,i,r,a,o=e._i,u=Nn.exec(o)||Hn.exec(o);if(u){for(c(e).iso=!0,t=0,n=Gn.length;t<n;t++)if(Gn[t][1].exec(u[1])){i=Gn[t][0],s=!1!==Gn[t][2];break}if(null==i)return void(e._isValid=!1);if(u[3]){for(t=0,n=Vn.length;t<n;t++)if(Vn[t][1].exec(u[3])){r=(u[2]||" ")+Vn[t][0];break}if(null==r)return void(e._isValid=!1)}if(!s&&null!=r)return void(e._isValid=!1);if(u[4]){if(!Ln.exec(u[4]))return void(e._isValid=!1);a="Z"}e._f=i+(r||"")+(a||""),Fe(e)}else e._isValid=!1}function xe(e,t,n,s,i,r){var a=[Te(e),vn.indexOf(t),parseInt(n,10),parseInt(s,10),parseInt(i,10)];return r&&a.push(parseInt(r,10)),a}function Te(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function be(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}function Pe(e,t,n){return!e||Yn.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(c(n).weekdayMismatch=!0,n._isValid=!1,!1)}function We(e,t,n){if(e)return En[e];if(t)return 0;var s=parseInt(n,10),i=s%100;return 60*((s-i)/100)+i}function Re(e){var t=In.exec(be(e._i));if(t){var n=xe(t[4],t[3],t[2],t[5],t[6],t[7]);if(!Pe(t[1],n,e))return;e._a=n,e._tzm=We(t[8],t[9],t[10]),e._d=se.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),c(e).rfc2822=!0}else e._isValid=!1}function Ce(t){var n=jn.exec(t._i);null===n?(Oe(t),!1===t._isValid&&(delete t._isValid,Re(t),!1===t._isValid&&(delete t._isValid,e.createFromInputFallback(t)))):t._d=new Date(+n[1])}function Fe(t){if(t._f!==e.ISO_8601)if(t._f!==e.RFC_2822){t._a=[],c(t).empty=!0;var n,s,i,r,a,o=""+t._i,u=o.length,l=0;for(i=H(t._f,t._locale).match(Ht)||[],n=0;n<i.length;n++)r=i[n],(s=(o.match(G(r,t))||[])[0])&&((a=o.substr(0,o.indexOf(s))).length>0&&c(t).unusedInput.push(a),o=o.slice(o.indexOf(s)+s.length),l+=s.length),Vt[r]?(s?c(t).empty=!1:c(t).unusedTokens.push(r),A(r,s,t)):t._strict&&!s&&c(t).unusedTokens.push(r);c(t).charsLeftOver=u-l,o.length>0&&c(t).unusedInput.push(o),t._a[dn]<=12&&!0===c(t).bigHour&&t._a[dn]>0&&(c(t).bigHour=void 0),c(t).parsedDateParts=t._a.slice(0),c(t).meridiem=t._meridiem,t._a[dn]=Ue(t._locale,t._a[dn],t._meridiem),De(t),Me(t)}else Re(t);else Oe(t)}function Ue(e,t,n){var s;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((s=e.isPM(n))&&t<12&&(t+=12),s||12!==t||(t=0),t):t}function Ne(e){var t,n,s,i,r;if(0===e._f.length)return c(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<e._f.length;i++)r=0,t=_({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Fe(t),f(t)&&(r+=c(t).charsLeftOver,r+=10*c(t).unusedTokens.length,c(t).score=r,(null==s||r<s)&&(s=r,n=t));l(e,n||t)}function He(e){if(!e._d){var t=b(e._i);e._a=o([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),De(e)}}function Le(e){var t=new y(Me(Ge(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Ge(e){var n=e._i,s=e._f;return e._locale=e._locale||ve(e._l),null===n||void 0===s&&""===n?m({nullInput:!0}):("string"==typeof n&&(e._i=n=e._locale.preparse(n)),g(n)?new y(Me(n)):(a(n)?e._d=n:t(s)?Ne(e):s?Fe(e):Ve(e),f(e)||(e._d=null),e))}function Ve(s){var u=s._i;i(u)?s._d=new Date(e.now()):a(u)?s._d=new Date(u.valueOf()):"string"==typeof u?Ce(s):t(u)?(s._a=o(u.slice(0),function(e){return parseInt(e,10)}),De(s)):n(u)?He(s):r(u)?s._d=new Date(u):e.createFromInputFallback(s)}function je(e,i,r,a,o){var u={};return!0!==r&&!1!==r||(a=r,r=void 0),(n(e)&&s(e)||t(e)&&0===e.length)&&(e=void 0),u._isAMomentObject=!0,u._useUTC=u._isUTC=o,u._l=r,u._i=e,u._f=i,u._strict=a,Le(u)}function Ie(e,t,n,s){return je(e,t,n,s,!1)}function Ee(e,n){var s,i;if(1===n.length&&t(n[0])&&(n=n[0]),!n.length)return Ie();for(s=n[0],i=1;i<n.length;++i)n[i].isValid()&&!n[i][e](s)||(s=n[i]);return s}function Ae(e){for(var t in e)if(-1===yn.call(Zn,t)||null!=e[t]&&isNaN(e[t]))return!1;for(var n=!1,s=0;s<Zn.length;++s)if(e[Zn[s]]){if(n)return!1;parseFloat(e[Zn[s]])!==w(e[Zn[s]])&&(n=!0)}return!0}function ze(e){var t=b(e),n=t.year||0,s=t.quarter||0,i=t.month||0,r=t.week||0,a=t.day||0,o=t.hour||0,u=t.minute||0,l=t.second||0,d=t.millisecond||0;this._isValid=Ae(t),this._milliseconds=+d+1e3*l+6e4*u+1e3*o*60*60,this._days=+a+7*r,this._months=+i+3*s+12*n,this._data={},this._locale=ve(),this._bubble()}function Ze(e){return e instanceof ze}function $e(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function qe(e,t){C(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+R(~~(e/60),2)+t+R(~~e%60,2)})}function Je(e,t){var n=(t||"").match(e);if(null===n)return null;var s=((n[n.length-1]||[])+"").match($n)||["-",0,0],i=60*s[1]+w(s[2]);return 0===i?0:"+"===s[0]?i:-i}function Be(t,n){var s,i;return n._isUTC?(s=n.clone(),i=(g(t)||a(t)?t.valueOf():Ie(t).valueOf())-s.valueOf(),s._d.setTime(s._d.valueOf()+i),e.updateOffset(s,!1),s):Ie(t).local()}function Qe(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Xe(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Ke(e,t){var n,s,i,a=e,o=null;return Ze(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:r(e)?(a={},t?a[t]=e:a.milliseconds=e):(o=qn.exec(e))?(n="-"===o[1]?-1:1,a={y:0,d:w(o[ln])*n,h:w(o[dn])*n,m:w(o[hn])*n,s:w(o[cn])*n,ms:w($e(1e3*o[fn]))*n}):(o=Jn.exec(e))?(n="-"===o[1]?-1:(o[1],1),a={y:et(o[2],n),M:et(o[3],n),w:et(o[4],n),d:et(o[5],n),h:et(o[6],n),m:et(o[7],n),s:et(o[8],n)}):null==a?a={}:"object"==typeof a&&("from"in a||"to"in a)&&(i=nt(Ie(a.from),Ie(a.to)),(a={}).ms=i.milliseconds,a.M=i.months),s=new ze(a),Ze(e)&&u(e,"_locale")&&(s._locale=e._locale),s}function et(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function tt(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function nt(e,t){var n;return e.isValid()&&t.isValid()?(t=Be(t,e),e.isBefore(t)?n=tt(e,t):((n=tt(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function st(e,t){return function(n,s){var i,r;return null===s||isNaN(+s)||(S(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=n,n=s,s=r),n="string"==typeof n?+n:n,i=Ke(n,s),it(this,i,e),this}}function it(t,n,s,i){var r=n._milliseconds,a=$e(n._days),o=$e(n._months);t.isValid()&&(i=null==i||i,o&&K(t,q(t,"Month")+o*s),a&&J(t,"Date",q(t,"Date")+a*s),r&&t._d.setTime(t._d.valueOf()+r*s),i&&e.updateOffset(t,a||o))}function rt(e,t){var n,s=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(s,"months");return n=t-i<0?(t-i)/(i-e.clone().add(s-1,"months")):(t-i)/(e.clone().add(s+1,"months")-i),-(s+n)||0}function at(e){var t;return void 0===e?this._locale._abbr:(null!=(t=ve(e))&&(this._locale=t),this)}function ot(){return this._locale}function ut(e,t){C(0,[e,e.length],0,t)}function lt(e,t,n,s,i){var r;return null==e?ae(this,s,i).year:(r=oe(e,s,i),t>r&&(t=r),dt.call(this,e,t,n,s,i))}function dt(e,t,n,s,i){var r=re(e,t,n,s,i),a=se(r.year,0,r.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function ht(e){return e}function ct(e,t,n,s){var i=ve(),r=d().set(s,t);return i[n](r,e)}function ft(e,t,n){if(r(e)&&(t=e,e=void 0),e=e||"",null!=t)return ct(e,t,n,"month");var s,i=[];for(s=0;s<12;s++)i[s]=ct(e,s,n,"month");return i}function mt(e,t,n,s){"boolean"==typeof e?(r(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,r(t)&&(n=t,t=void 0),t=t||"");var i=ve(),a=e?i._week.dow:0;if(null!=n)return ct(t,(n+a)%7,s,"day");var o,u=[];for(o=0;o<7;o++)u[o]=ct(t,(o+a)%7,s,"day");return u}function _t(e,t,n,s){var i=Ke(t,n);return e._milliseconds+=s*i._milliseconds,e._days+=s*i._days,e._months+=s*i._months,e._bubble()}function yt(e){return e<0?Math.floor(e):Math.ceil(e)}function gt(e){return 4800*e/146097}function pt(e){return 146097*e/4800}function wt(e){return function(){return this.as(e)}}function vt(e){return function(){return this.isValid()?this._data[e]:NaN}}function Mt(e,t,n,s,i){return i.relativeTime(t||1,!!n,e,s)}function kt(e,t,n){var s=Ke(e).abs(),i=ks(s.as("s")),r=ks(s.as("m")),a=ks(s.as("h")),o=ks(s.as("d")),u=ks(s.as("M")),l=ks(s.as("y")),d=i<=Ss.ss&&["s",i]||i<Ss.s&&["ss",i]||r<=1&&["m"]||r<Ss.m&&["mm",r]||a<=1&&["h"]||a<Ss.h&&["hh",a]||o<=1&&["d"]||o<Ss.d&&["dd",o]||u<=1&&["M"]||u<Ss.M&&["MM",u]||l<=1&&["y"]||["yy",l];return d[2]=t,d[3]=+e>0,d[4]=n,Mt.apply(null,d)}function St(e){return(e>0)-(e<0)||+e}function Dt(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,s=Ds(this._milliseconds)/1e3,i=Ds(this._days),r=Ds(this._months);t=p((e=p(s/60))/60),s%=60,e%=60;var a=n=p(r/12),o=r%=12,u=i,l=t,d=e,h=s?s.toFixed(3).replace(/\.?0+$/,""):"",c=this.asSeconds();if(!c)return"P0D";var f=c<0?"-":"",m=St(this._months)!==St(c)?"-":"",_=St(this._days)!==St(c)?"-":"",y=St(this._milliseconds)!==St(c)?"-":"";return f+"P"+(a?m+a+"Y":"")+(o?m+o+"M":"")+(u?_+u+"D":"")+(l||d||h?"T":"")+(l?y+l+"H":"")+(d?y+d+"M":"")+(h?y+h+"S":"")}var Yt,Ot;Ot=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,s=0;s<n;s++)if(s in t&&e.call(this,t[s],s,t))return!0;return!1};var xt=e.momentProperties=[],Tt=!1,bt={};e.suppressDeprecationWarnings=!1,e.deprecationHandler=null;var Pt;Pt=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)u(e,t)&&n.push(t);return n};var Wt={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Rt={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Ct=/\d{1,2}/,Ft={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Ut={},Nt={},Ht=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Lt=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Gt={},Vt={},jt=/\d/,It=/\d\d/,Et=/\d{3}/,At=/\d{4}/,zt=/[+-]?\d{6}/,Zt=/\d\d?/,$t=/\d\d\d\d?/,qt=/\d\d\d\d\d\d?/,Jt=/\d{1,3}/,Bt=/\d{1,4}/,Qt=/[+-]?\d{1,6}/,Xt=/\d+/,Kt=/[+-]?\d+/,en=/Z|[+-]\d\d:?\d\d/gi,tn=/Z|[+-]\d\d(?::?\d\d)?/gi,nn=/[+-]?\d+(\.\d{1,3})?/,sn=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,rn={},an={},on=0,un=1,ln=2,dn=3,hn=4,cn=5,fn=6,mn=7,_n=8;C("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),C(0,["YY",2],0,function(){return this.year()%100}),C(0,["YYYY",4],0,"year"),C(0,["YYYYY",5],0,"year"),C(0,["YYYYYY",6,!0],0,"year"),x("year","y"),P("year",1),L("Y",Kt),L("YY",Zt,It),L("YYYY",Bt,At),L("YYYYY",Qt,zt),L("YYYYYY",Qt,zt),I(["YYYYY","YYYYYY"],on),I("YYYY",function(t,n){n[on]=2===t.length?e.parseTwoDigitYear(t):w(t)}),I("YY",function(t,n){n[on]=e.parseTwoDigitYear(t)}),I("Y",function(e,t){t[on]=parseInt(e,10)}),e.parseTwoDigitYear=function(e){return w(e)+(w(e)>68?1900:2e3)};var yn,gn=$("FullYear",!0);yn=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},C("M",["MM",2],"Mo",function(){return this.month()+1}),C("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),C("MMMM",0,0,function(e){return this.localeData().months(this,e)}),x("month","M"),P("month",8),L("M",Zt),L("MM",Zt,It),L("MMM",function(e,t){return t.monthsShortRegex(e)}),L("MMMM",function(e,t){return t.monthsRegex(e)}),I(["M","MM"],function(e,t){t[un]=w(e)-1}),I(["MMM","MMMM"],function(e,t,n,s){var i=n._locale.monthsParse(e,s,n._strict);null!=i?t[un]=i:c(n).invalidMonth=e});var pn=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,wn="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),vn="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Mn=sn,kn=sn;C("w",["ww",2],"wo","week"),C("W",["WW",2],"Wo","isoWeek"),x("week","w"),x("isoWeek","W"),P("week",5),P("isoWeek",5),L("w",Zt),L("ww",Zt,It),L("W",Zt),L("WW",Zt,It),E(["w","ww","W","WW"],function(e,t,n,s){t[s.substr(0,1)]=w(e)});var Sn={dow:0,doy:6};C("d",0,"do","day"),C("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),C("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),C("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),C("e",0,0,"weekday"),C("E",0,0,"isoWeekday"),x("day","d"),x("weekday","e"),x("isoWeekday","E"),P("day",11),P("weekday",11),P("isoWeekday",11),L("d",Zt),L("e",Zt),L("E",Zt),L("dd",function(e,t){return t.weekdaysMinRegex(e)}),L("ddd",function(e,t){return t.weekdaysShortRegex(e)}),L("dddd",function(e,t){return t.weekdaysRegex(e)}),E(["dd","ddd","dddd"],function(e,t,n,s){var i=n._locale.weekdaysParse(e,s,n._strict);null!=i?t.d=i:c(n).invalidWeekday=e}),E(["d","e","E"],function(e,t,n,s){t[s]=w(e)});var Dn="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Yn="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),On="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),xn=sn,Tn=sn,bn=sn;C("H",["HH",2],0,"hour"),C("h",["hh",2],0,ce),C("k",["kk",2],0,function(){return this.hours()||24}),C("hmm",0,0,function(){return""+ce.apply(this)+R(this.minutes(),2)}),C("hmmss",0,0,function(){return""+ce.apply(this)+R(this.minutes(),2)+R(this.seconds(),2)}),C("Hmm",0,0,function(){return""+this.hours()+R(this.minutes(),2)}),C("Hmmss",0,0,function(){return""+this.hours()+R(this.minutes(),2)+R(this.seconds(),2)}),fe("a",!0),fe("A",!1),x("hour","h"),P("hour",13),L("a",me),L("A",me),L("H",Zt),L("h",Zt),L("k",Zt),L("HH",Zt,It),L("hh",Zt,It),L("kk",Zt,It),L("hmm",$t),L("hmmss",qt),L("Hmm",$t),L("Hmmss",qt),I(["H","HH"],dn),I(["k","kk"],function(e,t,n){var s=w(e);t[dn]=24===s?0:s}),I(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),I(["h","hh"],function(e,t,n){t[dn]=w(e),c(n).bigHour=!0}),I("hmm",function(e,t,n){var s=e.length-2;t[dn]=w(e.substr(0,s)),t[hn]=w(e.substr(s)),c(n).bigHour=!0}),I("hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[dn]=w(e.substr(0,s)),t[hn]=w(e.substr(s,2)),t[cn]=w(e.substr(i)),c(n).bigHour=!0}),I("Hmm",function(e,t,n){var s=e.length-2;t[dn]=w(e.substr(0,s)),t[hn]=w(e.substr(s))}),I("Hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[dn]=w(e.substr(0,s)),t[hn]=w(e.substr(s,2)),t[cn]=w(e.substr(i))});var Pn,Wn=/[ap]\.?m?\.?/i,Rn=$("Hours",!0),Cn={calendar:Wt,longDateFormat:Rt,invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:Ct,relativeTime:Ft,months:wn,monthsShort:vn,week:Sn,weekdays:Dn,weekdaysMin:On,weekdaysShort:Yn,meridiemParse:Wn},Fn={},Un={},Nn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Hn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ln=/Z|[+-]\d\d(?::?\d\d)?/,Gn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],Vn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],jn=/^\/?Date\((\-?\d+)/i,In=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,En={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};e.createFromInputFallback=k("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),e.ISO_8601=function(){},e.RFC_2822=function(){};var An=k("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Ie.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:m()}),zn=k("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Ie.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:m()}),Zn=["year","quarter","month","week","day","hour","minute","second","millisecond"];qe("Z",":"),qe("ZZ",""),L("Z",tn),L("ZZ",tn),I(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Je(tn,e)});var $n=/([\+\-]|\d\d)/gi;e.updateOffset=function(){};var qn=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Jn=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;Ke.fn=ze.prototype,Ke.invalid=function(){return Ke(NaN)};var Bn=st(1,"add"),Qn=st(-1,"subtract");e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",e.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Xn=k("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});C(0,["gg",2],0,function(){return this.weekYear()%100}),C(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ut("gggg","weekYear"),ut("ggggg","weekYear"),ut("GGGG","isoWeekYear"),ut("GGGGG","isoWeekYear"),x("weekYear","gg"),x("isoWeekYear","GG"),P("weekYear",1),P("isoWeekYear",1),L("G",Kt),L("g",Kt),L("GG",Zt,It),L("gg",Zt,It),L("GGGG",Bt,At),L("gggg",Bt,At),L("GGGGG",Qt,zt),L("ggggg",Qt,zt),E(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,s){t[s.substr(0,2)]=w(e)}),E(["gg","GG"],function(t,n,s,i){n[i]=e.parseTwoDigitYear(t)}),C("Q",0,"Qo","quarter"),x("quarter","Q"),P("quarter",7),L("Q",jt),I("Q",function(e,t){t[un]=3*(w(e)-1)}),C("D",["DD",2],"Do","date"),x("date","D"),P("date",9),L("D",Zt),L("DD",Zt,It),L("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),I(["D","DD"],ln),I("Do",function(e,t){t[ln]=w(e.match(Zt)[0],10)});var Kn=$("Date",!0);C("DDD",["DDDD",3],"DDDo","dayOfYear"),x("dayOfYear","DDD"),P("dayOfYear",4),L("DDD",Jt),L("DDDD",Et),I(["DDD","DDDD"],function(e,t,n){n._dayOfYear=w(e)}),C("m",["mm",2],0,"minute"),x("minute","m"),P("minute",14),L("m",Zt),L("mm",Zt,It),I(["m","mm"],hn);var es=$("Minutes",!1);C("s",["ss",2],0,"second"),x("second","s"),P("second",15),L("s",Zt),L("ss",Zt,It),I(["s","ss"],cn);var ts=$("Seconds",!1);C("S",0,0,function(){return~~(this.millisecond()/100)}),C(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),C(0,["SSS",3],0,"millisecond"),C(0,["SSSS",4],0,function(){return 10*this.millisecond()}),C(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),C(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),C(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),C(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),C(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),x("millisecond","ms"),P("millisecond",16),L("S",Jt,jt),L("SS",Jt,It),L("SSS",Jt,Et);var ns;for(ns="SSSS";ns.length<=9;ns+="S")L(ns,Xt);for(ns="S";ns.length<=9;ns+="S")I(ns,function(e,t){t[fn]=w(1e3*("0."+e))});var ss=$("Milliseconds",!1);C("z",0,0,"zoneAbbr"),C("zz",0,0,"zoneName");var is=y.prototype;is.add=Bn,is.calendar=function(t,n){var s=t||Ie(),i=Be(s,this).startOf("day"),r=e.calendarFormat(this,i)||"sameElse",a=n&&(D(n[r])?n[r].call(this,s):n[r]);return this.format(a||this.localeData().calendar(r,this,Ie(s)))},is.clone=function(){return new y(this)},is.diff=function(e,t,n){var s,i,r;if(!this.isValid())return NaN;if(!(s=Be(e,this)).isValid())return NaN;switch(i=6e4*(s.utcOffset()-this.utcOffset()),t=T(t)){case"year":r=rt(this,s)/12;break;case"month":r=rt(this,s);break;case"quarter":r=rt(this,s)/3;break;case"second":r=(this-s)/1e3;break;case"minute":r=(this-s)/6e4;break;case"hour":r=(this-s)/36e5;break;case"day":r=(this-s-i)/864e5;break;case"week":r=(this-s-i)/6048e5;break;default:r=this-s}return n?r:p(r)},is.endOf=function(e){return void 0===(e=T(e))||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))},is.format=function(t){t||(t=this.isUtc()?e.defaultFormatUtc:e.defaultFormat);var n=N(this,t);return this.localeData().postformat(n)},is.from=function(e,t){return this.isValid()&&(g(e)&&e.isValid()||Ie(e).isValid())?Ke({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},is.fromNow=function(e){return this.from(Ie(),e)},is.to=function(e,t){return this.isValid()&&(g(e)&&e.isValid()||Ie(e).isValid())?Ke({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},is.toNow=function(e){return this.to(Ie(),e)},is.get=function(e){return e=T(e),D(this[e])?this[e]():this},is.invalidAt=function(){return c(this).overflow},is.isAfter=function(e,t){var n=g(e)?e:Ie(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=T(i(t)?"millisecond":t))?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},is.isBefore=function(e,t){var n=g(e)?e:Ie(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=T(i(t)?"millisecond":t))?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},is.isBetween=function(e,t,n,s){return("("===(s=s||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===s[1]?this.isBefore(t,n):!this.isAfter(t,n))},is.isSame=function(e,t){var n,s=g(e)?e:Ie(e);return!(!this.isValid()||!s.isValid())&&("millisecond"===(t=T(t||"millisecond"))?this.valueOf()===s.valueOf():(n=s.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},is.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},is.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},is.isValid=function(){return f(this)},is.lang=Xn,is.locale=at,is.localeData=ot,is.max=zn,is.min=An,is.parsingFlags=function(){return l({},c(this))},is.set=function(e,t){if("object"==typeof e)for(var n=W(e=b(e)),s=0;s<n.length;s++)this[n[s].unit](e[n[s].unit]);else if(e=T(e),D(this[e]))return this[e](t);return this},is.startOf=function(e){switch(e=T(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this},is.subtract=Qn,is.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},is.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},is.toDate=function(){return new Date(this.valueOf())},is.toISOString=function(){if(!this.isValid())return null;var e=this.clone().utc();return e.year()<0||e.year()>9999?N(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):D(Date.prototype.toISOString)?this.toDate().toISOString():N(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]")},is.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',s=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i=t+'[")]';return this.format(n+s+"-MM-DD[T]HH:mm:ss.SSS"+i)},is.toJSON=function(){return this.isValid()?this.toISOString():null},is.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},is.unix=function(){return Math.floor(this.valueOf()/1e3)},is.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},is.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},is.year=gn,is.isLeapYear=function(){return Z(this.year())},is.weekYear=function(e){return lt.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},is.isoWeekYear=function(e){return lt.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},is.quarter=is.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},is.month=ee,is.daysInMonth=function(){return Q(this.year(),this.month())},is.week=is.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},is.isoWeek=is.isoWeeks=function(e){var t=ae(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},is.weeksInYear=function(){var e=this.localeData()._week;return oe(this.year(),e.dow,e.doy)},is.isoWeeksInYear=function(){return oe(this.year(),1,4)},is.date=Kn,is.day=is.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=ue(e,this.localeData()),this.add(e-t,"d")):t},is.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},is.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=le(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},is.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},is.hour=is.hours=Rn,is.minute=is.minutes=es,is.second=is.seconds=ts,is.millisecond=is.milliseconds=ss,is.utcOffset=function(t,n,s){var i,r=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=Je(tn,t)))return this}else Math.abs(t)<16&&!s&&(t*=60);return!this._isUTC&&n&&(i=Qe(this)),this._offset=t,this._isUTC=!0,null!=i&&this.add(i,"m"),r!==t&&(!n||this._changeInProgress?it(this,Ke(t-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,e.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?r:Qe(this)},is.utc=function(e){return this.utcOffset(0,e)},is.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Qe(this),"m")),this},is.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Je(en,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},is.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Ie(e).utcOffset():0,(this.utcOffset()-e)%60==0)},is.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},is.isLocal=function(){return!!this.isValid()&&!this._isUTC},is.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},is.isUtc=Xe,is.isUTC=Xe,is.zoneAbbr=function(){return this._isUTC?"UTC":""},is.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},is.dates=k("dates accessor is deprecated. Use date instead.",Kn),is.months=k("months accessor is deprecated. Use month instead",ee),is.years=k("years accessor is deprecated. Use year instead",gn),is.zone=k("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),is.isDSTShifted=k("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!i(this._isDSTShifted))return this._isDSTShifted;var e={};if(_(e,this),(e=Ge(e))._a){var t=e._isUTC?d(e._a):Ie(e._a);this._isDSTShifted=this.isValid()&&v(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var rs=O.prototype;rs.calendar=function(e,t,n){var s=this._calendar[e]||this._calendar.sameElse;return D(s)?s.call(t,n):s},rs.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])},rs.invalidDate=function(){return this._invalidDate},rs.ordinal=function(e){return this._ordinal.replace("%d",e)},rs.preparse=ht,rs.postformat=ht,rs.relativeTime=function(e,t,n,s){var i=this._relativeTime[n];return D(i)?i(e,t,n,s):i.replace(/%d/i,e)},rs.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return D(n)?n(t):n.replace(/%s/i,t)},rs.set=function(e){var t,n;for(n in e)D(t=e[n])?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},rs.months=function(e,n){return e?t(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||pn).test(n)?"format":"standalone"][e.month()]:t(this._months)?this._months:this._months.standalone},rs.monthsShort=function(e,n){return e?t(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[pn.test(n)?"format":"standalone"][e.month()]:t(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},rs.monthsParse=function(e,t,n){var s,i,r;if(this._monthsParseExact)return X.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if(i=d([2e3,s]),n&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[s]||(r="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[s]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[s].test(e))return s;if(n&&"MMM"===t&&this._shortMonthsParse[s].test(e))return s;if(!n&&this._monthsParse[s].test(e))return s}},rs.monthsRegex=function(e){return this._monthsParseExact?(u(this,"_monthsRegex")||te.call(this),e?this._monthsStrictRegex:this._monthsRegex):(u(this,"_monthsRegex")||(this._monthsRegex=kn),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},rs.monthsShortRegex=function(e){return this._monthsParseExact?(u(this,"_monthsRegex")||te.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(u(this,"_monthsShortRegex")||(this._monthsShortRegex=Mn),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},rs.week=function(e){return ae(e,this._week.dow,this._week.doy).week},rs.firstDayOfYear=function(){return this._week.doy},rs.firstDayOfWeek=function(){return this._week.dow},rs.weekdays=function(e,n){return e?t(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(n)?"format":"standalone"][e.day()]:t(this._weekdays)?this._weekdays:this._weekdays.standalone},rs.weekdaysMin=function(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin},rs.weekdaysShort=function(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort},rs.weekdaysParse=function(e,t,n){var s,i,r;if(this._weekdaysParseExact)return de.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(i=d([2e3,1]).day(s),n&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(i,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(i,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(i,"").replace(".",".?")+"$","i")),this._weekdaysParse[s]||(r="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[s]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[s].test(e))return s;if(n&&"ddd"===t&&this._shortWeekdaysParse[s].test(e))return s;if(n&&"dd"===t&&this._minWeekdaysParse[s].test(e))return s;if(!n&&this._weekdaysParse[s].test(e))return s}},rs.weekdaysRegex=function(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||he.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(u(this,"_weekdaysRegex")||(this._weekdaysRegex=xn),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},rs.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||he.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(u(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Tn),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},rs.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||he.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(u(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=bn),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},rs.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},rs.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},pe("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===w(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),e.lang=k("moment.lang is deprecated. Use moment.locale instead.",pe),e.langData=k("moment.langData is deprecated. Use moment.localeData instead.",ve);var as=Math.abs,os=wt("ms"),us=wt("s"),ls=wt("m"),ds=wt("h"),hs=wt("d"),cs=wt("w"),fs=wt("M"),ms=wt("y"),_s=vt("milliseconds"),ys=vt("seconds"),gs=vt("minutes"),ps=vt("hours"),ws=vt("days"),vs=vt("months"),Ms=vt("years"),ks=Math.round,Ss={ss:44,s:45,m:45,h:22,d:26,M:11},Ds=Math.abs,Ys=ze.prototype;return Ys.isValid=function(){return this._isValid},Ys.abs=function(){var e=this._data;return this._milliseconds=as(this._milliseconds),this._days=as(this._days),this._months=as(this._months),e.milliseconds=as(e.milliseconds),e.seconds=as(e.seconds),e.minutes=as(e.minutes),e.hours=as(e.hours),e.months=as(e.months),e.years=as(e.years),this},Ys.add=function(e,t){return _t(this,e,t,1)},Ys.subtract=function(e,t){return _t(this,e,t,-1)},Ys.as=function(e){if(!this.isValid())return NaN;var t,n,s=this._milliseconds;if("month"===(e=T(e))||"year"===e)return t=this._days+s/864e5,n=this._months+gt(t),"month"===e?n:n/12;switch(t=this._days+Math.round(pt(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return 24*t+s/36e5;case"minute":return 1440*t+s/6e4;case"second":return 86400*t+s/1e3;case"millisecond":return Math.floor(864e5*t)+s;default:throw new Error("Unknown unit "+e)}},Ys.asMilliseconds=os,Ys.asSeconds=us,Ys.asMinutes=ls,Ys.asHours=ds,Ys.asDays=hs,Ys.asWeeks=cs,Ys.asMonths=fs,Ys.asYears=ms,Ys.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*w(this._months/12):NaN},Ys._bubble=function(){var e,t,n,s,i,r=this._milliseconds,a=this._days,o=this._months,u=this._data;return r>=0&&a>=0&&o>=0||r<=0&&a<=0&&o<=0||(r+=864e5*yt(pt(o)+a),a=0,o=0),u.milliseconds=r%1e3,e=p(r/1e3),u.seconds=e%60,t=p(e/60),u.minutes=t%60,n=p(t/60),u.hours=n%24,a+=p(n/24),i=p(gt(a)),o+=i,a-=yt(pt(i)),s=p(o/12),o%=12,u.days=a,u.months=o,u.years=s,this},Ys.clone=function(){return Ke(this)},Ys.get=function(e){return e=T(e),this.isValid()?this[e+"s"]():NaN},Ys.milliseconds=_s,Ys.seconds=ys,Ys.minutes=gs,Ys.hours=ps,Ys.days=ws,Ys.weeks=function(){return p(this.days()/7)},Ys.months=vs,Ys.years=Ms,Ys.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=kt(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)},Ys.toISOString=Dt,Ys.toString=Dt,Ys.toJSON=Dt,Ys.locale=at,Ys.localeData=ot,Ys.toIsoString=k("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Dt),Ys.lang=Xn,C("X",0,0,"unix"),C("x",0,0,"valueOf"),L("x",Kt),L("X",nn),I("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),I("x",function(e,t,n){n._d=new Date(w(e))}),e.version="2.19.0",function(e){Yt=e}(Ie),e.fn=is,e.min=function(){return Ee("isBefore",[].slice.call(arguments,0))},e.max=function(){return Ee("isAfter",[].slice.call(arguments,0))},e.now=function(){return Date.now?Date.now():+new Date},e.utc=d,e.unix=function(e){return Ie(1e3*e)},e.months=function(e,t){return ft(e,t,"months")},e.isDate=a,e.locale=pe,e.invalid=m,e.duration=Ke,e.isMoment=g,e.weekdays=function(e,t,n){return mt(e,t,n,"weekdays")},e.parseZone=function(){return Ie.apply(null,arguments).parseZone()},e.localeData=ve,e.isDuration=Ze,e.monthsShort=function(e,t){return ft(e,t,"monthsShort")},e.weekdaysMin=function(e,t,n){return mt(e,t,n,"weekdaysMin")},e.defineLocale=we,e.updateLocale=function(e,t){if(null!=t){var n,s=Cn;null!=Fn[e]&&(s=Fn[e]._config),(n=new O(t=Y(s,t))).parentLocale=Fn[e],Fn[e]=n,pe(e)}else null!=Fn[e]&&(null!=Fn[e].parentLocale?Fn[e]=Fn[e].parentLocale:null!=Fn[e]&&delete Fn[e]);return Fn[e]},e.locales=function(){return Pt(Fn)},e.weekdaysShort=function(e,t,n){return mt(e,t,n,"weekdaysShort")},e.normalizeUnits=T,e.relativeTimeRounding=function(e){return void 0===e?ks:"function"==typeof e&&(ks=e,!0)},e.relativeTimeThreshold=function(e,t){return void 0!==Ss[e]&&(void 0===t?Ss[e]:(Ss[e]=t,"s"===e&&(Ss.ss=t-1),!0))},e.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},e.prototype=is,e});⏎ |
1894 | 1894 | assert.equal(longDateStr, shortDateStr, 'should not have leading zeros in month or day'); |
1895 | 1895 | } |
1896 | 1896 | } |
1897 | }); | |
1898 | ||
1899 | // locale-specific | |
1900 | test('ar-ly strict mode parsing works', function (assert) { | |
1901 | var m, formattedDate; | |
1902 | m = moment().locale('ar-ly'); | |
1903 | formattedDate = m.format('l'); | |
1904 | assert.equal(moment.utc(formattedDate, 'l', 'ar-ly', false).isValid(), true, 'Non-strict parsing works'); | |
1905 | assert.equal(moment.utc(formattedDate, 'l', 'ar-ly', true).isValid(), true,'Strict parsing must work'); | |
1897 | 1906 | }); |
1898 | 1907 | |
1899 | 1908 | }))); |
3880 | 3889 | } |
3881 | 3890 | }); |
3882 | 3891 | |
3892 | // locale-specific | |
3893 | test('ar strict mode parsing works', function (assert) { | |
3894 | var m, formattedDate; | |
3895 | m = moment().locale('ar'); | |
3896 | formattedDate = m.format('l'); | |
3897 | assert.equal(moment.utc(formattedDate, 'l', 'ar', false).isValid(), true, 'Non-strict parsing works'); | |
3898 | assert.equal(moment.utc(formattedDate, 'l', 'ar', true).isValid(), true,'Strict parsing must work'); | |
3899 | }); | |
3900 | ||
3883 | 3901 | }))); |
3884 | 3902 | |
3885 | 3903 | |
5620 | 5638 | defineCommonLocaleTests(name, -1, -1); |
5621 | 5639 | } |
5622 | 5640 | |
5641 | localeModule('bm'); | |
5642 | ||
5643 | test('parse', function (assert) { | |
5644 | var i, | |
5645 | tests = 'Zanwuyekalo Zan_Fewuruyekalo Few_Marisikalo Mar_Awirilikalo Awi_Mɛkalo Mɛ_Zuwɛnkalo Zuw_Zuluyekalo Zul_Utikalo Uti_Sɛtanburukalo Sɛt_ɔkutɔburukalo ɔku_Nowanburukalo Now_Desanburukalo Des'.split('_'); | |
5646 | ||
5647 | function equalTest(input, mmm, i) { | |
5648 | assert.equal(moment(input, mmm).month(), i, input + ' should be month ' + (i + 1)); | |
5649 | } | |
5650 | ||
5651 | for (i = 0; i < 12; i++) { | |
5652 | tests[i] = tests[i].split(' '); | |
5653 | equalTest(tests[i][0], 'MMM', i); | |
5654 | equalTest(tests[i][1], 'MMM', i); | |
5655 | equalTest(tests[i][0], 'MMMM', i); | |
5656 | equalTest(tests[i][1], 'MMMM', i); | |
5657 | equalTest(tests[i][0].toLocaleLowerCase(), 'MMMM', i); | |
5658 | equalTest(tests[i][1].toLocaleLowerCase(), 'MMMM', i); | |
5659 | equalTest(tests[i][0].toLocaleUpperCase(), 'MMMM', i); | |
5660 | equalTest(tests[i][1].toLocaleUpperCase(), 'MMMM', i); | |
5661 | } | |
5662 | }); | |
5663 | ||
5664 | test('format', function (assert) { | |
5665 | var a = [ | |
5666 | ['dddd, MMMM Do YYYY, h:mm:ss a', 'Kari, Fewuruyekalo 14 2010, 3:25:50 pm'], | |
5667 | ['ddd, hA', 'Kar, 3PM'], | |
5668 | ['M Mo MM MMMM MMM', '2 2 02 Fewuruyekalo Few'], | |
5669 | ['YYYY YY', '2010 10'], | |
5670 | ['D Do DD', '14 14 14'], | |
5671 | ['d do dddd ddd dd', '0 0 Kari Kar Ka'], | |
5672 | ['DDD DDDo DDDD', '45 45 045'], | |
5673 | ['w wo ww', '6 6 06'], | |
5674 | ['h hh', '3 03'], | |
5675 | ['H HH', '15 15'], | |
5676 | ['m mm', '25 25'], | |
5677 | ['s ss', '50 50'], | |
5678 | ['a A', 'pm PM'], | |
5679 | ['[le] Do [jour du mois]', 'le 14 jour du mois'], | |
5680 | ['[le] DDDo [jour de l’année]', 'le 45 jour de l’année'], | |
5681 | ['LTS', '15:25:50'], | |
5682 | ['L', '14/02/2010'], | |
5683 | ['LL', 'Fewuruyekalo tile 14 san 2010'], | |
5684 | ['LLL', 'Fewuruyekalo tile 14 san 2010 lɛrɛ 15:25'], | |
5685 | ['LLLL', 'Kari Fewuruyekalo tile 14 san 2010 lɛrɛ 15:25'], | |
5686 | ['l', '14/2/2010'], | |
5687 | ['ll', 'Few tile 14 san 2010'], | |
5688 | ['lll', 'Few tile 14 san 2010 lɛrɛ 15:25'], | |
5689 | ['llll', 'Kar Few tile 14 san 2010 lɛrɛ 15:25'] | |
5690 | ], | |
5691 | b = moment(new Date(2010, 1, 14, 15, 25, 50, 125)), | |
5692 | i; | |
5693 | ||
5694 | for (i = 0; i < a.length; i++) { | |
5695 | assert.equal(b.format(a[i][0]), a[i][1], a[i][0] + ' ---> ' + a[i][1]); | |
5696 | } | |
5697 | }); | |
5698 | ||
5699 | test('format month', function (assert) { | |
5700 | var i, | |
5701 | expected = 'Zanwuyekalo Zan_Fewuruyekalo Few_Marisikalo Mar_Awirilikalo Awi_Mɛkalo Mɛ_Zuwɛnkalo Zuw_Zuluyekalo Zul_Utikalo Uti_Sɛtanburukalo Sɛt_ɔkutɔburukalo ɔku_Nowanburukalo Now_Desanburukalo Des'.split('_'); | |
5702 | ||
5703 | for (i = 0; i < expected.length; i++) { | |
5704 | assert.equal(moment([2011, i, 1]).format('MMMM MMM'), expected[i], expected[i]); | |
5705 | } | |
5706 | }); | |
5707 | ||
5708 | test('format week', function (assert) { | |
5709 | var i, | |
5710 | expected = 'Kari Kar Ka_Ntɛnɛn Ntɛ Nt_Tarata Tar Ta_Araba Ara Ar_Alamisa Ala Al_Juma Jum Ju_Sibiri Sib Si'.split('_'); | |
5711 | ||
5712 | for (i = 0; i < expected.length; i++) { | |
5713 | assert.equal(moment([2011, 0, 2 + i]).format('dddd ddd dd'), expected[i], expected[i]); | |
5714 | } | |
5715 | }); | |
5716 | ||
5717 | test('from', function (assert) { | |
5718 | var start = moment([2007, 1, 28]); | |
5719 | ||
5720 | assert.equal(start.from(moment([2007, 1, 28]).add({s: 44}), true), 'sanga dama dama', '44 seconds = a few seconds'); | |
5721 | assert.equal(start.from(moment([2007, 1, 28]).add({s: 45}), true), 'miniti kelen', '45 seconds = a minute'); | |
5722 | assert.equal(start.from(moment([2007, 1, 28]).add({s: 89}), true), 'miniti kelen', '89 seconds = a minute'); | |
5723 | assert.equal(start.from(moment([2007, 1, 28]).add({s: 90}), true), 'miniti 2', '90 seconds = 2 minutes'); | |
5724 | assert.equal(start.from(moment([2007, 1, 28]).add({m: 44}), true), 'miniti 44', '44 minutes = 44 minutes'); | |
5725 | assert.equal(start.from(moment([2007, 1, 28]).add({m: 45}), true), 'lɛrɛ kelen', '45 minutes = an hour'); | |
5726 | assert.equal(start.from(moment([2007, 1, 28]).add({m: 89}), true), 'lɛrɛ kelen', '89 minutes = an hour'); | |
5727 | assert.equal(start.from(moment([2007, 1, 28]).add({m: 90}), true), 'lɛrɛ 2', '90 minutes = 2 hours'); | |
5728 | assert.equal(start.from(moment([2007, 1, 28]).add({h: 5}), true), 'lɛrɛ 5', '5 hours = 5 hours'); | |
5729 | assert.equal(start.from(moment([2007, 1, 28]).add({h: 21}), true), 'lɛrɛ 21', '21 hours = 21 hours'); | |
5730 | assert.equal(start.from(moment([2007, 1, 28]).add({h: 22}), true), 'tile kelen', '22 hours = a day'); | |
5731 | assert.equal(start.from(moment([2007, 1, 28]).add({h: 35}), true), 'tile kelen', '35 hours = a day'); | |
5732 | assert.equal(start.from(moment([2007, 1, 28]).add({h: 36}), true), 'tile 2', '36 hours = 2 days'); | |
5733 | assert.equal(start.from(moment([2007, 1, 28]).add({d: 1}), true), 'tile kelen', '1 day = a day'); | |
5734 | assert.equal(start.from(moment([2007, 1, 28]).add({d: 5}), true), 'tile 5', '5 days = 5 days'); | |
5735 | assert.equal(start.from(moment([2007, 1, 28]).add({d: 25}), true), 'tile 25', '25 days = 25 days'); | |
5736 | assert.equal(start.from(moment([2007, 1, 28]).add({d: 26}), true), 'kalo kelen', '26 days = a month'); | |
5737 | assert.equal(start.from(moment([2007, 1, 28]).add({d: 30}), true), 'kalo kelen', '30 days = a month'); | |
5738 | assert.equal(start.from(moment([2007, 1, 28]).add({d: 43}), true), 'kalo kelen', '43 days = a month'); | |
5739 | assert.equal(start.from(moment([2007, 1, 28]).add({d: 46}), true), 'kalo 2', '46 days = 2 months'); | |
5740 | assert.equal(start.from(moment([2007, 1, 28]).add({d: 74}), true), 'kalo 2', '75 days = 2 months'); | |
5741 | assert.equal(start.from(moment([2007, 1, 28]).add({d: 76}), true), 'kalo 3', '76 days = 3 months'); | |
5742 | assert.equal(start.from(moment([2007, 1, 28]).add({M: 1}), true), 'kalo kelen', '1 month = a month'); | |
5743 | assert.equal(start.from(moment([2007, 1, 28]).add({M: 5}), true), 'kalo 5', '5 months = 5 months'); | |
5744 | assert.equal(start.from(moment([2007, 1, 28]).add({d: 345}), true), 'san kelen', '345 days = a year'); | |
5745 | assert.equal(start.from(moment([2007, 1, 28]).add({d: 548}), true), 'san 2', '548 days = 2 years'); | |
5746 | assert.equal(start.from(moment([2007, 1, 28]).add({y: 1}), true), 'san kelen', '1 year = a year'); | |
5747 | assert.equal(start.from(moment([2007, 1, 28]).add({y: 5}), true), 'san 5', '5 years = 5 years'); | |
5748 | }); | |
5749 | ||
5750 | test('suffix', function (assert) { | |
5751 | assert.equal(moment(30000).from(0), 'sanga dama dama kɔnɔ', 'prefix'); | |
5752 | assert.equal(moment(0).from(30000), 'a bɛ sanga dama dama bɔ', 'suffix'); | |
5753 | }); | |
5754 | ||
5755 | test('fromNow', function (assert) { | |
5756 | assert.equal(moment().add({s: 30}).fromNow(), 'sanga dama dama kɔnɔ', 'in a few seconds'); | |
5757 | assert.equal(moment().add({d: 5}).fromNow(), 'tile 5 kɔnɔ', 'in 5 days'); | |
5758 | }); | |
5759 | ||
5760 | test('same day', function (assert) { | |
5761 | var a = moment().hours(12).minutes(0).seconds(0); | |
5762 | ||
5763 | assert.equal(moment(a).calendar(), 'Bi lɛrɛ 12:00', 'Today at the same time'); | |
5764 | assert.equal(moment(a).add({m: 25}).calendar(), 'Bi lɛrɛ 12:25', 'Now plus 25 min'); | |
5765 | assert.equal(moment(a).add({h: 1}).calendar(), 'Bi lɛrɛ 13:00', 'Now plus 1 hour'); | |
5766 | assert.equal(moment(a).add({d: 1}).calendar(), 'Sini lɛrɛ 12:00', 'Tomorrow at the same time'); | |
5767 | assert.equal(moment(a).subtract({h: 1}).calendar(), 'Bi lɛrɛ 11:00', 'Now minus 1 hour'); | |
5768 | assert.equal(moment(a).subtract({d: 1}).calendar(), 'Kunu lɛrɛ 12:00', 'Yesterday at the same time'); | |
5769 | }); | |
5770 | ||
5771 | test('same next week', function (assert) { | |
5772 | var i, m; | |
5773 | ||
5774 | for (i = 2; i < 7; i++) { | |
5775 | m = moment().add({d: i}); | |
5776 | assert.equal(m.calendar(), m.format('dddd [don lɛrɛ] LT'), 'Today + ' + i + ' days current time'); | |
5777 | m.hours(0).minutes(0).seconds(0).milliseconds(0); | |
5778 | assert.equal(m.calendar(), m.format('dddd [don lɛrɛ] LT'), 'Today + ' + i + ' days beginning of day'); | |
5779 | m.hours(23).minutes(59).seconds(59).milliseconds(999); | |
5780 | assert.equal(m.calendar(), m.format('dddd [don lɛrɛ] LT'), 'Today + ' + i + ' days end of day'); | |
5781 | } | |
5782 | }); | |
5783 | ||
5784 | test('same last week', function (assert) { | |
5785 | var i, m; | |
5786 | ||
5787 | for (i = 2; i < 7; i++) { | |
5788 | m = moment().subtract({d: i}); | |
5789 | assert.equal(m.calendar(), m.format('dddd [tɛmɛnen lɛrɛ] LT'), 'Today - ' + i + ' days current time'); | |
5790 | m.hours(0).minutes(0).seconds(0).milliseconds(0); | |
5791 | assert.equal(m.calendar(), m.format('dddd [tɛmɛnen lɛrɛ] LT'), 'Today - ' + i + ' days beginning of day'); | |
5792 | m.hours(23).minutes(59).seconds(59).milliseconds(999); | |
5793 | assert.equal(m.calendar(), m.format('dddd [tɛmɛnen lɛrɛ] LT'), 'Today - ' + i + ' days end of day'); | |
5794 | } | |
5795 | }); | |
5796 | ||
5797 | test('same all else', function (assert) { | |
5798 | var weeksAgo = moment().subtract({w: 1}), | |
5799 | weeksFromNow = moment().add({w: 1}); | |
5800 | ||
5801 | assert.equal(weeksAgo.calendar(), weeksAgo.format('L'), '1 week ago'); | |
5802 | assert.equal(weeksFromNow.calendar(), weeksFromNow.format('L'), 'in 1 week'); | |
5803 | ||
5804 | weeksAgo = moment().subtract({w: 2}); | |
5805 | weeksFromNow = moment().add({w: 2}); | |
5806 | ||
5807 | assert.equal(weeksAgo.calendar(), weeksAgo.format('L'), '2 weeks ago'); | |
5808 | assert.equal(weeksFromNow.calendar(), weeksFromNow.format('L'), 'in 2 weeks'); | |
5809 | }); | |
5810 | ||
5811 | test('weeks year starting sunday formatted', function (assert) { | |
5812 | assert.equal(moment([2012, 0, 1]).format('w ww wo'), '52 52 52', 'Jan 1 2012 should be week 52'); | |
5813 | assert.equal(moment([2012, 0, 2]).format('w ww wo'), '1 01 1', 'Jan 2 2012 should be week 1'); | |
5814 | assert.equal(moment([2012, 0, 8]).format('w ww wo'), '1 01 1', 'Jan 8 2012 should be week 1'); | |
5815 | assert.equal(moment([2012, 0, 9]).format('w ww wo'), '2 02 2', 'Jan 9 2012 should be week 2'); | |
5816 | assert.equal(moment([2012, 0, 15]).format('w ww wo'), '2 02 2', 'Jan 15 2012 should be week 2'); | |
5817 | }); | |
5818 | ||
5819 | }))); | |
5820 | ||
5821 | ||
5822 | ;(function (global, factory) { | |
5823 | typeof exports === 'object' && typeof module !== 'undefined' | |
5824 | && typeof require === 'function' ? factory(require('../../moment')) : | |
5825 | typeof define === 'function' && define.amd ? define(['../../moment'], factory) : | |
5826 | factory(global.moment) | |
5827 | }(this, (function (moment) { 'use strict'; | |
5828 | ||
5829 | function each(array, callback) { | |
5830 | var i; | |
5831 | for (i = 0; i < array.length; i++) { | |
5832 | callback(array[i], i, array); | |
5833 | } | |
5834 | } | |
5835 | ||
5836 | function objectKeys(obj) { | |
5837 | if (Object.keys) { | |
5838 | return Object.keys(obj); | |
5839 | } else { | |
5840 | // IE8 | |
5841 | var res = [], i; | |
5842 | for (i in obj) { | |
5843 | if (obj.hasOwnProperty(i)) { | |
5844 | res.push(i); | |
5845 | } | |
5846 | } | |
5847 | return res; | |
5848 | } | |
5849 | } | |
5850 | ||
5851 | // Pick the first defined of two or three arguments. | |
5852 | ||
5853 | function defineCommonLocaleTests(locale, options) { | |
5854 | test('lenient day of month ordinal parsing', function (assert) { | |
5855 | var i, ordinalStr, testMoment; | |
5856 | for (i = 1; i <= 31; ++i) { | |
5857 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
5858 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
5859 | assert.equal(testMoment.year(), 2014, | |
5860 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
5861 | assert.equal(testMoment.month(), 0, | |
5862 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
5863 | assert.equal(testMoment.date(), i, | |
5864 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
5865 | } | |
5866 | }); | |
5867 | ||
5868 | test('lenient day of month ordinal parsing of number', function (assert) { | |
5869 | var i, testMoment; | |
5870 | for (i = 1; i <= 31; ++i) { | |
5871 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
5872 | assert.equal(testMoment.year(), 2014, | |
5873 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
5874 | assert.equal(testMoment.month(), 0, | |
5875 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
5876 | assert.equal(testMoment.date(), i, | |
5877 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
5878 | } | |
5879 | }); | |
5880 | ||
5881 | test('strict day of month ordinal parsing', function (assert) { | |
5882 | var i, ordinalStr, testMoment; | |
5883 | for (i = 1; i <= 31; ++i) { | |
5884 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
5885 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
5886 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
5887 | } | |
5888 | }); | |
5889 | ||
5890 | test('meridiem invariant', function (assert) { | |
5891 | var h, m, t1, t2; | |
5892 | for (h = 0; h < 24; ++h) { | |
5893 | for (m = 0; m < 60; m += 15) { | |
5894 | t1 = moment.utc([2000, 0, 1, h, m]); | |
5895 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
5896 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
5897 | 'meridiem at ' + t1.format('HH:mm')); | |
5898 | } | |
5899 | } | |
5900 | }); | |
5901 | ||
5902 | test('date format correctness', function (assert) { | |
5903 | var data, tokens; | |
5904 | data = moment.localeData()._longDateFormat; | |
5905 | tokens = objectKeys(data); | |
5906 | each(tokens, function (srchToken) { | |
5907 | // Check each format string to make sure it does not contain any | |
5908 | // tokens that need to be expanded. | |
5909 | each(tokens, function (baseToken) { | |
5910 | // strip escaped sequences | |
5911 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
5912 | assert.equal(false, !!~format.indexOf(srchToken), | |
5913 | 'contains ' + srchToken + ' in ' + baseToken); | |
5914 | }); | |
5915 | }); | |
5916 | }); | |
5917 | ||
5918 | test('month parsing correctness', function (assert) { | |
5919 | var i, m; | |
5920 | ||
5921 | if (locale === 'tr') { | |
5922 | // I can't fix it :( | |
5923 | expect(0); | |
5924 | return; | |
5925 | } | |
5926 | function tester(format) { | |
5927 | var r; | |
5928 | r = moment(m.format(format), format); | |
5929 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
5930 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
5931 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
5932 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
5933 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
5934 | ||
5935 | r = moment(m.format(format), format, true); | |
5936 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
5937 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
5938 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
5939 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
5940 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
5941 | } | |
5942 | ||
5943 | for (i = 0; i < 12; ++i) { | |
5944 | m = moment([2015, i, 15, 18]); | |
5945 | tester('MMM'); | |
5946 | tester('MMM.'); | |
5947 | tester('MMMM'); | |
5948 | tester('MMMM.'); | |
5949 | } | |
5950 | }); | |
5951 | ||
5952 | test('weekday parsing correctness', function (assert) { | |
5953 | var i, m; | |
5954 | ||
5955 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
5956 | // tr, az: There is a lower-case letter (ı), that converted to | |
5957 | // upper then lower changes to i | |
5958 | // ro: there is the letter ț which behaves weird under IE8 | |
5959 | expect(0); | |
5960 | return; | |
5961 | } | |
5962 | function tester(format) { | |
5963 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
5964 | r = moment(m.format(format), format); | |
5965 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
5966 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
5967 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
5968 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
5969 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
5970 | ||
5971 | r = moment(m.format(format), format, true); | |
5972 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
5973 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
5974 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
5975 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
5976 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
5977 | } | |
5978 | ||
5979 | for (i = 0; i < 7; ++i) { | |
5980 | m = moment.utc([2015, 0, i + 1, 18]); | |
5981 | tester('dd'); | |
5982 | tester('ddd'); | |
5983 | tester('dddd'); | |
5984 | } | |
5985 | }); | |
5986 | ||
5987 | test('valid localeData', function (assert) { | |
5988 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
5989 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
5990 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
5991 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
5992 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
5993 | }); | |
5994 | } | |
5995 | ||
5996 | function setupDeprecationHandler(test, moment$$1, scope) { | |
5997 | test._expectedDeprecations = null; | |
5998 | test._observedDeprecations = null; | |
5999 | test._oldSupress = moment$$1.suppressDeprecationWarnings; | |
6000 | moment$$1.suppressDeprecationWarnings = true; | |
6001 | test.expectedDeprecations = function () { | |
6002 | test._expectedDeprecations = arguments; | |
6003 | test._observedDeprecations = []; | |
6004 | }; | |
6005 | moment$$1.deprecationHandler = function (name, msg) { | |
6006 | var deprecationId = matchedDeprecation(name, msg, test._expectedDeprecations); | |
6007 | if (deprecationId === -1) { | |
6008 | throw new Error('Unexpected deprecation thrown name=' + | |
6009 | name + ' msg=' + msg); | |
6010 | } | |
6011 | test._observedDeprecations[deprecationId] = 1; | |
6012 | }; | |
6013 | } | |
6014 | ||
6015 | function teardownDeprecationHandler(test, moment$$1, scope) { | |
6016 | moment$$1.suppressDeprecationWarnings = test._oldSupress; | |
6017 | ||
6018 | if (test._expectedDeprecations != null) { | |
6019 | var missedDeprecations = []; | |
6020 | each(test._expectedDeprecations, function (deprecationPattern, id) { | |
6021 | if (test._observedDeprecations[id] !== 1) { | |
6022 | missedDeprecations.push(deprecationPattern); | |
6023 | } | |
6024 | }); | |
6025 | if (missedDeprecations.length !== 0) { | |
6026 | throw new Error('Expected deprecation warnings did not happen: ' + | |
6027 | missedDeprecations.join(' ')); | |
6028 | } | |
6029 | } | |
6030 | } | |
6031 | ||
6032 | function matchedDeprecation(name, msg, deprecations) { | |
6033 | if (deprecations == null) { | |
6034 | return -1; | |
6035 | } | |
6036 | for (var i = 0; i < deprecations.length; ++i) { | |
6037 | if (name != null && name === deprecations[i]) { | |
6038 | return i; | |
6039 | } | |
6040 | if (msg != null && msg.substring(0, deprecations[i].length) === deprecations[i]) { | |
6041 | return i; | |
6042 | } | |
6043 | } | |
6044 | return -1; | |
6045 | } | |
6046 | ||
6047 | /*global QUnit:false*/ | |
6048 | ||
6049 | var test = QUnit.test; | |
6050 | ||
6051 | var expect = QUnit.expect; | |
6052 | ||
6053 | ||
6054 | ||
6055 | function localeModule (name, lifecycle) { | |
6056 | QUnit.module('locale:' + name, { | |
6057 | setup : function () { | |
6058 | moment.locale(name); | |
6059 | moment.createFromInputFallback = function (config) { | |
6060 | throw new Error('input not handled by moment: ' + config._i); | |
6061 | }; | |
6062 | setupDeprecationHandler(test, moment, 'locale'); | |
6063 | if (lifecycle && lifecycle.setup) { | |
6064 | lifecycle.setup(); | |
6065 | } | |
6066 | }, | |
6067 | teardown : function () { | |
6068 | moment.locale('en'); | |
6069 | teardownDeprecationHandler(test, moment, 'locale'); | |
6070 | if (lifecycle && lifecycle.teardown) { | |
6071 | lifecycle.teardown(); | |
6072 | } | |
6073 | } | |
6074 | }); | |
6075 | defineCommonLocaleTests(name, -1, -1); | |
6076 | } | |
6077 | ||
5623 | 6078 | localeModule('bn'); |
5624 | 6079 | |
5625 | 6080 | test('parse', function (assert) { |
7595 | 8050 | ['M Mo MM MMMM MMM', '2 2n 02 febrer febr.'], |
7596 | 8051 | ['YYYY YY', '2010 10'], |
7597 | 8052 | ['D Do DD', '14 14è 14'], |
7598 | ['d do dddd ddd dd', '0 0è diumenge dg. Dg'], | |
8053 | ['d do dddd ddd dd', '0 0è diumenge dg. dg'], | |
7599 | 8054 | ['DDD DDDo DDDD', '45 45è 045'], |
7600 | 8055 | ['w wo ww', '6 6a 06'], |
7601 | 8056 | ['h hh', '3 03'], |
7606 | 8061 | ['[the] DDDo [day of the year]', 'the 45è day of the year'], |
7607 | 8062 | ['LTS', '15:25:50'], |
7608 | 8063 | ['L', '14/02/2010'], |
7609 | ['LL', 'el 14 de febrer de 2010'], | |
7610 | ['LLL', 'el 14 de febrer de 2010 a les 15:25'], | |
7611 | ['LLLL', 'el diumenge 14 de febrer de 2010 a les 15:25'], | |
8064 | ['LL', '14 de febrer de 2010'], | |
8065 | ['LLL', '14 de febrer de 2010 a les 15:25'], | |
8066 | ['LLLL', 'diumenge 14 de febrer de 2010 a les 15:25'], | |
7612 | 8067 | ['l', '14/2/2010'], |
7613 | 8068 | ['ll', '14 febr. 2010'], |
7614 | 8069 | ['lll', '14 febr. 2010, 15:25'], |
7666 | 8121 | }); |
7667 | 8122 | |
7668 | 8123 | test('format week', function (assert) { |
7669 | var expected = 'diumenge dg. Dg_dilluns dl. Dl_dimarts dt. Dt_dimecres dc. Dc_dijous dj. Dj_divendres dv. Dv_dissabte ds. Ds'.split('_'), i; | |
8124 | var expected = 'diumenge dg. dg_dilluns dl. dl_dimarts dt. dt_dimecres dc. dc_dijous dj. dj_divendres dv. dv_dissabte ds. ds'.split('_'), i; | |
7670 | 8125 | for (i = 0; i < expected.length; i++) { |
7671 | 8126 | assert.equal(moment([2011, 0, 2 + i]).format('dddd ddd dd'), expected[i], expected[i]); |
7672 | 8127 | } |
9579 | 10034 | ['a A', 'pm PM'], |
9580 | 10035 | ['[den] DDDo [dag på året]', 'den 45. dag på året'], |
9581 | 10036 | ['LTS', '15:25:50'], |
9582 | ['L', '14/02/2010'], | |
10037 | ['L', '14.02.2010'], | |
9583 | 10038 | ['LL', '14. februar 2010'], |
9584 | 10039 | ['LLL', '14. februar 2010 15:25'], |
9585 | 10040 | ['LLLL', 'søndag d. 14. februar 2010 kl. 15:25'], |
9586 | ['l', '14/2/2010'], | |
10041 | ['l', '14.2.2010'], | |
9587 | 10042 | ['ll', '14. feb 2010'], |
9588 | 10043 | ['lll', '14. feb 2010 15:25'], |
9589 | 10044 | ['llll', 'søn d. 14. feb 2010 kl. 15:25'] |
10014 | 10469 | localeModule('de-at'); |
10015 | 10470 | |
10016 | 10471 | test('parse', function (assert) { |
10017 | var tests = 'Jänner Jän._Februar Febr._März Mrz._April Apr._Mai Mai_Juni Jun._Juli Jul._August Aug._September Sept._Oktober Okt._November Nov._Dezember Dez.'.split('_'), i; | |
10472 | var tests = 'Jänner Jän._Februar Feb._März März_April Apr._Mai Mai_Juni Juni_Juli Juli_August Aug._September Sep._Oktober Okt._November Nov._Dezember Dez.'.split('_'), i; | |
10018 | 10473 | |
10019 | 10474 | function equalTest(input, mmm, i) { |
10020 | 10475 | assert.equal(moment(input, mmm).month(), i, input + ' should be month ' + (i + 1)); |
10037 | 10492 | var a = [ |
10038 | 10493 | ['dddd, Do MMMM YYYY, h:mm:ss a', 'Sonntag, 14. Februar 2010, 3:25:50 pm'], |
10039 | 10494 | ['ddd, hA', 'So., 3PM'], |
10040 | ['M Mo MM MMMM MMM', '2 2. 02 Februar Febr.'], | |
10495 | ['M Mo MM MMMM MMM', '2 2. 02 Februar Feb.'], | |
10041 | 10496 | ['YYYY YY', '2010 10'], |
10042 | 10497 | ['D Do DD', '14 14. 14'], |
10043 | 10498 | ['d do dddd ddd dd', '0 0. Sonntag So. So'], |
10055 | 10510 | ['LLL', '14. Februar 2010 15:25'], |
10056 | 10511 | ['LLLL', 'Sonntag, 14. Februar 2010 15:25'], |
10057 | 10512 | ['l', '14.2.2010'], |
10058 | ['ll', '14. Febr. 2010'], | |
10059 | ['lll', '14. Febr. 2010 15:25'], | |
10060 | ['llll', 'So., 14. Febr. 2010 15:25'] | |
10513 | ['ll', '14. Feb. 2010'], | |
10514 | ['lll', '14. Feb. 2010 15:25'], | |
10515 | ['llll', 'So., 14. Feb. 2010 15:25'] | |
10061 | 10516 | ], |
10062 | 10517 | b = moment(new Date(2010, 1, 14, 15, 25, 50, 125)), |
10063 | 10518 | i; |
10104 | 10559 | }); |
10105 | 10560 | |
10106 | 10561 | test('format month', function (assert) { |
10107 | var expected = 'Jänner Jän._Februar Febr._März Mrz._April Apr._Mai Mai_Juni Jun._Juli Jul._August Aug._September Sept._Oktober Okt._November Nov._Dezember Dez.'.split('_'), i; | |
10562 | var expected = 'Jänner Jän._Februar Feb._März März_April Apr._Mai Mai_Juni Juni_Juli Juli_August Aug._September Sep._Oktober Okt._November Nov._Dezember Dez.'.split('_'), i; | |
10108 | 10563 | for (i = 0; i < expected.length; i++) { |
10109 | 10564 | assert.equal(moment([2011, i, 1]).format('MMMM MMM'), expected[i], expected[i]); |
10110 | 10565 | } |
10477 | 10932 | localeModule('de-ch'); |
10478 | 10933 | |
10479 | 10934 | test('parse', function (assert) { |
10480 | var tests = 'Januar Jan._Februar Febr._März März_April April_Mai Mai_Juni Juni_Juli Juli_August Aug._September Sept._Oktober Okt._November Nov._Dezember Dez.'.split('_'), i; | |
10935 | var tests = 'Januar Jan._Februar Feb._März März_April Apr._Mai Mai_Juni Juni_Juli Juli_August Aug._September Sep._Oktober Okt._November Nov._Dezember Dez.'.split('_'), i; | |
10481 | 10936 | function equalTest(input, mmm, i) { |
10482 | 10937 | assert.equal(moment(input, mmm).month(), i, input + ' should be month ' + (i + 1)); |
10483 | 10938 | } |
10498 | 10953 | var a = [ |
10499 | 10954 | ['dddd, Do MMMM YYYY, h.mm.ss a', 'Sonntag, 14. Februar 2010, 3.25.50 pm'], |
10500 | 10955 | ['ddd, hA', 'So, 3PM'], |
10501 | ['M Mo MM MMMM MMM', '2 2. 02 Februar Febr.'], | |
10956 | ['M Mo MM MMMM MMM', '2 2. 02 Februar Feb.'], | |
10502 | 10957 | ['YYYY YY', '2010 10'], |
10503 | 10958 | ['D Do DD', '14 14. 14'], |
10504 | 10959 | ['d do dddd ddd dd', '0 0. Sonntag So So'], |
10516 | 10971 | ['LLL', '14. Februar 2010 15.25'], |
10517 | 10972 | ['LLLL', 'Sonntag, 14. Februar 2010 15.25'], |
10518 | 10973 | ['l', '14.2.2010'], |
10519 | ['ll', '14. Febr. 2010'], | |
10520 | ['lll', '14. Febr. 2010 15.25'], | |
10521 | ['llll', 'So, 14. Febr. 2010 15.25'] | |
10974 | ['ll', '14. Feb. 2010'], | |
10975 | ['lll', '14. Feb. 2010 15.25'], | |
10976 | ['llll', 'So, 14. Feb. 2010 15.25'] | |
10522 | 10977 | ], |
10523 | 10978 | b = moment(new Date(2010, 1, 14, 15, 25, 50, 125)), |
10524 | 10979 | i; |
10565 | 11020 | }); |
10566 | 11021 | |
10567 | 11022 | test('format month', function (assert) { |
10568 | var expected = 'Januar Jan._Februar Febr._März März_April April_Mai Mai_Juni Juni_Juli Juli_August Aug._September Sept._Oktober Okt._November Nov._Dezember Dez.'.split('_'), i; | |
11023 | var expected = 'Januar Jan._Februar Feb._März März_April Apr._Mai Mai_Juni Juni_Juli Juli_August Aug._September Sep._Oktober Okt._November Nov._Dezember Dez.'.split('_'), i; | |
10569 | 11024 | for (i = 0; i < expected.length; i++) { |
10570 | 11025 | assert.equal(moment([2011, i, 1]).format('MMMM MMM'), expected[i], expected[i]); |
10571 | 11026 | } |
10939 | 11394 | localeModule('de'); |
10940 | 11395 | |
10941 | 11396 | test('parse', function (assert) { |
10942 | var tests = 'Januar Jan._Februar Febr._März Mrz._April Apr._Mai Mai_Juni Jun._Juli Jul._August Aug._September Sept._Oktober Okt._November Nov._Dezember Dez.'.split('_'), i; | |
11397 | var tests = 'Januar Jan._Februar Feb._März März_April Apr._Mai Mai_Juni Juni_Juli Juli_August Aug._September Sep._Oktober Okt._November Nov._Dezember Dez.'.split('_'), i; | |
10943 | 11398 | function equalTest(input, mmm, i) { |
10944 | 11399 | assert.equal(moment(input, mmm).month(), i, input + ' should be month ' + (i + 1)); |
10945 | 11400 | } |
10960 | 11415 | var a = [ |
10961 | 11416 | ['dddd, Do MMMM YYYY, h:mm:ss a', 'Sonntag, 14. Februar 2010, 3:25:50 pm'], |
10962 | 11417 | ['ddd, hA', 'So., 3PM'], |
10963 | ['M Mo MM MMMM MMM', '2 2. 02 Februar Febr.'], | |
11418 | ['M Mo MM MMMM MMM', '2 2. 02 Februar Feb.'], | |
10964 | 11419 | ['YYYY YY', '2010 10'], |
10965 | 11420 | ['D Do DD', '14 14. 14'], |
10966 | 11421 | ['d do dddd ddd dd', '0 0. Sonntag So. So'], |
10978 | 11433 | ['LLL', '14. Februar 2010 15:25'], |
10979 | 11434 | ['LLLL', 'Sonntag, 14. Februar 2010 15:25'], |
10980 | 11435 | ['l', '14.2.2010'], |
10981 | ['ll', '14. Febr. 2010'], | |
10982 | ['lll', '14. Febr. 2010 15:25'], | |
10983 | ['llll', 'So., 14. Febr. 2010 15:25'] | |
11436 | ['ll', '14. Feb. 2010'], | |
11437 | ['lll', '14. Feb. 2010 15:25'], | |
11438 | ['llll', 'So., 14. Feb. 2010 15:25'] | |
10984 | 11439 | ], |
10985 | 11440 | b = moment(new Date(2010, 1, 14, 15, 25, 50, 125)), |
10986 | 11441 | i; |
11027 | 11482 | }); |
11028 | 11483 | |
11029 | 11484 | test('format month', function (assert) { |
11030 | var expected = 'Januar Jan._Februar Febr._März Mrz._April Apr._Mai Mai_Juni Jun._Juli Jul._August Aug._September Sept._Oktober Okt._November Nov._Dezember Dez.'.split('_'), i; | |
11485 | var expected = 'Januar Jan._Februar Feb._März März_April Apr._Mai Mai_Juni Juni_Juli Juli_August Aug._September Sep._Oktober Okt._November Nov._Dezember Dez.'.split('_'), i; | |
11031 | 11486 | for (i = 0; i < expected.length; i++) { |
11032 | 11487 | assert.equal(moment([2011, i, 1]).format('MMMM MMM'), expected[i], expected[i]); |
11033 | 11488 | } |
12116 | 12571 | assert.equal(moment([2012, 0, 8]).format('w ww wo'), '1 01 1η', 'Jan 8 2012 should be week 1'); |
12117 | 12572 | assert.equal(moment([2012, 0, 14]).format('w ww wo'), '2 02 2η', 'Jan 14 2012 should be week 2'); |
12118 | 12573 | assert.equal(moment([2012, 0, 15]).format('w ww wo'), '2 02 2η', 'Jan 15 2012 should be week 2'); |
12574 | }); | |
12575 | ||
12576 | test('localeData months calls', function (assert) { | |
12577 | var jan = moment('2012-01-01'); | |
12578 | assert.equal(moment.localeData().months(jan), 'Ιανουάριος', 'should return the nominative month name'); | |
12579 | assert.equal(moment.localeData().months(jan, 'D MMMM'), 'Ιανουαρίου', 'should return the genitive month name'); | |
12119 | 12580 | }); |
12120 | 12581 | |
12121 | 12582 | }))); |
15892 | 16353 | assert.equal(moment([2012, 0, 15]).format('w ww wo'), '2 02 2º', 'Jan 15 2012 should be week 2'); |
15893 | 16354 | }); |
15894 | 16355 | |
16356 | test('test short months proper', function (assert) { | |
16357 | var str = '02-ago-2016'; // "02-ago-2016" | |
16358 | assert.equal(moment(str, 'DD-MMM-YYYY').month(), 7, '02-ago-2016 month should be 7'); | |
16359 | assert.equal(moment(str, 'DD-MMM-YYYY', true).month(), 7, '02-ago-2016 strict parse month should be 7'); | |
16360 | }); | |
16361 | ||
16362 | }))); | |
16363 | ||
16364 | ||
16365 | ;(function (global, factory) { | |
16366 | typeof exports === 'object' && typeof module !== 'undefined' | |
16367 | && typeof require === 'function' ? factory(require('../../moment')) : | |
16368 | typeof define === 'function' && define.amd ? define(['../../moment'], factory) : | |
16369 | factory(global.moment) | |
16370 | }(this, (function (moment) { 'use strict'; | |
16371 | ||
16372 | function each(array, callback) { | |
16373 | var i; | |
16374 | for (i = 0; i < array.length; i++) { | |
16375 | callback(array[i], i, array); | |
16376 | } | |
16377 | } | |
16378 | ||
16379 | function objectKeys(obj) { | |
16380 | if (Object.keys) { | |
16381 | return Object.keys(obj); | |
16382 | } else { | |
16383 | // IE8 | |
16384 | var res = [], i; | |
16385 | for (i in obj) { | |
16386 | if (obj.hasOwnProperty(i)) { | |
16387 | res.push(i); | |
16388 | } | |
16389 | } | |
16390 | return res; | |
16391 | } | |
16392 | } | |
16393 | ||
16394 | // Pick the first defined of two or three arguments. | |
16395 | ||
16396 | function defineCommonLocaleTests(locale, options) { | |
16397 | test('lenient day of month ordinal parsing', function (assert) { | |
16398 | var i, ordinalStr, testMoment; | |
16399 | for (i = 1; i <= 31; ++i) { | |
16400 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
16401 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
16402 | assert.equal(testMoment.year(), 2014, | |
16403 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
16404 | assert.equal(testMoment.month(), 0, | |
16405 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
16406 | assert.equal(testMoment.date(), i, | |
16407 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
16408 | } | |
16409 | }); | |
16410 | ||
16411 | test('lenient day of month ordinal parsing of number', function (assert) { | |
16412 | var i, testMoment; | |
16413 | for (i = 1; i <= 31; ++i) { | |
16414 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
16415 | assert.equal(testMoment.year(), 2014, | |
16416 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
16417 | assert.equal(testMoment.month(), 0, | |
16418 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
16419 | assert.equal(testMoment.date(), i, | |
16420 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
16421 | } | |
16422 | }); | |
16423 | ||
16424 | test('strict day of month ordinal parsing', function (assert) { | |
16425 | var i, ordinalStr, testMoment; | |
16426 | for (i = 1; i <= 31; ++i) { | |
16427 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
16428 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
16429 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
16430 | } | |
16431 | }); | |
16432 | ||
16433 | test('meridiem invariant', function (assert) { | |
16434 | var h, m, t1, t2; | |
16435 | for (h = 0; h < 24; ++h) { | |
16436 | for (m = 0; m < 60; m += 15) { | |
16437 | t1 = moment.utc([2000, 0, 1, h, m]); | |
16438 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
16439 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
16440 | 'meridiem at ' + t1.format('HH:mm')); | |
16441 | } | |
16442 | } | |
16443 | }); | |
16444 | ||
16445 | test('date format correctness', function (assert) { | |
16446 | var data, tokens; | |
16447 | data = moment.localeData()._longDateFormat; | |
16448 | tokens = objectKeys(data); | |
16449 | each(tokens, function (srchToken) { | |
16450 | // Check each format string to make sure it does not contain any | |
16451 | // tokens that need to be expanded. | |
16452 | each(tokens, function (baseToken) { | |
16453 | // strip escaped sequences | |
16454 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
16455 | assert.equal(false, !!~format.indexOf(srchToken), | |
16456 | 'contains ' + srchToken + ' in ' + baseToken); | |
16457 | }); | |
16458 | }); | |
16459 | }); | |
16460 | ||
16461 | test('month parsing correctness', function (assert) { | |
16462 | var i, m; | |
16463 | ||
16464 | if (locale === 'tr') { | |
16465 | // I can't fix it :( | |
16466 | expect(0); | |
16467 | return; | |
16468 | } | |
16469 | function tester(format) { | |
16470 | var r; | |
16471 | r = moment(m.format(format), format); | |
16472 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
16473 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
16474 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
16475 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
16476 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
16477 | ||
16478 | r = moment(m.format(format), format, true); | |
16479 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
16480 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
16481 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
16482 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
16483 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
16484 | } | |
16485 | ||
16486 | for (i = 0; i < 12; ++i) { | |
16487 | m = moment([2015, i, 15, 18]); | |
16488 | tester('MMM'); | |
16489 | tester('MMM.'); | |
16490 | tester('MMMM'); | |
16491 | tester('MMMM.'); | |
16492 | } | |
16493 | }); | |
16494 | ||
16495 | test('weekday parsing correctness', function (assert) { | |
16496 | var i, m; | |
16497 | ||
16498 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
16499 | // tr, az: There is a lower-case letter (ı), that converted to | |
16500 | // upper then lower changes to i | |
16501 | // ro: there is the letter ț which behaves weird under IE8 | |
16502 | expect(0); | |
16503 | return; | |
16504 | } | |
16505 | function tester(format) { | |
16506 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
16507 | r = moment(m.format(format), format); | |
16508 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
16509 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
16510 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
16511 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
16512 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
16513 | ||
16514 | r = moment(m.format(format), format, true); | |
16515 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
16516 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
16517 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
16518 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
16519 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
16520 | } | |
16521 | ||
16522 | for (i = 0; i < 7; ++i) { | |
16523 | m = moment.utc([2015, 0, i + 1, 18]); | |
16524 | tester('dd'); | |
16525 | tester('ddd'); | |
16526 | tester('dddd'); | |
16527 | } | |
16528 | }); | |
16529 | ||
16530 | test('valid localeData', function (assert) { | |
16531 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
16532 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
16533 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
16534 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
16535 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
16536 | }); | |
16537 | } | |
16538 | ||
16539 | function setupDeprecationHandler(test, moment$$1, scope) { | |
16540 | test._expectedDeprecations = null; | |
16541 | test._observedDeprecations = null; | |
16542 | test._oldSupress = moment$$1.suppressDeprecationWarnings; | |
16543 | moment$$1.suppressDeprecationWarnings = true; | |
16544 | test.expectedDeprecations = function () { | |
16545 | test._expectedDeprecations = arguments; | |
16546 | test._observedDeprecations = []; | |
16547 | }; | |
16548 | moment$$1.deprecationHandler = function (name, msg) { | |
16549 | var deprecationId = matchedDeprecation(name, msg, test._expectedDeprecations); | |
16550 | if (deprecationId === -1) { | |
16551 | throw new Error('Unexpected deprecation thrown name=' + | |
16552 | name + ' msg=' + msg); | |
16553 | } | |
16554 | test._observedDeprecations[deprecationId] = 1; | |
16555 | }; | |
16556 | } | |
16557 | ||
16558 | function teardownDeprecationHandler(test, moment$$1, scope) { | |
16559 | moment$$1.suppressDeprecationWarnings = test._oldSupress; | |
16560 | ||
16561 | if (test._expectedDeprecations != null) { | |
16562 | var missedDeprecations = []; | |
16563 | each(test._expectedDeprecations, function (deprecationPattern, id) { | |
16564 | if (test._observedDeprecations[id] !== 1) { | |
16565 | missedDeprecations.push(deprecationPattern); | |
16566 | } | |
16567 | }); | |
16568 | if (missedDeprecations.length !== 0) { | |
16569 | throw new Error('Expected deprecation warnings did not happen: ' + | |
16570 | missedDeprecations.join(' ')); | |
16571 | } | |
16572 | } | |
16573 | } | |
16574 | ||
16575 | function matchedDeprecation(name, msg, deprecations) { | |
16576 | if (deprecations == null) { | |
16577 | return -1; | |
16578 | } | |
16579 | for (var i = 0; i < deprecations.length; ++i) { | |
16580 | if (name != null && name === deprecations[i]) { | |
16581 | return i; | |
16582 | } | |
16583 | if (msg != null && msg.substring(0, deprecations[i].length) === deprecations[i]) { | |
16584 | return i; | |
16585 | } | |
16586 | } | |
16587 | return -1; | |
16588 | } | |
16589 | ||
16590 | /*global QUnit:false*/ | |
16591 | ||
16592 | var test = QUnit.test; | |
16593 | ||
16594 | var expect = QUnit.expect; | |
16595 | ||
16596 | ||
16597 | ||
16598 | function localeModule (name, lifecycle) { | |
16599 | QUnit.module('locale:' + name, { | |
16600 | setup : function () { | |
16601 | moment.locale(name); | |
16602 | moment.createFromInputFallback = function (config) { | |
16603 | throw new Error('input not handled by moment: ' + config._i); | |
16604 | }; | |
16605 | setupDeprecationHandler(test, moment, 'locale'); | |
16606 | if (lifecycle && lifecycle.setup) { | |
16607 | lifecycle.setup(); | |
16608 | } | |
16609 | }, | |
16610 | teardown : function () { | |
16611 | moment.locale('en'); | |
16612 | teardownDeprecationHandler(test, moment, 'locale'); | |
16613 | if (lifecycle && lifecycle.teardown) { | |
16614 | lifecycle.teardown(); | |
16615 | } | |
16616 | } | |
16617 | }); | |
16618 | defineCommonLocaleTests(name, -1, -1); | |
16619 | } | |
16620 | ||
16621 | localeModule('es-us'); | |
16622 | ||
16623 | test('parse', function (assert) { | |
16624 | var tests = 'enero ene._febrero feb._marzo mar._abril abr._mayo may._junio jun._julio jul._agosto ago._septiembre sep._octubre oct._noviembre nov._diciembre dic.'.split('_'), i; | |
16625 | function equalTest(input, mmm, i) { | |
16626 | assert.equal(moment(input, mmm).month(), i, input + ' should be month ' + (i + 1)); | |
16627 | } | |
16628 | for (i = 0; i < 12; i++) { | |
16629 | tests[i] = tests[i].split(' '); | |
16630 | equalTest(tests[i][0], 'MMM', i); | |
16631 | equalTest(tests[i][1], 'MMM', i); | |
16632 | equalTest(tests[i][0], 'MMMM', i); | |
16633 | equalTest(tests[i][1], 'MMMM', i); | |
16634 | equalTest(tests[i][0].toLocaleLowerCase(), 'MMMM', i); | |
16635 | equalTest(tests[i][1].toLocaleLowerCase(), 'MMMM', i); | |
16636 | equalTest(tests[i][0].toLocaleUpperCase(), 'MMMM', i); | |
16637 | equalTest(tests[i][1].toLocaleUpperCase(), 'MMMM', i); | |
16638 | } | |
16639 | }); | |
16640 | ||
16641 | test('format', function (assert) { | |
16642 | var a = [ | |
16643 | ['dddd, MMMM Do YYYY, h:mm:ss a', 'domingo, febrero 14º 2010, 3:25:50 pm'], | |
16644 | ['ddd, hA', 'dom., 3PM'], | |
16645 | ['M Mo MM MMMM MMM', '2 2º 02 febrero feb.'], | |
16646 | ['YYYY YY', '2010 10'], | |
16647 | ['D Do DD', '14 14º 14'], | |
16648 | ['d do dddd ddd dd', '0 0º domingo dom. do'], | |
16649 | ['DDD DDDo DDDD', '45 45º 045'], | |
16650 | ['w wo ww', '8 8º 08'], | |
16651 | ['YYYY-MMM-DD', '2010-feb-14'], | |
16652 | ['h hh', '3 03'], | |
16653 | ['H HH', '15 15'], | |
16654 | ['m mm', '25 25'], | |
16655 | ['s ss', '50 50'], | |
16656 | ['a A', 'pm PM'], | |
16657 | ['[the] DDDo [day of the year]', 'the 45º day of the year'], | |
16658 | ['LTS', '15:25:50'], | |
16659 | ['L', '02/14/2010'], | |
16660 | ['LL', 'febrero de 14 de 2010'], | |
16661 | ['LLL', 'febrero de 14 de 2010 15:25'], | |
16662 | ['LLLL', 'domingo, febrero de 14 de 2010 15:25'], | |
16663 | ['l', '2/14/2010'], | |
16664 | ['ll', 'feb. de 14 de 2010'], | |
16665 | ['lll', 'feb. de 14 de 2010 15:25'], | |
16666 | ['llll', 'dom., feb. de 14 de 2010 15:25'] | |
16667 | ], | |
16668 | b = moment(new Date(2010, 1, 14, 15, 25, 50, 125)), | |
16669 | i; | |
16670 | for (i = 0; i < a.length; i++) { | |
16671 | assert.equal(b.format(a[i][0]), a[i][1], a[i][0] + ' ---> ' + a[i][1]); | |
16672 | } | |
16673 | }); | |
16674 | ||
16675 | test('format ordinal', function (assert) { | |
16676 | assert.equal(moment([2011, 0, 1]).format('DDDo'), '1º', '1º'); | |
16677 | assert.equal(moment([2011, 0, 2]).format('DDDo'), '2º', '2º'); | |
16678 | assert.equal(moment([2011, 0, 3]).format('DDDo'), '3º', '3º'); | |
16679 | assert.equal(moment([2011, 0, 4]).format('DDDo'), '4º', '4º'); | |
16680 | assert.equal(moment([2011, 0, 5]).format('DDDo'), '5º', '5º'); | |
16681 | assert.equal(moment([2011, 0, 6]).format('DDDo'), '6º', '6º'); | |
16682 | assert.equal(moment([2011, 0, 7]).format('DDDo'), '7º', '7º'); | |
16683 | assert.equal(moment([2011, 0, 8]).format('DDDo'), '8º', '8º'); | |
16684 | assert.equal(moment([2011, 0, 9]).format('DDDo'), '9º', '9º'); | |
16685 | assert.equal(moment([2011, 0, 10]).format('DDDo'), '10º', '10º'); | |
16686 | ||
16687 | assert.equal(moment([2011, 0, 11]).format('DDDo'), '11º', '11º'); | |
16688 | assert.equal(moment([2011, 0, 12]).format('DDDo'), '12º', '12º'); | |
16689 | assert.equal(moment([2011, 0, 13]).format('DDDo'), '13º', '13º'); | |
16690 | assert.equal(moment([2011, 0, 14]).format('DDDo'), '14º', '14º'); | |
16691 | assert.equal(moment([2011, 0, 15]).format('DDDo'), '15º', '15º'); | |
16692 | assert.equal(moment([2011, 0, 16]).format('DDDo'), '16º', '16º'); | |
16693 | assert.equal(moment([2011, 0, 17]).format('DDDo'), '17º', '17º'); | |
16694 | assert.equal(moment([2011, 0, 18]).format('DDDo'), '18º', '18º'); | |
16695 | assert.equal(moment([2011, 0, 19]).format('DDDo'), '19º', '19º'); | |
16696 | assert.equal(moment([2011, 0, 20]).format('DDDo'), '20º', '20º'); | |
16697 | ||
16698 | assert.equal(moment([2011, 0, 21]).format('DDDo'), '21º', '21º'); | |
16699 | assert.equal(moment([2011, 0, 22]).format('DDDo'), '22º', '22º'); | |
16700 | assert.equal(moment([2011, 0, 23]).format('DDDo'), '23º', '23º'); | |
16701 | assert.equal(moment([2011, 0, 24]).format('DDDo'), '24º', '24º'); | |
16702 | assert.equal(moment([2011, 0, 25]).format('DDDo'), '25º', '25º'); | |
16703 | assert.equal(moment([2011, 0, 26]).format('DDDo'), '26º', '26º'); | |
16704 | assert.equal(moment([2011, 0, 27]).format('DDDo'), '27º', '27º'); | |
16705 | assert.equal(moment([2011, 0, 28]).format('DDDo'), '28º', '28º'); | |
16706 | assert.equal(moment([2011, 0, 29]).format('DDDo'), '29º', '29º'); | |
16707 | assert.equal(moment([2011, 0, 30]).format('DDDo'), '30º', '30º'); | |
16708 | ||
16709 | assert.equal(moment([2011, 0, 31]).format('DDDo'), '31º', '31º'); | |
16710 | }); | |
16711 | ||
16712 | test('format month', function (assert) { | |
16713 | var i, | |
16714 | expected = 'enero ene._febrero feb._marzo mar._abril abr._mayo may._junio jun._julio jul._agosto ago._septiembre sep._octubre oct._noviembre nov._diciembre dic.'.split('_'); | |
16715 | ||
16716 | for (i = 0; i < expected.length; i++) { | |
16717 | assert.equal(moment([2011, i, 1]).format('MMMM MMM'), expected[i], expected[i]); | |
16718 | } | |
16719 | }); | |
16720 | ||
16721 | test('format week', function (assert) { | |
16722 | var i, | |
16723 | expected = 'domingo dom. do_lunes lun. lu_martes mar. ma_miércoles mié. mi_jueves jue. ju_viernes vie. vi_sábado sáb. sá'.split('_'); | |
16724 | ||
16725 | for (i = 0; i < expected.length; i++) { | |
16726 | assert.equal(moment([2011, 0, 2 + i]).format('dddd ddd dd'), expected[i], expected[i]); | |
16727 | } | |
16728 | }); | |
16729 | ||
16730 | test('from', function (assert) { | |
16731 | var start = moment([2007, 1, 28]); | |
16732 | ||
16733 | assert.equal(start.from(moment([2007, 1, 28]).add({s: 44}), true), 'unos segundos', '44 seconds = a few seconds'); | |
16734 | assert.equal(start.from(moment([2007, 1, 28]).add({s: 45}), true), 'un minuto', '45 seconds = a minute'); | |
16735 | assert.equal(start.from(moment([2007, 1, 28]).add({s: 89}), true), 'un minuto', '89 seconds = a minute'); | |
16736 | assert.equal(start.from(moment([2007, 1, 28]).add({s: 90}), true), '2 minutos', '90 seconds = 2 minutes'); | |
16737 | assert.equal(start.from(moment([2007, 1, 28]).add({m: 44}), true), '44 minutos', '44 minutes = 44 minutes'); | |
16738 | assert.equal(start.from(moment([2007, 1, 28]).add({m: 45}), true), 'una hora', '45 minutes = an hour'); | |
16739 | assert.equal(start.from(moment([2007, 1, 28]).add({m: 89}), true), 'una hora', '89 minutes = an hour'); | |
16740 | assert.equal(start.from(moment([2007, 1, 28]).add({m: 90}), true), '2 horas', '90 minutes = 2 hours'); | |
16741 | assert.equal(start.from(moment([2007, 1, 28]).add({h: 5}), true), '5 horas', '5 hours = 5 hours'); | |
16742 | assert.equal(start.from(moment([2007, 1, 28]).add({h: 21}), true), '21 horas', '21 hours = 21 hours'); | |
16743 | assert.equal(start.from(moment([2007, 1, 28]).add({h: 22}), true), 'un día', '22 hours = a day'); | |
16744 | assert.equal(start.from(moment([2007, 1, 28]).add({h: 35}), true), 'un día', '35 hours = a day'); | |
16745 | assert.equal(start.from(moment([2007, 1, 28]).add({h: 36}), true), '2 días', '36 hours = 2 days'); | |
16746 | assert.equal(start.from(moment([2007, 1, 28]).add({d: 1}), true), 'un día', '1 day = a day'); | |
16747 | assert.equal(start.from(moment([2007, 1, 28]).add({d: 5}), true), '5 días', '5 days = 5 days'); | |
16748 | assert.equal(start.from(moment([2007, 1, 28]).add({d: 25}), true), '25 días', '25 days = 25 days'); | |
16749 | assert.equal(start.from(moment([2007, 1, 28]).add({d: 26}), true), 'un mes', '26 days = a month'); | |
16750 | assert.equal(start.from(moment([2007, 1, 28]).add({d: 30}), true), 'un mes', '30 days = a month'); | |
16751 | assert.equal(start.from(moment([2007, 1, 28]).add({d: 43}), true), 'un mes', '43 days = a month'); | |
16752 | assert.equal(start.from(moment([2007, 1, 28]).add({d: 46}), true), '2 meses', '46 days = 2 months'); | |
16753 | assert.equal(start.from(moment([2007, 1, 28]).add({d: 74}), true), '2 meses', '75 days = 2 months'); | |
16754 | assert.equal(start.from(moment([2007, 1, 28]).add({d: 76}), true), '3 meses', '76 days = 3 months'); | |
16755 | assert.equal(start.from(moment([2007, 1, 28]).add({M: 1}), true), 'un mes', '1 month = a month'); | |
16756 | assert.equal(start.from(moment([2007, 1, 28]).add({M: 5}), true), '5 meses', '5 months = 5 months'); | |
16757 | assert.equal(start.from(moment([2007, 1, 28]).add({d: 345}), true), 'un año', '345 days = a year'); | |
16758 | assert.equal(start.from(moment([2007, 1, 28]).add({d: 548}), true), '2 años', '548 days = 2 years'); | |
16759 | assert.equal(start.from(moment([2007, 1, 28]).add({y: 1}), true), 'un año', '1 year = a year'); | |
16760 | assert.equal(start.from(moment([2007, 1, 28]).add({y: 5}), true), '5 años', '5 years = 5 years'); | |
16761 | }); | |
16762 | ||
16763 | test('suffix', function (assert) { | |
16764 | assert.equal(moment(30000).from(0), 'en unos segundos', 'prefix'); | |
16765 | assert.equal(moment(0).from(30000), 'hace unos segundos', 'suffix'); | |
16766 | }); | |
16767 | ||
16768 | test('now from now', function (assert) { | |
16769 | assert.equal(moment().fromNow(), 'hace unos segundos', 'now from now should display as in the past'); | |
16770 | }); | |
16771 | ||
16772 | test('fromNow', function (assert) { | |
16773 | assert.equal(moment().add({s: 30}).fromNow(), 'en unos segundos', 'en unos segundos'); | |
16774 | assert.equal(moment().add({d: 5}).fromNow(), 'en 5 días', 'en 5 días'); | |
16775 | }); | |
16776 | ||
16777 | test('calendar day', function (assert) { | |
16778 | var a = moment().hours(12).minutes(0).seconds(0); | |
16779 | ||
16780 | assert.equal(moment(a).calendar(), 'hoy a las 12:00', 'today at the same time'); | |
16781 | assert.equal(moment(a).add({m: 25}).calendar(), 'hoy a las 12:25', 'Now plus 25 min'); | |
16782 | assert.equal(moment(a).add({h: 1}).calendar(), 'hoy a las 13:00', 'Now plus 1 hour'); | |
16783 | assert.equal(moment(a).add({d: 1}).calendar(), 'mañana a las 12:00', 'tomorrow at the same time'); | |
16784 | assert.equal(moment(a).add({d: 1, h : -1}).calendar(), 'mañana a las 11:00', 'tomorrow minus 1 hour'); | |
16785 | assert.equal(moment(a).subtract({h: 1}).calendar(), 'hoy a las 11:00', 'Now minus 1 hour'); | |
16786 | assert.equal(moment(a).subtract({d: 1}).calendar(), 'ayer a las 12:00', 'yesterday at the same time'); | |
16787 | }); | |
16788 | ||
16789 | test('calendar next week', function (assert) { | |
16790 | var i, m; | |
16791 | ||
16792 | for (i = 2; i < 7; i++) { | |
16793 | m = moment().add({d: i}); | |
16794 | assert.equal(m.calendar(), m.format('dddd [a la' + ((m.hours() !== 1) ? 's' : '') + '] LT'), 'Today + ' + i + ' days current time'); | |
16795 | m.hours(0).minutes(0).seconds(0).milliseconds(0); | |
16796 | assert.equal(m.calendar(), m.format('dddd [a la' + ((m.hours() !== 1) ? 's' : '') + '] LT'), 'Today + ' + i + ' days beginning of day'); | |
16797 | m.hours(23).minutes(59).seconds(59).milliseconds(999); | |
16798 | assert.equal(m.calendar(), m.format('dddd [a la' + ((m.hours() !== 1) ? 's' : '') + '] LT'), 'Today + ' + i + ' days end of day'); | |
16799 | } | |
16800 | }); | |
16801 | ||
16802 | test('calendar last week', function (assert) { | |
16803 | var i, m; | |
16804 | ||
16805 | for (i = 2; i < 7; i++) { | |
16806 | m = moment().subtract({d: i}); | |
16807 | assert.equal(m.calendar(), m.format('[el] dddd [pasado a la' + ((m.hours() !== 1) ? 's' : '') + '] LT'), 'Today - ' + i + ' days current time'); | |
16808 | m.hours(0).minutes(0).seconds(0).milliseconds(0); | |
16809 | assert.equal(m.calendar(), m.format('[el] dddd [pasado a la' + ((m.hours() !== 1) ? 's' : '') + '] LT'), 'Today - ' + i + ' days beginning of day'); | |
16810 | m.hours(23).minutes(59).seconds(59).milliseconds(999); | |
16811 | assert.equal(m.calendar(), m.format('[el] dddd [pasado a la' + ((m.hours() !== 1) ? 's' : '') + '] LT'), 'Today - ' + i + ' days end of day'); | |
16812 | } | |
16813 | }); | |
16814 | ||
16815 | test('calendar all else', function (assert) { | |
16816 | var weeksAgo = moment().subtract({w: 1}), | |
16817 | weeksFromNow = moment().add({w: 1}); | |
16818 | ||
16819 | assert.equal(weeksAgo.calendar(), weeksAgo.format('L'), '1 week ago'); | |
16820 | assert.equal(weeksFromNow.calendar(), weeksFromNow.format('L'), 'in 1 week'); | |
16821 | ||
16822 | weeksAgo = moment().subtract({w: 2}); | |
16823 | weeksFromNow = moment().add({w: 2}); | |
16824 | ||
16825 | assert.equal(weeksAgo.calendar(), weeksAgo.format('L'), '2 weeks ago'); | |
16826 | assert.equal(weeksFromNow.calendar(), weeksFromNow.format('L'), 'in 2 weeks'); | |
16827 | }); | |
16828 | ||
16829 | test('weeks year starting sunday formatted', function (assert) { | |
16830 | assert.equal(moment([2012, 0, 1]).format('w ww wo'), '1 01 1º', 'Jan 1 2012 should be week 1'); | |
16831 | assert.equal(moment([2012, 0, 2]).format('w ww wo'), '1 01 1º', 'Jan 2 2012 should be week 1'); | |
16832 | assert.equal(moment([2012, 0, 7]).format('w ww wo'), '1 01 1º', 'Jan 7 2012 should be week 1'); | |
16833 | assert.equal(moment([2012, 0, 8]).format('w ww wo'), '2 02 2º', 'Jan 8 2012 should be week 2'); | |
16834 | assert.equal(moment([2012, 0, 14]).format('w ww wo'), '2 02 2º', 'Jan 14 2012 should be week 2'); | |
16835 | assert.equal(moment([2012, 0, 15]).format('w ww wo'), '3 03 3º', 'Jan 15 2012 should be week 3'); | |
16836 | }); | |
16837 | ||
15895 | 16838 | }))); |
15896 | 16839 | |
15897 | 16840 | |
16360 | 17303 | assert.equal(moment([2012, 0, 8]).format('w ww wo'), '1 01 1º', 'Jan 8 2012 should be week 1'); |
16361 | 17304 | assert.equal(moment([2012, 0, 9]).format('w ww wo'), '2 02 2º', 'Jan 9 2012 should be week 2'); |
16362 | 17305 | assert.equal(moment([2012, 0, 15]).format('w ww wo'), '2 02 2º', 'Jan 15 2012 should be week 2'); |
17306 | }); | |
17307 | ||
17308 | test('test short months proper', function (assert) { | |
17309 | var str = '02-ago-2016'; | |
17310 | assert.equal(moment(str, 'DD-MMM-YYYY').month(), '7', '02-ago-2016 month should be 7'); | |
16363 | 17311 | }); |
16364 | 17312 | |
16365 | 17313 | }))); |
22079 | 23027 | assert.equal(moment([2012, 0, 8]).format('w ww wo'), '1 01 1', 'Jan 8 2012 should be week 1'); |
22080 | 23028 | assert.equal(moment([2012, 0, 14]).format('w ww wo'), '2 02 2', 'Jan 14 2012 should be week 2'); |
22081 | 23029 | assert.equal(moment([2012, 0, 15]).format('w ww wo'), '2 02 2', 'Jan 15 2012 should be week 2'); |
23030 | }); | |
23031 | ||
23032 | }))); | |
23033 | ||
23034 | ||
23035 | ;(function (global, factory) { | |
23036 | typeof exports === 'object' && typeof module !== 'undefined' | |
23037 | && typeof require === 'function' ? factory(require('../../moment')) : | |
23038 | typeof define === 'function' && define.amd ? define(['../../moment'], factory) : | |
23039 | factory(global.moment) | |
23040 | }(this, (function (moment) { 'use strict'; | |
23041 | ||
23042 | function each(array, callback) { | |
23043 | var i; | |
23044 | for (i = 0; i < array.length; i++) { | |
23045 | callback(array[i], i, array); | |
23046 | } | |
23047 | } | |
23048 | ||
23049 | function objectKeys(obj) { | |
23050 | if (Object.keys) { | |
23051 | return Object.keys(obj); | |
23052 | } else { | |
23053 | // IE8 | |
23054 | var res = [], i; | |
23055 | for (i in obj) { | |
23056 | if (obj.hasOwnProperty(i)) { | |
23057 | res.push(i); | |
23058 | } | |
23059 | } | |
23060 | return res; | |
23061 | } | |
23062 | } | |
23063 | ||
23064 | // Pick the first defined of two or three arguments. | |
23065 | ||
23066 | function defineCommonLocaleTests(locale, options) { | |
23067 | test('lenient day of month ordinal parsing', function (assert) { | |
23068 | var i, ordinalStr, testMoment; | |
23069 | for (i = 1; i <= 31; ++i) { | |
23070 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
23071 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
23072 | assert.equal(testMoment.year(), 2014, | |
23073 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
23074 | assert.equal(testMoment.month(), 0, | |
23075 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
23076 | assert.equal(testMoment.date(), i, | |
23077 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
23078 | } | |
23079 | }); | |
23080 | ||
23081 | test('lenient day of month ordinal parsing of number', function (assert) { | |
23082 | var i, testMoment; | |
23083 | for (i = 1; i <= 31; ++i) { | |
23084 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
23085 | assert.equal(testMoment.year(), 2014, | |
23086 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
23087 | assert.equal(testMoment.month(), 0, | |
23088 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
23089 | assert.equal(testMoment.date(), i, | |
23090 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
23091 | } | |
23092 | }); | |
23093 | ||
23094 | test('strict day of month ordinal parsing', function (assert) { | |
23095 | var i, ordinalStr, testMoment; | |
23096 | for (i = 1; i <= 31; ++i) { | |
23097 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
23098 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
23099 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
23100 | } | |
23101 | }); | |
23102 | ||
23103 | test('meridiem invariant', function (assert) { | |
23104 | var h, m, t1, t2; | |
23105 | for (h = 0; h < 24; ++h) { | |
23106 | for (m = 0; m < 60; m += 15) { | |
23107 | t1 = moment.utc([2000, 0, 1, h, m]); | |
23108 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
23109 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
23110 | 'meridiem at ' + t1.format('HH:mm')); | |
23111 | } | |
23112 | } | |
23113 | }); | |
23114 | ||
23115 | test('date format correctness', function (assert) { | |
23116 | var data, tokens; | |
23117 | data = moment.localeData()._longDateFormat; | |
23118 | tokens = objectKeys(data); | |
23119 | each(tokens, function (srchToken) { | |
23120 | // Check each format string to make sure it does not contain any | |
23121 | // tokens that need to be expanded. | |
23122 | each(tokens, function (baseToken) { | |
23123 | // strip escaped sequences | |
23124 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
23125 | assert.equal(false, !!~format.indexOf(srchToken), | |
23126 | 'contains ' + srchToken + ' in ' + baseToken); | |
23127 | }); | |
23128 | }); | |
23129 | }); | |
23130 | ||
23131 | test('month parsing correctness', function (assert) { | |
23132 | var i, m; | |
23133 | ||
23134 | if (locale === 'tr') { | |
23135 | // I can't fix it :( | |
23136 | expect(0); | |
23137 | return; | |
23138 | } | |
23139 | function tester(format) { | |
23140 | var r; | |
23141 | r = moment(m.format(format), format); | |
23142 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
23143 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
23144 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
23145 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
23146 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
23147 | ||
23148 | r = moment(m.format(format), format, true); | |
23149 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
23150 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
23151 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
23152 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
23153 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
23154 | } | |
23155 | ||
23156 | for (i = 0; i < 12; ++i) { | |
23157 | m = moment([2015, i, 15, 18]); | |
23158 | tester('MMM'); | |
23159 | tester('MMM.'); | |
23160 | tester('MMMM'); | |
23161 | tester('MMMM.'); | |
23162 | } | |
23163 | }); | |
23164 | ||
23165 | test('weekday parsing correctness', function (assert) { | |
23166 | var i, m; | |
23167 | ||
23168 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
23169 | // tr, az: There is a lower-case letter (ı), that converted to | |
23170 | // upper then lower changes to i | |
23171 | // ro: there is the letter ț which behaves weird under IE8 | |
23172 | expect(0); | |
23173 | return; | |
23174 | } | |
23175 | function tester(format) { | |
23176 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
23177 | r = moment(m.format(format), format); | |
23178 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
23179 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
23180 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
23181 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
23182 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
23183 | ||
23184 | r = moment(m.format(format), format, true); | |
23185 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
23186 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
23187 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
23188 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
23189 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
23190 | } | |
23191 | ||
23192 | for (i = 0; i < 7; ++i) { | |
23193 | m = moment.utc([2015, 0, i + 1, 18]); | |
23194 | tester('dd'); | |
23195 | tester('ddd'); | |
23196 | tester('dddd'); | |
23197 | } | |
23198 | }); | |
23199 | ||
23200 | test('valid localeData', function (assert) { | |
23201 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
23202 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
23203 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
23204 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
23205 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
23206 | }); | |
23207 | } | |
23208 | ||
23209 | function setupDeprecationHandler(test, moment$$1, scope) { | |
23210 | test._expectedDeprecations = null; | |
23211 | test._observedDeprecations = null; | |
23212 | test._oldSupress = moment$$1.suppressDeprecationWarnings; | |
23213 | moment$$1.suppressDeprecationWarnings = true; | |
23214 | test.expectedDeprecations = function () { | |
23215 | test._expectedDeprecations = arguments; | |
23216 | test._observedDeprecations = []; | |
23217 | }; | |
23218 | moment$$1.deprecationHandler = function (name, msg) { | |
23219 | var deprecationId = matchedDeprecation(name, msg, test._expectedDeprecations); | |
23220 | if (deprecationId === -1) { | |
23221 | throw new Error('Unexpected deprecation thrown name=' + | |
23222 | name + ' msg=' + msg); | |
23223 | } | |
23224 | test._observedDeprecations[deprecationId] = 1; | |
23225 | }; | |
23226 | } | |
23227 | ||
23228 | function teardownDeprecationHandler(test, moment$$1, scope) { | |
23229 | moment$$1.suppressDeprecationWarnings = test._oldSupress; | |
23230 | ||
23231 | if (test._expectedDeprecations != null) { | |
23232 | var missedDeprecations = []; | |
23233 | each(test._expectedDeprecations, function (deprecationPattern, id) { | |
23234 | if (test._observedDeprecations[id] !== 1) { | |
23235 | missedDeprecations.push(deprecationPattern); | |
23236 | } | |
23237 | }); | |
23238 | if (missedDeprecations.length !== 0) { | |
23239 | throw new Error('Expected deprecation warnings did not happen: ' + | |
23240 | missedDeprecations.join(' ')); | |
23241 | } | |
23242 | } | |
23243 | } | |
23244 | ||
23245 | function matchedDeprecation(name, msg, deprecations) { | |
23246 | if (deprecations == null) { | |
23247 | return -1; | |
23248 | } | |
23249 | for (var i = 0; i < deprecations.length; ++i) { | |
23250 | if (name != null && name === deprecations[i]) { | |
23251 | return i; | |
23252 | } | |
23253 | if (msg != null && msg.substring(0, deprecations[i].length) === deprecations[i]) { | |
23254 | return i; | |
23255 | } | |
23256 | } | |
23257 | return -1; | |
23258 | } | |
23259 | ||
23260 | /*global QUnit:false*/ | |
23261 | ||
23262 | var test = QUnit.test; | |
23263 | ||
23264 | var expect = QUnit.expect; | |
23265 | ||
23266 | ||
23267 | ||
23268 | function localeModule (name, lifecycle) { | |
23269 | QUnit.module('locale:' + name, { | |
23270 | setup : function () { | |
23271 | moment.locale(name); | |
23272 | moment.createFromInputFallback = function (config) { | |
23273 | throw new Error('input not handled by moment: ' + config._i); | |
23274 | }; | |
23275 | setupDeprecationHandler(test, moment, 'locale'); | |
23276 | if (lifecycle && lifecycle.setup) { | |
23277 | lifecycle.setup(); | |
23278 | } | |
23279 | }, | |
23280 | teardown : function () { | |
23281 | moment.locale('en'); | |
23282 | teardownDeprecationHandler(test, moment, 'locale'); | |
23283 | if (lifecycle && lifecycle.teardown) { | |
23284 | lifecycle.teardown(); | |
23285 | } | |
23286 | } | |
23287 | }); | |
23288 | defineCommonLocaleTests(name, -1, -1); | |
23289 | } | |
23290 | ||
23291 | localeModule('gu'); | |
23292 | ||
23293 | test('parse', function (assert) { | |
23294 | var tests = 'જાન્યુઆરી જાન્યુ._ફેબ્રુઆરી ફેબ્રુ._માર્ચ માર્ચ_એપ્રિલ એપ્રિ._મે મે_જૂન જૂન_જુલાઈ જુલા._ઑગસ્ટ ઑગ._સપ્ટેમ્બર સપ્ટે._ઑક્ટ્બર ઑક્ટ્._નવેમ્બર નવે._ડિસેમ્બર ડિસે..'.split('_'), i; | |
23295 | function equalTest(input, mmm, i) { | |
23296 | assert.equal(moment(input, mmm).month(), i, input + ' should be month ' + (i + 1)); | |
23297 | } | |
23298 | for (i = 0; i < 12; i++) { | |
23299 | tests[i] = tests[i].split(' '); | |
23300 | equalTest(tests[i][0], 'MMM', i); | |
23301 | equalTest(tests[i][1], 'MMM', i); | |
23302 | equalTest(tests[i][0], 'MMMM', i); | |
23303 | equalTest(tests[i][1], 'MMMM', i); | |
23304 | equalTest(tests[i][0].toLocaleLowerCase(), 'MMMM', i); | |
23305 | equalTest(tests[i][1].toLocaleLowerCase(), 'MMMM', i); | |
23306 | equalTest(tests[i][0].toLocaleUpperCase(), 'MMMM', i); | |
23307 | equalTest(tests[i][1].toLocaleUpperCase(), 'MMMM', i); | |
23308 | } | |
23309 | }); | |
23310 | ||
23311 | test('format', function (assert) { | |
23312 | var a = [ | |
23313 | ['dddd, Do MMMM YYYY, a h:mm:ss વાગ્યે', 'રવિવાર, ૧૪ ફેબ્રુઆરી ૨૦૧૦, બપોર ૩:૨૫:૫૦ વાગ્યે'], | |
23314 | ['ddd, a h વાગ્યે', 'રવિ, બપોર ૩ વાગ્યે'], | |
23315 | ['M Mo MM MMMM MMM', '૨ ૨ ૦૨ ફેબ્રુઆરી ફેબ્રુ.'], | |
23316 | ['YYYY YY', '૨૦૧૦ ૧૦'], | |
23317 | ['D Do DD', '૧૪ ૧૪ ૧૪'], | |
23318 | ['d do dddd ddd dd', '૦ ૦ રવિવાર રવિ ર'], | |
23319 | ['DDD DDDo DDDD', '૪૫ ૪૫ ૦૪૫'], | |
23320 | ['w wo ww', '૮ ૮ ૦૮'], | |
23321 | ['h hh', '૩ ૦૩'], | |
23322 | ['H HH', '૧૫ ૧૫'], | |
23323 | ['m mm', '૨૫ ૨૫'], | |
23324 | ['s ss', '૫૦ ૫૦'], | |
23325 | ['a A', 'બપોર બપોર'], | |
23326 | ['LTS', 'બપોર ૩:૨૫:૫૦ વાગ્યે'], | |
23327 | ['L', '૧૪/૦૨/૨૦૧૦'], | |
23328 | ['LL', '૧૪ ફેબ્રુઆરી ૨૦૧૦'], | |
23329 | ['LLL', '૧૪ ફેબ્રુઆરી ૨૦૧૦, બપોર ૩:૨૫ વાગ્યે'], | |
23330 | ['LLLL', 'રવિવાર, ૧૪ ફેબ્રુઆરી ૨૦૧૦, બપોર ૩:૨૫ વાગ્યે'], | |
23331 | ['l', '૧૪/૨/૨૦૧૦'], | |
23332 | ['ll', '૧૪ ફેબ્રુ. ૨૦૧૦'], | |
23333 | ['lll', '૧૪ ફેબ્રુ. ૨૦૧૦, બપોર ૩:૨૫ વાગ્યે'], | |
23334 | ['llll', 'રવિ, ૧૪ ફેબ્રુ. ૨૦૧૦, બપોર ૩:૨૫ વાગ્યે'] | |
23335 | ], | |
23336 | b = moment(new Date(2010, 1, 14, 15, 25, 50, 125)), | |
23337 | i; | |
23338 | for (i = 0; i < a.length; i++) { | |
23339 | assert.equal(b.format(a[i][0]), a[i][1], a[i][0] + ' ---> ' + a[i][1]); | |
23340 | } | |
23341 | }); | |
23342 | ||
23343 | test('format ordinal', function (assert) { | |
23344 | assert.equal(moment([2011, 0, 1]).format('DDDo'), '૧', '૧'); | |
23345 | assert.equal(moment([2011, 0, 2]).format('DDDo'), '૨', '૨'); | |
23346 | assert.equal(moment([2011, 0, 3]).format('DDDo'), '૩', '૩'); | |
23347 | assert.equal(moment([2011, 0, 4]).format('DDDo'), '૪', '૪'); | |
23348 | assert.equal(moment([2011, 0, 5]).format('DDDo'), '૫', '૫'); | |
23349 | assert.equal(moment([2011, 0, 6]).format('DDDo'), '૬', '૬'); | |
23350 | assert.equal(moment([2011, 0, 7]).format('DDDo'), '૭', '૭'); | |
23351 | assert.equal(moment([2011, 0, 8]).format('DDDo'), '૮', '૮'); | |
23352 | assert.equal(moment([2011, 0, 9]).format('DDDo'), '૯', '૯'); | |
23353 | assert.equal(moment([2011, 0, 10]).format('DDDo'), '૧૦', '૧૦'); | |
23354 | ||
23355 | assert.equal(moment([2011, 0, 11]).format('DDDo'), '૧૧', '૧૧'); | |
23356 | assert.equal(moment([2011, 0, 12]).format('DDDo'), '૧૨', '૧૨'); | |
23357 | assert.equal(moment([2011, 0, 13]).format('DDDo'), '૧૩', '૧૩'); | |
23358 | assert.equal(moment([2011, 0, 14]).format('DDDo'), '૧૪', '૧૪'); | |
23359 | assert.equal(moment([2011, 0, 15]).format('DDDo'), '૧૫', '૧૫'); | |
23360 | assert.equal(moment([2011, 0, 16]).format('DDDo'), '૧૬', '૧૬'); | |
23361 | assert.equal(moment([2011, 0, 17]).format('DDDo'), '૧૭', '૧૭'); | |
23362 | assert.equal(moment([2011, 0, 18]).format('DDDo'), '૧૮', '૧૮'); | |
23363 | assert.equal(moment([2011, 0, 19]).format('DDDo'), '૧૯', '૧૯'); | |
23364 | assert.equal(moment([2011, 0, 20]).format('DDDo'), '૨૦', '૨૦'); | |
23365 | ||
23366 | assert.equal(moment([2011, 0, 21]).format('DDDo'), '૨૧', '૨૧'); | |
23367 | assert.equal(moment([2011, 0, 22]).format('DDDo'), '૨૨', '૨૨'); | |
23368 | assert.equal(moment([2011, 0, 23]).format('DDDo'), '૨૩', '૨૩'); | |
23369 | assert.equal(moment([2011, 0, 24]).format('DDDo'), '૨૪', '૨૪'); | |
23370 | assert.equal(moment([2011, 0, 25]).format('DDDo'), '૨૫', '૨૫'); | |
23371 | assert.equal(moment([2011, 0, 26]).format('DDDo'), '૨૬', '૨૬'); | |
23372 | assert.equal(moment([2011, 0, 27]).format('DDDo'), '૨૭', '૨૭'); | |
23373 | assert.equal(moment([2011, 0, 28]).format('DDDo'), '૨૮', '૨૮'); | |
23374 | assert.equal(moment([2011, 0, 29]).format('DDDo'), '૨૯', '૨૯'); | |
23375 | assert.equal(moment([2011, 0, 30]).format('DDDo'), '૩૦', '૩૦'); | |
23376 | ||
23377 | assert.equal(moment([2011, 0, 31]).format('DDDo'), '૩૧', '૩૧'); | |
23378 | }); | |
23379 | ||
23380 | test('format month', function (assert) { | |
23381 | var expected = 'જાન્યુઆરી જાન્યુ._ફેબ્રુઆરી ફેબ્રુ._માર્ચ માર્ચ_એપ્રિલ એપ્રિ._મે મે_જૂન જૂન_જુલાઈ જુલા._ઑગસ્ટ ઑગ._સપ્ટેમ્બર સપ્ટે._ઑક્ટ્બર ઑક્ટ્._નવેમ્બર નવે._ડિસેમ્બર ડિસે.'.split('_'), i; | |
23382 | for (i = 0; i < expected.length; i++) { | |
23383 | assert.equal(moment([2011, i, 1]).format('MMMM MMM'), expected[i], expected[i]); | |
23384 | } | |
23385 | }); | |
23386 | ||
23387 | test('format week', function (assert) { | |
23388 | var expected = 'રવિવાર રવિ ર_સોમવાર સોમ સો_મંગળવાર મંગળ મં_બુધ્વાર બુધ્ બુ_ગુરુવાર ગુરુ ગુ_શુક્રવાર શુક્ર શુ_શનિવાર શનિ શ'.split('_'), i; | |
23389 | for (i = 0; i < expected.length; i++) { | |
23390 | assert.equal(moment([2011, 0, 2 + i]).format('dddd ddd dd'), expected[i], expected[i]); | |
23391 | } | |
23392 | }); | |
23393 | ||
23394 | test('from', function (assert) { | |
23395 | var start = moment([2007, 1, 28]); | |
23396 | assert.equal(start.from(moment([2007, 1, 28]).add({s: 44}), true), 'અમુક પળો', '44 seconds = a few seconds'); | |
23397 | assert.equal(start.from(moment([2007, 1, 28]).add({s: 45}), true), 'એક મિનિટ', '45 seconds = a minute'); | |
23398 | assert.equal(start.from(moment([2007, 1, 28]).add({s: 89}), true), 'એક મિનિટ', '89 seconds = a minute'); | |
23399 | assert.equal(start.from(moment([2007, 1, 28]).add({s: 90}), true), '૨ મિનિટ', '90 seconds = 2 minutes'); | |
23400 | assert.equal(start.from(moment([2007, 1, 28]).add({m: 44}), true), '૪૪ મિનિટ', '44 minutes = 44 minutes'); | |
23401 | assert.equal(start.from(moment([2007, 1, 28]).add({m: 45}), true), 'એક કલાક', '45 minutes = an hour'); | |
23402 | assert.equal(start.from(moment([2007, 1, 28]).add({m: 89}), true), 'એક કલાક', '89 minutes = an hour'); | |
23403 | assert.equal(start.from(moment([2007, 1, 28]).add({m: 90}), true), '૨ કલાક', '90 minutes = 2 hours'); | |
23404 | assert.equal(start.from(moment([2007, 1, 28]).add({h: 5}), true), '૫ કલાક', '5 hours = 5 hours'); | |
23405 | assert.equal(start.from(moment([2007, 1, 28]).add({h: 21}), true), '૨૧ કલાક', '21 hours = 21 hours'); | |
23406 | assert.equal(start.from(moment([2007, 1, 28]).add({h: 22}), true), 'એક દિવસ', '22 hours = a day'); | |
23407 | assert.equal(start.from(moment([2007, 1, 28]).add({h: 35}), true), 'એક દિવસ', '35 hours = a day'); | |
23408 | assert.equal(start.from(moment([2007, 1, 28]).add({h: 36}), true), '૨ દિવસ', '36 hours = 2 days'); | |
23409 | assert.equal(start.from(moment([2007, 1, 28]).add({d: 1}), true), 'એક દિવસ', '1 day = a day'); | |
23410 | assert.equal(start.from(moment([2007, 1, 28]).add({d: 5}), true), '૫ દિવસ', '5 days = 5 days'); | |
23411 | assert.equal(start.from(moment([2007, 1, 28]).add({d: 25}), true), '૨૫ દિવસ', '25 days = 25 days'); | |
23412 | assert.equal(start.from(moment([2007, 1, 28]).add({d: 26}), true), 'એક મહિનો', '26 days = a month'); | |
23413 | assert.equal(start.from(moment([2007, 1, 28]).add({d: 30}), true), 'એક મહિનો', '30 days = a month'); | |
23414 | assert.equal(start.from(moment([2007, 1, 28]).add({d: 43}), true), 'એક મહિનો', '43 days = a month'); | |
23415 | assert.equal(start.from(moment([2007, 1, 28]).add({d: 46}), true), '૨ મહિનો', '46 days = 2 months'); | |
23416 | assert.equal(start.from(moment([2007, 1, 28]).add({d: 74}), true), '૨ મહિનો', '75 days = 2 months'); | |
23417 | assert.equal(start.from(moment([2007, 1, 28]).add({d: 76}), true), '૩ મહિનો', '76 days = 3 months'); | |
23418 | assert.equal(start.from(moment([2007, 1, 28]).add({M: 1}), true), 'એક મહિનો', '1 month = a month'); | |
23419 | assert.equal(start.from(moment([2007, 1, 28]).add({M: 5}), true), '૫ મહિનો', '5 months = 5 months'); | |
23420 | assert.equal(start.from(moment([2007, 1, 28]).add({d: 345}), true), 'એક વર્ષ', '345 days = a year'); | |
23421 | assert.equal(start.from(moment([2007, 1, 28]).add({d: 548}), true), '૨ વર્ષ', '548 days = 2 years'); | |
23422 | assert.equal(start.from(moment([2007, 1, 28]).add({y: 1}), true), 'એક વર્ષ', '1 year = a year'); | |
23423 | assert.equal(start.from(moment([2007, 1, 28]).add({y: 5}), true), '૫ વર્ષ', '5 years = 5 years'); | |
23424 | }); | |
23425 | ||
23426 | test('suffix', function (assert) { | |
23427 | assert.equal(moment(30000).from(0), 'અમુક પળો મા', 'prefix'); | |
23428 | assert.equal(moment(0).from(30000), 'અમુક પળો પેહલા', 'suffix'); | |
23429 | }); | |
23430 | ||
23431 | test('now from now', function (assert) { | |
23432 | assert.equal(moment().fromNow(), 'અમુક પળો પેહલા', 'now from now should display as in the past'); | |
23433 | }); | |
23434 | ||
23435 | test('fromNow', function (assert) { | |
23436 | assert.equal(moment().add({s: 30}).fromNow(), 'અમુક પળો મા', 'અમુક પળો મા'); | |
23437 | assert.equal(moment().add({d: 5}).fromNow(), '૫ દિવસ મા', '૫ દિવસ મા'); | |
23438 | }); | |
23439 | ||
23440 | test('calendar day', function (assert) { | |
23441 | var a = moment().hours(2).minutes(0).seconds(0); | |
23442 | ||
23443 | assert.equal(moment(a).calendar(), 'આજ રાત ૨:૦૦ વાગ્યે', 'today at the same time'); | |
23444 | assert.equal(moment(a).add({m: 25}).calendar(), 'આજ રાત ૨:૨૫ વાગ્યે', 'Now plus 25 min'); | |
23445 | assert.equal(moment(a).add({h: 3}).calendar(), 'આજ સવાર ૫:૦૦ વાગ્યે', 'Now plus 3 hour'); | |
23446 | assert.equal(moment(a).add({d: 1}).calendar(), 'કાલે રાત ૨:૦૦ વાગ્યે', 'tomorrow at the same time'); | |
23447 | assert.equal(moment(a).subtract({h: 1}).calendar(), 'આજ રાત ૧:૦૦ વાગ્યે', 'Now minus 1 hour'); | |
23448 | assert.equal(moment(a).subtract({d: 1}).calendar(), 'ગઇકાલે રાત ૨:૦૦ વાગ્યે', 'yesterday at the same time'); | |
23449 | }); | |
23450 | ||
23451 | test('calendar next week', function (assert) { | |
23452 | var i, m; | |
23453 | for (i = 2; i < 7; i++) { | |
23454 | m = moment().add({d: i}); | |
23455 | assert.equal(m.calendar(), m.format('dddd[,] LT'), 'Today + ' + i + ' days current time'); | |
23456 | m.hours(0).minutes(0).seconds(0).milliseconds(0); | |
23457 | assert.equal(m.calendar(), m.format('dddd[,] LT'), 'Today + ' + i + ' days beginning of day'); | |
23458 | m.hours(23).minutes(59).seconds(59).milliseconds(999); | |
23459 | assert.equal(m.calendar(), m.format('dddd[,] LT'), 'Today + ' + i + ' days end of day'); | |
23460 | } | |
23461 | }); | |
23462 | ||
23463 | test('calendar last week', function (assert) { | |
23464 | var i, m; | |
23465 | ||
23466 | for (i = 2; i < 7; i++) { | |
23467 | m = moment().subtract({d: i}); | |
23468 | assert.equal(m.calendar(), m.format('[પાછલા] dddd[,] LT'), 'Today - ' + i + ' days current time'); | |
23469 | m.hours(0).minutes(0).seconds(0).milliseconds(0); | |
23470 | assert.equal(m.calendar(), m.format('[પાછલા] dddd[,] LT'), 'Today - ' + i + ' days beginning of day'); | |
23471 | m.hours(23).minutes(59).seconds(59).milliseconds(999); | |
23472 | assert.equal(m.calendar(), m.format('[પાછલા] dddd[,] LT'), 'Today - ' + i + ' days end of day'); | |
23473 | } | |
23474 | }); | |
23475 | ||
23476 | test('calendar all else', function (assert) { | |
23477 | var weeksAgo = moment().subtract({w: 1}), | |
23478 | weeksFromNow = moment().add({w: 1}); | |
23479 | ||
23480 | assert.equal(weeksAgo.calendar(), weeksAgo.format('L'), '1 week ago'); | |
23481 | assert.equal(weeksFromNow.calendar(), weeksFromNow.format('L'), 'in 1 week'); | |
23482 | ||
23483 | weeksAgo = moment().subtract({w: 2}); | |
23484 | weeksFromNow = moment().add({w: 2}); | |
23485 | ||
23486 | assert.equal(weeksAgo.calendar(), weeksAgo.format('L'), '2 weeks ago'); | |
23487 | assert.equal(weeksFromNow.calendar(), weeksFromNow.format('L'), 'in 2 weeks'); | |
23488 | }); | |
23489 | ||
23490 | test('meridiem', function (assert) { | |
23491 | assert.equal(moment([2011, 2, 23, 2, 30]).format('a'), 'રાત', 'before dawn'); | |
23492 | assert.equal(moment([2011, 2, 23, 9, 30]).format('a'), 'સવાર', 'morning'); | |
23493 | assert.equal(moment([2011, 2, 23, 14, 30]).format('a'), 'બપોર', 'during day'); | |
23494 | assert.equal(moment([2011, 2, 23, 17, 30]).format('a'), 'સાંજ', 'evening'); | |
23495 | assert.equal(moment([2011, 2, 23, 19, 30]).format('a'), 'સાંજ', 'late evening'); | |
23496 | assert.equal(moment([2011, 2, 23, 21, 20]).format('a'), 'રાત', 'night'); | |
23497 | ||
23498 | assert.equal(moment([2011, 2, 23, 2, 30]).format('A'), 'રાત', 'before dawn'); | |
23499 | assert.equal(moment([2011, 2, 23, 9, 30]).format('A'), 'સવાર', 'morning'); | |
23500 | assert.equal(moment([2011, 2, 23, 14, 30]).format('A'), 'બપોર', ' during day'); | |
23501 | assert.equal(moment([2011, 2, 23, 17, 30]).format('A'), 'સાંજ', 'evening'); | |
23502 | assert.equal(moment([2011, 2, 23, 19, 30]).format('A'), 'સાંજ', 'late evening'); | |
23503 | assert.equal(moment([2011, 2, 23, 21, 20]).format('A'), 'રાત', 'night'); | |
23504 | }); | |
23505 | ||
23506 | test('weeks year starting sunday formatted', function (assert) { | |
23507 | assert.equal(moment([2012, 0, 1]).format('w ww wo'), '૧ ૦૧ ૧', 'Jan 1 2012 should be week 1'); | |
23508 | assert.equal(moment([2012, 0, 7]).format('w ww wo'), '૧ ૦૧ ૧', 'Jan 7 2012 should be week 1'); | |
23509 | assert.equal(moment([2012, 0, 8]).format('w ww wo'), '૨ ૦૨ ૨', 'Jan 8 2012 should be week 2'); | |
23510 | assert.equal(moment([2012, 0, 14]).format('w ww wo'), '૨ ૦૨ ૨', 'Jan 14 2012 should be week 2'); | |
23511 | assert.equal(moment([2012, 0, 15]).format('w ww wo'), '૩ ૦૩ ૩', 'Jan 15 2012 should be week 3'); | |
22082 | 23512 | }); |
22083 | 23513 | |
22084 | 23514 | }))); |
28970 | 30400 | var a = [ |
28971 | 30401 | ['YYYY년 MMMM Do dddd a h:mm:ss', '2010년 2월 14일 일요일 오후 3:25:50'], |
28972 | 30402 | ['ddd A h', '일 오후 3'], |
28973 | ['M Mo MM MMMM MMM', '2 2일 02 2월 2월'], | |
30403 | ['M Mo MM MMMM MMM', '2 2월 02 2월 2월'], | |
28974 | 30404 | ['YYYY YY', '2010 10'], |
28975 | 30405 | ['D Do DD', '14 14일 14'], |
28976 | 30406 | ['d do dddd ddd dd', '0 0일 일요일 일 일'], |
28977 | 30407 | ['DDD DDDo DDDD', '45 45일 045'], |
28978 | ['w wo ww', '8 8일 08'], | |
30408 | ['w wo ww', '8 8주 08'], | |
28979 | 30409 | ['h hh', '3 03'], |
28980 | 30410 | ['H HH', '15 15'], |
28981 | 30411 | ['m mm', '25 25'], |
29146 | 30576 | }); |
29147 | 30577 | |
29148 | 30578 | test('weeks year starting sunday format', function (assert) { |
29149 | assert.equal(moment([2012, 0, 1]).format('w ww wo'), '1 01 1일', 'Jan 1 2012 should be week 1'); | |
29150 | assert.equal(moment([2012, 0, 7]).format('w ww wo'), '1 01 1일', 'Jan 7 2012 should be week 1'); | |
29151 | assert.equal(moment([2012, 0, 8]).format('w ww wo'), '2 02 2일', 'Jan 8 2012 should be week 2'); | |
29152 | assert.equal(moment([2012, 0, 14]).format('w ww wo'), '2 02 2일', 'Jan 14 2012 should be week 2'); | |
29153 | assert.equal(moment([2012, 0, 15]).format('w ww wo'), '3 03 3일', 'Jan 15 2012 should be week 3'); | |
30579 | assert.equal(moment([2012, 0, 1]).format('w ww wo'), '1 01 1주', 'Jan 1 2012 should be week 1'); | |
30580 | assert.equal(moment([2012, 0, 7]).format('w ww wo'), '1 01 1주', 'Jan 7 2012 should be week 1'); | |
30581 | assert.equal(moment([2012, 0, 8]).format('w ww wo'), '2 02 2주', 'Jan 8 2012 should be week 2'); | |
30582 | assert.equal(moment([2012, 0, 14]).format('w ww wo'), '2 02 2주', 'Jan 14 2012 should be week 2'); | |
30583 | assert.equal(moment([2012, 0, 15]).format('w ww wo'), '3 03 3주', 'Jan 15 2012 should be week 3'); | |
29154 | 30584 | }); |
29155 | 30585 | |
29156 | 30586 | }))); |
36655 | 38085 | ['M Mo MM MMMM MMM', '2 2de 02 februari feb.'], |
36656 | 38086 | ['YYYY YY', '2010 10'], |
36657 | 38087 | ['D Do DD', '14 14de 14'], |
36658 | ['d do dddd ddd dd', '0 0de zondag zo. Zo'], | |
38088 | ['d do dddd ddd dd', '0 0de zondag zo. zo'], | |
36659 | 38089 | ['DDD DDDo DDDD', '45 45ste 045'], |
36660 | 38090 | ['w wo ww', '6 6de 06'], |
36661 | 38091 | ['h hh', '3 03'], |
36726 | 38156 | }); |
36727 | 38157 | |
36728 | 38158 | test('format week', function (assert) { |
36729 | var expected = 'zondag zo. Zo_maandag ma. Ma_dinsdag di. Di_woensdag wo. Wo_donderdag do. Do_vrijdag vr. Vr_zaterdag za. Za'.split('_'), i; | |
38159 | var expected = 'zondag zo. zo_maandag ma. ma_dinsdag di. di_woensdag wo. wo_donderdag do. do_vrijdag vr. vr_zaterdag za. za'.split('_'), i; | |
36730 | 38160 | for (i = 0; i < expected.length; i++) { |
36731 | 38161 | assert.equal(moment([2011, 0, 2 + i]).format('dddd ddd dd'), expected[i], expected[i]); |
36732 | 38162 | } |
37128 | 38558 | ['M Mo MM MMMM MMM', '2 2de 02 februari feb.'], |
37129 | 38559 | ['YYYY YY', '2010 10'], |
37130 | 38560 | ['D Do DD', '14 14de 14'], |
37131 | ['d do dddd ddd dd', '0 0de zondag zo. Zo'], | |
38561 | ['d do dddd ddd dd', '0 0de zondag zo. zo'], | |
37132 | 38562 | ['DDD DDDo DDDD', '45 45ste 045'], |
37133 | 38563 | ['w wo ww', '6 6de 06'], |
37134 | 38564 | ['h hh', '3 03'], |
37199 | 38629 | }); |
37200 | 38630 | |
37201 | 38631 | test('format week', function (assert) { |
37202 | var expected = 'zondag zo. Zo_maandag ma. Ma_dinsdag di. Di_woensdag wo. Wo_donderdag do. Do_vrijdag vr. Vr_zaterdag za. Za'.split('_'), i; | |
38632 | var expected = 'zondag zo. zo_maandag ma. ma_dinsdag di. di_woensdag wo. wo_donderdag do. do_vrijdag vr. vr_zaterdag za. za'.split('_'), i; | |
37203 | 38633 | for (i = 0; i < expected.length; i++) { |
37204 | 38634 | assert.equal(moment([2011, 0, 2 + i]).format('dddd ddd dd'), expected[i], expected[i]); |
37205 | 38635 | } |
38810 | 40240 | |
38811 | 40241 | test('calendar next week', function (assert) { |
38812 | 40242 | var i, m; |
40243 | ||
40244 | function makeFormat(d) { | |
40245 | switch (d.day()) { | |
40246 | case 0: | |
40247 | return '[W niedzielę o] LT'; | |
40248 | ||
40249 | case 2: | |
40250 | return '[We wtorek o] LT'; | |
40251 | ||
40252 | case 3: | |
40253 | return '[W środę o] LT'; | |
40254 | ||
40255 | case 6: | |
40256 | return '[W sobotę o] LT'; | |
40257 | ||
40258 | default: | |
40259 | return '[W] dddd [o] LT'; | |
40260 | } | |
40261 | } | |
40262 | ||
38813 | 40263 | for (i = 2; i < 7; i++) { |
38814 | 40264 | m = moment().add({d: i}); |
38815 | assert.equal(m.calendar(), m.format('[W] dddd [o] LT'), 'Today + ' + i + ' days current time'); | |
40265 | assert.equal(m.calendar(), m.format(makeFormat(m)), 'Today + ' + i + ' days current time'); | |
40266 | ||
38816 | 40267 | m.hours(0).minutes(0).seconds(0).milliseconds(0); |
38817 | assert.equal(m.calendar(), m.format('[W] dddd [o] LT'), 'Today + ' + i + ' days beginning of day'); | |
40268 | assert.equal(m.calendar(), m.format(makeFormat(m)), 'Today + ' + i + ' days beginning of day'); | |
40269 | ||
38818 | 40270 | m.hours(23).minutes(59).seconds(59).milliseconds(999); |
38819 | assert.equal(m.calendar(), m.format('[W] dddd [o] LT'), 'Today + ' + i + ' days end of day'); | |
40271 | assert.equal(m.calendar(), m.format(makeFormat(m)), 'Today + ' + i + ' days end of day'); | |
38820 | 40272 | } |
38821 | 40273 | }); |
38822 | 40274 | |
39153 | 40605 | |
39154 | 40606 | test('format', function (assert) { |
39155 | 40607 | var a = [ |
39156 | ['dddd, MMMM Do YYYY, h:mm:ss a', 'Domingo, Fevereiro 14º 2010, 3:25:50 pm'], | |
40608 | ['dddd, MMMM Do YYYY, h:mm:ss a', 'Domingo, fevereiro 14º 2010, 3:25:50 pm'], | |
39157 | 40609 | ['ddd, hA', 'Dom, 3PM'], |
39158 | ['M Mo MM MMMM MMM', '2 2º 02 Fevereiro Fev'], | |
40610 | ['M Mo MM MMMM MMM', '2 2º 02 fevereiro fev'], | |
39159 | 40611 | ['YYYY YY', '2010 10'], |
39160 | 40612 | ['D Do DD', '14 14º 14'], |
39161 | 40613 | ['d do dddd ddd', '0 0º Domingo Dom'], |
39169 | 40621 | ['[the] DDDo [day of the year]', 'the 45º day of the year'], |
39170 | 40622 | ['LTS', '15:25:50'], |
39171 | 40623 | ['L', '14/02/2010'], |
39172 | ['LL', '14 de Fevereiro de 2010'], | |
39173 | ['LLL', '14 de Fevereiro de 2010 às 15:25'], | |
39174 | ['LLLL', 'Domingo, 14 de Fevereiro de 2010 às 15:25'], | |
40624 | ['LL', '14 de fevereiro de 2010'], | |
40625 | ['LLL', '14 de fevereiro de 2010 às 15:25'], | |
40626 | ['LLLL', 'Domingo, 14 de fevereiro de 2010 às 15:25'], | |
39175 | 40627 | ['l', '14/2/2010'], |
39176 | ['ll', '14 de Fev de 2010'], | |
39177 | ['lll', '14 de Fev de 2010 às 15:25'], | |
39178 | ['llll', 'Dom, 14 de Fev de 2010 às 15:25'] | |
40628 | ['ll', '14 de fev de 2010'], | |
40629 | ['lll', '14 de fev de 2010 às 15:25'], | |
40630 | ['llll', 'Dom, 14 de fev de 2010 às 15:25'] | |
39179 | 40631 | ], |
39180 | 40632 | b = moment(new Date(2010, 1, 14, 15, 25, 50, 125)), |
39181 | 40633 | i; |
39222 | 40674 | }); |
39223 | 40675 | |
39224 | 40676 | test('format month', function (assert) { |
39225 | var expected = 'Janeiro Jan_Fevereiro Fev_Março Mar_Abril Abr_Maio Mai_Junho Jun_Julho Jul_Agosto Ago_Setembro Set_Outubro Out_Novembro Nov_Dezembro Dez'.split('_'), i; | |
40677 | var expected = 'janeiro jan_fevereiro fev_março mar_abril abr_maio mai_junho jun_julho jul_agosto ago_setembro set_outubro out_novembro nov_dezembro dez'.split('_'), i; | |
39226 | 40678 | for (i = 0; i < expected.length; i++) { |
39227 | 40679 | assert.equal(moment([2011, i, 1]).format('MMMM MMM'), expected[i], expected[i]); |
39228 | 40680 | } |
39334 | 40786 | assert.equal(moment([2012, 0, 15]).format('w ww wo'), '3 03 3º', 'Jan 15 2012 should be week 3'); |
39335 | 40787 | }); |
39336 | 40788 | |
40789 | test('relative time threshold', function (assert) { | |
40790 | var rts = moment(), | |
40791 | rtsDefault = moment.relativeTimeThreshold('ss'); | |
40792 | ||
40793 | moment.relativeTimeThreshold('ss', 3); | |
40794 | ||
40795 | rts.subtract(3, 'seconds'); | |
40796 | assert.equal(rts.fromNow(), 'poucos segundos atrás', 'Below custom a few seconds to seconds threshold'); | |
40797 | rts.subtract(1, 'seconds'); | |
40798 | assert.equal(rts.fromNow(), '4 segundos atrás', 'Above custom a few seconds to seconds threshold'); | |
40799 | ||
40800 | moment.relativeTimeThreshold('ss', rtsDefault); | |
40801 | }); | |
40802 | ||
39337 | 40803 | }))); |
39338 | 40804 | |
39339 | 40805 | |
39596 | 41062 | localeModule('pt'); |
39597 | 41063 | |
39598 | 41064 | test('parse', function (assert) { |
39599 | var tests = 'Janeiro Jan_Fevereiro Fev_Março Mar_Abril Abr_Maio Mai_Junho Jun_Julho Jul_Agosto Ago_Setembro Set_Outubro Out_Novembro Nov_Dezembro Dez'.split('_'), i; | |
41065 | var tests = 'janeiro jan_fevereiro fev_março mar_abril abr_maio mai_junho jun_julho jul_agosto ago_setembro set_outubro out_novembro nov_dezembro dez'.split('_'), i; | |
39600 | 41066 | function equalTest(input, mmm, i) { |
39601 | 41067 | assert.equal(moment(input, mmm).month(), i, input + ' should be month ' + (i + 1)); |
39602 | 41068 | } |
39615 | 41081 | |
39616 | 41082 | test('format', function (assert) { |
39617 | 41083 | var a = [ |
39618 | ['dddd, MMMM Do YYYY, h:mm:ss a', 'Domingo, Fevereiro 14º 2010, 3:25:50 pm'], | |
41084 | ['dddd, MMMM Do YYYY, h:mm:ss a', 'Domingo, fevereiro 14º 2010, 3:25:50 pm'], | |
39619 | 41085 | ['ddd, hA', 'Dom, 3PM'], |
39620 | ['M Mo MM MMMM MMM', '2 2º 02 Fevereiro Fev'], | |
41086 | ['M Mo MM MMMM MMM', '2 2º 02 fevereiro fev'], | |
39621 | 41087 | ['YYYY YY', '2010 10'], |
39622 | 41088 | ['D Do DD', '14 14º 14'], |
39623 | 41089 | ['d do dddd ddd', '0 0º Domingo Dom'], |
39631 | 41097 | ['[the] DDDo [day of the year]', 'the 45º day of the year'], |
39632 | 41098 | ['LTS', '15:25:50'], |
39633 | 41099 | ['L', '14/02/2010'], |
39634 | ['LL', '14 de Fevereiro de 2010'], | |
39635 | ['LLL', '14 de Fevereiro de 2010 15:25'], | |
39636 | ['LLLL', 'Domingo, 14 de Fevereiro de 2010 15:25'], | |
41100 | ['LL', '14 de fevereiro de 2010'], | |
41101 | ['LLL', '14 de fevereiro de 2010 15:25'], | |
41102 | ['LLLL', 'Domingo, 14 de fevereiro de 2010 15:25'], | |
39637 | 41103 | ['l', '14/2/2010'], |
39638 | ['ll', '14 de Fev de 2010'], | |
39639 | ['lll', '14 de Fev de 2010 15:25'], | |
39640 | ['llll', 'Dom, 14 de Fev de 2010 15:25'] | |
41104 | ['ll', '14 de fev de 2010'], | |
41105 | ['lll', '14 de fev de 2010 15:25'], | |
41106 | ['llll', 'Dom, 14 de fev de 2010 15:25'] | |
39641 | 41107 | ], |
39642 | 41108 | b = moment(new Date(2010, 1, 14, 15, 25, 50, 125)), |
39643 | 41109 | i; |
39684 | 41150 | }); |
39685 | 41151 | |
39686 | 41152 | test('format month', function (assert) { |
39687 | var expected = 'Janeiro Jan_Fevereiro Fev_Março Mar_Abril Abr_Maio Mai_Junho Jun_Julho Jul_Agosto Ago_Setembro Set_Outubro Out_Novembro Nov_Dezembro Dez'.split('_'), i; | |
41153 | var expected = 'janeiro jan_fevereiro fev_março mar_abril abr_maio mai_junho jun_julho jul_agosto ago_setembro set_outubro out_novembro nov_dezembro dez'.split('_'), i; | |
39688 | 41154 | for (i = 0; i < expected.length; i++) { |
39689 | 41155 | assert.equal(moment([2011, i, 1]).format('MMMM MMM'), expected[i], expected[i]); |
39690 | 41156 | } |
39691 | 41157 | }); |
39692 | 41158 | |
39693 | 41159 | test('format week', function (assert) { |
39694 | var expected = 'Domingo Dom Do_Segunda-Feira Seg 2ª_Terça-Feira Ter 3ª_Quarta-Feira Qua 4ª_Quinta-Feira Qui 5ª_Sexta-Feira Sex 6ª_Sábado Sáb Sá'.split('_'), i; | |
41160 | var expected = 'Domingo Dom Do_Segunda-feira Seg 2ª_Terça-feira Ter 3ª_Quarta-feira Qua 4ª_Quinta-feira Qui 5ª_Sexta-feira Sex 6ª_Sábado Sáb Sá'.split('_'), i; | |
39695 | 41161 | for (i = 0; i < expected.length; i++) { |
39696 | 41162 | assert.equal(moment([2011, 0, 2 + i]).format('dddd ddd dd'), expected[i], expected[i]); |
39697 | 41163 | } |
40572 | 42038 | ['D Do DD', '14 14-го 14'], |
40573 | 42039 | ['d do dddd ddd dd', '0 0-й воскресенье вс вс'], |
40574 | 42040 | ['DDD DDDo DDDD', '45 45-й 045'], |
40575 | ['w wo ww', '7 7-я 07'], | |
42041 | ['w wo ww', '6 6-я 06'], | |
40576 | 42042 | ['h hh', '3 03'], |
40577 | 42043 | ['H HH', '15 15'], |
40578 | 42044 | ['m mm', '25 25'], |
40874 | 42340 | assert.equal(weeksFromNow.calendar(), weeksFromNow.format('L'), 'in 2 weeks'); |
40875 | 42341 | }); |
40876 | 42342 | |
40877 | test('weeks year starting sunday formatted', function (assert) { | |
40878 | assert.equal(moment([2011, 11, 26]).format('w ww wo'), '1 01 1-я', 'Dec 26 2011 should be week 1'); | |
40879 | assert.equal(moment([2012, 0, 1]).format('w ww wo'), '1 01 1-я', 'Jan 1 2012 should be week 1'); | |
40880 | assert.equal(moment([2012, 0, 2]).format('w ww wo'), '2 02 2-я', 'Jan 2 2012 should be week 2'); | |
40881 | assert.equal(moment([2012, 0, 8]).format('w ww wo'), '2 02 2-я', 'Jan 8 2012 should be week 2'); | |
40882 | assert.equal(moment([2012, 0, 9]).format('w ww wo'), '3 03 3-я', 'Jan 9 2012 should be week 3'); | |
42343 | test('weeks year starting monday formatted', function (assert) { | |
42344 | assert.equal(moment([2011, 11, 26]).format('w ww wo'), '52 52 52-я', 'Dec 26 2011 should be week 52'); | |
42345 | assert.equal(moment([2012, 0, 1]).format('w ww wo'), '52 52 52-я', 'Jan 1 2012 should be week 52'); | |
42346 | assert.equal(moment([2012, 0, 2]).format('w ww wo'), '1 01 1-я', 'Jan 2 2012 should be week 1'); | |
42347 | assert.equal(moment([2012, 0, 8]).format('w ww wo'), '1 01 1-я', 'Jan 8 2012 should be week 1'); | |
42348 | assert.equal(moment([2012, 0, 9]).format('w ww wo'), '2 02 2-я', 'Jan 9 2012 should be week 2'); | |
40883 | 42349 | }); |
40884 | 42350 | |
40885 | 42351 | }))); |
49588 | 51054 | var i, m; |
49589 | 51055 | for (i = 2; i < 7; i++) { |
49590 | 51056 | m = moment().add({d: i}); |
49591 | assert.equal(m.calendar(), m.format('[haftaya] dddd [saat] LT'), 'Today + ' + i + ' days current time'); | |
51057 | assert.equal(m.calendar(), m.format('[gelecek] dddd [saat] LT'), 'Today + ' + i + ' days current time'); | |
49592 | 51058 | m.hours(0).minutes(0).seconds(0).milliseconds(0); |
49593 | assert.equal(m.calendar(), m.format('[haftaya] dddd [saat] LT'), 'Today + ' + i + ' days beginning of day'); | |
51059 | assert.equal(m.calendar(), m.format('[gelecek] dddd [saat] LT'), 'Today + ' + i + ' days beginning of day'); | |
49594 | 51060 | m.hours(23).minutes(59).seconds(59).milliseconds(999); |
49595 | assert.equal(m.calendar(), m.format('[haftaya] dddd [saat] LT'), 'Today + ' + i + ' days end of day'); | |
51061 | assert.equal(m.calendar(), m.format('[gelecek] dddd [saat] LT'), 'Today + ' + i + ' days end of day'); | |
49596 | 51062 | } |
49597 | 51063 | }); |
49598 | 51064 | |
49600 | 51066 | var i, m; |
49601 | 51067 | for (i = 2; i < 7; i++) { |
49602 | 51068 | m = moment().subtract({d: i}); |
49603 | assert.equal(m.calendar(), m.format('[geçen hafta] dddd [saat] LT'), 'Today - ' + i + ' days current time'); | |
51069 | assert.equal(m.calendar(), m.format('[geçen] dddd [saat] LT'), 'Today - ' + i + ' days current time'); | |
49604 | 51070 | m.hours(0).minutes(0).seconds(0).milliseconds(0); |
49605 | assert.equal(m.calendar(), m.format('[geçen hafta] dddd [saat] LT'), 'Today - ' + i + ' days beginning of day'); | |
51071 | assert.equal(m.calendar(), m.format('[geçen] dddd [saat] LT'), 'Today - ' + i + ' days beginning of day'); | |
49606 | 51072 | m.hours(23).minutes(59).seconds(59).milliseconds(999); |
49607 | assert.equal(m.calendar(), m.format('[geçen hafta] dddd [saat] LT'), 'Today - ' + i + ' days end of day'); | |
51073 | assert.equal(m.calendar(), m.format('[geçen] dddd [saat] LT'), 'Today - ' + i + ' days end of day'); | |
49608 | 51074 | } |
49609 | 51075 | }); |
49610 | 51076 | |
55714 | 57180 | } |
55715 | 57181 | } |
55716 | 57182 | |
55717 | function objectKeys(obj) { | |
55718 | if (Object.keys) { | |
55719 | return Object.keys(obj); | |
55720 | } else { | |
55721 | // IE8 | |
55722 | var res = [], i; | |
55723 | for (i in obj) { | |
55724 | if (obj.hasOwnProperty(i)) { | |
55725 | res.push(i); | |
55726 | } | |
55727 | } | |
55728 | return res; | |
55729 | } | |
55730 | } | |
55731 | ||
55732 | 57183 | // Pick the first defined of two or three arguments. |
55733 | ||
55734 | function defineCommonLocaleTests(locale, options) { | |
55735 | test('lenient day of month ordinal parsing', function (assert) { | |
55736 | var i, ordinalStr, testMoment; | |
55737 | for (i = 1; i <= 31; ++i) { | |
55738 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
55739 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
55740 | assert.equal(testMoment.year(), 2014, | |
55741 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
55742 | assert.equal(testMoment.month(), 0, | |
55743 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
55744 | assert.equal(testMoment.date(), i, | |
55745 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
55746 | } | |
55747 | }); | |
55748 | ||
55749 | test('lenient day of month ordinal parsing of number', function (assert) { | |
55750 | var i, testMoment; | |
55751 | for (i = 1; i <= 31; ++i) { | |
55752 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
55753 | assert.equal(testMoment.year(), 2014, | |
55754 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
55755 | assert.equal(testMoment.month(), 0, | |
55756 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
55757 | assert.equal(testMoment.date(), i, | |
55758 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
55759 | } | |
55760 | }); | |
55761 | ||
55762 | test('strict day of month ordinal parsing', function (assert) { | |
55763 | var i, ordinalStr, testMoment; | |
55764 | for (i = 1; i <= 31; ++i) { | |
55765 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
55766 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
55767 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
55768 | } | |
55769 | }); | |
55770 | ||
55771 | test('meridiem invariant', function (assert) { | |
55772 | var h, m, t1, t2; | |
55773 | for (h = 0; h < 24; ++h) { | |
55774 | for (m = 0; m < 60; m += 15) { | |
55775 | t1 = moment.utc([2000, 0, 1, h, m]); | |
55776 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
55777 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
55778 | 'meridiem at ' + t1.format('HH:mm')); | |
55779 | } | |
55780 | } | |
55781 | }); | |
55782 | ||
55783 | test('date format correctness', function (assert) { | |
55784 | var data, tokens; | |
55785 | data = moment.localeData()._longDateFormat; | |
55786 | tokens = objectKeys(data); | |
55787 | each(tokens, function (srchToken) { | |
55788 | // Check each format string to make sure it does not contain any | |
55789 | // tokens that need to be expanded. | |
55790 | each(tokens, function (baseToken) { | |
55791 | // strip escaped sequences | |
55792 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
55793 | assert.equal(false, !!~format.indexOf(srchToken), | |
55794 | 'contains ' + srchToken + ' in ' + baseToken); | |
55795 | }); | |
55796 | }); | |
55797 | }); | |
55798 | ||
55799 | test('month parsing correctness', function (assert) { | |
55800 | var i, m; | |
55801 | ||
55802 | if (locale === 'tr') { | |
55803 | // I can't fix it :( | |
55804 | expect(0); | |
55805 | return; | |
55806 | } | |
55807 | function tester(format) { | |
55808 | var r; | |
55809 | r = moment(m.format(format), format); | |
55810 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
55811 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
55812 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
55813 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
55814 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
55815 | ||
55816 | r = moment(m.format(format), format, true); | |
55817 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
55818 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
55819 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
55820 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
55821 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
55822 | } | |
55823 | ||
55824 | for (i = 0; i < 12; ++i) { | |
55825 | m = moment([2015, i, 15, 18]); | |
55826 | tester('MMM'); | |
55827 | tester('MMM.'); | |
55828 | tester('MMMM'); | |
55829 | tester('MMMM.'); | |
55830 | } | |
55831 | }); | |
55832 | ||
55833 | test('weekday parsing correctness', function (assert) { | |
55834 | var i, m; | |
55835 | ||
55836 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
55837 | // tr, az: There is a lower-case letter (ı), that converted to | |
55838 | // upper then lower changes to i | |
55839 | // ro: there is the letter ț which behaves weird under IE8 | |
55840 | expect(0); | |
55841 | return; | |
55842 | } | |
55843 | function tester(format) { | |
55844 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
55845 | r = moment(m.format(format), format); | |
55846 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
55847 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
55848 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
55849 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
55850 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
55851 | ||
55852 | r = moment(m.format(format), format, true); | |
55853 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
55854 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
55855 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
55856 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
55857 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
55858 | } | |
55859 | ||
55860 | for (i = 0; i < 7; ++i) { | |
55861 | m = moment.utc([2015, 0, i + 1, 18]); | |
55862 | tester('dd'); | |
55863 | tester('ddd'); | |
55864 | tester('dddd'); | |
55865 | } | |
55866 | }); | |
55867 | ||
55868 | test('valid localeData', function (assert) { | |
55869 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
55870 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
55871 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
55872 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
55873 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
55874 | }); | |
55875 | } | |
55876 | 57184 | |
55877 | 57185 | function setupDeprecationHandler(test, moment$$1, scope) { |
55878 | 57186 | test._expectedDeprecations = null; |
56337 | 57645 | } |
56338 | 57646 | } |
56339 | 57647 | |
56340 | function objectKeys(obj) { | |
56341 | if (Object.keys) { | |
56342 | return Object.keys(obj); | |
56343 | } else { | |
56344 | // IE8 | |
56345 | var res = [], i; | |
56346 | for (i in obj) { | |
56347 | if (obj.hasOwnProperty(i)) { | |
56348 | res.push(i); | |
56349 | } | |
56350 | } | |
56351 | return res; | |
56352 | } | |
56353 | } | |
56354 | ||
56355 | 57648 | // Pick the first defined of two or three arguments. |
56356 | ||
56357 | function defineCommonLocaleTests(locale, options) { | |
56358 | test('lenient day of month ordinal parsing', function (assert) { | |
56359 | var i, ordinalStr, testMoment; | |
56360 | for (i = 1; i <= 31; ++i) { | |
56361 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
56362 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
56363 | assert.equal(testMoment.year(), 2014, | |
56364 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
56365 | assert.equal(testMoment.month(), 0, | |
56366 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
56367 | assert.equal(testMoment.date(), i, | |
56368 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
56369 | } | |
56370 | }); | |
56371 | ||
56372 | test('lenient day of month ordinal parsing of number', function (assert) { | |
56373 | var i, testMoment; | |
56374 | for (i = 1; i <= 31; ++i) { | |
56375 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
56376 | assert.equal(testMoment.year(), 2014, | |
56377 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
56378 | assert.equal(testMoment.month(), 0, | |
56379 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
56380 | assert.equal(testMoment.date(), i, | |
56381 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
56382 | } | |
56383 | }); | |
56384 | ||
56385 | test('strict day of month ordinal parsing', function (assert) { | |
56386 | var i, ordinalStr, testMoment; | |
56387 | for (i = 1; i <= 31; ++i) { | |
56388 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
56389 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
56390 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
56391 | } | |
56392 | }); | |
56393 | ||
56394 | test('meridiem invariant', function (assert) { | |
56395 | var h, m, t1, t2; | |
56396 | for (h = 0; h < 24; ++h) { | |
56397 | for (m = 0; m < 60; m += 15) { | |
56398 | t1 = moment.utc([2000, 0, 1, h, m]); | |
56399 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
56400 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
56401 | 'meridiem at ' + t1.format('HH:mm')); | |
56402 | } | |
56403 | } | |
56404 | }); | |
56405 | ||
56406 | test('date format correctness', function (assert) { | |
56407 | var data, tokens; | |
56408 | data = moment.localeData()._longDateFormat; | |
56409 | tokens = objectKeys(data); | |
56410 | each(tokens, function (srchToken) { | |
56411 | // Check each format string to make sure it does not contain any | |
56412 | // tokens that need to be expanded. | |
56413 | each(tokens, function (baseToken) { | |
56414 | // strip escaped sequences | |
56415 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
56416 | assert.equal(false, !!~format.indexOf(srchToken), | |
56417 | 'contains ' + srchToken + ' in ' + baseToken); | |
56418 | }); | |
56419 | }); | |
56420 | }); | |
56421 | ||
56422 | test('month parsing correctness', function (assert) { | |
56423 | var i, m; | |
56424 | ||
56425 | if (locale === 'tr') { | |
56426 | // I can't fix it :( | |
56427 | expect(0); | |
56428 | return; | |
56429 | } | |
56430 | function tester(format) { | |
56431 | var r; | |
56432 | r = moment(m.format(format), format); | |
56433 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
56434 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
56435 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
56436 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
56437 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
56438 | ||
56439 | r = moment(m.format(format), format, true); | |
56440 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
56441 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
56442 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
56443 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
56444 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
56445 | } | |
56446 | ||
56447 | for (i = 0; i < 12; ++i) { | |
56448 | m = moment([2015, i, 15, 18]); | |
56449 | tester('MMM'); | |
56450 | tester('MMM.'); | |
56451 | tester('MMMM'); | |
56452 | tester('MMMM.'); | |
56453 | } | |
56454 | }); | |
56455 | ||
56456 | test('weekday parsing correctness', function (assert) { | |
56457 | var i, m; | |
56458 | ||
56459 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
56460 | // tr, az: There is a lower-case letter (ı), that converted to | |
56461 | // upper then lower changes to i | |
56462 | // ro: there is the letter ț which behaves weird under IE8 | |
56463 | expect(0); | |
56464 | return; | |
56465 | } | |
56466 | function tester(format) { | |
56467 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
56468 | r = moment(m.format(format), format); | |
56469 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
56470 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
56471 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
56472 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
56473 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
56474 | ||
56475 | r = moment(m.format(format), format, true); | |
56476 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
56477 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
56478 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
56479 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
56480 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
56481 | } | |
56482 | ||
56483 | for (i = 0; i < 7; ++i) { | |
56484 | m = moment.utc([2015, 0, i + 1, 18]); | |
56485 | tester('dd'); | |
56486 | tester('ddd'); | |
56487 | tester('dddd'); | |
56488 | } | |
56489 | }); | |
56490 | ||
56491 | test('valid localeData', function (assert) { | |
56492 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
56493 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
56494 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
56495 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
56496 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
56497 | }); | |
56498 | } | |
56499 | 57649 | |
56500 | 57650 | function setupDeprecationHandler(test, moment$$1, scope) { |
56501 | 57651 | test._expectedDeprecations = null; |
56552 | 57702 | |
56553 | 57703 | var test = QUnit.test; |
56554 | 57704 | |
56555 | var expect = QUnit.expect; | |
57705 | ||
56556 | 57706 | |
56557 | 57707 | function module$1 (name, lifecycle) { |
56558 | 57708 | QUnit.module(name, { |
56647 | 57797 | } |
56648 | 57798 | } |
56649 | 57799 | |
56650 | function objectKeys(obj) { | |
56651 | if (Object.keys) { | |
56652 | return Object.keys(obj); | |
56653 | } else { | |
56654 | // IE8 | |
56655 | var res = [], i; | |
56656 | for (i in obj) { | |
56657 | if (obj.hasOwnProperty(i)) { | |
56658 | res.push(i); | |
56659 | } | |
56660 | } | |
56661 | return res; | |
56662 | } | |
56663 | } | |
56664 | ||
56665 | 57800 | // Pick the first defined of two or three arguments. |
56666 | ||
56667 | function defineCommonLocaleTests(locale, options) { | |
56668 | test('lenient day of month ordinal parsing', function (assert) { | |
56669 | var i, ordinalStr, testMoment; | |
56670 | for (i = 1; i <= 31; ++i) { | |
56671 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
56672 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
56673 | assert.equal(testMoment.year(), 2014, | |
56674 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
56675 | assert.equal(testMoment.month(), 0, | |
56676 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
56677 | assert.equal(testMoment.date(), i, | |
56678 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
56679 | } | |
56680 | }); | |
56681 | ||
56682 | test('lenient day of month ordinal parsing of number', function (assert) { | |
56683 | var i, testMoment; | |
56684 | for (i = 1; i <= 31; ++i) { | |
56685 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
56686 | assert.equal(testMoment.year(), 2014, | |
56687 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
56688 | assert.equal(testMoment.month(), 0, | |
56689 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
56690 | assert.equal(testMoment.date(), i, | |
56691 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
56692 | } | |
56693 | }); | |
56694 | ||
56695 | test('strict day of month ordinal parsing', function (assert) { | |
56696 | var i, ordinalStr, testMoment; | |
56697 | for (i = 1; i <= 31; ++i) { | |
56698 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
56699 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
56700 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
56701 | } | |
56702 | }); | |
56703 | ||
56704 | test('meridiem invariant', function (assert) { | |
56705 | var h, m, t1, t2; | |
56706 | for (h = 0; h < 24; ++h) { | |
56707 | for (m = 0; m < 60; m += 15) { | |
56708 | t1 = moment.utc([2000, 0, 1, h, m]); | |
56709 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
56710 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
56711 | 'meridiem at ' + t1.format('HH:mm')); | |
56712 | } | |
56713 | } | |
56714 | }); | |
56715 | ||
56716 | test('date format correctness', function (assert) { | |
56717 | var data, tokens; | |
56718 | data = moment.localeData()._longDateFormat; | |
56719 | tokens = objectKeys(data); | |
56720 | each(tokens, function (srchToken) { | |
56721 | // Check each format string to make sure it does not contain any | |
56722 | // tokens that need to be expanded. | |
56723 | each(tokens, function (baseToken) { | |
56724 | // strip escaped sequences | |
56725 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
56726 | assert.equal(false, !!~format.indexOf(srchToken), | |
56727 | 'contains ' + srchToken + ' in ' + baseToken); | |
56728 | }); | |
56729 | }); | |
56730 | }); | |
56731 | ||
56732 | test('month parsing correctness', function (assert) { | |
56733 | var i, m; | |
56734 | ||
56735 | if (locale === 'tr') { | |
56736 | // I can't fix it :( | |
56737 | expect(0); | |
56738 | return; | |
56739 | } | |
56740 | function tester(format) { | |
56741 | var r; | |
56742 | r = moment(m.format(format), format); | |
56743 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
56744 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
56745 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
56746 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
56747 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
56748 | ||
56749 | r = moment(m.format(format), format, true); | |
56750 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
56751 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
56752 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
56753 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
56754 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
56755 | } | |
56756 | ||
56757 | for (i = 0; i < 12; ++i) { | |
56758 | m = moment([2015, i, 15, 18]); | |
56759 | tester('MMM'); | |
56760 | tester('MMM.'); | |
56761 | tester('MMMM'); | |
56762 | tester('MMMM.'); | |
56763 | } | |
56764 | }); | |
56765 | ||
56766 | test('weekday parsing correctness', function (assert) { | |
56767 | var i, m; | |
56768 | ||
56769 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
56770 | // tr, az: There is a lower-case letter (ı), that converted to | |
56771 | // upper then lower changes to i | |
56772 | // ro: there is the letter ț which behaves weird under IE8 | |
56773 | expect(0); | |
56774 | return; | |
56775 | } | |
56776 | function tester(format) { | |
56777 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
56778 | r = moment(m.format(format), format); | |
56779 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
56780 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
56781 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
56782 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
56783 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
56784 | ||
56785 | r = moment(m.format(format), format, true); | |
56786 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
56787 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
56788 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
56789 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
56790 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
56791 | } | |
56792 | ||
56793 | for (i = 0; i < 7; ++i) { | |
56794 | m = moment.utc([2015, 0, i + 1, 18]); | |
56795 | tester('dd'); | |
56796 | tester('ddd'); | |
56797 | tester('dddd'); | |
56798 | } | |
56799 | }); | |
56800 | ||
56801 | test('valid localeData', function (assert) { | |
56802 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
56803 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
56804 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
56805 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
56806 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
56807 | }); | |
56808 | } | |
56809 | 57801 | |
56810 | 57802 | function setupDeprecationHandler(test, moment$$1, scope) { |
56811 | 57803 | test._expectedDeprecations = null; |
56862 | 57854 | |
56863 | 57855 | var test = QUnit.test; |
56864 | 57856 | |
56865 | var expect = QUnit.expect; | |
57857 | ||
56866 | 57858 | |
56867 | 57859 | function module$1 (name, lifecycle) { |
56868 | 57860 | QUnit.module(name, { |
57317 | 58309 | var momentA = moment([2011, 10, 10]), |
57318 | 58310 | momentB = moment(momentA); |
57319 | 58311 | momentA.month(5); |
57320 | assert.equal(momentB.month(), 10, 'Calling moment() on a moment will create a clone'); | |
57321 | assert.equal(momentA.month(), 5, 'Calling moment() on a moment will create a clone'); | |
58312 | assert.notEqual(momentA.month(), momentB.month(), 'Calling moment() on a moment will create a clone'); | |
57322 | 58313 | }); |
57323 | 58314 | |
57324 | 58315 | test('explicit cloning', function (assert) { |
57325 | 58316 | var momentA = moment([2011, 10, 10]), |
57326 | 58317 | momentB = momentA.clone(); |
57327 | 58318 | momentA.month(5); |
57328 | assert.equal(momentB.month(), 10, 'Calling moment() on a moment will create a clone'); | |
57329 | assert.equal(momentA.month(), 5, 'Calling moment() on a moment will create a clone'); | |
58319 | assert.notEqual(momentA.month(), momentB.month(), 'Calling clone() on a moment will create a clone'); | |
57330 | 58320 | }); |
57331 | 58321 | |
57332 | 58322 | test('cloning carrying over utc mode', function (assert) { |
57341 | 58331 | }); |
57342 | 58332 | |
57343 | 58333 | test('parsing RFC 2822', function (assert) { |
58334 | var testCases = { | |
58335 | 'Tue, 01 Nov 2016 01:23:45 UT': [2016, 10, 1, 1, 23, 45, 0], | |
58336 | 'Sun, 12 Apr 2015 05:06:07 GMT': [2015, 3, 12, 5, 6, 7, 0], | |
58337 | 'Tue, 01 Nov 2016 01:23:45 +0000': [2016, 10, 1, 1, 23, 45, 0], | |
58338 | 'Tue, 01 Nov 16 04:23:45 Z': [2016, 10, 1, 4, 23, 45, 0], | |
58339 | '01 Nov 2016 05:23:45 z': [2016, 10, 1, 5, 23, 45, 0], | |
58340 | '(Init Comment) Tue,\n 1 Nov 2016 (Split\n Comment) 07:23:45 +0000 (GMT)': [2016, 10, 1, 7, 23, 45, 0], | |
58341 | 'Mon, 02 Jan 2017 06:00:00 -0800': [2017, 0, 2, 6, 0, 0, -8 * 60], | |
58342 | 'Mon, 02 Jan 2017 06:00:00 +0800': [2017, 0, 2, 6, 0, 0, +8 * 60], | |
58343 | 'Mon, 02 Jan 2017 06:00:00 +0330': [2017, 0, 2, 6, 0, 0, +(3 * 60 + 30)], | |
58344 | 'Mon, 02 Jan 2017 06:00:00 -0330': [2017, 0, 2, 6, 0, 0, -(3 * 60 + 30)], | |
58345 | 'Mon, 02 Jan 2017 06:00:00 PST': [2017, 0, 2, 6, 0, 0, -8 * 60], | |
58346 | 'Mon, 02 Jan 2017 06:00:00 PDT': [2017, 0, 2, 6, 0, 0, -7 * 60], | |
58347 | 'Mon, 02 Jan 2017 06:00:00 MST': [2017, 0, 2, 6, 0, 0, -7 * 60], | |
58348 | 'Mon, 02 Jan 2017 06:00:00 MDT': [2017, 0, 2, 6, 0, 0, -6 * 60], | |
58349 | 'Mon, 02 Jan 2017 06:00:00 CST': [2017, 0, 2, 6, 0, 0, -6 * 60], | |
58350 | 'Mon, 02 Jan 2017 06:00:00 CDT': [2017, 0, 2, 6, 0, 0, -5 * 60], | |
58351 | 'Mon, 02 Jan 2017 06:00:00 EST': [2017, 0, 2, 6, 0, 0, -5 * 60], | |
58352 | 'Mon, 02 Jan 2017 06:00:00 EDT': [2017, 0, 2, 6, 0, 0, -4 * 60] | |
58353 | }; | |
58354 | ||
58355 | var inp, tokens, parseResult, expResult; | |
58356 | ||
58357 | for (inp in testCases) { | |
58358 | tokens = testCases[inp]; | |
58359 | parseResult = moment(inp, moment.RFC_2822, true).parseZone(); | |
58360 | expResult = moment.utc(tokens.slice(0, 6)).utcOffset(tokens[6], true); | |
58361 | assert.ok(parseResult.isValid(), inp); | |
58362 | assert.ok(parseResult.parsingFlags().rfc2822, inp + ' - rfc2822 parsingFlag'); | |
58363 | assert.equal(parseResult.utcOffset(), expResult.utcOffset(), inp + ' - zone'); | |
58364 | assert.equal(parseResult.valueOf(), expResult.valueOf(), inp + ' - correctness'); | |
58365 | } | |
58366 | }); | |
58367 | ||
58368 | test('non RFC 2822 strings', function (assert) { | |
58369 | var testCases = { | |
58370 | 'RFC2822 datetime with all options but invalid day delimiter': 'Tue. 01 Nov 2016 01:23:45 GMT', | |
58371 | 'RFC2822 datetime with mismatching Day (weekday v date)': 'Mon, 01 Nov 2016 01:23:45 GMT' | |
58372 | }; | |
58373 | var testCase; | |
58374 | ||
58375 | for (testCase in testCases) { | |
58376 | var testResult = moment(testCases[testCase], moment.RFC_2822, true); | |
58377 | assert.ok(!testResult.isValid(), testCase + ': ' + testResult + ' - is invalid rfc2822'); | |
58378 | assert.ok(!testResult.parsingFlags().rfc2822, testCase + ': ' + testResult + ' - rfc2822 parsingFlag'); | |
58379 | } | |
58380 | }); | |
58381 | ||
58382 | test('parsing RFC 2822 in a different locale', function (assert) { | |
57344 | 58383 | var testCases = { |
57345 | 58384 | 'clean RFC2822 datetime with all options': 'Tue, 01 Nov 2016 01:23:45 UT', |
57346 | 58385 | 'clean RFC2822 datetime without comma': 'Tue 01 Nov 2016 02:23:45 GMT', |
57352 | 58391 | }; |
57353 | 58392 | var testCase; |
57354 | 58393 | |
57355 | for (testCase in testCases) { | |
57356 | var testResult = moment(testCases[testCase], moment.RFC_2822, true); | |
57357 | assert.ok(testResult.isValid(), testResult); | |
57358 | assert.ok(testResult.parsingFlags().rfc2822, testResult + ' - rfc2822 parsingFlag'); | |
57359 | } | |
57360 | }); | |
57361 | ||
57362 | test('non RFC 2822 strings', function (assert) { | |
58394 | try { | |
58395 | moment.locale('ru'); | |
58396 | for (testCase in testCases) { | |
58397 | var testResult = moment(testCases[testCase], moment.RFC_2822, true); | |
58398 | assert.ok(testResult.isValid(), testResult); | |
58399 | assert.ok(testResult.parsingFlags().rfc2822, testResult + ' - rfc2822 parsingFlag'); | |
58400 | } | |
58401 | } | |
58402 | finally { | |
58403 | moment.locale('en'); | |
58404 | } | |
58405 | }); | |
58406 | ||
58407 | test('non RFC 2822 strings in a different locale', function (assert) { | |
57363 | 58408 | var testCases = { |
57364 | 58409 | 'RFC2822 datetime with all options but invalid day delimiter': 'Tue. 01 Nov 2016 01:23:45 GMT', |
57365 | 58410 | 'RFC2822 datetime with mismatching Day (week v date)': 'Mon, 01 Nov 2016 01:23:45 GMT' |
57366 | 58411 | }; |
57367 | 58412 | var testCase; |
57368 | 58413 | |
57369 | for (testCase in testCases) { | |
57370 | var testResult = moment(testCases[testCase], moment.RFC_2822, true); | |
57371 | assert.ok(!testResult.isValid(), testResult); | |
57372 | assert.ok(!testResult.parsingFlags().rfc2822, testResult + ' - rfc2822 parsingFlag'); | |
58414 | try { | |
58415 | moment.locale('ru'); | |
58416 | for (testCase in testCases) { | |
58417 | var testResult = moment(testCases[testCase], moment.RFC_2822, true); | |
58418 | assert.ok(!testResult.isValid(), testResult); | |
58419 | assert.ok(!testResult.parsingFlags().rfc2822, testResult + ' - rfc2822 parsingFlag'); | |
58420 | } | |
58421 | } | |
58422 | finally { | |
58423 | moment.locale('en'); | |
57373 | 58424 | } |
57374 | 58425 | }); |
57375 | 58426 | |
58049 | 59100 | } |
58050 | 59101 | }); |
58051 | 59102 | |
59103 | test('mismatching day-of-week and date', function (assert) { | |
59104 | // string with format | |
59105 | assert.ok(!moment('Wed 08-10-2017', 'ddd MM-DD-YYYY').isValid(), 'because day of week is incorrect for the date'); | |
59106 | assert.ok(moment('Thu 08-10-2017', 'ddd MM-DD-YYYY').isValid(), 'because day of week is correct for the date'); | |
59107 | }); | |
59108 | ||
58052 | 59109 | }))); |
58053 | 59110 | |
58054 | 59111 | |
58066 | 59123 | } |
58067 | 59124 | } |
58068 | 59125 | |
58069 | function objectKeys(obj) { | |
58070 | if (Object.keys) { | |
58071 | return Object.keys(obj); | |
58072 | } else { | |
58073 | // IE8 | |
58074 | var res = [], i; | |
58075 | for (i in obj) { | |
58076 | if (obj.hasOwnProperty(i)) { | |
58077 | res.push(i); | |
58078 | } | |
58079 | } | |
58080 | return res; | |
58081 | } | |
58082 | } | |
58083 | ||
58084 | 59126 | // Pick the first defined of two or three arguments. |
58085 | ||
58086 | function defineCommonLocaleTests(locale, options) { | |
58087 | test('lenient day of month ordinal parsing', function (assert) { | |
58088 | var i, ordinalStr, testMoment; | |
58089 | for (i = 1; i <= 31; ++i) { | |
58090 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
58091 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
58092 | assert.equal(testMoment.year(), 2014, | |
58093 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
58094 | assert.equal(testMoment.month(), 0, | |
58095 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
58096 | assert.equal(testMoment.date(), i, | |
58097 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
58098 | } | |
58099 | }); | |
58100 | ||
58101 | test('lenient day of month ordinal parsing of number', function (assert) { | |
58102 | var i, testMoment; | |
58103 | for (i = 1; i <= 31; ++i) { | |
58104 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
58105 | assert.equal(testMoment.year(), 2014, | |
58106 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
58107 | assert.equal(testMoment.month(), 0, | |
58108 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
58109 | assert.equal(testMoment.date(), i, | |
58110 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
58111 | } | |
58112 | }); | |
58113 | ||
58114 | test('strict day of month ordinal parsing', function (assert) { | |
58115 | var i, ordinalStr, testMoment; | |
58116 | for (i = 1; i <= 31; ++i) { | |
58117 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
58118 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
58119 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
58120 | } | |
58121 | }); | |
58122 | ||
58123 | test('meridiem invariant', function (assert) { | |
58124 | var h, m, t1, t2; | |
58125 | for (h = 0; h < 24; ++h) { | |
58126 | for (m = 0; m < 60; m += 15) { | |
58127 | t1 = moment.utc([2000, 0, 1, h, m]); | |
58128 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
58129 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
58130 | 'meridiem at ' + t1.format('HH:mm')); | |
58131 | } | |
58132 | } | |
58133 | }); | |
58134 | ||
58135 | test('date format correctness', function (assert) { | |
58136 | var data, tokens; | |
58137 | data = moment.localeData()._longDateFormat; | |
58138 | tokens = objectKeys(data); | |
58139 | each(tokens, function (srchToken) { | |
58140 | // Check each format string to make sure it does not contain any | |
58141 | // tokens that need to be expanded. | |
58142 | each(tokens, function (baseToken) { | |
58143 | // strip escaped sequences | |
58144 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
58145 | assert.equal(false, !!~format.indexOf(srchToken), | |
58146 | 'contains ' + srchToken + ' in ' + baseToken); | |
58147 | }); | |
58148 | }); | |
58149 | }); | |
58150 | ||
58151 | test('month parsing correctness', function (assert) { | |
58152 | var i, m; | |
58153 | ||
58154 | if (locale === 'tr') { | |
58155 | // I can't fix it :( | |
58156 | expect(0); | |
58157 | return; | |
58158 | } | |
58159 | function tester(format) { | |
58160 | var r; | |
58161 | r = moment(m.format(format), format); | |
58162 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
58163 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
58164 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
58165 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
58166 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
58167 | ||
58168 | r = moment(m.format(format), format, true); | |
58169 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
58170 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
58171 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
58172 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
58173 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
58174 | } | |
58175 | ||
58176 | for (i = 0; i < 12; ++i) { | |
58177 | m = moment([2015, i, 15, 18]); | |
58178 | tester('MMM'); | |
58179 | tester('MMM.'); | |
58180 | tester('MMMM'); | |
58181 | tester('MMMM.'); | |
58182 | } | |
58183 | }); | |
58184 | ||
58185 | test('weekday parsing correctness', function (assert) { | |
58186 | var i, m; | |
58187 | ||
58188 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
58189 | // tr, az: There is a lower-case letter (ı), that converted to | |
58190 | // upper then lower changes to i | |
58191 | // ro: there is the letter ț which behaves weird under IE8 | |
58192 | expect(0); | |
58193 | return; | |
58194 | } | |
58195 | function tester(format) { | |
58196 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
58197 | r = moment(m.format(format), format); | |
58198 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
58199 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
58200 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
58201 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
58202 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
58203 | ||
58204 | r = moment(m.format(format), format, true); | |
58205 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
58206 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
58207 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
58208 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
58209 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
58210 | } | |
58211 | ||
58212 | for (i = 0; i < 7; ++i) { | |
58213 | m = moment.utc([2015, 0, i + 1, 18]); | |
58214 | tester('dd'); | |
58215 | tester('ddd'); | |
58216 | tester('dddd'); | |
58217 | } | |
58218 | }); | |
58219 | ||
58220 | test('valid localeData', function (assert) { | |
58221 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
58222 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
58223 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
58224 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
58225 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
58226 | }); | |
58227 | } | |
58228 | 59127 | |
58229 | 59128 | function setupDeprecationHandler(test, moment$$1, scope) { |
58230 | 59129 | test._expectedDeprecations = null; |
58281 | 59180 | |
58282 | 59181 | var test = QUnit.test; |
58283 | 59182 | |
58284 | var expect = QUnit.expect; | |
59183 | ||
58285 | 59184 | |
58286 | 59185 | function module$1 (name, lifecycle) { |
58287 | 59186 | QUnit.module(name, { |
58353 | 59252 | } |
58354 | 59253 | } |
58355 | 59254 | |
58356 | function objectKeys(obj) { | |
58357 | if (Object.keys) { | |
58358 | return Object.keys(obj); | |
58359 | } else { | |
58360 | // IE8 | |
58361 | var res = [], i; | |
58362 | for (i in obj) { | |
58363 | if (obj.hasOwnProperty(i)) { | |
58364 | res.push(i); | |
58365 | } | |
58366 | } | |
58367 | return res; | |
58368 | } | |
58369 | } | |
58370 | ||
58371 | 59255 | // Pick the first defined of two or three arguments. |
58372 | ||
58373 | function defineCommonLocaleTests(locale, options) { | |
58374 | test('lenient day of month ordinal parsing', function (assert) { | |
58375 | var i, ordinalStr, testMoment; | |
58376 | for (i = 1; i <= 31; ++i) { | |
58377 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
58378 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
58379 | assert.equal(testMoment.year(), 2014, | |
58380 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
58381 | assert.equal(testMoment.month(), 0, | |
58382 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
58383 | assert.equal(testMoment.date(), i, | |
58384 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
58385 | } | |
58386 | }); | |
58387 | ||
58388 | test('lenient day of month ordinal parsing of number', function (assert) { | |
58389 | var i, testMoment; | |
58390 | for (i = 1; i <= 31; ++i) { | |
58391 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
58392 | assert.equal(testMoment.year(), 2014, | |
58393 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
58394 | assert.equal(testMoment.month(), 0, | |
58395 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
58396 | assert.equal(testMoment.date(), i, | |
58397 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
58398 | } | |
58399 | }); | |
58400 | ||
58401 | test('strict day of month ordinal parsing', function (assert) { | |
58402 | var i, ordinalStr, testMoment; | |
58403 | for (i = 1; i <= 31; ++i) { | |
58404 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
58405 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
58406 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
58407 | } | |
58408 | }); | |
58409 | ||
58410 | test('meridiem invariant', function (assert) { | |
58411 | var h, m, t1, t2; | |
58412 | for (h = 0; h < 24; ++h) { | |
58413 | for (m = 0; m < 60; m += 15) { | |
58414 | t1 = moment.utc([2000, 0, 1, h, m]); | |
58415 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
58416 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
58417 | 'meridiem at ' + t1.format('HH:mm')); | |
58418 | } | |
58419 | } | |
58420 | }); | |
58421 | ||
58422 | test('date format correctness', function (assert) { | |
58423 | var data, tokens; | |
58424 | data = moment.localeData()._longDateFormat; | |
58425 | tokens = objectKeys(data); | |
58426 | each(tokens, function (srchToken) { | |
58427 | // Check each format string to make sure it does not contain any | |
58428 | // tokens that need to be expanded. | |
58429 | each(tokens, function (baseToken) { | |
58430 | // strip escaped sequences | |
58431 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
58432 | assert.equal(false, !!~format.indexOf(srchToken), | |
58433 | 'contains ' + srchToken + ' in ' + baseToken); | |
58434 | }); | |
58435 | }); | |
58436 | }); | |
58437 | ||
58438 | test('month parsing correctness', function (assert) { | |
58439 | var i, m; | |
58440 | ||
58441 | if (locale === 'tr') { | |
58442 | // I can't fix it :( | |
58443 | expect(0); | |
58444 | return; | |
58445 | } | |
58446 | function tester(format) { | |
58447 | var r; | |
58448 | r = moment(m.format(format), format); | |
58449 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
58450 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
58451 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
58452 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
58453 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
58454 | ||
58455 | r = moment(m.format(format), format, true); | |
58456 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
58457 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
58458 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
58459 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
58460 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
58461 | } | |
58462 | ||
58463 | for (i = 0; i < 12; ++i) { | |
58464 | m = moment([2015, i, 15, 18]); | |
58465 | tester('MMM'); | |
58466 | tester('MMM.'); | |
58467 | tester('MMMM'); | |
58468 | tester('MMMM.'); | |
58469 | } | |
58470 | }); | |
58471 | ||
58472 | test('weekday parsing correctness', function (assert) { | |
58473 | var i, m; | |
58474 | ||
58475 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
58476 | // tr, az: There is a lower-case letter (ı), that converted to | |
58477 | // upper then lower changes to i | |
58478 | // ro: there is the letter ț which behaves weird under IE8 | |
58479 | expect(0); | |
58480 | return; | |
58481 | } | |
58482 | function tester(format) { | |
58483 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
58484 | r = moment(m.format(format), format); | |
58485 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
58486 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
58487 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
58488 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
58489 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
58490 | ||
58491 | r = moment(m.format(format), format, true); | |
58492 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
58493 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
58494 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
58495 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
58496 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
58497 | } | |
58498 | ||
58499 | for (i = 0; i < 7; ++i) { | |
58500 | m = moment.utc([2015, 0, i + 1, 18]); | |
58501 | tester('dd'); | |
58502 | tester('ddd'); | |
58503 | tester('dddd'); | |
58504 | } | |
58505 | }); | |
58506 | ||
58507 | test('valid localeData', function (assert) { | |
58508 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
58509 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
58510 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
58511 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
58512 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
58513 | }); | |
58514 | } | |
58515 | 59256 | |
58516 | 59257 | function setupDeprecationHandler(test, moment$$1, scope) { |
58517 | 59258 | test._expectedDeprecations = null; |
58568 | 59309 | |
58569 | 59310 | var test = QUnit.test; |
58570 | 59311 | |
58571 | var expect = QUnit.expect; | |
59312 | ||
58572 | 59313 | |
58573 | 59314 | function module$1 (name, lifecycle) { |
58574 | 59315 | QUnit.module(name, { |
58591 | 59332 | }); |
58592 | 59333 | } |
58593 | 59334 | |
58594 | module$1('days in month'); | |
58595 | ||
58596 | test('days in month', function (assert) { | |
58597 | each([31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], function (days, i) { | |
58598 | var firstDay = moment([2012, i]), | |
58599 | lastDay = moment([2012, i, days]); | |
58600 | assert.equal(firstDay.daysInMonth(), days, firstDay.format('L') + ' should have ' + days + ' days.'); | |
58601 | assert.equal(lastDay.daysInMonth(), days, lastDay.format('L') + ' should have ' + days + ' days.'); | |
58602 | }); | |
58603 | }); | |
58604 | ||
58605 | test('days in month leap years', function (assert) { | |
58606 | assert.equal(moment([2010, 1]).daysInMonth(), 28, 'Feb 2010 should have 28 days'); | |
58607 | assert.equal(moment([2100, 1]).daysInMonth(), 28, 'Feb 2100 should have 28 days'); | |
58608 | assert.equal(moment([2008, 1]).daysInMonth(), 29, 'Feb 2008 should have 29 days'); | |
58609 | assert.equal(moment([2000, 1]).daysInMonth(), 29, 'Feb 2000 should have 29 days'); | |
58610 | }); | |
58611 | ||
58612 | }))); | |
58613 | ||
58614 | ||
58615 | ;(function (global, factory) { | |
58616 | typeof exports === 'object' && typeof module !== 'undefined' | |
58617 | && typeof require === 'function' ? factory(require('../../moment')) : | |
58618 | typeof define === 'function' && define.amd ? define(['../../moment'], factory) : | |
58619 | factory(global.moment) | |
58620 | }(this, (function (moment) { 'use strict'; | |
58621 | ||
58622 | function each(array, callback) { | |
58623 | var i; | |
58624 | for (i = 0; i < array.length; i++) { | |
58625 | callback(array[i], i, array); | |
58626 | } | |
58627 | } | |
58628 | ||
58629 | function objectKeys(obj) { | |
58630 | if (Object.keys) { | |
58631 | return Object.keys(obj); | |
58632 | } else { | |
58633 | // IE8 | |
58634 | var res = [], i; | |
58635 | for (i in obj) { | |
58636 | if (obj.hasOwnProperty(i)) { | |
58637 | res.push(i); | |
58638 | } | |
58639 | } | |
58640 | return res; | |
58641 | } | |
58642 | } | |
58643 | ||
58644 | // Pick the first defined of two or three arguments. | |
58645 | ||
58646 | function defineCommonLocaleTests(locale, options) { | |
58647 | test('lenient day of month ordinal parsing', function (assert) { | |
58648 | var i, ordinalStr, testMoment; | |
58649 | for (i = 1; i <= 31; ++i) { | |
58650 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
58651 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
58652 | assert.equal(testMoment.year(), 2014, | |
58653 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
58654 | assert.equal(testMoment.month(), 0, | |
58655 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
58656 | assert.equal(testMoment.date(), i, | |
58657 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
58658 | } | |
58659 | }); | |
58660 | ||
58661 | test('lenient day of month ordinal parsing of number', function (assert) { | |
58662 | var i, testMoment; | |
58663 | for (i = 1; i <= 31; ++i) { | |
58664 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
58665 | assert.equal(testMoment.year(), 2014, | |
58666 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
58667 | assert.equal(testMoment.month(), 0, | |
58668 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
58669 | assert.equal(testMoment.date(), i, | |
58670 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
58671 | } | |
58672 | }); | |
58673 | ||
58674 | test('strict day of month ordinal parsing', function (assert) { | |
58675 | var i, ordinalStr, testMoment; | |
58676 | for (i = 1; i <= 31; ++i) { | |
58677 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
58678 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
58679 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
58680 | } | |
58681 | }); | |
58682 | ||
58683 | test('meridiem invariant', function (assert) { | |
58684 | var h, m, t1, t2; | |
58685 | for (h = 0; h < 24; ++h) { | |
58686 | for (m = 0; m < 60; m += 15) { | |
58687 | t1 = moment.utc([2000, 0, 1, h, m]); | |
58688 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
58689 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
58690 | 'meridiem at ' + t1.format('HH:mm')); | |
58691 | } | |
58692 | } | |
58693 | }); | |
58694 | ||
58695 | test('date format correctness', function (assert) { | |
58696 | var data, tokens; | |
58697 | data = moment.localeData()._longDateFormat; | |
58698 | tokens = objectKeys(data); | |
58699 | each(tokens, function (srchToken) { | |
58700 | // Check each format string to make sure it does not contain any | |
58701 | // tokens that need to be expanded. | |
58702 | each(tokens, function (baseToken) { | |
58703 | // strip escaped sequences | |
58704 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
58705 | assert.equal(false, !!~format.indexOf(srchToken), | |
58706 | 'contains ' + srchToken + ' in ' + baseToken); | |
58707 | }); | |
58708 | }); | |
58709 | }); | |
58710 | ||
58711 | test('month parsing correctness', function (assert) { | |
58712 | var i, m; | |
58713 | ||
58714 | if (locale === 'tr') { | |
58715 | // I can't fix it :( | |
58716 | expect(0); | |
58717 | return; | |
58718 | } | |
58719 | function tester(format) { | |
58720 | var r; | |
58721 | r = moment(m.format(format), format); | |
58722 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
58723 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
58724 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
58725 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
58726 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
58727 | ||
58728 | r = moment(m.format(format), format, true); | |
58729 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
58730 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
58731 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
58732 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
58733 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
58734 | } | |
58735 | ||
58736 | for (i = 0; i < 12; ++i) { | |
58737 | m = moment([2015, i, 15, 18]); | |
58738 | tester('MMM'); | |
58739 | tester('MMM.'); | |
58740 | tester('MMMM'); | |
58741 | tester('MMMM.'); | |
58742 | } | |
58743 | }); | |
58744 | ||
58745 | test('weekday parsing correctness', function (assert) { | |
58746 | var i, m; | |
58747 | ||
58748 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
58749 | // tr, az: There is a lower-case letter (ı), that converted to | |
58750 | // upper then lower changes to i | |
58751 | // ro: there is the letter ț which behaves weird under IE8 | |
58752 | expect(0); | |
58753 | return; | |
58754 | } | |
58755 | function tester(format) { | |
58756 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
58757 | r = moment(m.format(format), format); | |
58758 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
58759 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
58760 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
58761 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
58762 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
58763 | ||
58764 | r = moment(m.format(format), format, true); | |
58765 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
58766 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
58767 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
58768 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
58769 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
58770 | } | |
58771 | ||
58772 | for (i = 0; i < 7; ++i) { | |
58773 | m = moment.utc([2015, 0, i + 1, 18]); | |
58774 | tester('dd'); | |
58775 | tester('ddd'); | |
58776 | tester('dddd'); | |
58777 | } | |
58778 | }); | |
58779 | ||
58780 | test('valid localeData', function (assert) { | |
58781 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
58782 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
58783 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
58784 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
58785 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
58786 | }); | |
58787 | } | |
58788 | ||
58789 | function setupDeprecationHandler(test, moment$$1, scope) { | |
58790 | test._expectedDeprecations = null; | |
58791 | test._observedDeprecations = null; | |
58792 | test._oldSupress = moment$$1.suppressDeprecationWarnings; | |
58793 | moment$$1.suppressDeprecationWarnings = true; | |
58794 | test.expectedDeprecations = function () { | |
58795 | test._expectedDeprecations = arguments; | |
58796 | test._observedDeprecations = []; | |
58797 | }; | |
58798 | moment$$1.deprecationHandler = function (name, msg) { | |
58799 | var deprecationId = matchedDeprecation(name, msg, test._expectedDeprecations); | |
58800 | if (deprecationId === -1) { | |
58801 | throw new Error('Unexpected deprecation thrown name=' + | |
58802 | name + ' msg=' + msg); | |
58803 | } | |
58804 | test._observedDeprecations[deprecationId] = 1; | |
58805 | }; | |
58806 | } | |
58807 | ||
58808 | function teardownDeprecationHandler(test, moment$$1, scope) { | |
58809 | moment$$1.suppressDeprecationWarnings = test._oldSupress; | |
58810 | ||
58811 | if (test._expectedDeprecations != null) { | |
58812 | var missedDeprecations = []; | |
58813 | each(test._expectedDeprecations, function (deprecationPattern, id) { | |
58814 | if (test._observedDeprecations[id] !== 1) { | |
58815 | missedDeprecations.push(deprecationPattern); | |
58816 | } | |
58817 | }); | |
58818 | if (missedDeprecations.length !== 0) { | |
58819 | throw new Error('Expected deprecation warnings did not happen: ' + | |
58820 | missedDeprecations.join(' ')); | |
58821 | } | |
58822 | } | |
58823 | } | |
58824 | ||
58825 | function matchedDeprecation(name, msg, deprecations) { | |
58826 | if (deprecations == null) { | |
58827 | return -1; | |
58828 | } | |
58829 | for (var i = 0; i < deprecations.length; ++i) { | |
58830 | if (name != null && name === deprecations[i]) { | |
58831 | return i; | |
58832 | } | |
58833 | if (msg != null && msg.substring(0, deprecations[i].length) === deprecations[i]) { | |
58834 | return i; | |
58835 | } | |
58836 | } | |
58837 | return -1; | |
58838 | } | |
58839 | ||
58840 | /*global QUnit:false*/ | |
58841 | ||
58842 | var test = QUnit.test; | |
58843 | ||
58844 | var expect = QUnit.expect; | |
58845 | ||
58846 | function module$1 (name, lifecycle) { | |
58847 | QUnit.module(name, { | |
58848 | setup : function () { | |
58849 | moment.locale('en'); | |
58850 | moment.createFromInputFallback = function (config) { | |
58851 | throw new Error('input not handled by moment: ' + config._i); | |
58852 | }; | |
58853 | setupDeprecationHandler(test, moment, 'core'); | |
58854 | if (lifecycle && lifecycle.setup) { | |
58855 | lifecycle.setup(); | |
58856 | } | |
58857 | }, | |
58858 | teardown : function () { | |
58859 | teardownDeprecationHandler(test, moment, 'core'); | |
58860 | if (lifecycle && lifecycle.teardown) { | |
58861 | lifecycle.teardown(); | |
58862 | } | |
58863 | } | |
58864 | }); | |
58865 | } | |
58866 | ||
58867 | module$1('days in year'); | |
58868 | ||
58869 | // https://github.com/moment/moment/issues/3717 | |
58870 | test('YYYYDDD should not parse DDD=000', function (assert) { | |
58871 | assert.equal(moment(7000000, moment.ISO_8601, true).isValid(), false); | |
58872 | assert.equal(moment('7000000', moment.ISO_8601, true).isValid(), false); | |
58873 | assert.equal(moment(7000000, moment.ISO_8601, false).isValid(), false); | |
58874 | }); | |
58875 | ||
58876 | }))); | |
58877 | ||
58878 | ||
58879 | ;(function (global, factory) { | |
58880 | typeof exports === 'object' && typeof module !== 'undefined' | |
58881 | && typeof require === 'function' ? factory(require('../../moment')) : | |
58882 | typeof define === 'function' && define.amd ? define(['../../moment'], factory) : | |
58883 | factory(global.moment) | |
58884 | }(this, (function (moment) { 'use strict'; | |
58885 | ||
58886 | function each(array, callback) { | |
58887 | var i; | |
58888 | for (i = 0; i < array.length; i++) { | |
58889 | callback(array[i], i, array); | |
58890 | } | |
58891 | } | |
58892 | ||
58893 | function objectKeys(obj) { | |
58894 | if (Object.keys) { | |
58895 | return Object.keys(obj); | |
58896 | } else { | |
58897 | // IE8 | |
58898 | var res = [], i; | |
58899 | for (i in obj) { | |
58900 | if (obj.hasOwnProperty(i)) { | |
58901 | res.push(i); | |
58902 | } | |
58903 | } | |
58904 | return res; | |
58905 | } | |
58906 | } | |
58907 | ||
58908 | // Pick the first defined of two or three arguments. | |
58909 | ||
58910 | function defineCommonLocaleTests(locale, options) { | |
58911 | test('lenient day of month ordinal parsing', function (assert) { | |
58912 | var i, ordinalStr, testMoment; | |
58913 | for (i = 1; i <= 31; ++i) { | |
58914 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
58915 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
58916 | assert.equal(testMoment.year(), 2014, | |
58917 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
58918 | assert.equal(testMoment.month(), 0, | |
58919 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
58920 | assert.equal(testMoment.date(), i, | |
58921 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
58922 | } | |
58923 | }); | |
58924 | ||
58925 | test('lenient day of month ordinal parsing of number', function (assert) { | |
58926 | var i, testMoment; | |
58927 | for (i = 1; i <= 31; ++i) { | |
58928 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
58929 | assert.equal(testMoment.year(), 2014, | |
58930 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
58931 | assert.equal(testMoment.month(), 0, | |
58932 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
58933 | assert.equal(testMoment.date(), i, | |
58934 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
58935 | } | |
58936 | }); | |
58937 | ||
58938 | test('strict day of month ordinal parsing', function (assert) { | |
58939 | var i, ordinalStr, testMoment; | |
58940 | for (i = 1; i <= 31; ++i) { | |
58941 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
58942 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
58943 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
58944 | } | |
58945 | }); | |
58946 | ||
58947 | test('meridiem invariant', function (assert) { | |
58948 | var h, m, t1, t2; | |
58949 | for (h = 0; h < 24; ++h) { | |
58950 | for (m = 0; m < 60; m += 15) { | |
58951 | t1 = moment.utc([2000, 0, 1, h, m]); | |
58952 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
58953 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
58954 | 'meridiem at ' + t1.format('HH:mm')); | |
58955 | } | |
58956 | } | |
58957 | }); | |
58958 | ||
58959 | test('date format correctness', function (assert) { | |
58960 | var data, tokens; | |
58961 | data = moment.localeData()._longDateFormat; | |
58962 | tokens = objectKeys(data); | |
58963 | each(tokens, function (srchToken) { | |
58964 | // Check each format string to make sure it does not contain any | |
58965 | // tokens that need to be expanded. | |
58966 | each(tokens, function (baseToken) { | |
58967 | // strip escaped sequences | |
58968 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
58969 | assert.equal(false, !!~format.indexOf(srchToken), | |
58970 | 'contains ' + srchToken + ' in ' + baseToken); | |
58971 | }); | |
58972 | }); | |
58973 | }); | |
58974 | ||
58975 | test('month parsing correctness', function (assert) { | |
58976 | var i, m; | |
58977 | ||
58978 | if (locale === 'tr') { | |
58979 | // I can't fix it :( | |
58980 | expect(0); | |
58981 | return; | |
58982 | } | |
58983 | function tester(format) { | |
58984 | var r; | |
58985 | r = moment(m.format(format), format); | |
58986 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
58987 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
58988 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
58989 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
58990 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
58991 | ||
58992 | r = moment(m.format(format), format, true); | |
58993 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
58994 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
58995 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
58996 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
58997 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
58998 | } | |
58999 | ||
59000 | for (i = 0; i < 12; ++i) { | |
59001 | m = moment([2015, i, 15, 18]); | |
59002 | tester('MMM'); | |
59003 | tester('MMM.'); | |
59004 | tester('MMMM'); | |
59005 | tester('MMMM.'); | |
59006 | } | |
59007 | }); | |
59008 | ||
59009 | test('weekday parsing correctness', function (assert) { | |
59010 | var i, m; | |
59011 | ||
59012 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
59013 | // tr, az: There is a lower-case letter (ı), that converted to | |
59014 | // upper then lower changes to i | |
59015 | // ro: there is the letter ț which behaves weird under IE8 | |
59016 | expect(0); | |
59017 | return; | |
59018 | } | |
59019 | function tester(format) { | |
59020 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
59021 | r = moment(m.format(format), format); | |
59022 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
59023 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
59024 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
59025 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
59026 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
59027 | ||
59028 | r = moment(m.format(format), format, true); | |
59029 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
59030 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
59031 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
59032 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
59033 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
59034 | } | |
59035 | ||
59036 | for (i = 0; i < 7; ++i) { | |
59037 | m = moment.utc([2015, 0, i + 1, 18]); | |
59038 | tester('dd'); | |
59039 | tester('ddd'); | |
59040 | tester('dddd'); | |
59041 | } | |
59042 | }); | |
59043 | ||
59044 | test('valid localeData', function (assert) { | |
59045 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
59046 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
59047 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
59048 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
59049 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
59050 | }); | |
59051 | } | |
59052 | ||
59053 | function setupDeprecationHandler(test, moment$$1, scope) { | |
59054 | test._expectedDeprecations = null; | |
59055 | test._observedDeprecations = null; | |
59056 | test._oldSupress = moment$$1.suppressDeprecationWarnings; | |
59057 | moment$$1.suppressDeprecationWarnings = true; | |
59058 | test.expectedDeprecations = function () { | |
59059 | test._expectedDeprecations = arguments; | |
59060 | test._observedDeprecations = []; | |
59061 | }; | |
59062 | moment$$1.deprecationHandler = function (name, msg) { | |
59063 | var deprecationId = matchedDeprecation(name, msg, test._expectedDeprecations); | |
59064 | if (deprecationId === -1) { | |
59065 | throw new Error('Unexpected deprecation thrown name=' + | |
59066 | name + ' msg=' + msg); | |
59067 | } | |
59068 | test._observedDeprecations[deprecationId] = 1; | |
59069 | }; | |
59070 | } | |
59071 | ||
59072 | function teardownDeprecationHandler(test, moment$$1, scope) { | |
59073 | moment$$1.suppressDeprecationWarnings = test._oldSupress; | |
59074 | ||
59075 | if (test._expectedDeprecations != null) { | |
59076 | var missedDeprecations = []; | |
59077 | each(test._expectedDeprecations, function (deprecationPattern, id) { | |
59078 | if (test._observedDeprecations[id] !== 1) { | |
59079 | missedDeprecations.push(deprecationPattern); | |
59080 | } | |
59081 | }); | |
59082 | if (missedDeprecations.length !== 0) { | |
59083 | throw new Error('Expected deprecation warnings did not happen: ' + | |
59084 | missedDeprecations.join(' ')); | |
59085 | } | |
59086 | } | |
59087 | } | |
59088 | ||
59089 | function matchedDeprecation(name, msg, deprecations) { | |
59090 | if (deprecations == null) { | |
59091 | return -1; | |
59092 | } | |
59093 | for (var i = 0; i < deprecations.length; ++i) { | |
59094 | if (name != null && name === deprecations[i]) { | |
59095 | return i; | |
59096 | } | |
59097 | if (msg != null && msg.substring(0, deprecations[i].length) === deprecations[i]) { | |
59098 | return i; | |
59099 | } | |
59100 | } | |
59101 | return -1; | |
59102 | } | |
59103 | ||
59104 | /*global QUnit:false*/ | |
59105 | ||
59106 | var test = QUnit.test; | |
59107 | ||
59108 | var expect = QUnit.expect; | |
59109 | ||
59110 | function module$1 (name, lifecycle) { | |
59111 | QUnit.module(name, { | |
59112 | setup : function () { | |
59113 | moment.locale('en'); | |
59114 | moment.createFromInputFallback = function (config) { | |
59115 | throw new Error('input not handled by moment: ' + config._i); | |
59116 | }; | |
59117 | setupDeprecationHandler(test, moment, 'core'); | |
59118 | if (lifecycle && lifecycle.setup) { | |
59119 | lifecycle.setup(); | |
59120 | } | |
59121 | }, | |
59122 | teardown : function () { | |
59123 | teardownDeprecationHandler(test, moment, 'core'); | |
59124 | if (lifecycle && lifecycle.teardown) { | |
59125 | lifecycle.teardown(); | |
59126 | } | |
59127 | } | |
59128 | }); | |
59129 | } | |
59130 | ||
59131 | 59335 | function hasOwnProp(a, b) { |
59132 | 59336 | return Object.prototype.hasOwnProperty.call(a, b); |
59337 | } | |
59338 | ||
59339 | var aliases = {}; | |
59340 | ||
59341 | function addUnitAlias (unit, shorthand) { | |
59342 | var lowerCase = unit.toLowerCase(); | |
59343 | aliases[lowerCase] = aliases[lowerCase + 's'] = aliases[shorthand] = unit; | |
59344 | } | |
59345 | ||
59346 | var hookCallback; | |
59347 | ||
59348 | function hooks () { | |
59349 | return hookCallback.apply(null, arguments); | |
59350 | } | |
59351 | ||
59352 | function isFunction(input) { | |
59353 | return input instanceof Function || Object.prototype.toString.call(input) === '[object Function]'; | |
59354 | } | |
59355 | ||
59356 | function zeroFill(number, targetLength, forceSign) { | |
59357 | var absNumber = '' + Math.abs(number), | |
59358 | zerosToFill = targetLength - absNumber.length, | |
59359 | sign = number >= 0; | |
59360 | return (sign ? (forceSign ? '+' : '') : '-') + | |
59361 | Math.pow(10, Math.max(0, zerosToFill)).toString().substr(1) + absNumber; | |
59362 | } | |
59363 | ||
59364 | var formatTokenFunctions = {}; | |
59365 | ||
59366 | // token: 'M' | |
59367 | // padded: ['MM', 2] | |
59368 | // ordinal: 'Mo' | |
59369 | // callback: function () { this.month() + 1 } | |
59370 | function addFormatToken (token, padded, ordinal, callback) { | |
59371 | var func = callback; | |
59372 | if (typeof callback === 'string') { | |
59373 | func = function () { | |
59374 | return this[callback](); | |
59375 | }; | |
59376 | } | |
59377 | if (token) { | |
59378 | formatTokenFunctions[token] = func; | |
59379 | } | |
59380 | if (padded) { | |
59381 | formatTokenFunctions[padded[0]] = function () { | |
59382 | return zeroFill(func.apply(this, arguments), padded[1], padded[2]); | |
59383 | }; | |
59384 | } | |
59385 | if (ordinal) { | |
59386 | formatTokenFunctions[ordinal] = function () { | |
59387 | return this.localeData().ordinal(func.apply(this, arguments), token); | |
59388 | }; | |
59389 | } | |
59390 | } | |
59391 | ||
59392 | // format date using native date object | |
59393 | ||
59394 | // 0 - 9 | |
59395 | var match2 = /\d\d/; // 00 - 99 | |
59396 | // 000 - 999 | |
59397 | var match4 = /\d{4}/; // 0000 - 9999 | |
59398 | var match6 = /[+-]?\d{6}/; // -999999 - 999999 | |
59399 | var match1to2 = /\d\d?/; // 0 - 99 | |
59400 | var match3to4 = /\d\d\d\d?/; // 999 - 9999 | |
59401 | var match5to6 = /\d\d\d\d\d\d?/; // 99999 - 999999 | |
59402 | // 0 - 999 | |
59403 | var match1to4 = /\d{1,4}/; // 0 - 9999 | |
59404 | var match1to6 = /[+-]?\d{1,6}/; // -999999 - 999999 | |
59405 | ||
59406 | // 0 - inf | |
59407 | var matchSigned = /[+-]?\d+/; // -inf - inf | |
59408 | ||
59409 | // +00:00 -00:00 +0000 -0000 or Z | |
59410 | // +00 -00 +00:00 -00:00 +0000 -0000 or Z | |
59411 | ||
59412 | // 123456789 123456789.123 | |
59413 | ||
59414 | // any word (or two) characters or numbers including two/three word month in arabic. | |
59415 | // includes scottish gaelic two word and hyphenated months | |
59416 | ||
59417 | ||
59418 | ||
59419 | var regexes = {}; | |
59420 | ||
59421 | function addRegexToken (token, regex, strictRegex) { | |
59422 | regexes[token] = isFunction(regex) ? regex : function (isStrict, localeData) { | |
59423 | return (isStrict && strictRegex) ? strictRegex : regex; | |
59424 | }; | |
59425 | } | |
59426 | ||
59427 | function isNumber(input) { | |
59428 | return typeof input === 'number' || Object.prototype.toString.call(input) === '[object Number]'; | |
59429 | } | |
59430 | ||
59431 | function absFloor (number) { | |
59432 | if (number < 0) { | |
59433 | // -0 -> 0 | |
59434 | return Math.ceil(number) || 0; | |
59435 | } else { | |
59436 | return Math.floor(number); | |
59437 | } | |
59438 | } | |
59439 | ||
59440 | function toInt(argumentForCoercion) { | |
59441 | var coercedNumber = +argumentForCoercion, | |
59442 | value = 0; | |
59443 | ||
59444 | if (coercedNumber !== 0 && isFinite(coercedNumber)) { | |
59445 | value = absFloor(coercedNumber); | |
59446 | } | |
59447 | ||
59448 | return value; | |
59449 | } | |
59450 | ||
59451 | var tokens = {}; | |
59452 | ||
59453 | function addParseToken (token, callback) { | |
59454 | var i, func = callback; | |
59455 | if (typeof token === 'string') { | |
59456 | token = [token]; | |
59457 | } | |
59458 | if (isNumber(callback)) { | |
59459 | func = function (input, array) { | |
59460 | array[callback] = toInt(input); | |
59461 | }; | |
59462 | } | |
59463 | for (i = 0; i < token.length; i++) { | |
59464 | tokens[token[i]] = func; | |
59465 | } | |
59466 | } | |
59467 | ||
59468 | function addWeekParseToken (token, callback) { | |
59469 | addParseToken(token, function (input, array, config, token) { | |
59470 | config._w = config._w || {}; | |
59471 | callback(input, config._w, config, token); | |
59472 | }); | |
59473 | } | |
59474 | ||
59475 | var YEAR = 0; | |
59476 | var MONTH = 1; | |
59477 | ||
59478 | var HOUR = 3; | |
59479 | var MINUTE = 4; | |
59480 | var SECOND = 5; | |
59481 | ||
59482 | // FORMATTING | |
59483 | ||
59484 | addFormatToken('Y', 0, 0, function () { | |
59485 | var y = this.year(); | |
59486 | return y <= 9999 ? '' + y : '+' + y; | |
59487 | }); | |
59488 | ||
59489 | addFormatToken(0, ['YY', 2], 0, function () { | |
59490 | return this.year() % 100; | |
59491 | }); | |
59492 | ||
59493 | addFormatToken(0, ['YYYY', 4], 0, 'year'); | |
59494 | addFormatToken(0, ['YYYYY', 5], 0, 'year'); | |
59495 | addFormatToken(0, ['YYYYYY', 6, true], 0, 'year'); | |
59496 | ||
59497 | // ALIASES | |
59498 | ||
59499 | addUnitAlias('year', 'y'); | |
59500 | ||
59501 | // PARSING | |
59502 | ||
59503 | addRegexToken('Y', matchSigned); | |
59504 | addRegexToken('YY', match1to2, match2); | |
59505 | addRegexToken('YYYY', match1to4, match4); | |
59506 | addRegexToken('YYYYY', match1to6, match6); | |
59507 | addRegexToken('YYYYYY', match1to6, match6); | |
59508 | ||
59509 | addParseToken(['YYYYY', 'YYYYYY'], YEAR); | |
59510 | addParseToken('YYYY', function (input, array) { | |
59511 | array[YEAR] = input.length === 2 ? hooks.parseTwoDigitYear(input) : toInt(input); | |
59512 | }); | |
59513 | addParseToken('YY', function (input, array) { | |
59514 | array[YEAR] = hooks.parseTwoDigitYear(input); | |
59515 | }); | |
59516 | addParseToken('Y', function (input, array) { | |
59517 | array[YEAR] = parseInt(input, 10); | |
59518 | }); | |
59519 | ||
59520 | // HELPERS | |
59521 | ||
59522 | ||
59523 | ||
59524 | function isLeapYear(year) { | |
59525 | return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0; | |
59526 | } | |
59527 | ||
59528 | // HOOKS | |
59529 | ||
59530 | hooks.parseTwoDigitYear = function (input) { | |
59531 | return toInt(input) + (toInt(input) > 68 ? 1900 : 2000); | |
59532 | }; | |
59533 | ||
59534 | // MOMENTS | |
59535 | ||
59536 | // MOMENTS | |
59537 | ||
59538 | function isArray(input) { | |
59539 | return input instanceof Array || Object.prototype.toString.call(input) === '[object Array]'; | |
59540 | } | |
59541 | ||
59542 | function mod(n, x) { | |
59543 | return ((n % x) + x) % x; | |
59544 | } | |
59545 | ||
59546 | var indexOf; | |
59547 | ||
59548 | if (Array.prototype.indexOf) { | |
59549 | indexOf = Array.prototype.indexOf; | |
59550 | } else { | |
59551 | indexOf = function (o) { | |
59552 | // I know | |
59553 | var i; | |
59554 | for (i = 0; i < this.length; ++i) { | |
59555 | if (this[i] === o) { | |
59556 | return i; | |
59557 | } | |
59558 | } | |
59559 | return -1; | |
59560 | }; | |
59561 | } | |
59562 | ||
59563 | function isObject(input) { | |
59564 | // IE8 will treat undefined and null as object if it wasn't for | |
59565 | // input != null | |
59566 | return input != null && Object.prototype.toString.call(input) === '[object Object]'; | |
59567 | } | |
59568 | ||
59569 | function isUndefined(input) { | |
59570 | return input === void 0; | |
59133 | 59571 | } |
59134 | 59572 | |
59135 | 59573 | function extend(a, b) { |
59150 | 59588 | return a; |
59151 | 59589 | } |
59152 | 59590 | |
59153 | var hookCallback; | |
59154 | ||
59155 | function hooks () { | |
59156 | return hookCallback.apply(null, arguments); | |
59591 | function defaultParsingFlags() { | |
59592 | // We need to deep clone this object. | |
59593 | return { | |
59594 | empty : false, | |
59595 | unusedTokens : [], | |
59596 | unusedInput : [], | |
59597 | overflow : -2, | |
59598 | charsLeftOver : 0, | |
59599 | nullInput : false, | |
59600 | invalidMonth : null, | |
59601 | invalidFormat : false, | |
59602 | userInvalidated : false, | |
59603 | iso : false, | |
59604 | parsedDateParts : [], | |
59605 | meridiem : null, | |
59606 | rfc2822 : false, | |
59607 | weekdayMismatch : false | |
59608 | }; | |
59609 | } | |
59610 | ||
59611 | function getParsingFlags(m) { | |
59612 | if (m._pf == null) { | |
59613 | m._pf = defaultParsingFlags(); | |
59614 | } | |
59615 | return m._pf; | |
59616 | } | |
59617 | ||
59618 | var some; | |
59619 | if (Array.prototype.some) { | |
59620 | some = Array.prototype.some; | |
59621 | } else { | |
59622 | some = function (fun) { | |
59623 | var t = Object(this); | |
59624 | var len = t.length >>> 0; | |
59625 | ||
59626 | for (var i = 0; i < len; i++) { | |
59627 | if (i in t && fun.call(this, t[i], i, t)) { | |
59628 | return true; | |
59629 | } | |
59630 | } | |
59631 | ||
59632 | return false; | |
59633 | }; | |
59634 | } | |
59635 | ||
59636 | // Plugins that add properties should also add the key here (null value), | |
59637 | // so we can properly clone ourselves. | |
59638 | var momentProperties = hooks.momentProperties = []; | |
59639 | ||
59640 | ||
59641 | ||
59642 | // Moment prototype object | |
59643 | ||
59644 | // compare two arrays, return the number of differences | |
59645 | function compareArrays(array1, array2, dontConvert) { | |
59646 | var len = Math.min(array1.length, array2.length), | |
59647 | lengthDiff = Math.abs(array1.length - array2.length), | |
59648 | diffs = 0, | |
59649 | i; | |
59650 | for (i = 0; i < len; i++) { | |
59651 | if ((dontConvert && array1[i] !== array2[i]) || | |
59652 | (!dontConvert && toInt(array1[i]) !== toInt(array2[i]))) { | |
59653 | diffs++; | |
59654 | } | |
59655 | } | |
59656 | return diffs + lengthDiff; | |
59157 | 59657 | } |
59158 | 59658 | |
59159 | 59659 | function warn(msg) { |
59195 | 59695 | |
59196 | 59696 | var deprecations = {}; |
59197 | 59697 | |
59198 | ||
59698 | function deprecateSimple(name, msg) { | |
59699 | if (hooks.deprecationHandler != null) { | |
59700 | hooks.deprecationHandler(name, msg); | |
59701 | } | |
59702 | if (!deprecations[name]) { | |
59703 | warn(msg); | |
59704 | deprecations[name] = true; | |
59705 | } | |
59706 | } | |
59199 | 59707 | |
59200 | 59708 | hooks.suppressDeprecationWarnings = false; |
59201 | 59709 | hooks.deprecationHandler = null; |
59202 | 59710 | |
59203 | module$1('deprecate'); | |
59204 | ||
59205 | test('deprecate', function (assert) { | |
59206 | // NOTE: hooks inside deprecate.js and moment are different, so this is can | |
59207 | // not be test.expectedDeprecations(...) | |
59208 | var fn = function () {}; | |
59209 | var deprecatedFn = deprecate('testing deprecation', fn); | |
59210 | deprecatedFn(); | |
59211 | ||
59212 | expect(0); | |
59711 | function mergeConfigs(parentConfig, childConfig) { | |
59712 | var res = extend({}, parentConfig), prop; | |
59713 | for (prop in childConfig) { | |
59714 | if (hasOwnProp(childConfig, prop)) { | |
59715 | if (isObject(parentConfig[prop]) && isObject(childConfig[prop])) { | |
59716 | res[prop] = {}; | |
59717 | extend(res[prop], parentConfig[prop]); | |
59718 | extend(res[prop], childConfig[prop]); | |
59719 | } else if (childConfig[prop] != null) { | |
59720 | res[prop] = childConfig[prop]; | |
59721 | } else { | |
59722 | delete res[prop]; | |
59723 | } | |
59724 | } | |
59725 | } | |
59726 | for (prop in parentConfig) { | |
59727 | if (hasOwnProp(parentConfig, prop) && | |
59728 | !hasOwnProp(childConfig, prop) && | |
59729 | isObject(parentConfig[prop])) { | |
59730 | // make sure changes to properties don't modify parent config | |
59731 | res[prop] = extend({}, res[prop]); | |
59732 | } | |
59733 | } | |
59734 | return res; | |
59735 | } | |
59736 | ||
59737 | function Locale(config) { | |
59738 | if (config != null) { | |
59739 | this.set(config); | |
59740 | } | |
59741 | } | |
59742 | ||
59743 | var keys; | |
59744 | ||
59745 | if (Object.keys) { | |
59746 | keys = Object.keys; | |
59747 | } else { | |
59748 | keys = function (obj) { | |
59749 | var i, res = []; | |
59750 | for (i in obj) { | |
59751 | if (hasOwnProp(obj, i)) { | |
59752 | res.push(i); | |
59753 | } | |
59754 | } | |
59755 | return res; | |
59756 | }; | |
59757 | } | |
59758 | ||
59759 | var defaultCalendar = { | |
59760 | sameDay : '[Today at] LT', | |
59761 | nextDay : '[Tomorrow at] LT', | |
59762 | nextWeek : 'dddd [at] LT', | |
59763 | lastDay : '[Yesterday at] LT', | |
59764 | lastWeek : '[Last] dddd [at] LT', | |
59765 | sameElse : 'L' | |
59766 | }; | |
59767 | ||
59768 | var defaultLongDateFormat = { | |
59769 | LTS : 'h:mm:ss A', | |
59770 | LT : 'h:mm A', | |
59771 | L : 'MM/DD/YYYY', | |
59772 | LL : 'MMMM D, YYYY', | |
59773 | LLL : 'MMMM D, YYYY h:mm A', | |
59774 | LLLL : 'dddd, MMMM D, YYYY h:mm A' | |
59775 | }; | |
59776 | ||
59777 | var defaultInvalidDate = 'Invalid date'; | |
59778 | ||
59779 | var defaultOrdinal = '%d'; | |
59780 | var defaultDayOfMonthOrdinalParse = /\d{1,2}/; | |
59781 | ||
59782 | var defaultRelativeTime = { | |
59783 | future : 'in %s', | |
59784 | past : '%s ago', | |
59785 | s : 'a few seconds', | |
59786 | ss : '%d seconds', | |
59787 | m : 'a minute', | |
59788 | mm : '%d minutes', | |
59789 | h : 'an hour', | |
59790 | hh : '%d hours', | |
59791 | d : 'a day', | |
59792 | dd : '%d days', | |
59793 | M : 'a month', | |
59794 | MM : '%d months', | |
59795 | y : 'a year', | |
59796 | yy : '%d years' | |
59797 | }; | |
59798 | ||
59799 | // https://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday | |
59800 | ||
59801 | // FORMATTING | |
59802 | ||
59803 | addFormatToken('w', ['ww', 2], 'wo', 'week'); | |
59804 | addFormatToken('W', ['WW', 2], 'Wo', 'isoWeek'); | |
59805 | ||
59806 | // ALIASES | |
59807 | ||
59808 | addUnitAlias('week', 'w'); | |
59809 | addUnitAlias('isoWeek', 'W'); | |
59810 | ||
59811 | // PARSING | |
59812 | ||
59813 | addRegexToken('w', match1to2); | |
59814 | addRegexToken('ww', match1to2, match2); | |
59815 | addRegexToken('W', match1to2); | |
59816 | addRegexToken('WW', match1to2, match2); | |
59817 | ||
59818 | addWeekParseToken(['w', 'ww', 'W', 'WW'], function (input, week, config, token) { | |
59819 | week[token.substr(0, 1)] = toInt(input); | |
59820 | }); | |
59821 | ||
59822 | // HELPERS | |
59823 | ||
59824 | // LOCALES | |
59825 | ||
59826 | ||
59827 | ||
59828 | var defaultLocaleWeek = { | |
59829 | dow : 0, // Sunday is the first day of the week. | |
59830 | doy : 6 // The week that contains Jan 1st is the first week of the year. | |
59831 | }; | |
59832 | ||
59833 | ||
59834 | ||
59835 | ||
59836 | ||
59837 | // MOMENTS | |
59838 | ||
59839 | // FORMATTING | |
59840 | ||
59841 | addFormatToken('d', 0, 'do', 'day'); | |
59842 | ||
59843 | addFormatToken('dd', 0, 0, function (format) { | |
59844 | return this.localeData().weekdaysMin(this, format); | |
59845 | }); | |
59846 | ||
59847 | addFormatToken('ddd', 0, 0, function (format) { | |
59848 | return this.localeData().weekdaysShort(this, format); | |
59849 | }); | |
59850 | ||
59851 | addFormatToken('dddd', 0, 0, function (format) { | |
59852 | return this.localeData().weekdays(this, format); | |
59853 | }); | |
59854 | ||
59855 | addFormatToken('e', 0, 0, 'weekday'); | |
59856 | addFormatToken('E', 0, 0, 'isoWeekday'); | |
59857 | ||
59858 | // ALIASES | |
59859 | ||
59860 | addUnitAlias('day', 'd'); | |
59861 | addUnitAlias('weekday', 'e'); | |
59862 | addUnitAlias('isoWeekday', 'E'); | |
59863 | ||
59864 | // PARSING | |
59865 | ||
59866 | addRegexToken('d', match1to2); | |
59867 | addRegexToken('e', match1to2); | |
59868 | addRegexToken('E', match1to2); | |
59869 | addRegexToken('dd', function (isStrict, locale) { | |
59870 | return locale.weekdaysMinRegex(isStrict); | |
59871 | }); | |
59872 | addRegexToken('ddd', function (isStrict, locale) { | |
59873 | return locale.weekdaysShortRegex(isStrict); | |
59874 | }); | |
59875 | addRegexToken('dddd', function (isStrict, locale) { | |
59876 | return locale.weekdaysRegex(isStrict); | |
59877 | }); | |
59878 | ||
59879 | addWeekParseToken(['dd', 'ddd', 'dddd'], function (input, week, config, token) { | |
59880 | var weekday = config._locale.weekdaysParse(input, token, config._strict); | |
59881 | // if we didn't get a weekday name, mark the date as invalid | |
59882 | if (weekday != null) { | |
59883 | week.d = weekday; | |
59884 | } else { | |
59885 | getParsingFlags(config).invalidWeekday = input; | |
59886 | } | |
59887 | }); | |
59888 | ||
59889 | addWeekParseToken(['d', 'e', 'E'], function (input, week, config, token) { | |
59890 | week[token] = toInt(input); | |
59891 | }); | |
59892 | ||
59893 | // LOCALES | |
59894 | ||
59895 | var defaultLocaleWeekdays = 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'); | |
59896 | ||
59897 | ||
59898 | var defaultLocaleWeekdaysShort = 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'); | |
59899 | ||
59900 | ||
59901 | var defaultLocaleWeekdaysMin = 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'); | |
59902 | ||
59903 | ||
59904 | ||
59905 | ||
59906 | // MOMENTS | |
59907 | ||
59908 | // FORMATTING | |
59909 | ||
59910 | function hFormat() { | |
59911 | return this.hours() % 12 || 12; | |
59912 | } | |
59913 | ||
59914 | function kFormat() { | |
59915 | return this.hours() || 24; | |
59916 | } | |
59917 | ||
59918 | addFormatToken('H', ['HH', 2], 0, 'hour'); | |
59919 | addFormatToken('h', ['hh', 2], 0, hFormat); | |
59920 | addFormatToken('k', ['kk', 2], 0, kFormat); | |
59921 | ||
59922 | addFormatToken('hmm', 0, 0, function () { | |
59923 | return '' + hFormat.apply(this) + zeroFill(this.minutes(), 2); | |
59924 | }); | |
59925 | ||
59926 | addFormatToken('hmmss', 0, 0, function () { | |
59927 | return '' + hFormat.apply(this) + zeroFill(this.minutes(), 2) + | |
59928 | zeroFill(this.seconds(), 2); | |
59929 | }); | |
59930 | ||
59931 | addFormatToken('Hmm', 0, 0, function () { | |
59932 | return '' + this.hours() + zeroFill(this.minutes(), 2); | |
59933 | }); | |
59934 | ||
59935 | addFormatToken('Hmmss', 0, 0, function () { | |
59936 | return '' + this.hours() + zeroFill(this.minutes(), 2) + | |
59937 | zeroFill(this.seconds(), 2); | |
59938 | }); | |
59939 | ||
59940 | function meridiem (token, lowercase) { | |
59941 | addFormatToken(token, 0, 0, function () { | |
59942 | return this.localeData().meridiem(this.hours(), this.minutes(), lowercase); | |
59943 | }); | |
59944 | } | |
59945 | ||
59946 | meridiem('a', true); | |
59947 | meridiem('A', false); | |
59948 | ||
59949 | // ALIASES | |
59950 | ||
59951 | addUnitAlias('hour', 'h'); | |
59952 | ||
59953 | // PARSING | |
59954 | ||
59955 | function matchMeridiem (isStrict, locale) { | |
59956 | return locale._meridiemParse; | |
59957 | } | |
59958 | ||
59959 | addRegexToken('a', matchMeridiem); | |
59960 | addRegexToken('A', matchMeridiem); | |
59961 | addRegexToken('H', match1to2); | |
59962 | addRegexToken('h', match1to2); | |
59963 | addRegexToken('k', match1to2); | |
59964 | addRegexToken('HH', match1to2, match2); | |
59965 | addRegexToken('hh', match1to2, match2); | |
59966 | addRegexToken('kk', match1to2, match2); | |
59967 | ||
59968 | addRegexToken('hmm', match3to4); | |
59969 | addRegexToken('hmmss', match5to6); | |
59970 | addRegexToken('Hmm', match3to4); | |
59971 | addRegexToken('Hmmss', match5to6); | |
59972 | ||
59973 | addParseToken(['H', 'HH'], HOUR); | |
59974 | addParseToken(['k', 'kk'], function (input, array, config) { | |
59975 | var kInput = toInt(input); | |
59976 | array[HOUR] = kInput === 24 ? 0 : kInput; | |
59977 | }); | |
59978 | addParseToken(['a', 'A'], function (input, array, config) { | |
59979 | config._isPm = config._locale.isPM(input); | |
59980 | config._meridiem = input; | |
59981 | }); | |
59982 | addParseToken(['h', 'hh'], function (input, array, config) { | |
59983 | array[HOUR] = toInt(input); | |
59984 | getParsingFlags(config).bigHour = true; | |
59985 | }); | |
59986 | addParseToken('hmm', function (input, array, config) { | |
59987 | var pos = input.length - 2; | |
59988 | array[HOUR] = toInt(input.substr(0, pos)); | |
59989 | array[MINUTE] = toInt(input.substr(pos)); | |
59990 | getParsingFlags(config).bigHour = true; | |
59991 | }); | |
59992 | addParseToken('hmmss', function (input, array, config) { | |
59993 | var pos1 = input.length - 4; | |
59994 | var pos2 = input.length - 2; | |
59995 | array[HOUR] = toInt(input.substr(0, pos1)); | |
59996 | array[MINUTE] = toInt(input.substr(pos1, 2)); | |
59997 | array[SECOND] = toInt(input.substr(pos2)); | |
59998 | getParsingFlags(config).bigHour = true; | |
59999 | }); | |
60000 | addParseToken('Hmm', function (input, array, config) { | |
60001 | var pos = input.length - 2; | |
60002 | array[HOUR] = toInt(input.substr(0, pos)); | |
60003 | array[MINUTE] = toInt(input.substr(pos)); | |
60004 | }); | |
60005 | addParseToken('Hmmss', function (input, array, config) { | |
60006 | var pos1 = input.length - 4; | |
60007 | var pos2 = input.length - 2; | |
60008 | array[HOUR] = toInt(input.substr(0, pos1)); | |
60009 | array[MINUTE] = toInt(input.substr(pos1, 2)); | |
60010 | array[SECOND] = toInt(input.substr(pos2)); | |
60011 | }); | |
60012 | ||
60013 | // LOCALES | |
60014 | ||
60015 | ||
60016 | ||
60017 | var defaultLocaleMeridiemParse = /[ap]\.?m?\.?/i; | |
60018 | ||
60019 | ||
60020 | ||
60021 | // MOMENTS | |
60022 | ||
60023 | // Setting the hour should keep the time, because the user explicitly | |
60024 | // specified which hour he wants. So trying to maintain the same hour (in | |
60025 | // a new timezone) makes sense. Adding/subtracting hours does not follow | |
60026 | // this rule. | |
60027 | ||
60028 | // months | |
60029 | // week | |
60030 | // weekdays | |
60031 | // meridiem | |
60032 | var baseConfig = { | |
60033 | calendar: defaultCalendar, | |
60034 | longDateFormat: defaultLongDateFormat, | |
60035 | invalidDate: defaultInvalidDate, | |
60036 | ordinal: defaultOrdinal, | |
60037 | dayOfMonthOrdinalParse: defaultDayOfMonthOrdinalParse, | |
60038 | relativeTime: defaultRelativeTime, | |
60039 | ||
60040 | months: defaultLocaleMonths, | |
60041 | monthsShort: defaultLocaleMonthsShort, | |
60042 | ||
60043 | week: defaultLocaleWeek, | |
60044 | ||
60045 | weekdays: defaultLocaleWeekdays, | |
60046 | weekdaysMin: defaultLocaleWeekdaysMin, | |
60047 | weekdaysShort: defaultLocaleWeekdaysShort, | |
60048 | ||
60049 | meridiemParse: defaultLocaleMeridiemParse | |
60050 | }; | |
60051 | ||
60052 | // internal storage for locale config files | |
60053 | var locales = {}; | |
60054 | var localeFamilies = {}; | |
60055 | var globalLocale; | |
60056 | ||
60057 | function normalizeLocale(key) { | |
60058 | return key ? key.toLowerCase().replace('_', '-') : key; | |
60059 | } | |
60060 | ||
60061 | // pick the locale from the array | |
60062 | // try ['en-au', 'en-gb'] as 'en-au', 'en-gb', 'en', as in move through the list trying each | |
60063 | // substring from most specific to least, but move to the next array item if it's a more specific variant than the current root | |
60064 | function chooseLocale(names) { | |
60065 | var i = 0, j, next, locale, split; | |
60066 | ||
60067 | while (i < names.length) { | |
60068 | split = normalizeLocale(names[i]).split('-'); | |
60069 | j = split.length; | |
60070 | next = normalizeLocale(names[i + 1]); | |
60071 | next = next ? next.split('-') : null; | |
60072 | while (j > 0) { | |
60073 | locale = loadLocale(split.slice(0, j).join('-')); | |
60074 | if (locale) { | |
60075 | return locale; | |
60076 | } | |
60077 | if (next && next.length >= j && compareArrays(split, next, true) >= j - 1) { | |
60078 | //the next array item is better than a shallower substring of this one | |
60079 | break; | |
60080 | } | |
60081 | j--; | |
60082 | } | |
60083 | i++; | |
60084 | } | |
60085 | return null; | |
60086 | } | |
60087 | ||
60088 | function loadLocale(name) { | |
60089 | var oldLocale = null; | |
60090 | ||
60091 | // TODO: Find a better way to register and load all the locales in Node | |
60092 | if (!locales[name] && (typeof module !== 'undefined') && | |
60093 | module && module.exports) { | |
60094 | oldLocale = globalLocale._abbr; | |
60095 | try { | |
60096 | // workaround for React Native 0.49+ | |
60097 | var pretendingNotToRequireV1 = require; | |
60098 | pretendingNotToRequireV1('moment/locale/' + name); | |
60099 | } catch (e) { | |
60100 | // In the test environment, the external module 'moment' | |
60101 | // can't be resolved because we're running inside it. | |
60102 | // Fallback to using the old relative import | |
60103 | try { | |
60104 | var pretendingNotToRequireV2 = require; | |
60105 | pretendingNotToRequireV2('./locale/' + name); | |
60106 | } catch (e) { } | |
60107 | } | |
60108 | ||
60109 | // because defineLocale currently also sets the global locale, we | |
60110 | // want to undo that for lazy loaded locales | |
60111 | getSetGlobalLocale(oldLocale); | |
60112 | } | |
60113 | return locales[name]; | |
60114 | } | |
60115 | ||
60116 | // This function will load locale and then set the global locale. If | |
60117 | // no arguments are passed in, it will simply return the current global | |
60118 | // locale key. | |
60119 | function getSetGlobalLocale (key, values) { | |
60120 | var data; | |
60121 | if (key) { | |
60122 | if (isUndefined(values)) { | |
60123 | data = getLocale(key); | |
60124 | } | |
60125 | else { | |
60126 | data = defineLocale(key, values); | |
60127 | } | |
60128 | ||
60129 | if (data) { | |
60130 | // moment.duration._locale = moment._locale = data; | |
60131 | globalLocale = data; | |
60132 | } | |
60133 | } | |
60134 | ||
60135 | return globalLocale._abbr; | |
60136 | } | |
60137 | ||
60138 | function defineLocale (name, config) { | |
60139 | if (config !== null) { | |
60140 | var parentConfig = baseConfig; | |
60141 | config.abbr = name; | |
60142 | if (locales[name] != null) { | |
60143 | deprecateSimple('defineLocaleOverride', | |
60144 | 'use moment.updateLocale(localeName, config) to change ' + | |
60145 | 'an existing locale. moment.defineLocale(localeName, ' + | |
60146 | 'config) should only be used for creating a new locale ' + | |
60147 | 'See http://momentjs.com/guides/#/warnings/define-locale/ for more info.'); | |
60148 | parentConfig = locales[name]._config; | |
60149 | } else if (config.parentLocale != null) { | |
60150 | if (locales[config.parentLocale] != null) { | |
60151 | parentConfig = locales[config.parentLocale]._config; | |
60152 | } else { | |
60153 | if (!localeFamilies[config.parentLocale]) { | |
60154 | localeFamilies[config.parentLocale] = []; | |
60155 | } | |
60156 | localeFamilies[config.parentLocale].push({ | |
60157 | name: name, | |
60158 | config: config | |
60159 | }); | |
60160 | return null; | |
60161 | } | |
60162 | } | |
60163 | locales[name] = new Locale(mergeConfigs(parentConfig, config)); | |
60164 | ||
60165 | if (localeFamilies[name]) { | |
60166 | localeFamilies[name].forEach(function (x) { | |
60167 | defineLocale(x.name, x.config); | |
60168 | }); | |
60169 | } | |
60170 | ||
60171 | // backwards compat for now: also set the locale | |
60172 | // make sure we set the locale AFTER all child locales have been | |
60173 | // created, so we won't end up with the child locale set. | |
60174 | getSetGlobalLocale(name); | |
60175 | ||
60176 | ||
60177 | return locales[name]; | |
60178 | } else { | |
60179 | // useful for testing | |
60180 | delete locales[name]; | |
60181 | return null; | |
60182 | } | |
60183 | } | |
60184 | ||
60185 | ||
60186 | ||
60187 | // returns locale data | |
60188 | function getLocale (key) { | |
60189 | var locale; | |
60190 | ||
60191 | if (key && key._locale && key._locale._abbr) { | |
60192 | key = key._locale._abbr; | |
60193 | } | |
60194 | ||
60195 | if (!key) { | |
60196 | return globalLocale; | |
60197 | } | |
60198 | ||
60199 | if (!isArray(key)) { | |
60200 | //short-circuit everything else | |
60201 | locale = loadLocale(key); | |
60202 | if (locale) { | |
60203 | return locale; | |
60204 | } | |
60205 | key = [key]; | |
60206 | } | |
60207 | ||
60208 | return chooseLocale(key); | |
60209 | } | |
60210 | ||
60211 | // convert an array to a date. | |
60212 | // the array should mirror the parameters below | |
60213 | // note: all values past the year are optional and will default to the lowest possible value. | |
60214 | // [year, month, day , hour, minute, second, millisecond] | |
60215 | ||
60216 | // date from iso format | |
60217 | ||
60218 | ||
60219 | // date and time from ref 2822 format | |
60220 | ||
60221 | ||
60222 | // date from iso format or fallback | |
60223 | ||
60224 | ||
60225 | hooks.createFromInputFallback = deprecate( | |
60226 | 'value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), ' + | |
60227 | 'which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are ' + | |
60228 | 'discouraged and will be removed in an upcoming major release. Please refer to ' + | |
60229 | 'http://momentjs.com/guides/#/warnings/js-date/ for more info.', | |
60230 | function (config) { | |
60231 | config._d = new Date(config._i + (config._useUTC ? ' UTC' : '')); | |
60232 | } | |
60233 | ); | |
60234 | ||
60235 | // constant that refers to the ISO standard | |
60236 | hooks.ISO_8601 = function () {}; | |
60237 | ||
60238 | // constant that refers to the RFC 2822 form | |
60239 | hooks.RFC_2822 = function () {}; | |
60240 | ||
60241 | // date from string and format string | |
60242 | ||
60243 | // date from string and array of format strings | |
60244 | ||
60245 | function daysInMonth(year, month) { | |
60246 | if (isNaN(year) || isNaN(month)) { | |
60247 | return NaN; | |
60248 | } | |
60249 | var modMonth = mod(month, 12); | |
60250 | year += (month - modMonth) / 12; | |
60251 | return modMonth === 1 ? (isLeapYear(year) ? 29 : 28) : (31 - modMonth % 7 % 2); | |
60252 | } | |
60253 | ||
60254 | // FORMATTING | |
60255 | ||
60256 | addFormatToken('M', ['MM', 2], 'Mo', function () { | |
60257 | return this.month() + 1; | |
60258 | }); | |
60259 | ||
60260 | addFormatToken('MMM', 0, 0, function (format) { | |
60261 | return this.localeData().monthsShort(this, format); | |
60262 | }); | |
60263 | ||
60264 | addFormatToken('MMMM', 0, 0, function (format) { | |
60265 | return this.localeData().months(this, format); | |
60266 | }); | |
60267 | ||
60268 | // ALIASES | |
60269 | ||
60270 | addUnitAlias('month', 'M'); | |
60271 | ||
60272 | // PARSING | |
60273 | ||
60274 | addRegexToken('M', match1to2); | |
60275 | addRegexToken('MM', match1to2, match2); | |
60276 | addRegexToken('MMM', function (isStrict, locale) { | |
60277 | return locale.monthsShortRegex(isStrict); | |
60278 | }); | |
60279 | addRegexToken('MMMM', function (isStrict, locale) { | |
60280 | return locale.monthsRegex(isStrict); | |
60281 | }); | |
60282 | ||
60283 | addParseToken(['M', 'MM'], function (input, array) { | |
60284 | array[MONTH] = toInt(input) - 1; | |
60285 | }); | |
60286 | ||
60287 | addParseToken(['MMM', 'MMMM'], function (input, array, config, token) { | |
60288 | var month = config._locale.monthsParse(input, token, config._strict); | |
60289 | // if we didn't find a month name, mark the date as invalid. | |
60290 | if (month != null) { | |
60291 | array[MONTH] = month; | |
60292 | } else { | |
60293 | getParsingFlags(config).invalidMonth = input; | |
60294 | } | |
60295 | }); | |
60296 | ||
60297 | var defaultLocaleMonths = 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'); | |
60298 | ||
60299 | ||
60300 | var defaultLocaleMonthsShort = 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'); | |
60301 | ||
60302 | ||
60303 | ||
60304 | ||
60305 | // MOMENTS | |
60306 | ||
60307 | module$1('days in month'); | |
60308 | ||
60309 | test('days in month', function (assert) { | |
60310 | each([31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], function (days, i) { | |
60311 | var firstDay = moment([2012, i]), | |
60312 | lastDay = moment([2012, i, days]); | |
60313 | assert.equal(firstDay.daysInMonth(), days, firstDay.format('L') + ' should have ' + days + ' days.'); | |
60314 | assert.equal(lastDay.daysInMonth(), days, lastDay.format('L') + ' should have ' + days + ' days.'); | |
60315 | }); | |
60316 | }); | |
60317 | ||
60318 | test('days in month leap years', function (assert) { | |
60319 | assert.equal(moment([2010, 1]).daysInMonth(), 28, 'Feb 2010 should have 28 days'); | |
60320 | assert.equal(moment([2100, 1]).daysInMonth(), 28, 'Feb 2100 should have 28 days'); | |
60321 | assert.equal(moment([2008, 1]).daysInMonth(), 29, 'Feb 2008 should have 29 days'); | |
60322 | assert.equal(moment([2000, 1]).daysInMonth(), 29, 'Feb 2000 should have 29 days'); | |
60323 | }); | |
60324 | ||
60325 | test('days in month with NaN inputs', function (assert) { | |
60326 | assert.ok(isNaN(daysInMonth(2, NaN)), 'month NaN inputs should return NaN'); | |
60327 | assert.ok(isNaN(daysInMonth(NaN, 0)), 'year NaN inputs should return NaN'); | |
60328 | assert.ok(!moment([2010, null, null]).isValid(), 'Invalid date because month is NaN'); | |
60329 | }); | |
60330 | ||
60331 | test('days in month with overflow', function (assert) { | |
60332 | assert.equal(daysInMonth(14, 22), daysInMonth(15, 10), 'positive overflow by 1'); | |
60333 | assert.equal(daysInMonth(14, 122), daysInMonth(24, 2), 'positive overflow by 10'); | |
60334 | assert.equal(daysInMonth(8, -2), daysInMonth(7, 10), 'negative overflow by 1'); | |
60335 | assert.equal(daysInMonth(-2380, -25), daysInMonth(-2383, 11), 'negative overflow by 3'); | |
60336 | }); | |
60337 | ||
60338 | test('days in month consistent with Date()', function (assert) { | |
60339 | var oldMethod = function (year, month) { | |
60340 | return new Date(Date.UTC(year, month + 1, 0)).getUTCDate(); | |
60341 | }; | |
60342 | assert.equal(daysInMonth(14, 22), oldMethod(14, 22), 'positive overflow by 1'); | |
60343 | assert.equal(daysInMonth(14, 122), oldMethod(14, 122), 'positive overflow by 10'); | |
60344 | assert.equal(daysInMonth(8, -2), oldMethod(8, -2), 'negative overflow by 1'); | |
60345 | assert.equal(daysInMonth(-2380, -25), oldMethod(-2380, -25), 'negative overflow by 3'); | |
59213 | 60346 | }); |
59214 | 60347 | |
59215 | 60348 | }))); |
59229 | 60362 | } |
59230 | 60363 | } |
59231 | 60364 | |
59232 | function objectKeys(obj) { | |
59233 | if (Object.keys) { | |
59234 | return Object.keys(obj); | |
59235 | } else { | |
59236 | // IE8 | |
59237 | var res = [], i; | |
59238 | for (i in obj) { | |
59239 | if (obj.hasOwnProperty(i)) { | |
59240 | res.push(i); | |
59241 | } | |
59242 | } | |
59243 | return res; | |
59244 | } | |
59245 | } | |
59246 | ||
59247 | 60365 | // Pick the first defined of two or three arguments. |
59248 | ||
59249 | function defineCommonLocaleTests(locale, options) { | |
59250 | test('lenient day of month ordinal parsing', function (assert) { | |
59251 | var i, ordinalStr, testMoment; | |
59252 | for (i = 1; i <= 31; ++i) { | |
59253 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
59254 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
59255 | assert.equal(testMoment.year(), 2014, | |
59256 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
59257 | assert.equal(testMoment.month(), 0, | |
59258 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
59259 | assert.equal(testMoment.date(), i, | |
59260 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
59261 | } | |
59262 | }); | |
59263 | ||
59264 | test('lenient day of month ordinal parsing of number', function (assert) { | |
59265 | var i, testMoment; | |
59266 | for (i = 1; i <= 31; ++i) { | |
59267 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
59268 | assert.equal(testMoment.year(), 2014, | |
59269 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
59270 | assert.equal(testMoment.month(), 0, | |
59271 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
59272 | assert.equal(testMoment.date(), i, | |
59273 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
59274 | } | |
59275 | }); | |
59276 | ||
59277 | test('strict day of month ordinal parsing', function (assert) { | |
59278 | var i, ordinalStr, testMoment; | |
59279 | for (i = 1; i <= 31; ++i) { | |
59280 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
59281 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
59282 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
59283 | } | |
59284 | }); | |
59285 | ||
59286 | test('meridiem invariant', function (assert) { | |
59287 | var h, m, t1, t2; | |
59288 | for (h = 0; h < 24; ++h) { | |
59289 | for (m = 0; m < 60; m += 15) { | |
59290 | t1 = moment.utc([2000, 0, 1, h, m]); | |
59291 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
59292 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
59293 | 'meridiem at ' + t1.format('HH:mm')); | |
59294 | } | |
59295 | } | |
59296 | }); | |
59297 | ||
59298 | test('date format correctness', function (assert) { | |
59299 | var data, tokens; | |
59300 | data = moment.localeData()._longDateFormat; | |
59301 | tokens = objectKeys(data); | |
59302 | each(tokens, function (srchToken) { | |
59303 | // Check each format string to make sure it does not contain any | |
59304 | // tokens that need to be expanded. | |
59305 | each(tokens, function (baseToken) { | |
59306 | // strip escaped sequences | |
59307 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
59308 | assert.equal(false, !!~format.indexOf(srchToken), | |
59309 | 'contains ' + srchToken + ' in ' + baseToken); | |
59310 | }); | |
59311 | }); | |
59312 | }); | |
59313 | ||
59314 | test('month parsing correctness', function (assert) { | |
59315 | var i, m; | |
59316 | ||
59317 | if (locale === 'tr') { | |
59318 | // I can't fix it :( | |
59319 | expect(0); | |
59320 | return; | |
59321 | } | |
59322 | function tester(format) { | |
59323 | var r; | |
59324 | r = moment(m.format(format), format); | |
59325 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
59326 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
59327 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
59328 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
59329 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
59330 | ||
59331 | r = moment(m.format(format), format, true); | |
59332 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
59333 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
59334 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
59335 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
59336 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
59337 | } | |
59338 | ||
59339 | for (i = 0; i < 12; ++i) { | |
59340 | m = moment([2015, i, 15, 18]); | |
59341 | tester('MMM'); | |
59342 | tester('MMM.'); | |
59343 | tester('MMMM'); | |
59344 | tester('MMMM.'); | |
59345 | } | |
59346 | }); | |
59347 | ||
59348 | test('weekday parsing correctness', function (assert) { | |
59349 | var i, m; | |
59350 | ||
59351 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
59352 | // tr, az: There is a lower-case letter (ı), that converted to | |
59353 | // upper then lower changes to i | |
59354 | // ro: there is the letter ț which behaves weird under IE8 | |
59355 | expect(0); | |
59356 | return; | |
59357 | } | |
59358 | function tester(format) { | |
59359 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
59360 | r = moment(m.format(format), format); | |
59361 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
59362 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
59363 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
59364 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
59365 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
59366 | ||
59367 | r = moment(m.format(format), format, true); | |
59368 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
59369 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
59370 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
59371 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
59372 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
59373 | } | |
59374 | ||
59375 | for (i = 0; i < 7; ++i) { | |
59376 | m = moment.utc([2015, 0, i + 1, 18]); | |
59377 | tester('dd'); | |
59378 | tester('ddd'); | |
59379 | tester('dddd'); | |
59380 | } | |
59381 | }); | |
59382 | ||
59383 | test('valid localeData', function (assert) { | |
59384 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
59385 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
59386 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
59387 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
59388 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
59389 | }); | |
59390 | } | |
59391 | 60366 | |
59392 | 60367 | function setupDeprecationHandler(test, moment$$1, scope) { |
59393 | 60368 | test._expectedDeprecations = null; |
59444 | 60419 | |
59445 | 60420 | var test = QUnit.test; |
59446 | 60421 | |
60422 | ||
60423 | ||
60424 | function module$1 (name, lifecycle) { | |
60425 | QUnit.module(name, { | |
60426 | setup : function () { | |
60427 | moment.locale('en'); | |
60428 | moment.createFromInputFallback = function (config) { | |
60429 | throw new Error('input not handled by moment: ' + config._i); | |
60430 | }; | |
60431 | setupDeprecationHandler(test, moment, 'core'); | |
60432 | if (lifecycle && lifecycle.setup) { | |
60433 | lifecycle.setup(); | |
60434 | } | |
60435 | }, | |
60436 | teardown : function () { | |
60437 | teardownDeprecationHandler(test, moment, 'core'); | |
60438 | if (lifecycle && lifecycle.teardown) { | |
60439 | lifecycle.teardown(); | |
60440 | } | |
60441 | } | |
60442 | }); | |
60443 | } | |
60444 | ||
60445 | module$1('days in year'); | |
60446 | ||
60447 | // https://github.com/moment/moment/issues/3717 | |
60448 | test('YYYYDDD should not parse DDD=000', function (assert) { | |
60449 | assert.equal(moment(7000000, moment.ISO_8601, true).isValid(), false); | |
60450 | assert.equal(moment('7000000', moment.ISO_8601, true).isValid(), false); | |
60451 | assert.equal(moment(7000000, moment.ISO_8601, false).isValid(), false); | |
60452 | }); | |
60453 | ||
60454 | }))); | |
60455 | ||
60456 | ||
60457 | ;(function (global, factory) { | |
60458 | typeof exports === 'object' && typeof module !== 'undefined' | |
60459 | && typeof require === 'function' ? factory(require('../../moment')) : | |
60460 | typeof define === 'function' && define.amd ? define(['../../moment'], factory) : | |
60461 | factory(global.moment) | |
60462 | }(this, (function (moment) { 'use strict'; | |
60463 | ||
60464 | function each(array, callback) { | |
60465 | var i; | |
60466 | for (i = 0; i < array.length; i++) { | |
60467 | callback(array[i], i, array); | |
60468 | } | |
60469 | } | |
60470 | ||
60471 | // Pick the first defined of two or three arguments. | |
60472 | ||
60473 | function setupDeprecationHandler(test, moment$$1, scope) { | |
60474 | test._expectedDeprecations = null; | |
60475 | test._observedDeprecations = null; | |
60476 | test._oldSupress = moment$$1.suppressDeprecationWarnings; | |
60477 | moment$$1.suppressDeprecationWarnings = true; | |
60478 | test.expectedDeprecations = function () { | |
60479 | test._expectedDeprecations = arguments; | |
60480 | test._observedDeprecations = []; | |
60481 | }; | |
60482 | moment$$1.deprecationHandler = function (name, msg) { | |
60483 | var deprecationId = matchedDeprecation(name, msg, test._expectedDeprecations); | |
60484 | if (deprecationId === -1) { | |
60485 | throw new Error('Unexpected deprecation thrown name=' + | |
60486 | name + ' msg=' + msg); | |
60487 | } | |
60488 | test._observedDeprecations[deprecationId] = 1; | |
60489 | }; | |
60490 | } | |
60491 | ||
60492 | function teardownDeprecationHandler(test, moment$$1, scope) { | |
60493 | moment$$1.suppressDeprecationWarnings = test._oldSupress; | |
60494 | ||
60495 | if (test._expectedDeprecations != null) { | |
60496 | var missedDeprecations = []; | |
60497 | each(test._expectedDeprecations, function (deprecationPattern, id) { | |
60498 | if (test._observedDeprecations[id] !== 1) { | |
60499 | missedDeprecations.push(deprecationPattern); | |
60500 | } | |
60501 | }); | |
60502 | if (missedDeprecations.length !== 0) { | |
60503 | throw new Error('Expected deprecation warnings did not happen: ' + | |
60504 | missedDeprecations.join(' ')); | |
60505 | } | |
60506 | } | |
60507 | } | |
60508 | ||
60509 | function matchedDeprecation(name, msg, deprecations) { | |
60510 | if (deprecations == null) { | |
60511 | return -1; | |
60512 | } | |
60513 | for (var i = 0; i < deprecations.length; ++i) { | |
60514 | if (name != null && name === deprecations[i]) { | |
60515 | return i; | |
60516 | } | |
60517 | if (msg != null && msg.substring(0, deprecations[i].length) === deprecations[i]) { | |
60518 | return i; | |
60519 | } | |
60520 | } | |
60521 | return -1; | |
60522 | } | |
60523 | ||
60524 | /*global QUnit:false*/ | |
60525 | ||
60526 | var test = QUnit.test; | |
60527 | ||
59447 | 60528 | var expect = QUnit.expect; |
60529 | ||
60530 | function module$1 (name, lifecycle) { | |
60531 | QUnit.module(name, { | |
60532 | setup : function () { | |
60533 | moment.locale('en'); | |
60534 | moment.createFromInputFallback = function (config) { | |
60535 | throw new Error('input not handled by moment: ' + config._i); | |
60536 | }; | |
60537 | setupDeprecationHandler(test, moment, 'core'); | |
60538 | if (lifecycle && lifecycle.setup) { | |
60539 | lifecycle.setup(); | |
60540 | } | |
60541 | }, | |
60542 | teardown : function () { | |
60543 | teardownDeprecationHandler(test, moment, 'core'); | |
60544 | if (lifecycle && lifecycle.teardown) { | |
60545 | lifecycle.teardown(); | |
60546 | } | |
60547 | } | |
60548 | }); | |
60549 | } | |
60550 | ||
60551 | function hasOwnProp(a, b) { | |
60552 | return Object.prototype.hasOwnProperty.call(a, b); | |
60553 | } | |
60554 | ||
60555 | function extend(a, b) { | |
60556 | for (var i in b) { | |
60557 | if (hasOwnProp(b, i)) { | |
60558 | a[i] = b[i]; | |
60559 | } | |
60560 | } | |
60561 | ||
60562 | if (hasOwnProp(b, 'toString')) { | |
60563 | a.toString = b.toString; | |
60564 | } | |
60565 | ||
60566 | if (hasOwnProp(b, 'valueOf')) { | |
60567 | a.valueOf = b.valueOf; | |
60568 | } | |
60569 | ||
60570 | return a; | |
60571 | } | |
60572 | ||
60573 | var hookCallback; | |
60574 | ||
60575 | function hooks () { | |
60576 | return hookCallback.apply(null, arguments); | |
60577 | } | |
60578 | ||
60579 | function warn(msg) { | |
60580 | if (hooks.suppressDeprecationWarnings === false && | |
60581 | (typeof console !== 'undefined') && console.warn) { | |
60582 | console.warn('Deprecation warning: ' + msg); | |
60583 | } | |
60584 | } | |
60585 | ||
60586 | function deprecate(msg, fn) { | |
60587 | var firstTime = true; | |
60588 | ||
60589 | return extend(function () { | |
60590 | if (hooks.deprecationHandler != null) { | |
60591 | hooks.deprecationHandler(null, msg); | |
60592 | } | |
60593 | if (firstTime) { | |
60594 | var args = []; | |
60595 | var arg; | |
60596 | for (var i = 0; i < arguments.length; i++) { | |
60597 | arg = ''; | |
60598 | if (typeof arguments[i] === 'object') { | |
60599 | arg += '\n[' + i + '] '; | |
60600 | for (var key in arguments[0]) { | |
60601 | arg += key + ': ' + arguments[0][key] + ', '; | |
60602 | } | |
60603 | arg = arg.slice(0, -2); // Remove trailing comma and space | |
60604 | } else { | |
60605 | arg = arguments[i]; | |
60606 | } | |
60607 | args.push(arg); | |
60608 | } | |
60609 | warn(msg + '\nArguments: ' + Array.prototype.slice.call(args).join('') + '\n' + (new Error()).stack); | |
60610 | firstTime = false; | |
60611 | } | |
60612 | return fn.apply(this, arguments); | |
60613 | }, fn); | |
60614 | } | |
60615 | ||
60616 | ||
60617 | ||
60618 | hooks.suppressDeprecationWarnings = false; | |
60619 | hooks.deprecationHandler = null; | |
60620 | ||
60621 | module$1('deprecate'); | |
60622 | ||
60623 | test('deprecate', function (assert) { | |
60624 | // NOTE: hooks inside deprecate.js and moment are different, so this is can | |
60625 | // not be test.expectedDeprecations(...) | |
60626 | var fn = function () {}; | |
60627 | var deprecatedFn = deprecate('testing deprecation', fn); | |
60628 | deprecatedFn(); | |
60629 | ||
60630 | expect(0); | |
60631 | }); | |
60632 | ||
60633 | }))); | |
60634 | ||
60635 | ||
60636 | ;(function (global, factory) { | |
60637 | typeof exports === 'object' && typeof module !== 'undefined' | |
60638 | && typeof require === 'function' ? factory(require('../../moment')) : | |
60639 | typeof define === 'function' && define.amd ? define(['../../moment'], factory) : | |
60640 | factory(global.moment) | |
60641 | }(this, (function (moment) { 'use strict'; | |
60642 | ||
60643 | function each(array, callback) { | |
60644 | var i; | |
60645 | for (i = 0; i < array.length; i++) { | |
60646 | callback(array[i], i, array); | |
60647 | } | |
60648 | } | |
60649 | ||
60650 | // Pick the first defined of two or three arguments. | |
60651 | ||
60652 | function setupDeprecationHandler(test, moment$$1, scope) { | |
60653 | test._expectedDeprecations = null; | |
60654 | test._observedDeprecations = null; | |
60655 | test._oldSupress = moment$$1.suppressDeprecationWarnings; | |
60656 | moment$$1.suppressDeprecationWarnings = true; | |
60657 | test.expectedDeprecations = function () { | |
60658 | test._expectedDeprecations = arguments; | |
60659 | test._observedDeprecations = []; | |
60660 | }; | |
60661 | moment$$1.deprecationHandler = function (name, msg) { | |
60662 | var deprecationId = matchedDeprecation(name, msg, test._expectedDeprecations); | |
60663 | if (deprecationId === -1) { | |
60664 | throw new Error('Unexpected deprecation thrown name=' + | |
60665 | name + ' msg=' + msg); | |
60666 | } | |
60667 | test._observedDeprecations[deprecationId] = 1; | |
60668 | }; | |
60669 | } | |
60670 | ||
60671 | function teardownDeprecationHandler(test, moment$$1, scope) { | |
60672 | moment$$1.suppressDeprecationWarnings = test._oldSupress; | |
60673 | ||
60674 | if (test._expectedDeprecations != null) { | |
60675 | var missedDeprecations = []; | |
60676 | each(test._expectedDeprecations, function (deprecationPattern, id) { | |
60677 | if (test._observedDeprecations[id] !== 1) { | |
60678 | missedDeprecations.push(deprecationPattern); | |
60679 | } | |
60680 | }); | |
60681 | if (missedDeprecations.length !== 0) { | |
60682 | throw new Error('Expected deprecation warnings did not happen: ' + | |
60683 | missedDeprecations.join(' ')); | |
60684 | } | |
60685 | } | |
60686 | } | |
60687 | ||
60688 | function matchedDeprecation(name, msg, deprecations) { | |
60689 | if (deprecations == null) { | |
60690 | return -1; | |
60691 | } | |
60692 | for (var i = 0; i < deprecations.length; ++i) { | |
60693 | if (name != null && name === deprecations[i]) { | |
60694 | return i; | |
60695 | } | |
60696 | if (msg != null && msg.substring(0, deprecations[i].length) === deprecations[i]) { | |
60697 | return i; | |
60698 | } | |
60699 | } | |
60700 | return -1; | |
60701 | } | |
60702 | ||
60703 | /*global QUnit:false*/ | |
60704 | ||
60705 | var test = QUnit.test; | |
60706 | ||
60707 | ||
59448 | 60708 | |
59449 | 60709 | function module$1 (name, lifecycle) { |
59450 | 60710 | QUnit.module(name, { |
59729 | 60989 | } |
59730 | 60990 | } |
59731 | 60991 | |
59732 | function objectKeys(obj) { | |
59733 | if (Object.keys) { | |
59734 | return Object.keys(obj); | |
59735 | } else { | |
59736 | // IE8 | |
59737 | var res = [], i; | |
59738 | for (i in obj) { | |
59739 | if (obj.hasOwnProperty(i)) { | |
59740 | res.push(i); | |
59741 | } | |
59742 | } | |
59743 | return res; | |
59744 | } | |
59745 | } | |
59746 | ||
59747 | 60992 | // Pick the first defined of two or three arguments. |
59748 | ||
59749 | function defineCommonLocaleTests(locale, options) { | |
59750 | test('lenient day of month ordinal parsing', function (assert) { | |
59751 | var i, ordinalStr, testMoment; | |
59752 | for (i = 1; i <= 31; ++i) { | |
59753 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
59754 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
59755 | assert.equal(testMoment.year(), 2014, | |
59756 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
59757 | assert.equal(testMoment.month(), 0, | |
59758 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
59759 | assert.equal(testMoment.date(), i, | |
59760 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
59761 | } | |
59762 | }); | |
59763 | ||
59764 | test('lenient day of month ordinal parsing of number', function (assert) { | |
59765 | var i, testMoment; | |
59766 | for (i = 1; i <= 31; ++i) { | |
59767 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
59768 | assert.equal(testMoment.year(), 2014, | |
59769 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
59770 | assert.equal(testMoment.month(), 0, | |
59771 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
59772 | assert.equal(testMoment.date(), i, | |
59773 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
59774 | } | |
59775 | }); | |
59776 | ||
59777 | test('strict day of month ordinal parsing', function (assert) { | |
59778 | var i, ordinalStr, testMoment; | |
59779 | for (i = 1; i <= 31; ++i) { | |
59780 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
59781 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
59782 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
59783 | } | |
59784 | }); | |
59785 | ||
59786 | test('meridiem invariant', function (assert) { | |
59787 | var h, m, t1, t2; | |
59788 | for (h = 0; h < 24; ++h) { | |
59789 | for (m = 0; m < 60; m += 15) { | |
59790 | t1 = moment.utc([2000, 0, 1, h, m]); | |
59791 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
59792 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
59793 | 'meridiem at ' + t1.format('HH:mm')); | |
59794 | } | |
59795 | } | |
59796 | }); | |
59797 | ||
59798 | test('date format correctness', function (assert) { | |
59799 | var data, tokens; | |
59800 | data = moment.localeData()._longDateFormat; | |
59801 | tokens = objectKeys(data); | |
59802 | each(tokens, function (srchToken) { | |
59803 | // Check each format string to make sure it does not contain any | |
59804 | // tokens that need to be expanded. | |
59805 | each(tokens, function (baseToken) { | |
59806 | // strip escaped sequences | |
59807 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
59808 | assert.equal(false, !!~format.indexOf(srchToken), | |
59809 | 'contains ' + srchToken + ' in ' + baseToken); | |
59810 | }); | |
59811 | }); | |
59812 | }); | |
59813 | ||
59814 | test('month parsing correctness', function (assert) { | |
59815 | var i, m; | |
59816 | ||
59817 | if (locale === 'tr') { | |
59818 | // I can't fix it :( | |
59819 | expect(0); | |
59820 | return; | |
59821 | } | |
59822 | function tester(format) { | |
59823 | var r; | |
59824 | r = moment(m.format(format), format); | |
59825 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
59826 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
59827 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
59828 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
59829 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
59830 | ||
59831 | r = moment(m.format(format), format, true); | |
59832 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
59833 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
59834 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
59835 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
59836 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
59837 | } | |
59838 | ||
59839 | for (i = 0; i < 12; ++i) { | |
59840 | m = moment([2015, i, 15, 18]); | |
59841 | tester('MMM'); | |
59842 | tester('MMM.'); | |
59843 | tester('MMMM'); | |
59844 | tester('MMMM.'); | |
59845 | } | |
59846 | }); | |
59847 | ||
59848 | test('weekday parsing correctness', function (assert) { | |
59849 | var i, m; | |
59850 | ||
59851 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
59852 | // tr, az: There is a lower-case letter (ı), that converted to | |
59853 | // upper then lower changes to i | |
59854 | // ro: there is the letter ț which behaves weird under IE8 | |
59855 | expect(0); | |
59856 | return; | |
59857 | } | |
59858 | function tester(format) { | |
59859 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
59860 | r = moment(m.format(format), format); | |
59861 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
59862 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
59863 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
59864 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
59865 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
59866 | ||
59867 | r = moment(m.format(format), format, true); | |
59868 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
59869 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
59870 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
59871 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
59872 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
59873 | } | |
59874 | ||
59875 | for (i = 0; i < 7; ++i) { | |
59876 | m = moment.utc([2015, 0, i + 1, 18]); | |
59877 | tester('dd'); | |
59878 | tester('ddd'); | |
59879 | tester('dddd'); | |
59880 | } | |
59881 | }); | |
59882 | ||
59883 | test('valid localeData', function (assert) { | |
59884 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
59885 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
59886 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
59887 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
59888 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
59889 | }); | |
59890 | } | |
59891 | 60993 | |
59892 | 60994 | function setupDeprecationHandler(test, moment$$1, scope) { |
59893 | 60995 | test._expectedDeprecations = null; |
59944 | 61046 | |
59945 | 61047 | var test = QUnit.test; |
59946 | 61048 | |
59947 | var expect = QUnit.expect; | |
61049 | ||
59948 | 61050 | |
59949 | 61051 | function module$1 (name, lifecycle) { |
59950 | 61052 | QUnit.module(name, { |
60114 | 61216 | assert.deepEqual(moment.duration(modified), modified, 'cloning modified duration works'); |
60115 | 61217 | }); |
60116 | 61218 | |
61219 | test('explicit cloning', function (assert) { | |
61220 | var durationA = moment.duration(5, 'milliseconds'); | |
61221 | var durationB = durationA.clone(); | |
61222 | durationA.add(5, 'milliseconds'); | |
61223 | assert.notEqual(durationA.milliseconds(), durationB.milliseconds(), 'Calling duration.clone() on a duration will create a clone'); | |
61224 | }); | |
61225 | ||
60117 | 61226 | test('instantiation from 24-hour time zero', function (assert) { |
60118 | 61227 | assert.equal(moment.duration('00:00').years(), 0, '0 years'); |
60119 | 61228 | assert.equal(moment.duration('00:00').days(), 0, '0 days'); |
60227 | 61336 | |
60228 | 61337 | assert.equal(moment.duration('-00:00:15.7205000').seconds(), -15, '15 seconds'); |
60229 | 61338 | assert.equal(moment.duration('-00:00:15.7205000').milliseconds(), -721, '721 milliseconds'); |
61339 | ||
61340 | assert.equal(moment.duration('+00:00:15.7205000').seconds(), 15, '15 seconds'); | |
61341 | assert.equal(moment.duration('+00:00:15.7205000').milliseconds(), 721, '721 milliseconds'); | |
60230 | 61342 | }); |
60231 | 61343 | |
60232 | 61344 | test('instatiation from serialized C# TimeSpan maxValue', function (assert) { |
60253 | 61365 | assert.equal(d.minutes(), -48, '48 minutes'); |
60254 | 61366 | assert.equal(d.seconds(), -5, '5 seconds'); |
60255 | 61367 | assert.equal(d.milliseconds(), -478, '478 milliseconds'); |
61368 | }); | |
61369 | ||
61370 | test('instatiation from serialized C# TimeSpan maxValue with + sign', function (assert) { | |
61371 | var d = moment.duration('+10675199.02:48:05.4775808'); | |
61372 | ||
61373 | assert.equal(d.years(), 29227, '29653 years'); | |
61374 | assert.equal(d.months(), 8, '8 day'); | |
61375 | assert.equal(d.days(), 12, '12 day'); // if you have to change this value -- just do it | |
61376 | ||
61377 | assert.equal(d.hours(), 2, '2 hours'); | |
61378 | assert.equal(d.minutes(), 48, '48 minutes'); | |
61379 | assert.equal(d.seconds(), 5, '5 seconds'); | |
61380 | assert.equal(d.milliseconds(), 478, '478 milliseconds'); | |
60256 | 61381 | }); |
60257 | 61382 | |
60258 | 61383 | test('instantiation from ISO 8601 duration', function (assert) { |
60262 | 61387 | assert.equal(moment.duration('PT1M').asSeconds(), moment.duration({m: 1}).asSeconds(), 'single minute field'); |
60263 | 61388 | assert.equal(moment.duration('P1MT2H').asSeconds(), moment.duration({M: 1, h: 2}).asSeconds(), 'random fields missing'); |
60264 | 61389 | assert.equal(moment.duration('-P60D').asSeconds(), moment.duration({d: -60}).asSeconds(), 'negative days'); |
61390 | assert.equal(moment.duration('+P60D').asSeconds(), moment.duration({d: 60}).asSeconds(), 'positive days'); | |
60265 | 61391 | assert.equal(moment.duration('PT0.5S').asSeconds(), moment.duration({s: 0.5}).asSeconds(), 'fractional seconds'); |
60266 | 61392 | assert.equal(moment.duration('PT0,5S').asSeconds(), moment.duration({s: 0.5}).asSeconds(), 'fractional seconds (comma)'); |
60267 | 61393 | }); |
60272 | 61398 | assert.equal(moment.duration({m: -1}).toISOString(), '-PT1M', 'one minute ago'); |
60273 | 61399 | assert.equal(moment.duration({s: -0.5}).toISOString(), '-PT0.5S', 'one half second ago'); |
60274 | 61400 | assert.equal(moment.duration({y: -1, M: 1}).toISOString(), '-P11M', 'a month after a year ago'); |
61401 | assert.equal(moment.duration({y: -1, h: 1}).toISOString(), '-P1YT-1H', 'an hour after a year ago'); | |
61402 | assert.equal(moment.duration({y: -1, h: 1, m: -1}).toISOString(), '-P1YT-59M', '59 minutes after a year ago'); | |
61403 | assert.equal(moment.duration({y: -1, h: 1, s: -1}).toISOString(), '-P1YT-59M-59S', '59 minutes 59 seconds after a year ago'); | |
61404 | assert.equal(moment.duration({y: -1, h: -1, s: 1}).toISOString(), '-P1YT59M59S', '59 minutes 59 seconds after a year ago'); | |
61405 | assert.equal(moment.duration({y: -1, d: 2}).toISOString(), '-P1Y-2D', '1 year less 2 days ago'); | |
61406 | assert.equal(moment.duration({M: +1}).toISOString(), 'P1M', 'one month ago'); | |
61407 | assert.equal(moment.duration({m: +1}).toISOString(), 'PT1M', 'one minute ago'); | |
61408 | assert.equal(moment.duration({s: +0.5}).toISOString(), 'PT0.5S', 'one half second ago'); | |
61409 | assert.equal(moment.duration({y: +1, M: 1}).toISOString(), 'P1Y1M', 'a month after a year in future'); | |
61410 | assert.equal(moment.duration({y: -1, h: 1}).toISOString(), '-P1YT-1H', 'an hour after a year ago'); | |
60275 | 61411 | assert.equal(moment.duration({}).toISOString(), 'P0D', 'zero duration'); |
60276 | 61412 | assert.equal(moment.duration({M: 16, d:40, s: 86465}).toISOString(), 'P1Y4M40DT24H1M5S', 'all fields'); |
61413 | assert.equal(moment.duration({ms: 123456789}).toISOString(), 'PT34H17M36.789S', 'check floating-point errors'); | |
61414 | assert.equal(moment.duration({ms: 31952}).toISOString(), 'PT31.952S', 'check floating-point errors'); | |
60277 | 61415 | }); |
60278 | 61416 | |
60279 | 61417 | test('toString acts as toISOString', function (assert) { |
60282 | 61420 | assert.equal(moment.duration({m: -1}).toString(), '-PT1M', 'one minute ago'); |
60283 | 61421 | assert.equal(moment.duration({s: -0.5}).toString(), '-PT0.5S', 'one half second ago'); |
60284 | 61422 | assert.equal(moment.duration({y: -1, M: 1}).toString(), '-P11M', 'a month after a year ago'); |
61423 | assert.equal(moment.duration({M: +1}).toString(), 'P1M', 'one month ago'); | |
61424 | assert.equal(moment.duration({m: +1}).toString(), 'PT1M', 'one minute ago'); | |
61425 | assert.equal(moment.duration({s: +0.5}).toString(), 'PT0.5S', 'one half second ago'); | |
61426 | assert.equal(moment.duration({y: +1, M: 1}).toString(), 'P1Y1M', 'a month after a year in future'); | |
60285 | 61427 | assert.equal(moment.duration({}).toString(), 'P0D', 'zero duration'); |
60286 | 61428 | assert.equal(moment.duration({M: 16, d:40, s: 86465}).toString(), 'P1Y4M40DT24H1M5S', 'all fields'); |
60287 | 61429 | }); |
60305 | 61447 | assert.equal(moment.duration('P1DT12H').asSeconds(), moment.duration({d: 1, h: 12}).asSeconds(), 'python isodate 10'); |
60306 | 61448 | assert.equal(moment.duration('-P2W').asSeconds(), moment.duration({w: -2}).asSeconds(), 'python isodate 11'); |
60307 | 61449 | assert.equal(moment.duration('-P2.2W').asSeconds(), moment.duration({w: -2.2}).asSeconds(), 'python isodate 12'); |
61450 | assert.equal(moment.duration('+P2W').asSeconds(), moment.duration({w: 2}).asSeconds(), 'python isodate 11'); | |
61451 | assert.equal(moment.duration('+P2.2W').asSeconds(), moment.duration({w: 2.2}).asSeconds(), 'python isodate 12'); | |
60308 | 61452 | assert.equal(moment.duration('P1DT2H3M4S').asSeconds(), moment.duration({d: 1, h: 2, m: 3, s: 4}).asSeconds(), 'python isodate 13'); |
60309 | 61453 | assert.equal(moment.duration('P1DT2H3M').asSeconds(), moment.duration({d: 1, h: 2, m: 3}).asSeconds(), 'python isodate 14'); |
60310 | 61454 | assert.equal(moment.duration('P1DT2H').asSeconds(), moment.duration({d: 1, h: 2}).asSeconds(), 'python isodate 15'); |
60323 | 61467 | assert.equal(moment.duration('P-3Y-6M-4DT-12H-30M-5S').asSeconds(), moment.duration({y: -3, M: -6, d: -4, h: -12, m: -30, s: -5}).asSeconds(), 'python isodate 28'); |
60324 | 61468 | assert.equal(moment.duration('-P-2W').asSeconds(), moment.duration({w: 2}).asSeconds(), 'python isodate 29'); |
60325 | 61469 | assert.equal(moment.duration('P-2W').asSeconds(), moment.duration({w: -2}).asSeconds(), 'python isodate 30'); |
61470 | assert.equal(moment.duration('+P2Y').asSeconds(), moment.duration({y: 2}).asSeconds(), 'python isodate 31'); | |
61471 | assert.equal(moment.duration('+P3Y6M4DT12H30M5S').asSeconds(), moment.duration({y: 3, M: 6, d: 4, h: 12, m: 30, s: 5}).asSeconds(), 'python isodate 32'); | |
61472 | assert.equal(moment.duration('+P1DT2H3M4S').asSeconds(), moment.duration({d: 1, h: 2, m: 3, s: 4}).asSeconds(), 'python isodate 34'); | |
61473 | assert.equal(moment.duration('PT+6H3M').asSeconds(), moment.duration({h: 6, m: 3}).asSeconds(), 'python isodate 35'); | |
61474 | assert.equal(moment.duration('+PT+6H3M').asSeconds(), moment.duration({h: 6, m: 3}).asSeconds(), 'python isodate 36'); | |
61475 | assert.equal(moment.duration('+PT-6H3M').asSeconds(), moment.duration({h: -6, m: 3}).asSeconds(), 'python isodate 37'); | |
61476 | assert.equal(moment.duration('+P+3Y+6M+4DT+12H+30M+5S').asSeconds(), moment.duration({y: 3, M: 6, d: 4, h: 12, m: 30, s: 5}).asSeconds(), 'python isodate 38'); | |
61477 | assert.equal(moment.duration('+P-3Y-6M-4DT-12H-30M-5S').asSeconds(), moment.duration({y: -3, M: -6, d: -4, h: -12, m: -30, s: -5}).asSeconds(), 'python isodate 39'); | |
61478 | assert.equal(moment.duration('P+3Y+6M+4DT+12H+30M+5S').asSeconds(), moment.duration({y: 3, M: 6, d: 4, h: 12, m: 30, s: 5}).asSeconds(), 'python isodate 40'); | |
61479 | assert.equal(moment.duration('+P+2W').asSeconds(), moment.duration({w: 2}).asSeconds(), 'python isodate 41'); | |
61480 | assert.equal(moment.duration('+P-2W').asSeconds(), moment.duration({w: -2}).asSeconds(), 'python isodate 41'); | |
61481 | assert.equal(moment.duration('P+2W').asSeconds(), moment.duration({w: 2}).asSeconds(), 'python isodate 43'); | |
60326 | 61482 | }); |
60327 | 61483 | |
60328 | 61484 | test('ISO 8601 misuse cases', function (assert) { |
60375 | 61531 | moment.locale('en'); |
60376 | 61532 | assert.equal(moment.duration({seconds: 44}).humanize(true), 'in a few seconds', '44 seconds = a few seconds'); |
60377 | 61533 | assert.equal(moment.duration({seconds: -44}).humanize(true), 'a few seconds ago', '44 seconds = a few seconds'); |
61534 | assert.equal(moment.duration({seconds: +44}).humanize(true), 'in a few seconds', '44 seconds = a few seconds'); | |
60378 | 61535 | }); |
60379 | 61536 | |
60380 | 61537 | test('bubble value up', function (assert) { |
60577 | 61734 | assert.equal(d.add({h: 23, m: 59})._milliseconds, 23 * 60 * 60 * 1000 + 59 * 60 * 1000 + 10000, 'Add hour:minute'); |
60578 | 61735 | }); |
60579 | 61736 | |
61737 | test('add to moment', function (assert) { | |
61738 | var d = moment.duration({months: 1, seconds: -1}); | |
61739 | var m = moment('2017-03-01').add(d); | |
61740 | assert.equal(m.month(), 2, 'Adds months before time'); | |
61741 | assert.equal(m.date(), 31, 'Adds time after months'); | |
61742 | }); | |
61743 | ||
60580 | 61744 | test('add and bubble', function (assert) { |
60581 | 61745 | var d; |
60582 | 61746 | |
60588 | 61752 | d = moment.duration(-1, 'day').add(1, 'hour'); |
60589 | 61753 | assert.equal(d.hours(), -23, '-1 day + 1 hour == -23 hour (component)'); |
60590 | 61754 | assert.equal(d.asHours(), -23, '-1 day + 1 hour == -23 hours'); |
61755 | ||
61756 | d = moment.duration(+1, 'day').add(1, 'hour'); | |
61757 | assert.equal(d.hours(), 1, '1 day + 1 hour == 1 hour (component)'); | |
61758 | assert.equal(d.asHours(), 25, '1 day + 1 hour == 25 hour'); | |
60591 | 61759 | |
60592 | 61760 | d = moment.duration(-1, 'year').add(1, 'day'); |
60593 | 61761 | assert.equal(d.days(), -30, '- 1 year + 1 day == -30 days (component)'); |
60595 | 61763 | assert.equal(d.years(), 0, '- 1 year + 1 day == 0 years (component)'); |
60596 | 61764 | assert.equal(d.asDays(), -364, '- 1 year + 1 day == -364 days'); |
60597 | 61765 | |
61766 | d = moment.duration(+1, 'year').add(1, 'day'); | |
61767 | assert.equal(d.days(), 1, '+ 1 year + 1 day == 1 days (component)'); | |
61768 | assert.equal(d.months(), 0, '+ 1 year + 1 day == 0 month (component)'); | |
61769 | assert.equal(d.years(), 1, '+ 1 year + 1 day == 1 year (component)'); | |
61770 | assert.equal(d.asDays(), 366, '+ 1 year + 1 day == +366 day'); | |
61771 | ||
60598 | 61772 | d = moment.duration(-1, 'year').add(1, 'hour'); |
60599 | 61773 | assert.equal(d.hours(), -23, '- 1 year + 1 hour == -23 hours (component)'); |
60600 | 61774 | assert.equal(d.days(), -30, '- 1 year + 1 hour == -30 days (component)'); |
60601 | 61775 | assert.equal(d.months(), -11, '- 1 year + 1 hour == -11 months (component)'); |
60602 | 61776 | assert.equal(d.years(), 0, '- 1 year + 1 hour == 0 years (component)'); |
61777 | ||
61778 | d = moment.duration(+1, 'year').add(1, 'hour'); | |
61779 | assert.equal(d.hours(), 1, '+ 1 year + 1 hour == 1 hour (component)'); | |
61780 | assert.equal(d.days(), 0, '+ 1 year + 1 hour == 1 day (component)'); | |
61781 | assert.equal(d.months(), 0, '+ 1 year + 1 hour == 1 month (component)'); | |
61782 | assert.equal(d.years(), 1, '+ 1 year + 1 hour == 1 year (component)'); | |
60603 | 61783 | }); |
60604 | 61784 | |
60605 | 61785 | test('subtract and bubble', function (assert) { |
60668 | 61848 | } |
60669 | 61849 | } |
60670 | 61850 | |
60671 | function objectKeys(obj) { | |
60672 | if (Object.keys) { | |
60673 | return Object.keys(obj); | |
60674 | } else { | |
60675 | // IE8 | |
60676 | var res = [], i; | |
60677 | for (i in obj) { | |
60678 | if (obj.hasOwnProperty(i)) { | |
60679 | res.push(i); | |
60680 | } | |
60681 | } | |
60682 | return res; | |
60683 | } | |
60684 | } | |
60685 | ||
60686 | 61851 | // Pick the first defined of two or three arguments. |
60687 | ||
60688 | function defineCommonLocaleTests(locale, options) { | |
60689 | test('lenient day of month ordinal parsing', function (assert) { | |
60690 | var i, ordinalStr, testMoment; | |
60691 | for (i = 1; i <= 31; ++i) { | |
60692 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
60693 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
60694 | assert.equal(testMoment.year(), 2014, | |
60695 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
60696 | assert.equal(testMoment.month(), 0, | |
60697 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
60698 | assert.equal(testMoment.date(), i, | |
60699 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
60700 | } | |
60701 | }); | |
60702 | ||
60703 | test('lenient day of month ordinal parsing of number', function (assert) { | |
60704 | var i, testMoment; | |
60705 | for (i = 1; i <= 31; ++i) { | |
60706 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
60707 | assert.equal(testMoment.year(), 2014, | |
60708 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
60709 | assert.equal(testMoment.month(), 0, | |
60710 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
60711 | assert.equal(testMoment.date(), i, | |
60712 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
60713 | } | |
60714 | }); | |
60715 | ||
60716 | test('strict day of month ordinal parsing', function (assert) { | |
60717 | var i, ordinalStr, testMoment; | |
60718 | for (i = 1; i <= 31; ++i) { | |
60719 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
60720 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
60721 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
60722 | } | |
60723 | }); | |
60724 | ||
60725 | test('meridiem invariant', function (assert) { | |
60726 | var h, m, t1, t2; | |
60727 | for (h = 0; h < 24; ++h) { | |
60728 | for (m = 0; m < 60; m += 15) { | |
60729 | t1 = moment.utc([2000, 0, 1, h, m]); | |
60730 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
60731 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
60732 | 'meridiem at ' + t1.format('HH:mm')); | |
60733 | } | |
60734 | } | |
60735 | }); | |
60736 | ||
60737 | test('date format correctness', function (assert) { | |
60738 | var data, tokens; | |
60739 | data = moment.localeData()._longDateFormat; | |
60740 | tokens = objectKeys(data); | |
60741 | each(tokens, function (srchToken) { | |
60742 | // Check each format string to make sure it does not contain any | |
60743 | // tokens that need to be expanded. | |
60744 | each(tokens, function (baseToken) { | |
60745 | // strip escaped sequences | |
60746 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
60747 | assert.equal(false, !!~format.indexOf(srchToken), | |
60748 | 'contains ' + srchToken + ' in ' + baseToken); | |
60749 | }); | |
60750 | }); | |
60751 | }); | |
60752 | ||
60753 | test('month parsing correctness', function (assert) { | |
60754 | var i, m; | |
60755 | ||
60756 | if (locale === 'tr') { | |
60757 | // I can't fix it :( | |
60758 | expect(0); | |
60759 | return; | |
60760 | } | |
60761 | function tester(format) { | |
60762 | var r; | |
60763 | r = moment(m.format(format), format); | |
60764 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
60765 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
60766 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
60767 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
60768 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
60769 | ||
60770 | r = moment(m.format(format), format, true); | |
60771 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
60772 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
60773 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
60774 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
60775 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
60776 | } | |
60777 | ||
60778 | for (i = 0; i < 12; ++i) { | |
60779 | m = moment([2015, i, 15, 18]); | |
60780 | tester('MMM'); | |
60781 | tester('MMM.'); | |
60782 | tester('MMMM'); | |
60783 | tester('MMMM.'); | |
60784 | } | |
60785 | }); | |
60786 | ||
60787 | test('weekday parsing correctness', function (assert) { | |
60788 | var i, m; | |
60789 | ||
60790 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
60791 | // tr, az: There is a lower-case letter (ı), that converted to | |
60792 | // upper then lower changes to i | |
60793 | // ro: there is the letter ț which behaves weird under IE8 | |
60794 | expect(0); | |
60795 | return; | |
60796 | } | |
60797 | function tester(format) { | |
60798 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
60799 | r = moment(m.format(format), format); | |
60800 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
60801 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
60802 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
60803 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
60804 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
60805 | ||
60806 | r = moment(m.format(format), format, true); | |
60807 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
60808 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
60809 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
60810 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
60811 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
60812 | } | |
60813 | ||
60814 | for (i = 0; i < 7; ++i) { | |
60815 | m = moment.utc([2015, 0, i + 1, 18]); | |
60816 | tester('dd'); | |
60817 | tester('ddd'); | |
60818 | tester('dddd'); | |
60819 | } | |
60820 | }); | |
60821 | ||
60822 | test('valid localeData', function (assert) { | |
60823 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
60824 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
60825 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
60826 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
60827 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
60828 | }); | |
60829 | } | |
60830 | 61852 | |
60831 | 61853 | function setupDeprecationHandler(test, moment$$1, scope) { |
60832 | 61854 | test._expectedDeprecations = null; |
60883 | 61905 | |
60884 | 61906 | var test = QUnit.test; |
60885 | 61907 | |
60886 | var expect = QUnit.expect; | |
61908 | ||
60887 | 61909 | |
60888 | 61910 | function module$1 (name, lifecycle) { |
60889 | 61911 | QUnit.module(name, { |
60966 | 61988 | } |
60967 | 61989 | } |
60968 | 61990 | |
60969 | function objectKeys(obj) { | |
60970 | if (Object.keys) { | |
60971 | return Object.keys(obj); | |
60972 | } else { | |
60973 | // IE8 | |
60974 | var res = [], i; | |
60975 | for (i in obj) { | |
60976 | if (obj.hasOwnProperty(i)) { | |
60977 | res.push(i); | |
60978 | } | |
60979 | } | |
60980 | return res; | |
60981 | } | |
60982 | } | |
60983 | ||
60984 | 61991 | // Pick the first defined of two or three arguments. |
60985 | ||
60986 | function defineCommonLocaleTests(locale, options) { | |
60987 | test('lenient day of month ordinal parsing', function (assert) { | |
60988 | var i, ordinalStr, testMoment; | |
60989 | for (i = 1; i <= 31; ++i) { | |
60990 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
60991 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
60992 | assert.equal(testMoment.year(), 2014, | |
60993 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
60994 | assert.equal(testMoment.month(), 0, | |
60995 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
60996 | assert.equal(testMoment.date(), i, | |
60997 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
60998 | } | |
60999 | }); | |
61000 | ||
61001 | test('lenient day of month ordinal parsing of number', function (assert) { | |
61002 | var i, testMoment; | |
61003 | for (i = 1; i <= 31; ++i) { | |
61004 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
61005 | assert.equal(testMoment.year(), 2014, | |
61006 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
61007 | assert.equal(testMoment.month(), 0, | |
61008 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
61009 | assert.equal(testMoment.date(), i, | |
61010 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
61011 | } | |
61012 | }); | |
61013 | ||
61014 | test('strict day of month ordinal parsing', function (assert) { | |
61015 | var i, ordinalStr, testMoment; | |
61016 | for (i = 1; i <= 31; ++i) { | |
61017 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
61018 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
61019 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
61020 | } | |
61021 | }); | |
61022 | ||
61023 | test('meridiem invariant', function (assert) { | |
61024 | var h, m, t1, t2; | |
61025 | for (h = 0; h < 24; ++h) { | |
61026 | for (m = 0; m < 60; m += 15) { | |
61027 | t1 = moment.utc([2000, 0, 1, h, m]); | |
61028 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
61029 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
61030 | 'meridiem at ' + t1.format('HH:mm')); | |
61031 | } | |
61032 | } | |
61033 | }); | |
61034 | ||
61035 | test('date format correctness', function (assert) { | |
61036 | var data, tokens; | |
61037 | data = moment.localeData()._longDateFormat; | |
61038 | tokens = objectKeys(data); | |
61039 | each(tokens, function (srchToken) { | |
61040 | // Check each format string to make sure it does not contain any | |
61041 | // tokens that need to be expanded. | |
61042 | each(tokens, function (baseToken) { | |
61043 | // strip escaped sequences | |
61044 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
61045 | assert.equal(false, !!~format.indexOf(srchToken), | |
61046 | 'contains ' + srchToken + ' in ' + baseToken); | |
61047 | }); | |
61048 | }); | |
61049 | }); | |
61050 | ||
61051 | test('month parsing correctness', function (assert) { | |
61052 | var i, m; | |
61053 | ||
61054 | if (locale === 'tr') { | |
61055 | // I can't fix it :( | |
61056 | expect(0); | |
61057 | return; | |
61058 | } | |
61059 | function tester(format) { | |
61060 | var r; | |
61061 | r = moment(m.format(format), format); | |
61062 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
61063 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
61064 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
61065 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
61066 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
61067 | ||
61068 | r = moment(m.format(format), format, true); | |
61069 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
61070 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
61071 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
61072 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
61073 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
61074 | } | |
61075 | ||
61076 | for (i = 0; i < 12; ++i) { | |
61077 | m = moment([2015, i, 15, 18]); | |
61078 | tester('MMM'); | |
61079 | tester('MMM.'); | |
61080 | tester('MMMM'); | |
61081 | tester('MMMM.'); | |
61082 | } | |
61083 | }); | |
61084 | ||
61085 | test('weekday parsing correctness', function (assert) { | |
61086 | var i, m; | |
61087 | ||
61088 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
61089 | // tr, az: There is a lower-case letter (ı), that converted to | |
61090 | // upper then lower changes to i | |
61091 | // ro: there is the letter ț which behaves weird under IE8 | |
61092 | expect(0); | |
61093 | return; | |
61094 | } | |
61095 | function tester(format) { | |
61096 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
61097 | r = moment(m.format(format), format); | |
61098 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
61099 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
61100 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
61101 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
61102 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
61103 | ||
61104 | r = moment(m.format(format), format, true); | |
61105 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
61106 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
61107 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
61108 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
61109 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
61110 | } | |
61111 | ||
61112 | for (i = 0; i < 7; ++i) { | |
61113 | m = moment.utc([2015, 0, i + 1, 18]); | |
61114 | tester('dd'); | |
61115 | tester('ddd'); | |
61116 | tester('dddd'); | |
61117 | } | |
61118 | }); | |
61119 | ||
61120 | test('valid localeData', function (assert) { | |
61121 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
61122 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
61123 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
61124 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
61125 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
61126 | }); | |
61127 | } | |
61128 | 61992 | |
61129 | 61993 | function setupDeprecationHandler(test, moment$$1, scope) { |
61130 | 61994 | test._expectedDeprecations = null; |
61181 | 62045 | |
61182 | 62046 | var test = QUnit.test; |
61183 | 62047 | |
61184 | var expect = QUnit.expect; | |
62048 | ||
61185 | 62049 | |
61186 | 62050 | function module$1 (name, lifecycle) { |
61187 | 62051 | QUnit.module(name, { |
61305 | 62169 | } |
61306 | 62170 | } |
61307 | 62171 | |
61308 | function objectKeys(obj) { | |
61309 | if (Object.keys) { | |
61310 | return Object.keys(obj); | |
61311 | } else { | |
61312 | // IE8 | |
61313 | var res = [], i; | |
61314 | for (i in obj) { | |
61315 | if (obj.hasOwnProperty(i)) { | |
61316 | res.push(i); | |
61317 | } | |
61318 | } | |
61319 | return res; | |
61320 | } | |
61321 | } | |
61322 | ||
61323 | 62172 | // Pick the first defined of two or three arguments. |
61324 | ||
61325 | function defineCommonLocaleTests(locale, options) { | |
61326 | test('lenient day of month ordinal parsing', function (assert) { | |
61327 | var i, ordinalStr, testMoment; | |
61328 | for (i = 1; i <= 31; ++i) { | |
61329 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
61330 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
61331 | assert.equal(testMoment.year(), 2014, | |
61332 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
61333 | assert.equal(testMoment.month(), 0, | |
61334 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
61335 | assert.equal(testMoment.date(), i, | |
61336 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
61337 | } | |
61338 | }); | |
61339 | ||
61340 | test('lenient day of month ordinal parsing of number', function (assert) { | |
61341 | var i, testMoment; | |
61342 | for (i = 1; i <= 31; ++i) { | |
61343 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
61344 | assert.equal(testMoment.year(), 2014, | |
61345 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
61346 | assert.equal(testMoment.month(), 0, | |
61347 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
61348 | assert.equal(testMoment.date(), i, | |
61349 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
61350 | } | |
61351 | }); | |
61352 | ||
61353 | test('strict day of month ordinal parsing', function (assert) { | |
61354 | var i, ordinalStr, testMoment; | |
61355 | for (i = 1; i <= 31; ++i) { | |
61356 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
61357 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
61358 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
61359 | } | |
61360 | }); | |
61361 | ||
61362 | test('meridiem invariant', function (assert) { | |
61363 | var h, m, t1, t2; | |
61364 | for (h = 0; h < 24; ++h) { | |
61365 | for (m = 0; m < 60; m += 15) { | |
61366 | t1 = moment.utc([2000, 0, 1, h, m]); | |
61367 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
61368 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
61369 | 'meridiem at ' + t1.format('HH:mm')); | |
61370 | } | |
61371 | } | |
61372 | }); | |
61373 | ||
61374 | test('date format correctness', function (assert) { | |
61375 | var data, tokens; | |
61376 | data = moment.localeData()._longDateFormat; | |
61377 | tokens = objectKeys(data); | |
61378 | each(tokens, function (srchToken) { | |
61379 | // Check each format string to make sure it does not contain any | |
61380 | // tokens that need to be expanded. | |
61381 | each(tokens, function (baseToken) { | |
61382 | // strip escaped sequences | |
61383 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
61384 | assert.equal(false, !!~format.indexOf(srchToken), | |
61385 | 'contains ' + srchToken + ' in ' + baseToken); | |
61386 | }); | |
61387 | }); | |
61388 | }); | |
61389 | ||
61390 | test('month parsing correctness', function (assert) { | |
61391 | var i, m; | |
61392 | ||
61393 | if (locale === 'tr') { | |
61394 | // I can't fix it :( | |
61395 | expect(0); | |
61396 | return; | |
61397 | } | |
61398 | function tester(format) { | |
61399 | var r; | |
61400 | r = moment(m.format(format), format); | |
61401 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
61402 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
61403 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
61404 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
61405 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
61406 | ||
61407 | r = moment(m.format(format), format, true); | |
61408 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
61409 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
61410 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
61411 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
61412 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
61413 | } | |
61414 | ||
61415 | for (i = 0; i < 12; ++i) { | |
61416 | m = moment([2015, i, 15, 18]); | |
61417 | tester('MMM'); | |
61418 | tester('MMM.'); | |
61419 | tester('MMMM'); | |
61420 | tester('MMMM.'); | |
61421 | } | |
61422 | }); | |
61423 | ||
61424 | test('weekday parsing correctness', function (assert) { | |
61425 | var i, m; | |
61426 | ||
61427 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
61428 | // tr, az: There is a lower-case letter (ı), that converted to | |
61429 | // upper then lower changes to i | |
61430 | // ro: there is the letter ț which behaves weird under IE8 | |
61431 | expect(0); | |
61432 | return; | |
61433 | } | |
61434 | function tester(format) { | |
61435 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
61436 | r = moment(m.format(format), format); | |
61437 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
61438 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
61439 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
61440 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
61441 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
61442 | ||
61443 | r = moment(m.format(format), format, true); | |
61444 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
61445 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
61446 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
61447 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
61448 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
61449 | } | |
61450 | ||
61451 | for (i = 0; i < 7; ++i) { | |
61452 | m = moment.utc([2015, 0, i + 1, 18]); | |
61453 | tester('dd'); | |
61454 | tester('ddd'); | |
61455 | tester('dddd'); | |
61456 | } | |
61457 | }); | |
61458 | ||
61459 | test('valid localeData', function (assert) { | |
61460 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
61461 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
61462 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
61463 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
61464 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
61465 | }); | |
61466 | } | |
61467 | 62173 | |
61468 | 62174 | function setupDeprecationHandler(test, moment$$1, scope) { |
61469 | 62175 | test._expectedDeprecations = null; |
61520 | 62226 | |
61521 | 62227 | var test = QUnit.test; |
61522 | 62228 | |
61523 | var expect = QUnit.expect; | |
62229 | ||
61524 | 62230 | |
61525 | 62231 | function module$1 (name, lifecycle) { |
61526 | 62232 | QUnit.module(name, { |
62062 | 62768 | } |
62063 | 62769 | } |
62064 | 62770 | |
62065 | function objectKeys(obj) { | |
62066 | if (Object.keys) { | |
62067 | return Object.keys(obj); | |
62068 | } else { | |
62069 | // IE8 | |
62070 | var res = [], i; | |
62071 | for (i in obj) { | |
62072 | if (obj.hasOwnProperty(i)) { | |
62073 | res.push(i); | |
62074 | } | |
62075 | } | |
62076 | return res; | |
62077 | } | |
62078 | } | |
62079 | ||
62080 | 62771 | // Pick the first defined of two or three arguments. |
62081 | ||
62082 | function defineCommonLocaleTests(locale, options) { | |
62083 | test('lenient day of month ordinal parsing', function (assert) { | |
62084 | var i, ordinalStr, testMoment; | |
62085 | for (i = 1; i <= 31; ++i) { | |
62086 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
62087 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
62088 | assert.equal(testMoment.year(), 2014, | |
62089 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
62090 | assert.equal(testMoment.month(), 0, | |
62091 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
62092 | assert.equal(testMoment.date(), i, | |
62093 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
62094 | } | |
62095 | }); | |
62096 | ||
62097 | test('lenient day of month ordinal parsing of number', function (assert) { | |
62098 | var i, testMoment; | |
62099 | for (i = 1; i <= 31; ++i) { | |
62100 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
62101 | assert.equal(testMoment.year(), 2014, | |
62102 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
62103 | assert.equal(testMoment.month(), 0, | |
62104 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
62105 | assert.equal(testMoment.date(), i, | |
62106 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
62107 | } | |
62108 | }); | |
62109 | ||
62110 | test('strict day of month ordinal parsing', function (assert) { | |
62111 | var i, ordinalStr, testMoment; | |
62112 | for (i = 1; i <= 31; ++i) { | |
62113 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
62114 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
62115 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
62116 | } | |
62117 | }); | |
62118 | ||
62119 | test('meridiem invariant', function (assert) { | |
62120 | var h, m, t1, t2; | |
62121 | for (h = 0; h < 24; ++h) { | |
62122 | for (m = 0; m < 60; m += 15) { | |
62123 | t1 = moment.utc([2000, 0, 1, h, m]); | |
62124 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
62125 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
62126 | 'meridiem at ' + t1.format('HH:mm')); | |
62127 | } | |
62128 | } | |
62129 | }); | |
62130 | ||
62131 | test('date format correctness', function (assert) { | |
62132 | var data, tokens; | |
62133 | data = moment.localeData()._longDateFormat; | |
62134 | tokens = objectKeys(data); | |
62135 | each(tokens, function (srchToken) { | |
62136 | // Check each format string to make sure it does not contain any | |
62137 | // tokens that need to be expanded. | |
62138 | each(tokens, function (baseToken) { | |
62139 | // strip escaped sequences | |
62140 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
62141 | assert.equal(false, !!~format.indexOf(srchToken), | |
62142 | 'contains ' + srchToken + ' in ' + baseToken); | |
62143 | }); | |
62144 | }); | |
62145 | }); | |
62146 | ||
62147 | test('month parsing correctness', function (assert) { | |
62148 | var i, m; | |
62149 | ||
62150 | if (locale === 'tr') { | |
62151 | // I can't fix it :( | |
62152 | expect(0); | |
62153 | return; | |
62154 | } | |
62155 | function tester(format) { | |
62156 | var r; | |
62157 | r = moment(m.format(format), format); | |
62158 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
62159 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
62160 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
62161 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
62162 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
62163 | ||
62164 | r = moment(m.format(format), format, true); | |
62165 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
62166 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
62167 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
62168 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
62169 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
62170 | } | |
62171 | ||
62172 | for (i = 0; i < 12; ++i) { | |
62173 | m = moment([2015, i, 15, 18]); | |
62174 | tester('MMM'); | |
62175 | tester('MMM.'); | |
62176 | tester('MMMM'); | |
62177 | tester('MMMM.'); | |
62178 | } | |
62179 | }); | |
62180 | ||
62181 | test('weekday parsing correctness', function (assert) { | |
62182 | var i, m; | |
62183 | ||
62184 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
62185 | // tr, az: There is a lower-case letter (ı), that converted to | |
62186 | // upper then lower changes to i | |
62187 | // ro: there is the letter ț which behaves weird under IE8 | |
62188 | expect(0); | |
62189 | return; | |
62190 | } | |
62191 | function tester(format) { | |
62192 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
62193 | r = moment(m.format(format), format); | |
62194 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
62195 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
62196 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
62197 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
62198 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
62199 | ||
62200 | r = moment(m.format(format), format, true); | |
62201 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
62202 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
62203 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
62204 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
62205 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
62206 | } | |
62207 | ||
62208 | for (i = 0; i < 7; ++i) { | |
62209 | m = moment.utc([2015, 0, i + 1, 18]); | |
62210 | tester('dd'); | |
62211 | tester('ddd'); | |
62212 | tester('dddd'); | |
62213 | } | |
62214 | }); | |
62215 | ||
62216 | test('valid localeData', function (assert) { | |
62217 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
62218 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
62219 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
62220 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
62221 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
62222 | }); | |
62223 | } | |
62224 | 62772 | |
62225 | 62773 | function setupDeprecationHandler(test, moment$$1, scope) { |
62226 | 62774 | test._expectedDeprecations = null; |
62277 | 62825 | |
62278 | 62826 | var test = QUnit.test; |
62279 | 62827 | |
62280 | var expect = QUnit.expect; | |
62828 | ||
62281 | 62829 | |
62282 | 62830 | function module$1 (name, lifecycle) { |
62283 | 62831 | QUnit.module(name, { |
62367 | 62915 | } |
62368 | 62916 | } |
62369 | 62917 | |
62370 | function objectKeys(obj) { | |
62371 | if (Object.keys) { | |
62372 | return Object.keys(obj); | |
62373 | } else { | |
62374 | // IE8 | |
62375 | var res = [], i; | |
62376 | for (i in obj) { | |
62377 | if (obj.hasOwnProperty(i)) { | |
62378 | res.push(i); | |
62379 | } | |
62380 | } | |
62381 | return res; | |
62382 | } | |
62383 | } | |
62384 | ||
62385 | 62918 | // Pick the first defined of two or three arguments. |
62386 | ||
62387 | function defineCommonLocaleTests(locale, options) { | |
62388 | test('lenient day of month ordinal parsing', function (assert) { | |
62389 | var i, ordinalStr, testMoment; | |
62390 | for (i = 1; i <= 31; ++i) { | |
62391 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
62392 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
62393 | assert.equal(testMoment.year(), 2014, | |
62394 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
62395 | assert.equal(testMoment.month(), 0, | |
62396 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
62397 | assert.equal(testMoment.date(), i, | |
62398 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
62399 | } | |
62400 | }); | |
62401 | ||
62402 | test('lenient day of month ordinal parsing of number', function (assert) { | |
62403 | var i, testMoment; | |
62404 | for (i = 1; i <= 31; ++i) { | |
62405 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
62406 | assert.equal(testMoment.year(), 2014, | |
62407 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
62408 | assert.equal(testMoment.month(), 0, | |
62409 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
62410 | assert.equal(testMoment.date(), i, | |
62411 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
62412 | } | |
62413 | }); | |
62414 | ||
62415 | test('strict day of month ordinal parsing', function (assert) { | |
62416 | var i, ordinalStr, testMoment; | |
62417 | for (i = 1; i <= 31; ++i) { | |
62418 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
62419 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
62420 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
62421 | } | |
62422 | }); | |
62423 | ||
62424 | test('meridiem invariant', function (assert) { | |
62425 | var h, m, t1, t2; | |
62426 | for (h = 0; h < 24; ++h) { | |
62427 | for (m = 0; m < 60; m += 15) { | |
62428 | t1 = moment.utc([2000, 0, 1, h, m]); | |
62429 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
62430 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
62431 | 'meridiem at ' + t1.format('HH:mm')); | |
62432 | } | |
62433 | } | |
62434 | }); | |
62435 | ||
62436 | test('date format correctness', function (assert) { | |
62437 | var data, tokens; | |
62438 | data = moment.localeData()._longDateFormat; | |
62439 | tokens = objectKeys(data); | |
62440 | each(tokens, function (srchToken) { | |
62441 | // Check each format string to make sure it does not contain any | |
62442 | // tokens that need to be expanded. | |
62443 | each(tokens, function (baseToken) { | |
62444 | // strip escaped sequences | |
62445 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
62446 | assert.equal(false, !!~format.indexOf(srchToken), | |
62447 | 'contains ' + srchToken + ' in ' + baseToken); | |
62448 | }); | |
62449 | }); | |
62450 | }); | |
62451 | ||
62452 | test('month parsing correctness', function (assert) { | |
62453 | var i, m; | |
62454 | ||
62455 | if (locale === 'tr') { | |
62456 | // I can't fix it :( | |
62457 | expect(0); | |
62458 | return; | |
62459 | } | |
62460 | function tester(format) { | |
62461 | var r; | |
62462 | r = moment(m.format(format), format); | |
62463 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
62464 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
62465 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
62466 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
62467 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
62468 | ||
62469 | r = moment(m.format(format), format, true); | |
62470 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
62471 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
62472 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
62473 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
62474 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
62475 | } | |
62476 | ||
62477 | for (i = 0; i < 12; ++i) { | |
62478 | m = moment([2015, i, 15, 18]); | |
62479 | tester('MMM'); | |
62480 | tester('MMM.'); | |
62481 | tester('MMMM'); | |
62482 | tester('MMMM.'); | |
62483 | } | |
62484 | }); | |
62485 | ||
62486 | test('weekday parsing correctness', function (assert) { | |
62487 | var i, m; | |
62488 | ||
62489 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
62490 | // tr, az: There is a lower-case letter (ı), that converted to | |
62491 | // upper then lower changes to i | |
62492 | // ro: there is the letter ț which behaves weird under IE8 | |
62493 | expect(0); | |
62494 | return; | |
62495 | } | |
62496 | function tester(format) { | |
62497 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
62498 | r = moment(m.format(format), format); | |
62499 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
62500 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
62501 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
62502 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
62503 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
62504 | ||
62505 | r = moment(m.format(format), format, true); | |
62506 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
62507 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
62508 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
62509 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
62510 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
62511 | } | |
62512 | ||
62513 | for (i = 0; i < 7; ++i) { | |
62514 | m = moment.utc([2015, 0, i + 1, 18]); | |
62515 | tester('dd'); | |
62516 | tester('ddd'); | |
62517 | tester('dddd'); | |
62518 | } | |
62519 | }); | |
62520 | ||
62521 | test('valid localeData', function (assert) { | |
62522 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
62523 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
62524 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
62525 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
62526 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
62527 | }); | |
62528 | } | |
62529 | 62919 | |
62530 | 62920 | function setupDeprecationHandler(test, moment$$1, scope) { |
62531 | 62921 | test._expectedDeprecations = null; |
62582 | 62972 | |
62583 | 62973 | var test = QUnit.test; |
62584 | 62974 | |
62585 | var expect = QUnit.expect; | |
62975 | ||
62586 | 62976 | |
62587 | 62977 | function module$1 (name, lifecycle) { |
62588 | 62978 | QUnit.module(name, { |
62705 | 63095 | assert.equal(a.month(), 3, 'month edge case'); |
62706 | 63096 | }); |
62707 | 63097 | |
63098 | test('setters should handle garbage input', function (assert) { | |
63099 | var a = moment(); | |
63100 | a.set('year', 2011); | |
63101 | a.set('month', 9); | |
63102 | a.set('date', 12); | |
63103 | a.set('hours', 6); | |
63104 | a.set('minutes', 7); | |
63105 | a.set('seconds', 8); | |
63106 | a.set('milliseconds', 9); | |
63107 | ||
63108 | a.year(undefined); | |
63109 | a.month('foo'); | |
63110 | a.date(null); | |
63111 | a.day({a:2,b:3}); | |
63112 | a.hours('[1]'); | |
63113 | a.minutes(undefined); | |
63114 | a.seconds(null); | |
63115 | a.milliseconds(NaN); | |
63116 | ||
63117 | assert.equal(a.year(), 2011, 'year - provided undefined'); | |
63118 | assert.equal(a.month(), 9, 'month - provided null'); | |
63119 | assert.equal(a.date(), 12, 'date - provided [1]'); | |
63120 | assert.equal(a.day(), 3, 'day - provided Infinity'); | |
63121 | assert.equal(a.hours(), 6, 'hour - provided new Date'); | |
63122 | assert.equal(a.minutes(), 7, 'minute - provided {a:1,b:2}'); | |
63123 | assert.equal(a.seconds(), 8, 'second - provided foo'); | |
63124 | assert.equal(a.milliseconds(), 9, 'milliseconds - provided Infinity'); | |
63125 | }); | |
63126 | ||
62708 | 63127 | test('setter programmatic', function (assert) { |
62709 | 63128 | var a = moment(); |
62710 | 63129 | a.set('year', 2011); |
62844 | 63263 | assert.equal(moment(a).day(17).date(), 26, 'set from wednesday to second next wednesday'); |
62845 | 63264 | }); |
62846 | 63265 | |
63266 | test('year setter', function (assert) { | |
63267 | var a = moment([2015, 3, 15]); | |
63268 | assert.equal(moment(a).year(2016).format('YYYY-MM-DD'), '2016-04-15', 'set from 2015 to 2016'); | |
63269 | assert.equal(moment(a).year(2011).format('YYYY-MM-DD'), '2011-04-15', 'set from 2015 to 2011'); | |
63270 | ||
63271 | var b = moment([2012, 1, 29]); | |
63272 | assert.equal(moment(b).year(2017).format('YYYY-MM-DD'), '2017-02-28', 'set from last day of february on a leap year to a non leap year'); | |
63273 | assert.equal(moment(b).year(2004).format('YYYY-MM-DD'), '2004-02-29', 'set from last day of february on a leap year to a leap year'); | |
63274 | }); | |
63275 | ||
62847 | 63276 | test('object set ordering', function (assert) { |
62848 | 63277 | var a = moment([2016,3,30]); |
62849 | 63278 | assert.equal(a.set({date:31, month:4}).date(), 31, 'setter order automatically arranged by size'); |
62961 | 63390 | } |
62962 | 63391 | } |
62963 | 63392 | |
62964 | function objectKeys(obj) { | |
62965 | if (Object.keys) { | |
62966 | return Object.keys(obj); | |
62967 | } else { | |
62968 | // IE8 | |
62969 | var res = [], i; | |
62970 | for (i in obj) { | |
62971 | if (obj.hasOwnProperty(i)) { | |
62972 | res.push(i); | |
62973 | } | |
62974 | } | |
62975 | return res; | |
62976 | } | |
62977 | } | |
62978 | ||
62979 | 63393 | // Pick the first defined of two or three arguments. |
62980 | ||
62981 | function defineCommonLocaleTests(locale, options) { | |
62982 | test('lenient day of month ordinal parsing', function (assert) { | |
62983 | var i, ordinalStr, testMoment; | |
62984 | for (i = 1; i <= 31; ++i) { | |
62985 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
62986 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
62987 | assert.equal(testMoment.year(), 2014, | |
62988 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
62989 | assert.equal(testMoment.month(), 0, | |
62990 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
62991 | assert.equal(testMoment.date(), i, | |
62992 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
62993 | } | |
62994 | }); | |
62995 | ||
62996 | test('lenient day of month ordinal parsing of number', function (assert) { | |
62997 | var i, testMoment; | |
62998 | for (i = 1; i <= 31; ++i) { | |
62999 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
63000 | assert.equal(testMoment.year(), 2014, | |
63001 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
63002 | assert.equal(testMoment.month(), 0, | |
63003 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
63004 | assert.equal(testMoment.date(), i, | |
63005 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
63006 | } | |
63007 | }); | |
63008 | ||
63009 | test('strict day of month ordinal parsing', function (assert) { | |
63010 | var i, ordinalStr, testMoment; | |
63011 | for (i = 1; i <= 31; ++i) { | |
63012 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
63013 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
63014 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
63015 | } | |
63016 | }); | |
63017 | ||
63018 | test('meridiem invariant', function (assert) { | |
63019 | var h, m, t1, t2; | |
63020 | for (h = 0; h < 24; ++h) { | |
63021 | for (m = 0; m < 60; m += 15) { | |
63022 | t1 = moment.utc([2000, 0, 1, h, m]); | |
63023 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
63024 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
63025 | 'meridiem at ' + t1.format('HH:mm')); | |
63026 | } | |
63027 | } | |
63028 | }); | |
63029 | ||
63030 | test('date format correctness', function (assert) { | |
63031 | var data, tokens; | |
63032 | data = moment.localeData()._longDateFormat; | |
63033 | tokens = objectKeys(data); | |
63034 | each(tokens, function (srchToken) { | |
63035 | // Check each format string to make sure it does not contain any | |
63036 | // tokens that need to be expanded. | |
63037 | each(tokens, function (baseToken) { | |
63038 | // strip escaped sequences | |
63039 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
63040 | assert.equal(false, !!~format.indexOf(srchToken), | |
63041 | 'contains ' + srchToken + ' in ' + baseToken); | |
63042 | }); | |
63043 | }); | |
63044 | }); | |
63045 | ||
63046 | test('month parsing correctness', function (assert) { | |
63047 | var i, m; | |
63048 | ||
63049 | if (locale === 'tr') { | |
63050 | // I can't fix it :( | |
63051 | expect(0); | |
63052 | return; | |
63053 | } | |
63054 | function tester(format) { | |
63055 | var r; | |
63056 | r = moment(m.format(format), format); | |
63057 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
63058 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
63059 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
63060 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
63061 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
63062 | ||
63063 | r = moment(m.format(format), format, true); | |
63064 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
63065 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
63066 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
63067 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
63068 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
63069 | } | |
63070 | ||
63071 | for (i = 0; i < 12; ++i) { | |
63072 | m = moment([2015, i, 15, 18]); | |
63073 | tester('MMM'); | |
63074 | tester('MMM.'); | |
63075 | tester('MMMM'); | |
63076 | tester('MMMM.'); | |
63077 | } | |
63078 | }); | |
63079 | ||
63080 | test('weekday parsing correctness', function (assert) { | |
63081 | var i, m; | |
63082 | ||
63083 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
63084 | // tr, az: There is a lower-case letter (ı), that converted to | |
63085 | // upper then lower changes to i | |
63086 | // ro: there is the letter ț which behaves weird under IE8 | |
63087 | expect(0); | |
63088 | return; | |
63089 | } | |
63090 | function tester(format) { | |
63091 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
63092 | r = moment(m.format(format), format); | |
63093 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
63094 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
63095 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
63096 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
63097 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
63098 | ||
63099 | r = moment(m.format(format), format, true); | |
63100 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
63101 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
63102 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
63103 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
63104 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
63105 | } | |
63106 | ||
63107 | for (i = 0; i < 7; ++i) { | |
63108 | m = moment.utc([2015, 0, i + 1, 18]); | |
63109 | tester('dd'); | |
63110 | tester('ddd'); | |
63111 | tester('dddd'); | |
63112 | } | |
63113 | }); | |
63114 | ||
63115 | test('valid localeData', function (assert) { | |
63116 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
63117 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
63118 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
63119 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
63120 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
63121 | }); | |
63122 | } | |
63123 | 63394 | |
63124 | 63395 | function setupDeprecationHandler(test, moment$$1, scope) { |
63125 | 63396 | test._expectedDeprecations = null; |
63176 | 63447 | |
63177 | 63448 | var test = QUnit.test; |
63178 | 63449 | |
63179 | var expect = QUnit.expect; | |
63450 | ||
63180 | 63451 | |
63181 | 63452 | function module$1 (name, lifecycle) { |
63182 | 63453 | QUnit.module(name, { |
63242 | 63513 | } |
63243 | 63514 | } |
63244 | 63515 | |
63245 | function objectKeys(obj) { | |
63246 | if (Object.keys) { | |
63247 | return Object.keys(obj); | |
63248 | } else { | |
63249 | // IE8 | |
63250 | var res = [], i; | |
63251 | for (i in obj) { | |
63252 | if (obj.hasOwnProperty(i)) { | |
63253 | res.push(i); | |
63254 | } | |
63255 | } | |
63256 | return res; | |
63257 | } | |
63258 | } | |
63259 | ||
63260 | 63516 | // Pick the first defined of two or three arguments. |
63261 | ||
63262 | function defineCommonLocaleTests(locale, options) { | |
63263 | test('lenient day of month ordinal parsing', function (assert) { | |
63264 | var i, ordinalStr, testMoment; | |
63265 | for (i = 1; i <= 31; ++i) { | |
63266 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
63267 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
63268 | assert.equal(testMoment.year(), 2014, | |
63269 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
63270 | assert.equal(testMoment.month(), 0, | |
63271 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
63272 | assert.equal(testMoment.date(), i, | |
63273 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
63274 | } | |
63275 | }); | |
63276 | ||
63277 | test('lenient day of month ordinal parsing of number', function (assert) { | |
63278 | var i, testMoment; | |
63279 | for (i = 1; i <= 31; ++i) { | |
63280 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
63281 | assert.equal(testMoment.year(), 2014, | |
63282 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
63283 | assert.equal(testMoment.month(), 0, | |
63284 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
63285 | assert.equal(testMoment.date(), i, | |
63286 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
63287 | } | |
63288 | }); | |
63289 | ||
63290 | test('strict day of month ordinal parsing', function (assert) { | |
63291 | var i, ordinalStr, testMoment; | |
63292 | for (i = 1; i <= 31; ++i) { | |
63293 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
63294 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
63295 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
63296 | } | |
63297 | }); | |
63298 | ||
63299 | test('meridiem invariant', function (assert) { | |
63300 | var h, m, t1, t2; | |
63301 | for (h = 0; h < 24; ++h) { | |
63302 | for (m = 0; m < 60; m += 15) { | |
63303 | t1 = moment.utc([2000, 0, 1, h, m]); | |
63304 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
63305 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
63306 | 'meridiem at ' + t1.format('HH:mm')); | |
63307 | } | |
63308 | } | |
63309 | }); | |
63310 | ||
63311 | test('date format correctness', function (assert) { | |
63312 | var data, tokens; | |
63313 | data = moment.localeData()._longDateFormat; | |
63314 | tokens = objectKeys(data); | |
63315 | each(tokens, function (srchToken) { | |
63316 | // Check each format string to make sure it does not contain any | |
63317 | // tokens that need to be expanded. | |
63318 | each(tokens, function (baseToken) { | |
63319 | // strip escaped sequences | |
63320 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
63321 | assert.equal(false, !!~format.indexOf(srchToken), | |
63322 | 'contains ' + srchToken + ' in ' + baseToken); | |
63323 | }); | |
63324 | }); | |
63325 | }); | |
63326 | ||
63327 | test('month parsing correctness', function (assert) { | |
63328 | var i, m; | |
63329 | ||
63330 | if (locale === 'tr') { | |
63331 | // I can't fix it :( | |
63332 | expect(0); | |
63333 | return; | |
63334 | } | |
63335 | function tester(format) { | |
63336 | var r; | |
63337 | r = moment(m.format(format), format); | |
63338 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
63339 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
63340 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
63341 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
63342 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
63343 | ||
63344 | r = moment(m.format(format), format, true); | |
63345 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
63346 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
63347 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
63348 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
63349 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
63350 | } | |
63351 | ||
63352 | for (i = 0; i < 12; ++i) { | |
63353 | m = moment([2015, i, 15, 18]); | |
63354 | tester('MMM'); | |
63355 | tester('MMM.'); | |
63356 | tester('MMMM'); | |
63357 | tester('MMMM.'); | |
63358 | } | |
63359 | }); | |
63360 | ||
63361 | test('weekday parsing correctness', function (assert) { | |
63362 | var i, m; | |
63363 | ||
63364 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
63365 | // tr, az: There is a lower-case letter (ı), that converted to | |
63366 | // upper then lower changes to i | |
63367 | // ro: there is the letter ț which behaves weird under IE8 | |
63368 | expect(0); | |
63369 | return; | |
63370 | } | |
63371 | function tester(format) { | |
63372 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
63373 | r = moment(m.format(format), format); | |
63374 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
63375 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
63376 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
63377 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
63378 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
63379 | ||
63380 | r = moment(m.format(format), format, true); | |
63381 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
63382 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
63383 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
63384 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
63385 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
63386 | } | |
63387 | ||
63388 | for (i = 0; i < 7; ++i) { | |
63389 | m = moment.utc([2015, 0, i + 1, 18]); | |
63390 | tester('dd'); | |
63391 | tester('ddd'); | |
63392 | tester('dddd'); | |
63393 | } | |
63394 | }); | |
63395 | ||
63396 | test('valid localeData', function (assert) { | |
63397 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
63398 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
63399 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
63400 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
63401 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
63402 | }); | |
63403 | } | |
63404 | 63517 | |
63405 | 63518 | function setupDeprecationHandler(test, moment$$1, scope) { |
63406 | 63519 | test._expectedDeprecations = null; |
63457 | 63570 | |
63458 | 63571 | var test = QUnit.test; |
63459 | 63572 | |
63460 | var expect = QUnit.expect; | |
63573 | ||
63461 | 63574 | |
63462 | 63575 | function module$1 (name, lifecycle) { |
63463 | 63576 | QUnit.module(name, { |
63676 | 63789 | } |
63677 | 63790 | } |
63678 | 63791 | |
63679 | function objectKeys(obj) { | |
63680 | if (Object.keys) { | |
63681 | return Object.keys(obj); | |
63682 | } else { | |
63683 | // IE8 | |
63684 | var res = [], i; | |
63685 | for (i in obj) { | |
63686 | if (obj.hasOwnProperty(i)) { | |
63687 | res.push(i); | |
63688 | } | |
63689 | } | |
63690 | return res; | |
63691 | } | |
63692 | } | |
63693 | ||
63694 | 63792 | // Pick the first defined of two or three arguments. |
63695 | ||
63696 | function defineCommonLocaleTests(locale, options) { | |
63697 | test('lenient day of month ordinal parsing', function (assert) { | |
63698 | var i, ordinalStr, testMoment; | |
63699 | for (i = 1; i <= 31; ++i) { | |
63700 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
63701 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
63702 | assert.equal(testMoment.year(), 2014, | |
63703 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
63704 | assert.equal(testMoment.month(), 0, | |
63705 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
63706 | assert.equal(testMoment.date(), i, | |
63707 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
63708 | } | |
63709 | }); | |
63710 | ||
63711 | test('lenient day of month ordinal parsing of number', function (assert) { | |
63712 | var i, testMoment; | |
63713 | for (i = 1; i <= 31; ++i) { | |
63714 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
63715 | assert.equal(testMoment.year(), 2014, | |
63716 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
63717 | assert.equal(testMoment.month(), 0, | |
63718 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
63719 | assert.equal(testMoment.date(), i, | |
63720 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
63721 | } | |
63722 | }); | |
63723 | ||
63724 | test('strict day of month ordinal parsing', function (assert) { | |
63725 | var i, ordinalStr, testMoment; | |
63726 | for (i = 1; i <= 31; ++i) { | |
63727 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
63728 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
63729 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
63730 | } | |
63731 | }); | |
63732 | ||
63733 | test('meridiem invariant', function (assert) { | |
63734 | var h, m, t1, t2; | |
63735 | for (h = 0; h < 24; ++h) { | |
63736 | for (m = 0; m < 60; m += 15) { | |
63737 | t1 = moment.utc([2000, 0, 1, h, m]); | |
63738 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
63739 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
63740 | 'meridiem at ' + t1.format('HH:mm')); | |
63741 | } | |
63742 | } | |
63743 | }); | |
63744 | ||
63745 | test('date format correctness', function (assert) { | |
63746 | var data, tokens; | |
63747 | data = moment.localeData()._longDateFormat; | |
63748 | tokens = objectKeys(data); | |
63749 | each(tokens, function (srchToken) { | |
63750 | // Check each format string to make sure it does not contain any | |
63751 | // tokens that need to be expanded. | |
63752 | each(tokens, function (baseToken) { | |
63753 | // strip escaped sequences | |
63754 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
63755 | assert.equal(false, !!~format.indexOf(srchToken), | |
63756 | 'contains ' + srchToken + ' in ' + baseToken); | |
63757 | }); | |
63758 | }); | |
63759 | }); | |
63760 | ||
63761 | test('month parsing correctness', function (assert) { | |
63762 | var i, m; | |
63763 | ||
63764 | if (locale === 'tr') { | |
63765 | // I can't fix it :( | |
63766 | expect(0); | |
63767 | return; | |
63768 | } | |
63769 | function tester(format) { | |
63770 | var r; | |
63771 | r = moment(m.format(format), format); | |
63772 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
63773 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
63774 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
63775 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
63776 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
63777 | ||
63778 | r = moment(m.format(format), format, true); | |
63779 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
63780 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
63781 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
63782 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
63783 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
63784 | } | |
63785 | ||
63786 | for (i = 0; i < 12; ++i) { | |
63787 | m = moment([2015, i, 15, 18]); | |
63788 | tester('MMM'); | |
63789 | tester('MMM.'); | |
63790 | tester('MMMM'); | |
63791 | tester('MMMM.'); | |
63792 | } | |
63793 | }); | |
63794 | ||
63795 | test('weekday parsing correctness', function (assert) { | |
63796 | var i, m; | |
63797 | ||
63798 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
63799 | // tr, az: There is a lower-case letter (ı), that converted to | |
63800 | // upper then lower changes to i | |
63801 | // ro: there is the letter ț which behaves weird under IE8 | |
63802 | expect(0); | |
63803 | return; | |
63804 | } | |
63805 | function tester(format) { | |
63806 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
63807 | r = moment(m.format(format), format); | |
63808 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
63809 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
63810 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
63811 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
63812 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
63813 | ||
63814 | r = moment(m.format(format), format, true); | |
63815 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
63816 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
63817 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
63818 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
63819 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
63820 | } | |
63821 | ||
63822 | for (i = 0; i < 7; ++i) { | |
63823 | m = moment.utc([2015, 0, i + 1, 18]); | |
63824 | tester('dd'); | |
63825 | tester('ddd'); | |
63826 | tester('dddd'); | |
63827 | } | |
63828 | }); | |
63829 | ||
63830 | test('valid localeData', function (assert) { | |
63831 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
63832 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
63833 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
63834 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
63835 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
63836 | }); | |
63837 | } | |
63838 | 63793 | |
63839 | 63794 | function setupDeprecationHandler(test, moment$$1, scope) { |
63840 | 63795 | test._expectedDeprecations = null; |
63891 | 63846 | |
63892 | 63847 | var test = QUnit.test; |
63893 | 63848 | |
63894 | var expect = QUnit.expect; | |
63849 | ||
63895 | 63850 | |
63896 | 63851 | function module$1 (name, lifecycle) { |
63897 | 63852 | QUnit.module(name, { |
64099 | 64054 | factory(global.moment) |
64100 | 64055 | }(this, (function (moment) { 'use strict'; |
64101 | 64056 | |
64057 | // Pick the first defined of two or three arguments. | |
64058 | ||
64059 | /*global QUnit:false*/ | |
64060 | ||
64061 | var test = QUnit.test; | |
64062 | ||
64063 | function isArray(input) { | |
64064 | return input instanceof Array || Object.prototype.toString.call(input) === '[object Array]'; | |
64065 | } | |
64066 | ||
64067 | test('isArray recognizes Array objects', function (assert) { | |
64068 | assert.ok(isArray([1,2,3]), 'array args'); | |
64069 | assert.ok(isArray([]), 'empty array'); | |
64070 | assert.ok(isArray(new Array(1,2,3)), 'array constructor'); | |
64071 | }); | |
64072 | ||
64073 | test('isArray rejects non-Array objects', function (assert) { | |
64074 | assert.ok(!isArray(), 'nothing'); | |
64075 | assert.ok(!isArray(undefined), 'undefined'); | |
64076 | assert.ok(!isArray(null), 'null'); | |
64077 | assert.ok(!isArray(123), 'number'); | |
64078 | assert.ok(!isArray('[1,2,3]'), 'string'); | |
64079 | assert.ok(!isArray(new Date()), 'date'); | |
64080 | assert.ok(!isArray({a:1,b:2}), 'object'); | |
64081 | }); | |
64082 | ||
64083 | }))); | |
64084 | ||
64085 | ||
64086 | ;(function (global, factory) { | |
64087 | typeof exports === 'object' && typeof module !== 'undefined' | |
64088 | && typeof require === 'function' ? factory(require('../../moment')) : | |
64089 | typeof define === 'function' && define.amd ? define(['../../moment'], factory) : | |
64090 | factory(global.moment) | |
64091 | }(this, (function (moment) { 'use strict'; | |
64092 | ||
64102 | 64093 | function each(array, callback) { |
64103 | 64094 | var i; |
64104 | 64095 | for (i = 0; i < array.length; i++) { |
64106 | 64097 | } |
64107 | 64098 | } |
64108 | 64099 | |
64109 | function objectKeys(obj) { | |
64110 | if (Object.keys) { | |
64111 | return Object.keys(obj); | |
64112 | } else { | |
64113 | // IE8 | |
64114 | var res = [], i; | |
64115 | for (i in obj) { | |
64116 | if (obj.hasOwnProperty(i)) { | |
64117 | res.push(i); | |
64118 | } | |
64119 | } | |
64120 | return res; | |
64121 | } | |
64122 | } | |
64123 | ||
64124 | 64100 | // Pick the first defined of two or three arguments. |
64125 | ||
64126 | function defineCommonLocaleTests(locale, options) { | |
64127 | test('lenient day of month ordinal parsing', function (assert) { | |
64128 | var i, ordinalStr, testMoment; | |
64129 | for (i = 1; i <= 31; ++i) { | |
64130 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
64131 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
64132 | assert.equal(testMoment.year(), 2014, | |
64133 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
64134 | assert.equal(testMoment.month(), 0, | |
64135 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
64136 | assert.equal(testMoment.date(), i, | |
64137 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
64138 | } | |
64139 | }); | |
64140 | ||
64141 | test('lenient day of month ordinal parsing of number', function (assert) { | |
64142 | var i, testMoment; | |
64143 | for (i = 1; i <= 31; ++i) { | |
64144 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
64145 | assert.equal(testMoment.year(), 2014, | |
64146 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
64147 | assert.equal(testMoment.month(), 0, | |
64148 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
64149 | assert.equal(testMoment.date(), i, | |
64150 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
64151 | } | |
64152 | }); | |
64153 | ||
64154 | test('strict day of month ordinal parsing', function (assert) { | |
64155 | var i, ordinalStr, testMoment; | |
64156 | for (i = 1; i <= 31; ++i) { | |
64157 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
64158 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
64159 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
64160 | } | |
64161 | }); | |
64162 | ||
64163 | test('meridiem invariant', function (assert) { | |
64164 | var h, m, t1, t2; | |
64165 | for (h = 0; h < 24; ++h) { | |
64166 | for (m = 0; m < 60; m += 15) { | |
64167 | t1 = moment.utc([2000, 0, 1, h, m]); | |
64168 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
64169 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
64170 | 'meridiem at ' + t1.format('HH:mm')); | |
64171 | } | |
64172 | } | |
64173 | }); | |
64174 | ||
64175 | test('date format correctness', function (assert) { | |
64176 | var data, tokens; | |
64177 | data = moment.localeData()._longDateFormat; | |
64178 | tokens = objectKeys(data); | |
64179 | each(tokens, function (srchToken) { | |
64180 | // Check each format string to make sure it does not contain any | |
64181 | // tokens that need to be expanded. | |
64182 | each(tokens, function (baseToken) { | |
64183 | // strip escaped sequences | |
64184 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
64185 | assert.equal(false, !!~format.indexOf(srchToken), | |
64186 | 'contains ' + srchToken + ' in ' + baseToken); | |
64187 | }); | |
64188 | }); | |
64189 | }); | |
64190 | ||
64191 | test('month parsing correctness', function (assert) { | |
64192 | var i, m; | |
64193 | ||
64194 | if (locale === 'tr') { | |
64195 | // I can't fix it :( | |
64196 | expect(0); | |
64197 | return; | |
64198 | } | |
64199 | function tester(format) { | |
64200 | var r; | |
64201 | r = moment(m.format(format), format); | |
64202 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
64203 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
64204 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
64205 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
64206 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
64207 | ||
64208 | r = moment(m.format(format), format, true); | |
64209 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
64210 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
64211 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
64212 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
64213 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
64214 | } | |
64215 | ||
64216 | for (i = 0; i < 12; ++i) { | |
64217 | m = moment([2015, i, 15, 18]); | |
64218 | tester('MMM'); | |
64219 | tester('MMM.'); | |
64220 | tester('MMMM'); | |
64221 | tester('MMMM.'); | |
64222 | } | |
64223 | }); | |
64224 | ||
64225 | test('weekday parsing correctness', function (assert) { | |
64226 | var i, m; | |
64227 | ||
64228 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
64229 | // tr, az: There is a lower-case letter (ı), that converted to | |
64230 | // upper then lower changes to i | |
64231 | // ro: there is the letter ț which behaves weird under IE8 | |
64232 | expect(0); | |
64233 | return; | |
64234 | } | |
64235 | function tester(format) { | |
64236 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
64237 | r = moment(m.format(format), format); | |
64238 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
64239 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
64240 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
64241 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
64242 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
64243 | ||
64244 | r = moment(m.format(format), format, true); | |
64245 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
64246 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
64247 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
64248 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
64249 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
64250 | } | |
64251 | ||
64252 | for (i = 0; i < 7; ++i) { | |
64253 | m = moment.utc([2015, 0, i + 1, 18]); | |
64254 | tester('dd'); | |
64255 | tester('ddd'); | |
64256 | tester('dddd'); | |
64257 | } | |
64258 | }); | |
64259 | ||
64260 | test('valid localeData', function (assert) { | |
64261 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
64262 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
64263 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
64264 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
64265 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
64266 | }); | |
64267 | } | |
64268 | 64101 | |
64269 | 64102 | function setupDeprecationHandler(test, moment$$1, scope) { |
64270 | 64103 | test._expectedDeprecations = null; |
64321 | 64154 | |
64322 | 64155 | var test = QUnit.test; |
64323 | 64156 | |
64324 | var expect = QUnit.expect; | |
64325 | ||
64326 | function isArray(input) { | |
64327 | return input instanceof Array || Object.prototype.toString.call(input) === '[object Array]'; | |
64328 | } | |
64329 | ||
64330 | test('isArray recognizes Array objects', function (assert) { | |
64331 | assert.ok(isArray([1,2,3]), 'array args'); | |
64332 | assert.ok(isArray([]), 'empty array'); | |
64333 | assert.ok(isArray(new Array(1,2,3)), 'array constructor'); | |
64334 | }); | |
64335 | ||
64336 | test('isArray rejects non-Array objects', function (assert) { | |
64337 | assert.ok(!isArray(), 'nothing'); | |
64338 | assert.ok(!isArray(undefined), 'undefined'); | |
64339 | assert.ok(!isArray(null), 'null'); | |
64340 | assert.ok(!isArray(123), 'number'); | |
64341 | assert.ok(!isArray('[1,2,3]'), 'string'); | |
64342 | assert.ok(!isArray(new Date()), 'date'); | |
64343 | assert.ok(!isArray({a:1,b:2}), 'object'); | |
64344 | }); | |
64345 | ||
64346 | }))); | |
64347 | ||
64348 | ||
64349 | ;(function (global, factory) { | |
64350 | typeof exports === 'object' && typeof module !== 'undefined' | |
64351 | && typeof require === 'function' ? factory(require('../../moment')) : | |
64352 | typeof define === 'function' && define.amd ? define(['../../moment'], factory) : | |
64353 | factory(global.moment) | |
64354 | }(this, (function (moment) { 'use strict'; | |
64355 | ||
64356 | function each(array, callback) { | |
64357 | var i; | |
64358 | for (i = 0; i < array.length; i++) { | |
64359 | callback(array[i], i, array); | |
64360 | } | |
64361 | } | |
64362 | ||
64363 | function objectKeys(obj) { | |
64364 | if (Object.keys) { | |
64365 | return Object.keys(obj); | |
64366 | } else { | |
64367 | // IE8 | |
64368 | var res = [], i; | |
64369 | for (i in obj) { | |
64370 | if (obj.hasOwnProperty(i)) { | |
64371 | res.push(i); | |
64372 | } | |
64373 | } | |
64374 | return res; | |
64375 | } | |
64376 | } | |
64377 | ||
64378 | // Pick the first defined of two or three arguments. | |
64379 | ||
64380 | function defineCommonLocaleTests(locale, options) { | |
64381 | test('lenient day of month ordinal parsing', function (assert) { | |
64382 | var i, ordinalStr, testMoment; | |
64383 | for (i = 1; i <= 31; ++i) { | |
64384 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
64385 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
64386 | assert.equal(testMoment.year(), 2014, | |
64387 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
64388 | assert.equal(testMoment.month(), 0, | |
64389 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
64390 | assert.equal(testMoment.date(), i, | |
64391 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
64392 | } | |
64393 | }); | |
64394 | ||
64395 | test('lenient day of month ordinal parsing of number', function (assert) { | |
64396 | var i, testMoment; | |
64397 | for (i = 1; i <= 31; ++i) { | |
64398 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
64399 | assert.equal(testMoment.year(), 2014, | |
64400 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
64401 | assert.equal(testMoment.month(), 0, | |
64402 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
64403 | assert.equal(testMoment.date(), i, | |
64404 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
64405 | } | |
64406 | }); | |
64407 | ||
64408 | test('strict day of month ordinal parsing', function (assert) { | |
64409 | var i, ordinalStr, testMoment; | |
64410 | for (i = 1; i <= 31; ++i) { | |
64411 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
64412 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
64413 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
64414 | } | |
64415 | }); | |
64416 | ||
64417 | test('meridiem invariant', function (assert) { | |
64418 | var h, m, t1, t2; | |
64419 | for (h = 0; h < 24; ++h) { | |
64420 | for (m = 0; m < 60; m += 15) { | |
64421 | t1 = moment.utc([2000, 0, 1, h, m]); | |
64422 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
64423 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
64424 | 'meridiem at ' + t1.format('HH:mm')); | |
64425 | } | |
64426 | } | |
64427 | }); | |
64428 | ||
64429 | test('date format correctness', function (assert) { | |
64430 | var data, tokens; | |
64431 | data = moment.localeData()._longDateFormat; | |
64432 | tokens = objectKeys(data); | |
64433 | each(tokens, function (srchToken) { | |
64434 | // Check each format string to make sure it does not contain any | |
64435 | // tokens that need to be expanded. | |
64436 | each(tokens, function (baseToken) { | |
64437 | // strip escaped sequences | |
64438 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
64439 | assert.equal(false, !!~format.indexOf(srchToken), | |
64440 | 'contains ' + srchToken + ' in ' + baseToken); | |
64441 | }); | |
64442 | }); | |
64443 | }); | |
64444 | ||
64445 | test('month parsing correctness', function (assert) { | |
64446 | var i, m; | |
64447 | ||
64448 | if (locale === 'tr') { | |
64449 | // I can't fix it :( | |
64450 | expect(0); | |
64451 | return; | |
64452 | } | |
64453 | function tester(format) { | |
64454 | var r; | |
64455 | r = moment(m.format(format), format); | |
64456 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
64457 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
64458 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
64459 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
64460 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
64461 | ||
64462 | r = moment(m.format(format), format, true); | |
64463 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
64464 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
64465 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
64466 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
64467 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
64468 | } | |
64469 | ||
64470 | for (i = 0; i < 12; ++i) { | |
64471 | m = moment([2015, i, 15, 18]); | |
64472 | tester('MMM'); | |
64473 | tester('MMM.'); | |
64474 | tester('MMMM'); | |
64475 | tester('MMMM.'); | |
64476 | } | |
64477 | }); | |
64478 | ||
64479 | test('weekday parsing correctness', function (assert) { | |
64480 | var i, m; | |
64481 | ||
64482 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
64483 | // tr, az: There is a lower-case letter (ı), that converted to | |
64484 | // upper then lower changes to i | |
64485 | // ro: there is the letter ț which behaves weird under IE8 | |
64486 | expect(0); | |
64487 | return; | |
64488 | } | |
64489 | function tester(format) { | |
64490 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
64491 | r = moment(m.format(format), format); | |
64492 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
64493 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
64494 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
64495 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
64496 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
64497 | ||
64498 | r = moment(m.format(format), format, true); | |
64499 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
64500 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
64501 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
64502 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
64503 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
64504 | } | |
64505 | ||
64506 | for (i = 0; i < 7; ++i) { | |
64507 | m = moment.utc([2015, 0, i + 1, 18]); | |
64508 | tester('dd'); | |
64509 | tester('ddd'); | |
64510 | tester('dddd'); | |
64511 | } | |
64512 | }); | |
64513 | ||
64514 | test('valid localeData', function (assert) { | |
64515 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
64516 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
64517 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
64518 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
64519 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
64520 | }); | |
64521 | } | |
64522 | ||
64523 | function setupDeprecationHandler(test, moment$$1, scope) { | |
64524 | test._expectedDeprecations = null; | |
64525 | test._observedDeprecations = null; | |
64526 | test._oldSupress = moment$$1.suppressDeprecationWarnings; | |
64527 | moment$$1.suppressDeprecationWarnings = true; | |
64528 | test.expectedDeprecations = function () { | |
64529 | test._expectedDeprecations = arguments; | |
64530 | test._observedDeprecations = []; | |
64531 | }; | |
64532 | moment$$1.deprecationHandler = function (name, msg) { | |
64533 | var deprecationId = matchedDeprecation(name, msg, test._expectedDeprecations); | |
64534 | if (deprecationId === -1) { | |
64535 | throw new Error('Unexpected deprecation thrown name=' + | |
64536 | name + ' msg=' + msg); | |
64537 | } | |
64538 | test._observedDeprecations[deprecationId] = 1; | |
64539 | }; | |
64540 | } | |
64541 | ||
64542 | function teardownDeprecationHandler(test, moment$$1, scope) { | |
64543 | moment$$1.suppressDeprecationWarnings = test._oldSupress; | |
64544 | ||
64545 | if (test._expectedDeprecations != null) { | |
64546 | var missedDeprecations = []; | |
64547 | each(test._expectedDeprecations, function (deprecationPattern, id) { | |
64548 | if (test._observedDeprecations[id] !== 1) { | |
64549 | missedDeprecations.push(deprecationPattern); | |
64550 | } | |
64551 | }); | |
64552 | if (missedDeprecations.length !== 0) { | |
64553 | throw new Error('Expected deprecation warnings did not happen: ' + | |
64554 | missedDeprecations.join(' ')); | |
64555 | } | |
64556 | } | |
64557 | } | |
64558 | ||
64559 | function matchedDeprecation(name, msg, deprecations) { | |
64560 | if (deprecations == null) { | |
64561 | return -1; | |
64562 | } | |
64563 | for (var i = 0; i < deprecations.length; ++i) { | |
64564 | if (name != null && name === deprecations[i]) { | |
64565 | return i; | |
64566 | } | |
64567 | if (msg != null && msg.substring(0, deprecations[i].length) === deprecations[i]) { | |
64568 | return i; | |
64569 | } | |
64570 | } | |
64571 | return -1; | |
64572 | } | |
64573 | ||
64574 | /*global QUnit:false*/ | |
64575 | ||
64576 | var test = QUnit.test; | |
64577 | ||
64578 | var expect = QUnit.expect; | |
64157 | ||
64579 | 64158 | |
64580 | 64159 | function module$1 (name, lifecycle) { |
64581 | 64160 | QUnit.module(name, { |
64790 | 64369 | } |
64791 | 64370 | } |
64792 | 64371 | |
64793 | function objectKeys(obj) { | |
64794 | if (Object.keys) { | |
64795 | return Object.keys(obj); | |
64796 | } else { | |
64797 | // IE8 | |
64798 | var res = [], i; | |
64799 | for (i in obj) { | |
64800 | if (obj.hasOwnProperty(i)) { | |
64801 | res.push(i); | |
64802 | } | |
64803 | } | |
64804 | return res; | |
64805 | } | |
64806 | } | |
64807 | ||
64808 | 64372 | // Pick the first defined of two or three arguments. |
64809 | ||
64810 | function defineCommonLocaleTests(locale, options) { | |
64811 | test('lenient day of month ordinal parsing', function (assert) { | |
64812 | var i, ordinalStr, testMoment; | |
64813 | for (i = 1; i <= 31; ++i) { | |
64814 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
64815 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
64816 | assert.equal(testMoment.year(), 2014, | |
64817 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
64818 | assert.equal(testMoment.month(), 0, | |
64819 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
64820 | assert.equal(testMoment.date(), i, | |
64821 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
64822 | } | |
64823 | }); | |
64824 | ||
64825 | test('lenient day of month ordinal parsing of number', function (assert) { | |
64826 | var i, testMoment; | |
64827 | for (i = 1; i <= 31; ++i) { | |
64828 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
64829 | assert.equal(testMoment.year(), 2014, | |
64830 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
64831 | assert.equal(testMoment.month(), 0, | |
64832 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
64833 | assert.equal(testMoment.date(), i, | |
64834 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
64835 | } | |
64836 | }); | |
64837 | ||
64838 | test('strict day of month ordinal parsing', function (assert) { | |
64839 | var i, ordinalStr, testMoment; | |
64840 | for (i = 1; i <= 31; ++i) { | |
64841 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
64842 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
64843 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
64844 | } | |
64845 | }); | |
64846 | ||
64847 | test('meridiem invariant', function (assert) { | |
64848 | var h, m, t1, t2; | |
64849 | for (h = 0; h < 24; ++h) { | |
64850 | for (m = 0; m < 60; m += 15) { | |
64851 | t1 = moment.utc([2000, 0, 1, h, m]); | |
64852 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
64853 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
64854 | 'meridiem at ' + t1.format('HH:mm')); | |
64855 | } | |
64856 | } | |
64857 | }); | |
64858 | ||
64859 | test('date format correctness', function (assert) { | |
64860 | var data, tokens; | |
64861 | data = moment.localeData()._longDateFormat; | |
64862 | tokens = objectKeys(data); | |
64863 | each(tokens, function (srchToken) { | |
64864 | // Check each format string to make sure it does not contain any | |
64865 | // tokens that need to be expanded. | |
64866 | each(tokens, function (baseToken) { | |
64867 | // strip escaped sequences | |
64868 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
64869 | assert.equal(false, !!~format.indexOf(srchToken), | |
64870 | 'contains ' + srchToken + ' in ' + baseToken); | |
64871 | }); | |
64872 | }); | |
64873 | }); | |
64874 | ||
64875 | test('month parsing correctness', function (assert) { | |
64876 | var i, m; | |
64877 | ||
64878 | if (locale === 'tr') { | |
64879 | // I can't fix it :( | |
64880 | expect(0); | |
64881 | return; | |
64882 | } | |
64883 | function tester(format) { | |
64884 | var r; | |
64885 | r = moment(m.format(format), format); | |
64886 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
64887 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
64888 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
64889 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
64890 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
64891 | ||
64892 | r = moment(m.format(format), format, true); | |
64893 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
64894 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
64895 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
64896 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
64897 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
64898 | } | |
64899 | ||
64900 | for (i = 0; i < 12; ++i) { | |
64901 | m = moment([2015, i, 15, 18]); | |
64902 | tester('MMM'); | |
64903 | tester('MMM.'); | |
64904 | tester('MMMM'); | |
64905 | tester('MMMM.'); | |
64906 | } | |
64907 | }); | |
64908 | ||
64909 | test('weekday parsing correctness', function (assert) { | |
64910 | var i, m; | |
64911 | ||
64912 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
64913 | // tr, az: There is a lower-case letter (ı), that converted to | |
64914 | // upper then lower changes to i | |
64915 | // ro: there is the letter ț which behaves weird under IE8 | |
64916 | expect(0); | |
64917 | return; | |
64918 | } | |
64919 | function tester(format) { | |
64920 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
64921 | r = moment(m.format(format), format); | |
64922 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
64923 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
64924 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
64925 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
64926 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
64927 | ||
64928 | r = moment(m.format(format), format, true); | |
64929 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
64930 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
64931 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
64932 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
64933 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
64934 | } | |
64935 | ||
64936 | for (i = 0; i < 7; ++i) { | |
64937 | m = moment.utc([2015, 0, i + 1, 18]); | |
64938 | tester('dd'); | |
64939 | tester('ddd'); | |
64940 | tester('dddd'); | |
64941 | } | |
64942 | }); | |
64943 | ||
64944 | test('valid localeData', function (assert) { | |
64945 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
64946 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
64947 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
64948 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
64949 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
64950 | }); | |
64951 | } | |
64952 | 64373 | |
64953 | 64374 | function setupDeprecationHandler(test, moment$$1, scope) { |
64954 | 64375 | test._expectedDeprecations = null; |
65005 | 64426 | |
65006 | 64427 | var test = QUnit.test; |
65007 | 64428 | |
65008 | var expect = QUnit.expect; | |
64429 | ||
65009 | 64430 | |
65010 | 64431 | function module$1 (name, lifecycle) { |
65011 | 64432 | QUnit.module(name, { |
65400 | 64821 | } |
65401 | 64822 | } |
65402 | 64823 | |
65403 | function objectKeys(obj) { | |
65404 | if (Object.keys) { | |
65405 | return Object.keys(obj); | |
65406 | } else { | |
65407 | // IE8 | |
65408 | var res = [], i; | |
65409 | for (i in obj) { | |
65410 | if (obj.hasOwnProperty(i)) { | |
65411 | res.push(i); | |
65412 | } | |
65413 | } | |
65414 | return res; | |
65415 | } | |
65416 | } | |
65417 | ||
65418 | 64824 | // Pick the first defined of two or three arguments. |
65419 | ||
65420 | function defineCommonLocaleTests(locale, options) { | |
65421 | test('lenient day of month ordinal parsing', function (assert) { | |
65422 | var i, ordinalStr, testMoment; | |
65423 | for (i = 1; i <= 31; ++i) { | |
65424 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
65425 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
65426 | assert.equal(testMoment.year(), 2014, | |
65427 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
65428 | assert.equal(testMoment.month(), 0, | |
65429 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
65430 | assert.equal(testMoment.date(), i, | |
65431 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
65432 | } | |
65433 | }); | |
65434 | ||
65435 | test('lenient day of month ordinal parsing of number', function (assert) { | |
65436 | var i, testMoment; | |
65437 | for (i = 1; i <= 31; ++i) { | |
65438 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
65439 | assert.equal(testMoment.year(), 2014, | |
65440 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
65441 | assert.equal(testMoment.month(), 0, | |
65442 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
65443 | assert.equal(testMoment.date(), i, | |
65444 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
65445 | } | |
65446 | }); | |
65447 | ||
65448 | test('strict day of month ordinal parsing', function (assert) { | |
65449 | var i, ordinalStr, testMoment; | |
65450 | for (i = 1; i <= 31; ++i) { | |
65451 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
65452 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
65453 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
65454 | } | |
65455 | }); | |
65456 | ||
65457 | test('meridiem invariant', function (assert) { | |
65458 | var h, m, t1, t2; | |
65459 | for (h = 0; h < 24; ++h) { | |
65460 | for (m = 0; m < 60; m += 15) { | |
65461 | t1 = moment.utc([2000, 0, 1, h, m]); | |
65462 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
65463 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
65464 | 'meridiem at ' + t1.format('HH:mm')); | |
65465 | } | |
65466 | } | |
65467 | }); | |
65468 | ||
65469 | test('date format correctness', function (assert) { | |
65470 | var data, tokens; | |
65471 | data = moment.localeData()._longDateFormat; | |
65472 | tokens = objectKeys(data); | |
65473 | each(tokens, function (srchToken) { | |
65474 | // Check each format string to make sure it does not contain any | |
65475 | // tokens that need to be expanded. | |
65476 | each(tokens, function (baseToken) { | |
65477 | // strip escaped sequences | |
65478 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
65479 | assert.equal(false, !!~format.indexOf(srchToken), | |
65480 | 'contains ' + srchToken + ' in ' + baseToken); | |
65481 | }); | |
65482 | }); | |
65483 | }); | |
65484 | ||
65485 | test('month parsing correctness', function (assert) { | |
65486 | var i, m; | |
65487 | ||
65488 | if (locale === 'tr') { | |
65489 | // I can't fix it :( | |
65490 | expect(0); | |
65491 | return; | |
65492 | } | |
65493 | function tester(format) { | |
65494 | var r; | |
65495 | r = moment(m.format(format), format); | |
65496 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
65497 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
65498 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
65499 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
65500 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
65501 | ||
65502 | r = moment(m.format(format), format, true); | |
65503 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
65504 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
65505 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
65506 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
65507 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
65508 | } | |
65509 | ||
65510 | for (i = 0; i < 12; ++i) { | |
65511 | m = moment([2015, i, 15, 18]); | |
65512 | tester('MMM'); | |
65513 | tester('MMM.'); | |
65514 | tester('MMMM'); | |
65515 | tester('MMMM.'); | |
65516 | } | |
65517 | }); | |
65518 | ||
65519 | test('weekday parsing correctness', function (assert) { | |
65520 | var i, m; | |
65521 | ||
65522 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
65523 | // tr, az: There is a lower-case letter (ı), that converted to | |
65524 | // upper then lower changes to i | |
65525 | // ro: there is the letter ț which behaves weird under IE8 | |
65526 | expect(0); | |
65527 | return; | |
65528 | } | |
65529 | function tester(format) { | |
65530 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
65531 | r = moment(m.format(format), format); | |
65532 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
65533 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
65534 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
65535 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
65536 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
65537 | ||
65538 | r = moment(m.format(format), format, true); | |
65539 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
65540 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
65541 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
65542 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
65543 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
65544 | } | |
65545 | ||
65546 | for (i = 0; i < 7; ++i) { | |
65547 | m = moment.utc([2015, 0, i + 1, 18]); | |
65548 | tester('dd'); | |
65549 | tester('ddd'); | |
65550 | tester('dddd'); | |
65551 | } | |
65552 | }); | |
65553 | ||
65554 | test('valid localeData', function (assert) { | |
65555 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
65556 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
65557 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
65558 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
65559 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
65560 | }); | |
65561 | } | |
65562 | 64825 | |
65563 | 64826 | function setupDeprecationHandler(test, moment$$1, scope) { |
65564 | 64827 | test._expectedDeprecations = null; |
65615 | 64878 | |
65616 | 64879 | var test = QUnit.test; |
65617 | 64880 | |
65618 | var expect = QUnit.expect; | |
64881 | ||
65619 | 64882 | |
65620 | 64883 | function module$1 (name, lifecycle) { |
65621 | 64884 | QUnit.module(name, { |
65679 | 64942 | } |
65680 | 64943 | } |
65681 | 64944 | |
65682 | function objectKeys(obj) { | |
65683 | if (Object.keys) { | |
65684 | return Object.keys(obj); | |
65685 | } else { | |
65686 | // IE8 | |
65687 | var res = [], i; | |
65688 | for (i in obj) { | |
65689 | if (obj.hasOwnProperty(i)) { | |
65690 | res.push(i); | |
65691 | } | |
65692 | } | |
65693 | return res; | |
65694 | } | |
65695 | } | |
65696 | ||
65697 | 64945 | // Pick the first defined of two or three arguments. |
65698 | ||
65699 | function defineCommonLocaleTests(locale, options) { | |
65700 | test('lenient day of month ordinal parsing', function (assert) { | |
65701 | var i, ordinalStr, testMoment; | |
65702 | for (i = 1; i <= 31; ++i) { | |
65703 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
65704 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
65705 | assert.equal(testMoment.year(), 2014, | |
65706 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
65707 | assert.equal(testMoment.month(), 0, | |
65708 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
65709 | assert.equal(testMoment.date(), i, | |
65710 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
65711 | } | |
65712 | }); | |
65713 | ||
65714 | test('lenient day of month ordinal parsing of number', function (assert) { | |
65715 | var i, testMoment; | |
65716 | for (i = 1; i <= 31; ++i) { | |
65717 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
65718 | assert.equal(testMoment.year(), 2014, | |
65719 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
65720 | assert.equal(testMoment.month(), 0, | |
65721 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
65722 | assert.equal(testMoment.date(), i, | |
65723 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
65724 | } | |
65725 | }); | |
65726 | ||
65727 | test('strict day of month ordinal parsing', function (assert) { | |
65728 | var i, ordinalStr, testMoment; | |
65729 | for (i = 1; i <= 31; ++i) { | |
65730 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
65731 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
65732 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
65733 | } | |
65734 | }); | |
65735 | ||
65736 | test('meridiem invariant', function (assert) { | |
65737 | var h, m, t1, t2; | |
65738 | for (h = 0; h < 24; ++h) { | |
65739 | for (m = 0; m < 60; m += 15) { | |
65740 | t1 = moment.utc([2000, 0, 1, h, m]); | |
65741 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
65742 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
65743 | 'meridiem at ' + t1.format('HH:mm')); | |
65744 | } | |
65745 | } | |
65746 | }); | |
65747 | ||
65748 | test('date format correctness', function (assert) { | |
65749 | var data, tokens; | |
65750 | data = moment.localeData()._longDateFormat; | |
65751 | tokens = objectKeys(data); | |
65752 | each(tokens, function (srchToken) { | |
65753 | // Check each format string to make sure it does not contain any | |
65754 | // tokens that need to be expanded. | |
65755 | each(tokens, function (baseToken) { | |
65756 | // strip escaped sequences | |
65757 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
65758 | assert.equal(false, !!~format.indexOf(srchToken), | |
65759 | 'contains ' + srchToken + ' in ' + baseToken); | |
65760 | }); | |
65761 | }); | |
65762 | }); | |
65763 | ||
65764 | test('month parsing correctness', function (assert) { | |
65765 | var i, m; | |
65766 | ||
65767 | if (locale === 'tr') { | |
65768 | // I can't fix it :( | |
65769 | expect(0); | |
65770 | return; | |
65771 | } | |
65772 | function tester(format) { | |
65773 | var r; | |
65774 | r = moment(m.format(format), format); | |
65775 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
65776 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
65777 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
65778 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
65779 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
65780 | ||
65781 | r = moment(m.format(format), format, true); | |
65782 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
65783 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
65784 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
65785 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
65786 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
65787 | } | |
65788 | ||
65789 | for (i = 0; i < 12; ++i) { | |
65790 | m = moment([2015, i, 15, 18]); | |
65791 | tester('MMM'); | |
65792 | tester('MMM.'); | |
65793 | tester('MMMM'); | |
65794 | tester('MMMM.'); | |
65795 | } | |
65796 | }); | |
65797 | ||
65798 | test('weekday parsing correctness', function (assert) { | |
65799 | var i, m; | |
65800 | ||
65801 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
65802 | // tr, az: There is a lower-case letter (ı), that converted to | |
65803 | // upper then lower changes to i | |
65804 | // ro: there is the letter ț which behaves weird under IE8 | |
65805 | expect(0); | |
65806 | return; | |
65807 | } | |
65808 | function tester(format) { | |
65809 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
65810 | r = moment(m.format(format), format); | |
65811 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
65812 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
65813 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
65814 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
65815 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
65816 | ||
65817 | r = moment(m.format(format), format, true); | |
65818 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
65819 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
65820 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
65821 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
65822 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
65823 | } | |
65824 | ||
65825 | for (i = 0; i < 7; ++i) { | |
65826 | m = moment.utc([2015, 0, i + 1, 18]); | |
65827 | tester('dd'); | |
65828 | tester('ddd'); | |
65829 | tester('dddd'); | |
65830 | } | |
65831 | }); | |
65832 | ||
65833 | test('valid localeData', function (assert) { | |
65834 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
65835 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
65836 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
65837 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
65838 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
65839 | }); | |
65840 | } | |
65841 | 64946 | |
65842 | 64947 | function setupDeprecationHandler(test, moment$$1, scope) { |
65843 | 64948 | test._expectedDeprecations = null; |
65894 | 64999 | |
65895 | 65000 | var test = QUnit.test; |
65896 | 65001 | |
65897 | var expect = QUnit.expect; | |
65002 | ||
65898 | 65003 | |
65899 | 65004 | function module$1 (name, lifecycle) { |
65900 | 65005 | QUnit.module(name, { |
65968 | 65073 | factory(global.moment) |
65969 | 65074 | }(this, (function (moment) { 'use strict'; |
65970 | 65075 | |
65076 | // Pick the first defined of two or three arguments. | |
65077 | ||
65078 | /*global QUnit:false*/ | |
65079 | ||
65080 | var test = QUnit.test; | |
65081 | ||
65082 | function isNumber(input) { | |
65083 | return typeof input === 'number' || Object.prototype.toString.call(input) === '[object Number]'; | |
65084 | } | |
65085 | ||
65086 | test('isNumber recognizes numbers', function (assert) { | |
65087 | assert.ok(isNumber(1), 'simple integer'); | |
65088 | assert.ok(isNumber(0), 'simple number'); | |
65089 | assert.ok(isNumber(-0), 'silly number'); | |
65090 | assert.ok(isNumber(1010010293029), 'large number'); | |
65091 | assert.ok(isNumber(Infinity), 'largest number'); | |
65092 | assert.ok(isNumber(-Infinity), 'smallest number'); | |
65093 | assert.ok(isNumber(NaN), 'not number'); | |
65094 | assert.ok(isNumber(1.100393830000), 'decimal numbers'); | |
65095 | assert.ok(isNumber(Math.LN2), 'natural log of two'); | |
65096 | assert.ok(isNumber(Math.PI), 'delicious number'); | |
65097 | assert.ok(isNumber(5e10), 'scientifically notated number'); | |
65098 | assert.ok(isNumber(new Number(1)), 'number primitive wrapped in an object'); // jshint ignore:line | |
65099 | }); | |
65100 | ||
65101 | test('isNumber rejects non-numbers', function (assert) { | |
65102 | assert.ok(!isNumber(), 'nothing'); | |
65103 | assert.ok(!isNumber(undefined), 'undefined'); | |
65104 | assert.ok(!isNumber(null), 'null'); | |
65105 | assert.ok(!isNumber([1]), 'array'); | |
65106 | assert.ok(!isNumber('[1,2,3]'), 'string'); | |
65107 | assert.ok(!isNumber(new Date()), 'date'); | |
65108 | assert.ok(!isNumber({a:1,b:2}), 'object'); | |
65109 | }); | |
65110 | ||
65111 | }))); | |
65112 | ||
65113 | ||
65114 | ;(function (global, factory) { | |
65115 | typeof exports === 'object' && typeof module !== 'undefined' | |
65116 | && typeof require === 'function' ? factory(require('../../moment')) : | |
65117 | typeof define === 'function' && define.amd ? define(['../../moment'], factory) : | |
65118 | factory(global.moment) | |
65119 | }(this, (function (moment) { 'use strict'; | |
65120 | ||
65971 | 65121 | function each(array, callback) { |
65972 | 65122 | var i; |
65973 | 65123 | for (i = 0; i < array.length; i++) { |
65975 | 65125 | } |
65976 | 65126 | } |
65977 | 65127 | |
65978 | function objectKeys(obj) { | |
65979 | if (Object.keys) { | |
65980 | return Object.keys(obj); | |
65981 | } else { | |
65982 | // IE8 | |
65983 | var res = [], i; | |
65984 | for (i in obj) { | |
65985 | if (obj.hasOwnProperty(i)) { | |
65986 | res.push(i); | |
65987 | } | |
65988 | } | |
65989 | return res; | |
65990 | } | |
65991 | } | |
65992 | ||
65993 | 65128 | // Pick the first defined of two or three arguments. |
65994 | ||
65995 | function defineCommonLocaleTests(locale, options) { | |
65996 | test('lenient day of month ordinal parsing', function (assert) { | |
65997 | var i, ordinalStr, testMoment; | |
65998 | for (i = 1; i <= 31; ++i) { | |
65999 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
66000 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
66001 | assert.equal(testMoment.year(), 2014, | |
66002 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
66003 | assert.equal(testMoment.month(), 0, | |
66004 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
66005 | assert.equal(testMoment.date(), i, | |
66006 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
66007 | } | |
66008 | }); | |
66009 | ||
66010 | test('lenient day of month ordinal parsing of number', function (assert) { | |
66011 | var i, testMoment; | |
66012 | for (i = 1; i <= 31; ++i) { | |
66013 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
66014 | assert.equal(testMoment.year(), 2014, | |
66015 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
66016 | assert.equal(testMoment.month(), 0, | |
66017 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
66018 | assert.equal(testMoment.date(), i, | |
66019 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
66020 | } | |
66021 | }); | |
66022 | ||
66023 | test('strict day of month ordinal parsing', function (assert) { | |
66024 | var i, ordinalStr, testMoment; | |
66025 | for (i = 1; i <= 31; ++i) { | |
66026 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
66027 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
66028 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
66029 | } | |
66030 | }); | |
66031 | ||
66032 | test('meridiem invariant', function (assert) { | |
66033 | var h, m, t1, t2; | |
66034 | for (h = 0; h < 24; ++h) { | |
66035 | for (m = 0; m < 60; m += 15) { | |
66036 | t1 = moment.utc([2000, 0, 1, h, m]); | |
66037 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
66038 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
66039 | 'meridiem at ' + t1.format('HH:mm')); | |
66040 | } | |
66041 | } | |
66042 | }); | |
66043 | ||
66044 | test('date format correctness', function (assert) { | |
66045 | var data, tokens; | |
66046 | data = moment.localeData()._longDateFormat; | |
66047 | tokens = objectKeys(data); | |
66048 | each(tokens, function (srchToken) { | |
66049 | // Check each format string to make sure it does not contain any | |
66050 | // tokens that need to be expanded. | |
66051 | each(tokens, function (baseToken) { | |
66052 | // strip escaped sequences | |
66053 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
66054 | assert.equal(false, !!~format.indexOf(srchToken), | |
66055 | 'contains ' + srchToken + ' in ' + baseToken); | |
66056 | }); | |
66057 | }); | |
66058 | }); | |
66059 | ||
66060 | test('month parsing correctness', function (assert) { | |
66061 | var i, m; | |
66062 | ||
66063 | if (locale === 'tr') { | |
66064 | // I can't fix it :( | |
66065 | expect(0); | |
66066 | return; | |
66067 | } | |
66068 | function tester(format) { | |
66069 | var r; | |
66070 | r = moment(m.format(format), format); | |
66071 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
66072 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
66073 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
66074 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
66075 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
66076 | ||
66077 | r = moment(m.format(format), format, true); | |
66078 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
66079 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
66080 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
66081 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
66082 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
66083 | } | |
66084 | ||
66085 | for (i = 0; i < 12; ++i) { | |
66086 | m = moment([2015, i, 15, 18]); | |
66087 | tester('MMM'); | |
66088 | tester('MMM.'); | |
66089 | tester('MMMM'); | |
66090 | tester('MMMM.'); | |
66091 | } | |
66092 | }); | |
66093 | ||
66094 | test('weekday parsing correctness', function (assert) { | |
66095 | var i, m; | |
66096 | ||
66097 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
66098 | // tr, az: There is a lower-case letter (ı), that converted to | |
66099 | // upper then lower changes to i | |
66100 | // ro: there is the letter ț which behaves weird under IE8 | |
66101 | expect(0); | |
66102 | return; | |
66103 | } | |
66104 | function tester(format) { | |
66105 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
66106 | r = moment(m.format(format), format); | |
66107 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
66108 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
66109 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
66110 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
66111 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
66112 | ||
66113 | r = moment(m.format(format), format, true); | |
66114 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
66115 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
66116 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
66117 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
66118 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
66119 | } | |
66120 | ||
66121 | for (i = 0; i < 7; ++i) { | |
66122 | m = moment.utc([2015, 0, i + 1, 18]); | |
66123 | tester('dd'); | |
66124 | tester('ddd'); | |
66125 | tester('dddd'); | |
66126 | } | |
66127 | }); | |
66128 | ||
66129 | test('valid localeData', function (assert) { | |
66130 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
66131 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
66132 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
66133 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
66134 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
66135 | }); | |
66136 | } | |
66137 | 65129 | |
66138 | 65130 | function setupDeprecationHandler(test, moment$$1, scope) { |
66139 | 65131 | test._expectedDeprecations = null; |
66190 | 65182 | |
66191 | 65183 | var test = QUnit.test; |
66192 | 65184 | |
66193 | var expect = QUnit.expect; | |
66194 | ||
66195 | function isNumber(input) { | |
66196 | return typeof input === 'number' || Object.prototype.toString.call(input) === '[object Number]'; | |
66197 | } | |
66198 | ||
66199 | test('isNumber recognizes numbers', function (assert) { | |
66200 | assert.ok(isNumber(1), 'simple integer'); | |
66201 | assert.ok(isNumber(0), 'simple number'); | |
66202 | assert.ok(isNumber(-0), 'silly number'); | |
66203 | assert.ok(isNumber(1010010293029), 'large number'); | |
66204 | assert.ok(isNumber(Infinity), 'largest number'); | |
66205 | assert.ok(isNumber(-Infinity), 'smallest number'); | |
66206 | assert.ok(isNumber(NaN), 'not number'); | |
66207 | assert.ok(isNumber(1.100393830000), 'decimal numbers'); | |
66208 | assert.ok(isNumber(Math.LN2), 'natural log of two'); | |
66209 | assert.ok(isNumber(Math.PI), 'delicious number'); | |
66210 | assert.ok(isNumber(5e10), 'scientifically notated number'); | |
66211 | assert.ok(isNumber(new Number(1)), 'number primitive wrapped in an object'); // jshint ignore:line | |
66212 | }); | |
66213 | ||
66214 | test('isNumber rejects non-numbers', function (assert) { | |
66215 | assert.ok(!isNumber(), 'nothing'); | |
66216 | assert.ok(!isNumber(undefined), 'undefined'); | |
66217 | assert.ok(!isNumber(null), 'null'); | |
66218 | assert.ok(!isNumber([1]), 'array'); | |
66219 | assert.ok(!isNumber('[1,2,3]'), 'string'); | |
66220 | assert.ok(!isNumber(new Date()), 'date'); | |
66221 | assert.ok(!isNumber({a:1,b:2}), 'object'); | |
66222 | }); | |
66223 | ||
66224 | }))); | |
66225 | ||
66226 | ||
66227 | ;(function (global, factory) { | |
66228 | typeof exports === 'object' && typeof module !== 'undefined' | |
66229 | && typeof require === 'function' ? factory(require('../../moment')) : | |
66230 | typeof define === 'function' && define.amd ? define(['../../moment'], factory) : | |
66231 | factory(global.moment) | |
66232 | }(this, (function (moment) { 'use strict'; | |
66233 | ||
66234 | function each(array, callback) { | |
66235 | var i; | |
66236 | for (i = 0; i < array.length; i++) { | |
66237 | callback(array[i], i, array); | |
66238 | } | |
66239 | } | |
66240 | ||
66241 | function objectKeys(obj) { | |
66242 | if (Object.keys) { | |
66243 | return Object.keys(obj); | |
66244 | } else { | |
66245 | // IE8 | |
66246 | var res = [], i; | |
66247 | for (i in obj) { | |
66248 | if (obj.hasOwnProperty(i)) { | |
66249 | res.push(i); | |
66250 | } | |
66251 | } | |
66252 | return res; | |
66253 | } | |
66254 | } | |
66255 | ||
66256 | // Pick the first defined of two or three arguments. | |
66257 | ||
66258 | function defineCommonLocaleTests(locale, options) { | |
66259 | test('lenient day of month ordinal parsing', function (assert) { | |
66260 | var i, ordinalStr, testMoment; | |
66261 | for (i = 1; i <= 31; ++i) { | |
66262 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
66263 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
66264 | assert.equal(testMoment.year(), 2014, | |
66265 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
66266 | assert.equal(testMoment.month(), 0, | |
66267 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
66268 | assert.equal(testMoment.date(), i, | |
66269 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
66270 | } | |
66271 | }); | |
66272 | ||
66273 | test('lenient day of month ordinal parsing of number', function (assert) { | |
66274 | var i, testMoment; | |
66275 | for (i = 1; i <= 31; ++i) { | |
66276 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
66277 | assert.equal(testMoment.year(), 2014, | |
66278 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
66279 | assert.equal(testMoment.month(), 0, | |
66280 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
66281 | assert.equal(testMoment.date(), i, | |
66282 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
66283 | } | |
66284 | }); | |
66285 | ||
66286 | test('strict day of month ordinal parsing', function (assert) { | |
66287 | var i, ordinalStr, testMoment; | |
66288 | for (i = 1; i <= 31; ++i) { | |
66289 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
66290 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
66291 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
66292 | } | |
66293 | }); | |
66294 | ||
66295 | test('meridiem invariant', function (assert) { | |
66296 | var h, m, t1, t2; | |
66297 | for (h = 0; h < 24; ++h) { | |
66298 | for (m = 0; m < 60; m += 15) { | |
66299 | t1 = moment.utc([2000, 0, 1, h, m]); | |
66300 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
66301 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
66302 | 'meridiem at ' + t1.format('HH:mm')); | |
66303 | } | |
66304 | } | |
66305 | }); | |
66306 | ||
66307 | test('date format correctness', function (assert) { | |
66308 | var data, tokens; | |
66309 | data = moment.localeData()._longDateFormat; | |
66310 | tokens = objectKeys(data); | |
66311 | each(tokens, function (srchToken) { | |
66312 | // Check each format string to make sure it does not contain any | |
66313 | // tokens that need to be expanded. | |
66314 | each(tokens, function (baseToken) { | |
66315 | // strip escaped sequences | |
66316 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
66317 | assert.equal(false, !!~format.indexOf(srchToken), | |
66318 | 'contains ' + srchToken + ' in ' + baseToken); | |
66319 | }); | |
66320 | }); | |
66321 | }); | |
66322 | ||
66323 | test('month parsing correctness', function (assert) { | |
66324 | var i, m; | |
66325 | ||
66326 | if (locale === 'tr') { | |
66327 | // I can't fix it :( | |
66328 | expect(0); | |
66329 | return; | |
66330 | } | |
66331 | function tester(format) { | |
66332 | var r; | |
66333 | r = moment(m.format(format), format); | |
66334 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
66335 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
66336 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
66337 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
66338 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
66339 | ||
66340 | r = moment(m.format(format), format, true); | |
66341 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
66342 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
66343 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
66344 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
66345 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
66346 | } | |
66347 | ||
66348 | for (i = 0; i < 12; ++i) { | |
66349 | m = moment([2015, i, 15, 18]); | |
66350 | tester('MMM'); | |
66351 | tester('MMM.'); | |
66352 | tester('MMMM'); | |
66353 | tester('MMMM.'); | |
66354 | } | |
66355 | }); | |
66356 | ||
66357 | test('weekday parsing correctness', function (assert) { | |
66358 | var i, m; | |
66359 | ||
66360 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
66361 | // tr, az: There is a lower-case letter (ı), that converted to | |
66362 | // upper then lower changes to i | |
66363 | // ro: there is the letter ț which behaves weird under IE8 | |
66364 | expect(0); | |
66365 | return; | |
66366 | } | |
66367 | function tester(format) { | |
66368 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
66369 | r = moment(m.format(format), format); | |
66370 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
66371 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
66372 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
66373 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
66374 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
66375 | ||
66376 | r = moment(m.format(format), format, true); | |
66377 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
66378 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
66379 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
66380 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
66381 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
66382 | } | |
66383 | ||
66384 | for (i = 0; i < 7; ++i) { | |
66385 | m = moment.utc([2015, 0, i + 1, 18]); | |
66386 | tester('dd'); | |
66387 | tester('ddd'); | |
66388 | tester('dddd'); | |
66389 | } | |
66390 | }); | |
66391 | ||
66392 | test('valid localeData', function (assert) { | |
66393 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
66394 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
66395 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
66396 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
66397 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
66398 | }); | |
66399 | } | |
66400 | ||
66401 | function setupDeprecationHandler(test, moment$$1, scope) { | |
66402 | test._expectedDeprecations = null; | |
66403 | test._observedDeprecations = null; | |
66404 | test._oldSupress = moment$$1.suppressDeprecationWarnings; | |
66405 | moment$$1.suppressDeprecationWarnings = true; | |
66406 | test.expectedDeprecations = function () { | |
66407 | test._expectedDeprecations = arguments; | |
66408 | test._observedDeprecations = []; | |
66409 | }; | |
66410 | moment$$1.deprecationHandler = function (name, msg) { | |
66411 | var deprecationId = matchedDeprecation(name, msg, test._expectedDeprecations); | |
66412 | if (deprecationId === -1) { | |
66413 | throw new Error('Unexpected deprecation thrown name=' + | |
66414 | name + ' msg=' + msg); | |
66415 | } | |
66416 | test._observedDeprecations[deprecationId] = 1; | |
66417 | }; | |
66418 | } | |
66419 | ||
66420 | function teardownDeprecationHandler(test, moment$$1, scope) { | |
66421 | moment$$1.suppressDeprecationWarnings = test._oldSupress; | |
66422 | ||
66423 | if (test._expectedDeprecations != null) { | |
66424 | var missedDeprecations = []; | |
66425 | each(test._expectedDeprecations, function (deprecationPattern, id) { | |
66426 | if (test._observedDeprecations[id] !== 1) { | |
66427 | missedDeprecations.push(deprecationPattern); | |
66428 | } | |
66429 | }); | |
66430 | if (missedDeprecations.length !== 0) { | |
66431 | throw new Error('Expected deprecation warnings did not happen: ' + | |
66432 | missedDeprecations.join(' ')); | |
66433 | } | |
66434 | } | |
66435 | } | |
66436 | ||
66437 | function matchedDeprecation(name, msg, deprecations) { | |
66438 | if (deprecations == null) { | |
66439 | return -1; | |
66440 | } | |
66441 | for (var i = 0; i < deprecations.length; ++i) { | |
66442 | if (name != null && name === deprecations[i]) { | |
66443 | return i; | |
66444 | } | |
66445 | if (msg != null && msg.substring(0, deprecations[i].length) === deprecations[i]) { | |
66446 | return i; | |
66447 | } | |
66448 | } | |
66449 | return -1; | |
66450 | } | |
66451 | ||
66452 | /*global QUnit:false*/ | |
66453 | ||
66454 | var test = QUnit.test; | |
66455 | ||
66456 | var expect = QUnit.expect; | |
65185 | ||
66457 | 65186 | |
66458 | 65187 | function module$1 (name, lifecycle) { |
66459 | 65188 | QUnit.module(name, { |
66642 | 65371 | } |
66643 | 65372 | } |
66644 | 65373 | |
66645 | function objectKeys(obj) { | |
66646 | if (Object.keys) { | |
66647 | return Object.keys(obj); | |
66648 | } else { | |
66649 | // IE8 | |
66650 | var res = [], i; | |
66651 | for (i in obj) { | |
66652 | if (obj.hasOwnProperty(i)) { | |
66653 | res.push(i); | |
66654 | } | |
66655 | } | |
66656 | return res; | |
66657 | } | |
66658 | } | |
66659 | ||
66660 | 65374 | // Pick the first defined of two or three arguments. |
66661 | ||
66662 | function defineCommonLocaleTests(locale, options) { | |
66663 | test('lenient day of month ordinal parsing', function (assert) { | |
66664 | var i, ordinalStr, testMoment; | |
66665 | for (i = 1; i <= 31; ++i) { | |
66666 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
66667 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
66668 | assert.equal(testMoment.year(), 2014, | |
66669 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
66670 | assert.equal(testMoment.month(), 0, | |
66671 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
66672 | assert.equal(testMoment.date(), i, | |
66673 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
66674 | } | |
66675 | }); | |
66676 | ||
66677 | test('lenient day of month ordinal parsing of number', function (assert) { | |
66678 | var i, testMoment; | |
66679 | for (i = 1; i <= 31; ++i) { | |
66680 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
66681 | assert.equal(testMoment.year(), 2014, | |
66682 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
66683 | assert.equal(testMoment.month(), 0, | |
66684 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
66685 | assert.equal(testMoment.date(), i, | |
66686 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
66687 | } | |
66688 | }); | |
66689 | ||
66690 | test('strict day of month ordinal parsing', function (assert) { | |
66691 | var i, ordinalStr, testMoment; | |
66692 | for (i = 1; i <= 31; ++i) { | |
66693 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
66694 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
66695 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
66696 | } | |
66697 | }); | |
66698 | ||
66699 | test('meridiem invariant', function (assert) { | |
66700 | var h, m, t1, t2; | |
66701 | for (h = 0; h < 24; ++h) { | |
66702 | for (m = 0; m < 60; m += 15) { | |
66703 | t1 = moment.utc([2000, 0, 1, h, m]); | |
66704 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
66705 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
66706 | 'meridiem at ' + t1.format('HH:mm')); | |
66707 | } | |
66708 | } | |
66709 | }); | |
66710 | ||
66711 | test('date format correctness', function (assert) { | |
66712 | var data, tokens; | |
66713 | data = moment.localeData()._longDateFormat; | |
66714 | tokens = objectKeys(data); | |
66715 | each(tokens, function (srchToken) { | |
66716 | // Check each format string to make sure it does not contain any | |
66717 | // tokens that need to be expanded. | |
66718 | each(tokens, function (baseToken) { | |
66719 | // strip escaped sequences | |
66720 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
66721 | assert.equal(false, !!~format.indexOf(srchToken), | |
66722 | 'contains ' + srchToken + ' in ' + baseToken); | |
66723 | }); | |
66724 | }); | |
66725 | }); | |
66726 | ||
66727 | test('month parsing correctness', function (assert) { | |
66728 | var i, m; | |
66729 | ||
66730 | if (locale === 'tr') { | |
66731 | // I can't fix it :( | |
66732 | expect(0); | |
66733 | return; | |
66734 | } | |
66735 | function tester(format) { | |
66736 | var r; | |
66737 | r = moment(m.format(format), format); | |
66738 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
66739 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
66740 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
66741 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
66742 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
66743 | ||
66744 | r = moment(m.format(format), format, true); | |
66745 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
66746 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
66747 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
66748 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
66749 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
66750 | } | |
66751 | ||
66752 | for (i = 0; i < 12; ++i) { | |
66753 | m = moment([2015, i, 15, 18]); | |
66754 | tester('MMM'); | |
66755 | tester('MMM.'); | |
66756 | tester('MMMM'); | |
66757 | tester('MMMM.'); | |
66758 | } | |
66759 | }); | |
66760 | ||
66761 | test('weekday parsing correctness', function (assert) { | |
66762 | var i, m; | |
66763 | ||
66764 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
66765 | // tr, az: There is a lower-case letter (ı), that converted to | |
66766 | // upper then lower changes to i | |
66767 | // ro: there is the letter ț which behaves weird under IE8 | |
66768 | expect(0); | |
66769 | return; | |
66770 | } | |
66771 | function tester(format) { | |
66772 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
66773 | r = moment(m.format(format), format); | |
66774 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
66775 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
66776 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
66777 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
66778 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
66779 | ||
66780 | r = moment(m.format(format), format, true); | |
66781 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
66782 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
66783 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
66784 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
66785 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
66786 | } | |
66787 | ||
66788 | for (i = 0; i < 7; ++i) { | |
66789 | m = moment.utc([2015, 0, i + 1, 18]); | |
66790 | tester('dd'); | |
66791 | tester('ddd'); | |
66792 | tester('dddd'); | |
66793 | } | |
66794 | }); | |
66795 | ||
66796 | test('valid localeData', function (assert) { | |
66797 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
66798 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
66799 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
66800 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
66801 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
66802 | }); | |
66803 | } | |
66804 | 65375 | |
66805 | 65376 | function setupDeprecationHandler(test, moment$$1, scope) { |
66806 | 65377 | test._expectedDeprecations = null; |
66857 | 65428 | |
66858 | 65429 | var test = QUnit.test; |
66859 | 65430 | |
66860 | var expect = QUnit.expect; | |
65431 | ||
66861 | 65432 | |
66862 | 65433 | function module$1 (name, lifecycle) { |
66863 | 65434 | QUnit.module(name, { |
67077 | 65648 | } |
67078 | 65649 | } |
67079 | 65650 | |
67080 | function objectKeys(obj) { | |
67081 | if (Object.keys) { | |
67082 | return Object.keys(obj); | |
67083 | } else { | |
67084 | // IE8 | |
67085 | var res = [], i; | |
67086 | for (i in obj) { | |
67087 | if (obj.hasOwnProperty(i)) { | |
67088 | res.push(i); | |
67089 | } | |
67090 | } | |
67091 | return res; | |
67092 | } | |
67093 | } | |
67094 | ||
67095 | 65651 | // Pick the first defined of two or three arguments. |
67096 | ||
67097 | function defineCommonLocaleTests(locale, options) { | |
67098 | test('lenient day of month ordinal parsing', function (assert) { | |
67099 | var i, ordinalStr, testMoment; | |
67100 | for (i = 1; i <= 31; ++i) { | |
67101 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
67102 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
67103 | assert.equal(testMoment.year(), 2014, | |
67104 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
67105 | assert.equal(testMoment.month(), 0, | |
67106 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
67107 | assert.equal(testMoment.date(), i, | |
67108 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
67109 | } | |
67110 | }); | |
67111 | ||
67112 | test('lenient day of month ordinal parsing of number', function (assert) { | |
67113 | var i, testMoment; | |
67114 | for (i = 1; i <= 31; ++i) { | |
67115 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
67116 | assert.equal(testMoment.year(), 2014, | |
67117 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
67118 | assert.equal(testMoment.month(), 0, | |
67119 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
67120 | assert.equal(testMoment.date(), i, | |
67121 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
67122 | } | |
67123 | }); | |
67124 | ||
67125 | test('strict day of month ordinal parsing', function (assert) { | |
67126 | var i, ordinalStr, testMoment; | |
67127 | for (i = 1; i <= 31; ++i) { | |
67128 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
67129 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
67130 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
67131 | } | |
67132 | }); | |
67133 | ||
67134 | test('meridiem invariant', function (assert) { | |
67135 | var h, m, t1, t2; | |
67136 | for (h = 0; h < 24; ++h) { | |
67137 | for (m = 0; m < 60; m += 15) { | |
67138 | t1 = moment.utc([2000, 0, 1, h, m]); | |
67139 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
67140 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
67141 | 'meridiem at ' + t1.format('HH:mm')); | |
67142 | } | |
67143 | } | |
67144 | }); | |
67145 | ||
67146 | test('date format correctness', function (assert) { | |
67147 | var data, tokens; | |
67148 | data = moment.localeData()._longDateFormat; | |
67149 | tokens = objectKeys(data); | |
67150 | each(tokens, function (srchToken) { | |
67151 | // Check each format string to make sure it does not contain any | |
67152 | // tokens that need to be expanded. | |
67153 | each(tokens, function (baseToken) { | |
67154 | // strip escaped sequences | |
67155 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
67156 | assert.equal(false, !!~format.indexOf(srchToken), | |
67157 | 'contains ' + srchToken + ' in ' + baseToken); | |
67158 | }); | |
67159 | }); | |
67160 | }); | |
67161 | ||
67162 | test('month parsing correctness', function (assert) { | |
67163 | var i, m; | |
67164 | ||
67165 | if (locale === 'tr') { | |
67166 | // I can't fix it :( | |
67167 | expect(0); | |
67168 | return; | |
67169 | } | |
67170 | function tester(format) { | |
67171 | var r; | |
67172 | r = moment(m.format(format), format); | |
67173 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
67174 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
67175 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
67176 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
67177 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
67178 | ||
67179 | r = moment(m.format(format), format, true); | |
67180 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
67181 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
67182 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
67183 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
67184 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
67185 | } | |
67186 | ||
67187 | for (i = 0; i < 12; ++i) { | |
67188 | m = moment([2015, i, 15, 18]); | |
67189 | tester('MMM'); | |
67190 | tester('MMM.'); | |
67191 | tester('MMMM'); | |
67192 | tester('MMMM.'); | |
67193 | } | |
67194 | }); | |
67195 | ||
67196 | test('weekday parsing correctness', function (assert) { | |
67197 | var i, m; | |
67198 | ||
67199 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
67200 | // tr, az: There is a lower-case letter (ı), that converted to | |
67201 | // upper then lower changes to i | |
67202 | // ro: there is the letter ț which behaves weird under IE8 | |
67203 | expect(0); | |
67204 | return; | |
67205 | } | |
67206 | function tester(format) { | |
67207 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
67208 | r = moment(m.format(format), format); | |
67209 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
67210 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
67211 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
67212 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
67213 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
67214 | ||
67215 | r = moment(m.format(format), format, true); | |
67216 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
67217 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
67218 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
67219 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
67220 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
67221 | } | |
67222 | ||
67223 | for (i = 0; i < 7; ++i) { | |
67224 | m = moment.utc([2015, 0, i + 1, 18]); | |
67225 | tester('dd'); | |
67226 | tester('ddd'); | |
67227 | tester('dddd'); | |
67228 | } | |
67229 | }); | |
67230 | ||
67231 | test('valid localeData', function (assert) { | |
67232 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
67233 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
67234 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
67235 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
67236 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
67237 | }); | |
67238 | } | |
67239 | 65652 | |
67240 | 65653 | function setupDeprecationHandler(test, moment$$1, scope) { |
67241 | 65654 | test._expectedDeprecations = null; |
67292 | 65705 | |
67293 | 65706 | var test = QUnit.test; |
67294 | 65707 | |
67295 | var expect = QUnit.expect; | |
65708 | ||
67296 | 65709 | |
67297 | 65710 | function module$1 (name, lifecycle) { |
67298 | 65711 | QUnit.module(name, { |
67514 | 65927 | } |
67515 | 65928 | } |
67516 | 65929 | |
67517 | function objectKeys(obj) { | |
67518 | if (Object.keys) { | |
67519 | return Object.keys(obj); | |
67520 | } else { | |
67521 | // IE8 | |
67522 | var res = [], i; | |
67523 | for (i in obj) { | |
67524 | if (obj.hasOwnProperty(i)) { | |
67525 | res.push(i); | |
67526 | } | |
67527 | } | |
67528 | return res; | |
67529 | } | |
67530 | } | |
67531 | ||
67532 | 65930 | // Pick the first defined of two or three arguments. |
67533 | ||
67534 | function defineCommonLocaleTests(locale, options) { | |
67535 | test('lenient day of month ordinal parsing', function (assert) { | |
67536 | var i, ordinalStr, testMoment; | |
67537 | for (i = 1; i <= 31; ++i) { | |
67538 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
67539 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
67540 | assert.equal(testMoment.year(), 2014, | |
67541 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
67542 | assert.equal(testMoment.month(), 0, | |
67543 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
67544 | assert.equal(testMoment.date(), i, | |
67545 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
67546 | } | |
67547 | }); | |
67548 | ||
67549 | test('lenient day of month ordinal parsing of number', function (assert) { | |
67550 | var i, testMoment; | |
67551 | for (i = 1; i <= 31; ++i) { | |
67552 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
67553 | assert.equal(testMoment.year(), 2014, | |
67554 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
67555 | assert.equal(testMoment.month(), 0, | |
67556 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
67557 | assert.equal(testMoment.date(), i, | |
67558 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
67559 | } | |
67560 | }); | |
67561 | ||
67562 | test('strict day of month ordinal parsing', function (assert) { | |
67563 | var i, ordinalStr, testMoment; | |
67564 | for (i = 1; i <= 31; ++i) { | |
67565 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
67566 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
67567 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
67568 | } | |
67569 | }); | |
67570 | ||
67571 | test('meridiem invariant', function (assert) { | |
67572 | var h, m, t1, t2; | |
67573 | for (h = 0; h < 24; ++h) { | |
67574 | for (m = 0; m < 60; m += 15) { | |
67575 | t1 = moment.utc([2000, 0, 1, h, m]); | |
67576 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
67577 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
67578 | 'meridiem at ' + t1.format('HH:mm')); | |
67579 | } | |
67580 | } | |
67581 | }); | |
67582 | ||
67583 | test('date format correctness', function (assert) { | |
67584 | var data, tokens; | |
67585 | data = moment.localeData()._longDateFormat; | |
67586 | tokens = objectKeys(data); | |
67587 | each(tokens, function (srchToken) { | |
67588 | // Check each format string to make sure it does not contain any | |
67589 | // tokens that need to be expanded. | |
67590 | each(tokens, function (baseToken) { | |
67591 | // strip escaped sequences | |
67592 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
67593 | assert.equal(false, !!~format.indexOf(srchToken), | |
67594 | 'contains ' + srchToken + ' in ' + baseToken); | |
67595 | }); | |
67596 | }); | |
67597 | }); | |
67598 | ||
67599 | test('month parsing correctness', function (assert) { | |
67600 | var i, m; | |
67601 | ||
67602 | if (locale === 'tr') { | |
67603 | // I can't fix it :( | |
67604 | expect(0); | |
67605 | return; | |
67606 | } | |
67607 | function tester(format) { | |
67608 | var r; | |
67609 | r = moment(m.format(format), format); | |
67610 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
67611 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
67612 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
67613 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
67614 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
67615 | ||
67616 | r = moment(m.format(format), format, true); | |
67617 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
67618 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
67619 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
67620 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
67621 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
67622 | } | |
67623 | ||
67624 | for (i = 0; i < 12; ++i) { | |
67625 | m = moment([2015, i, 15, 18]); | |
67626 | tester('MMM'); | |
67627 | tester('MMM.'); | |
67628 | tester('MMMM'); | |
67629 | tester('MMMM.'); | |
67630 | } | |
67631 | }); | |
67632 | ||
67633 | test('weekday parsing correctness', function (assert) { | |
67634 | var i, m; | |
67635 | ||
67636 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
67637 | // tr, az: There is a lower-case letter (ı), that converted to | |
67638 | // upper then lower changes to i | |
67639 | // ro: there is the letter ț which behaves weird under IE8 | |
67640 | expect(0); | |
67641 | return; | |
67642 | } | |
67643 | function tester(format) { | |
67644 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
67645 | r = moment(m.format(format), format); | |
67646 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
67647 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
67648 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
67649 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
67650 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
67651 | ||
67652 | r = moment(m.format(format), format, true); | |
67653 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
67654 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
67655 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
67656 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
67657 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
67658 | } | |
67659 | ||
67660 | for (i = 0; i < 7; ++i) { | |
67661 | m = moment.utc([2015, 0, i + 1, 18]); | |
67662 | tester('dd'); | |
67663 | tester('ddd'); | |
67664 | tester('dddd'); | |
67665 | } | |
67666 | }); | |
67667 | ||
67668 | test('valid localeData', function (assert) { | |
67669 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
67670 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
67671 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
67672 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
67673 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
67674 | }); | |
67675 | } | |
67676 | 65931 | |
67677 | 65932 | function setupDeprecationHandler(test, moment$$1, scope) { |
67678 | 65933 | test._expectedDeprecations = null; |
67729 | 65984 | |
67730 | 65985 | var test = QUnit.test; |
67731 | 65986 | |
67732 | var expect = QUnit.expect; | |
65987 | ||
67733 | 65988 | |
67734 | 65989 | function module$1 (name, lifecycle) { |
67735 | 65990 | QUnit.module(name, { |
67764 | 66019 | assert.equal(moment([2010, i]).isValid(), true, 'month ' + i); |
67765 | 66020 | assert.equal(moment.utc([2010, i]).isValid(), true, 'month ' + i); |
67766 | 66021 | } |
66022 | }); | |
66023 | ||
66024 | test('Feb 29 0000 is valid', function (assert) { | |
66025 | // https://github.com/moment/moment/issues/3358 | |
66026 | assert.ok(moment({year:0, month:1, date:29}).isValid(), 'Feb 29 0000 must be valid'); | |
66027 | assert.ok(moment({year:0, month:1, date:28}).add(1, 'd').isValid(), 'Feb 28 0000 + 1 day must be valid'); | |
67767 | 66028 | }); |
67768 | 66029 | |
67769 | 66030 | test('array bad date', function (assert) { |
68044 | 66305 | } |
68045 | 66306 | } |
68046 | 66307 | |
68047 | function objectKeys(obj) { | |
68048 | if (Object.keys) { | |
68049 | return Object.keys(obj); | |
68050 | } else { | |
68051 | // IE8 | |
68052 | var res = [], i; | |
68053 | for (i in obj) { | |
68054 | if (obj.hasOwnProperty(i)) { | |
68055 | res.push(i); | |
68056 | } | |
68057 | } | |
68058 | return res; | |
68059 | } | |
68060 | } | |
68061 | ||
68062 | 66308 | // Pick the first defined of two or three arguments. |
68063 | ||
68064 | function defineCommonLocaleTests(locale, options) { | |
68065 | test('lenient day of month ordinal parsing', function (assert) { | |
68066 | var i, ordinalStr, testMoment; | |
68067 | for (i = 1; i <= 31; ++i) { | |
68068 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
68069 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
68070 | assert.equal(testMoment.year(), 2014, | |
68071 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
68072 | assert.equal(testMoment.month(), 0, | |
68073 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
68074 | assert.equal(testMoment.date(), i, | |
68075 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
68076 | } | |
68077 | }); | |
68078 | ||
68079 | test('lenient day of month ordinal parsing of number', function (assert) { | |
68080 | var i, testMoment; | |
68081 | for (i = 1; i <= 31; ++i) { | |
68082 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
68083 | assert.equal(testMoment.year(), 2014, | |
68084 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
68085 | assert.equal(testMoment.month(), 0, | |
68086 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
68087 | assert.equal(testMoment.date(), i, | |
68088 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
68089 | } | |
68090 | }); | |
68091 | ||
68092 | test('strict day of month ordinal parsing', function (assert) { | |
68093 | var i, ordinalStr, testMoment; | |
68094 | for (i = 1; i <= 31; ++i) { | |
68095 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
68096 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
68097 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
68098 | } | |
68099 | }); | |
68100 | ||
68101 | test('meridiem invariant', function (assert) { | |
68102 | var h, m, t1, t2; | |
68103 | for (h = 0; h < 24; ++h) { | |
68104 | for (m = 0; m < 60; m += 15) { | |
68105 | t1 = moment.utc([2000, 0, 1, h, m]); | |
68106 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
68107 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
68108 | 'meridiem at ' + t1.format('HH:mm')); | |
68109 | } | |
68110 | } | |
68111 | }); | |
68112 | ||
68113 | test('date format correctness', function (assert) { | |
68114 | var data, tokens; | |
68115 | data = moment.localeData()._longDateFormat; | |
68116 | tokens = objectKeys(data); | |
68117 | each(tokens, function (srchToken) { | |
68118 | // Check each format string to make sure it does not contain any | |
68119 | // tokens that need to be expanded. | |
68120 | each(tokens, function (baseToken) { | |
68121 | // strip escaped sequences | |
68122 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
68123 | assert.equal(false, !!~format.indexOf(srchToken), | |
68124 | 'contains ' + srchToken + ' in ' + baseToken); | |
68125 | }); | |
68126 | }); | |
68127 | }); | |
68128 | ||
68129 | test('month parsing correctness', function (assert) { | |
68130 | var i, m; | |
68131 | ||
68132 | if (locale === 'tr') { | |
68133 | // I can't fix it :( | |
68134 | expect(0); | |
68135 | return; | |
68136 | } | |
68137 | function tester(format) { | |
68138 | var r; | |
68139 | r = moment(m.format(format), format); | |
68140 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
68141 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
68142 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
68143 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
68144 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
68145 | ||
68146 | r = moment(m.format(format), format, true); | |
68147 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
68148 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
68149 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
68150 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
68151 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
68152 | } | |
68153 | ||
68154 | for (i = 0; i < 12; ++i) { | |
68155 | m = moment([2015, i, 15, 18]); | |
68156 | tester('MMM'); | |
68157 | tester('MMM.'); | |
68158 | tester('MMMM'); | |
68159 | tester('MMMM.'); | |
68160 | } | |
68161 | }); | |
68162 | ||
68163 | test('weekday parsing correctness', function (assert) { | |
68164 | var i, m; | |
68165 | ||
68166 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
68167 | // tr, az: There is a lower-case letter (ı), that converted to | |
68168 | // upper then lower changes to i | |
68169 | // ro: there is the letter ț which behaves weird under IE8 | |
68170 | expect(0); | |
68171 | return; | |
68172 | } | |
68173 | function tester(format) { | |
68174 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
68175 | r = moment(m.format(format), format); | |
68176 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
68177 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
68178 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
68179 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
68180 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
68181 | ||
68182 | r = moment(m.format(format), format, true); | |
68183 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
68184 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
68185 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
68186 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
68187 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
68188 | } | |
68189 | ||
68190 | for (i = 0; i < 7; ++i) { | |
68191 | m = moment.utc([2015, 0, i + 1, 18]); | |
68192 | tester('dd'); | |
68193 | tester('ddd'); | |
68194 | tester('dddd'); | |
68195 | } | |
68196 | }); | |
68197 | ||
68198 | test('valid localeData', function (assert) { | |
68199 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
68200 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
68201 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
68202 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
68203 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
68204 | }); | |
68205 | } | |
68206 | 66309 | |
68207 | 66310 | function setupDeprecationHandler(test, moment$$1, scope) { |
68208 | 66311 | test._expectedDeprecations = null; |
68259 | 66362 | |
68260 | 66363 | var test = QUnit.test; |
68261 | 66364 | |
68262 | var expect = QUnit.expect; | |
66365 | ||
68263 | 66366 | |
68264 | 66367 | function module$1 (name, lifecycle) { |
68265 | 66368 | QUnit.module(name, { |
68308 | 66411 | } |
68309 | 66412 | } |
68310 | 66413 | |
68311 | function objectKeys(obj) { | |
68312 | if (Object.keys) { | |
68313 | return Object.keys(obj); | |
68314 | } else { | |
68315 | // IE8 | |
68316 | var res = [], i; | |
68317 | for (i in obj) { | |
68318 | if (obj.hasOwnProperty(i)) { | |
68319 | res.push(i); | |
68320 | } | |
68321 | } | |
68322 | return res; | |
68323 | } | |
68324 | } | |
68325 | ||
68326 | 66414 | // Pick the first defined of two or three arguments. |
68327 | ||
68328 | function defineCommonLocaleTests(locale, options) { | |
68329 | test('lenient day of month ordinal parsing', function (assert) { | |
68330 | var i, ordinalStr, testMoment; | |
68331 | for (i = 1; i <= 31; ++i) { | |
68332 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
68333 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
68334 | assert.equal(testMoment.year(), 2014, | |
68335 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
68336 | assert.equal(testMoment.month(), 0, | |
68337 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
68338 | assert.equal(testMoment.date(), i, | |
68339 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
68340 | } | |
68341 | }); | |
68342 | ||
68343 | test('lenient day of month ordinal parsing of number', function (assert) { | |
68344 | var i, testMoment; | |
68345 | for (i = 1; i <= 31; ++i) { | |
68346 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
68347 | assert.equal(testMoment.year(), 2014, | |
68348 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
68349 | assert.equal(testMoment.month(), 0, | |
68350 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
68351 | assert.equal(testMoment.date(), i, | |
68352 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
68353 | } | |
68354 | }); | |
68355 | ||
68356 | test('strict day of month ordinal parsing', function (assert) { | |
68357 | var i, ordinalStr, testMoment; | |
68358 | for (i = 1; i <= 31; ++i) { | |
68359 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
68360 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
68361 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
68362 | } | |
68363 | }); | |
68364 | ||
68365 | test('meridiem invariant', function (assert) { | |
68366 | var h, m, t1, t2; | |
68367 | for (h = 0; h < 24; ++h) { | |
68368 | for (m = 0; m < 60; m += 15) { | |
68369 | t1 = moment.utc([2000, 0, 1, h, m]); | |
68370 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
68371 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
68372 | 'meridiem at ' + t1.format('HH:mm')); | |
68373 | } | |
68374 | } | |
68375 | }); | |
68376 | ||
68377 | test('date format correctness', function (assert) { | |
68378 | var data, tokens; | |
68379 | data = moment.localeData()._longDateFormat; | |
68380 | tokens = objectKeys(data); | |
68381 | each(tokens, function (srchToken) { | |
68382 | // Check each format string to make sure it does not contain any | |
68383 | // tokens that need to be expanded. | |
68384 | each(tokens, function (baseToken) { | |
68385 | // strip escaped sequences | |
68386 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
68387 | assert.equal(false, !!~format.indexOf(srchToken), | |
68388 | 'contains ' + srchToken + ' in ' + baseToken); | |
68389 | }); | |
68390 | }); | |
68391 | }); | |
68392 | ||
68393 | test('month parsing correctness', function (assert) { | |
68394 | var i, m; | |
68395 | ||
68396 | if (locale === 'tr') { | |
68397 | // I can't fix it :( | |
68398 | expect(0); | |
68399 | return; | |
68400 | } | |
68401 | function tester(format) { | |
68402 | var r; | |
68403 | r = moment(m.format(format), format); | |
68404 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
68405 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
68406 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
68407 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
68408 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
68409 | ||
68410 | r = moment(m.format(format), format, true); | |
68411 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
68412 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
68413 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
68414 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
68415 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
68416 | } | |
68417 | ||
68418 | for (i = 0; i < 12; ++i) { | |
68419 | m = moment([2015, i, 15, 18]); | |
68420 | tester('MMM'); | |
68421 | tester('MMM.'); | |
68422 | tester('MMMM'); | |
68423 | tester('MMMM.'); | |
68424 | } | |
68425 | }); | |
68426 | ||
68427 | test('weekday parsing correctness', function (assert) { | |
68428 | var i, m; | |
68429 | ||
68430 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
68431 | // tr, az: There is a lower-case letter (ı), that converted to | |
68432 | // upper then lower changes to i | |
68433 | // ro: there is the letter ț which behaves weird under IE8 | |
68434 | expect(0); | |
68435 | return; | |
68436 | } | |
68437 | function tester(format) { | |
68438 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
68439 | r = moment(m.format(format), format); | |
68440 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
68441 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
68442 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
68443 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
68444 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
68445 | ||
68446 | r = moment(m.format(format), format, true); | |
68447 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
68448 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
68449 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
68450 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
68451 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
68452 | } | |
68453 | ||
68454 | for (i = 0; i < 7; ++i) { | |
68455 | m = moment.utc([2015, 0, i + 1, 18]); | |
68456 | tester('dd'); | |
68457 | tester('ddd'); | |
68458 | tester('dddd'); | |
68459 | } | |
68460 | }); | |
68461 | ||
68462 | test('valid localeData', function (assert) { | |
68463 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
68464 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
68465 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
68466 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
68467 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
68468 | }); | |
68469 | } | |
68470 | 66415 | |
68471 | 66416 | function setupDeprecationHandler(test, moment$$1, scope) { |
68472 | 66417 | test._expectedDeprecations = null; |
68523 | 66468 | |
68524 | 66469 | var test = QUnit.test; |
68525 | 66470 | |
68526 | var expect = QUnit.expect; | |
66471 | ||
68527 | 66472 | |
68528 | 66473 | function module$1 (name, lifecycle) { |
68529 | 66474 | QUnit.module(name, { |
68684 | 66629 | } |
68685 | 66630 | } |
68686 | 66631 | |
68687 | function objectKeys(obj) { | |
68688 | if (Object.keys) { | |
68689 | return Object.keys(obj); | |
68690 | } else { | |
68691 | // IE8 | |
68692 | var res = [], i; | |
68693 | for (i in obj) { | |
68694 | if (obj.hasOwnProperty(i)) { | |
68695 | res.push(i); | |
68696 | } | |
68697 | } | |
68698 | return res; | |
68699 | } | |
68700 | } | |
68701 | ||
68702 | 66632 | // Pick the first defined of two or three arguments. |
68703 | ||
68704 | function defineCommonLocaleTests(locale, options) { | |
68705 | test('lenient day of month ordinal parsing', function (assert) { | |
68706 | var i, ordinalStr, testMoment; | |
68707 | for (i = 1; i <= 31; ++i) { | |
68708 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
68709 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
68710 | assert.equal(testMoment.year(), 2014, | |
68711 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
68712 | assert.equal(testMoment.month(), 0, | |
68713 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
68714 | assert.equal(testMoment.date(), i, | |
68715 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
68716 | } | |
68717 | }); | |
68718 | ||
68719 | test('lenient day of month ordinal parsing of number', function (assert) { | |
68720 | var i, testMoment; | |
68721 | for (i = 1; i <= 31; ++i) { | |
68722 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
68723 | assert.equal(testMoment.year(), 2014, | |
68724 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
68725 | assert.equal(testMoment.month(), 0, | |
68726 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
68727 | assert.equal(testMoment.date(), i, | |
68728 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
68729 | } | |
68730 | }); | |
68731 | ||
68732 | test('strict day of month ordinal parsing', function (assert) { | |
68733 | var i, ordinalStr, testMoment; | |
68734 | for (i = 1; i <= 31; ++i) { | |
68735 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
68736 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
68737 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
68738 | } | |
68739 | }); | |
68740 | ||
68741 | test('meridiem invariant', function (assert) { | |
68742 | var h, m, t1, t2; | |
68743 | for (h = 0; h < 24; ++h) { | |
68744 | for (m = 0; m < 60; m += 15) { | |
68745 | t1 = moment.utc([2000, 0, 1, h, m]); | |
68746 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
68747 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
68748 | 'meridiem at ' + t1.format('HH:mm')); | |
68749 | } | |
68750 | } | |
68751 | }); | |
68752 | ||
68753 | test('date format correctness', function (assert) { | |
68754 | var data, tokens; | |
68755 | data = moment.localeData()._longDateFormat; | |
68756 | tokens = objectKeys(data); | |
68757 | each(tokens, function (srchToken) { | |
68758 | // Check each format string to make sure it does not contain any | |
68759 | // tokens that need to be expanded. | |
68760 | each(tokens, function (baseToken) { | |
68761 | // strip escaped sequences | |
68762 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
68763 | assert.equal(false, !!~format.indexOf(srchToken), | |
68764 | 'contains ' + srchToken + ' in ' + baseToken); | |
68765 | }); | |
68766 | }); | |
68767 | }); | |
68768 | ||
68769 | test('month parsing correctness', function (assert) { | |
68770 | var i, m; | |
68771 | ||
68772 | if (locale === 'tr') { | |
68773 | // I can't fix it :( | |
68774 | expect(0); | |
68775 | return; | |
68776 | } | |
68777 | function tester(format) { | |
68778 | var r; | |
68779 | r = moment(m.format(format), format); | |
68780 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
68781 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
68782 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
68783 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
68784 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
68785 | ||
68786 | r = moment(m.format(format), format, true); | |
68787 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
68788 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
68789 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
68790 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
68791 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
68792 | } | |
68793 | ||
68794 | for (i = 0; i < 12; ++i) { | |
68795 | m = moment([2015, i, 15, 18]); | |
68796 | tester('MMM'); | |
68797 | tester('MMM.'); | |
68798 | tester('MMMM'); | |
68799 | tester('MMMM.'); | |
68800 | } | |
68801 | }); | |
68802 | ||
68803 | test('weekday parsing correctness', function (assert) { | |
68804 | var i, m; | |
68805 | ||
68806 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
68807 | // tr, az: There is a lower-case letter (ı), that converted to | |
68808 | // upper then lower changes to i | |
68809 | // ro: there is the letter ț which behaves weird under IE8 | |
68810 | expect(0); | |
68811 | return; | |
68812 | } | |
68813 | function tester(format) { | |
68814 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
68815 | r = moment(m.format(format), format); | |
68816 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
68817 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
68818 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
68819 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
68820 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
68821 | ||
68822 | r = moment(m.format(format), format, true); | |
68823 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
68824 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
68825 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
68826 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
68827 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
68828 | } | |
68829 | ||
68830 | for (i = 0; i < 7; ++i) { | |
68831 | m = moment.utc([2015, 0, i + 1, 18]); | |
68832 | tester('dd'); | |
68833 | tester('ddd'); | |
68834 | tester('dddd'); | |
68835 | } | |
68836 | }); | |
68837 | ||
68838 | test('valid localeData', function (assert) { | |
68839 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
68840 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
68841 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
68842 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
68843 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
68844 | }); | |
68845 | } | |
68846 | 66633 | |
68847 | 66634 | function setupDeprecationHandler(test, moment$$1, scope) { |
68848 | 66635 | test._expectedDeprecations = null; |
68899 | 66686 | |
68900 | 66687 | var test = QUnit.test; |
68901 | 66688 | |
68902 | var expect = QUnit.expect; | |
66689 | ||
68903 | 66690 | |
68904 | 66691 | function module$1 (name, lifecycle) { |
68905 | 66692 | QUnit.module(name, { |
68938 | 66725 | return -1; |
68939 | 66726 | }; |
68940 | 66727 | } |
68941 | ||
68942 | var indexOf$1 = indexOf; | |
68943 | 66728 | |
68944 | 66729 | module$1('locale', { |
68945 | 66730 | setup : function () { |
69096 | 66881 | |
69097 | 66882 | test('locales', function (assert) { |
69098 | 66883 | moment.defineLocale('dude', {months: ['Movember']}); |
69099 | assert.equal(true, !!~indexOf$1.call(moment.locales(), 'dude'), 'locales returns an array of defined locales'); | |
69100 | assert.equal(true, !!~indexOf$1.call(moment.locales(), 'en'), 'locales should always include english'); | |
66884 | assert.equal(true, !!~indexOf.call(moment.locales(), 'dude'), 'locales returns an array of defined locales'); | |
66885 | assert.equal(true, !!~indexOf.call(moment.locales(), 'en'), 'locales should always include english'); | |
69101 | 66886 | moment.defineLocale('dude', null); |
69102 | 66887 | }); |
69103 | 66888 | |
69459 | 67244 | } |
69460 | 67245 | } |
69461 | 67246 | |
69462 | function objectKeys(obj) { | |
69463 | if (Object.keys) { | |
69464 | return Object.keys(obj); | |
69465 | } else { | |
69466 | // IE8 | |
69467 | var res = [], i; | |
69468 | for (i in obj) { | |
69469 | if (obj.hasOwnProperty(i)) { | |
69470 | res.push(i); | |
69471 | } | |
69472 | } | |
69473 | return res; | |
69474 | } | |
69475 | } | |
69476 | ||
69477 | 67247 | // Pick the first defined of two or three arguments. |
69478 | ||
69479 | function defineCommonLocaleTests(locale, options) { | |
69480 | test('lenient day of month ordinal parsing', function (assert) { | |
69481 | var i, ordinalStr, testMoment; | |
69482 | for (i = 1; i <= 31; ++i) { | |
69483 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
69484 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
69485 | assert.equal(testMoment.year(), 2014, | |
69486 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
69487 | assert.equal(testMoment.month(), 0, | |
69488 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
69489 | assert.equal(testMoment.date(), i, | |
69490 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
69491 | } | |
69492 | }); | |
69493 | ||
69494 | test('lenient day of month ordinal parsing of number', function (assert) { | |
69495 | var i, testMoment; | |
69496 | for (i = 1; i <= 31; ++i) { | |
69497 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
69498 | assert.equal(testMoment.year(), 2014, | |
69499 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
69500 | assert.equal(testMoment.month(), 0, | |
69501 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
69502 | assert.equal(testMoment.date(), i, | |
69503 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
69504 | } | |
69505 | }); | |
69506 | ||
69507 | test('strict day of month ordinal parsing', function (assert) { | |
69508 | var i, ordinalStr, testMoment; | |
69509 | for (i = 1; i <= 31; ++i) { | |
69510 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
69511 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
69512 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
69513 | } | |
69514 | }); | |
69515 | ||
69516 | test('meridiem invariant', function (assert) { | |
69517 | var h, m, t1, t2; | |
69518 | for (h = 0; h < 24; ++h) { | |
69519 | for (m = 0; m < 60; m += 15) { | |
69520 | t1 = moment.utc([2000, 0, 1, h, m]); | |
69521 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
69522 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
69523 | 'meridiem at ' + t1.format('HH:mm')); | |
69524 | } | |
69525 | } | |
69526 | }); | |
69527 | ||
69528 | test('date format correctness', function (assert) { | |
69529 | var data, tokens; | |
69530 | data = moment.localeData()._longDateFormat; | |
69531 | tokens = objectKeys(data); | |
69532 | each(tokens, function (srchToken) { | |
69533 | // Check each format string to make sure it does not contain any | |
69534 | // tokens that need to be expanded. | |
69535 | each(tokens, function (baseToken) { | |
69536 | // strip escaped sequences | |
69537 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
69538 | assert.equal(false, !!~format.indexOf(srchToken), | |
69539 | 'contains ' + srchToken + ' in ' + baseToken); | |
69540 | }); | |
69541 | }); | |
69542 | }); | |
69543 | ||
69544 | test('month parsing correctness', function (assert) { | |
69545 | var i, m; | |
69546 | ||
69547 | if (locale === 'tr') { | |
69548 | // I can't fix it :( | |
69549 | expect(0); | |
69550 | return; | |
69551 | } | |
69552 | function tester(format) { | |
69553 | var r; | |
69554 | r = moment(m.format(format), format); | |
69555 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
69556 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
69557 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
69558 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
69559 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
69560 | ||
69561 | r = moment(m.format(format), format, true); | |
69562 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
69563 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
69564 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
69565 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
69566 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
69567 | } | |
69568 | ||
69569 | for (i = 0; i < 12; ++i) { | |
69570 | m = moment([2015, i, 15, 18]); | |
69571 | tester('MMM'); | |
69572 | tester('MMM.'); | |
69573 | tester('MMMM'); | |
69574 | tester('MMMM.'); | |
69575 | } | |
69576 | }); | |
69577 | ||
69578 | test('weekday parsing correctness', function (assert) { | |
69579 | var i, m; | |
69580 | ||
69581 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
69582 | // tr, az: There is a lower-case letter (ı), that converted to | |
69583 | // upper then lower changes to i | |
69584 | // ro: there is the letter ț which behaves weird under IE8 | |
69585 | expect(0); | |
69586 | return; | |
69587 | } | |
69588 | function tester(format) { | |
69589 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
69590 | r = moment(m.format(format), format); | |
69591 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
69592 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
69593 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
69594 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
69595 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
69596 | ||
69597 | r = moment(m.format(format), format, true); | |
69598 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
69599 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
69600 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
69601 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
69602 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
69603 | } | |
69604 | ||
69605 | for (i = 0; i < 7; ++i) { | |
69606 | m = moment.utc([2015, 0, i + 1, 18]); | |
69607 | tester('dd'); | |
69608 | tester('ddd'); | |
69609 | tester('dddd'); | |
69610 | } | |
69611 | }); | |
69612 | ||
69613 | test('valid localeData', function (assert) { | |
69614 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
69615 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
69616 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
69617 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
69618 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
69619 | }); | |
69620 | } | |
69621 | 67248 | |
69622 | 67249 | function setupDeprecationHandler(test, moment$$1, scope) { |
69623 | 67250 | test._expectedDeprecations = null; |
69674 | 67301 | |
69675 | 67302 | var test = QUnit.test; |
69676 | 67303 | |
69677 | var expect = QUnit.expect; | |
67304 | ||
69678 | 67305 | |
69679 | 67306 | function module$1 (name, lifecycle) { |
69680 | 67307 | QUnit.module(name, { |
69894 | 67521 | } |
69895 | 67522 | } |
69896 | 67523 | |
69897 | function objectKeys(obj) { | |
69898 | if (Object.keys) { | |
69899 | return Object.keys(obj); | |
69900 | } else { | |
69901 | // IE8 | |
69902 | var res = [], i; | |
69903 | for (i in obj) { | |
69904 | if (obj.hasOwnProperty(i)) { | |
69905 | res.push(i); | |
69906 | } | |
69907 | } | |
69908 | return res; | |
69909 | } | |
69910 | } | |
69911 | ||
69912 | 67524 | // Pick the first defined of two or three arguments. |
69913 | ||
69914 | function defineCommonLocaleTests(locale, options) { | |
69915 | test('lenient day of month ordinal parsing', function (assert) { | |
69916 | var i, ordinalStr, testMoment; | |
69917 | for (i = 1; i <= 31; ++i) { | |
69918 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
69919 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
69920 | assert.equal(testMoment.year(), 2014, | |
69921 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
69922 | assert.equal(testMoment.month(), 0, | |
69923 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
69924 | assert.equal(testMoment.date(), i, | |
69925 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
69926 | } | |
69927 | }); | |
69928 | ||
69929 | test('lenient day of month ordinal parsing of number', function (assert) { | |
69930 | var i, testMoment; | |
69931 | for (i = 1; i <= 31; ++i) { | |
69932 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
69933 | assert.equal(testMoment.year(), 2014, | |
69934 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
69935 | assert.equal(testMoment.month(), 0, | |
69936 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
69937 | assert.equal(testMoment.date(), i, | |
69938 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
69939 | } | |
69940 | }); | |
69941 | ||
69942 | test('strict day of month ordinal parsing', function (assert) { | |
69943 | var i, ordinalStr, testMoment; | |
69944 | for (i = 1; i <= 31; ++i) { | |
69945 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
69946 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
69947 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
69948 | } | |
69949 | }); | |
69950 | ||
69951 | test('meridiem invariant', function (assert) { | |
69952 | var h, m, t1, t2; | |
69953 | for (h = 0; h < 24; ++h) { | |
69954 | for (m = 0; m < 60; m += 15) { | |
69955 | t1 = moment.utc([2000, 0, 1, h, m]); | |
69956 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
69957 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
69958 | 'meridiem at ' + t1.format('HH:mm')); | |
69959 | } | |
69960 | } | |
69961 | }); | |
69962 | ||
69963 | test('date format correctness', function (assert) { | |
69964 | var data, tokens; | |
69965 | data = moment.localeData()._longDateFormat; | |
69966 | tokens = objectKeys(data); | |
69967 | each(tokens, function (srchToken) { | |
69968 | // Check each format string to make sure it does not contain any | |
69969 | // tokens that need to be expanded. | |
69970 | each(tokens, function (baseToken) { | |
69971 | // strip escaped sequences | |
69972 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
69973 | assert.equal(false, !!~format.indexOf(srchToken), | |
69974 | 'contains ' + srchToken + ' in ' + baseToken); | |
69975 | }); | |
69976 | }); | |
69977 | }); | |
69978 | ||
69979 | test('month parsing correctness', function (assert) { | |
69980 | var i, m; | |
69981 | ||
69982 | if (locale === 'tr') { | |
69983 | // I can't fix it :( | |
69984 | expect(0); | |
69985 | return; | |
69986 | } | |
69987 | function tester(format) { | |
69988 | var r; | |
69989 | r = moment(m.format(format), format); | |
69990 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
69991 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
69992 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
69993 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
69994 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
69995 | ||
69996 | r = moment(m.format(format), format, true); | |
69997 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
69998 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
69999 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
70000 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
70001 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
70002 | } | |
70003 | ||
70004 | for (i = 0; i < 12; ++i) { | |
70005 | m = moment([2015, i, 15, 18]); | |
70006 | tester('MMM'); | |
70007 | tester('MMM.'); | |
70008 | tester('MMMM'); | |
70009 | tester('MMMM.'); | |
70010 | } | |
70011 | }); | |
70012 | ||
70013 | test('weekday parsing correctness', function (assert) { | |
70014 | var i, m; | |
70015 | ||
70016 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
70017 | // tr, az: There is a lower-case letter (ı), that converted to | |
70018 | // upper then lower changes to i | |
70019 | // ro: there is the letter ț which behaves weird under IE8 | |
70020 | expect(0); | |
70021 | return; | |
70022 | } | |
70023 | function tester(format) { | |
70024 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
70025 | r = moment(m.format(format), format); | |
70026 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
70027 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
70028 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
70029 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
70030 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
70031 | ||
70032 | r = moment(m.format(format), format, true); | |
70033 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
70034 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
70035 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
70036 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
70037 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
70038 | } | |
70039 | ||
70040 | for (i = 0; i < 7; ++i) { | |
70041 | m = moment.utc([2015, 0, i + 1, 18]); | |
70042 | tester('dd'); | |
70043 | tester('ddd'); | |
70044 | tester('dddd'); | |
70045 | } | |
70046 | }); | |
70047 | ||
70048 | test('valid localeData', function (assert) { | |
70049 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
70050 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
70051 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
70052 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
70053 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
70054 | }); | |
70055 | } | |
70056 | 67525 | |
70057 | 67526 | function setupDeprecationHandler(test, moment$$1, scope) { |
70058 | 67527 | test._expectedDeprecations = null; |
70109 | 67578 | |
70110 | 67579 | var test = QUnit.test; |
70111 | 67580 | |
70112 | var expect = QUnit.expect; | |
67581 | ||
70113 | 67582 | |
70114 | 67583 | function module$1 (name, lifecycle) { |
70115 | 67584 | QUnit.module(name, { |
70313 | 67782 | } |
70314 | 67783 | } |
70315 | 67784 | |
70316 | function objectKeys(obj) { | |
70317 | if (Object.keys) { | |
70318 | return Object.keys(obj); | |
70319 | } else { | |
70320 | // IE8 | |
70321 | var res = [], i; | |
70322 | for (i in obj) { | |
70323 | if (obj.hasOwnProperty(i)) { | |
70324 | res.push(i); | |
70325 | } | |
70326 | } | |
70327 | return res; | |
70328 | } | |
70329 | } | |
70330 | ||
70331 | 67785 | // Pick the first defined of two or three arguments. |
70332 | ||
70333 | function defineCommonLocaleTests(locale, options) { | |
70334 | test('lenient day of month ordinal parsing', function (assert) { | |
70335 | var i, ordinalStr, testMoment; | |
70336 | for (i = 1; i <= 31; ++i) { | |
70337 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
70338 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
70339 | assert.equal(testMoment.year(), 2014, | |
70340 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
70341 | assert.equal(testMoment.month(), 0, | |
70342 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
70343 | assert.equal(testMoment.date(), i, | |
70344 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
70345 | } | |
70346 | }); | |
70347 | ||
70348 | test('lenient day of month ordinal parsing of number', function (assert) { | |
70349 | var i, testMoment; | |
70350 | for (i = 1; i <= 31; ++i) { | |
70351 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
70352 | assert.equal(testMoment.year(), 2014, | |
70353 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
70354 | assert.equal(testMoment.month(), 0, | |
70355 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
70356 | assert.equal(testMoment.date(), i, | |
70357 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
70358 | } | |
70359 | }); | |
70360 | ||
70361 | test('strict day of month ordinal parsing', function (assert) { | |
70362 | var i, ordinalStr, testMoment; | |
70363 | for (i = 1; i <= 31; ++i) { | |
70364 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
70365 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
70366 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
70367 | } | |
70368 | }); | |
70369 | ||
70370 | test('meridiem invariant', function (assert) { | |
70371 | var h, m, t1, t2; | |
70372 | for (h = 0; h < 24; ++h) { | |
70373 | for (m = 0; m < 60; m += 15) { | |
70374 | t1 = moment.utc([2000, 0, 1, h, m]); | |
70375 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
70376 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
70377 | 'meridiem at ' + t1.format('HH:mm')); | |
70378 | } | |
70379 | } | |
70380 | }); | |
70381 | ||
70382 | test('date format correctness', function (assert) { | |
70383 | var data, tokens; | |
70384 | data = moment.localeData()._longDateFormat; | |
70385 | tokens = objectKeys(data); | |
70386 | each(tokens, function (srchToken) { | |
70387 | // Check each format string to make sure it does not contain any | |
70388 | // tokens that need to be expanded. | |
70389 | each(tokens, function (baseToken) { | |
70390 | // strip escaped sequences | |
70391 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
70392 | assert.equal(false, !!~format.indexOf(srchToken), | |
70393 | 'contains ' + srchToken + ' in ' + baseToken); | |
70394 | }); | |
70395 | }); | |
70396 | }); | |
70397 | ||
70398 | test('month parsing correctness', function (assert) { | |
70399 | var i, m; | |
70400 | ||
70401 | if (locale === 'tr') { | |
70402 | // I can't fix it :( | |
70403 | expect(0); | |
70404 | return; | |
70405 | } | |
70406 | function tester(format) { | |
70407 | var r; | |
70408 | r = moment(m.format(format), format); | |
70409 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
70410 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
70411 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
70412 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
70413 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
70414 | ||
70415 | r = moment(m.format(format), format, true); | |
70416 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
70417 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
70418 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
70419 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
70420 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
70421 | } | |
70422 | ||
70423 | for (i = 0; i < 12; ++i) { | |
70424 | m = moment([2015, i, 15, 18]); | |
70425 | tester('MMM'); | |
70426 | tester('MMM.'); | |
70427 | tester('MMMM'); | |
70428 | tester('MMMM.'); | |
70429 | } | |
70430 | }); | |
70431 | ||
70432 | test('weekday parsing correctness', function (assert) { | |
70433 | var i, m; | |
70434 | ||
70435 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
70436 | // tr, az: There is a lower-case letter (ı), that converted to | |
70437 | // upper then lower changes to i | |
70438 | // ro: there is the letter ț which behaves weird under IE8 | |
70439 | expect(0); | |
70440 | return; | |
70441 | } | |
70442 | function tester(format) { | |
70443 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
70444 | r = moment(m.format(format), format); | |
70445 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
70446 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
70447 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
70448 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
70449 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
70450 | ||
70451 | r = moment(m.format(format), format, true); | |
70452 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
70453 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
70454 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
70455 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
70456 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
70457 | } | |
70458 | ||
70459 | for (i = 0; i < 7; ++i) { | |
70460 | m = moment.utc([2015, 0, i + 1, 18]); | |
70461 | tester('dd'); | |
70462 | tester('ddd'); | |
70463 | tester('dddd'); | |
70464 | } | |
70465 | }); | |
70466 | ||
70467 | test('valid localeData', function (assert) { | |
70468 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
70469 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
70470 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
70471 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
70472 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
70473 | }); | |
70474 | } | |
70475 | 67786 | |
70476 | 67787 | function setupDeprecationHandler(test, moment$$1, scope) { |
70477 | 67788 | test._expectedDeprecations = null; |
70528 | 67839 | |
70529 | 67840 | var test = QUnit.test; |
70530 | 67841 | |
70531 | var expect = QUnit.expect; | |
67842 | ||
70532 | 67843 | |
70533 | 67844 | function module$1 (name, lifecycle) { |
70534 | 67845 | QUnit.module(name, { |
70614 | 67925 | } |
70615 | 67926 | } |
70616 | 67927 | |
70617 | function objectKeys(obj) { | |
70618 | if (Object.keys) { | |
70619 | return Object.keys(obj); | |
70620 | } else { | |
70621 | // IE8 | |
70622 | var res = [], i; | |
70623 | for (i in obj) { | |
70624 | if (obj.hasOwnProperty(i)) { | |
70625 | res.push(i); | |
70626 | } | |
70627 | } | |
70628 | return res; | |
70629 | } | |
70630 | } | |
70631 | ||
70632 | 67928 | // Pick the first defined of two or three arguments. |
70633 | ||
70634 | function defineCommonLocaleTests(locale, options) { | |
70635 | test('lenient day of month ordinal parsing', function (assert) { | |
70636 | var i, ordinalStr, testMoment; | |
70637 | for (i = 1; i <= 31; ++i) { | |
70638 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
70639 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
70640 | assert.equal(testMoment.year(), 2014, | |
70641 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
70642 | assert.equal(testMoment.month(), 0, | |
70643 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
70644 | assert.equal(testMoment.date(), i, | |
70645 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
70646 | } | |
70647 | }); | |
70648 | ||
70649 | test('lenient day of month ordinal parsing of number', function (assert) { | |
70650 | var i, testMoment; | |
70651 | for (i = 1; i <= 31; ++i) { | |
70652 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
70653 | assert.equal(testMoment.year(), 2014, | |
70654 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
70655 | assert.equal(testMoment.month(), 0, | |
70656 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
70657 | assert.equal(testMoment.date(), i, | |
70658 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
70659 | } | |
70660 | }); | |
70661 | ||
70662 | test('strict day of month ordinal parsing', function (assert) { | |
70663 | var i, ordinalStr, testMoment; | |
70664 | for (i = 1; i <= 31; ++i) { | |
70665 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
70666 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
70667 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
70668 | } | |
70669 | }); | |
70670 | ||
70671 | test('meridiem invariant', function (assert) { | |
70672 | var h, m, t1, t2; | |
70673 | for (h = 0; h < 24; ++h) { | |
70674 | for (m = 0; m < 60; m += 15) { | |
70675 | t1 = moment.utc([2000, 0, 1, h, m]); | |
70676 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
70677 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
70678 | 'meridiem at ' + t1.format('HH:mm')); | |
70679 | } | |
70680 | } | |
70681 | }); | |
70682 | ||
70683 | test('date format correctness', function (assert) { | |
70684 | var data, tokens; | |
70685 | data = moment.localeData()._longDateFormat; | |
70686 | tokens = objectKeys(data); | |
70687 | each(tokens, function (srchToken) { | |
70688 | // Check each format string to make sure it does not contain any | |
70689 | // tokens that need to be expanded. | |
70690 | each(tokens, function (baseToken) { | |
70691 | // strip escaped sequences | |
70692 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
70693 | assert.equal(false, !!~format.indexOf(srchToken), | |
70694 | 'contains ' + srchToken + ' in ' + baseToken); | |
70695 | }); | |
70696 | }); | |
70697 | }); | |
70698 | ||
70699 | test('month parsing correctness', function (assert) { | |
70700 | var i, m; | |
70701 | ||
70702 | if (locale === 'tr') { | |
70703 | // I can't fix it :( | |
70704 | expect(0); | |
70705 | return; | |
70706 | } | |
70707 | function tester(format) { | |
70708 | var r; | |
70709 | r = moment(m.format(format), format); | |
70710 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
70711 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
70712 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
70713 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
70714 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
70715 | ||
70716 | r = moment(m.format(format), format, true); | |
70717 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
70718 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
70719 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
70720 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
70721 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
70722 | } | |
70723 | ||
70724 | for (i = 0; i < 12; ++i) { | |
70725 | m = moment([2015, i, 15, 18]); | |
70726 | tester('MMM'); | |
70727 | tester('MMM.'); | |
70728 | tester('MMMM'); | |
70729 | tester('MMMM.'); | |
70730 | } | |
70731 | }); | |
70732 | ||
70733 | test('weekday parsing correctness', function (assert) { | |
70734 | var i, m; | |
70735 | ||
70736 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
70737 | // tr, az: There is a lower-case letter (ı), that converted to | |
70738 | // upper then lower changes to i | |
70739 | // ro: there is the letter ț which behaves weird under IE8 | |
70740 | expect(0); | |
70741 | return; | |
70742 | } | |
70743 | function tester(format) { | |
70744 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
70745 | r = moment(m.format(format), format); | |
70746 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
70747 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
70748 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
70749 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
70750 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
70751 | ||
70752 | r = moment(m.format(format), format, true); | |
70753 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
70754 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
70755 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
70756 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
70757 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
70758 | } | |
70759 | ||
70760 | for (i = 0; i < 7; ++i) { | |
70761 | m = moment.utc([2015, 0, i + 1, 18]); | |
70762 | tester('dd'); | |
70763 | tester('ddd'); | |
70764 | tester('dddd'); | |
70765 | } | |
70766 | }); | |
70767 | ||
70768 | test('valid localeData', function (assert) { | |
70769 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
70770 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
70771 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
70772 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
70773 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
70774 | }); | |
70775 | } | |
70776 | 67929 | |
70777 | 67930 | function setupDeprecationHandler(test, moment$$1, scope) { |
70778 | 67931 | test._expectedDeprecations = null; |
70829 | 67982 | |
70830 | 67983 | var test = QUnit.test; |
70831 | 67984 | |
70832 | var expect = QUnit.expect; | |
67985 | ||
70833 | 67986 | |
70834 | 67987 | function module$1 (name, lifecycle) { |
70835 | 67988 | QUnit.module(name, { |
70893 | 68046 | } |
70894 | 68047 | } |
70895 | 68048 | |
70896 | function objectKeys(obj) { | |
70897 | if (Object.keys) { | |
70898 | return Object.keys(obj); | |
70899 | } else { | |
70900 | // IE8 | |
70901 | var res = [], i; | |
70902 | for (i in obj) { | |
70903 | if (obj.hasOwnProperty(i)) { | |
70904 | res.push(i); | |
70905 | } | |
70906 | } | |
70907 | return res; | |
70908 | } | |
70909 | } | |
70910 | ||
70911 | 68049 | // Pick the first defined of two or three arguments. |
70912 | ||
70913 | function defineCommonLocaleTests(locale, options) { | |
70914 | test('lenient day of month ordinal parsing', function (assert) { | |
70915 | var i, ordinalStr, testMoment; | |
70916 | for (i = 1; i <= 31; ++i) { | |
70917 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
70918 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
70919 | assert.equal(testMoment.year(), 2014, | |
70920 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
70921 | assert.equal(testMoment.month(), 0, | |
70922 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
70923 | assert.equal(testMoment.date(), i, | |
70924 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
70925 | } | |
70926 | }); | |
70927 | ||
70928 | test('lenient day of month ordinal parsing of number', function (assert) { | |
70929 | var i, testMoment; | |
70930 | for (i = 1; i <= 31; ++i) { | |
70931 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
70932 | assert.equal(testMoment.year(), 2014, | |
70933 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
70934 | assert.equal(testMoment.month(), 0, | |
70935 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
70936 | assert.equal(testMoment.date(), i, | |
70937 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
70938 | } | |
70939 | }); | |
70940 | ||
70941 | test('strict day of month ordinal parsing', function (assert) { | |
70942 | var i, ordinalStr, testMoment; | |
70943 | for (i = 1; i <= 31; ++i) { | |
70944 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
70945 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
70946 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
70947 | } | |
70948 | }); | |
70949 | ||
70950 | test('meridiem invariant', function (assert) { | |
70951 | var h, m, t1, t2; | |
70952 | for (h = 0; h < 24; ++h) { | |
70953 | for (m = 0; m < 60; m += 15) { | |
70954 | t1 = moment.utc([2000, 0, 1, h, m]); | |
70955 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
70956 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
70957 | 'meridiem at ' + t1.format('HH:mm')); | |
70958 | } | |
70959 | } | |
70960 | }); | |
70961 | ||
70962 | test('date format correctness', function (assert) { | |
70963 | var data, tokens; | |
70964 | data = moment.localeData()._longDateFormat; | |
70965 | tokens = objectKeys(data); | |
70966 | each(tokens, function (srchToken) { | |
70967 | // Check each format string to make sure it does not contain any | |
70968 | // tokens that need to be expanded. | |
70969 | each(tokens, function (baseToken) { | |
70970 | // strip escaped sequences | |
70971 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
70972 | assert.equal(false, !!~format.indexOf(srchToken), | |
70973 | 'contains ' + srchToken + ' in ' + baseToken); | |
70974 | }); | |
70975 | }); | |
70976 | }); | |
70977 | ||
70978 | test('month parsing correctness', function (assert) { | |
70979 | var i, m; | |
70980 | ||
70981 | if (locale === 'tr') { | |
70982 | // I can't fix it :( | |
70983 | expect(0); | |
70984 | return; | |
70985 | } | |
70986 | function tester(format) { | |
70987 | var r; | |
70988 | r = moment(m.format(format), format); | |
70989 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
70990 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
70991 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
70992 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
70993 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
70994 | ||
70995 | r = moment(m.format(format), format, true); | |
70996 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
70997 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
70998 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
70999 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
71000 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
71001 | } | |
71002 | ||
71003 | for (i = 0; i < 12; ++i) { | |
71004 | m = moment([2015, i, 15, 18]); | |
71005 | tester('MMM'); | |
71006 | tester('MMM.'); | |
71007 | tester('MMMM'); | |
71008 | tester('MMMM.'); | |
71009 | } | |
71010 | }); | |
71011 | ||
71012 | test('weekday parsing correctness', function (assert) { | |
71013 | var i, m; | |
71014 | ||
71015 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
71016 | // tr, az: There is a lower-case letter (ı), that converted to | |
71017 | // upper then lower changes to i | |
71018 | // ro: there is the letter ț which behaves weird under IE8 | |
71019 | expect(0); | |
71020 | return; | |
71021 | } | |
71022 | function tester(format) { | |
71023 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
71024 | r = moment(m.format(format), format); | |
71025 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
71026 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
71027 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
71028 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
71029 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
71030 | ||
71031 | r = moment(m.format(format), format, true); | |
71032 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
71033 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
71034 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
71035 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
71036 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
71037 | } | |
71038 | ||
71039 | for (i = 0; i < 7; ++i) { | |
71040 | m = moment.utc([2015, 0, i + 1, 18]); | |
71041 | tester('dd'); | |
71042 | tester('ddd'); | |
71043 | tester('dddd'); | |
71044 | } | |
71045 | }); | |
71046 | ||
71047 | test('valid localeData', function (assert) { | |
71048 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
71049 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
71050 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
71051 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
71052 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
71053 | }); | |
71054 | } | |
71055 | 68050 | |
71056 | 68051 | function setupDeprecationHandler(test, moment$$1, scope) { |
71057 | 68052 | test._expectedDeprecations = null; |
71108 | 68103 | |
71109 | 68104 | var test = QUnit.test; |
71110 | 68105 | |
71111 | var expect = QUnit.expect; | |
68106 | ||
71112 | 68107 | |
71113 | 68108 | function module$1 (name, lifecycle) { |
71114 | 68109 | QUnit.module(name, { |
71177 | 68172 | } |
71178 | 68173 | } |
71179 | 68174 | |
71180 | function objectKeys(obj) { | |
71181 | if (Object.keys) { | |
71182 | return Object.keys(obj); | |
71183 | } else { | |
71184 | // IE8 | |
71185 | var res = [], i; | |
71186 | for (i in obj) { | |
71187 | if (obj.hasOwnProperty(i)) { | |
71188 | res.push(i); | |
71189 | } | |
71190 | } | |
71191 | return res; | |
71192 | } | |
71193 | } | |
71194 | ||
71195 | 68175 | // Pick the first defined of two or three arguments. |
71196 | ||
71197 | function defineCommonLocaleTests(locale, options) { | |
71198 | test('lenient day of month ordinal parsing', function (assert) { | |
71199 | var i, ordinalStr, testMoment; | |
71200 | for (i = 1; i <= 31; ++i) { | |
71201 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
71202 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
71203 | assert.equal(testMoment.year(), 2014, | |
71204 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
71205 | assert.equal(testMoment.month(), 0, | |
71206 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
71207 | assert.equal(testMoment.date(), i, | |
71208 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
71209 | } | |
71210 | }); | |
71211 | ||
71212 | test('lenient day of month ordinal parsing of number', function (assert) { | |
71213 | var i, testMoment; | |
71214 | for (i = 1; i <= 31; ++i) { | |
71215 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
71216 | assert.equal(testMoment.year(), 2014, | |
71217 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
71218 | assert.equal(testMoment.month(), 0, | |
71219 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
71220 | assert.equal(testMoment.date(), i, | |
71221 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
71222 | } | |
71223 | }); | |
71224 | ||
71225 | test('strict day of month ordinal parsing', function (assert) { | |
71226 | var i, ordinalStr, testMoment; | |
71227 | for (i = 1; i <= 31; ++i) { | |
71228 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
71229 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
71230 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
71231 | } | |
71232 | }); | |
71233 | ||
71234 | test('meridiem invariant', function (assert) { | |
71235 | var h, m, t1, t2; | |
71236 | for (h = 0; h < 24; ++h) { | |
71237 | for (m = 0; m < 60; m += 15) { | |
71238 | t1 = moment.utc([2000, 0, 1, h, m]); | |
71239 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
71240 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
71241 | 'meridiem at ' + t1.format('HH:mm')); | |
71242 | } | |
71243 | } | |
71244 | }); | |
71245 | ||
71246 | test('date format correctness', function (assert) { | |
71247 | var data, tokens; | |
71248 | data = moment.localeData()._longDateFormat; | |
71249 | tokens = objectKeys(data); | |
71250 | each(tokens, function (srchToken) { | |
71251 | // Check each format string to make sure it does not contain any | |
71252 | // tokens that need to be expanded. | |
71253 | each(tokens, function (baseToken) { | |
71254 | // strip escaped sequences | |
71255 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
71256 | assert.equal(false, !!~format.indexOf(srchToken), | |
71257 | 'contains ' + srchToken + ' in ' + baseToken); | |
71258 | }); | |
71259 | }); | |
71260 | }); | |
71261 | ||
71262 | test('month parsing correctness', function (assert) { | |
71263 | var i, m; | |
71264 | ||
71265 | if (locale === 'tr') { | |
71266 | // I can't fix it :( | |
71267 | expect(0); | |
71268 | return; | |
71269 | } | |
71270 | function tester(format) { | |
71271 | var r; | |
71272 | r = moment(m.format(format), format); | |
71273 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
71274 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
71275 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
71276 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
71277 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
71278 | ||
71279 | r = moment(m.format(format), format, true); | |
71280 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
71281 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
71282 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
71283 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
71284 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
71285 | } | |
71286 | ||
71287 | for (i = 0; i < 12; ++i) { | |
71288 | m = moment([2015, i, 15, 18]); | |
71289 | tester('MMM'); | |
71290 | tester('MMM.'); | |
71291 | tester('MMMM'); | |
71292 | tester('MMMM.'); | |
71293 | } | |
71294 | }); | |
71295 | ||
71296 | test('weekday parsing correctness', function (assert) { | |
71297 | var i, m; | |
71298 | ||
71299 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
71300 | // tr, az: There is a lower-case letter (ı), that converted to | |
71301 | // upper then lower changes to i | |
71302 | // ro: there is the letter ț which behaves weird under IE8 | |
71303 | expect(0); | |
71304 | return; | |
71305 | } | |
71306 | function tester(format) { | |
71307 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
71308 | r = moment(m.format(format), format); | |
71309 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
71310 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
71311 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
71312 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
71313 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
71314 | ||
71315 | r = moment(m.format(format), format, true); | |
71316 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
71317 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
71318 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
71319 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
71320 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
71321 | } | |
71322 | ||
71323 | for (i = 0; i < 7; ++i) { | |
71324 | m = moment.utc([2015, 0, i + 1, 18]); | |
71325 | tester('dd'); | |
71326 | tester('ddd'); | |
71327 | tester('dddd'); | |
71328 | } | |
71329 | }); | |
71330 | ||
71331 | test('valid localeData', function (assert) { | |
71332 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
71333 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
71334 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
71335 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
71336 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
71337 | }); | |
71338 | } | |
71339 | 68176 | |
71340 | 68177 | function setupDeprecationHandler(test, moment$$1, scope) { |
71341 | 68178 | test._expectedDeprecations = null; |
71392 | 68229 | |
71393 | 68230 | var test = QUnit.test; |
71394 | 68231 | |
71395 | var expect = QUnit.expect; | |
68232 | ||
71396 | 68233 | |
71397 | 68234 | function module$1 (name, lifecycle) { |
71398 | 68235 | QUnit.module(name, { |
71512 | 68349 | } |
71513 | 68350 | } |
71514 | 68351 | |
71515 | function objectKeys(obj) { | |
71516 | if (Object.keys) { | |
71517 | return Object.keys(obj); | |
71518 | } else { | |
71519 | // IE8 | |
71520 | var res = [], i; | |
71521 | for (i in obj) { | |
71522 | if (obj.hasOwnProperty(i)) { | |
71523 | res.push(i); | |
71524 | } | |
71525 | } | |
71526 | return res; | |
71527 | } | |
71528 | } | |
71529 | ||
71530 | 68352 | // Pick the first defined of two or three arguments. |
71531 | ||
71532 | function defineCommonLocaleTests(locale, options) { | |
71533 | test('lenient day of month ordinal parsing', function (assert) { | |
71534 | var i, ordinalStr, testMoment; | |
71535 | for (i = 1; i <= 31; ++i) { | |
71536 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
71537 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
71538 | assert.equal(testMoment.year(), 2014, | |
71539 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
71540 | assert.equal(testMoment.month(), 0, | |
71541 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
71542 | assert.equal(testMoment.date(), i, | |
71543 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
71544 | } | |
71545 | }); | |
71546 | ||
71547 | test('lenient day of month ordinal parsing of number', function (assert) { | |
71548 | var i, testMoment; | |
71549 | for (i = 1; i <= 31; ++i) { | |
71550 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
71551 | assert.equal(testMoment.year(), 2014, | |
71552 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
71553 | assert.equal(testMoment.month(), 0, | |
71554 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
71555 | assert.equal(testMoment.date(), i, | |
71556 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
71557 | } | |
71558 | }); | |
71559 | ||
71560 | test('strict day of month ordinal parsing', function (assert) { | |
71561 | var i, ordinalStr, testMoment; | |
71562 | for (i = 1; i <= 31; ++i) { | |
71563 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
71564 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
71565 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
71566 | } | |
71567 | }); | |
71568 | ||
71569 | test('meridiem invariant', function (assert) { | |
71570 | var h, m, t1, t2; | |
71571 | for (h = 0; h < 24; ++h) { | |
71572 | for (m = 0; m < 60; m += 15) { | |
71573 | t1 = moment.utc([2000, 0, 1, h, m]); | |
71574 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
71575 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
71576 | 'meridiem at ' + t1.format('HH:mm')); | |
71577 | } | |
71578 | } | |
71579 | }); | |
71580 | ||
71581 | test('date format correctness', function (assert) { | |
71582 | var data, tokens; | |
71583 | data = moment.localeData()._longDateFormat; | |
71584 | tokens = objectKeys(data); | |
71585 | each(tokens, function (srchToken) { | |
71586 | // Check each format string to make sure it does not contain any | |
71587 | // tokens that need to be expanded. | |
71588 | each(tokens, function (baseToken) { | |
71589 | // strip escaped sequences | |
71590 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
71591 | assert.equal(false, !!~format.indexOf(srchToken), | |
71592 | 'contains ' + srchToken + ' in ' + baseToken); | |
71593 | }); | |
71594 | }); | |
71595 | }); | |
71596 | ||
71597 | test('month parsing correctness', function (assert) { | |
71598 | var i, m; | |
71599 | ||
71600 | if (locale === 'tr') { | |
71601 | // I can't fix it :( | |
71602 | expect(0); | |
71603 | return; | |
71604 | } | |
71605 | function tester(format) { | |
71606 | var r; | |
71607 | r = moment(m.format(format), format); | |
71608 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
71609 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
71610 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
71611 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
71612 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
71613 | ||
71614 | r = moment(m.format(format), format, true); | |
71615 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
71616 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
71617 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
71618 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
71619 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
71620 | } | |
71621 | ||
71622 | for (i = 0; i < 12; ++i) { | |
71623 | m = moment([2015, i, 15, 18]); | |
71624 | tester('MMM'); | |
71625 | tester('MMM.'); | |
71626 | tester('MMMM'); | |
71627 | tester('MMMM.'); | |
71628 | } | |
71629 | }); | |
71630 | ||
71631 | test('weekday parsing correctness', function (assert) { | |
71632 | var i, m; | |
71633 | ||
71634 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
71635 | // tr, az: There is a lower-case letter (ı), that converted to | |
71636 | // upper then lower changes to i | |
71637 | // ro: there is the letter ț which behaves weird under IE8 | |
71638 | expect(0); | |
71639 | return; | |
71640 | } | |
71641 | function tester(format) { | |
71642 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
71643 | r = moment(m.format(format), format); | |
71644 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
71645 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
71646 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
71647 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
71648 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
71649 | ||
71650 | r = moment(m.format(format), format, true); | |
71651 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
71652 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
71653 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
71654 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
71655 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
71656 | } | |
71657 | ||
71658 | for (i = 0; i < 7; ++i) { | |
71659 | m = moment.utc([2015, 0, i + 1, 18]); | |
71660 | tester('dd'); | |
71661 | tester('ddd'); | |
71662 | tester('dddd'); | |
71663 | } | |
71664 | }); | |
71665 | ||
71666 | test('valid localeData', function (assert) { | |
71667 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
71668 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
71669 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
71670 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
71671 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
71672 | }); | |
71673 | } | |
71674 | 68353 | |
71675 | 68354 | function setupDeprecationHandler(test, moment$$1, scope) { |
71676 | 68355 | test._expectedDeprecations = null; |
71727 | 68406 | |
71728 | 68407 | var test = QUnit.test; |
71729 | 68408 | |
71730 | var expect = QUnit.expect; | |
68409 | ||
71731 | 68410 | |
71732 | 68411 | function module$1 (name, lifecycle) { |
71733 | 68412 | QUnit.module(name, { |
71916 | 68595 | assert.equal(flags('1982 May', []).invalidFormat, true, 'empty format array'); |
71917 | 68596 | }); |
71918 | 68597 | |
68598 | test('weekday mismatch', function (assert) { | |
68599 | // string with format | |
68600 | assert.equal(flags('Wed 08-10-2017', 'ddd MM-DD-YYYY').weekdayMismatch, true, 'day of week does not match date'); | |
68601 | assert.equal(flags('Thu 08-10-2017', 'ddd MM-DD-YYYY').weekdayMismatch, false, 'day of week matches date'); | |
68602 | }); | |
68603 | ||
71919 | 68604 | }))); |
71920 | 68605 | |
71921 | 68606 | |
71933 | 68618 | } |
71934 | 68619 | } |
71935 | 68620 | |
71936 | function objectKeys(obj) { | |
71937 | if (Object.keys) { | |
71938 | return Object.keys(obj); | |
71939 | } else { | |
71940 | // IE8 | |
71941 | var res = [], i; | |
71942 | for (i in obj) { | |
71943 | if (obj.hasOwnProperty(i)) { | |
71944 | res.push(i); | |
71945 | } | |
71946 | } | |
71947 | return res; | |
71948 | } | |
71949 | } | |
71950 | ||
71951 | 68621 | // Pick the first defined of two or three arguments. |
71952 | ||
71953 | function defineCommonLocaleTests(locale, options) { | |
71954 | test('lenient day of month ordinal parsing', function (assert) { | |
71955 | var i, ordinalStr, testMoment; | |
71956 | for (i = 1; i <= 31; ++i) { | |
71957 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
71958 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
71959 | assert.equal(testMoment.year(), 2014, | |
71960 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
71961 | assert.equal(testMoment.month(), 0, | |
71962 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
71963 | assert.equal(testMoment.date(), i, | |
71964 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
71965 | } | |
71966 | }); | |
71967 | ||
71968 | test('lenient day of month ordinal parsing of number', function (assert) { | |
71969 | var i, testMoment; | |
71970 | for (i = 1; i <= 31; ++i) { | |
71971 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
71972 | assert.equal(testMoment.year(), 2014, | |
71973 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
71974 | assert.equal(testMoment.month(), 0, | |
71975 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
71976 | assert.equal(testMoment.date(), i, | |
71977 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
71978 | } | |
71979 | }); | |
71980 | ||
71981 | test('strict day of month ordinal parsing', function (assert) { | |
71982 | var i, ordinalStr, testMoment; | |
71983 | for (i = 1; i <= 31; ++i) { | |
71984 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
71985 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
71986 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
71987 | } | |
71988 | }); | |
71989 | ||
71990 | test('meridiem invariant', function (assert) { | |
71991 | var h, m, t1, t2; | |
71992 | for (h = 0; h < 24; ++h) { | |
71993 | for (m = 0; m < 60; m += 15) { | |
71994 | t1 = moment.utc([2000, 0, 1, h, m]); | |
71995 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
71996 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
71997 | 'meridiem at ' + t1.format('HH:mm')); | |
71998 | } | |
71999 | } | |
72000 | }); | |
72001 | ||
72002 | test('date format correctness', function (assert) { | |
72003 | var data, tokens; | |
72004 | data = moment.localeData()._longDateFormat; | |
72005 | tokens = objectKeys(data); | |
72006 | each(tokens, function (srchToken) { | |
72007 | // Check each format string to make sure it does not contain any | |
72008 | // tokens that need to be expanded. | |
72009 | each(tokens, function (baseToken) { | |
72010 | // strip escaped sequences | |
72011 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
72012 | assert.equal(false, !!~format.indexOf(srchToken), | |
72013 | 'contains ' + srchToken + ' in ' + baseToken); | |
72014 | }); | |
72015 | }); | |
72016 | }); | |
72017 | ||
72018 | test('month parsing correctness', function (assert) { | |
72019 | var i, m; | |
72020 | ||
72021 | if (locale === 'tr') { | |
72022 | // I can't fix it :( | |
72023 | expect(0); | |
72024 | return; | |
72025 | } | |
72026 | function tester(format) { | |
72027 | var r; | |
72028 | r = moment(m.format(format), format); | |
72029 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
72030 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
72031 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
72032 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
72033 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
72034 | ||
72035 | r = moment(m.format(format), format, true); | |
72036 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
72037 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
72038 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
72039 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
72040 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
72041 | } | |
72042 | ||
72043 | for (i = 0; i < 12; ++i) { | |
72044 | m = moment([2015, i, 15, 18]); | |
72045 | tester('MMM'); | |
72046 | tester('MMM.'); | |
72047 | tester('MMMM'); | |
72048 | tester('MMMM.'); | |
72049 | } | |
72050 | }); | |
72051 | ||
72052 | test('weekday parsing correctness', function (assert) { | |
72053 | var i, m; | |
72054 | ||
72055 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
72056 | // tr, az: There is a lower-case letter (ı), that converted to | |
72057 | // upper then lower changes to i | |
72058 | // ro: there is the letter ț which behaves weird under IE8 | |
72059 | expect(0); | |
72060 | return; | |
72061 | } | |
72062 | function tester(format) { | |
72063 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
72064 | r = moment(m.format(format), format); | |
72065 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
72066 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
72067 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
72068 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
72069 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
72070 | ||
72071 | r = moment(m.format(format), format, true); | |
72072 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
72073 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
72074 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
72075 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
72076 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
72077 | } | |
72078 | ||
72079 | for (i = 0; i < 7; ++i) { | |
72080 | m = moment.utc([2015, 0, i + 1, 18]); | |
72081 | tester('dd'); | |
72082 | tester('ddd'); | |
72083 | tester('dddd'); | |
72084 | } | |
72085 | }); | |
72086 | ||
72087 | test('valid localeData', function (assert) { | |
72088 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
72089 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
72090 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
72091 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
72092 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
72093 | }); | |
72094 | } | |
72095 | 68622 | |
72096 | 68623 | function setupDeprecationHandler(test, moment$$1, scope) { |
72097 | 68624 | test._expectedDeprecations = null; |
72148 | 68675 | |
72149 | 68676 | var test = QUnit.test; |
72150 | 68677 | |
72151 | var expect = QUnit.expect; | |
68678 | ||
72152 | 68679 | |
72153 | 68680 | function module$1 (name, lifecycle) { |
72154 | 68681 | QUnit.module(name, { |
72259 | 68786 | } |
72260 | 68787 | } |
72261 | 68788 | |
72262 | function objectKeys(obj) { | |
72263 | if (Object.keys) { | |
72264 | return Object.keys(obj); | |
72265 | } else { | |
72266 | // IE8 | |
72267 | var res = [], i; | |
72268 | for (i in obj) { | |
72269 | if (obj.hasOwnProperty(i)) { | |
72270 | res.push(i); | |
72271 | } | |
72272 | } | |
72273 | return res; | |
72274 | } | |
72275 | } | |
72276 | ||
72277 | 68789 | // Pick the first defined of two or three arguments. |
72278 | ||
72279 | function defineCommonLocaleTests(locale, options) { | |
72280 | test('lenient day of month ordinal parsing', function (assert) { | |
72281 | var i, ordinalStr, testMoment; | |
72282 | for (i = 1; i <= 31; ++i) { | |
72283 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
72284 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
72285 | assert.equal(testMoment.year(), 2014, | |
72286 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
72287 | assert.equal(testMoment.month(), 0, | |
72288 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
72289 | assert.equal(testMoment.date(), i, | |
72290 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
72291 | } | |
72292 | }); | |
72293 | ||
72294 | test('lenient day of month ordinal parsing of number', function (assert) { | |
72295 | var i, testMoment; | |
72296 | for (i = 1; i <= 31; ++i) { | |
72297 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
72298 | assert.equal(testMoment.year(), 2014, | |
72299 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
72300 | assert.equal(testMoment.month(), 0, | |
72301 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
72302 | assert.equal(testMoment.date(), i, | |
72303 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
72304 | } | |
72305 | }); | |
72306 | ||
72307 | test('strict day of month ordinal parsing', function (assert) { | |
72308 | var i, ordinalStr, testMoment; | |
72309 | for (i = 1; i <= 31; ++i) { | |
72310 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
72311 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
72312 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
72313 | } | |
72314 | }); | |
72315 | ||
72316 | test('meridiem invariant', function (assert) { | |
72317 | var h, m, t1, t2; | |
72318 | for (h = 0; h < 24; ++h) { | |
72319 | for (m = 0; m < 60; m += 15) { | |
72320 | t1 = moment.utc([2000, 0, 1, h, m]); | |
72321 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
72322 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
72323 | 'meridiem at ' + t1.format('HH:mm')); | |
72324 | } | |
72325 | } | |
72326 | }); | |
72327 | ||
72328 | test('date format correctness', function (assert) { | |
72329 | var data, tokens; | |
72330 | data = moment.localeData()._longDateFormat; | |
72331 | tokens = objectKeys(data); | |
72332 | each(tokens, function (srchToken) { | |
72333 | // Check each format string to make sure it does not contain any | |
72334 | // tokens that need to be expanded. | |
72335 | each(tokens, function (baseToken) { | |
72336 | // strip escaped sequences | |
72337 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
72338 | assert.equal(false, !!~format.indexOf(srchToken), | |
72339 | 'contains ' + srchToken + ' in ' + baseToken); | |
72340 | }); | |
72341 | }); | |
72342 | }); | |
72343 | ||
72344 | test('month parsing correctness', function (assert) { | |
72345 | var i, m; | |
72346 | ||
72347 | if (locale === 'tr') { | |
72348 | // I can't fix it :( | |
72349 | expect(0); | |
72350 | return; | |
72351 | } | |
72352 | function tester(format) { | |
72353 | var r; | |
72354 | r = moment(m.format(format), format); | |
72355 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
72356 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
72357 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
72358 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
72359 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
72360 | ||
72361 | r = moment(m.format(format), format, true); | |
72362 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
72363 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
72364 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
72365 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
72366 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
72367 | } | |
72368 | ||
72369 | for (i = 0; i < 12; ++i) { | |
72370 | m = moment([2015, i, 15, 18]); | |
72371 | tester('MMM'); | |
72372 | tester('MMM.'); | |
72373 | tester('MMMM'); | |
72374 | tester('MMMM.'); | |
72375 | } | |
72376 | }); | |
72377 | ||
72378 | test('weekday parsing correctness', function (assert) { | |
72379 | var i, m; | |
72380 | ||
72381 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
72382 | // tr, az: There is a lower-case letter (ı), that converted to | |
72383 | // upper then lower changes to i | |
72384 | // ro: there is the letter ț which behaves weird under IE8 | |
72385 | expect(0); | |
72386 | return; | |
72387 | } | |
72388 | function tester(format) { | |
72389 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
72390 | r = moment(m.format(format), format); | |
72391 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
72392 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
72393 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
72394 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
72395 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
72396 | ||
72397 | r = moment(m.format(format), format, true); | |
72398 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
72399 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
72400 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
72401 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
72402 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
72403 | } | |
72404 | ||
72405 | for (i = 0; i < 7; ++i) { | |
72406 | m = moment.utc([2015, 0, i + 1, 18]); | |
72407 | tester('dd'); | |
72408 | tester('ddd'); | |
72409 | tester('dddd'); | |
72410 | } | |
72411 | }); | |
72412 | ||
72413 | test('valid localeData', function (assert) { | |
72414 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
72415 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
72416 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
72417 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
72418 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
72419 | }); | |
72420 | } | |
72421 | 68790 | |
72422 | 68791 | function setupDeprecationHandler(test, moment$$1, scope) { |
72423 | 68792 | test._expectedDeprecations = null; |
72474 | 68843 | |
72475 | 68844 | var test = QUnit.test; |
72476 | 68845 | |
72477 | var expect = QUnit.expect; | |
68846 | ||
72478 | 68847 | |
72479 | 68848 | function module$1 (name, lifecycle) { |
72480 | 68849 | QUnit.module(name, { |
72613 | 68982 | } |
72614 | 68983 | } |
72615 | 68984 | |
72616 | function objectKeys(obj) { | |
72617 | if (Object.keys) { | |
72618 | return Object.keys(obj); | |
72619 | } else { | |
72620 | // IE8 | |
72621 | var res = [], i; | |
72622 | for (i in obj) { | |
72623 | if (obj.hasOwnProperty(i)) { | |
72624 | res.push(i); | |
72625 | } | |
72626 | } | |
72627 | return res; | |
72628 | } | |
72629 | } | |
72630 | ||
72631 | 68985 | // Pick the first defined of two or three arguments. |
72632 | ||
72633 | function defineCommonLocaleTests(locale, options) { | |
72634 | test('lenient day of month ordinal parsing', function (assert) { | |
72635 | var i, ordinalStr, testMoment; | |
72636 | for (i = 1; i <= 31; ++i) { | |
72637 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
72638 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
72639 | assert.equal(testMoment.year(), 2014, | |
72640 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
72641 | assert.equal(testMoment.month(), 0, | |
72642 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
72643 | assert.equal(testMoment.date(), i, | |
72644 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
72645 | } | |
72646 | }); | |
72647 | ||
72648 | test('lenient day of month ordinal parsing of number', function (assert) { | |
72649 | var i, testMoment; | |
72650 | for (i = 1; i <= 31; ++i) { | |
72651 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
72652 | assert.equal(testMoment.year(), 2014, | |
72653 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
72654 | assert.equal(testMoment.month(), 0, | |
72655 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
72656 | assert.equal(testMoment.date(), i, | |
72657 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
72658 | } | |
72659 | }); | |
72660 | ||
72661 | test('strict day of month ordinal parsing', function (assert) { | |
72662 | var i, ordinalStr, testMoment; | |
72663 | for (i = 1; i <= 31; ++i) { | |
72664 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
72665 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
72666 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
72667 | } | |
72668 | }); | |
72669 | ||
72670 | test('meridiem invariant', function (assert) { | |
72671 | var h, m, t1, t2; | |
72672 | for (h = 0; h < 24; ++h) { | |
72673 | for (m = 0; m < 60; m += 15) { | |
72674 | t1 = moment.utc([2000, 0, 1, h, m]); | |
72675 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
72676 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
72677 | 'meridiem at ' + t1.format('HH:mm')); | |
72678 | } | |
72679 | } | |
72680 | }); | |
72681 | ||
72682 | test('date format correctness', function (assert) { | |
72683 | var data, tokens; | |
72684 | data = moment.localeData()._longDateFormat; | |
72685 | tokens = objectKeys(data); | |
72686 | each(tokens, function (srchToken) { | |
72687 | // Check each format string to make sure it does not contain any | |
72688 | // tokens that need to be expanded. | |
72689 | each(tokens, function (baseToken) { | |
72690 | // strip escaped sequences | |
72691 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
72692 | assert.equal(false, !!~format.indexOf(srchToken), | |
72693 | 'contains ' + srchToken + ' in ' + baseToken); | |
72694 | }); | |
72695 | }); | |
72696 | }); | |
72697 | ||
72698 | test('month parsing correctness', function (assert) { | |
72699 | var i, m; | |
72700 | ||
72701 | if (locale === 'tr') { | |
72702 | // I can't fix it :( | |
72703 | expect(0); | |
72704 | return; | |
72705 | } | |
72706 | function tester(format) { | |
72707 | var r; | |
72708 | r = moment(m.format(format), format); | |
72709 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
72710 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
72711 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
72712 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
72713 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
72714 | ||
72715 | r = moment(m.format(format), format, true); | |
72716 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
72717 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
72718 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
72719 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
72720 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
72721 | } | |
72722 | ||
72723 | for (i = 0; i < 12; ++i) { | |
72724 | m = moment([2015, i, 15, 18]); | |
72725 | tester('MMM'); | |
72726 | tester('MMM.'); | |
72727 | tester('MMMM'); | |
72728 | tester('MMMM.'); | |
72729 | } | |
72730 | }); | |
72731 | ||
72732 | test('weekday parsing correctness', function (assert) { | |
72733 | var i, m; | |
72734 | ||
72735 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
72736 | // tr, az: There is a lower-case letter (ı), that converted to | |
72737 | // upper then lower changes to i | |
72738 | // ro: there is the letter ț which behaves weird under IE8 | |
72739 | expect(0); | |
72740 | return; | |
72741 | } | |
72742 | function tester(format) { | |
72743 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
72744 | r = moment(m.format(format), format); | |
72745 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
72746 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
72747 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
72748 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
72749 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
72750 | ||
72751 | r = moment(m.format(format), format, true); | |
72752 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
72753 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
72754 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
72755 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
72756 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
72757 | } | |
72758 | ||
72759 | for (i = 0; i < 7; ++i) { | |
72760 | m = moment.utc([2015, 0, i + 1, 18]); | |
72761 | tester('dd'); | |
72762 | tester('ddd'); | |
72763 | tester('dddd'); | |
72764 | } | |
72765 | }); | |
72766 | ||
72767 | test('valid localeData', function (assert) { | |
72768 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
72769 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
72770 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
72771 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
72772 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
72773 | }); | |
72774 | } | |
72775 | 68986 | |
72776 | 68987 | function setupDeprecationHandler(test, moment$$1, scope) { |
72777 | 68988 | test._expectedDeprecations = null; |
72828 | 69039 | |
72829 | 69040 | var test = QUnit.test; |
72830 | 69041 | |
72831 | var expect = QUnit.expect; | |
69042 | ||
72832 | 69043 | |
72833 | 69044 | function module$1 (name, lifecycle) { |
72834 | 69045 | QUnit.module(name, { |
73086 | 69297 | } |
73087 | 69298 | } |
73088 | 69299 | |
73089 | function objectKeys(obj) { | |
73090 | if (Object.keys) { | |
73091 | return Object.keys(obj); | |
73092 | } else { | |
73093 | // IE8 | |
73094 | var res = [], i; | |
73095 | for (i in obj) { | |
73096 | if (obj.hasOwnProperty(i)) { | |
73097 | res.push(i); | |
73098 | } | |
73099 | } | |
73100 | return res; | |
73101 | } | |
73102 | } | |
73103 | ||
73104 | 69300 | // Pick the first defined of two or three arguments. |
73105 | ||
73106 | function defineCommonLocaleTests(locale, options) { | |
73107 | test('lenient day of month ordinal parsing', function (assert) { | |
73108 | var i, ordinalStr, testMoment; | |
73109 | for (i = 1; i <= 31; ++i) { | |
73110 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
73111 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
73112 | assert.equal(testMoment.year(), 2014, | |
73113 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
73114 | assert.equal(testMoment.month(), 0, | |
73115 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
73116 | assert.equal(testMoment.date(), i, | |
73117 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
73118 | } | |
73119 | }); | |
73120 | ||
73121 | test('lenient day of month ordinal parsing of number', function (assert) { | |
73122 | var i, testMoment; | |
73123 | for (i = 1; i <= 31; ++i) { | |
73124 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
73125 | assert.equal(testMoment.year(), 2014, | |
73126 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
73127 | assert.equal(testMoment.month(), 0, | |
73128 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
73129 | assert.equal(testMoment.date(), i, | |
73130 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
73131 | } | |
73132 | }); | |
73133 | ||
73134 | test('strict day of month ordinal parsing', function (assert) { | |
73135 | var i, ordinalStr, testMoment; | |
73136 | for (i = 1; i <= 31; ++i) { | |
73137 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
73138 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
73139 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
73140 | } | |
73141 | }); | |
73142 | ||
73143 | test('meridiem invariant', function (assert) { | |
73144 | var h, m, t1, t2; | |
73145 | for (h = 0; h < 24; ++h) { | |
73146 | for (m = 0; m < 60; m += 15) { | |
73147 | t1 = moment.utc([2000, 0, 1, h, m]); | |
73148 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
73149 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
73150 | 'meridiem at ' + t1.format('HH:mm')); | |
73151 | } | |
73152 | } | |
73153 | }); | |
73154 | ||
73155 | test('date format correctness', function (assert) { | |
73156 | var data, tokens; | |
73157 | data = moment.localeData()._longDateFormat; | |
73158 | tokens = objectKeys(data); | |
73159 | each(tokens, function (srchToken) { | |
73160 | // Check each format string to make sure it does not contain any | |
73161 | // tokens that need to be expanded. | |
73162 | each(tokens, function (baseToken) { | |
73163 | // strip escaped sequences | |
73164 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
73165 | assert.equal(false, !!~format.indexOf(srchToken), | |
73166 | 'contains ' + srchToken + ' in ' + baseToken); | |
73167 | }); | |
73168 | }); | |
73169 | }); | |
73170 | ||
73171 | test('month parsing correctness', function (assert) { | |
73172 | var i, m; | |
73173 | ||
73174 | if (locale === 'tr') { | |
73175 | // I can't fix it :( | |
73176 | expect(0); | |
73177 | return; | |
73178 | } | |
73179 | function tester(format) { | |
73180 | var r; | |
73181 | r = moment(m.format(format), format); | |
73182 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
73183 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
73184 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
73185 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
73186 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
73187 | ||
73188 | r = moment(m.format(format), format, true); | |
73189 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
73190 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
73191 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
73192 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
73193 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
73194 | } | |
73195 | ||
73196 | for (i = 0; i < 12; ++i) { | |
73197 | m = moment([2015, i, 15, 18]); | |
73198 | tester('MMM'); | |
73199 | tester('MMM.'); | |
73200 | tester('MMMM'); | |
73201 | tester('MMMM.'); | |
73202 | } | |
73203 | }); | |
73204 | ||
73205 | test('weekday parsing correctness', function (assert) { | |
73206 | var i, m; | |
73207 | ||
73208 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
73209 | // tr, az: There is a lower-case letter (ı), that converted to | |
73210 | // upper then lower changes to i | |
73211 | // ro: there is the letter ț which behaves weird under IE8 | |
73212 | expect(0); | |
73213 | return; | |
73214 | } | |
73215 | function tester(format) { | |
73216 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
73217 | r = moment(m.format(format), format); | |
73218 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
73219 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
73220 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
73221 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
73222 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
73223 | ||
73224 | r = moment(m.format(format), format, true); | |
73225 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
73226 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
73227 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
73228 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
73229 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
73230 | } | |
73231 | ||
73232 | for (i = 0; i < 7; ++i) { | |
73233 | m = moment.utc([2015, 0, i + 1, 18]); | |
73234 | tester('dd'); | |
73235 | tester('ddd'); | |
73236 | tester('dddd'); | |
73237 | } | |
73238 | }); | |
73239 | ||
73240 | test('valid localeData', function (assert) { | |
73241 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
73242 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
73243 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
73244 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
73245 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
73246 | }); | |
73247 | } | |
73248 | 69301 | |
73249 | 69302 | function setupDeprecationHandler(test, moment$$1, scope) { |
73250 | 69303 | test._expectedDeprecations = null; |
73301 | 69354 | |
73302 | 69355 | var test = QUnit.test; |
73303 | 69356 | |
73304 | var expect = QUnit.expect; | |
69357 | ||
73305 | 69358 | |
73306 | 69359 | function module$1 (name, lifecycle) { |
73307 | 69360 | QUnit.module(name, { |
73734 | 69787 | } |
73735 | 69788 | } |
73736 | 69789 | |
73737 | function objectKeys(obj) { | |
73738 | if (Object.keys) { | |
73739 | return Object.keys(obj); | |
73740 | } else { | |
73741 | // IE8 | |
73742 | var res = [], i; | |
73743 | for (i in obj) { | |
73744 | if (obj.hasOwnProperty(i)) { | |
73745 | res.push(i); | |
73746 | } | |
73747 | } | |
73748 | return res; | |
73749 | } | |
73750 | } | |
73751 | ||
73752 | 69790 | // Pick the first defined of two or three arguments. |
73753 | ||
73754 | function defineCommonLocaleTests(locale, options) { | |
73755 | test('lenient day of month ordinal parsing', function (assert) { | |
73756 | var i, ordinalStr, testMoment; | |
73757 | for (i = 1; i <= 31; ++i) { | |
73758 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
73759 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
73760 | assert.equal(testMoment.year(), 2014, | |
73761 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
73762 | assert.equal(testMoment.month(), 0, | |
73763 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
73764 | assert.equal(testMoment.date(), i, | |
73765 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
73766 | } | |
73767 | }); | |
73768 | ||
73769 | test('lenient day of month ordinal parsing of number', function (assert) { | |
73770 | var i, testMoment; | |
73771 | for (i = 1; i <= 31; ++i) { | |
73772 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
73773 | assert.equal(testMoment.year(), 2014, | |
73774 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
73775 | assert.equal(testMoment.month(), 0, | |
73776 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
73777 | assert.equal(testMoment.date(), i, | |
73778 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
73779 | } | |
73780 | }); | |
73781 | ||
73782 | test('strict day of month ordinal parsing', function (assert) { | |
73783 | var i, ordinalStr, testMoment; | |
73784 | for (i = 1; i <= 31; ++i) { | |
73785 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
73786 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
73787 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
73788 | } | |
73789 | }); | |
73790 | ||
73791 | test('meridiem invariant', function (assert) { | |
73792 | var h, m, t1, t2; | |
73793 | for (h = 0; h < 24; ++h) { | |
73794 | for (m = 0; m < 60; m += 15) { | |
73795 | t1 = moment.utc([2000, 0, 1, h, m]); | |
73796 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
73797 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
73798 | 'meridiem at ' + t1.format('HH:mm')); | |
73799 | } | |
73800 | } | |
73801 | }); | |
73802 | ||
73803 | test('date format correctness', function (assert) { | |
73804 | var data, tokens; | |
73805 | data = moment.localeData()._longDateFormat; | |
73806 | tokens = objectKeys(data); | |
73807 | each(tokens, function (srchToken) { | |
73808 | // Check each format string to make sure it does not contain any | |
73809 | // tokens that need to be expanded. | |
73810 | each(tokens, function (baseToken) { | |
73811 | // strip escaped sequences | |
73812 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
73813 | assert.equal(false, !!~format.indexOf(srchToken), | |
73814 | 'contains ' + srchToken + ' in ' + baseToken); | |
73815 | }); | |
73816 | }); | |
73817 | }); | |
73818 | ||
73819 | test('month parsing correctness', function (assert) { | |
73820 | var i, m; | |
73821 | ||
73822 | if (locale === 'tr') { | |
73823 | // I can't fix it :( | |
73824 | expect(0); | |
73825 | return; | |
73826 | } | |
73827 | function tester(format) { | |
73828 | var r; | |
73829 | r = moment(m.format(format), format); | |
73830 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
73831 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
73832 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
73833 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
73834 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
73835 | ||
73836 | r = moment(m.format(format), format, true); | |
73837 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
73838 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
73839 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
73840 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
73841 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
73842 | } | |
73843 | ||
73844 | for (i = 0; i < 12; ++i) { | |
73845 | m = moment([2015, i, 15, 18]); | |
73846 | tester('MMM'); | |
73847 | tester('MMM.'); | |
73848 | tester('MMMM'); | |
73849 | tester('MMMM.'); | |
73850 | } | |
73851 | }); | |
73852 | ||
73853 | test('weekday parsing correctness', function (assert) { | |
73854 | var i, m; | |
73855 | ||
73856 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
73857 | // tr, az: There is a lower-case letter (ı), that converted to | |
73858 | // upper then lower changes to i | |
73859 | // ro: there is the letter ț which behaves weird under IE8 | |
73860 | expect(0); | |
73861 | return; | |
73862 | } | |
73863 | function tester(format) { | |
73864 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
73865 | r = moment(m.format(format), format); | |
73866 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
73867 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
73868 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
73869 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
73870 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
73871 | ||
73872 | r = moment(m.format(format), format, true); | |
73873 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
73874 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
73875 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
73876 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
73877 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
73878 | } | |
73879 | ||
73880 | for (i = 0; i < 7; ++i) { | |
73881 | m = moment.utc([2015, 0, i + 1, 18]); | |
73882 | tester('dd'); | |
73883 | tester('ddd'); | |
73884 | tester('dddd'); | |
73885 | } | |
73886 | }); | |
73887 | ||
73888 | test('valid localeData', function (assert) { | |
73889 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
73890 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
73891 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
73892 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
73893 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
73894 | }); | |
73895 | } | |
73896 | 69791 | |
73897 | 69792 | function setupDeprecationHandler(test, moment$$1, scope) { |
73898 | 69793 | test._expectedDeprecations = null; |
73949 | 69844 | |
73950 | 69845 | var test = QUnit.test; |
73951 | 69846 | |
73952 | var expect = QUnit.expect; | |
69847 | ||
73953 | 69848 | |
73954 | 69849 | function module$1 (name, lifecycle) { |
73955 | 69850 | QUnit.module(name, { |
74003 | 69898 | } |
74004 | 69899 | } |
74005 | 69900 | |
74006 | function objectKeys(obj) { | |
74007 | if (Object.keys) { | |
74008 | return Object.keys(obj); | |
74009 | } else { | |
74010 | // IE8 | |
74011 | var res = [], i; | |
74012 | for (i in obj) { | |
74013 | if (obj.hasOwnProperty(i)) { | |
74014 | res.push(i); | |
74015 | } | |
74016 | } | |
74017 | return res; | |
74018 | } | |
74019 | } | |
74020 | ||
74021 | 69901 | // Pick the first defined of two or three arguments. |
74022 | ||
74023 | function defineCommonLocaleTests(locale, options) { | |
74024 | test('lenient day of month ordinal parsing', function (assert) { | |
74025 | var i, ordinalStr, testMoment; | |
74026 | for (i = 1; i <= 31; ++i) { | |
74027 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
74028 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
74029 | assert.equal(testMoment.year(), 2014, | |
74030 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
74031 | assert.equal(testMoment.month(), 0, | |
74032 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
74033 | assert.equal(testMoment.date(), i, | |
74034 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
74035 | } | |
74036 | }); | |
74037 | ||
74038 | test('lenient day of month ordinal parsing of number', function (assert) { | |
74039 | var i, testMoment; | |
74040 | for (i = 1; i <= 31; ++i) { | |
74041 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
74042 | assert.equal(testMoment.year(), 2014, | |
74043 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
74044 | assert.equal(testMoment.month(), 0, | |
74045 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
74046 | assert.equal(testMoment.date(), i, | |
74047 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
74048 | } | |
74049 | }); | |
74050 | ||
74051 | test('strict day of month ordinal parsing', function (assert) { | |
74052 | var i, ordinalStr, testMoment; | |
74053 | for (i = 1; i <= 31; ++i) { | |
74054 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
74055 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
74056 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
74057 | } | |
74058 | }); | |
74059 | ||
74060 | test('meridiem invariant', function (assert) { | |
74061 | var h, m, t1, t2; | |
74062 | for (h = 0; h < 24; ++h) { | |
74063 | for (m = 0; m < 60; m += 15) { | |
74064 | t1 = moment.utc([2000, 0, 1, h, m]); | |
74065 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
74066 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
74067 | 'meridiem at ' + t1.format('HH:mm')); | |
74068 | } | |
74069 | } | |
74070 | }); | |
74071 | ||
74072 | test('date format correctness', function (assert) { | |
74073 | var data, tokens; | |
74074 | data = moment.localeData()._longDateFormat; | |
74075 | tokens = objectKeys(data); | |
74076 | each(tokens, function (srchToken) { | |
74077 | // Check each format string to make sure it does not contain any | |
74078 | // tokens that need to be expanded. | |
74079 | each(tokens, function (baseToken) { | |
74080 | // strip escaped sequences | |
74081 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
74082 | assert.equal(false, !!~format.indexOf(srchToken), | |
74083 | 'contains ' + srchToken + ' in ' + baseToken); | |
74084 | }); | |
74085 | }); | |
74086 | }); | |
74087 | ||
74088 | test('month parsing correctness', function (assert) { | |
74089 | var i, m; | |
74090 | ||
74091 | if (locale === 'tr') { | |
74092 | // I can't fix it :( | |
74093 | expect(0); | |
74094 | return; | |
74095 | } | |
74096 | function tester(format) { | |
74097 | var r; | |
74098 | r = moment(m.format(format), format); | |
74099 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
74100 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
74101 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
74102 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
74103 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
74104 | ||
74105 | r = moment(m.format(format), format, true); | |
74106 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
74107 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
74108 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
74109 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
74110 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
74111 | } | |
74112 | ||
74113 | for (i = 0; i < 12; ++i) { | |
74114 | m = moment([2015, i, 15, 18]); | |
74115 | tester('MMM'); | |
74116 | tester('MMM.'); | |
74117 | tester('MMMM'); | |
74118 | tester('MMMM.'); | |
74119 | } | |
74120 | }); | |
74121 | ||
74122 | test('weekday parsing correctness', function (assert) { | |
74123 | var i, m; | |
74124 | ||
74125 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
74126 | // tr, az: There is a lower-case letter (ı), that converted to | |
74127 | // upper then lower changes to i | |
74128 | // ro: there is the letter ț which behaves weird under IE8 | |
74129 | expect(0); | |
74130 | return; | |
74131 | } | |
74132 | function tester(format) { | |
74133 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
74134 | r = moment(m.format(format), format); | |
74135 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
74136 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
74137 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
74138 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
74139 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
74140 | ||
74141 | r = moment(m.format(format), format, true); | |
74142 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
74143 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
74144 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
74145 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
74146 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
74147 | } | |
74148 | ||
74149 | for (i = 0; i < 7; ++i) { | |
74150 | m = moment.utc([2015, 0, i + 1, 18]); | |
74151 | tester('dd'); | |
74152 | tester('ddd'); | |
74153 | tester('dddd'); | |
74154 | } | |
74155 | }); | |
74156 | ||
74157 | test('valid localeData', function (assert) { | |
74158 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
74159 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
74160 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
74161 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
74162 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
74163 | }); | |
74164 | } | |
74165 | 69902 | |
74166 | 69903 | function setupDeprecationHandler(test, moment$$1, scope) { |
74167 | 69904 | test._expectedDeprecations = null; |
74309 | 70046 | } |
74310 | 70047 | } |
74311 | 70048 | |
74312 | function objectKeys(obj) { | |
74313 | if (Object.keys) { | |
74314 | return Object.keys(obj); | |
74315 | } else { | |
74316 | // IE8 | |
74317 | var res = [], i; | |
74318 | for (i in obj) { | |
74319 | if (obj.hasOwnProperty(i)) { | |
74320 | res.push(i); | |
74321 | } | |
74322 | } | |
74323 | return res; | |
74324 | } | |
74325 | } | |
74326 | ||
74327 | 70049 | // Pick the first defined of two or three arguments. |
74328 | ||
74329 | function defineCommonLocaleTests(locale, options) { | |
74330 | test('lenient day of month ordinal parsing', function (assert) { | |
74331 | var i, ordinalStr, testMoment; | |
74332 | for (i = 1; i <= 31; ++i) { | |
74333 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
74334 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
74335 | assert.equal(testMoment.year(), 2014, | |
74336 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
74337 | assert.equal(testMoment.month(), 0, | |
74338 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
74339 | assert.equal(testMoment.date(), i, | |
74340 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
74341 | } | |
74342 | }); | |
74343 | ||
74344 | test('lenient day of month ordinal parsing of number', function (assert) { | |
74345 | var i, testMoment; | |
74346 | for (i = 1; i <= 31; ++i) { | |
74347 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
74348 | assert.equal(testMoment.year(), 2014, | |
74349 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
74350 | assert.equal(testMoment.month(), 0, | |
74351 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
74352 | assert.equal(testMoment.date(), i, | |
74353 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
74354 | } | |
74355 | }); | |
74356 | ||
74357 | test('strict day of month ordinal parsing', function (assert) { | |
74358 | var i, ordinalStr, testMoment; | |
74359 | for (i = 1; i <= 31; ++i) { | |
74360 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
74361 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
74362 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
74363 | } | |
74364 | }); | |
74365 | ||
74366 | test('meridiem invariant', function (assert) { | |
74367 | var h, m, t1, t2; | |
74368 | for (h = 0; h < 24; ++h) { | |
74369 | for (m = 0; m < 60; m += 15) { | |
74370 | t1 = moment.utc([2000, 0, 1, h, m]); | |
74371 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
74372 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
74373 | 'meridiem at ' + t1.format('HH:mm')); | |
74374 | } | |
74375 | } | |
74376 | }); | |
74377 | ||
74378 | test('date format correctness', function (assert) { | |
74379 | var data, tokens; | |
74380 | data = moment.localeData()._longDateFormat; | |
74381 | tokens = objectKeys(data); | |
74382 | each(tokens, function (srchToken) { | |
74383 | // Check each format string to make sure it does not contain any | |
74384 | // tokens that need to be expanded. | |
74385 | each(tokens, function (baseToken) { | |
74386 | // strip escaped sequences | |
74387 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
74388 | assert.equal(false, !!~format.indexOf(srchToken), | |
74389 | 'contains ' + srchToken + ' in ' + baseToken); | |
74390 | }); | |
74391 | }); | |
74392 | }); | |
74393 | ||
74394 | test('month parsing correctness', function (assert) { | |
74395 | var i, m; | |
74396 | ||
74397 | if (locale === 'tr') { | |
74398 | // I can't fix it :( | |
74399 | expect(0); | |
74400 | return; | |
74401 | } | |
74402 | function tester(format) { | |
74403 | var r; | |
74404 | r = moment(m.format(format), format); | |
74405 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
74406 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
74407 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
74408 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
74409 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
74410 | ||
74411 | r = moment(m.format(format), format, true); | |
74412 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
74413 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
74414 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
74415 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
74416 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
74417 | } | |
74418 | ||
74419 | for (i = 0; i < 12; ++i) { | |
74420 | m = moment([2015, i, 15, 18]); | |
74421 | tester('MMM'); | |
74422 | tester('MMM.'); | |
74423 | tester('MMMM'); | |
74424 | tester('MMMM.'); | |
74425 | } | |
74426 | }); | |
74427 | ||
74428 | test('weekday parsing correctness', function (assert) { | |
74429 | var i, m; | |
74430 | ||
74431 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
74432 | // tr, az: There is a lower-case letter (ı), that converted to | |
74433 | // upper then lower changes to i | |
74434 | // ro: there is the letter ț which behaves weird under IE8 | |
74435 | expect(0); | |
74436 | return; | |
74437 | } | |
74438 | function tester(format) { | |
74439 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
74440 | r = moment(m.format(format), format); | |
74441 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
74442 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
74443 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
74444 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
74445 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
74446 | ||
74447 | r = moment(m.format(format), format, true); | |
74448 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
74449 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
74450 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
74451 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
74452 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
74453 | } | |
74454 | ||
74455 | for (i = 0; i < 7; ++i) { | |
74456 | m = moment.utc([2015, 0, i + 1, 18]); | |
74457 | tester('dd'); | |
74458 | tester('ddd'); | |
74459 | tester('dddd'); | |
74460 | } | |
74461 | }); | |
74462 | ||
74463 | test('valid localeData', function (assert) { | |
74464 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
74465 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
74466 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
74467 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
74468 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
74469 | }); | |
74470 | } | |
74471 | 70050 | |
74472 | 70051 | function setupDeprecationHandler(test, moment$$1, scope) { |
74473 | 70052 | test._expectedDeprecations = null; |
74524 | 70103 | |
74525 | 70104 | var test = QUnit.test; |
74526 | 70105 | |
74527 | var expect = QUnit.expect; | |
70106 | ||
74528 | 70107 | |
74529 | 70108 | function module$1 (name, lifecycle) { |
74530 | 70109 | QUnit.module(name, { |
74640 | 70219 | } |
74641 | 70220 | } |
74642 | 70221 | |
74643 | function objectKeys(obj) { | |
74644 | if (Object.keys) { | |
74645 | return Object.keys(obj); | |
74646 | } else { | |
74647 | // IE8 | |
74648 | var res = [], i; | |
74649 | for (i in obj) { | |
74650 | if (obj.hasOwnProperty(i)) { | |
74651 | res.push(i); | |
74652 | } | |
74653 | } | |
74654 | return res; | |
74655 | } | |
74656 | } | |
74657 | ||
74658 | 70222 | // Pick the first defined of two or three arguments. |
74659 | ||
74660 | function defineCommonLocaleTests(locale, options) { | |
74661 | test('lenient day of month ordinal parsing', function (assert) { | |
74662 | var i, ordinalStr, testMoment; | |
74663 | for (i = 1; i <= 31; ++i) { | |
74664 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
74665 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
74666 | assert.equal(testMoment.year(), 2014, | |
74667 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
74668 | assert.equal(testMoment.month(), 0, | |
74669 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
74670 | assert.equal(testMoment.date(), i, | |
74671 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
74672 | } | |
74673 | }); | |
74674 | ||
74675 | test('lenient day of month ordinal parsing of number', function (assert) { | |
74676 | var i, testMoment; | |
74677 | for (i = 1; i <= 31; ++i) { | |
74678 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
74679 | assert.equal(testMoment.year(), 2014, | |
74680 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
74681 | assert.equal(testMoment.month(), 0, | |
74682 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
74683 | assert.equal(testMoment.date(), i, | |
74684 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
74685 | } | |
74686 | }); | |
74687 | ||
74688 | test('strict day of month ordinal parsing', function (assert) { | |
74689 | var i, ordinalStr, testMoment; | |
74690 | for (i = 1; i <= 31; ++i) { | |
74691 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
74692 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
74693 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
74694 | } | |
74695 | }); | |
74696 | ||
74697 | test('meridiem invariant', function (assert) { | |
74698 | var h, m, t1, t2; | |
74699 | for (h = 0; h < 24; ++h) { | |
74700 | for (m = 0; m < 60; m += 15) { | |
74701 | t1 = moment.utc([2000, 0, 1, h, m]); | |
74702 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
74703 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
74704 | 'meridiem at ' + t1.format('HH:mm')); | |
74705 | } | |
74706 | } | |
74707 | }); | |
74708 | ||
74709 | test('date format correctness', function (assert) { | |
74710 | var data, tokens; | |
74711 | data = moment.localeData()._longDateFormat; | |
74712 | tokens = objectKeys(data); | |
74713 | each(tokens, function (srchToken) { | |
74714 | // Check each format string to make sure it does not contain any | |
74715 | // tokens that need to be expanded. | |
74716 | each(tokens, function (baseToken) { | |
74717 | // strip escaped sequences | |
74718 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
74719 | assert.equal(false, !!~format.indexOf(srchToken), | |
74720 | 'contains ' + srchToken + ' in ' + baseToken); | |
74721 | }); | |
74722 | }); | |
74723 | }); | |
74724 | ||
74725 | test('month parsing correctness', function (assert) { | |
74726 | var i, m; | |
74727 | ||
74728 | if (locale === 'tr') { | |
74729 | // I can't fix it :( | |
74730 | expect(0); | |
74731 | return; | |
74732 | } | |
74733 | function tester(format) { | |
74734 | var r; | |
74735 | r = moment(m.format(format), format); | |
74736 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
74737 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
74738 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
74739 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
74740 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
74741 | ||
74742 | r = moment(m.format(format), format, true); | |
74743 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
74744 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
74745 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
74746 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
74747 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
74748 | } | |
74749 | ||
74750 | for (i = 0; i < 12; ++i) { | |
74751 | m = moment([2015, i, 15, 18]); | |
74752 | tester('MMM'); | |
74753 | tester('MMM.'); | |
74754 | tester('MMMM'); | |
74755 | tester('MMMM.'); | |
74756 | } | |
74757 | }); | |
74758 | ||
74759 | test('weekday parsing correctness', function (assert) { | |
74760 | var i, m; | |
74761 | ||
74762 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
74763 | // tr, az: There is a lower-case letter (ı), that converted to | |
74764 | // upper then lower changes to i | |
74765 | // ro: there is the letter ț which behaves weird under IE8 | |
74766 | expect(0); | |
74767 | return; | |
74768 | } | |
74769 | function tester(format) { | |
74770 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
74771 | r = moment(m.format(format), format); | |
74772 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
74773 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
74774 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
74775 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
74776 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
74777 | ||
74778 | r = moment(m.format(format), format, true); | |
74779 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
74780 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
74781 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
74782 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
74783 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
74784 | } | |
74785 | ||
74786 | for (i = 0; i < 7; ++i) { | |
74787 | m = moment.utc([2015, 0, i + 1, 18]); | |
74788 | tester('dd'); | |
74789 | tester('ddd'); | |
74790 | tester('dddd'); | |
74791 | } | |
74792 | }); | |
74793 | ||
74794 | test('valid localeData', function (assert) { | |
74795 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
74796 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
74797 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
74798 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
74799 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
74800 | }); | |
74801 | } | |
74802 | 70223 | |
74803 | 70224 | function setupDeprecationHandler(test, moment$$1, scope) { |
74804 | 70225 | test._expectedDeprecations = null; |
74855 | 70276 | |
74856 | 70277 | var test = QUnit.test; |
74857 | 70278 | |
74858 | var expect = QUnit.expect; | |
70279 | ||
74859 | 70280 | |
74860 | 70281 | function module$1 (name, lifecycle) { |
74861 | 70282 | QUnit.module(name, { |
75377 | 70798 | } |
75378 | 70799 | } |
75379 | 70800 | |
75380 | function objectKeys(obj) { | |
75381 | if (Object.keys) { | |
75382 | return Object.keys(obj); | |
75383 | } else { | |
75384 | // IE8 | |
75385 | var res = [], i; | |
75386 | for (i in obj) { | |
75387 | if (obj.hasOwnProperty(i)) { | |
75388 | res.push(i); | |
75389 | } | |
75390 | } | |
75391 | return res; | |
75392 | } | |
75393 | } | |
75394 | ||
75395 | 70801 | // Pick the first defined of two or three arguments. |
75396 | ||
75397 | function defineCommonLocaleTests(locale, options) { | |
75398 | test('lenient day of month ordinal parsing', function (assert) { | |
75399 | var i, ordinalStr, testMoment; | |
75400 | for (i = 1; i <= 31; ++i) { | |
75401 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
75402 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
75403 | assert.equal(testMoment.year(), 2014, | |
75404 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
75405 | assert.equal(testMoment.month(), 0, | |
75406 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
75407 | assert.equal(testMoment.date(), i, | |
75408 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
75409 | } | |
75410 | }); | |
75411 | ||
75412 | test('lenient day of month ordinal parsing of number', function (assert) { | |
75413 | var i, testMoment; | |
75414 | for (i = 1; i <= 31; ++i) { | |
75415 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
75416 | assert.equal(testMoment.year(), 2014, | |
75417 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
75418 | assert.equal(testMoment.month(), 0, | |
75419 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
75420 | assert.equal(testMoment.date(), i, | |
75421 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
75422 | } | |
75423 | }); | |
75424 | ||
75425 | test('strict day of month ordinal parsing', function (assert) { | |
75426 | var i, ordinalStr, testMoment; | |
75427 | for (i = 1; i <= 31; ++i) { | |
75428 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
75429 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
75430 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
75431 | } | |
75432 | }); | |
75433 | ||
75434 | test('meridiem invariant', function (assert) { | |
75435 | var h, m, t1, t2; | |
75436 | for (h = 0; h < 24; ++h) { | |
75437 | for (m = 0; m < 60; m += 15) { | |
75438 | t1 = moment.utc([2000, 0, 1, h, m]); | |
75439 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
75440 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
75441 | 'meridiem at ' + t1.format('HH:mm')); | |
75442 | } | |
75443 | } | |
75444 | }); | |
75445 | ||
75446 | test('date format correctness', function (assert) { | |
75447 | var data, tokens; | |
75448 | data = moment.localeData()._longDateFormat; | |
75449 | tokens = objectKeys(data); | |
75450 | each(tokens, function (srchToken) { | |
75451 | // Check each format string to make sure it does not contain any | |
75452 | // tokens that need to be expanded. | |
75453 | each(tokens, function (baseToken) { | |
75454 | // strip escaped sequences | |
75455 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
75456 | assert.equal(false, !!~format.indexOf(srchToken), | |
75457 | 'contains ' + srchToken + ' in ' + baseToken); | |
75458 | }); | |
75459 | }); | |
75460 | }); | |
75461 | ||
75462 | test('month parsing correctness', function (assert) { | |
75463 | var i, m; | |
75464 | ||
75465 | if (locale === 'tr') { | |
75466 | // I can't fix it :( | |
75467 | expect(0); | |
75468 | return; | |
75469 | } | |
75470 | function tester(format) { | |
75471 | var r; | |
75472 | r = moment(m.format(format), format); | |
75473 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
75474 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
75475 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
75476 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
75477 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
75478 | ||
75479 | r = moment(m.format(format), format, true); | |
75480 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
75481 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
75482 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
75483 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
75484 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
75485 | } | |
75486 | ||
75487 | for (i = 0; i < 12; ++i) { | |
75488 | m = moment([2015, i, 15, 18]); | |
75489 | tester('MMM'); | |
75490 | tester('MMM.'); | |
75491 | tester('MMMM'); | |
75492 | tester('MMMM.'); | |
75493 | } | |
75494 | }); | |
75495 | ||
75496 | test('weekday parsing correctness', function (assert) { | |
75497 | var i, m; | |
75498 | ||
75499 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
75500 | // tr, az: There is a lower-case letter (ı), that converted to | |
75501 | // upper then lower changes to i | |
75502 | // ro: there is the letter ț which behaves weird under IE8 | |
75503 | expect(0); | |
75504 | return; | |
75505 | } | |
75506 | function tester(format) { | |
75507 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
75508 | r = moment(m.format(format), format); | |
75509 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
75510 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
75511 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
75512 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
75513 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
75514 | ||
75515 | r = moment(m.format(format), format, true); | |
75516 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
75517 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
75518 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
75519 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
75520 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
75521 | } | |
75522 | ||
75523 | for (i = 0; i < 7; ++i) { | |
75524 | m = moment.utc([2015, 0, i + 1, 18]); | |
75525 | tester('dd'); | |
75526 | tester('ddd'); | |
75527 | tester('dddd'); | |
75528 | } | |
75529 | }); | |
75530 | ||
75531 | test('valid localeData', function (assert) { | |
75532 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
75533 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
75534 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
75535 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
75536 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
75537 | }); | |
75538 | } | |
75539 | 70802 | |
75540 | 70803 | function setupDeprecationHandler(test, moment$$1, scope) { |
75541 | 70804 | test._expectedDeprecations = null; |
75592 | 70855 | |
75593 | 70856 | var test = QUnit.test; |
75594 | 70857 | |
75595 | var expect = QUnit.expect; | |
70858 | ||
75596 | 70859 | |
75597 | 70860 | function module$1 (name, lifecycle) { |
75598 | 70861 | QUnit.module(name, { |
75938 | 71201 | } |
75939 | 71202 | } |
75940 | 71203 | |
75941 | function objectKeys(obj) { | |
75942 | if (Object.keys) { | |
75943 | return Object.keys(obj); | |
75944 | } else { | |
75945 | // IE8 | |
75946 | var res = [], i; | |
75947 | for (i in obj) { | |
75948 | if (obj.hasOwnProperty(i)) { | |
75949 | res.push(i); | |
75950 | } | |
75951 | } | |
75952 | return res; | |
75953 | } | |
75954 | } | |
75955 | ||
75956 | 71204 | // Pick the first defined of two or three arguments. |
75957 | ||
75958 | function defineCommonLocaleTests(locale, options) { | |
75959 | test('lenient day of month ordinal parsing', function (assert) { | |
75960 | var i, ordinalStr, testMoment; | |
75961 | for (i = 1; i <= 31; ++i) { | |
75962 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
75963 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
75964 | assert.equal(testMoment.year(), 2014, | |
75965 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
75966 | assert.equal(testMoment.month(), 0, | |
75967 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
75968 | assert.equal(testMoment.date(), i, | |
75969 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
75970 | } | |
75971 | }); | |
75972 | ||
75973 | test('lenient day of month ordinal parsing of number', function (assert) { | |
75974 | var i, testMoment; | |
75975 | for (i = 1; i <= 31; ++i) { | |
75976 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
75977 | assert.equal(testMoment.year(), 2014, | |
75978 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
75979 | assert.equal(testMoment.month(), 0, | |
75980 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
75981 | assert.equal(testMoment.date(), i, | |
75982 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
75983 | } | |
75984 | }); | |
75985 | ||
75986 | test('strict day of month ordinal parsing', function (assert) { | |
75987 | var i, ordinalStr, testMoment; | |
75988 | for (i = 1; i <= 31; ++i) { | |
75989 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
75990 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
75991 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
75992 | } | |
75993 | }); | |
75994 | ||
75995 | test('meridiem invariant', function (assert) { | |
75996 | var h, m, t1, t2; | |
75997 | for (h = 0; h < 24; ++h) { | |
75998 | for (m = 0; m < 60; m += 15) { | |
75999 | t1 = moment.utc([2000, 0, 1, h, m]); | |
76000 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
76001 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
76002 | 'meridiem at ' + t1.format('HH:mm')); | |
76003 | } | |
76004 | } | |
76005 | }); | |
76006 | ||
76007 | test('date format correctness', function (assert) { | |
76008 | var data, tokens; | |
76009 | data = moment.localeData()._longDateFormat; | |
76010 | tokens = objectKeys(data); | |
76011 | each(tokens, function (srchToken) { | |
76012 | // Check each format string to make sure it does not contain any | |
76013 | // tokens that need to be expanded. | |
76014 | each(tokens, function (baseToken) { | |
76015 | // strip escaped sequences | |
76016 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
76017 | assert.equal(false, !!~format.indexOf(srchToken), | |
76018 | 'contains ' + srchToken + ' in ' + baseToken); | |
76019 | }); | |
76020 | }); | |
76021 | }); | |
76022 | ||
76023 | test('month parsing correctness', function (assert) { | |
76024 | var i, m; | |
76025 | ||
76026 | if (locale === 'tr') { | |
76027 | // I can't fix it :( | |
76028 | expect(0); | |
76029 | return; | |
76030 | } | |
76031 | function tester(format) { | |
76032 | var r; | |
76033 | r = moment(m.format(format), format); | |
76034 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
76035 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
76036 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
76037 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
76038 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
76039 | ||
76040 | r = moment(m.format(format), format, true); | |
76041 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
76042 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
76043 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
76044 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
76045 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
76046 | } | |
76047 | ||
76048 | for (i = 0; i < 12; ++i) { | |
76049 | m = moment([2015, i, 15, 18]); | |
76050 | tester('MMM'); | |
76051 | tester('MMM.'); | |
76052 | tester('MMMM'); | |
76053 | tester('MMMM.'); | |
76054 | } | |
76055 | }); | |
76056 | ||
76057 | test('weekday parsing correctness', function (assert) { | |
76058 | var i, m; | |
76059 | ||
76060 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
76061 | // tr, az: There is a lower-case letter (ı), that converted to | |
76062 | // upper then lower changes to i | |
76063 | // ro: there is the letter ț which behaves weird under IE8 | |
76064 | expect(0); | |
76065 | return; | |
76066 | } | |
76067 | function tester(format) { | |
76068 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
76069 | r = moment(m.format(format), format); | |
76070 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
76071 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
76072 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
76073 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
76074 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
76075 | ||
76076 | r = moment(m.format(format), format, true); | |
76077 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
76078 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
76079 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
76080 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
76081 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
76082 | } | |
76083 | ||
76084 | for (i = 0; i < 7; ++i) { | |
76085 | m = moment.utc([2015, 0, i + 1, 18]); | |
76086 | tester('dd'); | |
76087 | tester('ddd'); | |
76088 | tester('dddd'); | |
76089 | } | |
76090 | }); | |
76091 | ||
76092 | test('valid localeData', function (assert) { | |
76093 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
76094 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
76095 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
76096 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
76097 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
76098 | }); | |
76099 | } | |
76100 | 71205 | |
76101 | 71206 | function setupDeprecationHandler(test, moment$$1, scope) { |
76102 | 71207 | test._expectedDeprecations = null; |
76153 | 71258 | |
76154 | 71259 | var test = QUnit.test; |
76155 | 71260 | |
76156 | var expect = QUnit.expect; | |
71261 | ||
76157 | 71262 | |
76158 | 71263 | function module$1 (name, lifecycle) { |
76159 | 71264 | QUnit.module(name, { |
76342 | 71447 | } |
76343 | 71448 | } |
76344 | 71449 | |
76345 | function objectKeys(obj) { | |
76346 | if (Object.keys) { | |
76347 | return Object.keys(obj); | |
76348 | } else { | |
76349 | // IE8 | |
76350 | var res = [], i; | |
76351 | for (i in obj) { | |
76352 | if (obj.hasOwnProperty(i)) { | |
76353 | res.push(i); | |
76354 | } | |
76355 | } | |
76356 | return res; | |
76357 | } | |
76358 | } | |
76359 | ||
76360 | 71450 | // Pick the first defined of two or three arguments. |
76361 | ||
76362 | function defineCommonLocaleTests(locale, options) { | |
76363 | test('lenient day of month ordinal parsing', function (assert) { | |
76364 | var i, ordinalStr, testMoment; | |
76365 | for (i = 1; i <= 31; ++i) { | |
76366 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
76367 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
76368 | assert.equal(testMoment.year(), 2014, | |
76369 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
76370 | assert.equal(testMoment.month(), 0, | |
76371 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
76372 | assert.equal(testMoment.date(), i, | |
76373 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
76374 | } | |
76375 | }); | |
76376 | ||
76377 | test('lenient day of month ordinal parsing of number', function (assert) { | |
76378 | var i, testMoment; | |
76379 | for (i = 1; i <= 31; ++i) { | |
76380 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
76381 | assert.equal(testMoment.year(), 2014, | |
76382 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
76383 | assert.equal(testMoment.month(), 0, | |
76384 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
76385 | assert.equal(testMoment.date(), i, | |
76386 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
76387 | } | |
76388 | }); | |
76389 | ||
76390 | test('strict day of month ordinal parsing', function (assert) { | |
76391 | var i, ordinalStr, testMoment; | |
76392 | for (i = 1; i <= 31; ++i) { | |
76393 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
76394 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
76395 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
76396 | } | |
76397 | }); | |
76398 | ||
76399 | test('meridiem invariant', function (assert) { | |
76400 | var h, m, t1, t2; | |
76401 | for (h = 0; h < 24; ++h) { | |
76402 | for (m = 0; m < 60; m += 15) { | |
76403 | t1 = moment.utc([2000, 0, 1, h, m]); | |
76404 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
76405 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
76406 | 'meridiem at ' + t1.format('HH:mm')); | |
76407 | } | |
76408 | } | |
76409 | }); | |
76410 | ||
76411 | test('date format correctness', function (assert) { | |
76412 | var data, tokens; | |
76413 | data = moment.localeData()._longDateFormat; | |
76414 | tokens = objectKeys(data); | |
76415 | each(tokens, function (srchToken) { | |
76416 | // Check each format string to make sure it does not contain any | |
76417 | // tokens that need to be expanded. | |
76418 | each(tokens, function (baseToken) { | |
76419 | // strip escaped sequences | |
76420 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
76421 | assert.equal(false, !!~format.indexOf(srchToken), | |
76422 | 'contains ' + srchToken + ' in ' + baseToken); | |
76423 | }); | |
76424 | }); | |
76425 | }); | |
76426 | ||
76427 | test('month parsing correctness', function (assert) { | |
76428 | var i, m; | |
76429 | ||
76430 | if (locale === 'tr') { | |
76431 | // I can't fix it :( | |
76432 | expect(0); | |
76433 | return; | |
76434 | } | |
76435 | function tester(format) { | |
76436 | var r; | |
76437 | r = moment(m.format(format), format); | |
76438 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
76439 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
76440 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
76441 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
76442 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
76443 | ||
76444 | r = moment(m.format(format), format, true); | |
76445 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
76446 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
76447 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
76448 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
76449 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
76450 | } | |
76451 | ||
76452 | for (i = 0; i < 12; ++i) { | |
76453 | m = moment([2015, i, 15, 18]); | |
76454 | tester('MMM'); | |
76455 | tester('MMM.'); | |
76456 | tester('MMMM'); | |
76457 | tester('MMMM.'); | |
76458 | } | |
76459 | }); | |
76460 | ||
76461 | test('weekday parsing correctness', function (assert) { | |
76462 | var i, m; | |
76463 | ||
76464 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
76465 | // tr, az: There is a lower-case letter (ı), that converted to | |
76466 | // upper then lower changes to i | |
76467 | // ro: there is the letter ț which behaves weird under IE8 | |
76468 | expect(0); | |
76469 | return; | |
76470 | } | |
76471 | function tester(format) { | |
76472 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
76473 | r = moment(m.format(format), format); | |
76474 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
76475 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
76476 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
76477 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
76478 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
76479 | ||
76480 | r = moment(m.format(format), format, true); | |
76481 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
76482 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
76483 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
76484 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
76485 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
76486 | } | |
76487 | ||
76488 | for (i = 0; i < 7; ++i) { | |
76489 | m = moment.utc([2015, 0, i + 1, 18]); | |
76490 | tester('dd'); | |
76491 | tester('ddd'); | |
76492 | tester('dddd'); | |
76493 | } | |
76494 | }); | |
76495 | ||
76496 | test('valid localeData', function (assert) { | |
76497 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
76498 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
76499 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
76500 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
76501 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
76502 | }); | |
76503 | } | |
76504 | 71451 | |
76505 | 71452 | function setupDeprecationHandler(test, moment$$1, scope) { |
76506 | 71453 | test._expectedDeprecations = null; |
76557 | 71504 | |
76558 | 71505 | var test = QUnit.test; |
76559 | 71506 | |
76560 | var expect = QUnit.expect; | |
71507 | ||
76561 | 71508 | |
76562 | 71509 | function module$1 (name, lifecycle) { |
76563 | 71510 | QUnit.module(name, { |
76819 | 71766 | } |
76820 | 71767 | } |
76821 | 71768 | |
76822 | function objectKeys(obj) { | |
76823 | if (Object.keys) { | |
76824 | return Object.keys(obj); | |
76825 | } else { | |
76826 | // IE8 | |
76827 | var res = [], i; | |
76828 | for (i in obj) { | |
76829 | if (obj.hasOwnProperty(i)) { | |
76830 | res.push(i); | |
76831 | } | |
76832 | } | |
76833 | return res; | |
76834 | } | |
76835 | } | |
76836 | ||
76837 | 71769 | // Pick the first defined of two or three arguments. |
76838 | ||
76839 | function defineCommonLocaleTests(locale, options) { | |
76840 | test('lenient day of month ordinal parsing', function (assert) { | |
76841 | var i, ordinalStr, testMoment; | |
76842 | for (i = 1; i <= 31; ++i) { | |
76843 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
76844 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
76845 | assert.equal(testMoment.year(), 2014, | |
76846 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
76847 | assert.equal(testMoment.month(), 0, | |
76848 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
76849 | assert.equal(testMoment.date(), i, | |
76850 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
76851 | } | |
76852 | }); | |
76853 | ||
76854 | test('lenient day of month ordinal parsing of number', function (assert) { | |
76855 | var i, testMoment; | |
76856 | for (i = 1; i <= 31; ++i) { | |
76857 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
76858 | assert.equal(testMoment.year(), 2014, | |
76859 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
76860 | assert.equal(testMoment.month(), 0, | |
76861 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
76862 | assert.equal(testMoment.date(), i, | |
76863 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
76864 | } | |
76865 | }); | |
76866 | ||
76867 | test('strict day of month ordinal parsing', function (assert) { | |
76868 | var i, ordinalStr, testMoment; | |
76869 | for (i = 1; i <= 31; ++i) { | |
76870 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
76871 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
76872 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
76873 | } | |
76874 | }); | |
76875 | ||
76876 | test('meridiem invariant', function (assert) { | |
76877 | var h, m, t1, t2; | |
76878 | for (h = 0; h < 24; ++h) { | |
76879 | for (m = 0; m < 60; m += 15) { | |
76880 | t1 = moment.utc([2000, 0, 1, h, m]); | |
76881 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
76882 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
76883 | 'meridiem at ' + t1.format('HH:mm')); | |
76884 | } | |
76885 | } | |
76886 | }); | |
76887 | ||
76888 | test('date format correctness', function (assert) { | |
76889 | var data, tokens; | |
76890 | data = moment.localeData()._longDateFormat; | |
76891 | tokens = objectKeys(data); | |
76892 | each(tokens, function (srchToken) { | |
76893 | // Check each format string to make sure it does not contain any | |
76894 | // tokens that need to be expanded. | |
76895 | each(tokens, function (baseToken) { | |
76896 | // strip escaped sequences | |
76897 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
76898 | assert.equal(false, !!~format.indexOf(srchToken), | |
76899 | 'contains ' + srchToken + ' in ' + baseToken); | |
76900 | }); | |
76901 | }); | |
76902 | }); | |
76903 | ||
76904 | test('month parsing correctness', function (assert) { | |
76905 | var i, m; | |
76906 | ||
76907 | if (locale === 'tr') { | |
76908 | // I can't fix it :( | |
76909 | expect(0); | |
76910 | return; | |
76911 | } | |
76912 | function tester(format) { | |
76913 | var r; | |
76914 | r = moment(m.format(format), format); | |
76915 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
76916 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
76917 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
76918 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
76919 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
76920 | ||
76921 | r = moment(m.format(format), format, true); | |
76922 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
76923 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
76924 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
76925 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
76926 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
76927 | } | |
76928 | ||
76929 | for (i = 0; i < 12; ++i) { | |
76930 | m = moment([2015, i, 15, 18]); | |
76931 | tester('MMM'); | |
76932 | tester('MMM.'); | |
76933 | tester('MMMM'); | |
76934 | tester('MMMM.'); | |
76935 | } | |
76936 | }); | |
76937 | ||
76938 | test('weekday parsing correctness', function (assert) { | |
76939 | var i, m; | |
76940 | ||
76941 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
76942 | // tr, az: There is a lower-case letter (ı), that converted to | |
76943 | // upper then lower changes to i | |
76944 | // ro: there is the letter ț which behaves weird under IE8 | |
76945 | expect(0); | |
76946 | return; | |
76947 | } | |
76948 | function tester(format) { | |
76949 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
76950 | r = moment(m.format(format), format); | |
76951 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
76952 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
76953 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
76954 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
76955 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
76956 | ||
76957 | r = moment(m.format(format), format, true); | |
76958 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
76959 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
76960 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
76961 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
76962 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
76963 | } | |
76964 | ||
76965 | for (i = 0; i < 7; ++i) { | |
76966 | m = moment.utc([2015, 0, i + 1, 18]); | |
76967 | tester('dd'); | |
76968 | tester('ddd'); | |
76969 | tester('dddd'); | |
76970 | } | |
76971 | }); | |
76972 | ||
76973 | test('valid localeData', function (assert) { | |
76974 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
76975 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
76976 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
76977 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
76978 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
76979 | }); | |
76980 | } | |
76981 | 71770 | |
76982 | 71771 | function setupDeprecationHandler(test, moment$$1, scope) { |
76983 | 71772 | test._expectedDeprecations = null; |
77034 | 71823 | |
77035 | 71824 | var test = QUnit.test; |
77036 | 71825 | |
77037 | var expect = QUnit.expect; | |
71826 | ||
77038 | 71827 | |
77039 | 71828 | function module$1 (name, lifecycle) { |
77040 | 71829 | QUnit.module(name, { |
77159 | 71948 | } |
77160 | 71949 | } |
77161 | 71950 | |
77162 | function objectKeys(obj) { | |
77163 | if (Object.keys) { | |
77164 | return Object.keys(obj); | |
77165 | } else { | |
77166 | // IE8 | |
77167 | var res = [], i; | |
77168 | for (i in obj) { | |
77169 | if (obj.hasOwnProperty(i)) { | |
77170 | res.push(i); | |
77171 | } | |
77172 | } | |
77173 | return res; | |
77174 | } | |
77175 | } | |
77176 | ||
77177 | 71951 | // Pick the first defined of two or three arguments. |
77178 | ||
77179 | function defineCommonLocaleTests(locale, options) { | |
77180 | test('lenient day of month ordinal parsing', function (assert) { | |
77181 | var i, ordinalStr, testMoment; | |
77182 | for (i = 1; i <= 31; ++i) { | |
77183 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
77184 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
77185 | assert.equal(testMoment.year(), 2014, | |
77186 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
77187 | assert.equal(testMoment.month(), 0, | |
77188 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
77189 | assert.equal(testMoment.date(), i, | |
77190 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
77191 | } | |
77192 | }); | |
77193 | ||
77194 | test('lenient day of month ordinal parsing of number', function (assert) { | |
77195 | var i, testMoment; | |
77196 | for (i = 1; i <= 31; ++i) { | |
77197 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
77198 | assert.equal(testMoment.year(), 2014, | |
77199 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
77200 | assert.equal(testMoment.month(), 0, | |
77201 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
77202 | assert.equal(testMoment.date(), i, | |
77203 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
77204 | } | |
77205 | }); | |
77206 | ||
77207 | test('strict day of month ordinal parsing', function (assert) { | |
77208 | var i, ordinalStr, testMoment; | |
77209 | for (i = 1; i <= 31; ++i) { | |
77210 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
77211 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
77212 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
77213 | } | |
77214 | }); | |
77215 | ||
77216 | test('meridiem invariant', function (assert) { | |
77217 | var h, m, t1, t2; | |
77218 | for (h = 0; h < 24; ++h) { | |
77219 | for (m = 0; m < 60; m += 15) { | |
77220 | t1 = moment.utc([2000, 0, 1, h, m]); | |
77221 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
77222 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
77223 | 'meridiem at ' + t1.format('HH:mm')); | |
77224 | } | |
77225 | } | |
77226 | }); | |
77227 | ||
77228 | test('date format correctness', function (assert) { | |
77229 | var data, tokens; | |
77230 | data = moment.localeData()._longDateFormat; | |
77231 | tokens = objectKeys(data); | |
77232 | each(tokens, function (srchToken) { | |
77233 | // Check each format string to make sure it does not contain any | |
77234 | // tokens that need to be expanded. | |
77235 | each(tokens, function (baseToken) { | |
77236 | // strip escaped sequences | |
77237 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
77238 | assert.equal(false, !!~format.indexOf(srchToken), | |
77239 | 'contains ' + srchToken + ' in ' + baseToken); | |
77240 | }); | |
77241 | }); | |
77242 | }); | |
77243 | ||
77244 | test('month parsing correctness', function (assert) { | |
77245 | var i, m; | |
77246 | ||
77247 | if (locale === 'tr') { | |
77248 | // I can't fix it :( | |
77249 | expect(0); | |
77250 | return; | |
77251 | } | |
77252 | function tester(format) { | |
77253 | var r; | |
77254 | r = moment(m.format(format), format); | |
77255 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
77256 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
77257 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
77258 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
77259 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
77260 | ||
77261 | r = moment(m.format(format), format, true); | |
77262 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
77263 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
77264 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
77265 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
77266 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
77267 | } | |
77268 | ||
77269 | for (i = 0; i < 12; ++i) { | |
77270 | m = moment([2015, i, 15, 18]); | |
77271 | tester('MMM'); | |
77272 | tester('MMM.'); | |
77273 | tester('MMMM'); | |
77274 | tester('MMMM.'); | |
77275 | } | |
77276 | }); | |
77277 | ||
77278 | test('weekday parsing correctness', function (assert) { | |
77279 | var i, m; | |
77280 | ||
77281 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
77282 | // tr, az: There is a lower-case letter (ı), that converted to | |
77283 | // upper then lower changes to i | |
77284 | // ro: there is the letter ț which behaves weird under IE8 | |
77285 | expect(0); | |
77286 | return; | |
77287 | } | |
77288 | function tester(format) { | |
77289 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
77290 | r = moment(m.format(format), format); | |
77291 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
77292 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
77293 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
77294 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
77295 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
77296 | ||
77297 | r = moment(m.format(format), format, true); | |
77298 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
77299 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
77300 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
77301 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
77302 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
77303 | } | |
77304 | ||
77305 | for (i = 0; i < 7; ++i) { | |
77306 | m = moment.utc([2015, 0, i + 1, 18]); | |
77307 | tester('dd'); | |
77308 | tester('ddd'); | |
77309 | tester('dddd'); | |
77310 | } | |
77311 | }); | |
77312 | ||
77313 | test('valid localeData', function (assert) { | |
77314 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
77315 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
77316 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
77317 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
77318 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
77319 | }); | |
77320 | } | |
77321 | 71952 | |
77322 | 71953 | function setupDeprecationHandler(test, moment$$1, scope) { |
77323 | 71954 | test._expectedDeprecations = null; |
77524 | 72155 | } |
77525 | 72156 | } |
77526 | 72157 | |
77527 | function objectKeys(obj) { | |
77528 | if (Object.keys) { | |
77529 | return Object.keys(obj); | |
77530 | } else { | |
77531 | // IE8 | |
77532 | var res = [], i; | |
77533 | for (i in obj) { | |
77534 | if (obj.hasOwnProperty(i)) { | |
77535 | res.push(i); | |
77536 | } | |
77537 | } | |
77538 | return res; | |
77539 | } | |
77540 | } | |
77541 | ||
77542 | 72158 | // Pick the first defined of two or three arguments. |
77543 | ||
77544 | function defineCommonLocaleTests(locale, options) { | |
77545 | test('lenient day of month ordinal parsing', function (assert) { | |
77546 | var i, ordinalStr, testMoment; | |
77547 | for (i = 1; i <= 31; ++i) { | |
77548 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
77549 | testMoment = moment(ordinalStr, 'YYYY MM Do'); | |
77550 | assert.equal(testMoment.year(), 2014, | |
77551 | 'lenient day of month ordinal parsing ' + i + ' year check'); | |
77552 | assert.equal(testMoment.month(), 0, | |
77553 | 'lenient day of month ordinal parsing ' + i + ' month check'); | |
77554 | assert.equal(testMoment.date(), i, | |
77555 | 'lenient day of month ordinal parsing ' + i + ' date check'); | |
77556 | } | |
77557 | }); | |
77558 | ||
77559 | test('lenient day of month ordinal parsing of number', function (assert) { | |
77560 | var i, testMoment; | |
77561 | for (i = 1; i <= 31; ++i) { | |
77562 | testMoment = moment('2014 01 ' + i, 'YYYY MM Do'); | |
77563 | assert.equal(testMoment.year(), 2014, | |
77564 | 'lenient day of month ordinal parsing of number ' + i + ' year check'); | |
77565 | assert.equal(testMoment.month(), 0, | |
77566 | 'lenient day of month ordinal parsing of number ' + i + ' month check'); | |
77567 | assert.equal(testMoment.date(), i, | |
77568 | 'lenient day of month ordinal parsing of number ' + i + ' date check'); | |
77569 | } | |
77570 | }); | |
77571 | ||
77572 | test('strict day of month ordinal parsing', function (assert) { | |
77573 | var i, ordinalStr, testMoment; | |
77574 | for (i = 1; i <= 31; ++i) { | |
77575 | ordinalStr = moment([2014, 0, i]).format('YYYY MM Do'); | |
77576 | testMoment = moment(ordinalStr, 'YYYY MM Do', true); | |
77577 | assert.ok(testMoment.isValid(), 'strict day of month ordinal parsing ' + i); | |
77578 | } | |
77579 | }); | |
77580 | ||
77581 | test('meridiem invariant', function (assert) { | |
77582 | var h, m, t1, t2; | |
77583 | for (h = 0; h < 24; ++h) { | |
77584 | for (m = 0; m < 60; m += 15) { | |
77585 | t1 = moment.utc([2000, 0, 1, h, m]); | |
77586 | t2 = moment.utc(t1.format('A h:mm'), 'A h:mm'); | |
77587 | assert.equal(t2.format('HH:mm'), t1.format('HH:mm'), | |
77588 | 'meridiem at ' + t1.format('HH:mm')); | |
77589 | } | |
77590 | } | |
77591 | }); | |
77592 | ||
77593 | test('date format correctness', function (assert) { | |
77594 | var data, tokens; | |
77595 | data = moment.localeData()._longDateFormat; | |
77596 | tokens = objectKeys(data); | |
77597 | each(tokens, function (srchToken) { | |
77598 | // Check each format string to make sure it does not contain any | |
77599 | // tokens that need to be expanded. | |
77600 | each(tokens, function (baseToken) { | |
77601 | // strip escaped sequences | |
77602 | var format = data[baseToken].replace(/(\[[^\]]*\])/g, ''); | |
77603 | assert.equal(false, !!~format.indexOf(srchToken), | |
77604 | 'contains ' + srchToken + ' in ' + baseToken); | |
77605 | }); | |
77606 | }); | |
77607 | }); | |
77608 | ||
77609 | test('month parsing correctness', function (assert) { | |
77610 | var i, m; | |
77611 | ||
77612 | if (locale === 'tr') { | |
77613 | // I can't fix it :( | |
77614 | expect(0); | |
77615 | return; | |
77616 | } | |
77617 | function tester(format) { | |
77618 | var r; | |
77619 | r = moment(m.format(format), format); | |
77620 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format); | |
77621 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
77622 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper'); | |
77623 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
77624 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower'); | |
77625 | ||
77626 | r = moment(m.format(format), format, true); | |
77627 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict'); | |
77628 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
77629 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict'); | |
77630 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
77631 | assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' lower strict'); | |
77632 | } | |
77633 | ||
77634 | for (i = 0; i < 12; ++i) { | |
77635 | m = moment([2015, i, 15, 18]); | |
77636 | tester('MMM'); | |
77637 | tester('MMM.'); | |
77638 | tester('MMMM'); | |
77639 | tester('MMMM.'); | |
77640 | } | |
77641 | }); | |
77642 | ||
77643 | test('weekday parsing correctness', function (assert) { | |
77644 | var i, m; | |
77645 | ||
77646 | if (locale === 'tr' || locale === 'az' || locale === 'ro') { | |
77647 | // tr, az: There is a lower-case letter (ı), that converted to | |
77648 | // upper then lower changes to i | |
77649 | // ro: there is the letter ț which behaves weird under IE8 | |
77650 | expect(0); | |
77651 | return; | |
77652 | } | |
77653 | function tester(format) { | |
77654 | var r, baseMsg = 'weekday ' + m.weekday() + ' fmt ' + format + ' ' + m.toISOString(); | |
77655 | r = moment(m.format(format), format); | |
77656 | assert.equal(r.weekday(), m.weekday(), baseMsg); | |
77657 | r = moment(m.format(format).toLocaleUpperCase(), format); | |
77658 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper'); | |
77659 | r = moment(m.format(format).toLocaleLowerCase(), format); | |
77660 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower'); | |
77661 | ||
77662 | r = moment(m.format(format), format, true); | |
77663 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' strict'); | |
77664 | r = moment(m.format(format).toLocaleUpperCase(), format, true); | |
77665 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' upper strict'); | |
77666 | r = moment(m.format(format).toLocaleLowerCase(), format, true); | |
77667 | assert.equal(r.weekday(), m.weekday(), baseMsg + ' lower strict'); | |
77668 | } | |
77669 | ||
77670 | for (i = 0; i < 7; ++i) { | |
77671 | m = moment.utc([2015, 0, i + 1, 18]); | |
77672 | tester('dd'); | |
77673 | tester('ddd'); | |
77674 | tester('dddd'); | |
77675 | } | |
77676 | }); | |
77677 | ||
77678 | test('valid localeData', function (assert) { | |
77679 | assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); | |
77680 | assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); | |
77681 | assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); | |
77682 | assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); | |
77683 | assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); | |
77684 | }); | |
77685 | } | |
77686 | 72159 | |
77687 | 72160 | function setupDeprecationHandler(test, moment$$1, scope) { |
77688 | 72161 | test._expectedDeprecations = null; |
77739 | 72212 | |
77740 | 72213 | var test = QUnit.test; |
77741 | 72214 | |
77742 | var expect = QUnit.expect; | |
72215 | ||
77743 | 72216 | |
77744 | 72217 | function module$1 (name, lifecycle) { |
77745 | 72218 | QUnit.module(name, { |
0 | 0 | //! moment.js |
1 | //! version : 2.18.1 | |
1 | //! version : 2.19.0 | |
2 | 2 | //! authors : Tim Wood, Iskren Chernev, Moment.js contributors |
3 | 3 | //! license : MIT |
4 | 4 | //! momentjs.com |
32 | 32 | } |
33 | 33 | |
34 | 34 | function isObjectEmpty(obj) { |
35 | var k; | |
36 | for (k in obj) { | |
37 | // even if its not own property I'd still call it non-empty | |
38 | return false; | |
39 | } | |
40 | return true; | |
35 | if (Object.getOwnPropertyNames) { | |
36 | return (Object.getOwnPropertyNames(obj).length === 0); | |
37 | } else { | |
38 | var k; | |
39 | for (k in obj) { | |
40 | if (obj.hasOwnProperty(k)) { | |
41 | return false; | |
42 | } | |
43 | } | |
44 | return true; | |
45 | } | |
41 | 46 | } |
42 | 47 | |
43 | 48 | function isUndefined(input) { |
131 | 136 | }; |
132 | 137 | } |
133 | 138 | |
134 | var some$1 = some; | |
135 | ||
136 | 139 | function isValid(m) { |
137 | 140 | if (m._isValid == null) { |
138 | 141 | var flags = getParsingFlags(m); |
139 | var parsedParts = some$1.call(flags.parsedDateParts, function (i) { | |
142 | var parsedParts = some.call(flags.parsedDateParts, function (i) { | |
140 | 143 | return i != null; |
141 | 144 | }); |
142 | 145 | var isNowValid = !isNaN(m._d.getTime()) && |
144 | 147 | !flags.empty && |
145 | 148 | !flags.invalidMonth && |
146 | 149 | !flags.invalidWeekday && |
150 | !flags.weekdayMismatch && | |
147 | 151 | !flags.nullInput && |
148 | 152 | !flags.invalidFormat && |
149 | 153 | !flags.userInvalidated && |
409 | 413 | }; |
410 | 414 | } |
411 | 415 | |
412 | var keys$1 = keys; | |
413 | ||
414 | 416 | var defaultCalendar = { |
415 | 417 | sameDay : '[Today at] LT', |
416 | 418 | nextDay : '[Tomorrow at] LT', |
536 | 538 | return units; |
537 | 539 | } |
538 | 540 | |
539 | function makeGetSet (unit, keepTime) { | |
540 | return function (value) { | |
541 | if (value != null) { | |
542 | set$1(this, unit, value); | |
543 | hooks.updateOffset(this, keepTime); | |
544 | return this; | |
545 | } else { | |
546 | return get(this, unit); | |
547 | } | |
548 | }; | |
549 | } | |
550 | ||
551 | function get (mom, unit) { | |
552 | return mom.isValid() ? | |
553 | mom._d['get' + (mom._isUTC ? 'UTC' : '') + unit]() : NaN; | |
554 | } | |
555 | ||
556 | function set$1 (mom, unit, value) { | |
557 | if (mom.isValid()) { | |
558 | mom._d['set' + (mom._isUTC ? 'UTC' : '') + unit](value); | |
559 | } | |
560 | } | |
561 | ||
562 | // MOMENTS | |
563 | ||
564 | function stringGet (units) { | |
565 | units = normalizeUnits(units); | |
566 | if (isFunction(this[units])) { | |
567 | return this[units](); | |
568 | } | |
569 | return this; | |
570 | } | |
571 | ||
572 | ||
573 | function stringSet (units, value) { | |
574 | if (typeof units === 'object') { | |
575 | units = normalizeObjectUnits(units); | |
576 | var prioritized = getPrioritizedUnits(units); | |
577 | for (var i = 0; i < prioritized.length; i++) { | |
578 | this[prioritized[i].unit](units[prioritized[i].unit]); | |
579 | } | |
580 | } else { | |
581 | units = normalizeUnits(units); | |
582 | if (isFunction(this[units])) { | |
583 | return this[units](value); | |
584 | } | |
585 | } | |
586 | return this; | |
587 | } | |
588 | ||
589 | 541 | function zeroFill(number, targetLength, forceSign) { |
590 | 542 | var absNumber = '' + Math.abs(number), |
591 | 543 | zerosToFill = targetLength - absNumber.length, |
776 | 728 | var WEEK = 7; |
777 | 729 | var WEEKDAY = 8; |
778 | 730 | |
731 | // FORMATTING | |
732 | ||
733 | addFormatToken('Y', 0, 0, function () { | |
734 | var y = this.year(); | |
735 | return y <= 9999 ? '' + y : '+' + y; | |
736 | }); | |
737 | ||
738 | addFormatToken(0, ['YY', 2], 0, function () { | |
739 | return this.year() % 100; | |
740 | }); | |
741 | ||
742 | addFormatToken(0, ['YYYY', 4], 0, 'year'); | |
743 | addFormatToken(0, ['YYYYY', 5], 0, 'year'); | |
744 | addFormatToken(0, ['YYYYYY', 6, true], 0, 'year'); | |
745 | ||
746 | // ALIASES | |
747 | ||
748 | addUnitAlias('year', 'y'); | |
749 | ||
750 | // PRIORITIES | |
751 | ||
752 | addUnitPriority('year', 1); | |
753 | ||
754 | // PARSING | |
755 | ||
756 | addRegexToken('Y', matchSigned); | |
757 | addRegexToken('YY', match1to2, match2); | |
758 | addRegexToken('YYYY', match1to4, match4); | |
759 | addRegexToken('YYYYY', match1to6, match6); | |
760 | addRegexToken('YYYYYY', match1to6, match6); | |
761 | ||
762 | addParseToken(['YYYYY', 'YYYYYY'], YEAR); | |
763 | addParseToken('YYYY', function (input, array) { | |
764 | array[YEAR] = input.length === 2 ? hooks.parseTwoDigitYear(input) : toInt(input); | |
765 | }); | |
766 | addParseToken('YY', function (input, array) { | |
767 | array[YEAR] = hooks.parseTwoDigitYear(input); | |
768 | }); | |
769 | addParseToken('Y', function (input, array) { | |
770 | array[YEAR] = parseInt(input, 10); | |
771 | }); | |
772 | ||
773 | // HELPERS | |
774 | ||
775 | function daysInYear(year) { | |
776 | return isLeapYear(year) ? 366 : 365; | |
777 | } | |
778 | ||
779 | function isLeapYear(year) { | |
780 | return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0; | |
781 | } | |
782 | ||
783 | // HOOKS | |
784 | ||
785 | hooks.parseTwoDigitYear = function (input) { | |
786 | return toInt(input) + (toInt(input) > 68 ? 1900 : 2000); | |
787 | }; | |
788 | ||
789 | // MOMENTS | |
790 | ||
791 | var getSetYear = makeGetSet('FullYear', true); | |
792 | ||
793 | function getIsLeapYear () { | |
794 | return isLeapYear(this.year()); | |
795 | } | |
796 | ||
797 | function makeGetSet (unit, keepTime) { | |
798 | return function (value) { | |
799 | if (value != null) { | |
800 | set$1(this, unit, value); | |
801 | hooks.updateOffset(this, keepTime); | |
802 | return this; | |
803 | } else { | |
804 | return get(this, unit); | |
805 | } | |
806 | }; | |
807 | } | |
808 | ||
809 | function get (mom, unit) { | |
810 | return mom.isValid() ? | |
811 | mom._d['get' + (mom._isUTC ? 'UTC' : '') + unit]() : NaN; | |
812 | } | |
813 | ||
814 | function set$1 (mom, unit, value) { | |
815 | if (mom.isValid() && !isNaN(value)) { | |
816 | if (unit === 'FullYear' && isLeapYear(mom.year())) { | |
817 | mom._d['set' + (mom._isUTC ? 'UTC' : '') + unit](value, mom.month(), daysInMonth(value, mom.month())); | |
818 | } | |
819 | else { | |
820 | mom._d['set' + (mom._isUTC ? 'UTC' : '') + unit](value); | |
821 | } | |
822 | } | |
823 | } | |
824 | ||
825 | // MOMENTS | |
826 | ||
827 | function stringGet (units) { | |
828 | units = normalizeUnits(units); | |
829 | if (isFunction(this[units])) { | |
830 | return this[units](); | |
831 | } | |
832 | return this; | |
833 | } | |
834 | ||
835 | ||
836 | function stringSet (units, value) { | |
837 | if (typeof units === 'object') { | |
838 | units = normalizeObjectUnits(units); | |
839 | var prioritized = getPrioritizedUnits(units); | |
840 | for (var i = 0; i < prioritized.length; i++) { | |
841 | this[prioritized[i].unit](units[prioritized[i].unit]); | |
842 | } | |
843 | } else { | |
844 | units = normalizeUnits(units); | |
845 | if (isFunction(this[units])) { | |
846 | return this[units](value); | |
847 | } | |
848 | } | |
849 | return this; | |
850 | } | |
851 | ||
852 | function mod(n, x) { | |
853 | return ((n % x) + x) % x; | |
854 | } | |
855 | ||
779 | 856 | var indexOf; |
780 | 857 | |
781 | 858 | if (Array.prototype.indexOf) { |
793 | 870 | }; |
794 | 871 | } |
795 | 872 | |
796 | var indexOf$1 = indexOf; | |
797 | ||
798 | 873 | function daysInMonth(year, month) { |
799 | return new Date(Date.UTC(year, month + 1, 0)).getUTCDate(); | |
874 | if (isNaN(year) || isNaN(month)) { | |
875 | return NaN; | |
876 | } | |
877 | var modMonth = mod(month, 12); | |
878 | year += (month - modMonth) / 12; | |
879 | return modMonth === 1 ? (isLeapYear(year) ? 29 : 28) : (31 - modMonth % 7 % 2); | |
800 | 880 | } |
801 | 881 | |
802 | 882 | // FORMATTING |
885 | 965 | |
886 | 966 | if (strict) { |
887 | 967 | if (format === 'MMM') { |
888 | ii = indexOf$1.call(this._shortMonthsParse, llc); | |
968 | ii = indexOf.call(this._shortMonthsParse, llc); | |
889 | 969 | return ii !== -1 ? ii : null; |
890 | 970 | } else { |
891 | ii = indexOf$1.call(this._longMonthsParse, llc); | |
971 | ii = indexOf.call(this._longMonthsParse, llc); | |
892 | 972 | return ii !== -1 ? ii : null; |
893 | 973 | } |
894 | 974 | } else { |
895 | 975 | if (format === 'MMM') { |
896 | ii = indexOf$1.call(this._shortMonthsParse, llc); | |
976 | ii = indexOf.call(this._shortMonthsParse, llc); | |
897 | 977 | if (ii !== -1) { |
898 | 978 | return ii; |
899 | 979 | } |
900 | ii = indexOf$1.call(this._longMonthsParse, llc); | |
980 | ii = indexOf.call(this._longMonthsParse, llc); | |
901 | 981 | return ii !== -1 ? ii : null; |
902 | 982 | } else { |
903 | ii = indexOf$1.call(this._longMonthsParse, llc); | |
983 | ii = indexOf.call(this._longMonthsParse, llc); | |
904 | 984 | if (ii !== -1) { |
905 | 985 | return ii; |
906 | 986 | } |
907 | ii = indexOf$1.call(this._shortMonthsParse, llc); | |
987 | ii = indexOf.call(this._shortMonthsParse, llc); | |
908 | 988 | return ii !== -1 ? ii : null; |
909 | 989 | } |
910 | 990 | } |
1063 | 1143 | this._monthsShortStrictRegex = new RegExp('^(' + shortPieces.join('|') + ')', 'i'); |
1064 | 1144 | } |
1065 | 1145 | |
1066 | // FORMATTING | |
1067 | ||
1068 | addFormatToken('Y', 0, 0, function () { | |
1069 | var y = this.year(); | |
1070 | return y <= 9999 ? '' + y : '+' + y; | |
1071 | }); | |
1072 | ||
1073 | addFormatToken(0, ['YY', 2], 0, function () { | |
1074 | return this.year() % 100; | |
1075 | }); | |
1076 | ||
1077 | addFormatToken(0, ['YYYY', 4], 0, 'year'); | |
1078 | addFormatToken(0, ['YYYYY', 5], 0, 'year'); | |
1079 | addFormatToken(0, ['YYYYYY', 6, true], 0, 'year'); | |
1080 | ||
1081 | // ALIASES | |
1082 | ||
1083 | addUnitAlias('year', 'y'); | |
1084 | ||
1085 | // PRIORITIES | |
1086 | ||
1087 | addUnitPriority('year', 1); | |
1088 | ||
1089 | // PARSING | |
1090 | ||
1091 | addRegexToken('Y', matchSigned); | |
1092 | addRegexToken('YY', match1to2, match2); | |
1093 | addRegexToken('YYYY', match1to4, match4); | |
1094 | addRegexToken('YYYYY', match1to6, match6); | |
1095 | addRegexToken('YYYYYY', match1to6, match6); | |
1096 | ||
1097 | addParseToken(['YYYYY', 'YYYYYY'], YEAR); | |
1098 | addParseToken('YYYY', function (input, array) { | |
1099 | array[YEAR] = input.length === 2 ? hooks.parseTwoDigitYear(input) : toInt(input); | |
1100 | }); | |
1101 | addParseToken('YY', function (input, array) { | |
1102 | array[YEAR] = hooks.parseTwoDigitYear(input); | |
1103 | }); | |
1104 | addParseToken('Y', function (input, array) { | |
1105 | array[YEAR] = parseInt(input, 10); | |
1106 | }); | |
1107 | ||
1108 | // HELPERS | |
1109 | ||
1110 | function daysInYear(year) { | |
1111 | return isLeapYear(year) ? 366 : 365; | |
1112 | } | |
1113 | ||
1114 | function isLeapYear(year) { | |
1115 | return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0; | |
1116 | } | |
1117 | ||
1118 | // HOOKS | |
1119 | ||
1120 | hooks.parseTwoDigitYear = function (input) { | |
1121 | return toInt(input) + (toInt(input) > 68 ? 1900 : 2000); | |
1122 | }; | |
1123 | ||
1124 | // MOMENTS | |
1125 | ||
1126 | var getSetYear = makeGetSet('FullYear', true); | |
1127 | ||
1128 | function getIsLeapYear () { | |
1129 | return isLeapYear(this.year()); | |
1130 | } | |
1131 | ||
1132 | 1146 | function createDate (y, m, d, h, M, s, ms) { |
1133 | 1147 | // can't just apply() to create a date: |
1134 | 1148 | // https://stackoverflow.com/q/181348 |
1396 | 1410 | |
1397 | 1411 | if (strict) { |
1398 | 1412 | if (format === 'dddd') { |
1399 | ii = indexOf$1.call(this._weekdaysParse, llc); | |
1413 | ii = indexOf.call(this._weekdaysParse, llc); | |
1400 | 1414 | return ii !== -1 ? ii : null; |
1401 | 1415 | } else if (format === 'ddd') { |
1402 | ii = indexOf$1.call(this._shortWeekdaysParse, llc); | |
1416 | ii = indexOf.call(this._shortWeekdaysParse, llc); | |
1403 | 1417 | return ii !== -1 ? ii : null; |
1404 | 1418 | } else { |
1405 | ii = indexOf$1.call(this._minWeekdaysParse, llc); | |
1419 | ii = indexOf.call(this._minWeekdaysParse, llc); | |
1406 | 1420 | return ii !== -1 ? ii : null; |
1407 | 1421 | } |
1408 | 1422 | } else { |
1409 | 1423 | if (format === 'dddd') { |
1410 | ii = indexOf$1.call(this._weekdaysParse, llc); | |
1424 | ii = indexOf.call(this._weekdaysParse, llc); | |
1411 | 1425 | if (ii !== -1) { |
1412 | 1426 | return ii; |
1413 | 1427 | } |
1414 | ii = indexOf$1.call(this._shortWeekdaysParse, llc); | |
1428 | ii = indexOf.call(this._shortWeekdaysParse, llc); | |
1415 | 1429 | if (ii !== -1) { |
1416 | 1430 | return ii; |
1417 | 1431 | } |
1418 | ii = indexOf$1.call(this._minWeekdaysParse, llc); | |
1432 | ii = indexOf.call(this._minWeekdaysParse, llc); | |
1419 | 1433 | return ii !== -1 ? ii : null; |
1420 | 1434 | } else if (format === 'ddd') { |
1421 | ii = indexOf$1.call(this._shortWeekdaysParse, llc); | |
1435 | ii = indexOf.call(this._shortWeekdaysParse, llc); | |
1422 | 1436 | if (ii !== -1) { |
1423 | 1437 | return ii; |
1424 | 1438 | } |
1425 | ii = indexOf$1.call(this._weekdaysParse, llc); | |
1439 | ii = indexOf.call(this._weekdaysParse, llc); | |
1426 | 1440 | if (ii !== -1) { |
1427 | 1441 | return ii; |
1428 | 1442 | } |
1429 | ii = indexOf$1.call(this._minWeekdaysParse, llc); | |
1443 | ii = indexOf.call(this._minWeekdaysParse, llc); | |
1430 | 1444 | return ii !== -1 ? ii : null; |
1431 | 1445 | } else { |
1432 | ii = indexOf$1.call(this._minWeekdaysParse, llc); | |
1446 | ii = indexOf.call(this._minWeekdaysParse, llc); | |
1433 | 1447 | if (ii !== -1) { |
1434 | 1448 | return ii; |
1435 | 1449 | } |
1436 | ii = indexOf$1.call(this._weekdaysParse, llc); | |
1450 | ii = indexOf.call(this._weekdaysParse, llc); | |
1437 | 1451 | if (ii !== -1) { |
1438 | 1452 | return ii; |
1439 | 1453 | } |
1440 | ii = indexOf$1.call(this._shortWeekdaysParse, llc); | |
1454 | ii = indexOf.call(this._shortWeekdaysParse, llc); | |
1441 | 1455 | return ii !== -1 ? ii : null; |
1442 | 1456 | } |
1443 | 1457 | } |
1821 | 1835 | |
1822 | 1836 | function loadLocale(name) { |
1823 | 1837 | var oldLocale = null; |
1838 | ||
1824 | 1839 | // TODO: Find a better way to register and load all the locales in Node |
1825 | 1840 | if (!locales[name] && (typeof module !== 'undefined') && |
1826 | 1841 | module && module.exports) { |
1842 | oldLocale = globalLocale._abbr; | |
1827 | 1843 | try { |
1828 | oldLocale = globalLocale._abbr; | |
1829 | require('./locale/' + name); | |
1830 | // because defineLocale currently also sets the global locale, we | |
1831 | // want to undo that for lazy loaded locales | |
1832 | getSetGlobalLocale(oldLocale); | |
1833 | } catch (e) { } | |
1844 | // workaround for React Native 0.49+ | |
1845 | var pretendingNotToRequireV1 = require; | |
1846 | pretendingNotToRequireV1('moment/locale/' + name); | |
1847 | } catch (e) { | |
1848 | // In the test environment, the external module 'moment' | |
1849 | // can't be resolved because we're running inside it. | |
1850 | // Fallback to using the old relative import | |
1851 | try { | |
1852 | var pretendingNotToRequireV2 = require; | |
1853 | pretendingNotToRequireV2('./locale/' + name); | |
1854 | } catch (e) { } | |
1855 | } | |
1856 | ||
1857 | // because defineLocale currently also sets the global locale, we | |
1858 | // want to undo that for lazy loaded locales | |
1859 | getSetGlobalLocale(oldLocale); | |
1834 | 1860 | } |
1835 | 1861 | return locales[name]; |
1836 | 1862 | } |
1956 | 1982 | } |
1957 | 1983 | |
1958 | 1984 | function listLocales() { |
1959 | return keys$1(locales); | |
1985 | return keys(locales); | |
1960 | 1986 | } |
1961 | 1987 | |
1962 | 1988 | function checkOverflow (m) { |
1989 | 2015 | return m; |
1990 | 2016 | } |
1991 | 2017 | |
1992 | // iso 8601 regex | |
1993 | // 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) | |
1994 | var extendedIsoRegex = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/; | |
1995 | var basicIsoRegex = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/; | |
1996 | ||
1997 | var tzRegex = /Z|[+-]\d\d(?::?\d\d)?/; | |
1998 | ||
1999 | var isoDates = [ | |
2000 | ['YYYYYY-MM-DD', /[+-]\d{6}-\d\d-\d\d/], | |
2001 | ['YYYY-MM-DD', /\d{4}-\d\d-\d\d/], | |
2002 | ['GGGG-[W]WW-E', /\d{4}-W\d\d-\d/], | |
2003 | ['GGGG-[W]WW', /\d{4}-W\d\d/, false], | |
2004 | ['YYYY-DDD', /\d{4}-\d{3}/], | |
2005 | ['YYYY-MM', /\d{4}-\d\d/, false], | |
2006 | ['YYYYYYMMDD', /[+-]\d{10}/], | |
2007 | ['YYYYMMDD', /\d{8}/], | |
2008 | // YYYYMM is NOT allowed by the standard | |
2009 | ['GGGG[W]WWE', /\d{4}W\d{3}/], | |
2010 | ['GGGG[W]WW', /\d{4}W\d{2}/, false], | |
2011 | ['YYYYDDD', /\d{7}/] | |
2012 | ]; | |
2013 | ||
2014 | // iso time formats and regexes | |
2015 | var isoTimes = [ | |
2016 | ['HH:mm:ss.SSSS', /\d\d:\d\d:\d\d\.\d+/], | |
2017 | ['HH:mm:ss,SSSS', /\d\d:\d\d:\d\d,\d+/], | |
2018 | ['HH:mm:ss', /\d\d:\d\d:\d\d/], | |
2019 | ['HH:mm', /\d\d:\d\d/], | |
2020 | ['HHmmss.SSSS', /\d\d\d\d\d\d\.\d+/], | |
2021 | ['HHmmss,SSSS', /\d\d\d\d\d\d,\d+/], | |
2022 | ['HHmmss', /\d\d\d\d\d\d/], | |
2023 | ['HHmm', /\d\d\d\d/], | |
2024 | ['HH', /\d\d/] | |
2025 | ]; | |
2026 | ||
2027 | var aspNetJsonRegex = /^\/?Date\((\-?\d+)/i; | |
2028 | ||
2029 | // date from iso format | |
2030 | function configFromISO(config) { | |
2031 | var i, l, | |
2032 | string = config._i, | |
2033 | match = extendedIsoRegex.exec(string) || basicIsoRegex.exec(string), | |
2034 | allowTime, dateFormat, timeFormat, tzFormat; | |
2035 | ||
2036 | if (match) { | |
2037 | getParsingFlags(config).iso = true; | |
2038 | ||
2039 | for (i = 0, l = isoDates.length; i < l; i++) { | |
2040 | if (isoDates[i][1].exec(match[1])) { | |
2041 | dateFormat = isoDates[i][0]; | |
2042 | allowTime = isoDates[i][2] !== false; | |
2043 | break; | |
2044 | } | |
2045 | } | |
2046 | if (dateFormat == null) { | |
2047 | config._isValid = false; | |
2048 | return; | |
2049 | } | |
2050 | if (match[3]) { | |
2051 | for (i = 0, l = isoTimes.length; i < l; i++) { | |
2052 | if (isoTimes[i][1].exec(match[3])) { | |
2053 | // match[2] should be 'T' or space | |
2054 | timeFormat = (match[2] || ' ') + isoTimes[i][0]; | |
2055 | break; | |
2056 | } | |
2057 | } | |
2058 | if (timeFormat == null) { | |
2059 | config._isValid = false; | |
2060 | return; | |
2061 | } | |
2062 | } | |
2063 | if (!allowTime && timeFormat != null) { | |
2064 | config._isValid = false; | |
2065 | return; | |
2066 | } | |
2067 | if (match[4]) { | |
2068 | if (tzRegex.exec(match[4])) { | |
2069 | tzFormat = 'Z'; | |
2070 | } else { | |
2071 | config._isValid = false; | |
2072 | return; | |
2073 | } | |
2074 | } | |
2075 | config._f = dateFormat + (timeFormat || '') + (tzFormat || ''); | |
2076 | configFromStringAndFormat(config); | |
2077 | } else { | |
2078 | config._isValid = false; | |
2079 | } | |
2080 | } | |
2081 | ||
2082 | // RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3 | |
2083 | var basicRfcRegex = /^((?:Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d?\d\s(?:Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(?:\d\d)?\d\d\s)(\d\d:\d\d)(\:\d\d)?(\s(?:UT|GMT|[ECMP][SD]T|[A-IK-Za-ik-z]|[+-]\d{4}))$/; | |
2084 | ||
2085 | // date and time from ref 2822 format | |
2086 | function configFromRFC2822(config) { | |
2087 | var string, match, dayFormat, | |
2088 | dateFormat, timeFormat, tzFormat; | |
2089 | var timezones = { | |
2090 | ' GMT': ' +0000', | |
2091 | ' EDT': ' -0400', | |
2092 | ' EST': ' -0500', | |
2093 | ' CDT': ' -0500', | |
2094 | ' CST': ' -0600', | |
2095 | ' MDT': ' -0600', | |
2096 | ' MST': ' -0700', | |
2097 | ' PDT': ' -0700', | |
2098 | ' PST': ' -0800' | |
2099 | }; | |
2100 | var military = 'YXWVUTSRQPONZABCDEFGHIKLM'; | |
2101 | var timezone, timezoneIndex; | |
2102 | ||
2103 | string = config._i | |
2104 | .replace(/\([^\)]*\)|[\n\t]/g, ' ') // Remove comments and folding whitespace | |
2105 | .replace(/(\s\s+)/g, ' ') // Replace multiple-spaces with a single space | |
2106 | .replace(/^\s|\s$/g, ''); // Remove leading and trailing spaces | |
2107 | match = basicRfcRegex.exec(string); | |
2108 | ||
2109 | if (match) { | |
2110 | dayFormat = match[1] ? 'ddd' + ((match[1].length === 5) ? ', ' : ' ') : ''; | |
2111 | dateFormat = 'D MMM ' + ((match[2].length > 10) ? 'YYYY ' : 'YY '); | |
2112 | timeFormat = 'HH:mm' + (match[4] ? ':ss' : ''); | |
2113 | ||
2114 | // TODO: Replace the vanilla JS Date object with an indepentent day-of-week check. | |
2115 | if (match[1]) { // day of week given | |
2116 | var momentDate = new Date(match[2]); | |
2117 | var momentDay = ['Sun','Mon','Tue','Wed','Thu','Fri','Sat'][momentDate.getDay()]; | |
2118 | ||
2119 | if (match[1].substr(0,3) !== momentDay) { | |
2120 | getParsingFlags(config).weekdayMismatch = true; | |
2121 | config._isValid = false; | |
2122 | return; | |
2123 | } | |
2124 | } | |
2125 | ||
2126 | switch (match[5].length) { | |
2127 | case 2: // military | |
2128 | if (timezoneIndex === 0) { | |
2129 | timezone = ' +0000'; | |
2130 | } else { | |
2131 | timezoneIndex = military.indexOf(match[5][1].toUpperCase()) - 12; | |
2132 | timezone = ((timezoneIndex < 0) ? ' -' : ' +') + | |
2133 | (('' + timezoneIndex).replace(/^-?/, '0')).match(/..$/)[0] + '00'; | |
2134 | } | |
2135 | break; | |
2136 | case 4: // Zone | |
2137 | timezone = timezones[match[5]]; | |
2138 | break; | |
2139 | default: // UT or +/-9999 | |
2140 | timezone = timezones[' GMT']; | |
2141 | } | |
2142 | match[5] = timezone; | |
2143 | config._i = match.splice(1).join(''); | |
2144 | tzFormat = ' ZZ'; | |
2145 | config._f = dayFormat + dateFormat + timeFormat + tzFormat; | |
2146 | configFromStringAndFormat(config); | |
2147 | getParsingFlags(config).rfc2822 = true; | |
2148 | } else { | |
2149 | config._isValid = false; | |
2150 | } | |
2151 | } | |
2152 | ||
2153 | // date from iso format or fallback | |
2154 | function configFromString(config) { | |
2155 | var matched = aspNetJsonRegex.exec(config._i); | |
2156 | ||
2157 | if (matched !== null) { | |
2158 | config._d = new Date(+matched[1]); | |
2159 | return; | |
2160 | } | |
2161 | ||
2162 | configFromISO(config); | |
2163 | if (config._isValid === false) { | |
2164 | delete config._isValid; | |
2165 | } else { | |
2166 | return; | |
2167 | } | |
2168 | ||
2169 | configFromRFC2822(config); | |
2170 | if (config._isValid === false) { | |
2171 | delete config._isValid; | |
2172 | } else { | |
2173 | return; | |
2174 | } | |
2175 | ||
2176 | // Final attempt, use Input Fallback | |
2177 | hooks.createFromInputFallback(config); | |
2178 | } | |
2179 | ||
2180 | hooks.createFromInputFallback = deprecate( | |
2181 | 'value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), ' + | |
2182 | 'which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are ' + | |
2183 | 'discouraged and will be removed in an upcoming major release. Please refer to ' + | |
2184 | 'http://momentjs.com/guides/#/warnings/js-date/ for more info.', | |
2185 | function (config) { | |
2186 | config._d = new Date(config._i + (config._useUTC ? ' UTC' : '')); | |
2187 | } | |
2188 | ); | |
2189 | ||
2190 | 2018 | // Pick the first defined of two or three arguments. |
2191 | 2019 | function defaults(a, b, c) { |
2192 | 2020 | if (a != null) { |
2270 | 2098 | |
2271 | 2099 | if (config._nextDay) { |
2272 | 2100 | config._a[HOUR] = 24; |
2101 | } | |
2102 | ||
2103 | // check for mismatching day of week | |
2104 | if (config._w && typeof config._w.d !== 'undefined' && config._w.d !== config._d.getDay()) { | |
2105 | getParsingFlags(config).weekdayMismatch = true; | |
2273 | 2106 | } |
2274 | 2107 | } |
2275 | 2108 | |
2329 | 2162 | config._dayOfYear = temp.dayOfYear; |
2330 | 2163 | } |
2331 | 2164 | } |
2165 | ||
2166 | // iso 8601 regex | |
2167 | // 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) | |
2168 | var extendedIsoRegex = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/; | |
2169 | var basicIsoRegex = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/; | |
2170 | ||
2171 | var tzRegex = /Z|[+-]\d\d(?::?\d\d)?/; | |
2172 | ||
2173 | var isoDates = [ | |
2174 | ['YYYYYY-MM-DD', /[+-]\d{6}-\d\d-\d\d/], | |
2175 | ['YYYY-MM-DD', /\d{4}-\d\d-\d\d/], | |
2176 | ['GGGG-[W]WW-E', /\d{4}-W\d\d-\d/], | |
2177 | ['GGGG-[W]WW', /\d{4}-W\d\d/, false], | |
2178 | ['YYYY-DDD', /\d{4}-\d{3}/], | |
2179 | ['YYYY-MM', /\d{4}-\d\d/, false], | |
2180 | ['YYYYYYMMDD', /[+-]\d{10}/], | |
2181 | ['YYYYMMDD', /\d{8}/], | |
2182 | // YYYYMM is NOT allowed by the standard | |
2183 | ['GGGG[W]WWE', /\d{4}W\d{3}/], | |
2184 | ['GGGG[W]WW', /\d{4}W\d{2}/, false], | |
2185 | ['YYYYDDD', /\d{7}/] | |
2186 | ]; | |
2187 | ||
2188 | // iso time formats and regexes | |
2189 | var isoTimes = [ | |
2190 | ['HH:mm:ss.SSSS', /\d\d:\d\d:\d\d\.\d+/], | |
2191 | ['HH:mm:ss,SSSS', /\d\d:\d\d:\d\d,\d+/], | |
2192 | ['HH:mm:ss', /\d\d:\d\d:\d\d/], | |
2193 | ['HH:mm', /\d\d:\d\d/], | |
2194 | ['HHmmss.SSSS', /\d\d\d\d\d\d\.\d+/], | |
2195 | ['HHmmss,SSSS', /\d\d\d\d\d\d,\d+/], | |
2196 | ['HHmmss', /\d\d\d\d\d\d/], | |
2197 | ['HHmm', /\d\d\d\d/], | |
2198 | ['HH', /\d\d/] | |
2199 | ]; | |
2200 | ||
2201 | var aspNetJsonRegex = /^\/?Date\((\-?\d+)/i; | |
2202 | ||
2203 | // date from iso format | |
2204 | function configFromISO(config) { | |
2205 | var i, l, | |
2206 | string = config._i, | |
2207 | match = extendedIsoRegex.exec(string) || basicIsoRegex.exec(string), | |
2208 | allowTime, dateFormat, timeFormat, tzFormat; | |
2209 | ||
2210 | if (match) { | |
2211 | getParsingFlags(config).iso = true; | |
2212 | ||
2213 | for (i = 0, l = isoDates.length; i < l; i++) { | |
2214 | if (isoDates[i][1].exec(match[1])) { | |
2215 | dateFormat = isoDates[i][0]; | |
2216 | allowTime = isoDates[i][2] !== false; | |
2217 | break; | |
2218 | } | |
2219 | } | |
2220 | if (dateFormat == null) { | |
2221 | config._isValid = false; | |
2222 | return; | |
2223 | } | |
2224 | if (match[3]) { | |
2225 | for (i = 0, l = isoTimes.length; i < l; i++) { | |
2226 | if (isoTimes[i][1].exec(match[3])) { | |
2227 | // match[2] should be 'T' or space | |
2228 | timeFormat = (match[2] || ' ') + isoTimes[i][0]; | |
2229 | break; | |
2230 | } | |
2231 | } | |
2232 | if (timeFormat == null) { | |
2233 | config._isValid = false; | |
2234 | return; | |
2235 | } | |
2236 | } | |
2237 | if (!allowTime && timeFormat != null) { | |
2238 | config._isValid = false; | |
2239 | return; | |
2240 | } | |
2241 | if (match[4]) { | |
2242 | if (tzRegex.exec(match[4])) { | |
2243 | tzFormat = 'Z'; | |
2244 | } else { | |
2245 | config._isValid = false; | |
2246 | return; | |
2247 | } | |
2248 | } | |
2249 | config._f = dateFormat + (timeFormat || '') + (tzFormat || ''); | |
2250 | configFromStringAndFormat(config); | |
2251 | } else { | |
2252 | config._isValid = false; | |
2253 | } | |
2254 | } | |
2255 | ||
2256 | // RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3 | |
2257 | var rfc2822 = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/; | |
2258 | ||
2259 | function extractFromRFC2822Strings(yearStr, monthStr, dayStr, hourStr, minuteStr, secondStr) { | |
2260 | var result = [ | |
2261 | untruncateYear(yearStr), | |
2262 | defaultLocaleMonthsShort.indexOf(monthStr), | |
2263 | parseInt(dayStr, 10), | |
2264 | parseInt(hourStr, 10), | |
2265 | parseInt(minuteStr, 10) | |
2266 | ]; | |
2267 | ||
2268 | if (secondStr) { | |
2269 | result.push(parseInt(secondStr, 10)); | |
2270 | } | |
2271 | ||
2272 | return result; | |
2273 | } | |
2274 | ||
2275 | function untruncateYear(yearStr) { | |
2276 | var year = parseInt(yearStr, 10); | |
2277 | if (year <= 49) { | |
2278 | return 2000 + year; | |
2279 | } else if (year <= 999) { | |
2280 | return 1900 + year; | |
2281 | } | |
2282 | return year; | |
2283 | } | |
2284 | ||
2285 | function preprocessRFC2822(s) { | |
2286 | // Remove comments and folding whitespace and replace multiple-spaces with a single space | |
2287 | return s.replace(/\([^)]*\)|[\n\t]/g, ' ').replace(/(\s\s+)/g, ' ').trim(); | |
2288 | } | |
2289 | ||
2290 | function checkWeekday(weekdayStr, parsedInput, config) { | |
2291 | if (weekdayStr) { | |
2292 | // TODO: Replace the vanilla JS Date object with an indepentent day-of-week check. | |
2293 | var weekdayProvided = defaultLocaleWeekdaysShort.indexOf(weekdayStr), | |
2294 | weekdayActual = new Date(parsedInput[0], parsedInput[1], parsedInput[2]).getDay(); | |
2295 | if (weekdayProvided !== weekdayActual) { | |
2296 | getParsingFlags(config).weekdayMismatch = true; | |
2297 | config._isValid = false; | |
2298 | return false; | |
2299 | } | |
2300 | } | |
2301 | return true; | |
2302 | } | |
2303 | ||
2304 | var obsOffsets = { | |
2305 | UT: 0, | |
2306 | GMT: 0, | |
2307 | EDT: -4 * 60, | |
2308 | EST: -5 * 60, | |
2309 | CDT: -5 * 60, | |
2310 | CST: -6 * 60, | |
2311 | MDT: -6 * 60, | |
2312 | MST: -7 * 60, | |
2313 | PDT: -7 * 60, | |
2314 | PST: -8 * 60 | |
2315 | }; | |
2316 | ||
2317 | function calculateOffset(obsOffset, militaryOffset, numOffset) { | |
2318 | if (obsOffset) { | |
2319 | return obsOffsets[obsOffset]; | |
2320 | } else if (militaryOffset) { | |
2321 | // the only allowed military tz is Z | |
2322 | return 0; | |
2323 | } else { | |
2324 | var hm = parseInt(numOffset, 10); | |
2325 | var m = hm % 100, h = (hm - m) / 100; | |
2326 | return h * 60 + m; | |
2327 | } | |
2328 | } | |
2329 | ||
2330 | // date and time from ref 2822 format | |
2331 | function configFromRFC2822(config) { | |
2332 | var match = rfc2822.exec(preprocessRFC2822(config._i)); | |
2333 | if (match) { | |
2334 | var parsedArray = extractFromRFC2822Strings(match[4], match[3], match[2], match[5], match[6], match[7]); | |
2335 | if (!checkWeekday(match[1], parsedArray, config)) { | |
2336 | return; | |
2337 | } | |
2338 | ||
2339 | config._a = parsedArray; | |
2340 | config._tzm = calculateOffset(match[8], match[9], match[10]); | |
2341 | ||
2342 | config._d = createUTCDate.apply(null, config._a); | |
2343 | config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm); | |
2344 | ||
2345 | getParsingFlags(config).rfc2822 = true; | |
2346 | } else { | |
2347 | config._isValid = false; | |
2348 | } | |
2349 | } | |
2350 | ||
2351 | // date from iso format or fallback | |
2352 | function configFromString(config) { | |
2353 | var matched = aspNetJsonRegex.exec(config._i); | |
2354 | ||
2355 | if (matched !== null) { | |
2356 | config._d = new Date(+matched[1]); | |
2357 | return; | |
2358 | } | |
2359 | ||
2360 | configFromISO(config); | |
2361 | if (config._isValid === false) { | |
2362 | delete config._isValid; | |
2363 | } else { | |
2364 | return; | |
2365 | } | |
2366 | ||
2367 | configFromRFC2822(config); | |
2368 | if (config._isValid === false) { | |
2369 | delete config._isValid; | |
2370 | } else { | |
2371 | return; | |
2372 | } | |
2373 | ||
2374 | // Final attempt, use Input Fallback | |
2375 | hooks.createFromInputFallback(config); | |
2376 | } | |
2377 | ||
2378 | hooks.createFromInputFallback = deprecate( | |
2379 | 'value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), ' + | |
2380 | 'which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are ' + | |
2381 | 'discouraged and will be removed in an upcoming major release. Please refer to ' + | |
2382 | 'http://momentjs.com/guides/#/warnings/js-date/ for more info.', | |
2383 | function (config) { | |
2384 | config._d = new Date(config._i + (config._useUTC ? ' UTC' : '')); | |
2385 | } | |
2386 | ); | |
2332 | 2387 | |
2333 | 2388 | // constant that refers to the ISO standard |
2334 | 2389 | hooks.ISO_8601 = function () {}; |
2654 | 2709 | |
2655 | 2710 | function isDurationValid(m) { |
2656 | 2711 | for (var key in m) { |
2657 | if (!(ordering.indexOf(key) !== -1 && (m[key] == null || !isNaN(m[key])))) { | |
2712 | if (!(indexOf.call(ordering, key) !== -1 && (m[key] == null || !isNaN(m[key])))) { | |
2658 | 2713 | return false; |
2659 | 2714 | } |
2660 | 2715 | } |
2705 | 2760 | // day when working around DST, we need to store them separately |
2706 | 2761 | this._days = +days + |
2707 | 2762 | weeks * 7; |
2708 | // It is impossible translate months into days without knowing | |
2763 | // It is impossible to translate months into days without knowing | |
2709 | 2764 | // which months you are are talking about, so we have to store |
2710 | 2765 | // it separately. |
2711 | 2766 | this._months = +months + |
2952 | 3007 | } |
2953 | 3008 | |
2954 | 3009 | // ASP.NET json date format regex |
2955 | var aspNetRegex = /^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/; | |
3010 | var aspNetRegex = /^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/; | |
2956 | 3011 | |
2957 | 3012 | // from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html |
2958 | 3013 | // somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere |
2959 | 3014 | // and further modified to allow for strings containing both week and day |
2960 | var isoRegex = /^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/; | |
3015 | var isoRegex = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/; | |
2961 | 3016 | |
2962 | 3017 | function createDuration (input, key) { |
2963 | 3018 | var duration = input, |
2991 | 3046 | ms : toInt(absRound(match[MILLISECOND] * 1000)) * sign // the millisecond decimal point is included in the match |
2992 | 3047 | }; |
2993 | 3048 | } else if (!!(match = isoRegex.exec(input))) { |
2994 | sign = (match[1] === '-') ? -1 : 1; | |
3049 | sign = (match[1] === '-') ? -1 : (match[1] === '+') ? 1 : 1; | |
2995 | 3050 | duration = { |
2996 | 3051 | y : parseIso(match[2], sign), |
2997 | 3052 | M : parseIso(match[3], sign), |
3094 | 3149 | |
3095 | 3150 | updateOffset = updateOffset == null ? true : updateOffset; |
3096 | 3151 | |
3152 | if (months) { | |
3153 | setMonth(mom, get(mom, 'Month') + months * isAdding); | |
3154 | } | |
3155 | if (days) { | |
3156 | set$1(mom, 'Date', get(mom, 'Date') + days * isAdding); | |
3157 | } | |
3097 | 3158 | if (milliseconds) { |
3098 | 3159 | mom._d.setTime(mom._d.valueOf() + milliseconds * isAdding); |
3099 | } | |
3100 | if (days) { | |
3101 | set$1(mom, 'Date', get(mom, 'Date') + days * isAdding); | |
3102 | } | |
3103 | if (months) { | |
3104 | setMonth(mom, get(mom, 'Month') + months * isAdding); | |
3105 | 3160 | } |
3106 | 3161 | if (updateOffset) { |
3107 | 3162 | hooks.updateOffset(mom, days || months); |
3211 | 3266 | |
3212 | 3267 | units = normalizeUnits(units); |
3213 | 3268 | |
3214 | if (units === 'year' || units === 'month' || units === 'quarter') { | |
3215 | output = monthDiff(this, that); | |
3216 | if (units === 'quarter') { | |
3217 | output = output / 3; | |
3218 | } else if (units === 'year') { | |
3219 | output = output / 12; | |
3220 | } | |
3221 | } else { | |
3222 | delta = this - that; | |
3223 | output = units === 'second' ? delta / 1e3 : // 1000 | |
3224 | units === 'minute' ? delta / 6e4 : // 1000 * 60 | |
3225 | units === 'hour' ? delta / 36e5 : // 1000 * 60 * 60 | |
3226 | units === 'day' ? (delta - zoneDelta) / 864e5 : // 1000 * 60 * 60 * 24, negate dst | |
3227 | units === 'week' ? (delta - zoneDelta) / 6048e5 : // 1000 * 60 * 60 * 24 * 7, negate dst | |
3228 | delta; | |
3229 | } | |
3269 | switch (units) { | |
3270 | case 'year': output = monthDiff(this, that) / 12; break; | |
3271 | case 'month': output = monthDiff(this, that); break; | |
3272 | case 'quarter': output = monthDiff(this, that) / 3; break; | |
3273 | case 'second': output = (this - that) / 1e3; break; // 1000 | |
3274 | case 'minute': output = (this - that) / 6e4; break; // 1000 * 60 | |
3275 | case 'hour': output = (this - that) / 36e5; break; // 1000 * 60 * 60 | |
3276 | case 'day': output = (this - that - zoneDelta) / 864e5; break; // 1000 * 60 * 60 * 24, negate dst | |
3277 | case 'week': output = (this - that - zoneDelta) / 6048e5; break; // 1000 * 60 * 60 * 24 * 7, negate dst | |
3278 | default: output = this - that; | |
3279 | } | |
3280 | ||
3230 | 3281 | return asFloat ? output : absFloor(output); |
3231 | 3282 | } |
3232 | 3283 | |
4204 | 4255 | var asMonths = makeAs('M'); |
4205 | 4256 | var asYears = makeAs('y'); |
4206 | 4257 | |
4258 | function clone$1 () { | |
4259 | return createDuration(this); | |
4260 | } | |
4261 | ||
4207 | 4262 | function get$2 (units) { |
4208 | 4263 | units = normalizeUnits(units); |
4209 | 4264 | return this.isValid() ? this[units + 's']() : NaN; |
4313 | 4368 | |
4314 | 4369 | var abs$1 = Math.abs; |
4315 | 4370 | |
4371 | function sign(x) { | |
4372 | return ((x > 0) - (x < 0)) || +x; | |
4373 | } | |
4374 | ||
4316 | 4375 | function toISOString$1() { |
4317 | 4376 | // for ISO strings we do not use the normal bubbling rules: |
4318 | 4377 | // * milliseconds bubble up until they become hours |
4347 | 4406 | var D = days; |
4348 | 4407 | var h = hours; |
4349 | 4408 | var m = minutes; |
4350 | var s = seconds; | |
4409 | var s = seconds ? seconds.toFixed(3).replace(/\.?0+$/, '') : ''; | |
4351 | 4410 | var total = this.asSeconds(); |
4352 | 4411 | |
4353 | 4412 | if (!total) { |
4356 | 4415 | return 'P0D'; |
4357 | 4416 | } |
4358 | 4417 | |
4359 | return (total < 0 ? '-' : '') + | |
4360 | 'P' + | |
4361 | (Y ? Y + 'Y' : '') + | |
4362 | (M ? M + 'M' : '') + | |
4363 | (D ? D + 'D' : '') + | |
4418 | var totalSign = total < 0 ? '-' : ''; | |
4419 | var ymSign = sign(this._months) !== sign(total) ? '-' : ''; | |
4420 | var daysSign = sign(this._days) !== sign(total) ? '-' : ''; | |
4421 | var hmsSign = sign(this._milliseconds) !== sign(total) ? '-' : ''; | |
4422 | ||
4423 | return totalSign + 'P' + | |
4424 | (Y ? ymSign + Y + 'Y' : '') + | |
4425 | (M ? ymSign + M + 'M' : '') + | |
4426 | (D ? daysSign + D + 'D' : '') + | |
4364 | 4427 | ((h || m || s) ? 'T' : '') + |
4365 | (h ? h + 'H' : '') + | |
4366 | (m ? m + 'M' : '') + | |
4367 | (s ? s + 'S' : ''); | |
4428 | (h ? hmsSign + h + 'H' : '') + | |
4429 | (m ? hmsSign + m + 'M' : '') + | |
4430 | (s ? hmsSign + s + 'S' : ''); | |
4368 | 4431 | } |
4369 | 4432 | |
4370 | 4433 | var proto$2 = Duration.prototype; |
4384 | 4447 | proto$2.asYears = asYears; |
4385 | 4448 | proto$2.valueOf = valueOf$1; |
4386 | 4449 | proto$2._bubble = bubble; |
4450 | proto$2.clone = clone$1; | |
4387 | 4451 | proto$2.get = get$2; |
4388 | 4452 | proto$2.milliseconds = milliseconds; |
4389 | 4453 | proto$2.seconds = seconds; |
4425 | 4489 | // Side effect imports |
4426 | 4490 | |
4427 | 4491 | |
4428 | hooks.version = '2.18.1'; | |
4492 | hooks.version = '2.19.0'; | |
4429 | 4493 | |
4430 | 4494 | setHookCallback(createLocal); |
4431 | 4495 | |
4452 | 4516 | hooks.locales = listLocales; |
4453 | 4517 | hooks.weekdaysShort = listWeekdaysShort; |
4454 | 4518 | hooks.normalizeUnits = normalizeUnits; |
4455 | hooks.relativeTimeRounding = getSetRelativeTimeRounding; | |
4519 | hooks.relativeTimeRounding = getSetRelativeTimeRounding; | |
4456 | 4520 | hooks.relativeTimeThreshold = getSetRelativeTimeThreshold; |
4457 | 4521 | hooks.calendarFormat = getCalendarFormat; |
4458 | 4522 | hooks.prototype = proto; |