gt-react 10.19.17 → 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 +19 -0
- package/dist/browser.cjs +698 -871
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.d.cts +9 -6
- package/dist/browser.d.cts.map +1 -1
- package/dist/browser.d.mts +9 -6
- package/dist/browser.d.mts.map +1 -1
- package/dist/browser.mjs +698 -871
- 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 +465 -639
- package/dist/macros.cjs.map +1 -1
- package/dist/macros.mjs +465 -639
- package/dist/macros.mjs.map +1 -1
- package/package.json +5 -5
package/dist/index.mjs
CHANGED
|
@@ -288,43 +288,43 @@ function S({ source: e, severity: t, whatHappened: n, reassurance: r, why: i, fi
|
|
|
288
288
|
let p = f.join(` `);
|
|
289
289
|
return l ? `${l} ${p}` : p;
|
|
290
290
|
}
|
|
291
|
-
function
|
|
291
|
+
function ae(e) {
|
|
292
292
|
return e instanceof Uint8Array || ArrayBuffer.isView(e) && e.constructor.name === `Uint8Array` && `BYTES_PER_ELEMENT` in e && e.BYTES_PER_ELEMENT === 1;
|
|
293
293
|
}
|
|
294
|
-
function
|
|
295
|
-
let r =
|
|
294
|
+
function E(e, t, n = ``) {
|
|
295
|
+
let r = ae(e), i = e?.length, a = t !== void 0;
|
|
296
296
|
if (!r || a && i !== t) {
|
|
297
297
|
let o = n && `"${n}" `, s = a ? ` of length ${t}` : ``, c = r ? `length=${i}` : `type=${typeof e}`, l = o + `expected Uint8Array` + s + `, got ` + c;
|
|
298
298
|
throw r ? RangeError(l) : TypeError(l);
|
|
299
299
|
}
|
|
300
300
|
return e;
|
|
301
301
|
}
|
|
302
|
-
function
|
|
302
|
+
function oe(e, t = !0) {
|
|
303
303
|
if (e.destroyed) throw Error(`Hash instance has been destroyed`);
|
|
304
304
|
if (t && e.finished) throw Error(`Hash#digest() has already been called`);
|
|
305
305
|
}
|
|
306
|
-
function
|
|
307
|
-
|
|
306
|
+
function se(e, t) {
|
|
307
|
+
E(e, void 0, `digestInto() output`);
|
|
308
308
|
let n = t.outputLen;
|
|
309
309
|
if (e.length < n) throw RangeError(`"digestInto() output" expected to be of length >=` + n);
|
|
310
310
|
}
|
|
311
|
-
function
|
|
311
|
+
function ce(...e) {
|
|
312
312
|
for (let t = 0; t < e.length; t++) e[t].fill(0);
|
|
313
313
|
}
|
|
314
|
-
function
|
|
314
|
+
function le(e) {
|
|
315
315
|
return new DataView(e.buffer, e.byteOffset, e.byteLength);
|
|
316
316
|
}
|
|
317
|
-
function
|
|
317
|
+
function D(e, t) {
|
|
318
318
|
return e << 32 - t | e >>> t;
|
|
319
319
|
}
|
|
320
320
|
new Uint8Array(new Uint32Array([287454020]).buffer)[0];
|
|
321
321
|
typeof Uint8Array.from([]).toHex == `function` && Uint8Array.fromHex;
|
|
322
322
|
Array.from({ length: 256 }, (e, t) => t.toString(16).padStart(2, `0`));
|
|
323
|
-
function
|
|
323
|
+
function me(e, t = {}) {
|
|
324
324
|
let n = (t, n) => e(n).update(t).digest(), r = e(void 0);
|
|
325
325
|
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);
|
|
326
326
|
}
|
|
327
|
-
const
|
|
327
|
+
const he = (e) => ({ oid: Uint8Array.from([
|
|
328
328
|
6,
|
|
329
329
|
9,
|
|
330
330
|
96,
|
|
@@ -337,13 +337,13 @@ const me = (e) => ({ oid: Uint8Array.from([
|
|
|
337
337
|
2,
|
|
338
338
|
e
|
|
339
339
|
]) });
|
|
340
|
-
function
|
|
340
|
+
function ge(e, t, n) {
|
|
341
341
|
return e & t ^ ~e & n;
|
|
342
342
|
}
|
|
343
|
-
function
|
|
343
|
+
function _e(e, t, n) {
|
|
344
344
|
return e & t ^ e & n ^ t & n;
|
|
345
345
|
}
|
|
346
|
-
var
|
|
346
|
+
var ve = class {
|
|
347
347
|
blockLen;
|
|
348
348
|
outputLen;
|
|
349
349
|
canXOF = !1;
|
|
@@ -356,15 +356,15 @@ var _e = class {
|
|
|
356
356
|
pos = 0;
|
|
357
357
|
destroyed = !1;
|
|
358
358
|
constructor(e, t, n, r) {
|
|
359
|
-
this.blockLen = e, this.outputLen = t, this.padOffset = n, this.isLE = r, this.buffer = new Uint8Array(e), this.view =
|
|
359
|
+
this.blockLen = e, this.outputLen = t, this.padOffset = n, this.isLE = r, this.buffer = new Uint8Array(e), this.view = le(this.buffer);
|
|
360
360
|
}
|
|
361
361
|
update(e) {
|
|
362
|
-
|
|
362
|
+
oe(this), E(e);
|
|
363
363
|
let { view: t, buffer: n, blockLen: r } = this, i = e.length;
|
|
364
364
|
for (let a = 0; a < i;) {
|
|
365
365
|
let o = Math.min(r - this.pos, i - a);
|
|
366
366
|
if (o === r) {
|
|
367
|
-
let t =
|
|
367
|
+
let t = le(e);
|
|
368
368
|
for (; r <= i - a; a += r) this.process(t, a);
|
|
369
369
|
continue;
|
|
370
370
|
}
|
|
@@ -373,12 +373,12 @@ var _e = class {
|
|
|
373
373
|
return this.length += e.length, this.roundClean(), this;
|
|
374
374
|
}
|
|
375
375
|
digestInto(e) {
|
|
376
|
-
|
|
376
|
+
oe(this), se(e, this), this.finished = !0;
|
|
377
377
|
let { buffer: t, view: n, blockLen: r, isLE: i } = this, { pos: a } = this;
|
|
378
|
-
t[a++] = 128,
|
|
378
|
+
t[a++] = 128, ce(this.buffer.subarray(a)), this.padOffset > r - a && (this.process(n, 0), a = 0);
|
|
379
379
|
for (let e = a; e < r; e++) t[e] = 0;
|
|
380
380
|
n.setBigUint64(r - 8, BigInt(this.length * 8), i), this.process(n, 0);
|
|
381
|
-
let o =
|
|
381
|
+
let o = le(e), s = this.outputLen;
|
|
382
382
|
if (s % 4) throw Error(`_sha2: outputLen must be aligned to 32bit`);
|
|
383
383
|
let c = s / 4, l = this.get();
|
|
384
384
|
if (c > l.length) throw Error(`_sha2: outputLen bigger than state`);
|
|
@@ -399,7 +399,7 @@ var _e = class {
|
|
|
399
399
|
return this._cloneInto();
|
|
400
400
|
}
|
|
401
401
|
};
|
|
402
|
-
const
|
|
402
|
+
const O = Uint32Array.from([
|
|
403
403
|
1779033703,
|
|
404
404
|
3144134277,
|
|
405
405
|
1013904242,
|
|
@@ -408,25 +408,25 @@ const k = Uint32Array.from([
|
|
|
408
408
|
2600822924,
|
|
409
409
|
528734635,
|
|
410
410
|
1541459225
|
|
411
|
-
]),
|
|
412
|
-
function
|
|
411
|
+
]), k = BigInt(2 ** 32 - 1), ye = BigInt(32);
|
|
412
|
+
function be(e, t = !1) {
|
|
413
413
|
return t ? {
|
|
414
|
-
h: Number(e &
|
|
415
|
-
l: Number(e >>
|
|
414
|
+
h: Number(e & k),
|
|
415
|
+
l: Number(e >> ye & k)
|
|
416
416
|
} : {
|
|
417
|
-
h: Number(e >>
|
|
418
|
-
l: Number(e &
|
|
417
|
+
h: Number(e >> ye & k) | 0,
|
|
418
|
+
l: Number(e & k) | 0
|
|
419
419
|
};
|
|
420
420
|
}
|
|
421
|
-
function
|
|
421
|
+
function xe(e, t = !1) {
|
|
422
422
|
let n = e.length, r = new Uint32Array(n), i = new Uint32Array(n);
|
|
423
423
|
for (let a = 0; a < n; a++) {
|
|
424
|
-
let { h: n, l: o } =
|
|
424
|
+
let { h: n, l: o } = be(e[a], t);
|
|
425
425
|
[r[a], i[a]] = [n, o];
|
|
426
426
|
}
|
|
427
427
|
return [r, i];
|
|
428
428
|
}
|
|
429
|
-
const
|
|
429
|
+
const Se = Uint32Array.from([
|
|
430
430
|
1116352408,
|
|
431
431
|
1899447441,
|
|
432
432
|
3049323471,
|
|
@@ -491,8 +491,8 @@ const xe = Uint32Array.from([
|
|
|
491
491
|
2756734187,
|
|
492
492
|
3204031479,
|
|
493
493
|
3329325298
|
|
494
|
-
]),
|
|
495
|
-
var
|
|
494
|
+
]), A = new Uint32Array(64);
|
|
495
|
+
var Ce = class extends ve {
|
|
496
496
|
constructor(e) {
|
|
497
497
|
super(64, e, 8, !1);
|
|
498
498
|
}
|
|
@@ -513,41 +513,41 @@ var Se = class extends _e {
|
|
|
513
513
|
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;
|
|
514
514
|
}
|
|
515
515
|
process(e, t) {
|
|
516
|
-
for (let n = 0; n < 16; n++, t += 4)
|
|
516
|
+
for (let n = 0; n < 16; n++, t += 4) A[n] = e.getUint32(t, !1);
|
|
517
517
|
for (let e = 16; e < 64; e++) {
|
|
518
|
-
let t =
|
|
519
|
-
|
|
518
|
+
let t = A[e - 15], n = A[e - 2], r = D(t, 7) ^ D(t, 18) ^ t >>> 3;
|
|
519
|
+
A[e] = (D(n, 17) ^ D(n, 19) ^ n >>> 10) + A[e - 7] + r + A[e - 16] | 0;
|
|
520
520
|
}
|
|
521
521
|
let { A: n, B: r, C: i, D: a, E: o, F: s, G: c, H: l } = this;
|
|
522
522
|
for (let e = 0; e < 64; e++) {
|
|
523
|
-
let t =
|
|
523
|
+
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;
|
|
524
524
|
l = c, c = s, s = o, o = a + u | 0, a = i, i = r, r = n, n = u + d | 0;
|
|
525
525
|
}
|
|
526
526
|
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);
|
|
527
527
|
}
|
|
528
528
|
roundClean() {
|
|
529
|
-
|
|
529
|
+
ce(A);
|
|
530
530
|
}
|
|
531
531
|
destroy() {
|
|
532
|
-
this.destroyed = !0, this.set(0, 0, 0, 0, 0, 0, 0, 0),
|
|
533
|
-
}
|
|
534
|
-
},
|
|
535
|
-
A =
|
|
536
|
-
B =
|
|
537
|
-
C =
|
|
538
|
-
D =
|
|
539
|
-
E =
|
|
540
|
-
F =
|
|
541
|
-
G =
|
|
542
|
-
H =
|
|
532
|
+
this.destroyed = !0, this.set(0, 0, 0, 0, 0, 0, 0, 0), ce(this.buffer);
|
|
533
|
+
}
|
|
534
|
+
}, we = class extends Ce {
|
|
535
|
+
A = O[0] | 0;
|
|
536
|
+
B = O[1] | 0;
|
|
537
|
+
C = O[2] | 0;
|
|
538
|
+
D = O[3] | 0;
|
|
539
|
+
E = O[4] | 0;
|
|
540
|
+
F = O[5] | 0;
|
|
541
|
+
G = O[6] | 0;
|
|
542
|
+
H = O[7] | 0;
|
|
543
543
|
constructor() {
|
|
544
544
|
super(32);
|
|
545
545
|
}
|
|
546
546
|
};
|
|
547
|
-
const
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
const
|
|
547
|
+
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)));
|
|
548
|
+
Te[0], Te[1];
|
|
549
|
+
me(() => new we(), he(1));
|
|
550
|
+
const De = (e) => `generaltranslation Formatting Error: Invalid cutoff style: ${e}.`, Oe = `DEFAULT_TERMINATOR_KEY`, ke = {
|
|
551
551
|
ellipsis: {
|
|
552
552
|
fr: {
|
|
553
553
|
terminator: `…`,
|
|
@@ -561,17 +561,17 @@ const Ee = (e) => `generaltranslation Formatting Error: Invalid cutoff style: ${
|
|
|
561
561
|
terminator: `……`,
|
|
562
562
|
separator: void 0
|
|
563
563
|
},
|
|
564
|
-
[
|
|
564
|
+
[Oe]: {
|
|
565
565
|
terminator: `…`,
|
|
566
566
|
separator: void 0
|
|
567
567
|
}
|
|
568
568
|
},
|
|
569
|
-
none: { [
|
|
569
|
+
none: { [Oe]: {
|
|
570
570
|
terminator: void 0,
|
|
571
571
|
separator: void 0
|
|
572
572
|
} }
|
|
573
573
|
};
|
|
574
|
-
var
|
|
574
|
+
var Ae = class e {
|
|
575
575
|
static resolveLocale(e) {
|
|
576
576
|
try {
|
|
577
577
|
let t = e ? Array.isArray(e) ? e.map(String) : [String(e)] : [`en`], [n] = Intl.getCanonicalLocales(t);
|
|
@@ -583,8 +583,8 @@ var ke = class e {
|
|
|
583
583
|
constructor(t, n = {}) {
|
|
584
584
|
this.locale = e.resolveLocale(t);
|
|
585
585
|
let r = n.style ?? `ellipsis`;
|
|
586
|
-
if (!
|
|
587
|
-
let i = n.maxChars === void 0 ? void 0 :
|
|
586
|
+
if (!ke[r]) throw Error(De(r));
|
|
587
|
+
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;
|
|
588
588
|
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 = {
|
|
589
589
|
maxChars: n.maxChars,
|
|
590
590
|
style: n.maxChars === void 0 ? void 0 : r,
|
|
@@ -611,7 +611,7 @@ var ke = class e {
|
|
|
611
611
|
return this.options;
|
|
612
612
|
}
|
|
613
613
|
};
|
|
614
|
-
const
|
|
614
|
+
const je = {
|
|
615
615
|
Collator: Intl.Collator,
|
|
616
616
|
DateTimeFormat: Intl.DateTimeFormat,
|
|
617
617
|
DisplayNames: Intl.DisplayNames,
|
|
@@ -621,7 +621,7 @@ const Ae = {
|
|
|
621
621
|
PluralRules: Intl.PluralRules,
|
|
622
622
|
RelativeTimeFormat: Intl.RelativeTimeFormat,
|
|
623
623
|
Segmenter: Intl.Segmenter,
|
|
624
|
-
CutoffFormat:
|
|
624
|
+
CutoffFormat: Ae
|
|
625
625
|
};
|
|
626
626
|
new class {
|
|
627
627
|
constructor() {
|
|
@@ -634,70 +634,70 @@ new class {
|
|
|
634
634
|
let [n = `en`, r = {}] = t, i = this.generateKey(n, r), a = this.cache[e];
|
|
635
635
|
a === void 0 && (a = {}, this.cache[e] = a);
|
|
636
636
|
let o = a[i];
|
|
637
|
-
return o === void 0 && (o = new
|
|
637
|
+
return o === void 0 && (o = new je[e](...t), a[i] = o), o;
|
|
638
638
|
}
|
|
639
639
|
}();
|
|
640
|
-
var
|
|
641
|
-
__addDisposableResource: () =>
|
|
640
|
+
var j = m({
|
|
641
|
+
__addDisposableResource: () => at,
|
|
642
642
|
__assign: () => F,
|
|
643
|
-
__asyncDelegator: () =>
|
|
644
|
-
__asyncGenerator: () =>
|
|
645
|
-
__asyncValues: () =>
|
|
646
|
-
__await: () =>
|
|
647
|
-
__awaiter: () =>
|
|
648
|
-
__classPrivateFieldGet: () =>
|
|
649
|
-
__classPrivateFieldIn: () =>
|
|
650
|
-
__classPrivateFieldSet: () =>
|
|
643
|
+
__asyncDelegator: () => Ze,
|
|
644
|
+
__asyncGenerator: () => Xe,
|
|
645
|
+
__asyncValues: () => Qe,
|
|
646
|
+
__await: () => N,
|
|
647
|
+
__awaiter: () => Ue,
|
|
648
|
+
__classPrivateFieldGet: () => nt,
|
|
649
|
+
__classPrivateFieldIn: () => it,
|
|
650
|
+
__classPrivateFieldSet: () => rt,
|
|
651
651
|
__createBinding: () => I,
|
|
652
|
-
__decorate: () =>
|
|
653
|
-
__disposeResources: () =>
|
|
654
|
-
__esDecorate: () =>
|
|
655
|
-
__exportStar: () =>
|
|
656
|
-
__extends: () =>
|
|
657
|
-
__generator: () =>
|
|
658
|
-
__importDefault: () =>
|
|
659
|
-
__importStar: () =>
|
|
660
|
-
__makeTemplateObject: () =>
|
|
661
|
-
__metadata: () =>
|
|
662
|
-
__param: () =>
|
|
663
|
-
__propKey: () =>
|
|
664
|
-
__read: () =>
|
|
665
|
-
__rest: () =>
|
|
666
|
-
__rewriteRelativeImportExtension: () =>
|
|
667
|
-
__runInitializers: () =>
|
|
668
|
-
__setFunctionName: () =>
|
|
669
|
-
__spread: () =>
|
|
670
|
-
__spreadArray: () =>
|
|
671
|
-
__spreadArrays: () =>
|
|
672
|
-
__values: () =>
|
|
652
|
+
__decorate: () => Ie,
|
|
653
|
+
__disposeResources: () => ot,
|
|
654
|
+
__esDecorate: () => Re,
|
|
655
|
+
__exportStar: () => Ge,
|
|
656
|
+
__extends: () => Pe,
|
|
657
|
+
__generator: () => We,
|
|
658
|
+
__importDefault: () => tt,
|
|
659
|
+
__importStar: () => et,
|
|
660
|
+
__makeTemplateObject: () => $e,
|
|
661
|
+
__metadata: () => He,
|
|
662
|
+
__param: () => Le,
|
|
663
|
+
__propKey: () => Be,
|
|
664
|
+
__read: () => Ke,
|
|
665
|
+
__rest: () => Fe,
|
|
666
|
+
__rewriteRelativeImportExtension: () => st,
|
|
667
|
+
__runInitializers: () => ze,
|
|
668
|
+
__setFunctionName: () => Ve,
|
|
669
|
+
__spread: () => qe,
|
|
670
|
+
__spreadArray: () => Ye,
|
|
671
|
+
__spreadArrays: () => Je,
|
|
672
|
+
__values: () => M,
|
|
673
673
|
default: () => ut
|
|
674
674
|
});
|
|
675
|
-
function
|
|
675
|
+
function Pe(e, t) {
|
|
676
676
|
if (typeof t != `function` && t !== null) throw TypeError(`Class extends value ` + String(t) + ` is not a constructor or null`);
|
|
677
|
-
|
|
677
|
+
P(e, t);
|
|
678
678
|
function n() {
|
|
679
679
|
this.constructor = e;
|
|
680
680
|
}
|
|
681
681
|
e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
|
|
682
682
|
}
|
|
683
|
-
function
|
|
683
|
+
function Fe(e, t) {
|
|
684
684
|
var n = {};
|
|
685
685
|
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
686
686
|
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]]);
|
|
687
687
|
return n;
|
|
688
688
|
}
|
|
689
|
-
function
|
|
689
|
+
function Ie(e, t, n, r) {
|
|
690
690
|
var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
|
|
691
691
|
if (typeof Reflect == `object` && typeof Reflect.decorate == `function`) a = Reflect.decorate(e, t, n, r);
|
|
692
692
|
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);
|
|
693
693
|
return i > 3 && a && Object.defineProperty(t, n, a), a;
|
|
694
694
|
}
|
|
695
|
-
function
|
|
695
|
+
function Le(e, t) {
|
|
696
696
|
return function(n, r) {
|
|
697
697
|
t(n, r, e);
|
|
698
698
|
};
|
|
699
699
|
}
|
|
700
|
-
function
|
|
700
|
+
function Re(e, t, n, r, i, a) {
|
|
701
701
|
function o(e) {
|
|
702
702
|
if (e !== void 0 && typeof e != `function`) throw TypeError(`Function expected`);
|
|
703
703
|
return e;
|
|
@@ -722,23 +722,23 @@ function Le(e, t, n, r, i, a) {
|
|
|
722
722
|
}
|
|
723
723
|
l && Object.defineProperty(l, r.name, u), f = !0;
|
|
724
724
|
}
|
|
725
|
-
function
|
|
725
|
+
function ze(e, t, n) {
|
|
726
726
|
for (var r = arguments.length > 2, i = 0; i < t.length; i++) n = r ? t[i].call(e, n) : t[i].call(e);
|
|
727
727
|
return r ? n : void 0;
|
|
728
728
|
}
|
|
729
|
-
function
|
|
729
|
+
function Be(e) {
|
|
730
730
|
return typeof e == `symbol` ? e : `${e}`;
|
|
731
731
|
}
|
|
732
|
-
function
|
|
732
|
+
function Ve(e, t, n) {
|
|
733
733
|
return typeof t == `symbol` && (t = t.description ? `[${t.description}]` : ``), Object.defineProperty(e, `name`, {
|
|
734
734
|
configurable: !0,
|
|
735
735
|
value: n ? `${n} ${t}` : t
|
|
736
736
|
});
|
|
737
737
|
}
|
|
738
|
-
function
|
|
738
|
+
function He(e, t) {
|
|
739
739
|
if (typeof Reflect == `object` && typeof Reflect.metadata == `function`) return Reflect.metadata(e, t);
|
|
740
740
|
}
|
|
741
|
-
function
|
|
741
|
+
function Ue(e, t, n, r) {
|
|
742
742
|
function i(e) {
|
|
743
743
|
return e instanceof n ? e : new n(function(t) {
|
|
744
744
|
t(e);
|
|
@@ -765,7 +765,7 @@ function He(e, t, n, r) {
|
|
|
765
765
|
c((r = r.apply(e, t || [])).next());
|
|
766
766
|
});
|
|
767
767
|
}
|
|
768
|
-
function
|
|
768
|
+
function We(e, t) {
|
|
769
769
|
var n = {
|
|
770
770
|
label: 0,
|
|
771
771
|
sent: function() {
|
|
@@ -835,10 +835,10 @@ function Ue(e, t) {
|
|
|
835
835
|
};
|
|
836
836
|
}
|
|
837
837
|
}
|
|
838
|
-
function
|
|
838
|
+
function Ge(e, t) {
|
|
839
839
|
for (var n in e) n !== `default` && !Object.prototype.hasOwnProperty.call(t, n) && I(t, e, n);
|
|
840
840
|
}
|
|
841
|
-
function
|
|
841
|
+
function M(e) {
|
|
842
842
|
var t = typeof Symbol == `function` && Symbol.iterator, n = t && e[t], r = 0;
|
|
843
843
|
if (n) return n.call(e);
|
|
844
844
|
if (e && typeof e.length == `number`) return { next: function() {
|
|
@@ -849,7 +849,7 @@ function N(e) {
|
|
|
849
849
|
} };
|
|
850
850
|
throw TypeError(t ? `Object is not iterable.` : `Symbol.iterator is not defined.`);
|
|
851
851
|
}
|
|
852
|
-
function
|
|
852
|
+
function Ke(e, t) {
|
|
853
853
|
var n = typeof Symbol == `function` && e[Symbol.iterator];
|
|
854
854
|
if (!n) return e;
|
|
855
855
|
var r = n.call(e), i, a = [], o;
|
|
@@ -866,23 +866,23 @@ function Ge(e, t) {
|
|
|
866
866
|
}
|
|
867
867
|
return a;
|
|
868
868
|
}
|
|
869
|
-
function
|
|
870
|
-
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(
|
|
869
|
+
function qe() {
|
|
870
|
+
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(Ke(arguments[t]));
|
|
871
871
|
return e;
|
|
872
872
|
}
|
|
873
|
-
function
|
|
873
|
+
function Je() {
|
|
874
874
|
for (var e = 0, t = 0, n = arguments.length; t < n; t++) e += arguments[t].length;
|
|
875
875
|
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];
|
|
876
876
|
return r;
|
|
877
877
|
}
|
|
878
|
-
function
|
|
878
|
+
function Ye(e, t, n) {
|
|
879
879
|
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]);
|
|
880
880
|
return e.concat(a || Array.prototype.slice.call(t));
|
|
881
881
|
}
|
|
882
|
-
function
|
|
883
|
-
return this instanceof
|
|
882
|
+
function N(e) {
|
|
883
|
+
return this instanceof N ? (this.v = e, this) : new N(e);
|
|
884
884
|
}
|
|
885
|
-
function
|
|
885
|
+
function Xe(e, t, n) {
|
|
886
886
|
if (!Symbol.asyncIterator) throw TypeError(`Symbol.asyncIterator is not defined.`);
|
|
887
887
|
var r = n.apply(e, t || []), i, a = [];
|
|
888
888
|
return i = Object.create((typeof AsyncIterator == `function` ? AsyncIterator : Object).prototype), s(`next`), s(`throw`), s(`return`, o), i[Symbol.asyncIterator] = function() {
|
|
@@ -913,7 +913,7 @@ function Ye(e, t, n) {
|
|
|
913
913
|
}
|
|
914
914
|
}
|
|
915
915
|
function l(e) {
|
|
916
|
-
e.value instanceof
|
|
916
|
+
e.value instanceof N ? Promise.resolve(e.value.v).then(u, d) : f(a[0][2], e);
|
|
917
917
|
}
|
|
918
918
|
function u(e) {
|
|
919
919
|
c(`next`, e);
|
|
@@ -925,7 +925,7 @@ function Ye(e, t, n) {
|
|
|
925
925
|
e(t), a.shift(), a.length && c(a[0][0], a[0][1]);
|
|
926
926
|
}
|
|
927
927
|
}
|
|
928
|
-
function
|
|
928
|
+
function Ze(e) {
|
|
929
929
|
var t, n;
|
|
930
930
|
return t = {}, r(`next`), r(`throw`, function(e) {
|
|
931
931
|
throw e;
|
|
@@ -935,16 +935,16 @@ function Xe(e) {
|
|
|
935
935
|
function r(r, i) {
|
|
936
936
|
t[r] = e[r] ? function(t) {
|
|
937
937
|
return (n = !n) ? {
|
|
938
|
-
value:
|
|
938
|
+
value: N(e[r](t)),
|
|
939
939
|
done: !1
|
|
940
940
|
} : i ? i(t) : t;
|
|
941
941
|
} : i;
|
|
942
942
|
}
|
|
943
943
|
}
|
|
944
|
-
function
|
|
944
|
+
function Qe(e) {
|
|
945
945
|
if (!Symbol.asyncIterator) throw TypeError(`Symbol.asyncIterator is not defined.`);
|
|
946
946
|
var t = e[Symbol.asyncIterator], n;
|
|
947
|
-
return t ? t.call(e) : (e = typeof
|
|
947
|
+
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() {
|
|
948
948
|
return this;
|
|
949
949
|
}, n);
|
|
950
950
|
function r(t) {
|
|
@@ -963,34 +963,34 @@ function Ze(e) {
|
|
|
963
963
|
}, t);
|
|
964
964
|
}
|
|
965
965
|
}
|
|
966
|
-
function
|
|
966
|
+
function $e(e, t) {
|
|
967
967
|
return Object.defineProperty ? Object.defineProperty(e, `raw`, { value: t }) : e.raw = t, e;
|
|
968
968
|
}
|
|
969
|
-
function
|
|
969
|
+
function et(e) {
|
|
970
970
|
if (e && e.__esModule) return e;
|
|
971
971
|
var t = {};
|
|
972
972
|
if (e != null) for (var n = L(e), r = 0; r < n.length; r++) n[r] !== `default` && I(t, e, n[r]);
|
|
973
973
|
return ct(t, e), t;
|
|
974
974
|
}
|
|
975
|
-
function
|
|
975
|
+
function tt(e) {
|
|
976
976
|
return e && e.__esModule ? e : { default: e };
|
|
977
977
|
}
|
|
978
|
-
function
|
|
978
|
+
function nt(e, t, n, r) {
|
|
979
979
|
if (n === `a` && !r) throw TypeError(`Private accessor was defined without a getter`);
|
|
980
980
|
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`);
|
|
981
981
|
return n === `m` ? r : n === `a` ? r.call(e) : r ? r.value : t.get(e);
|
|
982
982
|
}
|
|
983
|
-
function
|
|
983
|
+
function rt(e, t, n, r, i) {
|
|
984
984
|
if (r === `m`) throw TypeError(`Private method is not writable`);
|
|
985
985
|
if (r === `a` && !i) throw TypeError(`Private accessor was defined without a setter`);
|
|
986
986
|
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`);
|
|
987
987
|
return r === `a` ? i.call(e, n) : i ? i.value = n : t.set(e, n), n;
|
|
988
988
|
}
|
|
989
|
-
function
|
|
989
|
+
function it(e, t) {
|
|
990
990
|
if (t === null || typeof t != `object` && typeof t != `function`) throw TypeError(`Cannot use 'in' operator on non-object`);
|
|
991
991
|
return typeof e == `function` ? t === e : e.has(t);
|
|
992
992
|
}
|
|
993
|
-
function
|
|
993
|
+
function at(e, t, n) {
|
|
994
994
|
if (t != null) {
|
|
995
995
|
if (typeof t != `object` && typeof t != `function`) throw TypeError(`Object expected.`);
|
|
996
996
|
var r, i;
|
|
@@ -1017,7 +1017,7 @@ function it(e, t, n) {
|
|
|
1017
1017
|
} else n && e.stack.push({ async: !0 });
|
|
1018
1018
|
return t;
|
|
1019
1019
|
}
|
|
1020
|
-
function
|
|
1020
|
+
function ot(e) {
|
|
1021
1021
|
function t(t) {
|
|
1022
1022
|
e.error = e.hasError ? new lt(t, e.error, `An error was suppressed during disposal.`) : t, e.hasError = !0;
|
|
1023
1023
|
}
|
|
@@ -1039,18 +1039,18 @@ function at(e) {
|
|
|
1039
1039
|
}
|
|
1040
1040
|
return i();
|
|
1041
1041
|
}
|
|
1042
|
-
function
|
|
1042
|
+
function st(e, t) {
|
|
1043
1043
|
return typeof e == `string` && /^\.\.?\//.test(e) ? e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function(e, n, r, i, a) {
|
|
1044
1044
|
return n ? t ? `.jsx` : `.js` : r && (!i || !a) ? e : r + i + `.` + a.toLowerCase() + `js`;
|
|
1045
1045
|
}) : e;
|
|
1046
1046
|
}
|
|
1047
|
-
var
|
|
1048
|
-
|
|
1049
|
-
return
|
|
1047
|
+
var P, F, I, ct, L, lt, ut, R = f((() => {
|
|
1048
|
+
P = function(e, t) {
|
|
1049
|
+
return P = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
|
|
1050
1050
|
e.__proto__ = t;
|
|
1051
1051
|
} || function(e, t) {
|
|
1052
1052
|
for (var n in t) Object.prototype.hasOwnProperty.call(t, n) && (e[n] = t[n]);
|
|
1053
|
-
},
|
|
1053
|
+
}, P(e, t);
|
|
1054
1054
|
}, F = function() {
|
|
1055
1055
|
return F = Object.assign || function(e) {
|
|
1056
1056
|
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]);
|
|
@@ -1084,38 +1084,38 @@ var st, F, I, ct, L, lt, ut, R = f((() => {
|
|
|
1084
1084
|
var r = Error(n);
|
|
1085
1085
|
return r.name = `SuppressedError`, r.error = e, r.suppressed = t, r;
|
|
1086
1086
|
}, ut = {
|
|
1087
|
-
__extends:
|
|
1087
|
+
__extends: Pe,
|
|
1088
1088
|
__assign: F,
|
|
1089
|
-
__rest:
|
|
1090
|
-
__decorate:
|
|
1091
|
-
__param:
|
|
1092
|
-
__esDecorate:
|
|
1093
|
-
__runInitializers:
|
|
1094
|
-
__propKey:
|
|
1095
|
-
__setFunctionName:
|
|
1096
|
-
__metadata:
|
|
1097
|
-
__awaiter:
|
|
1098
|
-
__generator:
|
|
1089
|
+
__rest: Fe,
|
|
1090
|
+
__decorate: Ie,
|
|
1091
|
+
__param: Le,
|
|
1092
|
+
__esDecorate: Re,
|
|
1093
|
+
__runInitializers: ze,
|
|
1094
|
+
__propKey: Be,
|
|
1095
|
+
__setFunctionName: Ve,
|
|
1096
|
+
__metadata: He,
|
|
1097
|
+
__awaiter: Ue,
|
|
1098
|
+
__generator: We,
|
|
1099
1099
|
__createBinding: I,
|
|
1100
|
-
__exportStar:
|
|
1101
|
-
__values:
|
|
1102
|
-
__read:
|
|
1103
|
-
__spread:
|
|
1104
|
-
__spreadArrays:
|
|
1105
|
-
__spreadArray:
|
|
1106
|
-
__await:
|
|
1107
|
-
__asyncGenerator:
|
|
1108
|
-
__asyncDelegator:
|
|
1109
|
-
__asyncValues:
|
|
1110
|
-
__makeTemplateObject:
|
|
1111
|
-
__importStar:
|
|
1112
|
-
__importDefault:
|
|
1113
|
-
__classPrivateFieldGet:
|
|
1114
|
-
__classPrivateFieldSet:
|
|
1115
|
-
__classPrivateFieldIn:
|
|
1116
|
-
__addDisposableResource:
|
|
1117
|
-
__disposeResources:
|
|
1118
|
-
__rewriteRelativeImportExtension:
|
|
1100
|
+
__exportStar: Ge,
|
|
1101
|
+
__values: M,
|
|
1102
|
+
__read: Ke,
|
|
1103
|
+
__spread: qe,
|
|
1104
|
+
__spreadArrays: Je,
|
|
1105
|
+
__spreadArray: Ye,
|
|
1106
|
+
__await: N,
|
|
1107
|
+
__asyncGenerator: Xe,
|
|
1108
|
+
__asyncDelegator: Ze,
|
|
1109
|
+
__asyncValues: Qe,
|
|
1110
|
+
__makeTemplateObject: $e,
|
|
1111
|
+
__importStar: et,
|
|
1112
|
+
__importDefault: tt,
|
|
1113
|
+
__classPrivateFieldGet: nt,
|
|
1114
|
+
__classPrivateFieldSet: rt,
|
|
1115
|
+
__classPrivateFieldIn: it,
|
|
1116
|
+
__addDisposableResource: at,
|
|
1117
|
+
__disposeResources: ot,
|
|
1118
|
+
__rewriteRelativeImportExtension: st
|
|
1119
1119
|
};
|
|
1120
1120
|
})), dt = p(((e) => {
|
|
1121
1121
|
Object.defineProperty(e, `__esModule`, { value: !0 }), e.ErrorKind = void 0;
|
|
@@ -1285,7 +1285,7 @@ var st, F, I, ct, L, lt, ut, R = f((() => {
|
|
|
1285
1285
|
Object.defineProperty(e, `__esModule`, { value: !0 }), e.WHITE_SPACE_REGEX = void 0, e.WHITE_SPACE_REGEX = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1286
1286
|
})), ht = p(((e) => {
|
|
1287
1287
|
Object.defineProperty(e, `__esModule`, { value: !0 }), e.parseNumberSkeletonFromString = r, e.parseNumberSkeleton = p;
|
|
1288
|
-
var t = (R(), g(
|
|
1288
|
+
var t = (R(), g(j)), n = mt();
|
|
1289
1289
|
function r(e) {
|
|
1290
1290
|
if (e.length === 0) throw Error(`Number skeleton cannot be empty`);
|
|
1291
1291
|
for (var t = e.split(n.WHITE_SPACE_REGEX).filter(function(e) {
|
|
@@ -1465,7 +1465,7 @@ var st, F, I, ct, L, lt, ut, R = f((() => {
|
|
|
1465
1465
|
}
|
|
1466
1466
|
})), gt = p(((e) => {
|
|
1467
1467
|
Object.defineProperty(e, `__esModule`, { value: !0 });
|
|
1468
|
-
var t = (R(), g(
|
|
1468
|
+
var t = (R(), g(j));
|
|
1469
1469
|
t.__exportStar(pt(), e), t.__exportStar(ht(), e);
|
|
1470
1470
|
})), _t = p(((e) => {
|
|
1471
1471
|
Object.defineProperty(e, `__esModule`, { value: !0 }), e.timeData = void 0, e.timeData = {
|
|
@@ -2653,7 +2653,7 @@ var st, F, I, ct, L, lt, ut, R = f((() => {
|
|
|
2653
2653
|
}
|
|
2654
2654
|
})), yt = p(((e) => {
|
|
2655
2655
|
Object.defineProperty(e, `__esModule`, { value: !0 }), e.Parser = void 0;
|
|
2656
|
-
var t = (R(), g(
|
|
2656
|
+
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}*\$`);
|
|
2657
2657
|
function l(e, t) {
|
|
2658
2658
|
return {
|
|
2659
2659
|
start: e,
|
|
@@ -2713,7 +2713,7 @@ var st, F, I, ct, L, lt, ut, R = f((() => {
|
|
|
2713
2713
|
} else C = function(e, t) {
|
|
2714
2714
|
for (var n = [];;) {
|
|
2715
2715
|
var r = x(e, t);
|
|
2716
|
-
if (r === void 0 ||
|
|
2716
|
+
if (r === void 0 || ae(r) || E(r)) break;
|
|
2717
2717
|
n.push(r), t += r >= 65536 ? 2 : 1;
|
|
2718
2718
|
}
|
|
2719
2719
|
return y.apply(void 0, n);
|
|
@@ -2792,7 +2792,7 @@ var st, F, I, ct, L, lt, ut, R = f((() => {
|
|
|
2792
2792
|
} else return this.error(n.ErrorKind.INVALID_TAG, l(i, this.clonePosition()));
|
|
2793
2793
|
}, e.prototype.parseTagName = function() {
|
|
2794
2794
|
var e = this.offset();
|
|
2795
|
-
for (this.bump(); !this.isEOF() &&
|
|
2795
|
+
for (this.bump(); !this.isEOF() && ie(this.char());) this.bump();
|
|
2796
2796
|
return this.message.slice(e, this.offset());
|
|
2797
2797
|
}, e.prototype.parseLiteral = function(e, t) {
|
|
2798
2798
|
for (var n = this.clonePosition(), i = ``;;) {
|
|
@@ -3120,7 +3120,7 @@ var st, F, I, ct, L, lt, ut, R = f((() => {
|
|
|
3120
3120
|
if (this.bump(), this.isEOF()) break;
|
|
3121
3121
|
}
|
|
3122
3122
|
}, e.prototype.bumpSpace = function() {
|
|
3123
|
-
for (; !this.isEOF() &&
|
|
3123
|
+
for (; !this.isEOF() && ae(this.char());) this.bump();
|
|
3124
3124
|
}, e.prototype.peek = function() {
|
|
3125
3125
|
if (this.isEOF()) return null;
|
|
3126
3126
|
var e = this.char(), t = this.offset();
|
|
@@ -3133,18 +3133,18 @@ var st, F, I, ct, L, lt, ut, R = f((() => {
|
|
|
3133
3133
|
function re(e) {
|
|
3134
3134
|
return T(e) || e === 47;
|
|
3135
3135
|
}
|
|
3136
|
-
function
|
|
3136
|
+
function ie(e) {
|
|
3137
3137
|
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;
|
|
3138
3138
|
}
|
|
3139
|
-
function
|
|
3139
|
+
function ae(e) {
|
|
3140
3140
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3141
3141
|
}
|
|
3142
|
-
function
|
|
3142
|
+
function E(e) {
|
|
3143
3143
|
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;
|
|
3144
3144
|
}
|
|
3145
3145
|
})), bt = p(((e) => {
|
|
3146
3146
|
Object.defineProperty(e, `__esModule`, { value: !0 }), e.hoistSelectors = s, e.isStructurallySame = l;
|
|
3147
|
-
var t = (R(), g(
|
|
3147
|
+
var t = (R(), g(j)), n = z();
|
|
3148
3148
|
function r(e) {
|
|
3149
3149
|
return Array.isArray(e) ? t.__spreadArray([], e.map(r), !0) : typeof e == `object` && e ? Object.keys(e).reduce(function(t, n) {
|
|
3150
3150
|
return t[n] = r(e[n]), t;
|
|
@@ -3203,7 +3203,7 @@ var st, F, I, ct, L, lt, ut, R = f((() => {
|
|
|
3203
3203
|
}
|
|
3204
3204
|
})), xt = p(((e) => {
|
|
3205
3205
|
Object.defineProperty(e, `__esModule`, { value: !0 }), e.isStructurallySame = e._Parser = void 0, e.parse = o;
|
|
3206
|
-
var t = (R(), g(
|
|
3206
|
+
var t = (R(), g(j)), n = dt(), r = yt(), i = z();
|
|
3207
3207
|
function a(e) {
|
|
3208
3208
|
e.forEach(function(e) {
|
|
3209
3209
|
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);
|
|
@@ -3232,7 +3232,7 @@ var st, F, I, ct, L, lt, ut, R = f((() => {
|
|
|
3232
3232
|
});
|
|
3233
3233
|
})), St = p(((e) => {
|
|
3234
3234
|
Object.defineProperty(e, `__esModule`, { value: !0 }), e.printAST = r;
|
|
3235
|
-
var t = (R(), g(
|
|
3235
|
+
var t = (R(), g(j)), n = z();
|
|
3236
3236
|
function r(e) {
|
|
3237
3237
|
return i(e, !1);
|
|
3238
3238
|
}
|
|
@@ -3301,10 +3301,11 @@ St();
|
|
|
3301
3301
|
const U = `_gt_`;
|
|
3302
3302
|
RegExp(`^${U}\\d+$`);
|
|
3303
3303
|
RegExp(`^${U}$`);
|
|
3304
|
-
|
|
3304
|
+
RegExp(`${U}\\d+`);
|
|
3305
|
+
const Ut = `@generaltranslation/react-core`;
|
|
3305
3306
|
function W(e) {
|
|
3306
3307
|
return S({
|
|
3307
|
-
source:
|
|
3308
|
+
source: Ut,
|
|
3308
3309
|
...e
|
|
3309
3310
|
});
|
|
3310
3311
|
}
|
|
@@ -3351,16 +3352,16 @@ W({
|
|
|
3351
3352
|
whatHappened: `No dictionary was found`,
|
|
3352
3353
|
fix: `Pass a dictionary to <GTProvider> or configure a dictionary loader before rendering translations`
|
|
3353
3354
|
});
|
|
3354
|
-
`${
|
|
3355
|
-
const
|
|
3355
|
+
`${Ut}`;
|
|
3356
|
+
const mn = `generaltranslation.locale`;
|
|
3356
3357
|
e.use;
|
|
3357
|
-
function
|
|
3358
|
+
function Yn({ children: e }) {
|
|
3358
3359
|
return e;
|
|
3359
3360
|
}
|
|
3360
|
-
function
|
|
3361
|
-
return
|
|
3361
|
+
function Xn(e) {
|
|
3362
|
+
return Yn(e);
|
|
3362
3363
|
}
|
|
3363
|
-
|
|
3364
|
+
Yn._gtt = `derive`, Xn._gtt = `derive`;
|
|
3364
3365
|
//#endregion
|
|
3365
3366
|
//#region src/shared/messages.ts
|
|
3366
3367
|
const PACKAGE_NAME = "gt-react";
|
|
@@ -3384,7 +3385,7 @@ createDiagnosticMessage({
|
|
|
3384
3385
|
});
|
|
3385
3386
|
//#endregion
|
|
3386
3387
|
//#region src/react-context/provider/hooks/locales/useDetermineLocale.ts
|
|
3387
|
-
function useDetermineLocale({ locale: initialLocale = "", defaultLocale = "en", locales: initialLocales = [], localeCookieName =
|
|
3388
|
+
function useDetermineLocale({ locale: initialLocale = "", defaultLocale = "en", locales: initialLocales = [], localeCookieName = mn, ssr = true, customMapping, enableI18n, reloadOnLocaleUpdate = false }) {
|
|
3388
3389
|
const _locale = useMemo(() => resolveAliasLocale(initialLocale, customMapping), [initialLocale, customMapping]);
|
|
3389
3390
|
const locales = useMemo(() => initialLocales.map((locale) => resolveAliasLocale(locale, customMapping)), [initialLocales, customMapping]);
|
|
3390
3391
|
/**
|