@everymatrix/general-player-register-form 1.56.0 → 1.56.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{GeneralPlayerRegisterForm-DUYIZTYO.js → GeneralPlayerRegisterForm-BuB61HLg.js} +690 -635
- package/components/{GeneralPlayerRegisterForm-DQoOy50k.js → GeneralPlayerRegisterForm-DG_PgxLH.js} +710 -655
- package/components/GeneralPlayerRegisterForm-DbK_m5P7.cjs +18 -0
- package/components/{GeneralPlayerRegisterFormStep1-AyzdJWo4.js → GeneralPlayerRegisterFormStep1-BSHKlHOb.js} +61 -59
- package/components/{GeneralPlayerRegisterFormStep1-DQ7meqgF.cjs → GeneralPlayerRegisterFormStep1-BwtIzCfb.cjs} +1 -1
- package/components/{GeneralPlayerRegisterFormStep1-D1LEX8PA.js → GeneralPlayerRegisterFormStep1-CapVEL9Q.js} +61 -59
- package/components/{GeneralPlayerRegisterFormStep2-Cm5xIDmL.js → GeneralPlayerRegisterFormStep2-3cXnxgiM.js} +1275 -1329
- package/components/{GeneralPlayerRegisterFormStep2-BGBu3VtJ.js → GeneralPlayerRegisterFormStep2-BcHjMrGe.js} +1256 -1310
- package/components/GeneralPlayerRegisterFormStep2-D52wwanQ.cjs +10 -0
- package/components/{GeneralPlayerRegisterFormStep3-Bkc50gc1.cjs → GeneralPlayerRegisterFormStep3-Bin16Rle.cjs} +1 -1
- package/components/{GeneralPlayerRegisterFormStep3-CD04wcLk.js → GeneralPlayerRegisterFormStep3-CjAOZMlI.js} +14 -14
- package/components/{GeneralPlayerRegisterFormStep3-CfG_VDa4.js → GeneralPlayerRegisterFormStep3-yTFKx15l.js} +14 -14
- package/components/{GeneralPlayerSmsVerificationForm-BaXDMqKB.js → GeneralPlayerSmsVerificationForm-Cgj6Enci.js} +25 -25
- package/components/{GeneralPlayerSmsVerificationForm-rQ9SIkQT.js → GeneralPlayerSmsVerificationForm-D32c_95u.js} +25 -25
- package/components/{GeneralPlayerSmsVerificationForm-gR7pHb6z.cjs → GeneralPlayerSmsVerificationForm-DIarV0WP.cjs} +1 -1
- package/es2015/general-player-register-form.cjs +1 -1
- package/es2015/general-player-register-form.js +1 -1
- package/esnext/general-player-register-form.js +1 -1
- package/package.json +1 -1
- package/components/GeneralPlayerRegisterForm-BFbWxlar.cjs +0 -5
- package/components/GeneralPlayerRegisterFormStep2-D62Ymei8.cjs +0 -10
package/components/{GeneralPlayerRegisterForm-DUYIZTYO.js → GeneralPlayerRegisterForm-BuB61HLg.js}
RENAMED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var Ve = (e, t, r) => t in e ?
|
|
1
|
+
var un = Object.defineProperty, ln = Object.defineProperties;
|
|
2
|
+
var hn = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var Lt = Object.getOwnPropertySymbols;
|
|
4
|
+
var fn = Object.prototype.hasOwnProperty, cn = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Ve = (e, t, r) => t in e ? un(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Mt = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
fn.call(t, r) && Ve(e, r, t[r]);
|
|
8
|
+
if (Lt)
|
|
9
|
+
for (var r of Lt(t))
|
|
10
|
+
cn.call(t, r) && Ve(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var F = (e, t, r) => Ve(e, typeof t != "symbol" ? t + "" : t, r);
|
|
12
|
+
}, Nt = (e, t) => ln(e, hn(t));
|
|
13
|
+
var F = (e, t, r) => (Ve(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
14
|
var we = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var s = (l) => {
|
|
16
16
|
try {
|
|
@@ -29,29 +29,29 @@ var we = (e, t, r) => new Promise((n, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
function k() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function mr(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function Dt() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
38
|
function be(e) {
|
|
39
|
-
e.forEach(
|
|
39
|
+
e.forEach(mr);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function pt(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function pr(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
47
|
let xe;
|
|
48
|
-
function
|
|
48
|
+
function eo(e, t) {
|
|
49
49
|
return e === t ? !0 : (xe || (xe = document.createElement("a")), xe.href = t, e === xe.href);
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function mn(e) {
|
|
52
52
|
return Object.keys(e).length === 0;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function dr(e, ...t) {
|
|
55
55
|
if (e == null) {
|
|
56
56
|
for (const n of t)
|
|
57
57
|
n(void 0);
|
|
@@ -60,21 +60,22 @@ function cr(e, ...t) {
|
|
|
60
60
|
const r = e.subscribe(...t);
|
|
61
61
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
64
|
-
e.$$.on_destroy.push(
|
|
63
|
+
function pn(e, t, r) {
|
|
64
|
+
e.$$.on_destroy.push(dr(t, r));
|
|
65
65
|
}
|
|
66
66
|
function E(e, t) {
|
|
67
67
|
e.appendChild(t);
|
|
68
68
|
}
|
|
69
|
-
function
|
|
70
|
-
const n =
|
|
69
|
+
function dn(e, t, r) {
|
|
70
|
+
const n = gn(e);
|
|
71
71
|
if (!n.getElementById(t)) {
|
|
72
72
|
const i = B("style");
|
|
73
|
-
i.id = t, i.textContent = r,
|
|
73
|
+
i.id = t, i.textContent = r, bn(n, i);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
function
|
|
77
|
-
if (!e)
|
|
76
|
+
function gn(e) {
|
|
77
|
+
if (!e)
|
|
78
|
+
return document;
|
|
78
79
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
79
80
|
return t && /** @type {ShadowRoot} */
|
|
80
81
|
t.host ? (
|
|
@@ -82,7 +83,7 @@ function cn(e) {
|
|
|
82
83
|
t
|
|
83
84
|
) : e.ownerDocument;
|
|
84
85
|
}
|
|
85
|
-
function
|
|
86
|
+
function bn(e, t) {
|
|
86
87
|
return E(
|
|
87
88
|
/** @type {Document} */
|
|
88
89
|
e.head || e,
|
|
@@ -95,7 +96,7 @@ function U(e, t, r) {
|
|
|
95
96
|
function N(e) {
|
|
96
97
|
e.parentNode && e.parentNode.removeChild(e);
|
|
97
98
|
}
|
|
98
|
-
function
|
|
99
|
+
function to(e, t) {
|
|
99
100
|
for (let r = 0; r < e.length; r += 1)
|
|
100
101
|
e[r] && e[r].d(t);
|
|
101
102
|
}
|
|
@@ -111,10 +112,10 @@ function V(e) {
|
|
|
111
112
|
function G() {
|
|
112
113
|
return V(" ");
|
|
113
114
|
}
|
|
114
|
-
function
|
|
115
|
+
function yn() {
|
|
115
116
|
return V("");
|
|
116
117
|
}
|
|
117
|
-
function
|
|
118
|
+
function vn(e, t, r, n) {
|
|
118
119
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
119
120
|
}
|
|
120
121
|
function x(e, t, r) {
|
|
@@ -124,17 +125,17 @@ function m(e, t, r) {
|
|
|
124
125
|
const n = t.toLowerCase();
|
|
125
126
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : x(e, t, r);
|
|
126
127
|
}
|
|
127
|
-
function
|
|
128
|
+
function _n(e) {
|
|
128
129
|
return Array.from(e.childNodes);
|
|
129
130
|
}
|
|
130
131
|
function ee(e, t) {
|
|
131
132
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
132
133
|
t);
|
|
133
134
|
}
|
|
134
|
-
function
|
|
135
|
+
function ro(e, t) {
|
|
135
136
|
e.value = t == null ? "" : t;
|
|
136
137
|
}
|
|
137
|
-
function
|
|
138
|
+
function no(e, t, r) {
|
|
138
139
|
for (let n = 0; n < e.options.length; n += 1) {
|
|
139
140
|
const i = e.options[n];
|
|
140
141
|
if (i.__value === t) {
|
|
@@ -144,11 +145,11 @@ function eo(e, t, r) {
|
|
|
144
145
|
}
|
|
145
146
|
(!r || t !== void 0) && (e.selectedIndex = -1);
|
|
146
147
|
}
|
|
147
|
-
function
|
|
148
|
+
function io(e) {
|
|
148
149
|
const t = e.querySelector(":checked");
|
|
149
150
|
return t && t.__value;
|
|
150
151
|
}
|
|
151
|
-
function
|
|
152
|
+
function En(e) {
|
|
152
153
|
const t = {};
|
|
153
154
|
return e.childNodes.forEach(
|
|
154
155
|
/** @param {Element} node */
|
|
@@ -161,21 +162,22 @@ let pe;
|
|
|
161
162
|
function me(e) {
|
|
162
163
|
pe = e;
|
|
163
164
|
}
|
|
164
|
-
function
|
|
165
|
-
if (!pe)
|
|
165
|
+
function Sn() {
|
|
166
|
+
if (!pe)
|
|
167
|
+
throw new Error("Function called outside component initialization");
|
|
166
168
|
return pe;
|
|
167
169
|
}
|
|
168
|
-
function
|
|
169
|
-
|
|
170
|
+
function wn(e) {
|
|
171
|
+
Sn().$$.on_mount.push(e);
|
|
170
172
|
}
|
|
171
173
|
const K = [], Ie = [];
|
|
172
174
|
let te = [];
|
|
173
|
-
const
|
|
174
|
-
let
|
|
175
|
-
function
|
|
176
|
-
|
|
175
|
+
const Ft = [], xn = /* @__PURE__ */ Promise.resolve();
|
|
176
|
+
let Ke = !1;
|
|
177
|
+
function Tn() {
|
|
178
|
+
Ke || (Ke = !0, xn.then(A));
|
|
177
179
|
}
|
|
178
|
-
function
|
|
180
|
+
function et(e) {
|
|
179
181
|
te.push(e);
|
|
180
182
|
}
|
|
181
183
|
const Xe = /* @__PURE__ */ new Set();
|
|
@@ -188,55 +190,56 @@ function A() {
|
|
|
188
190
|
try {
|
|
189
191
|
for (; Q < K.length; ) {
|
|
190
192
|
const t = K[Q];
|
|
191
|
-
Q++, me(t),
|
|
193
|
+
Q++, me(t), Hn(t.$$);
|
|
192
194
|
}
|
|
193
195
|
} catch (t) {
|
|
194
196
|
throw K.length = 0, Q = 0, t;
|
|
195
197
|
}
|
|
196
|
-
for (me(null), K.length = 0, Q = 0; Ie.length; )
|
|
198
|
+
for (me(null), K.length = 0, Q = 0; Ie.length; )
|
|
199
|
+
Ie.pop()();
|
|
197
200
|
for (let t = 0; t < te.length; t += 1) {
|
|
198
201
|
const r = te[t];
|
|
199
202
|
Xe.has(r) || (Xe.add(r), r());
|
|
200
203
|
}
|
|
201
204
|
te.length = 0;
|
|
202
205
|
} while (K.length);
|
|
203
|
-
for (;
|
|
204
|
-
|
|
205
|
-
|
|
206
|
+
for (; Ft.length; )
|
|
207
|
+
Ft.pop()();
|
|
208
|
+
Ke = !1, Xe.clear(), me(e);
|
|
206
209
|
}
|
|
207
|
-
function
|
|
210
|
+
function Hn(e) {
|
|
208
211
|
if (e.fragment !== null) {
|
|
209
212
|
e.update(), be(e.before_update);
|
|
210
213
|
const t = e.dirty;
|
|
211
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
214
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(et);
|
|
212
215
|
}
|
|
213
216
|
}
|
|
214
|
-
function
|
|
217
|
+
function Bn(e) {
|
|
215
218
|
const t = [], r = [];
|
|
216
219
|
te.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), te = t;
|
|
217
220
|
}
|
|
218
|
-
const
|
|
219
|
-
function
|
|
220
|
-
e && e.i && (
|
|
221
|
+
const An = /* @__PURE__ */ new Set();
|
|
222
|
+
function Pn(e, t) {
|
|
223
|
+
e && e.i && (An.delete(e), e.i(t));
|
|
221
224
|
}
|
|
222
|
-
function
|
|
225
|
+
function so(e) {
|
|
223
226
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
224
227
|
}
|
|
225
|
-
function
|
|
228
|
+
function Cn(e, t, r) {
|
|
226
229
|
const { fragment: n, after_update: i } = e.$$;
|
|
227
|
-
n && n.m(t, r),
|
|
228
|
-
const s = e.$$.on_mount.map(
|
|
230
|
+
n && n.m(t, r), et(() => {
|
|
231
|
+
const s = e.$$.on_mount.map(mr).filter(pt);
|
|
229
232
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : be(s), e.$$.on_mount = [];
|
|
230
|
-
}), i.forEach(
|
|
233
|
+
}), i.forEach(et);
|
|
231
234
|
}
|
|
232
|
-
function
|
|
235
|
+
function On(e, t) {
|
|
233
236
|
const r = e.$$;
|
|
234
|
-
r.fragment !== null && (
|
|
237
|
+
r.fragment !== null && (Bn(r.after_update), be(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
235
238
|
}
|
|
236
|
-
function
|
|
237
|
-
e.$$.dirty[0] === -1 && (K.push(e),
|
|
239
|
+
function In(e, t) {
|
|
240
|
+
e.$$.dirty[0] === -1 && (K.push(e), Tn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
238
241
|
}
|
|
239
|
-
function
|
|
242
|
+
function Rn(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
240
243
|
const l = pe;
|
|
241
244
|
me(e);
|
|
242
245
|
const u = e.$$ = {
|
|
@@ -246,7 +249,7 @@ function Pn(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
|
246
249
|
props: s,
|
|
247
250
|
update: k,
|
|
248
251
|
not_equal: i,
|
|
249
|
-
bound:
|
|
252
|
+
bound: Dt(),
|
|
250
253
|
// lifecycle
|
|
251
254
|
on_mount: [],
|
|
252
255
|
on_destroy: [],
|
|
@@ -255,7 +258,7 @@ function Pn(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
|
255
258
|
after_update: [],
|
|
256
259
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
257
260
|
// everything else
|
|
258
|
-
callbacks:
|
|
261
|
+
callbacks: Dt(),
|
|
259
262
|
dirty: a,
|
|
260
263
|
skip_bound: !1,
|
|
261
264
|
root: t.target || l.$$.root
|
|
@@ -264,19 +267,19 @@ function Pn(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
|
264
267
|
let h = !1;
|
|
265
268
|
if (u.ctx = r ? r(e, t.props || {}, (c, p, ...y) => {
|
|
266
269
|
const g = y.length ? y[0] : p;
|
|
267
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] = g) && (!u.skip_bound && u.bound[c] && u.bound[c](g), h &&
|
|
270
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = g) && (!u.skip_bound && u.bound[c] && u.bound[c](g), h && In(e, c)), p;
|
|
268
271
|
}) : [], u.update(), h = !0, be(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
269
272
|
if (t.hydrate) {
|
|
270
|
-
const c =
|
|
273
|
+
const c = _n(t.target);
|
|
271
274
|
u.fragment && u.fragment.l(c), c.forEach(N);
|
|
272
275
|
} else
|
|
273
276
|
u.fragment && u.fragment.c();
|
|
274
|
-
t.intro &&
|
|
277
|
+
t.intro && Pn(e.$$.fragment), Cn(e, t.target, t.anchor), A();
|
|
275
278
|
}
|
|
276
279
|
me(l);
|
|
277
280
|
}
|
|
278
|
-
let
|
|
279
|
-
typeof HTMLElement == "function" && (
|
|
281
|
+
let gr;
|
|
282
|
+
typeof HTMLElement == "function" && (gr = class extends HTMLElement {
|
|
280
283
|
constructor(t, r, n) {
|
|
281
284
|
super();
|
|
282
285
|
/** The Svelte component constructor */
|
|
@@ -337,7 +340,7 @@ typeof HTMLElement == "function" && (mr = class extends HTMLElement {
|
|
|
337
340
|
};
|
|
338
341
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
339
342
|
return;
|
|
340
|
-
const r = {}, n =
|
|
343
|
+
const r = {}, n = En(this);
|
|
341
344
|
for (const s of this.$$s)
|
|
342
345
|
s in n && (r[s] = [t(s)]);
|
|
343
346
|
for (const s of this.attributes) {
|
|
@@ -348,7 +351,7 @@ typeof HTMLElement == "function" && (mr = class extends HTMLElement {
|
|
|
348
351
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
|
349
352
|
this.$$c = new this.$$ctor({
|
|
350
353
|
target: this.shadowRoot || this,
|
|
351
|
-
props:
|
|
354
|
+
props: Nt(Mt({}, this.$$d), {
|
|
352
355
|
$$slots: r,
|
|
353
356
|
$$scope: {
|
|
354
357
|
ctx: []
|
|
@@ -426,8 +429,8 @@ function Ae(e, t, r, n) {
|
|
|
426
429
|
return t;
|
|
427
430
|
}
|
|
428
431
|
}
|
|
429
|
-
function
|
|
430
|
-
let o = class extends
|
|
432
|
+
function Ln(e, t, r, n, i, s) {
|
|
433
|
+
let o = class extends gr {
|
|
431
434
|
constructor() {
|
|
432
435
|
super(e, r, i), this.$$p_d = t;
|
|
433
436
|
}
|
|
@@ -457,7 +460,7 @@ function On(e, t, r, n, i, s) {
|
|
|
457
460
|
}), e.element = /** @type {any} */
|
|
458
461
|
o, o;
|
|
459
462
|
}
|
|
460
|
-
class
|
|
463
|
+
class Mn {
|
|
461
464
|
constructor() {
|
|
462
465
|
/**
|
|
463
466
|
* ### PRIVATE API
|
|
@@ -478,7 +481,7 @@ class Cn {
|
|
|
478
481
|
}
|
|
479
482
|
/** @returns {void} */
|
|
480
483
|
$destroy() {
|
|
481
|
-
|
|
484
|
+
On(this, 1), this.$destroy = k;
|
|
482
485
|
}
|
|
483
486
|
/**
|
|
484
487
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -487,7 +490,7 @@ class Cn {
|
|
|
487
490
|
* @returns {() => void}
|
|
488
491
|
*/
|
|
489
492
|
$on(t, r) {
|
|
490
|
-
if (!
|
|
493
|
+
if (!pt(r))
|
|
491
494
|
return k;
|
|
492
495
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
493
496
|
return n.push(r), () => {
|
|
@@ -500,22 +503,37 @@ class Cn {
|
|
|
500
503
|
* @returns {void}
|
|
501
504
|
*/
|
|
502
505
|
$set(t) {
|
|
503
|
-
this.$$set && !
|
|
506
|
+
this.$$set && !mn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
504
507
|
}
|
|
505
508
|
}
|
|
506
|
-
const
|
|
507
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
508
|
-
|
|
509
|
-
|
|
509
|
+
const Nn = "4";
|
|
510
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Nn);
|
|
511
|
+
/*! *****************************************************************************
|
|
512
|
+
Copyright (c) Microsoft Corporation.
|
|
513
|
+
|
|
514
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
515
|
+
purpose with or without fee is hereby granted.
|
|
516
|
+
|
|
517
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
518
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
519
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
520
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
521
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
522
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
523
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
524
|
+
***************************************************************************** */
|
|
525
|
+
var tt = function(e, t) {
|
|
526
|
+
return tt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
510
527
|
r.__proto__ = n;
|
|
511
528
|
} || function(r, n) {
|
|
512
|
-
for (var i in n)
|
|
513
|
-
|
|
529
|
+
for (var i in n)
|
|
530
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
531
|
+
}, tt(e, t);
|
|
514
532
|
};
|
|
515
533
|
function W(e, t) {
|
|
516
534
|
if (typeof t != "function" && t !== null)
|
|
517
535
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
518
|
-
|
|
536
|
+
tt(e, t);
|
|
519
537
|
function r() {
|
|
520
538
|
this.constructor = e;
|
|
521
539
|
}
|
|
@@ -525,61 +543,69 @@ var S = function() {
|
|
|
525
543
|
return S = Object.assign || function(t) {
|
|
526
544
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
527
545
|
r = arguments[n];
|
|
528
|
-
for (var s in r)
|
|
546
|
+
for (var s in r)
|
|
547
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
529
548
|
}
|
|
530
549
|
return t;
|
|
531
550
|
}, S.apply(this, arguments);
|
|
532
551
|
};
|
|
533
|
-
function
|
|
552
|
+
function Dn(e, t) {
|
|
534
553
|
var r = {};
|
|
535
|
-
for (var n in e)
|
|
554
|
+
for (var n in e)
|
|
555
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
536
556
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
537
557
|
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
538
558
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
539
559
|
return r;
|
|
540
560
|
}
|
|
541
|
-
function
|
|
561
|
+
function rt(e) {
|
|
542
562
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
543
|
-
if (r)
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
563
|
+
if (r)
|
|
564
|
+
return r.call(e);
|
|
565
|
+
if (e && typeof e.length == "number")
|
|
566
|
+
return {
|
|
567
|
+
next: function() {
|
|
568
|
+
return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
|
|
569
|
+
}
|
|
570
|
+
};
|
|
549
571
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
550
572
|
}
|
|
551
|
-
function
|
|
573
|
+
function nt(e, t) {
|
|
552
574
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
553
|
-
if (!r)
|
|
575
|
+
if (!r)
|
|
576
|
+
return e;
|
|
554
577
|
var n = r.call(e), i, s = [], o;
|
|
555
578
|
try {
|
|
556
|
-
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
579
|
+
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
580
|
+
s.push(i.value);
|
|
557
581
|
} catch (a) {
|
|
558
582
|
o = { error: a };
|
|
559
583
|
} finally {
|
|
560
584
|
try {
|
|
561
585
|
i && !i.done && (r = n.return) && r.call(n);
|
|
562
586
|
} finally {
|
|
563
|
-
if (o)
|
|
587
|
+
if (o)
|
|
588
|
+
throw o.error;
|
|
564
589
|
}
|
|
565
590
|
}
|
|
566
591
|
return s;
|
|
567
592
|
}
|
|
568
593
|
function re(e, t, r) {
|
|
569
|
-
if (r || arguments.length === 2)
|
|
570
|
-
(
|
|
571
|
-
|
|
594
|
+
if (r || arguments.length === 2)
|
|
595
|
+
for (var n = 0, i = t.length, s; n < i; n++)
|
|
596
|
+
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
597
|
+
return e.concat(s || t);
|
|
572
598
|
}
|
|
573
599
|
function X(e) {
|
|
574
600
|
return typeof e == "function";
|
|
575
601
|
}
|
|
576
|
-
function
|
|
602
|
+
function br(e) {
|
|
577
603
|
var t = function(n) {
|
|
578
604
|
Error.call(n), n.stack = new Error().stack;
|
|
579
605
|
}, r = e(t);
|
|
580
606
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
581
607
|
}
|
|
582
|
-
var We =
|
|
608
|
+
var We = br(function(e) {
|
|
583
609
|
return function(r) {
|
|
584
610
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
585
611
|
` + r.map(function(n, i) {
|
|
@@ -588,7 +614,7 @@ var We = pr(function(e) {
|
|
|
588
614
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
589
615
|
};
|
|
590
616
|
});
|
|
591
|
-
function
|
|
617
|
+
function it(e, t) {
|
|
592
618
|
if (e) {
|
|
593
619
|
var r = e.indexOf(t);
|
|
594
620
|
0 <= r && e.splice(r, 1);
|
|
@@ -606,7 +632,7 @@ var Me = function() {
|
|
|
606
632
|
if (o)
|
|
607
633
|
if (this._parentage = null, Array.isArray(o))
|
|
608
634
|
try {
|
|
609
|
-
for (var a =
|
|
635
|
+
for (var a = rt(o), l = a.next(); !l.done; l = a.next()) {
|
|
610
636
|
var u = l.value;
|
|
611
637
|
u.remove(this);
|
|
612
638
|
}
|
|
@@ -616,7 +642,8 @@ var Me = function() {
|
|
|
616
642
|
try {
|
|
617
643
|
l && !l.done && (r = a.return) && r.call(a);
|
|
618
644
|
} finally {
|
|
619
|
-
if (t)
|
|
645
|
+
if (t)
|
|
646
|
+
throw t.error;
|
|
620
647
|
}
|
|
621
648
|
}
|
|
622
649
|
else
|
|
@@ -632,12 +659,12 @@ var Me = function() {
|
|
|
632
659
|
if (c) {
|
|
633
660
|
this._finalizers = null;
|
|
634
661
|
try {
|
|
635
|
-
for (var p =
|
|
662
|
+
for (var p = rt(c), y = p.next(); !y.done; y = p.next()) {
|
|
636
663
|
var g = y.value;
|
|
637
664
|
try {
|
|
638
|
-
|
|
665
|
+
Ut(g);
|
|
639
666
|
} catch (d) {
|
|
640
|
-
s = s != null ? s : [], d instanceof We ? s = re(re([],
|
|
667
|
+
s = s != null ? s : [], d instanceof We ? s = re(re([], nt(s)), nt(d.errors)) : s.push(d);
|
|
641
668
|
}
|
|
642
669
|
}
|
|
643
670
|
} catch (d) {
|
|
@@ -646,7 +673,8 @@ var Me = function() {
|
|
|
646
673
|
try {
|
|
647
674
|
y && !y.done && (i = p.return) && i.call(p);
|
|
648
675
|
} finally {
|
|
649
|
-
if (n)
|
|
676
|
+
if (n)
|
|
677
|
+
throw n.error;
|
|
650
678
|
}
|
|
651
679
|
}
|
|
652
680
|
}
|
|
@@ -657,7 +685,7 @@ var Me = function() {
|
|
|
657
685
|
var r;
|
|
658
686
|
if (t && t !== this)
|
|
659
687
|
if (this.closed)
|
|
660
|
-
|
|
688
|
+
Ut(t);
|
|
661
689
|
else {
|
|
662
690
|
if (t instanceof e) {
|
|
663
691
|
if (t.closed || t._hasParent(this))
|
|
@@ -674,52 +702,56 @@ var Me = function() {
|
|
|
674
702
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
675
703
|
}, e.prototype._removeParent = function(t) {
|
|
676
704
|
var r = this._parentage;
|
|
677
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
705
|
+
r === t ? this._parentage = null : Array.isArray(r) && it(r, t);
|
|
678
706
|
}, e.prototype.remove = function(t) {
|
|
679
707
|
var r = this._finalizers;
|
|
680
|
-
r &&
|
|
708
|
+
r && it(r, t), t instanceof e && t._removeParent(this);
|
|
681
709
|
}, e.EMPTY = function() {
|
|
682
710
|
var t = new e();
|
|
683
711
|
return t.closed = !0, t;
|
|
684
712
|
}(), e;
|
|
685
|
-
}(),
|
|
686
|
-
function
|
|
713
|
+
}(), yr = Me.EMPTY;
|
|
714
|
+
function vr(e) {
|
|
687
715
|
return e instanceof Me || e && "closed" in e && X(e.remove) && X(e.add) && X(e.unsubscribe);
|
|
688
716
|
}
|
|
689
|
-
function
|
|
717
|
+
function Ut(e) {
|
|
690
718
|
X(e) ? e() : e.unsubscribe();
|
|
691
719
|
}
|
|
692
|
-
var
|
|
693
|
-
|
|
694
|
-
|
|
720
|
+
var _r = {
|
|
721
|
+
onUnhandledError: null,
|
|
722
|
+
onStoppedNotification: null,
|
|
723
|
+
Promise: void 0,
|
|
724
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
725
|
+
useDeprecatedNextContext: !1
|
|
726
|
+
}, Fn = {
|
|
695
727
|
setTimeout: function(e, t) {
|
|
696
728
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
697
729
|
r[n - 2] = arguments[n];
|
|
698
|
-
return setTimeout.apply(void 0, re([e, t],
|
|
730
|
+
return setTimeout.apply(void 0, re([e, t], nt(r)));
|
|
699
731
|
},
|
|
700
732
|
clearTimeout: function(e) {
|
|
701
733
|
return clearTimeout(e);
|
|
702
734
|
},
|
|
703
735
|
delegate: void 0
|
|
704
736
|
};
|
|
705
|
-
function
|
|
706
|
-
|
|
737
|
+
function Un(e) {
|
|
738
|
+
Fn.setTimeout(function() {
|
|
707
739
|
throw e;
|
|
708
740
|
});
|
|
709
741
|
}
|
|
710
|
-
function
|
|
742
|
+
function Gt() {
|
|
711
743
|
}
|
|
712
744
|
function Pe(e) {
|
|
713
745
|
e();
|
|
714
746
|
}
|
|
715
|
-
var
|
|
747
|
+
var Er = function(e) {
|
|
716
748
|
W(t, e);
|
|
717
749
|
function t(r) {
|
|
718
750
|
var n = e.call(this) || this;
|
|
719
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
751
|
+
return n.isStopped = !1, r ? (n.destination = r, vr(r) && r.add(n)) : n.destination = $n, n;
|
|
720
752
|
}
|
|
721
753
|
return t.create = function(r, n, i) {
|
|
722
|
-
return new
|
|
754
|
+
return new st(r, n, i);
|
|
723
755
|
}, t.prototype.next = function(r) {
|
|
724
756
|
this.isStopped || this._next(r);
|
|
725
757
|
}, t.prototype.error = function(r) {
|
|
@@ -743,7 +775,11 @@ var br = function(e) {
|
|
|
743
775
|
this.unsubscribe();
|
|
744
776
|
}
|
|
745
777
|
}, t;
|
|
746
|
-
}(Me),
|
|
778
|
+
}(Me), Gn = Function.prototype.bind;
|
|
779
|
+
function ze(e, t) {
|
|
780
|
+
return Gn.call(e, t);
|
|
781
|
+
}
|
|
782
|
+
var kn = function() {
|
|
747
783
|
function e(t) {
|
|
748
784
|
this.partialObserver = t;
|
|
749
785
|
}
|
|
@@ -774,43 +810,55 @@ var br = function(e) {
|
|
|
774
810
|
He(r);
|
|
775
811
|
}
|
|
776
812
|
}, e;
|
|
777
|
-
}(),
|
|
813
|
+
}(), st = function(e) {
|
|
778
814
|
W(t, e);
|
|
779
815
|
function t(r, n, i) {
|
|
780
816
|
var s = e.call(this) || this, o;
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
817
|
+
if (X(r) || !r)
|
|
818
|
+
o = {
|
|
819
|
+
next: r != null ? r : void 0,
|
|
820
|
+
error: n != null ? n : void 0,
|
|
821
|
+
complete: i != null ? i : void 0
|
|
822
|
+
};
|
|
823
|
+
else {
|
|
824
|
+
var a;
|
|
825
|
+
s && _r.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
826
|
+
return s.unsubscribe();
|
|
827
|
+
}, o = {
|
|
828
|
+
next: r.next && ze(r.next, a),
|
|
829
|
+
error: r.error && ze(r.error, a),
|
|
830
|
+
complete: r.complete && ze(r.complete, a)
|
|
831
|
+
}) : o = r;
|
|
832
|
+
}
|
|
833
|
+
return s.destination = new kn(o), s;
|
|
786
834
|
}
|
|
787
835
|
return t;
|
|
788
|
-
}(
|
|
836
|
+
}(Er);
|
|
789
837
|
function He(e) {
|
|
790
|
-
|
|
838
|
+
Un(e);
|
|
791
839
|
}
|
|
792
|
-
function
|
|
840
|
+
function jn(e) {
|
|
793
841
|
throw e;
|
|
794
842
|
}
|
|
795
|
-
var
|
|
843
|
+
var $n = {
|
|
796
844
|
closed: !0,
|
|
797
|
-
next:
|
|
798
|
-
error:
|
|
799
|
-
complete:
|
|
800
|
-
},
|
|
845
|
+
next: Gt,
|
|
846
|
+
error: jn,
|
|
847
|
+
complete: Gt
|
|
848
|
+
}, Vn = function() {
|
|
801
849
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
802
850
|
}();
|
|
803
|
-
function
|
|
851
|
+
function Xn(e) {
|
|
804
852
|
return e;
|
|
805
853
|
}
|
|
806
|
-
function
|
|
807
|
-
return e.length === 0 ?
|
|
854
|
+
function Wn(e) {
|
|
855
|
+
return e.length === 0 ? Xn : e.length === 1 ? e[0] : function(r) {
|
|
808
856
|
return e.reduce(function(n, i) {
|
|
809
857
|
return i(n);
|
|
810
858
|
}, r);
|
|
811
859
|
};
|
|
812
860
|
}
|
|
813
|
-
var
|
|
861
|
+
var kt = function() {
|
|
814
862
|
function e(t) {
|
|
815
863
|
t && (this._subscribe = t);
|
|
816
864
|
}
|
|
@@ -818,7 +866,7 @@ var Ft = function() {
|
|
|
818
866
|
var r = new e();
|
|
819
867
|
return r.source = this, r.operator = t, r;
|
|
820
868
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
821
|
-
var i = this, s =
|
|
869
|
+
var i = this, s = Zn(t) ? t : new st(t, r, n);
|
|
822
870
|
return Pe(function() {
|
|
823
871
|
var o = i, a = o.operator, l = o.source;
|
|
824
872
|
s.add(a ? a.call(s, l) : l ? i._subscribe(s) : i._trySubscribe(s));
|
|
@@ -831,8 +879,8 @@ var Ft = function() {
|
|
|
831
879
|
}
|
|
832
880
|
}, e.prototype.forEach = function(t, r) {
|
|
833
881
|
var n = this;
|
|
834
|
-
return r =
|
|
835
|
-
var o = new
|
|
882
|
+
return r = jt(r), new r(function(i, s) {
|
|
883
|
+
var o = new st({
|
|
836
884
|
next: function(a) {
|
|
837
885
|
try {
|
|
838
886
|
t(a);
|
|
@@ -848,15 +896,15 @@ var Ft = function() {
|
|
|
848
896
|
}, e.prototype._subscribe = function(t) {
|
|
849
897
|
var r;
|
|
850
898
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
851
|
-
}, e.prototype[
|
|
899
|
+
}, e.prototype[Vn] = function() {
|
|
852
900
|
return this;
|
|
853
901
|
}, e.prototype.pipe = function() {
|
|
854
902
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
855
903
|
t[r] = arguments[r];
|
|
856
|
-
return
|
|
904
|
+
return Wn(t)(this);
|
|
857
905
|
}, e.prototype.toPromise = function(t) {
|
|
858
906
|
var r = this;
|
|
859
|
-
return t =
|
|
907
|
+
return t = jt(t), new t(function(n, i) {
|
|
860
908
|
var s;
|
|
861
909
|
r.subscribe(function(o) {
|
|
862
910
|
return s = o;
|
|
@@ -870,32 +918,32 @@ var Ft = function() {
|
|
|
870
918
|
return new e(t);
|
|
871
919
|
}, e;
|
|
872
920
|
}();
|
|
873
|
-
function
|
|
921
|
+
function jt(e) {
|
|
874
922
|
var t;
|
|
875
|
-
return (t = e != null ? e :
|
|
923
|
+
return (t = e != null ? e : _r.Promise) !== null && t !== void 0 ? t : Promise;
|
|
876
924
|
}
|
|
877
|
-
function
|
|
925
|
+
function zn(e) {
|
|
878
926
|
return e && X(e.next) && X(e.error) && X(e.complete);
|
|
879
927
|
}
|
|
880
|
-
function
|
|
881
|
-
return e && e instanceof
|
|
928
|
+
function Zn(e) {
|
|
929
|
+
return e && e instanceof Er || zn(e) && vr(e);
|
|
882
930
|
}
|
|
883
|
-
var
|
|
931
|
+
var qn = br(function(e) {
|
|
884
932
|
return function() {
|
|
885
933
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
886
934
|
};
|
|
887
|
-
}),
|
|
935
|
+
}), Sr = function(e) {
|
|
888
936
|
W(t, e);
|
|
889
937
|
function t() {
|
|
890
938
|
var r = e.call(this) || this;
|
|
891
939
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
892
940
|
}
|
|
893
941
|
return t.prototype.lift = function(r) {
|
|
894
|
-
var n = new
|
|
942
|
+
var n = new $t(this, this);
|
|
895
943
|
return n.operator = r, n;
|
|
896
944
|
}, t.prototype._throwIfClosed = function() {
|
|
897
945
|
if (this.closed)
|
|
898
|
-
throw new
|
|
946
|
+
throw new qn();
|
|
899
947
|
}, t.prototype.next = function(r) {
|
|
900
948
|
var n = this;
|
|
901
949
|
Pe(function() {
|
|
@@ -903,7 +951,7 @@ var Xn = pr(function(e) {
|
|
|
903
951
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
904
952
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
905
953
|
try {
|
|
906
|
-
for (var o =
|
|
954
|
+
for (var o = rt(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
|
|
907
955
|
var l = a.value;
|
|
908
956
|
l.next(r);
|
|
909
957
|
}
|
|
@@ -913,7 +961,8 @@ var Xn = pr(function(e) {
|
|
|
913
961
|
try {
|
|
914
962
|
a && !a.done && (s = o.return) && s.call(o);
|
|
915
963
|
} finally {
|
|
916
|
-
if (i)
|
|
964
|
+
if (i)
|
|
965
|
+
throw i.error;
|
|
917
966
|
}
|
|
918
967
|
}
|
|
919
968
|
}
|
|
@@ -951,19 +1000,19 @@ var Xn = pr(function(e) {
|
|
|
951
1000
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
952
1001
|
}, t.prototype._innerSubscribe = function(r) {
|
|
953
1002
|
var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
|
|
954
|
-
return s || o ?
|
|
955
|
-
n.currentObservers = null,
|
|
1003
|
+
return s || o ? yr : (this.currentObservers = null, a.push(r), new Me(function() {
|
|
1004
|
+
n.currentObservers = null, it(a, r);
|
|
956
1005
|
}));
|
|
957
1006
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
958
1007
|
var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
|
|
959
1008
|
i ? r.error(s) : o && r.complete();
|
|
960
1009
|
}, t.prototype.asObservable = function() {
|
|
961
|
-
var r = new
|
|
1010
|
+
var r = new kt();
|
|
962
1011
|
return r.source = this, r;
|
|
963
1012
|
}, t.create = function(r, n) {
|
|
964
|
-
return new
|
|
1013
|
+
return new $t(r, n);
|
|
965
1014
|
}, t;
|
|
966
|
-
}(
|
|
1015
|
+
}(kt), $t = function(e) {
|
|
967
1016
|
W(t, e);
|
|
968
1017
|
function t(r, n) {
|
|
969
1018
|
var i = e.call(this) || this;
|
|
@@ -980,17 +1029,17 @@ var Xn = pr(function(e) {
|
|
|
980
1029
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
981
1030
|
}, t.prototype._subscribe = function(r) {
|
|
982
1031
|
var n, i;
|
|
983
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1032
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : yr;
|
|
984
1033
|
}, t;
|
|
985
|
-
}(
|
|
1034
|
+
}(Sr), wr = {
|
|
986
1035
|
now: function() {
|
|
987
|
-
return (
|
|
1036
|
+
return (wr.delegate || Date).now();
|
|
988
1037
|
},
|
|
989
1038
|
delegate: void 0
|
|
990
|
-
},
|
|
1039
|
+
}, Jn = function(e) {
|
|
991
1040
|
W(t, e);
|
|
992
1041
|
function t(r, n, i) {
|
|
993
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1042
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = wr);
|
|
994
1043
|
var s = e.call(this) || this;
|
|
995
1044
|
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;
|
|
996
1045
|
}
|
|
@@ -1010,15 +1059,15 @@ var Xn = pr(function(e) {
|
|
|
1010
1059
|
u && s.splice(0, u + 1);
|
|
1011
1060
|
}
|
|
1012
1061
|
}, t;
|
|
1013
|
-
}(
|
|
1014
|
-
const
|
|
1015
|
-
if (
|
|
1016
|
-
const r = new
|
|
1017
|
-
|
|
1062
|
+
}(Sr);
|
|
1063
|
+
const Vt = [], Xt = {}, Qn = (e, t = 0) => {
|
|
1064
|
+
if (Vt.indexOf(e) == -1) {
|
|
1065
|
+
const r = new Jn(t);
|
|
1066
|
+
Xt[e] = r, Vt.push(e);
|
|
1018
1067
|
}
|
|
1019
|
-
return
|
|
1068
|
+
return Xt[e];
|
|
1020
1069
|
}, Y = [];
|
|
1021
|
-
function
|
|
1070
|
+
function Yn(e, t) {
|
|
1022
1071
|
return {
|
|
1023
1072
|
subscribe: Ne(e, t).subscribe
|
|
1024
1073
|
};
|
|
@@ -1027,7 +1076,7 @@ function Ne(e, t = k) {
|
|
|
1027
1076
|
let r;
|
|
1028
1077
|
const n = /* @__PURE__ */ new Set();
|
|
1029
1078
|
function i(a) {
|
|
1030
|
-
if (
|
|
1079
|
+
if (pr(e, a) && (e = a, r)) {
|
|
1031
1080
|
const l = !Y.length;
|
|
1032
1081
|
for (const u of n)
|
|
1033
1082
|
u[1](), Y.push(u, e);
|
|
@@ -1054,7 +1103,7 @@ function ae(e, t, r) {
|
|
|
1054
1103
|
if (!i.every(Boolean))
|
|
1055
1104
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1056
1105
|
const s = t.length < 2;
|
|
1057
|
-
return
|
|
1106
|
+
return Yn(r, (o, a) => {
|
|
1058
1107
|
let l = !1;
|
|
1059
1108
|
const u = [];
|
|
1060
1109
|
let h = 0, c = k;
|
|
@@ -1063,9 +1112,9 @@ function ae(e, t, r) {
|
|
|
1063
1112
|
return;
|
|
1064
1113
|
c();
|
|
1065
1114
|
const g = t(n ? u[0] : u, o, a);
|
|
1066
|
-
s ? o(g) : c =
|
|
1115
|
+
s ? o(g) : c = pt(g) ? g : k;
|
|
1067
1116
|
}, y = i.map(
|
|
1068
|
-
(g, d) =>
|
|
1117
|
+
(g, d) => dr(
|
|
1069
1118
|
g,
|
|
1070
1119
|
(b) => {
|
|
1071
1120
|
u[d] = b, h &= ~(1 << d), l && p();
|
|
@@ -1080,70 +1129,70 @@ function ae(e, t, r) {
|
|
|
1080
1129
|
};
|
|
1081
1130
|
});
|
|
1082
1131
|
}
|
|
1083
|
-
function
|
|
1132
|
+
function Kn(e) {
|
|
1084
1133
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1085
1134
|
}
|
|
1086
|
-
var
|
|
1087
|
-
return
|
|
1135
|
+
var ei = function(t) {
|
|
1136
|
+
return ti(t) && !ri(t);
|
|
1088
1137
|
};
|
|
1089
|
-
function
|
|
1138
|
+
function ti(e) {
|
|
1090
1139
|
return !!e && typeof e == "object";
|
|
1091
1140
|
}
|
|
1092
|
-
function
|
|
1141
|
+
function ri(e) {
|
|
1093
1142
|
var t = Object.prototype.toString.call(e);
|
|
1094
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1143
|
+
return t === "[object RegExp]" || t === "[object Date]" || si(e);
|
|
1095
1144
|
}
|
|
1096
|
-
var
|
|
1097
|
-
function
|
|
1098
|
-
return e.$$typeof ===
|
|
1145
|
+
var ni = typeof Symbol == "function" && Symbol.for, ii = ni ? Symbol.for("react.element") : 60103;
|
|
1146
|
+
function si(e) {
|
|
1147
|
+
return e.$$typeof === ii;
|
|
1099
1148
|
}
|
|
1100
|
-
function
|
|
1149
|
+
function oi(e) {
|
|
1101
1150
|
return Array.isArray(e) ? [] : {};
|
|
1102
1151
|
}
|
|
1103
1152
|
function de(e, t) {
|
|
1104
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? ne(
|
|
1153
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? ne(oi(e), e, t) : e;
|
|
1105
1154
|
}
|
|
1106
|
-
function
|
|
1155
|
+
function ai(e, t, r) {
|
|
1107
1156
|
return e.concat(t).map(function(n) {
|
|
1108
1157
|
return de(n, r);
|
|
1109
1158
|
});
|
|
1110
1159
|
}
|
|
1111
|
-
function
|
|
1160
|
+
function ui(e, t) {
|
|
1112
1161
|
if (!t.customMerge)
|
|
1113
1162
|
return ne;
|
|
1114
1163
|
var r = t.customMerge(e);
|
|
1115
1164
|
return typeof r == "function" ? r : ne;
|
|
1116
1165
|
}
|
|
1117
|
-
function
|
|
1166
|
+
function li(e) {
|
|
1118
1167
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1119
1168
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1120
1169
|
}) : [];
|
|
1121
1170
|
}
|
|
1122
|
-
function
|
|
1123
|
-
return Object.keys(e).concat(
|
|
1171
|
+
function Wt(e) {
|
|
1172
|
+
return Object.keys(e).concat(li(e));
|
|
1124
1173
|
}
|
|
1125
|
-
function
|
|
1174
|
+
function xr(e, t) {
|
|
1126
1175
|
try {
|
|
1127
1176
|
return t in e;
|
|
1128
1177
|
} catch (r) {
|
|
1129
1178
|
return !1;
|
|
1130
1179
|
}
|
|
1131
1180
|
}
|
|
1132
|
-
function
|
|
1133
|
-
return
|
|
1181
|
+
function hi(e, t) {
|
|
1182
|
+
return xr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1134
1183
|
}
|
|
1135
|
-
function
|
|
1184
|
+
function fi(e, t, r) {
|
|
1136
1185
|
var n = {};
|
|
1137
|
-
return r.isMergeableObject(e) &&
|
|
1186
|
+
return r.isMergeableObject(e) && Wt(e).forEach(function(i) {
|
|
1138
1187
|
n[i] = de(e[i], r);
|
|
1139
|
-
}),
|
|
1140
|
-
|
|
1188
|
+
}), Wt(t).forEach(function(i) {
|
|
1189
|
+
hi(e, i) || (xr(e, i) && r.isMergeableObject(t[i]) ? n[i] = ui(i, r)(e[i], t[i], r) : n[i] = de(t[i], r));
|
|
1141
1190
|
}), n;
|
|
1142
1191
|
}
|
|
1143
1192
|
function ne(e, t, r) {
|
|
1144
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1193
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || ai, r.isMergeableObject = r.isMergeableObject || ei, r.cloneUnlessOtherwiseSpecified = de;
|
|
1145
1194
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
1146
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
1195
|
+
return s ? n ? r.arrayMerge(e, t, r) : fi(e, t, r) : de(t, r);
|
|
1147
1196
|
}
|
|
1148
1197
|
ne.all = function(t, r) {
|
|
1149
1198
|
if (!Array.isArray(t))
|
|
@@ -1152,56 +1201,58 @@ ne.all = function(t, r) {
|
|
|
1152
1201
|
return ne(n, i, r);
|
|
1153
1202
|
}, {});
|
|
1154
1203
|
};
|
|
1155
|
-
var
|
|
1156
|
-
const
|
|
1157
|
-
function
|
|
1158
|
-
var r = t && t.cache ? t.cache :
|
|
1204
|
+
var ci = ne, mi = ci;
|
|
1205
|
+
const pi = /* @__PURE__ */ Kn(mi);
|
|
1206
|
+
function Ze(e, t) {
|
|
1207
|
+
var r = t && t.cache ? t.cache : _i, n = t && t.serializer ? t.serializer : vi, i = t && t.strategy ? t.strategy : gi;
|
|
1159
1208
|
return i(e, {
|
|
1160
1209
|
cache: r,
|
|
1161
1210
|
serializer: n
|
|
1162
1211
|
});
|
|
1163
1212
|
}
|
|
1164
|
-
function
|
|
1213
|
+
function di(e) {
|
|
1165
1214
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1166
1215
|
}
|
|
1167
|
-
function
|
|
1168
|
-
var i =
|
|
1216
|
+
function Tr(e, t, r, n) {
|
|
1217
|
+
var i = di(n) ? n : r(n), s = t.get(i);
|
|
1169
1218
|
return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
|
|
1170
1219
|
}
|
|
1171
|
-
function
|
|
1220
|
+
function Hr(e, t, r) {
|
|
1172
1221
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
1173
1222
|
return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
1174
1223
|
}
|
|
1175
|
-
function
|
|
1224
|
+
function dt(e, t, r, n, i) {
|
|
1176
1225
|
return r.bind(t, e, n, i);
|
|
1177
1226
|
}
|
|
1178
|
-
function
|
|
1179
|
-
var r = e.length === 1 ?
|
|
1180
|
-
return
|
|
1227
|
+
function gi(e, t) {
|
|
1228
|
+
var r = e.length === 1 ? Tr : Hr;
|
|
1229
|
+
return dt(e, this, r, t.cache.create(), t.serializer);
|
|
1230
|
+
}
|
|
1231
|
+
function bi(e, t) {
|
|
1232
|
+
return dt(e, this, Hr, t.cache.create(), t.serializer);
|
|
1181
1233
|
}
|
|
1182
|
-
function
|
|
1183
|
-
return
|
|
1234
|
+
function yi(e, t) {
|
|
1235
|
+
return dt(e, this, Tr, t.cache.create(), t.serializer);
|
|
1184
1236
|
}
|
|
1185
|
-
var
|
|
1237
|
+
var vi = function() {
|
|
1186
1238
|
return JSON.stringify(arguments);
|
|
1187
|
-
}
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
}()
|
|
1199
|
-
), bi = {
|
|
1239
|
+
};
|
|
1240
|
+
function gt() {
|
|
1241
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1242
|
+
}
|
|
1243
|
+
gt.prototype.get = function(e) {
|
|
1244
|
+
return this.cache[e];
|
|
1245
|
+
};
|
|
1246
|
+
gt.prototype.set = function(e, t) {
|
|
1247
|
+
this.cache[e] = t;
|
|
1248
|
+
};
|
|
1249
|
+
var _i = {
|
|
1200
1250
|
create: function() {
|
|
1201
|
-
return new
|
|
1251
|
+
return new gt();
|
|
1202
1252
|
}
|
|
1203
|
-
},
|
|
1204
|
-
variadic:
|
|
1253
|
+
}, qe = {
|
|
1254
|
+
variadic: bi,
|
|
1255
|
+
monadic: yi
|
|
1205
1256
|
}, v;
|
|
1206
1257
|
(function(e) {
|
|
1207
1258
|
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";
|
|
@@ -1214,43 +1265,43 @@ var ie;
|
|
|
1214
1265
|
(function(e) {
|
|
1215
1266
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1216
1267
|
})(ie || (ie = {}));
|
|
1217
|
-
function
|
|
1268
|
+
function zt(e) {
|
|
1218
1269
|
return e.type === T.literal;
|
|
1219
1270
|
}
|
|
1220
|
-
function
|
|
1271
|
+
function Ei(e) {
|
|
1221
1272
|
return e.type === T.argument;
|
|
1222
1273
|
}
|
|
1223
|
-
function
|
|
1274
|
+
function Br(e) {
|
|
1224
1275
|
return e.type === T.number;
|
|
1225
1276
|
}
|
|
1226
|
-
function
|
|
1277
|
+
function Ar(e) {
|
|
1227
1278
|
return e.type === T.date;
|
|
1228
1279
|
}
|
|
1229
|
-
function
|
|
1280
|
+
function Pr(e) {
|
|
1230
1281
|
return e.type === T.time;
|
|
1231
1282
|
}
|
|
1232
|
-
function
|
|
1283
|
+
function Cr(e) {
|
|
1233
1284
|
return e.type === T.select;
|
|
1234
1285
|
}
|
|
1235
|
-
function
|
|
1286
|
+
function Or(e) {
|
|
1236
1287
|
return e.type === T.plural;
|
|
1237
1288
|
}
|
|
1238
|
-
function
|
|
1289
|
+
function Si(e) {
|
|
1239
1290
|
return e.type === T.pound;
|
|
1240
1291
|
}
|
|
1241
|
-
function
|
|
1292
|
+
function Ir(e) {
|
|
1242
1293
|
return e.type === T.tag;
|
|
1243
1294
|
}
|
|
1244
|
-
function
|
|
1295
|
+
function Rr(e) {
|
|
1245
1296
|
return !!(e && typeof e == "object" && e.type === ie.number);
|
|
1246
1297
|
}
|
|
1247
|
-
function
|
|
1298
|
+
function ot(e) {
|
|
1248
1299
|
return !!(e && typeof e == "object" && e.type === ie.dateTime);
|
|
1249
1300
|
}
|
|
1250
|
-
var
|
|
1251
|
-
function
|
|
1301
|
+
var Lr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, wi = /(?:[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;
|
|
1302
|
+
function xi(e) {
|
|
1252
1303
|
var t = {};
|
|
1253
|
-
return e.replace(
|
|
1304
|
+
return e.replace(wi, function(r) {
|
|
1254
1305
|
var n = r.length;
|
|
1255
1306
|
switch (r[0]) {
|
|
1256
1307
|
case "G":
|
|
@@ -1339,11 +1390,11 @@ function Ei(e) {
|
|
|
1339
1390
|
return "";
|
|
1340
1391
|
}), t;
|
|
1341
1392
|
}
|
|
1342
|
-
var
|
|
1343
|
-
function
|
|
1393
|
+
var Ti = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1394
|
+
function Hi(e) {
|
|
1344
1395
|
if (e.length === 0)
|
|
1345
1396
|
throw new Error("Number skeleton cannot be empty");
|
|
1346
|
-
for (var t = e.split(
|
|
1397
|
+
for (var t = e.split(Ti).filter(function(p) {
|
|
1347
1398
|
return p.length > 0;
|
|
1348
1399
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1349
1400
|
var s = i[n], o = s.split("/");
|
|
@@ -1358,17 +1409,17 @@ function wi(e) {
|
|
|
1358
1409
|
}
|
|
1359
1410
|
return r;
|
|
1360
1411
|
}
|
|
1361
|
-
function
|
|
1412
|
+
function Bi(e) {
|
|
1362
1413
|
return e.replace(/^(.*?)-/, "");
|
|
1363
1414
|
}
|
|
1364
|
-
var
|
|
1365
|
-
function
|
|
1415
|
+
var Zt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Mr = /^(@+)?(\+|#+)?[rs]?$/g, Ai = /(\*)(0+)|(#+)(0+)|(0+)/g, Nr = /^(0+)$/;
|
|
1416
|
+
function qt(e) {
|
|
1366
1417
|
var t = {};
|
|
1367
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1418
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Mr, function(r, n, i) {
|
|
1368
1419
|
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)), "";
|
|
1369
1420
|
}), t;
|
|
1370
1421
|
}
|
|
1371
|
-
function
|
|
1422
|
+
function Dr(e) {
|
|
1372
1423
|
switch (e) {
|
|
1373
1424
|
case "sign-auto":
|
|
1374
1425
|
return {
|
|
@@ -1408,7 +1459,7 @@ function Rr(e) {
|
|
|
1408
1459
|
};
|
|
1409
1460
|
}
|
|
1410
1461
|
}
|
|
1411
|
-
function
|
|
1462
|
+
function Pi(e) {
|
|
1412
1463
|
var t;
|
|
1413
1464
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1414
1465
|
notation: "engineering"
|
|
@@ -1416,17 +1467,17 @@ function Hi(e) {
|
|
|
1416
1467
|
notation: "scientific"
|
|
1417
1468
|
}, e = e.slice(1)), t) {
|
|
1418
1469
|
var r = e.slice(0, 2);
|
|
1419
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1470
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Nr.test(e))
|
|
1420
1471
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1421
1472
|
t.minimumIntegerDigits = e.length;
|
|
1422
1473
|
}
|
|
1423
1474
|
return t;
|
|
1424
1475
|
}
|
|
1425
|
-
function
|
|
1426
|
-
var t = {}, r =
|
|
1476
|
+
function Jt(e) {
|
|
1477
|
+
var t = {}, r = Dr(e);
|
|
1427
1478
|
return r || t;
|
|
1428
1479
|
}
|
|
1429
|
-
function
|
|
1480
|
+
function Ci(e) {
|
|
1430
1481
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1431
1482
|
var i = n[r];
|
|
1432
1483
|
switch (i.stem) {
|
|
@@ -1450,7 +1501,7 @@ function Bi(e) {
|
|
|
1450
1501
|
continue;
|
|
1451
1502
|
case "measure-unit":
|
|
1452
1503
|
case "unit":
|
|
1453
|
-
t.style = "unit", t.unit =
|
|
1504
|
+
t.style = "unit", t.unit = Bi(i.options[0]);
|
|
1454
1505
|
continue;
|
|
1455
1506
|
case "compact-short":
|
|
1456
1507
|
case "K":
|
|
@@ -1462,12 +1513,12 @@ function Bi(e) {
|
|
|
1462
1513
|
continue;
|
|
1463
1514
|
case "scientific":
|
|
1464
1515
|
t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1465
|
-
return S(S({}, l),
|
|
1516
|
+
return S(S({}, l), Jt(u));
|
|
1466
1517
|
}, {}));
|
|
1467
1518
|
continue;
|
|
1468
1519
|
case "engineering":
|
|
1469
1520
|
t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1470
|
-
return S(S({}, l),
|
|
1521
|
+
return S(S({}, l), Jt(u));
|
|
1471
1522
|
}, {}));
|
|
1472
1523
|
continue;
|
|
1473
1524
|
case "notation-simple":
|
|
@@ -1512,7 +1563,7 @@ function Bi(e) {
|
|
|
1512
1563
|
case "integer-width":
|
|
1513
1564
|
if (i.options.length > 1)
|
|
1514
1565
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1515
|
-
i.options[0].replace(
|
|
1566
|
+
i.options[0].replace(Ai, function(l, u, h, c, p, y) {
|
|
1516
1567
|
if (u)
|
|
1517
1568
|
t.minimumIntegerDigits = h.length;
|
|
1518
1569
|
else {
|
|
@@ -1525,27 +1576,27 @@ function Bi(e) {
|
|
|
1525
1576
|
});
|
|
1526
1577
|
continue;
|
|
1527
1578
|
}
|
|
1528
|
-
if (
|
|
1579
|
+
if (Nr.test(i.stem)) {
|
|
1529
1580
|
t.minimumIntegerDigits = i.stem.length;
|
|
1530
1581
|
continue;
|
|
1531
1582
|
}
|
|
1532
|
-
if (
|
|
1583
|
+
if (Zt.test(i.stem)) {
|
|
1533
1584
|
if (i.options.length > 1)
|
|
1534
1585
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1535
|
-
i.stem.replace(
|
|
1586
|
+
i.stem.replace(Zt, function(l, u, h, c, p, y) {
|
|
1536
1587
|
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : p && y ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + y.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1537
1588
|
});
|
|
1538
1589
|
var s = i.options[0];
|
|
1539
|
-
s === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = S(S({}, t),
|
|
1590
|
+
s === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = S(S({}, t), qt(s)));
|
|
1540
1591
|
continue;
|
|
1541
1592
|
}
|
|
1542
|
-
if (
|
|
1543
|
-
t = S(S({}, t),
|
|
1593
|
+
if (Mr.test(i.stem)) {
|
|
1594
|
+
t = S(S({}, t), qt(i.stem));
|
|
1544
1595
|
continue;
|
|
1545
1596
|
}
|
|
1546
|
-
var o =
|
|
1597
|
+
var o = Dr(i.stem);
|
|
1547
1598
|
o && (t = S(S({}, t), o));
|
|
1548
|
-
var a =
|
|
1599
|
+
var a = Pi(i.stem);
|
|
1549
1600
|
a && (t = S(S({}, t), a));
|
|
1550
1601
|
}
|
|
1551
1602
|
return t;
|
|
@@ -2965,22 +3016,23 @@ var Be = {
|
|
|
2965
3016
|
"h"
|
|
2966
3017
|
]
|
|
2967
3018
|
};
|
|
2968
|
-
function
|
|
3019
|
+
function Oi(e, t) {
|
|
2969
3020
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2970
3021
|
var i = e.charAt(n);
|
|
2971
3022
|
if (i === "j") {
|
|
2972
3023
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2973
3024
|
s++, n++;
|
|
2974
|
-
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u =
|
|
3025
|
+
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Ii(t);
|
|
2975
3026
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2976
3027
|
r += l;
|
|
2977
3028
|
for (; o-- > 0; )
|
|
2978
3029
|
r = u + r;
|
|
2979
|
-
} else
|
|
3030
|
+
} else
|
|
3031
|
+
i === "J" ? r += "H" : r += i;
|
|
2980
3032
|
}
|
|
2981
3033
|
return r;
|
|
2982
3034
|
}
|
|
2983
|
-
function
|
|
3035
|
+
function Ii(e) {
|
|
2984
3036
|
var t = e.hourCycle;
|
|
2985
3037
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2986
3038
|
e.hourCycles && // @ts-ignore
|
|
@@ -3002,20 +3054,20 @@ function Pi(e) {
|
|
|
3002
3054
|
var i = Be[n || ""] || Be[r || ""] || Be["".concat(r, "-001")] || Be["001"];
|
|
3003
3055
|
return i[0];
|
|
3004
3056
|
}
|
|
3005
|
-
var
|
|
3057
|
+
var Je, Ri = new RegExp("^".concat(Lr.source, "*")), Li = new RegExp("".concat(Lr.source, "*$"));
|
|
3006
3058
|
function _(e, t) {
|
|
3007
3059
|
return { start: e, end: t };
|
|
3008
3060
|
}
|
|
3009
|
-
var
|
|
3061
|
+
var Mi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ni = !!String.fromCodePoint, Di = !!Object.fromEntries, Fi = !!String.prototype.codePointAt, Ui = !!String.prototype.trimStart, Gi = !!String.prototype.trimEnd, ki = !!Number.isSafeInteger, ji = ki ? Number.isSafeInteger : function(e) {
|
|
3010
3062
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3011
|
-
},
|
|
3063
|
+
}, at = !0;
|
|
3012
3064
|
try {
|
|
3013
|
-
var
|
|
3014
|
-
|
|
3065
|
+
var $i = Ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3066
|
+
at = ((Je = $i.exec("a")) === null || Je === void 0 ? void 0 : Je[0]) === "a";
|
|
3015
3067
|
} catch (e) {
|
|
3016
|
-
|
|
3068
|
+
at = !1;
|
|
3017
3069
|
}
|
|
3018
|
-
var
|
|
3070
|
+
var Qt = Mi ? (
|
|
3019
3071
|
// Native
|
|
3020
3072
|
function(t, r, n) {
|
|
3021
3073
|
return t.startsWith(r, n);
|
|
@@ -3025,7 +3077,7 @@ var Zt = Ii ? (
|
|
|
3025
3077
|
function(t, r, n) {
|
|
3026
3078
|
return t.slice(n, n + r.length) === r;
|
|
3027
3079
|
}
|
|
3028
|
-
),
|
|
3080
|
+
), ut = Ni ? String.fromCodePoint : (
|
|
3029
3081
|
// IE11
|
|
3030
3082
|
function() {
|
|
3031
3083
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3037,9 +3089,9 @@ var Zt = Ii ? (
|
|
|
3037
3089
|
}
|
|
3038
3090
|
return n;
|
|
3039
3091
|
}
|
|
3040
|
-
),
|
|
3092
|
+
), Yt = (
|
|
3041
3093
|
// native
|
|
3042
|
-
|
|
3094
|
+
Di ? Object.fromEntries : (
|
|
3043
3095
|
// Ponyfill
|
|
3044
3096
|
function(t) {
|
|
3045
3097
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3049,7 +3101,7 @@ var Zt = Ii ? (
|
|
|
3049
3101
|
return r;
|
|
3050
3102
|
}
|
|
3051
3103
|
)
|
|
3052
|
-
),
|
|
3104
|
+
), Fr = Fi ? (
|
|
3053
3105
|
// Native
|
|
3054
3106
|
function(t, r) {
|
|
3055
3107
|
return t.codePointAt(r);
|
|
@@ -3063,7 +3115,7 @@ var Zt = Ii ? (
|
|
|
3063
3115
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
3064
3116
|
}
|
|
3065
3117
|
}
|
|
3066
|
-
),
|
|
3118
|
+
), Vi = Ui ? (
|
|
3067
3119
|
// Native
|
|
3068
3120
|
function(t) {
|
|
3069
3121
|
return t.trimStart();
|
|
@@ -3071,9 +3123,9 @@ var Zt = Ii ? (
|
|
|
3071
3123
|
) : (
|
|
3072
3124
|
// Ponyfill
|
|
3073
3125
|
function(t) {
|
|
3074
|
-
return t.replace(
|
|
3126
|
+
return t.replace(Ri, "");
|
|
3075
3127
|
}
|
|
3076
|
-
),
|
|
3128
|
+
), Xi = Gi ? (
|
|
3077
3129
|
// Native
|
|
3078
3130
|
function(t) {
|
|
3079
3131
|
return t.trimEnd();
|
|
@@ -3081,32 +3133,32 @@ var Zt = Ii ? (
|
|
|
3081
3133
|
) : (
|
|
3082
3134
|
// Ponyfill
|
|
3083
3135
|
function(t) {
|
|
3084
|
-
return t.replace(
|
|
3136
|
+
return t.replace(Li, "");
|
|
3085
3137
|
}
|
|
3086
3138
|
);
|
|
3087
|
-
function
|
|
3139
|
+
function Ur(e, t) {
|
|
3088
3140
|
return new RegExp(e, t);
|
|
3089
3141
|
}
|
|
3090
|
-
var
|
|
3091
|
-
if (
|
|
3092
|
-
var
|
|
3093
|
-
|
|
3142
|
+
var lt;
|
|
3143
|
+
if (at) {
|
|
3144
|
+
var Kt = Ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3145
|
+
lt = function(t, r) {
|
|
3094
3146
|
var n;
|
|
3095
|
-
|
|
3096
|
-
var i =
|
|
3147
|
+
Kt.lastIndex = r;
|
|
3148
|
+
var i = Kt.exec(t);
|
|
3097
3149
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3098
3150
|
};
|
|
3099
3151
|
} else
|
|
3100
|
-
|
|
3152
|
+
lt = function(t, r) {
|
|
3101
3153
|
for (var n = []; ; ) {
|
|
3102
|
-
var i =
|
|
3103
|
-
if (i === void 0 ||
|
|
3154
|
+
var i = Fr(t, r);
|
|
3155
|
+
if (i === void 0 || Gr(i) || qi(i))
|
|
3104
3156
|
break;
|
|
3105
3157
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3106
3158
|
}
|
|
3107
|
-
return
|
|
3159
|
+
return ut.apply(void 0, n);
|
|
3108
3160
|
};
|
|
3109
|
-
var
|
|
3161
|
+
var Wi = (
|
|
3110
3162
|
/** @class */
|
|
3111
3163
|
function() {
|
|
3112
3164
|
function e(t, r) {
|
|
@@ -3137,7 +3189,7 @@ var $i = (
|
|
|
3137
3189
|
if (n)
|
|
3138
3190
|
break;
|
|
3139
3191
|
return this.error(v.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
|
|
3140
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
3192
|
+
} else if (s === 60 && !this.ignoreTag && ht(this.peek() || 0)) {
|
|
3141
3193
|
var o = this.parseTag(t, r);
|
|
3142
3194
|
if (o.err)
|
|
3143
3195
|
return o;
|
|
@@ -3170,7 +3222,7 @@ var $i = (
|
|
|
3170
3222
|
return s;
|
|
3171
3223
|
var o = s.val, a = this.clonePosition();
|
|
3172
3224
|
if (this.bumpIf("</")) {
|
|
3173
|
-
if (this.isEOF() || !
|
|
3225
|
+
if (this.isEOF() || !ht(this.char()))
|
|
3174
3226
|
return this.error(v.INVALID_TAG, _(a, this.clonePosition()));
|
|
3175
3227
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3176
3228
|
return i !== u ? this.error(v.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3188,7 +3240,7 @@ var $i = (
|
|
|
3188
3240
|
return this.error(v.INVALID_TAG, _(n, this.clonePosition()));
|
|
3189
3241
|
}, e.prototype.parseTagName = function() {
|
|
3190
3242
|
var t = this.offset();
|
|
3191
|
-
for (this.bump(); !this.isEOF() &&
|
|
3243
|
+
for (this.bump(); !this.isEOF() && Zi(this.char()); )
|
|
3192
3244
|
this.bump();
|
|
3193
3245
|
return this.message.slice(t, this.offset());
|
|
3194
3246
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3217,7 +3269,7 @@ var $i = (
|
|
|
3217
3269
|
};
|
|
3218
3270
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3219
3271
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3220
|
-
!
|
|
3272
|
+
!zi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3221
3273
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3222
3274
|
if (this.isEOF() || this.char() !== 39)
|
|
3223
3275
|
return null;
|
|
@@ -3251,12 +3303,12 @@ var $i = (
|
|
|
3251
3303
|
r.push(n);
|
|
3252
3304
|
this.bump();
|
|
3253
3305
|
}
|
|
3254
|
-
return
|
|
3306
|
+
return ut.apply(void 0, r);
|
|
3255
3307
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3256
3308
|
if (this.isEOF())
|
|
3257
3309
|
return null;
|
|
3258
3310
|
var n = this.char();
|
|
3259
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3311
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ut(n));
|
|
3260
3312
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3261
3313
|
var n = this.clonePosition();
|
|
3262
3314
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3285,7 +3337,7 @@ var $i = (
|
|
|
3285
3337
|
return this.error(v.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
|
|
3286
3338
|
}
|
|
3287
3339
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3288
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3340
|
+
var t = this.clonePosition(), r = this.offset(), n = lt(this.message, r), i = r + n.length;
|
|
3289
3341
|
this.bumpTo(i);
|
|
3290
3342
|
var s = this.clonePosition(), o = _(t, s);
|
|
3291
3343
|
return { value: n, location: o };
|
|
@@ -3304,7 +3356,7 @@ var $i = (
|
|
|
3304
3356
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3305
3357
|
if (c.err)
|
|
3306
3358
|
return c;
|
|
3307
|
-
var p =
|
|
3359
|
+
var p = Xi(c.val);
|
|
3308
3360
|
if (p.length === 0)
|
|
3309
3361
|
return this.error(v.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
3310
3362
|
var y = _(h, this.clonePosition());
|
|
@@ -3314,8 +3366,8 @@ var $i = (
|
|
|
3314
3366
|
if (g.err)
|
|
3315
3367
|
return g;
|
|
3316
3368
|
var d = _(i, this.clonePosition());
|
|
3317
|
-
if (u &&
|
|
3318
|
-
var b =
|
|
3369
|
+
if (u && Qt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3370
|
+
var b = Vi(u.style.slice(2));
|
|
3319
3371
|
if (a === "number") {
|
|
3320
3372
|
var c = this.parseNumberSkeletonFromString(b, u.styleLocation);
|
|
3321
3373
|
return c.err ? c : {
|
|
@@ -3326,15 +3378,15 @@ var $i = (
|
|
|
3326
3378
|
if (b.length === 0)
|
|
3327
3379
|
return this.error(v.EXPECT_DATE_TIME_SKELETON, d);
|
|
3328
3380
|
var w = b;
|
|
3329
|
-
this.locale && (w =
|
|
3381
|
+
this.locale && (w = Oi(b, this.locale));
|
|
3330
3382
|
var p = {
|
|
3331
3383
|
type: ie.dateTime,
|
|
3332
3384
|
pattern: w,
|
|
3333
3385
|
location: u.styleLocation,
|
|
3334
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3335
|
-
},
|
|
3386
|
+
parsedOptions: this.shouldParseSkeletons ? xi(w) : {}
|
|
3387
|
+
}, C = a === "date" ? T.date : T.time;
|
|
3336
3388
|
return {
|
|
3337
|
-
val: { type:
|
|
3389
|
+
val: { type: C, value: n, location: d, style: p },
|
|
3338
3390
|
err: null
|
|
3339
3391
|
};
|
|
3340
3392
|
}
|
|
@@ -3366,9 +3418,9 @@ var $i = (
|
|
|
3366
3418
|
return c;
|
|
3367
3419
|
this.bumpSpace(), L = this.parseIdentifierIfPossible(), M = c.val;
|
|
3368
3420
|
}
|
|
3369
|
-
var
|
|
3370
|
-
if (
|
|
3371
|
-
return
|
|
3421
|
+
var O = this.tryParsePluralOrSelectOptions(t, a, r, L);
|
|
3422
|
+
if (O.err)
|
|
3423
|
+
return O;
|
|
3372
3424
|
var g = this.tryParseArgumentClose(i);
|
|
3373
3425
|
if (g.err)
|
|
3374
3426
|
return g;
|
|
@@ -3377,7 +3429,7 @@ var $i = (
|
|
|
3377
3429
|
val: {
|
|
3378
3430
|
type: T.select,
|
|
3379
3431
|
value: n,
|
|
3380
|
-
options:
|
|
3432
|
+
options: Yt(O.val),
|
|
3381
3433
|
location: D
|
|
3382
3434
|
},
|
|
3383
3435
|
err: null
|
|
@@ -3385,7 +3437,7 @@ var $i = (
|
|
|
3385
3437
|
val: {
|
|
3386
3438
|
type: T.plural,
|
|
3387
3439
|
value: n,
|
|
3388
|
-
options:
|
|
3440
|
+
options: Yt(O.val),
|
|
3389
3441
|
offset: M,
|
|
3390
3442
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3391
3443
|
location: D
|
|
@@ -3436,7 +3488,7 @@ var $i = (
|
|
|
3436
3488
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3437
3489
|
var n = [];
|
|
3438
3490
|
try {
|
|
3439
|
-
n =
|
|
3491
|
+
n = Hi(t);
|
|
3440
3492
|
} catch (i) {
|
|
3441
3493
|
return this.error(v.INVALID_NUMBER_SKELETON, r);
|
|
3442
3494
|
}
|
|
@@ -3445,7 +3497,7 @@ var $i = (
|
|
|
3445
3497
|
type: ie.number,
|
|
3446
3498
|
tokens: n,
|
|
3447
3499
|
location: r,
|
|
3448
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3500
|
+
parsedOptions: this.shouldParseSkeletons ? Ci(n) : {}
|
|
3449
3501
|
},
|
|
3450
3502
|
err: null
|
|
3451
3503
|
};
|
|
@@ -3493,7 +3545,7 @@ var $i = (
|
|
|
3493
3545
|
break;
|
|
3494
3546
|
}
|
|
3495
3547
|
var l = _(i, this.clonePosition());
|
|
3496
|
-
return s ? (o *= n,
|
|
3548
|
+
return s ? (o *= n, ji(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3497
3549
|
}, e.prototype.offset = function() {
|
|
3498
3550
|
return this.position.offset;
|
|
3499
3551
|
}, e.prototype.isEOF = function() {
|
|
@@ -3508,7 +3560,7 @@ var $i = (
|
|
|
3508
3560
|
var t = this.position.offset;
|
|
3509
3561
|
if (t >= this.message.length)
|
|
3510
3562
|
throw Error("out of bound");
|
|
3511
|
-
var r =
|
|
3563
|
+
var r = Fr(this.message, t);
|
|
3512
3564
|
if (r === void 0)
|
|
3513
3565
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3514
3566
|
return r;
|
|
@@ -3527,7 +3579,7 @@ var $i = (
|
|
|
3527
3579
|
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);
|
|
3528
3580
|
}
|
|
3529
3581
|
}, e.prototype.bumpIf = function(t) {
|
|
3530
|
-
if (
|
|
3582
|
+
if (Qt(this.message, t, this.offset())) {
|
|
3531
3583
|
for (var r = 0; r < t.length; r++)
|
|
3532
3584
|
this.bump();
|
|
3533
3585
|
return !0;
|
|
@@ -3549,7 +3601,7 @@ var $i = (
|
|
|
3549
3601
|
break;
|
|
3550
3602
|
}
|
|
3551
3603
|
}, e.prototype.bumpSpace = function() {
|
|
3552
|
-
for (; !this.isEOF() &&
|
|
3604
|
+
for (; !this.isEOF() && Gr(this.char()); )
|
|
3553
3605
|
this.bump();
|
|
3554
3606
|
}, e.prototype.peek = function() {
|
|
3555
3607
|
if (this.isEOF())
|
|
@@ -3559,37 +3611,38 @@ var $i = (
|
|
|
3559
3611
|
}, e;
|
|
3560
3612
|
}()
|
|
3561
3613
|
);
|
|
3562
|
-
function
|
|
3614
|
+
function ht(e) {
|
|
3563
3615
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3564
3616
|
}
|
|
3565
|
-
function
|
|
3566
|
-
return
|
|
3617
|
+
function zi(e) {
|
|
3618
|
+
return ht(e) || e === 47;
|
|
3567
3619
|
}
|
|
3568
|
-
function
|
|
3620
|
+
function Zi(e) {
|
|
3569
3621
|
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;
|
|
3570
3622
|
}
|
|
3571
|
-
function
|
|
3623
|
+
function Gr(e) {
|
|
3572
3624
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3573
3625
|
}
|
|
3574
|
-
function
|
|
3626
|
+
function qi(e) {
|
|
3575
3627
|
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;
|
|
3576
3628
|
}
|
|
3577
|
-
function
|
|
3629
|
+
function ft(e) {
|
|
3578
3630
|
e.forEach(function(t) {
|
|
3579
|
-
if (delete t.location,
|
|
3631
|
+
if (delete t.location, Cr(t) || Or(t))
|
|
3580
3632
|
for (var r in t.options)
|
|
3581
|
-
delete t.options[r].location,
|
|
3582
|
-
else
|
|
3633
|
+
delete t.options[r].location, ft(t.options[r].value);
|
|
3634
|
+
else
|
|
3635
|
+
Br(t) && Rr(t.style) || (Ar(t) || Pr(t)) && ot(t.style) ? delete t.style.location : Ir(t) && ft(t.children);
|
|
3583
3636
|
});
|
|
3584
3637
|
}
|
|
3585
|
-
function
|
|
3638
|
+
function Ji(e, t) {
|
|
3586
3639
|
t === void 0 && (t = {}), t = S({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3587
|
-
var r = new
|
|
3640
|
+
var r = new Wi(e, t).parse();
|
|
3588
3641
|
if (r.err) {
|
|
3589
3642
|
var n = SyntaxError(v[r.err.kind]);
|
|
3590
3643
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3591
3644
|
}
|
|
3592
|
-
return t != null && t.captureLocation ||
|
|
3645
|
+
return t != null && t.captureLocation || ft(r.val), r.val;
|
|
3593
3646
|
}
|
|
3594
3647
|
var se;
|
|
3595
3648
|
(function(e) {
|
|
@@ -3607,7 +3660,7 @@ var De = (
|
|
|
3607
3660
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3608
3661
|
}, t;
|
|
3609
3662
|
}(Error)
|
|
3610
|
-
),
|
|
3663
|
+
), er = (
|
|
3611
3664
|
/** @class */
|
|
3612
3665
|
function(e) {
|
|
3613
3666
|
W(t, e);
|
|
@@ -3616,7 +3669,7 @@ var De = (
|
|
|
3616
3669
|
}
|
|
3617
3670
|
return t;
|
|
3618
3671
|
}(De)
|
|
3619
|
-
),
|
|
3672
|
+
), Qi = (
|
|
3620
3673
|
/** @class */
|
|
3621
3674
|
function(e) {
|
|
3622
3675
|
W(t, e);
|
|
@@ -3625,7 +3678,7 @@ var De = (
|
|
|
3625
3678
|
}
|
|
3626
3679
|
return t;
|
|
3627
3680
|
}(De)
|
|
3628
|
-
),
|
|
3681
|
+
), Yi = (
|
|
3629
3682
|
/** @class */
|
|
3630
3683
|
function(e) {
|
|
3631
3684
|
W(t, e);
|
|
@@ -3638,17 +3691,17 @@ var De = (
|
|
|
3638
3691
|
(function(e) {
|
|
3639
3692
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3640
3693
|
})(R || (R = {}));
|
|
3641
|
-
function
|
|
3694
|
+
function Ki(e) {
|
|
3642
3695
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3643
3696
|
var n = t[t.length - 1];
|
|
3644
3697
|
return !n || n.type !== R.literal || r.type !== R.literal ? t.push(r) : n.value += r.value, t;
|
|
3645
3698
|
}, []);
|
|
3646
3699
|
}
|
|
3647
|
-
function
|
|
3700
|
+
function es(e) {
|
|
3648
3701
|
return typeof e == "function";
|
|
3649
3702
|
}
|
|
3650
|
-
function
|
|
3651
|
-
if (e.length === 1 &&
|
|
3703
|
+
function Ce(e, t, r, n, i, s, o) {
|
|
3704
|
+
if (e.length === 1 && zt(e[0]))
|
|
3652
3705
|
return [
|
|
3653
3706
|
{
|
|
3654
3707
|
type: R.literal,
|
|
@@ -3657,14 +3710,14 @@ function Oe(e, t, r, n, i, s, o) {
|
|
|
3657
3710
|
];
|
|
3658
3711
|
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
|
3659
3712
|
var h = u[l];
|
|
3660
|
-
if (
|
|
3713
|
+
if (zt(h)) {
|
|
3661
3714
|
a.push({
|
|
3662
3715
|
type: R.literal,
|
|
3663
3716
|
value: h.value
|
|
3664
3717
|
});
|
|
3665
3718
|
continue;
|
|
3666
3719
|
}
|
|
3667
|
-
if (
|
|
3720
|
+
if (Si(h)) {
|
|
3668
3721
|
typeof s == "number" && a.push({
|
|
3669
3722
|
type: R.literal,
|
|
3670
3723
|
value: r.getNumberFormat(t).format(s)
|
|
@@ -3673,61 +3726,61 @@ function Oe(e, t, r, n, i, s, o) {
|
|
|
3673
3726
|
}
|
|
3674
3727
|
var c = h.value;
|
|
3675
3728
|
if (!(i && c in i))
|
|
3676
|
-
throw new
|
|
3729
|
+
throw new Yi(c, o);
|
|
3677
3730
|
var p = i[c];
|
|
3678
|
-
if (
|
|
3731
|
+
if (Ei(h)) {
|
|
3679
3732
|
(!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), a.push({
|
|
3680
3733
|
type: typeof p == "string" ? R.literal : R.object,
|
|
3681
3734
|
value: p
|
|
3682
3735
|
});
|
|
3683
3736
|
continue;
|
|
3684
3737
|
}
|
|
3685
|
-
if (
|
|
3686
|
-
var y = typeof h.style == "string" ? n.date[h.style] :
|
|
3738
|
+
if (Ar(h)) {
|
|
3739
|
+
var y = typeof h.style == "string" ? n.date[h.style] : ot(h.style) ? h.style.parsedOptions : void 0;
|
|
3687
3740
|
a.push({
|
|
3688
3741
|
type: R.literal,
|
|
3689
3742
|
value: r.getDateTimeFormat(t, y).format(p)
|
|
3690
3743
|
});
|
|
3691
3744
|
continue;
|
|
3692
3745
|
}
|
|
3693
|
-
if (
|
|
3694
|
-
var y = typeof h.style == "string" ? n.time[h.style] :
|
|
3746
|
+
if (Pr(h)) {
|
|
3747
|
+
var y = typeof h.style == "string" ? n.time[h.style] : ot(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3695
3748
|
a.push({
|
|
3696
3749
|
type: R.literal,
|
|
3697
3750
|
value: r.getDateTimeFormat(t, y).format(p)
|
|
3698
3751
|
});
|
|
3699
3752
|
continue;
|
|
3700
3753
|
}
|
|
3701
|
-
if (
|
|
3702
|
-
var y = typeof h.style == "string" ? n.number[h.style] :
|
|
3754
|
+
if (Br(h)) {
|
|
3755
|
+
var y = typeof h.style == "string" ? n.number[h.style] : Rr(h.style) ? h.style.parsedOptions : void 0;
|
|
3703
3756
|
y && y.scale && (p = p * (y.scale || 1)), a.push({
|
|
3704
3757
|
type: R.literal,
|
|
3705
3758
|
value: r.getNumberFormat(t, y).format(p)
|
|
3706
3759
|
});
|
|
3707
3760
|
continue;
|
|
3708
3761
|
}
|
|
3709
|
-
if (
|
|
3762
|
+
if (Ir(h)) {
|
|
3710
3763
|
var g = h.children, d = h.value, b = i[d];
|
|
3711
|
-
if (!
|
|
3712
|
-
throw new
|
|
3713
|
-
var w =
|
|
3764
|
+
if (!es(b))
|
|
3765
|
+
throw new Qi(d, "function", o);
|
|
3766
|
+
var w = Ce(g, t, r, n, i, s), C = b(w.map(function(M) {
|
|
3714
3767
|
return M.value;
|
|
3715
3768
|
}));
|
|
3716
|
-
Array.isArray(
|
|
3769
|
+
Array.isArray(C) || (C = [C]), a.push.apply(a, C.map(function(M) {
|
|
3717
3770
|
return {
|
|
3718
3771
|
type: typeof M == "string" ? R.literal : R.object,
|
|
3719
3772
|
value: M
|
|
3720
3773
|
};
|
|
3721
3774
|
}));
|
|
3722
3775
|
}
|
|
3723
|
-
if (
|
|
3776
|
+
if (Cr(h)) {
|
|
3724
3777
|
var P = h.options[p] || h.options.other;
|
|
3725
3778
|
if (!P)
|
|
3726
|
-
throw new
|
|
3727
|
-
a.push.apply(a,
|
|
3779
|
+
throw new er(h.value, p, Object.keys(h.options), o);
|
|
3780
|
+
a.push.apply(a, Ce(P.value, t, r, n, i));
|
|
3728
3781
|
continue;
|
|
3729
3782
|
}
|
|
3730
|
-
if (
|
|
3783
|
+
if (Or(h)) {
|
|
3731
3784
|
var P = h.options["=".concat(p)];
|
|
3732
3785
|
if (!P) {
|
|
3733
3786
|
if (!Intl.PluralRules)
|
|
@@ -3738,24 +3791,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3738
3791
|
P = h.options[L] || h.options.other;
|
|
3739
3792
|
}
|
|
3740
3793
|
if (!P)
|
|
3741
|
-
throw new
|
|
3742
|
-
a.push.apply(a,
|
|
3794
|
+
throw new er(h.value, p, Object.keys(h.options), o);
|
|
3795
|
+
a.push.apply(a, Ce(P.value, t, r, n, i, p - (h.offset || 0)));
|
|
3743
3796
|
continue;
|
|
3744
3797
|
}
|
|
3745
3798
|
}
|
|
3746
|
-
return
|
|
3799
|
+
return Ki(a);
|
|
3747
3800
|
}
|
|
3748
|
-
function
|
|
3801
|
+
function ts(e, t) {
|
|
3749
3802
|
return t ? S(S(S({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3750
3803
|
return r[n] = S(S({}, e[n]), t[n] || {}), r;
|
|
3751
3804
|
}, {})) : e;
|
|
3752
3805
|
}
|
|
3753
|
-
function
|
|
3806
|
+
function rs(e, t) {
|
|
3754
3807
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3755
|
-
return r[n] =
|
|
3808
|
+
return r[n] = ts(e[n], t[n]), r;
|
|
3756
3809
|
}, S({}, e)) : e;
|
|
3757
3810
|
}
|
|
3758
|
-
function
|
|
3811
|
+
function Qe(e) {
|
|
3759
3812
|
return {
|
|
3760
3813
|
create: function() {
|
|
3761
3814
|
return {
|
|
@@ -3769,39 +3822,39 @@ function Je(e) {
|
|
|
3769
3822
|
}
|
|
3770
3823
|
};
|
|
3771
3824
|
}
|
|
3772
|
-
function
|
|
3825
|
+
function ns(e) {
|
|
3773
3826
|
return e === void 0 && (e = {
|
|
3774
3827
|
number: {},
|
|
3775
3828
|
dateTime: {},
|
|
3776
3829
|
pluralRules: {}
|
|
3777
3830
|
}), {
|
|
3778
|
-
getNumberFormat:
|
|
3831
|
+
getNumberFormat: Ze(function() {
|
|
3779
3832
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3780
3833
|
r[n] = arguments[n];
|
|
3781
3834
|
return new ((t = Intl.NumberFormat).bind.apply(t, re([void 0], r, !1)))();
|
|
3782
3835
|
}, {
|
|
3783
|
-
cache:
|
|
3784
|
-
strategy:
|
|
3836
|
+
cache: Qe(e.number),
|
|
3837
|
+
strategy: qe.variadic
|
|
3785
3838
|
}),
|
|
3786
|
-
getDateTimeFormat:
|
|
3839
|
+
getDateTimeFormat: Ze(function() {
|
|
3787
3840
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3788
3841
|
r[n] = arguments[n];
|
|
3789
3842
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, re([void 0], r, !1)))();
|
|
3790
3843
|
}, {
|
|
3791
|
-
cache:
|
|
3792
|
-
strategy:
|
|
3844
|
+
cache: Qe(e.dateTime),
|
|
3845
|
+
strategy: qe.variadic
|
|
3793
3846
|
}),
|
|
3794
|
-
getPluralRules:
|
|
3847
|
+
getPluralRules: Ze(function() {
|
|
3795
3848
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3796
3849
|
r[n] = arguments[n];
|
|
3797
3850
|
return new ((t = Intl.PluralRules).bind.apply(t, re([void 0], r, !1)))();
|
|
3798
3851
|
}, {
|
|
3799
|
-
cache:
|
|
3800
|
-
strategy:
|
|
3852
|
+
cache: Qe(e.pluralRules),
|
|
3853
|
+
strategy: qe.variadic
|
|
3801
3854
|
})
|
|
3802
3855
|
};
|
|
3803
3856
|
}
|
|
3804
|
-
var
|
|
3857
|
+
var is = (
|
|
3805
3858
|
/** @class */
|
|
3806
3859
|
function() {
|
|
3807
3860
|
function e(t, r, n, i) {
|
|
@@ -3820,7 +3873,7 @@ var ts = (
|
|
|
3820
3873
|
}, []);
|
|
3821
3874
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3822
3875
|
}, this.formatToParts = function(l) {
|
|
3823
|
-
return
|
|
3876
|
+
return Ce(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
|
|
3824
3877
|
}, this.resolvedOptions = function() {
|
|
3825
3878
|
var l;
|
|
3826
3879
|
return {
|
|
@@ -3833,13 +3886,13 @@ var ts = (
|
|
|
3833
3886
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3834
3887
|
var o = i || {};
|
|
3835
3888
|
o.formatters;
|
|
3836
|
-
var a =
|
|
3889
|
+
var a = Dn(o, ["formatters"]);
|
|
3837
3890
|
this.ast = e.__parse(t, S(S({}, a), { locale: this.resolvedLocale }));
|
|
3838
3891
|
} else
|
|
3839
3892
|
this.ast = t;
|
|
3840
3893
|
if (!Array.isArray(this.ast))
|
|
3841
3894
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3842
|
-
this.formats =
|
|
3895
|
+
this.formats = rs(e.formats, n), this.formatters = i && i.formatters || ns(this.formatterCache);
|
|
3843
3896
|
}
|
|
3844
3897
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3845
3898
|
get: function() {
|
|
@@ -3852,7 +3905,7 @@ var ts = (
|
|
|
3852
3905
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3853
3906
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3854
3907
|
}
|
|
3855
|
-
}, e.__parse =
|
|
3908
|
+
}, e.__parse = Ji, e.formats = {
|
|
3856
3909
|
number: {
|
|
3857
3910
|
integer: {
|
|
3858
3911
|
maximumFractionDigits: 0
|
|
@@ -3913,7 +3966,7 @@ var ts = (
|
|
|
3913
3966
|
}, e;
|
|
3914
3967
|
}()
|
|
3915
3968
|
);
|
|
3916
|
-
function
|
|
3969
|
+
function ss(e, t) {
|
|
3917
3970
|
if (t == null)
|
|
3918
3971
|
return;
|
|
3919
3972
|
if (t in e)
|
|
@@ -3934,92 +3987,92 @@ function rs(e, t) {
|
|
|
3934
3987
|
n = void 0;
|
|
3935
3988
|
return n;
|
|
3936
3989
|
}
|
|
3937
|
-
const Z = {},
|
|
3990
|
+
const Z = {}, os = (e, t, r) => r && (t in Z || (Z[t] = {}), e in Z[t] || (Z[t][e] = r), r), kr = (e, t) => {
|
|
3938
3991
|
if (t == null)
|
|
3939
3992
|
return;
|
|
3940
3993
|
if (t in Z && e in Z[t])
|
|
3941
3994
|
return Z[t][e];
|
|
3942
3995
|
const r = Fe(t);
|
|
3943
3996
|
for (let n = 0; n < r.length; n++) {
|
|
3944
|
-
const i = r[n], s =
|
|
3997
|
+
const i = r[n], s = us(i, e);
|
|
3945
3998
|
if (s)
|
|
3946
|
-
return
|
|
3999
|
+
return os(e, t, s);
|
|
3947
4000
|
}
|
|
3948
4001
|
};
|
|
3949
|
-
let
|
|
4002
|
+
let bt;
|
|
3950
4003
|
const ue = Ne({});
|
|
3951
|
-
function
|
|
3952
|
-
return
|
|
4004
|
+
function as(e) {
|
|
4005
|
+
return bt[e] || null;
|
|
3953
4006
|
}
|
|
3954
|
-
function
|
|
3955
|
-
return e in
|
|
4007
|
+
function jr(e) {
|
|
4008
|
+
return e in bt;
|
|
3956
4009
|
}
|
|
3957
|
-
function
|
|
3958
|
-
if (!
|
|
4010
|
+
function us(e, t) {
|
|
4011
|
+
if (!jr(e))
|
|
3959
4012
|
return null;
|
|
3960
|
-
const r =
|
|
3961
|
-
return
|
|
4013
|
+
const r = as(e);
|
|
4014
|
+
return ss(r, t);
|
|
3962
4015
|
}
|
|
3963
|
-
function
|
|
4016
|
+
function ls(e) {
|
|
3964
4017
|
if (e == null)
|
|
3965
4018
|
return;
|
|
3966
4019
|
const t = Fe(e);
|
|
3967
4020
|
for (let r = 0; r < t.length; r++) {
|
|
3968
4021
|
const n = t[r];
|
|
3969
|
-
if (
|
|
4022
|
+
if (jr(n))
|
|
3970
4023
|
return n;
|
|
3971
4024
|
}
|
|
3972
4025
|
}
|
|
3973
|
-
function
|
|
3974
|
-
delete Z[e], ue.update((r) => (r[e] =
|
|
4026
|
+
function $r(e, ...t) {
|
|
4027
|
+
delete Z[e], ue.update((r) => (r[e] = pi.all([r[e] || {}, ...t]), r));
|
|
3975
4028
|
}
|
|
3976
4029
|
ae(
|
|
3977
4030
|
[ue],
|
|
3978
4031
|
([e]) => Object.keys(e)
|
|
3979
4032
|
);
|
|
3980
|
-
ue.subscribe((e) =>
|
|
3981
|
-
const
|
|
3982
|
-
function
|
|
3983
|
-
|
|
4033
|
+
ue.subscribe((e) => bt = e);
|
|
4034
|
+
const Oe = {};
|
|
4035
|
+
function hs(e, t) {
|
|
4036
|
+
Oe[e].delete(t), Oe[e].size === 0 && delete Oe[e];
|
|
3984
4037
|
}
|
|
3985
|
-
function
|
|
3986
|
-
return
|
|
4038
|
+
function Vr(e) {
|
|
4039
|
+
return Oe[e];
|
|
3987
4040
|
}
|
|
3988
|
-
function
|
|
4041
|
+
function fs(e) {
|
|
3989
4042
|
return Fe(e).map((t) => {
|
|
3990
|
-
const r =
|
|
4043
|
+
const r = Vr(t);
|
|
3991
4044
|
return [t, r ? [...r] : []];
|
|
3992
4045
|
}).filter(([, t]) => t.length > 0);
|
|
3993
4046
|
}
|
|
3994
|
-
function
|
|
4047
|
+
function ct(e) {
|
|
3995
4048
|
return e == null ? !1 : Fe(e).some(
|
|
3996
4049
|
(t) => {
|
|
3997
4050
|
var r;
|
|
3998
|
-
return (r =
|
|
4051
|
+
return (r = Vr(t)) == null ? void 0 : r.size;
|
|
3999
4052
|
}
|
|
4000
4053
|
);
|
|
4001
4054
|
}
|
|
4002
|
-
function
|
|
4055
|
+
function cs(e, t) {
|
|
4003
4056
|
return Promise.all(
|
|
4004
|
-
t.map((n) => (
|
|
4005
|
-
).then((n) =>
|
|
4057
|
+
t.map((n) => (hs(e, n), n().then((i) => i.default || i)))
|
|
4058
|
+
).then((n) => $r(e, ...n));
|
|
4006
4059
|
}
|
|
4007
4060
|
const ce = {};
|
|
4008
|
-
function
|
|
4009
|
-
if (!
|
|
4061
|
+
function Xr(e) {
|
|
4062
|
+
if (!ct(e))
|
|
4010
4063
|
return e in ce ? ce[e] : Promise.resolve();
|
|
4011
|
-
const t =
|
|
4064
|
+
const t = fs(e);
|
|
4012
4065
|
return ce[e] = Promise.all(
|
|
4013
4066
|
t.map(
|
|
4014
|
-
([r, n]) =>
|
|
4067
|
+
([r, n]) => cs(r, n)
|
|
4015
4068
|
)
|
|
4016
4069
|
).then(() => {
|
|
4017
|
-
if (
|
|
4018
|
-
return
|
|
4070
|
+
if (ct(e))
|
|
4071
|
+
return Xr(e);
|
|
4019
4072
|
delete ce[e];
|
|
4020
4073
|
}), ce[e];
|
|
4021
4074
|
}
|
|
4022
|
-
const
|
|
4075
|
+
const ms = {
|
|
4023
4076
|
number: {
|
|
4024
4077
|
scientific: { notation: "scientific" },
|
|
4025
4078
|
engineering: { notation: "engineering" },
|
|
@@ -4048,57 +4101,57 @@ const hs = {
|
|
|
4048
4101
|
timeZoneName: "short"
|
|
4049
4102
|
}
|
|
4050
4103
|
}
|
|
4051
|
-
},
|
|
4104
|
+
}, ps = {
|
|
4052
4105
|
fallbackLocale: null,
|
|
4053
4106
|
loadingDelay: 200,
|
|
4054
|
-
formats:
|
|
4107
|
+
formats: ms,
|
|
4055
4108
|
warnOnMissingMessages: !0,
|
|
4056
4109
|
handleMissingMessage: void 0,
|
|
4057
4110
|
ignoreTag: !0
|
|
4058
|
-
},
|
|
4111
|
+
}, ds = ps;
|
|
4059
4112
|
function oe() {
|
|
4060
|
-
return
|
|
4113
|
+
return ds;
|
|
4061
4114
|
}
|
|
4062
|
-
const
|
|
4063
|
-
var
|
|
4115
|
+
const Ye = Ne(!1);
|
|
4116
|
+
var gs = Object.defineProperty, bs = Object.defineProperties, ys = Object.getOwnPropertyDescriptors, tr = Object.getOwnPropertySymbols, vs = Object.prototype.hasOwnProperty, _s = Object.prototype.propertyIsEnumerable, rr = (e, t, r) => t in e ? gs(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Es = (e, t) => {
|
|
4064
4117
|
for (var r in t || (t = {}))
|
|
4065
|
-
|
|
4066
|
-
if (
|
|
4067
|
-
for (var r of
|
|
4068
|
-
|
|
4118
|
+
vs.call(t, r) && rr(e, r, t[r]);
|
|
4119
|
+
if (tr)
|
|
4120
|
+
for (var r of tr(t))
|
|
4121
|
+
_s.call(t, r) && rr(e, r, t[r]);
|
|
4069
4122
|
return e;
|
|
4070
|
-
},
|
|
4071
|
-
let
|
|
4123
|
+
}, Ss = (e, t) => bs(e, ys(t));
|
|
4124
|
+
let mt;
|
|
4072
4125
|
const Re = Ne(null);
|
|
4073
|
-
function
|
|
4126
|
+
function nr(e) {
|
|
4074
4127
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4075
4128
|
}
|
|
4076
4129
|
function Fe(e, t = oe().fallbackLocale) {
|
|
4077
|
-
const r =
|
|
4078
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4130
|
+
const r = nr(e);
|
|
4131
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...nr(t)])] : r;
|
|
4079
4132
|
}
|
|
4080
4133
|
function J() {
|
|
4081
|
-
return
|
|
4134
|
+
return mt != null ? mt : void 0;
|
|
4082
4135
|
}
|
|
4083
4136
|
Re.subscribe((e) => {
|
|
4084
|
-
|
|
4137
|
+
mt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4085
4138
|
});
|
|
4086
|
-
const
|
|
4087
|
-
if (e &&
|
|
4139
|
+
const ws = (e) => {
|
|
4140
|
+
if (e && ls(e) && ct(e)) {
|
|
4088
4141
|
const { loadingDelay: t } = oe();
|
|
4089
4142
|
let r;
|
|
4090
4143
|
return typeof window != "undefined" && J() != null && t ? r = window.setTimeout(
|
|
4091
|
-
() =>
|
|
4144
|
+
() => Ye.set(!0),
|
|
4092
4145
|
t
|
|
4093
|
-
) :
|
|
4146
|
+
) : Ye.set(!0), Xr(e).then(() => {
|
|
4094
4147
|
Re.set(e);
|
|
4095
4148
|
}).finally(() => {
|
|
4096
|
-
clearTimeout(r),
|
|
4149
|
+
clearTimeout(r), Ye.set(!1);
|
|
4097
4150
|
});
|
|
4098
4151
|
}
|
|
4099
4152
|
return Re.set(e);
|
|
4100
|
-
}, q =
|
|
4101
|
-
set:
|
|
4153
|
+
}, q = Ss(Es({}, Re), {
|
|
4154
|
+
set: ws
|
|
4102
4155
|
}), Ue = (e) => {
|
|
4103
4156
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4104
4157
|
return (n) => {
|
|
@@ -4106,20 +4159,20 @@ const _s = (e) => {
|
|
|
4106
4159
|
return i in t ? t[i] : t[i] = e(n);
|
|
4107
4160
|
};
|
|
4108
4161
|
};
|
|
4109
|
-
var
|
|
4162
|
+
var xs = Object.defineProperty, Le = Object.getOwnPropertySymbols, Wr = Object.prototype.hasOwnProperty, zr = Object.prototype.propertyIsEnumerable, ir = (e, t, r) => t in e ? xs(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, yt = (e, t) => {
|
|
4110
4163
|
for (var r in t || (t = {}))
|
|
4111
|
-
|
|
4164
|
+
Wr.call(t, r) && ir(e, r, t[r]);
|
|
4112
4165
|
if (Le)
|
|
4113
4166
|
for (var r of Le(t))
|
|
4114
|
-
|
|
4167
|
+
zr.call(t, r) && ir(e, r, t[r]);
|
|
4115
4168
|
return e;
|
|
4116
4169
|
}, le = (e, t) => {
|
|
4117
4170
|
var r = {};
|
|
4118
4171
|
for (var n in e)
|
|
4119
|
-
|
|
4172
|
+
Wr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4120
4173
|
if (e != null && Le)
|
|
4121
4174
|
for (var n of Le(e))
|
|
4122
|
-
t.indexOf(n) < 0 &&
|
|
4175
|
+
t.indexOf(n) < 0 && zr.call(e, n) && (r[n] = e[n]);
|
|
4123
4176
|
return r;
|
|
4124
4177
|
};
|
|
4125
4178
|
const ge = (e, t) => {
|
|
@@ -4127,21 +4180,21 @@ const ge = (e, t) => {
|
|
|
4127
4180
|
if (e in r && t in r[e])
|
|
4128
4181
|
return r[e][t];
|
|
4129
4182
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4130
|
-
},
|
|
4183
|
+
}, Ts = Ue(
|
|
4131
4184
|
(e) => {
|
|
4132
4185
|
var t = e, { locale: r, format: n } = t, i = le(t, ["locale", "format"]);
|
|
4133
4186
|
if (r == null)
|
|
4134
4187
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4135
4188
|
return n && (i = ge("number", n)), new Intl.NumberFormat(r, i);
|
|
4136
4189
|
}
|
|
4137
|
-
),
|
|
4190
|
+
), Hs = Ue(
|
|
4138
4191
|
(e) => {
|
|
4139
4192
|
var t = e, { locale: r, format: n } = t, i = le(t, ["locale", "format"]);
|
|
4140
4193
|
if (r == null)
|
|
4141
4194
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4142
4195
|
return n ? i = ge("date", n) : Object.keys(i).length === 0 && (i = ge("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4143
4196
|
}
|
|
4144
|
-
),
|
|
4197
|
+
), Bs = Ue(
|
|
4145
4198
|
(e) => {
|
|
4146
4199
|
var t = e, { locale: r, format: n } = t, i = le(t, ["locale", "format"]);
|
|
4147
4200
|
if (r == null)
|
|
@@ -4150,33 +4203,33 @@ const ge = (e, t) => {
|
|
|
4150
4203
|
);
|
|
4151
4204
|
return n ? i = ge("time", n) : Object.keys(i).length === 0 && (i = ge("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4152
4205
|
}
|
|
4153
|
-
),
|
|
4206
|
+
), As = (e = {}) => {
|
|
4154
4207
|
var t = e, {
|
|
4155
4208
|
locale: r = J()
|
|
4156
4209
|
} = t, n = le(t, [
|
|
4157
4210
|
"locale"
|
|
4158
4211
|
]);
|
|
4159
|
-
return
|
|
4160
|
-
},
|
|
4212
|
+
return Ts(yt({ locale: r }, n));
|
|
4213
|
+
}, Ps = (e = {}) => {
|
|
4161
4214
|
var t = e, {
|
|
4162
4215
|
locale: r = J()
|
|
4163
4216
|
} = t, n = le(t, [
|
|
4164
4217
|
"locale"
|
|
4165
4218
|
]);
|
|
4166
|
-
return
|
|
4167
|
-
},
|
|
4219
|
+
return Hs(yt({ locale: r }, n));
|
|
4220
|
+
}, Cs = (e = {}) => {
|
|
4168
4221
|
var t = e, {
|
|
4169
4222
|
locale: r = J()
|
|
4170
4223
|
} = t, n = le(t, [
|
|
4171
4224
|
"locale"
|
|
4172
4225
|
]);
|
|
4173
|
-
return
|
|
4174
|
-
},
|
|
4226
|
+
return Bs(yt({ locale: r }, n));
|
|
4227
|
+
}, Os = Ue(
|
|
4175
4228
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4176
|
-
(e, t = J()) => new
|
|
4229
|
+
(e, t = J()) => new is(e, t, oe().formats, {
|
|
4177
4230
|
ignoreTag: oe().ignoreTag
|
|
4178
4231
|
})
|
|
4179
|
-
),
|
|
4232
|
+
), Is = (e, t = {}) => {
|
|
4180
4233
|
var r, n, i, s;
|
|
4181
4234
|
let o = t;
|
|
4182
4235
|
typeof e == "object" && (o = e, e = o.id);
|
|
@@ -4189,7 +4242,7 @@ const ge = (e, t) => {
|
|
|
4189
4242
|
throw new Error(
|
|
4190
4243
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4191
4244
|
);
|
|
4192
|
-
let h =
|
|
4245
|
+
let h = kr(e, l);
|
|
4193
4246
|
if (!h)
|
|
4194
4247
|
h = (s = (i = (n = (r = oe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
|
|
4195
4248
|
else if (typeof h != "string")
|
|
@@ -4200,7 +4253,7 @@ const ge = (e, t) => {
|
|
|
4200
4253
|
return h;
|
|
4201
4254
|
let c = h;
|
|
4202
4255
|
try {
|
|
4203
|
-
c =
|
|
4256
|
+
c = Os(h, l).format(a);
|
|
4204
4257
|
} catch (p) {
|
|
4205
4258
|
p instanceof Error && console.warn(
|
|
4206
4259
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4208,25 +4261,25 @@ const ge = (e, t) => {
|
|
|
4208
4261
|
);
|
|
4209
4262
|
}
|
|
4210
4263
|
return c;
|
|
4211
|
-
},
|
|
4212
|
-
ae([q], () =>
|
|
4213
|
-
ae([q], () =>
|
|
4214
|
-
ae([q], () =>
|
|
4215
|
-
ae([q, ue], () =>
|
|
4216
|
-
window.emWidgets = { topic:
|
|
4217
|
-
const
|
|
4218
|
-
function
|
|
4264
|
+
}, Rs = (e, t) => Cs(t).format(e), Ls = (e, t) => Ps(t).format(e), Ms = (e, t) => As(t).format(e), Ns = (e, t = J()) => kr(e, t), Ds = ae([q, ue], () => Is);
|
|
4265
|
+
ae([q], () => Rs);
|
|
4266
|
+
ae([q], () => Ls);
|
|
4267
|
+
ae([q], () => Ms);
|
|
4268
|
+
ae([q, ue], () => Ns);
|
|
4269
|
+
window.emWidgets = { topic: Qn };
|
|
4270
|
+
const sr = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4271
|
+
function Fs({ withLocale: e, translations: t }) {
|
|
4219
4272
|
q.subscribe((r) => {
|
|
4220
4273
|
r == null && (ue.set(t), q.set(e));
|
|
4221
4274
|
});
|
|
4222
4275
|
}
|
|
4223
|
-
function
|
|
4224
|
-
|
|
4276
|
+
function or(e, t) {
|
|
4277
|
+
$r(e, t);
|
|
4225
4278
|
}
|
|
4226
|
-
function
|
|
4279
|
+
function Us(e) {
|
|
4227
4280
|
q.set(e);
|
|
4228
4281
|
}
|
|
4229
|
-
const
|
|
4282
|
+
const ar = {
|
|
4230
4283
|
en: {
|
|
4231
4284
|
goToLoginButton: "Go To Login",
|
|
4232
4285
|
error: "We encountered an issue. Please go to Login to receive your SMS code."
|
|
@@ -4272,13 +4325,13 @@ const ir = {
|
|
|
4272
4325
|
error: "We encountered an issue. Please go to Login to receive your SMS code."
|
|
4273
4326
|
}
|
|
4274
4327
|
};
|
|
4275
|
-
function
|
|
4328
|
+
function Gs(e, t) {
|
|
4276
4329
|
if (e) {
|
|
4277
4330
|
const r = document.createElement("style");
|
|
4278
4331
|
r.innerHTML = t, e.appendChild(r);
|
|
4279
4332
|
}
|
|
4280
4333
|
}
|
|
4281
|
-
function
|
|
4334
|
+
function ks(e, t) {
|
|
4282
4335
|
const r = new URL(t);
|
|
4283
4336
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4284
4337
|
const i = document.createElement("style");
|
|
@@ -4287,7 +4340,7 @@ function Fs(e, t) {
|
|
|
4287
4340
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4288
4341
|
});
|
|
4289
4342
|
}
|
|
4290
|
-
function
|
|
4343
|
+
function js(e, t, r) {
|
|
4291
4344
|
if (window.emMessageBus) {
|
|
4292
4345
|
const n = document.createElement("style");
|
|
4293
4346
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4307,7 +4360,7 @@ if (typeof window != "undefined") {
|
|
|
4307
4360
|
}
|
|
4308
4361
|
};
|
|
4309
4362
|
};
|
|
4310
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep1-
|
|
4363
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep1-CapVEL9Q.js").then(({ default: t }) => {
|
|
4311
4364
|
!customElements.get("general-player-register-form-step1") && customElements.define("general-player-register-form-step1", t.element);
|
|
4312
4365
|
});
|
|
4313
4366
|
}
|
|
@@ -4323,7 +4376,7 @@ if (typeof window != "undefined") {
|
|
|
4323
4376
|
}
|
|
4324
4377
|
};
|
|
4325
4378
|
};
|
|
4326
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep2-
|
|
4379
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep2-3cXnxgiM.js").then(({ default: t }) => {
|
|
4327
4380
|
!customElements.get("general-player-register-form-step2") && customElements.define("general-player-register-form-step2", t.element);
|
|
4328
4381
|
});
|
|
4329
4382
|
}
|
|
@@ -4339,7 +4392,7 @@ if (typeof window != "undefined") {
|
|
|
4339
4392
|
}
|
|
4340
4393
|
};
|
|
4341
4394
|
};
|
|
4342
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep3-
|
|
4395
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep3-CjAOZMlI.js").then(({ default: t }) => {
|
|
4343
4396
|
!customElements.get("general-player-register-form-step3") && customElements.define("general-player-register-form-step3", t.element);
|
|
4344
4397
|
});
|
|
4345
4398
|
}
|
|
@@ -4355,43 +4408,45 @@ if (typeof window != "undefined") {
|
|
|
4355
4408
|
}
|
|
4356
4409
|
};
|
|
4357
4410
|
};
|
|
4358
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-
|
|
4411
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-D32c_95u.js").then(({ default: t }) => {
|
|
4359
4412
|
!customElements.get("general-player-sms-verification-form") && customElements.define("general-player-sms-verification-form", t.element);
|
|
4360
4413
|
});
|
|
4361
4414
|
}
|
|
4362
|
-
function
|
|
4363
|
-
|
|
4415
|
+
function $s(e) {
|
|
4416
|
+
dn(e, "svelte-1scqzon", ".RegisterFormWrapper{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8))}.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, #D0046C))}.RegisterStepNext{color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;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-green, #48952a));font-size:24px;font-weight:400;text-transform:uppercase;margin-bottom:0}.RegisterConfirmation .RegisterConfirmationSubtitle{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));font-size:16px;line-height:19px;margin-bottom:24px}.RegisterConfirmation .RegisterConfirmationNote{color:var(--emw--registration-typography, var(--emw--color-contrast, #07072A));font-size:18px;line-height:22px}.RegisterConfirmationGoToLogin{color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}");
|
|
4364
4417
|
}
|
|
4365
|
-
function
|
|
4418
|
+
function Vs(e) {
|
|
4366
4419
|
let t, r, n, i, s, o, a, l = (
|
|
4367
4420
|
/*showRegisterStepOne*/
|
|
4368
4421
|
(e[18] || /*showRegisterStepTwo*/
|
|
4369
4422
|
e[19] || /*showRegisterStepThree*/
|
|
4370
|
-
e[20]) &&
|
|
4423
|
+
e[20]) && ur(e)
|
|
4371
4424
|
), u = (
|
|
4372
4425
|
/*showRegisterStepOne*/
|
|
4373
|
-
e[18] &&
|
|
4426
|
+
e[18] && lr(e)
|
|
4374
4427
|
), h = (
|
|
4375
4428
|
/*showRegisterStepTwo*/
|
|
4376
|
-
e[19] &&
|
|
4429
|
+
e[19] && hr(e)
|
|
4377
4430
|
), c = (
|
|
4378
4431
|
/*showRegisterStepThree*/
|
|
4379
|
-
e[20] &&
|
|
4432
|
+
e[20] && fr(e)
|
|
4380
4433
|
);
|
|
4381
4434
|
function p(b, w) {
|
|
4382
4435
|
if (
|
|
4383
4436
|
/*smsverification*/
|
|
4384
4437
|
b[7] && /*showSmsVerification*/
|
|
4385
4438
|
b[21]
|
|
4386
|
-
)
|
|
4439
|
+
)
|
|
4440
|
+
return Ws;
|
|
4387
4441
|
if (
|
|
4388
4442
|
/*smsSendApiFailed*/
|
|
4389
4443
|
b[31]
|
|
4390
|
-
)
|
|
4444
|
+
)
|
|
4445
|
+
return Xs;
|
|
4391
4446
|
}
|
|
4392
4447
|
let y = p(e), g = y && y(e), d = (
|
|
4393
4448
|
/*showConfirmation*/
|
|
4394
|
-
e[22] &&
|
|
4449
|
+
e[22] && cr(e)
|
|
4395
4450
|
);
|
|
4396
4451
|
return {
|
|
4397
4452
|
c() {
|
|
@@ -4405,18 +4460,18 @@ function ks(e) {
|
|
|
4405
4460
|
/*showRegisterStepOne*/
|
|
4406
4461
|
b[18] || /*showRegisterStepTwo*/
|
|
4407
4462
|
b[19] || /*showRegisterStepThree*/
|
|
4408
|
-
b[20] ? l ? l.p(b, w) : (l =
|
|
4409
|
-
b[18] ? u ? u.p(b, w) : (u =
|
|
4410
|
-
b[19] ? h ? h.p(b, w) : (h =
|
|
4411
|
-
b[20] ? c ? c.p(b, w) : (c =
|
|
4412
|
-
b[22] ? d ? d.p(b, w) : (d =
|
|
4463
|
+
b[20] ? l ? l.p(b, w) : (l = ur(b), l.c(), l.m(r, n)) : l && (l.d(1), l = null), /*showRegisterStepOne*/
|
|
4464
|
+
b[18] ? u ? u.p(b, w) : (u = lr(b), u.c(), u.m(r, i)) : u && (u.d(1), u = null), /*showRegisterStepTwo*/
|
|
4465
|
+
b[19] ? h ? h.p(b, w) : (h = hr(b), h.c(), h.m(r, s)) : h && (h.d(1), h = null), /*showRegisterStepThree*/
|
|
4466
|
+
b[20] ? c ? c.p(b, w) : (c = fr(b), c.c(), c.m(r, o)) : c && (c.d(1), c = null), y === (y = p(b)) && g ? g.p(b, w) : (g && g.d(1), g = y && y(b), g && (g.c(), g.m(r, a))), /*showConfirmation*/
|
|
4467
|
+
b[22] ? d ? d.p(b, w) : (d = cr(b), d.c(), d.m(r, null)) : d && (d.d(1), d = null);
|
|
4413
4468
|
},
|
|
4414
4469
|
d(b) {
|
|
4415
4470
|
b && N(t), l && l.d(), u && u.d(), h && h.d(), c && c.d(), g && g.d(), d && d.d();
|
|
4416
4471
|
}
|
|
4417
4472
|
};
|
|
4418
4473
|
}
|
|
4419
|
-
function
|
|
4474
|
+
function ur(e) {
|
|
4420
4475
|
let t, r, n, i, s, o, a, l, u;
|
|
4421
4476
|
return {
|
|
4422
4477
|
c() {
|
|
@@ -4458,7 +4513,7 @@ function sr(e) {
|
|
|
4458
4513
|
}
|
|
4459
4514
|
};
|
|
4460
4515
|
}
|
|
4461
|
-
function
|
|
4516
|
+
function lr(e) {
|
|
4462
4517
|
let t, r;
|
|
4463
4518
|
return {
|
|
4464
4519
|
c() {
|
|
@@ -4585,7 +4640,7 @@ function or(e) {
|
|
|
4585
4640
|
}
|
|
4586
4641
|
};
|
|
4587
4642
|
}
|
|
4588
|
-
function
|
|
4643
|
+
function hr(e) {
|
|
4589
4644
|
let t, r;
|
|
4590
4645
|
return {
|
|
4591
4646
|
c() {
|
|
@@ -4712,7 +4767,7 @@ function ar(e) {
|
|
|
4712
4767
|
}
|
|
4713
4768
|
};
|
|
4714
4769
|
}
|
|
4715
|
-
function
|
|
4770
|
+
function fr(e) {
|
|
4716
4771
|
let t, r;
|
|
4717
4772
|
return {
|
|
4718
4773
|
c() {
|
|
@@ -4872,7 +4927,7 @@ function ur(e) {
|
|
|
4872
4927
|
}
|
|
4873
4928
|
};
|
|
4874
4929
|
}
|
|
4875
|
-
function
|
|
4930
|
+
function Xs(e) {
|
|
4876
4931
|
let t, r = (
|
|
4877
4932
|
/*$_*/
|
|
4878
4933
|
e[34]("error") + ""
|
|
@@ -4894,18 +4949,18 @@ function js(e) {
|
|
|
4894
4949
|
}
|
|
4895
4950
|
};
|
|
4896
4951
|
}
|
|
4897
|
-
function
|
|
4952
|
+
function Ws(e) {
|
|
4898
4953
|
let t;
|
|
4899
4954
|
function r(s, o) {
|
|
4900
4955
|
return (
|
|
4901
4956
|
/*smsSendApiFailed*/
|
|
4902
|
-
s[31] ?
|
|
4957
|
+
s[31] ? zs : Zs
|
|
4903
4958
|
);
|
|
4904
4959
|
}
|
|
4905
4960
|
let n = r(e), i = n(e);
|
|
4906
4961
|
return {
|
|
4907
4962
|
c() {
|
|
4908
|
-
i.c(), t =
|
|
4963
|
+
i.c(), t = yn();
|
|
4909
4964
|
},
|
|
4910
4965
|
m(s, o) {
|
|
4911
4966
|
i.m(s, o), U(s, t, o);
|
|
@@ -4918,7 +4973,7 @@ function $s(e) {
|
|
|
4918
4973
|
}
|
|
4919
4974
|
};
|
|
4920
4975
|
}
|
|
4921
|
-
function
|
|
4976
|
+
function zs(e) {
|
|
4922
4977
|
let t, r = (
|
|
4923
4978
|
/*$_*/
|
|
4924
4979
|
e[34]("error") + ""
|
|
@@ -4940,7 +4995,7 @@ function Vs(e) {
|
|
|
4940
4995
|
}
|
|
4941
4996
|
};
|
|
4942
4997
|
}
|
|
4943
|
-
function
|
|
4998
|
+
function Zs(e) {
|
|
4944
4999
|
let t;
|
|
4945
5000
|
return {
|
|
4946
5001
|
c() {
|
|
@@ -5045,8 +5100,8 @@ function Xs(e) {
|
|
|
5045
5100
|
}
|
|
5046
5101
|
};
|
|
5047
5102
|
}
|
|
5048
|
-
function
|
|
5049
|
-
let t, r, n, i, s, o, a, l, u, h, c, p, y, g, d, b, w,
|
|
5103
|
+
function cr(e) {
|
|
5104
|
+
let t, r, n, i, s, o, a, l, u, h, c, p, y, g, d, b, w, C = (
|
|
5050
5105
|
/*$_*/
|
|
5051
5106
|
e[34]("goToLoginButton") + ""
|
|
5052
5107
|
), P, L, M;
|
|
@@ -5061,45 +5116,45 @@ function lr(e) {
|
|
|
5061
5116
|
), y = G(), g = B("p"), d = V(
|
|
5062
5117
|
/*accountCreationMessage*/
|
|
5063
5118
|
e[25]
|
|
5064
|
-
), b = G(), w = B("button"), P = V(
|
|
5119
|
+
), b = G(), w = B("button"), P = V(C), x(o, "class", "a"), x(o, "d", "M29.325,51,0,21.675l5.95-5.95,23.375,22.95L68,0l5.95,5.95Z"), x(r, "xmlns", "http://www.w3.org/2000/svg"), x(r, "viewBox", "0 0 73.95 51"), x(l, "class", "RegisterConfirmationTitle"), x(c, "class", "RegisterConfirmationSubtitle"), x(g, "class", "RegisterConfirmationNote"), x(w, "class", "RegisterConfirmationGoToLogin"), x(t, "class", "RegisterConfirmation");
|
|
5065
5120
|
},
|
|
5066
|
-
m(
|
|
5067
|
-
U(
|
|
5121
|
+
m(O, D) {
|
|
5122
|
+
U(O, t, D), E(t, r), E(r, n), E(n, i), E(i, s), E(r, o), E(t, a), E(t, l), E(l, u), E(t, h), E(t, c), E(c, p), E(t, y), E(t, g), E(g, d), E(t, b), E(t, w), E(w, P), L || (M = vn(
|
|
5068
5123
|
w,
|
|
5069
5124
|
"click",
|
|
5070
5125
|
/*switchToLogin*/
|
|
5071
5126
|
e[36]
|
|
5072
5127
|
), L = !0);
|
|
5073
5128
|
},
|
|
5074
|
-
p(
|
|
5129
|
+
p(O, D) {
|
|
5075
5130
|
D[0] & /*accountCreationTitle*/
|
|
5076
5131
|
8388608 && ee(
|
|
5077
5132
|
u,
|
|
5078
5133
|
/*accountCreationTitle*/
|
|
5079
|
-
|
|
5134
|
+
O[23]
|
|
5080
5135
|
), D[0] & /*accountCreationSubTitle*/
|
|
5081
5136
|
16777216 && ee(
|
|
5082
5137
|
p,
|
|
5083
5138
|
/*accountCreationSubTitle*/
|
|
5084
|
-
|
|
5139
|
+
O[24]
|
|
5085
5140
|
), D[0] & /*accountCreationMessage*/
|
|
5086
5141
|
33554432 && ee(
|
|
5087
5142
|
d,
|
|
5088
5143
|
/*accountCreationMessage*/
|
|
5089
|
-
|
|
5144
|
+
O[25]
|
|
5090
5145
|
), D[1] & /*$_*/
|
|
5091
|
-
8 &&
|
|
5092
|
-
|
|
5146
|
+
8 && C !== (C = /*$_*/
|
|
5147
|
+
O[34]("goToLoginButton") + "") && ee(P, C);
|
|
5093
5148
|
},
|
|
5094
|
-
d(
|
|
5095
|
-
|
|
5149
|
+
d(O) {
|
|
5150
|
+
O && N(t), L = !1, M();
|
|
5096
5151
|
}
|
|
5097
5152
|
};
|
|
5098
5153
|
}
|
|
5099
|
-
function
|
|
5154
|
+
function qs(e) {
|
|
5100
5155
|
let t;
|
|
5101
5156
|
function r(s, o) {
|
|
5102
|
-
return
|
|
5157
|
+
return Vs;
|
|
5103
5158
|
}
|
|
5104
5159
|
let i = r()(e);
|
|
5105
5160
|
return {
|
|
@@ -5119,44 +5174,44 @@ function Ws(e) {
|
|
|
5119
5174
|
}
|
|
5120
5175
|
};
|
|
5121
5176
|
}
|
|
5122
|
-
let
|
|
5123
|
-
function
|
|
5177
|
+
let Js = "Please use this code {0} to activate your account";
|
|
5178
|
+
function Qs(e, t, r) {
|
|
5124
5179
|
let n;
|
|
5125
|
-
|
|
5126
|
-
let { endpoint: i = "" } = t, { cmsendpoint: s = "" } = t, { env: o = "" } = t, { session: a = "" } = t, { trackedanalyticsdata: l = "" } = t, { captchakey: u = "" } = t, { lang: h = "en" } = t, { licenseyears: c = "" } = t, { disabledfields: p = "" } = t, { defaultoptions: y = "" } = t, { smsverification: g = "false" } = t, { simplepasswordvalidation: d = "false" } = t, { userroles: b = "" } = t, { mbsource: w } = t, { clientstyling:
|
|
5127
|
-
|
|
5128
|
-
const
|
|
5180
|
+
pn(e, Ds, (f) => r(34, n = f));
|
|
5181
|
+
let { endpoint: i = "" } = t, { cmsendpoint: s = "" } = t, { env: o = "" } = t, { session: a = "" } = t, { trackedanalyticsdata: l = "" } = t, { captchakey: u = "" } = t, { lang: h = "en" } = t, { licenseyears: c = "" } = t, { disabledfields: p = "" } = t, { defaultoptions: y = "" } = t, { smsverification: g = "false" } = t, { simplepasswordvalidation: d = "false" } = t, { userroles: b = "" } = t, { mbsource: w } = t, { clientstyling: C = "" } = t, { clientstylingurl: P = "" } = t, { translationurl: L = "" } = t, { savecredentials: M = "" } = t, { custominputtextswitch: O = "false" } = t, { personalidlength: D = "13" } = t, j, vt = "", Ge = !0, he = !1, ye = !1, ke = !1, je = !1, ve, _t = !1, Et = "", St = "", wt = "", xt = window.navigator.userAgent, qr = sr(xt) !== "PC", $ = {}, Tt = !1, Ht = !1, $e = "false", Bt = "false", At = "false", Pt = "false", Ct = "", Ot, _e = !1, It, Ee;
|
|
5182
|
+
Fs({ withLocale: "en", translations: {} });
|
|
5183
|
+
const Jr = () => {
|
|
5129
5184
|
fetch(L).then((H) => H.json()).then((H) => {
|
|
5130
5185
|
Object.keys(H).forEach((I) => {
|
|
5131
|
-
|
|
5186
|
+
or(I, H[I]);
|
|
5132
5187
|
});
|
|
5133
5188
|
}).catch((H) => {
|
|
5134
5189
|
console.log(H);
|
|
5135
5190
|
});
|
|
5136
5191
|
};
|
|
5137
|
-
Object.keys(
|
|
5138
|
-
|
|
5192
|
+
Object.keys(ar).forEach((f) => {
|
|
5193
|
+
or(f, ar[f]);
|
|
5139
5194
|
});
|
|
5140
|
-
const
|
|
5195
|
+
const Qr = () => {
|
|
5141
5196
|
fetch(`${i}/v1/player/consentRequirements`).then((f) => f.json()).then((f) => {
|
|
5142
5197
|
f.items.length > 0 ? (r(26, $e = "true"), f.items.forEach((H) => {
|
|
5143
5198
|
switch (H.tagCode) {
|
|
5144
5199
|
case "termsandconditions":
|
|
5145
|
-
r(27,
|
|
5200
|
+
r(27, Bt = "true");
|
|
5146
5201
|
break;
|
|
5147
5202
|
case "sms":
|
|
5148
|
-
r(28,
|
|
5203
|
+
r(28, At = "true");
|
|
5149
5204
|
break;
|
|
5150
5205
|
case "emailmarketing":
|
|
5151
|
-
r(29,
|
|
5206
|
+
r(29, Pt = "true");
|
|
5152
5207
|
break;
|
|
5153
5208
|
}
|
|
5154
5209
|
})) : r(26, $e = "false");
|
|
5155
5210
|
});
|
|
5156
|
-
},
|
|
5157
|
-
let f = new URL(`${s}/${h}/login-register-content?env=${o}`), H =
|
|
5211
|
+
}, Yr = () => {
|
|
5212
|
+
let f = new URL(`${s}/${h}/login-register-content?env=${o}`), H = sr(xt);
|
|
5158
5213
|
H && (H === "PC" ? f.searchParams.append("device", "dk") : f.searchParams.append("device", "mtWeb")), fetch(f.href).then((I) => I.json()).then((I) => {
|
|
5159
|
-
ve = I.registerData, r(23,
|
|
5214
|
+
ve = I.registerData, r(23, Et = ve.title), r(24, St = ve.subtitle), r(25, wt = ve.content);
|
|
5160
5215
|
}).catch((I) => {
|
|
5161
5216
|
console.error(I);
|
|
5162
5217
|
});
|
|
@@ -5164,19 +5219,19 @@ function Zs(e, t, r) {
|
|
|
5164
5219
|
Ee.scrollIntoView();
|
|
5165
5220
|
}, fe = (f) => {
|
|
5166
5221
|
for (const H in f)
|
|
5167
|
-
$[H] = f[H], H === "mobile" && r(32,
|
|
5222
|
+
$[H] = f[H], H === "mobile" && r(32, It = `${f[H].prefix}${f[H].number}`);
|
|
5168
5223
|
$.affiliateMarker = $.promoCode ? $.promoCode : l != null ? l : "";
|
|
5169
|
-
},
|
|
5224
|
+
}, Rt = (f) => {
|
|
5170
5225
|
if (f.data)
|
|
5171
5226
|
switch (f.data.type) {
|
|
5172
5227
|
case "RegisterStepOne":
|
|
5173
|
-
fe(f.data.registerStepOneData), Se(), r(18, Ge = !1), r(19, he = !0),
|
|
5228
|
+
fe(f.data.registerStepOneData), Se(), r(18, Ge = !1), r(19, he = !0), Tt == !1 ? Tt = !0 : window.postMessage({ type: "StepTwoDataBackup", userData: $ }, window.location.href);
|
|
5174
5229
|
break;
|
|
5175
5230
|
case "RegisterStepTwo":
|
|
5176
|
-
fe(f.data.registerStepTwoData), Se(), r(19, he = !1), r(20, ye = !0),
|
|
5231
|
+
fe(f.data.registerStepTwoData), Se(), r(19, he = !1), r(20, ye = !0), Ht == !1 ? Ht = !0 : window.postMessage({ type: "StepThreeDataBackup", userData: $ }, window.location.href);
|
|
5177
5232
|
break;
|
|
5178
5233
|
case "RegisterStepThree":
|
|
5179
|
-
fe(f.data.registerStepThreeData),
|
|
5234
|
+
fe(f.data.registerStepThreeData), en($);
|
|
5180
5235
|
break;
|
|
5181
5236
|
case "SmsHasBeenValidated":
|
|
5182
5237
|
r(22, je = !0), r(21, ke = !1);
|
|
@@ -5188,9 +5243,9 @@ function Zs(e, t, r) {
|
|
|
5188
5243
|
fe(f.data.registerStepThreeData), Se(), r(19, he = !0), r(20, ye = !1), window.postMessage({ type: "StepTwoDataBackup", userData: $ }, window.location.href);
|
|
5189
5244
|
break;
|
|
5190
5245
|
}
|
|
5191
|
-
},
|
|
5246
|
+
}, Kr = () => {
|
|
5192
5247
|
typeof gtag == "function" && gtag("event", "Register", { context: "GeneralPlayerRegisterForm" });
|
|
5193
|
-
},
|
|
5248
|
+
}, en = (f) => we(this, null, function* () {
|
|
5194
5249
|
f.language = h;
|
|
5195
5250
|
let H = {
|
|
5196
5251
|
method: "PUT",
|
|
@@ -5201,15 +5256,15 @@ function Zs(e, t, r) {
|
|
|
5201
5256
|
},
|
|
5202
5257
|
body: JSON.stringify(f)
|
|
5203
5258
|
}, I = yield fetch(`${i}/v1/player/register`, H), z = yield I.json();
|
|
5204
|
-
I.ok ? (r(20, ye = !1), g === "false" ? r(22, je = !0) : (r(17,
|
|
5259
|
+
I.ok ? (r(20, ye = !1), g === "false" ? r(22, je = !0) : (r(17, vt = z.id), tn(f, z.id)), f.username, f.password, Kr()) : (Ct = z.error.substring(z.error.indexOf("errorMessage") + 13, z.error.length), _t = !0, window.postMessage(
|
|
5205
5260
|
{
|
|
5206
5261
|
type: "ShowRegistrationError",
|
|
5207
|
-
showError:
|
|
5208
|
-
error:
|
|
5262
|
+
showError: _t,
|
|
5263
|
+
error: Ct
|
|
5209
5264
|
},
|
|
5210
5265
|
window.location.href
|
|
5211
5266
|
));
|
|
5212
|
-
}),
|
|
5267
|
+
}), tn = (f, H) => we(this, null, function* () {
|
|
5213
5268
|
localStorage.setItem("smsTimer", JSON.stringify(Math.floor(Date.now() / 1e3)));
|
|
5214
5269
|
try {
|
|
5215
5270
|
const I = yield fetch(`${i}/v1/player/sms/token`, {
|
|
@@ -5220,53 +5275,53 @@ function Zs(e, t, r) {
|
|
|
5220
5275
|
},
|
|
5221
5276
|
body: JSON.stringify({
|
|
5222
5277
|
userId: H,
|
|
5223
|
-
messageTemplate:
|
|
5278
|
+
messageTemplate: Js,
|
|
5224
5279
|
destination: `${f.mobile.prefix}${f.mobile.number}`
|
|
5225
5280
|
})
|
|
5226
5281
|
}), z = yield I.json();
|
|
5227
5282
|
if (I.ok) {
|
|
5228
|
-
r(30,
|
|
5229
|
-
let
|
|
5283
|
+
r(30, Ot = z.id);
|
|
5284
|
+
let Ys = z.maxValidationAttempts;
|
|
5230
5285
|
r(21, ke = !0), r(31, _e = !1);
|
|
5231
5286
|
} else
|
|
5232
5287
|
throw r(31, _e = !0), new Error("Failed to fetch");
|
|
5233
5288
|
} catch (I) {
|
|
5234
5289
|
r(31, _e = !0), console.error(I);
|
|
5235
5290
|
}
|
|
5236
|
-
}),
|
|
5291
|
+
}), rn = () => {
|
|
5237
5292
|
p.split(",");
|
|
5238
|
-
},
|
|
5293
|
+
}, nn = () => {
|
|
5239
5294
|
window.postMessage({ type: "ToLogin" }, window.location.href);
|
|
5240
|
-
},
|
|
5241
|
-
|
|
5295
|
+
}, sn = () => {
|
|
5296
|
+
Us(h);
|
|
5242
5297
|
};
|
|
5243
|
-
|
|
5244
|
-
window.removeEventListener("message",
|
|
5298
|
+
wn(() => (window.addEventListener("message", Rt, !1), () => {
|
|
5299
|
+
window.removeEventListener("message", Rt);
|
|
5245
5300
|
}));
|
|
5246
|
-
function
|
|
5301
|
+
function on(f) {
|
|
5247
5302
|
Ie[f ? "unshift" : "push"](() => {
|
|
5248
5303
|
Ee = f, r(33, Ee);
|
|
5249
5304
|
});
|
|
5250
5305
|
}
|
|
5251
|
-
function
|
|
5306
|
+
function an(f) {
|
|
5252
5307
|
Ie[f ? "unshift" : "push"](() => {
|
|
5253
5308
|
j = f, r(16, j);
|
|
5254
5309
|
});
|
|
5255
5310
|
}
|
|
5256
5311
|
return e.$$set = (f) => {
|
|
5257
|
-
"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, l = f.trackedanalyticsdata), "captchakey" in f && r(2, u = f.captchakey), "lang" in f && r(3, h = f.lang), "licenseyears" in f && r(4, c = f.licenseyears), "disabledfields" in f && r(5, p = f.disabledfields), "defaultoptions" in f && r(6, y = f.defaultoptions), "smsverification" in f && r(7, g = f.smsverification), "simplepasswordvalidation" in f && r(8, d = f.simplepasswordvalidation), "userroles" in f && r(40, b = f.userroles), "mbsource" in f && r(9, w = f.mbsource), "clientstyling" in f && r(10,
|
|
5312
|
+
"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, l = f.trackedanalyticsdata), "captchakey" in f && r(2, u = f.captchakey), "lang" in f && r(3, h = f.lang), "licenseyears" in f && r(4, c = f.licenseyears), "disabledfields" in f && r(5, p = f.disabledfields), "defaultoptions" in f && r(6, y = f.defaultoptions), "smsverification" in f && r(7, g = f.smsverification), "simplepasswordvalidation" in f && r(8, d = f.simplepasswordvalidation), "userroles" in f && r(40, b = f.userroles), "mbsource" in f && r(9, w = f.mbsource), "clientstyling" in f && r(10, C = f.clientstyling), "clientstylingurl" in f && r(11, P = f.clientstylingurl), "translationurl" in f && r(12, L = f.translationurl), "savecredentials" in f && r(13, M = f.savecredentials), "custominputtextswitch" in f && r(14, O = f.custominputtextswitch), "personalidlength" in f && r(15, D = f.personalidlength);
|
|
5258
5313
|
}, e.$$.update = () => {
|
|
5259
5314
|
e.$$.dirty[0] & /*endpoint*/
|
|
5260
|
-
1 && i &&
|
|
5315
|
+
1 && i && Qr(), e.$$.dirty[0] & /*lang*/
|
|
5261
5316
|
8 | e.$$.dirty[1] & /*cmsendpoint, env, userroles*/
|
|
5262
|
-
704 && s && h && o && b &&
|
|
5317
|
+
704 && s && h && o && b && Yr(), e.$$.dirty[0] & /*playerid, session*/
|
|
5263
5318
|
131074, e.$$.dirty[0] & /*lang*/
|
|
5264
|
-
8 && h &&
|
|
5265
|
-
32 && p &&
|
|
5266
|
-
66560 &&
|
|
5267
|
-
67584 && P && j &&
|
|
5268
|
-
66048 && w && j &&
|
|
5269
|
-
4096 && L &&
|
|
5319
|
+
8 && h && sn(), e.$$.dirty[0] & /*disabledfields*/
|
|
5320
|
+
32 && p && rn(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5321
|
+
66560 && C && j && Gs(j, C), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5322
|
+
67584 && P && j && ks(j, P), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5323
|
+
66048 && w && j && js(j, `${w}.Style`), e.$$.dirty[0] & /*translationurl*/
|
|
5324
|
+
4096 && L && Jr();
|
|
5270
5325
|
}, [
|
|
5271
5326
|
i,
|
|
5272
5327
|
a,
|
|
@@ -5278,49 +5333,49 @@ function Zs(e, t, r) {
|
|
|
5278
5333
|
g,
|
|
5279
5334
|
d,
|
|
5280
5335
|
w,
|
|
5281
|
-
|
|
5336
|
+
C,
|
|
5282
5337
|
P,
|
|
5283
5338
|
L,
|
|
5284
5339
|
M,
|
|
5285
|
-
|
|
5340
|
+
O,
|
|
5286
5341
|
D,
|
|
5287
5342
|
j,
|
|
5288
|
-
|
|
5343
|
+
vt,
|
|
5289
5344
|
Ge,
|
|
5290
5345
|
he,
|
|
5291
5346
|
ye,
|
|
5292
5347
|
ke,
|
|
5293
5348
|
je,
|
|
5294
|
-
|
|
5295
|
-
|
|
5296
|
-
|
|
5349
|
+
Et,
|
|
5350
|
+
St,
|
|
5351
|
+
wt,
|
|
5297
5352
|
$e,
|
|
5298
|
-
|
|
5299
|
-
Tt,
|
|
5300
|
-
Ht,
|
|
5353
|
+
Bt,
|
|
5301
5354
|
At,
|
|
5302
|
-
_e,
|
|
5303
5355
|
Pt,
|
|
5356
|
+
Ot,
|
|
5357
|
+
_e,
|
|
5358
|
+
It,
|
|
5304
5359
|
Ee,
|
|
5305
5360
|
n,
|
|
5306
|
-
|
|
5307
|
-
|
|
5361
|
+
qr,
|
|
5362
|
+
nn,
|
|
5308
5363
|
s,
|
|
5309
5364
|
o,
|
|
5310
5365
|
l,
|
|
5311
5366
|
b,
|
|
5312
|
-
|
|
5313
|
-
|
|
5367
|
+
on,
|
|
5368
|
+
an
|
|
5314
5369
|
];
|
|
5315
5370
|
}
|
|
5316
|
-
class
|
|
5371
|
+
class Zr extends Mn {
|
|
5317
5372
|
constructor(t) {
|
|
5318
|
-
super(),
|
|
5373
|
+
super(), Rn(
|
|
5319
5374
|
this,
|
|
5320
5375
|
t,
|
|
5321
|
-
|
|
5322
|
-
|
|
5323
|
-
|
|
5376
|
+
Qs,
|
|
5377
|
+
qs,
|
|
5378
|
+
pr,
|
|
5324
5379
|
{
|
|
5325
5380
|
endpoint: 0,
|
|
5326
5381
|
cmsendpoint: 37,
|
|
@@ -5343,7 +5398,7 @@ class Vr extends Cn {
|
|
|
5343
5398
|
custominputtextswitch: 14,
|
|
5344
5399
|
personalidlength: 15
|
|
5345
5400
|
},
|
|
5346
|
-
|
|
5401
|
+
$s,
|
|
5347
5402
|
[-1, -1, -1]
|
|
5348
5403
|
);
|
|
5349
5404
|
}
|
|
@@ -5468,47 +5523,47 @@ class Vr extends Cn {
|
|
|
5468
5523
|
this.$$set({ personalidlength: t }), A();
|
|
5469
5524
|
}
|
|
5470
5525
|
}
|
|
5471
|
-
|
|
5472
|
-
const
|
|
5526
|
+
Ln(Zr, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, trackedanalyticsdata: {}, captchakey: {}, lang: {}, licenseyears: {}, disabledfields: {}, defaultoptions: {}, smsverification: {}, simplepasswordvalidation: {}, userroles: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, custominputtextswitch: {}, personalidlength: {} }, [], [], !0);
|
|
5527
|
+
const oo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5473
5528
|
__proto__: null,
|
|
5474
|
-
default:
|
|
5529
|
+
default: Zr
|
|
5475
5530
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
5476
5531
|
export {
|
|
5477
5532
|
q as $,
|
|
5478
|
-
|
|
5479
|
-
|
|
5480
|
-
|
|
5481
|
-
|
|
5482
|
-
|
|
5483
|
-
|
|
5533
|
+
et as A,
|
|
5534
|
+
no as B,
|
|
5535
|
+
so as C,
|
|
5536
|
+
to as D,
|
|
5537
|
+
yn as E,
|
|
5538
|
+
io as F,
|
|
5484
5539
|
ue as G,
|
|
5485
|
-
|
|
5486
|
-
|
|
5487
|
-
|
|
5488
|
-
|
|
5489
|
-
|
|
5490
|
-
|
|
5491
|
-
|
|
5492
|
-
|
|
5540
|
+
eo as H,
|
|
5541
|
+
oo as I,
|
|
5542
|
+
Mn as S,
|
|
5543
|
+
$r as a,
|
|
5544
|
+
dn as b,
|
|
5545
|
+
Ln as c,
|
|
5546
|
+
G as d,
|
|
5547
|
+
B as e,
|
|
5493
5548
|
A as f,
|
|
5494
5549
|
x as g,
|
|
5495
5550
|
U as h,
|
|
5496
|
-
|
|
5551
|
+
Rn as i,
|
|
5497
5552
|
E as j,
|
|
5498
|
-
|
|
5499
|
-
|
|
5500
|
-
|
|
5553
|
+
ro as k,
|
|
5554
|
+
vn as l,
|
|
5555
|
+
ee as m,
|
|
5501
5556
|
k as n,
|
|
5502
|
-
|
|
5503
|
-
|
|
5504
|
-
|
|
5557
|
+
N as o,
|
|
5558
|
+
pn as p,
|
|
5559
|
+
wn as q,
|
|
5505
5560
|
be as r,
|
|
5506
|
-
|
|
5561
|
+
pr as s,
|
|
5507
5562
|
V as t,
|
|
5508
|
-
|
|
5509
|
-
|
|
5510
|
-
|
|
5511
|
-
|
|
5512
|
-
|
|
5513
|
-
|
|
5563
|
+
ks as u,
|
|
5564
|
+
js as v,
|
|
5565
|
+
Ie as w,
|
|
5566
|
+
Gs as x,
|
|
5567
|
+
Te as y,
|
|
5568
|
+
Ds as z
|
|
5514
5569
|
};
|