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