@bookipi/htmlgenerator 1.1.35-alpha2 → 1.1.35-alpha4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -3006,8 +3006,12 @@ var en = (_deposit_due$terms$pr = {
3006
3006
  details_line_4: "Please accept this proposal and terms of service. This creates a legally binding contract between us. At any time if you have any questions please contact us on the details above. These terms will be effective throughout the period of our engagement and may only be changed by the Parties' agreement in writing.",
3007
3007
  supplier_details: "Supplier Details",
3008
3008
  customer_details: "Customer Details",
3009
- effective_date: "Dated:"
3010
- }, _deposit_due$terms$pr["start_date"] = "Start Date:", _deposit_due$terms$pr["end_date"] = "End Date:", _deposit_due$terms$pr.supplier_empty = "No supplier added yet.", _deposit_due$terms$pr.customer_empty = "No customer added yet.", _deposit_due$terms$pr.kind_regards = "Kind regards", _deposit_due$terms$pr.services_title = "Billing Schedule", _deposit_due$terms$pr["total"] = "Total:", _deposit_due$terms$pr.items_empty = "No services added yet.", _deposit_due$terms$pr.agreement_title = "Terms and Conditions", _deposit_due$terms$pr["signature"] = "Signature", _deposit_due$terms$pr.proposal_id = "Proposal ID:", _deposit_due$terms$pr.client = "Client:", _deposit_due$terms$pr.email_addresses = "Email address:", _deposit_due$terms$pr.ip = "IP:", _deposit_due$terms$pr.time = "Time:", _deposit_due$terms$pr);
3009
+ effective_date: "Dated",
3010
+ supplier_empty: "No supplier added yet.",
3011
+ customer_empty: "No customer added yet.",
3012
+ kind_regards: "Kind regards",
3013
+ services_title: "Billing Schedule"
3014
+ }, _deposit_due$terms$pr["total"] = "Total:", _deposit_due$terms$pr.items_empty = "No services added yet.", _deposit_due$terms$pr.agreement_title = "Terms and Conditions", _deposit_due$terms$pr["signature"] = "Signature", _deposit_due$terms$pr.proposal_id = "Proposal ID:", _deposit_due$terms$pr.client = "Client:", _deposit_due$terms$pr.email_addresses = "Email address:", _deposit_due$terms$pr.ip = "IP:", _deposit_due$terms$pr.time = "Time:", _deposit_due$terms$pr);
3011
3015
 
3012
3016
  function _extends() {
3013
3017
  _extends = Object.assign ? Object.assign.bind() : function (target) {
@@ -11054,6 +11058,1118 @@ var InvoiceCompatHtml = function InvoiceCompatHtml(_ref) {
11054
11058
  });
11055
11059
  };
11056
11060
 
