@everymatrix/general-player-register-form-nd 1.59.1 → 1.59.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/{GeneralPlayerRegisterFormNd-DivSMm0B.js → GeneralPlayerRegisterFormNd-8VTYGxnW.js} +664 -642
- package/components/{GeneralPlayerRegisterFormNd-B6L2b7Aw.js → GeneralPlayerRegisterFormNd-BjOJLme-.js} +651 -629
- package/components/GeneralPlayerRegisterFormNd-COjoPcnq.cjs +18 -0
- package/components/{GeneralPlayerRegisterFormStep1-Bn_KP_84.cjs → GeneralPlayerRegisterFormStep1-BsCbmcDH.cjs} +1 -1
- package/components/{GeneralPlayerRegisterFormStep1-fahoGM70.js → GeneralPlayerRegisterFormStep1-CCva_4Fo.js} +31 -31
- package/components/{GeneralPlayerRegisterFormStep1-D1KnU32r.js → GeneralPlayerRegisterFormStep1-DugGIjlq.js} +31 -31
- package/components/{GeneralPlayerRegisterFormStep2-C5nY0V59.cjs → GeneralPlayerRegisterFormStep2-BeQ6H63w.cjs} +1 -1
- package/components/{GeneralPlayerRegisterFormStep2-7EdeSQvu.js → GeneralPlayerRegisterFormStep2-JKnXlklk.js} +50 -50
- package/components/{GeneralPlayerRegisterFormStep2-CA3i4ZOV.js → GeneralPlayerRegisterFormStep2-p71LzdWX.js} +50 -50
- package/components/{GeneralPlayerRegisterFormStep3-Cy6RwAg8.js → GeneralPlayerRegisterFormStep3-8H6c1Q-J.js} +14 -14
- package/components/{GeneralPlayerRegisterFormStep3-CJIAO_oF.js → GeneralPlayerRegisterFormStep3-CZTxpXVK.js} +14 -14
- package/components/{GeneralPlayerRegisterFormStep3-nzGygSx9.cjs → GeneralPlayerRegisterFormStep3-Cpht1p_r.cjs} +1 -1
- package/components/{GeneralPlayerSmsVerificationForm-BnBFU8SU.cjs → GeneralPlayerSmsVerificationForm-CnRSLLl4.cjs} +1 -1
- package/components/{GeneralPlayerSmsVerificationForm-O2ruwhZa.js → GeneralPlayerSmsVerificationForm-gWDpjIxA.js} +25 -25
- package/components/{GeneralPlayerSmsVerificationForm-tNClCAoN.js → GeneralPlayerSmsVerificationForm-us-I-beF.js} +25 -25
- package/es2015/general-player-register-form-nd.cjs +1 -1
- package/es2015/general-player-register-form-nd.js +1 -1
- package/esnext/general-player-register-form-nd.js +1 -1
- package/package.json +1 -1
- package/components/GeneralPlayerRegisterFormNd-CHaNhRz2.cjs +0 -18
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
function k() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function ar(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function Ct() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
9
|
function ge(e) {
|
|
10
|
-
e.forEach(
|
|
10
|
+
e.forEach(ar);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function ft(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function ur(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
18
|
let we;
|
|
19
|
-
function
|
|
19
|
+
function js(e, t) {
|
|
20
20
|
return e === t ? !0 : (we || (we = document.createElement("a")), we.href = t, e === we.href);
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function en(e) {
|
|
23
23
|
return Object.keys(e).length === 0;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function lr(e, ...t) {
|
|
26
26
|
if (e == null) {
|
|
27
27
|
for (const n of t)
|
|
28
28
|
n(void 0);
|
|
@@ -31,20 +31,20 @@ function or(e, ...t) {
|
|
|
31
31
|
const r = e.subscribe(...t);
|
|
32
32
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
35
|
-
e.$$.on_destroy.push(
|
|
34
|
+
function tn(e, t, r) {
|
|
35
|
+
e.$$.on_destroy.push(lr(t, r));
|
|
36
36
|
}
|
|
37
37
|
function E(e, t) {
|
|
38
38
|
e.appendChild(t);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
41
|
-
const n =
|
|
40
|
+
function rn(e, t, r) {
|
|
41
|
+
const n = nn(e);
|
|
42
42
|
if (!n.getElementById(t)) {
|
|
43
43
|
const i = B("style");
|
|
44
|
-
i.id = t, i.textContent = r,
|
|
44
|
+
i.id = t, i.textContent = r, sn(n, i);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function nn(e) {
|
|
48
48
|
if (!e)
|
|
49
49
|
return document;
|
|
50
50
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -54,7 +54,7 @@ function Kr(e) {
|
|
|
54
54
|
t
|
|
55
55
|
) : e.ownerDocument;
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function sn(e, t) {
|
|
58
58
|
return E(
|
|
59
59
|
/** @type {Document} */
|
|
60
60
|
e.head || e,
|
|
@@ -64,17 +64,17 @@ function en(e, t) {
|
|
|
64
64
|
function F(e, t, r) {
|
|
65
65
|
e.insertBefore(t, r || null);
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function N(e) {
|
|
68
68
|
e.parentNode && e.parentNode.removeChild(e);
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function $s(e, t) {
|
|
71
71
|
for (let r = 0; r < e.length; r += 1)
|
|
72
72
|
e[r] && e[r].d(t);
|
|
73
73
|
}
|
|
74
74
|
function B(e) {
|
|
75
75
|
return document.createElement(e);
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function Se(e) {
|
|
78
78
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
79
79
|
}
|
|
80
80
|
function $(e) {
|
|
@@ -83,30 +83,30 @@ function $(e) {
|
|
|
83
83
|
function U() {
|
|
84
84
|
return $(" ");
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function on() {
|
|
87
87
|
return $("");
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function an(e, t, r, n) {
|
|
90
90
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function x(e, t, r) {
|
|
93
93
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
94
94
|
}
|
|
95
95
|
function m(e, t, r) {
|
|
96
96
|
const n = t.toLowerCase();
|
|
97
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
|
97
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : x(e, t, r);
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function un(e) {
|
|
100
100
|
return Array.from(e.childNodes);
|
|
101
101
|
}
|
|
102
102
|
function K(e, t) {
|
|
103
103
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
104
104
|
t);
|
|
105
105
|
}
|
|
106
|
-
function
|
|
106
|
+
function Vs(e, t) {
|
|
107
107
|
e.value = t ?? "";
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function Xs(e, t, r) {
|
|
110
110
|
for (let n = 0; n < e.options.length; n += 1) {
|
|
111
111
|
const i = e.options[n];
|
|
112
112
|
if (i.__value === t) {
|
|
@@ -116,11 +116,11 @@ function js(e, t, r) {
|
|
|
116
116
|
}
|
|
117
117
|
(!r || t !== void 0) && (e.selectedIndex = -1);
|
|
118
118
|
}
|
|
119
|
-
function
|
|
119
|
+
function Ws(e) {
|
|
120
120
|
const t = e.querySelector(":checked");
|
|
121
121
|
return t && t.__value;
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function ln(e) {
|
|
124
124
|
const t = {};
|
|
125
125
|
return e.childNodes.forEach(
|
|
126
126
|
/** @param {Element} node */
|
|
@@ -133,22 +133,22 @@ let me;
|
|
|
133
133
|
function ce(e) {
|
|
134
134
|
me = e;
|
|
135
135
|
}
|
|
136
|
-
function
|
|
136
|
+
function hn() {
|
|
137
137
|
if (!me)
|
|
138
138
|
throw new Error("Function called outside component initialization");
|
|
139
139
|
return me;
|
|
140
140
|
}
|
|
141
|
-
function
|
|
142
|
-
|
|
141
|
+
function fn(e) {
|
|
142
|
+
hn().$$.on_mount.push(e);
|
|
143
143
|
}
|
|
144
144
|
const Y = [], Oe = [];
|
|
145
145
|
let ee = [];
|
|
146
|
-
const
|
|
147
|
-
let
|
|
148
|
-
function
|
|
149
|
-
|
|
146
|
+
const It = [], cn = /* @__PURE__ */ Promise.resolve();
|
|
147
|
+
let qe = !1;
|
|
148
|
+
function mn() {
|
|
149
|
+
qe || (qe = !0, cn.then(A));
|
|
150
150
|
}
|
|
151
|
-
function
|
|
151
|
+
function Qe(e) {
|
|
152
152
|
ee.push(e);
|
|
153
153
|
}
|
|
154
154
|
const je = /* @__PURE__ */ new Set();
|
|
@@ -161,7 +161,7 @@ function A() {
|
|
|
161
161
|
try {
|
|
162
162
|
for (; q < Y.length; ) {
|
|
163
163
|
const t = Y[q];
|
|
164
|
-
q++, ce(t),
|
|
164
|
+
q++, ce(t), pn(t.$$);
|
|
165
165
|
}
|
|
166
166
|
} catch (t) {
|
|
167
167
|
throw Y.length = 0, q = 0, t;
|
|
@@ -174,43 +174,43 @@ function A() {
|
|
|
174
174
|
}
|
|
175
175
|
ee.length = 0;
|
|
176
176
|
} while (Y.length);
|
|
177
|
-
for (;
|
|
178
|
-
|
|
179
|
-
|
|
177
|
+
for (; It.length; )
|
|
178
|
+
It.pop()();
|
|
179
|
+
qe = !1, je.clear(), ce(e);
|
|
180
180
|
}
|
|
181
|
-
function
|
|
181
|
+
function pn(e) {
|
|
182
182
|
if (e.fragment !== null) {
|
|
183
183
|
e.update(), ge(e.before_update);
|
|
184
184
|
const t = e.dirty;
|
|
185
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
185
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Qe);
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
|
-
function
|
|
188
|
+
function dn(e) {
|
|
189
189
|
const t = [], r = [];
|
|
190
190
|
ee.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ee = t;
|
|
191
191
|
}
|
|
192
|
-
const
|
|
193
|
-
function
|
|
194
|
-
e && e.i && (
|
|
192
|
+
const gn = /* @__PURE__ */ new Set();
|
|
193
|
+
function bn(e, t) {
|
|
194
|
+
e && e.i && (gn.delete(e), e.i(t));
|
|
195
195
|
}
|
|
196
|
-
function
|
|
196
|
+
function zs(e) {
|
|
197
197
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
198
198
|
}
|
|
199
|
-
function
|
|
199
|
+
function yn(e, t, r) {
|
|
200
200
|
const { fragment: n, after_update: i } = e.$$;
|
|
201
|
-
n && n.m(t, r),
|
|
202
|
-
const s = e.$$.on_mount.map(
|
|
201
|
+
n && n.m(t, r), Qe(() => {
|
|
202
|
+
const s = e.$$.on_mount.map(ar).filter(ft);
|
|
203
203
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ge(s), e.$$.on_mount = [];
|
|
204
|
-
}), i.forEach(
|
|
204
|
+
}), i.forEach(Qe);
|
|
205
205
|
}
|
|
206
|
-
function
|
|
206
|
+
function vn(e, t) {
|
|
207
207
|
const r = e.$$;
|
|
208
|
-
r.fragment !== null && (
|
|
208
|
+
r.fragment !== null && (dn(r.after_update), ge(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
209
209
|
}
|
|
210
|
-
function
|
|
211
|
-
e.$$.dirty[0] === -1 && (Y.push(e),
|
|
210
|
+
function _n(e, t) {
|
|
211
|
+
e.$$.dirty[0] === -1 && (Y.push(e), mn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
212
212
|
}
|
|
213
|
-
function
|
|
213
|
+
function En(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
214
214
|
const h = me;
|
|
215
215
|
ce(e);
|
|
216
216
|
const l = e.$$ = {
|
|
@@ -220,7 +220,7 @@ function bn(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
|
220
220
|
props: s,
|
|
221
221
|
update: k,
|
|
222
222
|
not_equal: i,
|
|
223
|
-
bound:
|
|
223
|
+
bound: Ct(),
|
|
224
224
|
// lifecycle
|
|
225
225
|
on_mount: [],
|
|
226
226
|
on_destroy: [],
|
|
@@ -229,7 +229,7 @@ function bn(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
|
229
229
|
after_update: [],
|
|
230
230
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
231
231
|
// everything else
|
|
232
|
-
callbacks:
|
|
232
|
+
callbacks: Ct(),
|
|
233
233
|
dirty: a,
|
|
234
234
|
skip_bound: !1,
|
|
235
235
|
root: t.target || h.$$.root
|
|
@@ -238,19 +238,19 @@ function bn(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
|
238
238
|
let u = !1;
|
|
239
239
|
if (l.ctx = r ? r(e, t.props || {}, (c, p, ...y) => {
|
|
240
240
|
const g = y.length ? y[0] : p;
|
|
241
|
-
return l.ctx && i(l.ctx[c], l.ctx[c] = g) && (!l.skip_bound && l.bound[c] && l.bound[c](g), u &&
|
|
241
|
+
return l.ctx && i(l.ctx[c], l.ctx[c] = g) && (!l.skip_bound && l.bound[c] && l.bound[c](g), u && _n(e, c)), p;
|
|
242
242
|
}) : [], l.update(), u = !0, ge(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
|
243
243
|
if (t.hydrate) {
|
|
244
|
-
const c =
|
|
245
|
-
l.fragment && l.fragment.l(c), c.forEach(
|
|
244
|
+
const c = un(t.target);
|
|
245
|
+
l.fragment && l.fragment.l(c), c.forEach(N);
|
|
246
246
|
} else
|
|
247
247
|
l.fragment && l.fragment.c();
|
|
248
|
-
t.intro &&
|
|
248
|
+
t.intro && bn(e.$$.fragment), yn(e, t.target, t.anchor), A();
|
|
249
249
|
}
|
|
250
250
|
ce(h);
|
|
251
251
|
}
|
|
252
|
-
let
|
|
253
|
-
typeof HTMLElement == "function" && (
|
|
252
|
+
let hr;
|
|
253
|
+
typeof HTMLElement == "function" && (hr = class extends HTMLElement {
|
|
254
254
|
/** The Svelte component constructor */
|
|
255
255
|
$$ctor;
|
|
256
256
|
/** Slots */
|
|
@@ -292,7 +292,7 @@ typeof HTMLElement == "function" && (ar = class extends HTMLElement {
|
|
|
292
292
|
let s;
|
|
293
293
|
return {
|
|
294
294
|
c: function() {
|
|
295
|
-
s = B("slot"), i !== "default" &&
|
|
295
|
+
s = B("slot"), i !== "default" && x(s, "name", i);
|
|
296
296
|
},
|
|
297
297
|
/**
|
|
298
298
|
* @param {HTMLElement} target
|
|
@@ -302,14 +302,14 @@ typeof HTMLElement == "function" && (ar = class extends HTMLElement {
|
|
|
302
302
|
F(h, s, l);
|
|
303
303
|
},
|
|
304
304
|
d: function(h) {
|
|
305
|
-
h &&
|
|
305
|
+
h && N(s);
|
|
306
306
|
}
|
|
307
307
|
};
|
|
308
308
|
};
|
|
309
309
|
};
|
|
310
310
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
311
311
|
return;
|
|
312
|
-
const t = {}, r =
|
|
312
|
+
const t = {}, r = ln(this);
|
|
313
313
|
for (const i of this.$$s)
|
|
314
314
|
i in r && (t[i] = [e(i)]);
|
|
315
315
|
for (const i of this.attributes) {
|
|
@@ -396,8 +396,8 @@ function He(e, t, r, n) {
|
|
|
396
396
|
return t;
|
|
397
397
|
}
|
|
398
398
|
}
|
|
399
|
-
function
|
|
400
|
-
let o = class extends
|
|
399
|
+
function wn(e, t, r, n, i, s) {
|
|
400
|
+
let o = class extends hr {
|
|
401
401
|
constructor() {
|
|
402
402
|
super(e, r, i), this.$$p_d = t;
|
|
403
403
|
}
|
|
@@ -425,7 +425,7 @@ function yn(e, t, r, n, i, s) {
|
|
|
425
425
|
}), e.element = /** @type {any} */
|
|
426
426
|
o, o;
|
|
427
427
|
}
|
|
428
|
-
class
|
|
428
|
+
class Sn {
|
|
429
429
|
/**
|
|
430
430
|
* ### PRIVATE API
|
|
431
431
|
*
|
|
@@ -444,7 +444,7 @@ class vn {
|
|
|
444
444
|
$$set = void 0;
|
|
445
445
|
/** @returns {void} */
|
|
446
446
|
$destroy() {
|
|
447
|
-
|
|
447
|
+
vn(this, 1), this.$destroy = k;
|
|
448
448
|
}
|
|
449
449
|
/**
|
|
450
450
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -453,7 +453,7 @@ class vn {
|
|
|
453
453
|
* @returns {() => void}
|
|
454
454
|
*/
|
|
455
455
|
$on(t, r) {
|
|
456
|
-
if (!
|
|
456
|
+
if (!ft(r))
|
|
457
457
|
return k;
|
|
458
458
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
459
459
|
return n.push(r), () => {
|
|
@@ -466,11 +466,11 @@ class vn {
|
|
|
466
466
|
* @returns {void}
|
|
467
467
|
*/
|
|
468
468
|
$set(t) {
|
|
469
|
-
this.$$set && !
|
|
469
|
+
this.$$set && !en(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
470
470
|
}
|
|
471
471
|
}
|
|
472
|
-
const
|
|
473
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
472
|
+
const xn = "4";
|
|
473
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(xn);
|
|
474
474
|
/*! *****************************************************************************
|
|
475
475
|
Copyright (c) Microsoft Corporation.
|
|
476
476
|
|
|
@@ -485,18 +485,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
485
485
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
486
486
|
PERFORMANCE OF THIS SOFTWARE.
|
|
487
487
|
***************************************************************************** */
|
|
488
|
-
var
|
|
489
|
-
return
|
|
488
|
+
var Ye = function(e, t) {
|
|
489
|
+
return Ye = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
490
490
|
r.__proto__ = n;
|
|
491
491
|
} || function(r, n) {
|
|
492
492
|
for (var i in n)
|
|
493
493
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
494
|
-
},
|
|
494
|
+
}, Ye(e, t);
|
|
495
495
|
};
|
|
496
496
|
function X(e, t) {
|
|
497
497
|
if (typeof t != "function" && t !== null)
|
|
498
498
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
499
|
-
|
|
499
|
+
Ye(e, t);
|
|
500
500
|
function r() {
|
|
501
501
|
this.constructor = e;
|
|
502
502
|
}
|
|
@@ -512,7 +512,7 @@ var w = function() {
|
|
|
512
512
|
return t;
|
|
513
513
|
}, w.apply(this, arguments);
|
|
514
514
|
};
|
|
515
|
-
function
|
|
515
|
+
function Tn(e, t) {
|
|
516
516
|
var r = {};
|
|
517
517
|
for (var n in e)
|
|
518
518
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -521,7 +521,7 @@ function En(e, t) {
|
|
|
521
521
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
522
522
|
return r;
|
|
523
523
|
}
|
|
524
|
-
function
|
|
524
|
+
function Ke(e) {
|
|
525
525
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
526
526
|
if (r)
|
|
527
527
|
return r.call(e);
|
|
@@ -533,7 +533,7 @@ function Ye(e) {
|
|
|
533
533
|
};
|
|
534
534
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
535
535
|
}
|
|
536
|
-
function
|
|
536
|
+
function et(e, t) {
|
|
537
537
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
538
538
|
if (!r)
|
|
539
539
|
return e;
|
|
@@ -562,13 +562,13 @@ function te(e, t, r) {
|
|
|
562
562
|
function V(e) {
|
|
563
563
|
return typeof e == "function";
|
|
564
564
|
}
|
|
565
|
-
function
|
|
565
|
+
function fr(e) {
|
|
566
566
|
var t = function(n) {
|
|
567
567
|
Error.call(n), n.stack = new Error().stack;
|
|
568
568
|
}, r = e(t);
|
|
569
569
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
570
570
|
}
|
|
571
|
-
var $e =
|
|
571
|
+
var $e = fr(function(e) {
|
|
572
572
|
return function(r) {
|
|
573
573
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
574
574
|
` + r.map(function(n, i) {
|
|
@@ -577,7 +577,7 @@ var $e = ur(function(e) {
|
|
|
577
577
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
578
578
|
};
|
|
579
579
|
});
|
|
580
|
-
function
|
|
580
|
+
function tt(e, t) {
|
|
581
581
|
if (e) {
|
|
582
582
|
var r = e.indexOf(t);
|
|
583
583
|
0 <= r && e.splice(r, 1);
|
|
@@ -595,7 +595,7 @@ var Le = function() {
|
|
|
595
595
|
if (o)
|
|
596
596
|
if (this._parentage = null, Array.isArray(o))
|
|
597
597
|
try {
|
|
598
|
-
for (var a =
|
|
598
|
+
for (var a = Ke(o), h = a.next(); !h.done; h = a.next()) {
|
|
599
599
|
var l = h.value;
|
|
600
600
|
l.remove(this);
|
|
601
601
|
}
|
|
@@ -622,12 +622,12 @@ var Le = function() {
|
|
|
622
622
|
if (c) {
|
|
623
623
|
this._finalizers = null;
|
|
624
624
|
try {
|
|
625
|
-
for (var p =
|
|
625
|
+
for (var p = Ke(c), y = p.next(); !y.done; y = p.next()) {
|
|
626
626
|
var g = y.value;
|
|
627
627
|
try {
|
|
628
|
-
|
|
628
|
+
Lt(g);
|
|
629
629
|
} catch (d) {
|
|
630
|
-
s = s ?? [], d instanceof $e ? s = te(te([],
|
|
630
|
+
s = s ?? [], d instanceof $e ? s = te(te([], et(s)), et(d.errors)) : s.push(d);
|
|
631
631
|
}
|
|
632
632
|
}
|
|
633
633
|
} catch (d) {
|
|
@@ -648,7 +648,7 @@ var Le = function() {
|
|
|
648
648
|
var r;
|
|
649
649
|
if (t && t !== this)
|
|
650
650
|
if (this.closed)
|
|
651
|
-
|
|
651
|
+
Lt(t);
|
|
652
652
|
else {
|
|
653
653
|
if (t instanceof e) {
|
|
654
654
|
if (t.closed || t._hasParent(this))
|
|
@@ -665,52 +665,56 @@ var Le = function() {
|
|
|
665
665
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
666
666
|
}, e.prototype._removeParent = function(t) {
|
|
667
667
|
var r = this._parentage;
|
|
668
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
668
|
+
r === t ? this._parentage = null : Array.isArray(r) && tt(r, t);
|
|
669
669
|
}, e.prototype.remove = function(t) {
|
|
670
670
|
var r = this._finalizers;
|
|
671
|
-
r &&
|
|
671
|
+
r && tt(r, t), t instanceof e && t._removeParent(this);
|
|
672
672
|
}, e.EMPTY = function() {
|
|
673
673
|
var t = new e();
|
|
674
674
|
return t.closed = !0, t;
|
|
675
675
|
}(), e;
|
|
676
|
-
}(),
|
|
677
|
-
function
|
|
676
|
+
}(), cr = Le.EMPTY;
|
|
677
|
+
function mr(e) {
|
|
678
678
|
return e instanceof Le || e && "closed" in e && V(e.remove) && V(e.add) && V(e.unsubscribe);
|
|
679
679
|
}
|
|
680
|
-
function
|
|
680
|
+
function Lt(e) {
|
|
681
681
|
V(e) ? e() : e.unsubscribe();
|
|
682
682
|
}
|
|
683
|
-
var
|
|
684
|
-
|
|
685
|
-
|
|
683
|
+
var pr = {
|
|
684
|
+
onUnhandledError: null,
|
|
685
|
+
onStoppedNotification: null,
|
|
686
|
+
Promise: void 0,
|
|
687
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
688
|
+
useDeprecatedNextContext: !1
|
|
689
|
+
}, Hn = {
|
|
686
690
|
setTimeout: function(e, t) {
|
|
687
691
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
688
692
|
r[n - 2] = arguments[n];
|
|
689
|
-
return setTimeout.apply(void 0, te([e, t],
|
|
693
|
+
return setTimeout.apply(void 0, te([e, t], et(r)));
|
|
690
694
|
},
|
|
691
695
|
clearTimeout: function(e) {
|
|
692
696
|
return clearTimeout(e);
|
|
693
697
|
},
|
|
694
698
|
delegate: void 0
|
|
695
699
|
};
|
|
696
|
-
function
|
|
697
|
-
|
|
700
|
+
function Bn(e) {
|
|
701
|
+
Hn.setTimeout(function() {
|
|
698
702
|
throw e;
|
|
699
703
|
});
|
|
700
704
|
}
|
|
701
|
-
function
|
|
705
|
+
function Rt() {
|
|
702
706
|
}
|
|
703
707
|
function Be(e) {
|
|
704
708
|
e();
|
|
705
709
|
}
|
|
706
|
-
var
|
|
710
|
+
var dr = function(e) {
|
|
707
711
|
X(t, e);
|
|
708
712
|
function t(r) {
|
|
709
713
|
var n = e.call(this) || this;
|
|
710
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
714
|
+
return n.isStopped = !1, r ? (n.destination = r, mr(r) && r.add(n)) : n.destination = Cn, n;
|
|
711
715
|
}
|
|
712
716
|
return t.create = function(r, n, i) {
|
|
713
|
-
return new
|
|
717
|
+
return new rt(r, n, i);
|
|
714
718
|
}, t.prototype.next = function(r) {
|
|
715
719
|
this.isStopped || this._next(r);
|
|
716
720
|
}, t.prototype.error = function(r) {
|
|
@@ -734,7 +738,11 @@ var fr = function(e) {
|
|
|
734
738
|
this.unsubscribe();
|
|
735
739
|
}
|
|
736
740
|
}, t;
|
|
737
|
-
}(Le),
|
|
741
|
+
}(Le), An = Function.prototype.bind;
|
|
742
|
+
function Ve(e, t) {
|
|
743
|
+
return An.call(e, t);
|
|
744
|
+
}
|
|
745
|
+
var Pn = function() {
|
|
738
746
|
function e(t) {
|
|
739
747
|
this.partialObserver = t;
|
|
740
748
|
}
|
|
@@ -744,7 +752,7 @@ var fr = function(e) {
|
|
|
744
752
|
try {
|
|
745
753
|
r.next(t);
|
|
746
754
|
} catch (n) {
|
|
747
|
-
|
|
755
|
+
xe(n);
|
|
748
756
|
}
|
|
749
757
|
}, e.prototype.error = function(t) {
|
|
750
758
|
var r = this.partialObserver;
|
|
@@ -752,56 +760,68 @@ var fr = function(e) {
|
|
|
752
760
|
try {
|
|
753
761
|
r.error(t);
|
|
754
762
|
} catch (n) {
|
|
755
|
-
|
|
763
|
+
xe(n);
|
|
756
764
|
}
|
|
757
765
|
else
|
|
758
|
-
|
|
766
|
+
xe(t);
|
|
759
767
|
}, e.prototype.complete = function() {
|
|
760
768
|
var t = this.partialObserver;
|
|
761
769
|
if (t.complete)
|
|
762
770
|
try {
|
|
763
771
|
t.complete();
|
|
764
772
|
} catch (r) {
|
|
765
|
-
|
|
773
|
+
xe(r);
|
|
766
774
|
}
|
|
767
775
|
}, e;
|
|
768
|
-
}(),
|
|
776
|
+
}(), rt = function(e) {
|
|
769
777
|
X(t, e);
|
|
770
778
|
function t(r, n, i) {
|
|
771
779
|
var s = e.call(this) || this, o;
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
780
|
+
if (V(r) || !r)
|
|
781
|
+
o = {
|
|
782
|
+
next: r ?? void 0,
|
|
783
|
+
error: n ?? void 0,
|
|
784
|
+
complete: i ?? void 0
|
|
785
|
+
};
|
|
786
|
+
else {
|
|
787
|
+
var a;
|
|
788
|
+
s && pr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
789
|
+
return s.unsubscribe();
|
|
790
|
+
}, o = {
|
|
791
|
+
next: r.next && Ve(r.next, a),
|
|
792
|
+
error: r.error && Ve(r.error, a),
|
|
793
|
+
complete: r.complete && Ve(r.complete, a)
|
|
794
|
+
}) : o = r;
|
|
795
|
+
}
|
|
796
|
+
return s.destination = new Pn(o), s;
|
|
777
797
|
}
|
|
778
798
|
return t;
|
|
779
|
-
}(
|
|
780
|
-
function
|
|
781
|
-
|
|
799
|
+
}(dr);
|
|
800
|
+
function xe(e) {
|
|
801
|
+
Bn(e);
|
|
782
802
|
}
|
|
783
|
-
function
|
|
803
|
+
function On(e) {
|
|
784
804
|
throw e;
|
|
785
805
|
}
|
|
786
|
-
var
|
|
806
|
+
var Cn = {
|
|
787
807
|
closed: !0,
|
|
788
|
-
next:
|
|
789
|
-
error:
|
|
790
|
-
complete:
|
|
791
|
-
},
|
|
808
|
+
next: Rt,
|
|
809
|
+
error: On,
|
|
810
|
+
complete: Rt
|
|
811
|
+
}, In = function() {
|
|
792
812
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
793
813
|
}();
|
|
794
|
-
function
|
|
814
|
+
function Ln(e) {
|
|
795
815
|
return e;
|
|
796
816
|
}
|
|
797
|
-
function
|
|
798
|
-
return e.length === 0 ?
|
|
817
|
+
function Rn(e) {
|
|
818
|
+
return e.length === 0 ? Ln : e.length === 1 ? e[0] : function(r) {
|
|
799
819
|
return e.reduce(function(n, i) {
|
|
800
820
|
return i(n);
|
|
801
821
|
}, r);
|
|
802
822
|
};
|
|
803
823
|
}
|
|
804
|
-
var
|
|
824
|
+
var Mt = function() {
|
|
805
825
|
function e(t) {
|
|
806
826
|
t && (this._subscribe = t);
|
|
807
827
|
}
|
|
@@ -809,7 +829,7 @@ var It = function() {
|
|
|
809
829
|
var r = new e();
|
|
810
830
|
return r.source = this, r.operator = t, r;
|
|
811
831
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
812
|
-
var i = this, s =
|
|
832
|
+
var i = this, s = Nn(t) ? t : new rt(t, r, n);
|
|
813
833
|
return Be(function() {
|
|
814
834
|
var o = i, a = o.operator, h = o.source;
|
|
815
835
|
s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
|
|
@@ -822,8 +842,8 @@ var It = function() {
|
|
|
822
842
|
}
|
|
823
843
|
}, e.prototype.forEach = function(t, r) {
|
|
824
844
|
var n = this;
|
|
825
|
-
return r =
|
|
826
|
-
var o = new
|
|
845
|
+
return r = Nt(r), new r(function(i, s) {
|
|
846
|
+
var o = new rt({
|
|
827
847
|
next: function(a) {
|
|
828
848
|
try {
|
|
829
849
|
t(a);
|
|
@@ -839,15 +859,15 @@ var It = function() {
|
|
|
839
859
|
}, e.prototype._subscribe = function(t) {
|
|
840
860
|
var r;
|
|
841
861
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
842
|
-
}, e.prototype[
|
|
862
|
+
}, e.prototype[In] = function() {
|
|
843
863
|
return this;
|
|
844
864
|
}, e.prototype.pipe = function() {
|
|
845
865
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
846
866
|
t[r] = arguments[r];
|
|
847
|
-
return
|
|
867
|
+
return Rn(t)(this);
|
|
848
868
|
}, e.prototype.toPromise = function(t) {
|
|
849
869
|
var r = this;
|
|
850
|
-
return t =
|
|
870
|
+
return t = Nt(t), new t(function(n, i) {
|
|
851
871
|
var s;
|
|
852
872
|
r.subscribe(function(o) {
|
|
853
873
|
return s = o;
|
|
@@ -861,32 +881,32 @@ var It = function() {
|
|
|
861
881
|
return new e(t);
|
|
862
882
|
}, e;
|
|
863
883
|
}();
|
|
864
|
-
function
|
|
884
|
+
function Nt(e) {
|
|
865
885
|
var t;
|
|
866
|
-
return (t = e ??
|
|
886
|
+
return (t = e ?? pr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
867
887
|
}
|
|
868
|
-
function
|
|
888
|
+
function Mn(e) {
|
|
869
889
|
return e && V(e.next) && V(e.error) && V(e.complete);
|
|
870
890
|
}
|
|
871
|
-
function
|
|
872
|
-
return e && e instanceof
|
|
891
|
+
function Nn(e) {
|
|
892
|
+
return e && e instanceof dr || Mn(e) && mr(e);
|
|
873
893
|
}
|
|
874
|
-
var
|
|
894
|
+
var Dn = fr(function(e) {
|
|
875
895
|
return function() {
|
|
876
896
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
877
897
|
};
|
|
878
|
-
}),
|
|
898
|
+
}), gr = function(e) {
|
|
879
899
|
X(t, e);
|
|
880
900
|
function t() {
|
|
881
901
|
var r = e.call(this) || this;
|
|
882
902
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
883
903
|
}
|
|
884
904
|
return t.prototype.lift = function(r) {
|
|
885
|
-
var n = new
|
|
905
|
+
var n = new Dt(this, this);
|
|
886
906
|
return n.operator = r, n;
|
|
887
907
|
}, t.prototype._throwIfClosed = function() {
|
|
888
908
|
if (this.closed)
|
|
889
|
-
throw new
|
|
909
|
+
throw new Dn();
|
|
890
910
|
}, t.prototype.next = function(r) {
|
|
891
911
|
var n = this;
|
|
892
912
|
Be(function() {
|
|
@@ -894,7 +914,7 @@ var Ln = ur(function(e) {
|
|
|
894
914
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
895
915
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
896
916
|
try {
|
|
897
|
-
for (var o =
|
|
917
|
+
for (var o = Ke(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
|
|
898
918
|
var h = a.value;
|
|
899
919
|
h.next(r);
|
|
900
920
|
}
|
|
@@ -943,19 +963,19 @@ var Ln = ur(function(e) {
|
|
|
943
963
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
944
964
|
}, t.prototype._innerSubscribe = function(r) {
|
|
945
965
|
var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
|
|
946
|
-
return s || o ?
|
|
947
|
-
n.currentObservers = null,
|
|
966
|
+
return s || o ? cr : (this.currentObservers = null, a.push(r), new Le(function() {
|
|
967
|
+
n.currentObservers = null, tt(a, r);
|
|
948
968
|
}));
|
|
949
969
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
950
970
|
var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
|
|
951
971
|
i ? r.error(s) : o && r.complete();
|
|
952
972
|
}, t.prototype.asObservable = function() {
|
|
953
|
-
var r = new
|
|
973
|
+
var r = new Mt();
|
|
954
974
|
return r.source = this, r;
|
|
955
975
|
}, t.create = function(r, n) {
|
|
956
|
-
return new
|
|
976
|
+
return new Dt(r, n);
|
|
957
977
|
}, t;
|
|
958
|
-
}(
|
|
978
|
+
}(Mt), Dt = function(e) {
|
|
959
979
|
X(t, e);
|
|
960
980
|
function t(r, n) {
|
|
961
981
|
var i = e.call(this) || this;
|
|
@@ -972,17 +992,17 @@ var Ln = ur(function(e) {
|
|
|
972
992
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
973
993
|
}, t.prototype._subscribe = function(r) {
|
|
974
994
|
var n, i;
|
|
975
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
995
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : cr;
|
|
976
996
|
}, t;
|
|
977
|
-
}(
|
|
997
|
+
}(gr), br = {
|
|
978
998
|
now: function() {
|
|
979
|
-
return (
|
|
999
|
+
return (br.delegate || Date).now();
|
|
980
1000
|
},
|
|
981
1001
|
delegate: void 0
|
|
982
|
-
},
|
|
1002
|
+
}, Fn = function(e) {
|
|
983
1003
|
X(t, e);
|
|
984
1004
|
function t(r, n, i) {
|
|
985
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1005
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = br);
|
|
986
1006
|
var s = e.call(this) || this;
|
|
987
1007
|
return s._bufferSize = r, s._windowTime = n, s._timestampProvider = i, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = n === 1 / 0, s._bufferSize = Math.max(1, r), s._windowTime = Math.max(1, n), s;
|
|
988
1008
|
}
|
|
@@ -1002,15 +1022,15 @@ var Ln = ur(function(e) {
|
|
|
1002
1022
|
l && s.splice(0, l + 1);
|
|
1003
1023
|
}
|
|
1004
1024
|
}, t;
|
|
1005
|
-
}(
|
|
1006
|
-
const
|
|
1007
|
-
if (
|
|
1008
|
-
const r = new
|
|
1009
|
-
|
|
1025
|
+
}(gr);
|
|
1026
|
+
const Ft = [], Ut = {}, Un = (e, t = 0) => {
|
|
1027
|
+
if (Ft.indexOf(e) == -1) {
|
|
1028
|
+
const r = new Fn(t);
|
|
1029
|
+
Ut[e] = r, Ft.push(e);
|
|
1010
1030
|
}
|
|
1011
|
-
return
|
|
1031
|
+
return Ut[e];
|
|
1012
1032
|
}, Q = [];
|
|
1013
|
-
function
|
|
1033
|
+
function kn(e, t) {
|
|
1014
1034
|
return {
|
|
1015
1035
|
subscribe: Re(e, t).subscribe
|
|
1016
1036
|
};
|
|
@@ -1019,7 +1039,7 @@ function Re(e, t = k) {
|
|
|
1019
1039
|
let r;
|
|
1020
1040
|
const n = /* @__PURE__ */ new Set();
|
|
1021
1041
|
function i(a) {
|
|
1022
|
-
if (
|
|
1042
|
+
if (ur(e, a) && (e = a, r)) {
|
|
1023
1043
|
const h = !Q.length;
|
|
1024
1044
|
for (const l of n)
|
|
1025
1045
|
l[1](), Q.push(l, e);
|
|
@@ -1046,7 +1066,7 @@ function oe(e, t, r) {
|
|
|
1046
1066
|
if (!i.every(Boolean))
|
|
1047
1067
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1048
1068
|
const s = t.length < 2;
|
|
1049
|
-
return
|
|
1069
|
+
return kn(r, (o, a) => {
|
|
1050
1070
|
let h = !1;
|
|
1051
1071
|
const l = [];
|
|
1052
1072
|
let u = 0, c = k;
|
|
@@ -1055,9 +1075,9 @@ function oe(e, t, r) {
|
|
|
1055
1075
|
return;
|
|
1056
1076
|
c();
|
|
1057
1077
|
const g = t(n ? l[0] : l, o, a);
|
|
1058
|
-
s ? o(g) : c =
|
|
1078
|
+
s ? o(g) : c = ft(g) ? g : k;
|
|
1059
1079
|
}, y = i.map(
|
|
1060
|
-
(g, d) =>
|
|
1080
|
+
(g, d) => lr(
|
|
1061
1081
|
g,
|
|
1062
1082
|
(b) => {
|
|
1063
1083
|
l[d] = b, u &= ~(1 << d), h && p();
|
|
@@ -1072,70 +1092,70 @@ function oe(e, t, r) {
|
|
|
1072
1092
|
};
|
|
1073
1093
|
});
|
|
1074
1094
|
}
|
|
1075
|
-
function
|
|
1095
|
+
function Gn(e) {
|
|
1076
1096
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1077
1097
|
}
|
|
1078
|
-
var
|
|
1079
|
-
return
|
|
1098
|
+
var jn = function(t) {
|
|
1099
|
+
return $n(t) && !Vn(t);
|
|
1080
1100
|
};
|
|
1081
|
-
function
|
|
1101
|
+
function $n(e) {
|
|
1082
1102
|
return !!e && typeof e == "object";
|
|
1083
1103
|
}
|
|
1084
|
-
function
|
|
1104
|
+
function Vn(e) {
|
|
1085
1105
|
var t = Object.prototype.toString.call(e);
|
|
1086
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1106
|
+
return t === "[object RegExp]" || t === "[object Date]" || zn(e);
|
|
1087
1107
|
}
|
|
1088
|
-
var
|
|
1089
|
-
function
|
|
1090
|
-
return e.$$typeof ===
|
|
1108
|
+
var Xn = typeof Symbol == "function" && Symbol.for, Wn = Xn ? Symbol.for("react.element") : 60103;
|
|
1109
|
+
function zn(e) {
|
|
1110
|
+
return e.$$typeof === Wn;
|
|
1091
1111
|
}
|
|
1092
|
-
function
|
|
1112
|
+
function Zn(e) {
|
|
1093
1113
|
return Array.isArray(e) ? [] : {};
|
|
1094
1114
|
}
|
|
1095
1115
|
function pe(e, t) {
|
|
1096
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? re(
|
|
1116
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? re(Zn(e), e, t) : e;
|
|
1097
1117
|
}
|
|
1098
|
-
function
|
|
1118
|
+
function Jn(e, t, r) {
|
|
1099
1119
|
return e.concat(t).map(function(n) {
|
|
1100
1120
|
return pe(n, r);
|
|
1101
1121
|
});
|
|
1102
1122
|
}
|
|
1103
|
-
function
|
|
1123
|
+
function qn(e, t) {
|
|
1104
1124
|
if (!t.customMerge)
|
|
1105
1125
|
return re;
|
|
1106
1126
|
var r = t.customMerge(e);
|
|
1107
1127
|
return typeof r == "function" ? r : re;
|
|
1108
1128
|
}
|
|
1109
|
-
function
|
|
1129
|
+
function Qn(e) {
|
|
1110
1130
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1111
1131
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1112
1132
|
}) : [];
|
|
1113
1133
|
}
|
|
1114
|
-
function
|
|
1115
|
-
return Object.keys(e).concat(
|
|
1134
|
+
function kt(e) {
|
|
1135
|
+
return Object.keys(e).concat(Qn(e));
|
|
1116
1136
|
}
|
|
1117
|
-
function
|
|
1137
|
+
function yr(e, t) {
|
|
1118
1138
|
try {
|
|
1119
1139
|
return t in e;
|
|
1120
1140
|
} catch {
|
|
1121
1141
|
return !1;
|
|
1122
1142
|
}
|
|
1123
1143
|
}
|
|
1124
|
-
function
|
|
1125
|
-
return
|
|
1144
|
+
function Yn(e, t) {
|
|
1145
|
+
return yr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1126
1146
|
}
|
|
1127
|
-
function
|
|
1147
|
+
function Kn(e, t, r) {
|
|
1128
1148
|
var n = {};
|
|
1129
|
-
return r.isMergeableObject(e) &&
|
|
1149
|
+
return r.isMergeableObject(e) && kt(e).forEach(function(i) {
|
|
1130
1150
|
n[i] = pe(e[i], r);
|
|
1131
|
-
}),
|
|
1132
|
-
|
|
1151
|
+
}), kt(t).forEach(function(i) {
|
|
1152
|
+
Yn(e, i) || (yr(e, i) && r.isMergeableObject(t[i]) ? n[i] = qn(i, r)(e[i], t[i], r) : n[i] = pe(t[i], r));
|
|
1133
1153
|
}), n;
|
|
1134
1154
|
}
|
|
1135
1155
|
function re(e, t, r) {
|
|
1136
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1156
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Jn, r.isMergeableObject = r.isMergeableObject || jn, r.cloneUnlessOtherwiseSpecified = pe;
|
|
1137
1157
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
1138
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
1158
|
+
return s ? n ? r.arrayMerge(e, t, r) : Kn(e, t, r) : pe(t, r);
|
|
1139
1159
|
}
|
|
1140
1160
|
re.all = function(t, r) {
|
|
1141
1161
|
if (!Array.isArray(t))
|
|
@@ -1144,56 +1164,58 @@ re.all = function(t, r) {
|
|
|
1144
1164
|
return re(n, i, r);
|
|
1145
1165
|
}, {});
|
|
1146
1166
|
};
|
|
1147
|
-
var
|
|
1148
|
-
const
|
|
1149
|
-
function
|
|
1150
|
-
var r = t && t.cache ? t.cache :
|
|
1167
|
+
var ei = re, ti = ei;
|
|
1168
|
+
const ri = /* @__PURE__ */ Gn(ti);
|
|
1169
|
+
function Xe(e, t) {
|
|
1170
|
+
var r = t && t.cache ? t.cache : ui, n = t && t.serializer ? t.serializer : ai, i = t && t.strategy ? t.strategy : ii;
|
|
1151
1171
|
return i(e, {
|
|
1152
1172
|
cache: r,
|
|
1153
1173
|
serializer: n
|
|
1154
1174
|
});
|
|
1155
1175
|
}
|
|
1156
|
-
function
|
|
1176
|
+
function ni(e) {
|
|
1157
1177
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1158
1178
|
}
|
|
1159
|
-
function
|
|
1160
|
-
var i =
|
|
1179
|
+
function vr(e, t, r, n) {
|
|
1180
|
+
var i = ni(n) ? n : r(n), s = t.get(i);
|
|
1161
1181
|
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
|
1162
1182
|
}
|
|
1163
|
-
function
|
|
1183
|
+
function _r(e, t, r) {
|
|
1164
1184
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
1165
1185
|
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
1166
1186
|
}
|
|
1167
|
-
function
|
|
1187
|
+
function ct(e, t, r, n, i) {
|
|
1168
1188
|
return r.bind(t, e, n, i);
|
|
1169
1189
|
}
|
|
1170
|
-
function
|
|
1171
|
-
var r = e.length === 1 ?
|
|
1172
|
-
return
|
|
1190
|
+
function ii(e, t) {
|
|
1191
|
+
var r = e.length === 1 ? vr : _r;
|
|
1192
|
+
return ct(e, this, r, t.cache.create(), t.serializer);
|
|
1173
1193
|
}
|
|
1174
|
-
function
|
|
1175
|
-
return
|
|
1194
|
+
function si(e, t) {
|
|
1195
|
+
return ct(e, this, _r, t.cache.create(), t.serializer);
|
|
1176
1196
|
}
|
|
1177
|
-
|
|
1197
|
+
function oi(e, t) {
|
|
1198
|
+
return ct(e, this, vr, t.cache.create(), t.serializer);
|
|
1199
|
+
}
|
|
1200
|
+
var ai = function() {
|
|
1178
1201
|
return JSON.stringify(arguments);
|
|
1179
|
-
}
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
}()
|
|
1191
|
-
), si = {
|
|
1202
|
+
};
|
|
1203
|
+
function mt() {
|
|
1204
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1205
|
+
}
|
|
1206
|
+
mt.prototype.get = function(e) {
|
|
1207
|
+
return this.cache[e];
|
|
1208
|
+
};
|
|
1209
|
+
mt.prototype.set = function(e, t) {
|
|
1210
|
+
this.cache[e] = t;
|
|
1211
|
+
};
|
|
1212
|
+
var ui = {
|
|
1192
1213
|
create: function() {
|
|
1193
|
-
return new
|
|
1214
|
+
return new mt();
|
|
1194
1215
|
}
|
|
1195
|
-
},
|
|
1196
|
-
variadic:
|
|
1216
|
+
}, We = {
|
|
1217
|
+
variadic: si,
|
|
1218
|
+
monadic: oi
|
|
1197
1219
|
}, v;
|
|
1198
1220
|
(function(e) {
|
|
1199
1221
|
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";
|
|
@@ -1206,43 +1228,43 @@ var ne;
|
|
|
1206
1228
|
(function(e) {
|
|
1207
1229
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1208
1230
|
})(ne || (ne = {}));
|
|
1209
|
-
function
|
|
1231
|
+
function Gt(e) {
|
|
1210
1232
|
return e.type === T.literal;
|
|
1211
1233
|
}
|
|
1212
|
-
function
|
|
1234
|
+
function li(e) {
|
|
1213
1235
|
return e.type === T.argument;
|
|
1214
1236
|
}
|
|
1215
|
-
function
|
|
1237
|
+
function Er(e) {
|
|
1216
1238
|
return e.type === T.number;
|
|
1217
1239
|
}
|
|
1218
|
-
function
|
|
1240
|
+
function wr(e) {
|
|
1219
1241
|
return e.type === T.date;
|
|
1220
1242
|
}
|
|
1221
|
-
function
|
|
1243
|
+
function Sr(e) {
|
|
1222
1244
|
return e.type === T.time;
|
|
1223
1245
|
}
|
|
1224
|
-
function
|
|
1246
|
+
function xr(e) {
|
|
1225
1247
|
return e.type === T.select;
|
|
1226
1248
|
}
|
|
1227
|
-
function
|
|
1249
|
+
function Tr(e) {
|
|
1228
1250
|
return e.type === T.plural;
|
|
1229
1251
|
}
|
|
1230
|
-
function
|
|
1252
|
+
function hi(e) {
|
|
1231
1253
|
return e.type === T.pound;
|
|
1232
1254
|
}
|
|
1233
|
-
function
|
|
1255
|
+
function Hr(e) {
|
|
1234
1256
|
return e.type === T.tag;
|
|
1235
1257
|
}
|
|
1236
|
-
function
|
|
1258
|
+
function Br(e) {
|
|
1237
1259
|
return !!(e && typeof e == "object" && e.type === ne.number);
|
|
1238
1260
|
}
|
|
1239
|
-
function
|
|
1261
|
+
function nt(e) {
|
|
1240
1262
|
return !!(e && typeof e == "object" && e.type === ne.dateTime);
|
|
1241
1263
|
}
|
|
1242
|
-
var
|
|
1243
|
-
function
|
|
1264
|
+
var Ar = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, fi = /(?:[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;
|
|
1265
|
+
function ci(e) {
|
|
1244
1266
|
var t = {};
|
|
1245
|
-
return e.replace(
|
|
1267
|
+
return e.replace(fi, function(r) {
|
|
1246
1268
|
var n = r.length;
|
|
1247
1269
|
switch (r[0]) {
|
|
1248
1270
|
case "G":
|
|
@@ -1331,11 +1353,11 @@ function li(e) {
|
|
|
1331
1353
|
return "";
|
|
1332
1354
|
}), t;
|
|
1333
1355
|
}
|
|
1334
|
-
var
|
|
1335
|
-
function
|
|
1356
|
+
var mi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1357
|
+
function pi(e) {
|
|
1336
1358
|
if (e.length === 0)
|
|
1337
1359
|
throw new Error("Number skeleton cannot be empty");
|
|
1338
|
-
for (var t = e.split(
|
|
1360
|
+
for (var t = e.split(mi).filter(function(p) {
|
|
1339
1361
|
return p.length > 0;
|
|
1340
1362
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1341
1363
|
var s = i[n], o = s.split("/");
|
|
@@ -1350,17 +1372,17 @@ function fi(e) {
|
|
|
1350
1372
|
}
|
|
1351
1373
|
return r;
|
|
1352
1374
|
}
|
|
1353
|
-
function
|
|
1375
|
+
function di(e) {
|
|
1354
1376
|
return e.replace(/^(.*?)-/, "");
|
|
1355
1377
|
}
|
|
1356
|
-
var
|
|
1357
|
-
function
|
|
1378
|
+
var jt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Pr = /^(@+)?(\+|#+)?[rs]?$/g, gi = /(\*)(0+)|(#+)(0+)|(0+)/g, Or = /^(0+)$/;
|
|
1379
|
+
function $t(e) {
|
|
1358
1380
|
var t = {};
|
|
1359
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1381
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Pr, function(r, n, i) {
|
|
1360
1382
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1361
1383
|
}), t;
|
|
1362
1384
|
}
|
|
1363
|
-
function
|
|
1385
|
+
function Cr(e) {
|
|
1364
1386
|
switch (e) {
|
|
1365
1387
|
case "sign-auto":
|
|
1366
1388
|
return {
|
|
@@ -1400,7 +1422,7 @@ function Br(e) {
|
|
|
1400
1422
|
};
|
|
1401
1423
|
}
|
|
1402
1424
|
}
|
|
1403
|
-
function
|
|
1425
|
+
function bi(e) {
|
|
1404
1426
|
var t;
|
|
1405
1427
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1406
1428
|
notation: "engineering"
|
|
@@ -1408,17 +1430,17 @@ function pi(e) {
|
|
|
1408
1430
|
notation: "scientific"
|
|
1409
1431
|
}, e = e.slice(1)), t) {
|
|
1410
1432
|
var r = e.slice(0, 2);
|
|
1411
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1433
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Or.test(e))
|
|
1412
1434
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1413
1435
|
t.minimumIntegerDigits = e.length;
|
|
1414
1436
|
}
|
|
1415
1437
|
return t;
|
|
1416
1438
|
}
|
|
1417
|
-
function
|
|
1418
|
-
var t = {}, r =
|
|
1439
|
+
function Vt(e) {
|
|
1440
|
+
var t = {}, r = Cr(e);
|
|
1419
1441
|
return r || t;
|
|
1420
1442
|
}
|
|
1421
|
-
function
|
|
1443
|
+
function yi(e) {
|
|
1422
1444
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1423
1445
|
var i = n[r];
|
|
1424
1446
|
switch (i.stem) {
|
|
@@ -1442,7 +1464,7 @@ function di(e) {
|
|
|
1442
1464
|
continue;
|
|
1443
1465
|
case "measure-unit":
|
|
1444
1466
|
case "unit":
|
|
1445
|
-
t.style = "unit", t.unit =
|
|
1467
|
+
t.style = "unit", t.unit = di(i.options[0]);
|
|
1446
1468
|
continue;
|
|
1447
1469
|
case "compact-short":
|
|
1448
1470
|
case "K":
|
|
@@ -1454,12 +1476,12 @@ function di(e) {
|
|
|
1454
1476
|
continue;
|
|
1455
1477
|
case "scientific":
|
|
1456
1478
|
t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
|
|
1457
|
-
return w(w({}, h),
|
|
1479
|
+
return w(w({}, h), Vt(l));
|
|
1458
1480
|
}, {}));
|
|
1459
1481
|
continue;
|
|
1460
1482
|
case "engineering":
|
|
1461
1483
|
t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
|
|
1462
|
-
return w(w({}, h),
|
|
1484
|
+
return w(w({}, h), Vt(l));
|
|
1463
1485
|
}, {}));
|
|
1464
1486
|
continue;
|
|
1465
1487
|
case "notation-simple":
|
|
@@ -1504,7 +1526,7 @@ function di(e) {
|
|
|
1504
1526
|
case "integer-width":
|
|
1505
1527
|
if (i.options.length > 1)
|
|
1506
1528
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1507
|
-
i.options[0].replace(
|
|
1529
|
+
i.options[0].replace(gi, function(h, l, u, c, p, y) {
|
|
1508
1530
|
if (l)
|
|
1509
1531
|
t.minimumIntegerDigits = u.length;
|
|
1510
1532
|
else {
|
|
@@ -1517,27 +1539,27 @@ function di(e) {
|
|
|
1517
1539
|
});
|
|
1518
1540
|
continue;
|
|
1519
1541
|
}
|
|
1520
|
-
if (
|
|
1542
|
+
if (Or.test(i.stem)) {
|
|
1521
1543
|
t.minimumIntegerDigits = i.stem.length;
|
|
1522
1544
|
continue;
|
|
1523
1545
|
}
|
|
1524
|
-
if (
|
|
1546
|
+
if (jt.test(i.stem)) {
|
|
1525
1547
|
if (i.options.length > 1)
|
|
1526
1548
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1527
|
-
i.stem.replace(
|
|
1549
|
+
i.stem.replace(jt, function(h, l, u, c, p, y) {
|
|
1528
1550
|
return u === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : p && y ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + y.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
|
1529
1551
|
});
|
|
1530
1552
|
var s = i.options[0];
|
|
1531
|
-
s === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = w(w({}, t),
|
|
1553
|
+
s === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = w(w({}, t), $t(s)));
|
|
1532
1554
|
continue;
|
|
1533
1555
|
}
|
|
1534
|
-
if (
|
|
1535
|
-
t = w(w({}, t),
|
|
1556
|
+
if (Pr.test(i.stem)) {
|
|
1557
|
+
t = w(w({}, t), $t(i.stem));
|
|
1536
1558
|
continue;
|
|
1537
1559
|
}
|
|
1538
|
-
var o =
|
|
1560
|
+
var o = Cr(i.stem);
|
|
1539
1561
|
o && (t = w(w({}, t), o));
|
|
1540
|
-
var a =
|
|
1562
|
+
var a = bi(i.stem);
|
|
1541
1563
|
a && (t = w(w({}, t), a));
|
|
1542
1564
|
}
|
|
1543
1565
|
return t;
|
|
@@ -2957,13 +2979,13 @@ var Te = {
|
|
|
2957
2979
|
"h"
|
|
2958
2980
|
]
|
|
2959
2981
|
};
|
|
2960
|
-
function
|
|
2982
|
+
function vi(e, t) {
|
|
2961
2983
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2962
2984
|
var i = e.charAt(n);
|
|
2963
2985
|
if (i === "j") {
|
|
2964
2986
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2965
2987
|
s++, n++;
|
|
2966
|
-
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", l =
|
|
2988
|
+
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", l = _i(t);
|
|
2967
2989
|
for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
|
|
2968
2990
|
r += h;
|
|
2969
2991
|
for (; o-- > 0; )
|
|
@@ -2973,7 +2995,7 @@ function gi(e, t) {
|
|
|
2973
2995
|
}
|
|
2974
2996
|
return r;
|
|
2975
2997
|
}
|
|
2976
|
-
function
|
|
2998
|
+
function _i(e) {
|
|
2977
2999
|
var t = e.hourCycle;
|
|
2978
3000
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2979
3001
|
e.hourCycles && // @ts-ignore
|
|
@@ -2995,20 +3017,20 @@ function bi(e) {
|
|
|
2995
3017
|
var i = Te[n || ""] || Te[r || ""] || Te["".concat(r, "-001")] || Te["001"];
|
|
2996
3018
|
return i[0];
|
|
2997
3019
|
}
|
|
2998
|
-
var
|
|
3020
|
+
var ze, Ei = new RegExp("^".concat(Ar.source, "*")), wi = new RegExp("".concat(Ar.source, "*$"));
|
|
2999
3021
|
function _(e, t) {
|
|
3000
3022
|
return { start: e, end: t };
|
|
3001
3023
|
}
|
|
3002
|
-
var
|
|
3024
|
+
var Si = !!String.prototype.startsWith && "_a".startsWith("a", 1), xi = !!String.fromCodePoint, Ti = !!Object.fromEntries, Hi = !!String.prototype.codePointAt, Bi = !!String.prototype.trimStart, Ai = !!String.prototype.trimEnd, Pi = !!Number.isSafeInteger, Oi = Pi ? Number.isSafeInteger : function(e) {
|
|
3003
3025
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3004
|
-
},
|
|
3026
|
+
}, it = !0;
|
|
3005
3027
|
try {
|
|
3006
|
-
var
|
|
3007
|
-
|
|
3028
|
+
var Ci = Lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3029
|
+
it = ((ze = Ci.exec("a")) === null || ze === void 0 ? void 0 : ze[0]) === "a";
|
|
3008
3030
|
} catch {
|
|
3009
|
-
|
|
3031
|
+
it = !1;
|
|
3010
3032
|
}
|
|
3011
|
-
var
|
|
3033
|
+
var Xt = Si ? (
|
|
3012
3034
|
// Native
|
|
3013
3035
|
function(t, r, n) {
|
|
3014
3036
|
return t.startsWith(r, n);
|
|
@@ -3018,7 +3040,7 @@ var jt = _i ? (
|
|
|
3018
3040
|
function(t, r, n) {
|
|
3019
3041
|
return t.slice(n, n + r.length) === r;
|
|
3020
3042
|
}
|
|
3021
|
-
),
|
|
3043
|
+
), st = xi ? String.fromCodePoint : (
|
|
3022
3044
|
// IE11
|
|
3023
3045
|
function() {
|
|
3024
3046
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3030,9 +3052,9 @@ var jt = _i ? (
|
|
|
3030
3052
|
}
|
|
3031
3053
|
return n;
|
|
3032
3054
|
}
|
|
3033
|
-
),
|
|
3055
|
+
), Wt = (
|
|
3034
3056
|
// native
|
|
3035
|
-
|
|
3057
|
+
Ti ? Object.fromEntries : (
|
|
3036
3058
|
// Ponyfill
|
|
3037
3059
|
function(t) {
|
|
3038
3060
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3042,7 +3064,7 @@ var jt = _i ? (
|
|
|
3042
3064
|
return r;
|
|
3043
3065
|
}
|
|
3044
3066
|
)
|
|
3045
|
-
),
|
|
3067
|
+
), Ir = Hi ? (
|
|
3046
3068
|
// Native
|
|
3047
3069
|
function(t, r) {
|
|
3048
3070
|
return t.codePointAt(r);
|
|
@@ -3056,7 +3078,7 @@ var jt = _i ? (
|
|
|
3056
3078
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
3057
3079
|
}
|
|
3058
3080
|
}
|
|
3059
|
-
),
|
|
3081
|
+
), Ii = Bi ? (
|
|
3060
3082
|
// Native
|
|
3061
3083
|
function(t) {
|
|
3062
3084
|
return t.trimStart();
|
|
@@ -3064,9 +3086,9 @@ var jt = _i ? (
|
|
|
3064
3086
|
) : (
|
|
3065
3087
|
// Ponyfill
|
|
3066
3088
|
function(t) {
|
|
3067
|
-
return t.replace(
|
|
3089
|
+
return t.replace(Ei, "");
|
|
3068
3090
|
}
|
|
3069
|
-
),
|
|
3091
|
+
), Li = Ai ? (
|
|
3070
3092
|
// Native
|
|
3071
3093
|
function(t) {
|
|
3072
3094
|
return t.trimEnd();
|
|
@@ -3074,32 +3096,32 @@ var jt = _i ? (
|
|
|
3074
3096
|
) : (
|
|
3075
3097
|
// Ponyfill
|
|
3076
3098
|
function(t) {
|
|
3077
|
-
return t.replace(
|
|
3099
|
+
return t.replace(wi, "");
|
|
3078
3100
|
}
|
|
3079
3101
|
);
|
|
3080
|
-
function
|
|
3102
|
+
function Lr(e, t) {
|
|
3081
3103
|
return new RegExp(e, t);
|
|
3082
3104
|
}
|
|
3083
|
-
var
|
|
3084
|
-
if (
|
|
3085
|
-
var
|
|
3086
|
-
|
|
3105
|
+
var ot;
|
|
3106
|
+
if (it) {
|
|
3107
|
+
var zt = Lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3108
|
+
ot = function(t, r) {
|
|
3087
3109
|
var n;
|
|
3088
|
-
|
|
3089
|
-
var i =
|
|
3110
|
+
zt.lastIndex = r;
|
|
3111
|
+
var i = zt.exec(t);
|
|
3090
3112
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3091
3113
|
};
|
|
3092
3114
|
} else
|
|
3093
|
-
|
|
3115
|
+
ot = function(t, r) {
|
|
3094
3116
|
for (var n = []; ; ) {
|
|
3095
|
-
var i =
|
|
3096
|
-
if (i === void 0 ||
|
|
3117
|
+
var i = Ir(t, r);
|
|
3118
|
+
if (i === void 0 || Rr(i) || Di(i))
|
|
3097
3119
|
break;
|
|
3098
3120
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3099
3121
|
}
|
|
3100
|
-
return
|
|
3122
|
+
return st.apply(void 0, n);
|
|
3101
3123
|
};
|
|
3102
|
-
var
|
|
3124
|
+
var Ri = (
|
|
3103
3125
|
/** @class */
|
|
3104
3126
|
function() {
|
|
3105
3127
|
function e(t, r) {
|
|
@@ -3130,7 +3152,7 @@ var Ci = (
|
|
|
3130
3152
|
if (n)
|
|
3131
3153
|
break;
|
|
3132
3154
|
return this.error(v.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
|
|
3133
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
3155
|
+
} else if (s === 60 && !this.ignoreTag && at(this.peek() || 0)) {
|
|
3134
3156
|
var o = this.parseTag(t, r);
|
|
3135
3157
|
if (o.err)
|
|
3136
3158
|
return o;
|
|
@@ -3163,7 +3185,7 @@ var Ci = (
|
|
|
3163
3185
|
return s;
|
|
3164
3186
|
var o = s.val, a = this.clonePosition();
|
|
3165
3187
|
if (this.bumpIf("</")) {
|
|
3166
|
-
if (this.isEOF() || !
|
|
3188
|
+
if (this.isEOF() || !at(this.char()))
|
|
3167
3189
|
return this.error(v.INVALID_TAG, _(a, this.clonePosition()));
|
|
3168
3190
|
var h = this.clonePosition(), l = this.parseTagName();
|
|
3169
3191
|
return i !== l ? this.error(v.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3181,7 +3203,7 @@ var Ci = (
|
|
|
3181
3203
|
return this.error(v.INVALID_TAG, _(n, this.clonePosition()));
|
|
3182
3204
|
}, e.prototype.parseTagName = function() {
|
|
3183
3205
|
var t = this.offset();
|
|
3184
|
-
for (this.bump(); !this.isEOF() &&
|
|
3206
|
+
for (this.bump(); !this.isEOF() && Ni(this.char()); )
|
|
3185
3207
|
this.bump();
|
|
3186
3208
|
return this.message.slice(t, this.offset());
|
|
3187
3209
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3210,7 +3232,7 @@ var Ci = (
|
|
|
3210
3232
|
};
|
|
3211
3233
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3212
3234
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3213
|
-
!
|
|
3235
|
+
!Mi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3214
3236
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3215
3237
|
if (this.isEOF() || this.char() !== 39)
|
|
3216
3238
|
return null;
|
|
@@ -3244,12 +3266,12 @@ var Ci = (
|
|
|
3244
3266
|
r.push(n);
|
|
3245
3267
|
this.bump();
|
|
3246
3268
|
}
|
|
3247
|
-
return
|
|
3269
|
+
return st.apply(void 0, r);
|
|
3248
3270
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3249
3271
|
if (this.isEOF())
|
|
3250
3272
|
return null;
|
|
3251
3273
|
var n = this.char();
|
|
3252
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3274
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), st(n));
|
|
3253
3275
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3254
3276
|
var n = this.clonePosition();
|
|
3255
3277
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3278,7 +3300,7 @@ var Ci = (
|
|
|
3278
3300
|
return this.error(v.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
|
|
3279
3301
|
}
|
|
3280
3302
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3281
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3303
|
+
var t = this.clonePosition(), r = this.offset(), n = ot(this.message, r), i = r + n.length;
|
|
3282
3304
|
this.bumpTo(i);
|
|
3283
3305
|
var s = this.clonePosition(), o = _(t, s);
|
|
3284
3306
|
return { value: n, location: o };
|
|
@@ -3297,7 +3319,7 @@ var Ci = (
|
|
|
3297
3319
|
var u = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3298
3320
|
if (c.err)
|
|
3299
3321
|
return c;
|
|
3300
|
-
var p =
|
|
3322
|
+
var p = Li(c.val);
|
|
3301
3323
|
if (p.length === 0)
|
|
3302
3324
|
return this.error(v.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
3303
3325
|
var y = _(u, this.clonePosition());
|
|
@@ -3307,8 +3329,8 @@ var Ci = (
|
|
|
3307
3329
|
if (g.err)
|
|
3308
3330
|
return g;
|
|
3309
3331
|
var d = _(i, this.clonePosition());
|
|
3310
|
-
if (l &&
|
|
3311
|
-
var b =
|
|
3332
|
+
if (l && Xt(l?.style, "::", 0)) {
|
|
3333
|
+
var b = Ii(l.style.slice(2));
|
|
3312
3334
|
if (a === "number") {
|
|
3313
3335
|
var c = this.parseNumberSkeletonFromString(b, l.styleLocation);
|
|
3314
3336
|
return c.err ? c : {
|
|
@@ -3318,13 +3340,13 @@ var Ci = (
|
|
|
3318
3340
|
} else {
|
|
3319
3341
|
if (b.length === 0)
|
|
3320
3342
|
return this.error(v.EXPECT_DATE_TIME_SKELETON, d);
|
|
3321
|
-
var
|
|
3322
|
-
this.locale && (
|
|
3343
|
+
var S = b;
|
|
3344
|
+
this.locale && (S = vi(b, this.locale));
|
|
3323
3345
|
var p = {
|
|
3324
3346
|
type: ne.dateTime,
|
|
3325
|
-
pattern:
|
|
3347
|
+
pattern: S,
|
|
3326
3348
|
location: l.styleLocation,
|
|
3327
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3349
|
+
parsedOptions: this.shouldParseSkeletons ? ci(S) : {}
|
|
3328
3350
|
}, O = a === "date" ? T.date : T.time;
|
|
3329
3351
|
return {
|
|
3330
3352
|
val: { type: O, value: n, location: d, style: p },
|
|
@@ -3349,7 +3371,7 @@ var Ci = (
|
|
|
3349
3371
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3350
3372
|
return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, _(P, w({}, P)));
|
|
3351
3373
|
this.bumpSpace();
|
|
3352
|
-
var R = this.parseIdentifierIfPossible(),
|
|
3374
|
+
var R = this.parseIdentifierIfPossible(), M = 0;
|
|
3353
3375
|
if (a !== "select" && R.value === "offset") {
|
|
3354
3376
|
if (!this.bumpIf(":"))
|
|
3355
3377
|
return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
|
|
@@ -3357,7 +3379,7 @@ var Ci = (
|
|
|
3357
3379
|
var c = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3358
3380
|
if (c.err)
|
|
3359
3381
|
return c;
|
|
3360
|
-
this.bumpSpace(), R = this.parseIdentifierIfPossible(),
|
|
3382
|
+
this.bumpSpace(), R = this.parseIdentifierIfPossible(), M = c.val;
|
|
3361
3383
|
}
|
|
3362
3384
|
var C = this.tryParsePluralOrSelectOptions(t, a, r, R);
|
|
3363
3385
|
if (C.err)
|
|
@@ -3370,7 +3392,7 @@ var Ci = (
|
|
|
3370
3392
|
val: {
|
|
3371
3393
|
type: T.select,
|
|
3372
3394
|
value: n,
|
|
3373
|
-
options:
|
|
3395
|
+
options: Wt(C.val),
|
|
3374
3396
|
location: D
|
|
3375
3397
|
},
|
|
3376
3398
|
err: null
|
|
@@ -3378,8 +3400,8 @@ var Ci = (
|
|
|
3378
3400
|
val: {
|
|
3379
3401
|
type: T.plural,
|
|
3380
3402
|
value: n,
|
|
3381
|
-
options:
|
|
3382
|
-
offset:
|
|
3403
|
+
options: Wt(C.val),
|
|
3404
|
+
offset: M,
|
|
3383
3405
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3384
3406
|
location: D
|
|
3385
3407
|
},
|
|
@@ -3429,7 +3451,7 @@ var Ci = (
|
|
|
3429
3451
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3430
3452
|
var n = [];
|
|
3431
3453
|
try {
|
|
3432
|
-
n =
|
|
3454
|
+
n = pi(t);
|
|
3433
3455
|
} catch {
|
|
3434
3456
|
return this.error(v.INVALID_NUMBER_SKELETON, r);
|
|
3435
3457
|
}
|
|
@@ -3438,7 +3460,7 @@ var Ci = (
|
|
|
3438
3460
|
type: ne.number,
|
|
3439
3461
|
tokens: n,
|
|
3440
3462
|
location: r,
|
|
3441
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3463
|
+
parsedOptions: this.shouldParseSkeletons ? yi(n) : {}
|
|
3442
3464
|
},
|
|
3443
3465
|
err: null
|
|
3444
3466
|
};
|
|
@@ -3486,7 +3508,7 @@ var Ci = (
|
|
|
3486
3508
|
break;
|
|
3487
3509
|
}
|
|
3488
3510
|
var h = _(i, this.clonePosition());
|
|
3489
|
-
return s ? (o *= n,
|
|
3511
|
+
return s ? (o *= n, Oi(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3490
3512
|
}, e.prototype.offset = function() {
|
|
3491
3513
|
return this.position.offset;
|
|
3492
3514
|
}, e.prototype.isEOF = function() {
|
|
@@ -3501,7 +3523,7 @@ var Ci = (
|
|
|
3501
3523
|
var t = this.position.offset;
|
|
3502
3524
|
if (t >= this.message.length)
|
|
3503
3525
|
throw Error("out of bound");
|
|
3504
|
-
var r =
|
|
3526
|
+
var r = Ir(this.message, t);
|
|
3505
3527
|
if (r === void 0)
|
|
3506
3528
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3507
3529
|
return r;
|
|
@@ -3520,7 +3542,7 @@ var Ci = (
|
|
|
3520
3542
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3521
3543
|
}
|
|
3522
3544
|
}, e.prototype.bumpIf = function(t) {
|
|
3523
|
-
if (
|
|
3545
|
+
if (Xt(this.message, t, this.offset())) {
|
|
3524
3546
|
for (var r = 0; r < t.length; r++)
|
|
3525
3547
|
this.bump();
|
|
3526
3548
|
return !0;
|
|
@@ -3542,7 +3564,7 @@ var Ci = (
|
|
|
3542
3564
|
break;
|
|
3543
3565
|
}
|
|
3544
3566
|
}, e.prototype.bumpSpace = function() {
|
|
3545
|
-
for (; !this.isEOF() &&
|
|
3567
|
+
for (; !this.isEOF() && Rr(this.char()); )
|
|
3546
3568
|
this.bump();
|
|
3547
3569
|
}, e.prototype.peek = function() {
|
|
3548
3570
|
if (this.isEOF())
|
|
@@ -3552,44 +3574,44 @@ var Ci = (
|
|
|
3552
3574
|
}, e;
|
|
3553
3575
|
}()
|
|
3554
3576
|
);
|
|
3555
|
-
function
|
|
3577
|
+
function at(e) {
|
|
3556
3578
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3557
3579
|
}
|
|
3558
|
-
function
|
|
3559
|
-
return
|
|
3580
|
+
function Mi(e) {
|
|
3581
|
+
return at(e) || e === 47;
|
|
3560
3582
|
}
|
|
3561
|
-
function
|
|
3583
|
+
function Ni(e) {
|
|
3562
3584
|
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;
|
|
3563
3585
|
}
|
|
3564
|
-
function
|
|
3586
|
+
function Rr(e) {
|
|
3565
3587
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3566
3588
|
}
|
|
3567
|
-
function
|
|
3589
|
+
function Di(e) {
|
|
3568
3590
|
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;
|
|
3569
3591
|
}
|
|
3570
|
-
function
|
|
3592
|
+
function ut(e) {
|
|
3571
3593
|
e.forEach(function(t) {
|
|
3572
|
-
if (delete t.location,
|
|
3594
|
+
if (delete t.location, xr(t) || Tr(t))
|
|
3573
3595
|
for (var r in t.options)
|
|
3574
|
-
delete t.options[r].location,
|
|
3596
|
+
delete t.options[r].location, ut(t.options[r].value);
|
|
3575
3597
|
else
|
|
3576
|
-
|
|
3598
|
+
Er(t) && Br(t.style) || (wr(t) || Sr(t)) && nt(t.style) ? delete t.style.location : Hr(t) && ut(t.children);
|
|
3577
3599
|
});
|
|
3578
3600
|
}
|
|
3579
|
-
function
|
|
3601
|
+
function Fi(e, t) {
|
|
3580
3602
|
t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3581
|
-
var r = new
|
|
3603
|
+
var r = new Ri(e, t).parse();
|
|
3582
3604
|
if (r.err) {
|
|
3583
3605
|
var n = SyntaxError(v[r.err.kind]);
|
|
3584
3606
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3585
3607
|
}
|
|
3586
|
-
return t?.captureLocation ||
|
|
3608
|
+
return t?.captureLocation || ut(r.val), r.val;
|
|
3587
3609
|
}
|
|
3588
3610
|
var ie;
|
|
3589
3611
|
(function(e) {
|
|
3590
3612
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3591
3613
|
})(ie || (ie = {}));
|
|
3592
|
-
var
|
|
3614
|
+
var Me = (
|
|
3593
3615
|
/** @class */
|
|
3594
3616
|
function(e) {
|
|
3595
3617
|
X(t, e);
|
|
@@ -3601,7 +3623,7 @@ var Ne = (
|
|
|
3601
3623
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3602
3624
|
}, t;
|
|
3603
3625
|
}(Error)
|
|
3604
|
-
),
|
|
3626
|
+
), Zt = (
|
|
3605
3627
|
/** @class */
|
|
3606
3628
|
function(e) {
|
|
3607
3629
|
X(t, e);
|
|
@@ -3609,8 +3631,8 @@ var Ne = (
|
|
|
3609
3631
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ie.INVALID_VALUE, s) || this;
|
|
3610
3632
|
}
|
|
3611
3633
|
return t;
|
|
3612
|
-
}(
|
|
3613
|
-
),
|
|
3634
|
+
}(Me)
|
|
3635
|
+
), Ui = (
|
|
3614
3636
|
/** @class */
|
|
3615
3637
|
function(e) {
|
|
3616
3638
|
X(t, e);
|
|
@@ -3618,8 +3640,8 @@ var Ne = (
|
|
|
3618
3640
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ie.INVALID_VALUE, i) || this;
|
|
3619
3641
|
}
|
|
3620
3642
|
return t;
|
|
3621
|
-
}(
|
|
3622
|
-
),
|
|
3643
|
+
}(Me)
|
|
3644
|
+
), ki = (
|
|
3623
3645
|
/** @class */
|
|
3624
3646
|
function(e) {
|
|
3625
3647
|
X(t, e);
|
|
@@ -3627,22 +3649,22 @@ var Ne = (
|
|
|
3627
3649
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ie.MISSING_VALUE, n) || this;
|
|
3628
3650
|
}
|
|
3629
3651
|
return t;
|
|
3630
|
-
}(
|
|
3652
|
+
}(Me)
|
|
3631
3653
|
), L;
|
|
3632
3654
|
(function(e) {
|
|
3633
3655
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3634
3656
|
})(L || (L = {}));
|
|
3635
|
-
function
|
|
3657
|
+
function Gi(e) {
|
|
3636
3658
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3637
3659
|
var n = t[t.length - 1];
|
|
3638
3660
|
return !n || n.type !== L.literal || r.type !== L.literal ? t.push(r) : n.value += r.value, t;
|
|
3639
3661
|
}, []);
|
|
3640
3662
|
}
|
|
3641
|
-
function
|
|
3663
|
+
function ji(e) {
|
|
3642
3664
|
return typeof e == "function";
|
|
3643
3665
|
}
|
|
3644
3666
|
function Ae(e, t, r, n, i, s, o) {
|
|
3645
|
-
if (e.length === 1 &&
|
|
3667
|
+
if (e.length === 1 && Gt(e[0]))
|
|
3646
3668
|
return [
|
|
3647
3669
|
{
|
|
3648
3670
|
type: L.literal,
|
|
@@ -3651,14 +3673,14 @@ function Ae(e, t, r, n, i, s, o) {
|
|
|
3651
3673
|
];
|
|
3652
3674
|
for (var a = [], h = 0, l = e; h < l.length; h++) {
|
|
3653
3675
|
var u = l[h];
|
|
3654
|
-
if (
|
|
3676
|
+
if (Gt(u)) {
|
|
3655
3677
|
a.push({
|
|
3656
3678
|
type: L.literal,
|
|
3657
3679
|
value: u.value
|
|
3658
3680
|
});
|
|
3659
3681
|
continue;
|
|
3660
3682
|
}
|
|
3661
|
-
if (
|
|
3683
|
+
if (hi(u)) {
|
|
3662
3684
|
typeof s == "number" && a.push({
|
|
3663
3685
|
type: L.literal,
|
|
3664
3686
|
value: r.getNumberFormat(t).format(s)
|
|
@@ -3667,89 +3689,89 @@ function Ae(e, t, r, n, i, s, o) {
|
|
|
3667
3689
|
}
|
|
3668
3690
|
var c = u.value;
|
|
3669
3691
|
if (!(i && c in i))
|
|
3670
|
-
throw new
|
|
3692
|
+
throw new ki(c, o);
|
|
3671
3693
|
var p = i[c];
|
|
3672
|
-
if (
|
|
3694
|
+
if (li(u)) {
|
|
3673
3695
|
(!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), a.push({
|
|
3674
3696
|
type: typeof p == "string" ? L.literal : L.object,
|
|
3675
3697
|
value: p
|
|
3676
3698
|
});
|
|
3677
3699
|
continue;
|
|
3678
3700
|
}
|
|
3679
|
-
if (
|
|
3680
|
-
var y = typeof u.style == "string" ? n.date[u.style] :
|
|
3701
|
+
if (wr(u)) {
|
|
3702
|
+
var y = typeof u.style == "string" ? n.date[u.style] : nt(u.style) ? u.style.parsedOptions : void 0;
|
|
3681
3703
|
a.push({
|
|
3682
3704
|
type: L.literal,
|
|
3683
3705
|
value: r.getDateTimeFormat(t, y).format(p)
|
|
3684
3706
|
});
|
|
3685
3707
|
continue;
|
|
3686
3708
|
}
|
|
3687
|
-
if (
|
|
3688
|
-
var y = typeof u.style == "string" ? n.time[u.style] :
|
|
3709
|
+
if (Sr(u)) {
|
|
3710
|
+
var y = typeof u.style == "string" ? n.time[u.style] : nt(u.style) ? u.style.parsedOptions : n.time.medium;
|
|
3689
3711
|
a.push({
|
|
3690
3712
|
type: L.literal,
|
|
3691
3713
|
value: r.getDateTimeFormat(t, y).format(p)
|
|
3692
3714
|
});
|
|
3693
3715
|
continue;
|
|
3694
3716
|
}
|
|
3695
|
-
if (
|
|
3696
|
-
var y = typeof u.style == "string" ? n.number[u.style] :
|
|
3717
|
+
if (Er(u)) {
|
|
3718
|
+
var y = typeof u.style == "string" ? n.number[u.style] : Br(u.style) ? u.style.parsedOptions : void 0;
|
|
3697
3719
|
y && y.scale && (p = p * (y.scale || 1)), a.push({
|
|
3698
3720
|
type: L.literal,
|
|
3699
3721
|
value: r.getNumberFormat(t, y).format(p)
|
|
3700
3722
|
});
|
|
3701
3723
|
continue;
|
|
3702
3724
|
}
|
|
3703
|
-
if (
|
|
3725
|
+
if (Hr(u)) {
|
|
3704
3726
|
var g = u.children, d = u.value, b = i[d];
|
|
3705
|
-
if (!
|
|
3706
|
-
throw new
|
|
3707
|
-
var
|
|
3708
|
-
return
|
|
3727
|
+
if (!ji(b))
|
|
3728
|
+
throw new Ui(d, "function", o);
|
|
3729
|
+
var S = Ae(g, t, r, n, i, s), O = b(S.map(function(M) {
|
|
3730
|
+
return M.value;
|
|
3709
3731
|
}));
|
|
3710
|
-
Array.isArray(O) || (O = [O]), a.push.apply(a, O.map(function(
|
|
3732
|
+
Array.isArray(O) || (O = [O]), a.push.apply(a, O.map(function(M) {
|
|
3711
3733
|
return {
|
|
3712
|
-
type: typeof
|
|
3713
|
-
value:
|
|
3734
|
+
type: typeof M == "string" ? L.literal : L.object,
|
|
3735
|
+
value: M
|
|
3714
3736
|
};
|
|
3715
3737
|
}));
|
|
3716
3738
|
}
|
|
3717
|
-
if (
|
|
3739
|
+
if (xr(u)) {
|
|
3718
3740
|
var P = u.options[p] || u.options.other;
|
|
3719
3741
|
if (!P)
|
|
3720
|
-
throw new
|
|
3742
|
+
throw new Zt(u.value, p, Object.keys(u.options), o);
|
|
3721
3743
|
a.push.apply(a, Ae(P.value, t, r, n, i));
|
|
3722
3744
|
continue;
|
|
3723
3745
|
}
|
|
3724
|
-
if (
|
|
3746
|
+
if (Tr(u)) {
|
|
3725
3747
|
var P = u.options["=".concat(p)];
|
|
3726
3748
|
if (!P) {
|
|
3727
3749
|
if (!Intl.PluralRules)
|
|
3728
|
-
throw new
|
|
3750
|
+
throw new Me(`Intl.PluralRules is not available in this environment.
|
|
3729
3751
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3730
3752
|
`, ie.MISSING_INTL_API, o);
|
|
3731
3753
|
var R = r.getPluralRules(t, { type: u.pluralType }).select(p - (u.offset || 0));
|
|
3732
3754
|
P = u.options[R] || u.options.other;
|
|
3733
3755
|
}
|
|
3734
3756
|
if (!P)
|
|
3735
|
-
throw new
|
|
3757
|
+
throw new Zt(u.value, p, Object.keys(u.options), o);
|
|
3736
3758
|
a.push.apply(a, Ae(P.value, t, r, n, i, p - (u.offset || 0)));
|
|
3737
3759
|
continue;
|
|
3738
3760
|
}
|
|
3739
3761
|
}
|
|
3740
|
-
return
|
|
3762
|
+
return Gi(a);
|
|
3741
3763
|
}
|
|
3742
|
-
function
|
|
3764
|
+
function $i(e, t) {
|
|
3743
3765
|
return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3744
3766
|
return r[n] = w(w({}, e[n]), t[n] || {}), r;
|
|
3745
3767
|
}, {})) : e;
|
|
3746
3768
|
}
|
|
3747
|
-
function
|
|
3769
|
+
function Vi(e, t) {
|
|
3748
3770
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3749
|
-
return r[n] =
|
|
3771
|
+
return r[n] = $i(e[n], t[n]), r;
|
|
3750
3772
|
}, w({}, e)) : e;
|
|
3751
3773
|
}
|
|
3752
|
-
function
|
|
3774
|
+
function Ze(e) {
|
|
3753
3775
|
return {
|
|
3754
3776
|
create: function() {
|
|
3755
3777
|
return {
|
|
@@ -3763,39 +3785,39 @@ function ze(e) {
|
|
|
3763
3785
|
}
|
|
3764
3786
|
};
|
|
3765
3787
|
}
|
|
3766
|
-
function
|
|
3788
|
+
function Xi(e) {
|
|
3767
3789
|
return e === void 0 && (e = {
|
|
3768
3790
|
number: {},
|
|
3769
3791
|
dateTime: {},
|
|
3770
3792
|
pluralRules: {}
|
|
3771
3793
|
}), {
|
|
3772
|
-
getNumberFormat:
|
|
3794
|
+
getNumberFormat: Xe(function() {
|
|
3773
3795
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3774
3796
|
r[n] = arguments[n];
|
|
3775
3797
|
return new ((t = Intl.NumberFormat).bind.apply(t, te([void 0], r, !1)))();
|
|
3776
3798
|
}, {
|
|
3777
|
-
cache:
|
|
3778
|
-
strategy:
|
|
3799
|
+
cache: Ze(e.number),
|
|
3800
|
+
strategy: We.variadic
|
|
3779
3801
|
}),
|
|
3780
|
-
getDateTimeFormat:
|
|
3802
|
+
getDateTimeFormat: Xe(function() {
|
|
3781
3803
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3782
3804
|
r[n] = arguments[n];
|
|
3783
3805
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, te([void 0], r, !1)))();
|
|
3784
3806
|
}, {
|
|
3785
|
-
cache:
|
|
3786
|
-
strategy:
|
|
3807
|
+
cache: Ze(e.dateTime),
|
|
3808
|
+
strategy: We.variadic
|
|
3787
3809
|
}),
|
|
3788
|
-
getPluralRules:
|
|
3810
|
+
getPluralRules: Xe(function() {
|
|
3789
3811
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3790
3812
|
r[n] = arguments[n];
|
|
3791
3813
|
return new ((t = Intl.PluralRules).bind.apply(t, te([void 0], r, !1)))();
|
|
3792
3814
|
}, {
|
|
3793
|
-
cache:
|
|
3794
|
-
strategy:
|
|
3815
|
+
cache: Ze(e.pluralRules),
|
|
3816
|
+
strategy: We.variadic
|
|
3795
3817
|
})
|
|
3796
3818
|
};
|
|
3797
3819
|
}
|
|
3798
|
-
var
|
|
3820
|
+
var Wi = (
|
|
3799
3821
|
/** @class */
|
|
3800
3822
|
function() {
|
|
3801
3823
|
function e(t, r, n, i) {
|
|
@@ -3827,13 +3849,13 @@ var $i = (
|
|
|
3827
3849
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3828
3850
|
var o = i || {};
|
|
3829
3851
|
o.formatters;
|
|
3830
|
-
var a =
|
|
3852
|
+
var a = Tn(o, ["formatters"]);
|
|
3831
3853
|
this.ast = e.__parse(t, w(w({}, a), { locale: this.resolvedLocale }));
|
|
3832
3854
|
} else
|
|
3833
3855
|
this.ast = t;
|
|
3834
3856
|
if (!Array.isArray(this.ast))
|
|
3835
3857
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3836
|
-
this.formats =
|
|
3858
|
+
this.formats = Vi(e.formats, n), this.formatters = i && i.formatters || Xi(this.formatterCache);
|
|
3837
3859
|
}
|
|
3838
3860
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3839
3861
|
get: function() {
|
|
@@ -3846,7 +3868,7 @@ var $i = (
|
|
|
3846
3868
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3847
3869
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3848
3870
|
}
|
|
3849
|
-
}, e.__parse =
|
|
3871
|
+
}, e.__parse = Fi, e.formats = {
|
|
3850
3872
|
number: {
|
|
3851
3873
|
integer: {
|
|
3852
3874
|
maximumFractionDigits: 0
|
|
@@ -3907,7 +3929,7 @@ var $i = (
|
|
|
3907
3929
|
}, e;
|
|
3908
3930
|
}()
|
|
3909
3931
|
);
|
|
3910
|
-
function
|
|
3932
|
+
function zi(e, t) {
|
|
3911
3933
|
if (t == null)
|
|
3912
3934
|
return;
|
|
3913
3935
|
if (t in e)
|
|
@@ -3928,92 +3950,92 @@ function Vi(e, t) {
|
|
|
3928
3950
|
n = void 0;
|
|
3929
3951
|
return n;
|
|
3930
3952
|
}
|
|
3931
|
-
const z = {},
|
|
3953
|
+
const z = {}, Zi = (e, t, r) => r && (t in z || (z[t] = {}), e in z[t] || (z[t][e] = r), r), Mr = (e, t) => {
|
|
3932
3954
|
if (t == null)
|
|
3933
3955
|
return;
|
|
3934
3956
|
if (t in z && e in z[t])
|
|
3935
3957
|
return z[t][e];
|
|
3936
|
-
const r =
|
|
3958
|
+
const r = Ne(t);
|
|
3937
3959
|
for (let n = 0; n < r.length; n++) {
|
|
3938
|
-
const i = r[n], s =
|
|
3960
|
+
const i = r[n], s = qi(i, e);
|
|
3939
3961
|
if (s)
|
|
3940
|
-
return
|
|
3962
|
+
return Zi(e, t, s);
|
|
3941
3963
|
}
|
|
3942
3964
|
};
|
|
3943
|
-
let
|
|
3965
|
+
let pt;
|
|
3944
3966
|
const ae = Re({});
|
|
3945
|
-
function
|
|
3946
|
-
return
|
|
3967
|
+
function Ji(e) {
|
|
3968
|
+
return pt[e] || null;
|
|
3947
3969
|
}
|
|
3948
|
-
function
|
|
3949
|
-
return e in
|
|
3970
|
+
function Nr(e) {
|
|
3971
|
+
return e in pt;
|
|
3950
3972
|
}
|
|
3951
|
-
function
|
|
3952
|
-
if (!
|
|
3973
|
+
function qi(e, t) {
|
|
3974
|
+
if (!Nr(e))
|
|
3953
3975
|
return null;
|
|
3954
|
-
const r =
|
|
3955
|
-
return
|
|
3976
|
+
const r = Ji(e);
|
|
3977
|
+
return zi(r, t);
|
|
3956
3978
|
}
|
|
3957
|
-
function
|
|
3979
|
+
function Qi(e) {
|
|
3958
3980
|
if (e == null)
|
|
3959
3981
|
return;
|
|
3960
|
-
const t =
|
|
3982
|
+
const t = Ne(e);
|
|
3961
3983
|
for (let r = 0; r < t.length; r++) {
|
|
3962
3984
|
const n = t[r];
|
|
3963
|
-
if (
|
|
3985
|
+
if (Nr(n))
|
|
3964
3986
|
return n;
|
|
3965
3987
|
}
|
|
3966
3988
|
}
|
|
3967
|
-
function
|
|
3968
|
-
delete z[e], ae.update((r) => (r[e] =
|
|
3989
|
+
function Dr(e, ...t) {
|
|
3990
|
+
delete z[e], ae.update((r) => (r[e] = ri.all([r[e] || {}, ...t]), r));
|
|
3969
3991
|
}
|
|
3970
3992
|
oe(
|
|
3971
3993
|
[ae],
|
|
3972
3994
|
([e]) => Object.keys(e)
|
|
3973
3995
|
);
|
|
3974
|
-
ae.subscribe((e) =>
|
|
3996
|
+
ae.subscribe((e) => pt = e);
|
|
3975
3997
|
const Pe = {};
|
|
3976
|
-
function
|
|
3998
|
+
function Yi(e, t) {
|
|
3977
3999
|
Pe[e].delete(t), Pe[e].size === 0 && delete Pe[e];
|
|
3978
4000
|
}
|
|
3979
|
-
function
|
|
4001
|
+
function Fr(e) {
|
|
3980
4002
|
return Pe[e];
|
|
3981
4003
|
}
|
|
3982
|
-
function
|
|
3983
|
-
return
|
|
3984
|
-
const r =
|
|
4004
|
+
function Ki(e) {
|
|
4005
|
+
return Ne(e).map((t) => {
|
|
4006
|
+
const r = Fr(t);
|
|
3985
4007
|
return [t, r ? [...r] : []];
|
|
3986
4008
|
}).filter(([, t]) => t.length > 0);
|
|
3987
4009
|
}
|
|
3988
|
-
function
|
|
3989
|
-
return e == null ? !1 :
|
|
4010
|
+
function lt(e) {
|
|
4011
|
+
return e == null ? !1 : Ne(e).some(
|
|
3990
4012
|
(t) => {
|
|
3991
4013
|
var r;
|
|
3992
|
-
return (r =
|
|
4014
|
+
return (r = Fr(t)) == null ? void 0 : r.size;
|
|
3993
4015
|
}
|
|
3994
4016
|
);
|
|
3995
4017
|
}
|
|
3996
|
-
function
|
|
4018
|
+
function es(e, t) {
|
|
3997
4019
|
return Promise.all(
|
|
3998
|
-
t.map((n) => (
|
|
3999
|
-
).then((n) =>
|
|
4020
|
+
t.map((n) => (Yi(e, n), n().then((i) => i.default || i)))
|
|
4021
|
+
).then((n) => Dr(e, ...n));
|
|
4000
4022
|
}
|
|
4001
4023
|
const fe = {};
|
|
4002
|
-
function
|
|
4003
|
-
if (!
|
|
4024
|
+
function Ur(e) {
|
|
4025
|
+
if (!lt(e))
|
|
4004
4026
|
return e in fe ? fe[e] : Promise.resolve();
|
|
4005
|
-
const t =
|
|
4027
|
+
const t = Ki(e);
|
|
4006
4028
|
return fe[e] = Promise.all(
|
|
4007
4029
|
t.map(
|
|
4008
|
-
([r, n]) =>
|
|
4030
|
+
([r, n]) => es(r, n)
|
|
4009
4031
|
)
|
|
4010
4032
|
).then(() => {
|
|
4011
|
-
if (
|
|
4012
|
-
return
|
|
4033
|
+
if (lt(e))
|
|
4034
|
+
return Ur(e);
|
|
4013
4035
|
delete fe[e];
|
|
4014
4036
|
}), fe[e];
|
|
4015
4037
|
}
|
|
4016
|
-
const
|
|
4038
|
+
const ts = {
|
|
4017
4039
|
number: {
|
|
4018
4040
|
scientific: { notation: "scientific" },
|
|
4019
4041
|
engineering: { notation: "engineering" },
|
|
@@ -4042,57 +4064,57 @@ const Yi = {
|
|
|
4042
4064
|
timeZoneName: "short"
|
|
4043
4065
|
}
|
|
4044
4066
|
}
|
|
4045
|
-
},
|
|
4067
|
+
}, rs = {
|
|
4046
4068
|
fallbackLocale: null,
|
|
4047
4069
|
loadingDelay: 200,
|
|
4048
|
-
formats:
|
|
4070
|
+
formats: ts,
|
|
4049
4071
|
warnOnMissingMessages: !0,
|
|
4050
4072
|
handleMissingMessage: void 0,
|
|
4051
4073
|
ignoreTag: !0
|
|
4052
|
-
},
|
|
4074
|
+
}, ns = rs;
|
|
4053
4075
|
function se() {
|
|
4054
|
-
return
|
|
4076
|
+
return ns;
|
|
4055
4077
|
}
|
|
4056
|
-
const
|
|
4057
|
-
var
|
|
4078
|
+
const Je = Re(!1);
|
|
4079
|
+
var is = Object.defineProperty, ss = Object.defineProperties, os = Object.getOwnPropertyDescriptors, Jt = Object.getOwnPropertySymbols, as = Object.prototype.hasOwnProperty, us = Object.prototype.propertyIsEnumerable, qt = (e, t, r) => t in e ? is(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ls = (e, t) => {
|
|
4058
4080
|
for (var r in t || (t = {}))
|
|
4059
|
-
|
|
4060
|
-
if (
|
|
4061
|
-
for (var r of
|
|
4062
|
-
|
|
4081
|
+
as.call(t, r) && qt(e, r, t[r]);
|
|
4082
|
+
if (Jt)
|
|
4083
|
+
for (var r of Jt(t))
|
|
4084
|
+
us.call(t, r) && qt(e, r, t[r]);
|
|
4063
4085
|
return e;
|
|
4064
|
-
},
|
|
4065
|
-
let
|
|
4086
|
+
}, hs = (e, t) => ss(e, os(t));
|
|
4087
|
+
let ht;
|
|
4066
4088
|
const Ce = Re(null);
|
|
4067
|
-
function
|
|
4089
|
+
function Qt(e) {
|
|
4068
4090
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4069
4091
|
}
|
|
4070
|
-
function
|
|
4071
|
-
const r =
|
|
4072
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4092
|
+
function Ne(e, t = se().fallbackLocale) {
|
|
4093
|
+
const r = Qt(e);
|
|
4094
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Qt(t)])] : r;
|
|
4073
4095
|
}
|
|
4074
4096
|
function J() {
|
|
4075
|
-
return
|
|
4097
|
+
return ht ?? void 0;
|
|
4076
4098
|
}
|
|
4077
4099
|
Ce.subscribe((e) => {
|
|
4078
|
-
|
|
4100
|
+
ht = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4079
4101
|
});
|
|
4080
|
-
const
|
|
4081
|
-
if (e &&
|
|
4102
|
+
const fs = (e) => {
|
|
4103
|
+
if (e && Qi(e) && lt(e)) {
|
|
4082
4104
|
const { loadingDelay: t } = se();
|
|
4083
4105
|
let r;
|
|
4084
4106
|
return typeof window < "u" && J() != null && t ? r = window.setTimeout(
|
|
4085
|
-
() =>
|
|
4107
|
+
() => Je.set(!0),
|
|
4086
4108
|
t
|
|
4087
|
-
) :
|
|
4109
|
+
) : Je.set(!0), Ur(e).then(() => {
|
|
4088
4110
|
Ce.set(e);
|
|
4089
4111
|
}).finally(() => {
|
|
4090
|
-
clearTimeout(r),
|
|
4112
|
+
clearTimeout(r), Je.set(!1);
|
|
4091
4113
|
});
|
|
4092
4114
|
}
|
|
4093
4115
|
return Ce.set(e);
|
|
4094
|
-
}, Z =
|
|
4095
|
-
set:
|
|
4116
|
+
}, Z = hs(ls({}, Ce), {
|
|
4117
|
+
set: fs
|
|
4096
4118
|
}), De = (e) => {
|
|
4097
4119
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4098
4120
|
return (n) => {
|
|
@@ -4100,20 +4122,20 @@ const us = (e) => {
|
|
|
4100
4122
|
return i in t ? t[i] : t[i] = e(n);
|
|
4101
4123
|
};
|
|
4102
4124
|
};
|
|
4103
|
-
var
|
|
4125
|
+
var cs = Object.defineProperty, Ie = Object.getOwnPropertySymbols, kr = Object.prototype.hasOwnProperty, Gr = Object.prototype.propertyIsEnumerable, Yt = (e, t, r) => t in e ? cs(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, dt = (e, t) => {
|
|
4104
4126
|
for (var r in t || (t = {}))
|
|
4105
|
-
|
|
4127
|
+
kr.call(t, r) && Yt(e, r, t[r]);
|
|
4106
4128
|
if (Ie)
|
|
4107
4129
|
for (var r of Ie(t))
|
|
4108
|
-
|
|
4130
|
+
Gr.call(t, r) && Yt(e, r, t[r]);
|
|
4109
4131
|
return e;
|
|
4110
4132
|
}, ue = (e, t) => {
|
|
4111
4133
|
var r = {};
|
|
4112
4134
|
for (var n in e)
|
|
4113
|
-
|
|
4135
|
+
kr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4114
4136
|
if (e != null && Ie)
|
|
4115
4137
|
for (var n of Ie(e))
|
|
4116
|
-
t.indexOf(n) < 0 &&
|
|
4138
|
+
t.indexOf(n) < 0 && Gr.call(e, n) && (r[n] = e[n]);
|
|
4117
4139
|
return r;
|
|
4118
4140
|
};
|
|
4119
4141
|
const de = (e, t) => {
|
|
@@ -4121,21 +4143,21 @@ const de = (e, t) => {
|
|
|
4121
4143
|
if (e in r && t in r[e])
|
|
4122
4144
|
return r[e][t];
|
|
4123
4145
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4124
|
-
},
|
|
4146
|
+
}, ms = De(
|
|
4125
4147
|
(e) => {
|
|
4126
4148
|
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4127
4149
|
if (r == null)
|
|
4128
4150
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4129
4151
|
return n && (i = de("number", n)), new Intl.NumberFormat(r, i);
|
|
4130
4152
|
}
|
|
4131
|
-
),
|
|
4153
|
+
), ps = De(
|
|
4132
4154
|
(e) => {
|
|
4133
4155
|
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4134
4156
|
if (r == null)
|
|
4135
4157
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4136
4158
|
return n ? i = de("date", n) : Object.keys(i).length === 0 && (i = de("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4137
4159
|
}
|
|
4138
|
-
),
|
|
4160
|
+
), ds = De(
|
|
4139
4161
|
(e) => {
|
|
4140
4162
|
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4141
4163
|
if (r == null)
|
|
@@ -4144,33 +4166,33 @@ const de = (e, t) => {
|
|
|
4144
4166
|
);
|
|
4145
4167
|
return n ? i = de("time", n) : Object.keys(i).length === 0 && (i = de("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4146
4168
|
}
|
|
4147
|
-
),
|
|
4169
|
+
), gs = (e = {}) => {
|
|
4148
4170
|
var t = e, {
|
|
4149
4171
|
locale: r = J()
|
|
4150
4172
|
} = t, n = ue(t, [
|
|
4151
4173
|
"locale"
|
|
4152
4174
|
]);
|
|
4153
|
-
return
|
|
4154
|
-
},
|
|
4175
|
+
return ms(dt({ locale: r }, n));
|
|
4176
|
+
}, bs = (e = {}) => {
|
|
4155
4177
|
var t = e, {
|
|
4156
4178
|
locale: r = J()
|
|
4157
4179
|
} = t, n = ue(t, [
|
|
4158
4180
|
"locale"
|
|
4159
4181
|
]);
|
|
4160
|
-
return
|
|
4161
|
-
},
|
|
4182
|
+
return ps(dt({ locale: r }, n));
|
|
4183
|
+
}, ys = (e = {}) => {
|
|
4162
4184
|
var t = e, {
|
|
4163
4185
|
locale: r = J()
|
|
4164
4186
|
} = t, n = ue(t, [
|
|
4165
4187
|
"locale"
|
|
4166
4188
|
]);
|
|
4167
|
-
return
|
|
4168
|
-
},
|
|
4189
|
+
return ds(dt({ locale: r }, n));
|
|
4190
|
+
}, vs = De(
|
|
4169
4191
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4170
|
-
(e, t = J()) => new
|
|
4192
|
+
(e, t = J()) => new Wi(e, t, se().formats, {
|
|
4171
4193
|
ignoreTag: se().ignoreTag
|
|
4172
4194
|
})
|
|
4173
|
-
),
|
|
4195
|
+
), _s = (e, t = {}) => {
|
|
4174
4196
|
var r, n, i, s;
|
|
4175
4197
|
let o = t;
|
|
4176
4198
|
typeof e == "object" && (o = e, e = o.id);
|
|
@@ -4183,7 +4205,7 @@ const de = (e, t) => {
|
|
|
4183
4205
|
throw new Error(
|
|
4184
4206
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4185
4207
|
);
|
|
4186
|
-
let u =
|
|
4208
|
+
let u = Mr(e, h);
|
|
4187
4209
|
if (!u)
|
|
4188
4210
|
u = (s = (i = (n = (r = se()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? s : e;
|
|
4189
4211
|
else if (typeof u != "string")
|
|
@@ -4194,7 +4216,7 @@ const de = (e, t) => {
|
|
|
4194
4216
|
return u;
|
|
4195
4217
|
let c = u;
|
|
4196
4218
|
try {
|
|
4197
|
-
c =
|
|
4219
|
+
c = vs(u, h).format(a);
|
|
4198
4220
|
} catch (p) {
|
|
4199
4221
|
p instanceof Error && console.warn(
|
|
4200
4222
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4202,25 +4224,25 @@ const de = (e, t) => {
|
|
|
4202
4224
|
);
|
|
4203
4225
|
}
|
|
4204
4226
|
return c;
|
|
4205
|
-
},
|
|
4206
|
-
oe([Z], () =>
|
|
4207
|
-
oe([Z], () =>
|
|
4208
|
-
oe([Z], () =>
|
|
4209
|
-
oe([Z, ae], () =>
|
|
4210
|
-
window.emWidgets = { topic:
|
|
4211
|
-
const
|
|
4212
|
-
function
|
|
4227
|
+
}, Es = (e, t) => ys(t).format(e), ws = (e, t) => bs(t).format(e), Ss = (e, t) => gs(t).format(e), xs = (e, t = J()) => Mr(e, t), Ts = oe([Z, ae], () => _s);
|
|
4228
|
+
oe([Z], () => Es);
|
|
4229
|
+
oe([Z], () => ws);
|
|
4230
|
+
oe([Z], () => Ss);
|
|
4231
|
+
oe([Z, ae], () => xs);
|
|
4232
|
+
window.emWidgets = { topic: Un };
|
|
4233
|
+
const Kt = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4234
|
+
function Hs({ withLocale: e, translations: t }) {
|
|
4213
4235
|
Z.subscribe((r) => {
|
|
4214
4236
|
r == null && (ae.set(t), Z.set(e));
|
|
4215
4237
|
});
|
|
4216
4238
|
}
|
|
4217
|
-
function
|
|
4218
|
-
|
|
4239
|
+
function er(e, t) {
|
|
4240
|
+
Dr(e, t);
|
|
4219
4241
|
}
|
|
4220
|
-
function
|
|
4242
|
+
function Bs(e) {
|
|
4221
4243
|
Z.set(e);
|
|
4222
4244
|
}
|
|
4223
|
-
const
|
|
4245
|
+
const tr = {
|
|
4224
4246
|
en: {
|
|
4225
4247
|
goToLoginButton: "Go To Login",
|
|
4226
4248
|
error: "We encountered an issue. Please go to Login to receive your SMS code."
|
|
@@ -4266,13 +4288,13 @@ const Yt = {
|
|
|
4266
4288
|
error: "We encountered an issue. Please go to Login to receive your SMS code."
|
|
4267
4289
|
}
|
|
4268
4290
|
};
|
|
4269
|
-
function
|
|
4291
|
+
function As(e, t) {
|
|
4270
4292
|
if (e) {
|
|
4271
4293
|
const r = document.createElement("style");
|
|
4272
4294
|
r.innerHTML = t, e.appendChild(r);
|
|
4273
4295
|
}
|
|
4274
4296
|
}
|
|
4275
|
-
function
|
|
4297
|
+
function Ps(e, t) {
|
|
4276
4298
|
const r = new URL(t);
|
|
4277
4299
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4278
4300
|
const i = document.createElement("style");
|
|
@@ -4281,7 +4303,7 @@ function Hs(e, t) {
|
|
|
4281
4303
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4282
4304
|
});
|
|
4283
4305
|
}
|
|
4284
|
-
function
|
|
4306
|
+
function Os(e, t, r) {
|
|
4285
4307
|
if (window.emMessageBus) {
|
|
4286
4308
|
const n = document.createElement("style");
|
|
4287
4309
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4301,7 +4323,7 @@ if (typeof window < "u") {
|
|
|
4301
4323
|
}
|
|
4302
4324
|
};
|
|
4303
4325
|
};
|
|
4304
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep1-
|
|
4326
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep1-DugGIjlq.js").then(({ default: t }) => {
|
|
4305
4327
|
!customElements.get("general-player-register-form-step1") && customElements.define("general-player-register-form-step1", t.element);
|
|
4306
4328
|
});
|
|
4307
4329
|
}
|
|
@@ -4317,7 +4339,7 @@ if (typeof window < "u") {
|
|
|
4317
4339
|
}
|
|
4318
4340
|
};
|
|
4319
4341
|
};
|
|
4320
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep2-
|
|
4342
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep2-p71LzdWX.js").then(({ default: t }) => {
|
|
4321
4343
|
!customElements.get("general-player-register-form-step2") && customElements.define("general-player-register-form-step2", t.element);
|
|
4322
4344
|
});
|
|
4323
4345
|
}
|
|
@@ -4333,7 +4355,7 @@ if (typeof window < "u") {
|
|
|
4333
4355
|
}
|
|
4334
4356
|
};
|
|
4335
4357
|
};
|
|
4336
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep3-
|
|
4358
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep3-8H6c1Q-J.js").then(({ default: t }) => {
|
|
4337
4359
|
!customElements.get("general-player-register-form-step3") && customElements.define("general-player-register-form-step3", t.element);
|
|
4338
4360
|
});
|
|
4339
4361
|
}
|
|
@@ -4349,85 +4371,85 @@ if (typeof window < "u") {
|
|
|
4349
4371
|
}
|
|
4350
4372
|
};
|
|
4351
4373
|
};
|
|
4352
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-
|
|
4374
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-gWDpjIxA.js").then(({ default: t }) => {
|
|
4353
4375
|
!customElements.get("general-player-sms-verification-form") && customElements.define("general-player-sms-verification-form", t.element);
|
|
4354
4376
|
});
|
|
4355
4377
|
}
|
|
4356
|
-
function
|
|
4357
|
-
|
|
4378
|
+
function Cs(e) {
|
|
4379
|
+
rn(e, "svelte-1ybwcf6", ".RegisterFormWrapper{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8));border-radius:15px}.RegisterFormContainer{padding:25px;height:404px;overflow-y:auto;scrollbar-color:var(--emw--color-gray-100, #E6E6E6) var(--emw--color-gray-50, #F9F8F8);scrollbar-width:thin}.RegisterFormContainer.RegisterFormContainerMobile{padding:40px 20px;height:65vh;overflow-y:scroll}.RegisterFormContainer::-webkit-scrollbar{width:6px}.RegisterFormContainer::-webkit-scrollbar-track{background:var(--emw--color-gray-50, #F9F8F8)}.RegisterFormContainer::-webkit-scrollbar-thumb{background:var(--emw--color-gray-100, #E6E6E6)}.RegisterSteps{display:flex;gap:10px;padding:20px 0 30px}.RegisterFirstStepDash,.RegisterSecondStepDash,.RegisterThirdStepDash{width:50px;height:2px;background-color:var(--emw--color-gray-100, #E6E6E6)}.RegisterStepDashColor{background-color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.RegisterStepNext{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));font-family:var(--emw--button-typography);width:100%;height:60px;padding:0;text-transform:uppercase;font-size:var(--emw--font-size-medium, 16px);cursor:pointer;margin-top:24px}.SMSErrorText{height:80%;display:flex;align-items:center}.RegisterConfirmation{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;margin-top:60px}.RegisterConfirmation svg{width:74px}.RegisterConfirmation .RegisterConfirmationTitle{color:var(--emw--color-valid, var(--emw--color-valid, #48952a));font-size:24px;font-weight:var(--emw--font-weight-normal, 400);text-transform:uppercase;margin-bottom:0}.RegisterConfirmation .RegisterConfirmationSubtitle{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-size:var(--emw--font-size-medium, 16px);line-height:19px;margin-bottom:24px}.RegisterConfirmation .RegisterConfirmationNote{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-size:var(--emw--font-size-medium, 16px);line-height:22px}.RegisterConfirmationGoToLogin{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));width:100%;height:60px;padding:0;text-transform:uppercase;font-size:var(--emw--font-size-medium, 16px);cursor:pointer;margin-top:24px}");
|
|
4358
4380
|
}
|
|
4359
|
-
function
|
|
4381
|
+
function Is(e) {
|
|
4360
4382
|
let t, r, n, i, s, o, a, h = (
|
|
4361
4383
|
/*showRegisterStepOne*/
|
|
4362
4384
|
(e[18] || /*showRegisterStepTwo*/
|
|
4363
4385
|
e[19] || /*showRegisterStepThree*/
|
|
4364
|
-
e[20]) &&
|
|
4386
|
+
e[20]) && rr(e)
|
|
4365
4387
|
), l = (
|
|
4366
4388
|
/*showRegisterStepOne*/
|
|
4367
|
-
e[18] &&
|
|
4389
|
+
e[18] && nr(e)
|
|
4368
4390
|
), u = (
|
|
4369
4391
|
/*showRegisterStepTwo*/
|
|
4370
|
-
e[19] &&
|
|
4392
|
+
e[19] && ir(e)
|
|
4371
4393
|
), c = (
|
|
4372
4394
|
/*showRegisterStepThree*/
|
|
4373
|
-
e[20] &&
|
|
4395
|
+
e[20] && sr(e)
|
|
4374
4396
|
);
|
|
4375
|
-
function p(b,
|
|
4397
|
+
function p(b, S) {
|
|
4376
4398
|
if (
|
|
4377
4399
|
/*smsverification*/
|
|
4378
4400
|
b[7] && /*showSmsVerification*/
|
|
4379
4401
|
b[21]
|
|
4380
4402
|
)
|
|
4381
|
-
return
|
|
4403
|
+
return Rs;
|
|
4382
4404
|
if (
|
|
4383
4405
|
/*smsSendApiFailed*/
|
|
4384
4406
|
b[31]
|
|
4385
4407
|
)
|
|
4386
|
-
return
|
|
4408
|
+
return Ls;
|
|
4387
4409
|
}
|
|
4388
4410
|
let y = p(e), g = y && y(e), d = (
|
|
4389
4411
|
/*showConfirmation*/
|
|
4390
|
-
e[22] &&
|
|
4412
|
+
e[22] && or(e)
|
|
4391
4413
|
);
|
|
4392
4414
|
return {
|
|
4393
4415
|
c() {
|
|
4394
|
-
t = B("div"), r = B("div"), h && h.c(), n = U(), l && l.c(), i = U(), u && u.c(), s = U(), c && c.c(), o = U(), g && g.c(), a = U(), d && d.c(),
|
|
4395
|
-
(e[35] ? "RegisterFormContainerMobile" : "")),
|
|
4416
|
+
t = B("div"), r = B("div"), h && h.c(), n = U(), l && l.c(), i = U(), u && u.c(), s = U(), c && c.c(), o = U(), g && g.c(), a = U(), d && d.c(), x(r, "class", "RegisterFormContainer " + /*isMobile*/
|
|
4417
|
+
(e[35] ? "RegisterFormContainerMobile" : "")), x(t, "class", "RegisterFormWrapper");
|
|
4396
4418
|
},
|
|
4397
|
-
m(b,
|
|
4398
|
-
F(b, t,
|
|
4419
|
+
m(b, S) {
|
|
4420
|
+
F(b, t, S), E(t, r), h && h.m(r, null), E(r, n), l && l.m(r, null), E(r, i), u && u.m(r, null), E(r, s), c && c.m(r, null), E(r, o), g && g.m(r, null), E(r, a), d && d.m(r, null);
|
|
4399
4421
|
},
|
|
4400
|
-
p(b,
|
|
4422
|
+
p(b, S) {
|
|
4401
4423
|
/*showRegisterStepOne*/
|
|
4402
4424
|
b[18] || /*showRegisterStepTwo*/
|
|
4403
4425
|
b[19] || /*showRegisterStepThree*/
|
|
4404
|
-
b[20] ? h ? h.p(b,
|
|
4405
|
-
b[18] ? l ? l.p(b,
|
|
4406
|
-
b[19] ? u ? u.p(b,
|
|
4407
|
-
b[20] ? c ? c.p(b,
|
|
4408
|
-
b[22] ? d ? d.p(b,
|
|
4426
|
+
b[20] ? h ? h.p(b, S) : (h = rr(b), h.c(), h.m(r, n)) : h && (h.d(1), h = null), /*showRegisterStepOne*/
|
|
4427
|
+
b[18] ? l ? l.p(b, S) : (l = nr(b), l.c(), l.m(r, i)) : l && (l.d(1), l = null), /*showRegisterStepTwo*/
|
|
4428
|
+
b[19] ? u ? u.p(b, S) : (u = ir(b), u.c(), u.m(r, s)) : u && (u.d(1), u = null), /*showRegisterStepThree*/
|
|
4429
|
+
b[20] ? c ? c.p(b, S) : (c = sr(b), c.c(), c.m(r, o)) : c && (c.d(1), c = null), y === (y = p(b)) && g ? g.p(b, S) : (g && g.d(1), g = y && y(b), g && (g.c(), g.m(r, a))), /*showConfirmation*/
|
|
4430
|
+
b[22] ? d ? d.p(b, S) : (d = or(b), d.c(), d.m(r, null)) : d && (d.d(1), d = null);
|
|
4409
4431
|
},
|
|
4410
4432
|
d(b) {
|
|
4411
|
-
b &&
|
|
4433
|
+
b && N(t), h && h.d(), l && l.d(), u && u.d(), c && c.d(), g && g.d(), d && d.d();
|
|
4412
4434
|
}
|
|
4413
4435
|
};
|
|
4414
4436
|
}
|
|
4415
|
-
function
|
|
4437
|
+
function rr(e) {
|
|
4416
4438
|
let t, r, n, i, s, o, a, h, l;
|
|
4417
4439
|
return {
|
|
4418
4440
|
c() {
|
|
4419
|
-
t = B("div"), r = B("div"), i = U(), s = B("div"), a = U(), h = B("div"),
|
|
4441
|
+
t = B("div"), r = B("div"), i = U(), s = B("div"), a = U(), h = B("div"), x(r, "class", n = "RegisterFirstStepDash " + /*showRegisterStepOne*/
|
|
4420
4442
|
(e[18] || !/*showRegisterStepOne*/
|
|
4421
4443
|
e[18] && /*showRegisterStepTwo*/
|
|
4422
4444
|
e[19] || !/*showRegisterStepOne*/
|
|
4423
4445
|
e[18] && !/*showRegisterStepTwo*/
|
|
4424
4446
|
e[19] && /*showRegisterStepThree*/
|
|
4425
|
-
e[20] ? "RegisterStepDashColor" : "")),
|
|
4447
|
+
e[20] ? "RegisterStepDashColor" : "")), x(s, "class", o = "RegisterSecondStepDash " + /*showRegisterStepTwo*/
|
|
4426
4448
|
(e[19] || !/*showRegisterStepOne*/
|
|
4427
4449
|
e[18] && !/*showRegisterStepTwo*/
|
|
4428
4450
|
e[19] && /*showRegisterStepThree*/
|
|
4429
|
-
e[20] ? "RegisterStepDashColor" : "")),
|
|
4430
|
-
(e[20] ? "RegisterStepDashColor" : "")),
|
|
4451
|
+
e[20] ? "RegisterStepDashColor" : "")), x(h, "class", l = "RegisterThirdStepDash " + /*showRegisterStepThree*/
|
|
4452
|
+
(e[20] ? "RegisterStepDashColor" : "")), x(t, "class", "RegisterSteps");
|
|
4431
4453
|
},
|
|
4432
4454
|
m(u, c) {
|
|
4433
4455
|
F(u, t, c), E(t, r), E(t, i), E(t, s), E(t, a), E(t, h), e[41](t);
|
|
@@ -4440,21 +4462,21 @@ function Kt(e) {
|
|
|
4440
4462
|
u[19] || !/*showRegisterStepOne*/
|
|
4441
4463
|
u[18] && !/*showRegisterStepTwo*/
|
|
4442
4464
|
u[19] && /*showRegisterStepThree*/
|
|
4443
|
-
u[20] ? "RegisterStepDashColor" : "")) &&
|
|
4465
|
+
u[20] ? "RegisterStepDashColor" : "")) && x(r, "class", n), c[0] & /*showRegisterStepTwo, showRegisterStepOne, showRegisterStepThree*/
|
|
4444
4466
|
1835008 && o !== (o = "RegisterSecondStepDash " + /*showRegisterStepTwo*/
|
|
4445
4467
|
(u[19] || !/*showRegisterStepOne*/
|
|
4446
4468
|
u[18] && !/*showRegisterStepTwo*/
|
|
4447
4469
|
u[19] && /*showRegisterStepThree*/
|
|
4448
|
-
u[20] ? "RegisterStepDashColor" : "")) &&
|
|
4470
|
+
u[20] ? "RegisterStepDashColor" : "")) && x(s, "class", o), c[0] & /*showRegisterStepThree*/
|
|
4449
4471
|
1048576 && l !== (l = "RegisterThirdStepDash " + /*showRegisterStepThree*/
|
|
4450
|
-
(u[20] ? "RegisterStepDashColor" : "")) &&
|
|
4472
|
+
(u[20] ? "RegisterStepDashColor" : "")) && x(h, "class", l);
|
|
4451
4473
|
},
|
|
4452
4474
|
d(u) {
|
|
4453
|
-
u &&
|
|
4475
|
+
u && N(t), e[41](null);
|
|
4454
4476
|
}
|
|
4455
4477
|
};
|
|
4456
4478
|
}
|
|
4457
|
-
function
|
|
4479
|
+
function nr(e) {
|
|
4458
4480
|
let t, r;
|
|
4459
4481
|
return {
|
|
4460
4482
|
c() {
|
|
@@ -4508,7 +4530,7 @@ function er(e) {
|
|
|
4508
4530
|
"mbsource",
|
|
4509
4531
|
/*mbsource*/
|
|
4510
4532
|
e[9]
|
|
4511
|
-
),
|
|
4533
|
+
), x(t, "class", "RegisterFormStep1");
|
|
4512
4534
|
},
|
|
4513
4535
|
m(n, i) {
|
|
4514
4536
|
F(n, t, i), E(t, r);
|
|
@@ -4577,11 +4599,11 @@ function er(e) {
|
|
|
4577
4599
|
);
|
|
4578
4600
|
},
|
|
4579
4601
|
d(n) {
|
|
4580
|
-
n &&
|
|
4602
|
+
n && N(t);
|
|
4581
4603
|
}
|
|
4582
4604
|
};
|
|
4583
4605
|
}
|
|
4584
|
-
function
|
|
4606
|
+
function ir(e) {
|
|
4585
4607
|
let t, r;
|
|
4586
4608
|
return {
|
|
4587
4609
|
c() {
|
|
@@ -4635,7 +4657,7 @@ function tr(e) {
|
|
|
4635
4657
|
"mbsource",
|
|
4636
4658
|
/*mbsource*/
|
|
4637
4659
|
e[9]
|
|
4638
|
-
),
|
|
4660
|
+
), x(t, "class", "RegisterFormStep2");
|
|
4639
4661
|
},
|
|
4640
4662
|
m(n, i) {
|
|
4641
4663
|
F(n, t, i), E(t, r);
|
|
@@ -4704,11 +4726,11 @@ function tr(e) {
|
|
|
4704
4726
|
);
|
|
4705
4727
|
},
|
|
4706
4728
|
d(n) {
|
|
4707
|
-
n &&
|
|
4729
|
+
n && N(t);
|
|
4708
4730
|
}
|
|
4709
4731
|
};
|
|
4710
4732
|
}
|
|
4711
|
-
function
|
|
4733
|
+
function sr(e) {
|
|
4712
4734
|
let t, r;
|
|
4713
4735
|
return {
|
|
4714
4736
|
c() {
|
|
@@ -4777,7 +4799,7 @@ function rr(e) {
|
|
|
4777
4799
|
"mbsource",
|
|
4778
4800
|
/*mbsource*/
|
|
4779
4801
|
e[9]
|
|
4780
|
-
),
|
|
4802
|
+
), x(t, "class", "RegisterFormStep3");
|
|
4781
4803
|
},
|
|
4782
4804
|
m(n, i) {
|
|
4783
4805
|
F(n, t, i), E(t, r);
|
|
@@ -4864,18 +4886,18 @@ function rr(e) {
|
|
|
4864
4886
|
);
|
|
4865
4887
|
},
|
|
4866
4888
|
d(n) {
|
|
4867
|
-
n &&
|
|
4889
|
+
n && N(t);
|
|
4868
4890
|
}
|
|
4869
4891
|
};
|
|
4870
4892
|
}
|
|
4871
|
-
function
|
|
4893
|
+
function Ls(e) {
|
|
4872
4894
|
let t, r = (
|
|
4873
4895
|
/*$_*/
|
|
4874
4896
|
e[34]("error") + ""
|
|
4875
4897
|
), n;
|
|
4876
4898
|
return {
|
|
4877
4899
|
c() {
|
|
4878
|
-
t = B("p"), n = $(r),
|
|
4900
|
+
t = B("p"), n = $(r), x(t, "class", "SMSErrorText");
|
|
4879
4901
|
},
|
|
4880
4902
|
m(i, s) {
|
|
4881
4903
|
F(i, t, s), E(t, n);
|
|
@@ -4886,22 +4908,22 @@ function Os(e) {
|
|
|
4886
4908
|
i[34]("error") + "") && K(n, r);
|
|
4887
4909
|
},
|
|
4888
4910
|
d(i) {
|
|
4889
|
-
i &&
|
|
4911
|
+
i && N(t);
|
|
4890
4912
|
}
|
|
4891
4913
|
};
|
|
4892
4914
|
}
|
|
4893
|
-
function
|
|
4915
|
+
function Rs(e) {
|
|
4894
4916
|
let t;
|
|
4895
4917
|
function r(s, o) {
|
|
4896
4918
|
return (
|
|
4897
4919
|
/*smsSendApiFailed*/
|
|
4898
|
-
s[31] ?
|
|
4920
|
+
s[31] ? Ms : Ns
|
|
4899
4921
|
);
|
|
4900
4922
|
}
|
|
4901
4923
|
let n = r(e), i = n(e);
|
|
4902
4924
|
return {
|
|
4903
4925
|
c() {
|
|
4904
|
-
i.c(), t =
|
|
4926
|
+
i.c(), t = on();
|
|
4905
4927
|
},
|
|
4906
4928
|
m(s, o) {
|
|
4907
4929
|
i.m(s, o), F(s, t, o);
|
|
@@ -4910,18 +4932,18 @@ function Cs(e) {
|
|
|
4910
4932
|
n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t.parentNode, t)));
|
|
4911
4933
|
},
|
|
4912
4934
|
d(s) {
|
|
4913
|
-
s &&
|
|
4935
|
+
s && N(t), i.d(s);
|
|
4914
4936
|
}
|
|
4915
4937
|
};
|
|
4916
4938
|
}
|
|
4917
|
-
function
|
|
4939
|
+
function Ms(e) {
|
|
4918
4940
|
let t, r = (
|
|
4919
4941
|
/*$_*/
|
|
4920
4942
|
e[34]("error") + ""
|
|
4921
4943
|
), n;
|
|
4922
4944
|
return {
|
|
4923
4945
|
c() {
|
|
4924
|
-
t = B("p"), n = $(r),
|
|
4946
|
+
t = B("p"), n = $(r), x(t, "class", "SMSErrorText");
|
|
4925
4947
|
},
|
|
4926
4948
|
m(i, s) {
|
|
4927
4949
|
F(i, t, s), E(t, n);
|
|
@@ -4932,11 +4954,11 @@ function Is(e) {
|
|
|
4932
4954
|
i[34]("error") + "") && K(n, r);
|
|
4933
4955
|
},
|
|
4934
4956
|
d(i) {
|
|
4935
|
-
i &&
|
|
4957
|
+
i && N(t);
|
|
4936
4958
|
}
|
|
4937
4959
|
};
|
|
4938
4960
|
}
|
|
4939
|
-
function
|
|
4961
|
+
function Ns(e) {
|
|
4940
4962
|
let t;
|
|
4941
4963
|
return {
|
|
4942
4964
|
c() {
|
|
@@ -5037,18 +5059,18 @@ function Ls(e) {
|
|
|
5037
5059
|
);
|
|
5038
5060
|
},
|
|
5039
5061
|
d(r) {
|
|
5040
|
-
r &&
|
|
5062
|
+
r && N(t);
|
|
5041
5063
|
}
|
|
5042
5064
|
};
|
|
5043
5065
|
}
|
|
5044
|
-
function
|
|
5045
|
-
let t, r, n, i, s, o, a, h, l, u, c, p, y, g, d, b,
|
|
5066
|
+
function or(e) {
|
|
5067
|
+
let t, r, n, i, s, o, a, h, l, u, c, p, y, g, d, b, S, O = (
|
|
5046
5068
|
/*$_*/
|
|
5047
5069
|
e[34]("goToLoginButton") + ""
|
|
5048
|
-
), P, R,
|
|
5070
|
+
), P, R, M;
|
|
5049
5071
|
return {
|
|
5050
5072
|
c() {
|
|
5051
|
-
t = B("div"), r =
|
|
5073
|
+
t = B("div"), r = Se("svg"), n = Se("defs"), i = Se("style"), s = $(".a{fill:#var(--emw--color-valid, var(--emw--color-green, #48952a));}"), o = Se("path"), a = U(), h = B("h2"), l = $(
|
|
5052
5074
|
/*accountCreationTitle*/
|
|
5053
5075
|
e[23]
|
|
5054
5076
|
), u = U(), c = B("p"), p = $(
|
|
@@ -5057,11 +5079,11 @@ function nr(e) {
|
|
|
5057
5079
|
), y = U(), g = B("p"), d = $(
|
|
5058
5080
|
/*accountCreationMessage*/
|
|
5059
5081
|
e[25]
|
|
5060
|
-
), b = U(),
|
|
5082
|
+
), b = U(), S = B("button"), P = $(O), x(o, "class", "a"), x(o, "d", "M29.325,51,0,21.675l5.95-5.95,23.375,22.95L68,0l5.95,5.95Z"), x(r, "xmlns", "http://www.w3.org/2000/svg"), x(r, "viewBox", "0 0 73.95 51"), x(h, "class", "RegisterConfirmationTitle"), x(c, "class", "RegisterConfirmationSubtitle"), x(g, "class", "RegisterConfirmationNote"), x(S, "class", "RegisterConfirmationGoToLogin"), x(t, "class", "RegisterConfirmation");
|
|
5061
5083
|
},
|
|
5062
5084
|
m(C, D) {
|
|
5063
|
-
F(C, t, D), E(t, r), E(r, n), E(n, i), E(i, s), E(r, o), E(t, a), E(t, h), E(h, l), E(t, u), E(t, c), E(c, p), E(t, y), E(t, g), E(g, d), E(t, b), E(t,
|
|
5064
|
-
|
|
5085
|
+
F(C, t, D), E(t, r), E(r, n), E(n, i), E(i, s), E(r, o), E(t, a), E(t, h), E(h, l), E(t, u), E(t, c), E(c, p), E(t, y), E(t, g), E(g, d), E(t, b), E(t, S), E(S, P), R || (M = an(
|
|
5086
|
+
S,
|
|
5065
5087
|
"click",
|
|
5066
5088
|
/*switchToLogin*/
|
|
5067
5089
|
e[36]
|
|
@@ -5088,14 +5110,14 @@ function nr(e) {
|
|
|
5088
5110
|
C[34]("goToLoginButton") + "") && K(P, O);
|
|
5089
5111
|
},
|
|
5090
5112
|
d(C) {
|
|
5091
|
-
C &&
|
|
5113
|
+
C && N(t), R = !1, M();
|
|
5092
5114
|
}
|
|
5093
5115
|
};
|
|
5094
5116
|
}
|
|
5095
|
-
function
|
|
5117
|
+
function Ds(e) {
|
|
5096
5118
|
let t;
|
|
5097
5119
|
function r(s, o) {
|
|
5098
|
-
return
|
|
5120
|
+
return Is;
|
|
5099
5121
|
}
|
|
5100
5122
|
let i = r()(e);
|
|
5101
5123
|
return {
|
|
@@ -5111,48 +5133,48 @@ function Rs(e) {
|
|
|
5111
5133
|
i: k,
|
|
5112
5134
|
o: k,
|
|
5113
5135
|
d(s) {
|
|
5114
|
-
s &&
|
|
5136
|
+
s && N(t), i.d(), e[42](null);
|
|
5115
5137
|
}
|
|
5116
5138
|
};
|
|
5117
5139
|
}
|
|
5118
|
-
let
|
|
5119
|
-
function
|
|
5140
|
+
let Fs = "Please use this code {0} to activate your account";
|
|
5141
|
+
function Us(e, t, r) {
|
|
5120
5142
|
let n;
|
|
5121
|
-
|
|
5122
|
-
let { endpoint: i = "" } = t, { cmsendpoint: s = "" } = t, { env: o = "" } = t, { session: a = "" } = t, { trackedanalyticsdata: h = "" } = t, { captchakey: l = "" } = t, { lang: u = "en" } = t, { licenseyears: c = "" } = t, { disabledfields: p = "" } = t, { defaultoptions: y = "" } = t, { smsverification: g = "false" } = t, { simplepasswordvalidation: d = "false" } = t, { userroles: b = "" } = t, { mbsource:
|
|
5123
|
-
|
|
5124
|
-
const
|
|
5143
|
+
tn(e, Ts, (f) => r(34, n = f));
|
|
5144
|
+
let { endpoint: i = "" } = t, { cmsendpoint: s = "" } = t, { env: o = "" } = t, { session: a = "" } = t, { trackedanalyticsdata: h = "" } = t, { captchakey: l = "" } = t, { lang: u = "en" } = t, { licenseyears: c = "" } = t, { disabledfields: p = "" } = t, { defaultoptions: y = "" } = t, { smsverification: g = "false" } = t, { simplepasswordvalidation: d = "false" } = t, { userroles: b = "" } = t, { mbsource: S } = t, { clientstyling: O = "" } = t, { clientstylingurl: P = "" } = t, { translationurl: R = "" } = t, { savecredentials: M = "" } = t, { custominputtextswitch: C = "false" } = t, { personalidlength: D = "13" } = t, G, gt = "", Fe = !0, le = !1, be = !1, Ue = !1, ke = !1, ye, bt = !1, yt = "", vt = "", _t = "", Et = window.navigator.userAgent, jr = Kt(Et) !== "PC", j = {}, wt = !1, St = !1, Ge = "false", xt = "false", Tt = "false", Ht = "false", Bt = "", At, ve = !1, Pt, _e;
|
|
5145
|
+
Hs({ withLocale: "en", translations: {} });
|
|
5146
|
+
const $r = () => {
|
|
5125
5147
|
fetch(R).then((H) => H.json()).then((H) => {
|
|
5126
5148
|
Object.keys(H).forEach((I) => {
|
|
5127
|
-
|
|
5149
|
+
er(I, H[I]);
|
|
5128
5150
|
});
|
|
5129
5151
|
}).catch((H) => {
|
|
5130
5152
|
console.log(H);
|
|
5131
5153
|
});
|
|
5132
5154
|
};
|
|
5133
|
-
Object.keys(
|
|
5134
|
-
|
|
5155
|
+
Object.keys(tr).forEach((f) => {
|
|
5156
|
+
er(f, tr[f]);
|
|
5135
5157
|
});
|
|
5136
|
-
const
|
|
5158
|
+
const Vr = () => {
|
|
5137
5159
|
fetch(`${i}/v1/player/consentRequirements`).then((f) => f.json()).then((f) => {
|
|
5138
5160
|
f.items.length > 0 ? (r(26, Ge = "true"), f.items.forEach((H) => {
|
|
5139
5161
|
switch (H.tagCode) {
|
|
5140
5162
|
case "termsandconditions":
|
|
5141
|
-
r(27,
|
|
5163
|
+
r(27, xt = "true");
|
|
5142
5164
|
break;
|
|
5143
5165
|
case "sms":
|
|
5144
|
-
r(28,
|
|
5166
|
+
r(28, Tt = "true");
|
|
5145
5167
|
break;
|
|
5146
5168
|
case "emailmarketing":
|
|
5147
|
-
r(29,
|
|
5169
|
+
r(29, Ht = "true");
|
|
5148
5170
|
break;
|
|
5149
5171
|
}
|
|
5150
5172
|
})) : r(26, Ge = "false");
|
|
5151
5173
|
});
|
|
5152
|
-
},
|
|
5153
|
-
let f = new URL(`${s}/${u}/login-register-content?env=${o}`), H =
|
|
5174
|
+
}, Xr = () => {
|
|
5175
|
+
let f = new URL(`${s}/${u}/login-register-content?env=${o}`), H = Kt(Et);
|
|
5154
5176
|
H && (H === "PC" ? f.searchParams.append("device", "dk") : f.searchParams.append("device", "mtWeb")), fetch(f.href).then((I) => I.json()).then((I) => {
|
|
5155
|
-
ye = I.registerData, r(23,
|
|
5177
|
+
ye = I.registerData, r(23, yt = ye.title), r(24, vt = ye.subtitle), r(25, _t = ye.content);
|
|
5156
5178
|
}).catch((I) => {
|
|
5157
5179
|
console.error(I);
|
|
5158
5180
|
});
|
|
@@ -5160,19 +5182,19 @@ function Ms(e, t, r) {
|
|
|
5160
5182
|
_e.scrollIntoView();
|
|
5161
5183
|
}, he = (f) => {
|
|
5162
5184
|
for (const H in f)
|
|
5163
|
-
j[H] = f[H], H === "mobile" && r(32,
|
|
5185
|
+
j[H] = f[H], H === "mobile" && r(32, Pt = `${f[H].prefix}${f[H].number}`);
|
|
5164
5186
|
j.affiliateMarker = j.promoCode ? j.promoCode : h ?? "";
|
|
5165
|
-
},
|
|
5187
|
+
}, Ot = (f) => {
|
|
5166
5188
|
if (f.data)
|
|
5167
5189
|
switch (f.data.type) {
|
|
5168
5190
|
case "RegisterStepOne":
|
|
5169
|
-
he(f.data.registerStepOneData), Ee(), r(18, Fe = !1), r(19, le = !0),
|
|
5191
|
+
he(f.data.registerStepOneData), Ee(), r(18, Fe = !1), r(19, le = !0), wt == !1 ? wt = !0 : window.postMessage({ type: "StepTwoDataBackup", userData: j }, window.location.href);
|
|
5170
5192
|
break;
|
|
5171
5193
|
case "RegisterStepTwo":
|
|
5172
|
-
he(f.data.registerStepTwoData), Ee(), r(19, le = !1), r(20, be = !0),
|
|
5194
|
+
he(f.data.registerStepTwoData), Ee(), r(19, le = !1), r(20, be = !0), St == !1 ? St = !0 : window.postMessage({ type: "StepThreeDataBackup", userData: j }, window.location.href);
|
|
5173
5195
|
break;
|
|
5174
5196
|
case "RegisterStepThree":
|
|
5175
|
-
he(f.data.registerStepThreeData),
|
|
5197
|
+
he(f.data.registerStepThreeData), zr(j);
|
|
5176
5198
|
break;
|
|
5177
5199
|
case "SmsHasBeenValidated":
|
|
5178
5200
|
r(22, ke = !0), r(21, Ue = !1);
|
|
@@ -5184,9 +5206,9 @@ function Ms(e, t, r) {
|
|
|
5184
5206
|
he(f.data.registerStepThreeData), Ee(), r(19, le = !0), r(20, be = !1), window.postMessage({ type: "StepTwoDataBackup", userData: j }, window.location.href);
|
|
5185
5207
|
break;
|
|
5186
5208
|
}
|
|
5187
|
-
},
|
|
5209
|
+
}, Wr = () => {
|
|
5188
5210
|
typeof gtag == "function" && gtag("event", "Register", { context: "GeneralPlayerRegisterForm" });
|
|
5189
|
-
},
|
|
5211
|
+
}, zr = async (f) => {
|
|
5190
5212
|
f.language = u;
|
|
5191
5213
|
let H = {
|
|
5192
5214
|
method: "PUT",
|
|
@@ -5197,15 +5219,15 @@ function Ms(e, t, r) {
|
|
|
5197
5219
|
},
|
|
5198
5220
|
body: JSON.stringify(f)
|
|
5199
5221
|
}, I = await fetch(`${i}/v1/player/register`, H), W = await I.json();
|
|
5200
|
-
I.ok ? (r(20, be = !1), g === "false" ? r(22, ke = !0) : (r(17,
|
|
5222
|
+
I.ok ? (r(20, be = !1), g === "false" ? r(22, ke = !0) : (r(17, gt = W.id), Zr(f, W.id)), f.username, f.password, Wr()) : (Bt = W.error.substring(W.error.indexOf("errorMessage") + 13, W.error.length), bt = !0, window.postMessage(
|
|
5201
5223
|
{
|
|
5202
5224
|
type: "ShowRegistrationError",
|
|
5203
|
-
showError:
|
|
5204
|
-
error:
|
|
5225
|
+
showError: bt,
|
|
5226
|
+
error: Bt
|
|
5205
5227
|
},
|
|
5206
5228
|
window.location.href
|
|
5207
5229
|
));
|
|
5208
|
-
},
|
|
5230
|
+
}, Zr = async (f, H) => {
|
|
5209
5231
|
localStorage.setItem("smsTimer", JSON.stringify(Math.floor(Date.now() / 1e3)));
|
|
5210
5232
|
try {
|
|
5211
5233
|
const I = await fetch(`${i}/v1/player/sms/token`, {
|
|
@@ -5216,53 +5238,53 @@ function Ms(e, t, r) {
|
|
|
5216
5238
|
},
|
|
5217
5239
|
body: JSON.stringify({
|
|
5218
5240
|
userId: H,
|
|
5219
|
-
messageTemplate:
|
|
5241
|
+
messageTemplate: Fs,
|
|
5220
5242
|
destination: `${f.mobile.prefix}${f.mobile.number}`
|
|
5221
5243
|
})
|
|
5222
5244
|
}), W = await I.json();
|
|
5223
5245
|
if (I.ok) {
|
|
5224
|
-
r(30,
|
|
5225
|
-
let
|
|
5246
|
+
r(30, At = W.id);
|
|
5247
|
+
let Gs = W.maxValidationAttempts;
|
|
5226
5248
|
r(21, Ue = !0), r(31, ve = !1);
|
|
5227
5249
|
} else
|
|
5228
5250
|
throw r(31, ve = !0), new Error("Failed to fetch");
|
|
5229
5251
|
} catch (I) {
|
|
5230
5252
|
r(31, ve = !0), console.error(I);
|
|
5231
5253
|
}
|
|
5232
|
-
},
|
|
5254
|
+
}, Jr = () => {
|
|
5233
5255
|
p.split(",");
|
|
5234
|
-
},
|
|
5256
|
+
}, qr = () => {
|
|
5235
5257
|
window.postMessage({ type: "ToLogin" }, window.location.href);
|
|
5236
|
-
},
|
|
5237
|
-
|
|
5258
|
+
}, Qr = () => {
|
|
5259
|
+
Bs(u);
|
|
5238
5260
|
};
|
|
5239
|
-
|
|
5240
|
-
window.removeEventListener("message",
|
|
5261
|
+
fn(() => (window.addEventListener("message", Ot, !1), () => {
|
|
5262
|
+
window.removeEventListener("message", Ot);
|
|
5241
5263
|
}));
|
|
5242
|
-
function
|
|
5264
|
+
function Yr(f) {
|
|
5243
5265
|
Oe[f ? "unshift" : "push"](() => {
|
|
5244
5266
|
_e = f, r(33, _e);
|
|
5245
5267
|
});
|
|
5246
5268
|
}
|
|
5247
|
-
function
|
|
5269
|
+
function Kr(f) {
|
|
5248
5270
|
Oe[f ? "unshift" : "push"](() => {
|
|
5249
5271
|
G = f, r(16, G);
|
|
5250
5272
|
});
|
|
5251
5273
|
}
|
|
5252
5274
|
return e.$$set = (f) => {
|
|
5253
|
-
"endpoint" in f && r(0, i = f.endpoint), "cmsendpoint" in f && r(37, s = f.cmsendpoint), "env" in f && r(38, o = f.env), "session" in f && r(1, a = f.session), "trackedanalyticsdata" in f && r(39, h = f.trackedanalyticsdata), "captchakey" in f && r(2, l = f.captchakey), "lang" in f && r(3, u = f.lang), "licenseyears" in f && r(4, c = f.licenseyears), "disabledfields" in f && r(5, p = f.disabledfields), "defaultoptions" in f && r(6, y = f.defaultoptions), "smsverification" in f && r(7, g = f.smsverification), "simplepasswordvalidation" in f && r(8, d = f.simplepasswordvalidation), "userroles" in f && r(40, b = f.userroles), "mbsource" in f && r(9,
|
|
5275
|
+
"endpoint" in f && r(0, i = f.endpoint), "cmsendpoint" in f && r(37, s = f.cmsendpoint), "env" in f && r(38, o = f.env), "session" in f && r(1, a = f.session), "trackedanalyticsdata" in f && r(39, h = f.trackedanalyticsdata), "captchakey" in f && r(2, l = f.captchakey), "lang" in f && r(3, u = f.lang), "licenseyears" in f && r(4, c = f.licenseyears), "disabledfields" in f && r(5, p = f.disabledfields), "defaultoptions" in f && r(6, y = f.defaultoptions), "smsverification" in f && r(7, g = f.smsverification), "simplepasswordvalidation" in f && r(8, d = f.simplepasswordvalidation), "userroles" in f && r(40, b = f.userroles), "mbsource" in f && r(9, S = f.mbsource), "clientstyling" in f && r(10, O = f.clientstyling), "clientstylingurl" in f && r(11, P = f.clientstylingurl), "translationurl" in f && r(12, R = f.translationurl), "savecredentials" in f && r(13, M = f.savecredentials), "custominputtextswitch" in f && r(14, C = f.custominputtextswitch), "personalidlength" in f && r(15, D = f.personalidlength);
|
|
5254
5276
|
}, e.$$.update = () => {
|
|
5255
5277
|
e.$$.dirty[0] & /*endpoint*/
|
|
5256
|
-
1 && i &&
|
|
5278
|
+
1 && i && Vr(), e.$$.dirty[0] & /*lang*/
|
|
5257
5279
|
8 | e.$$.dirty[1] & /*cmsendpoint, env, userroles*/
|
|
5258
|
-
704 && s && u && o && b &&
|
|
5280
|
+
704 && s && u && o && b && Xr(), e.$$.dirty[0] & /*playerid, session*/
|
|
5259
5281
|
131074, e.$$.dirty[0] & /*lang*/
|
|
5260
|
-
8 && u &&
|
|
5261
|
-
32 && p &&
|
|
5262
|
-
66560 && O && G &&
|
|
5263
|
-
67584 && P && G &&
|
|
5264
|
-
66048 &&
|
|
5265
|
-
4096 && R &&
|
|
5282
|
+
8 && u && Qr(), e.$$.dirty[0] & /*disabledfields*/
|
|
5283
|
+
32 && p && Jr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5284
|
+
66560 && O && G && As(G, O), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5285
|
+
67584 && P && G && Ps(G, P), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5286
|
+
66048 && S && G && Os(G, `${S}.Style`), e.$$.dirty[0] & /*translationurl*/
|
|
5287
|
+
4096 && R && $r();
|
|
5266
5288
|
}, [
|
|
5267
5289
|
i,
|
|
5268
5290
|
a,
|
|
@@ -5273,50 +5295,50 @@ function Ms(e, t, r) {
|
|
|
5273
5295
|
y,
|
|
5274
5296
|
g,
|
|
5275
5297
|
d,
|
|
5276
|
-
|
|
5298
|
+
S,
|
|
5277
5299
|
O,
|
|
5278
5300
|
P,
|
|
5279
5301
|
R,
|
|
5280
|
-
|
|
5302
|
+
M,
|
|
5281
5303
|
C,
|
|
5282
5304
|
D,
|
|
5283
5305
|
G,
|
|
5284
|
-
|
|
5306
|
+
gt,
|
|
5285
5307
|
Fe,
|
|
5286
5308
|
le,
|
|
5287
5309
|
be,
|
|
5288
5310
|
Ue,
|
|
5289
5311
|
ke,
|
|
5290
|
-
|
|
5291
|
-
|
|
5292
|
-
|
|
5312
|
+
yt,
|
|
5313
|
+
vt,
|
|
5314
|
+
_t,
|
|
5293
5315
|
Ge,
|
|
5294
|
-
Et,
|
|
5295
|
-
wt,
|
|
5296
5316
|
xt,
|
|
5297
5317
|
Tt,
|
|
5298
|
-
ve,
|
|
5299
5318
|
Ht,
|
|
5319
|
+
At,
|
|
5320
|
+
ve,
|
|
5321
|
+
Pt,
|
|
5300
5322
|
_e,
|
|
5301
5323
|
n,
|
|
5302
|
-
|
|
5303
|
-
|
|
5324
|
+
jr,
|
|
5325
|
+
qr,
|
|
5304
5326
|
s,
|
|
5305
5327
|
o,
|
|
5306
5328
|
h,
|
|
5307
5329
|
b,
|
|
5308
|
-
|
|
5309
|
-
|
|
5330
|
+
Yr,
|
|
5331
|
+
Kr
|
|
5310
5332
|
];
|
|
5311
5333
|
}
|
|
5312
|
-
class
|
|
5334
|
+
class ks extends Sn {
|
|
5313
5335
|
constructor(t) {
|
|
5314
|
-
super(),
|
|
5336
|
+
super(), En(
|
|
5315
5337
|
this,
|
|
5316
5338
|
t,
|
|
5317
|
-
|
|
5318
|
-
|
|
5319
|
-
|
|
5339
|
+
Us,
|
|
5340
|
+
Ds,
|
|
5341
|
+
ur,
|
|
5320
5342
|
{
|
|
5321
5343
|
endpoint: 0,
|
|
5322
5344
|
cmsendpoint: 37,
|
|
@@ -5339,7 +5361,7 @@ class Ds extends vn {
|
|
|
5339
5361
|
custominputtextswitch: 14,
|
|
5340
5362
|
personalidlength: 15
|
|
5341
5363
|
},
|
|
5342
|
-
|
|
5364
|
+
Cs,
|
|
5343
5365
|
[-1, -1, -1]
|
|
5344
5366
|
);
|
|
5345
5367
|
}
|
|
@@ -5464,43 +5486,43 @@ class Ds extends vn {
|
|
|
5464
5486
|
this.$$set({ personalidlength: t }), A();
|
|
5465
5487
|
}
|
|
5466
5488
|
}
|
|
5467
|
-
|
|
5489
|
+
wn(ks, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, trackedanalyticsdata: {}, captchakey: {}, lang: {}, licenseyears: {}, disabledfields: {}, defaultoptions: {}, smsverification: {}, simplepasswordvalidation: {}, userroles: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, custominputtextswitch: {}, personalidlength: {} }, [], [], !0);
|
|
5468
5490
|
export {
|
|
5469
5491
|
Z as $,
|
|
5470
|
-
|
|
5471
|
-
|
|
5472
|
-
|
|
5473
|
-
|
|
5474
|
-
|
|
5475
|
-
|
|
5492
|
+
Qe as A,
|
|
5493
|
+
Xs as B,
|
|
5494
|
+
zs as C,
|
|
5495
|
+
$s as D,
|
|
5496
|
+
on as E,
|
|
5497
|
+
Ws as F,
|
|
5476
5498
|
ae as G,
|
|
5477
|
-
|
|
5478
|
-
|
|
5479
|
-
|
|
5480
|
-
|
|
5481
|
-
|
|
5482
|
-
|
|
5483
|
-
|
|
5484
|
-
|
|
5499
|
+
js as H,
|
|
5500
|
+
ks as I,
|
|
5501
|
+
Sn as S,
|
|
5502
|
+
Dr as a,
|
|
5503
|
+
rn as b,
|
|
5504
|
+
wn as c,
|
|
5505
|
+
U as d,
|
|
5506
|
+
B as e,
|
|
5485
5507
|
A as f,
|
|
5486
|
-
|
|
5487
|
-
|
|
5488
|
-
|
|
5489
|
-
|
|
5490
|
-
|
|
5491
|
-
|
|
5492
|
-
|
|
5508
|
+
x as g,
|
|
5509
|
+
F as h,
|
|
5510
|
+
En as i,
|
|
5511
|
+
E as j,
|
|
5512
|
+
Vs as k,
|
|
5513
|
+
an as l,
|
|
5514
|
+
K as m,
|
|
5493
5515
|
k as n,
|
|
5494
|
-
|
|
5495
|
-
|
|
5496
|
-
|
|
5516
|
+
N as o,
|
|
5517
|
+
tn as p,
|
|
5518
|
+
fn as q,
|
|
5497
5519
|
ge as r,
|
|
5498
|
-
|
|
5520
|
+
ur as s,
|
|
5499
5521
|
$ as t,
|
|
5500
|
-
|
|
5501
|
-
|
|
5502
|
-
|
|
5503
|
-
|
|
5504
|
-
|
|
5505
|
-
|
|
5522
|
+
Ps as u,
|
|
5523
|
+
Os as v,
|
|
5524
|
+
Oe as w,
|
|
5525
|
+
As as x,
|
|
5526
|
+
Se as y,
|
|
5527
|
+
Ts as z
|
|
5506
5528
|
};
|