@everymatrix/player-account-biometrics 1.87.20 → 1.87.22
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/{PlayerAccountBiometrics-D2hlVt5i.js → PlayerAccountBiometrics-BSpoxpYK.js} +809 -735
- package/components/{PlayerAccountBiometrics-Cnwnu-pX.js → PlayerAccountBiometrics-CCq3mG8h.js} +932 -862
- package/components/PlayerAccountBiometrics-kb8R7vGn.cjs +18 -0
- package/components/PlayerAccountBiometricsAction-CTMtKUkz.cjs +1 -0
- package/components/PlayerAccountBiometricsAction-CWv5Ug_B.js +403 -0
- package/components/PlayerAccountBiometricsAction-Ded-VHu8.js +386 -0
- package/es2015/player-account-biometrics.cjs +1 -1
- package/es2015/player-account-biometrics.js +7 -7
- package/esnext/player-account-biometrics.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountBiometrics-BuxKbLCx.cjs +0 -18
package/components/{PlayerAccountBiometrics-D2hlVt5i.js → PlayerAccountBiometrics-BSpoxpYK.js}
RENAMED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var cr = Object.defineProperty, fr = Object.defineProperties;
|
|
2
|
+
var pr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var rt = Object.getOwnPropertySymbols;
|
|
4
|
+
var mr = Object.prototype.hasOwnProperty, br = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Se = (e, t, r) => t in e ? cr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
mr.call(t, r) && Se(e, r, t[r]);
|
|
8
|
+
if (rt)
|
|
9
|
+
for (var r of rt(t))
|
|
10
|
+
br.call(t, r) && Se(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var
|
|
14
|
-
var
|
|
12
|
+
}, it = (e, t) => fr(e, pr(t));
|
|
13
|
+
var P = (e, t, r) => (Se(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var ot = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (h) => {
|
|
16
16
|
try {
|
|
17
17
|
a(r.next(h));
|
|
@@ -27,49 +27,49 @@ var st = (e, t, r) => new Promise((n, i) => {
|
|
|
27
27
|
}, a = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, s);
|
|
28
28
|
a((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
function
|
|
30
|
+
function I() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function Ot(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function st() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
39
|
-
e.forEach(
|
|
38
|
+
function ne(e) {
|
|
39
|
+
e.forEach(Ot);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function Je(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function It(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function dr(e) {
|
|
48
48
|
return Object.keys(e).length === 0;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function Nt(e, ...t) {
|
|
51
51
|
if (e == null) {
|
|
52
52
|
for (const n of t)
|
|
53
53
|
n(void 0);
|
|
54
|
-
return
|
|
54
|
+
return I;
|
|
55
55
|
}
|
|
56
56
|
const r = e.subscribe(...t);
|
|
57
57
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
60
|
-
e.$$.on_destroy.push(
|
|
59
|
+
function gr(e, t, r) {
|
|
60
|
+
e.$$.on_destroy.push(Nt(t, r));
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function E(e, t) {
|
|
63
63
|
e.appendChild(t);
|
|
64
64
|
}
|
|
65
|
-
function
|
|
66
|
-
const n =
|
|
65
|
+
function yr(e, t, r) {
|
|
66
|
+
const n = vr(e);
|
|
67
67
|
if (!n.getElementById(t)) {
|
|
68
|
-
const i =
|
|
69
|
-
i.id = t, i.textContent = r,
|
|
68
|
+
const i = O("style");
|
|
69
|
+
i.id = t, i.textContent = r, Er(n, i);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function vr(e) {
|
|
73
73
|
if (!e)
|
|
74
74
|
return document;
|
|
75
75
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -79,44 +79,54 @@ function Er(e) {
|
|
|
79
79
|
t
|
|
80
80
|
) : e.ownerDocument;
|
|
81
81
|
}
|
|
82
|
-
function
|
|
83
|
-
return
|
|
82
|
+
function Er(e, t) {
|
|
83
|
+
return E(
|
|
84
84
|
/** @type {Document} */
|
|
85
85
|
e.head || e,
|
|
86
86
|
t
|
|
87
87
|
), t.sheet;
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function qe(e, t, r) {
|
|
90
90
|
e.insertBefore(t, r || null);
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function ge(e) {
|
|
93
93
|
e.parentNode && e.parentNode.removeChild(e);
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function O(e) {
|
|
96
96
|
return document.createElement(e);
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function U(e) {
|
|
99
99
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
100
100
|
}
|
|
101
|
-
function
|
|
101
|
+
function R(e) {
|
|
102
102
|
return document.createTextNode(e);
|
|
103
103
|
}
|
|
104
|
-
function
|
|
105
|
-
return
|
|
104
|
+
function q() {
|
|
105
|
+
return R(" ");
|
|
106
|
+
}
|
|
107
|
+
function qi() {
|
|
108
|
+
return R("");
|
|
106
109
|
}
|
|
107
|
-
function
|
|
110
|
+
function _r(e, t, r, n) {
|
|
108
111
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
109
112
|
}
|
|
110
|
-
function
|
|
113
|
+
function w(e, t, r) {
|
|
111
114
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
112
115
|
}
|
|
116
|
+
function N(e, t, r) {
|
|
117
|
+
const n = t.toLowerCase();
|
|
118
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : w(e, t, r);
|
|
119
|
+
}
|
|
113
120
|
function xr(e) {
|
|
114
121
|
return Array.from(e.childNodes);
|
|
115
122
|
}
|
|
116
|
-
function
|
|
123
|
+
function he(e, t) {
|
|
117
124
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
118
125
|
t);
|
|
119
126
|
}
|
|
127
|
+
function Ki(e, t, r) {
|
|
128
|
+
e.classList.toggle(t, !!r);
|
|
129
|
+
}
|
|
120
130
|
function Br(e) {
|
|
121
131
|
const t = {};
|
|
122
132
|
return e.childNodes.forEach(
|
|
@@ -126,65 +136,65 @@ function Br(e) {
|
|
|
126
136
|
}
|
|
127
137
|
), t;
|
|
128
138
|
}
|
|
129
|
-
let
|
|
130
|
-
function
|
|
131
|
-
|
|
139
|
+
let ee;
|
|
140
|
+
function K(e) {
|
|
141
|
+
ee = e;
|
|
132
142
|
}
|
|
133
143
|
function Sr() {
|
|
134
|
-
if (!
|
|
144
|
+
if (!ee)
|
|
135
145
|
throw new Error("Function called outside component initialization");
|
|
136
|
-
return
|
|
146
|
+
return ee;
|
|
137
147
|
}
|
|
138
148
|
function Tr(e) {
|
|
139
149
|
Sr().$$.on_mount.push(e);
|
|
140
150
|
}
|
|
141
|
-
const
|
|
142
|
-
let
|
|
143
|
-
const
|
|
144
|
-
let
|
|
151
|
+
const j = [], Me = [];
|
|
152
|
+
let k = [];
|
|
153
|
+
const at = [], wr = /* @__PURE__ */ Promise.resolve();
|
|
154
|
+
let Le = !1;
|
|
145
155
|
function Hr() {
|
|
146
|
-
|
|
156
|
+
Le || (Le = !0, wr.then(C));
|
|
147
157
|
}
|
|
148
|
-
function
|
|
149
|
-
|
|
158
|
+
function $e(e) {
|
|
159
|
+
k.push(e);
|
|
150
160
|
}
|
|
151
|
-
const
|
|
152
|
-
let
|
|
153
|
-
function
|
|
154
|
-
if (
|
|
161
|
+
const Te = /* @__PURE__ */ new Set();
|
|
162
|
+
let G = 0;
|
|
163
|
+
function C() {
|
|
164
|
+
if (G !== 0)
|
|
155
165
|
return;
|
|
156
|
-
const e =
|
|
166
|
+
const e = ee;
|
|
157
167
|
do {
|
|
158
168
|
try {
|
|
159
|
-
for (;
|
|
160
|
-
const t =
|
|
161
|
-
|
|
169
|
+
for (; G < j.length; ) {
|
|
170
|
+
const t = j[G];
|
|
171
|
+
G++, K(t), Ar(t.$$);
|
|
162
172
|
}
|
|
163
173
|
} catch (t) {
|
|
164
|
-
throw
|
|
174
|
+
throw j.length = 0, G = 0, t;
|
|
165
175
|
}
|
|
166
|
-
for (
|
|
167
|
-
|
|
168
|
-
for (let t = 0; t <
|
|
169
|
-
const r =
|
|
170
|
-
|
|
176
|
+
for (K(null), j.length = 0, G = 0; Me.length; )
|
|
177
|
+
Me.pop()();
|
|
178
|
+
for (let t = 0; t < k.length; t += 1) {
|
|
179
|
+
const r = k[t];
|
|
180
|
+
Te.has(r) || (Te.add(r), r());
|
|
171
181
|
}
|
|
172
|
-
|
|
173
|
-
} while (
|
|
174
|
-
for (;
|
|
175
|
-
|
|
176
|
-
|
|
182
|
+
k.length = 0;
|
|
183
|
+
} while (j.length);
|
|
184
|
+
for (; at.length; )
|
|
185
|
+
at.pop()();
|
|
186
|
+
Le = !1, Te.clear(), K(e);
|
|
177
187
|
}
|
|
178
188
|
function Ar(e) {
|
|
179
189
|
if (e.fragment !== null) {
|
|
180
|
-
e.update(),
|
|
190
|
+
e.update(), ne(e.before_update);
|
|
181
191
|
const t = e.dirty;
|
|
182
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
192
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
|
|
183
193
|
}
|
|
184
194
|
}
|
|
185
195
|
function Pr(e) {
|
|
186
196
|
const t = [], r = [];
|
|
187
|
-
|
|
197
|
+
k.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), k = t;
|
|
188
198
|
}
|
|
189
199
|
const Or = /* @__PURE__ */ new Set();
|
|
190
200
|
function Ir(e, t) {
|
|
@@ -192,29 +202,29 @@ function Ir(e, t) {
|
|
|
192
202
|
}
|
|
193
203
|
function Nr(e, t, r) {
|
|
194
204
|
const { fragment: n, after_update: i } = e.$$;
|
|
195
|
-
n && n.m(t, r),
|
|
196
|
-
const o = e.$$.on_mount.map(
|
|
197
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
198
|
-
}), i.forEach(
|
|
205
|
+
n && n.m(t, r), $e(() => {
|
|
206
|
+
const o = e.$$.on_mount.map(Ot).filter(Je);
|
|
207
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ne(o), e.$$.on_mount = [];
|
|
208
|
+
}), i.forEach($e);
|
|
199
209
|
}
|
|
200
210
|
function Mr(e, t) {
|
|
201
211
|
const r = e.$$;
|
|
202
|
-
r.fragment !== null && (Pr(r.after_update),
|
|
212
|
+
r.fragment !== null && (Pr(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
203
213
|
}
|
|
204
214
|
function Lr(e, t) {
|
|
205
|
-
e.$$.dirty[0] === -1 && (
|
|
215
|
+
e.$$.dirty[0] === -1 && (j.push(e), Hr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
206
216
|
}
|
|
207
|
-
function
|
|
208
|
-
const h =
|
|
209
|
-
|
|
217
|
+
function $r(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
218
|
+
const h = ee;
|
|
219
|
+
K(e);
|
|
210
220
|
const u = e.$$ = {
|
|
211
221
|
fragment: null,
|
|
212
222
|
ctx: [],
|
|
213
223
|
// state
|
|
214
224
|
props: o,
|
|
215
|
-
update:
|
|
225
|
+
update: I,
|
|
216
226
|
not_equal: i,
|
|
217
|
-
bound:
|
|
227
|
+
bound: st(),
|
|
218
228
|
// lifecycle
|
|
219
229
|
on_mount: [],
|
|
220
230
|
on_destroy: [],
|
|
@@ -223,7 +233,7 @@ function Cr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
223
233
|
after_update: [],
|
|
224
234
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
225
235
|
// everything else
|
|
226
|
-
callbacks:
|
|
236
|
+
callbacks: st(),
|
|
227
237
|
dirty: a,
|
|
228
238
|
skip_bound: !1,
|
|
229
239
|
root: t.target || h.$$.root
|
|
@@ -231,40 +241,40 @@ function Cr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
231
241
|
s && s(u.root);
|
|
232
242
|
let l = !1;
|
|
233
243
|
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
|
|
234
|
-
const
|
|
235
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] =
|
|
236
|
-
}) : [], u.update(), l = !0,
|
|
244
|
+
const d = p.length ? p[0] : f;
|
|
245
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = d) && (!u.skip_bound && u.bound[c] && u.bound[c](d), l && Lr(e, c)), f;
|
|
246
|
+
}) : [], u.update(), l = !0, ne(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
237
247
|
if (t.hydrate) {
|
|
238
248
|
const c = xr(t.target);
|
|
239
|
-
u.fragment && u.fragment.l(c), c.forEach(
|
|
249
|
+
u.fragment && u.fragment.l(c), c.forEach(ge);
|
|
240
250
|
} else
|
|
241
251
|
u.fragment && u.fragment.c();
|
|
242
|
-
t.intro && Ir(e.$$.fragment), Nr(e, t.target, t.anchor),
|
|
252
|
+
t.intro && Ir(e.$$.fragment), Nr(e, t.target, t.anchor), C();
|
|
243
253
|
}
|
|
244
|
-
|
|
254
|
+
K(h);
|
|
245
255
|
}
|
|
246
|
-
let
|
|
247
|
-
typeof HTMLElement == "function" && (
|
|
256
|
+
let Mt;
|
|
257
|
+
typeof HTMLElement == "function" && (Mt = class extends HTMLElement {
|
|
248
258
|
constructor(t, r, n) {
|
|
249
259
|
super();
|
|
250
260
|
/** The Svelte component constructor */
|
|
251
|
-
|
|
261
|
+
P(this, "$$ctor");
|
|
252
262
|
/** Slots */
|
|
253
|
-
|
|
263
|
+
P(this, "$$s");
|
|
254
264
|
/** The Svelte component instance */
|
|
255
|
-
|
|
265
|
+
P(this, "$$c");
|
|
256
266
|
/** Whether or not the custom element is connected */
|
|
257
|
-
|
|
267
|
+
P(this, "$$cn", !1);
|
|
258
268
|
/** Component props data */
|
|
259
|
-
|
|
269
|
+
P(this, "$$d", {});
|
|
260
270
|
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
261
|
-
|
|
271
|
+
P(this, "$$r", !1);
|
|
262
272
|
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
263
|
-
|
|
273
|
+
P(this, "$$p_d", {});
|
|
264
274
|
/** @type {Record<string, Function[]>} Event listeners */
|
|
265
|
-
|
|
275
|
+
P(this, "$$l", {});
|
|
266
276
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
267
|
-
|
|
277
|
+
P(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
268
278
|
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
|
269
279
|
}
|
|
270
280
|
addEventListener(t, r, n) {
|
|
@@ -281,24 +291,24 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
|
|
|
281
291
|
}
|
|
282
292
|
}
|
|
283
293
|
connectedCallback() {
|
|
284
|
-
return
|
|
294
|
+
return ot(this, null, function* () {
|
|
285
295
|
if (this.$$cn = !0, !this.$$c) {
|
|
286
296
|
let t = function(o) {
|
|
287
297
|
return () => {
|
|
288
298
|
let s;
|
|
289
299
|
return {
|
|
290
300
|
c: function() {
|
|
291
|
-
s =
|
|
301
|
+
s = O("slot"), o !== "default" && w(s, "name", o);
|
|
292
302
|
},
|
|
293
303
|
/**
|
|
294
304
|
* @param {HTMLElement} target
|
|
295
305
|
* @param {HTMLElement} [anchor]
|
|
296
306
|
*/
|
|
297
307
|
m: function(u, l) {
|
|
298
|
-
|
|
308
|
+
qe(u, s, l);
|
|
299
309
|
},
|
|
300
310
|
d: function(u) {
|
|
301
|
-
u &&
|
|
311
|
+
u && ge(s);
|
|
302
312
|
}
|
|
303
313
|
};
|
|
304
314
|
};
|
|
@@ -310,13 +320,13 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
|
|
|
310
320
|
o in n && (r[o] = [t(o)]);
|
|
311
321
|
for (const o of this.attributes) {
|
|
312
322
|
const s = this.$$g_p(o.name);
|
|
313
|
-
s in this.$$d || (this.$$d[s] =
|
|
323
|
+
s in this.$$d || (this.$$d[s] = le(s, o.value, this.$$p_d, "toProp"));
|
|
314
324
|
}
|
|
315
325
|
for (const o in this.$$p_d)
|
|
316
326
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
317
327
|
this.$$c = new this.$$ctor({
|
|
318
328
|
target: this.shadowRoot || this,
|
|
319
|
-
props:
|
|
329
|
+
props: it(nt({}, this.$$d), {
|
|
320
330
|
$$slots: r,
|
|
321
331
|
$$scope: {
|
|
322
332
|
ctx: []
|
|
@@ -327,7 +337,7 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
|
|
|
327
337
|
this.$$r = !0;
|
|
328
338
|
for (const o in this.$$p_d)
|
|
329
339
|
if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
|
|
330
|
-
const s =
|
|
340
|
+
const s = le(
|
|
331
341
|
o,
|
|
332
342
|
this.$$d[o],
|
|
333
343
|
this.$$p_d,
|
|
@@ -351,7 +361,7 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
|
|
|
351
361
|
// and setting attributes through setAttribute etc, this is helpful
|
|
352
362
|
attributeChangedCallback(t, r, n) {
|
|
353
363
|
var i;
|
|
354
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
|
364
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = le(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
355
365
|
}
|
|
356
366
|
disconnectedCallback() {
|
|
357
367
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -364,7 +374,7 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
|
|
|
364
374
|
) || t;
|
|
365
375
|
}
|
|
366
376
|
});
|
|
367
|
-
function
|
|
377
|
+
function le(e, t, r, n) {
|
|
368
378
|
var o;
|
|
369
379
|
const i = (o = r[e]) == null ? void 0 : o.type;
|
|
370
380
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
@@ -394,8 +404,8 @@ function fe(e, t, r, n) {
|
|
|
394
404
|
return t;
|
|
395
405
|
}
|
|
396
406
|
}
|
|
397
|
-
function
|
|
398
|
-
let s = class extends
|
|
407
|
+
function Cr(e, t, r, n, i, o) {
|
|
408
|
+
let s = class extends Mt {
|
|
399
409
|
constructor() {
|
|
400
410
|
super(e, r, i), this.$$p_d = t;
|
|
401
411
|
}
|
|
@@ -412,7 +422,7 @@ function $r(e, t, r, n, i, o) {
|
|
|
412
422
|
},
|
|
413
423
|
set(h) {
|
|
414
424
|
var u;
|
|
415
|
-
h =
|
|
425
|
+
h = le(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
|
|
416
426
|
}
|
|
417
427
|
});
|
|
418
428
|
}), n.forEach((a) => {
|
|
@@ -434,7 +444,7 @@ class Rr {
|
|
|
434
444
|
*
|
|
435
445
|
* @type {any}
|
|
436
446
|
*/
|
|
437
|
-
|
|
447
|
+
P(this, "$$");
|
|
438
448
|
/**
|
|
439
449
|
* ### PRIVATE API
|
|
440
450
|
*
|
|
@@ -442,11 +452,11 @@ class Rr {
|
|
|
442
452
|
*
|
|
443
453
|
* @type {any}
|
|
444
454
|
*/
|
|
445
|
-
|
|
455
|
+
P(this, "$$set");
|
|
446
456
|
}
|
|
447
457
|
/** @returns {void} */
|
|
448
458
|
$destroy() {
|
|
449
|
-
Mr(this, 1), this.$destroy =
|
|
459
|
+
Mr(this, 1), this.$destroy = I;
|
|
450
460
|
}
|
|
451
461
|
/**
|
|
452
462
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -455,8 +465,8 @@ class Rr {
|
|
|
455
465
|
* @returns {() => void}
|
|
456
466
|
*/
|
|
457
467
|
$on(t, r) {
|
|
458
|
-
if (!
|
|
459
|
-
return
|
|
468
|
+
if (!Je(r))
|
|
469
|
+
return I;
|
|
460
470
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
461
471
|
return n.push(r), () => {
|
|
462
472
|
const i = n.indexOf(r);
|
|
@@ -468,7 +478,7 @@ class Rr {
|
|
|
468
478
|
* @returns {void}
|
|
469
479
|
*/
|
|
470
480
|
$set(t) {
|
|
471
|
-
this.$$set && !
|
|
481
|
+
this.$$set && !dr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
472
482
|
}
|
|
473
483
|
}
|
|
474
484
|
const Dr = "4";
|
|
@@ -487,24 +497,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
487
497
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
488
498
|
PERFORMANCE OF THIS SOFTWARE.
|
|
489
499
|
***************************************************************************** */
|
|
490
|
-
var
|
|
491
|
-
return
|
|
500
|
+
var Ce = function(e, t) {
|
|
501
|
+
return Ce = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
492
502
|
r.__proto__ = n;
|
|
493
503
|
} || function(r, n) {
|
|
494
504
|
for (var i in n)
|
|
495
505
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
496
|
-
},
|
|
506
|
+
}, Ce(e, t);
|
|
497
507
|
};
|
|
498
|
-
function
|
|
508
|
+
function ie(e, t) {
|
|
499
509
|
if (typeof t != "function" && t !== null)
|
|
500
510
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
501
|
-
|
|
511
|
+
Ce(e, t);
|
|
502
512
|
function r() {
|
|
503
513
|
this.constructor = e;
|
|
504
514
|
}
|
|
505
515
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
506
516
|
}
|
|
507
|
-
function
|
|
517
|
+
function Re(e) {
|
|
508
518
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
509
519
|
if (r)
|
|
510
520
|
return r.call(e);
|
|
@@ -516,7 +526,7 @@ function Ue(e) {
|
|
|
516
526
|
};
|
|
517
527
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
518
528
|
}
|
|
519
|
-
function
|
|
529
|
+
function De(e, t) {
|
|
520
530
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
521
531
|
if (!r)
|
|
522
532
|
return e;
|
|
@@ -536,22 +546,22 @@ function Ge(e, t) {
|
|
|
536
546
|
}
|
|
537
547
|
return o;
|
|
538
548
|
}
|
|
539
|
-
function
|
|
549
|
+
function Ue(e, t, r) {
|
|
540
550
|
if (arguments.length === 2)
|
|
541
551
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
542
552
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
543
553
|
return e.concat(o || t);
|
|
544
554
|
}
|
|
545
|
-
function
|
|
555
|
+
function L(e) {
|
|
546
556
|
return typeof e == "function";
|
|
547
557
|
}
|
|
548
|
-
function
|
|
558
|
+
function Lt(e) {
|
|
549
559
|
var t = function(n) {
|
|
550
560
|
Error.call(n), n.stack = new Error().stack;
|
|
551
561
|
}, r = e(t);
|
|
552
562
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
553
563
|
}
|
|
554
|
-
var
|
|
564
|
+
var we = Lt(function(e) {
|
|
555
565
|
return function(r) {
|
|
556
566
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
557
567
|
` + r.map(function(n, i) {
|
|
@@ -560,13 +570,13 @@ var Ae = $t(function(e) {
|
|
|
560
570
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
561
571
|
};
|
|
562
572
|
});
|
|
563
|
-
function
|
|
573
|
+
function Ge(e, t) {
|
|
564
574
|
if (e) {
|
|
565
575
|
var r = e.indexOf(t);
|
|
566
576
|
0 <= r && e.splice(r, 1);
|
|
567
577
|
}
|
|
568
578
|
}
|
|
569
|
-
var
|
|
579
|
+
var ye = function() {
|
|
570
580
|
function e(t) {
|
|
571
581
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
572
582
|
}
|
|
@@ -578,7 +588,7 @@ var Ee = function() {
|
|
|
578
588
|
if (s)
|
|
579
589
|
if (this._parentage = null, Array.isArray(s))
|
|
580
590
|
try {
|
|
581
|
-
for (var a =
|
|
591
|
+
for (var a = Re(s), h = a.next(); !h.done; h = a.next()) {
|
|
582
592
|
var u = h.value;
|
|
583
593
|
u.remove(this);
|
|
584
594
|
}
|
|
@@ -595,22 +605,22 @@ var Ee = function() {
|
|
|
595
605
|
else
|
|
596
606
|
s.remove(this);
|
|
597
607
|
var l = this.initialTeardown;
|
|
598
|
-
if (
|
|
608
|
+
if (L(l))
|
|
599
609
|
try {
|
|
600
610
|
l();
|
|
601
611
|
} catch (m) {
|
|
602
|
-
o = m instanceof
|
|
612
|
+
o = m instanceof we ? m.errors : [m];
|
|
603
613
|
}
|
|
604
614
|
var c = this._finalizers;
|
|
605
615
|
if (c) {
|
|
606
616
|
this._finalizers = null;
|
|
607
617
|
try {
|
|
608
|
-
for (var f =
|
|
609
|
-
var
|
|
618
|
+
for (var f = Re(c), p = f.next(); !p.done; p = f.next()) {
|
|
619
|
+
var d = p.value;
|
|
610
620
|
try {
|
|
611
|
-
|
|
621
|
+
ut(d);
|
|
612
622
|
} catch (m) {
|
|
613
|
-
o = o != null ? o : [], m instanceof
|
|
623
|
+
o = o != null ? o : [], m instanceof we ? o = Ue(Ue([], De(o)), De(m.errors)) : o.push(m);
|
|
614
624
|
}
|
|
615
625
|
}
|
|
616
626
|
} catch (m) {
|
|
@@ -625,13 +635,13 @@ var Ee = function() {
|
|
|
625
635
|
}
|
|
626
636
|
}
|
|
627
637
|
if (o)
|
|
628
|
-
throw new
|
|
638
|
+
throw new we(o);
|
|
629
639
|
}
|
|
630
640
|
}, e.prototype.add = function(t) {
|
|
631
641
|
var r;
|
|
632
642
|
if (t && t !== this)
|
|
633
643
|
if (this.closed)
|
|
634
|
-
|
|
644
|
+
ut(t);
|
|
635
645
|
else {
|
|
636
646
|
if (t instanceof e) {
|
|
637
647
|
if (t.closed || t._hasParent(this))
|
|
@@ -648,20 +658,20 @@ var Ee = function() {
|
|
|
648
658
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
649
659
|
}, e.prototype._removeParent = function(t) {
|
|
650
660
|
var r = this._parentage;
|
|
651
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
661
|
+
r === t ? this._parentage = null : Array.isArray(r) && Ge(r, t);
|
|
652
662
|
}, e.prototype.remove = function(t) {
|
|
653
663
|
var r = this._finalizers;
|
|
654
|
-
r &&
|
|
664
|
+
r && Ge(r, t), t instanceof e && t._removeParent(this);
|
|
655
665
|
}, e.EMPTY = function() {
|
|
656
666
|
var t = new e();
|
|
657
667
|
return t.closed = !0, t;
|
|
658
668
|
}(), e;
|
|
659
|
-
}(),
|
|
660
|
-
function
|
|
661
|
-
return e instanceof
|
|
669
|
+
}(), $t = ye.EMPTY;
|
|
670
|
+
function Ct(e) {
|
|
671
|
+
return e instanceof ye || e && "closed" in e && L(e.remove) && L(e.add) && L(e.unsubscribe);
|
|
662
672
|
}
|
|
663
|
-
function
|
|
664
|
-
|
|
673
|
+
function ut(e) {
|
|
674
|
+
L(e) ? e() : e.unsubscribe();
|
|
665
675
|
}
|
|
666
676
|
var Ur = {
|
|
667
677
|
Promise: void 0
|
|
@@ -669,7 +679,7 @@ var Ur = {
|
|
|
669
679
|
setTimeout: function(e, t) {
|
|
670
680
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
671
681
|
r[n - 2] = arguments[n];
|
|
672
|
-
return setTimeout.apply(void 0,
|
|
682
|
+
return setTimeout.apply(void 0, Ue([e, t], De(r)));
|
|
673
683
|
},
|
|
674
684
|
clearTimeout: function(e) {
|
|
675
685
|
return clearTimeout(e);
|
|
@@ -681,19 +691,19 @@ function Fr(e) {
|
|
|
681
691
|
throw e;
|
|
682
692
|
});
|
|
683
693
|
}
|
|
684
|
-
function
|
|
694
|
+
function ht() {
|
|
685
695
|
}
|
|
686
|
-
function
|
|
696
|
+
function ce(e) {
|
|
687
697
|
e();
|
|
688
698
|
}
|
|
689
|
-
var
|
|
690
|
-
|
|
699
|
+
var Rt = function(e) {
|
|
700
|
+
ie(t, e);
|
|
691
701
|
function t(r) {
|
|
692
702
|
var n = e.call(this) || this;
|
|
693
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
703
|
+
return n.isStopped = !1, r ? (n.destination = r, Ct(r) && r.add(n)) : n.destination = Vr, n;
|
|
694
704
|
}
|
|
695
705
|
return t.create = function(r, n, i) {
|
|
696
|
-
return new
|
|
706
|
+
return new Fe(r, n, i);
|
|
697
707
|
}, t.prototype.next = function(r) {
|
|
698
708
|
this.isStopped || this._next(r);
|
|
699
709
|
}, t.prototype.error = function(r) {
|
|
@@ -717,7 +727,7 @@ var Ut = function(e) {
|
|
|
717
727
|
this.unsubscribe();
|
|
718
728
|
}
|
|
719
729
|
}, t;
|
|
720
|
-
}(
|
|
730
|
+
}(ye), jr = function() {
|
|
721
731
|
function e(t) {
|
|
722
732
|
this.partialObserver = t;
|
|
723
733
|
}
|
|
@@ -727,7 +737,7 @@ var Ut = function(e) {
|
|
|
727
737
|
try {
|
|
728
738
|
r.next(t);
|
|
729
739
|
} catch (n) {
|
|
730
|
-
|
|
740
|
+
ae(n);
|
|
731
741
|
}
|
|
732
742
|
}, e.prototype.error = function(t) {
|
|
733
743
|
var r = this.partialObserver;
|
|
@@ -735,32 +745,32 @@ var Ut = function(e) {
|
|
|
735
745
|
try {
|
|
736
746
|
r.error(t);
|
|
737
747
|
} catch (n) {
|
|
738
|
-
|
|
748
|
+
ae(n);
|
|
739
749
|
}
|
|
740
750
|
else
|
|
741
|
-
|
|
751
|
+
ae(t);
|
|
742
752
|
}, e.prototype.complete = function() {
|
|
743
753
|
var t = this.partialObserver;
|
|
744
754
|
if (t.complete)
|
|
745
755
|
try {
|
|
746
756
|
t.complete();
|
|
747
757
|
} catch (r) {
|
|
748
|
-
|
|
758
|
+
ae(r);
|
|
749
759
|
}
|
|
750
760
|
}, e;
|
|
751
|
-
}(),
|
|
752
|
-
|
|
761
|
+
}(), Fe = function(e) {
|
|
762
|
+
ie(t, e);
|
|
753
763
|
function t(r, n, i) {
|
|
754
764
|
var o = e.call(this) || this, s;
|
|
755
|
-
return
|
|
765
|
+
return L(r) || !r ? s = {
|
|
756
766
|
next: r != null ? r : void 0,
|
|
757
767
|
error: n != null ? n : void 0,
|
|
758
768
|
complete: i != null ? i : void 0
|
|
759
769
|
} : s = r, o.destination = new jr(s), o;
|
|
760
770
|
}
|
|
761
771
|
return t;
|
|
762
|
-
}(
|
|
763
|
-
function
|
|
772
|
+
}(Rt);
|
|
773
|
+
function ae(e) {
|
|
764
774
|
Fr(e);
|
|
765
775
|
}
|
|
766
776
|
function kr(e) {
|
|
@@ -768,9 +778,9 @@ function kr(e) {
|
|
|
768
778
|
}
|
|
769
779
|
var Vr = {
|
|
770
780
|
closed: !0,
|
|
771
|
-
next:
|
|
781
|
+
next: ht,
|
|
772
782
|
error: kr,
|
|
773
|
-
complete:
|
|
783
|
+
complete: ht
|
|
774
784
|
}, Xr = function() {
|
|
775
785
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
776
786
|
}();
|
|
@@ -784,7 +794,7 @@ function zr(e) {
|
|
|
784
794
|
}, r);
|
|
785
795
|
};
|
|
786
796
|
}
|
|
787
|
-
var
|
|
797
|
+
var lt = function() {
|
|
788
798
|
function e(t) {
|
|
789
799
|
t && (this._subscribe = t);
|
|
790
800
|
}
|
|
@@ -792,8 +802,8 @@ var ct = function() {
|
|
|
792
802
|
var r = new e();
|
|
793
803
|
return r.source = this, r.operator = t, r;
|
|
794
804
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
795
|
-
var i = this, o = Yr(t) ? t : new
|
|
796
|
-
return
|
|
805
|
+
var i = this, o = Yr(t) ? t : new Fe(t, r, n);
|
|
806
|
+
return ce(function() {
|
|
797
807
|
var s = i, a = s.operator, h = s.source;
|
|
798
808
|
o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
|
799
809
|
}), o;
|
|
@@ -805,8 +815,8 @@ var ct = function() {
|
|
|
805
815
|
}
|
|
806
816
|
}, e.prototype.forEach = function(t, r) {
|
|
807
817
|
var n = this;
|
|
808
|
-
return r =
|
|
809
|
-
var s = new
|
|
818
|
+
return r = ct(r), new r(function(i, o) {
|
|
819
|
+
var s = new Fe({
|
|
810
820
|
next: function(a) {
|
|
811
821
|
try {
|
|
812
822
|
t(a);
|
|
@@ -830,7 +840,7 @@ var ct = function() {
|
|
|
830
840
|
return zr(t)(this);
|
|
831
841
|
}, e.prototype.toPromise = function(t) {
|
|
832
842
|
var r = this;
|
|
833
|
-
return t =
|
|
843
|
+
return t = ct(t), new t(function(n, i) {
|
|
834
844
|
var o;
|
|
835
845
|
r.subscribe(function(s) {
|
|
836
846
|
return o = s;
|
|
@@ -844,40 +854,40 @@ var ct = function() {
|
|
|
844
854
|
return new e(t);
|
|
845
855
|
}, e;
|
|
846
856
|
}();
|
|
847
|
-
function
|
|
857
|
+
function ct(e) {
|
|
848
858
|
var t;
|
|
849
859
|
return (t = e != null ? e : Ur.Promise) !== null && t !== void 0 ? t : Promise;
|
|
850
860
|
}
|
|
851
861
|
function Zr(e) {
|
|
852
|
-
return e &&
|
|
862
|
+
return e && L(e.next) && L(e.error) && L(e.complete);
|
|
853
863
|
}
|
|
854
864
|
function Yr(e) {
|
|
855
|
-
return e && e instanceof
|
|
865
|
+
return e && e instanceof Rt || Zr(e) && Ct(e);
|
|
856
866
|
}
|
|
857
|
-
var Qr =
|
|
867
|
+
var Qr = Lt(function(e) {
|
|
858
868
|
return function() {
|
|
859
869
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
860
870
|
};
|
|
861
|
-
}),
|
|
862
|
-
|
|
871
|
+
}), Dt = function(e) {
|
|
872
|
+
ie(t, e);
|
|
863
873
|
function t() {
|
|
864
874
|
var r = e.call(this) || this;
|
|
865
875
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
866
876
|
}
|
|
867
877
|
return t.prototype.lift = function(r) {
|
|
868
|
-
var n = new
|
|
878
|
+
var n = new ft(this, this);
|
|
869
879
|
return n.operator = r, n;
|
|
870
880
|
}, t.prototype._throwIfClosed = function() {
|
|
871
881
|
if (this.closed)
|
|
872
882
|
throw new Qr();
|
|
873
883
|
}, t.prototype.next = function(r) {
|
|
874
884
|
var n = this;
|
|
875
|
-
|
|
885
|
+
ce(function() {
|
|
876
886
|
var i, o;
|
|
877
887
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
878
888
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
879
889
|
try {
|
|
880
|
-
for (var s =
|
|
890
|
+
for (var s = Re(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
881
891
|
var h = a.value;
|
|
882
892
|
h.next(r);
|
|
883
893
|
}
|
|
@@ -895,7 +905,7 @@ var Qr = $t(function(e) {
|
|
|
895
905
|
});
|
|
896
906
|
}, t.prototype.error = function(r) {
|
|
897
907
|
var n = this;
|
|
898
|
-
|
|
908
|
+
ce(function() {
|
|
899
909
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
900
910
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
901
911
|
for (var i = n.observers; i.length; )
|
|
@@ -904,7 +914,7 @@ var Qr = $t(function(e) {
|
|
|
904
914
|
});
|
|
905
915
|
}, t.prototype.complete = function() {
|
|
906
916
|
var r = this;
|
|
907
|
-
|
|
917
|
+
ce(function() {
|
|
908
918
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
909
919
|
r.isStopped = !0;
|
|
910
920
|
for (var n = r.observers; n.length; )
|
|
@@ -926,20 +936,20 @@ var Qr = $t(function(e) {
|
|
|
926
936
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
927
937
|
}, t.prototype._innerSubscribe = function(r) {
|
|
928
938
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
929
|
-
return o || s ?
|
|
930
|
-
n.currentObservers = null,
|
|
939
|
+
return o || s ? $t : (this.currentObservers = null, a.push(r), new ye(function() {
|
|
940
|
+
n.currentObservers = null, Ge(a, r);
|
|
931
941
|
}));
|
|
932
942
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
933
943
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
934
944
|
i ? r.error(o) : s && r.complete();
|
|
935
945
|
}, t.prototype.asObservable = function() {
|
|
936
|
-
var r = new
|
|
946
|
+
var r = new lt();
|
|
937
947
|
return r.source = this, r;
|
|
938
948
|
}, t.create = function(r, n) {
|
|
939
|
-
return new
|
|
949
|
+
return new ft(r, n);
|
|
940
950
|
}, t;
|
|
941
|
-
}(
|
|
942
|
-
|
|
951
|
+
}(lt), ft = function(e) {
|
|
952
|
+
ie(t, e);
|
|
943
953
|
function t(r, n) {
|
|
944
954
|
var i = e.call(this) || this;
|
|
945
955
|
return i.destination = r, i.source = n, i;
|
|
@@ -955,17 +965,17 @@ var Qr = $t(function(e) {
|
|
|
955
965
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
956
966
|
}, t.prototype._subscribe = function(r) {
|
|
957
967
|
var n, i;
|
|
958
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
968
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : $t;
|
|
959
969
|
}, t;
|
|
960
|
-
}(
|
|
970
|
+
}(Dt), Ut = {
|
|
961
971
|
now: function() {
|
|
962
|
-
return (
|
|
972
|
+
return (Ut.delegate || Date).now();
|
|
963
973
|
},
|
|
964
974
|
delegate: void 0
|
|
965
975
|
}, Jr = function(e) {
|
|
966
|
-
|
|
976
|
+
ie(t, e);
|
|
967
977
|
function t(r, n, i) {
|
|
968
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
978
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ut);
|
|
969
979
|
var o = e.call(this) || this;
|
|
970
980
|
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;
|
|
971
981
|
}
|
|
@@ -985,46 +995,46 @@ var Qr = $t(function(e) {
|
|
|
985
995
|
u && o.splice(0, u + 1);
|
|
986
996
|
}
|
|
987
997
|
}, t;
|
|
988
|
-
}(
|
|
989
|
-
const
|
|
990
|
-
if (
|
|
998
|
+
}(Dt);
|
|
999
|
+
const pt = [], mt = {}, qr = (e, t = 0) => {
|
|
1000
|
+
if (pt.indexOf(e) == -1) {
|
|
991
1001
|
const r = new Jr(t);
|
|
992
|
-
|
|
1002
|
+
mt[e] = r, pt.push(e);
|
|
993
1003
|
}
|
|
994
|
-
return
|
|
995
|
-
},
|
|
1004
|
+
return mt[e];
|
|
1005
|
+
}, F = [];
|
|
996
1006
|
function Kr(e, t) {
|
|
997
1007
|
return {
|
|
998
|
-
subscribe:
|
|
1008
|
+
subscribe: ve(e, t).subscribe
|
|
999
1009
|
};
|
|
1000
1010
|
}
|
|
1001
|
-
function
|
|
1011
|
+
function ve(e, t = I) {
|
|
1002
1012
|
let r;
|
|
1003
1013
|
const n = /* @__PURE__ */ new Set();
|
|
1004
1014
|
function i(a) {
|
|
1005
|
-
if (
|
|
1006
|
-
const h = !
|
|
1015
|
+
if (It(e, a) && (e = a, r)) {
|
|
1016
|
+
const h = !F.length;
|
|
1007
1017
|
for (const u of n)
|
|
1008
|
-
u[1](),
|
|
1018
|
+
u[1](), F.push(u, e);
|
|
1009
1019
|
if (h) {
|
|
1010
|
-
for (let u = 0; u <
|
|
1011
|
-
|
|
1012
|
-
|
|
1020
|
+
for (let u = 0; u < F.length; u += 2)
|
|
1021
|
+
F[u][0](F[u + 1]);
|
|
1022
|
+
F.length = 0;
|
|
1013
1023
|
}
|
|
1014
1024
|
}
|
|
1015
1025
|
}
|
|
1016
1026
|
function o(a) {
|
|
1017
1027
|
i(a(e));
|
|
1018
1028
|
}
|
|
1019
|
-
function s(a, h =
|
|
1029
|
+
function s(a, h = I) {
|
|
1020
1030
|
const u = [a, h];
|
|
1021
|
-
return n.add(u), n.size === 1 && (r = t(i, o) ||
|
|
1031
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || I), a(e), () => {
|
|
1022
1032
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
1023
1033
|
};
|
|
1024
1034
|
}
|
|
1025
1035
|
return { set: i, update: o, subscribe: s };
|
|
1026
1036
|
}
|
|
1027
|
-
function
|
|
1037
|
+
function Z(e, t, r) {
|
|
1028
1038
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1029
1039
|
if (!i.every(Boolean))
|
|
1030
1040
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -1032,18 +1042,18 @@ function J(e, t, r) {
|
|
|
1032
1042
|
return Kr(r, (s, a) => {
|
|
1033
1043
|
let h = !1;
|
|
1034
1044
|
const u = [];
|
|
1035
|
-
let l = 0, c =
|
|
1045
|
+
let l = 0, c = I;
|
|
1036
1046
|
const f = () => {
|
|
1037
1047
|
if (l)
|
|
1038
1048
|
return;
|
|
1039
1049
|
c();
|
|
1040
|
-
const
|
|
1041
|
-
o ? s(
|
|
1050
|
+
const d = t(n ? u[0] : u, s, a);
|
|
1051
|
+
o ? s(d) : c = Je(d) ? d : I;
|
|
1042
1052
|
}, p = i.map(
|
|
1043
|
-
(
|
|
1044
|
-
|
|
1045
|
-
(
|
|
1046
|
-
u[m] =
|
|
1053
|
+
(d, m) => Nt(
|
|
1054
|
+
d,
|
|
1055
|
+
(H) => {
|
|
1056
|
+
u[m] = H, l &= ~(1 << m), h && f();
|
|
1047
1057
|
},
|
|
1048
1058
|
() => {
|
|
1049
1059
|
l |= 1 << m;
|
|
@@ -1051,7 +1061,7 @@ function J(e, t, r) {
|
|
|
1051
1061
|
)
|
|
1052
1062
|
);
|
|
1053
1063
|
return h = !0, f(), function() {
|
|
1054
|
-
|
|
1064
|
+
ne(p), c(), h = !1;
|
|
1055
1065
|
};
|
|
1056
1066
|
});
|
|
1057
1067
|
}
|
|
@@ -1075,29 +1085,29 @@ function an(e) {
|
|
|
1075
1085
|
function un(e) {
|
|
1076
1086
|
return Array.isArray(e) ? [] : {};
|
|
1077
1087
|
}
|
|
1078
|
-
function
|
|
1079
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1088
|
+
function te(e, t) {
|
|
1089
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? V(un(e), e, t) : e;
|
|
1080
1090
|
}
|
|
1081
1091
|
function hn(e, t, r) {
|
|
1082
1092
|
return e.concat(t).map(function(n) {
|
|
1083
|
-
return
|
|
1093
|
+
return te(n, r);
|
|
1084
1094
|
});
|
|
1085
1095
|
}
|
|
1086
1096
|
function ln(e, t) {
|
|
1087
1097
|
if (!t.customMerge)
|
|
1088
|
-
return
|
|
1098
|
+
return V;
|
|
1089
1099
|
var r = t.customMerge(e);
|
|
1090
|
-
return typeof r == "function" ? r :
|
|
1100
|
+
return typeof r == "function" ? r : V;
|
|
1091
1101
|
}
|
|
1092
1102
|
function cn(e) {
|
|
1093
1103
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1094
1104
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1095
1105
|
}) : [];
|
|
1096
1106
|
}
|
|
1097
|
-
function
|
|
1107
|
+
function bt(e) {
|
|
1098
1108
|
return Object.keys(e).concat(cn(e));
|
|
1099
1109
|
}
|
|
1100
|
-
function
|
|
1110
|
+
function Gt(e, t) {
|
|
1101
1111
|
try {
|
|
1102
1112
|
return t in e;
|
|
1103
1113
|
} catch (r) {
|
|
@@ -1105,56 +1115,56 @@ function jt(e, t) {
|
|
|
1105
1115
|
}
|
|
1106
1116
|
}
|
|
1107
1117
|
function fn(e, t) {
|
|
1108
|
-
return
|
|
1118
|
+
return Gt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1109
1119
|
}
|
|
1110
1120
|
function pn(e, t, r) {
|
|
1111
1121
|
var n = {};
|
|
1112
|
-
return r.isMergeableObject(e) &&
|
|
1113
|
-
n[i] =
|
|
1114
|
-
}),
|
|
1115
|
-
fn(e, i) || (
|
|
1122
|
+
return r.isMergeableObject(e) && bt(e).forEach(function(i) {
|
|
1123
|
+
n[i] = te(e[i], r);
|
|
1124
|
+
}), bt(t).forEach(function(i) {
|
|
1125
|
+
fn(e, i) || (Gt(e, i) && r.isMergeableObject(t[i]) ? n[i] = ln(i, r)(e[i], t[i], r) : n[i] = te(t[i], r));
|
|
1116
1126
|
}), n;
|
|
1117
1127
|
}
|
|
1118
|
-
function
|
|
1119
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || hn, r.isMergeableObject = r.isMergeableObject || tn, r.cloneUnlessOtherwiseSpecified =
|
|
1128
|
+
function V(e, t, r) {
|
|
1129
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || hn, r.isMergeableObject = r.isMergeableObject || tn, r.cloneUnlessOtherwiseSpecified = te;
|
|
1120
1130
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1121
|
-
return o ? n ? r.arrayMerge(e, t, r) : pn(e, t, r) :
|
|
1131
|
+
return o ? n ? r.arrayMerge(e, t, r) : pn(e, t, r) : te(t, r);
|
|
1122
1132
|
}
|
|
1123
|
-
|
|
1133
|
+
V.all = function(t, r) {
|
|
1124
1134
|
if (!Array.isArray(t))
|
|
1125
1135
|
throw new Error("first argument should be an array");
|
|
1126
1136
|
return t.reduce(function(n, i) {
|
|
1127
|
-
return
|
|
1137
|
+
return V(n, i, r);
|
|
1128
1138
|
}, {});
|
|
1129
1139
|
};
|
|
1130
|
-
var mn =
|
|
1140
|
+
var mn = V, bn = mn;
|
|
1131
1141
|
const dn = /* @__PURE__ */ en(bn);
|
|
1132
|
-
var
|
|
1133
|
-
return
|
|
1142
|
+
var je = function(e, t) {
|
|
1143
|
+
return je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1134
1144
|
r.__proto__ = n;
|
|
1135
1145
|
} || function(r, n) {
|
|
1136
1146
|
for (var i in n)
|
|
1137
1147
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1138
|
-
},
|
|
1148
|
+
}, je(e, t);
|
|
1139
1149
|
};
|
|
1140
|
-
function
|
|
1150
|
+
function Ee(e, t) {
|
|
1141
1151
|
if (typeof t != "function" && t !== null)
|
|
1142
1152
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1143
|
-
|
|
1153
|
+
je(e, t);
|
|
1144
1154
|
function r() {
|
|
1145
1155
|
this.constructor = e;
|
|
1146
1156
|
}
|
|
1147
1157
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1148
1158
|
}
|
|
1149
|
-
var
|
|
1150
|
-
return
|
|
1159
|
+
var M = function() {
|
|
1160
|
+
return M = Object.assign || function(t) {
|
|
1151
1161
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1152
1162
|
r = arguments[n];
|
|
1153
1163
|
for (var o in r)
|
|
1154
1164
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1155
1165
|
}
|
|
1156
1166
|
return t;
|
|
1157
|
-
},
|
|
1167
|
+
}, M.apply(this, arguments);
|
|
1158
1168
|
};
|
|
1159
1169
|
function gn(e, t) {
|
|
1160
1170
|
var r = {};
|
|
@@ -1165,13 +1175,13 @@ function gn(e, t) {
|
|
|
1165
1175
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1166
1176
|
return r;
|
|
1167
1177
|
}
|
|
1168
|
-
function
|
|
1178
|
+
function He(e, t, r) {
|
|
1169
1179
|
if (r || arguments.length === 2)
|
|
1170
1180
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1171
1181
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1172
1182
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
1173
1183
|
}
|
|
1174
|
-
function
|
|
1184
|
+
function Ae(e, t) {
|
|
1175
1185
|
var r = t && t.cache ? t.cache : Sn, n = t && t.serializer ? t.serializer : xn, i = t && t.strategy ? t.strategy : En;
|
|
1176
1186
|
return i(e, {
|
|
1177
1187
|
cache: r,
|
|
@@ -1185,19 +1195,19 @@ function vn(e, t, r, n) {
|
|
|
1185
1195
|
var i = yn(n) ? n : r(n), o = t.get(i);
|
|
1186
1196
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1187
1197
|
}
|
|
1188
|
-
function
|
|
1198
|
+
function Ft(e, t, r) {
|
|
1189
1199
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1190
1200
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1191
1201
|
}
|
|
1192
|
-
function
|
|
1202
|
+
function jt(e, t, r, n, i) {
|
|
1193
1203
|
return r.bind(t, e, n, i);
|
|
1194
1204
|
}
|
|
1195
1205
|
function En(e, t) {
|
|
1196
|
-
var r = e.length === 1 ? vn :
|
|
1197
|
-
return
|
|
1206
|
+
var r = e.length === 1 ? vn : Ft;
|
|
1207
|
+
return jt(e, this, r, t.cache.create(), t.serializer);
|
|
1198
1208
|
}
|
|
1199
1209
|
function _n(e, t) {
|
|
1200
|
-
return
|
|
1210
|
+
return jt(e, this, Ft, t.cache.create(), t.serializer);
|
|
1201
1211
|
}
|
|
1202
1212
|
var xn = function() {
|
|
1203
1213
|
return JSON.stringify(arguments);
|
|
@@ -1217,64 +1227,64 @@ var xn = function() {
|
|
|
1217
1227
|
create: function() {
|
|
1218
1228
|
return new Bn();
|
|
1219
1229
|
}
|
|
1220
|
-
},
|
|
1230
|
+
}, Pe = {
|
|
1221
1231
|
variadic: _n
|
|
1222
|
-
},
|
|
1223
|
-
return
|
|
1232
|
+
}, me = function() {
|
|
1233
|
+
return me = Object.assign || function(t) {
|
|
1224
1234
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1225
1235
|
r = arguments[n];
|
|
1226
1236
|
for (var o in r)
|
|
1227
1237
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1228
1238
|
}
|
|
1229
1239
|
return t;
|
|
1230
|
-
},
|
|
1240
|
+
}, me.apply(this, arguments);
|
|
1231
1241
|
};
|
|
1232
1242
|
var b;
|
|
1233
1243
|
(function(e) {
|
|
1234
1244
|
e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
|
|
1235
1245
|
})(b || (b = {}));
|
|
1236
|
-
var
|
|
1246
|
+
var _;
|
|
1237
1247
|
(function(e) {
|
|
1238
1248
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
1239
|
-
})(
|
|
1240
|
-
var
|
|
1249
|
+
})(_ || (_ = {}));
|
|
1250
|
+
var X;
|
|
1241
1251
|
(function(e) {
|
|
1242
1252
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1243
|
-
})(
|
|
1244
|
-
function
|
|
1245
|
-
return e.type ===
|
|
1253
|
+
})(X || (X = {}));
|
|
1254
|
+
function dt(e) {
|
|
1255
|
+
return e.type === _.literal;
|
|
1246
1256
|
}
|
|
1247
1257
|
function Tn(e) {
|
|
1248
|
-
return e.type ===
|
|
1258
|
+
return e.type === _.argument;
|
|
1259
|
+
}
|
|
1260
|
+
function kt(e) {
|
|
1261
|
+
return e.type === _.number;
|
|
1262
|
+
}
|
|
1263
|
+
function Vt(e) {
|
|
1264
|
+
return e.type === _.date;
|
|
1249
1265
|
}
|
|
1250
1266
|
function Xt(e) {
|
|
1251
|
-
return e.type ===
|
|
1267
|
+
return e.type === _.time;
|
|
1252
1268
|
}
|
|
1253
1269
|
function Wt(e) {
|
|
1254
|
-
return e.type ===
|
|
1270
|
+
return e.type === _.select;
|
|
1255
1271
|
}
|
|
1256
1272
|
function zt(e) {
|
|
1257
|
-
return e.type ===
|
|
1258
|
-
}
|
|
1259
|
-
function Zt(e) {
|
|
1260
|
-
return e.type === E.select;
|
|
1261
|
-
}
|
|
1262
|
-
function Yt(e) {
|
|
1263
|
-
return e.type === E.plural;
|
|
1273
|
+
return e.type === _.plural;
|
|
1264
1274
|
}
|
|
1265
1275
|
function wn(e) {
|
|
1266
|
-
return e.type ===
|
|
1276
|
+
return e.type === _.pound;
|
|
1267
1277
|
}
|
|
1268
|
-
function
|
|
1269
|
-
return e.type ===
|
|
1278
|
+
function Zt(e) {
|
|
1279
|
+
return e.type === _.tag;
|
|
1270
1280
|
}
|
|
1271
|
-
function
|
|
1272
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1281
|
+
function Yt(e) {
|
|
1282
|
+
return !!(e && typeof e == "object" && e.type === X.number);
|
|
1273
1283
|
}
|
|
1274
|
-
function
|
|
1275
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1284
|
+
function ke(e) {
|
|
1285
|
+
return !!(e && typeof e == "object" && e.type === X.dateTime);
|
|
1276
1286
|
}
|
|
1277
|
-
var
|
|
1287
|
+
var Qt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Hn = /(?:[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;
|
|
1278
1288
|
function An(e) {
|
|
1279
1289
|
var t = {};
|
|
1280
1290
|
return e.replace(Hn, function(r) {
|
|
@@ -1366,15 +1376,15 @@ function An(e) {
|
|
|
1366
1376
|
return "";
|
|
1367
1377
|
}), t;
|
|
1368
1378
|
}
|
|
1369
|
-
var
|
|
1370
|
-
return
|
|
1379
|
+
var x = function() {
|
|
1380
|
+
return x = Object.assign || function(t) {
|
|
1371
1381
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1372
1382
|
r = arguments[n];
|
|
1373
1383
|
for (var o in r)
|
|
1374
1384
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1375
1385
|
}
|
|
1376
1386
|
return t;
|
|
1377
|
-
},
|
|
1387
|
+
}, x.apply(this, arguments);
|
|
1378
1388
|
};
|
|
1379
1389
|
var Pn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1380
1390
|
function On(e) {
|
|
@@ -1398,14 +1408,14 @@ function On(e) {
|
|
|
1398
1408
|
function In(e) {
|
|
1399
1409
|
return e.replace(/^(.*?)-/, "");
|
|
1400
1410
|
}
|
|
1401
|
-
var
|
|
1402
|
-
function
|
|
1411
|
+
var gt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Jt = /^(@+)?(\+|#+)?[rs]?$/g, Nn = /(\*)(0+)|(#+)(0+)|(0+)/g, qt = /^(0+)$/;
|
|
1412
|
+
function yt(e) {
|
|
1403
1413
|
var t = {};
|
|
1404
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1414
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Jt, function(r, n, i) {
|
|
1405
1415
|
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)), "";
|
|
1406
1416
|
}), t;
|
|
1407
1417
|
}
|
|
1408
|
-
function
|
|
1418
|
+
function Kt(e) {
|
|
1409
1419
|
switch (e) {
|
|
1410
1420
|
case "sign-auto":
|
|
1411
1421
|
return {
|
|
@@ -1453,14 +1463,14 @@ function Mn(e) {
|
|
|
1453
1463
|
notation: "scientific"
|
|
1454
1464
|
}, e = e.slice(1)), t) {
|
|
1455
1465
|
var r = e.slice(0, 2);
|
|
1456
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1466
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !qt.test(e))
|
|
1457
1467
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1458
1468
|
t.minimumIntegerDigits = e.length;
|
|
1459
1469
|
}
|
|
1460
1470
|
return t;
|
|
1461
1471
|
}
|
|
1462
|
-
function
|
|
1463
|
-
var t = {}, r =
|
|
1472
|
+
function vt(e) {
|
|
1473
|
+
var t = {}, r = Kt(e);
|
|
1464
1474
|
return r || t;
|
|
1465
1475
|
}
|
|
1466
1476
|
function Ln(e) {
|
|
@@ -1498,13 +1508,13 @@ function Ln(e) {
|
|
|
1498
1508
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1499
1509
|
continue;
|
|
1500
1510
|
case "scientific":
|
|
1501
|
-
t =
|
|
1502
|
-
return
|
|
1511
|
+
t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1512
|
+
return x(x({}, h), vt(u));
|
|
1503
1513
|
}, {}));
|
|
1504
1514
|
continue;
|
|
1505
1515
|
case "engineering":
|
|
1506
|
-
t =
|
|
1507
|
-
return
|
|
1516
|
+
t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1517
|
+
return x(x({}, h), vt(u));
|
|
1508
1518
|
}, {}));
|
|
1509
1519
|
continue;
|
|
1510
1520
|
case "notation-simple":
|
|
@@ -1562,32 +1572,32 @@ function Ln(e) {
|
|
|
1562
1572
|
});
|
|
1563
1573
|
continue;
|
|
1564
1574
|
}
|
|
1565
|
-
if (
|
|
1575
|
+
if (qt.test(i.stem)) {
|
|
1566
1576
|
t.minimumIntegerDigits = i.stem.length;
|
|
1567
1577
|
continue;
|
|
1568
1578
|
}
|
|
1569
|
-
if (
|
|
1579
|
+
if (gt.test(i.stem)) {
|
|
1570
1580
|
if (i.options.length > 1)
|
|
1571
1581
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1572
|
-
i.stem.replace(
|
|
1582
|
+
i.stem.replace(gt, function(h, u, l, c, f, p) {
|
|
1573
1583
|
return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1574
1584
|
});
|
|
1575
1585
|
var o = i.options[0];
|
|
1576
|
-
o === "w" ? t =
|
|
1586
|
+
o === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = x(x({}, t), yt(o)));
|
|
1577
1587
|
continue;
|
|
1578
1588
|
}
|
|
1579
|
-
if (
|
|
1580
|
-
t =
|
|
1589
|
+
if (Jt.test(i.stem)) {
|
|
1590
|
+
t = x(x({}, t), yt(i.stem));
|
|
1581
1591
|
continue;
|
|
1582
1592
|
}
|
|
1583
|
-
var s =
|
|
1584
|
-
s && (t =
|
|
1593
|
+
var s = Kt(i.stem);
|
|
1594
|
+
s && (t = x(x({}, t), s));
|
|
1585
1595
|
var a = Mn(i.stem);
|
|
1586
|
-
a && (t =
|
|
1596
|
+
a && (t = x(x({}, t), a));
|
|
1587
1597
|
}
|
|
1588
1598
|
return t;
|
|
1589
1599
|
}
|
|
1590
|
-
var
|
|
1600
|
+
var ue = {
|
|
1591
1601
|
"001": [
|
|
1592
1602
|
"H",
|
|
1593
1603
|
"h"
|
|
@@ -3002,13 +3012,13 @@ var ce = {
|
|
|
3002
3012
|
"h"
|
|
3003
3013
|
]
|
|
3004
3014
|
};
|
|
3005
|
-
function
|
|
3015
|
+
function $n(e, t) {
|
|
3006
3016
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3007
3017
|
var i = e.charAt(n);
|
|
3008
3018
|
if (i === "j") {
|
|
3009
3019
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3010
3020
|
o++, n++;
|
|
3011
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
|
3021
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Cn(t);
|
|
3012
3022
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
3013
3023
|
r += h;
|
|
3014
3024
|
for (; s-- > 0; )
|
|
@@ -3018,7 +3028,7 @@ function Cn(e, t) {
|
|
|
3018
3028
|
}
|
|
3019
3029
|
return r;
|
|
3020
3030
|
}
|
|
3021
|
-
function
|
|
3031
|
+
function Cn(e) {
|
|
3022
3032
|
var t = e.hourCycle;
|
|
3023
3033
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3024
3034
|
e.hourCycles && // @ts-ignore
|
|
@@ -3037,23 +3047,23 @@ function $n(e) {
|
|
|
3037
3047
|
}
|
|
3038
3048
|
var r = e.language, n;
|
|
3039
3049
|
r !== "root" && (n = e.maximize().region);
|
|
3040
|
-
var i =
|
|
3050
|
+
var i = ue[n || ""] || ue[r || ""] || ue["".concat(r, "-001")] || ue["001"];
|
|
3041
3051
|
return i[0];
|
|
3042
3052
|
}
|
|
3043
|
-
var
|
|
3044
|
-
function
|
|
3053
|
+
var Oe, Rn = new RegExp("^".concat(Qt.source, "*")), Dn = new RegExp("".concat(Qt.source, "*$"));
|
|
3054
|
+
function g(e, t) {
|
|
3045
3055
|
return { start: e, end: t };
|
|
3046
3056
|
}
|
|
3047
3057
|
var Un = !!String.prototype.startsWith && "_a".startsWith("a", 1), Gn = !!String.fromCodePoint, Fn = !!Object.fromEntries, jn = !!String.prototype.codePointAt, kn = !!String.prototype.trimStart, Vn = !!String.prototype.trimEnd, Xn = !!Number.isSafeInteger, Wn = Xn ? Number.isSafeInteger : function(e) {
|
|
3048
3058
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3049
|
-
},
|
|
3059
|
+
}, Ve = !0;
|
|
3050
3060
|
try {
|
|
3051
|
-
var zn =
|
|
3052
|
-
|
|
3061
|
+
var zn = tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3062
|
+
Ve = ((Oe = zn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
|
|
3053
3063
|
} catch (e) {
|
|
3054
|
-
|
|
3064
|
+
Ve = !1;
|
|
3055
3065
|
}
|
|
3056
|
-
var
|
|
3066
|
+
var Et = Un ? (
|
|
3057
3067
|
// Native
|
|
3058
3068
|
function(t, r, n) {
|
|
3059
3069
|
return t.startsWith(r, n);
|
|
@@ -3063,7 +3073,7 @@ var _t = Un ? (
|
|
|
3063
3073
|
function(t, r, n) {
|
|
3064
3074
|
return t.slice(n, n + r.length) === r;
|
|
3065
3075
|
}
|
|
3066
|
-
),
|
|
3076
|
+
), Xe = Gn ? String.fromCodePoint : (
|
|
3067
3077
|
// IE11
|
|
3068
3078
|
function() {
|
|
3069
3079
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3075,7 +3085,7 @@ var _t = Un ? (
|
|
|
3075
3085
|
}
|
|
3076
3086
|
return n;
|
|
3077
3087
|
}
|
|
3078
|
-
),
|
|
3088
|
+
), _t = (
|
|
3079
3089
|
// native
|
|
3080
3090
|
Fn ? Object.fromEntries : (
|
|
3081
3091
|
// Ponyfill
|
|
@@ -3087,7 +3097,7 @@ var _t = Un ? (
|
|
|
3087
3097
|
return r;
|
|
3088
3098
|
}
|
|
3089
3099
|
)
|
|
3090
|
-
),
|
|
3100
|
+
), er = jn ? (
|
|
3091
3101
|
// Native
|
|
3092
3102
|
function(t, r) {
|
|
3093
3103
|
return t.codePointAt(r);
|
|
@@ -3122,27 +3132,27 @@ var _t = Un ? (
|
|
|
3122
3132
|
return t.replace(Dn, "");
|
|
3123
3133
|
}
|
|
3124
3134
|
);
|
|
3125
|
-
function
|
|
3135
|
+
function tr(e, t) {
|
|
3126
3136
|
return new RegExp(e, t);
|
|
3127
3137
|
}
|
|
3128
|
-
var
|
|
3129
|
-
if (
|
|
3130
|
-
var
|
|
3131
|
-
|
|
3138
|
+
var We;
|
|
3139
|
+
if (Ve) {
|
|
3140
|
+
var xt = tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3141
|
+
We = function(t, r) {
|
|
3132
3142
|
var n;
|
|
3133
|
-
|
|
3134
|
-
var i =
|
|
3143
|
+
xt.lastIndex = r;
|
|
3144
|
+
var i = xt.exec(t);
|
|
3135
3145
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3136
3146
|
};
|
|
3137
3147
|
} else
|
|
3138
|
-
|
|
3148
|
+
We = function(t, r) {
|
|
3139
3149
|
for (var n = []; ; ) {
|
|
3140
|
-
var i =
|
|
3141
|
-
if (i === void 0 ||
|
|
3150
|
+
var i = er(t, r);
|
|
3151
|
+
if (i === void 0 || rr(i) || Kn(i))
|
|
3142
3152
|
break;
|
|
3143
3153
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3144
3154
|
}
|
|
3145
|
-
return
|
|
3155
|
+
return Xe.apply(void 0, n);
|
|
3146
3156
|
};
|
|
3147
3157
|
var Qn = (
|
|
3148
3158
|
/** @class */
|
|
@@ -3168,14 +3178,14 @@ var Qn = (
|
|
|
3168
3178
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3169
3179
|
var a = this.clonePosition();
|
|
3170
3180
|
this.bump(), i.push({
|
|
3171
|
-
type:
|
|
3172
|
-
location:
|
|
3181
|
+
type: _.pound,
|
|
3182
|
+
location: g(a, this.clonePosition())
|
|
3173
3183
|
});
|
|
3174
3184
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3175
3185
|
if (n)
|
|
3176
3186
|
break;
|
|
3177
|
-
return this.error(b.UNMATCHED_CLOSING_TAG,
|
|
3178
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3187
|
+
return this.error(b.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
|
|
3188
|
+
} else if (o === 60 && !this.ignoreTag && ze(this.peek() || 0)) {
|
|
3179
3189
|
var s = this.parseTag(t, r);
|
|
3180
3190
|
if (s.err)
|
|
3181
3191
|
return s;
|
|
@@ -3196,9 +3206,9 @@ var Qn = (
|
|
|
3196
3206
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3197
3207
|
return {
|
|
3198
3208
|
val: {
|
|
3199
|
-
type:
|
|
3209
|
+
type: _.literal,
|
|
3200
3210
|
value: "<".concat(i, "/>"),
|
|
3201
|
-
location:
|
|
3211
|
+
location: g(n, this.clonePosition())
|
|
3202
3212
|
},
|
|
3203
3213
|
err: null
|
|
3204
3214
|
};
|
|
@@ -3208,22 +3218,22 @@ var Qn = (
|
|
|
3208
3218
|
return o;
|
|
3209
3219
|
var s = o.val, a = this.clonePosition();
|
|
3210
3220
|
if (this.bumpIf("</")) {
|
|
3211
|
-
if (this.isEOF() || !
|
|
3212
|
-
return this.error(b.INVALID_TAG,
|
|
3221
|
+
if (this.isEOF() || !ze(this.char()))
|
|
3222
|
+
return this.error(b.INVALID_TAG, g(a, this.clonePosition()));
|
|
3213
3223
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
3214
|
-
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG,
|
|
3224
|
+
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3215
3225
|
val: {
|
|
3216
|
-
type:
|
|
3226
|
+
type: _.tag,
|
|
3217
3227
|
value: i,
|
|
3218
3228
|
children: s,
|
|
3219
|
-
location:
|
|
3229
|
+
location: g(n, this.clonePosition())
|
|
3220
3230
|
},
|
|
3221
3231
|
err: null
|
|
3222
|
-
} : this.error(b.INVALID_TAG,
|
|
3232
|
+
} : this.error(b.INVALID_TAG, g(a, this.clonePosition())));
|
|
3223
3233
|
} else
|
|
3224
|
-
return this.error(b.UNCLOSED_TAG,
|
|
3234
|
+
return this.error(b.UNCLOSED_TAG, g(n, this.clonePosition()));
|
|
3225
3235
|
} else
|
|
3226
|
-
return this.error(b.INVALID_TAG,
|
|
3236
|
+
return this.error(b.INVALID_TAG, g(n, this.clonePosition()));
|
|
3227
3237
|
}, e.prototype.parseTagName = function() {
|
|
3228
3238
|
var t = this.offset();
|
|
3229
3239
|
for (this.bump(); !this.isEOF() && qn(this.char()); )
|
|
@@ -3248,9 +3258,9 @@ var Qn = (
|
|
|
3248
3258
|
}
|
|
3249
3259
|
break;
|
|
3250
3260
|
}
|
|
3251
|
-
var h =
|
|
3261
|
+
var h = g(n, this.clonePosition());
|
|
3252
3262
|
return {
|
|
3253
|
-
val: { type:
|
|
3263
|
+
val: { type: _.literal, value: i, location: h },
|
|
3254
3264
|
err: null
|
|
3255
3265
|
};
|
|
3256
3266
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
@@ -3289,49 +3299,49 @@ var Qn = (
|
|
|
3289
3299
|
r.push(n);
|
|
3290
3300
|
this.bump();
|
|
3291
3301
|
}
|
|
3292
|
-
return
|
|
3302
|
+
return Xe.apply(void 0, r);
|
|
3293
3303
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3294
3304
|
if (this.isEOF())
|
|
3295
3305
|
return null;
|
|
3296
3306
|
var n = this.char();
|
|
3297
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3307
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Xe(n));
|
|
3298
3308
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3299
3309
|
var n = this.clonePosition();
|
|
3300
3310
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3301
|
-
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3311
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
|
|
3302
3312
|
if (this.char() === 125)
|
|
3303
|
-
return this.bump(), this.error(b.EMPTY_ARGUMENT,
|
|
3313
|
+
return this.bump(), this.error(b.EMPTY_ARGUMENT, g(n, this.clonePosition()));
|
|
3304
3314
|
var i = this.parseIdentifierIfPossible().value;
|
|
3305
3315
|
if (!i)
|
|
3306
|
-
return this.error(b.MALFORMED_ARGUMENT,
|
|
3316
|
+
return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
|
3307
3317
|
if (this.bumpSpace(), this.isEOF())
|
|
3308
|
-
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3318
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
|
|
3309
3319
|
switch (this.char()) {
|
|
3310
3320
|
case 125:
|
|
3311
3321
|
return this.bump(), {
|
|
3312
3322
|
val: {
|
|
3313
|
-
type:
|
|
3323
|
+
type: _.argument,
|
|
3314
3324
|
// value does not include the opening and closing braces.
|
|
3315
3325
|
value: i,
|
|
3316
|
-
location:
|
|
3326
|
+
location: g(n, this.clonePosition())
|
|
3317
3327
|
},
|
|
3318
3328
|
err: null
|
|
3319
3329
|
};
|
|
3320
3330
|
case 44:
|
|
3321
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3331
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3322
3332
|
default:
|
|
3323
|
-
return this.error(b.MALFORMED_ARGUMENT,
|
|
3333
|
+
return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
|
3324
3334
|
}
|
|
3325
3335
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3326
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3336
|
+
var t = this.clonePosition(), r = this.offset(), n = We(this.message, r), i = r + n.length;
|
|
3327
3337
|
this.bumpTo(i);
|
|
3328
|
-
var o = this.clonePosition(), s =
|
|
3338
|
+
var o = this.clonePosition(), s = g(t, o);
|
|
3329
3339
|
return { value: n, location: s };
|
|
3330
3340
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3331
3341
|
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
3332
3342
|
switch (a) {
|
|
3333
3343
|
case "":
|
|
3334
|
-
return this.error(b.EXPECT_ARGUMENT_TYPE,
|
|
3344
|
+
return this.error(b.EXPECT_ARGUMENT_TYPE, g(s, h));
|
|
3335
3345
|
case "number":
|
|
3336
3346
|
case "date":
|
|
3337
3347
|
case "time": {
|
|
@@ -3344,42 +3354,42 @@ var Qn = (
|
|
|
3344
3354
|
return c;
|
|
3345
3355
|
var f = Yn(c.val);
|
|
3346
3356
|
if (f.length === 0)
|
|
3347
|
-
return this.error(b.EXPECT_ARGUMENT_STYLE,
|
|
3348
|
-
var p =
|
|
3357
|
+
return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
|
3358
|
+
var p = g(l, this.clonePosition());
|
|
3349
3359
|
u = { style: f, styleLocation: p };
|
|
3350
3360
|
}
|
|
3351
|
-
var
|
|
3352
|
-
if (
|
|
3353
|
-
return
|
|
3354
|
-
var m =
|
|
3355
|
-
if (u &&
|
|
3356
|
-
var
|
|
3361
|
+
var d = this.tryParseArgumentClose(i);
|
|
3362
|
+
if (d.err)
|
|
3363
|
+
return d;
|
|
3364
|
+
var m = g(i, this.clonePosition());
|
|
3365
|
+
if (u && Et(u == null ? void 0 : u.style, "::", 0)) {
|
|
3366
|
+
var H = Zn(u.style.slice(2));
|
|
3357
3367
|
if (a === "number") {
|
|
3358
|
-
var c = this.parseNumberSkeletonFromString(
|
|
3368
|
+
var c = this.parseNumberSkeletonFromString(H, u.styleLocation);
|
|
3359
3369
|
return c.err ? c : {
|
|
3360
|
-
val: { type:
|
|
3370
|
+
val: { type: _.number, value: n, location: m, style: c.val },
|
|
3361
3371
|
err: null
|
|
3362
3372
|
};
|
|
3363
3373
|
} else {
|
|
3364
|
-
if (
|
|
3374
|
+
if (H.length === 0)
|
|
3365
3375
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, m);
|
|
3366
|
-
var
|
|
3367
|
-
this.locale && (
|
|
3376
|
+
var y = H;
|
|
3377
|
+
this.locale && (y = $n(H, this.locale));
|
|
3368
3378
|
var f = {
|
|
3369
|
-
type:
|
|
3370
|
-
pattern:
|
|
3379
|
+
type: X.dateTime,
|
|
3380
|
+
pattern: y,
|
|
3371
3381
|
location: u.styleLocation,
|
|
3372
|
-
parsedOptions: this.shouldParseSkeletons ? An(
|
|
3373
|
-
},
|
|
3382
|
+
parsedOptions: this.shouldParseSkeletons ? An(y) : {}
|
|
3383
|
+
}, v = a === "date" ? _.date : _.time;
|
|
3374
3384
|
return {
|
|
3375
|
-
val: { type:
|
|
3385
|
+
val: { type: v, value: n, location: m, style: f },
|
|
3376
3386
|
err: null
|
|
3377
3387
|
};
|
|
3378
3388
|
}
|
|
3379
3389
|
}
|
|
3380
3390
|
return {
|
|
3381
3391
|
val: {
|
|
3382
|
-
type: a === "number" ?
|
|
3392
|
+
type: a === "number" ? _.number : a === "date" ? _.date : _.time,
|
|
3383
3393
|
value: n,
|
|
3384
3394
|
location: m,
|
|
3385
3395
|
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
@@ -3390,52 +3400,52 @@ var Qn = (
|
|
|
3390
3400
|
case "plural":
|
|
3391
3401
|
case "selectordinal":
|
|
3392
3402
|
case "select": {
|
|
3393
|
-
var
|
|
3403
|
+
var B = this.clonePosition();
|
|
3394
3404
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3395
|
-
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
|
3405
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(B, me({}, B)));
|
|
3396
3406
|
this.bumpSpace();
|
|
3397
|
-
var
|
|
3398
|
-
if (a !== "select" &&
|
|
3407
|
+
var S = this.parseIdentifierIfPossible(), T = 0;
|
|
3408
|
+
if (a !== "select" && S.value === "offset") {
|
|
3399
3409
|
if (!this.bumpIf(":"))
|
|
3400
|
-
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
|
3410
|
+
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
|
|
3401
3411
|
this.bumpSpace();
|
|
3402
3412
|
var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3403
3413
|
if (c.err)
|
|
3404
3414
|
return c;
|
|
3405
|
-
this.bumpSpace(),
|
|
3415
|
+
this.bumpSpace(), S = this.parseIdentifierIfPossible(), T = c.val;
|
|
3406
3416
|
}
|
|
3407
|
-
var
|
|
3408
|
-
if (
|
|
3409
|
-
return
|
|
3410
|
-
var
|
|
3411
|
-
if (
|
|
3412
|
-
return
|
|
3413
|
-
var
|
|
3417
|
+
var se = this.tryParsePluralOrSelectOptions(t, a, r, S);
|
|
3418
|
+
if (se.err)
|
|
3419
|
+
return se;
|
|
3420
|
+
var d = this.tryParseArgumentClose(i);
|
|
3421
|
+
if (d.err)
|
|
3422
|
+
return d;
|
|
3423
|
+
var tt = g(i, this.clonePosition());
|
|
3414
3424
|
return a === "select" ? {
|
|
3415
3425
|
val: {
|
|
3416
|
-
type:
|
|
3426
|
+
type: _.select,
|
|
3417
3427
|
value: n,
|
|
3418
|
-
options:
|
|
3419
|
-
location:
|
|
3428
|
+
options: _t(se.val),
|
|
3429
|
+
location: tt
|
|
3420
3430
|
},
|
|
3421
3431
|
err: null
|
|
3422
3432
|
} : {
|
|
3423
3433
|
val: {
|
|
3424
|
-
type:
|
|
3434
|
+
type: _.plural,
|
|
3425
3435
|
value: n,
|
|
3426
|
-
options:
|
|
3427
|
-
offset:
|
|
3436
|
+
options: _t(se.val),
|
|
3437
|
+
offset: T,
|
|
3428
3438
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3429
|
-
location:
|
|
3439
|
+
location: tt
|
|
3430
3440
|
},
|
|
3431
3441
|
err: null
|
|
3432
3442
|
};
|
|
3433
3443
|
}
|
|
3434
3444
|
default:
|
|
3435
|
-
return this.error(b.INVALID_ARGUMENT_TYPE,
|
|
3445
|
+
return this.error(b.INVALID_ARGUMENT_TYPE, g(s, h));
|
|
3436
3446
|
}
|
|
3437
3447
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3438
|
-
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3448
|
+
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3439
3449
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3440
3450
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3441
3451
|
var n = this.char();
|
|
@@ -3444,7 +3454,7 @@ var Qn = (
|
|
|
3444
3454
|
this.bump();
|
|
3445
3455
|
var i = this.clonePosition();
|
|
3446
3456
|
if (!this.bumpUntil("'"))
|
|
3447
|
-
return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
|
3457
|
+
return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
|
|
3448
3458
|
this.bump();
|
|
3449
3459
|
break;
|
|
3450
3460
|
}
|
|
@@ -3480,7 +3490,7 @@ var Qn = (
|
|
|
3480
3490
|
}
|
|
3481
3491
|
return {
|
|
3482
3492
|
val: {
|
|
3483
|
-
type:
|
|
3493
|
+
type: X.number,
|
|
3484
3494
|
tokens: n,
|
|
3485
3495
|
location: r,
|
|
3486
3496
|
parsedOptions: this.shouldParseSkeletons ? Ln(n) : {}
|
|
@@ -3495,7 +3505,7 @@ var Qn = (
|
|
|
3495
3505
|
var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3496
3506
|
if (f.err)
|
|
3497
3507
|
return f;
|
|
3498
|
-
l =
|
|
3508
|
+
l = g(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
|
|
3499
3509
|
} else
|
|
3500
3510
|
break;
|
|
3501
3511
|
}
|
|
@@ -3504,22 +3514,22 @@ var Qn = (
|
|
|
3504
3514
|
u === "other" && (s = !0), this.bumpSpace();
|
|
3505
3515
|
var p = this.clonePosition();
|
|
3506
3516
|
if (!this.bumpIf("{"))
|
|
3507
|
-
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
|
3508
|
-
var
|
|
3509
|
-
if (
|
|
3510
|
-
return
|
|
3517
|
+
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
|
|
3518
|
+
var d = this.parseMessage(t + 1, r, n);
|
|
3519
|
+
if (d.err)
|
|
3520
|
+
return d;
|
|
3511
3521
|
var m = this.tryParseArgumentClose(p);
|
|
3512
3522
|
if (m.err)
|
|
3513
3523
|
return m;
|
|
3514
3524
|
a.push([
|
|
3515
3525
|
u,
|
|
3516
3526
|
{
|
|
3517
|
-
value:
|
|
3518
|
-
location:
|
|
3527
|
+
value: d.val,
|
|
3528
|
+
location: g(p, this.clonePosition())
|
|
3519
3529
|
}
|
|
3520
3530
|
]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
3521
3531
|
}
|
|
3522
|
-
return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR,
|
|
3532
|
+
return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3523
3533
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3524
3534
|
var n = 1, i = this.clonePosition();
|
|
3525
3535
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3530,7 +3540,7 @@ var Qn = (
|
|
|
3530
3540
|
else
|
|
3531
3541
|
break;
|
|
3532
3542
|
}
|
|
3533
|
-
var h =
|
|
3543
|
+
var h = g(i, this.clonePosition());
|
|
3534
3544
|
return o ? (s *= n, Wn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3535
3545
|
}, e.prototype.offset = function() {
|
|
3536
3546
|
return this.position.offset;
|
|
@@ -3546,7 +3556,7 @@ var Qn = (
|
|
|
3546
3556
|
var t = this.position.offset;
|
|
3547
3557
|
if (t >= this.message.length)
|
|
3548
3558
|
throw Error("out of bound");
|
|
3549
|
-
var r =
|
|
3559
|
+
var r = er(this.message, t);
|
|
3550
3560
|
if (r === void 0)
|
|
3551
3561
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3552
3562
|
return r;
|
|
@@ -3565,7 +3575,7 @@ var Qn = (
|
|
|
3565
3575
|
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);
|
|
3566
3576
|
}
|
|
3567
3577
|
}, e.prototype.bumpIf = function(t) {
|
|
3568
|
-
if (
|
|
3578
|
+
if (Et(this.message, t, this.offset())) {
|
|
3569
3579
|
for (var r = 0; r < t.length; r++)
|
|
3570
3580
|
this.bump();
|
|
3571
3581
|
return !0;
|
|
@@ -3587,7 +3597,7 @@ var Qn = (
|
|
|
3587
3597
|
break;
|
|
3588
3598
|
}
|
|
3589
3599
|
}, e.prototype.bumpSpace = function() {
|
|
3590
|
-
for (; !this.isEOF() &&
|
|
3600
|
+
for (; !this.isEOF() && rr(this.char()); )
|
|
3591
3601
|
this.bump();
|
|
3592
3602
|
}, e.prototype.peek = function() {
|
|
3593
3603
|
if (this.isEOF())
|
|
@@ -3597,47 +3607,47 @@ var Qn = (
|
|
|
3597
3607
|
}, e;
|
|
3598
3608
|
}()
|
|
3599
3609
|
);
|
|
3600
|
-
function
|
|
3610
|
+
function ze(e) {
|
|
3601
3611
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3602
3612
|
}
|
|
3603
3613
|
function Jn(e) {
|
|
3604
|
-
return
|
|
3614
|
+
return ze(e) || e === 47;
|
|
3605
3615
|
}
|
|
3606
3616
|
function qn(e) {
|
|
3607
3617
|
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;
|
|
3608
3618
|
}
|
|
3609
|
-
function
|
|
3619
|
+
function rr(e) {
|
|
3610
3620
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3611
3621
|
}
|
|
3612
3622
|
function Kn(e) {
|
|
3613
3623
|
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;
|
|
3614
3624
|
}
|
|
3615
|
-
function
|
|
3625
|
+
function Ze(e) {
|
|
3616
3626
|
e.forEach(function(t) {
|
|
3617
|
-
if (delete t.location,
|
|
3627
|
+
if (delete t.location, Wt(t) || zt(t))
|
|
3618
3628
|
for (var r in t.options)
|
|
3619
|
-
delete t.options[r].location,
|
|
3629
|
+
delete t.options[r].location, Ze(t.options[r].value);
|
|
3620
3630
|
else
|
|
3621
|
-
|
|
3631
|
+
kt(t) && Yt(t.style) || (Vt(t) || Xt(t)) && ke(t.style) ? delete t.style.location : Zt(t) && Ze(t.children);
|
|
3622
3632
|
});
|
|
3623
3633
|
}
|
|
3624
3634
|
function ei(e, t) {
|
|
3625
|
-
t === void 0 && (t = {}), t =
|
|
3635
|
+
t === void 0 && (t = {}), t = me({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3626
3636
|
var r = new Qn(e, t).parse();
|
|
3627
3637
|
if (r.err) {
|
|
3628
3638
|
var n = SyntaxError(b[r.err.kind]);
|
|
3629
3639
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3630
3640
|
}
|
|
3631
|
-
return t != null && t.captureLocation ||
|
|
3641
|
+
return t != null && t.captureLocation || Ze(r.val), r.val;
|
|
3632
3642
|
}
|
|
3633
|
-
var
|
|
3643
|
+
var W;
|
|
3634
3644
|
(function(e) {
|
|
3635
3645
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3636
|
-
})(
|
|
3637
|
-
var
|
|
3646
|
+
})(W || (W = {}));
|
|
3647
|
+
var _e = (
|
|
3638
3648
|
/** @class */
|
|
3639
3649
|
function(e) {
|
|
3640
|
-
|
|
3650
|
+
Ee(t, e);
|
|
3641
3651
|
function t(r, n, i) {
|
|
3642
3652
|
var o = e.call(this, r) || this;
|
|
3643
3653
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3646,66 +3656,66 @@ var Be = (
|
|
|
3646
3656
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3647
3657
|
}, t;
|
|
3648
3658
|
}(Error)
|
|
3649
|
-
),
|
|
3659
|
+
), Bt = (
|
|
3650
3660
|
/** @class */
|
|
3651
3661
|
function(e) {
|
|
3652
|
-
|
|
3662
|
+
Ee(t, e);
|
|
3653
3663
|
function t(r, n, i, o) {
|
|
3654
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3664
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), W.INVALID_VALUE, o) || this;
|
|
3655
3665
|
}
|
|
3656
3666
|
return t;
|
|
3657
|
-
}(
|
|
3667
|
+
}(_e)
|
|
3658
3668
|
), ti = (
|
|
3659
3669
|
/** @class */
|
|
3660
3670
|
function(e) {
|
|
3661
|
-
|
|
3671
|
+
Ee(t, e);
|
|
3662
3672
|
function t(r, n, i) {
|
|
3663
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3673
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), W.INVALID_VALUE, i) || this;
|
|
3664
3674
|
}
|
|
3665
3675
|
return t;
|
|
3666
|
-
}(
|
|
3676
|
+
}(_e)
|
|
3667
3677
|
), ri = (
|
|
3668
3678
|
/** @class */
|
|
3669
3679
|
function(e) {
|
|
3670
|
-
|
|
3680
|
+
Ee(t, e);
|
|
3671
3681
|
function t(r, n) {
|
|
3672
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3682
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), W.MISSING_VALUE, n) || this;
|
|
3673
3683
|
}
|
|
3674
3684
|
return t;
|
|
3675
|
-
}(
|
|
3676
|
-
),
|
|
3685
|
+
}(_e)
|
|
3686
|
+
), A;
|
|
3677
3687
|
(function(e) {
|
|
3678
3688
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3679
|
-
})(
|
|
3689
|
+
})(A || (A = {}));
|
|
3680
3690
|
function ni(e) {
|
|
3681
3691
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3682
3692
|
var n = t[t.length - 1];
|
|
3683
|
-
return !n || n.type !==
|
|
3693
|
+
return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
|
|
3684
3694
|
}, []);
|
|
3685
3695
|
}
|
|
3686
3696
|
function ii(e) {
|
|
3687
3697
|
return typeof e == "function";
|
|
3688
3698
|
}
|
|
3689
|
-
function
|
|
3690
|
-
if (e.length === 1 &&
|
|
3699
|
+
function fe(e, t, r, n, i, o, s) {
|
|
3700
|
+
if (e.length === 1 && dt(e[0]))
|
|
3691
3701
|
return [
|
|
3692
3702
|
{
|
|
3693
|
-
type:
|
|
3703
|
+
type: A.literal,
|
|
3694
3704
|
value: e[0].value
|
|
3695
3705
|
}
|
|
3696
3706
|
];
|
|
3697
3707
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
|
3698
3708
|
var l = u[h];
|
|
3699
|
-
if (
|
|
3709
|
+
if (dt(l)) {
|
|
3700
3710
|
a.push({
|
|
3701
|
-
type:
|
|
3711
|
+
type: A.literal,
|
|
3702
3712
|
value: l.value
|
|
3703
3713
|
});
|
|
3704
3714
|
continue;
|
|
3705
3715
|
}
|
|
3706
3716
|
if (wn(l)) {
|
|
3707
3717
|
typeof o == "number" && a.push({
|
|
3708
|
-
type:
|
|
3718
|
+
type: A.literal,
|
|
3709
3719
|
value: r.getNumberFormat(t).format(o)
|
|
3710
3720
|
});
|
|
3711
3721
|
continue;
|
|
@@ -3716,85 +3726,85 @@ function me(e, t, r, n, i, o, s) {
|
|
|
3716
3726
|
var f = i[c];
|
|
3717
3727
|
if (Tn(l)) {
|
|
3718
3728
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3719
|
-
type: typeof f == "string" ?
|
|
3729
|
+
type: typeof f == "string" ? A.literal : A.object,
|
|
3720
3730
|
value: f
|
|
3721
3731
|
});
|
|
3722
3732
|
continue;
|
|
3723
3733
|
}
|
|
3724
|
-
if (
|
|
3725
|
-
var p = typeof l.style == "string" ? n.date[l.style] :
|
|
3734
|
+
if (Vt(l)) {
|
|
3735
|
+
var p = typeof l.style == "string" ? n.date[l.style] : ke(l.style) ? l.style.parsedOptions : void 0;
|
|
3726
3736
|
a.push({
|
|
3727
|
-
type:
|
|
3737
|
+
type: A.literal,
|
|
3728
3738
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3729
3739
|
});
|
|
3730
3740
|
continue;
|
|
3731
3741
|
}
|
|
3732
|
-
if (
|
|
3733
|
-
var p = typeof l.style == "string" ? n.time[l.style] :
|
|
3742
|
+
if (Xt(l)) {
|
|
3743
|
+
var p = typeof l.style == "string" ? n.time[l.style] : ke(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3734
3744
|
a.push({
|
|
3735
|
-
type:
|
|
3745
|
+
type: A.literal,
|
|
3736
3746
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3737
3747
|
});
|
|
3738
3748
|
continue;
|
|
3739
3749
|
}
|
|
3740
|
-
if (
|
|
3741
|
-
var p = typeof l.style == "string" ? n.number[l.style] :
|
|
3750
|
+
if (kt(l)) {
|
|
3751
|
+
var p = typeof l.style == "string" ? n.number[l.style] : Yt(l.style) ? l.style.parsedOptions : void 0;
|
|
3742
3752
|
p && p.scale && (f = f * (p.scale || 1)), a.push({
|
|
3743
|
-
type:
|
|
3753
|
+
type: A.literal,
|
|
3744
3754
|
value: r.getNumberFormat(t, p).format(f)
|
|
3745
3755
|
});
|
|
3746
3756
|
continue;
|
|
3747
3757
|
}
|
|
3748
|
-
if (
|
|
3749
|
-
var
|
|
3750
|
-
if (!ii(
|
|
3758
|
+
if (Zt(l)) {
|
|
3759
|
+
var d = l.children, m = l.value, H = i[m];
|
|
3760
|
+
if (!ii(H))
|
|
3751
3761
|
throw new ti(m, "function", s);
|
|
3752
|
-
var
|
|
3753
|
-
return
|
|
3762
|
+
var y = fe(d, t, r, n, i, o), v = H(y.map(function(T) {
|
|
3763
|
+
return T.value;
|
|
3754
3764
|
}));
|
|
3755
|
-
Array.isArray(
|
|
3765
|
+
Array.isArray(v) || (v = [v]), a.push.apply(a, v.map(function(T) {
|
|
3756
3766
|
return {
|
|
3757
|
-
type: typeof
|
|
3758
|
-
value:
|
|
3767
|
+
type: typeof T == "string" ? A.literal : A.object,
|
|
3768
|
+
value: T
|
|
3759
3769
|
};
|
|
3760
3770
|
}));
|
|
3761
3771
|
}
|
|
3762
|
-
if (
|
|
3763
|
-
var
|
|
3764
|
-
if (!
|
|
3765
|
-
throw new
|
|
3766
|
-
a.push.apply(a,
|
|
3772
|
+
if (Wt(l)) {
|
|
3773
|
+
var B = l.options[f] || l.options.other;
|
|
3774
|
+
if (!B)
|
|
3775
|
+
throw new Bt(l.value, f, Object.keys(l.options), s);
|
|
3776
|
+
a.push.apply(a, fe(B.value, t, r, n, i));
|
|
3767
3777
|
continue;
|
|
3768
3778
|
}
|
|
3769
|
-
if (
|
|
3770
|
-
var
|
|
3771
|
-
if (!
|
|
3779
|
+
if (zt(l)) {
|
|
3780
|
+
var B = l.options["=".concat(f)];
|
|
3781
|
+
if (!B) {
|
|
3772
3782
|
if (!Intl.PluralRules)
|
|
3773
|
-
throw new
|
|
3783
|
+
throw new _e(`Intl.PluralRules is not available in this environment.
|
|
3774
3784
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3775
|
-
`,
|
|
3776
|
-
var
|
|
3777
|
-
|
|
3785
|
+
`, W.MISSING_INTL_API, s);
|
|
3786
|
+
var S = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
|
|
3787
|
+
B = l.options[S] || l.options.other;
|
|
3778
3788
|
}
|
|
3779
|
-
if (!
|
|
3780
|
-
throw new
|
|
3781
|
-
a.push.apply(a,
|
|
3789
|
+
if (!B)
|
|
3790
|
+
throw new Bt(l.value, f, Object.keys(l.options), s);
|
|
3791
|
+
a.push.apply(a, fe(B.value, t, r, n, i, f - (l.offset || 0)));
|
|
3782
3792
|
continue;
|
|
3783
3793
|
}
|
|
3784
3794
|
}
|
|
3785
3795
|
return ni(a);
|
|
3786
3796
|
}
|
|
3787
3797
|
function oi(e, t) {
|
|
3788
|
-
return t ?
|
|
3789
|
-
return r[n] =
|
|
3798
|
+
return t ? M(M(M({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3799
|
+
return r[n] = M(M({}, e[n]), t[n] || {}), r;
|
|
3790
3800
|
}, {})) : e;
|
|
3791
3801
|
}
|
|
3792
3802
|
function si(e, t) {
|
|
3793
3803
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3794
3804
|
return r[n] = oi(e[n], t[n]), r;
|
|
3795
|
-
},
|
|
3805
|
+
}, M({}, e)) : e;
|
|
3796
3806
|
}
|
|
3797
|
-
function
|
|
3807
|
+
function Ie(e) {
|
|
3798
3808
|
return {
|
|
3799
3809
|
create: function() {
|
|
3800
3810
|
return {
|
|
@@ -3814,29 +3824,29 @@ function ai(e) {
|
|
|
3814
3824
|
dateTime: {},
|
|
3815
3825
|
pluralRules: {}
|
|
3816
3826
|
}), {
|
|
3817
|
-
getNumberFormat:
|
|
3827
|
+
getNumberFormat: Ae(function() {
|
|
3818
3828
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3819
3829
|
r[n] = arguments[n];
|
|
3820
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3830
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, He([void 0], r, !1)))();
|
|
3821
3831
|
}, {
|
|
3822
|
-
cache:
|
|
3823
|
-
strategy:
|
|
3832
|
+
cache: Ie(e.number),
|
|
3833
|
+
strategy: Pe.variadic
|
|
3824
3834
|
}),
|
|
3825
|
-
getDateTimeFormat:
|
|
3835
|
+
getDateTimeFormat: Ae(function() {
|
|
3826
3836
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3827
3837
|
r[n] = arguments[n];
|
|
3828
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3838
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, He([void 0], r, !1)))();
|
|
3829
3839
|
}, {
|
|
3830
|
-
cache:
|
|
3831
|
-
strategy:
|
|
3840
|
+
cache: Ie(e.dateTime),
|
|
3841
|
+
strategy: Pe.variadic
|
|
3832
3842
|
}),
|
|
3833
|
-
getPluralRules:
|
|
3843
|
+
getPluralRules: Ae(function() {
|
|
3834
3844
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3835
3845
|
r[n] = arguments[n];
|
|
3836
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3846
|
+
return new ((t = Intl.PluralRules).bind.apply(t, He([void 0], r, !1)))();
|
|
3837
3847
|
}, {
|
|
3838
|
-
cache:
|
|
3839
|
-
strategy:
|
|
3848
|
+
cache: Ie(e.pluralRules),
|
|
3849
|
+
strategy: Pe.variadic
|
|
3840
3850
|
})
|
|
3841
3851
|
};
|
|
3842
3852
|
}
|
|
@@ -3855,11 +3865,11 @@ var ui = (
|
|
|
3855
3865
|
if (u.length === 1)
|
|
3856
3866
|
return u[0].value;
|
|
3857
3867
|
var l = u.reduce(function(c, f) {
|
|
3858
|
-
return !c.length || f.type !==
|
|
3868
|
+
return !c.length || f.type !== A.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
|
3859
3869
|
}, []);
|
|
3860
3870
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3861
3871
|
}, this.formatToParts = function(h) {
|
|
3862
|
-
return
|
|
3872
|
+
return fe(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
|
|
3863
3873
|
}, this.resolvedOptions = function() {
|
|
3864
3874
|
var h;
|
|
3865
3875
|
return {
|
|
@@ -3873,7 +3883,7 @@ var ui = (
|
|
|
3873
3883
|
var s = i || {};
|
|
3874
3884
|
s.formatters;
|
|
3875
3885
|
var a = gn(s, ["formatters"]);
|
|
3876
|
-
this.ast = e.__parse(t,
|
|
3886
|
+
this.ast = e.__parse(t, M(M({}, a), { locale: this.resolvedLocale }));
|
|
3877
3887
|
} else
|
|
3878
3888
|
this.ast = t;
|
|
3879
3889
|
if (!Array.isArray(this.ast))
|
|
@@ -3973,28 +3983,28 @@ function hi(e, t) {
|
|
|
3973
3983
|
n = void 0;
|
|
3974
3984
|
return n;
|
|
3975
3985
|
}
|
|
3976
|
-
const
|
|
3986
|
+
const $ = {}, li = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), nr = (e, t) => {
|
|
3977
3987
|
if (t == null)
|
|
3978
3988
|
return;
|
|
3979
|
-
if (t in
|
|
3980
|
-
return
|
|
3981
|
-
const r =
|
|
3989
|
+
if (t in $ && e in $[t])
|
|
3990
|
+
return $[t][e];
|
|
3991
|
+
const r = xe(t);
|
|
3982
3992
|
for (let n = 0; n < r.length; n++) {
|
|
3983
3993
|
const i = r[n], o = fi(i, e);
|
|
3984
3994
|
if (o)
|
|
3985
3995
|
return li(e, t, o);
|
|
3986
3996
|
}
|
|
3987
3997
|
};
|
|
3988
|
-
let
|
|
3989
|
-
const
|
|
3998
|
+
let Ke;
|
|
3999
|
+
const oe = ve({});
|
|
3990
4000
|
function ci(e) {
|
|
3991
|
-
return
|
|
4001
|
+
return Ke[e] || null;
|
|
3992
4002
|
}
|
|
3993
|
-
function
|
|
3994
|
-
return e in
|
|
4003
|
+
function ir(e) {
|
|
4004
|
+
return e in Ke;
|
|
3995
4005
|
}
|
|
3996
4006
|
function fi(e, t) {
|
|
3997
|
-
if (!
|
|
4007
|
+
if (!ir(e))
|
|
3998
4008
|
return null;
|
|
3999
4009
|
const r = ci(e);
|
|
4000
4010
|
return hi(r, t);
|
|
@@ -4002,61 +4012,61 @@ function fi(e, t) {
|
|
|
4002
4012
|
function pi(e) {
|
|
4003
4013
|
if (e == null)
|
|
4004
4014
|
return;
|
|
4005
|
-
const t =
|
|
4015
|
+
const t = xe(e);
|
|
4006
4016
|
for (let r = 0; r < t.length; r++) {
|
|
4007
4017
|
const n = t[r];
|
|
4008
|
-
if (
|
|
4018
|
+
if (ir(n))
|
|
4009
4019
|
return n;
|
|
4010
4020
|
}
|
|
4011
4021
|
}
|
|
4012
|
-
function
|
|
4013
|
-
delete
|
|
4022
|
+
function or(e, ...t) {
|
|
4023
|
+
delete $[e], oe.update((r) => (r[e] = dn.all([r[e] || {}, ...t]), r));
|
|
4014
4024
|
}
|
|
4015
|
-
|
|
4016
|
-
[
|
|
4025
|
+
Z(
|
|
4026
|
+
[oe],
|
|
4017
4027
|
([e]) => Object.keys(e)
|
|
4018
4028
|
);
|
|
4019
|
-
|
|
4020
|
-
const
|
|
4029
|
+
oe.subscribe((e) => Ke = e);
|
|
4030
|
+
const pe = {};
|
|
4021
4031
|
function mi(e, t) {
|
|
4022
|
-
|
|
4032
|
+
pe[e].delete(t), pe[e].size === 0 && delete pe[e];
|
|
4023
4033
|
}
|
|
4024
|
-
function
|
|
4025
|
-
return
|
|
4034
|
+
function sr(e) {
|
|
4035
|
+
return pe[e];
|
|
4026
4036
|
}
|
|
4027
4037
|
function bi(e) {
|
|
4028
|
-
return
|
|
4029
|
-
const r =
|
|
4038
|
+
return xe(e).map((t) => {
|
|
4039
|
+
const r = sr(t);
|
|
4030
4040
|
return [t, r ? [...r] : []];
|
|
4031
4041
|
}).filter(([, t]) => t.length > 0);
|
|
4032
4042
|
}
|
|
4033
|
-
function
|
|
4034
|
-
return e == null ? !1 :
|
|
4043
|
+
function Ye(e) {
|
|
4044
|
+
return e == null ? !1 : xe(e).some(
|
|
4035
4045
|
(t) => {
|
|
4036
4046
|
var r;
|
|
4037
|
-
return (r =
|
|
4047
|
+
return (r = sr(t)) == null ? void 0 : r.size;
|
|
4038
4048
|
}
|
|
4039
4049
|
);
|
|
4040
4050
|
}
|
|
4041
4051
|
function di(e, t) {
|
|
4042
4052
|
return Promise.all(
|
|
4043
4053
|
t.map((n) => (mi(e, n), n().then((i) => i.default || i)))
|
|
4044
|
-
).then((n) =>
|
|
4054
|
+
).then((n) => or(e, ...n));
|
|
4045
4055
|
}
|
|
4046
|
-
const
|
|
4047
|
-
function
|
|
4048
|
-
if (!
|
|
4049
|
-
return e in
|
|
4056
|
+
const J = {};
|
|
4057
|
+
function ar(e) {
|
|
4058
|
+
if (!Ye(e))
|
|
4059
|
+
return e in J ? J[e] : Promise.resolve();
|
|
4050
4060
|
const t = bi(e);
|
|
4051
|
-
return
|
|
4061
|
+
return J[e] = Promise.all(
|
|
4052
4062
|
t.map(
|
|
4053
4063
|
([r, n]) => di(r, n)
|
|
4054
4064
|
)
|
|
4055
4065
|
).then(() => {
|
|
4056
|
-
if (
|
|
4057
|
-
return
|
|
4058
|
-
delete
|
|
4059
|
-
}),
|
|
4066
|
+
if (Ye(e))
|
|
4067
|
+
return ar(e);
|
|
4068
|
+
delete J[e];
|
|
4069
|
+
}), J[e];
|
|
4060
4070
|
}
|
|
4061
4071
|
const gi = {
|
|
4062
4072
|
number: {
|
|
@@ -4095,142 +4105,142 @@ const gi = {
|
|
|
4095
4105
|
handleMissingMessage: void 0,
|
|
4096
4106
|
ignoreTag: !0
|
|
4097
4107
|
}, vi = yi;
|
|
4098
|
-
function
|
|
4108
|
+
function z() {
|
|
4099
4109
|
return vi;
|
|
4100
4110
|
}
|
|
4101
|
-
const
|
|
4102
|
-
var Ei = Object.defineProperty, _i = Object.defineProperties, xi = Object.getOwnPropertyDescriptors,
|
|
4111
|
+
const Ne = ve(!1);
|
|
4112
|
+
var Ei = Object.defineProperty, _i = Object.defineProperties, xi = Object.getOwnPropertyDescriptors, St = Object.getOwnPropertySymbols, Bi = Object.prototype.hasOwnProperty, Si = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Ei(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ti = (e, t) => {
|
|
4103
4113
|
for (var r in t || (t = {}))
|
|
4104
|
-
Bi.call(t, r) &&
|
|
4105
|
-
if (
|
|
4106
|
-
for (var r of
|
|
4107
|
-
Si.call(t, r) &&
|
|
4114
|
+
Bi.call(t, r) && Tt(e, r, t[r]);
|
|
4115
|
+
if (St)
|
|
4116
|
+
for (var r of St(t))
|
|
4117
|
+
Si.call(t, r) && Tt(e, r, t[r]);
|
|
4108
4118
|
return e;
|
|
4109
4119
|
}, wi = (e, t) => _i(e, xi(t));
|
|
4110
|
-
let
|
|
4111
|
-
const
|
|
4112
|
-
function
|
|
4120
|
+
let Qe;
|
|
4121
|
+
const be = ve(null);
|
|
4122
|
+
function wt(e) {
|
|
4113
4123
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4114
4124
|
}
|
|
4115
|
-
function
|
|
4116
|
-
const r =
|
|
4117
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4125
|
+
function xe(e, t = z().fallbackLocale) {
|
|
4126
|
+
const r = wt(e);
|
|
4127
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...wt(t)])] : r;
|
|
4118
4128
|
}
|
|
4119
|
-
function
|
|
4120
|
-
return
|
|
4129
|
+
function D() {
|
|
4130
|
+
return Qe != null ? Qe : void 0;
|
|
4121
4131
|
}
|
|
4122
|
-
|
|
4123
|
-
|
|
4132
|
+
be.subscribe((e) => {
|
|
4133
|
+
Qe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4124
4134
|
});
|
|
4125
4135
|
const Hi = (e) => {
|
|
4126
|
-
if (e && pi(e) &&
|
|
4127
|
-
const { loadingDelay: t } =
|
|
4136
|
+
if (e && pi(e) && Ye(e)) {
|
|
4137
|
+
const { loadingDelay: t } = z();
|
|
4128
4138
|
let r;
|
|
4129
|
-
return typeof window != "undefined" &&
|
|
4130
|
-
() =>
|
|
4139
|
+
return typeof window != "undefined" && D() != null && t ? r = window.setTimeout(
|
|
4140
|
+
() => Ne.set(!0),
|
|
4131
4141
|
t
|
|
4132
|
-
) :
|
|
4133
|
-
|
|
4142
|
+
) : Ne.set(!0), ar(e).then(() => {
|
|
4143
|
+
be.set(e);
|
|
4134
4144
|
}).finally(() => {
|
|
4135
|
-
clearTimeout(r),
|
|
4145
|
+
clearTimeout(r), Ne.set(!1);
|
|
4136
4146
|
});
|
|
4137
4147
|
}
|
|
4138
|
-
return
|
|
4139
|
-
},
|
|
4148
|
+
return be.set(e);
|
|
4149
|
+
}, Y = wi(Ti({}, be), {
|
|
4140
4150
|
set: Hi
|
|
4141
|
-
}),
|
|
4151
|
+
}), Be = (e) => {
|
|
4142
4152
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4143
4153
|
return (n) => {
|
|
4144
4154
|
const i = JSON.stringify(n);
|
|
4145
4155
|
return i in t ? t[i] : t[i] = e(n);
|
|
4146
4156
|
};
|
|
4147
4157
|
};
|
|
4148
|
-
var Ai = Object.defineProperty,
|
|
4158
|
+
var Ai = Object.defineProperty, de = Object.getOwnPropertySymbols, ur = Object.prototype.hasOwnProperty, hr = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
|
|
4149
4159
|
for (var r in t || (t = {}))
|
|
4150
|
-
|
|
4151
|
-
if (
|
|
4152
|
-
for (var r of
|
|
4153
|
-
|
|
4160
|
+
ur.call(t, r) && Ht(e, r, t[r]);
|
|
4161
|
+
if (de)
|
|
4162
|
+
for (var r of de(t))
|
|
4163
|
+
hr.call(t, r) && Ht(e, r, t[r]);
|
|
4154
4164
|
return e;
|
|
4155
|
-
},
|
|
4165
|
+
}, Q = (e, t) => {
|
|
4156
4166
|
var r = {};
|
|
4157
4167
|
for (var n in e)
|
|
4158
|
-
|
|
4159
|
-
if (e != null &&
|
|
4160
|
-
for (var n of
|
|
4161
|
-
t.indexOf(n) < 0 &&
|
|
4168
|
+
ur.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4169
|
+
if (e != null && de)
|
|
4170
|
+
for (var n of de(e))
|
|
4171
|
+
t.indexOf(n) < 0 && hr.call(e, n) && (r[n] = e[n]);
|
|
4162
4172
|
return r;
|
|
4163
4173
|
};
|
|
4164
|
-
const
|
|
4165
|
-
const { formats: r } =
|
|
4174
|
+
const re = (e, t) => {
|
|
4175
|
+
const { formats: r } = z();
|
|
4166
4176
|
if (e in r && t in r[e])
|
|
4167
4177
|
return r[e][t];
|
|
4168
4178
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4169
|
-
}, Pi =
|
|
4179
|
+
}, Pi = Be(
|
|
4170
4180
|
(e) => {
|
|
4171
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4181
|
+
var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
|
|
4172
4182
|
if (r == null)
|
|
4173
4183
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4174
|
-
return n && (i =
|
|
4184
|
+
return n && (i = re("number", n)), new Intl.NumberFormat(r, i);
|
|
4175
4185
|
}
|
|
4176
|
-
), Oi =
|
|
4186
|
+
), Oi = Be(
|
|
4177
4187
|
(e) => {
|
|
4178
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4188
|
+
var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
|
|
4179
4189
|
if (r == null)
|
|
4180
4190
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4181
|
-
return n ? i =
|
|
4191
|
+
return n ? i = re("date", n) : Object.keys(i).length === 0 && (i = re("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4182
4192
|
}
|
|
4183
|
-
), Ii =
|
|
4193
|
+
), Ii = Be(
|
|
4184
4194
|
(e) => {
|
|
4185
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4195
|
+
var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
|
|
4186
4196
|
if (r == null)
|
|
4187
4197
|
throw new Error(
|
|
4188
4198
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4189
4199
|
);
|
|
4190
|
-
return n ? i =
|
|
4200
|
+
return n ? i = re("time", n) : Object.keys(i).length === 0 && (i = re("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4191
4201
|
}
|
|
4192
4202
|
), Ni = (e = {}) => {
|
|
4193
4203
|
var t = e, {
|
|
4194
|
-
locale: r =
|
|
4195
|
-
} = t, n =
|
|
4204
|
+
locale: r = D()
|
|
4205
|
+
} = t, n = Q(t, [
|
|
4196
4206
|
"locale"
|
|
4197
4207
|
]);
|
|
4198
|
-
return Pi(
|
|
4208
|
+
return Pi(et({ locale: r }, n));
|
|
4199
4209
|
}, Mi = (e = {}) => {
|
|
4200
4210
|
var t = e, {
|
|
4201
|
-
locale: r =
|
|
4202
|
-
} = t, n =
|
|
4211
|
+
locale: r = D()
|
|
4212
|
+
} = t, n = Q(t, [
|
|
4203
4213
|
"locale"
|
|
4204
4214
|
]);
|
|
4205
|
-
return Oi(
|
|
4215
|
+
return Oi(et({ locale: r }, n));
|
|
4206
4216
|
}, Li = (e = {}) => {
|
|
4207
4217
|
var t = e, {
|
|
4208
|
-
locale: r =
|
|
4209
|
-
} = t, n =
|
|
4218
|
+
locale: r = D()
|
|
4219
|
+
} = t, n = Q(t, [
|
|
4210
4220
|
"locale"
|
|
4211
4221
|
]);
|
|
4212
|
-
return Ii(
|
|
4213
|
-
},
|
|
4222
|
+
return Ii(et({ locale: r }, n));
|
|
4223
|
+
}, $i = Be(
|
|
4214
4224
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4215
|
-
(e, t =
|
|
4216
|
-
ignoreTag:
|
|
4225
|
+
(e, t = D()) => new ui(e, t, z().formats, {
|
|
4226
|
+
ignoreTag: z().ignoreTag
|
|
4217
4227
|
})
|
|
4218
|
-
),
|
|
4228
|
+
), Ci = (e, t = {}) => {
|
|
4219
4229
|
var r, n, i, o;
|
|
4220
4230
|
let s = t;
|
|
4221
4231
|
typeof e == "object" && (s = e, e = s.id);
|
|
4222
4232
|
const {
|
|
4223
4233
|
values: a,
|
|
4224
|
-
locale: h =
|
|
4234
|
+
locale: h = D(),
|
|
4225
4235
|
default: u
|
|
4226
4236
|
} = s;
|
|
4227
4237
|
if (h == null)
|
|
4228
4238
|
throw new Error(
|
|
4229
4239
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4230
4240
|
);
|
|
4231
|
-
let l =
|
|
4241
|
+
let l = nr(e, h);
|
|
4232
4242
|
if (!l)
|
|
4233
|
-
l = (o = (i = (n = (r =
|
|
4243
|
+
l = (o = (i = (n = (r = z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4234
4244
|
else if (typeof l != "string")
|
|
4235
4245
|
return console.warn(
|
|
4236
4246
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4239,7 +4249,7 @@ const se = (e, t) => {
|
|
|
4239
4249
|
return l;
|
|
4240
4250
|
let c = l;
|
|
4241
4251
|
try {
|
|
4242
|
-
c =
|
|
4252
|
+
c = $i(l, h).format(a);
|
|
4243
4253
|
} catch (f) {
|
|
4244
4254
|
f instanceof Error && console.warn(
|
|
4245
4255
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4247,21 +4257,21 @@ const se = (e, t) => {
|
|
|
4247
4257
|
);
|
|
4248
4258
|
}
|
|
4249
4259
|
return c;
|
|
4250
|
-
}, Ri = (e, t) => Li(t).format(e), Di = (e, t) => Mi(t).format(e), Ui = (e, t) => Ni(t).format(e), Gi = (e, t =
|
|
4251
|
-
|
|
4252
|
-
|
|
4253
|
-
|
|
4254
|
-
|
|
4260
|
+
}, Ri = (e, t) => Li(t).format(e), Di = (e, t) => Mi(t).format(e), Ui = (e, t) => Ni(t).format(e), Gi = (e, t = D()) => nr(e, t), Fi = Z([Y, oe], () => Ci);
|
|
4261
|
+
Z([Y], () => Ri);
|
|
4262
|
+
Z([Y], () => Di);
|
|
4263
|
+
Z([Y], () => Ui);
|
|
4264
|
+
Z([Y, oe], () => Gi);
|
|
4255
4265
|
window.emWidgets = { topic: qr };
|
|
4256
4266
|
const ji = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4257
4267
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
4258
|
-
function
|
|
4259
|
-
|
|
4268
|
+
function At(e, t) {
|
|
4269
|
+
or(e, t);
|
|
4260
4270
|
}
|
|
4261
4271
|
function ki(e) {
|
|
4262
|
-
|
|
4272
|
+
Y.set(e);
|
|
4263
4273
|
}
|
|
4264
|
-
const
|
|
4274
|
+
const Pt = {
|
|
4265
4275
|
en: {
|
|
4266
4276
|
titleBiometrics: "Biometrics Authentication",
|
|
4267
4277
|
descriptionParagraph1: "Use biometric login with your fingerprint or face for faster and easier access to your account.",
|
|
@@ -4365,223 +4375,287 @@ function Wi(e, t, r) {
|
|
|
4365
4375
|
});
|
|
4366
4376
|
}
|
|
4367
4377
|
}
|
|
4378
|
+
if (typeof window != "undefined") {
|
|
4379
|
+
let e = function(t) {
|
|
4380
|
+
return function(...r) {
|
|
4381
|
+
try {
|
|
4382
|
+
return t.apply(this, r);
|
|
4383
|
+
} catch (n) {
|
|
4384
|
+
if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
|
|
4385
|
+
return !1;
|
|
4386
|
+
throw n;
|
|
4387
|
+
}
|
|
4388
|
+
};
|
|
4389
|
+
};
|
|
4390
|
+
customElements.define = e(customElements.define), import("./PlayerAccountBiometricsAction-CWv5Ug_B.js").then(({ default: t }) => {
|
|
4391
|
+
!customElements.get("player-account-biometrics-action") && customElements.define("player-account-biometrics-action", t.element);
|
|
4392
|
+
});
|
|
4393
|
+
}
|
|
4368
4394
|
function zi(e) {
|
|
4369
|
-
|
|
4395
|
+
yr(e, "svelte-1fepl4m", ".BiometricsWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));padding:50px;max-width:760px}.BiometricsWrapper.BiometricsWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:20px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BiometricsTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.BiometricsTitleMobile{font-size:16px}.BiometricsTitleNone{display:none}.BiometricsDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.BiometricsDescription.BiometricsDescriptionMobile{font-size:12px;line-height:18px}.BiometricsActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.BiometricsActionButtons.BiometricsActionButtonsMobile{width:100%;grid-template-columns:1fr}.BiometricsActionButtons.BiometricsActionButtonsMobile .BiometricsToggle{height:40px;font-size:12px}");
|
|
4370
4396
|
}
|
|
4371
4397
|
function Zi(e) {
|
|
4372
4398
|
let t, r, n, i, o, s, a, h, u, l, c = (
|
|
4373
4399
|
/*$_*/
|
|
4374
|
-
e[
|
|
4375
|
-
), f, p,
|
|
4400
|
+
e[6]("titleBiometrics") + ""
|
|
4401
|
+
), f, p, d;
|
|
4376
4402
|
return {
|
|
4377
4403
|
c() {
|
|
4378
|
-
t =
|
|
4404
|
+
t = O("div"), r = U("svg"), n = U("defs"), i = U("style"), o = R(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), s = U("g"), a = U("g"), h = U("path"), u = q(), l = O("h2"), f = R(c), w(h, "class", "aaa"), w(h, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), w(h, "transform", "translate(15 15) rotate(180)"), w(a, "transform", "translate(20 158)"), w(s, "transform", "translate(-20 -158)"), w(r, "xmlns", "http://www.w3.org/2000/svg"), w(r, "width", "15"), w(r, "height", "15"), w(r, "viewBox", "0 0 15 15"), w(l, "class", "BiometricsTitleMobile"), w(l, "part", "BiometricsTitleMobile"), w(t, "class", "MenuReturnButton"), w(t, "part", "MenuReturnButton");
|
|
4379
4405
|
},
|
|
4380
|
-
m(m,
|
|
4381
|
-
|
|
4406
|
+
m(m, H) {
|
|
4407
|
+
qe(m, t, H), E(t, r), E(r, n), E(n, i), E(i, o), E(r, s), E(s, a), E(a, h), E(t, u), E(t, l), E(l, f), p || (d = _r(
|
|
4382
4408
|
t,
|
|
4383
4409
|
"click",
|
|
4384
4410
|
/*click_handler*/
|
|
4385
|
-
e[
|
|
4411
|
+
e[9]
|
|
4386
4412
|
), p = !0);
|
|
4387
4413
|
},
|
|
4388
|
-
p(m,
|
|
4389
|
-
|
|
4390
|
-
|
|
4391
|
-
m[
|
|
4414
|
+
p(m, H) {
|
|
4415
|
+
H & /*$_*/
|
|
4416
|
+
64 && c !== (c = /*$_*/
|
|
4417
|
+
m[6]("titleBiometrics") + "") && he(f, c);
|
|
4392
4418
|
},
|
|
4393
4419
|
d(m) {
|
|
4394
|
-
m &&
|
|
4420
|
+
m && ge(t), p = !1, d();
|
|
4395
4421
|
}
|
|
4396
4422
|
};
|
|
4397
4423
|
}
|
|
4398
4424
|
function Yi(e) {
|
|
4399
4425
|
let t, r, n, i, o = (
|
|
4400
4426
|
/*$_*/
|
|
4401
|
-
e[
|
|
4427
|
+
e[6]("titleBiometrics") + ""
|
|
4402
4428
|
), s, a, h, u, l = (
|
|
4403
4429
|
/*$_*/
|
|
4404
|
-
e[
|
|
4405
|
-
), c, f, p,
|
|
4430
|
+
e[6]("descriptionParagraph1") + ""
|
|
4431
|
+
), c, f, p, d = (
|
|
4406
4432
|
/*$_*/
|
|
4407
|
-
e[
|
|
4408
|
-
), m,
|
|
4409
|
-
/*biometricsenabled*/
|
|
4410
|
-
(e[0] === "true" ? (
|
|
4411
|
-
/*$_*/
|
|
4412
|
-
e[2]("btnDisableBiometrics")
|
|
4413
|
-
) : (
|
|
4414
|
-
/*$_*/
|
|
4415
|
-
e[2]("btnEnableBiometrics")
|
|
4416
|
-
)) + ""
|
|
4417
|
-
), y, S, M, L = (
|
|
4433
|
+
e[6]("descriptionParagraph2") + ""
|
|
4434
|
+
), m, H, y, v, B = (
|
|
4418
4435
|
/*isMobile*/
|
|
4419
|
-
e[
|
|
4436
|
+
e[7] && Zi(e)
|
|
4420
4437
|
);
|
|
4421
4438
|
return {
|
|
4422
4439
|
c() {
|
|
4423
|
-
t =
|
|
4424
|
-
(e[
|
|
4425
|
-
(e[
|
|
4426
|
-
|
|
4427
|
-
|
|
4440
|
+
t = O("div"), r = O("div"), B && B.c(), n = q(), i = O("h2"), s = R(o), a = q(), h = O("div"), u = O("p"), c = R(l), f = q(), p = O("p"), m = R(d), H = q(), y = O("div"), v = O("player-account-biometrics-action"), w(i, "class", "BiometricsTitle " + /*isMobile*/
|
|
4441
|
+
(e[7] ? "BiometricsTitleNone" : "")), w(h, "class", "BiometricsDescription " + /*isMobile*/
|
|
4442
|
+
(e[7] ? "BiometricsDescriptionMobile" : "")), N(
|
|
4443
|
+
v,
|
|
4444
|
+
"lang",
|
|
4445
|
+
/*lang*/
|
|
4446
|
+
e[0]
|
|
4447
|
+
), N(
|
|
4448
|
+
v,
|
|
4449
|
+
"translationurl",
|
|
4450
|
+
/*translationurl*/
|
|
4451
|
+
e[4]
|
|
4452
|
+
), N(
|
|
4453
|
+
v,
|
|
4454
|
+
"clientstyling",
|
|
4455
|
+
/*clientstyling*/
|
|
4456
|
+
e[1]
|
|
4457
|
+
), N(
|
|
4458
|
+
v,
|
|
4459
|
+
"clientstylingurl",
|
|
4460
|
+
/*clientstylingurl*/
|
|
4461
|
+
e[2]
|
|
4462
|
+
), N(
|
|
4463
|
+
v,
|
|
4464
|
+
"mbsource",
|
|
4465
|
+
/*mbsource*/
|
|
4466
|
+
e[3]
|
|
4467
|
+
), w(y, "class", "BiometricsActionButtons " + /*isMobile*/
|
|
4468
|
+
(e[7] ? "BiometricsActionButtonsMobile" : "")), w(r, "class", "BiometricsWrapper " + /*isMobile*/
|
|
4469
|
+
(e[7] ? "BiometricsWrapperMobile" : ""));
|
|
4428
4470
|
},
|
|
4429
|
-
m(
|
|
4430
|
-
|
|
4431
|
-
H,
|
|
4432
|
-
"click",
|
|
4433
|
-
/*click_handler_1*/
|
|
4434
|
-
e[12]
|
|
4435
|
-
), S = !0);
|
|
4471
|
+
m(S, T) {
|
|
4472
|
+
qe(S, t, T), E(t, r), B && B.m(r, null), E(r, n), E(r, i), E(i, s), E(r, a), E(r, h), E(h, u), E(u, c), E(h, f), E(h, p), E(p, m), E(r, H), E(r, y), E(y, v), e[10](t);
|
|
4436
4473
|
},
|
|
4437
|
-
p(
|
|
4474
|
+
p(S, [T]) {
|
|
4438
4475
|
/*isMobile*/
|
|
4439
|
-
|
|
4440
|
-
|
|
4441
|
-
|
|
4442
|
-
|
|
4443
|
-
|
|
4444
|
-
|
|
4445
|
-
|
|
4446
|
-
|
|
4447
|
-
|
|
4448
|
-
|
|
4449
|
-
|
|
4450
|
-
|
|
4451
|
-
|
|
4452
|
-
|
|
4453
|
-
|
|
4476
|
+
S[7] && B.p(S, T), T & /*$_*/
|
|
4477
|
+
64 && o !== (o = /*$_*/
|
|
4478
|
+
S[6]("titleBiometrics") + "") && he(s, o), T & /*$_*/
|
|
4479
|
+
64 && l !== (l = /*$_*/
|
|
4480
|
+
S[6]("descriptionParagraph1") + "") && he(c, l), T & /*$_*/
|
|
4481
|
+
64 && d !== (d = /*$_*/
|
|
4482
|
+
S[6]("descriptionParagraph2") + "") && he(m, d), T & /*lang*/
|
|
4483
|
+
1 && N(
|
|
4484
|
+
v,
|
|
4485
|
+
"lang",
|
|
4486
|
+
/*lang*/
|
|
4487
|
+
S[0]
|
|
4488
|
+
), T & /*translationurl*/
|
|
4489
|
+
16 && N(
|
|
4490
|
+
v,
|
|
4491
|
+
"translationurl",
|
|
4492
|
+
/*translationurl*/
|
|
4493
|
+
S[4]
|
|
4494
|
+
), T & /*clientstyling*/
|
|
4495
|
+
2 && N(
|
|
4496
|
+
v,
|
|
4497
|
+
"clientstyling",
|
|
4498
|
+
/*clientstyling*/
|
|
4499
|
+
S[1]
|
|
4500
|
+
), T & /*clientstylingurl*/
|
|
4501
|
+
4 && N(
|
|
4502
|
+
v,
|
|
4503
|
+
"clientstylingurl",
|
|
4504
|
+
/*clientstylingurl*/
|
|
4505
|
+
S[2]
|
|
4506
|
+
), T & /*mbsource*/
|
|
4507
|
+
8 && N(
|
|
4508
|
+
v,
|
|
4509
|
+
"mbsource",
|
|
4510
|
+
/*mbsource*/
|
|
4511
|
+
S[3]
|
|
4512
|
+
);
|
|
4454
4513
|
},
|
|
4455
|
-
i:
|
|
4456
|
-
o:
|
|
4457
|
-
d(
|
|
4458
|
-
|
|
4514
|
+
i: I,
|
|
4515
|
+
o: I,
|
|
4516
|
+
d(S) {
|
|
4517
|
+
S && ge(t), B && B.d(), e[10](null);
|
|
4459
4518
|
}
|
|
4460
4519
|
};
|
|
4461
4520
|
}
|
|
4462
4521
|
function Qi(e, t, r) {
|
|
4463
4522
|
let n;
|
|
4464
|
-
|
|
4465
|
-
let {
|
|
4466
|
-
const
|
|
4467
|
-
fetch(
|
|
4468
|
-
Object.keys(
|
|
4469
|
-
|
|
4523
|
+
gr(e, Fi, (y) => r(6, n = y));
|
|
4524
|
+
let { lang: i = "en" } = t, { clientstyling: o = "" } = t, { clientstylingurl: s = "" } = t, { mbsource: a } = t, { translationurl: h = "" } = t, u, l = window.navigator.userAgent, c = ji(l) !== "PC";
|
|
4525
|
+
const f = () => {
|
|
4526
|
+
fetch(h).then((v) => v.json()).then((v) => {
|
|
4527
|
+
Object.keys(v).forEach((B) => {
|
|
4528
|
+
At(B, v[B]);
|
|
4470
4529
|
});
|
|
4471
|
-
}).catch((
|
|
4472
|
-
console.log(
|
|
4530
|
+
}).catch((v) => {
|
|
4531
|
+
console.log(v);
|
|
4473
4532
|
});
|
|
4474
4533
|
};
|
|
4475
|
-
Object.keys(
|
|
4476
|
-
|
|
4534
|
+
Object.keys(Pt).forEach((y) => {
|
|
4535
|
+
At(y, Pt[y]);
|
|
4477
4536
|
});
|
|
4478
|
-
const
|
|
4479
|
-
ki(
|
|
4480
|
-
},
|
|
4537
|
+
const p = () => {
|
|
4538
|
+
ki(i);
|
|
4539
|
+
}, d = () => {
|
|
4481
4540
|
window.postMessage(
|
|
4482
4541
|
{
|
|
4483
4542
|
type: "PlayerAccountMenuActive",
|
|
4484
|
-
isMobile:
|
|
4543
|
+
isMobile: c
|
|
4485
4544
|
},
|
|
4486
4545
|
window.location.href
|
|
4487
4546
|
);
|
|
4488
|
-
}, x = () => {
|
|
4489
|
-
i === "true" ? r(0, i = "false") : i === "false" && r(0, i = "true"), window.postMessage({
|
|
4490
|
-
type: "ToggleBiometrics",
|
|
4491
|
-
data: i
|
|
4492
|
-
});
|
|
4493
4547
|
};
|
|
4494
4548
|
Tr(() => () => {
|
|
4495
4549
|
});
|
|
4496
|
-
const
|
|
4497
|
-
function
|
|
4498
|
-
|
|
4499
|
-
|
|
4550
|
+
const m = () => d();
|
|
4551
|
+
function H(y) {
|
|
4552
|
+
Me[y ? "unshift" : "push"](() => {
|
|
4553
|
+
u = y, r(5, u);
|
|
4500
4554
|
});
|
|
4501
4555
|
}
|
|
4502
4556
|
return e.$$set = (y) => {
|
|
4503
|
-
"
|
|
4557
|
+
"lang" in y && r(0, i = y.lang), "clientstyling" in y && r(1, o = y.clientstyling), "clientstylingurl" in y && r(2, s = y.clientstylingurl), "mbsource" in y && r(3, a = y.mbsource), "translationurl" in y && r(4, h = y.translationurl);
|
|
4504
4558
|
}, e.$$.update = () => {
|
|
4505
4559
|
e.$$.dirty & /*lang*/
|
|
4506
|
-
|
|
4507
|
-
|
|
4508
|
-
|
|
4509
|
-
|
|
4510
|
-
|
|
4560
|
+
1 && i && p(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4561
|
+
34 && o && u && Vi(u, o), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4562
|
+
36 && s && u && Xi(u, s), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4563
|
+
40 && a && u && Wi(u, `${a}.Style`), e.$$.dirty & /*translationurl*/
|
|
4564
|
+
16 && h && f();
|
|
4511
4565
|
}, [
|
|
4512
4566
|
i,
|
|
4513
|
-
l,
|
|
4514
|
-
n,
|
|
4515
|
-
f,
|
|
4516
|
-
m,
|
|
4517
|
-
x,
|
|
4518
4567
|
o,
|
|
4519
4568
|
s,
|
|
4520
4569
|
a,
|
|
4521
4570
|
h,
|
|
4522
4571
|
u,
|
|
4523
|
-
|
|
4524
|
-
|
|
4525
|
-
|
|
4572
|
+
n,
|
|
4573
|
+
c,
|
|
4574
|
+
d,
|
|
4575
|
+
m,
|
|
4576
|
+
H
|
|
4526
4577
|
];
|
|
4527
4578
|
}
|
|
4528
|
-
class
|
|
4579
|
+
class lr extends Rr {
|
|
4529
4580
|
constructor(t) {
|
|
4530
|
-
super(),
|
|
4581
|
+
super(), $r(
|
|
4531
4582
|
this,
|
|
4532
4583
|
t,
|
|
4533
4584
|
Qi,
|
|
4534
4585
|
Yi,
|
|
4535
|
-
|
|
4586
|
+
It,
|
|
4536
4587
|
{
|
|
4537
|
-
|
|
4538
|
-
|
|
4539
|
-
|
|
4540
|
-
|
|
4541
|
-
|
|
4542
|
-
translationurl: 10
|
|
4588
|
+
lang: 0,
|
|
4589
|
+
clientstyling: 1,
|
|
4590
|
+
clientstylingurl: 2,
|
|
4591
|
+
mbsource: 3,
|
|
4592
|
+
translationurl: 4
|
|
4543
4593
|
},
|
|
4544
4594
|
zi
|
|
4545
4595
|
);
|
|
4546
4596
|
}
|
|
4547
|
-
get biometricsenabled() {
|
|
4548
|
-
return this.$$.ctx[0];
|
|
4549
|
-
}
|
|
4550
|
-
set biometricsenabled(t) {
|
|
4551
|
-
this.$$set({ biometricsenabled: t }), R();
|
|
4552
|
-
}
|
|
4553
4597
|
get lang() {
|
|
4554
|
-
return this.$$.ctx[
|
|
4598
|
+
return this.$$.ctx[0];
|
|
4555
4599
|
}
|
|
4556
4600
|
set lang(t) {
|
|
4557
|
-
this.$$set({ lang: t }),
|
|
4601
|
+
this.$$set({ lang: t }), C();
|
|
4558
4602
|
}
|
|
4559
4603
|
get clientstyling() {
|
|
4560
|
-
return this.$$.ctx[
|
|
4604
|
+
return this.$$.ctx[1];
|
|
4561
4605
|
}
|
|
4562
4606
|
set clientstyling(t) {
|
|
4563
|
-
this.$$set({ clientstyling: t }),
|
|
4607
|
+
this.$$set({ clientstyling: t }), C();
|
|
4564
4608
|
}
|
|
4565
4609
|
get clientstylingurl() {
|
|
4566
|
-
return this.$$.ctx[
|
|
4610
|
+
return this.$$.ctx[2];
|
|
4567
4611
|
}
|
|
4568
4612
|
set clientstylingurl(t) {
|
|
4569
|
-
this.$$set({ clientstylingurl: t }),
|
|
4613
|
+
this.$$set({ clientstylingurl: t }), C();
|
|
4570
4614
|
}
|
|
4571
4615
|
get mbsource() {
|
|
4572
|
-
return this.$$.ctx[
|
|
4616
|
+
return this.$$.ctx[3];
|
|
4573
4617
|
}
|
|
4574
4618
|
set mbsource(t) {
|
|
4575
|
-
this.$$set({ mbsource: t }),
|
|
4619
|
+
this.$$set({ mbsource: t }), C();
|
|
4576
4620
|
}
|
|
4577
4621
|
get translationurl() {
|
|
4578
|
-
return this.$$.ctx[
|
|
4622
|
+
return this.$$.ctx[4];
|
|
4579
4623
|
}
|
|
4580
4624
|
set translationurl(t) {
|
|
4581
|
-
this.$$set({ translationurl: t }),
|
|
4625
|
+
this.$$set({ translationurl: t }), C();
|
|
4582
4626
|
}
|
|
4583
4627
|
}
|
|
4584
|
-
|
|
4628
|
+
Cr(lr, { lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
|
|
4629
|
+
const eo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4630
|
+
__proto__: null,
|
|
4631
|
+
default: lr
|
|
4632
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
4585
4633
|
export {
|
|
4586
|
-
|
|
4634
|
+
Y as $,
|
|
4635
|
+
eo as P,
|
|
4636
|
+
Rr as S,
|
|
4637
|
+
or as a,
|
|
4638
|
+
yr as b,
|
|
4639
|
+
qe as c,
|
|
4640
|
+
ge as d,
|
|
4641
|
+
qi as e,
|
|
4642
|
+
C as f,
|
|
4643
|
+
gr as g,
|
|
4644
|
+
O as h,
|
|
4645
|
+
$r as i,
|
|
4646
|
+
Me as j,
|
|
4647
|
+
he as k,
|
|
4648
|
+
E as l,
|
|
4649
|
+
_r as m,
|
|
4650
|
+
I as n,
|
|
4651
|
+
Tr as o,
|
|
4652
|
+
w as p,
|
|
4653
|
+
Ki as q,
|
|
4654
|
+
Vi as r,
|
|
4655
|
+
It as s,
|
|
4656
|
+
R as t,
|
|
4657
|
+
Xi as u,
|
|
4658
|
+
Wi as v,
|
|
4659
|
+
Cr as w,
|
|
4660
|
+
Fi as x
|
|
4587
4661
|
};
|