gt-react 10.19.18 → 10.19.19
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/CHANGELOG.md +10 -0
- package/dist/browser.cjs +236 -232
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.mjs +236 -232
- package/dist/browser.mjs.map +1 -1
- package/dist/client.cjs +183 -182
- package/dist/client.cjs.map +1 -1
- package/dist/client.mjs +183 -182
- package/dist/client.mjs.map +1 -1
- package/dist/index.cjs +183 -182
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +183 -182
- package/dist/index.mjs.map +1 -1
- package/dist/internal.cjs +327 -326
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.mjs +301 -300
- package/dist/internal.mjs.map +1 -1
- package/dist/macros.cjs +4 -1
- package/dist/macros.cjs.map +1 -1
- package/dist/macros.mjs +4 -1
- package/dist/macros.mjs.map +1 -1
- package/package.json +5 -5
package/dist/internal.cjs
CHANGED
|
@@ -131,7 +131,7 @@ function T(e) {
|
|
|
131
131
|
function re(e) {
|
|
132
132
|
return T(e) ?? ``;
|
|
133
133
|
}
|
|
134
|
-
function
|
|
134
|
+
function ie(e) {
|
|
135
135
|
let t = e;
|
|
136
136
|
if (t && typeof t == `object` && typeof t.k == `string`) {
|
|
137
137
|
let e = Object.keys(t);
|
|
@@ -139,52 +139,52 @@ function E(e) {
|
|
|
139
139
|
}
|
|
140
140
|
return !1;
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function ae(e) {
|
|
143
143
|
return e instanceof Uint8Array || ArrayBuffer.isView(e) && e.constructor.name === `Uint8Array` && `BYTES_PER_ELEMENT` in e && e.BYTES_PER_ELEMENT === 1;
|
|
144
144
|
}
|
|
145
|
-
function
|
|
146
|
-
let r =
|
|
145
|
+
function E(e, t, n = ``) {
|
|
146
|
+
let r = ae(e), i = e?.length, a = t !== void 0;
|
|
147
147
|
if (!r || a && i !== t) {
|
|
148
148
|
let o = n && `"${n}" `, s = a ? ` of length ${t}` : ``, c = r ? `length=${i}` : `type=${typeof e}`, l = o + `expected Uint8Array` + s + `, got ` + c;
|
|
149
149
|
throw r ? RangeError(l) : TypeError(l);
|
|
150
150
|
}
|
|
151
151
|
return e;
|
|
152
152
|
}
|
|
153
|
-
function
|
|
153
|
+
function oe(e, t = !0) {
|
|
154
154
|
if (e.destroyed) throw Error(`Hash instance has been destroyed`);
|
|
155
155
|
if (t && e.finished) throw Error(`Hash#digest() has already been called`);
|
|
156
156
|
}
|
|
157
|
-
function
|
|
158
|
-
|
|
157
|
+
function se(e, t) {
|
|
158
|
+
E(e, void 0, `digestInto() output`);
|
|
159
159
|
let n = t.outputLen;
|
|
160
160
|
if (e.length < n) throw RangeError(`"digestInto() output" expected to be of length >=` + n);
|
|
161
161
|
}
|
|
162
|
-
function
|
|
162
|
+
function ce(...e) {
|
|
163
163
|
for (let t = 0; t < e.length; t++) e[t].fill(0);
|
|
164
164
|
}
|
|
165
|
-
function
|
|
165
|
+
function le(e) {
|
|
166
166
|
return new DataView(e.buffer, e.byteOffset, e.byteLength);
|
|
167
167
|
}
|
|
168
|
-
function
|
|
168
|
+
function D(e, t) {
|
|
169
169
|
return e << 32 - t | e >>> t;
|
|
170
170
|
}
|
|
171
171
|
new Uint8Array(new Uint32Array([287454020]).buffer)[0];
|
|
172
|
-
const
|
|
173
|
-
function
|
|
174
|
-
if (
|
|
172
|
+
const ue = typeof Uint8Array.from([]).toHex == `function` && typeof Uint8Array.fromHex == `function`, de = Array.from({ length: 256 }, (e, t) => t.toString(16).padStart(2, `0`));
|
|
173
|
+
function fe(e) {
|
|
174
|
+
if (E(e), ue) return e.toHex();
|
|
175
175
|
let t = ``;
|
|
176
|
-
for (let n = 0; n < e.length; n++) t +=
|
|
176
|
+
for (let n = 0; n < e.length; n++) t += de[e[n]];
|
|
177
177
|
return t;
|
|
178
178
|
}
|
|
179
|
-
function
|
|
179
|
+
function pe(e) {
|
|
180
180
|
if (typeof e != `string`) throw TypeError(`string expected`);
|
|
181
181
|
return new Uint8Array(new TextEncoder().encode(e));
|
|
182
182
|
}
|
|
183
|
-
function
|
|
183
|
+
function me(e, t = {}) {
|
|
184
184
|
let n = (t, n) => e(n).update(t).digest(), r = e(void 0);
|
|
185
185
|
return n.outputLen = r.outputLen, n.blockLen = r.blockLen, n.canXOF = r.canXOF, n.create = (t) => e(t), Object.assign(n, t), Object.freeze(n);
|
|
186
186
|
}
|
|
187
|
-
const
|
|
187
|
+
const he = (e) => ({ oid: Uint8Array.from([
|
|
188
188
|
6,
|
|
189
189
|
9,
|
|
190
190
|
96,
|
|
@@ -197,13 +197,13 @@ const me = (e) => ({ oid: Uint8Array.from([
|
|
|
197
197
|
2,
|
|
198
198
|
e
|
|
199
199
|
]) });
|
|
200
|
-
function
|
|
200
|
+
function ge(e, t, n) {
|
|
201
201
|
return e & t ^ ~e & n;
|
|
202
202
|
}
|
|
203
|
-
function
|
|
203
|
+
function _e(e, t, n) {
|
|
204
204
|
return e & t ^ e & n ^ t & n;
|
|
205
205
|
}
|
|
206
|
-
var
|
|
206
|
+
var ve = class {
|
|
207
207
|
blockLen;
|
|
208
208
|
outputLen;
|
|
209
209
|
canXOF = !1;
|
|
@@ -216,15 +216,15 @@ var _e = class {
|
|
|
216
216
|
pos = 0;
|
|
217
217
|
destroyed = !1;
|
|
218
218
|
constructor(e, t, n, r) {
|
|
219
|
-
this.blockLen = e, this.outputLen = t, this.padOffset = n, this.isLE = r, this.buffer = new Uint8Array(e), this.view =
|
|
219
|
+
this.blockLen = e, this.outputLen = t, this.padOffset = n, this.isLE = r, this.buffer = new Uint8Array(e), this.view = le(this.buffer);
|
|
220
220
|
}
|
|
221
221
|
update(e) {
|
|
222
|
-
|
|
222
|
+
oe(this), E(e);
|
|
223
223
|
let { view: t, buffer: n, blockLen: r } = this, i = e.length;
|
|
224
224
|
for (let a = 0; a < i;) {
|
|
225
225
|
let o = Math.min(r - this.pos, i - a);
|
|
226
226
|
if (o === r) {
|
|
227
|
-
let t =
|
|
227
|
+
let t = le(e);
|
|
228
228
|
for (; r <= i - a; a += r) this.process(t, a);
|
|
229
229
|
continue;
|
|
230
230
|
}
|
|
@@ -233,12 +233,12 @@ var _e = class {
|
|
|
233
233
|
return this.length += e.length, this.roundClean(), this;
|
|
234
234
|
}
|
|
235
235
|
digestInto(e) {
|
|
236
|
-
|
|
236
|
+
oe(this), se(e, this), this.finished = !0;
|
|
237
237
|
let { buffer: t, view: n, blockLen: r, isLE: i } = this, { pos: a } = this;
|
|
238
|
-
t[a++] = 128,
|
|
238
|
+
t[a++] = 128, ce(this.buffer.subarray(a)), this.padOffset > r - a && (this.process(n, 0), a = 0);
|
|
239
239
|
for (let e = a; e < r; e++) t[e] = 0;
|
|
240
240
|
n.setBigUint64(r - 8, BigInt(this.length * 8), i), this.process(n, 0);
|
|
241
|
-
let o =
|
|
241
|
+
let o = le(e), s = this.outputLen;
|
|
242
242
|
if (s % 4) throw Error(`_sha2: outputLen must be aligned to 32bit`);
|
|
243
243
|
let c = s / 4, l = this.get();
|
|
244
244
|
if (c > l.length) throw Error(`_sha2: outputLen bigger than state`);
|
|
@@ -259,7 +259,7 @@ var _e = class {
|
|
|
259
259
|
return this._cloneInto();
|
|
260
260
|
}
|
|
261
261
|
};
|
|
262
|
-
const
|
|
262
|
+
const O = Uint32Array.from([
|
|
263
263
|
1779033703,
|
|
264
264
|
3144134277,
|
|
265
265
|
1013904242,
|
|
@@ -268,25 +268,25 @@ const k = Uint32Array.from([
|
|
|
268
268
|
2600822924,
|
|
269
269
|
528734635,
|
|
270
270
|
1541459225
|
|
271
|
-
]),
|
|
272
|
-
function
|
|
271
|
+
]), k = BigInt(2 ** 32 - 1), ye = BigInt(32);
|
|
272
|
+
function be(e, t = !1) {
|
|
273
273
|
return t ? {
|
|
274
|
-
h: Number(e &
|
|
275
|
-
l: Number(e >>
|
|
274
|
+
h: Number(e & k),
|
|
275
|
+
l: Number(e >> ye & k)
|
|
276
276
|
} : {
|
|
277
|
-
h: Number(e >>
|
|
278
|
-
l: Number(e &
|
|
277
|
+
h: Number(e >> ye & k) | 0,
|
|
278
|
+
l: Number(e & k) | 0
|
|
279
279
|
};
|
|
280
280
|
}
|
|
281
|
-
function
|
|
281
|
+
function xe(e, t = !1) {
|
|
282
282
|
let n = e.length, r = new Uint32Array(n), i = new Uint32Array(n);
|
|
283
283
|
for (let a = 0; a < n; a++) {
|
|
284
|
-
let { h: n, l: o } =
|
|
284
|
+
let { h: n, l: o } = be(e[a], t);
|
|
285
285
|
[r[a], i[a]] = [n, o];
|
|
286
286
|
}
|
|
287
287
|
return [r, i];
|
|
288
288
|
}
|
|
289
|
-
const
|
|
289
|
+
const Se = Uint32Array.from([
|
|
290
290
|
1116352408,
|
|
291
291
|
1899447441,
|
|
292
292
|
3049323471,
|
|
@@ -351,8 +351,8 @@ const xe = Uint32Array.from([
|
|
|
351
351
|
2756734187,
|
|
352
352
|
3204031479,
|
|
353
353
|
3329325298
|
|
354
|
-
]),
|
|
355
|
-
var
|
|
354
|
+
]), A = new Uint32Array(64);
|
|
355
|
+
var Ce = class extends ve {
|
|
356
356
|
constructor(e) {
|
|
357
357
|
super(64, e, 8, !1);
|
|
358
358
|
}
|
|
@@ -373,40 +373,40 @@ var Se = class extends _e {
|
|
|
373
373
|
this.A = e | 0, this.B = t | 0, this.C = n | 0, this.D = r | 0, this.E = i | 0, this.F = a | 0, this.G = o | 0, this.H = s | 0;
|
|
374
374
|
}
|
|
375
375
|
process(e, t) {
|
|
376
|
-
for (let n = 0; n < 16; n++, t += 4)
|
|
376
|
+
for (let n = 0; n < 16; n++, t += 4) A[n] = e.getUint32(t, !1);
|
|
377
377
|
for (let e = 16; e < 64; e++) {
|
|
378
|
-
let t =
|
|
379
|
-
|
|
378
|
+
let t = A[e - 15], n = A[e - 2], r = D(t, 7) ^ D(t, 18) ^ t >>> 3;
|
|
379
|
+
A[e] = (D(n, 17) ^ D(n, 19) ^ n >>> 10) + A[e - 7] + r + A[e - 16] | 0;
|
|
380
380
|
}
|
|
381
381
|
let { A: n, B: r, C: i, D: a, E: o, F: s, G: c, H: l } = this;
|
|
382
382
|
for (let e = 0; e < 64; e++) {
|
|
383
|
-
let t =
|
|
383
|
+
let t = D(o, 6) ^ D(o, 11) ^ D(o, 25), u = l + t + ge(o, s, c) + Se[e] + A[e] | 0, d = (D(n, 2) ^ D(n, 13) ^ D(n, 22)) + _e(n, r, i) | 0;
|
|
384
384
|
l = c, c = s, s = o, o = a + u | 0, a = i, i = r, r = n, n = u + d | 0;
|
|
385
385
|
}
|
|
386
386
|
n = n + this.A | 0, r = r + this.B | 0, i = i + this.C | 0, a = a + this.D | 0, o = o + this.E | 0, s = s + this.F | 0, c = c + this.G | 0, l = l + this.H | 0, this.set(n, r, i, a, o, s, c, l);
|
|
387
387
|
}
|
|
388
388
|
roundClean() {
|
|
389
|
-
|
|
389
|
+
ce(A);
|
|
390
390
|
}
|
|
391
391
|
destroy() {
|
|
392
|
-
this.destroyed = !0, this.set(0, 0, 0, 0, 0, 0, 0, 0),
|
|
393
|
-
}
|
|
394
|
-
},
|
|
395
|
-
A =
|
|
396
|
-
B =
|
|
397
|
-
C =
|
|
398
|
-
D =
|
|
399
|
-
E =
|
|
400
|
-
F =
|
|
401
|
-
G =
|
|
402
|
-
H =
|
|
392
|
+
this.destroyed = !0, this.set(0, 0, 0, 0, 0, 0, 0, 0), ce(this.buffer);
|
|
393
|
+
}
|
|
394
|
+
}, we = class extends Ce {
|
|
395
|
+
A = O[0] | 0;
|
|
396
|
+
B = O[1] | 0;
|
|
397
|
+
C = O[2] | 0;
|
|
398
|
+
D = O[3] | 0;
|
|
399
|
+
E = O[4] | 0;
|
|
400
|
+
F = O[5] | 0;
|
|
401
|
+
G = O[6] | 0;
|
|
402
|
+
H = O[7] | 0;
|
|
403
403
|
constructor() {
|
|
404
404
|
super(32);
|
|
405
405
|
}
|
|
406
406
|
};
|
|
407
|
-
const
|
|
408
|
-
|
|
409
|
-
const
|
|
407
|
+
const Te = xe(`0x428a2f98d728ae22.0x7137449123ef65cd.0xb5c0fbcfec4d3b2f.0xe9b5dba58189dbbc.0x3956c25bf348b538.0x59f111f1b605d019.0x923f82a4af194f9b.0xab1c5ed5da6d8118.0xd807aa98a3030242.0x12835b0145706fbe.0x243185be4ee4b28c.0x550c7dc3d5ffb4e2.0x72be5d74f27b896f.0x80deb1fe3b1696b1.0x9bdc06a725c71235.0xc19bf174cf692694.0xe49b69c19ef14ad2.0xefbe4786384f25e3.0x0fc19dc68b8cd5b5.0x240ca1cc77ac9c65.0x2de92c6f592b0275.0x4a7484aa6ea6e483.0x5cb0a9dcbd41fbd4.0x76f988da831153b5.0x983e5152ee66dfab.0xa831c66d2db43210.0xb00327c898fb213f.0xbf597fc7beef0ee4.0xc6e00bf33da88fc2.0xd5a79147930aa725.0x06ca6351e003826f.0x142929670a0e6e70.0x27b70a8546d22ffc.0x2e1b21385c26c926.0x4d2c6dfc5ac42aed.0x53380d139d95b3df.0x650a73548baf63de.0x766a0abb3c77b2a8.0x81c2c92e47edaee6.0x92722c851482353b.0xa2bfe8a14cf10364.0xa81a664bbc423001.0xc24b8b70d0f89791.0xc76c51a30654be30.0xd192e819d6ef5218.0xd69906245565a910.0xf40e35855771202a.0x106aa07032bbd1b8.0x19a4c116b8d2d0c8.0x1e376c085141ab53.0x2748774cdf8eeb99.0x34b0bcb5e19b48a8.0x391c0cb3c5c95a63.0x4ed8aa4ae3418acb.0x5b9cca4f7763e373.0x682e6ff3d6b2b8a3.0x748f82ee5defb2fc.0x78a5636f43172f60.0x84c87814a1f0ab72.0x8cc702081a6439ec.0x90befffa23631e28.0xa4506cebde82bde9.0xbef9a3f7b2c67915.0xc67178f2e372532b.0xca273eceea26619c.0xd186b8c721c0c207.0xeada7dd6cde0eb1e.0xf57d4f7fee6ed178.0x06f067aa72176fba.0x0a637dc5a2c898a6.0x113f9804bef90dae.0x1b710b35131c471b.0x28db77f523047d84.0x32caab7b40c72493.0x3c9ebe0a15c9bebc.0x431d67c49c100d4c.0x4cc5d4becb3e42b6.0x597f299cfc657e2a.0x5fcb6fab3ad6faec.0x6c44198c4a475817`.split(`.`).map((e) => BigInt(e)));
|
|
408
|
+
Te[0], Te[1];
|
|
409
|
+
const Ee = me(() => new we(), he(1)), De = (e) => `generaltranslation Formatting Error: Invalid cutoff style: ${e}.`, Oe = `DEFAULT_TERMINATOR_KEY`, ke = {
|
|
410
410
|
ellipsis: {
|
|
411
411
|
fr: {
|
|
412
412
|
terminator: `…`,
|
|
@@ -420,17 +420,17 @@ const Te = pe(() => new Ce(), me(1)), Ee = (e) => `generaltranslation Formatting
|
|
|
420
420
|
terminator: `……`,
|
|
421
421
|
separator: void 0
|
|
422
422
|
},
|
|
423
|
-
[
|
|
423
|
+
[Oe]: {
|
|
424
424
|
terminator: `…`,
|
|
425
425
|
separator: void 0
|
|
426
426
|
}
|
|
427
427
|
},
|
|
428
|
-
none: { [
|
|
428
|
+
none: { [Oe]: {
|
|
429
429
|
terminator: void 0,
|
|
430
430
|
separator: void 0
|
|
431
431
|
} }
|
|
432
432
|
};
|
|
433
|
-
var
|
|
433
|
+
var Ae = class e {
|
|
434
434
|
static resolveLocale(e) {
|
|
435
435
|
try {
|
|
436
436
|
let t = e ? Array.isArray(e) ? e.map(String) : [String(e)] : [`en`], [n] = Intl.getCanonicalLocales(t);
|
|
@@ -442,8 +442,8 @@ var ke = class e {
|
|
|
442
442
|
constructor(t, n = {}) {
|
|
443
443
|
this.locale = e.resolveLocale(t);
|
|
444
444
|
let r = n.style ?? `ellipsis`;
|
|
445
|
-
if (!
|
|
446
|
-
let i = n.maxChars === void 0 ? void 0 :
|
|
445
|
+
if (!ke[r]) throw Error(De(r));
|
|
446
|
+
let i = n.maxChars === void 0 ? void 0 : ke[r][new Intl.Locale(this.locale).language] || ke[r].DEFAULT_TERMINATOR_KEY, a = n.terminator ?? i?.terminator, o = a == null ? void 0 : n.separator ?? i?.separator;
|
|
447
447
|
this.additionLength = (a?.length ?? 0) + (o?.length ?? 0), n.maxChars !== void 0 && Math.abs(n.maxChars) < this.additionLength && (a = void 0, o = void 0), this.options = {
|
|
448
448
|
maxChars: n.maxChars,
|
|
449
449
|
style: n.maxChars === void 0 ? void 0 : r,
|
|
@@ -470,7 +470,7 @@ var ke = class e {
|
|
|
470
470
|
return this.options;
|
|
471
471
|
}
|
|
472
472
|
};
|
|
473
|
-
const
|
|
473
|
+
const je = {
|
|
474
474
|
Collator: Intl.Collator,
|
|
475
475
|
DateTimeFormat: Intl.DateTimeFormat,
|
|
476
476
|
DisplayNames: Intl.DisplayNames,
|
|
@@ -480,8 +480,8 @@ const Ae = {
|
|
|
480
480
|
PluralRules: Intl.PluralRules,
|
|
481
481
|
RelativeTimeFormat: Intl.RelativeTimeFormat,
|
|
482
482
|
Segmenter: Intl.Segmenter,
|
|
483
|
-
CutoffFormat:
|
|
484
|
-
},
|
|
483
|
+
CutoffFormat: Ae
|
|
484
|
+
}, Me = new class {
|
|
485
485
|
constructor() {
|
|
486
486
|
this.cache = {};
|
|
487
487
|
}
|
|
@@ -492,73 +492,73 @@ const Ae = {
|
|
|
492
492
|
let [n = `en`, r = {}] = t, i = this.generateKey(n, r), a = this.cache[e];
|
|
493
493
|
a === void 0 && (a = {}, this.cache[e] = a);
|
|
494
494
|
let o = a[i];
|
|
495
|
-
return o === void 0 && (o = new
|
|
495
|
+
return o === void 0 && (o = new je[e](...t), a[i] = o), o;
|
|
496
496
|
}
|
|
497
497
|
}();
|
|
498
|
-
function
|
|
499
|
-
return
|
|
498
|
+
function Ne(e) {
|
|
499
|
+
return Me.get(`PluralRules`, e);
|
|
500
500
|
}
|
|
501
|
-
var
|
|
502
|
-
__addDisposableResource: () =>
|
|
501
|
+
var j = m({
|
|
502
|
+
__addDisposableResource: () => at,
|
|
503
503
|
__assign: () => F,
|
|
504
|
-
__asyncDelegator: () =>
|
|
505
|
-
__asyncGenerator: () =>
|
|
506
|
-
__asyncValues: () =>
|
|
507
|
-
__await: () =>
|
|
508
|
-
__awaiter: () =>
|
|
509
|
-
__classPrivateFieldGet: () =>
|
|
510
|
-
__classPrivateFieldIn: () =>
|
|
511
|
-
__classPrivateFieldSet: () =>
|
|
504
|
+
__asyncDelegator: () => Ze,
|
|
505
|
+
__asyncGenerator: () => Xe,
|
|
506
|
+
__asyncValues: () => Qe,
|
|
507
|
+
__await: () => N,
|
|
508
|
+
__awaiter: () => Ue,
|
|
509
|
+
__classPrivateFieldGet: () => nt,
|
|
510
|
+
__classPrivateFieldIn: () => it,
|
|
511
|
+
__classPrivateFieldSet: () => rt,
|
|
512
512
|
__createBinding: () => I,
|
|
513
|
-
__decorate: () =>
|
|
514
|
-
__disposeResources: () =>
|
|
515
|
-
__esDecorate: () =>
|
|
516
|
-
__exportStar: () =>
|
|
517
|
-
__extends: () =>
|
|
518
|
-
__generator: () =>
|
|
519
|
-
__importDefault: () =>
|
|
520
|
-
__importStar: () =>
|
|
521
|
-
__makeTemplateObject: () =>
|
|
522
|
-
__metadata: () =>
|
|
523
|
-
__param: () =>
|
|
524
|
-
__propKey: () =>
|
|
525
|
-
__read: () =>
|
|
526
|
-
__rest: () =>
|
|
527
|
-
__rewriteRelativeImportExtension: () =>
|
|
528
|
-
__runInitializers: () =>
|
|
529
|
-
__setFunctionName: () =>
|
|
530
|
-
__spread: () =>
|
|
531
|
-
__spreadArray: () =>
|
|
532
|
-
__spreadArrays: () =>
|
|
533
|
-
__values: () =>
|
|
513
|
+
__decorate: () => Ie,
|
|
514
|
+
__disposeResources: () => ot,
|
|
515
|
+
__esDecorate: () => Re,
|
|
516
|
+
__exportStar: () => Ge,
|
|
517
|
+
__extends: () => Pe,
|
|
518
|
+
__generator: () => We,
|
|
519
|
+
__importDefault: () => tt,
|
|
520
|
+
__importStar: () => et,
|
|
521
|
+
__makeTemplateObject: () => $e,
|
|
522
|
+
__metadata: () => He,
|
|
523
|
+
__param: () => Le,
|
|
524
|
+
__propKey: () => Be,
|
|
525
|
+
__read: () => Ke,
|
|
526
|
+
__rest: () => Fe,
|
|
527
|
+
__rewriteRelativeImportExtension: () => st,
|
|
528
|
+
__runInitializers: () => ze,
|
|
529
|
+
__setFunctionName: () => Ve,
|
|
530
|
+
__spread: () => qe,
|
|
531
|
+
__spreadArray: () => Ye,
|
|
532
|
+
__spreadArrays: () => Je,
|
|
533
|
+
__values: () => M,
|
|
534
534
|
default: () => ut
|
|
535
535
|
});
|
|
536
|
-
function
|
|
536
|
+
function Pe(e, t) {
|
|
537
537
|
if (typeof t != `function` && t !== null) throw TypeError(`Class extends value ` + String(t) + ` is not a constructor or null`);
|
|
538
|
-
|
|
538
|
+
P(e, t);
|
|
539
539
|
function n() {
|
|
540
540
|
this.constructor = e;
|
|
541
541
|
}
|
|
542
542
|
e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
|
|
543
543
|
}
|
|
544
|
-
function
|
|
544
|
+
function Fe(e, t) {
|
|
545
545
|
var n = {};
|
|
546
546
|
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
547
547
|
if (e != null && typeof Object.getOwnPropertySymbols == `function`) for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++) t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
|
|
548
548
|
return n;
|
|
549
549
|
}
|
|
550
|
-
function
|
|
550
|
+
function Ie(e, t, n, r) {
|
|
551
551
|
var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
|
|
552
552
|
if (typeof Reflect == `object` && typeof Reflect.decorate == `function`) a = Reflect.decorate(e, t, n, r);
|
|
553
553
|
else for (var s = e.length - 1; s >= 0; s--) (o = e[s]) && (a = (i < 3 ? o(a) : i > 3 ? o(t, n, a) : o(t, n)) || a);
|
|
554
554
|
return i > 3 && a && Object.defineProperty(t, n, a), a;
|
|
555
555
|
}
|
|
556
|
-
function
|
|
556
|
+
function Le(e, t) {
|
|
557
557
|
return function(n, r) {
|
|
558
558
|
t(n, r, e);
|
|
559
559
|
};
|
|
560
560
|
}
|
|
561
|
-
function
|
|
561
|
+
function Re(e, t, n, r, i, a) {
|
|
562
562
|
function o(e) {
|
|
563
563
|
if (e !== void 0 && typeof e != `function`) throw TypeError(`Function expected`);
|
|
564
564
|
return e;
|
|
@@ -583,23 +583,23 @@ function Le(e, t, n, r, i, a) {
|
|
|
583
583
|
}
|
|
584
584
|
l && Object.defineProperty(l, r.name, u), f = !0;
|
|
585
585
|
}
|
|
586
|
-
function
|
|
586
|
+
function ze(e, t, n) {
|
|
587
587
|
for (var r = arguments.length > 2, i = 0; i < t.length; i++) n = r ? t[i].call(e, n) : t[i].call(e);
|
|
588
588
|
return r ? n : void 0;
|
|
589
589
|
}
|
|
590
|
-
function
|
|
590
|
+
function Be(e) {
|
|
591
591
|
return typeof e == `symbol` ? e : `${e}`;
|
|
592
592
|
}
|
|
593
|
-
function
|
|
593
|
+
function Ve(e, t, n) {
|
|
594
594
|
return typeof t == `symbol` && (t = t.description ? `[${t.description}]` : ``), Object.defineProperty(e, `name`, {
|
|
595
595
|
configurable: !0,
|
|
596
596
|
value: n ? `${n} ${t}` : t
|
|
597
597
|
});
|
|
598
598
|
}
|
|
599
|
-
function
|
|
599
|
+
function He(e, t) {
|
|
600
600
|
if (typeof Reflect == `object` && typeof Reflect.metadata == `function`) return Reflect.metadata(e, t);
|
|
601
601
|
}
|
|
602
|
-
function
|
|
602
|
+
function Ue(e, t, n, r) {
|
|
603
603
|
function i(e) {
|
|
604
604
|
return e instanceof n ? e : new n(function(t) {
|
|
605
605
|
t(e);
|
|
@@ -626,7 +626,7 @@ function He(e, t, n, r) {
|
|
|
626
626
|
c((r = r.apply(e, t || [])).next());
|
|
627
627
|
});
|
|
628
628
|
}
|
|
629
|
-
function
|
|
629
|
+
function We(e, t) {
|
|
630
630
|
var n = {
|
|
631
631
|
label: 0,
|
|
632
632
|
sent: function() {
|
|
@@ -696,10 +696,10 @@ function Ue(e, t) {
|
|
|
696
696
|
};
|
|
697
697
|
}
|
|
698
698
|
}
|
|
699
|
-
function
|
|
699
|
+
function Ge(e, t) {
|
|
700
700
|
for (var n in e) n !== `default` && !Object.prototype.hasOwnProperty.call(t, n) && I(t, e, n);
|
|
701
701
|
}
|
|
702
|
-
function
|
|
702
|
+
function M(e) {
|
|
703
703
|
var t = typeof Symbol == `function` && Symbol.iterator, n = t && e[t], r = 0;
|
|
704
704
|
if (n) return n.call(e);
|
|
705
705
|
if (e && typeof e.length == `number`) return { next: function() {
|
|
@@ -710,7 +710,7 @@ function N(e) {
|
|
|
710
710
|
} };
|
|
711
711
|
throw TypeError(t ? `Object is not iterable.` : `Symbol.iterator is not defined.`);
|
|
712
712
|
}
|
|
713
|
-
function
|
|
713
|
+
function Ke(e, t) {
|
|
714
714
|
var n = typeof Symbol == `function` && e[Symbol.iterator];
|
|
715
715
|
if (!n) return e;
|
|
716
716
|
var r = n.call(e), i, a = [], o;
|
|
@@ -727,23 +727,23 @@ function Ge(e, t) {
|
|
|
727
727
|
}
|
|
728
728
|
return a;
|
|
729
729
|
}
|
|
730
|
-
function
|
|
731
|
-
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(
|
|
730
|
+
function qe() {
|
|
731
|
+
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(Ke(arguments[t]));
|
|
732
732
|
return e;
|
|
733
733
|
}
|
|
734
|
-
function
|
|
734
|
+
function Je() {
|
|
735
735
|
for (var e = 0, t = 0, n = arguments.length; t < n; t++) e += arguments[t].length;
|
|
736
736
|
for (var r = Array(e), i = 0, t = 0; t < n; t++) for (var a = arguments[t], o = 0, s = a.length; o < s; o++, i++) r[i] = a[o];
|
|
737
737
|
return r;
|
|
738
738
|
}
|
|
739
|
-
function
|
|
739
|
+
function Ye(e, t, n) {
|
|
740
740
|
if (n || arguments.length === 2) for (var r = 0, i = t.length, a; r < i; r++) (a || !(r in t)) && (a ||= Array.prototype.slice.call(t, 0, r), a[r] = t[r]);
|
|
741
741
|
return e.concat(a || Array.prototype.slice.call(t));
|
|
742
742
|
}
|
|
743
|
-
function
|
|
744
|
-
return this instanceof
|
|
743
|
+
function N(e) {
|
|
744
|
+
return this instanceof N ? (this.v = e, this) : new N(e);
|
|
745
745
|
}
|
|
746
|
-
function
|
|
746
|
+
function Xe(e, t, n) {
|
|
747
747
|
if (!Symbol.asyncIterator) throw TypeError(`Symbol.asyncIterator is not defined.`);
|
|
748
748
|
var r = n.apply(e, t || []), i, a = [];
|
|
749
749
|
return i = Object.create((typeof AsyncIterator == `function` ? AsyncIterator : Object).prototype), s(`next`), s(`throw`), s(`return`, o), i[Symbol.asyncIterator] = function() {
|
|
@@ -774,7 +774,7 @@ function Ye(e, t, n) {
|
|
|
774
774
|
}
|
|
775
775
|
}
|
|
776
776
|
function l(e) {
|
|
777
|
-
e.value instanceof
|
|
777
|
+
e.value instanceof N ? Promise.resolve(e.value.v).then(u, d) : f(a[0][2], e);
|
|
778
778
|
}
|
|
779
779
|
function u(e) {
|
|
780
780
|
c(`next`, e);
|
|
@@ -786,7 +786,7 @@ function Ye(e, t, n) {
|
|
|
786
786
|
e(t), a.shift(), a.length && c(a[0][0], a[0][1]);
|
|
787
787
|
}
|
|
788
788
|
}
|
|
789
|
-
function
|
|
789
|
+
function Ze(e) {
|
|
790
790
|
var t, n;
|
|
791
791
|
return t = {}, r(`next`), r(`throw`, function(e) {
|
|
792
792
|
throw e;
|
|
@@ -796,16 +796,16 @@ function Xe(e) {
|
|
|
796
796
|
function r(r, i) {
|
|
797
797
|
t[r] = e[r] ? function(t) {
|
|
798
798
|
return (n = !n) ? {
|
|
799
|
-
value:
|
|
799
|
+
value: N(e[r](t)),
|
|
800
800
|
done: !1
|
|
801
801
|
} : i ? i(t) : t;
|
|
802
802
|
} : i;
|
|
803
803
|
}
|
|
804
804
|
}
|
|
805
|
-
function
|
|
805
|
+
function Qe(e) {
|
|
806
806
|
if (!Symbol.asyncIterator) throw TypeError(`Symbol.asyncIterator is not defined.`);
|
|
807
807
|
var t = e[Symbol.asyncIterator], n;
|
|
808
|
-
return t ? t.call(e) : (e = typeof
|
|
808
|
+
return t ? t.call(e) : (e = typeof M == `function` ? M(e) : e[Symbol.iterator](), n = {}, r(`next`), r(`throw`), r(`return`), n[Symbol.asyncIterator] = function() {
|
|
809
809
|
return this;
|
|
810
810
|
}, n);
|
|
811
811
|
function r(t) {
|
|
@@ -824,34 +824,34 @@ function Ze(e) {
|
|
|
824
824
|
}, t);
|
|
825
825
|
}
|
|
826
826
|
}
|
|
827
|
-
function
|
|
827
|
+
function $e(e, t) {
|
|
828
828
|
return Object.defineProperty ? Object.defineProperty(e, `raw`, { value: t }) : e.raw = t, e;
|
|
829
829
|
}
|
|
830
|
-
function
|
|
830
|
+
function et(e) {
|
|
831
831
|
if (e && e.__esModule) return e;
|
|
832
832
|
var t = {};
|
|
833
833
|
if (e != null) for (var n = L(e), r = 0; r < n.length; r++) n[r] !== `default` && I(t, e, n[r]);
|
|
834
834
|
return ct(t, e), t;
|
|
835
835
|
}
|
|
836
|
-
function
|
|
836
|
+
function tt(e) {
|
|
837
837
|
return e && e.__esModule ? e : { default: e };
|
|
838
838
|
}
|
|
839
|
-
function
|
|
839
|
+
function nt(e, t, n, r) {
|
|
840
840
|
if (n === `a` && !r) throw TypeError(`Private accessor was defined without a getter`);
|
|
841
841
|
if (typeof t == `function` ? e !== t || !r : !t.has(e)) throw TypeError(`Cannot read private member from an object whose class did not declare it`);
|
|
842
842
|
return n === `m` ? r : n === `a` ? r.call(e) : r ? r.value : t.get(e);
|
|
843
843
|
}
|
|
844
|
-
function
|
|
844
|
+
function rt(e, t, n, r, i) {
|
|
845
845
|
if (r === `m`) throw TypeError(`Private method is not writable`);
|
|
846
846
|
if (r === `a` && !i) throw TypeError(`Private accessor was defined without a setter`);
|
|
847
847
|
if (typeof t == `function` ? e !== t || !i : !t.has(e)) throw TypeError(`Cannot write private member to an object whose class did not declare it`);
|
|
848
848
|
return r === `a` ? i.call(e, n) : i ? i.value = n : t.set(e, n), n;
|
|
849
849
|
}
|
|
850
|
-
function
|
|
850
|
+
function it(e, t) {
|
|
851
851
|
if (t === null || typeof t != `object` && typeof t != `function`) throw TypeError(`Cannot use 'in' operator on non-object`);
|
|
852
852
|
return typeof e == `function` ? t === e : e.has(t);
|
|
853
853
|
}
|
|
854
|
-
function
|
|
854
|
+
function at(e, t, n) {
|
|
855
855
|
if (t != null) {
|
|
856
856
|
if (typeof t != `object` && typeof t != `function`) throw TypeError(`Object expected.`);
|
|
857
857
|
var r, i;
|
|
@@ -878,7 +878,7 @@ function it(e, t, n) {
|
|
|
878
878
|
} else n && e.stack.push({ async: !0 });
|
|
879
879
|
return t;
|
|
880
880
|
}
|
|
881
|
-
function
|
|
881
|
+
function ot(e) {
|
|
882
882
|
function t(t) {
|
|
883
883
|
e.error = e.hasError ? new lt(t, e.error, `An error was suppressed during disposal.`) : t, e.hasError = !0;
|
|
884
884
|
}
|
|
@@ -900,18 +900,18 @@ function at(e) {
|
|
|
900
900
|
}
|
|
901
901
|
return i();
|
|
902
902
|
}
|
|
903
|
-
function
|
|
903
|
+
function st(e, t) {
|
|
904
904
|
return typeof e == `string` && /^\.\.?\//.test(e) ? e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function(e, n, r, i, a) {
|
|
905
905
|
return n ? t ? `.jsx` : `.js` : r && (!i || !a) ? e : r + i + `.` + a.toLowerCase() + `js`;
|
|
906
906
|
}) : e;
|
|
907
907
|
}
|
|
908
|
-
var
|
|
909
|
-
|
|
910
|
-
return
|
|
908
|
+
var P, F, I, ct, L, lt, ut, R = f((() => {
|
|
909
|
+
P = function(e, t) {
|
|
910
|
+
return P = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
|
|
911
911
|
e.__proto__ = t;
|
|
912
912
|
} || function(e, t) {
|
|
913
913
|
for (var n in t) Object.prototype.hasOwnProperty.call(t, n) && (e[n] = t[n]);
|
|
914
|
-
},
|
|
914
|
+
}, P(e, t);
|
|
915
915
|
}, F = function() {
|
|
916
916
|
return F = Object.assign || function(e) {
|
|
917
917
|
for (var t, n = 1, r = arguments.length; n < r; n++) for (var i in t = arguments[n], t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
|
|
@@ -945,38 +945,38 @@ var st, F, I, ct, L, lt, ut, R = f((() => {
|
|
|
945
945
|
var r = Error(n);
|
|
946
946
|
return r.name = `SuppressedError`, r.error = e, r.suppressed = t, r;
|
|
947
947
|
}, ut = {
|
|
948
|
-
__extends:
|
|
948
|
+
__extends: Pe,
|
|
949
949
|
__assign: F,
|
|
950
|
-
__rest:
|
|
951
|
-
__decorate:
|
|
952
|
-
__param:
|
|
953
|
-
__esDecorate:
|
|
954
|
-
__runInitializers:
|
|
955
|
-
__propKey:
|
|
956
|
-
__setFunctionName:
|
|
957
|
-
__metadata:
|
|
958
|
-
__awaiter:
|
|
959
|
-
__generator:
|
|
950
|
+
__rest: Fe,
|
|
951
|
+
__decorate: Ie,
|
|
952
|
+
__param: Le,
|
|
953
|
+
__esDecorate: Re,
|
|
954
|
+
__runInitializers: ze,
|
|
955
|
+
__propKey: Be,
|
|
956
|
+
__setFunctionName: Ve,
|
|
957
|
+
__metadata: He,
|
|
958
|
+
__awaiter: Ue,
|
|
959
|
+
__generator: We,
|
|
960
960
|
__createBinding: I,
|
|
961
|
-
__exportStar:
|
|
962
|
-
__values:
|
|
963
|
-
__read:
|
|
964
|
-
__spread:
|
|
965
|
-
__spreadArrays:
|
|
966
|
-
__spreadArray:
|
|
967
|
-
__await:
|
|
968
|
-
__asyncGenerator:
|
|
969
|
-
__asyncDelegator:
|
|
970
|
-
__asyncValues:
|
|
971
|
-
__makeTemplateObject:
|
|
972
|
-
__importStar:
|
|
973
|
-
__importDefault:
|
|
974
|
-
__classPrivateFieldGet:
|
|
975
|
-
__classPrivateFieldSet:
|
|
976
|
-
__classPrivateFieldIn:
|
|
977
|
-
__addDisposableResource:
|
|
978
|
-
__disposeResources:
|
|
979
|
-
__rewriteRelativeImportExtension:
|
|
961
|
+
__exportStar: Ge,
|
|
962
|
+
__values: M,
|
|
963
|
+
__read: Ke,
|
|
964
|
+
__spread: qe,
|
|
965
|
+
__spreadArrays: Je,
|
|
966
|
+
__spreadArray: Ye,
|
|
967
|
+
__await: N,
|
|
968
|
+
__asyncGenerator: Xe,
|
|
969
|
+
__asyncDelegator: Ze,
|
|
970
|
+
__asyncValues: Qe,
|
|
971
|
+
__makeTemplateObject: $e,
|
|
972
|
+
__importStar: et,
|
|
973
|
+
__importDefault: tt,
|
|
974
|
+
__classPrivateFieldGet: nt,
|
|
975
|
+
__classPrivateFieldSet: rt,
|
|
976
|
+
__classPrivateFieldIn: it,
|
|
977
|
+
__addDisposableResource: at,
|
|
978
|
+
__disposeResources: ot,
|
|
979
|
+
__rewriteRelativeImportExtension: st
|
|
980
980
|
};
|
|
981
981
|
})), dt = p(((e) => {
|
|
982
982
|
Object.defineProperty(e, `__esModule`, { value: !0 }), e.ErrorKind = void 0;
|
|
@@ -1146,7 +1146,7 @@ var st, F, I, ct, L, lt, ut, R = f((() => {
|
|
|
1146
1146
|
Object.defineProperty(e, `__esModule`, { value: !0 }), e.WHITE_SPACE_REGEX = void 0, e.WHITE_SPACE_REGEX = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1147
1147
|
})), ht = p(((e) => {
|
|
1148
1148
|
Object.defineProperty(e, `__esModule`, { value: !0 }), e.parseNumberSkeletonFromString = r, e.parseNumberSkeleton = p;
|
|
1149
|
-
var t = (R(), g(
|
|
1149
|
+
var t = (R(), g(j)), n = mt();
|
|
1150
1150
|
function r(e) {
|
|
1151
1151
|
if (e.length === 0) throw Error(`Number skeleton cannot be empty`);
|
|
1152
1152
|
for (var t = e.split(n.WHITE_SPACE_REGEX).filter(function(e) {
|
|
@@ -1326,7 +1326,7 @@ var st, F, I, ct, L, lt, ut, R = f((() => {
|
|
|
1326
1326
|
}
|
|
1327
1327
|
})), gt = p(((e) => {
|
|
1328
1328
|
Object.defineProperty(e, `__esModule`, { value: !0 });
|
|
1329
|
-
var t = (R(), g(
|
|
1329
|
+
var t = (R(), g(j));
|
|
1330
1330
|
t.__exportStar(pt(), e), t.__exportStar(ht(), e);
|
|
1331
1331
|
})), _t = p(((e) => {
|
|
1332
1332
|
Object.defineProperty(e, `__esModule`, { value: !0 }), e.timeData = void 0, e.timeData = {
|
|
@@ -2514,7 +2514,7 @@ var st, F, I, ct, L, lt, ut, R = f((() => {
|
|
|
2514
2514
|
}
|
|
2515
2515
|
})), yt = p(((e) => {
|
|
2516
2516
|
Object.defineProperty(e, `__esModule`, { value: !0 }), e.Parser = void 0;
|
|
2517
|
-
var t = (R(), g(
|
|
2517
|
+
var t = (R(), g(j)), n = dt(), r = z(), i = ft(), a = gt(), o = vt(), s = RegExp(`^${i.SPACE_SEPARATOR_REGEX.source}*`), c = RegExp(`${i.SPACE_SEPARATOR_REGEX.source}*\$`);
|
|
2518
2518
|
function l(e, t) {
|
|
2519
2519
|
return {
|
|
2520
2520
|
start: e,
|
|
@@ -2574,7 +2574,7 @@ var st, F, I, ct, L, lt, ut, R = f((() => {
|
|
|
2574
2574
|
} else C = function(e, t) {
|
|
2575
2575
|
for (var n = [];;) {
|
|
2576
2576
|
var r = x(e, t);
|
|
2577
|
-
if (r === void 0 ||
|
|
2577
|
+
if (r === void 0 || ae(r) || E(r)) break;
|
|
2578
2578
|
n.push(r), t += r >= 65536 ? 2 : 1;
|
|
2579
2579
|
}
|
|
2580
2580
|
return y.apply(void 0, n);
|
|
@@ -2653,7 +2653,7 @@ var st, F, I, ct, L, lt, ut, R = f((() => {
|
|
|
2653
2653
|
} else return this.error(n.ErrorKind.INVALID_TAG, l(i, this.clonePosition()));
|
|
2654
2654
|
}, e.prototype.parseTagName = function() {
|
|
2655
2655
|
var e = this.offset();
|
|
2656
|
-
for (this.bump(); !this.isEOF() &&
|
|
2656
|
+
for (this.bump(); !this.isEOF() && ie(this.char());) this.bump();
|
|
2657
2657
|
return this.message.slice(e, this.offset());
|
|
2658
2658
|
}, e.prototype.parseLiteral = function(e, t) {
|
|
2659
2659
|
for (var n = this.clonePosition(), i = ``;;) {
|
|
@@ -2981,7 +2981,7 @@ var st, F, I, ct, L, lt, ut, R = f((() => {
|
|
|
2981
2981
|
if (this.bump(), this.isEOF()) break;
|
|
2982
2982
|
}
|
|
2983
2983
|
}, e.prototype.bumpSpace = function() {
|
|
2984
|
-
for (; !this.isEOF() &&
|
|
2984
|
+
for (; !this.isEOF() && ae(this.char());) this.bump();
|
|
2985
2985
|
}, e.prototype.peek = function() {
|
|
2986
2986
|
if (this.isEOF()) return null;
|
|
2987
2987
|
var e = this.char(), t = this.offset();
|
|
@@ -2994,18 +2994,18 @@ var st, F, I, ct, L, lt, ut, R = f((() => {
|
|
|
2994
2994
|
function re(e) {
|
|
2995
2995
|
return T(e) || e === 47;
|
|
2996
2996
|
}
|
|
2997
|
-
function
|
|
2997
|
+
function ie(e) {
|
|
2998
2998
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
|
2999
2999
|
}
|
|
3000
|
-
function
|
|
3000
|
+
function ae(e) {
|
|
3001
3001
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3002
3002
|
}
|
|
3003
|
-
function
|
|
3003
|
+
function E(e) {
|
|
3004
3004
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
|
3005
3005
|
}
|
|
3006
3006
|
})), bt = p(((e) => {
|
|
3007
3007
|
Object.defineProperty(e, `__esModule`, { value: !0 }), e.hoistSelectors = s, e.isStructurallySame = l;
|
|
3008
|
-
var t = (R(), g(
|
|
3008
|
+
var t = (R(), g(j)), n = z();
|
|
3009
3009
|
function r(e) {
|
|
3010
3010
|
return Array.isArray(e) ? t.__spreadArray([], e.map(r), !0) : typeof e == `object` && e ? Object.keys(e).reduce(function(t, n) {
|
|
3011
3011
|
return t[n] = r(e[n]), t;
|
|
@@ -3064,7 +3064,7 @@ var st, F, I, ct, L, lt, ut, R = f((() => {
|
|
|
3064
3064
|
}
|
|
3065
3065
|
})), xt = p(((e) => {
|
|
3066
3066
|
Object.defineProperty(e, `__esModule`, { value: !0 }), e.isStructurallySame = e._Parser = void 0, e.parse = o;
|
|
3067
|
-
var t = (R(), g(
|
|
3067
|
+
var t = (R(), g(j)), n = dt(), r = yt(), i = z();
|
|
3068
3068
|
function a(e) {
|
|
3069
3069
|
e.forEach(function(e) {
|
|
3070
3070
|
if (delete e.location, (0, i.isSelectElement)(e) || (0, i.isPluralElement)(e)) for (var t in e.options) delete e.options[t].location, a(e.options[t].value);
|
|
@@ -3093,7 +3093,7 @@ var st, F, I, ct, L, lt, ut, R = f((() => {
|
|
|
3093
3093
|
});
|
|
3094
3094
|
})), St = p(((e) => {
|
|
3095
3095
|
Object.defineProperty(e, `__esModule`, { value: !0 }), e.printAST = r;
|
|
3096
|
-
var t = (R(), g(
|
|
3096
|
+
var t = (R(), g(j)), n = z();
|
|
3097
3097
|
function r(e) {
|
|
3098
3098
|
return i(e, !1);
|
|
3099
3099
|
}
|
|
@@ -3171,7 +3171,7 @@ function Tt(e) {
|
|
|
3171
3171
|
return wt.includes(e);
|
|
3172
3172
|
}
|
|
3173
3173
|
function Et(e, t = wt, n = [`en`]) {
|
|
3174
|
-
let r =
|
|
3174
|
+
let r = Ne(n).select(e), i = Math.abs(e);
|
|
3175
3175
|
if (i === 0 && t.includes(`zero`)) return `zero`;
|
|
3176
3176
|
if (i === 1) {
|
|
3177
3177
|
if (t.includes(`singular`)) return `singular`;
|
|
@@ -3293,8 +3293,9 @@ function zt(e) {
|
|
|
3293
3293
|
options: { recurseIntoVisited: !1 }
|
|
3294
3294
|
}), n;
|
|
3295
3295
|
}
|
|
3296
|
-
|
|
3297
|
-
|
|
3296
|
+
const Bt = RegExp(`${U}\\d+`);
|
|
3297
|
+
function Vt(e) {
|
|
3298
|
+
if (!Bt.test(e)) return e;
|
|
3298
3299
|
function t(e) {
|
|
3299
3300
|
e.type = V.TYPE.argument, Reflect.deleteProperty(e, `options`);
|
|
3300
3301
|
}
|
|
@@ -3305,7 +3306,7 @@ function Bt(e) {
|
|
|
3305
3306
|
options: { recurseIntoVisited: !1 }
|
|
3306
3307
|
}));
|
|
3307
3308
|
}
|
|
3308
|
-
function
|
|
3309
|
+
function Ht(e, n = 0) {
|
|
3309
3310
|
let r = n, a = (e) => {
|
|
3310
3311
|
let { type: t, props: n } = e;
|
|
3311
3312
|
r += 1;
|
|
@@ -3319,11 +3320,11 @@ function Vt(e, n = 0) {
|
|
|
3319
3320
|
if (a) {
|
|
3320
3321
|
let e = a.split(`-`);
|
|
3321
3322
|
if ((e[1] === `automatic` || e[2] === `automatic`) && (i.injectionType = `automatic`), e[0] === `translate` && (e[0] = `fragment`), e[0] === `variable` && (i.variableType = e?.[1] || `variable`), e[0] === `plural`) {
|
|
3322
|
-
let e = Object.entries(n).reduce((e, [t, n]) => (Tt(t) && (e[t] =
|
|
3323
|
+
let e = Object.entries(n).reduce((e, [t, n]) => (Tt(t) && (e[t] = Ht(n, r)), e), {});
|
|
3323
3324
|
Object.keys(e).length && (i.branches = e);
|
|
3324
3325
|
}
|
|
3325
3326
|
if (e[0] === `branch`) {
|
|
3326
|
-
let { children: e, branch: t, ...a } = n, o = Object.fromEntries(Object.entries(a).filter(([e]) => !e.startsWith(`data-`))), s = Object.entries(o).reduce((e, [t, n]) => (e[t] =
|
|
3327
|
+
let { children: e, branch: t, ...a } = n, o = Object.fromEntries(Object.entries(a).filter(([e]) => !e.startsWith(`data-`))), s = Object.entries(o).reduce((e, [t, n]) => (e[t] = Ht(n, r), e), {});
|
|
3327
3328
|
Object.keys(s).length && (i.branches = s);
|
|
3328
3329
|
}
|
|
3329
3330
|
i.transformation = e[0];
|
|
@@ -3345,10 +3346,10 @@ function Vt(e, n = 0) {
|
|
|
3345
3346
|
}
|
|
3346
3347
|
return c(e);
|
|
3347
3348
|
}
|
|
3348
|
-
const
|
|
3349
|
+
const Ut = `@generaltranslation/react-core`;
|
|
3349
3350
|
function W(e) {
|
|
3350
3351
|
return S({
|
|
3351
|
-
source:
|
|
3352
|
+
source: Ut,
|
|
3352
3353
|
...e
|
|
3353
3354
|
});
|
|
3354
3355
|
}
|
|
@@ -3378,15 +3379,15 @@ W({
|
|
|
3378
3379
|
severity: `Error`,
|
|
3379
3380
|
whatHappened: `Runtime translation could not be completed`
|
|
3380
3381
|
});
|
|
3381
|
-
const
|
|
3382
|
+
const Wt = (e) => W({
|
|
3382
3383
|
severity: `Error`,
|
|
3383
3384
|
whatHappened: `Dictionary subtree "${e}" could not be found`,
|
|
3384
3385
|
fix: `Check that the id matches your dictionary structure`
|
|
3385
|
-
}),
|
|
3386
|
+
}), Gt = () => W({
|
|
3386
3387
|
severity: `Error`,
|
|
3387
3388
|
whatHappened: `A dictionary entry cannot be injected as a subtree`,
|
|
3388
3389
|
fix: `Pass a dictionary object instead`
|
|
3389
|
-
}),
|
|
3390
|
+
}), Kt = () => W({
|
|
3390
3391
|
severity: `Error`,
|
|
3391
3392
|
whatHappened: `A dictionary entry cannot be merged into another dictionary entry`,
|
|
3392
3393
|
fix: `Pass a dictionary subtree instead`
|
|
@@ -3408,28 +3409,28 @@ W({
|
|
|
3408
3409
|
whatHappened: `No dictionary was found`,
|
|
3409
3410
|
fix: `Pass a dictionary to <GTProvider> or configure a dictionary loader before rendering translations`
|
|
3410
3411
|
});
|
|
3411
|
-
`${
|
|
3412
|
-
const
|
|
3412
|
+
`${Ut}`;
|
|
3413
|
+
const Zt = {
|
|
3413
3414
|
variable: `value`,
|
|
3414
3415
|
number: `n`,
|
|
3415
3416
|
datetime: `date`,
|
|
3416
3417
|
currency: `cost`,
|
|
3417
3418
|
"relative-time": `time`
|
|
3418
3419
|
};
|
|
3419
|
-
function
|
|
3420
|
-
return typeof e.name == `string` ? e.name : `_gt_${
|
|
3420
|
+
function Qt(e = {}, t) {
|
|
3421
|
+
return typeof e.name == `string` ? e.name : `_gt_${Zt[t] || `value`}_${e[`data-_gt`]?.id}`;
|
|
3421
3422
|
}
|
|
3422
|
-
function
|
|
3423
|
+
function $t(e) {
|
|
3423
3424
|
return react.default.isValidElement(e);
|
|
3424
3425
|
}
|
|
3425
|
-
const
|
|
3426
|
+
const en = {
|
|
3426
3427
|
pl: `placeholder`,
|
|
3427
3428
|
ti: `title`,
|
|
3428
3429
|
alt: `alt`,
|
|
3429
3430
|
arl: `aria-label`,
|
|
3430
3431
|
arb: `aria-labelledby`,
|
|
3431
3432
|
ard: `aria-describedby`
|
|
3432
|
-
},
|
|
3433
|
+
}, tn = (e) => {
|
|
3433
3434
|
if (!e) return ``;
|
|
3434
3435
|
let { type: t, props: n } = e;
|
|
3435
3436
|
if (t && typeof t == `function`) {
|
|
@@ -3437,8 +3438,8 @@ const $t = {
|
|
|
3437
3438
|
if (`name` in t && typeof t.name == `string` && t.name) return t.name;
|
|
3438
3439
|
}
|
|
3439
3440
|
return t && typeof t == `string` ? t : n.href ? `a` : n[`data-_gt`]?.id ? `C${n[`data-_gt`].id}` : `function`;
|
|
3440
|
-
},
|
|
3441
|
-
let r = Object.entries(
|
|
3441
|
+
}, nn = (e, t, n) => {
|
|
3442
|
+
let r = Object.entries(en).reduce((e, [n, r]) => {
|
|
3442
3443
|
let i = t[r];
|
|
3443
3444
|
return typeof i == `string` && (e[n] = i), e;
|
|
3444
3445
|
}, {});
|
|
@@ -3463,20 +3464,20 @@ const $t = {
|
|
|
3463
3464
|
};
|
|
3464
3465
|
}
|
|
3465
3466
|
return Object.keys(r).length ? r : void 0;
|
|
3466
|
-
},
|
|
3467
|
-
let { props: t } = e, n = { t:
|
|
3467
|
+
}, rn = (e) => {
|
|
3468
|
+
let { props: t } = e, n = { t: tn(e) };
|
|
3468
3469
|
if (t[`data-_gt`]) {
|
|
3469
3470
|
let e = t[`data-_gt`], r = e.transformation;
|
|
3470
3471
|
if (r === `variable`) {
|
|
3471
|
-
let n = e.variableType || `variable`, r =
|
|
3472
|
+
let n = e.variableType || `variable`, r = Qt(t, n), i = Ot(n);
|
|
3472
3473
|
return {
|
|
3473
3474
|
i: e.id,
|
|
3474
3475
|
k: r,
|
|
3475
3476
|
v: i
|
|
3476
3477
|
};
|
|
3477
3478
|
}
|
|
3478
|
-
n.i = e.id, n.d =
|
|
3479
|
-
let i = Object.entries(
|
|
3479
|
+
n.i = e.id, n.d = nn(r, t, e.branches);
|
|
3480
|
+
let i = Object.entries(en).reduce((e, [n, r]) => {
|
|
3480
3481
|
let i = t[r];
|
|
3481
3482
|
return typeof i == `string` && (e[n] = i), e;
|
|
3482
3483
|
}, {});
|
|
@@ -3503,15 +3504,15 @@ const $t = {
|
|
|
3503
3504
|
n.d = Object.keys(i).length ? i : void 0;
|
|
3504
3505
|
}
|
|
3505
3506
|
return t.children && (n.c = q(t.children)), n;
|
|
3506
|
-
},
|
|
3507
|
+
}, an = (e) => $t(e) ? rn(e) : typeof e == `number` ? e.toString() : e;
|
|
3507
3508
|
function q(e) {
|
|
3508
|
-
return Array.isArray(e) ? e.map(
|
|
3509
|
+
return Array.isArray(e) ? e.map(an) : an(e);
|
|
3509
3510
|
}
|
|
3510
3511
|
function J(e, t, n) {
|
|
3511
3512
|
let r = ``, i = null;
|
|
3512
3513
|
return typeof e == `number` && !i && n && (r = Et(e, Object.keys(n).filter(Tt), t)), r && !i && (i = n[r]), i;
|
|
3513
3514
|
}
|
|
3514
|
-
function
|
|
3515
|
+
function on(e) {
|
|
3515
3516
|
if (typeof e == `string`) return !0;
|
|
3516
3517
|
if (Array.isArray(e)) {
|
|
3517
3518
|
if (typeof e?.[0] != `string`) return !1;
|
|
@@ -3538,13 +3539,13 @@ function X(e) {
|
|
|
3538
3539
|
}
|
|
3539
3540
|
return { entry: e };
|
|
3540
3541
|
}
|
|
3541
|
-
function
|
|
3542
|
+
function sn(e) {
|
|
3542
3543
|
return typeof e == `object` && !!e && `data-_gt` in e && typeof e[`data-_gt`] == `object` && !!e[`data-_gt`] && `transformation` in e[`data-_gt`] && e[`data-_gt`]?.transformation === `variable`;
|
|
3543
3544
|
}
|
|
3544
|
-
function
|
|
3545
|
+
function cn(e) {
|
|
3545
3546
|
let t = e[`data-_gt`]?.variableType || `variable`;
|
|
3546
3547
|
return {
|
|
3547
|
-
variableName:
|
|
3548
|
+
variableName: Qt(e, t),
|
|
3548
3549
|
variableType: Ot(t),
|
|
3549
3550
|
injectionType: e[`data-_gt`]?.injectionType || `manual`,
|
|
3550
3551
|
variableValue: (() => {
|
|
@@ -3564,7 +3565,7 @@ function sn(e) {
|
|
|
3564
3565
|
})()
|
|
3565
3566
|
};
|
|
3566
3567
|
}
|
|
3567
|
-
function
|
|
3568
|
+
function ln(e) {
|
|
3568
3569
|
let t = e;
|
|
3569
3570
|
if (t && typeof t == `object` && typeof t.k == `string`) {
|
|
3570
3571
|
let e = Object.keys(t);
|
|
@@ -3572,14 +3573,14 @@ function cn(e) {
|
|
|
3572
3573
|
}
|
|
3573
3574
|
return !1;
|
|
3574
3575
|
}
|
|
3575
|
-
function
|
|
3576
|
+
function un(e) {
|
|
3576
3577
|
return e && e.props && e.props[`data-_gt`] ? e.props[`data-_gt`] : null;
|
|
3577
3578
|
}
|
|
3578
3579
|
function Z({ children: e, defaultLocale: n = `en`, renderVariable: r }) {
|
|
3579
3580
|
let i = (e) => {
|
|
3580
|
-
let i =
|
|
3581
|
-
if (
|
|
3582
|
-
let { variableType: t, variableValue: i, variableOptions: a, injectionType: o } =
|
|
3581
|
+
let i = un(e);
|
|
3582
|
+
if (sn(e.props)) {
|
|
3583
|
+
let { variableType: t, variableValue: i, variableOptions: a, injectionType: o } = cn(e.props);
|
|
3583
3584
|
return r({
|
|
3584
3585
|
variableType: t,
|
|
3585
3586
|
variableValue: i,
|
|
@@ -3612,9 +3613,9 @@ function Z({ children: e, defaultLocale: n = `en`, renderVariable: r }) {
|
|
|
3612
3613
|
}, a = (e) => react.default.isValidElement(e) ? i(e) : e, o = (e) => Array.isArray(e) ? react.default.Children.map(e, a) : a(e);
|
|
3613
3614
|
return o(e);
|
|
3614
3615
|
}
|
|
3615
|
-
function
|
|
3616
|
+
function dn({ sourceElement: e, targetElement: n, locales: r = [`en`], renderVariable: i }) {
|
|
3616
3617
|
let { props: a } = e, o = a[`data-_gt`], s = o?.transformation, c = n.d, l = {};
|
|
3617
|
-
if (c && Object.entries(
|
|
3618
|
+
if (c && Object.entries(en).forEach(([e, t]) => {
|
|
3618
3619
|
c[e] && (l[t] = c[e]);
|
|
3619
3620
|
}), s === `plural`) {
|
|
3620
3621
|
let t = e.props.n;
|
|
@@ -3673,18 +3674,18 @@ function Q({ source: e, target: n, locales: r = [`en`], renderVariable: i }) {
|
|
|
3673
3674
|
if (typeof n == `string`) return n;
|
|
3674
3675
|
if (Array.isArray(n) && !Array.isArray(e) && e && (e = [e]), Array.isArray(e) && Array.isArray(n)) {
|
|
3675
3676
|
let a = {}, o = {}, c = {}, l = e.filter((e) => {
|
|
3676
|
-
if (react.default.isValidElement(e)) if (
|
|
3677
|
-
let { variableName: t, variableValue: n, variableOptions: r, injectionType: i } =
|
|
3677
|
+
if (react.default.isValidElement(e)) if (sn(e.props)) {
|
|
3678
|
+
let { variableName: t, variableValue: n, variableOptions: r, injectionType: i } = cn(e.props);
|
|
3678
3679
|
a[t] = n, o[t] = r, c[t] = i;
|
|
3679
3680
|
} else return !0;
|
|
3680
3681
|
return !1;
|
|
3681
3682
|
}), u = (e) => l.find((t) => {
|
|
3682
|
-
let n =
|
|
3683
|
+
let n = un(t);
|
|
3683
3684
|
return n?.id === void 0 ? !1 : n.id === e.i;
|
|
3684
3685
|
}) || l.shift();
|
|
3685
3686
|
return n.map((e, n) => {
|
|
3686
3687
|
if (typeof e == `string`) return (0, react_jsx_runtime.jsx)(react.default.Fragment, { children: e }, `string_${n}`);
|
|
3687
|
-
if (
|
|
3688
|
+
if (ie(e)) return (0, react_jsx_runtime.jsx)(react.default.Fragment, { children: i({
|
|
3688
3689
|
variableType: e.v || `v`,
|
|
3689
3690
|
variableValue: a[e.k],
|
|
3690
3691
|
variableOptions: o[e.k],
|
|
@@ -3692,7 +3693,7 @@ function Q({ source: e, target: n, locales: r = [`en`], renderVariable: i }) {
|
|
|
3692
3693
|
injectionType: c[e.k] || `manual`
|
|
3693
3694
|
}) }, `var_${n}`);
|
|
3694
3695
|
let l = u(e);
|
|
3695
|
-
return l ? (0, react_jsx_runtime.jsx)(react.default.Fragment, { children:
|
|
3696
|
+
return l ? (0, react_jsx_runtime.jsx)(react.default.Fragment, { children: dn({
|
|
3696
3697
|
sourceElement: l,
|
|
3697
3698
|
targetElement: e,
|
|
3698
3699
|
locales: r,
|
|
@@ -3701,16 +3702,16 @@ function Q({ source: e, target: n, locales: r = [`en`], renderVariable: i }) {
|
|
|
3701
3702
|
});
|
|
3702
3703
|
}
|
|
3703
3704
|
if (n && typeof n == `object` && !Array.isArray(n)) {
|
|
3704
|
-
let a =
|
|
3705
|
+
let a = ie(n) ? `variable` : `element`;
|
|
3705
3706
|
if (react.default.isValidElement(e)) {
|
|
3706
|
-
if (a === `element`) return
|
|
3707
|
+
if (a === `element`) return dn({
|
|
3707
3708
|
sourceElement: e,
|
|
3708
3709
|
targetElement: n,
|
|
3709
3710
|
locales: r,
|
|
3710
3711
|
renderVariable: i
|
|
3711
3712
|
});
|
|
3712
|
-
if (
|
|
3713
|
-
let { variableValue: t, variableOptions: n, variableType: a, injectionType: o } =
|
|
3713
|
+
if (sn(e.props)) {
|
|
3714
|
+
let { variableValue: t, variableOptions: n, variableType: a, injectionType: o } = cn(e.props);
|
|
3714
3715
|
return i({
|
|
3715
3716
|
variableType: a,
|
|
3716
3717
|
variableValue: t,
|
|
@@ -3727,73 +3728,73 @@ function Q({ source: e, target: n, locales: r = [`en`], renderVariable: i }) {
|
|
|
3727
3728
|
renderVariable: i
|
|
3728
3729
|
});
|
|
3729
3730
|
}
|
|
3730
|
-
const
|
|
3731
|
+
const fn = (e = `production`) => ({
|
|
3731
3732
|
method: `default`,
|
|
3732
3733
|
timeout: e === `development` ? 8e3 : 12e3
|
|
3733
3734
|
});
|
|
3734
|
-
function
|
|
3735
|
+
function pn() {
|
|
3735
3736
|
return ``;
|
|
3736
3737
|
}
|
|
3737
|
-
const
|
|
3738
|
+
const mn = `generaltranslation.locale`, hn = `generaltranslation.region`;
|
|
3738
3739
|
function $(e) {
|
|
3739
3740
|
return e === void 0 ? !1 : typeof e == `string` ? !0 : Array.isArray(e) ? !(e.length !== 1 && e.length !== 2 || typeof e[0] != `string` || e.length === 2 && (typeof e[1] != `object` || e[1] === null || !(`$context` in e[1]) && !(`$maxChars` in e[1]) && !(`$_hash` in e[1]))) : !1;
|
|
3740
3741
|
}
|
|
3741
|
-
const
|
|
3742
|
-
function
|
|
3743
|
-
if (Array.isArray(e)) return e.map((e, n) => $(e) ? t[n] :
|
|
3742
|
+
const _n = (e) => typeof e == `string` || Array.isArray(e), vn = (e) => typeof e == `object` && !!e && !Array.isArray(e);
|
|
3743
|
+
function yn(e, t) {
|
|
3744
|
+
if (Array.isArray(e)) return e.map((e, n) => $(e) ? t[n] : yn(e, t[n]));
|
|
3744
3745
|
let n = {
|
|
3745
|
-
...Object.fromEntries(Object.entries(e).filter(([, e]) =>
|
|
3746
|
-
...Object.fromEntries(Object.entries(t).filter(([, e]) =>
|
|
3747
|
-
}, r = Object.entries(e).filter(([, e]) =>
|
|
3748
|
-
for (let r of a) n[r] =
|
|
3746
|
+
...Object.fromEntries(Object.entries(e).filter(([, e]) => _n(e))),
|
|
3747
|
+
...Object.fromEntries(Object.entries(t).filter(([, e]) => _n(e)))
|
|
3748
|
+
}, r = Object.entries(e).filter(([, e]) => vn(e)).map(([e]) => e), i = Object.entries(t).filter(([, e]) => vn(e)).map(([e]) => e), a = new Set([...r, ...i]);
|
|
3749
|
+
for (let r of a) n[r] = yn(_(e, r) || {}, _(t, r) || {});
|
|
3749
3750
|
return n;
|
|
3750
3751
|
}
|
|
3751
|
-
const
|
|
3752
|
-
function
|
|
3752
|
+
const bn = typeof react.use == `function`;
|
|
3753
|
+
function xn({ dictionary: e, id: t }) {
|
|
3753
3754
|
if (t === ``) return e;
|
|
3754
3755
|
let n = e, r = t.split(`.`);
|
|
3755
3756
|
for (let e of r) n = _(n, e);
|
|
3756
3757
|
return n;
|
|
3757
3758
|
}
|
|
3758
|
-
function
|
|
3759
|
+
function Sn({ dictionary: e, id: t, sourceDictionary: n }) {
|
|
3759
3760
|
if (t === ``) return e;
|
|
3760
3761
|
let r = e, i = n, a = t.split(`.`);
|
|
3761
3762
|
for (let e of a) _(r, e) === void 0 && (Array.isArray(_(i, e)) ? v(r, e, []) : v(r, e, {})), r = _(r, e);
|
|
3762
3763
|
return r;
|
|
3763
3764
|
}
|
|
3764
|
-
const
|
|
3765
|
+
const Cn = [
|
|
3765
3766
|
`constructor`,
|
|
3766
3767
|
`prototype`,
|
|
3767
3768
|
`__proto__`
|
|
3768
3769
|
];
|
|
3769
|
-
function
|
|
3770
|
-
return !!
|
|
3770
|
+
function wn(e) {
|
|
3771
|
+
return !!Cn.includes(e);
|
|
3771
3772
|
}
|
|
3772
|
-
function
|
|
3773
|
+
function Tn(e, t, n, r) {
|
|
3773
3774
|
if ($(t)) return e;
|
|
3774
3775
|
let i = n.split(`.`);
|
|
3775
3776
|
i.forEach((e) => {
|
|
3776
|
-
if (
|
|
3777
|
+
if (wn(e)) throw Error(`Invalid key: ${e}`);
|
|
3777
3778
|
}), t ||= {};
|
|
3778
3779
|
for (let e of i.slice(0, -1)) _(t, e) ?? v(t, e, Array.isArray(_(r, e)) ? [] : {}), t = _(t, e), r = _(r, e);
|
|
3779
3780
|
let a = i[i.length - 1];
|
|
3780
3781
|
v(t, a, e);
|
|
3781
3782
|
}
|
|
3782
|
-
function
|
|
3783
|
+
function En(e) {
|
|
3783
3784
|
let t = {};
|
|
3784
3785
|
return Array.isArray(e) && (t = []), Object.entries(e).forEach(([e, n]) => {
|
|
3785
3786
|
if ($(n)) {
|
|
3786
3787
|
let { entry: r } = X(n);
|
|
3787
3788
|
v(t, e, r);
|
|
3788
|
-
} else v(t, e,
|
|
3789
|
+
} else v(t, e, En(n));
|
|
3789
3790
|
}), t;
|
|
3790
3791
|
}
|
|
3791
|
-
function
|
|
3792
|
-
return
|
|
3792
|
+
function Dn(e) {
|
|
3793
|
+
return fe(Ee(pe(e))).slice(0, 16);
|
|
3793
3794
|
}
|
|
3794
|
-
function
|
|
3795
|
+
function On({ source: e, context: t, id: n, maxChars: r, dataFormat: i }, a = Dn) {
|
|
3795
3796
|
let o;
|
|
3796
|
-
return o = i === `JSX` ?
|
|
3797
|
+
return o = i === `JSX` ? An(e) : e, a(re({
|
|
3797
3798
|
source: o,
|
|
3798
3799
|
...n && { id: n },
|
|
3799
3800
|
...t && { context: t },
|
|
@@ -3801,30 +3802,30 @@ function Dn({ source: e, context: t, id: n, maxChars: r, dataFormat: i }, a = En
|
|
|
3801
3802
|
...i && { dataFormat: i }
|
|
3802
3803
|
}));
|
|
3803
3804
|
}
|
|
3804
|
-
const
|
|
3805
|
+
const kn = (e) => {
|
|
3805
3806
|
if (e && typeof e == `object`) {
|
|
3806
3807
|
let t = {};
|
|
3807
|
-
if (`c` in e && e.c && (t.c =
|
|
3808
|
+
if (`c` in e && e.c && (t.c = An(e.c)), `d` in e) {
|
|
3808
3809
|
let n = e?.d;
|
|
3809
|
-
n?.b && (t.b = Object.fromEntries(Object.entries(n.b).map(([e, t]) => [e,
|
|
3810
|
+
n?.b && (t.b = Object.fromEntries(Object.entries(n.b).map(([e, t]) => [e, An(t)]))), n?.t && (t.t = n.t);
|
|
3810
3811
|
}
|
|
3811
|
-
return
|
|
3812
|
+
return ie(e) ? {
|
|
3812
3813
|
k: e.k,
|
|
3813
3814
|
...e.v && { v: e.v }
|
|
3814
3815
|
} : t;
|
|
3815
3816
|
}
|
|
3816
3817
|
return e;
|
|
3817
3818
|
};
|
|
3818
|
-
function
|
|
3819
|
-
return Array.isArray(e) ? e.map(
|
|
3819
|
+
function An(e) {
|
|
3820
|
+
return Array.isArray(e) ? e.map(kn) : kn(e);
|
|
3820
3821
|
}
|
|
3821
|
-
function
|
|
3822
|
+
function jn(e, t = ``) {
|
|
3822
3823
|
let n = !1;
|
|
3823
3824
|
return Object.entries(e).forEach(([r, i]) => {
|
|
3824
3825
|
let a = t ? `${t}.${r}` : r;
|
|
3825
3826
|
if ($(i)) {
|
|
3826
3827
|
let { entry: t, metadata: o } = X(i);
|
|
3827
|
-
o?.$_hash || (o ||= {}, o.$_hash =
|
|
3828
|
+
o?.$_hash || (o ||= {}, o.$_hash = On({
|
|
3828
3829
|
source: Rt(t),
|
|
3829
3830
|
...o?.$context && { context: o.$context },
|
|
3830
3831
|
...o?.$maxChars != null && { maxChars: Math.abs(o.$maxChars) },
|
|
@@ -3832,7 +3833,7 @@ function An(e, t = ``) {
|
|
|
3832
3833
|
dataFormat: `ICU`
|
|
3833
3834
|
}), v(e, r, [t, o]), n = !0);
|
|
3834
3835
|
} else {
|
|
3835
|
-
let { updateDictionary: e } =
|
|
3836
|
+
let { updateDictionary: e } = jn(i, a);
|
|
3836
3837
|
n ||= e;
|
|
3837
3838
|
}
|
|
3838
3839
|
}), {
|
|
@@ -3840,44 +3841,44 @@ function An(e, t = ``) {
|
|
|
3840
3841
|
updateDictionary: n
|
|
3841
3842
|
};
|
|
3842
3843
|
}
|
|
3843
|
-
function
|
|
3844
|
+
function Mn(e, t, n, r, i = ``) {
|
|
3844
3845
|
let a = !1, o = i ? i.split(`.`) : [];
|
|
3845
3846
|
return r.forEach(({ metadata: r }) => {
|
|
3846
3847
|
let { $_hash: i, $id: s } = r, c = o.length > 0 ? s.split(`.`).slice(o.length).join(`.`) : s, l = Y(t, c), u;
|
|
3847
3848
|
$(l) && (u = X(l).entry);
|
|
3848
3849
|
let d = n[i] || u;
|
|
3849
|
-
d && (
|
|
3850
|
+
d && (Tn(d, t, c, e), a = !0);
|
|
3850
3851
|
}), {
|
|
3851
3852
|
dictionary: t,
|
|
3852
3853
|
updateDictionary: a
|
|
3853
3854
|
};
|
|
3854
3855
|
}
|
|
3855
|
-
function
|
|
3856
|
+
function Nn(e, t, n, r = ``) {
|
|
3856
3857
|
let i = r ? r.split(`.`) : [];
|
|
3857
3858
|
return n.forEach(({ source: n, metadata: r }) => {
|
|
3858
3859
|
let { $id: a } = r, o = i.length > 0 ? a.split(`.`).slice(i.length).join(`.`) : a, s = Y(t, o), c;
|
|
3859
|
-
$(s) && (c = X(s).entry),
|
|
3860
|
+
$(s) && (c = X(s).entry), Tn(c || n, t, o, e);
|
|
3860
3861
|
}), t;
|
|
3861
3862
|
}
|
|
3862
|
-
function
|
|
3863
|
-
let r =
|
|
3863
|
+
function Pn(e, t, n) {
|
|
3864
|
+
let r = xn({
|
|
3864
3865
|
dictionary: e,
|
|
3865
3866
|
id: n
|
|
3866
3867
|
});
|
|
3867
|
-
if (!r) throw Error(
|
|
3868
|
-
if ($(r)) throw Error(
|
|
3869
|
-
return
|
|
3868
|
+
if (!r) throw Error(Wt(n));
|
|
3869
|
+
if ($(r)) throw Error(Gt());
|
|
3870
|
+
return Fn(e, yn(r, t), n);
|
|
3870
3871
|
}
|
|
3871
|
-
function
|
|
3872
|
+
function Fn(e, t, n) {
|
|
3872
3873
|
let r = Y(e, n);
|
|
3873
|
-
if (!r) throw Error(
|
|
3874
|
-
if ($(r)) throw Error(
|
|
3874
|
+
if (!r) throw Error(Wt(n));
|
|
3875
|
+
if ($(r)) throw Error(Kt());
|
|
3875
3876
|
let i = n.split(`.`), a = i.slice(0, -1), o = i[i.length - 1], s = e;
|
|
3876
3877
|
return a.forEach((e) => {
|
|
3877
3878
|
s = _(s, e);
|
|
3878
3879
|
}), v(s, o, t), e;
|
|
3879
3880
|
}
|
|
3880
|
-
function
|
|
3881
|
+
function In(e, t, n = ``) {
|
|
3881
3882
|
let r = [];
|
|
3882
3883
|
return Object.entries(e).forEach(([e, i]) => {
|
|
3883
3884
|
let a = n ? `${n}.${e}` : e;
|
|
@@ -3892,10 +3893,10 @@ function Fn(e, t, n = ``) {
|
|
|
3892
3893
|
$_hash: o?.$_hash || ``
|
|
3893
3894
|
}
|
|
3894
3895
|
});
|
|
3895
|
-
} else r.push(...
|
|
3896
|
+
} else r.push(...In(i, _(t, e) || (Array.isArray(i) ? [] : {}), a));
|
|
3896
3897
|
}), r;
|
|
3897
3898
|
}
|
|
3898
|
-
var
|
|
3899
|
+
var Ln = {
|
|
3899
3900
|
warn(e) {
|
|
3900
3901
|
console.warn(e);
|
|
3901
3902
|
},
|
|
@@ -3909,11 +3910,11 @@ var In = {
|
|
|
3909
3910
|
console.debug(e);
|
|
3910
3911
|
}
|
|
3911
3912
|
};
|
|
3912
|
-
function
|
|
3913
|
+
function Rn(e) {
|
|
3913
3914
|
return Object.fromEntries(Object.entries(e).filter(([e]) => e !== `$id` && e !== `$context` && e !== `$maxChars` && e !== `$hash` && e !== `$_hash` && e !== `$_source` && e !== `$_fallback` && e !== `$format` && e !== `$_locales` && e !== `$locale`));
|
|
3914
3915
|
}
|
|
3915
|
-
const
|
|
3916
|
-
function
|
|
3916
|
+
const zn = (e) => `String interpolation failed for message: "${e}".`;
|
|
3917
|
+
function Bn(e, t, n, r) {
|
|
3917
3918
|
try {
|
|
3918
3919
|
return (0, _generaltranslation_format.formatMessage)(e, {
|
|
3919
3920
|
variables: t,
|
|
@@ -3921,27 +3922,27 @@ function zn(e, t, n, r) {
|
|
|
3921
3922
|
dataFormat: r
|
|
3922
3923
|
});
|
|
3923
3924
|
} catch {
|
|
3924
|
-
return
|
|
3925
|
+
return Ln.warn(zn(e)), e;
|
|
3925
3926
|
}
|
|
3926
3927
|
}
|
|
3927
|
-
function
|
|
3928
|
+
function Vn(e, t) {
|
|
3928
3929
|
if (!e) return e;
|
|
3929
|
-
let n = t.$_fallback, r =
|
|
3930
|
+
let n = t.$_fallback, r = Rn(t);
|
|
3930
3931
|
try {
|
|
3931
3932
|
let i = zt(n || ``);
|
|
3932
|
-
return (0, _generaltranslation_format.formatCutoff)(
|
|
3933
|
+
return (0, _generaltranslation_format.formatCutoff)(Bn(Object.keys(i).length ? Vt(e) : e, {
|
|
3933
3934
|
...r,
|
|
3934
3935
|
...i,
|
|
3935
3936
|
[U]: `other`
|
|
3936
3937
|
}, t.$locale ?? t.$_locales, t.$format), { maxChars: t.$maxChars });
|
|
3937
3938
|
} catch {
|
|
3938
|
-
return
|
|
3939
|
+
return Ln.warn(zn(e)), t.$_fallback == null ? (0, _generaltranslation_format.formatCutoff)(e, { maxChars: t.$maxChars }) : Vn(t.$_fallback, {
|
|
3939
3940
|
...t,
|
|
3940
3941
|
$_fallback: void 0
|
|
3941
3942
|
});
|
|
3942
3943
|
}
|
|
3943
3944
|
}
|
|
3944
|
-
function
|
|
3945
|
+
function Hn(e) {
|
|
3945
3946
|
if (e.lastIndexOf(`:`) === -1) return null;
|
|
3946
3947
|
let t = e.slice(e.lastIndexOf(`:`) + 1);
|
|
3947
3948
|
try {
|
|
@@ -3950,12 +3951,12 @@ function Vn(e) {
|
|
|
3950
3951
|
return null;
|
|
3951
3952
|
}
|
|
3952
3953
|
}
|
|
3953
|
-
function
|
|
3954
|
+
function Un(e) {
|
|
3954
3955
|
return !!(e.$_hash && e.$_source);
|
|
3955
3956
|
}
|
|
3956
|
-
function
|
|
3957
|
+
function Wn(e, t) {
|
|
3957
3958
|
let n = t;
|
|
3958
|
-
return n.$_hash == null ?
|
|
3959
|
+
return n.$_hash == null ? On({
|
|
3959
3960
|
source: t.$format === `ICU` ? Rt(e) : e,
|
|
3960
3961
|
...n.$context && { context: n.$context },
|
|
3961
3962
|
...n.$id && { id: n.$id },
|
|
@@ -3963,17 +3964,17 @@ function Un(e, t) {
|
|
|
3963
3964
|
dataFormat: t.$format
|
|
3964
3965
|
}) : n.$_hash;
|
|
3965
3966
|
}
|
|
3966
|
-
function
|
|
3967
|
+
function Gn(e) {
|
|
3967
3968
|
return typeof e == `string` && e.lastIndexOf(`:`) !== -1 ? e.slice(0, e.lastIndexOf(`:`)) : e;
|
|
3968
3969
|
}
|
|
3969
|
-
const
|
|
3970
|
-
function
|
|
3971
|
-
if (typeof e != `string`) return t ? e.map((e, n) =>
|
|
3970
|
+
const Kn = (e, t = {}) => Vn(e, t), qn = (e, t = {}) => e && (Un(Hn(e) ?? {}) ? Gn(e) : Vn(e, t));
|
|
3971
|
+
function Jn(e, t) {
|
|
3972
|
+
if (typeof e != `string`) return t ? e.map((e, n) => Jn(e, {
|
|
3972
3973
|
...t,
|
|
3973
3974
|
...t.$id && { $id: `${t.$id}.${n}` }
|
|
3974
3975
|
})) : e;
|
|
3975
3976
|
if (!t) return e;
|
|
3976
|
-
let n =
|
|
3977
|
+
let n = Rn(t), r = e;
|
|
3977
3978
|
try {
|
|
3978
3979
|
r = (0, _generaltranslation_format.formatMessage)(e, {
|
|
3979
3980
|
locales: [`en`],
|
|
@@ -3983,9 +3984,9 @@ function qn(e, t) {
|
|
|
3983
3984
|
}
|
|
3984
3985
|
});
|
|
3985
3986
|
} catch {
|
|
3986
|
-
return
|
|
3987
|
+
return Ln.warn(zn(e)), e;
|
|
3987
3988
|
}
|
|
3988
|
-
let i = e, a = t.$_hash ||
|
|
3989
|
+
let i = e, a = t.$_hash || Wn(e, {
|
|
3989
3990
|
$format: `ICU`,
|
|
3990
3991
|
...t
|
|
3991
3992
|
}), s = {
|
|
@@ -3995,52 +3996,52 @@ function qn(e, t) {
|
|
|
3995
3996
|
}, c = C(JSON.stringify(s));
|
|
3996
3997
|
return `${r}:${c}`;
|
|
3997
3998
|
}
|
|
3998
|
-
function
|
|
3999
|
+
function Yn({ children: e }) {
|
|
3999
4000
|
return e;
|
|
4000
4001
|
}
|
|
4001
|
-
function
|
|
4002
|
-
return
|
|
4002
|
+
function Xn(e) {
|
|
4003
|
+
return Yn(e);
|
|
4003
4004
|
}
|
|
4004
|
-
|
|
4005
|
+
Yn._gtt = `derive`, Xn._gtt = `derive`;
|
|
4005
4006
|
//#endregion
|
|
4006
|
-
exports.Derive =
|
|
4007
|
-
exports.Static =
|
|
4008
|
-
exports.addGTIdentifier =
|
|
4009
|
-
exports.collectUntranslatedEntries =
|
|
4007
|
+
exports.Derive = Yn;
|
|
4008
|
+
exports.Static = Xn;
|
|
4009
|
+
exports.addGTIdentifier = Ht;
|
|
4010
|
+
exports.collectUntranslatedEntries = In;
|
|
4010
4011
|
exports.declareStatic = Lt;
|
|
4011
4012
|
exports.declareVar = Ft;
|
|
4012
|
-
exports.decodeMsg =
|
|
4013
|
-
exports.decodeOptions =
|
|
4013
|
+
exports.decodeMsg = Gn;
|
|
4014
|
+
exports.decodeOptions = Hn;
|
|
4014
4015
|
exports.decodeVars = Nt;
|
|
4015
|
-
exports.defaultLocaleCookieName =
|
|
4016
|
-
exports.defaultRegionCookieName =
|
|
4016
|
+
exports.defaultLocaleCookieName = mn;
|
|
4017
|
+
exports.defaultRegionCookieName = hn;
|
|
4017
4018
|
exports.derive = It;
|
|
4018
4019
|
exports.flattenDictionary = y;
|
|
4019
|
-
exports.getDefaultRenderSettings =
|
|
4020
|
+
exports.getDefaultRenderSettings = fn;
|
|
4020
4021
|
exports.getDictionaryEntry = Y;
|
|
4021
4022
|
exports.getEntryAndMetadata = X;
|
|
4022
4023
|
exports.getPluralBranch = J;
|
|
4023
|
-
exports.getSubtree =
|
|
4024
|
-
exports.getSubtreeWithCreation =
|
|
4025
|
-
exports.getVariableName =
|
|
4026
|
-
exports.getVariableProps =
|
|
4027
|
-
exports.gtFallback =
|
|
4028
|
-
exports.injectAndMerge =
|
|
4029
|
-
exports.injectEntry =
|
|
4030
|
-
exports.injectFallbacks =
|
|
4031
|
-
exports.injectHashes =
|
|
4032
|
-
exports.injectTranslations =
|
|
4024
|
+
exports.getSubtree = xn;
|
|
4025
|
+
exports.getSubtreeWithCreation = Sn;
|
|
4026
|
+
exports.getVariableName = Qt;
|
|
4027
|
+
exports.getVariableProps = cn;
|
|
4028
|
+
exports.gtFallback = Kn;
|
|
4029
|
+
exports.injectAndMerge = Pn;
|
|
4030
|
+
exports.injectEntry = Tn;
|
|
4031
|
+
exports.injectFallbacks = Nn;
|
|
4032
|
+
exports.injectHashes = jn;
|
|
4033
|
+
exports.injectTranslations = Mn;
|
|
4033
4034
|
exports.isDictionaryEntry = $;
|
|
4034
|
-
exports.isValidDictionaryEntry =
|
|
4035
|
-
exports.isVariableObject =
|
|
4036
|
-
exports.mFallback =
|
|
4037
|
-
exports.mergeDictionaries =
|
|
4038
|
-
exports.msg =
|
|
4039
|
-
exports.reactHasUse =
|
|
4035
|
+
exports.isValidDictionaryEntry = on;
|
|
4036
|
+
exports.isVariableObject = ln;
|
|
4037
|
+
exports.mFallback = qn;
|
|
4038
|
+
exports.mergeDictionaries = yn;
|
|
4039
|
+
exports.msg = Jn;
|
|
4040
|
+
exports.reactHasUse = bn;
|
|
4040
4041
|
exports.renderDefaultChildren = Z;
|
|
4041
|
-
exports.renderSkeleton =
|
|
4042
|
+
exports.renderSkeleton = pn;
|
|
4042
4043
|
exports.renderTranslatedChildren = Q;
|
|
4043
|
-
exports.stripMetadataFromEntries =
|
|
4044
|
+
exports.stripMetadataFromEntries = En;
|
|
4044
4045
|
exports.writeChildrenAsObjects = q;
|
|
4045
4046
|
|
|
4046
4047
|
//# sourceMappingURL=internal.cjs.map
|