@everymatrix/player-account-gaming-limits-popup-2 1.55.0 → 1.56.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerAccountGamingLimitsPopup2-BV3CRMPD.js → PlayerAccountGamingLimitsPopup2-C6yBCeA7.js} +902 -847
- package/components/{PlayerAccountGamingLimitsPopup2-tfZjfmN-.js → PlayerAccountGamingLimitsPopup2-xHl9N0x9.js} +916 -861
- package/components/PlayerAccountGamingLimitsPopup2-yLzRCOZa.cjs +23 -0
- package/es2015/player-account-gaming-limits-popup-2.cjs +1 -1
- package/es2015/player-account-gaming-limits-popup-2.js +1 -1
- package/esnext/player-account-gaming-limits-popup-2.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountGamingLimitsPopup2-dtOPWVyr.cjs +0 -10
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function
|
|
1
|
+
function te() {
|
|
2
2
|
}
|
|
3
3
|
function zt(e) {
|
|
4
4
|
return e();
|
|
@@ -9,7 +9,7 @@ function wt() {
|
|
|
9
9
|
function le(e) {
|
|
10
10
|
e.forEach(zt);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function yt(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
15
|
function Ft(e, t) {
|
|
@@ -22,7 +22,7 @@ function Vt(e, ...t) {
|
|
|
22
22
|
if (e == null) {
|
|
23
23
|
for (const n of t)
|
|
24
24
|
n(void 0);
|
|
25
|
-
return
|
|
25
|
+
return te;
|
|
26
26
|
}
|
|
27
27
|
const i = e.subscribe(...t);
|
|
28
28
|
return i.unsubscribe ? () => i.unsubscribe() : i;
|
|
@@ -30,22 +30,19 @@ function Vt(e, ...t) {
|
|
|
30
30
|
function vi(e, t, i) {
|
|
31
31
|
e.$$.on_destroy.push(Vt(t, i));
|
|
32
32
|
}
|
|
33
|
-
|
|
34
|
-
// @ts-ignore Node typings have this
|
|
35
|
-
global
|
|
36
|
-
);
|
|
37
|
-
function p(e, t) {
|
|
33
|
+
function m(e, t) {
|
|
38
34
|
e.appendChild(t);
|
|
39
35
|
}
|
|
40
|
-
function
|
|
41
|
-
const n =
|
|
36
|
+
function Ei(e, t, i) {
|
|
37
|
+
const n = _i(e);
|
|
42
38
|
if (!n.getElementById(t)) {
|
|
43
|
-
const r =
|
|
44
|
-
r.id = t, r.textContent = i,
|
|
39
|
+
const r = g("style");
|
|
40
|
+
r.id = t, r.textContent = i, xi(n, r);
|
|
45
41
|
}
|
|
46
42
|
}
|
|
47
|
-
function
|
|
48
|
-
if (!e)
|
|
43
|
+
function _i(e) {
|
|
44
|
+
if (!e)
|
|
45
|
+
return document;
|
|
49
46
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
50
47
|
return t && /** @type {ShadowRoot} */
|
|
51
48
|
t.host ? (
|
|
@@ -53,41 +50,41 @@ function xi(e) {
|
|
|
53
50
|
t
|
|
54
51
|
) : e.ownerDocument;
|
|
55
52
|
}
|
|
56
|
-
function
|
|
57
|
-
return
|
|
53
|
+
function xi(e, t) {
|
|
54
|
+
return m(
|
|
58
55
|
/** @type {Document} */
|
|
59
56
|
e.head || e,
|
|
60
57
|
t
|
|
61
58
|
), t.sheet;
|
|
62
59
|
}
|
|
63
|
-
function
|
|
60
|
+
function T(e, t, i) {
|
|
64
61
|
e.insertBefore(t, i || null);
|
|
65
62
|
}
|
|
66
|
-
function
|
|
63
|
+
function y(e) {
|
|
67
64
|
e.parentNode && e.parentNode.removeChild(e);
|
|
68
65
|
}
|
|
69
|
-
function
|
|
66
|
+
function g(e) {
|
|
70
67
|
return document.createElement(e);
|
|
71
68
|
}
|
|
72
69
|
function Y(e) {
|
|
73
70
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
74
71
|
}
|
|
75
|
-
function
|
|
72
|
+
function L(e) {
|
|
76
73
|
return document.createTextNode(e);
|
|
77
74
|
}
|
|
78
|
-
function
|
|
79
|
-
return
|
|
75
|
+
function N() {
|
|
76
|
+
return L(" ");
|
|
80
77
|
}
|
|
81
78
|
function Z(e, t, i, n) {
|
|
82
79
|
return e.addEventListener(t, i, n), () => e.removeEventListener(t, i, n);
|
|
83
80
|
}
|
|
84
|
-
function
|
|
81
|
+
function h(e, t, i) {
|
|
85
82
|
i == null ? e.removeAttribute(t) : e.getAttribute(t) !== i && e.setAttribute(t, i);
|
|
86
83
|
}
|
|
87
84
|
function Xt(e) {
|
|
88
85
|
return e === "" ? null : +e;
|
|
89
86
|
}
|
|
90
|
-
function
|
|
87
|
+
function Ti(e) {
|
|
91
88
|
return Array.from(e.childNodes);
|
|
92
89
|
}
|
|
93
90
|
function H(e, t) {
|
|
@@ -97,13 +94,13 @@ function H(e, t) {
|
|
|
97
94
|
function Bt(e, t) {
|
|
98
95
|
e.value = t ?? "";
|
|
99
96
|
}
|
|
100
|
-
function
|
|
97
|
+
function ke(e, t, i, n) {
|
|
101
98
|
i == null ? e.style.removeProperty(t) : e.style.setProperty(t, i, "");
|
|
102
99
|
}
|
|
103
|
-
function
|
|
100
|
+
function je(e, t, i) {
|
|
104
101
|
e.classList.toggle(t, !!i);
|
|
105
102
|
}
|
|
106
|
-
function
|
|
103
|
+
function Pi(e) {
|
|
107
104
|
const t = {};
|
|
108
105
|
return e.childNodes.forEach(
|
|
109
106
|
/** @param {Element} node */
|
|
@@ -112,84 +109,93 @@ function wi(e) {
|
|
|
112
109
|
}
|
|
113
110
|
), t;
|
|
114
111
|
}
|
|
115
|
-
let
|
|
116
|
-
function
|
|
117
|
-
|
|
112
|
+
let Ce;
|
|
113
|
+
function He(e) {
|
|
114
|
+
Ce = e;
|
|
115
|
+
}
|
|
116
|
+
function wi() {
|
|
117
|
+
if (!Ce)
|
|
118
|
+
throw new Error("Function called outside component initialization");
|
|
119
|
+
return Ce;
|
|
120
|
+
}
|
|
121
|
+
function Bi(e) {
|
|
122
|
+
wi().$$.on_mount.push(e);
|
|
118
123
|
}
|
|
119
|
-
const be = [],
|
|
120
|
-
let
|
|
121
|
-
const Lt = [],
|
|
122
|
-
let
|
|
123
|
-
function
|
|
124
|
-
|
|
124
|
+
const be = [], ge = [];
|
|
125
|
+
let ye = [];
|
|
126
|
+
const Lt = [], Li = /* @__PURE__ */ Promise.resolve();
|
|
127
|
+
let at = !1;
|
|
128
|
+
function Ai() {
|
|
129
|
+
at || (at = !0, Li.then(ee));
|
|
125
130
|
}
|
|
126
|
-
function
|
|
127
|
-
|
|
131
|
+
function lt(e) {
|
|
132
|
+
ye.push(e);
|
|
128
133
|
}
|
|
129
|
-
const
|
|
130
|
-
let
|
|
131
|
-
function
|
|
132
|
-
if (
|
|
134
|
+
const et = /* @__PURE__ */ new Set();
|
|
135
|
+
let pe = 0;
|
|
136
|
+
function ee() {
|
|
137
|
+
if (pe !== 0)
|
|
133
138
|
return;
|
|
134
|
-
const e =
|
|
139
|
+
const e = Ce;
|
|
135
140
|
do {
|
|
136
141
|
try {
|
|
137
|
-
for (;
|
|
138
|
-
const t = be[
|
|
139
|
-
|
|
142
|
+
for (; pe < be.length; ) {
|
|
143
|
+
const t = be[pe];
|
|
144
|
+
pe++, He(t), Si(t.$$);
|
|
140
145
|
}
|
|
141
146
|
} catch (t) {
|
|
142
|
-
throw be.length = 0,
|
|
147
|
+
throw be.length = 0, pe = 0, t;
|
|
143
148
|
}
|
|
144
|
-
for (
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
149
|
+
for (He(null), be.length = 0, pe = 0; ge.length; )
|
|
150
|
+
ge.pop()();
|
|
151
|
+
for (let t = 0; t < ye.length; t += 1) {
|
|
152
|
+
const i = ye[t];
|
|
153
|
+
et.has(i) || (et.add(i), i());
|
|
148
154
|
}
|
|
149
|
-
|
|
155
|
+
ye.length = 0;
|
|
150
156
|
} while (be.length);
|
|
151
157
|
for (; Lt.length; )
|
|
152
158
|
Lt.pop()();
|
|
153
|
-
|
|
159
|
+
at = !1, et.clear(), He(e);
|
|
154
160
|
}
|
|
155
|
-
function
|
|
161
|
+
function Si(e) {
|
|
156
162
|
if (e.fragment !== null) {
|
|
157
163
|
e.update(), le(e.before_update);
|
|
158
164
|
const t = e.dirty;
|
|
159
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
165
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(lt);
|
|
160
166
|
}
|
|
161
167
|
}
|
|
162
|
-
function
|
|
168
|
+
function Ii(e) {
|
|
163
169
|
const t = [], i = [];
|
|
164
|
-
|
|
170
|
+
ye.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : i.push(n)), i.forEach((n) => n()), ye = t;
|
|
165
171
|
}
|
|
166
|
-
const
|
|
167
|
-
function
|
|
168
|
-
e && e.i && (
|
|
172
|
+
const ki = /* @__PURE__ */ new Set();
|
|
173
|
+
function Hi(e, t) {
|
|
174
|
+
e && e.i && (ki.delete(e), e.i(t));
|
|
169
175
|
}
|
|
170
|
-
function
|
|
176
|
+
function Ci(e, t, i) {
|
|
171
177
|
const { fragment: n, after_update: r } = e.$$;
|
|
172
|
-
n && n.m(t, i),
|
|
173
|
-
const o = e.$$.on_mount.map(zt).filter(
|
|
178
|
+
n && n.m(t, i), lt(() => {
|
|
179
|
+
const o = e.$$.on_mount.map(zt).filter(yt);
|
|
174
180
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : le(o), e.$$.on_mount = [];
|
|
175
|
-
}), r.forEach(
|
|
181
|
+
}), r.forEach(lt);
|
|
176
182
|
}
|
|
177
|
-
function
|
|
183
|
+
function Ni(e, t) {
|
|
178
184
|
const i = e.$$;
|
|
179
|
-
i.fragment !== null && (
|
|
185
|
+
i.fragment !== null && (Ii(i.after_update), le(i.on_destroy), i.fragment && i.fragment.d(t), i.on_destroy = i.fragment = null, i.ctx = []);
|
|
180
186
|
}
|
|
181
|
-
function
|
|
182
|
-
e.$$.dirty[0] === -1 && (be.push(e),
|
|
187
|
+
function Oi(e, t) {
|
|
188
|
+
e.$$.dirty[0] === -1 && (be.push(e), Ai(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
183
189
|
}
|
|
184
|
-
function
|
|
185
|
-
const
|
|
186
|
-
|
|
190
|
+
function Mi(e, t, i, n, r, o, l = null, s = [-1]) {
|
|
191
|
+
const c = Ce;
|
|
192
|
+
He(e);
|
|
187
193
|
const a = e.$$ = {
|
|
188
194
|
fragment: null,
|
|
189
195
|
ctx: [],
|
|
190
196
|
// state
|
|
191
197
|
props: o,
|
|
192
|
-
update:
|
|
198
|
+
update: te,
|
|
193
199
|
not_equal: r,
|
|
194
200
|
bound: wt(),
|
|
195
201
|
// lifecycle
|
|
@@ -198,27 +204,27 @@ function Oi(e, t, i, n, r, o, l = null, s = [-1]) {
|
|
|
198
204
|
on_disconnect: [],
|
|
199
205
|
before_update: [],
|
|
200
206
|
after_update: [],
|
|
201
|
-
context: new Map(t.context || (
|
|
207
|
+
context: new Map(t.context || (c ? c.$$.context : [])),
|
|
202
208
|
// everything else
|
|
203
209
|
callbacks: wt(),
|
|
204
210
|
dirty: s,
|
|
205
211
|
skip_bound: !1,
|
|
206
|
-
root: t.target ||
|
|
212
|
+
root: t.target || c.$$.root
|
|
207
213
|
};
|
|
208
214
|
l && l(a.root);
|
|
209
215
|
let u = !1;
|
|
210
|
-
if (a.ctx = i ? i(e, t.props || {}, (f,
|
|
211
|
-
const
|
|
212
|
-
return a.ctx && r(a.ctx[f], a.ctx[f] =
|
|
216
|
+
if (a.ctx = i ? i(e, t.props || {}, (f, p, ...d) => {
|
|
217
|
+
const _ = d.length ? d[0] : p;
|
|
218
|
+
return a.ctx && r(a.ctx[f], a.ctx[f] = _) && (!a.skip_bound && a.bound[f] && a.bound[f](_), u && Oi(e, f)), p;
|
|
213
219
|
}) : [], a.update(), u = !0, le(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
|
|
214
220
|
if (t.hydrate) {
|
|
215
|
-
const f =
|
|
216
|
-
a.fragment && a.fragment.l(f), f.forEach(
|
|
221
|
+
const f = Ti(t.target);
|
|
222
|
+
a.fragment && a.fragment.l(f), f.forEach(y);
|
|
217
223
|
} else
|
|
218
224
|
a.fragment && a.fragment.c();
|
|
219
|
-
t.intro &&
|
|
225
|
+
t.intro && Hi(e.$$.fragment), Ci(e, t.target, t.anchor), ee();
|
|
220
226
|
}
|
|
221
|
-
|
|
227
|
+
He(c);
|
|
222
228
|
}
|
|
223
229
|
let qt;
|
|
224
230
|
typeof HTMLElement == "function" && (qt = class extends HTMLElement {
|
|
@@ -263,29 +269,29 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
|
|
|
263
269
|
let o;
|
|
264
270
|
return {
|
|
265
271
|
c: function() {
|
|
266
|
-
o =
|
|
272
|
+
o = g("slot"), r !== "default" && h(o, "name", r);
|
|
267
273
|
},
|
|
268
274
|
/**
|
|
269
275
|
* @param {HTMLElement} target
|
|
270
276
|
* @param {HTMLElement} [anchor]
|
|
271
277
|
*/
|
|
272
|
-
m: function(
|
|
273
|
-
|
|
278
|
+
m: function(c, a) {
|
|
279
|
+
T(c, o, a);
|
|
274
280
|
},
|
|
275
|
-
d: function(
|
|
276
|
-
|
|
281
|
+
d: function(c) {
|
|
282
|
+
c && y(o);
|
|
277
283
|
}
|
|
278
284
|
};
|
|
279
285
|
};
|
|
280
286
|
};
|
|
281
287
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
282
288
|
return;
|
|
283
|
-
const t = {}, i =
|
|
289
|
+
const t = {}, i = Pi(this);
|
|
284
290
|
for (const r of this.$$s)
|
|
285
291
|
r in i && (t[r] = [e(r)]);
|
|
286
292
|
for (const r of this.attributes) {
|
|
287
293
|
const o = this.$$g_p(r.name);
|
|
288
|
-
o in this.$$d || (this.$$d[o] =
|
|
294
|
+
o in this.$$d || (this.$$d[o] = $e(o, r.value, this.$$p_d, "toProp"));
|
|
289
295
|
}
|
|
290
296
|
for (const r in this.$$p_d)
|
|
291
297
|
!(r in this.$$d) && this[r] !== void 0 && (this.$$d[r] = this[r], delete this[r]);
|
|
@@ -303,7 +309,7 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
|
|
|
303
309
|
this.$$r = !0;
|
|
304
310
|
for (const r in this.$$p_d)
|
|
305
311
|
if (this.$$d[r] = this.$$c.$$.ctx[this.$$c.$$.props[r]], this.$$p_d[r].reflect) {
|
|
306
|
-
const o =
|
|
312
|
+
const o = $e(
|
|
307
313
|
r,
|
|
308
314
|
this.$$d[r],
|
|
309
315
|
this.$$p_d,
|
|
@@ -325,7 +331,7 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
|
|
|
325
331
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
326
332
|
// and setting attributes through setAttribute etc, this is helpful
|
|
327
333
|
attributeChangedCallback(e, t, i) {
|
|
328
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
334
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = $e(e, i, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
329
335
|
}
|
|
330
336
|
disconnectedCallback() {
|
|
331
337
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -338,7 +344,7 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
|
|
|
338
344
|
) || e;
|
|
339
345
|
}
|
|
340
346
|
});
|
|
341
|
-
function
|
|
347
|
+
function $e(e, t, i, n) {
|
|
342
348
|
const r = i[e]?.type;
|
|
343
349
|
if (t = r === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !i[e])
|
|
344
350
|
return t;
|
|
@@ -367,7 +373,7 @@ function Ge(e, t, i, n) {
|
|
|
367
373
|
return t;
|
|
368
374
|
}
|
|
369
375
|
}
|
|
370
|
-
function
|
|
376
|
+
function Di(e, t, i, n, r, o) {
|
|
371
377
|
let l = class extends qt {
|
|
372
378
|
constructor() {
|
|
373
379
|
super(e, i, r), this.$$p_d = t;
|
|
@@ -383,8 +389,8 @@ function Mi(e, t, i, n, r, o) {
|
|
|
383
389
|
get() {
|
|
384
390
|
return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
|
|
385
391
|
},
|
|
386
|
-
set(
|
|
387
|
-
|
|
392
|
+
set(c) {
|
|
393
|
+
c = $e(s, c, t), this.$$d[s] = c, this.$$c?.$set({ [s]: c });
|
|
388
394
|
}
|
|
389
395
|
});
|
|
390
396
|
}), n.forEach((s) => {
|
|
@@ -396,7 +402,7 @@ function Mi(e, t, i, n, r, o) {
|
|
|
396
402
|
}), e.element = /** @type {any} */
|
|
397
403
|
l, l;
|
|
398
404
|
}
|
|
399
|
-
class
|
|
405
|
+
class Ri {
|
|
400
406
|
/**
|
|
401
407
|
* ### PRIVATE API
|
|
402
408
|
*
|
|
@@ -415,7 +421,7 @@ class Di {
|
|
|
415
421
|
$$set = void 0;
|
|
416
422
|
/** @returns {void} */
|
|
417
423
|
$destroy() {
|
|
418
|
-
|
|
424
|
+
Ni(this, 1), this.$destroy = te;
|
|
419
425
|
}
|
|
420
426
|
/**
|
|
421
427
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -424,8 +430,8 @@ class Di {
|
|
|
424
430
|
* @returns {() => void}
|
|
425
431
|
*/
|
|
426
432
|
$on(t, i) {
|
|
427
|
-
if (!
|
|
428
|
-
return
|
|
433
|
+
if (!yt(i))
|
|
434
|
+
return te;
|
|
429
435
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
430
436
|
return n.push(i), () => {
|
|
431
437
|
const r = n.indexOf(i);
|
|
@@ -440,112 +446,112 @@ class Di {
|
|
|
440
446
|
this.$$set && !yi(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
441
447
|
}
|
|
442
448
|
}
|
|
443
|
-
const
|
|
444
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
445
|
-
const
|
|
446
|
-
function
|
|
449
|
+
const Ui = "4";
|
|
450
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ui);
|
|
451
|
+
const de = [];
|
|
452
|
+
function ji(e, t) {
|
|
447
453
|
return {
|
|
448
|
-
subscribe:
|
|
454
|
+
subscribe: qe(e, t).subscribe
|
|
449
455
|
};
|
|
450
456
|
}
|
|
451
|
-
function
|
|
457
|
+
function qe(e, t = te) {
|
|
452
458
|
let i;
|
|
453
459
|
const n = /* @__PURE__ */ new Set();
|
|
454
460
|
function r(s) {
|
|
455
461
|
if (Ft(e, s) && (e = s, i)) {
|
|
456
|
-
const
|
|
462
|
+
const c = !de.length;
|
|
457
463
|
for (const a of n)
|
|
458
|
-
a[1](),
|
|
459
|
-
if (
|
|
460
|
-
for (let a = 0; a <
|
|
461
|
-
|
|
462
|
-
|
|
464
|
+
a[1](), de.push(a, e);
|
|
465
|
+
if (c) {
|
|
466
|
+
for (let a = 0; a < de.length; a += 2)
|
|
467
|
+
de[a][0](de[a + 1]);
|
|
468
|
+
de.length = 0;
|
|
463
469
|
}
|
|
464
470
|
}
|
|
465
471
|
}
|
|
466
472
|
function o(s) {
|
|
467
473
|
r(s(e));
|
|
468
474
|
}
|
|
469
|
-
function l(s,
|
|
470
|
-
const a = [s,
|
|
471
|
-
return n.add(a), n.size === 1 && (i = t(r, o) ||
|
|
475
|
+
function l(s, c = te) {
|
|
476
|
+
const a = [s, c];
|
|
477
|
+
return n.add(a), n.size === 1 && (i = t(r, o) || te), s(e), () => {
|
|
472
478
|
n.delete(a), n.size === 0 && i && (i(), i = null);
|
|
473
479
|
};
|
|
474
480
|
}
|
|
475
481
|
return { set: r, update: o, subscribe: l };
|
|
476
482
|
}
|
|
477
|
-
function
|
|
483
|
+
function Te(e, t, i) {
|
|
478
484
|
const n = !Array.isArray(e), r = n ? [e] : e;
|
|
479
485
|
if (!r.every(Boolean))
|
|
480
486
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
481
487
|
const o = t.length < 2;
|
|
482
|
-
return
|
|
483
|
-
let
|
|
488
|
+
return ji(i, (l, s) => {
|
|
489
|
+
let c = !1;
|
|
484
490
|
const a = [];
|
|
485
|
-
let u = 0, f =
|
|
486
|
-
const
|
|
491
|
+
let u = 0, f = te;
|
|
492
|
+
const p = () => {
|
|
487
493
|
if (u)
|
|
488
494
|
return;
|
|
489
495
|
f();
|
|
490
|
-
const
|
|
491
|
-
o ? l(
|
|
492
|
-
},
|
|
493
|
-
(
|
|
494
|
-
|
|
495
|
-
(
|
|
496
|
-
a[
|
|
496
|
+
const _ = t(n ? a[0] : a, l, s);
|
|
497
|
+
o ? l(_) : f = yt(_) ? _ : te;
|
|
498
|
+
}, d = r.map(
|
|
499
|
+
(_, x) => Vt(
|
|
500
|
+
_,
|
|
501
|
+
(v) => {
|
|
502
|
+
a[x] = v, u &= ~(1 << x), c && p();
|
|
497
503
|
},
|
|
498
504
|
() => {
|
|
499
|
-
u |= 1 <<
|
|
505
|
+
u |= 1 << x;
|
|
500
506
|
}
|
|
501
507
|
)
|
|
502
508
|
);
|
|
503
|
-
return
|
|
504
|
-
le(
|
|
509
|
+
return c = !0, p(), function() {
|
|
510
|
+
le(d), f(), c = !1;
|
|
505
511
|
};
|
|
506
512
|
});
|
|
507
513
|
}
|
|
508
|
-
function
|
|
514
|
+
function Gi(e) {
|
|
509
515
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
510
516
|
}
|
|
511
|
-
var
|
|
512
|
-
return
|
|
517
|
+
var $i = function(t) {
|
|
518
|
+
return zi(t) && !Fi(t);
|
|
513
519
|
};
|
|
514
|
-
function
|
|
520
|
+
function zi(e) {
|
|
515
521
|
return !!e && typeof e == "object";
|
|
516
522
|
}
|
|
517
|
-
function
|
|
523
|
+
function Fi(e) {
|
|
518
524
|
var t = Object.prototype.toString.call(e);
|
|
519
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
520
|
-
}
|
|
521
|
-
var Fi = typeof Symbol == "function" && Symbol.for, Vi = Fi ? Symbol.for("react.element") : 60103;
|
|
522
|
-
function Xi(e) {
|
|
523
|
-
return e.$$typeof === Vi;
|
|
525
|
+
return t === "[object RegExp]" || t === "[object Date]" || qi(e);
|
|
524
526
|
}
|
|
527
|
+
var Vi = typeof Symbol == "function" && Symbol.for, Xi = Vi ? Symbol.for("react.element") : 60103;
|
|
525
528
|
function qi(e) {
|
|
529
|
+
return e.$$typeof === Xi;
|
|
530
|
+
}
|
|
531
|
+
function Wi(e) {
|
|
526
532
|
return Array.isArray(e) ? [] : {};
|
|
527
533
|
}
|
|
528
534
|
function Ne(e, t) {
|
|
529
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
535
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? ve(Wi(e), e, t) : e;
|
|
530
536
|
}
|
|
531
|
-
function
|
|
537
|
+
function Zi(e, t, i) {
|
|
532
538
|
return e.concat(t).map(function(n) {
|
|
533
539
|
return Ne(n, i);
|
|
534
540
|
});
|
|
535
541
|
}
|
|
536
|
-
function
|
|
542
|
+
function Yi(e, t) {
|
|
537
543
|
if (!t.customMerge)
|
|
538
|
-
return
|
|
544
|
+
return ve;
|
|
539
545
|
var i = t.customMerge(e);
|
|
540
|
-
return typeof i == "function" ? i :
|
|
546
|
+
return typeof i == "function" ? i : ve;
|
|
541
547
|
}
|
|
542
|
-
function
|
|
548
|
+
function Ji(e) {
|
|
543
549
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
544
550
|
return Object.propertyIsEnumerable.call(e, t);
|
|
545
551
|
}) : [];
|
|
546
552
|
}
|
|
547
553
|
function At(e) {
|
|
548
|
-
return Object.keys(e).concat(
|
|
554
|
+
return Object.keys(e).concat(Ji(e));
|
|
549
555
|
}
|
|
550
556
|
function Wt(e, t) {
|
|
551
557
|
try {
|
|
@@ -554,42 +560,57 @@ function Wt(e, t) {
|
|
|
554
560
|
return !1;
|
|
555
561
|
}
|
|
556
562
|
}
|
|
557
|
-
function
|
|
563
|
+
function Qi(e, t) {
|
|
558
564
|
return Wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
559
565
|
}
|
|
560
|
-
function
|
|
566
|
+
function Ki(e, t, i) {
|
|
561
567
|
var n = {};
|
|
562
568
|
return i.isMergeableObject(e) && At(e).forEach(function(r) {
|
|
563
569
|
n[r] = Ne(e[r], i);
|
|
564
570
|
}), At(t).forEach(function(r) {
|
|
565
|
-
|
|
571
|
+
Qi(e, r) || (Wt(e, r) && i.isMergeableObject(t[r]) ? n[r] = Yi(r, i)(e[r], t[r], i) : n[r] = Ne(t[r], i));
|
|
566
572
|
}), n;
|
|
567
573
|
}
|
|
568
|
-
function
|
|
569
|
-
i = i || {}, i.arrayMerge = i.arrayMerge ||
|
|
574
|
+
function ve(e, t, i) {
|
|
575
|
+
i = i || {}, i.arrayMerge = i.arrayMerge || Zi, i.isMergeableObject = i.isMergeableObject || $i, i.cloneUnlessOtherwiseSpecified = Ne;
|
|
570
576
|
var n = Array.isArray(t), r = Array.isArray(e), o = n === r;
|
|
571
|
-
return o ? n ? i.arrayMerge(e, t, i) :
|
|
577
|
+
return o ? n ? i.arrayMerge(e, t, i) : Ki(e, t, i) : Ne(t, i);
|
|
572
578
|
}
|
|
573
|
-
|
|
579
|
+
ve.all = function(t, i) {
|
|
574
580
|
if (!Array.isArray(t))
|
|
575
581
|
throw new Error("first argument should be an array");
|
|
576
582
|
return t.reduce(function(n, r) {
|
|
577
|
-
return
|
|
583
|
+
return ve(n, r, i);
|
|
578
584
|
}, {});
|
|
579
585
|
};
|
|
580
|
-
var
|
|
581
|
-
const
|
|
582
|
-
|
|
583
|
-
|
|
586
|
+
var en = ve, tn = en;
|
|
587
|
+
const nn = /* @__PURE__ */ Gi(tn);
|
|
588
|
+
/*! *****************************************************************************
|
|
589
|
+
Copyright (c) Microsoft Corporation.
|
|
590
|
+
|
|
591
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
592
|
+
purpose with or without fee is hereby granted.
|
|
593
|
+
|
|
594
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
595
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
596
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
597
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
598
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
599
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
600
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
601
|
+
***************************************************************************** */
|
|
602
|
+
var ut = function(e, t) {
|
|
603
|
+
return ut = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(i, n) {
|
|
584
604
|
i.__proto__ = n;
|
|
585
605
|
} || function(i, n) {
|
|
586
|
-
for (var r in n)
|
|
587
|
-
|
|
606
|
+
for (var r in n)
|
|
607
|
+
Object.prototype.hasOwnProperty.call(n, r) && (i[r] = n[r]);
|
|
608
|
+
}, ut(e, t);
|
|
588
609
|
};
|
|
589
|
-
function
|
|
610
|
+
function We(e, t) {
|
|
590
611
|
if (typeof t != "function" && t !== null)
|
|
591
612
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
592
|
-
|
|
613
|
+
ut(e, t);
|
|
593
614
|
function i() {
|
|
594
615
|
this.constructor = e;
|
|
595
616
|
}
|
|
@@ -599,36 +620,39 @@ var k = function() {
|
|
|
599
620
|
return k = Object.assign || function(t) {
|
|
600
621
|
for (var i, n = 1, r = arguments.length; n < r; n++) {
|
|
601
622
|
i = arguments[n];
|
|
602
|
-
for (var o in i)
|
|
623
|
+
for (var o in i)
|
|
624
|
+
Object.prototype.hasOwnProperty.call(i, o) && (t[o] = i[o]);
|
|
603
625
|
}
|
|
604
626
|
return t;
|
|
605
627
|
}, k.apply(this, arguments);
|
|
606
628
|
};
|
|
607
|
-
function
|
|
629
|
+
function rn(e, t) {
|
|
608
630
|
var i = {};
|
|
609
|
-
for (var n in e)
|
|
631
|
+
for (var n in e)
|
|
632
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (i[n] = e[n]);
|
|
610
633
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
611
634
|
for (var r = 0, n = Object.getOwnPropertySymbols(e); r < n.length; r++)
|
|
612
635
|
t.indexOf(n[r]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[r]) && (i[n[r]] = e[n[r]]);
|
|
613
636
|
return i;
|
|
614
637
|
}
|
|
615
|
-
function
|
|
616
|
-
if (
|
|
617
|
-
(
|
|
618
|
-
|
|
638
|
+
function tt(e, t, i) {
|
|
639
|
+
if (arguments.length === 2)
|
|
640
|
+
for (var n = 0, r = t.length, o; n < r; n++)
|
|
641
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
642
|
+
return e.concat(o || t);
|
|
619
643
|
}
|
|
620
|
-
function
|
|
621
|
-
var i = t && t.cache ? t.cache :
|
|
644
|
+
function it(e, t) {
|
|
645
|
+
var i = t && t.cache ? t.cache : cn, n = t && t.serializer ? t.serializer : un, r = t && t.strategy ? t.strategy : sn;
|
|
622
646
|
return r(e, {
|
|
623
647
|
cache: i,
|
|
624
648
|
serializer: n
|
|
625
649
|
});
|
|
626
650
|
}
|
|
627
|
-
function
|
|
651
|
+
function on(e) {
|
|
628
652
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
629
653
|
}
|
|
630
654
|
function Zt(e, t, i, n) {
|
|
631
|
-
var r =
|
|
655
|
+
var r = on(n) ? n : i(n), o = t.get(r);
|
|
632
656
|
return typeof o > "u" && (o = e.call(this, n), t.set(r, o)), o;
|
|
633
657
|
}
|
|
634
658
|
function Yt(e, t, i) {
|
|
@@ -638,17 +662,17 @@ function Yt(e, t, i) {
|
|
|
638
662
|
function vt(e, t, i, n, r) {
|
|
639
663
|
return i.bind(t, e, n, r);
|
|
640
664
|
}
|
|
641
|
-
function
|
|
665
|
+
function sn(e, t) {
|
|
642
666
|
var i = e.length === 1 ? Zt : Yt;
|
|
643
667
|
return vt(e, this, i, t.cache.create(), t.serializer);
|
|
644
668
|
}
|
|
645
|
-
function
|
|
669
|
+
function an(e, t) {
|
|
646
670
|
return vt(e, this, Yt, t.cache.create(), t.serializer);
|
|
647
671
|
}
|
|
648
|
-
function
|
|
672
|
+
function ln(e, t) {
|
|
649
673
|
return vt(e, this, Zt, t.cache.create(), t.serializer);
|
|
650
674
|
}
|
|
651
|
-
var
|
|
675
|
+
var un = function() {
|
|
652
676
|
return JSON.stringify(arguments);
|
|
653
677
|
};
|
|
654
678
|
function Et() {
|
|
@@ -660,25 +684,25 @@ Et.prototype.get = function(e) {
|
|
|
660
684
|
Et.prototype.set = function(e, t) {
|
|
661
685
|
this.cache[e] = t;
|
|
662
686
|
};
|
|
663
|
-
var
|
|
687
|
+
var cn = {
|
|
664
688
|
create: function() {
|
|
665
689
|
return new Et();
|
|
666
690
|
}
|
|
667
|
-
},
|
|
668
|
-
variadic:
|
|
669
|
-
monadic:
|
|
670
|
-
},
|
|
691
|
+
}, nt = {
|
|
692
|
+
variadic: an,
|
|
693
|
+
monadic: ln
|
|
694
|
+
}, B;
|
|
671
695
|
(function(e) {
|
|
672
696
|
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";
|
|
673
|
-
})(
|
|
697
|
+
})(B || (B = {}));
|
|
674
698
|
var z;
|
|
675
699
|
(function(e) {
|
|
676
700
|
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";
|
|
677
701
|
})(z || (z = {}));
|
|
678
|
-
var
|
|
702
|
+
var Ee;
|
|
679
703
|
(function(e) {
|
|
680
704
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
681
|
-
})(
|
|
705
|
+
})(Ee || (Ee = {}));
|
|
682
706
|
function St(e) {
|
|
683
707
|
return e.type === z.literal;
|
|
684
708
|
}
|
|
@@ -700,22 +724,22 @@ function ei(e) {
|
|
|
700
724
|
function ti(e) {
|
|
701
725
|
return e.type === z.plural;
|
|
702
726
|
}
|
|
703
|
-
function
|
|
727
|
+
function fn(e) {
|
|
704
728
|
return e.type === z.pound;
|
|
705
729
|
}
|
|
706
730
|
function ii(e) {
|
|
707
731
|
return e.type === z.tag;
|
|
708
732
|
}
|
|
709
733
|
function ni(e) {
|
|
710
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
734
|
+
return !!(e && typeof e == "object" && e.type === Ee.number);
|
|
711
735
|
}
|
|
712
|
-
function
|
|
713
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
736
|
+
function ct(e) {
|
|
737
|
+
return !!(e && typeof e == "object" && e.type === Ee.dateTime);
|
|
714
738
|
}
|
|
715
|
-
var ri = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
|
739
|
+
var ri = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, mn = /(?:[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;
|
|
716
740
|
function pn(e) {
|
|
717
741
|
var t = {};
|
|
718
|
-
return e.replace(
|
|
742
|
+
return e.replace(mn, function(i) {
|
|
719
743
|
var n = i.length;
|
|
720
744
|
switch (i[0]) {
|
|
721
745
|
case "G":
|
|
@@ -804,29 +828,29 @@ function pn(e) {
|
|
|
804
828
|
return "";
|
|
805
829
|
}), t;
|
|
806
830
|
}
|
|
807
|
-
var
|
|
808
|
-
function
|
|
831
|
+
var dn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
832
|
+
function bn(e) {
|
|
809
833
|
if (e.length === 0)
|
|
810
834
|
throw new Error("Number skeleton cannot be empty");
|
|
811
|
-
for (var t = e.split(
|
|
812
|
-
return
|
|
835
|
+
for (var t = e.split(dn).filter(function(p) {
|
|
836
|
+
return p.length > 0;
|
|
813
837
|
}), i = [], n = 0, r = t; n < r.length; n++) {
|
|
814
838
|
var o = r[n], l = o.split("/");
|
|
815
839
|
if (l.length === 0)
|
|
816
840
|
throw new Error("Invalid number skeleton");
|
|
817
|
-
for (var s = l[0],
|
|
841
|
+
for (var s = l[0], c = l.slice(1), a = 0, u = c; a < u.length; a++) {
|
|
818
842
|
var f = u[a];
|
|
819
843
|
if (f.length === 0)
|
|
820
844
|
throw new Error("Invalid number skeleton");
|
|
821
845
|
}
|
|
822
|
-
i.push({ stem: s, options:
|
|
846
|
+
i.push({ stem: s, options: c });
|
|
823
847
|
}
|
|
824
848
|
return i;
|
|
825
849
|
}
|
|
826
850
|
function gn(e) {
|
|
827
851
|
return e.replace(/^(.*?)-/, "");
|
|
828
852
|
}
|
|
829
|
-
var It = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, oi = /^(@+)?(\+|#+)?[rs]?$/g,
|
|
853
|
+
var It = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, oi = /^(@+)?(\+|#+)?[rs]?$/g, yn = /(\*)(0+)|(#+)(0+)|(0+)/g, si = /^(0+)$/;
|
|
830
854
|
function kt(e) {
|
|
831
855
|
var t = {};
|
|
832
856
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(oi, function(i, n, r) {
|
|
@@ -873,7 +897,7 @@ function ai(e) {
|
|
|
873
897
|
};
|
|
874
898
|
}
|
|
875
899
|
}
|
|
876
|
-
function
|
|
900
|
+
function vn(e) {
|
|
877
901
|
var t;
|
|
878
902
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
879
903
|
notation: "engineering"
|
|
@@ -891,7 +915,7 @@ function Ht(e) {
|
|
|
891
915
|
var t = {}, i = ai(e);
|
|
892
916
|
return i || t;
|
|
893
917
|
}
|
|
894
|
-
function
|
|
918
|
+
function En(e) {
|
|
895
919
|
for (var t = {}, i = 0, n = e; i < n.length; i++) {
|
|
896
920
|
var r = n[i];
|
|
897
921
|
switch (r.stem) {
|
|
@@ -926,13 +950,13 @@ function vn(e) {
|
|
|
926
950
|
t.notation = "compact", t.compactDisplay = "long";
|
|
927
951
|
continue;
|
|
928
952
|
case "scientific":
|
|
929
|
-
t = k(k(k({}, t), { notation: "scientific" }), r.options.reduce(function(
|
|
930
|
-
return k(k({},
|
|
953
|
+
t = k(k(k({}, t), { notation: "scientific" }), r.options.reduce(function(c, a) {
|
|
954
|
+
return k(k({}, c), Ht(a));
|
|
931
955
|
}, {}));
|
|
932
956
|
continue;
|
|
933
957
|
case "engineering":
|
|
934
|
-
t = k(k(k({}, t), { notation: "engineering" }), r.options.reduce(function(
|
|
935
|
-
return k(k({},
|
|
958
|
+
t = k(k(k({}, t), { notation: "engineering" }), r.options.reduce(function(c, a) {
|
|
959
|
+
return k(k({}, c), Ht(a));
|
|
936
960
|
}, {}));
|
|
937
961
|
continue;
|
|
938
962
|
case "notation-simple":
|
|
@@ -977,13 +1001,13 @@ function vn(e) {
|
|
|
977
1001
|
case "integer-width":
|
|
978
1002
|
if (r.options.length > 1)
|
|
979
1003
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
980
|
-
r.options[0].replace(
|
|
1004
|
+
r.options[0].replace(yn, function(c, a, u, f, p, d) {
|
|
981
1005
|
if (a)
|
|
982
1006
|
t.minimumIntegerDigits = u.length;
|
|
983
1007
|
else {
|
|
984
|
-
if (f &&
|
|
1008
|
+
if (f && p)
|
|
985
1009
|
throw new Error("We currently do not support maximum integer digits");
|
|
986
|
-
if (
|
|
1010
|
+
if (d)
|
|
987
1011
|
throw new Error("We currently do not support exact integer digits");
|
|
988
1012
|
}
|
|
989
1013
|
return "";
|
|
@@ -997,8 +1021,8 @@ function vn(e) {
|
|
|
997
1021
|
if (It.test(r.stem)) {
|
|
998
1022
|
if (r.options.length > 1)
|
|
999
1023
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1000
|
-
r.stem.replace(It, function(
|
|
1001
|
-
return u === "*" ? t.minimumFractionDigits = a.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length :
|
|
1024
|
+
r.stem.replace(It, function(c, a, u, f, p, d) {
|
|
1025
|
+
return u === "*" ? t.minimumFractionDigits = a.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : p && d ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + d.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
|
|
1002
1026
|
});
|
|
1003
1027
|
var o = r.options[0];
|
|
1004
1028
|
o === "w" ? t = k(k({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = k(k({}, t), kt(o)));
|
|
@@ -1010,12 +1034,12 @@ function vn(e) {
|
|
|
1010
1034
|
}
|
|
1011
1035
|
var l = ai(r.stem);
|
|
1012
1036
|
l && (t = k(k({}, t), l));
|
|
1013
|
-
var s =
|
|
1037
|
+
var s = vn(r.stem);
|
|
1014
1038
|
s && (t = k(k({}, t), s));
|
|
1015
1039
|
}
|
|
1016
1040
|
return t;
|
|
1017
1041
|
}
|
|
1018
|
-
var
|
|
1042
|
+
var Ge = {
|
|
1019
1043
|
"001": [
|
|
1020
1044
|
"H",
|
|
1021
1045
|
"h"
|
|
@@ -2430,22 +2454,23 @@ var je = {
|
|
|
2430
2454
|
"h"
|
|
2431
2455
|
]
|
|
2432
2456
|
};
|
|
2433
|
-
function
|
|
2457
|
+
function _n(e, t) {
|
|
2434
2458
|
for (var i = "", n = 0; n < e.length; n++) {
|
|
2435
2459
|
var r = e.charAt(n);
|
|
2436
2460
|
if (r === "j") {
|
|
2437
2461
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === r; )
|
|
2438
2462
|
o++, n++;
|
|
2439
|
-
var l = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1),
|
|
2463
|
+
var l = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), c = "a", a = xn(t);
|
|
2440
2464
|
for ((a == "H" || a == "k") && (s = 0); s-- > 0; )
|
|
2441
|
-
i +=
|
|
2465
|
+
i += c;
|
|
2442
2466
|
for (; l-- > 0; )
|
|
2443
2467
|
i = a + i;
|
|
2444
|
-
} else
|
|
2468
|
+
} else
|
|
2469
|
+
r === "J" ? i += "H" : i += r;
|
|
2445
2470
|
}
|
|
2446
2471
|
return i;
|
|
2447
2472
|
}
|
|
2448
|
-
function
|
|
2473
|
+
function xn(e) {
|
|
2449
2474
|
var t = e.hourCycle;
|
|
2450
2475
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2451
2476
|
e.hourCycles && // @ts-ignore
|
|
@@ -2464,23 +2489,23 @@ function _n(e) {
|
|
|
2464
2489
|
}
|
|
2465
2490
|
var i = e.language, n;
|
|
2466
2491
|
i !== "root" && (n = e.maximize().region);
|
|
2467
|
-
var r =
|
|
2492
|
+
var r = Ge[n || ""] || Ge[i || ""] || Ge["".concat(i, "-001")] || Ge["001"];
|
|
2468
2493
|
return r[0];
|
|
2469
2494
|
}
|
|
2470
|
-
var
|
|
2471
|
-
function
|
|
2495
|
+
var rt, Tn = new RegExp("^".concat(ri.source, "*")), Pn = new RegExp("".concat(ri.source, "*$"));
|
|
2496
|
+
function S(e, t) {
|
|
2472
2497
|
return { start: e, end: t };
|
|
2473
2498
|
}
|
|
2474
|
-
var
|
|
2499
|
+
var wn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Bn = !!String.fromCodePoint, Ln = !!Object.fromEntries, An = !!String.prototype.codePointAt, Sn = !!String.prototype.trimStart, In = !!String.prototype.trimEnd, kn = !!Number.isSafeInteger, Hn = kn ? Number.isSafeInteger : function(e) {
|
|
2475
2500
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2476
2501
|
}, ht = !0;
|
|
2477
2502
|
try {
|
|
2478
|
-
var
|
|
2479
|
-
ht = ((
|
|
2503
|
+
var Cn = ui("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2504
|
+
ht = ((rt = Cn.exec("a")) === null || rt === void 0 ? void 0 : rt[0]) === "a";
|
|
2480
2505
|
} catch {
|
|
2481
2506
|
ht = !1;
|
|
2482
2507
|
}
|
|
2483
|
-
var Ct =
|
|
2508
|
+
var Ct = wn ? (
|
|
2484
2509
|
// Native
|
|
2485
2510
|
function(t, i, n) {
|
|
2486
2511
|
return t.startsWith(i, n);
|
|
@@ -2490,7 +2515,7 @@ var Ct = Pn ? (
|
|
|
2490
2515
|
function(t, i, n) {
|
|
2491
2516
|
return t.slice(n, n + i.length) === i;
|
|
2492
2517
|
}
|
|
2493
|
-
),
|
|
2518
|
+
), ft = Bn ? String.fromCodePoint : (
|
|
2494
2519
|
// IE11
|
|
2495
2520
|
function() {
|
|
2496
2521
|
for (var t = [], i = 0; i < arguments.length; i++)
|
|
@@ -2504,7 +2529,7 @@ var Ct = Pn ? (
|
|
|
2504
2529
|
}
|
|
2505
2530
|
), Nt = (
|
|
2506
2531
|
// native
|
|
2507
|
-
|
|
2532
|
+
Ln ? Object.fromEntries : (
|
|
2508
2533
|
// Ponyfill
|
|
2509
2534
|
function(t) {
|
|
2510
2535
|
for (var i = {}, n = 0, r = t; n < r.length; n++) {
|
|
@@ -2514,7 +2539,7 @@ var Ct = Pn ? (
|
|
|
2514
2539
|
return i;
|
|
2515
2540
|
}
|
|
2516
2541
|
)
|
|
2517
|
-
), li =
|
|
2542
|
+
), li = An ? (
|
|
2518
2543
|
// Native
|
|
2519
2544
|
function(t, i) {
|
|
2520
2545
|
return t.codePointAt(i);
|
|
@@ -2528,7 +2553,7 @@ var Ct = Pn ? (
|
|
|
2528
2553
|
return r < 55296 || r > 56319 || i + 1 === n || (o = t.charCodeAt(i + 1)) < 56320 || o > 57343 ? r : (r - 55296 << 10) + (o - 56320) + 65536;
|
|
2529
2554
|
}
|
|
2530
2555
|
}
|
|
2531
|
-
),
|
|
2556
|
+
), Nn = Sn ? (
|
|
2532
2557
|
// Native
|
|
2533
2558
|
function(t) {
|
|
2534
2559
|
return t.trimStart();
|
|
@@ -2536,9 +2561,9 @@ var Ct = Pn ? (
|
|
|
2536
2561
|
) : (
|
|
2537
2562
|
// Ponyfill
|
|
2538
2563
|
function(t) {
|
|
2539
|
-
return t.replace(
|
|
2564
|
+
return t.replace(Tn, "");
|
|
2540
2565
|
}
|
|
2541
|
-
),
|
|
2566
|
+
), On = In ? (
|
|
2542
2567
|
// Native
|
|
2543
2568
|
function(t) {
|
|
2544
2569
|
return t.trimEnd();
|
|
@@ -2546,32 +2571,32 @@ var Ct = Pn ? (
|
|
|
2546
2571
|
) : (
|
|
2547
2572
|
// Ponyfill
|
|
2548
2573
|
function(t) {
|
|
2549
|
-
return t.replace(
|
|
2574
|
+
return t.replace(Pn, "");
|
|
2550
2575
|
}
|
|
2551
2576
|
);
|
|
2552
2577
|
function ui(e, t) {
|
|
2553
2578
|
return new RegExp(e, t);
|
|
2554
2579
|
}
|
|
2555
|
-
var
|
|
2580
|
+
var mt;
|
|
2556
2581
|
if (ht) {
|
|
2557
2582
|
var Ot = ui("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2558
|
-
|
|
2583
|
+
mt = function(t, i) {
|
|
2559
2584
|
var n;
|
|
2560
2585
|
Ot.lastIndex = i;
|
|
2561
2586
|
var r = Ot.exec(t);
|
|
2562
2587
|
return (n = r[1]) !== null && n !== void 0 ? n : "";
|
|
2563
2588
|
};
|
|
2564
2589
|
} else
|
|
2565
|
-
|
|
2590
|
+
mt = function(t, i) {
|
|
2566
2591
|
for (var n = []; ; ) {
|
|
2567
2592
|
var r = li(t, i);
|
|
2568
|
-
if (r === void 0 ||
|
|
2593
|
+
if (r === void 0 || ci(r) || Un(r))
|
|
2569
2594
|
break;
|
|
2570
2595
|
n.push(r), i += r >= 65536 ? 2 : 1;
|
|
2571
2596
|
}
|
|
2572
|
-
return
|
|
2597
|
+
return ft.apply(void 0, n);
|
|
2573
2598
|
};
|
|
2574
|
-
var
|
|
2599
|
+
var Mn = (
|
|
2575
2600
|
/** @class */
|
|
2576
2601
|
function() {
|
|
2577
2602
|
function e(t, i) {
|
|
@@ -2596,12 +2621,12 @@ var On = (
|
|
|
2596
2621
|
var s = this.clonePosition();
|
|
2597
2622
|
this.bump(), r.push({
|
|
2598
2623
|
type: z.pound,
|
|
2599
|
-
location:
|
|
2624
|
+
location: S(s, this.clonePosition())
|
|
2600
2625
|
});
|
|
2601
2626
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2602
2627
|
if (n)
|
|
2603
2628
|
break;
|
|
2604
|
-
return this.error(
|
|
2629
|
+
return this.error(B.UNMATCHED_CLOSING_TAG, S(this.clonePosition(), this.clonePosition()));
|
|
2605
2630
|
} else if (o === 60 && !this.ignoreTag && pt(this.peek() || 0)) {
|
|
2606
2631
|
var l = this.parseTag(t, i);
|
|
2607
2632
|
if (l.err)
|
|
@@ -2625,7 +2650,7 @@ var On = (
|
|
|
2625
2650
|
val: {
|
|
2626
2651
|
type: z.literal,
|
|
2627
2652
|
value: "<".concat(r, "/>"),
|
|
2628
|
-
location:
|
|
2653
|
+
location: S(n, this.clonePosition())
|
|
2629
2654
|
},
|
|
2630
2655
|
err: null
|
|
2631
2656
|
};
|
|
@@ -2636,24 +2661,24 @@ var On = (
|
|
|
2636
2661
|
var l = o.val, s = this.clonePosition();
|
|
2637
2662
|
if (this.bumpIf("</")) {
|
|
2638
2663
|
if (this.isEOF() || !pt(this.char()))
|
|
2639
|
-
return this.error(
|
|
2640
|
-
var
|
|
2641
|
-
return r !== a ? this.error(
|
|
2664
|
+
return this.error(B.INVALID_TAG, S(s, this.clonePosition()));
|
|
2665
|
+
var c = this.clonePosition(), a = this.parseTagName();
|
|
2666
|
+
return r !== a ? this.error(B.UNMATCHED_CLOSING_TAG, S(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2642
2667
|
val: {
|
|
2643
2668
|
type: z.tag,
|
|
2644
2669
|
value: r,
|
|
2645
2670
|
children: l,
|
|
2646
|
-
location:
|
|
2671
|
+
location: S(n, this.clonePosition())
|
|
2647
2672
|
},
|
|
2648
2673
|
err: null
|
|
2649
|
-
} : this.error(
|
|
2674
|
+
} : this.error(B.INVALID_TAG, S(s, this.clonePosition())));
|
|
2650
2675
|
} else
|
|
2651
|
-
return this.error(
|
|
2676
|
+
return this.error(B.UNCLOSED_TAG, S(n, this.clonePosition()));
|
|
2652
2677
|
} else
|
|
2653
|
-
return this.error(
|
|
2678
|
+
return this.error(B.INVALID_TAG, S(n, this.clonePosition()));
|
|
2654
2679
|
}, e.prototype.parseTagName = function() {
|
|
2655
2680
|
var t = this.offset();
|
|
2656
|
-
for (this.bump(); !this.isEOF() &&
|
|
2681
|
+
for (this.bump(); !this.isEOF() && Rn(this.char()); )
|
|
2657
2682
|
this.bump();
|
|
2658
2683
|
return this.message.slice(t, this.offset());
|
|
2659
2684
|
}, e.prototype.parseLiteral = function(t, i) {
|
|
@@ -2675,14 +2700,14 @@ var On = (
|
|
|
2675
2700
|
}
|
|
2676
2701
|
break;
|
|
2677
2702
|
}
|
|
2678
|
-
var
|
|
2703
|
+
var c = S(n, this.clonePosition());
|
|
2679
2704
|
return {
|
|
2680
|
-
val: { type: z.literal, value: r, location:
|
|
2705
|
+
val: { type: z.literal, value: r, location: c },
|
|
2681
2706
|
err: null
|
|
2682
2707
|
};
|
|
2683
2708
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2684
2709
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2685
|
-
!
|
|
2710
|
+
!Dn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2686
2711
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2687
2712
|
if (this.isEOF() || this.char() !== 39)
|
|
2688
2713
|
return null;
|
|
@@ -2716,23 +2741,23 @@ var On = (
|
|
|
2716
2741
|
i.push(n);
|
|
2717
2742
|
this.bump();
|
|
2718
2743
|
}
|
|
2719
|
-
return
|
|
2744
|
+
return ft.apply(void 0, i);
|
|
2720
2745
|
}, e.prototype.tryParseUnquoted = function(t, i) {
|
|
2721
2746
|
if (this.isEOF())
|
|
2722
2747
|
return null;
|
|
2723
2748
|
var n = this.char();
|
|
2724
|
-
return n === 60 || n === 123 || n === 35 && (i === "plural" || i === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
2749
|
+
return n === 60 || n === 123 || n === 35 && (i === "plural" || i === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ft(n));
|
|
2725
2750
|
}, e.prototype.parseArgument = function(t, i) {
|
|
2726
2751
|
var n = this.clonePosition();
|
|
2727
2752
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2728
|
-
return this.error(
|
|
2753
|
+
return this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE, S(n, this.clonePosition()));
|
|
2729
2754
|
if (this.char() === 125)
|
|
2730
|
-
return this.bump(), this.error(
|
|
2755
|
+
return this.bump(), this.error(B.EMPTY_ARGUMENT, S(n, this.clonePosition()));
|
|
2731
2756
|
var r = this.parseIdentifierIfPossible().value;
|
|
2732
2757
|
if (!r)
|
|
2733
|
-
return this.error(
|
|
2758
|
+
return this.error(B.MALFORMED_ARGUMENT, S(n, this.clonePosition()));
|
|
2734
2759
|
if (this.bumpSpace(), this.isEOF())
|
|
2735
|
-
return this.error(
|
|
2760
|
+
return this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE, S(n, this.clonePosition()));
|
|
2736
2761
|
switch (this.char()) {
|
|
2737
2762
|
case 125:
|
|
2738
2763
|
return this.bump(), {
|
|
@@ -2740,25 +2765,25 @@ var On = (
|
|
|
2740
2765
|
type: z.argument,
|
|
2741
2766
|
// value does not include the opening and closing braces.
|
|
2742
2767
|
value: r,
|
|
2743
|
-
location:
|
|
2768
|
+
location: S(n, this.clonePosition())
|
|
2744
2769
|
},
|
|
2745
2770
|
err: null
|
|
2746
2771
|
};
|
|
2747
2772
|
case 44:
|
|
2748
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
2773
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE, S(n, this.clonePosition())) : this.parseArgumentOptions(t, i, r, n);
|
|
2749
2774
|
default:
|
|
2750
|
-
return this.error(
|
|
2775
|
+
return this.error(B.MALFORMED_ARGUMENT, S(n, this.clonePosition()));
|
|
2751
2776
|
}
|
|
2752
2777
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2753
|
-
var t = this.clonePosition(), i = this.offset(), n =
|
|
2778
|
+
var t = this.clonePosition(), i = this.offset(), n = mt(this.message, i), r = i + n.length;
|
|
2754
2779
|
this.bumpTo(r);
|
|
2755
|
-
var o = this.clonePosition(), l =
|
|
2780
|
+
var o = this.clonePosition(), l = S(t, o);
|
|
2756
2781
|
return { value: n, location: l };
|
|
2757
2782
|
}, e.prototype.parseArgumentOptions = function(t, i, n, r) {
|
|
2758
|
-
var o, l = this.clonePosition(), s = this.parseIdentifierIfPossible().value,
|
|
2783
|
+
var o, l = this.clonePosition(), s = this.parseIdentifierIfPossible().value, c = this.clonePosition();
|
|
2759
2784
|
switch (s) {
|
|
2760
2785
|
case "":
|
|
2761
|
-
return this.error(
|
|
2786
|
+
return this.error(B.EXPECT_ARGUMENT_TYPE, S(l, c));
|
|
2762
2787
|
case "number":
|
|
2763
2788
|
case "date":
|
|
2764
2789
|
case "time": {
|
|
@@ -2769,37 +2794,37 @@ var On = (
|
|
|
2769
2794
|
var u = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
2770
2795
|
if (f.err)
|
|
2771
2796
|
return f;
|
|
2772
|
-
var
|
|
2773
|
-
if (
|
|
2774
|
-
return this.error(
|
|
2775
|
-
var
|
|
2776
|
-
a = { style:
|
|
2797
|
+
var p = On(f.val);
|
|
2798
|
+
if (p.length === 0)
|
|
2799
|
+
return this.error(B.EXPECT_ARGUMENT_STYLE, S(this.clonePosition(), this.clonePosition()));
|
|
2800
|
+
var d = S(u, this.clonePosition());
|
|
2801
|
+
a = { style: p, styleLocation: d };
|
|
2777
2802
|
}
|
|
2778
|
-
var
|
|
2779
|
-
if (
|
|
2780
|
-
return
|
|
2781
|
-
var
|
|
2803
|
+
var _ = this.tryParseArgumentClose(r);
|
|
2804
|
+
if (_.err)
|
|
2805
|
+
return _;
|
|
2806
|
+
var x = S(r, this.clonePosition());
|
|
2782
2807
|
if (a && Ct(a?.style, "::", 0)) {
|
|
2783
|
-
var
|
|
2808
|
+
var v = Nn(a.style.slice(2));
|
|
2784
2809
|
if (s === "number") {
|
|
2785
|
-
var f = this.parseNumberSkeletonFromString(
|
|
2810
|
+
var f = this.parseNumberSkeletonFromString(v, a.styleLocation);
|
|
2786
2811
|
return f.err ? f : {
|
|
2787
|
-
val: { type: z.number, value: n, location:
|
|
2812
|
+
val: { type: z.number, value: n, location: x, style: f.val },
|
|
2788
2813
|
err: null
|
|
2789
2814
|
};
|
|
2790
2815
|
} else {
|
|
2791
|
-
if (
|
|
2792
|
-
return this.error(
|
|
2793
|
-
var
|
|
2794
|
-
this.locale && (
|
|
2795
|
-
var
|
|
2796
|
-
type:
|
|
2797
|
-
pattern:
|
|
2816
|
+
if (v.length === 0)
|
|
2817
|
+
return this.error(B.EXPECT_DATE_TIME_SKELETON, x);
|
|
2818
|
+
var E = v;
|
|
2819
|
+
this.locale && (E = _n(v, this.locale));
|
|
2820
|
+
var p = {
|
|
2821
|
+
type: Ee.dateTime,
|
|
2822
|
+
pattern: E,
|
|
2798
2823
|
location: a.styleLocation,
|
|
2799
|
-
parsedOptions: this.shouldParseSkeletons ? pn(
|
|
2800
|
-
},
|
|
2824
|
+
parsedOptions: this.shouldParseSkeletons ? pn(E) : {}
|
|
2825
|
+
}, M = s === "date" ? z.date : z.time;
|
|
2801
2826
|
return {
|
|
2802
|
-
val: { type:
|
|
2827
|
+
val: { type: M, value: n, location: x, style: p },
|
|
2803
2828
|
err: null
|
|
2804
2829
|
};
|
|
2805
2830
|
}
|
|
@@ -2808,7 +2833,7 @@ var On = (
|
|
|
2808
2833
|
val: {
|
|
2809
2834
|
type: s === "number" ? z.number : s === "date" ? z.date : z.time,
|
|
2810
2835
|
value: n,
|
|
2811
|
-
location:
|
|
2836
|
+
location: x,
|
|
2812
2837
|
style: (o = a?.style) !== null && o !== void 0 ? o : null
|
|
2813
2838
|
},
|
|
2814
2839
|
err: null
|
|
@@ -2817,32 +2842,32 @@ var On = (
|
|
|
2817
2842
|
case "plural":
|
|
2818
2843
|
case "selectordinal":
|
|
2819
2844
|
case "select": {
|
|
2820
|
-
var
|
|
2845
|
+
var w = this.clonePosition();
|
|
2821
2846
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2822
|
-
return this.error(
|
|
2847
|
+
return this.error(B.EXPECT_SELECT_ARGUMENT_OPTIONS, S(w, k({}, w)));
|
|
2823
2848
|
this.bumpSpace();
|
|
2824
|
-
var
|
|
2825
|
-
if (s !== "select" &&
|
|
2849
|
+
var D = this.parseIdentifierIfPossible(), A = 0;
|
|
2850
|
+
if (s !== "select" && D.value === "offset") {
|
|
2826
2851
|
if (!this.bumpIf(":"))
|
|
2827
|
-
return this.error(
|
|
2852
|
+
return this.error(B.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, S(this.clonePosition(), this.clonePosition()));
|
|
2828
2853
|
this.bumpSpace();
|
|
2829
|
-
var f = this.tryParseDecimalInteger(
|
|
2854
|
+
var f = this.tryParseDecimalInteger(B.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, B.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2830
2855
|
if (f.err)
|
|
2831
2856
|
return f;
|
|
2832
|
-
this.bumpSpace(),
|
|
2857
|
+
this.bumpSpace(), D = this.parseIdentifierIfPossible(), A = f.val;
|
|
2833
2858
|
}
|
|
2834
|
-
var
|
|
2835
|
-
if (
|
|
2836
|
-
return
|
|
2837
|
-
var
|
|
2838
|
-
if (
|
|
2839
|
-
return
|
|
2840
|
-
var F =
|
|
2859
|
+
var R = this.tryParsePluralOrSelectOptions(t, s, i, D);
|
|
2860
|
+
if (R.err)
|
|
2861
|
+
return R;
|
|
2862
|
+
var _ = this.tryParseArgumentClose(r);
|
|
2863
|
+
if (_.err)
|
|
2864
|
+
return _;
|
|
2865
|
+
var F = S(r, this.clonePosition());
|
|
2841
2866
|
return s === "select" ? {
|
|
2842
2867
|
val: {
|
|
2843
2868
|
type: z.select,
|
|
2844
2869
|
value: n,
|
|
2845
|
-
options: Nt(
|
|
2870
|
+
options: Nt(R.val),
|
|
2846
2871
|
location: F
|
|
2847
2872
|
},
|
|
2848
2873
|
err: null
|
|
@@ -2850,8 +2875,8 @@ var On = (
|
|
|
2850
2875
|
val: {
|
|
2851
2876
|
type: z.plural,
|
|
2852
2877
|
value: n,
|
|
2853
|
-
options: Nt(
|
|
2854
|
-
offset:
|
|
2878
|
+
options: Nt(R.val),
|
|
2879
|
+
offset: A,
|
|
2855
2880
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
2856
2881
|
location: F
|
|
2857
2882
|
},
|
|
@@ -2859,10 +2884,10 @@ var On = (
|
|
|
2859
2884
|
};
|
|
2860
2885
|
}
|
|
2861
2886
|
default:
|
|
2862
|
-
return this.error(
|
|
2887
|
+
return this.error(B.INVALID_ARGUMENT_TYPE, S(l, c));
|
|
2863
2888
|
}
|
|
2864
2889
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
2865
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
2890
|
+
return this.isEOF() || this.char() !== 125 ? this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE, S(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
2866
2891
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
2867
2892
|
for (var t = 0, i = this.clonePosition(); !this.isEOF(); ) {
|
|
2868
2893
|
var n = this.char();
|
|
@@ -2871,7 +2896,7 @@ var On = (
|
|
|
2871
2896
|
this.bump();
|
|
2872
2897
|
var r = this.clonePosition();
|
|
2873
2898
|
if (!this.bumpUntil("'"))
|
|
2874
|
-
return this.error(
|
|
2899
|
+
return this.error(B.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, S(r, this.clonePosition()));
|
|
2875
2900
|
this.bump();
|
|
2876
2901
|
break;
|
|
2877
2902
|
}
|
|
@@ -2901,52 +2926,52 @@ var On = (
|
|
|
2901
2926
|
}, e.prototype.parseNumberSkeletonFromString = function(t, i) {
|
|
2902
2927
|
var n = [];
|
|
2903
2928
|
try {
|
|
2904
|
-
n =
|
|
2929
|
+
n = bn(t);
|
|
2905
2930
|
} catch {
|
|
2906
|
-
return this.error(
|
|
2931
|
+
return this.error(B.INVALID_NUMBER_SKELETON, i);
|
|
2907
2932
|
}
|
|
2908
2933
|
return {
|
|
2909
2934
|
val: {
|
|
2910
|
-
type:
|
|
2935
|
+
type: Ee.number,
|
|
2911
2936
|
tokens: n,
|
|
2912
2937
|
location: i,
|
|
2913
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2938
|
+
parsedOptions: this.shouldParseSkeletons ? En(n) : {}
|
|
2914
2939
|
},
|
|
2915
2940
|
err: null
|
|
2916
2941
|
};
|
|
2917
2942
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, i, n, r) {
|
|
2918
|
-
for (var o, l = !1, s = [],
|
|
2943
|
+
for (var o, l = !1, s = [], c = /* @__PURE__ */ new Set(), a = r.value, u = r.location; ; ) {
|
|
2919
2944
|
if (a.length === 0) {
|
|
2920
2945
|
var f = this.clonePosition();
|
|
2921
2946
|
if (i !== "select" && this.bumpIf("=")) {
|
|
2922
|
-
var
|
|
2923
|
-
if (
|
|
2924
|
-
return
|
|
2925
|
-
u =
|
|
2947
|
+
var p = this.tryParseDecimalInteger(B.EXPECT_PLURAL_ARGUMENT_SELECTOR, B.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
2948
|
+
if (p.err)
|
|
2949
|
+
return p;
|
|
2950
|
+
u = S(f, this.clonePosition()), a = this.message.slice(f.offset, this.offset());
|
|
2926
2951
|
} else
|
|
2927
2952
|
break;
|
|
2928
2953
|
}
|
|
2929
|
-
if (
|
|
2930
|
-
return this.error(i === "select" ?
|
|
2954
|
+
if (c.has(a))
|
|
2955
|
+
return this.error(i === "select" ? B.DUPLICATE_SELECT_ARGUMENT_SELECTOR : B.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
|
|
2931
2956
|
a === "other" && (l = !0), this.bumpSpace();
|
|
2932
|
-
var
|
|
2957
|
+
var d = this.clonePosition();
|
|
2933
2958
|
if (!this.bumpIf("{"))
|
|
2934
|
-
return this.error(i === "select" ?
|
|
2935
|
-
var
|
|
2936
|
-
if (E.err)
|
|
2937
|
-
return E;
|
|
2938
|
-
var _ = this.tryParseArgumentClose(b);
|
|
2959
|
+
return this.error(i === "select" ? B.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : B.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, S(this.clonePosition(), this.clonePosition()));
|
|
2960
|
+
var _ = this.parseMessage(t + 1, i, n);
|
|
2939
2961
|
if (_.err)
|
|
2940
2962
|
return _;
|
|
2963
|
+
var x = this.tryParseArgumentClose(d);
|
|
2964
|
+
if (x.err)
|
|
2965
|
+
return x;
|
|
2941
2966
|
s.push([
|
|
2942
2967
|
a,
|
|
2943
2968
|
{
|
|
2944
|
-
value:
|
|
2945
|
-
location:
|
|
2969
|
+
value: _.val,
|
|
2970
|
+
location: S(d, this.clonePosition())
|
|
2946
2971
|
}
|
|
2947
|
-
]),
|
|
2972
|
+
]), c.add(a), this.bumpSpace(), o = this.parseIdentifierIfPossible(), a = o.value, u = o.location;
|
|
2948
2973
|
}
|
|
2949
|
-
return s.length === 0 ? this.error(i === "select" ?
|
|
2974
|
+
return s.length === 0 ? this.error(i === "select" ? B.EXPECT_SELECT_ARGUMENT_SELECTOR : B.EXPECT_PLURAL_ARGUMENT_SELECTOR, S(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !l ? this.error(B.MISSING_OTHER_CLAUSE, S(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
|
|
2950
2975
|
}, e.prototype.tryParseDecimalInteger = function(t, i) {
|
|
2951
2976
|
var n = 1, r = this.clonePosition();
|
|
2952
2977
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -2957,8 +2982,8 @@ var On = (
|
|
|
2957
2982
|
else
|
|
2958
2983
|
break;
|
|
2959
2984
|
}
|
|
2960
|
-
var
|
|
2961
|
-
return o ? (l *= n,
|
|
2985
|
+
var c = S(r, this.clonePosition());
|
|
2986
|
+
return o ? (l *= n, Hn(l) ? { val: l, err: null } : this.error(i, c)) : this.error(t, c);
|
|
2962
2987
|
}, e.prototype.offset = function() {
|
|
2963
2988
|
return this.position.offset;
|
|
2964
2989
|
}, e.prototype.isEOF = function() {
|
|
@@ -3014,7 +3039,7 @@ var On = (
|
|
|
3014
3039
|
break;
|
|
3015
3040
|
}
|
|
3016
3041
|
}, e.prototype.bumpSpace = function() {
|
|
3017
|
-
for (; !this.isEOF() &&
|
|
3042
|
+
for (; !this.isEOF() && ci(this.char()); )
|
|
3018
3043
|
this.bump();
|
|
3019
3044
|
}, e.prototype.peek = function() {
|
|
3020
3045
|
if (this.isEOF())
|
|
@@ -3027,43 +3052,44 @@ var On = (
|
|
|
3027
3052
|
function pt(e) {
|
|
3028
3053
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3029
3054
|
}
|
|
3030
|
-
function
|
|
3055
|
+
function Dn(e) {
|
|
3031
3056
|
return pt(e) || e === 47;
|
|
3032
3057
|
}
|
|
3033
|
-
function
|
|
3058
|
+
function Rn(e) {
|
|
3034
3059
|
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;
|
|
3035
3060
|
}
|
|
3036
|
-
function
|
|
3061
|
+
function ci(e) {
|
|
3037
3062
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3038
3063
|
}
|
|
3039
|
-
function
|
|
3064
|
+
function Un(e) {
|
|
3040
3065
|
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;
|
|
3041
3066
|
}
|
|
3042
|
-
function
|
|
3067
|
+
function dt(e) {
|
|
3043
3068
|
e.forEach(function(t) {
|
|
3044
3069
|
if (delete t.location, ei(t) || ti(t))
|
|
3045
3070
|
for (var i in t.options)
|
|
3046
|
-
delete t.options[i].location,
|
|
3047
|
-
else
|
|
3071
|
+
delete t.options[i].location, dt(t.options[i].value);
|
|
3072
|
+
else
|
|
3073
|
+
Jt(t) && ni(t.style) || (Qt(t) || Kt(t)) && ct(t.style) ? delete t.style.location : ii(t) && dt(t.children);
|
|
3048
3074
|
});
|
|
3049
3075
|
}
|
|
3050
|
-
function
|
|
3076
|
+
function jn(e, t) {
|
|
3051
3077
|
t === void 0 && (t = {}), t = k({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3052
|
-
var i = new
|
|
3078
|
+
var i = new Mn(e, t).parse();
|
|
3053
3079
|
if (i.err) {
|
|
3054
|
-
var n = SyntaxError(
|
|
3080
|
+
var n = SyntaxError(B[i.err.kind]);
|
|
3055
3081
|
throw n.location = i.err.location, n.originalMessage = i.err.message, n;
|
|
3056
3082
|
}
|
|
3057
|
-
return t?.captureLocation ||
|
|
3083
|
+
return t?.captureLocation || dt(i.val), i.val;
|
|
3058
3084
|
}
|
|
3059
|
-
var
|
|
3085
|
+
var _e;
|
|
3060
3086
|
(function(e) {
|
|
3061
3087
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3062
|
-
})(
|
|
3063
|
-
var
|
|
3088
|
+
})(_e || (_e = {}));
|
|
3089
|
+
var Ze = (
|
|
3064
3090
|
/** @class */
|
|
3065
3091
|
function(e) {
|
|
3066
|
-
|
|
3092
|
+
We(t, e);
|
|
3067
3093
|
function t(i, n, r) {
|
|
3068
3094
|
var o = e.call(this, i) || this;
|
|
3069
3095
|
return o.code = n, o.originalMessage = r, o;
|
|
@@ -3075,152 +3101,152 @@ var We = (
|
|
|
3075
3101
|
), Mt = (
|
|
3076
3102
|
/** @class */
|
|
3077
3103
|
function(e) {
|
|
3078
|
-
|
|
3104
|
+
We(t, e);
|
|
3079
3105
|
function t(i, n, r, o) {
|
|
3080
|
-
return e.call(this, 'Invalid values for "'.concat(i, '": "').concat(n, '". Options are "').concat(Object.keys(r).join('", "'), '"'),
|
|
3106
|
+
return e.call(this, 'Invalid values for "'.concat(i, '": "').concat(n, '". Options are "').concat(Object.keys(r).join('", "'), '"'), _e.INVALID_VALUE, o) || this;
|
|
3081
3107
|
}
|
|
3082
3108
|
return t;
|
|
3083
|
-
}(
|
|
3084
|
-
),
|
|
3109
|
+
}(Ze)
|
|
3110
|
+
), Gn = (
|
|
3085
3111
|
/** @class */
|
|
3086
3112
|
function(e) {
|
|
3087
|
-
|
|
3113
|
+
We(t, e);
|
|
3088
3114
|
function t(i, n, r) {
|
|
3089
|
-
return e.call(this, 'Value for "'.concat(i, '" must be of type ').concat(n),
|
|
3115
|
+
return e.call(this, 'Value for "'.concat(i, '" must be of type ').concat(n), _e.INVALID_VALUE, r) || this;
|
|
3090
3116
|
}
|
|
3091
3117
|
return t;
|
|
3092
|
-
}(
|
|
3093
|
-
),
|
|
3118
|
+
}(Ze)
|
|
3119
|
+
), $n = (
|
|
3094
3120
|
/** @class */
|
|
3095
3121
|
function(e) {
|
|
3096
|
-
|
|
3122
|
+
We(t, e);
|
|
3097
3123
|
function t(i, n) {
|
|
3098
|
-
return e.call(this, 'The intl string context variable "'.concat(i, '" was not provided to the string "').concat(n, '"'),
|
|
3124
|
+
return e.call(this, 'The intl string context variable "'.concat(i, '" was not provided to the string "').concat(n, '"'), _e.MISSING_VALUE, n) || this;
|
|
3099
3125
|
}
|
|
3100
3126
|
return t;
|
|
3101
|
-
}(
|
|
3102
|
-
),
|
|
3127
|
+
}(Ze)
|
|
3128
|
+
), W;
|
|
3103
3129
|
(function(e) {
|
|
3104
3130
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3105
|
-
})(
|
|
3106
|
-
function
|
|
3131
|
+
})(W || (W = {}));
|
|
3132
|
+
function zn(e) {
|
|
3107
3133
|
return e.length < 2 ? e : e.reduce(function(t, i) {
|
|
3108
3134
|
var n = t[t.length - 1];
|
|
3109
|
-
return !n || n.type !==
|
|
3135
|
+
return !n || n.type !== W.literal || i.type !== W.literal ? t.push(i) : n.value += i.value, t;
|
|
3110
3136
|
}, []);
|
|
3111
3137
|
}
|
|
3112
|
-
function
|
|
3138
|
+
function Fn(e) {
|
|
3113
3139
|
return typeof e == "function";
|
|
3114
3140
|
}
|
|
3115
|
-
function
|
|
3141
|
+
function ze(e, t, i, n, r, o, l) {
|
|
3116
3142
|
if (e.length === 1 && St(e[0]))
|
|
3117
3143
|
return [
|
|
3118
3144
|
{
|
|
3119
|
-
type:
|
|
3145
|
+
type: W.literal,
|
|
3120
3146
|
value: e[0].value
|
|
3121
3147
|
}
|
|
3122
3148
|
];
|
|
3123
|
-
for (var s = [],
|
|
3124
|
-
var u = a[
|
|
3149
|
+
for (var s = [], c = 0, a = e; c < a.length; c++) {
|
|
3150
|
+
var u = a[c];
|
|
3125
3151
|
if (St(u)) {
|
|
3126
3152
|
s.push({
|
|
3127
|
-
type:
|
|
3153
|
+
type: W.literal,
|
|
3128
3154
|
value: u.value
|
|
3129
3155
|
});
|
|
3130
3156
|
continue;
|
|
3131
3157
|
}
|
|
3132
|
-
if (
|
|
3158
|
+
if (fn(u)) {
|
|
3133
3159
|
typeof o == "number" && s.push({
|
|
3134
|
-
type:
|
|
3160
|
+
type: W.literal,
|
|
3135
3161
|
value: i.getNumberFormat(t).format(o)
|
|
3136
3162
|
});
|
|
3137
3163
|
continue;
|
|
3138
3164
|
}
|
|
3139
3165
|
var f = u.value;
|
|
3140
3166
|
if (!(r && f in r))
|
|
3141
|
-
throw new
|
|
3142
|
-
var
|
|
3167
|
+
throw new $n(f, l);
|
|
3168
|
+
var p = r[f];
|
|
3143
3169
|
if (hn(u)) {
|
|
3144
|
-
(!
|
|
3145
|
-
type: typeof
|
|
3146
|
-
value:
|
|
3170
|
+
(!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), s.push({
|
|
3171
|
+
type: typeof p == "string" ? W.literal : W.object,
|
|
3172
|
+
value: p
|
|
3147
3173
|
});
|
|
3148
3174
|
continue;
|
|
3149
3175
|
}
|
|
3150
3176
|
if (Qt(u)) {
|
|
3151
|
-
var
|
|
3177
|
+
var d = typeof u.style == "string" ? n.date[u.style] : ct(u.style) ? u.style.parsedOptions : void 0;
|
|
3152
3178
|
s.push({
|
|
3153
|
-
type:
|
|
3154
|
-
value: i.getDateTimeFormat(t,
|
|
3179
|
+
type: W.literal,
|
|
3180
|
+
value: i.getDateTimeFormat(t, d).format(p)
|
|
3155
3181
|
});
|
|
3156
3182
|
continue;
|
|
3157
3183
|
}
|
|
3158
3184
|
if (Kt(u)) {
|
|
3159
|
-
var
|
|
3185
|
+
var d = typeof u.style == "string" ? n.time[u.style] : ct(u.style) ? u.style.parsedOptions : n.time.medium;
|
|
3160
3186
|
s.push({
|
|
3161
|
-
type:
|
|
3162
|
-
value: i.getDateTimeFormat(t,
|
|
3187
|
+
type: W.literal,
|
|
3188
|
+
value: i.getDateTimeFormat(t, d).format(p)
|
|
3163
3189
|
});
|
|
3164
3190
|
continue;
|
|
3165
3191
|
}
|
|
3166
3192
|
if (Jt(u)) {
|
|
3167
|
-
var
|
|
3168
|
-
|
|
3169
|
-
type:
|
|
3170
|
-
value: i.getNumberFormat(t,
|
|
3193
|
+
var d = typeof u.style == "string" ? n.number[u.style] : ni(u.style) ? u.style.parsedOptions : void 0;
|
|
3194
|
+
d && d.scale && (p = p * (d.scale || 1)), s.push({
|
|
3195
|
+
type: W.literal,
|
|
3196
|
+
value: i.getNumberFormat(t, d).format(p)
|
|
3171
3197
|
});
|
|
3172
3198
|
continue;
|
|
3173
3199
|
}
|
|
3174
3200
|
if (ii(u)) {
|
|
3175
|
-
var
|
|
3176
|
-
if (!
|
|
3177
|
-
throw new
|
|
3178
|
-
var
|
|
3179
|
-
return
|
|
3201
|
+
var _ = u.children, x = u.value, v = r[x];
|
|
3202
|
+
if (!Fn(v))
|
|
3203
|
+
throw new Gn(x, "function", l);
|
|
3204
|
+
var E = ze(_, t, i, n, r, o), M = v(E.map(function(A) {
|
|
3205
|
+
return A.value;
|
|
3180
3206
|
}));
|
|
3181
|
-
Array.isArray(
|
|
3207
|
+
Array.isArray(M) || (M = [M]), s.push.apply(s, M.map(function(A) {
|
|
3182
3208
|
return {
|
|
3183
|
-
type: typeof
|
|
3184
|
-
value:
|
|
3209
|
+
type: typeof A == "string" ? W.literal : W.object,
|
|
3210
|
+
value: A
|
|
3185
3211
|
};
|
|
3186
3212
|
}));
|
|
3187
3213
|
}
|
|
3188
3214
|
if (ei(u)) {
|
|
3189
|
-
var
|
|
3190
|
-
if (!
|
|
3191
|
-
throw new Mt(u.value,
|
|
3192
|
-
s.push.apply(s,
|
|
3215
|
+
var w = u.options[p] || u.options.other;
|
|
3216
|
+
if (!w)
|
|
3217
|
+
throw new Mt(u.value, p, Object.keys(u.options), l);
|
|
3218
|
+
s.push.apply(s, ze(w.value, t, i, n, r));
|
|
3193
3219
|
continue;
|
|
3194
3220
|
}
|
|
3195
3221
|
if (ti(u)) {
|
|
3196
|
-
var
|
|
3197
|
-
if (!
|
|
3222
|
+
var w = u.options["=".concat(p)];
|
|
3223
|
+
if (!w) {
|
|
3198
3224
|
if (!Intl.PluralRules)
|
|
3199
|
-
throw new
|
|
3225
|
+
throw new Ze(`Intl.PluralRules is not available in this environment.
|
|
3200
3226
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3201
|
-
`,
|
|
3202
|
-
var
|
|
3203
|
-
|
|
3227
|
+
`, _e.MISSING_INTL_API, l);
|
|
3228
|
+
var D = i.getPluralRules(t, { type: u.pluralType }).select(p - (u.offset || 0));
|
|
3229
|
+
w = u.options[D] || u.options.other;
|
|
3204
3230
|
}
|
|
3205
|
-
if (!
|
|
3206
|
-
throw new Mt(u.value,
|
|
3207
|
-
s.push.apply(s,
|
|
3231
|
+
if (!w)
|
|
3232
|
+
throw new Mt(u.value, p, Object.keys(u.options), l);
|
|
3233
|
+
s.push.apply(s, ze(w.value, t, i, n, r, p - (u.offset || 0)));
|
|
3208
3234
|
continue;
|
|
3209
3235
|
}
|
|
3210
3236
|
}
|
|
3211
|
-
return
|
|
3237
|
+
return zn(s);
|
|
3212
3238
|
}
|
|
3213
|
-
function
|
|
3239
|
+
function Vn(e, t) {
|
|
3214
3240
|
return t ? k(k(k({}, e || {}), t || {}), Object.keys(e).reduce(function(i, n) {
|
|
3215
3241
|
return i[n] = k(k({}, e[n]), t[n] || {}), i;
|
|
3216
3242
|
}, {})) : e;
|
|
3217
3243
|
}
|
|
3218
|
-
function
|
|
3244
|
+
function Xn(e, t) {
|
|
3219
3245
|
return t ? Object.keys(e).reduce(function(i, n) {
|
|
3220
|
-
return i[n] =
|
|
3246
|
+
return i[n] = Vn(e[n], t[n]), i;
|
|
3221
3247
|
}, k({}, e)) : e;
|
|
3222
3248
|
}
|
|
3223
|
-
function
|
|
3249
|
+
function ot(e) {
|
|
3224
3250
|
return {
|
|
3225
3251
|
create: function() {
|
|
3226
3252
|
return {
|
|
@@ -3234,39 +3260,39 @@ function rt(e) {
|
|
|
3234
3260
|
}
|
|
3235
3261
|
};
|
|
3236
3262
|
}
|
|
3237
|
-
function
|
|
3263
|
+
function qn(e) {
|
|
3238
3264
|
return e === void 0 && (e = {
|
|
3239
3265
|
number: {},
|
|
3240
3266
|
dateTime: {},
|
|
3241
3267
|
pluralRules: {}
|
|
3242
3268
|
}), {
|
|
3243
|
-
getNumberFormat:
|
|
3269
|
+
getNumberFormat: it(function() {
|
|
3244
3270
|
for (var t, i = [], n = 0; n < arguments.length; n++)
|
|
3245
3271
|
i[n] = arguments[n];
|
|
3246
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3272
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, tt([void 0], i, !1)))();
|
|
3247
3273
|
}, {
|
|
3248
|
-
cache:
|
|
3249
|
-
strategy:
|
|
3274
|
+
cache: ot(e.number),
|
|
3275
|
+
strategy: nt.variadic
|
|
3250
3276
|
}),
|
|
3251
|
-
getDateTimeFormat:
|
|
3277
|
+
getDateTimeFormat: it(function() {
|
|
3252
3278
|
for (var t, i = [], n = 0; n < arguments.length; n++)
|
|
3253
3279
|
i[n] = arguments[n];
|
|
3254
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3280
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, tt([void 0], i, !1)))();
|
|
3255
3281
|
}, {
|
|
3256
|
-
cache:
|
|
3257
|
-
strategy:
|
|
3282
|
+
cache: ot(e.dateTime),
|
|
3283
|
+
strategy: nt.variadic
|
|
3258
3284
|
}),
|
|
3259
|
-
getPluralRules:
|
|
3285
|
+
getPluralRules: it(function() {
|
|
3260
3286
|
for (var t, i = [], n = 0; n < arguments.length; n++)
|
|
3261
3287
|
i[n] = arguments[n];
|
|
3262
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3288
|
+
return new ((t = Intl.PluralRules).bind.apply(t, tt([void 0], i, !1)))();
|
|
3263
3289
|
}, {
|
|
3264
|
-
cache:
|
|
3265
|
-
strategy:
|
|
3290
|
+
cache: ot(e.pluralRules),
|
|
3291
|
+
strategy: nt.variadic
|
|
3266
3292
|
})
|
|
3267
3293
|
};
|
|
3268
3294
|
}
|
|
3269
|
-
var
|
|
3295
|
+
var Wn = (
|
|
3270
3296
|
/** @class */
|
|
3271
3297
|
function() {
|
|
3272
3298
|
function e(t, i, n, r) {
|
|
@@ -3276,20 +3302,20 @@ var qn = (
|
|
|
3276
3302
|
number: {},
|
|
3277
3303
|
dateTime: {},
|
|
3278
3304
|
pluralRules: {}
|
|
3279
|
-
}, this.format = function(
|
|
3280
|
-
var a = o.formatToParts(
|
|
3305
|
+
}, this.format = function(c) {
|
|
3306
|
+
var a = o.formatToParts(c);
|
|
3281
3307
|
if (a.length === 1)
|
|
3282
3308
|
return a[0].value;
|
|
3283
|
-
var u = a.reduce(function(f,
|
|
3284
|
-
return !f.length ||
|
|
3309
|
+
var u = a.reduce(function(f, p) {
|
|
3310
|
+
return !f.length || p.type !== W.literal || typeof f[f.length - 1] != "string" ? f.push(p.value) : f[f.length - 1] += p.value, f;
|
|
3285
3311
|
}, []);
|
|
3286
3312
|
return u.length <= 1 ? u[0] || "" : u;
|
|
3287
|
-
}, this.formatToParts = function(
|
|
3288
|
-
return
|
|
3313
|
+
}, this.formatToParts = function(c) {
|
|
3314
|
+
return ze(o.ast, o.locales, o.formatters, o.formats, c, void 0, o.message);
|
|
3289
3315
|
}, this.resolvedOptions = function() {
|
|
3290
|
-
var
|
|
3316
|
+
var c;
|
|
3291
3317
|
return {
|
|
3292
|
-
locale: ((
|
|
3318
|
+
locale: ((c = o.resolvedLocale) === null || c === void 0 ? void 0 : c.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
|
|
3293
3319
|
};
|
|
3294
3320
|
}, this.getAst = function() {
|
|
3295
3321
|
return o.ast;
|
|
@@ -3298,13 +3324,13 @@ var qn = (
|
|
|
3298
3324
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3299
3325
|
var l = r || {};
|
|
3300
3326
|
l.formatters;
|
|
3301
|
-
var s =
|
|
3327
|
+
var s = rn(l, ["formatters"]);
|
|
3302
3328
|
this.ast = e.__parse(t, k(k({}, s), { locale: this.resolvedLocale }));
|
|
3303
3329
|
} else
|
|
3304
3330
|
this.ast = t;
|
|
3305
3331
|
if (!Array.isArray(this.ast))
|
|
3306
3332
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3307
|
-
this.formats =
|
|
3333
|
+
this.formats = Xn(e.formats, n), this.formatters = r && r.formatters || qn(this.formatterCache);
|
|
3308
3334
|
}
|
|
3309
3335
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3310
3336
|
get: function() {
|
|
@@ -3317,7 +3343,7 @@ var qn = (
|
|
|
3317
3343
|
var i = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3318
3344
|
return i.length > 0 ? new Intl.Locale(i[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3319
3345
|
}
|
|
3320
|
-
}, e.__parse =
|
|
3346
|
+
}, e.__parse = jn, e.formats = {
|
|
3321
3347
|
number: {
|
|
3322
3348
|
integer: {
|
|
3323
3349
|
maximumFractionDigits: 0
|
|
@@ -3378,7 +3404,7 @@ var qn = (
|
|
|
3378
3404
|
}, e;
|
|
3379
3405
|
}()
|
|
3380
3406
|
);
|
|
3381
|
-
function
|
|
3407
|
+
function Zn(e, t) {
|
|
3382
3408
|
if (t == null)
|
|
3383
3409
|
return;
|
|
3384
3410
|
if (t in e)
|
|
@@ -3399,92 +3425,92 @@ function Wn(e, t) {
|
|
|
3399
3425
|
n = void 0;
|
|
3400
3426
|
return n;
|
|
3401
3427
|
}
|
|
3402
|
-
const ae = {},
|
|
3428
|
+
const ae = {}, Yn = (e, t, i) => i && (t in ae || (ae[t] = {}), e in ae[t] || (ae[t][e] = i), i), hi = (e, t) => {
|
|
3403
3429
|
if (t == null)
|
|
3404
3430
|
return;
|
|
3405
3431
|
if (t in ae && e in ae[t])
|
|
3406
3432
|
return ae[t][e];
|
|
3407
|
-
const i =
|
|
3433
|
+
const i = Ye(t);
|
|
3408
3434
|
for (let n = 0; n < i.length; n++) {
|
|
3409
|
-
const r = i[n], o =
|
|
3435
|
+
const r = i[n], o = Qn(r, e);
|
|
3410
3436
|
if (o)
|
|
3411
|
-
return
|
|
3437
|
+
return Yn(e, t, o);
|
|
3412
3438
|
}
|
|
3413
3439
|
};
|
|
3414
3440
|
let _t;
|
|
3415
|
-
const Me =
|
|
3416
|
-
function
|
|
3441
|
+
const Me = qe({});
|
|
3442
|
+
function Jn(e) {
|
|
3417
3443
|
return _t[e] || null;
|
|
3418
3444
|
}
|
|
3419
3445
|
function fi(e) {
|
|
3420
3446
|
return e in _t;
|
|
3421
3447
|
}
|
|
3422
|
-
function
|
|
3448
|
+
function Qn(e, t) {
|
|
3423
3449
|
if (!fi(e))
|
|
3424
3450
|
return null;
|
|
3425
|
-
const i =
|
|
3426
|
-
return
|
|
3451
|
+
const i = Jn(e);
|
|
3452
|
+
return Zn(i, t);
|
|
3427
3453
|
}
|
|
3428
|
-
function
|
|
3454
|
+
function Kn(e) {
|
|
3429
3455
|
if (e == null)
|
|
3430
3456
|
return;
|
|
3431
|
-
const t =
|
|
3457
|
+
const t = Ye(e);
|
|
3432
3458
|
for (let i = 0; i < t.length; i++) {
|
|
3433
3459
|
const n = t[i];
|
|
3434
3460
|
if (fi(n))
|
|
3435
3461
|
return n;
|
|
3436
3462
|
}
|
|
3437
3463
|
}
|
|
3438
|
-
function
|
|
3439
|
-
delete ae[e], Me.update((i) => (i[e] =
|
|
3464
|
+
function mi(e, ...t) {
|
|
3465
|
+
delete ae[e], Me.update((i) => (i[e] = nn.all([i[e] || {}, ...t]), i));
|
|
3440
3466
|
}
|
|
3441
|
-
|
|
3467
|
+
Te(
|
|
3442
3468
|
[Me],
|
|
3443
3469
|
([e]) => Object.keys(e)
|
|
3444
3470
|
);
|
|
3445
3471
|
Me.subscribe((e) => _t = e);
|
|
3446
|
-
const
|
|
3447
|
-
function
|
|
3448
|
-
|
|
3472
|
+
const Fe = {};
|
|
3473
|
+
function er(e, t) {
|
|
3474
|
+
Fe[e].delete(t), Fe[e].size === 0 && delete Fe[e];
|
|
3449
3475
|
}
|
|
3450
|
-
function
|
|
3451
|
-
return
|
|
3476
|
+
function pi(e) {
|
|
3477
|
+
return Fe[e];
|
|
3452
3478
|
}
|
|
3453
|
-
function
|
|
3454
|
-
return
|
|
3455
|
-
const i =
|
|
3479
|
+
function tr(e) {
|
|
3480
|
+
return Ye(e).map((t) => {
|
|
3481
|
+
const i = pi(t);
|
|
3456
3482
|
return [t, i ? [...i] : []];
|
|
3457
3483
|
}).filter(([, t]) => t.length > 0);
|
|
3458
3484
|
}
|
|
3459
|
-
function
|
|
3460
|
-
return e == null ? !1 :
|
|
3485
|
+
function bt(e) {
|
|
3486
|
+
return e == null ? !1 : Ye(e).some(
|
|
3461
3487
|
(t) => {
|
|
3462
3488
|
var i;
|
|
3463
|
-
return (i =
|
|
3489
|
+
return (i = pi(t)) == null ? void 0 : i.size;
|
|
3464
3490
|
}
|
|
3465
3491
|
);
|
|
3466
3492
|
}
|
|
3467
|
-
function
|
|
3493
|
+
function ir(e, t) {
|
|
3468
3494
|
return Promise.all(
|
|
3469
|
-
t.map((n) => (
|
|
3470
|
-
).then((n) =>
|
|
3495
|
+
t.map((n) => (er(e, n), n().then((r) => r.default || r)))
|
|
3496
|
+
).then((n) => mi(e, ...n));
|
|
3471
3497
|
}
|
|
3472
|
-
const
|
|
3498
|
+
const Ie = {};
|
|
3473
3499
|
function di(e) {
|
|
3474
|
-
if (!
|
|
3475
|
-
return e in
|
|
3476
|
-
const t =
|
|
3477
|
-
return
|
|
3500
|
+
if (!bt(e))
|
|
3501
|
+
return e in Ie ? Ie[e] : Promise.resolve();
|
|
3502
|
+
const t = tr(e);
|
|
3503
|
+
return Ie[e] = Promise.all(
|
|
3478
3504
|
t.map(
|
|
3479
|
-
([i, n]) =>
|
|
3505
|
+
([i, n]) => ir(i, n)
|
|
3480
3506
|
)
|
|
3481
3507
|
).then(() => {
|
|
3482
|
-
if (
|
|
3508
|
+
if (bt(e))
|
|
3483
3509
|
return di(e);
|
|
3484
|
-
delete
|
|
3485
|
-
}),
|
|
3510
|
+
delete Ie[e];
|
|
3511
|
+
}), Ie[e];
|
|
3486
3512
|
}
|
|
3487
|
-
const
|
|
3513
|
+
const nr = {
|
|
3488
3514
|
number: {
|
|
3489
3515
|
scientific: { notation: "scientific" },
|
|
3490
3516
|
engineering: { notation: "engineering" },
|
|
@@ -3513,150 +3539,150 @@ const ir = {
|
|
|
3513
3539
|
timeZoneName: "short"
|
|
3514
3540
|
}
|
|
3515
3541
|
}
|
|
3516
|
-
},
|
|
3542
|
+
}, rr = {
|
|
3517
3543
|
fallbackLocale: null,
|
|
3518
3544
|
loadingDelay: 200,
|
|
3519
|
-
formats:
|
|
3545
|
+
formats: nr,
|
|
3520
3546
|
warnOnMissingMessages: !0,
|
|
3521
3547
|
handleMissingMessage: void 0,
|
|
3522
3548
|
ignoreTag: !0
|
|
3523
|
-
},
|
|
3524
|
-
function
|
|
3525
|
-
return
|
|
3549
|
+
}, or = rr;
|
|
3550
|
+
function xe() {
|
|
3551
|
+
return or;
|
|
3526
3552
|
}
|
|
3527
|
-
const
|
|
3528
|
-
var
|
|
3553
|
+
const st = qe(!1);
|
|
3554
|
+
var sr = Object.defineProperty, ar = Object.defineProperties, lr = Object.getOwnPropertyDescriptors, Dt = Object.getOwnPropertySymbols, ur = Object.prototype.hasOwnProperty, cr = Object.prototype.propertyIsEnumerable, Rt = (e, t, i) => t in e ? sr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, hr = (e, t) => {
|
|
3529
3555
|
for (var i in t || (t = {}))
|
|
3530
|
-
|
|
3556
|
+
ur.call(t, i) && Rt(e, i, t[i]);
|
|
3531
3557
|
if (Dt)
|
|
3532
3558
|
for (var i of Dt(t))
|
|
3533
|
-
|
|
3559
|
+
cr.call(t, i) && Rt(e, i, t[i]);
|
|
3534
3560
|
return e;
|
|
3535
|
-
},
|
|
3561
|
+
}, fr = (e, t) => ar(e, lr(t));
|
|
3536
3562
|
let gt;
|
|
3537
|
-
const
|
|
3563
|
+
const Ve = qe(null);
|
|
3538
3564
|
function Ut(e) {
|
|
3539
3565
|
return e.split("-").map((t, i, n) => n.slice(0, i + 1).join("-")).reverse();
|
|
3540
3566
|
}
|
|
3541
|
-
function
|
|
3567
|
+
function Ye(e, t = xe().fallbackLocale) {
|
|
3542
3568
|
const i = Ut(e);
|
|
3543
3569
|
return t ? [.../* @__PURE__ */ new Set([...i, ...Ut(t)])] : i;
|
|
3544
3570
|
}
|
|
3545
3571
|
function ce() {
|
|
3546
3572
|
return gt ?? void 0;
|
|
3547
3573
|
}
|
|
3548
|
-
|
|
3574
|
+
Ve.subscribe((e) => {
|
|
3549
3575
|
gt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3550
3576
|
});
|
|
3551
|
-
const
|
|
3552
|
-
if (e &&
|
|
3553
|
-
const { loadingDelay: t } =
|
|
3577
|
+
const mr = (e) => {
|
|
3578
|
+
if (e && Kn(e) && bt(e)) {
|
|
3579
|
+
const { loadingDelay: t } = xe();
|
|
3554
3580
|
let i;
|
|
3555
3581
|
return typeof window < "u" && ce() != null && t ? i = window.setTimeout(
|
|
3556
|
-
() =>
|
|
3582
|
+
() => st.set(!0),
|
|
3557
3583
|
t
|
|
3558
|
-
) :
|
|
3559
|
-
|
|
3584
|
+
) : st.set(!0), di(e).then(() => {
|
|
3585
|
+
Ve.set(e);
|
|
3560
3586
|
}).finally(() => {
|
|
3561
|
-
clearTimeout(i),
|
|
3587
|
+
clearTimeout(i), st.set(!1);
|
|
3562
3588
|
});
|
|
3563
3589
|
}
|
|
3564
|
-
return
|
|
3565
|
-
},
|
|
3566
|
-
set:
|
|
3567
|
-
}),
|
|
3590
|
+
return Ve.set(e);
|
|
3591
|
+
}, Pe = fr(hr({}, Ve), {
|
|
3592
|
+
set: mr
|
|
3593
|
+
}), Je = (e) => {
|
|
3568
3594
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3569
3595
|
return (n) => {
|
|
3570
3596
|
const r = JSON.stringify(n);
|
|
3571
3597
|
return r in t ? t[r] : t[r] = e(n);
|
|
3572
3598
|
};
|
|
3573
3599
|
};
|
|
3574
|
-
var pr = Object.defineProperty,
|
|
3600
|
+
var pr = Object.defineProperty, Xe = Object.getOwnPropertySymbols, bi = Object.prototype.hasOwnProperty, gi = Object.prototype.propertyIsEnumerable, jt = (e, t, i) => t in e ? pr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, xt = (e, t) => {
|
|
3575
3601
|
for (var i in t || (t = {}))
|
|
3576
|
-
|
|
3577
|
-
if (
|
|
3578
|
-
for (var i of
|
|
3579
|
-
|
|
3602
|
+
bi.call(t, i) && jt(e, i, t[i]);
|
|
3603
|
+
if (Xe)
|
|
3604
|
+
for (var i of Xe(t))
|
|
3605
|
+
gi.call(t, i) && jt(e, i, t[i]);
|
|
3580
3606
|
return e;
|
|
3581
|
-
},
|
|
3607
|
+
}, we = (e, t) => {
|
|
3582
3608
|
var i = {};
|
|
3583
3609
|
for (var n in e)
|
|
3584
|
-
|
|
3585
|
-
if (e != null &&
|
|
3586
|
-
for (var n of
|
|
3587
|
-
t.indexOf(n) < 0 &&
|
|
3610
|
+
bi.call(e, n) && t.indexOf(n) < 0 && (i[n] = e[n]);
|
|
3611
|
+
if (e != null && Xe)
|
|
3612
|
+
for (var n of Xe(e))
|
|
3613
|
+
t.indexOf(n) < 0 && gi.call(e, n) && (i[n] = e[n]);
|
|
3588
3614
|
return i;
|
|
3589
3615
|
};
|
|
3590
3616
|
const Oe = (e, t) => {
|
|
3591
|
-
const { formats: i } =
|
|
3617
|
+
const { formats: i } = xe();
|
|
3592
3618
|
if (e in i && t in i[e])
|
|
3593
3619
|
return i[e][t];
|
|
3594
3620
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3595
|
-
},
|
|
3621
|
+
}, dr = Je(
|
|
3596
3622
|
(e) => {
|
|
3597
|
-
var t = e, { locale: i, format: n } = t, r =
|
|
3623
|
+
var t = e, { locale: i, format: n } = t, r = we(t, ["locale", "format"]);
|
|
3598
3624
|
if (i == null)
|
|
3599
3625
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3600
3626
|
return n && (r = Oe("number", n)), new Intl.NumberFormat(i, r);
|
|
3601
3627
|
}
|
|
3602
|
-
),
|
|
3628
|
+
), br = Je(
|
|
3603
3629
|
(e) => {
|
|
3604
|
-
var t = e, { locale: i, format: n } = t, r =
|
|
3630
|
+
var t = e, { locale: i, format: n } = t, r = we(t, ["locale", "format"]);
|
|
3605
3631
|
if (i == null)
|
|
3606
3632
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3607
3633
|
return n ? r = Oe("date", n) : Object.keys(r).length === 0 && (r = Oe("date", "short")), new Intl.DateTimeFormat(i, r);
|
|
3608
3634
|
}
|
|
3609
|
-
), gr =
|
|
3635
|
+
), gr = Je(
|
|
3610
3636
|
(e) => {
|
|
3611
|
-
var t = e, { locale: i, format: n } = t, r =
|
|
3637
|
+
var t = e, { locale: i, format: n } = t, r = we(t, ["locale", "format"]);
|
|
3612
3638
|
if (i == null)
|
|
3613
3639
|
throw new Error(
|
|
3614
3640
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3615
3641
|
);
|
|
3616
3642
|
return n ? r = Oe("time", n) : Object.keys(r).length === 0 && (r = Oe("time", "short")), new Intl.DateTimeFormat(i, r);
|
|
3617
3643
|
}
|
|
3618
|
-
),
|
|
3644
|
+
), yr = (e = {}) => {
|
|
3619
3645
|
var t = e, {
|
|
3620
3646
|
locale: i = ce()
|
|
3621
|
-
} = t, n =
|
|
3647
|
+
} = t, n = we(t, [
|
|
3622
3648
|
"locale"
|
|
3623
3649
|
]);
|
|
3624
|
-
return
|
|
3625
|
-
},
|
|
3650
|
+
return dr(xt({ locale: i }, n));
|
|
3651
|
+
}, vr = (e = {}) => {
|
|
3626
3652
|
var t = e, {
|
|
3627
3653
|
locale: i = ce()
|
|
3628
|
-
} = t, n =
|
|
3654
|
+
} = t, n = we(t, [
|
|
3629
3655
|
"locale"
|
|
3630
3656
|
]);
|
|
3631
|
-
return
|
|
3632
|
-
},
|
|
3657
|
+
return br(xt({ locale: i }, n));
|
|
3658
|
+
}, Er = (e = {}) => {
|
|
3633
3659
|
var t = e, {
|
|
3634
3660
|
locale: i = ce()
|
|
3635
|
-
} = t, n =
|
|
3661
|
+
} = t, n = we(t, [
|
|
3636
3662
|
"locale"
|
|
3637
3663
|
]);
|
|
3638
3664
|
return gr(xt({ locale: i }, n));
|
|
3639
|
-
},
|
|
3665
|
+
}, _r = Je(
|
|
3640
3666
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3641
|
-
(e, t = ce()) => new
|
|
3642
|
-
ignoreTag:
|
|
3667
|
+
(e, t = ce()) => new Wn(e, t, xe().formats, {
|
|
3668
|
+
ignoreTag: xe().ignoreTag
|
|
3643
3669
|
})
|
|
3644
|
-
),
|
|
3670
|
+
), xr = (e, t = {}) => {
|
|
3645
3671
|
var i, n, r, o;
|
|
3646
3672
|
let l = t;
|
|
3647
3673
|
typeof e == "object" && (l = e, e = l.id);
|
|
3648
3674
|
const {
|
|
3649
3675
|
values: s,
|
|
3650
|
-
locale:
|
|
3676
|
+
locale: c = ce(),
|
|
3651
3677
|
default: a
|
|
3652
3678
|
} = l;
|
|
3653
|
-
if (
|
|
3679
|
+
if (c == null)
|
|
3654
3680
|
throw new Error(
|
|
3655
3681
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3656
3682
|
);
|
|
3657
|
-
let u =
|
|
3683
|
+
let u = hi(e, c);
|
|
3658
3684
|
if (!u)
|
|
3659
|
-
u = (o = (r = (n = (i =
|
|
3685
|
+
u = (o = (r = (n = (i = xe()).handleMissingMessage) == null ? void 0 : n.call(i, { locale: c, id: e, defaultValue: a })) != null ? r : a) != null ? o : e;
|
|
3660
3686
|
else if (typeof u != "string")
|
|
3661
3687
|
return console.warn(
|
|
3662
3688
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -3665,24 +3691,24 @@ const Oe = (e, t) => {
|
|
|
3665
3691
|
return u;
|
|
3666
3692
|
let f = u;
|
|
3667
3693
|
try {
|
|
3668
|
-
f =
|
|
3669
|
-
} catch (
|
|
3670
|
-
|
|
3694
|
+
f = _r(u, c).format(s);
|
|
3695
|
+
} catch (p) {
|
|
3696
|
+
p instanceof Error && console.warn(
|
|
3671
3697
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
3672
|
-
|
|
3698
|
+
p.message
|
|
3673
3699
|
);
|
|
3674
3700
|
}
|
|
3675
3701
|
return f;
|
|
3676
|
-
},
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
|
|
3702
|
+
}, Tr = (e, t) => Er(t).format(e), Pr = (e, t) => vr(t).format(e), wr = (e, t) => yr(t).format(e), Br = (e, t = ce()) => hi(e, t), Lr = Te([Pe, Me], () => xr);
|
|
3703
|
+
Te([Pe], () => Tr);
|
|
3704
|
+
Te([Pe], () => Pr);
|
|
3705
|
+
Te([Pe], () => wr);
|
|
3706
|
+
Te([Pe, Me], () => Br);
|
|
3681
3707
|
function Gt(e, t) {
|
|
3682
|
-
|
|
3708
|
+
mi(e, t);
|
|
3683
3709
|
}
|
|
3684
|
-
function
|
|
3685
|
-
|
|
3710
|
+
function Ar(e) {
|
|
3711
|
+
Pe.set(e);
|
|
3686
3712
|
}
|
|
3687
3713
|
const $t = {
|
|
3688
3714
|
en: {
|
|
@@ -3944,61 +3970,89 @@ const $t = {
|
|
|
3944
3970
|
docsRequired: "Documents required!",
|
|
3945
3971
|
kyc2: "For the selected limit, we require documents that show your financial situation. Please upload your last payslip as well as a current bank statement, that shows the account balance as well as that you received the salary payment."
|
|
3946
3972
|
}
|
|
3947
|
-
}
|
|
3948
|
-
function Sr(e) {
|
|
3949
|
-
|
|
3973
|
+
};
|
|
3974
|
+
function Sr(e, t) {
|
|
3975
|
+
if (e) {
|
|
3976
|
+
const i = document.createElement("style");
|
|
3977
|
+
i.innerHTML = t, e.appendChild(i);
|
|
3978
|
+
}
|
|
3979
|
+
}
|
|
3980
|
+
function Ir(e, t) {
|
|
3981
|
+
const i = new URL(t);
|
|
3982
|
+
fetch(i.href).then((n) => n.text()).then((n) => {
|
|
3983
|
+
const r = document.createElement("style");
|
|
3984
|
+
r.innerHTML = n, e && e.appendChild(r);
|
|
3985
|
+
}).catch((n) => {
|
|
3986
|
+
console.error("There was an error while trying to load client styling from URL", n);
|
|
3987
|
+
});
|
|
3988
|
+
}
|
|
3989
|
+
function kr(e, t, i) {
|
|
3990
|
+
if (window.emMessageBus) {
|
|
3991
|
+
const n = document.createElement("style");
|
|
3992
|
+
window.emMessageBus.subscribe(t, (r) => {
|
|
3993
|
+
n.innerHTML = r, e && e.appendChild(n);
|
|
3994
|
+
});
|
|
3995
|
+
}
|
|
3996
|
+
}
|
|
3997
|
+
function Hr(e) {
|
|
3998
|
+
Ei(e, "svelte-1jw4gf9", ':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:0.8rem}*,*::before,*::after{margin:0;padding:0;list-style:none;outline:none;box-sizing:border-box}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-popup-2{background:var(--emw--color-black, #000000);color:var(--emw--color-white, #000)}.Title{font-weight:800;font-size:18px}button{display:block;font-size:0.75rem;padding:12px 0;border:0;border-radius:2px;cursor:pointer}button.PrimaryButtonStyle{font-size:14px;color:#fff;background:rgb(122, 195, 23)}button.SecondaryButtonStyle{border:1px solid #999;color:#666;background:#fff}.LinkButton{display:inline;padding:0;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));text-decoration:underline;background-color:rgba(0, 0, 0, 0)}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center;margin:12px 0}.ResultIconWrapper svg{height:auto;width:60px;margin:12px}.ResultIconWrapper p{color:#666}.Overlay{position:absolute;top:0;left:0;width:100vw;height:100vh;background-color:rgba(0, 0, 0, 0.5);display:flex;justify-content:center;align-items:center}.ModalContainer{position:fixed;top:30vh;width:320px;height:auto;padding:18px 14px;background:#fff;border-radius:4px}.InitialWrapper{display:flex;flex-direction:column;gap:12px}.AdditionalInformation{margin:10px 0;font-size:14px}.TermsConditions{font-size:12px}.ExpandButton{font-size:14px;background-color:var(--emw--color-white, #FFFFFF);border:0;padding:0;margin-top:-10px;color:var(--emw--color-black, #000000);display:flex;justify-content:center;align-items:center;cursor:pointer}.ExpandButton svg{width:28px;height:auto;margin-left:-4px}.LeftAlign{text-align:left;font-size:16px}.CenterAlign{text-align:center}.SetLimitSection{display:flex;flex-direction:column;gap:6px}.DepositTextSection{display:flex;justify-content:space-between}.DepositInputSection{height:32px;display:flex;gap:4px}.DepositInput{flex-grow:1;padding:0 6px}.SubmitDepositButton{flex-grow:1;font-size:0.75rem;padding:0}.SubmitDepositButton[disabled]{align-items:center;color:var(--emw--color-gray-100, #E6E6E6);cursor:not-allowed;background:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-300, #58586B)}.Hidden{display:none}.Extended{transform:rotate(180deg)}');
|
|
3950
3999
|
}
|
|
3951
|
-
function
|
|
4000
|
+
function Cr(e) {
|
|
3952
4001
|
let t;
|
|
3953
4002
|
function i(o, l) {
|
|
3954
4003
|
if (
|
|
3955
4004
|
/*popupState*/
|
|
3956
4005
|
o[10] === "initial"
|
|
3957
|
-
)
|
|
4006
|
+
)
|
|
4007
|
+
return Ur;
|
|
3958
4008
|
if (
|
|
3959
4009
|
/*popupState*/
|
|
3960
4010
|
o[10] === "successful"
|
|
3961
|
-
)
|
|
4011
|
+
)
|
|
4012
|
+
return Rr;
|
|
3962
4013
|
if (
|
|
3963
4014
|
/*popupState*/
|
|
3964
4015
|
o[10] === "KYC"
|
|
3965
|
-
)
|
|
4016
|
+
)
|
|
4017
|
+
return Dr;
|
|
3966
4018
|
if (
|
|
3967
4019
|
/*popupState*/
|
|
3968
4020
|
o[10] === "KYC2"
|
|
3969
|
-
)
|
|
4021
|
+
)
|
|
4022
|
+
return Mr;
|
|
3970
4023
|
if (
|
|
3971
4024
|
/*popupState*/
|
|
3972
4025
|
o[10] === "error"
|
|
3973
|
-
)
|
|
4026
|
+
)
|
|
4027
|
+
return Or;
|
|
3974
4028
|
}
|
|
3975
4029
|
let n = i(e), r = n && n(e);
|
|
3976
4030
|
return {
|
|
3977
4031
|
c() {
|
|
3978
|
-
t =
|
|
4032
|
+
t = g("div"), r && r.c(), h(t, "class", "InitialWrapper");
|
|
3979
4033
|
},
|
|
3980
4034
|
m(o, l) {
|
|
3981
|
-
|
|
4035
|
+
T(o, t, l), r && r.m(t, null);
|
|
3982
4036
|
},
|
|
3983
4037
|
p(o, l) {
|
|
3984
4038
|
n === (n = i(o)) && r ? r.p(o, l) : (r && r.d(1), r = n && n(o), r && (r.c(), r.m(t, null)));
|
|
3985
4039
|
},
|
|
3986
4040
|
d(o) {
|
|
3987
|
-
o &&
|
|
4041
|
+
o && y(t), r && r.d();
|
|
3988
4042
|
}
|
|
3989
4043
|
};
|
|
3990
4044
|
}
|
|
3991
|
-
function
|
|
4045
|
+
function Nr(e) {
|
|
3992
4046
|
let t, i = (
|
|
3993
4047
|
/*$_*/
|
|
3994
4048
|
e[12]("loading") + ""
|
|
3995
4049
|
), n;
|
|
3996
4050
|
return {
|
|
3997
4051
|
c() {
|
|
3998
|
-
t =
|
|
4052
|
+
t = g("p"), n = L(i);
|
|
3999
4053
|
},
|
|
4000
4054
|
m(r, o) {
|
|
4001
|
-
|
|
4055
|
+
T(r, t, o), m(t, n);
|
|
4002
4056
|
},
|
|
4003
4057
|
p(r, o) {
|
|
4004
4058
|
o[0] & /*$_*/
|
|
@@ -4006,573 +4060,567 @@ function kr(e) {
|
|
|
4006
4060
|
r[12]("loading") + "") && H(n, i);
|
|
4007
4061
|
},
|
|
4008
4062
|
d(r) {
|
|
4009
|
-
r &&
|
|
4063
|
+
r && y(t);
|
|
4010
4064
|
}
|
|
4011
4065
|
};
|
|
4012
4066
|
}
|
|
4013
|
-
function
|
|
4067
|
+
function Or(e) {
|
|
4014
4068
|
let t, i = (
|
|
4015
4069
|
/*$_*/
|
|
4016
4070
|
e[12]("depositError") + ""
|
|
4017
|
-
), n, r, o, l, s,
|
|
4071
|
+
), n, r, o, l, s, c = (
|
|
4018
4072
|
/*$_*/
|
|
4019
4073
|
e[12]("errorDescription") + ""
|
|
4020
|
-
), a, u, f,
|
|
4074
|
+
), a, u, f, p = (
|
|
4021
4075
|
/*$_*/
|
|
4022
4076
|
e[12]("closeButton") + ""
|
|
4023
|
-
),
|
|
4077
|
+
), d, _, x;
|
|
4024
4078
|
return {
|
|
4025
4079
|
c() {
|
|
4026
|
-
t =
|
|
4080
|
+
t = g("p"), n = L(i), r = N(), o = g("div"), o.innerHTML = '<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 1000 1000" enable-background="new 0 0 1000 1000" xml:space="preserve"><metadata>Svg Vector Icons : http://www.onlinewebfonts.com/icon </metadata><g><path d="M500,100.9c220,0,399.1,179,399.1,399.1S720.1,899.1,500,899.1c-220.1,0-399.1-179-399.1-399.1C100.9,279.9,279.9,100.9,500,100.9 M500,10C229.4,10,10,229.4,10,500c0,270.6,219.4,490,490,490c270.6,0,490-219.4,490-490C990,229.4,770.6,10,500,10L500,10z"></path><path d="M658.7,734.5L272.2,348l75-75l386.4,386.4L658.7,734.5z"></path><path d="M347.2,734.5l-75-75L658.7,273l75,75L347.2,734.5z"></path></g></svg>', l = N(), s = g("p"), a = L(c), u = N(), f = g("button"), d = L(p), h(t, "class", "Title"), h(o, "class", "ResultIconWrapper"), h(s, "class", "Description CenterAlign"), h(f, "class", "ConfirmButton SecondaryButtonStyle");
|
|
4027
4081
|
},
|
|
4028
|
-
m(
|
|
4029
|
-
|
|
4082
|
+
m(v, E) {
|
|
4083
|
+
T(v, t, E), m(t, n), T(v, r, E), T(v, o, E), T(v, l, E), T(v, s, E), m(s, a), T(v, u, E), T(v, f, E), m(f, d), _ || (x = Z(
|
|
4030
4084
|
f,
|
|
4031
4085
|
"click",
|
|
4032
4086
|
/*click_handler_10*/
|
|
4033
|
-
e[
|
|
4034
|
-
),
|
|
4087
|
+
e[37]
|
|
4088
|
+
), _ = !0);
|
|
4035
4089
|
},
|
|
4036
|
-
p(
|
|
4037
|
-
|
|
4090
|
+
p(v, E) {
|
|
4091
|
+
E[0] & /*$_*/
|
|
4038
4092
|
4096 && i !== (i = /*$_*/
|
|
4039
|
-
|
|
4040
|
-
4096 &&
|
|
4041
|
-
|
|
4042
|
-
4096 &&
|
|
4043
|
-
|
|
4093
|
+
v[12]("depositError") + "") && H(n, i), E[0] & /*$_*/
|
|
4094
|
+
4096 && c !== (c = /*$_*/
|
|
4095
|
+
v[12]("errorDescription") + "") && H(a, c), E[0] & /*$_*/
|
|
4096
|
+
4096 && p !== (p = /*$_*/
|
|
4097
|
+
v[12]("closeButton") + "") && H(d, p);
|
|
4044
4098
|
},
|
|
4045
|
-
d(
|
|
4046
|
-
|
|
4099
|
+
d(v) {
|
|
4100
|
+
v && (y(t), y(r), y(o), y(l), y(s), y(u), y(f)), _ = !1, x();
|
|
4047
4101
|
}
|
|
4048
4102
|
};
|
|
4049
4103
|
}
|
|
4050
|
-
function
|
|
4104
|
+
function Mr(e) {
|
|
4051
4105
|
let t, i = (
|
|
4052
4106
|
/*$_*/
|
|
4053
4107
|
e[12]("docsRequired") + ""
|
|
4054
|
-
), n, r, o, l, s,
|
|
4108
|
+
), n, r, o, l, s, c, a, u, f, p = (
|
|
4055
4109
|
/*$_*/
|
|
4056
4110
|
e[12]("docsRequired") + ""
|
|
4057
|
-
),
|
|
4111
|
+
), d, _, x, v = (
|
|
4058
4112
|
/*$_*/
|
|
4059
4113
|
e[12]("kyc2") + ""
|
|
4060
|
-
),
|
|
4114
|
+
), E, M, w, D = (
|
|
4061
4115
|
/*$_*/
|
|
4062
4116
|
e[12]("kycButton") + ""
|
|
4063
|
-
),
|
|
4117
|
+
), A, R, F, C = (
|
|
4064
4118
|
/*$_*/
|
|
4065
4119
|
e[12]("closeButton") + ""
|
|
4066
|
-
),
|
|
4120
|
+
), U, $, X;
|
|
4067
4121
|
return {
|
|
4068
4122
|
c() {
|
|
4069
|
-
t =
|
|
4123
|
+
t = g("p"), n = L(i), r = N(), o = g("div"), l = g("div"), s = Y("svg"), c = Y("g"), a = Y("path"), u = N(), f = g("p"), d = L(p), _ = N(), x = g("p"), E = L(v), M = N(), w = g("button"), A = L(D), R = N(), F = g("button"), U = L(C), h(t, "class", "Title"), h(a, "id", "XMLID_6_"), h(a, "d", `M426.2,55h-99.8C318,23.3,290,0,255.5,0S193,23.3,184.7,55H84.9c-27,0-48.5,22.4-48.5,48.5v360
|
|
4070
4124
|
c0,27,22.4,48.5,48.5,48.5h342.3c27,0,48.5-22.4,48.5-48.5v-360C475.6,76.5,453.2,55,426.2,55z M255.5,55
|
|
4071
4125
|
c13.1,0,24.2,11.2,24.2,24.2s-11.2,24.2-24.2,24.2s-24.2-11.2-24.2-24.2S242.5,55,255.5,55z M429.9,467.2H81.1V100.7h45.7v82.1
|
|
4072
|
-
h256.5v-82.1H429v366.5H429.9z`), c
|
|
4126
|
+
h256.5v-82.1H429v366.5H429.9z`), h(c, "id", "XMLID_1_"), h(s, "version", "1.1"), h(s, "id", "Layer_1"), h(s, "xmlns", "http://www.w3.org/2000/svg"), h(s, "xmlns:xlink", "http://www.w3.org/1999/xlink"), h(s, "x", "0px"), h(s, "y", "0px"), h(s, "viewBox", "0 0 512 512"), ke(s, "enable-background", "new 0 0 512 512"), h(s, "xml:space", "preserve"), h(l, "class", "ResultIconWrapper"), h(x, "class", "Description CenterAlign"), h(o, "class", "DescriptionWrapper"), h(w, "class", "KycButton PrimaryButtonStyle"), h(F, "class", "ConfirmButton SecondaryButtonStyle");
|
|
4073
4127
|
},
|
|
4074
|
-
m(
|
|
4075
|
-
|
|
4128
|
+
m(P, j) {
|
|
4129
|
+
T(P, t, j), m(t, n), T(P, r, j), T(P, o, j), m(o, l), m(l, s), m(s, c), m(c, a), m(l, u), m(l, f), m(f, d), m(o, _), m(o, x), m(x, E), T(P, M, j), T(P, w, j), m(w, A), T(P, R, j), T(P, F, j), m(F, U), $ || (X = [
|
|
4076
4130
|
Z(
|
|
4077
|
-
|
|
4131
|
+
w,
|
|
4078
4132
|
"click",
|
|
4079
4133
|
/*click_handler_8*/
|
|
4080
|
-
e[
|
|
4134
|
+
e[35]
|
|
4081
4135
|
),
|
|
4082
4136
|
Z(
|
|
4083
4137
|
F,
|
|
4084
4138
|
"click",
|
|
4085
4139
|
/*click_handler_9*/
|
|
4086
|
-
e[
|
|
4140
|
+
e[36]
|
|
4087
4141
|
)
|
|
4088
|
-
],
|
|
4142
|
+
], $ = !0);
|
|
4089
4143
|
},
|
|
4090
|
-
p(
|
|
4091
|
-
|
|
4144
|
+
p(P, j) {
|
|
4145
|
+
j[0] & /*$_*/
|
|
4092
4146
|
4096 && i !== (i = /*$_*/
|
|
4093
|
-
|
|
4094
|
-
4096 &&
|
|
4095
|
-
|
|
4096
|
-
4096 &&
|
|
4097
|
-
|
|
4098
|
-
4096 &&
|
|
4099
|
-
|
|
4100
|
-
4096 &&
|
|
4101
|
-
|
|
4147
|
+
P[12]("docsRequired") + "") && H(n, i), j[0] & /*$_*/
|
|
4148
|
+
4096 && p !== (p = /*$_*/
|
|
4149
|
+
P[12]("docsRequired") + "") && H(d, p), j[0] & /*$_*/
|
|
4150
|
+
4096 && v !== (v = /*$_*/
|
|
4151
|
+
P[12]("kyc2") + "") && H(E, v), j[0] & /*$_*/
|
|
4152
|
+
4096 && D !== (D = /*$_*/
|
|
4153
|
+
P[12]("kycButton") + "") && H(A, D), j[0] & /*$_*/
|
|
4154
|
+
4096 && C !== (C = /*$_*/
|
|
4155
|
+
P[12]("closeButton") + "") && H(U, C);
|
|
4102
4156
|
},
|
|
4103
|
-
d(
|
|
4104
|
-
|
|
4157
|
+
d(P) {
|
|
4158
|
+
P && (y(t), y(r), y(o), y(M), y(w), y(R), y(F)), $ = !1, le(X);
|
|
4105
4159
|
}
|
|
4106
4160
|
};
|
|
4107
4161
|
}
|
|
4108
|
-
function
|
|
4162
|
+
function Dr(e) {
|
|
4109
4163
|
let t, i = (
|
|
4110
4164
|
/*$_*/
|
|
4111
4165
|
e[12]("depositLimit") + ""
|
|
4112
|
-
), n, r, o, l, s,
|
|
4166
|
+
), n, r, o, l, s, c, a, u, f, p = (
|
|
4113
4167
|
/*$_*/
|
|
4114
4168
|
e[12]("successful") + ""
|
|
4115
|
-
),
|
|
4169
|
+
), d, _, x, v = (
|
|
4116
4170
|
/*$_*/
|
|
4117
4171
|
e[12]("kyc1Part1") + ""
|
|
4118
|
-
),
|
|
4172
|
+
), E, M, w, D, A = (
|
|
4119
4173
|
/*$_*/
|
|
4120
4174
|
e[12]("kyc1Part2") + ""
|
|
4121
|
-
),
|
|
4175
|
+
), R, F, C, U = (
|
|
4122
4176
|
/*$_*/
|
|
4123
4177
|
e[12]("kycButton") + ""
|
|
4124
|
-
),
|
|
4178
|
+
), $, X, P, j = (
|
|
4125
4179
|
/*$_*/
|
|
4126
4180
|
e[12]("closeButton") + ""
|
|
4127
|
-
),
|
|
4181
|
+
), ie, ne, se;
|
|
4128
4182
|
return {
|
|
4129
4183
|
c() {
|
|
4130
|
-
t =
|
|
4184
|
+
t = g("p"), n = L(i), r = N(), o = g("div"), l = g("div"), s = Y("svg"), c = Y("g"), a = Y("path"), u = N(), f = g("p"), d = L(p), _ = N(), x = g("p"), E = L(v), M = L(
|
|
4131
4185
|
/*legislatorLimitValue*/
|
|
4132
4186
|
e[11]
|
|
4133
|
-
),
|
|
4187
|
+
), w = N(), D = L(
|
|
4134
4188
|
/*currency*/
|
|
4135
4189
|
e[0]
|
|
4136
|
-
),
|
|
4190
|
+
), R = L(A), F = N(), C = g("button"), $ = L(U), X = N(), P = g("button"), ie = L(j), h(t, "class", "Title"), h(a, "id", "XMLID_6_"), h(a, "d", `M426.2,55h-99.8C318,23.3,290,0,255.5,0S193,23.3,184.7,55H84.9c-27,0-48.5,22.4-48.5,48.5v360
|
|
4137
4191
|
c0,27,22.4,48.5,48.5,48.5h342.3c27,0,48.5-22.4,48.5-48.5v-360C475.6,76.5,453.2,55,426.2,55z M255.5,55
|
|
4138
4192
|
c13.1,0,24.2,11.2,24.2,24.2s-11.2,24.2-24.2,24.2s-24.2-11.2-24.2-24.2S242.5,55,255.5,55z M429.9,467.2H81.1V100.7h45.7v82.1
|
|
4139
|
-
h256.5v-82.1H429v366.5H429.9z`), c
|
|
4193
|
+
h256.5v-82.1H429v366.5H429.9z`), h(c, "id", "XMLID_1_"), h(s, "version", "1.1"), h(s, "id", "Layer_1"), h(s, "xmlns", "http://www.w3.org/2000/svg"), h(s, "xmlns:xlink", "http://www.w3.org/1999/xlink"), h(s, "x", "0px"), h(s, "y", "0px"), h(s, "viewBox", "0 0 512 512"), ke(s, "enable-background", "new 0 0 512 512"), h(s, "xml:space", "preserve"), h(l, "class", "ResultIconWrapper"), h(x, "class", "Description CenterAlign"), h(o, "class", "DescriptionWrapper"), h(C, "class", "KycButton PrimaryButtonStyle"), h(P, "class", "ConfirmButton SecondaryButtonStyle");
|
|
4140
4194
|
},
|
|
4141
|
-
m(V,
|
|
4142
|
-
|
|
4195
|
+
m(V, G) {
|
|
4196
|
+
T(V, t, G), m(t, n), T(V, r, G), T(V, o, G), m(o, l), m(l, s), m(s, c), m(c, a), m(l, u), m(l, f), m(f, d), m(o, _), m(o, x), m(x, E), m(x, M), m(x, w), m(x, D), m(x, R), T(V, F, G), T(V, C, G), m(C, $), T(V, X, G), T(V, P, G), m(P, ie), ne || (se = [
|
|
4143
4197
|
Z(
|
|
4144
|
-
|
|
4198
|
+
C,
|
|
4145
4199
|
"click",
|
|
4146
4200
|
/*click_handler_6*/
|
|
4147
|
-
e[
|
|
4201
|
+
e[33]
|
|
4148
4202
|
),
|
|
4149
4203
|
Z(
|
|
4150
|
-
|
|
4204
|
+
P,
|
|
4151
4205
|
"click",
|
|
4152
4206
|
/*click_handler_7*/
|
|
4153
|
-
e[
|
|
4207
|
+
e[34]
|
|
4154
4208
|
)
|
|
4155
|
-
],
|
|
4209
|
+
], ne = !0);
|
|
4156
4210
|
},
|
|
4157
|
-
p(V,
|
|
4158
|
-
|
|
4211
|
+
p(V, G) {
|
|
4212
|
+
G[0] & /*$_*/
|
|
4159
4213
|
4096 && i !== (i = /*$_*/
|
|
4160
|
-
V[12]("depositLimit") + "") && H(n, i),
|
|
4161
|
-
4096 &&
|
|
4162
|
-
V[12]("successful") + "") && H(
|
|
4163
|
-
4096 &&
|
|
4164
|
-
V[12]("kyc1Part1") + "") && H(
|
|
4214
|
+
V[12]("depositLimit") + "") && H(n, i), G[0] & /*$_*/
|
|
4215
|
+
4096 && p !== (p = /*$_*/
|
|
4216
|
+
V[12]("successful") + "") && H(d, p), G[0] & /*$_*/
|
|
4217
|
+
4096 && v !== (v = /*$_*/
|
|
4218
|
+
V[12]("kyc1Part1") + "") && H(E, v), G[0] & /*legislatorLimitValue*/
|
|
4165
4219
|
2048 && H(
|
|
4166
|
-
|
|
4220
|
+
M,
|
|
4167
4221
|
/*legislatorLimitValue*/
|
|
4168
4222
|
V[11]
|
|
4169
|
-
),
|
|
4223
|
+
), G[0] & /*currency*/
|
|
4170
4224
|
1 && H(
|
|
4171
|
-
|
|
4225
|
+
D,
|
|
4172
4226
|
/*currency*/
|
|
4173
4227
|
V[0]
|
|
4174
|
-
),
|
|
4175
|
-
4096 &&
|
|
4176
|
-
V[12]("kyc1Part2") + "") && H(
|
|
4228
|
+
), G[0] & /*$_*/
|
|
4229
|
+
4096 && A !== (A = /*$_*/
|
|
4230
|
+
V[12]("kyc1Part2") + "") && H(R, A), G[0] & /*$_*/
|
|
4231
|
+
4096 && U !== (U = /*$_*/
|
|
4232
|
+
V[12]("kycButton") + "") && H($, U), G[0] & /*$_*/
|
|
4177
4233
|
4096 && j !== (j = /*$_*/
|
|
4178
|
-
V[12]("
|
|
4179
|
-
4096 && G !== (G = /*$_*/
|
|
4180
|
-
V[12]("closeButton") + "") && H(te, G);
|
|
4234
|
+
V[12]("closeButton") + "") && H(ie, j);
|
|
4181
4235
|
},
|
|
4182
4236
|
d(V) {
|
|
4183
|
-
V && (
|
|
4237
|
+
V && (y(t), y(r), y(o), y(F), y(C), y(X), y(P)), ne = !1, le(se);
|
|
4184
4238
|
}
|
|
4185
4239
|
};
|
|
4186
4240
|
}
|
|
4187
|
-
function
|
|
4241
|
+
function Rr(e) {
|
|
4188
4242
|
let t, i = (
|
|
4189
4243
|
/*$_*/
|
|
4190
4244
|
e[12]("depositLimit") + ""
|
|
4191
|
-
), n, r, o, l, s,
|
|
4245
|
+
), n, r, o, l, s, c, a, u, f, p, d, _, x = (
|
|
4192
4246
|
/*$_*/
|
|
4193
4247
|
e[12]("successful") + ""
|
|
4194
|
-
),
|
|
4248
|
+
), v, E, M, w = (
|
|
4195
4249
|
/*$_*/
|
|
4196
4250
|
e[12]("successDescription") + ""
|
|
4197
|
-
),
|
|
4251
|
+
), D, A, R, F, C;
|
|
4198
4252
|
return {
|
|
4199
4253
|
c() {
|
|
4200
|
-
t =
|
|
4201
|
-
`), f = Y("g"),
|
|
4254
|
+
t = g("p"), n = L(i), r = N(), o = g("div"), l = g("div"), s = Y("svg"), c = Y("defs"), a = Y("style"), u = L(`.fil0 {fill:black;fill-rule:nonzero}
|
|
4255
|
+
`), f = Y("g"), p = Y("polygon"), d = N(), _ = g("p"), v = L(x), E = N(), M = g("p"), D = L(w), A = N(), R = g("button"), R.textContent = "OK", h(t, "class", "Title"), h(a, "type", "text/css"), h(p, "class", "fil0"), h(p, "points", "0,38 10,25 36,47 78,0 90,11 37,69 "), h(s, "xmlns", "http://www.w3.org/2000/svg"), h(s, "xmlns:xlink", "http://www.w3.org/1999/xlink"), h(s, "xml:space", "preserve"), h(s, "version", "1.1"), ke(s, "shape-rendering", "geometricPrecision"), ke(s, "text-rendering", "geometricPrecision"), ke(s, "image-rendering", "optimizeQuality"), h(s, "viewBox", "0 0 90 69"), h(s, "x", "0px"), h(s, "y", "0px"), h(s, "fill-rule", "evenodd"), h(s, "clip-rule", "evenodd"), h(l, "class", "ResultIconWrapper"), h(M, "class", "Description CenterAlign"), h(o, "class", "DescriptionWrapper"), h(R, "class", "ConfirmButton PrimaryButtonStyle");
|
|
4202
4256
|
},
|
|
4203
|
-
m(
|
|
4204
|
-
|
|
4205
|
-
|
|
4257
|
+
m(U, $) {
|
|
4258
|
+
T(U, t, $), m(t, n), T(U, r, $), T(U, o, $), m(o, l), m(l, s), m(s, c), m(c, a), m(a, u), m(s, f), m(f, p), m(l, d), m(l, _), m(_, v), m(o, E), m(o, M), m(M, D), T(U, A, $), T(U, R, $), F || (C = Z(
|
|
4259
|
+
R,
|
|
4206
4260
|
"click",
|
|
4207
4261
|
/*click_handler_5*/
|
|
4208
|
-
e[
|
|
4262
|
+
e[32]
|
|
4209
4263
|
), F = !0);
|
|
4210
4264
|
},
|
|
4211
|
-
p(
|
|
4212
|
-
|
|
4265
|
+
p(U, $) {
|
|
4266
|
+
$[0] & /*$_*/
|
|
4213
4267
|
4096 && i !== (i = /*$_*/
|
|
4214
|
-
|
|
4215
|
-
4096 &&
|
|
4216
|
-
|
|
4217
|
-
4096 &&
|
|
4218
|
-
|
|
4268
|
+
U[12]("depositLimit") + "") && H(n, i), $[0] & /*$_*/
|
|
4269
|
+
4096 && x !== (x = /*$_*/
|
|
4270
|
+
U[12]("successful") + "") && H(v, x), $[0] & /*$_*/
|
|
4271
|
+
4096 && w !== (w = /*$_*/
|
|
4272
|
+
U[12]("successDescription") + "") && H(D, w);
|
|
4219
4273
|
},
|
|
4220
|
-
d(
|
|
4221
|
-
|
|
4274
|
+
d(U) {
|
|
4275
|
+
U && (y(t), y(r), y(o), y(A), y(R)), F = !1, C();
|
|
4222
4276
|
}
|
|
4223
4277
|
};
|
|
4224
4278
|
}
|
|
4225
|
-
function
|
|
4279
|
+
function Ur(e) {
|
|
4226
4280
|
let t, i = (
|
|
4227
4281
|
/*$_*/
|
|
4228
4282
|
e[12]("setLimit") + ""
|
|
4229
4283
|
), n, r, o, l = (
|
|
4230
4284
|
/*$_*/
|
|
4231
4285
|
e[12]("setLimitDescription") + ""
|
|
4232
|
-
), s,
|
|
4286
|
+
), s, c, a, u = (
|
|
4233
4287
|
/*$_*/
|
|
4234
4288
|
e[12]("lugasInfo1") + ""
|
|
4235
|
-
), f,
|
|
4289
|
+
), f, p, d, _ = (
|
|
4236
4290
|
/*$_*/
|
|
4237
4291
|
e[12]("lugasInfo2") + ""
|
|
4238
|
-
),
|
|
4292
|
+
), x, v, E, M = (
|
|
4239
4293
|
/*$_*/
|
|
4240
4294
|
e[12]("keepCurrentLimit") + ""
|
|
4241
|
-
),
|
|
4295
|
+
), w, D, A, R = (
|
|
4242
4296
|
/*$_*/
|
|
4243
4297
|
e[12]("keepCurrentLimitButton") + ""
|
|
4244
|
-
), F,
|
|
4298
|
+
), F, C, U, $, X, P, j, ie, ne = (
|
|
4245
4299
|
/*$_*/
|
|
4246
4300
|
e[12]("depositPeriod") + ""
|
|
4247
|
-
), se, V,
|
|
4301
|
+
), se, V, G, Q, De, re, he = (
|
|
4248
4302
|
/*$_*/
|
|
4249
4303
|
e[12]("applyButton") + ""
|
|
4250
|
-
),
|
|
4304
|
+
), Be, Le, J, fe = (
|
|
4251
4305
|
/*$_*/
|
|
4252
4306
|
e[12]("TCpart1") + ""
|
|
4253
|
-
),
|
|
4307
|
+
), Ae, ue, me = (
|
|
4254
4308
|
/*$_*/
|
|
4255
4309
|
e[12]("TClink") + ""
|
|
4256
|
-
),
|
|
4310
|
+
), Se, b, q = (
|
|
4257
4311
|
/*$_*/
|
|
4258
4312
|
e[12]("TCpart2") + ""
|
|
4259
|
-
),
|
|
4313
|
+
), oe, Re, K, Ue = (
|
|
4260
4314
|
/*$_*/
|
|
4261
4315
|
e[12]("PPlink") + ""
|
|
4262
|
-
),
|
|
4316
|
+
), Qe, Tt, Ke, Pt;
|
|
4263
4317
|
return {
|
|
4264
4318
|
c() {
|
|
4265
|
-
t =
|
|
4266
|
-
|
|
4319
|
+
t = g("p"), n = L(i), r = N(), o = g("p"), s = L(l), c = N(), a = g("p"), f = L(u), p = N(), d = g("button"), x = L(_), v = N(), E = g("button"), w = L(M), D = N(), A = g("button"), F = L(R), C = Y("svg"), U = Y("path"), $ = Y("path"), X = N(), P = g("div"), j = g("div"), ie = g("span"), se = L(ne), V = N(), G = g("div"), Q = g("input"), De = N(), re = g("button"), Be = L(he), Le = N(), J = g("p"), Ae = L(fe), ue = g("button"), Se = L(me), b = N(), oe = L(q), Re = N(), K = g("button"), Qe = L(Ue), Tt = L("."), h(t, "class", "Title"), h(o, "class", "Description LeftAlign"), h(d, "class", "LinkButton"), h(a, "class", "AdditionalInformation"), h(E, "class", "KeepCurrentButton PrimaryButtonStyle"), h(U, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), h($, "d", "M0 0h36v36h-36z"), h($, "fill", "none"), h(C, "class", "ExpandArrow"), h(C, "xmlns", "http://www.w3.org/2000/svg"), h(C, "width", "36"), h(C, "height", "36"), h(C, "viewBox", "0 0 36 36"), h(C, "fill", "#999"), je(
|
|
4320
|
+
C,
|
|
4267
4321
|
"Extended",
|
|
4268
4322
|
/*extended*/
|
|
4269
4323
|
e[5]
|
|
4270
|
-
),
|
|
4271
|
-
|
|
4324
|
+
), h(A, "class", "ExpandButton"), h(ie, "class", "DepositPeriodText"), h(j, "class", "DepositTextSection"), h(Q, "type", "number"), h(Q, "class", "DepositInput"), h(re, "type", "submit"), h(re, "class", "SubmitDepositButton PrimaryButtonStyle"), re.disabled = !0, h(G, "class", "DepositInputSection"), h(P, "class", "SetLimitSection"), je(
|
|
4325
|
+
P,
|
|
4272
4326
|
"Hidden",
|
|
4273
4327
|
/*hidden*/
|
|
4274
4328
|
e[4]
|
|
4275
|
-
),
|
|
4329
|
+
), h(ue, "class", "LinkButton"), h(K, "class", "LinkButton"), h(J, "class", "TermsConditions");
|
|
4276
4330
|
},
|
|
4277
|
-
m(I,
|
|
4278
|
-
|
|
4279
|
-
|
|
4331
|
+
m(I, O) {
|
|
4332
|
+
T(I, t, O), m(t, n), T(I, r, O), T(I, o, O), m(o, s), T(I, c, O), T(I, a, O), m(a, f), m(a, p), m(a, d), m(d, x), T(I, v, O), T(I, E, O), m(E, w), T(I, D, O), T(I, A, O), m(A, F), m(A, C), m(C, U), m(C, $), e[26](C), T(I, X, O), T(I, P, O), m(P, j), m(j, ie), m(ie, se), m(P, V), m(P, G), m(G, Q), Bt(
|
|
4333
|
+
Q,
|
|
4280
4334
|
/*inputAmount*/
|
|
4281
4335
|
e[6]
|
|
4282
|
-
),
|
|
4336
|
+
), m(G, De), m(G, re), m(re, Be), e[28](re), T(I, Le, O), T(I, J, O), m(J, Ae), m(J, ue), m(ue, Se), m(J, b), m(J, oe), m(J, Re), m(J, K), m(K, Qe), m(J, Tt), Ke || (Pt = [
|
|
4283
4337
|
Z(
|
|
4284
|
-
|
|
4338
|
+
d,
|
|
4285
4339
|
"click",
|
|
4286
4340
|
/*click_handler*/
|
|
4287
|
-
e[
|
|
4341
|
+
e[24]
|
|
4288
4342
|
),
|
|
4289
4343
|
Z(
|
|
4290
|
-
|
|
4344
|
+
E,
|
|
4291
4345
|
"click",
|
|
4292
4346
|
/*click_handler_1*/
|
|
4293
|
-
e[
|
|
4347
|
+
e[25]
|
|
4294
4348
|
),
|
|
4295
4349
|
Z(
|
|
4296
|
-
|
|
4350
|
+
A,
|
|
4297
4351
|
"click",
|
|
4298
4352
|
/*toggleNewLimitArea*/
|
|
4299
4353
|
e[13]
|
|
4300
4354
|
),
|
|
4301
4355
|
Z(
|
|
4302
|
-
|
|
4356
|
+
Q,
|
|
4303
4357
|
"input",
|
|
4304
4358
|
/*input_input_handler*/
|
|
4305
|
-
e[
|
|
4359
|
+
e[27]
|
|
4306
4360
|
),
|
|
4307
4361
|
Z(
|
|
4308
|
-
|
|
4362
|
+
Q,
|
|
4309
4363
|
"keyup",
|
|
4310
4364
|
/*updateInputValue*/
|
|
4311
4365
|
e[14]
|
|
4312
4366
|
),
|
|
4313
4367
|
Z(
|
|
4314
|
-
|
|
4368
|
+
re,
|
|
4315
4369
|
"click",
|
|
4316
4370
|
/*click_handler_2*/
|
|
4317
|
-
e[
|
|
4371
|
+
e[29]
|
|
4318
4372
|
),
|
|
4319
4373
|
Z(
|
|
4320
4374
|
ue,
|
|
4321
4375
|
"click",
|
|
4322
4376
|
/*click_handler_3*/
|
|
4323
|
-
e[
|
|
4377
|
+
e[30]
|
|
4324
4378
|
),
|
|
4325
4379
|
Z(
|
|
4326
|
-
|
|
4380
|
+
K,
|
|
4327
4381
|
"click",
|
|
4328
4382
|
/*click_handler_4*/
|
|
4329
|
-
e[
|
|
4383
|
+
e[31]
|
|
4330
4384
|
)
|
|
4331
|
-
],
|
|
4385
|
+
], Ke = !0);
|
|
4332
4386
|
},
|
|
4333
|
-
p(I,
|
|
4334
|
-
|
|
4387
|
+
p(I, O) {
|
|
4388
|
+
O[0] & /*$_*/
|
|
4335
4389
|
4096 && i !== (i = /*$_*/
|
|
4336
|
-
I[12]("setLimit") + "") && H(n, i),
|
|
4390
|
+
I[12]("setLimit") + "") && H(n, i), O[0] & /*$_*/
|
|
4337
4391
|
4096 && l !== (l = /*$_*/
|
|
4338
|
-
I[12]("setLimitDescription") + "") && H(s, l),
|
|
4392
|
+
I[12]("setLimitDescription") + "") && H(s, l), O[0] & /*$_*/
|
|
4339
4393
|
4096 && u !== (u = /*$_*/
|
|
4340
|
-
I[12]("lugasInfo1") + "") && H(f, u),
|
|
4341
|
-
4096 &&
|
|
4342
|
-
I[12]("lugasInfo2") + "") && H(
|
|
4343
|
-
4096 &&
|
|
4344
|
-
I[12]("keepCurrentLimit") + "") && H(
|
|
4345
|
-
4096 &&
|
|
4346
|
-
I[12]("keepCurrentLimitButton") + "") && H(F,
|
|
4347
|
-
32 &&
|
|
4348
|
-
|
|
4394
|
+
I[12]("lugasInfo1") + "") && H(f, u), O[0] & /*$_*/
|
|
4395
|
+
4096 && _ !== (_ = /*$_*/
|
|
4396
|
+
I[12]("lugasInfo2") + "") && H(x, _), O[0] & /*$_*/
|
|
4397
|
+
4096 && M !== (M = /*$_*/
|
|
4398
|
+
I[12]("keepCurrentLimit") + "") && H(w, M), O[0] & /*$_*/
|
|
4399
|
+
4096 && R !== (R = /*$_*/
|
|
4400
|
+
I[12]("keepCurrentLimitButton") + "") && H(F, R), O[0] & /*extended*/
|
|
4401
|
+
32 && je(
|
|
4402
|
+
C,
|
|
4349
4403
|
"Extended",
|
|
4350
4404
|
/*extended*/
|
|
4351
4405
|
I[5]
|
|
4352
|
-
),
|
|
4353
|
-
4096 &&
|
|
4354
|
-
I[12]("depositPeriod") + "") && H(se,
|
|
4355
|
-
64 && Xt(
|
|
4406
|
+
), O[0] & /*$_*/
|
|
4407
|
+
4096 && ne !== (ne = /*$_*/
|
|
4408
|
+
I[12]("depositPeriod") + "") && H(se, ne), O[0] & /*inputAmount*/
|
|
4409
|
+
64 && Xt(Q.value) !== /*inputAmount*/
|
|
4356
4410
|
I[6] && Bt(
|
|
4357
|
-
|
|
4411
|
+
Q,
|
|
4358
4412
|
/*inputAmount*/
|
|
4359
4413
|
I[6]
|
|
4360
|
-
),
|
|
4361
|
-
4096 &&
|
|
4362
|
-
I[12]("applyButton") + "") && H(
|
|
4363
|
-
16 &&
|
|
4364
|
-
|
|
4414
|
+
), O[0] & /*$_*/
|
|
4415
|
+
4096 && he !== (he = /*$_*/
|
|
4416
|
+
I[12]("applyButton") + "") && H(Be, he), O[0] & /*hidden*/
|
|
4417
|
+
16 && je(
|
|
4418
|
+
P,
|
|
4365
4419
|
"Hidden",
|
|
4366
4420
|
/*hidden*/
|
|
4367
4421
|
I[4]
|
|
4368
|
-
),
|
|
4369
|
-
4096 &&
|
|
4370
|
-
I[12]("TCpart1") + "") && H(
|
|
4422
|
+
), O[0] & /*$_*/
|
|
4423
|
+
4096 && fe !== (fe = /*$_*/
|
|
4424
|
+
I[12]("TCpart1") + "") && H(Ae, fe), O[0] & /*$_*/
|
|
4371
4425
|
4096 && me !== (me = /*$_*/
|
|
4372
|
-
I[12]("TClink") + "") && H(
|
|
4373
|
-
4096 &&
|
|
4374
|
-
I[12]("TCpart2") + "") && H(
|
|
4375
|
-
4096 &&
|
|
4376
|
-
I[12]("PPlink") + "") && H(
|
|
4426
|
+
I[12]("TClink") + "") && H(Se, me), O[0] & /*$_*/
|
|
4427
|
+
4096 && q !== (q = /*$_*/
|
|
4428
|
+
I[12]("TCpart2") + "") && H(oe, q), O[0] & /*$_*/
|
|
4429
|
+
4096 && Ue !== (Ue = /*$_*/
|
|
4430
|
+
I[12]("PPlink") + "") && H(Qe, Ue);
|
|
4377
4431
|
},
|
|
4378
4432
|
d(I) {
|
|
4379
|
-
I && (
|
|
4433
|
+
I && (y(t), y(r), y(o), y(c), y(a), y(v), y(E), y(D), y(A), y(X), y(P), y(Le), y(J)), e[26](null), e[28](null), Ke = !1, le(Pt);
|
|
4380
4434
|
}
|
|
4381
4435
|
};
|
|
4382
4436
|
}
|
|
4383
|
-
function
|
|
4437
|
+
function jr(e) {
|
|
4384
4438
|
let t, i, n, r, o, l;
|
|
4385
4439
|
function s(u, f) {
|
|
4386
4440
|
if (
|
|
4387
4441
|
/*isLoading*/
|
|
4388
4442
|
u[7]
|
|
4389
|
-
)
|
|
4443
|
+
)
|
|
4444
|
+
return Nr;
|
|
4390
4445
|
if (
|
|
4391
4446
|
/*lang*/
|
|
4392
4447
|
u[1]
|
|
4393
|
-
)
|
|
4448
|
+
)
|
|
4449
|
+
return Cr;
|
|
4394
4450
|
}
|
|
4395
|
-
let
|
|
4451
|
+
let c = s(e), a = c && c(e);
|
|
4396
4452
|
return {
|
|
4397
4453
|
c() {
|
|
4398
|
-
t =
|
|
4454
|
+
t = g("meta"), i = N(), n = g("div"), r = g("div"), o = g("div"), l = g("div"), a && a.c(), h(t, "name", "viewport"), h(t, "content", "width=device-width, initial-scale=1"), h(l, "class", "ModalContainer"), h(o, "class", "Overlay"), h(r, "class", "player-account-gaming-limits-popup-2");
|
|
4399
4455
|
},
|
|
4400
4456
|
m(u, f) {
|
|
4401
|
-
|
|
4457
|
+
m(document.head, t), T(u, i, f), T(u, n, f), m(n, r), m(r, o), m(o, l), a && a.m(l, null), e[38](r), e[39](n);
|
|
4402
4458
|
},
|
|
4403
4459
|
p(u, f) {
|
|
4404
|
-
|
|
4460
|
+
c === (c = s(u)) && a ? a.p(u, f) : (a && a.d(1), a = c && c(u), a && (a.c(), a.m(l, null)));
|
|
4405
4461
|
},
|
|
4406
|
-
i:
|
|
4407
|
-
o:
|
|
4462
|
+
i: te,
|
|
4463
|
+
o: te,
|
|
4408
4464
|
d(u) {
|
|
4409
|
-
u && (
|
|
4465
|
+
u && (y(i), y(n)), y(t), a && a.d(), e[38](null), e[39](null);
|
|
4410
4466
|
}
|
|
4411
4467
|
};
|
|
4412
4468
|
}
|
|
4413
|
-
function
|
|
4469
|
+
function Gr(e, t, i) {
|
|
4414
4470
|
let n;
|
|
4415
|
-
vi(e,
|
|
4416
|
-
let { userid: r = "" } = t, { session: o = "" } = t, { endpoint: l = "" } = t, { currency: s = "" } = t, { lang:
|
|
4417
|
-
const
|
|
4418
|
-
fetch(a).then((
|
|
4419
|
-
Object.keys(
|
|
4420
|
-
Gt(
|
|
4471
|
+
vi(e, Lr, (b) => i(12, n = b));
|
|
4472
|
+
let { userid: r = "" } = t, { session: o = "" } = t, { endpoint: l = "" } = t, { currency: s = "" } = t, { lang: c = "" } = t, { translationurl: a = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: f = "" } = t, { mbsource: p } = t, d, _, x = !0, v = !1, E, M = !1, w, D, A = "initial", R;
|
|
4473
|
+
const F = () => {
|
|
4474
|
+
fetch(a).then((q) => q.json()).then((q) => {
|
|
4475
|
+
Object.keys(q).forEach((oe) => {
|
|
4476
|
+
Gt(oe, q[oe]);
|
|
4421
4477
|
});
|
|
4422
|
-
}).catch((
|
|
4423
|
-
console.log(
|
|
4478
|
+
}).catch((q) => {
|
|
4479
|
+
console.log(q);
|
|
4424
4480
|
});
|
|
4425
4481
|
};
|
|
4426
|
-
Object.keys($t).forEach((
|
|
4427
|
-
Gt(
|
|
4482
|
+
Object.keys($t).forEach((b) => {
|
|
4483
|
+
Gt(b, $t[b]);
|
|
4428
4484
|
});
|
|
4429
|
-
const
|
|
4430
|
-
i(5,
|
|
4431
|
-
},
|
|
4432
|
-
|
|
4433
|
-
},
|
|
4434
|
-
|
|
4435
|
-
const
|
|
4436
|
-
|
|
4437
|
-
},
|
|
4438
|
-
switch (window.postMessage({ type:
|
|
4485
|
+
const C = () => {
|
|
4486
|
+
i(5, v = !v), i(4, x = !x);
|
|
4487
|
+
}, U = () => {
|
|
4488
|
+
D.parentNode.removeChild(D);
|
|
4489
|
+
}, $ = () => {
|
|
4490
|
+
E > 999999999999999 && i(6, E = 999999999999999);
|
|
4491
|
+
const q = E - Math.floor(E) === 0;
|
|
4492
|
+
E > 0 && q ? w.removeAttribute("disabled") : w.setAttribute("disabled", "true");
|
|
4493
|
+
}, X = (b) => {
|
|
4494
|
+
switch (window.postMessage({ type: b }, window.location.href), b) {
|
|
4439
4495
|
case "closePopup":
|
|
4440
4496
|
case "uploadDocuments":
|
|
4441
|
-
|
|
4497
|
+
U();
|
|
4442
4498
|
break;
|
|
4443
4499
|
}
|
|
4444
|
-
},
|
|
4445
|
-
const
|
|
4446
|
-
let
|
|
4447
|
-
i(7,
|
|
4448
|
-
let
|
|
4500
|
+
}, P = (b) => {
|
|
4501
|
+
const q = new URL(`/v1/player/${r}/limit/lugas`, l);
|
|
4502
|
+
let oe = {};
|
|
4503
|
+
i(7, M = !0), oe = b === "custom" ? { amount: E } : {};
|
|
4504
|
+
let Re = {
|
|
4449
4505
|
method: "POST",
|
|
4450
4506
|
headers: {
|
|
4451
4507
|
"X-SessionID": o,
|
|
4452
4508
|
"Content-Type": "application/json",
|
|
4453
4509
|
Accept: "application/json"
|
|
4454
4510
|
},
|
|
4455
|
-
body: JSON.stringify(
|
|
4511
|
+
body: JSON.stringify(oe)
|
|
4456
4512
|
};
|
|
4457
|
-
fetch(
|
|
4458
|
-
|
|
4459
|
-
}).catch((
|
|
4460
|
-
console.log(
|
|
4513
|
+
fetch(q.href, Re).then((K) => K.json()).then((K) => {
|
|
4514
|
+
j(K);
|
|
4515
|
+
}).catch((K) => {
|
|
4516
|
+
console.log(K);
|
|
4461
4517
|
}).finally(() => {
|
|
4462
|
-
i(7,
|
|
4518
|
+
i(7, M = !1);
|
|
4463
4519
|
});
|
|
4464
|
-
},
|
|
4465
|
-
if (
|
|
4466
|
-
switch (
|
|
4520
|
+
}, j = (b) => {
|
|
4521
|
+
if (b.hasOwnProperty("kycNeeded"))
|
|
4522
|
+
switch (b.popup) {
|
|
4467
4523
|
case 1:
|
|
4468
|
-
i(10,
|
|
4524
|
+
i(10, A = "KYC"), i(11, R = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(b.operatorDepositLimitAmount));
|
|
4469
4525
|
break;
|
|
4470
4526
|
case 2:
|
|
4471
|
-
i(10,
|
|
4527
|
+
i(10, A = "successful");
|
|
4472
4528
|
break;
|
|
4473
4529
|
case 3:
|
|
4474
|
-
i(10,
|
|
4530
|
+
i(10, A = "KYC2");
|
|
4475
4531
|
break;
|
|
4476
4532
|
}
|
|
4477
4533
|
else
|
|
4478
|
-
i(10,
|
|
4479
|
-
}, G = () => {
|
|
4480
|
-
Lr(h);
|
|
4481
|
-
}, te = () => {
|
|
4482
|
-
let d = document.createElement("style");
|
|
4483
|
-
d.innerHTML = u, m.appendChild(d);
|
|
4534
|
+
i(10, A = "error");
|
|
4484
4535
|
}, ie = () => {
|
|
4485
|
-
|
|
4486
|
-
|
|
4487
|
-
|
|
4488
|
-
|
|
4489
|
-
|
|
4490
|
-
|
|
4491
|
-
|
|
4492
|
-
);
|
|
4493
|
-
});
|
|
4494
|
-
}, se = () => S("lugasInformation"), V = () => W("default");
|
|
4495
|
-
function $(d) {
|
|
4496
|
-
ye[d ? "unshift" : "push"](() => {
|
|
4497
|
-
b = d, i(3, b);
|
|
4536
|
+
Ar(c);
|
|
4537
|
+
};
|
|
4538
|
+
Bi(() => () => {
|
|
4539
|
+
});
|
|
4540
|
+
const ne = () => X("lugasInformation"), se = () => P("default");
|
|
4541
|
+
function V(b) {
|
|
4542
|
+
ge[b ? "unshift" : "push"](() => {
|
|
4543
|
+
_ = b, i(3, _);
|
|
4498
4544
|
});
|
|
4499
4545
|
}
|
|
4500
|
-
function
|
|
4501
|
-
|
|
4546
|
+
function G() {
|
|
4547
|
+
E = Xt(this.value), i(6, E);
|
|
4502
4548
|
}
|
|
4503
|
-
function
|
|
4504
|
-
|
|
4505
|
-
|
|
4549
|
+
function Q(b) {
|
|
4550
|
+
ge[b ? "unshift" : "push"](() => {
|
|
4551
|
+
w = b, i(8, w);
|
|
4506
4552
|
});
|
|
4507
4553
|
}
|
|
4508
|
-
const
|
|
4509
|
-
function
|
|
4510
|
-
|
|
4511
|
-
|
|
4554
|
+
const De = () => P("custom"), re = () => X("termsConditions"), he = () => X("privacyPolicy"), Be = () => X("closePopup"), Le = () => X("uploadDocuments"), J = () => X("closePopup"), fe = () => X("uploadDocuments"), Ae = () => X("closePopup"), ue = () => X("closePopup");
|
|
4555
|
+
function me(b) {
|
|
4556
|
+
ge[b ? "unshift" : "push"](() => {
|
|
4557
|
+
D = b, i(9, D);
|
|
4512
4558
|
});
|
|
4513
4559
|
}
|
|
4514
|
-
function
|
|
4515
|
-
|
|
4516
|
-
|
|
4560
|
+
function Se(b) {
|
|
4561
|
+
ge[b ? "unshift" : "push"](() => {
|
|
4562
|
+
d = b, i(2, d);
|
|
4517
4563
|
});
|
|
4518
4564
|
}
|
|
4519
|
-
return e.$$set = (
|
|
4520
|
-
"userid" in
|
|
4565
|
+
return e.$$set = (b) => {
|
|
4566
|
+
"userid" in b && i(17, r = b.userid), "session" in b && i(18, o = b.session), "endpoint" in b && i(19, l = b.endpoint), "currency" in b && i(0, s = b.currency), "lang" in b && i(1, c = b.lang), "translationurl" in b && i(20, a = b.translationurl), "clientstyling" in b && i(21, u = b.clientstyling), "clientstylingurl" in b && i(22, f = b.clientstylingurl), "mbsource" in b && i(23, p = b.mbsource);
|
|
4521
4567
|
}, e.$$.update = () => {
|
|
4522
4568
|
e.$$.dirty[0] & /*lang*/
|
|
4523
|
-
2 &&
|
|
4524
|
-
|
|
4525
|
-
|
|
4526
|
-
|
|
4569
|
+
2 && c && ie(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4570
|
+
2097156 && u && d && Sr(d, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4571
|
+
4194308 && f && d && Ir(d, f), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
4572
|
+
8388612 && p && d && kr(d, `${p}.Style`), e.$$.dirty[0] & /*translationurl*/
|
|
4573
|
+
1048576 && a && F();
|
|
4527
4574
|
}, [
|
|
4528
4575
|
s,
|
|
4529
|
-
|
|
4530
|
-
|
|
4531
|
-
b,
|
|
4532
|
-
E,
|
|
4576
|
+
c,
|
|
4577
|
+
d,
|
|
4533
4578
|
_,
|
|
4534
|
-
|
|
4535
|
-
|
|
4536
|
-
|
|
4537
|
-
|
|
4579
|
+
x,
|
|
4580
|
+
v,
|
|
4581
|
+
E,
|
|
4582
|
+
M,
|
|
4583
|
+
w,
|
|
4584
|
+
D,
|
|
4585
|
+
A,
|
|
4538
4586
|
R,
|
|
4539
|
-
C,
|
|
4540
4587
|
n,
|
|
4541
|
-
|
|
4542
|
-
|
|
4543
|
-
|
|
4544
|
-
|
|
4588
|
+
C,
|
|
4589
|
+
$,
|
|
4590
|
+
X,
|
|
4591
|
+
P,
|
|
4545
4592
|
r,
|
|
4546
4593
|
o,
|
|
4547
4594
|
l,
|
|
4548
4595
|
a,
|
|
4549
4596
|
u,
|
|
4550
4597
|
f,
|
|
4598
|
+
p,
|
|
4599
|
+
ne,
|
|
4551
4600
|
se,
|
|
4552
4601
|
V,
|
|
4553
|
-
|
|
4554
|
-
|
|
4602
|
+
G,
|
|
4603
|
+
Q,
|
|
4555
4604
|
De,
|
|
4556
|
-
|
|
4557
|
-
|
|
4605
|
+
re,
|
|
4606
|
+
he,
|
|
4607
|
+
Be,
|
|
4558
4608
|
Le,
|
|
4559
|
-
Ae,
|
|
4560
4609
|
J,
|
|
4561
|
-
|
|
4562
|
-
|
|
4610
|
+
fe,
|
|
4611
|
+
Ae,
|
|
4563
4612
|
ue,
|
|
4564
4613
|
me,
|
|
4565
|
-
|
|
4566
|
-
Re
|
|
4614
|
+
Se
|
|
4567
4615
|
];
|
|
4568
4616
|
}
|
|
4569
|
-
class
|
|
4617
|
+
class $r extends Ri {
|
|
4570
4618
|
constructor(t) {
|
|
4571
|
-
super(),
|
|
4619
|
+
super(), Mi(
|
|
4572
4620
|
this,
|
|
4573
4621
|
t,
|
|
4574
|
-
|
|
4575
|
-
|
|
4622
|
+
Gr,
|
|
4623
|
+
jr,
|
|
4576
4624
|
Ft,
|
|
4577
4625
|
{
|
|
4578
4626
|
userid: 17,
|
|
@@ -4582,9 +4630,10 @@ class Ur extends Di {
|
|
|
4582
4630
|
lang: 1,
|
|
4583
4631
|
translationurl: 20,
|
|
4584
4632
|
clientstyling: 21,
|
|
4585
|
-
clientstylingurl: 22
|
|
4633
|
+
clientstylingurl: 22,
|
|
4634
|
+
mbsource: 23
|
|
4586
4635
|
},
|
|
4587
|
-
|
|
4636
|
+
Hr,
|
|
4588
4637
|
[-1, -1]
|
|
4589
4638
|
);
|
|
4590
4639
|
}
|
|
@@ -4592,52 +4641,58 @@ class Ur extends Di {
|
|
|
4592
4641
|
return this.$$.ctx[17];
|
|
4593
4642
|
}
|
|
4594
4643
|
set userid(t) {
|
|
4595
|
-
this.$$set({ userid: t }),
|
|
4644
|
+
this.$$set({ userid: t }), ee();
|
|
4596
4645
|
}
|
|
4597
4646
|
get session() {
|
|
4598
4647
|
return this.$$.ctx[18];
|
|
4599
4648
|
}
|
|
4600
4649
|
set session(t) {
|
|
4601
|
-
this.$$set({ session: t }),
|
|
4650
|
+
this.$$set({ session: t }), ee();
|
|
4602
4651
|
}
|
|
4603
4652
|
get endpoint() {
|
|
4604
4653
|
return this.$$.ctx[19];
|
|
4605
4654
|
}
|
|
4606
4655
|
set endpoint(t) {
|
|
4607
|
-
this.$$set({ endpoint: t }),
|
|
4656
|
+
this.$$set({ endpoint: t }), ee();
|
|
4608
4657
|
}
|
|
4609
4658
|
get currency() {
|
|
4610
4659
|
return this.$$.ctx[0];
|
|
4611
4660
|
}
|
|
4612
4661
|
set currency(t) {
|
|
4613
|
-
this.$$set({ currency: t }),
|
|
4662
|
+
this.$$set({ currency: t }), ee();
|
|
4614
4663
|
}
|
|
4615
4664
|
get lang() {
|
|
4616
4665
|
return this.$$.ctx[1];
|
|
4617
4666
|
}
|
|
4618
4667
|
set lang(t) {
|
|
4619
|
-
this.$$set({ lang: t }),
|
|
4668
|
+
this.$$set({ lang: t }), ee();
|
|
4620
4669
|
}
|
|
4621
4670
|
get translationurl() {
|
|
4622
4671
|
return this.$$.ctx[20];
|
|
4623
4672
|
}
|
|
4624
4673
|
set translationurl(t) {
|
|
4625
|
-
this.$$set({ translationurl: t }),
|
|
4674
|
+
this.$$set({ translationurl: t }), ee();
|
|
4626
4675
|
}
|
|
4627
4676
|
get clientstyling() {
|
|
4628
4677
|
return this.$$.ctx[21];
|
|
4629
4678
|
}
|
|
4630
4679
|
set clientstyling(t) {
|
|
4631
|
-
this.$$set({ clientstyling: t }),
|
|
4680
|
+
this.$$set({ clientstyling: t }), ee();
|
|
4632
4681
|
}
|
|
4633
4682
|
get clientstylingurl() {
|
|
4634
4683
|
return this.$$.ctx[22];
|
|
4635
4684
|
}
|
|
4636
4685
|
set clientstylingurl(t) {
|
|
4637
|
-
this.$$set({ clientstylingurl: t }),
|
|
4686
|
+
this.$$set({ clientstylingurl: t }), ee();
|
|
4687
|
+
}
|
|
4688
|
+
get mbsource() {
|
|
4689
|
+
return this.$$.ctx[23];
|
|
4690
|
+
}
|
|
4691
|
+
set mbsource(t) {
|
|
4692
|
+
this.$$set({ mbsource: t }), ee();
|
|
4638
4693
|
}
|
|
4639
4694
|
}
|
|
4640
|
-
|
|
4695
|
+
Di($r, { userid: {}, session: {}, endpoint: {}, currency: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
|
|
4641
4696
|
export {
|
|
4642
|
-
|
|
4697
|
+
$r as P
|
|
4643
4698
|
};
|