@everymatrix/general-player-register-form-nd 1.77.20 → 1.77.22
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-B_yNo_03.js → GeneralPlayerRegisterFormNd-DC5YFwAY.js} +950 -907
- package/components/{GeneralPlayerRegisterFormNd-d2RyM7RJ.js → GeneralPlayerRegisterFormNd-DFOeIajF.js} +967 -924
- package/components/GeneralPlayerRegisterFormNd-DjCemZTL.cjs +18 -0
- package/components/{GeneralPlayerRegisterFormStep1-DgkTT6q5.js → GeneralPlayerRegisterFormStep1-B8x2npcd.js} +1 -1
- package/components/{GeneralPlayerRegisterFormStep1-Dl74r99o.cjs → GeneralPlayerRegisterFormStep1-DSOyErgo.cjs} +1 -1
- package/components/{GeneralPlayerRegisterFormStep1-DRTmB8bB.js → GeneralPlayerRegisterFormStep1-FnS-hDMY.js} +1 -1
- package/components/{GeneralPlayerRegisterFormStep2-COwqy31Y.js → GeneralPlayerRegisterFormStep2-ALcjJ8nv.js} +1 -1
- package/components/{GeneralPlayerRegisterFormStep2-OdwV6ech.js → GeneralPlayerRegisterFormStep2-B1mLv9cm.js} +1 -1
- package/components/{GeneralPlayerRegisterFormStep2-TaKDtIPa.cjs → GeneralPlayerRegisterFormStep2-DWAnaeOm.cjs} +1 -1
- package/components/{GeneralPlayerRegisterFormStep3-BzcoWcWI.cjs → GeneralPlayerRegisterFormStep3-B842736j.cjs} +1 -1
- package/components/{GeneralPlayerRegisterFormStep3-CcmUSeKh.js → GeneralPlayerRegisterFormStep3-BrmjFpUQ.js} +1 -1
- package/components/{GeneralPlayerRegisterFormStep3-CFuQs8kp.js → GeneralPlayerRegisterFormStep3-DL4phv_H.js} +1 -1
- package/components/{GeneralPlayerSmsVerificationForm-DNxFycvU.js → GeneralPlayerSmsVerificationForm-BdCceV0k.js} +1 -1
- package/components/{GeneralPlayerSmsVerificationForm-BnpFKNSH.js → GeneralPlayerSmsVerificationForm-CMoVD2PA.js} +1 -1
- package/components/{GeneralPlayerSmsVerificationForm-GFOuaQYS.cjs → GeneralPlayerSmsVerificationForm-CuVBltwG.cjs} +1 -1
- 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-Da2DK1V-.cjs +0 -18
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
function k() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function lr(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function Lt() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
|
-
function
|
|
10
|
-
e.forEach(
|
|
9
|
+
function de(e) {
|
|
10
|
+
e.forEach(lr);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function dt(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function hr(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 Vs(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 tn(e) {
|
|
23
23
|
return Object.keys(e).length === 0;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function fr(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 rn(e, t, r) {
|
|
35
|
+
e.$$.on_destroy.push(fr(t, r));
|
|
36
36
|
}
|
|
37
37
|
function E(e, t) {
|
|
38
38
|
e.appendChild(t);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
41
|
-
const n =
|
|
40
|
+
function nn(e, t, r) {
|
|
41
|
+
const n = sn(e);
|
|
42
42
|
if (!n.getElementById(t)) {
|
|
43
|
-
const i =
|
|
44
|
-
i.id = t, i.textContent = r,
|
|
43
|
+
const i = H("style");
|
|
44
|
+
i.id = t, i.textContent = r, on(n, i);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function sn(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 on(e, t) {
|
|
58
58
|
return E(
|
|
59
59
|
/** @type {Document} */
|
|
60
60
|
e.head || e,
|
|
@@ -67,46 +67,46 @@ function F(e, t, r) {
|
|
|
67
67
|
function M(e) {
|
|
68
68
|
e.parentNode && e.parentNode.removeChild(e);
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function Xs(e, t) {
|
|
71
71
|
for (let r = 0; r < e.length; r += 1)
|
|
72
72
|
e[r] && e[r].d(t);
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function H(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
|
-
function
|
|
80
|
+
function V(e) {
|
|
81
81
|
return document.createTextNode(e);
|
|
82
82
|
}
|
|
83
83
|
function U() {
|
|
84
|
-
return
|
|
84
|
+
return V(" ");
|
|
85
85
|
}
|
|
86
|
-
function
|
|
87
|
-
return
|
|
86
|
+
function an() {
|
|
87
|
+
return V("");
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function un(e, t, r, n) {
|
|
90
90
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
91
91
|
}
|
|
92
92
|
function S(e, t, r) {
|
|
93
93
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function p(e, t, r) {
|
|
96
96
|
const n = t.toLowerCase();
|
|
97
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 : S(e, t, r);
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function ln(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 Ws(e, t) {
|
|
107
107
|
e.value = t ?? "";
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function zs(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 Zs(e) {
|
|
120
120
|
const t = e.querySelector(":checked");
|
|
121
121
|
return t && t.__value;
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function hn(e) {
|
|
124
124
|
const t = {};
|
|
125
125
|
return e.childNodes.forEach(
|
|
126
126
|
/** @param {Element} node */
|
|
@@ -129,90 +129,90 @@ function sn(e) {
|
|
|
129
129
|
}
|
|
130
130
|
), t;
|
|
131
131
|
}
|
|
132
|
-
let
|
|
133
|
-
function
|
|
134
|
-
|
|
132
|
+
let ce;
|
|
133
|
+
function fe(e) {
|
|
134
|
+
ce = e;
|
|
135
135
|
}
|
|
136
|
-
function
|
|
137
|
-
if (!
|
|
136
|
+
function fn() {
|
|
137
|
+
if (!ce)
|
|
138
138
|
throw new Error("Function called outside component initialization");
|
|
139
|
-
return
|
|
139
|
+
return ce;
|
|
140
140
|
}
|
|
141
|
-
function
|
|
142
|
-
|
|
141
|
+
function cn(e) {
|
|
142
|
+
fn().$$.on_mount.push(e);
|
|
143
143
|
}
|
|
144
144
|
const Y = [], Oe = [];
|
|
145
145
|
let ee = [];
|
|
146
|
-
const
|
|
147
|
-
let
|
|
148
|
-
function
|
|
149
|
-
|
|
146
|
+
const Rt = [], pn = /* @__PURE__ */ Promise.resolve();
|
|
147
|
+
let Ye = !1;
|
|
148
|
+
function mn() {
|
|
149
|
+
Ye || (Ye = !0, pn.then(B));
|
|
150
150
|
}
|
|
151
|
-
function
|
|
151
|
+
function Ke(e) {
|
|
152
152
|
ee.push(e);
|
|
153
153
|
}
|
|
154
|
-
const
|
|
154
|
+
const Ve = /* @__PURE__ */ new Set();
|
|
155
155
|
let q = 0;
|
|
156
|
-
function
|
|
156
|
+
function B() {
|
|
157
157
|
if (q !== 0)
|
|
158
158
|
return;
|
|
159
|
-
const e =
|
|
159
|
+
const e = ce;
|
|
160
160
|
do {
|
|
161
161
|
try {
|
|
162
162
|
for (; q < Y.length; ) {
|
|
163
163
|
const t = Y[q];
|
|
164
|
-
q++,
|
|
164
|
+
q++, fe(t), dn(t.$$);
|
|
165
165
|
}
|
|
166
166
|
} catch (t) {
|
|
167
167
|
throw Y.length = 0, q = 0, t;
|
|
168
168
|
}
|
|
169
|
-
for (
|
|
169
|
+
for (fe(null), Y.length = 0, q = 0; Oe.length; )
|
|
170
170
|
Oe.pop()();
|
|
171
171
|
for (let t = 0; t < ee.length; t += 1) {
|
|
172
172
|
const r = ee[t];
|
|
173
|
-
|
|
173
|
+
Ve.has(r) || (Ve.add(r), r());
|
|
174
174
|
}
|
|
175
175
|
ee.length = 0;
|
|
176
176
|
} while (Y.length);
|
|
177
|
-
for (;
|
|
178
|
-
|
|
179
|
-
|
|
177
|
+
for (; Rt.length; )
|
|
178
|
+
Rt.pop()();
|
|
179
|
+
Ye = !1, Ve.clear(), fe(e);
|
|
180
180
|
}
|
|
181
|
-
function
|
|
181
|
+
function dn(e) {
|
|
182
182
|
if (e.fragment !== null) {
|
|
183
|
-
e.update(),
|
|
183
|
+
e.update(), de(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(Ke);
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
|
-
function
|
|
188
|
+
function gn(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 bn = /* @__PURE__ */ new Set();
|
|
193
|
+
function yn(e, t) {
|
|
194
|
+
e && e.i && (bn.delete(e), e.i(t));
|
|
195
195
|
}
|
|
196
|
-
function
|
|
196
|
+
function Js(e) {
|
|
197
197
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
198
198
|
}
|
|
199
|
-
function
|
|
199
|
+
function vn(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(
|
|
203
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
|
204
|
-
}), i.forEach(
|
|
201
|
+
n && n.m(t, r), Ke(() => {
|
|
202
|
+
const s = e.$$.on_mount.map(lr).filter(dt);
|
|
203
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : de(s), e.$$.on_mount = [];
|
|
204
|
+
}), i.forEach(Ke);
|
|
205
205
|
}
|
|
206
|
-
function
|
|
206
|
+
function _n(e, t) {
|
|
207
207
|
const r = e.$$;
|
|
208
|
-
r.fragment !== null && (
|
|
208
|
+
r.fragment !== null && (gn(r.after_update), de(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 En(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
|
|
214
|
-
const h =
|
|
215
|
-
|
|
213
|
+
function wn(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
214
|
+
const h = ce;
|
|
215
|
+
fe(e);
|
|
216
216
|
const l = e.$$ = {
|
|
217
217
|
fragment: null,
|
|
218
218
|
ctx: [],
|
|
@@ -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: Lt(),
|
|
224
224
|
// lifecycle
|
|
225
225
|
on_mount: [],
|
|
226
226
|
on_destroy: [],
|
|
@@ -229,28 +229,28 @@ 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: Lt(),
|
|
233
233
|
dirty: a,
|
|
234
234
|
skip_bound: !1,
|
|
235
235
|
root: t.target || h.$$.root
|
|
236
236
|
};
|
|
237
237
|
o && o(l.root);
|
|
238
238
|
let u = !1;
|
|
239
|
-
if (l.ctx = r ? r(e, t.props || {}, (c,
|
|
240
|
-
const g = y.length ? y[0] :
|
|
241
|
-
return l.ctx && i(l.ctx[c], l.ctx[c] = g) && (!l.skip_bound && l.bound[c] && l.bound[c](g), u &&
|
|
242
|
-
}) : [], l.update(), u = !0,
|
|
239
|
+
if (l.ctx = r ? r(e, t.props || {}, (c, m, ...y) => {
|
|
240
|
+
const g = y.length ? y[0] : m;
|
|
241
|
+
return l.ctx && i(l.ctx[c], l.ctx[c] = g) && (!l.skip_bound && l.bound[c] && l.bound[c](g), u && En(e, c)), m;
|
|
242
|
+
}) : [], l.update(), u = !0, de(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
|
243
243
|
if (t.hydrate) {
|
|
244
|
-
const c =
|
|
244
|
+
const c = ln(t.target);
|
|
245
245
|
l.fragment && l.fragment.l(c), c.forEach(M);
|
|
246
246
|
} else
|
|
247
247
|
l.fragment && l.fragment.c();
|
|
248
|
-
t.intro &&
|
|
248
|
+
t.intro && yn(e.$$.fragment), vn(e, t.target, t.anchor), B();
|
|
249
249
|
}
|
|
250
|
-
|
|
250
|
+
fe(h);
|
|
251
251
|
}
|
|
252
|
-
let
|
|
253
|
-
typeof HTMLElement == "function" && (
|
|
252
|
+
let cr;
|
|
253
|
+
typeof HTMLElement == "function" && (cr = 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 =
|
|
295
|
+
s = H("slot"), i !== "default" && S(s, "name", i);
|
|
296
296
|
},
|
|
297
297
|
/**
|
|
298
298
|
* @param {HTMLElement} target
|
|
@@ -309,7 +309,7 @@ typeof HTMLElement == "function" && (ar = class extends HTMLElement {
|
|
|
309
309
|
};
|
|
310
310
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
311
311
|
return;
|
|
312
|
-
const t = {}, r =
|
|
312
|
+
const t = {}, r = hn(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 Sn(e, t, r, n, i, s) {
|
|
400
|
+
let o = class extends cr {
|
|
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 xn {
|
|
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
|
+
_n(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 (!dt(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 && !tn(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 Tn = "4";
|
|
473
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Tn);
|
|
474
474
|
/*! *****************************************************************************
|
|
475
475
|
Copyright (c) Microsoft Corporation.
|
|
476
476
|
|
|
@@ -485,43 +485,24 @@ 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 et = function(e, t) {
|
|
489
|
+
return et = 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
|
+
}, et(e, t);
|
|
495
495
|
};
|
|
496
|
-
function
|
|
496
|
+
function ge(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
|
+
et(e, t);
|
|
500
500
|
function r() {
|
|
501
501
|
this.constructor = e;
|
|
502
502
|
}
|
|
503
503
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
504
504
|
}
|
|
505
|
-
|
|
506
|
-
return w = Object.assign || function(t) {
|
|
507
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
508
|
-
r = arguments[n];
|
|
509
|
-
for (var s in r)
|
|
510
|
-
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
511
|
-
}
|
|
512
|
-
return t;
|
|
513
|
-
}, w.apply(this, arguments);
|
|
514
|
-
};
|
|
515
|
-
function En(e, t) {
|
|
516
|
-
var r = {};
|
|
517
|
-
for (var n in e)
|
|
518
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
519
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
520
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
521
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
522
|
-
return r;
|
|
523
|
-
}
|
|
524
|
-
function Ye(e) {
|
|
505
|
+
function tt(e) {
|
|
525
506
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
526
507
|
if (r)
|
|
527
508
|
return r.call(e);
|
|
@@ -533,7 +514,7 @@ function Ye(e) {
|
|
|
533
514
|
};
|
|
534
515
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
535
516
|
}
|
|
536
|
-
function
|
|
517
|
+
function rt(e, t) {
|
|
537
518
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
538
519
|
if (!r)
|
|
539
520
|
return e;
|
|
@@ -553,22 +534,22 @@ function Ke(e, t) {
|
|
|
553
534
|
}
|
|
554
535
|
return s;
|
|
555
536
|
}
|
|
556
|
-
function
|
|
557
|
-
if (
|
|
537
|
+
function nt(e, t, r) {
|
|
538
|
+
if (arguments.length === 2)
|
|
558
539
|
for (var n = 0, i = t.length, s; n < i; n++)
|
|
559
540
|
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
560
541
|
return e.concat(s || t);
|
|
561
542
|
}
|
|
562
|
-
function
|
|
543
|
+
function X(e) {
|
|
563
544
|
return typeof e == "function";
|
|
564
545
|
}
|
|
565
|
-
function
|
|
546
|
+
function pr(e) {
|
|
566
547
|
var t = function(n) {
|
|
567
548
|
Error.call(n), n.stack = new Error().stack;
|
|
568
549
|
}, r = e(t);
|
|
569
550
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
570
551
|
}
|
|
571
|
-
var
|
|
552
|
+
var Xe = pr(function(e) {
|
|
572
553
|
return function(r) {
|
|
573
554
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
574
555
|
` + r.map(function(n, i) {
|
|
@@ -577,13 +558,13 @@ var $e = ur(function(e) {
|
|
|
577
558
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
578
559
|
};
|
|
579
560
|
});
|
|
580
|
-
function
|
|
561
|
+
function it(e, t) {
|
|
581
562
|
if (e) {
|
|
582
563
|
var r = e.indexOf(t);
|
|
583
564
|
0 <= r && e.splice(r, 1);
|
|
584
565
|
}
|
|
585
566
|
}
|
|
586
|
-
var
|
|
567
|
+
var Re = function() {
|
|
587
568
|
function e(t) {
|
|
588
569
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
589
570
|
}
|
|
@@ -595,7 +576,7 @@ var Le = function() {
|
|
|
595
576
|
if (o)
|
|
596
577
|
if (this._parentage = null, Array.isArray(o))
|
|
597
578
|
try {
|
|
598
|
-
for (var a =
|
|
579
|
+
for (var a = tt(o), h = a.next(); !h.done; h = a.next()) {
|
|
599
580
|
var l = h.value;
|
|
600
581
|
l.remove(this);
|
|
601
582
|
}
|
|
@@ -612,29 +593,29 @@ var Le = function() {
|
|
|
612
593
|
else
|
|
613
594
|
o.remove(this);
|
|
614
595
|
var u = this.initialTeardown;
|
|
615
|
-
if (
|
|
596
|
+
if (X(u))
|
|
616
597
|
try {
|
|
617
598
|
u();
|
|
618
599
|
} catch (d) {
|
|
619
|
-
s = d instanceof
|
|
600
|
+
s = d instanceof Xe ? d.errors : [d];
|
|
620
601
|
}
|
|
621
602
|
var c = this._finalizers;
|
|
622
603
|
if (c) {
|
|
623
604
|
this._finalizers = null;
|
|
624
605
|
try {
|
|
625
|
-
for (var
|
|
606
|
+
for (var m = tt(c), y = m.next(); !y.done; y = m.next()) {
|
|
626
607
|
var g = y.value;
|
|
627
608
|
try {
|
|
628
|
-
|
|
609
|
+
Nt(g);
|
|
629
610
|
} catch (d) {
|
|
630
|
-
s = s ?? [], d instanceof
|
|
611
|
+
s = s ?? [], d instanceof Xe ? s = nt(nt([], rt(s)), rt(d.errors)) : s.push(d);
|
|
631
612
|
}
|
|
632
613
|
}
|
|
633
614
|
} catch (d) {
|
|
634
615
|
n = { error: d };
|
|
635
616
|
} finally {
|
|
636
617
|
try {
|
|
637
|
-
y && !y.done && (i =
|
|
618
|
+
y && !y.done && (i = m.return) && i.call(m);
|
|
638
619
|
} finally {
|
|
639
620
|
if (n)
|
|
640
621
|
throw n.error;
|
|
@@ -642,13 +623,13 @@ var Le = function() {
|
|
|
642
623
|
}
|
|
643
624
|
}
|
|
644
625
|
if (s)
|
|
645
|
-
throw new
|
|
626
|
+
throw new Xe(s);
|
|
646
627
|
}
|
|
647
628
|
}, e.prototype.add = function(t) {
|
|
648
629
|
var r;
|
|
649
630
|
if (t && t !== this)
|
|
650
631
|
if (this.closed)
|
|
651
|
-
|
|
632
|
+
Nt(t);
|
|
652
633
|
else {
|
|
653
634
|
if (t instanceof e) {
|
|
654
635
|
if (t.closed || t._hasParent(this))
|
|
@@ -665,52 +646,52 @@ var Le = function() {
|
|
|
665
646
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
666
647
|
}, e.prototype._removeParent = function(t) {
|
|
667
648
|
var r = this._parentage;
|
|
668
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
649
|
+
r === t ? this._parentage = null : Array.isArray(r) && it(r, t);
|
|
669
650
|
}, e.prototype.remove = function(t) {
|
|
670
651
|
var r = this._finalizers;
|
|
671
|
-
r &&
|
|
652
|
+
r && it(r, t), t instanceof e && t._removeParent(this);
|
|
672
653
|
}, e.EMPTY = function() {
|
|
673
654
|
var t = new e();
|
|
674
655
|
return t.closed = !0, t;
|
|
675
656
|
}(), e;
|
|
676
|
-
}(),
|
|
677
|
-
function
|
|
678
|
-
return e instanceof
|
|
657
|
+
}(), mr = Re.EMPTY;
|
|
658
|
+
function dr(e) {
|
|
659
|
+
return e instanceof Re || e && "closed" in e && X(e.remove) && X(e.add) && X(e.unsubscribe);
|
|
679
660
|
}
|
|
680
|
-
function
|
|
681
|
-
|
|
661
|
+
function Nt(e) {
|
|
662
|
+
X(e) ? e() : e.unsubscribe();
|
|
682
663
|
}
|
|
683
|
-
var
|
|
664
|
+
var Hn = {
|
|
684
665
|
Promise: void 0
|
|
685
|
-
},
|
|
666
|
+
}, Bn = {
|
|
686
667
|
setTimeout: function(e, t) {
|
|
687
668
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
688
669
|
r[n - 2] = arguments[n];
|
|
689
|
-
return setTimeout.apply(void 0,
|
|
670
|
+
return setTimeout.apply(void 0, nt([e, t], rt(r)));
|
|
690
671
|
},
|
|
691
672
|
clearTimeout: function(e) {
|
|
692
673
|
return clearTimeout(e);
|
|
693
674
|
},
|
|
694
675
|
delegate: void 0
|
|
695
676
|
};
|
|
696
|
-
function
|
|
697
|
-
|
|
677
|
+
function An(e) {
|
|
678
|
+
Bn.setTimeout(function() {
|
|
698
679
|
throw e;
|
|
699
680
|
});
|
|
700
681
|
}
|
|
701
|
-
function
|
|
682
|
+
function Mt() {
|
|
702
683
|
}
|
|
703
684
|
function Be(e) {
|
|
704
685
|
e();
|
|
705
686
|
}
|
|
706
|
-
var
|
|
707
|
-
|
|
687
|
+
var gr = function(e) {
|
|
688
|
+
ge(t, e);
|
|
708
689
|
function t(r) {
|
|
709
690
|
var n = e.call(this) || this;
|
|
710
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
691
|
+
return n.isStopped = !1, r ? (n.destination = r, dr(r) && r.add(n)) : n.destination = Cn, n;
|
|
711
692
|
}
|
|
712
693
|
return t.create = function(r, n, i) {
|
|
713
|
-
return new
|
|
694
|
+
return new st(r, n, i);
|
|
714
695
|
}, t.prototype.next = function(r) {
|
|
715
696
|
this.isStopped || this._next(r);
|
|
716
697
|
}, t.prototype.error = function(r) {
|
|
@@ -734,7 +715,7 @@ var fr = function(e) {
|
|
|
734
715
|
this.unsubscribe();
|
|
735
716
|
}
|
|
736
717
|
}, t;
|
|
737
|
-
}(
|
|
718
|
+
}(Re), Pn = function() {
|
|
738
719
|
function e(t) {
|
|
739
720
|
this.partialObserver = t;
|
|
740
721
|
}
|
|
@@ -744,7 +725,7 @@ var fr = function(e) {
|
|
|
744
725
|
try {
|
|
745
726
|
r.next(t);
|
|
746
727
|
} catch (n) {
|
|
747
|
-
|
|
728
|
+
xe(n);
|
|
748
729
|
}
|
|
749
730
|
}, e.prototype.error = function(t) {
|
|
750
731
|
var r = this.partialObserver;
|
|
@@ -752,56 +733,56 @@ var fr = function(e) {
|
|
|
752
733
|
try {
|
|
753
734
|
r.error(t);
|
|
754
735
|
} catch (n) {
|
|
755
|
-
|
|
736
|
+
xe(n);
|
|
756
737
|
}
|
|
757
738
|
else
|
|
758
|
-
|
|
739
|
+
xe(t);
|
|
759
740
|
}, e.prototype.complete = function() {
|
|
760
741
|
var t = this.partialObserver;
|
|
761
742
|
if (t.complete)
|
|
762
743
|
try {
|
|
763
744
|
t.complete();
|
|
764
745
|
} catch (r) {
|
|
765
|
-
|
|
746
|
+
xe(r);
|
|
766
747
|
}
|
|
767
748
|
}, e;
|
|
768
|
-
}(),
|
|
769
|
-
|
|
749
|
+
}(), st = function(e) {
|
|
750
|
+
ge(t, e);
|
|
770
751
|
function t(r, n, i) {
|
|
771
752
|
var s = e.call(this) || this, o;
|
|
772
|
-
return
|
|
753
|
+
return X(r) || !r ? o = {
|
|
773
754
|
next: r ?? void 0,
|
|
774
755
|
error: n ?? void 0,
|
|
775
756
|
complete: i ?? void 0
|
|
776
|
-
} : o = r, s.destination = new
|
|
757
|
+
} : o = r, s.destination = new Pn(o), s;
|
|
777
758
|
}
|
|
778
759
|
return t;
|
|
779
|
-
}(
|
|
780
|
-
function
|
|
781
|
-
|
|
760
|
+
}(gr);
|
|
761
|
+
function xe(e) {
|
|
762
|
+
An(e);
|
|
782
763
|
}
|
|
783
|
-
function
|
|
764
|
+
function On(e) {
|
|
784
765
|
throw e;
|
|
785
766
|
}
|
|
786
|
-
var
|
|
767
|
+
var Cn = {
|
|
787
768
|
closed: !0,
|
|
788
|
-
next:
|
|
789
|
-
error:
|
|
790
|
-
complete:
|
|
791
|
-
},
|
|
769
|
+
next: Mt,
|
|
770
|
+
error: On,
|
|
771
|
+
complete: Mt
|
|
772
|
+
}, In = function() {
|
|
792
773
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
793
774
|
}();
|
|
794
|
-
function
|
|
775
|
+
function Ln(e) {
|
|
795
776
|
return e;
|
|
796
777
|
}
|
|
797
|
-
function
|
|
798
|
-
return e.length === 0 ?
|
|
778
|
+
function Rn(e) {
|
|
779
|
+
return e.length === 0 ? Ln : e.length === 1 ? e[0] : function(r) {
|
|
799
780
|
return e.reduce(function(n, i) {
|
|
800
781
|
return i(n);
|
|
801
782
|
}, r);
|
|
802
783
|
};
|
|
803
784
|
}
|
|
804
|
-
var
|
|
785
|
+
var Dt = function() {
|
|
805
786
|
function e(t) {
|
|
806
787
|
t && (this._subscribe = t);
|
|
807
788
|
}
|
|
@@ -809,7 +790,7 @@ var It = function() {
|
|
|
809
790
|
var r = new e();
|
|
810
791
|
return r.source = this, r.operator = t, r;
|
|
811
792
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
812
|
-
var i = this, s =
|
|
793
|
+
var i = this, s = Mn(t) ? t : new st(t, r, n);
|
|
813
794
|
return Be(function() {
|
|
814
795
|
var o = i, a = o.operator, h = o.source;
|
|
815
796
|
s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
|
|
@@ -822,8 +803,8 @@ var It = function() {
|
|
|
822
803
|
}
|
|
823
804
|
}, e.prototype.forEach = function(t, r) {
|
|
824
805
|
var n = this;
|
|
825
|
-
return r =
|
|
826
|
-
var o = new
|
|
806
|
+
return r = Ft(r), new r(function(i, s) {
|
|
807
|
+
var o = new st({
|
|
827
808
|
next: function(a) {
|
|
828
809
|
try {
|
|
829
810
|
t(a);
|
|
@@ -839,15 +820,15 @@ var It = function() {
|
|
|
839
820
|
}, e.prototype._subscribe = function(t) {
|
|
840
821
|
var r;
|
|
841
822
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
842
|
-
}, e.prototype[
|
|
823
|
+
}, e.prototype[In] = function() {
|
|
843
824
|
return this;
|
|
844
825
|
}, e.prototype.pipe = function() {
|
|
845
826
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
846
827
|
t[r] = arguments[r];
|
|
847
|
-
return
|
|
828
|
+
return Rn(t)(this);
|
|
848
829
|
}, e.prototype.toPromise = function(t) {
|
|
849
830
|
var r = this;
|
|
850
|
-
return t =
|
|
831
|
+
return t = Ft(t), new t(function(n, i) {
|
|
851
832
|
var s;
|
|
852
833
|
r.subscribe(function(o) {
|
|
853
834
|
return s = o;
|
|
@@ -861,32 +842,32 @@ var It = function() {
|
|
|
861
842
|
return new e(t);
|
|
862
843
|
}, e;
|
|
863
844
|
}();
|
|
864
|
-
function
|
|
845
|
+
function Ft(e) {
|
|
865
846
|
var t;
|
|
866
|
-
return (t = e ??
|
|
847
|
+
return (t = e ?? Hn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
867
848
|
}
|
|
868
|
-
function
|
|
869
|
-
return e &&
|
|
849
|
+
function Nn(e) {
|
|
850
|
+
return e && X(e.next) && X(e.error) && X(e.complete);
|
|
870
851
|
}
|
|
871
|
-
function
|
|
872
|
-
return e && e instanceof
|
|
852
|
+
function Mn(e) {
|
|
853
|
+
return e && e instanceof gr || Nn(e) && dr(e);
|
|
873
854
|
}
|
|
874
|
-
var
|
|
855
|
+
var Dn = pr(function(e) {
|
|
875
856
|
return function() {
|
|
876
857
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
877
858
|
};
|
|
878
|
-
}),
|
|
879
|
-
|
|
859
|
+
}), br = function(e) {
|
|
860
|
+
ge(t, e);
|
|
880
861
|
function t() {
|
|
881
862
|
var r = e.call(this) || this;
|
|
882
863
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
883
864
|
}
|
|
884
865
|
return t.prototype.lift = function(r) {
|
|
885
|
-
var n = new
|
|
866
|
+
var n = new Ut(this, this);
|
|
886
867
|
return n.operator = r, n;
|
|
887
868
|
}, t.prototype._throwIfClosed = function() {
|
|
888
869
|
if (this.closed)
|
|
889
|
-
throw new
|
|
870
|
+
throw new Dn();
|
|
890
871
|
}, t.prototype.next = function(r) {
|
|
891
872
|
var n = this;
|
|
892
873
|
Be(function() {
|
|
@@ -894,7 +875,7 @@ var Ln = ur(function(e) {
|
|
|
894
875
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
895
876
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
896
877
|
try {
|
|
897
|
-
for (var o =
|
|
878
|
+
for (var o = tt(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
|
|
898
879
|
var h = a.value;
|
|
899
880
|
h.next(r);
|
|
900
881
|
}
|
|
@@ -943,20 +924,20 @@ var Ln = ur(function(e) {
|
|
|
943
924
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
944
925
|
}, t.prototype._innerSubscribe = function(r) {
|
|
945
926
|
var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
|
|
946
|
-
return s || o ?
|
|
947
|
-
n.currentObservers = null,
|
|
927
|
+
return s || o ? mr : (this.currentObservers = null, a.push(r), new Re(function() {
|
|
928
|
+
n.currentObservers = null, it(a, r);
|
|
948
929
|
}));
|
|
949
930
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
950
931
|
var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
|
|
951
932
|
i ? r.error(s) : o && r.complete();
|
|
952
933
|
}, t.prototype.asObservable = function() {
|
|
953
|
-
var r = new
|
|
934
|
+
var r = new Dt();
|
|
954
935
|
return r.source = this, r;
|
|
955
936
|
}, t.create = function(r, n) {
|
|
956
|
-
return new
|
|
937
|
+
return new Ut(r, n);
|
|
957
938
|
}, t;
|
|
958
|
-
}(
|
|
959
|
-
|
|
939
|
+
}(Dt), Ut = function(e) {
|
|
940
|
+
ge(t, e);
|
|
960
941
|
function t(r, n) {
|
|
961
942
|
var i = e.call(this) || this;
|
|
962
943
|
return i.destination = r, i.source = n, i;
|
|
@@ -972,17 +953,17 @@ var Ln = ur(function(e) {
|
|
|
972
953
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
973
954
|
}, t.prototype._subscribe = function(r) {
|
|
974
955
|
var n, i;
|
|
975
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
956
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : mr;
|
|
976
957
|
}, t;
|
|
977
|
-
}(
|
|
958
|
+
}(br), yr = {
|
|
978
959
|
now: function() {
|
|
979
|
-
return (
|
|
960
|
+
return (yr.delegate || Date).now();
|
|
980
961
|
},
|
|
981
962
|
delegate: void 0
|
|
982
|
-
},
|
|
983
|
-
|
|
963
|
+
}, Fn = function(e) {
|
|
964
|
+
ge(t, e);
|
|
984
965
|
function t(r, n, i) {
|
|
985
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
966
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = yr);
|
|
986
967
|
var s = e.call(this) || this;
|
|
987
968
|
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
969
|
}
|
|
@@ -1002,24 +983,24 @@ var Ln = ur(function(e) {
|
|
|
1002
983
|
l && s.splice(0, l + 1);
|
|
1003
984
|
}
|
|
1004
985
|
}, t;
|
|
1005
|
-
}(
|
|
1006
|
-
const
|
|
1007
|
-
if (
|
|
1008
|
-
const r = new
|
|
1009
|
-
|
|
986
|
+
}(br);
|
|
987
|
+
const kt = [], Gt = {}, Un = (e, t = 0) => {
|
|
988
|
+
if (kt.indexOf(e) == -1) {
|
|
989
|
+
const r = new Fn(t);
|
|
990
|
+
Gt[e] = r, kt.push(e);
|
|
1010
991
|
}
|
|
1011
|
-
return
|
|
992
|
+
return Gt[e];
|
|
1012
993
|
}, Q = [];
|
|
1013
|
-
function
|
|
994
|
+
function kn(e, t) {
|
|
1014
995
|
return {
|
|
1015
|
-
subscribe:
|
|
996
|
+
subscribe: Ne(e, t).subscribe
|
|
1016
997
|
};
|
|
1017
998
|
}
|
|
1018
|
-
function
|
|
999
|
+
function Ne(e, t = k) {
|
|
1019
1000
|
let r;
|
|
1020
1001
|
const n = /* @__PURE__ */ new Set();
|
|
1021
1002
|
function i(a) {
|
|
1022
|
-
if (
|
|
1003
|
+
if (hr(e, a) && (e = a, r)) {
|
|
1023
1004
|
const h = !Q.length;
|
|
1024
1005
|
for (const l of n)
|
|
1025
1006
|
l[1](), Q.push(l, e);
|
|
@@ -1041,142 +1022,184 @@ function Re(e, t = k) {
|
|
|
1041
1022
|
}
|
|
1042
1023
|
return { set: i, update: s, subscribe: o };
|
|
1043
1024
|
}
|
|
1044
|
-
function
|
|
1025
|
+
function se(e, t, r) {
|
|
1045
1026
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1046
1027
|
if (!i.every(Boolean))
|
|
1047
1028
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1048
1029
|
const s = t.length < 2;
|
|
1049
|
-
return
|
|
1030
|
+
return kn(r, (o, a) => {
|
|
1050
1031
|
let h = !1;
|
|
1051
1032
|
const l = [];
|
|
1052
1033
|
let u = 0, c = k;
|
|
1053
|
-
const
|
|
1034
|
+
const m = () => {
|
|
1054
1035
|
if (u)
|
|
1055
1036
|
return;
|
|
1056
1037
|
c();
|
|
1057
1038
|
const g = t(n ? l[0] : l, o, a);
|
|
1058
|
-
s ? o(g) : c =
|
|
1039
|
+
s ? o(g) : c = dt(g) ? g : k;
|
|
1059
1040
|
}, y = i.map(
|
|
1060
|
-
(g, d) =>
|
|
1041
|
+
(g, d) => fr(
|
|
1061
1042
|
g,
|
|
1062
1043
|
(b) => {
|
|
1063
|
-
l[d] = b, u &= ~(1 << d), h &&
|
|
1044
|
+
l[d] = b, u &= ~(1 << d), h && m();
|
|
1064
1045
|
},
|
|
1065
1046
|
() => {
|
|
1066
1047
|
u |= 1 << d;
|
|
1067
1048
|
}
|
|
1068
1049
|
)
|
|
1069
1050
|
);
|
|
1070
|
-
return h = !0,
|
|
1071
|
-
|
|
1051
|
+
return h = !0, m(), function() {
|
|
1052
|
+
de(y), c(), h = !1;
|
|
1072
1053
|
};
|
|
1073
1054
|
});
|
|
1074
1055
|
}
|
|
1075
|
-
function
|
|
1056
|
+
function Gn(e) {
|
|
1076
1057
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1077
1058
|
}
|
|
1078
|
-
var
|
|
1079
|
-
return
|
|
1059
|
+
var jn = function(t) {
|
|
1060
|
+
return $n(t) && !Vn(t);
|
|
1080
1061
|
};
|
|
1081
|
-
function
|
|
1062
|
+
function $n(e) {
|
|
1082
1063
|
return !!e && typeof e == "object";
|
|
1083
1064
|
}
|
|
1084
|
-
function
|
|
1065
|
+
function Vn(e) {
|
|
1085
1066
|
var t = Object.prototype.toString.call(e);
|
|
1086
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1067
|
+
return t === "[object RegExp]" || t === "[object Date]" || zn(e);
|
|
1087
1068
|
}
|
|
1088
|
-
var
|
|
1089
|
-
function
|
|
1090
|
-
return e.$$typeof ===
|
|
1069
|
+
var Xn = typeof Symbol == "function" && Symbol.for, Wn = Xn ? Symbol.for("react.element") : 60103;
|
|
1070
|
+
function zn(e) {
|
|
1071
|
+
return e.$$typeof === Wn;
|
|
1091
1072
|
}
|
|
1092
|
-
function
|
|
1073
|
+
function Zn(e) {
|
|
1093
1074
|
return Array.isArray(e) ? [] : {};
|
|
1094
1075
|
}
|
|
1095
1076
|
function pe(e, t) {
|
|
1096
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1077
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? te(Zn(e), e, t) : e;
|
|
1097
1078
|
}
|
|
1098
|
-
function
|
|
1079
|
+
function Jn(e, t, r) {
|
|
1099
1080
|
return e.concat(t).map(function(n) {
|
|
1100
1081
|
return pe(n, r);
|
|
1101
1082
|
});
|
|
1102
1083
|
}
|
|
1103
|
-
function
|
|
1084
|
+
function qn(e, t) {
|
|
1104
1085
|
if (!t.customMerge)
|
|
1105
|
-
return
|
|
1086
|
+
return te;
|
|
1106
1087
|
var r = t.customMerge(e);
|
|
1107
|
-
return typeof r == "function" ? r :
|
|
1088
|
+
return typeof r == "function" ? r : te;
|
|
1108
1089
|
}
|
|
1109
|
-
function
|
|
1090
|
+
function Qn(e) {
|
|
1110
1091
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1111
1092
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1112
1093
|
}) : [];
|
|
1113
1094
|
}
|
|
1114
|
-
function
|
|
1115
|
-
return Object.keys(e).concat(
|
|
1095
|
+
function jt(e) {
|
|
1096
|
+
return Object.keys(e).concat(Qn(e));
|
|
1116
1097
|
}
|
|
1117
|
-
function
|
|
1098
|
+
function vr(e, t) {
|
|
1118
1099
|
try {
|
|
1119
1100
|
return t in e;
|
|
1120
1101
|
} catch {
|
|
1121
1102
|
return !1;
|
|
1122
1103
|
}
|
|
1123
1104
|
}
|
|
1124
|
-
function
|
|
1125
|
-
return
|
|
1105
|
+
function Yn(e, t) {
|
|
1106
|
+
return vr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1126
1107
|
}
|
|
1127
|
-
function
|
|
1108
|
+
function Kn(e, t, r) {
|
|
1128
1109
|
var n = {};
|
|
1129
|
-
return r.isMergeableObject(e) &&
|
|
1110
|
+
return r.isMergeableObject(e) && jt(e).forEach(function(i) {
|
|
1130
1111
|
n[i] = pe(e[i], r);
|
|
1131
|
-
}),
|
|
1132
|
-
|
|
1112
|
+
}), jt(t).forEach(function(i) {
|
|
1113
|
+
Yn(e, i) || (vr(e, i) && r.isMergeableObject(t[i]) ? n[i] = qn(i, r)(e[i], t[i], r) : n[i] = pe(t[i], r));
|
|
1133
1114
|
}), n;
|
|
1134
1115
|
}
|
|
1135
|
-
function
|
|
1136
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1116
|
+
function te(e, t, r) {
|
|
1117
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Jn, r.isMergeableObject = r.isMergeableObject || jn, r.cloneUnlessOtherwiseSpecified = pe;
|
|
1137
1118
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
1138
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
1119
|
+
return s ? n ? r.arrayMerge(e, t, r) : Kn(e, t, r) : pe(t, r);
|
|
1139
1120
|
}
|
|
1140
|
-
|
|
1121
|
+
te.all = function(t, r) {
|
|
1141
1122
|
if (!Array.isArray(t))
|
|
1142
1123
|
throw new Error("first argument should be an array");
|
|
1143
1124
|
return t.reduce(function(n, i) {
|
|
1144
|
-
return
|
|
1125
|
+
return te(n, i, r);
|
|
1145
1126
|
}, {});
|
|
1146
1127
|
};
|
|
1147
|
-
var
|
|
1148
|
-
const
|
|
1149
|
-
function
|
|
1150
|
-
|
|
1128
|
+
var ei = te, ti = ei;
|
|
1129
|
+
const ri = /* @__PURE__ */ Gn(ti);
|
|
1130
|
+
var ot = function(e, t) {
|
|
1131
|
+
return ot = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1132
|
+
r.__proto__ = n;
|
|
1133
|
+
} || function(r, n) {
|
|
1134
|
+
for (var i in n)
|
|
1135
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1136
|
+
}, ot(e, t);
|
|
1137
|
+
};
|
|
1138
|
+
function Me(e, t) {
|
|
1139
|
+
if (typeof t != "function" && t !== null)
|
|
1140
|
+
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1141
|
+
ot(e, t);
|
|
1142
|
+
function r() {
|
|
1143
|
+
this.constructor = e;
|
|
1144
|
+
}
|
|
1145
|
+
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1146
|
+
}
|
|
1147
|
+
var G = function() {
|
|
1148
|
+
return G = Object.assign || function(t) {
|
|
1149
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1150
|
+
r = arguments[n];
|
|
1151
|
+
for (var s in r)
|
|
1152
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
1153
|
+
}
|
|
1154
|
+
return t;
|
|
1155
|
+
}, G.apply(this, arguments);
|
|
1156
|
+
};
|
|
1157
|
+
function ni(e, t) {
|
|
1158
|
+
var r = {};
|
|
1159
|
+
for (var n in e)
|
|
1160
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1161
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1162
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1163
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1164
|
+
return r;
|
|
1165
|
+
}
|
|
1166
|
+
function We(e, t, r) {
|
|
1167
|
+
if (r || arguments.length === 2)
|
|
1168
|
+
for (var n = 0, i = t.length, s; n < i; n++)
|
|
1169
|
+
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
1170
|
+
return e.concat(s || Array.prototype.slice.call(t));
|
|
1171
|
+
}
|
|
1172
|
+
function ze(e, t) {
|
|
1173
|
+
var r = t && t.cache ? t.cache : hi, n = t && t.serializer ? t.serializer : ui, i = t && t.strategy ? t.strategy : oi;
|
|
1151
1174
|
return i(e, {
|
|
1152
1175
|
cache: r,
|
|
1153
1176
|
serializer: n
|
|
1154
1177
|
});
|
|
1155
1178
|
}
|
|
1156
|
-
function
|
|
1179
|
+
function ii(e) {
|
|
1157
1180
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1158
1181
|
}
|
|
1159
|
-
function
|
|
1160
|
-
var i =
|
|
1182
|
+
function si(e, t, r, n) {
|
|
1183
|
+
var i = ii(n) ? n : r(n), s = t.get(i);
|
|
1161
1184
|
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
|
1162
1185
|
}
|
|
1163
|
-
function
|
|
1186
|
+
function _r(e, t, r) {
|
|
1164
1187
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
1165
1188
|
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
1166
1189
|
}
|
|
1167
|
-
function
|
|
1190
|
+
function Er(e, t, r, n, i) {
|
|
1168
1191
|
return r.bind(t, e, n, i);
|
|
1169
1192
|
}
|
|
1170
|
-
function
|
|
1171
|
-
var r = e.length === 1 ?
|
|
1172
|
-
return
|
|
1193
|
+
function oi(e, t) {
|
|
1194
|
+
var r = e.length === 1 ? si : _r;
|
|
1195
|
+
return Er(e, this, r, t.cache.create(), t.serializer);
|
|
1173
1196
|
}
|
|
1174
|
-
function
|
|
1175
|
-
return
|
|
1197
|
+
function ai(e, t) {
|
|
1198
|
+
return Er(e, this, _r, t.cache.create(), t.serializer);
|
|
1176
1199
|
}
|
|
1177
|
-
var
|
|
1200
|
+
var ui = function() {
|
|
1178
1201
|
return JSON.stringify(arguments);
|
|
1179
|
-
},
|
|
1202
|
+
}, li = (
|
|
1180
1203
|
/** @class */
|
|
1181
1204
|
function() {
|
|
1182
1205
|
function e() {
|
|
@@ -1188,61 +1211,71 @@ var ni = function() {
|
|
|
1188
1211
|
this.cache[t] = r;
|
|
1189
1212
|
}, e;
|
|
1190
1213
|
}()
|
|
1191
|
-
),
|
|
1214
|
+
), hi = {
|
|
1192
1215
|
create: function() {
|
|
1193
|
-
return new
|
|
1216
|
+
return new li();
|
|
1194
1217
|
}
|
|
1195
|
-
},
|
|
1196
|
-
variadic:
|
|
1197
|
-
},
|
|
1218
|
+
}, Ze = {
|
|
1219
|
+
variadic: ai
|
|
1220
|
+
}, Ce = function() {
|
|
1221
|
+
return Ce = Object.assign || function(t) {
|
|
1222
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1223
|
+
r = arguments[n];
|
|
1224
|
+
for (var s in r)
|
|
1225
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
1226
|
+
}
|
|
1227
|
+
return t;
|
|
1228
|
+
}, Ce.apply(this, arguments);
|
|
1229
|
+
};
|
|
1230
|
+
var v;
|
|
1198
1231
|
(function(e) {
|
|
1199
1232
|
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";
|
|
1200
1233
|
})(v || (v = {}));
|
|
1201
|
-
var
|
|
1234
|
+
var x;
|
|
1202
1235
|
(function(e) {
|
|
1203
1236
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
1204
|
-
})(
|
|
1205
|
-
var
|
|
1237
|
+
})(x || (x = {}));
|
|
1238
|
+
var re;
|
|
1206
1239
|
(function(e) {
|
|
1207
1240
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1208
|
-
})(
|
|
1209
|
-
function
|
|
1210
|
-
return e.type ===
|
|
1241
|
+
})(re || (re = {}));
|
|
1242
|
+
function $t(e) {
|
|
1243
|
+
return e.type === x.literal;
|
|
1211
1244
|
}
|
|
1212
|
-
function
|
|
1213
|
-
return e.type ===
|
|
1245
|
+
function fi(e) {
|
|
1246
|
+
return e.type === x.argument;
|
|
1214
1247
|
}
|
|
1215
|
-
function
|
|
1216
|
-
return e.type ===
|
|
1248
|
+
function wr(e) {
|
|
1249
|
+
return e.type === x.number;
|
|
1217
1250
|
}
|
|
1218
|
-
function
|
|
1219
|
-
return e.type ===
|
|
1251
|
+
function Sr(e) {
|
|
1252
|
+
return e.type === x.date;
|
|
1220
1253
|
}
|
|
1221
|
-
function
|
|
1222
|
-
return e.type ===
|
|
1254
|
+
function xr(e) {
|
|
1255
|
+
return e.type === x.time;
|
|
1223
1256
|
}
|
|
1224
|
-
function
|
|
1225
|
-
return e.type ===
|
|
1257
|
+
function Tr(e) {
|
|
1258
|
+
return e.type === x.select;
|
|
1226
1259
|
}
|
|
1227
|
-
function
|
|
1228
|
-
return e.type ===
|
|
1260
|
+
function Hr(e) {
|
|
1261
|
+
return e.type === x.plural;
|
|
1229
1262
|
}
|
|
1230
|
-
function
|
|
1231
|
-
return e.type ===
|
|
1263
|
+
function ci(e) {
|
|
1264
|
+
return e.type === x.pound;
|
|
1232
1265
|
}
|
|
1233
|
-
function
|
|
1234
|
-
return e.type ===
|
|
1266
|
+
function Br(e) {
|
|
1267
|
+
return e.type === x.tag;
|
|
1235
1268
|
}
|
|
1236
|
-
function
|
|
1237
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1269
|
+
function Ar(e) {
|
|
1270
|
+
return !!(e && typeof e == "object" && e.type === re.number);
|
|
1238
1271
|
}
|
|
1239
|
-
function
|
|
1240
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1272
|
+
function at(e) {
|
|
1273
|
+
return !!(e && typeof e == "object" && e.type === re.dateTime);
|
|
1241
1274
|
}
|
|
1242
|
-
var
|
|
1243
|
-
function
|
|
1275
|
+
var Pr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, pi = /(?:[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;
|
|
1276
|
+
function mi(e) {
|
|
1244
1277
|
var t = {};
|
|
1245
|
-
return e.replace(
|
|
1278
|
+
return e.replace(pi, function(r) {
|
|
1246
1279
|
var n = r.length;
|
|
1247
1280
|
switch (r[0]) {
|
|
1248
1281
|
case "G":
|
|
@@ -1331,12 +1364,22 @@ function li(e) {
|
|
|
1331
1364
|
return "";
|
|
1332
1365
|
}), t;
|
|
1333
1366
|
}
|
|
1334
|
-
var
|
|
1335
|
-
function
|
|
1367
|
+
var A = function() {
|
|
1368
|
+
return A = Object.assign || function(t) {
|
|
1369
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1370
|
+
r = arguments[n];
|
|
1371
|
+
for (var s in r)
|
|
1372
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
1373
|
+
}
|
|
1374
|
+
return t;
|
|
1375
|
+
}, A.apply(this, arguments);
|
|
1376
|
+
};
|
|
1377
|
+
var di = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1378
|
+
function gi(e) {
|
|
1336
1379
|
if (e.length === 0)
|
|
1337
1380
|
throw new Error("Number skeleton cannot be empty");
|
|
1338
|
-
for (var t = e.split(
|
|
1339
|
-
return
|
|
1381
|
+
for (var t = e.split(di).filter(function(m) {
|
|
1382
|
+
return m.length > 0;
|
|
1340
1383
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1341
1384
|
var s = i[n], o = s.split("/");
|
|
1342
1385
|
if (o.length === 0)
|
|
@@ -1350,17 +1393,17 @@ function fi(e) {
|
|
|
1350
1393
|
}
|
|
1351
1394
|
return r;
|
|
1352
1395
|
}
|
|
1353
|
-
function
|
|
1396
|
+
function bi(e) {
|
|
1354
1397
|
return e.replace(/^(.*?)-/, "");
|
|
1355
1398
|
}
|
|
1356
|
-
var
|
|
1357
|
-
function
|
|
1399
|
+
var Vt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Or = /^(@+)?(\+|#+)?[rs]?$/g, yi = /(\*)(0+)|(#+)(0+)|(0+)/g, Cr = /^(0+)$/;
|
|
1400
|
+
function Xt(e) {
|
|
1358
1401
|
var t = {};
|
|
1359
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1402
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Or, function(r, n, i) {
|
|
1360
1403
|
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
1404
|
}), t;
|
|
1362
1405
|
}
|
|
1363
|
-
function
|
|
1406
|
+
function Ir(e) {
|
|
1364
1407
|
switch (e) {
|
|
1365
1408
|
case "sign-auto":
|
|
1366
1409
|
return {
|
|
@@ -1400,7 +1443,7 @@ function Br(e) {
|
|
|
1400
1443
|
};
|
|
1401
1444
|
}
|
|
1402
1445
|
}
|
|
1403
|
-
function
|
|
1446
|
+
function vi(e) {
|
|
1404
1447
|
var t;
|
|
1405
1448
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1406
1449
|
notation: "engineering"
|
|
@@ -1408,17 +1451,17 @@ function pi(e) {
|
|
|
1408
1451
|
notation: "scientific"
|
|
1409
1452
|
}, e = e.slice(1)), t) {
|
|
1410
1453
|
var r = e.slice(0, 2);
|
|
1411
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1454
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Cr.test(e))
|
|
1412
1455
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1413
1456
|
t.minimumIntegerDigits = e.length;
|
|
1414
1457
|
}
|
|
1415
1458
|
return t;
|
|
1416
1459
|
}
|
|
1417
|
-
function
|
|
1418
|
-
var t = {}, r =
|
|
1460
|
+
function Wt(e) {
|
|
1461
|
+
var t = {}, r = Ir(e);
|
|
1419
1462
|
return r || t;
|
|
1420
1463
|
}
|
|
1421
|
-
function
|
|
1464
|
+
function _i(e) {
|
|
1422
1465
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1423
1466
|
var i = n[r];
|
|
1424
1467
|
switch (i.stem) {
|
|
@@ -1442,7 +1485,7 @@ function di(e) {
|
|
|
1442
1485
|
continue;
|
|
1443
1486
|
case "measure-unit":
|
|
1444
1487
|
case "unit":
|
|
1445
|
-
t.style = "unit", t.unit =
|
|
1488
|
+
t.style = "unit", t.unit = bi(i.options[0]);
|
|
1446
1489
|
continue;
|
|
1447
1490
|
case "compact-short":
|
|
1448
1491
|
case "K":
|
|
@@ -1453,13 +1496,13 @@ function di(e) {
|
|
|
1453
1496
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1454
1497
|
continue;
|
|
1455
1498
|
case "scientific":
|
|
1456
|
-
t =
|
|
1457
|
-
return
|
|
1499
|
+
t = A(A(A({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
|
|
1500
|
+
return A(A({}, h), Wt(l));
|
|
1458
1501
|
}, {}));
|
|
1459
1502
|
continue;
|
|
1460
1503
|
case "engineering":
|
|
1461
|
-
t =
|
|
1462
|
-
return
|
|
1504
|
+
t = A(A(A({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
|
|
1505
|
+
return A(A({}, h), Wt(l));
|
|
1463
1506
|
}, {}));
|
|
1464
1507
|
continue;
|
|
1465
1508
|
case "notation-simple":
|
|
@@ -1504,11 +1547,11 @@ function di(e) {
|
|
|
1504
1547
|
case "integer-width":
|
|
1505
1548
|
if (i.options.length > 1)
|
|
1506
1549
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1507
|
-
i.options[0].replace(
|
|
1550
|
+
i.options[0].replace(yi, function(h, l, u, c, m, y) {
|
|
1508
1551
|
if (l)
|
|
1509
1552
|
t.minimumIntegerDigits = u.length;
|
|
1510
1553
|
else {
|
|
1511
|
-
if (c &&
|
|
1554
|
+
if (c && m)
|
|
1512
1555
|
throw new Error("We currently do not support maximum integer digits");
|
|
1513
1556
|
if (y)
|
|
1514
1557
|
throw new Error("We currently do not support exact integer digits");
|
|
@@ -1517,28 +1560,28 @@ function di(e) {
|
|
|
1517
1560
|
});
|
|
1518
1561
|
continue;
|
|
1519
1562
|
}
|
|
1520
|
-
if (
|
|
1563
|
+
if (Cr.test(i.stem)) {
|
|
1521
1564
|
t.minimumIntegerDigits = i.stem.length;
|
|
1522
1565
|
continue;
|
|
1523
1566
|
}
|
|
1524
|
-
if (
|
|
1567
|
+
if (Vt.test(i.stem)) {
|
|
1525
1568
|
if (i.options.length > 1)
|
|
1526
1569
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1527
|
-
i.stem.replace(
|
|
1528
|
-
return u === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length :
|
|
1570
|
+
i.stem.replace(Vt, function(h, l, u, c, m, y) {
|
|
1571
|
+
return u === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : m && y ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + y.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
|
1529
1572
|
});
|
|
1530
1573
|
var s = i.options[0];
|
|
1531
|
-
s === "w" ? t =
|
|
1574
|
+
s === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = A(A({}, t), Xt(s)));
|
|
1532
1575
|
continue;
|
|
1533
1576
|
}
|
|
1534
|
-
if (
|
|
1535
|
-
t =
|
|
1577
|
+
if (Or.test(i.stem)) {
|
|
1578
|
+
t = A(A({}, t), Xt(i.stem));
|
|
1536
1579
|
continue;
|
|
1537
1580
|
}
|
|
1538
|
-
var o =
|
|
1539
|
-
o && (t =
|
|
1540
|
-
var a =
|
|
1541
|
-
a && (t =
|
|
1581
|
+
var o = Ir(i.stem);
|
|
1582
|
+
o && (t = A(A({}, t), o));
|
|
1583
|
+
var a = vi(i.stem);
|
|
1584
|
+
a && (t = A(A({}, t), a));
|
|
1542
1585
|
}
|
|
1543
1586
|
return t;
|
|
1544
1587
|
}
|
|
@@ -2957,13 +3000,13 @@ var Te = {
|
|
|
2957
3000
|
"h"
|
|
2958
3001
|
]
|
|
2959
3002
|
};
|
|
2960
|
-
function
|
|
3003
|
+
function Ei(e, t) {
|
|
2961
3004
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2962
3005
|
var i = e.charAt(n);
|
|
2963
3006
|
if (i === "j") {
|
|
2964
3007
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2965
3008
|
s++, n++;
|
|
2966
|
-
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", l =
|
|
3009
|
+
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", l = wi(t);
|
|
2967
3010
|
for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
|
|
2968
3011
|
r += h;
|
|
2969
3012
|
for (; o-- > 0; )
|
|
@@ -2973,7 +3016,7 @@ function gi(e, t) {
|
|
|
2973
3016
|
}
|
|
2974
3017
|
return r;
|
|
2975
3018
|
}
|
|
2976
|
-
function
|
|
3019
|
+
function wi(e) {
|
|
2977
3020
|
var t = e.hourCycle;
|
|
2978
3021
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2979
3022
|
e.hourCycles && // @ts-ignore
|
|
@@ -2995,20 +3038,20 @@ function bi(e) {
|
|
|
2995
3038
|
var i = Te[n || ""] || Te[r || ""] || Te["".concat(r, "-001")] || Te["001"];
|
|
2996
3039
|
return i[0];
|
|
2997
3040
|
}
|
|
2998
|
-
var
|
|
3041
|
+
var Je, Si = new RegExp("^".concat(Pr.source, "*")), xi = new RegExp("".concat(Pr.source, "*$"));
|
|
2999
3042
|
function _(e, t) {
|
|
3000
3043
|
return { start: e, end: t };
|
|
3001
3044
|
}
|
|
3002
|
-
var
|
|
3045
|
+
var Ti = !!String.prototype.startsWith && "_a".startsWith("a", 1), Hi = !!String.fromCodePoint, Bi = !!Object.fromEntries, Ai = !!String.prototype.codePointAt, Pi = !!String.prototype.trimStart, Oi = !!String.prototype.trimEnd, Ci = !!Number.isSafeInteger, Ii = Ci ? Number.isSafeInteger : function(e) {
|
|
3003
3046
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3004
|
-
},
|
|
3047
|
+
}, ut = !0;
|
|
3005
3048
|
try {
|
|
3006
|
-
var
|
|
3007
|
-
|
|
3049
|
+
var Li = Rr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3050
|
+
ut = ((Je = Li.exec("a")) === null || Je === void 0 ? void 0 : Je[0]) === "a";
|
|
3008
3051
|
} catch {
|
|
3009
|
-
|
|
3052
|
+
ut = !1;
|
|
3010
3053
|
}
|
|
3011
|
-
var
|
|
3054
|
+
var zt = Ti ? (
|
|
3012
3055
|
// Native
|
|
3013
3056
|
function(t, r, n) {
|
|
3014
3057
|
return t.startsWith(r, n);
|
|
@@ -3018,7 +3061,7 @@ var jt = _i ? (
|
|
|
3018
3061
|
function(t, r, n) {
|
|
3019
3062
|
return t.slice(n, n + r.length) === r;
|
|
3020
3063
|
}
|
|
3021
|
-
),
|
|
3064
|
+
), lt = Hi ? String.fromCodePoint : (
|
|
3022
3065
|
// IE11
|
|
3023
3066
|
function() {
|
|
3024
3067
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3030,9 +3073,9 @@ var jt = _i ? (
|
|
|
3030
3073
|
}
|
|
3031
3074
|
return n;
|
|
3032
3075
|
}
|
|
3033
|
-
),
|
|
3076
|
+
), Zt = (
|
|
3034
3077
|
// native
|
|
3035
|
-
|
|
3078
|
+
Bi ? Object.fromEntries : (
|
|
3036
3079
|
// Ponyfill
|
|
3037
3080
|
function(t) {
|
|
3038
3081
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3042,7 +3085,7 @@ var jt = _i ? (
|
|
|
3042
3085
|
return r;
|
|
3043
3086
|
}
|
|
3044
3087
|
)
|
|
3045
|
-
),
|
|
3088
|
+
), Lr = Ai ? (
|
|
3046
3089
|
// Native
|
|
3047
3090
|
function(t, r) {
|
|
3048
3091
|
return t.codePointAt(r);
|
|
@@ -3056,7 +3099,7 @@ var jt = _i ? (
|
|
|
3056
3099
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
3057
3100
|
}
|
|
3058
3101
|
}
|
|
3059
|
-
),
|
|
3102
|
+
), Ri = Pi ? (
|
|
3060
3103
|
// Native
|
|
3061
3104
|
function(t) {
|
|
3062
3105
|
return t.trimStart();
|
|
@@ -3064,9 +3107,9 @@ var jt = _i ? (
|
|
|
3064
3107
|
) : (
|
|
3065
3108
|
// Ponyfill
|
|
3066
3109
|
function(t) {
|
|
3067
|
-
return t.replace(
|
|
3110
|
+
return t.replace(Si, "");
|
|
3068
3111
|
}
|
|
3069
|
-
),
|
|
3112
|
+
), Ni = Oi ? (
|
|
3070
3113
|
// Native
|
|
3071
3114
|
function(t) {
|
|
3072
3115
|
return t.trimEnd();
|
|
@@ -3074,32 +3117,32 @@ var jt = _i ? (
|
|
|
3074
3117
|
) : (
|
|
3075
3118
|
// Ponyfill
|
|
3076
3119
|
function(t) {
|
|
3077
|
-
return t.replace(
|
|
3120
|
+
return t.replace(xi, "");
|
|
3078
3121
|
}
|
|
3079
3122
|
);
|
|
3080
|
-
function
|
|
3123
|
+
function Rr(e, t) {
|
|
3081
3124
|
return new RegExp(e, t);
|
|
3082
3125
|
}
|
|
3083
|
-
var
|
|
3084
|
-
if (
|
|
3085
|
-
var
|
|
3086
|
-
|
|
3126
|
+
var ht;
|
|
3127
|
+
if (ut) {
|
|
3128
|
+
var Jt = Rr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3129
|
+
ht = function(t, r) {
|
|
3087
3130
|
var n;
|
|
3088
|
-
|
|
3089
|
-
var i =
|
|
3131
|
+
Jt.lastIndex = r;
|
|
3132
|
+
var i = Jt.exec(t);
|
|
3090
3133
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3091
3134
|
};
|
|
3092
3135
|
} else
|
|
3093
|
-
|
|
3136
|
+
ht = function(t, r) {
|
|
3094
3137
|
for (var n = []; ; ) {
|
|
3095
|
-
var i =
|
|
3096
|
-
if (i === void 0 ||
|
|
3138
|
+
var i = Lr(t, r);
|
|
3139
|
+
if (i === void 0 || Nr(i) || Ui(i))
|
|
3097
3140
|
break;
|
|
3098
3141
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3099
3142
|
}
|
|
3100
|
-
return
|
|
3143
|
+
return lt.apply(void 0, n);
|
|
3101
3144
|
};
|
|
3102
|
-
var
|
|
3145
|
+
var Mi = (
|
|
3103
3146
|
/** @class */
|
|
3104
3147
|
function() {
|
|
3105
3148
|
function e(t, r) {
|
|
@@ -3123,14 +3166,14 @@ var Ci = (
|
|
|
3123
3166
|
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3124
3167
|
var a = this.clonePosition();
|
|
3125
3168
|
this.bump(), i.push({
|
|
3126
|
-
type:
|
|
3169
|
+
type: x.pound,
|
|
3127
3170
|
location: _(a, this.clonePosition())
|
|
3128
3171
|
});
|
|
3129
3172
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3130
3173
|
if (n)
|
|
3131
3174
|
break;
|
|
3132
3175
|
return this.error(v.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
|
|
3133
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
3176
|
+
} else if (s === 60 && !this.ignoreTag && ft(this.peek() || 0)) {
|
|
3134
3177
|
var o = this.parseTag(t, r);
|
|
3135
3178
|
if (o.err)
|
|
3136
3179
|
return o;
|
|
@@ -3151,7 +3194,7 @@ var Ci = (
|
|
|
3151
3194
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3152
3195
|
return {
|
|
3153
3196
|
val: {
|
|
3154
|
-
type:
|
|
3197
|
+
type: x.literal,
|
|
3155
3198
|
value: "<".concat(i, "/>"),
|
|
3156
3199
|
location: _(n, this.clonePosition())
|
|
3157
3200
|
},
|
|
@@ -3163,12 +3206,12 @@ var Ci = (
|
|
|
3163
3206
|
return s;
|
|
3164
3207
|
var o = s.val, a = this.clonePosition();
|
|
3165
3208
|
if (this.bumpIf("</")) {
|
|
3166
|
-
if (this.isEOF() || !
|
|
3209
|
+
if (this.isEOF() || !ft(this.char()))
|
|
3167
3210
|
return this.error(v.INVALID_TAG, _(a, this.clonePosition()));
|
|
3168
3211
|
var h = this.clonePosition(), l = this.parseTagName();
|
|
3169
3212
|
return i !== l ? this.error(v.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3170
3213
|
val: {
|
|
3171
|
-
type:
|
|
3214
|
+
type: x.tag,
|
|
3172
3215
|
value: i,
|
|
3173
3216
|
children: o,
|
|
3174
3217
|
location: _(n, this.clonePosition())
|
|
@@ -3181,7 +3224,7 @@ var Ci = (
|
|
|
3181
3224
|
return this.error(v.INVALID_TAG, _(n, this.clonePosition()));
|
|
3182
3225
|
}, e.prototype.parseTagName = function() {
|
|
3183
3226
|
var t = this.offset();
|
|
3184
|
-
for (this.bump(); !this.isEOF() &&
|
|
3227
|
+
for (this.bump(); !this.isEOF() && Fi(this.char()); )
|
|
3185
3228
|
this.bump();
|
|
3186
3229
|
return this.message.slice(t, this.offset());
|
|
3187
3230
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3205,12 +3248,12 @@ var Ci = (
|
|
|
3205
3248
|
}
|
|
3206
3249
|
var h = _(n, this.clonePosition());
|
|
3207
3250
|
return {
|
|
3208
|
-
val: { type:
|
|
3251
|
+
val: { type: x.literal, value: i, location: h },
|
|
3209
3252
|
err: null
|
|
3210
3253
|
};
|
|
3211
3254
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3212
3255
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3213
|
-
!
|
|
3256
|
+
!Di(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3214
3257
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3215
3258
|
if (this.isEOF() || this.char() !== 39)
|
|
3216
3259
|
return null;
|
|
@@ -3244,12 +3287,12 @@ var Ci = (
|
|
|
3244
3287
|
r.push(n);
|
|
3245
3288
|
this.bump();
|
|
3246
3289
|
}
|
|
3247
|
-
return
|
|
3290
|
+
return lt.apply(void 0, r);
|
|
3248
3291
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3249
3292
|
if (this.isEOF())
|
|
3250
3293
|
return null;
|
|
3251
3294
|
var n = this.char();
|
|
3252
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3295
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), lt(n));
|
|
3253
3296
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3254
3297
|
var n = this.clonePosition();
|
|
3255
3298
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3265,7 +3308,7 @@ var Ci = (
|
|
|
3265
3308
|
case 125:
|
|
3266
3309
|
return this.bump(), {
|
|
3267
3310
|
val: {
|
|
3268
|
-
type:
|
|
3311
|
+
type: x.argument,
|
|
3269
3312
|
// value does not include the opening and closing braces.
|
|
3270
3313
|
value: i,
|
|
3271
3314
|
location: _(n, this.clonePosition())
|
|
@@ -3278,7 +3321,7 @@ var Ci = (
|
|
|
3278
3321
|
return this.error(v.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
|
|
3279
3322
|
}
|
|
3280
3323
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3281
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3324
|
+
var t = this.clonePosition(), r = this.offset(), n = ht(this.message, r), i = r + n.length;
|
|
3282
3325
|
this.bumpTo(i);
|
|
3283
3326
|
var s = this.clonePosition(), o = _(t, s);
|
|
3284
3327
|
return { value: n, location: o };
|
|
@@ -3297,44 +3340,44 @@ var Ci = (
|
|
|
3297
3340
|
var u = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3298
3341
|
if (c.err)
|
|
3299
3342
|
return c;
|
|
3300
|
-
var
|
|
3301
|
-
if (
|
|
3343
|
+
var m = Ni(c.val);
|
|
3344
|
+
if (m.length === 0)
|
|
3302
3345
|
return this.error(v.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
3303
3346
|
var y = _(u, this.clonePosition());
|
|
3304
|
-
l = { style:
|
|
3347
|
+
l = { style: m, styleLocation: y };
|
|
3305
3348
|
}
|
|
3306
3349
|
var g = this.tryParseArgumentClose(i);
|
|
3307
3350
|
if (g.err)
|
|
3308
3351
|
return g;
|
|
3309
3352
|
var d = _(i, this.clonePosition());
|
|
3310
|
-
if (l &&
|
|
3311
|
-
var b =
|
|
3353
|
+
if (l && zt(l?.style, "::", 0)) {
|
|
3354
|
+
var b = Ri(l.style.slice(2));
|
|
3312
3355
|
if (a === "number") {
|
|
3313
3356
|
var c = this.parseNumberSkeletonFromString(b, l.styleLocation);
|
|
3314
3357
|
return c.err ? c : {
|
|
3315
|
-
val: { type:
|
|
3358
|
+
val: { type: x.number, value: n, location: d, style: c.val },
|
|
3316
3359
|
err: null
|
|
3317
3360
|
};
|
|
3318
3361
|
} else {
|
|
3319
3362
|
if (b.length === 0)
|
|
3320
3363
|
return this.error(v.EXPECT_DATE_TIME_SKELETON, d);
|
|
3321
|
-
var
|
|
3322
|
-
this.locale && (
|
|
3323
|
-
var
|
|
3324
|
-
type:
|
|
3325
|
-
pattern:
|
|
3364
|
+
var w = b;
|
|
3365
|
+
this.locale && (w = Ei(b, this.locale));
|
|
3366
|
+
var m = {
|
|
3367
|
+
type: re.dateTime,
|
|
3368
|
+
pattern: w,
|
|
3326
3369
|
location: l.styleLocation,
|
|
3327
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3328
|
-
}, O = a === "date" ?
|
|
3370
|
+
parsedOptions: this.shouldParseSkeletons ? mi(w) : {}
|
|
3371
|
+
}, O = a === "date" ? x.date : x.time;
|
|
3329
3372
|
return {
|
|
3330
|
-
val: { type: O, value: n, location: d, style:
|
|
3373
|
+
val: { type: O, value: n, location: d, style: m },
|
|
3331
3374
|
err: null
|
|
3332
3375
|
};
|
|
3333
3376
|
}
|
|
3334
3377
|
}
|
|
3335
3378
|
return {
|
|
3336
3379
|
val: {
|
|
3337
|
-
type: a === "number" ?
|
|
3380
|
+
type: a === "number" ? x.number : a === "date" ? x.date : x.time,
|
|
3338
3381
|
value: n,
|
|
3339
3382
|
location: d,
|
|
3340
3383
|
style: (s = l?.style) !== null && s !== void 0 ? s : null
|
|
@@ -3347,7 +3390,7 @@ var Ci = (
|
|
|
3347
3390
|
case "select": {
|
|
3348
3391
|
var P = this.clonePosition();
|
|
3349
3392
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3350
|
-
return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, _(P,
|
|
3393
|
+
return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, _(P, Ce({}, P)));
|
|
3351
3394
|
this.bumpSpace();
|
|
3352
3395
|
var R = this.parseIdentifierIfPossible(), N = 0;
|
|
3353
3396
|
if (a !== "select" && R.value === "offset") {
|
|
@@ -3368,17 +3411,17 @@ var Ci = (
|
|
|
3368
3411
|
var D = _(i, this.clonePosition());
|
|
3369
3412
|
return a === "select" ? {
|
|
3370
3413
|
val: {
|
|
3371
|
-
type:
|
|
3414
|
+
type: x.select,
|
|
3372
3415
|
value: n,
|
|
3373
|
-
options:
|
|
3416
|
+
options: Zt(C.val),
|
|
3374
3417
|
location: D
|
|
3375
3418
|
},
|
|
3376
3419
|
err: null
|
|
3377
3420
|
} : {
|
|
3378
3421
|
val: {
|
|
3379
|
-
type:
|
|
3422
|
+
type: x.plural,
|
|
3380
3423
|
value: n,
|
|
3381
|
-
options:
|
|
3424
|
+
options: Zt(C.val),
|
|
3382
3425
|
offset: N,
|
|
3383
3426
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3384
3427
|
location: D
|
|
@@ -3429,16 +3472,16 @@ var Ci = (
|
|
|
3429
3472
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3430
3473
|
var n = [];
|
|
3431
3474
|
try {
|
|
3432
|
-
n =
|
|
3475
|
+
n = gi(t);
|
|
3433
3476
|
} catch {
|
|
3434
3477
|
return this.error(v.INVALID_NUMBER_SKELETON, r);
|
|
3435
3478
|
}
|
|
3436
3479
|
return {
|
|
3437
3480
|
val: {
|
|
3438
|
-
type:
|
|
3481
|
+
type: re.number,
|
|
3439
3482
|
tokens: n,
|
|
3440
3483
|
location: r,
|
|
3441
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3484
|
+
parsedOptions: this.shouldParseSkeletons ? _i(n) : {}
|
|
3442
3485
|
},
|
|
3443
3486
|
err: null
|
|
3444
3487
|
};
|
|
@@ -3447,9 +3490,9 @@ var Ci = (
|
|
|
3447
3490
|
if (l.length === 0) {
|
|
3448
3491
|
var c = this.clonePosition();
|
|
3449
3492
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3450
|
-
var
|
|
3451
|
-
if (
|
|
3452
|
-
return
|
|
3493
|
+
var m = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR, v.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3494
|
+
if (m.err)
|
|
3495
|
+
return m;
|
|
3453
3496
|
u = _(c, this.clonePosition()), l = this.message.slice(c.offset, this.offset());
|
|
3454
3497
|
} else
|
|
3455
3498
|
break;
|
|
@@ -3486,7 +3529,7 @@ var Ci = (
|
|
|
3486
3529
|
break;
|
|
3487
3530
|
}
|
|
3488
3531
|
var h = _(i, this.clonePosition());
|
|
3489
|
-
return s ? (o *= n,
|
|
3532
|
+
return s ? (o *= n, Ii(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3490
3533
|
}, e.prototype.offset = function() {
|
|
3491
3534
|
return this.position.offset;
|
|
3492
3535
|
}, e.prototype.isEOF = function() {
|
|
@@ -3501,7 +3544,7 @@ var Ci = (
|
|
|
3501
3544
|
var t = this.position.offset;
|
|
3502
3545
|
if (t >= this.message.length)
|
|
3503
3546
|
throw Error("out of bound");
|
|
3504
|
-
var r =
|
|
3547
|
+
var r = Lr(this.message, t);
|
|
3505
3548
|
if (r === void 0)
|
|
3506
3549
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3507
3550
|
return r;
|
|
@@ -3520,7 +3563,7 @@ var Ci = (
|
|
|
3520
3563
|
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
3564
|
}
|
|
3522
3565
|
}, e.prototype.bumpIf = function(t) {
|
|
3523
|
-
if (
|
|
3566
|
+
if (zt(this.message, t, this.offset())) {
|
|
3524
3567
|
for (var r = 0; r < t.length; r++)
|
|
3525
3568
|
this.bump();
|
|
3526
3569
|
return !0;
|
|
@@ -3542,7 +3585,7 @@ var Ci = (
|
|
|
3542
3585
|
break;
|
|
3543
3586
|
}
|
|
3544
3587
|
}, e.prototype.bumpSpace = function() {
|
|
3545
|
-
for (; !this.isEOF() &&
|
|
3588
|
+
for (; !this.isEOF() && Nr(this.char()); )
|
|
3546
3589
|
this.bump();
|
|
3547
3590
|
}, e.prototype.peek = function() {
|
|
3548
3591
|
if (this.isEOF())
|
|
@@ -3552,47 +3595,47 @@ var Ci = (
|
|
|
3552
3595
|
}, e;
|
|
3553
3596
|
}()
|
|
3554
3597
|
);
|
|
3555
|
-
function
|
|
3598
|
+
function ft(e) {
|
|
3556
3599
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3557
3600
|
}
|
|
3558
|
-
function
|
|
3559
|
-
return
|
|
3601
|
+
function Di(e) {
|
|
3602
|
+
return ft(e) || e === 47;
|
|
3560
3603
|
}
|
|
3561
|
-
function
|
|
3604
|
+
function Fi(e) {
|
|
3562
3605
|
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
3606
|
}
|
|
3564
|
-
function
|
|
3607
|
+
function Nr(e) {
|
|
3565
3608
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3566
3609
|
}
|
|
3567
|
-
function
|
|
3610
|
+
function Ui(e) {
|
|
3568
3611
|
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
3612
|
}
|
|
3570
|
-
function
|
|
3613
|
+
function ct(e) {
|
|
3571
3614
|
e.forEach(function(t) {
|
|
3572
|
-
if (delete t.location,
|
|
3615
|
+
if (delete t.location, Tr(t) || Hr(t))
|
|
3573
3616
|
for (var r in t.options)
|
|
3574
|
-
delete t.options[r].location,
|
|
3617
|
+
delete t.options[r].location, ct(t.options[r].value);
|
|
3575
3618
|
else
|
|
3576
|
-
|
|
3619
|
+
wr(t) && Ar(t.style) || (Sr(t) || xr(t)) && at(t.style) ? delete t.style.location : Br(t) && ct(t.children);
|
|
3577
3620
|
});
|
|
3578
3621
|
}
|
|
3579
|
-
function
|
|
3580
|
-
t === void 0 && (t = {}), t =
|
|
3581
|
-
var r = new
|
|
3622
|
+
function ki(e, t) {
|
|
3623
|
+
t === void 0 && (t = {}), t = Ce({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3624
|
+
var r = new Mi(e, t).parse();
|
|
3582
3625
|
if (r.err) {
|
|
3583
3626
|
var n = SyntaxError(v[r.err.kind]);
|
|
3584
3627
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3585
3628
|
}
|
|
3586
|
-
return t?.captureLocation ||
|
|
3629
|
+
return t?.captureLocation || ct(r.val), r.val;
|
|
3587
3630
|
}
|
|
3588
|
-
var
|
|
3631
|
+
var ne;
|
|
3589
3632
|
(function(e) {
|
|
3590
3633
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3591
|
-
})(
|
|
3592
|
-
var
|
|
3634
|
+
})(ne || (ne = {}));
|
|
3635
|
+
var De = (
|
|
3593
3636
|
/** @class */
|
|
3594
3637
|
function(e) {
|
|
3595
|
-
|
|
3638
|
+
Me(t, e);
|
|
3596
3639
|
function t(r, n, i) {
|
|
3597
3640
|
var s = e.call(this, r) || this;
|
|
3598
3641
|
return s.code = n, s.originalMessage = i, s;
|
|
@@ -3601,48 +3644,48 @@ var Ne = (
|
|
|
3601
3644
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3602
3645
|
}, t;
|
|
3603
3646
|
}(Error)
|
|
3604
|
-
),
|
|
3647
|
+
), qt = (
|
|
3605
3648
|
/** @class */
|
|
3606
3649
|
function(e) {
|
|
3607
|
-
|
|
3650
|
+
Me(t, e);
|
|
3608
3651
|
function t(r, n, i, s) {
|
|
3609
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3652
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ne.INVALID_VALUE, s) || this;
|
|
3610
3653
|
}
|
|
3611
3654
|
return t;
|
|
3612
|
-
}(
|
|
3613
|
-
),
|
|
3655
|
+
}(De)
|
|
3656
|
+
), Gi = (
|
|
3614
3657
|
/** @class */
|
|
3615
3658
|
function(e) {
|
|
3616
|
-
|
|
3659
|
+
Me(t, e);
|
|
3617
3660
|
function t(r, n, i) {
|
|
3618
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3661
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ne.INVALID_VALUE, i) || this;
|
|
3619
3662
|
}
|
|
3620
3663
|
return t;
|
|
3621
|
-
}(
|
|
3622
|
-
),
|
|
3664
|
+
}(De)
|
|
3665
|
+
), ji = (
|
|
3623
3666
|
/** @class */
|
|
3624
3667
|
function(e) {
|
|
3625
|
-
|
|
3668
|
+
Me(t, e);
|
|
3626
3669
|
function t(r, n) {
|
|
3627
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3670
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ne.MISSING_VALUE, n) || this;
|
|
3628
3671
|
}
|
|
3629
3672
|
return t;
|
|
3630
|
-
}(
|
|
3673
|
+
}(De)
|
|
3631
3674
|
), L;
|
|
3632
3675
|
(function(e) {
|
|
3633
3676
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3634
3677
|
})(L || (L = {}));
|
|
3635
|
-
function
|
|
3678
|
+
function $i(e) {
|
|
3636
3679
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3637
3680
|
var n = t[t.length - 1];
|
|
3638
3681
|
return !n || n.type !== L.literal || r.type !== L.literal ? t.push(r) : n.value += r.value, t;
|
|
3639
3682
|
}, []);
|
|
3640
3683
|
}
|
|
3641
|
-
function
|
|
3684
|
+
function Vi(e) {
|
|
3642
3685
|
return typeof e == "function";
|
|
3643
3686
|
}
|
|
3644
3687
|
function Ae(e, t, r, n, i, s, o) {
|
|
3645
|
-
if (e.length === 1 &&
|
|
3688
|
+
if (e.length === 1 && $t(e[0]))
|
|
3646
3689
|
return [
|
|
3647
3690
|
{
|
|
3648
3691
|
type: L.literal,
|
|
@@ -3651,14 +3694,14 @@ function Ae(e, t, r, n, i, s, o) {
|
|
|
3651
3694
|
];
|
|
3652
3695
|
for (var a = [], h = 0, l = e; h < l.length; h++) {
|
|
3653
3696
|
var u = l[h];
|
|
3654
|
-
if (
|
|
3697
|
+
if ($t(u)) {
|
|
3655
3698
|
a.push({
|
|
3656
3699
|
type: L.literal,
|
|
3657
3700
|
value: u.value
|
|
3658
3701
|
});
|
|
3659
3702
|
continue;
|
|
3660
3703
|
}
|
|
3661
|
-
if (
|
|
3704
|
+
if (ci(u)) {
|
|
3662
3705
|
typeof s == "number" && a.push({
|
|
3663
3706
|
type: L.literal,
|
|
3664
3707
|
value: r.getNumberFormat(t).format(s)
|
|
@@ -3667,44 +3710,44 @@ function Ae(e, t, r, n, i, s, o) {
|
|
|
3667
3710
|
}
|
|
3668
3711
|
var c = u.value;
|
|
3669
3712
|
if (!(i && c in i))
|
|
3670
|
-
throw new
|
|
3671
|
-
var
|
|
3672
|
-
if (
|
|
3673
|
-
(!
|
|
3674
|
-
type: typeof
|
|
3675
|
-
value:
|
|
3713
|
+
throw new ji(c, o);
|
|
3714
|
+
var m = i[c];
|
|
3715
|
+
if (fi(u)) {
|
|
3716
|
+
(!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), a.push({
|
|
3717
|
+
type: typeof m == "string" ? L.literal : L.object,
|
|
3718
|
+
value: m
|
|
3676
3719
|
});
|
|
3677
3720
|
continue;
|
|
3678
3721
|
}
|
|
3679
|
-
if (
|
|
3680
|
-
var y = typeof u.style == "string" ? n.date[u.style] :
|
|
3722
|
+
if (Sr(u)) {
|
|
3723
|
+
var y = typeof u.style == "string" ? n.date[u.style] : at(u.style) ? u.style.parsedOptions : void 0;
|
|
3681
3724
|
a.push({
|
|
3682
3725
|
type: L.literal,
|
|
3683
|
-
value: r.getDateTimeFormat(t, y).format(
|
|
3726
|
+
value: r.getDateTimeFormat(t, y).format(m)
|
|
3684
3727
|
});
|
|
3685
3728
|
continue;
|
|
3686
3729
|
}
|
|
3687
|
-
if (
|
|
3688
|
-
var y = typeof u.style == "string" ? n.time[u.style] :
|
|
3730
|
+
if (xr(u)) {
|
|
3731
|
+
var y = typeof u.style == "string" ? n.time[u.style] : at(u.style) ? u.style.parsedOptions : n.time.medium;
|
|
3689
3732
|
a.push({
|
|
3690
3733
|
type: L.literal,
|
|
3691
|
-
value: r.getDateTimeFormat(t, y).format(
|
|
3734
|
+
value: r.getDateTimeFormat(t, y).format(m)
|
|
3692
3735
|
});
|
|
3693
3736
|
continue;
|
|
3694
3737
|
}
|
|
3695
|
-
if (
|
|
3696
|
-
var y = typeof u.style == "string" ? n.number[u.style] :
|
|
3697
|
-
y && y.scale && (
|
|
3738
|
+
if (wr(u)) {
|
|
3739
|
+
var y = typeof u.style == "string" ? n.number[u.style] : Ar(u.style) ? u.style.parsedOptions : void 0;
|
|
3740
|
+
y && y.scale && (m = m * (y.scale || 1)), a.push({
|
|
3698
3741
|
type: L.literal,
|
|
3699
|
-
value: r.getNumberFormat(t, y).format(
|
|
3742
|
+
value: r.getNumberFormat(t, y).format(m)
|
|
3700
3743
|
});
|
|
3701
3744
|
continue;
|
|
3702
3745
|
}
|
|
3703
|
-
if (
|
|
3746
|
+
if (Br(u)) {
|
|
3704
3747
|
var g = u.children, d = u.value, b = i[d];
|
|
3705
|
-
if (!
|
|
3706
|
-
throw new
|
|
3707
|
-
var
|
|
3748
|
+
if (!Vi(b))
|
|
3749
|
+
throw new Gi(d, "function", o);
|
|
3750
|
+
var w = Ae(g, t, r, n, i, s), O = b(w.map(function(N) {
|
|
3708
3751
|
return N.value;
|
|
3709
3752
|
}));
|
|
3710
3753
|
Array.isArray(O) || (O = [O]), a.push.apply(a, O.map(function(N) {
|
|
@@ -3714,42 +3757,42 @@ function Ae(e, t, r, n, i, s, o) {
|
|
|
3714
3757
|
};
|
|
3715
3758
|
}));
|
|
3716
3759
|
}
|
|
3717
|
-
if (
|
|
3718
|
-
var P = u.options[
|
|
3760
|
+
if (Tr(u)) {
|
|
3761
|
+
var P = u.options[m] || u.options.other;
|
|
3719
3762
|
if (!P)
|
|
3720
|
-
throw new
|
|
3763
|
+
throw new qt(u.value, m, Object.keys(u.options), o);
|
|
3721
3764
|
a.push.apply(a, Ae(P.value, t, r, n, i));
|
|
3722
3765
|
continue;
|
|
3723
3766
|
}
|
|
3724
|
-
if (
|
|
3725
|
-
var P = u.options["=".concat(
|
|
3767
|
+
if (Hr(u)) {
|
|
3768
|
+
var P = u.options["=".concat(m)];
|
|
3726
3769
|
if (!P) {
|
|
3727
3770
|
if (!Intl.PluralRules)
|
|
3728
|
-
throw new
|
|
3771
|
+
throw new De(`Intl.PluralRules is not available in this environment.
|
|
3729
3772
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3730
|
-
`,
|
|
3731
|
-
var R = r.getPluralRules(t, { type: u.pluralType }).select(
|
|
3773
|
+
`, ne.MISSING_INTL_API, o);
|
|
3774
|
+
var R = r.getPluralRules(t, { type: u.pluralType }).select(m - (u.offset || 0));
|
|
3732
3775
|
P = u.options[R] || u.options.other;
|
|
3733
3776
|
}
|
|
3734
3777
|
if (!P)
|
|
3735
|
-
throw new
|
|
3736
|
-
a.push.apply(a, Ae(P.value, t, r, n, i,
|
|
3778
|
+
throw new qt(u.value, m, Object.keys(u.options), o);
|
|
3779
|
+
a.push.apply(a, Ae(P.value, t, r, n, i, m - (u.offset || 0)));
|
|
3737
3780
|
continue;
|
|
3738
3781
|
}
|
|
3739
3782
|
}
|
|
3740
|
-
return
|
|
3783
|
+
return $i(a);
|
|
3741
3784
|
}
|
|
3742
|
-
function
|
|
3743
|
-
return t ?
|
|
3744
|
-
return r[n] =
|
|
3785
|
+
function Xi(e, t) {
|
|
3786
|
+
return t ? G(G(G({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3787
|
+
return r[n] = G(G({}, e[n]), t[n] || {}), r;
|
|
3745
3788
|
}, {})) : e;
|
|
3746
3789
|
}
|
|
3747
|
-
function
|
|
3790
|
+
function Wi(e, t) {
|
|
3748
3791
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3749
|
-
return r[n] =
|
|
3750
|
-
},
|
|
3792
|
+
return r[n] = Xi(e[n], t[n]), r;
|
|
3793
|
+
}, G({}, e)) : e;
|
|
3751
3794
|
}
|
|
3752
|
-
function
|
|
3795
|
+
function qe(e) {
|
|
3753
3796
|
return {
|
|
3754
3797
|
create: function() {
|
|
3755
3798
|
return {
|
|
@@ -3763,39 +3806,39 @@ function ze(e) {
|
|
|
3763
3806
|
}
|
|
3764
3807
|
};
|
|
3765
3808
|
}
|
|
3766
|
-
function
|
|
3809
|
+
function zi(e) {
|
|
3767
3810
|
return e === void 0 && (e = {
|
|
3768
3811
|
number: {},
|
|
3769
3812
|
dateTime: {},
|
|
3770
3813
|
pluralRules: {}
|
|
3771
3814
|
}), {
|
|
3772
|
-
getNumberFormat:
|
|
3815
|
+
getNumberFormat: ze(function() {
|
|
3773
3816
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3774
3817
|
r[n] = arguments[n];
|
|
3775
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3818
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, We([void 0], r, !1)))();
|
|
3776
3819
|
}, {
|
|
3777
|
-
cache:
|
|
3778
|
-
strategy:
|
|
3820
|
+
cache: qe(e.number),
|
|
3821
|
+
strategy: Ze.variadic
|
|
3779
3822
|
}),
|
|
3780
|
-
getDateTimeFormat:
|
|
3823
|
+
getDateTimeFormat: ze(function() {
|
|
3781
3824
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3782
3825
|
r[n] = arguments[n];
|
|
3783
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3826
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, We([void 0], r, !1)))();
|
|
3784
3827
|
}, {
|
|
3785
|
-
cache:
|
|
3786
|
-
strategy:
|
|
3828
|
+
cache: qe(e.dateTime),
|
|
3829
|
+
strategy: Ze.variadic
|
|
3787
3830
|
}),
|
|
3788
|
-
getPluralRules:
|
|
3831
|
+
getPluralRules: ze(function() {
|
|
3789
3832
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3790
3833
|
r[n] = arguments[n];
|
|
3791
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3834
|
+
return new ((t = Intl.PluralRules).bind.apply(t, We([void 0], r, !1)))();
|
|
3792
3835
|
}, {
|
|
3793
|
-
cache:
|
|
3794
|
-
strategy:
|
|
3836
|
+
cache: qe(e.pluralRules),
|
|
3837
|
+
strategy: Ze.variadic
|
|
3795
3838
|
})
|
|
3796
3839
|
};
|
|
3797
3840
|
}
|
|
3798
|
-
var
|
|
3841
|
+
var Zi = (
|
|
3799
3842
|
/** @class */
|
|
3800
3843
|
function() {
|
|
3801
3844
|
function e(t, r, n, i) {
|
|
@@ -3809,8 +3852,8 @@ var $i = (
|
|
|
3809
3852
|
var l = s.formatToParts(h);
|
|
3810
3853
|
if (l.length === 1)
|
|
3811
3854
|
return l[0].value;
|
|
3812
|
-
var u = l.reduce(function(c,
|
|
3813
|
-
return !c.length ||
|
|
3855
|
+
var u = l.reduce(function(c, m) {
|
|
3856
|
+
return !c.length || m.type !== L.literal || typeof c[c.length - 1] != "string" ? c.push(m.value) : c[c.length - 1] += m.value, c;
|
|
3814
3857
|
}, []);
|
|
3815
3858
|
return u.length <= 1 ? u[0] || "" : u;
|
|
3816
3859
|
}, this.formatToParts = function(h) {
|
|
@@ -3827,13 +3870,13 @@ var $i = (
|
|
|
3827
3870
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3828
3871
|
var o = i || {};
|
|
3829
3872
|
o.formatters;
|
|
3830
|
-
var a =
|
|
3831
|
-
this.ast = e.__parse(t,
|
|
3873
|
+
var a = ni(o, ["formatters"]);
|
|
3874
|
+
this.ast = e.__parse(t, G(G({}, a), { locale: this.resolvedLocale }));
|
|
3832
3875
|
} else
|
|
3833
3876
|
this.ast = t;
|
|
3834
3877
|
if (!Array.isArray(this.ast))
|
|
3835
3878
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3836
|
-
this.formats =
|
|
3879
|
+
this.formats = Wi(e.formats, n), this.formatters = i && i.formatters || zi(this.formatterCache);
|
|
3837
3880
|
}
|
|
3838
3881
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3839
3882
|
get: function() {
|
|
@@ -3846,7 +3889,7 @@ var $i = (
|
|
|
3846
3889
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3847
3890
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3848
3891
|
}
|
|
3849
|
-
}, e.__parse =
|
|
3892
|
+
}, e.__parse = ki, e.formats = {
|
|
3850
3893
|
number: {
|
|
3851
3894
|
integer: {
|
|
3852
3895
|
maximumFractionDigits: 0
|
|
@@ -3907,7 +3950,7 @@ var $i = (
|
|
|
3907
3950
|
}, e;
|
|
3908
3951
|
}()
|
|
3909
3952
|
);
|
|
3910
|
-
function
|
|
3953
|
+
function Ji(e, t) {
|
|
3911
3954
|
if (t == null)
|
|
3912
3955
|
return;
|
|
3913
3956
|
if (t in e)
|
|
@@ -3928,92 +3971,92 @@ function Vi(e, t) {
|
|
|
3928
3971
|
n = void 0;
|
|
3929
3972
|
return n;
|
|
3930
3973
|
}
|
|
3931
|
-
const z = {},
|
|
3974
|
+
const z = {}, qi = (e, t, r) => r && (t in z || (z[t] = {}), e in z[t] || (z[t][e] = r), r), Mr = (e, t) => {
|
|
3932
3975
|
if (t == null)
|
|
3933
3976
|
return;
|
|
3934
3977
|
if (t in z && e in z[t])
|
|
3935
3978
|
return z[t][e];
|
|
3936
|
-
const r =
|
|
3979
|
+
const r = Fe(t);
|
|
3937
3980
|
for (let n = 0; n < r.length; n++) {
|
|
3938
|
-
const i = r[n], s =
|
|
3981
|
+
const i = r[n], s = Yi(i, e);
|
|
3939
3982
|
if (s)
|
|
3940
|
-
return
|
|
3983
|
+
return qi(e, t, s);
|
|
3941
3984
|
}
|
|
3942
3985
|
};
|
|
3943
|
-
let
|
|
3944
|
-
const
|
|
3945
|
-
function
|
|
3946
|
-
return
|
|
3986
|
+
let gt;
|
|
3987
|
+
const oe = Ne({});
|
|
3988
|
+
function Qi(e) {
|
|
3989
|
+
return gt[e] || null;
|
|
3947
3990
|
}
|
|
3948
|
-
function
|
|
3949
|
-
return e in
|
|
3991
|
+
function Dr(e) {
|
|
3992
|
+
return e in gt;
|
|
3950
3993
|
}
|
|
3951
|
-
function
|
|
3952
|
-
if (!
|
|
3994
|
+
function Yi(e, t) {
|
|
3995
|
+
if (!Dr(e))
|
|
3953
3996
|
return null;
|
|
3954
|
-
const r =
|
|
3955
|
-
return
|
|
3997
|
+
const r = Qi(e);
|
|
3998
|
+
return Ji(r, t);
|
|
3956
3999
|
}
|
|
3957
|
-
function
|
|
4000
|
+
function Ki(e) {
|
|
3958
4001
|
if (e == null)
|
|
3959
4002
|
return;
|
|
3960
|
-
const t =
|
|
4003
|
+
const t = Fe(e);
|
|
3961
4004
|
for (let r = 0; r < t.length; r++) {
|
|
3962
4005
|
const n = t[r];
|
|
3963
|
-
if (
|
|
4006
|
+
if (Dr(n))
|
|
3964
4007
|
return n;
|
|
3965
4008
|
}
|
|
3966
4009
|
}
|
|
3967
|
-
function
|
|
3968
|
-
delete z[e],
|
|
4010
|
+
function Fr(e, ...t) {
|
|
4011
|
+
delete z[e], oe.update((r) => (r[e] = ri.all([r[e] || {}, ...t]), r));
|
|
3969
4012
|
}
|
|
3970
|
-
|
|
3971
|
-
[
|
|
4013
|
+
se(
|
|
4014
|
+
[oe],
|
|
3972
4015
|
([e]) => Object.keys(e)
|
|
3973
4016
|
);
|
|
3974
|
-
|
|
4017
|
+
oe.subscribe((e) => gt = e);
|
|
3975
4018
|
const Pe = {};
|
|
3976
|
-
function
|
|
4019
|
+
function es(e, t) {
|
|
3977
4020
|
Pe[e].delete(t), Pe[e].size === 0 && delete Pe[e];
|
|
3978
4021
|
}
|
|
3979
|
-
function
|
|
4022
|
+
function Ur(e) {
|
|
3980
4023
|
return Pe[e];
|
|
3981
4024
|
}
|
|
3982
|
-
function
|
|
3983
|
-
return
|
|
3984
|
-
const r =
|
|
4025
|
+
function ts(e) {
|
|
4026
|
+
return Fe(e).map((t) => {
|
|
4027
|
+
const r = Ur(t);
|
|
3985
4028
|
return [t, r ? [...r] : []];
|
|
3986
4029
|
}).filter(([, t]) => t.length > 0);
|
|
3987
4030
|
}
|
|
3988
|
-
function
|
|
3989
|
-
return e == null ? !1 :
|
|
4031
|
+
function pt(e) {
|
|
4032
|
+
return e == null ? !1 : Fe(e).some(
|
|
3990
4033
|
(t) => {
|
|
3991
4034
|
var r;
|
|
3992
|
-
return (r =
|
|
4035
|
+
return (r = Ur(t)) == null ? void 0 : r.size;
|
|
3993
4036
|
}
|
|
3994
4037
|
);
|
|
3995
4038
|
}
|
|
3996
|
-
function
|
|
4039
|
+
function rs(e, t) {
|
|
3997
4040
|
return Promise.all(
|
|
3998
|
-
t.map((n) => (
|
|
3999
|
-
).then((n) =>
|
|
4000
|
-
}
|
|
4001
|
-
const
|
|
4002
|
-
function
|
|
4003
|
-
if (!
|
|
4004
|
-
return e in
|
|
4005
|
-
const t =
|
|
4006
|
-
return
|
|
4041
|
+
t.map((n) => (es(e, n), n().then((i) => i.default || i)))
|
|
4042
|
+
).then((n) => Fr(e, ...n));
|
|
4043
|
+
}
|
|
4044
|
+
const he = {};
|
|
4045
|
+
function kr(e) {
|
|
4046
|
+
if (!pt(e))
|
|
4047
|
+
return e in he ? he[e] : Promise.resolve();
|
|
4048
|
+
const t = ts(e);
|
|
4049
|
+
return he[e] = Promise.all(
|
|
4007
4050
|
t.map(
|
|
4008
|
-
([r, n]) =>
|
|
4051
|
+
([r, n]) => rs(r, n)
|
|
4009
4052
|
)
|
|
4010
4053
|
).then(() => {
|
|
4011
|
-
if (
|
|
4012
|
-
return
|
|
4013
|
-
delete
|
|
4014
|
-
}),
|
|
4054
|
+
if (pt(e))
|
|
4055
|
+
return kr(e);
|
|
4056
|
+
delete he[e];
|
|
4057
|
+
}), he[e];
|
|
4015
4058
|
}
|
|
4016
|
-
const
|
|
4059
|
+
const ns = {
|
|
4017
4060
|
number: {
|
|
4018
4061
|
scientific: { notation: "scientific" },
|
|
4019
4062
|
engineering: { notation: "engineering" },
|
|
@@ -4042,135 +4085,135 @@ const Yi = {
|
|
|
4042
4085
|
timeZoneName: "short"
|
|
4043
4086
|
}
|
|
4044
4087
|
}
|
|
4045
|
-
},
|
|
4088
|
+
}, is = {
|
|
4046
4089
|
fallbackLocale: null,
|
|
4047
4090
|
loadingDelay: 200,
|
|
4048
|
-
formats:
|
|
4091
|
+
formats: ns,
|
|
4049
4092
|
warnOnMissingMessages: !0,
|
|
4050
4093
|
handleMissingMessage: void 0,
|
|
4051
4094
|
ignoreTag: !0
|
|
4052
|
-
},
|
|
4053
|
-
function
|
|
4054
|
-
return
|
|
4095
|
+
}, ss = is;
|
|
4096
|
+
function ie() {
|
|
4097
|
+
return ss;
|
|
4055
4098
|
}
|
|
4056
|
-
const
|
|
4057
|
-
var
|
|
4099
|
+
const Qe = Ne(!1);
|
|
4100
|
+
var os = Object.defineProperty, as = Object.defineProperties, us = Object.getOwnPropertyDescriptors, Qt = Object.getOwnPropertySymbols, ls = Object.prototype.hasOwnProperty, hs = Object.prototype.propertyIsEnumerable, Yt = (e, t, r) => t in e ? os(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, fs = (e, t) => {
|
|
4058
4101
|
for (var r in t || (t = {}))
|
|
4059
|
-
|
|
4060
|
-
if (
|
|
4061
|
-
for (var r of
|
|
4062
|
-
|
|
4102
|
+
ls.call(t, r) && Yt(e, r, t[r]);
|
|
4103
|
+
if (Qt)
|
|
4104
|
+
for (var r of Qt(t))
|
|
4105
|
+
hs.call(t, r) && Yt(e, r, t[r]);
|
|
4063
4106
|
return e;
|
|
4064
|
-
},
|
|
4065
|
-
let
|
|
4066
|
-
const
|
|
4067
|
-
function
|
|
4107
|
+
}, cs = (e, t) => as(e, us(t));
|
|
4108
|
+
let mt;
|
|
4109
|
+
const Ie = Ne(null);
|
|
4110
|
+
function Kt(e) {
|
|
4068
4111
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4069
4112
|
}
|
|
4070
|
-
function
|
|
4071
|
-
const r =
|
|
4072
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4113
|
+
function Fe(e, t = ie().fallbackLocale) {
|
|
4114
|
+
const r = Kt(e);
|
|
4115
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Kt(t)])] : r;
|
|
4073
4116
|
}
|
|
4074
4117
|
function J() {
|
|
4075
|
-
return
|
|
4118
|
+
return mt ?? void 0;
|
|
4076
4119
|
}
|
|
4077
|
-
|
|
4078
|
-
|
|
4120
|
+
Ie.subscribe((e) => {
|
|
4121
|
+
mt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4079
4122
|
});
|
|
4080
|
-
const
|
|
4081
|
-
if (e &&
|
|
4082
|
-
const { loadingDelay: t } =
|
|
4123
|
+
const ps = (e) => {
|
|
4124
|
+
if (e && Ki(e) && pt(e)) {
|
|
4125
|
+
const { loadingDelay: t } = ie();
|
|
4083
4126
|
let r;
|
|
4084
4127
|
return typeof window < "u" && J() != null && t ? r = window.setTimeout(
|
|
4085
|
-
() =>
|
|
4128
|
+
() => Qe.set(!0),
|
|
4086
4129
|
t
|
|
4087
|
-
) :
|
|
4088
|
-
|
|
4130
|
+
) : Qe.set(!0), kr(e).then(() => {
|
|
4131
|
+
Ie.set(e);
|
|
4089
4132
|
}).finally(() => {
|
|
4090
|
-
clearTimeout(r),
|
|
4133
|
+
clearTimeout(r), Qe.set(!1);
|
|
4091
4134
|
});
|
|
4092
4135
|
}
|
|
4093
|
-
return
|
|
4094
|
-
}, Z =
|
|
4095
|
-
set:
|
|
4096
|
-
}),
|
|
4136
|
+
return Ie.set(e);
|
|
4137
|
+
}, Z = cs(fs({}, Ie), {
|
|
4138
|
+
set: ps
|
|
4139
|
+
}), Ue = (e) => {
|
|
4097
4140
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4098
4141
|
return (n) => {
|
|
4099
4142
|
const i = JSON.stringify(n);
|
|
4100
4143
|
return i in t ? t[i] : t[i] = e(n);
|
|
4101
4144
|
};
|
|
4102
4145
|
};
|
|
4103
|
-
var
|
|
4146
|
+
var ms = Object.defineProperty, Le = Object.getOwnPropertySymbols, Gr = Object.prototype.hasOwnProperty, jr = Object.prototype.propertyIsEnumerable, er = (e, t, r) => t in e ? ms(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, bt = (e, t) => {
|
|
4104
4147
|
for (var r in t || (t = {}))
|
|
4105
|
-
|
|
4106
|
-
if (
|
|
4107
|
-
for (var r of
|
|
4108
|
-
|
|
4148
|
+
Gr.call(t, r) && er(e, r, t[r]);
|
|
4149
|
+
if (Le)
|
|
4150
|
+
for (var r of Le(t))
|
|
4151
|
+
jr.call(t, r) && er(e, r, t[r]);
|
|
4109
4152
|
return e;
|
|
4110
|
-
},
|
|
4153
|
+
}, ae = (e, t) => {
|
|
4111
4154
|
var r = {};
|
|
4112
4155
|
for (var n in e)
|
|
4113
|
-
|
|
4114
|
-
if (e != null &&
|
|
4115
|
-
for (var n of
|
|
4116
|
-
t.indexOf(n) < 0 &&
|
|
4156
|
+
Gr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4157
|
+
if (e != null && Le)
|
|
4158
|
+
for (var n of Le(e))
|
|
4159
|
+
t.indexOf(n) < 0 && jr.call(e, n) && (r[n] = e[n]);
|
|
4117
4160
|
return r;
|
|
4118
4161
|
};
|
|
4119
|
-
const
|
|
4120
|
-
const { formats: r } =
|
|
4162
|
+
const me = (e, t) => {
|
|
4163
|
+
const { formats: r } = ie();
|
|
4121
4164
|
if (e in r && t in r[e])
|
|
4122
4165
|
return r[e][t];
|
|
4123
4166
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4124
|
-
},
|
|
4167
|
+
}, ds = Ue(
|
|
4125
4168
|
(e) => {
|
|
4126
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4169
|
+
var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
|
|
4127
4170
|
if (r == null)
|
|
4128
4171
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4129
|
-
return n && (i =
|
|
4172
|
+
return n && (i = me("number", n)), new Intl.NumberFormat(r, i);
|
|
4130
4173
|
}
|
|
4131
|
-
),
|
|
4174
|
+
), gs = Ue(
|
|
4132
4175
|
(e) => {
|
|
4133
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4176
|
+
var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
|
|
4134
4177
|
if (r == null)
|
|
4135
4178
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4136
|
-
return n ? i =
|
|
4179
|
+
return n ? i = me("date", n) : Object.keys(i).length === 0 && (i = me("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4137
4180
|
}
|
|
4138
|
-
),
|
|
4181
|
+
), bs = Ue(
|
|
4139
4182
|
(e) => {
|
|
4140
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4183
|
+
var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
|
|
4141
4184
|
if (r == null)
|
|
4142
4185
|
throw new Error(
|
|
4143
4186
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4144
4187
|
);
|
|
4145
|
-
return n ? i =
|
|
4188
|
+
return n ? i = me("time", n) : Object.keys(i).length === 0 && (i = me("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4146
4189
|
}
|
|
4147
|
-
),
|
|
4190
|
+
), ys = (e = {}) => {
|
|
4148
4191
|
var t = e, {
|
|
4149
4192
|
locale: r = J()
|
|
4150
|
-
} = t, n =
|
|
4193
|
+
} = t, n = ae(t, [
|
|
4151
4194
|
"locale"
|
|
4152
4195
|
]);
|
|
4153
|
-
return
|
|
4154
|
-
},
|
|
4196
|
+
return ds(bt({ locale: r }, n));
|
|
4197
|
+
}, vs = (e = {}) => {
|
|
4155
4198
|
var t = e, {
|
|
4156
4199
|
locale: r = J()
|
|
4157
|
-
} = t, n =
|
|
4200
|
+
} = t, n = ae(t, [
|
|
4158
4201
|
"locale"
|
|
4159
4202
|
]);
|
|
4160
|
-
return
|
|
4161
|
-
},
|
|
4203
|
+
return gs(bt({ locale: r }, n));
|
|
4204
|
+
}, _s = (e = {}) => {
|
|
4162
4205
|
var t = e, {
|
|
4163
4206
|
locale: r = J()
|
|
4164
|
-
} = t, n =
|
|
4207
|
+
} = t, n = ae(t, [
|
|
4165
4208
|
"locale"
|
|
4166
4209
|
]);
|
|
4167
|
-
return
|
|
4168
|
-
},
|
|
4210
|
+
return bs(bt({ locale: r }, n));
|
|
4211
|
+
}, Es = Ue(
|
|
4169
4212
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4170
|
-
(e, t = J()) => new
|
|
4171
|
-
ignoreTag:
|
|
4213
|
+
(e, t = J()) => new Zi(e, t, ie().formats, {
|
|
4214
|
+
ignoreTag: ie().ignoreTag
|
|
4172
4215
|
})
|
|
4173
|
-
),
|
|
4216
|
+
), ws = (e, t = {}) => {
|
|
4174
4217
|
var r, n, i, s;
|
|
4175
4218
|
let o = t;
|
|
4176
4219
|
typeof e == "object" && (o = e, e = o.id);
|
|
@@ -4183,9 +4226,9 @@ const de = (e, t) => {
|
|
|
4183
4226
|
throw new Error(
|
|
4184
4227
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4185
4228
|
);
|
|
4186
|
-
let u =
|
|
4229
|
+
let u = Mr(e, h);
|
|
4187
4230
|
if (!u)
|
|
4188
|
-
u = (s = (i = (n = (r =
|
|
4231
|
+
u = (s = (i = (n = (r = ie()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? s : e;
|
|
4189
4232
|
else if (typeof u != "string")
|
|
4190
4233
|
return console.warn(
|
|
4191
4234
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4194,33 +4237,33 @@ const de = (e, t) => {
|
|
|
4194
4237
|
return u;
|
|
4195
4238
|
let c = u;
|
|
4196
4239
|
try {
|
|
4197
|
-
c =
|
|
4198
|
-
} catch (
|
|
4199
|
-
|
|
4240
|
+
c = Es(u, h).format(a);
|
|
4241
|
+
} catch (m) {
|
|
4242
|
+
m instanceof Error && console.warn(
|
|
4200
4243
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
4201
|
-
|
|
4244
|
+
m.message
|
|
4202
4245
|
);
|
|
4203
4246
|
}
|
|
4204
4247
|
return c;
|
|
4205
|
-
},
|
|
4206
|
-
|
|
4207
|
-
|
|
4208
|
-
|
|
4209
|
-
|
|
4210
|
-
window.emWidgets = { topic:
|
|
4211
|
-
const
|
|
4212
|
-
function
|
|
4248
|
+
}, Ss = (e, t) => _s(t).format(e), xs = (e, t) => vs(t).format(e), Ts = (e, t) => ys(t).format(e), Hs = (e, t = J()) => Mr(e, t), Bs = se([Z, oe], () => ws);
|
|
4249
|
+
se([Z], () => Ss);
|
|
4250
|
+
se([Z], () => xs);
|
|
4251
|
+
se([Z], () => Ts);
|
|
4252
|
+
se([Z, oe], () => Hs);
|
|
4253
|
+
window.emWidgets = { topic: Un };
|
|
4254
|
+
const tr = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4255
|
+
function As({ withLocale: e, translations: t }) {
|
|
4213
4256
|
Z.subscribe((r) => {
|
|
4214
|
-
r == null && (
|
|
4257
|
+
r == null && (oe.set(t), Z.set(e));
|
|
4215
4258
|
});
|
|
4216
4259
|
}
|
|
4217
|
-
function
|
|
4218
|
-
|
|
4260
|
+
function rr(e, t) {
|
|
4261
|
+
Fr(e, t);
|
|
4219
4262
|
}
|
|
4220
|
-
function
|
|
4263
|
+
function Ps(e) {
|
|
4221
4264
|
Z.set(e);
|
|
4222
4265
|
}
|
|
4223
|
-
const
|
|
4266
|
+
const nr = {
|
|
4224
4267
|
en: {
|
|
4225
4268
|
goToLoginButton: "Go To Login",
|
|
4226
4269
|
error: "We encountered an issue. Please go to Login to receive your SMS code."
|
|
@@ -4266,13 +4309,13 @@ const Yt = {
|
|
|
4266
4309
|
error: "We encountered an issue. Please go to Login to receive your SMS code."
|
|
4267
4310
|
}
|
|
4268
4311
|
};
|
|
4269
|
-
function
|
|
4312
|
+
function Os(e, t) {
|
|
4270
4313
|
if (e) {
|
|
4271
4314
|
const r = document.createElement("style");
|
|
4272
4315
|
r.innerHTML = t, e.appendChild(r);
|
|
4273
4316
|
}
|
|
4274
4317
|
}
|
|
4275
|
-
function
|
|
4318
|
+
function Cs(e, t) {
|
|
4276
4319
|
const r = new URL(t);
|
|
4277
4320
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4278
4321
|
const i = document.createElement("style");
|
|
@@ -4281,7 +4324,7 @@ function Hs(e, t) {
|
|
|
4281
4324
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4282
4325
|
});
|
|
4283
4326
|
}
|
|
4284
|
-
function
|
|
4327
|
+
function Is(e, t, r) {
|
|
4285
4328
|
if (window.emMessageBus) {
|
|
4286
4329
|
const n = document.createElement("style");
|
|
4287
4330
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4301,7 +4344,7 @@ if (typeof window < "u") {
|
|
|
4301
4344
|
}
|
|
4302
4345
|
};
|
|
4303
4346
|
};
|
|
4304
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep1-
|
|
4347
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep1-B8x2npcd.js").then(({ default: t }) => {
|
|
4305
4348
|
!customElements.get("general-player-register-form-step1") && customElements.define("general-player-register-form-step1", t.element);
|
|
4306
4349
|
});
|
|
4307
4350
|
}
|
|
@@ -4317,7 +4360,7 @@ if (typeof window < "u") {
|
|
|
4317
4360
|
}
|
|
4318
4361
|
};
|
|
4319
4362
|
};
|
|
4320
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep2-
|
|
4363
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep2-ALcjJ8nv.js").then(({ default: t }) => {
|
|
4321
4364
|
!customElements.get("general-player-register-form-step2") && customElements.define("general-player-register-form-step2", t.element);
|
|
4322
4365
|
});
|
|
4323
4366
|
}
|
|
@@ -4333,7 +4376,7 @@ if (typeof window < "u") {
|
|
|
4333
4376
|
}
|
|
4334
4377
|
};
|
|
4335
4378
|
};
|
|
4336
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep3-
|
|
4379
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep3-BrmjFpUQ.js").then(({ default: t }) => {
|
|
4337
4380
|
!customElements.get("general-player-register-form-step3") && customElements.define("general-player-register-form-step3", t.element);
|
|
4338
4381
|
});
|
|
4339
4382
|
}
|
|
@@ -4349,74 +4392,74 @@ if (typeof window < "u") {
|
|
|
4349
4392
|
}
|
|
4350
4393
|
};
|
|
4351
4394
|
};
|
|
4352
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-
|
|
4395
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-CMoVD2PA.js").then(({ default: t }) => {
|
|
4353
4396
|
!customElements.get("general-player-sms-verification-form") && customElements.define("general-player-sms-verification-form", t.element);
|
|
4354
4397
|
});
|
|
4355
4398
|
}
|
|
4356
|
-
function
|
|
4357
|
-
|
|
4399
|
+
function Ls(e) {
|
|
4400
|
+
nn(e, "svelte-2vt9w2", ".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, 10px);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, 10px);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
4401
|
}
|
|
4359
|
-
function
|
|
4402
|
+
function Rs(e) {
|
|
4360
4403
|
let t, r, n, i, s, o, a, h = (
|
|
4361
4404
|
/*showRegisterStepOne*/
|
|
4362
4405
|
(e[18] || /*showRegisterStepTwo*/
|
|
4363
4406
|
e[19] || /*showRegisterStepThree*/
|
|
4364
|
-
e[20]) &&
|
|
4407
|
+
e[20]) && ir(e)
|
|
4365
4408
|
), l = (
|
|
4366
4409
|
/*showRegisterStepOne*/
|
|
4367
|
-
e[18] &&
|
|
4410
|
+
e[18] && sr(e)
|
|
4368
4411
|
), u = (
|
|
4369
4412
|
/*showRegisterStepTwo*/
|
|
4370
|
-
e[19] &&
|
|
4413
|
+
e[19] && or(e)
|
|
4371
4414
|
), c = (
|
|
4372
4415
|
/*showRegisterStepThree*/
|
|
4373
|
-
e[20] &&
|
|
4416
|
+
e[20] && ar(e)
|
|
4374
4417
|
);
|
|
4375
|
-
function
|
|
4418
|
+
function m(b, w) {
|
|
4376
4419
|
if (
|
|
4377
4420
|
/*smsverification*/
|
|
4378
4421
|
b[7] && /*showSmsVerification*/
|
|
4379
4422
|
b[21]
|
|
4380
4423
|
)
|
|
4381
|
-
return
|
|
4424
|
+
return Ms;
|
|
4382
4425
|
if (
|
|
4383
4426
|
/*smsSendApiFailed*/
|
|
4384
4427
|
b[31]
|
|
4385
4428
|
)
|
|
4386
|
-
return
|
|
4429
|
+
return Ns;
|
|
4387
4430
|
}
|
|
4388
|
-
let y =
|
|
4431
|
+
let y = m(e), g = y && y(e), d = (
|
|
4389
4432
|
/*showConfirmation*/
|
|
4390
|
-
e[22] &&
|
|
4433
|
+
e[22] && ur(e)
|
|
4391
4434
|
);
|
|
4392
4435
|
return {
|
|
4393
4436
|
c() {
|
|
4394
|
-
t =
|
|
4437
|
+
t = H("div"), r = H("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(), S(r, "class", "RegisterFormContainer " + /*isMobile*/
|
|
4395
4438
|
(e[35] ? "RegisterFormContainerMobile" : "")), S(t, "class", "RegisterFormWrapper");
|
|
4396
4439
|
},
|
|
4397
|
-
m(b,
|
|
4398
|
-
F(b, t,
|
|
4440
|
+
m(b, w) {
|
|
4441
|
+
F(b, t, w), 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
4442
|
},
|
|
4400
|
-
p(b,
|
|
4443
|
+
p(b, w) {
|
|
4401
4444
|
/*showRegisterStepOne*/
|
|
4402
4445
|
b[18] || /*showRegisterStepTwo*/
|
|
4403
4446
|
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,
|
|
4447
|
+
b[20] ? h ? h.p(b, w) : (h = ir(b), h.c(), h.m(r, n)) : h && (h.d(1), h = null), /*showRegisterStepOne*/
|
|
4448
|
+
b[18] ? l ? l.p(b, w) : (l = sr(b), l.c(), l.m(r, i)) : l && (l.d(1), l = null), /*showRegisterStepTwo*/
|
|
4449
|
+
b[19] ? u ? u.p(b, w) : (u = or(b), u.c(), u.m(r, s)) : u && (u.d(1), u = null), /*showRegisterStepThree*/
|
|
4450
|
+
b[20] ? c ? c.p(b, w) : (c = ar(b), c.c(), c.m(r, o)) : c && (c.d(1), c = null), y === (y = m(b)) && g ? g.p(b, w) : (g && g.d(1), g = y && y(b), g && (g.c(), g.m(r, a))), /*showConfirmation*/
|
|
4451
|
+
b[22] ? d ? d.p(b, w) : (d = ur(b), d.c(), d.m(r, null)) : d && (d.d(1), d = null);
|
|
4409
4452
|
},
|
|
4410
4453
|
d(b) {
|
|
4411
4454
|
b && M(t), h && h.d(), l && l.d(), u && u.d(), c && c.d(), g && g.d(), d && d.d();
|
|
4412
4455
|
}
|
|
4413
4456
|
};
|
|
4414
4457
|
}
|
|
4415
|
-
function
|
|
4458
|
+
function ir(e) {
|
|
4416
4459
|
let t, r, n, i, s, o, a, h, l;
|
|
4417
4460
|
return {
|
|
4418
4461
|
c() {
|
|
4419
|
-
t =
|
|
4462
|
+
t = H("div"), r = H("div"), i = U(), s = H("div"), a = U(), h = H("div"), S(r, "class", n = "RegisterFirstStepDash " + /*showRegisterStepOne*/
|
|
4420
4463
|
(e[18] || !/*showRegisterStepOne*/
|
|
4421
4464
|
e[18] && /*showRegisterStepTwo*/
|
|
4422
4465
|
e[19] || !/*showRegisterStepOne*/
|
|
@@ -4454,56 +4497,56 @@ function Kt(e) {
|
|
|
4454
4497
|
}
|
|
4455
4498
|
};
|
|
4456
4499
|
}
|
|
4457
|
-
function
|
|
4500
|
+
function sr(e) {
|
|
4458
4501
|
let t, r;
|
|
4459
4502
|
return {
|
|
4460
4503
|
c() {
|
|
4461
|
-
t =
|
|
4504
|
+
t = H("div"), r = H("general-player-register-form-step1"), p(
|
|
4462
4505
|
r,
|
|
4463
4506
|
"lang",
|
|
4464
4507
|
/*lang*/
|
|
4465
4508
|
e[3]
|
|
4466
|
-
),
|
|
4509
|
+
), p(
|
|
4467
4510
|
r,
|
|
4468
4511
|
"disabledfields",
|
|
4469
4512
|
/*disabledfields*/
|
|
4470
4513
|
e[5]
|
|
4471
|
-
),
|
|
4514
|
+
), p(
|
|
4472
4515
|
r,
|
|
4473
4516
|
"defaultoptions",
|
|
4474
4517
|
/*defaultoptions*/
|
|
4475
4518
|
e[6]
|
|
4476
|
-
),
|
|
4519
|
+
), p(
|
|
4477
4520
|
r,
|
|
4478
4521
|
"custominputtextswitch",
|
|
4479
4522
|
/*custominputtextswitch*/
|
|
4480
4523
|
e[14]
|
|
4481
|
-
),
|
|
4524
|
+
), p(
|
|
4482
4525
|
r,
|
|
4483
4526
|
"simplepasswordvalidation",
|
|
4484
4527
|
/*simplepasswordvalidation*/
|
|
4485
4528
|
e[8]
|
|
4486
|
-
),
|
|
4529
|
+
), p(
|
|
4487
4530
|
r,
|
|
4488
4531
|
"clientstyling",
|
|
4489
4532
|
/*clientstyling*/
|
|
4490
4533
|
e[10]
|
|
4491
|
-
),
|
|
4534
|
+
), p(
|
|
4492
4535
|
r,
|
|
4493
4536
|
"clientstylingurl",
|
|
4494
4537
|
/*clientstylingurl*/
|
|
4495
4538
|
e[11]
|
|
4496
|
-
),
|
|
4539
|
+
), p(
|
|
4497
4540
|
r,
|
|
4498
4541
|
"savecredentials",
|
|
4499
4542
|
/*savecredentials*/
|
|
4500
4543
|
e[13]
|
|
4501
|
-
),
|
|
4544
|
+
), p(
|
|
4502
4545
|
r,
|
|
4503
4546
|
"translationurl",
|
|
4504
4547
|
/*translationurl*/
|
|
4505
4548
|
e[12]
|
|
4506
|
-
),
|
|
4549
|
+
), p(
|
|
4507
4550
|
r,
|
|
4508
4551
|
"mbsource",
|
|
4509
4552
|
/*mbsource*/
|
|
@@ -4515,61 +4558,61 @@ function er(e) {
|
|
|
4515
4558
|
},
|
|
4516
4559
|
p(n, i) {
|
|
4517
4560
|
i[0] & /*lang*/
|
|
4518
|
-
8 &&
|
|
4561
|
+
8 && p(
|
|
4519
4562
|
r,
|
|
4520
4563
|
"lang",
|
|
4521
4564
|
/*lang*/
|
|
4522
4565
|
n[3]
|
|
4523
4566
|
), i[0] & /*disabledfields*/
|
|
4524
|
-
32 &&
|
|
4567
|
+
32 && p(
|
|
4525
4568
|
r,
|
|
4526
4569
|
"disabledfields",
|
|
4527
4570
|
/*disabledfields*/
|
|
4528
4571
|
n[5]
|
|
4529
4572
|
), i[0] & /*defaultoptions*/
|
|
4530
|
-
64 &&
|
|
4573
|
+
64 && p(
|
|
4531
4574
|
r,
|
|
4532
4575
|
"defaultoptions",
|
|
4533
4576
|
/*defaultoptions*/
|
|
4534
4577
|
n[6]
|
|
4535
4578
|
), i[0] & /*custominputtextswitch*/
|
|
4536
|
-
16384 &&
|
|
4579
|
+
16384 && p(
|
|
4537
4580
|
r,
|
|
4538
4581
|
"custominputtextswitch",
|
|
4539
4582
|
/*custominputtextswitch*/
|
|
4540
4583
|
n[14]
|
|
4541
4584
|
), i[0] & /*simplepasswordvalidation*/
|
|
4542
|
-
256 &&
|
|
4585
|
+
256 && p(
|
|
4543
4586
|
r,
|
|
4544
4587
|
"simplepasswordvalidation",
|
|
4545
4588
|
/*simplepasswordvalidation*/
|
|
4546
4589
|
n[8]
|
|
4547
4590
|
), i[0] & /*clientstyling*/
|
|
4548
|
-
1024 &&
|
|
4591
|
+
1024 && p(
|
|
4549
4592
|
r,
|
|
4550
4593
|
"clientstyling",
|
|
4551
4594
|
/*clientstyling*/
|
|
4552
4595
|
n[10]
|
|
4553
4596
|
), i[0] & /*clientstylingurl*/
|
|
4554
|
-
2048 &&
|
|
4597
|
+
2048 && p(
|
|
4555
4598
|
r,
|
|
4556
4599
|
"clientstylingurl",
|
|
4557
4600
|
/*clientstylingurl*/
|
|
4558
4601
|
n[11]
|
|
4559
4602
|
), i[0] & /*savecredentials*/
|
|
4560
|
-
8192 &&
|
|
4603
|
+
8192 && p(
|
|
4561
4604
|
r,
|
|
4562
4605
|
"savecredentials",
|
|
4563
4606
|
/*savecredentials*/
|
|
4564
4607
|
n[13]
|
|
4565
4608
|
), i[0] & /*translationurl*/
|
|
4566
|
-
4096 &&
|
|
4609
|
+
4096 && p(
|
|
4567
4610
|
r,
|
|
4568
4611
|
"translationurl",
|
|
4569
4612
|
/*translationurl*/
|
|
4570
4613
|
n[12]
|
|
4571
4614
|
), i[0] & /*mbsource*/
|
|
4572
|
-
512 &&
|
|
4615
|
+
512 && p(
|
|
4573
4616
|
r,
|
|
4574
4617
|
"mbsource",
|
|
4575
4618
|
/*mbsource*/
|
|
@@ -4581,56 +4624,56 @@ function er(e) {
|
|
|
4581
4624
|
}
|
|
4582
4625
|
};
|
|
4583
4626
|
}
|
|
4584
|
-
function
|
|
4627
|
+
function or(e) {
|
|
4585
4628
|
let t, r;
|
|
4586
4629
|
return {
|
|
4587
4630
|
c() {
|
|
4588
|
-
t =
|
|
4631
|
+
t = H("div"), r = H("general-player-register-form-step2"), p(
|
|
4589
4632
|
r,
|
|
4590
4633
|
"endpoint",
|
|
4591
4634
|
/*endpoint*/
|
|
4592
4635
|
e[0]
|
|
4593
|
-
),
|
|
4636
|
+
), p(
|
|
4594
4637
|
r,
|
|
4595
4638
|
"lang",
|
|
4596
4639
|
/*lang*/
|
|
4597
4640
|
e[3]
|
|
4598
|
-
),
|
|
4641
|
+
), p(
|
|
4599
4642
|
r,
|
|
4600
4643
|
"licenseyears",
|
|
4601
4644
|
/*licenseyears*/
|
|
4602
4645
|
e[4]
|
|
4603
|
-
),
|
|
4646
|
+
), p(
|
|
4604
4647
|
r,
|
|
4605
4648
|
"disabledfields",
|
|
4606
4649
|
/*disabledfields*/
|
|
4607
4650
|
e[5]
|
|
4608
|
-
),
|
|
4651
|
+
), p(
|
|
4609
4652
|
r,
|
|
4610
4653
|
"defaultoptions",
|
|
4611
4654
|
/*defaultoptions*/
|
|
4612
4655
|
e[6]
|
|
4613
|
-
),
|
|
4656
|
+
), p(
|
|
4614
4657
|
r,
|
|
4615
4658
|
"personalidlength",
|
|
4616
4659
|
/*personalidlength*/
|
|
4617
4660
|
e[15]
|
|
4618
|
-
),
|
|
4661
|
+
), p(
|
|
4619
4662
|
r,
|
|
4620
4663
|
"clientstyling",
|
|
4621
4664
|
/*clientstyling*/
|
|
4622
4665
|
e[10]
|
|
4623
|
-
),
|
|
4666
|
+
), p(
|
|
4624
4667
|
r,
|
|
4625
4668
|
"clientstylingurl",
|
|
4626
4669
|
/*clientstylingurl*/
|
|
4627
4670
|
e[11]
|
|
4628
|
-
),
|
|
4671
|
+
), p(
|
|
4629
4672
|
r,
|
|
4630
4673
|
"translationurl",
|
|
4631
4674
|
/*translationurl*/
|
|
4632
4675
|
e[12]
|
|
4633
|
-
),
|
|
4676
|
+
), p(
|
|
4634
4677
|
r,
|
|
4635
4678
|
"mbsource",
|
|
4636
4679
|
/*mbsource*/
|
|
@@ -4642,61 +4685,61 @@ function tr(e) {
|
|
|
4642
4685
|
},
|
|
4643
4686
|
p(n, i) {
|
|
4644
4687
|
i[0] & /*endpoint*/
|
|
4645
|
-
1 &&
|
|
4688
|
+
1 && p(
|
|
4646
4689
|
r,
|
|
4647
4690
|
"endpoint",
|
|
4648
4691
|
/*endpoint*/
|
|
4649
4692
|
n[0]
|
|
4650
4693
|
), i[0] & /*lang*/
|
|
4651
|
-
8 &&
|
|
4694
|
+
8 && p(
|
|
4652
4695
|
r,
|
|
4653
4696
|
"lang",
|
|
4654
4697
|
/*lang*/
|
|
4655
4698
|
n[3]
|
|
4656
4699
|
), i[0] & /*licenseyears*/
|
|
4657
|
-
16 &&
|
|
4700
|
+
16 && p(
|
|
4658
4701
|
r,
|
|
4659
4702
|
"licenseyears",
|
|
4660
4703
|
/*licenseyears*/
|
|
4661
4704
|
n[4]
|
|
4662
4705
|
), i[0] & /*disabledfields*/
|
|
4663
|
-
32 &&
|
|
4706
|
+
32 && p(
|
|
4664
4707
|
r,
|
|
4665
4708
|
"disabledfields",
|
|
4666
4709
|
/*disabledfields*/
|
|
4667
4710
|
n[5]
|
|
4668
4711
|
), i[0] & /*defaultoptions*/
|
|
4669
|
-
64 &&
|
|
4712
|
+
64 && p(
|
|
4670
4713
|
r,
|
|
4671
4714
|
"defaultoptions",
|
|
4672
4715
|
/*defaultoptions*/
|
|
4673
4716
|
n[6]
|
|
4674
4717
|
), i[0] & /*personalidlength*/
|
|
4675
|
-
32768 &&
|
|
4718
|
+
32768 && p(
|
|
4676
4719
|
r,
|
|
4677
4720
|
"personalidlength",
|
|
4678
4721
|
/*personalidlength*/
|
|
4679
4722
|
n[15]
|
|
4680
4723
|
), i[0] & /*clientstyling*/
|
|
4681
|
-
1024 &&
|
|
4724
|
+
1024 && p(
|
|
4682
4725
|
r,
|
|
4683
4726
|
"clientstyling",
|
|
4684
4727
|
/*clientstyling*/
|
|
4685
4728
|
n[10]
|
|
4686
4729
|
), i[0] & /*clientstylingurl*/
|
|
4687
|
-
2048 &&
|
|
4730
|
+
2048 && p(
|
|
4688
4731
|
r,
|
|
4689
4732
|
"clientstylingurl",
|
|
4690
4733
|
/*clientstylingurl*/
|
|
4691
4734
|
n[11]
|
|
4692
4735
|
), i[0] & /*translationurl*/
|
|
4693
|
-
4096 &&
|
|
4736
|
+
4096 && p(
|
|
4694
4737
|
r,
|
|
4695
4738
|
"translationurl",
|
|
4696
4739
|
/*translationurl*/
|
|
4697
4740
|
n[12]
|
|
4698
4741
|
), i[0] & /*mbsource*/
|
|
4699
|
-
512 &&
|
|
4742
|
+
512 && p(
|
|
4700
4743
|
r,
|
|
4701
4744
|
"mbsource",
|
|
4702
4745
|
/*mbsource*/
|
|
@@ -4708,71 +4751,71 @@ function tr(e) {
|
|
|
4708
4751
|
}
|
|
4709
4752
|
};
|
|
4710
4753
|
}
|
|
4711
|
-
function
|
|
4754
|
+
function ar(e) {
|
|
4712
4755
|
let t, r;
|
|
4713
4756
|
return {
|
|
4714
4757
|
c() {
|
|
4715
|
-
t =
|
|
4758
|
+
t = H("div"), r = H("general-player-register-form-step3"), p(
|
|
4716
4759
|
r,
|
|
4717
4760
|
"userconsentsexist",
|
|
4718
4761
|
/*userconsentsexist*/
|
|
4719
4762
|
e[26]
|
|
4720
|
-
),
|
|
4763
|
+
), p(
|
|
4721
4764
|
r,
|
|
4722
4765
|
"termsconditions",
|
|
4723
4766
|
/*termsconditions*/
|
|
4724
4767
|
e[27]
|
|
4725
|
-
),
|
|
4768
|
+
), p(
|
|
4726
4769
|
r,
|
|
4727
4770
|
"smsoffers",
|
|
4728
4771
|
/*smsoffers*/
|
|
4729
4772
|
e[28]
|
|
4730
|
-
),
|
|
4773
|
+
), p(
|
|
4731
4774
|
r,
|
|
4732
4775
|
"emailmarketing",
|
|
4733
4776
|
/*emailmarketing*/
|
|
4734
4777
|
e[29]
|
|
4735
|
-
),
|
|
4778
|
+
), p(
|
|
4736
4779
|
r,
|
|
4737
4780
|
"endpoint",
|
|
4738
4781
|
/*endpoint*/
|
|
4739
4782
|
e[0]
|
|
4740
|
-
),
|
|
4783
|
+
), p(
|
|
4741
4784
|
r,
|
|
4742
4785
|
"captchakey",
|
|
4743
4786
|
/*captchakey*/
|
|
4744
4787
|
e[2]
|
|
4745
|
-
),
|
|
4788
|
+
), p(
|
|
4746
4789
|
r,
|
|
4747
4790
|
"lang",
|
|
4748
4791
|
/*lang*/
|
|
4749
4792
|
e[3]
|
|
4750
|
-
),
|
|
4793
|
+
), p(
|
|
4751
4794
|
r,
|
|
4752
4795
|
"defaultoptions",
|
|
4753
4796
|
/*defaultoptions*/
|
|
4754
4797
|
e[6]
|
|
4755
|
-
),
|
|
4798
|
+
), p(
|
|
4756
4799
|
r,
|
|
4757
4800
|
"disabledfields",
|
|
4758
4801
|
/*disabledfields*/
|
|
4759
4802
|
e[5]
|
|
4760
|
-
),
|
|
4803
|
+
), p(
|
|
4761
4804
|
r,
|
|
4762
4805
|
"clientstyling",
|
|
4763
4806
|
/*clientstyling*/
|
|
4764
4807
|
e[10]
|
|
4765
|
-
),
|
|
4808
|
+
), p(
|
|
4766
4809
|
r,
|
|
4767
4810
|
"clientstylingurl",
|
|
4768
4811
|
/*clientstylingurl*/
|
|
4769
4812
|
e[11]
|
|
4770
|
-
),
|
|
4813
|
+
), p(
|
|
4771
4814
|
r,
|
|
4772
4815
|
"translationurl",
|
|
4773
4816
|
/*translationurl*/
|
|
4774
4817
|
e[12]
|
|
4775
|
-
),
|
|
4818
|
+
), p(
|
|
4776
4819
|
r,
|
|
4777
4820
|
"mbsource",
|
|
4778
4821
|
/*mbsource*/
|
|
@@ -4784,79 +4827,79 @@ function rr(e) {
|
|
|
4784
4827
|
},
|
|
4785
4828
|
p(n, i) {
|
|
4786
4829
|
i[0] & /*userconsentsexist*/
|
|
4787
|
-
67108864 &&
|
|
4830
|
+
67108864 && p(
|
|
4788
4831
|
r,
|
|
4789
4832
|
"userconsentsexist",
|
|
4790
4833
|
/*userconsentsexist*/
|
|
4791
4834
|
n[26]
|
|
4792
4835
|
), i[0] & /*termsconditions*/
|
|
4793
|
-
134217728 &&
|
|
4836
|
+
134217728 && p(
|
|
4794
4837
|
r,
|
|
4795
4838
|
"termsconditions",
|
|
4796
4839
|
/*termsconditions*/
|
|
4797
4840
|
n[27]
|
|
4798
4841
|
), i[0] & /*smsoffers*/
|
|
4799
|
-
268435456 &&
|
|
4842
|
+
268435456 && p(
|
|
4800
4843
|
r,
|
|
4801
4844
|
"smsoffers",
|
|
4802
4845
|
/*smsoffers*/
|
|
4803
4846
|
n[28]
|
|
4804
4847
|
), i[0] & /*emailmarketing*/
|
|
4805
|
-
536870912 &&
|
|
4848
|
+
536870912 && p(
|
|
4806
4849
|
r,
|
|
4807
4850
|
"emailmarketing",
|
|
4808
4851
|
/*emailmarketing*/
|
|
4809
4852
|
n[29]
|
|
4810
4853
|
), i[0] & /*endpoint*/
|
|
4811
|
-
1 &&
|
|
4854
|
+
1 && p(
|
|
4812
4855
|
r,
|
|
4813
4856
|
"endpoint",
|
|
4814
4857
|
/*endpoint*/
|
|
4815
4858
|
n[0]
|
|
4816
4859
|
), i[0] & /*captchakey*/
|
|
4817
|
-
4 &&
|
|
4860
|
+
4 && p(
|
|
4818
4861
|
r,
|
|
4819
4862
|
"captchakey",
|
|
4820
4863
|
/*captchakey*/
|
|
4821
4864
|
n[2]
|
|
4822
4865
|
), i[0] & /*lang*/
|
|
4823
|
-
8 &&
|
|
4866
|
+
8 && p(
|
|
4824
4867
|
r,
|
|
4825
4868
|
"lang",
|
|
4826
4869
|
/*lang*/
|
|
4827
4870
|
n[3]
|
|
4828
4871
|
), i[0] & /*defaultoptions*/
|
|
4829
|
-
64 &&
|
|
4872
|
+
64 && p(
|
|
4830
4873
|
r,
|
|
4831
4874
|
"defaultoptions",
|
|
4832
4875
|
/*defaultoptions*/
|
|
4833
4876
|
n[6]
|
|
4834
4877
|
), i[0] & /*disabledfields*/
|
|
4835
|
-
32 &&
|
|
4878
|
+
32 && p(
|
|
4836
4879
|
r,
|
|
4837
4880
|
"disabledfields",
|
|
4838
4881
|
/*disabledfields*/
|
|
4839
4882
|
n[5]
|
|
4840
4883
|
), i[0] & /*clientstyling*/
|
|
4841
|
-
1024 &&
|
|
4884
|
+
1024 && p(
|
|
4842
4885
|
r,
|
|
4843
4886
|
"clientstyling",
|
|
4844
4887
|
/*clientstyling*/
|
|
4845
4888
|
n[10]
|
|
4846
4889
|
), i[0] & /*clientstylingurl*/
|
|
4847
|
-
2048 &&
|
|
4890
|
+
2048 && p(
|
|
4848
4891
|
r,
|
|
4849
4892
|
"clientstylingurl",
|
|
4850
4893
|
/*clientstylingurl*/
|
|
4851
4894
|
n[11]
|
|
4852
4895
|
), i[0] & /*translationurl*/
|
|
4853
|
-
4096 &&
|
|
4896
|
+
4096 && p(
|
|
4854
4897
|
r,
|
|
4855
4898
|
"translationurl",
|
|
4856
4899
|
/*translationurl*/
|
|
4857
4900
|
n[12]
|
|
4858
4901
|
), i[0] & /*mbsource*/
|
|
4859
|
-
512 &&
|
|
4902
|
+
512 && p(
|
|
4860
4903
|
r,
|
|
4861
4904
|
"mbsource",
|
|
4862
4905
|
/*mbsource*/
|
|
@@ -4868,14 +4911,14 @@ function rr(e) {
|
|
|
4868
4911
|
}
|
|
4869
4912
|
};
|
|
4870
4913
|
}
|
|
4871
|
-
function
|
|
4914
|
+
function Ns(e) {
|
|
4872
4915
|
let t, r = (
|
|
4873
4916
|
/*$_*/
|
|
4874
4917
|
e[34]("error") + ""
|
|
4875
4918
|
), n;
|
|
4876
4919
|
return {
|
|
4877
4920
|
c() {
|
|
4878
|
-
t =
|
|
4921
|
+
t = H("p"), n = V(r), S(t, "class", "SMSErrorText");
|
|
4879
4922
|
},
|
|
4880
4923
|
m(i, s) {
|
|
4881
4924
|
F(i, t, s), E(t, n);
|
|
@@ -4890,18 +4933,18 @@ function Os(e) {
|
|
|
4890
4933
|
}
|
|
4891
4934
|
};
|
|
4892
4935
|
}
|
|
4893
|
-
function
|
|
4936
|
+
function Ms(e) {
|
|
4894
4937
|
let t;
|
|
4895
4938
|
function r(s, o) {
|
|
4896
4939
|
return (
|
|
4897
4940
|
/*smsSendApiFailed*/
|
|
4898
|
-
s[31] ?
|
|
4941
|
+
s[31] ? Ds : Fs
|
|
4899
4942
|
);
|
|
4900
4943
|
}
|
|
4901
4944
|
let n = r(e), i = n(e);
|
|
4902
4945
|
return {
|
|
4903
4946
|
c() {
|
|
4904
|
-
i.c(), t =
|
|
4947
|
+
i.c(), t = an();
|
|
4905
4948
|
},
|
|
4906
4949
|
m(s, o) {
|
|
4907
4950
|
i.m(s, o), F(s, t, o);
|
|
@@ -4914,14 +4957,14 @@ function Cs(e) {
|
|
|
4914
4957
|
}
|
|
4915
4958
|
};
|
|
4916
4959
|
}
|
|
4917
|
-
function
|
|
4960
|
+
function Ds(e) {
|
|
4918
4961
|
let t, r = (
|
|
4919
4962
|
/*$_*/
|
|
4920
4963
|
e[34]("error") + ""
|
|
4921
4964
|
), n;
|
|
4922
4965
|
return {
|
|
4923
4966
|
c() {
|
|
4924
|
-
t =
|
|
4967
|
+
t = H("p"), n = V(r), S(t, "class", "SMSErrorText");
|
|
4925
4968
|
},
|
|
4926
4969
|
m(i, s) {
|
|
4927
4970
|
F(i, t, s), E(t, n);
|
|
@@ -4936,46 +4979,46 @@ function Is(e) {
|
|
|
4936
4979
|
}
|
|
4937
4980
|
};
|
|
4938
4981
|
}
|
|
4939
|
-
function
|
|
4982
|
+
function Fs(e) {
|
|
4940
4983
|
let t;
|
|
4941
4984
|
return {
|
|
4942
4985
|
c() {
|
|
4943
|
-
t =
|
|
4986
|
+
t = H("general-player-sms-verification-form"), p(
|
|
4944
4987
|
t,
|
|
4945
4988
|
"endpoint",
|
|
4946
4989
|
/*endpoint*/
|
|
4947
4990
|
e[0]
|
|
4948
|
-
),
|
|
4991
|
+
), p(
|
|
4949
4992
|
t,
|
|
4950
4993
|
"session",
|
|
4951
4994
|
/*session*/
|
|
4952
4995
|
e[1]
|
|
4953
|
-
),
|
|
4996
|
+
), p(
|
|
4954
4997
|
t,
|
|
4955
4998
|
"number",
|
|
4956
4999
|
/*number*/
|
|
4957
5000
|
e[32]
|
|
4958
|
-
),
|
|
5001
|
+
), p(
|
|
4959
5002
|
t,
|
|
4960
5003
|
"playerid",
|
|
4961
5004
|
/*playerid*/
|
|
4962
5005
|
e[17]
|
|
4963
|
-
),
|
|
5006
|
+
), p(
|
|
4964
5007
|
t,
|
|
4965
5008
|
"tokenid",
|
|
4966
5009
|
/*smstokenid*/
|
|
4967
5010
|
e[30]
|
|
4968
|
-
),
|
|
5011
|
+
), p(
|
|
4969
5012
|
t,
|
|
4970
5013
|
"clientstyling",
|
|
4971
5014
|
/*clientstyling*/
|
|
4972
5015
|
e[10]
|
|
4973
|
-
),
|
|
5016
|
+
), p(
|
|
4974
5017
|
t,
|
|
4975
5018
|
"clientstylingurl",
|
|
4976
5019
|
/*clientstylingurl*/
|
|
4977
5020
|
e[11]
|
|
4978
|
-
),
|
|
5021
|
+
), p(
|
|
4979
5022
|
t,
|
|
4980
5023
|
"mbsource",
|
|
4981
5024
|
/*mbsource*/
|
|
@@ -4987,49 +5030,49 @@ function Ls(e) {
|
|
|
4987
5030
|
},
|
|
4988
5031
|
p(r, n) {
|
|
4989
5032
|
n[0] & /*endpoint*/
|
|
4990
|
-
1 &&
|
|
5033
|
+
1 && p(
|
|
4991
5034
|
t,
|
|
4992
5035
|
"endpoint",
|
|
4993
5036
|
/*endpoint*/
|
|
4994
5037
|
r[0]
|
|
4995
5038
|
), n[0] & /*session*/
|
|
4996
|
-
2 &&
|
|
5039
|
+
2 && p(
|
|
4997
5040
|
t,
|
|
4998
5041
|
"session",
|
|
4999
5042
|
/*session*/
|
|
5000
5043
|
r[1]
|
|
5001
5044
|
), n[1] & /*number*/
|
|
5002
|
-
2 &&
|
|
5045
|
+
2 && p(
|
|
5003
5046
|
t,
|
|
5004
5047
|
"number",
|
|
5005
5048
|
/*number*/
|
|
5006
5049
|
r[32]
|
|
5007
5050
|
), n[0] & /*playerid*/
|
|
5008
|
-
131072 &&
|
|
5051
|
+
131072 && p(
|
|
5009
5052
|
t,
|
|
5010
5053
|
"playerid",
|
|
5011
5054
|
/*playerid*/
|
|
5012
5055
|
r[17]
|
|
5013
5056
|
), n[0] & /*smstokenid*/
|
|
5014
|
-
1073741824 &&
|
|
5057
|
+
1073741824 && p(
|
|
5015
5058
|
t,
|
|
5016
5059
|
"tokenid",
|
|
5017
5060
|
/*smstokenid*/
|
|
5018
5061
|
r[30]
|
|
5019
5062
|
), n[0] & /*clientstyling*/
|
|
5020
|
-
1024 &&
|
|
5063
|
+
1024 && p(
|
|
5021
5064
|
t,
|
|
5022
5065
|
"clientstyling",
|
|
5023
5066
|
/*clientstyling*/
|
|
5024
5067
|
r[10]
|
|
5025
5068
|
), n[0] & /*clientstylingurl*/
|
|
5026
|
-
2048 &&
|
|
5069
|
+
2048 && p(
|
|
5027
5070
|
t,
|
|
5028
5071
|
"clientstylingurl",
|
|
5029
5072
|
/*clientstylingurl*/
|
|
5030
5073
|
r[11]
|
|
5031
5074
|
), n[0] & /*mbsource*/
|
|
5032
|
-
512 &&
|
|
5075
|
+
512 && p(
|
|
5033
5076
|
t,
|
|
5034
5077
|
"mbsource",
|
|
5035
5078
|
/*mbsource*/
|
|
@@ -5041,27 +5084,27 @@ function Ls(e) {
|
|
|
5041
5084
|
}
|
|
5042
5085
|
};
|
|
5043
5086
|
}
|
|
5044
|
-
function
|
|
5045
|
-
let t, r, n, i, s, o, a, h, l, u, c,
|
|
5087
|
+
function ur(e) {
|
|
5088
|
+
let t, r, n, i, s, o, a, h, l, u, c, m, y, g, d, b, w, O = (
|
|
5046
5089
|
/*$_*/
|
|
5047
5090
|
e[34]("goToLoginButton") + ""
|
|
5048
5091
|
), P, R, N;
|
|
5049
5092
|
return {
|
|
5050
5093
|
c() {
|
|
5051
|
-
t =
|
|
5094
|
+
t = H("div"), r = Se("svg"), n = Se("defs"), i = Se("style"), s = V(".a{fill:#var(--emw--color-valid, var(--emw--color-green, #48952a));}"), o = Se("path"), a = U(), h = H("h2"), l = V(
|
|
5052
5095
|
/*accountCreationTitle*/
|
|
5053
5096
|
e[23]
|
|
5054
|
-
), u = U(), c =
|
|
5097
|
+
), u = U(), c = H("p"), m = V(
|
|
5055
5098
|
/*accountCreationSubTitle*/
|
|
5056
5099
|
e[24]
|
|
5057
|
-
), y = U(), g =
|
|
5100
|
+
), y = U(), g = H("p"), d = V(
|
|
5058
5101
|
/*accountCreationMessage*/
|
|
5059
5102
|
e[25]
|
|
5060
|
-
), b = U(),
|
|
5103
|
+
), b = U(), w = H("button"), P = V(O), S(o, "class", "a"), S(o, "d", "M29.325,51,0,21.675l5.95-5.95,23.375,22.95L68,0l5.95,5.95Z"), S(r, "xmlns", "http://www.w3.org/2000/svg"), S(r, "viewBox", "0 0 73.95 51"), S(h, "class", "RegisterConfirmationTitle"), S(c, "class", "RegisterConfirmationSubtitle"), S(g, "class", "RegisterConfirmationNote"), S(w, "class", "RegisterConfirmationGoToLogin"), S(t, "class", "RegisterConfirmation");
|
|
5061
5104
|
},
|
|
5062
5105
|
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,
|
|
5064
|
-
|
|
5106
|
+
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, m), E(t, y), E(t, g), E(g, d), E(t, b), E(t, w), E(w, P), R || (N = un(
|
|
5107
|
+
w,
|
|
5065
5108
|
"click",
|
|
5066
5109
|
/*switchToLogin*/
|
|
5067
5110
|
e[36]
|
|
@@ -5075,7 +5118,7 @@ function nr(e) {
|
|
|
5075
5118
|
C[23]
|
|
5076
5119
|
), D[0] & /*accountCreationSubTitle*/
|
|
5077
5120
|
16777216 && K(
|
|
5078
|
-
|
|
5121
|
+
m,
|
|
5079
5122
|
/*accountCreationSubTitle*/
|
|
5080
5123
|
C[24]
|
|
5081
5124
|
), D[0] & /*accountCreationMessage*/
|
|
@@ -5092,15 +5135,15 @@ function nr(e) {
|
|
|
5092
5135
|
}
|
|
5093
5136
|
};
|
|
5094
5137
|
}
|
|
5095
|
-
function
|
|
5138
|
+
function Us(e) {
|
|
5096
5139
|
let t;
|
|
5097
5140
|
function r(s, o) {
|
|
5098
|
-
return
|
|
5141
|
+
return Rs;
|
|
5099
5142
|
}
|
|
5100
5143
|
let i = r()(e);
|
|
5101
5144
|
return {
|
|
5102
5145
|
c() {
|
|
5103
|
-
t =
|
|
5146
|
+
t = H("div"), i.c();
|
|
5104
5147
|
},
|
|
5105
5148
|
m(s, o) {
|
|
5106
5149
|
F(s, t, o), i.m(t, null), e[42](t);
|
|
@@ -5115,80 +5158,80 @@ function Rs(e) {
|
|
|
5115
5158
|
}
|
|
5116
5159
|
};
|
|
5117
5160
|
}
|
|
5118
|
-
let
|
|
5119
|
-
function
|
|
5161
|
+
let ks = "Please use this code {0} to activate your account";
|
|
5162
|
+
function Gs(e, t, r) {
|
|
5120
5163
|
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:
|
|
5123
|
-
|
|
5124
|
-
const
|
|
5125
|
-
fetch(R).then((
|
|
5126
|
-
Object.keys(
|
|
5127
|
-
|
|
5164
|
+
rn(e, Bs, (f) => r(34, n = f));
|
|
5165
|
+
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: m = "" } = t, { defaultoptions: y = "" } = t, { smsverification: g = "false" } = t, { simplepasswordvalidation: d = "false" } = t, { userroles: b = "" } = t, { mbsource: w } = t, { clientstyling: O = "" } = t, { clientstylingurl: P = "" } = t, { translationurl: R = "" } = t, { savecredentials: N = "" } = t, { custominputtextswitch: C = "false" } = t, { personalidlength: D = "13" } = t, j, yt = "", ke = !0, ue = !1, be = !1, Ge = !1, je = !1, ye, vt = !1, _t = "", Et = "", wt = "", St = window.navigator.userAgent, $r = tr(St) !== "PC", $ = {}, xt = !1, Tt = !1, $e = "false", Ht = "false", Bt = "false", At = "false", Pt = "", Ot, ve = !1, Ct, _e;
|
|
5166
|
+
As({ withLocale: "en", translations: {} });
|
|
5167
|
+
const Vr = () => {
|
|
5168
|
+
fetch(R).then((T) => T.json()).then((T) => {
|
|
5169
|
+
Object.keys(T).forEach((I) => {
|
|
5170
|
+
rr(I, T[I]);
|
|
5128
5171
|
});
|
|
5129
|
-
}).catch((
|
|
5130
|
-
console.log(
|
|
5172
|
+
}).catch((T) => {
|
|
5173
|
+
console.log(T);
|
|
5131
5174
|
});
|
|
5132
5175
|
};
|
|
5133
|
-
Object.keys(
|
|
5134
|
-
|
|
5176
|
+
Object.keys(nr).forEach((f) => {
|
|
5177
|
+
rr(f, nr[f]);
|
|
5135
5178
|
});
|
|
5136
|
-
const
|
|
5179
|
+
const Xr = () => {
|
|
5137
5180
|
fetch(`${i}/v1/player/consentRequirements`).then((f) => f.json()).then((f) => {
|
|
5138
|
-
f.items.length > 0 ? (r(26,
|
|
5139
|
-
switch (
|
|
5181
|
+
f.items.length > 0 ? (r(26, $e = "true"), f.items.forEach((T) => {
|
|
5182
|
+
switch (T.tagCode) {
|
|
5140
5183
|
case "termsandconditions":
|
|
5141
|
-
r(27,
|
|
5184
|
+
r(27, Ht = "true");
|
|
5142
5185
|
break;
|
|
5143
5186
|
case "sms":
|
|
5144
|
-
r(28,
|
|
5187
|
+
r(28, Bt = "true");
|
|
5145
5188
|
break;
|
|
5146
5189
|
case "emailmarketing":
|
|
5147
|
-
r(29,
|
|
5190
|
+
r(29, At = "true");
|
|
5148
5191
|
break;
|
|
5149
5192
|
}
|
|
5150
|
-
})) : r(26,
|
|
5193
|
+
})) : r(26, $e = "false");
|
|
5151
5194
|
});
|
|
5152
|
-
},
|
|
5153
|
-
let f = new URL(`${s}/${u}/login-register-content?env=${o}`),
|
|
5154
|
-
|
|
5155
|
-
ye = I.registerData, r(23,
|
|
5195
|
+
}, Wr = () => {
|
|
5196
|
+
let f = new URL(`${s}/${u}/login-register-content?env=${o}`), T = tr(St);
|
|
5197
|
+
T && (T === "PC" ? f.searchParams.append("device", "dk") : f.searchParams.append("device", "mtWeb")), fetch(f.href).then((I) => I.json()).then((I) => {
|
|
5198
|
+
ye = I.registerData, r(23, _t = ye.title), r(24, Et = ye.subtitle), r(25, wt = ye.content);
|
|
5156
5199
|
}).catch((I) => {
|
|
5157
5200
|
console.error(I);
|
|
5158
5201
|
});
|
|
5159
5202
|
}, Ee = () => {
|
|
5160
5203
|
_e.scrollIntoView();
|
|
5161
|
-
},
|
|
5162
|
-
for (const
|
|
5163
|
-
|
|
5164
|
-
|
|
5165
|
-
},
|
|
5204
|
+
}, le = (f) => {
|
|
5205
|
+
for (const T in f)
|
|
5206
|
+
$[T] = f[T], T === "mobile" && r(32, Ct = `${f[T].prefix}${f[T].number}`);
|
|
5207
|
+
$.affiliateMarker = $.promoCode ? $.promoCode : h ?? "";
|
|
5208
|
+
}, It = (f) => {
|
|
5166
5209
|
if (f.data)
|
|
5167
5210
|
switch (f.data.type) {
|
|
5168
5211
|
case "RegisterStepOne":
|
|
5169
|
-
|
|
5212
|
+
le(f.data.registerStepOneData), Ee(), r(18, ke = !1), r(19, ue = !0), xt == !1 ? xt = !0 : window.postMessage({ type: "StepTwoDataBackup", userData: $ }, window.location.href);
|
|
5170
5213
|
break;
|
|
5171
5214
|
case "RegisterStepTwo":
|
|
5172
|
-
|
|
5215
|
+
le(f.data.registerStepTwoData), Ee(), r(19, ue = !1), r(20, be = !0), Tt == !1 ? Tt = !0 : window.postMessage({ type: "StepThreeDataBackup", userData: $ }, window.location.href);
|
|
5173
5216
|
break;
|
|
5174
5217
|
case "RegisterStepThree":
|
|
5175
|
-
|
|
5218
|
+
le(f.data.registerStepThreeData), Zr($);
|
|
5176
5219
|
break;
|
|
5177
5220
|
case "SmsHasBeenValidated":
|
|
5178
|
-
r(22,
|
|
5221
|
+
r(22, je = !0), r(21, Ge = !1);
|
|
5179
5222
|
break;
|
|
5180
5223
|
case "GoBackStepTwo":
|
|
5181
|
-
|
|
5224
|
+
le(f.data.registerStepTwoData), Ee(), r(18, ke = !0), r(19, ue = !1), window.postMessage({ type: "StepOneDataBackup", userData: $ }, window.location.href);
|
|
5182
5225
|
break;
|
|
5183
5226
|
case "GoBackStepThree":
|
|
5184
|
-
|
|
5227
|
+
le(f.data.registerStepThreeData), Ee(), r(19, ue = !0), r(20, be = !1), window.postMessage({ type: "StepTwoDataBackup", userData: $ }, window.location.href);
|
|
5185
5228
|
break;
|
|
5186
5229
|
}
|
|
5187
|
-
},
|
|
5230
|
+
}, zr = () => {
|
|
5188
5231
|
typeof gtag == "function" && gtag("event", "Register", { context: "GeneralPlayerRegisterForm" });
|
|
5189
|
-
},
|
|
5232
|
+
}, Zr = async (f) => {
|
|
5190
5233
|
f.language = u;
|
|
5191
|
-
let
|
|
5234
|
+
let T = {
|
|
5192
5235
|
method: "PUT",
|
|
5193
5236
|
headers: {
|
|
5194
5237
|
"g-recaptcha-response": f.token,
|
|
@@ -5196,16 +5239,16 @@ function Ms(e, t, r) {
|
|
|
5196
5239
|
Accept: "application/json"
|
|
5197
5240
|
},
|
|
5198
5241
|
body: JSON.stringify(f)
|
|
5199
|
-
}, I = await fetch(`${i}/v1/player/register`,
|
|
5200
|
-
I.ok ? (r(20, be = !1), g === "false" ? r(22,
|
|
5242
|
+
}, I = await fetch(`${i}/v1/player/register`, T), W = await I.json();
|
|
5243
|
+
I.ok ? (r(20, be = !1), g === "false" ? r(22, je = !0) : (r(17, yt = W.id), Jr(f, W.id)), f.username, f.password, zr()) : (Pt = W.error.substring(W.error.indexOf("errorMessage") + 13, W.error.length), vt = !0, window.postMessage(
|
|
5201
5244
|
{
|
|
5202
5245
|
type: "ShowRegistrationError",
|
|
5203
|
-
showError:
|
|
5204
|
-
error:
|
|
5246
|
+
showError: vt,
|
|
5247
|
+
error: Pt
|
|
5205
5248
|
},
|
|
5206
5249
|
window.location.href
|
|
5207
5250
|
));
|
|
5208
|
-
},
|
|
5251
|
+
}, Jr = async (f, T) => {
|
|
5209
5252
|
localStorage.setItem("smsTimer", JSON.stringify(Math.floor(Date.now() / 1e3)));
|
|
5210
5253
|
try {
|
|
5211
5254
|
const I = await fetch(`${i}/v1/player/sms/token`, {
|
|
@@ -5215,108 +5258,108 @@ function Ms(e, t, r) {
|
|
|
5215
5258
|
accept: "application/json"
|
|
5216
5259
|
},
|
|
5217
5260
|
body: JSON.stringify({
|
|
5218
|
-
userId:
|
|
5219
|
-
messageTemplate:
|
|
5261
|
+
userId: T,
|
|
5262
|
+
messageTemplate: ks,
|
|
5220
5263
|
destination: `${f.mobile.prefix}${f.mobile.number}`
|
|
5221
5264
|
})
|
|
5222
5265
|
}), W = await I.json();
|
|
5223
5266
|
if (I.ok) {
|
|
5224
|
-
r(30,
|
|
5225
|
-
let
|
|
5226
|
-
r(21,
|
|
5267
|
+
r(30, Ot = W.id);
|
|
5268
|
+
let $s = W.maxValidationAttempts;
|
|
5269
|
+
r(21, Ge = !0), r(31, ve = !1);
|
|
5227
5270
|
} else
|
|
5228
5271
|
throw r(31, ve = !0), new Error("Failed to fetch");
|
|
5229
5272
|
} catch (I) {
|
|
5230
5273
|
r(31, ve = !0), console.error(I);
|
|
5231
5274
|
}
|
|
5232
|
-
},
|
|
5233
|
-
|
|
5234
|
-
},
|
|
5275
|
+
}, qr = () => {
|
|
5276
|
+
m.split(",");
|
|
5277
|
+
}, Qr = () => {
|
|
5235
5278
|
window.postMessage({ type: "ToLogin" }, window.location.href);
|
|
5236
|
-
},
|
|
5237
|
-
|
|
5279
|
+
}, Yr = () => {
|
|
5280
|
+
Ps(u);
|
|
5238
5281
|
};
|
|
5239
|
-
|
|
5240
|
-
window.removeEventListener("message",
|
|
5282
|
+
cn(() => (window.addEventListener("message", It, !1), () => {
|
|
5283
|
+
window.removeEventListener("message", It);
|
|
5241
5284
|
}));
|
|
5242
|
-
function
|
|
5285
|
+
function Kr(f) {
|
|
5243
5286
|
Oe[f ? "unshift" : "push"](() => {
|
|
5244
5287
|
_e = f, r(33, _e);
|
|
5245
5288
|
});
|
|
5246
5289
|
}
|
|
5247
|
-
function
|
|
5290
|
+
function en(f) {
|
|
5248
5291
|
Oe[f ? "unshift" : "push"](() => {
|
|
5249
|
-
|
|
5292
|
+
j = f, r(16, j);
|
|
5250
5293
|
});
|
|
5251
5294
|
}
|
|
5252
5295
|
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,
|
|
5296
|
+
"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, m = 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, w = 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, N = f.savecredentials), "custominputtextswitch" in f && r(14, C = f.custominputtextswitch), "personalidlength" in f && r(15, D = f.personalidlength);
|
|
5254
5297
|
}, e.$$.update = () => {
|
|
5255
5298
|
e.$$.dirty[0] & /*endpoint*/
|
|
5256
|
-
1 && i &&
|
|
5299
|
+
1 && i && Xr(), e.$$.dirty[0] & /*lang*/
|
|
5257
5300
|
8 | e.$$.dirty[1] & /*cmsendpoint, env, userroles*/
|
|
5258
|
-
704 && s && u && o && b &&
|
|
5301
|
+
704 && s && u && o && b && Wr(), e.$$.dirty[0] & /*playerid, session*/
|
|
5259
5302
|
131074, e.$$.dirty[0] & /*lang*/
|
|
5260
|
-
8 && u &&
|
|
5261
|
-
32 &&
|
|
5262
|
-
66560 && O &&
|
|
5263
|
-
67584 && P &&
|
|
5264
|
-
66048 &&
|
|
5265
|
-
4096 && R &&
|
|
5303
|
+
8 && u && Yr(), e.$$.dirty[0] & /*disabledfields*/
|
|
5304
|
+
32 && m && qr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5305
|
+
66560 && O && j && Os(j, O), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5306
|
+
67584 && P && j && Cs(j, P), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5307
|
+
66048 && w && j && Is(j, `${w}.Style`), e.$$.dirty[0] & /*translationurl*/
|
|
5308
|
+
4096 && R && Vr();
|
|
5266
5309
|
}, [
|
|
5267
5310
|
i,
|
|
5268
5311
|
a,
|
|
5269
5312
|
l,
|
|
5270
5313
|
u,
|
|
5271
5314
|
c,
|
|
5272
|
-
|
|
5315
|
+
m,
|
|
5273
5316
|
y,
|
|
5274
5317
|
g,
|
|
5275
5318
|
d,
|
|
5276
|
-
|
|
5319
|
+
w,
|
|
5277
5320
|
O,
|
|
5278
5321
|
P,
|
|
5279
5322
|
R,
|
|
5280
5323
|
N,
|
|
5281
5324
|
C,
|
|
5282
5325
|
D,
|
|
5283
|
-
|
|
5284
|
-
|
|
5285
|
-
Fe,
|
|
5286
|
-
le,
|
|
5287
|
-
be,
|
|
5288
|
-
Ue,
|
|
5326
|
+
j,
|
|
5327
|
+
yt,
|
|
5289
5328
|
ke,
|
|
5290
|
-
|
|
5291
|
-
|
|
5292
|
-
bt,
|
|
5329
|
+
ue,
|
|
5330
|
+
be,
|
|
5293
5331
|
Ge,
|
|
5332
|
+
je,
|
|
5333
|
+
_t,
|
|
5294
5334
|
Et,
|
|
5295
5335
|
wt,
|
|
5296
|
-
|
|
5297
|
-
Tt,
|
|
5298
|
-
ve,
|
|
5336
|
+
$e,
|
|
5299
5337
|
Ht,
|
|
5338
|
+
Bt,
|
|
5339
|
+
At,
|
|
5340
|
+
Ot,
|
|
5341
|
+
ve,
|
|
5342
|
+
Ct,
|
|
5300
5343
|
_e,
|
|
5301
5344
|
n,
|
|
5302
|
-
|
|
5303
|
-
|
|
5345
|
+
$r,
|
|
5346
|
+
Qr,
|
|
5304
5347
|
s,
|
|
5305
5348
|
o,
|
|
5306
5349
|
h,
|
|
5307
5350
|
b,
|
|
5308
|
-
|
|
5309
|
-
|
|
5351
|
+
Kr,
|
|
5352
|
+
en
|
|
5310
5353
|
];
|
|
5311
5354
|
}
|
|
5312
|
-
class
|
|
5355
|
+
class js extends xn {
|
|
5313
5356
|
constructor(t) {
|
|
5314
|
-
super(),
|
|
5357
|
+
super(), wn(
|
|
5315
5358
|
this,
|
|
5316
5359
|
t,
|
|
5317
|
-
|
|
5318
|
-
|
|
5319
|
-
|
|
5360
|
+
Gs,
|
|
5361
|
+
Us,
|
|
5362
|
+
hr,
|
|
5320
5363
|
{
|
|
5321
5364
|
endpoint: 0,
|
|
5322
5365
|
cmsendpoint: 37,
|
|
@@ -5339,7 +5382,7 @@ class Ds extends vn {
|
|
|
5339
5382
|
custominputtextswitch: 14,
|
|
5340
5383
|
personalidlength: 15
|
|
5341
5384
|
},
|
|
5342
|
-
|
|
5385
|
+
Ls,
|
|
5343
5386
|
[-1, -1, -1]
|
|
5344
5387
|
);
|
|
5345
5388
|
}
|
|
@@ -5347,160 +5390,160 @@ class Ds extends vn {
|
|
|
5347
5390
|
return this.$$.ctx[0];
|
|
5348
5391
|
}
|
|
5349
5392
|
set endpoint(t) {
|
|
5350
|
-
this.$$set({ endpoint: t }),
|
|
5393
|
+
this.$$set({ endpoint: t }), B();
|
|
5351
5394
|
}
|
|
5352
5395
|
get cmsendpoint() {
|
|
5353
5396
|
return this.$$.ctx[37];
|
|
5354
5397
|
}
|
|
5355
5398
|
set cmsendpoint(t) {
|
|
5356
|
-
this.$$set({ cmsendpoint: t }),
|
|
5399
|
+
this.$$set({ cmsendpoint: t }), B();
|
|
5357
5400
|
}
|
|
5358
5401
|
get env() {
|
|
5359
5402
|
return this.$$.ctx[38];
|
|
5360
5403
|
}
|
|
5361
5404
|
set env(t) {
|
|
5362
|
-
this.$$set({ env: t }),
|
|
5405
|
+
this.$$set({ env: t }), B();
|
|
5363
5406
|
}
|
|
5364
5407
|
get session() {
|
|
5365
5408
|
return this.$$.ctx[1];
|
|
5366
5409
|
}
|
|
5367
5410
|
set session(t) {
|
|
5368
|
-
this.$$set({ session: t }),
|
|
5411
|
+
this.$$set({ session: t }), B();
|
|
5369
5412
|
}
|
|
5370
5413
|
get trackedanalyticsdata() {
|
|
5371
5414
|
return this.$$.ctx[39];
|
|
5372
5415
|
}
|
|
5373
5416
|
set trackedanalyticsdata(t) {
|
|
5374
|
-
this.$$set({ trackedanalyticsdata: t }),
|
|
5417
|
+
this.$$set({ trackedanalyticsdata: t }), B();
|
|
5375
5418
|
}
|
|
5376
5419
|
get captchakey() {
|
|
5377
5420
|
return this.$$.ctx[2];
|
|
5378
5421
|
}
|
|
5379
5422
|
set captchakey(t) {
|
|
5380
|
-
this.$$set({ captchakey: t }),
|
|
5423
|
+
this.$$set({ captchakey: t }), B();
|
|
5381
5424
|
}
|
|
5382
5425
|
get lang() {
|
|
5383
5426
|
return this.$$.ctx[3];
|
|
5384
5427
|
}
|
|
5385
5428
|
set lang(t) {
|
|
5386
|
-
this.$$set({ lang: t }),
|
|
5429
|
+
this.$$set({ lang: t }), B();
|
|
5387
5430
|
}
|
|
5388
5431
|
get licenseyears() {
|
|
5389
5432
|
return this.$$.ctx[4];
|
|
5390
5433
|
}
|
|
5391
5434
|
set licenseyears(t) {
|
|
5392
|
-
this.$$set({ licenseyears: t }),
|
|
5435
|
+
this.$$set({ licenseyears: t }), B();
|
|
5393
5436
|
}
|
|
5394
5437
|
get disabledfields() {
|
|
5395
5438
|
return this.$$.ctx[5];
|
|
5396
5439
|
}
|
|
5397
5440
|
set disabledfields(t) {
|
|
5398
|
-
this.$$set({ disabledfields: t }),
|
|
5441
|
+
this.$$set({ disabledfields: t }), B();
|
|
5399
5442
|
}
|
|
5400
5443
|
get defaultoptions() {
|
|
5401
5444
|
return this.$$.ctx[6];
|
|
5402
5445
|
}
|
|
5403
5446
|
set defaultoptions(t) {
|
|
5404
|
-
this.$$set({ defaultoptions: t }),
|
|
5447
|
+
this.$$set({ defaultoptions: t }), B();
|
|
5405
5448
|
}
|
|
5406
5449
|
get smsverification() {
|
|
5407
5450
|
return this.$$.ctx[7];
|
|
5408
5451
|
}
|
|
5409
5452
|
set smsverification(t) {
|
|
5410
|
-
this.$$set({ smsverification: t }),
|
|
5453
|
+
this.$$set({ smsverification: t }), B();
|
|
5411
5454
|
}
|
|
5412
5455
|
get simplepasswordvalidation() {
|
|
5413
5456
|
return this.$$.ctx[8];
|
|
5414
5457
|
}
|
|
5415
5458
|
set simplepasswordvalidation(t) {
|
|
5416
|
-
this.$$set({ simplepasswordvalidation: t }),
|
|
5459
|
+
this.$$set({ simplepasswordvalidation: t }), B();
|
|
5417
5460
|
}
|
|
5418
5461
|
get userroles() {
|
|
5419
5462
|
return this.$$.ctx[40];
|
|
5420
5463
|
}
|
|
5421
5464
|
set userroles(t) {
|
|
5422
|
-
this.$$set({ userroles: t }),
|
|
5465
|
+
this.$$set({ userroles: t }), B();
|
|
5423
5466
|
}
|
|
5424
5467
|
get mbsource() {
|
|
5425
5468
|
return this.$$.ctx[9];
|
|
5426
5469
|
}
|
|
5427
5470
|
set mbsource(t) {
|
|
5428
|
-
this.$$set({ mbsource: t }),
|
|
5471
|
+
this.$$set({ mbsource: t }), B();
|
|
5429
5472
|
}
|
|
5430
5473
|
get clientstyling() {
|
|
5431
5474
|
return this.$$.ctx[10];
|
|
5432
5475
|
}
|
|
5433
5476
|
set clientstyling(t) {
|
|
5434
|
-
this.$$set({ clientstyling: t }),
|
|
5477
|
+
this.$$set({ clientstyling: t }), B();
|
|
5435
5478
|
}
|
|
5436
5479
|
get clientstylingurl() {
|
|
5437
5480
|
return this.$$.ctx[11];
|
|
5438
5481
|
}
|
|
5439
5482
|
set clientstylingurl(t) {
|
|
5440
|
-
this.$$set({ clientstylingurl: t }),
|
|
5483
|
+
this.$$set({ clientstylingurl: t }), B();
|
|
5441
5484
|
}
|
|
5442
5485
|
get translationurl() {
|
|
5443
5486
|
return this.$$.ctx[12];
|
|
5444
5487
|
}
|
|
5445
5488
|
set translationurl(t) {
|
|
5446
|
-
this.$$set({ translationurl: t }),
|
|
5489
|
+
this.$$set({ translationurl: t }), B();
|
|
5447
5490
|
}
|
|
5448
5491
|
get savecredentials() {
|
|
5449
5492
|
return this.$$.ctx[13];
|
|
5450
5493
|
}
|
|
5451
5494
|
set savecredentials(t) {
|
|
5452
|
-
this.$$set({ savecredentials: t }),
|
|
5495
|
+
this.$$set({ savecredentials: t }), B();
|
|
5453
5496
|
}
|
|
5454
5497
|
get custominputtextswitch() {
|
|
5455
5498
|
return this.$$.ctx[14];
|
|
5456
5499
|
}
|
|
5457
5500
|
set custominputtextswitch(t) {
|
|
5458
|
-
this.$$set({ custominputtextswitch: t }),
|
|
5501
|
+
this.$$set({ custominputtextswitch: t }), B();
|
|
5459
5502
|
}
|
|
5460
5503
|
get personalidlength() {
|
|
5461
5504
|
return this.$$.ctx[15];
|
|
5462
5505
|
}
|
|
5463
5506
|
set personalidlength(t) {
|
|
5464
|
-
this.$$set({ personalidlength: t }),
|
|
5507
|
+
this.$$set({ personalidlength: t }), B();
|
|
5465
5508
|
}
|
|
5466
5509
|
}
|
|
5467
|
-
|
|
5510
|
+
Sn(js, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, trackedanalyticsdata: {}, captchakey: {}, lang: {}, licenseyears: {}, disabledfields: {}, defaultoptions: {}, smsverification: {}, simplepasswordvalidation: {}, userroles: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, custominputtextswitch: {}, personalidlength: {} }, [], [], !0);
|
|
5468
5511
|
export {
|
|
5469
5512
|
Z as $,
|
|
5470
|
-
|
|
5471
|
-
|
|
5472
|
-
|
|
5473
|
-
|
|
5474
|
-
|
|
5475
|
-
|
|
5476
|
-
|
|
5477
|
-
|
|
5478
|
-
|
|
5479
|
-
|
|
5480
|
-
|
|
5481
|
-
|
|
5482
|
-
|
|
5513
|
+
zs as A,
|
|
5514
|
+
Ke as B,
|
|
5515
|
+
Js as C,
|
|
5516
|
+
Xs as D,
|
|
5517
|
+
Zs as E,
|
|
5518
|
+
an as F,
|
|
5519
|
+
oe as G,
|
|
5520
|
+
Vs as H,
|
|
5521
|
+
js as I,
|
|
5522
|
+
xn as S,
|
|
5523
|
+
Fr as a,
|
|
5524
|
+
nn as b,
|
|
5525
|
+
Sn as c,
|
|
5483
5526
|
M as d,
|
|
5484
5527
|
K as e,
|
|
5485
|
-
|
|
5486
|
-
|
|
5528
|
+
B as f,
|
|
5529
|
+
Ws as g,
|
|
5487
5530
|
S as h,
|
|
5488
|
-
|
|
5531
|
+
wn as i,
|
|
5489
5532
|
F as j,
|
|
5490
5533
|
E as k,
|
|
5491
|
-
|
|
5492
|
-
|
|
5534
|
+
un as l,
|
|
5535
|
+
H as m,
|
|
5493
5536
|
k as n,
|
|
5494
5537
|
U as o,
|
|
5495
|
-
|
|
5496
|
-
|
|
5497
|
-
|
|
5498
|
-
|
|
5499
|
-
|
|
5538
|
+
rn as p,
|
|
5539
|
+
cn as q,
|
|
5540
|
+
de as r,
|
|
5541
|
+
hr as s,
|
|
5542
|
+
V as t,
|
|
5500
5543
|
Oe as u,
|
|
5501
|
-
|
|
5502
|
-
|
|
5503
|
-
|
|
5504
|
-
|
|
5505
|
-
|
|
5544
|
+
Se as v,
|
|
5545
|
+
Bs as w,
|
|
5546
|
+
Os as x,
|
|
5547
|
+
Cs as y,
|
|
5548
|
+
Is as z
|
|
5506
5549
|
};
|