@everymatrix/general-player-login-form 1.87.26 → 1.87.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{GeneralPlayerLoginForm-Btnp3D-4.js → GeneralPlayerLoginForm-CwQxbAh_.js} +800 -772
- package/components/{GeneralPlayerLoginForm-DPsX1pnl.js → GeneralPlayerLoginForm-fh6xw16x.js} +829 -800
- package/components/GeneralPlayerLoginForm-qiA6vKLG.cjs +18 -0
- package/components/{GeneralPlayerSmsVerificationForm-RyF4EBVf.js → GeneralPlayerSmsVerificationForm-CjFLZwH3.js} +167 -167
- package/components/{GeneralPlayerSmsVerificationForm-DQys_RhZ.js → GeneralPlayerSmsVerificationForm-DZpucIO0.js} +175 -175
- package/components/GeneralPlayerSmsVerificationForm-Dh-6Oasd.cjs +1 -0
- package/es2015/general-player-login-form.cjs +1 -1
- package/es2015/general-player-login-form.js +1 -1
- package/esnext/general-player-login-form.js +1 -1
- package/package.json +1 -1
- package/components/GeneralPlayerLoginForm-BKduHUxH.cjs +0 -18
- package/components/GeneralPlayerSmsVerificationForm-B3frbGsV.cjs +0 -1
package/components/{GeneralPlayerLoginForm-DPsX1pnl.js → GeneralPlayerLoginForm-fh6xw16x.js}
RENAMED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var bn = Object.defineProperty, vn = Object.defineProperties;
|
|
2
|
+
var yn = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var Kt = Object.getOwnPropertySymbols;
|
|
4
|
+
var _n = Object.prototype.hasOwnProperty, En = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Et = (e, t, r) => t in e ? bn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, er = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
_n.call(t, r) && Et(e, r, t[r]);
|
|
8
|
+
if (Kt)
|
|
9
|
+
for (var r of Kt(t))
|
|
10
|
+
En.call(t, r) && Et(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var
|
|
14
|
-
var
|
|
12
|
+
}, tr = (e, t) => vn(e, yn(t));
|
|
13
|
+
var Y = (e, t, r) => (Et(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var tt = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (u) => {
|
|
16
16
|
try {
|
|
17
17
|
a(r.next(u));
|
|
@@ -29,29 +29,29 @@ var et = (e, t, r) => new Promise((n, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
function Z() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function Cr(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function rr() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
38
|
function Me(e) {
|
|
39
|
-
e.forEach(
|
|
39
|
+
e.forEach(Cr);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function Wt(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function Lr(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 rt;
|
|
48
|
+
function nr(e, t) {
|
|
49
|
+
return e === t ? !0 : (rt || (rt = document.createElement("a")), rt.href = t, e === rt.href);
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function wn(e) {
|
|
52
52
|
return Object.keys(e).length === 0;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function Mr(e, ...t) {
|
|
55
55
|
if (e == null) {
|
|
56
56
|
for (const n of t)
|
|
57
57
|
n(void 0);
|
|
@@ -60,20 +60,20 @@ function Lr(e, ...t) {
|
|
|
60
60
|
const r = e.subscribe(...t);
|
|
61
61
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
64
|
-
e.$$.on_destroy.push(
|
|
63
|
+
function xn(e, t, r) {
|
|
64
|
+
e.$$.on_destroy.push(Mr(t, r));
|
|
65
65
|
}
|
|
66
66
|
function p(e, t) {
|
|
67
67
|
e.appendChild(t);
|
|
68
68
|
}
|
|
69
|
-
function
|
|
70
|
-
const n =
|
|
69
|
+
function Sn(e, t, r) {
|
|
70
|
+
const n = Pn(e);
|
|
71
71
|
if (!n.getElementById(t)) {
|
|
72
72
|
const i = w("style");
|
|
73
|
-
i.id = t, i.textContent = r,
|
|
73
|
+
i.id = t, i.textContent = r, Tn(n, i);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function Pn(e) {
|
|
77
77
|
if (!e)
|
|
78
78
|
return document;
|
|
79
79
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -83,7 +83,7 @@ function xn(e) {
|
|
|
83
83
|
t
|
|
84
84
|
) : e.ownerDocument;
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function Tn(e, t) {
|
|
87
87
|
return p(
|
|
88
88
|
/** @type {Document} */
|
|
89
89
|
e.head || e,
|
|
@@ -93,7 +93,7 @@ function Sn(e, t) {
|
|
|
93
93
|
function M(e, t, r) {
|
|
94
94
|
e.insertBefore(t, r || null);
|
|
95
95
|
}
|
|
96
|
-
function
|
|
96
|
+
function O(e) {
|
|
97
97
|
e.parentNode && e.parentNode.removeChild(e);
|
|
98
98
|
}
|
|
99
99
|
function w(e) {
|
|
@@ -108,7 +108,7 @@ function N(e) {
|
|
|
108
108
|
function j() {
|
|
109
109
|
return N(" ");
|
|
110
110
|
}
|
|
111
|
-
function
|
|
111
|
+
function Bn() {
|
|
112
112
|
return N("");
|
|
113
113
|
}
|
|
114
114
|
function ae(e, t, r, n) {
|
|
@@ -121,17 +121,17 @@ function W(e, t, r) {
|
|
|
121
121
|
const n = t.toLowerCase();
|
|
122
122
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : h(e, t, r);
|
|
123
123
|
}
|
|
124
|
-
function
|
|
124
|
+
function Hn(e) {
|
|
125
125
|
return Array.from(e.childNodes);
|
|
126
126
|
}
|
|
127
127
|
function re(e, t) {
|
|
128
128
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
129
129
|
t);
|
|
130
130
|
}
|
|
131
|
-
function
|
|
131
|
+
function nt(e, t) {
|
|
132
132
|
e.value = t == null ? "" : t;
|
|
133
133
|
}
|
|
134
|
-
function
|
|
134
|
+
function An(e) {
|
|
135
135
|
const t = {};
|
|
136
136
|
return e.childNodes.forEach(
|
|
137
137
|
/** @param {Element} node */
|
|
@@ -140,87 +140,87 @@ function Bn(e) {
|
|
|
140
140
|
}
|
|
141
141
|
), t;
|
|
142
142
|
}
|
|
143
|
-
let
|
|
144
|
-
function
|
|
145
|
-
|
|
143
|
+
let We;
|
|
144
|
+
function Xe(e) {
|
|
145
|
+
We = e;
|
|
146
146
|
}
|
|
147
|
-
function
|
|
148
|
-
if (!
|
|
147
|
+
function In() {
|
|
148
|
+
if (!We)
|
|
149
149
|
throw new Error("Function called outside component initialization");
|
|
150
|
-
return
|
|
150
|
+
return We;
|
|
151
151
|
}
|
|
152
|
-
function
|
|
153
|
-
|
|
152
|
+
function On(e) {
|
|
153
|
+
In().$$.on_mount.push(e);
|
|
154
154
|
}
|
|
155
|
-
const
|
|
155
|
+
const Be = [], ct = [];
|
|
156
156
|
let Ae = [];
|
|
157
|
-
const
|
|
158
|
-
let
|
|
159
|
-
function
|
|
160
|
-
|
|
157
|
+
const ir = [], Cn = /* @__PURE__ */ Promise.resolve();
|
|
158
|
+
let It = !1;
|
|
159
|
+
function Ln() {
|
|
160
|
+
It || (It = !0, Cn.then(K));
|
|
161
161
|
}
|
|
162
|
-
function
|
|
162
|
+
function Ot(e) {
|
|
163
163
|
Ae.push(e);
|
|
164
164
|
}
|
|
165
|
-
const
|
|
166
|
-
let
|
|
167
|
-
function
|
|
168
|
-
if (
|
|
165
|
+
const wt = /* @__PURE__ */ new Set();
|
|
166
|
+
let Pe = 0;
|
|
167
|
+
function K() {
|
|
168
|
+
if (Pe !== 0)
|
|
169
169
|
return;
|
|
170
|
-
const e =
|
|
170
|
+
const e = We;
|
|
171
171
|
do {
|
|
172
172
|
try {
|
|
173
|
-
for (;
|
|
174
|
-
const t =
|
|
175
|
-
|
|
173
|
+
for (; Pe < Be.length; ) {
|
|
174
|
+
const t = Be[Pe];
|
|
175
|
+
Pe++, Xe(t), Mn(t.$$);
|
|
176
176
|
}
|
|
177
177
|
} catch (t) {
|
|
178
|
-
throw
|
|
178
|
+
throw Be.length = 0, Pe = 0, t;
|
|
179
179
|
}
|
|
180
|
-
for (
|
|
181
|
-
|
|
180
|
+
for (Xe(null), Be.length = 0, Pe = 0; ct.length; )
|
|
181
|
+
ct.pop()();
|
|
182
182
|
for (let t = 0; t < Ae.length; t += 1) {
|
|
183
183
|
const r = Ae[t];
|
|
184
|
-
|
|
184
|
+
wt.has(r) || (wt.add(r), r());
|
|
185
185
|
}
|
|
186
186
|
Ae.length = 0;
|
|
187
|
-
} while (
|
|
188
|
-
for (;
|
|
189
|
-
|
|
190
|
-
|
|
187
|
+
} while (Be.length);
|
|
188
|
+
for (; ir.length; )
|
|
189
|
+
ir.pop()();
|
|
190
|
+
It = !1, wt.clear(), Xe(e);
|
|
191
191
|
}
|
|
192
|
-
function
|
|
192
|
+
function Mn(e) {
|
|
193
193
|
if (e.fragment !== null) {
|
|
194
194
|
e.update(), Me(e.before_update);
|
|
195
195
|
const t = e.dirty;
|
|
196
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
196
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ot);
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
|
-
function
|
|
199
|
+
function Nn(e) {
|
|
200
200
|
const t = [], r = [];
|
|
201
201
|
Ae.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Ae = t;
|
|
202
202
|
}
|
|
203
|
-
const
|
|
204
|
-
function
|
|
205
|
-
e && e.i && (
|
|
203
|
+
const Rn = /* @__PURE__ */ new Set();
|
|
204
|
+
function Un(e, t) {
|
|
205
|
+
e && e.i && (Rn.delete(e), e.i(t));
|
|
206
206
|
}
|
|
207
|
-
function
|
|
207
|
+
function Fn(e, t, r) {
|
|
208
208
|
const { fragment: n, after_update: i } = e.$$;
|
|
209
|
-
n && n.m(t, r),
|
|
210
|
-
const o = e.$$.on_mount.map(
|
|
209
|
+
n && n.m(t, r), Ot(() => {
|
|
210
|
+
const o = e.$$.on_mount.map(Cr).filter(Wt);
|
|
211
211
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Me(o), e.$$.on_mount = [];
|
|
212
|
-
}), i.forEach(
|
|
212
|
+
}), i.forEach(Ot);
|
|
213
213
|
}
|
|
214
|
-
function
|
|
214
|
+
function Dn(e, t) {
|
|
215
215
|
const r = e.$$;
|
|
216
|
-
r.fragment !== null && (
|
|
216
|
+
r.fragment !== null && (Nn(r.after_update), Me(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
217
217
|
}
|
|
218
|
-
function
|
|
219
|
-
e.$$.dirty[0] === -1 && (
|
|
218
|
+
function kn(e, t) {
|
|
219
|
+
e.$$.dirty[0] === -1 && (Be.push(e), Ln(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
220
220
|
}
|
|
221
|
-
function
|
|
222
|
-
const u =
|
|
223
|
-
|
|
221
|
+
function $n(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
222
|
+
const u = We;
|
|
223
|
+
Xe(e);
|
|
224
224
|
const l = e.$$ = {
|
|
225
225
|
fragment: null,
|
|
226
226
|
ctx: [],
|
|
@@ -228,7 +228,7 @@ function Dn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
228
228
|
props: o,
|
|
229
229
|
update: Z,
|
|
230
230
|
not_equal: i,
|
|
231
|
-
bound:
|
|
231
|
+
bound: rr(),
|
|
232
232
|
// lifecycle
|
|
233
233
|
on_mount: [],
|
|
234
234
|
on_destroy: [],
|
|
@@ -237,7 +237,7 @@ function Dn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
237
237
|
after_update: [],
|
|
238
238
|
context: new Map(t.context || (u ? u.$$.context : [])),
|
|
239
239
|
// everything else
|
|
240
|
-
callbacks:
|
|
240
|
+
callbacks: rr(),
|
|
241
241
|
dirty: a,
|
|
242
242
|
skip_bound: !1,
|
|
243
243
|
root: t.target || u.$$.root
|
|
@@ -246,39 +246,39 @@ function Dn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
246
246
|
let c = !1;
|
|
247
247
|
if (l.ctx = r ? r(e, t.props || {}, (f, d, ...b) => {
|
|
248
248
|
const y = b.length ? b[0] : d;
|
|
249
|
-
return l.ctx && i(l.ctx[f], l.ctx[f] = y) && (!l.skip_bound && l.bound[f] && l.bound[f](y), c &&
|
|
249
|
+
return l.ctx && i(l.ctx[f], l.ctx[f] = y) && (!l.skip_bound && l.bound[f] && l.bound[f](y), c && kn(e, f)), d;
|
|
250
250
|
}) : [], l.update(), c = !0, Me(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
|
251
251
|
if (t.hydrate) {
|
|
252
|
-
const f =
|
|
253
|
-
l.fragment && l.fragment.l(f), f.forEach(
|
|
252
|
+
const f = Hn(t.target);
|
|
253
|
+
l.fragment && l.fragment.l(f), f.forEach(O);
|
|
254
254
|
} else
|
|
255
255
|
l.fragment && l.fragment.c();
|
|
256
|
-
t.intro &&
|
|
256
|
+
t.intro && Un(e.$$.fragment), Fn(e, t.target, t.anchor), K();
|
|
257
257
|
}
|
|
258
|
-
|
|
258
|
+
Xe(u);
|
|
259
259
|
}
|
|
260
|
-
let
|
|
261
|
-
typeof HTMLElement == "function" && (
|
|
260
|
+
let Nr;
|
|
261
|
+
typeof HTMLElement == "function" && (Nr = class extends HTMLElement {
|
|
262
262
|
constructor(t, r, n) {
|
|
263
263
|
super();
|
|
264
264
|
/** The Svelte component constructor */
|
|
265
|
-
|
|
265
|
+
Y(this, "$$ctor");
|
|
266
266
|
/** Slots */
|
|
267
|
-
|
|
267
|
+
Y(this, "$$s");
|
|
268
268
|
/** The Svelte component instance */
|
|
269
|
-
|
|
269
|
+
Y(this, "$$c");
|
|
270
270
|
/** Whether or not the custom element is connected */
|
|
271
|
-
|
|
271
|
+
Y(this, "$$cn", !1);
|
|
272
272
|
/** Component props data */
|
|
273
|
-
|
|
273
|
+
Y(this, "$$d", {});
|
|
274
274
|
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
275
|
-
|
|
275
|
+
Y(this, "$$r", !1);
|
|
276
276
|
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
277
|
-
|
|
277
|
+
Y(this, "$$p_d", {});
|
|
278
278
|
/** @type {Record<string, Function[]>} Event listeners */
|
|
279
|
-
|
|
279
|
+
Y(this, "$$l", {});
|
|
280
280
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
281
|
-
|
|
281
|
+
Y(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
282
282
|
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
|
283
283
|
}
|
|
284
284
|
addEventListener(t, r, n) {
|
|
@@ -295,7 +295,7 @@ typeof HTMLElement == "function" && (Mr = class extends HTMLElement {
|
|
|
295
295
|
}
|
|
296
296
|
}
|
|
297
297
|
connectedCallback() {
|
|
298
|
-
return
|
|
298
|
+
return tt(this, null, function* () {
|
|
299
299
|
if (this.$$cn = !0, !this.$$c) {
|
|
300
300
|
let t = function(o) {
|
|
301
301
|
return () => {
|
|
@@ -312,25 +312,25 @@ typeof HTMLElement == "function" && (Mr = class extends HTMLElement {
|
|
|
312
312
|
M(l, s, c);
|
|
313
313
|
},
|
|
314
314
|
d: function(l) {
|
|
315
|
-
l &&
|
|
315
|
+
l && O(s);
|
|
316
316
|
}
|
|
317
317
|
};
|
|
318
318
|
};
|
|
319
319
|
};
|
|
320
320
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
321
321
|
return;
|
|
322
|
-
const r = {}, n =
|
|
322
|
+
const r = {}, n = An(this);
|
|
323
323
|
for (const o of this.$$s)
|
|
324
324
|
o in n && (r[o] = [t(o)]);
|
|
325
325
|
for (const o of this.attributes) {
|
|
326
326
|
const s = this.$$g_p(o.name);
|
|
327
|
-
s in this.$$d || (this.$$d[s] =
|
|
327
|
+
s in this.$$d || (this.$$d[s] = st(s, o.value, this.$$p_d, "toProp"));
|
|
328
328
|
}
|
|
329
329
|
for (const o in this.$$p_d)
|
|
330
330
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
331
331
|
this.$$c = new this.$$ctor({
|
|
332
332
|
target: this.shadowRoot || this,
|
|
333
|
-
props: er(
|
|
333
|
+
props: tr(er({}, this.$$d), {
|
|
334
334
|
$$slots: r,
|
|
335
335
|
$$scope: {
|
|
336
336
|
ctx: []
|
|
@@ -341,7 +341,7 @@ typeof HTMLElement == "function" && (Mr = class extends HTMLElement {
|
|
|
341
341
|
this.$$r = !0;
|
|
342
342
|
for (const o in this.$$p_d)
|
|
343
343
|
if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
|
|
344
|
-
const s =
|
|
344
|
+
const s = st(
|
|
345
345
|
o,
|
|
346
346
|
this.$$d[o],
|
|
347
347
|
this.$$p_d,
|
|
@@ -365,7 +365,7 @@ typeof HTMLElement == "function" && (Mr = class extends HTMLElement {
|
|
|
365
365
|
// and setting attributes through setAttribute etc, this is helpful
|
|
366
366
|
attributeChangedCallback(t, r, n) {
|
|
367
367
|
var i;
|
|
368
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
|
368
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = st(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
369
369
|
}
|
|
370
370
|
disconnectedCallback() {
|
|
371
371
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -378,7 +378,7 @@ typeof HTMLElement == "function" && (Mr = class extends HTMLElement {
|
|
|
378
378
|
) || t;
|
|
379
379
|
}
|
|
380
380
|
});
|
|
381
|
-
function
|
|
381
|
+
function st(e, t, r, n) {
|
|
382
382
|
var o;
|
|
383
383
|
const i = (o = r[e]) == null ? void 0 : o.type;
|
|
384
384
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
@@ -408,8 +408,8 @@ function ot(e, t, r, n) {
|
|
|
408
408
|
return t;
|
|
409
409
|
}
|
|
410
410
|
}
|
|
411
|
-
function
|
|
412
|
-
let s = class extends
|
|
411
|
+
function Gn(e, t, r, n, i, o) {
|
|
412
|
+
let s = class extends Nr {
|
|
413
413
|
constructor() {
|
|
414
414
|
super(e, r, i), this.$$p_d = t;
|
|
415
415
|
}
|
|
@@ -426,7 +426,7 @@ function kn(e, t, r, n, i, o) {
|
|
|
426
426
|
},
|
|
427
427
|
set(u) {
|
|
428
428
|
var l;
|
|
429
|
-
u =
|
|
429
|
+
u = st(a, u, t), this.$$d[a] = u, (l = this.$$c) == null || l.$set({ [a]: u });
|
|
430
430
|
}
|
|
431
431
|
});
|
|
432
432
|
}), n.forEach((a) => {
|
|
@@ -439,7 +439,7 @@ function kn(e, t, r, n, i, o) {
|
|
|
439
439
|
}), e.element = /** @type {any} */
|
|
440
440
|
s, s;
|
|
441
441
|
}
|
|
442
|
-
class
|
|
442
|
+
class jn {
|
|
443
443
|
constructor() {
|
|
444
444
|
/**
|
|
445
445
|
* ### PRIVATE API
|
|
@@ -448,7 +448,7 @@ class $n {
|
|
|
448
448
|
*
|
|
449
449
|
* @type {any}
|
|
450
450
|
*/
|
|
451
|
-
|
|
451
|
+
Y(this, "$$");
|
|
452
452
|
/**
|
|
453
453
|
* ### PRIVATE API
|
|
454
454
|
*
|
|
@@ -456,11 +456,11 @@ class $n {
|
|
|
456
456
|
*
|
|
457
457
|
* @type {any}
|
|
458
458
|
*/
|
|
459
|
-
|
|
459
|
+
Y(this, "$$set");
|
|
460
460
|
}
|
|
461
461
|
/** @returns {void} */
|
|
462
462
|
$destroy() {
|
|
463
|
-
|
|
463
|
+
Dn(this, 1), this.$destroy = Z;
|
|
464
464
|
}
|
|
465
465
|
/**
|
|
466
466
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -469,7 +469,7 @@ class $n {
|
|
|
469
469
|
* @returns {() => void}
|
|
470
470
|
*/
|
|
471
471
|
$on(t, r) {
|
|
472
|
-
if (!
|
|
472
|
+
if (!Wt(r))
|
|
473
473
|
return Z;
|
|
474
474
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
475
475
|
return n.push(r), () => {
|
|
@@ -482,11 +482,11 @@ class $n {
|
|
|
482
482
|
* @returns {void}
|
|
483
483
|
*/
|
|
484
484
|
$set(t) {
|
|
485
|
-
this.$$set && !
|
|
485
|
+
this.$$set && !wn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
486
486
|
}
|
|
487
487
|
}
|
|
488
|
-
const
|
|
489
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
488
|
+
const Vn = "4";
|
|
489
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Vn);
|
|
490
490
|
/*! *****************************************************************************
|
|
491
491
|
Copyright (c) Microsoft Corporation.
|
|
492
492
|
|
|
@@ -501,24 +501,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
501
501
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
502
502
|
PERFORMANCE OF THIS SOFTWARE.
|
|
503
503
|
***************************************************************************** */
|
|
504
|
-
var
|
|
505
|
-
return
|
|
504
|
+
var Ct = function(e, t) {
|
|
505
|
+
return Ct = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
506
506
|
r.__proto__ = n;
|
|
507
507
|
} || function(r, n) {
|
|
508
508
|
for (var i in n)
|
|
509
509
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
510
|
-
},
|
|
510
|
+
}, Ct(e, t);
|
|
511
511
|
};
|
|
512
|
-
function
|
|
512
|
+
function Je(e, t) {
|
|
513
513
|
if (typeof t != "function" && t !== null)
|
|
514
514
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
515
|
-
|
|
515
|
+
Ct(e, t);
|
|
516
516
|
function r() {
|
|
517
517
|
this.constructor = e;
|
|
518
518
|
}
|
|
519
519
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
520
520
|
}
|
|
521
|
-
function
|
|
521
|
+
function Lt(e) {
|
|
522
522
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
523
523
|
if (r)
|
|
524
524
|
return r.call(e);
|
|
@@ -530,7 +530,7 @@ function Ct(e) {
|
|
|
530
530
|
};
|
|
531
531
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
532
532
|
}
|
|
533
|
-
function
|
|
533
|
+
function Mt(e, t) {
|
|
534
534
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
535
535
|
if (!r)
|
|
536
536
|
return e;
|
|
@@ -550,7 +550,7 @@ function Lt(e, t) {
|
|
|
550
550
|
}
|
|
551
551
|
return o;
|
|
552
552
|
}
|
|
553
|
-
function
|
|
553
|
+
function Nt(e, t, r) {
|
|
554
554
|
if (arguments.length === 2)
|
|
555
555
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
556
556
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
@@ -559,13 +559,13 @@ function Mt(e, t, r) {
|
|
|
559
559
|
function le(e) {
|
|
560
560
|
return typeof e == "function";
|
|
561
561
|
}
|
|
562
|
-
function
|
|
562
|
+
function Rr(e) {
|
|
563
563
|
var t = function(n) {
|
|
564
564
|
Error.call(n), n.stack = new Error().stack;
|
|
565
565
|
}, r = e(t);
|
|
566
566
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
567
567
|
}
|
|
568
|
-
var
|
|
568
|
+
var xt = Rr(function(e) {
|
|
569
569
|
return function(r) {
|
|
570
570
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
571
571
|
` + r.map(function(n, i) {
|
|
@@ -574,13 +574,13 @@ var wt = Nr(function(e) {
|
|
|
574
574
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
575
575
|
};
|
|
576
576
|
});
|
|
577
|
-
function
|
|
577
|
+
function Rt(e, t) {
|
|
578
578
|
if (e) {
|
|
579
579
|
var r = e.indexOf(t);
|
|
580
580
|
0 <= r && e.splice(r, 1);
|
|
581
581
|
}
|
|
582
582
|
}
|
|
583
|
-
var
|
|
583
|
+
var pt = function() {
|
|
584
584
|
function e(t) {
|
|
585
585
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
586
586
|
}
|
|
@@ -592,7 +592,7 @@ var dt = function() {
|
|
|
592
592
|
if (s)
|
|
593
593
|
if (this._parentage = null, Array.isArray(s))
|
|
594
594
|
try {
|
|
595
|
-
for (var a =
|
|
595
|
+
for (var a = Lt(s), u = a.next(); !u.done; u = a.next()) {
|
|
596
596
|
var l = u.value;
|
|
597
597
|
l.remove(this);
|
|
598
598
|
}
|
|
@@ -613,18 +613,18 @@ var dt = function() {
|
|
|
613
613
|
try {
|
|
614
614
|
c();
|
|
615
615
|
} catch (g) {
|
|
616
|
-
o = g instanceof
|
|
616
|
+
o = g instanceof xt ? g.errors : [g];
|
|
617
617
|
}
|
|
618
618
|
var f = this._finalizers;
|
|
619
619
|
if (f) {
|
|
620
620
|
this._finalizers = null;
|
|
621
621
|
try {
|
|
622
|
-
for (var d =
|
|
622
|
+
for (var d = Lt(f), b = d.next(); !b.done; b = d.next()) {
|
|
623
623
|
var y = b.value;
|
|
624
624
|
try {
|
|
625
|
-
|
|
625
|
+
or(y);
|
|
626
626
|
} catch (g) {
|
|
627
|
-
o = o != null ? o : [], g instanceof
|
|
627
|
+
o = o != null ? o : [], g instanceof xt ? o = Nt(Nt([], Mt(o)), Mt(g.errors)) : o.push(g);
|
|
628
628
|
}
|
|
629
629
|
}
|
|
630
630
|
} catch (g) {
|
|
@@ -639,13 +639,13 @@ var dt = function() {
|
|
|
639
639
|
}
|
|
640
640
|
}
|
|
641
641
|
if (o)
|
|
642
|
-
throw new
|
|
642
|
+
throw new xt(o);
|
|
643
643
|
}
|
|
644
644
|
}, e.prototype.add = function(t) {
|
|
645
645
|
var r;
|
|
646
646
|
if (t && t !== this)
|
|
647
647
|
if (this.closed)
|
|
648
|
-
|
|
648
|
+
or(t);
|
|
649
649
|
else {
|
|
650
650
|
if (t instanceof e) {
|
|
651
651
|
if (t.closed || t._hasParent(this))
|
|
@@ -662,52 +662,52 @@ var dt = function() {
|
|
|
662
662
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
663
663
|
}, e.prototype._removeParent = function(t) {
|
|
664
664
|
var r = this._parentage;
|
|
665
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
665
|
+
r === t ? this._parentage = null : Array.isArray(r) && Rt(r, t);
|
|
666
666
|
}, e.prototype.remove = function(t) {
|
|
667
667
|
var r = this._finalizers;
|
|
668
|
-
r &&
|
|
668
|
+
r && Rt(r, t), t instanceof e && t._removeParent(this);
|
|
669
669
|
}, e.EMPTY = function() {
|
|
670
670
|
var t = new e();
|
|
671
671
|
return t.closed = !0, t;
|
|
672
672
|
}(), e;
|
|
673
|
-
}(),
|
|
674
|
-
function
|
|
675
|
-
return e instanceof
|
|
673
|
+
}(), Ur = pt.EMPTY;
|
|
674
|
+
function Fr(e) {
|
|
675
|
+
return e instanceof pt || e && "closed" in e && le(e.remove) && le(e.add) && le(e.unsubscribe);
|
|
676
676
|
}
|
|
677
|
-
function
|
|
677
|
+
function or(e) {
|
|
678
678
|
le(e) ? e() : e.unsubscribe();
|
|
679
679
|
}
|
|
680
|
-
var
|
|
680
|
+
var zn = {
|
|
681
681
|
Promise: void 0
|
|
682
|
-
},
|
|
682
|
+
}, Xn = {
|
|
683
683
|
setTimeout: function(e, t) {
|
|
684
684
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
685
685
|
r[n - 2] = arguments[n];
|
|
686
|
-
return setTimeout.apply(void 0,
|
|
686
|
+
return setTimeout.apply(void 0, Nt([e, t], Mt(r)));
|
|
687
687
|
},
|
|
688
688
|
clearTimeout: function(e) {
|
|
689
689
|
return clearTimeout(e);
|
|
690
690
|
},
|
|
691
691
|
delegate: void 0
|
|
692
692
|
};
|
|
693
|
-
function
|
|
694
|
-
|
|
693
|
+
function Wn(e) {
|
|
694
|
+
Xn.setTimeout(function() {
|
|
695
695
|
throw e;
|
|
696
696
|
});
|
|
697
697
|
}
|
|
698
|
-
function
|
|
698
|
+
function sr() {
|
|
699
699
|
}
|
|
700
|
-
function
|
|
700
|
+
function at(e) {
|
|
701
701
|
e();
|
|
702
702
|
}
|
|
703
|
-
var
|
|
704
|
-
|
|
703
|
+
var Dr = function(e) {
|
|
704
|
+
Je(t, e);
|
|
705
705
|
function t(r) {
|
|
706
706
|
var n = e.call(this) || this;
|
|
707
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
707
|
+
return n.isStopped = !1, r ? (n.destination = r, Fr(r) && r.add(n)) : n.destination = Jn, n;
|
|
708
708
|
}
|
|
709
709
|
return t.create = function(r, n, i) {
|
|
710
|
-
return new
|
|
710
|
+
return new Ut(r, n, i);
|
|
711
711
|
}, t.prototype.next = function(r) {
|
|
712
712
|
this.isStopped || this._next(r);
|
|
713
713
|
}, t.prototype.error = function(r) {
|
|
@@ -731,7 +731,7 @@ var Fr = function(e) {
|
|
|
731
731
|
this.unsubscribe();
|
|
732
732
|
}
|
|
733
733
|
}, t;
|
|
734
|
-
}(
|
|
734
|
+
}(pt), Zn = function() {
|
|
735
735
|
function e(t) {
|
|
736
736
|
this.partialObserver = t;
|
|
737
737
|
}
|
|
@@ -741,7 +741,7 @@ var Fr = function(e) {
|
|
|
741
741
|
try {
|
|
742
742
|
r.next(t);
|
|
743
743
|
} catch (n) {
|
|
744
|
-
|
|
744
|
+
it(n);
|
|
745
745
|
}
|
|
746
746
|
}, e.prototype.error = function(t) {
|
|
747
747
|
var r = this.partialObserver;
|
|
@@ -749,56 +749,56 @@ var Fr = function(e) {
|
|
|
749
749
|
try {
|
|
750
750
|
r.error(t);
|
|
751
751
|
} catch (n) {
|
|
752
|
-
|
|
752
|
+
it(n);
|
|
753
753
|
}
|
|
754
754
|
else
|
|
755
|
-
|
|
755
|
+
it(t);
|
|
756
756
|
}, e.prototype.complete = function() {
|
|
757
757
|
var t = this.partialObserver;
|
|
758
758
|
if (t.complete)
|
|
759
759
|
try {
|
|
760
760
|
t.complete();
|
|
761
761
|
} catch (r) {
|
|
762
|
-
|
|
762
|
+
it(r);
|
|
763
763
|
}
|
|
764
764
|
}, e;
|
|
765
|
-
}(),
|
|
766
|
-
|
|
765
|
+
}(), Ut = function(e) {
|
|
766
|
+
Je(t, e);
|
|
767
767
|
function t(r, n, i) {
|
|
768
768
|
var o = e.call(this) || this, s;
|
|
769
769
|
return le(r) || !r ? s = {
|
|
770
770
|
next: r != null ? r : void 0,
|
|
771
771
|
error: n != null ? n : void 0,
|
|
772
772
|
complete: i != null ? i : void 0
|
|
773
|
-
} : s = r, o.destination = new
|
|
773
|
+
} : s = r, o.destination = new Zn(s), o;
|
|
774
774
|
}
|
|
775
775
|
return t;
|
|
776
|
-
}(
|
|
777
|
-
function
|
|
778
|
-
|
|
776
|
+
}(Dr);
|
|
777
|
+
function it(e) {
|
|
778
|
+
Wn(e);
|
|
779
779
|
}
|
|
780
|
-
function
|
|
780
|
+
function qn(e) {
|
|
781
781
|
throw e;
|
|
782
782
|
}
|
|
783
|
-
var
|
|
783
|
+
var Jn = {
|
|
784
784
|
closed: !0,
|
|
785
|
-
next:
|
|
786
|
-
error:
|
|
787
|
-
complete:
|
|
788
|
-
},
|
|
785
|
+
next: sr,
|
|
786
|
+
error: qn,
|
|
787
|
+
complete: sr
|
|
788
|
+
}, Qn = function() {
|
|
789
789
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
790
790
|
}();
|
|
791
|
-
function
|
|
791
|
+
function Yn(e) {
|
|
792
792
|
return e;
|
|
793
793
|
}
|
|
794
|
-
function
|
|
795
|
-
return e.length === 0 ?
|
|
794
|
+
function Kn(e) {
|
|
795
|
+
return e.length === 0 ? Yn : e.length === 1 ? e[0] : function(r) {
|
|
796
796
|
return e.reduce(function(n, i) {
|
|
797
797
|
return i(n);
|
|
798
798
|
}, r);
|
|
799
799
|
};
|
|
800
800
|
}
|
|
801
|
-
var
|
|
801
|
+
var ar = function() {
|
|
802
802
|
function e(t) {
|
|
803
803
|
t && (this._subscribe = t);
|
|
804
804
|
}
|
|
@@ -806,8 +806,8 @@ var sr = function() {
|
|
|
806
806
|
var r = new e();
|
|
807
807
|
return r.source = this, r.operator = t, r;
|
|
808
808
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
809
|
-
var i = this, o =
|
|
810
|
-
return
|
|
809
|
+
var i = this, o = ti(t) ? t : new Ut(t, r, n);
|
|
810
|
+
return at(function() {
|
|
811
811
|
var s = i, a = s.operator, u = s.source;
|
|
812
812
|
o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
|
|
813
813
|
}), o;
|
|
@@ -819,8 +819,8 @@ var sr = function() {
|
|
|
819
819
|
}
|
|
820
820
|
}, e.prototype.forEach = function(t, r) {
|
|
821
821
|
var n = this;
|
|
822
|
-
return r =
|
|
823
|
-
var s = new
|
|
822
|
+
return r = lr(r), new r(function(i, o) {
|
|
823
|
+
var s = new Ut({
|
|
824
824
|
next: function(a) {
|
|
825
825
|
try {
|
|
826
826
|
t(a);
|
|
@@ -836,15 +836,15 @@ var sr = function() {
|
|
|
836
836
|
}, e.prototype._subscribe = function(t) {
|
|
837
837
|
var r;
|
|
838
838
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
839
|
-
}, e.prototype[
|
|
839
|
+
}, e.prototype[Qn] = function() {
|
|
840
840
|
return this;
|
|
841
841
|
}, e.prototype.pipe = function() {
|
|
842
842
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
843
843
|
t[r] = arguments[r];
|
|
844
|
-
return
|
|
844
|
+
return Kn(t)(this);
|
|
845
845
|
}, e.prototype.toPromise = function(t) {
|
|
846
846
|
var r = this;
|
|
847
|
-
return t =
|
|
847
|
+
return t = lr(t), new t(function(n, i) {
|
|
848
848
|
var o;
|
|
849
849
|
r.subscribe(function(s) {
|
|
850
850
|
return o = s;
|
|
@@ -858,40 +858,40 @@ var sr = function() {
|
|
|
858
858
|
return new e(t);
|
|
859
859
|
}, e;
|
|
860
860
|
}();
|
|
861
|
-
function
|
|
861
|
+
function lr(e) {
|
|
862
862
|
var t;
|
|
863
|
-
return (t = e != null ? e :
|
|
863
|
+
return (t = e != null ? e : zn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
864
864
|
}
|
|
865
|
-
function
|
|
865
|
+
function ei(e) {
|
|
866
866
|
return e && le(e.next) && le(e.error) && le(e.complete);
|
|
867
867
|
}
|
|
868
|
-
function
|
|
869
|
-
return e && e instanceof
|
|
868
|
+
function ti(e) {
|
|
869
|
+
return e && e instanceof Dr || ei(e) && Fr(e);
|
|
870
870
|
}
|
|
871
|
-
var
|
|
871
|
+
var ri = Rr(function(e) {
|
|
872
872
|
return function() {
|
|
873
873
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
874
874
|
};
|
|
875
|
-
}),
|
|
876
|
-
|
|
875
|
+
}), kr = function(e) {
|
|
876
|
+
Je(t, e);
|
|
877
877
|
function t() {
|
|
878
878
|
var r = e.call(this) || this;
|
|
879
879
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
880
880
|
}
|
|
881
881
|
return t.prototype.lift = function(r) {
|
|
882
|
-
var n = new
|
|
882
|
+
var n = new ur(this, this);
|
|
883
883
|
return n.operator = r, n;
|
|
884
884
|
}, t.prototype._throwIfClosed = function() {
|
|
885
885
|
if (this.closed)
|
|
886
|
-
throw new
|
|
886
|
+
throw new ri();
|
|
887
887
|
}, t.prototype.next = function(r) {
|
|
888
888
|
var n = this;
|
|
889
|
-
|
|
889
|
+
at(function() {
|
|
890
890
|
var i, o;
|
|
891
891
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
892
892
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
893
893
|
try {
|
|
894
|
-
for (var s =
|
|
894
|
+
for (var s = Lt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
895
895
|
var u = a.value;
|
|
896
896
|
u.next(r);
|
|
897
897
|
}
|
|
@@ -909,7 +909,7 @@ var ei = Nr(function(e) {
|
|
|
909
909
|
});
|
|
910
910
|
}, t.prototype.error = function(r) {
|
|
911
911
|
var n = this;
|
|
912
|
-
|
|
912
|
+
at(function() {
|
|
913
913
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
914
914
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
915
915
|
for (var i = n.observers; i.length; )
|
|
@@ -918,7 +918,7 @@ var ei = Nr(function(e) {
|
|
|
918
918
|
});
|
|
919
919
|
}, t.prototype.complete = function() {
|
|
920
920
|
var r = this;
|
|
921
|
-
|
|
921
|
+
at(function() {
|
|
922
922
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
923
923
|
r.isStopped = !0;
|
|
924
924
|
for (var n = r.observers; n.length; )
|
|
@@ -940,20 +940,20 @@ var ei = Nr(function(e) {
|
|
|
940
940
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
941
941
|
}, t.prototype._innerSubscribe = function(r) {
|
|
942
942
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
943
|
-
return o || s ?
|
|
944
|
-
n.currentObservers = null,
|
|
943
|
+
return o || s ? Ur : (this.currentObservers = null, a.push(r), new pt(function() {
|
|
944
|
+
n.currentObservers = null, Rt(a, r);
|
|
945
945
|
}));
|
|
946
946
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
947
947
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
948
948
|
i ? r.error(o) : s && r.complete();
|
|
949
949
|
}, t.prototype.asObservable = function() {
|
|
950
|
-
var r = new
|
|
950
|
+
var r = new ar();
|
|
951
951
|
return r.source = this, r;
|
|
952
952
|
}, t.create = function(r, n) {
|
|
953
|
-
return new
|
|
953
|
+
return new ur(r, n);
|
|
954
954
|
}, t;
|
|
955
|
-
}(
|
|
956
|
-
|
|
955
|
+
}(ar), ur = function(e) {
|
|
956
|
+
Je(t, e);
|
|
957
957
|
function t(r, n) {
|
|
958
958
|
var i = e.call(this) || this;
|
|
959
959
|
return i.destination = r, i.source = n, i;
|
|
@@ -969,17 +969,17 @@ var ei = Nr(function(e) {
|
|
|
969
969
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
970
970
|
}, t.prototype._subscribe = function(r) {
|
|
971
971
|
var n, i;
|
|
972
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
972
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ur;
|
|
973
973
|
}, t;
|
|
974
|
-
}(
|
|
974
|
+
}(kr), $r = {
|
|
975
975
|
now: function() {
|
|
976
|
-
return (
|
|
976
|
+
return ($r.delegate || Date).now();
|
|
977
977
|
},
|
|
978
978
|
delegate: void 0
|
|
979
|
-
},
|
|
980
|
-
|
|
979
|
+
}, ni = function(e) {
|
|
980
|
+
Je(t, e);
|
|
981
981
|
function t(r, n, i) {
|
|
982
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
982
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = $r);
|
|
983
983
|
var o = e.call(this) || this;
|
|
984
984
|
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
|
985
985
|
}
|
|
@@ -999,31 +999,31 @@ var ei = Nr(function(e) {
|
|
|
999
999
|
l && o.splice(0, l + 1);
|
|
1000
1000
|
}
|
|
1001
1001
|
}, t;
|
|
1002
|
-
}(
|
|
1003
|
-
const
|
|
1004
|
-
if (
|
|
1005
|
-
const r = new
|
|
1006
|
-
|
|
1002
|
+
}(kr);
|
|
1003
|
+
const cr = [], hr = {}, ii = (e, t = 0) => {
|
|
1004
|
+
if (cr.indexOf(e) == -1) {
|
|
1005
|
+
const r = new ni(t);
|
|
1006
|
+
hr[e] = r, cr.push(e);
|
|
1007
1007
|
}
|
|
1008
|
-
return
|
|
1009
|
-
},
|
|
1010
|
-
function
|
|
1008
|
+
return hr[e];
|
|
1009
|
+
}, Te = [];
|
|
1010
|
+
function oi(e, t) {
|
|
1011
1011
|
return {
|
|
1012
|
-
subscribe:
|
|
1012
|
+
subscribe: mt(e, t).subscribe
|
|
1013
1013
|
};
|
|
1014
1014
|
}
|
|
1015
|
-
function
|
|
1015
|
+
function mt(e, t = Z) {
|
|
1016
1016
|
let r;
|
|
1017
1017
|
const n = /* @__PURE__ */ new Set();
|
|
1018
1018
|
function i(a) {
|
|
1019
|
-
if (
|
|
1020
|
-
const u = !
|
|
1019
|
+
if (Lr(e, a) && (e = a, r)) {
|
|
1020
|
+
const u = !Te.length;
|
|
1021
1021
|
for (const l of n)
|
|
1022
|
-
l[1](),
|
|
1022
|
+
l[1](), Te.push(l, e);
|
|
1023
1023
|
if (u) {
|
|
1024
|
-
for (let l = 0; l <
|
|
1025
|
-
|
|
1026
|
-
|
|
1024
|
+
for (let l = 0; l < Te.length; l += 2)
|
|
1025
|
+
Te[l][0](Te[l + 1]);
|
|
1026
|
+
Te.length = 0;
|
|
1027
1027
|
}
|
|
1028
1028
|
}
|
|
1029
1029
|
}
|
|
@@ -1043,7 +1043,7 @@ function Ne(e, t, r) {
|
|
|
1043
1043
|
if (!i.every(Boolean))
|
|
1044
1044
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1045
1045
|
const o = t.length < 2;
|
|
1046
|
-
return
|
|
1046
|
+
return oi(r, (s, a) => {
|
|
1047
1047
|
let u = !1;
|
|
1048
1048
|
const l = [];
|
|
1049
1049
|
let c = 0, f = Z;
|
|
@@ -1052,9 +1052,9 @@ function Ne(e, t, r) {
|
|
|
1052
1052
|
return;
|
|
1053
1053
|
f();
|
|
1054
1054
|
const y = t(n ? l[0] : l, s, a);
|
|
1055
|
-
o ? s(y) : f =
|
|
1055
|
+
o ? s(y) : f = Wt(y) ? y : Z;
|
|
1056
1056
|
}, b = i.map(
|
|
1057
|
-
(y, g) =>
|
|
1057
|
+
(y, g) => Mr(
|
|
1058
1058
|
y,
|
|
1059
1059
|
(x) => {
|
|
1060
1060
|
l[g] = x, c &= ~(1 << g), u && d();
|
|
@@ -1069,70 +1069,70 @@ function Ne(e, t, r) {
|
|
|
1069
1069
|
};
|
|
1070
1070
|
});
|
|
1071
1071
|
}
|
|
1072
|
-
function
|
|
1072
|
+
function si(e) {
|
|
1073
1073
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1074
1074
|
}
|
|
1075
|
-
var
|
|
1076
|
-
return
|
|
1075
|
+
var ai = function(t) {
|
|
1076
|
+
return li(t) && !ui(t);
|
|
1077
1077
|
};
|
|
1078
|
-
function
|
|
1078
|
+
function li(e) {
|
|
1079
1079
|
return !!e && typeof e == "object";
|
|
1080
1080
|
}
|
|
1081
|
-
function
|
|
1081
|
+
function ui(e) {
|
|
1082
1082
|
var t = Object.prototype.toString.call(e);
|
|
1083
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1083
|
+
return t === "[object RegExp]" || t === "[object Date]" || fi(e);
|
|
1084
1084
|
}
|
|
1085
|
-
var
|
|
1086
|
-
function
|
|
1087
|
-
return e.$$typeof ===
|
|
1085
|
+
var ci = typeof Symbol == "function" && Symbol.for, hi = ci ? Symbol.for("react.element") : 60103;
|
|
1086
|
+
function fi(e) {
|
|
1087
|
+
return e.$$typeof === hi;
|
|
1088
1088
|
}
|
|
1089
|
-
function
|
|
1089
|
+
function di(e) {
|
|
1090
1090
|
return Array.isArray(e) ? [] : {};
|
|
1091
1091
|
}
|
|
1092
|
-
function
|
|
1093
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? Ie(
|
|
1092
|
+
function Ze(e, t) {
|
|
1093
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Ie(di(e), e, t) : e;
|
|
1094
1094
|
}
|
|
1095
|
-
function
|
|
1095
|
+
function pi(e, t, r) {
|
|
1096
1096
|
return e.concat(t).map(function(n) {
|
|
1097
|
-
return
|
|
1097
|
+
return Ze(n, r);
|
|
1098
1098
|
});
|
|
1099
1099
|
}
|
|
1100
|
-
function
|
|
1100
|
+
function mi(e, t) {
|
|
1101
1101
|
if (!t.customMerge)
|
|
1102
1102
|
return Ie;
|
|
1103
1103
|
var r = t.customMerge(e);
|
|
1104
1104
|
return typeof r == "function" ? r : Ie;
|
|
1105
1105
|
}
|
|
1106
|
-
function
|
|
1106
|
+
function gi(e) {
|
|
1107
1107
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1108
1108
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1109
1109
|
}) : [];
|
|
1110
1110
|
}
|
|
1111
|
-
function
|
|
1112
|
-
return Object.keys(e).concat(
|
|
1111
|
+
function fr(e) {
|
|
1112
|
+
return Object.keys(e).concat(gi(e));
|
|
1113
1113
|
}
|
|
1114
|
-
function
|
|
1114
|
+
function Gr(e, t) {
|
|
1115
1115
|
try {
|
|
1116
1116
|
return t in e;
|
|
1117
1117
|
} catch (r) {
|
|
1118
1118
|
return !1;
|
|
1119
1119
|
}
|
|
1120
1120
|
}
|
|
1121
|
-
function
|
|
1122
|
-
return
|
|
1121
|
+
function bi(e, t) {
|
|
1122
|
+
return Gr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1123
1123
|
}
|
|
1124
|
-
function
|
|
1124
|
+
function vi(e, t, r) {
|
|
1125
1125
|
var n = {};
|
|
1126
|
-
return r.isMergeableObject(e) &&
|
|
1127
|
-
n[i] =
|
|
1128
|
-
}),
|
|
1129
|
-
|
|
1126
|
+
return r.isMergeableObject(e) && fr(e).forEach(function(i) {
|
|
1127
|
+
n[i] = Ze(e[i], r);
|
|
1128
|
+
}), fr(t).forEach(function(i) {
|
|
1129
|
+
bi(e, i) || (Gr(e, i) && r.isMergeableObject(t[i]) ? n[i] = mi(i, r)(e[i], t[i], r) : n[i] = Ze(t[i], r));
|
|
1130
1130
|
}), n;
|
|
1131
1131
|
}
|
|
1132
1132
|
function Ie(e, t, r) {
|
|
1133
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1133
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || pi, r.isMergeableObject = r.isMergeableObject || ai, r.cloneUnlessOtherwiseSpecified = Ze;
|
|
1134
1134
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1135
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1135
|
+
return o ? n ? r.arrayMerge(e, t, r) : vi(e, t, r) : Ze(t, r);
|
|
1136
1136
|
}
|
|
1137
1137
|
Ie.all = function(t, r) {
|
|
1138
1138
|
if (!Array.isArray(t))
|
|
@@ -1141,20 +1141,20 @@ Ie.all = function(t, r) {
|
|
|
1141
1141
|
return Ie(n, i, r);
|
|
1142
1142
|
}, {});
|
|
1143
1143
|
};
|
|
1144
|
-
var
|
|
1145
|
-
const
|
|
1146
|
-
var
|
|
1147
|
-
return
|
|
1144
|
+
var yi = Ie, _i = yi;
|
|
1145
|
+
const Ei = /* @__PURE__ */ si(_i);
|
|
1146
|
+
var Ft = function(e, t) {
|
|
1147
|
+
return Ft = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1148
1148
|
r.__proto__ = n;
|
|
1149
1149
|
} || function(r, n) {
|
|
1150
1150
|
for (var i in n)
|
|
1151
1151
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1152
|
-
},
|
|
1152
|
+
}, Ft(e, t);
|
|
1153
1153
|
};
|
|
1154
|
-
function
|
|
1154
|
+
function gt(e, t) {
|
|
1155
1155
|
if (typeof t != "function" && t !== null)
|
|
1156
1156
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1157
|
-
|
|
1157
|
+
Ft(e, t);
|
|
1158
1158
|
function r() {
|
|
1159
1159
|
this.constructor = e;
|
|
1160
1160
|
}
|
|
@@ -1170,7 +1170,7 @@ var oe = function() {
|
|
|
1170
1170
|
return t;
|
|
1171
1171
|
}, oe.apply(this, arguments);
|
|
1172
1172
|
};
|
|
1173
|
-
function
|
|
1173
|
+
function wi(e, t) {
|
|
1174
1174
|
var r = {};
|
|
1175
1175
|
for (var n in e)
|
|
1176
1176
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -1179,43 +1179,43 @@ function _i(e, t) {
|
|
|
1179
1179
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1180
1180
|
return r;
|
|
1181
1181
|
}
|
|
1182
|
-
function
|
|
1182
|
+
function St(e, t, r) {
|
|
1183
1183
|
if (r || arguments.length === 2)
|
|
1184
1184
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1185
1185
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1186
1186
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
1187
1187
|
}
|
|
1188
|
-
function
|
|
1189
|
-
var r = t && t.cache ? t.cache :
|
|
1188
|
+
function Pt(e, t) {
|
|
1189
|
+
var r = t && t.cache ? t.cache : Ai, n = t && t.serializer ? t.serializer : Bi, i = t && t.strategy ? t.strategy : Pi;
|
|
1190
1190
|
return i(e, {
|
|
1191
1191
|
cache: r,
|
|
1192
1192
|
serializer: n
|
|
1193
1193
|
});
|
|
1194
1194
|
}
|
|
1195
|
-
function
|
|
1195
|
+
function xi(e) {
|
|
1196
1196
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1197
1197
|
}
|
|
1198
|
-
function
|
|
1199
|
-
var i =
|
|
1198
|
+
function Si(e, t, r, n) {
|
|
1199
|
+
var i = xi(n) ? n : r(n), o = t.get(i);
|
|
1200
1200
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1201
1201
|
}
|
|
1202
|
-
function
|
|
1202
|
+
function jr(e, t, r) {
|
|
1203
1203
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1204
1204
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1205
1205
|
}
|
|
1206
|
-
function
|
|
1206
|
+
function Vr(e, t, r, n, i) {
|
|
1207
1207
|
return r.bind(t, e, n, i);
|
|
1208
1208
|
}
|
|
1209
|
-
function
|
|
1210
|
-
var r = e.length === 1 ?
|
|
1211
|
-
return
|
|
1209
|
+
function Pi(e, t) {
|
|
1210
|
+
var r = e.length === 1 ? Si : jr;
|
|
1211
|
+
return Vr(e, this, r, t.cache.create(), t.serializer);
|
|
1212
1212
|
}
|
|
1213
|
-
function
|
|
1214
|
-
return
|
|
1213
|
+
function Ti(e, t) {
|
|
1214
|
+
return Vr(e, this, jr, t.cache.create(), t.serializer);
|
|
1215
1215
|
}
|
|
1216
|
-
var
|
|
1216
|
+
var Bi = function() {
|
|
1217
1217
|
return JSON.stringify(arguments);
|
|
1218
|
-
},
|
|
1218
|
+
}, Hi = (
|
|
1219
1219
|
/** @class */
|
|
1220
1220
|
function() {
|
|
1221
1221
|
function e() {
|
|
@@ -1227,21 +1227,21 @@ var Pi = function() {
|
|
|
1227
1227
|
this.cache[t] = r;
|
|
1228
1228
|
}, e;
|
|
1229
1229
|
}()
|
|
1230
|
-
),
|
|
1230
|
+
), Ai = {
|
|
1231
1231
|
create: function() {
|
|
1232
|
-
return new
|
|
1232
|
+
return new Hi();
|
|
1233
1233
|
}
|
|
1234
|
-
},
|
|
1235
|
-
variadic:
|
|
1236
|
-
},
|
|
1237
|
-
return
|
|
1234
|
+
}, Tt = {
|
|
1235
|
+
variadic: Ti
|
|
1236
|
+
}, ht = function() {
|
|
1237
|
+
return ht = Object.assign || function(t) {
|
|
1238
1238
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1239
1239
|
r = arguments[n];
|
|
1240
1240
|
for (var o in r)
|
|
1241
1241
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1242
1242
|
}
|
|
1243
1243
|
return t;
|
|
1244
|
-
},
|
|
1244
|
+
}, ht.apply(this, arguments);
|
|
1245
1245
|
};
|
|
1246
1246
|
var _;
|
|
1247
1247
|
(function(e) {
|
|
@@ -1255,43 +1255,43 @@ var Oe;
|
|
|
1255
1255
|
(function(e) {
|
|
1256
1256
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1257
1257
|
})(Oe || (Oe = {}));
|
|
1258
|
-
function
|
|
1258
|
+
function dr(e) {
|
|
1259
1259
|
return e.type === P.literal;
|
|
1260
1260
|
}
|
|
1261
|
-
function
|
|
1261
|
+
function Ii(e) {
|
|
1262
1262
|
return e.type === P.argument;
|
|
1263
1263
|
}
|
|
1264
|
-
function
|
|
1264
|
+
function zr(e) {
|
|
1265
1265
|
return e.type === P.number;
|
|
1266
1266
|
}
|
|
1267
|
-
function
|
|
1267
|
+
function Xr(e) {
|
|
1268
1268
|
return e.type === P.date;
|
|
1269
1269
|
}
|
|
1270
|
-
function
|
|
1270
|
+
function Wr(e) {
|
|
1271
1271
|
return e.type === P.time;
|
|
1272
1272
|
}
|
|
1273
|
-
function
|
|
1273
|
+
function Zr(e) {
|
|
1274
1274
|
return e.type === P.select;
|
|
1275
1275
|
}
|
|
1276
|
-
function
|
|
1276
|
+
function qr(e) {
|
|
1277
1277
|
return e.type === P.plural;
|
|
1278
1278
|
}
|
|
1279
|
-
function
|
|
1279
|
+
function Oi(e) {
|
|
1280
1280
|
return e.type === P.pound;
|
|
1281
1281
|
}
|
|
1282
|
-
function
|
|
1282
|
+
function Jr(e) {
|
|
1283
1283
|
return e.type === P.tag;
|
|
1284
1284
|
}
|
|
1285
|
-
function
|
|
1285
|
+
function Qr(e) {
|
|
1286
1286
|
return !!(e && typeof e == "object" && e.type === Oe.number);
|
|
1287
1287
|
}
|
|
1288
|
-
function
|
|
1288
|
+
function Dt(e) {
|
|
1289
1289
|
return !!(e && typeof e == "object" && e.type === Oe.dateTime);
|
|
1290
1290
|
}
|
|
1291
|
-
var
|
|
1292
|
-
function
|
|
1291
|
+
var Yr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ci = /(?:[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;
|
|
1292
|
+
function Li(e) {
|
|
1293
1293
|
var t = {};
|
|
1294
|
-
return e.replace(
|
|
1294
|
+
return e.replace(Ci, function(r) {
|
|
1295
1295
|
var n = r.length;
|
|
1296
1296
|
switch (r[0]) {
|
|
1297
1297
|
case "G":
|
|
@@ -1390,11 +1390,11 @@ var B = function() {
|
|
|
1390
1390
|
return t;
|
|
1391
1391
|
}, B.apply(this, arguments);
|
|
1392
1392
|
};
|
|
1393
|
-
var
|
|
1394
|
-
function
|
|
1393
|
+
var Mi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1394
|
+
function Ni(e) {
|
|
1395
1395
|
if (e.length === 0)
|
|
1396
1396
|
throw new Error("Number skeleton cannot be empty");
|
|
1397
|
-
for (var t = e.split(
|
|
1397
|
+
for (var t = e.split(Mi).filter(function(d) {
|
|
1398
1398
|
return d.length > 0;
|
|
1399
1399
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1400
1400
|
var o = i[n], s = o.split("/");
|
|
@@ -1409,17 +1409,17 @@ function Li(e) {
|
|
|
1409
1409
|
}
|
|
1410
1410
|
return r;
|
|
1411
1411
|
}
|
|
1412
|
-
function
|
|
1412
|
+
function Ri(e) {
|
|
1413
1413
|
return e.replace(/^(.*?)-/, "");
|
|
1414
1414
|
}
|
|
1415
|
-
var
|
|
1416
|
-
function
|
|
1415
|
+
var pr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Kr = /^(@+)?(\+|#+)?[rs]?$/g, Ui = /(\*)(0+)|(#+)(0+)|(0+)/g, en = /^(0+)$/;
|
|
1416
|
+
function mr(e) {
|
|
1417
1417
|
var t = {};
|
|
1418
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1418
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Kr, function(r, n, i) {
|
|
1419
1419
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1420
1420
|
}), t;
|
|
1421
1421
|
}
|
|
1422
|
-
function
|
|
1422
|
+
function tn(e) {
|
|
1423
1423
|
switch (e) {
|
|
1424
1424
|
case "sign-auto":
|
|
1425
1425
|
return {
|
|
@@ -1459,7 +1459,7 @@ function en(e) {
|
|
|
1459
1459
|
};
|
|
1460
1460
|
}
|
|
1461
1461
|
}
|
|
1462
|
-
function
|
|
1462
|
+
function Fi(e) {
|
|
1463
1463
|
var t;
|
|
1464
1464
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1465
1465
|
notation: "engineering"
|
|
@@ -1467,17 +1467,17 @@ function Ri(e) {
|
|
|
1467
1467
|
notation: "scientific"
|
|
1468
1468
|
}, e = e.slice(1)), t) {
|
|
1469
1469
|
var r = e.slice(0, 2);
|
|
1470
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1470
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !en.test(e))
|
|
1471
1471
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1472
1472
|
t.minimumIntegerDigits = e.length;
|
|
1473
1473
|
}
|
|
1474
1474
|
return t;
|
|
1475
1475
|
}
|
|
1476
|
-
function
|
|
1477
|
-
var t = {}, r =
|
|
1476
|
+
function gr(e) {
|
|
1477
|
+
var t = {}, r = tn(e);
|
|
1478
1478
|
return r || t;
|
|
1479
1479
|
}
|
|
1480
|
-
function
|
|
1480
|
+
function Di(e) {
|
|
1481
1481
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1482
1482
|
var i = n[r];
|
|
1483
1483
|
switch (i.stem) {
|
|
@@ -1501,7 +1501,7 @@ function Ui(e) {
|
|
|
1501
1501
|
continue;
|
|
1502
1502
|
case "measure-unit":
|
|
1503
1503
|
case "unit":
|
|
1504
|
-
t.style = "unit", t.unit =
|
|
1504
|
+
t.style = "unit", t.unit = Ri(i.options[0]);
|
|
1505
1505
|
continue;
|
|
1506
1506
|
case "compact-short":
|
|
1507
1507
|
case "K":
|
|
@@ -1513,12 +1513,12 @@ function Ui(e) {
|
|
|
1513
1513
|
continue;
|
|
1514
1514
|
case "scientific":
|
|
1515
1515
|
t = B(B(B({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
|
|
1516
|
-
return B(B({}, u),
|
|
1516
|
+
return B(B({}, u), gr(l));
|
|
1517
1517
|
}, {}));
|
|
1518
1518
|
continue;
|
|
1519
1519
|
case "engineering":
|
|
1520
1520
|
t = B(B(B({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
|
|
1521
|
-
return B(B({}, u),
|
|
1521
|
+
return B(B({}, u), gr(l));
|
|
1522
1522
|
}, {}));
|
|
1523
1523
|
continue;
|
|
1524
1524
|
case "notation-simple":
|
|
@@ -1563,7 +1563,7 @@ function Ui(e) {
|
|
|
1563
1563
|
case "integer-width":
|
|
1564
1564
|
if (i.options.length > 1)
|
|
1565
1565
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1566
|
-
i.options[0].replace(
|
|
1566
|
+
i.options[0].replace(Ui, function(u, l, c, f, d, b) {
|
|
1567
1567
|
if (l)
|
|
1568
1568
|
t.minimumIntegerDigits = c.length;
|
|
1569
1569
|
else {
|
|
@@ -1576,32 +1576,32 @@ function Ui(e) {
|
|
|
1576
1576
|
});
|
|
1577
1577
|
continue;
|
|
1578
1578
|
}
|
|
1579
|
-
if (
|
|
1579
|
+
if (en.test(i.stem)) {
|
|
1580
1580
|
t.minimumIntegerDigits = i.stem.length;
|
|
1581
1581
|
continue;
|
|
1582
1582
|
}
|
|
1583
|
-
if (
|
|
1583
|
+
if (pr.test(i.stem)) {
|
|
1584
1584
|
if (i.options.length > 1)
|
|
1585
1585
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1586
|
-
i.stem.replace(
|
|
1586
|
+
i.stem.replace(pr, function(u, l, c, f, d, b) {
|
|
1587
1587
|
return c === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : d && b ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + b.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
|
1588
1588
|
});
|
|
1589
1589
|
var o = i.options[0];
|
|
1590
|
-
o === "w" ? t = B(B({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = B(B({}, t),
|
|
1590
|
+
o === "w" ? t = B(B({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = B(B({}, t), mr(o)));
|
|
1591
1591
|
continue;
|
|
1592
1592
|
}
|
|
1593
|
-
if (
|
|
1594
|
-
t = B(B({}, t),
|
|
1593
|
+
if (Kr.test(i.stem)) {
|
|
1594
|
+
t = B(B({}, t), mr(i.stem));
|
|
1595
1595
|
continue;
|
|
1596
1596
|
}
|
|
1597
|
-
var s =
|
|
1597
|
+
var s = tn(i.stem);
|
|
1598
1598
|
s && (t = B(B({}, t), s));
|
|
1599
|
-
var a =
|
|
1599
|
+
var a = Fi(i.stem);
|
|
1600
1600
|
a && (t = B(B({}, t), a));
|
|
1601
1601
|
}
|
|
1602
1602
|
return t;
|
|
1603
1603
|
}
|
|
1604
|
-
var
|
|
1604
|
+
var ot = {
|
|
1605
1605
|
"001": [
|
|
1606
1606
|
"H",
|
|
1607
1607
|
"h"
|
|
@@ -3016,13 +3016,13 @@ var it = {
|
|
|
3016
3016
|
"h"
|
|
3017
3017
|
]
|
|
3018
3018
|
};
|
|
3019
|
-
function
|
|
3019
|
+
function ki(e, t) {
|
|
3020
3020
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3021
3021
|
var i = e.charAt(n);
|
|
3022
3022
|
if (i === "j") {
|
|
3023
3023
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3024
3024
|
o++, n++;
|
|
3025
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l =
|
|
3025
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = $i(t);
|
|
3026
3026
|
for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
|
|
3027
3027
|
r += u;
|
|
3028
3028
|
for (; s-- > 0; )
|
|
@@ -3032,7 +3032,7 @@ function Fi(e, t) {
|
|
|
3032
3032
|
}
|
|
3033
3033
|
return r;
|
|
3034
3034
|
}
|
|
3035
|
-
function
|
|
3035
|
+
function $i(e) {
|
|
3036
3036
|
var t = e.hourCycle;
|
|
3037
3037
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3038
3038
|
e.hourCycles && // @ts-ignore
|
|
@@ -3051,23 +3051,23 @@ function Di(e) {
|
|
|
3051
3051
|
}
|
|
3052
3052
|
var r = e.language, n;
|
|
3053
3053
|
r !== "root" && (n = e.maximize().region);
|
|
3054
|
-
var i =
|
|
3054
|
+
var i = ot[n || ""] || ot[r || ""] || ot["".concat(r, "-001")] || ot["001"];
|
|
3055
3055
|
return i[0];
|
|
3056
3056
|
}
|
|
3057
|
-
var
|
|
3057
|
+
var Bt, Gi = new RegExp("^".concat(Yr.source, "*")), ji = new RegExp("".concat(Yr.source, "*$"));
|
|
3058
3058
|
function E(e, t) {
|
|
3059
3059
|
return { start: e, end: t };
|
|
3060
3060
|
}
|
|
3061
|
-
var
|
|
3061
|
+
var Vi = !!String.prototype.startsWith && "_a".startsWith("a", 1), zi = !!String.fromCodePoint, Xi = !!Object.fromEntries, Wi = !!String.prototype.codePointAt, Zi = !!String.prototype.trimStart, qi = !!String.prototype.trimEnd, Ji = !!Number.isSafeInteger, Qi = Ji ? Number.isSafeInteger : function(e) {
|
|
3062
3062
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3063
|
-
},
|
|
3063
|
+
}, kt = !0;
|
|
3064
3064
|
try {
|
|
3065
|
-
var
|
|
3066
|
-
|
|
3065
|
+
var Yi = nn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3066
|
+
kt = ((Bt = Yi.exec("a")) === null || Bt === void 0 ? void 0 : Bt[0]) === "a";
|
|
3067
3067
|
} catch (e) {
|
|
3068
|
-
|
|
3068
|
+
kt = !1;
|
|
3069
3069
|
}
|
|
3070
|
-
var
|
|
3070
|
+
var br = Vi ? (
|
|
3071
3071
|
// Native
|
|
3072
3072
|
function(t, r, n) {
|
|
3073
3073
|
return t.startsWith(r, n);
|
|
@@ -3077,7 +3077,7 @@ var gr = Gi ? (
|
|
|
3077
3077
|
function(t, r, n) {
|
|
3078
3078
|
return t.slice(n, n + r.length) === r;
|
|
3079
3079
|
}
|
|
3080
|
-
),
|
|
3080
|
+
), $t = zi ? String.fromCodePoint : (
|
|
3081
3081
|
// IE11
|
|
3082
3082
|
function() {
|
|
3083
3083
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3089,9 +3089,9 @@ var gr = Gi ? (
|
|
|
3089
3089
|
}
|
|
3090
3090
|
return n;
|
|
3091
3091
|
}
|
|
3092
|
-
),
|
|
3092
|
+
), vr = (
|
|
3093
3093
|
// native
|
|
3094
|
-
|
|
3094
|
+
Xi ? Object.fromEntries : (
|
|
3095
3095
|
// Ponyfill
|
|
3096
3096
|
function(t) {
|
|
3097
3097
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3101,7 +3101,7 @@ var gr = Gi ? (
|
|
|
3101
3101
|
return r;
|
|
3102
3102
|
}
|
|
3103
3103
|
)
|
|
3104
|
-
),
|
|
3104
|
+
), rn = Wi ? (
|
|
3105
3105
|
// Native
|
|
3106
3106
|
function(t, r) {
|
|
3107
3107
|
return t.codePointAt(r);
|
|
@@ -3115,7 +3115,7 @@ var gr = Gi ? (
|
|
|
3115
3115
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3116
3116
|
}
|
|
3117
3117
|
}
|
|
3118
|
-
),
|
|
3118
|
+
), Ki = Zi ? (
|
|
3119
3119
|
// Native
|
|
3120
3120
|
function(t) {
|
|
3121
3121
|
return t.trimStart();
|
|
@@ -3123,9 +3123,9 @@ var gr = Gi ? (
|
|
|
3123
3123
|
) : (
|
|
3124
3124
|
// Ponyfill
|
|
3125
3125
|
function(t) {
|
|
3126
|
-
return t.replace(
|
|
3126
|
+
return t.replace(Gi, "");
|
|
3127
3127
|
}
|
|
3128
|
-
),
|
|
3128
|
+
), eo = qi ? (
|
|
3129
3129
|
// Native
|
|
3130
3130
|
function(t) {
|
|
3131
3131
|
return t.trimEnd();
|
|
@@ -3133,32 +3133,32 @@ var gr = Gi ? (
|
|
|
3133
3133
|
) : (
|
|
3134
3134
|
// Ponyfill
|
|
3135
3135
|
function(t) {
|
|
3136
|
-
return t.replace(
|
|
3136
|
+
return t.replace(ji, "");
|
|
3137
3137
|
}
|
|
3138
3138
|
);
|
|
3139
|
-
function
|
|
3139
|
+
function nn(e, t) {
|
|
3140
3140
|
return new RegExp(e, t);
|
|
3141
3141
|
}
|
|
3142
|
-
var
|
|
3143
|
-
if (
|
|
3144
|
-
var
|
|
3145
|
-
|
|
3142
|
+
var Gt;
|
|
3143
|
+
if (kt) {
|
|
3144
|
+
var yr = nn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3145
|
+
Gt = function(t, r) {
|
|
3146
3146
|
var n;
|
|
3147
|
-
|
|
3148
|
-
var i =
|
|
3147
|
+
yr.lastIndex = r;
|
|
3148
|
+
var i = yr.exec(t);
|
|
3149
3149
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3150
3150
|
};
|
|
3151
3151
|
} else
|
|
3152
|
-
|
|
3152
|
+
Gt = function(t, r) {
|
|
3153
3153
|
for (var n = []; ; ) {
|
|
3154
|
-
var i =
|
|
3155
|
-
if (i === void 0 ||
|
|
3154
|
+
var i = rn(t, r);
|
|
3155
|
+
if (i === void 0 || on(i) || io(i))
|
|
3156
3156
|
break;
|
|
3157
3157
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3158
3158
|
}
|
|
3159
|
-
return
|
|
3159
|
+
return $t.apply(void 0, n);
|
|
3160
3160
|
};
|
|
3161
|
-
var
|
|
3161
|
+
var to = (
|
|
3162
3162
|
/** @class */
|
|
3163
3163
|
function() {
|
|
3164
3164
|
function e(t, r) {
|
|
@@ -3189,7 +3189,7 @@ var Ki = (
|
|
|
3189
3189
|
if (n)
|
|
3190
3190
|
break;
|
|
3191
3191
|
return this.error(_.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
|
|
3192
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3192
|
+
} else if (o === 60 && !this.ignoreTag && jt(this.peek() || 0)) {
|
|
3193
3193
|
var s = this.parseTag(t, r);
|
|
3194
3194
|
if (s.err)
|
|
3195
3195
|
return s;
|
|
@@ -3222,7 +3222,7 @@ var Ki = (
|
|
|
3222
3222
|
return o;
|
|
3223
3223
|
var s = o.val, a = this.clonePosition();
|
|
3224
3224
|
if (this.bumpIf("</")) {
|
|
3225
|
-
if (this.isEOF() || !
|
|
3225
|
+
if (this.isEOF() || !jt(this.char()))
|
|
3226
3226
|
return this.error(_.INVALID_TAG, E(a, this.clonePosition()));
|
|
3227
3227
|
var u = this.clonePosition(), l = this.parseTagName();
|
|
3228
3228
|
return i !== l ? this.error(_.UNMATCHED_CLOSING_TAG, E(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3240,7 +3240,7 @@ var Ki = (
|
|
|
3240
3240
|
return this.error(_.INVALID_TAG, E(n, this.clonePosition()));
|
|
3241
3241
|
}, e.prototype.parseTagName = function() {
|
|
3242
3242
|
var t = this.offset();
|
|
3243
|
-
for (this.bump(); !this.isEOF() &&
|
|
3243
|
+
for (this.bump(); !this.isEOF() && no(this.char()); )
|
|
3244
3244
|
this.bump();
|
|
3245
3245
|
return this.message.slice(t, this.offset());
|
|
3246
3246
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3269,7 +3269,7 @@ var Ki = (
|
|
|
3269
3269
|
};
|
|
3270
3270
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3271
3271
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3272
|
-
!
|
|
3272
|
+
!ro(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3273
3273
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3274
3274
|
if (this.isEOF() || this.char() !== 39)
|
|
3275
3275
|
return null;
|
|
@@ -3303,12 +3303,12 @@ var Ki = (
|
|
|
3303
3303
|
r.push(n);
|
|
3304
3304
|
this.bump();
|
|
3305
3305
|
}
|
|
3306
|
-
return
|
|
3306
|
+
return $t.apply(void 0, r);
|
|
3307
3307
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3308
3308
|
if (this.isEOF())
|
|
3309
3309
|
return null;
|
|
3310
3310
|
var n = this.char();
|
|
3311
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3311
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), $t(n));
|
|
3312
3312
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3313
3313
|
var n = this.clonePosition();
|
|
3314
3314
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3337,7 +3337,7 @@ var Ki = (
|
|
|
3337
3337
|
return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
|
|
3338
3338
|
}
|
|
3339
3339
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3340
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3340
|
+
var t = this.clonePosition(), r = this.offset(), n = Gt(this.message, r), i = r + n.length;
|
|
3341
3341
|
this.bumpTo(i);
|
|
3342
3342
|
var o = this.clonePosition(), s = E(t, o);
|
|
3343
3343
|
return { value: n, location: s };
|
|
@@ -3356,7 +3356,7 @@ var Ki = (
|
|
|
3356
3356
|
var c = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3357
3357
|
if (f.err)
|
|
3358
3358
|
return f;
|
|
3359
|
-
var d =
|
|
3359
|
+
var d = eo(f.val);
|
|
3360
3360
|
if (d.length === 0)
|
|
3361
3361
|
return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
|
|
3362
3362
|
var b = E(c, this.clonePosition());
|
|
@@ -3366,8 +3366,8 @@ var Ki = (
|
|
|
3366
3366
|
if (y.err)
|
|
3367
3367
|
return y;
|
|
3368
3368
|
var g = E(i, this.clonePosition());
|
|
3369
|
-
if (l &&
|
|
3370
|
-
var x =
|
|
3369
|
+
if (l && br(l == null ? void 0 : l.style, "::", 0)) {
|
|
3370
|
+
var x = Ki(l.style.slice(2));
|
|
3371
3371
|
if (a === "number") {
|
|
3372
3372
|
var f = this.parseNumberSkeletonFromString(x, l.styleLocation);
|
|
3373
3373
|
return f.err ? f : {
|
|
@@ -3377,13 +3377,13 @@ var Ki = (
|
|
|
3377
3377
|
} else {
|
|
3378
3378
|
if (x.length === 0)
|
|
3379
3379
|
return this.error(_.EXPECT_DATE_TIME_SKELETON, g);
|
|
3380
|
-
var
|
|
3381
|
-
this.locale && (
|
|
3380
|
+
var C = x;
|
|
3381
|
+
this.locale && (C = ki(x, this.locale));
|
|
3382
3382
|
var d = {
|
|
3383
3383
|
type: Oe.dateTime,
|
|
3384
|
-
pattern:
|
|
3384
|
+
pattern: C,
|
|
3385
3385
|
location: l.styleLocation,
|
|
3386
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3386
|
+
parsedOptions: this.shouldParseSkeletons ? Li(C) : {}
|
|
3387
3387
|
}, z = a === "date" ? P.date : P.time;
|
|
3388
3388
|
return {
|
|
3389
3389
|
val: { type: z, value: n, location: g, style: d },
|
|
@@ -3406,9 +3406,9 @@ var Ki = (
|
|
|
3406
3406
|
case "select": {
|
|
3407
3407
|
var R = this.clonePosition();
|
|
3408
3408
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3409
|
-
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(R,
|
|
3409
|
+
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(R, ht({}, R)));
|
|
3410
3410
|
this.bumpSpace();
|
|
3411
|
-
var U = this.parseIdentifierIfPossible(),
|
|
3411
|
+
var U = this.parseIdentifierIfPossible(), I = 0;
|
|
3412
3412
|
if (a !== "select" && U.value === "offset") {
|
|
3413
3413
|
if (!this.bumpIf(":"))
|
|
3414
3414
|
return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E(this.clonePosition(), this.clonePosition()));
|
|
@@ -3416,7 +3416,7 @@ var Ki = (
|
|
|
3416
3416
|
var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3417
3417
|
if (f.err)
|
|
3418
3418
|
return f;
|
|
3419
|
-
this.bumpSpace(), U = this.parseIdentifierIfPossible(),
|
|
3419
|
+
this.bumpSpace(), U = this.parseIdentifierIfPossible(), I = f.val;
|
|
3420
3420
|
}
|
|
3421
3421
|
var ne = this.tryParsePluralOrSelectOptions(t, a, r, U);
|
|
3422
3422
|
if (ne.err)
|
|
@@ -3429,7 +3429,7 @@ var Ki = (
|
|
|
3429
3429
|
val: {
|
|
3430
3430
|
type: P.select,
|
|
3431
3431
|
value: n,
|
|
3432
|
-
options:
|
|
3432
|
+
options: vr(ne.val),
|
|
3433
3433
|
location: T
|
|
3434
3434
|
},
|
|
3435
3435
|
err: null
|
|
@@ -3437,8 +3437,8 @@ var Ki = (
|
|
|
3437
3437
|
val: {
|
|
3438
3438
|
type: P.plural,
|
|
3439
3439
|
value: n,
|
|
3440
|
-
options:
|
|
3441
|
-
offset:
|
|
3440
|
+
options: vr(ne.val),
|
|
3441
|
+
offset: I,
|
|
3442
3442
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3443
3443
|
location: T
|
|
3444
3444
|
},
|
|
@@ -3488,7 +3488,7 @@ var Ki = (
|
|
|
3488
3488
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3489
3489
|
var n = [];
|
|
3490
3490
|
try {
|
|
3491
|
-
n =
|
|
3491
|
+
n = Ni(t);
|
|
3492
3492
|
} catch (i) {
|
|
3493
3493
|
return this.error(_.INVALID_NUMBER_SKELETON, r);
|
|
3494
3494
|
}
|
|
@@ -3497,7 +3497,7 @@ var Ki = (
|
|
|
3497
3497
|
type: Oe.number,
|
|
3498
3498
|
tokens: n,
|
|
3499
3499
|
location: r,
|
|
3500
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3500
|
+
parsedOptions: this.shouldParseSkeletons ? Di(n) : {}
|
|
3501
3501
|
},
|
|
3502
3502
|
err: null
|
|
3503
3503
|
};
|
|
@@ -3545,7 +3545,7 @@ var Ki = (
|
|
|
3545
3545
|
break;
|
|
3546
3546
|
}
|
|
3547
3547
|
var u = E(i, this.clonePosition());
|
|
3548
|
-
return o ? (s *= n,
|
|
3548
|
+
return o ? (s *= n, Qi(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
|
|
3549
3549
|
}, e.prototype.offset = function() {
|
|
3550
3550
|
return this.position.offset;
|
|
3551
3551
|
}, e.prototype.isEOF = function() {
|
|
@@ -3560,7 +3560,7 @@ var Ki = (
|
|
|
3560
3560
|
var t = this.position.offset;
|
|
3561
3561
|
if (t >= this.message.length)
|
|
3562
3562
|
throw Error("out of bound");
|
|
3563
|
-
var r =
|
|
3563
|
+
var r = rn(this.message, t);
|
|
3564
3564
|
if (r === void 0)
|
|
3565
3565
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3566
3566
|
return r;
|
|
@@ -3579,7 +3579,7 @@ var Ki = (
|
|
|
3579
3579
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3580
3580
|
}
|
|
3581
3581
|
}, e.prototype.bumpIf = function(t) {
|
|
3582
|
-
if (
|
|
3582
|
+
if (br(this.message, t, this.offset())) {
|
|
3583
3583
|
for (var r = 0; r < t.length; r++)
|
|
3584
3584
|
this.bump();
|
|
3585
3585
|
return !0;
|
|
@@ -3601,7 +3601,7 @@ var Ki = (
|
|
|
3601
3601
|
break;
|
|
3602
3602
|
}
|
|
3603
3603
|
}, e.prototype.bumpSpace = function() {
|
|
3604
|
-
for (; !this.isEOF() &&
|
|
3604
|
+
for (; !this.isEOF() && on(this.char()); )
|
|
3605
3605
|
this.bump();
|
|
3606
3606
|
}, e.prototype.peek = function() {
|
|
3607
3607
|
if (this.isEOF())
|
|
@@ -3611,47 +3611,47 @@ var Ki = (
|
|
|
3611
3611
|
}, e;
|
|
3612
3612
|
}()
|
|
3613
3613
|
);
|
|
3614
|
-
function
|
|
3614
|
+
function jt(e) {
|
|
3615
3615
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3616
3616
|
}
|
|
3617
|
-
function
|
|
3618
|
-
return
|
|
3617
|
+
function ro(e) {
|
|
3618
|
+
return jt(e) || e === 47;
|
|
3619
3619
|
}
|
|
3620
|
-
function
|
|
3620
|
+
function no(e) {
|
|
3621
3621
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
|
3622
3622
|
}
|
|
3623
|
-
function
|
|
3623
|
+
function on(e) {
|
|
3624
3624
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3625
3625
|
}
|
|
3626
|
-
function
|
|
3626
|
+
function io(e) {
|
|
3627
3627
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
|
3628
3628
|
}
|
|
3629
|
-
function
|
|
3629
|
+
function Vt(e) {
|
|
3630
3630
|
e.forEach(function(t) {
|
|
3631
|
-
if (delete t.location,
|
|
3631
|
+
if (delete t.location, Zr(t) || qr(t))
|
|
3632
3632
|
for (var r in t.options)
|
|
3633
|
-
delete t.options[r].location,
|
|
3633
|
+
delete t.options[r].location, Vt(t.options[r].value);
|
|
3634
3634
|
else
|
|
3635
|
-
|
|
3635
|
+
zr(t) && Qr(t.style) || (Xr(t) || Wr(t)) && Dt(t.style) ? delete t.style.location : Jr(t) && Vt(t.children);
|
|
3636
3636
|
});
|
|
3637
3637
|
}
|
|
3638
|
-
function
|
|
3639
|
-
t === void 0 && (t = {}), t =
|
|
3640
|
-
var r = new
|
|
3638
|
+
function oo(e, t) {
|
|
3639
|
+
t === void 0 && (t = {}), t = ht({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3640
|
+
var r = new to(e, t).parse();
|
|
3641
3641
|
if (r.err) {
|
|
3642
3642
|
var n = SyntaxError(_[r.err.kind]);
|
|
3643
3643
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3644
3644
|
}
|
|
3645
|
-
return t != null && t.captureLocation ||
|
|
3645
|
+
return t != null && t.captureLocation || Vt(r.val), r.val;
|
|
3646
3646
|
}
|
|
3647
3647
|
var Ce;
|
|
3648
3648
|
(function(e) {
|
|
3649
3649
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3650
3650
|
})(Ce || (Ce = {}));
|
|
3651
|
-
var
|
|
3651
|
+
var bt = (
|
|
3652
3652
|
/** @class */
|
|
3653
3653
|
function(e) {
|
|
3654
|
-
|
|
3654
|
+
gt(t, e);
|
|
3655
3655
|
function t(r, n, i) {
|
|
3656
3656
|
var o = e.call(this, r) || this;
|
|
3657
3657
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3660,48 +3660,48 @@ var gt = (
|
|
|
3660
3660
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3661
3661
|
}, t;
|
|
3662
3662
|
}(Error)
|
|
3663
|
-
),
|
|
3663
|
+
), _r = (
|
|
3664
3664
|
/** @class */
|
|
3665
3665
|
function(e) {
|
|
3666
|
-
|
|
3666
|
+
gt(t, e);
|
|
3667
3667
|
function t(r, n, i, o) {
|
|
3668
3668
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Ce.INVALID_VALUE, o) || this;
|
|
3669
3669
|
}
|
|
3670
3670
|
return t;
|
|
3671
|
-
}(
|
|
3672
|
-
),
|
|
3671
|
+
}(bt)
|
|
3672
|
+
), so = (
|
|
3673
3673
|
/** @class */
|
|
3674
3674
|
function(e) {
|
|
3675
|
-
|
|
3675
|
+
gt(t, e);
|
|
3676
3676
|
function t(r, n, i) {
|
|
3677
3677
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Ce.INVALID_VALUE, i) || this;
|
|
3678
3678
|
}
|
|
3679
3679
|
return t;
|
|
3680
|
-
}(
|
|
3681
|
-
),
|
|
3680
|
+
}(bt)
|
|
3681
|
+
), ao = (
|
|
3682
3682
|
/** @class */
|
|
3683
3683
|
function(e) {
|
|
3684
|
-
|
|
3684
|
+
gt(t, e);
|
|
3685
3685
|
function t(r, n) {
|
|
3686
3686
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Ce.MISSING_VALUE, n) || this;
|
|
3687
3687
|
}
|
|
3688
3688
|
return t;
|
|
3689
|
-
}(
|
|
3689
|
+
}(bt)
|
|
3690
3690
|
), V;
|
|
3691
3691
|
(function(e) {
|
|
3692
3692
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3693
3693
|
})(V || (V = {}));
|
|
3694
|
-
function
|
|
3694
|
+
function lo(e) {
|
|
3695
3695
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3696
3696
|
var n = t[t.length - 1];
|
|
3697
3697
|
return !n || n.type !== V.literal || r.type !== V.literal ? t.push(r) : n.value += r.value, t;
|
|
3698
3698
|
}, []);
|
|
3699
3699
|
}
|
|
3700
|
-
function
|
|
3700
|
+
function uo(e) {
|
|
3701
3701
|
return typeof e == "function";
|
|
3702
3702
|
}
|
|
3703
|
-
function
|
|
3704
|
-
if (e.length === 1 &&
|
|
3703
|
+
function lt(e, t, r, n, i, o, s) {
|
|
3704
|
+
if (e.length === 1 && dr(e[0]))
|
|
3705
3705
|
return [
|
|
3706
3706
|
{
|
|
3707
3707
|
type: V.literal,
|
|
@@ -3710,14 +3710,14 @@ function at(e, t, r, n, i, o, s) {
|
|
|
3710
3710
|
];
|
|
3711
3711
|
for (var a = [], u = 0, l = e; u < l.length; u++) {
|
|
3712
3712
|
var c = l[u];
|
|
3713
|
-
if (
|
|
3713
|
+
if (dr(c)) {
|
|
3714
3714
|
a.push({
|
|
3715
3715
|
type: V.literal,
|
|
3716
3716
|
value: c.value
|
|
3717
3717
|
});
|
|
3718
3718
|
continue;
|
|
3719
3719
|
}
|
|
3720
|
-
if (
|
|
3720
|
+
if (Oi(c)) {
|
|
3721
3721
|
typeof o == "number" && a.push({
|
|
3722
3722
|
type: V.literal,
|
|
3723
3723
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3726,89 +3726,89 @@ function at(e, t, r, n, i, o, s) {
|
|
|
3726
3726
|
}
|
|
3727
3727
|
var f = c.value;
|
|
3728
3728
|
if (!(i && f in i))
|
|
3729
|
-
throw new
|
|
3729
|
+
throw new ao(f, s);
|
|
3730
3730
|
var d = i[f];
|
|
3731
|
-
if (
|
|
3731
|
+
if (Ii(c)) {
|
|
3732
3732
|
(!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
|
|
3733
3733
|
type: typeof d == "string" ? V.literal : V.object,
|
|
3734
3734
|
value: d
|
|
3735
3735
|
});
|
|
3736
3736
|
continue;
|
|
3737
3737
|
}
|
|
3738
|
-
if (
|
|
3739
|
-
var b = typeof c.style == "string" ? n.date[c.style] :
|
|
3738
|
+
if (Xr(c)) {
|
|
3739
|
+
var b = typeof c.style == "string" ? n.date[c.style] : Dt(c.style) ? c.style.parsedOptions : void 0;
|
|
3740
3740
|
a.push({
|
|
3741
3741
|
type: V.literal,
|
|
3742
3742
|
value: r.getDateTimeFormat(t, b).format(d)
|
|
3743
3743
|
});
|
|
3744
3744
|
continue;
|
|
3745
3745
|
}
|
|
3746
|
-
if (
|
|
3747
|
-
var b = typeof c.style == "string" ? n.time[c.style] :
|
|
3746
|
+
if (Wr(c)) {
|
|
3747
|
+
var b = typeof c.style == "string" ? n.time[c.style] : Dt(c.style) ? c.style.parsedOptions : n.time.medium;
|
|
3748
3748
|
a.push({
|
|
3749
3749
|
type: V.literal,
|
|
3750
3750
|
value: r.getDateTimeFormat(t, b).format(d)
|
|
3751
3751
|
});
|
|
3752
3752
|
continue;
|
|
3753
3753
|
}
|
|
3754
|
-
if (
|
|
3755
|
-
var b = typeof c.style == "string" ? n.number[c.style] :
|
|
3754
|
+
if (zr(c)) {
|
|
3755
|
+
var b = typeof c.style == "string" ? n.number[c.style] : Qr(c.style) ? c.style.parsedOptions : void 0;
|
|
3756
3756
|
b && b.scale && (d = d * (b.scale || 1)), a.push({
|
|
3757
3757
|
type: V.literal,
|
|
3758
3758
|
value: r.getNumberFormat(t, b).format(d)
|
|
3759
3759
|
});
|
|
3760
3760
|
continue;
|
|
3761
3761
|
}
|
|
3762
|
-
if (
|
|
3762
|
+
if (Jr(c)) {
|
|
3763
3763
|
var y = c.children, g = c.value, x = i[g];
|
|
3764
|
-
if (!
|
|
3765
|
-
throw new
|
|
3766
|
-
var
|
|
3767
|
-
return
|
|
3764
|
+
if (!uo(x))
|
|
3765
|
+
throw new so(g, "function", s);
|
|
3766
|
+
var C = lt(y, t, r, n, i, o), z = x(C.map(function(I) {
|
|
3767
|
+
return I.value;
|
|
3768
3768
|
}));
|
|
3769
|
-
Array.isArray(z) || (z = [z]), a.push.apply(a, z.map(function(
|
|
3769
|
+
Array.isArray(z) || (z = [z]), a.push.apply(a, z.map(function(I) {
|
|
3770
3770
|
return {
|
|
3771
|
-
type: typeof
|
|
3772
|
-
value:
|
|
3771
|
+
type: typeof I == "string" ? V.literal : V.object,
|
|
3772
|
+
value: I
|
|
3773
3773
|
};
|
|
3774
3774
|
}));
|
|
3775
3775
|
}
|
|
3776
|
-
if (
|
|
3776
|
+
if (Zr(c)) {
|
|
3777
3777
|
var R = c.options[d] || c.options.other;
|
|
3778
3778
|
if (!R)
|
|
3779
|
-
throw new
|
|
3780
|
-
a.push.apply(a,
|
|
3779
|
+
throw new _r(c.value, d, Object.keys(c.options), s);
|
|
3780
|
+
a.push.apply(a, lt(R.value, t, r, n, i));
|
|
3781
3781
|
continue;
|
|
3782
3782
|
}
|
|
3783
|
-
if (
|
|
3783
|
+
if (qr(c)) {
|
|
3784
3784
|
var R = c.options["=".concat(d)];
|
|
3785
3785
|
if (!R) {
|
|
3786
3786
|
if (!Intl.PluralRules)
|
|
3787
|
-
throw new
|
|
3787
|
+
throw new bt(`Intl.PluralRules is not available in this environment.
|
|
3788
3788
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3789
3789
|
`, Ce.MISSING_INTL_API, s);
|
|
3790
3790
|
var U = r.getPluralRules(t, { type: c.pluralType }).select(d - (c.offset || 0));
|
|
3791
3791
|
R = c.options[U] || c.options.other;
|
|
3792
3792
|
}
|
|
3793
3793
|
if (!R)
|
|
3794
|
-
throw new
|
|
3795
|
-
a.push.apply(a,
|
|
3794
|
+
throw new _r(c.value, d, Object.keys(c.options), s);
|
|
3795
|
+
a.push.apply(a, lt(R.value, t, r, n, i, d - (c.offset || 0)));
|
|
3796
3796
|
continue;
|
|
3797
3797
|
}
|
|
3798
3798
|
}
|
|
3799
|
-
return
|
|
3799
|
+
return lo(a);
|
|
3800
3800
|
}
|
|
3801
|
-
function
|
|
3801
|
+
function co(e, t) {
|
|
3802
3802
|
return t ? oe(oe(oe({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3803
3803
|
return r[n] = oe(oe({}, e[n]), t[n] || {}), r;
|
|
3804
3804
|
}, {})) : e;
|
|
3805
3805
|
}
|
|
3806
|
-
function
|
|
3806
|
+
function ho(e, t) {
|
|
3807
3807
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3808
|
-
return r[n] =
|
|
3808
|
+
return r[n] = co(e[n], t[n]), r;
|
|
3809
3809
|
}, oe({}, e)) : e;
|
|
3810
3810
|
}
|
|
3811
|
-
function
|
|
3811
|
+
function Ht(e) {
|
|
3812
3812
|
return {
|
|
3813
3813
|
create: function() {
|
|
3814
3814
|
return {
|
|
@@ -3822,39 +3822,39 @@ function Bt(e) {
|
|
|
3822
3822
|
}
|
|
3823
3823
|
};
|
|
3824
3824
|
}
|
|
3825
|
-
function
|
|
3825
|
+
function fo(e) {
|
|
3826
3826
|
return e === void 0 && (e = {
|
|
3827
3827
|
number: {},
|
|
3828
3828
|
dateTime: {},
|
|
3829
3829
|
pluralRules: {}
|
|
3830
3830
|
}), {
|
|
3831
|
-
getNumberFormat:
|
|
3831
|
+
getNumberFormat: Pt(function() {
|
|
3832
3832
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3833
3833
|
r[n] = arguments[n];
|
|
3834
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3834
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, St([void 0], r, !1)))();
|
|
3835
3835
|
}, {
|
|
3836
|
-
cache:
|
|
3837
|
-
strategy:
|
|
3836
|
+
cache: Ht(e.number),
|
|
3837
|
+
strategy: Tt.variadic
|
|
3838
3838
|
}),
|
|
3839
|
-
getDateTimeFormat:
|
|
3839
|
+
getDateTimeFormat: Pt(function() {
|
|
3840
3840
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3841
3841
|
r[n] = arguments[n];
|
|
3842
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3842
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, St([void 0], r, !1)))();
|
|
3843
3843
|
}, {
|
|
3844
|
-
cache:
|
|
3845
|
-
strategy:
|
|
3844
|
+
cache: Ht(e.dateTime),
|
|
3845
|
+
strategy: Tt.variadic
|
|
3846
3846
|
}),
|
|
3847
|
-
getPluralRules:
|
|
3847
|
+
getPluralRules: Pt(function() {
|
|
3848
3848
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3849
3849
|
r[n] = arguments[n];
|
|
3850
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3850
|
+
return new ((t = Intl.PluralRules).bind.apply(t, St([void 0], r, !1)))();
|
|
3851
3851
|
}, {
|
|
3852
|
-
cache:
|
|
3853
|
-
strategy:
|
|
3852
|
+
cache: Ht(e.pluralRules),
|
|
3853
|
+
strategy: Tt.variadic
|
|
3854
3854
|
})
|
|
3855
3855
|
};
|
|
3856
3856
|
}
|
|
3857
|
-
var
|
|
3857
|
+
var po = (
|
|
3858
3858
|
/** @class */
|
|
3859
3859
|
function() {
|
|
3860
3860
|
function e(t, r, n, i) {
|
|
@@ -3873,7 +3873,7 @@ var ho = (
|
|
|
3873
3873
|
}, []);
|
|
3874
3874
|
return c.length <= 1 ? c[0] || "" : c;
|
|
3875
3875
|
}, this.formatToParts = function(u) {
|
|
3876
|
-
return
|
|
3876
|
+
return lt(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
|
|
3877
3877
|
}, this.resolvedOptions = function() {
|
|
3878
3878
|
var u;
|
|
3879
3879
|
return {
|
|
@@ -3886,13 +3886,13 @@ var ho = (
|
|
|
3886
3886
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3887
3887
|
var s = i || {};
|
|
3888
3888
|
s.formatters;
|
|
3889
|
-
var a =
|
|
3889
|
+
var a = wi(s, ["formatters"]);
|
|
3890
3890
|
this.ast = e.__parse(t, oe(oe({}, a), { locale: this.resolvedLocale }));
|
|
3891
3891
|
} else
|
|
3892
3892
|
this.ast = t;
|
|
3893
3893
|
if (!Array.isArray(this.ast))
|
|
3894
3894
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3895
|
-
this.formats =
|
|
3895
|
+
this.formats = ho(e.formats, n), this.formatters = i && i.formatters || fo(this.formatterCache);
|
|
3896
3896
|
}
|
|
3897
3897
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3898
3898
|
get: function() {
|
|
@@ -3905,7 +3905,7 @@ var ho = (
|
|
|
3905
3905
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3906
3906
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3907
3907
|
}
|
|
3908
|
-
}, e.__parse =
|
|
3908
|
+
}, e.__parse = oo, e.formats = {
|
|
3909
3909
|
number: {
|
|
3910
3910
|
integer: {
|
|
3911
3911
|
maximumFractionDigits: 0
|
|
@@ -3966,7 +3966,7 @@ var ho = (
|
|
|
3966
3966
|
}, e;
|
|
3967
3967
|
}()
|
|
3968
3968
|
);
|
|
3969
|
-
function
|
|
3969
|
+
function mo(e, t) {
|
|
3970
3970
|
if (t == null)
|
|
3971
3971
|
return;
|
|
3972
3972
|
if (t in e)
|
|
@@ -3987,92 +3987,92 @@ function fo(e, t) {
|
|
|
3987
3987
|
n = void 0;
|
|
3988
3988
|
return n;
|
|
3989
3989
|
}
|
|
3990
|
-
const
|
|
3990
|
+
const he = {}, go = (e, t, r) => r && (t in he || (he[t] = {}), e in he[t] || (he[t][e] = r), r), sn = (e, t) => {
|
|
3991
3991
|
if (t == null)
|
|
3992
3992
|
return;
|
|
3993
|
-
if (t in
|
|
3994
|
-
return
|
|
3995
|
-
const r =
|
|
3993
|
+
if (t in he && e in he[t])
|
|
3994
|
+
return he[t][e];
|
|
3995
|
+
const r = vt(t);
|
|
3996
3996
|
for (let n = 0; n < r.length; n++) {
|
|
3997
|
-
const i = r[n], o =
|
|
3997
|
+
const i = r[n], o = vo(i, e);
|
|
3998
3998
|
if (o)
|
|
3999
|
-
return
|
|
3999
|
+
return go(e, t, o);
|
|
4000
4000
|
}
|
|
4001
4001
|
};
|
|
4002
|
-
let
|
|
4003
|
-
const Re =
|
|
4004
|
-
function
|
|
4005
|
-
return
|
|
4002
|
+
let Zt;
|
|
4003
|
+
const Re = mt({});
|
|
4004
|
+
function bo(e) {
|
|
4005
|
+
return Zt[e] || null;
|
|
4006
4006
|
}
|
|
4007
|
-
function
|
|
4008
|
-
return e in
|
|
4007
|
+
function an(e) {
|
|
4008
|
+
return e in Zt;
|
|
4009
4009
|
}
|
|
4010
|
-
function
|
|
4011
|
-
if (!
|
|
4010
|
+
function vo(e, t) {
|
|
4011
|
+
if (!an(e))
|
|
4012
4012
|
return null;
|
|
4013
|
-
const r =
|
|
4014
|
-
return
|
|
4013
|
+
const r = bo(e);
|
|
4014
|
+
return mo(r, t);
|
|
4015
4015
|
}
|
|
4016
|
-
function
|
|
4016
|
+
function yo(e) {
|
|
4017
4017
|
if (e == null)
|
|
4018
4018
|
return;
|
|
4019
|
-
const t =
|
|
4019
|
+
const t = vt(e);
|
|
4020
4020
|
for (let r = 0; r < t.length; r++) {
|
|
4021
4021
|
const n = t[r];
|
|
4022
|
-
if (
|
|
4022
|
+
if (an(n))
|
|
4023
4023
|
return n;
|
|
4024
4024
|
}
|
|
4025
4025
|
}
|
|
4026
|
-
function
|
|
4027
|
-
delete
|
|
4026
|
+
function ln(e, ...t) {
|
|
4027
|
+
delete he[e], Re.update((r) => (r[e] = Ei.all([r[e] || {}, ...t]), r));
|
|
4028
4028
|
}
|
|
4029
4029
|
Ne(
|
|
4030
4030
|
[Re],
|
|
4031
4031
|
([e]) => Object.keys(e)
|
|
4032
4032
|
);
|
|
4033
|
-
Re.subscribe((e) =>
|
|
4034
|
-
const
|
|
4035
|
-
function
|
|
4036
|
-
|
|
4033
|
+
Re.subscribe((e) => Zt = e);
|
|
4034
|
+
const ut = {};
|
|
4035
|
+
function _o(e, t) {
|
|
4036
|
+
ut[e].delete(t), ut[e].size === 0 && delete ut[e];
|
|
4037
4037
|
}
|
|
4038
|
-
function
|
|
4039
|
-
return
|
|
4038
|
+
function un(e) {
|
|
4039
|
+
return ut[e];
|
|
4040
4040
|
}
|
|
4041
|
-
function
|
|
4042
|
-
return
|
|
4043
|
-
const r =
|
|
4041
|
+
function Eo(e) {
|
|
4042
|
+
return vt(e).map((t) => {
|
|
4043
|
+
const r = un(t);
|
|
4044
4044
|
return [t, r ? [...r] : []];
|
|
4045
4045
|
}).filter(([, t]) => t.length > 0);
|
|
4046
4046
|
}
|
|
4047
|
-
function
|
|
4048
|
-
return e == null ? !1 :
|
|
4047
|
+
function zt(e) {
|
|
4048
|
+
return e == null ? !1 : vt(e).some(
|
|
4049
4049
|
(t) => {
|
|
4050
4050
|
var r;
|
|
4051
|
-
return (r =
|
|
4051
|
+
return (r = un(t)) == null ? void 0 : r.size;
|
|
4052
4052
|
}
|
|
4053
4053
|
);
|
|
4054
4054
|
}
|
|
4055
|
-
function
|
|
4055
|
+
function wo(e, t) {
|
|
4056
4056
|
return Promise.all(
|
|
4057
|
-
t.map((n) => (
|
|
4058
|
-
).then((n) =>
|
|
4059
|
-
}
|
|
4060
|
-
const
|
|
4061
|
-
function
|
|
4062
|
-
if (!
|
|
4063
|
-
return e in
|
|
4064
|
-
const t =
|
|
4065
|
-
return
|
|
4057
|
+
t.map((n) => (_o(e, n), n().then((i) => i.default || i)))
|
|
4058
|
+
).then((n) => ln(e, ...n));
|
|
4059
|
+
}
|
|
4060
|
+
const ze = {};
|
|
4061
|
+
function cn(e) {
|
|
4062
|
+
if (!zt(e))
|
|
4063
|
+
return e in ze ? ze[e] : Promise.resolve();
|
|
4064
|
+
const t = Eo(e);
|
|
4065
|
+
return ze[e] = Promise.all(
|
|
4066
4066
|
t.map(
|
|
4067
|
-
([r, n]) =>
|
|
4067
|
+
([r, n]) => wo(r, n)
|
|
4068
4068
|
)
|
|
4069
4069
|
).then(() => {
|
|
4070
|
-
if (
|
|
4071
|
-
return
|
|
4072
|
-
delete
|
|
4073
|
-
}),
|
|
4070
|
+
if (zt(e))
|
|
4071
|
+
return cn(e);
|
|
4072
|
+
delete ze[e];
|
|
4073
|
+
}), ze[e];
|
|
4074
4074
|
}
|
|
4075
|
-
const
|
|
4075
|
+
const xo = {
|
|
4076
4076
|
number: {
|
|
4077
4077
|
scientific: { notation: "scientific" },
|
|
4078
4078
|
engineering: { notation: "engineering" },
|
|
@@ -4101,148 +4101,148 @@ const Eo = {
|
|
|
4101
4101
|
timeZoneName: "short"
|
|
4102
4102
|
}
|
|
4103
4103
|
}
|
|
4104
|
-
},
|
|
4104
|
+
}, So = {
|
|
4105
4105
|
fallbackLocale: null,
|
|
4106
4106
|
loadingDelay: 200,
|
|
4107
|
-
formats:
|
|
4107
|
+
formats: xo,
|
|
4108
4108
|
warnOnMissingMessages: !0,
|
|
4109
4109
|
handleMissingMessage: void 0,
|
|
4110
4110
|
ignoreTag: !0
|
|
4111
|
-
},
|
|
4111
|
+
}, Po = So;
|
|
4112
4112
|
function Le() {
|
|
4113
|
-
return
|
|
4113
|
+
return Po;
|
|
4114
4114
|
}
|
|
4115
|
-
const
|
|
4116
|
-
var
|
|
4115
|
+
const At = mt(!1);
|
|
4116
|
+
var To = Object.defineProperty, Bo = Object.defineProperties, Ho = Object.getOwnPropertyDescriptors, Er = Object.getOwnPropertySymbols, Ao = Object.prototype.hasOwnProperty, Io = Object.prototype.propertyIsEnumerable, wr = (e, t, r) => t in e ? To(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Oo = (e, t) => {
|
|
4117
4117
|
for (var r in t || (t = {}))
|
|
4118
|
-
|
|
4119
|
-
if (
|
|
4120
|
-
for (var r of
|
|
4121
|
-
|
|
4118
|
+
Ao.call(t, r) && wr(e, r, t[r]);
|
|
4119
|
+
if (Er)
|
|
4120
|
+
for (var r of Er(t))
|
|
4121
|
+
Io.call(t, r) && wr(e, r, t[r]);
|
|
4122
4122
|
return e;
|
|
4123
|
-
},
|
|
4124
|
-
let
|
|
4125
|
-
const
|
|
4126
|
-
function
|
|
4123
|
+
}, Co = (e, t) => Bo(e, Ho(t));
|
|
4124
|
+
let Xt;
|
|
4125
|
+
const ft = mt(null);
|
|
4126
|
+
function xr(e) {
|
|
4127
4127
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4128
4128
|
}
|
|
4129
|
-
function
|
|
4130
|
-
const r =
|
|
4131
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4129
|
+
function vt(e, t = Le().fallbackLocale) {
|
|
4130
|
+
const r = xr(e);
|
|
4131
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...xr(t)])] : r;
|
|
4132
4132
|
}
|
|
4133
|
-
function
|
|
4134
|
-
return
|
|
4133
|
+
function ge() {
|
|
4134
|
+
return Xt != null ? Xt : void 0;
|
|
4135
4135
|
}
|
|
4136
|
-
|
|
4137
|
-
|
|
4136
|
+
ft.subscribe((e) => {
|
|
4137
|
+
Xt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4138
4138
|
});
|
|
4139
|
-
const
|
|
4140
|
-
if (e &&
|
|
4139
|
+
const Lo = (e) => {
|
|
4140
|
+
if (e && yo(e) && zt(e)) {
|
|
4141
4141
|
const { loadingDelay: t } = Le();
|
|
4142
4142
|
let r;
|
|
4143
|
-
return typeof window != "undefined" &&
|
|
4144
|
-
() =>
|
|
4143
|
+
return typeof window != "undefined" && ge() != null && t ? r = window.setTimeout(
|
|
4144
|
+
() => At.set(!0),
|
|
4145
4145
|
t
|
|
4146
|
-
) :
|
|
4147
|
-
|
|
4146
|
+
) : At.set(!0), cn(e).then(() => {
|
|
4147
|
+
ft.set(e);
|
|
4148
4148
|
}).finally(() => {
|
|
4149
|
-
clearTimeout(r),
|
|
4149
|
+
clearTimeout(r), At.set(!1);
|
|
4150
4150
|
});
|
|
4151
4151
|
}
|
|
4152
|
-
return
|
|
4153
|
-
},
|
|
4154
|
-
set:
|
|
4155
|
-
}),
|
|
4152
|
+
return ft.set(e);
|
|
4153
|
+
}, fe = Co(Oo({}, ft), {
|
|
4154
|
+
set: Lo
|
|
4155
|
+
}), yt = (e) => {
|
|
4156
4156
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4157
4157
|
return (n) => {
|
|
4158
4158
|
const i = JSON.stringify(n);
|
|
4159
4159
|
return i in t ? t[i] : t[i] = e(n);
|
|
4160
4160
|
};
|
|
4161
4161
|
};
|
|
4162
|
-
var
|
|
4162
|
+
var Mo = Object.defineProperty, dt = Object.getOwnPropertySymbols, hn = Object.prototype.hasOwnProperty, fn = Object.prototype.propertyIsEnumerable, Sr = (e, t, r) => t in e ? Mo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qt = (e, t) => {
|
|
4163
4163
|
for (var r in t || (t = {}))
|
|
4164
|
-
|
|
4165
|
-
if (
|
|
4166
|
-
for (var r of
|
|
4167
|
-
|
|
4164
|
+
hn.call(t, r) && Sr(e, r, t[r]);
|
|
4165
|
+
if (dt)
|
|
4166
|
+
for (var r of dt(t))
|
|
4167
|
+
fn.call(t, r) && Sr(e, r, t[r]);
|
|
4168
4168
|
return e;
|
|
4169
4169
|
}, Ue = (e, t) => {
|
|
4170
4170
|
var r = {};
|
|
4171
4171
|
for (var n in e)
|
|
4172
|
-
|
|
4173
|
-
if (e != null &&
|
|
4174
|
-
for (var n of
|
|
4175
|
-
t.indexOf(n) < 0 &&
|
|
4172
|
+
hn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4173
|
+
if (e != null && dt)
|
|
4174
|
+
for (var n of dt(e))
|
|
4175
|
+
t.indexOf(n) < 0 && fn.call(e, n) && (r[n] = e[n]);
|
|
4176
4176
|
return r;
|
|
4177
4177
|
};
|
|
4178
|
-
const
|
|
4178
|
+
const qe = (e, t) => {
|
|
4179
4179
|
const { formats: r } = Le();
|
|
4180
4180
|
if (e in r && t in r[e])
|
|
4181
4181
|
return r[e][t];
|
|
4182
4182
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4183
|
-
},
|
|
4183
|
+
}, No = yt(
|
|
4184
4184
|
(e) => {
|
|
4185
4185
|
var t = e, { locale: r, format: n } = t, i = Ue(t, ["locale", "format"]);
|
|
4186
4186
|
if (r == null)
|
|
4187
4187
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4188
|
-
return n && (i =
|
|
4188
|
+
return n && (i = qe("number", n)), new Intl.NumberFormat(r, i);
|
|
4189
4189
|
}
|
|
4190
|
-
),
|
|
4190
|
+
), Ro = yt(
|
|
4191
4191
|
(e) => {
|
|
4192
4192
|
var t = e, { locale: r, format: n } = t, i = Ue(t, ["locale", "format"]);
|
|
4193
4193
|
if (r == null)
|
|
4194
4194
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4195
|
-
return n ? i =
|
|
4195
|
+
return n ? i = qe("date", n) : Object.keys(i).length === 0 && (i = qe("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4196
4196
|
}
|
|
4197
|
-
),
|
|
4197
|
+
), Uo = yt(
|
|
4198
4198
|
(e) => {
|
|
4199
4199
|
var t = e, { locale: r, format: n } = t, i = Ue(t, ["locale", "format"]);
|
|
4200
4200
|
if (r == null)
|
|
4201
4201
|
throw new Error(
|
|
4202
4202
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4203
4203
|
);
|
|
4204
|
-
return n ? i =
|
|
4204
|
+
return n ? i = qe("time", n) : Object.keys(i).length === 0 && (i = qe("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4205
4205
|
}
|
|
4206
|
-
),
|
|
4206
|
+
), Fo = (e = {}) => {
|
|
4207
4207
|
var t = e, {
|
|
4208
|
-
locale: r =
|
|
4208
|
+
locale: r = ge()
|
|
4209
4209
|
} = t, n = Ue(t, [
|
|
4210
4210
|
"locale"
|
|
4211
4211
|
]);
|
|
4212
|
-
return
|
|
4213
|
-
},
|
|
4212
|
+
return No(qt({ locale: r }, n));
|
|
4213
|
+
}, Do = (e = {}) => {
|
|
4214
4214
|
var t = e, {
|
|
4215
|
-
locale: r =
|
|
4215
|
+
locale: r = ge()
|
|
4216
4216
|
} = t, n = Ue(t, [
|
|
4217
4217
|
"locale"
|
|
4218
4218
|
]);
|
|
4219
|
-
return
|
|
4220
|
-
},
|
|
4219
|
+
return Ro(qt({ locale: r }, n));
|
|
4220
|
+
}, ko = (e = {}) => {
|
|
4221
4221
|
var t = e, {
|
|
4222
|
-
locale: r =
|
|
4222
|
+
locale: r = ge()
|
|
4223
4223
|
} = t, n = Ue(t, [
|
|
4224
4224
|
"locale"
|
|
4225
4225
|
]);
|
|
4226
|
-
return
|
|
4227
|
-
},
|
|
4226
|
+
return Uo(qt({ locale: r }, n));
|
|
4227
|
+
}, $o = yt(
|
|
4228
4228
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4229
|
-
(e, t =
|
|
4229
|
+
(e, t = ge()) => new po(e, t, Le().formats, {
|
|
4230
4230
|
ignoreTag: Le().ignoreTag
|
|
4231
4231
|
})
|
|
4232
|
-
),
|
|
4232
|
+
), Go = (e, t = {}) => {
|
|
4233
4233
|
var r, n, i, o;
|
|
4234
4234
|
let s = t;
|
|
4235
4235
|
typeof e == "object" && (s = e, e = s.id);
|
|
4236
4236
|
const {
|
|
4237
4237
|
values: a,
|
|
4238
|
-
locale: u =
|
|
4238
|
+
locale: u = ge(),
|
|
4239
4239
|
default: l
|
|
4240
4240
|
} = s;
|
|
4241
4241
|
if (u == null)
|
|
4242
4242
|
throw new Error(
|
|
4243
4243
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4244
4244
|
);
|
|
4245
|
-
let c =
|
|
4245
|
+
let c = sn(e, u);
|
|
4246
4246
|
if (!c)
|
|
4247
4247
|
c = (o = (i = (n = (r = Le()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
|
|
4248
4248
|
else if (typeof c != "string")
|
|
@@ -4253,7 +4253,7 @@ const We = (e, t) => {
|
|
|
4253
4253
|
return c;
|
|
4254
4254
|
let f = c;
|
|
4255
4255
|
try {
|
|
4256
|
-
f =
|
|
4256
|
+
f = $o(c, u).format(a);
|
|
4257
4257
|
} catch (d) {
|
|
4258
4258
|
d instanceof Error && console.warn(
|
|
4259
4259
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4261,21 +4261,22 @@ const We = (e, t) => {
|
|
|
4261
4261
|
);
|
|
4262
4262
|
}
|
|
4263
4263
|
return f;
|
|
4264
|
-
},
|
|
4265
|
-
Ne([
|
|
4266
|
-
Ne([
|
|
4267
|
-
Ne([
|
|
4268
|
-
Ne([
|
|
4269
|
-
window.emWidgets = { topic:
|
|
4270
|
-
const
|
|
4264
|
+
}, jo = (e, t) => ko(t).format(e), Vo = (e, t) => Do(t).format(e), zo = (e, t) => Fo(t).format(e), Xo = (e, t = ge()) => sn(e, t), Wo = Ne([fe, Re], () => Go);
|
|
4265
|
+
Ne([fe], () => jo);
|
|
4266
|
+
Ne([fe], () => Vo);
|
|
4267
|
+
Ne([fe], () => zo);
|
|
4268
|
+
Ne([fe, Re], () => Xo);
|
|
4269
|
+
window.emWidgets = { topic: ii };
|
|
4270
|
+
const Zo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
|
|
4271
4271
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
4272
|
-
|
|
4272
|
+
const He = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
4273
|
+
function qo(e, t) {
|
|
4273
4274
|
if (e) {
|
|
4274
4275
|
const r = document.createElement("style");
|
|
4275
4276
|
r.innerHTML = t, e.appendChild(r);
|
|
4276
4277
|
}
|
|
4277
4278
|
}
|
|
4278
|
-
function
|
|
4279
|
+
function Jo(e, t) {
|
|
4279
4280
|
if (!e || !t)
|
|
4280
4281
|
return;
|
|
4281
4282
|
const r = new URL(t);
|
|
@@ -4286,13 +4287,41 @@ function Zo(e, t) {
|
|
|
4286
4287
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4287
4288
|
});
|
|
4288
4289
|
}
|
|
4289
|
-
function
|
|
4290
|
-
if (window.emMessageBus)
|
|
4291
|
-
|
|
4292
|
-
|
|
4293
|
-
|
|
4290
|
+
function Qo(e, t, r, n = !1) {
|
|
4291
|
+
if (!window.emMessageBus)
|
|
4292
|
+
return;
|
|
4293
|
+
if (!("adoptedStyleSheets" in Document.prototype) || !n)
|
|
4294
|
+
return r = Yo(e, t), r;
|
|
4295
|
+
window[He] || (window[He] = {}), r = Ko(e, t);
|
|
4296
|
+
const o = r.unsubscribe.bind(r), s = () => {
|
|
4297
|
+
if (window[He][t]) {
|
|
4298
|
+
const a = window[He][t];
|
|
4299
|
+
a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[He][t];
|
|
4300
|
+
}
|
|
4301
|
+
o();
|
|
4302
|
+
};
|
|
4303
|
+
return r.unsubscribe = s, r;
|
|
4304
|
+
}
|
|
4305
|
+
function Yo(e, t) {
|
|
4306
|
+
const r = document.createElement("style");
|
|
4307
|
+
return window.emMessageBus.subscribe(t, (n) => {
|
|
4308
|
+
e && (r.innerHTML = n, e.appendChild(r));
|
|
4309
|
+
});
|
|
4310
|
+
}
|
|
4311
|
+
function Ko(e, t) {
|
|
4312
|
+
return window.emMessageBus.subscribe(t, (r) => {
|
|
4313
|
+
var a;
|
|
4314
|
+
if (!e)
|
|
4315
|
+
return;
|
|
4316
|
+
const n = e.getRootNode(), i = window[He];
|
|
4317
|
+
let o = (a = i[t]) == null ? void 0 : a.sheet;
|
|
4318
|
+
o ? i[t].refCount = i[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), i[t] = {
|
|
4319
|
+
sheet: o,
|
|
4320
|
+
refCount: 1
|
|
4294
4321
|
});
|
|
4295
|
-
|
|
4322
|
+
const s = n.adoptedStyleSheets || [];
|
|
4323
|
+
s.includes(o) || (n.adoptedStyleSheets = [...s, o]);
|
|
4324
|
+
});
|
|
4296
4325
|
}
|
|
4297
4326
|
if (typeof window != "undefined") {
|
|
4298
4327
|
let e = function(t) {
|
|
@@ -4306,22 +4335,22 @@ if (typeof window != "undefined") {
|
|
|
4306
4335
|
}
|
|
4307
4336
|
};
|
|
4308
4337
|
};
|
|
4309
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-
|
|
4338
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-CjFLZwH3.js").then(({ default: t }) => {
|
|
4310
4339
|
!customElements.get("general-player-sms-verification-form") && customElements.define("general-player-sms-verification-form", t.element);
|
|
4311
4340
|
});
|
|
4312
4341
|
}
|
|
4313
|
-
function
|
|
4314
|
-
|
|
4315
|
-
r == null && (Re.set(t),
|
|
4342
|
+
function es({ withLocale: e, translations: t }) {
|
|
4343
|
+
fe.subscribe((r) => {
|
|
4344
|
+
r == null && (Re.set(t), fe.set(e));
|
|
4316
4345
|
});
|
|
4317
4346
|
}
|
|
4318
|
-
function
|
|
4319
|
-
|
|
4347
|
+
function Pr(e, t) {
|
|
4348
|
+
ln(e, t);
|
|
4320
4349
|
}
|
|
4321
|
-
function
|
|
4322
|
-
|
|
4350
|
+
function ts(e) {
|
|
4351
|
+
fe.set(e);
|
|
4323
4352
|
}
|
|
4324
|
-
const
|
|
4353
|
+
const Tr = {
|
|
4325
4354
|
en: {
|
|
4326
4355
|
loginTitle: "Welcome",
|
|
4327
4356
|
loginSubtitle: "Don't have an account yet?",
|
|
@@ -4466,14 +4495,14 @@ const Pr = {
|
|
|
4466
4495
|
successMessage: "Login successful"
|
|
4467
4496
|
}
|
|
4468
4497
|
};
|
|
4469
|
-
function
|
|
4470
|
-
|
|
4498
|
+
function rs(e) {
|
|
4499
|
+
Sn(e, "svelte-1l95g5", '.grecaptcha-badge{opacity:0}.PlayerLoginFormWrapper{height:100%}.FormContainer{width:100%}.FormLogin{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8));padding:50px}.FormHeaderTitle{color:var(--emw--registration-typography, var(--emw--color-contrast, #07072A));font-size:20px;font-weight:300;padding:0;text-transform:uppercase;margin:0}.PasswordContainer{position:relative}.FormRequired{color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.FormHeaderSubtitle{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));font-size:14px;font-weight:300;margin:5px 0 0 0}.FormRegisterCallToAction{color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));font-size:14px;font-weight:400;text-decoration:none;cursor:pointer}.FormContent{padding-top:20px}.UserContainer,.PasswordContainer,.CaptchaContainer{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));display:flex;flex-direction:column;position:relative}.UserContainer label,.PasswordContainer label,.CaptchaContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.UserContainer input,.PasswordContainer input,.CaptchaContainer input{width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.UserContainer.InvalidField input,.PasswordContainer.InvalidField input,.CaptchaContainer.InvalidField input{border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.PasswordContainer input{padding:5px 30px 5px 15px}.TogglePasswordVisibility{height:13px;position:absolute;right:8px;bottom:55px}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B))}.SignInButton{color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer}.SignInButton[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);cursor:not-allowed}.ForgotPasswordButton{border:0;background:transparent;font-size:14px;font-weight:300;color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));margin-top:15px;cursor:pointer}.PasswordContainer,.UserContainer{padding-bottom:40px}.InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:10px;position:absolute;top:55px;padding-top:5px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:12px;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.FormMobileContainer{height:100%}.FormMobileContainer .FormLogin{padding:40px 20px}.FormMobileContainer .SignInButton,.FormMobileContainer .UserContainer input,.FormMobileContainer .PasswordContainer input,.FormMobileContainer .CaptchaContainer{max-width:unset}.ModalLoaderWrapper{display:flex;height:100%;align-items:center}.ModalLoader{display:block;width:80px;height:80px;margin:0 auto}.ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:Loader 1.2s linear infinite}input::-ms-reveal,input::-ms-clear{display:none}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
|
|
4471
4500
|
}
|
|
4472
|
-
function
|
|
4501
|
+
function Br(e) {
|
|
4473
4502
|
let t, r;
|
|
4474
4503
|
return {
|
|
4475
4504
|
c() {
|
|
4476
|
-
t = w("script"),
|
|
4505
|
+
t = w("script"), nr(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
|
|
4477
4506
|
e[1]) || h(t, "src", r), t.async = !0, t.defer = !0;
|
|
4478
4507
|
},
|
|
4479
4508
|
m(n, i) {
|
|
@@ -4481,20 +4510,20 @@ function Tr(e) {
|
|
|
4481
4510
|
},
|
|
4482
4511
|
p(n, i) {
|
|
4483
4512
|
i[0] & /*captchakey*/
|
|
4484
|
-
2 && !
|
|
4513
|
+
2 && !nr(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
|
|
4485
4514
|
n[1]) && h(t, "src", r);
|
|
4486
4515
|
},
|
|
4487
4516
|
d(n) {
|
|
4488
|
-
n &&
|
|
4517
|
+
n && O(t);
|
|
4489
4518
|
}
|
|
4490
4519
|
};
|
|
4491
4520
|
}
|
|
4492
|
-
function
|
|
4521
|
+
function ns(e) {
|
|
4493
4522
|
let t, r, n;
|
|
4494
4523
|
function i(a, u) {
|
|
4495
4524
|
return (
|
|
4496
4525
|
/*startSmsValidation*/
|
|
4497
|
-
a[21] ?
|
|
4526
|
+
a[21] ? ss : os
|
|
4498
4527
|
);
|
|
4499
4528
|
}
|
|
4500
4529
|
let o = i(e), s = o(e);
|
|
@@ -4512,11 +4541,11 @@ function Ko(e) {
|
|
|
4512
4541
|
(a[11] ? "FormMobileContainer" : "")) && h(t, "class", n);
|
|
4513
4542
|
},
|
|
4514
4543
|
d(a) {
|
|
4515
|
-
a &&
|
|
4544
|
+
a && O(t), s.d();
|
|
4516
4545
|
}
|
|
4517
4546
|
};
|
|
4518
4547
|
}
|
|
4519
|
-
function
|
|
4548
|
+
function is(e) {
|
|
4520
4549
|
let t;
|
|
4521
4550
|
return {
|
|
4522
4551
|
c() {
|
|
@@ -4527,11 +4556,11 @@ function es(e) {
|
|
|
4527
4556
|
},
|
|
4528
4557
|
p: Z,
|
|
4529
4558
|
d(r) {
|
|
4530
|
-
r &&
|
|
4559
|
+
r && O(t);
|
|
4531
4560
|
}
|
|
4532
4561
|
};
|
|
4533
4562
|
}
|
|
4534
|
-
function
|
|
4563
|
+
function os(e) {
|
|
4535
4564
|
let t, r, n = (
|
|
4536
4565
|
/*$_*/
|
|
4537
4566
|
e[22]("loginTitle") + ""
|
|
@@ -4541,59 +4570,59 @@ function ts(e) {
|
|
|
4541
4570
|
), u, l, c, f = (
|
|
4542
4571
|
/*$_*/
|
|
4543
4572
|
e[22]("loginSubtitleRegister") + ""
|
|
4544
|
-
), d, b, y, g, x,
|
|
4573
|
+
), d, b, y, g, x, C, z = (
|
|
4545
4574
|
/*$_*/
|
|
4546
4575
|
e[22]("loginUsername") + ""
|
|
4547
|
-
), R, U,
|
|
4576
|
+
), R, U, I, ne, T, se, de, J, ue, H, ie, X = (
|
|
4548
4577
|
/*$_*/
|
|
4549
4578
|
e[22]("loginPassword") + ""
|
|
4550
|
-
), Fe,
|
|
4579
|
+
), Fe, Qe, be, De, A, ve, Ye, ke, ye, pe, $e, _e, ee, ce = (
|
|
4551
4580
|
/*$_*/
|
|
4552
4581
|
e[22]("loginButton") + ""
|
|
4553
|
-
),
|
|
4582
|
+
), Ee, Ge, me, we = (
|
|
4554
4583
|
/*$_*/
|
|
4555
4584
|
e[22]("loginForgotPassword") + ""
|
|
4556
|
-
),
|
|
4585
|
+
), xe, je, Ke, F = (
|
|
4557
4586
|
/*invalidName*/
|
|
4558
|
-
e[14] &&
|
|
4587
|
+
e[14] && Hr(e)
|
|
4559
4588
|
);
|
|
4560
|
-
function
|
|
4589
|
+
function et(v, S) {
|
|
4561
4590
|
return (
|
|
4562
4591
|
/*isPasswordVisible*/
|
|
4563
|
-
v[19] ?
|
|
4592
|
+
v[19] ? ls : as
|
|
4564
4593
|
);
|
|
4565
4594
|
}
|
|
4566
|
-
let
|
|
4595
|
+
let Se = et(e), Q = Se(e), D = (
|
|
4567
4596
|
/*invalidPassword*/
|
|
4568
4597
|
e[15] && /*simplepasswordvalidation*/
|
|
4569
|
-
e[2] !== "true" &&
|
|
4598
|
+
e[2] !== "true" && Ar(e)
|
|
4570
4599
|
), k = (
|
|
4571
4600
|
/*invalidPassword*/
|
|
4572
4601
|
e[15] && /*simplepasswordvalidation*/
|
|
4573
|
-
e[2] === "true" &&
|
|
4602
|
+
e[2] === "true" && Ir(e)
|
|
4574
4603
|
), $ = (
|
|
4575
4604
|
/*errorMessage*/
|
|
4576
|
-
e[16] &&
|
|
4605
|
+
e[16] && Or(e)
|
|
4577
4606
|
);
|
|
4578
4607
|
return {
|
|
4579
4608
|
c() {
|
|
4580
|
-
t = w("div"), r = w("h4"), i = N(n), o = j(), s = w("p"), u = N(a), l = j(), c = w("span"), d = N(f), b = j(), y = w("div"), g = w("form"), x = w("div"),
|
|
4609
|
+
t = w("div"), r = w("h4"), i = N(n), o = j(), s = w("p"), u = N(a), l = j(), c = w("span"), d = N(f), b = j(), y = w("div"), g = w("form"), x = w("div"), C = w("label"), R = N(z), U = N(":"), I = w("span"), I.textContent = "*", ne = j(), T = w("input"), de = j(), F && F.c(), ue = j(), H = w("div"), ie = w("label"), Fe = N(X), Qe = N(":"), be = w("span"), be.textContent = "*", De = j(), A = w("input"), Ye = j(), Q.c(), ke = j(), D && D.c(), ye = j(), k && k.c(), $e = j(), $ && $.c(), _e = j(), ee = w("button"), Ee = N(ce), Ge = j(), me = w("button"), xe = N(we), h(r, "class", "FormHeaderTitle"), h(c, "class", "FormRegisterCallToAction"), h(s, "class", "FormHeaderSubtitle"), h(t, "class", "FormHeader"), h(I, "class", "FormRequired"), h(C, "for", "username"), h(T, "type", "text"), h(T, "id", "email"), h(T, "name", "email"), h(T, "autocapitalize", "none"), h(T, "autocomplete", se = /*savecredentials*/
|
|
4581
4610
|
e[6] ? "username email" : "off"), T.required = !0, h(x, "class", J = "UserContainer " + /*invalidName*/
|
|
4582
|
-
(e[14] ? "InvalidField" : "")), h(
|
|
4583
|
-
e[6] ? "current-password" : "off"), h(
|
|
4584
|
-
(e[15] ? "InvalidField" : "")), h(
|
|
4585
|
-
e[20], h(
|
|
4611
|
+
(e[14] ? "InvalidField" : "")), h(be, "class", "FormRequired"), h(ie, "for", "current-password"), h(A, "type", "password"), h(A, "name", "current-password"), h(A, "id", "current-password"), h(A, "autocapitalize", "none"), h(A, "autocomplete", ve = /*savecredentials*/
|
|
4612
|
+
e[6] ? "current-password" : "off"), h(A, "aria-describedby", "password-constraints"), A.required = !0, h(H, "class", pe = "PasswordContainer " + /*invalidPassword*/
|
|
4613
|
+
(e[15] ? "InvalidField" : "")), h(ee, "class", "SignInButton"), ee.disabled = /*isFormDataInvalid*/
|
|
4614
|
+
e[20], h(ee, "id", "signin-button"), h(me, "class", "ForgotPasswordButton"), h(g, "id", "signin"), h(y, "class", "FormContent");
|
|
4586
4615
|
},
|
|
4587
4616
|
m(v, S) {
|
|
4588
|
-
M(v, t, S), p(t, r), p(r, i), p(t, o), p(t, s), p(s, u), p(s, l), p(s, c), p(c, d), M(v, b, S), M(v, y, S), p(y, g), p(g, x), p(x,
|
|
4617
|
+
M(v, t, S), p(t, r), p(r, i), p(t, o), p(t, s), p(s, u), p(s, l), p(s, c), p(c, d), M(v, b, S), M(v, y, S), p(y, g), p(g, x), p(x, C), p(C, R), p(C, U), p(C, I), p(x, ne), p(x, T), nt(
|
|
4589
4618
|
T,
|
|
4590
4619
|
/*userValue*/
|
|
4591
4620
|
e[12]
|
|
4592
|
-
), p(x,
|
|
4593
|
-
|
|
4621
|
+
), p(x, de), F && F.m(x, null), p(g, ue), p(g, H), p(H, ie), p(ie, Fe), p(ie, Qe), p(ie, be), p(H, De), p(H, A), nt(
|
|
4622
|
+
A,
|
|
4594
4623
|
/*userPassword*/
|
|
4595
4624
|
e[13]
|
|
4596
|
-
), e[36](
|
|
4625
|
+
), e[36](A), p(H, Ye), Q.m(H, null), p(H, ke), D && D.m(H, null), p(H, ye), k && k.m(H, null), p(g, $e), $ && $.m(g, null), p(g, _e), p(g, ee), p(ee, Ee), p(g, Ge), p(g, me), p(me, xe), je || (Ke = [
|
|
4597
4626
|
ae(
|
|
4598
4627
|
c,
|
|
4599
4628
|
"click",
|
|
@@ -4613,30 +4642,30 @@ function ts(e) {
|
|
|
4613
4642
|
e[28]
|
|
4614
4643
|
),
|
|
4615
4644
|
ae(
|
|
4616
|
-
|
|
4645
|
+
A,
|
|
4617
4646
|
"input",
|
|
4618
4647
|
/*input1_input_handler*/
|
|
4619
4648
|
e[35]
|
|
4620
4649
|
),
|
|
4621
4650
|
ae(
|
|
4622
|
-
|
|
4651
|
+
A,
|
|
4623
4652
|
"input",
|
|
4624
4653
|
/*validatePassword*/
|
|
4625
4654
|
e[29]
|
|
4626
4655
|
),
|
|
4627
4656
|
ae(
|
|
4628
|
-
|
|
4657
|
+
ee,
|
|
4629
4658
|
"click",
|
|
4630
4659
|
/*click_handler_3*/
|
|
4631
4660
|
e[39]
|
|
4632
4661
|
),
|
|
4633
4662
|
ae(
|
|
4634
|
-
|
|
4663
|
+
me,
|
|
4635
4664
|
"click",
|
|
4636
4665
|
/*click_handler_4*/
|
|
4637
4666
|
e[40]
|
|
4638
4667
|
)
|
|
4639
|
-
],
|
|
4668
|
+
], je = !0);
|
|
4640
4669
|
},
|
|
4641
4670
|
p(v, S) {
|
|
4642
4671
|
S[0] & /*$_*/
|
|
@@ -4651,44 +4680,44 @@ function ts(e) {
|
|
|
4651
4680
|
64 && se !== (se = /*savecredentials*/
|
|
4652
4681
|
v[6] ? "username email" : "off") && h(T, "autocomplete", se), S[0] & /*userValue*/
|
|
4653
4682
|
4096 && T.value !== /*userValue*/
|
|
4654
|
-
v[12] &&
|
|
4683
|
+
v[12] && nt(
|
|
4655
4684
|
T,
|
|
4656
4685
|
/*userValue*/
|
|
4657
4686
|
v[12]
|
|
4658
4687
|
), /*invalidName*/
|
|
4659
|
-
v[14] ? F ? F.p(v, S) : (F =
|
|
4688
|
+
v[14] ? F ? F.p(v, S) : (F = Hr(v), F.c(), F.m(x, null)) : F && (F.d(1), F = null), S[0] & /*invalidName*/
|
|
4660
4689
|
16384 && J !== (J = "UserContainer " + /*invalidName*/
|
|
4661
4690
|
(v[14] ? "InvalidField" : "")) && h(x, "class", J), S[0] & /*$_*/
|
|
4662
4691
|
4194304 && X !== (X = /*$_*/
|
|
4663
4692
|
v[22]("loginPassword") + "") && re(Fe, X), S[0] & /*savecredentials*/
|
|
4664
|
-
64 &&
|
|
4665
|
-
v[6] ? "current-password" : "off") && h(
|
|
4666
|
-
8192 &&
|
|
4667
|
-
v[13] &&
|
|
4668
|
-
|
|
4693
|
+
64 && ve !== (ve = /*savecredentials*/
|
|
4694
|
+
v[6] ? "current-password" : "off") && h(A, "autocomplete", ve), S[0] & /*userPassword*/
|
|
4695
|
+
8192 && A.value !== /*userPassword*/
|
|
4696
|
+
v[13] && nt(
|
|
4697
|
+
A,
|
|
4669
4698
|
/*userPassword*/
|
|
4670
4699
|
v[13]
|
|
4671
|
-
),
|
|
4700
|
+
), Se === (Se = et(v)) && Q ? Q.p(v, S) : (Q.d(1), Q = Se(v), Q && (Q.c(), Q.m(H, ke))), /*invalidPassword*/
|
|
4672
4701
|
v[15] && /*simplepasswordvalidation*/
|
|
4673
|
-
v[2] !== "true" ? D ? D.p(v, S) : (D =
|
|
4702
|
+
v[2] !== "true" ? D ? D.p(v, S) : (D = Ar(v), D.c(), D.m(H, ye)) : D && (D.d(1), D = null), /*invalidPassword*/
|
|
4674
4703
|
v[15] && /*simplepasswordvalidation*/
|
|
4675
|
-
v[2] === "true" ? k ? k.p(v, S) : (k =
|
|
4676
|
-
32768 &&
|
|
4677
|
-
(v[15] ? "InvalidField" : "")) && h(H, "class",
|
|
4678
|
-
v[16] ? $ ? $.p(v, S) : ($ =
|
|
4679
|
-
4194304 &&
|
|
4680
|
-
v[22]("loginButton") + "") && re(
|
|
4681
|
-
1048576 && (
|
|
4704
|
+
v[2] === "true" ? k ? k.p(v, S) : (k = Ir(v), k.c(), k.m(H, null)) : k && (k.d(1), k = null), S[0] & /*invalidPassword*/
|
|
4705
|
+
32768 && pe !== (pe = "PasswordContainer " + /*invalidPassword*/
|
|
4706
|
+
(v[15] ? "InvalidField" : "")) && h(H, "class", pe), /*errorMessage*/
|
|
4707
|
+
v[16] ? $ ? $.p(v, S) : ($ = Or(v), $.c(), $.m(g, _e)) : $ && ($.d(1), $ = null), S[0] & /*$_*/
|
|
4708
|
+
4194304 && ce !== (ce = /*$_*/
|
|
4709
|
+
v[22]("loginButton") + "") && re(Ee, ce), S[0] & /*isFormDataInvalid*/
|
|
4710
|
+
1048576 && (ee.disabled = /*isFormDataInvalid*/
|
|
4682
4711
|
v[20]), S[0] & /*$_*/
|
|
4683
|
-
4194304 &&
|
|
4684
|
-
v[22]("loginForgotPassword") + "") && re(
|
|
4712
|
+
4194304 && we !== (we = /*$_*/
|
|
4713
|
+
v[22]("loginForgotPassword") + "") && re(xe, we);
|
|
4685
4714
|
},
|
|
4686
4715
|
d(v) {
|
|
4687
|
-
v && (
|
|
4716
|
+
v && (O(t), O(b), O(y)), F && F.d(), e[36](null), Q.d(), D && D.d(), k && k.d(), $ && $.d(), je = !1, Me(Ke);
|
|
4688
4717
|
}
|
|
4689
4718
|
};
|
|
4690
4719
|
}
|
|
4691
|
-
function
|
|
4720
|
+
function ss(e) {
|
|
4692
4721
|
let t;
|
|
4693
4722
|
return {
|
|
4694
4723
|
c() {
|
|
@@ -4778,11 +4807,11 @@ function rs(e) {
|
|
|
4778
4807
|
);
|
|
4779
4808
|
},
|
|
4780
4809
|
d(r) {
|
|
4781
|
-
r &&
|
|
4810
|
+
r && O(t);
|
|
4782
4811
|
}
|
|
4783
4812
|
};
|
|
4784
4813
|
}
|
|
4785
|
-
function
|
|
4814
|
+
function Hr(e) {
|
|
4786
4815
|
let t, r = (
|
|
4787
4816
|
/*$_*/
|
|
4788
4817
|
e[22]("loginUsernameError") + ""
|
|
@@ -4800,11 +4829,11 @@ function Br(e) {
|
|
|
4800
4829
|
i[22]("loginUsernameError") + "") && re(n, r);
|
|
4801
4830
|
},
|
|
4802
4831
|
d(i) {
|
|
4803
|
-
i &&
|
|
4832
|
+
i && O(t);
|
|
4804
4833
|
}
|
|
4805
4834
|
};
|
|
4806
4835
|
}
|
|
4807
|
-
function
|
|
4836
|
+
function as(e) {
|
|
4808
4837
|
let t, r, n, i, o, s, a, u, l;
|
|
4809
4838
|
return {
|
|
4810
4839
|
c() {
|
|
@@ -4820,18 +4849,18 @@ function ns(e) {
|
|
|
4820
4849
|
},
|
|
4821
4850
|
p: Z,
|
|
4822
4851
|
d(c) {
|
|
4823
|
-
c &&
|
|
4852
|
+
c && O(t), u = !1, l();
|
|
4824
4853
|
}
|
|
4825
4854
|
};
|
|
4826
4855
|
}
|
|
4827
|
-
function
|
|
4856
|
+
function ls(e) {
|
|
4828
4857
|
let t, r, n, i, o, s, a, u, l, c, f, d, b, y, g;
|
|
4829
4858
|
return {
|
|
4830
4859
|
c() {
|
|
4831
4860
|
t = L("svg"), r = L("defs"), n = L("style"), i = N(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), o = L("g"), s = L("circle"), a = L("g"), u = L("path"), l = L("path"), c = L("g"), f = L("path"), d = L("path"), b = L("rect"), h(s, "class", "a"), h(s, "cx", "0.05"), h(s, "cy", "0.05"), h(s, "r", "0.05"), h(s, "transform", "translate(121.017 31.148)"), h(u, "class", "a"), h(u, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), h(u, "transform", "translate(-142.164 -39.123)"), h(l, "class", "a"), h(l, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), h(l, "transform", "translate(-136.413 -42.068)"), h(a, "transform", "translate(117.499 27.37)"), h(f, "class", "a"), h(f, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), h(f, "transform", "translate(-110.856 -33.157)"), h(d, "class", "a"), h(d, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"), h(d, "transform", "translate(-130.743 -29.617)"), h(c, "transform", "translate(110.856 24.899)"), h(b, "class", "a"), h(b, "width", "0.972"), h(b, "height", "15.861"), h(b, "rx", "0.486"), h(b, "transform", "translate(114.827 23.858) rotate(-39.315)"), h(o, "transform", "translate(-110.856 -23.242)"), h(t, "class", "TogglePasswordVisibility"), h(t, "xmlns", "http://www.w3.org/2000/svg"), h(t, "width", "18.844"), h(t, "height", "12.887"), h(t, "viewBox", "0 0 18.844 12.887");
|
|
4832
4861
|
},
|
|
4833
|
-
m(x,
|
|
4834
|
-
M(x, t,
|
|
4862
|
+
m(x, C) {
|
|
4863
|
+
M(x, t, C), p(t, r), p(r, n), p(n, i), p(t, o), p(o, s), p(o, a), p(a, u), p(a, l), p(o, c), p(c, f), p(c, d), p(o, b), y || (g = ae(
|
|
4835
4864
|
t,
|
|
4836
4865
|
"click",
|
|
4837
4866
|
/*click_handler_1*/
|
|
@@ -4840,11 +4869,11 @@ function is(e) {
|
|
|
4840
4869
|
},
|
|
4841
4870
|
p: Z,
|
|
4842
4871
|
d(x) {
|
|
4843
|
-
x &&
|
|
4872
|
+
x && O(t), y = !1, g();
|
|
4844
4873
|
}
|
|
4845
4874
|
};
|
|
4846
4875
|
}
|
|
4847
|
-
function
|
|
4876
|
+
function Ar(e) {
|
|
4848
4877
|
let t, r = (
|
|
4849
4878
|
/*$_*/
|
|
4850
4879
|
e[22]("loginPasswordError") + ""
|
|
@@ -4862,11 +4891,11 @@ function Hr(e) {
|
|
|
4862
4891
|
i[22]("loginPasswordError") + "") && re(n, r);
|
|
4863
4892
|
},
|
|
4864
4893
|
d(i) {
|
|
4865
|
-
i &&
|
|
4894
|
+
i && O(t);
|
|
4866
4895
|
}
|
|
4867
4896
|
};
|
|
4868
4897
|
}
|
|
4869
|
-
function
|
|
4898
|
+
function Ir(e) {
|
|
4870
4899
|
let t, r = (
|
|
4871
4900
|
/*$_*/
|
|
4872
4901
|
e[22]("loginSimplePasswordError") + ""
|
|
@@ -4884,11 +4913,11 @@ function Ar(e) {
|
|
|
4884
4913
|
i[22]("loginSimplePasswordError") + "") && re(n, r);
|
|
4885
4914
|
},
|
|
4886
4915
|
d(i) {
|
|
4887
|
-
i &&
|
|
4916
|
+
i && O(t);
|
|
4888
4917
|
}
|
|
4889
4918
|
};
|
|
4890
4919
|
}
|
|
4891
|
-
function
|
|
4920
|
+
function Or(e) {
|
|
4892
4921
|
let t, r;
|
|
4893
4922
|
return {
|
|
4894
4923
|
c() {
|
|
@@ -4909,25 +4938,25 @@ function Ir(e) {
|
|
|
4909
4938
|
);
|
|
4910
4939
|
},
|
|
4911
4940
|
d(n) {
|
|
4912
|
-
n &&
|
|
4941
|
+
n && O(t);
|
|
4913
4942
|
}
|
|
4914
4943
|
};
|
|
4915
4944
|
}
|
|
4916
|
-
function
|
|
4945
|
+
function us(e) {
|
|
4917
4946
|
let t, r, n, i, o, s = (
|
|
4918
4947
|
/*captchakey*/
|
|
4919
|
-
e[1] &&
|
|
4948
|
+
e[1] && Br(e)
|
|
4920
4949
|
);
|
|
4921
4950
|
function a(c, f) {
|
|
4922
4951
|
return (
|
|
4923
4952
|
/*isLoading*/
|
|
4924
|
-
c[17] ?
|
|
4953
|
+
c[17] ? is : ns
|
|
4925
4954
|
);
|
|
4926
4955
|
}
|
|
4927
4956
|
let u = a(e), l = u(e);
|
|
4928
4957
|
return {
|
|
4929
4958
|
c() {
|
|
4930
|
-
s && s.c(), t =
|
|
4959
|
+
s && s.c(), t = Bn(), r = j(), n = w("div"), i = j(), o = w("div"), l.c(), h(n, "class", "g-recaptcha"), h(
|
|
4931
4960
|
n,
|
|
4932
4961
|
"data-sitekey",
|
|
4933
4962
|
/*captchakey*/
|
|
@@ -4939,7 +4968,7 @@ function os(e) {
|
|
|
4939
4968
|
},
|
|
4940
4969
|
p(c, f) {
|
|
4941
4970
|
/*captchakey*/
|
|
4942
|
-
c[1] ? s ? s.p(c, f) : (s =
|
|
4971
|
+
c[1] ? s ? s.p(c, f) : (s = Br(c), s.c(), s.m(t.parentNode, t)) : s && (s.d(1), s = null), f[0] & /*captchakey*/
|
|
4943
4972
|
2 && h(
|
|
4944
4973
|
n,
|
|
4945
4974
|
"data-sitekey",
|
|
@@ -4950,63 +4979,63 @@ function os(e) {
|
|
|
4950
4979
|
i: Z,
|
|
4951
4980
|
o: Z,
|
|
4952
4981
|
d(c) {
|
|
4953
|
-
c && (
|
|
4982
|
+
c && (O(r), O(n), O(i), O(o)), s && s.d(c), O(t), l.d(), e[41](null);
|
|
4954
4983
|
}
|
|
4955
4984
|
};
|
|
4956
4985
|
}
|
|
4957
|
-
let
|
|
4958
|
-
function
|
|
4986
|
+
let cs = "Please use this code {0} to activate your account";
|
|
4987
|
+
function hs(e, t, r) {
|
|
4959
4988
|
let n;
|
|
4960
|
-
|
|
4961
|
-
let { endpoint: i = "" } = t, { captchakey: o = "" } = t, { lang: s = "en" } = t, { smsverification: a = "false" } = t, { simplepasswordvalidation: u = "false" } = t, { mbsource: l } = t, { clientstyling: c = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: d = "" } = t, { savecredentials: b = "" } = t, y, g, x = !1,
|
|
4989
|
+
xn(e, Wo, (m) => r(22, n = m));
|
|
4990
|
+
let { endpoint: i = "" } = t, { captchakey: o = "" } = t, { lang: s = "en" } = t, { smsverification: a = "false" } = t, { simplepasswordvalidation: u = "false" } = t, { mbsource: l } = t, { clientstyling: c = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: d = "" } = t, { savecredentials: b = "" } = t, y, g, x = !1, C, z = !1, R = window.navigator.userAgent, U = "", I = "", ne = { username: "", password: "" }, T = !1, se = !1, de = "", J = !1, ue, H = !1, ie = !0, X, Fe, Qe = +localStorage.getItem("smsTimer") || 0, be = Date.now() / 1e3 - Qe, De = localStorage.getItem("smsValidation") == "true" && be < 60, A = {
|
|
4962
4991
|
user: /^(?!(?:.*\d){9})(?=(?:.*[a-zA-Z]){4})^[a-zA-Z\d]*$/,
|
|
4963
4992
|
email: /^[^<>()*{}=/|?`~[\]\\,;:\%#^\s@\"$&!@]+@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z0-9]+\.)+[a-zA-Z]{2,}))$/i,
|
|
4964
4993
|
password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/
|
|
4965
4994
|
};
|
|
4966
|
-
|
|
4967
|
-
const
|
|
4995
|
+
es({ withLocale: "en", translations: {} });
|
|
4996
|
+
const ve = () => {
|
|
4968
4997
|
fetch(d).then((q) => q.json()).then((q) => {
|
|
4969
4998
|
Object.keys(q).forEach((te) => {
|
|
4970
|
-
|
|
4999
|
+
Pr(te, q[te]);
|
|
4971
5000
|
});
|
|
4972
5001
|
}).catch((q) => {
|
|
4973
5002
|
console.log(q);
|
|
4974
5003
|
});
|
|
4975
5004
|
};
|
|
4976
|
-
Object.keys(
|
|
4977
|
-
|
|
5005
|
+
Object.keys(Tr).forEach((m) => {
|
|
5006
|
+
Pr(m, Tr[m]);
|
|
4978
5007
|
});
|
|
4979
|
-
const
|
|
5008
|
+
const Ye = () => new Promise((m, q) => {
|
|
4980
5009
|
grecaptcha.ready(() => {
|
|
4981
5010
|
grecaptcha.execute(o, { action: "submit" }).then((te) => {
|
|
4982
5011
|
m(te);
|
|
4983
5012
|
});
|
|
4984
5013
|
});
|
|
4985
|
-
}),
|
|
4986
|
-
u == "true" && (
|
|
4987
|
-
},
|
|
4988
|
-
r(19, H = !0),
|
|
4989
|
-
},
|
|
4990
|
-
r(19, H = !1),
|
|
4991
|
-
},
|
|
5014
|
+
}), ke = () => {
|
|
5015
|
+
u == "true" && (A.password = /^(?!.* ).{8,20}$/);
|
|
5016
|
+
}, ye = () => {
|
|
5017
|
+
r(19, H = !0), $e();
|
|
5018
|
+
}, pe = () => {
|
|
5019
|
+
r(19, H = !1), $e();
|
|
5020
|
+
}, $e = () => {
|
|
4992
5021
|
r(18, ue.type = H ? "text" : "password", ue);
|
|
4993
|
-
},
|
|
5022
|
+
}, _e = () => {
|
|
4994
5023
|
window.postMessage({ type: "ToRegister" }, window.location.href);
|
|
4995
|
-
},
|
|
5024
|
+
}, ee = (m) => {
|
|
4996
5025
|
m.preventDefault(), window.postMessage({ type: "NavForgotPassword" }, window.location.href);
|
|
4997
|
-
},
|
|
4998
|
-
m == null || m.preventDefault(),
|
|
4999
|
-
|
|
5026
|
+
}, ce = (m) => {
|
|
5027
|
+
m == null || m.preventDefault(), Ye().then((q) => {
|
|
5028
|
+
Ee(U) && Ge(I) && (ne = {
|
|
5000
5029
|
username: U,
|
|
5001
|
-
password:
|
|
5030
|
+
password: I,
|
|
5002
5031
|
token: q
|
|
5003
|
-
}, r(17, J = !0),
|
|
5032
|
+
}, r(17, J = !0), Ke(ne));
|
|
5004
5033
|
});
|
|
5005
|
-
},
|
|
5006
|
-
r(14, T = !
|
|
5007
|
-
},
|
|
5008
|
-
r(15, se = !
|
|
5009
|
-
},
|
|
5034
|
+
}, Ee = (m) => !!((A.user.test(m) || A.email.test(m)) && m.length <= 100), Ge = (m) => !!A.password.test(m), me = () => {
|
|
5035
|
+
r(14, T = !Ee(U)), r(20, ie = !(!T && !se && I));
|
|
5036
|
+
}, we = () => {
|
|
5037
|
+
r(15, se = !Ge(I)), r(20, ie = !(!T && !se && U));
|
|
5038
|
+
}, xe = (m) => {
|
|
5010
5039
|
if (m.data)
|
|
5011
5040
|
switch (m.data.type) {
|
|
5012
5041
|
case "ModalLoader":
|
|
@@ -5016,23 +5045,23 @@ function as(e, t, r) {
|
|
|
5016
5045
|
r(17, J = !1);
|
|
5017
5046
|
break;
|
|
5018
5047
|
case "SmsHasBeenValidated":
|
|
5019
|
-
|
|
5048
|
+
ce();
|
|
5020
5049
|
break;
|
|
5021
5050
|
}
|
|
5022
|
-
},
|
|
5051
|
+
}, je = (m) => {
|
|
5023
5052
|
typeof gtag == "function" && gtag("event", "Login", {
|
|
5024
5053
|
context: "GeneralPlayerLoginRegisterPage"
|
|
5025
5054
|
});
|
|
5026
|
-
},
|
|
5027
|
-
let
|
|
5055
|
+
}, Ke = (Jt) => tt(this, [Jt], function* ({ username: m, password: q, token: te }) {
|
|
5056
|
+
let Qt = {
|
|
5028
5057
|
"Content-Type": "application/json",
|
|
5029
5058
|
"g-recaptcha-response": te
|
|
5030
|
-
},
|
|
5059
|
+
}, _t = { username: m, password: q }, gn = {
|
|
5031
5060
|
method: "POST",
|
|
5032
|
-
headers:
|
|
5033
|
-
body: JSON.stringify(
|
|
5061
|
+
headers: Qt,
|
|
5062
|
+
body: JSON.stringify(_t)
|
|
5034
5063
|
};
|
|
5035
|
-
fetch(`${i}/v1/player/login/player`,
|
|
5064
|
+
fetch(`${i}/v1/player/login/player`, gn).then((G) => (G.status >= 500 && (r(16, de = "Server might not be responsing"), r(17, J = !1), window.postMessage(
|
|
5036
5065
|
{
|
|
5037
5066
|
type: "WidgetNotification",
|
|
5038
5067
|
data: {
|
|
@@ -5042,7 +5071,7 @@ function as(e, t, r) {
|
|
|
5042
5071
|
},
|
|
5043
5072
|
window.location.href
|
|
5044
5073
|
)), G.json())).then((G) => {
|
|
5045
|
-
if (G.actions !== void 0 && window.postMessage({ type: "PlayerActions" }, window.location.href), a === "true" && G.code === 4 && (r(8, y = G.detail.userId), r(10,
|
|
5074
|
+
if (G.actions !== void 0 && window.postMessage({ type: "PlayerActions" }, window.location.href), a === "true" && G.code === 4 && (r(8, y = G.detail.userId), r(10, C = G.detail.phonePrefix + G.detail.phone), r(21, De = !0), F(C, y), localStorage.setItem("smsValidation", "true"), localStorage.setItem("playerData", JSON.stringify({ playerid: y, number: C }))), G.sessionID) {
|
|
5046
5075
|
if (window.postMessage(
|
|
5047
5076
|
{
|
|
5048
5077
|
type: "UserSessionID",
|
|
@@ -5060,35 +5089,35 @@ function as(e, t, r) {
|
|
|
5060
5089
|
},
|
|
5061
5090
|
window.location.href
|
|
5062
5091
|
), window.PasswordCredential && b == "true") {
|
|
5063
|
-
const
|
|
5064
|
-
password:
|
|
5065
|
-
id:
|
|
5092
|
+
const Ve = new PasswordCredential({
|
|
5093
|
+
password: _t.password,
|
|
5094
|
+
id: _t.username
|
|
5066
5095
|
});
|
|
5067
|
-
navigator.credentials.store(
|
|
5096
|
+
navigator.credentials.store(Ve);
|
|
5068
5097
|
}
|
|
5069
|
-
|
|
5098
|
+
je();
|
|
5070
5099
|
} else
|
|
5071
5100
|
try {
|
|
5072
|
-
let
|
|
5073
|
-
r(16,
|
|
5101
|
+
let Ve = G.error;
|
|
5102
|
+
r(16, de = Ve), r(17, J = !1), window.postMessage(
|
|
5074
5103
|
{
|
|
5075
5104
|
type: "WidgetNotification",
|
|
5076
|
-
data: { type: "error", message:
|
|
5105
|
+
data: { type: "error", message: Ve }
|
|
5077
5106
|
},
|
|
5078
5107
|
window.location.href
|
|
5079
5108
|
);
|
|
5080
|
-
} catch (
|
|
5081
|
-
let
|
|
5082
|
-
r(16,
|
|
5109
|
+
} catch (Ve) {
|
|
5110
|
+
let Yt = G.error.substring(G.error.indexOf("errorMessage") + 13, G.error.length);
|
|
5111
|
+
r(16, de = Yt), r(17, J = !1), window.postMessage(
|
|
5083
5112
|
{
|
|
5084
5113
|
type: "WidgetNotification",
|
|
5085
|
-
data: { type: "error", message:
|
|
5114
|
+
data: { type: "error", message: Yt }
|
|
5086
5115
|
},
|
|
5087
5116
|
window.location.href
|
|
5088
5117
|
);
|
|
5089
5118
|
}
|
|
5090
5119
|
});
|
|
5091
|
-
}),
|
|
5120
|
+
}), F = (m, q) => tt(this, null, function* () {
|
|
5092
5121
|
localStorage.setItem("smsTimer", JSON.stringify(Math.floor(Date.now() / 1e3)));
|
|
5093
5122
|
try {
|
|
5094
5123
|
const te = yield fetch(`${i}/v1/player/sms/token`, {
|
|
@@ -5099,40 +5128,40 @@ function as(e, t, r) {
|
|
|
5099
5128
|
},
|
|
5100
5129
|
body: JSON.stringify({
|
|
5101
5130
|
userId: q,
|
|
5102
|
-
messageTemplate:
|
|
5131
|
+
messageTemplate: cs,
|
|
5103
5132
|
destination: m
|
|
5104
5133
|
})
|
|
5105
|
-
}),
|
|
5134
|
+
}), Jt = yield te.json();
|
|
5106
5135
|
if (te.ok) {
|
|
5107
|
-
r(9, g =
|
|
5108
|
-
let
|
|
5136
|
+
r(9, g = Jt.id);
|
|
5137
|
+
let Qt = Jt.maxValidationAttempts;
|
|
5109
5138
|
x = !1;
|
|
5110
5139
|
} else
|
|
5111
5140
|
throw x = !0, new Error("Failed to fetch");
|
|
5112
5141
|
} catch (te) {
|
|
5113
5142
|
x = !0, console.error(te);
|
|
5114
5143
|
}
|
|
5115
|
-
}),
|
|
5116
|
-
|
|
5144
|
+
}), et = () => {
|
|
5145
|
+
ts(s);
|
|
5117
5146
|
};
|
|
5118
|
-
|
|
5119
|
-
window.removeEventListener("message",
|
|
5147
|
+
On(() => (window.addEventListener("message", xe, !1), window.postMessage({ type: "LoginRegisterModalActive" }, window.location.href), r(11, z = Zo(R)), () => {
|
|
5148
|
+
window.removeEventListener("message", xe);
|
|
5120
5149
|
}));
|
|
5121
|
-
const
|
|
5122
|
-
function
|
|
5150
|
+
const Se = () => _e();
|
|
5151
|
+
function Q() {
|
|
5123
5152
|
U = this.value, r(12, U);
|
|
5124
5153
|
}
|
|
5125
|
-
function
|
|
5126
|
-
|
|
5154
|
+
function D() {
|
|
5155
|
+
I = this.value, r(13, I);
|
|
5127
5156
|
}
|
|
5128
|
-
function
|
|
5129
|
-
|
|
5157
|
+
function k(m) {
|
|
5158
|
+
ct[m ? "unshift" : "push"](() => {
|
|
5130
5159
|
ue = m, r(18, ue);
|
|
5131
5160
|
});
|
|
5132
5161
|
}
|
|
5133
|
-
const
|
|
5134
|
-
function
|
|
5135
|
-
|
|
5162
|
+
const $ = () => pe(), v = () => ye(), S = (m) => ce(m), pn = (m) => ee(m);
|
|
5163
|
+
function mn(m) {
|
|
5164
|
+
ct[m ? "unshift" : "push"](() => {
|
|
5136
5165
|
X = m, r(7, X);
|
|
5137
5166
|
});
|
|
5138
5167
|
}
|
|
@@ -5140,12 +5169,12 @@ function as(e, t, r) {
|
|
|
5140
5169
|
"endpoint" in m && r(0, i = m.endpoint), "captchakey" in m && r(1, o = m.captchakey), "lang" in m && r(30, s = m.lang), "smsverification" in m && r(31, a = m.smsverification), "simplepasswordvalidation" in m && r(2, u = m.simplepasswordvalidation), "mbsource" in m && r(3, l = m.mbsource), "clientstyling" in m && r(4, c = m.clientstyling), "clientstylingurl" in m && r(5, f = m.clientstylingurl), "translationurl" in m && r(32, d = m.translationurl), "savecredentials" in m && r(6, b = m.savecredentials);
|
|
5141
5170
|
}, e.$$.update = () => {
|
|
5142
5171
|
e.$$.dirty[0] & /*endpoint, lang*/
|
|
5143
|
-
1073741825 && i && s &&
|
|
5144
|
-
4 && u &&
|
|
5145
|
-
144 && c && X &&
|
|
5146
|
-
160 && f && X &&
|
|
5147
|
-
136 && l && X &&
|
|
5148
|
-
2 && d &&
|
|
5172
|
+
1073741825 && i && s && et(), e.$$.dirty[0] & /*simplepasswordvalidation*/
|
|
5173
|
+
4 && u && ke(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5174
|
+
144 && c && X && qo(X, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5175
|
+
160 && f && X && Jo(X, f), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5176
|
+
136 && l && X && Qo(X, `${l}.Style`, Fe), e.$$.dirty[1] & /*translationurl*/
|
|
5177
|
+
2 && d && ve();
|
|
5149
5178
|
}, [
|
|
5150
5179
|
i,
|
|
5151
5180
|
o,
|
|
@@ -5157,48 +5186,48 @@ function as(e, t, r) {
|
|
|
5157
5186
|
X,
|
|
5158
5187
|
y,
|
|
5159
5188
|
g,
|
|
5160
|
-
|
|
5189
|
+
C,
|
|
5161
5190
|
z,
|
|
5162
5191
|
U,
|
|
5163
|
-
|
|
5192
|
+
I,
|
|
5164
5193
|
T,
|
|
5165
5194
|
se,
|
|
5166
|
-
|
|
5195
|
+
de,
|
|
5167
5196
|
J,
|
|
5168
5197
|
ue,
|
|
5169
5198
|
H,
|
|
5170
5199
|
ie,
|
|
5171
|
-
|
|
5200
|
+
De,
|
|
5172
5201
|
n,
|
|
5173
|
-
|
|
5202
|
+
ye,
|
|
5203
|
+
pe,
|
|
5204
|
+
_e,
|
|
5205
|
+
ee,
|
|
5206
|
+
ce,
|
|
5207
|
+
me,
|
|
5174
5208
|
we,
|
|
5175
|
-
De,
|
|
5176
|
-
xe,
|
|
5177
|
-
Q,
|
|
5178
|
-
Qe,
|
|
5179
|
-
be,
|
|
5180
5209
|
s,
|
|
5181
5210
|
a,
|
|
5182
5211
|
d,
|
|
5183
|
-
|
|
5184
|
-
|
|
5185
|
-
Y,
|
|
5212
|
+
Se,
|
|
5213
|
+
Q,
|
|
5186
5214
|
D,
|
|
5187
5215
|
k,
|
|
5188
5216
|
$,
|
|
5189
5217
|
v,
|
|
5190
5218
|
S,
|
|
5191
|
-
|
|
5219
|
+
pn,
|
|
5220
|
+
mn
|
|
5192
5221
|
];
|
|
5193
5222
|
}
|
|
5194
|
-
class
|
|
5223
|
+
class dn extends jn {
|
|
5195
5224
|
constructor(t) {
|
|
5196
|
-
super(),
|
|
5225
|
+
super(), $n(
|
|
5197
5226
|
this,
|
|
5198
5227
|
t,
|
|
5199
|
-
|
|
5200
|
-
|
|
5201
|
-
|
|
5228
|
+
hs,
|
|
5229
|
+
us,
|
|
5230
|
+
Lr,
|
|
5202
5231
|
{
|
|
5203
5232
|
endpoint: 0,
|
|
5204
5233
|
captchakey: 1,
|
|
@@ -5211,7 +5240,7 @@ class fn extends $n {
|
|
|
5211
5240
|
translationurl: 32,
|
|
5212
5241
|
savecredentials: 6
|
|
5213
5242
|
},
|
|
5214
|
-
|
|
5243
|
+
rs,
|
|
5215
5244
|
[-1, -1]
|
|
5216
5245
|
);
|
|
5217
5246
|
}
|
|
@@ -5219,96 +5248,96 @@ class fn extends $n {
|
|
|
5219
5248
|
return this.$$.ctx[0];
|
|
5220
5249
|
}
|
|
5221
5250
|
set endpoint(t) {
|
|
5222
|
-
this.$$set({ endpoint: t }),
|
|
5251
|
+
this.$$set({ endpoint: t }), K();
|
|
5223
5252
|
}
|
|
5224
5253
|
get captchakey() {
|
|
5225
5254
|
return this.$$.ctx[1];
|
|
5226
5255
|
}
|
|
5227
5256
|
set captchakey(t) {
|
|
5228
|
-
this.$$set({ captchakey: t }),
|
|
5257
|
+
this.$$set({ captchakey: t }), K();
|
|
5229
5258
|
}
|
|
5230
5259
|
get lang() {
|
|
5231
5260
|
return this.$$.ctx[30];
|
|
5232
5261
|
}
|
|
5233
5262
|
set lang(t) {
|
|
5234
|
-
this.$$set({ lang: t }),
|
|
5263
|
+
this.$$set({ lang: t }), K();
|
|
5235
5264
|
}
|
|
5236
5265
|
get smsverification() {
|
|
5237
5266
|
return this.$$.ctx[31];
|
|
5238
5267
|
}
|
|
5239
5268
|
set smsverification(t) {
|
|
5240
|
-
this.$$set({ smsverification: t }),
|
|
5269
|
+
this.$$set({ smsverification: t }), K();
|
|
5241
5270
|
}
|
|
5242
5271
|
get simplepasswordvalidation() {
|
|
5243
5272
|
return this.$$.ctx[2];
|
|
5244
5273
|
}
|
|
5245
5274
|
set simplepasswordvalidation(t) {
|
|
5246
|
-
this.$$set({ simplepasswordvalidation: t }),
|
|
5275
|
+
this.$$set({ simplepasswordvalidation: t }), K();
|
|
5247
5276
|
}
|
|
5248
5277
|
get mbsource() {
|
|
5249
5278
|
return this.$$.ctx[3];
|
|
5250
5279
|
}
|
|
5251
5280
|
set mbsource(t) {
|
|
5252
|
-
this.$$set({ mbsource: t }),
|
|
5281
|
+
this.$$set({ mbsource: t }), K();
|
|
5253
5282
|
}
|
|
5254
5283
|
get clientstyling() {
|
|
5255
5284
|
return this.$$.ctx[4];
|
|
5256
5285
|
}
|
|
5257
5286
|
set clientstyling(t) {
|
|
5258
|
-
this.$$set({ clientstyling: t }),
|
|
5287
|
+
this.$$set({ clientstyling: t }), K();
|
|
5259
5288
|
}
|
|
5260
5289
|
get clientstylingurl() {
|
|
5261
5290
|
return this.$$.ctx[5];
|
|
5262
5291
|
}
|
|
5263
5292
|
set clientstylingurl(t) {
|
|
5264
|
-
this.$$set({ clientstylingurl: t }),
|
|
5293
|
+
this.$$set({ clientstylingurl: t }), K();
|
|
5265
5294
|
}
|
|
5266
5295
|
get translationurl() {
|
|
5267
5296
|
return this.$$.ctx[32];
|
|
5268
5297
|
}
|
|
5269
5298
|
set translationurl(t) {
|
|
5270
|
-
this.$$set({ translationurl: t }),
|
|
5299
|
+
this.$$set({ translationurl: t }), K();
|
|
5271
5300
|
}
|
|
5272
5301
|
get savecredentials() {
|
|
5273
5302
|
return this.$$.ctx[6];
|
|
5274
5303
|
}
|
|
5275
5304
|
set savecredentials(t) {
|
|
5276
|
-
this.$$set({ savecredentials: t }),
|
|
5305
|
+
this.$$set({ savecredentials: t }), K();
|
|
5277
5306
|
}
|
|
5278
5307
|
}
|
|
5279
|
-
|
|
5280
|
-
const
|
|
5308
|
+
Gn(dn, { endpoint: {}, captchakey: {}, lang: {}, smsverification: {}, simplepasswordvalidation: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {} }, [], [], !0);
|
|
5309
|
+
const ds = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5281
5310
|
__proto__: null,
|
|
5282
|
-
default:
|
|
5311
|
+
default: dn
|
|
5283
5312
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
5284
5313
|
export {
|
|
5285
|
-
|
|
5286
|
-
|
|
5287
|
-
|
|
5314
|
+
fe as $,
|
|
5315
|
+
ds as G,
|
|
5316
|
+
jn as S,
|
|
5288
5317
|
Re as a,
|
|
5289
|
-
|
|
5290
|
-
|
|
5291
|
-
|
|
5318
|
+
ln as b,
|
|
5319
|
+
Sn as c,
|
|
5320
|
+
O as d,
|
|
5292
5321
|
re as e,
|
|
5293
|
-
|
|
5294
|
-
|
|
5322
|
+
K as f,
|
|
5323
|
+
nt as g,
|
|
5295
5324
|
h,
|
|
5296
|
-
|
|
5325
|
+
$n as i,
|
|
5297
5326
|
M as j,
|
|
5298
5327
|
p as k,
|
|
5299
5328
|
ae as l,
|
|
5300
5329
|
w as m,
|
|
5301
5330
|
Z as n,
|
|
5302
5331
|
j as o,
|
|
5303
|
-
|
|
5304
|
-
|
|
5332
|
+
xn as p,
|
|
5333
|
+
On as q,
|
|
5305
5334
|
Me as r,
|
|
5306
|
-
|
|
5335
|
+
Lr as s,
|
|
5307
5336
|
N as t,
|
|
5308
|
-
|
|
5309
|
-
|
|
5310
|
-
|
|
5311
|
-
|
|
5312
|
-
|
|
5313
|
-
|
|
5337
|
+
ct as u,
|
|
5338
|
+
qo as v,
|
|
5339
|
+
Jo as w,
|
|
5340
|
+
Qo as x,
|
|
5341
|
+
Gn as y,
|
|
5342
|
+
Wo as z
|
|
5314
5343
|
};
|