@everymatrix/general-player-register-form-nd 1.46.1 → 1.47.0
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-DICKM79H.js → GeneralPlayerRegisterFormNd-BBwyugjy.js} +1230 -1278
- package/components/GeneralPlayerRegisterFormNd-DJQZA8qw.cjs +5 -0
- package/components/GeneralPlayerRegisterFormStep1-B8XxGxz9.cjs +1 -0
- package/components/GeneralPlayerRegisterFormStep1-L3BD_D0v.js +1324 -0
- package/components/GeneralPlayerRegisterFormStep2-CWnJA7mK.cjs +10 -0
- package/components/{GeneralPlayerRegisterFormStep2Nd-DYrkiDz_.js → GeneralPlayerRegisterFormStep2-DGvrorth.js} +1510 -1503
- package/components/GeneralPlayerRegisterFormStep3-BtI-lqmU.cjs +1 -0
- package/components/GeneralPlayerRegisterFormStep3-V9IQ4Eyt.js +1405 -0
- package/components/{GeneralPlayerSmsVerificationForm-CGhEGON-.js → GeneralPlayerSmsVerificationForm-Ck5cTqVN.js} +1 -1
- package/components/{GeneralPlayerSmsVerificationForm-qr1ll6lV.cjs → GeneralPlayerSmsVerificationForm-wncqk0NO.cjs} +1 -1
- package/es2015/general-player-register-form-nd.cjs +1 -1
- package/es2015/general-player-register-form-nd.js +1 -1
- package/package.json +1 -1
- package/components/GeneralPlayerRegisterFormNd-BWRi85aa.cjs +0 -5
- package/components/GeneralPlayerRegisterFormStep1Nd-CzArzJqe.cjs +0 -1
- package/components/GeneralPlayerRegisterFormStep1Nd-oJqLrhol.js +0 -1333
- package/components/GeneralPlayerRegisterFormStep2Nd-BYIDAYkZ.cjs +0 -10
- package/components/GeneralPlayerRegisterFormStep3Nd-Bp21gcUd.js +0 -1393
- package/components/GeneralPlayerRegisterFormStep3Nd-C6V9qnVq.cjs +0 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var hn = Object.defineProperty, fn = Object.defineProperties;
|
|
2
|
+
var cn = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var Rt = Object.getOwnPropertySymbols;
|
|
4
|
+
var mn = Object.prototype.hasOwnProperty, pn = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var $e = (e, t, r) => t in e ? hn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Lt = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
mn.call(t, r) && $e(e, r, t[r]);
|
|
8
|
+
if (Rt)
|
|
9
|
+
for (var r of Rt(t))
|
|
10
|
+
pn.call(t, r) && $e(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var
|
|
14
|
-
var
|
|
12
|
+
}, Nt = (e, t) => fn(e, cn(t));
|
|
13
|
+
var F = (e, t, r) => $e(e, typeof t != "symbol" ? t + "" : t, r);
|
|
14
|
+
var we = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var s = (l) => {
|
|
16
16
|
try {
|
|
17
17
|
a(r.next(l));
|
|
@@ -27,57 +27,57 @@ var He = (e, t, r) => new Promise((n, i) => {
|
|
|
27
27
|
}, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(s, o);
|
|
28
28
|
a((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
function
|
|
30
|
+
function k() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function cr(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function Mt() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
39
|
-
e.forEach(
|
|
38
|
+
function ge(e) {
|
|
39
|
+
e.forEach(cr);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function mt(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function mr(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
|
-
let
|
|
48
|
-
function
|
|
49
|
-
return e === t ? !0 : (
|
|
47
|
+
let xe;
|
|
48
|
+
function Ys(e, t) {
|
|
49
|
+
return e === t ? !0 : (xe || (xe = document.createElement("a")), xe.href = t, e === xe.href);
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function dn(e) {
|
|
52
52
|
return Object.keys(e).length === 0;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function pr(e, ...t) {
|
|
55
55
|
if (e == null) {
|
|
56
56
|
for (const n of t)
|
|
57
57
|
n(void 0);
|
|
58
|
-
return
|
|
58
|
+
return k;
|
|
59
59
|
}
|
|
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 gn(e, t, r) {
|
|
64
|
+
e.$$.on_destroy.push(pr(t, r));
|
|
65
65
|
}
|
|
66
|
-
const
|
|
66
|
+
const Ks = typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : (
|
|
67
67
|
// @ts-ignore Node typings have this
|
|
68
68
|
global
|
|
69
69
|
);
|
|
70
|
-
function
|
|
70
|
+
function E(e, t) {
|
|
71
71
|
e.appendChild(t);
|
|
72
72
|
}
|
|
73
|
-
function
|
|
74
|
-
const n =
|
|
73
|
+
function bn(e, t, r) {
|
|
74
|
+
const n = yn(e);
|
|
75
75
|
if (!n.getElementById(t)) {
|
|
76
|
-
const i =
|
|
77
|
-
i.id = t, i.textContent = r,
|
|
76
|
+
const i = B("style");
|
|
77
|
+
i.id = t, i.textContent = r, vn(n, i);
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function yn(e) {
|
|
81
81
|
if (!e) return document;
|
|
82
82
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
83
83
|
return t && /** @type {ShadowRoot} */
|
|
@@ -86,59 +86,59 @@ function Un(e) {
|
|
|
86
86
|
t
|
|
87
87
|
) : e.ownerDocument;
|
|
88
88
|
}
|
|
89
|
-
function
|
|
90
|
-
return
|
|
89
|
+
function vn(e, t) {
|
|
90
|
+
return E(
|
|
91
91
|
/** @type {Document} */
|
|
92
92
|
e.head || e,
|
|
93
93
|
t
|
|
94
94
|
), t.sheet;
|
|
95
95
|
}
|
|
96
|
-
function
|
|
96
|
+
function U(e, t, r) {
|
|
97
97
|
e.insertBefore(t, r || null);
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function M(e) {
|
|
100
100
|
e.parentNode && e.parentNode.removeChild(e);
|
|
101
101
|
}
|
|
102
|
-
function
|
|
102
|
+
function eo(e, t) {
|
|
103
103
|
for (let r = 0; r < e.length; r += 1)
|
|
104
104
|
e[r] && e[r].d(t);
|
|
105
105
|
}
|
|
106
|
-
function
|
|
106
|
+
function B(e) {
|
|
107
107
|
return document.createElement(e);
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function Se(e) {
|
|
110
110
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
111
111
|
}
|
|
112
|
-
function
|
|
112
|
+
function $(e) {
|
|
113
113
|
return document.createTextNode(e);
|
|
114
114
|
}
|
|
115
|
-
function
|
|
116
|
-
return
|
|
115
|
+
function G() {
|
|
116
|
+
return $(" ");
|
|
117
117
|
}
|
|
118
|
-
function
|
|
119
|
-
return
|
|
118
|
+
function _n() {
|
|
119
|
+
return $("");
|
|
120
120
|
}
|
|
121
|
-
function
|
|
121
|
+
function En(e, t, r, n) {
|
|
122
122
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
123
123
|
}
|
|
124
|
-
function
|
|
124
|
+
function T(e, t, r) {
|
|
125
125
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
126
126
|
}
|
|
127
127
|
function m(e, t, r) {
|
|
128
128
|
const n = t.toLowerCase();
|
|
129
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
|
129
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : T(e, t, r);
|
|
130
130
|
}
|
|
131
|
-
function
|
|
131
|
+
function wn(e) {
|
|
132
132
|
return Array.from(e.childNodes);
|
|
133
133
|
}
|
|
134
|
-
function
|
|
134
|
+
function K(e, t) {
|
|
135
135
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
136
136
|
t);
|
|
137
137
|
}
|
|
138
|
-
function
|
|
138
|
+
function to(e, t) {
|
|
139
139
|
e.value = t == null ? "" : t;
|
|
140
140
|
}
|
|
141
|
-
function
|
|
141
|
+
function ro(e, t, r) {
|
|
142
142
|
for (let n = 0; n < e.options.length; n += 1) {
|
|
143
143
|
const i = e.options[n];
|
|
144
144
|
if (i.__value === t) {
|
|
@@ -148,11 +148,11 @@ function So(e, t, r) {
|
|
|
148
148
|
}
|
|
149
149
|
(!r || t !== void 0) && (e.selectedIndex = -1);
|
|
150
150
|
}
|
|
151
|
-
function
|
|
151
|
+
function no(e) {
|
|
152
152
|
const t = e.querySelector(":checked");
|
|
153
153
|
return t && t.__value;
|
|
154
154
|
}
|
|
155
|
-
function
|
|
155
|
+
function xn(e) {
|
|
156
156
|
const t = {};
|
|
157
157
|
return e.childNodes.forEach(
|
|
158
158
|
/** @param {Element} node */
|
|
@@ -161,96 +161,96 @@ function Vn(e) {
|
|
|
161
161
|
}
|
|
162
162
|
), t;
|
|
163
163
|
}
|
|
164
|
-
let
|
|
165
|
-
function
|
|
166
|
-
|
|
164
|
+
let me;
|
|
165
|
+
function ce(e) {
|
|
166
|
+
me = e;
|
|
167
167
|
}
|
|
168
|
-
function
|
|
169
|
-
if (!
|
|
170
|
-
return
|
|
168
|
+
function Sn() {
|
|
169
|
+
if (!me) throw new Error("Function called outside component initialization");
|
|
170
|
+
return me;
|
|
171
171
|
}
|
|
172
|
-
function
|
|
173
|
-
|
|
174
|
-
}
|
|
175
|
-
const
|
|
176
|
-
let
|
|
177
|
-
const
|
|
178
|
-
let
|
|
179
|
-
function
|
|
180
|
-
|
|
181
|
-
}
|
|
182
|
-
function
|
|
183
|
-
|
|
184
|
-
}
|
|
185
|
-
const
|
|
186
|
-
let
|
|
187
|
-
function
|
|
188
|
-
if (
|
|
172
|
+
function Tn(e) {
|
|
173
|
+
Sn().$$.on_mount.push(e);
|
|
174
|
+
}
|
|
175
|
+
const Y = [], Ce = [];
|
|
176
|
+
let ee = [];
|
|
177
|
+
const Dt = [], Hn = /* @__PURE__ */ Promise.resolve();
|
|
178
|
+
let Ye = !1;
|
|
179
|
+
function Bn() {
|
|
180
|
+
Ye || (Ye = !0, Hn.then(A));
|
|
181
|
+
}
|
|
182
|
+
function Ke(e) {
|
|
183
|
+
ee.push(e);
|
|
184
|
+
}
|
|
185
|
+
const Ve = /* @__PURE__ */ new Set();
|
|
186
|
+
let q = 0;
|
|
187
|
+
function A() {
|
|
188
|
+
if (q !== 0)
|
|
189
189
|
return;
|
|
190
|
-
const e =
|
|
190
|
+
const e = me;
|
|
191
191
|
do {
|
|
192
192
|
try {
|
|
193
|
-
for (;
|
|
194
|
-
const t =
|
|
195
|
-
|
|
193
|
+
for (; q < Y.length; ) {
|
|
194
|
+
const t = Y[q];
|
|
195
|
+
q++, ce(t), An(t.$$);
|
|
196
196
|
}
|
|
197
197
|
} catch (t) {
|
|
198
|
-
throw
|
|
198
|
+
throw Y.length = 0, q = 0, t;
|
|
199
199
|
}
|
|
200
|
-
for (
|
|
201
|
-
for (let t = 0; t <
|
|
202
|
-
const r =
|
|
203
|
-
|
|
200
|
+
for (ce(null), Y.length = 0, q = 0; Ce.length; ) Ce.pop()();
|
|
201
|
+
for (let t = 0; t < ee.length; t += 1) {
|
|
202
|
+
const r = ee[t];
|
|
203
|
+
Ve.has(r) || (Ve.add(r), r());
|
|
204
204
|
}
|
|
205
|
-
|
|
206
|
-
} while (
|
|
207
|
-
for (;
|
|
208
|
-
|
|
209
|
-
|
|
205
|
+
ee.length = 0;
|
|
206
|
+
} while (Y.length);
|
|
207
|
+
for (; Dt.length; )
|
|
208
|
+
Dt.pop()();
|
|
209
|
+
Ye = !1, Ve.clear(), ce(e);
|
|
210
210
|
}
|
|
211
|
-
function
|
|
211
|
+
function An(e) {
|
|
212
212
|
if (e.fragment !== null) {
|
|
213
|
-
e.update(),
|
|
213
|
+
e.update(), ge(e.before_update);
|
|
214
214
|
const t = e.dirty;
|
|
215
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
215
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ke);
|
|
216
216
|
}
|
|
217
217
|
}
|
|
218
|
-
function
|
|
218
|
+
function Pn(e) {
|
|
219
219
|
const t = [], r = [];
|
|
220
|
-
|
|
220
|
+
ee.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ee = t;
|
|
221
221
|
}
|
|
222
|
-
const
|
|
223
|
-
function
|
|
224
|
-
e && e.i && (
|
|
222
|
+
const On = /* @__PURE__ */ new Set();
|
|
223
|
+
function Cn(e, t) {
|
|
224
|
+
e && e.i && (On.delete(e), e.i(t));
|
|
225
225
|
}
|
|
226
|
-
function
|
|
226
|
+
function io(e) {
|
|
227
227
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
228
228
|
}
|
|
229
|
-
function
|
|
229
|
+
function In(e, t, r) {
|
|
230
230
|
const { fragment: n, after_update: i } = e.$$;
|
|
231
|
-
n && n.m(t, r),
|
|
232
|
-
const s = e.$$.on_mount.map(
|
|
233
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
|
234
|
-
}), i.forEach(
|
|
231
|
+
n && n.m(t, r), Ke(() => {
|
|
232
|
+
const s = e.$$.on_mount.map(cr).filter(mt);
|
|
233
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ge(s), e.$$.on_mount = [];
|
|
234
|
+
}), i.forEach(Ke);
|
|
235
235
|
}
|
|
236
|
-
function
|
|
236
|
+
function Rn(e, t) {
|
|
237
237
|
const r = e.$$;
|
|
238
|
-
r.fragment !== null && (
|
|
238
|
+
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 = []);
|
|
239
239
|
}
|
|
240
|
-
function
|
|
241
|
-
e.$$.dirty[0] === -1 && (
|
|
240
|
+
function Ln(e, t) {
|
|
241
|
+
e.$$.dirty[0] === -1 && (Y.push(e), Bn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
242
242
|
}
|
|
243
|
-
function
|
|
244
|
-
const l =
|
|
245
|
-
|
|
243
|
+
function Nn(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
244
|
+
const l = me;
|
|
245
|
+
ce(e);
|
|
246
246
|
const u = e.$$ = {
|
|
247
247
|
fragment: null,
|
|
248
248
|
ctx: [],
|
|
249
249
|
// state
|
|
250
250
|
props: s,
|
|
251
|
-
update:
|
|
251
|
+
update: k,
|
|
252
252
|
not_equal: i,
|
|
253
|
-
bound:
|
|
253
|
+
bound: Mt(),
|
|
254
254
|
// lifecycle
|
|
255
255
|
on_mount: [],
|
|
256
256
|
on_destroy: [],
|
|
@@ -259,48 +259,48 @@ function ri(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
|
259
259
|
after_update: [],
|
|
260
260
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
261
261
|
// everything else
|
|
262
|
-
callbacks:
|
|
262
|
+
callbacks: Mt(),
|
|
263
263
|
dirty: a,
|
|
264
264
|
skip_bound: !1,
|
|
265
265
|
root: t.target || l.$$.root
|
|
266
266
|
};
|
|
267
267
|
o && o(u.root);
|
|
268
268
|
let h = !1;
|
|
269
|
-
if (u.ctx = r ? r(e, t.props || {}, (c,
|
|
270
|
-
const
|
|
271
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] =
|
|
272
|
-
}) : [], u.update(), h = !0,
|
|
269
|
+
if (u.ctx = r ? r(e, t.props || {}, (c, p, ...y) => {
|
|
270
|
+
const g = y.length ? y[0] : p;
|
|
271
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = g) && (!u.skip_bound && u.bound[c] && u.bound[c](g), h && Ln(e, c)), p;
|
|
272
|
+
}) : [], u.update(), h = !0, ge(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
273
273
|
if (t.hydrate) {
|
|
274
|
-
const c =
|
|
275
|
-
u.fragment && u.fragment.l(c), c.forEach(
|
|
274
|
+
const c = wn(t.target);
|
|
275
|
+
u.fragment && u.fragment.l(c), c.forEach(M);
|
|
276
276
|
} else
|
|
277
277
|
u.fragment && u.fragment.c();
|
|
278
|
-
t.intro &&
|
|
278
|
+
t.intro && Cn(e.$$.fragment), In(e, t.target, t.anchor), A();
|
|
279
279
|
}
|
|
280
|
-
|
|
280
|
+
ce(l);
|
|
281
281
|
}
|
|
282
|
-
let
|
|
283
|
-
typeof HTMLElement == "function" && (
|
|
282
|
+
let dr;
|
|
283
|
+
typeof HTMLElement == "function" && (dr = class extends HTMLElement {
|
|
284
284
|
constructor(t, r, n) {
|
|
285
285
|
super();
|
|
286
286
|
/** The Svelte component constructor */
|
|
287
|
-
|
|
287
|
+
F(this, "$$ctor");
|
|
288
288
|
/** Slots */
|
|
289
|
-
|
|
289
|
+
F(this, "$$s");
|
|
290
290
|
/** The Svelte component instance */
|
|
291
|
-
|
|
291
|
+
F(this, "$$c");
|
|
292
292
|
/** Whether or not the custom element is connected */
|
|
293
|
-
|
|
293
|
+
F(this, "$$cn", !1);
|
|
294
294
|
/** Component props data */
|
|
295
|
-
|
|
295
|
+
F(this, "$$d", {});
|
|
296
296
|
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
297
|
-
|
|
297
|
+
F(this, "$$r", !1);
|
|
298
298
|
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
299
|
-
|
|
299
|
+
F(this, "$$p_d", {});
|
|
300
300
|
/** @type {Record<string, Function[]>} Event listeners */
|
|
301
|
-
|
|
301
|
+
F(this, "$$l", {});
|
|
302
302
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
303
|
-
|
|
303
|
+
F(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
304
304
|
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
|
305
305
|
}
|
|
306
306
|
addEventListener(t, r, n) {
|
|
@@ -317,42 +317,42 @@ typeof HTMLElement == "function" && (Mr = class extends HTMLElement {
|
|
|
317
317
|
}
|
|
318
318
|
}
|
|
319
319
|
connectedCallback() {
|
|
320
|
-
return
|
|
320
|
+
return we(this, null, function* () {
|
|
321
321
|
if (this.$$cn = !0, !this.$$c) {
|
|
322
322
|
let t = function(s) {
|
|
323
323
|
return () => {
|
|
324
324
|
let o;
|
|
325
325
|
return {
|
|
326
326
|
c: function() {
|
|
327
|
-
o =
|
|
327
|
+
o = B("slot"), s !== "default" && T(o, "name", s);
|
|
328
328
|
},
|
|
329
329
|
/**
|
|
330
330
|
* @param {HTMLElement} target
|
|
331
331
|
* @param {HTMLElement} [anchor]
|
|
332
332
|
*/
|
|
333
333
|
m: function(u, h) {
|
|
334
|
-
|
|
334
|
+
U(u, o, h);
|
|
335
335
|
},
|
|
336
336
|
d: function(u) {
|
|
337
|
-
u &&
|
|
337
|
+
u && M(o);
|
|
338
338
|
}
|
|
339
339
|
};
|
|
340
340
|
};
|
|
341
341
|
};
|
|
342
342
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
343
343
|
return;
|
|
344
|
-
const r = {}, n =
|
|
344
|
+
const r = {}, n = xn(this);
|
|
345
345
|
for (const s of this.$$s)
|
|
346
346
|
s in n && (r[s] = [t(s)]);
|
|
347
347
|
for (const s of this.attributes) {
|
|
348
348
|
const o = this.$$g_p(s.name);
|
|
349
|
-
o in this.$$d || (this.$$d[o] =
|
|
349
|
+
o in this.$$d || (this.$$d[o] = Be(o, s.value, this.$$p_d, "toProp"));
|
|
350
350
|
}
|
|
351
351
|
for (const s in this.$$p_d)
|
|
352
352
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
|
353
353
|
this.$$c = new this.$$ctor({
|
|
354
354
|
target: this.shadowRoot || this,
|
|
355
|
-
props:
|
|
355
|
+
props: Nt(Lt({}, this.$$d), {
|
|
356
356
|
$$slots: r,
|
|
357
357
|
$$scope: {
|
|
358
358
|
ctx: []
|
|
@@ -363,7 +363,7 @@ typeof HTMLElement == "function" && (Mr = class extends HTMLElement {
|
|
|
363
363
|
this.$$r = !0;
|
|
364
364
|
for (const s in this.$$p_d)
|
|
365
365
|
if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
|
|
366
|
-
const o =
|
|
366
|
+
const o = Be(
|
|
367
367
|
s,
|
|
368
368
|
this.$$d[s],
|
|
369
369
|
this.$$p_d,
|
|
@@ -387,7 +387,7 @@ typeof HTMLElement == "function" && (Mr = class extends HTMLElement {
|
|
|
387
387
|
// and setting attributes through setAttribute etc, this is helpful
|
|
388
388
|
attributeChangedCallback(t, r, n) {
|
|
389
389
|
var i;
|
|
390
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
|
390
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = Be(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
391
391
|
}
|
|
392
392
|
disconnectedCallback() {
|
|
393
393
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -400,7 +400,7 @@ typeof HTMLElement == "function" && (Mr = class extends HTMLElement {
|
|
|
400
400
|
) || t;
|
|
401
401
|
}
|
|
402
402
|
});
|
|
403
|
-
function
|
|
403
|
+
function Be(e, t, r, n) {
|
|
404
404
|
var s;
|
|
405
405
|
const i = (s = r[e]) == null ? void 0 : s.type;
|
|
406
406
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
@@ -430,8 +430,8 @@ function Ce(e, t, r, n) {
|
|
|
430
430
|
return t;
|
|
431
431
|
}
|
|
432
432
|
}
|
|
433
|
-
function
|
|
434
|
-
let o = class extends
|
|
433
|
+
function Mn(e, t, r, n, i, s) {
|
|
434
|
+
let o = class extends dr {
|
|
435
435
|
constructor() {
|
|
436
436
|
super(e, r, i), this.$$p_d = t;
|
|
437
437
|
}
|
|
@@ -448,7 +448,7 @@ function ni(e, t, r, n, i, s) {
|
|
|
448
448
|
},
|
|
449
449
|
set(l) {
|
|
450
450
|
var u;
|
|
451
|
-
l =
|
|
451
|
+
l = Be(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
|
|
452
452
|
}
|
|
453
453
|
});
|
|
454
454
|
}), n.forEach((a) => {
|
|
@@ -461,7 +461,7 @@ function ni(e, t, r, n, i, s) {
|
|
|
461
461
|
}), e.element = /** @type {any} */
|
|
462
462
|
o, o;
|
|
463
463
|
}
|
|
464
|
-
class
|
|
464
|
+
class Dn {
|
|
465
465
|
constructor() {
|
|
466
466
|
/**
|
|
467
467
|
* ### PRIVATE API
|
|
@@ -470,7 +470,7 @@ class ii {
|
|
|
470
470
|
*
|
|
471
471
|
* @type {any}
|
|
472
472
|
*/
|
|
473
|
-
|
|
473
|
+
F(this, "$$");
|
|
474
474
|
/**
|
|
475
475
|
* ### PRIVATE API
|
|
476
476
|
*
|
|
@@ -478,11 +478,11 @@ class ii {
|
|
|
478
478
|
*
|
|
479
479
|
* @type {any}
|
|
480
480
|
*/
|
|
481
|
-
|
|
481
|
+
F(this, "$$set");
|
|
482
482
|
}
|
|
483
483
|
/** @returns {void} */
|
|
484
484
|
$destroy() {
|
|
485
|
-
|
|
485
|
+
Rn(this, 1), this.$destroy = k;
|
|
486
486
|
}
|
|
487
487
|
/**
|
|
488
488
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -491,8 +491,8 @@ class ii {
|
|
|
491
491
|
* @returns {() => void}
|
|
492
492
|
*/
|
|
493
493
|
$on(t, r) {
|
|
494
|
-
if (!
|
|
495
|
-
return
|
|
494
|
+
if (!mt(r))
|
|
495
|
+
return k;
|
|
496
496
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
497
497
|
return n.push(r), () => {
|
|
498
498
|
const i = n.indexOf(r);
|
|
@@ -504,37 +504,37 @@ class ii {
|
|
|
504
504
|
* @returns {void}
|
|
505
505
|
*/
|
|
506
506
|
$set(t) {
|
|
507
|
-
this.$$set && !
|
|
507
|
+
this.$$set && !dn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
508
508
|
}
|
|
509
509
|
}
|
|
510
|
-
const
|
|
511
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
512
|
-
var
|
|
513
|
-
return
|
|
510
|
+
const Fn = "4";
|
|
511
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Fn);
|
|
512
|
+
var et = function(e, t) {
|
|
513
|
+
return et = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
514
514
|
r.__proto__ = n;
|
|
515
515
|
} || function(r, n) {
|
|
516
516
|
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
517
|
-
},
|
|
517
|
+
}, et(e, t);
|
|
518
518
|
};
|
|
519
|
-
function
|
|
519
|
+
function X(e, t) {
|
|
520
520
|
if (typeof t != "function" && t !== null)
|
|
521
521
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
522
|
-
|
|
522
|
+
et(e, t);
|
|
523
523
|
function r() {
|
|
524
524
|
this.constructor = e;
|
|
525
525
|
}
|
|
526
526
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
527
527
|
}
|
|
528
|
-
var
|
|
529
|
-
return
|
|
528
|
+
var w = function() {
|
|
529
|
+
return w = Object.assign || function(t) {
|
|
530
530
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
531
531
|
r = arguments[n];
|
|
532
532
|
for (var s in r) Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
533
533
|
}
|
|
534
534
|
return t;
|
|
535
|
-
},
|
|
535
|
+
}, w.apply(this, arguments);
|
|
536
536
|
};
|
|
537
|
-
function
|
|
537
|
+
function Un(e, t) {
|
|
538
538
|
var r = {};
|
|
539
539
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
540
540
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -542,7 +542,7 @@ function oi(e, t) {
|
|
|
542
542
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
543
543
|
return r;
|
|
544
544
|
}
|
|
545
|
-
function
|
|
545
|
+
function tt(e) {
|
|
546
546
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
547
547
|
if (r) return r.call(e);
|
|
548
548
|
if (e && typeof e.length == "number") return {
|
|
@@ -552,7 +552,7 @@ function st(e) {
|
|
|
552
552
|
};
|
|
553
553
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
554
554
|
}
|
|
555
|
-
function
|
|
555
|
+
function rt(e, t) {
|
|
556
556
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
557
557
|
if (!r) return e;
|
|
558
558
|
var n = r.call(e), i, s = [], o;
|
|
@@ -569,21 +569,21 @@ function ot(e, t) {
|
|
|
569
569
|
}
|
|
570
570
|
return s;
|
|
571
571
|
}
|
|
572
|
-
function
|
|
572
|
+
function te(e, t, r) {
|
|
573
573
|
if (r || arguments.length === 2) for (var n = 0, i = t.length, s; n < i; n++)
|
|
574
574
|
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
575
575
|
return e.concat(s || Array.prototype.slice.call(t));
|
|
576
576
|
}
|
|
577
|
-
function
|
|
577
|
+
function V(e) {
|
|
578
578
|
return typeof e == "function";
|
|
579
579
|
}
|
|
580
|
-
function
|
|
580
|
+
function gr(e) {
|
|
581
581
|
var t = function(n) {
|
|
582
582
|
Error.call(n), n.stack = new Error().stack;
|
|
583
583
|
}, r = e(t);
|
|
584
584
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
585
585
|
}
|
|
586
|
-
var
|
|
586
|
+
var Xe = gr(function(e) {
|
|
587
587
|
return function(r) {
|
|
588
588
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
589
589
|
` + r.map(function(n, i) {
|
|
@@ -592,13 +592,13 @@ var Qe = Dr(function(e) {
|
|
|
592
592
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
593
593
|
};
|
|
594
594
|
});
|
|
595
|
-
function
|
|
595
|
+
function nt(e, t) {
|
|
596
596
|
if (e) {
|
|
597
597
|
var r = e.indexOf(t);
|
|
598
598
|
0 <= r && e.splice(r, 1);
|
|
599
599
|
}
|
|
600
600
|
}
|
|
601
|
-
var
|
|
601
|
+
var Le = function() {
|
|
602
602
|
function e(t) {
|
|
603
603
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
604
604
|
}
|
|
@@ -610,12 +610,12 @@ var Fe = function() {
|
|
|
610
610
|
if (o)
|
|
611
611
|
if (this._parentage = null, Array.isArray(o))
|
|
612
612
|
try {
|
|
613
|
-
for (var a =
|
|
613
|
+
for (var a = tt(o), l = a.next(); !l.done; l = a.next()) {
|
|
614
614
|
var u = l.value;
|
|
615
615
|
u.remove(this);
|
|
616
616
|
}
|
|
617
|
-
} catch (
|
|
618
|
-
t = { error:
|
|
617
|
+
} catch (d) {
|
|
618
|
+
t = { error: d };
|
|
619
619
|
} finally {
|
|
620
620
|
try {
|
|
621
621
|
l && !l.done && (r = a.return) && r.call(a);
|
|
@@ -626,42 +626,42 @@ var Fe = function() {
|
|
|
626
626
|
else
|
|
627
627
|
o.remove(this);
|
|
628
628
|
var h = this.initialTeardown;
|
|
629
|
-
if (
|
|
629
|
+
if (V(h))
|
|
630
630
|
try {
|
|
631
631
|
h();
|
|
632
|
-
} catch (
|
|
633
|
-
s =
|
|
632
|
+
} catch (d) {
|
|
633
|
+
s = d instanceof Xe ? d.errors : [d];
|
|
634
634
|
}
|
|
635
635
|
var c = this._finalizers;
|
|
636
636
|
if (c) {
|
|
637
637
|
this._finalizers = null;
|
|
638
638
|
try {
|
|
639
|
-
for (var
|
|
640
|
-
var
|
|
639
|
+
for (var p = tt(c), y = p.next(); !y.done; y = p.next()) {
|
|
640
|
+
var g = y.value;
|
|
641
641
|
try {
|
|
642
|
-
|
|
643
|
-
} catch (
|
|
644
|
-
s = s != null ? s : [],
|
|
642
|
+
Ft(g);
|
|
643
|
+
} catch (d) {
|
|
644
|
+
s = s != null ? s : [], d instanceof Xe ? s = te(te([], rt(s)), rt(d.errors)) : s.push(d);
|
|
645
645
|
}
|
|
646
646
|
}
|
|
647
|
-
} catch (
|
|
648
|
-
n = { error:
|
|
647
|
+
} catch (d) {
|
|
648
|
+
n = { error: d };
|
|
649
649
|
} finally {
|
|
650
650
|
try {
|
|
651
|
-
|
|
651
|
+
y && !y.done && (i = p.return) && i.call(p);
|
|
652
652
|
} finally {
|
|
653
653
|
if (n) throw n.error;
|
|
654
654
|
}
|
|
655
655
|
}
|
|
656
656
|
}
|
|
657
657
|
if (s)
|
|
658
|
-
throw new
|
|
658
|
+
throw new Xe(s);
|
|
659
659
|
}
|
|
660
660
|
}, e.prototype.add = function(t) {
|
|
661
661
|
var r;
|
|
662
662
|
if (t && t !== this)
|
|
663
663
|
if (this.closed)
|
|
664
|
-
|
|
664
|
+
Ft(t);
|
|
665
665
|
else {
|
|
666
666
|
if (t instanceof e) {
|
|
667
667
|
if (t.closed || t._hasParent(this))
|
|
@@ -678,57 +678,57 @@ var Fe = function() {
|
|
|
678
678
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
679
679
|
}, e.prototype._removeParent = function(t) {
|
|
680
680
|
var r = this._parentage;
|
|
681
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
681
|
+
r === t ? this._parentage = null : Array.isArray(r) && nt(r, t);
|
|
682
682
|
}, e.prototype.remove = function(t) {
|
|
683
683
|
var r = this._finalizers;
|
|
684
|
-
r &&
|
|
684
|
+
r && nt(r, t), t instanceof e && t._removeParent(this);
|
|
685
685
|
}, e.EMPTY = function() {
|
|
686
686
|
var t = new e();
|
|
687
687
|
return t.closed = !0, t;
|
|
688
688
|
}(), e;
|
|
689
|
-
}(),
|
|
690
|
-
function
|
|
691
|
-
return e instanceof
|
|
689
|
+
}(), br = Le.EMPTY;
|
|
690
|
+
function yr(e) {
|
|
691
|
+
return e instanceof Le || e && "closed" in e && V(e.remove) && V(e.add) && V(e.unsubscribe);
|
|
692
692
|
}
|
|
693
|
-
function
|
|
694
|
-
|
|
693
|
+
function Ft(e) {
|
|
694
|
+
V(e) ? e() : e.unsubscribe();
|
|
695
695
|
}
|
|
696
|
-
var
|
|
696
|
+
var vr = {
|
|
697
697
|
onUnhandledError: null,
|
|
698
698
|
onStoppedNotification: null,
|
|
699
699
|
Promise: void 0,
|
|
700
700
|
useDeprecatedSynchronousErrorHandling: !1,
|
|
701
701
|
useDeprecatedNextContext: !1
|
|
702
|
-
},
|
|
702
|
+
}, _r = {
|
|
703
703
|
setTimeout: function(e, t) {
|
|
704
704
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
705
705
|
r[n - 2] = arguments[n];
|
|
706
|
-
return setTimeout.apply(void 0,
|
|
706
|
+
return setTimeout.apply(void 0, te([e, t], rt(r)));
|
|
707
707
|
},
|
|
708
708
|
clearTimeout: function(e) {
|
|
709
|
-
var t =
|
|
709
|
+
var t = _r.delegate;
|
|
710
710
|
return ((t == null ? void 0 : t.clearTimeout) || clearTimeout)(e);
|
|
711
711
|
},
|
|
712
712
|
delegate: void 0
|
|
713
713
|
};
|
|
714
|
-
function
|
|
715
|
-
|
|
714
|
+
function Gn(e) {
|
|
715
|
+
_r.setTimeout(function() {
|
|
716
716
|
throw e;
|
|
717
717
|
});
|
|
718
718
|
}
|
|
719
|
-
function
|
|
719
|
+
function Ut() {
|
|
720
720
|
}
|
|
721
|
-
function
|
|
721
|
+
function Ae(e) {
|
|
722
722
|
e();
|
|
723
723
|
}
|
|
724
|
-
var
|
|
725
|
-
|
|
724
|
+
var Er = function(e) {
|
|
725
|
+
X(t, e);
|
|
726
726
|
function t(r) {
|
|
727
727
|
var n = e.call(this) || this;
|
|
728
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
728
|
+
return n.isStopped = !1, r ? (n.destination = r, yr(r) && r.add(n)) : n.destination = Vn, n;
|
|
729
729
|
}
|
|
730
730
|
return t.create = function(r, n, i) {
|
|
731
|
-
return new
|
|
731
|
+
return new it(r, n, i);
|
|
732
732
|
}, t.prototype.next = function(r) {
|
|
733
733
|
this.isStopped || this._next(r);
|
|
734
734
|
}, t.prototype.error = function(r) {
|
|
@@ -752,11 +752,11 @@ var jr = function(e) {
|
|
|
752
752
|
this.unsubscribe();
|
|
753
753
|
}
|
|
754
754
|
}, t;
|
|
755
|
-
}(
|
|
756
|
-
function
|
|
757
|
-
return
|
|
755
|
+
}(Le), kn = Function.prototype.bind;
|
|
756
|
+
function ze(e, t) {
|
|
757
|
+
return kn.call(e, t);
|
|
758
758
|
}
|
|
759
|
-
var
|
|
759
|
+
var jn = function() {
|
|
760
760
|
function e(t) {
|
|
761
761
|
this.partialObserver = t;
|
|
762
762
|
}
|
|
@@ -766,7 +766,7 @@ var li = function() {
|
|
|
766
766
|
try {
|
|
767
767
|
r.next(t);
|
|
768
768
|
} catch (n) {
|
|
769
|
-
|
|
769
|
+
Te(n);
|
|
770
770
|
}
|
|
771
771
|
}, e.prototype.error = function(t) {
|
|
772
772
|
var r = this.partialObserver;
|
|
@@ -774,24 +774,24 @@ var li = function() {
|
|
|
774
774
|
try {
|
|
775
775
|
r.error(t);
|
|
776
776
|
} catch (n) {
|
|
777
|
-
|
|
777
|
+
Te(n);
|
|
778
778
|
}
|
|
779
779
|
else
|
|
780
|
-
|
|
780
|
+
Te(t);
|
|
781
781
|
}, e.prototype.complete = function() {
|
|
782
782
|
var t = this.partialObserver;
|
|
783
783
|
if (t.complete)
|
|
784
784
|
try {
|
|
785
785
|
t.complete();
|
|
786
786
|
} catch (r) {
|
|
787
|
-
|
|
787
|
+
Te(r);
|
|
788
788
|
}
|
|
789
789
|
}, e;
|
|
790
|
-
}(),
|
|
791
|
-
|
|
790
|
+
}(), it = function(e) {
|
|
791
|
+
X(t, e);
|
|
792
792
|
function t(r, n, i) {
|
|
793
793
|
var s = e.call(this) || this, o;
|
|
794
|
-
if (
|
|
794
|
+
if (V(r) || !r)
|
|
795
795
|
o = {
|
|
796
796
|
next: r != null ? r : void 0,
|
|
797
797
|
error: n != null ? n : void 0,
|
|
@@ -799,43 +799,43 @@ var li = function() {
|
|
|
799
799
|
};
|
|
800
800
|
else {
|
|
801
801
|
var a;
|
|
802
|
-
s &&
|
|
802
|
+
s && vr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
803
803
|
return s.unsubscribe();
|
|
804
804
|
}, o = {
|
|
805
|
-
next: r.next &&
|
|
806
|
-
error: r.error &&
|
|
807
|
-
complete: r.complete &&
|
|
805
|
+
next: r.next && ze(r.next, a),
|
|
806
|
+
error: r.error && ze(r.error, a),
|
|
807
|
+
complete: r.complete && ze(r.complete, a)
|
|
808
808
|
}) : o = r;
|
|
809
809
|
}
|
|
810
|
-
return s.destination = new
|
|
810
|
+
return s.destination = new jn(o), s;
|
|
811
811
|
}
|
|
812
812
|
return t;
|
|
813
|
-
}(
|
|
814
|
-
function
|
|
815
|
-
|
|
813
|
+
}(Er);
|
|
814
|
+
function Te(e) {
|
|
815
|
+
Gn(e);
|
|
816
816
|
}
|
|
817
|
-
function
|
|
817
|
+
function $n(e) {
|
|
818
818
|
throw e;
|
|
819
819
|
}
|
|
820
|
-
var
|
|
820
|
+
var Vn = {
|
|
821
821
|
closed: !0,
|
|
822
|
-
next:
|
|
823
|
-
error:
|
|
824
|
-
complete:
|
|
825
|
-
},
|
|
822
|
+
next: Ut,
|
|
823
|
+
error: $n,
|
|
824
|
+
complete: Ut
|
|
825
|
+
}, Xn = function() {
|
|
826
826
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
827
827
|
}();
|
|
828
|
-
function
|
|
828
|
+
function zn(e) {
|
|
829
829
|
return e;
|
|
830
830
|
}
|
|
831
|
-
function
|
|
832
|
-
return e.length === 0 ?
|
|
831
|
+
function Wn(e) {
|
|
832
|
+
return e.length === 0 ? zn : e.length === 1 ? e[0] : function(r) {
|
|
833
833
|
return e.reduce(function(n, i) {
|
|
834
834
|
return i(n);
|
|
835
835
|
}, r);
|
|
836
836
|
};
|
|
837
837
|
}
|
|
838
|
-
var
|
|
838
|
+
var Gt = function() {
|
|
839
839
|
function e(t) {
|
|
840
840
|
t && (this._subscribe = t);
|
|
841
841
|
}
|
|
@@ -843,8 +843,8 @@ var ar = function() {
|
|
|
843
843
|
var r = new e();
|
|
844
844
|
return r.source = this, r.operator = t, r;
|
|
845
845
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
846
|
-
var i = this, s =
|
|
847
|
-
return
|
|
846
|
+
var i = this, s = Jn(t) ? t : new it(t, r, n);
|
|
847
|
+
return Ae(function() {
|
|
848
848
|
var o = i, a = o.operator, l = o.source;
|
|
849
849
|
s.add(a ? a.call(s, l) : l ? i._subscribe(s) : i._trySubscribe(s));
|
|
850
850
|
}), s;
|
|
@@ -856,8 +856,8 @@ var ar = function() {
|
|
|
856
856
|
}
|
|
857
857
|
}, e.prototype.forEach = function(t, r) {
|
|
858
858
|
var n = this;
|
|
859
|
-
return r =
|
|
860
|
-
var o = new
|
|
859
|
+
return r = kt(r), new r(function(i, s) {
|
|
860
|
+
var o = new it({
|
|
861
861
|
next: function(a) {
|
|
862
862
|
try {
|
|
863
863
|
t(a);
|
|
@@ -873,15 +873,15 @@ var ar = function() {
|
|
|
873
873
|
}, e.prototype._subscribe = function(t) {
|
|
874
874
|
var r;
|
|
875
875
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
876
|
-
}, e.prototype[
|
|
876
|
+
}, e.prototype[Xn] = function() {
|
|
877
877
|
return this;
|
|
878
878
|
}, e.prototype.pipe = function() {
|
|
879
879
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
880
880
|
t[r] = arguments[r];
|
|
881
|
-
return
|
|
881
|
+
return Wn(t)(this);
|
|
882
882
|
}, e.prototype.toPromise = function(t) {
|
|
883
883
|
var r = this;
|
|
884
|
-
return t =
|
|
884
|
+
return t = kt(t), new t(function(n, i) {
|
|
885
885
|
var s;
|
|
886
886
|
r.subscribe(function(o) {
|
|
887
887
|
return s = o;
|
|
@@ -895,40 +895,40 @@ var ar = function() {
|
|
|
895
895
|
return new e(t);
|
|
896
896
|
}, e;
|
|
897
897
|
}();
|
|
898
|
-
function
|
|
898
|
+
function kt(e) {
|
|
899
899
|
var t;
|
|
900
|
-
return (t = e != null ? e :
|
|
900
|
+
return (t = e != null ? e : vr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
901
901
|
}
|
|
902
|
-
function
|
|
903
|
-
return e &&
|
|
902
|
+
function Zn(e) {
|
|
903
|
+
return e && V(e.next) && V(e.error) && V(e.complete);
|
|
904
904
|
}
|
|
905
|
-
function
|
|
906
|
-
return e && e instanceof
|
|
905
|
+
function Jn(e) {
|
|
906
|
+
return e && e instanceof Er || Zn(e) && yr(e);
|
|
907
907
|
}
|
|
908
|
-
var
|
|
908
|
+
var qn = gr(function(e) {
|
|
909
909
|
return function() {
|
|
910
910
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
911
911
|
};
|
|
912
|
-
}),
|
|
913
|
-
|
|
912
|
+
}), wr = function(e) {
|
|
913
|
+
X(t, e);
|
|
914
914
|
function t() {
|
|
915
915
|
var r = e.call(this) || this;
|
|
916
916
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
917
917
|
}
|
|
918
918
|
return t.prototype.lift = function(r) {
|
|
919
|
-
var n = new
|
|
919
|
+
var n = new jt(this, this);
|
|
920
920
|
return n.operator = r, n;
|
|
921
921
|
}, t.prototype._throwIfClosed = function() {
|
|
922
922
|
if (this.closed)
|
|
923
|
-
throw new
|
|
923
|
+
throw new qn();
|
|
924
924
|
}, t.prototype.next = function(r) {
|
|
925
925
|
var n = this;
|
|
926
|
-
|
|
926
|
+
Ae(function() {
|
|
927
927
|
var i, s;
|
|
928
928
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
929
929
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
930
930
|
try {
|
|
931
|
-
for (var o =
|
|
931
|
+
for (var o = tt(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
|
|
932
932
|
var l = a.value;
|
|
933
933
|
l.next(r);
|
|
934
934
|
}
|
|
@@ -945,7 +945,7 @@ var bi = Dr(function(e) {
|
|
|
945
945
|
});
|
|
946
946
|
}, t.prototype.error = function(r) {
|
|
947
947
|
var n = this;
|
|
948
|
-
|
|
948
|
+
Ae(function() {
|
|
949
949
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
950
950
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
951
951
|
for (var i = n.observers; i.length; )
|
|
@@ -954,7 +954,7 @@ var bi = Dr(function(e) {
|
|
|
954
954
|
});
|
|
955
955
|
}, t.prototype.complete = function() {
|
|
956
956
|
var r = this;
|
|
957
|
-
|
|
957
|
+
Ae(function() {
|
|
958
958
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
959
959
|
r.isStopped = !0;
|
|
960
960
|
for (var n = r.observers; n.length; )
|
|
@@ -976,20 +976,20 @@ var bi = Dr(function(e) {
|
|
|
976
976
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
977
977
|
}, t.prototype._innerSubscribe = function(r) {
|
|
978
978
|
var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
|
|
979
|
-
return s || o ?
|
|
980
|
-
n.currentObservers = null,
|
|
979
|
+
return s || o ? br : (this.currentObservers = null, a.push(r), new Le(function() {
|
|
980
|
+
n.currentObservers = null, nt(a, r);
|
|
981
981
|
}));
|
|
982
982
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
983
983
|
var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
|
|
984
984
|
i ? r.error(s) : o && r.complete();
|
|
985
985
|
}, t.prototype.asObservable = function() {
|
|
986
|
-
var r = new
|
|
986
|
+
var r = new Gt();
|
|
987
987
|
return r.source = this, r;
|
|
988
988
|
}, t.create = function(r, n) {
|
|
989
|
-
return new
|
|
989
|
+
return new jt(r, n);
|
|
990
990
|
}, t;
|
|
991
|
-
}(
|
|
992
|
-
|
|
991
|
+
}(Gt), jt = function(e) {
|
|
992
|
+
X(t, e);
|
|
993
993
|
function t(r, n) {
|
|
994
994
|
var i = e.call(this) || this;
|
|
995
995
|
return i.destination = r, i.source = n, i;
|
|
@@ -1005,17 +1005,17 @@ var bi = Dr(function(e) {
|
|
|
1005
1005
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1006
1006
|
}, t.prototype._subscribe = function(r) {
|
|
1007
1007
|
var n, i;
|
|
1008
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1008
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : br;
|
|
1009
1009
|
}, t;
|
|
1010
|
-
}(
|
|
1010
|
+
}(wr), xr = {
|
|
1011
1011
|
now: function() {
|
|
1012
|
-
return (
|
|
1012
|
+
return (xr.delegate || Date).now();
|
|
1013
1013
|
},
|
|
1014
1014
|
delegate: void 0
|
|
1015
|
-
},
|
|
1016
|
-
|
|
1015
|
+
}, Qn = function(e) {
|
|
1016
|
+
X(t, e);
|
|
1017
1017
|
function t(r, n, i) {
|
|
1018
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1018
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = xr);
|
|
1019
1019
|
var s = e.call(this) || this;
|
|
1020
1020
|
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;
|
|
1021
1021
|
}
|
|
@@ -1035,199 +1035,199 @@ var bi = Dr(function(e) {
|
|
|
1035
1035
|
u && s.splice(0, u + 1);
|
|
1036
1036
|
}
|
|
1037
1037
|
}, t;
|
|
1038
|
-
}(
|
|
1039
|
-
const
|
|
1040
|
-
if (
|
|
1041
|
-
const r = new
|
|
1042
|
-
|
|
1038
|
+
}(wr);
|
|
1039
|
+
const $t = [], Vt = {}, Yn = (e, t = 0) => {
|
|
1040
|
+
if ($t.indexOf(e) == -1) {
|
|
1041
|
+
const r = new Qn(t);
|
|
1042
|
+
Vt[e] = r, $t.push(e);
|
|
1043
1043
|
}
|
|
1044
|
-
return
|
|
1045
|
-
},
|
|
1046
|
-
function
|
|
1044
|
+
return Vt[e];
|
|
1045
|
+
}, Q = [];
|
|
1046
|
+
function Kn(e, t) {
|
|
1047
1047
|
return {
|
|
1048
|
-
subscribe:
|
|
1048
|
+
subscribe: Ne(e, t).subscribe
|
|
1049
1049
|
};
|
|
1050
1050
|
}
|
|
1051
|
-
function
|
|
1051
|
+
function Ne(e, t = k) {
|
|
1052
1052
|
let r;
|
|
1053
1053
|
const n = /* @__PURE__ */ new Set();
|
|
1054
1054
|
function i(a) {
|
|
1055
|
-
if (
|
|
1056
|
-
const l = !
|
|
1055
|
+
if (mr(e, a) && (e = a, r)) {
|
|
1056
|
+
const l = !Q.length;
|
|
1057
1057
|
for (const u of n)
|
|
1058
|
-
u[1](),
|
|
1058
|
+
u[1](), Q.push(u, e);
|
|
1059
1059
|
if (l) {
|
|
1060
|
-
for (let u = 0; u <
|
|
1061
|
-
|
|
1062
|
-
|
|
1060
|
+
for (let u = 0; u < Q.length; u += 2)
|
|
1061
|
+
Q[u][0](Q[u + 1]);
|
|
1062
|
+
Q.length = 0;
|
|
1063
1063
|
}
|
|
1064
1064
|
}
|
|
1065
1065
|
}
|
|
1066
1066
|
function s(a) {
|
|
1067
1067
|
i(a(e));
|
|
1068
1068
|
}
|
|
1069
|
-
function o(a, l =
|
|
1069
|
+
function o(a, l = k) {
|
|
1070
1070
|
const u = [a, l];
|
|
1071
|
-
return n.add(u), n.size === 1 && (r = t(i, s) ||
|
|
1071
|
+
return n.add(u), n.size === 1 && (r = t(i, s) || k), a(e), () => {
|
|
1072
1072
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
1073
1073
|
};
|
|
1074
1074
|
}
|
|
1075
1075
|
return { set: i, update: s, subscribe: o };
|
|
1076
1076
|
}
|
|
1077
|
-
function
|
|
1077
|
+
function oe(e, t, r) {
|
|
1078
1078
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1079
1079
|
if (!i.every(Boolean))
|
|
1080
1080
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1081
1081
|
const s = t.length < 2;
|
|
1082
|
-
return
|
|
1082
|
+
return Kn(r, (o, a) => {
|
|
1083
1083
|
let l = !1;
|
|
1084
1084
|
const u = [];
|
|
1085
|
-
let h = 0, c =
|
|
1086
|
-
const
|
|
1085
|
+
let h = 0, c = k;
|
|
1086
|
+
const p = () => {
|
|
1087
1087
|
if (h)
|
|
1088
1088
|
return;
|
|
1089
1089
|
c();
|
|
1090
|
-
const
|
|
1091
|
-
s ? o(
|
|
1092
|
-
},
|
|
1093
|
-
(
|
|
1094
|
-
|
|
1095
|
-
(
|
|
1096
|
-
u[
|
|
1090
|
+
const g = t(n ? u[0] : u, o, a);
|
|
1091
|
+
s ? o(g) : c = mt(g) ? g : k;
|
|
1092
|
+
}, y = i.map(
|
|
1093
|
+
(g, d) => pr(
|
|
1094
|
+
g,
|
|
1095
|
+
(b) => {
|
|
1096
|
+
u[d] = b, h &= ~(1 << d), l && p();
|
|
1097
1097
|
},
|
|
1098
1098
|
() => {
|
|
1099
|
-
h |= 1 <<
|
|
1099
|
+
h |= 1 << d;
|
|
1100
1100
|
}
|
|
1101
1101
|
)
|
|
1102
1102
|
);
|
|
1103
|
-
return l = !0,
|
|
1104
|
-
|
|
1103
|
+
return l = !0, p(), function() {
|
|
1104
|
+
ge(y), c(), l = !1;
|
|
1105
1105
|
};
|
|
1106
1106
|
});
|
|
1107
1107
|
}
|
|
1108
|
-
function
|
|
1108
|
+
function ei(e) {
|
|
1109
1109
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1110
1110
|
}
|
|
1111
|
-
var
|
|
1112
|
-
return
|
|
1111
|
+
var ti = function(t) {
|
|
1112
|
+
return ri(t) && !ni(t);
|
|
1113
1113
|
};
|
|
1114
|
-
function
|
|
1114
|
+
function ri(e) {
|
|
1115
1115
|
return !!e && typeof e == "object";
|
|
1116
1116
|
}
|
|
1117
|
-
function
|
|
1117
|
+
function ni(e) {
|
|
1118
1118
|
var t = Object.prototype.toString.call(e);
|
|
1119
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1119
|
+
return t === "[object RegExp]" || t === "[object Date]" || oi(e);
|
|
1120
1120
|
}
|
|
1121
|
-
var
|
|
1122
|
-
function
|
|
1123
|
-
return e.$$typeof ===
|
|
1121
|
+
var ii = typeof Symbol == "function" && Symbol.for, si = ii ? Symbol.for("react.element") : 60103;
|
|
1122
|
+
function oi(e) {
|
|
1123
|
+
return e.$$typeof === si;
|
|
1124
1124
|
}
|
|
1125
|
-
function
|
|
1125
|
+
function ai(e) {
|
|
1126
1126
|
return Array.isArray(e) ? [] : {};
|
|
1127
1127
|
}
|
|
1128
|
-
function
|
|
1129
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1128
|
+
function pe(e, t) {
|
|
1129
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? re(ai(e), e, t) : e;
|
|
1130
1130
|
}
|
|
1131
|
-
function
|
|
1131
|
+
function ui(e, t, r) {
|
|
1132
1132
|
return e.concat(t).map(function(n) {
|
|
1133
|
-
return
|
|
1133
|
+
return pe(n, r);
|
|
1134
1134
|
});
|
|
1135
1135
|
}
|
|
1136
|
-
function
|
|
1136
|
+
function li(e, t) {
|
|
1137
1137
|
if (!t.customMerge)
|
|
1138
|
-
return
|
|
1138
|
+
return re;
|
|
1139
1139
|
var r = t.customMerge(e);
|
|
1140
|
-
return typeof r == "function" ? r :
|
|
1140
|
+
return typeof r == "function" ? r : re;
|
|
1141
1141
|
}
|
|
1142
|
-
function
|
|
1142
|
+
function hi(e) {
|
|
1143
1143
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1144
1144
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1145
1145
|
}) : [];
|
|
1146
1146
|
}
|
|
1147
|
-
function
|
|
1148
|
-
return Object.keys(e).concat(
|
|
1147
|
+
function Xt(e) {
|
|
1148
|
+
return Object.keys(e).concat(hi(e));
|
|
1149
1149
|
}
|
|
1150
|
-
function
|
|
1150
|
+
function Sr(e, t) {
|
|
1151
1151
|
try {
|
|
1152
1152
|
return t in e;
|
|
1153
1153
|
} catch (r) {
|
|
1154
1154
|
return !1;
|
|
1155
1155
|
}
|
|
1156
1156
|
}
|
|
1157
|
-
function
|
|
1158
|
-
return
|
|
1157
|
+
function fi(e, t) {
|
|
1158
|
+
return Sr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1159
1159
|
}
|
|
1160
|
-
function
|
|
1160
|
+
function ci(e, t, r) {
|
|
1161
1161
|
var n = {};
|
|
1162
|
-
return r.isMergeableObject(e) &&
|
|
1163
|
-
n[i] =
|
|
1164
|
-
}),
|
|
1165
|
-
|
|
1162
|
+
return r.isMergeableObject(e) && Xt(e).forEach(function(i) {
|
|
1163
|
+
n[i] = pe(e[i], r);
|
|
1164
|
+
}), Xt(t).forEach(function(i) {
|
|
1165
|
+
fi(e, i) || (Sr(e, i) && r.isMergeableObject(t[i]) ? n[i] = li(i, r)(e[i], t[i], r) : n[i] = pe(t[i], r));
|
|
1166
1166
|
}), n;
|
|
1167
1167
|
}
|
|
1168
|
-
function
|
|
1169
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1168
|
+
function re(e, t, r) {
|
|
1169
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || ui, r.isMergeableObject = r.isMergeableObject || ti, r.cloneUnlessOtherwiseSpecified = pe;
|
|
1170
1170
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
1171
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
1171
|
+
return s ? n ? r.arrayMerge(e, t, r) : ci(e, t, r) : pe(t, r);
|
|
1172
1172
|
}
|
|
1173
|
-
|
|
1173
|
+
re.all = function(t, r) {
|
|
1174
1174
|
if (!Array.isArray(t))
|
|
1175
1175
|
throw new Error("first argument should be an array");
|
|
1176
1176
|
return t.reduce(function(n, i) {
|
|
1177
|
-
return
|
|
1177
|
+
return re(n, i, r);
|
|
1178
1178
|
}, {});
|
|
1179
1179
|
};
|
|
1180
|
-
var
|
|
1181
|
-
const
|
|
1182
|
-
var
|
|
1180
|
+
var mi = re, pi = mi;
|
|
1181
|
+
const di = /* @__PURE__ */ ei(pi);
|
|
1182
|
+
var v;
|
|
1183
1183
|
(function(e) {
|
|
1184
1184
|
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";
|
|
1185
|
-
})(
|
|
1186
|
-
var
|
|
1185
|
+
})(v || (v = {}));
|
|
1186
|
+
var H;
|
|
1187
1187
|
(function(e) {
|
|
1188
1188
|
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";
|
|
1189
|
-
})(
|
|
1190
|
-
var
|
|
1189
|
+
})(H || (H = {}));
|
|
1190
|
+
var ne;
|
|
1191
1191
|
(function(e) {
|
|
1192
1192
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1193
|
-
})(
|
|
1194
|
-
function
|
|
1195
|
-
return e.type ===
|
|
1193
|
+
})(ne || (ne = {}));
|
|
1194
|
+
function zt(e) {
|
|
1195
|
+
return e.type === H.literal;
|
|
1196
1196
|
}
|
|
1197
|
-
function
|
|
1198
|
-
return e.type ===
|
|
1197
|
+
function gi(e) {
|
|
1198
|
+
return e.type === H.argument;
|
|
1199
1199
|
}
|
|
1200
|
-
function
|
|
1201
|
-
return e.type ===
|
|
1200
|
+
function Tr(e) {
|
|
1201
|
+
return e.type === H.number;
|
|
1202
1202
|
}
|
|
1203
|
-
function
|
|
1204
|
-
return e.type ===
|
|
1203
|
+
function Hr(e) {
|
|
1204
|
+
return e.type === H.date;
|
|
1205
1205
|
}
|
|
1206
|
-
function
|
|
1207
|
-
return e.type ===
|
|
1206
|
+
function Br(e) {
|
|
1207
|
+
return e.type === H.time;
|
|
1208
1208
|
}
|
|
1209
|
-
function
|
|
1210
|
-
return e.type ===
|
|
1209
|
+
function Ar(e) {
|
|
1210
|
+
return e.type === H.select;
|
|
1211
1211
|
}
|
|
1212
|
-
function
|
|
1213
|
-
return e.type ===
|
|
1212
|
+
function Pr(e) {
|
|
1213
|
+
return e.type === H.plural;
|
|
1214
1214
|
}
|
|
1215
|
-
function
|
|
1216
|
-
return e.type ===
|
|
1215
|
+
function bi(e) {
|
|
1216
|
+
return e.type === H.pound;
|
|
1217
1217
|
}
|
|
1218
|
-
function
|
|
1219
|
-
return e.type ===
|
|
1218
|
+
function Or(e) {
|
|
1219
|
+
return e.type === H.tag;
|
|
1220
1220
|
}
|
|
1221
|
-
function
|
|
1222
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1221
|
+
function Cr(e) {
|
|
1222
|
+
return !!(e && typeof e == "object" && e.type === ne.number);
|
|
1223
1223
|
}
|
|
1224
|
-
function
|
|
1225
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1224
|
+
function st(e) {
|
|
1225
|
+
return !!(e && typeof e == "object" && e.type === ne.dateTime);
|
|
1226
1226
|
}
|
|
1227
|
-
var
|
|
1228
|
-
function
|
|
1227
|
+
var Ir = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, yi = /(?:[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;
|
|
1228
|
+
function vi(e) {
|
|
1229
1229
|
var t = {};
|
|
1230
|
-
return e.replace(
|
|
1230
|
+
return e.replace(yi, function(r) {
|
|
1231
1231
|
var n = r.length;
|
|
1232
1232
|
switch (r[0]) {
|
|
1233
1233
|
case "G":
|
|
@@ -1316,12 +1316,12 @@ function Gi(e) {
|
|
|
1316
1316
|
return "";
|
|
1317
1317
|
}), t;
|
|
1318
1318
|
}
|
|
1319
|
-
var
|
|
1320
|
-
function
|
|
1319
|
+
var _i = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1320
|
+
function Ei(e) {
|
|
1321
1321
|
if (e.length === 0)
|
|
1322
1322
|
throw new Error("Number skeleton cannot be empty");
|
|
1323
|
-
for (var t = e.split(
|
|
1324
|
-
return
|
|
1323
|
+
for (var t = e.split(_i).filter(function(p) {
|
|
1324
|
+
return p.length > 0;
|
|
1325
1325
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1326
1326
|
var s = i[n], o = s.split("/");
|
|
1327
1327
|
if (o.length === 0)
|
|
@@ -1335,17 +1335,17 @@ function ji(e) {
|
|
|
1335
1335
|
}
|
|
1336
1336
|
return r;
|
|
1337
1337
|
}
|
|
1338
|
-
function
|
|
1338
|
+
function wi(e) {
|
|
1339
1339
|
return e.replace(/^(.*?)-/, "");
|
|
1340
1340
|
}
|
|
1341
|
-
var
|
|
1342
|
-
function
|
|
1341
|
+
var Wt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Rr = /^(@+)?(\+|#+)?[rs]?$/g, xi = /(\*)(0+)|(#+)(0+)|(0+)/g, Lr = /^(0+)$/;
|
|
1342
|
+
function Zt(e) {
|
|
1343
1343
|
var t = {};
|
|
1344
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1344
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Rr, function(r, n, i) {
|
|
1345
1345
|
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)), "";
|
|
1346
1346
|
}), t;
|
|
1347
1347
|
}
|
|
1348
|
-
function
|
|
1348
|
+
function Nr(e) {
|
|
1349
1349
|
switch (e) {
|
|
1350
1350
|
case "sign-auto":
|
|
1351
1351
|
return {
|
|
@@ -1385,7 +1385,7 @@ function rn(e) {
|
|
|
1385
1385
|
};
|
|
1386
1386
|
}
|
|
1387
1387
|
}
|
|
1388
|
-
function
|
|
1388
|
+
function Si(e) {
|
|
1389
1389
|
var t;
|
|
1390
1390
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1391
1391
|
notation: "engineering"
|
|
@@ -1393,17 +1393,17 @@ function Xi(e) {
|
|
|
1393
1393
|
notation: "scientific"
|
|
1394
1394
|
}, e = e.slice(1)), t) {
|
|
1395
1395
|
var r = e.slice(0, 2);
|
|
1396
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1396
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Lr.test(e))
|
|
1397
1397
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1398
1398
|
t.minimumIntegerDigits = e.length;
|
|
1399
1399
|
}
|
|
1400
1400
|
return t;
|
|
1401
1401
|
}
|
|
1402
|
-
function
|
|
1403
|
-
var t = {}, r =
|
|
1402
|
+
function Jt(e) {
|
|
1403
|
+
var t = {}, r = Nr(e);
|
|
1404
1404
|
return r || t;
|
|
1405
1405
|
}
|
|
1406
|
-
function
|
|
1406
|
+
function Ti(e) {
|
|
1407
1407
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1408
1408
|
var i = n[r];
|
|
1409
1409
|
switch (i.stem) {
|
|
@@ -1427,7 +1427,7 @@ function zi(e) {
|
|
|
1427
1427
|
continue;
|
|
1428
1428
|
case "measure-unit":
|
|
1429
1429
|
case "unit":
|
|
1430
|
-
t.style = "unit", t.unit =
|
|
1430
|
+
t.style = "unit", t.unit = wi(i.options[0]);
|
|
1431
1431
|
continue;
|
|
1432
1432
|
case "compact-short":
|
|
1433
1433
|
case "K":
|
|
@@ -1438,13 +1438,13 @@ function zi(e) {
|
|
|
1438
1438
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1439
1439
|
continue;
|
|
1440
1440
|
case "scientific":
|
|
1441
|
-
t =
|
|
1442
|
-
return
|
|
1441
|
+
t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1442
|
+
return w(w({}, l), Jt(u));
|
|
1443
1443
|
}, {}));
|
|
1444
1444
|
continue;
|
|
1445
1445
|
case "engineering":
|
|
1446
|
-
t =
|
|
1447
|
-
return
|
|
1446
|
+
t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1447
|
+
return w(w({}, l), Jt(u));
|
|
1448
1448
|
}, {}));
|
|
1449
1449
|
continue;
|
|
1450
1450
|
case "notation-simple":
|
|
@@ -1489,45 +1489,45 @@ function zi(e) {
|
|
|
1489
1489
|
case "integer-width":
|
|
1490
1490
|
if (i.options.length > 1)
|
|
1491
1491
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1492
|
-
i.options[0].replace(
|
|
1492
|
+
i.options[0].replace(xi, function(l, u, h, c, p, y) {
|
|
1493
1493
|
if (u)
|
|
1494
1494
|
t.minimumIntegerDigits = h.length;
|
|
1495
1495
|
else {
|
|
1496
|
-
if (c &&
|
|
1496
|
+
if (c && p)
|
|
1497
1497
|
throw new Error("We currently do not support maximum integer digits");
|
|
1498
|
-
if (
|
|
1498
|
+
if (y)
|
|
1499
1499
|
throw new Error("We currently do not support exact integer digits");
|
|
1500
1500
|
}
|
|
1501
1501
|
return "";
|
|
1502
1502
|
});
|
|
1503
1503
|
continue;
|
|
1504
1504
|
}
|
|
1505
|
-
if (
|
|
1505
|
+
if (Lr.test(i.stem)) {
|
|
1506
1506
|
t.minimumIntegerDigits = i.stem.length;
|
|
1507
1507
|
continue;
|
|
1508
1508
|
}
|
|
1509
|
-
if (
|
|
1509
|
+
if (Wt.test(i.stem)) {
|
|
1510
1510
|
if (i.options.length > 1)
|
|
1511
1511
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1512
|
-
i.stem.replace(
|
|
1513
|
-
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length :
|
|
1512
|
+
i.stem.replace(Wt, function(l, u, h, c, p, y) {
|
|
1513
|
+
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : p && y ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + y.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1514
1514
|
});
|
|
1515
1515
|
var s = i.options[0];
|
|
1516
|
-
s === "w" ? t =
|
|
1516
|
+
s === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = w(w({}, t), Zt(s)));
|
|
1517
1517
|
continue;
|
|
1518
1518
|
}
|
|
1519
|
-
if (
|
|
1520
|
-
t =
|
|
1519
|
+
if (Rr.test(i.stem)) {
|
|
1520
|
+
t = w(w({}, t), Zt(i.stem));
|
|
1521
1521
|
continue;
|
|
1522
1522
|
}
|
|
1523
|
-
var o =
|
|
1524
|
-
o && (t =
|
|
1525
|
-
var a =
|
|
1526
|
-
a && (t =
|
|
1523
|
+
var o = Nr(i.stem);
|
|
1524
|
+
o && (t = w(w({}, t), o));
|
|
1525
|
+
var a = Si(i.stem);
|
|
1526
|
+
a && (t = w(w({}, t), a));
|
|
1527
1527
|
}
|
|
1528
1528
|
return t;
|
|
1529
1529
|
}
|
|
1530
|
-
var
|
|
1530
|
+
var He = {
|
|
1531
1531
|
"001": [
|
|
1532
1532
|
"H",
|
|
1533
1533
|
"h"
|
|
@@ -2936,13 +2936,13 @@ var Oe = {
|
|
|
2936
2936
|
"h"
|
|
2937
2937
|
]
|
|
2938
2938
|
};
|
|
2939
|
-
function
|
|
2939
|
+
function Hi(e, t) {
|
|
2940
2940
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2941
2941
|
var i = e.charAt(n);
|
|
2942
2942
|
if (i === "j") {
|
|
2943
2943
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2944
2944
|
s++, n++;
|
|
2945
|
-
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u =
|
|
2945
|
+
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Bi(t);
|
|
2946
2946
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2947
2947
|
r += l;
|
|
2948
2948
|
for (; o-- > 0; )
|
|
@@ -2951,7 +2951,7 @@ function Wi(e, t) {
|
|
|
2951
2951
|
}
|
|
2952
2952
|
return r;
|
|
2953
2953
|
}
|
|
2954
|
-
function
|
|
2954
|
+
function Bi(e) {
|
|
2955
2955
|
var t = e.hourCycle;
|
|
2956
2956
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2957
2957
|
e.hourCycles && // @ts-ignore
|
|
@@ -2970,23 +2970,23 @@ function Zi(e) {
|
|
|
2970
2970
|
}
|
|
2971
2971
|
var r = e.language, n;
|
|
2972
2972
|
r !== "root" && (n = e.maximize().region);
|
|
2973
|
-
var i =
|
|
2973
|
+
var i = He[n || ""] || He[r || ""] || He["".concat(r, "-001")] || He["001"];
|
|
2974
2974
|
return i[0];
|
|
2975
2975
|
}
|
|
2976
|
-
var
|
|
2977
|
-
function
|
|
2976
|
+
var We, Ai = new RegExp("^".concat(Ir.source, "*")), Pi = new RegExp("".concat(Ir.source, "*$"));
|
|
2977
|
+
function _(e, t) {
|
|
2978
2978
|
return { start: e, end: t };
|
|
2979
2979
|
}
|
|
2980
|
-
var
|
|
2980
|
+
var Oi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ci = !!String.fromCodePoint, Ii = !!Object.fromEntries, Ri = !!String.prototype.codePointAt, Li = !!String.prototype.trimStart, Ni = !!String.prototype.trimEnd, Mi = !!Number.isSafeInteger, Di = Mi ? Number.isSafeInteger : function(e) {
|
|
2981
2981
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2982
|
-
},
|
|
2982
|
+
}, ot = !0;
|
|
2983
2983
|
try {
|
|
2984
|
-
var
|
|
2985
|
-
|
|
2984
|
+
var Fi = Dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2985
|
+
ot = ((We = Fi.exec("a")) === null || We === void 0 ? void 0 : We[0]) === "a";
|
|
2986
2986
|
} catch (e) {
|
|
2987
|
-
|
|
2987
|
+
ot = !1;
|
|
2988
2988
|
}
|
|
2989
|
-
var
|
|
2989
|
+
var qt = Oi ? (
|
|
2990
2990
|
// Native
|
|
2991
2991
|
function(t, r, n) {
|
|
2992
2992
|
return t.startsWith(r, n);
|
|
@@ -2996,7 +2996,7 @@ var br = Ji ? (
|
|
|
2996
2996
|
function(t, r, n) {
|
|
2997
2997
|
return t.slice(n, n + r.length) === r;
|
|
2998
2998
|
}
|
|
2999
|
-
),
|
|
2999
|
+
), at = Ci ? String.fromCodePoint : (
|
|
3000
3000
|
// IE11
|
|
3001
3001
|
function() {
|
|
3002
3002
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3008,9 +3008,9 @@ var br = Ji ? (
|
|
|
3008
3008
|
}
|
|
3009
3009
|
return n;
|
|
3010
3010
|
}
|
|
3011
|
-
),
|
|
3011
|
+
), Qt = (
|
|
3012
3012
|
// native
|
|
3013
|
-
|
|
3013
|
+
Ii ? Object.fromEntries : (
|
|
3014
3014
|
// Ponyfill
|
|
3015
3015
|
function(t) {
|
|
3016
3016
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3020,7 +3020,7 @@ var br = Ji ? (
|
|
|
3020
3020
|
return r;
|
|
3021
3021
|
}
|
|
3022
3022
|
)
|
|
3023
|
-
),
|
|
3023
|
+
), Mr = Ri ? (
|
|
3024
3024
|
// Native
|
|
3025
3025
|
function(t, r) {
|
|
3026
3026
|
return t.codePointAt(r);
|
|
@@ -3034,7 +3034,7 @@ var br = Ji ? (
|
|
|
3034
3034
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
3035
3035
|
}
|
|
3036
3036
|
}
|
|
3037
|
-
),
|
|
3037
|
+
), Ui = Li ? (
|
|
3038
3038
|
// Native
|
|
3039
3039
|
function(t) {
|
|
3040
3040
|
return t.trimStart();
|
|
@@ -3042,9 +3042,9 @@ var br = Ji ? (
|
|
|
3042
3042
|
) : (
|
|
3043
3043
|
// Ponyfill
|
|
3044
3044
|
function(t) {
|
|
3045
|
-
return t.replace(
|
|
3045
|
+
return t.replace(Ai, "");
|
|
3046
3046
|
}
|
|
3047
|
-
),
|
|
3047
|
+
), Gi = Ni ? (
|
|
3048
3048
|
// Native
|
|
3049
3049
|
function(t) {
|
|
3050
3050
|
return t.trimEnd();
|
|
@@ -3052,32 +3052,32 @@ var br = Ji ? (
|
|
|
3052
3052
|
) : (
|
|
3053
3053
|
// Ponyfill
|
|
3054
3054
|
function(t) {
|
|
3055
|
-
return t.replace(
|
|
3055
|
+
return t.replace(Pi, "");
|
|
3056
3056
|
}
|
|
3057
3057
|
);
|
|
3058
|
-
function
|
|
3058
|
+
function Dr(e, t) {
|
|
3059
3059
|
return new RegExp(e, t);
|
|
3060
3060
|
}
|
|
3061
|
-
var
|
|
3062
|
-
if (
|
|
3063
|
-
var
|
|
3064
|
-
|
|
3061
|
+
var ut;
|
|
3062
|
+
if (ot) {
|
|
3063
|
+
var Yt = Dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3064
|
+
ut = function(t, r) {
|
|
3065
3065
|
var n;
|
|
3066
|
-
|
|
3067
|
-
var i =
|
|
3066
|
+
Yt.lastIndex = r;
|
|
3067
|
+
var i = Yt.exec(t);
|
|
3068
3068
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3069
3069
|
};
|
|
3070
3070
|
} else
|
|
3071
|
-
|
|
3071
|
+
ut = function(t, r) {
|
|
3072
3072
|
for (var n = []; ; ) {
|
|
3073
|
-
var i =
|
|
3074
|
-
if (i === void 0 ||
|
|
3073
|
+
var i = Mr(t, r);
|
|
3074
|
+
if (i === void 0 || Fr(i) || Vi(i))
|
|
3075
3075
|
break;
|
|
3076
3076
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3077
3077
|
}
|
|
3078
|
-
return
|
|
3078
|
+
return at.apply(void 0, n);
|
|
3079
3079
|
};
|
|
3080
|
-
var
|
|
3080
|
+
var ki = (
|
|
3081
3081
|
/** @class */
|
|
3082
3082
|
function() {
|
|
3083
3083
|
function e(t, r) {
|
|
@@ -3101,14 +3101,14 @@ var us = (
|
|
|
3101
3101
|
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3102
3102
|
var a = this.clonePosition();
|
|
3103
3103
|
this.bump(), i.push({
|
|
3104
|
-
type:
|
|
3105
|
-
location:
|
|
3104
|
+
type: H.pound,
|
|
3105
|
+
location: _(a, this.clonePosition())
|
|
3106
3106
|
});
|
|
3107
3107
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3108
3108
|
if (n)
|
|
3109
3109
|
break;
|
|
3110
|
-
return this.error(
|
|
3111
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
3110
|
+
return this.error(v.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
|
|
3111
|
+
} else if (s === 60 && !this.ignoreTag && lt(this.peek() || 0)) {
|
|
3112
3112
|
var o = this.parseTag(t, r);
|
|
3113
3113
|
if (o.err)
|
|
3114
3114
|
return o;
|
|
@@ -3129,9 +3129,9 @@ var us = (
|
|
|
3129
3129
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3130
3130
|
return {
|
|
3131
3131
|
val: {
|
|
3132
|
-
type:
|
|
3132
|
+
type: H.literal,
|
|
3133
3133
|
value: "<".concat(i, "/>"),
|
|
3134
|
-
location:
|
|
3134
|
+
location: _(n, this.clonePosition())
|
|
3135
3135
|
},
|
|
3136
3136
|
err: null
|
|
3137
3137
|
};
|
|
@@ -3141,25 +3141,25 @@ var us = (
|
|
|
3141
3141
|
return s;
|
|
3142
3142
|
var o = s.val, a = this.clonePosition();
|
|
3143
3143
|
if (this.bumpIf("</")) {
|
|
3144
|
-
if (this.isEOF() || !
|
|
3145
|
-
return this.error(
|
|
3144
|
+
if (this.isEOF() || !lt(this.char()))
|
|
3145
|
+
return this.error(v.INVALID_TAG, _(a, this.clonePosition()));
|
|
3146
3146
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3147
|
-
return i !== u ? this.error(
|
|
3147
|
+
return i !== u ? this.error(v.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3148
3148
|
val: {
|
|
3149
|
-
type:
|
|
3149
|
+
type: H.tag,
|
|
3150
3150
|
value: i,
|
|
3151
3151
|
children: o,
|
|
3152
|
-
location:
|
|
3152
|
+
location: _(n, this.clonePosition())
|
|
3153
3153
|
},
|
|
3154
3154
|
err: null
|
|
3155
|
-
} : this.error(
|
|
3155
|
+
} : this.error(v.INVALID_TAG, _(a, this.clonePosition())));
|
|
3156
3156
|
} else
|
|
3157
|
-
return this.error(
|
|
3157
|
+
return this.error(v.UNCLOSED_TAG, _(n, this.clonePosition()));
|
|
3158
3158
|
} else
|
|
3159
|
-
return this.error(
|
|
3159
|
+
return this.error(v.INVALID_TAG, _(n, this.clonePosition()));
|
|
3160
3160
|
}, e.prototype.parseTagName = function() {
|
|
3161
3161
|
var t = this.offset();
|
|
3162
|
-
for (this.bump(); !this.isEOF() &&
|
|
3162
|
+
for (this.bump(); !this.isEOF() && $i(this.char()); )
|
|
3163
3163
|
this.bump();
|
|
3164
3164
|
return this.message.slice(t, this.offset());
|
|
3165
3165
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3181,14 +3181,14 @@ var us = (
|
|
|
3181
3181
|
}
|
|
3182
3182
|
break;
|
|
3183
3183
|
}
|
|
3184
|
-
var l =
|
|
3184
|
+
var l = _(n, this.clonePosition());
|
|
3185
3185
|
return {
|
|
3186
|
-
val: { type:
|
|
3186
|
+
val: { type: H.literal, value: i, location: l },
|
|
3187
3187
|
err: null
|
|
3188
3188
|
};
|
|
3189
3189
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3190
3190
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3191
|
-
!
|
|
3191
|
+
!ji(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3192
3192
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3193
3193
|
if (this.isEOF() || this.char() !== 39)
|
|
3194
3194
|
return null;
|
|
@@ -3222,49 +3222,49 @@ var us = (
|
|
|
3222
3222
|
r.push(n);
|
|
3223
3223
|
this.bump();
|
|
3224
3224
|
}
|
|
3225
|
-
return
|
|
3225
|
+
return at.apply(void 0, r);
|
|
3226
3226
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3227
3227
|
if (this.isEOF())
|
|
3228
3228
|
return null;
|
|
3229
3229
|
var n = this.char();
|
|
3230
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3230
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), at(n));
|
|
3231
3231
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3232
3232
|
var n = this.clonePosition();
|
|
3233
3233
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3234
|
-
return this.error(
|
|
3234
|
+
return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
|
|
3235
3235
|
if (this.char() === 125)
|
|
3236
|
-
return this.bump(), this.error(
|
|
3236
|
+
return this.bump(), this.error(v.EMPTY_ARGUMENT, _(n, this.clonePosition()));
|
|
3237
3237
|
var i = this.parseIdentifierIfPossible().value;
|
|
3238
3238
|
if (!i)
|
|
3239
|
-
return this.error(
|
|
3239
|
+
return this.error(v.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
|
|
3240
3240
|
if (this.bumpSpace(), this.isEOF())
|
|
3241
|
-
return this.error(
|
|
3241
|
+
return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
|
|
3242
3242
|
switch (this.char()) {
|
|
3243
3243
|
case 125:
|
|
3244
3244
|
return this.bump(), {
|
|
3245
3245
|
val: {
|
|
3246
|
-
type:
|
|
3246
|
+
type: H.argument,
|
|
3247
3247
|
// value does not include the opening and closing braces.
|
|
3248
3248
|
value: i,
|
|
3249
|
-
location:
|
|
3249
|
+
location: _(n, this.clonePosition())
|
|
3250
3250
|
},
|
|
3251
3251
|
err: null
|
|
3252
3252
|
};
|
|
3253
3253
|
case 44:
|
|
3254
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
3254
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3255
3255
|
default:
|
|
3256
|
-
return this.error(
|
|
3256
|
+
return this.error(v.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
|
|
3257
3257
|
}
|
|
3258
3258
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3259
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3259
|
+
var t = this.clonePosition(), r = this.offset(), n = ut(this.message, r), i = r + n.length;
|
|
3260
3260
|
this.bumpTo(i);
|
|
3261
|
-
var s = this.clonePosition(), o =
|
|
3261
|
+
var s = this.clonePosition(), o = _(t, s);
|
|
3262
3262
|
return { value: n, location: o };
|
|
3263
3263
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3264
3264
|
var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
3265
3265
|
switch (a) {
|
|
3266
3266
|
case "":
|
|
3267
|
-
return this.error(
|
|
3267
|
+
return this.error(v.EXPECT_ARGUMENT_TYPE, _(o, l));
|
|
3268
3268
|
case "number":
|
|
3269
3269
|
case "date":
|
|
3270
3270
|
case "time": {
|
|
@@ -3275,46 +3275,46 @@ var us = (
|
|
|
3275
3275
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3276
3276
|
if (c.err)
|
|
3277
3277
|
return c;
|
|
3278
|
-
var
|
|
3279
|
-
if (
|
|
3280
|
-
return this.error(
|
|
3281
|
-
var
|
|
3282
|
-
u = { style:
|
|
3278
|
+
var p = Gi(c.val);
|
|
3279
|
+
if (p.length === 0)
|
|
3280
|
+
return this.error(v.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
3281
|
+
var y = _(h, this.clonePosition());
|
|
3282
|
+
u = { style: p, styleLocation: y };
|
|
3283
3283
|
}
|
|
3284
|
-
var
|
|
3285
|
-
if (
|
|
3286
|
-
return
|
|
3287
|
-
var
|
|
3288
|
-
if (u &&
|
|
3289
|
-
var
|
|
3284
|
+
var g = this.tryParseArgumentClose(i);
|
|
3285
|
+
if (g.err)
|
|
3286
|
+
return g;
|
|
3287
|
+
var d = _(i, this.clonePosition());
|
|
3288
|
+
if (u && qt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3289
|
+
var b = Ui(u.style.slice(2));
|
|
3290
3290
|
if (a === "number") {
|
|
3291
|
-
var c = this.parseNumberSkeletonFromString(
|
|
3291
|
+
var c = this.parseNumberSkeletonFromString(b, u.styleLocation);
|
|
3292
3292
|
return c.err ? c : {
|
|
3293
|
-
val: { type:
|
|
3293
|
+
val: { type: H.number, value: n, location: d, style: c.val },
|
|
3294
3294
|
err: null
|
|
3295
3295
|
};
|
|
3296
3296
|
} else {
|
|
3297
|
-
if (
|
|
3298
|
-
return this.error(
|
|
3299
|
-
var
|
|
3300
|
-
this.locale && (
|
|
3301
|
-
var
|
|
3302
|
-
type:
|
|
3303
|
-
pattern:
|
|
3297
|
+
if (b.length === 0)
|
|
3298
|
+
return this.error(v.EXPECT_DATE_TIME_SKELETON, d);
|
|
3299
|
+
var x = b;
|
|
3300
|
+
this.locale && (x = Hi(b, this.locale));
|
|
3301
|
+
var p = {
|
|
3302
|
+
type: ne.dateTime,
|
|
3303
|
+
pattern: x,
|
|
3304
3304
|
location: u.styleLocation,
|
|
3305
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3306
|
-
},
|
|
3305
|
+
parsedOptions: this.shouldParseSkeletons ? vi(x) : {}
|
|
3306
|
+
}, I = a === "date" ? H.date : H.time;
|
|
3307
3307
|
return {
|
|
3308
|
-
val: { type:
|
|
3308
|
+
val: { type: I, value: n, location: d, style: p },
|
|
3309
3309
|
err: null
|
|
3310
3310
|
};
|
|
3311
3311
|
}
|
|
3312
3312
|
}
|
|
3313
3313
|
return {
|
|
3314
3314
|
val: {
|
|
3315
|
-
type: a === "number" ?
|
|
3315
|
+
type: a === "number" ? H.number : a === "date" ? H.date : H.time,
|
|
3316
3316
|
value: n,
|
|
3317
|
-
location:
|
|
3317
|
+
location: d,
|
|
3318
3318
|
style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
|
|
3319
3319
|
},
|
|
3320
3320
|
err: null
|
|
@@ -3323,52 +3323,52 @@ var us = (
|
|
|
3323
3323
|
case "plural":
|
|
3324
3324
|
case "selectordinal":
|
|
3325
3325
|
case "select": {
|
|
3326
|
-
var
|
|
3326
|
+
var O = this.clonePosition();
|
|
3327
3327
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3328
|
-
return this.error(
|
|
3328
|
+
return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, _(O, w({}, O)));
|
|
3329
3329
|
this.bumpSpace();
|
|
3330
|
-
var D = this.parseIdentifierIfPossible(),
|
|
3330
|
+
var D = this.parseIdentifierIfPossible(), N = 0;
|
|
3331
3331
|
if (a !== "select" && D.value === "offset") {
|
|
3332
3332
|
if (!this.bumpIf(":"))
|
|
3333
|
-
return this.error(
|
|
3333
|
+
return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
|
|
3334
3334
|
this.bumpSpace();
|
|
3335
|
-
var c = this.tryParseDecimalInteger(
|
|
3335
|
+
var c = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3336
3336
|
if (c.err)
|
|
3337
3337
|
return c;
|
|
3338
|
-
this.bumpSpace(), D = this.parseIdentifierIfPossible(),
|
|
3338
|
+
this.bumpSpace(), D = this.parseIdentifierIfPossible(), N = c.val;
|
|
3339
3339
|
}
|
|
3340
|
-
var
|
|
3341
|
-
if (
|
|
3342
|
-
return
|
|
3343
|
-
var
|
|
3344
|
-
if (
|
|
3345
|
-
return
|
|
3346
|
-
var
|
|
3340
|
+
var R = this.tryParsePluralOrSelectOptions(t, a, r, D);
|
|
3341
|
+
if (R.err)
|
|
3342
|
+
return R;
|
|
3343
|
+
var g = this.tryParseArgumentClose(i);
|
|
3344
|
+
if (g.err)
|
|
3345
|
+
return g;
|
|
3346
|
+
var C = _(i, this.clonePosition());
|
|
3347
3347
|
return a === "select" ? {
|
|
3348
3348
|
val: {
|
|
3349
|
-
type:
|
|
3349
|
+
type: H.select,
|
|
3350
3350
|
value: n,
|
|
3351
|
-
options:
|
|
3352
|
-
location:
|
|
3351
|
+
options: Qt(R.val),
|
|
3352
|
+
location: C
|
|
3353
3353
|
},
|
|
3354
3354
|
err: null
|
|
3355
3355
|
} : {
|
|
3356
3356
|
val: {
|
|
3357
|
-
type:
|
|
3357
|
+
type: H.plural,
|
|
3358
3358
|
value: n,
|
|
3359
|
-
options:
|
|
3360
|
-
offset:
|
|
3359
|
+
options: Qt(R.val),
|
|
3360
|
+
offset: N,
|
|
3361
3361
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3362
|
-
location:
|
|
3362
|
+
location: C
|
|
3363
3363
|
},
|
|
3364
3364
|
err: null
|
|
3365
3365
|
};
|
|
3366
3366
|
}
|
|
3367
3367
|
default:
|
|
3368
|
-
return this.error(
|
|
3368
|
+
return this.error(v.INVALID_ARGUMENT_TYPE, _(o, l));
|
|
3369
3369
|
}
|
|
3370
3370
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3371
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
3371
|
+
return this.isEOF() || this.char() !== 125 ? this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3372
3372
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3373
3373
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3374
3374
|
var n = this.char();
|
|
@@ -3377,7 +3377,7 @@ var us = (
|
|
|
3377
3377
|
this.bump();
|
|
3378
3378
|
var i = this.clonePosition();
|
|
3379
3379
|
if (!this.bumpUntil("'"))
|
|
3380
|
-
return this.error(
|
|
3380
|
+
return this.error(v.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
|
|
3381
3381
|
this.bump();
|
|
3382
3382
|
break;
|
|
3383
3383
|
}
|
|
@@ -3407,16 +3407,16 @@ var us = (
|
|
|
3407
3407
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3408
3408
|
var n = [];
|
|
3409
3409
|
try {
|
|
3410
|
-
n =
|
|
3410
|
+
n = Ei(t);
|
|
3411
3411
|
} catch (i) {
|
|
3412
|
-
return this.error(
|
|
3412
|
+
return this.error(v.INVALID_NUMBER_SKELETON, r);
|
|
3413
3413
|
}
|
|
3414
3414
|
return {
|
|
3415
3415
|
val: {
|
|
3416
|
-
type:
|
|
3416
|
+
type: ne.number,
|
|
3417
3417
|
tokens: n,
|
|
3418
3418
|
location: r,
|
|
3419
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3419
|
+
parsedOptions: this.shouldParseSkeletons ? Ti(n) : {}
|
|
3420
3420
|
},
|
|
3421
3421
|
err: null
|
|
3422
3422
|
};
|
|
@@ -3425,34 +3425,34 @@ var us = (
|
|
|
3425
3425
|
if (u.length === 0) {
|
|
3426
3426
|
var c = this.clonePosition();
|
|
3427
3427
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3428
|
-
var
|
|
3429
|
-
if (
|
|
3430
|
-
return
|
|
3431
|
-
h =
|
|
3428
|
+
var p = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR, v.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3429
|
+
if (p.err)
|
|
3430
|
+
return p;
|
|
3431
|
+
h = _(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
|
|
3432
3432
|
} else
|
|
3433
3433
|
break;
|
|
3434
3434
|
}
|
|
3435
3435
|
if (l.has(u))
|
|
3436
|
-
return this.error(r === "select" ?
|
|
3436
|
+
return this.error(r === "select" ? v.DUPLICATE_SELECT_ARGUMENT_SELECTOR : v.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3437
3437
|
u === "other" && (o = !0), this.bumpSpace();
|
|
3438
|
-
var
|
|
3438
|
+
var y = this.clonePosition();
|
|
3439
3439
|
if (!this.bumpIf("{"))
|
|
3440
|
-
return this.error(r === "select" ?
|
|
3441
|
-
var
|
|
3442
|
-
if (b.err)
|
|
3443
|
-
return b;
|
|
3444
|
-
var g = this.tryParseArgumentClose(v);
|
|
3440
|
+
return this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : v.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
|
|
3441
|
+
var g = this.parseMessage(t + 1, r, n);
|
|
3445
3442
|
if (g.err)
|
|
3446
3443
|
return g;
|
|
3444
|
+
var d = this.tryParseArgumentClose(y);
|
|
3445
|
+
if (d.err)
|
|
3446
|
+
return d;
|
|
3447
3447
|
a.push([
|
|
3448
3448
|
u,
|
|
3449
3449
|
{
|
|
3450
|
-
value:
|
|
3451
|
-
location:
|
|
3450
|
+
value: g.val,
|
|
3451
|
+
location: _(y, this.clonePosition())
|
|
3452
3452
|
}
|
|
3453
3453
|
]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
|
|
3454
3454
|
}
|
|
3455
|
-
return a.length === 0 ? this.error(r === "select" ?
|
|
3455
|
+
return a.length === 0 ? this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR : v.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(v.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3456
3456
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3457
3457
|
var n = 1, i = this.clonePosition();
|
|
3458
3458
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3463,8 +3463,8 @@ var us = (
|
|
|
3463
3463
|
else
|
|
3464
3464
|
break;
|
|
3465
3465
|
}
|
|
3466
|
-
var l =
|
|
3467
|
-
return s ? (o *= n,
|
|
3466
|
+
var l = _(i, this.clonePosition());
|
|
3467
|
+
return s ? (o *= n, Di(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3468
3468
|
}, e.prototype.offset = function() {
|
|
3469
3469
|
return this.position.offset;
|
|
3470
3470
|
}, e.prototype.isEOF = function() {
|
|
@@ -3479,7 +3479,7 @@ var us = (
|
|
|
3479
3479
|
var t = this.position.offset;
|
|
3480
3480
|
if (t >= this.message.length)
|
|
3481
3481
|
throw Error("out of bound");
|
|
3482
|
-
var r =
|
|
3482
|
+
var r = Mr(this.message, t);
|
|
3483
3483
|
if (r === void 0)
|
|
3484
3484
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3485
3485
|
return r;
|
|
@@ -3498,7 +3498,7 @@ var us = (
|
|
|
3498
3498
|
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);
|
|
3499
3499
|
}
|
|
3500
3500
|
}, e.prototype.bumpIf = function(t) {
|
|
3501
|
-
if (
|
|
3501
|
+
if (qt(this.message, t, this.offset())) {
|
|
3502
3502
|
for (var r = 0; r < t.length; r++)
|
|
3503
3503
|
this.bump();
|
|
3504
3504
|
return !0;
|
|
@@ -3520,7 +3520,7 @@ var us = (
|
|
|
3520
3520
|
break;
|
|
3521
3521
|
}
|
|
3522
3522
|
}, e.prototype.bumpSpace = function() {
|
|
3523
|
-
for (; !this.isEOF() &&
|
|
3523
|
+
for (; !this.isEOF() && Fr(this.char()); )
|
|
3524
3524
|
this.bump();
|
|
3525
3525
|
}, e.prototype.peek = function() {
|
|
3526
3526
|
if (this.isEOF())
|
|
@@ -3530,96 +3530,96 @@ var us = (
|
|
|
3530
3530
|
}, e;
|
|
3531
3531
|
}()
|
|
3532
3532
|
);
|
|
3533
|
-
function
|
|
3533
|
+
function lt(e) {
|
|
3534
3534
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3535
3535
|
}
|
|
3536
|
-
function
|
|
3537
|
-
return
|
|
3536
|
+
function ji(e) {
|
|
3537
|
+
return lt(e) || e === 47;
|
|
3538
3538
|
}
|
|
3539
|
-
function
|
|
3539
|
+
function $i(e) {
|
|
3540
3540
|
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;
|
|
3541
3541
|
}
|
|
3542
|
-
function
|
|
3542
|
+
function Fr(e) {
|
|
3543
3543
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3544
3544
|
}
|
|
3545
|
-
function
|
|
3545
|
+
function Vi(e) {
|
|
3546
3546
|
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;
|
|
3547
3547
|
}
|
|
3548
|
-
function
|
|
3548
|
+
function ht(e) {
|
|
3549
3549
|
e.forEach(function(t) {
|
|
3550
|
-
if (delete t.location,
|
|
3550
|
+
if (delete t.location, Ar(t) || Pr(t))
|
|
3551
3551
|
for (var r in t.options)
|
|
3552
|
-
delete t.options[r].location,
|
|
3553
|
-
else
|
|
3552
|
+
delete t.options[r].location, ht(t.options[r].value);
|
|
3553
|
+
else Tr(t) && Cr(t.style) || (Hr(t) || Br(t)) && st(t.style) ? delete t.style.location : Or(t) && ht(t.children);
|
|
3554
3554
|
});
|
|
3555
3555
|
}
|
|
3556
|
-
function
|
|
3557
|
-
t === void 0 && (t = {}), t =
|
|
3558
|
-
var r = new
|
|
3556
|
+
function Xi(e, t) {
|
|
3557
|
+
t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3558
|
+
var r = new ki(e, t).parse();
|
|
3559
3559
|
if (r.err) {
|
|
3560
|
-
var n = SyntaxError(
|
|
3560
|
+
var n = SyntaxError(v[r.err.kind]);
|
|
3561
3561
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3562
3562
|
}
|
|
3563
|
-
return t != null && t.captureLocation ||
|
|
3563
|
+
return t != null && t.captureLocation || ht(r.val), r.val;
|
|
3564
3564
|
}
|
|
3565
|
-
function
|
|
3566
|
-
var r = t && t.cache ? t.cache :
|
|
3565
|
+
function Ze(e, t) {
|
|
3566
|
+
var r = t && t.cache ? t.cache : Qi, n = t && t.serializer ? t.serializer : qi, i = t && t.strategy ? t.strategy : Wi;
|
|
3567
3567
|
return i(e, {
|
|
3568
3568
|
cache: r,
|
|
3569
3569
|
serializer: n
|
|
3570
3570
|
});
|
|
3571
3571
|
}
|
|
3572
|
-
function
|
|
3572
|
+
function zi(e) {
|
|
3573
3573
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
3574
3574
|
}
|
|
3575
|
-
function
|
|
3576
|
-
var i =
|
|
3575
|
+
function Ur(e, t, r, n) {
|
|
3576
|
+
var i = zi(n) ? n : r(n), s = t.get(i);
|
|
3577
3577
|
return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
|
|
3578
3578
|
}
|
|
3579
|
-
function
|
|
3579
|
+
function Gr(e, t, r) {
|
|
3580
3580
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
3581
3581
|
return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
3582
3582
|
}
|
|
3583
|
-
function
|
|
3583
|
+
function pt(e, t, r, n, i) {
|
|
3584
3584
|
return r.bind(t, e, n, i);
|
|
3585
3585
|
}
|
|
3586
|
-
function
|
|
3587
|
-
var r = e.length === 1 ?
|
|
3588
|
-
return
|
|
3586
|
+
function Wi(e, t) {
|
|
3587
|
+
var r = e.length === 1 ? Ur : Gr;
|
|
3588
|
+
return pt(e, this, r, t.cache.create(), t.serializer);
|
|
3589
3589
|
}
|
|
3590
|
-
function
|
|
3591
|
-
return
|
|
3590
|
+
function Zi(e, t) {
|
|
3591
|
+
return pt(e, this, Gr, t.cache.create(), t.serializer);
|
|
3592
3592
|
}
|
|
3593
|
-
function
|
|
3594
|
-
return
|
|
3593
|
+
function Ji(e, t) {
|
|
3594
|
+
return pt(e, this, Ur, t.cache.create(), t.serializer);
|
|
3595
3595
|
}
|
|
3596
|
-
var
|
|
3596
|
+
var qi = function() {
|
|
3597
3597
|
return JSON.stringify(arguments);
|
|
3598
3598
|
};
|
|
3599
|
-
function
|
|
3599
|
+
function dt() {
|
|
3600
3600
|
this.cache = /* @__PURE__ */ Object.create(null);
|
|
3601
3601
|
}
|
|
3602
|
-
|
|
3602
|
+
dt.prototype.get = function(e) {
|
|
3603
3603
|
return this.cache[e];
|
|
3604
3604
|
};
|
|
3605
|
-
|
|
3605
|
+
dt.prototype.set = function(e, t) {
|
|
3606
3606
|
this.cache[e] = t;
|
|
3607
3607
|
};
|
|
3608
|
-
var
|
|
3608
|
+
var Qi = {
|
|
3609
3609
|
create: function() {
|
|
3610
|
-
return new
|
|
3610
|
+
return new dt();
|
|
3611
3611
|
}
|
|
3612
|
-
},
|
|
3613
|
-
variadic:
|
|
3614
|
-
monadic:
|
|
3615
|
-
},
|
|
3612
|
+
}, Je = {
|
|
3613
|
+
variadic: Zi,
|
|
3614
|
+
monadic: Ji
|
|
3615
|
+
}, ie;
|
|
3616
3616
|
(function(e) {
|
|
3617
3617
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3618
|
-
})(
|
|
3619
|
-
var
|
|
3618
|
+
})(ie || (ie = {}));
|
|
3619
|
+
var Me = (
|
|
3620
3620
|
/** @class */
|
|
3621
3621
|
function(e) {
|
|
3622
|
-
|
|
3622
|
+
X(t, e);
|
|
3623
3623
|
function t(r, n, i) {
|
|
3624
3624
|
var s = e.call(this, r) || this;
|
|
3625
3625
|
return s.code = n, s.originalMessage = i, s;
|
|
@@ -3628,155 +3628,155 @@ var Ge = (
|
|
|
3628
3628
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3629
3629
|
}, t;
|
|
3630
3630
|
}(Error)
|
|
3631
|
-
),
|
|
3631
|
+
), Kt = (
|
|
3632
3632
|
/** @class */
|
|
3633
3633
|
function(e) {
|
|
3634
|
-
|
|
3634
|
+
X(t, e);
|
|
3635
3635
|
function t(r, n, i, s) {
|
|
3636
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3636
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ie.INVALID_VALUE, s) || this;
|
|
3637
3637
|
}
|
|
3638
3638
|
return t;
|
|
3639
|
-
}(
|
|
3640
|
-
),
|
|
3639
|
+
}(Me)
|
|
3640
|
+
), Yi = (
|
|
3641
3641
|
/** @class */
|
|
3642
3642
|
function(e) {
|
|
3643
|
-
|
|
3643
|
+
X(t, e);
|
|
3644
3644
|
function t(r, n, i) {
|
|
3645
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3645
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ie.INVALID_VALUE, i) || this;
|
|
3646
3646
|
}
|
|
3647
3647
|
return t;
|
|
3648
|
-
}(
|
|
3649
|
-
),
|
|
3648
|
+
}(Me)
|
|
3649
|
+
), Ki = (
|
|
3650
3650
|
/** @class */
|
|
3651
3651
|
function(e) {
|
|
3652
|
-
|
|
3652
|
+
X(t, e);
|
|
3653
3653
|
function t(r, n) {
|
|
3654
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3654
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ie.MISSING_VALUE, n) || this;
|
|
3655
3655
|
}
|
|
3656
3656
|
return t;
|
|
3657
|
-
}(
|
|
3658
|
-
),
|
|
3657
|
+
}(Me)
|
|
3658
|
+
), L;
|
|
3659
3659
|
(function(e) {
|
|
3660
3660
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3661
|
-
})(
|
|
3662
|
-
function
|
|
3661
|
+
})(L || (L = {}));
|
|
3662
|
+
function es(e) {
|
|
3663
3663
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3664
3664
|
var n = t[t.length - 1];
|
|
3665
|
-
return !n || n.type !==
|
|
3665
|
+
return !n || n.type !== L.literal || r.type !== L.literal ? t.push(r) : n.value += r.value, t;
|
|
3666
3666
|
}, []);
|
|
3667
3667
|
}
|
|
3668
|
-
function
|
|
3668
|
+
function ts(e) {
|
|
3669
3669
|
return typeof e == "function";
|
|
3670
3670
|
}
|
|
3671
|
-
function
|
|
3672
|
-
if (e.length === 1 &&
|
|
3671
|
+
function Pe(e, t, r, n, i, s, o) {
|
|
3672
|
+
if (e.length === 1 && zt(e[0]))
|
|
3673
3673
|
return [
|
|
3674
3674
|
{
|
|
3675
|
-
type:
|
|
3675
|
+
type: L.literal,
|
|
3676
3676
|
value: e[0].value
|
|
3677
3677
|
}
|
|
3678
3678
|
];
|
|
3679
3679
|
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
|
3680
3680
|
var h = u[l];
|
|
3681
|
-
if (
|
|
3681
|
+
if (zt(h)) {
|
|
3682
3682
|
a.push({
|
|
3683
|
-
type:
|
|
3683
|
+
type: L.literal,
|
|
3684
3684
|
value: h.value
|
|
3685
3685
|
});
|
|
3686
3686
|
continue;
|
|
3687
3687
|
}
|
|
3688
|
-
if (
|
|
3688
|
+
if (bi(h)) {
|
|
3689
3689
|
typeof s == "number" && a.push({
|
|
3690
|
-
type:
|
|
3690
|
+
type: L.literal,
|
|
3691
3691
|
value: r.getNumberFormat(t).format(s)
|
|
3692
3692
|
});
|
|
3693
3693
|
continue;
|
|
3694
3694
|
}
|
|
3695
3695
|
var c = h.value;
|
|
3696
3696
|
if (!(i && c in i))
|
|
3697
|
-
throw new
|
|
3698
|
-
var
|
|
3699
|
-
if (
|
|
3700
|
-
(!
|
|
3701
|
-
type: typeof
|
|
3702
|
-
value:
|
|
3697
|
+
throw new Ki(c, o);
|
|
3698
|
+
var p = i[c];
|
|
3699
|
+
if (gi(h)) {
|
|
3700
|
+
(!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), a.push({
|
|
3701
|
+
type: typeof p == "string" ? L.literal : L.object,
|
|
3702
|
+
value: p
|
|
3703
3703
|
});
|
|
3704
3704
|
continue;
|
|
3705
3705
|
}
|
|
3706
|
-
if (
|
|
3707
|
-
var
|
|
3706
|
+
if (Hr(h)) {
|
|
3707
|
+
var y = typeof h.style == "string" ? n.date[h.style] : st(h.style) ? h.style.parsedOptions : void 0;
|
|
3708
3708
|
a.push({
|
|
3709
|
-
type:
|
|
3710
|
-
value: r.getDateTimeFormat(t,
|
|
3709
|
+
type: L.literal,
|
|
3710
|
+
value: r.getDateTimeFormat(t, y).format(p)
|
|
3711
3711
|
});
|
|
3712
3712
|
continue;
|
|
3713
3713
|
}
|
|
3714
|
-
if (
|
|
3715
|
-
var
|
|
3714
|
+
if (Br(h)) {
|
|
3715
|
+
var y = typeof h.style == "string" ? n.time[h.style] : st(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3716
3716
|
a.push({
|
|
3717
|
-
type:
|
|
3718
|
-
value: r.getDateTimeFormat(t,
|
|
3717
|
+
type: L.literal,
|
|
3718
|
+
value: r.getDateTimeFormat(t, y).format(p)
|
|
3719
3719
|
});
|
|
3720
3720
|
continue;
|
|
3721
3721
|
}
|
|
3722
|
-
if (
|
|
3723
|
-
var
|
|
3724
|
-
|
|
3725
|
-
type:
|
|
3726
|
-
value: r.getNumberFormat(t,
|
|
3722
|
+
if (Tr(h)) {
|
|
3723
|
+
var y = typeof h.style == "string" ? n.number[h.style] : Cr(h.style) ? h.style.parsedOptions : void 0;
|
|
3724
|
+
y && y.scale && (p = p * (y.scale || 1)), a.push({
|
|
3725
|
+
type: L.literal,
|
|
3726
|
+
value: r.getNumberFormat(t, y).format(p)
|
|
3727
3727
|
});
|
|
3728
3728
|
continue;
|
|
3729
3729
|
}
|
|
3730
|
-
if (
|
|
3731
|
-
var
|
|
3732
|
-
if (!
|
|
3733
|
-
throw new
|
|
3734
|
-
var
|
|
3735
|
-
return
|
|
3730
|
+
if (Or(h)) {
|
|
3731
|
+
var g = h.children, d = h.value, b = i[d];
|
|
3732
|
+
if (!ts(b))
|
|
3733
|
+
throw new Yi(d, "function", o);
|
|
3734
|
+
var x = Pe(g, t, r, n, i, s), I = b(x.map(function(N) {
|
|
3735
|
+
return N.value;
|
|
3736
3736
|
}));
|
|
3737
|
-
Array.isArray(
|
|
3737
|
+
Array.isArray(I) || (I = [I]), a.push.apply(a, I.map(function(N) {
|
|
3738
3738
|
return {
|
|
3739
|
-
type: typeof
|
|
3740
|
-
value:
|
|
3739
|
+
type: typeof N == "string" ? L.literal : L.object,
|
|
3740
|
+
value: N
|
|
3741
3741
|
};
|
|
3742
3742
|
}));
|
|
3743
3743
|
}
|
|
3744
|
-
if (
|
|
3745
|
-
var
|
|
3746
|
-
if (!
|
|
3747
|
-
throw new
|
|
3748
|
-
a.push.apply(a,
|
|
3744
|
+
if (Ar(h)) {
|
|
3745
|
+
var O = h.options[p] || h.options.other;
|
|
3746
|
+
if (!O)
|
|
3747
|
+
throw new Kt(h.value, p, Object.keys(h.options), o);
|
|
3748
|
+
a.push.apply(a, Pe(O.value, t, r, n, i));
|
|
3749
3749
|
continue;
|
|
3750
3750
|
}
|
|
3751
|
-
if (
|
|
3752
|
-
var
|
|
3753
|
-
if (!
|
|
3751
|
+
if (Pr(h)) {
|
|
3752
|
+
var O = h.options["=".concat(p)];
|
|
3753
|
+
if (!O) {
|
|
3754
3754
|
if (!Intl.PluralRules)
|
|
3755
|
-
throw new
|
|
3755
|
+
throw new Me(`Intl.PluralRules is not available in this environment.
|
|
3756
3756
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3757
|
-
`,
|
|
3758
|
-
var D = r.getPluralRules(t, { type: h.pluralType }).select(
|
|
3759
|
-
|
|
3757
|
+
`, ie.MISSING_INTL_API, o);
|
|
3758
|
+
var D = r.getPluralRules(t, { type: h.pluralType }).select(p - (h.offset || 0));
|
|
3759
|
+
O = h.options[D] || h.options.other;
|
|
3760
3760
|
}
|
|
3761
|
-
if (!
|
|
3762
|
-
throw new
|
|
3763
|
-
a.push.apply(a,
|
|
3761
|
+
if (!O)
|
|
3762
|
+
throw new Kt(h.value, p, Object.keys(h.options), o);
|
|
3763
|
+
a.push.apply(a, Pe(O.value, t, r, n, i, p - (h.offset || 0)));
|
|
3764
3764
|
continue;
|
|
3765
3765
|
}
|
|
3766
3766
|
}
|
|
3767
|
-
return
|
|
3767
|
+
return es(a);
|
|
3768
3768
|
}
|
|
3769
|
-
function
|
|
3770
|
-
return t ?
|
|
3771
|
-
return r[n] =
|
|
3769
|
+
function rs(e, t) {
|
|
3770
|
+
return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3771
|
+
return r[n] = w(w({}, e[n]), t[n] || {}), r;
|
|
3772
3772
|
}, {})) : e;
|
|
3773
3773
|
}
|
|
3774
|
-
function
|
|
3774
|
+
function ns(e, t) {
|
|
3775
3775
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3776
|
-
return r[n] =
|
|
3777
|
-
},
|
|
3776
|
+
return r[n] = rs(e[n], t[n]), r;
|
|
3777
|
+
}, w({}, e)) : e;
|
|
3778
3778
|
}
|
|
3779
|
-
function
|
|
3779
|
+
function qe(e) {
|
|
3780
3780
|
return {
|
|
3781
3781
|
create: function() {
|
|
3782
3782
|
return {
|
|
@@ -3790,39 +3790,39 @@ function et(e) {
|
|
|
3790
3790
|
}
|
|
3791
3791
|
};
|
|
3792
3792
|
}
|
|
3793
|
-
function
|
|
3793
|
+
function is(e) {
|
|
3794
3794
|
return e === void 0 && (e = {
|
|
3795
3795
|
number: {},
|
|
3796
3796
|
dateTime: {},
|
|
3797
3797
|
pluralRules: {}
|
|
3798
3798
|
}), {
|
|
3799
|
-
getNumberFormat:
|
|
3799
|
+
getNumberFormat: Ze(function() {
|
|
3800
3800
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3801
3801
|
r[n] = arguments[n];
|
|
3802
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3802
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, te([void 0], r, !1)))();
|
|
3803
3803
|
}, {
|
|
3804
|
-
cache:
|
|
3805
|
-
strategy:
|
|
3804
|
+
cache: qe(e.number),
|
|
3805
|
+
strategy: Je.variadic
|
|
3806
3806
|
}),
|
|
3807
|
-
getDateTimeFormat:
|
|
3807
|
+
getDateTimeFormat: Ze(function() {
|
|
3808
3808
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3809
3809
|
r[n] = arguments[n];
|
|
3810
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3810
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, te([void 0], r, !1)))();
|
|
3811
3811
|
}, {
|
|
3812
|
-
cache:
|
|
3813
|
-
strategy:
|
|
3812
|
+
cache: qe(e.dateTime),
|
|
3813
|
+
strategy: Je.variadic
|
|
3814
3814
|
}),
|
|
3815
|
-
getPluralRules:
|
|
3815
|
+
getPluralRules: Ze(function() {
|
|
3816
3816
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3817
3817
|
r[n] = arguments[n];
|
|
3818
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3818
|
+
return new ((t = Intl.PluralRules).bind.apply(t, te([void 0], r, !1)))();
|
|
3819
3819
|
}, {
|
|
3820
|
-
cache:
|
|
3821
|
-
strategy:
|
|
3820
|
+
cache: qe(e.pluralRules),
|
|
3821
|
+
strategy: Je.variadic
|
|
3822
3822
|
})
|
|
3823
3823
|
};
|
|
3824
3824
|
}
|
|
3825
|
-
var
|
|
3825
|
+
var ss = (
|
|
3826
3826
|
/** @class */
|
|
3827
3827
|
function() {
|
|
3828
3828
|
function e(t, r, n, i) {
|
|
@@ -3835,12 +3835,12 @@ var Hs = (
|
|
|
3835
3835
|
var u = s.formatToParts(l);
|
|
3836
3836
|
if (u.length === 1)
|
|
3837
3837
|
return u[0].value;
|
|
3838
|
-
var h = u.reduce(function(c,
|
|
3839
|
-
return !c.length ||
|
|
3838
|
+
var h = u.reduce(function(c, p) {
|
|
3839
|
+
return !c.length || p.type !== L.literal || typeof c[c.length - 1] != "string" ? c.push(p.value) : c[c.length - 1] += p.value, c;
|
|
3840
3840
|
}, []);
|
|
3841
3841
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3842
3842
|
}, this.formatToParts = function(l) {
|
|
3843
|
-
return
|
|
3843
|
+
return Pe(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
|
|
3844
3844
|
}, this.resolvedOptions = function() {
|
|
3845
3845
|
var l;
|
|
3846
3846
|
return {
|
|
@@ -3853,13 +3853,13 @@ var Hs = (
|
|
|
3853
3853
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3854
3854
|
var o = i || {};
|
|
3855
3855
|
o.formatters;
|
|
3856
|
-
var a =
|
|
3857
|
-
this.ast = e.__parse(t,
|
|
3856
|
+
var a = Un(o, ["formatters"]);
|
|
3857
|
+
this.ast = e.__parse(t, w(w({}, a), { locale: this.resolvedLocale }));
|
|
3858
3858
|
} else
|
|
3859
3859
|
this.ast = t;
|
|
3860
3860
|
if (!Array.isArray(this.ast))
|
|
3861
3861
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3862
|
-
this.formats =
|
|
3862
|
+
this.formats = ns(e.formats, n), this.formatters = i && i.formatters || is(this.formatterCache);
|
|
3863
3863
|
}
|
|
3864
3864
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3865
3865
|
get: function() {
|
|
@@ -3872,7 +3872,7 @@ var Hs = (
|
|
|
3872
3872
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3873
3873
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3874
3874
|
}
|
|
3875
|
-
}, e.__parse =
|
|
3875
|
+
}, e.__parse = Xi, e.formats = {
|
|
3876
3876
|
number: {
|
|
3877
3877
|
integer: {
|
|
3878
3878
|
maximumFractionDigits: 0
|
|
@@ -3933,7 +3933,7 @@ var Hs = (
|
|
|
3933
3933
|
}, e;
|
|
3934
3934
|
}()
|
|
3935
3935
|
);
|
|
3936
|
-
function
|
|
3936
|
+
function os(e, t) {
|
|
3937
3937
|
if (t == null)
|
|
3938
3938
|
return;
|
|
3939
3939
|
if (t in e)
|
|
@@ -3954,92 +3954,92 @@ function Bs(e, t) {
|
|
|
3954
3954
|
n = void 0;
|
|
3955
3955
|
return n;
|
|
3956
3956
|
}
|
|
3957
|
-
const
|
|
3957
|
+
const W = {}, as = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][e] = r), r), kr = (e, t) => {
|
|
3958
3958
|
if (t == null)
|
|
3959
3959
|
return;
|
|
3960
|
-
if (t in
|
|
3961
|
-
return
|
|
3962
|
-
const r =
|
|
3960
|
+
if (t in W && e in W[t])
|
|
3961
|
+
return W[t][e];
|
|
3962
|
+
const r = De(t);
|
|
3963
3963
|
for (let n = 0; n < r.length; n++) {
|
|
3964
|
-
const i = r[n], s =
|
|
3964
|
+
const i = r[n], s = ls(i, e);
|
|
3965
3965
|
if (s)
|
|
3966
|
-
return
|
|
3966
|
+
return as(e, t, s);
|
|
3967
3967
|
}
|
|
3968
3968
|
};
|
|
3969
|
-
let
|
|
3970
|
-
const
|
|
3971
|
-
function
|
|
3972
|
-
return
|
|
3969
|
+
let gt;
|
|
3970
|
+
const ae = Ne({});
|
|
3971
|
+
function us(e) {
|
|
3972
|
+
return gt[e] || null;
|
|
3973
3973
|
}
|
|
3974
|
-
function
|
|
3975
|
-
return e in
|
|
3974
|
+
function jr(e) {
|
|
3975
|
+
return e in gt;
|
|
3976
3976
|
}
|
|
3977
|
-
function
|
|
3978
|
-
if (!
|
|
3977
|
+
function ls(e, t) {
|
|
3978
|
+
if (!jr(e))
|
|
3979
3979
|
return null;
|
|
3980
|
-
const r =
|
|
3981
|
-
return
|
|
3980
|
+
const r = us(e);
|
|
3981
|
+
return os(r, t);
|
|
3982
3982
|
}
|
|
3983
|
-
function
|
|
3983
|
+
function hs(e) {
|
|
3984
3984
|
if (e == null)
|
|
3985
3985
|
return;
|
|
3986
|
-
const t =
|
|
3986
|
+
const t = De(e);
|
|
3987
3987
|
for (let r = 0; r < t.length; r++) {
|
|
3988
3988
|
const n = t[r];
|
|
3989
|
-
if (
|
|
3989
|
+
if (jr(n))
|
|
3990
3990
|
return n;
|
|
3991
3991
|
}
|
|
3992
3992
|
}
|
|
3993
|
-
function
|
|
3994
|
-
delete
|
|
3993
|
+
function $r(e, ...t) {
|
|
3994
|
+
delete W[e], ae.update((r) => (r[e] = di.all([r[e] || {}, ...t]), r));
|
|
3995
3995
|
}
|
|
3996
|
-
|
|
3997
|
-
[
|
|
3996
|
+
oe(
|
|
3997
|
+
[ae],
|
|
3998
3998
|
([e]) => Object.keys(e)
|
|
3999
3999
|
);
|
|
4000
|
-
|
|
4001
|
-
const
|
|
4002
|
-
function
|
|
4003
|
-
|
|
4000
|
+
ae.subscribe((e) => gt = e);
|
|
4001
|
+
const Oe = {};
|
|
4002
|
+
function fs(e, t) {
|
|
4003
|
+
Oe[e].delete(t), Oe[e].size === 0 && delete Oe[e];
|
|
4004
4004
|
}
|
|
4005
|
-
function
|
|
4006
|
-
return
|
|
4005
|
+
function Vr(e) {
|
|
4006
|
+
return Oe[e];
|
|
4007
4007
|
}
|
|
4008
|
-
function
|
|
4009
|
-
return
|
|
4010
|
-
const r =
|
|
4008
|
+
function cs(e) {
|
|
4009
|
+
return De(e).map((t) => {
|
|
4010
|
+
const r = Vr(t);
|
|
4011
4011
|
return [t, r ? [...r] : []];
|
|
4012
4012
|
}).filter(([, t]) => t.length > 0);
|
|
4013
4013
|
}
|
|
4014
|
-
function
|
|
4015
|
-
return e == null ? !1 :
|
|
4014
|
+
function ft(e) {
|
|
4015
|
+
return e == null ? !1 : De(e).some(
|
|
4016
4016
|
(t) => {
|
|
4017
4017
|
var r;
|
|
4018
|
-
return (r =
|
|
4018
|
+
return (r = Vr(t)) == null ? void 0 : r.size;
|
|
4019
4019
|
}
|
|
4020
4020
|
);
|
|
4021
4021
|
}
|
|
4022
|
-
function
|
|
4022
|
+
function ms(e, t) {
|
|
4023
4023
|
return Promise.all(
|
|
4024
|
-
t.map((n) => (
|
|
4025
|
-
).then((n) =>
|
|
4026
|
-
}
|
|
4027
|
-
const
|
|
4028
|
-
function
|
|
4029
|
-
if (!
|
|
4030
|
-
return e in
|
|
4031
|
-
const t =
|
|
4032
|
-
return
|
|
4024
|
+
t.map((n) => (fs(e, n), n().then((i) => i.default || i)))
|
|
4025
|
+
).then((n) => $r(e, ...n));
|
|
4026
|
+
}
|
|
4027
|
+
const fe = {};
|
|
4028
|
+
function Xr(e) {
|
|
4029
|
+
if (!ft(e))
|
|
4030
|
+
return e in fe ? fe[e] : Promise.resolve();
|
|
4031
|
+
const t = cs(e);
|
|
4032
|
+
return fe[e] = Promise.all(
|
|
4033
4033
|
t.map(
|
|
4034
|
-
([r, n]) =>
|
|
4034
|
+
([r, n]) => ms(r, n)
|
|
4035
4035
|
)
|
|
4036
4036
|
).then(() => {
|
|
4037
|
-
if (
|
|
4038
|
-
return
|
|
4039
|
-
delete
|
|
4040
|
-
}),
|
|
4037
|
+
if (ft(e))
|
|
4038
|
+
return Xr(e);
|
|
4039
|
+
delete fe[e];
|
|
4040
|
+
}), fe[e];
|
|
4041
4041
|
}
|
|
4042
|
-
const
|
|
4042
|
+
const ps = {
|
|
4043
4043
|
number: {
|
|
4044
4044
|
scientific: { notation: "scientific" },
|
|
4045
4045
|
engineering: { notation: "engineering" },
|
|
@@ -4068,150 +4068,150 @@ const Ns = {
|
|
|
4068
4068
|
timeZoneName: "short"
|
|
4069
4069
|
}
|
|
4070
4070
|
}
|
|
4071
|
-
},
|
|
4071
|
+
}, ds = {
|
|
4072
4072
|
fallbackLocale: null,
|
|
4073
4073
|
loadingDelay: 200,
|
|
4074
|
-
formats:
|
|
4074
|
+
formats: ps,
|
|
4075
4075
|
warnOnMissingMessages: !0,
|
|
4076
4076
|
handleMissingMessage: void 0,
|
|
4077
4077
|
ignoreTag: !0
|
|
4078
|
-
},
|
|
4079
|
-
function
|
|
4080
|
-
return
|
|
4078
|
+
}, gs = ds;
|
|
4079
|
+
function se() {
|
|
4080
|
+
return gs;
|
|
4081
4081
|
}
|
|
4082
|
-
const
|
|
4083
|
-
var
|
|
4082
|
+
const Qe = Ne(!1);
|
|
4083
|
+
var bs = Object.defineProperty, ys = Object.defineProperties, vs = Object.getOwnPropertyDescriptors, er = Object.getOwnPropertySymbols, _s = Object.prototype.hasOwnProperty, Es = Object.prototype.propertyIsEnumerable, tr = (e, t, r) => t in e ? bs(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ws = (e, t) => {
|
|
4084
4084
|
for (var r in t || (t = {}))
|
|
4085
|
-
|
|
4086
|
-
if (
|
|
4087
|
-
for (var r of
|
|
4088
|
-
|
|
4085
|
+
_s.call(t, r) && tr(e, r, t[r]);
|
|
4086
|
+
if (er)
|
|
4087
|
+
for (var r of er(t))
|
|
4088
|
+
Es.call(t, r) && tr(e, r, t[r]);
|
|
4089
4089
|
return e;
|
|
4090
|
-
},
|
|
4091
|
-
let
|
|
4092
|
-
const
|
|
4093
|
-
function
|
|
4090
|
+
}, xs = (e, t) => ys(e, vs(t));
|
|
4091
|
+
let ct;
|
|
4092
|
+
const Ie = Ne(null);
|
|
4093
|
+
function rr(e) {
|
|
4094
4094
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4095
4095
|
}
|
|
4096
|
-
function
|
|
4097
|
-
const r =
|
|
4098
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4096
|
+
function De(e, t = se().fallbackLocale) {
|
|
4097
|
+
const r = rr(e);
|
|
4098
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...rr(t)])] : r;
|
|
4099
4099
|
}
|
|
4100
|
-
function
|
|
4101
|
-
return
|
|
4100
|
+
function J() {
|
|
4101
|
+
return ct != null ? ct : void 0;
|
|
4102
4102
|
}
|
|
4103
|
-
|
|
4104
|
-
|
|
4103
|
+
Ie.subscribe((e) => {
|
|
4104
|
+
ct = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4105
4105
|
});
|
|
4106
|
-
const
|
|
4107
|
-
if (e &&
|
|
4108
|
-
const { loadingDelay: t } =
|
|
4106
|
+
const Ss = (e) => {
|
|
4107
|
+
if (e && hs(e) && ft(e)) {
|
|
4108
|
+
const { loadingDelay: t } = se();
|
|
4109
4109
|
let r;
|
|
4110
|
-
return typeof window != "undefined" &&
|
|
4111
|
-
() =>
|
|
4110
|
+
return typeof window != "undefined" && J() != null && t ? r = window.setTimeout(
|
|
4111
|
+
() => Qe.set(!0),
|
|
4112
4112
|
t
|
|
4113
|
-
) :
|
|
4114
|
-
|
|
4113
|
+
) : Qe.set(!0), Xr(e).then(() => {
|
|
4114
|
+
Ie.set(e);
|
|
4115
4115
|
}).finally(() => {
|
|
4116
|
-
clearTimeout(r),
|
|
4116
|
+
clearTimeout(r), Qe.set(!1);
|
|
4117
4117
|
});
|
|
4118
4118
|
}
|
|
4119
|
-
return
|
|
4120
|
-
},
|
|
4121
|
-
set:
|
|
4122
|
-
}),
|
|
4119
|
+
return Ie.set(e);
|
|
4120
|
+
}, Z = xs(ws({}, Ie), {
|
|
4121
|
+
set: Ss
|
|
4122
|
+
}), Fe = (e) => {
|
|
4123
4123
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4124
4124
|
return (n) => {
|
|
4125
4125
|
const i = JSON.stringify(n);
|
|
4126
4126
|
return i in t ? t[i] : t[i] = e(n);
|
|
4127
4127
|
};
|
|
4128
4128
|
};
|
|
4129
|
-
var
|
|
4129
|
+
var Ts = Object.defineProperty, Re = Object.getOwnPropertySymbols, zr = Object.prototype.hasOwnProperty, Wr = Object.prototype.propertyIsEnumerable, nr = (e, t, r) => t in e ? Ts(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, bt = (e, t) => {
|
|
4130
4130
|
for (var r in t || (t = {}))
|
|
4131
|
-
|
|
4132
|
-
if (
|
|
4133
|
-
for (var r of
|
|
4134
|
-
|
|
4131
|
+
zr.call(t, r) && nr(e, r, t[r]);
|
|
4132
|
+
if (Re)
|
|
4133
|
+
for (var r of Re(t))
|
|
4134
|
+
Wr.call(t, r) && nr(e, r, t[r]);
|
|
4135
4135
|
return e;
|
|
4136
|
-
},
|
|
4136
|
+
}, ue = (e, t) => {
|
|
4137
4137
|
var r = {};
|
|
4138
4138
|
for (var n in e)
|
|
4139
|
-
|
|
4140
|
-
if (e != null &&
|
|
4141
|
-
for (var n of
|
|
4142
|
-
t.indexOf(n) < 0 &&
|
|
4139
|
+
zr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4140
|
+
if (e != null && Re)
|
|
4141
|
+
for (var n of Re(e))
|
|
4142
|
+
t.indexOf(n) < 0 && Wr.call(e, n) && (r[n] = e[n]);
|
|
4143
4143
|
return r;
|
|
4144
4144
|
};
|
|
4145
|
-
const
|
|
4146
|
-
const { formats: r } =
|
|
4145
|
+
const de = (e, t) => {
|
|
4146
|
+
const { formats: r } = se();
|
|
4147
4147
|
if (e in r && t in r[e])
|
|
4148
4148
|
return r[e][t];
|
|
4149
4149
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4150
|
-
},
|
|
4150
|
+
}, Hs = Fe(
|
|
4151
4151
|
(e) => {
|
|
4152
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4152
|
+
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4153
4153
|
if (r == null)
|
|
4154
4154
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4155
|
-
return n && (i =
|
|
4155
|
+
return n && (i = de("number", n)), new Intl.NumberFormat(r, i);
|
|
4156
4156
|
}
|
|
4157
|
-
),
|
|
4157
|
+
), Bs = Fe(
|
|
4158
4158
|
(e) => {
|
|
4159
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4159
|
+
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4160
4160
|
if (r == null)
|
|
4161
4161
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4162
|
-
return n ? i =
|
|
4162
|
+
return n ? i = de("date", n) : Object.keys(i).length === 0 && (i = de("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4163
4163
|
}
|
|
4164
|
-
),
|
|
4164
|
+
), As = Fe(
|
|
4165
4165
|
(e) => {
|
|
4166
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4166
|
+
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4167
4167
|
if (r == null)
|
|
4168
4168
|
throw new Error(
|
|
4169
4169
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4170
4170
|
);
|
|
4171
|
-
return n ? i =
|
|
4171
|
+
return n ? i = de("time", n) : Object.keys(i).length === 0 && (i = de("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4172
4172
|
}
|
|
4173
|
-
),
|
|
4173
|
+
), Ps = (e = {}) => {
|
|
4174
4174
|
var t = e, {
|
|
4175
|
-
locale: r =
|
|
4176
|
-
} = t, n =
|
|
4175
|
+
locale: r = J()
|
|
4176
|
+
} = t, n = ue(t, [
|
|
4177
4177
|
"locale"
|
|
4178
4178
|
]);
|
|
4179
|
-
return
|
|
4180
|
-
},
|
|
4179
|
+
return Hs(bt({ locale: r }, n));
|
|
4180
|
+
}, Os = (e = {}) => {
|
|
4181
4181
|
var t = e, {
|
|
4182
|
-
locale: r =
|
|
4183
|
-
} = t, n =
|
|
4182
|
+
locale: r = J()
|
|
4183
|
+
} = t, n = ue(t, [
|
|
4184
4184
|
"locale"
|
|
4185
4185
|
]);
|
|
4186
|
-
return
|
|
4187
|
-
},
|
|
4186
|
+
return Bs(bt({ locale: r }, n));
|
|
4187
|
+
}, Cs = (e = {}) => {
|
|
4188
4188
|
var t = e, {
|
|
4189
|
-
locale: r =
|
|
4190
|
-
} = t, n =
|
|
4189
|
+
locale: r = J()
|
|
4190
|
+
} = t, n = ue(t, [
|
|
4191
4191
|
"locale"
|
|
4192
4192
|
]);
|
|
4193
|
-
return
|
|
4194
|
-
},
|
|
4193
|
+
return As(bt({ locale: r }, n));
|
|
4194
|
+
}, Is = Fe(
|
|
4195
4195
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4196
|
-
(e, t =
|
|
4197
|
-
ignoreTag:
|
|
4196
|
+
(e, t = J()) => new ss(e, t, se().formats, {
|
|
4197
|
+
ignoreTag: se().ignoreTag
|
|
4198
4198
|
})
|
|
4199
|
-
),
|
|
4199
|
+
), Rs = (e, t = {}) => {
|
|
4200
4200
|
var r, n, i, s;
|
|
4201
4201
|
let o = t;
|
|
4202
4202
|
typeof e == "object" && (o = e, e = o.id);
|
|
4203
4203
|
const {
|
|
4204
4204
|
values: a,
|
|
4205
|
-
locale: l =
|
|
4205
|
+
locale: l = J(),
|
|
4206
4206
|
default: u
|
|
4207
4207
|
} = o;
|
|
4208
4208
|
if (l == null)
|
|
4209
4209
|
throw new Error(
|
|
4210
4210
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4211
4211
|
);
|
|
4212
|
-
let h =
|
|
4212
|
+
let h = kr(e, l);
|
|
4213
4213
|
if (!h)
|
|
4214
|
-
h = (s = (i = (n = (r =
|
|
4214
|
+
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;
|
|
4215
4215
|
else if (typeof h != "string")
|
|
4216
4216
|
return console.warn(
|
|
4217
4217
|
`[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.`
|
|
@@ -4220,33 +4220,33 @@ const ye = (e, t) => {
|
|
|
4220
4220
|
return h;
|
|
4221
4221
|
let c = h;
|
|
4222
4222
|
try {
|
|
4223
|
-
c =
|
|
4224
|
-
} catch (
|
|
4225
|
-
|
|
4223
|
+
c = Is(h, l).format(a);
|
|
4224
|
+
} catch (p) {
|
|
4225
|
+
p instanceof Error && console.warn(
|
|
4226
4226
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
4227
|
-
|
|
4227
|
+
p.message
|
|
4228
4228
|
);
|
|
4229
4229
|
}
|
|
4230
4230
|
return c;
|
|
4231
|
-
},
|
|
4232
|
-
|
|
4233
|
-
|
|
4234
|
-
|
|
4235
|
-
|
|
4236
|
-
window.emWidgets = { topic:
|
|
4237
|
-
const
|
|
4238
|
-
function
|
|
4239
|
-
|
|
4240
|
-
r == null && (
|
|
4231
|
+
}, Ls = (e, t) => Cs(t).format(e), Ns = (e, t) => Os(t).format(e), Ms = (e, t) => Ps(t).format(e), Ds = (e, t = J()) => kr(e, t), Fs = oe([Z, ae], () => Rs);
|
|
4232
|
+
oe([Z], () => Ls);
|
|
4233
|
+
oe([Z], () => Ns);
|
|
4234
|
+
oe([Z], () => Ms);
|
|
4235
|
+
oe([Z, ae], () => Ds);
|
|
4236
|
+
window.emWidgets = { topic: Yn };
|
|
4237
|
+
const ir = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4238
|
+
function Us({ withLocale: e, translations: t }) {
|
|
4239
|
+
Z.subscribe((r) => {
|
|
4240
|
+
r == null && (ae.set(t), Z.set(e));
|
|
4241
4241
|
});
|
|
4242
4242
|
}
|
|
4243
|
-
function
|
|
4244
|
-
|
|
4243
|
+
function sr(e, t) {
|
|
4244
|
+
$r(e, t);
|
|
4245
4245
|
}
|
|
4246
|
-
function
|
|
4247
|
-
|
|
4246
|
+
function Gs(e) {
|
|
4247
|
+
Z.set(e);
|
|
4248
4248
|
}
|
|
4249
|
-
const
|
|
4249
|
+
const or = {
|
|
4250
4250
|
en: {
|
|
4251
4251
|
goToLoginButton: "Go To Login",
|
|
4252
4252
|
error: "We encountered an issue. Please go to Login to receive your SMS code."
|
|
@@ -4300,8 +4300,8 @@ if (typeof window != "undefined") {
|
|
|
4300
4300
|
}
|
|
4301
4301
|
};
|
|
4302
4302
|
};
|
|
4303
|
-
customElements.define = e(customElements.define), import("./
|
|
4304
|
-
!customElements.get("general-player-register-form-step1
|
|
4303
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep1-L3BD_D0v.js").then(({ default: t }) => {
|
|
4304
|
+
!customElements.get("general-player-register-form-step1") && customElements.define("general-player-register-form-step1", t.element);
|
|
4305
4305
|
});
|
|
4306
4306
|
}
|
|
4307
4307
|
if (typeof window != "undefined") {
|
|
@@ -4316,8 +4316,8 @@ if (typeof window != "undefined") {
|
|
|
4316
4316
|
}
|
|
4317
4317
|
};
|
|
4318
4318
|
};
|
|
4319
|
-
customElements.define = e(customElements.define), import("./
|
|
4320
|
-
!customElements.get("general-player-register-form-step2
|
|
4319
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep2-DGvrorth.js").then(({ default: t }) => {
|
|
4320
|
+
!customElements.get("general-player-register-form-step2") && customElements.define("general-player-register-form-step2", t.element);
|
|
4321
4321
|
});
|
|
4322
4322
|
}
|
|
4323
4323
|
if (typeof window != "undefined") {
|
|
@@ -4332,8 +4332,8 @@ if (typeof window != "undefined") {
|
|
|
4332
4332
|
}
|
|
4333
4333
|
};
|
|
4334
4334
|
};
|
|
4335
|
-
customElements.define = e(customElements.define), import("./
|
|
4336
|
-
!customElements.get("general-player-register-form-step3
|
|
4335
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep3-V9IQ4Eyt.js").then(({ default: t }) => {
|
|
4336
|
+
!customElements.get("general-player-register-form-step3") && customElements.define("general-player-register-form-step3", t.element);
|
|
4337
4337
|
});
|
|
4338
4338
|
}
|
|
4339
4339
|
if (typeof window != "undefined") {
|
|
@@ -4348,114 +4348,114 @@ if (typeof window != "undefined") {
|
|
|
4348
4348
|
}
|
|
4349
4349
|
};
|
|
4350
4350
|
};
|
|
4351
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-
|
|
4351
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-Ck5cTqVN.js").then(({ default: t }) => {
|
|
4352
4352
|
!customElements.get("general-player-sms-verification-form") && customElements.define("general-player-sms-verification-form", t.element);
|
|
4353
4353
|
});
|
|
4354
4354
|
}
|
|
4355
|
-
function
|
|
4356
|
-
|
|
4355
|
+
function ks(e) {
|
|
4356
|
+
bn(e, "svelte-1gmd2uc", ".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, 50px);color:var(--emfe-w-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, 50px);color:var(--emfe-w-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}");
|
|
4357
4357
|
}
|
|
4358
|
-
function
|
|
4358
|
+
function js(e) {
|
|
4359
4359
|
let t, r, n, i, s, o, a, l = (
|
|
4360
4360
|
/*showRegisterStepOne*/
|
|
4361
|
-
(e[
|
|
4362
|
-
e[
|
|
4363
|
-
e[
|
|
4361
|
+
(e[17] || /*showRegisterStepTwo*/
|
|
4362
|
+
e[18] || /*showRegisterStepThree*/
|
|
4363
|
+
e[19]) && ar(e)
|
|
4364
4364
|
), u = (
|
|
4365
4365
|
/*showRegisterStepOne*/
|
|
4366
|
-
e[
|
|
4366
|
+
e[17] && ur(e)
|
|
4367
4367
|
), h = (
|
|
4368
4368
|
/*showRegisterStepTwo*/
|
|
4369
|
-
e[
|
|
4369
|
+
e[18] && lr(e)
|
|
4370
4370
|
), c = (
|
|
4371
4371
|
/*showRegisterStepThree*/
|
|
4372
|
-
e[
|
|
4372
|
+
e[19] && hr(e)
|
|
4373
4373
|
);
|
|
4374
|
-
function
|
|
4374
|
+
function p(b, x) {
|
|
4375
4375
|
if (
|
|
4376
4376
|
/*smsverification*/
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
) return
|
|
4377
|
+
b[7] && /*showSmsVerification*/
|
|
4378
|
+
b[20]
|
|
4379
|
+
) return Vs;
|
|
4380
4380
|
if (
|
|
4381
4381
|
/*smsSendApiFailed*/
|
|
4382
|
-
|
|
4383
|
-
) return
|
|
4382
|
+
b[30]
|
|
4383
|
+
) return $s;
|
|
4384
4384
|
}
|
|
4385
|
-
let
|
|
4385
|
+
let y = p(e), g = y && y(e), d = (
|
|
4386
4386
|
/*showConfirmation*/
|
|
4387
|
-
e[
|
|
4387
|
+
e[21] && fr(e)
|
|
4388
4388
|
);
|
|
4389
4389
|
return {
|
|
4390
4390
|
c() {
|
|
4391
|
-
t =
|
|
4392
|
-
(e[
|
|
4391
|
+
t = B("div"), r = B("div"), l && l.c(), n = G(), u && u.c(), i = G(), h && h.c(), s = G(), c && c.c(), o = G(), g && g.c(), a = G(), d && d.c(), T(r, "class", "RegisterFormContainer " + /*isMobile*/
|
|
4392
|
+
(e[34] ? "RegisterFormContainerMobile" : "")), T(t, "class", "RegisterFormWrapper");
|
|
4393
4393
|
},
|
|
4394
|
-
m(
|
|
4395
|
-
|
|
4394
|
+
m(b, x) {
|
|
4395
|
+
U(b, t, x), 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);
|
|
4396
4396
|
},
|
|
4397
|
-
p(
|
|
4397
|
+
p(b, x) {
|
|
4398
4398
|
/*showRegisterStepOne*/
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
|
|
4399
|
+
b[17] || /*showRegisterStepTwo*/
|
|
4400
|
+
b[18] || /*showRegisterStepThree*/
|
|
4401
|
+
b[19] ? l ? l.p(b, x) : (l = ar(b), l.c(), l.m(r, n)) : l && (l.d(1), l = null), /*showRegisterStepOne*/
|
|
4402
|
+
b[17] ? u ? u.p(b, x) : (u = ur(b), u.c(), u.m(r, i)) : u && (u.d(1), u = null), /*showRegisterStepTwo*/
|
|
4403
|
+
b[18] ? h ? h.p(b, x) : (h = lr(b), h.c(), h.m(r, s)) : h && (h.d(1), h = null), /*showRegisterStepThree*/
|
|
4404
|
+
b[19] ? c ? c.p(b, x) : (c = hr(b), c.c(), c.m(r, o)) : c && (c.d(1), c = null), y === (y = p(b)) && g ? g.p(b, x) : (g && g.d(1), g = y && y(b), g && (g.c(), g.m(r, a))), /*showConfirmation*/
|
|
4405
|
+
b[21] ? d ? d.p(b, x) : (d = fr(b), d.c(), d.m(r, null)) : d && (d.d(1), d = null);
|
|
4406
4406
|
},
|
|
4407
|
-
d(
|
|
4408
|
-
|
|
4407
|
+
d(b) {
|
|
4408
|
+
b && M(t), l && l.d(), u && u.d(), h && h.d(), c && c.d(), g && g.d(), d && d.d();
|
|
4409
4409
|
}
|
|
4410
4410
|
};
|
|
4411
4411
|
}
|
|
4412
|
-
function
|
|
4412
|
+
function ar(e) {
|
|
4413
4413
|
let t, r, n, i, s, o, a, l, u;
|
|
4414
4414
|
return {
|
|
4415
4415
|
c() {
|
|
4416
|
-
t =
|
|
4416
|
+
t = B("div"), r = B("div"), i = G(), s = B("div"), a = G(), l = B("div"), T(r, "class", n = "RegisterFirstStepDash " + /*showRegisterStepOne*/
|
|
4417
|
+
(e[17] || !/*showRegisterStepOne*/
|
|
4418
|
+
e[17] && /*showRegisterStepTwo*/
|
|
4419
|
+
e[18] || !/*showRegisterStepOne*/
|
|
4420
|
+
e[17] && !/*showRegisterStepTwo*/
|
|
4421
|
+
e[18] && /*showRegisterStepThree*/
|
|
4422
|
+
e[19] ? "RegisterStepDashColor" : "")), T(s, "class", o = "RegisterSecondStepDash " + /*showRegisterStepTwo*/
|
|
4417
4423
|
(e[18] || !/*showRegisterStepOne*/
|
|
4418
|
-
e[
|
|
4419
|
-
e[
|
|
4420
|
-
e[
|
|
4421
|
-
e[19]
|
|
4422
|
-
e[20] ? "RegisterStepDashColor" : "")), B(s, "class", o = "RegisterSecondStepDash " + /*showRegisterStepTwo*/
|
|
4423
|
-
(e[19] || !/*showRegisterStepOne*/
|
|
4424
|
-
e[18] && !/*showRegisterStepTwo*/
|
|
4425
|
-
e[19] && /*showRegisterStepThree*/
|
|
4426
|
-
e[20] ? "RegisterStepDashColor" : "")), B(l, "class", u = "RegisterThirdStepDash " + /*showRegisterStepThree*/
|
|
4427
|
-
(e[20] ? "RegisterStepDashColor" : "")), B(t, "class", "RegisterSteps");
|
|
4424
|
+
e[17] && !/*showRegisterStepTwo*/
|
|
4425
|
+
e[18] && /*showRegisterStepThree*/
|
|
4426
|
+
e[19] ? "RegisterStepDashColor" : "")), T(l, "class", u = "RegisterThirdStepDash " + /*showRegisterStepThree*/
|
|
4427
|
+
(e[19] ? "RegisterStepDashColor" : "")), T(t, "class", "RegisterSteps");
|
|
4428
4428
|
},
|
|
4429
4429
|
m(h, c) {
|
|
4430
|
-
|
|
4430
|
+
U(h, t, c), E(t, r), E(t, i), E(t, s), E(t, a), E(t, l), e[40](t);
|
|
4431
4431
|
},
|
|
4432
4432
|
p(h, c) {
|
|
4433
4433
|
c[0] & /*showRegisterStepOne, showRegisterStepTwo, showRegisterStepThree*/
|
|
4434
|
-
|
|
4434
|
+
917504 && n !== (n = "RegisterFirstStepDash " + /*showRegisterStepOne*/
|
|
4435
|
+
(h[17] || !/*showRegisterStepOne*/
|
|
4436
|
+
h[17] && /*showRegisterStepTwo*/
|
|
4437
|
+
h[18] || !/*showRegisterStepOne*/
|
|
4438
|
+
h[17] && !/*showRegisterStepTwo*/
|
|
4439
|
+
h[18] && /*showRegisterStepThree*/
|
|
4440
|
+
h[19] ? "RegisterStepDashColor" : "")) && T(r, "class", n), c[0] & /*showRegisterStepTwo, showRegisterStepOne, showRegisterStepThree*/
|
|
4441
|
+
917504 && o !== (o = "RegisterSecondStepDash " + /*showRegisterStepTwo*/
|
|
4435
4442
|
(h[18] || !/*showRegisterStepOne*/
|
|
4436
|
-
h[
|
|
4437
|
-
h[
|
|
4438
|
-
h[
|
|
4439
|
-
|
|
4440
|
-
h[
|
|
4441
|
-
1835008 && o !== (o = "RegisterSecondStepDash " + /*showRegisterStepTwo*/
|
|
4442
|
-
(h[19] || !/*showRegisterStepOne*/
|
|
4443
|
-
h[18] && !/*showRegisterStepTwo*/
|
|
4444
|
-
h[19] && /*showRegisterStepThree*/
|
|
4445
|
-
h[20] ? "RegisterStepDashColor" : "")) && B(s, "class", o), c[0] & /*showRegisterStepThree*/
|
|
4446
|
-
1048576 && u !== (u = "RegisterThirdStepDash " + /*showRegisterStepThree*/
|
|
4447
|
-
(h[20] ? "RegisterStepDashColor" : "")) && B(l, "class", u);
|
|
4443
|
+
h[17] && !/*showRegisterStepTwo*/
|
|
4444
|
+
h[18] && /*showRegisterStepThree*/
|
|
4445
|
+
h[19] ? "RegisterStepDashColor" : "")) && T(s, "class", o), c[0] & /*showRegisterStepThree*/
|
|
4446
|
+
524288 && u !== (u = "RegisterThirdStepDash " + /*showRegisterStepThree*/
|
|
4447
|
+
(h[19] ? "RegisterStepDashColor" : "")) && T(l, "class", u);
|
|
4448
4448
|
},
|
|
4449
4449
|
d(h) {
|
|
4450
|
-
h &&
|
|
4450
|
+
h && M(t), e[40](null);
|
|
4451
4451
|
}
|
|
4452
4452
|
};
|
|
4453
4453
|
}
|
|
4454
|
-
function
|
|
4454
|
+
function ur(e) {
|
|
4455
4455
|
let t, r;
|
|
4456
4456
|
return {
|
|
4457
4457
|
c() {
|
|
4458
|
-
t =
|
|
4458
|
+
t = B("div"), r = B("general-player-register-form-step1"), m(
|
|
4459
4459
|
r,
|
|
4460
4460
|
"lang",
|
|
4461
4461
|
/*lang*/
|
|
@@ -4470,45 +4470,40 @@ function Ar(e) {
|
|
|
4470
4470
|
"defaultoptions",
|
|
4471
4471
|
/*defaultoptions*/
|
|
4472
4472
|
e[6]
|
|
4473
|
-
), m(
|
|
4474
|
-
r,
|
|
4475
|
-
"dummydata",
|
|
4476
|
-
/*dummydata*/
|
|
4477
|
-
e[7]
|
|
4478
4473
|
), m(
|
|
4479
4474
|
r,
|
|
4480
4475
|
"custominputtextswitch",
|
|
4481
4476
|
/*custominputtextswitch*/
|
|
4482
|
-
e[
|
|
4477
|
+
e[13]
|
|
4483
4478
|
), m(
|
|
4484
4479
|
r,
|
|
4485
4480
|
"simplepasswordvalidation",
|
|
4486
4481
|
/*simplepasswordvalidation*/
|
|
4487
|
-
e[
|
|
4482
|
+
e[8]
|
|
4488
4483
|
), m(
|
|
4489
4484
|
r,
|
|
4490
4485
|
"clientstyling",
|
|
4491
4486
|
/*clientstyling*/
|
|
4492
|
-
e[
|
|
4487
|
+
e[9]
|
|
4493
4488
|
), m(
|
|
4494
4489
|
r,
|
|
4495
4490
|
"clientstylingurl",
|
|
4496
4491
|
/*clientstylingurl*/
|
|
4497
|
-
e[
|
|
4492
|
+
e[10]
|
|
4498
4493
|
), m(
|
|
4499
4494
|
r,
|
|
4500
4495
|
"savecredentials",
|
|
4501
4496
|
/*savecredentials*/
|
|
4502
|
-
e[
|
|
4497
|
+
e[12]
|
|
4503
4498
|
), m(
|
|
4504
4499
|
r,
|
|
4505
4500
|
"translationurl",
|
|
4506
4501
|
/*translationurl*/
|
|
4507
|
-
e[
|
|
4508
|
-
),
|
|
4502
|
+
e[11]
|
|
4503
|
+
), T(t, "class", "RegisterFormStep1");
|
|
4509
4504
|
},
|
|
4510
4505
|
m(n, i) {
|
|
4511
|
-
|
|
4506
|
+
U(n, t, i), E(t, r);
|
|
4512
4507
|
},
|
|
4513
4508
|
p(n, i) {
|
|
4514
4509
|
i[0] & /*lang*/
|
|
@@ -4529,60 +4524,54 @@ function Ar(e) {
|
|
|
4529
4524
|
"defaultoptions",
|
|
4530
4525
|
/*defaultoptions*/
|
|
4531
4526
|
n[6]
|
|
4532
|
-
), i[0] & /*dummydata*/
|
|
4533
|
-
128 && m(
|
|
4534
|
-
r,
|
|
4535
|
-
"dummydata",
|
|
4536
|
-
/*dummydata*/
|
|
4537
|
-
n[7]
|
|
4538
4527
|
), i[0] & /*custominputtextswitch*/
|
|
4539
|
-
|
|
4528
|
+
8192 && m(
|
|
4540
4529
|
r,
|
|
4541
4530
|
"custominputtextswitch",
|
|
4542
4531
|
/*custominputtextswitch*/
|
|
4543
|
-
n[
|
|
4532
|
+
n[13]
|
|
4544
4533
|
), i[0] & /*simplepasswordvalidation*/
|
|
4545
|
-
|
|
4534
|
+
256 && m(
|
|
4546
4535
|
r,
|
|
4547
4536
|
"simplepasswordvalidation",
|
|
4548
4537
|
/*simplepasswordvalidation*/
|
|
4549
|
-
n[
|
|
4538
|
+
n[8]
|
|
4550
4539
|
), i[0] & /*clientstyling*/
|
|
4551
|
-
|
|
4540
|
+
512 && m(
|
|
4552
4541
|
r,
|
|
4553
4542
|
"clientstyling",
|
|
4554
4543
|
/*clientstyling*/
|
|
4555
|
-
n[
|
|
4544
|
+
n[9]
|
|
4556
4545
|
), i[0] & /*clientstylingurl*/
|
|
4557
|
-
|
|
4546
|
+
1024 && m(
|
|
4558
4547
|
r,
|
|
4559
4548
|
"clientstylingurl",
|
|
4560
4549
|
/*clientstylingurl*/
|
|
4561
|
-
n[
|
|
4550
|
+
n[10]
|
|
4562
4551
|
), i[0] & /*savecredentials*/
|
|
4563
|
-
|
|
4552
|
+
4096 && m(
|
|
4564
4553
|
r,
|
|
4565
4554
|
"savecredentials",
|
|
4566
4555
|
/*savecredentials*/
|
|
4567
|
-
n[
|
|
4556
|
+
n[12]
|
|
4568
4557
|
), i[0] & /*translationurl*/
|
|
4569
|
-
|
|
4558
|
+
2048 && m(
|
|
4570
4559
|
r,
|
|
4571
4560
|
"translationurl",
|
|
4572
4561
|
/*translationurl*/
|
|
4573
|
-
n[
|
|
4562
|
+
n[11]
|
|
4574
4563
|
);
|
|
4575
4564
|
},
|
|
4576
4565
|
d(n) {
|
|
4577
|
-
n &&
|
|
4566
|
+
n && M(t);
|
|
4578
4567
|
}
|
|
4579
4568
|
};
|
|
4580
4569
|
}
|
|
4581
|
-
function
|
|
4570
|
+
function lr(e) {
|
|
4582
4571
|
let t, r;
|
|
4583
4572
|
return {
|
|
4584
4573
|
c() {
|
|
4585
|
-
t =
|
|
4574
|
+
t = B("div"), r = B("general-player-register-form-step2"), m(
|
|
4586
4575
|
r,
|
|
4587
4576
|
"endpoint",
|
|
4588
4577
|
/*endpoint*/
|
|
@@ -4607,35 +4596,30 @@ function Or(e) {
|
|
|
4607
4596
|
"defaultoptions",
|
|
4608
4597
|
/*defaultoptions*/
|
|
4609
4598
|
e[6]
|
|
4610
|
-
), m(
|
|
4611
|
-
r,
|
|
4612
|
-
"dummydata",
|
|
4613
|
-
/*dummydata*/
|
|
4614
|
-
e[7]
|
|
4615
4599
|
), m(
|
|
4616
4600
|
r,
|
|
4617
4601
|
"personalidlength",
|
|
4618
4602
|
/*personalidlength*/
|
|
4619
|
-
e[
|
|
4603
|
+
e[14]
|
|
4620
4604
|
), m(
|
|
4621
4605
|
r,
|
|
4622
4606
|
"clientstyling",
|
|
4623
4607
|
/*clientstyling*/
|
|
4624
|
-
e[
|
|
4608
|
+
e[9]
|
|
4625
4609
|
), m(
|
|
4626
4610
|
r,
|
|
4627
4611
|
"clientstylingurl",
|
|
4628
4612
|
/*clientstylingurl*/
|
|
4629
|
-
e[
|
|
4613
|
+
e[10]
|
|
4630
4614
|
), m(
|
|
4631
4615
|
r,
|
|
4632
4616
|
"translationurl",
|
|
4633
4617
|
/*translationurl*/
|
|
4634
|
-
e[
|
|
4635
|
-
),
|
|
4618
|
+
e[11]
|
|
4619
|
+
), T(t, "class", "RegisterFormStep2");
|
|
4636
4620
|
},
|
|
4637
4621
|
m(n, i) {
|
|
4638
|
-
|
|
4622
|
+
U(n, t, i), E(t, r);
|
|
4639
4623
|
},
|
|
4640
4624
|
p(n, i) {
|
|
4641
4625
|
i[0] & /*endpoint*/
|
|
@@ -4668,67 +4652,61 @@ function Or(e) {
|
|
|
4668
4652
|
"defaultoptions",
|
|
4669
4653
|
/*defaultoptions*/
|
|
4670
4654
|
n[6]
|
|
4671
|
-
), i[0] & /*dummydata*/
|
|
4672
|
-
128 && m(
|
|
4673
|
-
r,
|
|
4674
|
-
"dummydata",
|
|
4675
|
-
/*dummydata*/
|
|
4676
|
-
n[7]
|
|
4677
4655
|
), i[0] & /*personalidlength*/
|
|
4678
|
-
|
|
4656
|
+
16384 && m(
|
|
4679
4657
|
r,
|
|
4680
4658
|
"personalidlength",
|
|
4681
4659
|
/*personalidlength*/
|
|
4682
|
-
n[
|
|
4660
|
+
n[14]
|
|
4683
4661
|
), i[0] & /*clientstyling*/
|
|
4684
|
-
|
|
4662
|
+
512 && m(
|
|
4685
4663
|
r,
|
|
4686
4664
|
"clientstyling",
|
|
4687
4665
|
/*clientstyling*/
|
|
4688
|
-
n[
|
|
4666
|
+
n[9]
|
|
4689
4667
|
), i[0] & /*clientstylingurl*/
|
|
4690
|
-
|
|
4668
|
+
1024 && m(
|
|
4691
4669
|
r,
|
|
4692
4670
|
"clientstylingurl",
|
|
4693
4671
|
/*clientstylingurl*/
|
|
4694
|
-
n[
|
|
4672
|
+
n[10]
|
|
4695
4673
|
), i[0] & /*translationurl*/
|
|
4696
|
-
|
|
4674
|
+
2048 && m(
|
|
4697
4675
|
r,
|
|
4698
4676
|
"translationurl",
|
|
4699
4677
|
/*translationurl*/
|
|
4700
|
-
n[
|
|
4678
|
+
n[11]
|
|
4701
4679
|
);
|
|
4702
4680
|
},
|
|
4703
4681
|
d(n) {
|
|
4704
|
-
n &&
|
|
4682
|
+
n && M(t);
|
|
4705
4683
|
}
|
|
4706
4684
|
};
|
|
4707
4685
|
}
|
|
4708
|
-
function
|
|
4686
|
+
function hr(e) {
|
|
4709
4687
|
let t, r;
|
|
4710
4688
|
return {
|
|
4711
4689
|
c() {
|
|
4712
|
-
t =
|
|
4690
|
+
t = B("div"), r = B("general-player-register-form-step3"), m(
|
|
4713
4691
|
r,
|
|
4714
4692
|
"userconsentsexist",
|
|
4715
4693
|
/*userconsentsexist*/
|
|
4716
|
-
e[
|
|
4694
|
+
e[25]
|
|
4717
4695
|
), m(
|
|
4718
4696
|
r,
|
|
4719
4697
|
"termsconditions",
|
|
4720
4698
|
/*termsconditions*/
|
|
4721
|
-
e[
|
|
4699
|
+
e[26]
|
|
4722
4700
|
), m(
|
|
4723
4701
|
r,
|
|
4724
4702
|
"smsoffers",
|
|
4725
4703
|
/*smsoffers*/
|
|
4726
|
-
e[
|
|
4704
|
+
e[27]
|
|
4727
4705
|
), m(
|
|
4728
4706
|
r,
|
|
4729
4707
|
"emailmarketing",
|
|
4730
4708
|
/*emailmarketing*/
|
|
4731
|
-
e[
|
|
4709
|
+
e[28]
|
|
4732
4710
|
), m(
|
|
4733
4711
|
r,
|
|
4734
4712
|
"endpoint",
|
|
@@ -4754,56 +4732,51 @@ function Cr(e) {
|
|
|
4754
4732
|
"disabledfields",
|
|
4755
4733
|
/*disabledfields*/
|
|
4756
4734
|
e[5]
|
|
4757
|
-
), m(
|
|
4758
|
-
r,
|
|
4759
|
-
"dummydata",
|
|
4760
|
-
/*dummydata*/
|
|
4761
|
-
e[7]
|
|
4762
4735
|
), m(
|
|
4763
4736
|
r,
|
|
4764
4737
|
"clientstyling",
|
|
4765
4738
|
/*clientstyling*/
|
|
4766
|
-
e[
|
|
4739
|
+
e[9]
|
|
4767
4740
|
), m(
|
|
4768
4741
|
r,
|
|
4769
4742
|
"clientstylingurl",
|
|
4770
4743
|
/*clientstylingurl*/
|
|
4771
|
-
e[
|
|
4744
|
+
e[10]
|
|
4772
4745
|
), m(
|
|
4773
4746
|
r,
|
|
4774
4747
|
"translationurl",
|
|
4775
4748
|
/*translationurl*/
|
|
4776
|
-
e[
|
|
4777
|
-
),
|
|
4749
|
+
e[11]
|
|
4750
|
+
), T(t, "class", "RegisterFormStep3");
|
|
4778
4751
|
},
|
|
4779
4752
|
m(n, i) {
|
|
4780
|
-
|
|
4753
|
+
U(n, t, i), E(t, r);
|
|
4781
4754
|
},
|
|
4782
4755
|
p(n, i) {
|
|
4783
4756
|
i[0] & /*userconsentsexist*/
|
|
4784
|
-
|
|
4757
|
+
33554432 && m(
|
|
4785
4758
|
r,
|
|
4786
4759
|
"userconsentsexist",
|
|
4787
4760
|
/*userconsentsexist*/
|
|
4788
|
-
n[
|
|
4761
|
+
n[25]
|
|
4789
4762
|
), i[0] & /*termsconditions*/
|
|
4790
|
-
|
|
4763
|
+
67108864 && m(
|
|
4791
4764
|
r,
|
|
4792
4765
|
"termsconditions",
|
|
4793
4766
|
/*termsconditions*/
|
|
4794
|
-
n[
|
|
4767
|
+
n[26]
|
|
4795
4768
|
), i[0] & /*smsoffers*/
|
|
4796
|
-
|
|
4769
|
+
134217728 && m(
|
|
4797
4770
|
r,
|
|
4798
4771
|
"smsoffers",
|
|
4799
4772
|
/*smsoffers*/
|
|
4800
|
-
n[
|
|
4773
|
+
n[27]
|
|
4801
4774
|
), i[0] & /*emailmarketing*/
|
|
4802
|
-
|
|
4775
|
+
268435456 && m(
|
|
4803
4776
|
r,
|
|
4804
4777
|
"emailmarketing",
|
|
4805
4778
|
/*emailmarketing*/
|
|
4806
|
-
n[
|
|
4779
|
+
n[28]
|
|
4807
4780
|
), i[0] & /*endpoint*/
|
|
4808
4781
|
1 && m(
|
|
4809
4782
|
r,
|
|
@@ -4834,110 +4807,104 @@ function Cr(e) {
|
|
|
4834
4807
|
"disabledfields",
|
|
4835
4808
|
/*disabledfields*/
|
|
4836
4809
|
n[5]
|
|
4837
|
-
), i[0] & /*dummydata*/
|
|
4838
|
-
128 && m(
|
|
4839
|
-
r,
|
|
4840
|
-
"dummydata",
|
|
4841
|
-
/*dummydata*/
|
|
4842
|
-
n[7]
|
|
4843
4810
|
), i[0] & /*clientstyling*/
|
|
4844
|
-
|
|
4811
|
+
512 && m(
|
|
4845
4812
|
r,
|
|
4846
4813
|
"clientstyling",
|
|
4847
4814
|
/*clientstyling*/
|
|
4848
|
-
n[
|
|
4815
|
+
n[9]
|
|
4849
4816
|
), i[0] & /*clientstylingurl*/
|
|
4850
|
-
|
|
4817
|
+
1024 && m(
|
|
4851
4818
|
r,
|
|
4852
4819
|
"clientstylingurl",
|
|
4853
4820
|
/*clientstylingurl*/
|
|
4854
|
-
n[
|
|
4821
|
+
n[10]
|
|
4855
4822
|
), i[0] & /*translationurl*/
|
|
4856
|
-
|
|
4823
|
+
2048 && m(
|
|
4857
4824
|
r,
|
|
4858
4825
|
"translationurl",
|
|
4859
4826
|
/*translationurl*/
|
|
4860
|
-
n[
|
|
4827
|
+
n[11]
|
|
4861
4828
|
);
|
|
4862
4829
|
},
|
|
4863
4830
|
d(n) {
|
|
4864
|
-
n &&
|
|
4831
|
+
n && M(t);
|
|
4865
4832
|
}
|
|
4866
4833
|
};
|
|
4867
4834
|
}
|
|
4868
|
-
function
|
|
4835
|
+
function $s(e) {
|
|
4869
4836
|
let t, r = (
|
|
4870
4837
|
/*$_*/
|
|
4871
|
-
e[
|
|
4838
|
+
e[33]("error") + ""
|
|
4872
4839
|
), n;
|
|
4873
4840
|
return {
|
|
4874
4841
|
c() {
|
|
4875
|
-
t =
|
|
4842
|
+
t = B("p"), n = $(r), T(t, "class", "SMSErrorText");
|
|
4876
4843
|
},
|
|
4877
4844
|
m(i, s) {
|
|
4878
|
-
|
|
4845
|
+
U(i, t, s), E(t, n);
|
|
4879
4846
|
},
|
|
4880
4847
|
p(i, s) {
|
|
4881
4848
|
s[1] & /*$_*/
|
|
4882
|
-
|
|
4883
|
-
i[
|
|
4849
|
+
4 && r !== (r = /*$_*/
|
|
4850
|
+
i[33]("error") + "") && K(n, r);
|
|
4884
4851
|
},
|
|
4885
4852
|
d(i) {
|
|
4886
|
-
i &&
|
|
4853
|
+
i && M(t);
|
|
4887
4854
|
}
|
|
4888
4855
|
};
|
|
4889
4856
|
}
|
|
4890
|
-
function
|
|
4857
|
+
function Vs(e) {
|
|
4891
4858
|
let t;
|
|
4892
4859
|
function r(s, o) {
|
|
4893
4860
|
return (
|
|
4894
4861
|
/*smsSendApiFailed*/
|
|
4895
|
-
s[
|
|
4862
|
+
s[30] ? Xs : zs
|
|
4896
4863
|
);
|
|
4897
4864
|
}
|
|
4898
4865
|
let n = r(e), i = n(e);
|
|
4899
4866
|
return {
|
|
4900
4867
|
c() {
|
|
4901
|
-
i.c(), t =
|
|
4868
|
+
i.c(), t = _n();
|
|
4902
4869
|
},
|
|
4903
4870
|
m(s, o) {
|
|
4904
|
-
i.m(s, o),
|
|
4871
|
+
i.m(s, o), U(s, t, o);
|
|
4905
4872
|
},
|
|
4906
4873
|
p(s, o) {
|
|
4907
4874
|
n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t.parentNode, t)));
|
|
4908
4875
|
},
|
|
4909
4876
|
d(s) {
|
|
4910
|
-
s &&
|
|
4877
|
+
s && M(t), i.d(s);
|
|
4911
4878
|
}
|
|
4912
4879
|
};
|
|
4913
4880
|
}
|
|
4914
|
-
function
|
|
4881
|
+
function Xs(e) {
|
|
4915
4882
|
let t, r = (
|
|
4916
4883
|
/*$_*/
|
|
4917
|
-
e[
|
|
4884
|
+
e[33]("error") + ""
|
|
4918
4885
|
), n;
|
|
4919
4886
|
return {
|
|
4920
4887
|
c() {
|
|
4921
|
-
t =
|
|
4888
|
+
t = B("p"), n = $(r), T(t, "class", "SMSErrorText");
|
|
4922
4889
|
},
|
|
4923
4890
|
m(i, s) {
|
|
4924
|
-
|
|
4891
|
+
U(i, t, s), E(t, n);
|
|
4925
4892
|
},
|
|
4926
4893
|
p(i, s) {
|
|
4927
4894
|
s[1] & /*$_*/
|
|
4928
|
-
|
|
4929
|
-
i[
|
|
4895
|
+
4 && r !== (r = /*$_*/
|
|
4896
|
+
i[33]("error") + "") && K(n, r);
|
|
4930
4897
|
},
|
|
4931
4898
|
d(i) {
|
|
4932
|
-
i &&
|
|
4899
|
+
i && M(t);
|
|
4933
4900
|
}
|
|
4934
4901
|
};
|
|
4935
4902
|
}
|
|
4936
|
-
function
|
|
4903
|
+
function zs(e) {
|
|
4937
4904
|
let t;
|
|
4938
4905
|
return {
|
|
4939
4906
|
c() {
|
|
4940
|
-
t =
|
|
4907
|
+
t = B("general-player-sms-verification-form"), m(
|
|
4941
4908
|
t,
|
|
4942
4909
|
"endpoint",
|
|
4943
4910
|
/*endpoint*/
|
|
@@ -4951,31 +4918,31 @@ function mo(e) {
|
|
|
4951
4918
|
t,
|
|
4952
4919
|
"number",
|
|
4953
4920
|
/*number*/
|
|
4954
|
-
e[
|
|
4921
|
+
e[31]
|
|
4955
4922
|
), m(
|
|
4956
4923
|
t,
|
|
4957
4924
|
"playerid",
|
|
4958
4925
|
/*playerid*/
|
|
4959
|
-
e[
|
|
4926
|
+
e[16]
|
|
4960
4927
|
), m(
|
|
4961
4928
|
t,
|
|
4962
4929
|
"tokenid",
|
|
4963
4930
|
/*smstokenid*/
|
|
4964
|
-
e[
|
|
4931
|
+
e[29]
|
|
4965
4932
|
), m(
|
|
4966
4933
|
t,
|
|
4967
4934
|
"clientstyling",
|
|
4968
4935
|
/*clientstyling*/
|
|
4969
|
-
e[
|
|
4936
|
+
e[9]
|
|
4970
4937
|
), m(
|
|
4971
4938
|
t,
|
|
4972
4939
|
"clientstylingurl",
|
|
4973
4940
|
/*clientstylingurl*/
|
|
4974
|
-
e[
|
|
4941
|
+
e[10]
|
|
4975
4942
|
);
|
|
4976
4943
|
},
|
|
4977
4944
|
m(r, n) {
|
|
4978
|
-
|
|
4945
|
+
U(r, t, n);
|
|
4979
4946
|
},
|
|
4980
4947
|
p(r, n) {
|
|
4981
4948
|
n[0] & /*endpoint*/
|
|
@@ -4991,197 +4958,190 @@ function mo(e) {
|
|
|
4991
4958
|
/*session*/
|
|
4992
4959
|
r[1]
|
|
4993
4960
|
), n[1] & /*number*/
|
|
4994
|
-
|
|
4961
|
+
1 && m(
|
|
4995
4962
|
t,
|
|
4996
4963
|
"number",
|
|
4997
4964
|
/*number*/
|
|
4998
|
-
r[
|
|
4965
|
+
r[31]
|
|
4999
4966
|
), n[0] & /*playerid*/
|
|
5000
|
-
|
|
4967
|
+
65536 && m(
|
|
5001
4968
|
t,
|
|
5002
4969
|
"playerid",
|
|
5003
4970
|
/*playerid*/
|
|
5004
|
-
r[
|
|
4971
|
+
r[16]
|
|
5005
4972
|
), n[0] & /*smstokenid*/
|
|
5006
|
-
|
|
4973
|
+
536870912 && m(
|
|
5007
4974
|
t,
|
|
5008
4975
|
"tokenid",
|
|
5009
4976
|
/*smstokenid*/
|
|
5010
|
-
r[
|
|
4977
|
+
r[29]
|
|
5011
4978
|
), n[0] & /*clientstyling*/
|
|
5012
|
-
|
|
4979
|
+
512 && m(
|
|
5013
4980
|
t,
|
|
5014
4981
|
"clientstyling",
|
|
5015
4982
|
/*clientstyling*/
|
|
5016
|
-
r[
|
|
4983
|
+
r[9]
|
|
5017
4984
|
), n[0] & /*clientstylingurl*/
|
|
5018
|
-
|
|
4985
|
+
1024 && m(
|
|
5019
4986
|
t,
|
|
5020
4987
|
"clientstylingurl",
|
|
5021
4988
|
/*clientstylingurl*/
|
|
5022
|
-
r[
|
|
4989
|
+
r[10]
|
|
5023
4990
|
);
|
|
5024
4991
|
},
|
|
5025
4992
|
d(r) {
|
|
5026
|
-
r &&
|
|
4993
|
+
r && M(t);
|
|
5027
4994
|
}
|
|
5028
4995
|
};
|
|
5029
4996
|
}
|
|
5030
|
-
function
|
|
5031
|
-
let t, r, n, i, s, o, a, l, u, h, c,
|
|
4997
|
+
function fr(e) {
|
|
4998
|
+
let t, r, n, i, s, o, a, l, u, h, c, p, y, g, d, b, x, I = (
|
|
5032
4999
|
/*$_*/
|
|
5033
|
-
e[
|
|
5034
|
-
),
|
|
5000
|
+
e[33]("goToLoginButton") + ""
|
|
5001
|
+
), O, D, N;
|
|
5035
5002
|
return {
|
|
5036
5003
|
c() {
|
|
5037
|
-
t =
|
|
5004
|
+
t = B("div"), r = Se("svg"), n = Se("defs"), i = Se("style"), s = $(".a{fill:#var(--emfe-w-color-valid, var(--emfe-w-color-green, #48952a));}"), o = Se("path"), a = G(), l = B("h2"), u = $(
|
|
5038
5005
|
/*accountCreationTitle*/
|
|
5039
|
-
e[
|
|
5040
|
-
), h =
|
|
5006
|
+
e[22]
|
|
5007
|
+
), h = G(), c = B("p"), p = $(
|
|
5041
5008
|
/*accountCreationSubTitle*/
|
|
5042
|
-
e[
|
|
5043
|
-
),
|
|
5009
|
+
e[23]
|
|
5010
|
+
), y = G(), g = B("p"), d = $(
|
|
5044
5011
|
/*accountCreationMessage*/
|
|
5045
|
-
e[
|
|
5046
|
-
),
|
|
5012
|
+
e[24]
|
|
5013
|
+
), b = G(), x = B("button"), O = $(I), T(o, "class", "a"), T(o, "d", "M29.325,51,0,21.675l5.95-5.95,23.375,22.95L68,0l5.95,5.95Z"), T(r, "xmlns", "http://www.w3.org/2000/svg"), T(r, "viewBox", "0 0 73.95 51"), T(l, "class", "RegisterConfirmationTitle"), T(c, "class", "RegisterConfirmationSubtitle"), T(g, "class", "RegisterConfirmationNote"), T(x, "class", "RegisterConfirmationGoToLogin"), T(t, "class", "RegisterConfirmation");
|
|
5047
5014
|
},
|
|
5048
|
-
m(
|
|
5049
|
-
|
|
5050
|
-
|
|
5015
|
+
m(R, C) {
|
|
5016
|
+
U(R, t, C), E(t, r), E(r, n), E(n, i), E(i, s), E(r, o), E(t, a), E(t, l), E(l, u), E(t, h), E(t, c), E(c, p), E(t, y), E(t, g), E(g, d), E(t, b), E(t, x), E(x, O), D || (N = En(
|
|
5017
|
+
x,
|
|
5051
5018
|
"click",
|
|
5052
5019
|
/*switchToLogin*/
|
|
5053
|
-
e[
|
|
5020
|
+
e[35]
|
|
5054
5021
|
), D = !0);
|
|
5055
5022
|
},
|
|
5056
|
-
p(
|
|
5057
|
-
|
|
5058
|
-
|
|
5023
|
+
p(R, C) {
|
|
5024
|
+
C[0] & /*accountCreationTitle*/
|
|
5025
|
+
4194304 && K(
|
|
5059
5026
|
u,
|
|
5060
5027
|
/*accountCreationTitle*/
|
|
5061
|
-
|
|
5062
|
-
),
|
|
5063
|
-
|
|
5064
|
-
|
|
5028
|
+
R[22]
|
|
5029
|
+
), C[0] & /*accountCreationSubTitle*/
|
|
5030
|
+
8388608 && K(
|
|
5031
|
+
p,
|
|
5065
5032
|
/*accountCreationSubTitle*/
|
|
5066
|
-
|
|
5067
|
-
),
|
|
5068
|
-
|
|
5069
|
-
|
|
5033
|
+
R[23]
|
|
5034
|
+
), C[0] & /*accountCreationMessage*/
|
|
5035
|
+
16777216 && K(
|
|
5036
|
+
d,
|
|
5070
5037
|
/*accountCreationMessage*/
|
|
5071
|
-
|
|
5072
|
-
),
|
|
5073
|
-
|
|
5074
|
-
|
|
5038
|
+
R[24]
|
|
5039
|
+
), C[1] & /*$_*/
|
|
5040
|
+
4 && I !== (I = /*$_*/
|
|
5041
|
+
R[33]("goToLoginButton") + "") && K(O, I);
|
|
5075
5042
|
},
|
|
5076
|
-
d(
|
|
5077
|
-
|
|
5043
|
+
d(R) {
|
|
5044
|
+
R && M(t), D = !1, N();
|
|
5078
5045
|
}
|
|
5079
5046
|
};
|
|
5080
5047
|
}
|
|
5081
|
-
function
|
|
5048
|
+
function Ws(e) {
|
|
5082
5049
|
let t;
|
|
5083
5050
|
function r(s, o) {
|
|
5084
|
-
return
|
|
5051
|
+
return js;
|
|
5085
5052
|
}
|
|
5086
5053
|
let i = r()(e);
|
|
5087
5054
|
return {
|
|
5088
5055
|
c() {
|
|
5089
|
-
t =
|
|
5056
|
+
t = B("div"), i.c();
|
|
5090
5057
|
},
|
|
5091
5058
|
m(s, o) {
|
|
5092
|
-
|
|
5059
|
+
U(s, t, o), i.m(t, null), e[41](t);
|
|
5093
5060
|
},
|
|
5094
5061
|
p(s, o) {
|
|
5095
5062
|
i.p(s, o);
|
|
5096
5063
|
},
|
|
5097
|
-
i:
|
|
5098
|
-
o:
|
|
5064
|
+
i: k,
|
|
5065
|
+
o: k,
|
|
5099
5066
|
d(s) {
|
|
5100
|
-
s &&
|
|
5067
|
+
s && M(t), i.d(), e[41](null);
|
|
5101
5068
|
}
|
|
5102
5069
|
};
|
|
5103
5070
|
}
|
|
5104
|
-
let
|
|
5105
|
-
function
|
|
5071
|
+
let Zs = "Please use this code {0} to activate your account";
|
|
5072
|
+
function Js(e, t, r) {
|
|
5106
5073
|
let n;
|
|
5107
|
-
|
|
5108
|
-
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:
|
|
5109
|
-
|
|
5110
|
-
const
|
|
5111
|
-
fetch(
|
|
5112
|
-
Object.keys(
|
|
5113
|
-
|
|
5074
|
+
gn(e, Fs, (f) => r(33, n = f));
|
|
5075
|
+
let { endpoint: i = "" } = t, { cmsendpoint: s = "" } = t, { env: o = "" } = t, { session: a = "" } = t, { trackedanalyticsdata: l = "" } = t, { captchakey: u = "" } = t, { lang: h = "en" } = t, { licenseyears: c = "" } = t, { disabledfields: p = "" } = t, { defaultoptions: y = "" } = t, { smsverification: g = "false" } = t, { simplepasswordvalidation: d = "false" } = t, { userroles: b = "" } = t, { clientstyling: x = "" } = t, { clientstylingurl: I = "" } = t, { translationurl: O = "" } = t, { savecredentials: D = "" } = t, { custominputtextswitch: N = "false" } = t, { personalidlength: R = "13" } = t, C, yt = "", Ue = !0, le = !1, be = !1, Ge = !1, ke = !1, ye, vt = !1, _t = "", Et = "", wt = "", xt = window.navigator.userAgent, Jr = ir(xt) !== "PC", j = {}, St = !1, Tt = !1, je = "false", Ht = "false", Bt = "false", At = "false", Pt = "", Ot, ve = !1, Ct, _e;
|
|
5076
|
+
Us({ withLocale: "en", translations: {} });
|
|
5077
|
+
const qr = () => {
|
|
5078
|
+
fetch(O).then((S) => S.json()).then((S) => {
|
|
5079
|
+
Object.keys(S).forEach((P) => {
|
|
5080
|
+
sr(P, S[P]);
|
|
5114
5081
|
});
|
|
5115
|
-
}).catch((
|
|
5116
|
-
console.log(
|
|
5082
|
+
}).catch((S) => {
|
|
5083
|
+
console.log(S);
|
|
5117
5084
|
});
|
|
5118
5085
|
};
|
|
5119
|
-
Object.keys(
|
|
5120
|
-
|
|
5086
|
+
Object.keys(or).forEach((f) => {
|
|
5087
|
+
sr(f, or[f]);
|
|
5121
5088
|
});
|
|
5122
|
-
const
|
|
5089
|
+
const Qr = () => {
|
|
5123
5090
|
fetch(`${i}/v1/player/consentRequirements`).then((f) => f.json()).then((f) => {
|
|
5124
|
-
f.items.length > 0 ? (r(
|
|
5125
|
-
switch (
|
|
5091
|
+
f.items.length > 0 ? (r(25, je = "true"), f.items.forEach((S) => {
|
|
5092
|
+
switch (S.tagCode) {
|
|
5126
5093
|
case "termsandconditions":
|
|
5127
|
-
r(
|
|
5094
|
+
r(26, Ht = "true");
|
|
5128
5095
|
break;
|
|
5129
5096
|
case "sms":
|
|
5130
|
-
r(
|
|
5097
|
+
r(27, Bt = "true");
|
|
5131
5098
|
break;
|
|
5132
5099
|
case "emailmarketing":
|
|
5133
|
-
r(
|
|
5100
|
+
r(28, At = "true");
|
|
5134
5101
|
break;
|
|
5135
5102
|
}
|
|
5136
|
-
})) : r(
|
|
5103
|
+
})) : r(25, je = "false");
|
|
5137
5104
|
});
|
|
5138
|
-
},
|
|
5139
|
-
let f = new URL(`${s}/${h}/login-register-content?env=${o}`),
|
|
5140
|
-
|
|
5141
|
-
|
|
5142
|
-
}).catch((
|
|
5143
|
-
console.error(
|
|
5105
|
+
}, Yr = () => {
|
|
5106
|
+
let f = new URL(`${s}/${h}/login-register-content?env=${o}`), S = ir(xt);
|
|
5107
|
+
S && (S === "PC" ? f.searchParams.append("device", "dk") : f.searchParams.append("device", "mtWeb")), fetch(f.href).then((P) => P.json()).then((P) => {
|
|
5108
|
+
ye = P.registerData, r(22, _t = ye.title), r(23, Et = ye.subtitle), r(24, wt = ye.content);
|
|
5109
|
+
}).catch((P) => {
|
|
5110
|
+
console.error(P);
|
|
5144
5111
|
});
|
|
5145
|
-
},
|
|
5146
|
-
|
|
5147
|
-
},
|
|
5148
|
-
|
|
5149
|
-
|
|
5150
|
-
|
|
5151
|
-
|
|
5152
|
-
}, me = (f, p) => {
|
|
5153
|
-
var T, $, ze, Ft, Ut, Gt, kt, jt, $t, Vt, Xt, zt, Wt, Zt, Qt, qt, Jt, Yt, Kt;
|
|
5154
|
-
wt = v.split(","), f === "RegisterStepOne" && (_.email = C.indexOf("email") >= 0 ? (T = I("email")) != null ? T : "dummy@dummy.com" : p.userEmail, _.username = C.indexOf("username") >= 0 ? ($ = I("username")) != null ? $ : "dummyUsername" : p.userValue, _.password = C.indexOf("password") >= 0 ? (ze = I("password")) != null ? ze : "dummyPassword01!" : p.userPassword, _.securityQuestion = C.indexOf("securityQuestion") >= 0 ? (Ft = I("securityQuestion")) != null ? Ft : "dummy question" : p.securityQuestion, _.securityAnswer = C.indexOf("securityAnswer") >= 0 ? (Ut = I("securityAnswer")) != null ? Ut : "dummy answer" : p.securityAnswer, _.promoCode = C.indexOf("promoCode") >= 0 ? (Gt = I("promoCode")) != null ? Gt : "" : p.promoCode), f === "RegisterStepTwo" && (_.title = p.userTitleSelected, _.firstname = C.indexOf("firstName") >= 0 ? (kt = I("firstName")) != null ? kt : "dummy first name" : p.userFirstName, _.lastname = C.indexOf("lastName") >= 0 ? (jt = I("lastName")) != null ? jt : "dummy last name" : p.userLastName, C.indexOf("birthDate") >= 0 ? _.birth = { day: 1, month: 1, year: 2e3 } : (_.birth = {}, _.birth.day = p.birthDaySelected, _.birth.month = p.birthMonthSelected, _.birth.year = p.birthYearSelected), _.birthPlace = C.indexOf("birthPlace") >= 0 ? ($t = I("birthPlace")) != null ? $t : "ngenge" : p.birthPlace, _.currency = (Vt = I("currency")) != null ? Vt : p.currencySelected, (C == null ? void 0 : C.indexOf("personalId")) >= 0 || (_.personalId = (zt = (Xt = p.personalId) != null ? Xt : I("personalId")) != null ? zt : "dummy personal id")), f === "RegisterStepThree" && (_.address1 = C.indexOf("address") >= 0 ? (Wt = I("address")) != null ? Wt : "dummy address" : p.address, _.postalCode = C.indexOf("postalCode") >= 0 ? (Zt = I("postalCode")) != null ? Zt : "000000" : p.postalCode, _.city = C.indexOf("city") >= 0 ? (Qt = I("city")) != null ? Qt : "dummy city" : p.city, _.country = C.indexOf("country") >= 0 ? (qt = I("country")) != null ? qt : "dummy country" : p.countrySelected, _.nationality = C.indexOf("nationality") >= 0 ? (Jt = I("nationality")) != null ? Jt : "dummy nationality" : p.nationalitySelected, C.indexOf("mobile") >= 0 ? _.mobile = {
|
|
5155
|
-
prefix: (Yt = I("phonePrefix")) != null ? Yt : "0040",
|
|
5156
|
-
number: "1234123412"
|
|
5157
|
-
} : (_.mobile = {}, _.mobile.prefix = (Kt = I("phonePrefix")) != null ? Kt : p.mobilePrefixSelected, _.mobile.number = p.mobile, r(32, Mt = `${p.mobilePrefixSelected}${p.mobile}`)), _.userConsents = {}, _.affiliateMarker = _.promoCode ? _.promoCode : l != null ? l : "", we == "true" && (_.userConsents.sms = p.consentOffersSms, _.userConsents.emailmarketing = p.consentOffersEmail, _.userConsents.termsandconditions = p.consentTerms), _.token = p.token);
|
|
5158
|
-
}, Dt = (f) => {
|
|
5112
|
+
}, Ee = () => {
|
|
5113
|
+
_e.scrollIntoView();
|
|
5114
|
+
}, he = (f) => {
|
|
5115
|
+
for (const S in f)
|
|
5116
|
+
j[S] = f[S], S === "mobile" && r(31, Ct = `${f[S].prefix}${f[S].number}`);
|
|
5117
|
+
j.affiliateMarker = j.promoCode ? j.promoCode : l != null ? l : "";
|
|
5118
|
+
}, It = (f) => {
|
|
5159
5119
|
if (f.data)
|
|
5160
5120
|
switch (f.data.type) {
|
|
5161
5121
|
case "RegisterStepOne":
|
|
5162
|
-
|
|
5122
|
+
he(f.data.registerStepOneData), Ee(), r(17, Ue = !1), r(18, le = !0), St == !1 ? St = !0 : window.postMessage({ type: "StepTwoDataBackup", userData: j }, window.location.href);
|
|
5163
5123
|
break;
|
|
5164
5124
|
case "RegisterStepTwo":
|
|
5165
|
-
|
|
5125
|
+
he(f.data.registerStepTwoData), Ee(), r(18, le = !1), r(19, be = !0), Tt == !1 ? Tt = !0 : window.postMessage({ type: "StepThreeDataBackup", userData: j }, window.location.href);
|
|
5166
5126
|
break;
|
|
5167
5127
|
case "RegisterStepThree":
|
|
5168
|
-
|
|
5128
|
+
he(f.data.registerStepThreeData), en(j);
|
|
5169
5129
|
break;
|
|
5170
5130
|
case "SmsHasBeenValidated":
|
|
5171
|
-
r(
|
|
5131
|
+
r(21, ke = !0), r(20, Ge = !1);
|
|
5172
5132
|
break;
|
|
5173
5133
|
case "GoBackStepTwo":
|
|
5174
|
-
|
|
5134
|
+
he(f.data.registerStepTwoData), Ee(), r(17, Ue = !0), r(18, le = !1), window.postMessage({ type: "StepOneDataBackup", userData: j }, window.location.href);
|
|
5175
5135
|
break;
|
|
5176
5136
|
case "GoBackStepThree":
|
|
5177
|
-
|
|
5137
|
+
he(f.data.registerStepThreeData), Ee(), r(18, le = !0), r(19, be = !1), window.postMessage({ type: "StepTwoDataBackup", userData: j }, window.location.href);
|
|
5178
5138
|
break;
|
|
5179
5139
|
}
|
|
5180
|
-
},
|
|
5140
|
+
}, Kr = () => {
|
|
5181
5141
|
typeof gtag == "function" && gtag("event", "Register", { context: "GeneralPlayerRegisterForm" });
|
|
5182
|
-
},
|
|
5142
|
+
}, en = (f) => we(this, null, function* () {
|
|
5183
5143
|
f.language = h;
|
|
5184
|
-
let
|
|
5144
|
+
let S = {
|
|
5185
5145
|
method: "PUT",
|
|
5186
5146
|
headers: {
|
|
5187
5147
|
"g-recaptcha-response": f.token,
|
|
@@ -5189,54 +5149,54 @@ function bo(e, t, r) {
|
|
|
5189
5149
|
Accept: "application/json"
|
|
5190
5150
|
},
|
|
5191
5151
|
body: JSON.stringify(f)
|
|
5192
|
-
},
|
|
5193
|
-
|
|
5152
|
+
}, P = yield fetch(`${i}/v1/player/register`, S), z = yield P.json();
|
|
5153
|
+
P.ok ? (r(19, be = !1), g === "false" ? r(21, ke = !0) : (r(16, yt = z.id), tn(f, z.id)), f.username, f.password, Kr()) : (Pt = z.error.substring(z.error.indexOf("errorMessage") + 13, z.error.length), vt = !0, window.postMessage(
|
|
5194
5154
|
{
|
|
5195
5155
|
type: "ShowRegistrationError",
|
|
5196
|
-
showError:
|
|
5197
|
-
error:
|
|
5156
|
+
showError: vt,
|
|
5157
|
+
error: Pt
|
|
5198
5158
|
},
|
|
5199
5159
|
window.location.href
|
|
5200
5160
|
));
|
|
5201
|
-
}),
|
|
5161
|
+
}), tn = (f, S) => we(this, null, function* () {
|
|
5202
5162
|
localStorage.setItem("smsTimer", JSON.stringify(Math.floor(Date.now() / 1e3)));
|
|
5203
5163
|
try {
|
|
5204
|
-
const
|
|
5164
|
+
const P = yield fetch(`${i}/v1/player/sms/token`, {
|
|
5205
5165
|
method: "POST",
|
|
5206
5166
|
headers: {
|
|
5207
5167
|
"Content-Type": "application/json",
|
|
5208
5168
|
accept: "application/json"
|
|
5209
5169
|
},
|
|
5210
5170
|
body: JSON.stringify({
|
|
5211
|
-
userId:
|
|
5212
|
-
messageTemplate:
|
|
5171
|
+
userId: S,
|
|
5172
|
+
messageTemplate: Zs,
|
|
5213
5173
|
destination: `${f.mobile.prefix}${f.mobile.number}`
|
|
5214
5174
|
})
|
|
5215
|
-
}),
|
|
5216
|
-
if (
|
|
5217
|
-
r(
|
|
5218
|
-
let
|
|
5219
|
-
r(
|
|
5175
|
+
}), z = yield P.json();
|
|
5176
|
+
if (P.ok) {
|
|
5177
|
+
r(29, Ot = z.id);
|
|
5178
|
+
let qs = z.maxValidationAttempts;
|
|
5179
|
+
r(20, Ge = !0), r(30, ve = !1);
|
|
5220
5180
|
} else
|
|
5221
|
-
throw r(
|
|
5222
|
-
} catch (
|
|
5223
|
-
r(
|
|
5181
|
+
throw r(30, ve = !0), new Error("Failed to fetch");
|
|
5182
|
+
} catch (P) {
|
|
5183
|
+
r(30, ve = !0), console.error(P);
|
|
5224
5184
|
}
|
|
5225
|
-
}),
|
|
5226
|
-
|
|
5227
|
-
},
|
|
5185
|
+
}), rn = () => {
|
|
5186
|
+
p.split(",");
|
|
5187
|
+
}, nn = () => {
|
|
5228
5188
|
window.postMessage({ type: "ToLogin" }, window.location.href);
|
|
5229
|
-
},
|
|
5230
|
-
|
|
5231
|
-
},
|
|
5189
|
+
}, sn = () => {
|
|
5190
|
+
Gs(h);
|
|
5191
|
+
}, on = () => {
|
|
5232
5192
|
let f = document.createElement("style");
|
|
5233
|
-
f.innerHTML =
|
|
5234
|
-
},
|
|
5235
|
-
let f = new URL(
|
|
5236
|
-
fetch(f.href).then((
|
|
5237
|
-
|
|
5193
|
+
f.innerHTML = x, C.appendChild(f);
|
|
5194
|
+
}, an = () => {
|
|
5195
|
+
let f = new URL(I), S = document.createElement("style");
|
|
5196
|
+
fetch(f.href).then((P) => P.text()).then((P) => {
|
|
5197
|
+
S.innerHTML = P, setTimeout(
|
|
5238
5198
|
() => {
|
|
5239
|
-
|
|
5199
|
+
C.appendChild(S);
|
|
5240
5200
|
},
|
|
5241
5201
|
1
|
|
5242
5202
|
), setTimeout(
|
|
@@ -5246,109 +5206,107 @@ function bo(e, t, r) {
|
|
|
5246
5206
|
);
|
|
5247
5207
|
});
|
|
5248
5208
|
};
|
|
5249
|
-
|
|
5250
|
-
window.removeEventListener("message",
|
|
5209
|
+
Tn(() => (window.addEventListener("message", It, !1), () => {
|
|
5210
|
+
window.removeEventListener("message", It);
|
|
5251
5211
|
}));
|
|
5252
|
-
function
|
|
5253
|
-
|
|
5254
|
-
|
|
5212
|
+
function un(f) {
|
|
5213
|
+
Ce[f ? "unshift" : "push"](() => {
|
|
5214
|
+
_e = f, r(32, _e);
|
|
5255
5215
|
});
|
|
5256
5216
|
}
|
|
5257
|
-
function
|
|
5258
|
-
|
|
5259
|
-
|
|
5217
|
+
function ln(f) {
|
|
5218
|
+
Ce[f ? "unshift" : "push"](() => {
|
|
5219
|
+
C = f, r(15, C);
|
|
5260
5220
|
});
|
|
5261
5221
|
}
|
|
5262
5222
|
return e.$$set = (f) => {
|
|
5263
|
-
"endpoint" in f && r(0, i = f.endpoint), "cmsendpoint" in f && r(
|
|
5223
|
+
"endpoint" in f && r(0, i = f.endpoint), "cmsendpoint" in f && r(36, s = f.cmsendpoint), "env" in f && r(37, o = f.env), "session" in f && r(1, a = f.session), "trackedanalyticsdata" in f && r(38, l = f.trackedanalyticsdata), "captchakey" in f && r(2, u = f.captchakey), "lang" in f && r(3, h = f.lang), "licenseyears" in f && r(4, c = f.licenseyears), "disabledfields" in f && r(5, p = f.disabledfields), "defaultoptions" in f && r(6, y = f.defaultoptions), "smsverification" in f && r(7, g = f.smsverification), "simplepasswordvalidation" in f && r(8, d = f.simplepasswordvalidation), "userroles" in f && r(39, b = f.userroles), "clientstyling" in f && r(9, x = f.clientstyling), "clientstylingurl" in f && r(10, I = f.clientstylingurl), "translationurl" in f && r(11, O = f.translationurl), "savecredentials" in f && r(12, D = f.savecredentials), "custominputtextswitch" in f && r(13, N = f.custominputtextswitch), "personalidlength" in f && r(14, R = f.personalidlength);
|
|
5264
5224
|
}, e.$$.update = () => {
|
|
5265
5225
|
e.$$.dirty[0] & /*endpoint*/
|
|
5266
|
-
1 && i &&
|
|
5226
|
+
1 && i && Qr(), e.$$.dirty[0] & /*lang*/
|
|
5267
5227
|
8 | e.$$.dirty[1] & /*cmsendpoint, env, userroles*/
|
|
5268
|
-
|
|
5269
|
-
|
|
5270
|
-
8 && h &&
|
|
5271
|
-
32 &&
|
|
5272
|
-
|
|
5273
|
-
|
|
5274
|
-
|
|
5228
|
+
352 && s && h && o && b && Yr(), e.$$.dirty[0] & /*playerid, session*/
|
|
5229
|
+
65538, e.$$.dirty[0] & /*lang*/
|
|
5230
|
+
8 && h && sn(), e.$$.dirty[0] & /*disabledfields*/
|
|
5231
|
+
32 && p && rn(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5232
|
+
33280 && x && C && on(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5233
|
+
33792 && I && C && an(), e.$$.dirty[0] & /*translationurl*/
|
|
5234
|
+
2048 && O && qr();
|
|
5275
5235
|
}, [
|
|
5276
5236
|
i,
|
|
5277
5237
|
a,
|
|
5278
5238
|
u,
|
|
5279
5239
|
h,
|
|
5280
5240
|
c,
|
|
5281
|
-
|
|
5282
|
-
v,
|
|
5283
|
-
b,
|
|
5284
|
-
g,
|
|
5241
|
+
p,
|
|
5285
5242
|
y,
|
|
5286
|
-
|
|
5287
|
-
|
|
5243
|
+
g,
|
|
5244
|
+
d,
|
|
5245
|
+
x,
|
|
5246
|
+
I,
|
|
5247
|
+
O,
|
|
5288
5248
|
D,
|
|
5289
|
-
F,
|
|
5290
5249
|
N,
|
|
5291
|
-
|
|
5292
|
-
|
|
5293
|
-
|
|
5294
|
-
|
|
5295
|
-
|
|
5296
|
-
|
|
5297
|
-
|
|
5298
|
-
|
|
5299
|
-
|
|
5250
|
+
R,
|
|
5251
|
+
C,
|
|
5252
|
+
yt,
|
|
5253
|
+
Ue,
|
|
5254
|
+
le,
|
|
5255
|
+
be,
|
|
5256
|
+
Ge,
|
|
5257
|
+
ke,
|
|
5258
|
+
_t,
|
|
5259
|
+
Et,
|
|
5260
|
+
wt,
|
|
5261
|
+
je,
|
|
5300
5262
|
Ht,
|
|
5301
5263
|
Bt,
|
|
5302
|
-
|
|
5264
|
+
At,
|
|
5265
|
+
Ot,
|
|
5266
|
+
ve,
|
|
5303
5267
|
Ct,
|
|
5304
|
-
|
|
5305
|
-
It,
|
|
5306
|
-
Nt,
|
|
5307
|
-
Se,
|
|
5308
|
-
Mt,
|
|
5309
|
-
xe,
|
|
5268
|
+
_e,
|
|
5310
5269
|
n,
|
|
5311
|
-
|
|
5312
|
-
|
|
5270
|
+
Jr,
|
|
5271
|
+
nn,
|
|
5313
5272
|
s,
|
|
5314
5273
|
o,
|
|
5315
5274
|
l,
|
|
5316
|
-
|
|
5317
|
-
|
|
5318
|
-
|
|
5275
|
+
b,
|
|
5276
|
+
un,
|
|
5277
|
+
ln
|
|
5319
5278
|
];
|
|
5320
5279
|
}
|
|
5321
|
-
class
|
|
5280
|
+
class Zr extends Dn {
|
|
5322
5281
|
constructor(t) {
|
|
5323
|
-
super(),
|
|
5282
|
+
super(), Nn(
|
|
5324
5283
|
this,
|
|
5325
5284
|
t,
|
|
5326
|
-
|
|
5327
|
-
|
|
5328
|
-
|
|
5285
|
+
Js,
|
|
5286
|
+
Ws,
|
|
5287
|
+
mr,
|
|
5329
5288
|
{
|
|
5330
5289
|
endpoint: 0,
|
|
5331
|
-
cmsendpoint:
|
|
5332
|
-
env:
|
|
5290
|
+
cmsendpoint: 36,
|
|
5291
|
+
env: 37,
|
|
5333
5292
|
session: 1,
|
|
5334
|
-
trackedanalyticsdata:
|
|
5293
|
+
trackedanalyticsdata: 38,
|
|
5335
5294
|
captchakey: 2,
|
|
5336
5295
|
lang: 3,
|
|
5337
5296
|
licenseyears: 4,
|
|
5338
5297
|
disabledfields: 5,
|
|
5339
5298
|
defaultoptions: 6,
|
|
5340
|
-
|
|
5341
|
-
|
|
5342
|
-
|
|
5343
|
-
|
|
5344
|
-
|
|
5345
|
-
|
|
5346
|
-
|
|
5347
|
-
|
|
5348
|
-
|
|
5349
|
-
personalidlength: 15
|
|
5299
|
+
smsverification: 7,
|
|
5300
|
+
simplepasswordvalidation: 8,
|
|
5301
|
+
userroles: 39,
|
|
5302
|
+
clientstyling: 9,
|
|
5303
|
+
clientstylingurl: 10,
|
|
5304
|
+
translationurl: 11,
|
|
5305
|
+
savecredentials: 12,
|
|
5306
|
+
custominputtextswitch: 13,
|
|
5307
|
+
personalidlength: 14
|
|
5350
5308
|
},
|
|
5351
|
-
|
|
5309
|
+
ks,
|
|
5352
5310
|
[-1, -1, -1]
|
|
5353
5311
|
);
|
|
5354
5312
|
}
|
|
@@ -5356,162 +5314,156 @@ class gn extends ii {
|
|
|
5356
5314
|
return this.$$.ctx[0];
|
|
5357
5315
|
}
|
|
5358
5316
|
set endpoint(t) {
|
|
5359
|
-
this.$$set({ endpoint: t }),
|
|
5317
|
+
this.$$set({ endpoint: t }), A();
|
|
5360
5318
|
}
|
|
5361
5319
|
get cmsendpoint() {
|
|
5362
|
-
return this.$$.ctx[
|
|
5320
|
+
return this.$$.ctx[36];
|
|
5363
5321
|
}
|
|
5364
5322
|
set cmsendpoint(t) {
|
|
5365
|
-
this.$$set({ cmsendpoint: t }),
|
|
5323
|
+
this.$$set({ cmsendpoint: t }), A();
|
|
5366
5324
|
}
|
|
5367
5325
|
get env() {
|
|
5368
|
-
return this.$$.ctx[
|
|
5326
|
+
return this.$$.ctx[37];
|
|
5369
5327
|
}
|
|
5370
5328
|
set env(t) {
|
|
5371
|
-
this.$$set({ env: t }),
|
|
5329
|
+
this.$$set({ env: t }), A();
|
|
5372
5330
|
}
|
|
5373
5331
|
get session() {
|
|
5374
5332
|
return this.$$.ctx[1];
|
|
5375
5333
|
}
|
|
5376
5334
|
set session(t) {
|
|
5377
|
-
this.$$set({ session: t }),
|
|
5335
|
+
this.$$set({ session: t }), A();
|
|
5378
5336
|
}
|
|
5379
5337
|
get trackedanalyticsdata() {
|
|
5380
|
-
return this.$$.ctx[
|
|
5338
|
+
return this.$$.ctx[38];
|
|
5381
5339
|
}
|
|
5382
5340
|
set trackedanalyticsdata(t) {
|
|
5383
|
-
this.$$set({ trackedanalyticsdata: t }),
|
|
5341
|
+
this.$$set({ trackedanalyticsdata: t }), A();
|
|
5384
5342
|
}
|
|
5385
5343
|
get captchakey() {
|
|
5386
5344
|
return this.$$.ctx[2];
|
|
5387
5345
|
}
|
|
5388
5346
|
set captchakey(t) {
|
|
5389
|
-
this.$$set({ captchakey: t }),
|
|
5347
|
+
this.$$set({ captchakey: t }), A();
|
|
5390
5348
|
}
|
|
5391
5349
|
get lang() {
|
|
5392
5350
|
return this.$$.ctx[3];
|
|
5393
5351
|
}
|
|
5394
5352
|
set lang(t) {
|
|
5395
|
-
this.$$set({ lang: t }),
|
|
5353
|
+
this.$$set({ lang: t }), A();
|
|
5396
5354
|
}
|
|
5397
5355
|
get licenseyears() {
|
|
5398
5356
|
return this.$$.ctx[4];
|
|
5399
5357
|
}
|
|
5400
5358
|
set licenseyears(t) {
|
|
5401
|
-
this.$$set({ licenseyears: t }),
|
|
5359
|
+
this.$$set({ licenseyears: t }), A();
|
|
5402
5360
|
}
|
|
5403
5361
|
get disabledfields() {
|
|
5404
5362
|
return this.$$.ctx[5];
|
|
5405
5363
|
}
|
|
5406
5364
|
set disabledfields(t) {
|
|
5407
|
-
this.$$set({ disabledfields: t }),
|
|
5365
|
+
this.$$set({ disabledfields: t }), A();
|
|
5408
5366
|
}
|
|
5409
5367
|
get defaultoptions() {
|
|
5410
5368
|
return this.$$.ctx[6];
|
|
5411
5369
|
}
|
|
5412
5370
|
set defaultoptions(t) {
|
|
5413
|
-
this.$$set({ defaultoptions: t }),
|
|
5414
|
-
}
|
|
5415
|
-
get dummydata() {
|
|
5416
|
-
return this.$$.ctx[7];
|
|
5417
|
-
}
|
|
5418
|
-
set dummydata(t) {
|
|
5419
|
-
this.$$set({ dummydata: t }), O();
|
|
5371
|
+
this.$$set({ defaultoptions: t }), A();
|
|
5420
5372
|
}
|
|
5421
5373
|
get smsverification() {
|
|
5422
|
-
return this.$$.ctx[
|
|
5374
|
+
return this.$$.ctx[7];
|
|
5423
5375
|
}
|
|
5424
5376
|
set smsverification(t) {
|
|
5425
|
-
this.$$set({ smsverification: t }),
|
|
5377
|
+
this.$$set({ smsverification: t }), A();
|
|
5426
5378
|
}
|
|
5427
5379
|
get simplepasswordvalidation() {
|
|
5428
|
-
return this.$$.ctx[
|
|
5380
|
+
return this.$$.ctx[8];
|
|
5429
5381
|
}
|
|
5430
5382
|
set simplepasswordvalidation(t) {
|
|
5431
|
-
this.$$set({ simplepasswordvalidation: t }),
|
|
5383
|
+
this.$$set({ simplepasswordvalidation: t }), A();
|
|
5432
5384
|
}
|
|
5433
5385
|
get userroles() {
|
|
5434
|
-
return this.$$.ctx[
|
|
5386
|
+
return this.$$.ctx[39];
|
|
5435
5387
|
}
|
|
5436
5388
|
set userroles(t) {
|
|
5437
|
-
this.$$set({ userroles: t }),
|
|
5389
|
+
this.$$set({ userroles: t }), A();
|
|
5438
5390
|
}
|
|
5439
5391
|
get clientstyling() {
|
|
5440
|
-
return this.$$.ctx[
|
|
5392
|
+
return this.$$.ctx[9];
|
|
5441
5393
|
}
|
|
5442
5394
|
set clientstyling(t) {
|
|
5443
|
-
this.$$set({ clientstyling: t }),
|
|
5395
|
+
this.$$set({ clientstyling: t }), A();
|
|
5444
5396
|
}
|
|
5445
5397
|
get clientstylingurl() {
|
|
5446
|
-
return this.$$.ctx[
|
|
5398
|
+
return this.$$.ctx[10];
|
|
5447
5399
|
}
|
|
5448
5400
|
set clientstylingurl(t) {
|
|
5449
|
-
this.$$set({ clientstylingurl: t }),
|
|
5401
|
+
this.$$set({ clientstylingurl: t }), A();
|
|
5450
5402
|
}
|
|
5451
5403
|
get translationurl() {
|
|
5452
|
-
return this.$$.ctx[
|
|
5404
|
+
return this.$$.ctx[11];
|
|
5453
5405
|
}
|
|
5454
5406
|
set translationurl(t) {
|
|
5455
|
-
this.$$set({ translationurl: t }),
|
|
5407
|
+
this.$$set({ translationurl: t }), A();
|
|
5456
5408
|
}
|
|
5457
5409
|
get savecredentials() {
|
|
5458
|
-
return this.$$.ctx[
|
|
5410
|
+
return this.$$.ctx[12];
|
|
5459
5411
|
}
|
|
5460
5412
|
set savecredentials(t) {
|
|
5461
|
-
this.$$set({ savecredentials: t }),
|
|
5413
|
+
this.$$set({ savecredentials: t }), A();
|
|
5462
5414
|
}
|
|
5463
5415
|
get custominputtextswitch() {
|
|
5464
|
-
return this.$$.ctx[
|
|
5416
|
+
return this.$$.ctx[13];
|
|
5465
5417
|
}
|
|
5466
5418
|
set custominputtextswitch(t) {
|
|
5467
|
-
this.$$set({ custominputtextswitch: t }),
|
|
5419
|
+
this.$$set({ custominputtextswitch: t }), A();
|
|
5468
5420
|
}
|
|
5469
5421
|
get personalidlength() {
|
|
5470
|
-
return this.$$.ctx[
|
|
5422
|
+
return this.$$.ctx[14];
|
|
5471
5423
|
}
|
|
5472
5424
|
set personalidlength(t) {
|
|
5473
|
-
this.$$set({ personalidlength: t }),
|
|
5425
|
+
this.$$set({ personalidlength: t }), A();
|
|
5474
5426
|
}
|
|
5475
5427
|
}
|
|
5476
|
-
|
|
5477
|
-
const
|
|
5428
|
+
Mn(Zr, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, trackedanalyticsdata: {}, captchakey: {}, lang: {}, licenseyears: {}, disabledfields: {}, defaultoptions: {}, smsverification: {}, simplepasswordvalidation: {}, userroles: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, custominputtextswitch: {}, personalidlength: {} }, [], [], !0);
|
|
5429
|
+
const so = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5478
5430
|
__proto__: null,
|
|
5479
|
-
default:
|
|
5431
|
+
default: Zr
|
|
5480
5432
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
5481
5433
|
export {
|
|
5482
|
-
|
|
5483
|
-
|
|
5484
|
-
|
|
5485
|
-
|
|
5486
|
-
|
|
5487
|
-
|
|
5488
|
-
|
|
5489
|
-
|
|
5490
|
-
|
|
5491
|
-
|
|
5492
|
-
|
|
5493
|
-
|
|
5494
|
-
|
|
5495
|
-
|
|
5496
|
-
|
|
5497
|
-
|
|
5498
|
-
|
|
5499
|
-
|
|
5500
|
-
|
|
5501
|
-
|
|
5502
|
-
|
|
5503
|
-
|
|
5504
|
-
|
|
5505
|
-
|
|
5506
|
-
|
|
5507
|
-
|
|
5508
|
-
|
|
5509
|
-
|
|
5510
|
-
|
|
5511
|
-
|
|
5512
|
-
|
|
5513
|
-
|
|
5514
|
-
|
|
5515
|
-
|
|
5516
|
-
|
|
5434
|
+
Z as $,
|
|
5435
|
+
eo as A,
|
|
5436
|
+
_n as B,
|
|
5437
|
+
no as C,
|
|
5438
|
+
ae as D,
|
|
5439
|
+
Ks as E,
|
|
5440
|
+
Ys as F,
|
|
5441
|
+
so as G,
|
|
5442
|
+
Dn as S,
|
|
5443
|
+
$r as a,
|
|
5444
|
+
bn as b,
|
|
5445
|
+
Mn as c,
|
|
5446
|
+
G as d,
|
|
5447
|
+
B as e,
|
|
5448
|
+
A as f,
|
|
5449
|
+
T as g,
|
|
5450
|
+
U as h,
|
|
5451
|
+
Nn as i,
|
|
5452
|
+
E as j,
|
|
5453
|
+
to as k,
|
|
5454
|
+
En as l,
|
|
5455
|
+
K as m,
|
|
5456
|
+
k as n,
|
|
5457
|
+
M as o,
|
|
5458
|
+
gn as p,
|
|
5459
|
+
Tn as q,
|
|
5460
|
+
ge as r,
|
|
5461
|
+
mr as s,
|
|
5462
|
+
$ as t,
|
|
5463
|
+
Ce as u,
|
|
5464
|
+
Se as v,
|
|
5465
|
+
Fs as w,
|
|
5466
|
+
Ke as x,
|
|
5467
|
+
ro as y,
|
|
5468
|
+
io as z
|
|
5517
5469
|
};
|