11061
+ var de = createCommonjsModule(function (module, exports) {
11062
+ (function (global, factory) {
11063
+ typeof commonjsRequire === 'function' ? factory(moment) :
11064
+
11065
+ factory(global.moment);
11066
+ }(commonjsGlobal, (function (moment) {
11067
+ //! moment.js locale configuration
11068
+
11069
+ function processRelativeTime(number, withoutSuffix, key, isFuture) {
11070
+ var format = {
11071
+ m: ['eine Minute', 'einer Minute'],
11072
+ h: ['eine Stunde', 'einer Stunde'],
11073
+ d: ['ein Tag', 'einem Tag'],
11074
+ dd: [number + ' Tage', number + ' Tagen'],
11075
+ w: ['eine Woche', 'einer Woche'],
11076
+ M: ['ein Monat', 'einem Monat'],
11077
+ MM: [number + ' Monate', number + ' Monaten'],
11078
+ y: ['ein Jahr', 'einem Jahr'],
11079
+ yy: [number + ' Jahre', number + ' Jahren'],
11080
+ };
11081
+ return withoutSuffix ? format[key][0] : format[key][1];
11082
+ }
11083
+
11084
+ var de = moment.defineLocale('de', {
11085
+ months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split(
11086
+ '_'
11087
+ ),
11088
+ monthsShort:
11089
+ 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'),
11090
+ monthsParseExact: true,
11091
+ weekdays:
11092
+ 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split(
11093
+ '_'
11094
+ ),
11095
+ weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),
11096
+ weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
11097
+ weekdaysParseExact: true,
11098
+ longDateFormat: {
11099
+ LT: 'HH:mm',
11100
+ LTS: 'HH:mm:ss',
11101
+ L: 'DD.MM.YYYY',
11102
+ LL: 'D. MMMM YYYY',
11103
+ LLL: 'D. MMMM YYYY HH:mm',
11104
+ LLLL: 'dddd, D. MMMM YYYY HH:mm',
11105
+ },
11106
+ calendar: {
11107
+ sameDay: '[heute um] LT [Uhr]',
11108
+ sameElse: 'L',
11109
+ nextDay: '[morgen um] LT [Uhr]',
11110
+ nextWeek: 'dddd [um] LT [Uhr]',
11111
+ lastDay: '[gestern um] LT [Uhr]',
11112
+ lastWeek: '[letzten] dddd [um] LT [Uhr]',
11113
+ },
11114
+ relativeTime: {
11115
+ future: 'in %s',
11116
+ past: 'vor %s',
11117
+ s: 'ein paar Sekunden',
11118
+ ss: '%d Sekunden',
11119
+ m: processRelativeTime,
11120
+ mm: '%d Minuten',
11121
+ h: processRelativeTime,
11122
+ hh: '%d Stunden',
11123
+ d: processRelativeTime,
11124
+ dd: processRelativeTime,
11125
+ w: processRelativeTime,
11126
+ ww: '%d Wochen',
11127
+ M: processRelativeTime,
11128
+ MM: processRelativeTime,
11129
+ y: processRelativeTime,
11130
+ yy: processRelativeTime,
11131
+ },
11132
+ dayOfMonthOrdinalParse: /\d{1,2}\./,
11133
+ ordinal: '%d.',
11134
+ week: {
11135
+ dow: 1, // Monday is the first day of the week.
11136
+ doy: 4, // The week that contains Jan 4th is the first week of the year.
11137
+ },
11138
+ });
11139
+
11140
+ return de;
11141
+
11142
+ })));
11143
+ });
11144
+
11145
+ var es = createCommonjsModule(function (module, exports) {
11146
+ (function (global, factory) {
11147
+ typeof commonjsRequire === 'function' ? factory(moment) :
11148
+
11149
+ factory(global.moment);
11150
+ }(commonjsGlobal, (function (moment) {
11151
+ //! moment.js locale configuration
11152
+
11153
+ var monthsShortDot =
11154
+ 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(
11155
+ '_'
11156
+ ),
11157
+ monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),
11158
+ monthsParse = [
11159
+ /^ene/i,
11160
+ /^feb/i,
11161
+ /^mar/i,
11162
+ /^abr/i,
11163
+ /^may/i,
11164
+ /^jun/i,
11165
+ /^jul/i,
11166
+ /^ago/i,
11167
+ /^sep/i,
11168
+ /^oct/i,
11169
+ /^nov/i,
11170
+ /^dic/i,
11171
+ ],
11172
+ monthsRegex =
11173
+ /^(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;
11174
+
11175
+ var es = moment.defineLocale('es', {
11176
+ months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split(
11177
+ '_'
11178
+ ),
11179
+ monthsShort: function (m, format) {
11180
+ if (!m) {
11181
+ return monthsShortDot;
11182
+ } else if (/-MMM-/.test(format)) {
11183
+ return monthsShort[m.month()];
11184
+ } else {
11185
+ return monthsShortDot[m.month()];
11186
+ }
11187
+ },
11188
+ monthsRegex: monthsRegex,
11189
+ monthsShortRegex: monthsRegex,
11190
+ monthsStrictRegex:
11191
+ /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
11192
+ monthsShortStrictRegex:
11193
+ /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
11194
+ monthsParse: monthsParse,
11195
+ longMonthsParse: monthsParse,
11196
+ shortMonthsParse: monthsParse,
11197
+ weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
11198
+ weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
11199
+ weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
11200
+ weekdaysParseExact: true,
11201
+ longDateFormat: {
11202
+ LT: 'H:mm',
11203
+ LTS: 'H:mm:ss',
11204
+ L: 'DD/MM/YYYY',
11205
+ LL: 'D [de] MMMM [de] YYYY',
11206
+ LLL: 'D [de] MMMM [de] YYYY H:mm',
11207
+ LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm',
11208
+ },
11209
+ calendar: {
11210
+ sameDay: function () {
11211
+ return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
11212
+ },
11213
+ nextDay: function () {
11214
+ return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
11215
+ },
11216
+ nextWeek: function () {
11217
+ return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
11218
+ },
11219
+ lastDay: function () {
11220
+ return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
11221
+ },
11222
+ lastWeek: function () {
11223
+ return (
11224
+ '[el] dddd [pasado a la' +
11225
+ (this.hours() !== 1 ? 's' : '') +
11226
+ '] LT'
11227
+ );
11228
+ },
11229
+ sameElse: 'L',
11230
+ },
11231
+ relativeTime: {
11232
+ future: 'en %s',
11233
+ past: 'hace %s',
11234
+ s: 'unos segundos',
11235
+ ss: '%d segundos',
11236
+ m: 'un minuto',
11237
+ mm: '%d minutos',
11238
+ h: 'una hora',
11239
+ hh: '%d horas',
11240
+ d: 'un día',
11241
+ dd: '%d días',
11242
+ w: 'una semana',
11243
+ ww: '%d semanas',
11244
+ M: 'un mes',
11245
+ MM: '%d meses',
11246
+ y: 'un año',
11247
+ yy: '%d años',
11248
+ },
11249
+ dayOfMonthOrdinalParse: /\d{1,2}º/,
11250
+ ordinal: '%dº',
11251
+ week: {
11252
+ dow: 1, // Monday is the first day of the week.
11253
+ doy: 4, // The week that contains Jan 4th is the first week of the year.
11254
+ },
11255
+ invalidDate: 'Fecha inválida',
11256
+ });
11257
+
11258
+ return es;
11259
+
11260
+ })));
11261
+ });
11262
+
11263
+ var fr = createCommonjsModule(function (module, exports) {
11264
+ (function (global, factory) {
11265
+ typeof commonjsRequire === 'function' ? factory(moment) :
11266
+
11267
+ factory(global.moment);
11268
+ }(commonjsGlobal, (function (moment) {
11269
+ //! moment.js locale configuration
11270
+
11271
+ var monthsStrictRegex =
11272
+ /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,
11273
+ monthsShortStrictRegex =
11274
+ /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,
11275
+ monthsRegex =
11276
+ /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,
11277
+ monthsParse = [
11278
+ /^janv/i,
11279
+ /^févr/i,
11280
+ /^mars/i,
11281
+ /^avr/i,
11282
+ /^mai/i,
11283
+ /^juin/i,
11284
+ /^juil/i,
11285
+ /^août/i,
11286
+ /^sept/i,
11287
+ /^oct/i,
11288
+ /^nov/i,
11289
+ /^déc/i,
11290
+ ];
11291
+
11292
+ var fr = moment.defineLocale('fr', {
11293
+ months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split(
11294
+ '_'
11295
+ ),
11296
+ monthsShort:
11297
+ 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split(
11298
+ '_'
11299
+ ),
11300
+ monthsRegex: monthsRegex,
11301
+ monthsShortRegex: monthsRegex,
11302
+ monthsStrictRegex: monthsStrictRegex,
11303
+ monthsShortStrictRegex: monthsShortStrictRegex,
11304
+ monthsParse: monthsParse,
11305
+ longMonthsParse: monthsParse,
11306
+ shortMonthsParse: monthsParse,
11307
+ weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
11308
+ weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
11309
+ weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),
11310
+ weekdaysParseExact: true,
11311
+ longDateFormat: {
11312
+ LT: 'HH:mm',
11313
+ LTS: 'HH:mm:ss',
11314
+ L: 'DD/MM/YYYY',
11315
+ LL: 'D MMMM YYYY',
11316
+ LLL: 'D MMMM YYYY HH:mm',
11317
+ LLLL: 'dddd D MMMM YYYY HH:mm',
11318
+ },
11319
+ calendar: {
11320
+ sameDay: '[Aujourd’hui à] LT',
11321
+ nextDay: '[Demain à] LT',
11322
+ nextWeek: 'dddd [à] LT',
11323
+ lastDay: '[Hier à] LT',
11324
+ lastWeek: 'dddd [dernier à] LT',
11325
+ sameElse: 'L',
11326
+ },
11327
+ relativeTime: {
11328
+ future: 'dans %s',
11329
+ past: 'il y a %s',
11330
+ s: 'quelques secondes',
11331
+ ss: '%d secondes',
11332
+ m: 'une minute',
11333
+ mm: '%d minutes',
11334
+ h: 'une heure',
11335
+ hh: '%d heures',
11336
+ d: 'un jour',
11337
+ dd: '%d jours',
11338
+ w: 'une semaine',
11339
+ ww: '%d semaines',
11340
+ M: 'un mois',
11341
+ MM: '%d mois',
11342
+ y: 'un an',
11343
+ yy: '%d ans',
11344
+ },
11345
+ dayOfMonthOrdinalParse: /\d{1,2}(er|)/,
11346
+ ordinal: function (number, period) {
11347
+ switch (period) {
11348
+ // TODO: Return 'e' when day of month > 1. Move this case inside
11349
+ // block for masculine words below.
11350
+ // See https://github.com/moment/moment/issues/3375
11351
+ case 'D':
11352
+ return number + (number === 1 ? 'er' : '');
11353
+
11354
+ // Words with masculine grammatical gender: mois, trimestre, jour
11355
+ default:
11356
+ case 'M':
11357
+ case 'Q':
11358
+ case 'DDD':
11359
+ case 'd':
11360
+ return number + (number === 1 ? 'er' : 'e');
11361
+
11362
+ // Words with feminine grammatical gender: semaine
11363
+ case 'w':
11364
+ case 'W':
11365
+ return number + (number === 1 ? 're' : 'e');
11366
+ }
11367
+ },
11368
+ week: {
11369
+ dow: 1, // Monday is the first day of the week.
11370
+ doy: 4, // The week that contains Jan 4th is the first week of the year.
11371
+ },
11372
+ });
11373
+
11374
+ return fr;
11375
+
11376
+ })));
11377
+ });
11378
+
11379
+ var id = createCommonjsModule(function (module, exports) {
11380
+ (function (global, factory) {
11381
+ typeof commonjsRequire === 'function' ? factory(moment) :
11382
+
11383
+ factory(global.moment);
11384
+ }(commonjsGlobal, (function (moment) {
11385
+ //! moment.js locale configuration
11386
+
11387
+ var id = moment.defineLocale('id', {
11388
+ months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember'.split(
11389
+ '_'
11390
+ ),
11391
+ monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des'.split('_'),
11392
+ weekdays: 'Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu'.split('_'),
11393
+ weekdaysShort: 'Min_Sen_Sel_Rab_Kam_Jum_Sab'.split('_'),
11394
+ weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sb'.split('_'),
11395
+ longDateFormat: {
11396
+ LT: 'HH.mm',
11397
+ LTS: 'HH.mm.ss',
11398
+ L: 'DD/MM/YYYY',
11399
+ LL: 'D MMMM YYYY',
11400
+ LLL: 'D MMMM YYYY [pukul] HH.mm',
11401
+ LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm',
11402
+ },
11403
+ meridiemParse: /pagi|siang|sore|malam/,
11404
+ meridiemHour: function (hour, meridiem) {
11405
+ if (hour === 12) {
11406
+ hour = 0;
11407
+ }
11408
+ if (meridiem === 'pagi') {
11409
+ return hour;
11410
+ } else if (meridiem === 'siang') {
11411
+ return hour >= 11 ? hour : hour + 12;
11412
+ } else if (meridiem === 'sore' || meridiem === 'malam') {
11413
+ return hour + 12;
11414
+ }
11415
+ },
11416
+ meridiem: function (hours, minutes, isLower) {
11417
+ if (hours < 11) {
11418
+ return 'pagi';
11419
+ } else if (hours < 15) {
11420
+ return 'siang';
11421
+ } else if (hours < 19) {
11422
+ return 'sore';
11423
+ } else {
11424
+ return 'malam';
11425
+ }
11426
+ },
11427
+ calendar: {
11428
+ sameDay: '[Hari ini pukul] LT',
11429
+ nextDay: '[Besok pukul] LT',
11430
+ nextWeek: 'dddd [pukul] LT',
11431
+ lastDay: '[Kemarin pukul] LT',
11432
+ lastWeek: 'dddd [lalu pukul] LT',
11433
+ sameElse: 'L',
11434
+ },
11435
+ relativeTime: {
11436
+ future: 'dalam %s',
11437
+ past: '%s yang lalu',
11438
+ s: 'beberapa detik',
11439
+ ss: '%d detik',
11440
+ m: 'semenit',
11441
+ mm: '%d menit',
11442
+ h: 'sejam',
11443
+ hh: '%d jam',
11444
+ d: 'sehari',
11445
+ dd: '%d hari',
11446
+ M: 'sebulan',
11447
+ MM: '%d bulan',
11448
+ y: 'setahun',
11449
+ yy: '%d tahun',
11450
+ },
11451
+ week: {
11452
+ dow: 0, // Sunday is the first day of the week.
11453
+ doy: 6, // The week that contains Jan 6th is the first week of the year.
11454
+ },
11455
+ });
11456
+
11457
+ return id;
11458
+
11459
+ })));
11460
+ });
11461
+
11462
+ var it = createCommonjsModule(function (module, exports) {
11463
+ (function (global, factory) {
11464
+ typeof commonjsRequire === 'function' ? factory(moment) :
11465
+
11466
+ factory(global.moment);
11467
+ }(commonjsGlobal, (function (moment) {
11468
+ //! moment.js locale configuration
11469
+
11470
+ var it = moment.defineLocale('it', {
11471
+ months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split(
11472
+ '_'
11473
+ ),
11474
+ monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'),
11475
+ weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split(
11476
+ '_'
11477
+ ),
11478
+ weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'),
11479
+ weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'),
11480
+ longDateFormat: {
11481
+ LT: 'HH:mm',
11482
+ LTS: 'HH:mm:ss',
11483
+ L: 'DD/MM/YYYY',
11484
+ LL: 'D MMMM YYYY',
11485
+ LLL: 'D MMMM YYYY HH:mm',
11486
+ LLLL: 'dddd D MMMM YYYY HH:mm',
11487
+ },
11488
+ calendar: {
11489
+ sameDay: function () {
11490
+ return (
11491
+ '[Oggi a' +
11492
+ (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") +
11493
+ ']LT'
11494
+ );
11495
+ },
11496
+ nextDay: function () {
11497
+ return (
11498
+ '[Domani a' +
11499
+ (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") +
11500
+ ']LT'
11501
+ );
11502
+ },
11503
+ nextWeek: function () {
11504
+ return (
11505
+ 'dddd [a' +
11506
+ (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") +
11507
+ ']LT'
11508
+ );
11509
+ },
11510
+ lastDay: function () {
11511
+ return (
11512
+ '[Ieri a' +
11513
+ (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") +
11514
+ ']LT'
11515
+ );
11516
+ },
11517
+ lastWeek: function () {
11518
+ switch (this.day()) {
11519
+ case 0:
11520
+ return (
11521
+ '[La scorsa] dddd [a' +
11522
+ (this.hours() > 1
11523
+ ? 'lle '
11524
+ : this.hours() === 0
11525
+ ? ' '
11526
+ : "ll'") +
11527
+ ']LT'
11528
+ );
11529
+ default:
11530
+ return (
11531
+ '[Lo scorso] dddd [a' +
11532
+ (this.hours() > 1
11533
+ ? 'lle '
11534
+ : this.hours() === 0
11535
+ ? ' '
11536
+ : "ll'") +
11537
+ ']LT'
11538
+ );
11539
+ }
11540
+ },
11541
+ sameElse: 'L',
11542
+ },
11543
+ relativeTime: {
11544
+ future: 'tra %s',
11545
+ past: '%s fa',
11546
+ s: 'alcuni secondi',
11547
+ ss: '%d secondi',
11548
+ m: 'un minuto',
11549
+ mm: '%d minuti',
11550
+ h: "un'ora",
11551
+ hh: '%d ore',
11552
+ d: 'un giorno',
11553
+ dd: '%d giorni',
11554
+ w: 'una settimana',
11555
+ ww: '%d settimane',
11556
+ M: 'un mese',
11557
+ MM: '%d mesi',
11558
+ y: 'un anno',
11559
+ yy: '%d anni',
11560
+ },
11561
+ dayOfMonthOrdinalParse: /\d{1,2}º/,
11562
+ ordinal: '%dº',
11563
+ week: {
11564
+ dow: 1, // Monday is the first day of the week.
11565
+ doy: 4, // The week that contains Jan 4th is the first week of the year.
11566
+ },
11567
+ });
11568
+
11569
+ return it;
11570
+
11571
+ })));
11572
+ });
11573
+
11574
+ var ko = createCommonjsModule(function (module, exports) {
11575
+ (function (global, factory) {
11576
+ typeof commonjsRequire === 'function' ? factory(moment) :
11577
+
11578
+ factory(global.moment);
11579
+ }(commonjsGlobal, (function (moment) {
11580
+ //! moment.js locale configuration
11581
+
11582
+ var ko = moment.defineLocale('ko', {
11583
+ months: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'),
11584
+ monthsShort: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split(
11585
+ '_'
11586
+ ),
11587
+ weekdays: '일요일_월요일_화요일_수요일_목요일_금요일_토요일'.split('_'),
11588
+ weekdaysShort: '일_월_화_수_목_금_토'.split('_'),
11589
+ weekdaysMin: '일_월_화_수_목_금_토'.split('_'),
11590
+ longDateFormat: {
11591
+ LT: 'A h:mm',
11592
+ LTS: 'A h:mm:ss',
11593
+ L: 'YYYY.MM.DD.',
11594
+ LL: 'YYYY년 MMMM D일',
11595
+ LLL: 'YYYY년 MMMM D일 A h:mm',
11596
+ LLLL: 'YYYY년 MMMM D일 dddd A h:mm',
11597
+ l: 'YYYY.MM.DD.',
11598
+ ll: 'YYYY년 MMMM D일',
11599
+ lll: 'YYYY년 MMMM D일 A h:mm',
11600
+ llll: 'YYYY년 MMMM D일 dddd A h:mm',
11601
+ },
11602
+ calendar: {
11603
+ sameDay: '오늘 LT',
11604
+ nextDay: '내일 LT',
11605
+ nextWeek: 'dddd LT',
11606
+ lastDay: '어제 LT',
11607
+ lastWeek: '지난주 dddd LT',
11608
+ sameElse: 'L',
11609
+ },
11610
+ relativeTime: {
11611
+ future: '%s 후',
11612
+ past: '%s 전',
11613
+ s: '몇 초',
11614
+ ss: '%d초',
11615
+ m: '1분',
11616
+ mm: '%d분',
11617
+ h: '한 시간',
11618
+ hh: '%d시간',
11619
+ d: '하루',
11620
+ dd: '%d일',
11621
+ M: '한 달',
11622
+ MM: '%d달',
11623
+ y: '일 년',
11624
+ yy: '%d년',
11625
+ },
11626
+ dayOfMonthOrdinalParse: /\d{1,2}(일|월|주)/,
11627
+ ordinal: function (number, period) {
11628
+ switch (period) {
11629
+ case 'd':
11630
+ case 'D':
11631
+ case 'DDD':
11632
+ return number + '일';
11633
+ case 'M':
11634
+ return number + '월';
11635
+ case 'w':
11636
+ case 'W':
11637
+ return number + '주';
11638
+ default:
11639
+ return number;
11640
+ }
11641
+ },
11642
+ meridiemParse: /오전|오후/,
11643
+ isPM: function (token) {
11644
+ return token === '오후';
11645
+ },
11646
+ meridiem: function (hour, minute, isUpper) {
11647
+ return hour < 12 ? '오전' : '오후';
11648
+ },
11649
+ });
11650
+
11651
+ return ko;
11652
+
11653
+ })));
11654
+ });
11655
+
11656
+ var pl = createCommonjsModule(function (module, exports) {
11657
+ (function (global, factory) {
11658
+ typeof commonjsRequire === 'function' ? factory(moment) :
11659
+
11660
+ factory(global.moment);
11661
+ }(commonjsGlobal, (function (moment) {
11662
+ //! moment.js locale configuration
11663
+
11664
+ var monthsNominative =
11665
+ 'styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień'.split(
11666
+ '_'
11667
+ ),
11668
+ monthsSubjective =
11669
+ 'stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia'.split(
11670
+ '_'
11671
+ ),
11672
+ monthsParse = [
11673
+ /^sty/i,
11674
+ /^lut/i,
11675
+ /^mar/i,
11676
+ /^kwi/i,
11677
+ /^maj/i,
11678
+ /^cze/i,
11679
+ /^lip/i,
11680
+ /^sie/i,
11681
+ /^wrz/i,
11682
+ /^paź/i,
11683
+ /^lis/i,
11684
+ /^gru/i,
11685
+ ];
11686
+ function plural(n) {
11687
+ return n % 10 < 5 && n % 10 > 1 && ~~(n / 10) % 10 !== 1;
11688
+ }
11689
+ function translate(number, withoutSuffix, key) {
11690
+ var result = number + ' ';
11691
+ switch (key) {
11692
+ case 'ss':
11693
+ return result + (plural(number) ? 'sekundy' : 'sekund');
11694
+ case 'm':
11695
+ return withoutSuffix ? 'minuta' : 'minutę';
11696
+ case 'mm':
11697
+ return result + (plural(number) ? 'minuty' : 'minut');
11698
+ case 'h':
11699
+ return withoutSuffix ? 'godzina' : 'godzinę';
11700
+ case 'hh':
11701
+ return result + (plural(number) ? 'godziny' : 'godzin');
11702
+ case 'ww':
11703
+ return result + (plural(number) ? 'tygodnie' : 'tygodni');
11704
+ case 'MM':
11705
+ return result + (plural(number) ? 'miesiące' : 'miesięcy');
11706
+ case 'yy':
11707
+ return result + (plural(number) ? 'lata' : 'lat');
11708
+ }
11709
+ }
11710
+
11711
+ var pl = moment.defineLocale('pl', {
11712
+ months: function (momentToFormat, format) {
11713
+ if (!momentToFormat) {
11714
+ return monthsNominative;
11715
+ } else if (/D MMMM/.test(format)) {
11716
+ return monthsSubjective[momentToFormat.month()];
11717
+ } else {
11718
+ return monthsNominative[momentToFormat.month()];
11719
+ }
11720
+ },
11721
+ monthsShort: 'sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru'.split('_'),
11722
+ monthsParse: monthsParse,
11723
+ longMonthsParse: monthsParse,
11724
+ shortMonthsParse: monthsParse,
11725
+ weekdays:
11726
+ 'niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota'.split('_'),
11727
+ weekdaysShort: 'ndz_pon_wt_śr_czw_pt_sob'.split('_'),
11728
+ weekdaysMin: 'Nd_Pn_Wt_Śr_Cz_Pt_So'.split('_'),
11729
+ longDateFormat: {
11730
+ LT: 'HH:mm',
11731
+ LTS: 'HH:mm:ss',
11732
+ L: 'DD.MM.YYYY',
11733
+ LL: 'D MMMM YYYY',
11734
+ LLL: 'D MMMM YYYY HH:mm',
11735
+ LLLL: 'dddd, D MMMM YYYY HH:mm',
11736
+ },
11737
+ calendar: {
11738
+ sameDay: '[Dziś o] LT',
11739
+ nextDay: '[Jutro o] LT',
11740
+ nextWeek: function () {
11741
+ switch (this.day()) {
11742
+ case 0:
11743
+ return '[W niedzielę o] LT';
11744
+
11745
+ case 2:
11746
+ return '[We wtorek o] LT';
11747
+
11748
+ case 3:
11749
+ return '[W środę o] LT';
11750
+
11751
+ case 6:
11752
+ return '[W sobotę o] LT';
11753
+
11754
+ default:
11755
+ return '[W] dddd [o] LT';
11756
+ }
11757
+ },
11758
+ lastDay: '[Wczoraj o] LT',
11759
+ lastWeek: function () {
11760
+ switch (this.day()) {
11761
+ case 0:
11762
+ return '[W zeszłą niedzielę o] LT';
11763
+ case 3:
11764
+ return '[W zeszłą środę o] LT';
11765
+ case 6:
11766
+ return '[W zeszłą sobotę o] LT';
11767
+ default:
11768
+ return '[W zeszły] dddd [o] LT';
11769
+ }
11770
+ },
11771
+ sameElse: 'L',
11772
+ },
11773
+ relativeTime: {
11774
+ future: 'za %s',
11775
+ past: '%s temu',
11776
+ s: 'kilka sekund',
11777
+ ss: translate,
11778
+ m: translate,
11779
+ mm: translate,
11780
+ h: translate,
11781
+ hh: translate,
11782
+ d: '1 dzień',
11783
+ dd: '%d dni',
11784
+ w: 'tydzień',
11785
+ ww: translate,
11786
+ M: 'miesiąc',
11787
+ MM: translate,
11788
+ y: 'rok',
11789
+ yy: translate,
11790
+ },
11791
+ dayOfMonthOrdinalParse: /\d{1,2}\./,
11792
+ ordinal: '%d.',
11793
+ week: {
11794
+ dow: 1, // Monday is the first day of the week.
11795
+ doy: 4, // The week that contains Jan 4th is the first week of the year.
11796
+ },
11797
+ });
11798
+
11799
+ return pl;
11800
+
11801
+ })));
11802
+ });
11803
+
11804
+ var pt = createCommonjsModule(function (module, exports) {
11805
+ (function (global, factory) {
11806
+ typeof commonjsRequire === 'function' ? factory(moment) :
11807
+
11808
+ factory(global.moment);
11809
+ }(commonjsGlobal, (function (moment) {
11810
+ //! moment.js locale configuration
11811
+
11812
+ var pt = moment.defineLocale('pt', {
11813
+ months: 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split(
11814
+ '_'
11815
+ ),
11816
+ monthsShort: 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'),
11817
+ weekdays:
11818
+ 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split(
11819
+ '_'
11820
+ ),
11821
+ weekdaysShort: 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'),
11822
+ weekdaysMin: 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'),
11823
+ weekdaysParseExact: true,
11824
+ longDateFormat: {
11825
+ LT: 'HH:mm',
11826
+ LTS: 'HH:mm:ss',
11827
+ L: 'DD/MM/YYYY',
11828
+ LL: 'D [de] MMMM [de] YYYY',
11829
+ LLL: 'D [de] MMMM [de] YYYY HH:mm',
11830
+ LLLL: 'dddd, D [de] MMMM [de] YYYY HH:mm',
11831
+ },
11832
+ calendar: {
11833
+ sameDay: '[Hoje às] LT',
11834
+ nextDay: '[Amanhã às] LT',
11835
+ nextWeek: 'dddd [às] LT',
11836
+ lastDay: '[Ontem às] LT',
11837
+ lastWeek: function () {
11838
+ return this.day() === 0 || this.day() === 6
11839
+ ? '[Último] dddd [às] LT' // Saturday + Sunday
11840
+ : '[Última] dddd [às] LT'; // Monday - Friday
11841
+ },
11842
+ sameElse: 'L',
11843
+ },
11844
+ relativeTime: {
11845
+ future: 'em %s',
11846
+ past: 'há %s',
11847
+ s: 'segundos',
11848
+ ss: '%d segundos',
11849
+ m: 'um minuto',
11850
+ mm: '%d minutos',
11851
+ h: 'uma hora',
11852
+ hh: '%d horas',
11853
+ d: 'um dia',
11854
+ dd: '%d dias',
11855
+ w: 'uma semana',
11856
+ ww: '%d semanas',
11857
+ M: 'um mês',
11858
+ MM: '%d meses',
11859
+ y: 'um ano',
11860
+ yy: '%d anos',
11861
+ },
11862
+ dayOfMonthOrdinalParse: /\d{1,2}º/,
11863
+ ordinal: '%dº',
11864
+ week: {
11865
+ dow: 1, // Monday is the first day of the week.
11866
+ doy: 4, // The week that contains Jan 4th is the first week of the year.
11867
+ },
11868
+ });
11869
+
11870
+ return pt;
11871
+
11872
+ })));
11873
+ });
11874
+
11875
+ var ptBr = createCommonjsModule(function (module, exports) {
11876
+ (function (global, factory) {
11877
+ typeof commonjsRequire === 'function' ? factory(moment) :
11878
+
11879
+ factory(global.moment);
11880
+ }(commonjsGlobal, (function (moment) {
11881
+ //! moment.js locale configuration
11882
+
11883
+ var ptBr = moment.defineLocale('pt-br', {
11884
+ months: 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split(
11885
+ '_'
11886
+ ),
11887
+ monthsShort: 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'),
11888
+ weekdays:
11889
+ 'domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado'.split(
11890
+ '_'
11891
+ ),
11892
+ weekdaysShort: 'dom_seg_ter_qua_qui_sex_sáb'.split('_'),
11893
+ weekdaysMin: 'do_2ª_3ª_4ª_5ª_6ª_sá'.split('_'),
11894
+ weekdaysParseExact: true,
11895
+ longDateFormat: {
11896
+ LT: 'HH:mm',
11897
+ LTS: 'HH:mm:ss',
11898
+ L: 'DD/MM/YYYY',
11899
+ LL: 'D [de] MMMM [de] YYYY',
11900
+ LLL: 'D [de] MMMM [de] YYYY [às] HH:mm',
11901
+ LLLL: 'dddd, D [de] MMMM [de] YYYY [às] HH:mm',
11902
+ },
11903
+ calendar: {
11904
+ sameDay: '[Hoje às] LT',
11905
+ nextDay: '[Amanhã às] LT',
11906
+ nextWeek: 'dddd [às] LT',
11907
+ lastDay: '[Ontem às] LT',
11908
+ lastWeek: function () {
11909
+ return this.day() === 0 || this.day() === 6
11910
+ ? '[Último] dddd [às] LT' // Saturday + Sunday
11911
+ : '[Última] dddd [às] LT'; // Monday - Friday
11912
+ },
11913
+ sameElse: 'L',
11914
+ },
11915
+ relativeTime: {
11916
+ future: 'em %s',
11917
+ past: 'há %s',
11918
+ s: 'poucos segundos',
11919
+ ss: '%d segundos',
11920
+ m: 'um minuto',
11921
+ mm: '%d minutos',
11922
+ h: 'uma hora',
11923
+ hh: '%d horas',
11924
+ d: 'um dia',
11925
+ dd: '%d dias',
11926
+ M: 'um mês',
11927
+ MM: '%d meses',
11928
+ y: 'um ano',
11929
+ yy: '%d anos',
11930
+ },
11931
+ dayOfMonthOrdinalParse: /\d{1,2}º/,
11932
+ ordinal: '%dº',
11933
+ invalidDate: 'Data inválida',
11934
+ });
11935
+
11936
+ return ptBr;
11937
+
11938
+ })));
11939
+ });
11940
+
11941
+ var zhCn = createCommonjsModule(function (module, exports) {
11942
+ (function (global, factory) {
11943
+ typeof commonjsRequire === 'function' ? factory(moment) :
11944
+
11945
+ factory(global.moment);
11946
+ }(commonjsGlobal, (function (moment) {
11947
+ //! moment.js locale configuration
11948
+
11949
+ var zhCn = moment.defineLocale('zh-cn', {
11950
+ months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split(
11951
+ '_'
11952
+ ),
11953
+ monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(
11954
+ '_'
11955
+ ),
11956
+ weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),
11957
+ weekdaysShort: '周日_周一_周二_周三_周四_周五_周六'.split('_'),
11958
+ weekdaysMin: '日_一_二_三_四_五_六'.split('_'),
11959
+ longDateFormat: {
11960
+ LT: 'HH:mm',
11961
+ LTS: 'HH:mm:ss',
11962
+ L: 'YYYY/MM/DD',
11963
+ LL: 'YYYY年M月D日',
11964
+ LLL: 'YYYY年M月D日Ah点mm分',
11965
+ LLLL: 'YYYY年M月D日ddddAh点mm分',
11966
+ l: 'YYYY/M/D',
11967
+ ll: 'YYYY年M月D日',
11968
+ lll: 'YYYY年M月D日 HH:mm',
11969
+ llll: 'YYYY年M月D日dddd HH:mm',
11970
+ },
11971
+ meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
11972
+ meridiemHour: function (hour, meridiem) {
11973
+ if (hour === 12) {
11974
+ hour = 0;
11975
+ }
11976
+ if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {
11977
+ return hour;
11978
+ } else if (meridiem === '下午' || meridiem === '晚上') {
11979
+ return hour + 12;
11980
+ } else {
11981
+ // '中午'
11982
+ return hour >= 11 ? hour : hour + 12;
11983
+ }
11984
+ },
11985
+ meridiem: function (hour, minute, isLower) {
11986
+ var hm = hour * 100 + minute;
11987
+ if (hm < 600) {
11988
+ return '凌晨';
11989
+ } else if (hm < 900) {
11990
+ return '早上';
11991
+ } else if (hm < 1130) {
11992
+ return '上午';
11993
+ } else if (hm < 1230) {
11994
+ return '中午';
11995
+ } else if (hm < 1800) {
11996
+ return '下午';
11997
+ } else {
11998
+ return '晚上';
11999
+ }
12000
+ },
12001
+ calendar: {
12002
+ sameDay: '[今天]LT',
12003
+ nextDay: '[明天]LT',
12004
+ nextWeek: function (now) {
12005
+ if (now.week() !== this.week()) {
12006
+ return '[下]dddLT';
12007
+ } else {
12008
+ return '[本]dddLT';
12009
+ }
12010
+ },
12011
+ lastDay: '[昨天]LT',
12012
+ lastWeek: function (now) {
12013
+ if (this.week() !== now.week()) {
12014
+ return '[上]dddLT';
12015
+ } else {
12016
+ return '[本]dddLT';
12017
+ }
12018
+ },
12019
+ sameElse: 'L',
12020
+ },
12021
+ dayOfMonthOrdinalParse: /\d{1,2}(日|月|周)/,
12022
+ ordinal: function (number, period) {
12023
+ switch (period) {
12024
+ case 'd':
12025
+ case 'D':
12026
+ case 'DDD':
12027
+ return number + '日';
12028
+ case 'M':
12029
+ return number + '月';
12030
+ case 'w':
12031
+ case 'W':
12032
+ return number + '周';
12033
+ default:
12034
+ return number;
12035
+ }
12036
+ },
12037
+ relativeTime: {
12038
+ future: '%s后',
12039
+ past: '%s前',
12040
+ s: '几秒',
12041
+ ss: '%d 秒',
12042
+ m: '1 分钟',
12043
+ mm: '%d 分钟',
12044
+ h: '1 小时',
12045
+ hh: '%d 小时',
12046
+ d: '1 天',
12047
+ dd: '%d 天',
12048
+ w: '1 周',
12049
+ ww: '%d 周',
12050
+ M: '1 个月',
12051
+ MM: '%d 个月',
12052
+ y: '1 年',
12053
+ yy: '%d 年',
12054
+ },
12055
+ week: {
12056
+ // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效
12057
+ dow: 1, // Monday is the first day of the week.
12058
+ doy: 4, // The week that contains Jan 4th is the first week of the year.
12059
+ },
12060
+ });
12061
+
12062
+ return zhCn;
12063
+
12064
+ })));
12065
+ });
12066
+
12067
+ var zhTw = createCommonjsModule(function (module, exports) {
12068
+ (function (global, factory) {
12069
+ typeof commonjsRequire === 'function' ? factory(moment) :
12070
+
12071
+ factory(global.moment);
12072
+ }(commonjsGlobal, (function (moment) {
12073
+ //! moment.js locale configuration
12074
+
12075
+ var zhTw = moment.defineLocale('zh-tw', {
12076
+ months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split(
12077
+ '_'
12078
+ ),
12079
+ monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(
12080
+ '_'
12081
+ ),
12082
+ weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),
12083
+ weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'),
12084
+ weekdaysMin: '日_一_二_三_四_五_六'.split('_'),
12085
+ longDateFormat: {
12086
+ LT: 'HH:mm',
12087
+ LTS: 'HH:mm:ss',
12088
+ L: 'YYYY/MM/DD',
12089
+ LL: 'YYYY年M月D日',
12090
+ LLL: 'YYYY年M月D日 HH:mm',
12091
+ LLLL: 'YYYY年M月D日dddd HH:mm',
12092
+ l: 'YYYY/M/D',
12093
+ ll: 'YYYY年M月D日',
12094
+ lll: 'YYYY年M月D日 HH:mm',
12095
+ llll: 'YYYY年M月D日dddd HH:mm',
12096
+ },
12097
+ meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
12098
+ meridiemHour: function (hour, meridiem) {
12099
+ if (hour === 12) {
12100
+ hour = 0;
12101
+ }
12102
+ if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {
12103
+ return hour;
12104
+ } else if (meridiem === '中午') {
12105
+ return hour >= 11 ? hour : hour + 12;
12106
+ } else if (meridiem === '下午' || meridiem === '晚上') {
12107
+ return hour + 12;
12108
+ }
12109
+ },
12110
+ meridiem: function (hour, minute, isLower) {
12111
+ var hm = hour * 100 + minute;
12112
+ if (hm < 600) {
12113
+ return '凌晨';
12114
+ } else if (hm < 900) {
12115
+ return '早上';
12116
+ } else if (hm < 1130) {
12117
+ return '上午';
12118
+ } else if (hm < 1230) {
12119
+ return '中午';
12120
+ } else if (hm < 1800) {
12121
+ return '下午';
12122
+ } else {
12123
+ return '晚上';
12124
+ }
12125
+ },
12126
+ calendar: {
12127
+ sameDay: '[今天] LT',
12128
+ nextDay: '[明天] LT',
12129
+ nextWeek: '[下]dddd LT',
12130
+ lastDay: '[昨天] LT',
12131
+ lastWeek: '[上]dddd LT',
12132
+ sameElse: 'L',
12133
+ },
12134
+ dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/,
12135
+ ordinal: function (number, period) {
12136
+ switch (period) {
12137
+ case 'd':
12138
+ case 'D':
12139
+ case 'DDD':
12140
+ return number + '日';
12141
+ case 'M':
12142
+ return number + '月';
12143
+ case 'w':
12144
+ case 'W':
12145
+ return number + '週';
12146
+ default:
12147
+ return number;
12148
+ }
12149
+ },
12150
+ relativeTime: {
12151
+ future: '%s後',
12152
+ past: '%s前',
12153
+ s: '幾秒',
12154
+ ss: '%d 秒',
12155
+ m: '1 分鐘',
12156
+ mm: '%d 分鐘',
12157
+ h: '1 小時',
12158
+ hh: '%d 小時',
12159
+ d: '1 天',
12160
+ dd: '%d 天',
12161
+ M: '1 個月',
12162
+ MM: '%d 個月',
12163
+ y: '1 年',
12164
+ yy: '%d 年',
12165
+ },
12166
+ });
12167
+
12168
+ return zhTw;
12169
+
12170
+ })));
12171
+ });
12172
+
11057
12173
  var dateFormatSettings = ["DD MMM yyyy", "DD/MM/yyyy", "MMM DD yyyy", "MM/DD/yyyy", "yyyy/MM/DD"];
11058
12174
  var generateDateFormat = function generateDateFormat(settingValue) {
11059
12175
  switch (settingValue) {
@@ -11067,7 +12183,7 @@ var generateDateFormat = function generateDateFormat(settingValue) {
11067
12183
  return dateFormatSettings[0];
11068
12184
  }
11069
12185
  };
11070
- var formatDate = function formatDate(date, _ref, formatMore, lang) {
12186
+ var formatDate = function formatDate(date, _ref, formatMore, locale) {
11071
12187
  var _ref2;
11072
12188
  var timeZone = _ref.timeZone,
11073
12189
  _ref$dateFormat = _ref.dateFormat,
@@ -11075,12 +12191,12 @@ var formatDate = function formatDate(date, _ref, formatMore, lang) {
11075
12191
  if (formatMore === void 0) {
11076
12192
  formatMore = "";
11077
12193
  }
11078
- if (lang === void 0) {
11079
- lang = "en";
12194
+ if (locale === void 0) {
12195
+ locale = "en";
11080
12196
  }
11081
- momentTimezone$1.locale(lang);
12197
+ momentTimezone$1.locale(locale);
11082
12198
  var d = momentTimezone$1(date);
11083
- d.locale(lang);
12199
+ d.locale(locale);
11084
12200
  if (timeZone) {
11085
12201
  d = d.tz(timeZone);
11086
12202
  }
@@ -11131,11 +12247,11 @@ var getTaxTitle = function getTaxTitle(item, isShowZero) {
11131
12247
  }
11132
12248
  return (taxInclusive + enableTax1 + enableTax2).trim();
11133
12249
  };
11134
- var endDate = function endDate(proposal, company) {
12250
+ var endDate = function endDate(proposal, company, momentLocale) {
11135
12251
  if ((proposal === null || proposal === void 0 ? void 0 : proposal.endDate) !== null) {
11136
- return formatDate(proposal === null || proposal === void 0 ? void 0 : proposal.endDate, company);
12252
+ return formatDate(proposal === null || proposal === void 0 ? void 0 : proposal.endDate, company, "", momentLocale);
11137
12253
  } else if ((proposal === null || proposal === void 0 ? void 0 : proposal.endType) === "fixed_length") {
11138
- return formatDate(moment(proposal === null || proposal === void 0 ? void 0 : proposal.startDate).add(proposal === null || proposal === void 0 ? void 0 : proposal.contractLength, "month"), company);
12254
+ return formatDate(moment(proposal === null || proposal === void 0 ? void 0 : proposal.startDate).add(proposal === null || proposal === void 0 ? void 0 : proposal.contractLength, "month"), company, "", momentLocale);
11139
12255
  }
11140
12256
  };
11141
12257
  var getRecurringPeriodType = function getRecurringPeriodType(recurringPeriodType, recurringPeriodFrequency) {
@@ -11290,9 +12406,9 @@ var contractHtml = (function (props) {
11290
12406
  sectionUserInfo += "<span>" + ((t ? t(lang === null || lang === void 0 ? void 0 : lang.customer_empty) : lang === null || lang === void 0 ? void 0 : lang.customer_empty) || "") + "</span>";
11291
12407
  }
11292
12408
  sectionUserInfo += "</td></tr></tbody></table>";
11293
- sectionUserInfo += "<p class=\"agreement-date\"><b>" + ((t ? t(lang === null || lang === void 0 ? void 0 : lang.effective_date) : lang === null || lang === void 0 ? void 0 : lang.effective_date) || "") + "</b> " + (proposal !== null && proposal !== void 0 && proposal.effectiveDate ? formatDate(proposal.effectiveDate, company || {}, "", momentLocale) : "") + "</p>";
11294
- sectionUserInfo += "<p class=\"agreement-date\"><b>" + ((t ? t(lang === null || lang === void 0 ? void 0 : lang.start_date) : lang === null || lang === void 0 ? void 0 : lang.start_date) || "") + "</b> " + (proposal !== null && proposal !== void 0 && proposal.startDate ? formatDate(proposal.startDate, company || {}, "", momentLocale) : "") + "</p>";
11295
- sectionUserInfo += "<p class=\"agreement-date\"><b>" + ((lang === null || lang === void 0 ? void 0 : lang.end_date) || "") + "</b> " + endDate(proposal, company || {}) + "</p>";
12409
+ sectionUserInfo += "<p class=\"agreement-date\"><b>" + ((t ? t(lang === null || lang === void 0 ? void 0 : lang.effective_date) : lang === null || lang === void 0 ? void 0 : lang.effective_date) || "") + ":</b> " + (proposal !== null && proposal !== void 0 && proposal.effectiveDate ? formatDate(proposal.effectiveDate, company || {}, "", momentLocale) : "") + "</p>";
12410
+ sectionUserInfo += "<p class=\"agreement-date\"><b>" + ((t ? t(lang === null || lang === void 0 ? void 0 : lang.start_date) : lang === null || lang === void 0 ? void 0 : lang.start_date) || "") + ":</b> " + (proposal !== null && proposal !== void 0 && proposal.startDate ? formatDate(proposal.startDate, company || {}, "", momentLocale) : "") + "</p>";
12411
+ sectionUserInfo += "<p class=\"agreement-date\"><b>" + ((t ? t(lang === null || lang === void 0 ? void 0 : lang.end_date) : lang === null || lang === void 0 ? void 0 : lang.end_date) || "") + ":</b> " + endDate(proposal, company || {}, momentLocale) + "</p>";
11296
12412
  sectionUserInfo += "<div style=\"margin: 6px 0\">";
11297
12413
  sectionUserInfo += "<span>" + ((t ? t(lang === null || lang === void 0 ? void 0 : lang.details_line_4) : lang === null || lang === void 0 ? void 0 : lang.details_line_4) || "") + "</span><br />";
11298
12414
  sectionUserInfo += "</div>";
@@ -11305,7 +12421,7 @@ var contractHtml = (function (props) {
11305
12421
  sectionServices += '<table class="table-service"><tbody>';
11306
12422
  if (items && items.length > 0) {
11307
12423
  items.forEach(function (it) {
11308
- var taxTitle = getTaxTitle(it, true);
12424
+ var taxTitle = getTaxTitle(it, true).replace('including', t('including')).replace('excluding', t('excluding')).replace('Add Tax', t('Add Tax'));
11309
12425
  sectionServices += "<tr><td>";
11310
12426
  if (it.billingType !== "none") {
11311
12427
  sectionServices += "<b>" + FormatCurrency$4(((it === null || it === void 0 ? void 0 : it.price) || 0) * ((it === null || it === void 0 ? void 0 : it.quantity) || 0), (company === null || company === void 0 ? void 0 : company.currency) || "USD", (company === null || company === void 0 ? void 0 : company.language) || "en", (company === null || company === void 0 ? void 0 : company.currencyFormat) || "") + "</b>";
@@ -11329,7 +12445,7 @@ var contractHtml = (function (props) {
11329
12445
  sectionServices += "</div>";
11330
12446
  }
11331
12447
  sectionServices += '</td><td align="right">';
11332
- sectionServices += "<p>" + getBilling(it, proposal, company) + "</p>";
12448
+ sectionServices += "<p>" + getBilling(it, proposal, company).replace('Billed today', t('Billed today')).replace('Billed on completion', t('Billed on completion')).replace('Billed on', t('Billed on')) + "</p>";
11333
12449
  sectionServices += "</td></tr>";
11334
12450
  });
11335
12451
  } else {