@everymatrix/player-account-gaming-limits-popup 1.45.0 → 1.45.2
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-wY9vu_sr.js → PlayerAccountGamingLimitsPopup-O94LrhJ_.js} +387 -388
- package/components/{PlayerAccountGamingLimitsPopup-Cu1cUWiF.cjs → PlayerAccountGamingLimitsPopup-V77rFs2c.cjs} +3 -3
- package/es2015/player-account-gaming-limits-popup.cjs +1 -1
- package/es2015/player-account-gaming-limits-popup.js +1 -1
- package/package.json +2 -2
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
var hr = Object.defineProperty, cr = Object.defineProperties;
|
|
2
2
|
var fr = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var Ke = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
4
|
+
var pr = Object.prototype.hasOwnProperty, dr = Object.prototype.propertyIsEnumerable;
|
|
5
5
|
var Ee = (e, t, r) => t in e ? hr(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
|
+
pr.call(t, r) && Ee(e, r, t[r]);
|
|
8
8
|
if (Ke)
|
|
9
9
|
for (var r of Ke(t))
|
|
10
|
-
|
|
10
|
+
dr.call(t, r) && Ee(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
12
|
}, tt = (e, t) => cr(e, fr(t));
|
|
13
|
-
var
|
|
13
|
+
var I = (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,19 +29,19 @@ var rt = (e, t, r) => new Promise((n, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
function O() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function Ct(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(Ct);
|
|
40
40
|
}
|
|
41
41
|
function Xe(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function It(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
47
|
function mr(e) {
|
|
@@ -59,17 +59,14 @@ function Bt(e, ...t) {
|
|
|
59
59
|
function br(e, t, r) {
|
|
60
60
|
e.$$.on_destroy.push(Bt(t, r));
|
|
61
61
|
}
|
|
62
|
-
function vr(e) {
|
|
63
|
-
return e == null ? "" : e;
|
|
64
|
-
}
|
|
65
62
|
function H(e, t) {
|
|
66
63
|
e.appendChild(t);
|
|
67
64
|
}
|
|
68
|
-
function
|
|
65
|
+
function vr(e, t, r) {
|
|
69
66
|
const n = gr(e);
|
|
70
67
|
if (!n.getElementById(t)) {
|
|
71
68
|
const i = A("style");
|
|
72
|
-
i.id = t, i.textContent = r,
|
|
69
|
+
i.id = t, i.textContent = r, yr(n, i);
|
|
73
70
|
}
|
|
74
71
|
}
|
|
75
72
|
function gr(e) {
|
|
@@ -81,7 +78,7 @@ function gr(e) {
|
|
|
81
78
|
t
|
|
82
79
|
) : e.ownerDocument;
|
|
83
80
|
}
|
|
84
|
-
function
|
|
81
|
+
function yr(e, t) {
|
|
85
82
|
return H(
|
|
86
83
|
/** @type {Document} */
|
|
87
84
|
e.head || e,
|
|
@@ -103,13 +100,13 @@ function ae(e) {
|
|
|
103
100
|
function _e() {
|
|
104
101
|
return ae(" ");
|
|
105
102
|
}
|
|
106
|
-
function
|
|
103
|
+
function xr() {
|
|
107
104
|
return ae("");
|
|
108
105
|
}
|
|
109
|
-
function
|
|
106
|
+
function Er(e, t, r, n) {
|
|
110
107
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
111
108
|
}
|
|
112
|
-
function
|
|
109
|
+
function _r(e) {
|
|
113
110
|
return function(t) {
|
|
114
111
|
return t.preventDefault(), e.call(this, t);
|
|
115
112
|
};
|
|
@@ -117,14 +114,14 @@ function Tr(e) {
|
|
|
117
114
|
function B(e, t, r) {
|
|
118
115
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
119
116
|
}
|
|
120
|
-
function
|
|
117
|
+
function Tr(e) {
|
|
121
118
|
return Array.from(e.childNodes);
|
|
122
119
|
}
|
|
123
120
|
function qe(e, t) {
|
|
124
121
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
125
122
|
t);
|
|
126
123
|
}
|
|
127
|
-
function
|
|
124
|
+
function Sr(e) {
|
|
128
125
|
const t = {};
|
|
129
126
|
return e.childNodes.forEach(
|
|
130
127
|
/** @param {Element} node */
|
|
@@ -141,15 +138,15 @@ function wr() {
|
|
|
141
138
|
if (!te) throw new Error("Function called outside component initialization");
|
|
142
139
|
return te;
|
|
143
140
|
}
|
|
144
|
-
function
|
|
141
|
+
function Pr(e) {
|
|
145
142
|
wr().$$.on_mount.push(e);
|
|
146
143
|
}
|
|
147
144
|
const j = [], Ae = [];
|
|
148
145
|
let k = [];
|
|
149
|
-
const it = [],
|
|
146
|
+
const it = [], Hr = /* @__PURE__ */ Promise.resolve();
|
|
150
147
|
let Oe = !1;
|
|
151
148
|
function Cr() {
|
|
152
|
-
Oe || (Oe = !0,
|
|
149
|
+
Oe || (Oe = !0, Hr.then(M));
|
|
153
150
|
}
|
|
154
151
|
function Le(e) {
|
|
155
152
|
k.push(e);
|
|
@@ -164,7 +161,7 @@ function M() {
|
|
|
164
161
|
try {
|
|
165
162
|
for (; G < j.length; ) {
|
|
166
163
|
const t = j[G];
|
|
167
|
-
G++, ee(t),
|
|
164
|
+
G++, ee(t), Ir(t.$$);
|
|
168
165
|
}
|
|
169
166
|
} catch (t) {
|
|
170
167
|
throw j.length = 0, G = 0, t;
|
|
@@ -180,36 +177,36 @@ function M() {
|
|
|
180
177
|
it.pop()();
|
|
181
178
|
Oe = !1, Te.clear(), ee(e);
|
|
182
179
|
}
|
|
183
|
-
function
|
|
180
|
+
function Ir(e) {
|
|
184
181
|
if (e.fragment !== null) {
|
|
185
182
|
e.update(), ie(e.before_update);
|
|
186
183
|
const t = e.dirty;
|
|
187
184
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Le);
|
|
188
185
|
}
|
|
189
186
|
}
|
|
190
|
-
function
|
|
187
|
+
function Br(e) {
|
|
191
188
|
const t = [], r = [];
|
|
192
189
|
k.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), k = t;
|
|
193
190
|
}
|
|
194
|
-
const
|
|
195
|
-
function
|
|
196
|
-
e && e.i && (
|
|
191
|
+
const Ar = /* @__PURE__ */ new Set();
|
|
192
|
+
function Or(e, t) {
|
|
193
|
+
e && e.i && (Ar.delete(e), e.i(t));
|
|
197
194
|
}
|
|
198
|
-
function
|
|
195
|
+
function Lr(e, t, r) {
|
|
199
196
|
const { fragment: n, after_update: i } = e.$$;
|
|
200
197
|
n && n.m(t, r), Le(() => {
|
|
201
|
-
const o = e.$$.on_mount.map(
|
|
198
|
+
const o = e.$$.on_mount.map(Ct).filter(Xe);
|
|
202
199
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ie(o), e.$$.on_mount = [];
|
|
203
200
|
}), i.forEach(Le);
|
|
204
201
|
}
|
|
205
|
-
function
|
|
202
|
+
function Mr(e, t) {
|
|
206
203
|
const r = e.$$;
|
|
207
|
-
r.fragment !== null && (
|
|
204
|
+
r.fragment !== null && (Br(r.after_update), ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
208
205
|
}
|
|
209
|
-
function
|
|
206
|
+
function Nr(e, t) {
|
|
210
207
|
e.$$.dirty[0] === -1 && (j.push(e), Cr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
211
208
|
}
|
|
212
|
-
function
|
|
209
|
+
function $r(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
213
210
|
const l = te;
|
|
214
211
|
ee(e);
|
|
215
212
|
const u = e.$$ = {
|
|
@@ -235,16 +232,16 @@ function Rr(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
235
232
|
};
|
|
236
233
|
a && a(u.root);
|
|
237
234
|
let h = !1;
|
|
238
|
-
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...
|
|
239
|
-
const
|
|
240
|
-
return u.ctx && i(u.ctx[f], u.ctx[f] =
|
|
235
|
+
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
|
|
236
|
+
const y = p.length ? p[0] : c;
|
|
237
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = y) && (!u.skip_bound && u.bound[f] && u.bound[f](y), h && Nr(e, f)), c;
|
|
241
238
|
}) : [], u.update(), h = !0, ie(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
242
239
|
if (t.hydrate) {
|
|
243
|
-
const f =
|
|
240
|
+
const f = Tr(t.target);
|
|
244
241
|
u.fragment && u.fragment.l(f), f.forEach(Z);
|
|
245
242
|
} else
|
|
246
243
|
u.fragment && u.fragment.c();
|
|
247
|
-
t.intro &&
|
|
244
|
+
t.intro && Or(e.$$.fragment), Lr(e, t.target, t.anchor), M();
|
|
248
245
|
}
|
|
249
246
|
ee(l);
|
|
250
247
|
}
|
|
@@ -253,23 +250,23 @@ typeof HTMLElement == "function" && (At = class extends HTMLElement {
|
|
|
253
250
|
constructor(t, r, n) {
|
|
254
251
|
super();
|
|
255
252
|
/** The Svelte component constructor */
|
|
256
|
-
|
|
253
|
+
I(this, "$$ctor");
|
|
257
254
|
/** Slots */
|
|
258
|
-
|
|
255
|
+
I(this, "$$s");
|
|
259
256
|
/** The Svelte component instance */
|
|
260
|
-
|
|
257
|
+
I(this, "$$c");
|
|
261
258
|
/** Whether or not the custom element is connected */
|
|
262
|
-
|
|
259
|
+
I(this, "$$cn", !1);
|
|
263
260
|
/** Component props data */
|
|
264
|
-
|
|
261
|
+
I(this, "$$d", {});
|
|
265
262
|
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
266
|
-
|
|
263
|
+
I(this, "$$r", !1);
|
|
267
264
|
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
268
|
-
|
|
265
|
+
I(this, "$$p_d", {});
|
|
269
266
|
/** @type {Record<string, Function[]>} Event listeners */
|
|
270
|
-
|
|
267
|
+
I(this, "$$l", {});
|
|
271
268
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
272
|
-
|
|
269
|
+
I(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
273
270
|
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
|
274
271
|
}
|
|
275
272
|
addEventListener(t, r, n) {
|
|
@@ -310,7 +307,7 @@ typeof HTMLElement == "function" && (At = class extends HTMLElement {
|
|
|
310
307
|
};
|
|
311
308
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
312
309
|
return;
|
|
313
|
-
const r = {}, n =
|
|
310
|
+
const r = {}, n = Sr(this);
|
|
314
311
|
for (const o of this.$$s)
|
|
315
312
|
o in n && (r[o] = [t(o)]);
|
|
316
313
|
for (const o of this.attributes) {
|
|
@@ -399,7 +396,7 @@ function he(e, t, r, n) {
|
|
|
399
396
|
return t;
|
|
400
397
|
}
|
|
401
398
|
}
|
|
402
|
-
function
|
|
399
|
+
function Rr(e, t, r, n, i, o) {
|
|
403
400
|
let a = class extends At {
|
|
404
401
|
constructor() {
|
|
405
402
|
super(e, r, i), this.$$p_d = t;
|
|
@@ -430,7 +427,7 @@ function Ur(e, t, r, n, i, o) {
|
|
|
430
427
|
}), e.element = /** @type {any} */
|
|
431
428
|
a, a;
|
|
432
429
|
}
|
|
433
|
-
class
|
|
430
|
+
class Ur {
|
|
434
431
|
constructor() {
|
|
435
432
|
/**
|
|
436
433
|
* ### PRIVATE API
|
|
@@ -439,7 +436,7 @@ class Dr {
|
|
|
439
436
|
*
|
|
440
437
|
* @type {any}
|
|
441
438
|
*/
|
|
442
|
-
|
|
439
|
+
I(this, "$$");
|
|
443
440
|
/**
|
|
444
441
|
* ### PRIVATE API
|
|
445
442
|
*
|
|
@@ -447,11 +444,11 @@ class Dr {
|
|
|
447
444
|
*
|
|
448
445
|
* @type {any}
|
|
449
446
|
*/
|
|
450
|
-
|
|
447
|
+
I(this, "$$set");
|
|
451
448
|
}
|
|
452
449
|
/** @returns {void} */
|
|
453
450
|
$destroy() {
|
|
454
|
-
|
|
451
|
+
Mr(this, 1), this.$destroy = O;
|
|
455
452
|
}
|
|
456
453
|
/**
|
|
457
454
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -476,8 +473,8 @@ class Dr {
|
|
|
476
473
|
this.$$set && !mr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
477
474
|
}
|
|
478
475
|
}
|
|
479
|
-
const
|
|
480
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
476
|
+
const Dr = "4";
|
|
477
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Dr);
|
|
481
478
|
var Me = function(e, t) {
|
|
482
479
|
return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
483
480
|
r.__proto__ = n;
|
|
@@ -503,7 +500,7 @@ var v = function() {
|
|
|
503
500
|
return t;
|
|
504
501
|
}, v.apply(this, arguments);
|
|
505
502
|
};
|
|
506
|
-
function
|
|
503
|
+
function Gr(e, t) {
|
|
507
504
|
var r = {};
|
|
508
505
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
509
506
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -583,8 +580,8 @@ var be = function() {
|
|
|
583
580
|
var u = l.value;
|
|
584
581
|
u.remove(this);
|
|
585
582
|
}
|
|
586
|
-
} catch (
|
|
587
|
-
t = { error:
|
|
583
|
+
} catch (g) {
|
|
584
|
+
t = { error: g };
|
|
588
585
|
} finally {
|
|
589
586
|
try {
|
|
590
587
|
l && !l.done && (r = s.return) && r.call(s);
|
|
@@ -598,26 +595,26 @@ var be = function() {
|
|
|
598
595
|
if (N(h))
|
|
599
596
|
try {
|
|
600
597
|
h();
|
|
601
|
-
} catch (
|
|
602
|
-
o =
|
|
598
|
+
} catch (g) {
|
|
599
|
+
o = g instanceof Se ? g.errors : [g];
|
|
603
600
|
}
|
|
604
601
|
var f = this._finalizers;
|
|
605
602
|
if (f) {
|
|
606
603
|
this._finalizers = null;
|
|
607
604
|
try {
|
|
608
|
-
for (var c = Ne(f),
|
|
609
|
-
var
|
|
605
|
+
for (var c = Ne(f), p = c.next(); !p.done; p = c.next()) {
|
|
606
|
+
var y = p.value;
|
|
610
607
|
try {
|
|
611
|
-
ot(
|
|
612
|
-
} catch (
|
|
613
|
-
o = o != null ? o : [],
|
|
608
|
+
ot(y);
|
|
609
|
+
} catch (g) {
|
|
610
|
+
o = o != null ? o : [], g instanceof Se ? o = V(V([], $e(o)), $e(g.errors)) : o.push(g);
|
|
614
611
|
}
|
|
615
612
|
}
|
|
616
|
-
} catch (
|
|
617
|
-
n = { error:
|
|
613
|
+
} catch (g) {
|
|
614
|
+
n = { error: g };
|
|
618
615
|
} finally {
|
|
619
616
|
try {
|
|
620
|
-
|
|
617
|
+
p && !p.done && (i = c.return) && i.call(c);
|
|
621
618
|
} finally {
|
|
622
619
|
if (n) throw n.error;
|
|
623
620
|
}
|
|
@@ -680,7 +677,7 @@ var Nt = {
|
|
|
680
677
|
},
|
|
681
678
|
delegate: void 0
|
|
682
679
|
};
|
|
683
|
-
function
|
|
680
|
+
function Fr(e) {
|
|
684
681
|
$t.setTimeout(function() {
|
|
685
682
|
throw e;
|
|
686
683
|
});
|
|
@@ -694,7 +691,7 @@ var Rt = function(e) {
|
|
|
694
691
|
$(t, e);
|
|
695
692
|
function t(r) {
|
|
696
693
|
var n = e.call(this) || this;
|
|
697
|
-
return n.isStopped = !1, r ? (n.destination = r, Mt(r) && r.add(n)) : n.destination =
|
|
694
|
+
return n.isStopped = !1, r ? (n.destination = r, Mt(r) && r.add(n)) : n.destination = zr, n;
|
|
698
695
|
}
|
|
699
696
|
return t.create = function(r, n, i) {
|
|
700
697
|
return new Ue(r, n, i);
|
|
@@ -721,11 +718,11 @@ var Rt = function(e) {
|
|
|
721
718
|
this.unsubscribe();
|
|
722
719
|
}
|
|
723
720
|
}, t;
|
|
724
|
-
}(be),
|
|
725
|
-
function
|
|
726
|
-
return
|
|
721
|
+
}(be), jr = Function.prototype.bind;
|
|
722
|
+
function we(e, t) {
|
|
723
|
+
return jr.call(e, t);
|
|
727
724
|
}
|
|
728
|
-
var
|
|
725
|
+
var kr = function() {
|
|
729
726
|
function e(t) {
|
|
730
727
|
this.partialObserver = t;
|
|
731
728
|
}
|
|
@@ -771,34 +768,34 @@ var Vr = function() {
|
|
|
771
768
|
o && Nt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
|
|
772
769
|
return o.unsubscribe();
|
|
773
770
|
}, a = {
|
|
774
|
-
next: r.next &&
|
|
775
|
-
error: r.error &&
|
|
776
|
-
complete: r.complete &&
|
|
771
|
+
next: r.next && we(r.next, s),
|
|
772
|
+
error: r.error && we(r.error, s),
|
|
773
|
+
complete: r.complete && we(r.complete, s)
|
|
777
774
|
}) : a = r;
|
|
778
775
|
}
|
|
779
|
-
return o.destination = new
|
|
776
|
+
return o.destination = new kr(a), o;
|
|
780
777
|
}
|
|
781
778
|
return t;
|
|
782
779
|
}(Rt);
|
|
783
780
|
function ue(e) {
|
|
784
|
-
|
|
781
|
+
Fr(e);
|
|
785
782
|
}
|
|
786
|
-
function
|
|
783
|
+
function Vr(e) {
|
|
787
784
|
throw e;
|
|
788
785
|
}
|
|
789
|
-
var
|
|
786
|
+
var zr = {
|
|
790
787
|
closed: !0,
|
|
791
788
|
next: at,
|
|
792
|
-
error:
|
|
789
|
+
error: Vr,
|
|
793
790
|
complete: at
|
|
794
|
-
},
|
|
791
|
+
}, Wr = function() {
|
|
795
792
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
796
793
|
}();
|
|
797
|
-
function
|
|
794
|
+
function Xr(e) {
|
|
798
795
|
return e;
|
|
799
796
|
}
|
|
800
|
-
function
|
|
801
|
-
return e.length === 0 ?
|
|
797
|
+
function qr(e) {
|
|
798
|
+
return e.length === 0 ? Xr : e.length === 1 ? e[0] : function(r) {
|
|
802
799
|
return e.reduce(function(n, i) {
|
|
803
800
|
return i(n);
|
|
804
801
|
}, r);
|
|
@@ -812,7 +809,7 @@ var st = function() {
|
|
|
812
809
|
var r = new e();
|
|
813
810
|
return r.source = this, r.operator = t, r;
|
|
814
811
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
815
|
-
var i = this, o =
|
|
812
|
+
var i = this, o = Qr(t) ? t : new Ue(t, r, n);
|
|
816
813
|
return ce(function() {
|
|
817
814
|
var a = i, s = a.operator, l = a.source;
|
|
818
815
|
o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -842,12 +839,12 @@ var st = function() {
|
|
|
842
839
|
}, e.prototype._subscribe = function(t) {
|
|
843
840
|
var r;
|
|
844
841
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
845
|
-
}, e.prototype[
|
|
842
|
+
}, e.prototype[Wr] = function() {
|
|
846
843
|
return this;
|
|
847
844
|
}, e.prototype.pipe = function() {
|
|
848
845
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
849
846
|
t[r] = arguments[r];
|
|
850
|
-
return
|
|
847
|
+
return qr(t)(this);
|
|
851
848
|
}, e.prototype.toPromise = function(t) {
|
|
852
849
|
var r = this;
|
|
853
850
|
return t = ut(t), new t(function(n, i) {
|
|
@@ -868,13 +865,13 @@ function ut(e) {
|
|
|
868
865
|
var t;
|
|
869
866
|
return (t = e != null ? e : Nt.Promise) !== null && t !== void 0 ? t : Promise;
|
|
870
867
|
}
|
|
871
|
-
function
|
|
868
|
+
function Zr(e) {
|
|
872
869
|
return e && N(e.next) && N(e.error) && N(e.complete);
|
|
873
870
|
}
|
|
874
|
-
function
|
|
875
|
-
return e && e instanceof Rt ||
|
|
871
|
+
function Qr(e) {
|
|
872
|
+
return e && e instanceof Rt || Zr(e) && Mt(e);
|
|
876
873
|
}
|
|
877
|
-
var
|
|
874
|
+
var Yr = Ot(function(e) {
|
|
878
875
|
return function() {
|
|
879
876
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
880
877
|
};
|
|
@@ -889,7 +886,7 @@ var Jr = Ot(function(e) {
|
|
|
889
886
|
return n.operator = r, n;
|
|
890
887
|
}, t.prototype._throwIfClosed = function() {
|
|
891
888
|
if (this.closed)
|
|
892
|
-
throw new
|
|
889
|
+
throw new Yr();
|
|
893
890
|
}, t.prototype.next = function(r) {
|
|
894
891
|
var n = this;
|
|
895
892
|
ce(function() {
|
|
@@ -981,7 +978,7 @@ var Jr = Ot(function(e) {
|
|
|
981
978
|
return (Dt.delegate || Date).now();
|
|
982
979
|
},
|
|
983
980
|
delegate: void 0
|
|
984
|
-
},
|
|
981
|
+
}, Jr = function(e) {
|
|
985
982
|
$(t, e);
|
|
986
983
|
function t(r, n, i) {
|
|
987
984
|
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Dt);
|
|
@@ -1005,14 +1002,14 @@ var Jr = Ot(function(e) {
|
|
|
1005
1002
|
}
|
|
1006
1003
|
}, t;
|
|
1007
1004
|
}(Ut);
|
|
1008
|
-
const ht = [], ct = {},
|
|
1005
|
+
const ht = [], ct = {}, Kr = (e, t = 0) => {
|
|
1009
1006
|
if (ht.indexOf(e) == -1) {
|
|
1010
|
-
const r = new
|
|
1007
|
+
const r = new Jr(t);
|
|
1011
1008
|
ct[e] = r, ht.push(e);
|
|
1012
1009
|
}
|
|
1013
1010
|
return ct[e];
|
|
1014
1011
|
}, F = [];
|
|
1015
|
-
function
|
|
1012
|
+
function en(e, t) {
|
|
1016
1013
|
return {
|
|
1017
1014
|
subscribe: ve(e, t).subscribe
|
|
1018
1015
|
};
|
|
@@ -1021,7 +1018,7 @@ function ve(e, t = O) {
|
|
|
1021
1018
|
let r;
|
|
1022
1019
|
const n = /* @__PURE__ */ new Set();
|
|
1023
1020
|
function i(s) {
|
|
1024
|
-
if (
|
|
1021
|
+
if (It(e, s) && (e = s, r)) {
|
|
1025
1022
|
const l = !F.length;
|
|
1026
1023
|
for (const u of n)
|
|
1027
1024
|
u[1](), F.push(u, e);
|
|
@@ -1048,7 +1045,7 @@ function Q(e, t, r) {
|
|
|
1048
1045
|
if (!i.every(Boolean))
|
|
1049
1046
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1050
1047
|
const o = t.length < 2;
|
|
1051
|
-
return
|
|
1048
|
+
return en(r, (a, s) => {
|
|
1052
1049
|
let l = !1;
|
|
1053
1050
|
const u = [];
|
|
1054
1051
|
let h = 0, f = O;
|
|
@@ -1056,65 +1053,65 @@ function Q(e, t, r) {
|
|
|
1056
1053
|
if (h)
|
|
1057
1054
|
return;
|
|
1058
1055
|
f();
|
|
1059
|
-
const
|
|
1060
|
-
o ? a(
|
|
1061
|
-
},
|
|
1062
|
-
(
|
|
1063
|
-
|
|
1056
|
+
const y = t(n ? u[0] : u, a, s);
|
|
1057
|
+
o ? a(y) : f = Xe(y) ? y : O;
|
|
1058
|
+
}, p = i.map(
|
|
1059
|
+
(y, g) => Bt(
|
|
1060
|
+
y,
|
|
1064
1061
|
(S) => {
|
|
1065
|
-
u[
|
|
1062
|
+
u[g] = S, h &= ~(1 << g), l && c();
|
|
1066
1063
|
},
|
|
1067
1064
|
() => {
|
|
1068
|
-
h |= 1 <<
|
|
1065
|
+
h |= 1 << g;
|
|
1069
1066
|
}
|
|
1070
1067
|
)
|
|
1071
1068
|
);
|
|
1072
1069
|
return l = !0, c(), function() {
|
|
1073
|
-
ie(
|
|
1070
|
+
ie(p), f(), l = !1;
|
|
1074
1071
|
};
|
|
1075
1072
|
});
|
|
1076
1073
|
}
|
|
1077
|
-
function
|
|
1074
|
+
function tn(e) {
|
|
1078
1075
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1079
1076
|
}
|
|
1080
|
-
var
|
|
1081
|
-
return
|
|
1077
|
+
var rn = function(t) {
|
|
1078
|
+
return nn(t) && !on(t);
|
|
1082
1079
|
};
|
|
1083
|
-
function
|
|
1080
|
+
function nn(e) {
|
|
1084
1081
|
return !!e && typeof e == "object";
|
|
1085
1082
|
}
|
|
1086
|
-
function
|
|
1083
|
+
function on(e) {
|
|
1087
1084
|
var t = Object.prototype.toString.call(e);
|
|
1088
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1085
|
+
return t === "[object RegExp]" || t === "[object Date]" || un(e);
|
|
1089
1086
|
}
|
|
1090
|
-
var
|
|
1091
|
-
function
|
|
1092
|
-
return e.$$typeof ===
|
|
1087
|
+
var an = typeof Symbol == "function" && Symbol.for, sn = an ? Symbol.for("react.element") : 60103;
|
|
1088
|
+
function un(e) {
|
|
1089
|
+
return e.$$typeof === sn;
|
|
1093
1090
|
}
|
|
1094
|
-
function
|
|
1091
|
+
function ln(e) {
|
|
1095
1092
|
return Array.isArray(e) ? [] : {};
|
|
1096
1093
|
}
|
|
1097
1094
|
function re(e, t) {
|
|
1098
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? z(
|
|
1095
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? z(ln(e), e, t) : e;
|
|
1099
1096
|
}
|
|
1100
|
-
function
|
|
1097
|
+
function hn(e, t, r) {
|
|
1101
1098
|
return e.concat(t).map(function(n) {
|
|
1102
1099
|
return re(n, r);
|
|
1103
1100
|
});
|
|
1104
1101
|
}
|
|
1105
|
-
function
|
|
1102
|
+
function cn(e, t) {
|
|
1106
1103
|
if (!t.customMerge)
|
|
1107
1104
|
return z;
|
|
1108
1105
|
var r = t.customMerge(e);
|
|
1109
1106
|
return typeof r == "function" ? r : z;
|
|
1110
1107
|
}
|
|
1111
|
-
function
|
|
1108
|
+
function fn(e) {
|
|
1112
1109
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1113
1110
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1114
1111
|
}) : [];
|
|
1115
1112
|
}
|
|
1116
1113
|
function ft(e) {
|
|
1117
|
-
return Object.keys(e).concat(
|
|
1114
|
+
return Object.keys(e).concat(fn(e));
|
|
1118
1115
|
}
|
|
1119
1116
|
function Gt(e, t) {
|
|
1120
1117
|
try {
|
|
@@ -1126,18 +1123,18 @@ function Gt(e, t) {
|
|
|
1126
1123
|
function pn(e, t) {
|
|
1127
1124
|
return Gt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1128
1125
|
}
|
|
1129
|
-
function
|
|
1126
|
+
function dn(e, t, r) {
|
|
1130
1127
|
var n = {};
|
|
1131
1128
|
return r.isMergeableObject(e) && ft(e).forEach(function(i) {
|
|
1132
1129
|
n[i] = re(e[i], r);
|
|
1133
1130
|
}), ft(t).forEach(function(i) {
|
|
1134
|
-
pn(e, i) || (Gt(e, i) && r.isMergeableObject(t[i]) ? n[i] =
|
|
1131
|
+
pn(e, i) || (Gt(e, i) && r.isMergeableObject(t[i]) ? n[i] = cn(i, r)(e[i], t[i], r) : n[i] = re(t[i], r));
|
|
1135
1132
|
}), n;
|
|
1136
1133
|
}
|
|
1137
1134
|
function z(e, t, r) {
|
|
1138
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1135
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || hn, r.isMergeableObject = r.isMergeableObject || rn, r.cloneUnlessOtherwiseSpecified = re;
|
|
1139
1136
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1140
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1137
|
+
return o ? n ? r.arrayMerge(e, t, r) : dn(e, t, r) : re(t, r);
|
|
1141
1138
|
}
|
|
1142
1139
|
z.all = function(t, r) {
|
|
1143
1140
|
if (!Array.isArray(t))
|
|
@@ -1146,8 +1143,8 @@ z.all = function(t, r) {
|
|
|
1146
1143
|
return z(n, i, r);
|
|
1147
1144
|
}, {});
|
|
1148
1145
|
};
|
|
1149
|
-
var
|
|
1150
|
-
const
|
|
1146
|
+
var mn = z, bn = mn;
|
|
1147
|
+
const vn = /* @__PURE__ */ tn(bn);
|
|
1151
1148
|
var m;
|
|
1152
1149
|
(function(e) {
|
|
1153
1150
|
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";
|
|
@@ -1160,7 +1157,7 @@ var W;
|
|
|
1160
1157
|
(function(e) {
|
|
1161
1158
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1162
1159
|
})(W || (W = {}));
|
|
1163
|
-
function
|
|
1160
|
+
function pt(e) {
|
|
1164
1161
|
return e.type === E.literal;
|
|
1165
1162
|
}
|
|
1166
1163
|
function gn(e) {
|
|
@@ -1181,7 +1178,7 @@ function Vt(e) {
|
|
|
1181
1178
|
function zt(e) {
|
|
1182
1179
|
return e.type === E.plural;
|
|
1183
1180
|
}
|
|
1184
|
-
function
|
|
1181
|
+
function yn(e) {
|
|
1185
1182
|
return e.type === E.pound;
|
|
1186
1183
|
}
|
|
1187
1184
|
function Wt(e) {
|
|
@@ -1193,10 +1190,10 @@ function Xt(e) {
|
|
|
1193
1190
|
function De(e) {
|
|
1194
1191
|
return !!(e && typeof e == "object" && e.type === W.dateTime);
|
|
1195
1192
|
}
|
|
1196
|
-
var qt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
|
1197
|
-
function
|
|
1193
|
+
var qt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, xn = /(?:[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;
|
|
1194
|
+
function En(e) {
|
|
1198
1195
|
var t = {};
|
|
1199
|
-
return e.replace(
|
|
1196
|
+
return e.replace(xn, function(r) {
|
|
1200
1197
|
var n = r.length;
|
|
1201
1198
|
switch (r[0]) {
|
|
1202
1199
|
case "G":
|
|
@@ -1285,11 +1282,11 @@ function _n(e) {
|
|
|
1285
1282
|
return "";
|
|
1286
1283
|
}), t;
|
|
1287
1284
|
}
|
|
1288
|
-
var
|
|
1289
|
-
function
|
|
1285
|
+
var _n = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1286
|
+
function Tn(e) {
|
|
1290
1287
|
if (e.length === 0)
|
|
1291
1288
|
throw new Error("Number skeleton cannot be empty");
|
|
1292
|
-
for (var t = e.split(
|
|
1289
|
+
for (var t = e.split(_n).filter(function(c) {
|
|
1293
1290
|
return c.length > 0;
|
|
1294
1291
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1295
1292
|
var o = i[n], a = o.split("/");
|
|
@@ -1304,10 +1301,10 @@ function Sn(e) {
|
|
|
1304
1301
|
}
|
|
1305
1302
|
return r;
|
|
1306
1303
|
}
|
|
1307
|
-
function
|
|
1304
|
+
function Sn(e) {
|
|
1308
1305
|
return e.replace(/^(.*?)-/, "");
|
|
1309
1306
|
}
|
|
1310
|
-
var
|
|
1307
|
+
var dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Zt = /^(@+)?(\+|#+)?[rs]?$/g, wn = /(\*)(0+)|(#+)(0+)|(0+)/g, Qt = /^(0+)$/;
|
|
1311
1308
|
function mt(e) {
|
|
1312
1309
|
var t = {};
|
|
1313
1310
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Zt, function(r, n, i) {
|
|
@@ -1354,7 +1351,7 @@ function Yt(e) {
|
|
|
1354
1351
|
};
|
|
1355
1352
|
}
|
|
1356
1353
|
}
|
|
1357
|
-
function
|
|
1354
|
+
function Pn(e) {
|
|
1358
1355
|
var t;
|
|
1359
1356
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1360
1357
|
notation: "engineering"
|
|
@@ -1372,7 +1369,7 @@ function bt(e) {
|
|
|
1372
1369
|
var t = {}, r = Yt(e);
|
|
1373
1370
|
return r || t;
|
|
1374
1371
|
}
|
|
1375
|
-
function
|
|
1372
|
+
function Hn(e) {
|
|
1376
1373
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1377
1374
|
var i = n[r];
|
|
1378
1375
|
switch (i.stem) {
|
|
@@ -1396,7 +1393,7 @@ function In(e) {
|
|
|
1396
1393
|
continue;
|
|
1397
1394
|
case "measure-unit":
|
|
1398
1395
|
case "unit":
|
|
1399
|
-
t.style = "unit", t.unit =
|
|
1396
|
+
t.style = "unit", t.unit = Sn(i.options[0]);
|
|
1400
1397
|
continue;
|
|
1401
1398
|
case "compact-short":
|
|
1402
1399
|
case "K":
|
|
@@ -1458,13 +1455,13 @@ function In(e) {
|
|
|
1458
1455
|
case "integer-width":
|
|
1459
1456
|
if (i.options.length > 1)
|
|
1460
1457
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1461
|
-
i.options[0].replace(wn, function(l, u, h, f, c,
|
|
1458
|
+
i.options[0].replace(wn, function(l, u, h, f, c, p) {
|
|
1462
1459
|
if (u)
|
|
1463
1460
|
t.minimumIntegerDigits = h.length;
|
|
1464
1461
|
else {
|
|
1465
1462
|
if (f && c)
|
|
1466
1463
|
throw new Error("We currently do not support maximum integer digits");
|
|
1467
|
-
if (
|
|
1464
|
+
if (p)
|
|
1468
1465
|
throw new Error("We currently do not support exact integer digits");
|
|
1469
1466
|
}
|
|
1470
1467
|
return "";
|
|
@@ -1475,11 +1472,11 @@ function In(e) {
|
|
|
1475
1472
|
t.minimumIntegerDigits = i.stem.length;
|
|
1476
1473
|
continue;
|
|
1477
1474
|
}
|
|
1478
|
-
if (
|
|
1475
|
+
if (dt.test(i.stem)) {
|
|
1479
1476
|
if (i.options.length > 1)
|
|
1480
1477
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1481
|
-
i.stem.replace(
|
|
1482
|
-
return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c &&
|
|
1478
|
+
i.stem.replace(dt, function(l, u, h, f, c, p) {
|
|
1479
|
+
return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1483
1480
|
});
|
|
1484
1481
|
var o = i.options[0];
|
|
1485
1482
|
o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), mt(o)));
|
|
@@ -1491,7 +1488,7 @@ function In(e) {
|
|
|
1491
1488
|
}
|
|
1492
1489
|
var a = Yt(i.stem);
|
|
1493
1490
|
a && (t = v(v({}, t), a));
|
|
1494
|
-
var s =
|
|
1491
|
+
var s = Pn(i.stem);
|
|
1495
1492
|
s && (t = v(v({}, t), s));
|
|
1496
1493
|
}
|
|
1497
1494
|
return t;
|
|
@@ -2911,7 +2908,7 @@ function Cn(e, t) {
|
|
|
2911
2908
|
if (i === "j") {
|
|
2912
2909
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2913
2910
|
o++, n++;
|
|
2914
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
2911
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = In(t);
|
|
2915
2912
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
2916
2913
|
r += l;
|
|
2917
2914
|
for (; a-- > 0; )
|
|
@@ -2920,7 +2917,7 @@ function Cn(e, t) {
|
|
|
2920
2917
|
}
|
|
2921
2918
|
return r;
|
|
2922
2919
|
}
|
|
2923
|
-
function
|
|
2920
|
+
function In(e) {
|
|
2924
2921
|
var t = e.hourCycle;
|
|
2925
2922
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2926
2923
|
e.hourCycles && // @ts-ignore
|
|
@@ -2942,20 +2939,20 @@ function Bn(e) {
|
|
|
2942
2939
|
var i = le[n || ""] || le[r || ""] || le["".concat(r, "-001")] || le["001"];
|
|
2943
2940
|
return i[0];
|
|
2944
2941
|
}
|
|
2945
|
-
var
|
|
2942
|
+
var Pe, Bn = new RegExp("^".concat(qt.source, "*")), An = new RegExp("".concat(qt.source, "*$"));
|
|
2946
2943
|
function b(e, t) {
|
|
2947
2944
|
return { start: e, end: t };
|
|
2948
2945
|
}
|
|
2949
|
-
var
|
|
2946
|
+
var On = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ln = !!String.fromCodePoint, Mn = !!Object.fromEntries, Nn = !!String.prototype.codePointAt, $n = !!String.prototype.trimStart, Rn = !!String.prototype.trimEnd, Un = !!Number.isSafeInteger, Dn = Un ? Number.isSafeInteger : function(e) {
|
|
2950
2947
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2951
2948
|
}, Ge = !0;
|
|
2952
2949
|
try {
|
|
2953
|
-
var
|
|
2954
|
-
Ge = ((
|
|
2950
|
+
var Gn = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2951
|
+
Ge = ((Pe = Gn.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
|
|
2955
2952
|
} catch (e) {
|
|
2956
2953
|
Ge = !1;
|
|
2957
2954
|
}
|
|
2958
|
-
var vt =
|
|
2955
|
+
var vt = On ? (
|
|
2959
2956
|
// Native
|
|
2960
2957
|
function(t, r, n) {
|
|
2961
2958
|
return t.startsWith(r, n);
|
|
@@ -2965,7 +2962,7 @@ var vt = Ln ? (
|
|
|
2965
2962
|
function(t, r, n) {
|
|
2966
2963
|
return t.slice(n, n + r.length) === r;
|
|
2967
2964
|
}
|
|
2968
|
-
), Fe =
|
|
2965
|
+
), Fe = Ln ? String.fromCodePoint : (
|
|
2969
2966
|
// IE11
|
|
2970
2967
|
function() {
|
|
2971
2968
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2977,9 +2974,9 @@ var vt = Ln ? (
|
|
|
2977
2974
|
}
|
|
2978
2975
|
return n;
|
|
2979
2976
|
}
|
|
2980
|
-
),
|
|
2977
|
+
), gt = (
|
|
2981
2978
|
// native
|
|
2982
|
-
|
|
2979
|
+
Mn ? Object.fromEntries : (
|
|
2983
2980
|
// Ponyfill
|
|
2984
2981
|
function(t) {
|
|
2985
2982
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2989,7 +2986,7 @@ var vt = Ln ? (
|
|
|
2989
2986
|
return r;
|
|
2990
2987
|
}
|
|
2991
2988
|
)
|
|
2992
|
-
), Jt =
|
|
2989
|
+
), Jt = Nn ? (
|
|
2993
2990
|
// Native
|
|
2994
2991
|
function(t, r) {
|
|
2995
2992
|
return t.codePointAt(r);
|
|
@@ -3003,7 +3000,7 @@ var vt = Ln ? (
|
|
|
3003
3000
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3004
3001
|
}
|
|
3005
3002
|
}
|
|
3006
|
-
),
|
|
3003
|
+
), Fn = $n ? (
|
|
3007
3004
|
// Native
|
|
3008
3005
|
function(t) {
|
|
3009
3006
|
return t.trimStart();
|
|
@@ -3011,9 +3008,9 @@ var vt = Ln ? (
|
|
|
3011
3008
|
) : (
|
|
3012
3009
|
// Ponyfill
|
|
3013
3010
|
function(t) {
|
|
3014
|
-
return t.replace(
|
|
3011
|
+
return t.replace(Bn, "");
|
|
3015
3012
|
}
|
|
3016
|
-
),
|
|
3013
|
+
), jn = Rn ? (
|
|
3017
3014
|
// Native
|
|
3018
3015
|
function(t) {
|
|
3019
3016
|
return t.trimEnd();
|
|
@@ -3021,7 +3018,7 @@ var vt = Ln ? (
|
|
|
3021
3018
|
) : (
|
|
3022
3019
|
// Ponyfill
|
|
3023
3020
|
function(t) {
|
|
3024
|
-
return t.replace(
|
|
3021
|
+
return t.replace(An, "");
|
|
3025
3022
|
}
|
|
3026
3023
|
);
|
|
3027
3024
|
function Kt(e, t) {
|
|
@@ -3029,24 +3026,24 @@ function Kt(e, t) {
|
|
|
3029
3026
|
}
|
|
3030
3027
|
var je;
|
|
3031
3028
|
if (Ge) {
|
|
3032
|
-
var
|
|
3029
|
+
var yt = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3033
3030
|
je = function(t, r) {
|
|
3034
3031
|
var n;
|
|
3035
|
-
|
|
3036
|
-
var i =
|
|
3032
|
+
yt.lastIndex = r;
|
|
3033
|
+
var i = yt.exec(t);
|
|
3037
3034
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3038
3035
|
};
|
|
3039
3036
|
} else
|
|
3040
3037
|
je = function(t, r) {
|
|
3041
3038
|
for (var n = []; ; ) {
|
|
3042
3039
|
var i = Jt(t, r);
|
|
3043
|
-
if (i === void 0 || er(i) ||
|
|
3040
|
+
if (i === void 0 || er(i) || Wn(i))
|
|
3044
3041
|
break;
|
|
3045
3042
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3046
3043
|
}
|
|
3047
3044
|
return Fe.apply(void 0, n);
|
|
3048
3045
|
};
|
|
3049
|
-
var
|
|
3046
|
+
var kn = (
|
|
3050
3047
|
/** @class */
|
|
3051
3048
|
function() {
|
|
3052
3049
|
function e(t, r) {
|
|
@@ -3128,7 +3125,7 @@ var Vn = (
|
|
|
3128
3125
|
return this.error(m.INVALID_TAG, b(n, this.clonePosition()));
|
|
3129
3126
|
}, e.prototype.parseTagName = function() {
|
|
3130
3127
|
var t = this.offset();
|
|
3131
|
-
for (this.bump(); !this.isEOF() &&
|
|
3128
|
+
for (this.bump(); !this.isEOF() && zn(this.char()); )
|
|
3132
3129
|
this.bump();
|
|
3133
3130
|
return this.message.slice(t, this.offset());
|
|
3134
3131
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3157,7 +3154,7 @@ var Vn = (
|
|
|
3157
3154
|
};
|
|
3158
3155
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3159
3156
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3160
|
-
!
|
|
3157
|
+
!Vn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3161
3158
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3162
3159
|
if (this.isEOF() || this.char() !== 39)
|
|
3163
3160
|
return null;
|
|
@@ -3244,37 +3241,37 @@ var Vn = (
|
|
|
3244
3241
|
var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3245
3242
|
if (f.err)
|
|
3246
3243
|
return f;
|
|
3247
|
-
var c =
|
|
3244
|
+
var c = jn(f.val);
|
|
3248
3245
|
if (c.length === 0)
|
|
3249
3246
|
return this.error(m.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
|
|
3250
|
-
var
|
|
3251
|
-
u = { style: c, styleLocation:
|
|
3247
|
+
var p = b(h, this.clonePosition());
|
|
3248
|
+
u = { style: c, styleLocation: p };
|
|
3252
3249
|
}
|
|
3253
|
-
var
|
|
3254
|
-
if (
|
|
3255
|
-
return
|
|
3256
|
-
var
|
|
3250
|
+
var y = this.tryParseArgumentClose(i);
|
|
3251
|
+
if (y.err)
|
|
3252
|
+
return y;
|
|
3253
|
+
var g = b(i, this.clonePosition());
|
|
3257
3254
|
if (u && vt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3258
|
-
var S =
|
|
3255
|
+
var S = Fn(u.style.slice(2));
|
|
3259
3256
|
if (s === "number") {
|
|
3260
3257
|
var f = this.parseNumberSkeletonFromString(S, u.styleLocation);
|
|
3261
3258
|
return f.err ? f : {
|
|
3262
|
-
val: { type: E.number, value: n, location:
|
|
3259
|
+
val: { type: E.number, value: n, location: g, style: f.val },
|
|
3263
3260
|
err: null
|
|
3264
3261
|
};
|
|
3265
3262
|
} else {
|
|
3266
3263
|
if (S.length === 0)
|
|
3267
|
-
return this.error(m.EXPECT_DATE_TIME_SKELETON,
|
|
3268
|
-
var
|
|
3269
|
-
this.locale && (
|
|
3264
|
+
return this.error(m.EXPECT_DATE_TIME_SKELETON, g);
|
|
3265
|
+
var P = S;
|
|
3266
|
+
this.locale && (P = Cn(S, this.locale));
|
|
3270
3267
|
var c = {
|
|
3271
3268
|
type: W.dateTime,
|
|
3272
|
-
pattern:
|
|
3269
|
+
pattern: P,
|
|
3273
3270
|
location: u.styleLocation,
|
|
3274
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3271
|
+
parsedOptions: this.shouldParseSkeletons ? En(P) : {}
|
|
3275
3272
|
}, _ = s === "date" ? E.date : E.time;
|
|
3276
3273
|
return {
|
|
3277
|
-
val: { type: _, value: n, location:
|
|
3274
|
+
val: { type: _, value: n, location: g, style: c },
|
|
3278
3275
|
err: null
|
|
3279
3276
|
};
|
|
3280
3277
|
}
|
|
@@ -3283,7 +3280,7 @@ var Vn = (
|
|
|
3283
3280
|
val: {
|
|
3284
3281
|
type: s === "number" ? E.number : s === "date" ? E.date : E.time,
|
|
3285
3282
|
value: n,
|
|
3286
|
-
location:
|
|
3283
|
+
location: g,
|
|
3287
3284
|
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
3288
3285
|
},
|
|
3289
3286
|
err: null
|
|
@@ -3296,39 +3293,39 @@ var Vn = (
|
|
|
3296
3293
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3297
3294
|
return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(x, v({}, x)));
|
|
3298
3295
|
this.bumpSpace();
|
|
3299
|
-
var
|
|
3300
|
-
if (s !== "select" &&
|
|
3296
|
+
var w = this.parseIdentifierIfPossible(), L = 0;
|
|
3297
|
+
if (s !== "select" && w.value === "offset") {
|
|
3301
3298
|
if (!this.bumpIf(":"))
|
|
3302
3299
|
return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
|
|
3303
3300
|
this.bumpSpace();
|
|
3304
3301
|
var f = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3305
3302
|
if (f.err)
|
|
3306
3303
|
return f;
|
|
3307
|
-
this.bumpSpace(),
|
|
3304
|
+
this.bumpSpace(), w = this.parseIdentifierIfPossible(), L = f.val;
|
|
3308
3305
|
}
|
|
3309
|
-
var
|
|
3310
|
-
if (
|
|
3311
|
-
return
|
|
3312
|
-
var
|
|
3313
|
-
if (
|
|
3314
|
-
return
|
|
3315
|
-
var
|
|
3306
|
+
var d = this.tryParsePluralOrSelectOptions(t, s, r, w);
|
|
3307
|
+
if (d.err)
|
|
3308
|
+
return d;
|
|
3309
|
+
var y = this.tryParseArgumentClose(i);
|
|
3310
|
+
if (y.err)
|
|
3311
|
+
return y;
|
|
3312
|
+
var C = b(i, this.clonePosition());
|
|
3316
3313
|
return s === "select" ? {
|
|
3317
3314
|
val: {
|
|
3318
3315
|
type: E.select,
|
|
3319
3316
|
value: n,
|
|
3320
|
-
options:
|
|
3321
|
-
location:
|
|
3317
|
+
options: gt(d.val),
|
|
3318
|
+
location: C
|
|
3322
3319
|
},
|
|
3323
3320
|
err: null
|
|
3324
3321
|
} : {
|
|
3325
3322
|
val: {
|
|
3326
3323
|
type: E.plural,
|
|
3327
3324
|
value: n,
|
|
3328
|
-
options:
|
|
3325
|
+
options: gt(d.val),
|
|
3329
3326
|
offset: L,
|
|
3330
3327
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3331
|
-
location:
|
|
3328
|
+
location: C
|
|
3332
3329
|
},
|
|
3333
3330
|
err: null
|
|
3334
3331
|
};
|
|
@@ -3376,7 +3373,7 @@ var Vn = (
|
|
|
3376
3373
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3377
3374
|
var n = [];
|
|
3378
3375
|
try {
|
|
3379
|
-
n =
|
|
3376
|
+
n = Tn(t);
|
|
3380
3377
|
} catch (i) {
|
|
3381
3378
|
return this.error(m.INVALID_NUMBER_SKELETON, r);
|
|
3382
3379
|
}
|
|
@@ -3385,7 +3382,7 @@ var Vn = (
|
|
|
3385
3382
|
type: W.number,
|
|
3386
3383
|
tokens: n,
|
|
3387
3384
|
location: r,
|
|
3388
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3385
|
+
parsedOptions: this.shouldParseSkeletons ? Hn(n) : {}
|
|
3389
3386
|
},
|
|
3390
3387
|
err: null
|
|
3391
3388
|
};
|
|
@@ -3404,20 +3401,20 @@ var Vn = (
|
|
|
3404
3401
|
if (l.has(u))
|
|
3405
3402
|
return this.error(r === "select" ? m.DUPLICATE_SELECT_ARGUMENT_SELECTOR : m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3406
3403
|
u === "other" && (a = !0), this.bumpSpace();
|
|
3407
|
-
var
|
|
3404
|
+
var p = this.clonePosition();
|
|
3408
3405
|
if (!this.bumpIf("{"))
|
|
3409
3406
|
return this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
|
|
3410
|
-
var
|
|
3411
|
-
if (g.err)
|
|
3412
|
-
return g;
|
|
3413
|
-
var y = this.tryParseArgumentClose(d);
|
|
3407
|
+
var y = this.parseMessage(t + 1, r, n);
|
|
3414
3408
|
if (y.err)
|
|
3415
3409
|
return y;
|
|
3410
|
+
var g = this.tryParseArgumentClose(p);
|
|
3411
|
+
if (g.err)
|
|
3412
|
+
return g;
|
|
3416
3413
|
s.push([
|
|
3417
3414
|
u,
|
|
3418
3415
|
{
|
|
3419
|
-
value:
|
|
3420
|
-
location: b(
|
|
3416
|
+
value: y.val,
|
|
3417
|
+
location: b(p, this.clonePosition())
|
|
3421
3418
|
}
|
|
3422
3419
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
3423
3420
|
}
|
|
@@ -3433,7 +3430,7 @@ var Vn = (
|
|
|
3433
3430
|
break;
|
|
3434
3431
|
}
|
|
3435
3432
|
var l = b(i, this.clonePosition());
|
|
3436
|
-
return o ? (a *= n,
|
|
3433
|
+
return o ? (a *= n, Dn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3437
3434
|
}, e.prototype.offset = function() {
|
|
3438
3435
|
return this.position.offset;
|
|
3439
3436
|
}, e.prototype.isEOF = function() {
|
|
@@ -3502,16 +3499,16 @@ var Vn = (
|
|
|
3502
3499
|
function ke(e) {
|
|
3503
3500
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3504
3501
|
}
|
|
3505
|
-
function
|
|
3502
|
+
function Vn(e) {
|
|
3506
3503
|
return ke(e) || e === 47;
|
|
3507
3504
|
}
|
|
3508
|
-
function
|
|
3505
|
+
function zn(e) {
|
|
3509
3506
|
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;
|
|
3510
3507
|
}
|
|
3511
3508
|
function er(e) {
|
|
3512
3509
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3513
3510
|
}
|
|
3514
|
-
function
|
|
3511
|
+
function Wn(e) {
|
|
3515
3512
|
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;
|
|
3516
3513
|
}
|
|
3517
3514
|
function Ve(e) {
|
|
@@ -3522,9 +3519,9 @@ function Ve(e) {
|
|
|
3522
3519
|
else Ft(t) && Xt(t.style) || (jt(t) || kt(t)) && De(t.style) ? delete t.style.location : Wt(t) && Ve(t.children);
|
|
3523
3520
|
});
|
|
3524
3521
|
}
|
|
3525
|
-
function
|
|
3522
|
+
function Xn(e, t) {
|
|
3526
3523
|
t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3527
|
-
var r = new
|
|
3524
|
+
var r = new kn(e, t).parse();
|
|
3528
3525
|
if (r.err) {
|
|
3529
3526
|
var n = SyntaxError(m[r.err.kind]);
|
|
3530
3527
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
@@ -3532,17 +3529,17 @@ function qn(e, t) {
|
|
|
3532
3529
|
return t != null && t.captureLocation || Ve(r.val), r.val;
|
|
3533
3530
|
}
|
|
3534
3531
|
function He(e, t) {
|
|
3535
|
-
var r = t && t.cache ? t.cache :
|
|
3532
|
+
var r = t && t.cache ? t.cache : Kn, n = t && t.serializer ? t.serializer : Jn, i = t && t.strategy ? t.strategy : Zn;
|
|
3536
3533
|
return i(e, {
|
|
3537
3534
|
cache: r,
|
|
3538
3535
|
serializer: n
|
|
3539
3536
|
});
|
|
3540
3537
|
}
|
|
3541
|
-
function
|
|
3538
|
+
function qn(e) {
|
|
3542
3539
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
3543
3540
|
}
|
|
3544
3541
|
function tr(e, t, r, n) {
|
|
3545
|
-
var i =
|
|
3542
|
+
var i = qn(n) ? n : r(n), o = t.get(i);
|
|
3546
3543
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
3547
3544
|
}
|
|
3548
3545
|
function rr(e, t, r) {
|
|
@@ -3552,17 +3549,17 @@ function rr(e, t, r) {
|
|
|
3552
3549
|
function Ze(e, t, r, n, i) {
|
|
3553
3550
|
return r.bind(t, e, n, i);
|
|
3554
3551
|
}
|
|
3555
|
-
function
|
|
3552
|
+
function Zn(e, t) {
|
|
3556
3553
|
var r = e.length === 1 ? tr : rr;
|
|
3557
3554
|
return Ze(e, this, r, t.cache.create(), t.serializer);
|
|
3558
3555
|
}
|
|
3559
|
-
function
|
|
3556
|
+
function Qn(e, t) {
|
|
3560
3557
|
return Ze(e, this, rr, t.cache.create(), t.serializer);
|
|
3561
3558
|
}
|
|
3562
|
-
function
|
|
3559
|
+
function Yn(e, t) {
|
|
3563
3560
|
return Ze(e, this, tr, t.cache.create(), t.serializer);
|
|
3564
3561
|
}
|
|
3565
|
-
var
|
|
3562
|
+
var Jn = function() {
|
|
3566
3563
|
return JSON.stringify(arguments);
|
|
3567
3564
|
};
|
|
3568
3565
|
function Qe() {
|
|
@@ -3574,18 +3571,18 @@ Qe.prototype.get = function(e) {
|
|
|
3574
3571
|
Qe.prototype.set = function(e, t) {
|
|
3575
3572
|
this.cache[e] = t;
|
|
3576
3573
|
};
|
|
3577
|
-
var
|
|
3574
|
+
var Kn = {
|
|
3578
3575
|
create: function() {
|
|
3579
3576
|
return new Qe();
|
|
3580
3577
|
}
|
|
3581
|
-
},
|
|
3582
|
-
variadic:
|
|
3583
|
-
monadic:
|
|
3578
|
+
}, Ce = {
|
|
3579
|
+
variadic: Qn,
|
|
3580
|
+
monadic: Yn
|
|
3584
3581
|
}, X;
|
|
3585
3582
|
(function(e) {
|
|
3586
3583
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3587
3584
|
})(X || (X = {}));
|
|
3588
|
-
var
|
|
3585
|
+
var ge = (
|
|
3589
3586
|
/** @class */
|
|
3590
3587
|
function(e) {
|
|
3591
3588
|
$(t, e);
|
|
@@ -3605,8 +3602,8 @@ var ye = (
|
|
|
3605
3602
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), X.INVALID_VALUE, o) || this;
|
|
3606
3603
|
}
|
|
3607
3604
|
return t;
|
|
3608
|
-
}(
|
|
3609
|
-
),
|
|
3605
|
+
}(ge)
|
|
3606
|
+
), ei = (
|
|
3610
3607
|
/** @class */
|
|
3611
3608
|
function(e) {
|
|
3612
3609
|
$(t, e);
|
|
@@ -3614,8 +3611,8 @@ var ye = (
|
|
|
3614
3611
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), X.INVALID_VALUE, i) || this;
|
|
3615
3612
|
}
|
|
3616
3613
|
return t;
|
|
3617
|
-
}(
|
|
3618
|
-
),
|
|
3614
|
+
}(ge)
|
|
3615
|
+
), ti = (
|
|
3619
3616
|
/** @class */
|
|
3620
3617
|
function(e) {
|
|
3621
3618
|
$(t, e);
|
|
@@ -3623,22 +3620,22 @@ var ye = (
|
|
|
3623
3620
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), X.MISSING_VALUE, n) || this;
|
|
3624
3621
|
}
|
|
3625
3622
|
return t;
|
|
3626
|
-
}(
|
|
3623
|
+
}(ge)
|
|
3627
3624
|
), T;
|
|
3628
3625
|
(function(e) {
|
|
3629
3626
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3630
3627
|
})(T || (T = {}));
|
|
3631
|
-
function
|
|
3628
|
+
function ri(e) {
|
|
3632
3629
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3633
3630
|
var n = t[t.length - 1];
|
|
3634
3631
|
return !n || n.type !== T.literal || r.type !== T.literal ? t.push(r) : n.value += r.value, t;
|
|
3635
3632
|
}, []);
|
|
3636
3633
|
}
|
|
3637
|
-
function
|
|
3634
|
+
function ni(e) {
|
|
3638
3635
|
return typeof e == "function";
|
|
3639
3636
|
}
|
|
3640
3637
|
function fe(e, t, r, n, i, o, a) {
|
|
3641
|
-
if (e.length === 1 &&
|
|
3638
|
+
if (e.length === 1 && pt(e[0]))
|
|
3642
3639
|
return [
|
|
3643
3640
|
{
|
|
3644
3641
|
type: T.literal,
|
|
@@ -3647,14 +3644,14 @@ function fe(e, t, r, n, i, o, a) {
|
|
|
3647
3644
|
];
|
|
3648
3645
|
for (var s = [], l = 0, u = e; l < u.length; l++) {
|
|
3649
3646
|
var h = u[l];
|
|
3650
|
-
if (
|
|
3647
|
+
if (pt(h)) {
|
|
3651
3648
|
s.push({
|
|
3652
3649
|
type: T.literal,
|
|
3653
3650
|
value: h.value
|
|
3654
3651
|
});
|
|
3655
3652
|
continue;
|
|
3656
3653
|
}
|
|
3657
|
-
if (
|
|
3654
|
+
if (yn(h)) {
|
|
3658
3655
|
typeof o == "number" && s.push({
|
|
3659
3656
|
type: T.literal,
|
|
3660
3657
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3663,7 +3660,7 @@ function fe(e, t, r, n, i, o, a) {
|
|
|
3663
3660
|
}
|
|
3664
3661
|
var f = h.value;
|
|
3665
3662
|
if (!(i && f in i))
|
|
3666
|
-
throw new
|
|
3663
|
+
throw new ti(f, a);
|
|
3667
3664
|
var c = i[f];
|
|
3668
3665
|
if (gn(h)) {
|
|
3669
3666
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
|
|
@@ -3673,34 +3670,34 @@ function fe(e, t, r, n, i, o, a) {
|
|
|
3673
3670
|
continue;
|
|
3674
3671
|
}
|
|
3675
3672
|
if (jt(h)) {
|
|
3676
|
-
var
|
|
3673
|
+
var p = typeof h.style == "string" ? n.date[h.style] : De(h.style) ? h.style.parsedOptions : void 0;
|
|
3677
3674
|
s.push({
|
|
3678
3675
|
type: T.literal,
|
|
3679
|
-
value: r.getDateTimeFormat(t,
|
|
3676
|
+
value: r.getDateTimeFormat(t, p).format(c)
|
|
3680
3677
|
});
|
|
3681
3678
|
continue;
|
|
3682
3679
|
}
|
|
3683
3680
|
if (kt(h)) {
|
|
3684
|
-
var
|
|
3681
|
+
var p = typeof h.style == "string" ? n.time[h.style] : De(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3685
3682
|
s.push({
|
|
3686
3683
|
type: T.literal,
|
|
3687
|
-
value: r.getDateTimeFormat(t,
|
|
3684
|
+
value: r.getDateTimeFormat(t, p).format(c)
|
|
3688
3685
|
});
|
|
3689
3686
|
continue;
|
|
3690
3687
|
}
|
|
3691
3688
|
if (Ft(h)) {
|
|
3692
|
-
var
|
|
3693
|
-
|
|
3689
|
+
var p = typeof h.style == "string" ? n.number[h.style] : Xt(h.style) ? h.style.parsedOptions : void 0;
|
|
3690
|
+
p && p.scale && (c = c * (p.scale || 1)), s.push({
|
|
3694
3691
|
type: T.literal,
|
|
3695
|
-
value: r.getNumberFormat(t,
|
|
3692
|
+
value: r.getNumberFormat(t, p).format(c)
|
|
3696
3693
|
});
|
|
3697
3694
|
continue;
|
|
3698
3695
|
}
|
|
3699
3696
|
if (Wt(h)) {
|
|
3700
|
-
var
|
|
3701
|
-
if (!
|
|
3702
|
-
throw new
|
|
3703
|
-
var
|
|
3697
|
+
var y = h.children, g = h.value, S = i[g];
|
|
3698
|
+
if (!ni(S))
|
|
3699
|
+
throw new ei(g, "function", a);
|
|
3700
|
+
var P = fe(y, t, r, n, i, o), _ = S(P.map(function(L) {
|
|
3704
3701
|
return L.value;
|
|
3705
3702
|
}));
|
|
3706
3703
|
Array.isArray(_) || (_ = [_]), s.push.apply(s, _.map(function(L) {
|
|
@@ -3721,11 +3718,11 @@ function fe(e, t, r, n, i, o, a) {
|
|
|
3721
3718
|
var x = h.options["=".concat(c)];
|
|
3722
3719
|
if (!x) {
|
|
3723
3720
|
if (!Intl.PluralRules)
|
|
3724
|
-
throw new
|
|
3721
|
+
throw new ge(`Intl.PluralRules is not available in this environment.
|
|
3725
3722
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3726
3723
|
`, X.MISSING_INTL_API, a);
|
|
3727
|
-
var
|
|
3728
|
-
x = h.options[
|
|
3724
|
+
var w = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
|
|
3725
|
+
x = h.options[w] || h.options.other;
|
|
3729
3726
|
}
|
|
3730
3727
|
if (!x)
|
|
3731
3728
|
throw new xt(h.value, c, Object.keys(h.options), a);
|
|
@@ -3733,19 +3730,19 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3733
3730
|
continue;
|
|
3734
3731
|
}
|
|
3735
3732
|
}
|
|
3736
|
-
return
|
|
3733
|
+
return ri(s);
|
|
3737
3734
|
}
|
|
3738
|
-
function
|
|
3735
|
+
function ii(e, t) {
|
|
3739
3736
|
return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3740
3737
|
return r[n] = v(v({}, e[n]), t[n] || {}), r;
|
|
3741
3738
|
}, {})) : e;
|
|
3742
3739
|
}
|
|
3743
|
-
function
|
|
3740
|
+
function oi(e, t) {
|
|
3744
3741
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3745
|
-
return r[n] =
|
|
3742
|
+
return r[n] = ii(e[n], t[n]), r;
|
|
3746
3743
|
}, v({}, e)) : e;
|
|
3747
3744
|
}
|
|
3748
|
-
function
|
|
3745
|
+
function Ie(e) {
|
|
3749
3746
|
return {
|
|
3750
3747
|
create: function() {
|
|
3751
3748
|
return {
|
|
@@ -3759,7 +3756,7 @@ function Ce(e) {
|
|
|
3759
3756
|
}
|
|
3760
3757
|
};
|
|
3761
3758
|
}
|
|
3762
|
-
function
|
|
3759
|
+
function ai(e) {
|
|
3763
3760
|
return e === void 0 && (e = {
|
|
3764
3761
|
number: {},
|
|
3765
3762
|
dateTime: {},
|
|
@@ -3770,28 +3767,28 @@ function si(e) {
|
|
|
3770
3767
|
r[n] = arguments[n];
|
|
3771
3768
|
return new ((t = Intl.NumberFormat).bind.apply(t, V([void 0], r, !1)))();
|
|
3772
3769
|
}, {
|
|
3773
|
-
cache:
|
|
3774
|
-
strategy:
|
|
3770
|
+
cache: Ie(e.number),
|
|
3771
|
+
strategy: Ce.variadic
|
|
3775
3772
|
}),
|
|
3776
3773
|
getDateTimeFormat: He(function() {
|
|
3777
3774
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3778
3775
|
r[n] = arguments[n];
|
|
3779
3776
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, V([void 0], r, !1)))();
|
|
3780
3777
|
}, {
|
|
3781
|
-
cache:
|
|
3782
|
-
strategy:
|
|
3778
|
+
cache: Ie(e.dateTime),
|
|
3779
|
+
strategy: Ce.variadic
|
|
3783
3780
|
}),
|
|
3784
3781
|
getPluralRules: He(function() {
|
|
3785
3782
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3786
3783
|
r[n] = arguments[n];
|
|
3787
3784
|
return new ((t = Intl.PluralRules).bind.apply(t, V([void 0], r, !1)))();
|
|
3788
3785
|
}, {
|
|
3789
|
-
cache:
|
|
3790
|
-
strategy:
|
|
3786
|
+
cache: Ie(e.pluralRules),
|
|
3787
|
+
strategy: Ce.variadic
|
|
3791
3788
|
})
|
|
3792
3789
|
};
|
|
3793
3790
|
}
|
|
3794
|
-
var
|
|
3791
|
+
var si = (
|
|
3795
3792
|
/** @class */
|
|
3796
3793
|
function() {
|
|
3797
3794
|
function e(t, r, n, i) {
|
|
@@ -3822,13 +3819,13 @@ var ui = (
|
|
|
3822
3819
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3823
3820
|
var a = i || {};
|
|
3824
3821
|
a.formatters;
|
|
3825
|
-
var s =
|
|
3822
|
+
var s = Gr(a, ["formatters"]);
|
|
3826
3823
|
this.ast = e.__parse(t, v(v({}, s), { locale: this.resolvedLocale }));
|
|
3827
3824
|
} else
|
|
3828
3825
|
this.ast = t;
|
|
3829
3826
|
if (!Array.isArray(this.ast))
|
|
3830
3827
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3831
|
-
this.formats =
|
|
3828
|
+
this.formats = oi(e.formats, n), this.formatters = i && i.formatters || ai(this.formatterCache);
|
|
3832
3829
|
}
|
|
3833
3830
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3834
3831
|
get: function() {
|
|
@@ -3841,7 +3838,7 @@ var ui = (
|
|
|
3841
3838
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3842
3839
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3843
3840
|
}
|
|
3844
|
-
}, e.__parse =
|
|
3841
|
+
}, e.__parse = Xn, e.formats = {
|
|
3845
3842
|
number: {
|
|
3846
3843
|
integer: {
|
|
3847
3844
|
maximumFractionDigits: 0
|
|
@@ -3902,7 +3899,7 @@ var ui = (
|
|
|
3902
3899
|
}, e;
|
|
3903
3900
|
}()
|
|
3904
3901
|
);
|
|
3905
|
-
function
|
|
3902
|
+
function ui(e, t) {
|
|
3906
3903
|
if (t == null)
|
|
3907
3904
|
return;
|
|
3908
3905
|
if (t in e)
|
|
@@ -3923,36 +3920,36 @@ function li(e, t) {
|
|
|
3923
3920
|
n = void 0;
|
|
3924
3921
|
return n;
|
|
3925
3922
|
}
|
|
3926
|
-
const R = {},
|
|
3923
|
+
const R = {}, li = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), nr = (e, t) => {
|
|
3927
3924
|
if (t == null)
|
|
3928
3925
|
return;
|
|
3929
3926
|
if (t in R && e in R[t])
|
|
3930
3927
|
return R[t][e];
|
|
3931
|
-
const r =
|
|
3928
|
+
const r = ye(t);
|
|
3932
3929
|
for (let n = 0; n < r.length; n++) {
|
|
3933
|
-
const i = r[n], o =
|
|
3930
|
+
const i = r[n], o = ci(i, e);
|
|
3934
3931
|
if (o)
|
|
3935
|
-
return
|
|
3932
|
+
return li(e, t, o);
|
|
3936
3933
|
}
|
|
3937
3934
|
};
|
|
3938
3935
|
let Ye;
|
|
3939
3936
|
const se = ve({});
|
|
3940
|
-
function
|
|
3937
|
+
function hi(e) {
|
|
3941
3938
|
return Ye[e] || null;
|
|
3942
3939
|
}
|
|
3943
3940
|
function ir(e) {
|
|
3944
3941
|
return e in Ye;
|
|
3945
3942
|
}
|
|
3946
|
-
function
|
|
3943
|
+
function ci(e, t) {
|
|
3947
3944
|
if (!ir(e))
|
|
3948
3945
|
return null;
|
|
3949
|
-
const r =
|
|
3950
|
-
return
|
|
3946
|
+
const r = hi(e);
|
|
3947
|
+
return ui(r, t);
|
|
3951
3948
|
}
|
|
3952
|
-
function
|
|
3949
|
+
function fi(e) {
|
|
3953
3950
|
if (e == null)
|
|
3954
3951
|
return;
|
|
3955
|
-
const t =
|
|
3952
|
+
const t = ye(e);
|
|
3956
3953
|
for (let r = 0; r < t.length; r++) {
|
|
3957
3954
|
const n = t[r];
|
|
3958
3955
|
if (ir(n))
|
|
@@ -3960,35 +3957,35 @@ function di(e) {
|
|
|
3960
3957
|
}
|
|
3961
3958
|
}
|
|
3962
3959
|
function or(e, ...t) {
|
|
3963
|
-
delete R[e], se.update((r) => (r[e] =
|
|
3960
|
+
delete R[e], se.update((r) => (r[e] = vn.all([r[e] || {}, ...t]), r));
|
|
3964
3961
|
}
|
|
3965
3962
|
Q(
|
|
3966
3963
|
[se],
|
|
3967
3964
|
([e]) => Object.keys(e)
|
|
3968
3965
|
);
|
|
3969
3966
|
se.subscribe((e) => Ye = e);
|
|
3970
|
-
const
|
|
3967
|
+
const pe = {};
|
|
3971
3968
|
function pi(e, t) {
|
|
3972
|
-
|
|
3969
|
+
pe[e].delete(t), pe[e].size === 0 && delete pe[e];
|
|
3973
3970
|
}
|
|
3974
3971
|
function ar(e) {
|
|
3975
|
-
return
|
|
3972
|
+
return pe[e];
|
|
3976
3973
|
}
|
|
3977
|
-
function
|
|
3978
|
-
return
|
|
3974
|
+
function di(e) {
|
|
3975
|
+
return ye(e).map((t) => {
|
|
3979
3976
|
const r = ar(t);
|
|
3980
3977
|
return [t, r ? [...r] : []];
|
|
3981
3978
|
}).filter(([, t]) => t.length > 0);
|
|
3982
3979
|
}
|
|
3983
3980
|
function ze(e) {
|
|
3984
|
-
return e == null ? !1 :
|
|
3981
|
+
return e == null ? !1 : ye(e).some(
|
|
3985
3982
|
(t) => {
|
|
3986
3983
|
var r;
|
|
3987
3984
|
return (r = ar(t)) == null ? void 0 : r.size;
|
|
3988
3985
|
}
|
|
3989
3986
|
);
|
|
3990
3987
|
}
|
|
3991
|
-
function
|
|
3988
|
+
function mi(e, t) {
|
|
3992
3989
|
return Promise.all(
|
|
3993
3990
|
t.map((n) => (pi(e, n), n().then((i) => i.default || i)))
|
|
3994
3991
|
).then((n) => or(e, ...n));
|
|
@@ -3997,10 +3994,10 @@ const K = {};
|
|
|
3997
3994
|
function sr(e) {
|
|
3998
3995
|
if (!ze(e))
|
|
3999
3996
|
return e in K ? K[e] : Promise.resolve();
|
|
4000
|
-
const t =
|
|
3997
|
+
const t = di(e);
|
|
4001
3998
|
return K[e] = Promise.all(
|
|
4002
3999
|
t.map(
|
|
4003
|
-
([r, n]) =>
|
|
4000
|
+
([r, n]) => mi(r, n)
|
|
4004
4001
|
)
|
|
4005
4002
|
).then(() => {
|
|
4006
4003
|
if (ze(e))
|
|
@@ -4008,7 +4005,7 @@ function sr(e) {
|
|
|
4008
4005
|
delete K[e];
|
|
4009
4006
|
}), K[e];
|
|
4010
4007
|
}
|
|
4011
|
-
const
|
|
4008
|
+
const bi = {
|
|
4012
4009
|
number: {
|
|
4013
4010
|
scientific: { notation: "scientific" },
|
|
4014
4011
|
engineering: { notation: "engineering" },
|
|
@@ -4037,57 +4034,57 @@ const vi = {
|
|
|
4037
4034
|
timeZoneName: "short"
|
|
4038
4035
|
}
|
|
4039
4036
|
}
|
|
4040
|
-
},
|
|
4037
|
+
}, vi = {
|
|
4041
4038
|
fallbackLocale: null,
|
|
4042
4039
|
loadingDelay: 200,
|
|
4043
|
-
formats:
|
|
4040
|
+
formats: bi,
|
|
4044
4041
|
warnOnMissingMessages: !0,
|
|
4045
4042
|
handleMissingMessage: void 0,
|
|
4046
4043
|
ignoreTag: !0
|
|
4047
|
-
}, gi =
|
|
4044
|
+
}, gi = vi;
|
|
4048
4045
|
function q() {
|
|
4049
4046
|
return gi;
|
|
4050
4047
|
}
|
|
4051
4048
|
const Be = ve(!1);
|
|
4052
|
-
var
|
|
4049
|
+
var yi = 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 ? yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Si = (e, t) => {
|
|
4053
4050
|
for (var r in t || (t = {}))
|
|
4054
|
-
|
|
4051
|
+
_i.call(t, r) && _t(e, r, t[r]);
|
|
4055
4052
|
if (Et)
|
|
4056
4053
|
for (var r of Et(t))
|
|
4057
|
-
|
|
4054
|
+
Ti.call(t, r) && _t(e, r, t[r]);
|
|
4058
4055
|
return e;
|
|
4059
|
-
}, wi = (e, t) =>
|
|
4056
|
+
}, wi = (e, t) => xi(e, Ei(t));
|
|
4060
4057
|
let We;
|
|
4061
|
-
const
|
|
4058
|
+
const de = ve(null);
|
|
4062
4059
|
function Tt(e) {
|
|
4063
4060
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4064
4061
|
}
|
|
4065
|
-
function
|
|
4062
|
+
function ye(e, t = q().fallbackLocale) {
|
|
4066
4063
|
const r = Tt(e);
|
|
4067
4064
|
return t ? [.../* @__PURE__ */ new Set([...r, ...Tt(t)])] : r;
|
|
4068
4065
|
}
|
|
4069
4066
|
function U() {
|
|
4070
4067
|
return We != null ? We : void 0;
|
|
4071
4068
|
}
|
|
4072
|
-
|
|
4069
|
+
de.subscribe((e) => {
|
|
4073
4070
|
We = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4074
4071
|
});
|
|
4075
|
-
const
|
|
4076
|
-
if (e &&
|
|
4072
|
+
const Pi = (e) => {
|
|
4073
|
+
if (e && fi(e) && ze(e)) {
|
|
4077
4074
|
const { loadingDelay: t } = q();
|
|
4078
4075
|
let r;
|
|
4079
4076
|
return typeof window != "undefined" && U() != null && t ? r = window.setTimeout(
|
|
4080
4077
|
() => Be.set(!0),
|
|
4081
4078
|
t
|
|
4082
4079
|
) : Be.set(!0), sr(e).then(() => {
|
|
4083
|
-
|
|
4080
|
+
de.set(e);
|
|
4084
4081
|
}).finally(() => {
|
|
4085
4082
|
clearTimeout(r), Be.set(!1);
|
|
4086
4083
|
});
|
|
4087
4084
|
}
|
|
4088
|
-
return
|
|
4089
|
-
}, Y = wi(
|
|
4090
|
-
set:
|
|
4085
|
+
return de.set(e);
|
|
4086
|
+
}, Y = wi(Si({}, de), {
|
|
4087
|
+
set: Pi
|
|
4091
4088
|
}), xe = (e) => {
|
|
4092
4089
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4093
4090
|
return (n) => {
|
|
@@ -4095,7 +4092,7 @@ const Hi = (e) => {
|
|
|
4095
4092
|
return i in t ? t[i] : t[i] = e(n);
|
|
4096
4093
|
};
|
|
4097
4094
|
};
|
|
4098
|
-
var
|
|
4095
|
+
var Hi = Object.defineProperty, me = Object.getOwnPropertySymbols, ur = Object.prototype.hasOwnProperty, lr = 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) => {
|
|
4099
4096
|
for (var r in t || (t = {}))
|
|
4100
4097
|
ur.call(t, r) && St(e, r, t[r]);
|
|
4101
4098
|
if (me)
|
|
@@ -4123,14 +4120,14 @@ const ne = (e, t) => {
|
|
|
4123
4120
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4124
4121
|
return n && (i = ne("number", n)), new Intl.NumberFormat(r, i);
|
|
4125
4122
|
}
|
|
4126
|
-
),
|
|
4123
|
+
), Ii = xe(
|
|
4127
4124
|
(e) => {
|
|
4128
4125
|
var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
|
|
4129
4126
|
if (r == null)
|
|
4130
4127
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4131
4128
|
return n ? i = ne("date", n) : Object.keys(i).length === 0 && (i = ne("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4132
4129
|
}
|
|
4133
|
-
),
|
|
4130
|
+
), Bi = xe(
|
|
4134
4131
|
(e) => {
|
|
4135
4132
|
var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
|
|
4136
4133
|
if (r == null)
|
|
@@ -4139,33 +4136,33 @@ const ne = (e, t) => {
|
|
|
4139
4136
|
);
|
|
4140
4137
|
return n ? i = ne("time", n) : Object.keys(i).length === 0 && (i = ne("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4141
4138
|
}
|
|
4142
|
-
),
|
|
4139
|
+
), Ai = (e = {}) => {
|
|
4143
4140
|
var t = e, {
|
|
4144
4141
|
locale: r = U()
|
|
4145
4142
|
} = t, n = J(t, [
|
|
4146
4143
|
"locale"
|
|
4147
4144
|
]);
|
|
4148
4145
|
return Ci(Je({ locale: r }, n));
|
|
4149
|
-
},
|
|
4146
|
+
}, Oi = (e = {}) => {
|
|
4150
4147
|
var t = e, {
|
|
4151
4148
|
locale: r = U()
|
|
4152
4149
|
} = t, n = J(t, [
|
|
4153
4150
|
"locale"
|
|
4154
4151
|
]);
|
|
4155
|
-
return
|
|
4156
|
-
},
|
|
4152
|
+
return Ii(Je({ locale: r }, n));
|
|
4153
|
+
}, Li = (e = {}) => {
|
|
4157
4154
|
var t = e, {
|
|
4158
4155
|
locale: r = U()
|
|
4159
4156
|
} = t, n = J(t, [
|
|
4160
4157
|
"locale"
|
|
4161
4158
|
]);
|
|
4162
|
-
return
|
|
4163
|
-
},
|
|
4159
|
+
return Bi(Je({ locale: r }, n));
|
|
4160
|
+
}, Mi = xe(
|
|
4164
4161
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4165
|
-
(e, t = U()) => new
|
|
4162
|
+
(e, t = U()) => new si(e, t, q().formats, {
|
|
4166
4163
|
ignoreTag: q().ignoreTag
|
|
4167
4164
|
})
|
|
4168
|
-
),
|
|
4165
|
+
), Ni = (e, t = {}) => {
|
|
4169
4166
|
var r, n, i, o;
|
|
4170
4167
|
let a = t;
|
|
4171
4168
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -4189,7 +4186,7 @@ const ne = (e, t) => {
|
|
|
4189
4186
|
return h;
|
|
4190
4187
|
let f = h;
|
|
4191
4188
|
try {
|
|
4192
|
-
f =
|
|
4189
|
+
f = Mi(h, l).format(s);
|
|
4193
4190
|
} catch (c) {
|
|
4194
4191
|
c instanceof Error && console.warn(
|
|
4195
4192
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4197,20 +4194,20 @@ const ne = (e, t) => {
|
|
|
4197
4194
|
);
|
|
4198
4195
|
}
|
|
4199
4196
|
return f;
|
|
4200
|
-
},
|
|
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()) => nr(e, t), Gi = Q([Y, se], () => Ni);
|
|
4198
|
+
Q([Y], () => $i);
|
|
4201
4199
|
Q([Y], () => Ri);
|
|
4202
4200
|
Q([Y], () => Ui);
|
|
4203
|
-
Q([Y], () => Di);
|
|
4204
|
-
|
|
4205
|
-
|
|
4206
|
-
|
|
4207
|
-
function Pt(e, t) {
|
|
4201
|
+
Q([Y, se], () => Di);
|
|
4202
|
+
window.emWidgets = { topic: Kr };
|
|
4203
|
+
const Fi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4204
|
+
function wt(e, t) {
|
|
4208
4205
|
or(e, t);
|
|
4209
4206
|
}
|
|
4210
|
-
function
|
|
4207
|
+
function ji(e) {
|
|
4211
4208
|
Y.set(e);
|
|
4212
4209
|
}
|
|
4213
|
-
const
|
|
4210
|
+
const Pt = {
|
|
4214
4211
|
en: {
|
|
4215
4212
|
name: "Info",
|
|
4216
4213
|
amountChanged: "Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",
|
|
@@ -4267,57 +4264,59 @@ const wt = {
|
|
|
4267
4264
|
defaultText: "Oyun limiti belirlediğinizde, aktif hale getirdiğiniz andan itibaren geçerli olur ve seçilen sürenin sonuna kadar sürer. Bu nedenle, eğer günlük limiti saat 14.00 olarak ayarlarsanız, 24 saatlik süre, etkinleştirildiği andan saat 00:00 GMT'ye kadardır. Limit daha sonra 24 gün boyunca geçerlidir. Dilediğiniz zaman anında etkili olacak şekilde bir limiti düşürebilirsiniz. ancak mevcut limitin süresi dolana kadar limitin arttırılması veya kaldırılması geçerli olmayacaktır."
|
|
4268
4265
|
}
|
|
4269
4266
|
};
|
|
4270
|
-
function
|
|
4271
|
-
|
|
4267
|
+
function ki(e) {
|
|
4268
|
+
vr(e, "svelte-hyxi0a", '.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(--emfe-w-color-gray-50, #F9F8F8)}.InfoCardPopupWrapper{width:200px;padding:20px;color:var(--emfe-w-color-black, #000000);background:var(--emfe-w-color-white, #FFFFFF);box-shadow:0 4px 12px var(--emfe-w-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(--emfe-w-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(--emfe-w-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(--emfe-w-color-secondary, var(--emfe-w-color-secondary, #FD2839));fill:var(--emfe-w-color-secondary, var(--emfe-w-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(--emfe-w-color-white, #FFFFFF);cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:32px;height:32px;fill:var(--emfe-w-color-black, #000000)}');
|
|
4272
4269
|
}
|
|
4273
4270
|
function Ht(e) {
|
|
4274
4271
|
let t, r, n, i, o, a, s = (
|
|
4275
4272
|
/*$_*/
|
|
4276
4273
|
e[4]("name") + ""
|
|
4277
|
-
), l, u, h, f, c,
|
|
4278
|
-
function S(x,
|
|
4274
|
+
), l, u, h, f, c, p, y, g;
|
|
4275
|
+
function S(x, w) {
|
|
4279
4276
|
return (
|
|
4280
4277
|
/*iteminfoamount*/
|
|
4281
|
-
x[0] ?
|
|
4278
|
+
x[0] ? zi : Vi
|
|
4282
4279
|
);
|
|
4283
4280
|
}
|
|
4284
|
-
let
|
|
4281
|
+
let P = S(e), _ = P(e);
|
|
4285
4282
|
return {
|
|
4286
4283
|
c() {
|
|
4287
|
-
t = A("section"), r = A("div"), n = A("div"), i = A("div"), i.textContent = "i", o = _e(), a = A("div"), l = ae(s), u = _e(), h = A("div"), h.innerHTML = '<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg>', f = _e(), c = A("div"), _.c(), B(i, "class", "InfoCardPopupIcon
|
|
4284
|
+
t = A("section"), r = A("div"), n = A("div"), i = A("div"), i.textContent = "i", o = _e(), a = A("div"), l = ae(s), u = _e(), h = A("div"), h.innerHTML = '<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg>', f = _e(), c = A("div"), _.c(), B(i, "class", "InfoCardPopupIcon"), B(a, "class", "InfoCardPopupTitle"), B(h, "class", "InfoCardPopupCloseButton"), B(n, "class", "InfoCardPopupHeader"), B(c, "class", "InfoCardPopupContentArea"), B(r, "class", p = "InfoCardPopupWrapper " + /*isMobile*/
|
|
4288
4285
|
(e[5] ? "InfoCardPopupMobileWrapper" : "") + " " + /*iteminfoamount*/
|
|
4289
|
-
(e[0] ? "InfoCardPopupLimitChanged" : "")
|
|
4286
|
+
(e[0] ? "InfoCardPopupLimitChanged" : "")), B(
|
|
4287
|
+
t,
|
|
4288
|
+
"class",
|
|
4290
4289
|
/*isMobile*/
|
|
4291
4290
|
e[5] ? "InfoCardPopupMobileModal" : ""
|
|
4292
|
-
)
|
|
4291
|
+
);
|
|
4293
4292
|
},
|
|
4294
|
-
m(x,
|
|
4295
|
-
oe(x, t,
|
|
4293
|
+
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), y || (g = Er(h, "click", _r(
|
|
4296
4295
|
/*closeInfoPopup*/
|
|
4297
4296
|
e[6]
|
|
4298
|
-
)),
|
|
4297
|
+
)), y = !0);
|
|
4299
4298
|
},
|
|
4300
|
-
p(x,
|
|
4301
|
-
|
|
4299
|
+
p(x, w) {
|
|
4300
|
+
w & /*$_*/
|
|
4302
4301
|
16 && s !== (s = /*$_*/
|
|
4303
|
-
x[4]("name") + "") && qe(l, s),
|
|
4304
|
-
1 &&
|
|
4302
|
+
x[4]("name") + "") && qe(l, s), P === (P = S(x)) && _ ? _.p(x, w) : (_.d(1), _ = P(x), _ && (_.c(), _.m(c, null))), w & /*iteminfoamount*/
|
|
4303
|
+
1 && p !== (p = "InfoCardPopupWrapper " + /*isMobile*/
|
|
4305
4304
|
(x[5] ? "InfoCardPopupMobileWrapper" : "") + " " + /*iteminfoamount*/
|
|
4306
|
-
(x[0] ? "InfoCardPopupLimitChanged" : "")
|
|
4305
|
+
(x[0] ? "InfoCardPopupLimitChanged" : "")) && B(r, "class", p);
|
|
4307
4306
|
},
|
|
4308
4307
|
d(x) {
|
|
4309
|
-
x && Z(t), _.d(), e[12](null),
|
|
4308
|
+
x && Z(t), _.d(), e[12](null), y = !1, g();
|
|
4310
4309
|
}
|
|
4311
4310
|
};
|
|
4312
4311
|
}
|
|
4313
|
-
function
|
|
4312
|
+
function Vi(e) {
|
|
4314
4313
|
let t, r = (
|
|
4315
4314
|
/*$_*/
|
|
4316
4315
|
e[4]("defaultText") + ""
|
|
4317
4316
|
), n;
|
|
4318
4317
|
return {
|
|
4319
4318
|
c() {
|
|
4320
|
-
t = A("p"), n = ae(r), B(t, "class", "InfoCardPopupContent
|
|
4319
|
+
t = A("p"), n = ae(r), B(t, "class", "InfoCardPopupContent");
|
|
4321
4320
|
},
|
|
4322
4321
|
m(i, o) {
|
|
4323
4322
|
oe(i, t, o), H(t, n);
|
|
@@ -4332,7 +4331,7 @@ function zi(e) {
|
|
|
4332
4331
|
}
|
|
4333
4332
|
};
|
|
4334
4333
|
}
|
|
4335
|
-
function
|
|
4334
|
+
function zi(e) {
|
|
4336
4335
|
let t, r = (
|
|
4337
4336
|
/*$_*/
|
|
4338
4337
|
e[4]("amountChanged", {
|
|
@@ -4350,7 +4349,7 @@ function Wi(e) {
|
|
|
4350
4349
|
), n;
|
|
4351
4350
|
return {
|
|
4352
4351
|
c() {
|
|
4353
|
-
t = A("p"), n = ae(r), B(t, "class", "InfoCardPopupContent
|
|
4352
|
+
t = A("p"), n = ae(r), B(t, "class", "InfoCardPopupContent");
|
|
4354
4353
|
},
|
|
4355
4354
|
m(i, o) {
|
|
4356
4355
|
oe(i, t, o), H(t, n);
|
|
@@ -4376,14 +4375,14 @@ function Wi(e) {
|
|
|
4376
4375
|
}
|
|
4377
4376
|
};
|
|
4378
4377
|
}
|
|
4379
|
-
function
|
|
4378
|
+
function Wi(e) {
|
|
4380
4379
|
let t, r = (
|
|
4381
4380
|
/*showPopup*/
|
|
4382
4381
|
e[3] && Ht(e)
|
|
4383
4382
|
);
|
|
4384
4383
|
return {
|
|
4385
4384
|
c() {
|
|
4386
|
-
r && r.c(), t =
|
|
4385
|
+
r && r.c(), t = xr();
|
|
4387
4386
|
},
|
|
4388
4387
|
m(n, i) {
|
|
4389
4388
|
r && r.m(n, i), oe(n, t, i);
|
|
@@ -4399,23 +4398,23 @@ function Xi(e) {
|
|
|
4399
4398
|
}
|
|
4400
4399
|
};
|
|
4401
4400
|
}
|
|
4402
|
-
function
|
|
4401
|
+
function Xi(e, t, r) {
|
|
4403
4402
|
let n;
|
|
4404
|
-
br(e,
|
|
4403
|
+
br(e, Gi, (d) => r(4, n = d));
|
|
4405
4404
|
let { showpopup: i = "" } = t, { iteminfoamount: o = "" } = t, { lang: a = "en" } = t, { playercurrency: s = "USD" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: h = "" } = t;
|
|
4406
4405
|
const f = () => {
|
|
4407
|
-
fetch(h).then((
|
|
4408
|
-
Object.keys(
|
|
4409
|
-
|
|
4406
|
+
fetch(h).then((C) => C.json()).then((C) => {
|
|
4407
|
+
Object.keys(C).forEach((D) => {
|
|
4408
|
+
wt(D, C[D]);
|
|
4410
4409
|
});
|
|
4411
|
-
}).catch((
|
|
4412
|
-
console.log(
|
|
4410
|
+
}).catch((C) => {
|
|
4411
|
+
console.log(C);
|
|
4413
4412
|
});
|
|
4414
4413
|
};
|
|
4415
|
-
Object.keys(
|
|
4416
|
-
|
|
4414
|
+
Object.keys(Pt).forEach((d) => {
|
|
4415
|
+
wt(d, Pt[d]);
|
|
4417
4416
|
});
|
|
4418
|
-
let c = !1,
|
|
4417
|
+
let c = !1, p, y = window.navigator.userAgent, g = Fi(y) !== "PC";
|
|
4419
4418
|
const S = () => {
|
|
4420
4419
|
r(3, c = !1), window.postMessage(
|
|
4421
4420
|
{
|
|
@@ -4423,47 +4422,47 @@ function qi(e, t, r) {
|
|
|
4423
4422
|
},
|
|
4424
4423
|
window.location.href
|
|
4425
4424
|
);
|
|
4426
|
-
},
|
|
4427
|
-
|
|
4425
|
+
}, P = (d) => {
|
|
4426
|
+
d.data && d.data.type == "ClosePlayerAccountGamingLimitsPopup" && r(3, c = !1);
|
|
4428
4427
|
}, _ = () => {
|
|
4429
|
-
|
|
4428
|
+
ji(a), o < 0 && r(0, o = "0"), r(3, c = i);
|
|
4430
4429
|
}, x = () => {
|
|
4431
|
-
let
|
|
4432
|
-
|
|
4433
|
-
},
|
|
4434
|
-
let
|
|
4435
|
-
fetch(
|
|
4436
|
-
|
|
4430
|
+
let d = document.createElement("style");
|
|
4431
|
+
d.innerHTML = l, p.appendChild(d);
|
|
4432
|
+
}, w = () => {
|
|
4433
|
+
let d = new URL(u), C = document.createElement("style");
|
|
4434
|
+
fetch(d.href).then((D) => D.text()).then((D) => {
|
|
4435
|
+
C.innerHTML = D, setTimeout(
|
|
4437
4436
|
() => {
|
|
4438
|
-
|
|
4437
|
+
p.appendChild(C);
|
|
4439
4438
|
},
|
|
4440
4439
|
1
|
|
4441
4440
|
);
|
|
4442
4441
|
});
|
|
4443
4442
|
};
|
|
4444
|
-
|
|
4445
|
-
window.removeEventListener("message",
|
|
4443
|
+
Pr(() => (window.addEventListener("message", P, !1), () => {
|
|
4444
|
+
window.removeEventListener("message", P);
|
|
4446
4445
|
}));
|
|
4447
|
-
function L(
|
|
4448
|
-
Ae[
|
|
4449
|
-
|
|
4446
|
+
function L(d) {
|
|
4447
|
+
Ae[d ? "unshift" : "push"](() => {
|
|
4448
|
+
p = d, r(2, p);
|
|
4450
4449
|
});
|
|
4451
4450
|
}
|
|
4452
|
-
return e.$$set = (
|
|
4453
|
-
"showpopup" in
|
|
4451
|
+
return e.$$set = (d) => {
|
|
4452
|
+
"showpopup" in d && r(7, i = d.showpopup), "iteminfoamount" in d && r(0, o = d.iteminfoamount), "lang" in d && r(8, a = d.lang), "playercurrency" in d && r(1, s = d.playercurrency), "clientstyling" in d && r(9, l = d.clientstyling), "clientstylingurl" in d && r(10, u = d.clientstylingurl), "translationurl" in d && r(11, h = d.translationurl);
|
|
4454
4453
|
}, e.$$.update = () => {
|
|
4455
4454
|
e.$$.dirty & /*showpopup, lang*/
|
|
4456
4455
|
384 && i && a && _(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4457
|
-
1028 && u &&
|
|
4458
|
-
516 && l &&
|
|
4456
|
+
1028 && u && p && w(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4457
|
+
516 && l && p && x(), e.$$.dirty & /*translationurl*/
|
|
4459
4458
|
2048 && h && f();
|
|
4460
4459
|
}, [
|
|
4461
4460
|
o,
|
|
4462
4461
|
s,
|
|
4463
|
-
|
|
4462
|
+
p,
|
|
4464
4463
|
c,
|
|
4465
4464
|
n,
|
|
4466
|
-
|
|
4465
|
+
g,
|
|
4467
4466
|
S,
|
|
4468
4467
|
i,
|
|
4469
4468
|
a,
|
|
@@ -4473,14 +4472,14 @@ function qi(e, t, r) {
|
|
|
4473
4472
|
L
|
|
4474
4473
|
];
|
|
4475
4474
|
}
|
|
4476
|
-
class
|
|
4475
|
+
class qi extends Ur {
|
|
4477
4476
|
constructor(t) {
|
|
4478
|
-
super(),
|
|
4477
|
+
super(), $r(
|
|
4479
4478
|
this,
|
|
4480
4479
|
t,
|
|
4481
|
-
qi,
|
|
4482
4480
|
Xi,
|
|
4483
|
-
|
|
4481
|
+
Wi,
|
|
4482
|
+
It,
|
|
4484
4483
|
{
|
|
4485
4484
|
showpopup: 7,
|
|
4486
4485
|
iteminfoamount: 0,
|
|
@@ -4490,7 +4489,7 @@ class Zi extends Dr {
|
|
|
4490
4489
|
clientstylingurl: 10,
|
|
4491
4490
|
translationurl: 11
|
|
4492
4491
|
},
|
|
4493
|
-
|
|
4492
|
+
ki
|
|
4494
4493
|
);
|
|
4495
4494
|
}
|
|
4496
4495
|
get showpopup() {
|
|
@@ -4536,7 +4535,7 @@ class Zi extends Dr {
|
|
|
4536
4535
|
this.$$set({ translationurl: t }), M();
|
|
4537
4536
|
}
|
|
4538
4537
|
}
|
|
4539
|
-
|
|
4538
|
+
Rr(qi, { showpopup: {}, iteminfoamount: {}, lang: {}, playercurrency: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
4540
4539
|
export {
|
|
4541
|
-
|
|
4540
|
+
qi as default
|
|
4542
4541
|
};
|