@everymatrix/player-account-gaming-limits-popup 1.50.0 → 1.50.1
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/components/{PlayerAccountGamingLimitsPopup-CaMfCKDs.js → PlayerAccountGamingLimitsPopup-B22kxD_Q.js} +355 -349
- package/components/PlayerAccountGamingLimitsPopup-BRwPvlQQ.cjs +5 -0
- package/es2015/player-account-gaming-limits-popup.cjs +1 -1
- package/es2015/player-account-gaming-limits-popup.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountGamingLimitsPopup-g6PcqOPo.cjs +0 -5
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var lr = Object.defineProperty, hr = Object.defineProperties;
|
|
2
|
+
var cr = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var Ke = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var Ee = (e, t, r) => t in e ?
|
|
4
|
+
var fr = Object.prototype.hasOwnProperty, pr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Ee = (e, t, r) => t in e ? lr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
7
|
+
fr.call(t, r) && Ee(e, r, t[r]);
|
|
8
8
|
if (Ke)
|
|
9
9
|
for (var r of Ke(t))
|
|
10
|
-
|
|
10
|
+
pr.call(t, r) && Ee(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
}, tt = (e, t) =>
|
|
13
|
-
var
|
|
12
|
+
}, tt = (e, t) => hr(e, cr(t));
|
|
13
|
+
var C = (e, t, r) => Ee(e, typeof t != "symbol" ? t + "" : t, r);
|
|
14
14
|
var rt = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (l) => {
|
|
16
16
|
try {
|
|
@@ -29,22 +29,22 @@ var rt = (e, t, r) => new Promise((n, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
function O() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function It(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
35
|
function nt() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
38
|
function ie(e) {
|
|
39
|
-
e.forEach(
|
|
39
|
+
e.forEach(It);
|
|
40
40
|
}
|
|
41
41
|
function Xe(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function Ct(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function dr(e) {
|
|
48
48
|
return Object.keys(e).length === 0;
|
|
49
49
|
}
|
|
50
50
|
function Bt(e, ...t) {
|
|
@@ -56,20 +56,20 @@ function Bt(e, ...t) {
|
|
|
56
56
|
const r = e.subscribe(...t);
|
|
57
57
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function mr(e, t, r) {
|
|
60
60
|
e.$$.on_destroy.push(Bt(t, r));
|
|
61
61
|
}
|
|
62
62
|
function H(e, t) {
|
|
63
63
|
e.appendChild(t);
|
|
64
64
|
}
|
|
65
|
-
function
|
|
66
|
-
const n =
|
|
65
|
+
function br(e, t, r) {
|
|
66
|
+
const n = vr(e);
|
|
67
67
|
if (!n.getElementById(t)) {
|
|
68
68
|
const i = A("style");
|
|
69
69
|
i.id = t, i.textContent = r, yr(n, i);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function vr(e) {
|
|
73
73
|
if (!e) return document;
|
|
74
74
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
75
75
|
return t && /** @type {ShadowRoot} */
|
|
@@ -100,13 +100,13 @@ function ae(e) {
|
|
|
100
100
|
function _e() {
|
|
101
101
|
return ae(" ");
|
|
102
102
|
}
|
|
103
|
-
function
|
|
103
|
+
function gr() {
|
|
104
104
|
return ae("");
|
|
105
105
|
}
|
|
106
|
-
function
|
|
106
|
+
function xr(e, t, r, n) {
|
|
107
107
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function Er(e) {
|
|
110
110
|
return function(t) {
|
|
111
111
|
return t.preventDefault(), e.call(this, t);
|
|
112
112
|
};
|
|
@@ -114,14 +114,14 @@ function _r(e) {
|
|
|
114
114
|
function B(e, t, r) {
|
|
115
115
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function _r(e) {
|
|
118
118
|
return Array.from(e.childNodes);
|
|
119
119
|
}
|
|
120
120
|
function qe(e, t) {
|
|
121
121
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
122
122
|
t);
|
|
123
123
|
}
|
|
124
|
-
function
|
|
124
|
+
function Tr(e) {
|
|
125
125
|
const t = {};
|
|
126
126
|
return e.childNodes.forEach(
|
|
127
127
|
/** @param {Element} node */
|
|
@@ -134,19 +134,19 @@ let te;
|
|
|
134
134
|
function ee(e) {
|
|
135
135
|
te = e;
|
|
136
136
|
}
|
|
137
|
-
function
|
|
137
|
+
function Sr() {
|
|
138
138
|
if (!te) throw new Error("Function called outside component initialization");
|
|
139
139
|
return te;
|
|
140
140
|
}
|
|
141
|
-
function
|
|
142
|
-
|
|
141
|
+
function wr(e) {
|
|
142
|
+
Sr().$$.on_mount.push(e);
|
|
143
143
|
}
|
|
144
144
|
const j = [], Ae = [];
|
|
145
145
|
let k = [];
|
|
146
|
-
const it = [],
|
|
146
|
+
const it = [], Pr = /* @__PURE__ */ Promise.resolve();
|
|
147
147
|
let Oe = !1;
|
|
148
|
-
function
|
|
149
|
-
Oe || (Oe = !0,
|
|
148
|
+
function Hr() {
|
|
149
|
+
Oe || (Oe = !0, Pr.then(M));
|
|
150
150
|
}
|
|
151
151
|
function Le(e) {
|
|
152
152
|
k.push(e);
|
|
@@ -184,29 +184,29 @@ function Ir(e) {
|
|
|
184
184
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Le);
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
|
-
function
|
|
187
|
+
function Cr(e) {
|
|
188
188
|
const t = [], r = [];
|
|
189
189
|
k.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), k = t;
|
|
190
190
|
}
|
|
191
|
-
const
|
|
192
|
-
function
|
|
193
|
-
e && e.i && (
|
|
191
|
+
const Br = /* @__PURE__ */ new Set();
|
|
192
|
+
function Ar(e, t) {
|
|
193
|
+
e && e.i && (Br.delete(e), e.i(t));
|
|
194
194
|
}
|
|
195
|
-
function
|
|
195
|
+
function Or(e, t, r) {
|
|
196
196
|
const { fragment: n, after_update: i } = e.$$;
|
|
197
197
|
n && n.m(t, r), Le(() => {
|
|
198
|
-
const o = e.$$.on_mount.map(
|
|
198
|
+
const o = e.$$.on_mount.map(It).filter(Xe);
|
|
199
199
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ie(o), e.$$.on_mount = [];
|
|
200
200
|
}), i.forEach(Le);
|
|
201
201
|
}
|
|
202
|
-
function
|
|
202
|
+
function Lr(e, t) {
|
|
203
203
|
const r = e.$$;
|
|
204
|
-
r.fragment !== null && (
|
|
204
|
+
r.fragment !== null && (Cr(r.after_update), ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
205
205
|
}
|
|
206
|
-
function
|
|
207
|
-
e.$$.dirty[0] === -1 && (j.push(e),
|
|
206
|
+
function Mr(e, t) {
|
|
207
|
+
e.$$.dirty[0] === -1 && (j.push(e), Hr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
208
208
|
}
|
|
209
|
-
function
|
|
209
|
+
function Nr(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
210
210
|
const l = te;
|
|
211
211
|
ee(e);
|
|
212
212
|
const u = e.$$ = {
|
|
@@ -233,15 +233,15 @@ function $r(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
233
233
|
a && a(u.root);
|
|
234
234
|
let h = !1;
|
|
235
235
|
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
|
|
236
|
-
const
|
|
237
|
-
return u.ctx && i(u.ctx[f], u.ctx[f] =
|
|
236
|
+
const g = p.length ? p[0] : c;
|
|
237
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = g) && (!u.skip_bound && u.bound[f] && u.bound[f](g), h && Mr(e, f)), c;
|
|
238
238
|
}) : [], u.update(), h = !0, ie(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
239
239
|
if (t.hydrate) {
|
|
240
|
-
const f =
|
|
240
|
+
const f = _r(t.target);
|
|
241
241
|
u.fragment && u.fragment.l(f), f.forEach(Z);
|
|
242
242
|
} else
|
|
243
243
|
u.fragment && u.fragment.c();
|
|
244
|
-
t.intro &&
|
|
244
|
+
t.intro && Ar(e.$$.fragment), Or(e, t.target, t.anchor), M();
|
|
245
245
|
}
|
|
246
246
|
ee(l);
|
|
247
247
|
}
|
|
@@ -250,23 +250,23 @@ typeof HTMLElement == "function" && (At = class extends HTMLElement {
|
|
|
250
250
|
constructor(t, r, n) {
|
|
251
251
|
super();
|
|
252
252
|
/** The Svelte component constructor */
|
|
253
|
-
|
|
253
|
+
C(this, "$$ctor");
|
|
254
254
|
/** Slots */
|
|
255
|
-
|
|
255
|
+
C(this, "$$s");
|
|
256
256
|
/** The Svelte component instance */
|
|
257
|
-
|
|
257
|
+
C(this, "$$c");
|
|
258
258
|
/** Whether or not the custom element is connected */
|
|
259
|
-
|
|
259
|
+
C(this, "$$cn", !1);
|
|
260
260
|
/** Component props data */
|
|
261
|
-
|
|
261
|
+
C(this, "$$d", {});
|
|
262
262
|
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
263
|
-
|
|
263
|
+
C(this, "$$r", !1);
|
|
264
264
|
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
265
|
-
|
|
265
|
+
C(this, "$$p_d", {});
|
|
266
266
|
/** @type {Record<string, Function[]>} Event listeners */
|
|
267
|
-
|
|
267
|
+
C(this, "$$l", {});
|
|
268
268
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
269
|
-
|
|
269
|
+
C(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
270
270
|
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
|
271
271
|
}
|
|
272
272
|
addEventListener(t, r, n) {
|
|
@@ -307,7 +307,7 @@ typeof HTMLElement == "function" && (At = class extends HTMLElement {
|
|
|
307
307
|
};
|
|
308
308
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
309
309
|
return;
|
|
310
|
-
const r = {}, n =
|
|
310
|
+
const r = {}, n = Tr(this);
|
|
311
311
|
for (const o of this.$$s)
|
|
312
312
|
o in n && (r[o] = [t(o)]);
|
|
313
313
|
for (const o of this.attributes) {
|
|
@@ -396,7 +396,7 @@ function he(e, t, r, n) {
|
|
|
396
396
|
return t;
|
|
397
397
|
}
|
|
398
398
|
}
|
|
399
|
-
function
|
|
399
|
+
function $r(e, t, r, n, i, o) {
|
|
400
400
|
let a = class extends At {
|
|
401
401
|
constructor() {
|
|
402
402
|
super(e, r, i), this.$$p_d = t;
|
|
@@ -427,7 +427,7 @@ function Rr(e, t, r, n, i, o) {
|
|
|
427
427
|
}), e.element = /** @type {any} */
|
|
428
428
|
a, a;
|
|
429
429
|
}
|
|
430
|
-
class
|
|
430
|
+
class Rr {
|
|
431
431
|
constructor() {
|
|
432
432
|
/**
|
|
433
433
|
* ### PRIVATE API
|
|
@@ -436,7 +436,7 @@ class Ur {
|
|
|
436
436
|
*
|
|
437
437
|
* @type {any}
|
|
438
438
|
*/
|
|
439
|
-
|
|
439
|
+
C(this, "$$");
|
|
440
440
|
/**
|
|
441
441
|
* ### PRIVATE API
|
|
442
442
|
*
|
|
@@ -444,11 +444,11 @@ class Ur {
|
|
|
444
444
|
*
|
|
445
445
|
* @type {any}
|
|
446
446
|
*/
|
|
447
|
-
|
|
447
|
+
C(this, "$$set");
|
|
448
448
|
}
|
|
449
449
|
/** @returns {void} */
|
|
450
450
|
$destroy() {
|
|
451
|
-
|
|
451
|
+
Lr(this, 1), this.$destroy = O;
|
|
452
452
|
}
|
|
453
453
|
/**
|
|
454
454
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -470,11 +470,11 @@ class Ur {
|
|
|
470
470
|
* @returns {void}
|
|
471
471
|
*/
|
|
472
472
|
$set(t) {
|
|
473
|
-
this.$$set && !
|
|
473
|
+
this.$$set && !dr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
474
474
|
}
|
|
475
475
|
}
|
|
476
|
-
const
|
|
477
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
476
|
+
const Ur = "4";
|
|
477
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ur);
|
|
478
478
|
var Me = function(e, t) {
|
|
479
479
|
return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
480
480
|
r.__proto__ = n;
|
|
@@ -500,7 +500,7 @@ var v = function() {
|
|
|
500
500
|
return t;
|
|
501
501
|
}, v.apply(this, arguments);
|
|
502
502
|
};
|
|
503
|
-
function
|
|
503
|
+
function Dr(e, t) {
|
|
504
504
|
var r = {};
|
|
505
505
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
506
506
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -580,8 +580,8 @@ var be = function() {
|
|
|
580
580
|
var u = l.value;
|
|
581
581
|
u.remove(this);
|
|
582
582
|
}
|
|
583
|
-
} catch (
|
|
584
|
-
t = { error:
|
|
583
|
+
} catch (y) {
|
|
584
|
+
t = { error: y };
|
|
585
585
|
} finally {
|
|
586
586
|
try {
|
|
587
587
|
l && !l.done && (r = s.return) && r.call(s);
|
|
@@ -595,23 +595,23 @@ var be = function() {
|
|
|
595
595
|
if (N(h))
|
|
596
596
|
try {
|
|
597
597
|
h();
|
|
598
|
-
} catch (
|
|
599
|
-
o =
|
|
598
|
+
} catch (y) {
|
|
599
|
+
o = y instanceof Se ? y.errors : [y];
|
|
600
600
|
}
|
|
601
601
|
var f = this._finalizers;
|
|
602
602
|
if (f) {
|
|
603
603
|
this._finalizers = null;
|
|
604
604
|
try {
|
|
605
605
|
for (var c = Ne(f), p = c.next(); !p.done; p = c.next()) {
|
|
606
|
-
var
|
|
606
|
+
var g = p.value;
|
|
607
607
|
try {
|
|
608
|
-
ot(
|
|
609
|
-
} catch (
|
|
610
|
-
o = o != null ? o : [],
|
|
608
|
+
ot(g);
|
|
609
|
+
} catch (y) {
|
|
610
|
+
o = o != null ? o : [], y instanceof Se ? o = V(V([], $e(o)), $e(y.errors)) : o.push(y);
|
|
611
611
|
}
|
|
612
612
|
}
|
|
613
|
-
} catch (
|
|
614
|
-
n = { error:
|
|
613
|
+
} catch (y) {
|
|
614
|
+
n = { error: y };
|
|
615
615
|
} finally {
|
|
616
616
|
try {
|
|
617
617
|
p && !p.done && (i = c.return) && i.call(c);
|
|
@@ -665,20 +665,19 @@ var Nt = {
|
|
|
665
665
|
Promise: void 0,
|
|
666
666
|
useDeprecatedSynchronousErrorHandling: !1,
|
|
667
667
|
useDeprecatedNextContext: !1
|
|
668
|
-
},
|
|
668
|
+
}, Gr = {
|
|
669
669
|
setTimeout: function(e, t) {
|
|
670
670
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
671
671
|
r[n - 2] = arguments[n];
|
|
672
672
|
return setTimeout.apply(void 0, V([e, t], $e(r)));
|
|
673
673
|
},
|
|
674
674
|
clearTimeout: function(e) {
|
|
675
|
-
|
|
676
|
-
return ((t == null ? void 0 : t.clearTimeout) || clearTimeout)(e);
|
|
675
|
+
return clearTimeout(e);
|
|
677
676
|
},
|
|
678
677
|
delegate: void 0
|
|
679
678
|
};
|
|
680
679
|
function Fr(e) {
|
|
681
|
-
|
|
680
|
+
Gr.setTimeout(function() {
|
|
682
681
|
throw e;
|
|
683
682
|
});
|
|
684
683
|
}
|
|
@@ -687,7 +686,7 @@ function at() {
|
|
|
687
686
|
function ce(e) {
|
|
688
687
|
e();
|
|
689
688
|
}
|
|
690
|
-
var
|
|
689
|
+
var $t = function(e) {
|
|
691
690
|
$(t, e);
|
|
692
691
|
function t(r) {
|
|
693
692
|
var n = e.call(this) || this;
|
|
@@ -776,7 +775,7 @@ var kr = function() {
|
|
|
776
775
|
return o.destination = new kr(a), o;
|
|
777
776
|
}
|
|
778
777
|
return t;
|
|
779
|
-
}(
|
|
778
|
+
}($t);
|
|
780
779
|
function ue(e) {
|
|
781
780
|
Fr(e);
|
|
782
781
|
}
|
|
@@ -869,13 +868,13 @@ function Zr(e) {
|
|
|
869
868
|
return e && N(e.next) && N(e.error) && N(e.complete);
|
|
870
869
|
}
|
|
871
870
|
function Qr(e) {
|
|
872
|
-
return e && e instanceof
|
|
871
|
+
return e && e instanceof $t || Zr(e) && Mt(e);
|
|
873
872
|
}
|
|
874
873
|
var Yr = Ot(function(e) {
|
|
875
874
|
return function() {
|
|
876
875
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
877
876
|
};
|
|
878
|
-
}),
|
|
877
|
+
}), Rt = function(e) {
|
|
879
878
|
$(t, e);
|
|
880
879
|
function t() {
|
|
881
880
|
var r = e.call(this) || this;
|
|
@@ -973,15 +972,15 @@ var Yr = Ot(function(e) {
|
|
|
973
972
|
var n, i;
|
|
974
973
|
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Lt;
|
|
975
974
|
}, t;
|
|
976
|
-
}(
|
|
975
|
+
}(Rt), Ut = {
|
|
977
976
|
now: function() {
|
|
978
|
-
return (
|
|
977
|
+
return (Ut.delegate || Date).now();
|
|
979
978
|
},
|
|
980
979
|
delegate: void 0
|
|
981
980
|
}, Jr = function(e) {
|
|
982
981
|
$(t, e);
|
|
983
982
|
function t(r, n, i) {
|
|
984
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
983
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ut);
|
|
985
984
|
var o = e.call(this) || this;
|
|
986
985
|
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
|
987
986
|
}
|
|
@@ -1001,7 +1000,7 @@ var Yr = Ot(function(e) {
|
|
|
1001
1000
|
u && o.splice(0, u + 1);
|
|
1002
1001
|
}
|
|
1003
1002
|
}, t;
|
|
1004
|
-
}(
|
|
1003
|
+
}(Rt);
|
|
1005
1004
|
const ht = [], ct = {}, Kr = (e, t = 0) => {
|
|
1006
1005
|
if (ht.indexOf(e) == -1) {
|
|
1007
1006
|
const r = new Jr(t);
|
|
@@ -1018,7 +1017,7 @@ function ve(e, t = O) {
|
|
|
1018
1017
|
let r;
|
|
1019
1018
|
const n = /* @__PURE__ */ new Set();
|
|
1020
1019
|
function i(s) {
|
|
1021
|
-
if (
|
|
1020
|
+
if (Ct(e, s) && (e = s, r)) {
|
|
1022
1021
|
const l = !F.length;
|
|
1023
1022
|
for (const u of n)
|
|
1024
1023
|
u[1](), F.push(u, e);
|
|
@@ -1053,16 +1052,16 @@ function Q(e, t, r) {
|
|
|
1053
1052
|
if (h)
|
|
1054
1053
|
return;
|
|
1055
1054
|
f();
|
|
1056
|
-
const
|
|
1057
|
-
o ? a(
|
|
1055
|
+
const g = t(n ? u[0] : u, a, s);
|
|
1056
|
+
o ? a(g) : f = Xe(g) ? g : O;
|
|
1058
1057
|
}, p = i.map(
|
|
1059
|
-
(
|
|
1060
|
-
|
|
1058
|
+
(g, y) => Bt(
|
|
1059
|
+
g,
|
|
1061
1060
|
(S) => {
|
|
1062
|
-
u[
|
|
1061
|
+
u[y] = S, h &= ~(1 << y), l && c();
|
|
1063
1062
|
},
|
|
1064
1063
|
() => {
|
|
1065
|
-
h |= 1 <<
|
|
1064
|
+
h |= 1 << y;
|
|
1066
1065
|
}
|
|
1067
1066
|
)
|
|
1068
1067
|
);
|
|
@@ -1113,7 +1112,7 @@ function fn(e) {
|
|
|
1113
1112
|
function ft(e) {
|
|
1114
1113
|
return Object.keys(e).concat(fn(e));
|
|
1115
1114
|
}
|
|
1116
|
-
function
|
|
1115
|
+
function Dt(e, t) {
|
|
1117
1116
|
try {
|
|
1118
1117
|
return t in e;
|
|
1119
1118
|
} catch (r) {
|
|
@@ -1121,14 +1120,14 @@ function Gt(e, t) {
|
|
|
1121
1120
|
}
|
|
1122
1121
|
}
|
|
1123
1122
|
function pn(e, t) {
|
|
1124
|
-
return
|
|
1123
|
+
return Dt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1125
1124
|
}
|
|
1126
1125
|
function dn(e, t, r) {
|
|
1127
1126
|
var n = {};
|
|
1128
1127
|
return r.isMergeableObject(e) && ft(e).forEach(function(i) {
|
|
1129
1128
|
n[i] = re(e[i], r);
|
|
1130
1129
|
}), ft(t).forEach(function(i) {
|
|
1131
|
-
pn(e, i) || (
|
|
1130
|
+
pn(e, i) || (Dt(e, i) && r.isMergeableObject(t[i]) ? n[i] = cn(i, r)(e[i], t[i], r) : n[i] = re(t[i], r));
|
|
1132
1131
|
}), n;
|
|
1133
1132
|
}
|
|
1134
1133
|
function z(e, t, r) {
|
|
@@ -1145,7 +1144,57 @@ z.all = function(t, r) {
|
|
|
1145
1144
|
};
|
|
1146
1145
|
var mn = z, bn = mn;
|
|
1147
1146
|
const vn = /* @__PURE__ */ tn(bn);
|
|
1148
|
-
|
|
1147
|
+
function Pe(e, t) {
|
|
1148
|
+
var r = t && t.cache ? t.cache : Tn, n = t && t.serializer ? t.serializer : _n, i = t && t.strategy ? t.strategy : gn;
|
|
1149
|
+
return i(e, {
|
|
1150
|
+
cache: r,
|
|
1151
|
+
serializer: n
|
|
1152
|
+
});
|
|
1153
|
+
}
|
|
1154
|
+
function yn(e) {
|
|
1155
|
+
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1156
|
+
}
|
|
1157
|
+
function Gt(e, t, r, n) {
|
|
1158
|
+
var i = yn(n) ? n : r(n), o = t.get(i);
|
|
1159
|
+
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1160
|
+
}
|
|
1161
|
+
function Ft(e, t, r) {
|
|
1162
|
+
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1163
|
+
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1164
|
+
}
|
|
1165
|
+
function Ze(e, t, r, n, i) {
|
|
1166
|
+
return r.bind(t, e, n, i);
|
|
1167
|
+
}
|
|
1168
|
+
function gn(e, t) {
|
|
1169
|
+
var r = e.length === 1 ? Gt : Ft;
|
|
1170
|
+
return Ze(e, this, r, t.cache.create(), t.serializer);
|
|
1171
|
+
}
|
|
1172
|
+
function xn(e, t) {
|
|
1173
|
+
return Ze(e, this, Ft, t.cache.create(), t.serializer);
|
|
1174
|
+
}
|
|
1175
|
+
function En(e, t) {
|
|
1176
|
+
return Ze(e, this, Gt, t.cache.create(), t.serializer);
|
|
1177
|
+
}
|
|
1178
|
+
var _n = function() {
|
|
1179
|
+
return JSON.stringify(arguments);
|
|
1180
|
+
};
|
|
1181
|
+
function Qe() {
|
|
1182
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1183
|
+
}
|
|
1184
|
+
Qe.prototype.get = function(e) {
|
|
1185
|
+
return this.cache[e];
|
|
1186
|
+
};
|
|
1187
|
+
Qe.prototype.set = function(e, t) {
|
|
1188
|
+
this.cache[e] = t;
|
|
1189
|
+
};
|
|
1190
|
+
var Tn = {
|
|
1191
|
+
create: function() {
|
|
1192
|
+
return new Qe();
|
|
1193
|
+
}
|
|
1194
|
+
}, He = {
|
|
1195
|
+
variadic: xn,
|
|
1196
|
+
monadic: En
|
|
1197
|
+
}, m;
|
|
1149
1198
|
(function(e) {
|
|
1150
1199
|
e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
|
|
1151
1200
|
})(m || (m = {}));
|
|
@@ -1160,40 +1209,40 @@ var W;
|
|
|
1160
1209
|
function pt(e) {
|
|
1161
1210
|
return e.type === E.literal;
|
|
1162
1211
|
}
|
|
1163
|
-
function
|
|
1212
|
+
function Sn(e) {
|
|
1164
1213
|
return e.type === E.argument;
|
|
1165
1214
|
}
|
|
1166
|
-
function
|
|
1215
|
+
function jt(e) {
|
|
1167
1216
|
return e.type === E.number;
|
|
1168
1217
|
}
|
|
1169
|
-
function
|
|
1218
|
+
function kt(e) {
|
|
1170
1219
|
return e.type === E.date;
|
|
1171
1220
|
}
|
|
1172
|
-
function
|
|
1221
|
+
function Vt(e) {
|
|
1173
1222
|
return e.type === E.time;
|
|
1174
1223
|
}
|
|
1175
|
-
function
|
|
1224
|
+
function zt(e) {
|
|
1176
1225
|
return e.type === E.select;
|
|
1177
1226
|
}
|
|
1178
|
-
function
|
|
1227
|
+
function Wt(e) {
|
|
1179
1228
|
return e.type === E.plural;
|
|
1180
1229
|
}
|
|
1181
|
-
function
|
|
1230
|
+
function wn(e) {
|
|
1182
1231
|
return e.type === E.pound;
|
|
1183
1232
|
}
|
|
1184
|
-
function
|
|
1233
|
+
function Xt(e) {
|
|
1185
1234
|
return e.type === E.tag;
|
|
1186
1235
|
}
|
|
1187
|
-
function
|
|
1236
|
+
function qt(e) {
|
|
1188
1237
|
return !!(e && typeof e == "object" && e.type === W.number);
|
|
1189
1238
|
}
|
|
1190
1239
|
function De(e) {
|
|
1191
1240
|
return !!(e && typeof e == "object" && e.type === W.dateTime);
|
|
1192
1241
|
}
|
|
1193
|
-
var
|
|
1194
|
-
function
|
|
1242
|
+
var Zt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Pn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
1243
|
+
function Hn(e) {
|
|
1195
1244
|
var t = {};
|
|
1196
|
-
return e.replace(
|
|
1245
|
+
return e.replace(Pn, function(r) {
|
|
1197
1246
|
var n = r.length;
|
|
1198
1247
|
switch (r[0]) {
|
|
1199
1248
|
case "G":
|
|
@@ -1282,11 +1331,11 @@ function En(e) {
|
|
|
1282
1331
|
return "";
|
|
1283
1332
|
}), t;
|
|
1284
1333
|
}
|
|
1285
|
-
var
|
|
1286
|
-
function
|
|
1334
|
+
var In = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1335
|
+
function Cn(e) {
|
|
1287
1336
|
if (e.length === 0)
|
|
1288
1337
|
throw new Error("Number skeleton cannot be empty");
|
|
1289
|
-
for (var t = e.split(
|
|
1338
|
+
for (var t = e.split(In).filter(function(c) {
|
|
1290
1339
|
return c.length > 0;
|
|
1291
1340
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1292
1341
|
var o = i[n], a = o.split("/");
|
|
@@ -1301,17 +1350,17 @@ function Tn(e) {
|
|
|
1301
1350
|
}
|
|
1302
1351
|
return r;
|
|
1303
1352
|
}
|
|
1304
|
-
function
|
|
1353
|
+
function Bn(e) {
|
|
1305
1354
|
return e.replace(/^(.*?)-/, "");
|
|
1306
1355
|
}
|
|
1307
|
-
var dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,
|
|
1356
|
+
var dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Qt = /^(@+)?(\+|#+)?[rs]?$/g, An = /(\*)(0+)|(#+)(0+)|(0+)/g, Yt = /^(0+)$/;
|
|
1308
1357
|
function mt(e) {
|
|
1309
1358
|
var t = {};
|
|
1310
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1359
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Qt, function(r, n, i) {
|
|
1311
1360
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1312
1361
|
}), t;
|
|
1313
1362
|
}
|
|
1314
|
-
function
|
|
1363
|
+
function Jt(e) {
|
|
1315
1364
|
switch (e) {
|
|
1316
1365
|
case "sign-auto":
|
|
1317
1366
|
return {
|
|
@@ -1351,7 +1400,7 @@ function Yt(e) {
|
|
|
1351
1400
|
};
|
|
1352
1401
|
}
|
|
1353
1402
|
}
|
|
1354
|
-
function
|
|
1403
|
+
function On(e) {
|
|
1355
1404
|
var t;
|
|
1356
1405
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1357
1406
|
notation: "engineering"
|
|
@@ -1359,17 +1408,17 @@ function Pn(e) {
|
|
|
1359
1408
|
notation: "scientific"
|
|
1360
1409
|
}, e = e.slice(1)), t) {
|
|
1361
1410
|
var r = e.slice(0, 2);
|
|
1362
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1411
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Yt.test(e))
|
|
1363
1412
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1364
1413
|
t.minimumIntegerDigits = e.length;
|
|
1365
1414
|
}
|
|
1366
1415
|
return t;
|
|
1367
1416
|
}
|
|
1368
1417
|
function bt(e) {
|
|
1369
|
-
var t = {}, r =
|
|
1418
|
+
var t = {}, r = Jt(e);
|
|
1370
1419
|
return r || t;
|
|
1371
1420
|
}
|
|
1372
|
-
function
|
|
1421
|
+
function Ln(e) {
|
|
1373
1422
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1374
1423
|
var i = n[r];
|
|
1375
1424
|
switch (i.stem) {
|
|
@@ -1393,7 +1442,7 @@ function Hn(e) {
|
|
|
1393
1442
|
continue;
|
|
1394
1443
|
case "measure-unit":
|
|
1395
1444
|
case "unit":
|
|
1396
|
-
t.style = "unit", t.unit =
|
|
1445
|
+
t.style = "unit", t.unit = Bn(i.options[0]);
|
|
1397
1446
|
continue;
|
|
1398
1447
|
case "compact-short":
|
|
1399
1448
|
case "K":
|
|
@@ -1455,7 +1504,7 @@ function Hn(e) {
|
|
|
1455
1504
|
case "integer-width":
|
|
1456
1505
|
if (i.options.length > 1)
|
|
1457
1506
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1458
|
-
i.options[0].replace(
|
|
1507
|
+
i.options[0].replace(An, function(l, u, h, f, c, p) {
|
|
1459
1508
|
if (u)
|
|
1460
1509
|
t.minimumIntegerDigits = h.length;
|
|
1461
1510
|
else {
|
|
@@ -1468,7 +1517,7 @@ function Hn(e) {
|
|
|
1468
1517
|
});
|
|
1469
1518
|
continue;
|
|
1470
1519
|
}
|
|
1471
|
-
if (
|
|
1520
|
+
if (Yt.test(i.stem)) {
|
|
1472
1521
|
t.minimumIntegerDigits = i.stem.length;
|
|
1473
1522
|
continue;
|
|
1474
1523
|
}
|
|
@@ -1482,13 +1531,13 @@ function Hn(e) {
|
|
|
1482
1531
|
o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), mt(o)));
|
|
1483
1532
|
continue;
|
|
1484
1533
|
}
|
|
1485
|
-
if (
|
|
1534
|
+
if (Qt.test(i.stem)) {
|
|
1486
1535
|
t = v(v({}, t), mt(i.stem));
|
|
1487
1536
|
continue;
|
|
1488
1537
|
}
|
|
1489
|
-
var a =
|
|
1538
|
+
var a = Jt(i.stem);
|
|
1490
1539
|
a && (t = v(v({}, t), a));
|
|
1491
|
-
var s =
|
|
1540
|
+
var s = On(i.stem);
|
|
1492
1541
|
s && (t = v(v({}, t), s));
|
|
1493
1542
|
}
|
|
1494
1543
|
return t;
|
|
@@ -1498,6 +1547,12 @@ var le = {
|
|
|
1498
1547
|
"H",
|
|
1499
1548
|
"h"
|
|
1500
1549
|
],
|
|
1550
|
+
419: [
|
|
1551
|
+
"h",
|
|
1552
|
+
"H",
|
|
1553
|
+
"hB",
|
|
1554
|
+
"hb"
|
|
1555
|
+
],
|
|
1501
1556
|
AC: [
|
|
1502
1557
|
"H",
|
|
1503
1558
|
"h",
|
|
@@ -1546,8 +1601,8 @@ var le = {
|
|
|
1546
1601
|
"hB"
|
|
1547
1602
|
],
|
|
1548
1603
|
AR: [
|
|
1549
|
-
"H",
|
|
1550
1604
|
"h",
|
|
1605
|
+
"H",
|
|
1551
1606
|
"hB",
|
|
1552
1607
|
"hb"
|
|
1553
1608
|
],
|
|
@@ -1637,9 +1692,9 @@ var le = {
|
|
|
1637
1692
|
"H"
|
|
1638
1693
|
],
|
|
1639
1694
|
BO: [
|
|
1695
|
+
"h",
|
|
1640
1696
|
"H",
|
|
1641
1697
|
"hB",
|
|
1642
|
-
"h",
|
|
1643
1698
|
"hb"
|
|
1644
1699
|
],
|
|
1645
1700
|
BQ: [
|
|
@@ -1716,8 +1771,8 @@ var le = {
|
|
|
1716
1771
|
"hB"
|
|
1717
1772
|
],
|
|
1718
1773
|
CL: [
|
|
1719
|
-
"H",
|
|
1720
1774
|
"h",
|
|
1775
|
+
"H",
|
|
1721
1776
|
"hB",
|
|
1722
1777
|
"hb"
|
|
1723
1778
|
],
|
|
@@ -1742,14 +1797,14 @@ var le = {
|
|
|
1742
1797
|
"H"
|
|
1743
1798
|
],
|
|
1744
1799
|
CR: [
|
|
1745
|
-
"H",
|
|
1746
1800
|
"h",
|
|
1801
|
+
"H",
|
|
1747
1802
|
"hB",
|
|
1748
1803
|
"hb"
|
|
1749
1804
|
],
|
|
1750
1805
|
CU: [
|
|
1751
|
-
"H",
|
|
1752
1806
|
"h",
|
|
1807
|
+
"H",
|
|
1753
1808
|
"hB",
|
|
1754
1809
|
"hb"
|
|
1755
1810
|
],
|
|
@@ -1818,9 +1873,9 @@ var le = {
|
|
|
1818
1873
|
"hb"
|
|
1819
1874
|
],
|
|
1820
1875
|
EC: [
|
|
1876
|
+
"h",
|
|
1821
1877
|
"H",
|
|
1822
1878
|
"hB",
|
|
1823
|
-
"h",
|
|
1824
1879
|
"hb"
|
|
1825
1880
|
],
|
|
1826
1881
|
EE: [
|
|
@@ -1956,8 +2011,8 @@ var le = {
|
|
|
1956
2011
|
"hB"
|
|
1957
2012
|
],
|
|
1958
2013
|
GT: [
|
|
1959
|
-
"H",
|
|
1960
2014
|
"h",
|
|
2015
|
+
"H",
|
|
1961
2016
|
"hB",
|
|
1962
2017
|
"hb"
|
|
1963
2018
|
],
|
|
@@ -1984,8 +2039,8 @@ var le = {
|
|
|
1984
2039
|
"H"
|
|
1985
2040
|
],
|
|
1986
2041
|
HN: [
|
|
1987
|
-
"H",
|
|
1988
2042
|
"h",
|
|
2043
|
+
"H",
|
|
1989
2044
|
"hB",
|
|
1990
2045
|
"hb"
|
|
1991
2046
|
],
|
|
@@ -2299,8 +2354,8 @@ var le = {
|
|
|
2299
2354
|
"hB"
|
|
2300
2355
|
],
|
|
2301
2356
|
MX: [
|
|
2302
|
-
"H",
|
|
2303
2357
|
"h",
|
|
2358
|
+
"H",
|
|
2304
2359
|
"hB",
|
|
2305
2360
|
"hb"
|
|
2306
2361
|
],
|
|
@@ -2340,8 +2395,8 @@ var le = {
|
|
|
2340
2395
|
"hB"
|
|
2341
2396
|
],
|
|
2342
2397
|
NI: [
|
|
2343
|
-
"H",
|
|
2344
2398
|
"h",
|
|
2399
|
+
"H",
|
|
2345
2400
|
"hB",
|
|
2346
2401
|
"hb"
|
|
2347
2402
|
],
|
|
@@ -2389,9 +2444,9 @@ var le = {
|
|
|
2389
2444
|
"hb"
|
|
2390
2445
|
],
|
|
2391
2446
|
PE: [
|
|
2447
|
+
"h",
|
|
2392
2448
|
"H",
|
|
2393
2449
|
"hB",
|
|
2394
|
-
"h",
|
|
2395
2450
|
"hb"
|
|
2396
2451
|
],
|
|
2397
2452
|
PF: [
|
|
@@ -2449,8 +2504,8 @@ var le = {
|
|
|
2449
2504
|
"H"
|
|
2450
2505
|
],
|
|
2451
2506
|
PY: [
|
|
2452
|
-
"H",
|
|
2453
2507
|
"h",
|
|
2508
|
+
"H",
|
|
2454
2509
|
"hB",
|
|
2455
2510
|
"hb"
|
|
2456
2511
|
],
|
|
@@ -2563,8 +2618,8 @@ var le = {
|
|
|
2563
2618
|
"hB"
|
|
2564
2619
|
],
|
|
2565
2620
|
SV: [
|
|
2566
|
-
"H",
|
|
2567
2621
|
"h",
|
|
2622
|
+
"H",
|
|
2568
2623
|
"hB",
|
|
2569
2624
|
"hb"
|
|
2570
2625
|
],
|
|
@@ -2686,8 +2741,8 @@ var le = {
|
|
|
2686
2741
|
"hB"
|
|
2687
2742
|
],
|
|
2688
2743
|
UY: [
|
|
2689
|
-
"H",
|
|
2690
2744
|
"h",
|
|
2745
|
+
"H",
|
|
2691
2746
|
"hB",
|
|
2692
2747
|
"hb"
|
|
2693
2748
|
],
|
|
@@ -2795,37 +2850,37 @@ var le = {
|
|
|
2795
2850
|
"H",
|
|
2796
2851
|
"hB"
|
|
2797
2852
|
],
|
|
2798
|
-
"
|
|
2799
|
-
"H",
|
|
2853
|
+
"en-HK": [
|
|
2800
2854
|
"h",
|
|
2801
|
-
"
|
|
2802
|
-
"
|
|
2855
|
+
"hb",
|
|
2856
|
+
"H",
|
|
2857
|
+
"hB"
|
|
2803
2858
|
],
|
|
2804
|
-
"
|
|
2859
|
+
"en-IL": [
|
|
2805
2860
|
"H",
|
|
2806
2861
|
"h",
|
|
2807
|
-
"
|
|
2808
|
-
"
|
|
2862
|
+
"hb",
|
|
2863
|
+
"hB"
|
|
2809
2864
|
],
|
|
2810
|
-
"
|
|
2811
|
-
"H",
|
|
2865
|
+
"en-MY": [
|
|
2812
2866
|
"h",
|
|
2813
|
-
"
|
|
2814
|
-
"
|
|
2867
|
+
"hb",
|
|
2868
|
+
"H",
|
|
2869
|
+
"hB"
|
|
2815
2870
|
],
|
|
2816
|
-
"es-
|
|
2871
|
+
"es-BR": [
|
|
2817
2872
|
"H",
|
|
2818
2873
|
"h",
|
|
2819
2874
|
"hB",
|
|
2820
2875
|
"hb"
|
|
2821
2876
|
],
|
|
2822
|
-
"es-
|
|
2877
|
+
"es-ES": [
|
|
2823
2878
|
"H",
|
|
2824
2879
|
"h",
|
|
2825
2880
|
"hB",
|
|
2826
2881
|
"hb"
|
|
2827
2882
|
],
|
|
2828
|
-
"es-
|
|
2883
|
+
"es-GQ": [
|
|
2829
2884
|
"H",
|
|
2830
2885
|
"h",
|
|
2831
2886
|
"hB",
|
|
@@ -2902,13 +2957,13 @@ var le = {
|
|
|
2902
2957
|
"h"
|
|
2903
2958
|
]
|
|
2904
2959
|
};
|
|
2905
|
-
function
|
|
2960
|
+
function Mn(e, t) {
|
|
2906
2961
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2907
2962
|
var i = e.charAt(n);
|
|
2908
2963
|
if (i === "j") {
|
|
2909
2964
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2910
2965
|
o++, n++;
|
|
2911
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
2966
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Nn(t);
|
|
2912
2967
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
2913
2968
|
r += l;
|
|
2914
2969
|
for (; a-- > 0; )
|
|
@@ -2917,7 +2972,7 @@ function Cn(e, t) {
|
|
|
2917
2972
|
}
|
|
2918
2973
|
return r;
|
|
2919
2974
|
}
|
|
2920
|
-
function
|
|
2975
|
+
function Nn(e) {
|
|
2921
2976
|
var t = e.hourCycle;
|
|
2922
2977
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2923
2978
|
e.hourCycles && // @ts-ignore
|
|
@@ -2939,20 +2994,20 @@ function In(e) {
|
|
|
2939
2994
|
var i = le[n || ""] || le[r || ""] || le["".concat(r, "-001")] || le["001"];
|
|
2940
2995
|
return i[0];
|
|
2941
2996
|
}
|
|
2942
|
-
var
|
|
2997
|
+
var Ie, $n = new RegExp("^".concat(Zt.source, "*")), Rn = new RegExp("".concat(Zt.source, "*$"));
|
|
2943
2998
|
function b(e, t) {
|
|
2944
2999
|
return { start: e, end: t };
|
|
2945
3000
|
}
|
|
2946
|
-
var
|
|
3001
|
+
var Un = !!String.prototype.startsWith && "_a".startsWith("a", 1), Dn = !!String.fromCodePoint, Gn = !!Object.fromEntries, Fn = !!String.prototype.codePointAt, jn = !!String.prototype.trimStart, kn = !!String.prototype.trimEnd, Vn = !!Number.isSafeInteger, zn = Vn ? Number.isSafeInteger : function(e) {
|
|
2947
3002
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2948
3003
|
}, Ge = !0;
|
|
2949
3004
|
try {
|
|
2950
|
-
var
|
|
2951
|
-
Ge = ((
|
|
3005
|
+
var Wn = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3006
|
+
Ge = ((Ie = Wn.exec("a")) === null || Ie === void 0 ? void 0 : Ie[0]) === "a";
|
|
2952
3007
|
} catch (e) {
|
|
2953
3008
|
Ge = !1;
|
|
2954
3009
|
}
|
|
2955
|
-
var vt =
|
|
3010
|
+
var vt = Un ? (
|
|
2956
3011
|
// Native
|
|
2957
3012
|
function(t, r, n) {
|
|
2958
3013
|
return t.startsWith(r, n);
|
|
@@ -2962,7 +3017,7 @@ var vt = On ? (
|
|
|
2962
3017
|
function(t, r, n) {
|
|
2963
3018
|
return t.slice(n, n + r.length) === r;
|
|
2964
3019
|
}
|
|
2965
|
-
), Fe =
|
|
3020
|
+
), Fe = Dn ? String.fromCodePoint : (
|
|
2966
3021
|
// IE11
|
|
2967
3022
|
function() {
|
|
2968
3023
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2974,9 +3029,9 @@ var vt = On ? (
|
|
|
2974
3029
|
}
|
|
2975
3030
|
return n;
|
|
2976
3031
|
}
|
|
2977
|
-
),
|
|
3032
|
+
), yt = (
|
|
2978
3033
|
// native
|
|
2979
|
-
|
|
3034
|
+
Gn ? Object.fromEntries : (
|
|
2980
3035
|
// Ponyfill
|
|
2981
3036
|
function(t) {
|
|
2982
3037
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2986,7 +3041,7 @@ var vt = On ? (
|
|
|
2986
3041
|
return r;
|
|
2987
3042
|
}
|
|
2988
3043
|
)
|
|
2989
|
-
),
|
|
3044
|
+
), Kt = Fn ? (
|
|
2990
3045
|
// Native
|
|
2991
3046
|
function(t, r) {
|
|
2992
3047
|
return t.codePointAt(r);
|
|
@@ -3000,7 +3055,7 @@ var vt = On ? (
|
|
|
3000
3055
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3001
3056
|
}
|
|
3002
3057
|
}
|
|
3003
|
-
),
|
|
3058
|
+
), Xn = jn ? (
|
|
3004
3059
|
// Native
|
|
3005
3060
|
function(t) {
|
|
3006
3061
|
return t.trimStart();
|
|
@@ -3008,9 +3063,9 @@ var vt = On ? (
|
|
|
3008
3063
|
) : (
|
|
3009
3064
|
// Ponyfill
|
|
3010
3065
|
function(t) {
|
|
3011
|
-
return t.replace(
|
|
3066
|
+
return t.replace($n, "");
|
|
3012
3067
|
}
|
|
3013
|
-
),
|
|
3068
|
+
), qn = kn ? (
|
|
3014
3069
|
// Native
|
|
3015
3070
|
function(t) {
|
|
3016
3071
|
return t.trimEnd();
|
|
@@ -3018,32 +3073,32 @@ var vt = On ? (
|
|
|
3018
3073
|
) : (
|
|
3019
3074
|
// Ponyfill
|
|
3020
3075
|
function(t) {
|
|
3021
|
-
return t.replace(
|
|
3076
|
+
return t.replace(Rn, "");
|
|
3022
3077
|
}
|
|
3023
3078
|
);
|
|
3024
|
-
function
|
|
3079
|
+
function er(e, t) {
|
|
3025
3080
|
return new RegExp(e, t);
|
|
3026
3081
|
}
|
|
3027
3082
|
var je;
|
|
3028
3083
|
if (Ge) {
|
|
3029
|
-
var
|
|
3084
|
+
var gt = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3030
3085
|
je = function(t, r) {
|
|
3031
3086
|
var n;
|
|
3032
|
-
|
|
3033
|
-
var i =
|
|
3087
|
+
gt.lastIndex = r;
|
|
3088
|
+
var i = gt.exec(t);
|
|
3034
3089
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3035
3090
|
};
|
|
3036
3091
|
} else
|
|
3037
3092
|
je = function(t, r) {
|
|
3038
3093
|
for (var n = []; ; ) {
|
|
3039
|
-
var i =
|
|
3040
|
-
if (i === void 0 ||
|
|
3094
|
+
var i = Kt(t, r);
|
|
3095
|
+
if (i === void 0 || tr(i) || Jn(i))
|
|
3041
3096
|
break;
|
|
3042
3097
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3043
3098
|
}
|
|
3044
3099
|
return Fe.apply(void 0, n);
|
|
3045
3100
|
};
|
|
3046
|
-
var
|
|
3101
|
+
var Zn = (
|
|
3047
3102
|
/** @class */
|
|
3048
3103
|
function() {
|
|
3049
3104
|
function e(t, r) {
|
|
@@ -3125,7 +3180,7 @@ var kn = (
|
|
|
3125
3180
|
return this.error(m.INVALID_TAG, b(n, this.clonePosition()));
|
|
3126
3181
|
}, e.prototype.parseTagName = function() {
|
|
3127
3182
|
var t = this.offset();
|
|
3128
|
-
for (this.bump(); !this.isEOF() &&
|
|
3183
|
+
for (this.bump(); !this.isEOF() && Yn(this.char()); )
|
|
3129
3184
|
this.bump();
|
|
3130
3185
|
return this.message.slice(t, this.offset());
|
|
3131
3186
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3154,7 +3209,7 @@ var kn = (
|
|
|
3154
3209
|
};
|
|
3155
3210
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3156
3211
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3157
|
-
!
|
|
3212
|
+
!Qn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3158
3213
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3159
3214
|
if (this.isEOF() || this.char() !== 39)
|
|
3160
3215
|
return null;
|
|
@@ -3241,37 +3296,37 @@ var kn = (
|
|
|
3241
3296
|
var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3242
3297
|
if (f.err)
|
|
3243
3298
|
return f;
|
|
3244
|
-
var c =
|
|
3299
|
+
var c = qn(f.val);
|
|
3245
3300
|
if (c.length === 0)
|
|
3246
3301
|
return this.error(m.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
|
|
3247
3302
|
var p = b(h, this.clonePosition());
|
|
3248
3303
|
u = { style: c, styleLocation: p };
|
|
3249
3304
|
}
|
|
3250
|
-
var
|
|
3251
|
-
if (
|
|
3252
|
-
return
|
|
3253
|
-
var
|
|
3305
|
+
var g = this.tryParseArgumentClose(i);
|
|
3306
|
+
if (g.err)
|
|
3307
|
+
return g;
|
|
3308
|
+
var y = b(i, this.clonePosition());
|
|
3254
3309
|
if (u && vt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3255
|
-
var S =
|
|
3310
|
+
var S = Xn(u.style.slice(2));
|
|
3256
3311
|
if (s === "number") {
|
|
3257
3312
|
var f = this.parseNumberSkeletonFromString(S, u.styleLocation);
|
|
3258
3313
|
return f.err ? f : {
|
|
3259
|
-
val: { type: E.number, value: n, location:
|
|
3314
|
+
val: { type: E.number, value: n, location: y, style: f.val },
|
|
3260
3315
|
err: null
|
|
3261
3316
|
};
|
|
3262
3317
|
} else {
|
|
3263
3318
|
if (S.length === 0)
|
|
3264
|
-
return this.error(m.EXPECT_DATE_TIME_SKELETON,
|
|
3319
|
+
return this.error(m.EXPECT_DATE_TIME_SKELETON, y);
|
|
3265
3320
|
var P = S;
|
|
3266
|
-
this.locale && (P =
|
|
3321
|
+
this.locale && (P = Mn(S, this.locale));
|
|
3267
3322
|
var c = {
|
|
3268
3323
|
type: W.dateTime,
|
|
3269
3324
|
pattern: P,
|
|
3270
3325
|
location: u.styleLocation,
|
|
3271
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3326
|
+
parsedOptions: this.shouldParseSkeletons ? Hn(P) : {}
|
|
3272
3327
|
}, _ = s === "date" ? E.date : E.time;
|
|
3273
3328
|
return {
|
|
3274
|
-
val: { type: _, value: n, location:
|
|
3329
|
+
val: { type: _, value: n, location: y, style: c },
|
|
3275
3330
|
err: null
|
|
3276
3331
|
};
|
|
3277
3332
|
}
|
|
@@ -3280,7 +3335,7 @@ var kn = (
|
|
|
3280
3335
|
val: {
|
|
3281
3336
|
type: s === "number" ? E.number : s === "date" ? E.date : E.time,
|
|
3282
3337
|
value: n,
|
|
3283
|
-
location:
|
|
3338
|
+
location: y,
|
|
3284
3339
|
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
3285
3340
|
},
|
|
3286
3341
|
err: null
|
|
@@ -3306,26 +3361,26 @@ var kn = (
|
|
|
3306
3361
|
var d = this.tryParsePluralOrSelectOptions(t, s, r, w);
|
|
3307
3362
|
if (d.err)
|
|
3308
3363
|
return d;
|
|
3309
|
-
var
|
|
3310
|
-
if (
|
|
3311
|
-
return
|
|
3312
|
-
var
|
|
3364
|
+
var g = this.tryParseArgumentClose(i);
|
|
3365
|
+
if (g.err)
|
|
3366
|
+
return g;
|
|
3367
|
+
var I = b(i, this.clonePosition());
|
|
3313
3368
|
return s === "select" ? {
|
|
3314
3369
|
val: {
|
|
3315
3370
|
type: E.select,
|
|
3316
3371
|
value: n,
|
|
3317
|
-
options:
|
|
3318
|
-
location:
|
|
3372
|
+
options: yt(d.val),
|
|
3373
|
+
location: I
|
|
3319
3374
|
},
|
|
3320
3375
|
err: null
|
|
3321
3376
|
} : {
|
|
3322
3377
|
val: {
|
|
3323
3378
|
type: E.plural,
|
|
3324
3379
|
value: n,
|
|
3325
|
-
options:
|
|
3380
|
+
options: yt(d.val),
|
|
3326
3381
|
offset: L,
|
|
3327
3382
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3328
|
-
location:
|
|
3383
|
+
location: I
|
|
3329
3384
|
},
|
|
3330
3385
|
err: null
|
|
3331
3386
|
};
|
|
@@ -3373,7 +3428,7 @@ var kn = (
|
|
|
3373
3428
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3374
3429
|
var n = [];
|
|
3375
3430
|
try {
|
|
3376
|
-
n =
|
|
3431
|
+
n = Cn(t);
|
|
3377
3432
|
} catch (i) {
|
|
3378
3433
|
return this.error(m.INVALID_NUMBER_SKELETON, r);
|
|
3379
3434
|
}
|
|
@@ -3382,7 +3437,7 @@ var kn = (
|
|
|
3382
3437
|
type: W.number,
|
|
3383
3438
|
tokens: n,
|
|
3384
3439
|
location: r,
|
|
3385
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3440
|
+
parsedOptions: this.shouldParseSkeletons ? Ln(n) : {}
|
|
3386
3441
|
},
|
|
3387
3442
|
err: null
|
|
3388
3443
|
};
|
|
@@ -3404,16 +3459,16 @@ var kn = (
|
|
|
3404
3459
|
var p = this.clonePosition();
|
|
3405
3460
|
if (!this.bumpIf("{"))
|
|
3406
3461
|
return this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
|
|
3407
|
-
var
|
|
3408
|
-
if (y.err)
|
|
3409
|
-
return y;
|
|
3410
|
-
var g = this.tryParseArgumentClose(p);
|
|
3462
|
+
var g = this.parseMessage(t + 1, r, n);
|
|
3411
3463
|
if (g.err)
|
|
3412
3464
|
return g;
|
|
3465
|
+
var y = this.tryParseArgumentClose(p);
|
|
3466
|
+
if (y.err)
|
|
3467
|
+
return y;
|
|
3413
3468
|
s.push([
|
|
3414
3469
|
u,
|
|
3415
3470
|
{
|
|
3416
|
-
value:
|
|
3471
|
+
value: g.val,
|
|
3417
3472
|
location: b(p, this.clonePosition())
|
|
3418
3473
|
}
|
|
3419
3474
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
@@ -3430,7 +3485,7 @@ var kn = (
|
|
|
3430
3485
|
break;
|
|
3431
3486
|
}
|
|
3432
3487
|
var l = b(i, this.clonePosition());
|
|
3433
|
-
return o ? (a *= n,
|
|
3488
|
+
return o ? (a *= n, zn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3434
3489
|
}, e.prototype.offset = function() {
|
|
3435
3490
|
return this.position.offset;
|
|
3436
3491
|
}, e.prototype.isEOF = function() {
|
|
@@ -3445,7 +3500,7 @@ var kn = (
|
|
|
3445
3500
|
var t = this.position.offset;
|
|
3446
3501
|
if (t >= this.message.length)
|
|
3447
3502
|
throw Error("out of bound");
|
|
3448
|
-
var r =
|
|
3503
|
+
var r = Kt(this.message, t);
|
|
3449
3504
|
if (r === void 0)
|
|
3450
3505
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3451
3506
|
return r;
|
|
@@ -3486,7 +3541,7 @@ var kn = (
|
|
|
3486
3541
|
break;
|
|
3487
3542
|
}
|
|
3488
3543
|
}, e.prototype.bumpSpace = function() {
|
|
3489
|
-
for (; !this.isEOF() &&
|
|
3544
|
+
for (; !this.isEOF() && tr(this.char()); )
|
|
3490
3545
|
this.bump();
|
|
3491
3546
|
}, e.prototype.peek = function() {
|
|
3492
3547
|
if (this.isEOF())
|
|
@@ -3499,90 +3554,40 @@ var kn = (
|
|
|
3499
3554
|
function ke(e) {
|
|
3500
3555
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3501
3556
|
}
|
|
3502
|
-
function
|
|
3557
|
+
function Qn(e) {
|
|
3503
3558
|
return ke(e) || e === 47;
|
|
3504
3559
|
}
|
|
3505
|
-
function
|
|
3560
|
+
function Yn(e) {
|
|
3506
3561
|
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;
|
|
3507
3562
|
}
|
|
3508
|
-
function
|
|
3563
|
+
function tr(e) {
|
|
3509
3564
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3510
3565
|
}
|
|
3511
|
-
function
|
|
3566
|
+
function Jn(e) {
|
|
3512
3567
|
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;
|
|
3513
3568
|
}
|
|
3514
3569
|
function Ve(e) {
|
|
3515
3570
|
e.forEach(function(t) {
|
|
3516
|
-
if (delete t.location,
|
|
3571
|
+
if (delete t.location, zt(t) || Wt(t))
|
|
3517
3572
|
for (var r in t.options)
|
|
3518
3573
|
delete t.options[r].location, Ve(t.options[r].value);
|
|
3519
|
-
else
|
|
3574
|
+
else jt(t) && qt(t.style) || (kt(t) || Vt(t)) && De(t.style) ? delete t.style.location : Xt(t) && Ve(t.children);
|
|
3520
3575
|
});
|
|
3521
3576
|
}
|
|
3522
|
-
function
|
|
3577
|
+
function Kn(e, t) {
|
|
3523
3578
|
t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3524
|
-
var r = new
|
|
3579
|
+
var r = new Zn(e, t).parse();
|
|
3525
3580
|
if (r.err) {
|
|
3526
3581
|
var n = SyntaxError(m[r.err.kind]);
|
|
3527
3582
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3528
3583
|
}
|
|
3529
3584
|
return t != null && t.captureLocation || Ve(r.val), r.val;
|
|
3530
3585
|
}
|
|
3531
|
-
|
|
3532
|
-
var r = t && t.cache ? t.cache : Kn, n = t && t.serializer ? t.serializer : Jn, i = t && t.strategy ? t.strategy : Zn;
|
|
3533
|
-
return i(e, {
|
|
3534
|
-
cache: r,
|
|
3535
|
-
serializer: n
|
|
3536
|
-
});
|
|
3537
|
-
}
|
|
3538
|
-
function qn(e) {
|
|
3539
|
-
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
3540
|
-
}
|
|
3541
|
-
function tr(e, t, r, n) {
|
|
3542
|
-
var i = qn(n) ? n : r(n), o = t.get(i);
|
|
3543
|
-
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
3544
|
-
}
|
|
3545
|
-
function rr(e, t, r) {
|
|
3546
|
-
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
3547
|
-
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
3548
|
-
}
|
|
3549
|
-
function Ze(e, t, r, n, i) {
|
|
3550
|
-
return r.bind(t, e, n, i);
|
|
3551
|
-
}
|
|
3552
|
-
function Zn(e, t) {
|
|
3553
|
-
var r = e.length === 1 ? tr : rr;
|
|
3554
|
-
return Ze(e, this, r, t.cache.create(), t.serializer);
|
|
3555
|
-
}
|
|
3556
|
-
function Qn(e, t) {
|
|
3557
|
-
return Ze(e, this, rr, t.cache.create(), t.serializer);
|
|
3558
|
-
}
|
|
3559
|
-
function Yn(e, t) {
|
|
3560
|
-
return Ze(e, this, tr, t.cache.create(), t.serializer);
|
|
3561
|
-
}
|
|
3562
|
-
var Jn = function() {
|
|
3563
|
-
return JSON.stringify(arguments);
|
|
3564
|
-
};
|
|
3565
|
-
function Qe() {
|
|
3566
|
-
this.cache = /* @__PURE__ */ Object.create(null);
|
|
3567
|
-
}
|
|
3568
|
-
Qe.prototype.get = function(e) {
|
|
3569
|
-
return this.cache[e];
|
|
3570
|
-
};
|
|
3571
|
-
Qe.prototype.set = function(e, t) {
|
|
3572
|
-
this.cache[e] = t;
|
|
3573
|
-
};
|
|
3574
|
-
var Kn = {
|
|
3575
|
-
create: function() {
|
|
3576
|
-
return new Qe();
|
|
3577
|
-
}
|
|
3578
|
-
}, Ce = {
|
|
3579
|
-
variadic: Qn,
|
|
3580
|
-
monadic: Yn
|
|
3581
|
-
}, X;
|
|
3586
|
+
var X;
|
|
3582
3587
|
(function(e) {
|
|
3583
3588
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3584
3589
|
})(X || (X = {}));
|
|
3585
|
-
var
|
|
3590
|
+
var ye = (
|
|
3586
3591
|
/** @class */
|
|
3587
3592
|
function(e) {
|
|
3588
3593
|
$(t, e);
|
|
@@ -3602,7 +3607,7 @@ var ge = (
|
|
|
3602
3607
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), X.INVALID_VALUE, o) || this;
|
|
3603
3608
|
}
|
|
3604
3609
|
return t;
|
|
3605
|
-
}(
|
|
3610
|
+
}(ye)
|
|
3606
3611
|
), ei = (
|
|
3607
3612
|
/** @class */
|
|
3608
3613
|
function(e) {
|
|
@@ -3611,7 +3616,7 @@ var ge = (
|
|
|
3611
3616
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), X.INVALID_VALUE, i) || this;
|
|
3612
3617
|
}
|
|
3613
3618
|
return t;
|
|
3614
|
-
}(
|
|
3619
|
+
}(ye)
|
|
3615
3620
|
), ti = (
|
|
3616
3621
|
/** @class */
|
|
3617
3622
|
function(e) {
|
|
@@ -3620,7 +3625,7 @@ var ge = (
|
|
|
3620
3625
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), X.MISSING_VALUE, n) || this;
|
|
3621
3626
|
}
|
|
3622
3627
|
return t;
|
|
3623
|
-
}(
|
|
3628
|
+
}(ye)
|
|
3624
3629
|
), T;
|
|
3625
3630
|
(function(e) {
|
|
3626
3631
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
@@ -3651,7 +3656,7 @@ function fe(e, t, r, n, i, o, a) {
|
|
|
3651
3656
|
});
|
|
3652
3657
|
continue;
|
|
3653
3658
|
}
|
|
3654
|
-
if (
|
|
3659
|
+
if (wn(h)) {
|
|
3655
3660
|
typeof o == "number" && s.push({
|
|
3656
3661
|
type: T.literal,
|
|
3657
3662
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3662,14 +3667,14 @@ function fe(e, t, r, n, i, o, a) {
|
|
|
3662
3667
|
if (!(i && f in i))
|
|
3663
3668
|
throw new ti(f, a);
|
|
3664
3669
|
var c = i[f];
|
|
3665
|
-
if (
|
|
3670
|
+
if (Sn(h)) {
|
|
3666
3671
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
|
|
3667
3672
|
type: typeof c == "string" ? T.literal : T.object,
|
|
3668
3673
|
value: c
|
|
3669
3674
|
});
|
|
3670
3675
|
continue;
|
|
3671
3676
|
}
|
|
3672
|
-
if (
|
|
3677
|
+
if (kt(h)) {
|
|
3673
3678
|
var p = typeof h.style == "string" ? n.date[h.style] : De(h.style) ? h.style.parsedOptions : void 0;
|
|
3674
3679
|
s.push({
|
|
3675
3680
|
type: T.literal,
|
|
@@ -3677,7 +3682,7 @@ function fe(e, t, r, n, i, o, a) {
|
|
|
3677
3682
|
});
|
|
3678
3683
|
continue;
|
|
3679
3684
|
}
|
|
3680
|
-
if (
|
|
3685
|
+
if (Vt(h)) {
|
|
3681
3686
|
var p = typeof h.style == "string" ? n.time[h.style] : De(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3682
3687
|
s.push({
|
|
3683
3688
|
type: T.literal,
|
|
@@ -3685,19 +3690,19 @@ function fe(e, t, r, n, i, o, a) {
|
|
|
3685
3690
|
});
|
|
3686
3691
|
continue;
|
|
3687
3692
|
}
|
|
3688
|
-
if (
|
|
3689
|
-
var p = typeof h.style == "string" ? n.number[h.style] :
|
|
3693
|
+
if (jt(h)) {
|
|
3694
|
+
var p = typeof h.style == "string" ? n.number[h.style] : qt(h.style) ? h.style.parsedOptions : void 0;
|
|
3690
3695
|
p && p.scale && (c = c * (p.scale || 1)), s.push({
|
|
3691
3696
|
type: T.literal,
|
|
3692
3697
|
value: r.getNumberFormat(t, p).format(c)
|
|
3693
3698
|
});
|
|
3694
3699
|
continue;
|
|
3695
3700
|
}
|
|
3696
|
-
if (
|
|
3697
|
-
var
|
|
3701
|
+
if (Xt(h)) {
|
|
3702
|
+
var g = h.children, y = h.value, S = i[y];
|
|
3698
3703
|
if (!ni(S))
|
|
3699
|
-
throw new ei(
|
|
3700
|
-
var P = fe(
|
|
3704
|
+
throw new ei(y, "function", a);
|
|
3705
|
+
var P = fe(g, t, r, n, i, o), _ = S(P.map(function(L) {
|
|
3701
3706
|
return L.value;
|
|
3702
3707
|
}));
|
|
3703
3708
|
Array.isArray(_) || (_ = [_]), s.push.apply(s, _.map(function(L) {
|
|
@@ -3707,18 +3712,18 @@ function fe(e, t, r, n, i, o, a) {
|
|
|
3707
3712
|
};
|
|
3708
3713
|
}));
|
|
3709
3714
|
}
|
|
3710
|
-
if (
|
|
3715
|
+
if (zt(h)) {
|
|
3711
3716
|
var x = h.options[c] || h.options.other;
|
|
3712
3717
|
if (!x)
|
|
3713
3718
|
throw new xt(h.value, c, Object.keys(h.options), a);
|
|
3714
3719
|
s.push.apply(s, fe(x.value, t, r, n, i));
|
|
3715
3720
|
continue;
|
|
3716
3721
|
}
|
|
3717
|
-
if (
|
|
3722
|
+
if (Wt(h)) {
|
|
3718
3723
|
var x = h.options["=".concat(c)];
|
|
3719
3724
|
if (!x) {
|
|
3720
3725
|
if (!Intl.PluralRules)
|
|
3721
|
-
throw new
|
|
3726
|
+
throw new ye(`Intl.PluralRules is not available in this environment.
|
|
3722
3727
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3723
3728
|
`, X.MISSING_INTL_API, a);
|
|
3724
3729
|
var w = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
|
|
@@ -3742,7 +3747,7 @@ function oi(e, t) {
|
|
|
3742
3747
|
return r[n] = ii(e[n], t[n]), r;
|
|
3743
3748
|
}, v({}, e)) : e;
|
|
3744
3749
|
}
|
|
3745
|
-
function
|
|
3750
|
+
function Ce(e) {
|
|
3746
3751
|
return {
|
|
3747
3752
|
create: function() {
|
|
3748
3753
|
return {
|
|
@@ -3762,29 +3767,29 @@ function ai(e) {
|
|
|
3762
3767
|
dateTime: {},
|
|
3763
3768
|
pluralRules: {}
|
|
3764
3769
|
}), {
|
|
3765
|
-
getNumberFormat:
|
|
3770
|
+
getNumberFormat: Pe(function() {
|
|
3766
3771
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3767
3772
|
r[n] = arguments[n];
|
|
3768
3773
|
return new ((t = Intl.NumberFormat).bind.apply(t, V([void 0], r, !1)))();
|
|
3769
3774
|
}, {
|
|
3770
|
-
cache:
|
|
3771
|
-
strategy:
|
|
3775
|
+
cache: Ce(e.number),
|
|
3776
|
+
strategy: He.variadic
|
|
3772
3777
|
}),
|
|
3773
|
-
getDateTimeFormat:
|
|
3778
|
+
getDateTimeFormat: Pe(function() {
|
|
3774
3779
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3775
3780
|
r[n] = arguments[n];
|
|
3776
3781
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, V([void 0], r, !1)))();
|
|
3777
3782
|
}, {
|
|
3778
|
-
cache:
|
|
3779
|
-
strategy:
|
|
3783
|
+
cache: Ce(e.dateTime),
|
|
3784
|
+
strategy: He.variadic
|
|
3780
3785
|
}),
|
|
3781
|
-
getPluralRules:
|
|
3786
|
+
getPluralRules: Pe(function() {
|
|
3782
3787
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3783
3788
|
r[n] = arguments[n];
|
|
3784
3789
|
return new ((t = Intl.PluralRules).bind.apply(t, V([void 0], r, !1)))();
|
|
3785
3790
|
}, {
|
|
3786
|
-
cache:
|
|
3787
|
-
strategy:
|
|
3791
|
+
cache: Ce(e.pluralRules),
|
|
3792
|
+
strategy: He.variadic
|
|
3788
3793
|
})
|
|
3789
3794
|
};
|
|
3790
3795
|
}
|
|
@@ -3792,8 +3797,9 @@ var si = (
|
|
|
3792
3797
|
/** @class */
|
|
3793
3798
|
function() {
|
|
3794
3799
|
function e(t, r, n, i) {
|
|
3800
|
+
r === void 0 && (r = e.defaultLocale);
|
|
3795
3801
|
var o = this;
|
|
3796
|
-
if (
|
|
3802
|
+
if (this.formatterCache = {
|
|
3797
3803
|
number: {},
|
|
3798
3804
|
dateTime: {},
|
|
3799
3805
|
pluralRules: {}
|
|
@@ -3819,7 +3825,7 @@ var si = (
|
|
|
3819
3825
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3820
3826
|
var a = i || {};
|
|
3821
3827
|
a.formatters;
|
|
3822
|
-
var s =
|
|
3828
|
+
var s = Dr(a, ["formatters"]);
|
|
3823
3829
|
this.ast = e.__parse(t, v(v({}, s), { locale: this.resolvedLocale }));
|
|
3824
3830
|
} else
|
|
3825
3831
|
this.ast = t;
|
|
@@ -3838,7 +3844,7 @@ var si = (
|
|
|
3838
3844
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3839
3845
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3840
3846
|
}
|
|
3841
|
-
}, e.__parse =
|
|
3847
|
+
}, e.__parse = Kn, e.formats = {
|
|
3842
3848
|
number: {
|
|
3843
3849
|
integer: {
|
|
3844
3850
|
maximumFractionDigits: 0
|
|
@@ -3920,12 +3926,12 @@ function ui(e, t) {
|
|
|
3920
3926
|
n = void 0;
|
|
3921
3927
|
return n;
|
|
3922
3928
|
}
|
|
3923
|
-
const R = {}, li = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r),
|
|
3929
|
+
const R = {}, li = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), rr = (e, t) => {
|
|
3924
3930
|
if (t == null)
|
|
3925
3931
|
return;
|
|
3926
3932
|
if (t in R && e in R[t])
|
|
3927
3933
|
return R[t][e];
|
|
3928
|
-
const r =
|
|
3934
|
+
const r = ge(t);
|
|
3929
3935
|
for (let n = 0; n < r.length; n++) {
|
|
3930
3936
|
const i = r[n], o = ci(i, e);
|
|
3931
3937
|
if (o)
|
|
@@ -3937,11 +3943,11 @@ const se = ve({});
|
|
|
3937
3943
|
function hi(e) {
|
|
3938
3944
|
return Ye[e] || null;
|
|
3939
3945
|
}
|
|
3940
|
-
function
|
|
3946
|
+
function nr(e) {
|
|
3941
3947
|
return e in Ye;
|
|
3942
3948
|
}
|
|
3943
3949
|
function ci(e, t) {
|
|
3944
|
-
if (!
|
|
3950
|
+
if (!nr(e))
|
|
3945
3951
|
return null;
|
|
3946
3952
|
const r = hi(e);
|
|
3947
3953
|
return ui(r, t);
|
|
@@ -3949,14 +3955,14 @@ function ci(e, t) {
|
|
|
3949
3955
|
function fi(e) {
|
|
3950
3956
|
if (e == null)
|
|
3951
3957
|
return;
|
|
3952
|
-
const t =
|
|
3958
|
+
const t = ge(e);
|
|
3953
3959
|
for (let r = 0; r < t.length; r++) {
|
|
3954
3960
|
const n = t[r];
|
|
3955
|
-
if (
|
|
3961
|
+
if (nr(n))
|
|
3956
3962
|
return n;
|
|
3957
3963
|
}
|
|
3958
3964
|
}
|
|
3959
|
-
function
|
|
3965
|
+
function ir(e, ...t) {
|
|
3960
3966
|
delete R[e], se.update((r) => (r[e] = vn.all([r[e] || {}, ...t]), r));
|
|
3961
3967
|
}
|
|
3962
3968
|
Q(
|
|
@@ -3968,30 +3974,30 @@ const pe = {};
|
|
|
3968
3974
|
function pi(e, t) {
|
|
3969
3975
|
pe[e].delete(t), pe[e].size === 0 && delete pe[e];
|
|
3970
3976
|
}
|
|
3971
|
-
function
|
|
3977
|
+
function or(e) {
|
|
3972
3978
|
return pe[e];
|
|
3973
3979
|
}
|
|
3974
3980
|
function di(e) {
|
|
3975
|
-
return
|
|
3976
|
-
const r =
|
|
3981
|
+
return ge(e).map((t) => {
|
|
3982
|
+
const r = or(t);
|
|
3977
3983
|
return [t, r ? [...r] : []];
|
|
3978
3984
|
}).filter(([, t]) => t.length > 0);
|
|
3979
3985
|
}
|
|
3980
3986
|
function ze(e) {
|
|
3981
|
-
return e == null ? !1 :
|
|
3987
|
+
return e == null ? !1 : ge(e).some(
|
|
3982
3988
|
(t) => {
|
|
3983
3989
|
var r;
|
|
3984
|
-
return (r =
|
|
3990
|
+
return (r = or(t)) == null ? void 0 : r.size;
|
|
3985
3991
|
}
|
|
3986
3992
|
);
|
|
3987
3993
|
}
|
|
3988
3994
|
function mi(e, t) {
|
|
3989
3995
|
return Promise.all(
|
|
3990
3996
|
t.map((n) => (pi(e, n), n().then((i) => i.default || i)))
|
|
3991
|
-
).then((n) =>
|
|
3997
|
+
).then((n) => ir(e, ...n));
|
|
3992
3998
|
}
|
|
3993
3999
|
const K = {};
|
|
3994
|
-
function
|
|
4000
|
+
function ar(e) {
|
|
3995
4001
|
if (!ze(e))
|
|
3996
4002
|
return e in K ? K[e] : Promise.resolve();
|
|
3997
4003
|
const t = di(e);
|
|
@@ -4001,7 +4007,7 @@ function sr(e) {
|
|
|
4001
4007
|
)
|
|
4002
4008
|
).then(() => {
|
|
4003
4009
|
if (ze(e))
|
|
4004
|
-
return
|
|
4010
|
+
return ar(e);
|
|
4005
4011
|
delete K[e];
|
|
4006
4012
|
}), K[e];
|
|
4007
4013
|
}
|
|
@@ -4041,12 +4047,12 @@ const bi = {
|
|
|
4041
4047
|
warnOnMissingMessages: !0,
|
|
4042
4048
|
handleMissingMessage: void 0,
|
|
4043
4049
|
ignoreTag: !0
|
|
4044
|
-
},
|
|
4050
|
+
}, yi = vi;
|
|
4045
4051
|
function q() {
|
|
4046
|
-
return
|
|
4052
|
+
return yi;
|
|
4047
4053
|
}
|
|
4048
4054
|
const Be = ve(!1);
|
|
4049
|
-
var
|
|
4055
|
+
var gi = Object.defineProperty, xi = Object.defineProperties, Ei = Object.getOwnPropertyDescriptors, Et = Object.getOwnPropertySymbols, _i = Object.prototype.hasOwnProperty, Ti = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Si = (e, t) => {
|
|
4050
4056
|
for (var r in t || (t = {}))
|
|
4051
4057
|
_i.call(t, r) && _t(e, r, t[r]);
|
|
4052
4058
|
if (Et)
|
|
@@ -4059,7 +4065,7 @@ const de = ve(null);
|
|
|
4059
4065
|
function Tt(e) {
|
|
4060
4066
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4061
4067
|
}
|
|
4062
|
-
function
|
|
4068
|
+
function ge(e, t = q().fallbackLocale) {
|
|
4063
4069
|
const r = Tt(e);
|
|
4064
4070
|
return t ? [.../* @__PURE__ */ new Set([...r, ...Tt(t)])] : r;
|
|
4065
4071
|
}
|
|
@@ -4076,7 +4082,7 @@ const Pi = (e) => {
|
|
|
4076
4082
|
return typeof window != "undefined" && U() != null && t ? r = window.setTimeout(
|
|
4077
4083
|
() => Be.set(!0),
|
|
4078
4084
|
t
|
|
4079
|
-
) : Be.set(!0),
|
|
4085
|
+
) : Be.set(!0), ar(e).then(() => {
|
|
4080
4086
|
de.set(e);
|
|
4081
4087
|
}).finally(() => {
|
|
4082
4088
|
clearTimeout(r), Be.set(!1);
|
|
@@ -4092,20 +4098,20 @@ const Pi = (e) => {
|
|
|
4092
4098
|
return i in t ? t[i] : t[i] = e(n);
|
|
4093
4099
|
};
|
|
4094
4100
|
};
|
|
4095
|
-
var Hi = Object.defineProperty, me = Object.getOwnPropertySymbols,
|
|
4101
|
+
var Hi = Object.defineProperty, me = Object.getOwnPropertySymbols, sr = Object.prototype.hasOwnProperty, ur = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
|
|
4096
4102
|
for (var r in t || (t = {}))
|
|
4097
|
-
|
|
4103
|
+
sr.call(t, r) && St(e, r, t[r]);
|
|
4098
4104
|
if (me)
|
|
4099
4105
|
for (var r of me(t))
|
|
4100
|
-
|
|
4106
|
+
ur.call(t, r) && St(e, r, t[r]);
|
|
4101
4107
|
return e;
|
|
4102
4108
|
}, J = (e, t) => {
|
|
4103
4109
|
var r = {};
|
|
4104
4110
|
for (var n in e)
|
|
4105
|
-
|
|
4111
|
+
sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4106
4112
|
if (e != null && me)
|
|
4107
4113
|
for (var n of me(e))
|
|
4108
|
-
t.indexOf(n) < 0 &&
|
|
4114
|
+
t.indexOf(n) < 0 && ur.call(e, n) && (r[n] = e[n]);
|
|
4109
4115
|
return r;
|
|
4110
4116
|
};
|
|
4111
4117
|
const ne = (e, t) => {
|
|
@@ -4113,14 +4119,14 @@ const ne = (e, t) => {
|
|
|
4113
4119
|
if (e in r && t in r[e])
|
|
4114
4120
|
return r[e][t];
|
|
4115
4121
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4116
|
-
},
|
|
4122
|
+
}, Ii = xe(
|
|
4117
4123
|
(e) => {
|
|
4118
4124
|
var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
|
|
4119
4125
|
if (r == null)
|
|
4120
4126
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4121
4127
|
return n && (i = ne("number", n)), new Intl.NumberFormat(r, i);
|
|
4122
4128
|
}
|
|
4123
|
-
),
|
|
4129
|
+
), Ci = xe(
|
|
4124
4130
|
(e) => {
|
|
4125
4131
|
var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
|
|
4126
4132
|
if (r == null)
|
|
@@ -4142,14 +4148,14 @@ const ne = (e, t) => {
|
|
|
4142
4148
|
} = t, n = J(t, [
|
|
4143
4149
|
"locale"
|
|
4144
4150
|
]);
|
|
4145
|
-
return
|
|
4151
|
+
return Ii(Je({ locale: r }, n));
|
|
4146
4152
|
}, Oi = (e = {}) => {
|
|
4147
4153
|
var t = e, {
|
|
4148
4154
|
locale: r = U()
|
|
4149
4155
|
} = t, n = J(t, [
|
|
4150
4156
|
"locale"
|
|
4151
4157
|
]);
|
|
4152
|
-
return
|
|
4158
|
+
return Ci(Je({ locale: r }, n));
|
|
4153
4159
|
}, Li = (e = {}) => {
|
|
4154
4160
|
var t = e, {
|
|
4155
4161
|
locale: r = U()
|
|
@@ -4175,7 +4181,7 @@ const ne = (e, t) => {
|
|
|
4175
4181
|
throw new Error(
|
|
4176
4182
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4177
4183
|
);
|
|
4178
|
-
let h =
|
|
4184
|
+
let h = rr(e, l);
|
|
4179
4185
|
if (!h)
|
|
4180
4186
|
h = (o = (i = (n = (r = q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4181
4187
|
else if (typeof h != "string")
|
|
@@ -4194,7 +4200,7 @@ const ne = (e, t) => {
|
|
|
4194
4200
|
);
|
|
4195
4201
|
}
|
|
4196
4202
|
return f;
|
|
4197
|
-
}, $i = (e, t) => Li(t).format(e), Ri = (e, t) => Oi(t).format(e), Ui = (e, t) => Ai(t).format(e), Di = (e, t = U()) =>
|
|
4203
|
+
}, $i = (e, t) => Li(t).format(e), Ri = (e, t) => Oi(t).format(e), Ui = (e, t) => Ai(t).format(e), Di = (e, t = U()) => rr(e, t), Gi = Q([Y, se], () => Ni);
|
|
4198
4204
|
Q([Y], () => $i);
|
|
4199
4205
|
Q([Y], () => Ri);
|
|
4200
4206
|
Q([Y], () => Ui);
|
|
@@ -4202,7 +4208,7 @@ Q([Y, se], () => Di);
|
|
|
4202
4208
|
window.emWidgets = { topic: Kr };
|
|
4203
4209
|
const Fi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4204
4210
|
function wt(e, t) {
|
|
4205
|
-
|
|
4211
|
+
ir(e, t);
|
|
4206
4212
|
}
|
|
4207
4213
|
function ji(e) {
|
|
4208
4214
|
Y.set(e);
|
|
@@ -4265,13 +4271,13 @@ const Pt = {
|
|
|
4265
4271
|
}
|
|
4266
4272
|
};
|
|
4267
4273
|
function ki(e) {
|
|
4268
|
-
|
|
4274
|
+
br(e, "svelte-11p58yq", '.InfoCardPopupMobileModal:after{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0, 0, 0, 0.5);z-index:101;content:""}.InfoCardPopupLimitChanged{background:var(--emw--color-gray-50, #F9F8F8)}.InfoCardPopupWrapper{width:200px;padding:20px;color:var(--emw--color-black, #000000);background:var(--emw--color-white, #FFFFFF);box-shadow:0 4px 12px var(--emw--color-gray-100, #E6E6E6);border-radius:5px;display:block;position:absolute;top:32px;left:-84px;z-index:9}.InfoCardPopupWrapper:before{content:"";position:absolute;top:-7px;left:104px;border-style:solid;border-width:0 7px 7px;border-color:var(--emw--color-white, #FFFFFF) transparent;display:block;width:0;z-index:1}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper{width:70%;position:fixed;top:50%;left:50%;transform:translate(-50%, -50%);z-index:300}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupTitle{font-size:18px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupCloseButton{width:30px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupContent{font-size:16px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper:before{content:none}.InfoCardPopupHeader{display:inline-flex}.InfoCardPopupHeader .InfoCardPopupTitle{line-height:24px;font-size:16px;font-weight:400;padding-left:10px}.InfoCardPopupIcon{display:flex;font-size:24px;width:24px;height:24px;background:transparent;border:1px solid var(--emw--color-black, #000000);align-items:center;justify-content:center;border-radius:30px}.InfoCardPopupContent{font-size:14px;font-weight:300}.InfoCardPopupCloseButton{width:20px;position:absolute;right:10px;top:10px;cursor:pointer;transition-duration:0.3s}.InfoCardPopupCloseButton:hover{color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));fill:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:32px;right:32px;padding:16px;border-radius:50%;color:var(--emw--color-white, #FFFFFF);cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:32px;height:32px;fill:var(--emw--color-black, #000000)}');
|
|
4269
4275
|
}
|
|
4270
4276
|
function Ht(e) {
|
|
4271
4277
|
let t, r, n, i, o, a, s = (
|
|
4272
4278
|
/*$_*/
|
|
4273
4279
|
e[4]("name") + ""
|
|
4274
|
-
), l, u, h, f, c, p,
|
|
4280
|
+
), l, u, h, f, c, p, g, y;
|
|
4275
4281
|
function S(x, w) {
|
|
4276
4282
|
return (
|
|
4277
4283
|
/*iteminfoamount*/
|
|
@@ -4291,10 +4297,10 @@ function Ht(e) {
|
|
|
4291
4297
|
);
|
|
4292
4298
|
},
|
|
4293
4299
|
m(x, w) {
|
|
4294
|
-
oe(x, t, w), H(t, r), H(r, n), H(n, i), H(n, o), H(n, a), H(a, l), H(n, u), H(n, h), H(r, f), H(r, c), _.m(c, null), e[12](t),
|
|
4300
|
+
oe(x, t, w), H(t, r), H(r, n), H(n, i), H(n, o), H(n, a), H(a, l), H(n, u), H(n, h), H(r, f), H(r, c), _.m(c, null), e[12](t), g || (y = xr(h, "click", Er(
|
|
4295
4301
|
/*closeInfoPopup*/
|
|
4296
4302
|
e[6]
|
|
4297
|
-
)),
|
|
4303
|
+
)), g = !0);
|
|
4298
4304
|
},
|
|
4299
4305
|
p(x, w) {
|
|
4300
4306
|
w & /*$_*/
|
|
@@ -4305,7 +4311,7 @@ function Ht(e) {
|
|
|
4305
4311
|
(x[0] ? "InfoCardPopupLimitChanged" : "")) && B(r, "class", p);
|
|
4306
4312
|
},
|
|
4307
4313
|
d(x) {
|
|
4308
|
-
x && Z(t), _.d(), e[12](null),
|
|
4314
|
+
x && Z(t), _.d(), e[12](null), g = !1, y();
|
|
4309
4315
|
}
|
|
4310
4316
|
};
|
|
4311
4317
|
}
|
|
@@ -4382,7 +4388,7 @@ function Wi(e) {
|
|
|
4382
4388
|
);
|
|
4383
4389
|
return {
|
|
4384
4390
|
c() {
|
|
4385
|
-
r && r.c(), t =
|
|
4391
|
+
r && r.c(), t = gr();
|
|
4386
4392
|
},
|
|
4387
4393
|
m(n, i) {
|
|
4388
4394
|
r && r.m(n, i), oe(n, t, i);
|
|
@@ -4400,21 +4406,21 @@ function Wi(e) {
|
|
|
4400
4406
|
}
|
|
4401
4407
|
function Xi(e, t, r) {
|
|
4402
4408
|
let n;
|
|
4403
|
-
|
|
4409
|
+
mr(e, Gi, (d) => r(4, n = d));
|
|
4404
4410
|
let { showpopup: i = "" } = t, { iteminfoamount: o = "" } = t, { lang: a = "en" } = t, { playercurrency: s = "USD" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: h = "" } = t;
|
|
4405
4411
|
const f = () => {
|
|
4406
|
-
fetch(h).then((
|
|
4407
|
-
Object.keys(
|
|
4408
|
-
wt(D,
|
|
4412
|
+
fetch(h).then((I) => I.json()).then((I) => {
|
|
4413
|
+
Object.keys(I).forEach((D) => {
|
|
4414
|
+
wt(D, I[D]);
|
|
4409
4415
|
});
|
|
4410
|
-
}).catch((
|
|
4411
|
-
console.log(
|
|
4416
|
+
}).catch((I) => {
|
|
4417
|
+
console.log(I);
|
|
4412
4418
|
});
|
|
4413
4419
|
};
|
|
4414
4420
|
Object.keys(Pt).forEach((d) => {
|
|
4415
4421
|
wt(d, Pt[d]);
|
|
4416
4422
|
});
|
|
4417
|
-
let c = !1, p,
|
|
4423
|
+
let c = !1, p, g = window.navigator.userAgent, y = Fi(g) !== "PC";
|
|
4418
4424
|
const S = () => {
|
|
4419
4425
|
r(3, c = !1), window.postMessage(
|
|
4420
4426
|
{
|
|
@@ -4430,17 +4436,17 @@ function Xi(e, t, r) {
|
|
|
4430
4436
|
let d = document.createElement("style");
|
|
4431
4437
|
d.innerHTML = l, p.appendChild(d);
|
|
4432
4438
|
}, w = () => {
|
|
4433
|
-
let d = new URL(u),
|
|
4439
|
+
let d = new URL(u), I = document.createElement("style");
|
|
4434
4440
|
fetch(d.href).then((D) => D.text()).then((D) => {
|
|
4435
|
-
|
|
4441
|
+
I.innerHTML = D, setTimeout(
|
|
4436
4442
|
() => {
|
|
4437
|
-
p.appendChild(
|
|
4443
|
+
p.appendChild(I);
|
|
4438
4444
|
},
|
|
4439
4445
|
1
|
|
4440
4446
|
);
|
|
4441
4447
|
});
|
|
4442
4448
|
};
|
|
4443
|
-
|
|
4449
|
+
wr(() => (window.addEventListener("message", P, !1), () => {
|
|
4444
4450
|
window.removeEventListener("message", P);
|
|
4445
4451
|
}));
|
|
4446
4452
|
function L(d) {
|
|
@@ -4462,7 +4468,7 @@ function Xi(e, t, r) {
|
|
|
4462
4468
|
p,
|
|
4463
4469
|
c,
|
|
4464
4470
|
n,
|
|
4465
|
-
|
|
4471
|
+
y,
|
|
4466
4472
|
S,
|
|
4467
4473
|
i,
|
|
4468
4474
|
a,
|
|
@@ -4472,14 +4478,14 @@ function Xi(e, t, r) {
|
|
|
4472
4478
|
L
|
|
4473
4479
|
];
|
|
4474
4480
|
}
|
|
4475
|
-
class qi extends
|
|
4481
|
+
class qi extends Rr {
|
|
4476
4482
|
constructor(t) {
|
|
4477
|
-
super(),
|
|
4483
|
+
super(), Nr(
|
|
4478
4484
|
this,
|
|
4479
4485
|
t,
|
|
4480
4486
|
Xi,
|
|
4481
4487
|
Wi,
|
|
4482
|
-
|
|
4488
|
+
Ct,
|
|
4483
4489
|
{
|
|
4484
4490
|
showpopup: 7,
|
|
4485
4491
|
iteminfoamount: 0,
|
|
@@ -4535,7 +4541,7 @@ class qi extends Ur {
|
|
|
4535
4541
|
this.$$set({ translationurl: t }), M();
|
|
4536
4542
|
}
|
|
4537
4543
|
}
|
|
4538
|
-
|
|
4544
|
+
$r(qi, { showpopup: {}, iteminfoamount: {}, lang: {}, playercurrency: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
4539
4545
|
export {
|
|
4540
4546
|
qi as default
|
|
4541
4547
|
};
|