@everymatrix/player-account-gaming-limits-popup 1.54.12 → 1.55.0
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-DOUc4vrQ.js → PlayerAccountGamingLimitsPopup-Cwwha4We.js} +547 -525
- package/components/PlayerAccountGamingLimitsPopup-Czq9kJGd.cjs +5 -0
- package/components/{PlayerAccountGamingLimitsPopup-DeitwP5-.js → PlayerAccountGamingLimitsPopup-Ohtxa3G1.js} +538 -516
- package/es2015/player-account-gaming-limits-popup.cjs +1 -1
- package/es2015/player-account-gaming-limits-popup.js +1 -1
- package/esnext/player-account-gaming-limits-popup.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountGamingLimitsPopup-DpJ3pgkN.cjs +0 -5
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var lr = Object.defineProperty, hr = Object.defineProperties;
|
|
2
|
+
var cr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var Ke = Object.getOwnPropertySymbols;
|
|
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
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
fr.call(t, r) && Ee(e, r, t[r]);
|
|
8
|
+
if (Ke)
|
|
9
|
+
for (var r of Ke(t))
|
|
10
|
+
pr.call(t, r) && Ee(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var C = (e, t, r) =>
|
|
14
|
-
var
|
|
12
|
+
}, tt = (e, t) => hr(e, cr(t));
|
|
13
|
+
var C = (e, t, r) => Ee(e, typeof t != "symbol" ? t + "" : t, r);
|
|
14
|
+
var rt = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (l) => {
|
|
16
16
|
try {
|
|
17
17
|
s(r.next(l));
|
|
@@ -29,25 +29,25 @@ var Ke = (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
|
-
function
|
|
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
|
-
function
|
|
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
|
-
function
|
|
50
|
+
function Bt(e, ...t) {
|
|
51
51
|
if (e == null) {
|
|
52
52
|
for (const n of t)
|
|
53
53
|
n(void 0);
|
|
@@ -56,20 +56,20 @@ function Ht(e, ...t) {
|
|
|
56
56
|
const r = e.subscribe(...t);
|
|
57
57
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
60
|
-
e.$$.on_destroy.push(
|
|
59
|
+
function mr(e, t, r) {
|
|
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
|
-
i.id = t, i.textContent = r,
|
|
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} */
|
|
@@ -78,7 +78,7 @@ function pr(e) {
|
|
|
78
78
|
t
|
|
79
79
|
) : e.ownerDocument;
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function yr(e, t) {
|
|
82
82
|
return H(
|
|
83
83
|
/** @type {Document} */
|
|
84
84
|
e.head || e,
|
|
@@ -97,16 +97,16 @@ function A(e) {
|
|
|
97
97
|
function ae(e) {
|
|
98
98
|
return document.createTextNode(e);
|
|
99
99
|
}
|
|
100
|
-
function
|
|
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 vr(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
|
-
function
|
|
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,26 +134,26 @@ 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
|
-
const j = [],
|
|
144
|
+
const j = [], Ae = [];
|
|
145
145
|
let k = [];
|
|
146
|
-
const
|
|
147
|
-
let
|
|
148
|
-
function
|
|
149
|
-
|
|
146
|
+
const it = [], Pr = /* @__PURE__ */ Promise.resolve();
|
|
147
|
+
let Oe = !1;
|
|
148
|
+
function Hr() {
|
|
149
|
+
Oe || (Oe = !0, Pr.then(M));
|
|
150
150
|
}
|
|
151
|
-
function
|
|
151
|
+
function Le(e) {
|
|
152
152
|
k.push(e);
|
|
153
153
|
}
|
|
154
154
|
const Te = /* @__PURE__ */ new Set();
|
|
155
155
|
let D = 0;
|
|
156
|
-
function
|
|
156
|
+
function M() {
|
|
157
157
|
if (D !== 0)
|
|
158
158
|
return;
|
|
159
159
|
const e = te;
|
|
@@ -161,52 +161,52 @@ function N() {
|
|
|
161
161
|
try {
|
|
162
162
|
for (; D < j.length; ) {
|
|
163
163
|
const t = j[D];
|
|
164
|
-
D++, ee(t),
|
|
164
|
+
D++, ee(t), Ir(t.$$);
|
|
165
165
|
}
|
|
166
166
|
} catch (t) {
|
|
167
167
|
throw j.length = 0, D = 0, t;
|
|
168
168
|
}
|
|
169
|
-
for (ee(null), j.length = 0, D = 0;
|
|
169
|
+
for (ee(null), j.length = 0, D = 0; Ae.length; ) Ae.pop()();
|
|
170
170
|
for (let t = 0; t < k.length; t += 1) {
|
|
171
171
|
const r = k[t];
|
|
172
172
|
Te.has(r) || (Te.add(r), r());
|
|
173
173
|
}
|
|
174
174
|
k.length = 0;
|
|
175
175
|
} while (j.length);
|
|
176
|
-
for (;
|
|
177
|
-
|
|
178
|
-
|
|
176
|
+
for (; it.length; )
|
|
177
|
+
it.pop()();
|
|
178
|
+
Oe = !1, Te.clear(), ee(e);
|
|
179
179
|
}
|
|
180
|
-
function
|
|
180
|
+
function Ir(e) {
|
|
181
181
|
if (e.fragment !== null) {
|
|
182
182
|
e.update(), ie(e.before_update);
|
|
183
183
|
const t = e.dirty;
|
|
184
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
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
|
-
n && n.m(t, r),
|
|
198
|
-
const o = e.$$.on_mount.map(
|
|
197
|
+
n && n.m(t, r), Le(() => {
|
|
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
|
-
}), i.forEach(
|
|
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.$$ = {
|
|
@@ -216,7 +216,7 @@ function Ar(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
216
216
|
props: o,
|
|
217
217
|
update: O,
|
|
218
218
|
not_equal: i,
|
|
219
|
-
bound:
|
|
219
|
+
bound: nt(),
|
|
220
220
|
// lifecycle
|
|
221
221
|
on_mount: [],
|
|
222
222
|
on_destroy: [],
|
|
@@ -225,7 +225,7 @@ function Ar(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
225
225
|
after_update: [],
|
|
226
226
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
227
227
|
// everything else
|
|
228
|
-
callbacks:
|
|
228
|
+
callbacks: nt(),
|
|
229
229
|
dirty: s,
|
|
230
230
|
skip_bound: !1,
|
|
231
231
|
root: t.target || l.$$.root
|
|
@@ -234,19 +234,19 @@ function Ar(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
234
234
|
let h = !1;
|
|
235
235
|
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
|
|
236
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 &&
|
|
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
|
}
|
|
248
|
-
let
|
|
249
|
-
typeof HTMLElement == "function" && (
|
|
248
|
+
let At;
|
|
249
|
+
typeof HTMLElement == "function" && (At = class extends HTMLElement {
|
|
250
250
|
constructor(t, r, n) {
|
|
251
251
|
super();
|
|
252
252
|
/** The Svelte component constructor */
|
|
@@ -283,7 +283,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
|
|
|
283
283
|
}
|
|
284
284
|
}
|
|
285
285
|
connectedCallback() {
|
|
286
|
-
return
|
|
286
|
+
return rt(this, null, function* () {
|
|
287
287
|
if (this.$$cn = !0, !this.$$c) {
|
|
288
288
|
let t = function(o) {
|
|
289
289
|
return () => {
|
|
@@ -307,7 +307,7 @@ typeof HTMLElement == "function" && (It = 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) {
|
|
@@ -318,7 +318,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
|
|
|
318
318
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
319
319
|
this.$$c = new this.$$ctor({
|
|
320
320
|
target: this.shadowRoot || this,
|
|
321
|
-
props:
|
|
321
|
+
props: tt(et({}, this.$$d), {
|
|
322
322
|
$$slots: r,
|
|
323
323
|
$$scope: {
|
|
324
324
|
ctx: []
|
|
@@ -396,8 +396,8 @@ function he(e, t, r, n) {
|
|
|
396
396
|
return t;
|
|
397
397
|
}
|
|
398
398
|
}
|
|
399
|
-
function
|
|
400
|
-
let a = class extends
|
|
399
|
+
function $r(e, t, r, n, i, o) {
|
|
400
|
+
let a = class extends At {
|
|
401
401
|
constructor() {
|
|
402
402
|
super(e, r, i), this.$$p_d = t;
|
|
403
403
|
}
|
|
@@ -427,7 +427,7 @@ function Or(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
|
|
@@ -448,7 +448,7 @@ class Lr {
|
|
|
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
|
|
@@ -457,7 +457,7 @@ class Lr {
|
|
|
457
457
|
* @returns {() => void}
|
|
458
458
|
*/
|
|
459
459
|
$on(t, r) {
|
|
460
|
-
if (!
|
|
460
|
+
if (!Xe(r))
|
|
461
461
|
return O;
|
|
462
462
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
463
463
|
return n.push(r), () => {
|
|
@@ -470,22 +470,22 @@ class Lr {
|
|
|
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(
|
|
478
|
-
var
|
|
479
|
-
return
|
|
476
|
+
const Ur = "4";
|
|
477
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ur);
|
|
478
|
+
var Me = function(e, t) {
|
|
479
|
+
return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
480
480
|
r.__proto__ = n;
|
|
481
481
|
} || function(r, n) {
|
|
482
482
|
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
483
|
-
},
|
|
483
|
+
}, Me(e, t);
|
|
484
484
|
};
|
|
485
485
|
function $(e, t) {
|
|
486
486
|
if (typeof t != "function" && t !== null)
|
|
487
487
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
488
|
-
|
|
488
|
+
Me(e, t);
|
|
489
489
|
function r() {
|
|
490
490
|
this.constructor = e;
|
|
491
491
|
}
|
|
@@ -500,7 +500,7 @@ var v = function() {
|
|
|
500
500
|
return t;
|
|
501
501
|
}, v.apply(this, arguments);
|
|
502
502
|
};
|
|
503
|
-
function
|
|
503
|
+
function Gr(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")
|
|
@@ -518,7 +518,7 @@ function Ne(e) {
|
|
|
518
518
|
};
|
|
519
519
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
520
520
|
}
|
|
521
|
-
function
|
|
521
|
+
function $e(e, t) {
|
|
522
522
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
523
523
|
if (!r) return e;
|
|
524
524
|
var n = r.call(e), i, o = [], a;
|
|
@@ -540,16 +540,16 @@ function V(e, t, r) {
|
|
|
540
540
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
541
541
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
542
542
|
}
|
|
543
|
-
function
|
|
543
|
+
function N(e) {
|
|
544
544
|
return typeof e == "function";
|
|
545
545
|
}
|
|
546
|
-
function
|
|
546
|
+
function Ot(e) {
|
|
547
547
|
var t = function(n) {
|
|
548
548
|
Error.call(n), n.stack = new Error().stack;
|
|
549
549
|
}, r = e(t);
|
|
550
550
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
551
551
|
}
|
|
552
|
-
var Se =
|
|
552
|
+
var Se = Ot(function(e) {
|
|
553
553
|
return function(r) {
|
|
554
554
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
555
555
|
` + r.map(function(n, i) {
|
|
@@ -558,7 +558,7 @@ var Se = Ct(function(e) {
|
|
|
558
558
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
559
559
|
};
|
|
560
560
|
});
|
|
561
|
-
function
|
|
561
|
+
function Re(e, t) {
|
|
562
562
|
if (e) {
|
|
563
563
|
var r = e.indexOf(t);
|
|
564
564
|
0 <= r && e.splice(r, 1);
|
|
@@ -592,7 +592,7 @@ var be = function() {
|
|
|
592
592
|
else
|
|
593
593
|
a.remove(this);
|
|
594
594
|
var h = this.initialTeardown;
|
|
595
|
-
if (
|
|
595
|
+
if (N(h))
|
|
596
596
|
try {
|
|
597
597
|
h();
|
|
598
598
|
} catch (y) {
|
|
@@ -605,9 +605,9 @@ var be = function() {
|
|
|
605
605
|
for (var c = Ne(f), p = c.next(); !p.done; p = c.next()) {
|
|
606
606
|
var g = p.value;
|
|
607
607
|
try {
|
|
608
|
-
|
|
608
|
+
ot(g);
|
|
609
609
|
} catch (y) {
|
|
610
|
-
o = o != null ? o : [], y instanceof Se ? o = V(V([],
|
|
610
|
+
o = o != null ? o : [], y instanceof Se ? o = V(V([], $e(o)), $e(y.errors)) : o.push(y);
|
|
611
611
|
}
|
|
612
612
|
}
|
|
613
613
|
} catch (y) {
|
|
@@ -627,7 +627,7 @@ var be = function() {
|
|
|
627
627
|
var r;
|
|
628
628
|
if (t && t !== this)
|
|
629
629
|
if (this.closed)
|
|
630
|
-
|
|
630
|
+
ot(t);
|
|
631
631
|
else {
|
|
632
632
|
if (t instanceof e) {
|
|
633
633
|
if (t.closed || t._hasParent(this))
|
|
@@ -644,52 +644,56 @@ var be = function() {
|
|
|
644
644
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
645
645
|
}, e.prototype._removeParent = function(t) {
|
|
646
646
|
var r = this._parentage;
|
|
647
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
647
|
+
r === t ? this._parentage = null : Array.isArray(r) && Re(r, t);
|
|
648
648
|
}, e.prototype.remove = function(t) {
|
|
649
649
|
var r = this._finalizers;
|
|
650
|
-
r &&
|
|
650
|
+
r && Re(r, t), t instanceof e && t._removeParent(this);
|
|
651
651
|
}, e.EMPTY = function() {
|
|
652
652
|
var t = new e();
|
|
653
653
|
return t.closed = !0, t;
|
|
654
654
|
}(), e;
|
|
655
|
-
}(),
|
|
656
|
-
function
|
|
657
|
-
return e instanceof be || e && "closed" in e &&
|
|
655
|
+
}(), Lt = be.EMPTY;
|
|
656
|
+
function Mt(e) {
|
|
657
|
+
return e instanceof be || e && "closed" in e && N(e.remove) && N(e.add) && N(e.unsubscribe);
|
|
658
658
|
}
|
|
659
|
-
function
|
|
660
|
-
|
|
661
|
-
}
|
|
662
|
-
var
|
|
663
|
-
|
|
664
|
-
|
|
659
|
+
function ot(e) {
|
|
660
|
+
N(e) ? e() : e.unsubscribe();
|
|
661
|
+
}
|
|
662
|
+
var Nt = {
|
|
663
|
+
onUnhandledError: null,
|
|
664
|
+
onStoppedNotification: null,
|
|
665
|
+
Promise: void 0,
|
|
666
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
667
|
+
useDeprecatedNextContext: !1
|
|
668
|
+
}, Dr = {
|
|
665
669
|
setTimeout: function(e, t) {
|
|
666
670
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
667
671
|
r[n - 2] = arguments[n];
|
|
668
|
-
return setTimeout.apply(void 0, V([e, t],
|
|
672
|
+
return setTimeout.apply(void 0, V([e, t], $e(r)));
|
|
669
673
|
},
|
|
670
674
|
clearTimeout: function(e) {
|
|
671
675
|
return clearTimeout(e);
|
|
672
676
|
},
|
|
673
677
|
delegate: void 0
|
|
674
678
|
};
|
|
675
|
-
function
|
|
676
|
-
|
|
679
|
+
function Fr(e) {
|
|
680
|
+
Dr.setTimeout(function() {
|
|
677
681
|
throw e;
|
|
678
682
|
});
|
|
679
683
|
}
|
|
680
|
-
function
|
|
684
|
+
function at() {
|
|
681
685
|
}
|
|
682
686
|
function ce(e) {
|
|
683
687
|
e();
|
|
684
688
|
}
|
|
685
|
-
var
|
|
689
|
+
var $t = function(e) {
|
|
686
690
|
$(t, e);
|
|
687
691
|
function t(r) {
|
|
688
692
|
var n = e.call(this) || this;
|
|
689
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
693
|
+
return n.isStopped = !1, r ? (n.destination = r, Mt(r) && r.add(n)) : n.destination = zr, n;
|
|
690
694
|
}
|
|
691
695
|
return t.create = function(r, n, i) {
|
|
692
|
-
return new
|
|
696
|
+
return new Ue(r, n, i);
|
|
693
697
|
}, t.prototype.next = function(r) {
|
|
694
698
|
this.isStopped || this._next(r);
|
|
695
699
|
}, t.prototype.error = function(r) {
|
|
@@ -713,7 +717,11 @@ var Ot = function(e) {
|
|
|
713
717
|
this.unsubscribe();
|
|
714
718
|
}
|
|
715
719
|
}, t;
|
|
716
|
-
}(be),
|
|
720
|
+
}(be), jr = Function.prototype.bind;
|
|
721
|
+
function we(e, t) {
|
|
722
|
+
return jr.call(e, t);
|
|
723
|
+
}
|
|
724
|
+
var kr = function() {
|
|
717
725
|
function e(t) {
|
|
718
726
|
this.partialObserver = t;
|
|
719
727
|
}
|
|
@@ -744,43 +752,55 @@ var Ot = function(e) {
|
|
|
744
752
|
ue(r);
|
|
745
753
|
}
|
|
746
754
|
}, e;
|
|
747
|
-
}(),
|
|
755
|
+
}(), Ue = function(e) {
|
|
748
756
|
$(t, e);
|
|
749
757
|
function t(r, n, i) {
|
|
750
758
|
var o = e.call(this) || this, a;
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
759
|
+
if (N(r) || !r)
|
|
760
|
+
a = {
|
|
761
|
+
next: r != null ? r : void 0,
|
|
762
|
+
error: n != null ? n : void 0,
|
|
763
|
+
complete: i != null ? i : void 0
|
|
764
|
+
};
|
|
765
|
+
else {
|
|
766
|
+
var s;
|
|
767
|
+
o && Nt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
|
|
768
|
+
return o.unsubscribe();
|
|
769
|
+
}, a = {
|
|
770
|
+
next: r.next && we(r.next, s),
|
|
771
|
+
error: r.error && we(r.error, s),
|
|
772
|
+
complete: r.complete && we(r.complete, s)
|
|
773
|
+
}) : a = r;
|
|
774
|
+
}
|
|
775
|
+
return o.destination = new kr(a), o;
|
|
756
776
|
}
|
|
757
777
|
return t;
|
|
758
|
-
}(
|
|
778
|
+
}($t);
|
|
759
779
|
function ue(e) {
|
|
760
|
-
|
|
780
|
+
Fr(e);
|
|
761
781
|
}
|
|
762
|
-
function
|
|
782
|
+
function Vr(e) {
|
|
763
783
|
throw e;
|
|
764
784
|
}
|
|
765
|
-
var
|
|
785
|
+
var zr = {
|
|
766
786
|
closed: !0,
|
|
767
|
-
next:
|
|
768
|
-
error:
|
|
769
|
-
complete:
|
|
770
|
-
},
|
|
787
|
+
next: at,
|
|
788
|
+
error: Vr,
|
|
789
|
+
complete: at
|
|
790
|
+
}, Wr = function() {
|
|
771
791
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
772
792
|
}();
|
|
773
|
-
function
|
|
793
|
+
function Xr(e) {
|
|
774
794
|
return e;
|
|
775
795
|
}
|
|
776
|
-
function
|
|
777
|
-
return e.length === 0 ?
|
|
796
|
+
function qr(e) {
|
|
797
|
+
return e.length === 0 ? Xr : e.length === 1 ? e[0] : function(r) {
|
|
778
798
|
return e.reduce(function(n, i) {
|
|
779
799
|
return i(n);
|
|
780
800
|
}, r);
|
|
781
801
|
};
|
|
782
802
|
}
|
|
783
|
-
var
|
|
803
|
+
var st = function() {
|
|
784
804
|
function e(t) {
|
|
785
805
|
t && (this._subscribe = t);
|
|
786
806
|
}
|
|
@@ -788,7 +808,7 @@ var it = function() {
|
|
|
788
808
|
var r = new e();
|
|
789
809
|
return r.source = this, r.operator = t, r;
|
|
790
810
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
791
|
-
var i = this, o =
|
|
811
|
+
var i = this, o = Yr(t) ? t : new Ue(t, r, n);
|
|
792
812
|
return ce(function() {
|
|
793
813
|
var a = i, s = a.operator, l = a.source;
|
|
794
814
|
o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -801,8 +821,8 @@ var it = function() {
|
|
|
801
821
|
}
|
|
802
822
|
}, e.prototype.forEach = function(t, r) {
|
|
803
823
|
var n = this;
|
|
804
|
-
return r =
|
|
805
|
-
var a = new
|
|
824
|
+
return r = ut(r), new r(function(i, o) {
|
|
825
|
+
var a = new Ue({
|
|
806
826
|
next: function(s) {
|
|
807
827
|
try {
|
|
808
828
|
t(s);
|
|
@@ -818,15 +838,15 @@ var it = function() {
|
|
|
818
838
|
}, e.prototype._subscribe = function(t) {
|
|
819
839
|
var r;
|
|
820
840
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
821
|
-
}, e.prototype[
|
|
841
|
+
}, e.prototype[Wr] = function() {
|
|
822
842
|
return this;
|
|
823
843
|
}, e.prototype.pipe = function() {
|
|
824
844
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
825
845
|
t[r] = arguments[r];
|
|
826
|
-
return
|
|
846
|
+
return qr(t)(this);
|
|
827
847
|
}, e.prototype.toPromise = function(t) {
|
|
828
848
|
var r = this;
|
|
829
|
-
return t =
|
|
849
|
+
return t = ut(t), new t(function(n, i) {
|
|
830
850
|
var o;
|
|
831
851
|
r.subscribe(function(a) {
|
|
832
852
|
return o = a;
|
|
@@ -840,32 +860,32 @@ var it = function() {
|
|
|
840
860
|
return new e(t);
|
|
841
861
|
}, e;
|
|
842
862
|
}();
|
|
843
|
-
function
|
|
863
|
+
function ut(e) {
|
|
844
864
|
var t;
|
|
845
|
-
return (t = e != null ? e :
|
|
865
|
+
return (t = e != null ? e : Nt.Promise) !== null && t !== void 0 ? t : Promise;
|
|
846
866
|
}
|
|
847
|
-
function
|
|
848
|
-
return e &&
|
|
867
|
+
function Zr(e) {
|
|
868
|
+
return e && N(e.next) && N(e.error) && N(e.complete);
|
|
849
869
|
}
|
|
850
|
-
function
|
|
851
|
-
return e && e instanceof
|
|
870
|
+
function Yr(e) {
|
|
871
|
+
return e && e instanceof $t || Zr(e) && Mt(e);
|
|
852
872
|
}
|
|
853
|
-
var
|
|
873
|
+
var Qr = Ot(function(e) {
|
|
854
874
|
return function() {
|
|
855
875
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
856
876
|
};
|
|
857
|
-
}),
|
|
877
|
+
}), Rt = function(e) {
|
|
858
878
|
$(t, e);
|
|
859
879
|
function t() {
|
|
860
880
|
var r = e.call(this) || this;
|
|
861
881
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
862
882
|
}
|
|
863
883
|
return t.prototype.lift = function(r) {
|
|
864
|
-
var n = new
|
|
884
|
+
var n = new lt(this, this);
|
|
865
885
|
return n.operator = r, n;
|
|
866
886
|
}, t.prototype._throwIfClosed = function() {
|
|
867
887
|
if (this.closed)
|
|
868
|
-
throw new
|
|
888
|
+
throw new Qr();
|
|
869
889
|
}, t.prototype.next = function(r) {
|
|
870
890
|
var n = this;
|
|
871
891
|
ce(function() {
|
|
@@ -921,19 +941,19 @@ var Xr = Ct(function(e) {
|
|
|
921
941
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
922
942
|
}, t.prototype._innerSubscribe = function(r) {
|
|
923
943
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
924
|
-
return o || a ?
|
|
925
|
-
n.currentObservers = null,
|
|
944
|
+
return o || a ? Lt : (this.currentObservers = null, s.push(r), new be(function() {
|
|
945
|
+
n.currentObservers = null, Re(s, r);
|
|
926
946
|
}));
|
|
927
947
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
928
948
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
929
949
|
i ? r.error(o) : a && r.complete();
|
|
930
950
|
}, t.prototype.asObservable = function() {
|
|
931
|
-
var r = new
|
|
951
|
+
var r = new st();
|
|
932
952
|
return r.source = this, r;
|
|
933
953
|
}, t.create = function(r, n) {
|
|
934
|
-
return new
|
|
954
|
+
return new lt(r, n);
|
|
935
955
|
}, t;
|
|
936
|
-
}(
|
|
956
|
+
}(st), lt = function(e) {
|
|
937
957
|
$(t, e);
|
|
938
958
|
function t(r, n) {
|
|
939
959
|
var i = e.call(this) || this;
|
|
@@ -950,17 +970,17 @@ var Xr = Ct(function(e) {
|
|
|
950
970
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
951
971
|
}, t.prototype._subscribe = function(r) {
|
|
952
972
|
var n, i;
|
|
953
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
973
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Lt;
|
|
954
974
|
}, t;
|
|
955
|
-
}(
|
|
975
|
+
}(Rt), Ut = {
|
|
956
976
|
now: function() {
|
|
957
|
-
return (
|
|
977
|
+
return (Ut.delegate || Date).now();
|
|
958
978
|
},
|
|
959
979
|
delegate: void 0
|
|
960
|
-
},
|
|
980
|
+
}, Jr = function(e) {
|
|
961
981
|
$(t, e);
|
|
962
982
|
function t(r, n, i) {
|
|
963
|
-
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);
|
|
964
984
|
var o = e.call(this) || this;
|
|
965
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;
|
|
966
986
|
}
|
|
@@ -980,15 +1000,15 @@ var Xr = Ct(function(e) {
|
|
|
980
1000
|
u && o.splice(0, u + 1);
|
|
981
1001
|
}
|
|
982
1002
|
}, t;
|
|
983
|
-
}(
|
|
984
|
-
const
|
|
985
|
-
if (
|
|
986
|
-
const r = new
|
|
987
|
-
|
|
1003
|
+
}(Rt);
|
|
1004
|
+
const ht = [], ct = {}, Kr = (e, t = 0) => {
|
|
1005
|
+
if (ht.indexOf(e) == -1) {
|
|
1006
|
+
const r = new Jr(t);
|
|
1007
|
+
ct[e] = r, ht.push(e);
|
|
988
1008
|
}
|
|
989
|
-
return
|
|
1009
|
+
return ct[e];
|
|
990
1010
|
}, F = [];
|
|
991
|
-
function
|
|
1011
|
+
function en(e, t) {
|
|
992
1012
|
return {
|
|
993
1013
|
subscribe: ve(e, t).subscribe
|
|
994
1014
|
};
|
|
@@ -997,7 +1017,7 @@ function ve(e, t = O) {
|
|
|
997
1017
|
let r;
|
|
998
1018
|
const n = /* @__PURE__ */ new Set();
|
|
999
1019
|
function i(s) {
|
|
1000
|
-
if (
|
|
1020
|
+
if (Ct(e, s) && (e = s, r)) {
|
|
1001
1021
|
const l = !F.length;
|
|
1002
1022
|
for (const u of n)
|
|
1003
1023
|
u[1](), F.push(u, e);
|
|
@@ -1024,7 +1044,7 @@ function Y(e, t, r) {
|
|
|
1024
1044
|
if (!i.every(Boolean))
|
|
1025
1045
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1026
1046
|
const o = t.length < 2;
|
|
1027
|
-
return
|
|
1047
|
+
return en(r, (a, s) => {
|
|
1028
1048
|
let l = !1;
|
|
1029
1049
|
const u = [];
|
|
1030
1050
|
let h = 0, f = O;
|
|
@@ -1033,9 +1053,9 @@ function Y(e, t, r) {
|
|
|
1033
1053
|
return;
|
|
1034
1054
|
f();
|
|
1035
1055
|
const g = t(n ? u[0] : u, a, s);
|
|
1036
|
-
o ? a(g) : f =
|
|
1056
|
+
o ? a(g) : f = Xe(g) ? g : O;
|
|
1037
1057
|
}, p = i.map(
|
|
1038
|
-
(g, y) =>
|
|
1058
|
+
(g, y) => Bt(
|
|
1039
1059
|
g,
|
|
1040
1060
|
(S) => {
|
|
1041
1061
|
u[y] = S, h &= ~(1 << y), l && c();
|
|
@@ -1050,70 +1070,70 @@ function Y(e, t, r) {
|
|
|
1050
1070
|
};
|
|
1051
1071
|
});
|
|
1052
1072
|
}
|
|
1053
|
-
function
|
|
1073
|
+
function tn(e) {
|
|
1054
1074
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1055
1075
|
}
|
|
1056
|
-
var
|
|
1057
|
-
return
|
|
1076
|
+
var rn = function(t) {
|
|
1077
|
+
return nn(t) && !on(t);
|
|
1058
1078
|
};
|
|
1059
|
-
function
|
|
1079
|
+
function nn(e) {
|
|
1060
1080
|
return !!e && typeof e == "object";
|
|
1061
1081
|
}
|
|
1062
|
-
function
|
|
1082
|
+
function on(e) {
|
|
1063
1083
|
var t = Object.prototype.toString.call(e);
|
|
1064
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1084
|
+
return t === "[object RegExp]" || t === "[object Date]" || un(e);
|
|
1065
1085
|
}
|
|
1066
|
-
var
|
|
1067
|
-
function
|
|
1068
|
-
return e.$$typeof ===
|
|
1086
|
+
var an = typeof Symbol == "function" && Symbol.for, sn = an ? Symbol.for("react.element") : 60103;
|
|
1087
|
+
function un(e) {
|
|
1088
|
+
return e.$$typeof === sn;
|
|
1069
1089
|
}
|
|
1070
|
-
function
|
|
1090
|
+
function ln(e) {
|
|
1071
1091
|
return Array.isArray(e) ? [] : {};
|
|
1072
1092
|
}
|
|
1073
1093
|
function re(e, t) {
|
|
1074
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? z(
|
|
1094
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? z(ln(e), e, t) : e;
|
|
1075
1095
|
}
|
|
1076
|
-
function
|
|
1096
|
+
function hn(e, t, r) {
|
|
1077
1097
|
return e.concat(t).map(function(n) {
|
|
1078
1098
|
return re(n, r);
|
|
1079
1099
|
});
|
|
1080
1100
|
}
|
|
1081
|
-
function
|
|
1101
|
+
function cn(e, t) {
|
|
1082
1102
|
if (!t.customMerge)
|
|
1083
1103
|
return z;
|
|
1084
1104
|
var r = t.customMerge(e);
|
|
1085
1105
|
return typeof r == "function" ? r : z;
|
|
1086
1106
|
}
|
|
1087
|
-
function
|
|
1107
|
+
function fn(e) {
|
|
1088
1108
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1089
1109
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1090
1110
|
}) : [];
|
|
1091
1111
|
}
|
|
1092
|
-
function
|
|
1093
|
-
return Object.keys(e).concat(
|
|
1112
|
+
function ft(e) {
|
|
1113
|
+
return Object.keys(e).concat(fn(e));
|
|
1094
1114
|
}
|
|
1095
|
-
function
|
|
1115
|
+
function Gt(e, t) {
|
|
1096
1116
|
try {
|
|
1097
1117
|
return t in e;
|
|
1098
1118
|
} catch (r) {
|
|
1099
1119
|
return !1;
|
|
1100
1120
|
}
|
|
1101
1121
|
}
|
|
1102
|
-
function
|
|
1103
|
-
return
|
|
1122
|
+
function pn(e, t) {
|
|
1123
|
+
return Gt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1104
1124
|
}
|
|
1105
|
-
function
|
|
1125
|
+
function dn(e, t, r) {
|
|
1106
1126
|
var n = {};
|
|
1107
|
-
return r.isMergeableObject(e) &&
|
|
1127
|
+
return r.isMergeableObject(e) && ft(e).forEach(function(i) {
|
|
1108
1128
|
n[i] = re(e[i], r);
|
|
1109
|
-
}),
|
|
1110
|
-
|
|
1129
|
+
}), ft(t).forEach(function(i) {
|
|
1130
|
+
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));
|
|
1111
1131
|
}), n;
|
|
1112
1132
|
}
|
|
1113
1133
|
function z(e, t, r) {
|
|
1114
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1134
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || hn, r.isMergeableObject = r.isMergeableObject || rn, r.cloneUnlessOtherwiseSpecified = re;
|
|
1115
1135
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1116
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1136
|
+
return o ? n ? r.arrayMerge(e, t, r) : dn(e, t, r) : re(t, r);
|
|
1117
1137
|
}
|
|
1118
1138
|
z.all = function(t, r) {
|
|
1119
1139
|
if (!Array.isArray(t))
|
|
@@ -1122,105 +1142,107 @@ z.all = function(t, r) {
|
|
|
1122
1142
|
return z(n, i, r);
|
|
1123
1143
|
}, {});
|
|
1124
1144
|
};
|
|
1125
|
-
var
|
|
1126
|
-
const
|
|
1127
|
-
function
|
|
1128
|
-
var r = t && t.cache ? t.cache :
|
|
1145
|
+
var mn = z, bn = mn;
|
|
1146
|
+
const vn = /* @__PURE__ */ tn(bn);
|
|
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;
|
|
1129
1149
|
return i(e, {
|
|
1130
1150
|
cache: r,
|
|
1131
1151
|
serializer: n
|
|
1132
1152
|
});
|
|
1133
1153
|
}
|
|
1134
|
-
function
|
|
1154
|
+
function yn(e) {
|
|
1135
1155
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1136
1156
|
}
|
|
1137
|
-
function
|
|
1138
|
-
var i =
|
|
1157
|
+
function Dt(e, t, r, n) {
|
|
1158
|
+
var i = yn(n) ? n : r(n), o = t.get(i);
|
|
1139
1159
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1140
1160
|
}
|
|
1141
|
-
function
|
|
1161
|
+
function Ft(e, t, r) {
|
|
1142
1162
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1143
1163
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1144
1164
|
}
|
|
1145
|
-
function
|
|
1165
|
+
function Ze(e, t, r, n, i) {
|
|
1146
1166
|
return r.bind(t, e, n, i);
|
|
1147
1167
|
}
|
|
1148
|
-
function
|
|
1149
|
-
var r = e.length === 1 ?
|
|
1150
|
-
return
|
|
1168
|
+
function gn(e, t) {
|
|
1169
|
+
var r = e.length === 1 ? Dt : 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);
|
|
1151
1174
|
}
|
|
1152
|
-
function
|
|
1153
|
-
return
|
|
1175
|
+
function En(e, t) {
|
|
1176
|
+
return Ze(e, this, Dt, t.cache.create(), t.serializer);
|
|
1154
1177
|
}
|
|
1155
|
-
var
|
|
1178
|
+
var _n = function() {
|
|
1156
1179
|
return JSON.stringify(arguments);
|
|
1157
|
-
}
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
}()
|
|
1169
|
-
), xn = {
|
|
1180
|
+
};
|
|
1181
|
+
function Ye() {
|
|
1182
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1183
|
+
}
|
|
1184
|
+
Ye.prototype.get = function(e) {
|
|
1185
|
+
return this.cache[e];
|
|
1186
|
+
};
|
|
1187
|
+
Ye.prototype.set = function(e, t) {
|
|
1188
|
+
this.cache[e] = t;
|
|
1189
|
+
};
|
|
1190
|
+
var Tn = {
|
|
1170
1191
|
create: function() {
|
|
1171
|
-
return new
|
|
1192
|
+
return new Ye();
|
|
1172
1193
|
}
|
|
1173
|
-
},
|
|
1174
|
-
variadic:
|
|
1194
|
+
}, He = {
|
|
1195
|
+
variadic: xn,
|
|
1196
|
+
monadic: En
|
|
1175
1197
|
}, m;
|
|
1176
1198
|
(function(e) {
|
|
1177
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";
|
|
1178
1200
|
})(m || (m = {}));
|
|
1179
|
-
var
|
|
1201
|
+
var E;
|
|
1180
1202
|
(function(e) {
|
|
1181
1203
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
1182
|
-
})(
|
|
1204
|
+
})(E || (E = {}));
|
|
1183
1205
|
var W;
|
|
1184
1206
|
(function(e) {
|
|
1185
1207
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1186
1208
|
})(W || (W = {}));
|
|
1187
|
-
function
|
|
1188
|
-
return e.type ===
|
|
1209
|
+
function pt(e) {
|
|
1210
|
+
return e.type === E.literal;
|
|
1189
1211
|
}
|
|
1190
|
-
function
|
|
1191
|
-
return e.type ===
|
|
1212
|
+
function Sn(e) {
|
|
1213
|
+
return e.type === E.argument;
|
|
1192
1214
|
}
|
|
1193
|
-
function
|
|
1194
|
-
return e.type ===
|
|
1215
|
+
function jt(e) {
|
|
1216
|
+
return e.type === E.number;
|
|
1195
1217
|
}
|
|
1196
|
-
function
|
|
1197
|
-
return e.type ===
|
|
1218
|
+
function kt(e) {
|
|
1219
|
+
return e.type === E.date;
|
|
1198
1220
|
}
|
|
1199
|
-
function
|
|
1200
|
-
return e.type ===
|
|
1221
|
+
function Vt(e) {
|
|
1222
|
+
return e.type === E.time;
|
|
1201
1223
|
}
|
|
1202
|
-
function
|
|
1203
|
-
return e.type ===
|
|
1224
|
+
function zt(e) {
|
|
1225
|
+
return e.type === E.select;
|
|
1204
1226
|
}
|
|
1205
|
-
function
|
|
1206
|
-
return e.type ===
|
|
1227
|
+
function Wt(e) {
|
|
1228
|
+
return e.type === E.plural;
|
|
1207
1229
|
}
|
|
1208
|
-
function
|
|
1209
|
-
return e.type ===
|
|
1230
|
+
function wn(e) {
|
|
1231
|
+
return e.type === E.pound;
|
|
1210
1232
|
}
|
|
1211
|
-
function
|
|
1212
|
-
return e.type ===
|
|
1233
|
+
function Xt(e) {
|
|
1234
|
+
return e.type === E.tag;
|
|
1213
1235
|
}
|
|
1214
|
-
function
|
|
1236
|
+
function qt(e) {
|
|
1215
1237
|
return !!(e && typeof e == "object" && e.type === W.number);
|
|
1216
1238
|
}
|
|
1217
|
-
function
|
|
1239
|
+
function Ge(e) {
|
|
1218
1240
|
return !!(e && typeof e == "object" && e.type === W.dateTime);
|
|
1219
1241
|
}
|
|
1220
|
-
var
|
|
1221
|
-
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) {
|
|
1222
1244
|
var t = {};
|
|
1223
|
-
return e.replace(
|
|
1245
|
+
return e.replace(Pn, function(r) {
|
|
1224
1246
|
var n = r.length;
|
|
1225
1247
|
switch (r[0]) {
|
|
1226
1248
|
case "G":
|
|
@@ -1309,11 +1331,11 @@ function Sn(e) {
|
|
|
1309
1331
|
return "";
|
|
1310
1332
|
}), t;
|
|
1311
1333
|
}
|
|
1312
|
-
var
|
|
1313
|
-
function
|
|
1334
|
+
var In = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1335
|
+
function Cn(e) {
|
|
1314
1336
|
if (e.length === 0)
|
|
1315
1337
|
throw new Error("Number skeleton cannot be empty");
|
|
1316
|
-
for (var t = e.split(
|
|
1338
|
+
for (var t = e.split(In).filter(function(c) {
|
|
1317
1339
|
return c.length > 0;
|
|
1318
1340
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1319
1341
|
var o = i[n], a = o.split("/");
|
|
@@ -1328,17 +1350,17 @@ function Pn(e) {
|
|
|
1328
1350
|
}
|
|
1329
1351
|
return r;
|
|
1330
1352
|
}
|
|
1331
|
-
function
|
|
1353
|
+
function Bn(e) {
|
|
1332
1354
|
return e.replace(/^(.*?)-/, "");
|
|
1333
1355
|
}
|
|
1334
|
-
var
|
|
1335
|
-
function
|
|
1356
|
+
var dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Yt = /^(@+)?(\+|#+)?[rs]?$/g, An = /(\*)(0+)|(#+)(0+)|(0+)/g, Qt = /^(0+)$/;
|
|
1357
|
+
function mt(e) {
|
|
1336
1358
|
var t = {};
|
|
1337
|
-
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(Yt, function(r, n, i) {
|
|
1338
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)), "";
|
|
1339
1361
|
}), t;
|
|
1340
1362
|
}
|
|
1341
|
-
function
|
|
1363
|
+
function Jt(e) {
|
|
1342
1364
|
switch (e) {
|
|
1343
1365
|
case "sign-auto":
|
|
1344
1366
|
return {
|
|
@@ -1378,7 +1400,7 @@ function qt(e) {
|
|
|
1378
1400
|
};
|
|
1379
1401
|
}
|
|
1380
1402
|
}
|
|
1381
|
-
function
|
|
1403
|
+
function On(e) {
|
|
1382
1404
|
var t;
|
|
1383
1405
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1384
1406
|
notation: "engineering"
|
|
@@ -1386,17 +1408,17 @@ function Cn(e) {
|
|
|
1386
1408
|
notation: "scientific"
|
|
1387
1409
|
}, e = e.slice(1)), t) {
|
|
1388
1410
|
var r = e.slice(0, 2);
|
|
1389
|
-
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)), !Qt.test(e))
|
|
1390
1412
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1391
1413
|
t.minimumIntegerDigits = e.length;
|
|
1392
1414
|
}
|
|
1393
1415
|
return t;
|
|
1394
1416
|
}
|
|
1395
|
-
function
|
|
1396
|
-
var t = {}, r =
|
|
1417
|
+
function bt(e) {
|
|
1418
|
+
var t = {}, r = Jt(e);
|
|
1397
1419
|
return r || t;
|
|
1398
1420
|
}
|
|
1399
|
-
function
|
|
1421
|
+
function Ln(e) {
|
|
1400
1422
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1401
1423
|
var i = n[r];
|
|
1402
1424
|
switch (i.stem) {
|
|
@@ -1420,7 +1442,7 @@ function Bn(e) {
|
|
|
1420
1442
|
continue;
|
|
1421
1443
|
case "measure-unit":
|
|
1422
1444
|
case "unit":
|
|
1423
|
-
t.style = "unit", t.unit =
|
|
1445
|
+
t.style = "unit", t.unit = Bn(i.options[0]);
|
|
1424
1446
|
continue;
|
|
1425
1447
|
case "compact-short":
|
|
1426
1448
|
case "K":
|
|
@@ -1432,12 +1454,12 @@ function Bn(e) {
|
|
|
1432
1454
|
continue;
|
|
1433
1455
|
case "scientific":
|
|
1434
1456
|
t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1435
|
-
return v(v({}, l),
|
|
1457
|
+
return v(v({}, l), bt(u));
|
|
1436
1458
|
}, {}));
|
|
1437
1459
|
continue;
|
|
1438
1460
|
case "engineering":
|
|
1439
1461
|
t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1440
|
-
return v(v({}, l),
|
|
1462
|
+
return v(v({}, l), bt(u));
|
|
1441
1463
|
}, {}));
|
|
1442
1464
|
continue;
|
|
1443
1465
|
case "notation-simple":
|
|
@@ -1482,7 +1504,7 @@ function Bn(e) {
|
|
|
1482
1504
|
case "integer-width":
|
|
1483
1505
|
if (i.options.length > 1)
|
|
1484
1506
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1485
|
-
i.options[0].replace(
|
|
1507
|
+
i.options[0].replace(An, function(l, u, h, f, c, p) {
|
|
1486
1508
|
if (u)
|
|
1487
1509
|
t.minimumIntegerDigits = h.length;
|
|
1488
1510
|
else {
|
|
@@ -1495,27 +1517,27 @@ function Bn(e) {
|
|
|
1495
1517
|
});
|
|
1496
1518
|
continue;
|
|
1497
1519
|
}
|
|
1498
|
-
if (
|
|
1520
|
+
if (Qt.test(i.stem)) {
|
|
1499
1521
|
t.minimumIntegerDigits = i.stem.length;
|
|
1500
1522
|
continue;
|
|
1501
1523
|
}
|
|
1502
|
-
if (
|
|
1524
|
+
if (dt.test(i.stem)) {
|
|
1503
1525
|
if (i.options.length > 1)
|
|
1504
1526
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1505
|
-
i.stem.replace(
|
|
1527
|
+
i.stem.replace(dt, function(l, u, h, f, c, p) {
|
|
1506
1528
|
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), "";
|
|
1507
1529
|
});
|
|
1508
1530
|
var o = i.options[0];
|
|
1509
|
-
o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t),
|
|
1531
|
+
o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), mt(o)));
|
|
1510
1532
|
continue;
|
|
1511
1533
|
}
|
|
1512
|
-
if (
|
|
1513
|
-
t = v(v({}, t),
|
|
1534
|
+
if (Yt.test(i.stem)) {
|
|
1535
|
+
t = v(v({}, t), mt(i.stem));
|
|
1514
1536
|
continue;
|
|
1515
1537
|
}
|
|
1516
|
-
var a =
|
|
1538
|
+
var a = Jt(i.stem);
|
|
1517
1539
|
a && (t = v(v({}, t), a));
|
|
1518
|
-
var s =
|
|
1540
|
+
var s = On(i.stem);
|
|
1519
1541
|
s && (t = v(v({}, t), s));
|
|
1520
1542
|
}
|
|
1521
1543
|
return t;
|
|
@@ -2935,13 +2957,13 @@ var le = {
|
|
|
2935
2957
|
"h"
|
|
2936
2958
|
]
|
|
2937
2959
|
};
|
|
2938
|
-
function
|
|
2960
|
+
function Mn(e, t) {
|
|
2939
2961
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2940
2962
|
var i = e.charAt(n);
|
|
2941
2963
|
if (i === "j") {
|
|
2942
2964
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2943
2965
|
o++, n++;
|
|
2944
|
-
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);
|
|
2945
2967
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
2946
2968
|
r += l;
|
|
2947
2969
|
for (; a-- > 0; )
|
|
@@ -2950,7 +2972,7 @@ function An(e, t) {
|
|
|
2950
2972
|
}
|
|
2951
2973
|
return r;
|
|
2952
2974
|
}
|
|
2953
|
-
function
|
|
2975
|
+
function Nn(e) {
|
|
2954
2976
|
var t = e.hourCycle;
|
|
2955
2977
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2956
2978
|
e.hourCycles && // @ts-ignore
|
|
@@ -2972,20 +2994,20 @@ function On(e) {
|
|
|
2972
2994
|
var i = le[n || ""] || le[r || ""] || le["".concat(r, "-001")] || le["001"];
|
|
2973
2995
|
return i[0];
|
|
2974
2996
|
}
|
|
2975
|
-
var
|
|
2997
|
+
var Ie, $n = new RegExp("^".concat(Zt.source, "*")), Rn = new RegExp("".concat(Zt.source, "*$"));
|
|
2976
2998
|
function b(e, t) {
|
|
2977
2999
|
return { start: e, end: t };
|
|
2978
3000
|
}
|
|
2979
|
-
var
|
|
3001
|
+
var Un = !!String.prototype.startsWith && "_a".startsWith("a", 1), Gn = !!String.fromCodePoint, Dn = !!Object.fromEntries, Fn = !!String.prototype.codePointAt, jn = !!String.prototype.trimStart, kn = !!String.prototype.trimEnd, Vn = !!Number.isSafeInteger, zn = Vn ? Number.isSafeInteger : function(e) {
|
|
2980
3002
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2981
|
-
},
|
|
3003
|
+
}, De = !0;
|
|
2982
3004
|
try {
|
|
2983
|
-
var
|
|
2984
|
-
|
|
3005
|
+
var Wn = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3006
|
+
De = ((Ie = Wn.exec("a")) === null || Ie === void 0 ? void 0 : Ie[0]) === "a";
|
|
2985
3007
|
} catch (e) {
|
|
2986
|
-
|
|
3008
|
+
De = !1;
|
|
2987
3009
|
}
|
|
2988
|
-
var
|
|
3010
|
+
var vt = Un ? (
|
|
2989
3011
|
// Native
|
|
2990
3012
|
function(t, r, n) {
|
|
2991
3013
|
return t.startsWith(r, n);
|
|
@@ -2995,7 +3017,7 @@ var dt = Mn ? (
|
|
|
2995
3017
|
function(t, r, n) {
|
|
2996
3018
|
return t.slice(n, n + r.length) === r;
|
|
2997
3019
|
}
|
|
2998
|
-
),
|
|
3020
|
+
), Fe = Gn ? String.fromCodePoint : (
|
|
2999
3021
|
// IE11
|
|
3000
3022
|
function() {
|
|
3001
3023
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3007,9 +3029,9 @@ var dt = Mn ? (
|
|
|
3007
3029
|
}
|
|
3008
3030
|
return n;
|
|
3009
3031
|
}
|
|
3010
|
-
),
|
|
3032
|
+
), yt = (
|
|
3011
3033
|
// native
|
|
3012
|
-
|
|
3034
|
+
Dn ? Object.fromEntries : (
|
|
3013
3035
|
// Ponyfill
|
|
3014
3036
|
function(t) {
|
|
3015
3037
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3019,7 +3041,7 @@ var dt = Mn ? (
|
|
|
3019
3041
|
return r;
|
|
3020
3042
|
}
|
|
3021
3043
|
)
|
|
3022
|
-
),
|
|
3044
|
+
), Kt = Fn ? (
|
|
3023
3045
|
// Native
|
|
3024
3046
|
function(t, r) {
|
|
3025
3047
|
return t.codePointAt(r);
|
|
@@ -3033,7 +3055,7 @@ var dt = Mn ? (
|
|
|
3033
3055
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3034
3056
|
}
|
|
3035
3057
|
}
|
|
3036
|
-
),
|
|
3058
|
+
), Xn = jn ? (
|
|
3037
3059
|
// Native
|
|
3038
3060
|
function(t) {
|
|
3039
3061
|
return t.trimStart();
|
|
@@ -3041,9 +3063,9 @@ var dt = Mn ? (
|
|
|
3041
3063
|
) : (
|
|
3042
3064
|
// Ponyfill
|
|
3043
3065
|
function(t) {
|
|
3044
|
-
return t.replace(
|
|
3066
|
+
return t.replace($n, "");
|
|
3045
3067
|
}
|
|
3046
|
-
),
|
|
3068
|
+
), qn = kn ? (
|
|
3047
3069
|
// Native
|
|
3048
3070
|
function(t) {
|
|
3049
3071
|
return t.trimEnd();
|
|
@@ -3051,32 +3073,32 @@ var dt = Mn ? (
|
|
|
3051
3073
|
) : (
|
|
3052
3074
|
// Ponyfill
|
|
3053
3075
|
function(t) {
|
|
3054
|
-
return t.replace(
|
|
3076
|
+
return t.replace(Rn, "");
|
|
3055
3077
|
}
|
|
3056
3078
|
);
|
|
3057
|
-
function
|
|
3079
|
+
function er(e, t) {
|
|
3058
3080
|
return new RegExp(e, t);
|
|
3059
3081
|
}
|
|
3060
|
-
var
|
|
3061
|
-
if (
|
|
3062
|
-
var
|
|
3063
|
-
|
|
3082
|
+
var je;
|
|
3083
|
+
if (De) {
|
|
3084
|
+
var gt = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3085
|
+
je = function(t, r) {
|
|
3064
3086
|
var n;
|
|
3065
|
-
|
|
3066
|
-
var i =
|
|
3087
|
+
gt.lastIndex = r;
|
|
3088
|
+
var i = gt.exec(t);
|
|
3067
3089
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3068
3090
|
};
|
|
3069
3091
|
} else
|
|
3070
|
-
|
|
3092
|
+
je = function(t, r) {
|
|
3071
3093
|
for (var n = []; ; ) {
|
|
3072
|
-
var i =
|
|
3073
|
-
if (i === void 0 ||
|
|
3094
|
+
var i = Kt(t, r);
|
|
3095
|
+
if (i === void 0 || tr(i) || Jn(i))
|
|
3074
3096
|
break;
|
|
3075
3097
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3076
3098
|
}
|
|
3077
|
-
return
|
|
3099
|
+
return Fe.apply(void 0, n);
|
|
3078
3100
|
};
|
|
3079
|
-
var
|
|
3101
|
+
var Zn = (
|
|
3080
3102
|
/** @class */
|
|
3081
3103
|
function() {
|
|
3082
3104
|
function e(t, r) {
|
|
@@ -3100,14 +3122,14 @@ var Wn = (
|
|
|
3100
3122
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3101
3123
|
var s = this.clonePosition();
|
|
3102
3124
|
this.bump(), i.push({
|
|
3103
|
-
type:
|
|
3125
|
+
type: E.pound,
|
|
3104
3126
|
location: b(s, this.clonePosition())
|
|
3105
3127
|
});
|
|
3106
3128
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3107
3129
|
if (n)
|
|
3108
3130
|
break;
|
|
3109
3131
|
return this.error(m.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
|
|
3110
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3132
|
+
} else if (o === 60 && !this.ignoreTag && ke(this.peek() || 0)) {
|
|
3111
3133
|
var a = this.parseTag(t, r);
|
|
3112
3134
|
if (a.err)
|
|
3113
3135
|
return a;
|
|
@@ -3128,7 +3150,7 @@ var Wn = (
|
|
|
3128
3150
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3129
3151
|
return {
|
|
3130
3152
|
val: {
|
|
3131
|
-
type:
|
|
3153
|
+
type: E.literal,
|
|
3132
3154
|
value: "<".concat(i, "/>"),
|
|
3133
3155
|
location: b(n, this.clonePosition())
|
|
3134
3156
|
},
|
|
@@ -3140,12 +3162,12 @@ var Wn = (
|
|
|
3140
3162
|
return o;
|
|
3141
3163
|
var a = o.val, s = this.clonePosition();
|
|
3142
3164
|
if (this.bumpIf("</")) {
|
|
3143
|
-
if (this.isEOF() || !
|
|
3165
|
+
if (this.isEOF() || !ke(this.char()))
|
|
3144
3166
|
return this.error(m.INVALID_TAG, b(s, this.clonePosition()));
|
|
3145
3167
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3146
3168
|
return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, b(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3147
3169
|
val: {
|
|
3148
|
-
type:
|
|
3170
|
+
type: E.tag,
|
|
3149
3171
|
value: i,
|
|
3150
3172
|
children: a,
|
|
3151
3173
|
location: b(n, this.clonePosition())
|
|
@@ -3158,7 +3180,7 @@ var Wn = (
|
|
|
3158
3180
|
return this.error(m.INVALID_TAG, b(n, this.clonePosition()));
|
|
3159
3181
|
}, e.prototype.parseTagName = function() {
|
|
3160
3182
|
var t = this.offset();
|
|
3161
|
-
for (this.bump(); !this.isEOF() &&
|
|
3183
|
+
for (this.bump(); !this.isEOF() && Qn(this.char()); )
|
|
3162
3184
|
this.bump();
|
|
3163
3185
|
return this.message.slice(t, this.offset());
|
|
3164
3186
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3182,12 +3204,12 @@ var Wn = (
|
|
|
3182
3204
|
}
|
|
3183
3205
|
var l = b(n, this.clonePosition());
|
|
3184
3206
|
return {
|
|
3185
|
-
val: { type:
|
|
3207
|
+
val: { type: E.literal, value: i, location: l },
|
|
3186
3208
|
err: null
|
|
3187
3209
|
};
|
|
3188
3210
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3189
3211
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3190
|
-
!
|
|
3212
|
+
!Yn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3191
3213
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3192
3214
|
if (this.isEOF() || this.char() !== 39)
|
|
3193
3215
|
return null;
|
|
@@ -3221,12 +3243,12 @@ var Wn = (
|
|
|
3221
3243
|
r.push(n);
|
|
3222
3244
|
this.bump();
|
|
3223
3245
|
}
|
|
3224
|
-
return
|
|
3246
|
+
return Fe.apply(void 0, r);
|
|
3225
3247
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3226
3248
|
if (this.isEOF())
|
|
3227
3249
|
return null;
|
|
3228
3250
|
var n = this.char();
|
|
3229
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3251
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Fe(n));
|
|
3230
3252
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3231
3253
|
var n = this.clonePosition();
|
|
3232
3254
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3242,7 +3264,7 @@ var Wn = (
|
|
|
3242
3264
|
case 125:
|
|
3243
3265
|
return this.bump(), {
|
|
3244
3266
|
val: {
|
|
3245
|
-
type:
|
|
3267
|
+
type: E.argument,
|
|
3246
3268
|
// value does not include the opening and closing braces.
|
|
3247
3269
|
value: i,
|
|
3248
3270
|
location: b(n, this.clonePosition())
|
|
@@ -3255,7 +3277,7 @@ var Wn = (
|
|
|
3255
3277
|
return this.error(m.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
|
|
3256
3278
|
}
|
|
3257
3279
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3258
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3280
|
+
var t = this.clonePosition(), r = this.offset(), n = je(this.message, r), i = r + n.length;
|
|
3259
3281
|
this.bumpTo(i);
|
|
3260
3282
|
var o = this.clonePosition(), a = b(t, o);
|
|
3261
3283
|
return { value: n, location: a };
|
|
@@ -3274,7 +3296,7 @@ var Wn = (
|
|
|
3274
3296
|
var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3275
3297
|
if (f.err)
|
|
3276
3298
|
return f;
|
|
3277
|
-
var c =
|
|
3299
|
+
var c = qn(f.val);
|
|
3278
3300
|
if (c.length === 0)
|
|
3279
3301
|
return this.error(m.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
|
|
3280
3302
|
var p = b(h, this.clonePosition());
|
|
@@ -3284,34 +3306,34 @@ var Wn = (
|
|
|
3284
3306
|
if (g.err)
|
|
3285
3307
|
return g;
|
|
3286
3308
|
var y = b(i, this.clonePosition());
|
|
3287
|
-
if (u &&
|
|
3288
|
-
var S =
|
|
3309
|
+
if (u && vt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3310
|
+
var S = Xn(u.style.slice(2));
|
|
3289
3311
|
if (s === "number") {
|
|
3290
3312
|
var f = this.parseNumberSkeletonFromString(S, u.styleLocation);
|
|
3291
3313
|
return f.err ? f : {
|
|
3292
|
-
val: { type:
|
|
3314
|
+
val: { type: E.number, value: n, location: y, style: f.val },
|
|
3293
3315
|
err: null
|
|
3294
3316
|
};
|
|
3295
3317
|
} else {
|
|
3296
3318
|
if (S.length === 0)
|
|
3297
3319
|
return this.error(m.EXPECT_DATE_TIME_SKELETON, y);
|
|
3298
3320
|
var P = S;
|
|
3299
|
-
this.locale && (P =
|
|
3321
|
+
this.locale && (P = Mn(S, this.locale));
|
|
3300
3322
|
var c = {
|
|
3301
3323
|
type: W.dateTime,
|
|
3302
3324
|
pattern: P,
|
|
3303
3325
|
location: u.styleLocation,
|
|
3304
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3305
|
-
},
|
|
3326
|
+
parsedOptions: this.shouldParseSkeletons ? Hn(P) : {}
|
|
3327
|
+
}, _ = s === "date" ? E.date : E.time;
|
|
3306
3328
|
return {
|
|
3307
|
-
val: { type:
|
|
3329
|
+
val: { type: _, value: n, location: y, style: c },
|
|
3308
3330
|
err: null
|
|
3309
3331
|
};
|
|
3310
3332
|
}
|
|
3311
3333
|
}
|
|
3312
3334
|
return {
|
|
3313
3335
|
val: {
|
|
3314
|
-
type: s === "number" ?
|
|
3336
|
+
type: s === "number" ? E.number : s === "date" ? E.date : E.time,
|
|
3315
3337
|
value: n,
|
|
3316
3338
|
location: y,
|
|
3317
3339
|
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
@@ -3345,17 +3367,17 @@ var Wn = (
|
|
|
3345
3367
|
var I = b(i, this.clonePosition());
|
|
3346
3368
|
return s === "select" ? {
|
|
3347
3369
|
val: {
|
|
3348
|
-
type:
|
|
3370
|
+
type: E.select,
|
|
3349
3371
|
value: n,
|
|
3350
|
-
options:
|
|
3372
|
+
options: yt(d.val),
|
|
3351
3373
|
location: I
|
|
3352
3374
|
},
|
|
3353
3375
|
err: null
|
|
3354
3376
|
} : {
|
|
3355
3377
|
val: {
|
|
3356
|
-
type:
|
|
3378
|
+
type: E.plural,
|
|
3357
3379
|
value: n,
|
|
3358
|
-
options:
|
|
3380
|
+
options: yt(d.val),
|
|
3359
3381
|
offset: L,
|
|
3360
3382
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3361
3383
|
location: I
|
|
@@ -3406,7 +3428,7 @@ var Wn = (
|
|
|
3406
3428
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3407
3429
|
var n = [];
|
|
3408
3430
|
try {
|
|
3409
|
-
n =
|
|
3431
|
+
n = Cn(t);
|
|
3410
3432
|
} catch (i) {
|
|
3411
3433
|
return this.error(m.INVALID_NUMBER_SKELETON, r);
|
|
3412
3434
|
}
|
|
@@ -3415,7 +3437,7 @@ var Wn = (
|
|
|
3415
3437
|
type: W.number,
|
|
3416
3438
|
tokens: n,
|
|
3417
3439
|
location: r,
|
|
3418
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3440
|
+
parsedOptions: this.shouldParseSkeletons ? Ln(n) : {}
|
|
3419
3441
|
},
|
|
3420
3442
|
err: null
|
|
3421
3443
|
};
|
|
@@ -3463,7 +3485,7 @@ var Wn = (
|
|
|
3463
3485
|
break;
|
|
3464
3486
|
}
|
|
3465
3487
|
var l = b(i, this.clonePosition());
|
|
3466
|
-
return o ? (a *= n,
|
|
3488
|
+
return o ? (a *= n, zn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3467
3489
|
}, e.prototype.offset = function() {
|
|
3468
3490
|
return this.position.offset;
|
|
3469
3491
|
}, e.prototype.isEOF = function() {
|
|
@@ -3478,7 +3500,7 @@ var Wn = (
|
|
|
3478
3500
|
var t = this.position.offset;
|
|
3479
3501
|
if (t >= this.message.length)
|
|
3480
3502
|
throw Error("out of bound");
|
|
3481
|
-
var r =
|
|
3503
|
+
var r = Kt(this.message, t);
|
|
3482
3504
|
if (r === void 0)
|
|
3483
3505
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3484
3506
|
return r;
|
|
@@ -3497,7 +3519,7 @@ var Wn = (
|
|
|
3497
3519
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3498
3520
|
}
|
|
3499
3521
|
}, e.prototype.bumpIf = function(t) {
|
|
3500
|
-
if (
|
|
3522
|
+
if (vt(this.message, t, this.offset())) {
|
|
3501
3523
|
for (var r = 0; r < t.length; r++)
|
|
3502
3524
|
this.bump();
|
|
3503
3525
|
return !0;
|
|
@@ -3519,7 +3541,7 @@ var Wn = (
|
|
|
3519
3541
|
break;
|
|
3520
3542
|
}
|
|
3521
3543
|
}, e.prototype.bumpSpace = function() {
|
|
3522
|
-
for (; !this.isEOF() &&
|
|
3544
|
+
for (; !this.isEOF() && tr(this.char()); )
|
|
3523
3545
|
this.bump();
|
|
3524
3546
|
}, e.prototype.peek = function() {
|
|
3525
3547
|
if (this.isEOF())
|
|
@@ -3529,37 +3551,37 @@ var Wn = (
|
|
|
3529
3551
|
}, e;
|
|
3530
3552
|
}()
|
|
3531
3553
|
);
|
|
3532
|
-
function
|
|
3554
|
+
function ke(e) {
|
|
3533
3555
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3534
3556
|
}
|
|
3535
|
-
function
|
|
3536
|
-
return
|
|
3557
|
+
function Yn(e) {
|
|
3558
|
+
return ke(e) || e === 47;
|
|
3537
3559
|
}
|
|
3538
|
-
function
|
|
3560
|
+
function Qn(e) {
|
|
3539
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;
|
|
3540
3562
|
}
|
|
3541
|
-
function
|
|
3563
|
+
function tr(e) {
|
|
3542
3564
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3543
3565
|
}
|
|
3544
|
-
function
|
|
3566
|
+
function Jn(e) {
|
|
3545
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;
|
|
3546
3568
|
}
|
|
3547
|
-
function
|
|
3569
|
+
function Ve(e) {
|
|
3548
3570
|
e.forEach(function(t) {
|
|
3549
|
-
if (delete t.location,
|
|
3571
|
+
if (delete t.location, zt(t) || Wt(t))
|
|
3550
3572
|
for (var r in t.options)
|
|
3551
|
-
delete t.options[r].location,
|
|
3552
|
-
else
|
|
3573
|
+
delete t.options[r].location, Ve(t.options[r].value);
|
|
3574
|
+
else jt(t) && qt(t.style) || (kt(t) || Vt(t)) && Ge(t.style) ? delete t.style.location : Xt(t) && Ve(t.children);
|
|
3553
3575
|
});
|
|
3554
3576
|
}
|
|
3555
|
-
function
|
|
3577
|
+
function Kn(e, t) {
|
|
3556
3578
|
t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3557
|
-
var r = new
|
|
3579
|
+
var r = new Zn(e, t).parse();
|
|
3558
3580
|
if (r.err) {
|
|
3559
3581
|
var n = SyntaxError(m[r.err.kind]);
|
|
3560
3582
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3561
3583
|
}
|
|
3562
|
-
return t != null && t.captureLocation ||
|
|
3584
|
+
return t != null && t.captureLocation || Ve(r.val), r.val;
|
|
3563
3585
|
}
|
|
3564
3586
|
var X;
|
|
3565
3587
|
(function(e) {
|
|
@@ -3577,7 +3599,7 @@ var ye = (
|
|
|
3577
3599
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3578
3600
|
}, t;
|
|
3579
3601
|
}(Error)
|
|
3580
|
-
),
|
|
3602
|
+
), xt = (
|
|
3581
3603
|
/** @class */
|
|
3582
3604
|
function(e) {
|
|
3583
3605
|
$(t, e);
|
|
@@ -3586,7 +3608,7 @@ var ye = (
|
|
|
3586
3608
|
}
|
|
3587
3609
|
return t;
|
|
3588
3610
|
}(ye)
|
|
3589
|
-
),
|
|
3611
|
+
), ei = (
|
|
3590
3612
|
/** @class */
|
|
3591
3613
|
function(e) {
|
|
3592
3614
|
$(t, e);
|
|
@@ -3595,7 +3617,7 @@ var ye = (
|
|
|
3595
3617
|
}
|
|
3596
3618
|
return t;
|
|
3597
3619
|
}(ye)
|
|
3598
|
-
),
|
|
3620
|
+
), ti = (
|
|
3599
3621
|
/** @class */
|
|
3600
3622
|
function(e) {
|
|
3601
3623
|
$(t, e);
|
|
@@ -3608,17 +3630,17 @@ var ye = (
|
|
|
3608
3630
|
(function(e) {
|
|
3609
3631
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3610
3632
|
})(T || (T = {}));
|
|
3611
|
-
function
|
|
3633
|
+
function ri(e) {
|
|
3612
3634
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3613
3635
|
var n = t[t.length - 1];
|
|
3614
3636
|
return !n || n.type !== T.literal || r.type !== T.literal ? t.push(r) : n.value += r.value, t;
|
|
3615
3637
|
}, []);
|
|
3616
3638
|
}
|
|
3617
|
-
function
|
|
3639
|
+
function ni(e) {
|
|
3618
3640
|
return typeof e == "function";
|
|
3619
3641
|
}
|
|
3620
3642
|
function fe(e, t, r, n, i, o, a) {
|
|
3621
|
-
if (e.length === 1 &&
|
|
3643
|
+
if (e.length === 1 && pt(e[0]))
|
|
3622
3644
|
return [
|
|
3623
3645
|
{
|
|
3624
3646
|
type: T.literal,
|
|
@@ -3627,14 +3649,14 @@ function fe(e, t, r, n, i, o, a) {
|
|
|
3627
3649
|
];
|
|
3628
3650
|
for (var s = [], l = 0, u = e; l < u.length; l++) {
|
|
3629
3651
|
var h = u[l];
|
|
3630
|
-
if (
|
|
3652
|
+
if (pt(h)) {
|
|
3631
3653
|
s.push({
|
|
3632
3654
|
type: T.literal,
|
|
3633
3655
|
value: h.value
|
|
3634
3656
|
});
|
|
3635
3657
|
continue;
|
|
3636
3658
|
}
|
|
3637
|
-
if (
|
|
3659
|
+
if (wn(h)) {
|
|
3638
3660
|
typeof o == "number" && s.push({
|
|
3639
3661
|
type: T.literal,
|
|
3640
3662
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3643,61 +3665,61 @@ function fe(e, t, r, n, i, o, a) {
|
|
|
3643
3665
|
}
|
|
3644
3666
|
var f = h.value;
|
|
3645
3667
|
if (!(i && f in i))
|
|
3646
|
-
throw new
|
|
3668
|
+
throw new ti(f, a);
|
|
3647
3669
|
var c = i[f];
|
|
3648
|
-
if (
|
|
3670
|
+
if (Sn(h)) {
|
|
3649
3671
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
|
|
3650
3672
|
type: typeof c == "string" ? T.literal : T.object,
|
|
3651
3673
|
value: c
|
|
3652
3674
|
});
|
|
3653
3675
|
continue;
|
|
3654
3676
|
}
|
|
3655
|
-
if (
|
|
3656
|
-
var p = typeof h.style == "string" ? n.date[h.style] :
|
|
3677
|
+
if (kt(h)) {
|
|
3678
|
+
var p = typeof h.style == "string" ? n.date[h.style] : Ge(h.style) ? h.style.parsedOptions : void 0;
|
|
3657
3679
|
s.push({
|
|
3658
3680
|
type: T.literal,
|
|
3659
3681
|
value: r.getDateTimeFormat(t, p).format(c)
|
|
3660
3682
|
});
|
|
3661
3683
|
continue;
|
|
3662
3684
|
}
|
|
3663
|
-
if (
|
|
3664
|
-
var p = typeof h.style == "string" ? n.time[h.style] :
|
|
3685
|
+
if (Vt(h)) {
|
|
3686
|
+
var p = typeof h.style == "string" ? n.time[h.style] : Ge(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3665
3687
|
s.push({
|
|
3666
3688
|
type: T.literal,
|
|
3667
3689
|
value: r.getDateTimeFormat(t, p).format(c)
|
|
3668
3690
|
});
|
|
3669
3691
|
continue;
|
|
3670
3692
|
}
|
|
3671
|
-
if (
|
|
3672
|
-
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;
|
|
3673
3695
|
p && p.scale && (c = c * (p.scale || 1)), s.push({
|
|
3674
3696
|
type: T.literal,
|
|
3675
3697
|
value: r.getNumberFormat(t, p).format(c)
|
|
3676
3698
|
});
|
|
3677
3699
|
continue;
|
|
3678
3700
|
}
|
|
3679
|
-
if (
|
|
3701
|
+
if (Xt(h)) {
|
|
3680
3702
|
var g = h.children, y = h.value, S = i[y];
|
|
3681
|
-
if (!
|
|
3682
|
-
throw new
|
|
3683
|
-
var P = fe(g, t, r, n, i, o),
|
|
3703
|
+
if (!ni(S))
|
|
3704
|
+
throw new ei(y, "function", a);
|
|
3705
|
+
var P = fe(g, t, r, n, i, o), _ = S(P.map(function(L) {
|
|
3684
3706
|
return L.value;
|
|
3685
3707
|
}));
|
|
3686
|
-
Array.isArray(
|
|
3708
|
+
Array.isArray(_) || (_ = [_]), s.push.apply(s, _.map(function(L) {
|
|
3687
3709
|
return {
|
|
3688
3710
|
type: typeof L == "string" ? T.literal : T.object,
|
|
3689
3711
|
value: L
|
|
3690
3712
|
};
|
|
3691
3713
|
}));
|
|
3692
3714
|
}
|
|
3693
|
-
if (
|
|
3715
|
+
if (zt(h)) {
|
|
3694
3716
|
var x = h.options[c] || h.options.other;
|
|
3695
3717
|
if (!x)
|
|
3696
|
-
throw new
|
|
3718
|
+
throw new xt(h.value, c, Object.keys(h.options), a);
|
|
3697
3719
|
s.push.apply(s, fe(x.value, t, r, n, i));
|
|
3698
3720
|
continue;
|
|
3699
3721
|
}
|
|
3700
|
-
if (
|
|
3722
|
+
if (Wt(h)) {
|
|
3701
3723
|
var x = h.options["=".concat(c)];
|
|
3702
3724
|
if (!x) {
|
|
3703
3725
|
if (!Intl.PluralRules)
|
|
@@ -3708,24 +3730,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3708
3730
|
x = h.options[w] || h.options.other;
|
|
3709
3731
|
}
|
|
3710
3732
|
if (!x)
|
|
3711
|
-
throw new
|
|
3733
|
+
throw new xt(h.value, c, Object.keys(h.options), a);
|
|
3712
3734
|
s.push.apply(s, fe(x.value, t, r, n, i, c - (h.offset || 0)));
|
|
3713
3735
|
continue;
|
|
3714
3736
|
}
|
|
3715
3737
|
}
|
|
3716
|
-
return
|
|
3738
|
+
return ri(s);
|
|
3717
3739
|
}
|
|
3718
|
-
function
|
|
3740
|
+
function ii(e, t) {
|
|
3719
3741
|
return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3720
3742
|
return r[n] = v(v({}, e[n]), t[n] || {}), r;
|
|
3721
3743
|
}, {})) : e;
|
|
3722
3744
|
}
|
|
3723
|
-
function
|
|
3745
|
+
function oi(e, t) {
|
|
3724
3746
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3725
|
-
return r[n] =
|
|
3747
|
+
return r[n] = ii(e[n], t[n]), r;
|
|
3726
3748
|
}, v({}, e)) : e;
|
|
3727
3749
|
}
|
|
3728
|
-
function
|
|
3750
|
+
function Ce(e) {
|
|
3729
3751
|
return {
|
|
3730
3752
|
create: function() {
|
|
3731
3753
|
return {
|
|
@@ -3739,39 +3761,39 @@ function Ie(e) {
|
|
|
3739
3761
|
}
|
|
3740
3762
|
};
|
|
3741
3763
|
}
|
|
3742
|
-
function
|
|
3764
|
+
function ai(e) {
|
|
3743
3765
|
return e === void 0 && (e = {
|
|
3744
3766
|
number: {},
|
|
3745
3767
|
dateTime: {},
|
|
3746
3768
|
pluralRules: {}
|
|
3747
3769
|
}), {
|
|
3748
|
-
getNumberFormat:
|
|
3770
|
+
getNumberFormat: Pe(function() {
|
|
3749
3771
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3750
3772
|
r[n] = arguments[n];
|
|
3751
3773
|
return new ((t = Intl.NumberFormat).bind.apply(t, V([void 0], r, !1)))();
|
|
3752
3774
|
}, {
|
|
3753
|
-
cache:
|
|
3754
|
-
strategy:
|
|
3775
|
+
cache: Ce(e.number),
|
|
3776
|
+
strategy: He.variadic
|
|
3755
3777
|
}),
|
|
3756
|
-
getDateTimeFormat:
|
|
3778
|
+
getDateTimeFormat: Pe(function() {
|
|
3757
3779
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3758
3780
|
r[n] = arguments[n];
|
|
3759
3781
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, V([void 0], r, !1)))();
|
|
3760
3782
|
}, {
|
|
3761
|
-
cache:
|
|
3762
|
-
strategy:
|
|
3783
|
+
cache: Ce(e.dateTime),
|
|
3784
|
+
strategy: He.variadic
|
|
3763
3785
|
}),
|
|
3764
|
-
getPluralRules:
|
|
3786
|
+
getPluralRules: Pe(function() {
|
|
3765
3787
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3766
3788
|
r[n] = arguments[n];
|
|
3767
3789
|
return new ((t = Intl.PluralRules).bind.apply(t, V([void 0], r, !1)))();
|
|
3768
3790
|
}, {
|
|
3769
|
-
cache:
|
|
3770
|
-
strategy:
|
|
3791
|
+
cache: Ce(e.pluralRules),
|
|
3792
|
+
strategy: He.variadic
|
|
3771
3793
|
})
|
|
3772
3794
|
};
|
|
3773
3795
|
}
|
|
3774
|
-
var
|
|
3796
|
+
var si = (
|
|
3775
3797
|
/** @class */
|
|
3776
3798
|
function() {
|
|
3777
3799
|
function e(t, r, n, i) {
|
|
@@ -3803,13 +3825,13 @@ var ii = (
|
|
|
3803
3825
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3804
3826
|
var a = i || {};
|
|
3805
3827
|
a.formatters;
|
|
3806
|
-
var s =
|
|
3828
|
+
var s = Gr(a, ["formatters"]);
|
|
3807
3829
|
this.ast = e.__parse(t, v(v({}, s), { locale: this.resolvedLocale }));
|
|
3808
3830
|
} else
|
|
3809
3831
|
this.ast = t;
|
|
3810
3832
|
if (!Array.isArray(this.ast))
|
|
3811
3833
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3812
|
-
this.formats =
|
|
3834
|
+
this.formats = oi(e.formats, n), this.formatters = i && i.formatters || ai(this.formatterCache);
|
|
3813
3835
|
}
|
|
3814
3836
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3815
3837
|
get: function() {
|
|
@@ -3822,7 +3844,7 @@ var ii = (
|
|
|
3822
3844
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3823
3845
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3824
3846
|
}
|
|
3825
|
-
}, e.__parse =
|
|
3847
|
+
}, e.__parse = Kn, e.formats = {
|
|
3826
3848
|
number: {
|
|
3827
3849
|
integer: {
|
|
3828
3850
|
maximumFractionDigits: 0
|
|
@@ -3883,7 +3905,7 @@ var ii = (
|
|
|
3883
3905
|
}, e;
|
|
3884
3906
|
}()
|
|
3885
3907
|
);
|
|
3886
|
-
function
|
|
3908
|
+
function ui(e, t) {
|
|
3887
3909
|
if (t == null)
|
|
3888
3910
|
return;
|
|
3889
3911
|
if (t in e)
|
|
@@ -3904,92 +3926,92 @@ function oi(e, t) {
|
|
|
3904
3926
|
n = void 0;
|
|
3905
3927
|
return n;
|
|
3906
3928
|
}
|
|
3907
|
-
const 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) => {
|
|
3908
3930
|
if (t == null)
|
|
3909
3931
|
return;
|
|
3910
3932
|
if (t in R && e in R[t])
|
|
3911
3933
|
return R[t][e];
|
|
3912
3934
|
const r = ge(t);
|
|
3913
3935
|
for (let n = 0; n < r.length; n++) {
|
|
3914
|
-
const i = r[n], o =
|
|
3936
|
+
const i = r[n], o = ci(i, e);
|
|
3915
3937
|
if (o)
|
|
3916
|
-
return
|
|
3938
|
+
return li(e, t, o);
|
|
3917
3939
|
}
|
|
3918
3940
|
};
|
|
3919
|
-
let
|
|
3941
|
+
let Qe;
|
|
3920
3942
|
const se = ve({});
|
|
3921
|
-
function
|
|
3922
|
-
return
|
|
3943
|
+
function hi(e) {
|
|
3944
|
+
return Qe[e] || null;
|
|
3923
3945
|
}
|
|
3924
|
-
function
|
|
3925
|
-
return e in
|
|
3946
|
+
function nr(e) {
|
|
3947
|
+
return e in Qe;
|
|
3926
3948
|
}
|
|
3927
|
-
function
|
|
3928
|
-
if (!
|
|
3949
|
+
function ci(e, t) {
|
|
3950
|
+
if (!nr(e))
|
|
3929
3951
|
return null;
|
|
3930
|
-
const r =
|
|
3931
|
-
return
|
|
3952
|
+
const r = hi(e);
|
|
3953
|
+
return ui(r, t);
|
|
3932
3954
|
}
|
|
3933
|
-
function
|
|
3955
|
+
function fi(e) {
|
|
3934
3956
|
if (e == null)
|
|
3935
3957
|
return;
|
|
3936
3958
|
const t = ge(e);
|
|
3937
3959
|
for (let r = 0; r < t.length; r++) {
|
|
3938
3960
|
const n = t[r];
|
|
3939
|
-
if (
|
|
3961
|
+
if (nr(n))
|
|
3940
3962
|
return n;
|
|
3941
3963
|
}
|
|
3942
3964
|
}
|
|
3943
|
-
function
|
|
3944
|
-
delete R[e], se.update((r) => (r[e] =
|
|
3965
|
+
function ir(e, ...t) {
|
|
3966
|
+
delete R[e], se.update((r) => (r[e] = vn.all([r[e] || {}, ...t]), r));
|
|
3945
3967
|
}
|
|
3946
3968
|
Y(
|
|
3947
3969
|
[se],
|
|
3948
3970
|
([e]) => Object.keys(e)
|
|
3949
3971
|
);
|
|
3950
|
-
se.subscribe((e) =>
|
|
3972
|
+
se.subscribe((e) => Qe = e);
|
|
3951
3973
|
const pe = {};
|
|
3952
|
-
function
|
|
3974
|
+
function pi(e, t) {
|
|
3953
3975
|
pe[e].delete(t), pe[e].size === 0 && delete pe[e];
|
|
3954
3976
|
}
|
|
3955
|
-
function
|
|
3977
|
+
function or(e) {
|
|
3956
3978
|
return pe[e];
|
|
3957
3979
|
}
|
|
3958
|
-
function
|
|
3980
|
+
function di(e) {
|
|
3959
3981
|
return ge(e).map((t) => {
|
|
3960
|
-
const r =
|
|
3982
|
+
const r = or(t);
|
|
3961
3983
|
return [t, r ? [...r] : []];
|
|
3962
3984
|
}).filter(([, t]) => t.length > 0);
|
|
3963
3985
|
}
|
|
3964
|
-
function
|
|
3986
|
+
function ze(e) {
|
|
3965
3987
|
return e == null ? !1 : ge(e).some(
|
|
3966
3988
|
(t) => {
|
|
3967
3989
|
var r;
|
|
3968
|
-
return (r =
|
|
3990
|
+
return (r = or(t)) == null ? void 0 : r.size;
|
|
3969
3991
|
}
|
|
3970
3992
|
);
|
|
3971
3993
|
}
|
|
3972
|
-
function
|
|
3994
|
+
function mi(e, t) {
|
|
3973
3995
|
return Promise.all(
|
|
3974
|
-
t.map((n) => (
|
|
3975
|
-
).then((n) =>
|
|
3996
|
+
t.map((n) => (pi(e, n), n().then((i) => i.default || i)))
|
|
3997
|
+
).then((n) => ir(e, ...n));
|
|
3976
3998
|
}
|
|
3977
3999
|
const K = {};
|
|
3978
|
-
function
|
|
3979
|
-
if (!
|
|
4000
|
+
function ar(e) {
|
|
4001
|
+
if (!ze(e))
|
|
3980
4002
|
return e in K ? K[e] : Promise.resolve();
|
|
3981
|
-
const t =
|
|
4003
|
+
const t = di(e);
|
|
3982
4004
|
return K[e] = Promise.all(
|
|
3983
4005
|
t.map(
|
|
3984
|
-
([r, n]) =>
|
|
4006
|
+
([r, n]) => mi(r, n)
|
|
3985
4007
|
)
|
|
3986
4008
|
).then(() => {
|
|
3987
|
-
if (
|
|
3988
|
-
return
|
|
4009
|
+
if (ze(e))
|
|
4010
|
+
return ar(e);
|
|
3989
4011
|
delete K[e];
|
|
3990
4012
|
}), K[e];
|
|
3991
4013
|
}
|
|
3992
|
-
const
|
|
4014
|
+
const bi = {
|
|
3993
4015
|
number: {
|
|
3994
4016
|
scientific: { notation: "scientific" },
|
|
3995
4017
|
engineering: { notation: "engineering" },
|
|
@@ -4018,57 +4040,57 @@ const pi = {
|
|
|
4018
4040
|
timeZoneName: "short"
|
|
4019
4041
|
}
|
|
4020
4042
|
}
|
|
4021
|
-
},
|
|
4043
|
+
}, vi = {
|
|
4022
4044
|
fallbackLocale: null,
|
|
4023
4045
|
loadingDelay: 200,
|
|
4024
|
-
formats:
|
|
4046
|
+
formats: bi,
|
|
4025
4047
|
warnOnMissingMessages: !0,
|
|
4026
4048
|
handleMissingMessage: void 0,
|
|
4027
4049
|
ignoreTag: !0
|
|
4028
|
-
},
|
|
4050
|
+
}, yi = vi;
|
|
4029
4051
|
function q() {
|
|
4030
|
-
return
|
|
4052
|
+
return yi;
|
|
4031
4053
|
}
|
|
4032
|
-
const
|
|
4033
|
-
var
|
|
4054
|
+
const Be = ve(!1);
|
|
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) => {
|
|
4034
4056
|
for (var r in t || (t = {}))
|
|
4035
|
-
|
|
4036
|
-
if (
|
|
4037
|
-
for (var r of
|
|
4038
|
-
|
|
4057
|
+
_i.call(t, r) && _t(e, r, t[r]);
|
|
4058
|
+
if (Et)
|
|
4059
|
+
for (var r of Et(t))
|
|
4060
|
+
Ti.call(t, r) && _t(e, r, t[r]);
|
|
4039
4061
|
return e;
|
|
4040
|
-
},
|
|
4041
|
-
let
|
|
4062
|
+
}, wi = (e, t) => xi(e, Ei(t));
|
|
4063
|
+
let We;
|
|
4042
4064
|
const de = ve(null);
|
|
4043
|
-
function
|
|
4065
|
+
function Tt(e) {
|
|
4044
4066
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4045
4067
|
}
|
|
4046
4068
|
function ge(e, t = q().fallbackLocale) {
|
|
4047
|
-
const r =
|
|
4048
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4069
|
+
const r = Tt(e);
|
|
4070
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Tt(t)])] : r;
|
|
4049
4071
|
}
|
|
4050
4072
|
function U() {
|
|
4051
|
-
return
|
|
4073
|
+
return We != null ? We : void 0;
|
|
4052
4074
|
}
|
|
4053
4075
|
de.subscribe((e) => {
|
|
4054
|
-
|
|
4076
|
+
We = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4055
4077
|
});
|
|
4056
|
-
const
|
|
4057
|
-
if (e &&
|
|
4078
|
+
const Pi = (e) => {
|
|
4079
|
+
if (e && fi(e) && ze(e)) {
|
|
4058
4080
|
const { loadingDelay: t } = q();
|
|
4059
4081
|
let r;
|
|
4060
4082
|
return typeof window != "undefined" && U() != null && t ? r = window.setTimeout(
|
|
4061
|
-
() =>
|
|
4083
|
+
() => Be.set(!0),
|
|
4062
4084
|
t
|
|
4063
|
-
) :
|
|
4085
|
+
) : Be.set(!0), ar(e).then(() => {
|
|
4064
4086
|
de.set(e);
|
|
4065
4087
|
}).finally(() => {
|
|
4066
|
-
clearTimeout(r),
|
|
4088
|
+
clearTimeout(r), Be.set(!1);
|
|
4067
4089
|
});
|
|
4068
4090
|
}
|
|
4069
4091
|
return de.set(e);
|
|
4070
|
-
}, Q =
|
|
4071
|
-
set:
|
|
4092
|
+
}, Q = wi(Si({}, de), {
|
|
4093
|
+
set: Pi
|
|
4072
4094
|
}), xe = (e) => {
|
|
4073
4095
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4074
4096
|
return (n) => {
|
|
@@ -4076,20 +4098,20 @@ const Ti = (e) => {
|
|
|
4076
4098
|
return i in t ? t[i] : t[i] = e(n);
|
|
4077
4099
|
};
|
|
4078
4100
|
};
|
|
4079
|
-
var
|
|
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) => {
|
|
4080
4102
|
for (var r in t || (t = {}))
|
|
4081
|
-
|
|
4103
|
+
sr.call(t, r) && St(e, r, t[r]);
|
|
4082
4104
|
if (me)
|
|
4083
4105
|
for (var r of me(t))
|
|
4084
|
-
|
|
4106
|
+
ur.call(t, r) && St(e, r, t[r]);
|
|
4085
4107
|
return e;
|
|
4086
4108
|
}, J = (e, t) => {
|
|
4087
4109
|
var r = {};
|
|
4088
4110
|
for (var n in e)
|
|
4089
|
-
|
|
4111
|
+
sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4090
4112
|
if (e != null && me)
|
|
4091
4113
|
for (var n of me(e))
|
|
4092
|
-
t.indexOf(n) < 0 &&
|
|
4114
|
+
t.indexOf(n) < 0 && ur.call(e, n) && (r[n] = e[n]);
|
|
4093
4115
|
return r;
|
|
4094
4116
|
};
|
|
4095
4117
|
const ne = (e, t) => {
|
|
@@ -4097,21 +4119,21 @@ const ne = (e, t) => {
|
|
|
4097
4119
|
if (e in r && t in r[e])
|
|
4098
4120
|
return r[e][t];
|
|
4099
4121
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4100
|
-
},
|
|
4122
|
+
}, Ii = xe(
|
|
4101
4123
|
(e) => {
|
|
4102
4124
|
var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
|
|
4103
4125
|
if (r == null)
|
|
4104
4126
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4105
4127
|
return n && (i = ne("number", n)), new Intl.NumberFormat(r, i);
|
|
4106
4128
|
}
|
|
4107
|
-
),
|
|
4129
|
+
), Ci = xe(
|
|
4108
4130
|
(e) => {
|
|
4109
4131
|
var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
|
|
4110
4132
|
if (r == null)
|
|
4111
4133
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4112
4134
|
return n ? i = ne("date", n) : Object.keys(i).length === 0 && (i = ne("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4113
4135
|
}
|
|
4114
|
-
),
|
|
4136
|
+
), Bi = xe(
|
|
4115
4137
|
(e) => {
|
|
4116
4138
|
var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
|
|
4117
4139
|
if (r == null)
|
|
@@ -4120,33 +4142,33 @@ const ne = (e, t) => {
|
|
|
4120
4142
|
);
|
|
4121
4143
|
return n ? i = ne("time", n) : Object.keys(i).length === 0 && (i = ne("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4122
4144
|
}
|
|
4123
|
-
),
|
|
4145
|
+
), Ai = (e = {}) => {
|
|
4124
4146
|
var t = e, {
|
|
4125
4147
|
locale: r = U()
|
|
4126
4148
|
} = t, n = J(t, [
|
|
4127
4149
|
"locale"
|
|
4128
4150
|
]);
|
|
4129
|
-
return
|
|
4130
|
-
},
|
|
4151
|
+
return Ii(Je({ locale: r }, n));
|
|
4152
|
+
}, Oi = (e = {}) => {
|
|
4131
4153
|
var t = e, {
|
|
4132
4154
|
locale: r = U()
|
|
4133
4155
|
} = t, n = J(t, [
|
|
4134
4156
|
"locale"
|
|
4135
4157
|
]);
|
|
4136
|
-
return
|
|
4137
|
-
},
|
|
4158
|
+
return Ci(Je({ locale: r }, n));
|
|
4159
|
+
}, Li = (e = {}) => {
|
|
4138
4160
|
var t = e, {
|
|
4139
4161
|
locale: r = U()
|
|
4140
4162
|
} = t, n = J(t, [
|
|
4141
4163
|
"locale"
|
|
4142
4164
|
]);
|
|
4143
|
-
return
|
|
4144
|
-
},
|
|
4165
|
+
return Bi(Je({ locale: r }, n));
|
|
4166
|
+
}, Mi = xe(
|
|
4145
4167
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4146
|
-
(e, t = U()) => new
|
|
4168
|
+
(e, t = U()) => new si(e, t, q().formats, {
|
|
4147
4169
|
ignoreTag: q().ignoreTag
|
|
4148
4170
|
})
|
|
4149
|
-
),
|
|
4171
|
+
), Ni = (e, t = {}) => {
|
|
4150
4172
|
var r, n, i, o;
|
|
4151
4173
|
let a = t;
|
|
4152
4174
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -4159,7 +4181,7 @@ const ne = (e, t) => {
|
|
|
4159
4181
|
throw new Error(
|
|
4160
4182
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4161
4183
|
);
|
|
4162
|
-
let h =
|
|
4184
|
+
let h = rr(e, l);
|
|
4163
4185
|
if (!h)
|
|
4164
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;
|
|
4165
4187
|
else if (typeof h != "string")
|
|
@@ -4170,7 +4192,7 @@ const ne = (e, t) => {
|
|
|
4170
4192
|
return h;
|
|
4171
4193
|
let f = h;
|
|
4172
4194
|
try {
|
|
4173
|
-
f =
|
|
4195
|
+
f = Mi(h, l).format(s);
|
|
4174
4196
|
} catch (c) {
|
|
4175
4197
|
c instanceof Error && console.warn(
|
|
4176
4198
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4178,20 +4200,20 @@ const ne = (e, t) => {
|
|
|
4178
4200
|
);
|
|
4179
4201
|
}
|
|
4180
4202
|
return f;
|
|
4181
|
-
},
|
|
4182
|
-
Y([Q], () =>
|
|
4183
|
-
Y([Q], () =>
|
|
4184
|
-
Y([Q], () =>
|
|
4185
|
-
Y([Q, se], () =>
|
|
4186
|
-
window.emWidgets = { topic:
|
|
4187
|
-
const
|
|
4188
|
-
function
|
|
4189
|
-
|
|
4190
|
-
}
|
|
4191
|
-
function
|
|
4203
|
+
}, $i = (e, t) => Li(t).format(e), Ri = (e, t) => Oi(t).format(e), Ui = (e, t) => Ai(t).format(e), Gi = (e, t = U()) => rr(e, t), Di = Y([Q, se], () => Ni);
|
|
4204
|
+
Y([Q], () => $i);
|
|
4205
|
+
Y([Q], () => Ri);
|
|
4206
|
+
Y([Q], () => Ui);
|
|
4207
|
+
Y([Q, se], () => Gi);
|
|
4208
|
+
window.emWidgets = { topic: Kr };
|
|
4209
|
+
const Fi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4210
|
+
function wt(e, t) {
|
|
4211
|
+
ir(e, t);
|
|
4212
|
+
}
|
|
4213
|
+
function ji(e) {
|
|
4192
4214
|
Q.set(e);
|
|
4193
4215
|
}
|
|
4194
|
-
const
|
|
4216
|
+
const Pt = {
|
|
4195
4217
|
en: {
|
|
4196
4218
|
name: "Info",
|
|
4197
4219
|
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:",
|
|
@@ -4253,10 +4275,10 @@ const Tt = {
|
|
|
4253
4275
|
defaultText: "When you set a game limit, it takes effect from the moment you activate it and lasts until the end of the selected period. Therefore, if you set a daily limit at 14.00, the 24-hour period that counts is from its activation until 00:00 GMT. The limit is then valid for 24 days. you can lower a limit at any time with immediate effect. however, increasing or removing a limit will not apply until the current limit expires."
|
|
4254
4276
|
}
|
|
4255
4277
|
};
|
|
4256
|
-
function
|
|
4257
|
-
|
|
4278
|
+
function ki(e) {
|
|
4279
|
+
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)}');
|
|
4258
4280
|
}
|
|
4259
|
-
function
|
|
4281
|
+
function Ht(e) {
|
|
4260
4282
|
let t, r, n, i, o, a, s = (
|
|
4261
4283
|
/*$_*/
|
|
4262
4284
|
e[4]("name") + ""
|
|
@@ -4264,13 +4286,13 @@ function St(e) {
|
|
|
4264
4286
|
function S(x, w) {
|
|
4265
4287
|
return (
|
|
4266
4288
|
/*iteminfoamount*/
|
|
4267
|
-
x[0] ?
|
|
4289
|
+
x[0] ? zi : Vi
|
|
4268
4290
|
);
|
|
4269
4291
|
}
|
|
4270
|
-
let P = S(e),
|
|
4292
|
+
let P = S(e), _ = P(e);
|
|
4271
4293
|
return {
|
|
4272
4294
|
c() {
|
|
4273
|
-
t = A("section"), r = A("div"), n = A("div"), i = A("div"), i.textContent = "i", o =
|
|
4295
|
+
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*/
|
|
4274
4296
|
(e[5] ? "InfoCardPopupMobileWrapper" : "") + " " + /*iteminfoamount*/
|
|
4275
4297
|
(e[0] ? "InfoCardPopupLimitChanged" : "")), B(
|
|
4276
4298
|
t,
|
|
@@ -4280,7 +4302,7 @@ function St(e) {
|
|
|
4280
4302
|
);
|
|
4281
4303
|
},
|
|
4282
4304
|
m(x, w) {
|
|
4283
|
-
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),
|
|
4305
|
+
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(
|
|
4284
4306
|
/*closeInfoPopup*/
|
|
4285
4307
|
e[6]
|
|
4286
4308
|
)), g = !0);
|
|
@@ -4288,17 +4310,17 @@ function St(e) {
|
|
|
4288
4310
|
p(x, w) {
|
|
4289
4311
|
w & /*$_*/
|
|
4290
4312
|
16 && s !== (s = /*$_*/
|
|
4291
|
-
x[4]("name") + "") &&
|
|
4313
|
+
x[4]("name") + "") && qe(l, s), P === (P = S(x)) && _ ? _.p(x, w) : (_.d(1), _ = P(x), _ && (_.c(), _.m(c, null))), w & /*iteminfoamount*/
|
|
4292
4314
|
1 && p !== (p = "InfoCardPopupWrapper " + /*isMobile*/
|
|
4293
4315
|
(x[5] ? "InfoCardPopupMobileWrapper" : "") + " " + /*iteminfoamount*/
|
|
4294
4316
|
(x[0] ? "InfoCardPopupLimitChanged" : "")) && B(r, "class", p);
|
|
4295
4317
|
},
|
|
4296
4318
|
d(x) {
|
|
4297
|
-
x && Z(t),
|
|
4319
|
+
x && Z(t), _.d(), e[12](null), g = !1, y();
|
|
4298
4320
|
}
|
|
4299
4321
|
};
|
|
4300
4322
|
}
|
|
4301
|
-
function
|
|
4323
|
+
function Vi(e) {
|
|
4302
4324
|
let t, r = (
|
|
4303
4325
|
/*$_*/
|
|
4304
4326
|
e[4]("defaultText") + ""
|
|
@@ -4313,14 +4335,14 @@ function Fi(e) {
|
|
|
4313
4335
|
p(i, o) {
|
|
4314
4336
|
o & /*$_*/
|
|
4315
4337
|
16 && r !== (r = /*$_*/
|
|
4316
|
-
i[4]("defaultText") + "") &&
|
|
4338
|
+
i[4]("defaultText") + "") && qe(n, r);
|
|
4317
4339
|
},
|
|
4318
4340
|
d(i) {
|
|
4319
4341
|
i && Z(t);
|
|
4320
4342
|
}
|
|
4321
4343
|
};
|
|
4322
4344
|
}
|
|
4323
|
-
function
|
|
4345
|
+
function zi(e) {
|
|
4324
4346
|
let t, r = (
|
|
4325
4347
|
/*$_*/
|
|
4326
4348
|
e[4]("amountChanged", {
|
|
@@ -4357,28 +4379,28 @@ function ji(e) {
|
|
|
4357
4379
|
i[1]
|
|
4358
4380
|
)
|
|
4359
4381
|
}
|
|
4360
|
-
}) + "") &&
|
|
4382
|
+
}) + "") && qe(n, r);
|
|
4361
4383
|
},
|
|
4362
4384
|
d(i) {
|
|
4363
4385
|
i && Z(t);
|
|
4364
4386
|
}
|
|
4365
4387
|
};
|
|
4366
4388
|
}
|
|
4367
|
-
function
|
|
4389
|
+
function Wi(e) {
|
|
4368
4390
|
let t, r = (
|
|
4369
4391
|
/*showPopup*/
|
|
4370
|
-
e[3] &&
|
|
4392
|
+
e[3] && Ht(e)
|
|
4371
4393
|
);
|
|
4372
4394
|
return {
|
|
4373
4395
|
c() {
|
|
4374
|
-
r && r.c(), t =
|
|
4396
|
+
r && r.c(), t = gr();
|
|
4375
4397
|
},
|
|
4376
4398
|
m(n, i) {
|
|
4377
4399
|
r && r.m(n, i), oe(n, t, i);
|
|
4378
4400
|
},
|
|
4379
4401
|
p(n, [i]) {
|
|
4380
4402
|
/*showPopup*/
|
|
4381
|
-
n[3] ? r ? r.p(n, i) : (r =
|
|
4403
|
+
n[3] ? r ? r.p(n, i) : (r = Ht(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
|
|
4382
4404
|
},
|
|
4383
4405
|
i: O,
|
|
4384
4406
|
o: O,
|
|
@@ -4387,23 +4409,23 @@ function ki(e) {
|
|
|
4387
4409
|
}
|
|
4388
4410
|
};
|
|
4389
4411
|
}
|
|
4390
|
-
function
|
|
4412
|
+
function Xi(e, t, r) {
|
|
4391
4413
|
let n;
|
|
4392
|
-
|
|
4414
|
+
mr(e, Di, (d) => r(4, n = d));
|
|
4393
4415
|
let { showpopup: i = "" } = t, { iteminfoamount: o = "" } = t, { lang: a = "en" } = t, { playercurrency: s = "USD" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: h = "" } = t;
|
|
4394
4416
|
const f = () => {
|
|
4395
4417
|
fetch(h).then((I) => I.json()).then((I) => {
|
|
4396
4418
|
Object.keys(I).forEach((G) => {
|
|
4397
|
-
|
|
4419
|
+
wt(G, I[G]);
|
|
4398
4420
|
});
|
|
4399
4421
|
}).catch((I) => {
|
|
4400
4422
|
console.log(I);
|
|
4401
4423
|
});
|
|
4402
4424
|
};
|
|
4403
|
-
Object.keys(
|
|
4404
|
-
|
|
4425
|
+
Object.keys(Pt).forEach((d) => {
|
|
4426
|
+
wt(d, Pt[d]);
|
|
4405
4427
|
});
|
|
4406
|
-
let c = !1, p, g = window.navigator.userAgent, y =
|
|
4428
|
+
let c = !1, p, g = window.navigator.userAgent, y = Fi(g) !== "PC";
|
|
4407
4429
|
const S = () => {
|
|
4408
4430
|
r(3, c = !1), window.postMessage(
|
|
4409
4431
|
{
|
|
@@ -4413,8 +4435,8 @@ function Vi(e, t, r) {
|
|
|
4413
4435
|
);
|
|
4414
4436
|
}, P = (d) => {
|
|
4415
4437
|
d.data && d.data.type == "ClosePlayerAccountGamingLimitsPopup" && r(3, c = !1);
|
|
4416
|
-
},
|
|
4417
|
-
|
|
4438
|
+
}, _ = () => {
|
|
4439
|
+
ji(a), o < 0 && r(0, o = "0"), r(3, c = i);
|
|
4418
4440
|
}, x = () => {
|
|
4419
4441
|
let d = document.createElement("style");
|
|
4420
4442
|
d.innerHTML = l, p.appendChild(d);
|
|
@@ -4429,11 +4451,11 @@ function Vi(e, t, r) {
|
|
|
4429
4451
|
);
|
|
4430
4452
|
});
|
|
4431
4453
|
};
|
|
4432
|
-
|
|
4454
|
+
wr(() => (window.addEventListener("message", P, !1), () => {
|
|
4433
4455
|
window.removeEventListener("message", P);
|
|
4434
4456
|
}));
|
|
4435
4457
|
function L(d) {
|
|
4436
|
-
|
|
4458
|
+
Ae[d ? "unshift" : "push"](() => {
|
|
4437
4459
|
p = d, r(2, p);
|
|
4438
4460
|
});
|
|
4439
4461
|
}
|
|
@@ -4441,7 +4463,7 @@ function Vi(e, t, r) {
|
|
|
4441
4463
|
"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);
|
|
4442
4464
|
}, e.$$.update = () => {
|
|
4443
4465
|
e.$$.dirty & /*showpopup, lang*/
|
|
4444
|
-
384 && i && a &&
|
|
4466
|
+
384 && i && a && _(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4445
4467
|
1028 && u && p && w(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4446
4468
|
516 && l && p && x(), e.$$.dirty & /*translationurl*/
|
|
4447
4469
|
2048 && h && f();
|
|
@@ -4461,14 +4483,14 @@ function Vi(e, t, r) {
|
|
|
4461
4483
|
L
|
|
4462
4484
|
];
|
|
4463
4485
|
}
|
|
4464
|
-
class
|
|
4486
|
+
class qi extends Rr {
|
|
4465
4487
|
constructor(t) {
|
|
4466
|
-
super(),
|
|
4488
|
+
super(), Nr(
|
|
4467
4489
|
this,
|
|
4468
4490
|
t,
|
|
4469
|
-
|
|
4470
|
-
|
|
4471
|
-
|
|
4491
|
+
Xi,
|
|
4492
|
+
Wi,
|
|
4493
|
+
Ct,
|
|
4472
4494
|
{
|
|
4473
4495
|
showpopup: 7,
|
|
4474
4496
|
iteminfoamount: 0,
|
|
@@ -4478,53 +4500,53 @@ class zi extends Lr {
|
|
|
4478
4500
|
clientstylingurl: 10,
|
|
4479
4501
|
translationurl: 11
|
|
4480
4502
|
},
|
|
4481
|
-
|
|
4503
|
+
ki
|
|
4482
4504
|
);
|
|
4483
4505
|
}
|
|
4484
4506
|
get showpopup() {
|
|
4485
4507
|
return this.$$.ctx[7];
|
|
4486
4508
|
}
|
|
4487
4509
|
set showpopup(t) {
|
|
4488
|
-
this.$$set({ showpopup: t }),
|
|
4510
|
+
this.$$set({ showpopup: t }), M();
|
|
4489
4511
|
}
|
|
4490
4512
|
get iteminfoamount() {
|
|
4491
4513
|
return this.$$.ctx[0];
|
|
4492
4514
|
}
|
|
4493
4515
|
set iteminfoamount(t) {
|
|
4494
|
-
this.$$set({ iteminfoamount: t }),
|
|
4516
|
+
this.$$set({ iteminfoamount: t }), M();
|
|
4495
4517
|
}
|
|
4496
4518
|
get lang() {
|
|
4497
4519
|
return this.$$.ctx[8];
|
|
4498
4520
|
}
|
|
4499
4521
|
set lang(t) {
|
|
4500
|
-
this.$$set({ lang: t }),
|
|
4522
|
+
this.$$set({ lang: t }), M();
|
|
4501
4523
|
}
|
|
4502
4524
|
get playercurrency() {
|
|
4503
4525
|
return this.$$.ctx[1];
|
|
4504
4526
|
}
|
|
4505
4527
|
set playercurrency(t) {
|
|
4506
|
-
this.$$set({ playercurrency: t }),
|
|
4528
|
+
this.$$set({ playercurrency: t }), M();
|
|
4507
4529
|
}
|
|
4508
4530
|
get clientstyling() {
|
|
4509
4531
|
return this.$$.ctx[9];
|
|
4510
4532
|
}
|
|
4511
4533
|
set clientstyling(t) {
|
|
4512
|
-
this.$$set({ clientstyling: t }),
|
|
4534
|
+
this.$$set({ clientstyling: t }), M();
|
|
4513
4535
|
}
|
|
4514
4536
|
get clientstylingurl() {
|
|
4515
4537
|
return this.$$.ctx[10];
|
|
4516
4538
|
}
|
|
4517
4539
|
set clientstylingurl(t) {
|
|
4518
|
-
this.$$set({ clientstylingurl: t }),
|
|
4540
|
+
this.$$set({ clientstylingurl: t }), M();
|
|
4519
4541
|
}
|
|
4520
4542
|
get translationurl() {
|
|
4521
4543
|
return this.$$.ctx[11];
|
|
4522
4544
|
}
|
|
4523
4545
|
set translationurl(t) {
|
|
4524
|
-
this.$$set({ translationurl: t }),
|
|
4546
|
+
this.$$set({ translationurl: t }), M();
|
|
4525
4547
|
}
|
|
4526
4548
|
}
|
|
4527
|
-
|
|
4549
|
+
$r(qi, { showpopup: {}, iteminfoamount: {}, lang: {}, playercurrency: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
4528
4550
|
export {
|
|
4529
|
-
|
|
4551
|
+
qi as default
|
|
4530
4552
|
};
|