@bookipi/htmlgenerator 1.1.26-alpha15 → 1.1.26-alpha6
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/bookipayLogo~HwotOVDe.svg +31 -0
- package/dist/bootstrap.css +10653 -0
- package/dist/font-awesome.css +1807 -0
- package/dist/index.css +12323 -0
- package/dist/index.js +2215 -64
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2215 -64
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -38,28 +38,24 @@ function _arrayLikeToArray(arr, len) {
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
function _createForOfIteratorHelperLoose(o, allowArrayLike) {
|
|
41
|
-
var it;
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
};
|
|
51
|
-
return {
|
|
52
|
-
done: false,
|
|
53
|
-
value: o[i++]
|
|
54
|
-
};
|
|
41
|
+
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
|
42
|
+
if (it) return (it = it.call(o)).next.bind(it);
|
|
43
|
+
|
|
44
|
+
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
|
|
45
|
+
if (it) o = it;
|
|
46
|
+
var i = 0;
|
|
47
|
+
return function () {
|
|
48
|
+
if (i >= o.length) return {
|
|
49
|
+
done: true
|
|
55
50
|
};
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
51
|
+
return {
|
|
52
|
+
done: false,
|
|
53
|
+
value: o[i++]
|
|
54
|
+
};
|
|
55
|
+
};
|
|
59
56
|
}
|
|
60
57
|
|
|
61
|
-
|
|
62
|
-
return it.next.bind(it);
|
|
58
|
+
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
63
59
|
}
|
|
64
60
|
|
|
65
61
|
var currencies = {
|
|
@@ -7441,7 +7437,7 @@ var moment = createCommonjsModule(function (module, exports) {
|
|
|
7441
7437
|
|
|
7442
7438
|
var momentTimezone = createCommonjsModule(function (module) {
|
|
7443
7439
|
//! moment-timezone.js
|
|
7444
|
-
//! version : 0.5.
|
|
7440
|
+
//! version : 0.5.33
|
|
7445
7441
|
//! Copyright (c) JS Foundation and other contributors
|
|
7446
7442
|
//! license : MIT
|
|
7447
7443
|
//! github.com/moment/moment-timezone
|
|
@@ -7467,7 +7463,7 @@ var momentTimezone = createCommonjsModule(function (module) {
|
|
|
7467
7463
|
// return moment;
|
|
7468
7464
|
// }
|
|
7469
7465
|
|
|
7470
|
-
var VERSION = "0.5.
|
|
7466
|
+
var VERSION = "0.5.33",
|
|
7471
7467
|
zones = {},
|
|
7472
7468
|
links = {},
|
|
7473
7469
|
countries = {},
|
|
@@ -8134,13 +8130,13 @@ var momentTimezone = createCommonjsModule(function (module) {
|
|
|
8134
8130
|
}));
|
|
8135
8131
|
});
|
|
8136
8132
|
|
|
8137
|
-
var version = "
|
|
8133
|
+
var version = "2021a";
|
|
8138
8134
|
var zones = [
|
|
8139
8135
|
"Africa/Abidjan|LMT GMT|g.8 0|01|-2ldXH.Q|48e5",
|
|
8140
|
-
"Africa/Accra|LMT GMT +0020|.Q 0 -k|
|
|
8141
|
-
"Africa/Nairobi|LMT
|
|
8136
|
+
"Africa/Accra|LMT GMT +0020 +0030|.Q 0 -k -u|01212121212121212121212121212121212121212121212131313131313131|-2bRzX.8 9RbX.8 fdE 1BAk MLE 1Bck MLE 1Bck MLE 1Bck MLE 1BAk MLE 1Bck MLE 1Bck MLE 1Bck MLE 1BAk MLE 1Bck MLE 1Bck MLE 1Bck MLE 1BAk MLE 1Bck MLE 1Bck MLE 1Bck MLE 1BAk MLE 1Bck MLE 1Bck MLE 1Bck MLE Mok 1BXE M0k 1BXE fak 9vbu bjCu MLu 1Bcu MLu 1BAu MLu 1Bcu MLu 1Bcu MLu 1Bcu MLu|41e5",
|
|
8137
|
+
"Africa/Nairobi|LMT +0230 EAT +0245|-2r.g -2u -30 -2J|012132|-2ua2r.g N6nV.g 3Fbu h1cu dzbJ|47e5",
|
|
8142
8138
|
"Africa/Algiers|PMT WET WEST CET CEST|-9.l 0 -10 -10 -20|0121212121212121343431312123431213|-2nco9.l cNb9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 DA0 Imo0 rd0 De0 9Xz0 1fb0 1ap0 16K0 2yo0 mEp0 hwL0 jxA0 11A0 dDd0 17b0 11B0 1cN0 2Dy0 1cN0 1fB0 1cL0|26e5",
|
|
8143
|
-
"Africa/Lagos|LMT WAT|-d.
|
|
8139
|
+
"Africa/Lagos|LMT GMT +0030 WAT|-d.z 0 -u -10|01023|-2B40d.z 7iod.z dnXK.p dLzH.z|17e6",
|
|
8144
8140
|
"Africa/Bissau|LMT -01 GMT|12.k 10 0|012|-2ldX0 2xoo0|39e4",
|
|
8145
8141
|
"Africa/Maputo|LMT CAT|-2a.k -20|01|-2GJea.k|26e5",
|
|
8146
8142
|
"Africa/Cairo|EET EEST|-20 -30|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1bIO0 vb0 1ip0 11z0 1iN0 1nz0 12p0 1pz0 10N0 1pz0 16p0 1jz0 s3d0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1WL0 rd0 1Rz0 wp0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1qL0 Xd0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1ny0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 WL0 1qN0 Rb0 1wp0 On0 1zd0 Lz0 1EN0 Fb0 c10 8n0 8Nd0 gL0 e10 mn0|15e6",
|
|
@@ -8148,7 +8144,7 @@ var zones = [
|
|
|
8148
8144
|
"Africa/Ceuta|WET WEST CET CEST|0 -10 -10 -20|010101010101010101010232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-25KN0 11z0 drd0 18p0 3HX0 17d0 1fz0 1a10 1io0 1a00 1y7o0 LL0 gnd0 rz0 43d0 AL0 1Nd0 XX0 1Cp0 pz0 dEp0 4VB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|85e3",
|
|
8149
8145
|
"Africa/El_Aaiun|LMT -01 +00 +01|Q.M 10 0 -10|012323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1rDz7.c 1GVA7.c 6L0 AL0 1Nd0 XX0 1Cp0 pz0 1cBB0 AL0 1Nd0 wn0 1FB0 Db0 1zd0 Lz0 1Nf0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0|20e4",
|
|
8150
8146
|
"Africa/Johannesburg|SAST SAST SAST|-1u -20 -30|012121|-2GJdu 1Ajdu 1cL0 1cN0 1cL0|84e5",
|
|
8151
|
-
"Africa/Juba|LMT CAT CAST EAT|-26.s -20 -30 -30|
|
|
8147
|
+
"Africa/Juba|LMT CAT CAST EAT|-26.s -20 -30 -30|012121212121212121212121212121212131|-1yW26.s 1zK06.s 16L0 1iN0 17b0 1jd0 17b0 1ip0 17z0 1i10 17X0 1hB0 18n0 1hd0 19b0 1gp0 19z0 1iN0 17b0 1ip0 17z0 1i10 18n0 1hd0 18L0 1gN0 19b0 1gp0 19z0 1iN0 17z0 1i10 17X0 yGd0 PeX0|",
|
|
8152
8148
|
"Africa/Khartoum|LMT CAT CAST EAT|-2a.8 -20 -30 -30|012121212121212121212121212121212131|-1yW2a.8 1zK0a.8 16L0 1iN0 17b0 1jd0 17b0 1ip0 17z0 1i10 17X0 1hB0 18n0 1hd0 19b0 1gp0 19z0 1iN0 17b0 1ip0 17z0 1i10 18n0 1hd0 18L0 1gN0 19b0 1gp0 19z0 1iN0 17z0 1i10 17X0 yGd0 HjL0|51e5",
|
|
8153
8149
|
"Africa/Monrovia|MMT MMT GMT|H.8 I.u 0|012|-23Lzg.Q 28G01.m|11e5",
|
|
8154
8150
|
"Africa/Ndjamena|LMT WAT WAST|-10.c -10 -20|0121|-2le10.c 2J3c0.c Wn0|13e5",
|
|
@@ -8179,7 +8175,7 @@ var zones = [
|
|
|
8179
8175
|
"America/Bahia|LMT -03 -02|2y.4 30 20|01212121212121212121212121212121212121212121212121212121212121|-2glxp.U HdLp.U 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 l5B0 Rb0|27e5",
|
|
8180
8176
|
"America/Barbados|LMT BMT AST ADT|3W.t 3W.t 40 30|01232323232|-1Q0I1.v jsM0 1ODC1.v IL0 1ip0 17b0 1ip0 17b0 1ld0 13b0|28e4",
|
|
8181
8177
|
"America/Belem|LMT -03 -02|3d.U 30 20|012121212121212121212121212121|-2glwK.4 HdKK.4 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0|20e5",
|
|
8182
|
-
"America/Belize|LMT CST -0530 CDT|5Q.M 60 5u 50|
|
|
8178
|
+
"America/Belize|LMT CST -0530 CWT CPT CDT|5Q.M 60 5u 50 50 50|012121212121212121212121212121212121212121212121213412121212121212121212121212121212121212121215151|-2kBu7.c fPA7.c Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu Rcu 7Bt0 Ni0 4nd0 Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu e9Au qn0 lxB0 mn0|57e3",
|
|
8183
8179
|
"America/Blanc-Sablon|AST ADT AWT APT|40 30 30 30|010230|-25TS0 1in0 UGp0 8x50 iu0|11e2",
|
|
8184
8180
|
"America/Boa_Vista|LMT -04 -03|42.E 40 30|0121212121212121212121212121212121|-2glvV.k HdKV.k 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 smp0 WL0 1tB0 2L0|62e2",
|
|
8185
8181
|
"America/Bogota|BMT -05 -04|4U.g 50 40|0121|-2eb73.I 38yo3.I 2en0|90e5",
|
|
@@ -8210,7 +8206,7 @@ var zones = [
|
|
|
8210
8206
|
"America/Glace_Bay|LMT AST ADT AWT APT|3X.M 40 30 30 30|012134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsI0.c CwO0.c 1in0 UGp0 8x50 iu0 iq10 11z0 Jg10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|19e3",
|
|
8211
8207
|
"America/Godthab|LMT -03 -02|3q.U 30 20|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a5Ux.4 2z5dx.4 19U0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e3",
|
|
8212
8208
|
"America/Goose_Bay|NST NDT NST NDT NWT NPT AST ADT ADDT|3u.Q 2u.Q 3u 2u 2u 2u 40 30 20|010232323232323245232323232323232323232323232323232323232326767676767676767676767676767676767676767676768676767676767676767676767676767676767676767676767676767676767676767676767676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T AST|57.a 50 40 40|0121212121212121212121212121212121212121212121212121212121212121212121212132121212121212121212121212121212121212121|-2l1uQ.O 2HHBQ.O 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 7jA0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|37e2",
|
|
8214
8210
|
"America/Guatemala|LMT CST CDT|62.4 60 50|0121212121|-24KhV.U 2efXV.U An0 mtd0 Nz0 ifB0 17b0 zDB0 11z0|13e5",
|
|
8215
8211
|
"America/Guayaquil|QMT -05 -04|5e 50 40|0121|-1yVSK 2uILK rz0|27e5",
|
|
8216
8212
|
"America/Guyana|LMT -0345 -03 -04|3Q.E 3J 30 40|0123|-2dvU7.k 2r6LQ.k Bxbf|80e4",
|
|
@@ -8248,7 +8244,7 @@ var zones = [
|
|
|
8248
8244
|
"America/Monterrey|LMT CST CDT|6F.g 60 50|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1UQG0 2FjC0 1nX0 i6p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|41e5",
|
|
8249
8245
|
"America/Montevideo|LMT MMT -04 -03 -0330 -0230 -02 -0130|3I.P 3I.P 40 30 3u 2u 20 1u|012343434343434343434343435353636353636375363636363636363636363636363636363636363636363|-2tRUf.9 sVc0 8jcf.9 1db0 1dcu 1cLu 1dcu 1cLu ircu 11zu 1o0u 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 1qMu WLu 1fAu 1cLu 1o0u 11zu NAu 3jXu zXu Dq0u 19Xu pcu jz0 cm10 19X0 6tB0 1fbu 3o0u jX0 4vB0 xz0 3Cp0 mmu 1a10 IMu Db0 4c10 uL0 1Nd0 An0 1SN0 uL0 mp0 28L0 iPB0 un0 1SN0 xz0 1zd0 Lz0 1zd0 Rb0 1zd0 On0 1wp0 Rb0 s8p0 1fB0 1ip0 11z0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 14n0 1ld0 14n0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 11z0|17e5",
|
|
8250
8246
|
"America/Toronto|EST EDT EWT EPT|50 40 40 40|01010101010101010101010101010101010101010101012301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TR0 1in0 11Wu 1nzu 1fD0 WJ0 1wr0 Nb0 1Ap0 On0 1zd0 On0 1wp0 TX0 1tB0 TX0 1tB0 TX0 1tB0 WL0 1qN0 11z0 1o10 11z0 1o10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DT|59.u 50 40 40 40|01212314141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141|-2kNuO.u 1drbO.u 6tX0 cp0 1hS0 pF0 J630 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|24e4",
|
|
8252
8248
|
"America/New_York|EST EDT EWT EPT|50 40 40 40|01010101010101010101010101010101010101010101010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261t0 1nX0 11B0 1nX0 11B0 1qL0 1a10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 RB0 8x40 iv0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|21e6",
|
|
8253
8249
|
"America/Nipigon|EST EDT EWT EPT|50 40 40 40|010123010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TR0 1in0 Rnb0 3je0 8x40 iv0 19yN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|16e2",
|
|
8254
8250
|
"America/Nome|NST NWT NPT BST BDT YST AKST AKDT|b0 a0 a0 b0 a0 90 90 80|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17SX0 8wW0 iB0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cl0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|38e2",
|
|
@@ -8289,7 +8285,7 @@ var zones = [
|
|
|
8289
8285
|
"Antarctica/Casey|-00 +08 +11|0 -80 -b0|0121212121212|-2q00 1DjS0 T90 40P0 KL0 blz0 3m10 1o30 14k0 1kr0 12l0 1o01|10",
|
|
8290
8286
|
"Antarctica/Davis|-00 +07 +05|0 -70 -50|01012121|-vyo0 iXt0 alj0 1D7v0 VB0 3Wn0 KN0|70",
|
|
8291
8287
|
"Antarctica/DumontDUrville|-00 +10|0 -a0|0101|-U0o0 cfq0 bFm0|80",
|
|
8292
|
-
"Antarctica/Macquarie|AEST AEDT -00|-a0 -b0 0|010201010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-29E80
|
|
8288
|
+
"Antarctica/Macquarie|AEST AEDT -00|-a0 -b0 0|010201010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-29E80 1a00 4SK0 1ayy0 Lvs0 1cM0 1o00 Rc0 1wo0 Rc0 1wo0 U00 1wo0 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 3Co0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|1",
|
|
8293
8289
|
"Antarctica/Mawson|-00 +06 +05|0 -60 -50|012|-CEo0 2fyk0|60",
|
|
8294
8290
|
"Pacific/Auckland|NZMT NZST NZST NZDT|-bu -cu -c0 -d0|01020202020202020202020202023232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1GCVu Lz0 1tB0 11zu 1o0u 11zu 1o0u 11zu 1o0u 14nu 1lcu 14nu 1lcu 1lbu 11Au 1nXu 11Au 1nXu 11Au 1nXu 11Au 1nXu 11Au 1qLu WMu 1qLu 11Au 1n1bu IM0 1C00 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1qM0 14o0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1io0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|14e5",
|
|
8295
8291
|
"Antarctica/Palmer|-00 -03 -04 -02|0 30 40 20|0121212121213121212121212121212121212121212121212121212121212121212121212121212121|-cao0 nD0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 jsN0 14N0 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0|40",
|
|
@@ -8325,8 +8321,8 @@ var zones = [
|
|
|
8325
8321
|
"Asia/Dubai|LMT +04|-3F.c -40|01|-21JfF.c|39e5",
|
|
8326
8322
|
"Asia/Dushanbe|LMT +05 +06 +07|-4z.c -50 -60 -70|012323232323232323232321|-1Pc4z.c eUnz.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2hB0|76e4",
|
|
8327
8323
|
"Asia/Famagusta|LMT EET EEST +03|-2f.M -20 -30 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212312121212121212121212121212121212121212121|-1Vc2f.M 2a3cf.M 1cL0 1qp0 Xz0 19B0 19X0 1fB0 1db0 1cp0 1cL0 1fB0 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1o30 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 15U0 2Ks0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|",
|
|
8328
|
-
"Asia/Gaza|EET EEST IST IDT|-20 -30 -20 -30|
|
|
8329
|
-
"Asia/Hebron|EET EEST IST IDT|-20 -30 -20 -30|
|
|
8324
|
+
"Asia/Gaza|EET EEST IST IDT|-20 -30 -20 -30|010101010101010101010101010101010123232323232323232323232323232320101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1c2o0 MM0 iM0 4JA0 10o0 1pA0 10M0 1pA0 16o0 1jA0 16o0 1jA0 pBa0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 dW0 hfB0 Db0 1fB0 Rb0 bXB0 gM0 8Q00 IM0 1wo0 TX0 1HB0 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 M10 C00 17c0 1io0 17c0 1io0 17c0 1o00 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 17c0 1io0 18N0 1bz0 19z0 1gp0 1610 1iL0 11z0 1o10 14o0 1lA1 SKX 1xd1 MKX 1AN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nA0 1210 1qL0 WN0 1qL0 WN0 1qL0 11c0 1on0 11B0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|18e5",
|
|
8325
|
+
"Asia/Hebron|EET EEST IST IDT|-20 -30 -20 -30|01010101010101010101010101010101012323232323232323232323232323232010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1c2o0 MM0 iM0 4JA0 10o0 1pA0 10M0 1pA0 16o0 1jA0 16o0 1jA0 pBa0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 dW0 hfB0 Db0 1fB0 Rb0 bXB0 gM0 8Q00 IM0 1wo0 TX0 1HB0 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 M10 C00 17c0 1io0 17c0 1io0 17c0 1o00 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 17c0 1io0 18N0 1bz0 19z0 1gp0 1610 1iL0 12L0 1mN0 14o0 1lc0 Tb0 1xd1 MKX bB0 cn0 1cN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nA0 1210 1qL0 WN0 1qL0 WN0 1qL0 11c0 1on0 11B0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|25e4",
|
|
8330
8326
|
"Asia/Ho_Chi_Minh|LMT PLMT +07 +08 +09|-76.E -76.u -70 -80 -90|0123423232|-2yC76.E bK00.a 1h7b6.u 5lz0 18o0 3Oq0 k5b0 aW00 BAM0|90e5",
|
|
8331
8327
|
"Asia/Hong_Kong|LMT HKT HKST HKWT JST|-7A.G -80 -90 -8u -90|0123412121212121212121212121212121212121212121212121212121212121212121|-2CFH0 1taO0 Hc0 xUu 9tBu 11z0 1tDu Rc0 1wo0 11A0 1cM0 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1nX0 U10 1tz0 U10 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 Rd0 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 17d0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1cL0 6fd0 14n0|73e5",
|
|
8332
8328
|
"Asia/Hovd|LMT +06 +07 +08|-66.A -60 -70 -80|012323232323232323232323232323232323232323232323232|-2APG6.A 2Uko6.A cKn0 1db0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 kEp0 1cJ0 1cP0 1cJ0|81e3",
|
|
@@ -8334,7 +8330,7 @@ var zones = [
|
|
|
8334
8330
|
"Europe/Istanbul|IMT EET EEST +03 +04|-1U.U -20 -30 -30 -40|0121212121212121212121212121212121212121212121234312121212121212121212121212121212121212121212121212121212121212123|-2ogNU.U dzzU.U 11b0 8tB0 1on0 1410 1db0 19B0 1in0 3Rd0 Un0 1oN0 11b0 zSN0 CL0 mp0 1Vz0 1gN0 8yn0 1yp0 ML0 1kp0 17b0 1ip0 17b0 1fB0 19X0 1ip0 19X0 1ip0 17b0 qdB0 38L0 1jd0 Tz0 l6O0 11A0 WN0 1qL0 TB0 1tX0 U10 1tz0 11B0 1in0 17d0 z90 cne0 pb0 2Cp0 1800 14o0 1dc0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1a00 1fA0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WO0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 Xc0 1qo0 WM0 1qM0 11A0 1o00 1200 1nA0 11A0 1tA0 U00 15w0|13e6",
|
|
8335
8331
|
"Asia/Jakarta|BMT +0720 +0730 +09 +08 WIB|-77.c -7k -7u -90 -80 -70|01232425|-1Q0Tk luM0 mPzO 8vWu 6kpu 4PXu xhcu|31e6",
|
|
8336
8332
|
"Asia/Jayapura|LMT +09 +0930 WIT|-9m.M -90 -9u -90|0123|-1uu9m.M sMMm.M L4nu|26e4",
|
|
8337
|
-
"Asia/Jerusalem|JMT IST IDT IDDT|-2k.E -20 -30 -40|
|
|
8333
|
+
"Asia/Jerusalem|JMT IST IDT IDDT|-2k.E -20 -30 -40|01212121212121321212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-26Bek.E SyOk.E MM0 iM0 4JA0 10o0 1pA0 10M0 1pA0 16o0 1jA0 16o0 1jA0 3LA0 Eo0 oo0 1co0 1dA0 16o0 10M0 1jc0 1tA0 14o0 1cM0 1a00 11A0 1Nc0 Ao0 1Nc0 Ao0 1Ko0 LA0 1o00 WM0 EQK0 Db0 1fB0 Rb0 bXB0 gM0 8Q00 IM0 1wo0 TX0 1HB0 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 1hB0 1dX0 1ep0 1aL0 1eN0 17X0 1nf0 11z0 1tB0 19W0 1e10 17b0 1ep0 1gL0 18N0 1fz0 1eN0 17b0 1gq0 1gn0 19d0 1dz0 1c10 17X0 1hB0 1gn0 19d0 1dz0 1c10 17X0 1kp0 1dz0 1c10 1aL0 1eN0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0|81e4",
|
|
8338
8334
|
"Asia/Kabul|+04 +0430|-40 -4u|01|-10Qs0|46e5",
|
|
8339
8335
|
"Asia/Kamchatka|LMT +11 +12 +13|-ay.A -b0 -c0 -d0|012323232323232323232321232323232323232323232323232323232323212|-1SLKy.A ivXy.A 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|18e4",
|
|
8340
8336
|
"Asia/Karachi|LMT +0530 +0630 +05 PKT PKST|-4s.c -5u -6u -50 -50 -60|012134545454|-2xoss.c 1qOKW.c 7zX0 eup0 LqMu 1fy00 1cL0 dK10 11b0 1610 1jX0|24e6",
|
|
@@ -8376,7 +8372,7 @@ var zones = [
|
|
|
8376
8372
|
"Asia/Yekaterinburg|LMT PMT +04 +05 +06|-42.x -3J.5 -40 -50 -60|012343434343434343434343234343434343434343434343434343434343434343|-2ag42.x 7mQh.s qBvJ.5 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|14e5",
|
|
8377
8373
|
"Asia/Yerevan|LMT +03 +04 +05|-2W -30 -40 -50|0123232323232323232323212121212323232323232323232323232323232|-1Pc2W 1jUnW WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 4RX0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|13e5",
|
|
8378
8374
|
"Atlantic/Azores|HMT -02 -01 +00 WET|1S.w 20 10 0 0|01212121212121212121212121212121212121212121232123212321232121212121212121212121212121212121212121232323232323232323232323232323234323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2ldW0 aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 3Co0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 qIl0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cL0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|25e4",
|
|
8379
|
-
"Atlantic/Bermuda|
|
|
8375
|
+
"Atlantic/Bermuda|BMT BST AST ADT|4j.i 3j.i 40 30|010102323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-28p7E.G 1bb0 1i10 11X0 ru30 thbE.G 1PX0 11B0 1tz0 Rd0 1zb0 Op0 1zb0 3I10 Lz0 1EN0 FX0 1HB0 FX0 1Kp0 Db0 1Kp0 Db0 1Kp0 FX0 93d0 11z0 GAp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|65e3",
|
|
8380
8376
|
"Atlantic/Canary|LMT -01 WET WEST|11.A 10 0 -10|01232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UtaW.o XPAW.o 1lAK0 1a10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4",
|
|
8381
8377
|
"Atlantic/Cape_Verde|LMT -02 -01|1y.4 20 10|01212|-2ldW0 1eEo0 7zX0 1djf0|50e4",
|
|
8382
8378
|
"Atlantic/Faroe|LMT WET WEST|r.4 0 -10|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2uSnw.U 2Wgow.U 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|49e3",
|
|
@@ -8384,18 +8380,17 @@ var zones = [
|
|
|
8384
8380
|
"Atlantic/Reykjavik|LMT -01 +00 GMT|1s 10 0 0|012121212121212121212121212121212121212121212121212121212121212121213|-2uWmw mfaw 1Bd0 ML0 1LB0 Cn0 1LB0 3fX0 C10 HrX0 1cO0 LB0 1EL0 LA0 1C00 Oo0 1wo0 Rc0 1wo0 Rc0 1wo0 Rc0 1zc0 Oo0 1zc0 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0|12e4",
|
|
8385
8381
|
"Atlantic/South_Georgia|-02|20|0||30",
|
|
8386
8382
|
"Atlantic/Stanley|SMT -04 -03 -02|3P.o 40 30 20|012121212121212323212121212121212121212121212121212121212121212121212|-2kJw8.A 12bA8.A 19X0 1fB0 19X0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 Cn0 1Cc10 WL0 1qL0 U10 1tz0 2mN0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1tz0 U10 1tz0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1tz0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qN0 U10 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 U10 1tz0 U10 1tz0 U10|21e2",
|
|
8387
|
-
"Australia/Sydney|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-
|
|
8388
|
-
"Australia/Adelaide|ACST ACDT|-9u -au|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-
|
|
8389
|
-
"Australia/Brisbane|AEST AEDT|-a0 -b0|01010101010101010|-
|
|
8390
|
-
"Australia/Broken_Hill|ACST ACDT|-9u -au|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-
|
|
8391
|
-
"Australia/
|
|
8392
|
-
"Australia/Darwin|ACST ACDT|-9u -au|010101010|-
|
|
8393
|
-
"Australia/Eucla|+0845 +0945|-8J -9J|0101010101010101010|-
|
|
8394
|
-
"Australia/Hobart|AEST AEDT|-a0 -b0|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-29E80 19X0 10jd0 yL0 1cN0 1cL0 1fB0 19X0 VfB0 1cM0 1o00 Rc0 1wo0 Rc0 1wo0 U00 1wo0 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|21e4",
|
|
8383
|
+
"Australia/Sydney|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293k0 xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 14o0 1o00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 11A0 1o00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|40e5",
|
|
8384
|
+
"Australia/Adelaide|ACST ACDT|-9u -au|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293ju xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 Oo0 1zc0 WM0 1qM0 Rc0 1zc0 U00 1tA0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|11e5",
|
|
8385
|
+
"Australia/Brisbane|AEST AEDT|-a0 -b0|01010101010101010|-293k0 xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0|20e5",
|
|
8386
|
+
"Australia/Broken_Hill|ACST ACDT|-9u -au|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293ju xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 14o0 1o00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|18e3",
|
|
8387
|
+
"Australia/Hobart|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-29E80 1a00 1qM0 Oo0 1zc0 Oo0 TAo0 yM0 1cM0 1cM0 1fA0 1a00 VfA0 1cM0 1o00 Rc0 1wo0 Rc0 1wo0 U00 1wo0 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|21e4",
|
|
8388
|
+
"Australia/Darwin|ACST ACDT|-9u -au|010101010|-293ju xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00|12e4",
|
|
8389
|
+
"Australia/Eucla|+0845 +0945|-8J -9J|0101010101010101010|-293iJ xc0 10jc0 yM0 1cM0 1cM0 1gSo0 Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0|368",
|
|
8395
8390
|
"Australia/Lord_Howe|AEST +1030 +1130 +11|-a0 -au -bu -b0|0121212121313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313|raC0 1zdu Rb0 1zd0 On0 1zd0 On0 1zd0 On0 1zd0 TXu 1qMu WLu 1tAu WLu 1tAu TXu 1tAu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu 11zu 1o0u 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 11Au 1nXu 1qMu 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 1qMu 11zu 1o0u WLu 1qMu 14nu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu|347",
|
|
8396
|
-
"Australia/Lindeman|AEST AEDT|-a0 -b0|010101010101010101010|-
|
|
8397
|
-
"Australia/Melbourne|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-
|
|
8398
|
-
"Australia/Perth|AWST AWDT|-80 -90|0101010101010101010|-
|
|
8391
|
+
"Australia/Lindeman|AEST AEDT|-a0 -b0|010101010101010101010|-293k0 xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0|10",
|
|
8392
|
+
"Australia/Melbourne|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293k0 xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1qM0 11A0 1tA0 U00 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 11A0 1o00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|39e5",
|
|
8393
|
+
"Australia/Perth|AWST AWDT|-80 -90|0101010101010101010|-293i0 xc0 10jc0 yM0 1cM0 1cM0 1gSo0 Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0|18e5",
|
|
8399
8394
|
"CET|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|",
|
|
8400
8395
|
"Pacific/Easter|EMT -07 -06 -05|7h.s 70 60 50|012121212121212121212121212123232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1uSgG.w 1s4IG.w WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 2pA0 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0|30e2",
|
|
8401
8396
|
"CST6CDT|CST CDT CWT CPT|60 50 50 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|",
|
|
@@ -8470,14 +8465,14 @@ var zones = [
|
|
|
8470
8465
|
"Europe/Uzhgorod|CET CEST MSK MSD EET EEST|-10 -20 -30 -40 -20 -30|010101023232323232323232320454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-1cqL0 6i00 WM0 1fA0 1cM0 1ml0 1Cp0 1r3W0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Q00 1Nf0 2pw0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|11e4",
|
|
8471
8466
|
"Europe/Vienna|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 3KM0 14o0 LA00 6i00 WM0 1fA0 1cM0 1cM0 1cM0 400 2qM0 1ao0 1co0 1cM0 1io0 17c0 1gHa0 19X0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|18e5",
|
|
8472
8467
|
"Europe/Vilnius|WMT KMT CET EET MSK CEST MSD EEST|-1o -1z.A -10 -20 -30 -20 -40 -30|012324525254646464646464646473737373737373737352537373737373737373737373737373737373737373737373737373737373737373737373|-293do 6ILM.o 1Ooz.A zz0 Mfd0 29W0 3is0 WM0 1fA0 1cM0 LV0 1tgL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11B0 1o00 11A0 1qM0 8io0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4",
|
|
8473
|
-
"Europe/Volgograd|LMT +03 +04 +05|-2V.E -30 -40 -50|
|
|
8468
|
+
"Europe/Volgograd|LMT +03 +04 +05|-2V.E -30 -40 -50|0123232323232323212121212121212121212121212121212121212121212121|-21IqV.E psLV.E 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1cM0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 9Jd0 5gn0|10e5",
|
|
8474
8469
|
"Europe/Warsaw|WMT CET CEST EET EEST|-1o -10 -20 -20 -30|012121234312121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2ctdo 1LXo 11d0 1iO0 11A0 1o00 11A0 1on0 11A0 6zy0 HWP0 5IM0 WM0 1fA0 1cM0 1dz0 1mL0 1en0 15B0 1aq0 1nA0 11A0 1io0 17c0 1fA0 1a00 iDX0 LA0 1cM0 1cM0 1C00 Oo0 1cM0 1cM0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1C00 LA0 uso0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e5",
|
|
8475
8470
|
"Europe/Zaporozhye|+0220 EET MSK CEST CET MSD EEST|-2k -20 -30 -20 -10 -40 -30|01234342525252525252525252526161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161|-1Pc2k eUok rdb0 2RE0 WM0 1fA0 8m0 1v9a0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cK0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|77e4",
|
|
8476
8471
|
"HST|HST|a0|0||",
|
|
8477
8472
|
"Indian/Chagos|LMT +05 +06|-4N.E -50 -60|012|-2xosN.E 3AGLN.E|30e2",
|
|
8478
8473
|
"Indian/Cocos|+0630|-6u|0||596",
|
|
8479
8474
|
"Indian/Kerguelen|-00 +05|0 -50|01|-MG00|130",
|
|
8480
|
-
"Indian/Mahe|LMT +04|-3F.M -40|01|-
|
|
8475
|
+
"Indian/Mahe|LMT +04|-3F.M -40|01|-2xorF.M|79e3",
|
|
8481
8476
|
"Indian/Maldives|MMT +05|-4S -50|01|-olgS|35e4",
|
|
8482
8477
|
"Indian/Mauritius|LMT +04 +05|-3O -40 -50|012121|-2xorO 34unO 14L0 12kr0 11z0|15e4",
|
|
8483
8478
|
"Indian/Reunion|LMT +04|-3F.Q -40|01|-2mDDF.Q|84e4",
|
|
@@ -8489,7 +8484,7 @@ var zones = [
|
|
|
8489
8484
|
"Pacific/Apia|LMT -1130 -11 -10 +14 +13|bq.U bu b0 a0 -e0 -d0|01232345454545454545454545454545454545454545454545454545454|-2nDMx.4 1yW03.4 2rRbu 1ff0 1a00 CI0 AQ0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|37e3",
|
|
8490
8485
|
"Pacific/Bougainville|+10 +09 +11|-a0 -90 -b0|0102|-16Wy0 7CN0 2MQp0|18e4",
|
|
8491
8486
|
"Pacific/Chuuk|+10 +09|-a0 -90|01010|-2ewy0 axB0 RVX0 axd0|49e3",
|
|
8492
|
-
"Pacific/Efate|LMT +11 +12|-bd.g -b0 -c0|
|
|
8487
|
+
"Pacific/Efate|LMT +11 +12|-bd.g -b0 -c0|012121212121212121212121|-2l9nd.g 2uNXd.g Dc0 n610 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 Lz0 1Nd0 An0|66e3",
|
|
8493
8488
|
"Pacific/Enderbury|-12 -11 +13|c0 b0 -d0|012|nIc0 B7X0|1",
|
|
8494
8489
|
"Pacific/Fakaofo|-11 +13|b0 -d0|01|1Gfn0|483",
|
|
8495
8490
|
"Pacific/Fiji|LMT +12 +13|-bT.I -c0 -d0|0121212121212121212121212121212121212121212121212121212121212121|-2bUzT.I 3m8NT.I LA0 1EM0 IM0 nJc0 LA0 1o00 Rc0 1wo0 Ao0 1Nc0 Ao0 1Q00 xz0 1SN0 uM0 1SM0 uM0 1VA0 s00 1VA0 s00 1VA0 s00 20o0 pc0 2hc0 bc0 20o0 pc0 20o0 pc0 20o0 pc0 20o0 pc0 20o0 s00 1VA0 s00 20o0 pc0 20o0 pc0 20o0 pc0 20o0 pc0 20o0 s00 20o0 pc0 20o0 pc0 20o0 pc0 20o0 pc0 20o0 s00 1VA0 s00|88e4",
|
|
@@ -8660,6 +8655,7 @@ var links = [
|
|
|
8660
8655
|
"Australia/Brisbane|Australia/Queensland",
|
|
8661
8656
|
"Australia/Broken_Hill|Australia/Yancowinna",
|
|
8662
8657
|
"Australia/Darwin|Australia/North",
|
|
8658
|
+
"Australia/Hobart|Australia/Currie",
|
|
8663
8659
|
"Australia/Hobart|Australia/Tasmania",
|
|
8664
8660
|
"Australia/Lord_Howe|Australia/LHI",
|
|
8665
8661
|
"Australia/Melbourne|Australia/Victoria",
|
|
@@ -9402,7 +9398,7 @@ var en = (_terms$privacy$firstn = {
|
|
|
9402
9398
|
supplier_details: "Supplier Details",
|
|
9403
9399
|
customer_details: "Customer Details",
|
|
9404
9400
|
effective_date: "Dated:"
|
|
9405
|
-
}, _terms$privacy$firstn["start_date"] = "Start Date:", _terms$privacy$firstn["end_date"] = "End Date:", _terms$privacy$firstn.supplier_empty = "No supplier added yet.", _terms$privacy$firstn.customer_empty = "No customer added yet.", _terms$privacy$firstn.details_line_3 = "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.", _terms$privacy$firstn.kind_regards = "Kind regards,", _terms$privacy$firstn.services_title = "
|
|
9401
|
+
}, _terms$privacy$firstn["start_date"] = "Start Date:", _terms$privacy$firstn["end_date"] = "End Date:", _terms$privacy$firstn.supplier_empty = "No supplier added yet.", _terms$privacy$firstn.customer_empty = "No customer added yet.", _terms$privacy$firstn.details_line_3 = "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.", _terms$privacy$firstn.kind_regards = "Kind regards,", _terms$privacy$firstn.services_title = "Services", _terms$privacy$firstn["total"] = "Total:", _terms$privacy$firstn.items_empty = "No services added yet.", _terms$privacy$firstn.agreement_title = "Terms and Conditions", _terms$privacy$firstn["signature"] = "Signature", _terms$privacy$firstn.proposal_id = "Proposal ID:", _terms$privacy$firstn.client = "Client:", _terms$privacy$firstn.email_addresses = "Email address:", _terms$privacy$firstn.ip = "IP:", _terms$privacy$firstn.time = "Time:", _terms$privacy$firstn);
|
|
9406
9402
|
|
|
9407
9403
|
var FormatCurrency$1 = index.FormatCurrency;
|
|
9408
9404
|
|
|
@@ -9690,10 +9686,10 @@ var invoiceHtmlWithDetails = (function (_ref) {
|
|
|
9690
9686
|
|
|
9691
9687
|
var signatureContainer = document.sd ? "\n <div class=\"col-6\" style=\"text-align: center\">\n <strong>" + (company ? company.c : "") + "</strong>\n <div style=\"height:100px;border-bottom:2px solid #dee2e6; margin-right:40px; margin-left:40px\">\n " + (signatureBase64 ? "<img src=\"" + signatureBase64 + "\" class=\"signature-img\" onerror=\"this.style.display='none'\" />" : "") + "\n </div>\n <div style=\"font-size:16px\">" + (document.sd ? formatDate(document.sd) : "") + "</div>\n </div>" : "";
|
|
9692
9688
|
var clientSignature = document.cs || customerSignBase64 ? "\n <div class=\"col-6\" style=\"text-align: center\">\n <strong>" + (customer ? customer.c : "") + "</strong>\n <div style=\"height:100px;border-bottom:2px solid #dee2e6; margin-right:40px; margin-left:40px\">\n " + (customerSignBase64 ? "<img src=\"" + customerSignBase64 + "\" class=\"signature-img\" onerror=\"this.style.display='none'\" />" : "") + "\n </div>\n <div style=\"font-size:16px\">" + (customerSignBase64 ? formatDate(new Date()) : "(   /  /  )") + "</div>\n </div>" : "";
|
|
9693
|
-
var numOfRowsPaymentInstruction = (1 + (document.dc ? 1 : 0) + (document.sp && !document.sntx ? 1 : 0) + (document.tx != 0 ? 1 : 0) + (document.ttx && document.tx2 != 0 ? 1 : 0) + (document.sp && document.sntx ? 1 : 0) + (document.ti ? 1 : 0) + (document.ty == 1 || document.ty !== 1 && (document.t1d || document.ttx && document.tx2 > 0 && document.t2d) ? 1 : 0) + (document.sca ? 1 : 0) + (((_document$pm = document.pm) === null || _document$pm === void 0 ? void 0 : _document$pm.length) || 0) + (document.hangingAmount && document.hangingAmount > 0 ? 1 : 0)
|
|
9689
|
+
var numOfRowsPaymentInstruction = (1 + (document.dc ? 1 : 0) + (document.sp && !document.sntx ? 1 : 0) + (document.tx != 0 ? 1 : 0) + (document.ttx && document.tx2 != 0 ? 1 : 0) + (document.sp && document.sntx ? 1 : 0) + (document.ti ? 1 : 0) + (document.ty == 1 || document.ty !== 1 && (document.t1d || document.ttx && document.tx2 > 0 && document.t2d) ? 1 : 0) + (document.sca ? 1 : 0) + (((_document$pm = document.pm) === null || _document$pm === void 0 ? void 0 : _document$pm.length) || 0) + (document.hangingAmount && document.hangingAmount > 0 ? 1 : 0)).toString();
|
|
9694
9690
|
var paymentInstructionDetails = "\n " + (paymentOn ? "<h2 style=\"margin-top: 0; font-size: 18px; font-weight: 700;\">" + (company.r_pi ? company.r_pi : lang["payment_instruction"]) + "</h2>" : "") + "\n " + (paymentOn && company.p1 ? company.p1 + "<br>" : "") + "\n " + (paymentOn && company.p2 ? company.p2 + "<br>" : "") + "\n " + (paymentOn && company.p3 ? company.p3 + "<br>" : "") + "\n ";
|
|
9695
9691
|
var bookipayLinkComponent = bookipayLink && document.ty === 1 && document.ad >= 0.01 ? "<div class=\"invoice-price-left-container " + (hidePayBtnInScreen ? "noInScreen" : "") + "\" style=\"margin-right:60px\">\n <div style=\"margin-bottom: 7px;\">\n <img class=\"card-image\" alt=\"visa\" src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAABQCAYAAADRAH3kAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQ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ZxdXvsc9mHfs9V/0jDYHcDh10T+HXB5XzX37EEb5HsGxUBhjr6ByMIGWg4f/R4d0Pj6O99hiofG5ImcLgxnGrYwRrGn+vull6PGelvB4sYHRAJIBJAhEgAESIBRIgEECESQIRIABEiAUSIBBAhEkCESAARIgFEiAQQIRJAxGgnQJ9oijGHPi4BTor2GHM4CfRLwmIBFAIIFe0yJmAAkKlUKmskAKBSqWoAZAI4DMAk2mfUwuT0cabT544IIGLs4t8DABFd1eolwC4WAAAAAElFTkSuQmCC\">\n </div>\n <a href=\"" + bookipayLink + "\" class=\"btn bookipay-payment-pay-btn\">\n " + (lang["pay_online_now"] || "PAY ONLINE NOW") + "\n </a>\n " + (surcharge ? "<div class=\"surcharge\">" + (lang["impose_surcharge"] ? lang["impose_surcharge"](surcharge) : "A surcharge of " + surcharge + "% will be applied.") + "</div>" : "") + "\n </div>" : "";
|
|
9696
|
-
var html = (!removeHtmlStandardDom ? '<!DOCTYPE html>\n<html>\n <head>\n <meta charset="utf-8">\n <title>Invoice</title>' : "") + "\n " + (isOffline ? "<style>" + bootstrapCss + "</style><style>" + fontawesomeCss + "</style>" : " <link rel=\"stylesheet\" href=\"https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css\" integrity=\"sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh\" crossorigin=\"anonymous\">\n <link href=\"https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css\" rel=\"stylesheet\">") + "\n " + (!removeHtmlStandardDom ? "</head>" : "") + "\n <style>\n * {\n -webkit-print-color-adjust: exact !important;\n color-adjust: exact !important;\n }\n body {\n font-size: 18px;removeHtmlStandardDom\n -webkit-hyphens: auto;\n -ms-hyphens: auto;\n hyphens: auto;\n word-break: break-word;\n }\n .invoice-body {\n background: #fff;\n padding: 30px 50px;\n }\n\n .invoice-company {\n font-size: 20px\n }\n\n .invoice-header {\n /* margin: 0 -50px; */\n background: #f0f3f4;\n padding: 25px 50px;\n }\n .invoice-content {\n padding: 20px 38px 10px;\n }\n .invoice-date,\n .invoice-from,\n .invoice-to {\n /* display: table-cell; */\n /* width: 1% */\n }\n\n .table td, .table th {\n padding: .50rem .75rem;\n }\n\n .invoice-from,\n .invoice-to {\n padding-right: 20px\n }\n\n .invoice-date .date,\n .invoice-from strong,\n .invoice-to strong {\n font-size: 18px;\n font-weight: 600\n }\n\n .invoice-date {\n /* text-align: right; */\n padding-left: 15px\n }\n\n .invoice-price{\n /* background: #f0f3f4; */\n display: table;\n width: 100%\n }\n \n .invoice-price .invoice-price-left,\n .invoice-price .invoice-price-right {\n display: table-cell;\n // padding: 20px 12px 16px;\n font-size: 20px;\n font-weight: 600;\n width: 70%;\n position: relative;\n vertical-align: middle\n }\n\n .invoice-price .invoice-price-row{\n display: table;\n float: left;\n }\n\n .invoice-price .invoice-price-right {\n width: 30%;\n background: #f0f3f4;\n color: black;\n border: 2px solid #f0f3f4;\n font-size: 28px;\n text-align: right;\n vertical-align: bottom;\n font-weight: 300;\n right: 38px;\n padding: 28px 12px 16px;\n }\n\n .bookipay-payment-pay-btn {\n right: 0;\n width: 220px;\n text-align: center;\n border-radius: 5px;\n font-size: 17px;\n font-weight: 700;\n background: #067EED;\n border: none;\n color: white;\n padding-top: 10px;\n padding-bottom: 10px;\n text-transform: uppercase;\n }\n\n .bookipay-payment-pay-btn:hover {\n background: #0571d6;\n color: #fff;\n }\n \n .invoice-price .invoice-price-right .bookipay-payment-with-span {\n font-size: 12px;\n margin-top: 13px;\n margin-bottom: 10px;\n font-size: 12px;\n width: 140px;\n right: 0;\n float: right;\n text-align:center;\n }\n \n .invoice-price .invoice-price-right small {\n display: block;\n opacity: .7;\n position: absolute;\n top: 10px;\n left: 12px;\n font-size: 18px\n }\n \n .invoice-price .invoice-price-right span {\n display: block;\n }\n\n .invoice-footer {\n border-top: 1px solid #ddd;\n padding-top: 10px;\n font-size: 18px\n }\n\n .invoice-note {\n color: #999;\n margin-top: 80px;\n font-size: 85%\n }\n\n\n .btn.btn-white, .btn.btn-white.disabled, .btn.btn-white.disabled:focus, .btn.btn-white.disabled:hover, .btn.btn-white[disabled], .btn.btn-white[disabled]:focus, .btn.btn-white[disabled]:hover {\n color: #2d353c;\n background: #fff;\n border-color: #d9dfe3;\n }\n .table-inline-block{\n display: inline-block;\n }\n \n .page-not-break {\n page-break-before: auto; \n page-break-after: auto; \n page-break-inside: avoid;\n reak-before: auto; \n break-after: auto; \n break-inside: avoid;\n }\n\n @media print {\n .col-md-6 {\n -ms-flex: 0 0 50%;\n flex: 0 0 50%;\n max-width: 50%;\n width:50%;\n float:left\n }\n .mb-md-0 {margin-bottom:0;}\n .text-md-right{text-align: right;}\n .d-md-table-cell { display: table-cell!important; }\n .d-md-block { display: block !important; }\n .d-md-none {display: none !important;}\n @page {\n size: A4;\n margin: 0.66cm 0.66cm 0.66cm 0.66cm;\n }\n body, page, html {\n /*width: 21cm; */\n /*margin: 0; */\n width: 100%;\n box-shadow: 0;\n background-color: #fff;\n display: block;\n }\n .print {\n max-width:100%\n margin: 0 auto 0 auto;\n }\n\n .no-print {\n display: none;\n }\n /* .invoice-body {\n padding:10;\n } */\n #invoice {\n " + (isFromReactnative ? "zoom: 0.8; max-width:calc(38cm - 1.32cm);margin: 0 auto 0 auto;" : "") + "\n }\n\n .invoice-price .invoice-price-right {\n background: #f0f3f4;\n color: black;\n border: 2px solid #f0f3f4;\n }\n \n }\n \n .text-left{\n text-align: left;\n }\n .text-center{\n text-align: center;\n } \n .text-right{\n text-align: right;\n }\n\n @media only screen {\n #invoice {\n margin-top:10px;\n max-width:28cm;\n zoom: 0.8;\n box-shadow: 0 0 0.5cm rgba(0,0,0,0.2);\n margin-right:auto;margin-left:auto;\n background: white;\n }\n .noInScreen{\n display: none;\n }\n }\n\n @media (min-width: 575.99px) {\n .invoice-detail-right {\n max-width: 200px;\n }\n }\n\n .item-last {\n width: 15%;\n }\n\n @media only screen and (max-width: 575.98px) {\n .invoice-price-right{\n width: 290px !important;\n display: block !important;\n }\n .item-last {\n width: 30%\n }\n .invoice-body {\n padding: 30px\n }\n .invoice-header {\n padding: 20px 30px;\n }\n .invoice-content {\n padding: 18px;\n }\n .invoice-price .invoice-price-right {\n right: 18px;\n }\n #invoice-logo {\n max-width: 100%;\n display: block;\n }\n .invoice-date {\n margin-top:10px;\n /*border-top: 1px solid #dee2e6;*/\n }\n }\n\n .table-small td{\n padding: 8px 12px\n }\n .table-invoice-header{\n background: #f0f3f4\n }\n .surcharge {\n margin-top: 3px;\n font-size: 12px;\n color: #999;\n }\n h1,h2,h3,h4 {margin-top:15px}\n h1 {font-size:27px}\n h2 {font-size:22px}\n .card-image {width:45px;}\n .seperate-line{\n border-top: 1px solid #dee2e6;\n margin-top: 20px;\n margin-bottom: 10px;\n }\n \n .signature-img{\n width:220px;\n margin-top:20px;\n max-height: -moz-calc(100% - 20px);\n max-height: -webkit-calc(100% - 20px);\n max-height: -o-cal(100% - 20px);\n max-height: calc(100% - 20px);\n object-fit: contain;\n }\n \n </style>\n " + (!removeHtmlStandardDom ? "<body>" : "") + "\n <div id=\"invoice\" class=\"print\">\n <div class=\"invoice-body\">\n <!-- begin invoice-company -->\n <div class=\"row\">\n <div class=\"col-sm-12 col-md-6 mb-3 mb-md-0\" style=\"padding-top:10px\">\n " + logoContainer + "\n </div>\n <div class=\"col-sm-12 col-md-6 text-md-right\">\n <h1>" + documentName + "</h1>\n <div class=\"text-inverse mb-1\" style=\"font-size: 20px;\">\n <strong>" + company.c + "</strong>\n </div>\n <address class=\"m-t-5 m-b-5\">\n <div class=\"mb-2\">\n " + (companyAddress.address1 ? "<div>" + companyAddress.address1 + "</div>" : "") + "\n " + (companyAddress.address2 ? "<div>" + companyAddress.address2 + "</div>" : "") + "\n " + (companyAddress.address3 ? "<div>" + companyAddress.address3 + "</div>" : "") + "\n " + (companyAddress.city || companyAddress.state || companyAddress.zip ? "<div>" + ((companyAddress.city ? companyAddress.city + " " : "") + (companyAddress.state ? companyAddress.state + " " : "") + (companyAddress.zip ? companyAddress.zip + " " : "")) + "</div>" : "") + "\n " + (companyAddress.country ? "<div>" + companyAddress.country + "</div>" : "") + "\n </div>\n " + (company.ai ? "<div>" + company.ai + "</div>" : "") + "\n " + (company.ph ? "<div>" + company.ph + "</div>" : "") + "\n " + (company.de ? "<div>" + company.de + "</div>" : "") + "\n " + (company.tfn ? "<div>" + ((company.bn ? company.bn : "Tax no.") + " : " + company.tfn) + "</div>" : "") + "\n </address>\n </div>\n </div>\n </div>\n <!-- end invoice-company -->\n <!-- begin invoice-header -->\n <div class=\"invoice-header\">\n <div class=\"row\">\n <div class=\"invoice-to col-sm-12 col-md-6\">\n <strong>" + (company.r_bt ? company.r_bt : lang["bill_to"]) + "</strong>\n <div class=\"text-inverse mb-1\">\n <small style=\"font-size: 18px;\">" + (customer ? customer.c : "") + "</small>\n </div>\n <address class=\"m-t-5 m-b-5\">\n " + (customerAddress.address1 ? "<div>" + customerAddress.address1 + "</div>" : "") + "\n " + (customerAddress.address2 ? "<div>" + customerAddress.address2 + "</div>" : "") + "\n " + (customerAddress.address3 ? "<div>" + customerAddress.address3 + "</div>" : "") + "\n " + (customerAddress.city || customerAddress.state || customerAddress.zip ? "<div>" + ((customerAddress.city ? customerAddress.city + " " : "") + (customerAddress.state ? customerAddress.state + " " : "") + (customerAddress.zip ? customerAddress.zip + " " : "")) + "</div>" : "") + "\n " + (customerAddress.country ? "<div>" + customerAddress.country + "</div>" : "") + "\n " + (customer && customer.tfn ? "<div>" + (customer.tfn ? (company.bn || "Tax no.") + " : " + customer.tfn : "") + "</div>" : "") + "\n " + (customer && customer.ph ? "<div>" + customer.ph + "</div>" : "") + "\n " + (customer && customer.ai ? "<div>" + customer.ai + "</div>" : "") + "\n </address>\n\n " + (shippingAddressExists ? "<strong stryle=\"margin-top:10px\">" + (company.r_st ? company.r_st : lang.ship_to) + "</strong>" : "") + "\n " + (shippingAddressExists ? "\n <address class=\"m-t-5 m-b-5\">\n " + (customerShippingAddress.address1 ? "<div>" + customerShippingAddress.address1 + "</div>" : "") + "\n " + (customerShippingAddress.address2 ? "<div>" + customerShippingAddress.address2 + "</div>" : "") + "\n " + (customerShippingAddress.address3 ? "<div>" + customerShippingAddress.address3 + "</div>" : "") + "\n " + (customerShippingAddress.city || customerShippingAddress.state || customerShippingAddress.zip ? "<div>" + ((customerShippingAddress.city ? customerShippingAddress.city + " " : "") + (customerShippingAddress.state ? customerShippingAddress.state + " " : "") + (customerShippingAddress.zip ? customerShippingAddress.zip + " " : "")) + "</div>" : "") + "\n " + (customerShippingAddress.country ? "<div>" + customerShippingAddress.country + "</div>" : "") + "\n " + (document.asi ? "<div>" + document.asi + "</div>" : "") + "\n </address>\n " : "") + "\n </div>\n\n <div class=\"invoice-date col-sm-12 col-md-6\">\n <div class=\"row text-md-right\">\n <div class=\"col-6 col-md\">\n <strong>" + documentName + " #</strong>\n </div>\n <div class=\"col-6 col-md invoice-detail-right\">" + (document.no ? document.no : "") + "</div>\n </div>\n " + (document.proposal && document.proposal.no ? "<div class=\"row text-md-right\">\n <div class=\"col-6 col-md\">\n <strong>Proposal #</strong>\n </div>\n <div class=\"col-6 col-md invoice-detail-right\">\n " + document.proposal.no + "\n </div>\n </div>" : "") + "\n <div class=\"row text-md-right\">\n <div class=\"col-6 col-md\">\n <strong>" + (company.r_d ? company.r_d : lang["date"]) + "</strong>\n </div>\n <div class=\"col-6 col-md invoice-detail-right\">" + formatDate(document.d) + "</div>\n </div>\n " + (document.ty == 1 && !document.rd ? "<div class=\"row text-md-right\">\n <div class=\"col-6 col-md\">\n <strong>" + (company.r_dd ? company.r_dd : lang["due_date"]) + "</strong>\n </div>\n <div class=\"col-6 col-md invoice-detail-right\">\n " + (document.dd ? formatDate(document.dd) : formatDate(new Date(document.d).setDate(new Date(document.d).getDate() + parseInt(document.di)))) + "\n </div>\n </div>" : "") + "\n " + (document.pon ? "<div class=\"row text-md-right\">\n <div class=\"col-6 col-md\">\n <strong>" + (company.r_po ? company.r_po : lang["po_number"]) + "</strong>\n </div>\n <div class=\"col-6 col-md invoice-detail-right\">" + document.pon + "</div>\n </div>\n " : "") + "\n </div>\n </div>\n </div>\n <!-- end invoice-header -->\n <!-- begin invoice-content -->\n <div class=\"invoice-content\">\n <div class=\"table-responsive\">\n <table class=\"table table-invoice\">\n <thead>\n <tr class=\"table table-invoice\">\n <th class=\"text-left\">" + (company.r_it ? company.r_it : lang["item"]) + "</th>\n <th class=\"text-center d-none d-md-table-cell\" width=\"15%\">" + (document.um ? document.um : company.r_q ? company.r_q : lang["quantity"]) + "</th>\n <th class=\"text-right d-none d-md-table-cell\" width=\"15%\">" + (company.r_p ? company.r_p : lang["price"]) + "</th>\n " + (discountOnItem ? "<th class=\"text-right d-none d-md-table-cell\" width=\"15%\">" + (company.r_dc ? company.r_dc : lang["discount"]) + "</th>" : "") + "\n <th class=\"text-right item-last\">" + (company.r_a ? company.r_a : lang["amount"]) + "</th>\n </tr>\n </thead>\n <tbody>\n " + itemsContainer + "\n </tbody>\n </table>\n </div>\n \n <hr />\n <div class=\"row\">\n <div class=\"col-12\">\n <table class=\"table table-borderless table-small\">\n <tbody>\n <tr>\n <td class=\"d-none d-md-table-cell\" rowspan=\"" + numOfRowsPaymentInstruction + "\">\n " + (paymentOn ? paymentInstructionDetails : "") + "\n </td>\n <td class=\"text-md-right\" width=\"22%\">" + (company.r_sb ? company.r_sb : lang["subtotal"]) + "</td>\n <td class=\"text-right\" width=\"22%\">" + FormatCurrency$1(document.st, company.cr, company.la, company.cf) + "</td>\n </tr>\n " + (document.dc ? "<tr>\n <td class=\"text-md-right\" width=\"22%\">" + ((company.r_dc ? company.r_dc : lang["discount"]) + (document.dcpo && document.dcp ? " (" + document.dcp + "%)" : "")) + "</td>\n <td class=\"text-right\" width=\"22%\">" + ("(" + FormatCurrency$1(document.dc, company.cr, company.la, company.cf) + ")") + "</td>\n </tr>" : "") + "\n " + (document.sp && !document.sntx ? "<tr>\n <td class=\"text-md-right\" width=\"22%\">" + (company.r_sp ? company.r_sp : lang["shipping"]) + "</td>\n <td class=\"text-right\" width=\"22%\">" + FormatCurrency$1(document.sp, company.cr, company.la, company.cf) + "</td>\n </tr>" : "") + "\n " + (document.tx != 0 ? "<tr>\n <td class=\"text-md-right\" width=\"22%\">" + (taxName1 + taxIncluded1 + "(" + document.tp + "%)") + "</td>\n <td class=\"text-right\" width=\"22%\">" + ((document.t1d ? "(" : "") + FormatCurrency$1(document.tx, company.cr, company.la, company.cf) + (document.t1d ? ")" : "")) + "</td>\n </tr>" : "") + "\n " + (document.ttx && document.tx2 != 0 ? "<tr>\n <td class=\"text-md-right\" width=\"22%\">" + (taxName2 + taxIncluded2 + "(" + document.tp2 + "%)") + "</td>\n <td class=\"text-right\" width=\"22%\">" + ((document.t2d ? "(" : "") + FormatCurrency$1(document.tx2, company.cr, company.la, company.cf) + (document.t2d ? ")" : "")) + "</td>\n </tr>" : "") + "\n " + (document.sp && document.sntx ? "<tr>\n <td class=\"text-md-right\" width=\"22%\">" + (company.r_sp ? company.r_sp : lang["shipping"]) + "</td>\n <td class=\"text-right\" width=\"22%\">" + FormatCurrency$1(document.sp, company.cr, company.la, company.cf) + "</td>\n </tr>" : "") + "\n " + (document.ti && !document.t1d && !document.t2d ? "<tr>\n <td class=\"text-md-right\" width=\"22%\" style=\"border-top: 1px solid #ddd\">" + (company.r_n ? company.r_n : lang["net"]) + "</td>\n <td class=\"text-right\" width=\"22%\" style=\"border-top: 1px solid #ddd\">" + FormatCurrency$1(document.tt - (document.tx || 0) - (document.tx2 || 0), company.cr, company.la, company.cf) + "</td>\n </tr>" : "") + "\n " + (document.ty == 1 || document.ty !== 1 && (document.t1d || document.ttx && document.tx2 > 0 && document.t2d) ? "<tr>\n <td class=\"text-md-right\" width=\"22%\" style=\"border-bottom: 1px solid #ddd\">" + (company.r_tt ? company.r_tt : lang["total"]) + "</td>\n <td class=\"text-right\" width=\"22%\" style=\"border-bottom: 1px solid #ddd\">" + FormatCurrency$1(document.tt ? document.tt : 0, company.cr, company.la, company.cf) + "</td>\n </tr>" : "") + "\n " + (document.sca ? "<tr>\n <td class=\"text-md-right\" width=\"22%\">" + lang["credit_card_surcharge"] + "</td>\n <td class=\"text-right\" width=\"22%\">" + FormatCurrency$1(document.sca, company.cr, company.la, company.cf) + "</td>\n </tr>" : "") + "\n " + (document.hangingAmount && document.hangingAmount > 0 ? "<tr>\n <td class=\"text-md-right\" width=\"22%\" style=\"border-top: 1px solid #ddd\">" + (company.payment_in_progress ? company.payment_in_progress : lang.payment_in_progress) + "</td>\n <td class=\"text-right\" width=\"22%\" style=\"border-top: 1px solid #ddd\">" + FormatCurrency$1(document.hangingAmount || 0, company.cr, company.la, company.cf) + "</td>\n </tr>" : "") + "\n " + (document.ty == 1 && document.pma && document.pm ? paymentContainer : "") + "\n " + (document.ty == 1 && isDeposit && document.depositAmount > 0 ? "\n <tr>\n <td class=\"text-md-right\" width=\"22%\" style=\"border-top: 1px solid #ddd\">" + (document.ty == 1 ? company.r_ad ? company.r_ad : lang["amount_due"] : company.r_gt ? company.r_gt : lang["grand_total"]) + "</td>\n <td class=\"text-right\" width=\"22%\" style=\"border-top: 1px solid #ddd\">" + FormatCurrency$1(document.ad - (document.hangingAmount || 0), company.cr, company.la, company.cf) + "</td>\n </tr>" : "") + "\n </tbody>\n </table>\n </div>\n </div>\n </div>\n <!-- end invoice-content -->\n \n \n\n <!-- begin invoice price -->\n <div class=\"invoice-price page-not-break\">\n <div class=\"invoice-price-left text-right\">\n <!-- begin bookipay payment -->\n <div class=\"d-none d-md-block\">\n " + bookipayLinkComponent + "\n </div>\n <!-- end bookipay payment -->\n </div>\n <div class=\"invoice-price-right\">\n <small>" + (document.ty == 1 && isDeposit && document.depositAmount > 0 ? company.r_deposit_due ? company.r_deposit_due : lang["deposit_due"] : document.ty == 1 ? company.r_ad ? company.r_ad : lang["amount_due"] : company.r_gt ? company.r_gt : lang["grand_total"]) + "</small>\n <span class=\"f-w-600\">" + (document.ty == 1 && isDeposit && document.depositAmount > 0 ? FormatCurrency$1(document.depositAmount, company.cr, company.la, company.cf) : FormatCurrency$1(document.ad - (document.hangingAmount || 0), company.cr, company.la, company.cf)) + "</span>\n \n </div>\n </div>\n <!-- end invoice price -->\n\n " + (paymentOn || bookipayLinkComponent ? "<div class=\"invoice-body\">\n <div class=\"d-block d-md-none\">\n " + (paymentOn ? paymentInstructionDetails : "") + "\n " + (bookipayLinkComponent ? "<div class=\"mt-4\">" + bookipayLinkComponent + "</div>" : "") + "\n </div>\n </div>" : "") + "\n\n <div class=\"invoice-body\">\n\n <!-- begin invoice-note -->\n " + (document.noteHtml ? "<div class=\"mt-1\">\n " + document.noteHtml + "\n </div>" : (document.nt ? "<div class=\"mt-1\">\n <h2>" + (company.r_nt ? company.r_nt : lang["note"]) + "</h2>\n " + nl2br(document.nt) + "\n </div>" : "") + "\n " + (document.tc ? "<div class=\"mt-1\">\n <h2>" + (company.r_tc ? company.r_tc : lang["terms"]) + "</h2>\n " + nl2br(document.tc) + "\n </div>" : "")) + "\n <!-- end invoice-note -->\n \n <!--- begin company signature -->\n <!-- begin invoice-signature -->\n " + (document.cs || document.sd ? "\n <div class=\"seperate-line\"></div>\n <div>" + (company.r_bs || lang["by_signing"] || "") + "</div>\n <div class=\"row mt-1\">\n " + (signatureContainer || "") + "\n " + (clientSignature || "") + "\n </div>" : "") + "\n <!-- end invoice-signature-->\n\n <!-- begin invoice attachments -->\n\n " + (attachments && attachments.length > 0 ? "<div style=\"text-align: center\">\n " + attachmentContainer + "\n </div>" : "") + "\n <!-- end invoice attachment -->\n </div>\n </div>\n\n" + (!removeHtmlStandardDom ? "</body></html>" : "") + "\n";
|
|
9692
|
+
var html = (!removeHtmlStandardDom ? '<!DOCTYPE html>\n<html>\n <head>\n <meta charset="utf-8">\n <title>Invoice</title>' : "") + "\n " + (isOffline ? "<style>" + bootstrapCss + "</style><style>" + fontawesomeCss + "</style>" : " <link rel=\"stylesheet\" href=\"https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css\" integrity=\"sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh\" crossorigin=\"anonymous\">\n <link href=\"https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css\" rel=\"stylesheet\">") + "\n " + (!removeHtmlStandardDom ? "</head>" : "") + "\n <style>\n * {\n -webkit-print-color-adjust: exact !important;\n color-adjust: exact !important;\n }\n body {\n font-size: 18px;removeHtmlStandardDom\n -webkit-hyphens: auto;\n -ms-hyphens: auto;\n hyphens: auto;\n word-break: break-word;\n }\n .invoice-body {\n background: #fff;\n padding: 30px 50px;\n }\n\n .invoice-company {\n font-size: 20px\n }\n\n .invoice-header {\n /* margin: 0 -50px; */\n background: #f0f3f4;\n padding: 25px 50px;\n }\n .invoice-content {\n padding: 20px 38px 10px;\n }\n .invoice-date,\n .invoice-from,\n .invoice-to {\n /* display: table-cell; */\n /* width: 1% */\n }\n\n .table td, .table th {\n padding: .50rem .75rem;\n }\n\n .invoice-from,\n .invoice-to {\n padding-right: 20px\n }\n\n .invoice-date .date,\n .invoice-from strong,\n .invoice-to strong {\n font-size: 18px;\n font-weight: 600\n }\n\n .invoice-date {\n /* text-align: right; */\n padding-left: 15px\n }\n\n .invoice-price{\n /* background: #f0f3f4; */\n display: table;\n width: 100%\n }\n \n .invoice-price .invoice-price-left,\n .invoice-price .invoice-price-right {\n display: table-cell;\n // padding: 20px 12px 16px;\n font-size: 20px;\n font-weight: 600;\n width: 70%;\n position: relative;\n vertical-align: middle\n }\n\n .invoice-price .invoice-price-row{\n display: table;\n float: left;\n }\n\n .invoice-price .invoice-price-right {\n width: 30%;\n background: #f0f3f4;\n color: black;\n border: 2px solid #f0f3f4;\n font-size: 28px;\n text-align: right;\n vertical-align: bottom;\n font-weight: 300;\n right: 38px;\n padding: 28px 12px 16px;\n }\n\n .bookipay-payment-pay-btn {\n right: 0;\n width: 220px;\n text-align: center;\n border-radius: 5px;\n font-size: 17px;\n font-weight: 700;\n background: #067EED;\n border: none;\n color: white;\n padding-top: 10px;\n padding-bottom: 10px;\n text-transform: uppercase;\n }\n\n .bookipay-payment-pay-btn:hover {\n background: #0571d6;\n color: #fff;\n }\n \n .invoice-price .invoice-price-right .bookipay-payment-with-span {\n font-size: 12px;\n margin-top: 13px;\n margin-bottom: 10px;\n font-size: 12px;\n width: 140px;\n right: 0;\n float: right;\n text-align:center;\n }\n \n .invoice-price .invoice-price-right small {\n display: block;\n opacity: .7;\n position: absolute;\n top: 10px;\n left: 12px;\n font-size: 18px\n }\n \n .invoice-price .invoice-price-right span {\n display: block;\n }\n\n .invoice-footer {\n border-top: 1px solid #ddd;\n padding-top: 10px;\n font-size: 18px\n }\n\n .invoice-note {\n color: #999;\n margin-top: 80px;\n font-size: 85%\n }\n\n\n .btn.btn-white, .btn.btn-white.disabled, .btn.btn-white.disabled:focus, .btn.btn-white.disabled:hover, .btn.btn-white[disabled], .btn.btn-white[disabled]:focus, .btn.btn-white[disabled]:hover {\n color: #2d353c;\n background: #fff;\n border-color: #d9dfe3;\n }\n .table-inline-block{\n display: inline-block;\n }\n \n .page-not-break {\n page-break-before: auto; \n page-break-after: auto; \n page-break-inside: avoid;\n reak-before: auto; \n break-after: auto; \n break-inside: avoid;\n }\n\n @media print {\n .col-md-6 {\n -ms-flex: 0 0 50%;\n flex: 0 0 50%;\n max-width: 50%;\n width:50%;\n float:left\n }\n .mb-md-0 {margin-bottom:0;}\n .text-md-right{text-align: right;}\n .d-md-table-cell { display: table-cell!important; }\n .d-md-block { display: block !important; }\n .d-md-none {display: none !important;}\n @page {\n size: A4;\n margin: 0.66cm 0.66cm 0.66cm 0.66cm;\n }\n body, page, html {\n /*width: 21cm; */\n /*margin: 0; */\n width: 100%;\n box-shadow: 0;\n background-color: #fff;\n display: block;\n }\n .print {\n max-width:100%\n margin: 0 auto 0 auto;\n }\n\n .no-print {\n display: none;\n }\n /* .invoice-body {\n padding:10;\n } */\n #invoice {\n " + (isFromReactnative ? "zoom: 0.8; max-width:calc(38cm - 1.32cm);margin: 0 auto 0 auto;" : "") + "\n }\n\n .invoice-price .invoice-price-right {\n background: #f0f3f4;\n color: black;\n border: 2px solid #f0f3f4;\n }\n \n }\n \n .text-left{\n text-align: left;\n }\n .text-center{\n text-align: center;\n } \n .text-right{\n text-align: right;\n }\n\n @media only screen {\n #invoice {\n margin-top:10px;\n max-width:28cm;\n zoom: 0.8;\n box-shadow: 0 0 0.5cm rgba(0,0,0,0.2);\n margin-right:auto;margin-left:auto;\n background: white;\n }\n .noInScreen{\n display: none;\n }\n }\n\n @media (min-width: 575.99px) {\n .invoice-detail-right {\n max-width: 200px;\n }\n }\n\n .item-last {\n width: 15%;\n }\n\n @media only screen and (max-width: 575.98px) {\n .invoice-price-right{\n width: 290px !important;\n display: block !important;\n }\n .item-last {\n width: 30%\n }\n .invoice-body {\n padding: 30px\n }\n .invoice-header {\n padding: 20px 30px;\n }\n .invoice-content {\n padding: 18px;\n }\n .invoice-price .invoice-price-right {\n right: 18px;\n }\n #invoice-logo {\n max-width: 100%;\n display: block;\n }\n .invoice-date {\n margin-top:10px;\n /*border-top: 1px solid #dee2e6;*/\n }\n }\n\n .table-small td{\n padding: 8px 12px\n }\n .table-invoice-header{\n background: #f0f3f4\n }\n .surcharge {\n margin-top: 3px;\n font-size: 12px;\n color: #999;\n }\n h1,h2,h3,h4 {margin-top:15px}\n h1 {font-size:27px}\n h2 {font-size:22px}\n .card-image {width:45px;}\n .seperate-line{\n border-top: 1px solid #dee2e6;\n margin-top: 20px;\n margin-bottom: 10px;\n }\n \n .signature-img{\n width:220px;\n margin-top:20px;\n max-height: -moz-calc(100% - 20px);\n max-height: -webkit-calc(100% - 20px);\n max-height: -o-cal(100% - 20px);\n max-height: calc(100% - 20px);\n object-fit: contain;\n }\n \n </style>\n " + (!removeHtmlStandardDom ? "<body>" : "") + "\n <div id=\"invoice\" class=\"print\">\n <div class=\"invoice-body\">\n <!-- begin invoice-company -->\n <div class=\"row\">\n <div class=\"col-sm-12 col-md-6 mb-3 mb-md-0\" style=\"padding-top:10px\">\n " + logoContainer + "\n </div>\n <div class=\"col-sm-12 col-md-6 text-md-right\">\n <h1>" + documentName + "</h1>\n <div class=\"text-inverse mb-1\" style=\"font-size: 20px;\">\n <strong>" + company.c + "</strong>\n </div>\n <address class=\"m-t-5 m-b-5\">\n <div class=\"mb-2\">\n " + (companyAddress.address1 ? "<div>" + companyAddress.address1 + "</div>" : "") + "\n " + (companyAddress.address2 ? "<div>" + companyAddress.address2 + "</div>" : "") + "\n " + (companyAddress.address3 ? "<div>" + companyAddress.address3 + "</div>" : "") + "\n " + (companyAddress.city || companyAddress.state || companyAddress.zip ? "<div>" + ((companyAddress.city ? companyAddress.city + " " : "") + (companyAddress.state ? companyAddress.state + " " : "") + (companyAddress.zip ? companyAddress.zip + " " : "")) + "</div>" : "") + "\n " + (companyAddress.country ? "<div>" + companyAddress.country + "</div>" : "") + "\n </div>\n " + (company.ai ? "<div>" + company.ai + "</div>" : "") + "\n " + (company.ph ? "<div>" + company.ph + "</div>" : "") + "\n " + (company.de ? "<div>" + company.de + "</div>" : "") + "\n " + (company.tfn ? "<div>" + ((company.bn ? company.bn : "Tax no.") + " : " + company.tfn) + "</div>" : "") + "\n </address>\n </div>\n </div>\n </div>\n <!-- end invoice-company -->\n <!-- begin invoice-header -->\n <div class=\"invoice-header\">\n <div class=\"row\">\n <div class=\"invoice-to col-sm-12 col-md-6\">\n <strong>" + (company.r_bt ? company.r_bt : lang["bill_to"]) + "</strong>\n <div class=\"text-inverse mb-1\">\n <small style=\"font-size: 18px;\">" + (customer ? customer.c : "") + "</small>\n </div>\n <address class=\"m-t-5 m-b-5\">\n " + (customerAddress.address1 ? "<div>" + customerAddress.address1 + "</div>" : "") + "\n " + (customerAddress.address2 ? "<div>" + customerAddress.address2 + "</div>" : "") + "\n " + (customerAddress.address3 ? "<div>" + customerAddress.address3 + "</div>" : "") + "\n " + (customerAddress.city || customerAddress.state || customerAddress.zip ? "<div>" + ((customerAddress.city ? customerAddress.city + " " : "") + (customerAddress.state ? customerAddress.state + " " : "") + (customerAddress.zip ? customerAddress.zip + " " : "")) + "</div>" : "") + "\n " + (customerAddress.country ? "<div>" + customerAddress.country + "</div>" : "") + "\n " + (customer && customer.tfn ? "<div>" + (customer.tfn ? (company.bn || "Tax no.") + " : " + customer.tfn : "") + "</div>" : "") + "\n " + (customer && customer.ph ? "<div>" + customer.ph + "</div>" : "") + "\n " + (customer && customer.ai ? "<div>" + customer.ai + "</div>" : "") + "\n </address>\n\n " + (shippingAddressExists ? "<strong stryle=\"margin-top:10px\">" + (company.r_st ? company.r_st : lang.ship_to) + "</strong>" : "") + "\n " + (shippingAddressExists ? "\n <address class=\"m-t-5 m-b-5\">\n " + (customerShippingAddress.address1 ? "<div>" + customerShippingAddress.address1 + "</div>" : "") + "\n " + (customerShippingAddress.address2 ? "<div>" + customerShippingAddress.address2 + "</div>" : "") + "\n " + (customerShippingAddress.address3 ? "<div>" + customerShippingAddress.address3 + "</div>" : "") + "\n " + (customerShippingAddress.city || customerShippingAddress.state || customerShippingAddress.zip ? "<div>" + ((customerShippingAddress.city ? customerShippingAddress.city + " " : "") + (customerShippingAddress.state ? customerShippingAddress.state + " " : "") + (customerShippingAddress.zip ? customerShippingAddress.zip + " " : "")) + "</div>" : "") + "\n " + (customerShippingAddress.country ? "<div>" + customerShippingAddress.country + "</div>" : "") + "\n " + (document.asi ? "<div>" + document.asi + "</div>" : "") + "\n </address>\n " : "") + "\n </div>\n\n <div class=\"invoice-date col-sm-12 col-md-6\">\n <div class=\"row text-md-right\">\n <div class=\"col-6 col-md\">\n <strong>" + documentName + " #</strong>\n </div>\n <div class=\"col-6 col-md invoice-detail-right\">" + (document.no ? document.no : "") + "</div>\n </div>\n " + (document.proposal && document.proposal.no ? "<div class=\"row text-md-right\">\n <div class=\"col-6 col-md\">\n <strong>Proposal #</strong>\n </div>\n <div class=\"col-6 col-md invoice-detail-right\">\n " + document.proposal.no + "\n </div>\n </div>" : "") + "\n <div class=\"row text-md-right\">\n <div class=\"col-6 col-md\">\n <strong>" + (company.r_d ? company.r_d : lang["date"]) + "</strong>\n </div>\n <div class=\"col-6 col-md invoice-detail-right\">" + formatDate(document.d) + "</div>\n </div>\n " + (document.ty == 1 && !document.rd ? "<div class=\"row text-md-right\">\n <div class=\"col-6 col-md\">\n <strong>" + (company.r_dd ? company.r_dd : lang["due_date"]) + "</strong>\n </div>\n <div class=\"col-6 col-md invoice-detail-right\">\n " + (document.dd ? formatDate(document.dd) : formatDate(new Date(document.d).setDate(new Date(document.d).getDate() + parseInt(document.di)))) + "\n </div>\n </div>" : "") + "\n " + (document.pon ? "<div class=\"row text-md-right\">\n <div class=\"col-6 col-md\">\n <strong>" + (company.r_po ? company.r_po : lang["po_number"]) + "</strong>\n </div>\n <div class=\"col-6 col-md invoice-detail-right\">" + document.pon + "</div>\n </div>\n " : "") + "\n </div>\n </div>\n </div>\n <!-- end invoice-header -->\n <!-- begin invoice-content -->\n <div class=\"invoice-content\">\n <div class=\"table-responsive\">\n <table class=\"table table-invoice\">\n <thead>\n <tr class=\"table table-invoice\">\n <th class=\"text-left\">" + (company.r_it ? company.r_it : lang["item"]) + "</th>\n <th class=\"text-center d-none d-md-table-cell\" width=\"15%\">" + (document.um ? document.um : company.r_q ? company.r_q : lang["quantity"]) + "</th>\n <th class=\"text-right d-none d-md-table-cell\" width=\"15%\">" + (company.r_p ? company.r_p : lang["price"]) + "</th>\n " + (discountOnItem ? "<th class=\"text-right d-none d-md-table-cell\" width=\"15%\">" + (company.r_dc ? company.r_dc : lang["discount"]) + "</th>" : "") + "\n <th class=\"text-right item-last\">" + (company.r_a ? company.r_a : lang["amount"]) + "</th>\n </tr>\n </thead>\n <tbody>\n " + itemsContainer + "\n </tbody>\n </table>\n </div>\n \n <hr />\n <div class=\"row\">\n <div class=\"col-12\">\n <table class=\"table table-borderless table-small\">\n <tbody>\n <tr>\n <td class=\"d-none d-md-table-cell\" rowspan=\"" + numOfRowsPaymentInstruction + "\">\n " + (paymentOn ? paymentInstructionDetails : "") + "\n </td>\n <td class=\"text-md-right\" width=\"22%\">" + (company.r_sb ? company.r_sb : lang["subtotal"]) + "</td>\n <td class=\"text-right\" width=\"22%\">" + FormatCurrency$1(document.st, company.cr, company.la, company.cf) + "</td>\n </tr>\n " + (document.dc ? "<tr>\n <td class=\"text-md-right\" width=\"22%\">" + ((company.r_dc ? company.r_dc : lang["discount"]) + (document.dcpo && document.dcp ? " (" + document.dcp + "%)" : "")) + "</td>\n <td class=\"text-right\" width=\"22%\">" + ("(" + FormatCurrency$1(document.dc, company.cr, company.la, company.cf) + ")") + "</td>\n </tr>" : "") + "\n " + (document.sp && !document.sntx ? "<tr>\n <td class=\"text-md-right\" width=\"22%\">" + (company.r_sp ? company.r_sp : lang["shipping"]) + "</td>\n <td class=\"text-right\" width=\"22%\">" + FormatCurrency$1(document.sp, company.cr, company.la, company.cf) + "</td>\n </tr>" : "") + "\n " + (document.tx != 0 ? "<tr>\n <td class=\"text-md-right\" width=\"22%\">" + (taxName1 + taxIncluded1 + "(" + document.tp + "%)") + "</td>\n <td class=\"text-right\" width=\"22%\">" + ((document.t1d ? "(" : "") + FormatCurrency$1(document.tx, company.cr, company.la, company.cf) + (document.t1d ? ")" : "")) + "</td>\n </tr>" : "") + "\n " + (document.ttx && document.tx2 != 0 ? "<tr>\n <td class=\"text-md-right\" width=\"22%\">" + (taxName2 + taxIncluded2 + "(" + document.tp2 + "%)") + "</td>\n <td class=\"text-right\" width=\"22%\">" + ((document.t2d ? "(" : "") + FormatCurrency$1(document.tx2, company.cr, company.la, company.cf) + (document.t2d ? ")" : "")) + "</td>\n </tr>" : "") + "\n " + (document.sp && document.sntx ? "<tr>\n <td class=\"text-md-right\" width=\"22%\">" + (company.r_sp ? company.r_sp : lang["shipping"]) + "</td>\n <td class=\"text-right\" width=\"22%\">" + FormatCurrency$1(document.sp, company.cr, company.la, company.cf) + "</td>\n </tr>" : "") + "\n " + (document.ti && !document.t1d && !document.t2d ? "<tr>\n <td class=\"text-md-right\" width=\"22%\" style=\"border-top: 1px solid #ddd\">" + (company.r_n ? company.r_n : lang["net"]) + "</td>\n <td class=\"text-right\" width=\"22%\" style=\"border-top: 1px solid #ddd\">" + FormatCurrency$1(document.tt - (document.tx || 0) - (document.tx2 || 0), company.cr, company.la, company.cf) + "</td>\n </tr>" : "") + "\n " + (document.ty == 1 || document.ty !== 1 && (document.t1d || document.ttx && document.tx2 > 0 && document.t2d) ? "<tr>\n <td class=\"text-md-right\" width=\"22%\" style=\"border-bottom: 1px solid #ddd\">" + (company.r_tt ? company.r_tt : lang["total"]) + "</td>\n <td class=\"text-right\" width=\"22%\" style=\"border-bottom: 1px solid #ddd\">" + FormatCurrency$1(document.tt ? document.tt : 0, company.cr, company.la, company.cf) + "</td>\n </tr>" : "") + "\n " + (document.sca ? "<tr>\n <td class=\"text-md-right\" width=\"22%\">" + lang["credit_card_surcharge"] + "</td>\n <td class=\"text-right\" width=\"22%\">" + FormatCurrency$1(document.sca, company.cr, company.la, company.cf) + "</td>\n </tr>" : "") + "\n " + (document.hangingAmount && document.hangingAmount > 0 ? "<tr>\n <td class=\"text-md-right\" width=\"22%\" style=\"border-top: 1px solid #ddd\">" + (company.payment_in_progress ? company.payment_in_progress : lang.payment_in_progress) + "</td>\n <td class=\"text-right\" width=\"22%\" style=\"border-top: 1px solid #ddd\">" + FormatCurrency$1(document.hangingAmount || 0, company.cr, company.la, company.cf) + "</td>\n </tr>" : "") + "\n " + (document.ty == 1 && document.pma && document.pm ? paymentContainer : "") + "\n </tbody>\n </table>\n </div>\n </div>\n </div>\n <!-- end invoice-content -->\n\n\n <!-- begin invoice price -->\n <div class=\"invoice-price page-not-break\">\n <div class=\"invoice-price-left text-right\">\n <!-- begin bookipay payment -->\n <div class=\"d-none d-md-block\">\n " + bookipayLinkComponent + "\n </div>\n <!-- end bookipay payment -->\n </div>\n <div class=\"invoice-price-right\">\n <small>" + (document.ty == 1 ? company.r_ad ? company.r_ad : lang["amount_due"] : company.r_gt ? company.r_gt : lang["grand_total"]) + "</small>\n <span class=\"f-w-600\">" + (isDeposit ? FormatCurrency$1(document.depositAmount, company.cr, company.la, company.cf) : FormatCurrency$1(document.ad - (document.hangingAmount || 0), company.cr, company.la, company.cf)) + "</span>\n \n </div>\n </div>\n <!-- end invoice price -->\n\n " + (paymentOn || bookipayLinkComponent ? "<div class=\"invoice-body\">\n <div class=\"d-block d-md-none\">\n " + (paymentOn ? paymentInstructionDetails : "") + "\n " + (bookipayLinkComponent ? "<div class=\"mt-4\">" + bookipayLinkComponent + "</div>" : "") + "\n </div>\n </div>" : "") + "\n\n <div class=\"invoice-body\">\n\n <!-- begin invoice-note -->\n " + (document.noteHtml ? "<div class=\"mt-1\">\n " + document.noteHtml + "\n </div>" : (document.nt ? "<div class=\"mt-1\">\n <h2>" + (company.r_nt ? company.r_nt : lang["note"]) + "</h2>\n " + nl2br(document.nt) + "\n </div>" : "") + "\n " + (document.tc ? "<div class=\"mt-1\">\n <h2>" + (company.r_tc ? company.r_tc : lang["terms"]) + "</h2>\n " + nl2br(document.tc) + "\n </div>" : "")) + "\n <!-- end invoice-note -->\n \n <!--- begin company signature -->\n <!-- begin invoice-signature -->\n " + (document.cs || document.sd ? "\n <div class=\"seperate-line\"></div>\n <div>" + (company.r_bs || lang["by_signing"] || "") + "</div>\n <div class=\"row mt-1\">\n " + (signatureContainer || "") + "\n " + (clientSignature || "") + "\n </div>" : "") + "\n <!-- end invoice-signature-->\n\n <!-- begin invoice attachments -->\n\n " + (attachments && attachments.length > 0 ? "<div style=\"text-align: center\">\n " + attachmentContainer + "\n </div>" : "") + "\n <!-- end invoice attachment -->\n </div>\n </div>\n\n" + (!removeHtmlStandardDom ? "</body></html>" : "") + "\n";
|
|
9697
9693
|
return {
|
|
9698
9694
|
html: html,
|
|
9699
9695
|
timeZone: timeZone,
|
|
@@ -9769,7 +9765,7 @@ var CustomerCompat = function CustomerCompat(customer) {
|
|
|
9769
9765
|
|
|
9770
9766
|
var InvoiceCompat = function InvoiceCompat(doc) {
|
|
9771
9767
|
if (doc == null) return null;
|
|
9772
|
-
var mapping = new Map([["address1", "a1"], ["address2", "a2"], ["address3", "a3"], ["customer", ["cu", CustomerCompat]], ["items", ["it", ItemCompat]], ["taxInclusive", "ti"], ["taxPercentage", "tp"], ["taxDeductible", "t1d"], ["taxInclusive", "ti"], ["taxName", "tn"], ["enableTax2", "ttx"], ["taxName2", "tn2"], ["taxPercentage2", "tp2"], ["taxDeductible2", "t2d"], ["tax1_total", "tx"], ["tax2_total", "tx2"], ["taxDeductibleInc2", "t2di"], ["shippingCost", "sp"], ["shippingNonTax", "sntx"], ["total", "tt"], ["subtotal", "st"], ["amountDue", "ad"], ["discount", "dc"], ["discountOption", "dco"], ["discountPercentage", "dcp"], ["discountPercentageOption", "dcpo"], ["payments", ["pm", PaymentCompat]], ["
|
|
9768
|
+
var mapping = new Map([["address1", "a1"], ["address2", "a2"], ["address3", "a3"], ["customer", ["cu", CustomerCompat]], ["items", ["it", ItemCompat]], ["taxInclusive", "ti"], ["taxPercentage", "tp"], ["taxDeductible", "t1d"], ["taxInclusive", "ti"], ["taxName", "tn"], ["enableTax2", "ttx"], ["taxName2", "tn2"], ["taxPercentage2", "tp2"], ["taxDeductible2", "t2d"], ["tax1_total", "tx"], ["tax2_total", "tx2"], ["taxDeductibleInc2", "t2di"], ["shippingCost", "sp"], ["shippingNonTax", "sntx"], ["total", "tt"], ["subtotal", "st"], ["amountDue", "ad"], ["discount", "dc"], ["discountOption", "dco"], ["discountPercentage", "dcp"], ["discountPercentageOption", "dcpo"], ["payments", ["pm", PaymentCompat]], ["timeZone", "tz"], ["type", "ty"], ["date", "d"], ["dueDate", "dd"], ["dueIn", "di"], ["removeDueDate", "rd"], ["purchaseOrderNumber", "pon"], ["note", "nt"], ["signDate", "sd"], ["customerSignature", "cs"], ["customerSigned", "cs"], ["surchargeAmount", "sca"]]);
|
|
9773
9769
|
return Object.fromEntries(Object.entries(doc).map(function (_ref4) {
|
|
9774
9770
|
var k = _ref4[0],
|
|
9775
9771
|
v = _ref4[1];
|
|
@@ -9933,6 +9929,2161 @@ var InvoiceCompatHtml = function InvoiceCompatHtml(_ref) {
|
|
|
9933
9929
|
});
|
|
9934
9930
|
};
|
|
9935
9931
|
|
|
9932
|
+
/*
|
|
9933
|
+
object-assign
|
|
9934
|
+
(c) Sindre Sorhus
|
|
9935
|
+
@license MIT
|
|
9936
|
+
*/
|
|
9937
|
+
/* eslint-disable no-unused-vars */
|
|
9938
|
+
var getOwnPropertySymbols = Object.getOwnPropertySymbols;
|
|
9939
|
+
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
9940
|
+
var propIsEnumerable = Object.prototype.propertyIsEnumerable;
|
|
9941
|
+
|
|
9942
|
+
function toObject(val) {
|
|
9943
|
+
if (val === null || val === undefined) {
|
|
9944
|
+
throw new TypeError('Object.assign cannot be called with null or undefined');
|
|
9945
|
+
}
|
|
9946
|
+
|
|
9947
|
+
return Object(val);
|
|
9948
|
+
}
|
|
9949
|
+
|
|
9950
|
+
function shouldUseNative() {
|
|
9951
|
+
try {
|
|
9952
|
+
if (!Object.assign) {
|
|
9953
|
+
return false;
|
|
9954
|
+
}
|
|
9955
|
+
|
|
9956
|
+
// Detect buggy property enumeration order in older V8 versions.
|
|
9957
|
+
|
|
9958
|
+
// https://bugs.chromium.org/p/v8/issues/detail?id=4118
|
|
9959
|
+
var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
|
|
9960
|
+
test1[5] = 'de';
|
|
9961
|
+
if (Object.getOwnPropertyNames(test1)[0] === '5') {
|
|
9962
|
+
return false;
|
|
9963
|
+
}
|
|
9964
|
+
|
|
9965
|
+
// https://bugs.chromium.org/p/v8/issues/detail?id=3056
|
|
9966
|
+
var test2 = {};
|
|
9967
|
+
for (var i = 0; i < 10; i++) {
|
|
9968
|
+
test2['_' + String.fromCharCode(i)] = i;
|
|
9969
|
+
}
|
|
9970
|
+
var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
|
|
9971
|
+
return test2[n];
|
|
9972
|
+
});
|
|
9973
|
+
if (order2.join('') !== '0123456789') {
|
|
9974
|
+
return false;
|
|
9975
|
+
}
|
|
9976
|
+
|
|
9977
|
+
// https://bugs.chromium.org/p/v8/issues/detail?id=3056
|
|
9978
|
+
var test3 = {};
|
|
9979
|
+
'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
|
|
9980
|
+
test3[letter] = letter;
|
|
9981
|
+
});
|
|
9982
|
+
if (Object.keys(Object.assign({}, test3)).join('') !==
|
|
9983
|
+
'abcdefghijklmnopqrst') {
|
|
9984
|
+
return false;
|
|
9985
|
+
}
|
|
9986
|
+
|
|
9987
|
+
return true;
|
|
9988
|
+
} catch (err) {
|
|
9989
|
+
// We don't expect any of the above to throw, but better to be safe.
|
|
9990
|
+
return false;
|
|
9991
|
+
}
|
|
9992
|
+
}
|
|
9993
|
+
|
|
9994
|
+
var objectAssign = shouldUseNative() ? Object.assign : function (target, source) {
|
|
9995
|
+
var from;
|
|
9996
|
+
var to = toObject(target);
|
|
9997
|
+
var symbols;
|
|
9998
|
+
|
|
9999
|
+
for (var s = 1; s < arguments.length; s++) {
|
|
10000
|
+
from = Object(arguments[s]);
|
|
10001
|
+
|
|
10002
|
+
for (var key in from) {
|
|
10003
|
+
if (hasOwnProperty.call(from, key)) {
|
|
10004
|
+
to[key] = from[key];
|
|
10005
|
+
}
|
|
10006
|
+
}
|
|
10007
|
+
|
|
10008
|
+
if (getOwnPropertySymbols) {
|
|
10009
|
+
symbols = getOwnPropertySymbols(from);
|
|
10010
|
+
for (var i = 0; i < symbols.length; i++) {
|
|
10011
|
+
if (propIsEnumerable.call(from, symbols[i])) {
|
|
10012
|
+
to[symbols[i]] = from[symbols[i]];
|
|
10013
|
+
}
|
|
10014
|
+
}
|
|
10015
|
+
}
|
|
10016
|
+
}
|
|
10017
|
+
|
|
10018
|
+
return to;
|
|
10019
|
+
};
|
|
10020
|
+
|
|
10021
|
+
var n="function"===typeof Symbol&&Symbol.for,p=n?Symbol.for("react.element"):60103,q=n?Symbol.for("react.portal"):60106,r=n?Symbol.for("react.fragment"):60107,t=n?Symbol.for("react.strict_mode"):60108,u=n?Symbol.for("react.profiler"):60114,v=n?Symbol.for("react.provider"):60109,w=n?Symbol.for("react.context"):60110,x=n?Symbol.for("react.forward_ref"):60112,y=n?Symbol.for("react.suspense"):60113,z=n?Symbol.for("react.memo"):60115,A=n?Symbol.for("react.lazy"):
|
|
10022
|
+
60116,B="function"===typeof Symbol&&Symbol.iterator;function C(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=1;c<arguments.length;c++)b+="&args[]="+encodeURIComponent(arguments[c]);return "Minified React error #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}
|
|
10023
|
+
var D={isMounted:function(){return !1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},E={};function F(a,b,c){this.props=a;this.context=b;this.refs=E;this.updater=c||D;}F.prototype.isReactComponent={};F.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error(C(85));this.updater.enqueueSetState(this,a,b,"setState");};F.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate");};
|
|
10024
|
+
function G(){}G.prototype=F.prototype;function H(a,b,c){this.props=a;this.context=b;this.refs=E;this.updater=c||D;}var I=H.prototype=new G;I.constructor=H;objectAssign(I,F.prototype);I.isPureReactComponent=!0;var J={current:null},K=Object.prototype.hasOwnProperty,L={key:!0,ref:!0,__self:!0,__source:!0};
|
|
10025
|
+
function M(a,b,c){var e,d={},g=null,k=null;if(null!=b)for(e in void 0!==b.ref&&(k=b.ref),void 0!==b.key&&(g=""+b.key),b)K.call(b,e)&&!L.hasOwnProperty(e)&&(d[e]=b[e]);var f=arguments.length-2;if(1===f)d.children=c;else if(1<f){for(var h=Array(f),m=0;m<f;m++)h[m]=arguments[m+2];d.children=h;}if(a&&a.defaultProps)for(e in f=a.defaultProps,f)void 0===d[e]&&(d[e]=f[e]);return {$$typeof:p,type:a,key:g,ref:k,props:d,_owner:J.current}}
|
|
10026
|
+
function N(a,b){return {$$typeof:p,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function O(a){return "object"===typeof a&&null!==a&&a.$$typeof===p}function escape(a){var b={"=":"=0",":":"=2"};return "$"+(""+a).replace(/[=:]/g,function(a){return b[a]})}var P=/\/+/g,Q=[];function R(a,b,c,e){if(Q.length){var d=Q.pop();d.result=a;d.keyPrefix=b;d.func=c;d.context=e;d.count=0;return d}return {result:a,keyPrefix:b,func:c,context:e,count:0}}
|
|
10027
|
+
function S(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>Q.length&&Q.push(a);}
|
|
10028
|
+
function T(a,b,c,e){var d=typeof a;if("undefined"===d||"boolean"===d)a=null;var g=!1;if(null===a)g=!0;else switch(d){case "string":case "number":g=!0;break;case "object":switch(a.$$typeof){case p:case q:g=!0;}}if(g)return c(e,a,""===b?"."+U(a,0):b),1;g=0;b=""===b?".":b+":";if(Array.isArray(a))for(var k=0;k<a.length;k++){d=a[k];var f=b+U(d,k);g+=T(d,f,c,e);}else if(null===a||"object"!==typeof a?f=null:(f=B&&a[B]||a["@@iterator"],f="function"===typeof f?f:null),"function"===typeof f)for(a=f.call(a),k=
|
|
10029
|
+
0;!(d=a.next()).done;)d=d.value,f=b+U(d,k++),g+=T(d,f,c,e);else if("object"===d)throw c=""+a,Error(C(31,"[object Object]"===c?"object with keys {"+Object.keys(a).join(", ")+"}":c,""));return g}function V(a,b,c){return null==a?0:T(a,"",b,c)}function U(a,b){return "object"===typeof a&&null!==a&&null!=a.key?escape(a.key):b.toString(36)}function W(a,b){a.func.call(a.context,b,a.count++);}
|
|
10030
|
+
function aa(a,b,c){var e=a.result,d=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?X(a,e,c,function(a){return a}):null!=a&&(O(a)&&(a=N(a,d+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(P,"$&/")+"/")+c)),e.push(a));}function X(a,b,c,e,d){var g="";null!=c&&(g=(""+c).replace(P,"$&/")+"/");b=R(b,g,e,d);V(a,aa,b);S(b);}var Y={current:null};function Z(){var a=Y.current;if(null===a)throw Error(C(321));return a}
|
|
10031
|
+
var ba={ReactCurrentDispatcher:Y,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:J,IsSomeRendererActing:{current:!1},assign:objectAssign};var Children={map:function(a,b,c){if(null==a)return a;var e=[];X(a,e,null,b,c);return e},forEach:function(a,b,c){if(null==a)return a;b=R(null,null,b,c);V(a,W,b);S(b);},count:function(a){return V(a,function(){return null},null)},toArray:function(a){var b=[];X(a,b,null,function(a){return a});return b},only:function(a){if(!O(a))throw Error(C(143));return a}};
|
|
10032
|
+
var Component=F;var Fragment=r;var Profiler=u;var PureComponent=H;var StrictMode=t;var Suspense=y;var __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ba;
|
|
10033
|
+
var cloneElement=function(a,b,c){if(null===a||void 0===a)throw Error(C(267,a));var e=objectAssign({},a.props),d=a.key,g=a.ref,k=a._owner;if(null!=b){void 0!==b.ref&&(g=b.ref,k=J.current);void 0!==b.key&&(d=""+b.key);if(a.type&&a.type.defaultProps)var f=a.type.defaultProps;for(h in b)K.call(b,h)&&!L.hasOwnProperty(h)&&(e[h]=void 0===b[h]&&void 0!==f?f[h]:b[h]);}var h=arguments.length-2;if(1===h)e.children=c;else if(1<h){f=Array(h);for(var m=0;m<h;m++)f[m]=arguments[m+2];e.children=f;}return {$$typeof:p,type:a.type,
|
|
10034
|
+
key:d,ref:g,props:e,_owner:k}};var createContext=function(a,b){void 0===b&&(b=null);a={$$typeof:w,_calculateChangedBits:b,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:v,_context:a};return a.Consumer=a};var createElement=M;var createFactory=function(a){var b=M.bind(null,a);b.type=a;return b};var createRef=function(){return {current:null}};var forwardRef=function(a){return {$$typeof:x,render:a}};var isValidElement=O;
|
|
10035
|
+
var lazy=function(a){return {$$typeof:A,_ctor:a,_status:-1,_result:null}};var memo=function(a,b){return {$$typeof:z,type:a,compare:void 0===b?null:b}};var useCallback=function(a,b){return Z().useCallback(a,b)};var useContext=function(a,b){return Z().useContext(a,b)};var useDebugValue=function(){};var useEffect=function(a,b){return Z().useEffect(a,b)};var useImperativeHandle=function(a,b,c){return Z().useImperativeHandle(a,b,c)};
|
|
10036
|
+
var useLayoutEffect=function(a,b){return Z().useLayoutEffect(a,b)};var useMemo=function(a,b){return Z().useMemo(a,b)};var useReducer=function(a,b,c){return Z().useReducer(a,b,c)};var useRef=function(a){return Z().useRef(a)};var useState=function(a){return Z().useState(a)};var version$1="16.14.0";
|
|
10037
|
+
|
|
10038
|
+
var react_production_min = {
|
|
10039
|
+
Children: Children,
|
|
10040
|
+
Component: Component,
|
|
10041
|
+
Fragment: Fragment,
|
|
10042
|
+
Profiler: Profiler,
|
|
10043
|
+
PureComponent: PureComponent,
|
|
10044
|
+
StrictMode: StrictMode,
|
|
10045
|
+
Suspense: Suspense,
|
|
10046
|
+
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
|
|
10047
|
+
cloneElement: cloneElement,
|
|
10048
|
+
createContext: createContext,
|
|
10049
|
+
createElement: createElement,
|
|
10050
|
+
createFactory: createFactory,
|
|
10051
|
+
createRef: createRef,
|
|
10052
|
+
forwardRef: forwardRef,
|
|
10053
|
+
isValidElement: isValidElement,
|
|
10054
|
+
lazy: lazy,
|
|
10055
|
+
memo: memo,
|
|
10056
|
+
useCallback: useCallback,
|
|
10057
|
+
useContext: useContext,
|
|
10058
|
+
useDebugValue: useDebugValue,
|
|
10059
|
+
useEffect: useEffect,
|
|
10060
|
+
useImperativeHandle: useImperativeHandle,
|
|
10061
|
+
useLayoutEffect: useLayoutEffect,
|
|
10062
|
+
useMemo: useMemo,
|
|
10063
|
+
useReducer: useReducer,
|
|
10064
|
+
useRef: useRef,
|
|
10065
|
+
useState: useState,
|
|
10066
|
+
version: version$1
|
|
10067
|
+
};
|
|
10068
|
+
|
|
10069
|
+
/**
|
|
10070
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
10071
|
+
*
|
|
10072
|
+
* This source code is licensed under the MIT license found in the
|
|
10073
|
+
* LICENSE file in the root directory of this source tree.
|
|
10074
|
+
*/
|
|
10075
|
+
|
|
10076
|
+
var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
|
|
10077
|
+
|
|
10078
|
+
var ReactPropTypesSecret_1 = ReactPropTypesSecret;
|
|
10079
|
+
|
|
10080
|
+
var printWarning = function() {};
|
|
10081
|
+
|
|
10082
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
10083
|
+
var ReactPropTypesSecret$1 = ReactPropTypesSecret_1;
|
|
10084
|
+
var loggedTypeFailures = {};
|
|
10085
|
+
var has = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
10086
|
+
|
|
10087
|
+
printWarning = function(text) {
|
|
10088
|
+
var message = 'Warning: ' + text;
|
|
10089
|
+
if (typeof console !== 'undefined') {
|
|
10090
|
+
console.error(message);
|
|
10091
|
+
}
|
|
10092
|
+
try {
|
|
10093
|
+
// --- Welcome to debugging React ---
|
|
10094
|
+
// This error was thrown as a convenience so that you can use this stack
|
|
10095
|
+
// to find the callsite that caused this warning to fire.
|
|
10096
|
+
throw new Error(message);
|
|
10097
|
+
} catch (x) {}
|
|
10098
|
+
};
|
|
10099
|
+
}
|
|
10100
|
+
|
|
10101
|
+
/**
|
|
10102
|
+
* Assert that the values match with the type specs.
|
|
10103
|
+
* Error messages are memorized and will only be shown once.
|
|
10104
|
+
*
|
|
10105
|
+
* @param {object} typeSpecs Map of name to a ReactPropType
|
|
10106
|
+
* @param {object} values Runtime values that need to be type-checked
|
|
10107
|
+
* @param {string} location e.g. "prop", "context", "child context"
|
|
10108
|
+
* @param {string} componentName Name of the component for error messages.
|
|
10109
|
+
* @param {?Function} getStack Returns the component stack.
|
|
10110
|
+
* @private
|
|
10111
|
+
*/
|
|
10112
|
+
function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
|
|
10113
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
10114
|
+
for (var typeSpecName in typeSpecs) {
|
|
10115
|
+
if (has(typeSpecs, typeSpecName)) {
|
|
10116
|
+
var error;
|
|
10117
|
+
// Prop type validation may throw. In case they do, we don't want to
|
|
10118
|
+
// fail the render phase where it didn't fail before. So we log it.
|
|
10119
|
+
// After these have been cleaned up, we'll let them throw.
|
|
10120
|
+
try {
|
|
10121
|
+
// This is intentionally an invariant that gets caught. It's the same
|
|
10122
|
+
// behavior as without this statement except with a better message.
|
|
10123
|
+
if (typeof typeSpecs[typeSpecName] !== 'function') {
|
|
10124
|
+
var err = Error(
|
|
10125
|
+
(componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
|
|
10126
|
+
'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.'
|
|
10127
|
+
);
|
|
10128
|
+
err.name = 'Invariant Violation';
|
|
10129
|
+
throw err;
|
|
10130
|
+
}
|
|
10131
|
+
error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret$1);
|
|
10132
|
+
} catch (ex) {
|
|
10133
|
+
error = ex;
|
|
10134
|
+
}
|
|
10135
|
+
if (error && !(error instanceof Error)) {
|
|
10136
|
+
printWarning(
|
|
10137
|
+
(componentName || 'React class') + ': type specification of ' +
|
|
10138
|
+
location + ' `' + typeSpecName + '` is invalid; the type checker ' +
|
|
10139
|
+
'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +
|
|
10140
|
+
'You may have forgotten to pass an argument to the type checker ' +
|
|
10141
|
+
'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +
|
|
10142
|
+
'shape all require an argument).'
|
|
10143
|
+
);
|
|
10144
|
+
}
|
|
10145
|
+
if (error instanceof Error && !(error.message in loggedTypeFailures)) {
|
|
10146
|
+
// Only monitor this failure once because there tends to be a lot of the
|
|
10147
|
+
// same error.
|
|
10148
|
+
loggedTypeFailures[error.message] = true;
|
|
10149
|
+
|
|
10150
|
+
var stack = getStack ? getStack() : '';
|
|
10151
|
+
|
|
10152
|
+
printWarning(
|
|
10153
|
+
'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')
|
|
10154
|
+
);
|
|
10155
|
+
}
|
|
10156
|
+
}
|
|
10157
|
+
}
|
|
10158
|
+
}
|
|
10159
|
+
}
|
|
10160
|
+
|
|
10161
|
+
/**
|
|
10162
|
+
* Resets warning cache when testing.
|
|
10163
|
+
*
|
|
10164
|
+
* @private
|
|
10165
|
+
*/
|
|
10166
|
+
checkPropTypes.resetWarningCache = function() {
|
|
10167
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
10168
|
+
loggedTypeFailures = {};
|
|
10169
|
+
}
|
|
10170
|
+
};
|
|
10171
|
+
|
|
10172
|
+
var checkPropTypes_1 = checkPropTypes;
|
|
10173
|
+
|
|
10174
|
+
var react_development = createCommonjsModule(function (module, exports) {
|
|
10175
|
+
|
|
10176
|
+
|
|
10177
|
+
|
|
10178
|
+
if (process.env.NODE_ENV !== "production") {
|
|
10179
|
+
(function() {
|
|
10180
|
+
|
|
10181
|
+
var _assign = objectAssign;
|
|
10182
|
+
var checkPropTypes = checkPropTypes_1;
|
|
10183
|
+
|
|
10184
|
+
var ReactVersion = '16.14.0';
|
|
10185
|
+
|
|
10186
|
+
// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
|
|
10187
|
+
// nor polyfill, then a plain number is used for performance.
|
|
10188
|
+
var hasSymbol = typeof Symbol === 'function' && Symbol.for;
|
|
10189
|
+
var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
|
|
10190
|
+
var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
|
|
10191
|
+
var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
|
|
10192
|
+
var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
|
|
10193
|
+
var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
|
|
10194
|
+
var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
|
|
10195
|
+
var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
|
|
10196
|
+
var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
|
|
10197
|
+
var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
|
|
10198
|
+
var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
|
|
10199
|
+
var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
|
|
10200
|
+
var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
|
|
10201
|
+
var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
|
|
10202
|
+
var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
|
|
10203
|
+
var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
|
|
10204
|
+
var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
|
|
10205
|
+
var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
|
|
10206
|
+
var MAYBE_ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
|
|
10207
|
+
var FAUX_ITERATOR_SYMBOL = '@@iterator';
|
|
10208
|
+
function getIteratorFn(maybeIterable) {
|
|
10209
|
+
if (maybeIterable === null || typeof maybeIterable !== 'object') {
|
|
10210
|
+
return null;
|
|
10211
|
+
}
|
|
10212
|
+
|
|
10213
|
+
var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
|
|
10214
|
+
|
|
10215
|
+
if (typeof maybeIterator === 'function') {
|
|
10216
|
+
return maybeIterator;
|
|
10217
|
+
}
|
|
10218
|
+
|
|
10219
|
+
return null;
|
|
10220
|
+
}
|
|
10221
|
+
|
|
10222
|
+
/**
|
|
10223
|
+
* Keeps track of the current dispatcher.
|
|
10224
|
+
*/
|
|
10225
|
+
var ReactCurrentDispatcher = {
|
|
10226
|
+
/**
|
|
10227
|
+
* @internal
|
|
10228
|
+
* @type {ReactComponent}
|
|
10229
|
+
*/
|
|
10230
|
+
current: null
|
|
10231
|
+
};
|
|
10232
|
+
|
|
10233
|
+
/**
|
|
10234
|
+
* Keeps track of the current batch's configuration such as how long an update
|
|
10235
|
+
* should suspend for if it needs to.
|
|
10236
|
+
*/
|
|
10237
|
+
var ReactCurrentBatchConfig = {
|
|
10238
|
+
suspense: null
|
|
10239
|
+
};
|
|
10240
|
+
|
|
10241
|
+
/**
|
|
10242
|
+
* Keeps track of the current owner.
|
|
10243
|
+
*
|
|
10244
|
+
* The current owner is the component who should own any components that are
|
|
10245
|
+
* currently being constructed.
|
|
10246
|
+
*/
|
|
10247
|
+
var ReactCurrentOwner = {
|
|
10248
|
+
/**
|
|
10249
|
+
* @internal
|
|
10250
|
+
* @type {ReactComponent}
|
|
10251
|
+
*/
|
|
10252
|
+
current: null
|
|
10253
|
+
};
|
|
10254
|
+
|
|
10255
|
+
var BEFORE_SLASH_RE = /^(.*)[\\\/]/;
|
|
10256
|
+
function describeComponentFrame (name, source, ownerName) {
|
|
10257
|
+
var sourceInfo = '';
|
|
10258
|
+
|
|
10259
|
+
if (source) {
|
|
10260
|
+
var path = source.fileName;
|
|
10261
|
+
var fileName = path.replace(BEFORE_SLASH_RE, '');
|
|
10262
|
+
|
|
10263
|
+
{
|
|
10264
|
+
// In DEV, include code for a common special case:
|
|
10265
|
+
// prefer "folder/index.js" instead of just "index.js".
|
|
10266
|
+
if (/^index\./.test(fileName)) {
|
|
10267
|
+
var match = path.match(BEFORE_SLASH_RE);
|
|
10268
|
+
|
|
10269
|
+
if (match) {
|
|
10270
|
+
var pathBeforeSlash = match[1];
|
|
10271
|
+
|
|
10272
|
+
if (pathBeforeSlash) {
|
|
10273
|
+
var folderName = pathBeforeSlash.replace(BEFORE_SLASH_RE, '');
|
|
10274
|
+
fileName = folderName + '/' + fileName;
|
|
10275
|
+
}
|
|
10276
|
+
}
|
|
10277
|
+
}
|
|
10278
|
+
}
|
|
10279
|
+
|
|
10280
|
+
sourceInfo = ' (at ' + fileName + ':' + source.lineNumber + ')';
|
|
10281
|
+
} else if (ownerName) {
|
|
10282
|
+
sourceInfo = ' (created by ' + ownerName + ')';
|
|
10283
|
+
}
|
|
10284
|
+
|
|
10285
|
+
return '\n in ' + (name || 'Unknown') + sourceInfo;
|
|
10286
|
+
}
|
|
10287
|
+
|
|
10288
|
+
var Resolved = 1;
|
|
10289
|
+
function refineResolvedLazyComponent(lazyComponent) {
|
|
10290
|
+
return lazyComponent._status === Resolved ? lazyComponent._result : null;
|
|
10291
|
+
}
|
|
10292
|
+
|
|
10293
|
+
function getWrappedName(outerType, innerType, wrapperName) {
|
|
10294
|
+
var functionName = innerType.displayName || innerType.name || '';
|
|
10295
|
+
return outerType.displayName || (functionName !== '' ? wrapperName + "(" + functionName + ")" : wrapperName);
|
|
10296
|
+
}
|
|
10297
|
+
|
|
10298
|
+
function getComponentName(type) {
|
|
10299
|
+
if (type == null) {
|
|
10300
|
+
// Host root, text node or just invalid type.
|
|
10301
|
+
return null;
|
|
10302
|
+
}
|
|
10303
|
+
|
|
10304
|
+
{
|
|
10305
|
+
if (typeof type.tag === 'number') {
|
|
10306
|
+
error('Received an unexpected object in getComponentName(). ' + 'This is likely a bug in React. Please file an issue.');
|
|
10307
|
+
}
|
|
10308
|
+
}
|
|
10309
|
+
|
|
10310
|
+
if (typeof type === 'function') {
|
|
10311
|
+
return type.displayName || type.name || null;
|
|
10312
|
+
}
|
|
10313
|
+
|
|
10314
|
+
if (typeof type === 'string') {
|
|
10315
|
+
return type;
|
|
10316
|
+
}
|
|
10317
|
+
|
|
10318
|
+
switch (type) {
|
|
10319
|
+
case REACT_FRAGMENT_TYPE:
|
|
10320
|
+
return 'Fragment';
|
|
10321
|
+
|
|
10322
|
+
case REACT_PORTAL_TYPE:
|
|
10323
|
+
return 'Portal';
|
|
10324
|
+
|
|
10325
|
+
case REACT_PROFILER_TYPE:
|
|
10326
|
+
return "Profiler";
|
|
10327
|
+
|
|
10328
|
+
case REACT_STRICT_MODE_TYPE:
|
|
10329
|
+
return 'StrictMode';
|
|
10330
|
+
|
|
10331
|
+
case REACT_SUSPENSE_TYPE:
|
|
10332
|
+
return 'Suspense';
|
|
10333
|
+
|
|
10334
|
+
case REACT_SUSPENSE_LIST_TYPE:
|
|
10335
|
+
return 'SuspenseList';
|
|
10336
|
+
}
|
|
10337
|
+
|
|
10338
|
+
if (typeof type === 'object') {
|
|
10339
|
+
switch (type.$$typeof) {
|
|
10340
|
+
case REACT_CONTEXT_TYPE:
|
|
10341
|
+
return 'Context.Consumer';
|
|
10342
|
+
|
|
10343
|
+
case REACT_PROVIDER_TYPE:
|
|
10344
|
+
return 'Context.Provider';
|
|
10345
|
+
|
|
10346
|
+
case REACT_FORWARD_REF_TYPE:
|
|
10347
|
+
return getWrappedName(type, type.render, 'ForwardRef');
|
|
10348
|
+
|
|
10349
|
+
case REACT_MEMO_TYPE:
|
|
10350
|
+
return getComponentName(type.type);
|
|
10351
|
+
|
|
10352
|
+
case REACT_BLOCK_TYPE:
|
|
10353
|
+
return getComponentName(type.render);
|
|
10354
|
+
|
|
10355
|
+
case REACT_LAZY_TYPE:
|
|
10356
|
+
{
|
|
10357
|
+
var thenable = type;
|
|
10358
|
+
var resolvedThenable = refineResolvedLazyComponent(thenable);
|
|
10359
|
+
|
|
10360
|
+
if (resolvedThenable) {
|
|
10361
|
+
return getComponentName(resolvedThenable);
|
|
10362
|
+
}
|
|
10363
|
+
|
|
10364
|
+
break;
|
|
10365
|
+
}
|
|
10366
|
+
}
|
|
10367
|
+
}
|
|
10368
|
+
|
|
10369
|
+
return null;
|
|
10370
|
+
}
|
|
10371
|
+
|
|
10372
|
+
var ReactDebugCurrentFrame = {};
|
|
10373
|
+
var currentlyValidatingElement = null;
|
|
10374
|
+
function setCurrentlyValidatingElement(element) {
|
|
10375
|
+
{
|
|
10376
|
+
currentlyValidatingElement = element;
|
|
10377
|
+
}
|
|
10378
|
+
}
|
|
10379
|
+
|
|
10380
|
+
{
|
|
10381
|
+
// Stack implementation injected by the current renderer.
|
|
10382
|
+
ReactDebugCurrentFrame.getCurrentStack = null;
|
|
10383
|
+
|
|
10384
|
+
ReactDebugCurrentFrame.getStackAddendum = function () {
|
|
10385
|
+
var stack = ''; // Add an extra top frame while an element is being validated
|
|
10386
|
+
|
|
10387
|
+
if (currentlyValidatingElement) {
|
|
10388
|
+
var name = getComponentName(currentlyValidatingElement.type);
|
|
10389
|
+
var owner = currentlyValidatingElement._owner;
|
|
10390
|
+
stack += describeComponentFrame(name, currentlyValidatingElement._source, owner && getComponentName(owner.type));
|
|
10391
|
+
} // Delegate to the injected renderer-specific implementation
|
|
10392
|
+
|
|
10393
|
+
|
|
10394
|
+
var impl = ReactDebugCurrentFrame.getCurrentStack;
|
|
10395
|
+
|
|
10396
|
+
if (impl) {
|
|
10397
|
+
stack += impl() || '';
|
|
10398
|
+
}
|
|
10399
|
+
|
|
10400
|
+
return stack;
|
|
10401
|
+
};
|
|
10402
|
+
}
|
|
10403
|
+
|
|
10404
|
+
/**
|
|
10405
|
+
* Used by act() to track whether you're inside an act() scope.
|
|
10406
|
+
*/
|
|
10407
|
+
var IsSomeRendererActing = {
|
|
10408
|
+
current: false
|
|
10409
|
+
};
|
|
10410
|
+
|
|
10411
|
+
var ReactSharedInternals = {
|
|
10412
|
+
ReactCurrentDispatcher: ReactCurrentDispatcher,
|
|
10413
|
+
ReactCurrentBatchConfig: ReactCurrentBatchConfig,
|
|
10414
|
+
ReactCurrentOwner: ReactCurrentOwner,
|
|
10415
|
+
IsSomeRendererActing: IsSomeRendererActing,
|
|
10416
|
+
// Used by renderers to avoid bundling object-assign twice in UMD bundles:
|
|
10417
|
+
assign: _assign
|
|
10418
|
+
};
|
|
10419
|
+
|
|
10420
|
+
{
|
|
10421
|
+
_assign(ReactSharedInternals, {
|
|
10422
|
+
// These should not be included in production.
|
|
10423
|
+
ReactDebugCurrentFrame: ReactDebugCurrentFrame,
|
|
10424
|
+
// Shim for React DOM 16.0.0 which still destructured (but not used) this.
|
|
10425
|
+
// TODO: remove in React 17.0.
|
|
10426
|
+
ReactComponentTreeHook: {}
|
|
10427
|
+
});
|
|
10428
|
+
}
|
|
10429
|
+
|
|
10430
|
+
// by calls to these methods by a Babel plugin.
|
|
10431
|
+
//
|
|
10432
|
+
// In PROD (or in packages without access to React internals),
|
|
10433
|
+
// they are left as they are instead.
|
|
10434
|
+
|
|
10435
|
+
function warn(format) {
|
|
10436
|
+
{
|
|
10437
|
+
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
10438
|
+
args[_key - 1] = arguments[_key];
|
|
10439
|
+
}
|
|
10440
|
+
|
|
10441
|
+
printWarning('warn', format, args);
|
|
10442
|
+
}
|
|
10443
|
+
}
|
|
10444
|
+
function error(format) {
|
|
10445
|
+
{
|
|
10446
|
+
for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
|
|
10447
|
+
args[_key2 - 1] = arguments[_key2];
|
|
10448
|
+
}
|
|
10449
|
+
|
|
10450
|
+
printWarning('error', format, args);
|
|
10451
|
+
}
|
|
10452
|
+
}
|
|
10453
|
+
|
|
10454
|
+
function printWarning(level, format, args) {
|
|
10455
|
+
// When changing this logic, you might want to also
|
|
10456
|
+
// update consoleWithStackDev.www.js as well.
|
|
10457
|
+
{
|
|
10458
|
+
var hasExistingStack = args.length > 0 && typeof args[args.length - 1] === 'string' && args[args.length - 1].indexOf('\n in') === 0;
|
|
10459
|
+
|
|
10460
|
+
if (!hasExistingStack) {
|
|
10461
|
+
var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
|
|
10462
|
+
var stack = ReactDebugCurrentFrame.getStackAddendum();
|
|
10463
|
+
|
|
10464
|
+
if (stack !== '') {
|
|
10465
|
+
format += '%s';
|
|
10466
|
+
args = args.concat([stack]);
|
|
10467
|
+
}
|
|
10468
|
+
}
|
|
10469
|
+
|
|
10470
|
+
var argsWithFormat = args.map(function (item) {
|
|
10471
|
+
return '' + item;
|
|
10472
|
+
}); // Careful: RN currently depends on this prefix
|
|
10473
|
+
|
|
10474
|
+
argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it
|
|
10475
|
+
// breaks IE9: https://github.com/facebook/react/issues/13610
|
|
10476
|
+
// eslint-disable-next-line react-internal/no-production-logging
|
|
10477
|
+
|
|
10478
|
+
Function.prototype.apply.call(console[level], console, argsWithFormat);
|
|
10479
|
+
|
|
10480
|
+
try {
|
|
10481
|
+
// --- Welcome to debugging React ---
|
|
10482
|
+
// This error was thrown as a convenience so that you can use this stack
|
|
10483
|
+
// to find the callsite that caused this warning to fire.
|
|
10484
|
+
var argIndex = 0;
|
|
10485
|
+
var message = 'Warning: ' + format.replace(/%s/g, function () {
|
|
10486
|
+
return args[argIndex++];
|
|
10487
|
+
});
|
|
10488
|
+
throw new Error(message);
|
|
10489
|
+
} catch (x) {}
|
|
10490
|
+
}
|
|
10491
|
+
}
|
|
10492
|
+
|
|
10493
|
+
var didWarnStateUpdateForUnmountedComponent = {};
|
|
10494
|
+
|
|
10495
|
+
function warnNoop(publicInstance, callerName) {
|
|
10496
|
+
{
|
|
10497
|
+
var _constructor = publicInstance.constructor;
|
|
10498
|
+
var componentName = _constructor && (_constructor.displayName || _constructor.name) || 'ReactClass';
|
|
10499
|
+
var warningKey = componentName + "." + callerName;
|
|
10500
|
+
|
|
10501
|
+
if (didWarnStateUpdateForUnmountedComponent[warningKey]) {
|
|
10502
|
+
return;
|
|
10503
|
+
}
|
|
10504
|
+
|
|
10505
|
+
error("Can't call %s on a component that is not yet mounted. " + 'This is a no-op, but it might indicate a bug in your application. ' + 'Instead, assign to `this.state` directly or define a `state = {};` ' + 'class property with the desired state in the %s component.', callerName, componentName);
|
|
10506
|
+
|
|
10507
|
+
didWarnStateUpdateForUnmountedComponent[warningKey] = true;
|
|
10508
|
+
}
|
|
10509
|
+
}
|
|
10510
|
+
/**
|
|
10511
|
+
* This is the abstract API for an update queue.
|
|
10512
|
+
*/
|
|
10513
|
+
|
|
10514
|
+
|
|
10515
|
+
var ReactNoopUpdateQueue = {
|
|
10516
|
+
/**
|
|
10517
|
+
* Checks whether or not this composite component is mounted.
|
|
10518
|
+
* @param {ReactClass} publicInstance The instance we want to test.
|
|
10519
|
+
* @return {boolean} True if mounted, false otherwise.
|
|
10520
|
+
* @protected
|
|
10521
|
+
* @final
|
|
10522
|
+
*/
|
|
10523
|
+
isMounted: function (publicInstance) {
|
|
10524
|
+
return false;
|
|
10525
|
+
},
|
|
10526
|
+
|
|
10527
|
+
/**
|
|
10528
|
+
* Forces an update. This should only be invoked when it is known with
|
|
10529
|
+
* certainty that we are **not** in a DOM transaction.
|
|
10530
|
+
*
|
|
10531
|
+
* You may want to call this when you know that some deeper aspect of the
|
|
10532
|
+
* component's state has changed but `setState` was not called.
|
|
10533
|
+
*
|
|
10534
|
+
* This will not invoke `shouldComponentUpdate`, but it will invoke
|
|
10535
|
+
* `componentWillUpdate` and `componentDidUpdate`.
|
|
10536
|
+
*
|
|
10537
|
+
* @param {ReactClass} publicInstance The instance that should rerender.
|
|
10538
|
+
* @param {?function} callback Called after component is updated.
|
|
10539
|
+
* @param {?string} callerName name of the calling function in the public API.
|
|
10540
|
+
* @internal
|
|
10541
|
+
*/
|
|
10542
|
+
enqueueForceUpdate: function (publicInstance, callback, callerName) {
|
|
10543
|
+
warnNoop(publicInstance, 'forceUpdate');
|
|
10544
|
+
},
|
|
10545
|
+
|
|
10546
|
+
/**
|
|
10547
|
+
* Replaces all of the state. Always use this or `setState` to mutate state.
|
|
10548
|
+
* You should treat `this.state` as immutable.
|
|
10549
|
+
*
|
|
10550
|
+
* There is no guarantee that `this.state` will be immediately updated, so
|
|
10551
|
+
* accessing `this.state` after calling this method may return the old value.
|
|
10552
|
+
*
|
|
10553
|
+
* @param {ReactClass} publicInstance The instance that should rerender.
|
|
10554
|
+
* @param {object} completeState Next state.
|
|
10555
|
+
* @param {?function} callback Called after component is updated.
|
|
10556
|
+
* @param {?string} callerName name of the calling function in the public API.
|
|
10557
|
+
* @internal
|
|
10558
|
+
*/
|
|
10559
|
+
enqueueReplaceState: function (publicInstance, completeState, callback, callerName) {
|
|
10560
|
+
warnNoop(publicInstance, 'replaceState');
|
|
10561
|
+
},
|
|
10562
|
+
|
|
10563
|
+
/**
|
|
10564
|
+
* Sets a subset of the state. This only exists because _pendingState is
|
|
10565
|
+
* internal. This provides a merging strategy that is not available to deep
|
|
10566
|
+
* properties which is confusing. TODO: Expose pendingState or don't use it
|
|
10567
|
+
* during the merge.
|
|
10568
|
+
*
|
|
10569
|
+
* @param {ReactClass} publicInstance The instance that should rerender.
|
|
10570
|
+
* @param {object} partialState Next partial state to be merged with state.
|
|
10571
|
+
* @param {?function} callback Called after component is updated.
|
|
10572
|
+
* @param {?string} Name of the calling function in the public API.
|
|
10573
|
+
* @internal
|
|
10574
|
+
*/
|
|
10575
|
+
enqueueSetState: function (publicInstance, partialState, callback, callerName) {
|
|
10576
|
+
warnNoop(publicInstance, 'setState');
|
|
10577
|
+
}
|
|
10578
|
+
};
|
|
10579
|
+
|
|
10580
|
+
var emptyObject = {};
|
|
10581
|
+
|
|
10582
|
+
{
|
|
10583
|
+
Object.freeze(emptyObject);
|
|
10584
|
+
}
|
|
10585
|
+
/**
|
|
10586
|
+
* Base class helpers for the updating state of a component.
|
|
10587
|
+
*/
|
|
10588
|
+
|
|
10589
|
+
|
|
10590
|
+
function Component(props, context, updater) {
|
|
10591
|
+
this.props = props;
|
|
10592
|
+
this.context = context; // If a component has string refs, we will assign a different object later.
|
|
10593
|
+
|
|
10594
|
+
this.refs = emptyObject; // We initialize the default updater but the real one gets injected by the
|
|
10595
|
+
// renderer.
|
|
10596
|
+
|
|
10597
|
+
this.updater = updater || ReactNoopUpdateQueue;
|
|
10598
|
+
}
|
|
10599
|
+
|
|
10600
|
+
Component.prototype.isReactComponent = {};
|
|
10601
|
+
/**
|
|
10602
|
+
* Sets a subset of the state. Always use this to mutate
|
|
10603
|
+
* state. You should treat `this.state` as immutable.
|
|
10604
|
+
*
|
|
10605
|
+
* There is no guarantee that `this.state` will be immediately updated, so
|
|
10606
|
+
* accessing `this.state` after calling this method may return the old value.
|
|
10607
|
+
*
|
|
10608
|
+
* There is no guarantee that calls to `setState` will run synchronously,
|
|
10609
|
+
* as they may eventually be batched together. You can provide an optional
|
|
10610
|
+
* callback that will be executed when the call to setState is actually
|
|
10611
|
+
* completed.
|
|
10612
|
+
*
|
|
10613
|
+
* When a function is provided to setState, it will be called at some point in
|
|
10614
|
+
* the future (not synchronously). It will be called with the up to date
|
|
10615
|
+
* component arguments (state, props, context). These values can be different
|
|
10616
|
+
* from this.* because your function may be called after receiveProps but before
|
|
10617
|
+
* shouldComponentUpdate, and this new state, props, and context will not yet be
|
|
10618
|
+
* assigned to this.
|
|
10619
|
+
*
|
|
10620
|
+
* @param {object|function} partialState Next partial state or function to
|
|
10621
|
+
* produce next partial state to be merged with current state.
|
|
10622
|
+
* @param {?function} callback Called after state is updated.
|
|
10623
|
+
* @final
|
|
10624
|
+
* @protected
|
|
10625
|
+
*/
|
|
10626
|
+
|
|
10627
|
+
Component.prototype.setState = function (partialState, callback) {
|
|
10628
|
+
if (!(typeof partialState === 'object' || typeof partialState === 'function' || partialState == null)) {
|
|
10629
|
+
{
|
|
10630
|
+
throw Error( "setState(...): takes an object of state variables to update or a function which returns an object of state variables." );
|
|
10631
|
+
}
|
|
10632
|
+
}
|
|
10633
|
+
|
|
10634
|
+
this.updater.enqueueSetState(this, partialState, callback, 'setState');
|
|
10635
|
+
};
|
|
10636
|
+
/**
|
|
10637
|
+
* Forces an update. This should only be invoked when it is known with
|
|
10638
|
+
* certainty that we are **not** in a DOM transaction.
|
|
10639
|
+
*
|
|
10640
|
+
* You may want to call this when you know that some deeper aspect of the
|
|
10641
|
+
* component's state has changed but `setState` was not called.
|
|
10642
|
+
*
|
|
10643
|
+
* This will not invoke `shouldComponentUpdate`, but it will invoke
|
|
10644
|
+
* `componentWillUpdate` and `componentDidUpdate`.
|
|
10645
|
+
*
|
|
10646
|
+
* @param {?function} callback Called after update is complete.
|
|
10647
|
+
* @final
|
|
10648
|
+
* @protected
|
|
10649
|
+
*/
|
|
10650
|
+
|
|
10651
|
+
|
|
10652
|
+
Component.prototype.forceUpdate = function (callback) {
|
|
10653
|
+
this.updater.enqueueForceUpdate(this, callback, 'forceUpdate');
|
|
10654
|
+
};
|
|
10655
|
+
/**
|
|
10656
|
+
* Deprecated APIs. These APIs used to exist on classic React classes but since
|
|
10657
|
+
* we would like to deprecate them, we're not going to move them over to this
|
|
10658
|
+
* modern base class. Instead, we define a getter that warns if it's accessed.
|
|
10659
|
+
*/
|
|
10660
|
+
|
|
10661
|
+
|
|
10662
|
+
{
|
|
10663
|
+
var deprecatedAPIs = {
|
|
10664
|
+
isMounted: ['isMounted', 'Instead, make sure to clean up subscriptions and pending requests in ' + 'componentWillUnmount to prevent memory leaks.'],
|
|
10665
|
+
replaceState: ['replaceState', 'Refactor your code to use setState instead (see ' + 'https://github.com/facebook/react/issues/3236).']
|
|
10666
|
+
};
|
|
10667
|
+
|
|
10668
|
+
var defineDeprecationWarning = function (methodName, info) {
|
|
10669
|
+
Object.defineProperty(Component.prototype, methodName, {
|
|
10670
|
+
get: function () {
|
|
10671
|
+
warn('%s(...) is deprecated in plain JavaScript React classes. %s', info[0], info[1]);
|
|
10672
|
+
|
|
10673
|
+
return undefined;
|
|
10674
|
+
}
|
|
10675
|
+
});
|
|
10676
|
+
};
|
|
10677
|
+
|
|
10678
|
+
for (var fnName in deprecatedAPIs) {
|
|
10679
|
+
if (deprecatedAPIs.hasOwnProperty(fnName)) {
|
|
10680
|
+
defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);
|
|
10681
|
+
}
|
|
10682
|
+
}
|
|
10683
|
+
}
|
|
10684
|
+
|
|
10685
|
+
function ComponentDummy() {}
|
|
10686
|
+
|
|
10687
|
+
ComponentDummy.prototype = Component.prototype;
|
|
10688
|
+
/**
|
|
10689
|
+
* Convenience component with default shallow equality check for sCU.
|
|
10690
|
+
*/
|
|
10691
|
+
|
|
10692
|
+
function PureComponent(props, context, updater) {
|
|
10693
|
+
this.props = props;
|
|
10694
|
+
this.context = context; // If a component has string refs, we will assign a different object later.
|
|
10695
|
+
|
|
10696
|
+
this.refs = emptyObject;
|
|
10697
|
+
this.updater = updater || ReactNoopUpdateQueue;
|
|
10698
|
+
}
|
|
10699
|
+
|
|
10700
|
+
var pureComponentPrototype = PureComponent.prototype = new ComponentDummy();
|
|
10701
|
+
pureComponentPrototype.constructor = PureComponent; // Avoid an extra prototype jump for these methods.
|
|
10702
|
+
|
|
10703
|
+
_assign(pureComponentPrototype, Component.prototype);
|
|
10704
|
+
|
|
10705
|
+
pureComponentPrototype.isPureReactComponent = true;
|
|
10706
|
+
|
|
10707
|
+
// an immutable object with a single mutable value
|
|
10708
|
+
function createRef() {
|
|
10709
|
+
var refObject = {
|
|
10710
|
+
current: null
|
|
10711
|
+
};
|
|
10712
|
+
|
|
10713
|
+
{
|
|
10714
|
+
Object.seal(refObject);
|
|
10715
|
+
}
|
|
10716
|
+
|
|
10717
|
+
return refObject;
|
|
10718
|
+
}
|
|
10719
|
+
|
|
10720
|
+
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
10721
|
+
var RESERVED_PROPS = {
|
|
10722
|
+
key: true,
|
|
10723
|
+
ref: true,
|
|
10724
|
+
__self: true,
|
|
10725
|
+
__source: true
|
|
10726
|
+
};
|
|
10727
|
+
var specialPropKeyWarningShown, specialPropRefWarningShown, didWarnAboutStringRefs;
|
|
10728
|
+
|
|
10729
|
+
{
|
|
10730
|
+
didWarnAboutStringRefs = {};
|
|
10731
|
+
}
|
|
10732
|
+
|
|
10733
|
+
function hasValidRef(config) {
|
|
10734
|
+
{
|
|
10735
|
+
if (hasOwnProperty.call(config, 'ref')) {
|
|
10736
|
+
var getter = Object.getOwnPropertyDescriptor(config, 'ref').get;
|
|
10737
|
+
|
|
10738
|
+
if (getter && getter.isReactWarning) {
|
|
10739
|
+
return false;
|
|
10740
|
+
}
|
|
10741
|
+
}
|
|
10742
|
+
}
|
|
10743
|
+
|
|
10744
|
+
return config.ref !== undefined;
|
|
10745
|
+
}
|
|
10746
|
+
|
|
10747
|
+
function hasValidKey(config) {
|
|
10748
|
+
{
|
|
10749
|
+
if (hasOwnProperty.call(config, 'key')) {
|
|
10750
|
+
var getter = Object.getOwnPropertyDescriptor(config, 'key').get;
|
|
10751
|
+
|
|
10752
|
+
if (getter && getter.isReactWarning) {
|
|
10753
|
+
return false;
|
|
10754
|
+
}
|
|
10755
|
+
}
|
|
10756
|
+
}
|
|
10757
|
+
|
|
10758
|
+
return config.key !== undefined;
|
|
10759
|
+
}
|
|
10760
|
+
|
|
10761
|
+
function defineKeyPropWarningGetter(props, displayName) {
|
|
10762
|
+
var warnAboutAccessingKey = function () {
|
|
10763
|
+
{
|
|
10764
|
+
if (!specialPropKeyWarningShown) {
|
|
10765
|
+
specialPropKeyWarningShown = true;
|
|
10766
|
+
|
|
10767
|
+
error('%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://fb.me/react-special-props)', displayName);
|
|
10768
|
+
}
|
|
10769
|
+
}
|
|
10770
|
+
};
|
|
10771
|
+
|
|
10772
|
+
warnAboutAccessingKey.isReactWarning = true;
|
|
10773
|
+
Object.defineProperty(props, 'key', {
|
|
10774
|
+
get: warnAboutAccessingKey,
|
|
10775
|
+
configurable: true
|
|
10776
|
+
});
|
|
10777
|
+
}
|
|
10778
|
+
|
|
10779
|
+
function defineRefPropWarningGetter(props, displayName) {
|
|
10780
|
+
var warnAboutAccessingRef = function () {
|
|
10781
|
+
{
|
|
10782
|
+
if (!specialPropRefWarningShown) {
|
|
10783
|
+
specialPropRefWarningShown = true;
|
|
10784
|
+
|
|
10785
|
+
error('%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://fb.me/react-special-props)', displayName);
|
|
10786
|
+
}
|
|
10787
|
+
}
|
|
10788
|
+
};
|
|
10789
|
+
|
|
10790
|
+
warnAboutAccessingRef.isReactWarning = true;
|
|
10791
|
+
Object.defineProperty(props, 'ref', {
|
|
10792
|
+
get: warnAboutAccessingRef,
|
|
10793
|
+
configurable: true
|
|
10794
|
+
});
|
|
10795
|
+
}
|
|
10796
|
+
|
|
10797
|
+
function warnIfStringRefCannotBeAutoConverted(config) {
|
|
10798
|
+
{
|
|
10799
|
+
if (typeof config.ref === 'string' && ReactCurrentOwner.current && config.__self && ReactCurrentOwner.current.stateNode !== config.__self) {
|
|
10800
|
+
var componentName = getComponentName(ReactCurrentOwner.current.type);
|
|
10801
|
+
|
|
10802
|
+
if (!didWarnAboutStringRefs[componentName]) {
|
|
10803
|
+
error('Component "%s" contains the string ref "%s". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://fb.me/react-strict-mode-string-ref', getComponentName(ReactCurrentOwner.current.type), config.ref);
|
|
10804
|
+
|
|
10805
|
+
didWarnAboutStringRefs[componentName] = true;
|
|
10806
|
+
}
|
|
10807
|
+
}
|
|
10808
|
+
}
|
|
10809
|
+
}
|
|
10810
|
+
/**
|
|
10811
|
+
* Factory method to create a new React element. This no longer adheres to
|
|
10812
|
+
* the class pattern, so do not use new to call it. Also, instanceof check
|
|
10813
|
+
* will not work. Instead test $$typeof field against Symbol.for('react.element') to check
|
|
10814
|
+
* if something is a React Element.
|
|
10815
|
+
*
|
|
10816
|
+
* @param {*} type
|
|
10817
|
+
* @param {*} props
|
|
10818
|
+
* @param {*} key
|
|
10819
|
+
* @param {string|object} ref
|
|
10820
|
+
* @param {*} owner
|
|
10821
|
+
* @param {*} self A *temporary* helper to detect places where `this` is
|
|
10822
|
+
* different from the `owner` when React.createElement is called, so that we
|
|
10823
|
+
* can warn. We want to get rid of owner and replace string `ref`s with arrow
|
|
10824
|
+
* functions, and as long as `this` and owner are the same, there will be no
|
|
10825
|
+
* change in behavior.
|
|
10826
|
+
* @param {*} source An annotation object (added by a transpiler or otherwise)
|
|
10827
|
+
* indicating filename, line number, and/or other information.
|
|
10828
|
+
* @internal
|
|
10829
|
+
*/
|
|
10830
|
+
|
|
10831
|
+
|
|
10832
|
+
var ReactElement = function (type, key, ref, self, source, owner, props) {
|
|
10833
|
+
var element = {
|
|
10834
|
+
// This tag allows us to uniquely identify this as a React Element
|
|
10835
|
+
$$typeof: REACT_ELEMENT_TYPE,
|
|
10836
|
+
// Built-in properties that belong on the element
|
|
10837
|
+
type: type,
|
|
10838
|
+
key: key,
|
|
10839
|
+
ref: ref,
|
|
10840
|
+
props: props,
|
|
10841
|
+
// Record the component responsible for creating this element.
|
|
10842
|
+
_owner: owner
|
|
10843
|
+
};
|
|
10844
|
+
|
|
10845
|
+
{
|
|
10846
|
+
// The validation flag is currently mutative. We put it on
|
|
10847
|
+
// an external backing store so that we can freeze the whole object.
|
|
10848
|
+
// This can be replaced with a WeakMap once they are implemented in
|
|
10849
|
+
// commonly used development environments.
|
|
10850
|
+
element._store = {}; // To make comparing ReactElements easier for testing purposes, we make
|
|
10851
|
+
// the validation flag non-enumerable (where possible, which should
|
|
10852
|
+
// include every environment we run tests in), so the test framework
|
|
10853
|
+
// ignores it.
|
|
10854
|
+
|
|
10855
|
+
Object.defineProperty(element._store, 'validated', {
|
|
10856
|
+
configurable: false,
|
|
10857
|
+
enumerable: false,
|
|
10858
|
+
writable: true,
|
|
10859
|
+
value: false
|
|
10860
|
+
}); // self and source are DEV only properties.
|
|
10861
|
+
|
|
10862
|
+
Object.defineProperty(element, '_self', {
|
|
10863
|
+
configurable: false,
|
|
10864
|
+
enumerable: false,
|
|
10865
|
+
writable: false,
|
|
10866
|
+
value: self
|
|
10867
|
+
}); // Two elements created in two different places should be considered
|
|
10868
|
+
// equal for testing purposes and therefore we hide it from enumeration.
|
|
10869
|
+
|
|
10870
|
+
Object.defineProperty(element, '_source', {
|
|
10871
|
+
configurable: false,
|
|
10872
|
+
enumerable: false,
|
|
10873
|
+
writable: false,
|
|
10874
|
+
value: source
|
|
10875
|
+
});
|
|
10876
|
+
|
|
10877
|
+
if (Object.freeze) {
|
|
10878
|
+
Object.freeze(element.props);
|
|
10879
|
+
Object.freeze(element);
|
|
10880
|
+
}
|
|
10881
|
+
}
|
|
10882
|
+
|
|
10883
|
+
return element;
|
|
10884
|
+
};
|
|
10885
|
+
/**
|
|
10886
|
+
* Create and return a new ReactElement of the given type.
|
|
10887
|
+
* See https://reactjs.org/docs/react-api.html#createelement
|
|
10888
|
+
*/
|
|
10889
|
+
|
|
10890
|
+
function createElement(type, config, children) {
|
|
10891
|
+
var propName; // Reserved names are extracted
|
|
10892
|
+
|
|
10893
|
+
var props = {};
|
|
10894
|
+
var key = null;
|
|
10895
|
+
var ref = null;
|
|
10896
|
+
var self = null;
|
|
10897
|
+
var source = null;
|
|
10898
|
+
|
|
10899
|
+
if (config != null) {
|
|
10900
|
+
if (hasValidRef(config)) {
|
|
10901
|
+
ref = config.ref;
|
|
10902
|
+
|
|
10903
|
+
{
|
|
10904
|
+
warnIfStringRefCannotBeAutoConverted(config);
|
|
10905
|
+
}
|
|
10906
|
+
}
|
|
10907
|
+
|
|
10908
|
+
if (hasValidKey(config)) {
|
|
10909
|
+
key = '' + config.key;
|
|
10910
|
+
}
|
|
10911
|
+
|
|
10912
|
+
self = config.__self === undefined ? null : config.__self;
|
|
10913
|
+
source = config.__source === undefined ? null : config.__source; // Remaining properties are added to a new props object
|
|
10914
|
+
|
|
10915
|
+
for (propName in config) {
|
|
10916
|
+
if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
|
|
10917
|
+
props[propName] = config[propName];
|
|
10918
|
+
}
|
|
10919
|
+
}
|
|
10920
|
+
} // Children can be more than one argument, and those are transferred onto
|
|
10921
|
+
// the newly allocated props object.
|
|
10922
|
+
|
|
10923
|
+
|
|
10924
|
+
var childrenLength = arguments.length - 2;
|
|
10925
|
+
|
|
10926
|
+
if (childrenLength === 1) {
|
|
10927
|
+
props.children = children;
|
|
10928
|
+
} else if (childrenLength > 1) {
|
|
10929
|
+
var childArray = Array(childrenLength);
|
|
10930
|
+
|
|
10931
|
+
for (var i = 0; i < childrenLength; i++) {
|
|
10932
|
+
childArray[i] = arguments[i + 2];
|
|
10933
|
+
}
|
|
10934
|
+
|
|
10935
|
+
{
|
|
10936
|
+
if (Object.freeze) {
|
|
10937
|
+
Object.freeze(childArray);
|
|
10938
|
+
}
|
|
10939
|
+
}
|
|
10940
|
+
|
|
10941
|
+
props.children = childArray;
|
|
10942
|
+
} // Resolve default props
|
|
10943
|
+
|
|
10944
|
+
|
|
10945
|
+
if (type && type.defaultProps) {
|
|
10946
|
+
var defaultProps = type.defaultProps;
|
|
10947
|
+
|
|
10948
|
+
for (propName in defaultProps) {
|
|
10949
|
+
if (props[propName] === undefined) {
|
|
10950
|
+
props[propName] = defaultProps[propName];
|
|
10951
|
+
}
|
|
10952
|
+
}
|
|
10953
|
+
}
|
|
10954
|
+
|
|
10955
|
+
{
|
|
10956
|
+
if (key || ref) {
|
|
10957
|
+
var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;
|
|
10958
|
+
|
|
10959
|
+
if (key) {
|
|
10960
|
+
defineKeyPropWarningGetter(props, displayName);
|
|
10961
|
+
}
|
|
10962
|
+
|
|
10963
|
+
if (ref) {
|
|
10964
|
+
defineRefPropWarningGetter(props, displayName);
|
|
10965
|
+
}
|
|
10966
|
+
}
|
|
10967
|
+
}
|
|
10968
|
+
|
|
10969
|
+
return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);
|
|
10970
|
+
}
|
|
10971
|
+
function cloneAndReplaceKey(oldElement, newKey) {
|
|
10972
|
+
var newElement = ReactElement(oldElement.type, newKey, oldElement.ref, oldElement._self, oldElement._source, oldElement._owner, oldElement.props);
|
|
10973
|
+
return newElement;
|
|
10974
|
+
}
|
|
10975
|
+
/**
|
|
10976
|
+
* Clone and return a new ReactElement using element as the starting point.
|
|
10977
|
+
* See https://reactjs.org/docs/react-api.html#cloneelement
|
|
10978
|
+
*/
|
|
10979
|
+
|
|
10980
|
+
function cloneElement(element, config, children) {
|
|
10981
|
+
if (!!(element === null || element === undefined)) {
|
|
10982
|
+
{
|
|
10983
|
+
throw Error( "React.cloneElement(...): The argument must be a React element, but you passed " + element + "." );
|
|
10984
|
+
}
|
|
10985
|
+
}
|
|
10986
|
+
|
|
10987
|
+
var propName; // Original props are copied
|
|
10988
|
+
|
|
10989
|
+
var props = _assign({}, element.props); // Reserved names are extracted
|
|
10990
|
+
|
|
10991
|
+
|
|
10992
|
+
var key = element.key;
|
|
10993
|
+
var ref = element.ref; // Self is preserved since the owner is preserved.
|
|
10994
|
+
|
|
10995
|
+
var self = element._self; // Source is preserved since cloneElement is unlikely to be targeted by a
|
|
10996
|
+
// transpiler, and the original source is probably a better indicator of the
|
|
10997
|
+
// true owner.
|
|
10998
|
+
|
|
10999
|
+
var source = element._source; // Owner will be preserved, unless ref is overridden
|
|
11000
|
+
|
|
11001
|
+
var owner = element._owner;
|
|
11002
|
+
|
|
11003
|
+
if (config != null) {
|
|
11004
|
+
if (hasValidRef(config)) {
|
|
11005
|
+
// Silently steal the ref from the parent.
|
|
11006
|
+
ref = config.ref;
|
|
11007
|
+
owner = ReactCurrentOwner.current;
|
|
11008
|
+
}
|
|
11009
|
+
|
|
11010
|
+
if (hasValidKey(config)) {
|
|
11011
|
+
key = '' + config.key;
|
|
11012
|
+
} // Remaining properties override existing props
|
|
11013
|
+
|
|
11014
|
+
|
|
11015
|
+
var defaultProps;
|
|
11016
|
+
|
|
11017
|
+
if (element.type && element.type.defaultProps) {
|
|
11018
|
+
defaultProps = element.type.defaultProps;
|
|
11019
|
+
}
|
|
11020
|
+
|
|
11021
|
+
for (propName in config) {
|
|
11022
|
+
if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
|
|
11023
|
+
if (config[propName] === undefined && defaultProps !== undefined) {
|
|
11024
|
+
// Resolve default props
|
|
11025
|
+
props[propName] = defaultProps[propName];
|
|
11026
|
+
} else {
|
|
11027
|
+
props[propName] = config[propName];
|
|
11028
|
+
}
|
|
11029
|
+
}
|
|
11030
|
+
}
|
|
11031
|
+
} // Children can be more than one argument, and those are transferred onto
|
|
11032
|
+
// the newly allocated props object.
|
|
11033
|
+
|
|
11034
|
+
|
|
11035
|
+
var childrenLength = arguments.length - 2;
|
|
11036
|
+
|
|
11037
|
+
if (childrenLength === 1) {
|
|
11038
|
+
props.children = children;
|
|
11039
|
+
} else if (childrenLength > 1) {
|
|
11040
|
+
var childArray = Array(childrenLength);
|
|
11041
|
+
|
|
11042
|
+
for (var i = 0; i < childrenLength; i++) {
|
|
11043
|
+
childArray[i] = arguments[i + 2];
|
|
11044
|
+
}
|
|
11045
|
+
|
|
11046
|
+
props.children = childArray;
|
|
11047
|
+
}
|
|
11048
|
+
|
|
11049
|
+
return ReactElement(element.type, key, ref, self, source, owner, props);
|
|
11050
|
+
}
|
|
11051
|
+
/**
|
|
11052
|
+
* Verifies the object is a ReactElement.
|
|
11053
|
+
* See https://reactjs.org/docs/react-api.html#isvalidelement
|
|
11054
|
+
* @param {?object} object
|
|
11055
|
+
* @return {boolean} True if `object` is a ReactElement.
|
|
11056
|
+
* @final
|
|
11057
|
+
*/
|
|
11058
|
+
|
|
11059
|
+
function isValidElement(object) {
|
|
11060
|
+
return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
11061
|
+
}
|
|
11062
|
+
|
|
11063
|
+
var SEPARATOR = '.';
|
|
11064
|
+
var SUBSEPARATOR = ':';
|
|
11065
|
+
/**
|
|
11066
|
+
* Escape and wrap key so it is safe to use as a reactid
|
|
11067
|
+
*
|
|
11068
|
+
* @param {string} key to be escaped.
|
|
11069
|
+
* @return {string} the escaped key.
|
|
11070
|
+
*/
|
|
11071
|
+
|
|
11072
|
+
function escape(key) {
|
|
11073
|
+
var escapeRegex = /[=:]/g;
|
|
11074
|
+
var escaperLookup = {
|
|
11075
|
+
'=': '=0',
|
|
11076
|
+
':': '=2'
|
|
11077
|
+
};
|
|
11078
|
+
var escapedString = ('' + key).replace(escapeRegex, function (match) {
|
|
11079
|
+
return escaperLookup[match];
|
|
11080
|
+
});
|
|
11081
|
+
return '$' + escapedString;
|
|
11082
|
+
}
|
|
11083
|
+
/**
|
|
11084
|
+
* TODO: Test that a single child and an array with one item have the same key
|
|
11085
|
+
* pattern.
|
|
11086
|
+
*/
|
|
11087
|
+
|
|
11088
|
+
|
|
11089
|
+
var didWarnAboutMaps = false;
|
|
11090
|
+
var userProvidedKeyEscapeRegex = /\/+/g;
|
|
11091
|
+
|
|
11092
|
+
function escapeUserProvidedKey(text) {
|
|
11093
|
+
return ('' + text).replace(userProvidedKeyEscapeRegex, '$&/');
|
|
11094
|
+
}
|
|
11095
|
+
|
|
11096
|
+
var POOL_SIZE = 10;
|
|
11097
|
+
var traverseContextPool = [];
|
|
11098
|
+
|
|
11099
|
+
function getPooledTraverseContext(mapResult, keyPrefix, mapFunction, mapContext) {
|
|
11100
|
+
if (traverseContextPool.length) {
|
|
11101
|
+
var traverseContext = traverseContextPool.pop();
|
|
11102
|
+
traverseContext.result = mapResult;
|
|
11103
|
+
traverseContext.keyPrefix = keyPrefix;
|
|
11104
|
+
traverseContext.func = mapFunction;
|
|
11105
|
+
traverseContext.context = mapContext;
|
|
11106
|
+
traverseContext.count = 0;
|
|
11107
|
+
return traverseContext;
|
|
11108
|
+
} else {
|
|
11109
|
+
return {
|
|
11110
|
+
result: mapResult,
|
|
11111
|
+
keyPrefix: keyPrefix,
|
|
11112
|
+
func: mapFunction,
|
|
11113
|
+
context: mapContext,
|
|
11114
|
+
count: 0
|
|
11115
|
+
};
|
|
11116
|
+
}
|
|
11117
|
+
}
|
|
11118
|
+
|
|
11119
|
+
function releaseTraverseContext(traverseContext) {
|
|
11120
|
+
traverseContext.result = null;
|
|
11121
|
+
traverseContext.keyPrefix = null;
|
|
11122
|
+
traverseContext.func = null;
|
|
11123
|
+
traverseContext.context = null;
|
|
11124
|
+
traverseContext.count = 0;
|
|
11125
|
+
|
|
11126
|
+
if (traverseContextPool.length < POOL_SIZE) {
|
|
11127
|
+
traverseContextPool.push(traverseContext);
|
|
11128
|
+
}
|
|
11129
|
+
}
|
|
11130
|
+
/**
|
|
11131
|
+
* @param {?*} children Children tree container.
|
|
11132
|
+
* @param {!string} nameSoFar Name of the key path so far.
|
|
11133
|
+
* @param {!function} callback Callback to invoke with each child found.
|
|
11134
|
+
* @param {?*} traverseContext Used to pass information throughout the traversal
|
|
11135
|
+
* process.
|
|
11136
|
+
* @return {!number} The number of children in this subtree.
|
|
11137
|
+
*/
|
|
11138
|
+
|
|
11139
|
+
|
|
11140
|
+
function traverseAllChildrenImpl(children, nameSoFar, callback, traverseContext) {
|
|
11141
|
+
var type = typeof children;
|
|
11142
|
+
|
|
11143
|
+
if (type === 'undefined' || type === 'boolean') {
|
|
11144
|
+
// All of the above are perceived as null.
|
|
11145
|
+
children = null;
|
|
11146
|
+
}
|
|
11147
|
+
|
|
11148
|
+
var invokeCallback = false;
|
|
11149
|
+
|
|
11150
|
+
if (children === null) {
|
|
11151
|
+
invokeCallback = true;
|
|
11152
|
+
} else {
|
|
11153
|
+
switch (type) {
|
|
11154
|
+
case 'string':
|
|
11155
|
+
case 'number':
|
|
11156
|
+
invokeCallback = true;
|
|
11157
|
+
break;
|
|
11158
|
+
|
|
11159
|
+
case 'object':
|
|
11160
|
+
switch (children.$$typeof) {
|
|
11161
|
+
case REACT_ELEMENT_TYPE:
|
|
11162
|
+
case REACT_PORTAL_TYPE:
|
|
11163
|
+
invokeCallback = true;
|
|
11164
|
+
}
|
|
11165
|
+
|
|
11166
|
+
}
|
|
11167
|
+
}
|
|
11168
|
+
|
|
11169
|
+
if (invokeCallback) {
|
|
11170
|
+
callback(traverseContext, children, // If it's the only child, treat the name as if it was wrapped in an array
|
|
11171
|
+
// so that it's consistent if the number of children grows.
|
|
11172
|
+
nameSoFar === '' ? SEPARATOR + getComponentKey(children, 0) : nameSoFar);
|
|
11173
|
+
return 1;
|
|
11174
|
+
}
|
|
11175
|
+
|
|
11176
|
+
var child;
|
|
11177
|
+
var nextName;
|
|
11178
|
+
var subtreeCount = 0; // Count of children found in the current subtree.
|
|
11179
|
+
|
|
11180
|
+
var nextNamePrefix = nameSoFar === '' ? SEPARATOR : nameSoFar + SUBSEPARATOR;
|
|
11181
|
+
|
|
11182
|
+
if (Array.isArray(children)) {
|
|
11183
|
+
for (var i = 0; i < children.length; i++) {
|
|
11184
|
+
child = children[i];
|
|
11185
|
+
nextName = nextNamePrefix + getComponentKey(child, i);
|
|
11186
|
+
subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext);
|
|
11187
|
+
}
|
|
11188
|
+
} else {
|
|
11189
|
+
var iteratorFn = getIteratorFn(children);
|
|
11190
|
+
|
|
11191
|
+
if (typeof iteratorFn === 'function') {
|
|
11192
|
+
|
|
11193
|
+
{
|
|
11194
|
+
// Warn about using Maps as children
|
|
11195
|
+
if (iteratorFn === children.entries) {
|
|
11196
|
+
if (!didWarnAboutMaps) {
|
|
11197
|
+
warn('Using Maps as children is deprecated and will be removed in ' + 'a future major release. Consider converting children to ' + 'an array of keyed ReactElements instead.');
|
|
11198
|
+
}
|
|
11199
|
+
|
|
11200
|
+
didWarnAboutMaps = true;
|
|
11201
|
+
}
|
|
11202
|
+
}
|
|
11203
|
+
|
|
11204
|
+
var iterator = iteratorFn.call(children);
|
|
11205
|
+
var step;
|
|
11206
|
+
var ii = 0;
|
|
11207
|
+
|
|
11208
|
+
while (!(step = iterator.next()).done) {
|
|
11209
|
+
child = step.value;
|
|
11210
|
+
nextName = nextNamePrefix + getComponentKey(child, ii++);
|
|
11211
|
+
subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext);
|
|
11212
|
+
}
|
|
11213
|
+
} else if (type === 'object') {
|
|
11214
|
+
var addendum = '';
|
|
11215
|
+
|
|
11216
|
+
{
|
|
11217
|
+
addendum = ' If you meant to render a collection of children, use an array ' + 'instead.' + ReactDebugCurrentFrame.getStackAddendum();
|
|
11218
|
+
}
|
|
11219
|
+
|
|
11220
|
+
var childrenString = '' + children;
|
|
11221
|
+
|
|
11222
|
+
{
|
|
11223
|
+
{
|
|
11224
|
+
throw Error( "Objects are not valid as a React child (found: " + (childrenString === '[object Object]' ? 'object with keys {' + Object.keys(children).join(', ') + '}' : childrenString) + ")." + addendum );
|
|
11225
|
+
}
|
|
11226
|
+
}
|
|
11227
|
+
}
|
|
11228
|
+
}
|
|
11229
|
+
|
|
11230
|
+
return subtreeCount;
|
|
11231
|
+
}
|
|
11232
|
+
/**
|
|
11233
|
+
* Traverses children that are typically specified as `props.children`, but
|
|
11234
|
+
* might also be specified through attributes:
|
|
11235
|
+
*
|
|
11236
|
+
* - `traverseAllChildren(this.props.children, ...)`
|
|
11237
|
+
* - `traverseAllChildren(this.props.leftPanelChildren, ...)`
|
|
11238
|
+
*
|
|
11239
|
+
* The `traverseContext` is an optional argument that is passed through the
|
|
11240
|
+
* entire traversal. It can be used to store accumulations or anything else that
|
|
11241
|
+
* the callback might find relevant.
|
|
11242
|
+
*
|
|
11243
|
+
* @param {?*} children Children tree object.
|
|
11244
|
+
* @param {!function} callback To invoke upon traversing each child.
|
|
11245
|
+
* @param {?*} traverseContext Context for traversal.
|
|
11246
|
+
* @return {!number} The number of children in this subtree.
|
|
11247
|
+
*/
|
|
11248
|
+
|
|
11249
|
+
|
|
11250
|
+
function traverseAllChildren(children, callback, traverseContext) {
|
|
11251
|
+
if (children == null) {
|
|
11252
|
+
return 0;
|
|
11253
|
+
}
|
|
11254
|
+
|
|
11255
|
+
return traverseAllChildrenImpl(children, '', callback, traverseContext);
|
|
11256
|
+
}
|
|
11257
|
+
/**
|
|
11258
|
+
* Generate a key string that identifies a component within a set.
|
|
11259
|
+
*
|
|
11260
|
+
* @param {*} component A component that could contain a manual key.
|
|
11261
|
+
* @param {number} index Index that is used if a manual key is not provided.
|
|
11262
|
+
* @return {string}
|
|
11263
|
+
*/
|
|
11264
|
+
|
|
11265
|
+
|
|
11266
|
+
function getComponentKey(component, index) {
|
|
11267
|
+
// Do some typechecking here since we call this blindly. We want to ensure
|
|
11268
|
+
// that we don't block potential future ES APIs.
|
|
11269
|
+
if (typeof component === 'object' && component !== null && component.key != null) {
|
|
11270
|
+
// Explicit key
|
|
11271
|
+
return escape(component.key);
|
|
11272
|
+
} // Implicit key determined by the index in the set
|
|
11273
|
+
|
|
11274
|
+
|
|
11275
|
+
return index.toString(36);
|
|
11276
|
+
}
|
|
11277
|
+
|
|
11278
|
+
function forEachSingleChild(bookKeeping, child, name) {
|
|
11279
|
+
var func = bookKeeping.func,
|
|
11280
|
+
context = bookKeeping.context;
|
|
11281
|
+
func.call(context, child, bookKeeping.count++);
|
|
11282
|
+
}
|
|
11283
|
+
/**
|
|
11284
|
+
* Iterates through children that are typically specified as `props.children`.
|
|
11285
|
+
*
|
|
11286
|
+
* See https://reactjs.org/docs/react-api.html#reactchildrenforeach
|
|
11287
|
+
*
|
|
11288
|
+
* The provided forEachFunc(child, index) will be called for each
|
|
11289
|
+
* leaf child.
|
|
11290
|
+
*
|
|
11291
|
+
* @param {?*} children Children tree container.
|
|
11292
|
+
* @param {function(*, int)} forEachFunc
|
|
11293
|
+
* @param {*} forEachContext Context for forEachContext.
|
|
11294
|
+
*/
|
|
11295
|
+
|
|
11296
|
+
|
|
11297
|
+
function forEachChildren(children, forEachFunc, forEachContext) {
|
|
11298
|
+
if (children == null) {
|
|
11299
|
+
return children;
|
|
11300
|
+
}
|
|
11301
|
+
|
|
11302
|
+
var traverseContext = getPooledTraverseContext(null, null, forEachFunc, forEachContext);
|
|
11303
|
+
traverseAllChildren(children, forEachSingleChild, traverseContext);
|
|
11304
|
+
releaseTraverseContext(traverseContext);
|
|
11305
|
+
}
|
|
11306
|
+
|
|
11307
|
+
function mapSingleChildIntoContext(bookKeeping, child, childKey) {
|
|
11308
|
+
var result = bookKeeping.result,
|
|
11309
|
+
keyPrefix = bookKeeping.keyPrefix,
|
|
11310
|
+
func = bookKeeping.func,
|
|
11311
|
+
context = bookKeeping.context;
|
|
11312
|
+
var mappedChild = func.call(context, child, bookKeeping.count++);
|
|
11313
|
+
|
|
11314
|
+
if (Array.isArray(mappedChild)) {
|
|
11315
|
+
mapIntoWithKeyPrefixInternal(mappedChild, result, childKey, function (c) {
|
|
11316
|
+
return c;
|
|
11317
|
+
});
|
|
11318
|
+
} else if (mappedChild != null) {
|
|
11319
|
+
if (isValidElement(mappedChild)) {
|
|
11320
|
+
mappedChild = cloneAndReplaceKey(mappedChild, // Keep both the (mapped) and old keys if they differ, just as
|
|
11321
|
+
// traverseAllChildren used to do for objects as children
|
|
11322
|
+
keyPrefix + (mappedChild.key && (!child || child.key !== mappedChild.key) ? escapeUserProvidedKey(mappedChild.key) + '/' : '') + childKey);
|
|
11323
|
+
}
|
|
11324
|
+
|
|
11325
|
+
result.push(mappedChild);
|
|
11326
|
+
}
|
|
11327
|
+
}
|
|
11328
|
+
|
|
11329
|
+
function mapIntoWithKeyPrefixInternal(children, array, prefix, func, context) {
|
|
11330
|
+
var escapedPrefix = '';
|
|
11331
|
+
|
|
11332
|
+
if (prefix != null) {
|
|
11333
|
+
escapedPrefix = escapeUserProvidedKey(prefix) + '/';
|
|
11334
|
+
}
|
|
11335
|
+
|
|
11336
|
+
var traverseContext = getPooledTraverseContext(array, escapedPrefix, func, context);
|
|
11337
|
+
traverseAllChildren(children, mapSingleChildIntoContext, traverseContext);
|
|
11338
|
+
releaseTraverseContext(traverseContext);
|
|
11339
|
+
}
|
|
11340
|
+
/**
|
|
11341
|
+
* Maps children that are typically specified as `props.children`.
|
|
11342
|
+
*
|
|
11343
|
+
* See https://reactjs.org/docs/react-api.html#reactchildrenmap
|
|
11344
|
+
*
|
|
11345
|
+
* The provided mapFunction(child, key, index) will be called for each
|
|
11346
|
+
* leaf child.
|
|
11347
|
+
*
|
|
11348
|
+
* @param {?*} children Children tree container.
|
|
11349
|
+
* @param {function(*, int)} func The map function.
|
|
11350
|
+
* @param {*} context Context for mapFunction.
|
|
11351
|
+
* @return {object} Object containing the ordered map of results.
|
|
11352
|
+
*/
|
|
11353
|
+
|
|
11354
|
+
|
|
11355
|
+
function mapChildren(children, func, context) {
|
|
11356
|
+
if (children == null) {
|
|
11357
|
+
return children;
|
|
11358
|
+
}
|
|
11359
|
+
|
|
11360
|
+
var result = [];
|
|
11361
|
+
mapIntoWithKeyPrefixInternal(children, result, null, func, context);
|
|
11362
|
+
return result;
|
|
11363
|
+
}
|
|
11364
|
+
/**
|
|
11365
|
+
* Count the number of children that are typically specified as
|
|
11366
|
+
* `props.children`.
|
|
11367
|
+
*
|
|
11368
|
+
* See https://reactjs.org/docs/react-api.html#reactchildrencount
|
|
11369
|
+
*
|
|
11370
|
+
* @param {?*} children Children tree container.
|
|
11371
|
+
* @return {number} The number of children.
|
|
11372
|
+
*/
|
|
11373
|
+
|
|
11374
|
+
|
|
11375
|
+
function countChildren(children) {
|
|
11376
|
+
return traverseAllChildren(children, function () {
|
|
11377
|
+
return null;
|
|
11378
|
+
}, null);
|
|
11379
|
+
}
|
|
11380
|
+
/**
|
|
11381
|
+
* Flatten a children object (typically specified as `props.children`) and
|
|
11382
|
+
* return an array with appropriately re-keyed children.
|
|
11383
|
+
*
|
|
11384
|
+
* See https://reactjs.org/docs/react-api.html#reactchildrentoarray
|
|
11385
|
+
*/
|
|
11386
|
+
|
|
11387
|
+
|
|
11388
|
+
function toArray(children) {
|
|
11389
|
+
var result = [];
|
|
11390
|
+
mapIntoWithKeyPrefixInternal(children, result, null, function (child) {
|
|
11391
|
+
return child;
|
|
11392
|
+
});
|
|
11393
|
+
return result;
|
|
11394
|
+
}
|
|
11395
|
+
/**
|
|
11396
|
+
* Returns the first child in a collection of children and verifies that there
|
|
11397
|
+
* is only one child in the collection.
|
|
11398
|
+
*
|
|
11399
|
+
* See https://reactjs.org/docs/react-api.html#reactchildrenonly
|
|
11400
|
+
*
|
|
11401
|
+
* The current implementation of this function assumes that a single child gets
|
|
11402
|
+
* passed without a wrapper, but the purpose of this helper function is to
|
|
11403
|
+
* abstract away the particular structure of children.
|
|
11404
|
+
*
|
|
11405
|
+
* @param {?object} children Child collection structure.
|
|
11406
|
+
* @return {ReactElement} The first and only `ReactElement` contained in the
|
|
11407
|
+
* structure.
|
|
11408
|
+
*/
|
|
11409
|
+
|
|
11410
|
+
|
|
11411
|
+
function onlyChild(children) {
|
|
11412
|
+
if (!isValidElement(children)) {
|
|
11413
|
+
{
|
|
11414
|
+
throw Error( "React.Children.only expected to receive a single React element child." );
|
|
11415
|
+
}
|
|
11416
|
+
}
|
|
11417
|
+
|
|
11418
|
+
return children;
|
|
11419
|
+
}
|
|
11420
|
+
|
|
11421
|
+
function createContext(defaultValue, calculateChangedBits) {
|
|
11422
|
+
if (calculateChangedBits === undefined) {
|
|
11423
|
+
calculateChangedBits = null;
|
|
11424
|
+
} else {
|
|
11425
|
+
{
|
|
11426
|
+
if (calculateChangedBits !== null && typeof calculateChangedBits !== 'function') {
|
|
11427
|
+
error('createContext: Expected the optional second argument to be a ' + 'function. Instead received: %s', calculateChangedBits);
|
|
11428
|
+
}
|
|
11429
|
+
}
|
|
11430
|
+
}
|
|
11431
|
+
|
|
11432
|
+
var context = {
|
|
11433
|
+
$$typeof: REACT_CONTEXT_TYPE,
|
|
11434
|
+
_calculateChangedBits: calculateChangedBits,
|
|
11435
|
+
// As a workaround to support multiple concurrent renderers, we categorize
|
|
11436
|
+
// some renderers as primary and others as secondary. We only expect
|
|
11437
|
+
// there to be two concurrent renderers at most: React Native (primary) and
|
|
11438
|
+
// Fabric (secondary); React DOM (primary) and React ART (secondary).
|
|
11439
|
+
// Secondary renderers store their context values on separate fields.
|
|
11440
|
+
_currentValue: defaultValue,
|
|
11441
|
+
_currentValue2: defaultValue,
|
|
11442
|
+
// Used to track how many concurrent renderers this context currently
|
|
11443
|
+
// supports within in a single renderer. Such as parallel server rendering.
|
|
11444
|
+
_threadCount: 0,
|
|
11445
|
+
// These are circular
|
|
11446
|
+
Provider: null,
|
|
11447
|
+
Consumer: null
|
|
11448
|
+
};
|
|
11449
|
+
context.Provider = {
|
|
11450
|
+
$$typeof: REACT_PROVIDER_TYPE,
|
|
11451
|
+
_context: context
|
|
11452
|
+
};
|
|
11453
|
+
var hasWarnedAboutUsingNestedContextConsumers = false;
|
|
11454
|
+
var hasWarnedAboutUsingConsumerProvider = false;
|
|
11455
|
+
|
|
11456
|
+
{
|
|
11457
|
+
// A separate object, but proxies back to the original context object for
|
|
11458
|
+
// backwards compatibility. It has a different $$typeof, so we can properly
|
|
11459
|
+
// warn for the incorrect usage of Context as a Consumer.
|
|
11460
|
+
var Consumer = {
|
|
11461
|
+
$$typeof: REACT_CONTEXT_TYPE,
|
|
11462
|
+
_context: context,
|
|
11463
|
+
_calculateChangedBits: context._calculateChangedBits
|
|
11464
|
+
}; // $FlowFixMe: Flow complains about not setting a value, which is intentional here
|
|
11465
|
+
|
|
11466
|
+
Object.defineProperties(Consumer, {
|
|
11467
|
+
Provider: {
|
|
11468
|
+
get: function () {
|
|
11469
|
+
if (!hasWarnedAboutUsingConsumerProvider) {
|
|
11470
|
+
hasWarnedAboutUsingConsumerProvider = true;
|
|
11471
|
+
|
|
11472
|
+
error('Rendering <Context.Consumer.Provider> is not supported and will be removed in ' + 'a future major release. Did you mean to render <Context.Provider> instead?');
|
|
11473
|
+
}
|
|
11474
|
+
|
|
11475
|
+
return context.Provider;
|
|
11476
|
+
},
|
|
11477
|
+
set: function (_Provider) {
|
|
11478
|
+
context.Provider = _Provider;
|
|
11479
|
+
}
|
|
11480
|
+
},
|
|
11481
|
+
_currentValue: {
|
|
11482
|
+
get: function () {
|
|
11483
|
+
return context._currentValue;
|
|
11484
|
+
},
|
|
11485
|
+
set: function (_currentValue) {
|
|
11486
|
+
context._currentValue = _currentValue;
|
|
11487
|
+
}
|
|
11488
|
+
},
|
|
11489
|
+
_currentValue2: {
|
|
11490
|
+
get: function () {
|
|
11491
|
+
return context._currentValue2;
|
|
11492
|
+
},
|
|
11493
|
+
set: function (_currentValue2) {
|
|
11494
|
+
context._currentValue2 = _currentValue2;
|
|
11495
|
+
}
|
|
11496
|
+
},
|
|
11497
|
+
_threadCount: {
|
|
11498
|
+
get: function () {
|
|
11499
|
+
return context._threadCount;
|
|
11500
|
+
},
|
|
11501
|
+
set: function (_threadCount) {
|
|
11502
|
+
context._threadCount = _threadCount;
|
|
11503
|
+
}
|
|
11504
|
+
},
|
|
11505
|
+
Consumer: {
|
|
11506
|
+
get: function () {
|
|
11507
|
+
if (!hasWarnedAboutUsingNestedContextConsumers) {
|
|
11508
|
+
hasWarnedAboutUsingNestedContextConsumers = true;
|
|
11509
|
+
|
|
11510
|
+
error('Rendering <Context.Consumer.Consumer> is not supported and will be removed in ' + 'a future major release. Did you mean to render <Context.Consumer> instead?');
|
|
11511
|
+
}
|
|
11512
|
+
|
|
11513
|
+
return context.Consumer;
|
|
11514
|
+
}
|
|
11515
|
+
}
|
|
11516
|
+
}); // $FlowFixMe: Flow complains about missing properties because it doesn't understand defineProperty
|
|
11517
|
+
|
|
11518
|
+
context.Consumer = Consumer;
|
|
11519
|
+
}
|
|
11520
|
+
|
|
11521
|
+
{
|
|
11522
|
+
context._currentRenderer = null;
|
|
11523
|
+
context._currentRenderer2 = null;
|
|
11524
|
+
}
|
|
11525
|
+
|
|
11526
|
+
return context;
|
|
11527
|
+
}
|
|
11528
|
+
|
|
11529
|
+
function lazy(ctor) {
|
|
11530
|
+
var lazyType = {
|
|
11531
|
+
$$typeof: REACT_LAZY_TYPE,
|
|
11532
|
+
_ctor: ctor,
|
|
11533
|
+
// React uses these fields to store the result.
|
|
11534
|
+
_status: -1,
|
|
11535
|
+
_result: null
|
|
11536
|
+
};
|
|
11537
|
+
|
|
11538
|
+
{
|
|
11539
|
+
// In production, this would just set it on the object.
|
|
11540
|
+
var defaultProps;
|
|
11541
|
+
var propTypes;
|
|
11542
|
+
Object.defineProperties(lazyType, {
|
|
11543
|
+
defaultProps: {
|
|
11544
|
+
configurable: true,
|
|
11545
|
+
get: function () {
|
|
11546
|
+
return defaultProps;
|
|
11547
|
+
},
|
|
11548
|
+
set: function (newDefaultProps) {
|
|
11549
|
+
error('React.lazy(...): It is not supported to assign `defaultProps` to ' + 'a lazy component import. Either specify them where the component ' + 'is defined, or create a wrapping component around it.');
|
|
11550
|
+
|
|
11551
|
+
defaultProps = newDefaultProps; // Match production behavior more closely:
|
|
11552
|
+
|
|
11553
|
+
Object.defineProperty(lazyType, 'defaultProps', {
|
|
11554
|
+
enumerable: true
|
|
11555
|
+
});
|
|
11556
|
+
}
|
|
11557
|
+
},
|
|
11558
|
+
propTypes: {
|
|
11559
|
+
configurable: true,
|
|
11560
|
+
get: function () {
|
|
11561
|
+
return propTypes;
|
|
11562
|
+
},
|
|
11563
|
+
set: function (newPropTypes) {
|
|
11564
|
+
error('React.lazy(...): It is not supported to assign `propTypes` to ' + 'a lazy component import. Either specify them where the component ' + 'is defined, or create a wrapping component around it.');
|
|
11565
|
+
|
|
11566
|
+
propTypes = newPropTypes; // Match production behavior more closely:
|
|
11567
|
+
|
|
11568
|
+
Object.defineProperty(lazyType, 'propTypes', {
|
|
11569
|
+
enumerable: true
|
|
11570
|
+
});
|
|
11571
|
+
}
|
|
11572
|
+
}
|
|
11573
|
+
});
|
|
11574
|
+
}
|
|
11575
|
+
|
|
11576
|
+
return lazyType;
|
|
11577
|
+
}
|
|
11578
|
+
|
|
11579
|
+
function forwardRef(render) {
|
|
11580
|
+
{
|
|
11581
|
+
if (render != null && render.$$typeof === REACT_MEMO_TYPE) {
|
|
11582
|
+
error('forwardRef requires a render function but received a `memo` ' + 'component. Instead of forwardRef(memo(...)), use ' + 'memo(forwardRef(...)).');
|
|
11583
|
+
} else if (typeof render !== 'function') {
|
|
11584
|
+
error('forwardRef requires a render function but was given %s.', render === null ? 'null' : typeof render);
|
|
11585
|
+
} else {
|
|
11586
|
+
if (render.length !== 0 && render.length !== 2) {
|
|
11587
|
+
error('forwardRef render functions accept exactly two parameters: props and ref. %s', render.length === 1 ? 'Did you forget to use the ref parameter?' : 'Any additional parameter will be undefined.');
|
|
11588
|
+
}
|
|
11589
|
+
}
|
|
11590
|
+
|
|
11591
|
+
if (render != null) {
|
|
11592
|
+
if (render.defaultProps != null || render.propTypes != null) {
|
|
11593
|
+
error('forwardRef render functions do not support propTypes or defaultProps. ' + 'Did you accidentally pass a React component?');
|
|
11594
|
+
}
|
|
11595
|
+
}
|
|
11596
|
+
}
|
|
11597
|
+
|
|
11598
|
+
return {
|
|
11599
|
+
$$typeof: REACT_FORWARD_REF_TYPE,
|
|
11600
|
+
render: render
|
|
11601
|
+
};
|
|
11602
|
+
}
|
|
11603
|
+
|
|
11604
|
+
function isValidElementType(type) {
|
|
11605
|
+
return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
11606
|
+
type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
|
|
11607
|
+
}
|
|
11608
|
+
|
|
11609
|
+
function memo(type, compare) {
|
|
11610
|
+
{
|
|
11611
|
+
if (!isValidElementType(type)) {
|
|
11612
|
+
error('memo: The first argument must be a component. Instead ' + 'received: %s', type === null ? 'null' : typeof type);
|
|
11613
|
+
}
|
|
11614
|
+
}
|
|
11615
|
+
|
|
11616
|
+
return {
|
|
11617
|
+
$$typeof: REACT_MEMO_TYPE,
|
|
11618
|
+
type: type,
|
|
11619
|
+
compare: compare === undefined ? null : compare
|
|
11620
|
+
};
|
|
11621
|
+
}
|
|
11622
|
+
|
|
11623
|
+
function resolveDispatcher() {
|
|
11624
|
+
var dispatcher = ReactCurrentDispatcher.current;
|
|
11625
|
+
|
|
11626
|
+
if (!(dispatcher !== null)) {
|
|
11627
|
+
{
|
|
11628
|
+
throw Error( "Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem." );
|
|
11629
|
+
}
|
|
11630
|
+
}
|
|
11631
|
+
|
|
11632
|
+
return dispatcher;
|
|
11633
|
+
}
|
|
11634
|
+
|
|
11635
|
+
function useContext(Context, unstable_observedBits) {
|
|
11636
|
+
var dispatcher = resolveDispatcher();
|
|
11637
|
+
|
|
11638
|
+
{
|
|
11639
|
+
if (unstable_observedBits !== undefined) {
|
|
11640
|
+
error('useContext() second argument is reserved for future ' + 'use in React. Passing it is not supported. ' + 'You passed: %s.%s', unstable_observedBits, typeof unstable_observedBits === 'number' && Array.isArray(arguments[2]) ? '\n\nDid you call array.map(useContext)? ' + 'Calling Hooks inside a loop is not supported. ' + 'Learn more at https://fb.me/rules-of-hooks' : '');
|
|
11641
|
+
} // TODO: add a more generic warning for invalid values.
|
|
11642
|
+
|
|
11643
|
+
|
|
11644
|
+
if (Context._context !== undefined) {
|
|
11645
|
+
var realContext = Context._context; // Don't deduplicate because this legitimately causes bugs
|
|
11646
|
+
// and nobody should be using this in existing code.
|
|
11647
|
+
|
|
11648
|
+
if (realContext.Consumer === Context) {
|
|
11649
|
+
error('Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be ' + 'removed in a future major release. Did you mean to call useContext(Context) instead?');
|
|
11650
|
+
} else if (realContext.Provider === Context) {
|
|
11651
|
+
error('Calling useContext(Context.Provider) is not supported. ' + 'Did you mean to call useContext(Context) instead?');
|
|
11652
|
+
}
|
|
11653
|
+
}
|
|
11654
|
+
}
|
|
11655
|
+
|
|
11656
|
+
return dispatcher.useContext(Context, unstable_observedBits);
|
|
11657
|
+
}
|
|
11658
|
+
function useState(initialState) {
|
|
11659
|
+
var dispatcher = resolveDispatcher();
|
|
11660
|
+
return dispatcher.useState(initialState);
|
|
11661
|
+
}
|
|
11662
|
+
function useReducer(reducer, initialArg, init) {
|
|
11663
|
+
var dispatcher = resolveDispatcher();
|
|
11664
|
+
return dispatcher.useReducer(reducer, initialArg, init);
|
|
11665
|
+
}
|
|
11666
|
+
function useRef(initialValue) {
|
|
11667
|
+
var dispatcher = resolveDispatcher();
|
|
11668
|
+
return dispatcher.useRef(initialValue);
|
|
11669
|
+
}
|
|
11670
|
+
function useEffect(create, deps) {
|
|
11671
|
+
var dispatcher = resolveDispatcher();
|
|
11672
|
+
return dispatcher.useEffect(create, deps);
|
|
11673
|
+
}
|
|
11674
|
+
function useLayoutEffect(create, deps) {
|
|
11675
|
+
var dispatcher = resolveDispatcher();
|
|
11676
|
+
return dispatcher.useLayoutEffect(create, deps);
|
|
11677
|
+
}
|
|
11678
|
+
function useCallback(callback, deps) {
|
|
11679
|
+
var dispatcher = resolveDispatcher();
|
|
11680
|
+
return dispatcher.useCallback(callback, deps);
|
|
11681
|
+
}
|
|
11682
|
+
function useMemo(create, deps) {
|
|
11683
|
+
var dispatcher = resolveDispatcher();
|
|
11684
|
+
return dispatcher.useMemo(create, deps);
|
|
11685
|
+
}
|
|
11686
|
+
function useImperativeHandle(ref, create, deps) {
|
|
11687
|
+
var dispatcher = resolveDispatcher();
|
|
11688
|
+
return dispatcher.useImperativeHandle(ref, create, deps);
|
|
11689
|
+
}
|
|
11690
|
+
function useDebugValue(value, formatterFn) {
|
|
11691
|
+
{
|
|
11692
|
+
var dispatcher = resolveDispatcher();
|
|
11693
|
+
return dispatcher.useDebugValue(value, formatterFn);
|
|
11694
|
+
}
|
|
11695
|
+
}
|
|
11696
|
+
|
|
11697
|
+
var propTypesMisspellWarningShown;
|
|
11698
|
+
|
|
11699
|
+
{
|
|
11700
|
+
propTypesMisspellWarningShown = false;
|
|
11701
|
+
}
|
|
11702
|
+
|
|
11703
|
+
function getDeclarationErrorAddendum() {
|
|
11704
|
+
if (ReactCurrentOwner.current) {
|
|
11705
|
+
var name = getComponentName(ReactCurrentOwner.current.type);
|
|
11706
|
+
|
|
11707
|
+
if (name) {
|
|
11708
|
+
return '\n\nCheck the render method of `' + name + '`.';
|
|
11709
|
+
}
|
|
11710
|
+
}
|
|
11711
|
+
|
|
11712
|
+
return '';
|
|
11713
|
+
}
|
|
11714
|
+
|
|
11715
|
+
function getSourceInfoErrorAddendum(source) {
|
|
11716
|
+
if (source !== undefined) {
|
|
11717
|
+
var fileName = source.fileName.replace(/^.*[\\\/]/, '');
|
|
11718
|
+
var lineNumber = source.lineNumber;
|
|
11719
|
+
return '\n\nCheck your code at ' + fileName + ':' + lineNumber + '.';
|
|
11720
|
+
}
|
|
11721
|
+
|
|
11722
|
+
return '';
|
|
11723
|
+
}
|
|
11724
|
+
|
|
11725
|
+
function getSourceInfoErrorAddendumForProps(elementProps) {
|
|
11726
|
+
if (elementProps !== null && elementProps !== undefined) {
|
|
11727
|
+
return getSourceInfoErrorAddendum(elementProps.__source);
|
|
11728
|
+
}
|
|
11729
|
+
|
|
11730
|
+
return '';
|
|
11731
|
+
}
|
|
11732
|
+
/**
|
|
11733
|
+
* Warn if there's no key explicitly set on dynamic arrays of children or
|
|
11734
|
+
* object keys are not valid. This allows us to keep track of children between
|
|
11735
|
+
* updates.
|
|
11736
|
+
*/
|
|
11737
|
+
|
|
11738
|
+
|
|
11739
|
+
var ownerHasKeyUseWarning = {};
|
|
11740
|
+
|
|
11741
|
+
function getCurrentComponentErrorInfo(parentType) {
|
|
11742
|
+
var info = getDeclarationErrorAddendum();
|
|
11743
|
+
|
|
11744
|
+
if (!info) {
|
|
11745
|
+
var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name;
|
|
11746
|
+
|
|
11747
|
+
if (parentName) {
|
|
11748
|
+
info = "\n\nCheck the top-level render call using <" + parentName + ">.";
|
|
11749
|
+
}
|
|
11750
|
+
}
|
|
11751
|
+
|
|
11752
|
+
return info;
|
|
11753
|
+
}
|
|
11754
|
+
/**
|
|
11755
|
+
* Warn if the element doesn't have an explicit key assigned to it.
|
|
11756
|
+
* This element is in an array. The array could grow and shrink or be
|
|
11757
|
+
* reordered. All children that haven't already been validated are required to
|
|
11758
|
+
* have a "key" property assigned to it. Error statuses are cached so a warning
|
|
11759
|
+
* will only be shown once.
|
|
11760
|
+
*
|
|
11761
|
+
* @internal
|
|
11762
|
+
* @param {ReactElement} element Element that requires a key.
|
|
11763
|
+
* @param {*} parentType element's parent's type.
|
|
11764
|
+
*/
|
|
11765
|
+
|
|
11766
|
+
|
|
11767
|
+
function validateExplicitKey(element, parentType) {
|
|
11768
|
+
if (!element._store || element._store.validated || element.key != null) {
|
|
11769
|
+
return;
|
|
11770
|
+
}
|
|
11771
|
+
|
|
11772
|
+
element._store.validated = true;
|
|
11773
|
+
var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);
|
|
11774
|
+
|
|
11775
|
+
if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {
|
|
11776
|
+
return;
|
|
11777
|
+
}
|
|
11778
|
+
|
|
11779
|
+
ownerHasKeyUseWarning[currentComponentErrorInfo] = true; // Usually the current owner is the offender, but if it accepts children as a
|
|
11780
|
+
// property, it may be the creator of the child that's responsible for
|
|
11781
|
+
// assigning it a key.
|
|
11782
|
+
|
|
11783
|
+
var childOwner = '';
|
|
11784
|
+
|
|
11785
|
+
if (element && element._owner && element._owner !== ReactCurrentOwner.current) {
|
|
11786
|
+
// Give the component that originally created this child.
|
|
11787
|
+
childOwner = " It was passed a child from " + getComponentName(element._owner.type) + ".";
|
|
11788
|
+
}
|
|
11789
|
+
|
|
11790
|
+
setCurrentlyValidatingElement(element);
|
|
11791
|
+
|
|
11792
|
+
{
|
|
11793
|
+
error('Each child in a list should have a unique "key" prop.' + '%s%s See https://fb.me/react-warning-keys for more information.', currentComponentErrorInfo, childOwner);
|
|
11794
|
+
}
|
|
11795
|
+
|
|
11796
|
+
setCurrentlyValidatingElement(null);
|
|
11797
|
+
}
|
|
11798
|
+
/**
|
|
11799
|
+
* Ensure that every element either is passed in a static location, in an
|
|
11800
|
+
* array with an explicit keys property defined, or in an object literal
|
|
11801
|
+
* with valid key property.
|
|
11802
|
+
*
|
|
11803
|
+
* @internal
|
|
11804
|
+
* @param {ReactNode} node Statically passed child of any type.
|
|
11805
|
+
* @param {*} parentType node's parent's type.
|
|
11806
|
+
*/
|
|
11807
|
+
|
|
11808
|
+
|
|
11809
|
+
function validateChildKeys(node, parentType) {
|
|
11810
|
+
if (typeof node !== 'object') {
|
|
11811
|
+
return;
|
|
11812
|
+
}
|
|
11813
|
+
|
|
11814
|
+
if (Array.isArray(node)) {
|
|
11815
|
+
for (var i = 0; i < node.length; i++) {
|
|
11816
|
+
var child = node[i];
|
|
11817
|
+
|
|
11818
|
+
if (isValidElement(child)) {
|
|
11819
|
+
validateExplicitKey(child, parentType);
|
|
11820
|
+
}
|
|
11821
|
+
}
|
|
11822
|
+
} else if (isValidElement(node)) {
|
|
11823
|
+
// This element was passed in a valid location.
|
|
11824
|
+
if (node._store) {
|
|
11825
|
+
node._store.validated = true;
|
|
11826
|
+
}
|
|
11827
|
+
} else if (node) {
|
|
11828
|
+
var iteratorFn = getIteratorFn(node);
|
|
11829
|
+
|
|
11830
|
+
if (typeof iteratorFn === 'function') {
|
|
11831
|
+
// Entry iterators used to provide implicit keys,
|
|
11832
|
+
// but now we print a separate warning for them later.
|
|
11833
|
+
if (iteratorFn !== node.entries) {
|
|
11834
|
+
var iterator = iteratorFn.call(node);
|
|
11835
|
+
var step;
|
|
11836
|
+
|
|
11837
|
+
while (!(step = iterator.next()).done) {
|
|
11838
|
+
if (isValidElement(step.value)) {
|
|
11839
|
+
validateExplicitKey(step.value, parentType);
|
|
11840
|
+
}
|
|
11841
|
+
}
|
|
11842
|
+
}
|
|
11843
|
+
}
|
|
11844
|
+
}
|
|
11845
|
+
}
|
|
11846
|
+
/**
|
|
11847
|
+
* Given an element, validate that its props follow the propTypes definition,
|
|
11848
|
+
* provided by the type.
|
|
11849
|
+
*
|
|
11850
|
+
* @param {ReactElement} element
|
|
11851
|
+
*/
|
|
11852
|
+
|
|
11853
|
+
|
|
11854
|
+
function validatePropTypes(element) {
|
|
11855
|
+
{
|
|
11856
|
+
var type = element.type;
|
|
11857
|
+
|
|
11858
|
+
if (type === null || type === undefined || typeof type === 'string') {
|
|
11859
|
+
return;
|
|
11860
|
+
}
|
|
11861
|
+
|
|
11862
|
+
var name = getComponentName(type);
|
|
11863
|
+
var propTypes;
|
|
11864
|
+
|
|
11865
|
+
if (typeof type === 'function') {
|
|
11866
|
+
propTypes = type.propTypes;
|
|
11867
|
+
} else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.
|
|
11868
|
+
// Inner props are checked in the reconciler.
|
|
11869
|
+
type.$$typeof === REACT_MEMO_TYPE)) {
|
|
11870
|
+
propTypes = type.propTypes;
|
|
11871
|
+
} else {
|
|
11872
|
+
return;
|
|
11873
|
+
}
|
|
11874
|
+
|
|
11875
|
+
if (propTypes) {
|
|
11876
|
+
setCurrentlyValidatingElement(element);
|
|
11877
|
+
checkPropTypes(propTypes, element.props, 'prop', name, ReactDebugCurrentFrame.getStackAddendum);
|
|
11878
|
+
setCurrentlyValidatingElement(null);
|
|
11879
|
+
} else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {
|
|
11880
|
+
propTypesMisspellWarningShown = true;
|
|
11881
|
+
|
|
11882
|
+
error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', name || 'Unknown');
|
|
11883
|
+
}
|
|
11884
|
+
|
|
11885
|
+
if (typeof type.getDefaultProps === 'function' && !type.getDefaultProps.isReactClassApproved) {
|
|
11886
|
+
error('getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.');
|
|
11887
|
+
}
|
|
11888
|
+
}
|
|
11889
|
+
}
|
|
11890
|
+
/**
|
|
11891
|
+
* Given a fragment, validate that it can only be provided with fragment props
|
|
11892
|
+
* @param {ReactElement} fragment
|
|
11893
|
+
*/
|
|
11894
|
+
|
|
11895
|
+
|
|
11896
|
+
function validateFragmentProps(fragment) {
|
|
11897
|
+
{
|
|
11898
|
+
setCurrentlyValidatingElement(fragment);
|
|
11899
|
+
var keys = Object.keys(fragment.props);
|
|
11900
|
+
|
|
11901
|
+
for (var i = 0; i < keys.length; i++) {
|
|
11902
|
+
var key = keys[i];
|
|
11903
|
+
|
|
11904
|
+
if (key !== 'children' && key !== 'key') {
|
|
11905
|
+
error('Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key);
|
|
11906
|
+
|
|
11907
|
+
break;
|
|
11908
|
+
}
|
|
11909
|
+
}
|
|
11910
|
+
|
|
11911
|
+
if (fragment.ref !== null) {
|
|
11912
|
+
error('Invalid attribute `ref` supplied to `React.Fragment`.');
|
|
11913
|
+
}
|
|
11914
|
+
|
|
11915
|
+
setCurrentlyValidatingElement(null);
|
|
11916
|
+
}
|
|
11917
|
+
}
|
|
11918
|
+
function createElementWithValidation(type, props, children) {
|
|
11919
|
+
var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to
|
|
11920
|
+
// succeed and there will likely be errors in render.
|
|
11921
|
+
|
|
11922
|
+
if (!validType) {
|
|
11923
|
+
var info = '';
|
|
11924
|
+
|
|
11925
|
+
if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {
|
|
11926
|
+
info += ' You likely forgot to export your component from the file ' + "it's defined in, or you might have mixed up default and named imports.";
|
|
11927
|
+
}
|
|
11928
|
+
|
|
11929
|
+
var sourceInfo = getSourceInfoErrorAddendumForProps(props);
|
|
11930
|
+
|
|
11931
|
+
if (sourceInfo) {
|
|
11932
|
+
info += sourceInfo;
|
|
11933
|
+
} else {
|
|
11934
|
+
info += getDeclarationErrorAddendum();
|
|
11935
|
+
}
|
|
11936
|
+
|
|
11937
|
+
var typeString;
|
|
11938
|
+
|
|
11939
|
+
if (type === null) {
|
|
11940
|
+
typeString = 'null';
|
|
11941
|
+
} else if (Array.isArray(type)) {
|
|
11942
|
+
typeString = 'array';
|
|
11943
|
+
} else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) {
|
|
11944
|
+
typeString = "<" + (getComponentName(type.type) || 'Unknown') + " />";
|
|
11945
|
+
info = ' Did you accidentally export a JSX literal instead of a component?';
|
|
11946
|
+
} else {
|
|
11947
|
+
typeString = typeof type;
|
|
11948
|
+
}
|
|
11949
|
+
|
|
11950
|
+
{
|
|
11951
|
+
error('React.createElement: type is invalid -- expected a string (for ' + 'built-in components) or a class/function (for composite ' + 'components) but got: %s.%s', typeString, info);
|
|
11952
|
+
}
|
|
11953
|
+
}
|
|
11954
|
+
|
|
11955
|
+
var element = createElement.apply(this, arguments); // The result can be nullish if a mock or a custom function is used.
|
|
11956
|
+
// TODO: Drop this when these are no longer allowed as the type argument.
|
|
11957
|
+
|
|
11958
|
+
if (element == null) {
|
|
11959
|
+
return element;
|
|
11960
|
+
} // Skip key warning if the type isn't valid since our key validation logic
|
|
11961
|
+
// doesn't expect a non-string/function type and can throw confusing errors.
|
|
11962
|
+
// We don't want exception behavior to differ between dev and prod.
|
|
11963
|
+
// (Rendering will throw with a helpful message and as soon as the type is
|
|
11964
|
+
// fixed, the key warnings will appear.)
|
|
11965
|
+
|
|
11966
|
+
|
|
11967
|
+
if (validType) {
|
|
11968
|
+
for (var i = 2; i < arguments.length; i++) {
|
|
11969
|
+
validateChildKeys(arguments[i], type);
|
|
11970
|
+
}
|
|
11971
|
+
}
|
|
11972
|
+
|
|
11973
|
+
if (type === REACT_FRAGMENT_TYPE) {
|
|
11974
|
+
validateFragmentProps(element);
|
|
11975
|
+
} else {
|
|
11976
|
+
validatePropTypes(element);
|
|
11977
|
+
}
|
|
11978
|
+
|
|
11979
|
+
return element;
|
|
11980
|
+
}
|
|
11981
|
+
var didWarnAboutDeprecatedCreateFactory = false;
|
|
11982
|
+
function createFactoryWithValidation(type) {
|
|
11983
|
+
var validatedFactory = createElementWithValidation.bind(null, type);
|
|
11984
|
+
validatedFactory.type = type;
|
|
11985
|
+
|
|
11986
|
+
{
|
|
11987
|
+
if (!didWarnAboutDeprecatedCreateFactory) {
|
|
11988
|
+
didWarnAboutDeprecatedCreateFactory = true;
|
|
11989
|
+
|
|
11990
|
+
warn('React.createFactory() is deprecated and will be removed in ' + 'a future major release. Consider using JSX ' + 'or use React.createElement() directly instead.');
|
|
11991
|
+
} // Legacy hook: remove it
|
|
11992
|
+
|
|
11993
|
+
|
|
11994
|
+
Object.defineProperty(validatedFactory, 'type', {
|
|
11995
|
+
enumerable: false,
|
|
11996
|
+
get: function () {
|
|
11997
|
+
warn('Factory.type is deprecated. Access the class directly ' + 'before passing it to createFactory.');
|
|
11998
|
+
|
|
11999
|
+
Object.defineProperty(this, 'type', {
|
|
12000
|
+
value: type
|
|
12001
|
+
});
|
|
12002
|
+
return type;
|
|
12003
|
+
}
|
|
12004
|
+
});
|
|
12005
|
+
}
|
|
12006
|
+
|
|
12007
|
+
return validatedFactory;
|
|
12008
|
+
}
|
|
12009
|
+
function cloneElementWithValidation(element, props, children) {
|
|
12010
|
+
var newElement = cloneElement.apply(this, arguments);
|
|
12011
|
+
|
|
12012
|
+
for (var i = 2; i < arguments.length; i++) {
|
|
12013
|
+
validateChildKeys(arguments[i], newElement.type);
|
|
12014
|
+
}
|
|
12015
|
+
|
|
12016
|
+
validatePropTypes(newElement);
|
|
12017
|
+
return newElement;
|
|
12018
|
+
}
|
|
12019
|
+
|
|
12020
|
+
{
|
|
12021
|
+
|
|
12022
|
+
try {
|
|
12023
|
+
var frozenObject = Object.freeze({});
|
|
12024
|
+
var testMap = new Map([[frozenObject, null]]);
|
|
12025
|
+
var testSet = new Set([frozenObject]); // This is necessary for Rollup to not consider these unused.
|
|
12026
|
+
// https://github.com/rollup/rollup/issues/1771
|
|
12027
|
+
// TODO: we can remove these if Rollup fixes the bug.
|
|
12028
|
+
|
|
12029
|
+
testMap.set(0, 0);
|
|
12030
|
+
testSet.add(0);
|
|
12031
|
+
} catch (e) {
|
|
12032
|
+
}
|
|
12033
|
+
}
|
|
12034
|
+
|
|
12035
|
+
var createElement$1 = createElementWithValidation ;
|
|
12036
|
+
var cloneElement$1 = cloneElementWithValidation ;
|
|
12037
|
+
var createFactory = createFactoryWithValidation ;
|
|
12038
|
+
var Children = {
|
|
12039
|
+
map: mapChildren,
|
|
12040
|
+
forEach: forEachChildren,
|
|
12041
|
+
count: countChildren,
|
|
12042
|
+
toArray: toArray,
|
|
12043
|
+
only: onlyChild
|
|
12044
|
+
};
|
|
12045
|
+
|
|
12046
|
+
exports.Children = Children;
|
|
12047
|
+
exports.Component = Component;
|
|
12048
|
+
exports.Fragment = REACT_FRAGMENT_TYPE;
|
|
12049
|
+
exports.Profiler = REACT_PROFILER_TYPE;
|
|
12050
|
+
exports.PureComponent = PureComponent;
|
|
12051
|
+
exports.StrictMode = REACT_STRICT_MODE_TYPE;
|
|
12052
|
+
exports.Suspense = REACT_SUSPENSE_TYPE;
|
|
12053
|
+
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ReactSharedInternals;
|
|
12054
|
+
exports.cloneElement = cloneElement$1;
|
|
12055
|
+
exports.createContext = createContext;
|
|
12056
|
+
exports.createElement = createElement$1;
|
|
12057
|
+
exports.createFactory = createFactory;
|
|
12058
|
+
exports.createRef = createRef;
|
|
12059
|
+
exports.forwardRef = forwardRef;
|
|
12060
|
+
exports.isValidElement = isValidElement;
|
|
12061
|
+
exports.lazy = lazy;
|
|
12062
|
+
exports.memo = memo;
|
|
12063
|
+
exports.useCallback = useCallback;
|
|
12064
|
+
exports.useContext = useContext;
|
|
12065
|
+
exports.useDebugValue = useDebugValue;
|
|
12066
|
+
exports.useEffect = useEffect;
|
|
12067
|
+
exports.useImperativeHandle = useImperativeHandle;
|
|
12068
|
+
exports.useLayoutEffect = useLayoutEffect;
|
|
12069
|
+
exports.useMemo = useMemo;
|
|
12070
|
+
exports.useReducer = useReducer;
|
|
12071
|
+
exports.useRef = useRef;
|
|
12072
|
+
exports.useState = useState;
|
|
12073
|
+
exports.version = ReactVersion;
|
|
12074
|
+
})();
|
|
12075
|
+
}
|
|
12076
|
+
});
|
|
12077
|
+
|
|
12078
|
+
var react = createCommonjsModule(function (module) {
|
|
12079
|
+
|
|
12080
|
+
if (process.env.NODE_ENV === 'production') {
|
|
12081
|
+
module.exports = react_production_min;
|
|
12082
|
+
} else {
|
|
12083
|
+
module.exports = react_development;
|
|
12084
|
+
}
|
|
12085
|
+
});
|
|
12086
|
+
|
|
9936
12087
|
var dateFormatSettings = ["DD MMM yyyy", "DD/MM/yyyy", "MMM DD yyyy", "MM/DD/yyyy", "yyyy/MM/DD"];
|
|
9937
12088
|
var generateDateFormat = function generateDateFormat(settingValue) {
|
|
9938
12089
|
switch (settingValue) {
|
|
@@ -10122,20 +12273,21 @@ var language = {
|
|
|
10122
12273
|
};
|
|
10123
12274
|
var contractHtml = (function (props) {
|
|
10124
12275
|
var proposal = props.proposal,
|
|
10125
|
-
|
|
10126
|
-
contractor = props.contractor
|
|
12276
|
+
companyProps = props.company,
|
|
12277
|
+
contractor = props.contractor,
|
|
12278
|
+
contract = props.contract;
|
|
10127
12279
|
var lang = language[(props === null || props === void 0 ? void 0 : props.lang) || "en"];
|
|
10128
12280
|
var customer = (proposal === null || proposal === void 0 ? void 0 : proposal.customer) || {};
|
|
10129
|
-
var frozenCompany = proposal === null || proposal === void 0 ? void 0 : proposal.company;
|
|
10130
12281
|
var items = ((proposal === null || proposal === void 0 ? void 0 : proposal.serviceItems) || []).filter(function (item) {
|
|
10131
12282
|
return !!(item !== null && item !== void 0 && item.name);
|
|
10132
12283
|
});
|
|
12284
|
+
var companyReference = proposal === null || proposal === void 0 ? void 0 : proposal.companyReference;
|
|
10133
12285
|
var sections = ((proposal === null || proposal === void 0 ? void 0 : proposal.termsAndConditions) || []).filter(function (item) {
|
|
10134
12286
|
return !(item !== null && item !== void 0 && item.isTermHidden);
|
|
10135
12287
|
});
|
|
10136
12288
|
|
|
10137
|
-
var company = _extends({},
|
|
10138
|
-
dateFormat:
|
|
12289
|
+
var company = _extends({}, companyReference, companyProps, {
|
|
12290
|
+
dateFormat: companyReference.dateFormat || companyProps.dateFormat
|
|
10139
12291
|
});
|
|
10140
12292
|
|
|
10141
12293
|
var sectionsDefine = SECTION_DEFINE;
|
|
@@ -10143,16 +12295,16 @@ var contractHtml = (function (props) {
|
|
|
10143
12295
|
customerName: (customer === null || customer === void 0 ? void 0 : customer.companyName) || "Customer Name",
|
|
10144
12296
|
companyName: (company === null || company === void 0 ? void 0 : company.name) || " Supplier Name"
|
|
10145
12297
|
};
|
|
10146
|
-
var styles = "<style>\n .pageBreak {\n page-break-inside: avoid;\n }\n #proposal-generator {\n background-color: #ffffff;\n max-width: 21cm;\n padding: 8px;\n }\n #proposal-generator hr {\n display: block;\n height: 1px;\n background: transparent;\n width: 100%;\n border: none;\n border-top: solid 2px #f0f3fb;\n margin: 16px 0;\n }\n #proposal-generator span, p, b {\n line-height: 1.5;\n }\n #proposal-generator b {\n font-size: 16px;\n font-weight: 700;\n }\n #proposal-generator table {\n width: 100%;\n }\n #proposal-generator section:not(:first-child) {\n margin-top: 40px;\n }\n #proposal-generator .section-title {\n font-size: 18px;\n font-weight: 700;\n color: #263238;\n }\n #proposal-generator .proposal-title {\n margin-bottom: 16px;\n
|
|
12298
|
+
var styles = "<style>\n .pageBreak {\n page-break-inside: avoid;\n }\n #proposal-generator {\n background-color: #ffffff;\n max-width: 21cm;\n padding: 8px;\n }\n #proposal-generator hr {\n display: block;\n height: 1px;\n background: transparent;\n width: 100%;\n border: none;\n border-top: solid 2px #f0f3fb;\n margin: 16px 0;\n }\n #proposal-generator span, p, b {\n line-height: 1.5;\n }\n #proposal-generator b {\n font-size: 16px;\n font-weight: 700;\n }\n #proposal-generator table {\n width: 100%;\n }\n #proposal-generator section:not(:first-child) {\n margin-top: 40px;\n }\n #proposal-generator .section-title {\n font-size: 18px;\n font-weight: 700;\n color: #263238;\n }\n #proposal-generator .proposal-title {\n margin-bottom: 16px;\n }\n #proposal-generator .contact-title {\n font-size: 24px;\n }\n #proposal-generator .table-details {\n margin: 16px 0;\n }\n #proposal-generator .table-details tr td {\n width: 50%;\n vertical-align: top;\n word-break: break-word;\n page-break-inside: avoid;\n }\n #proposal-generator .agreement-date {\n margin-bottom: 16px;\n }\n #proposal-generator .table-service {\n border-collapse: collapse;\n }\n #proposal-generator .table-service tr {\n padding-top: 10px;\n padding-bottom: 10px;\n border-bottom: 1px solid rgb(221, 221, 221);\n }\n #proposal-generator .table-service tr td {\n width: 50%;\n padding: 8px;\n vertical-align: top;\n word-break: break-word;\n page-break-inside: avoid;\n }\n #proposal-generator .table-agreement tr td {\n padding-top: 24px;\n page-break-inside: avoid;\n }\n @print {\n #proposal-generator {\n padding: 0;\n }\n }\n @media only screen and (max-width: 480px) {\n #proposal-generator{\n background-color: #ffffff;\n max-width: 21cm;\n padding: 20px;\n }\n #proposal-generator .table-details tr td {\n width: 100%;\n display: block;\n margin:10px 0px;\n }\n }\n @font-face {\n font-family: 'journal';\n src: local('journal'), url(data:font/ttf;base64," + fontJournal + ") format('truetype');\n }\n \n .signature {\n font-family: 'journal', sans-serif;\n font-size: 40px;\n font-weight: 600;\n color: #595959;\n }\n </style>";
|
|
10147
12299
|
var sectionHeader = "<section>";
|
|
10148
12300
|
sectionHeader += "<h2 class=\"section-title contact-title\">" + ((lang === null || lang === void 0 ? void 0 : lang.service_agreement) || "") + "</h2>";
|
|
10149
12301
|
sectionHeader += "<hr />";
|
|
10150
12302
|
sectionHeader += "</section>";
|
|
10151
12303
|
var sectionUserInfo = "<section>";
|
|
10152
|
-
sectionUserInfo += "<h5 class=\"section-title proposal-title\"
|
|
12304
|
+
sectionUserInfo += "<h5 class=\"section-title proposal-title\">" + ((proposal === null || proposal === void 0 ? void 0 : proposal.title) || "") + "</h5>";
|
|
10153
12305
|
sectionUserInfo += "<span>" + ((lang === null || lang === void 0 ? void 0 : lang.details_line_1) || "") + "</span>";
|
|
10154
12306
|
sectionUserInfo += "<br />";
|
|
10155
|
-
sectionUserInfo += "<span>" + (lang === null || lang === void 0 ? void 0 : lang.details_line_2(
|
|
12307
|
+
sectionUserInfo += "<span>" + (lang === null || lang === void 0 ? void 0 : lang.details_line_2(contract !== null && contract !== void 0 && contract.expirationDate ? formatDate(contract.expirationDate, company || {}) : formatDate(new Date(), company || {}))) + "</span>";
|
|
10156
12308
|
sectionUserInfo += '<table class="table-details"><tbody><tr><td>';
|
|
10157
12309
|
sectionUserInfo += "<b>" + ((lang === null || lang === void 0 ? void 0 : lang.supplier_details) || "") + "</b>";
|
|
10158
12310
|
|
|
@@ -10223,8 +12375,7 @@ var contractHtml = (function (props) {
|
|
|
10223
12375
|
|
|
10224
12376
|
if (it.billingType !== "none") {
|
|
10225
12377
|
sectionServices += "<b>" + FormatCurrency$2(((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>";
|
|
10226
|
-
sectionServices += " " + taxTitle;
|
|
10227
|
-
sectionServices += "</br>";
|
|
12378
|
+
sectionServices += !!taxTitle && " " + taxTitle + "</br>";
|
|
10228
12379
|
|
|
10229
12380
|
if (it.quantity > 1) {
|
|
10230
12381
|
sectionServices += FormatCurrency$2((it === null || it === void 0 ? void 0 : it.price) || 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) || "");
|
|
@@ -10239,9 +12390,9 @@ var contractHtml = (function (props) {
|
|
|
10239
12390
|
if (it.description) {
|
|
10240
12391
|
var _it$description;
|
|
10241
12392
|
|
|
10242
|
-
sectionServices +=
|
|
12393
|
+
sectionServices += '<div>';
|
|
10243
12394
|
sectionServices += "" + (it === null || it === void 0 ? void 0 : (_it$description = it.description) === null || _it$description === void 0 ? void 0 : _it$description.replace(/(?:\r\n|\r|\n)/g, "<br />"));
|
|
10244
|
-
sectionServices +=
|
|
12395
|
+
sectionServices += '</div>';
|
|
10245
12396
|
}
|
|
10246
12397
|
|
|
10247
12398
|
sectionServices += '</td><td align="right">';
|