@everymatrix/player-account-gaming-limits-popup 1.60.0 → 1.60.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerAccountGamingLimitsPopup-D6mfDEwd.js → PlayerAccountGamingLimitsPopup-BsPqMQeJ.js} +540 -562
- package/components/PlayerAccountGamingLimitsPopup-DY2hHTHw.cjs +18 -0
- package/components/{PlayerAccountGamingLimitsPopup-t5dvXXln.js → PlayerAccountGamingLimitsPopup-vzb49sWl.js} +525 -547
- 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-Bgia7sTX.cjs +0 -18
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var xe = (e, t, r) => t in e ?
|
|
1
|
+
var ir = Object.defineProperty, or = Object.defineProperties;
|
|
2
|
+
var ar = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var Ze = Object.getOwnPropertySymbols;
|
|
4
|
+
var sr = Object.prototype.hasOwnProperty, ur = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var xe = (e, t, r) => t in e ? ir(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
sr.call(t, r) && xe(e, r, t[r]);
|
|
8
|
+
if (Ze)
|
|
9
|
+
for (var r of Ze(t))
|
|
10
|
+
ur.call(t, r) && xe(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
12
|
+
}, Qe = (e, t) => or(e, ar(t));
|
|
13
13
|
var I = (e, t, r) => (xe(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
-
var
|
|
14
|
+
var Je = (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 tt = (e, t, r) => new Promise((n, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
function O() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function St(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function Ke() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
38
|
function ne(e) {
|
|
39
|
-
e.forEach(
|
|
39
|
+
e.forEach(St);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function ze(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function wt(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function lr(e) {
|
|
48
48
|
return Object.keys(e).length === 0;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function Pt(e, ...t) {
|
|
51
51
|
if (e == null) {
|
|
52
52
|
for (const n of t)
|
|
53
53
|
n(void 0);
|
|
@@ -56,20 +56,20 @@ function Bt(e, ...t) {
|
|
|
56
56
|
const r = e.subscribe(...t);
|
|
57
57
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
60
|
-
e.$$.on_destroy.push(
|
|
59
|
+
function hr(e, t, r) {
|
|
60
|
+
e.$$.on_destroy.push(Pt(t, r));
|
|
61
61
|
}
|
|
62
62
|
function P(e, t) {
|
|
63
63
|
e.appendChild(t);
|
|
64
64
|
}
|
|
65
|
-
function
|
|
66
|
-
const n =
|
|
65
|
+
function cr(e, t, r) {
|
|
66
|
+
const n = fr(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, pr(n, i);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function fr(e) {
|
|
73
73
|
if (!e)
|
|
74
74
|
return document;
|
|
75
75
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -79,7 +79,7 @@ function br(e) {
|
|
|
79
79
|
t
|
|
80
80
|
) : e.ownerDocument;
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function pr(e, t) {
|
|
83
83
|
return P(
|
|
84
84
|
/** @type {Document} */
|
|
85
85
|
e.head || e,
|
|
@@ -101,13 +101,13 @@ function oe(e) {
|
|
|
101
101
|
function _e() {
|
|
102
102
|
return oe(" ");
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function dr() {
|
|
105
105
|
return oe("");
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function mr(e, t, r, n) {
|
|
108
108
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function br(e) {
|
|
111
111
|
return function(t) {
|
|
112
112
|
return t.preventDefault(), e.call(this, t);
|
|
113
113
|
};
|
|
@@ -115,14 +115,14 @@ function xr(e) {
|
|
|
115
115
|
function C(e, t, r) {
|
|
116
116
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
117
117
|
}
|
|
118
|
-
function
|
|
118
|
+
function vr(e) {
|
|
119
119
|
return Array.from(e.childNodes);
|
|
120
120
|
}
|
|
121
|
-
function
|
|
121
|
+
function We(e, t) {
|
|
122
122
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
123
123
|
t);
|
|
124
124
|
}
|
|
125
|
-
function
|
|
125
|
+
function gr(e) {
|
|
126
126
|
const t = {};
|
|
127
127
|
return e.childNodes.forEach(
|
|
128
128
|
/** @param {Element} node */
|
|
@@ -135,22 +135,22 @@ let ee;
|
|
|
135
135
|
function K(e) {
|
|
136
136
|
ee = e;
|
|
137
137
|
}
|
|
138
|
-
function
|
|
138
|
+
function yr() {
|
|
139
139
|
if (!ee)
|
|
140
140
|
throw new Error("Function called outside component initialization");
|
|
141
141
|
return ee;
|
|
142
142
|
}
|
|
143
|
-
function
|
|
144
|
-
|
|
143
|
+
function xr(e) {
|
|
144
|
+
yr().$$.on_mount.push(e);
|
|
145
145
|
}
|
|
146
|
-
const D = [],
|
|
146
|
+
const D = [], Be = [];
|
|
147
147
|
let F = [];
|
|
148
|
-
const
|
|
149
|
-
let
|
|
150
|
-
function
|
|
151
|
-
|
|
148
|
+
const et = [], _r = /* @__PURE__ */ Promise.resolve();
|
|
149
|
+
let Ce = !1;
|
|
150
|
+
function Er() {
|
|
151
|
+
Ce || (Ce = !0, _r.then(L));
|
|
152
152
|
}
|
|
153
|
-
function
|
|
153
|
+
function Ae(e) {
|
|
154
154
|
F.push(e);
|
|
155
155
|
}
|
|
156
156
|
const Ee = /* @__PURE__ */ new Set();
|
|
@@ -163,53 +163,53 @@ function L() {
|
|
|
163
163
|
try {
|
|
164
164
|
for (; U < D.length; ) {
|
|
165
165
|
const t = D[U];
|
|
166
|
-
U++, K(t),
|
|
166
|
+
U++, K(t), Tr(t.$$);
|
|
167
167
|
}
|
|
168
168
|
} catch (t) {
|
|
169
169
|
throw D.length = 0, U = 0, t;
|
|
170
170
|
}
|
|
171
|
-
for (K(null), D.length = 0, U = 0;
|
|
172
|
-
|
|
171
|
+
for (K(null), D.length = 0, U = 0; Be.length; )
|
|
172
|
+
Be.pop()();
|
|
173
173
|
for (let t = 0; t < F.length; t += 1) {
|
|
174
174
|
const r = F[t];
|
|
175
175
|
Ee.has(r) || (Ee.add(r), r());
|
|
176
176
|
}
|
|
177
177
|
F.length = 0;
|
|
178
178
|
} while (D.length);
|
|
179
|
-
for (;
|
|
180
|
-
|
|
181
|
-
|
|
179
|
+
for (; et.length; )
|
|
180
|
+
et.pop()();
|
|
181
|
+
Ce = !1, Ee.clear(), K(e);
|
|
182
182
|
}
|
|
183
|
-
function
|
|
183
|
+
function Tr(e) {
|
|
184
184
|
if (e.fragment !== null) {
|
|
185
185
|
e.update(), ne(e.before_update);
|
|
186
186
|
const t = e.dirty;
|
|
187
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
187
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ae);
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
|
-
function
|
|
190
|
+
function Sr(e) {
|
|
191
191
|
const t = [], r = [];
|
|
192
192
|
F.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), F = t;
|
|
193
193
|
}
|
|
194
|
-
const
|
|
195
|
-
function
|
|
196
|
-
e && e.i && (
|
|
194
|
+
const wr = /* @__PURE__ */ new Set();
|
|
195
|
+
function Pr(e, t) {
|
|
196
|
+
e && e.i && (wr.delete(e), e.i(t));
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function Hr(e, t, r) {
|
|
199
199
|
const { fragment: n, after_update: i } = e.$$;
|
|
200
|
-
n && n.m(t, r),
|
|
201
|
-
const o = e.$$.on_mount.map(
|
|
200
|
+
n && n.m(t, r), Ae(() => {
|
|
201
|
+
const o = e.$$.on_mount.map(St).filter(ze);
|
|
202
202
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ne(o), e.$$.on_mount = [];
|
|
203
|
-
}), i.forEach(
|
|
203
|
+
}), i.forEach(Ae);
|
|
204
204
|
}
|
|
205
|
-
function
|
|
205
|
+
function Ir(e, t) {
|
|
206
206
|
const r = e.$$;
|
|
207
|
-
r.fragment !== null && (
|
|
207
|
+
r.fragment !== null && (Sr(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
208
208
|
}
|
|
209
|
-
function
|
|
210
|
-
e.$$.dirty[0] === -1 && (D.push(e),
|
|
209
|
+
function Br(e, t) {
|
|
210
|
+
e.$$.dirty[0] === -1 && (D.push(e), Er(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
211
211
|
}
|
|
212
|
-
function
|
|
212
|
+
function Cr(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
213
213
|
const l = ee;
|
|
214
214
|
K(e);
|
|
215
215
|
const u = e.$$ = {
|
|
@@ -219,7 +219,7 @@ function Mr(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
219
219
|
props: o,
|
|
220
220
|
update: O,
|
|
221
221
|
not_equal: i,
|
|
222
|
-
bound:
|
|
222
|
+
bound: Ke(),
|
|
223
223
|
// lifecycle
|
|
224
224
|
on_mount: [],
|
|
225
225
|
on_destroy: [],
|
|
@@ -228,28 +228,28 @@ function Mr(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
228
228
|
after_update: [],
|
|
229
229
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
230
230
|
// everything else
|
|
231
|
-
callbacks:
|
|
231
|
+
callbacks: Ke(),
|
|
232
232
|
dirty: s,
|
|
233
233
|
skip_bound: !1,
|
|
234
234
|
root: t.target || l.$$.root
|
|
235
235
|
};
|
|
236
236
|
a && a(u.root);
|
|
237
237
|
let h = !1;
|
|
238
|
-
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...
|
|
239
|
-
const
|
|
240
|
-
return u.ctx && i(u.ctx[f], u.ctx[f] =
|
|
238
|
+
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
|
|
239
|
+
const d = p.length ? p[0] : c;
|
|
240
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), h && Br(e, f)), c;
|
|
241
241
|
}) : [], u.update(), h = !0, ne(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
242
242
|
if (t.hydrate) {
|
|
243
|
-
const f =
|
|
243
|
+
const f = vr(t.target);
|
|
244
244
|
u.fragment && u.fragment.l(f), f.forEach(X);
|
|
245
245
|
} else
|
|
246
246
|
u.fragment && u.fragment.c();
|
|
247
|
-
t.intro &&
|
|
247
|
+
t.intro && Pr(e.$$.fragment), Hr(e, t.target, t.anchor), L();
|
|
248
248
|
}
|
|
249
249
|
K(l);
|
|
250
250
|
}
|
|
251
|
-
let
|
|
252
|
-
typeof HTMLElement == "function" && (
|
|
251
|
+
let Ht;
|
|
252
|
+
typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
|
|
253
253
|
constructor(t, r, n) {
|
|
254
254
|
super();
|
|
255
255
|
/** The Svelte component constructor */
|
|
@@ -286,7 +286,7 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
|
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
288
|
connectedCallback() {
|
|
289
|
-
return
|
|
289
|
+
return Je(this, null, function* () {
|
|
290
290
|
if (this.$$cn = !0, !this.$$c) {
|
|
291
291
|
let t = function(o) {
|
|
292
292
|
return () => {
|
|
@@ -310,7 +310,7 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
|
|
|
310
310
|
};
|
|
311
311
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
312
312
|
return;
|
|
313
|
-
const r = {}, n =
|
|
313
|
+
const r = {}, n = gr(this);
|
|
314
314
|
for (const o of this.$$s)
|
|
315
315
|
o in n && (r[o] = [t(o)]);
|
|
316
316
|
for (const o of this.attributes) {
|
|
@@ -321,7 +321,7 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
|
|
|
321
321
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
322
322
|
this.$$c = new this.$$ctor({
|
|
323
323
|
target: this.shadowRoot || this,
|
|
324
|
-
props:
|
|
324
|
+
props: Qe(Ye({}, this.$$d), {
|
|
325
325
|
$$slots: r,
|
|
326
326
|
$$scope: {
|
|
327
327
|
ctx: []
|
|
@@ -399,8 +399,8 @@ function le(e, t, r, n) {
|
|
|
399
399
|
return t;
|
|
400
400
|
}
|
|
401
401
|
}
|
|
402
|
-
function
|
|
403
|
-
let a = class extends
|
|
402
|
+
function Ar(e, t, r, n, i, o) {
|
|
403
|
+
let a = class extends Ht {
|
|
404
404
|
constructor() {
|
|
405
405
|
super(e, r, i), this.$$p_d = t;
|
|
406
406
|
}
|
|
@@ -430,7 +430,7 @@ function Nr(e, t, r, n, i, o) {
|
|
|
430
430
|
}), e.element = /** @type {any} */
|
|
431
431
|
a, a;
|
|
432
432
|
}
|
|
433
|
-
class
|
|
433
|
+
class Or {
|
|
434
434
|
constructor() {
|
|
435
435
|
/**
|
|
436
436
|
* ### PRIVATE API
|
|
@@ -451,7 +451,7 @@ class Rr {
|
|
|
451
451
|
}
|
|
452
452
|
/** @returns {void} */
|
|
453
453
|
$destroy() {
|
|
454
|
-
|
|
454
|
+
Ir(this, 1), this.$destroy = O;
|
|
455
455
|
}
|
|
456
456
|
/**
|
|
457
457
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -460,7 +460,7 @@ class Rr {
|
|
|
460
460
|
* @returns {() => void}
|
|
461
461
|
*/
|
|
462
462
|
$on(t, r) {
|
|
463
|
-
if (!
|
|
463
|
+
if (!ze(r))
|
|
464
464
|
return O;
|
|
465
465
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
466
466
|
return n.push(r), () => {
|
|
@@ -473,11 +473,11 @@ class Rr {
|
|
|
473
473
|
* @returns {void}
|
|
474
474
|
*/
|
|
475
475
|
$set(t) {
|
|
476
|
-
this.$$set && !
|
|
476
|
+
this.$$set && !lr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
477
477
|
}
|
|
478
478
|
}
|
|
479
|
-
const
|
|
480
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
479
|
+
const Lr = "4";
|
|
480
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Lr);
|
|
481
481
|
/*! *****************************************************************************
|
|
482
482
|
Copyright (c) Microsoft Corporation.
|
|
483
483
|
|
|
@@ -492,18 +492,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
492
492
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
493
493
|
PERFORMANCE OF THIS SOFTWARE.
|
|
494
494
|
***************************************************************************** */
|
|
495
|
-
var
|
|
496
|
-
return
|
|
495
|
+
var Oe = function(e, t) {
|
|
496
|
+
return Oe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
497
497
|
r.__proto__ = n;
|
|
498
498
|
} || function(r, n) {
|
|
499
499
|
for (var i in n)
|
|
500
500
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
501
|
-
},
|
|
501
|
+
}, Oe(e, t);
|
|
502
502
|
};
|
|
503
503
|
function N(e, t) {
|
|
504
504
|
if (typeof t != "function" && t !== null)
|
|
505
505
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
506
|
-
|
|
506
|
+
Oe(e, t);
|
|
507
507
|
function r() {
|
|
508
508
|
this.constructor = e;
|
|
509
509
|
}
|
|
@@ -519,7 +519,7 @@ var g = function() {
|
|
|
519
519
|
return t;
|
|
520
520
|
}, g.apply(this, arguments);
|
|
521
521
|
};
|
|
522
|
-
function
|
|
522
|
+
function Mr(e, t) {
|
|
523
523
|
var r = {};
|
|
524
524
|
for (var n in e)
|
|
525
525
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -528,7 +528,7 @@ function Ur(e, t) {
|
|
|
528
528
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
529
529
|
return r;
|
|
530
530
|
}
|
|
531
|
-
function
|
|
531
|
+
function Le(e) {
|
|
532
532
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
533
533
|
if (r)
|
|
534
534
|
return r.call(e);
|
|
@@ -540,7 +540,7 @@ function Me(e) {
|
|
|
540
540
|
};
|
|
541
541
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
542
542
|
}
|
|
543
|
-
function
|
|
543
|
+
function Me(e, t) {
|
|
544
544
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
545
545
|
if (!r)
|
|
546
546
|
return e;
|
|
@@ -569,13 +569,13 @@ function j(e, t, r) {
|
|
|
569
569
|
function M(e) {
|
|
570
570
|
return typeof e == "function";
|
|
571
571
|
}
|
|
572
|
-
function
|
|
572
|
+
function It(e) {
|
|
573
573
|
var t = function(n) {
|
|
574
574
|
Error.call(n), n.stack = new Error().stack;
|
|
575
575
|
}, r = e(t);
|
|
576
576
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
577
577
|
}
|
|
578
|
-
var Te =
|
|
578
|
+
var Te = It(function(e) {
|
|
579
579
|
return function(r) {
|
|
580
580
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
581
581
|
` + r.map(function(n, i) {
|
|
@@ -584,7 +584,7 @@ var Te = At(function(e) {
|
|
|
584
584
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
585
585
|
};
|
|
586
586
|
});
|
|
587
|
-
function
|
|
587
|
+
function Ne(e, t) {
|
|
588
588
|
if (e) {
|
|
589
589
|
var r = e.indexOf(t);
|
|
590
590
|
0 <= r && e.splice(r, 1);
|
|
@@ -602,7 +602,7 @@ var me = function() {
|
|
|
602
602
|
if (a)
|
|
603
603
|
if (this._parentage = null, Array.isArray(a))
|
|
604
604
|
try {
|
|
605
|
-
for (var s =
|
|
605
|
+
for (var s = Le(a), l = s.next(); !l.done; l = s.next()) {
|
|
606
606
|
var u = l.value;
|
|
607
607
|
u.remove(this);
|
|
608
608
|
}
|
|
@@ -629,19 +629,19 @@ var me = function() {
|
|
|
629
629
|
if (f) {
|
|
630
630
|
this._finalizers = null;
|
|
631
631
|
try {
|
|
632
|
-
for (var c =
|
|
633
|
-
var
|
|
632
|
+
for (var c = Le(f), p = c.next(); !p.done; p = c.next()) {
|
|
633
|
+
var d = p.value;
|
|
634
634
|
try {
|
|
635
|
-
|
|
635
|
+
tt(d);
|
|
636
636
|
} catch (y) {
|
|
637
|
-
o = o != null ? o : [], y instanceof Te ? o = j(j([],
|
|
637
|
+
o = o != null ? o : [], y instanceof Te ? o = j(j([], Me(o)), Me(y.errors)) : o.push(y);
|
|
638
638
|
}
|
|
639
639
|
}
|
|
640
640
|
} catch (y) {
|
|
641
641
|
n = { error: y };
|
|
642
642
|
} finally {
|
|
643
643
|
try {
|
|
644
|
-
|
|
644
|
+
p && !p.done && (i = c.return) && i.call(c);
|
|
645
645
|
} finally {
|
|
646
646
|
if (n)
|
|
647
647
|
throw n.error;
|
|
@@ -655,7 +655,7 @@ var me = function() {
|
|
|
655
655
|
var r;
|
|
656
656
|
if (t && t !== this)
|
|
657
657
|
if (this.closed)
|
|
658
|
-
|
|
658
|
+
tt(t);
|
|
659
659
|
else {
|
|
660
660
|
if (t instanceof e) {
|
|
661
661
|
if (t.closed || t._hasParent(this))
|
|
@@ -672,56 +672,52 @@ var me = function() {
|
|
|
672
672
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
673
673
|
}, e.prototype._removeParent = function(t) {
|
|
674
674
|
var r = this._parentage;
|
|
675
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
675
|
+
r === t ? this._parentage = null : Array.isArray(r) && Ne(r, t);
|
|
676
676
|
}, e.prototype.remove = function(t) {
|
|
677
677
|
var r = this._finalizers;
|
|
678
|
-
r &&
|
|
678
|
+
r && Ne(r, t), t instanceof e && t._removeParent(this);
|
|
679
679
|
}, e.EMPTY = function() {
|
|
680
680
|
var t = new e();
|
|
681
681
|
return t.closed = !0, t;
|
|
682
682
|
}(), e;
|
|
683
|
-
}(),
|
|
684
|
-
function
|
|
683
|
+
}(), Bt = me.EMPTY;
|
|
684
|
+
function Ct(e) {
|
|
685
685
|
return e instanceof me || e && "closed" in e && M(e.remove) && M(e.add) && M(e.unsubscribe);
|
|
686
686
|
}
|
|
687
|
-
function
|
|
687
|
+
function tt(e) {
|
|
688
688
|
M(e) ? e() : e.unsubscribe();
|
|
689
689
|
}
|
|
690
|
-
var
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
Promise: void 0,
|
|
694
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
|
695
|
-
useDeprecatedNextContext: !1
|
|
696
|
-
}, Gr = {
|
|
690
|
+
var Nr = {
|
|
691
|
+
Promise: void 0
|
|
692
|
+
}, Rr = {
|
|
697
693
|
setTimeout: function(e, t) {
|
|
698
694
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
699
695
|
r[n - 2] = arguments[n];
|
|
700
|
-
return setTimeout.apply(void 0, j([e, t],
|
|
696
|
+
return setTimeout.apply(void 0, j([e, t], Me(r)));
|
|
701
697
|
},
|
|
702
698
|
clearTimeout: function(e) {
|
|
703
699
|
return clearTimeout(e);
|
|
704
700
|
},
|
|
705
701
|
delegate: void 0
|
|
706
702
|
};
|
|
707
|
-
function
|
|
708
|
-
|
|
703
|
+
function $r(e) {
|
|
704
|
+
Rr.setTimeout(function() {
|
|
709
705
|
throw e;
|
|
710
706
|
});
|
|
711
707
|
}
|
|
712
|
-
function
|
|
708
|
+
function rt() {
|
|
713
709
|
}
|
|
714
710
|
function he(e) {
|
|
715
711
|
e();
|
|
716
712
|
}
|
|
717
|
-
var
|
|
713
|
+
var At = function(e) {
|
|
718
714
|
N(t, e);
|
|
719
715
|
function t(r) {
|
|
720
716
|
var n = e.call(this) || this;
|
|
721
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
717
|
+
return n.isStopped = !1, r ? (n.destination = r, Ct(r) && r.add(n)) : n.destination = Dr, n;
|
|
722
718
|
}
|
|
723
719
|
return t.create = function(r, n, i) {
|
|
724
|
-
return new
|
|
720
|
+
return new Re(r, n, i);
|
|
725
721
|
}, t.prototype.next = function(r) {
|
|
726
722
|
this.isStopped || this._next(r);
|
|
727
723
|
}, t.prototype.error = function(r) {
|
|
@@ -745,11 +741,7 @@ var Nt = function(e) {
|
|
|
745
741
|
this.unsubscribe();
|
|
746
742
|
}
|
|
747
743
|
}, t;
|
|
748
|
-
}(me),
|
|
749
|
-
function Se(e, t) {
|
|
750
|
-
return Fr.call(e, t);
|
|
751
|
-
}
|
|
752
|
-
var jr = function() {
|
|
744
|
+
}(me), Ur = function() {
|
|
753
745
|
function e(t) {
|
|
754
746
|
this.partialObserver = t;
|
|
755
747
|
}
|
|
@@ -780,55 +772,43 @@ var jr = function() {
|
|
|
780
772
|
se(r);
|
|
781
773
|
}
|
|
782
774
|
}, e;
|
|
783
|
-
}(),
|
|
775
|
+
}(), Re = function(e) {
|
|
784
776
|
N(t, e);
|
|
785
777
|
function t(r, n, i) {
|
|
786
778
|
var o = e.call(this) || this, a;
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
};
|
|
793
|
-
else {
|
|
794
|
-
var s;
|
|
795
|
-
o && Mt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
|
|
796
|
-
return o.unsubscribe();
|
|
797
|
-
}, a = {
|
|
798
|
-
next: r.next && Se(r.next, s),
|
|
799
|
-
error: r.error && Se(r.error, s),
|
|
800
|
-
complete: r.complete && Se(r.complete, s)
|
|
801
|
-
}) : a = r;
|
|
802
|
-
}
|
|
803
|
-
return o.destination = new jr(a), o;
|
|
779
|
+
return M(r) || !r ? a = {
|
|
780
|
+
next: r != null ? r : void 0,
|
|
781
|
+
error: n != null ? n : void 0,
|
|
782
|
+
complete: i != null ? i : void 0
|
|
783
|
+
} : a = r, o.destination = new Ur(a), o;
|
|
804
784
|
}
|
|
805
785
|
return t;
|
|
806
|
-
}(
|
|
786
|
+
}(At);
|
|
807
787
|
function se(e) {
|
|
808
|
-
|
|
788
|
+
$r(e);
|
|
809
789
|
}
|
|
810
|
-
function
|
|
790
|
+
function Gr(e) {
|
|
811
791
|
throw e;
|
|
812
792
|
}
|
|
813
|
-
var
|
|
793
|
+
var Dr = {
|
|
814
794
|
closed: !0,
|
|
815
|
-
next:
|
|
816
|
-
error:
|
|
817
|
-
complete:
|
|
818
|
-
},
|
|
795
|
+
next: rt,
|
|
796
|
+
error: Gr,
|
|
797
|
+
complete: rt
|
|
798
|
+
}, Fr = function() {
|
|
819
799
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
820
800
|
}();
|
|
821
|
-
function
|
|
801
|
+
function jr(e) {
|
|
822
802
|
return e;
|
|
823
803
|
}
|
|
824
|
-
function
|
|
825
|
-
return e.length === 0 ?
|
|
804
|
+
function kr(e) {
|
|
805
|
+
return e.length === 0 ? jr : e.length === 1 ? e[0] : function(r) {
|
|
826
806
|
return e.reduce(function(n, i) {
|
|
827
807
|
return i(n);
|
|
828
808
|
}, r);
|
|
829
809
|
};
|
|
830
810
|
}
|
|
831
|
-
var
|
|
811
|
+
var nt = function() {
|
|
832
812
|
function e(t) {
|
|
833
813
|
t && (this._subscribe = t);
|
|
834
814
|
}
|
|
@@ -836,7 +816,7 @@ var at = function() {
|
|
|
836
816
|
var r = new e();
|
|
837
817
|
return r.source = this, r.operator = t, r;
|
|
838
818
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
839
|
-
var i = this, o =
|
|
819
|
+
var i = this, o = zr(t) ? t : new Re(t, r, n);
|
|
840
820
|
return he(function() {
|
|
841
821
|
var a = i, s = a.operator, l = a.source;
|
|
842
822
|
o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -849,8 +829,8 @@ var at = function() {
|
|
|
849
829
|
}
|
|
850
830
|
}, e.prototype.forEach = function(t, r) {
|
|
851
831
|
var n = this;
|
|
852
|
-
return r =
|
|
853
|
-
var a = new
|
|
832
|
+
return r = it(r), new r(function(i, o) {
|
|
833
|
+
var a = new Re({
|
|
854
834
|
next: function(s) {
|
|
855
835
|
try {
|
|
856
836
|
t(s);
|
|
@@ -866,15 +846,15 @@ var at = function() {
|
|
|
866
846
|
}, e.prototype._subscribe = function(t) {
|
|
867
847
|
var r;
|
|
868
848
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
869
|
-
}, e.prototype[
|
|
849
|
+
}, e.prototype[Fr] = function() {
|
|
870
850
|
return this;
|
|
871
851
|
}, e.prototype.pipe = function() {
|
|
872
852
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
873
853
|
t[r] = arguments[r];
|
|
874
|
-
return
|
|
854
|
+
return kr(t)(this);
|
|
875
855
|
}, e.prototype.toPromise = function(t) {
|
|
876
856
|
var r = this;
|
|
877
|
-
return t =
|
|
857
|
+
return t = it(t), new t(function(n, i) {
|
|
878
858
|
var o;
|
|
879
859
|
r.subscribe(function(a) {
|
|
880
860
|
return o = a;
|
|
@@ -888,32 +868,32 @@ var at = function() {
|
|
|
888
868
|
return new e(t);
|
|
889
869
|
}, e;
|
|
890
870
|
}();
|
|
891
|
-
function
|
|
871
|
+
function it(e) {
|
|
892
872
|
var t;
|
|
893
|
-
return (t = e != null ? e :
|
|
873
|
+
return (t = e != null ? e : Nr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
894
874
|
}
|
|
895
|
-
function
|
|
875
|
+
function Vr(e) {
|
|
896
876
|
return e && M(e.next) && M(e.error) && M(e.complete);
|
|
897
877
|
}
|
|
898
|
-
function
|
|
899
|
-
return e && e instanceof
|
|
878
|
+
function zr(e) {
|
|
879
|
+
return e && e instanceof At || Vr(e) && Ct(e);
|
|
900
880
|
}
|
|
901
|
-
var
|
|
881
|
+
var Wr = It(function(e) {
|
|
902
882
|
return function() {
|
|
903
883
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
904
884
|
};
|
|
905
|
-
}),
|
|
885
|
+
}), Ot = function(e) {
|
|
906
886
|
N(t, e);
|
|
907
887
|
function t() {
|
|
908
888
|
var r = e.call(this) || this;
|
|
909
889
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
910
890
|
}
|
|
911
891
|
return t.prototype.lift = function(r) {
|
|
912
|
-
var n = new
|
|
892
|
+
var n = new ot(this, this);
|
|
913
893
|
return n.operator = r, n;
|
|
914
894
|
}, t.prototype._throwIfClosed = function() {
|
|
915
895
|
if (this.closed)
|
|
916
|
-
throw new
|
|
896
|
+
throw new Wr();
|
|
917
897
|
}, t.prototype.next = function(r) {
|
|
918
898
|
var n = this;
|
|
919
899
|
he(function() {
|
|
@@ -921,7 +901,7 @@ var Yr = At(function(e) {
|
|
|
921
901
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
922
902
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
923
903
|
try {
|
|
924
|
-
for (var a =
|
|
904
|
+
for (var a = Le(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
925
905
|
var l = s.value;
|
|
926
906
|
l.next(r);
|
|
927
907
|
}
|
|
@@ -970,19 +950,19 @@ var Yr = At(function(e) {
|
|
|
970
950
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
971
951
|
}, t.prototype._innerSubscribe = function(r) {
|
|
972
952
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
973
|
-
return o || a ?
|
|
974
|
-
n.currentObservers = null,
|
|
953
|
+
return o || a ? Bt : (this.currentObservers = null, s.push(r), new me(function() {
|
|
954
|
+
n.currentObservers = null, Ne(s, r);
|
|
975
955
|
}));
|
|
976
956
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
977
957
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
978
958
|
i ? r.error(o) : a && r.complete();
|
|
979
959
|
}, t.prototype.asObservable = function() {
|
|
980
|
-
var r = new
|
|
960
|
+
var r = new nt();
|
|
981
961
|
return r.source = this, r;
|
|
982
962
|
}, t.create = function(r, n) {
|
|
983
|
-
return new
|
|
963
|
+
return new ot(r, n);
|
|
984
964
|
}, t;
|
|
985
|
-
}(
|
|
965
|
+
}(nt), ot = function(e) {
|
|
986
966
|
N(t, e);
|
|
987
967
|
function t(r, n) {
|
|
988
968
|
var i = e.call(this) || this;
|
|
@@ -999,17 +979,17 @@ var Yr = At(function(e) {
|
|
|
999
979
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1000
980
|
}, t.prototype._subscribe = function(r) {
|
|
1001
981
|
var n, i;
|
|
1002
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
982
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Bt;
|
|
1003
983
|
}, t;
|
|
1004
|
-
}(
|
|
984
|
+
}(Ot), Lt = {
|
|
1005
985
|
now: function() {
|
|
1006
|
-
return (
|
|
986
|
+
return (Lt.delegate || Date).now();
|
|
1007
987
|
},
|
|
1008
988
|
delegate: void 0
|
|
1009
|
-
},
|
|
989
|
+
}, Xr = function(e) {
|
|
1010
990
|
N(t, e);
|
|
1011
991
|
function t(r, n, i) {
|
|
1012
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
992
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Lt);
|
|
1013
993
|
var o = e.call(this) || this;
|
|
1014
994
|
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;
|
|
1015
995
|
}
|
|
@@ -1029,15 +1009,15 @@ var Yr = At(function(e) {
|
|
|
1029
1009
|
u && o.splice(0, u + 1);
|
|
1030
1010
|
}
|
|
1031
1011
|
}, t;
|
|
1032
|
-
}(
|
|
1033
|
-
const
|
|
1034
|
-
if (
|
|
1035
|
-
const r = new
|
|
1036
|
-
|
|
1012
|
+
}(Ot);
|
|
1013
|
+
const at = [], st = {}, qr = (e, t = 0) => {
|
|
1014
|
+
if (at.indexOf(e) == -1) {
|
|
1015
|
+
const r = new Xr(t);
|
|
1016
|
+
st[e] = r, at.push(e);
|
|
1037
1017
|
}
|
|
1038
|
-
return
|
|
1018
|
+
return st[e];
|
|
1039
1019
|
}, G = [];
|
|
1040
|
-
function
|
|
1020
|
+
function Zr(e, t) {
|
|
1041
1021
|
return {
|
|
1042
1022
|
subscribe: be(e, t).subscribe
|
|
1043
1023
|
};
|
|
@@ -1046,7 +1026,7 @@ function be(e, t = O) {
|
|
|
1046
1026
|
let r;
|
|
1047
1027
|
const n = /* @__PURE__ */ new Set();
|
|
1048
1028
|
function i(s) {
|
|
1049
|
-
if (
|
|
1029
|
+
if (wt(e, s) && (e = s, r)) {
|
|
1050
1030
|
const l = !G.length;
|
|
1051
1031
|
for (const u of n)
|
|
1052
1032
|
u[1](), G.push(u, e);
|
|
@@ -1073,7 +1053,7 @@ function q(e, t, r) {
|
|
|
1073
1053
|
if (!i.every(Boolean))
|
|
1074
1054
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1075
1055
|
const o = t.length < 2;
|
|
1076
|
-
return
|
|
1056
|
+
return Zr(r, (a, s) => {
|
|
1077
1057
|
let l = !1;
|
|
1078
1058
|
const u = [];
|
|
1079
1059
|
let h = 0, f = O;
|
|
@@ -1081,11 +1061,11 @@ function q(e, t, r) {
|
|
|
1081
1061
|
if (h)
|
|
1082
1062
|
return;
|
|
1083
1063
|
f();
|
|
1084
|
-
const
|
|
1085
|
-
o ? a(
|
|
1086
|
-
},
|
|
1087
|
-
(
|
|
1088
|
-
|
|
1064
|
+
const d = t(n ? u[0] : u, a, s);
|
|
1065
|
+
o ? a(d) : f = ze(d) ? d : O;
|
|
1066
|
+
}, p = i.map(
|
|
1067
|
+
(d, y) => Pt(
|
|
1068
|
+
d,
|
|
1089
1069
|
(S) => {
|
|
1090
1070
|
u[y] = S, h &= ~(1 << y), l && c();
|
|
1091
1071
|
},
|
|
@@ -1095,74 +1075,74 @@ function q(e, t, r) {
|
|
|
1095
1075
|
)
|
|
1096
1076
|
);
|
|
1097
1077
|
return l = !0, c(), function() {
|
|
1098
|
-
ne(
|
|
1078
|
+
ne(p), f(), l = !1;
|
|
1099
1079
|
};
|
|
1100
1080
|
});
|
|
1101
1081
|
}
|
|
1102
|
-
function
|
|
1082
|
+
function Yr(e) {
|
|
1103
1083
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1104
1084
|
}
|
|
1105
|
-
var
|
|
1106
|
-
return
|
|
1085
|
+
var Qr = function(t) {
|
|
1086
|
+
return Jr(t) && !Kr(t);
|
|
1107
1087
|
};
|
|
1108
|
-
function
|
|
1088
|
+
function Jr(e) {
|
|
1109
1089
|
return !!e && typeof e == "object";
|
|
1110
1090
|
}
|
|
1111
|
-
function
|
|
1091
|
+
function Kr(e) {
|
|
1112
1092
|
var t = Object.prototype.toString.call(e);
|
|
1113
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1093
|
+
return t === "[object RegExp]" || t === "[object Date]" || rn(e);
|
|
1114
1094
|
}
|
|
1115
|
-
var
|
|
1116
|
-
function
|
|
1117
|
-
return e.$$typeof ===
|
|
1095
|
+
var en = typeof Symbol == "function" && Symbol.for, tn = en ? Symbol.for("react.element") : 60103;
|
|
1096
|
+
function rn(e) {
|
|
1097
|
+
return e.$$typeof === tn;
|
|
1118
1098
|
}
|
|
1119
|
-
function
|
|
1099
|
+
function nn(e) {
|
|
1120
1100
|
return Array.isArray(e) ? [] : {};
|
|
1121
1101
|
}
|
|
1122
1102
|
function te(e, t) {
|
|
1123
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? k(
|
|
1103
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? k(nn(e), e, t) : e;
|
|
1124
1104
|
}
|
|
1125
|
-
function
|
|
1105
|
+
function on(e, t, r) {
|
|
1126
1106
|
return e.concat(t).map(function(n) {
|
|
1127
1107
|
return te(n, r);
|
|
1128
1108
|
});
|
|
1129
1109
|
}
|
|
1130
|
-
function
|
|
1110
|
+
function an(e, t) {
|
|
1131
1111
|
if (!t.customMerge)
|
|
1132
1112
|
return k;
|
|
1133
1113
|
var r = t.customMerge(e);
|
|
1134
1114
|
return typeof r == "function" ? r : k;
|
|
1135
1115
|
}
|
|
1136
|
-
function
|
|
1116
|
+
function sn(e) {
|
|
1137
1117
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1138
1118
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1139
1119
|
}) : [];
|
|
1140
1120
|
}
|
|
1141
|
-
function
|
|
1142
|
-
return Object.keys(e).concat(
|
|
1121
|
+
function ut(e) {
|
|
1122
|
+
return Object.keys(e).concat(sn(e));
|
|
1143
1123
|
}
|
|
1144
|
-
function
|
|
1124
|
+
function Mt(e, t) {
|
|
1145
1125
|
try {
|
|
1146
1126
|
return t in e;
|
|
1147
1127
|
} catch (r) {
|
|
1148
1128
|
return !1;
|
|
1149
1129
|
}
|
|
1150
1130
|
}
|
|
1151
|
-
function
|
|
1152
|
-
return
|
|
1131
|
+
function un(e, t) {
|
|
1132
|
+
return Mt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1153
1133
|
}
|
|
1154
|
-
function
|
|
1134
|
+
function ln(e, t, r) {
|
|
1155
1135
|
var n = {};
|
|
1156
|
-
return r.isMergeableObject(e) &&
|
|
1136
|
+
return r.isMergeableObject(e) && ut(e).forEach(function(i) {
|
|
1157
1137
|
n[i] = te(e[i], r);
|
|
1158
|
-
}),
|
|
1159
|
-
|
|
1138
|
+
}), ut(t).forEach(function(i) {
|
|
1139
|
+
un(e, i) || (Mt(e, i) && r.isMergeableObject(t[i]) ? n[i] = an(i, r)(e[i], t[i], r) : n[i] = te(t[i], r));
|
|
1160
1140
|
}), n;
|
|
1161
1141
|
}
|
|
1162
1142
|
function k(e, t, r) {
|
|
1163
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1143
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || on, r.isMergeableObject = r.isMergeableObject || Qr, r.cloneUnlessOtherwiseSpecified = te;
|
|
1164
1144
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1165
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1145
|
+
return o ? n ? r.arrayMerge(e, t, r) : ln(e, t, r) : te(t, r);
|
|
1166
1146
|
}
|
|
1167
1147
|
k.all = function(t, r) {
|
|
1168
1148
|
if (!Array.isArray(t))
|
|
@@ -1171,58 +1151,56 @@ k.all = function(t, r) {
|
|
|
1171
1151
|
return k(n, i, r);
|
|
1172
1152
|
}, {});
|
|
1173
1153
|
};
|
|
1174
|
-
var
|
|
1175
|
-
const
|
|
1176
|
-
function
|
|
1177
|
-
var r = t && t.cache ? t.cache :
|
|
1154
|
+
var hn = k, cn = hn;
|
|
1155
|
+
const fn = /* @__PURE__ */ Yr(cn);
|
|
1156
|
+
function Se(e, t) {
|
|
1157
|
+
var r = t && t.cache ? t.cache : yn, n = t && t.serializer ? t.serializer : vn, i = t && t.strategy ? t.strategy : mn;
|
|
1178
1158
|
return i(e, {
|
|
1179
1159
|
cache: r,
|
|
1180
1160
|
serializer: n
|
|
1181
1161
|
});
|
|
1182
1162
|
}
|
|
1183
|
-
function
|
|
1163
|
+
function pn(e) {
|
|
1184
1164
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1185
1165
|
}
|
|
1186
|
-
function
|
|
1187
|
-
var i =
|
|
1166
|
+
function dn(e, t, r, n) {
|
|
1167
|
+
var i = pn(n) ? n : r(n), o = t.get(i);
|
|
1188
1168
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1189
1169
|
}
|
|
1190
|
-
function
|
|
1170
|
+
function Nt(e, t, r) {
|
|
1191
1171
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1192
1172
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1193
1173
|
}
|
|
1194
|
-
function
|
|
1174
|
+
function Rt(e, t, r, n, i) {
|
|
1195
1175
|
return r.bind(t, e, n, i);
|
|
1196
1176
|
}
|
|
1197
|
-
function
|
|
1198
|
-
var r = e.length === 1 ?
|
|
1199
|
-
return
|
|
1177
|
+
function mn(e, t) {
|
|
1178
|
+
var r = e.length === 1 ? dn : Nt;
|
|
1179
|
+
return Rt(e, this, r, t.cache.create(), t.serializer);
|
|
1200
1180
|
}
|
|
1201
|
-
function
|
|
1202
|
-
return
|
|
1181
|
+
function bn(e, t) {
|
|
1182
|
+
return Rt(e, this, Nt, t.cache.create(), t.serializer);
|
|
1203
1183
|
}
|
|
1204
|
-
function
|
|
1205
|
-
return qe(e, this, Gt, t.cache.create(), t.serializer);
|
|
1206
|
-
}
|
|
1207
|
-
var _n = function() {
|
|
1184
|
+
var vn = function() {
|
|
1208
1185
|
return JSON.stringify(arguments);
|
|
1209
|
-
}
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1186
|
+
}, gn = (
|
|
1187
|
+
/** @class */
|
|
1188
|
+
function() {
|
|
1189
|
+
function e() {
|
|
1190
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1191
|
+
}
|
|
1192
|
+
return e.prototype.get = function(t) {
|
|
1193
|
+
return this.cache[t];
|
|
1194
|
+
}, e.prototype.set = function(t, r) {
|
|
1195
|
+
this.cache[t] = r;
|
|
1196
|
+
}, e;
|
|
1197
|
+
}()
|
|
1198
|
+
), yn = {
|
|
1220
1199
|
create: function() {
|
|
1221
|
-
return new
|
|
1200
|
+
return new gn();
|
|
1222
1201
|
}
|
|
1223
|
-
},
|
|
1224
|
-
variadic:
|
|
1225
|
-
monadic: xn
|
|
1202
|
+
}, we = {
|
|
1203
|
+
variadic: bn
|
|
1226
1204
|
}, b;
|
|
1227
1205
|
(function(e) {
|
|
1228
1206
|
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";
|
|
@@ -1235,43 +1213,43 @@ var V;
|
|
|
1235
1213
|
(function(e) {
|
|
1236
1214
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1237
1215
|
})(V || (V = {}));
|
|
1238
|
-
function
|
|
1216
|
+
function lt(e) {
|
|
1239
1217
|
return e.type === _.literal;
|
|
1240
1218
|
}
|
|
1241
|
-
function
|
|
1219
|
+
function xn(e) {
|
|
1242
1220
|
return e.type === _.argument;
|
|
1243
1221
|
}
|
|
1244
|
-
function
|
|
1222
|
+
function $t(e) {
|
|
1245
1223
|
return e.type === _.number;
|
|
1246
1224
|
}
|
|
1247
|
-
function
|
|
1225
|
+
function Ut(e) {
|
|
1248
1226
|
return e.type === _.date;
|
|
1249
1227
|
}
|
|
1250
|
-
function
|
|
1228
|
+
function Gt(e) {
|
|
1251
1229
|
return e.type === _.time;
|
|
1252
1230
|
}
|
|
1253
|
-
function
|
|
1231
|
+
function Dt(e) {
|
|
1254
1232
|
return e.type === _.select;
|
|
1255
1233
|
}
|
|
1256
|
-
function
|
|
1234
|
+
function Ft(e) {
|
|
1257
1235
|
return e.type === _.plural;
|
|
1258
1236
|
}
|
|
1259
|
-
function
|
|
1237
|
+
function _n(e) {
|
|
1260
1238
|
return e.type === _.pound;
|
|
1261
1239
|
}
|
|
1262
|
-
function
|
|
1240
|
+
function jt(e) {
|
|
1263
1241
|
return e.type === _.tag;
|
|
1264
1242
|
}
|
|
1265
|
-
function
|
|
1243
|
+
function kt(e) {
|
|
1266
1244
|
return !!(e && typeof e == "object" && e.type === V.number);
|
|
1267
1245
|
}
|
|
1268
|
-
function
|
|
1246
|
+
function $e(e) {
|
|
1269
1247
|
return !!(e && typeof e == "object" && e.type === V.dateTime);
|
|
1270
1248
|
}
|
|
1271
|
-
var
|
|
1272
|
-
function
|
|
1249
|
+
var Vt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, En = /(?:[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;
|
|
1250
|
+
function Tn(e) {
|
|
1273
1251
|
var t = {};
|
|
1274
|
-
return e.replace(
|
|
1252
|
+
return e.replace(En, function(r) {
|
|
1275
1253
|
var n = r.length;
|
|
1276
1254
|
switch (r[0]) {
|
|
1277
1255
|
case "G":
|
|
@@ -1360,11 +1338,11 @@ function Pn(e) {
|
|
|
1360
1338
|
return "";
|
|
1361
1339
|
}), t;
|
|
1362
1340
|
}
|
|
1363
|
-
var
|
|
1364
|
-
function
|
|
1341
|
+
var Sn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1342
|
+
function wn(e) {
|
|
1365
1343
|
if (e.length === 0)
|
|
1366
1344
|
throw new Error("Number skeleton cannot be empty");
|
|
1367
|
-
for (var t = e.split(
|
|
1345
|
+
for (var t = e.split(Sn).filter(function(c) {
|
|
1368
1346
|
return c.length > 0;
|
|
1369
1347
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1370
1348
|
var o = i[n], a = o.split("/");
|
|
@@ -1379,17 +1357,17 @@ function In(e) {
|
|
|
1379
1357
|
}
|
|
1380
1358
|
return r;
|
|
1381
1359
|
}
|
|
1382
|
-
function
|
|
1360
|
+
function Pn(e) {
|
|
1383
1361
|
return e.replace(/^(.*?)-/, "");
|
|
1384
1362
|
}
|
|
1385
|
-
var
|
|
1386
|
-
function
|
|
1363
|
+
var ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, zt = /^(@+)?(\+|#+)?[rs]?$/g, Hn = /(\*)(0+)|(#+)(0+)|(0+)/g, Wt = /^(0+)$/;
|
|
1364
|
+
function ct(e) {
|
|
1387
1365
|
var t = {};
|
|
1388
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1366
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(zt, function(r, n, i) {
|
|
1389
1367
|
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)), "";
|
|
1390
1368
|
}), t;
|
|
1391
1369
|
}
|
|
1392
|
-
function
|
|
1370
|
+
function Xt(e) {
|
|
1393
1371
|
switch (e) {
|
|
1394
1372
|
case "sign-auto":
|
|
1395
1373
|
return {
|
|
@@ -1429,7 +1407,7 @@ function Qt(e) {
|
|
|
1429
1407
|
};
|
|
1430
1408
|
}
|
|
1431
1409
|
}
|
|
1432
|
-
function
|
|
1410
|
+
function In(e) {
|
|
1433
1411
|
var t;
|
|
1434
1412
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1435
1413
|
notation: "engineering"
|
|
@@ -1437,17 +1415,17 @@ function An(e) {
|
|
|
1437
1415
|
notation: "scientific"
|
|
1438
1416
|
}, e = e.slice(1)), t) {
|
|
1439
1417
|
var r = e.slice(0, 2);
|
|
1440
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1418
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Wt.test(e))
|
|
1441
1419
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1442
1420
|
t.minimumIntegerDigits = e.length;
|
|
1443
1421
|
}
|
|
1444
1422
|
return t;
|
|
1445
1423
|
}
|
|
1446
|
-
function
|
|
1447
|
-
var t = {}, r =
|
|
1424
|
+
function ft(e) {
|
|
1425
|
+
var t = {}, r = Xt(e);
|
|
1448
1426
|
return r || t;
|
|
1449
1427
|
}
|
|
1450
|
-
function
|
|
1428
|
+
function Bn(e) {
|
|
1451
1429
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1452
1430
|
var i = n[r];
|
|
1453
1431
|
switch (i.stem) {
|
|
@@ -1471,7 +1449,7 @@ function On(e) {
|
|
|
1471
1449
|
continue;
|
|
1472
1450
|
case "measure-unit":
|
|
1473
1451
|
case "unit":
|
|
1474
|
-
t.style = "unit", t.unit =
|
|
1452
|
+
t.style = "unit", t.unit = Pn(i.options[0]);
|
|
1475
1453
|
continue;
|
|
1476
1454
|
case "compact-short":
|
|
1477
1455
|
case "K":
|
|
@@ -1483,12 +1461,12 @@ function On(e) {
|
|
|
1483
1461
|
continue;
|
|
1484
1462
|
case "scientific":
|
|
1485
1463
|
t = g(g(g({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1486
|
-
return g(g({}, l),
|
|
1464
|
+
return g(g({}, l), ft(u));
|
|
1487
1465
|
}, {}));
|
|
1488
1466
|
continue;
|
|
1489
1467
|
case "engineering":
|
|
1490
1468
|
t = g(g(g({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1491
|
-
return g(g({}, l),
|
|
1469
|
+
return g(g({}, l), ft(u));
|
|
1492
1470
|
}, {}));
|
|
1493
1471
|
continue;
|
|
1494
1472
|
case "notation-simple":
|
|
@@ -1533,40 +1511,40 @@ function On(e) {
|
|
|
1533
1511
|
case "integer-width":
|
|
1534
1512
|
if (i.options.length > 1)
|
|
1535
1513
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1536
|
-
i.options[0].replace(
|
|
1514
|
+
i.options[0].replace(Hn, function(l, u, h, f, c, p) {
|
|
1537
1515
|
if (u)
|
|
1538
1516
|
t.minimumIntegerDigits = h.length;
|
|
1539
1517
|
else {
|
|
1540
1518
|
if (f && c)
|
|
1541
1519
|
throw new Error("We currently do not support maximum integer digits");
|
|
1542
|
-
if (
|
|
1520
|
+
if (p)
|
|
1543
1521
|
throw new Error("We currently do not support exact integer digits");
|
|
1544
1522
|
}
|
|
1545
1523
|
return "";
|
|
1546
1524
|
});
|
|
1547
1525
|
continue;
|
|
1548
1526
|
}
|
|
1549
|
-
if (
|
|
1527
|
+
if (Wt.test(i.stem)) {
|
|
1550
1528
|
t.minimumIntegerDigits = i.stem.length;
|
|
1551
1529
|
continue;
|
|
1552
1530
|
}
|
|
1553
|
-
if (
|
|
1531
|
+
if (ht.test(i.stem)) {
|
|
1554
1532
|
if (i.options.length > 1)
|
|
1555
1533
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1556
|
-
i.stem.replace(
|
|
1557
|
-
return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c &&
|
|
1534
|
+
i.stem.replace(ht, function(l, u, h, f, c, p) {
|
|
1535
|
+
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), "";
|
|
1558
1536
|
});
|
|
1559
1537
|
var o = i.options[0];
|
|
1560
|
-
o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t),
|
|
1538
|
+
o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), ct(o)));
|
|
1561
1539
|
continue;
|
|
1562
1540
|
}
|
|
1563
|
-
if (
|
|
1564
|
-
t = g(g({}, t),
|
|
1541
|
+
if (zt.test(i.stem)) {
|
|
1542
|
+
t = g(g({}, t), ct(i.stem));
|
|
1565
1543
|
continue;
|
|
1566
1544
|
}
|
|
1567
|
-
var a =
|
|
1545
|
+
var a = Xt(i.stem);
|
|
1568
1546
|
a && (t = g(g({}, t), a));
|
|
1569
|
-
var s =
|
|
1547
|
+
var s = In(i.stem);
|
|
1570
1548
|
s && (t = g(g({}, t), s));
|
|
1571
1549
|
}
|
|
1572
1550
|
return t;
|
|
@@ -2986,13 +2964,13 @@ var ue = {
|
|
|
2986
2964
|
"h"
|
|
2987
2965
|
]
|
|
2988
2966
|
};
|
|
2989
|
-
function
|
|
2967
|
+
function Cn(e, t) {
|
|
2990
2968
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2991
2969
|
var i = e.charAt(n);
|
|
2992
2970
|
if (i === "j") {
|
|
2993
2971
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2994
2972
|
o++, n++;
|
|
2995
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
2973
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = An(t);
|
|
2996
2974
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
2997
2975
|
r += l;
|
|
2998
2976
|
for (; a-- > 0; )
|
|
@@ -3002,7 +2980,7 @@ function Ln(e, t) {
|
|
|
3002
2980
|
}
|
|
3003
2981
|
return r;
|
|
3004
2982
|
}
|
|
3005
|
-
function
|
|
2983
|
+
function An(e) {
|
|
3006
2984
|
var t = e.hourCycle;
|
|
3007
2985
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3008
2986
|
e.hourCycles && // @ts-ignore
|
|
@@ -3024,20 +3002,20 @@ function Mn(e) {
|
|
|
3024
3002
|
var i = ue[n || ""] || ue[r || ""] || ue["".concat(r, "-001")] || ue["001"];
|
|
3025
3003
|
return i[0];
|
|
3026
3004
|
}
|
|
3027
|
-
var
|
|
3005
|
+
var Pe, On = new RegExp("^".concat(Vt.source, "*")), Ln = new RegExp("".concat(Vt.source, "*$"));
|
|
3028
3006
|
function v(e, t) {
|
|
3029
3007
|
return { start: e, end: t };
|
|
3030
3008
|
}
|
|
3031
|
-
var
|
|
3009
|
+
var Mn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Nn = !!String.fromCodePoint, Rn = !!Object.fromEntries, $n = !!String.prototype.codePointAt, Un = !!String.prototype.trimStart, Gn = !!String.prototype.trimEnd, Dn = !!Number.isSafeInteger, Fn = Dn ? Number.isSafeInteger : function(e) {
|
|
3032
3010
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3033
|
-
},
|
|
3011
|
+
}, Ue = !0;
|
|
3034
3012
|
try {
|
|
3035
|
-
var
|
|
3036
|
-
|
|
3013
|
+
var jn = Zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3014
|
+
Ue = ((Pe = jn.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
|
|
3037
3015
|
} catch (e) {
|
|
3038
|
-
|
|
3016
|
+
Ue = !1;
|
|
3039
3017
|
}
|
|
3040
|
-
var
|
|
3018
|
+
var pt = Mn ? (
|
|
3041
3019
|
// Native
|
|
3042
3020
|
function(t, r, n) {
|
|
3043
3021
|
return t.startsWith(r, n);
|
|
@@ -3047,7 +3025,7 @@ var bt = $n ? (
|
|
|
3047
3025
|
function(t, r, n) {
|
|
3048
3026
|
return t.slice(n, n + r.length) === r;
|
|
3049
3027
|
}
|
|
3050
|
-
),
|
|
3028
|
+
), Ge = Nn ? String.fromCodePoint : (
|
|
3051
3029
|
// IE11
|
|
3052
3030
|
function() {
|
|
3053
3031
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3059,9 +3037,9 @@ var bt = $n ? (
|
|
|
3059
3037
|
}
|
|
3060
3038
|
return n;
|
|
3061
3039
|
}
|
|
3062
|
-
),
|
|
3040
|
+
), dt = (
|
|
3063
3041
|
// native
|
|
3064
|
-
|
|
3042
|
+
Rn ? Object.fromEntries : (
|
|
3065
3043
|
// Ponyfill
|
|
3066
3044
|
function(t) {
|
|
3067
3045
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3071,7 +3049,7 @@ var bt = $n ? (
|
|
|
3071
3049
|
return r;
|
|
3072
3050
|
}
|
|
3073
3051
|
)
|
|
3074
|
-
),
|
|
3052
|
+
), qt = $n ? (
|
|
3075
3053
|
// Native
|
|
3076
3054
|
function(t, r) {
|
|
3077
3055
|
return t.codePointAt(r);
|
|
@@ -3085,7 +3063,7 @@ var bt = $n ? (
|
|
|
3085
3063
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3086
3064
|
}
|
|
3087
3065
|
}
|
|
3088
|
-
),
|
|
3066
|
+
), kn = Un ? (
|
|
3089
3067
|
// Native
|
|
3090
3068
|
function(t) {
|
|
3091
3069
|
return t.trimStart();
|
|
@@ -3093,9 +3071,9 @@ var bt = $n ? (
|
|
|
3093
3071
|
) : (
|
|
3094
3072
|
// Ponyfill
|
|
3095
3073
|
function(t) {
|
|
3096
|
-
return t.replace(
|
|
3074
|
+
return t.replace(On, "");
|
|
3097
3075
|
}
|
|
3098
|
-
),
|
|
3076
|
+
), Vn = Gn ? (
|
|
3099
3077
|
// Native
|
|
3100
3078
|
function(t) {
|
|
3101
3079
|
return t.trimEnd();
|
|
@@ -3103,32 +3081,32 @@ var bt = $n ? (
|
|
|
3103
3081
|
) : (
|
|
3104
3082
|
// Ponyfill
|
|
3105
3083
|
function(t) {
|
|
3106
|
-
return t.replace(
|
|
3084
|
+
return t.replace(Ln, "");
|
|
3107
3085
|
}
|
|
3108
3086
|
);
|
|
3109
|
-
function
|
|
3087
|
+
function Zt(e, t) {
|
|
3110
3088
|
return new RegExp(e, t);
|
|
3111
3089
|
}
|
|
3112
|
-
var
|
|
3113
|
-
if (
|
|
3114
|
-
var
|
|
3115
|
-
|
|
3090
|
+
var De;
|
|
3091
|
+
if (Ue) {
|
|
3092
|
+
var mt = Zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3093
|
+
De = function(t, r) {
|
|
3116
3094
|
var n;
|
|
3117
|
-
|
|
3118
|
-
var i =
|
|
3095
|
+
mt.lastIndex = r;
|
|
3096
|
+
var i = mt.exec(t);
|
|
3119
3097
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3120
3098
|
};
|
|
3121
3099
|
} else
|
|
3122
|
-
|
|
3100
|
+
De = function(t, r) {
|
|
3123
3101
|
for (var n = []; ; ) {
|
|
3124
|
-
var i =
|
|
3125
|
-
if (i === void 0 ||
|
|
3102
|
+
var i = qt(t, r);
|
|
3103
|
+
if (i === void 0 || Yt(i) || qn(i))
|
|
3126
3104
|
break;
|
|
3127
3105
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3128
3106
|
}
|
|
3129
|
-
return
|
|
3107
|
+
return Ge.apply(void 0, n);
|
|
3130
3108
|
};
|
|
3131
|
-
var
|
|
3109
|
+
var zn = (
|
|
3132
3110
|
/** @class */
|
|
3133
3111
|
function() {
|
|
3134
3112
|
function e(t, r) {
|
|
@@ -3159,7 +3137,7 @@ var qn = (
|
|
|
3159
3137
|
if (n)
|
|
3160
3138
|
break;
|
|
3161
3139
|
return this.error(b.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
|
|
3162
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3140
|
+
} else if (o === 60 && !this.ignoreTag && Fe(this.peek() || 0)) {
|
|
3163
3141
|
var a = this.parseTag(t, r);
|
|
3164
3142
|
if (a.err)
|
|
3165
3143
|
return a;
|
|
@@ -3192,7 +3170,7 @@ var qn = (
|
|
|
3192
3170
|
return o;
|
|
3193
3171
|
var a = o.val, s = this.clonePosition();
|
|
3194
3172
|
if (this.bumpIf("</")) {
|
|
3195
|
-
if (this.isEOF() || !
|
|
3173
|
+
if (this.isEOF() || !Fe(this.char()))
|
|
3196
3174
|
return this.error(b.INVALID_TAG, v(s, this.clonePosition()));
|
|
3197
3175
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3198
3176
|
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3210,7 +3188,7 @@ var qn = (
|
|
|
3210
3188
|
return this.error(b.INVALID_TAG, v(n, this.clonePosition()));
|
|
3211
3189
|
}, e.prototype.parseTagName = function() {
|
|
3212
3190
|
var t = this.offset();
|
|
3213
|
-
for (this.bump(); !this.isEOF() &&
|
|
3191
|
+
for (this.bump(); !this.isEOF() && Xn(this.char()); )
|
|
3214
3192
|
this.bump();
|
|
3215
3193
|
return this.message.slice(t, this.offset());
|
|
3216
3194
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3239,7 +3217,7 @@ var qn = (
|
|
|
3239
3217
|
};
|
|
3240
3218
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3241
3219
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3242
|
-
!
|
|
3220
|
+
!Wn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3243
3221
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3244
3222
|
if (this.isEOF() || this.char() !== 39)
|
|
3245
3223
|
return null;
|
|
@@ -3273,12 +3251,12 @@ var qn = (
|
|
|
3273
3251
|
r.push(n);
|
|
3274
3252
|
this.bump();
|
|
3275
3253
|
}
|
|
3276
|
-
return
|
|
3254
|
+
return Ge.apply(void 0, r);
|
|
3277
3255
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3278
3256
|
if (this.isEOF())
|
|
3279
3257
|
return null;
|
|
3280
3258
|
var n = this.char();
|
|
3281
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3259
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ge(n));
|
|
3282
3260
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3283
3261
|
var n = this.clonePosition();
|
|
3284
3262
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3307,7 +3285,7 @@ var qn = (
|
|
|
3307
3285
|
return this.error(b.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
|
|
3308
3286
|
}
|
|
3309
3287
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3310
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3288
|
+
var t = this.clonePosition(), r = this.offset(), n = De(this.message, r), i = r + n.length;
|
|
3311
3289
|
this.bumpTo(i);
|
|
3312
3290
|
var o = this.clonePosition(), a = v(t, o);
|
|
3313
3291
|
return { value: n, location: a };
|
|
@@ -3326,18 +3304,18 @@ var qn = (
|
|
|
3326
3304
|
var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3327
3305
|
if (f.err)
|
|
3328
3306
|
return f;
|
|
3329
|
-
var c =
|
|
3307
|
+
var c = Vn(f.val);
|
|
3330
3308
|
if (c.length === 0)
|
|
3331
3309
|
return this.error(b.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
|
|
3332
|
-
var
|
|
3333
|
-
u = { style: c, styleLocation:
|
|
3310
|
+
var p = v(h, this.clonePosition());
|
|
3311
|
+
u = { style: c, styleLocation: p };
|
|
3334
3312
|
}
|
|
3335
|
-
var
|
|
3336
|
-
if (
|
|
3337
|
-
return
|
|
3313
|
+
var d = this.tryParseArgumentClose(i);
|
|
3314
|
+
if (d.err)
|
|
3315
|
+
return d;
|
|
3338
3316
|
var y = v(i, this.clonePosition());
|
|
3339
|
-
if (u &&
|
|
3340
|
-
var S =
|
|
3317
|
+
if (u && pt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3318
|
+
var S = kn(u.style.slice(2));
|
|
3341
3319
|
if (s === "number") {
|
|
3342
3320
|
var f = this.parseNumberSkeletonFromString(S, u.styleLocation);
|
|
3343
3321
|
return f.err ? f : {
|
|
@@ -3348,12 +3326,12 @@ var qn = (
|
|
|
3348
3326
|
if (S.length === 0)
|
|
3349
3327
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, y);
|
|
3350
3328
|
var H = S;
|
|
3351
|
-
this.locale && (H =
|
|
3329
|
+
this.locale && (H = Cn(S, this.locale));
|
|
3352
3330
|
var c = {
|
|
3353
3331
|
type: V.dateTime,
|
|
3354
3332
|
pattern: H,
|
|
3355
3333
|
location: u.styleLocation,
|
|
3356
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3334
|
+
parsedOptions: this.shouldParseSkeletons ? Tn(H) : {}
|
|
3357
3335
|
}, E = s === "date" ? _.date : _.time;
|
|
3358
3336
|
return {
|
|
3359
3337
|
val: { type: E, value: n, location: y, style: c },
|
|
@@ -3391,15 +3369,15 @@ var qn = (
|
|
|
3391
3369
|
var B = this.tryParsePluralOrSelectOptions(t, s, r, w);
|
|
3392
3370
|
if (B.err)
|
|
3393
3371
|
return B;
|
|
3394
|
-
var
|
|
3395
|
-
if (
|
|
3396
|
-
return
|
|
3372
|
+
var d = this.tryParseArgumentClose(i);
|
|
3373
|
+
if (d.err)
|
|
3374
|
+
return d;
|
|
3397
3375
|
var Q = v(i, this.clonePosition());
|
|
3398
3376
|
return s === "select" ? {
|
|
3399
3377
|
val: {
|
|
3400
3378
|
type: _.select,
|
|
3401
3379
|
value: n,
|
|
3402
|
-
options:
|
|
3380
|
+
options: dt(B.val),
|
|
3403
3381
|
location: Q
|
|
3404
3382
|
},
|
|
3405
3383
|
err: null
|
|
@@ -3407,7 +3385,7 @@ var qn = (
|
|
|
3407
3385
|
val: {
|
|
3408
3386
|
type: _.plural,
|
|
3409
3387
|
value: n,
|
|
3410
|
-
options:
|
|
3388
|
+
options: dt(B.val),
|
|
3411
3389
|
offset: m,
|
|
3412
3390
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3413
3391
|
location: Q
|
|
@@ -3458,7 +3436,7 @@ var qn = (
|
|
|
3458
3436
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3459
3437
|
var n = [];
|
|
3460
3438
|
try {
|
|
3461
|
-
n =
|
|
3439
|
+
n = wn(t);
|
|
3462
3440
|
} catch (i) {
|
|
3463
3441
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3464
3442
|
}
|
|
@@ -3467,7 +3445,7 @@ var qn = (
|
|
|
3467
3445
|
type: V.number,
|
|
3468
3446
|
tokens: n,
|
|
3469
3447
|
location: r,
|
|
3470
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3448
|
+
parsedOptions: this.shouldParseSkeletons ? Bn(n) : {}
|
|
3471
3449
|
},
|
|
3472
3450
|
err: null
|
|
3473
3451
|
};
|
|
@@ -3486,20 +3464,20 @@ var qn = (
|
|
|
3486
3464
|
if (l.has(u))
|
|
3487
3465
|
return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3488
3466
|
u === "other" && (a = !0), this.bumpSpace();
|
|
3489
|
-
var
|
|
3467
|
+
var p = this.clonePosition();
|
|
3490
3468
|
if (!this.bumpIf("{"))
|
|
3491
3469
|
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
|
|
3492
|
-
var
|
|
3493
|
-
if (
|
|
3494
|
-
return
|
|
3495
|
-
var y = this.tryParseArgumentClose(
|
|
3470
|
+
var d = this.parseMessage(t + 1, r, n);
|
|
3471
|
+
if (d.err)
|
|
3472
|
+
return d;
|
|
3473
|
+
var y = this.tryParseArgumentClose(p);
|
|
3496
3474
|
if (y.err)
|
|
3497
3475
|
return y;
|
|
3498
3476
|
s.push([
|
|
3499
3477
|
u,
|
|
3500
3478
|
{
|
|
3501
|
-
value:
|
|
3502
|
-
location: v(
|
|
3479
|
+
value: d.val,
|
|
3480
|
+
location: v(p, this.clonePosition())
|
|
3503
3481
|
}
|
|
3504
3482
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
3505
3483
|
}
|
|
@@ -3515,7 +3493,7 @@ var qn = (
|
|
|
3515
3493
|
break;
|
|
3516
3494
|
}
|
|
3517
3495
|
var l = v(i, this.clonePosition());
|
|
3518
|
-
return o ? (a *= n,
|
|
3496
|
+
return o ? (a *= n, Fn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3519
3497
|
}, e.prototype.offset = function() {
|
|
3520
3498
|
return this.position.offset;
|
|
3521
3499
|
}, e.prototype.isEOF = function() {
|
|
@@ -3530,7 +3508,7 @@ var qn = (
|
|
|
3530
3508
|
var t = this.position.offset;
|
|
3531
3509
|
if (t >= this.message.length)
|
|
3532
3510
|
throw Error("out of bound");
|
|
3533
|
-
var r =
|
|
3511
|
+
var r = qt(this.message, t);
|
|
3534
3512
|
if (r === void 0)
|
|
3535
3513
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3536
3514
|
return r;
|
|
@@ -3549,7 +3527,7 @@ var qn = (
|
|
|
3549
3527
|
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);
|
|
3550
3528
|
}
|
|
3551
3529
|
}, e.prototype.bumpIf = function(t) {
|
|
3552
|
-
if (
|
|
3530
|
+
if (pt(this.message, t, this.offset())) {
|
|
3553
3531
|
for (var r = 0; r < t.length; r++)
|
|
3554
3532
|
this.bump();
|
|
3555
3533
|
return !0;
|
|
@@ -3571,7 +3549,7 @@ var qn = (
|
|
|
3571
3549
|
break;
|
|
3572
3550
|
}
|
|
3573
3551
|
}, e.prototype.bumpSpace = function() {
|
|
3574
|
-
for (; !this.isEOF() &&
|
|
3552
|
+
for (; !this.isEOF() && Yt(this.char()); )
|
|
3575
3553
|
this.bump();
|
|
3576
3554
|
}, e.prototype.peek = function() {
|
|
3577
3555
|
if (this.isEOF())
|
|
@@ -3581,38 +3559,38 @@ var qn = (
|
|
|
3581
3559
|
}, e;
|
|
3582
3560
|
}()
|
|
3583
3561
|
);
|
|
3584
|
-
function
|
|
3562
|
+
function Fe(e) {
|
|
3585
3563
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3586
3564
|
}
|
|
3587
|
-
function
|
|
3588
|
-
return
|
|
3565
|
+
function Wn(e) {
|
|
3566
|
+
return Fe(e) || e === 47;
|
|
3589
3567
|
}
|
|
3590
|
-
function
|
|
3568
|
+
function Xn(e) {
|
|
3591
3569
|
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;
|
|
3592
3570
|
}
|
|
3593
|
-
function
|
|
3571
|
+
function Yt(e) {
|
|
3594
3572
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3595
3573
|
}
|
|
3596
|
-
function
|
|
3574
|
+
function qn(e) {
|
|
3597
3575
|
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;
|
|
3598
3576
|
}
|
|
3599
|
-
function
|
|
3577
|
+
function je(e) {
|
|
3600
3578
|
e.forEach(function(t) {
|
|
3601
|
-
if (delete t.location,
|
|
3579
|
+
if (delete t.location, Dt(t) || Ft(t))
|
|
3602
3580
|
for (var r in t.options)
|
|
3603
|
-
delete t.options[r].location,
|
|
3581
|
+
delete t.options[r].location, je(t.options[r].value);
|
|
3604
3582
|
else
|
|
3605
|
-
|
|
3583
|
+
$t(t) && kt(t.style) || (Ut(t) || Gt(t)) && $e(t.style) ? delete t.style.location : jt(t) && je(t.children);
|
|
3606
3584
|
});
|
|
3607
3585
|
}
|
|
3608
|
-
function
|
|
3586
|
+
function Zn(e, t) {
|
|
3609
3587
|
t === void 0 && (t = {}), t = g({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3610
|
-
var r = new
|
|
3588
|
+
var r = new zn(e, t).parse();
|
|
3611
3589
|
if (r.err) {
|
|
3612
3590
|
var n = SyntaxError(b[r.err.kind]);
|
|
3613
3591
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3614
3592
|
}
|
|
3615
|
-
return t != null && t.captureLocation ||
|
|
3593
|
+
return t != null && t.captureLocation || je(r.val), r.val;
|
|
3616
3594
|
}
|
|
3617
3595
|
var z;
|
|
3618
3596
|
(function(e) {
|
|
@@ -3630,7 +3608,7 @@ var ve = (
|
|
|
3630
3608
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3631
3609
|
}, t;
|
|
3632
3610
|
}(Error)
|
|
3633
|
-
),
|
|
3611
|
+
), bt = (
|
|
3634
3612
|
/** @class */
|
|
3635
3613
|
function(e) {
|
|
3636
3614
|
N(t, e);
|
|
@@ -3639,7 +3617,7 @@ var ve = (
|
|
|
3639
3617
|
}
|
|
3640
3618
|
return t;
|
|
3641
3619
|
}(ve)
|
|
3642
|
-
),
|
|
3620
|
+
), Yn = (
|
|
3643
3621
|
/** @class */
|
|
3644
3622
|
function(e) {
|
|
3645
3623
|
N(t, e);
|
|
@@ -3648,7 +3626,7 @@ var ve = (
|
|
|
3648
3626
|
}
|
|
3649
3627
|
return t;
|
|
3650
3628
|
}(ve)
|
|
3651
|
-
),
|
|
3629
|
+
), Qn = (
|
|
3652
3630
|
/** @class */
|
|
3653
3631
|
function(e) {
|
|
3654
3632
|
N(t, e);
|
|
@@ -3661,17 +3639,17 @@ var ve = (
|
|
|
3661
3639
|
(function(e) {
|
|
3662
3640
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3663
3641
|
})(T || (T = {}));
|
|
3664
|
-
function
|
|
3642
|
+
function Jn(e) {
|
|
3665
3643
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3666
3644
|
var n = t[t.length - 1];
|
|
3667
3645
|
return !n || n.type !== T.literal || r.type !== T.literal ? t.push(r) : n.value += r.value, t;
|
|
3668
3646
|
}, []);
|
|
3669
3647
|
}
|
|
3670
|
-
function
|
|
3648
|
+
function Kn(e) {
|
|
3671
3649
|
return typeof e == "function";
|
|
3672
3650
|
}
|
|
3673
3651
|
function ce(e, t, r, n, i, o, a) {
|
|
3674
|
-
if (e.length === 1 &&
|
|
3652
|
+
if (e.length === 1 && lt(e[0]))
|
|
3675
3653
|
return [
|
|
3676
3654
|
{
|
|
3677
3655
|
type: T.literal,
|
|
@@ -3680,14 +3658,14 @@ function ce(e, t, r, n, i, o, a) {
|
|
|
3680
3658
|
];
|
|
3681
3659
|
for (var s = [], l = 0, u = e; l < u.length; l++) {
|
|
3682
3660
|
var h = u[l];
|
|
3683
|
-
if (
|
|
3661
|
+
if (lt(h)) {
|
|
3684
3662
|
s.push({
|
|
3685
3663
|
type: T.literal,
|
|
3686
3664
|
value: h.value
|
|
3687
3665
|
});
|
|
3688
3666
|
continue;
|
|
3689
3667
|
}
|
|
3690
|
-
if (
|
|
3668
|
+
if (_n(h)) {
|
|
3691
3669
|
typeof o == "number" && s.push({
|
|
3692
3670
|
type: T.literal,
|
|
3693
3671
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3696,44 +3674,44 @@ function ce(e, t, r, n, i, o, a) {
|
|
|
3696
3674
|
}
|
|
3697
3675
|
var f = h.value;
|
|
3698
3676
|
if (!(i && f in i))
|
|
3699
|
-
throw new
|
|
3677
|
+
throw new Qn(f, a);
|
|
3700
3678
|
var c = i[f];
|
|
3701
|
-
if (
|
|
3679
|
+
if (xn(h)) {
|
|
3702
3680
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
|
|
3703
3681
|
type: typeof c == "string" ? T.literal : T.object,
|
|
3704
3682
|
value: c
|
|
3705
3683
|
});
|
|
3706
3684
|
continue;
|
|
3707
3685
|
}
|
|
3708
|
-
if (
|
|
3709
|
-
var
|
|
3686
|
+
if (Ut(h)) {
|
|
3687
|
+
var p = typeof h.style == "string" ? n.date[h.style] : $e(h.style) ? h.style.parsedOptions : void 0;
|
|
3710
3688
|
s.push({
|
|
3711
3689
|
type: T.literal,
|
|
3712
|
-
value: r.getDateTimeFormat(t,
|
|
3690
|
+
value: r.getDateTimeFormat(t, p).format(c)
|
|
3713
3691
|
});
|
|
3714
3692
|
continue;
|
|
3715
3693
|
}
|
|
3716
|
-
if (
|
|
3717
|
-
var
|
|
3694
|
+
if (Gt(h)) {
|
|
3695
|
+
var p = typeof h.style == "string" ? n.time[h.style] : $e(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3718
3696
|
s.push({
|
|
3719
3697
|
type: T.literal,
|
|
3720
|
-
value: r.getDateTimeFormat(t,
|
|
3698
|
+
value: r.getDateTimeFormat(t, p).format(c)
|
|
3721
3699
|
});
|
|
3722
3700
|
continue;
|
|
3723
3701
|
}
|
|
3724
|
-
if (
|
|
3725
|
-
var
|
|
3726
|
-
|
|
3702
|
+
if ($t(h)) {
|
|
3703
|
+
var p = typeof h.style == "string" ? n.number[h.style] : kt(h.style) ? h.style.parsedOptions : void 0;
|
|
3704
|
+
p && p.scale && (c = c * (p.scale || 1)), s.push({
|
|
3727
3705
|
type: T.literal,
|
|
3728
|
-
value: r.getNumberFormat(t,
|
|
3706
|
+
value: r.getNumberFormat(t, p).format(c)
|
|
3729
3707
|
});
|
|
3730
3708
|
continue;
|
|
3731
3709
|
}
|
|
3732
|
-
if (
|
|
3733
|
-
var
|
|
3734
|
-
if (!
|
|
3735
|
-
throw new
|
|
3736
|
-
var H = ce(
|
|
3710
|
+
if (jt(h)) {
|
|
3711
|
+
var d = h.children, y = h.value, S = i[y];
|
|
3712
|
+
if (!Kn(S))
|
|
3713
|
+
throw new Yn(y, "function", a);
|
|
3714
|
+
var H = ce(d, t, r, n, i, o), E = S(H.map(function(m) {
|
|
3737
3715
|
return m.value;
|
|
3738
3716
|
}));
|
|
3739
3717
|
Array.isArray(E) || (E = [E]), s.push.apply(s, E.map(function(m) {
|
|
@@ -3743,14 +3721,14 @@ function ce(e, t, r, n, i, o, a) {
|
|
|
3743
3721
|
};
|
|
3744
3722
|
}));
|
|
3745
3723
|
}
|
|
3746
|
-
if (
|
|
3724
|
+
if (Dt(h)) {
|
|
3747
3725
|
var x = h.options[c] || h.options.other;
|
|
3748
3726
|
if (!x)
|
|
3749
|
-
throw new
|
|
3727
|
+
throw new bt(h.value, c, Object.keys(h.options), a);
|
|
3750
3728
|
s.push.apply(s, ce(x.value, t, r, n, i));
|
|
3751
3729
|
continue;
|
|
3752
3730
|
}
|
|
3753
|
-
if (
|
|
3731
|
+
if (Ft(h)) {
|
|
3754
3732
|
var x = h.options["=".concat(c)];
|
|
3755
3733
|
if (!x) {
|
|
3756
3734
|
if (!Intl.PluralRules)
|
|
@@ -3761,24 +3739,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3761
3739
|
x = h.options[w] || h.options.other;
|
|
3762
3740
|
}
|
|
3763
3741
|
if (!x)
|
|
3764
|
-
throw new
|
|
3742
|
+
throw new bt(h.value, c, Object.keys(h.options), a);
|
|
3765
3743
|
s.push.apply(s, ce(x.value, t, r, n, i, c - (h.offset || 0)));
|
|
3766
3744
|
continue;
|
|
3767
3745
|
}
|
|
3768
3746
|
}
|
|
3769
|
-
return
|
|
3747
|
+
return Jn(s);
|
|
3770
3748
|
}
|
|
3771
|
-
function
|
|
3749
|
+
function ei(e, t) {
|
|
3772
3750
|
return t ? g(g(g({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3773
3751
|
return r[n] = g(g({}, e[n]), t[n] || {}), r;
|
|
3774
3752
|
}, {})) : e;
|
|
3775
3753
|
}
|
|
3776
|
-
function
|
|
3754
|
+
function ti(e, t) {
|
|
3777
3755
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3778
|
-
return r[n] =
|
|
3756
|
+
return r[n] = ei(e[n], t[n]), r;
|
|
3779
3757
|
}, g({}, e)) : e;
|
|
3780
3758
|
}
|
|
3781
|
-
function
|
|
3759
|
+
function He(e) {
|
|
3782
3760
|
return {
|
|
3783
3761
|
create: function() {
|
|
3784
3762
|
return {
|
|
@@ -3792,39 +3770,39 @@ function Ie(e) {
|
|
|
3792
3770
|
}
|
|
3793
3771
|
};
|
|
3794
3772
|
}
|
|
3795
|
-
function
|
|
3773
|
+
function ri(e) {
|
|
3796
3774
|
return e === void 0 && (e = {
|
|
3797
3775
|
number: {},
|
|
3798
3776
|
dateTime: {},
|
|
3799
3777
|
pluralRules: {}
|
|
3800
3778
|
}), {
|
|
3801
|
-
getNumberFormat:
|
|
3779
|
+
getNumberFormat: Se(function() {
|
|
3802
3780
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3803
3781
|
r[n] = arguments[n];
|
|
3804
3782
|
return new ((t = Intl.NumberFormat).bind.apply(t, j([void 0], r, !1)))();
|
|
3805
3783
|
}, {
|
|
3806
|
-
cache:
|
|
3807
|
-
strategy:
|
|
3784
|
+
cache: He(e.number),
|
|
3785
|
+
strategy: we.variadic
|
|
3808
3786
|
}),
|
|
3809
|
-
getDateTimeFormat:
|
|
3787
|
+
getDateTimeFormat: Se(function() {
|
|
3810
3788
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3811
3789
|
r[n] = arguments[n];
|
|
3812
3790
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, j([void 0], r, !1)))();
|
|
3813
3791
|
}, {
|
|
3814
|
-
cache:
|
|
3815
|
-
strategy:
|
|
3792
|
+
cache: He(e.dateTime),
|
|
3793
|
+
strategy: we.variadic
|
|
3816
3794
|
}),
|
|
3817
|
-
getPluralRules:
|
|
3795
|
+
getPluralRules: Se(function() {
|
|
3818
3796
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3819
3797
|
r[n] = arguments[n];
|
|
3820
3798
|
return new ((t = Intl.PluralRules).bind.apply(t, j([void 0], r, !1)))();
|
|
3821
3799
|
}, {
|
|
3822
|
-
cache:
|
|
3823
|
-
strategy:
|
|
3800
|
+
cache: He(e.pluralRules),
|
|
3801
|
+
strategy: we.variadic
|
|
3824
3802
|
})
|
|
3825
3803
|
};
|
|
3826
3804
|
}
|
|
3827
|
-
var
|
|
3805
|
+
var ni = (
|
|
3828
3806
|
/** @class */
|
|
3829
3807
|
function() {
|
|
3830
3808
|
function e(t, r, n, i) {
|
|
@@ -3856,13 +3834,13 @@ var ai = (
|
|
|
3856
3834
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3857
3835
|
var a = i || {};
|
|
3858
3836
|
a.formatters;
|
|
3859
|
-
var s =
|
|
3837
|
+
var s = Mr(a, ["formatters"]);
|
|
3860
3838
|
this.ast = e.__parse(t, g(g({}, s), { locale: this.resolvedLocale }));
|
|
3861
3839
|
} else
|
|
3862
3840
|
this.ast = t;
|
|
3863
3841
|
if (!Array.isArray(this.ast))
|
|
3864
3842
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3865
|
-
this.formats =
|
|
3843
|
+
this.formats = ti(e.formats, n), this.formatters = i && i.formatters || ri(this.formatterCache);
|
|
3866
3844
|
}
|
|
3867
3845
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3868
3846
|
get: function() {
|
|
@@ -3875,7 +3853,7 @@ var ai = (
|
|
|
3875
3853
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3876
3854
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3877
3855
|
}
|
|
3878
|
-
}, e.__parse =
|
|
3856
|
+
}, e.__parse = Zn, e.formats = {
|
|
3879
3857
|
number: {
|
|
3880
3858
|
integer: {
|
|
3881
3859
|
maximumFractionDigits: 0
|
|
@@ -3936,7 +3914,7 @@ var ai = (
|
|
|
3936
3914
|
}, e;
|
|
3937
3915
|
}()
|
|
3938
3916
|
);
|
|
3939
|
-
function
|
|
3917
|
+
function ii(e, t) {
|
|
3940
3918
|
if (t == null)
|
|
3941
3919
|
return;
|
|
3942
3920
|
if (t in e)
|
|
@@ -3957,92 +3935,92 @@ function si(e, t) {
|
|
|
3957
3935
|
n = void 0;
|
|
3958
3936
|
return n;
|
|
3959
3937
|
}
|
|
3960
|
-
const R = {},
|
|
3938
|
+
const R = {}, oi = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), Qt = (e, t) => {
|
|
3961
3939
|
if (t == null)
|
|
3962
3940
|
return;
|
|
3963
3941
|
if (t in R && e in R[t])
|
|
3964
3942
|
return R[t][e];
|
|
3965
3943
|
const r = ge(t);
|
|
3966
3944
|
for (let n = 0; n < r.length; n++) {
|
|
3967
|
-
const i = r[n], o =
|
|
3945
|
+
const i = r[n], o = si(i, e);
|
|
3968
3946
|
if (o)
|
|
3969
|
-
return
|
|
3947
|
+
return oi(e, t, o);
|
|
3970
3948
|
}
|
|
3971
3949
|
};
|
|
3972
|
-
let
|
|
3950
|
+
let Xe;
|
|
3973
3951
|
const ae = be({});
|
|
3974
|
-
function
|
|
3975
|
-
return
|
|
3952
|
+
function ai(e) {
|
|
3953
|
+
return Xe[e] || null;
|
|
3976
3954
|
}
|
|
3977
|
-
function
|
|
3978
|
-
return e in
|
|
3955
|
+
function Jt(e) {
|
|
3956
|
+
return e in Xe;
|
|
3979
3957
|
}
|
|
3980
|
-
function
|
|
3981
|
-
if (!
|
|
3958
|
+
function si(e, t) {
|
|
3959
|
+
if (!Jt(e))
|
|
3982
3960
|
return null;
|
|
3983
|
-
const r =
|
|
3984
|
-
return
|
|
3961
|
+
const r = ai(e);
|
|
3962
|
+
return ii(r, t);
|
|
3985
3963
|
}
|
|
3986
|
-
function
|
|
3964
|
+
function ui(e) {
|
|
3987
3965
|
if (e == null)
|
|
3988
3966
|
return;
|
|
3989
3967
|
const t = ge(e);
|
|
3990
3968
|
for (let r = 0; r < t.length; r++) {
|
|
3991
3969
|
const n = t[r];
|
|
3992
|
-
if (
|
|
3970
|
+
if (Jt(n))
|
|
3993
3971
|
return n;
|
|
3994
3972
|
}
|
|
3995
3973
|
}
|
|
3996
|
-
function
|
|
3997
|
-
delete R[e], ae.update((r) => (r[e] =
|
|
3974
|
+
function Kt(e, ...t) {
|
|
3975
|
+
delete R[e], ae.update((r) => (r[e] = fn.all([r[e] || {}, ...t]), r));
|
|
3998
3976
|
}
|
|
3999
3977
|
q(
|
|
4000
3978
|
[ae],
|
|
4001
3979
|
([e]) => Object.keys(e)
|
|
4002
3980
|
);
|
|
4003
|
-
ae.subscribe((e) =>
|
|
3981
|
+
ae.subscribe((e) => Xe = e);
|
|
4004
3982
|
const fe = {};
|
|
4005
|
-
function
|
|
3983
|
+
function li(e, t) {
|
|
4006
3984
|
fe[e].delete(t), fe[e].size === 0 && delete fe[e];
|
|
4007
3985
|
}
|
|
4008
|
-
function
|
|
3986
|
+
function er(e) {
|
|
4009
3987
|
return fe[e];
|
|
4010
3988
|
}
|
|
4011
|
-
function
|
|
3989
|
+
function hi(e) {
|
|
4012
3990
|
return ge(e).map((t) => {
|
|
4013
|
-
const r =
|
|
3991
|
+
const r = er(t);
|
|
4014
3992
|
return [t, r ? [...r] : []];
|
|
4015
3993
|
}).filter(([, t]) => t.length > 0);
|
|
4016
3994
|
}
|
|
4017
|
-
function
|
|
3995
|
+
function ke(e) {
|
|
4018
3996
|
return e == null ? !1 : ge(e).some(
|
|
4019
3997
|
(t) => {
|
|
4020
3998
|
var r;
|
|
4021
|
-
return (r =
|
|
3999
|
+
return (r = er(t)) == null ? void 0 : r.size;
|
|
4022
4000
|
}
|
|
4023
4001
|
);
|
|
4024
4002
|
}
|
|
4025
|
-
function
|
|
4003
|
+
function ci(e, t) {
|
|
4026
4004
|
return Promise.all(
|
|
4027
|
-
t.map((n) => (
|
|
4028
|
-
).then((n) =>
|
|
4005
|
+
t.map((n) => (li(e, n), n().then((i) => i.default || i)))
|
|
4006
|
+
).then((n) => Kt(e, ...n));
|
|
4029
4007
|
}
|
|
4030
4008
|
const J = {};
|
|
4031
|
-
function
|
|
4032
|
-
if (!
|
|
4009
|
+
function tr(e) {
|
|
4010
|
+
if (!ke(e))
|
|
4033
4011
|
return e in J ? J[e] : Promise.resolve();
|
|
4034
|
-
const t =
|
|
4012
|
+
const t = hi(e);
|
|
4035
4013
|
return J[e] = Promise.all(
|
|
4036
4014
|
t.map(
|
|
4037
|
-
([r, n]) =>
|
|
4015
|
+
([r, n]) => ci(r, n)
|
|
4038
4016
|
)
|
|
4039
4017
|
).then(() => {
|
|
4040
|
-
if (
|
|
4041
|
-
return
|
|
4018
|
+
if (ke(e))
|
|
4019
|
+
return tr(e);
|
|
4042
4020
|
delete J[e];
|
|
4043
4021
|
}), J[e];
|
|
4044
4022
|
}
|
|
4045
|
-
const
|
|
4023
|
+
const fi = {
|
|
4046
4024
|
number: {
|
|
4047
4025
|
scientific: { notation: "scientific" },
|
|
4048
4026
|
engineering: { notation: "engineering" },
|
|
@@ -4071,57 +4049,57 @@ const mi = {
|
|
|
4071
4049
|
timeZoneName: "short"
|
|
4072
4050
|
}
|
|
4073
4051
|
}
|
|
4074
|
-
},
|
|
4052
|
+
}, pi = {
|
|
4075
4053
|
fallbackLocale: null,
|
|
4076
4054
|
loadingDelay: 200,
|
|
4077
|
-
formats:
|
|
4055
|
+
formats: fi,
|
|
4078
4056
|
warnOnMissingMessages: !0,
|
|
4079
4057
|
handleMissingMessage: void 0,
|
|
4080
4058
|
ignoreTag: !0
|
|
4081
|
-
},
|
|
4059
|
+
}, di = pi;
|
|
4082
4060
|
function W() {
|
|
4083
|
-
return
|
|
4061
|
+
return di;
|
|
4084
4062
|
}
|
|
4085
|
-
const
|
|
4086
|
-
var
|
|
4063
|
+
const Ie = be(!1);
|
|
4064
|
+
var mi = Object.defineProperty, bi = Object.defineProperties, vi = Object.getOwnPropertyDescriptors, vt = Object.getOwnPropertySymbols, gi = Object.prototype.hasOwnProperty, yi = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, xi = (e, t) => {
|
|
4087
4065
|
for (var r in t || (t = {}))
|
|
4088
|
-
|
|
4089
|
-
if (
|
|
4090
|
-
for (var r of
|
|
4091
|
-
|
|
4066
|
+
gi.call(t, r) && gt(e, r, t[r]);
|
|
4067
|
+
if (vt)
|
|
4068
|
+
for (var r of vt(t))
|
|
4069
|
+
yi.call(t, r) && gt(e, r, t[r]);
|
|
4092
4070
|
return e;
|
|
4093
|
-
},
|
|
4094
|
-
let
|
|
4095
|
-
const
|
|
4096
|
-
function
|
|
4071
|
+
}, _i = (e, t) => bi(e, vi(t));
|
|
4072
|
+
let Ve;
|
|
4073
|
+
const pe = be(null);
|
|
4074
|
+
function yt(e) {
|
|
4097
4075
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4098
4076
|
}
|
|
4099
4077
|
function ge(e, t = W().fallbackLocale) {
|
|
4100
|
-
const r =
|
|
4101
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4078
|
+
const r = yt(e);
|
|
4079
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...yt(t)])] : r;
|
|
4102
4080
|
}
|
|
4103
4081
|
function $() {
|
|
4104
|
-
return
|
|
4082
|
+
return Ve != null ? Ve : void 0;
|
|
4105
4083
|
}
|
|
4106
|
-
|
|
4107
|
-
|
|
4084
|
+
pe.subscribe((e) => {
|
|
4085
|
+
Ve = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4108
4086
|
});
|
|
4109
|
-
const
|
|
4110
|
-
if (e &&
|
|
4087
|
+
const Ei = (e) => {
|
|
4088
|
+
if (e && ui(e) && ke(e)) {
|
|
4111
4089
|
const { loadingDelay: t } = W();
|
|
4112
4090
|
let r;
|
|
4113
4091
|
return typeof window != "undefined" && $() != null && t ? r = window.setTimeout(
|
|
4114
|
-
() =>
|
|
4092
|
+
() => Ie.set(!0),
|
|
4115
4093
|
t
|
|
4116
|
-
) :
|
|
4117
|
-
|
|
4094
|
+
) : Ie.set(!0), tr(e).then(() => {
|
|
4095
|
+
pe.set(e);
|
|
4118
4096
|
}).finally(() => {
|
|
4119
|
-
clearTimeout(r),
|
|
4097
|
+
clearTimeout(r), Ie.set(!1);
|
|
4120
4098
|
});
|
|
4121
4099
|
}
|
|
4122
|
-
return
|
|
4123
|
-
}, Z =
|
|
4124
|
-
set:
|
|
4100
|
+
return pe.set(e);
|
|
4101
|
+
}, Z = _i(xi({}, pe), {
|
|
4102
|
+
set: Ei
|
|
4125
4103
|
}), ye = (e) => {
|
|
4126
4104
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4127
4105
|
return (n) => {
|
|
@@ -4129,20 +4107,20 @@ const wi = (e) => {
|
|
|
4129
4107
|
return i in t ? t[i] : t[i] = e(n);
|
|
4130
4108
|
};
|
|
4131
4109
|
};
|
|
4132
|
-
var
|
|
4110
|
+
var Ti = Object.defineProperty, de = Object.getOwnPropertySymbols, rr = Object.prototype.hasOwnProperty, nr = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? Ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qe = (e, t) => {
|
|
4133
4111
|
for (var r in t || (t = {}))
|
|
4134
|
-
|
|
4135
|
-
if (
|
|
4136
|
-
for (var r of
|
|
4137
|
-
|
|
4112
|
+
rr.call(t, r) && xt(e, r, t[r]);
|
|
4113
|
+
if (de)
|
|
4114
|
+
for (var r of de(t))
|
|
4115
|
+
nr.call(t, r) && xt(e, r, t[r]);
|
|
4138
4116
|
return e;
|
|
4139
4117
|
}, Y = (e, t) => {
|
|
4140
4118
|
var r = {};
|
|
4141
4119
|
for (var n in e)
|
|
4142
|
-
|
|
4143
|
-
if (e != null &&
|
|
4144
|
-
for (var n of
|
|
4145
|
-
t.indexOf(n) < 0 &&
|
|
4120
|
+
rr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4121
|
+
if (e != null && de)
|
|
4122
|
+
for (var n of de(e))
|
|
4123
|
+
t.indexOf(n) < 0 && nr.call(e, n) && (r[n] = e[n]);
|
|
4146
4124
|
return r;
|
|
4147
4125
|
};
|
|
4148
4126
|
const re = (e, t) => {
|
|
@@ -4150,21 +4128,21 @@ const re = (e, t) => {
|
|
|
4150
4128
|
if (e in r && t in r[e])
|
|
4151
4129
|
return r[e][t];
|
|
4152
4130
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4153
|
-
},
|
|
4131
|
+
}, Si = ye(
|
|
4154
4132
|
(e) => {
|
|
4155
4133
|
var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
|
|
4156
4134
|
if (r == null)
|
|
4157
4135
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4158
4136
|
return n && (i = re("number", n)), new Intl.NumberFormat(r, i);
|
|
4159
4137
|
}
|
|
4160
|
-
),
|
|
4138
|
+
), wi = ye(
|
|
4161
4139
|
(e) => {
|
|
4162
4140
|
var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
|
|
4163
4141
|
if (r == null)
|
|
4164
4142
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4165
4143
|
return n ? i = re("date", n) : Object.keys(i).length === 0 && (i = re("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4166
4144
|
}
|
|
4167
|
-
),
|
|
4145
|
+
), Pi = ye(
|
|
4168
4146
|
(e) => {
|
|
4169
4147
|
var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
|
|
4170
4148
|
if (r == null)
|
|
@@ -4173,33 +4151,33 @@ const re = (e, t) => {
|
|
|
4173
4151
|
);
|
|
4174
4152
|
return n ? i = re("time", n) : Object.keys(i).length === 0 && (i = re("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4175
4153
|
}
|
|
4176
|
-
),
|
|
4154
|
+
), Hi = (e = {}) => {
|
|
4177
4155
|
var t = e, {
|
|
4178
4156
|
locale: r = $()
|
|
4179
4157
|
} = t, n = Y(t, [
|
|
4180
4158
|
"locale"
|
|
4181
4159
|
]);
|
|
4182
|
-
return
|
|
4183
|
-
},
|
|
4160
|
+
return Si(qe({ locale: r }, n));
|
|
4161
|
+
}, Ii = (e = {}) => {
|
|
4184
4162
|
var t = e, {
|
|
4185
4163
|
locale: r = $()
|
|
4186
4164
|
} = t, n = Y(t, [
|
|
4187
4165
|
"locale"
|
|
4188
4166
|
]);
|
|
4189
|
-
return
|
|
4190
|
-
},
|
|
4167
|
+
return wi(qe({ locale: r }, n));
|
|
4168
|
+
}, Bi = (e = {}) => {
|
|
4191
4169
|
var t = e, {
|
|
4192
4170
|
locale: r = $()
|
|
4193
4171
|
} = t, n = Y(t, [
|
|
4194
4172
|
"locale"
|
|
4195
4173
|
]);
|
|
4196
|
-
return
|
|
4197
|
-
},
|
|
4174
|
+
return Pi(qe({ locale: r }, n));
|
|
4175
|
+
}, Ci = ye(
|
|
4198
4176
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4199
|
-
(e, t = $()) => new
|
|
4177
|
+
(e, t = $()) => new ni(e, t, W().formats, {
|
|
4200
4178
|
ignoreTag: W().ignoreTag
|
|
4201
4179
|
})
|
|
4202
|
-
),
|
|
4180
|
+
), Ai = (e, t = {}) => {
|
|
4203
4181
|
var r, n, i, o;
|
|
4204
4182
|
let a = t;
|
|
4205
4183
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -4212,7 +4190,7 @@ const re = (e, t) => {
|
|
|
4212
4190
|
throw new Error(
|
|
4213
4191
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4214
4192
|
);
|
|
4215
|
-
let h =
|
|
4193
|
+
let h = Qt(e, l);
|
|
4216
4194
|
if (!h)
|
|
4217
4195
|
h = (o = (i = (n = (r = W()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4218
4196
|
else if (typeof h != "string")
|
|
@@ -4223,7 +4201,7 @@ const re = (e, t) => {
|
|
|
4223
4201
|
return h;
|
|
4224
4202
|
let f = h;
|
|
4225
4203
|
try {
|
|
4226
|
-
f =
|
|
4204
|
+
f = Ci(h, l).format(s);
|
|
4227
4205
|
} catch (c) {
|
|
4228
4206
|
c instanceof Error && console.warn(
|
|
4229
4207
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4231,20 +4209,20 @@ const re = (e, t) => {
|
|
|
4231
4209
|
);
|
|
4232
4210
|
}
|
|
4233
4211
|
return f;
|
|
4234
|
-
},
|
|
4235
|
-
q([Z], () =>
|
|
4236
|
-
q([Z], () =>
|
|
4237
|
-
q([Z], () =>
|
|
4238
|
-
q([Z, ae], () =>
|
|
4239
|
-
window.emWidgets = { topic:
|
|
4240
|
-
const
|
|
4241
|
-
function
|
|
4242
|
-
|
|
4243
|
-
}
|
|
4244
|
-
function
|
|
4212
|
+
}, Oi = (e, t) => Bi(t).format(e), Li = (e, t) => Ii(t).format(e), Mi = (e, t) => Hi(t).format(e), Ni = (e, t = $()) => Qt(e, t), Ri = q([Z, ae], () => Ai);
|
|
4213
|
+
q([Z], () => Oi);
|
|
4214
|
+
q([Z], () => Li);
|
|
4215
|
+
q([Z], () => Mi);
|
|
4216
|
+
q([Z, ae], () => Ni);
|
|
4217
|
+
window.emWidgets = { topic: qr };
|
|
4218
|
+
const $i = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4219
|
+
function _t(e, t) {
|
|
4220
|
+
Kt(e, t);
|
|
4221
|
+
}
|
|
4222
|
+
function Ui(e) {
|
|
4245
4223
|
Z.set(e);
|
|
4246
4224
|
}
|
|
4247
|
-
const
|
|
4225
|
+
const Et = {
|
|
4248
4226
|
en: {
|
|
4249
4227
|
name: "Info",
|
|
4250
4228
|
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:",
|
|
@@ -4306,13 +4284,13 @@ const wt = {
|
|
|
4306
4284
|
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."
|
|
4307
4285
|
}
|
|
4308
4286
|
};
|
|
4309
|
-
function
|
|
4287
|
+
function Gi(e, t) {
|
|
4310
4288
|
if (e) {
|
|
4311
4289
|
const r = document.createElement("style");
|
|
4312
4290
|
r.innerHTML = t, e.appendChild(r);
|
|
4313
4291
|
}
|
|
4314
4292
|
}
|
|
4315
|
-
function
|
|
4293
|
+
function Di(e, t) {
|
|
4316
4294
|
const r = new URL(t);
|
|
4317
4295
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4318
4296
|
const i = document.createElement("style");
|
|
@@ -4321,7 +4299,7 @@ function ki(e, t) {
|
|
|
4321
4299
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4322
4300
|
});
|
|
4323
4301
|
}
|
|
4324
|
-
function
|
|
4302
|
+
function Fi(e, t, r) {
|
|
4325
4303
|
if (window.emMessageBus) {
|
|
4326
4304
|
const n = document.createElement("style");
|
|
4327
4305
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4329,24 +4307,24 @@ function Vi(e, t, r) {
|
|
|
4329
4307
|
});
|
|
4330
4308
|
}
|
|
4331
4309
|
}
|
|
4332
|
-
function
|
|
4333
|
-
|
|
4310
|
+
function ji(e) {
|
|
4311
|
+
cr(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)}');
|
|
4334
4312
|
}
|
|
4335
|
-
function
|
|
4313
|
+
function Tt(e) {
|
|
4336
4314
|
let t, r, n, i, o, a, s = (
|
|
4337
4315
|
/*$_*/
|
|
4338
4316
|
e[4]("name") + ""
|
|
4339
|
-
), l, u, h, f, c,
|
|
4317
|
+
), l, u, h, f, c, p, d, y;
|
|
4340
4318
|
function S(x, w) {
|
|
4341
4319
|
return (
|
|
4342
4320
|
/*iteminfoamount*/
|
|
4343
|
-
x[0] ?
|
|
4321
|
+
x[0] ? Vi : ki
|
|
4344
4322
|
);
|
|
4345
4323
|
}
|
|
4346
4324
|
let H = S(e), E = H(e);
|
|
4347
4325
|
return {
|
|
4348
4326
|
c() {
|
|
4349
|
-
t = A("section"), r = A("div"), n = A("div"), i = A("div"), i.textContent = "i", o = _e(), a = A("div"), l = oe(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"), E.c(), C(i, "class", "InfoCardPopupIcon"), C(a, "class", "InfoCardPopupTitle"), C(h, "class", "InfoCardPopupCloseButton"), C(n, "class", "InfoCardPopupHeader"), C(c, "class", "InfoCardPopupContentArea"), C(r, "class",
|
|
4327
|
+
t = A("section"), r = A("div"), n = A("div"), i = A("div"), i.textContent = "i", o = _e(), a = A("div"), l = oe(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"), E.c(), C(i, "class", "InfoCardPopupIcon"), C(a, "class", "InfoCardPopupTitle"), C(h, "class", "InfoCardPopupCloseButton"), C(n, "class", "InfoCardPopupHeader"), C(c, "class", "InfoCardPopupContentArea"), C(r, "class", p = "InfoCardPopupWrapper " + /*isMobile*/
|
|
4350
4328
|
(e[5] ? "InfoCardPopupMobileWrapper" : "") + " " + /*iteminfoamount*/
|
|
4351
4329
|
(e[0] ? "InfoCardPopupLimitChanged" : "")), C(
|
|
4352
4330
|
t,
|
|
@@ -4356,25 +4334,25 @@ function Pt(e) {
|
|
|
4356
4334
|
);
|
|
4357
4335
|
},
|
|
4358
4336
|
m(x, w) {
|
|
4359
|
-
ie(x, t, w), P(t, r), P(r, n), P(n, i), P(n, o), P(n, a), P(a, l), P(n, u), P(n, h), P(r, f), P(r, c), E.m(c, null), e[13](t),
|
|
4337
|
+
ie(x, t, w), P(t, r), P(r, n), P(n, i), P(n, o), P(n, a), P(a, l), P(n, u), P(n, h), P(r, f), P(r, c), E.m(c, null), e[13](t), d || (y = mr(h, "click", br(
|
|
4360
4338
|
/*closeInfoPopup*/
|
|
4361
4339
|
e[6]
|
|
4362
|
-
)),
|
|
4340
|
+
)), d = !0);
|
|
4363
4341
|
},
|
|
4364
4342
|
p(x, w) {
|
|
4365
4343
|
w & /*$_*/
|
|
4366
4344
|
16 && s !== (s = /*$_*/
|
|
4367
|
-
x[4]("name") + "") &&
|
|
4368
|
-
1 &&
|
|
4345
|
+
x[4]("name") + "") && We(l, s), H === (H = S(x)) && E ? E.p(x, w) : (E.d(1), E = H(x), E && (E.c(), E.m(c, null))), w & /*iteminfoamount*/
|
|
4346
|
+
1 && p !== (p = "InfoCardPopupWrapper " + /*isMobile*/
|
|
4369
4347
|
(x[5] ? "InfoCardPopupMobileWrapper" : "") + " " + /*iteminfoamount*/
|
|
4370
|
-
(x[0] ? "InfoCardPopupLimitChanged" : "")) && C(r, "class",
|
|
4348
|
+
(x[0] ? "InfoCardPopupLimitChanged" : "")) && C(r, "class", p);
|
|
4371
4349
|
},
|
|
4372
4350
|
d(x) {
|
|
4373
|
-
x && X(t), E.d(), e[13](null),
|
|
4351
|
+
x && X(t), E.d(), e[13](null), d = !1, y();
|
|
4374
4352
|
}
|
|
4375
4353
|
};
|
|
4376
4354
|
}
|
|
4377
|
-
function
|
|
4355
|
+
function ki(e) {
|
|
4378
4356
|
let t, r = (
|
|
4379
4357
|
/*$_*/
|
|
4380
4358
|
e[4]("defaultText") + ""
|
|
@@ -4389,14 +4367,14 @@ function Wi(e) {
|
|
|
4389
4367
|
p(i, o) {
|
|
4390
4368
|
o & /*$_*/
|
|
4391
4369
|
16 && r !== (r = /*$_*/
|
|
4392
|
-
i[4]("defaultText") + "") &&
|
|
4370
|
+
i[4]("defaultText") + "") && We(n, r);
|
|
4393
4371
|
},
|
|
4394
4372
|
d(i) {
|
|
4395
4373
|
i && X(t);
|
|
4396
4374
|
}
|
|
4397
4375
|
};
|
|
4398
4376
|
}
|
|
4399
|
-
function
|
|
4377
|
+
function Vi(e) {
|
|
4400
4378
|
let t, r = (
|
|
4401
4379
|
/*$_*/
|
|
4402
4380
|
e[4]("amountChanged", {
|
|
@@ -4433,28 +4411,28 @@ function Xi(e) {
|
|
|
4433
4411
|
i[1]
|
|
4434
4412
|
)
|
|
4435
4413
|
}
|
|
4436
|
-
}) + "") &&
|
|
4414
|
+
}) + "") && We(n, r);
|
|
4437
4415
|
},
|
|
4438
4416
|
d(i) {
|
|
4439
4417
|
i && X(t);
|
|
4440
4418
|
}
|
|
4441
4419
|
};
|
|
4442
4420
|
}
|
|
4443
|
-
function
|
|
4421
|
+
function zi(e) {
|
|
4444
4422
|
let t, r = (
|
|
4445
4423
|
/*showPopup*/
|
|
4446
|
-
e[3] &&
|
|
4424
|
+
e[3] && Tt(e)
|
|
4447
4425
|
);
|
|
4448
4426
|
return {
|
|
4449
4427
|
c() {
|
|
4450
|
-
r && r.c(), t =
|
|
4428
|
+
r && r.c(), t = dr();
|
|
4451
4429
|
},
|
|
4452
4430
|
m(n, i) {
|
|
4453
4431
|
r && r.m(n, i), ie(n, t, i);
|
|
4454
4432
|
},
|
|
4455
4433
|
p(n, [i]) {
|
|
4456
4434
|
/*showPopup*/
|
|
4457
|
-
n[3] ? r ? r.p(n, i) : (r =
|
|
4435
|
+
n[3] ? r ? r.p(n, i) : (r = Tt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
|
|
4458
4436
|
},
|
|
4459
4437
|
i: O,
|
|
4460
4438
|
o: O,
|
|
@@ -4463,41 +4441,41 @@ function qi(e) {
|
|
|
4463
4441
|
}
|
|
4464
4442
|
};
|
|
4465
4443
|
}
|
|
4466
|
-
function
|
|
4444
|
+
function Wi(e, t, r) {
|
|
4467
4445
|
let n;
|
|
4468
|
-
|
|
4446
|
+
hr(e, Ri, (m) => r(4, n = m));
|
|
4469
4447
|
let { showpopup: i = "" } = t, { iteminfoamount: o = "" } = t, { lang: a = "en" } = t, { currency: s = "USD" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: h = "" } = t, { mbsource: f } = t;
|
|
4470
4448
|
const c = () => {
|
|
4471
4449
|
fetch(h).then((B) => B.json()).then((B) => {
|
|
4472
4450
|
Object.keys(B).forEach((Q) => {
|
|
4473
|
-
|
|
4451
|
+
_t(Q, B[Q]);
|
|
4474
4452
|
});
|
|
4475
4453
|
}).catch((B) => {
|
|
4476
4454
|
console.log(B);
|
|
4477
4455
|
});
|
|
4478
4456
|
};
|
|
4479
|
-
Object.keys(
|
|
4480
|
-
|
|
4457
|
+
Object.keys(Et).forEach((m) => {
|
|
4458
|
+
_t(m, Et[m]);
|
|
4481
4459
|
});
|
|
4482
|
-
let
|
|
4460
|
+
let p = !1, d, y = window.navigator.userAgent, S = $i(y) !== "PC";
|
|
4483
4461
|
const H = () => {
|
|
4484
|
-
r(3,
|
|
4462
|
+
r(3, p = !1), window.postMessage(
|
|
4485
4463
|
{
|
|
4486
4464
|
type: "ClosePlayerAccountGamingLimitsPopup"
|
|
4487
4465
|
},
|
|
4488
4466
|
window.location.href
|
|
4489
4467
|
);
|
|
4490
4468
|
}, E = (m) => {
|
|
4491
|
-
m.data && m.data.type == "ClosePlayerAccountGamingLimitsPopup" && r(3,
|
|
4469
|
+
m.data && m.data.type == "ClosePlayerAccountGamingLimitsPopup" && r(3, p = !1);
|
|
4492
4470
|
}, x = () => {
|
|
4493
|
-
|
|
4471
|
+
Ui(a), o < 0 && r(0, o = "0"), r(3, p = i);
|
|
4494
4472
|
};
|
|
4495
|
-
|
|
4473
|
+
xr(() => (window.addEventListener("message", E, !1), () => {
|
|
4496
4474
|
window.removeEventListener("message", E);
|
|
4497
4475
|
}));
|
|
4498
4476
|
function w(m) {
|
|
4499
|
-
|
|
4500
|
-
|
|
4477
|
+
Be[m ? "unshift" : "push"](() => {
|
|
4478
|
+
d = m, r(2, d);
|
|
4501
4479
|
});
|
|
4502
4480
|
}
|
|
4503
4481
|
return e.$$set = (m) => {
|
|
@@ -4505,15 +4483,15 @@ function Zi(e, t, r) {
|
|
|
4505
4483
|
}, e.$$.update = () => {
|
|
4506
4484
|
e.$$.dirty & /*showpopup, lang*/
|
|
4507
4485
|
384 && i && a && x(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4508
|
-
516 && l &&
|
|
4509
|
-
1028 && u &&
|
|
4510
|
-
4100 && f &&
|
|
4486
|
+
516 && l && d && Gi(d, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4487
|
+
1028 && u && d && Di(d, u), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4488
|
+
4100 && f && d && Fi(d, `${f}.Style`), e.$$.dirty & /*translationurl*/
|
|
4511
4489
|
2048 && h && c();
|
|
4512
4490
|
}, [
|
|
4513
4491
|
o,
|
|
4514
4492
|
s,
|
|
4515
|
-
p,
|
|
4516
4493
|
d,
|
|
4494
|
+
p,
|
|
4517
4495
|
n,
|
|
4518
4496
|
S,
|
|
4519
4497
|
H,
|
|
@@ -4526,14 +4504,14 @@ function Zi(e, t, r) {
|
|
|
4526
4504
|
w
|
|
4527
4505
|
];
|
|
4528
4506
|
}
|
|
4529
|
-
class
|
|
4507
|
+
class Xi extends Or {
|
|
4530
4508
|
constructor(t) {
|
|
4531
|
-
super(),
|
|
4509
|
+
super(), Cr(
|
|
4532
4510
|
this,
|
|
4533
4511
|
t,
|
|
4534
|
-
|
|
4535
|
-
|
|
4536
|
-
|
|
4512
|
+
Wi,
|
|
4513
|
+
zi,
|
|
4514
|
+
wt,
|
|
4537
4515
|
{
|
|
4538
4516
|
showpopup: 7,
|
|
4539
4517
|
iteminfoamount: 0,
|
|
@@ -4544,7 +4522,7 @@ class Yi extends Rr {
|
|
|
4544
4522
|
translationurl: 11,
|
|
4545
4523
|
mbsource: 12
|
|
4546
4524
|
},
|
|
4547
|
-
|
|
4525
|
+
ji
|
|
4548
4526
|
);
|
|
4549
4527
|
}
|
|
4550
4528
|
get showpopup() {
|
|
@@ -4596,7 +4574,7 @@ class Yi extends Rr {
|
|
|
4596
4574
|
this.$$set({ mbsource: t }), L();
|
|
4597
4575
|
}
|
|
4598
4576
|
}
|
|
4599
|
-
|
|
4577
|
+
Ar(Xi, { showpopup: {}, iteminfoamount: {}, lang: {}, currency: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
|
4600
4578
|
export {
|
|
4601
|
-
|
|
4579
|
+
Xi as default
|
|
4602
4580
|
};
|