@everymatrix/player-account-gaming-limits-page-2-gmcore 1.77.19 → 1.77.20
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/PlayerAccountGamingLimitsPage2Gmcore-C1GAiYFL.cjs +19 -0
- package/components/{PlayerAccountGamingLimitsPage2Gmcore-DSV2gMJR.js → PlayerAccountGamingLimitsPage2Gmcore-CzPYh_JY.js} +1004 -1047
- package/components/{PlayerAccountGamingLimitsPage2Gmcore-GTUeBlHX.js → PlayerAccountGamingLimitsPage2Gmcore-aPVEhVks.js} +1053 -1096
- package/es2015/player-account-gaming-limits-page-2-gmcore.cjs +1 -1
- package/es2015/player-account-gaming-limits-page-2-gmcore.js +1 -1
- package/esnext/player-account-gaming-limits-page-2-gmcore.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountGamingLimitsPage2Gmcore-DzulpeoK.cjs +0 -19
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
function
|
|
1
|
+
function U() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function ei(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function gt() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
9
|
function ee(e) {
|
|
10
|
-
e.forEach(
|
|
10
|
+
e.forEach(ei);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function ht(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function ti(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function Ki(e) {
|
|
19
19
|
return Object.keys(e).length === 0;
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function ii(e, ...t) {
|
|
22
22
|
if (e == null) {
|
|
23
23
|
for (const r of t)
|
|
24
24
|
r(void 0);
|
|
25
|
-
return
|
|
25
|
+
return U;
|
|
26
26
|
}
|
|
27
27
|
const i = e.subscribe(...t);
|
|
28
28
|
return i.unsubscribe ? () => i.unsubscribe() : i;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
31
|
-
e.$$.on_destroy.push(
|
|
30
|
+
function er(e, t, i) {
|
|
31
|
+
e.$$.on_destroy.push(ii(t, i));
|
|
32
32
|
}
|
|
33
33
|
function d(e, t) {
|
|
34
34
|
e.appendChild(t);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
37
|
-
const r =
|
|
36
|
+
function tr(e, t, i) {
|
|
37
|
+
const r = ir(e);
|
|
38
38
|
if (!r.getElementById(t)) {
|
|
39
39
|
const n = v("style");
|
|
40
|
-
n.id = t, n.textContent = i,
|
|
40
|
+
n.id = t, n.textContent = i, rr(r, n);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function ir(e) {
|
|
44
44
|
if (!e)
|
|
45
45
|
return document;
|
|
46
46
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -50,58 +50,58 @@ function ar(e) {
|
|
|
50
50
|
t
|
|
51
51
|
) : e.ownerDocument;
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function rr(e, t) {
|
|
54
54
|
return d(
|
|
55
55
|
/** @type {Document} */
|
|
56
56
|
e.head || e,
|
|
57
57
|
t
|
|
58
58
|
), t.sheet;
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function I(e, t, i) {
|
|
61
61
|
e.insertBefore(t, i || null);
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function N(e) {
|
|
64
64
|
e.parentNode && e.parentNode.removeChild(e);
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function Me(e, t) {
|
|
67
67
|
for (let i = 0; i < e.length; i += 1)
|
|
68
68
|
e[i] && e[i].d(t);
|
|
69
69
|
}
|
|
70
70
|
function v(e) {
|
|
71
71
|
return document.createElement(e);
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function pe(e) {
|
|
74
74
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
75
75
|
}
|
|
76
76
|
function $(e) {
|
|
77
77
|
return document.createTextNode(e);
|
|
78
78
|
}
|
|
79
|
-
function
|
|
79
|
+
function j() {
|
|
80
80
|
return $(" ");
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function nr() {
|
|
83
83
|
return $("");
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function Z(e, t, i, r) {
|
|
86
86
|
return e.addEventListener(t, i, r), () => e.removeEventListener(t, i, r);
|
|
87
87
|
}
|
|
88
88
|
function g(e, t, i) {
|
|
89
89
|
i == null ? e.removeAttribute(t) : e.getAttribute(t) !== i && e.setAttribute(t, i);
|
|
90
90
|
}
|
|
91
|
-
function
|
|
91
|
+
function ri(e) {
|
|
92
92
|
return e === "" ? null : +e;
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function or(e) {
|
|
95
95
|
return Array.from(e.childNodes);
|
|
96
96
|
}
|
|
97
97
|
function W(e, t) {
|
|
98
98
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
99
99
|
t);
|
|
100
100
|
}
|
|
101
|
-
function
|
|
101
|
+
function ge(e, t) {
|
|
102
102
|
e.value = t ?? "";
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function Ge(e, t, i, r) {
|
|
105
105
|
i == null ? e.style.removeProperty(t) : e.style.setProperty(t, i, "");
|
|
106
106
|
}
|
|
107
107
|
function Ne(e, t, i) {
|
|
@@ -114,11 +114,11 @@ function Ne(e, t, i) {
|
|
|
114
114
|
}
|
|
115
115
|
(!i || t !== void 0) && (e.selectedIndex = -1);
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function yt(e) {
|
|
118
118
|
const t = e.querySelector(":checked");
|
|
119
119
|
return t && t.__value;
|
|
120
120
|
}
|
|
121
|
-
function
|
|
121
|
+
function sr(e) {
|
|
122
122
|
const t = {};
|
|
123
123
|
return e.childNodes.forEach(
|
|
124
124
|
/** @param {Element} node */
|
|
@@ -127,98 +127,98 @@ function hr(e) {
|
|
|
127
127
|
}
|
|
128
128
|
), t;
|
|
129
129
|
}
|
|
130
|
-
let
|
|
131
|
-
function
|
|
132
|
-
|
|
130
|
+
let ye;
|
|
131
|
+
function be(e) {
|
|
132
|
+
ye = e;
|
|
133
133
|
}
|
|
134
|
-
function
|
|
135
|
-
if (!
|
|
134
|
+
function ar() {
|
|
135
|
+
if (!ye)
|
|
136
136
|
throw new Error("Function called outside component initialization");
|
|
137
|
-
return
|
|
137
|
+
return ye;
|
|
138
138
|
}
|
|
139
|
-
function
|
|
140
|
-
|
|
139
|
+
function lr(e) {
|
|
140
|
+
ar().$$.on_mount.push(e);
|
|
141
141
|
}
|
|
142
|
-
const ne = [],
|
|
142
|
+
const ne = [], Ie = [];
|
|
143
143
|
let oe = [];
|
|
144
|
-
const
|
|
145
|
-
let
|
|
146
|
-
function
|
|
147
|
-
|
|
144
|
+
const vt = [], ur = /* @__PURE__ */ Promise.resolve();
|
|
145
|
+
let Je = !1;
|
|
146
|
+
function cr() {
|
|
147
|
+
Je || (Je = !0, ur.then(V));
|
|
148
148
|
}
|
|
149
|
-
function
|
|
149
|
+
function ve(e) {
|
|
150
150
|
oe.push(e);
|
|
151
151
|
}
|
|
152
|
-
const
|
|
152
|
+
const ze = /* @__PURE__ */ new Set();
|
|
153
153
|
let ie = 0;
|
|
154
154
|
function V() {
|
|
155
155
|
if (ie !== 0)
|
|
156
156
|
return;
|
|
157
|
-
const e =
|
|
157
|
+
const e = ye;
|
|
158
158
|
do {
|
|
159
159
|
try {
|
|
160
160
|
for (; ie < ne.length; ) {
|
|
161
161
|
const t = ne[ie];
|
|
162
|
-
ie++,
|
|
162
|
+
ie++, be(t), hr(t.$$);
|
|
163
163
|
}
|
|
164
164
|
} catch (t) {
|
|
165
165
|
throw ne.length = 0, ie = 0, t;
|
|
166
166
|
}
|
|
167
|
-
for (
|
|
168
|
-
|
|
167
|
+
for (be(null), ne.length = 0, ie = 0; Ie.length; )
|
|
168
|
+
Ie.pop()();
|
|
169
169
|
for (let t = 0; t < oe.length; t += 1) {
|
|
170
170
|
const i = oe[t];
|
|
171
|
-
|
|
171
|
+
ze.has(i) || (ze.add(i), i());
|
|
172
172
|
}
|
|
173
173
|
oe.length = 0;
|
|
174
174
|
} while (ne.length);
|
|
175
|
-
for (;
|
|
176
|
-
|
|
177
|
-
|
|
175
|
+
for (; vt.length; )
|
|
176
|
+
vt.pop()();
|
|
177
|
+
Je = !1, ze.clear(), be(e);
|
|
178
178
|
}
|
|
179
|
-
function
|
|
179
|
+
function hr(e) {
|
|
180
180
|
if (e.fragment !== null) {
|
|
181
181
|
e.update(), ee(e.before_update);
|
|
182
182
|
const t = e.dirty;
|
|
183
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
183
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ve);
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
|
-
function
|
|
186
|
+
function mr(e) {
|
|
187
187
|
const t = [], i = [];
|
|
188
188
|
oe.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : i.push(r)), i.forEach((r) => r()), oe = t;
|
|
189
189
|
}
|
|
190
|
-
const
|
|
191
|
-
function
|
|
192
|
-
e && e.i && (
|
|
190
|
+
const fr = /* @__PURE__ */ new Set();
|
|
191
|
+
function pr(e, t) {
|
|
192
|
+
e && e.i && (fr.delete(e), e.i(t));
|
|
193
193
|
}
|
|
194
194
|
function K(e) {
|
|
195
195
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
196
196
|
}
|
|
197
|
-
function
|
|
197
|
+
function dr(e, t, i) {
|
|
198
198
|
const { fragment: r, after_update: n } = e.$$;
|
|
199
|
-
r && r.m(t, i),
|
|
200
|
-
const o = e.$$.on_mount.map(
|
|
199
|
+
r && r.m(t, i), ve(() => {
|
|
200
|
+
const o = e.$$.on_mount.map(ei).filter(ht);
|
|
201
201
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ee(o), e.$$.on_mount = [];
|
|
202
|
-
}), n.forEach(
|
|
202
|
+
}), n.forEach(ve);
|
|
203
203
|
}
|
|
204
|
-
function
|
|
204
|
+
function br(e, t) {
|
|
205
205
|
const i = e.$$;
|
|
206
|
-
i.fragment !== null && (
|
|
206
|
+
i.fragment !== null && (mr(i.after_update), ee(i.on_destroy), i.fragment && i.fragment.d(t), i.on_destroy = i.fragment = null, i.ctx = []);
|
|
207
207
|
}
|
|
208
|
-
function
|
|
209
|
-
e.$$.dirty[0] === -1 && (ne.push(e),
|
|
208
|
+
function gr(e, t) {
|
|
209
|
+
e.$$.dirty[0] === -1 && (ne.push(e), cr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
210
210
|
}
|
|
211
|
-
function
|
|
212
|
-
const h =
|
|
213
|
-
|
|
214
|
-
const
|
|
211
|
+
function yr(e, t, i, r, n, o, s = null, a = [-1]) {
|
|
212
|
+
const h = ye;
|
|
213
|
+
be(e);
|
|
214
|
+
const u = e.$$ = {
|
|
215
215
|
fragment: null,
|
|
216
216
|
ctx: [],
|
|
217
217
|
// state
|
|
218
218
|
props: o,
|
|
219
|
-
update:
|
|
219
|
+
update: U,
|
|
220
220
|
not_equal: n,
|
|
221
|
-
bound:
|
|
221
|
+
bound: gt(),
|
|
222
222
|
// lifecycle
|
|
223
223
|
on_mount: [],
|
|
224
224
|
on_destroy: [],
|
|
@@ -227,28 +227,28 @@ function xr(e, t, i, r, n, o, s = null, a = [-1]) {
|
|
|
227
227
|
after_update: [],
|
|
228
228
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
229
229
|
// everything else
|
|
230
|
-
callbacks:
|
|
230
|
+
callbacks: gt(),
|
|
231
231
|
dirty: a,
|
|
232
232
|
skip_bound: !1,
|
|
233
233
|
root: t.target || h.$$.root
|
|
234
234
|
};
|
|
235
|
-
s && s(
|
|
236
|
-
let
|
|
237
|
-
if (
|
|
238
|
-
const p =
|
|
239
|
-
return
|
|
240
|
-
}) : [],
|
|
235
|
+
s && s(u.root);
|
|
236
|
+
let l = !1;
|
|
237
|
+
if (u.ctx = i ? i(e, t.props || {}, (c, f, ...m) => {
|
|
238
|
+
const p = m.length ? m[0] : f;
|
|
239
|
+
return u.ctx && n(u.ctx[c], u.ctx[c] = p) && (!u.skip_bound && u.bound[c] && u.bound[c](p), l && gr(e, c)), f;
|
|
240
|
+
}) : [], u.update(), l = !0, ee(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
|
|
241
241
|
if (t.hydrate) {
|
|
242
|
-
const c =
|
|
243
|
-
|
|
242
|
+
const c = or(t.target);
|
|
243
|
+
u.fragment && u.fragment.l(c), c.forEach(N);
|
|
244
244
|
} else
|
|
245
|
-
|
|
246
|
-
t.intro &&
|
|
245
|
+
u.fragment && u.fragment.c();
|
|
246
|
+
t.intro && pr(e.$$.fragment), dr(e, t.target, t.anchor), V();
|
|
247
247
|
}
|
|
248
|
-
|
|
248
|
+
be(h);
|
|
249
249
|
}
|
|
250
|
-
let
|
|
251
|
-
typeof HTMLElement == "function" && (
|
|
250
|
+
let ni;
|
|
251
|
+
typeof HTMLElement == "function" && (ni = class extends HTMLElement {
|
|
252
252
|
/** The Svelte component constructor */
|
|
253
253
|
$$ctor;
|
|
254
254
|
/** Slots */
|
|
@@ -296,18 +296,18 @@ typeof HTMLElement == "function" && (li = class extends HTMLElement {
|
|
|
296
296
|
* @param {HTMLElement} target
|
|
297
297
|
* @param {HTMLElement} [anchor]
|
|
298
298
|
*/
|
|
299
|
-
m: function(h,
|
|
300
|
-
|
|
299
|
+
m: function(h, u) {
|
|
300
|
+
I(h, o, u);
|
|
301
301
|
},
|
|
302
302
|
d: function(h) {
|
|
303
|
-
h &&
|
|
303
|
+
h && N(o);
|
|
304
304
|
}
|
|
305
305
|
};
|
|
306
306
|
};
|
|
307
307
|
};
|
|
308
308
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
309
309
|
return;
|
|
310
|
-
const t = {}, i =
|
|
310
|
+
const t = {}, i = sr(this);
|
|
311
311
|
for (const n of this.$$s)
|
|
312
312
|
n in i && (t[n] = [e(n)]);
|
|
313
313
|
for (const n of this.attributes) {
|
|
@@ -394,8 +394,8 @@ function Se(e, t, i, r) {
|
|
|
394
394
|
return t;
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
|
-
function
|
|
398
|
-
let s = class extends
|
|
397
|
+
function vr(e, t, i, r, n, o) {
|
|
398
|
+
let s = class extends ni {
|
|
399
399
|
constructor() {
|
|
400
400
|
super(e, i, n), this.$$p_d = t;
|
|
401
401
|
}
|
|
@@ -423,7 +423,7 @@ function Tr(e, t, i, r, n, o) {
|
|
|
423
423
|
}), e.element = /** @type {any} */
|
|
424
424
|
s, s;
|
|
425
425
|
}
|
|
426
|
-
class
|
|
426
|
+
class _r {
|
|
427
427
|
/**
|
|
428
428
|
* ### PRIVATE API
|
|
429
429
|
*
|
|
@@ -442,7 +442,7 @@ class wr {
|
|
|
442
442
|
$$set = void 0;
|
|
443
443
|
/** @returns {void} */
|
|
444
444
|
$destroy() {
|
|
445
|
-
|
|
445
|
+
br(this, 1), this.$destroy = U;
|
|
446
446
|
}
|
|
447
447
|
/**
|
|
448
448
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -451,8 +451,8 @@ class wr {
|
|
|
451
451
|
* @returns {() => void}
|
|
452
452
|
*/
|
|
453
453
|
$on(t, i) {
|
|
454
|
-
if (!
|
|
455
|
-
return
|
|
454
|
+
if (!ht(i))
|
|
455
|
+
return U;
|
|
456
456
|
const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
457
457
|
return r.push(i), () => {
|
|
458
458
|
const n = r.indexOf(i);
|
|
@@ -464,11 +464,11 @@ class wr {
|
|
|
464
464
|
* @returns {void}
|
|
465
465
|
*/
|
|
466
466
|
$set(t) {
|
|
467
|
-
this.$$set && !
|
|
467
|
+
this.$$set && !Ki(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
468
468
|
}
|
|
469
469
|
}
|
|
470
|
-
const
|
|
471
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
470
|
+
const Er = "4";
|
|
471
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Er);
|
|
472
472
|
const X = {
|
|
473
473
|
deposit: {
|
|
474
474
|
title: "Deposit Limit",
|
|
@@ -495,22 +495,22 @@ const X = {
|
|
|
495
495
|
periods: ["Monthly"]
|
|
496
496
|
}
|
|
497
497
|
}, re = [];
|
|
498
|
-
function
|
|
498
|
+
function Lr(e, t) {
|
|
499
499
|
return {
|
|
500
|
-
subscribe:
|
|
500
|
+
subscribe: ke(e, t).subscribe
|
|
501
501
|
};
|
|
502
502
|
}
|
|
503
|
-
function
|
|
503
|
+
function ke(e, t = U) {
|
|
504
504
|
let i;
|
|
505
505
|
const r = /* @__PURE__ */ new Set();
|
|
506
506
|
function n(a) {
|
|
507
|
-
if (
|
|
507
|
+
if (ti(e, a) && (e = a, i)) {
|
|
508
508
|
const h = !re.length;
|
|
509
|
-
for (const
|
|
510
|
-
|
|
509
|
+
for (const u of r)
|
|
510
|
+
u[1](), re.push(u, e);
|
|
511
511
|
if (h) {
|
|
512
|
-
for (let
|
|
513
|
-
re[
|
|
512
|
+
for (let u = 0; u < re.length; u += 2)
|
|
513
|
+
re[u][0](re[u + 1]);
|
|
514
514
|
re.length = 0;
|
|
515
515
|
}
|
|
516
516
|
}
|
|
@@ -518,147 +518,161 @@ function Ce(e, t = j) {
|
|
|
518
518
|
function o(a) {
|
|
519
519
|
n(a(e));
|
|
520
520
|
}
|
|
521
|
-
function s(a, h =
|
|
522
|
-
const
|
|
523
|
-
return r.add(
|
|
524
|
-
r.delete(
|
|
521
|
+
function s(a, h = U) {
|
|
522
|
+
const u = [a, h];
|
|
523
|
+
return r.add(u), r.size === 1 && (i = t(n, o) || U), a(e), () => {
|
|
524
|
+
r.delete(u), r.size === 0 && i && (i(), i = null);
|
|
525
525
|
};
|
|
526
526
|
}
|
|
527
527
|
return { set: n, update: o, subscribe: s };
|
|
528
528
|
}
|
|
529
|
-
function
|
|
529
|
+
function he(e, t, i) {
|
|
530
530
|
const r = !Array.isArray(e), n = r ? [e] : e;
|
|
531
531
|
if (!n.every(Boolean))
|
|
532
532
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
533
533
|
const o = t.length < 2;
|
|
534
|
-
return
|
|
534
|
+
return Lr(i, (s, a) => {
|
|
535
535
|
let h = !1;
|
|
536
|
-
const
|
|
537
|
-
let
|
|
538
|
-
const
|
|
539
|
-
if (
|
|
536
|
+
const u = [];
|
|
537
|
+
let l = 0, c = U;
|
|
538
|
+
const f = () => {
|
|
539
|
+
if (l)
|
|
540
540
|
return;
|
|
541
541
|
c();
|
|
542
|
-
const p = t(r ?
|
|
543
|
-
o ? s(p) : c =
|
|
544
|
-
},
|
|
545
|
-
(p, _) =>
|
|
542
|
+
const p = t(r ? u[0] : u, s, a);
|
|
543
|
+
o ? s(p) : c = ht(p) ? p : U;
|
|
544
|
+
}, m = n.map(
|
|
545
|
+
(p, _) => ii(
|
|
546
546
|
p,
|
|
547
547
|
(R) => {
|
|
548
|
-
|
|
548
|
+
u[_] = R, l &= ~(1 << _), h && f();
|
|
549
549
|
},
|
|
550
550
|
() => {
|
|
551
|
-
|
|
551
|
+
l |= 1 << _;
|
|
552
552
|
}
|
|
553
553
|
)
|
|
554
554
|
);
|
|
555
|
-
return h = !0,
|
|
556
|
-
ee(
|
|
555
|
+
return h = !0, f(), function() {
|
|
556
|
+
ee(m), c(), h = !1;
|
|
557
557
|
};
|
|
558
558
|
});
|
|
559
559
|
}
|
|
560
|
-
function
|
|
560
|
+
function xr(e) {
|
|
561
561
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
562
562
|
}
|
|
563
|
-
var
|
|
564
|
-
return
|
|
563
|
+
var Tr = function(t) {
|
|
564
|
+
return wr(t) && !Sr(t);
|
|
565
565
|
};
|
|
566
|
-
function
|
|
566
|
+
function wr(e) {
|
|
567
567
|
return !!e && typeof e == "object";
|
|
568
568
|
}
|
|
569
|
-
function
|
|
569
|
+
function Sr(e) {
|
|
570
570
|
var t = Object.prototype.toString.call(e);
|
|
571
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
571
|
+
return t === "[object RegExp]" || t === "[object Date]" || Br(e);
|
|
572
572
|
}
|
|
573
|
-
var
|
|
574
|
-
function
|
|
575
|
-
return e.$$typeof ===
|
|
573
|
+
var Pr = typeof Symbol == "function" && Symbol.for, Ar = Pr ? Symbol.for("react.element") : 60103;
|
|
574
|
+
function Br(e) {
|
|
575
|
+
return e.$$typeof === Ar;
|
|
576
576
|
}
|
|
577
|
-
function
|
|
577
|
+
function Nr(e) {
|
|
578
578
|
return Array.isArray(e) ? [] : {};
|
|
579
579
|
}
|
|
580
|
-
function
|
|
581
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
580
|
+
function _e(e, t) {
|
|
581
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? ae(Nr(e), e, t) : e;
|
|
582
582
|
}
|
|
583
|
-
function
|
|
583
|
+
function Ir(e, t, i) {
|
|
584
584
|
return e.concat(t).map(function(r) {
|
|
585
|
-
return
|
|
585
|
+
return _e(r, i);
|
|
586
586
|
});
|
|
587
587
|
}
|
|
588
|
-
function
|
|
588
|
+
function Hr(e, t) {
|
|
589
589
|
if (!t.customMerge)
|
|
590
|
-
return
|
|
590
|
+
return ae;
|
|
591
591
|
var i = t.customMerge(e);
|
|
592
|
-
return typeof i == "function" ? i :
|
|
592
|
+
return typeof i == "function" ? i : ae;
|
|
593
593
|
}
|
|
594
|
-
function
|
|
594
|
+
function Or(e) {
|
|
595
595
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
596
596
|
return Object.propertyIsEnumerable.call(e, t);
|
|
597
597
|
}) : [];
|
|
598
598
|
}
|
|
599
|
-
function
|
|
600
|
-
return Object.keys(e).concat(
|
|
599
|
+
function _t(e) {
|
|
600
|
+
return Object.keys(e).concat(Or(e));
|
|
601
601
|
}
|
|
602
|
-
function
|
|
602
|
+
function oi(e, t) {
|
|
603
603
|
try {
|
|
604
604
|
return t in e;
|
|
605
605
|
} catch {
|
|
606
606
|
return !1;
|
|
607
607
|
}
|
|
608
608
|
}
|
|
609
|
-
function
|
|
610
|
-
return
|
|
609
|
+
function Mr(e, t) {
|
|
610
|
+
return oi(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
611
611
|
}
|
|
612
|
-
function
|
|
612
|
+
function kr(e, t, i) {
|
|
613
613
|
var r = {};
|
|
614
|
-
return i.isMergeableObject(e) &&
|
|
615
|
-
r[n] =
|
|
616
|
-
}),
|
|
617
|
-
|
|
614
|
+
return i.isMergeableObject(e) && _t(e).forEach(function(n) {
|
|
615
|
+
r[n] = _e(e[n], i);
|
|
616
|
+
}), _t(t).forEach(function(n) {
|
|
617
|
+
Mr(e, n) || (oi(e, n) && i.isMergeableObject(t[n]) ? r[n] = Hr(n, i)(e[n], t[n], i) : r[n] = _e(t[n], i));
|
|
618
618
|
}), r;
|
|
619
619
|
}
|
|
620
|
-
function
|
|
621
|
-
i = i || {}, i.arrayMerge = i.arrayMerge ||
|
|
620
|
+
function ae(e, t, i) {
|
|
621
|
+
i = i || {}, i.arrayMerge = i.arrayMerge || Ir, i.isMergeableObject = i.isMergeableObject || Tr, i.cloneUnlessOtherwiseSpecified = _e;
|
|
622
622
|
var r = Array.isArray(t), n = Array.isArray(e), o = r === n;
|
|
623
|
-
return o ? r ? i.arrayMerge(e, t, i) :
|
|
623
|
+
return o ? r ? i.arrayMerge(e, t, i) : kr(e, t, i) : _e(t, i);
|
|
624
624
|
}
|
|
625
|
-
|
|
625
|
+
ae.all = function(t, i) {
|
|
626
626
|
if (!Array.isArray(t))
|
|
627
627
|
throw new Error("first argument should be an array");
|
|
628
628
|
return t.reduce(function(r, n) {
|
|
629
|
-
return
|
|
629
|
+
return ae(r, n, i);
|
|
630
630
|
}, {});
|
|
631
631
|
};
|
|
632
|
-
var
|
|
633
|
-
const
|
|
634
|
-
|
|
635
|
-
|
|
632
|
+
var Cr = ae, Dr = Cr;
|
|
633
|
+
const Rr = /* @__PURE__ */ xr(Dr);
|
|
634
|
+
/*! *****************************************************************************
|
|
635
|
+
Copyright (c) Microsoft Corporation.
|
|
636
|
+
|
|
637
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
638
|
+
purpose with or without fee is hereby granted.
|
|
639
|
+
|
|
640
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
641
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
642
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
643
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
644
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
645
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
646
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
647
|
+
***************************************************************************** */
|
|
648
|
+
var Qe = function(e, t) {
|
|
649
|
+
return Qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(i, r) {
|
|
636
650
|
i.__proto__ = r;
|
|
637
651
|
} || function(i, r) {
|
|
638
652
|
for (var n in r)
|
|
639
653
|
Object.prototype.hasOwnProperty.call(r, n) && (i[n] = r[n]);
|
|
640
|
-
},
|
|
654
|
+
}, Qe(e, t);
|
|
641
655
|
};
|
|
642
|
-
function
|
|
656
|
+
function q(e, t) {
|
|
643
657
|
if (typeof t != "function" && t !== null)
|
|
644
658
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
645
|
-
|
|
659
|
+
Qe(e, t);
|
|
646
660
|
function i() {
|
|
647
661
|
this.constructor = e;
|
|
648
662
|
}
|
|
649
663
|
e.prototype = t === null ? Object.create(t) : (i.prototype = t.prototype, new i());
|
|
650
664
|
}
|
|
651
|
-
var
|
|
652
|
-
return
|
|
665
|
+
var S = function() {
|
|
666
|
+
return S = Object.assign || function(t) {
|
|
653
667
|
for (var i, r = 1, n = arguments.length; r < n; r++) {
|
|
654
668
|
i = arguments[r];
|
|
655
669
|
for (var o in i)
|
|
656
670
|
Object.prototype.hasOwnProperty.call(i, o) && (t[o] = i[o]);
|
|
657
671
|
}
|
|
658
672
|
return t;
|
|
659
|
-
},
|
|
673
|
+
}, S.apply(this, arguments);
|
|
660
674
|
};
|
|
661
|
-
function
|
|
675
|
+
function Ur(e, t) {
|
|
662
676
|
var i = {};
|
|
663
677
|
for (var r in e)
|
|
664
678
|
Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (i[r] = e[r]);
|
|
@@ -667,43 +681,75 @@ function zr(e, t) {
|
|
|
667
681
|
t.indexOf(r[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[n]) && (i[r[n]] = e[r[n]]);
|
|
668
682
|
return i;
|
|
669
683
|
}
|
|
670
|
-
function
|
|
684
|
+
function Ke(e) {
|
|
685
|
+
var t = typeof Symbol == "function" && Symbol.iterator, i = t && e[t], r = 0;
|
|
686
|
+
if (i)
|
|
687
|
+
return i.call(e);
|
|
688
|
+
if (e && typeof e.length == "number")
|
|
689
|
+
return {
|
|
690
|
+
next: function() {
|
|
691
|
+
return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e };
|
|
692
|
+
}
|
|
693
|
+
};
|
|
694
|
+
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
695
|
+
}
|
|
696
|
+
function et(e, t) {
|
|
697
|
+
var i = typeof Symbol == "function" && e[Symbol.iterator];
|
|
698
|
+
if (!i)
|
|
699
|
+
return e;
|
|
700
|
+
var r = i.call(e), n, o = [], s;
|
|
701
|
+
try {
|
|
702
|
+
for (; (t === void 0 || t-- > 0) && !(n = r.next()).done; )
|
|
703
|
+
o.push(n.value);
|
|
704
|
+
} catch (a) {
|
|
705
|
+
s = { error: a };
|
|
706
|
+
} finally {
|
|
707
|
+
try {
|
|
708
|
+
n && !n.done && (i = r.return) && i.call(r);
|
|
709
|
+
} finally {
|
|
710
|
+
if (s)
|
|
711
|
+
throw s.error;
|
|
712
|
+
}
|
|
713
|
+
}
|
|
714
|
+
return o;
|
|
715
|
+
}
|
|
716
|
+
function se(e, t, i) {
|
|
671
717
|
if (i || arguments.length === 2)
|
|
672
718
|
for (var r = 0, n = t.length, o; r < n; r++)
|
|
673
719
|
(o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
|
|
674
|
-
return e.concat(o ||
|
|
720
|
+
return e.concat(o || t);
|
|
675
721
|
}
|
|
676
|
-
function
|
|
677
|
-
var i = t && t.cache ? t.cache :
|
|
722
|
+
function We(e, t) {
|
|
723
|
+
var i = t && t.cache ? t.cache : Vr, r = t && t.serializer ? t.serializer : zr, n = t && t.strategy ? t.strategy : Fr;
|
|
678
724
|
return n(e, {
|
|
679
725
|
cache: i,
|
|
680
726
|
serializer: r
|
|
681
727
|
});
|
|
682
728
|
}
|
|
683
|
-
function
|
|
729
|
+
function jr(e) {
|
|
684
730
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
685
731
|
}
|
|
686
|
-
function
|
|
687
|
-
var n =
|
|
732
|
+
function $r(e, t, i, r) {
|
|
733
|
+
var n = jr(r) ? r : i(r), o = t.get(n);
|
|
688
734
|
return typeof o > "u" && (o = e.call(this, r), t.set(n, o)), o;
|
|
689
735
|
}
|
|
690
|
-
function
|
|
736
|
+
function si(e, t, i) {
|
|
691
737
|
var r = Array.prototype.slice.call(arguments, 3), n = i(r), o = t.get(n);
|
|
692
738
|
return typeof o > "u" && (o = e.apply(this, r), t.set(n, o)), o;
|
|
693
739
|
}
|
|
694
|
-
function
|
|
740
|
+
function ai(e, t, i, r, n) {
|
|
695
741
|
return i.bind(t, e, r, n);
|
|
696
742
|
}
|
|
697
|
-
function
|
|
698
|
-
var i = e.length === 1 ?
|
|
699
|
-
return
|
|
743
|
+
function Fr(e, t) {
|
|
744
|
+
var i = e.length === 1 ? $r : si;
|
|
745
|
+
return ai(e, this, i, t.cache.create(), t.serializer);
|
|
700
746
|
}
|
|
701
|
-
function
|
|
702
|
-
return
|
|
747
|
+
function Gr(e, t) {
|
|
748
|
+
return ai(e, this, si, t.cache.create(), t.serializer);
|
|
703
749
|
}
|
|
704
|
-
var
|
|
750
|
+
var zr = function() {
|
|
705
751
|
return JSON.stringify(arguments);
|
|
706
|
-
},
|
|
752
|
+
}, Wr = (
|
|
707
753
|
/** @class */
|
|
708
754
|
function() {
|
|
709
755
|
function e() {
|
|
@@ -715,71 +761,61 @@ var Yr = function() {
|
|
|
715
761
|
this.cache[t] = i;
|
|
716
762
|
}, e;
|
|
717
763
|
}()
|
|
718
|
-
),
|
|
764
|
+
), Vr = {
|
|
719
765
|
create: function() {
|
|
720
|
-
return new
|
|
766
|
+
return new Wr();
|
|
721
767
|
}
|
|
722
|
-
},
|
|
723
|
-
variadic:
|
|
724
|
-
},
|
|
725
|
-
return Ie = Object.assign || function(t) {
|
|
726
|
-
for (var i, r = 1, n = arguments.length; r < n; r++) {
|
|
727
|
-
i = arguments[r];
|
|
728
|
-
for (var o in i)
|
|
729
|
-
Object.prototype.hasOwnProperty.call(i, o) && (t[o] = i[o]);
|
|
730
|
-
}
|
|
731
|
-
return t;
|
|
732
|
-
}, Ie.apply(this, arguments);
|
|
733
|
-
};
|
|
734
|
-
var x;
|
|
768
|
+
}, Ve = {
|
|
769
|
+
variadic: Gr
|
|
770
|
+
}, x;
|
|
735
771
|
(function(e) {
|
|
736
772
|
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";
|
|
737
773
|
})(x || (x = {}));
|
|
738
|
-
var
|
|
774
|
+
var O;
|
|
739
775
|
(function(e) {
|
|
740
776
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
741
|
-
})(
|
|
742
|
-
var
|
|
777
|
+
})(O || (O = {}));
|
|
778
|
+
var le;
|
|
743
779
|
(function(e) {
|
|
744
780
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
745
|
-
})(
|
|
746
|
-
function
|
|
747
|
-
return e.type ===
|
|
781
|
+
})(le || (le = {}));
|
|
782
|
+
function Et(e) {
|
|
783
|
+
return e.type === O.literal;
|
|
748
784
|
}
|
|
749
|
-
function
|
|
750
|
-
return e.type ===
|
|
785
|
+
function Xr(e) {
|
|
786
|
+
return e.type === O.argument;
|
|
751
787
|
}
|
|
752
|
-
function
|
|
753
|
-
return e.type ===
|
|
788
|
+
function li(e) {
|
|
789
|
+
return e.type === O.number;
|
|
754
790
|
}
|
|
755
|
-
function
|
|
756
|
-
return e.type ===
|
|
791
|
+
function ui(e) {
|
|
792
|
+
return e.type === O.date;
|
|
757
793
|
}
|
|
758
|
-
function
|
|
759
|
-
return e.type ===
|
|
794
|
+
function ci(e) {
|
|
795
|
+
return e.type === O.time;
|
|
760
796
|
}
|
|
761
|
-
function
|
|
762
|
-
return e.type ===
|
|
797
|
+
function hi(e) {
|
|
798
|
+
return e.type === O.select;
|
|
763
799
|
}
|
|
764
|
-
function
|
|
765
|
-
return e.type ===
|
|
800
|
+
function mi(e) {
|
|
801
|
+
return e.type === O.plural;
|
|
766
802
|
}
|
|
767
|
-
function
|
|
768
|
-
return e.type ===
|
|
803
|
+
function Zr(e) {
|
|
804
|
+
return e.type === O.pound;
|
|
769
805
|
}
|
|
770
|
-
function
|
|
771
|
-
return e.type ===
|
|
806
|
+
function fi(e) {
|
|
807
|
+
return e.type === O.tag;
|
|
772
808
|
}
|
|
773
|
-
function
|
|
774
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
809
|
+
function pi(e) {
|
|
810
|
+
return !!(e && typeof e == "object" && e.type === le.number);
|
|
775
811
|
}
|
|
776
|
-
function
|
|
777
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
812
|
+
function tt(e) {
|
|
813
|
+
return !!(e && typeof e == "object" && e.type === le.dateTime);
|
|
778
814
|
}
|
|
779
|
-
var
|
|
780
|
-
function
|
|
815
|
+
var di = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Yr = /(?:[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;
|
|
816
|
+
function qr(e) {
|
|
781
817
|
var t = {};
|
|
782
|
-
return e.replace(
|
|
818
|
+
return e.replace(Yr, function(i) {
|
|
783
819
|
var r = i.length;
|
|
784
820
|
switch (i[0]) {
|
|
785
821
|
case "G":
|
|
@@ -868,28 +904,18 @@ function tn(e) {
|
|
|
868
904
|
return "";
|
|
869
905
|
}), t;
|
|
870
906
|
}
|
|
871
|
-
var
|
|
872
|
-
|
|
873
|
-
for (var i, r = 1, n = arguments.length; r < n; r++) {
|
|
874
|
-
i = arguments[r];
|
|
875
|
-
for (var o in i)
|
|
876
|
-
Object.prototype.hasOwnProperty.call(i, o) && (t[o] = i[o]);
|
|
877
|
-
}
|
|
878
|
-
return t;
|
|
879
|
-
}, C.apply(this, arguments);
|
|
880
|
-
};
|
|
881
|
-
var rn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
882
|
-
function nn(e) {
|
|
907
|
+
var Jr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
908
|
+
function Qr(e) {
|
|
883
909
|
if (e.length === 0)
|
|
884
910
|
throw new Error("Number skeleton cannot be empty");
|
|
885
|
-
for (var t = e.split(
|
|
886
|
-
return
|
|
911
|
+
for (var t = e.split(Jr).filter(function(f) {
|
|
912
|
+
return f.length > 0;
|
|
887
913
|
}), i = [], r = 0, n = t; r < n.length; r++) {
|
|
888
914
|
var o = n[r], s = o.split("/");
|
|
889
915
|
if (s.length === 0)
|
|
890
916
|
throw new Error("Invalid number skeleton");
|
|
891
|
-
for (var a = s[0], h = s.slice(1),
|
|
892
|
-
var c = u
|
|
917
|
+
for (var a = s[0], h = s.slice(1), u = 0, l = h; u < l.length; u++) {
|
|
918
|
+
var c = l[u];
|
|
893
919
|
if (c.length === 0)
|
|
894
920
|
throw new Error("Invalid number skeleton");
|
|
895
921
|
}
|
|
@@ -897,17 +923,17 @@ function nn(e) {
|
|
|
897
923
|
}
|
|
898
924
|
return i;
|
|
899
925
|
}
|
|
900
|
-
function
|
|
926
|
+
function Kr(e) {
|
|
901
927
|
return e.replace(/^(.*?)-/, "");
|
|
902
928
|
}
|
|
903
|
-
var
|
|
904
|
-
function
|
|
929
|
+
var Lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, bi = /^(@+)?(\+|#+)?[rs]?$/g, en = /(\*)(0+)|(#+)(0+)|(0+)/g, gi = /^(0+)$/;
|
|
930
|
+
function xt(e) {
|
|
905
931
|
var t = {};
|
|
906
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
932
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(bi, function(i, r, n) {
|
|
907
933
|
return typeof n != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : n === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof n == "string" ? n.length : 0)), "";
|
|
908
934
|
}), t;
|
|
909
935
|
}
|
|
910
|
-
function
|
|
936
|
+
function yi(e) {
|
|
911
937
|
switch (e) {
|
|
912
938
|
case "sign-auto":
|
|
913
939
|
return {
|
|
@@ -947,7 +973,7 @@ function xi(e) {
|
|
|
947
973
|
};
|
|
948
974
|
}
|
|
949
975
|
}
|
|
950
|
-
function
|
|
976
|
+
function tn(e) {
|
|
951
977
|
var t;
|
|
952
978
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
953
979
|
notation: "engineering"
|
|
@@ -955,17 +981,17 @@ function an(e) {
|
|
|
955
981
|
notation: "scientific"
|
|
956
982
|
}, e = e.slice(1)), t) {
|
|
957
983
|
var i = e.slice(0, 2);
|
|
958
|
-
if (i === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : i === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
984
|
+
if (i === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : i === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !gi.test(e))
|
|
959
985
|
throw new Error("Malformed concise eng/scientific notation");
|
|
960
986
|
t.minimumIntegerDigits = e.length;
|
|
961
987
|
}
|
|
962
988
|
return t;
|
|
963
989
|
}
|
|
964
|
-
function
|
|
965
|
-
var t = {}, i =
|
|
990
|
+
function Tt(e) {
|
|
991
|
+
var t = {}, i = yi(e);
|
|
966
992
|
return i || t;
|
|
967
993
|
}
|
|
968
|
-
function
|
|
994
|
+
function rn(e) {
|
|
969
995
|
for (var t = {}, i = 0, r = e; i < r.length; i++) {
|
|
970
996
|
var n = r[i];
|
|
971
997
|
switch (n.stem) {
|
|
@@ -989,7 +1015,7 @@ function un(e) {
|
|
|
989
1015
|
continue;
|
|
990
1016
|
case "measure-unit":
|
|
991
1017
|
case "unit":
|
|
992
|
-
t.style = "unit", t.unit =
|
|
1018
|
+
t.style = "unit", t.unit = Kr(n.options[0]);
|
|
993
1019
|
continue;
|
|
994
1020
|
case "compact-short":
|
|
995
1021
|
case "K":
|
|
@@ -1000,13 +1026,13 @@ function un(e) {
|
|
|
1000
1026
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1001
1027
|
continue;
|
|
1002
1028
|
case "scientific":
|
|
1003
|
-
t =
|
|
1004
|
-
return
|
|
1029
|
+
t = S(S(S({}, t), { notation: "scientific" }), n.options.reduce(function(h, u) {
|
|
1030
|
+
return S(S({}, h), Tt(u));
|
|
1005
1031
|
}, {}));
|
|
1006
1032
|
continue;
|
|
1007
1033
|
case "engineering":
|
|
1008
|
-
t =
|
|
1009
|
-
return
|
|
1034
|
+
t = S(S(S({}, t), { notation: "engineering" }), n.options.reduce(function(h, u) {
|
|
1035
|
+
return S(S({}, h), Tt(u));
|
|
1010
1036
|
}, {}));
|
|
1011
1037
|
continue;
|
|
1012
1038
|
case "notation-simple":
|
|
@@ -1051,41 +1077,41 @@ function un(e) {
|
|
|
1051
1077
|
case "integer-width":
|
|
1052
1078
|
if (n.options.length > 1)
|
|
1053
1079
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1054
|
-
n.options[0].replace(
|
|
1055
|
-
if (
|
|
1056
|
-
t.minimumIntegerDigits =
|
|
1080
|
+
n.options[0].replace(en, function(h, u, l, c, f, m) {
|
|
1081
|
+
if (u)
|
|
1082
|
+
t.minimumIntegerDigits = l.length;
|
|
1057
1083
|
else {
|
|
1058
|
-
if (c &&
|
|
1084
|
+
if (c && f)
|
|
1059
1085
|
throw new Error("We currently do not support maximum integer digits");
|
|
1060
|
-
if (
|
|
1086
|
+
if (m)
|
|
1061
1087
|
throw new Error("We currently do not support exact integer digits");
|
|
1062
1088
|
}
|
|
1063
1089
|
return "";
|
|
1064
1090
|
});
|
|
1065
1091
|
continue;
|
|
1066
1092
|
}
|
|
1067
|
-
if (
|
|
1093
|
+
if (gi.test(n.stem)) {
|
|
1068
1094
|
t.minimumIntegerDigits = n.stem.length;
|
|
1069
1095
|
continue;
|
|
1070
1096
|
}
|
|
1071
|
-
if (
|
|
1097
|
+
if (Lt.test(n.stem)) {
|
|
1072
1098
|
if (n.options.length > 1)
|
|
1073
1099
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1074
|
-
n.stem.replace(
|
|
1075
|
-
return
|
|
1100
|
+
n.stem.replace(Lt, function(h, u, l, c, f, m) {
|
|
1101
|
+
return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1076
1102
|
});
|
|
1077
1103
|
var o = n.options[0];
|
|
1078
|
-
o === "w" ? t =
|
|
1104
|
+
o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), xt(o)));
|
|
1079
1105
|
continue;
|
|
1080
1106
|
}
|
|
1081
|
-
if (
|
|
1082
|
-
t =
|
|
1107
|
+
if (bi.test(n.stem)) {
|
|
1108
|
+
t = S(S({}, t), xt(n.stem));
|
|
1083
1109
|
continue;
|
|
1084
1110
|
}
|
|
1085
|
-
var s =
|
|
1086
|
-
s && (t =
|
|
1087
|
-
var a =
|
|
1088
|
-
a && (t =
|
|
1111
|
+
var s = yi(n.stem);
|
|
1112
|
+
s && (t = S(S({}, t), s));
|
|
1113
|
+
var a = tn(n.stem);
|
|
1114
|
+
a && (t = S(S({}, t), a));
|
|
1089
1115
|
}
|
|
1090
1116
|
return t;
|
|
1091
1117
|
}
|
|
@@ -2504,23 +2530,23 @@ var Te = {
|
|
|
2504
2530
|
"h"
|
|
2505
2531
|
]
|
|
2506
2532
|
};
|
|
2507
|
-
function
|
|
2533
|
+
function nn(e, t) {
|
|
2508
2534
|
for (var i = "", r = 0; r < e.length; r++) {
|
|
2509
2535
|
var n = e.charAt(r);
|
|
2510
2536
|
if (n === "j") {
|
|
2511
2537
|
for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === n; )
|
|
2512
2538
|
o++, r++;
|
|
2513
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a",
|
|
2514
|
-
for ((
|
|
2539
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = on(t);
|
|
2540
|
+
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2515
2541
|
i += h;
|
|
2516
2542
|
for (; s-- > 0; )
|
|
2517
|
-
i =
|
|
2543
|
+
i = u + i;
|
|
2518
2544
|
} else
|
|
2519
2545
|
n === "J" ? i += "H" : i += n;
|
|
2520
2546
|
}
|
|
2521
2547
|
return i;
|
|
2522
2548
|
}
|
|
2523
|
-
function
|
|
2549
|
+
function on(e) {
|
|
2524
2550
|
var t = e.hourCycle;
|
|
2525
2551
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2526
2552
|
e.hourCycles && // @ts-ignore
|
|
@@ -2542,20 +2568,20 @@ function cn(e) {
|
|
|
2542
2568
|
var n = Te[r || ""] || Te[i || ""] || Te["".concat(i, "-001")] || Te["001"];
|
|
2543
2569
|
return n[0];
|
|
2544
2570
|
}
|
|
2545
|
-
var
|
|
2571
|
+
var Xe, sn = new RegExp("^".concat(di.source, "*")), an = new RegExp("".concat(di.source, "*$"));
|
|
2546
2572
|
function T(e, t) {
|
|
2547
2573
|
return { start: e, end: t };
|
|
2548
2574
|
}
|
|
2549
|
-
var
|
|
2575
|
+
var ln = !!String.prototype.startsWith && "_a".startsWith("a", 1), un = !!String.fromCodePoint, cn = !!Object.fromEntries, hn = !!String.prototype.codePointAt, mn = !!String.prototype.trimStart, fn = !!String.prototype.trimEnd, pn = !!Number.isSafeInteger, dn = pn ? Number.isSafeInteger : function(e) {
|
|
2550
2576
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2551
|
-
},
|
|
2577
|
+
}, it = !0;
|
|
2552
2578
|
try {
|
|
2553
|
-
var
|
|
2554
|
-
|
|
2579
|
+
var bn = _i("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2580
|
+
it = ((Xe = bn.exec("a")) === null || Xe === void 0 ? void 0 : Xe[0]) === "a";
|
|
2555
2581
|
} catch {
|
|
2556
|
-
|
|
2582
|
+
it = !1;
|
|
2557
2583
|
}
|
|
2558
|
-
var
|
|
2584
|
+
var wt = ln ? (
|
|
2559
2585
|
// Native
|
|
2560
2586
|
function(t, i, r) {
|
|
2561
2587
|
return t.startsWith(i, r);
|
|
@@ -2565,7 +2591,7 @@ var Nt = mn ? (
|
|
|
2565
2591
|
function(t, i, r) {
|
|
2566
2592
|
return t.slice(r, r + i.length) === i;
|
|
2567
2593
|
}
|
|
2568
|
-
),
|
|
2594
|
+
), rt = un ? String.fromCodePoint : (
|
|
2569
2595
|
// IE11
|
|
2570
2596
|
function() {
|
|
2571
2597
|
for (var t = [], i = 0; i < arguments.length; i++)
|
|
@@ -2577,9 +2603,9 @@ var Nt = mn ? (
|
|
|
2577
2603
|
}
|
|
2578
2604
|
return r;
|
|
2579
2605
|
}
|
|
2580
|
-
),
|
|
2606
|
+
), St = (
|
|
2581
2607
|
// native
|
|
2582
|
-
|
|
2608
|
+
cn ? Object.fromEntries : (
|
|
2583
2609
|
// Ponyfill
|
|
2584
2610
|
function(t) {
|
|
2585
2611
|
for (var i = {}, r = 0, n = t; r < n.length; r++) {
|
|
@@ -2589,7 +2615,7 @@ var Nt = mn ? (
|
|
|
2589
2615
|
return i;
|
|
2590
2616
|
}
|
|
2591
2617
|
)
|
|
2592
|
-
),
|
|
2618
|
+
), vi = hn ? (
|
|
2593
2619
|
// Native
|
|
2594
2620
|
function(t, i) {
|
|
2595
2621
|
return t.codePointAt(i);
|
|
@@ -2603,7 +2629,7 @@ var Nt = mn ? (
|
|
|
2603
2629
|
return n < 55296 || n > 56319 || i + 1 === r || (o = t.charCodeAt(i + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
|
|
2604
2630
|
}
|
|
2605
2631
|
}
|
|
2606
|
-
),
|
|
2632
|
+
), gn = mn ? (
|
|
2607
2633
|
// Native
|
|
2608
2634
|
function(t) {
|
|
2609
2635
|
return t.trimStart();
|
|
@@ -2611,9 +2637,9 @@ var Nt = mn ? (
|
|
|
2611
2637
|
) : (
|
|
2612
2638
|
// Ponyfill
|
|
2613
2639
|
function(t) {
|
|
2614
|
-
return t.replace(
|
|
2640
|
+
return t.replace(sn, "");
|
|
2615
2641
|
}
|
|
2616
|
-
),
|
|
2642
|
+
), yn = fn ? (
|
|
2617
2643
|
// Native
|
|
2618
2644
|
function(t) {
|
|
2619
2645
|
return t.trimEnd();
|
|
@@ -2621,32 +2647,32 @@ var Nt = mn ? (
|
|
|
2621
2647
|
) : (
|
|
2622
2648
|
// Ponyfill
|
|
2623
2649
|
function(t) {
|
|
2624
|
-
return t.replace(
|
|
2650
|
+
return t.replace(an, "");
|
|
2625
2651
|
}
|
|
2626
2652
|
);
|
|
2627
|
-
function
|
|
2653
|
+
function _i(e, t) {
|
|
2628
2654
|
return new RegExp(e, t);
|
|
2629
2655
|
}
|
|
2630
|
-
var
|
|
2631
|
-
if (
|
|
2632
|
-
var
|
|
2633
|
-
|
|
2656
|
+
var nt;
|
|
2657
|
+
if (it) {
|
|
2658
|
+
var Pt = _i("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2659
|
+
nt = function(t, i) {
|
|
2634
2660
|
var r;
|
|
2635
|
-
|
|
2636
|
-
var n =
|
|
2661
|
+
Pt.lastIndex = i;
|
|
2662
|
+
var n = Pt.exec(t);
|
|
2637
2663
|
return (r = n[1]) !== null && r !== void 0 ? r : "";
|
|
2638
2664
|
};
|
|
2639
2665
|
} else
|
|
2640
|
-
|
|
2666
|
+
nt = function(t, i) {
|
|
2641
2667
|
for (var r = []; ; ) {
|
|
2642
|
-
var n =
|
|
2643
|
-
if (n === void 0 ||
|
|
2668
|
+
var n = vi(t, i);
|
|
2669
|
+
if (n === void 0 || Ei(n) || Ln(n))
|
|
2644
2670
|
break;
|
|
2645
2671
|
r.push(n), i += n >= 65536 ? 2 : 1;
|
|
2646
2672
|
}
|
|
2647
|
-
return
|
|
2673
|
+
return rt.apply(void 0, r);
|
|
2648
2674
|
};
|
|
2649
|
-
var
|
|
2675
|
+
var vn = (
|
|
2650
2676
|
/** @class */
|
|
2651
2677
|
function() {
|
|
2652
2678
|
function e(t, i) {
|
|
@@ -2670,14 +2696,14 @@ var Tn = (
|
|
|
2670
2696
|
if (o === 35 && (i === "plural" || i === "selectordinal")) {
|
|
2671
2697
|
var a = this.clonePosition();
|
|
2672
2698
|
this.bump(), n.push({
|
|
2673
|
-
type:
|
|
2699
|
+
type: O.pound,
|
|
2674
2700
|
location: T(a, this.clonePosition())
|
|
2675
2701
|
});
|
|
2676
2702
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2677
2703
|
if (r)
|
|
2678
2704
|
break;
|
|
2679
2705
|
return this.error(x.UNMATCHED_CLOSING_TAG, T(this.clonePosition(), this.clonePosition()));
|
|
2680
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
2706
|
+
} else if (o === 60 && !this.ignoreTag && ot(this.peek() || 0)) {
|
|
2681
2707
|
var s = this.parseTag(t, i);
|
|
2682
2708
|
if (s.err)
|
|
2683
2709
|
return s;
|
|
@@ -2698,7 +2724,7 @@ var Tn = (
|
|
|
2698
2724
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2699
2725
|
return {
|
|
2700
2726
|
val: {
|
|
2701
|
-
type:
|
|
2727
|
+
type: O.literal,
|
|
2702
2728
|
value: "<".concat(n, "/>"),
|
|
2703
2729
|
location: T(r, this.clonePosition())
|
|
2704
2730
|
},
|
|
@@ -2710,12 +2736,12 @@ var Tn = (
|
|
|
2710
2736
|
return o;
|
|
2711
2737
|
var s = o.val, a = this.clonePosition();
|
|
2712
2738
|
if (this.bumpIf("</")) {
|
|
2713
|
-
if (this.isEOF() || !
|
|
2739
|
+
if (this.isEOF() || !ot(this.char()))
|
|
2714
2740
|
return this.error(x.INVALID_TAG, T(a, this.clonePosition()));
|
|
2715
|
-
var h = this.clonePosition(),
|
|
2716
|
-
return n !==
|
|
2741
|
+
var h = this.clonePosition(), u = this.parseTagName();
|
|
2742
|
+
return n !== u ? this.error(x.UNMATCHED_CLOSING_TAG, T(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2717
2743
|
val: {
|
|
2718
|
-
type:
|
|
2744
|
+
type: O.tag,
|
|
2719
2745
|
value: n,
|
|
2720
2746
|
children: s,
|
|
2721
2747
|
location: T(r, this.clonePosition())
|
|
@@ -2728,7 +2754,7 @@ var Tn = (
|
|
|
2728
2754
|
return this.error(x.INVALID_TAG, T(r, this.clonePosition()));
|
|
2729
2755
|
}, e.prototype.parseTagName = function() {
|
|
2730
2756
|
var t = this.offset();
|
|
2731
|
-
for (this.bump(); !this.isEOF() &&
|
|
2757
|
+
for (this.bump(); !this.isEOF() && En(this.char()); )
|
|
2732
2758
|
this.bump();
|
|
2733
2759
|
return this.message.slice(t, this.offset());
|
|
2734
2760
|
}, e.prototype.parseLiteral = function(t, i) {
|
|
@@ -2752,12 +2778,12 @@ var Tn = (
|
|
|
2752
2778
|
}
|
|
2753
2779
|
var h = T(r, this.clonePosition());
|
|
2754
2780
|
return {
|
|
2755
|
-
val: { type:
|
|
2781
|
+
val: { type: O.literal, value: n, location: h },
|
|
2756
2782
|
err: null
|
|
2757
2783
|
};
|
|
2758
2784
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2759
2785
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2760
|
-
!
|
|
2786
|
+
!_n(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2761
2787
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2762
2788
|
if (this.isEOF() || this.char() !== 39)
|
|
2763
2789
|
return null;
|
|
@@ -2791,12 +2817,12 @@ var Tn = (
|
|
|
2791
2817
|
i.push(r);
|
|
2792
2818
|
this.bump();
|
|
2793
2819
|
}
|
|
2794
|
-
return
|
|
2820
|
+
return rt.apply(void 0, i);
|
|
2795
2821
|
}, e.prototype.tryParseUnquoted = function(t, i) {
|
|
2796
2822
|
if (this.isEOF())
|
|
2797
2823
|
return null;
|
|
2798
2824
|
var r = this.char();
|
|
2799
|
-
return r === 60 || r === 123 || r === 35 && (i === "plural" || i === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(),
|
|
2825
|
+
return r === 60 || r === 123 || r === 35 && (i === "plural" || i === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), rt(r));
|
|
2800
2826
|
}, e.prototype.parseArgument = function(t, i) {
|
|
2801
2827
|
var r = this.clonePosition();
|
|
2802
2828
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -2812,7 +2838,7 @@ var Tn = (
|
|
|
2812
2838
|
case 125:
|
|
2813
2839
|
return this.bump(), {
|
|
2814
2840
|
val: {
|
|
2815
|
-
type:
|
|
2841
|
+
type: O.argument,
|
|
2816
2842
|
// value does not include the opening and closing braces.
|
|
2817
2843
|
value: n,
|
|
2818
2844
|
location: T(r, this.clonePosition())
|
|
@@ -2825,7 +2851,7 @@ var Tn = (
|
|
|
2825
2851
|
return this.error(x.MALFORMED_ARGUMENT, T(r, this.clonePosition()));
|
|
2826
2852
|
}
|
|
2827
2853
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2828
|
-
var t = this.clonePosition(), i = this.offset(), r =
|
|
2854
|
+
var t = this.clonePosition(), i = this.offset(), r = nt(this.message, i), n = i + r.length;
|
|
2829
2855
|
this.bumpTo(n);
|
|
2830
2856
|
var o = this.clonePosition(), s = T(t, o);
|
|
2831
2857
|
return { value: r, location: s };
|
|
@@ -2838,53 +2864,53 @@ var Tn = (
|
|
|
2838
2864
|
case "date":
|
|
2839
2865
|
case "time": {
|
|
2840
2866
|
this.bumpSpace();
|
|
2841
|
-
var
|
|
2867
|
+
var u = null;
|
|
2842
2868
|
if (this.bumpIf(",")) {
|
|
2843
2869
|
this.bumpSpace();
|
|
2844
|
-
var
|
|
2870
|
+
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
2845
2871
|
if (c.err)
|
|
2846
2872
|
return c;
|
|
2847
|
-
var
|
|
2848
|
-
if (
|
|
2873
|
+
var f = yn(c.val);
|
|
2874
|
+
if (f.length === 0)
|
|
2849
2875
|
return this.error(x.EXPECT_ARGUMENT_STYLE, T(this.clonePosition(), this.clonePosition()));
|
|
2850
|
-
var
|
|
2851
|
-
|
|
2876
|
+
var m = T(l, this.clonePosition());
|
|
2877
|
+
u = { style: f, styleLocation: m };
|
|
2852
2878
|
}
|
|
2853
2879
|
var p = this.tryParseArgumentClose(n);
|
|
2854
2880
|
if (p.err)
|
|
2855
2881
|
return p;
|
|
2856
2882
|
var _ = T(n, this.clonePosition());
|
|
2857
|
-
if (
|
|
2858
|
-
var R =
|
|
2883
|
+
if (u && wt(u?.style, "::", 0)) {
|
|
2884
|
+
var R = gn(u.style.slice(2));
|
|
2859
2885
|
if (a === "number") {
|
|
2860
|
-
var c = this.parseNumberSkeletonFromString(R,
|
|
2886
|
+
var c = this.parseNumberSkeletonFromString(R, u.styleLocation);
|
|
2861
2887
|
return c.err ? c : {
|
|
2862
|
-
val: { type:
|
|
2888
|
+
val: { type: O.number, value: r, location: _, style: c.val },
|
|
2863
2889
|
err: null
|
|
2864
2890
|
};
|
|
2865
2891
|
} else {
|
|
2866
2892
|
if (R.length === 0)
|
|
2867
2893
|
return this.error(x.EXPECT_DATE_TIME_SKELETON, _);
|
|
2868
|
-
var
|
|
2869
|
-
this.locale && (
|
|
2870
|
-
var
|
|
2871
|
-
type:
|
|
2872
|
-
pattern:
|
|
2873
|
-
location:
|
|
2874
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2875
|
-
}, L = a === "date" ?
|
|
2894
|
+
var P = R;
|
|
2895
|
+
this.locale && (P = nn(R, this.locale));
|
|
2896
|
+
var f = {
|
|
2897
|
+
type: le.dateTime,
|
|
2898
|
+
pattern: P,
|
|
2899
|
+
location: u.styleLocation,
|
|
2900
|
+
parsedOptions: this.shouldParseSkeletons ? qr(P) : {}
|
|
2901
|
+
}, L = a === "date" ? O.date : O.time;
|
|
2876
2902
|
return {
|
|
2877
|
-
val: { type: L, value: r, location: _, style:
|
|
2903
|
+
val: { type: L, value: r, location: _, style: f },
|
|
2878
2904
|
err: null
|
|
2879
2905
|
};
|
|
2880
2906
|
}
|
|
2881
2907
|
}
|
|
2882
2908
|
return {
|
|
2883
2909
|
val: {
|
|
2884
|
-
type: a === "number" ?
|
|
2910
|
+
type: a === "number" ? O.number : a === "date" ? O.date : O.time,
|
|
2885
2911
|
value: r,
|
|
2886
2912
|
location: _,
|
|
2887
|
-
style: (o =
|
|
2913
|
+
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
2888
2914
|
},
|
|
2889
2915
|
err: null
|
|
2890
2916
|
};
|
|
@@ -2894,39 +2920,39 @@ var Tn = (
|
|
|
2894
2920
|
case "select": {
|
|
2895
2921
|
var w = this.clonePosition();
|
|
2896
2922
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2897
|
-
return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, T(w,
|
|
2923
|
+
return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, T(w, S({}, w)));
|
|
2898
2924
|
this.bumpSpace();
|
|
2899
|
-
var
|
|
2900
|
-
if (a !== "select" &&
|
|
2925
|
+
var H = this.parseIdentifierIfPossible(), B = 0;
|
|
2926
|
+
if (a !== "select" && H.value === "offset") {
|
|
2901
2927
|
if (!this.bumpIf(":"))
|
|
2902
2928
|
return this.error(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, T(this.clonePosition(), this.clonePosition()));
|
|
2903
2929
|
this.bumpSpace();
|
|
2904
2930
|
var c = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2905
2931
|
if (c.err)
|
|
2906
2932
|
return c;
|
|
2907
|
-
this.bumpSpace(),
|
|
2933
|
+
this.bumpSpace(), H = this.parseIdentifierIfPossible(), B = c.val;
|
|
2908
2934
|
}
|
|
2909
|
-
var
|
|
2910
|
-
if (
|
|
2911
|
-
return
|
|
2935
|
+
var M = this.tryParsePluralOrSelectOptions(t, a, i, H);
|
|
2936
|
+
if (M.err)
|
|
2937
|
+
return M;
|
|
2912
2938
|
var p = this.tryParseArgumentClose(n);
|
|
2913
2939
|
if (p.err)
|
|
2914
2940
|
return p;
|
|
2915
2941
|
var D = T(n, this.clonePosition());
|
|
2916
2942
|
return a === "select" ? {
|
|
2917
2943
|
val: {
|
|
2918
|
-
type:
|
|
2944
|
+
type: O.select,
|
|
2919
2945
|
value: r,
|
|
2920
|
-
options:
|
|
2946
|
+
options: St(M.val),
|
|
2921
2947
|
location: D
|
|
2922
2948
|
},
|
|
2923
2949
|
err: null
|
|
2924
2950
|
} : {
|
|
2925
2951
|
val: {
|
|
2926
|
-
type:
|
|
2952
|
+
type: O.plural,
|
|
2927
2953
|
value: r,
|
|
2928
|
-
options:
|
|
2929
|
-
offset:
|
|
2954
|
+
options: St(M.val),
|
|
2955
|
+
offset: B,
|
|
2930
2956
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
2931
2957
|
location: D
|
|
2932
2958
|
},
|
|
@@ -2976,50 +3002,50 @@ var Tn = (
|
|
|
2976
3002
|
}, e.prototype.parseNumberSkeletonFromString = function(t, i) {
|
|
2977
3003
|
var r = [];
|
|
2978
3004
|
try {
|
|
2979
|
-
r =
|
|
3005
|
+
r = Qr(t);
|
|
2980
3006
|
} catch {
|
|
2981
3007
|
return this.error(x.INVALID_NUMBER_SKELETON, i);
|
|
2982
3008
|
}
|
|
2983
3009
|
return {
|
|
2984
3010
|
val: {
|
|
2985
|
-
type:
|
|
3011
|
+
type: le.number,
|
|
2986
3012
|
tokens: r,
|
|
2987
3013
|
location: i,
|
|
2988
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3014
|
+
parsedOptions: this.shouldParseSkeletons ? rn(r) : {}
|
|
2989
3015
|
},
|
|
2990
3016
|
err: null
|
|
2991
3017
|
};
|
|
2992
3018
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, i, r, n) {
|
|
2993
|
-
for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(),
|
|
2994
|
-
if (
|
|
3019
|
+
for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), u = n.value, l = n.location; ; ) {
|
|
3020
|
+
if (u.length === 0) {
|
|
2995
3021
|
var c = this.clonePosition();
|
|
2996
3022
|
if (i !== "select" && this.bumpIf("=")) {
|
|
2997
|
-
var
|
|
2998
|
-
if (
|
|
2999
|
-
return
|
|
3000
|
-
|
|
3023
|
+
var f = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_SELECTOR, x.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3024
|
+
if (f.err)
|
|
3025
|
+
return f;
|
|
3026
|
+
l = T(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
|
|
3001
3027
|
} else
|
|
3002
3028
|
break;
|
|
3003
3029
|
}
|
|
3004
|
-
if (h.has(
|
|
3005
|
-
return this.error(i === "select" ? x.DUPLICATE_SELECT_ARGUMENT_SELECTOR : x.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,
|
|
3006
|
-
|
|
3007
|
-
var
|
|
3030
|
+
if (h.has(u))
|
|
3031
|
+
return this.error(i === "select" ? x.DUPLICATE_SELECT_ARGUMENT_SELECTOR : x.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
3032
|
+
u === "other" && (s = !0), this.bumpSpace();
|
|
3033
|
+
var m = this.clonePosition();
|
|
3008
3034
|
if (!this.bumpIf("{"))
|
|
3009
3035
|
return this.error(i === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : x.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, T(this.clonePosition(), this.clonePosition()));
|
|
3010
3036
|
var p = this.parseMessage(t + 1, i, r);
|
|
3011
3037
|
if (p.err)
|
|
3012
3038
|
return p;
|
|
3013
|
-
var _ = this.tryParseArgumentClose(
|
|
3039
|
+
var _ = this.tryParseArgumentClose(m);
|
|
3014
3040
|
if (_.err)
|
|
3015
3041
|
return _;
|
|
3016
3042
|
a.push([
|
|
3017
|
-
|
|
3043
|
+
u,
|
|
3018
3044
|
{
|
|
3019
3045
|
value: p.val,
|
|
3020
|
-
location: T(
|
|
3046
|
+
location: T(m, this.clonePosition())
|
|
3021
3047
|
}
|
|
3022
|
-
]), h.add(
|
|
3048
|
+
]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
3023
3049
|
}
|
|
3024
3050
|
return a.length === 0 ? this.error(i === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR : x.EXPECT_PLURAL_ARGUMENT_SELECTOR, T(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(x.MISSING_OTHER_CLAUSE, T(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3025
3051
|
}, e.prototype.tryParseDecimalInteger = function(t, i) {
|
|
@@ -3033,7 +3059,7 @@ var Tn = (
|
|
|
3033
3059
|
break;
|
|
3034
3060
|
}
|
|
3035
3061
|
var h = T(n, this.clonePosition());
|
|
3036
|
-
return o ? (s *= r,
|
|
3062
|
+
return o ? (s *= r, dn(s) ? { val: s, err: null } : this.error(i, h)) : this.error(t, h);
|
|
3037
3063
|
}, e.prototype.offset = function() {
|
|
3038
3064
|
return this.position.offset;
|
|
3039
3065
|
}, e.prototype.isEOF = function() {
|
|
@@ -3048,7 +3074,7 @@ var Tn = (
|
|
|
3048
3074
|
var t = this.position.offset;
|
|
3049
3075
|
if (t >= this.message.length)
|
|
3050
3076
|
throw Error("out of bound");
|
|
3051
|
-
var i =
|
|
3077
|
+
var i = vi(this.message, t);
|
|
3052
3078
|
if (i === void 0)
|
|
3053
3079
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3054
3080
|
return i;
|
|
@@ -3067,7 +3093,7 @@ var Tn = (
|
|
|
3067
3093
|
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);
|
|
3068
3094
|
}
|
|
3069
3095
|
}, e.prototype.bumpIf = function(t) {
|
|
3070
|
-
if (
|
|
3096
|
+
if (wt(this.message, t, this.offset())) {
|
|
3071
3097
|
for (var i = 0; i < t.length; i++)
|
|
3072
3098
|
this.bump();
|
|
3073
3099
|
return !0;
|
|
@@ -3089,7 +3115,7 @@ var Tn = (
|
|
|
3089
3115
|
break;
|
|
3090
3116
|
}
|
|
3091
3117
|
}, e.prototype.bumpSpace = function() {
|
|
3092
|
-
for (; !this.isEOF() &&
|
|
3118
|
+
for (; !this.isEOF() && Ei(this.char()); )
|
|
3093
3119
|
this.bump();
|
|
3094
3120
|
}, e.prototype.peek = function() {
|
|
3095
3121
|
if (this.isEOF())
|
|
@@ -3099,47 +3125,47 @@ var Tn = (
|
|
|
3099
3125
|
}, e;
|
|
3100
3126
|
}()
|
|
3101
3127
|
);
|
|
3102
|
-
function
|
|
3128
|
+
function ot(e) {
|
|
3103
3129
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3104
3130
|
}
|
|
3105
|
-
function
|
|
3106
|
-
return
|
|
3131
|
+
function _n(e) {
|
|
3132
|
+
return ot(e) || e === 47;
|
|
3107
3133
|
}
|
|
3108
|
-
function
|
|
3134
|
+
function En(e) {
|
|
3109
3135
|
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;
|
|
3110
3136
|
}
|
|
3111
|
-
function
|
|
3137
|
+
function Ei(e) {
|
|
3112
3138
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3113
3139
|
}
|
|
3114
|
-
function
|
|
3140
|
+
function Ln(e) {
|
|
3115
3141
|
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;
|
|
3116
3142
|
}
|
|
3117
|
-
function
|
|
3143
|
+
function st(e) {
|
|
3118
3144
|
e.forEach(function(t) {
|
|
3119
|
-
if (delete t.location,
|
|
3145
|
+
if (delete t.location, hi(t) || mi(t))
|
|
3120
3146
|
for (var i in t.options)
|
|
3121
|
-
delete t.options[i].location,
|
|
3147
|
+
delete t.options[i].location, st(t.options[i].value);
|
|
3122
3148
|
else
|
|
3123
|
-
|
|
3149
|
+
li(t) && pi(t.style) || (ui(t) || ci(t)) && tt(t.style) ? delete t.style.location : fi(t) && st(t.children);
|
|
3124
3150
|
});
|
|
3125
3151
|
}
|
|
3126
|
-
function
|
|
3127
|
-
t === void 0 && (t = {}), t =
|
|
3128
|
-
var i = new
|
|
3152
|
+
function xn(e, t) {
|
|
3153
|
+
t === void 0 && (t = {}), t = S({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3154
|
+
var i = new vn(e, t).parse();
|
|
3129
3155
|
if (i.err) {
|
|
3130
3156
|
var r = SyntaxError(x[i.err.kind]);
|
|
3131
3157
|
throw r.location = i.err.location, r.originalMessage = i.err.message, r;
|
|
3132
3158
|
}
|
|
3133
|
-
return t?.captureLocation ||
|
|
3159
|
+
return t?.captureLocation || st(i.val), i.val;
|
|
3134
3160
|
}
|
|
3135
3161
|
var ue;
|
|
3136
3162
|
(function(e) {
|
|
3137
3163
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3138
3164
|
})(ue || (ue = {}));
|
|
3139
|
-
var
|
|
3165
|
+
var Ce = (
|
|
3140
3166
|
/** @class */
|
|
3141
3167
|
function(e) {
|
|
3142
|
-
|
|
3168
|
+
q(t, e);
|
|
3143
3169
|
function t(i, r, n) {
|
|
3144
3170
|
var o = e.call(this, i) || this;
|
|
3145
3171
|
return o.code = r, o.originalMessage = n, o;
|
|
@@ -3148,155 +3174,155 @@ var Re = (
|
|
|
3148
3174
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3149
3175
|
}, t;
|
|
3150
3176
|
}(Error)
|
|
3151
|
-
),
|
|
3177
|
+
), At = (
|
|
3152
3178
|
/** @class */
|
|
3153
3179
|
function(e) {
|
|
3154
|
-
|
|
3180
|
+
q(t, e);
|
|
3155
3181
|
function t(i, r, n, o) {
|
|
3156
3182
|
return e.call(this, 'Invalid values for "'.concat(i, '": "').concat(r, '". Options are "').concat(Object.keys(n).join('", "'), '"'), ue.INVALID_VALUE, o) || this;
|
|
3157
3183
|
}
|
|
3158
3184
|
return t;
|
|
3159
|
-
}(
|
|
3160
|
-
),
|
|
3185
|
+
}(Ce)
|
|
3186
|
+
), Tn = (
|
|
3161
3187
|
/** @class */
|
|
3162
3188
|
function(e) {
|
|
3163
|
-
|
|
3189
|
+
q(t, e);
|
|
3164
3190
|
function t(i, r, n) {
|
|
3165
3191
|
return e.call(this, 'Value for "'.concat(i, '" must be of type ').concat(r), ue.INVALID_VALUE, n) || this;
|
|
3166
3192
|
}
|
|
3167
3193
|
return t;
|
|
3168
|
-
}(
|
|
3169
|
-
),
|
|
3194
|
+
}(Ce)
|
|
3195
|
+
), wn = (
|
|
3170
3196
|
/** @class */
|
|
3171
3197
|
function(e) {
|
|
3172
|
-
|
|
3198
|
+
q(t, e);
|
|
3173
3199
|
function t(i, r) {
|
|
3174
3200
|
return e.call(this, 'The intl string context variable "'.concat(i, '" was not provided to the string "').concat(r, '"'), ue.MISSING_VALUE, r) || this;
|
|
3175
3201
|
}
|
|
3176
3202
|
return t;
|
|
3177
|
-
}(
|
|
3203
|
+
}(Ce)
|
|
3178
3204
|
), z;
|
|
3179
3205
|
(function(e) {
|
|
3180
3206
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3181
3207
|
})(z || (z = {}));
|
|
3182
|
-
function
|
|
3208
|
+
function Sn(e) {
|
|
3183
3209
|
return e.length < 2 ? e : e.reduce(function(t, i) {
|
|
3184
3210
|
var r = t[t.length - 1];
|
|
3185
3211
|
return !r || r.type !== z.literal || i.type !== z.literal ? t.push(i) : r.value += i.value, t;
|
|
3186
3212
|
}, []);
|
|
3187
3213
|
}
|
|
3188
|
-
function
|
|
3214
|
+
function Pn(e) {
|
|
3189
3215
|
return typeof e == "function";
|
|
3190
3216
|
}
|
|
3191
3217
|
function Pe(e, t, i, r, n, o, s) {
|
|
3192
|
-
if (e.length === 1 &&
|
|
3218
|
+
if (e.length === 1 && Et(e[0]))
|
|
3193
3219
|
return [
|
|
3194
3220
|
{
|
|
3195
3221
|
type: z.literal,
|
|
3196
3222
|
value: e[0].value
|
|
3197
3223
|
}
|
|
3198
3224
|
];
|
|
3199
|
-
for (var a = [], h = 0,
|
|
3200
|
-
var
|
|
3201
|
-
if (
|
|
3225
|
+
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
|
3226
|
+
var l = u[h];
|
|
3227
|
+
if (Et(l)) {
|
|
3202
3228
|
a.push({
|
|
3203
3229
|
type: z.literal,
|
|
3204
|
-
value:
|
|
3230
|
+
value: l.value
|
|
3205
3231
|
});
|
|
3206
3232
|
continue;
|
|
3207
3233
|
}
|
|
3208
|
-
if (
|
|
3234
|
+
if (Zr(l)) {
|
|
3209
3235
|
typeof o == "number" && a.push({
|
|
3210
3236
|
type: z.literal,
|
|
3211
3237
|
value: i.getNumberFormat(t).format(o)
|
|
3212
3238
|
});
|
|
3213
3239
|
continue;
|
|
3214
3240
|
}
|
|
3215
|
-
var c =
|
|
3241
|
+
var c = l.value;
|
|
3216
3242
|
if (!(n && c in n))
|
|
3217
|
-
throw new
|
|
3218
|
-
var
|
|
3219
|
-
if (
|
|
3220
|
-
(!
|
|
3221
|
-
type: typeof
|
|
3222
|
-
value:
|
|
3243
|
+
throw new wn(c, s);
|
|
3244
|
+
var f = n[c];
|
|
3245
|
+
if (Xr(l)) {
|
|
3246
|
+
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3247
|
+
type: typeof f == "string" ? z.literal : z.object,
|
|
3248
|
+
value: f
|
|
3223
3249
|
});
|
|
3224
3250
|
continue;
|
|
3225
3251
|
}
|
|
3226
|
-
if (
|
|
3227
|
-
var
|
|
3252
|
+
if (ui(l)) {
|
|
3253
|
+
var m = typeof l.style == "string" ? r.date[l.style] : tt(l.style) ? l.style.parsedOptions : void 0;
|
|
3228
3254
|
a.push({
|
|
3229
3255
|
type: z.literal,
|
|
3230
|
-
value: i.getDateTimeFormat(t,
|
|
3256
|
+
value: i.getDateTimeFormat(t, m).format(f)
|
|
3231
3257
|
});
|
|
3232
3258
|
continue;
|
|
3233
3259
|
}
|
|
3234
|
-
if (
|
|
3235
|
-
var
|
|
3260
|
+
if (ci(l)) {
|
|
3261
|
+
var m = typeof l.style == "string" ? r.time[l.style] : tt(l.style) ? l.style.parsedOptions : r.time.medium;
|
|
3236
3262
|
a.push({
|
|
3237
3263
|
type: z.literal,
|
|
3238
|
-
value: i.getDateTimeFormat(t,
|
|
3264
|
+
value: i.getDateTimeFormat(t, m).format(f)
|
|
3239
3265
|
});
|
|
3240
3266
|
continue;
|
|
3241
3267
|
}
|
|
3242
|
-
if (
|
|
3243
|
-
var
|
|
3244
|
-
|
|
3268
|
+
if (li(l)) {
|
|
3269
|
+
var m = typeof l.style == "string" ? r.number[l.style] : pi(l.style) ? l.style.parsedOptions : void 0;
|
|
3270
|
+
m && m.scale && (f = f * (m.scale || 1)), a.push({
|
|
3245
3271
|
type: z.literal,
|
|
3246
|
-
value: i.getNumberFormat(t,
|
|
3272
|
+
value: i.getNumberFormat(t, m).format(f)
|
|
3247
3273
|
});
|
|
3248
3274
|
continue;
|
|
3249
3275
|
}
|
|
3250
|
-
if (
|
|
3251
|
-
var p =
|
|
3252
|
-
if (!
|
|
3253
|
-
throw new
|
|
3254
|
-
var
|
|
3255
|
-
return
|
|
3276
|
+
if (fi(l)) {
|
|
3277
|
+
var p = l.children, _ = l.value, R = n[_];
|
|
3278
|
+
if (!Pn(R))
|
|
3279
|
+
throw new Tn(_, "function", s);
|
|
3280
|
+
var P = Pe(p, t, i, r, n, o), L = R(P.map(function(B) {
|
|
3281
|
+
return B.value;
|
|
3256
3282
|
}));
|
|
3257
|
-
Array.isArray(L) || (L = [L]), a.push.apply(a, L.map(function(
|
|
3283
|
+
Array.isArray(L) || (L = [L]), a.push.apply(a, L.map(function(B) {
|
|
3258
3284
|
return {
|
|
3259
|
-
type: typeof
|
|
3260
|
-
value:
|
|
3285
|
+
type: typeof B == "string" ? z.literal : z.object,
|
|
3286
|
+
value: B
|
|
3261
3287
|
};
|
|
3262
3288
|
}));
|
|
3263
3289
|
}
|
|
3264
|
-
if (
|
|
3265
|
-
var w =
|
|
3290
|
+
if (hi(l)) {
|
|
3291
|
+
var w = l.options[f] || l.options.other;
|
|
3266
3292
|
if (!w)
|
|
3267
|
-
throw new
|
|
3293
|
+
throw new At(l.value, f, Object.keys(l.options), s);
|
|
3268
3294
|
a.push.apply(a, Pe(w.value, t, i, r, n));
|
|
3269
3295
|
continue;
|
|
3270
3296
|
}
|
|
3271
|
-
if (
|
|
3272
|
-
var w =
|
|
3297
|
+
if (mi(l)) {
|
|
3298
|
+
var w = l.options["=".concat(f)];
|
|
3273
3299
|
if (!w) {
|
|
3274
3300
|
if (!Intl.PluralRules)
|
|
3275
|
-
throw new
|
|
3301
|
+
throw new Ce(`Intl.PluralRules is not available in this environment.
|
|
3276
3302
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3277
3303
|
`, ue.MISSING_INTL_API, s);
|
|
3278
|
-
var
|
|
3279
|
-
w =
|
|
3304
|
+
var H = i.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
|
|
3305
|
+
w = l.options[H] || l.options.other;
|
|
3280
3306
|
}
|
|
3281
3307
|
if (!w)
|
|
3282
|
-
throw new
|
|
3283
|
-
a.push.apply(a, Pe(w.value, t, i, r, n,
|
|
3308
|
+
throw new At(l.value, f, Object.keys(l.options), s);
|
|
3309
|
+
a.push.apply(a, Pe(w.value, t, i, r, n, f - (l.offset || 0)));
|
|
3284
3310
|
continue;
|
|
3285
3311
|
}
|
|
3286
3312
|
}
|
|
3287
|
-
return
|
|
3313
|
+
return Sn(a);
|
|
3288
3314
|
}
|
|
3289
|
-
function
|
|
3290
|
-
return t ?
|
|
3291
|
-
return i[r] =
|
|
3315
|
+
function An(e, t) {
|
|
3316
|
+
return t ? S(S(S({}, e || {}), t || {}), Object.keys(e).reduce(function(i, r) {
|
|
3317
|
+
return i[r] = S(S({}, e[r]), t[r] || {}), i;
|
|
3292
3318
|
}, {})) : e;
|
|
3293
3319
|
}
|
|
3294
|
-
function
|
|
3320
|
+
function Bn(e, t) {
|
|
3295
3321
|
return t ? Object.keys(e).reduce(function(i, r) {
|
|
3296
|
-
return i[r] =
|
|
3297
|
-
},
|
|
3322
|
+
return i[r] = An(e[r], t[r]), i;
|
|
3323
|
+
}, S({}, e)) : e;
|
|
3298
3324
|
}
|
|
3299
|
-
function
|
|
3325
|
+
function Ze(e) {
|
|
3300
3326
|
return {
|
|
3301
3327
|
create: function() {
|
|
3302
3328
|
return {
|
|
@@ -3310,39 +3336,39 @@ function Je(e) {
|
|
|
3310
3336
|
}
|
|
3311
3337
|
};
|
|
3312
3338
|
}
|
|
3313
|
-
function
|
|
3339
|
+
function Nn(e) {
|
|
3314
3340
|
return e === void 0 && (e = {
|
|
3315
3341
|
number: {},
|
|
3316
3342
|
dateTime: {},
|
|
3317
3343
|
pluralRules: {}
|
|
3318
3344
|
}), {
|
|
3319
|
-
getNumberFormat:
|
|
3345
|
+
getNumberFormat: We(function() {
|
|
3320
3346
|
for (var t, i = [], r = 0; r < arguments.length; r++)
|
|
3321
3347
|
i[r] = arguments[r];
|
|
3322
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3348
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, se([void 0], i, !1)))();
|
|
3323
3349
|
}, {
|
|
3324
|
-
cache:
|
|
3325
|
-
strategy:
|
|
3350
|
+
cache: Ze(e.number),
|
|
3351
|
+
strategy: Ve.variadic
|
|
3326
3352
|
}),
|
|
3327
|
-
getDateTimeFormat:
|
|
3353
|
+
getDateTimeFormat: We(function() {
|
|
3328
3354
|
for (var t, i = [], r = 0; r < arguments.length; r++)
|
|
3329
3355
|
i[r] = arguments[r];
|
|
3330
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3356
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, se([void 0], i, !1)))();
|
|
3331
3357
|
}, {
|
|
3332
|
-
cache:
|
|
3333
|
-
strategy:
|
|
3358
|
+
cache: Ze(e.dateTime),
|
|
3359
|
+
strategy: Ve.variadic
|
|
3334
3360
|
}),
|
|
3335
|
-
getPluralRules:
|
|
3361
|
+
getPluralRules: We(function() {
|
|
3336
3362
|
for (var t, i = [], r = 0; r < arguments.length; r++)
|
|
3337
3363
|
i[r] = arguments[r];
|
|
3338
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3364
|
+
return new ((t = Intl.PluralRules).bind.apply(t, se([void 0], i, !1)))();
|
|
3339
3365
|
}, {
|
|
3340
|
-
cache:
|
|
3341
|
-
strategy:
|
|
3366
|
+
cache: Ze(e.pluralRules),
|
|
3367
|
+
strategy: Ve.variadic
|
|
3342
3368
|
})
|
|
3343
3369
|
};
|
|
3344
3370
|
}
|
|
3345
|
-
var
|
|
3371
|
+
var In = (
|
|
3346
3372
|
/** @class */
|
|
3347
3373
|
function() {
|
|
3348
3374
|
function e(t, i, r, n) {
|
|
@@ -3353,13 +3379,13 @@ var Cn = (
|
|
|
3353
3379
|
dateTime: {},
|
|
3354
3380
|
pluralRules: {}
|
|
3355
3381
|
}, this.format = function(h) {
|
|
3356
|
-
var
|
|
3357
|
-
if (
|
|
3358
|
-
return
|
|
3359
|
-
var
|
|
3360
|
-
return !c.length ||
|
|
3382
|
+
var u = o.formatToParts(h);
|
|
3383
|
+
if (u.length === 1)
|
|
3384
|
+
return u[0].value;
|
|
3385
|
+
var l = u.reduce(function(c, f) {
|
|
3386
|
+
return !c.length || f.type !== z.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
|
3361
3387
|
}, []);
|
|
3362
|
-
return
|
|
3388
|
+
return l.length <= 1 ? l[0] || "" : l;
|
|
3363
3389
|
}, this.formatToParts = function(h) {
|
|
3364
3390
|
return Pe(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
|
|
3365
3391
|
}, this.resolvedOptions = function() {
|
|
@@ -3374,13 +3400,13 @@ var Cn = (
|
|
|
3374
3400
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3375
3401
|
var s = n || {};
|
|
3376
3402
|
s.formatters;
|
|
3377
|
-
var a =
|
|
3378
|
-
this.ast = e.__parse(t,
|
|
3403
|
+
var a = Ur(s, ["formatters"]);
|
|
3404
|
+
this.ast = e.__parse(t, S(S({}, a), { locale: this.resolvedLocale }));
|
|
3379
3405
|
} else
|
|
3380
3406
|
this.ast = t;
|
|
3381
3407
|
if (!Array.isArray(this.ast))
|
|
3382
3408
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3383
|
-
this.formats =
|
|
3409
|
+
this.formats = Bn(e.formats, r), this.formatters = n && n.formatters || Nn(this.formatterCache);
|
|
3384
3410
|
}
|
|
3385
3411
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3386
3412
|
get: function() {
|
|
@@ -3393,7 +3419,7 @@ var Cn = (
|
|
|
3393
3419
|
var i = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3394
3420
|
return i.length > 0 ? new Intl.Locale(i[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3395
3421
|
}
|
|
3396
|
-
}, e.__parse =
|
|
3422
|
+
}, e.__parse = xn, e.formats = {
|
|
3397
3423
|
number: {
|
|
3398
3424
|
integer: {
|
|
3399
3425
|
maximumFractionDigits: 0
|
|
@@ -3454,7 +3480,7 @@ var Cn = (
|
|
|
3454
3480
|
}, e;
|
|
3455
3481
|
}()
|
|
3456
3482
|
);
|
|
3457
|
-
function
|
|
3483
|
+
function Hn(e, t) {
|
|
3458
3484
|
if (t == null)
|
|
3459
3485
|
return;
|
|
3460
3486
|
if (t in e)
|
|
@@ -3475,92 +3501,92 @@ function Dn(e, t) {
|
|
|
3475
3501
|
r = void 0;
|
|
3476
3502
|
return r;
|
|
3477
3503
|
}
|
|
3478
|
-
const Q = {},
|
|
3504
|
+
const Q = {}, On = (e, t, i) => i && (t in Q || (Q[t] = {}), e in Q[t] || (Q[t][e] = i), i), Li = (e, t) => {
|
|
3479
3505
|
if (t == null)
|
|
3480
3506
|
return;
|
|
3481
3507
|
if (t in Q && e in Q[t])
|
|
3482
3508
|
return Q[t][e];
|
|
3483
|
-
const i =
|
|
3509
|
+
const i = De(t);
|
|
3484
3510
|
for (let r = 0; r < i.length; r++) {
|
|
3485
|
-
const n = i[r], o =
|
|
3511
|
+
const n = i[r], o = kn(n, e);
|
|
3486
3512
|
if (o)
|
|
3487
|
-
return
|
|
3513
|
+
return On(e, t, o);
|
|
3488
3514
|
}
|
|
3489
3515
|
};
|
|
3490
|
-
let
|
|
3491
|
-
const
|
|
3492
|
-
function
|
|
3493
|
-
return
|
|
3516
|
+
let mt;
|
|
3517
|
+
const Le = ke({});
|
|
3518
|
+
function Mn(e) {
|
|
3519
|
+
return mt[e] || null;
|
|
3494
3520
|
}
|
|
3495
|
-
function
|
|
3496
|
-
return e in
|
|
3521
|
+
function xi(e) {
|
|
3522
|
+
return e in mt;
|
|
3497
3523
|
}
|
|
3498
|
-
function
|
|
3499
|
-
if (!
|
|
3524
|
+
function kn(e, t) {
|
|
3525
|
+
if (!xi(e))
|
|
3500
3526
|
return null;
|
|
3501
|
-
const i =
|
|
3502
|
-
return
|
|
3527
|
+
const i = Mn(e);
|
|
3528
|
+
return Hn(i, t);
|
|
3503
3529
|
}
|
|
3504
|
-
function
|
|
3530
|
+
function Cn(e) {
|
|
3505
3531
|
if (e == null)
|
|
3506
3532
|
return;
|
|
3507
|
-
const t =
|
|
3533
|
+
const t = De(e);
|
|
3508
3534
|
for (let i = 0; i < t.length; i++) {
|
|
3509
3535
|
const r = t[i];
|
|
3510
|
-
if (
|
|
3536
|
+
if (xi(r))
|
|
3511
3537
|
return r;
|
|
3512
3538
|
}
|
|
3513
3539
|
}
|
|
3514
|
-
function
|
|
3515
|
-
delete Q[e],
|
|
3540
|
+
function Ti(e, ...t) {
|
|
3541
|
+
delete Q[e], Le.update((i) => (i[e] = Rr.all([i[e] || {}, ...t]), i));
|
|
3516
3542
|
}
|
|
3517
|
-
|
|
3518
|
-
[
|
|
3543
|
+
he(
|
|
3544
|
+
[Le],
|
|
3519
3545
|
([e]) => Object.keys(e)
|
|
3520
3546
|
);
|
|
3521
|
-
|
|
3547
|
+
Le.subscribe((e) => mt = e);
|
|
3522
3548
|
const Ae = {};
|
|
3523
|
-
function
|
|
3549
|
+
function Dn(e, t) {
|
|
3524
3550
|
Ae[e].delete(t), Ae[e].size === 0 && delete Ae[e];
|
|
3525
3551
|
}
|
|
3526
|
-
function
|
|
3552
|
+
function wi(e) {
|
|
3527
3553
|
return Ae[e];
|
|
3528
3554
|
}
|
|
3529
|
-
function
|
|
3530
|
-
return
|
|
3531
|
-
const i =
|
|
3555
|
+
function Rn(e) {
|
|
3556
|
+
return De(e).map((t) => {
|
|
3557
|
+
const i = wi(t);
|
|
3532
3558
|
return [t, i ? [...i] : []];
|
|
3533
3559
|
}).filter(([, t]) => t.length > 0);
|
|
3534
3560
|
}
|
|
3535
|
-
function
|
|
3536
|
-
return e == null ? !1 :
|
|
3561
|
+
function at(e) {
|
|
3562
|
+
return e == null ? !1 : De(e).some(
|
|
3537
3563
|
(t) => {
|
|
3538
3564
|
var i;
|
|
3539
|
-
return (i =
|
|
3565
|
+
return (i = wi(t)) == null ? void 0 : i.size;
|
|
3540
3566
|
}
|
|
3541
3567
|
);
|
|
3542
3568
|
}
|
|
3543
|
-
function
|
|
3569
|
+
function Un(e, t) {
|
|
3544
3570
|
return Promise.all(
|
|
3545
|
-
t.map((r) => (
|
|
3546
|
-
).then((r) =>
|
|
3547
|
-
}
|
|
3548
|
-
const
|
|
3549
|
-
function
|
|
3550
|
-
if (!
|
|
3551
|
-
return e in
|
|
3552
|
-
const t =
|
|
3553
|
-
return
|
|
3571
|
+
t.map((r) => (Dn(e, r), r().then((n) => n.default || n)))
|
|
3572
|
+
).then((r) => Ti(e, ...r));
|
|
3573
|
+
}
|
|
3574
|
+
const de = {};
|
|
3575
|
+
function Si(e) {
|
|
3576
|
+
if (!at(e))
|
|
3577
|
+
return e in de ? de[e] : Promise.resolve();
|
|
3578
|
+
const t = Rn(e);
|
|
3579
|
+
return de[e] = Promise.all(
|
|
3554
3580
|
t.map(
|
|
3555
|
-
([i, r]) =>
|
|
3581
|
+
([i, r]) => Un(i, r)
|
|
3556
3582
|
)
|
|
3557
3583
|
).then(() => {
|
|
3558
|
-
if (
|
|
3559
|
-
return
|
|
3560
|
-
delete
|
|
3561
|
-
}),
|
|
3584
|
+
if (at(e))
|
|
3585
|
+
return Si(e);
|
|
3586
|
+
delete de[e];
|
|
3587
|
+
}), de[e];
|
|
3562
3588
|
}
|
|
3563
|
-
const
|
|
3589
|
+
const jn = {
|
|
3564
3590
|
number: {
|
|
3565
3591
|
scientific: { notation: "scientific" },
|
|
3566
3592
|
engineering: { notation: "engineering" },
|
|
@@ -3589,34 +3615,34 @@ const Wn = {
|
|
|
3589
3615
|
timeZoneName: "short"
|
|
3590
3616
|
}
|
|
3591
3617
|
}
|
|
3592
|
-
},
|
|
3618
|
+
}, $n = {
|
|
3593
3619
|
fallbackLocale: null,
|
|
3594
3620
|
loadingDelay: 200,
|
|
3595
|
-
formats:
|
|
3621
|
+
formats: jn,
|
|
3596
3622
|
warnOnMissingMessages: !0,
|
|
3597
3623
|
handleMissingMessage: void 0,
|
|
3598
3624
|
ignoreTag: !0
|
|
3599
|
-
},
|
|
3600
|
-
function
|
|
3601
|
-
return
|
|
3625
|
+
}, Fn = $n;
|
|
3626
|
+
function ce() {
|
|
3627
|
+
return Fn;
|
|
3602
3628
|
}
|
|
3603
|
-
const
|
|
3604
|
-
var
|
|
3629
|
+
const Ye = ke(!1);
|
|
3630
|
+
var Gn = Object.defineProperty, zn = Object.defineProperties, Wn = Object.getOwnPropertyDescriptors, Bt = Object.getOwnPropertySymbols, Vn = Object.prototype.hasOwnProperty, Xn = Object.prototype.propertyIsEnumerable, Nt = (e, t, i) => t in e ? Gn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, Zn = (e, t) => {
|
|
3605
3631
|
for (var i in t || (t = {}))
|
|
3606
|
-
|
|
3607
|
-
if (
|
|
3608
|
-
for (var i of
|
|
3609
|
-
|
|
3632
|
+
Vn.call(t, i) && Nt(e, i, t[i]);
|
|
3633
|
+
if (Bt)
|
|
3634
|
+
for (var i of Bt(t))
|
|
3635
|
+
Xn.call(t, i) && Nt(e, i, t[i]);
|
|
3610
3636
|
return e;
|
|
3611
|
-
},
|
|
3637
|
+
}, Yn = (e, t) => zn(e, Wn(t));
|
|
3612
3638
|
let lt;
|
|
3613
|
-
const He =
|
|
3614
|
-
function
|
|
3639
|
+
const He = ke(null);
|
|
3640
|
+
function It(e) {
|
|
3615
3641
|
return e.split("-").map((t, i, r) => r.slice(0, i + 1).join("-")).reverse();
|
|
3616
3642
|
}
|
|
3617
|
-
function
|
|
3618
|
-
const i =
|
|
3619
|
-
return t ? [.../* @__PURE__ */ new Set([...i, ...
|
|
3643
|
+
function De(e, t = ce().fallbackLocale) {
|
|
3644
|
+
const i = It(e);
|
|
3645
|
+
return t ? [.../* @__PURE__ */ new Set([...i, ...It(t)])] : i;
|
|
3620
3646
|
}
|
|
3621
3647
|
function te() {
|
|
3622
3648
|
return lt ?? void 0;
|
|
@@ -3624,143 +3650,143 @@ function te() {
|
|
|
3624
3650
|
He.subscribe((e) => {
|
|
3625
3651
|
lt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3626
3652
|
});
|
|
3627
|
-
const
|
|
3628
|
-
if (e &&
|
|
3629
|
-
const { loadingDelay: t } =
|
|
3653
|
+
const qn = (e) => {
|
|
3654
|
+
if (e && Cn(e) && at(e)) {
|
|
3655
|
+
const { loadingDelay: t } = ce();
|
|
3630
3656
|
let i;
|
|
3631
3657
|
return typeof window < "u" && te() != null && t ? i = window.setTimeout(
|
|
3632
|
-
() =>
|
|
3658
|
+
() => Ye.set(!0),
|
|
3633
3659
|
t
|
|
3634
|
-
) :
|
|
3660
|
+
) : Ye.set(!0), Si(e).then(() => {
|
|
3635
3661
|
He.set(e);
|
|
3636
3662
|
}).finally(() => {
|
|
3637
|
-
clearTimeout(i),
|
|
3663
|
+
clearTimeout(i), Ye.set(!1);
|
|
3638
3664
|
});
|
|
3639
3665
|
}
|
|
3640
3666
|
return He.set(e);
|
|
3641
|
-
},
|
|
3642
|
-
set:
|
|
3643
|
-
}),
|
|
3667
|
+
}, me = Yn(Zn({}, He), {
|
|
3668
|
+
set: qn
|
|
3669
|
+
}), Re = (e) => {
|
|
3644
3670
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3645
3671
|
return (r) => {
|
|
3646
3672
|
const n = JSON.stringify(r);
|
|
3647
3673
|
return n in t ? t[n] : t[n] = e(r);
|
|
3648
3674
|
};
|
|
3649
3675
|
};
|
|
3650
|
-
var
|
|
3676
|
+
var Jn = Object.defineProperty, Oe = Object.getOwnPropertySymbols, Pi = Object.prototype.hasOwnProperty, Ai = Object.prototype.propertyIsEnumerable, Ht = (e, t, i) => t in e ? Jn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, ft = (e, t) => {
|
|
3651
3677
|
for (var i in t || (t = {}))
|
|
3652
|
-
|
|
3653
|
-
if (
|
|
3654
|
-
for (var i of
|
|
3655
|
-
|
|
3678
|
+
Pi.call(t, i) && Ht(e, i, t[i]);
|
|
3679
|
+
if (Oe)
|
|
3680
|
+
for (var i of Oe(t))
|
|
3681
|
+
Ai.call(t, i) && Ht(e, i, t[i]);
|
|
3656
3682
|
return e;
|
|
3657
3683
|
}, fe = (e, t) => {
|
|
3658
3684
|
var i = {};
|
|
3659
3685
|
for (var r in e)
|
|
3660
|
-
|
|
3661
|
-
if (e != null &&
|
|
3662
|
-
for (var r of
|
|
3663
|
-
t.indexOf(r) < 0 &&
|
|
3686
|
+
Pi.call(e, r) && t.indexOf(r) < 0 && (i[r] = e[r]);
|
|
3687
|
+
if (e != null && Oe)
|
|
3688
|
+
for (var r of Oe(e))
|
|
3689
|
+
t.indexOf(r) < 0 && Ai.call(e, r) && (i[r] = e[r]);
|
|
3664
3690
|
return i;
|
|
3665
3691
|
};
|
|
3666
|
-
const
|
|
3667
|
-
const { formats: i } =
|
|
3692
|
+
const Ee = (e, t) => {
|
|
3693
|
+
const { formats: i } = ce();
|
|
3668
3694
|
if (e in i && t in i[e])
|
|
3669
3695
|
return i[e][t];
|
|
3670
3696
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3671
|
-
},
|
|
3697
|
+
}, Qn = Re(
|
|
3672
3698
|
(e) => {
|
|
3673
3699
|
var t = e, { locale: i, format: r } = t, n = fe(t, ["locale", "format"]);
|
|
3674
3700
|
if (i == null)
|
|
3675
3701
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3676
|
-
return r && (n =
|
|
3702
|
+
return r && (n = Ee("number", r)), new Intl.NumberFormat(i, n);
|
|
3677
3703
|
}
|
|
3678
|
-
),
|
|
3704
|
+
), Kn = Re(
|
|
3679
3705
|
(e) => {
|
|
3680
3706
|
var t = e, { locale: i, format: r } = t, n = fe(t, ["locale", "format"]);
|
|
3681
3707
|
if (i == null)
|
|
3682
3708
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3683
|
-
return r ? n =
|
|
3709
|
+
return r ? n = Ee("date", r) : Object.keys(n).length === 0 && (n = Ee("date", "short")), new Intl.DateTimeFormat(i, n);
|
|
3684
3710
|
}
|
|
3685
|
-
),
|
|
3711
|
+
), eo = Re(
|
|
3686
3712
|
(e) => {
|
|
3687
3713
|
var t = e, { locale: i, format: r } = t, n = fe(t, ["locale", "format"]);
|
|
3688
3714
|
if (i == null)
|
|
3689
3715
|
throw new Error(
|
|
3690
3716
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3691
3717
|
);
|
|
3692
|
-
return r ? n =
|
|
3718
|
+
return r ? n = Ee("time", r) : Object.keys(n).length === 0 && (n = Ee("time", "short")), new Intl.DateTimeFormat(i, n);
|
|
3693
3719
|
}
|
|
3694
|
-
),
|
|
3720
|
+
), to = (e = {}) => {
|
|
3695
3721
|
var t = e, {
|
|
3696
3722
|
locale: i = te()
|
|
3697
3723
|
} = t, r = fe(t, [
|
|
3698
3724
|
"locale"
|
|
3699
3725
|
]);
|
|
3700
|
-
return
|
|
3701
|
-
},
|
|
3726
|
+
return Qn(ft({ locale: i }, r));
|
|
3727
|
+
}, io = (e = {}) => {
|
|
3702
3728
|
var t = e, {
|
|
3703
3729
|
locale: i = te()
|
|
3704
3730
|
} = t, r = fe(t, [
|
|
3705
3731
|
"locale"
|
|
3706
3732
|
]);
|
|
3707
|
-
return
|
|
3708
|
-
},
|
|
3733
|
+
return Kn(ft({ locale: i }, r));
|
|
3734
|
+
}, ro = (e = {}) => {
|
|
3709
3735
|
var t = e, {
|
|
3710
3736
|
locale: i = te()
|
|
3711
3737
|
} = t, r = fe(t, [
|
|
3712
3738
|
"locale"
|
|
3713
3739
|
]);
|
|
3714
|
-
return
|
|
3715
|
-
},
|
|
3740
|
+
return eo(ft({ locale: i }, r));
|
|
3741
|
+
}, no = Re(
|
|
3716
3742
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3717
|
-
(e, t = te()) => new
|
|
3718
|
-
ignoreTag:
|
|
3743
|
+
(e, t = te()) => new In(e, t, ce().formats, {
|
|
3744
|
+
ignoreTag: ce().ignoreTag
|
|
3719
3745
|
})
|
|
3720
|
-
),
|
|
3746
|
+
), oo = (e, t = {}) => {
|
|
3721
3747
|
var i, r, n, o;
|
|
3722
3748
|
let s = t;
|
|
3723
3749
|
typeof e == "object" && (s = e, e = s.id);
|
|
3724
3750
|
const {
|
|
3725
3751
|
values: a,
|
|
3726
3752
|
locale: h = te(),
|
|
3727
|
-
default:
|
|
3753
|
+
default: u
|
|
3728
3754
|
} = s;
|
|
3729
3755
|
if (h == null)
|
|
3730
3756
|
throw new Error(
|
|
3731
3757
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3732
3758
|
);
|
|
3733
|
-
let
|
|
3734
|
-
if (!
|
|
3735
|
-
|
|
3736
|
-
else if (typeof
|
|
3759
|
+
let l = Li(e, h);
|
|
3760
|
+
if (!l)
|
|
3761
|
+
l = (o = (n = (r = (i = ce()).handleMissingMessage) == null ? void 0 : r.call(i, { locale: h, id: e, defaultValue: u })) != null ? n : u) != null ? o : e;
|
|
3762
|
+
else if (typeof l != "string")
|
|
3737
3763
|
return console.warn(
|
|
3738
|
-
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof
|
|
3739
|
-
),
|
|
3764
|
+
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
3765
|
+
), l;
|
|
3740
3766
|
if (!a)
|
|
3741
|
-
return
|
|
3742
|
-
let c =
|
|
3767
|
+
return l;
|
|
3768
|
+
let c = l;
|
|
3743
3769
|
try {
|
|
3744
|
-
c =
|
|
3745
|
-
} catch (
|
|
3746
|
-
|
|
3770
|
+
c = no(l, h).format(a);
|
|
3771
|
+
} catch (f) {
|
|
3772
|
+
f instanceof Error && console.warn(
|
|
3747
3773
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
3748
|
-
|
|
3774
|
+
f.message
|
|
3749
3775
|
);
|
|
3750
3776
|
}
|
|
3751
3777
|
return c;
|
|
3752
|
-
},
|
|
3753
|
-
|
|
3754
|
-
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
|
-
function
|
|
3758
|
-
|
|
3759
|
-
}
|
|
3760
|
-
function
|
|
3761
|
-
|
|
3762
|
-
}
|
|
3763
|
-
const
|
|
3778
|
+
}, so = (e, t) => ro(t).format(e), ao = (e, t) => io(t).format(e), lo = (e, t) => to(t).format(e), uo = (e, t = te()) => Li(e, t), co = he([me, Le], () => oo);
|
|
3779
|
+
he([me], () => so);
|
|
3780
|
+
he([me], () => ao);
|
|
3781
|
+
he([me], () => lo);
|
|
3782
|
+
he([me, Le], () => uo);
|
|
3783
|
+
function Ot(e, t) {
|
|
3784
|
+
Ti(e, t);
|
|
3785
|
+
}
|
|
3786
|
+
function ho(e) {
|
|
3787
|
+
me.set(e);
|
|
3788
|
+
}
|
|
3789
|
+
const Mt = {
|
|
3764
3790
|
en: {
|
|
3765
3791
|
loadingText: "Loading, please wait...",
|
|
3766
3792
|
Monthly: "per month",
|
|
@@ -4213,85 +4239,16 @@ const jt = {
|
|
|
4213
4239
|
closeButton: "CLOSE"
|
|
4214
4240
|
}
|
|
4215
4241
|
};
|
|
4216
|
-
|
|
4217
|
-
Copyright (c) Microsoft Corporation.
|
|
4218
|
-
|
|
4219
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
4220
|
-
purpose with or without fee is hereby granted.
|
|
4221
|
-
|
|
4222
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
4223
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
4224
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
4225
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
4226
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
4227
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
4228
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
4229
|
-
***************************************************************************** */
|
|
4230
|
-
var ct = function(e, t) {
|
|
4231
|
-
return ct = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(i, r) {
|
|
4232
|
-
i.__proto__ = r;
|
|
4233
|
-
} || function(i, r) {
|
|
4234
|
-
for (var n in r)
|
|
4235
|
-
Object.prototype.hasOwnProperty.call(r, n) && (i[n] = r[n]);
|
|
4236
|
-
}, ct(e, t);
|
|
4237
|
-
};
|
|
4238
|
-
function Le(e, t) {
|
|
4239
|
-
if (typeof t != "function" && t !== null)
|
|
4240
|
-
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
4241
|
-
ct(e, t);
|
|
4242
|
-
function i() {
|
|
4243
|
-
this.constructor = e;
|
|
4244
|
-
}
|
|
4245
|
-
e.prototype = t === null ? Object.create(t) : (i.prototype = t.prototype, new i());
|
|
4246
|
-
}
|
|
4247
|
-
function ht(e) {
|
|
4248
|
-
var t = typeof Symbol == "function" && Symbol.iterator, i = t && e[t], r = 0;
|
|
4249
|
-
if (i)
|
|
4250
|
-
return i.call(e);
|
|
4251
|
-
if (e && typeof e.length == "number")
|
|
4252
|
-
return {
|
|
4253
|
-
next: function() {
|
|
4254
|
-
return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e };
|
|
4255
|
-
}
|
|
4256
|
-
};
|
|
4257
|
-
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
4258
|
-
}
|
|
4259
|
-
function ft(e, t) {
|
|
4260
|
-
var i = typeof Symbol == "function" && e[Symbol.iterator];
|
|
4261
|
-
if (!i)
|
|
4262
|
-
return e;
|
|
4263
|
-
var r = i.call(e), n, o = [], s;
|
|
4264
|
-
try {
|
|
4265
|
-
for (; (t === void 0 || t-- > 0) && !(n = r.next()).done; )
|
|
4266
|
-
o.push(n.value);
|
|
4267
|
-
} catch (a) {
|
|
4268
|
-
s = { error: a };
|
|
4269
|
-
} finally {
|
|
4270
|
-
try {
|
|
4271
|
-
n && !n.done && (i = r.return) && i.call(r);
|
|
4272
|
-
} finally {
|
|
4273
|
-
if (s)
|
|
4274
|
-
throw s.error;
|
|
4275
|
-
}
|
|
4276
|
-
}
|
|
4277
|
-
return o;
|
|
4278
|
-
}
|
|
4279
|
-
function mt(e, t, i) {
|
|
4280
|
-
if (arguments.length === 2)
|
|
4281
|
-
for (var r = 0, n = t.length, o; r < n; r++)
|
|
4282
|
-
(o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
|
|
4283
|
-
return e.concat(o || t);
|
|
4284
|
-
}
|
|
4285
|
-
function q(e) {
|
|
4242
|
+
function Y(e) {
|
|
4286
4243
|
return typeof e == "function";
|
|
4287
4244
|
}
|
|
4288
|
-
function
|
|
4245
|
+
function Bi(e) {
|
|
4289
4246
|
var t = function(r) {
|
|
4290
4247
|
Error.call(r), r.stack = new Error().stack;
|
|
4291
4248
|
}, i = e(t);
|
|
4292
4249
|
return i.prototype = Object.create(Error.prototype), i.prototype.constructor = i, i;
|
|
4293
4250
|
}
|
|
4294
|
-
var
|
|
4251
|
+
var qe = Bi(function(e) {
|
|
4295
4252
|
return function(i) {
|
|
4296
4253
|
e(this), this.message = i ? i.length + ` errors occurred during unsubscription:
|
|
4297
4254
|
` + i.map(function(r, n) {
|
|
@@ -4300,13 +4257,13 @@ var Ke = Mi(function(e) {
|
|
|
4300
4257
|
`) : "", this.name = "UnsubscriptionError", this.errors = i;
|
|
4301
4258
|
};
|
|
4302
4259
|
});
|
|
4303
|
-
function
|
|
4260
|
+
function ut(e, t) {
|
|
4304
4261
|
if (e) {
|
|
4305
4262
|
var i = e.indexOf(t);
|
|
4306
4263
|
0 <= i && e.splice(i, 1);
|
|
4307
4264
|
}
|
|
4308
4265
|
}
|
|
4309
|
-
var
|
|
4266
|
+
var Ue = function() {
|
|
4310
4267
|
function e(t) {
|
|
4311
4268
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
4312
4269
|
}
|
|
@@ -4318,9 +4275,9 @@ var $e = function() {
|
|
|
4318
4275
|
if (s)
|
|
4319
4276
|
if (this._parentage = null, Array.isArray(s))
|
|
4320
4277
|
try {
|
|
4321
|
-
for (var a =
|
|
4322
|
-
var
|
|
4323
|
-
|
|
4278
|
+
for (var a = Ke(s), h = a.next(); !h.done; h = a.next()) {
|
|
4279
|
+
var u = h.value;
|
|
4280
|
+
u.remove(this);
|
|
4324
4281
|
}
|
|
4325
4282
|
} catch (_) {
|
|
4326
4283
|
t = { error: _ };
|
|
@@ -4334,30 +4291,30 @@ var $e = function() {
|
|
|
4334
4291
|
}
|
|
4335
4292
|
else
|
|
4336
4293
|
s.remove(this);
|
|
4337
|
-
var
|
|
4338
|
-
if (
|
|
4294
|
+
var l = this.initialTeardown;
|
|
4295
|
+
if (Y(l))
|
|
4339
4296
|
try {
|
|
4340
|
-
|
|
4297
|
+
l();
|
|
4341
4298
|
} catch (_) {
|
|
4342
|
-
o = _ instanceof
|
|
4299
|
+
o = _ instanceof qe ? _.errors : [_];
|
|
4343
4300
|
}
|
|
4344
4301
|
var c = this._finalizers;
|
|
4345
4302
|
if (c) {
|
|
4346
4303
|
this._finalizers = null;
|
|
4347
4304
|
try {
|
|
4348
|
-
for (var
|
|
4349
|
-
var p =
|
|
4305
|
+
for (var f = Ke(c), m = f.next(); !m.done; m = f.next()) {
|
|
4306
|
+
var p = m.value;
|
|
4350
4307
|
try {
|
|
4351
|
-
|
|
4308
|
+
kt(p);
|
|
4352
4309
|
} catch (_) {
|
|
4353
|
-
o = o ?? [], _ instanceof
|
|
4310
|
+
o = o ?? [], _ instanceof qe ? o = se(se([], et(o)), et(_.errors)) : o.push(_);
|
|
4354
4311
|
}
|
|
4355
4312
|
}
|
|
4356
4313
|
} catch (_) {
|
|
4357
4314
|
r = { error: _ };
|
|
4358
4315
|
} finally {
|
|
4359
4316
|
try {
|
|
4360
|
-
|
|
4317
|
+
m && !m.done && (n = f.return) && n.call(f);
|
|
4361
4318
|
} finally {
|
|
4362
4319
|
if (r)
|
|
4363
4320
|
throw r.error;
|
|
@@ -4365,13 +4322,13 @@ var $e = function() {
|
|
|
4365
4322
|
}
|
|
4366
4323
|
}
|
|
4367
4324
|
if (o)
|
|
4368
|
-
throw new
|
|
4325
|
+
throw new qe(o);
|
|
4369
4326
|
}
|
|
4370
4327
|
}, e.prototype.add = function(t) {
|
|
4371
4328
|
var i;
|
|
4372
4329
|
if (t && t !== this)
|
|
4373
4330
|
if (this.closed)
|
|
4374
|
-
|
|
4331
|
+
kt(t);
|
|
4375
4332
|
else {
|
|
4376
4333
|
if (t instanceof e) {
|
|
4377
4334
|
if (t.closed || t._hasParent(this))
|
|
@@ -4388,52 +4345,52 @@ var $e = function() {
|
|
|
4388
4345
|
this._parentage = Array.isArray(i) ? (i.push(t), i) : i ? [i, t] : t;
|
|
4389
4346
|
}, e.prototype._removeParent = function(t) {
|
|
4390
4347
|
var i = this._parentage;
|
|
4391
|
-
i === t ? this._parentage = null : Array.isArray(i) &&
|
|
4348
|
+
i === t ? this._parentage = null : Array.isArray(i) && ut(i, t);
|
|
4392
4349
|
}, e.prototype.remove = function(t) {
|
|
4393
4350
|
var i = this._finalizers;
|
|
4394
|
-
i &&
|
|
4351
|
+
i && ut(i, t), t instanceof e && t._removeParent(this);
|
|
4395
4352
|
}, e.EMPTY = function() {
|
|
4396
4353
|
var t = new e();
|
|
4397
4354
|
return t.closed = !0, t;
|
|
4398
4355
|
}(), e;
|
|
4399
|
-
}(),
|
|
4400
|
-
function
|
|
4401
|
-
return e instanceof
|
|
4356
|
+
}(), Ni = Ue.EMPTY;
|
|
4357
|
+
function Ii(e) {
|
|
4358
|
+
return e instanceof Ue || e && "closed" in e && Y(e.remove) && Y(e.add) && Y(e.unsubscribe);
|
|
4402
4359
|
}
|
|
4403
|
-
function
|
|
4404
|
-
|
|
4360
|
+
function kt(e) {
|
|
4361
|
+
Y(e) ? e() : e.unsubscribe();
|
|
4405
4362
|
}
|
|
4406
|
-
var
|
|
4363
|
+
var mo = {
|
|
4407
4364
|
Promise: void 0
|
|
4408
|
-
},
|
|
4365
|
+
}, fo = {
|
|
4409
4366
|
setTimeout: function(e, t) {
|
|
4410
4367
|
for (var i = [], r = 2; r < arguments.length; r++)
|
|
4411
4368
|
i[r - 2] = arguments[r];
|
|
4412
|
-
return setTimeout.apply(void 0,
|
|
4369
|
+
return setTimeout.apply(void 0, se([e, t], et(i)));
|
|
4413
4370
|
},
|
|
4414
4371
|
clearTimeout: function(e) {
|
|
4415
4372
|
return clearTimeout(e);
|
|
4416
4373
|
},
|
|
4417
4374
|
delegate: void 0
|
|
4418
4375
|
};
|
|
4419
|
-
function
|
|
4420
|
-
|
|
4376
|
+
function po(e) {
|
|
4377
|
+
fo.setTimeout(function() {
|
|
4421
4378
|
throw e;
|
|
4422
4379
|
});
|
|
4423
4380
|
}
|
|
4424
|
-
function
|
|
4381
|
+
function Ct() {
|
|
4425
4382
|
}
|
|
4426
4383
|
function Be(e) {
|
|
4427
4384
|
e();
|
|
4428
4385
|
}
|
|
4429
|
-
var
|
|
4430
|
-
|
|
4386
|
+
var Hi = function(e) {
|
|
4387
|
+
q(t, e);
|
|
4431
4388
|
function t(i) {
|
|
4432
4389
|
var r = e.call(this) || this;
|
|
4433
|
-
return r.isStopped = !1, i ? (r.destination = i,
|
|
4390
|
+
return r.isStopped = !1, i ? (r.destination = i, Ii(i) && i.add(r)) : r.destination = yo, r;
|
|
4434
4391
|
}
|
|
4435
4392
|
return t.create = function(i, r, n) {
|
|
4436
|
-
return new
|
|
4393
|
+
return new ct(i, r, n);
|
|
4437
4394
|
}, t.prototype.next = function(i) {
|
|
4438
4395
|
this.isStopped || this._next(i);
|
|
4439
4396
|
}, t.prototype.error = function(i) {
|
|
@@ -4457,7 +4414,7 @@ var Di = function(e) {
|
|
|
4457
4414
|
this.unsubscribe();
|
|
4458
4415
|
}
|
|
4459
4416
|
}, t;
|
|
4460
|
-
}(
|
|
4417
|
+
}(Ue), bo = function() {
|
|
4461
4418
|
function e(t) {
|
|
4462
4419
|
this.partialObserver = t;
|
|
4463
4420
|
}
|
|
@@ -4488,43 +4445,43 @@ var Di = function(e) {
|
|
|
4488
4445
|
we(i);
|
|
4489
4446
|
}
|
|
4490
4447
|
}, e;
|
|
4491
|
-
}(),
|
|
4492
|
-
|
|
4448
|
+
}(), ct = function(e) {
|
|
4449
|
+
q(t, e);
|
|
4493
4450
|
function t(i, r, n) {
|
|
4494
4451
|
var o = e.call(this) || this, s;
|
|
4495
|
-
return
|
|
4452
|
+
return Y(i) || !i ? s = {
|
|
4496
4453
|
next: i ?? void 0,
|
|
4497
4454
|
error: r ?? void 0,
|
|
4498
4455
|
complete: n ?? void 0
|
|
4499
|
-
} : s = i, o.destination = new
|
|
4456
|
+
} : s = i, o.destination = new bo(s), o;
|
|
4500
4457
|
}
|
|
4501
4458
|
return t;
|
|
4502
|
-
}(
|
|
4459
|
+
}(Hi);
|
|
4503
4460
|
function we(e) {
|
|
4504
|
-
|
|
4461
|
+
po(e);
|
|
4505
4462
|
}
|
|
4506
|
-
function
|
|
4463
|
+
function go(e) {
|
|
4507
4464
|
throw e;
|
|
4508
4465
|
}
|
|
4509
|
-
var
|
|
4466
|
+
var yo = {
|
|
4510
4467
|
closed: !0,
|
|
4511
|
-
next:
|
|
4512
|
-
error:
|
|
4513
|
-
complete:
|
|
4514
|
-
},
|
|
4468
|
+
next: Ct,
|
|
4469
|
+
error: go,
|
|
4470
|
+
complete: Ct
|
|
4471
|
+
}, vo = function() {
|
|
4515
4472
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
4516
4473
|
}();
|
|
4517
|
-
function
|
|
4474
|
+
function _o(e) {
|
|
4518
4475
|
return e;
|
|
4519
4476
|
}
|
|
4520
|
-
function
|
|
4521
|
-
return e.length === 0 ?
|
|
4477
|
+
function Eo(e) {
|
|
4478
|
+
return e.length === 0 ? _o : e.length === 1 ? e[0] : function(i) {
|
|
4522
4479
|
return e.reduce(function(r, n) {
|
|
4523
4480
|
return n(r);
|
|
4524
4481
|
}, i);
|
|
4525
4482
|
};
|
|
4526
4483
|
}
|
|
4527
|
-
var
|
|
4484
|
+
var Dt = function() {
|
|
4528
4485
|
function e(t) {
|
|
4529
4486
|
t && (this._subscribe = t);
|
|
4530
4487
|
}
|
|
@@ -4532,7 +4489,7 @@ var Ft = function() {
|
|
|
4532
4489
|
var i = new e();
|
|
4533
4490
|
return i.source = this, i.operator = t, i;
|
|
4534
4491
|
}, e.prototype.subscribe = function(t, i, r) {
|
|
4535
|
-
var n = this, o =
|
|
4492
|
+
var n = this, o = xo(t) ? t : new ct(t, i, r);
|
|
4536
4493
|
return Be(function() {
|
|
4537
4494
|
var s = n, a = s.operator, h = s.source;
|
|
4538
4495
|
o.add(a ? a.call(o, h) : h ? n._subscribe(o) : n._trySubscribe(o));
|
|
@@ -4545,8 +4502,8 @@ var Ft = function() {
|
|
|
4545
4502
|
}
|
|
4546
4503
|
}, e.prototype.forEach = function(t, i) {
|
|
4547
4504
|
var r = this;
|
|
4548
|
-
return i =
|
|
4549
|
-
var s = new
|
|
4505
|
+
return i = Rt(i), new i(function(n, o) {
|
|
4506
|
+
var s = new ct({
|
|
4550
4507
|
next: function(a) {
|
|
4551
4508
|
try {
|
|
4552
4509
|
t(a);
|
|
@@ -4562,15 +4519,15 @@ var Ft = function() {
|
|
|
4562
4519
|
}, e.prototype._subscribe = function(t) {
|
|
4563
4520
|
var i;
|
|
4564
4521
|
return (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(t);
|
|
4565
|
-
}, e.prototype[
|
|
4522
|
+
}, e.prototype[vo] = function() {
|
|
4566
4523
|
return this;
|
|
4567
4524
|
}, e.prototype.pipe = function() {
|
|
4568
4525
|
for (var t = [], i = 0; i < arguments.length; i++)
|
|
4569
4526
|
t[i] = arguments[i];
|
|
4570
|
-
return
|
|
4527
|
+
return Eo(t)(this);
|
|
4571
4528
|
}, e.prototype.toPromise = function(t) {
|
|
4572
4529
|
var i = this;
|
|
4573
|
-
return t =
|
|
4530
|
+
return t = Rt(t), new t(function(r, n) {
|
|
4574
4531
|
var o;
|
|
4575
4532
|
i.subscribe(function(s) {
|
|
4576
4533
|
return o = s;
|
|
@@ -4584,32 +4541,32 @@ var Ft = function() {
|
|
|
4584
4541
|
return new e(t);
|
|
4585
4542
|
}, e;
|
|
4586
4543
|
}();
|
|
4587
|
-
function
|
|
4544
|
+
function Rt(e) {
|
|
4588
4545
|
var t;
|
|
4589
|
-
return (t = e ??
|
|
4546
|
+
return (t = e ?? mo.Promise) !== null && t !== void 0 ? t : Promise;
|
|
4590
4547
|
}
|
|
4591
|
-
function
|
|
4592
|
-
return e &&
|
|
4548
|
+
function Lo(e) {
|
|
4549
|
+
return e && Y(e.next) && Y(e.error) && Y(e.complete);
|
|
4593
4550
|
}
|
|
4594
|
-
function
|
|
4595
|
-
return e && e instanceof
|
|
4551
|
+
function xo(e) {
|
|
4552
|
+
return e && e instanceof Hi || Lo(e) && Ii(e);
|
|
4596
4553
|
}
|
|
4597
|
-
var
|
|
4554
|
+
var To = Bi(function(e) {
|
|
4598
4555
|
return function() {
|
|
4599
4556
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
4600
4557
|
};
|
|
4601
|
-
}),
|
|
4602
|
-
|
|
4558
|
+
}), Oi = function(e) {
|
|
4559
|
+
q(t, e);
|
|
4603
4560
|
function t() {
|
|
4604
4561
|
var i = e.call(this) || this;
|
|
4605
4562
|
return i.closed = !1, i.currentObservers = null, i.observers = [], i.isStopped = !1, i.hasError = !1, i.thrownError = null, i;
|
|
4606
4563
|
}
|
|
4607
4564
|
return t.prototype.lift = function(i) {
|
|
4608
|
-
var r = new
|
|
4565
|
+
var r = new Ut(this, this);
|
|
4609
4566
|
return r.operator = i, r;
|
|
4610
4567
|
}, t.prototype._throwIfClosed = function() {
|
|
4611
4568
|
if (this.closed)
|
|
4612
|
-
throw new
|
|
4569
|
+
throw new To();
|
|
4613
4570
|
}, t.prototype.next = function(i) {
|
|
4614
4571
|
var r = this;
|
|
4615
4572
|
Be(function() {
|
|
@@ -4617,12 +4574,12 @@ var Bo = Mi(function(e) {
|
|
|
4617
4574
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
4618
4575
|
r.currentObservers || (r.currentObservers = Array.from(r.observers));
|
|
4619
4576
|
try {
|
|
4620
|
-
for (var s =
|
|
4577
|
+
for (var s = Ke(r.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
4621
4578
|
var h = a.value;
|
|
4622
4579
|
h.next(i);
|
|
4623
4580
|
}
|
|
4624
|
-
} catch (
|
|
4625
|
-
n = { error:
|
|
4581
|
+
} catch (u) {
|
|
4582
|
+
n = { error: u };
|
|
4626
4583
|
} finally {
|
|
4627
4584
|
try {
|
|
4628
4585
|
a && !a.done && (o = s.return) && o.call(s);
|
|
@@ -4666,20 +4623,20 @@ var Bo = Mi(function(e) {
|
|
|
4666
4623
|
return this._throwIfClosed(), this._checkFinalizedStatuses(i), this._innerSubscribe(i);
|
|
4667
4624
|
}, t.prototype._innerSubscribe = function(i) {
|
|
4668
4625
|
var r = this, n = this, o = n.hasError, s = n.isStopped, a = n.observers;
|
|
4669
|
-
return o || s ?
|
|
4670
|
-
r.currentObservers = null,
|
|
4626
|
+
return o || s ? Ni : (this.currentObservers = null, a.push(i), new Ue(function() {
|
|
4627
|
+
r.currentObservers = null, ut(a, i);
|
|
4671
4628
|
}));
|
|
4672
4629
|
}, t.prototype._checkFinalizedStatuses = function(i) {
|
|
4673
4630
|
var r = this, n = r.hasError, o = r.thrownError, s = r.isStopped;
|
|
4674
4631
|
n ? i.error(o) : s && i.complete();
|
|
4675
4632
|
}, t.prototype.asObservable = function() {
|
|
4676
|
-
var i = new
|
|
4633
|
+
var i = new Dt();
|
|
4677
4634
|
return i.source = this, i;
|
|
4678
4635
|
}, t.create = function(i, r) {
|
|
4679
|
-
return new
|
|
4636
|
+
return new Ut(i, r);
|
|
4680
4637
|
}, t;
|
|
4681
|
-
}(
|
|
4682
|
-
|
|
4638
|
+
}(Dt), Ut = function(e) {
|
|
4639
|
+
q(t, e);
|
|
4683
4640
|
function t(i, r) {
|
|
4684
4641
|
var n = e.call(this) || this;
|
|
4685
4642
|
return n.destination = i, n.source = r, n;
|
|
@@ -4695,17 +4652,17 @@ var Bo = Mi(function(e) {
|
|
|
4695
4652
|
(r = (i = this.destination) === null || i === void 0 ? void 0 : i.complete) === null || r === void 0 || r.call(i);
|
|
4696
4653
|
}, t.prototype._subscribe = function(i) {
|
|
4697
4654
|
var r, n;
|
|
4698
|
-
return (n = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(i)) !== null && n !== void 0 ? n :
|
|
4655
|
+
return (n = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(i)) !== null && n !== void 0 ? n : Ni;
|
|
4699
4656
|
}, t;
|
|
4700
|
-
}(
|
|
4657
|
+
}(Oi), Mi = {
|
|
4701
4658
|
now: function() {
|
|
4702
|
-
return (
|
|
4659
|
+
return (Mi.delegate || Date).now();
|
|
4703
4660
|
},
|
|
4704
4661
|
delegate: void 0
|
|
4705
|
-
},
|
|
4706
|
-
|
|
4662
|
+
}, wo = function(e) {
|
|
4663
|
+
q(t, e);
|
|
4707
4664
|
function t(i, r, n) {
|
|
4708
|
-
i === void 0 && (i = 1 / 0), r === void 0 && (r = 1 / 0), n === void 0 && (n =
|
|
4665
|
+
i === void 0 && (i = 1 / 0), r === void 0 && (r = 1 / 0), n === void 0 && (n = Mi);
|
|
4709
4666
|
var o = e.call(this) || this;
|
|
4710
4667
|
return o._bufferSize = i, o._windowTime = r, o._timestampProvider = n, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = r === 1 / 0, o._bufferSize = Math.max(1, i), o._windowTime = Math.max(1, r), o;
|
|
4711
4668
|
}
|
|
@@ -4720,28 +4677,28 @@ var Bo = Mi(function(e) {
|
|
|
4720
4677
|
}, t.prototype._trimBuffer = function() {
|
|
4721
4678
|
var i = this, r = i._bufferSize, n = i._timestampProvider, o = i._buffer, s = i._infiniteTimeWindow, a = (s ? 1 : 2) * r;
|
|
4722
4679
|
if (r < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
|
|
4723
|
-
for (var h = n.now(),
|
|
4724
|
-
|
|
4725
|
-
|
|
4680
|
+
for (var h = n.now(), u = 0, l = 1; l < o.length && o[l] <= h; l += 2)
|
|
4681
|
+
u = l;
|
|
4682
|
+
u && o.splice(0, u + 1);
|
|
4726
4683
|
}
|
|
4727
4684
|
}, t;
|
|
4728
|
-
}(
|
|
4729
|
-
const
|
|
4730
|
-
if (
|
|
4731
|
-
const i = new
|
|
4732
|
-
|
|
4685
|
+
}(Oi);
|
|
4686
|
+
const jt = [], $t = {}, So = (e, t = 0) => {
|
|
4687
|
+
if (jt.indexOf(e) == -1) {
|
|
4688
|
+
const i = new wo(t);
|
|
4689
|
+
$t[e] = i, jt.push(e);
|
|
4733
4690
|
}
|
|
4734
|
-
return
|
|
4691
|
+
return $t[e];
|
|
4735
4692
|
};
|
|
4736
|
-
window.emWidgets = { topic:
|
|
4737
|
-
const
|
|
4738
|
-
function
|
|
4693
|
+
window.emWidgets = { topic: So };
|
|
4694
|
+
const Po = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
|
|
4695
|
+
function Ao(e, t) {
|
|
4739
4696
|
if (e) {
|
|
4740
4697
|
const i = document.createElement("style");
|
|
4741
4698
|
i.innerHTML = t, e.appendChild(i);
|
|
4742
4699
|
}
|
|
4743
4700
|
}
|
|
4744
|
-
function
|
|
4701
|
+
function Bo(e, t) {
|
|
4745
4702
|
const i = new URL(t);
|
|
4746
4703
|
fetch(i.href).then((r) => r.text()).then((r) => {
|
|
4747
4704
|
const n = document.createElement("style");
|
|
@@ -4750,7 +4707,7 @@ function Mo(e, t) {
|
|
|
4750
4707
|
console.error("There was an error while trying to load client styling from URL", r);
|
|
4751
4708
|
});
|
|
4752
4709
|
}
|
|
4753
|
-
function
|
|
4710
|
+
function No(e, t, i) {
|
|
4754
4711
|
if (window.emMessageBus) {
|
|
4755
4712
|
const r = document.createElement("style");
|
|
4756
4713
|
window.emMessageBus.subscribe(t, (n) => {
|
|
@@ -4758,31 +4715,31 @@ function ko(e, t, i) {
|
|
|
4758
4715
|
});
|
|
4759
4716
|
}
|
|
4760
4717
|
}
|
|
4761
|
-
function
|
|
4762
|
-
|
|
4718
|
+
function Io(e) {
|
|
4719
|
+
tr(e, "svelte-1uoztsw", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}input{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:4px;box-shadow:none;font-size:1.4rem;min-height:3.5rem;border:1px solid var(--emw--color-gray-100, #E6E6E6);background:var(--emw--color-white, #FFFFFF);color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A))}input:focus,input :focus-within,input :focus-visible,input :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}select{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:4px;box-shadow:none;font-size:1.4rem;min-height:3.5rem;cursor:pointer;color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));border:1px solid var(--emw--color-gray-100, #E6E6E6);background:var(--emw--color-white, #FFFFFF)}select:focus,select :focus-within,select :focus-visible,select :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}.player-account-gaming-limits-page-2-gmcore{color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A))}.LimitsInteractionArea{display:flex;flex-direction:column;margin-top:12px}.LimitsInteractionArea.Desktop{width:320px;padding:0 12px}.LimitsList.Desktop{display:flex;justify-content:space-between;margin:0 auto}.LimitWrapper{background:var(--emw--color-white, #fff);font-size:1.3rem;border:1px solid var(--emw--color-gray-300, #58586B);padding:8px 12px;border-radius:4px}.LimitWrapper:not(:first-child){margin-top:12px}.LimitWrapper.Desktop{width:45%;margin:12px}.LimitSubmitButton,.ConfirmButton{background:var(--emw--color-valid, var(--emw--color-green, #48952a));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:0;border-radius:2px;padding:12px;cursor:pointer}.LimitSubmitButton:disabled,.ConfirmButton:disabled{background:rgba(116, 180, 27, 0.322);cursor:not-allowed}.LimitDetails{padding:12px 0 12px 4px}.LimitDetails:not(:last-child){border-bottom:1px solid var(--emw--color-gray-50, #F9F8F8)}.LimitDetailsTextWrapper{font-size:1.3rem;color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A))}.PendingLimit{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A))}.LimitTitle{font-size:1.5rem}.PopupOverlay{position:absolute;top:0;left:0;background-color:rgba(0, 0, 0, 0.5);height:100vh;width:100vw;display:flex;justify-content:center;align-items:center}.PopupContainer{background:var(--emw--color-white, #FFFFFF);font-size:1rem;color:var(--emw--color-black, #000000);width:80vw;height:350px;padding:12px;border-radius:4px;display:flex;flex-direction:column;justify-content:space-between}.PopupContainer.Desktop{width:30vw}.PopupTitleWrapper{display:flex;justify-content:space-between;font-size:1.3rem}.PopupTitleWrapper button{background:var(--emw--color-white, #FFFFFF);font-size:1rem;border:0;cursor:pointer}.DescriptionParagraph{text-align:center;font-size:1.3rem;padding:12px}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center}.ResultIconWrapper svg{height:auto;width:60px;margin:12px}.ResultIconWrapper p{color:#666}.LimitDetails{display:flex;justify-content:space-between;align-items:center}.RemoveLimitButton{height:28px;font-size:0.7rem;background:var(--emw--color-white, #FFFFFF);color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B);border-radius:4px;padding:0 4px;cursor:pointer}.RemoveLimitButton:hover{background:var(--emw--color-gray-300, #58586B)}@keyframes rotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@-webkit-keyframes rotate{from{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}.LoadingIndicator{width:100px;height:100px;margin:110px auto 0;border:solid 10px rgb(122, 195, 23);border-radius:50%;border-right-color:transparent;border-bottom-color:transparent;-webkit-transition:all 0.5s ease-in;-webkit-animation-name:rotate;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear;transition:all 0.5s ease-in;animation-name:rotate;animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:linear}');
|
|
4763
4720
|
}
|
|
4764
|
-
function
|
|
4721
|
+
function Ft(e, t, i) {
|
|
4765
4722
|
const r = e.slice();
|
|
4766
4723
|
return r[50] = t[i], r;
|
|
4767
4724
|
}
|
|
4768
|
-
function
|
|
4725
|
+
function Gt(e, t, i) {
|
|
4769
4726
|
const r = e.slice();
|
|
4770
4727
|
return r[53] = t[i], r;
|
|
4771
4728
|
}
|
|
4772
|
-
function
|
|
4729
|
+
function zt(e, t, i) {
|
|
4773
4730
|
const r = e.slice();
|
|
4774
4731
|
return r[53] = t[i], r;
|
|
4775
4732
|
}
|
|
4776
|
-
function
|
|
4733
|
+
function Wt(e, t, i) {
|
|
4777
4734
|
const r = e.slice();
|
|
4778
4735
|
return r[58] = t[i], r;
|
|
4779
4736
|
}
|
|
4780
|
-
function
|
|
4737
|
+
function Vt(e) {
|
|
4781
4738
|
let t, i;
|
|
4782
4739
|
function r(s, a) {
|
|
4783
4740
|
return (
|
|
4784
4741
|
/*popupReady*/
|
|
4785
|
-
s[11] ?
|
|
4742
|
+
s[11] ? Ho : Oo
|
|
4786
4743
|
);
|
|
4787
4744
|
}
|
|
4788
4745
|
let n = r(e), o = n(e);
|
|
@@ -4792,38 +4749,38 @@ function Jt(e) {
|
|
|
4792
4749
|
(e[14] ? "Desktop" : "")), g(t, "class", "PopupOverlay");
|
|
4793
4750
|
},
|
|
4794
4751
|
m(s, a) {
|
|
4795
|
-
|
|
4752
|
+
I(s, t, a), d(t, i), o.m(i, null);
|
|
4796
4753
|
},
|
|
4797
4754
|
p(s, a) {
|
|
4798
4755
|
n === (n = r(s)) && o ? o.p(s, a) : (o.d(1), o = n(s), o && (o.c(), o.m(i, null)));
|
|
4799
4756
|
},
|
|
4800
4757
|
d(s) {
|
|
4801
|
-
s &&
|
|
4758
|
+
s && N(t), o.d();
|
|
4802
4759
|
}
|
|
4803
4760
|
};
|
|
4804
4761
|
}
|
|
4805
|
-
function
|
|
4762
|
+
function Ho(e) {
|
|
4806
4763
|
let t, i, r = (
|
|
4807
4764
|
/*$_*/
|
|
4808
4765
|
e[13]("popupTitle") + ""
|
|
4809
|
-
), n, o, s, a, h,
|
|
4810
|
-
e[9] &&
|
|
4766
|
+
), n, o, s, a, h, u, l, c, f, m, p, _, R, P = !/*limitError*/
|
|
4767
|
+
e[9] && Xt(e);
|
|
4811
4768
|
return {
|
|
4812
4769
|
c() {
|
|
4813
|
-
t = v("div"), i = v("span"), n = $(r), o =
|
|
4770
|
+
t = v("div"), i = v("span"), n = $(r), o = j(), s = v("button"), s.textContent = "X", a = j(), h = v("div"), u = v("div"), P && P.c(), l = j(), c = v("p"), f = $(
|
|
4814
4771
|
/*popupContent*/
|
|
4815
4772
|
e[12]
|
|
4816
|
-
),
|
|
4773
|
+
), m = j(), p = v("button"), p.textContent = "OK", g(i, "class", "PopupTitle"), g(s, "class", "ClosePopup"), g(t, "class", "PopupTitleWrapper"), g(u, "class", "ResultIconWrapper"), g(c, "class", "DescriptionParagraph"), g(h, "class", "DescriptionWrapper"), g(p, "class", "ConfirmButton");
|
|
4817
4774
|
},
|
|
4818
4775
|
m(L, w) {
|
|
4819
|
-
|
|
4820
|
-
|
|
4776
|
+
I(L, t, w), d(t, i), d(i, n), d(t, o), d(t, s), I(L, a, w), I(L, h, w), d(h, u), P && P.m(u, null), d(h, l), d(h, c), d(c, f), I(L, m, w), I(L, p, w), _ || (R = [
|
|
4777
|
+
Z(
|
|
4821
4778
|
s,
|
|
4822
4779
|
"click",
|
|
4823
4780
|
/*closePopup*/
|
|
4824
4781
|
e[20]
|
|
4825
4782
|
),
|
|
4826
|
-
|
|
4783
|
+
Z(
|
|
4827
4784
|
p,
|
|
4828
4785
|
"click",
|
|
4829
4786
|
/*closePopup*/
|
|
@@ -4835,58 +4792,58 @@ function Do(e) {
|
|
|
4835
4792
|
w[0] & /*$_*/
|
|
4836
4793
|
8192 && r !== (r = /*$_*/
|
|
4837
4794
|
L[13]("popupTitle") + "") && W(n, r), /*limitError*/
|
|
4838
|
-
L[9] ?
|
|
4795
|
+
L[9] ? P && (P.d(1), P = null) : P ? P.p(L, w) : (P = Xt(L), P.c(), P.m(u, null)), w[0] & /*popupContent*/
|
|
4839
4796
|
4096 && W(
|
|
4840
|
-
|
|
4797
|
+
f,
|
|
4841
4798
|
/*popupContent*/
|
|
4842
4799
|
L[12]
|
|
4843
4800
|
);
|
|
4844
4801
|
},
|
|
4845
4802
|
d(L) {
|
|
4846
|
-
L && (
|
|
4803
|
+
L && (N(t), N(a), N(h), N(m), N(p)), P && P.d(), _ = !1, ee(R);
|
|
4847
4804
|
}
|
|
4848
4805
|
};
|
|
4849
4806
|
}
|
|
4850
|
-
function
|
|
4807
|
+
function Oo(e) {
|
|
4851
4808
|
let t;
|
|
4852
4809
|
return {
|
|
4853
4810
|
c() {
|
|
4854
4811
|
t = v("div"), g(t, "class", "LoadingIndicator");
|
|
4855
4812
|
},
|
|
4856
4813
|
m(i, r) {
|
|
4857
|
-
|
|
4814
|
+
I(i, t, r);
|
|
4858
4815
|
},
|
|
4859
|
-
p:
|
|
4816
|
+
p: U,
|
|
4860
4817
|
d(i) {
|
|
4861
|
-
i &&
|
|
4818
|
+
i && N(t);
|
|
4862
4819
|
}
|
|
4863
4820
|
};
|
|
4864
4821
|
}
|
|
4865
|
-
function
|
|
4866
|
-
let t, i, r, n, o, s, a, h,
|
|
4822
|
+
function Xt(e) {
|
|
4823
|
+
let t, i, r, n, o, s, a, h, u = (
|
|
4867
4824
|
/*$_*/
|
|
4868
4825
|
e[13]("popupSuccess") + ""
|
|
4869
|
-
),
|
|
4826
|
+
), l;
|
|
4870
4827
|
return {
|
|
4871
4828
|
c() {
|
|
4872
|
-
t =
|
|
4873
|
-
`), o =
|
|
4829
|
+
t = pe("svg"), i = pe("defs"), r = pe("style"), n = $(`.fil0 {fill:black;fill-rule:nonzero}
|
|
4830
|
+
`), o = pe("g"), s = pe("polygon"), a = j(), h = v("p"), l = $(u), g(r, "type", "text/css"), g(s, "class", "fil0"), g(s, "points", "0,38 10,25 36,47 78,0 90,11 37,69 "), g(t, "xmlns", "http://www.w3.org/2000/svg"), g(t, "xmlns:xlink", "http://www.w3.org/1999/xlink"), g(t, "xml:space", "preserve"), g(t, "version", "1.1"), Ge(t, "shape-rendering", "geometricPrecision"), Ge(t, "text-rendering", "geometricPrecision"), Ge(t, "image-rendering", "optimizeQuality"), g(t, "viewBox", "0 0 90 69"), g(t, "x", "0px"), g(t, "y", "0px"), g(t, "fill-rule", "evenodd"), g(t, "clip-rule", "evenodd");
|
|
4874
4831
|
},
|
|
4875
|
-
m(c,
|
|
4876
|
-
|
|
4832
|
+
m(c, f) {
|
|
4833
|
+
I(c, t, f), d(t, i), d(i, r), d(r, n), d(t, o), d(o, s), I(c, a, f), I(c, h, f), d(h, l);
|
|
4877
4834
|
},
|
|
4878
|
-
p(c,
|
|
4879
|
-
|
|
4880
|
-
8192 &&
|
|
4881
|
-
c[13]("popupSuccess") + "") && W(
|
|
4835
|
+
p(c, f) {
|
|
4836
|
+
f[0] & /*$_*/
|
|
4837
|
+
8192 && u !== (u = /*$_*/
|
|
4838
|
+
c[13]("popupSuccess") + "") && W(l, u);
|
|
4882
4839
|
},
|
|
4883
4840
|
d(c) {
|
|
4884
|
-
c && (
|
|
4841
|
+
c && (N(t), N(a), N(h));
|
|
4885
4842
|
}
|
|
4886
4843
|
};
|
|
4887
4844
|
}
|
|
4888
|
-
function
|
|
4889
|
-
let t, i, r, n, o, s, a, h,
|
|
4845
|
+
function Mo(e) {
|
|
4846
|
+
let t, i, r, n, o, s, a, h, u, l = (
|
|
4890
4847
|
/*multiplePeriods*/
|
|
4891
4848
|
e[6] ? `${/*$_*/
|
|
4892
4849
|
e[13]("amount")}` : `${/*$_*/
|
|
@@ -4894,59 +4851,59 @@ function jo(e) {
|
|
|
4894
4851
|
e[13](`gamingLimits.${/*selectedPeriod*/
|
|
4895
4852
|
e[2]}`)} ${/*$_*/
|
|
4896
4853
|
e[13]("limit")}`
|
|
4897
|
-
), c,
|
|
4854
|
+
), c, f, m, p, _, R = (
|
|
4898
4855
|
/*$_*/
|
|
4899
4856
|
e[13]("setLimit") + ""
|
|
4900
|
-
),
|
|
4857
|
+
), P, L, w, H = K(
|
|
4901
4858
|
/*availableLimits*/
|
|
4902
4859
|
e[15]
|
|
4903
|
-
),
|
|
4904
|
-
for (let E = 0; E <
|
|
4905
|
-
|
|
4906
|
-
let
|
|
4860
|
+
), B = [];
|
|
4861
|
+
for (let E = 0; E < H.length; E += 1)
|
|
4862
|
+
B[E] = Yt(zt(e, H, E));
|
|
4863
|
+
let M = (
|
|
4907
4864
|
/*multipleLimits*/
|
|
4908
|
-
e[5] &&
|
|
4865
|
+
e[5] && qt(e)
|
|
4909
4866
|
), D = (
|
|
4910
4867
|
/*multiplePeriods*/
|
|
4911
|
-
e[6] &&
|
|
4868
|
+
e[6] && Qt(e)
|
|
4912
4869
|
);
|
|
4913
4870
|
return {
|
|
4914
4871
|
c() {
|
|
4915
4872
|
t = v("div"), i = v("div"), r = v("div");
|
|
4916
|
-
for (let E = 0; E <
|
|
4917
|
-
|
|
4918
|
-
n =
|
|
4919
|
-
(e[14] ? "Desktop" : "")), g(
|
|
4873
|
+
for (let E = 0; E < B.length; E += 1)
|
|
4874
|
+
B[E].c();
|
|
4875
|
+
n = j(), o = v("form"), M && M.c(), s = j(), D && D.c(), a = j(), h = v("label"), u = v("span"), c = $(l), f = j(), m = v("input"), p = j(), _ = v("button"), P = $(R), g(r, "class", "LimitsList " + /*isDesktop*/
|
|
4876
|
+
(e[14] ? "Desktop" : "")), g(u, "class", "LimitInputText"), g(h, "class", "LimitAmountInputWrapper"), g(m, "type", "number"), g(m, "pattern", "[0-9]*"), g(_, "class", "LimitSubmitButton"), g(_, "type", "button"), _.disabled = !0, g(o, "class", "LimitsInteractionArea " + /*isDesktop*/
|
|
4920
4877
|
(e[14] ? "Desktop" : "")), g(i, "class", "LimitsPageContainer"), g(t, "class", "player-account-gaming-limits-page-2-gmcore");
|
|
4921
4878
|
},
|
|
4922
4879
|
m(E, G) {
|
|
4923
|
-
|
|
4924
|
-
for (let
|
|
4925
|
-
|
|
4926
|
-
d(i, n), d(i, o),
|
|
4927
|
-
|
|
4880
|
+
I(E, t, G), d(t, i), d(i, r);
|
|
4881
|
+
for (let k = 0; k < B.length; k += 1)
|
|
4882
|
+
B[k] && B[k].m(r, null);
|
|
4883
|
+
d(i, n), d(i, o), M && M.m(o, null), d(o, s), D && D.m(o, null), d(o, a), d(o, h), d(h, u), d(u, c), d(o, f), d(o, m), ge(
|
|
4884
|
+
m,
|
|
4928
4885
|
/*inputAmount*/
|
|
4929
4886
|
e[3]
|
|
4930
|
-
), d(o, p), d(o, _), d(_,
|
|
4931
|
-
|
|
4932
|
-
|
|
4887
|
+
), d(o, p), d(o, _), d(_, P), e[35](_), L || (w = [
|
|
4888
|
+
Z(
|
|
4889
|
+
m,
|
|
4933
4890
|
"input",
|
|
4934
4891
|
/*input_input_handler*/
|
|
4935
4892
|
e[34]
|
|
4936
4893
|
),
|
|
4937
|
-
|
|
4938
|
-
|
|
4894
|
+
Z(
|
|
4895
|
+
m,
|
|
4939
4896
|
"keyup",
|
|
4940
4897
|
/*updateInputValue*/
|
|
4941
4898
|
e[18]
|
|
4942
4899
|
),
|
|
4943
|
-
|
|
4900
|
+
Z(
|
|
4944
4901
|
_,
|
|
4945
4902
|
"click",
|
|
4946
4903
|
/*updateLimits*/
|
|
4947
4904
|
e[17]
|
|
4948
4905
|
),
|
|
4949
|
-
|
|
4906
|
+
Z(
|
|
4950
4907
|
o,
|
|
4951
4908
|
"submit",
|
|
4952
4909
|
/*updateLimits*/
|
|
@@ -4957,77 +4914,77 @@ function jo(e) {
|
|
|
4957
4914
|
p(E, G) {
|
|
4958
4915
|
if (G[0] & /*isDesktop, availableLimits, removeLimit, $_*/
|
|
4959
4916
|
581632) {
|
|
4960
|
-
|
|
4917
|
+
H = K(
|
|
4961
4918
|
/*availableLimits*/
|
|
4962
4919
|
E[15]
|
|
4963
4920
|
);
|
|
4964
|
-
let
|
|
4965
|
-
for (
|
|
4966
|
-
const J =
|
|
4967
|
-
|
|
4921
|
+
let k;
|
|
4922
|
+
for (k = 0; k < H.length; k += 1) {
|
|
4923
|
+
const J = zt(E, H, k);
|
|
4924
|
+
B[k] ? B[k].p(J, G) : (B[k] = Yt(J), B[k].c(), B[k].m(r, null));
|
|
4968
4925
|
}
|
|
4969
|
-
for (;
|
|
4970
|
-
|
|
4971
|
-
|
|
4926
|
+
for (; k < B.length; k += 1)
|
|
4927
|
+
B[k].d(1);
|
|
4928
|
+
B.length = H.length;
|
|
4972
4929
|
}
|
|
4973
4930
|
/*multipleLimits*/
|
|
4974
|
-
E[5] ?
|
|
4975
|
-
E[6] ? D ? D.p(E, G) : (D =
|
|
4976
|
-
8260 &&
|
|
4931
|
+
E[5] ? M ? M.p(E, G) : (M = qt(E), M.c(), M.m(o, s)) : M && (M.d(1), M = null), /*multiplePeriods*/
|
|
4932
|
+
E[6] ? D ? D.p(E, G) : (D = Qt(E), D.c(), D.m(o, a)) : D && (D.d(1), D = null), G[0] & /*multiplePeriods, $_, selectedPeriod*/
|
|
4933
|
+
8260 && l !== (l = /*multiplePeriods*/
|
|
4977
4934
|
E[6] ? `${/*$_*/
|
|
4978
4935
|
E[13]("amount")}` : `${/*$_*/
|
|
4979
4936
|
E[13]("new")} ${/*$_*/
|
|
4980
4937
|
E[13](`gamingLimits.${/*selectedPeriod*/
|
|
4981
4938
|
E[2]}`)} ${/*$_*/
|
|
4982
|
-
E[13]("limit")}`) && W(c,
|
|
4983
|
-
8 &&
|
|
4984
|
-
E[3] &&
|
|
4985
|
-
|
|
4939
|
+
E[13]("limit")}`) && W(c, l), G[0] & /*inputAmount*/
|
|
4940
|
+
8 && ri(m.value) !== /*inputAmount*/
|
|
4941
|
+
E[3] && ge(
|
|
4942
|
+
m,
|
|
4986
4943
|
/*inputAmount*/
|
|
4987
4944
|
E[3]
|
|
4988
4945
|
), G[0] & /*$_*/
|
|
4989
4946
|
8192 && R !== (R = /*$_*/
|
|
4990
|
-
E[13]("setLimit") + "") && W(
|
|
4947
|
+
E[13]("setLimit") + "") && W(P, R);
|
|
4991
4948
|
},
|
|
4992
4949
|
d(E) {
|
|
4993
|
-
E &&
|
|
4950
|
+
E && N(t), Me(B, E), M && M.d(), D && D.d(), e[35](null), L = !1, ee(w);
|
|
4994
4951
|
}
|
|
4995
4952
|
};
|
|
4996
4953
|
}
|
|
4997
|
-
function
|
|
4954
|
+
function ko(e) {
|
|
4998
4955
|
let t;
|
|
4999
4956
|
return {
|
|
5000
4957
|
c() {
|
|
5001
4958
|
t = v("p"), t.textContent = "500 Server error";
|
|
5002
4959
|
},
|
|
5003
4960
|
m(i, r) {
|
|
5004
|
-
|
|
4961
|
+
I(i, t, r);
|
|
5005
4962
|
},
|
|
5006
|
-
p:
|
|
4963
|
+
p: U,
|
|
5007
4964
|
d(i) {
|
|
5008
|
-
i &&
|
|
4965
|
+
i && N(t);
|
|
5009
4966
|
}
|
|
5010
4967
|
};
|
|
5011
4968
|
}
|
|
5012
|
-
function
|
|
5013
|
-
return { c:
|
|
4969
|
+
function Co(e) {
|
|
4970
|
+
return { c: U, m: U, p: U, d: U };
|
|
5014
4971
|
}
|
|
5015
|
-
function
|
|
4972
|
+
function Do(e) {
|
|
5016
4973
|
let t;
|
|
5017
4974
|
return {
|
|
5018
4975
|
c() {
|
|
5019
4976
|
t = v("div"), g(t, "class", "LoadingIndicator");
|
|
5020
4977
|
},
|
|
5021
4978
|
m(i, r) {
|
|
5022
|
-
|
|
4979
|
+
I(i, t, r);
|
|
5023
4980
|
},
|
|
5024
|
-
p:
|
|
4981
|
+
p: U,
|
|
5025
4982
|
d(i) {
|
|
5026
|
-
i &&
|
|
4983
|
+
i && N(t);
|
|
5027
4984
|
}
|
|
5028
4985
|
};
|
|
5029
4986
|
}
|
|
5030
|
-
function
|
|
4987
|
+
function Ro(e) {
|
|
5031
4988
|
let t, i, r, n = (
|
|
5032
4989
|
/*$_*/
|
|
5033
4990
|
e[13]("noLimitText") + ""
|
|
@@ -5037,7 +4994,7 @@ function Go(e) {
|
|
|
5037
4994
|
t = v("div"), i = v("div"), r = v("div"), o = $(n), g(r, "class", "LimitDetailsTextWrapper"), g(i, "class", "LimitDetailsWrapper"), g(t, "class", "LimitDetails");
|
|
5038
4995
|
},
|
|
5039
4996
|
m(s, a) {
|
|
5040
|
-
|
|
4997
|
+
I(s, t, a), d(t, i), d(i, r), d(r, o);
|
|
5041
4998
|
},
|
|
5042
4999
|
p(s, a) {
|
|
5043
5000
|
a[0] & /*$_*/
|
|
@@ -5045,27 +5002,27 @@ function Go(e) {
|
|
|
5045
5002
|
s[13]("noLimitText") + "") && W(o, n);
|
|
5046
5003
|
},
|
|
5047
5004
|
d(s) {
|
|
5048
|
-
s &&
|
|
5005
|
+
s && N(t);
|
|
5049
5006
|
}
|
|
5050
5007
|
};
|
|
5051
5008
|
}
|
|
5052
|
-
function
|
|
5009
|
+
function Uo(e) {
|
|
5053
5010
|
let t, i = K(
|
|
5054
5011
|
/*limit*/
|
|
5055
5012
|
e[53].currentLimits
|
|
5056
5013
|
), r = [];
|
|
5057
5014
|
for (let n = 0; n < i.length; n += 1)
|
|
5058
|
-
r[n] =
|
|
5015
|
+
r[n] = Zt(Wt(e, i, n));
|
|
5059
5016
|
return {
|
|
5060
5017
|
c() {
|
|
5061
5018
|
for (let n = 0; n < r.length; n += 1)
|
|
5062
5019
|
r[n].c();
|
|
5063
|
-
t =
|
|
5020
|
+
t = nr();
|
|
5064
5021
|
},
|
|
5065
5022
|
m(n, o) {
|
|
5066
5023
|
for (let s = 0; s < r.length; s += 1)
|
|
5067
5024
|
r[s] && r[s].m(n, o);
|
|
5068
|
-
|
|
5025
|
+
I(n, t, o);
|
|
5069
5026
|
},
|
|
5070
5027
|
p(n, o) {
|
|
5071
5028
|
if (o[0] & /*removeLimit, availableLimits, $_*/
|
|
@@ -5076,8 +5033,8 @@ function zo(e) {
|
|
|
5076
5033
|
);
|
|
5077
5034
|
let s;
|
|
5078
5035
|
for (s = 0; s < i.length; s += 1) {
|
|
5079
|
-
const a =
|
|
5080
|
-
r[s] ? r[s].p(a, o) : (r[s] =
|
|
5036
|
+
const a = Wt(n, i, s);
|
|
5037
|
+
r[s] ? r[s].p(a, o) : (r[s] = Zt(a), r[s].c(), r[s].m(t.parentNode, t));
|
|
5081
5038
|
}
|
|
5082
5039
|
for (; s < r.length; s += 1)
|
|
5083
5040
|
r[s].d(1);
|
|
@@ -5085,11 +5042,11 @@ function zo(e) {
|
|
|
5085
5042
|
}
|
|
5086
5043
|
},
|
|
5087
5044
|
d(n) {
|
|
5088
|
-
n &&
|
|
5045
|
+
n && N(t), Me(r, n);
|
|
5089
5046
|
}
|
|
5090
5047
|
};
|
|
5091
5048
|
}
|
|
5092
|
-
function
|
|
5049
|
+
function jo(e) {
|
|
5093
5050
|
let t, i = `${/*$_*/
|
|
5094
5051
|
e[13]("removedLimitText")} ${/*currentLimit*/
|
|
5095
5052
|
e[58].expiryDate}`, r;
|
|
@@ -5098,7 +5055,7 @@ function Wo(e) {
|
|
|
5098
5055
|
t = v("div"), r = $(i), g(t, "class", "PendingLimit");
|
|
5099
5056
|
},
|
|
5100
5057
|
m(n, o) {
|
|
5101
|
-
|
|
5058
|
+
I(n, t, o), d(t, r);
|
|
5102
5059
|
},
|
|
5103
5060
|
p(n, o) {
|
|
5104
5061
|
o[0] & /*$_*/
|
|
@@ -5107,11 +5064,11 @@ function Wo(e) {
|
|
|
5107
5064
|
n[58].expiryDate}`) && W(r, i);
|
|
5108
5065
|
},
|
|
5109
5066
|
d(n) {
|
|
5110
|
-
n &&
|
|
5067
|
+
n && N(t);
|
|
5111
5068
|
}
|
|
5112
5069
|
};
|
|
5113
5070
|
}
|
|
5114
|
-
function
|
|
5071
|
+
function $o(e) {
|
|
5115
5072
|
let t, i = `${/*currentLimit*/
|
|
5116
5073
|
e[58].updateAmount}${/*currentLimit*/
|
|
5117
5074
|
e[58].currency} ${/*$_*/
|
|
@@ -5124,7 +5081,7 @@ function Vo(e) {
|
|
|
5124
5081
|
t = v("div"), r = $(i), g(t, "class", "PendingLimit");
|
|
5125
5082
|
},
|
|
5126
5083
|
m(n, o) {
|
|
5127
|
-
|
|
5084
|
+
I(n, t, o), d(t, r);
|
|
5128
5085
|
},
|
|
5129
5086
|
p(n, o) {
|
|
5130
5087
|
o[0] & /*$_*/
|
|
@@ -5137,11 +5094,11 @@ function Vo(e) {
|
|
|
5137
5094
|
n[58].expiryDate}`) && W(r, i);
|
|
5138
5095
|
},
|
|
5139
5096
|
d(n) {
|
|
5140
|
-
n &&
|
|
5097
|
+
n && N(t);
|
|
5141
5098
|
}
|
|
5142
5099
|
};
|
|
5143
5100
|
}
|
|
5144
|
-
function
|
|
5101
|
+
function Fo(e) {
|
|
5145
5102
|
let t, i = (
|
|
5146
5103
|
/*$_*/
|
|
5147
5104
|
e[13]("gamingLimits.removeLimit") + ""
|
|
@@ -5160,7 +5117,7 @@ function Xo(e) {
|
|
|
5160
5117
|
t = v("button"), r = $(i), g(t, "class", "RemoveLimitButton");
|
|
5161
5118
|
},
|
|
5162
5119
|
m(a, h) {
|
|
5163
|
-
|
|
5120
|
+
I(a, t, h), d(t, r), n || (o = Z(t, "click", s), n = !0);
|
|
5164
5121
|
},
|
|
5165
5122
|
p(a, h) {
|
|
5166
5123
|
e = a, h[0] & /*$_*/
|
|
@@ -5168,122 +5125,122 @@ function Xo(e) {
|
|
|
5168
5125
|
e[13]("gamingLimits.removeLimit") + "") && W(r, i);
|
|
5169
5126
|
},
|
|
5170
5127
|
d(a) {
|
|
5171
|
-
a &&
|
|
5128
|
+
a && N(t), n = !1, o();
|
|
5172
5129
|
}
|
|
5173
5130
|
};
|
|
5174
5131
|
}
|
|
5175
|
-
function
|
|
5132
|
+
function Zt(e) {
|
|
5176
5133
|
let t, i, r, n = `${/*currentLimit*/
|
|
5177
5134
|
e[58].amount}${/*currentLimit*/
|
|
5178
5135
|
e[58].currency} ${/*$_*/
|
|
5179
5136
|
e[13](`gamingLimits.${/*currentLimit*/
|
|
5180
5137
|
e[58].period}`)}`, o, s, a, h;
|
|
5181
|
-
function
|
|
5138
|
+
function u(m, p) {
|
|
5182
5139
|
if (
|
|
5183
5140
|
/*currentLimit*/
|
|
5184
|
-
|
|
5185
|
-
|
|
5141
|
+
m[58].isModified && /*currentLimit*/
|
|
5142
|
+
m[58].updateAmount != "-1"
|
|
5186
5143
|
)
|
|
5187
|
-
return
|
|
5144
|
+
return $o;
|
|
5188
5145
|
if (
|
|
5189
5146
|
/*currentLimit*/
|
|
5190
|
-
|
|
5147
|
+
m[58].isModified
|
|
5191
5148
|
)
|
|
5192
|
-
return
|
|
5149
|
+
return jo;
|
|
5193
5150
|
}
|
|
5194
|
-
let
|
|
5195
|
-
e[58].isModified &&
|
|
5151
|
+
let l = u(e), c = l && l(e), f = !/*currentLimit*/
|
|
5152
|
+
e[58].isModified && Fo(e);
|
|
5196
5153
|
return {
|
|
5197
5154
|
c() {
|
|
5198
|
-
t = v("div"), i = v("div"), r = v("div"), o = $(n), s =
|
|
5155
|
+
t = v("div"), i = v("div"), r = v("div"), o = $(n), s = j(), c && c.c(), a = j(), f && f.c(), h = j(), g(r, "class", "CurrentLimit"), g(i, "class", "LimitDetailsTextWrapper"), g(t, "class", "LimitDetails");
|
|
5199
5156
|
},
|
|
5200
|
-
m(
|
|
5201
|
-
|
|
5157
|
+
m(m, p) {
|
|
5158
|
+
I(m, t, p), d(t, i), d(i, r), d(r, o), d(i, s), c && c.m(i, null), d(t, a), f && f.m(t, null), d(t, h);
|
|
5202
5159
|
},
|
|
5203
|
-
p(
|
|
5160
|
+
p(m, p) {
|
|
5204
5161
|
p[0] & /*$_*/
|
|
5205
5162
|
8192 && n !== (n = `${/*currentLimit*/
|
|
5206
|
-
|
|
5207
|
-
|
|
5208
|
-
|
|
5209
|
-
|
|
5210
|
-
|
|
5163
|
+
m[58].amount}${/*currentLimit*/
|
|
5164
|
+
m[58].currency} ${/*$_*/
|
|
5165
|
+
m[13](`gamingLimits.${/*currentLimit*/
|
|
5166
|
+
m[58].period}`)}`) && W(o, n), c && c.p(m, p), /*currentLimit*/
|
|
5167
|
+
m[58].isModified || f.p(m, p);
|
|
5211
5168
|
},
|
|
5212
|
-
d(
|
|
5213
|
-
|
|
5169
|
+
d(m) {
|
|
5170
|
+
m && N(t), c && c.d(), f && f.d();
|
|
5214
5171
|
}
|
|
5215
5172
|
};
|
|
5216
5173
|
}
|
|
5217
|
-
function
|
|
5174
|
+
function Yt(e) {
|
|
5218
5175
|
let t, i, r = (
|
|
5219
5176
|
/*$_*/
|
|
5220
5177
|
e[13](`gamingLimits.${/*limit*/
|
|
5221
5178
|
e[53].value}`) + ""
|
|
5222
5179
|
), n, o, s;
|
|
5223
|
-
function a(
|
|
5180
|
+
function a(l, c) {
|
|
5224
5181
|
return (
|
|
5225
5182
|
/*limit*/
|
|
5226
|
-
|
|
5183
|
+
l[53].currentLimits.length > 0 ? Uo : Ro
|
|
5227
5184
|
);
|
|
5228
5185
|
}
|
|
5229
|
-
let
|
|
5186
|
+
let u = a(e)(e);
|
|
5230
5187
|
return {
|
|
5231
5188
|
c() {
|
|
5232
|
-
t = v("div"), i = v("p"), n = $(r), o =
|
|
5189
|
+
t = v("div"), i = v("p"), n = $(r), o = j(), u.c(), s = j(), g(i, "class", "LimitTitle"), g(t, "class", "LimitWrapper " + /*isDesktop*/
|
|
5233
5190
|
(e[14] ? "Desktop" : ""));
|
|
5234
5191
|
},
|
|
5235
|
-
m(
|
|
5236
|
-
|
|
5192
|
+
m(l, c) {
|
|
5193
|
+
I(l, t, c), d(t, i), d(i, n), d(t, o), u.m(t, null), d(t, s);
|
|
5237
5194
|
},
|
|
5238
|
-
p(
|
|
5195
|
+
p(l, c) {
|
|
5239
5196
|
c[0] & /*$_*/
|
|
5240
5197
|
8192 && r !== (r = /*$_*/
|
|
5241
|
-
|
|
5242
|
-
|
|
5198
|
+
l[13](`gamingLimits.${/*limit*/
|
|
5199
|
+
l[53].value}`) + "") && W(n, r), u.p(l, c);
|
|
5243
5200
|
},
|
|
5244
|
-
d(
|
|
5245
|
-
|
|
5201
|
+
d(l) {
|
|
5202
|
+
l && N(t), u.d();
|
|
5246
5203
|
}
|
|
5247
5204
|
};
|
|
5248
5205
|
}
|
|
5249
|
-
function
|
|
5206
|
+
function qt(e) {
|
|
5250
5207
|
let t, i, r = (
|
|
5251
5208
|
/*$_*/
|
|
5252
5209
|
e[13]("limitType") + ""
|
|
5253
|
-
), n, o, s, a, h,
|
|
5210
|
+
), n, o, s, a, h, u = K(
|
|
5254
5211
|
/*availableLimits*/
|
|
5255
5212
|
e[15]
|
|
5256
|
-
),
|
|
5257
|
-
for (let c = 0; c <
|
|
5258
|
-
|
|
5213
|
+
), l = [];
|
|
5214
|
+
for (let c = 0; c < u.length; c += 1)
|
|
5215
|
+
l[c] = Jt(Gt(e, u, c));
|
|
5259
5216
|
return {
|
|
5260
5217
|
c() {
|
|
5261
|
-
t = v("label"), i = v("span"), n = $(r), o =
|
|
5262
|
-
for (let c = 0; c <
|
|
5263
|
-
|
|
5218
|
+
t = v("label"), i = v("span"), n = $(r), o = j(), s = v("select");
|
|
5219
|
+
for (let c = 0; c < l.length; c += 1)
|
|
5220
|
+
l[c].c();
|
|
5264
5221
|
g(i, "class", "LimitSelectText"), g(s, "name", ""), g(s, "id", ""), /*selectedLimit*/
|
|
5265
|
-
e[1] === void 0 &&
|
|
5222
|
+
e[1] === void 0 && ve(() => (
|
|
5266
5223
|
/*select_change_handler*/
|
|
5267
5224
|
e[32].call(s)
|
|
5268
5225
|
)), g(t, "class", "LimitTypeDropdownWrapper");
|
|
5269
5226
|
},
|
|
5270
|
-
m(c,
|
|
5271
|
-
|
|
5272
|
-
for (let
|
|
5273
|
-
|
|
5227
|
+
m(c, f) {
|
|
5228
|
+
I(c, t, f), d(t, i), d(i, n), d(t, o), d(t, s);
|
|
5229
|
+
for (let m = 0; m < l.length; m += 1)
|
|
5230
|
+
l[m] && l[m].m(s, null);
|
|
5274
5231
|
Ne(
|
|
5275
5232
|
s,
|
|
5276
5233
|
/*selectedLimit*/
|
|
5277
5234
|
e[1],
|
|
5278
5235
|
!0
|
|
5279
5236
|
), a || (h = [
|
|
5280
|
-
|
|
5237
|
+
Z(
|
|
5281
5238
|
s,
|
|
5282
5239
|
"change",
|
|
5283
5240
|
/*select_change_handler*/
|
|
5284
5241
|
e[32]
|
|
5285
5242
|
),
|
|
5286
|
-
|
|
5243
|
+
Z(
|
|
5287
5244
|
s,
|
|
5288
5245
|
"change",
|
|
5289
5246
|
/*updateLimitSelection*/
|
|
@@ -5291,25 +5248,25 @@ function ti(e) {
|
|
|
5291
5248
|
)
|
|
5292
5249
|
], a = !0);
|
|
5293
5250
|
},
|
|
5294
|
-
p(c,
|
|
5295
|
-
if (
|
|
5251
|
+
p(c, f) {
|
|
5252
|
+
if (f[0] & /*$_*/
|
|
5296
5253
|
8192 && r !== (r = /*$_*/
|
|
5297
|
-
c[13]("limitType") + "") && W(n, r),
|
|
5254
|
+
c[13]("limitType") + "") && W(n, r), f[0] & /*availableLimits*/
|
|
5298
5255
|
32768) {
|
|
5299
|
-
|
|
5256
|
+
u = K(
|
|
5300
5257
|
/*availableLimits*/
|
|
5301
5258
|
c[15]
|
|
5302
5259
|
);
|
|
5303
|
-
let
|
|
5304
|
-
for (
|
|
5305
|
-
const p =
|
|
5306
|
-
|
|
5260
|
+
let m;
|
|
5261
|
+
for (m = 0; m < u.length; m += 1) {
|
|
5262
|
+
const p = Gt(c, u, m);
|
|
5263
|
+
l[m] ? l[m].p(p, f) : (l[m] = Jt(p), l[m].c(), l[m].m(s, null));
|
|
5307
5264
|
}
|
|
5308
|
-
for (;
|
|
5309
|
-
|
|
5310
|
-
|
|
5265
|
+
for (; m < l.length; m += 1)
|
|
5266
|
+
l[m].d(1);
|
|
5267
|
+
l.length = u.length;
|
|
5311
5268
|
}
|
|
5312
|
-
|
|
5269
|
+
f[0] & /*selectedLimit, availableLimits*/
|
|
5313
5270
|
32770 && Ne(
|
|
5314
5271
|
s,
|
|
5315
5272
|
/*selectedLimit*/
|
|
@@ -5317,11 +5274,11 @@ function ti(e) {
|
|
|
5317
5274
|
);
|
|
5318
5275
|
},
|
|
5319
5276
|
d(c) {
|
|
5320
|
-
c &&
|
|
5277
|
+
c && N(t), Me(l, c), a = !1, ee(h);
|
|
5321
5278
|
}
|
|
5322
5279
|
};
|
|
5323
5280
|
}
|
|
5324
|
-
function
|
|
5281
|
+
function Jt(e) {
|
|
5325
5282
|
let t, i = (
|
|
5326
5283
|
/*limit*/
|
|
5327
5284
|
e[53].title + ""
|
|
@@ -5329,73 +5286,73 @@ function ii(e) {
|
|
|
5329
5286
|
return {
|
|
5330
5287
|
c() {
|
|
5331
5288
|
t = v("option"), r = $(i), t.__value = /*limit*/
|
|
5332
|
-
e[53].value,
|
|
5289
|
+
e[53].value, ge(t, t.__value);
|
|
5333
5290
|
},
|
|
5334
5291
|
m(n, o) {
|
|
5335
|
-
|
|
5292
|
+
I(n, t, o), d(t, r);
|
|
5336
5293
|
},
|
|
5337
|
-
p:
|
|
5294
|
+
p: U,
|
|
5338
5295
|
d(n) {
|
|
5339
|
-
n &&
|
|
5296
|
+
n && N(t);
|
|
5340
5297
|
}
|
|
5341
5298
|
};
|
|
5342
5299
|
}
|
|
5343
|
-
function
|
|
5300
|
+
function Qt(e) {
|
|
5344
5301
|
let t, i, r = (
|
|
5345
5302
|
/*$_*/
|
|
5346
5303
|
e[13]("period") + ""
|
|
5347
|
-
), n, o, s, a, h,
|
|
5304
|
+
), n, o, s, a, h, u = K(X[
|
|
5348
5305
|
/*selectedLimit*/
|
|
5349
5306
|
e[1]
|
|
5350
|
-
].periods),
|
|
5351
|
-
for (let c = 0; c <
|
|
5352
|
-
|
|
5307
|
+
].periods), l = [];
|
|
5308
|
+
for (let c = 0; c < u.length; c += 1)
|
|
5309
|
+
l[c] = Kt(Ft(e, u, c));
|
|
5353
5310
|
return {
|
|
5354
5311
|
c() {
|
|
5355
|
-
t = v("label"), i = v("span"), n = $(r), o =
|
|
5356
|
-
for (let c = 0; c <
|
|
5357
|
-
|
|
5312
|
+
t = v("label"), i = v("span"), n = $(r), o = j(), s = v("select");
|
|
5313
|
+
for (let c = 0; c < l.length; c += 1)
|
|
5314
|
+
l[c].c();
|
|
5358
5315
|
g(i, "class", "PeriodSelectText"), g(t, "class", "LimitPeriodDropdownWrapper"), g(s, "name", ""), g(s, "id", ""), /*selectedPeriod*/
|
|
5359
|
-
e[2] === void 0 &&
|
|
5316
|
+
e[2] === void 0 && ve(() => (
|
|
5360
5317
|
/*select_change_handler_1*/
|
|
5361
5318
|
e[33].call(s)
|
|
5362
5319
|
));
|
|
5363
5320
|
},
|
|
5364
|
-
m(c,
|
|
5365
|
-
|
|
5366
|
-
for (let
|
|
5367
|
-
|
|
5321
|
+
m(c, f) {
|
|
5322
|
+
I(c, t, f), d(t, i), d(i, n), I(c, o, f), I(c, s, f);
|
|
5323
|
+
for (let m = 0; m < l.length; m += 1)
|
|
5324
|
+
l[m] && l[m].m(s, null);
|
|
5368
5325
|
Ne(
|
|
5369
5326
|
s,
|
|
5370
5327
|
/*selectedPeriod*/
|
|
5371
5328
|
e[2],
|
|
5372
5329
|
!0
|
|
5373
|
-
), a || (h =
|
|
5330
|
+
), a || (h = Z(
|
|
5374
5331
|
s,
|
|
5375
5332
|
"change",
|
|
5376
5333
|
/*select_change_handler_1*/
|
|
5377
5334
|
e[33]
|
|
5378
5335
|
), a = !0);
|
|
5379
5336
|
},
|
|
5380
|
-
p(c,
|
|
5381
|
-
if (
|
|
5337
|
+
p(c, f) {
|
|
5338
|
+
if (f[0] & /*$_*/
|
|
5382
5339
|
8192 && r !== (r = /*$_*/
|
|
5383
|
-
c[13]("period") + "") && W(n, r),
|
|
5340
|
+
c[13]("period") + "") && W(n, r), f[0] & /*selectedLimit, $_*/
|
|
5384
5341
|
8194) {
|
|
5385
|
-
|
|
5342
|
+
u = K(X[
|
|
5386
5343
|
/*selectedLimit*/
|
|
5387
5344
|
c[1]
|
|
5388
5345
|
].periods);
|
|
5389
|
-
let
|
|
5390
|
-
for (
|
|
5391
|
-
const p =
|
|
5392
|
-
|
|
5346
|
+
let m;
|
|
5347
|
+
for (m = 0; m < u.length; m += 1) {
|
|
5348
|
+
const p = Ft(c, u, m);
|
|
5349
|
+
l[m] ? l[m].p(p, f) : (l[m] = Kt(p), l[m].c(), l[m].m(s, null));
|
|
5393
5350
|
}
|
|
5394
|
-
for (;
|
|
5395
|
-
|
|
5396
|
-
|
|
5351
|
+
for (; m < l.length; m += 1)
|
|
5352
|
+
l[m].d(1);
|
|
5353
|
+
l.length = u.length;
|
|
5397
5354
|
}
|
|
5398
|
-
|
|
5355
|
+
f[0] & /*selectedPeriod, selectedLimit*/
|
|
5399
5356
|
6 && Ne(
|
|
5400
5357
|
s,
|
|
5401
5358
|
/*selectedPeriod*/
|
|
@@ -5403,11 +5360,11 @@ function ri(e) {
|
|
|
5403
5360
|
);
|
|
5404
5361
|
},
|
|
5405
5362
|
d(c) {
|
|
5406
|
-
c && (
|
|
5363
|
+
c && (N(t), N(o), N(s)), Me(l, c), a = !1, h();
|
|
5407
5364
|
}
|
|
5408
5365
|
};
|
|
5409
5366
|
}
|
|
5410
|
-
function
|
|
5367
|
+
function Kt(e) {
|
|
5411
5368
|
let t, i = (
|
|
5412
5369
|
/*$_*/
|
|
5413
5370
|
e[13](`gamingLimits.${/*period*/
|
|
@@ -5416,10 +5373,10 @@ function ni(e) {
|
|
|
5416
5373
|
return {
|
|
5417
5374
|
c() {
|
|
5418
5375
|
t = v("option"), r = $(i), t.__value = n = /*period*/
|
|
5419
|
-
e[50],
|
|
5376
|
+
e[50], ge(t, t.__value), t.selected = !0;
|
|
5420
5377
|
},
|
|
5421
5378
|
m(o, s) {
|
|
5422
|
-
|
|
5379
|
+
I(o, t, s), d(t, r);
|
|
5423
5380
|
},
|
|
5424
5381
|
p(o, s) {
|
|
5425
5382
|
s[0] & /*$_, selectedLimit*/
|
|
@@ -5427,27 +5384,27 @@ function ni(e) {
|
|
|
5427
5384
|
o[13](`gamingLimits.${/*period*/
|
|
5428
5385
|
o[50]}`) + "") && W(r, i), s[0] & /*selectedLimit, availableLimits*/
|
|
5429
5386
|
32770 && n !== (n = /*period*/
|
|
5430
|
-
o[50]) && (t.__value = n,
|
|
5387
|
+
o[50]) && (t.__value = n, ge(t, t.__value));
|
|
5431
5388
|
},
|
|
5432
5389
|
d(o) {
|
|
5433
|
-
o &&
|
|
5390
|
+
o && N(t);
|
|
5434
5391
|
}
|
|
5435
5392
|
};
|
|
5436
5393
|
}
|
|
5437
|
-
function
|
|
5394
|
+
function Go(e) {
|
|
5438
5395
|
let t, i, r = (
|
|
5439
5396
|
/*popupVisible*/
|
|
5440
|
-
e[10] &&
|
|
5397
|
+
e[10] && Vt(e)
|
|
5441
5398
|
);
|
|
5442
5399
|
function n(a, h) {
|
|
5443
5400
|
return (
|
|
5444
5401
|
/*isLoading*/
|
|
5445
5402
|
a[7] && !/*popupVisible*/
|
|
5446
|
-
a[10] ?
|
|
5403
|
+
a[10] ? Do : (
|
|
5447
5404
|
/*isLoading*/
|
|
5448
|
-
a[7] ?
|
|
5405
|
+
a[7] ? Co : (
|
|
5449
5406
|
/*fetchError*/
|
|
5450
|
-
a[8] ?
|
|
5407
|
+
a[8] ? ko : Mo
|
|
5451
5408
|
)
|
|
5452
5409
|
)
|
|
5453
5410
|
);
|
|
@@ -5455,60 +5412,60 @@ function Zo(e) {
|
|
|
5455
5412
|
let o = n(e), s = o(e);
|
|
5456
5413
|
return {
|
|
5457
5414
|
c() {
|
|
5458
|
-
t = v("div"), r && r.c(), i =
|
|
5415
|
+
t = v("div"), r && r.c(), i = j(), s.c();
|
|
5459
5416
|
},
|
|
5460
5417
|
m(a, h) {
|
|
5461
|
-
|
|
5418
|
+
I(a, t, h), r && r.m(t, null), d(t, i), s.m(t, null), e[36](t);
|
|
5462
5419
|
},
|
|
5463
5420
|
p(a, h) {
|
|
5464
5421
|
/*popupVisible*/
|
|
5465
|
-
a[10] ? r ? r.p(a, h) : (r =
|
|
5422
|
+
a[10] ? r ? r.p(a, h) : (r = Vt(a), r.c(), r.m(t, i)) : r && (r.d(1), r = null), o === (o = n(a)) && s ? s.p(a, h) : (s.d(1), s = o(a), s && (s.c(), s.m(t, null)));
|
|
5466
5423
|
},
|
|
5467
|
-
i:
|
|
5468
|
-
o:
|
|
5424
|
+
i: U,
|
|
5425
|
+
o: U,
|
|
5469
5426
|
d(a) {
|
|
5470
|
-
a &&
|
|
5427
|
+
a && N(t), r && r.d(), s.d(), e[36](null);
|
|
5471
5428
|
}
|
|
5472
5429
|
};
|
|
5473
5430
|
}
|
|
5474
|
-
function
|
|
5431
|
+
function zo(e, t, i) {
|
|
5475
5432
|
let r;
|
|
5476
|
-
|
|
5477
|
-
let { lang: n = "en" } = t, { currency: o = "" } = t, { limits: s = "" } = t, { session: a = "" } = t, { userid: h = "" } = t, { endpoint:
|
|
5478
|
-
const
|
|
5433
|
+
er(e, co, (b) => i(13, r = b));
|
|
5434
|
+
let { lang: n = "en" } = t, { currency: o = "" } = t, { limits: s = "" } = t, { session: a = "" } = t, { userid: h = "" } = t, { endpoint: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { translationurl: f = "" } = t, { mbsource: m } = t, p, _ = window.navigator.userAgent, R = !Po(_), P = [], L = "", w = "", H, B, M = !1, D = !1, E = !0, G = !1, k = !1, J = !1, je = !1, $e = "", xe;
|
|
5435
|
+
const pt = { EUR: "€", RON: " lei" }, ki = {
|
|
5479
5436
|
updatePendingError: ["SYS_1037", "SYS_1142", "SYS_1140"]
|
|
5480
|
-
},
|
|
5481
|
-
fetch(
|
|
5482
|
-
Object.keys(y).forEach((
|
|
5483
|
-
|
|
5437
|
+
}, Ci = () => {
|
|
5438
|
+
fetch(f).then((y) => y.json()).then((y) => {
|
|
5439
|
+
Object.keys(y).forEach((C) => {
|
|
5440
|
+
Ot(C, y[C]);
|
|
5484
5441
|
});
|
|
5485
5442
|
}).catch((y) => {
|
|
5486
5443
|
console.log(y);
|
|
5487
5444
|
});
|
|
5488
5445
|
};
|
|
5489
|
-
Object.keys(
|
|
5490
|
-
|
|
5446
|
+
Object.keys(Mt).forEach((b) => {
|
|
5447
|
+
Ot(b, Mt[b]);
|
|
5491
5448
|
});
|
|
5492
|
-
const
|
|
5449
|
+
const Di = () => {
|
|
5493
5450
|
s.split(" ").forEach((y) => {
|
|
5494
|
-
X[y] ?
|
|
5495
|
-
}), i(1, L =
|
|
5496
|
-
},
|
|
5451
|
+
X[y] ? P.push(X[y]) : console.error(`Unknown limit: ${y}`);
|
|
5452
|
+
}), i(1, L = P[0].value), i(2, w = X[L].periods[0]), i(5, M = P.length > 1), i(6, D = X[L].periods.length > 1);
|
|
5453
|
+
}, Ri = () => {
|
|
5497
5454
|
i(2, w = X[L].periods[0]), i(6, D = X[L].periods.length > 1);
|
|
5498
|
-
},
|
|
5499
|
-
if (!(
|
|
5455
|
+
}, Ui = () => {
|
|
5456
|
+
if (!(H > 0))
|
|
5500
5457
|
return;
|
|
5501
5458
|
i(10, J = !0), i(7, E = !0);
|
|
5502
|
-
let b = new URL(`/v2/player/${h}/limits`,
|
|
5459
|
+
let b = new URL(`/v2/player/${h}/limits`, u);
|
|
5503
5460
|
const y = {};
|
|
5504
5461
|
y[X[L].callValue] = [
|
|
5505
5462
|
{
|
|
5506
5463
|
period: w,
|
|
5507
|
-
amount:
|
|
5464
|
+
amount: H,
|
|
5508
5465
|
currency: o
|
|
5509
5466
|
}
|
|
5510
5467
|
];
|
|
5511
|
-
let
|
|
5468
|
+
let C = {
|
|
5512
5469
|
method: "PUT",
|
|
5513
5470
|
headers: {
|
|
5514
5471
|
"X-SessionID": a,
|
|
@@ -5517,20 +5474,20 @@ function Yo(e, t, i) {
|
|
|
5517
5474
|
},
|
|
5518
5475
|
body: JSON.stringify(y)
|
|
5519
5476
|
};
|
|
5520
|
-
fetch(b.href,
|
|
5521
|
-
|
|
5522
|
-
}).catch((
|
|
5523
|
-
console.log(
|
|
5477
|
+
fetch(b.href, C).then((A) => (A.status >= 300 && i(9, k = !0), A.json())).then((A) => {
|
|
5478
|
+
Fe(), k && ji(A);
|
|
5479
|
+
}).catch((A) => {
|
|
5480
|
+
console.log(A), i(7, E = !1), i(8, G = !0);
|
|
5524
5481
|
});
|
|
5525
|
-
},
|
|
5482
|
+
}, ji = (b) => {
|
|
5526
5483
|
const y = b.error.match(/errorCode:(.*)\)/)[1];
|
|
5527
5484
|
console.error(`API response error: ${y}`);
|
|
5528
|
-
let
|
|
5529
|
-
for (const [
|
|
5530
|
-
F.includes(y) && (
|
|
5531
|
-
|
|
5532
|
-
},
|
|
5533
|
-
let b = new URL(`/v2/player/${h}/limits`,
|
|
5485
|
+
let C;
|
|
5486
|
+
for (const [A, F] of Object.entries(ki))
|
|
5487
|
+
F.includes(y) && (C = r(`gamingLimits.${A}`));
|
|
5488
|
+
C = C ?? r("gamingLimits.genericError"), dt(y, C);
|
|
5489
|
+
}, Fe = () => {
|
|
5490
|
+
let b = new URL(`/v2/player/${h}/limits`, u), y = !k, C = {
|
|
5534
5491
|
method: "GET",
|
|
5535
5492
|
headers: {
|
|
5536
5493
|
"X-SessionID": a,
|
|
@@ -5538,47 +5495,47 @@ function Yo(e, t, i) {
|
|
|
5538
5495
|
Accept: "application/json"
|
|
5539
5496
|
}
|
|
5540
5497
|
};
|
|
5541
|
-
fetch(b.href,
|
|
5542
|
-
if (
|
|
5498
|
+
fetch(b.href, C).then((A) => {
|
|
5499
|
+
if (A.status >= 300)
|
|
5543
5500
|
throw i(7, E = !1), i(8, G = !0), new Error("There was an error fetching the limits");
|
|
5544
|
-
return
|
|
5545
|
-
}).then((
|
|
5546
|
-
xe =
|
|
5547
|
-
}).catch((
|
|
5548
|
-
console.log(
|
|
5501
|
+
return A.json();
|
|
5502
|
+
}).then((A) => {
|
|
5503
|
+
xe = A, J && y && dt(), $i(xe), i(7, E = !1), i(3, H = null);
|
|
5504
|
+
}).catch((A) => {
|
|
5505
|
+
console.log(A), i(7, E = !1), i(8, G = !0);
|
|
5549
5506
|
});
|
|
5550
|
-
},
|
|
5551
|
-
|
|
5552
|
-
y.currentLimits = [], b[X[y.value].callValue]?.forEach((
|
|
5553
|
-
const F = b[X[y.value].callValue][
|
|
5554
|
-
y.currentLimits.push({}), y.currentLimits[
|
|
5555
|
-
}), y.currentLimits =
|
|
5507
|
+
}, $i = (b) => {
|
|
5508
|
+
P.forEach((y) => {
|
|
5509
|
+
y.currentLimits = [], b[X[y.value].callValue]?.forEach((C, A) => {
|
|
5510
|
+
const F = b[X[y.value].callValue][A];
|
|
5511
|
+
y.currentLimits.push({}), y.currentLimits[A].limitType = y.value, y.currentLimits[A].amount = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(F.amount), y.currentLimits[A].currency = pt[F.currency] ?? F.currency, y.currentLimits[A].period = F.period, y.currentLimits[A].updateAmount = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(F.updateAmount), y.currentLimits[A].isModified = F.isModified, y.currentLimits[A].expiryDate = `${new Date(F.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)`;
|
|
5512
|
+
}), y.currentLimits = Fi(y.currentLimits);
|
|
5556
5513
|
});
|
|
5557
|
-
},
|
|
5514
|
+
}, Fi = (b) => {
|
|
5558
5515
|
const y = { Daily: 0, Weekly: 1, Monthly: 2 };
|
|
5559
|
-
return b.sort((
|
|
5560
|
-
},
|
|
5561
|
-
|
|
5562
|
-
const y =
|
|
5563
|
-
|
|
5564
|
-
},
|
|
5516
|
+
return b.sort((C, A) => y[C.period] - y[A.period]), b;
|
|
5517
|
+
}, Gi = () => {
|
|
5518
|
+
H > 999999999999999 && i(3, H = 999999999999999);
|
|
5519
|
+
const y = H - Math.floor(H) === 0;
|
|
5520
|
+
H > 0 && y ? B.removeAttribute("disabled") : B.setAttribute("disabled", "true");
|
|
5521
|
+
}, dt = (b, y) => {
|
|
5565
5522
|
if (b)
|
|
5566
|
-
i(12,
|
|
5523
|
+
i(12, $e = y);
|
|
5567
5524
|
else if (xe) {
|
|
5568
|
-
const
|
|
5569
|
-
let F = r("gamingLimits.popupImmediateUpdate").replace("{selectedLimit}", r(`gamingLimits.${L}`).toLowerCase()).replace("{updatedAmount}",
|
|
5570
|
-
i(12,
|
|
5525
|
+
const C = xe[X[L].callValue].filter((Qi) => Qi.period === w)[0], A = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(C.amount);
|
|
5526
|
+
let F = r("gamingLimits.popupImmediateUpdate").replace("{selectedLimit}", r(`gamingLimits.${L}`).toLowerCase()).replace("{updatedAmount}", A).replace("{currency}", pt[C.currency] || C.currency).replace("{selectedPeriod}", r(`gamingLimits.${w}`).toLowerCase());
|
|
5527
|
+
i(12, $e = C.isModified ? `${r("popupPendingUpdate")} ${new Date(C.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)` : F);
|
|
5571
5528
|
} else
|
|
5572
5529
|
console.error("Couldn't populate popupContent");
|
|
5573
|
-
i(11,
|
|
5574
|
-
},
|
|
5530
|
+
i(11, je = !0);
|
|
5531
|
+
}, bt = (b) => {
|
|
5575
5532
|
const y = {
|
|
5576
5533
|
wager: "wagering",
|
|
5577
5534
|
loss: "loss",
|
|
5578
5535
|
deposit: "deposit"
|
|
5579
5536
|
};
|
|
5580
5537
|
i(10, J = !0), i(7, E = !0);
|
|
5581
|
-
let
|
|
5538
|
+
let C = new URL(`/v2/player/${h}/limits/${y[b.limitType]}?periods=${b.period}`, u), A = {
|
|
5582
5539
|
method: "DELETE",
|
|
5583
5540
|
headers: {
|
|
5584
5541
|
"X-SessionID": a,
|
|
@@ -5586,97 +5543,97 @@ function Yo(e, t, i) {
|
|
|
5586
5543
|
Accept: "application/json"
|
|
5587
5544
|
}
|
|
5588
5545
|
};
|
|
5589
|
-
fetch(
|
|
5590
|
-
|
|
5546
|
+
fetch(C.href, A).then((F) => F.json()).then((F) => {
|
|
5547
|
+
Fe();
|
|
5591
5548
|
}).catch((F) => {
|
|
5592
5549
|
console.log(F), i(7, E = !1), i(8, G = !0);
|
|
5593
5550
|
});
|
|
5594
|
-
},
|
|
5595
|
-
i(11,
|
|
5596
|
-
},
|
|
5597
|
-
|
|
5551
|
+
}, zi = () => {
|
|
5552
|
+
i(11, je = i(10, J = !1));
|
|
5553
|
+
}, Wi = () => {
|
|
5554
|
+
ho(n);
|
|
5598
5555
|
};
|
|
5599
|
-
|
|
5556
|
+
lr(() => () => {
|
|
5600
5557
|
});
|
|
5601
|
-
const
|
|
5602
|
-
function
|
|
5603
|
-
L =
|
|
5558
|
+
const Vi = (b) => bt(b);
|
|
5559
|
+
function Xi() {
|
|
5560
|
+
L = yt(this), i(1, L), i(15, P);
|
|
5604
5561
|
}
|
|
5605
|
-
function
|
|
5606
|
-
w =
|
|
5562
|
+
function Zi() {
|
|
5563
|
+
w = yt(this), i(2, w), i(1, L);
|
|
5607
5564
|
}
|
|
5608
|
-
function
|
|
5609
|
-
|
|
5565
|
+
function Yi() {
|
|
5566
|
+
H = ri(this.value), i(3, H);
|
|
5610
5567
|
}
|
|
5611
|
-
function
|
|
5612
|
-
|
|
5613
|
-
|
|
5568
|
+
function qi(b) {
|
|
5569
|
+
Ie[b ? "unshift" : "push"](() => {
|
|
5570
|
+
B = b, i(4, B);
|
|
5614
5571
|
});
|
|
5615
5572
|
}
|
|
5616
|
-
function
|
|
5617
|
-
|
|
5573
|
+
function Ji(b) {
|
|
5574
|
+
Ie[b ? "unshift" : "push"](() => {
|
|
5618
5575
|
p = b, i(0, p);
|
|
5619
5576
|
});
|
|
5620
5577
|
}
|
|
5621
5578
|
return e.$$set = (b) => {
|
|
5622
|
-
"lang" in b && i(21, n = b.lang), "currency" in b && i(22, o = b.currency), "limits" in b && i(23, s = b.limits), "session" in b && i(24, a = b.session), "userid" in b && i(25, h = b.userid), "endpoint" in b && i(26,
|
|
5579
|
+
"lang" in b && i(21, n = b.lang), "currency" in b && i(22, o = b.currency), "limits" in b && i(23, s = b.limits), "session" in b && i(24, a = b.session), "userid" in b && i(25, h = b.userid), "endpoint" in b && i(26, u = b.endpoint), "clientstyling" in b && i(27, l = b.clientstyling), "clientstylingurl" in b && i(28, c = b.clientstylingurl), "translationurl" in b && i(29, f = b.translationurl), "mbsource" in b && i(30, m = b.mbsource);
|
|
5623
5580
|
}, e.$$.update = () => {
|
|
5624
5581
|
e.$$.dirty[0] & /*limits*/
|
|
5625
|
-
8388608 && s &&
|
|
5626
|
-
2097152 && n &&
|
|
5627
|
-
117440512 && h && a &&
|
|
5628
|
-
134217729 &&
|
|
5629
|
-
268435457 && c && p &&
|
|
5630
|
-
1073741825 &&
|
|
5631
|
-
536870912 &&
|
|
5582
|
+
8388608 && s && Di(), e.$$.dirty[0] & /*lang*/
|
|
5583
|
+
2097152 && n && Wi(), e.$$.dirty[0] & /*userid, session, endpoint*/
|
|
5584
|
+
117440512 && h && a && u && Fe(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5585
|
+
134217729 && l && p && Ao(p, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5586
|
+
268435457 && c && p && Bo(p, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5587
|
+
1073741825 && m && p && No(p, `${m}.Style`), e.$$.dirty[0] & /*translationurl*/
|
|
5588
|
+
536870912 && f && Ci();
|
|
5632
5589
|
}, [
|
|
5633
5590
|
p,
|
|
5634
5591
|
L,
|
|
5635
5592
|
w,
|
|
5636
|
-
O,
|
|
5637
|
-
A,
|
|
5638
5593
|
H,
|
|
5594
|
+
B,
|
|
5595
|
+
M,
|
|
5639
5596
|
D,
|
|
5640
5597
|
E,
|
|
5641
5598
|
G,
|
|
5642
|
-
|
|
5599
|
+
k,
|
|
5643
5600
|
J,
|
|
5644
|
-
|
|
5645
|
-
|
|
5601
|
+
je,
|
|
5602
|
+
$e,
|
|
5646
5603
|
r,
|
|
5647
5604
|
R,
|
|
5648
|
-
|
|
5605
|
+
P,
|
|
5606
|
+
Ri,
|
|
5607
|
+
Ui,
|
|
5649
5608
|
Gi,
|
|
5609
|
+
bt,
|
|
5650
5610
|
zi,
|
|
5651
|
-
Zi,
|
|
5652
|
-
Et,
|
|
5653
|
-
Yi,
|
|
5654
5611
|
n,
|
|
5655
5612
|
o,
|
|
5656
5613
|
s,
|
|
5657
5614
|
a,
|
|
5658
5615
|
h,
|
|
5659
|
-
l,
|
|
5660
5616
|
u,
|
|
5617
|
+
l,
|
|
5661
5618
|
c,
|
|
5662
|
-
m,
|
|
5663
5619
|
f,
|
|
5664
|
-
|
|
5665
|
-
|
|
5666
|
-
|
|
5667
|
-
|
|
5668
|
-
|
|
5669
|
-
|
|
5620
|
+
m,
|
|
5621
|
+
Vi,
|
|
5622
|
+
Xi,
|
|
5623
|
+
Zi,
|
|
5624
|
+
Yi,
|
|
5625
|
+
qi,
|
|
5626
|
+
Ji
|
|
5670
5627
|
];
|
|
5671
5628
|
}
|
|
5672
|
-
class
|
|
5629
|
+
class Wo extends _r {
|
|
5673
5630
|
constructor(t) {
|
|
5674
|
-
super(),
|
|
5631
|
+
super(), yr(
|
|
5675
5632
|
this,
|
|
5676
5633
|
t,
|
|
5677
|
-
|
|
5678
|
-
|
|
5679
|
-
|
|
5634
|
+
zo,
|
|
5635
|
+
Go,
|
|
5636
|
+
ti,
|
|
5680
5637
|
{
|
|
5681
5638
|
lang: 21,
|
|
5682
5639
|
currency: 22,
|
|
@@ -5689,7 +5646,7 @@ class qo extends wr {
|
|
|
5689
5646
|
translationurl: 29,
|
|
5690
5647
|
mbsource: 30
|
|
5691
5648
|
},
|
|
5692
|
-
|
|
5649
|
+
Io,
|
|
5693
5650
|
[-1, -1]
|
|
5694
5651
|
);
|
|
5695
5652
|
}
|
|
@@ -5754,7 +5711,7 @@ class qo extends wr {
|
|
|
5754
5711
|
this.$$set({ mbsource: t }), V();
|
|
5755
5712
|
}
|
|
5756
5713
|
}
|
|
5757
|
-
|
|
5714
|
+
vr(Wo, { lang: {}, currency: {}, limits: {}, session: {}, userid: {}, endpoint: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
|
5758
5715
|
export {
|
|
5759
|
-
|
|
5716
|
+
Wo as P
|
|
5760
5717
|
};
|