@everymatrix/general-player-register-form-nd 1.86.2 → 1.86.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{GeneralPlayerRegisterFormNd-BNU8-hxb.js → GeneralPlayerRegisterFormNd-B9Ri_AnB.js} +938 -959
- package/components/{GeneralPlayerRegisterFormNd-Cmu-fwTG.js → GeneralPlayerRegisterFormNd-C9h_fAZ_.js} +948 -969
- package/components/GeneralPlayerRegisterFormNd-DLLiT-6t.cjs +18 -0
- package/components/{GeneralPlayerRegisterFormStep1-IbpEhuja.js → GeneralPlayerRegisterFormStep1-BG5wmTbz.js} +33 -33
- package/components/{GeneralPlayerRegisterFormStep1-dUJTbKi2.js → GeneralPlayerRegisterFormStep1-BaTdJr_Q.js} +29 -29
- package/components/{GeneralPlayerRegisterFormStep1-BXBM8-6A.cjs → GeneralPlayerRegisterFormStep1-CVNpgs9l.cjs} +1 -1
- package/components/{GeneralPlayerRegisterFormStep2-jv0Zt0Bp.js → GeneralPlayerRegisterFormStep2-BOxhamSC.js} +53 -51
- package/components/{GeneralPlayerRegisterFormStep2-CIqQiJZi.js → GeneralPlayerRegisterFormStep2-CZ455r_G.js} +53 -51
- package/components/GeneralPlayerRegisterFormStep2-DN2TJVzp.cjs +2 -0
- package/components/{GeneralPlayerRegisterFormStep3-BY2vb5X8.js → GeneralPlayerRegisterFormStep3-B_Sbpd5j.js} +14 -14
- package/components/{GeneralPlayerRegisterFormStep3-CZAxmL2d.js → GeneralPlayerRegisterFormStep3-BhS8JzCj.js} +14 -14
- package/components/{GeneralPlayerRegisterFormStep3-b1rbNBze.cjs → GeneralPlayerRegisterFormStep3-C5yXIxJo.cjs} +1 -1
- package/components/{GeneralPlayerSmsVerificationForm-RA_OFoKD.js → GeneralPlayerSmsVerificationForm-40ZhiUQ5.js} +25 -25
- package/components/{GeneralPlayerSmsVerificationForm-BXZMmRNO.js → GeneralPlayerSmsVerificationForm-BrqgOUMw.js} +25 -25
- package/components/{GeneralPlayerSmsVerificationForm-Bx7lBTRi.cjs → GeneralPlayerSmsVerificationForm-Duv45Kb9.cjs} +1 -1
- package/es2015/general-player-register-form-nd.cjs +1 -1
- package/es2015/general-player-register-form-nd.js +1 -1
- package/esnext/general-player-register-form-nd.js +1 -1
- package/package.json +1 -1
- package/components/GeneralPlayerRegisterFormNd-AdY-ygv5.cjs +0 -18
- package/components/GeneralPlayerRegisterFormStep2-ClIjcJ8l.cjs +0 -2
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
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) => (
|
|
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 Se = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var s = (l) => {
|
|
16
16
|
try {
|
|
@@ -29,29 +29,29 @@ var Se = (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
|
-
function
|
|
39
|
-
e.forEach(
|
|
38
|
+
function be(e) {
|
|
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
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,20 +60,20 @@ function br(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
|
-
const i =
|
|
73
|
-
i.id = t, i.textContent = r,
|
|
72
|
+
const i = B("style");
|
|
73
|
+
i.id = t, i.textContent = r, bn(n, i);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function gn(e) {
|
|
77
77
|
if (!e)
|
|
78
78
|
return document;
|
|
79
79
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -83,7 +83,7 @@ function bn(e) {
|
|
|
83
83
|
t
|
|
84
84
|
) : e.ownerDocument;
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function bn(e, t) {
|
|
87
87
|
return E(
|
|
88
88
|
/** @type {Document} */
|
|
89
89
|
e.head || e,
|
|
@@ -93,49 +93,49 @@ function yn(e, t) {
|
|
|
93
93
|
function U(e, t, r) {
|
|
94
94
|
e.insertBefore(t, r || null);
|
|
95
95
|
}
|
|
96
|
-
function
|
|
96
|
+
function N(e) {
|
|
97
97
|
e.parentNode && e.parentNode.removeChild(e);
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function to(e, t) {
|
|
100
100
|
for (let r = 0; r < e.length; r += 1)
|
|
101
101
|
e[r] && e[r].d(t);
|
|
102
102
|
}
|
|
103
|
-
function
|
|
103
|
+
function B(e) {
|
|
104
104
|
return document.createElement(e);
|
|
105
105
|
}
|
|
106
106
|
function Te(e) {
|
|
107
107
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function V(e) {
|
|
110
110
|
return document.createTextNode(e);
|
|
111
111
|
}
|
|
112
112
|
function G() {
|
|
113
|
-
return
|
|
113
|
+
return V(" ");
|
|
114
114
|
}
|
|
115
|
-
function
|
|
116
|
-
return
|
|
115
|
+
function yn() {
|
|
116
|
+
return V("");
|
|
117
117
|
}
|
|
118
|
-
function
|
|
118
|
+
function vn(e, t, r, n) {
|
|
119
119
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
120
120
|
}
|
|
121
|
-
function
|
|
121
|
+
function x(e, t, r) {
|
|
122
122
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
123
123
|
}
|
|
124
|
-
function
|
|
124
|
+
function m(e, t, r) {
|
|
125
125
|
const n = t.toLowerCase();
|
|
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 :
|
|
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);
|
|
127
127
|
}
|
|
128
|
-
function
|
|
128
|
+
function _n(e) {
|
|
129
129
|
return Array.from(e.childNodes);
|
|
130
130
|
}
|
|
131
131
|
function ee(e, t) {
|
|
132
132
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
133
133
|
t);
|
|
134
134
|
}
|
|
135
|
-
function
|
|
135
|
+
function ro(e, t) {
|
|
136
136
|
e.value = t == null ? "" : t;
|
|
137
137
|
}
|
|
138
|
-
function
|
|
138
|
+
function no(e, t, r) {
|
|
139
139
|
for (let n = 0; n < e.options.length; n += 1) {
|
|
140
140
|
const i = e.options[n];
|
|
141
141
|
if (i.__value === t) {
|
|
@@ -145,11 +145,11 @@ function so(e, t, r) {
|
|
|
145
145
|
}
|
|
146
146
|
(!r || t !== void 0) && (e.selectedIndex = -1);
|
|
147
147
|
}
|
|
148
|
-
function
|
|
148
|
+
function io(e) {
|
|
149
149
|
const t = e.querySelector(":checked");
|
|
150
150
|
return t && t.__value;
|
|
151
151
|
}
|
|
152
|
-
function
|
|
152
|
+
function En(e) {
|
|
153
153
|
const t = {};
|
|
154
154
|
return e.childNodes.forEach(
|
|
155
155
|
/** @param {Element} node */
|
|
@@ -159,30 +159,30 @@ function wn(e) {
|
|
|
159
159
|
), t;
|
|
160
160
|
}
|
|
161
161
|
let pe;
|
|
162
|
-
function
|
|
162
|
+
function me(e) {
|
|
163
163
|
pe = e;
|
|
164
164
|
}
|
|
165
|
-
function
|
|
165
|
+
function wn() {
|
|
166
166
|
if (!pe)
|
|
167
167
|
throw new Error("Function called outside component initialization");
|
|
168
168
|
return pe;
|
|
169
169
|
}
|
|
170
|
-
function
|
|
171
|
-
|
|
170
|
+
function Sn(e) {
|
|
171
|
+
wn().$$.on_mount.push(e);
|
|
172
172
|
}
|
|
173
173
|
const K = [], Ie = [];
|
|
174
174
|
let te = [];
|
|
175
|
-
const
|
|
176
|
-
let
|
|
177
|
-
function
|
|
178
|
-
|
|
175
|
+
const Ft = [], xn = /* @__PURE__ */ Promise.resolve();
|
|
176
|
+
let Ke = !1;
|
|
177
|
+
function Tn() {
|
|
178
|
+
Ke || (Ke = !0, xn.then(A));
|
|
179
179
|
}
|
|
180
|
-
function
|
|
180
|
+
function et(e) {
|
|
181
181
|
te.push(e);
|
|
182
182
|
}
|
|
183
|
-
const
|
|
183
|
+
const Xe = /* @__PURE__ */ new Set();
|
|
184
184
|
let Q = 0;
|
|
185
|
-
function
|
|
185
|
+
function A() {
|
|
186
186
|
if (Q !== 0)
|
|
187
187
|
return;
|
|
188
188
|
const e = pe;
|
|
@@ -190,58 +190,58 @@ function B() {
|
|
|
190
190
|
try {
|
|
191
191
|
for (; Q < K.length; ) {
|
|
192
192
|
const t = K[Q];
|
|
193
|
-
Q++,
|
|
193
|
+
Q++, me(t), Hn(t.$$);
|
|
194
194
|
}
|
|
195
195
|
} catch (t) {
|
|
196
196
|
throw K.length = 0, Q = 0, t;
|
|
197
197
|
}
|
|
198
|
-
for (
|
|
198
|
+
for (me(null), K.length = 0, Q = 0; Ie.length; )
|
|
199
199
|
Ie.pop()();
|
|
200
200
|
for (let t = 0; t < te.length; t += 1) {
|
|
201
201
|
const r = te[t];
|
|
202
|
-
|
|
202
|
+
Xe.has(r) || (Xe.add(r), r());
|
|
203
203
|
}
|
|
204
204
|
te.length = 0;
|
|
205
205
|
} while (K.length);
|
|
206
|
-
for (;
|
|
207
|
-
|
|
208
|
-
|
|
206
|
+
for (; Ft.length; )
|
|
207
|
+
Ft.pop()();
|
|
208
|
+
Ke = !1, Xe.clear(), me(e);
|
|
209
209
|
}
|
|
210
|
-
function
|
|
210
|
+
function Hn(e) {
|
|
211
211
|
if (e.fragment !== null) {
|
|
212
|
-
e.update(),
|
|
212
|
+
e.update(), be(e.before_update);
|
|
213
213
|
const t = e.dirty;
|
|
214
|
-
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);
|
|
215
215
|
}
|
|
216
216
|
}
|
|
217
|
-
function
|
|
217
|
+
function Bn(e) {
|
|
218
218
|
const t = [], r = [];
|
|
219
219
|
te.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), te = t;
|
|
220
220
|
}
|
|
221
|
-
const
|
|
222
|
-
function
|
|
223
|
-
e && e.i && (
|
|
221
|
+
const An = /* @__PURE__ */ new Set();
|
|
222
|
+
function Pn(e, t) {
|
|
223
|
+
e && e.i && (An.delete(e), e.i(t));
|
|
224
224
|
}
|
|
225
|
-
function
|
|
225
|
+
function so(e) {
|
|
226
226
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
227
227
|
}
|
|
228
|
-
function
|
|
228
|
+
function On(e, t, r) {
|
|
229
229
|
const { fragment: n, after_update: i } = e.$$;
|
|
230
|
-
n && n.m(t, r),
|
|
231
|
-
const s = e.$$.on_mount.map(
|
|
232
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
|
233
|
-
}), i.forEach(
|
|
230
|
+
n && n.m(t, r), et(() => {
|
|
231
|
+
const s = e.$$.on_mount.map(mr).filter(pt);
|
|
232
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : be(s), e.$$.on_mount = [];
|
|
233
|
+
}), i.forEach(et);
|
|
234
234
|
}
|
|
235
|
-
function
|
|
235
|
+
function Cn(e, t) {
|
|
236
236
|
const r = e.$$;
|
|
237
|
-
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 = []);
|
|
238
238
|
}
|
|
239
|
-
function
|
|
240
|
-
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;
|
|
241
241
|
}
|
|
242
|
-
function
|
|
242
|
+
function Rn(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
243
243
|
const l = pe;
|
|
244
|
-
|
|
244
|
+
me(e);
|
|
245
245
|
const u = e.$$ = {
|
|
246
246
|
fragment: null,
|
|
247
247
|
ctx: [],
|
|
@@ -249,7 +249,7 @@ function Ln(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
|
249
249
|
props: s,
|
|
250
250
|
update: k,
|
|
251
251
|
not_equal: i,
|
|
252
|
-
bound:
|
|
252
|
+
bound: Dt(),
|
|
253
253
|
// lifecycle
|
|
254
254
|
on_mount: [],
|
|
255
255
|
on_destroy: [],
|
|
@@ -258,28 +258,28 @@ function Ln(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
|
258
258
|
after_update: [],
|
|
259
259
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
260
260
|
// everything else
|
|
261
|
-
callbacks:
|
|
261
|
+
callbacks: Dt(),
|
|
262
262
|
dirty: a,
|
|
263
263
|
skip_bound: !1,
|
|
264
264
|
root: t.target || l.$$.root
|
|
265
265
|
};
|
|
266
266
|
o && o(u.root);
|
|
267
267
|
let h = !1;
|
|
268
|
-
if (u.ctx = r ? r(e, t.props || {}, (c,
|
|
269
|
-
const g = y.length ? y[0] :
|
|
270
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] = g) && (!u.skip_bound && u.bound[c] && u.bound[c](g), h &&
|
|
271
|
-
}) : [], u.update(), h = !0,
|
|
268
|
+
if (u.ctx = r ? r(e, t.props || {}, (c, p, ...y) => {
|
|
269
|
+
const g = y.length ? y[0] : p;
|
|
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;
|
|
271
|
+
}) : [], u.update(), h = !0, be(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
272
272
|
if (t.hydrate) {
|
|
273
|
-
const c =
|
|
274
|
-
u.fragment && u.fragment.l(c), c.forEach(
|
|
273
|
+
const c = _n(t.target);
|
|
274
|
+
u.fragment && u.fragment.l(c), c.forEach(N);
|
|
275
275
|
} else
|
|
276
276
|
u.fragment && u.fragment.c();
|
|
277
|
-
t.intro &&
|
|
277
|
+
t.intro && Pn(e.$$.fragment), On(e, t.target, t.anchor), A();
|
|
278
278
|
}
|
|
279
|
-
|
|
279
|
+
me(l);
|
|
280
280
|
}
|
|
281
|
-
let
|
|
282
|
-
typeof HTMLElement == "function" && (
|
|
281
|
+
let gr;
|
|
282
|
+
typeof HTMLElement == "function" && (gr = class extends HTMLElement {
|
|
283
283
|
constructor(t, r, n) {
|
|
284
284
|
super();
|
|
285
285
|
/** The Svelte component constructor */
|
|
@@ -323,7 +323,7 @@ typeof HTMLElement == "function" && (yr = class extends HTMLElement {
|
|
|
323
323
|
let o;
|
|
324
324
|
return {
|
|
325
325
|
c: function() {
|
|
326
|
-
o =
|
|
326
|
+
o = B("slot"), s !== "default" && x(o, "name", s);
|
|
327
327
|
},
|
|
328
328
|
/**
|
|
329
329
|
* @param {HTMLElement} target
|
|
@@ -333,14 +333,14 @@ typeof HTMLElement == "function" && (yr = class extends HTMLElement {
|
|
|
333
333
|
U(u, o, h);
|
|
334
334
|
},
|
|
335
335
|
d: function(u) {
|
|
336
|
-
u &&
|
|
336
|
+
u && N(o);
|
|
337
337
|
}
|
|
338
338
|
};
|
|
339
339
|
};
|
|
340
340
|
};
|
|
341
341
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
342
342
|
return;
|
|
343
|
-
const r = {}, n =
|
|
343
|
+
const r = {}, n = En(this);
|
|
344
344
|
for (const s of this.$$s)
|
|
345
345
|
s in n && (r[s] = [t(s)]);
|
|
346
346
|
for (const s of this.attributes) {
|
|
@@ -351,7 +351,7 @@ typeof HTMLElement == "function" && (yr = class extends HTMLElement {
|
|
|
351
351
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
|
352
352
|
this.$$c = new this.$$ctor({
|
|
353
353
|
target: this.shadowRoot || this,
|
|
354
|
-
props:
|
|
354
|
+
props: Nt(Mt({}, this.$$d), {
|
|
355
355
|
$$slots: r,
|
|
356
356
|
$$scope: {
|
|
357
357
|
ctx: []
|
|
@@ -429,8 +429,8 @@ function Ae(e, t, r, n) {
|
|
|
429
429
|
return t;
|
|
430
430
|
}
|
|
431
431
|
}
|
|
432
|
-
function
|
|
433
|
-
let o = class extends
|
|
432
|
+
function Ln(e, t, r, n, i, s) {
|
|
433
|
+
let o = class extends gr {
|
|
434
434
|
constructor() {
|
|
435
435
|
super(e, r, i), this.$$p_d = t;
|
|
436
436
|
}
|
|
@@ -481,7 +481,7 @@ class Mn {
|
|
|
481
481
|
}
|
|
482
482
|
/** @returns {void} */
|
|
483
483
|
$destroy() {
|
|
484
|
-
|
|
484
|
+
Cn(this, 1), this.$destroy = k;
|
|
485
485
|
}
|
|
486
486
|
/**
|
|
487
487
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -490,7 +490,7 @@ class Mn {
|
|
|
490
490
|
* @returns {() => void}
|
|
491
491
|
*/
|
|
492
492
|
$on(t, r) {
|
|
493
|
-
if (!
|
|
493
|
+
if (!pt(r))
|
|
494
494
|
return k;
|
|
495
495
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
496
496
|
return n.push(r), () => {
|
|
@@ -506,8 +506,8 @@ class Mn {
|
|
|
506
506
|
this.$$set && !mn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
507
507
|
}
|
|
508
508
|
}
|
|
509
|
-
const
|
|
510
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
509
|
+
const Nn = "4";
|
|
510
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Nn);
|
|
511
511
|
/*! *****************************************************************************
|
|
512
512
|
Copyright (c) Microsoft Corporation.
|
|
513
513
|
|
|
@@ -522,24 +522,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
522
522
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
523
523
|
PERFORMANCE OF THIS SOFTWARE.
|
|
524
524
|
***************************************************************************** */
|
|
525
|
-
var
|
|
526
|
-
return
|
|
525
|
+
var tt = function(e, t) {
|
|
526
|
+
return tt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
527
527
|
r.__proto__ = n;
|
|
528
528
|
} || function(r, n) {
|
|
529
529
|
for (var i in n)
|
|
530
530
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
531
|
-
},
|
|
531
|
+
}, tt(e, t);
|
|
532
532
|
};
|
|
533
|
-
function
|
|
533
|
+
function z(e, t) {
|
|
534
534
|
if (typeof t != "function" && t !== null)
|
|
535
535
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
536
|
-
|
|
536
|
+
tt(e, t);
|
|
537
537
|
function r() {
|
|
538
538
|
this.constructor = e;
|
|
539
539
|
}
|
|
540
540
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
541
541
|
}
|
|
542
|
-
function
|
|
542
|
+
var w = function() {
|
|
543
|
+
return w = Object.assign || function(t) {
|
|
544
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
545
|
+
r = arguments[n];
|
|
546
|
+
for (var s in r)
|
|
547
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
548
|
+
}
|
|
549
|
+
return t;
|
|
550
|
+
}, w.apply(this, arguments);
|
|
551
|
+
};
|
|
552
|
+
function Dn(e, t) {
|
|
553
|
+
var r = {};
|
|
554
|
+
for (var n in e)
|
|
555
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
556
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
557
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
558
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
559
|
+
return r;
|
|
560
|
+
}
|
|
561
|
+
function rt(e) {
|
|
543
562
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
544
563
|
if (r)
|
|
545
564
|
return r.call(e);
|
|
@@ -551,7 +570,7 @@ function it(e) {
|
|
|
551
570
|
};
|
|
552
571
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
553
572
|
}
|
|
554
|
-
function
|
|
573
|
+
function nt(e, t) {
|
|
555
574
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
556
575
|
if (!r)
|
|
557
576
|
return e;
|
|
@@ -571,22 +590,22 @@ function st(e, t) {
|
|
|
571
590
|
}
|
|
572
591
|
return s;
|
|
573
592
|
}
|
|
574
|
-
function
|
|
575
|
-
if (arguments.length === 2)
|
|
593
|
+
function re(e, t, r) {
|
|
594
|
+
if (r || arguments.length === 2)
|
|
576
595
|
for (var n = 0, i = t.length, s; n < i; n++)
|
|
577
596
|
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
578
597
|
return e.concat(s || t);
|
|
579
598
|
}
|
|
580
|
-
function
|
|
599
|
+
function X(e) {
|
|
581
600
|
return typeof e == "function";
|
|
582
601
|
}
|
|
583
|
-
function
|
|
602
|
+
function br(e) {
|
|
584
603
|
var t = function(n) {
|
|
585
604
|
Error.call(n), n.stack = new Error().stack;
|
|
586
605
|
}, r = e(t);
|
|
587
606
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
588
607
|
}
|
|
589
|
-
var
|
|
608
|
+
var ze = br(function(e) {
|
|
590
609
|
return function(r) {
|
|
591
610
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
592
611
|
` + r.map(function(n, i) {
|
|
@@ -595,7 +614,7 @@ var Ze = vr(function(e) {
|
|
|
595
614
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
596
615
|
};
|
|
597
616
|
});
|
|
598
|
-
function
|
|
617
|
+
function it(e, t) {
|
|
599
618
|
if (e) {
|
|
600
619
|
var r = e.indexOf(t);
|
|
601
620
|
0 <= r && e.splice(r, 1);
|
|
@@ -613,7 +632,7 @@ var Me = function() {
|
|
|
613
632
|
if (o)
|
|
614
633
|
if (this._parentage = null, Array.isArray(o))
|
|
615
634
|
try {
|
|
616
|
-
for (var a =
|
|
635
|
+
for (var a = rt(o), l = a.next(); !l.done; l = a.next()) {
|
|
617
636
|
var u = l.value;
|
|
618
637
|
u.remove(this);
|
|
619
638
|
}
|
|
@@ -630,29 +649,29 @@ var Me = function() {
|
|
|
630
649
|
else
|
|
631
650
|
o.remove(this);
|
|
632
651
|
var h = this.initialTeardown;
|
|
633
|
-
if (
|
|
652
|
+
if (X(h))
|
|
634
653
|
try {
|
|
635
654
|
h();
|
|
636
655
|
} catch (d) {
|
|
637
|
-
s = d instanceof
|
|
656
|
+
s = d instanceof ze ? d.errors : [d];
|
|
638
657
|
}
|
|
639
658
|
var c = this._finalizers;
|
|
640
659
|
if (c) {
|
|
641
660
|
this._finalizers = null;
|
|
642
661
|
try {
|
|
643
|
-
for (var
|
|
662
|
+
for (var p = rt(c), y = p.next(); !y.done; y = p.next()) {
|
|
644
663
|
var g = y.value;
|
|
645
664
|
try {
|
|
646
|
-
|
|
665
|
+
Ut(g);
|
|
647
666
|
} catch (d) {
|
|
648
|
-
s = s != null ? s : [], d instanceof
|
|
667
|
+
s = s != null ? s : [], d instanceof ze ? s = re(re([], nt(s)), nt(d.errors)) : s.push(d);
|
|
649
668
|
}
|
|
650
669
|
}
|
|
651
670
|
} catch (d) {
|
|
652
671
|
n = { error: d };
|
|
653
672
|
} finally {
|
|
654
673
|
try {
|
|
655
|
-
y && !y.done && (i =
|
|
674
|
+
y && !y.done && (i = p.return) && i.call(p);
|
|
656
675
|
} finally {
|
|
657
676
|
if (n)
|
|
658
677
|
throw n.error;
|
|
@@ -660,13 +679,13 @@ var Me = function() {
|
|
|
660
679
|
}
|
|
661
680
|
}
|
|
662
681
|
if (s)
|
|
663
|
-
throw new
|
|
682
|
+
throw new ze(s);
|
|
664
683
|
}
|
|
665
684
|
}, e.prototype.add = function(t) {
|
|
666
685
|
var r;
|
|
667
686
|
if (t && t !== this)
|
|
668
687
|
if (this.closed)
|
|
669
|
-
|
|
688
|
+
Ut(t);
|
|
670
689
|
else {
|
|
671
690
|
if (t instanceof e) {
|
|
672
691
|
if (t.closed || t._hasParent(this))
|
|
@@ -683,52 +702,56 @@ var Me = function() {
|
|
|
683
702
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
684
703
|
}, e.prototype._removeParent = function(t) {
|
|
685
704
|
var r = this._parentage;
|
|
686
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
705
|
+
r === t ? this._parentage = null : Array.isArray(r) && it(r, t);
|
|
687
706
|
}, e.prototype.remove = function(t) {
|
|
688
707
|
var r = this._finalizers;
|
|
689
|
-
r &&
|
|
708
|
+
r && it(r, t), t instanceof e && t._removeParent(this);
|
|
690
709
|
}, e.EMPTY = function() {
|
|
691
710
|
var t = new e();
|
|
692
711
|
return t.closed = !0, t;
|
|
693
712
|
}(), e;
|
|
694
|
-
}(),
|
|
695
|
-
function
|
|
696
|
-
return e instanceof Me || e && "closed" in e &&
|
|
697
|
-
}
|
|
698
|
-
function
|
|
699
|
-
|
|
700
|
-
}
|
|
701
|
-
var
|
|
702
|
-
|
|
703
|
-
|
|
713
|
+
}(), yr = Me.EMPTY;
|
|
714
|
+
function vr(e) {
|
|
715
|
+
return e instanceof Me || e && "closed" in e && X(e.remove) && X(e.add) && X(e.unsubscribe);
|
|
716
|
+
}
|
|
717
|
+
function Ut(e) {
|
|
718
|
+
X(e) ? e() : e.unsubscribe();
|
|
719
|
+
}
|
|
720
|
+
var _r = {
|
|
721
|
+
onUnhandledError: null,
|
|
722
|
+
onStoppedNotification: null,
|
|
723
|
+
Promise: void 0,
|
|
724
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
725
|
+
useDeprecatedNextContext: !1
|
|
726
|
+
}, Fn = {
|
|
704
727
|
setTimeout: function(e, t) {
|
|
705
728
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
706
729
|
r[n - 2] = arguments[n];
|
|
707
|
-
return setTimeout.apply(void 0,
|
|
730
|
+
return setTimeout.apply(void 0, re([e, t], nt(r)));
|
|
708
731
|
},
|
|
709
732
|
clearTimeout: function(e) {
|
|
710
733
|
return clearTimeout(e);
|
|
711
734
|
},
|
|
712
735
|
delegate: void 0
|
|
713
736
|
};
|
|
714
|
-
function
|
|
715
|
-
|
|
737
|
+
function Un(e) {
|
|
738
|
+
Fn.setTimeout(function() {
|
|
716
739
|
throw e;
|
|
717
740
|
});
|
|
718
741
|
}
|
|
719
|
-
function
|
|
742
|
+
function Gt() {
|
|
720
743
|
}
|
|
721
744
|
function Pe(e) {
|
|
722
745
|
e();
|
|
723
746
|
}
|
|
724
|
-
var
|
|
725
|
-
|
|
747
|
+
var Er = function(e) {
|
|
748
|
+
z(t, e);
|
|
726
749
|
function t(r) {
|
|
727
750
|
var n = e.call(this) || this;
|
|
728
|
-
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;
|
|
729
752
|
}
|
|
730
753
|
return t.create = function(r, n, i) {
|
|
731
|
-
return new
|
|
754
|
+
return new st(r, n, i);
|
|
732
755
|
}, t.prototype.next = function(r) {
|
|
733
756
|
this.isStopped || this._next(r);
|
|
734
757
|
}, t.prototype.error = function(r) {
|
|
@@ -752,7 +775,11 @@ var wr = function(e) {
|
|
|
752
775
|
this.unsubscribe();
|
|
753
776
|
}
|
|
754
777
|
}, t;
|
|
755
|
-
}(Me),
|
|
778
|
+
}(Me), Gn = Function.prototype.bind;
|
|
779
|
+
function We(e, t) {
|
|
780
|
+
return Gn.call(e, t);
|
|
781
|
+
}
|
|
782
|
+
var kn = function() {
|
|
756
783
|
function e(t) {
|
|
757
784
|
this.partialObserver = t;
|
|
758
785
|
}
|
|
@@ -783,43 +810,55 @@ var wr = function(e) {
|
|
|
783
810
|
He(r);
|
|
784
811
|
}
|
|
785
812
|
}, e;
|
|
786
|
-
}(),
|
|
787
|
-
|
|
813
|
+
}(), st = function(e) {
|
|
814
|
+
z(t, e);
|
|
788
815
|
function t(r, n, i) {
|
|
789
816
|
var s = e.call(this) || this, o;
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
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 && We(r.next, a),
|
|
829
|
+
error: r.error && We(r.error, a),
|
|
830
|
+
complete: r.complete && We(r.complete, a)
|
|
831
|
+
}) : o = r;
|
|
832
|
+
}
|
|
833
|
+
return s.destination = new kn(o), s;
|
|
795
834
|
}
|
|
796
835
|
return t;
|
|
797
|
-
}(
|
|
836
|
+
}(Er);
|
|
798
837
|
function He(e) {
|
|
799
|
-
|
|
838
|
+
Un(e);
|
|
800
839
|
}
|
|
801
840
|
function jn(e) {
|
|
802
841
|
throw e;
|
|
803
842
|
}
|
|
804
843
|
var $n = {
|
|
805
844
|
closed: !0,
|
|
806
|
-
next:
|
|
845
|
+
next: Gt,
|
|
807
846
|
error: jn,
|
|
808
|
-
complete:
|
|
847
|
+
complete: Gt
|
|
809
848
|
}, Vn = function() {
|
|
810
849
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
811
850
|
}();
|
|
812
851
|
function Xn(e) {
|
|
813
852
|
return e;
|
|
814
853
|
}
|
|
815
|
-
function
|
|
854
|
+
function zn(e) {
|
|
816
855
|
return e.length === 0 ? Xn : e.length === 1 ? e[0] : function(r) {
|
|
817
856
|
return e.reduce(function(n, i) {
|
|
818
857
|
return i(n);
|
|
819
858
|
}, r);
|
|
820
859
|
};
|
|
821
860
|
}
|
|
822
|
-
var
|
|
861
|
+
var kt = function() {
|
|
823
862
|
function e(t) {
|
|
824
863
|
t && (this._subscribe = t);
|
|
825
864
|
}
|
|
@@ -827,7 +866,7 @@ var $t = function() {
|
|
|
827
866
|
var r = new e();
|
|
828
867
|
return r.source = this, r.operator = t, r;
|
|
829
868
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
830
|
-
var i = this, s = Zn(t) ? t : new
|
|
869
|
+
var i = this, s = Zn(t) ? t : new st(t, r, n);
|
|
831
870
|
return Pe(function() {
|
|
832
871
|
var o = i, a = o.operator, l = o.source;
|
|
833
872
|
s.add(a ? a.call(s, l) : l ? i._subscribe(s) : i._trySubscribe(s));
|
|
@@ -840,8 +879,8 @@ var $t = function() {
|
|
|
840
879
|
}
|
|
841
880
|
}, e.prototype.forEach = function(t, r) {
|
|
842
881
|
var n = this;
|
|
843
|
-
return r =
|
|
844
|
-
var o = new
|
|
882
|
+
return r = jt(r), new r(function(i, s) {
|
|
883
|
+
var o = new st({
|
|
845
884
|
next: function(a) {
|
|
846
885
|
try {
|
|
847
886
|
t(a);
|
|
@@ -862,10 +901,10 @@ var $t = function() {
|
|
|
862
901
|
}, e.prototype.pipe = function() {
|
|
863
902
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
864
903
|
t[r] = arguments[r];
|
|
865
|
-
return
|
|
904
|
+
return zn(t)(this);
|
|
866
905
|
}, e.prototype.toPromise = function(t) {
|
|
867
906
|
var r = this;
|
|
868
|
-
return t =
|
|
907
|
+
return t = jt(t), new t(function(n, i) {
|
|
869
908
|
var s;
|
|
870
909
|
r.subscribe(function(o) {
|
|
871
910
|
return s = o;
|
|
@@ -879,28 +918,28 @@ var $t = function() {
|
|
|
879
918
|
return new e(t);
|
|
880
919
|
}, e;
|
|
881
920
|
}();
|
|
882
|
-
function
|
|
921
|
+
function jt(e) {
|
|
883
922
|
var t;
|
|
884
|
-
return (t = e != null ? e :
|
|
923
|
+
return (t = e != null ? e : _r.Promise) !== null && t !== void 0 ? t : Promise;
|
|
885
924
|
}
|
|
886
|
-
function
|
|
887
|
-
return e &&
|
|
925
|
+
function Wn(e) {
|
|
926
|
+
return e && X(e.next) && X(e.error) && X(e.complete);
|
|
888
927
|
}
|
|
889
928
|
function Zn(e) {
|
|
890
|
-
return e && e instanceof
|
|
929
|
+
return e && e instanceof Er || Wn(e) && vr(e);
|
|
891
930
|
}
|
|
892
|
-
var Jn =
|
|
931
|
+
var Jn = br(function(e) {
|
|
893
932
|
return function() {
|
|
894
933
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
895
934
|
};
|
|
896
|
-
}),
|
|
897
|
-
|
|
935
|
+
}), wr = function(e) {
|
|
936
|
+
z(t, e);
|
|
898
937
|
function t() {
|
|
899
938
|
var r = e.call(this) || this;
|
|
900
939
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
901
940
|
}
|
|
902
941
|
return t.prototype.lift = function(r) {
|
|
903
|
-
var n = new
|
|
942
|
+
var n = new $t(this, this);
|
|
904
943
|
return n.operator = r, n;
|
|
905
944
|
}, t.prototype._throwIfClosed = function() {
|
|
906
945
|
if (this.closed)
|
|
@@ -912,7 +951,7 @@ var Jn = vr(function(e) {
|
|
|
912
951
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
913
952
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
914
953
|
try {
|
|
915
|
-
for (var o =
|
|
954
|
+
for (var o = rt(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
|
|
916
955
|
var l = a.value;
|
|
917
956
|
l.next(r);
|
|
918
957
|
}
|
|
@@ -961,20 +1000,20 @@ var Jn = vr(function(e) {
|
|
|
961
1000
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
962
1001
|
}, t.prototype._innerSubscribe = function(r) {
|
|
963
1002
|
var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
|
|
964
|
-
return s || o ?
|
|
965
|
-
n.currentObservers = null,
|
|
1003
|
+
return s || o ? yr : (this.currentObservers = null, a.push(r), new Me(function() {
|
|
1004
|
+
n.currentObservers = null, it(a, r);
|
|
966
1005
|
}));
|
|
967
1006
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
968
1007
|
var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
|
|
969
1008
|
i ? r.error(s) : o && r.complete();
|
|
970
1009
|
}, t.prototype.asObservable = function() {
|
|
971
|
-
var r = new
|
|
1010
|
+
var r = new kt();
|
|
972
1011
|
return r.source = this, r;
|
|
973
1012
|
}, t.create = function(r, n) {
|
|
974
|
-
return new
|
|
1013
|
+
return new $t(r, n);
|
|
975
1014
|
}, t;
|
|
976
|
-
}(
|
|
977
|
-
|
|
1015
|
+
}(kt), $t = function(e) {
|
|
1016
|
+
z(t, e);
|
|
978
1017
|
function t(r, n) {
|
|
979
1018
|
var i = e.call(this) || this;
|
|
980
1019
|
return i.destination = r, i.source = n, i;
|
|
@@ -990,17 +1029,17 @@ var Jn = vr(function(e) {
|
|
|
990
1029
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
991
1030
|
}, t.prototype._subscribe = function(r) {
|
|
992
1031
|
var n, i;
|
|
993
|
-
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;
|
|
994
1033
|
}, t;
|
|
995
|
-
}(
|
|
1034
|
+
}(wr), Sr = {
|
|
996
1035
|
now: function() {
|
|
997
|
-
return (
|
|
1036
|
+
return (Sr.delegate || Date).now();
|
|
998
1037
|
},
|
|
999
1038
|
delegate: void 0
|
|
1000
1039
|
}, qn = function(e) {
|
|
1001
|
-
|
|
1040
|
+
z(t, e);
|
|
1002
1041
|
function t(r, n, i) {
|
|
1003
|
-
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 = Sr);
|
|
1004
1043
|
var s = e.call(this) || this;
|
|
1005
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;
|
|
1006
1045
|
}
|
|
@@ -1020,24 +1059,24 @@ var Jn = vr(function(e) {
|
|
|
1020
1059
|
u && s.splice(0, u + 1);
|
|
1021
1060
|
}
|
|
1022
1061
|
}, t;
|
|
1023
|
-
}(
|
|
1024
|
-
const
|
|
1025
|
-
if (
|
|
1062
|
+
}(wr);
|
|
1063
|
+
const Vt = [], Xt = {}, Qn = (e, t = 0) => {
|
|
1064
|
+
if (Vt.indexOf(e) == -1) {
|
|
1026
1065
|
const r = new qn(t);
|
|
1027
|
-
|
|
1066
|
+
Xt[e] = r, Vt.push(e);
|
|
1028
1067
|
}
|
|
1029
|
-
return
|
|
1068
|
+
return Xt[e];
|
|
1030
1069
|
}, Y = [];
|
|
1031
1070
|
function Yn(e, t) {
|
|
1032
1071
|
return {
|
|
1033
|
-
subscribe:
|
|
1072
|
+
subscribe: Ne(e, t).subscribe
|
|
1034
1073
|
};
|
|
1035
1074
|
}
|
|
1036
|
-
function
|
|
1075
|
+
function Ne(e, t = k) {
|
|
1037
1076
|
let r;
|
|
1038
1077
|
const n = /* @__PURE__ */ new Set();
|
|
1039
1078
|
function i(a) {
|
|
1040
|
-
if (
|
|
1079
|
+
if (pr(e, a) && (e = a, r)) {
|
|
1041
1080
|
const l = !Y.length;
|
|
1042
1081
|
for (const u of n)
|
|
1043
1082
|
u[1](), Y.push(u, e);
|
|
@@ -1059,7 +1098,7 @@ function De(e, t = k) {
|
|
|
1059
1098
|
}
|
|
1060
1099
|
return { set: i, update: s, subscribe: o };
|
|
1061
1100
|
}
|
|
1062
|
-
function
|
|
1101
|
+
function ae(e, t, r) {
|
|
1063
1102
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1064
1103
|
if (!i.every(Boolean))
|
|
1065
1104
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -1068,25 +1107,25 @@ function oe(e, t, r) {
|
|
|
1068
1107
|
let l = !1;
|
|
1069
1108
|
const u = [];
|
|
1070
1109
|
let h = 0, c = k;
|
|
1071
|
-
const
|
|
1110
|
+
const p = () => {
|
|
1072
1111
|
if (h)
|
|
1073
1112
|
return;
|
|
1074
1113
|
c();
|
|
1075
1114
|
const g = t(n ? u[0] : u, o, a);
|
|
1076
|
-
s ? o(g) : c =
|
|
1115
|
+
s ? o(g) : c = pt(g) ? g : k;
|
|
1077
1116
|
}, y = i.map(
|
|
1078
|
-
(g, d) =>
|
|
1117
|
+
(g, d) => dr(
|
|
1079
1118
|
g,
|
|
1080
1119
|
(b) => {
|
|
1081
|
-
u[d] = b, h &= ~(1 << d), l &&
|
|
1120
|
+
u[d] = b, h &= ~(1 << d), l && p();
|
|
1082
1121
|
},
|
|
1083
1122
|
() => {
|
|
1084
1123
|
h |= 1 << d;
|
|
1085
1124
|
}
|
|
1086
1125
|
)
|
|
1087
1126
|
);
|
|
1088
|
-
return l = !0,
|
|
1089
|
-
|
|
1127
|
+
return l = !0, p(), function() {
|
|
1128
|
+
be(y), c(), l = !1;
|
|
1090
1129
|
};
|
|
1091
1130
|
});
|
|
1092
1131
|
}
|
|
@@ -1110,29 +1149,29 @@ function si(e) {
|
|
|
1110
1149
|
function oi(e) {
|
|
1111
1150
|
return Array.isArray(e) ? [] : {};
|
|
1112
1151
|
}
|
|
1113
|
-
function
|
|
1114
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1152
|
+
function de(e, t) {
|
|
1153
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? ne(oi(e), e, t) : e;
|
|
1115
1154
|
}
|
|
1116
1155
|
function ai(e, t, r) {
|
|
1117
1156
|
return e.concat(t).map(function(n) {
|
|
1118
|
-
return
|
|
1157
|
+
return de(n, r);
|
|
1119
1158
|
});
|
|
1120
1159
|
}
|
|
1121
1160
|
function ui(e, t) {
|
|
1122
1161
|
if (!t.customMerge)
|
|
1123
|
-
return
|
|
1162
|
+
return ne;
|
|
1124
1163
|
var r = t.customMerge(e);
|
|
1125
|
-
return typeof r == "function" ? r :
|
|
1164
|
+
return typeof r == "function" ? r : ne;
|
|
1126
1165
|
}
|
|
1127
1166
|
function li(e) {
|
|
1128
1167
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1129
1168
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1130
1169
|
}) : [];
|
|
1131
1170
|
}
|
|
1132
|
-
function
|
|
1171
|
+
function zt(e) {
|
|
1133
1172
|
return Object.keys(e).concat(li(e));
|
|
1134
1173
|
}
|
|
1135
|
-
function
|
|
1174
|
+
function xr(e, t) {
|
|
1136
1175
|
try {
|
|
1137
1176
|
return t in e;
|
|
1138
1177
|
} catch (r) {
|
|
@@ -1140,179 +1179,129 @@ function Tr(e, t) {
|
|
|
1140
1179
|
}
|
|
1141
1180
|
}
|
|
1142
1181
|
function hi(e, t) {
|
|
1143
|
-
return
|
|
1182
|
+
return xr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1144
1183
|
}
|
|
1145
1184
|
function fi(e, t, r) {
|
|
1146
1185
|
var n = {};
|
|
1147
|
-
return r.isMergeableObject(e) &&
|
|
1148
|
-
n[i] =
|
|
1149
|
-
}),
|
|
1150
|
-
hi(e, i) || (
|
|
1186
|
+
return r.isMergeableObject(e) && zt(e).forEach(function(i) {
|
|
1187
|
+
n[i] = de(e[i], r);
|
|
1188
|
+
}), zt(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));
|
|
1151
1190
|
}), n;
|
|
1152
1191
|
}
|
|
1153
|
-
function
|
|
1154
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || ai, r.isMergeableObject = r.isMergeableObject || ei, r.cloneUnlessOtherwiseSpecified =
|
|
1192
|
+
function ne(e, t, r) {
|
|
1193
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || ai, r.isMergeableObject = r.isMergeableObject || ei, r.cloneUnlessOtherwiseSpecified = de;
|
|
1155
1194
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
1156
|
-
return s ? n ? r.arrayMerge(e, t, r) : fi(e, t, r) :
|
|
1195
|
+
return s ? n ? r.arrayMerge(e, t, r) : fi(e, t, r) : de(t, r);
|
|
1157
1196
|
}
|
|
1158
|
-
|
|
1197
|
+
ne.all = function(t, r) {
|
|
1159
1198
|
if (!Array.isArray(t))
|
|
1160
1199
|
throw new Error("first argument should be an array");
|
|
1161
1200
|
return t.reduce(function(n, i) {
|
|
1162
|
-
return
|
|
1201
|
+
return ne(n, i, r);
|
|
1163
1202
|
}, {});
|
|
1164
1203
|
};
|
|
1165
|
-
var ci =
|
|
1166
|
-
const
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
r.__proto__ = n;
|
|
1170
|
-
} || function(r, n) {
|
|
1171
|
-
for (var i in n)
|
|
1172
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1173
|
-
}, lt(e, t);
|
|
1174
|
-
};
|
|
1175
|
-
function Fe(e, t) {
|
|
1176
|
-
if (typeof t != "function" && t !== null)
|
|
1177
|
-
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1178
|
-
lt(e, t);
|
|
1179
|
-
function r() {
|
|
1180
|
-
this.constructor = e;
|
|
1181
|
-
}
|
|
1182
|
-
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1183
|
-
}
|
|
1184
|
-
var j = function() {
|
|
1185
|
-
return j = Object.assign || function(t) {
|
|
1186
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1187
|
-
r = arguments[n];
|
|
1188
|
-
for (var s in r)
|
|
1189
|
-
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
1190
|
-
}
|
|
1191
|
-
return t;
|
|
1192
|
-
}, j.apply(this, arguments);
|
|
1193
|
-
};
|
|
1194
|
-
function di(e, t) {
|
|
1195
|
-
var r = {};
|
|
1196
|
-
for (var n in e)
|
|
1197
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1198
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1199
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1200
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1201
|
-
return r;
|
|
1202
|
-
}
|
|
1203
|
-
function Je(e, t, r) {
|
|
1204
|
-
if (r || arguments.length === 2)
|
|
1205
|
-
for (var n = 0, i = t.length, s; n < i; n++)
|
|
1206
|
-
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
1207
|
-
return e.concat(s || Array.prototype.slice.call(t));
|
|
1208
|
-
}
|
|
1209
|
-
function qe(e, t) {
|
|
1210
|
-
var r = t && t.cache ? t.cache : wi, n = t && t.serializer ? t.serializer : _i, i = t && t.strategy ? t.strategy : yi;
|
|
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;
|
|
1211
1208
|
return i(e, {
|
|
1212
1209
|
cache: r,
|
|
1213
1210
|
serializer: n
|
|
1214
1211
|
});
|
|
1215
1212
|
}
|
|
1216
|
-
function
|
|
1213
|
+
function di(e) {
|
|
1217
1214
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1218
1215
|
}
|
|
1219
|
-
function
|
|
1220
|
-
var i =
|
|
1216
|
+
function Tr(e, t, r, n) {
|
|
1217
|
+
var i = di(n) ? n : r(n), s = t.get(i);
|
|
1221
1218
|
return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
|
|
1222
1219
|
}
|
|
1223
1220
|
function Hr(e, t, r) {
|
|
1224
1221
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
1225
1222
|
return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
1226
1223
|
}
|
|
1227
|
-
function
|
|
1224
|
+
function dt(e, t, r, n, i) {
|
|
1228
1225
|
return r.bind(t, e, n, i);
|
|
1229
1226
|
}
|
|
1230
|
-
function
|
|
1231
|
-
var r = e.length === 1 ?
|
|
1232
|
-
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);
|
|
1233
1230
|
}
|
|
1234
|
-
function
|
|
1235
|
-
return
|
|
1231
|
+
function bi(e, t) {
|
|
1232
|
+
return dt(e, this, Hr, t.cache.create(), t.serializer);
|
|
1236
1233
|
}
|
|
1237
|
-
|
|
1234
|
+
function yi(e, t) {
|
|
1235
|
+
return dt(e, this, Tr, t.cache.create(), t.serializer);
|
|
1236
|
+
}
|
|
1237
|
+
var vi = function() {
|
|
1238
1238
|
return JSON.stringify(arguments);
|
|
1239
|
-
}
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
}()
|
|
1251
|
-
), wi = {
|
|
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 = {
|
|
1252
1250
|
create: function() {
|
|
1253
|
-
return new
|
|
1251
|
+
return new gt();
|
|
1254
1252
|
}
|
|
1255
|
-
},
|
|
1256
|
-
variadic:
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1260
|
-
r = arguments[n];
|
|
1261
|
-
for (var s in r)
|
|
1262
|
-
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
1263
|
-
}
|
|
1264
|
-
return t;
|
|
1265
|
-
}, Re.apply(this, arguments);
|
|
1266
|
-
};
|
|
1267
|
-
var v;
|
|
1253
|
+
}, Je = {
|
|
1254
|
+
variadic: bi,
|
|
1255
|
+
monadic: yi
|
|
1256
|
+
}, v;
|
|
1268
1257
|
(function(e) {
|
|
1269
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";
|
|
1270
1259
|
})(v || (v = {}));
|
|
1271
|
-
var
|
|
1260
|
+
var T;
|
|
1272
1261
|
(function(e) {
|
|
1273
1262
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
1274
|
-
})(
|
|
1275
|
-
var
|
|
1263
|
+
})(T || (T = {}));
|
|
1264
|
+
var ie;
|
|
1276
1265
|
(function(e) {
|
|
1277
1266
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1278
|
-
})(
|
|
1279
|
-
function
|
|
1280
|
-
return e.type ===
|
|
1267
|
+
})(ie || (ie = {}));
|
|
1268
|
+
function Wt(e) {
|
|
1269
|
+
return e.type === T.literal;
|
|
1270
|
+
}
|
|
1271
|
+
function Ei(e) {
|
|
1272
|
+
return e.type === T.argument;
|
|
1281
1273
|
}
|
|
1282
|
-
function
|
|
1283
|
-
return e.type ===
|
|
1274
|
+
function Br(e) {
|
|
1275
|
+
return e.type === T.number;
|
|
1284
1276
|
}
|
|
1285
1277
|
function Ar(e) {
|
|
1286
|
-
return e.type ===
|
|
1278
|
+
return e.type === T.date;
|
|
1287
1279
|
}
|
|
1288
1280
|
function Pr(e) {
|
|
1289
|
-
return e.type ===
|
|
1281
|
+
return e.type === T.time;
|
|
1290
1282
|
}
|
|
1291
1283
|
function Or(e) {
|
|
1292
|
-
return e.type ===
|
|
1284
|
+
return e.type === T.select;
|
|
1293
1285
|
}
|
|
1294
1286
|
function Cr(e) {
|
|
1295
|
-
return e.type ===
|
|
1287
|
+
return e.type === T.plural;
|
|
1296
1288
|
}
|
|
1297
|
-
function
|
|
1298
|
-
return e.type ===
|
|
1289
|
+
function wi(e) {
|
|
1290
|
+
return e.type === T.pound;
|
|
1299
1291
|
}
|
|
1300
|
-
function
|
|
1301
|
-
return e.type ===
|
|
1292
|
+
function Ir(e) {
|
|
1293
|
+
return e.type === T.tag;
|
|
1302
1294
|
}
|
|
1303
1295
|
function Rr(e) {
|
|
1304
|
-
return e.type ===
|
|
1296
|
+
return !!(e && typeof e == "object" && e.type === ie.number);
|
|
1305
1297
|
}
|
|
1306
|
-
function
|
|
1307
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1298
|
+
function ot(e) {
|
|
1299
|
+
return !!(e && typeof e == "object" && e.type === ie.dateTime);
|
|
1308
1300
|
}
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
}
|
|
1312
|
-
var Nr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ti = /(?:[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;
|
|
1313
|
-
function Hi(e) {
|
|
1301
|
+
var Lr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Si = /(?:[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) {
|
|
1314
1303
|
var t = {};
|
|
1315
|
-
return e.replace(
|
|
1304
|
+
return e.replace(Si, function(r) {
|
|
1316
1305
|
var n = r.length;
|
|
1317
1306
|
switch (r[0]) {
|
|
1318
1307
|
case "G":
|
|
@@ -1401,22 +1390,12 @@ function Hi(e) {
|
|
|
1401
1390
|
return "";
|
|
1402
1391
|
}), t;
|
|
1403
1392
|
}
|
|
1404
|
-
var
|
|
1405
|
-
|
|
1406
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1407
|
-
r = arguments[n];
|
|
1408
|
-
for (var s in r)
|
|
1409
|
-
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
1410
|
-
}
|
|
1411
|
-
return t;
|
|
1412
|
-
}, A.apply(this, arguments);
|
|
1413
|
-
};
|
|
1414
|
-
var Bi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1415
|
-
function Ai(e) {
|
|
1393
|
+
var Ti = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1394
|
+
function Hi(e) {
|
|
1416
1395
|
if (e.length === 0)
|
|
1417
1396
|
throw new Error("Number skeleton cannot be empty");
|
|
1418
|
-
for (var t = e.split(
|
|
1419
|
-
return
|
|
1397
|
+
for (var t = e.split(Ti).filter(function(p) {
|
|
1398
|
+
return p.length > 0;
|
|
1420
1399
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1421
1400
|
var s = i[n], o = s.split("/");
|
|
1422
1401
|
if (o.length === 0)
|
|
@@ -1430,17 +1409,17 @@ function Ai(e) {
|
|
|
1430
1409
|
}
|
|
1431
1410
|
return r;
|
|
1432
1411
|
}
|
|
1433
|
-
function
|
|
1412
|
+
function Bi(e) {
|
|
1434
1413
|
return e.replace(/^(.*?)-/, "");
|
|
1435
1414
|
}
|
|
1436
|
-
var
|
|
1437
|
-
function
|
|
1415
|
+
var Zt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Mr = /^(@+)?(\+|#+)?[rs]?$/g, Ai = /(\*)(0+)|(#+)(0+)|(0+)/g, Nr = /^(0+)$/;
|
|
1416
|
+
function Jt(e) {
|
|
1438
1417
|
var t = {};
|
|
1439
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) {
|
|
1440
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)), "";
|
|
1441
1420
|
}), t;
|
|
1442
1421
|
}
|
|
1443
|
-
function
|
|
1422
|
+
function Dr(e) {
|
|
1444
1423
|
switch (e) {
|
|
1445
1424
|
case "sign-auto":
|
|
1446
1425
|
return {
|
|
@@ -1480,7 +1459,7 @@ function Fr(e) {
|
|
|
1480
1459
|
};
|
|
1481
1460
|
}
|
|
1482
1461
|
}
|
|
1483
|
-
function
|
|
1462
|
+
function Pi(e) {
|
|
1484
1463
|
var t;
|
|
1485
1464
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1486
1465
|
notation: "engineering"
|
|
@@ -1488,17 +1467,17 @@ function Ci(e) {
|
|
|
1488
1467
|
notation: "scientific"
|
|
1489
1468
|
}, e = e.slice(1)), t) {
|
|
1490
1469
|
var r = e.slice(0, 2);
|
|
1491
|
-
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))
|
|
1492
1471
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1493
1472
|
t.minimumIntegerDigits = e.length;
|
|
1494
1473
|
}
|
|
1495
1474
|
return t;
|
|
1496
1475
|
}
|
|
1497
|
-
function
|
|
1498
|
-
var t = {}, r =
|
|
1476
|
+
function qt(e) {
|
|
1477
|
+
var t = {}, r = Dr(e);
|
|
1499
1478
|
return r || t;
|
|
1500
1479
|
}
|
|
1501
|
-
function
|
|
1480
|
+
function Oi(e) {
|
|
1502
1481
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1503
1482
|
var i = n[r];
|
|
1504
1483
|
switch (i.stem) {
|
|
@@ -1522,7 +1501,7 @@ function Ii(e) {
|
|
|
1522
1501
|
continue;
|
|
1523
1502
|
case "measure-unit":
|
|
1524
1503
|
case "unit":
|
|
1525
|
-
t.style = "unit", t.unit =
|
|
1504
|
+
t.style = "unit", t.unit = Bi(i.options[0]);
|
|
1526
1505
|
continue;
|
|
1527
1506
|
case "compact-short":
|
|
1528
1507
|
case "K":
|
|
@@ -1533,13 +1512,13 @@ function Ii(e) {
|
|
|
1533
1512
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1534
1513
|
continue;
|
|
1535
1514
|
case "scientific":
|
|
1536
|
-
t =
|
|
1537
|
-
return
|
|
1515
|
+
t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1516
|
+
return w(w({}, l), qt(u));
|
|
1538
1517
|
}, {}));
|
|
1539
1518
|
continue;
|
|
1540
1519
|
case "engineering":
|
|
1541
|
-
t =
|
|
1542
|
-
return
|
|
1520
|
+
t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1521
|
+
return w(w({}, l), qt(u));
|
|
1543
1522
|
}, {}));
|
|
1544
1523
|
continue;
|
|
1545
1524
|
case "notation-simple":
|
|
@@ -1584,11 +1563,11 @@ function Ii(e) {
|
|
|
1584
1563
|
case "integer-width":
|
|
1585
1564
|
if (i.options.length > 1)
|
|
1586
1565
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1587
|
-
i.options[0].replace(
|
|
1566
|
+
i.options[0].replace(Ai, function(l, u, h, c, p, y) {
|
|
1588
1567
|
if (u)
|
|
1589
1568
|
t.minimumIntegerDigits = h.length;
|
|
1590
1569
|
else {
|
|
1591
|
-
if (c &&
|
|
1570
|
+
if (c && p)
|
|
1592
1571
|
throw new Error("We currently do not support maximum integer digits");
|
|
1593
1572
|
if (y)
|
|
1594
1573
|
throw new Error("We currently do not support exact integer digits");
|
|
@@ -1597,28 +1576,28 @@ function Ii(e) {
|
|
|
1597
1576
|
});
|
|
1598
1577
|
continue;
|
|
1599
1578
|
}
|
|
1600
|
-
if (
|
|
1579
|
+
if (Nr.test(i.stem)) {
|
|
1601
1580
|
t.minimumIntegerDigits = i.stem.length;
|
|
1602
1581
|
continue;
|
|
1603
1582
|
}
|
|
1604
|
-
if (
|
|
1583
|
+
if (Zt.test(i.stem)) {
|
|
1605
1584
|
if (i.options.length > 1)
|
|
1606
1585
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1607
|
-
i.stem.replace(
|
|
1608
|
-
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length :
|
|
1586
|
+
i.stem.replace(Zt, function(l, u, h, c, p, y) {
|
|
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), "";
|
|
1609
1588
|
});
|
|
1610
1589
|
var s = i.options[0];
|
|
1611
|
-
s === "w" ? t =
|
|
1590
|
+
s === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = w(w({}, t), Jt(s)));
|
|
1612
1591
|
continue;
|
|
1613
1592
|
}
|
|
1614
1593
|
if (Mr.test(i.stem)) {
|
|
1615
|
-
t =
|
|
1594
|
+
t = w(w({}, t), Jt(i.stem));
|
|
1616
1595
|
continue;
|
|
1617
1596
|
}
|
|
1618
|
-
var o =
|
|
1619
|
-
o && (t =
|
|
1620
|
-
var a =
|
|
1621
|
-
a && (t =
|
|
1597
|
+
var o = Dr(i.stem);
|
|
1598
|
+
o && (t = w(w({}, t), o));
|
|
1599
|
+
var a = Pi(i.stem);
|
|
1600
|
+
a && (t = w(w({}, t), a));
|
|
1622
1601
|
}
|
|
1623
1602
|
return t;
|
|
1624
1603
|
}
|
|
@@ -3037,13 +3016,13 @@ var Be = {
|
|
|
3037
3016
|
"h"
|
|
3038
3017
|
]
|
|
3039
3018
|
};
|
|
3040
|
-
function
|
|
3019
|
+
function Ci(e, t) {
|
|
3041
3020
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3042
3021
|
var i = e.charAt(n);
|
|
3043
3022
|
if (i === "j") {
|
|
3044
3023
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3045
3024
|
s++, n++;
|
|
3046
|
-
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);
|
|
3047
3026
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
3048
3027
|
r += l;
|
|
3049
3028
|
for (; o-- > 0; )
|
|
@@ -3053,7 +3032,7 @@ function Ri(e, t) {
|
|
|
3053
3032
|
}
|
|
3054
3033
|
return r;
|
|
3055
3034
|
}
|
|
3056
|
-
function
|
|
3035
|
+
function Ii(e) {
|
|
3057
3036
|
var t = e.hourCycle;
|
|
3058
3037
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3059
3038
|
e.hourCycles && // @ts-ignore
|
|
@@ -3075,20 +3054,20 @@ function Li(e) {
|
|
|
3075
3054
|
var i = Be[n || ""] || Be[r || ""] || Be["".concat(r, "-001")] || Be["001"];
|
|
3076
3055
|
return i[0];
|
|
3077
3056
|
}
|
|
3078
|
-
var
|
|
3057
|
+
var qe, Ri = new RegExp("^".concat(Lr.source, "*")), Li = new RegExp("".concat(Lr.source, "*$"));
|
|
3079
3058
|
function _(e, t) {
|
|
3080
3059
|
return { start: e, end: t };
|
|
3081
3060
|
}
|
|
3082
|
-
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) {
|
|
3083
3062
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3084
|
-
},
|
|
3063
|
+
}, at = !0;
|
|
3085
3064
|
try {
|
|
3086
|
-
var
|
|
3087
|
-
|
|
3065
|
+
var $i = Ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3066
|
+
at = ((qe = $i.exec("a")) === null || qe === void 0 ? void 0 : qe[0]) === "a";
|
|
3088
3067
|
} catch (e) {
|
|
3089
|
-
|
|
3068
|
+
at = !1;
|
|
3090
3069
|
}
|
|
3091
|
-
var
|
|
3070
|
+
var Qt = Mi ? (
|
|
3092
3071
|
// Native
|
|
3093
3072
|
function(t, r, n) {
|
|
3094
3073
|
return t.startsWith(r, n);
|
|
@@ -3098,7 +3077,7 @@ var Kt = Di ? (
|
|
|
3098
3077
|
function(t, r, n) {
|
|
3099
3078
|
return t.slice(n, n + r.length) === r;
|
|
3100
3079
|
}
|
|
3101
|
-
),
|
|
3080
|
+
), ut = Ni ? String.fromCodePoint : (
|
|
3102
3081
|
// IE11
|
|
3103
3082
|
function() {
|
|
3104
3083
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3110,9 +3089,9 @@ var Kt = Di ? (
|
|
|
3110
3089
|
}
|
|
3111
3090
|
return n;
|
|
3112
3091
|
}
|
|
3113
|
-
),
|
|
3092
|
+
), Yt = (
|
|
3114
3093
|
// native
|
|
3115
|
-
|
|
3094
|
+
Di ? Object.fromEntries : (
|
|
3116
3095
|
// Ponyfill
|
|
3117
3096
|
function(t) {
|
|
3118
3097
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3122,7 +3101,7 @@ var Kt = Di ? (
|
|
|
3122
3101
|
return r;
|
|
3123
3102
|
}
|
|
3124
3103
|
)
|
|
3125
|
-
),
|
|
3104
|
+
), Fr = Fi ? (
|
|
3126
3105
|
// Native
|
|
3127
3106
|
function(t, r) {
|
|
3128
3107
|
return t.codePointAt(r);
|
|
@@ -3136,7 +3115,7 @@ var Kt = Di ? (
|
|
|
3136
3115
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
3137
3116
|
}
|
|
3138
3117
|
}
|
|
3139
|
-
),
|
|
3118
|
+
), Vi = Ui ? (
|
|
3140
3119
|
// Native
|
|
3141
3120
|
function(t) {
|
|
3142
3121
|
return t.trimStart();
|
|
@@ -3144,9 +3123,9 @@ var Kt = Di ? (
|
|
|
3144
3123
|
) : (
|
|
3145
3124
|
// Ponyfill
|
|
3146
3125
|
function(t) {
|
|
3147
|
-
return t.replace(
|
|
3126
|
+
return t.replace(Ri, "");
|
|
3148
3127
|
}
|
|
3149
|
-
),
|
|
3128
|
+
), Xi = Gi ? (
|
|
3150
3129
|
// Native
|
|
3151
3130
|
function(t) {
|
|
3152
3131
|
return t.trimEnd();
|
|
@@ -3154,32 +3133,32 @@ var Kt = Di ? (
|
|
|
3154
3133
|
) : (
|
|
3155
3134
|
// Ponyfill
|
|
3156
3135
|
function(t) {
|
|
3157
|
-
return t.replace(
|
|
3136
|
+
return t.replace(Li, "");
|
|
3158
3137
|
}
|
|
3159
3138
|
);
|
|
3160
|
-
function
|
|
3139
|
+
function Ur(e, t) {
|
|
3161
3140
|
return new RegExp(e, t);
|
|
3162
3141
|
}
|
|
3163
|
-
var
|
|
3164
|
-
if (
|
|
3165
|
-
var
|
|
3166
|
-
|
|
3142
|
+
var lt;
|
|
3143
|
+
if (at) {
|
|
3144
|
+
var Kt = Ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3145
|
+
lt = function(t, r) {
|
|
3167
3146
|
var n;
|
|
3168
|
-
|
|
3169
|
-
var i =
|
|
3147
|
+
Kt.lastIndex = r;
|
|
3148
|
+
var i = Kt.exec(t);
|
|
3170
3149
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3171
3150
|
};
|
|
3172
3151
|
} else
|
|
3173
|
-
|
|
3152
|
+
lt = function(t, r) {
|
|
3174
3153
|
for (var n = []; ; ) {
|
|
3175
|
-
var i =
|
|
3176
|
-
if (i === void 0 ||
|
|
3154
|
+
var i = Fr(t, r);
|
|
3155
|
+
if (i === void 0 || Gr(i) || Ji(i))
|
|
3177
3156
|
break;
|
|
3178
3157
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3179
3158
|
}
|
|
3180
|
-
return
|
|
3159
|
+
return ut.apply(void 0, n);
|
|
3181
3160
|
};
|
|
3182
|
-
var
|
|
3161
|
+
var zi = (
|
|
3183
3162
|
/** @class */
|
|
3184
3163
|
function() {
|
|
3185
3164
|
function e(t, r) {
|
|
@@ -3203,14 +3182,14 @@ var Zi = (
|
|
|
3203
3182
|
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3204
3183
|
var a = this.clonePosition();
|
|
3205
3184
|
this.bump(), i.push({
|
|
3206
|
-
type:
|
|
3185
|
+
type: T.pound,
|
|
3207
3186
|
location: _(a, this.clonePosition())
|
|
3208
3187
|
});
|
|
3209
3188
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3210
3189
|
if (n)
|
|
3211
3190
|
break;
|
|
3212
3191
|
return this.error(v.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
|
|
3213
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
3192
|
+
} else if (s === 60 && !this.ignoreTag && ht(this.peek() || 0)) {
|
|
3214
3193
|
var o = this.parseTag(t, r);
|
|
3215
3194
|
if (o.err)
|
|
3216
3195
|
return o;
|
|
@@ -3231,7 +3210,7 @@ var Zi = (
|
|
|
3231
3210
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3232
3211
|
return {
|
|
3233
3212
|
val: {
|
|
3234
|
-
type:
|
|
3213
|
+
type: T.literal,
|
|
3235
3214
|
value: "<".concat(i, "/>"),
|
|
3236
3215
|
location: _(n, this.clonePosition())
|
|
3237
3216
|
},
|
|
@@ -3243,12 +3222,12 @@ var Zi = (
|
|
|
3243
3222
|
return s;
|
|
3244
3223
|
var o = s.val, a = this.clonePosition();
|
|
3245
3224
|
if (this.bumpIf("</")) {
|
|
3246
|
-
if (this.isEOF() || !
|
|
3225
|
+
if (this.isEOF() || !ht(this.char()))
|
|
3247
3226
|
return this.error(v.INVALID_TAG, _(a, this.clonePosition()));
|
|
3248
3227
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3249
3228
|
return i !== u ? this.error(v.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3250
3229
|
val: {
|
|
3251
|
-
type:
|
|
3230
|
+
type: T.tag,
|
|
3252
3231
|
value: i,
|
|
3253
3232
|
children: o,
|
|
3254
3233
|
location: _(n, this.clonePosition())
|
|
@@ -3261,7 +3240,7 @@ var Zi = (
|
|
|
3261
3240
|
return this.error(v.INVALID_TAG, _(n, this.clonePosition()));
|
|
3262
3241
|
}, e.prototype.parseTagName = function() {
|
|
3263
3242
|
var t = this.offset();
|
|
3264
|
-
for (this.bump(); !this.isEOF() &&
|
|
3243
|
+
for (this.bump(); !this.isEOF() && Zi(this.char()); )
|
|
3265
3244
|
this.bump();
|
|
3266
3245
|
return this.message.slice(t, this.offset());
|
|
3267
3246
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3285,12 +3264,12 @@ var Zi = (
|
|
|
3285
3264
|
}
|
|
3286
3265
|
var l = _(n, this.clonePosition());
|
|
3287
3266
|
return {
|
|
3288
|
-
val: { type:
|
|
3267
|
+
val: { type: T.literal, value: i, location: l },
|
|
3289
3268
|
err: null
|
|
3290
3269
|
};
|
|
3291
3270
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3292
3271
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3293
|
-
!
|
|
3272
|
+
!Wi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3294
3273
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3295
3274
|
if (this.isEOF() || this.char() !== 39)
|
|
3296
3275
|
return null;
|
|
@@ -3324,12 +3303,12 @@ var Zi = (
|
|
|
3324
3303
|
r.push(n);
|
|
3325
3304
|
this.bump();
|
|
3326
3305
|
}
|
|
3327
|
-
return
|
|
3306
|
+
return ut.apply(void 0, r);
|
|
3328
3307
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3329
3308
|
if (this.isEOF())
|
|
3330
3309
|
return null;
|
|
3331
3310
|
var n = this.char();
|
|
3332
|
-
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));
|
|
3333
3312
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3334
3313
|
var n = this.clonePosition();
|
|
3335
3314
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3345,7 +3324,7 @@ var Zi = (
|
|
|
3345
3324
|
case 125:
|
|
3346
3325
|
return this.bump(), {
|
|
3347
3326
|
val: {
|
|
3348
|
-
type:
|
|
3327
|
+
type: T.argument,
|
|
3349
3328
|
// value does not include the opening and closing braces.
|
|
3350
3329
|
value: i,
|
|
3351
3330
|
location: _(n, this.clonePosition())
|
|
@@ -3358,7 +3337,7 @@ var Zi = (
|
|
|
3358
3337
|
return this.error(v.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
|
|
3359
3338
|
}
|
|
3360
3339
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3361
|
-
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;
|
|
3362
3341
|
this.bumpTo(i);
|
|
3363
3342
|
var s = this.clonePosition(), o = _(t, s);
|
|
3364
3343
|
return { value: n, location: o };
|
|
@@ -3377,44 +3356,44 @@ var Zi = (
|
|
|
3377
3356
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3378
3357
|
if (c.err)
|
|
3379
3358
|
return c;
|
|
3380
|
-
var
|
|
3381
|
-
if (
|
|
3359
|
+
var p = Xi(c.val);
|
|
3360
|
+
if (p.length === 0)
|
|
3382
3361
|
return this.error(v.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
3383
3362
|
var y = _(h, this.clonePosition());
|
|
3384
|
-
u = { style:
|
|
3363
|
+
u = { style: p, styleLocation: y };
|
|
3385
3364
|
}
|
|
3386
3365
|
var g = this.tryParseArgumentClose(i);
|
|
3387
3366
|
if (g.err)
|
|
3388
3367
|
return g;
|
|
3389
3368
|
var d = _(i, this.clonePosition());
|
|
3390
|
-
if (u &&
|
|
3391
|
-
var b =
|
|
3369
|
+
if (u && Qt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3370
|
+
var b = Vi(u.style.slice(2));
|
|
3392
3371
|
if (a === "number") {
|
|
3393
3372
|
var c = this.parseNumberSkeletonFromString(b, u.styleLocation);
|
|
3394
3373
|
return c.err ? c : {
|
|
3395
|
-
val: { type:
|
|
3374
|
+
val: { type: T.number, value: n, location: d, style: c.val },
|
|
3396
3375
|
err: null
|
|
3397
3376
|
};
|
|
3398
3377
|
} else {
|
|
3399
3378
|
if (b.length === 0)
|
|
3400
3379
|
return this.error(v.EXPECT_DATE_TIME_SKELETON, d);
|
|
3401
|
-
var
|
|
3402
|
-
this.locale && (
|
|
3403
|
-
var
|
|
3404
|
-
type:
|
|
3405
|
-
pattern:
|
|
3380
|
+
var S = b;
|
|
3381
|
+
this.locale && (S = Ci(b, this.locale));
|
|
3382
|
+
var p = {
|
|
3383
|
+
type: ie.dateTime,
|
|
3384
|
+
pattern: S,
|
|
3406
3385
|
location: u.styleLocation,
|
|
3407
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3408
|
-
}, O = a === "date" ?
|
|
3386
|
+
parsedOptions: this.shouldParseSkeletons ? xi(S) : {}
|
|
3387
|
+
}, O = a === "date" ? T.date : T.time;
|
|
3409
3388
|
return {
|
|
3410
|
-
val: { type: O, value: n, location: d, style:
|
|
3389
|
+
val: { type: O, value: n, location: d, style: p },
|
|
3411
3390
|
err: null
|
|
3412
3391
|
};
|
|
3413
3392
|
}
|
|
3414
3393
|
}
|
|
3415
3394
|
return {
|
|
3416
3395
|
val: {
|
|
3417
|
-
type: a === "number" ?
|
|
3396
|
+
type: a === "number" ? T.number : a === "date" ? T.date : T.time,
|
|
3418
3397
|
value: n,
|
|
3419
3398
|
location: d,
|
|
3420
3399
|
style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
|
|
@@ -3427,9 +3406,9 @@ var Zi = (
|
|
|
3427
3406
|
case "select": {
|
|
3428
3407
|
var P = this.clonePosition();
|
|
3429
3408
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3430
|
-
return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, _(P,
|
|
3409
|
+
return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, _(P, w({}, P)));
|
|
3431
3410
|
this.bumpSpace();
|
|
3432
|
-
var L = this.parseIdentifierIfPossible(),
|
|
3411
|
+
var L = this.parseIdentifierIfPossible(), M = 0;
|
|
3433
3412
|
if (a !== "select" && L.value === "offset") {
|
|
3434
3413
|
if (!this.bumpIf(":"))
|
|
3435
3414
|
return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
|
|
@@ -3437,7 +3416,7 @@ var Zi = (
|
|
|
3437
3416
|
var c = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3438
3417
|
if (c.err)
|
|
3439
3418
|
return c;
|
|
3440
|
-
this.bumpSpace(), L = this.parseIdentifierIfPossible(),
|
|
3419
|
+
this.bumpSpace(), L = this.parseIdentifierIfPossible(), M = c.val;
|
|
3441
3420
|
}
|
|
3442
3421
|
var C = this.tryParsePluralOrSelectOptions(t, a, r, L);
|
|
3443
3422
|
if (C.err)
|
|
@@ -3448,18 +3427,18 @@ var Zi = (
|
|
|
3448
3427
|
var D = _(i, this.clonePosition());
|
|
3449
3428
|
return a === "select" ? {
|
|
3450
3429
|
val: {
|
|
3451
|
-
type:
|
|
3430
|
+
type: T.select,
|
|
3452
3431
|
value: n,
|
|
3453
|
-
options:
|
|
3432
|
+
options: Yt(C.val),
|
|
3454
3433
|
location: D
|
|
3455
3434
|
},
|
|
3456
3435
|
err: null
|
|
3457
3436
|
} : {
|
|
3458
3437
|
val: {
|
|
3459
|
-
type:
|
|
3438
|
+
type: T.plural,
|
|
3460
3439
|
value: n,
|
|
3461
|
-
options:
|
|
3462
|
-
offset:
|
|
3440
|
+
options: Yt(C.val),
|
|
3441
|
+
offset: M,
|
|
3463
3442
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3464
3443
|
location: D
|
|
3465
3444
|
},
|
|
@@ -3509,16 +3488,16 @@ var Zi = (
|
|
|
3509
3488
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3510
3489
|
var n = [];
|
|
3511
3490
|
try {
|
|
3512
|
-
n =
|
|
3491
|
+
n = Hi(t);
|
|
3513
3492
|
} catch (i) {
|
|
3514
3493
|
return this.error(v.INVALID_NUMBER_SKELETON, r);
|
|
3515
3494
|
}
|
|
3516
3495
|
return {
|
|
3517
3496
|
val: {
|
|
3518
|
-
type:
|
|
3497
|
+
type: ie.number,
|
|
3519
3498
|
tokens: n,
|
|
3520
3499
|
location: r,
|
|
3521
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3500
|
+
parsedOptions: this.shouldParseSkeletons ? Oi(n) : {}
|
|
3522
3501
|
},
|
|
3523
3502
|
err: null
|
|
3524
3503
|
};
|
|
@@ -3527,9 +3506,9 @@ var Zi = (
|
|
|
3527
3506
|
if (u.length === 0) {
|
|
3528
3507
|
var c = this.clonePosition();
|
|
3529
3508
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3530
|
-
var
|
|
3531
|
-
if (
|
|
3532
|
-
return
|
|
3509
|
+
var p = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR, v.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3510
|
+
if (p.err)
|
|
3511
|
+
return p;
|
|
3533
3512
|
h = _(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
|
|
3534
3513
|
} else
|
|
3535
3514
|
break;
|
|
@@ -3566,7 +3545,7 @@ var Zi = (
|
|
|
3566
3545
|
break;
|
|
3567
3546
|
}
|
|
3568
3547
|
var l = _(i, this.clonePosition());
|
|
3569
|
-
return s ? (o *= n,
|
|
3548
|
+
return s ? (o *= n, ji(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3570
3549
|
}, e.prototype.offset = function() {
|
|
3571
3550
|
return this.position.offset;
|
|
3572
3551
|
}, e.prototype.isEOF = function() {
|
|
@@ -3581,7 +3560,7 @@ var Zi = (
|
|
|
3581
3560
|
var t = this.position.offset;
|
|
3582
3561
|
if (t >= this.message.length)
|
|
3583
3562
|
throw Error("out of bound");
|
|
3584
|
-
var r =
|
|
3563
|
+
var r = Fr(this.message, t);
|
|
3585
3564
|
if (r === void 0)
|
|
3586
3565
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3587
3566
|
return r;
|
|
@@ -3600,7 +3579,7 @@ var Zi = (
|
|
|
3600
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);
|
|
3601
3580
|
}
|
|
3602
3581
|
}, e.prototype.bumpIf = function(t) {
|
|
3603
|
-
if (
|
|
3582
|
+
if (Qt(this.message, t, this.offset())) {
|
|
3604
3583
|
for (var r = 0; r < t.length; r++)
|
|
3605
3584
|
this.bump();
|
|
3606
3585
|
return !0;
|
|
@@ -3622,7 +3601,7 @@ var Zi = (
|
|
|
3622
3601
|
break;
|
|
3623
3602
|
}
|
|
3624
3603
|
}, e.prototype.bumpSpace = function() {
|
|
3625
|
-
for (; !this.isEOF() &&
|
|
3604
|
+
for (; !this.isEOF() && Gr(this.char()); )
|
|
3626
3605
|
this.bump();
|
|
3627
3606
|
}, e.prototype.peek = function() {
|
|
3628
3607
|
if (this.isEOF())
|
|
@@ -3632,47 +3611,47 @@ var Zi = (
|
|
|
3632
3611
|
}, e;
|
|
3633
3612
|
}()
|
|
3634
3613
|
);
|
|
3635
|
-
function
|
|
3614
|
+
function ht(e) {
|
|
3636
3615
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3637
3616
|
}
|
|
3638
|
-
function
|
|
3639
|
-
return
|
|
3617
|
+
function Wi(e) {
|
|
3618
|
+
return ht(e) || e === 47;
|
|
3640
3619
|
}
|
|
3641
|
-
function
|
|
3620
|
+
function Zi(e) {
|
|
3642
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;
|
|
3643
3622
|
}
|
|
3644
|
-
function
|
|
3623
|
+
function Gr(e) {
|
|
3645
3624
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3646
3625
|
}
|
|
3647
|
-
function
|
|
3626
|
+
function Ji(e) {
|
|
3648
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;
|
|
3649
3628
|
}
|
|
3650
|
-
function
|
|
3629
|
+
function ft(e) {
|
|
3651
3630
|
e.forEach(function(t) {
|
|
3652
|
-
if (delete t.location,
|
|
3631
|
+
if (delete t.location, Or(t) || Cr(t))
|
|
3653
3632
|
for (var r in t.options)
|
|
3654
|
-
delete t.options[r].location,
|
|
3633
|
+
delete t.options[r].location, ft(t.options[r].value);
|
|
3655
3634
|
else
|
|
3656
|
-
|
|
3635
|
+
Br(t) && Rr(t.style) || (Ar(t) || Pr(t)) && ot(t.style) ? delete t.style.location : Ir(t) && ft(t.children);
|
|
3657
3636
|
});
|
|
3658
3637
|
}
|
|
3659
|
-
function
|
|
3660
|
-
t === void 0 && (t = {}), t =
|
|
3661
|
-
var r = new
|
|
3638
|
+
function qi(e, t) {
|
|
3639
|
+
t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3640
|
+
var r = new zi(e, t).parse();
|
|
3662
3641
|
if (r.err) {
|
|
3663
3642
|
var n = SyntaxError(v[r.err.kind]);
|
|
3664
3643
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3665
3644
|
}
|
|
3666
|
-
return t != null && t.captureLocation ||
|
|
3645
|
+
return t != null && t.captureLocation || ft(r.val), r.val;
|
|
3667
3646
|
}
|
|
3668
|
-
var
|
|
3647
|
+
var se;
|
|
3669
3648
|
(function(e) {
|
|
3670
3649
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3671
|
-
})(
|
|
3672
|
-
var
|
|
3650
|
+
})(se || (se = {}));
|
|
3651
|
+
var De = (
|
|
3673
3652
|
/** @class */
|
|
3674
3653
|
function(e) {
|
|
3675
|
-
|
|
3654
|
+
z(t, e);
|
|
3676
3655
|
function t(r, n, i) {
|
|
3677
3656
|
var s = e.call(this, r) || this;
|
|
3678
3657
|
return s.code = n, s.originalMessage = i, s;
|
|
@@ -3681,48 +3660,48 @@ var Ue = (
|
|
|
3681
3660
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3682
3661
|
}, t;
|
|
3683
3662
|
}(Error)
|
|
3684
|
-
),
|
|
3663
|
+
), er = (
|
|
3685
3664
|
/** @class */
|
|
3686
3665
|
function(e) {
|
|
3687
|
-
|
|
3666
|
+
z(t, e);
|
|
3688
3667
|
function t(r, n, i, s) {
|
|
3689
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3668
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), se.INVALID_VALUE, s) || this;
|
|
3690
3669
|
}
|
|
3691
3670
|
return t;
|
|
3692
|
-
}(
|
|
3693
|
-
),
|
|
3671
|
+
}(De)
|
|
3672
|
+
), Qi = (
|
|
3694
3673
|
/** @class */
|
|
3695
3674
|
function(e) {
|
|
3696
|
-
|
|
3675
|
+
z(t, e);
|
|
3697
3676
|
function t(r, n, i) {
|
|
3698
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3677
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), se.INVALID_VALUE, i) || this;
|
|
3699
3678
|
}
|
|
3700
3679
|
return t;
|
|
3701
|
-
}(
|
|
3702
|
-
),
|
|
3680
|
+
}(De)
|
|
3681
|
+
), Yi = (
|
|
3703
3682
|
/** @class */
|
|
3704
3683
|
function(e) {
|
|
3705
|
-
|
|
3684
|
+
z(t, e);
|
|
3706
3685
|
function t(r, n) {
|
|
3707
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3686
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), se.MISSING_VALUE, n) || this;
|
|
3708
3687
|
}
|
|
3709
3688
|
return t;
|
|
3710
|
-
}(
|
|
3689
|
+
}(De)
|
|
3711
3690
|
), R;
|
|
3712
3691
|
(function(e) {
|
|
3713
3692
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3714
3693
|
})(R || (R = {}));
|
|
3715
|
-
function
|
|
3694
|
+
function Ki(e) {
|
|
3716
3695
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3717
3696
|
var n = t[t.length - 1];
|
|
3718
3697
|
return !n || n.type !== R.literal || r.type !== R.literal ? t.push(r) : n.value += r.value, t;
|
|
3719
3698
|
}, []);
|
|
3720
3699
|
}
|
|
3721
|
-
function
|
|
3700
|
+
function es(e) {
|
|
3722
3701
|
return typeof e == "function";
|
|
3723
3702
|
}
|
|
3724
3703
|
function Oe(e, t, r, n, i, s, o) {
|
|
3725
|
-
if (e.length === 1 &&
|
|
3704
|
+
if (e.length === 1 && Wt(e[0]))
|
|
3726
3705
|
return [
|
|
3727
3706
|
{
|
|
3728
3707
|
type: R.literal,
|
|
@@ -3731,14 +3710,14 @@ function Oe(e, t, r, n, i, s, o) {
|
|
|
3731
3710
|
];
|
|
3732
3711
|
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
|
3733
3712
|
var h = u[l];
|
|
3734
|
-
if (
|
|
3713
|
+
if (Wt(h)) {
|
|
3735
3714
|
a.push({
|
|
3736
3715
|
type: R.literal,
|
|
3737
3716
|
value: h.value
|
|
3738
3717
|
});
|
|
3739
3718
|
continue;
|
|
3740
3719
|
}
|
|
3741
|
-
if (
|
|
3720
|
+
if (wi(h)) {
|
|
3742
3721
|
typeof s == "number" && a.push({
|
|
3743
3722
|
type: R.literal,
|
|
3744
3723
|
value: r.getNumberFormat(t).format(s)
|
|
@@ -3747,89 +3726,89 @@ function Oe(e, t, r, n, i, s, o) {
|
|
|
3747
3726
|
}
|
|
3748
3727
|
var c = h.value;
|
|
3749
3728
|
if (!(i && c in i))
|
|
3750
|
-
throw new
|
|
3751
|
-
var
|
|
3752
|
-
if (
|
|
3753
|
-
(!
|
|
3754
|
-
type: typeof
|
|
3755
|
-
value:
|
|
3729
|
+
throw new Yi(c, o);
|
|
3730
|
+
var p = i[c];
|
|
3731
|
+
if (Ei(h)) {
|
|
3732
|
+
(!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), a.push({
|
|
3733
|
+
type: typeof p == "string" ? R.literal : R.object,
|
|
3734
|
+
value: p
|
|
3756
3735
|
});
|
|
3757
3736
|
continue;
|
|
3758
3737
|
}
|
|
3759
|
-
if (
|
|
3760
|
-
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;
|
|
3761
3740
|
a.push({
|
|
3762
3741
|
type: R.literal,
|
|
3763
|
-
value: r.getDateTimeFormat(t, y).format(
|
|
3742
|
+
value: r.getDateTimeFormat(t, y).format(p)
|
|
3764
3743
|
});
|
|
3765
3744
|
continue;
|
|
3766
3745
|
}
|
|
3767
|
-
if (
|
|
3768
|
-
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;
|
|
3769
3748
|
a.push({
|
|
3770
3749
|
type: R.literal,
|
|
3771
|
-
value: r.getDateTimeFormat(t, y).format(
|
|
3750
|
+
value: r.getDateTimeFormat(t, y).format(p)
|
|
3772
3751
|
});
|
|
3773
3752
|
continue;
|
|
3774
3753
|
}
|
|
3775
|
-
if (
|
|
3776
|
-
var y = typeof h.style == "string" ? n.number[h.style] :
|
|
3777
|
-
y && y.scale && (
|
|
3754
|
+
if (Br(h)) {
|
|
3755
|
+
var y = typeof h.style == "string" ? n.number[h.style] : Rr(h.style) ? h.style.parsedOptions : void 0;
|
|
3756
|
+
y && y.scale && (p = p * (y.scale || 1)), a.push({
|
|
3778
3757
|
type: R.literal,
|
|
3779
|
-
value: r.getNumberFormat(t, y).format(
|
|
3758
|
+
value: r.getNumberFormat(t, y).format(p)
|
|
3780
3759
|
});
|
|
3781
3760
|
continue;
|
|
3782
3761
|
}
|
|
3783
|
-
if (
|
|
3762
|
+
if (Ir(h)) {
|
|
3784
3763
|
var g = h.children, d = h.value, b = i[d];
|
|
3785
|
-
if (!
|
|
3786
|
-
throw new
|
|
3787
|
-
var
|
|
3788
|
-
return
|
|
3764
|
+
if (!es(b))
|
|
3765
|
+
throw new Qi(d, "function", o);
|
|
3766
|
+
var S = Oe(g, t, r, n, i, s), O = b(S.map(function(M) {
|
|
3767
|
+
return M.value;
|
|
3789
3768
|
}));
|
|
3790
|
-
Array.isArray(O) || (O = [O]), a.push.apply(a, O.map(function(
|
|
3769
|
+
Array.isArray(O) || (O = [O]), a.push.apply(a, O.map(function(M) {
|
|
3791
3770
|
return {
|
|
3792
|
-
type: typeof
|
|
3793
|
-
value:
|
|
3771
|
+
type: typeof M == "string" ? R.literal : R.object,
|
|
3772
|
+
value: M
|
|
3794
3773
|
};
|
|
3795
3774
|
}));
|
|
3796
3775
|
}
|
|
3797
|
-
if (
|
|
3798
|
-
var P = h.options[
|
|
3776
|
+
if (Or(h)) {
|
|
3777
|
+
var P = h.options[p] || h.options.other;
|
|
3799
3778
|
if (!P)
|
|
3800
|
-
throw new
|
|
3779
|
+
throw new er(h.value, p, Object.keys(h.options), o);
|
|
3801
3780
|
a.push.apply(a, Oe(P.value, t, r, n, i));
|
|
3802
3781
|
continue;
|
|
3803
3782
|
}
|
|
3804
|
-
if (
|
|
3805
|
-
var P = h.options["=".concat(
|
|
3783
|
+
if (Cr(h)) {
|
|
3784
|
+
var P = h.options["=".concat(p)];
|
|
3806
3785
|
if (!P) {
|
|
3807
3786
|
if (!Intl.PluralRules)
|
|
3808
|
-
throw new
|
|
3787
|
+
throw new De(`Intl.PluralRules is not available in this environment.
|
|
3809
3788
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3810
|
-
`,
|
|
3811
|
-
var L = r.getPluralRules(t, { type: h.pluralType }).select(
|
|
3789
|
+
`, se.MISSING_INTL_API, o);
|
|
3790
|
+
var L = r.getPluralRules(t, { type: h.pluralType }).select(p - (h.offset || 0));
|
|
3812
3791
|
P = h.options[L] || h.options.other;
|
|
3813
3792
|
}
|
|
3814
3793
|
if (!P)
|
|
3815
|
-
throw new
|
|
3816
|
-
a.push.apply(a, Oe(P.value, t, r, n, i,
|
|
3794
|
+
throw new er(h.value, p, Object.keys(h.options), o);
|
|
3795
|
+
a.push.apply(a, Oe(P.value, t, r, n, i, p - (h.offset || 0)));
|
|
3817
3796
|
continue;
|
|
3818
3797
|
}
|
|
3819
3798
|
}
|
|
3820
|
-
return
|
|
3799
|
+
return Ki(a);
|
|
3821
3800
|
}
|
|
3822
|
-
function
|
|
3823
|
-
return t ?
|
|
3824
|
-
return r[n] =
|
|
3801
|
+
function ts(e, t) {
|
|
3802
|
+
return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3803
|
+
return r[n] = w(w({}, e[n]), t[n] || {}), r;
|
|
3825
3804
|
}, {})) : e;
|
|
3826
3805
|
}
|
|
3827
|
-
function
|
|
3806
|
+
function rs(e, t) {
|
|
3828
3807
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3829
|
-
return r[n] =
|
|
3830
|
-
},
|
|
3808
|
+
return r[n] = ts(e[n], t[n]), r;
|
|
3809
|
+
}, w({}, e)) : e;
|
|
3831
3810
|
}
|
|
3832
|
-
function
|
|
3811
|
+
function Qe(e) {
|
|
3833
3812
|
return {
|
|
3834
3813
|
create: function() {
|
|
3835
3814
|
return {
|
|
@@ -3843,39 +3822,39 @@ function Ke(e) {
|
|
|
3843
3822
|
}
|
|
3844
3823
|
};
|
|
3845
3824
|
}
|
|
3846
|
-
function
|
|
3825
|
+
function ns(e) {
|
|
3847
3826
|
return e === void 0 && (e = {
|
|
3848
3827
|
number: {},
|
|
3849
3828
|
dateTime: {},
|
|
3850
3829
|
pluralRules: {}
|
|
3851
3830
|
}), {
|
|
3852
|
-
getNumberFormat:
|
|
3831
|
+
getNumberFormat: Ze(function() {
|
|
3853
3832
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3854
3833
|
r[n] = arguments[n];
|
|
3855
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3834
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, re([void 0], r, !1)))();
|
|
3856
3835
|
}, {
|
|
3857
|
-
cache:
|
|
3858
|
-
strategy:
|
|
3836
|
+
cache: Qe(e.number),
|
|
3837
|
+
strategy: Je.variadic
|
|
3859
3838
|
}),
|
|
3860
|
-
getDateTimeFormat:
|
|
3839
|
+
getDateTimeFormat: Ze(function() {
|
|
3861
3840
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3862
3841
|
r[n] = arguments[n];
|
|
3863
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3842
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, re([void 0], r, !1)))();
|
|
3864
3843
|
}, {
|
|
3865
|
-
cache:
|
|
3866
|
-
strategy:
|
|
3844
|
+
cache: Qe(e.dateTime),
|
|
3845
|
+
strategy: Je.variadic
|
|
3867
3846
|
}),
|
|
3868
|
-
getPluralRules:
|
|
3847
|
+
getPluralRules: Ze(function() {
|
|
3869
3848
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3870
3849
|
r[n] = arguments[n];
|
|
3871
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3850
|
+
return new ((t = Intl.PluralRules).bind.apply(t, re([void 0], r, !1)))();
|
|
3872
3851
|
}, {
|
|
3873
|
-
cache:
|
|
3874
|
-
strategy:
|
|
3852
|
+
cache: Qe(e.pluralRules),
|
|
3853
|
+
strategy: Je.variadic
|
|
3875
3854
|
})
|
|
3876
3855
|
};
|
|
3877
3856
|
}
|
|
3878
|
-
var
|
|
3857
|
+
var is = (
|
|
3879
3858
|
/** @class */
|
|
3880
3859
|
function() {
|
|
3881
3860
|
function e(t, r, n, i) {
|
|
@@ -3889,8 +3868,8 @@ var os = (
|
|
|
3889
3868
|
var u = s.formatToParts(l);
|
|
3890
3869
|
if (u.length === 1)
|
|
3891
3870
|
return u[0].value;
|
|
3892
|
-
var h = u.reduce(function(c,
|
|
3893
|
-
return !c.length ||
|
|
3871
|
+
var h = u.reduce(function(c, p) {
|
|
3872
|
+
return !c.length || p.type !== R.literal || typeof c[c.length - 1] != "string" ? c.push(p.value) : c[c.length - 1] += p.value, c;
|
|
3894
3873
|
}, []);
|
|
3895
3874
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3896
3875
|
}, this.formatToParts = function(l) {
|
|
@@ -3907,13 +3886,13 @@ var os = (
|
|
|
3907
3886
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3908
3887
|
var o = i || {};
|
|
3909
3888
|
o.formatters;
|
|
3910
|
-
var a =
|
|
3911
|
-
this.ast = e.__parse(t,
|
|
3889
|
+
var a = Dn(o, ["formatters"]);
|
|
3890
|
+
this.ast = e.__parse(t, w(w({}, a), { locale: this.resolvedLocale }));
|
|
3912
3891
|
} else
|
|
3913
3892
|
this.ast = t;
|
|
3914
3893
|
if (!Array.isArray(this.ast))
|
|
3915
3894
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3916
|
-
this.formats =
|
|
3895
|
+
this.formats = rs(e.formats, n), this.formatters = i && i.formatters || ns(this.formatterCache);
|
|
3917
3896
|
}
|
|
3918
3897
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3919
3898
|
get: function() {
|
|
@@ -3926,7 +3905,7 @@ var os = (
|
|
|
3926
3905
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3927
3906
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3928
3907
|
}
|
|
3929
|
-
}, e.__parse =
|
|
3908
|
+
}, e.__parse = qi, e.formats = {
|
|
3930
3909
|
number: {
|
|
3931
3910
|
integer: {
|
|
3932
3911
|
maximumFractionDigits: 0
|
|
@@ -3987,7 +3966,7 @@ var os = (
|
|
|
3987
3966
|
}, e;
|
|
3988
3967
|
}()
|
|
3989
3968
|
);
|
|
3990
|
-
function
|
|
3969
|
+
function ss(e, t) {
|
|
3991
3970
|
if (t == null)
|
|
3992
3971
|
return;
|
|
3993
3972
|
if (t in e)
|
|
@@ -4008,92 +3987,92 @@ function as(e, t) {
|
|
|
4008
3987
|
n = void 0;
|
|
4009
3988
|
return n;
|
|
4010
3989
|
}
|
|
4011
|
-
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) => {
|
|
4012
3991
|
if (t == null)
|
|
4013
3992
|
return;
|
|
4014
3993
|
if (t in Z && e in Z[t])
|
|
4015
3994
|
return Z[t][e];
|
|
4016
|
-
const r =
|
|
3995
|
+
const r = Fe(t);
|
|
4017
3996
|
for (let n = 0; n < r.length; n++) {
|
|
4018
|
-
const i = r[n], s =
|
|
3997
|
+
const i = r[n], s = us(i, e);
|
|
4019
3998
|
if (s)
|
|
4020
|
-
return
|
|
3999
|
+
return os(e, t, s);
|
|
4021
4000
|
}
|
|
4022
4001
|
};
|
|
4023
|
-
let
|
|
4024
|
-
const
|
|
4025
|
-
function
|
|
4026
|
-
return
|
|
4002
|
+
let bt;
|
|
4003
|
+
const ue = Ne({});
|
|
4004
|
+
function as(e) {
|
|
4005
|
+
return bt[e] || null;
|
|
4027
4006
|
}
|
|
4028
|
-
function
|
|
4029
|
-
return e in
|
|
4007
|
+
function jr(e) {
|
|
4008
|
+
return e in bt;
|
|
4030
4009
|
}
|
|
4031
|
-
function
|
|
4032
|
-
if (
|
|
4010
|
+
function us(e, t) {
|
|
4011
|
+
if (!jr(e))
|
|
4033
4012
|
return null;
|
|
4034
|
-
const r =
|
|
4035
|
-
return
|
|
4013
|
+
const r = as(e);
|
|
4014
|
+
return ss(r, t);
|
|
4036
4015
|
}
|
|
4037
|
-
function
|
|
4016
|
+
function ls(e) {
|
|
4038
4017
|
if (e == null)
|
|
4039
4018
|
return;
|
|
4040
|
-
const t =
|
|
4019
|
+
const t = Fe(e);
|
|
4041
4020
|
for (let r = 0; r < t.length; r++) {
|
|
4042
4021
|
const n = t[r];
|
|
4043
|
-
if (
|
|
4022
|
+
if (jr(n))
|
|
4044
4023
|
return n;
|
|
4045
4024
|
}
|
|
4046
4025
|
}
|
|
4047
|
-
function
|
|
4048
|
-
delete Z[e],
|
|
4026
|
+
function $r(e, ...t) {
|
|
4027
|
+
delete Z[e], ue.update((r) => (r[e] = pi.all([r[e] || {}, ...t]), r));
|
|
4049
4028
|
}
|
|
4050
|
-
|
|
4051
|
-
[
|
|
4029
|
+
ae(
|
|
4030
|
+
[ue],
|
|
4052
4031
|
([e]) => Object.keys(e)
|
|
4053
4032
|
);
|
|
4054
|
-
|
|
4033
|
+
ue.subscribe((e) => bt = e);
|
|
4055
4034
|
const Ce = {};
|
|
4056
|
-
function
|
|
4035
|
+
function hs(e, t) {
|
|
4057
4036
|
Ce[e].delete(t), Ce[e].size === 0 && delete Ce[e];
|
|
4058
4037
|
}
|
|
4059
|
-
function
|
|
4038
|
+
function Vr(e) {
|
|
4060
4039
|
return Ce[e];
|
|
4061
4040
|
}
|
|
4062
|
-
function
|
|
4063
|
-
return
|
|
4064
|
-
const r =
|
|
4041
|
+
function fs(e) {
|
|
4042
|
+
return Fe(e).map((t) => {
|
|
4043
|
+
const r = Vr(t);
|
|
4065
4044
|
return [t, r ? [...r] : []];
|
|
4066
4045
|
}).filter(([, t]) => t.length > 0);
|
|
4067
4046
|
}
|
|
4068
|
-
function
|
|
4069
|
-
return e == null ? !1 :
|
|
4047
|
+
function ct(e) {
|
|
4048
|
+
return e == null ? !1 : Fe(e).some(
|
|
4070
4049
|
(t) => {
|
|
4071
4050
|
var r;
|
|
4072
|
-
return (r =
|
|
4051
|
+
return (r = Vr(t)) == null ? void 0 : r.size;
|
|
4073
4052
|
}
|
|
4074
4053
|
);
|
|
4075
4054
|
}
|
|
4076
|
-
function
|
|
4055
|
+
function cs(e, t) {
|
|
4077
4056
|
return Promise.all(
|
|
4078
|
-
t.map((n) => (
|
|
4079
|
-
).then((n) =>
|
|
4080
|
-
}
|
|
4081
|
-
const
|
|
4082
|
-
function
|
|
4083
|
-
if (!
|
|
4084
|
-
return e in
|
|
4085
|
-
const t =
|
|
4086
|
-
return
|
|
4057
|
+
t.map((n) => (hs(e, n), n().then((i) => i.default || i)))
|
|
4058
|
+
).then((n) => $r(e, ...n));
|
|
4059
|
+
}
|
|
4060
|
+
const ce = {};
|
|
4061
|
+
function Xr(e) {
|
|
4062
|
+
if (!ct(e))
|
|
4063
|
+
return e in ce ? ce[e] : Promise.resolve();
|
|
4064
|
+
const t = fs(e);
|
|
4065
|
+
return ce[e] = Promise.all(
|
|
4087
4066
|
t.map(
|
|
4088
|
-
([r, n]) =>
|
|
4067
|
+
([r, n]) => cs(r, n)
|
|
4089
4068
|
)
|
|
4090
4069
|
).then(() => {
|
|
4091
|
-
if (
|
|
4092
|
-
return
|
|
4093
|
-
delete
|
|
4094
|
-
}),
|
|
4070
|
+
if (ct(e))
|
|
4071
|
+
return Xr(e);
|
|
4072
|
+
delete ce[e];
|
|
4073
|
+
}), ce[e];
|
|
4095
4074
|
}
|
|
4096
|
-
const
|
|
4075
|
+
const ms = {
|
|
4097
4076
|
number: {
|
|
4098
4077
|
scientific: { notation: "scientific" },
|
|
4099
4078
|
engineering: { notation: "engineering" },
|
|
@@ -4122,135 +4101,135 @@ const ds = {
|
|
|
4122
4101
|
timeZoneName: "short"
|
|
4123
4102
|
}
|
|
4124
4103
|
}
|
|
4125
|
-
},
|
|
4104
|
+
}, ps = {
|
|
4126
4105
|
fallbackLocale: null,
|
|
4127
4106
|
loadingDelay: 200,
|
|
4128
|
-
formats:
|
|
4107
|
+
formats: ms,
|
|
4129
4108
|
warnOnMissingMessages: !0,
|
|
4130
4109
|
handleMissingMessage: void 0,
|
|
4131
4110
|
ignoreTag: !0
|
|
4132
|
-
},
|
|
4133
|
-
function
|
|
4134
|
-
return
|
|
4111
|
+
}, ds = ps;
|
|
4112
|
+
function oe() {
|
|
4113
|
+
return ds;
|
|
4135
4114
|
}
|
|
4136
|
-
const
|
|
4137
|
-
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) => {
|
|
4138
4117
|
for (var r in t || (t = {}))
|
|
4139
|
-
|
|
4140
|
-
if (
|
|
4141
|
-
for (var r of
|
|
4142
|
-
|
|
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]);
|
|
4143
4122
|
return e;
|
|
4144
|
-
},
|
|
4145
|
-
let
|
|
4146
|
-
const
|
|
4147
|
-
function
|
|
4123
|
+
}, ws = (e, t) => bs(e, ys(t));
|
|
4124
|
+
let mt;
|
|
4125
|
+
const Re = Ne(null);
|
|
4126
|
+
function nr(e) {
|
|
4148
4127
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4149
4128
|
}
|
|
4150
|
-
function
|
|
4151
|
-
const r =
|
|
4152
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4129
|
+
function Fe(e, t = oe().fallbackLocale) {
|
|
4130
|
+
const r = nr(e);
|
|
4131
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...nr(t)])] : r;
|
|
4153
4132
|
}
|
|
4154
4133
|
function q() {
|
|
4155
|
-
return
|
|
4134
|
+
return mt != null ? mt : void 0;
|
|
4156
4135
|
}
|
|
4157
|
-
|
|
4158
|
-
|
|
4136
|
+
Re.subscribe((e) => {
|
|
4137
|
+
mt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4159
4138
|
});
|
|
4160
|
-
const
|
|
4161
|
-
if (e &&
|
|
4162
|
-
const { loadingDelay: t } =
|
|
4139
|
+
const Ss = (e) => {
|
|
4140
|
+
if (e && ls(e) && ct(e)) {
|
|
4141
|
+
const { loadingDelay: t } = oe();
|
|
4163
4142
|
let r;
|
|
4164
4143
|
return typeof window != "undefined" && q() != null && t ? r = window.setTimeout(
|
|
4165
|
-
() =>
|
|
4144
|
+
() => Ye.set(!0),
|
|
4166
4145
|
t
|
|
4167
|
-
) :
|
|
4168
|
-
|
|
4146
|
+
) : Ye.set(!0), Xr(e).then(() => {
|
|
4147
|
+
Re.set(e);
|
|
4169
4148
|
}).finally(() => {
|
|
4170
|
-
clearTimeout(r),
|
|
4149
|
+
clearTimeout(r), Ye.set(!1);
|
|
4171
4150
|
});
|
|
4172
4151
|
}
|
|
4173
|
-
return
|
|
4174
|
-
}, J =
|
|
4175
|
-
set:
|
|
4176
|
-
}),
|
|
4152
|
+
return Re.set(e);
|
|
4153
|
+
}, J = ws(Es({}, Re), {
|
|
4154
|
+
set: Ss
|
|
4155
|
+
}), Ue = (e) => {
|
|
4177
4156
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4178
4157
|
return (n) => {
|
|
4179
4158
|
const i = JSON.stringify(n);
|
|
4180
4159
|
return i in t ? t[i] : t[i] = e(n);
|
|
4181
4160
|
};
|
|
4182
4161
|
};
|
|
4183
|
-
var
|
|
4162
|
+
var xs = Object.defineProperty, Le = Object.getOwnPropertySymbols, zr = Object.prototype.hasOwnProperty, Wr = 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) => {
|
|
4184
4163
|
for (var r in t || (t = {}))
|
|
4185
|
-
zr.call(t, r) &&
|
|
4186
|
-
if (
|
|
4187
|
-
for (var r of
|
|
4188
|
-
|
|
4164
|
+
zr.call(t, r) && ir(e, r, t[r]);
|
|
4165
|
+
if (Le)
|
|
4166
|
+
for (var r of Le(t))
|
|
4167
|
+
Wr.call(t, r) && ir(e, r, t[r]);
|
|
4189
4168
|
return e;
|
|
4190
|
-
},
|
|
4169
|
+
}, le = (e, t) => {
|
|
4191
4170
|
var r = {};
|
|
4192
4171
|
for (var n in e)
|
|
4193
4172
|
zr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4194
|
-
if (e != null &&
|
|
4195
|
-
for (var n of
|
|
4196
|
-
t.indexOf(n) < 0 &&
|
|
4173
|
+
if (e != null && Le)
|
|
4174
|
+
for (var n of Le(e))
|
|
4175
|
+
t.indexOf(n) < 0 && Wr.call(e, n) && (r[n] = e[n]);
|
|
4197
4176
|
return r;
|
|
4198
4177
|
};
|
|
4199
|
-
const
|
|
4200
|
-
const { formats: r } =
|
|
4178
|
+
const ge = (e, t) => {
|
|
4179
|
+
const { formats: r } = oe();
|
|
4201
4180
|
if (e in r && t in r[e])
|
|
4202
4181
|
return r[e][t];
|
|
4203
4182
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4204
|
-
},
|
|
4183
|
+
}, Ts = Ue(
|
|
4205
4184
|
(e) => {
|
|
4206
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4185
|
+
var t = e, { locale: r, format: n } = t, i = le(t, ["locale", "format"]);
|
|
4207
4186
|
if (r == null)
|
|
4208
4187
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4209
|
-
return n && (i =
|
|
4188
|
+
return n && (i = ge("number", n)), new Intl.NumberFormat(r, i);
|
|
4210
4189
|
}
|
|
4211
|
-
),
|
|
4190
|
+
), Hs = Ue(
|
|
4212
4191
|
(e) => {
|
|
4213
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4192
|
+
var t = e, { locale: r, format: n } = t, i = le(t, ["locale", "format"]);
|
|
4214
4193
|
if (r == null)
|
|
4215
4194
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4216
|
-
return n ? i =
|
|
4195
|
+
return n ? i = ge("date", n) : Object.keys(i).length === 0 && (i = ge("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4217
4196
|
}
|
|
4218
|
-
),
|
|
4197
|
+
), Bs = Ue(
|
|
4219
4198
|
(e) => {
|
|
4220
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4199
|
+
var t = e, { locale: r, format: n } = t, i = le(t, ["locale", "format"]);
|
|
4221
4200
|
if (r == null)
|
|
4222
4201
|
throw new Error(
|
|
4223
4202
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4224
4203
|
);
|
|
4225
|
-
return n ? i =
|
|
4204
|
+
return n ? i = ge("time", n) : Object.keys(i).length === 0 && (i = ge("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4226
4205
|
}
|
|
4227
|
-
),
|
|
4206
|
+
), As = (e = {}) => {
|
|
4228
4207
|
var t = e, {
|
|
4229
4208
|
locale: r = q()
|
|
4230
|
-
} = t, n =
|
|
4209
|
+
} = t, n = le(t, [
|
|
4231
4210
|
"locale"
|
|
4232
4211
|
]);
|
|
4233
|
-
return
|
|
4234
|
-
},
|
|
4212
|
+
return Ts(yt({ locale: r }, n));
|
|
4213
|
+
}, Ps = (e = {}) => {
|
|
4235
4214
|
var t = e, {
|
|
4236
4215
|
locale: r = q()
|
|
4237
|
-
} = t, n =
|
|
4216
|
+
} = t, n = le(t, [
|
|
4238
4217
|
"locale"
|
|
4239
4218
|
]);
|
|
4240
|
-
return
|
|
4241
|
-
},
|
|
4219
|
+
return Hs(yt({ locale: r }, n));
|
|
4220
|
+
}, Os = (e = {}) => {
|
|
4242
4221
|
var t = e, {
|
|
4243
4222
|
locale: r = q()
|
|
4244
|
-
} = t, n =
|
|
4223
|
+
} = t, n = le(t, [
|
|
4245
4224
|
"locale"
|
|
4246
4225
|
]);
|
|
4247
|
-
return
|
|
4248
|
-
},
|
|
4226
|
+
return Bs(yt({ locale: r }, n));
|
|
4227
|
+
}, Cs = Ue(
|
|
4249
4228
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4250
|
-
(e, t = q()) => new
|
|
4251
|
-
ignoreTag:
|
|
4229
|
+
(e, t = q()) => new is(e, t, oe().formats, {
|
|
4230
|
+
ignoreTag: oe().ignoreTag
|
|
4252
4231
|
})
|
|
4253
|
-
),
|
|
4232
|
+
), Is = (e, t = {}) => {
|
|
4254
4233
|
var r, n, i, s;
|
|
4255
4234
|
let o = t;
|
|
4256
4235
|
typeof e == "object" && (o = e, e = o.id);
|
|
@@ -4263,9 +4242,9 @@ const de = (e, t) => {
|
|
|
4263
4242
|
throw new Error(
|
|
4264
4243
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4265
4244
|
);
|
|
4266
|
-
let h =
|
|
4245
|
+
let h = kr(e, l);
|
|
4267
4246
|
if (!h)
|
|
4268
|
-
h = (s = (i = (n = (r =
|
|
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;
|
|
4269
4248
|
else if (typeof h != "string")
|
|
4270
4249
|
return console.warn(
|
|
4271
4250
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4274,34 +4253,34 @@ const de = (e, t) => {
|
|
|
4274
4253
|
return h;
|
|
4275
4254
|
let c = h;
|
|
4276
4255
|
try {
|
|
4277
|
-
c =
|
|
4278
|
-
} catch (
|
|
4279
|
-
|
|
4256
|
+
c = Cs(h, l).format(a);
|
|
4257
|
+
} catch (p) {
|
|
4258
|
+
p instanceof Error && console.warn(
|
|
4280
4259
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
4281
|
-
|
|
4260
|
+
p.message
|
|
4282
4261
|
);
|
|
4283
4262
|
}
|
|
4284
4263
|
return c;
|
|
4285
|
-
},
|
|
4286
|
-
|
|
4287
|
-
|
|
4288
|
-
|
|
4289
|
-
|
|
4264
|
+
}, Rs = (e, t) => Os(t).format(e), Ls = (e, t) => Ps(t).format(e), Ms = (e, t) => As(t).format(e), Ns = (e, t = q()) => kr(e, t), Ds = ae([J, ue], () => Is);
|
|
4265
|
+
ae([J], () => Rs);
|
|
4266
|
+
ae([J], () => Ls);
|
|
4267
|
+
ae([J], () => Ms);
|
|
4268
|
+
ae([J, ue], () => Ns);
|
|
4290
4269
|
window.emWidgets = { topic: Qn };
|
|
4291
|
-
const
|
|
4270
|
+
const sr = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4292
4271
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
4293
|
-
function
|
|
4272
|
+
function Fs({ withLocale: e, translations: t }) {
|
|
4294
4273
|
J.subscribe((r) => {
|
|
4295
|
-
r == null && (
|
|
4274
|
+
r == null && (ue.set(t), J.set(e));
|
|
4296
4275
|
});
|
|
4297
4276
|
}
|
|
4298
|
-
function
|
|
4299
|
-
|
|
4277
|
+
function or(e, t) {
|
|
4278
|
+
$r(e, t);
|
|
4300
4279
|
}
|
|
4301
|
-
function
|
|
4280
|
+
function Us(e) {
|
|
4302
4281
|
J.set(e);
|
|
4303
4282
|
}
|
|
4304
|
-
const
|
|
4283
|
+
const ar = {
|
|
4305
4284
|
en: {
|
|
4306
4285
|
goToLoginButton: "Go To Login",
|
|
4307
4286
|
error: "We encountered an issue. Please go to Login to receive your SMS code."
|
|
@@ -4347,13 +4326,13 @@ const lr = {
|
|
|
4347
4326
|
error: "We encountered an issue. Please go to Login to receive your SMS code."
|
|
4348
4327
|
}
|
|
4349
4328
|
};
|
|
4350
|
-
function
|
|
4329
|
+
function Gs(e, t) {
|
|
4351
4330
|
if (e) {
|
|
4352
4331
|
const r = document.createElement("style");
|
|
4353
4332
|
r.innerHTML = t, e.appendChild(r);
|
|
4354
4333
|
}
|
|
4355
4334
|
}
|
|
4356
|
-
function
|
|
4335
|
+
function ks(e, t) {
|
|
4357
4336
|
if (!e || !t)
|
|
4358
4337
|
return;
|
|
4359
4338
|
const r = new URL(t);
|
|
@@ -4364,7 +4343,7 @@ function $s(e, t) {
|
|
|
4364
4343
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4365
4344
|
});
|
|
4366
4345
|
}
|
|
4367
|
-
function
|
|
4346
|
+
function js(e, t, r) {
|
|
4368
4347
|
if (window.emMessageBus) {
|
|
4369
4348
|
const n = document.createElement("style");
|
|
4370
4349
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4384,7 +4363,7 @@ if (typeof window != "undefined") {
|
|
|
4384
4363
|
}
|
|
4385
4364
|
};
|
|
4386
4365
|
};
|
|
4387
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep1-
|
|
4366
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep1-BG5wmTbz.js").then(({ default: t }) => {
|
|
4388
4367
|
!customElements.get("general-player-register-form-step1") && customElements.define("general-player-register-form-step1", t.element);
|
|
4389
4368
|
});
|
|
4390
4369
|
}
|
|
@@ -4400,7 +4379,7 @@ if (typeof window != "undefined") {
|
|
|
4400
4379
|
}
|
|
4401
4380
|
};
|
|
4402
4381
|
};
|
|
4403
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep2-
|
|
4382
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep2-CZ455r_G.js").then(({ default: t }) => {
|
|
4404
4383
|
!customElements.get("general-player-register-form-step2") && customElements.define("general-player-register-form-step2", t.element);
|
|
4405
4384
|
});
|
|
4406
4385
|
}
|
|
@@ -4416,7 +4395,7 @@ if (typeof window != "undefined") {
|
|
|
4416
4395
|
}
|
|
4417
4396
|
};
|
|
4418
4397
|
};
|
|
4419
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep3-
|
|
4398
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep3-BhS8JzCj.js").then(({ default: t }) => {
|
|
4420
4399
|
!customElements.get("general-player-register-form-step3") && customElements.define("general-player-register-form-step3", t.element);
|
|
4421
4400
|
});
|
|
4422
4401
|
}
|
|
@@ -4432,85 +4411,85 @@ if (typeof window != "undefined") {
|
|
|
4432
4411
|
}
|
|
4433
4412
|
};
|
|
4434
4413
|
};
|
|
4435
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-
|
|
4414
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-BrqgOUMw.js").then(({ default: t }) => {
|
|
4436
4415
|
!customElements.get("general-player-sms-verification-form") && customElements.define("general-player-sms-verification-form", t.element);
|
|
4437
4416
|
});
|
|
4438
4417
|
}
|
|
4439
|
-
function
|
|
4440
|
-
|
|
4418
|
+
function $s(e) {
|
|
4419
|
+
dn(e, "svelte-2vt9w2", ".RegisterFormWrapper{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8));border-radius:15px}.RegisterFormContainer{padding:25px;height:404px;overflow-y:auto;scrollbar-color:var(--emw--color-gray-100, #E6E6E6) var(--emw--color-gray-50, #F9F8F8);scrollbar-width:thin}.RegisterFormContainer.RegisterFormContainerMobile{padding:40px 20px;height:65vh;overflow-y:scroll}.RegisterFormContainer::-webkit-scrollbar{width:6px}.RegisterFormContainer::-webkit-scrollbar-track{background:var(--emw--color-gray-50, #F9F8F8)}.RegisterFormContainer::-webkit-scrollbar-thumb{background:var(--emw--color-gray-100, #E6E6E6)}.RegisterSteps{display:flex;gap:10px;padding:20px 0 30px}.RegisterFirstStepDash,.RegisterSecondStepDash,.RegisterThirdStepDash{width:50px;height:2px;background-color:var(--emw--color-gray-100, #E6E6E6)}.RegisterStepDashColor{background-color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.RegisterStepNext{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));font-family:var(--emw--button-typography);width:100%;height:60px;padding:0;text-transform:uppercase;font-size:var(--emw--font-size-medium, 16px);cursor:pointer;margin-top:24px}.SMSErrorText{height:80%;display:flex;align-items:center}.RegisterConfirmation{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;margin-top:60px}.RegisterConfirmation svg{width:74px}.RegisterConfirmation .RegisterConfirmationTitle{color:var(--emw--color-valid, var(--emw--color-valid, #48952a));font-size:24px;font-weight:var(--emw--font-weight-normal, 400);text-transform:uppercase;margin-bottom:0}.RegisterConfirmation .RegisterConfirmationSubtitle{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-size:var(--emw--font-size-medium, 16px);line-height:19px;margin-bottom:24px}.RegisterConfirmation .RegisterConfirmationNote{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-size:var(--emw--font-size-medium, 16px);line-height:22px}.RegisterConfirmationGoToLogin{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));width:100%;height:60px;padding:0;text-transform:uppercase;font-size:var(--emw--font-size-medium, 16px);cursor:pointer;margin-top:24px}");
|
|
4441
4420
|
}
|
|
4442
|
-
function
|
|
4421
|
+
function Vs(e) {
|
|
4443
4422
|
let t, r, n, i, s, o, a, l = (
|
|
4444
4423
|
/*showRegisterStepOne*/
|
|
4445
4424
|
(e[18] || /*showRegisterStepTwo*/
|
|
4446
4425
|
e[19] || /*showRegisterStepThree*/
|
|
4447
|
-
e[20]) &&
|
|
4426
|
+
e[20]) && ur(e)
|
|
4448
4427
|
), u = (
|
|
4449
4428
|
/*showRegisterStepOne*/
|
|
4450
|
-
e[18] &&
|
|
4429
|
+
e[18] && lr(e)
|
|
4451
4430
|
), h = (
|
|
4452
4431
|
/*showRegisterStepTwo*/
|
|
4453
|
-
e[19] &&
|
|
4432
|
+
e[19] && hr(e)
|
|
4454
4433
|
), c = (
|
|
4455
4434
|
/*showRegisterStepThree*/
|
|
4456
|
-
e[20] &&
|
|
4435
|
+
e[20] && fr(e)
|
|
4457
4436
|
);
|
|
4458
|
-
function
|
|
4437
|
+
function p(b, S) {
|
|
4459
4438
|
if (
|
|
4460
4439
|
/*smsverification*/
|
|
4461
4440
|
b[7] && /*showSmsVerification*/
|
|
4462
4441
|
b[21]
|
|
4463
4442
|
)
|
|
4464
|
-
return
|
|
4443
|
+
return zs;
|
|
4465
4444
|
if (
|
|
4466
4445
|
/*smsSendApiFailed*/
|
|
4467
4446
|
b[31]
|
|
4468
4447
|
)
|
|
4469
|
-
return
|
|
4448
|
+
return Xs;
|
|
4470
4449
|
}
|
|
4471
|
-
let y =
|
|
4450
|
+
let y = p(e), g = y && y(e), d = (
|
|
4472
4451
|
/*showConfirmation*/
|
|
4473
|
-
e[22] &&
|
|
4452
|
+
e[22] && cr(e)
|
|
4474
4453
|
);
|
|
4475
4454
|
return {
|
|
4476
4455
|
c() {
|
|
4477
|
-
t =
|
|
4478
|
-
(e[35] ? "RegisterFormContainerMobile" : "")),
|
|
4456
|
+
t = B("div"), r = B("div"), l && l.c(), n = G(), u && u.c(), i = G(), h && h.c(), s = G(), c && c.c(), o = G(), g && g.c(), a = G(), d && d.c(), x(r, "class", "RegisterFormContainer " + /*isMobile*/
|
|
4457
|
+
(e[35] ? "RegisterFormContainerMobile" : "")), x(t, "class", "RegisterFormWrapper");
|
|
4479
4458
|
},
|
|
4480
|
-
m(b,
|
|
4481
|
-
U(b, t,
|
|
4459
|
+
m(b, S) {
|
|
4460
|
+
U(b, t, S), E(t, r), l && l.m(r, null), E(r, n), u && u.m(r, null), E(r, i), h && h.m(r, null), E(r, s), c && c.m(r, null), E(r, o), g && g.m(r, null), E(r, a), d && d.m(r, null);
|
|
4482
4461
|
},
|
|
4483
|
-
p(b,
|
|
4462
|
+
p(b, S) {
|
|
4484
4463
|
/*showRegisterStepOne*/
|
|
4485
4464
|
b[18] || /*showRegisterStepTwo*/
|
|
4486
4465
|
b[19] || /*showRegisterStepThree*/
|
|
4487
|
-
b[20] ? l ? l.p(b,
|
|
4488
|
-
b[18] ? u ? u.p(b,
|
|
4489
|
-
b[19] ? h ? h.p(b,
|
|
4490
|
-
b[20] ? c ? c.p(b,
|
|
4491
|
-
b[22] ? d ? d.p(b,
|
|
4466
|
+
b[20] ? l ? l.p(b, S) : (l = ur(b), l.c(), l.m(r, n)) : l && (l.d(1), l = null), /*showRegisterStepOne*/
|
|
4467
|
+
b[18] ? u ? u.p(b, S) : (u = lr(b), u.c(), u.m(r, i)) : u && (u.d(1), u = null), /*showRegisterStepTwo*/
|
|
4468
|
+
b[19] ? h ? h.p(b, S) : (h = hr(b), h.c(), h.m(r, s)) : h && (h.d(1), h = null), /*showRegisterStepThree*/
|
|
4469
|
+
b[20] ? c ? c.p(b, S) : (c = fr(b), c.c(), c.m(r, o)) : c && (c.d(1), c = null), y === (y = p(b)) && g ? g.p(b, S) : (g && g.d(1), g = y && y(b), g && (g.c(), g.m(r, a))), /*showConfirmation*/
|
|
4470
|
+
b[22] ? d ? d.p(b, S) : (d = cr(b), d.c(), d.m(r, null)) : d && (d.d(1), d = null);
|
|
4492
4471
|
},
|
|
4493
4472
|
d(b) {
|
|
4494
|
-
b &&
|
|
4473
|
+
b && N(t), l && l.d(), u && u.d(), h && h.d(), c && c.d(), g && g.d(), d && d.d();
|
|
4495
4474
|
}
|
|
4496
4475
|
};
|
|
4497
4476
|
}
|
|
4498
|
-
function
|
|
4477
|
+
function ur(e) {
|
|
4499
4478
|
let t, r, n, i, s, o, a, l, u;
|
|
4500
4479
|
return {
|
|
4501
4480
|
c() {
|
|
4502
|
-
t =
|
|
4481
|
+
t = B("div"), r = B("div"), i = G(), s = B("div"), a = G(), l = B("div"), x(r, "class", n = "RegisterFirstStepDash " + /*showRegisterStepOne*/
|
|
4503
4482
|
(e[18] || !/*showRegisterStepOne*/
|
|
4504
4483
|
e[18] && /*showRegisterStepTwo*/
|
|
4505
4484
|
e[19] || !/*showRegisterStepOne*/
|
|
4506
4485
|
e[18] && !/*showRegisterStepTwo*/
|
|
4507
4486
|
e[19] && /*showRegisterStepThree*/
|
|
4508
|
-
e[20] ? "RegisterStepDashColor" : "")),
|
|
4487
|
+
e[20] ? "RegisterStepDashColor" : "")), x(s, "class", o = "RegisterSecondStepDash " + /*showRegisterStepTwo*/
|
|
4509
4488
|
(e[19] || !/*showRegisterStepOne*/
|
|
4510
4489
|
e[18] && !/*showRegisterStepTwo*/
|
|
4511
4490
|
e[19] && /*showRegisterStepThree*/
|
|
4512
|
-
e[20] ? "RegisterStepDashColor" : "")),
|
|
4513
|
-
(e[20] ? "RegisterStepDashColor" : "")),
|
|
4491
|
+
e[20] ? "RegisterStepDashColor" : "")), x(l, "class", u = "RegisterThirdStepDash " + /*showRegisterStepThree*/
|
|
4492
|
+
(e[20] ? "RegisterStepDashColor" : "")), x(t, "class", "RegisterSteps");
|
|
4514
4493
|
},
|
|
4515
4494
|
m(h, c) {
|
|
4516
4495
|
U(h, t, c), E(t, r), E(t, i), E(t, s), E(t, a), E(t, l), e[41](t);
|
|
@@ -4523,136 +4502,136 @@ function hr(e) {
|
|
|
4523
4502
|
h[19] || !/*showRegisterStepOne*/
|
|
4524
4503
|
h[18] && !/*showRegisterStepTwo*/
|
|
4525
4504
|
h[19] && /*showRegisterStepThree*/
|
|
4526
|
-
h[20] ? "RegisterStepDashColor" : "")) &&
|
|
4505
|
+
h[20] ? "RegisterStepDashColor" : "")) && x(r, "class", n), c[0] & /*showRegisterStepTwo, showRegisterStepOne, showRegisterStepThree*/
|
|
4527
4506
|
1835008 && o !== (o = "RegisterSecondStepDash " + /*showRegisterStepTwo*/
|
|
4528
4507
|
(h[19] || !/*showRegisterStepOne*/
|
|
4529
4508
|
h[18] && !/*showRegisterStepTwo*/
|
|
4530
4509
|
h[19] && /*showRegisterStepThree*/
|
|
4531
|
-
h[20] ? "RegisterStepDashColor" : "")) &&
|
|
4510
|
+
h[20] ? "RegisterStepDashColor" : "")) && x(s, "class", o), c[0] & /*showRegisterStepThree*/
|
|
4532
4511
|
1048576 && u !== (u = "RegisterThirdStepDash " + /*showRegisterStepThree*/
|
|
4533
|
-
(h[20] ? "RegisterStepDashColor" : "")) &&
|
|
4512
|
+
(h[20] ? "RegisterStepDashColor" : "")) && x(l, "class", u);
|
|
4534
4513
|
},
|
|
4535
4514
|
d(h) {
|
|
4536
|
-
h &&
|
|
4515
|
+
h && N(t), e[41](null);
|
|
4537
4516
|
}
|
|
4538
4517
|
};
|
|
4539
4518
|
}
|
|
4540
|
-
function
|
|
4519
|
+
function lr(e) {
|
|
4541
4520
|
let t, r;
|
|
4542
4521
|
return {
|
|
4543
4522
|
c() {
|
|
4544
|
-
t =
|
|
4523
|
+
t = B("div"), r = B("general-player-register-form-step1"), m(
|
|
4545
4524
|
r,
|
|
4546
4525
|
"lang",
|
|
4547
4526
|
/*lang*/
|
|
4548
4527
|
e[3]
|
|
4549
|
-
),
|
|
4528
|
+
), m(
|
|
4550
4529
|
r,
|
|
4551
4530
|
"disabledfields",
|
|
4552
4531
|
/*disabledfields*/
|
|
4553
4532
|
e[5]
|
|
4554
|
-
),
|
|
4533
|
+
), m(
|
|
4555
4534
|
r,
|
|
4556
4535
|
"defaultoptions",
|
|
4557
4536
|
/*defaultoptions*/
|
|
4558
4537
|
e[6]
|
|
4559
|
-
),
|
|
4538
|
+
), m(
|
|
4560
4539
|
r,
|
|
4561
4540
|
"custominputtextswitch",
|
|
4562
4541
|
/*custominputtextswitch*/
|
|
4563
4542
|
e[14]
|
|
4564
|
-
),
|
|
4543
|
+
), m(
|
|
4565
4544
|
r,
|
|
4566
4545
|
"simplepasswordvalidation",
|
|
4567
4546
|
/*simplepasswordvalidation*/
|
|
4568
4547
|
e[8]
|
|
4569
|
-
),
|
|
4548
|
+
), m(
|
|
4570
4549
|
r,
|
|
4571
4550
|
"clientstyling",
|
|
4572
4551
|
/*clientstyling*/
|
|
4573
4552
|
e[10]
|
|
4574
|
-
),
|
|
4553
|
+
), m(
|
|
4575
4554
|
r,
|
|
4576
4555
|
"clientstylingurl",
|
|
4577
4556
|
/*clientstylingurl*/
|
|
4578
4557
|
e[11]
|
|
4579
|
-
),
|
|
4558
|
+
), m(
|
|
4580
4559
|
r,
|
|
4581
4560
|
"savecredentials",
|
|
4582
4561
|
/*savecredentials*/
|
|
4583
4562
|
e[13]
|
|
4584
|
-
),
|
|
4563
|
+
), m(
|
|
4585
4564
|
r,
|
|
4586
4565
|
"translationurl",
|
|
4587
4566
|
/*translationurl*/
|
|
4588
4567
|
e[12]
|
|
4589
|
-
),
|
|
4568
|
+
), m(
|
|
4590
4569
|
r,
|
|
4591
4570
|
"mbsource",
|
|
4592
4571
|
/*mbsource*/
|
|
4593
4572
|
e[9]
|
|
4594
|
-
),
|
|
4573
|
+
), x(t, "class", "RegisterFormStep1");
|
|
4595
4574
|
},
|
|
4596
4575
|
m(n, i) {
|
|
4597
4576
|
U(n, t, i), E(t, r);
|
|
4598
4577
|
},
|
|
4599
4578
|
p(n, i) {
|
|
4600
4579
|
i[0] & /*lang*/
|
|
4601
|
-
8 &&
|
|
4580
|
+
8 && m(
|
|
4602
4581
|
r,
|
|
4603
4582
|
"lang",
|
|
4604
4583
|
/*lang*/
|
|
4605
4584
|
n[3]
|
|
4606
4585
|
), i[0] & /*disabledfields*/
|
|
4607
|
-
32 &&
|
|
4586
|
+
32 && m(
|
|
4608
4587
|
r,
|
|
4609
4588
|
"disabledfields",
|
|
4610
4589
|
/*disabledfields*/
|
|
4611
4590
|
n[5]
|
|
4612
4591
|
), i[0] & /*defaultoptions*/
|
|
4613
|
-
64 &&
|
|
4592
|
+
64 && m(
|
|
4614
4593
|
r,
|
|
4615
4594
|
"defaultoptions",
|
|
4616
4595
|
/*defaultoptions*/
|
|
4617
4596
|
n[6]
|
|
4618
4597
|
), i[0] & /*custominputtextswitch*/
|
|
4619
|
-
16384 &&
|
|
4598
|
+
16384 && m(
|
|
4620
4599
|
r,
|
|
4621
4600
|
"custominputtextswitch",
|
|
4622
4601
|
/*custominputtextswitch*/
|
|
4623
4602
|
n[14]
|
|
4624
4603
|
), i[0] & /*simplepasswordvalidation*/
|
|
4625
|
-
256 &&
|
|
4604
|
+
256 && m(
|
|
4626
4605
|
r,
|
|
4627
4606
|
"simplepasswordvalidation",
|
|
4628
4607
|
/*simplepasswordvalidation*/
|
|
4629
4608
|
n[8]
|
|
4630
4609
|
), i[0] & /*clientstyling*/
|
|
4631
|
-
1024 &&
|
|
4610
|
+
1024 && m(
|
|
4632
4611
|
r,
|
|
4633
4612
|
"clientstyling",
|
|
4634
4613
|
/*clientstyling*/
|
|
4635
4614
|
n[10]
|
|
4636
4615
|
), i[0] & /*clientstylingurl*/
|
|
4637
|
-
2048 &&
|
|
4616
|
+
2048 && m(
|
|
4638
4617
|
r,
|
|
4639
4618
|
"clientstylingurl",
|
|
4640
4619
|
/*clientstylingurl*/
|
|
4641
4620
|
n[11]
|
|
4642
4621
|
), i[0] & /*savecredentials*/
|
|
4643
|
-
8192 &&
|
|
4622
|
+
8192 && m(
|
|
4644
4623
|
r,
|
|
4645
4624
|
"savecredentials",
|
|
4646
4625
|
/*savecredentials*/
|
|
4647
4626
|
n[13]
|
|
4648
4627
|
), i[0] & /*translationurl*/
|
|
4649
|
-
4096 &&
|
|
4628
|
+
4096 && m(
|
|
4650
4629
|
r,
|
|
4651
4630
|
"translationurl",
|
|
4652
4631
|
/*translationurl*/
|
|
4653
4632
|
n[12]
|
|
4654
4633
|
), i[0] & /*mbsource*/
|
|
4655
|
-
512 &&
|
|
4634
|
+
512 && m(
|
|
4656
4635
|
r,
|
|
4657
4636
|
"mbsource",
|
|
4658
4637
|
/*mbsource*/
|
|
@@ -4660,126 +4639,126 @@ function fr(e) {
|
|
|
4660
4639
|
);
|
|
4661
4640
|
},
|
|
4662
4641
|
d(n) {
|
|
4663
|
-
n &&
|
|
4642
|
+
n && N(t);
|
|
4664
4643
|
}
|
|
4665
4644
|
};
|
|
4666
4645
|
}
|
|
4667
|
-
function
|
|
4646
|
+
function hr(e) {
|
|
4668
4647
|
let t, r;
|
|
4669
4648
|
return {
|
|
4670
4649
|
c() {
|
|
4671
|
-
t =
|
|
4650
|
+
t = B("div"), r = B("general-player-register-form-step2"), m(
|
|
4672
4651
|
r,
|
|
4673
4652
|
"endpoint",
|
|
4674
4653
|
/*endpoint*/
|
|
4675
4654
|
e[0]
|
|
4676
|
-
),
|
|
4655
|
+
), m(
|
|
4677
4656
|
r,
|
|
4678
4657
|
"lang",
|
|
4679
4658
|
/*lang*/
|
|
4680
4659
|
e[3]
|
|
4681
|
-
),
|
|
4660
|
+
), m(
|
|
4682
4661
|
r,
|
|
4683
4662
|
"licenseyears",
|
|
4684
4663
|
/*licenseyears*/
|
|
4685
4664
|
e[4]
|
|
4686
|
-
),
|
|
4665
|
+
), m(
|
|
4687
4666
|
r,
|
|
4688
4667
|
"disabledfields",
|
|
4689
4668
|
/*disabledfields*/
|
|
4690
4669
|
e[5]
|
|
4691
|
-
),
|
|
4670
|
+
), m(
|
|
4692
4671
|
r,
|
|
4693
4672
|
"defaultoptions",
|
|
4694
4673
|
/*defaultoptions*/
|
|
4695
4674
|
e[6]
|
|
4696
|
-
),
|
|
4675
|
+
), m(
|
|
4697
4676
|
r,
|
|
4698
4677
|
"personalidlength",
|
|
4699
4678
|
/*personalidlength*/
|
|
4700
4679
|
e[15]
|
|
4701
|
-
),
|
|
4680
|
+
), m(
|
|
4702
4681
|
r,
|
|
4703
4682
|
"clientstyling",
|
|
4704
4683
|
/*clientstyling*/
|
|
4705
4684
|
e[10]
|
|
4706
|
-
),
|
|
4685
|
+
), m(
|
|
4707
4686
|
r,
|
|
4708
4687
|
"clientstylingurl",
|
|
4709
4688
|
/*clientstylingurl*/
|
|
4710
4689
|
e[11]
|
|
4711
|
-
),
|
|
4690
|
+
), m(
|
|
4712
4691
|
r,
|
|
4713
4692
|
"translationurl",
|
|
4714
4693
|
/*translationurl*/
|
|
4715
4694
|
e[12]
|
|
4716
|
-
),
|
|
4695
|
+
), m(
|
|
4717
4696
|
r,
|
|
4718
4697
|
"mbsource",
|
|
4719
4698
|
/*mbsource*/
|
|
4720
4699
|
e[9]
|
|
4721
|
-
),
|
|
4700
|
+
), x(t, "class", "RegisterFormStep2");
|
|
4722
4701
|
},
|
|
4723
4702
|
m(n, i) {
|
|
4724
4703
|
U(n, t, i), E(t, r);
|
|
4725
4704
|
},
|
|
4726
4705
|
p(n, i) {
|
|
4727
4706
|
i[0] & /*endpoint*/
|
|
4728
|
-
1 &&
|
|
4707
|
+
1 && m(
|
|
4729
4708
|
r,
|
|
4730
4709
|
"endpoint",
|
|
4731
4710
|
/*endpoint*/
|
|
4732
4711
|
n[0]
|
|
4733
4712
|
), i[0] & /*lang*/
|
|
4734
|
-
8 &&
|
|
4713
|
+
8 && m(
|
|
4735
4714
|
r,
|
|
4736
4715
|
"lang",
|
|
4737
4716
|
/*lang*/
|
|
4738
4717
|
n[3]
|
|
4739
4718
|
), i[0] & /*licenseyears*/
|
|
4740
|
-
16 &&
|
|
4719
|
+
16 && m(
|
|
4741
4720
|
r,
|
|
4742
4721
|
"licenseyears",
|
|
4743
4722
|
/*licenseyears*/
|
|
4744
4723
|
n[4]
|
|
4745
4724
|
), i[0] & /*disabledfields*/
|
|
4746
|
-
32 &&
|
|
4725
|
+
32 && m(
|
|
4747
4726
|
r,
|
|
4748
4727
|
"disabledfields",
|
|
4749
4728
|
/*disabledfields*/
|
|
4750
4729
|
n[5]
|
|
4751
4730
|
), i[0] & /*defaultoptions*/
|
|
4752
|
-
64 &&
|
|
4731
|
+
64 && m(
|
|
4753
4732
|
r,
|
|
4754
4733
|
"defaultoptions",
|
|
4755
4734
|
/*defaultoptions*/
|
|
4756
4735
|
n[6]
|
|
4757
4736
|
), i[0] & /*personalidlength*/
|
|
4758
|
-
32768 &&
|
|
4737
|
+
32768 && m(
|
|
4759
4738
|
r,
|
|
4760
4739
|
"personalidlength",
|
|
4761
4740
|
/*personalidlength*/
|
|
4762
4741
|
n[15]
|
|
4763
4742
|
), i[0] & /*clientstyling*/
|
|
4764
|
-
1024 &&
|
|
4743
|
+
1024 && m(
|
|
4765
4744
|
r,
|
|
4766
4745
|
"clientstyling",
|
|
4767
4746
|
/*clientstyling*/
|
|
4768
4747
|
n[10]
|
|
4769
4748
|
), i[0] & /*clientstylingurl*/
|
|
4770
|
-
2048 &&
|
|
4749
|
+
2048 && m(
|
|
4771
4750
|
r,
|
|
4772
4751
|
"clientstylingurl",
|
|
4773
4752
|
/*clientstylingurl*/
|
|
4774
4753
|
n[11]
|
|
4775
4754
|
), i[0] & /*translationurl*/
|
|
4776
|
-
4096 &&
|
|
4755
|
+
4096 && m(
|
|
4777
4756
|
r,
|
|
4778
4757
|
"translationurl",
|
|
4779
4758
|
/*translationurl*/
|
|
4780
4759
|
n[12]
|
|
4781
4760
|
), i[0] & /*mbsource*/
|
|
4782
|
-
512 &&
|
|
4761
|
+
512 && m(
|
|
4783
4762
|
r,
|
|
4784
4763
|
"mbsource",
|
|
4785
4764
|
/*mbsource*/
|
|
@@ -4787,159 +4766,159 @@ function cr(e) {
|
|
|
4787
4766
|
);
|
|
4788
4767
|
},
|
|
4789
4768
|
d(n) {
|
|
4790
|
-
n &&
|
|
4769
|
+
n && N(t);
|
|
4791
4770
|
}
|
|
4792
4771
|
};
|
|
4793
4772
|
}
|
|
4794
|
-
function
|
|
4773
|
+
function fr(e) {
|
|
4795
4774
|
let t, r;
|
|
4796
4775
|
return {
|
|
4797
4776
|
c() {
|
|
4798
|
-
t =
|
|
4777
|
+
t = B("div"), r = B("general-player-register-form-step3"), m(
|
|
4799
4778
|
r,
|
|
4800
4779
|
"userconsentsexist",
|
|
4801
4780
|
/*userconsentsexist*/
|
|
4802
4781
|
e[26]
|
|
4803
|
-
),
|
|
4782
|
+
), m(
|
|
4804
4783
|
r,
|
|
4805
4784
|
"termsconditions",
|
|
4806
4785
|
/*termsconditions*/
|
|
4807
4786
|
e[27]
|
|
4808
|
-
),
|
|
4787
|
+
), m(
|
|
4809
4788
|
r,
|
|
4810
4789
|
"smsoffers",
|
|
4811
4790
|
/*smsoffers*/
|
|
4812
4791
|
e[28]
|
|
4813
|
-
),
|
|
4792
|
+
), m(
|
|
4814
4793
|
r,
|
|
4815
4794
|
"emailmarketing",
|
|
4816
4795
|
/*emailmarketing*/
|
|
4817
4796
|
e[29]
|
|
4818
|
-
),
|
|
4797
|
+
), m(
|
|
4819
4798
|
r,
|
|
4820
4799
|
"endpoint",
|
|
4821
4800
|
/*endpoint*/
|
|
4822
4801
|
e[0]
|
|
4823
|
-
),
|
|
4802
|
+
), m(
|
|
4824
4803
|
r,
|
|
4825
4804
|
"captchakey",
|
|
4826
4805
|
/*captchakey*/
|
|
4827
4806
|
e[2]
|
|
4828
|
-
),
|
|
4807
|
+
), m(
|
|
4829
4808
|
r,
|
|
4830
4809
|
"lang",
|
|
4831
4810
|
/*lang*/
|
|
4832
4811
|
e[3]
|
|
4833
|
-
),
|
|
4812
|
+
), m(
|
|
4834
4813
|
r,
|
|
4835
4814
|
"defaultoptions",
|
|
4836
4815
|
/*defaultoptions*/
|
|
4837
4816
|
e[6]
|
|
4838
|
-
),
|
|
4817
|
+
), m(
|
|
4839
4818
|
r,
|
|
4840
4819
|
"disabledfields",
|
|
4841
4820
|
/*disabledfields*/
|
|
4842
4821
|
e[5]
|
|
4843
|
-
),
|
|
4822
|
+
), m(
|
|
4844
4823
|
r,
|
|
4845
4824
|
"clientstyling",
|
|
4846
4825
|
/*clientstyling*/
|
|
4847
4826
|
e[10]
|
|
4848
|
-
),
|
|
4827
|
+
), m(
|
|
4849
4828
|
r,
|
|
4850
4829
|
"clientstylingurl",
|
|
4851
4830
|
/*clientstylingurl*/
|
|
4852
4831
|
e[11]
|
|
4853
|
-
),
|
|
4832
|
+
), m(
|
|
4854
4833
|
r,
|
|
4855
4834
|
"translationurl",
|
|
4856
4835
|
/*translationurl*/
|
|
4857
4836
|
e[12]
|
|
4858
|
-
),
|
|
4837
|
+
), m(
|
|
4859
4838
|
r,
|
|
4860
4839
|
"mbsource",
|
|
4861
4840
|
/*mbsource*/
|
|
4862
4841
|
e[9]
|
|
4863
|
-
),
|
|
4842
|
+
), x(t, "class", "RegisterFormStep3");
|
|
4864
4843
|
},
|
|
4865
4844
|
m(n, i) {
|
|
4866
4845
|
U(n, t, i), E(t, r);
|
|
4867
4846
|
},
|
|
4868
4847
|
p(n, i) {
|
|
4869
4848
|
i[0] & /*userconsentsexist*/
|
|
4870
|
-
67108864 &&
|
|
4849
|
+
67108864 && m(
|
|
4871
4850
|
r,
|
|
4872
4851
|
"userconsentsexist",
|
|
4873
4852
|
/*userconsentsexist*/
|
|
4874
4853
|
n[26]
|
|
4875
4854
|
), i[0] & /*termsconditions*/
|
|
4876
|
-
134217728 &&
|
|
4855
|
+
134217728 && m(
|
|
4877
4856
|
r,
|
|
4878
4857
|
"termsconditions",
|
|
4879
4858
|
/*termsconditions*/
|
|
4880
4859
|
n[27]
|
|
4881
4860
|
), i[0] & /*smsoffers*/
|
|
4882
|
-
268435456 &&
|
|
4861
|
+
268435456 && m(
|
|
4883
4862
|
r,
|
|
4884
4863
|
"smsoffers",
|
|
4885
4864
|
/*smsoffers*/
|
|
4886
4865
|
n[28]
|
|
4887
4866
|
), i[0] & /*emailmarketing*/
|
|
4888
|
-
536870912 &&
|
|
4867
|
+
536870912 && m(
|
|
4889
4868
|
r,
|
|
4890
4869
|
"emailmarketing",
|
|
4891
4870
|
/*emailmarketing*/
|
|
4892
4871
|
n[29]
|
|
4893
4872
|
), i[0] & /*endpoint*/
|
|
4894
|
-
1 &&
|
|
4873
|
+
1 && m(
|
|
4895
4874
|
r,
|
|
4896
4875
|
"endpoint",
|
|
4897
4876
|
/*endpoint*/
|
|
4898
4877
|
n[0]
|
|
4899
4878
|
), i[0] & /*captchakey*/
|
|
4900
|
-
4 &&
|
|
4879
|
+
4 && m(
|
|
4901
4880
|
r,
|
|
4902
4881
|
"captchakey",
|
|
4903
4882
|
/*captchakey*/
|
|
4904
4883
|
n[2]
|
|
4905
4884
|
), i[0] & /*lang*/
|
|
4906
|
-
8 &&
|
|
4885
|
+
8 && m(
|
|
4907
4886
|
r,
|
|
4908
4887
|
"lang",
|
|
4909
4888
|
/*lang*/
|
|
4910
4889
|
n[3]
|
|
4911
4890
|
), i[0] & /*defaultoptions*/
|
|
4912
|
-
64 &&
|
|
4891
|
+
64 && m(
|
|
4913
4892
|
r,
|
|
4914
4893
|
"defaultoptions",
|
|
4915
4894
|
/*defaultoptions*/
|
|
4916
4895
|
n[6]
|
|
4917
4896
|
), i[0] & /*disabledfields*/
|
|
4918
|
-
32 &&
|
|
4897
|
+
32 && m(
|
|
4919
4898
|
r,
|
|
4920
4899
|
"disabledfields",
|
|
4921
4900
|
/*disabledfields*/
|
|
4922
4901
|
n[5]
|
|
4923
4902
|
), i[0] & /*clientstyling*/
|
|
4924
|
-
1024 &&
|
|
4903
|
+
1024 && m(
|
|
4925
4904
|
r,
|
|
4926
4905
|
"clientstyling",
|
|
4927
4906
|
/*clientstyling*/
|
|
4928
4907
|
n[10]
|
|
4929
4908
|
), i[0] & /*clientstylingurl*/
|
|
4930
|
-
2048 &&
|
|
4909
|
+
2048 && m(
|
|
4931
4910
|
r,
|
|
4932
4911
|
"clientstylingurl",
|
|
4933
4912
|
/*clientstylingurl*/
|
|
4934
4913
|
n[11]
|
|
4935
4914
|
), i[0] & /*translationurl*/
|
|
4936
|
-
4096 &&
|
|
4915
|
+
4096 && m(
|
|
4937
4916
|
r,
|
|
4938
4917
|
"translationurl",
|
|
4939
4918
|
/*translationurl*/
|
|
4940
4919
|
n[12]
|
|
4941
4920
|
), i[0] & /*mbsource*/
|
|
4942
|
-
512 &&
|
|
4921
|
+
512 && m(
|
|
4943
4922
|
r,
|
|
4944
4923
|
"mbsource",
|
|
4945
4924
|
/*mbsource*/
|
|
@@ -4947,18 +4926,18 @@ function pr(e) {
|
|
|
4947
4926
|
);
|
|
4948
4927
|
},
|
|
4949
4928
|
d(n) {
|
|
4950
|
-
n &&
|
|
4929
|
+
n && N(t);
|
|
4951
4930
|
}
|
|
4952
4931
|
};
|
|
4953
4932
|
}
|
|
4954
|
-
function
|
|
4933
|
+
function Xs(e) {
|
|
4955
4934
|
let t, r = (
|
|
4956
4935
|
/*$_*/
|
|
4957
4936
|
e[34]("error") + ""
|
|
4958
4937
|
), n;
|
|
4959
4938
|
return {
|
|
4960
4939
|
c() {
|
|
4961
|
-
t =
|
|
4940
|
+
t = B("p"), n = V(r), x(t, "class", "SMSErrorText");
|
|
4962
4941
|
},
|
|
4963
4942
|
m(i, s) {
|
|
4964
4943
|
U(i, t, s), E(t, n);
|
|
@@ -4969,22 +4948,22 @@ function zs(e) {
|
|
|
4969
4948
|
i[34]("error") + "") && ee(n, r);
|
|
4970
4949
|
},
|
|
4971
4950
|
d(i) {
|
|
4972
|
-
i &&
|
|
4951
|
+
i && N(t);
|
|
4973
4952
|
}
|
|
4974
4953
|
};
|
|
4975
4954
|
}
|
|
4976
|
-
function
|
|
4955
|
+
function zs(e) {
|
|
4977
4956
|
let t;
|
|
4978
4957
|
function r(s, o) {
|
|
4979
4958
|
return (
|
|
4980
4959
|
/*smsSendApiFailed*/
|
|
4981
|
-
s[31] ?
|
|
4960
|
+
s[31] ? Ws : Zs
|
|
4982
4961
|
);
|
|
4983
4962
|
}
|
|
4984
4963
|
let n = r(e), i = n(e);
|
|
4985
4964
|
return {
|
|
4986
4965
|
c() {
|
|
4987
|
-
i.c(), t =
|
|
4966
|
+
i.c(), t = yn();
|
|
4988
4967
|
},
|
|
4989
4968
|
m(s, o) {
|
|
4990
4969
|
i.m(s, o), U(s, t, o);
|
|
@@ -4993,18 +4972,18 @@ function Zs(e) {
|
|
|
4993
4972
|
n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t.parentNode, t)));
|
|
4994
4973
|
},
|
|
4995
4974
|
d(s) {
|
|
4996
|
-
s &&
|
|
4975
|
+
s && N(t), i.d(s);
|
|
4997
4976
|
}
|
|
4998
4977
|
};
|
|
4999
4978
|
}
|
|
5000
|
-
function
|
|
4979
|
+
function Ws(e) {
|
|
5001
4980
|
let t, r = (
|
|
5002
4981
|
/*$_*/
|
|
5003
4982
|
e[34]("error") + ""
|
|
5004
4983
|
), n;
|
|
5005
4984
|
return {
|
|
5006
4985
|
c() {
|
|
5007
|
-
t =
|
|
4986
|
+
t = B("p"), n = V(r), x(t, "class", "SMSErrorText");
|
|
5008
4987
|
},
|
|
5009
4988
|
m(i, s) {
|
|
5010
4989
|
U(i, t, s), E(t, n);
|
|
@@ -5015,50 +4994,50 @@ function Js(e) {
|
|
|
5015
4994
|
i[34]("error") + "") && ee(n, r);
|
|
5016
4995
|
},
|
|
5017
4996
|
d(i) {
|
|
5018
|
-
i &&
|
|
4997
|
+
i && N(t);
|
|
5019
4998
|
}
|
|
5020
4999
|
};
|
|
5021
5000
|
}
|
|
5022
|
-
function
|
|
5001
|
+
function Zs(e) {
|
|
5023
5002
|
let t;
|
|
5024
5003
|
return {
|
|
5025
5004
|
c() {
|
|
5026
|
-
t =
|
|
5005
|
+
t = B("general-player-sms-verification-form"), m(
|
|
5027
5006
|
t,
|
|
5028
5007
|
"endpoint",
|
|
5029
5008
|
/*endpoint*/
|
|
5030
5009
|
e[0]
|
|
5031
|
-
),
|
|
5010
|
+
), m(
|
|
5032
5011
|
t,
|
|
5033
5012
|
"session",
|
|
5034
5013
|
/*session*/
|
|
5035
5014
|
e[1]
|
|
5036
|
-
),
|
|
5015
|
+
), m(
|
|
5037
5016
|
t,
|
|
5038
5017
|
"number",
|
|
5039
5018
|
/*number*/
|
|
5040
5019
|
e[32]
|
|
5041
|
-
),
|
|
5020
|
+
), m(
|
|
5042
5021
|
t,
|
|
5043
5022
|
"playerid",
|
|
5044
5023
|
/*playerid*/
|
|
5045
5024
|
e[17]
|
|
5046
|
-
),
|
|
5025
|
+
), m(
|
|
5047
5026
|
t,
|
|
5048
5027
|
"tokenid",
|
|
5049
5028
|
/*smstokenid*/
|
|
5050
5029
|
e[30]
|
|
5051
|
-
),
|
|
5030
|
+
), m(
|
|
5052
5031
|
t,
|
|
5053
5032
|
"clientstyling",
|
|
5054
5033
|
/*clientstyling*/
|
|
5055
5034
|
e[10]
|
|
5056
|
-
),
|
|
5035
|
+
), m(
|
|
5057
5036
|
t,
|
|
5058
5037
|
"clientstylingurl",
|
|
5059
5038
|
/*clientstylingurl*/
|
|
5060
5039
|
e[11]
|
|
5061
|
-
),
|
|
5040
|
+
), m(
|
|
5062
5041
|
t,
|
|
5063
5042
|
"mbsource",
|
|
5064
5043
|
/*mbsource*/
|
|
@@ -5070,49 +5049,49 @@ function qs(e) {
|
|
|
5070
5049
|
},
|
|
5071
5050
|
p(r, n) {
|
|
5072
5051
|
n[0] & /*endpoint*/
|
|
5073
|
-
1 &&
|
|
5052
|
+
1 && m(
|
|
5074
5053
|
t,
|
|
5075
5054
|
"endpoint",
|
|
5076
5055
|
/*endpoint*/
|
|
5077
5056
|
r[0]
|
|
5078
5057
|
), n[0] & /*session*/
|
|
5079
|
-
2 &&
|
|
5058
|
+
2 && m(
|
|
5080
5059
|
t,
|
|
5081
5060
|
"session",
|
|
5082
5061
|
/*session*/
|
|
5083
5062
|
r[1]
|
|
5084
5063
|
), n[1] & /*number*/
|
|
5085
|
-
2 &&
|
|
5064
|
+
2 && m(
|
|
5086
5065
|
t,
|
|
5087
5066
|
"number",
|
|
5088
5067
|
/*number*/
|
|
5089
5068
|
r[32]
|
|
5090
5069
|
), n[0] & /*playerid*/
|
|
5091
|
-
131072 &&
|
|
5070
|
+
131072 && m(
|
|
5092
5071
|
t,
|
|
5093
5072
|
"playerid",
|
|
5094
5073
|
/*playerid*/
|
|
5095
5074
|
r[17]
|
|
5096
5075
|
), n[0] & /*smstokenid*/
|
|
5097
|
-
1073741824 &&
|
|
5076
|
+
1073741824 && m(
|
|
5098
5077
|
t,
|
|
5099
5078
|
"tokenid",
|
|
5100
5079
|
/*smstokenid*/
|
|
5101
5080
|
r[30]
|
|
5102
5081
|
), n[0] & /*clientstyling*/
|
|
5103
|
-
1024 &&
|
|
5082
|
+
1024 && m(
|
|
5104
5083
|
t,
|
|
5105
5084
|
"clientstyling",
|
|
5106
5085
|
/*clientstyling*/
|
|
5107
5086
|
r[10]
|
|
5108
5087
|
), n[0] & /*clientstylingurl*/
|
|
5109
|
-
2048 &&
|
|
5088
|
+
2048 && m(
|
|
5110
5089
|
t,
|
|
5111
5090
|
"clientstylingurl",
|
|
5112
5091
|
/*clientstylingurl*/
|
|
5113
5092
|
r[11]
|
|
5114
5093
|
), n[0] & /*mbsource*/
|
|
5115
|
-
512 &&
|
|
5094
|
+
512 && m(
|
|
5116
5095
|
t,
|
|
5117
5096
|
"mbsource",
|
|
5118
5097
|
/*mbsource*/
|
|
@@ -5120,31 +5099,31 @@ function qs(e) {
|
|
|
5120
5099
|
);
|
|
5121
5100
|
},
|
|
5122
5101
|
d(r) {
|
|
5123
|
-
r &&
|
|
5102
|
+
r && N(t);
|
|
5124
5103
|
}
|
|
5125
5104
|
};
|
|
5126
5105
|
}
|
|
5127
|
-
function
|
|
5128
|
-
let t, r, n, i, s, o, a, l, u, h, c,
|
|
5106
|
+
function cr(e) {
|
|
5107
|
+
let t, r, n, i, s, o, a, l, u, h, c, p, y, g, d, b, S, O = (
|
|
5129
5108
|
/*$_*/
|
|
5130
5109
|
e[34]("goToLoginButton") + ""
|
|
5131
|
-
), P, L,
|
|
5110
|
+
), P, L, M;
|
|
5132
5111
|
return {
|
|
5133
5112
|
c() {
|
|
5134
|
-
t =
|
|
5113
|
+
t = B("div"), r = Te("svg"), n = Te("defs"), i = Te("style"), s = V(".a{fill:#var(--emw--color-valid, var(--emw--color-green, #48952a));}"), o = Te("path"), a = G(), l = B("h2"), u = V(
|
|
5135
5114
|
/*accountCreationTitle*/
|
|
5136
5115
|
e[23]
|
|
5137
|
-
), h = G(), c =
|
|
5116
|
+
), h = G(), c = B("p"), p = V(
|
|
5138
5117
|
/*accountCreationSubTitle*/
|
|
5139
5118
|
e[24]
|
|
5140
|
-
), y = G(), g =
|
|
5119
|
+
), y = G(), g = B("p"), d = V(
|
|
5141
5120
|
/*accountCreationMessage*/
|
|
5142
5121
|
e[25]
|
|
5143
|
-
), b = G(),
|
|
5122
|
+
), b = G(), S = B("button"), P = V(O), x(o, "class", "a"), x(o, "d", "M29.325,51,0,21.675l5.95-5.95,23.375,22.95L68,0l5.95,5.95Z"), x(r, "xmlns", "http://www.w3.org/2000/svg"), x(r, "viewBox", "0 0 73.95 51"), x(l, "class", "RegisterConfirmationTitle"), x(c, "class", "RegisterConfirmationSubtitle"), x(g, "class", "RegisterConfirmationNote"), x(S, "class", "RegisterConfirmationGoToLogin"), x(t, "class", "RegisterConfirmation");
|
|
5144
5123
|
},
|
|
5145
5124
|
m(C, D) {
|
|
5146
|
-
U(C, 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,
|
|
5147
|
-
|
|
5125
|
+
U(C, 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, S), E(S, P), L || (M = vn(
|
|
5126
|
+
S,
|
|
5148
5127
|
"click",
|
|
5149
5128
|
/*switchToLogin*/
|
|
5150
5129
|
e[36]
|
|
@@ -5158,7 +5137,7 @@ function mr(e) {
|
|
|
5158
5137
|
C[23]
|
|
5159
5138
|
), D[0] & /*accountCreationSubTitle*/
|
|
5160
5139
|
16777216 && ee(
|
|
5161
|
-
|
|
5140
|
+
p,
|
|
5162
5141
|
/*accountCreationSubTitle*/
|
|
5163
5142
|
C[24]
|
|
5164
5143
|
), D[0] & /*accountCreationMessage*/
|
|
@@ -5171,19 +5150,19 @@ function mr(e) {
|
|
|
5171
5150
|
C[34]("goToLoginButton") + "") && ee(P, O);
|
|
5172
5151
|
},
|
|
5173
5152
|
d(C) {
|
|
5174
|
-
C &&
|
|
5153
|
+
C && N(t), L = !1, M();
|
|
5175
5154
|
}
|
|
5176
5155
|
};
|
|
5177
5156
|
}
|
|
5178
|
-
function
|
|
5157
|
+
function Js(e) {
|
|
5179
5158
|
let t;
|
|
5180
5159
|
function r(s, o) {
|
|
5181
|
-
return
|
|
5160
|
+
return Vs;
|
|
5182
5161
|
}
|
|
5183
5162
|
let i = r()(e);
|
|
5184
5163
|
return {
|
|
5185
5164
|
c() {
|
|
5186
|
-
t =
|
|
5165
|
+
t = B("div"), i.c();
|
|
5187
5166
|
},
|
|
5188
5167
|
m(s, o) {
|
|
5189
5168
|
U(s, t, o), i.m(t, null), e[42](t);
|
|
@@ -5194,84 +5173,84 @@ function Qs(e) {
|
|
|
5194
5173
|
i: k,
|
|
5195
5174
|
o: k,
|
|
5196
5175
|
d(s) {
|
|
5197
|
-
s &&
|
|
5176
|
+
s && N(t), i.d(), e[42](null);
|
|
5198
5177
|
}
|
|
5199
5178
|
};
|
|
5200
5179
|
}
|
|
5201
|
-
let
|
|
5202
|
-
function
|
|
5180
|
+
let qs = "Please use this code {0} to activate your account";
|
|
5181
|
+
function Qs(e, t, r) {
|
|
5203
5182
|
let n;
|
|
5204
|
-
|
|
5205
|
-
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:
|
|
5206
|
-
|
|
5207
|
-
const
|
|
5208
|
-
fetch(L).then((
|
|
5209
|
-
Object.keys(
|
|
5210
|
-
|
|
5183
|
+
pn(e, Ds, (f) => r(34, n = f));
|
|
5184
|
+
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: S } = t, { clientstyling: O = "" } = t, { clientstylingurl: P = "" } = t, { translationurl: L = "" } = t, { savecredentials: M = "" } = t, { custominputtextswitch: C = "false" } = t, { personalidlength: D = "13" } = t, j, vt = "", Ge = !0, he = !1, ye = !1, ke = !1, je = !1, ve, _t = !1, Et = "", wt = "", St = "", xt = window.navigator.userAgent, Jr = sr(xt) !== "PC", $ = {}, Tt = !1, Ht = !1, $e = "false", Bt = "false", At = "false", Pt = "false", Ot = "", Ct, _e = !1, It, Ee;
|
|
5185
|
+
Fs({ withLocale: "en", translations: {} });
|
|
5186
|
+
const qr = () => {
|
|
5187
|
+
fetch(L).then((H) => H.json()).then((H) => {
|
|
5188
|
+
Object.keys(H).forEach((I) => {
|
|
5189
|
+
or(I, H[I]);
|
|
5211
5190
|
});
|
|
5212
|
-
}).catch((
|
|
5213
|
-
console.log(
|
|
5191
|
+
}).catch((H) => {
|
|
5192
|
+
console.log(H);
|
|
5214
5193
|
});
|
|
5215
5194
|
};
|
|
5216
|
-
Object.keys(
|
|
5217
|
-
|
|
5195
|
+
Object.keys(ar).forEach((f) => {
|
|
5196
|
+
or(f, ar[f]);
|
|
5218
5197
|
});
|
|
5219
|
-
const
|
|
5198
|
+
const Qr = () => {
|
|
5220
5199
|
fetch(`${i}/v1/player/consentRequirements`).then((f) => f.json()).then((f) => {
|
|
5221
|
-
f.items.length > 0 ? (r(26,
|
|
5222
|
-
switch (
|
|
5200
|
+
f.items.length > 0 ? (r(26, $e = "true"), f.items.forEach((H) => {
|
|
5201
|
+
switch (H.tagCode) {
|
|
5223
5202
|
case "termsandconditions":
|
|
5224
|
-
r(27,
|
|
5203
|
+
r(27, Bt = "true");
|
|
5225
5204
|
break;
|
|
5226
5205
|
case "sms":
|
|
5227
|
-
r(28,
|
|
5206
|
+
r(28, At = "true");
|
|
5228
5207
|
break;
|
|
5229
5208
|
case "emailmarketing":
|
|
5230
|
-
r(29,
|
|
5209
|
+
r(29, Pt = "true");
|
|
5231
5210
|
break;
|
|
5232
5211
|
}
|
|
5233
|
-
})) : r(26,
|
|
5212
|
+
})) : r(26, $e = "false");
|
|
5234
5213
|
});
|
|
5235
|
-
},
|
|
5236
|
-
let f = new URL(`${s}/${h}/login-register-content?env=${o}`),
|
|
5237
|
-
|
|
5238
|
-
ve = I.registerData, r(23,
|
|
5214
|
+
}, Yr = () => {
|
|
5215
|
+
let f = new URL(`${s}/${h}/login-register-content?env=${o}`), H = sr(xt);
|
|
5216
|
+
H && (H === "PC" ? f.searchParams.append("device", "dk") : f.searchParams.append("device", "mtWeb")), fetch(f.href).then((I) => I.json()).then((I) => {
|
|
5217
|
+
ve = I.registerData, r(23, Et = ve.title), r(24, wt = ve.subtitle), r(25, St = ve.content);
|
|
5239
5218
|
}).catch((I) => {
|
|
5240
5219
|
console.error(I);
|
|
5241
5220
|
});
|
|
5242
5221
|
}, we = () => {
|
|
5243
5222
|
Ee.scrollIntoView();
|
|
5244
|
-
},
|
|
5245
|
-
for (const
|
|
5246
|
-
|
|
5247
|
-
|
|
5248
|
-
},
|
|
5223
|
+
}, fe = (f) => {
|
|
5224
|
+
for (const H in f)
|
|
5225
|
+
$[H] = f[H], H === "mobile" && r(32, It = `${f[H].prefix}${f[H].number}`);
|
|
5226
|
+
$.affiliateMarker = $.promoCode ? $.promoCode : l != null ? l : "";
|
|
5227
|
+
}, Rt = (f) => {
|
|
5249
5228
|
if (f.data)
|
|
5250
5229
|
switch (f.data.type) {
|
|
5251
5230
|
case "RegisterStepOne":
|
|
5252
|
-
|
|
5231
|
+
fe(f.data.registerStepOneData), we(), r(18, Ge = !1), r(19, he = !0), Tt == !1 ? Tt = !0 : window.postMessage({ type: "StepTwoDataBackup", userData: $ }, window.location.href);
|
|
5253
5232
|
break;
|
|
5254
5233
|
case "RegisterStepTwo":
|
|
5255
|
-
|
|
5234
|
+
fe(f.data.registerStepTwoData), we(), r(19, he = !1), r(20, ye = !0), Ht == !1 ? Ht = !0 : window.postMessage({ type: "StepThreeDataBackup", userData: $ }, window.location.href);
|
|
5256
5235
|
break;
|
|
5257
5236
|
case "RegisterStepThree":
|
|
5258
|
-
|
|
5237
|
+
fe(f.data.registerStepThreeData), en($);
|
|
5259
5238
|
break;
|
|
5260
5239
|
case "SmsHasBeenValidated":
|
|
5261
|
-
r(22,
|
|
5240
|
+
r(22, je = !0), r(21, ke = !1);
|
|
5262
5241
|
break;
|
|
5263
5242
|
case "GoBackStepTwo":
|
|
5264
|
-
|
|
5243
|
+
fe(f.data.registerStepTwoData), we(), r(18, Ge = !0), r(19, he = !1), window.postMessage({ type: "StepOneDataBackup", userData: $ }, window.location.href);
|
|
5265
5244
|
break;
|
|
5266
5245
|
case "GoBackStepThree":
|
|
5267
|
-
|
|
5246
|
+
fe(f.data.registerStepThreeData), we(), r(19, he = !0), r(20, ye = !1), window.postMessage({ type: "StepTwoDataBackup", userData: $ }, window.location.href);
|
|
5268
5247
|
break;
|
|
5269
5248
|
}
|
|
5270
|
-
},
|
|
5249
|
+
}, Kr = () => {
|
|
5271
5250
|
typeof gtag == "function" && gtag("event", "Register", { context: "GeneralPlayerRegisterForm" });
|
|
5272
|
-
},
|
|
5251
|
+
}, en = (f) => Se(this, null, function* () {
|
|
5273
5252
|
f.language = h;
|
|
5274
|
-
let
|
|
5253
|
+
let H = {
|
|
5275
5254
|
method: "PUT",
|
|
5276
5255
|
headers: {
|
|
5277
5256
|
"g-recaptcha-response": f.token,
|
|
@@ -5279,16 +5258,16 @@ function Ks(e, t, r) {
|
|
|
5279
5258
|
Accept: "application/json"
|
|
5280
5259
|
},
|
|
5281
5260
|
body: JSON.stringify(f)
|
|
5282
|
-
}, I = yield fetch(`${i}/v1/player/register`,
|
|
5283
|
-
I.ok ? (r(20, ye = !1), g === "false" ? r(22,
|
|
5261
|
+
}, I = yield fetch(`${i}/v1/player/register`, H), W = yield I.json();
|
|
5262
|
+
I.ok ? (r(20, ye = !1), g === "false" ? r(22, je = !0) : (r(17, vt = W.id), tn(f, W.id)), f.username, f.password, Kr()) : (Ot = W.error.substring(W.error.indexOf("errorMessage") + 13, W.error.length), _t = !0, window.postMessage(
|
|
5284
5263
|
{
|
|
5285
5264
|
type: "ShowRegistrationError",
|
|
5286
|
-
showError:
|
|
5287
|
-
error:
|
|
5265
|
+
showError: _t,
|
|
5266
|
+
error: Ot
|
|
5288
5267
|
},
|
|
5289
5268
|
window.location.href
|
|
5290
5269
|
));
|
|
5291
|
-
}),
|
|
5270
|
+
}), tn = (f, H) => Se(this, null, function* () {
|
|
5292
5271
|
localStorage.setItem("smsTimer", JSON.stringify(Math.floor(Date.now() / 1e3)));
|
|
5293
5272
|
try {
|
|
5294
5273
|
const I = yield fetch(`${i}/v1/player/sms/token`, {
|
|
@@ -5298,108 +5277,108 @@ function Ks(e, t, r) {
|
|
|
5298
5277
|
accept: "application/json"
|
|
5299
5278
|
},
|
|
5300
5279
|
body: JSON.stringify({
|
|
5301
|
-
userId:
|
|
5302
|
-
messageTemplate:
|
|
5280
|
+
userId: H,
|
|
5281
|
+
messageTemplate: qs,
|
|
5303
5282
|
destination: `${f.mobile.prefix}${f.mobile.number}`
|
|
5304
5283
|
})
|
|
5305
|
-
}),
|
|
5284
|
+
}), W = yield I.json();
|
|
5306
5285
|
if (I.ok) {
|
|
5307
|
-
r(30,
|
|
5308
|
-
let
|
|
5309
|
-
r(21,
|
|
5286
|
+
r(30, Ct = W.id);
|
|
5287
|
+
let Ys = W.maxValidationAttempts;
|
|
5288
|
+
r(21, ke = !0), r(31, _e = !1);
|
|
5310
5289
|
} else
|
|
5311
5290
|
throw r(31, _e = !0), new Error("Failed to fetch");
|
|
5312
5291
|
} catch (I) {
|
|
5313
5292
|
r(31, _e = !0), console.error(I);
|
|
5314
5293
|
}
|
|
5315
|
-
}),
|
|
5316
|
-
|
|
5317
|
-
},
|
|
5294
|
+
}), rn = () => {
|
|
5295
|
+
p.split(",");
|
|
5296
|
+
}, nn = () => {
|
|
5318
5297
|
window.postMessage({ type: "ToLogin" }, window.location.href);
|
|
5319
|
-
},
|
|
5320
|
-
|
|
5298
|
+
}, sn = () => {
|
|
5299
|
+
Us(h);
|
|
5321
5300
|
};
|
|
5322
|
-
|
|
5323
|
-
window.removeEventListener("message",
|
|
5301
|
+
Sn(() => (window.addEventListener("message", Rt, !1), () => {
|
|
5302
|
+
window.removeEventListener("message", Rt);
|
|
5324
5303
|
}));
|
|
5325
|
-
function
|
|
5304
|
+
function on(f) {
|
|
5326
5305
|
Ie[f ? "unshift" : "push"](() => {
|
|
5327
5306
|
Ee = f, r(33, Ee);
|
|
5328
5307
|
});
|
|
5329
5308
|
}
|
|
5330
|
-
function
|
|
5309
|
+
function an(f) {
|
|
5331
5310
|
Ie[f ? "unshift" : "push"](() => {
|
|
5332
|
-
|
|
5311
|
+
j = f, r(16, j);
|
|
5333
5312
|
});
|
|
5334
5313
|
}
|
|
5335
5314
|
return e.$$set = (f) => {
|
|
5336
|
-
"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,
|
|
5315
|
+
"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, S = f.mbsource), "clientstyling" in f && r(10, O = 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, C = f.custominputtextswitch), "personalidlength" in f && r(15, D = f.personalidlength);
|
|
5337
5316
|
}, e.$$.update = () => {
|
|
5338
5317
|
e.$$.dirty[0] & /*endpoint*/
|
|
5339
|
-
1 && i &&
|
|
5318
|
+
1 && i && Qr(), e.$$.dirty[0] & /*lang*/
|
|
5340
5319
|
8 | e.$$.dirty[1] & /*cmsendpoint, env, userroles*/
|
|
5341
|
-
704 && s && h && o && b &&
|
|
5320
|
+
704 && s && h && o && b && Yr(), e.$$.dirty[0] & /*playerid, session*/
|
|
5342
5321
|
131074, e.$$.dirty[0] & /*lang*/
|
|
5343
|
-
8 && h &&
|
|
5344
|
-
32 &&
|
|
5345
|
-
66560 && O &&
|
|
5346
|
-
67584 && P &&
|
|
5347
|
-
66048 &&
|
|
5348
|
-
4096 && L &&
|
|
5322
|
+
8 && h && sn(), e.$$.dirty[0] & /*disabledfields*/
|
|
5323
|
+
32 && p && rn(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5324
|
+
66560 && O && j && Gs(j, O), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5325
|
+
67584 && P && j && ks(j, P), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5326
|
+
66048 && S && j && js(j, `${S}.Style`), e.$$.dirty[0] & /*translationurl*/
|
|
5327
|
+
4096 && L && qr();
|
|
5349
5328
|
}, [
|
|
5350
5329
|
i,
|
|
5351
5330
|
a,
|
|
5352
5331
|
u,
|
|
5353
5332
|
h,
|
|
5354
5333
|
c,
|
|
5355
|
-
|
|
5334
|
+
p,
|
|
5356
5335
|
y,
|
|
5357
5336
|
g,
|
|
5358
5337
|
d,
|
|
5359
|
-
|
|
5338
|
+
S,
|
|
5360
5339
|
O,
|
|
5361
5340
|
P,
|
|
5362
5341
|
L,
|
|
5363
|
-
|
|
5342
|
+
M,
|
|
5364
5343
|
C,
|
|
5365
5344
|
D,
|
|
5366
|
-
|
|
5367
|
-
|
|
5368
|
-
|
|
5369
|
-
|
|
5345
|
+
j,
|
|
5346
|
+
vt,
|
|
5347
|
+
Ge,
|
|
5348
|
+
he,
|
|
5370
5349
|
ye,
|
|
5371
|
-
|
|
5372
|
-
|
|
5350
|
+
ke,
|
|
5351
|
+
je,
|
|
5352
|
+
Et,
|
|
5353
|
+
wt,
|
|
5373
5354
|
St,
|
|
5374
|
-
|
|
5375
|
-
|
|
5376
|
-
|
|
5355
|
+
$e,
|
|
5356
|
+
Bt,
|
|
5357
|
+
At,
|
|
5377
5358
|
Pt,
|
|
5378
|
-
Ot,
|
|
5379
5359
|
Ct,
|
|
5380
|
-
Rt,
|
|
5381
5360
|
_e,
|
|
5382
|
-
|
|
5361
|
+
It,
|
|
5383
5362
|
Ee,
|
|
5384
5363
|
n,
|
|
5385
|
-
|
|
5386
|
-
|
|
5364
|
+
Jr,
|
|
5365
|
+
nn,
|
|
5387
5366
|
s,
|
|
5388
5367
|
o,
|
|
5389
5368
|
l,
|
|
5390
5369
|
b,
|
|
5391
|
-
|
|
5392
|
-
|
|
5370
|
+
on,
|
|
5371
|
+
an
|
|
5393
5372
|
];
|
|
5394
5373
|
}
|
|
5395
|
-
class
|
|
5374
|
+
class Zr extends Mn {
|
|
5396
5375
|
constructor(t) {
|
|
5397
|
-
super(),
|
|
5376
|
+
super(), Rn(
|
|
5398
5377
|
this,
|
|
5399
5378
|
t,
|
|
5400
|
-
Ks,
|
|
5401
5379
|
Qs,
|
|
5402
|
-
|
|
5380
|
+
Js,
|
|
5381
|
+
pr,
|
|
5403
5382
|
{
|
|
5404
5383
|
endpoint: 0,
|
|
5405
5384
|
cmsendpoint: 37,
|
|
@@ -5422,7 +5401,7 @@ class Jr extends Mn {
|
|
|
5422
5401
|
custominputtextswitch: 14,
|
|
5423
5402
|
personalidlength: 15
|
|
5424
5403
|
},
|
|
5425
|
-
|
|
5404
|
+
$s,
|
|
5426
5405
|
[-1, -1, -1]
|
|
5427
5406
|
);
|
|
5428
5407
|
}
|
|
@@ -5430,164 +5409,164 @@ class Jr extends Mn {
|
|
|
5430
5409
|
return this.$$.ctx[0];
|
|
5431
5410
|
}
|
|
5432
5411
|
set endpoint(t) {
|
|
5433
|
-
this.$$set({ endpoint: t }),
|
|
5412
|
+
this.$$set({ endpoint: t }), A();
|
|
5434
5413
|
}
|
|
5435
5414
|
get cmsendpoint() {
|
|
5436
5415
|
return this.$$.ctx[37];
|
|
5437
5416
|
}
|
|
5438
5417
|
set cmsendpoint(t) {
|
|
5439
|
-
this.$$set({ cmsendpoint: t }),
|
|
5418
|
+
this.$$set({ cmsendpoint: t }), A();
|
|
5440
5419
|
}
|
|
5441
5420
|
get env() {
|
|
5442
5421
|
return this.$$.ctx[38];
|
|
5443
5422
|
}
|
|
5444
5423
|
set env(t) {
|
|
5445
|
-
this.$$set({ env: t }),
|
|
5424
|
+
this.$$set({ env: t }), A();
|
|
5446
5425
|
}
|
|
5447
5426
|
get session() {
|
|
5448
5427
|
return this.$$.ctx[1];
|
|
5449
5428
|
}
|
|
5450
5429
|
set session(t) {
|
|
5451
|
-
this.$$set({ session: t }),
|
|
5430
|
+
this.$$set({ session: t }), A();
|
|
5452
5431
|
}
|
|
5453
5432
|
get trackedanalyticsdata() {
|
|
5454
5433
|
return this.$$.ctx[39];
|
|
5455
5434
|
}
|
|
5456
5435
|
set trackedanalyticsdata(t) {
|
|
5457
|
-
this.$$set({ trackedanalyticsdata: t }),
|
|
5436
|
+
this.$$set({ trackedanalyticsdata: t }), A();
|
|
5458
5437
|
}
|
|
5459
5438
|
get captchakey() {
|
|
5460
5439
|
return this.$$.ctx[2];
|
|
5461
5440
|
}
|
|
5462
5441
|
set captchakey(t) {
|
|
5463
|
-
this.$$set({ captchakey: t }),
|
|
5442
|
+
this.$$set({ captchakey: t }), A();
|
|
5464
5443
|
}
|
|
5465
5444
|
get lang() {
|
|
5466
5445
|
return this.$$.ctx[3];
|
|
5467
5446
|
}
|
|
5468
5447
|
set lang(t) {
|
|
5469
|
-
this.$$set({ lang: t }),
|
|
5448
|
+
this.$$set({ lang: t }), A();
|
|
5470
5449
|
}
|
|
5471
5450
|
get licenseyears() {
|
|
5472
5451
|
return this.$$.ctx[4];
|
|
5473
5452
|
}
|
|
5474
5453
|
set licenseyears(t) {
|
|
5475
|
-
this.$$set({ licenseyears: t }),
|
|
5454
|
+
this.$$set({ licenseyears: t }), A();
|
|
5476
5455
|
}
|
|
5477
5456
|
get disabledfields() {
|
|
5478
5457
|
return this.$$.ctx[5];
|
|
5479
5458
|
}
|
|
5480
5459
|
set disabledfields(t) {
|
|
5481
|
-
this.$$set({ disabledfields: t }),
|
|
5460
|
+
this.$$set({ disabledfields: t }), A();
|
|
5482
5461
|
}
|
|
5483
5462
|
get defaultoptions() {
|
|
5484
5463
|
return this.$$.ctx[6];
|
|
5485
5464
|
}
|
|
5486
5465
|
set defaultoptions(t) {
|
|
5487
|
-
this.$$set({ defaultoptions: t }),
|
|
5466
|
+
this.$$set({ defaultoptions: t }), A();
|
|
5488
5467
|
}
|
|
5489
5468
|
get smsverification() {
|
|
5490
5469
|
return this.$$.ctx[7];
|
|
5491
5470
|
}
|
|
5492
5471
|
set smsverification(t) {
|
|
5493
|
-
this.$$set({ smsverification: t }),
|
|
5472
|
+
this.$$set({ smsverification: t }), A();
|
|
5494
5473
|
}
|
|
5495
5474
|
get simplepasswordvalidation() {
|
|
5496
5475
|
return this.$$.ctx[8];
|
|
5497
5476
|
}
|
|
5498
5477
|
set simplepasswordvalidation(t) {
|
|
5499
|
-
this.$$set({ simplepasswordvalidation: t }),
|
|
5478
|
+
this.$$set({ simplepasswordvalidation: t }), A();
|
|
5500
5479
|
}
|
|
5501
5480
|
get userroles() {
|
|
5502
5481
|
return this.$$.ctx[40];
|
|
5503
5482
|
}
|
|
5504
5483
|
set userroles(t) {
|
|
5505
|
-
this.$$set({ userroles: t }),
|
|
5484
|
+
this.$$set({ userroles: t }), A();
|
|
5506
5485
|
}
|
|
5507
5486
|
get mbsource() {
|
|
5508
5487
|
return this.$$.ctx[9];
|
|
5509
5488
|
}
|
|
5510
5489
|
set mbsource(t) {
|
|
5511
|
-
this.$$set({ mbsource: t }),
|
|
5490
|
+
this.$$set({ mbsource: t }), A();
|
|
5512
5491
|
}
|
|
5513
5492
|
get clientstyling() {
|
|
5514
5493
|
return this.$$.ctx[10];
|
|
5515
5494
|
}
|
|
5516
5495
|
set clientstyling(t) {
|
|
5517
|
-
this.$$set({ clientstyling: t }),
|
|
5496
|
+
this.$$set({ clientstyling: t }), A();
|
|
5518
5497
|
}
|
|
5519
5498
|
get clientstylingurl() {
|
|
5520
5499
|
return this.$$.ctx[11];
|
|
5521
5500
|
}
|
|
5522
5501
|
set clientstylingurl(t) {
|
|
5523
|
-
this.$$set({ clientstylingurl: t }),
|
|
5502
|
+
this.$$set({ clientstylingurl: t }), A();
|
|
5524
5503
|
}
|
|
5525
5504
|
get translationurl() {
|
|
5526
5505
|
return this.$$.ctx[12];
|
|
5527
5506
|
}
|
|
5528
5507
|
set translationurl(t) {
|
|
5529
|
-
this.$$set({ translationurl: t }),
|
|
5508
|
+
this.$$set({ translationurl: t }), A();
|
|
5530
5509
|
}
|
|
5531
5510
|
get savecredentials() {
|
|
5532
5511
|
return this.$$.ctx[13];
|
|
5533
5512
|
}
|
|
5534
5513
|
set savecredentials(t) {
|
|
5535
|
-
this.$$set({ savecredentials: t }),
|
|
5514
|
+
this.$$set({ savecredentials: t }), A();
|
|
5536
5515
|
}
|
|
5537
5516
|
get custominputtextswitch() {
|
|
5538
5517
|
return this.$$.ctx[14];
|
|
5539
5518
|
}
|
|
5540
5519
|
set custominputtextswitch(t) {
|
|
5541
|
-
this.$$set({ custominputtextswitch: t }),
|
|
5520
|
+
this.$$set({ custominputtextswitch: t }), A();
|
|
5542
5521
|
}
|
|
5543
5522
|
get personalidlength() {
|
|
5544
5523
|
return this.$$.ctx[15];
|
|
5545
5524
|
}
|
|
5546
5525
|
set personalidlength(t) {
|
|
5547
|
-
this.$$set({ personalidlength: t }),
|
|
5526
|
+
this.$$set({ personalidlength: t }), A();
|
|
5548
5527
|
}
|
|
5549
5528
|
}
|
|
5550
|
-
|
|
5551
|
-
const
|
|
5529
|
+
Ln(Zr, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, trackedanalyticsdata: {}, captchakey: {}, lang: {}, licenseyears: {}, disabledfields: {}, defaultoptions: {}, smsverification: {}, simplepasswordvalidation: {}, userroles: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, custominputtextswitch: {}, personalidlength: {} }, [], [], !0);
|
|
5530
|
+
const oo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5552
5531
|
__proto__: null,
|
|
5553
|
-
default:
|
|
5532
|
+
default: Zr
|
|
5554
5533
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
5555
5534
|
export {
|
|
5556
5535
|
J as $,
|
|
5557
|
-
|
|
5558
|
-
|
|
5559
|
-
|
|
5560
|
-
|
|
5561
|
-
|
|
5562
|
-
|
|
5563
|
-
|
|
5564
|
-
|
|
5565
|
-
|
|
5536
|
+
et as A,
|
|
5537
|
+
no as B,
|
|
5538
|
+
so as C,
|
|
5539
|
+
to as D,
|
|
5540
|
+
yn as E,
|
|
5541
|
+
io as F,
|
|
5542
|
+
ue as G,
|
|
5543
|
+
eo as H,
|
|
5544
|
+
oo as I,
|
|
5566
5545
|
Mn as S,
|
|
5567
|
-
|
|
5568
|
-
|
|
5569
|
-
|
|
5570
|
-
|
|
5571
|
-
|
|
5572
|
-
|
|
5573
|
-
|
|
5546
|
+
$r as a,
|
|
5547
|
+
dn as b,
|
|
5548
|
+
Ln as c,
|
|
5549
|
+
G as d,
|
|
5550
|
+
B as e,
|
|
5551
|
+
A as f,
|
|
5552
|
+
x as g,
|
|
5574
5553
|
U as h,
|
|
5575
|
-
|
|
5554
|
+
Rn as i,
|
|
5576
5555
|
E as j,
|
|
5577
|
-
|
|
5578
|
-
|
|
5579
|
-
|
|
5556
|
+
ro as k,
|
|
5557
|
+
vn as l,
|
|
5558
|
+
ee as m,
|
|
5580
5559
|
k as n,
|
|
5581
|
-
|
|
5582
|
-
|
|
5583
|
-
|
|
5584
|
-
|
|
5585
|
-
|
|
5586
|
-
|
|
5587
|
-
|
|
5588
|
-
|
|
5589
|
-
|
|
5590
|
-
|
|
5591
|
-
|
|
5592
|
-
|
|
5560
|
+
N as o,
|
|
5561
|
+
pn as p,
|
|
5562
|
+
Sn as q,
|
|
5563
|
+
be as r,
|
|
5564
|
+
pr as s,
|
|
5565
|
+
V as t,
|
|
5566
|
+
js as u,
|
|
5567
|
+
Ie as v,
|
|
5568
|
+
Gs as w,
|
|
5569
|
+
ks as x,
|
|
5570
|
+
Te as y,
|
|
5571
|
+
Ds as z
|
|
5593
5572
|
};
|