@everymatrix/general-player-register-form-nd 1.77.26 → 1.77.27
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-DsMvfO2O.js → GeneralPlayerRegisterFormNd-DC5YFwAY.js} +959 -938
- package/components/{GeneralPlayerRegisterFormNd-B81vMd6o.js → GeneralPlayerRegisterFormNd-DFOeIajF.js} +968 -947
- package/components/GeneralPlayerRegisterFormNd-DjCemZTL.cjs +18 -0
- package/components/{GeneralPlayerRegisterFormStep1-ChHWqbZT.js → GeneralPlayerRegisterFormStep1-B8x2npcd.js} +31 -31
- package/components/{GeneralPlayerRegisterFormStep1-B1yUji7Q.cjs → GeneralPlayerRegisterFormStep1-DSOyErgo.cjs} +1 -1
- package/components/{GeneralPlayerRegisterFormStep1-ChAgwOVE.js → GeneralPlayerRegisterFormStep1-FnS-hDMY.js} +31 -31
- package/components/{GeneralPlayerRegisterFormStep2-m-1TTcWc.js → GeneralPlayerRegisterFormStep2-ALcjJ8nv.js} +51 -53
- package/components/{GeneralPlayerRegisterFormStep2-wd8bqKAA.js → GeneralPlayerRegisterFormStep2-B1mLv9cm.js} +51 -53
- package/components/GeneralPlayerRegisterFormStep2-DWAnaeOm.cjs +2 -0
- package/components/{GeneralPlayerRegisterFormStep3-DRKlVOfe.cjs → GeneralPlayerRegisterFormStep3-B842736j.cjs} +1 -1
- package/components/{GeneralPlayerRegisterFormStep3-BWdiFMfP.js → GeneralPlayerRegisterFormStep3-BrmjFpUQ.js} +14 -14
- package/components/{GeneralPlayerRegisterFormStep3-CakxX22B.js → GeneralPlayerRegisterFormStep3-DL4phv_H.js} +14 -14
- package/components/{GeneralPlayerSmsVerificationForm-BLNcr3Lk.js → GeneralPlayerSmsVerificationForm-BdCceV0k.js} +25 -25
- package/components/{GeneralPlayerSmsVerificationForm-7Ta2HmaS.js → GeneralPlayerSmsVerificationForm-CMoVD2PA.js} +25 -25
- package/components/{GeneralPlayerSmsVerificationForm-yHLU83KN.cjs → GeneralPlayerSmsVerificationForm-CuVBltwG.cjs} +1 -1
- package/es2015/general-player-register-form-nd.cjs +1 -1
- package/es2015/general-player-register-form-nd.js +1 -1
- package/esnext/general-player-register-form-nd.js +1 -1
- package/package.json +1 -1
- package/components/GeneralPlayerRegisterFormNd-DVeAF24W.cjs +0 -18
- package/components/GeneralPlayerRegisterFormStep2-DOr7-P-1.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 P() {
|
|
|
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 Pn(e) {
|
|
218
218
|
const t = [], r = [];
|
|
219
219
|
te.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), te = t;
|
|
220
220
|
}
|
|
221
|
-
const
|
|
222
|
-
function
|
|
223
|
-
e && e.i && (
|
|
221
|
+
const An = /* @__PURE__ */ new Set();
|
|
222
|
+
function On(e, t) {
|
|
223
|
+
e && e.i && (An.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 && (Pn(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 Pe(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 Ae(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 Ae(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 Pr(e) {
|
|
1278
|
-
return e.type ===
|
|
1286
|
+
return e.type === x.number;
|
|
1279
1287
|
}
|
|
1280
1288
|
function Ar(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 P = function() {
|
|
1405
|
+
return P = 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
|
+
}, P.apply(this, arguments);
|
|
1413
|
+
};
|
|
1414
|
+
var Bi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1415
|
+
function Pi(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 Ai(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 Ai(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 = Ai(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 = P(P(P({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1537
|
+
return P(P({}, l), Yt(u));
|
|
1517
1538
|
}, {}));
|
|
1518
1539
|
continue;
|
|
1519
1540
|
case "engineering":
|
|
1520
|
-
t =
|
|
1521
|
-
return
|
|
1541
|
+
t = P(P(P({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1542
|
+
return P(P({}, 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 = P(P({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = P(P({}, t), Qt(s)));
|
|
1591
1612
|
continue;
|
|
1592
1613
|
}
|
|
1593
1614
|
if (Mr.test(i.stem)) {
|
|
1594
|
-
t =
|
|
1615
|
+
t = P(P({}, 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 = P(P({}, t), o));
|
|
1620
|
+
var a = Ci(i.stem);
|
|
1621
|
+
a && (t = P(P({}, 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 A = this.clonePosition();
|
|
3408
3429
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3409
|
-
return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, _(A,
|
|
3430
|
+
return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, _(A, Re({}, A)));
|
|
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 = Pi(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
|
+
Pr(t) && Lr(t.style) || (Ar(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 (Ar(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 (Pr(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 A = h.options[
|
|
3797
|
+
if (Cr(h)) {
|
|
3798
|
+
var A = h.options[m] || h.options.other;
|
|
3778
3799
|
if (!A)
|
|
3779
|
-
throw new
|
|
3800
|
+
throw new rr(h.value, m, Object.keys(h.options), o);
|
|
3780
3801
|
a.push.apply(a, Oe(A.value, t, r, n, i));
|
|
3781
3802
|
continue;
|
|
3782
3803
|
}
|
|
3783
|
-
if (
|
|
3784
|
-
var A = h.options["=".concat(
|
|
3804
|
+
if (Ir(h)) {
|
|
3805
|
+
var A = h.options["=".concat(m)];
|
|
3785
3806
|
if (!A) {
|
|
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
|
A = h.options[L] || h.options.other;
|
|
3792
3813
|
}
|
|
3793
3814
|
if (!A)
|
|
3794
|
-
throw new
|
|
3795
|
-
a.push.apply(a, Oe(A.value, t, r, n, i,
|
|
3815
|
+
throw new rr(h.value, m, Object.keys(h.options), o);
|
|
3816
|
+
a.push.apply(a, Oe(A.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
|
+
), Ps = 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
|
+
), As = 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 Ps(_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 As(_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,33 +4274,33 @@ 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
|
|
4271
|
-
function
|
|
4291
|
+
const ar = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4292
|
+
function Gs({ withLocale: e, translations: t }) {
|
|
4272
4293
|
J.subscribe((r) => {
|
|
4273
|
-
r == null && (
|
|
4294
|
+
r == null && (ae.set(t), J.set(e));
|
|
4274
4295
|
});
|
|
4275
4296
|
}
|
|
4276
|
-
function
|
|
4277
|
-
|
|
4297
|
+
function ur(e, t) {
|
|
4298
|
+
Vr(e, t);
|
|
4278
4299
|
}
|
|
4279
|
-
function
|
|
4300
|
+
function ks(e) {
|
|
4280
4301
|
J.set(e);
|
|
4281
4302
|
}
|
|
4282
|
-
const
|
|
4303
|
+
const lr = {
|
|
4283
4304
|
en: {
|
|
4284
4305
|
goToLoginButton: "Go To Login",
|
|
4285
4306
|
error: "We encountered an issue. Please go to Login to receive your SMS code."
|
|
@@ -4325,13 +4346,13 @@ const ar = {
|
|
|
4325
4346
|
error: "We encountered an issue. Please go to Login to receive your SMS code."
|
|
4326
4347
|
}
|
|
4327
4348
|
};
|
|
4328
|
-
function
|
|
4349
|
+
function js(e, t) {
|
|
4329
4350
|
if (e) {
|
|
4330
4351
|
const r = document.createElement("style");
|
|
4331
4352
|
r.innerHTML = t, e.appendChild(r);
|
|
4332
4353
|
}
|
|
4333
4354
|
}
|
|
4334
|
-
function
|
|
4355
|
+
function $s(e, t) {
|
|
4335
4356
|
const r = new URL(t);
|
|
4336
4357
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4337
4358
|
const i = document.createElement("style");
|
|
@@ -4340,7 +4361,7 @@ function ks(e, t) {
|
|
|
4340
4361
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4341
4362
|
});
|
|
4342
4363
|
}
|
|
4343
|
-
function
|
|
4364
|
+
function Vs(e, t, r) {
|
|
4344
4365
|
if (window.emMessageBus) {
|
|
4345
4366
|
const n = document.createElement("style");
|
|
4346
4367
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4360,7 +4381,7 @@ if (typeof window != "undefined") {
|
|
|
4360
4381
|
}
|
|
4361
4382
|
};
|
|
4362
4383
|
};
|
|
4363
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep1-
|
|
4384
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep1-FnS-hDMY.js").then(({ default: t }) => {
|
|
4364
4385
|
!customElements.get("general-player-register-form-step1") && customElements.define("general-player-register-form-step1", t.element);
|
|
4365
4386
|
});
|
|
4366
4387
|
}
|
|
@@ -4376,7 +4397,7 @@ if (typeof window != "undefined") {
|
|
|
4376
4397
|
}
|
|
4377
4398
|
};
|
|
4378
4399
|
};
|
|
4379
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep2-
|
|
4400
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep2-B1mLv9cm.js").then(({ default: t }) => {
|
|
4380
4401
|
!customElements.get("general-player-register-form-step2") && customElements.define("general-player-register-form-step2", t.element);
|
|
4381
4402
|
});
|
|
4382
4403
|
}
|
|
@@ -4392,7 +4413,7 @@ if (typeof window != "undefined") {
|
|
|
4392
4413
|
}
|
|
4393
4414
|
};
|
|
4394
4415
|
};
|
|
4395
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep3-
|
|
4416
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep3-DL4phv_H.js").then(({ default: t }) => {
|
|
4396
4417
|
!customElements.get("general-player-register-form-step3") && customElements.define("general-player-register-form-step3", t.element);
|
|
4397
4418
|
});
|
|
4398
4419
|
}
|
|
@@ -4408,85 +4429,85 @@ if (typeof window != "undefined") {
|
|
|
4408
4429
|
}
|
|
4409
4430
|
};
|
|
4410
4431
|
};
|
|
4411
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-
|
|
4432
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-BdCceV0k.js").then(({ default: t }) => {
|
|
4412
4433
|
!customElements.get("general-player-sms-verification-form") && customElements.define("general-player-sms-verification-form", t.element);
|
|
4413
4434
|
});
|
|
4414
4435
|
}
|
|
4415
|
-
function
|
|
4416
|
-
|
|
4436
|
+
function Xs(e) {
|
|
4437
|
+
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}");
|
|
4417
4438
|
}
|
|
4418
|
-
function
|
|
4439
|
+
function Ws(e) {
|
|
4419
4440
|
let t, r, n, i, s, o, a, l = (
|
|
4420
4441
|
/*showRegisterStepOne*/
|
|
4421
4442
|
(e[18] || /*showRegisterStepTwo*/
|
|
4422
4443
|
e[19] || /*showRegisterStepThree*/
|
|
4423
|
-
e[20]) &&
|
|
4444
|
+
e[20]) && hr(e)
|
|
4424
4445
|
), u = (
|
|
4425
4446
|
/*showRegisterStepOne*/
|
|
4426
|
-
e[18] &&
|
|
4447
|
+
e[18] && fr(e)
|
|
4427
4448
|
), h = (
|
|
4428
4449
|
/*showRegisterStepTwo*/
|
|
4429
|
-
e[19] &&
|
|
4450
|
+
e[19] && cr(e)
|
|
4430
4451
|
), c = (
|
|
4431
4452
|
/*showRegisterStepThree*/
|
|
4432
|
-
e[20] &&
|
|
4453
|
+
e[20] && pr(e)
|
|
4433
4454
|
);
|
|
4434
|
-
function
|
|
4455
|
+
function m(b, w) {
|
|
4435
4456
|
if (
|
|
4436
4457
|
/*smsverification*/
|
|
4437
4458
|
b[7] && /*showSmsVerification*/
|
|
4438
4459
|
b[21]
|
|
4439
4460
|
)
|
|
4440
|
-
return
|
|
4461
|
+
return Zs;
|
|
4441
4462
|
if (
|
|
4442
4463
|
/*smsSendApiFailed*/
|
|
4443
4464
|
b[31]
|
|
4444
4465
|
)
|
|
4445
|
-
return
|
|
4466
|
+
return zs;
|
|
4446
4467
|
}
|
|
4447
|
-
let y =
|
|
4468
|
+
let y = m(e), g = y && y(e), d = (
|
|
4448
4469
|
/*showConfirmation*/
|
|
4449
|
-
e[22] &&
|
|
4470
|
+
e[22] && mr(e)
|
|
4450
4471
|
);
|
|
4451
4472
|
return {
|
|
4452
4473
|
c() {
|
|
4453
|
-
t =
|
|
4454
|
-
(e[35] ? "RegisterFormContainerMobile" : "")),
|
|
4474
|
+
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*/
|
|
4475
|
+
(e[35] ? "RegisterFormContainerMobile" : "")), S(t, "class", "RegisterFormWrapper");
|
|
4455
4476
|
},
|
|
4456
|
-
m(b,
|
|
4457
|
-
U(b, t,
|
|
4477
|
+
m(b, w) {
|
|
4478
|
+
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);
|
|
4458
4479
|
},
|
|
4459
|
-
p(b,
|
|
4480
|
+
p(b, w) {
|
|
4460
4481
|
/*showRegisterStepOne*/
|
|
4461
4482
|
b[18] || /*showRegisterStepTwo*/
|
|
4462
4483
|
b[19] || /*showRegisterStepThree*/
|
|
4463
|
-
b[20] ? l ? l.p(b,
|
|
4464
|
-
b[18] ? u ? u.p(b,
|
|
4465
|
-
b[19] ? h ? h.p(b,
|
|
4466
|
-
b[20] ? c ? c.p(b,
|
|
4467
|
-
b[22] ? d ? d.p(b,
|
|
4484
|
+
b[20] ? l ? l.p(b, w) : (l = hr(b), l.c(), l.m(r, n)) : l && (l.d(1), l = null), /*showRegisterStepOne*/
|
|
4485
|
+
b[18] ? u ? u.p(b, w) : (u = fr(b), u.c(), u.m(r, i)) : u && (u.d(1), u = null), /*showRegisterStepTwo*/
|
|
4486
|
+
b[19] ? h ? h.p(b, w) : (h = cr(b), h.c(), h.m(r, s)) : h && (h.d(1), h = null), /*showRegisterStepThree*/
|
|
4487
|
+
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*/
|
|
4488
|
+
b[22] ? d ? d.p(b, w) : (d = mr(b), d.c(), d.m(r, null)) : d && (d.d(1), d = null);
|
|
4468
4489
|
},
|
|
4469
4490
|
d(b) {
|
|
4470
|
-
b &&
|
|
4491
|
+
b && M(t), l && l.d(), u && u.d(), h && h.d(), c && c.d(), g && g.d(), d && d.d();
|
|
4471
4492
|
}
|
|
4472
4493
|
};
|
|
4473
4494
|
}
|
|
4474
|
-
function
|
|
4495
|
+
function hr(e) {
|
|
4475
4496
|
let t, r, n, i, s, o, a, l, u;
|
|
4476
4497
|
return {
|
|
4477
4498
|
c() {
|
|
4478
|
-
t =
|
|
4499
|
+
t = H("div"), r = H("div"), i = G(), s = H("div"), a = G(), l = H("div"), S(r, "class", n = "RegisterFirstStepDash " + /*showRegisterStepOne*/
|
|
4479
4500
|
(e[18] || !/*showRegisterStepOne*/
|
|
4480
4501
|
e[18] && /*showRegisterStepTwo*/
|
|
4481
4502
|
e[19] || !/*showRegisterStepOne*/
|
|
4482
4503
|
e[18] && !/*showRegisterStepTwo*/
|
|
4483
4504
|
e[19] && /*showRegisterStepThree*/
|
|
4484
|
-
e[20] ? "RegisterStepDashColor" : "")),
|
|
4505
|
+
e[20] ? "RegisterStepDashColor" : "")), S(s, "class", o = "RegisterSecondStepDash " + /*showRegisterStepTwo*/
|
|
4485
4506
|
(e[19] || !/*showRegisterStepOne*/
|
|
4486
4507
|
e[18] && !/*showRegisterStepTwo*/
|
|
4487
4508
|
e[19] && /*showRegisterStepThree*/
|
|
4488
|
-
e[20] ? "RegisterStepDashColor" : "")),
|
|
4489
|
-
(e[20] ? "RegisterStepDashColor" : "")),
|
|
4509
|
+
e[20] ? "RegisterStepDashColor" : "")), S(l, "class", u = "RegisterThirdStepDash " + /*showRegisterStepThree*/
|
|
4510
|
+
(e[20] ? "RegisterStepDashColor" : "")), S(t, "class", "RegisterSteps");
|
|
4490
4511
|
},
|
|
4491
4512
|
m(h, c) {
|
|
4492
4513
|
U(h, t, c), E(t, r), E(t, i), E(t, s), E(t, a), E(t, l), e[41](t);
|
|
@@ -4499,136 +4520,136 @@ function ur(e) {
|
|
|
4499
4520
|
h[19] || !/*showRegisterStepOne*/
|
|
4500
4521
|
h[18] && !/*showRegisterStepTwo*/
|
|
4501
4522
|
h[19] && /*showRegisterStepThree*/
|
|
4502
|
-
h[20] ? "RegisterStepDashColor" : "")) &&
|
|
4523
|
+
h[20] ? "RegisterStepDashColor" : "")) && S(r, "class", n), c[0] & /*showRegisterStepTwo, showRegisterStepOne, showRegisterStepThree*/
|
|
4503
4524
|
1835008 && o !== (o = "RegisterSecondStepDash " + /*showRegisterStepTwo*/
|
|
4504
4525
|
(h[19] || !/*showRegisterStepOne*/
|
|
4505
4526
|
h[18] && !/*showRegisterStepTwo*/
|
|
4506
4527
|
h[19] && /*showRegisterStepThree*/
|
|
4507
|
-
h[20] ? "RegisterStepDashColor" : "")) &&
|
|
4528
|
+
h[20] ? "RegisterStepDashColor" : "")) && S(s, "class", o), c[0] & /*showRegisterStepThree*/
|
|
4508
4529
|
1048576 && u !== (u = "RegisterThirdStepDash " + /*showRegisterStepThree*/
|
|
4509
|
-
(h[20] ? "RegisterStepDashColor" : "")) &&
|
|
4530
|
+
(h[20] ? "RegisterStepDashColor" : "")) && S(l, "class", u);
|
|
4510
4531
|
},
|
|
4511
4532
|
d(h) {
|
|
4512
|
-
h &&
|
|
4533
|
+
h && M(t), e[41](null);
|
|
4513
4534
|
}
|
|
4514
4535
|
};
|
|
4515
4536
|
}
|
|
4516
|
-
function
|
|
4537
|
+
function fr(e) {
|
|
4517
4538
|
let t, r;
|
|
4518
4539
|
return {
|
|
4519
4540
|
c() {
|
|
4520
|
-
t =
|
|
4541
|
+
t = H("div"), r = H("general-player-register-form-step1"), p(
|
|
4521
4542
|
r,
|
|
4522
4543
|
"lang",
|
|
4523
4544
|
/*lang*/
|
|
4524
4545
|
e[3]
|
|
4525
|
-
),
|
|
4546
|
+
), p(
|
|
4526
4547
|
r,
|
|
4527
4548
|
"disabledfields",
|
|
4528
4549
|
/*disabledfields*/
|
|
4529
4550
|
e[5]
|
|
4530
|
-
),
|
|
4551
|
+
), p(
|
|
4531
4552
|
r,
|
|
4532
4553
|
"defaultoptions",
|
|
4533
4554
|
/*defaultoptions*/
|
|
4534
4555
|
e[6]
|
|
4535
|
-
),
|
|
4556
|
+
), p(
|
|
4536
4557
|
r,
|
|
4537
4558
|
"custominputtextswitch",
|
|
4538
4559
|
/*custominputtextswitch*/
|
|
4539
4560
|
e[14]
|
|
4540
|
-
),
|
|
4561
|
+
), p(
|
|
4541
4562
|
r,
|
|
4542
4563
|
"simplepasswordvalidation",
|
|
4543
4564
|
/*simplepasswordvalidation*/
|
|
4544
4565
|
e[8]
|
|
4545
|
-
),
|
|
4566
|
+
), p(
|
|
4546
4567
|
r,
|
|
4547
4568
|
"clientstyling",
|
|
4548
4569
|
/*clientstyling*/
|
|
4549
4570
|
e[10]
|
|
4550
|
-
),
|
|
4571
|
+
), p(
|
|
4551
4572
|
r,
|
|
4552
4573
|
"clientstylingurl",
|
|
4553
4574
|
/*clientstylingurl*/
|
|
4554
4575
|
e[11]
|
|
4555
|
-
),
|
|
4576
|
+
), p(
|
|
4556
4577
|
r,
|
|
4557
4578
|
"savecredentials",
|
|
4558
4579
|
/*savecredentials*/
|
|
4559
4580
|
e[13]
|
|
4560
|
-
),
|
|
4581
|
+
), p(
|
|
4561
4582
|
r,
|
|
4562
4583
|
"translationurl",
|
|
4563
4584
|
/*translationurl*/
|
|
4564
4585
|
e[12]
|
|
4565
|
-
),
|
|
4586
|
+
), p(
|
|
4566
4587
|
r,
|
|
4567
4588
|
"mbsource",
|
|
4568
4589
|
/*mbsource*/
|
|
4569
4590
|
e[9]
|
|
4570
|
-
),
|
|
4591
|
+
), S(t, "class", "RegisterFormStep1");
|
|
4571
4592
|
},
|
|
4572
4593
|
m(n, i) {
|
|
4573
4594
|
U(n, t, i), E(t, r);
|
|
4574
4595
|
},
|
|
4575
4596
|
p(n, i) {
|
|
4576
4597
|
i[0] & /*lang*/
|
|
4577
|
-
8 &&
|
|
4598
|
+
8 && p(
|
|
4578
4599
|
r,
|
|
4579
4600
|
"lang",
|
|
4580
4601
|
/*lang*/
|
|
4581
4602
|
n[3]
|
|
4582
4603
|
), i[0] & /*disabledfields*/
|
|
4583
|
-
32 &&
|
|
4604
|
+
32 && p(
|
|
4584
4605
|
r,
|
|
4585
4606
|
"disabledfields",
|
|
4586
4607
|
/*disabledfields*/
|
|
4587
4608
|
n[5]
|
|
4588
4609
|
), i[0] & /*defaultoptions*/
|
|
4589
|
-
64 &&
|
|
4610
|
+
64 && p(
|
|
4590
4611
|
r,
|
|
4591
4612
|
"defaultoptions",
|
|
4592
4613
|
/*defaultoptions*/
|
|
4593
4614
|
n[6]
|
|
4594
4615
|
), i[0] & /*custominputtextswitch*/
|
|
4595
|
-
16384 &&
|
|
4616
|
+
16384 && p(
|
|
4596
4617
|
r,
|
|
4597
4618
|
"custominputtextswitch",
|
|
4598
4619
|
/*custominputtextswitch*/
|
|
4599
4620
|
n[14]
|
|
4600
4621
|
), i[0] & /*simplepasswordvalidation*/
|
|
4601
|
-
256 &&
|
|
4622
|
+
256 && p(
|
|
4602
4623
|
r,
|
|
4603
4624
|
"simplepasswordvalidation",
|
|
4604
4625
|
/*simplepasswordvalidation*/
|
|
4605
4626
|
n[8]
|
|
4606
4627
|
), i[0] & /*clientstyling*/
|
|
4607
|
-
1024 &&
|
|
4628
|
+
1024 && p(
|
|
4608
4629
|
r,
|
|
4609
4630
|
"clientstyling",
|
|
4610
4631
|
/*clientstyling*/
|
|
4611
4632
|
n[10]
|
|
4612
4633
|
), i[0] & /*clientstylingurl*/
|
|
4613
|
-
2048 &&
|
|
4634
|
+
2048 && p(
|
|
4614
4635
|
r,
|
|
4615
4636
|
"clientstylingurl",
|
|
4616
4637
|
/*clientstylingurl*/
|
|
4617
4638
|
n[11]
|
|
4618
4639
|
), i[0] & /*savecredentials*/
|
|
4619
|
-
8192 &&
|
|
4640
|
+
8192 && p(
|
|
4620
4641
|
r,
|
|
4621
4642
|
"savecredentials",
|
|
4622
4643
|
/*savecredentials*/
|
|
4623
4644
|
n[13]
|
|
4624
4645
|
), i[0] & /*translationurl*/
|
|
4625
|
-
4096 &&
|
|
4646
|
+
4096 && p(
|
|
4626
4647
|
r,
|
|
4627
4648
|
"translationurl",
|
|
4628
4649
|
/*translationurl*/
|
|
4629
4650
|
n[12]
|
|
4630
4651
|
), i[0] & /*mbsource*/
|
|
4631
|
-
512 &&
|
|
4652
|
+
512 && p(
|
|
4632
4653
|
r,
|
|
4633
4654
|
"mbsource",
|
|
4634
4655
|
/*mbsource*/
|
|
@@ -4636,126 +4657,126 @@ function lr(e) {
|
|
|
4636
4657
|
);
|
|
4637
4658
|
},
|
|
4638
4659
|
d(n) {
|
|
4639
|
-
n &&
|
|
4660
|
+
n && M(t);
|
|
4640
4661
|
}
|
|
4641
4662
|
};
|
|
4642
4663
|
}
|
|
4643
|
-
function
|
|
4664
|
+
function cr(e) {
|
|
4644
4665
|
let t, r;
|
|
4645
4666
|
return {
|
|
4646
4667
|
c() {
|
|
4647
|
-
t =
|
|
4668
|
+
t = H("div"), r = H("general-player-register-form-step2"), p(
|
|
4648
4669
|
r,
|
|
4649
4670
|
"endpoint",
|
|
4650
4671
|
/*endpoint*/
|
|
4651
4672
|
e[0]
|
|
4652
|
-
),
|
|
4673
|
+
), p(
|
|
4653
4674
|
r,
|
|
4654
4675
|
"lang",
|
|
4655
4676
|
/*lang*/
|
|
4656
4677
|
e[3]
|
|
4657
|
-
),
|
|
4678
|
+
), p(
|
|
4658
4679
|
r,
|
|
4659
4680
|
"licenseyears",
|
|
4660
4681
|
/*licenseyears*/
|
|
4661
4682
|
e[4]
|
|
4662
|
-
),
|
|
4683
|
+
), p(
|
|
4663
4684
|
r,
|
|
4664
4685
|
"disabledfields",
|
|
4665
4686
|
/*disabledfields*/
|
|
4666
4687
|
e[5]
|
|
4667
|
-
),
|
|
4688
|
+
), p(
|
|
4668
4689
|
r,
|
|
4669
4690
|
"defaultoptions",
|
|
4670
4691
|
/*defaultoptions*/
|
|
4671
4692
|
e[6]
|
|
4672
|
-
),
|
|
4693
|
+
), p(
|
|
4673
4694
|
r,
|
|
4674
4695
|
"personalidlength",
|
|
4675
4696
|
/*personalidlength*/
|
|
4676
4697
|
e[15]
|
|
4677
|
-
),
|
|
4698
|
+
), p(
|
|
4678
4699
|
r,
|
|
4679
4700
|
"clientstyling",
|
|
4680
4701
|
/*clientstyling*/
|
|
4681
4702
|
e[10]
|
|
4682
|
-
),
|
|
4703
|
+
), p(
|
|
4683
4704
|
r,
|
|
4684
4705
|
"clientstylingurl",
|
|
4685
4706
|
/*clientstylingurl*/
|
|
4686
4707
|
e[11]
|
|
4687
|
-
),
|
|
4708
|
+
), p(
|
|
4688
4709
|
r,
|
|
4689
4710
|
"translationurl",
|
|
4690
4711
|
/*translationurl*/
|
|
4691
4712
|
e[12]
|
|
4692
|
-
),
|
|
4713
|
+
), p(
|
|
4693
4714
|
r,
|
|
4694
4715
|
"mbsource",
|
|
4695
4716
|
/*mbsource*/
|
|
4696
4717
|
e[9]
|
|
4697
|
-
),
|
|
4718
|
+
), S(t, "class", "RegisterFormStep2");
|
|
4698
4719
|
},
|
|
4699
4720
|
m(n, i) {
|
|
4700
4721
|
U(n, t, i), E(t, r);
|
|
4701
4722
|
},
|
|
4702
4723
|
p(n, i) {
|
|
4703
4724
|
i[0] & /*endpoint*/
|
|
4704
|
-
1 &&
|
|
4725
|
+
1 && p(
|
|
4705
4726
|
r,
|
|
4706
4727
|
"endpoint",
|
|
4707
4728
|
/*endpoint*/
|
|
4708
4729
|
n[0]
|
|
4709
4730
|
), i[0] & /*lang*/
|
|
4710
|
-
8 &&
|
|
4731
|
+
8 && p(
|
|
4711
4732
|
r,
|
|
4712
4733
|
"lang",
|
|
4713
4734
|
/*lang*/
|
|
4714
4735
|
n[3]
|
|
4715
4736
|
), i[0] & /*licenseyears*/
|
|
4716
|
-
16 &&
|
|
4737
|
+
16 && p(
|
|
4717
4738
|
r,
|
|
4718
4739
|
"licenseyears",
|
|
4719
4740
|
/*licenseyears*/
|
|
4720
4741
|
n[4]
|
|
4721
4742
|
), i[0] & /*disabledfields*/
|
|
4722
|
-
32 &&
|
|
4743
|
+
32 && p(
|
|
4723
4744
|
r,
|
|
4724
4745
|
"disabledfields",
|
|
4725
4746
|
/*disabledfields*/
|
|
4726
4747
|
n[5]
|
|
4727
4748
|
), i[0] & /*defaultoptions*/
|
|
4728
|
-
64 &&
|
|
4749
|
+
64 && p(
|
|
4729
4750
|
r,
|
|
4730
4751
|
"defaultoptions",
|
|
4731
4752
|
/*defaultoptions*/
|
|
4732
4753
|
n[6]
|
|
4733
4754
|
), i[0] & /*personalidlength*/
|
|
4734
|
-
32768 &&
|
|
4755
|
+
32768 && p(
|
|
4735
4756
|
r,
|
|
4736
4757
|
"personalidlength",
|
|
4737
4758
|
/*personalidlength*/
|
|
4738
4759
|
n[15]
|
|
4739
4760
|
), i[0] & /*clientstyling*/
|
|
4740
|
-
1024 &&
|
|
4761
|
+
1024 && p(
|
|
4741
4762
|
r,
|
|
4742
4763
|
"clientstyling",
|
|
4743
4764
|
/*clientstyling*/
|
|
4744
4765
|
n[10]
|
|
4745
4766
|
), i[0] & /*clientstylingurl*/
|
|
4746
|
-
2048 &&
|
|
4767
|
+
2048 && p(
|
|
4747
4768
|
r,
|
|
4748
4769
|
"clientstylingurl",
|
|
4749
4770
|
/*clientstylingurl*/
|
|
4750
4771
|
n[11]
|
|
4751
4772
|
), i[0] & /*translationurl*/
|
|
4752
|
-
4096 &&
|
|
4773
|
+
4096 && p(
|
|
4753
4774
|
r,
|
|
4754
4775
|
"translationurl",
|
|
4755
4776
|
/*translationurl*/
|
|
4756
4777
|
n[12]
|
|
4757
4778
|
), i[0] & /*mbsource*/
|
|
4758
|
-
512 &&
|
|
4779
|
+
512 && p(
|
|
4759
4780
|
r,
|
|
4760
4781
|
"mbsource",
|
|
4761
4782
|
/*mbsource*/
|
|
@@ -4763,159 +4784,159 @@ function hr(e) {
|
|
|
4763
4784
|
);
|
|
4764
4785
|
},
|
|
4765
4786
|
d(n) {
|
|
4766
|
-
n &&
|
|
4787
|
+
n && M(t);
|
|
4767
4788
|
}
|
|
4768
4789
|
};
|
|
4769
4790
|
}
|
|
4770
|
-
function
|
|
4791
|
+
function pr(e) {
|
|
4771
4792
|
let t, r;
|
|
4772
4793
|
return {
|
|
4773
4794
|
c() {
|
|
4774
|
-
t =
|
|
4795
|
+
t = H("div"), r = H("general-player-register-form-step3"), p(
|
|
4775
4796
|
r,
|
|
4776
4797
|
"userconsentsexist",
|
|
4777
4798
|
/*userconsentsexist*/
|
|
4778
4799
|
e[26]
|
|
4779
|
-
),
|
|
4800
|
+
), p(
|
|
4780
4801
|
r,
|
|
4781
4802
|
"termsconditions",
|
|
4782
4803
|
/*termsconditions*/
|
|
4783
4804
|
e[27]
|
|
4784
|
-
),
|
|
4805
|
+
), p(
|
|
4785
4806
|
r,
|
|
4786
4807
|
"smsoffers",
|
|
4787
4808
|
/*smsoffers*/
|
|
4788
4809
|
e[28]
|
|
4789
|
-
),
|
|
4810
|
+
), p(
|
|
4790
4811
|
r,
|
|
4791
4812
|
"emailmarketing",
|
|
4792
4813
|
/*emailmarketing*/
|
|
4793
4814
|
e[29]
|
|
4794
|
-
),
|
|
4815
|
+
), p(
|
|
4795
4816
|
r,
|
|
4796
4817
|
"endpoint",
|
|
4797
4818
|
/*endpoint*/
|
|
4798
4819
|
e[0]
|
|
4799
|
-
),
|
|
4820
|
+
), p(
|
|
4800
4821
|
r,
|
|
4801
4822
|
"captchakey",
|
|
4802
4823
|
/*captchakey*/
|
|
4803
4824
|
e[2]
|
|
4804
|
-
),
|
|
4825
|
+
), p(
|
|
4805
4826
|
r,
|
|
4806
4827
|
"lang",
|
|
4807
4828
|
/*lang*/
|
|
4808
4829
|
e[3]
|
|
4809
|
-
),
|
|
4830
|
+
), p(
|
|
4810
4831
|
r,
|
|
4811
4832
|
"defaultoptions",
|
|
4812
4833
|
/*defaultoptions*/
|
|
4813
4834
|
e[6]
|
|
4814
|
-
),
|
|
4835
|
+
), p(
|
|
4815
4836
|
r,
|
|
4816
4837
|
"disabledfields",
|
|
4817
4838
|
/*disabledfields*/
|
|
4818
4839
|
e[5]
|
|
4819
|
-
),
|
|
4840
|
+
), p(
|
|
4820
4841
|
r,
|
|
4821
4842
|
"clientstyling",
|
|
4822
4843
|
/*clientstyling*/
|
|
4823
4844
|
e[10]
|
|
4824
|
-
),
|
|
4845
|
+
), p(
|
|
4825
4846
|
r,
|
|
4826
4847
|
"clientstylingurl",
|
|
4827
4848
|
/*clientstylingurl*/
|
|
4828
4849
|
e[11]
|
|
4829
|
-
),
|
|
4850
|
+
), p(
|
|
4830
4851
|
r,
|
|
4831
4852
|
"translationurl",
|
|
4832
4853
|
/*translationurl*/
|
|
4833
4854
|
e[12]
|
|
4834
|
-
),
|
|
4855
|
+
), p(
|
|
4835
4856
|
r,
|
|
4836
4857
|
"mbsource",
|
|
4837
4858
|
/*mbsource*/
|
|
4838
4859
|
e[9]
|
|
4839
|
-
),
|
|
4860
|
+
), S(t, "class", "RegisterFormStep3");
|
|
4840
4861
|
},
|
|
4841
4862
|
m(n, i) {
|
|
4842
4863
|
U(n, t, i), E(t, r);
|
|
4843
4864
|
},
|
|
4844
4865
|
p(n, i) {
|
|
4845
4866
|
i[0] & /*userconsentsexist*/
|
|
4846
|
-
67108864 &&
|
|
4867
|
+
67108864 && p(
|
|
4847
4868
|
r,
|
|
4848
4869
|
"userconsentsexist",
|
|
4849
4870
|
/*userconsentsexist*/
|
|
4850
4871
|
n[26]
|
|
4851
4872
|
), i[0] & /*termsconditions*/
|
|
4852
|
-
134217728 &&
|
|
4873
|
+
134217728 && p(
|
|
4853
4874
|
r,
|
|
4854
4875
|
"termsconditions",
|
|
4855
4876
|
/*termsconditions*/
|
|
4856
4877
|
n[27]
|
|
4857
4878
|
), i[0] & /*smsoffers*/
|
|
4858
|
-
268435456 &&
|
|
4879
|
+
268435456 && p(
|
|
4859
4880
|
r,
|
|
4860
4881
|
"smsoffers",
|
|
4861
4882
|
/*smsoffers*/
|
|
4862
4883
|
n[28]
|
|
4863
4884
|
), i[0] & /*emailmarketing*/
|
|
4864
|
-
536870912 &&
|
|
4885
|
+
536870912 && p(
|
|
4865
4886
|
r,
|
|
4866
4887
|
"emailmarketing",
|
|
4867
4888
|
/*emailmarketing*/
|
|
4868
4889
|
n[29]
|
|
4869
4890
|
), i[0] & /*endpoint*/
|
|
4870
|
-
1 &&
|
|
4891
|
+
1 && p(
|
|
4871
4892
|
r,
|
|
4872
4893
|
"endpoint",
|
|
4873
4894
|
/*endpoint*/
|
|
4874
4895
|
n[0]
|
|
4875
4896
|
), i[0] & /*captchakey*/
|
|
4876
|
-
4 &&
|
|
4897
|
+
4 && p(
|
|
4877
4898
|
r,
|
|
4878
4899
|
"captchakey",
|
|
4879
4900
|
/*captchakey*/
|
|
4880
4901
|
n[2]
|
|
4881
4902
|
), i[0] & /*lang*/
|
|
4882
|
-
8 &&
|
|
4903
|
+
8 && p(
|
|
4883
4904
|
r,
|
|
4884
4905
|
"lang",
|
|
4885
4906
|
/*lang*/
|
|
4886
4907
|
n[3]
|
|
4887
4908
|
), i[0] & /*defaultoptions*/
|
|
4888
|
-
64 &&
|
|
4909
|
+
64 && p(
|
|
4889
4910
|
r,
|
|
4890
4911
|
"defaultoptions",
|
|
4891
4912
|
/*defaultoptions*/
|
|
4892
4913
|
n[6]
|
|
4893
4914
|
), i[0] & /*disabledfields*/
|
|
4894
|
-
32 &&
|
|
4915
|
+
32 && p(
|
|
4895
4916
|
r,
|
|
4896
4917
|
"disabledfields",
|
|
4897
4918
|
/*disabledfields*/
|
|
4898
4919
|
n[5]
|
|
4899
4920
|
), i[0] & /*clientstyling*/
|
|
4900
|
-
1024 &&
|
|
4921
|
+
1024 && p(
|
|
4901
4922
|
r,
|
|
4902
4923
|
"clientstyling",
|
|
4903
4924
|
/*clientstyling*/
|
|
4904
4925
|
n[10]
|
|
4905
4926
|
), i[0] & /*clientstylingurl*/
|
|
4906
|
-
2048 &&
|
|
4927
|
+
2048 && p(
|
|
4907
4928
|
r,
|
|
4908
4929
|
"clientstylingurl",
|
|
4909
4930
|
/*clientstylingurl*/
|
|
4910
4931
|
n[11]
|
|
4911
4932
|
), i[0] & /*translationurl*/
|
|
4912
|
-
4096 &&
|
|
4933
|
+
4096 && p(
|
|
4913
4934
|
r,
|
|
4914
4935
|
"translationurl",
|
|
4915
4936
|
/*translationurl*/
|
|
4916
4937
|
n[12]
|
|
4917
4938
|
), i[0] & /*mbsource*/
|
|
4918
|
-
512 &&
|
|
4939
|
+
512 && p(
|
|
4919
4940
|
r,
|
|
4920
4941
|
"mbsource",
|
|
4921
4942
|
/*mbsource*/
|
|
@@ -4923,18 +4944,18 @@ function fr(e) {
|
|
|
4923
4944
|
);
|
|
4924
4945
|
},
|
|
4925
4946
|
d(n) {
|
|
4926
|
-
n &&
|
|
4947
|
+
n && M(t);
|
|
4927
4948
|
}
|
|
4928
4949
|
};
|
|
4929
4950
|
}
|
|
4930
|
-
function
|
|
4951
|
+
function zs(e) {
|
|
4931
4952
|
let t, r = (
|
|
4932
4953
|
/*$_*/
|
|
4933
4954
|
e[34]("error") + ""
|
|
4934
4955
|
), n;
|
|
4935
4956
|
return {
|
|
4936
4957
|
c() {
|
|
4937
|
-
t =
|
|
4958
|
+
t = H("p"), n = X(r), S(t, "class", "SMSErrorText");
|
|
4938
4959
|
},
|
|
4939
4960
|
m(i, s) {
|
|
4940
4961
|
U(i, t, s), E(t, n);
|
|
@@ -4945,22 +4966,22 @@ function Xs(e) {
|
|
|
4945
4966
|
i[34]("error") + "") && ee(n, r);
|
|
4946
4967
|
},
|
|
4947
4968
|
d(i) {
|
|
4948
|
-
i &&
|
|
4969
|
+
i && M(t);
|
|
4949
4970
|
}
|
|
4950
4971
|
};
|
|
4951
4972
|
}
|
|
4952
|
-
function
|
|
4973
|
+
function Zs(e) {
|
|
4953
4974
|
let t;
|
|
4954
4975
|
function r(s, o) {
|
|
4955
4976
|
return (
|
|
4956
4977
|
/*smsSendApiFailed*/
|
|
4957
|
-
s[31] ?
|
|
4978
|
+
s[31] ? Js : qs
|
|
4958
4979
|
);
|
|
4959
4980
|
}
|
|
4960
4981
|
let n = r(e), i = n(e);
|
|
4961
4982
|
return {
|
|
4962
4983
|
c() {
|
|
4963
|
-
i.c(), t =
|
|
4984
|
+
i.c(), t = vn();
|
|
4964
4985
|
},
|
|
4965
4986
|
m(s, o) {
|
|
4966
4987
|
i.m(s, o), U(s, t, o);
|
|
@@ -4969,18 +4990,18 @@ function zs(e) {
|
|
|
4969
4990
|
n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t.parentNode, t)));
|
|
4970
4991
|
},
|
|
4971
4992
|
d(s) {
|
|
4972
|
-
s &&
|
|
4993
|
+
s && M(t), i.d(s);
|
|
4973
4994
|
}
|
|
4974
4995
|
};
|
|
4975
4996
|
}
|
|
4976
|
-
function
|
|
4997
|
+
function Js(e) {
|
|
4977
4998
|
let t, r = (
|
|
4978
4999
|
/*$_*/
|
|
4979
5000
|
e[34]("error") + ""
|
|
4980
5001
|
), n;
|
|
4981
5002
|
return {
|
|
4982
5003
|
c() {
|
|
4983
|
-
t =
|
|
5004
|
+
t = H("p"), n = X(r), S(t, "class", "SMSErrorText");
|
|
4984
5005
|
},
|
|
4985
5006
|
m(i, s) {
|
|
4986
5007
|
U(i, t, s), E(t, n);
|
|
@@ -4991,50 +5012,50 @@ function Ws(e) {
|
|
|
4991
5012
|
i[34]("error") + "") && ee(n, r);
|
|
4992
5013
|
},
|
|
4993
5014
|
d(i) {
|
|
4994
|
-
i &&
|
|
5015
|
+
i && M(t);
|
|
4995
5016
|
}
|
|
4996
5017
|
};
|
|
4997
5018
|
}
|
|
4998
|
-
function
|
|
5019
|
+
function qs(e) {
|
|
4999
5020
|
let t;
|
|
5000
5021
|
return {
|
|
5001
5022
|
c() {
|
|
5002
|
-
t =
|
|
5023
|
+
t = H("general-player-sms-verification-form"), p(
|
|
5003
5024
|
t,
|
|
5004
5025
|
"endpoint",
|
|
5005
5026
|
/*endpoint*/
|
|
5006
5027
|
e[0]
|
|
5007
|
-
),
|
|
5028
|
+
), p(
|
|
5008
5029
|
t,
|
|
5009
5030
|
"session",
|
|
5010
5031
|
/*session*/
|
|
5011
5032
|
e[1]
|
|
5012
|
-
),
|
|
5033
|
+
), p(
|
|
5013
5034
|
t,
|
|
5014
5035
|
"number",
|
|
5015
5036
|
/*number*/
|
|
5016
5037
|
e[32]
|
|
5017
|
-
),
|
|
5038
|
+
), p(
|
|
5018
5039
|
t,
|
|
5019
5040
|
"playerid",
|
|
5020
5041
|
/*playerid*/
|
|
5021
5042
|
e[17]
|
|
5022
|
-
),
|
|
5043
|
+
), p(
|
|
5023
5044
|
t,
|
|
5024
5045
|
"tokenid",
|
|
5025
5046
|
/*smstokenid*/
|
|
5026
5047
|
e[30]
|
|
5027
|
-
),
|
|
5048
|
+
), p(
|
|
5028
5049
|
t,
|
|
5029
5050
|
"clientstyling",
|
|
5030
5051
|
/*clientstyling*/
|
|
5031
5052
|
e[10]
|
|
5032
|
-
),
|
|
5053
|
+
), p(
|
|
5033
5054
|
t,
|
|
5034
5055
|
"clientstylingurl",
|
|
5035
5056
|
/*clientstylingurl*/
|
|
5036
5057
|
e[11]
|
|
5037
|
-
),
|
|
5058
|
+
), p(
|
|
5038
5059
|
t,
|
|
5039
5060
|
"mbsource",
|
|
5040
5061
|
/*mbsource*/
|
|
@@ -5046,49 +5067,49 @@ function Zs(e) {
|
|
|
5046
5067
|
},
|
|
5047
5068
|
p(r, n) {
|
|
5048
5069
|
n[0] & /*endpoint*/
|
|
5049
|
-
1 &&
|
|
5070
|
+
1 && p(
|
|
5050
5071
|
t,
|
|
5051
5072
|
"endpoint",
|
|
5052
5073
|
/*endpoint*/
|
|
5053
5074
|
r[0]
|
|
5054
5075
|
), n[0] & /*session*/
|
|
5055
|
-
2 &&
|
|
5076
|
+
2 && p(
|
|
5056
5077
|
t,
|
|
5057
5078
|
"session",
|
|
5058
5079
|
/*session*/
|
|
5059
5080
|
r[1]
|
|
5060
5081
|
), n[1] & /*number*/
|
|
5061
|
-
2 &&
|
|
5082
|
+
2 && p(
|
|
5062
5083
|
t,
|
|
5063
5084
|
"number",
|
|
5064
5085
|
/*number*/
|
|
5065
5086
|
r[32]
|
|
5066
5087
|
), n[0] & /*playerid*/
|
|
5067
|
-
131072 &&
|
|
5088
|
+
131072 && p(
|
|
5068
5089
|
t,
|
|
5069
5090
|
"playerid",
|
|
5070
5091
|
/*playerid*/
|
|
5071
5092
|
r[17]
|
|
5072
5093
|
), n[0] & /*smstokenid*/
|
|
5073
|
-
1073741824 &&
|
|
5094
|
+
1073741824 && p(
|
|
5074
5095
|
t,
|
|
5075
5096
|
"tokenid",
|
|
5076
5097
|
/*smstokenid*/
|
|
5077
5098
|
r[30]
|
|
5078
5099
|
), n[0] & /*clientstyling*/
|
|
5079
|
-
1024 &&
|
|
5100
|
+
1024 && p(
|
|
5080
5101
|
t,
|
|
5081
5102
|
"clientstyling",
|
|
5082
5103
|
/*clientstyling*/
|
|
5083
5104
|
r[10]
|
|
5084
5105
|
), n[0] & /*clientstylingurl*/
|
|
5085
|
-
2048 &&
|
|
5106
|
+
2048 && p(
|
|
5086
5107
|
t,
|
|
5087
5108
|
"clientstylingurl",
|
|
5088
5109
|
/*clientstylingurl*/
|
|
5089
5110
|
r[11]
|
|
5090
5111
|
), n[0] & /*mbsource*/
|
|
5091
|
-
512 &&
|
|
5112
|
+
512 && p(
|
|
5092
5113
|
t,
|
|
5093
5114
|
"mbsource",
|
|
5094
5115
|
/*mbsource*/
|
|
@@ -5096,31 +5117,31 @@ function Zs(e) {
|
|
|
5096
5117
|
);
|
|
5097
5118
|
},
|
|
5098
5119
|
d(r) {
|
|
5099
|
-
r &&
|
|
5120
|
+
r && M(t);
|
|
5100
5121
|
}
|
|
5101
5122
|
};
|
|
5102
5123
|
}
|
|
5103
|
-
function
|
|
5104
|
-
let t, r, n, i, s, o, a, l, u, h, c,
|
|
5124
|
+
function mr(e) {
|
|
5125
|
+
let t, r, n, i, s, o, a, l, u, h, c, m, y, g, d, b, w, O = (
|
|
5105
5126
|
/*$_*/
|
|
5106
5127
|
e[34]("goToLoginButton") + ""
|
|
5107
|
-
), A, L,
|
|
5128
|
+
), A, L, N;
|
|
5108
5129
|
return {
|
|
5109
5130
|
c() {
|
|
5110
|
-
t =
|
|
5131
|
+
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(
|
|
5111
5132
|
/*accountCreationTitle*/
|
|
5112
5133
|
e[23]
|
|
5113
|
-
), h = G(), c =
|
|
5134
|
+
), h = G(), c = H("p"), m = X(
|
|
5114
5135
|
/*accountCreationSubTitle*/
|
|
5115
5136
|
e[24]
|
|
5116
|
-
), y = G(), g =
|
|
5137
|
+
), y = G(), g = H("p"), d = X(
|
|
5117
5138
|
/*accountCreationMessage*/
|
|
5118
5139
|
e[25]
|
|
5119
|
-
), b = G(),
|
|
5140
|
+
), b = G(), w = H("button"), A = 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");
|
|
5120
5141
|
},
|
|
5121
5142
|
m(C, D) {
|
|
5122
|
-
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,
|
|
5123
|
-
|
|
5143
|
+
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, A), L || (N = _n(
|
|
5144
|
+
w,
|
|
5124
5145
|
"click",
|
|
5125
5146
|
/*switchToLogin*/
|
|
5126
5147
|
e[36]
|
|
@@ -5134,7 +5155,7 @@ function cr(e) {
|
|
|
5134
5155
|
C[23]
|
|
5135
5156
|
), D[0] & /*accountCreationSubTitle*/
|
|
5136
5157
|
16777216 && ee(
|
|
5137
|
-
|
|
5158
|
+
m,
|
|
5138
5159
|
/*accountCreationSubTitle*/
|
|
5139
5160
|
C[24]
|
|
5140
5161
|
), D[0] & /*accountCreationMessage*/
|
|
@@ -5147,19 +5168,19 @@ function cr(e) {
|
|
|
5147
5168
|
C[34]("goToLoginButton") + "") && ee(A, O);
|
|
5148
5169
|
},
|
|
5149
5170
|
d(C) {
|
|
5150
|
-
C &&
|
|
5171
|
+
C && M(t), L = !1, N();
|
|
5151
5172
|
}
|
|
5152
5173
|
};
|
|
5153
5174
|
}
|
|
5154
|
-
function
|
|
5175
|
+
function Qs(e) {
|
|
5155
5176
|
let t;
|
|
5156
5177
|
function r(s, o) {
|
|
5157
|
-
return
|
|
5178
|
+
return Ws;
|
|
5158
5179
|
}
|
|
5159
5180
|
let i = r()(e);
|
|
5160
5181
|
return {
|
|
5161
5182
|
c() {
|
|
5162
|
-
t =
|
|
5183
|
+
t = H("div"), i.c();
|
|
5163
5184
|
},
|
|
5164
5185
|
m(s, o) {
|
|
5165
5186
|
U(s, t, o), i.m(t, null), e[42](t);
|
|
@@ -5170,84 +5191,84 @@ function Js(e) {
|
|
|
5170
5191
|
i: k,
|
|
5171
5192
|
o: k,
|
|
5172
5193
|
d(s) {
|
|
5173
|
-
s &&
|
|
5194
|
+
s && M(t), i.d(), e[42](null);
|
|
5174
5195
|
}
|
|
5175
5196
|
};
|
|
5176
5197
|
}
|
|
5177
|
-
let
|
|
5178
|
-
function
|
|
5198
|
+
let Ys = "Please use this code {0} to activate your account";
|
|
5199
|
+
function Ks(e, t, r) {
|
|
5179
5200
|
let n;
|
|
5180
|
-
|
|
5181
|
-
let { endpoint: i = "" } = t, { cmsendpoint: s = "" } = t, { env: o = "" } = t, { session: a = "" } = t, { trackedanalyticsdata: l = "" } = t, { captchakey: u = "" } = t, { lang: h = "en" } = t, { licenseyears: c = "" } = t, { disabledfields:
|
|
5182
|
-
|
|
5183
|
-
const
|
|
5184
|
-
fetch(L).then((
|
|
5185
|
-
Object.keys(
|
|
5186
|
-
|
|
5201
|
+
dn(e, Us, (f) => r(34, n = f));
|
|
5202
|
+
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: A = "" } = 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, Pt = !1, Xe = "false", At = "false", Ot = "false", Ct = "false", It = "", Rt, _e = !1, Lt, Ee;
|
|
5203
|
+
Gs({ withLocale: "en", translations: {} });
|
|
5204
|
+
const Qr = () => {
|
|
5205
|
+
fetch(L).then((T) => T.json()).then((T) => {
|
|
5206
|
+
Object.keys(T).forEach((I) => {
|
|
5207
|
+
ur(I, T[I]);
|
|
5187
5208
|
});
|
|
5188
|
-
}).catch((
|
|
5189
|
-
console.log(
|
|
5209
|
+
}).catch((T) => {
|
|
5210
|
+
console.log(T);
|
|
5190
5211
|
});
|
|
5191
5212
|
};
|
|
5192
|
-
Object.keys(
|
|
5193
|
-
|
|
5213
|
+
Object.keys(lr).forEach((f) => {
|
|
5214
|
+
ur(f, lr[f]);
|
|
5194
5215
|
});
|
|
5195
|
-
const
|
|
5216
|
+
const Yr = () => {
|
|
5196
5217
|
fetch(`${i}/v1/player/consentRequirements`).then((f) => f.json()).then((f) => {
|
|
5197
|
-
f.items.length > 0 ? (r(26,
|
|
5198
|
-
switch (
|
|
5218
|
+
f.items.length > 0 ? (r(26, Xe = "true"), f.items.forEach((T) => {
|
|
5219
|
+
switch (T.tagCode) {
|
|
5199
5220
|
case "termsandconditions":
|
|
5200
|
-
r(27,
|
|
5221
|
+
r(27, At = "true");
|
|
5201
5222
|
break;
|
|
5202
5223
|
case "sms":
|
|
5203
|
-
r(28,
|
|
5224
|
+
r(28, Ot = "true");
|
|
5204
5225
|
break;
|
|
5205
5226
|
case "emailmarketing":
|
|
5206
|
-
r(29,
|
|
5227
|
+
r(29, Ct = "true");
|
|
5207
5228
|
break;
|
|
5208
5229
|
}
|
|
5209
|
-
})) : r(26,
|
|
5230
|
+
})) : r(26, Xe = "false");
|
|
5210
5231
|
});
|
|
5211
|
-
},
|
|
5212
|
-
let f = new URL(`${s}/${h}/login-register-content?env=${o}`),
|
|
5213
|
-
|
|
5214
|
-
ve = I.registerData, r(23,
|
|
5232
|
+
}, Kr = () => {
|
|
5233
|
+
let f = new URL(`${s}/${h}/login-register-content?env=${o}`), T = ar(Ht);
|
|
5234
|
+
T && (T === "PC" ? f.searchParams.append("device", "dk") : f.searchParams.append("device", "mtWeb")), fetch(f.href).then((I) => I.json()).then((I) => {
|
|
5235
|
+
ve = I.registerData, r(23, St = ve.title), r(24, xt = ve.subtitle), r(25, Tt = ve.content);
|
|
5215
5236
|
}).catch((I) => {
|
|
5216
5237
|
console.error(I);
|
|
5217
5238
|
});
|
|
5218
5239
|
}, we = () => {
|
|
5219
5240
|
Ee.scrollIntoView();
|
|
5220
|
-
},
|
|
5221
|
-
for (const
|
|
5222
|
-
|
|
5223
|
-
|
|
5224
|
-
},
|
|
5241
|
+
}, he = (f) => {
|
|
5242
|
+
for (const T in f)
|
|
5243
|
+
V[T] = f[T], T === "mobile" && r(32, Lt = `${f[T].prefix}${f[T].number}`);
|
|
5244
|
+
V.affiliateMarker = V.promoCode ? V.promoCode : l != null ? l : "";
|
|
5245
|
+
}, Nt = (f) => {
|
|
5225
5246
|
if (f.data)
|
|
5226
5247
|
switch (f.data.type) {
|
|
5227
5248
|
case "RegisterStepOne":
|
|
5228
|
-
|
|
5249
|
+
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);
|
|
5229
5250
|
break;
|
|
5230
5251
|
case "RegisterStepTwo":
|
|
5231
|
-
|
|
5252
|
+
he(f.data.registerStepTwoData), we(), r(19, le = !1), r(20, ye = !0), Pt == !1 ? Pt = !0 : window.postMessage({ type: "StepThreeDataBackup", userData: V }, window.location.href);
|
|
5232
5253
|
break;
|
|
5233
5254
|
case "RegisterStepThree":
|
|
5234
|
-
|
|
5255
|
+
he(f.data.registerStepThreeData), tn(V);
|
|
5235
5256
|
break;
|
|
5236
5257
|
case "SmsHasBeenValidated":
|
|
5237
|
-
r(22,
|
|
5258
|
+
r(22, Ve = !0), r(21, $e = !1);
|
|
5238
5259
|
break;
|
|
5239
5260
|
case "GoBackStepTwo":
|
|
5240
|
-
|
|
5261
|
+
he(f.data.registerStepTwoData), we(), r(18, je = !0), r(19, le = !1), window.postMessage({ type: "StepOneDataBackup", userData: V }, window.location.href);
|
|
5241
5262
|
break;
|
|
5242
5263
|
case "GoBackStepThree":
|
|
5243
|
-
|
|
5264
|
+
he(f.data.registerStepThreeData), we(), r(19, le = !0), r(20, ye = !1), window.postMessage({ type: "StepTwoDataBackup", userData: V }, window.location.href);
|
|
5244
5265
|
break;
|
|
5245
5266
|
}
|
|
5246
|
-
},
|
|
5267
|
+
}, en = () => {
|
|
5247
5268
|
typeof gtag == "function" && gtag("event", "Register", { context: "GeneralPlayerRegisterForm" });
|
|
5248
|
-
},
|
|
5269
|
+
}, tn = (f) => Se(this, null, function* () {
|
|
5249
5270
|
f.language = h;
|
|
5250
|
-
let
|
|
5271
|
+
let T = {
|
|
5251
5272
|
method: "PUT",
|
|
5252
5273
|
headers: {
|
|
5253
5274
|
"g-recaptcha-response": f.token,
|
|
@@ -5255,16 +5276,16 @@ function Qs(e, t, r) {
|
|
|
5255
5276
|
Accept: "application/json"
|
|
5256
5277
|
},
|
|
5257
5278
|
body: JSON.stringify(f)
|
|
5258
|
-
}, I = yield fetch(`${i}/v1/player/register`,
|
|
5259
|
-
I.ok ? (r(20, ye = !1), g === "false" ? r(22,
|
|
5279
|
+
}, I = yield fetch(`${i}/v1/player/register`, T), z = yield I.json();
|
|
5280
|
+
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(
|
|
5260
5281
|
{
|
|
5261
5282
|
type: "ShowRegistrationError",
|
|
5262
|
-
showError:
|
|
5263
|
-
error:
|
|
5283
|
+
showError: wt,
|
|
5284
|
+
error: It
|
|
5264
5285
|
},
|
|
5265
5286
|
window.location.href
|
|
5266
5287
|
));
|
|
5267
|
-
}),
|
|
5288
|
+
}), rn = (f, T) => Se(this, null, function* () {
|
|
5268
5289
|
localStorage.setItem("smsTimer", JSON.stringify(Math.floor(Date.now() / 1e3)));
|
|
5269
5290
|
try {
|
|
5270
5291
|
const I = yield fetch(`${i}/v1/player/sms/token`, {
|
|
@@ -5274,108 +5295,108 @@ function Qs(e, t, r) {
|
|
|
5274
5295
|
accept: "application/json"
|
|
5275
5296
|
},
|
|
5276
5297
|
body: JSON.stringify({
|
|
5277
|
-
userId:
|
|
5278
|
-
messageTemplate:
|
|
5298
|
+
userId: T,
|
|
5299
|
+
messageTemplate: Ys,
|
|
5279
5300
|
destination: `${f.mobile.prefix}${f.mobile.number}`
|
|
5280
5301
|
})
|
|
5281
|
-
}),
|
|
5302
|
+
}), z = yield I.json();
|
|
5282
5303
|
if (I.ok) {
|
|
5283
|
-
r(30,
|
|
5284
|
-
let
|
|
5285
|
-
r(21,
|
|
5304
|
+
r(30, Rt = z.id);
|
|
5305
|
+
let eo = z.maxValidationAttempts;
|
|
5306
|
+
r(21, $e = !0), r(31, _e = !1);
|
|
5286
5307
|
} else
|
|
5287
5308
|
throw r(31, _e = !0), new Error("Failed to fetch");
|
|
5288
5309
|
} catch (I) {
|
|
5289
5310
|
r(31, _e = !0), console.error(I);
|
|
5290
5311
|
}
|
|
5291
|
-
}),
|
|
5292
|
-
|
|
5293
|
-
}, nn = () => {
|
|
5294
|
-
window.postMessage({ type: "ToLogin" }, window.location.href);
|
|
5312
|
+
}), nn = () => {
|
|
5313
|
+
m.split(",");
|
|
5295
5314
|
}, sn = () => {
|
|
5296
|
-
|
|
5315
|
+
window.postMessage({ type: "ToLogin" }, window.location.href);
|
|
5316
|
+
}, on = () => {
|
|
5317
|
+
ks(h);
|
|
5297
5318
|
};
|
|
5298
|
-
|
|
5299
|
-
window.removeEventListener("message",
|
|
5319
|
+
xn(() => (window.addEventListener("message", Nt, !1), () => {
|
|
5320
|
+
window.removeEventListener("message", Nt);
|
|
5300
5321
|
}));
|
|
5301
|
-
function
|
|
5322
|
+
function an(f) {
|
|
5302
5323
|
Ie[f ? "unshift" : "push"](() => {
|
|
5303
5324
|
Ee = f, r(33, Ee);
|
|
5304
5325
|
});
|
|
5305
5326
|
}
|
|
5306
|
-
function
|
|
5327
|
+
function un(f) {
|
|
5307
5328
|
Ie[f ? "unshift" : "push"](() => {
|
|
5308
|
-
|
|
5329
|
+
$ = f, r(16, $);
|
|
5309
5330
|
});
|
|
5310
5331
|
}
|
|
5311
5332
|
return e.$$set = (f) => {
|
|
5312
|
-
"endpoint" in f && r(0, i = f.endpoint), "cmsendpoint" in f && r(37, s = f.cmsendpoint), "env" in f && r(38, o = f.env), "session" in f && r(1, a = f.session), "trackedanalyticsdata" in f && r(39, l = f.trackedanalyticsdata), "captchakey" in f && r(2, u = f.captchakey), "lang" in f && r(3, h = f.lang), "licenseyears" in f && r(4, c = f.licenseyears), "disabledfields" in f && r(5,
|
|
5333
|
+
"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, A = 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);
|
|
5313
5334
|
}, e.$$.update = () => {
|
|
5314
5335
|
e.$$.dirty[0] & /*endpoint*/
|
|
5315
|
-
1 && i &&
|
|
5336
|
+
1 && i && Yr(), e.$$.dirty[0] & /*lang*/
|
|
5316
5337
|
8 | e.$$.dirty[1] & /*cmsendpoint, env, userroles*/
|
|
5317
|
-
704 && s && h && o && b &&
|
|
5338
|
+
704 && s && h && o && b && Kr(), e.$$.dirty[0] & /*playerid, session*/
|
|
5318
5339
|
131074, e.$$.dirty[0] & /*lang*/
|
|
5319
|
-
8 && h &&
|
|
5320
|
-
32 &&
|
|
5321
|
-
66560 && O &&
|
|
5322
|
-
67584 && A &&
|
|
5323
|
-
66048 &&
|
|
5324
|
-
4096 && L &&
|
|
5340
|
+
8 && h && on(), e.$$.dirty[0] & /*disabledfields*/
|
|
5341
|
+
32 && m && nn(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5342
|
+
66560 && O && $ && js($, O), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5343
|
+
67584 && A && $ && $s($, A), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5344
|
+
66048 && w && $ && Vs($, `${w}.Style`), e.$$.dirty[0] & /*translationurl*/
|
|
5345
|
+
4096 && L && Qr();
|
|
5325
5346
|
}, [
|
|
5326
5347
|
i,
|
|
5327
5348
|
a,
|
|
5328
5349
|
u,
|
|
5329
5350
|
h,
|
|
5330
5351
|
c,
|
|
5331
|
-
|
|
5352
|
+
m,
|
|
5332
5353
|
y,
|
|
5333
5354
|
g,
|
|
5334
5355
|
d,
|
|
5335
|
-
|
|
5356
|
+
w,
|
|
5336
5357
|
O,
|
|
5337
5358
|
A,
|
|
5338
5359
|
L,
|
|
5339
|
-
|
|
5360
|
+
N,
|
|
5340
5361
|
C,
|
|
5341
5362
|
D,
|
|
5342
|
-
|
|
5343
|
-
vt,
|
|
5344
|
-
Ge,
|
|
5345
|
-
he,
|
|
5346
|
-
ye,
|
|
5347
|
-
ke,
|
|
5348
|
-
je,
|
|
5363
|
+
$,
|
|
5349
5364
|
Et,
|
|
5350
|
-
|
|
5351
|
-
|
|
5365
|
+
je,
|
|
5366
|
+
le,
|
|
5367
|
+
ye,
|
|
5352
5368
|
$e,
|
|
5353
|
-
|
|
5354
|
-
|
|
5369
|
+
Ve,
|
|
5370
|
+
St,
|
|
5371
|
+
xt,
|
|
5372
|
+
Tt,
|
|
5373
|
+
Xe,
|
|
5355
5374
|
At,
|
|
5375
|
+
Ot,
|
|
5356
5376
|
Ct,
|
|
5377
|
+
Rt,
|
|
5357
5378
|
_e,
|
|
5358
|
-
|
|
5379
|
+
Lt,
|
|
5359
5380
|
Ee,
|
|
5360
5381
|
n,
|
|
5361
|
-
|
|
5362
|
-
|
|
5382
|
+
qr,
|
|
5383
|
+
sn,
|
|
5363
5384
|
s,
|
|
5364
5385
|
o,
|
|
5365
5386
|
l,
|
|
5366
5387
|
b,
|
|
5367
|
-
|
|
5368
|
-
|
|
5388
|
+
an,
|
|
5389
|
+
un
|
|
5369
5390
|
];
|
|
5370
5391
|
}
|
|
5371
|
-
class
|
|
5392
|
+
class Jr extends Mn {
|
|
5372
5393
|
constructor(t) {
|
|
5373
|
-
super(),
|
|
5394
|
+
super(), Ln(
|
|
5374
5395
|
this,
|
|
5375
5396
|
t,
|
|
5397
|
+
Ks,
|
|
5376
5398
|
Qs,
|
|
5377
|
-
|
|
5378
|
-
pr,
|
|
5399
|
+
gr,
|
|
5379
5400
|
{
|
|
5380
5401
|
endpoint: 0,
|
|
5381
5402
|
cmsendpoint: 37,
|
|
@@ -5398,7 +5419,7 @@ class Zr extends Mn {
|
|
|
5398
5419
|
custominputtextswitch: 14,
|
|
5399
5420
|
personalidlength: 15
|
|
5400
5421
|
},
|
|
5401
|
-
|
|
5422
|
+
Xs,
|
|
5402
5423
|
[-1, -1, -1]
|
|
5403
5424
|
);
|
|
5404
5425
|
}
|
|
@@ -5406,164 +5427,164 @@ class Zr extends Mn {
|
|
|
5406
5427
|
return this.$$.ctx[0];
|
|
5407
5428
|
}
|
|
5408
5429
|
set endpoint(t) {
|
|
5409
|
-
this.$$set({ endpoint: t }),
|
|
5430
|
+
this.$$set({ endpoint: t }), B();
|
|
5410
5431
|
}
|
|
5411
5432
|
get cmsendpoint() {
|
|
5412
5433
|
return this.$$.ctx[37];
|
|
5413
5434
|
}
|
|
5414
5435
|
set cmsendpoint(t) {
|
|
5415
|
-
this.$$set({ cmsendpoint: t }),
|
|
5436
|
+
this.$$set({ cmsendpoint: t }), B();
|
|
5416
5437
|
}
|
|
5417
5438
|
get env() {
|
|
5418
5439
|
return this.$$.ctx[38];
|
|
5419
5440
|
}
|
|
5420
5441
|
set env(t) {
|
|
5421
|
-
this.$$set({ env: t }),
|
|
5442
|
+
this.$$set({ env: t }), B();
|
|
5422
5443
|
}
|
|
5423
5444
|
get session() {
|
|
5424
5445
|
return this.$$.ctx[1];
|
|
5425
5446
|
}
|
|
5426
5447
|
set session(t) {
|
|
5427
|
-
this.$$set({ session: t }),
|
|
5448
|
+
this.$$set({ session: t }), B();
|
|
5428
5449
|
}
|
|
5429
5450
|
get trackedanalyticsdata() {
|
|
5430
5451
|
return this.$$.ctx[39];
|
|
5431
5452
|
}
|
|
5432
5453
|
set trackedanalyticsdata(t) {
|
|
5433
|
-
this.$$set({ trackedanalyticsdata: t }),
|
|
5454
|
+
this.$$set({ trackedanalyticsdata: t }), B();
|
|
5434
5455
|
}
|
|
5435
5456
|
get captchakey() {
|
|
5436
5457
|
return this.$$.ctx[2];
|
|
5437
5458
|
}
|
|
5438
5459
|
set captchakey(t) {
|
|
5439
|
-
this.$$set({ captchakey: t }),
|
|
5460
|
+
this.$$set({ captchakey: t }), B();
|
|
5440
5461
|
}
|
|
5441
5462
|
get lang() {
|
|
5442
5463
|
return this.$$.ctx[3];
|
|
5443
5464
|
}
|
|
5444
5465
|
set lang(t) {
|
|
5445
|
-
this.$$set({ lang: t }),
|
|
5466
|
+
this.$$set({ lang: t }), B();
|
|
5446
5467
|
}
|
|
5447
5468
|
get licenseyears() {
|
|
5448
5469
|
return this.$$.ctx[4];
|
|
5449
5470
|
}
|
|
5450
5471
|
set licenseyears(t) {
|
|
5451
|
-
this.$$set({ licenseyears: t }),
|
|
5472
|
+
this.$$set({ licenseyears: t }), B();
|
|
5452
5473
|
}
|
|
5453
5474
|
get disabledfields() {
|
|
5454
5475
|
return this.$$.ctx[5];
|
|
5455
5476
|
}
|
|
5456
5477
|
set disabledfields(t) {
|
|
5457
|
-
this.$$set({ disabledfields: t }),
|
|
5478
|
+
this.$$set({ disabledfields: t }), B();
|
|
5458
5479
|
}
|
|
5459
5480
|
get defaultoptions() {
|
|
5460
5481
|
return this.$$.ctx[6];
|
|
5461
5482
|
}
|
|
5462
5483
|
set defaultoptions(t) {
|
|
5463
|
-
this.$$set({ defaultoptions: t }),
|
|
5484
|
+
this.$$set({ defaultoptions: t }), B();
|
|
5464
5485
|
}
|
|
5465
5486
|
get smsverification() {
|
|
5466
5487
|
return this.$$.ctx[7];
|
|
5467
5488
|
}
|
|
5468
5489
|
set smsverification(t) {
|
|
5469
|
-
this.$$set({ smsverification: t }),
|
|
5490
|
+
this.$$set({ smsverification: t }), B();
|
|
5470
5491
|
}
|
|
5471
5492
|
get simplepasswordvalidation() {
|
|
5472
5493
|
return this.$$.ctx[8];
|
|
5473
5494
|
}
|
|
5474
5495
|
set simplepasswordvalidation(t) {
|
|
5475
|
-
this.$$set({ simplepasswordvalidation: t }),
|
|
5496
|
+
this.$$set({ simplepasswordvalidation: t }), B();
|
|
5476
5497
|
}
|
|
5477
5498
|
get userroles() {
|
|
5478
5499
|
return this.$$.ctx[40];
|
|
5479
5500
|
}
|
|
5480
5501
|
set userroles(t) {
|
|
5481
|
-
this.$$set({ userroles: t }),
|
|
5502
|
+
this.$$set({ userroles: t }), B();
|
|
5482
5503
|
}
|
|
5483
5504
|
get mbsource() {
|
|
5484
5505
|
return this.$$.ctx[9];
|
|
5485
5506
|
}
|
|
5486
5507
|
set mbsource(t) {
|
|
5487
|
-
this.$$set({ mbsource: t }),
|
|
5508
|
+
this.$$set({ mbsource: t }), B();
|
|
5488
5509
|
}
|
|
5489
5510
|
get clientstyling() {
|
|
5490
5511
|
return this.$$.ctx[10];
|
|
5491
5512
|
}
|
|
5492
5513
|
set clientstyling(t) {
|
|
5493
|
-
this.$$set({ clientstyling: t }),
|
|
5514
|
+
this.$$set({ clientstyling: t }), B();
|
|
5494
5515
|
}
|
|
5495
5516
|
get clientstylingurl() {
|
|
5496
5517
|
return this.$$.ctx[11];
|
|
5497
5518
|
}
|
|
5498
5519
|
set clientstylingurl(t) {
|
|
5499
|
-
this.$$set({ clientstylingurl: t }),
|
|
5520
|
+
this.$$set({ clientstylingurl: t }), B();
|
|
5500
5521
|
}
|
|
5501
5522
|
get translationurl() {
|
|
5502
5523
|
return this.$$.ctx[12];
|
|
5503
5524
|
}
|
|
5504
5525
|
set translationurl(t) {
|
|
5505
|
-
this.$$set({ translationurl: t }),
|
|
5526
|
+
this.$$set({ translationurl: t }), B();
|
|
5506
5527
|
}
|
|
5507
5528
|
get savecredentials() {
|
|
5508
5529
|
return this.$$.ctx[13];
|
|
5509
5530
|
}
|
|
5510
5531
|
set savecredentials(t) {
|
|
5511
|
-
this.$$set({ savecredentials: t }),
|
|
5532
|
+
this.$$set({ savecredentials: t }), B();
|
|
5512
5533
|
}
|
|
5513
5534
|
get custominputtextswitch() {
|
|
5514
5535
|
return this.$$.ctx[14];
|
|
5515
5536
|
}
|
|
5516
5537
|
set custominputtextswitch(t) {
|
|
5517
|
-
this.$$set({ custominputtextswitch: t }),
|
|
5538
|
+
this.$$set({ custominputtextswitch: t }), B();
|
|
5518
5539
|
}
|
|
5519
5540
|
get personalidlength() {
|
|
5520
5541
|
return this.$$.ctx[15];
|
|
5521
5542
|
}
|
|
5522
5543
|
set personalidlength(t) {
|
|
5523
|
-
this.$$set({ personalidlength: t }),
|
|
5544
|
+
this.$$set({ personalidlength: t }), B();
|
|
5524
5545
|
}
|
|
5525
5546
|
}
|
|
5526
|
-
|
|
5527
|
-
const
|
|
5547
|
+
Nn(Jr, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, trackedanalyticsdata: {}, captchakey: {}, lang: {}, licenseyears: {}, disabledfields: {}, defaultoptions: {}, smsverification: {}, simplepasswordvalidation: {}, userroles: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, custominputtextswitch: {}, personalidlength: {} }, [], [], !0);
|
|
5548
|
+
const uo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5528
5549
|
__proto__: null,
|
|
5529
|
-
default:
|
|
5550
|
+
default: Jr
|
|
5530
5551
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
5531
5552
|
export {
|
|
5532
5553
|
J as $,
|
|
5533
|
-
|
|
5534
|
-
|
|
5535
|
-
|
|
5536
|
-
|
|
5537
|
-
|
|
5538
|
-
|
|
5539
|
-
|
|
5540
|
-
|
|
5541
|
-
|
|
5554
|
+
so as A,
|
|
5555
|
+
rt as B,
|
|
5556
|
+
ao as C,
|
|
5557
|
+
no as D,
|
|
5558
|
+
oo as E,
|
|
5559
|
+
vn as F,
|
|
5560
|
+
ae as G,
|
|
5561
|
+
ro as H,
|
|
5562
|
+
uo as I,
|
|
5542
5563
|
Mn as S,
|
|
5543
|
-
|
|
5544
|
-
|
|
5545
|
-
|
|
5546
|
-
|
|
5547
|
-
|
|
5548
|
-
|
|
5549
|
-
|
|
5564
|
+
Vr as a,
|
|
5565
|
+
gn as b,
|
|
5566
|
+
ee as c,
|
|
5567
|
+
M as d,
|
|
5568
|
+
io as e,
|
|
5569
|
+
B as f,
|
|
5570
|
+
S as g,
|
|
5550
5571
|
U as h,
|
|
5551
|
-
|
|
5572
|
+
Ln as i,
|
|
5552
5573
|
E as j,
|
|
5553
|
-
|
|
5554
|
-
|
|
5555
|
-
|
|
5574
|
+
H as k,
|
|
5575
|
+
_n as l,
|
|
5576
|
+
G as m,
|
|
5556
5577
|
k as n,
|
|
5557
|
-
|
|
5558
|
-
|
|
5559
|
-
|
|
5560
|
-
|
|
5561
|
-
|
|
5562
|
-
|
|
5563
|
-
|
|
5578
|
+
dn as o,
|
|
5579
|
+
xn as p,
|
|
5580
|
+
Ie as q,
|
|
5581
|
+
ge as r,
|
|
5582
|
+
gr as s,
|
|
5583
|
+
X as t,
|
|
5584
|
+
Te as u,
|
|
5564
5585
|
js as v,
|
|
5565
|
-
|
|
5566
|
-
|
|
5567
|
-
|
|
5568
|
-
|
|
5586
|
+
$s as w,
|
|
5587
|
+
Vs as x,
|
|
5588
|
+
Nn as y,
|
|
5589
|
+
Us as z
|
|
5569
5590
|
};
|