@everymatrix/player-account-menu-nd 1.86.3 → 1.86.5
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/{GeneralLogout-CG0fvyvl.js → GeneralLogout-BaeX2ybf.js} +755 -734
- package/components/GeneralLogout-CnzW2nQw.cjs +18 -0
- package/components/{GeneralLogout-SlMGGcp3.js → GeneralLogout-CsSWfRQq.js} +780 -759
- package/components/{PlayerAccountMenuNd-BOcdKnFh.js → PlayerAccountMenuNd-BjAKtxsm.js} +28 -28
- package/components/{PlayerAccountMenuNd-D-BqY4Sz.cjs → PlayerAccountMenuNd-DMN-EKNC.cjs} +1 -1
- package/components/{PlayerAccountMenuNd-emsf9oFi.js → PlayerAccountMenuNd-xPIs6CdB.js} +30 -30
- package/es2015/player-account-menu-nd.cjs +1 -1
- package/es2015/player-account-menu-nd.js +1 -1
- package/esnext/player-account-menu-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/index-b2193545-9K-aI7zC.cjs +1 -0
- package/stencil/index-b2193545-DsMHU6jb.js +519 -0
- package/stencil/index-b2193545-R7ZoV-kY.js +503 -0
- package/stencil/{ui-skeleton-C7KTfaPd.cjs → ui-skeleton-BreIU6e5.cjs} +1 -1
- package/stencil/{ui-skeleton-Cn9Rv2BY.js → ui-skeleton-W50o8tfg.js} +2 -2
- package/stencil/{ui-skeleton-ed169f8f-BA-lE0xf.js → ui-skeleton-ed169f8f-CVY4B-CP.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-cGTgZqRU.cjs → ui-skeleton-ed169f8f-CpiCXJrP.cjs} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-b70BXhTZ.js → ui-skeleton-ed169f8f-D3TjbVKy.js} +1 -1
- package/stencil/{ui-skeleton-YNoAIoec.js → ui-skeleton-xXZA3rYO.js} +2 -2
- package/components/GeneralLogout-HeC3H3zO.cjs +0 -18
- package/stencil/index-b2193545-CMoQ4Pov.js +0 -503
- package/stencil/index-b2193545-CQaBo5im.cjs +0 -1
- package/stencil/index-b2193545-DvP9W4Go.js +0 -519
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
function B() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function Bt(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function tt() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
|
-
function
|
|
10
|
-
e.forEach(
|
|
9
|
+
function ne(e) {
|
|
10
|
+
e.forEach(Bt);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function Ye(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function wt(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
18
|
let ue;
|
|
19
|
-
function
|
|
19
|
+
function Zi(e, t) {
|
|
20
20
|
return e === t ? !0 : (ue || (ue = document.createElement("a")), ue.href = t, e === ue.href);
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function lr(e) {
|
|
23
23
|
return Object.keys(e).length === 0;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function At(e, ...t) {
|
|
26
26
|
if (e == null) {
|
|
27
27
|
for (const n of t)
|
|
28
28
|
n(void 0);
|
|
@@ -31,20 +31,20 @@ function Bt(e, ...t) {
|
|
|
31
31
|
const r = e.subscribe(...t);
|
|
32
32
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
35
|
-
e.$$.on_destroy.push(
|
|
34
|
+
function cr(e, t, r) {
|
|
35
|
+
e.$$.on_destroy.push(At(t, r));
|
|
36
36
|
}
|
|
37
37
|
function T(e, t) {
|
|
38
38
|
e.appendChild(t);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
41
|
-
const n =
|
|
40
|
+
function fr(e, t, r) {
|
|
41
|
+
const n = pr(e);
|
|
42
42
|
if (!n.getElementById(t)) {
|
|
43
|
-
const i =
|
|
44
|
-
i.id = t, i.textContent = r,
|
|
43
|
+
const i = O("style");
|
|
44
|
+
i.id = t, i.textContent = r, dr(n, i);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function pr(e) {
|
|
48
48
|
if (!e)
|
|
49
49
|
return document;
|
|
50
50
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -54,56 +54,56 @@ function fr(e) {
|
|
|
54
54
|
t
|
|
55
55
|
) : e.ownerDocument;
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function dr(e, t) {
|
|
58
58
|
return T(
|
|
59
59
|
/** @type {Document} */
|
|
60
60
|
e.head || e,
|
|
61
61
|
t
|
|
62
62
|
), t.sheet;
|
|
63
63
|
}
|
|
64
|
-
function
|
|
64
|
+
function ie(e, t, r) {
|
|
65
65
|
e.insertBefore(t, r || null);
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function z(e) {
|
|
68
68
|
e.parentNode && e.parentNode.removeChild(e);
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function Qi(e, t) {
|
|
71
71
|
for (let r = 0; r < e.length; r += 1)
|
|
72
72
|
e[r] && e[r].d(t);
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function O(e) {
|
|
75
75
|
return document.createElement(e);
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function J(e) {
|
|
78
78
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function ye(e) {
|
|
81
81
|
return document.createTextNode(e);
|
|
82
82
|
}
|
|
83
|
-
function
|
|
84
|
-
return
|
|
83
|
+
function mr() {
|
|
84
|
+
return ye(" ");
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function Pt(e, t, r, n) {
|
|
87
87
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
88
88
|
}
|
|
89
89
|
function S(e, t, r) {
|
|
90
90
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function qi(e, t, r) {
|
|
93
93
|
const n = t.toLowerCase();
|
|
94
94
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : S(e, t, r);
|
|
95
95
|
}
|
|
96
|
-
function
|
|
96
|
+
function br(e) {
|
|
97
97
|
return Array.from(e.childNodes);
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function Ot(e, t) {
|
|
100
100
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
101
101
|
t);
|
|
102
102
|
}
|
|
103
|
-
function
|
|
103
|
+
function gr(e, t, r, n) {
|
|
104
104
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
105
105
|
}
|
|
106
|
-
function
|
|
106
|
+
function yr(e) {
|
|
107
107
|
const t = {};
|
|
108
108
|
return e.childNodes.forEach(
|
|
109
109
|
/** @param {Element} node */
|
|
@@ -112,90 +112,90 @@ function gr(e) {
|
|
|
112
112
|
}
|
|
113
113
|
), t;
|
|
114
114
|
}
|
|
115
|
-
let
|
|
116
|
-
function
|
|
117
|
-
|
|
115
|
+
let ee;
|
|
116
|
+
function K(e) {
|
|
117
|
+
ee = e;
|
|
118
118
|
}
|
|
119
|
-
function
|
|
120
|
-
if (!
|
|
119
|
+
function vr() {
|
|
120
|
+
if (!ee)
|
|
121
121
|
throw new Error("Function called outside component initialization");
|
|
122
|
-
return
|
|
122
|
+
return ee;
|
|
123
123
|
}
|
|
124
|
-
function
|
|
125
|
-
|
|
124
|
+
function _r(e) {
|
|
125
|
+
vr().$$.on_mount.push(e);
|
|
126
126
|
}
|
|
127
|
-
const F = [],
|
|
127
|
+
const F = [], Me = [];
|
|
128
128
|
let j = [];
|
|
129
|
-
const
|
|
130
|
-
let
|
|
131
|
-
function
|
|
132
|
-
|
|
129
|
+
const rt = [], Er = /* @__PURE__ */ Promise.resolve();
|
|
130
|
+
let Ce = !1;
|
|
131
|
+
function xr() {
|
|
132
|
+
Ce || (Ce = !0, Er.then(w));
|
|
133
133
|
}
|
|
134
|
-
function
|
|
134
|
+
function $e(e) {
|
|
135
135
|
j.push(e);
|
|
136
136
|
}
|
|
137
|
-
const
|
|
138
|
-
let
|
|
139
|
-
function
|
|
140
|
-
if (
|
|
137
|
+
const Be = /* @__PURE__ */ new Set();
|
|
138
|
+
let G = 0;
|
|
139
|
+
function w() {
|
|
140
|
+
if (G !== 0)
|
|
141
141
|
return;
|
|
142
|
-
const e =
|
|
142
|
+
const e = ee;
|
|
143
143
|
do {
|
|
144
144
|
try {
|
|
145
|
-
for (;
|
|
146
|
-
const t = F[
|
|
147
|
-
|
|
145
|
+
for (; G < F.length; ) {
|
|
146
|
+
const t = F[G];
|
|
147
|
+
G++, K(t), Sr(t.$$);
|
|
148
148
|
}
|
|
149
149
|
} catch (t) {
|
|
150
|
-
throw F.length = 0,
|
|
150
|
+
throw F.length = 0, G = 0, t;
|
|
151
151
|
}
|
|
152
|
-
for (
|
|
153
|
-
|
|
152
|
+
for (K(null), F.length = 0, G = 0; Me.length; )
|
|
153
|
+
Me.pop()();
|
|
154
154
|
for (let t = 0; t < j.length; t += 1) {
|
|
155
155
|
const r = j[t];
|
|
156
|
-
|
|
156
|
+
Be.has(r) || (Be.add(r), r());
|
|
157
157
|
}
|
|
158
158
|
j.length = 0;
|
|
159
159
|
} while (F.length);
|
|
160
|
-
for (;
|
|
161
|
-
|
|
162
|
-
|
|
160
|
+
for (; rt.length; )
|
|
161
|
+
rt.pop()();
|
|
162
|
+
Ce = !1, Be.clear(), K(e);
|
|
163
163
|
}
|
|
164
|
-
function
|
|
164
|
+
function Sr(e) {
|
|
165
165
|
if (e.fragment !== null) {
|
|
166
|
-
e.update(),
|
|
166
|
+
e.update(), ne(e.before_update);
|
|
167
167
|
const t = e.dirty;
|
|
168
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
168
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function Tr(e) {
|
|
172
172
|
const t = [], r = [];
|
|
173
173
|
j.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), j = t;
|
|
174
174
|
}
|
|
175
|
-
const
|
|
176
|
-
function
|
|
177
|
-
e && e.i && (
|
|
175
|
+
const Hr = /* @__PURE__ */ new Set();
|
|
176
|
+
function Br(e, t) {
|
|
177
|
+
e && e.i && (Hr.delete(e), e.i(t));
|
|
178
178
|
}
|
|
179
|
-
function
|
|
179
|
+
function Ji(e) {
|
|
180
180
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
181
181
|
}
|
|
182
|
-
function
|
|
182
|
+
function wr(e, t, r) {
|
|
183
183
|
const { fragment: n, after_update: i } = e.$$;
|
|
184
|
-
n && n.m(t, r),
|
|
185
|
-
const o = e.$$.on_mount.map(
|
|
186
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
187
|
-
}), i.forEach(
|
|
184
|
+
n && n.m(t, r), $e(() => {
|
|
185
|
+
const o = e.$$.on_mount.map(Bt).filter(Ye);
|
|
186
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ne(o), e.$$.on_mount = [];
|
|
187
|
+
}), i.forEach($e);
|
|
188
188
|
}
|
|
189
189
|
function Ar(e, t) {
|
|
190
190
|
const r = e.$$;
|
|
191
|
-
r.fragment !== null && (
|
|
191
|
+
r.fragment !== null && (Tr(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
192
192
|
}
|
|
193
|
-
function
|
|
194
|
-
e.$$.dirty[0] === -1 && (F.push(e),
|
|
193
|
+
function Pr(e, t) {
|
|
194
|
+
e.$$.dirty[0] === -1 && (F.push(e), xr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
195
195
|
}
|
|
196
|
-
function
|
|
197
|
-
const h =
|
|
198
|
-
|
|
196
|
+
function Or(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
197
|
+
const h = ee;
|
|
198
|
+
K(e);
|
|
199
199
|
const u = e.$$ = {
|
|
200
200
|
fragment: null,
|
|
201
201
|
ctx: [],
|
|
@@ -203,7 +203,7 @@ function Pr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
203
203
|
props: o,
|
|
204
204
|
update: B,
|
|
205
205
|
not_equal: i,
|
|
206
|
-
bound:
|
|
206
|
+
bound: tt(),
|
|
207
207
|
// lifecycle
|
|
208
208
|
on_mount: [],
|
|
209
209
|
on_destroy: [],
|
|
@@ -212,7 +212,7 @@ function Pr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
212
212
|
after_update: [],
|
|
213
213
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
214
214
|
// everything else
|
|
215
|
-
callbacks:
|
|
215
|
+
callbacks: tt(),
|
|
216
216
|
dirty: a,
|
|
217
217
|
skip_bound: !1,
|
|
218
218
|
root: t.target || h.$$.root
|
|
@@ -221,19 +221,19 @@ function Pr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
221
221
|
let l = !1;
|
|
222
222
|
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
|
|
223
223
|
const d = p.length ? p[0] : c;
|
|
224
|
-
return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), l &&
|
|
225
|
-
}) : [], u.update(), l = !0,
|
|
224
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), l && Pr(e, f)), c;
|
|
225
|
+
}) : [], u.update(), l = !0, ne(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
226
226
|
if (t.hydrate) {
|
|
227
|
-
const f =
|
|
228
|
-
u.fragment && u.fragment.l(f), f.forEach(
|
|
227
|
+
const f = br(t.target);
|
|
228
|
+
u.fragment && u.fragment.l(f), f.forEach(z);
|
|
229
229
|
} else
|
|
230
230
|
u.fragment && u.fragment.c();
|
|
231
|
-
t.intro &&
|
|
231
|
+
t.intro && Br(e.$$.fragment), wr(e, t.target, t.anchor), w();
|
|
232
232
|
}
|
|
233
|
-
|
|
233
|
+
K(h);
|
|
234
234
|
}
|
|
235
|
-
let
|
|
236
|
-
typeof HTMLElement == "function" && (
|
|
235
|
+
let It;
|
|
236
|
+
typeof HTMLElement == "function" && (It = class extends HTMLElement {
|
|
237
237
|
/** The Svelte component constructor */
|
|
238
238
|
$$ctor;
|
|
239
239
|
/** Slots */
|
|
@@ -275,24 +275,24 @@ typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
|
|
|
275
275
|
let o;
|
|
276
276
|
return {
|
|
277
277
|
c: function() {
|
|
278
|
-
o =
|
|
278
|
+
o = O("slot"), i !== "default" && S(o, "name", i);
|
|
279
279
|
},
|
|
280
280
|
/**
|
|
281
281
|
* @param {HTMLElement} target
|
|
282
282
|
* @param {HTMLElement} [anchor]
|
|
283
283
|
*/
|
|
284
284
|
m: function(h, u) {
|
|
285
|
-
|
|
285
|
+
ie(h, o, u);
|
|
286
286
|
},
|
|
287
287
|
d: function(h) {
|
|
288
|
-
h &&
|
|
288
|
+
h && z(o);
|
|
289
289
|
}
|
|
290
290
|
};
|
|
291
291
|
};
|
|
292
292
|
};
|
|
293
293
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
294
294
|
return;
|
|
295
|
-
const t = {}, r =
|
|
295
|
+
const t = {}, r = yr(this);
|
|
296
296
|
for (const i of this.$$s)
|
|
297
297
|
i in r && (t[i] = [e(i)]);
|
|
298
298
|
for (const i of this.attributes) {
|
|
@@ -379,8 +379,8 @@ function ce(e, t, r, n) {
|
|
|
379
379
|
return t;
|
|
380
380
|
}
|
|
381
381
|
}
|
|
382
|
-
function
|
|
383
|
-
let s = class extends
|
|
382
|
+
function Ir(e, t, r, n, i, o) {
|
|
383
|
+
let s = class extends It {
|
|
384
384
|
constructor() {
|
|
385
385
|
super(e, r, i), this.$$p_d = t;
|
|
386
386
|
}
|
|
@@ -408,7 +408,7 @@ function Or(e, t, r, n, i, o) {
|
|
|
408
408
|
}), e.element = /** @type {any} */
|
|
409
409
|
s, s;
|
|
410
410
|
}
|
|
411
|
-
class
|
|
411
|
+
class Lr {
|
|
412
412
|
/**
|
|
413
413
|
* ### PRIVATE API
|
|
414
414
|
*
|
|
@@ -436,7 +436,7 @@ class Ir {
|
|
|
436
436
|
* @returns {() => void}
|
|
437
437
|
*/
|
|
438
438
|
$on(t, r) {
|
|
439
|
-
if (!
|
|
439
|
+
if (!Ye(r))
|
|
440
440
|
return B;
|
|
441
441
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
442
442
|
return n.push(r), () => {
|
|
@@ -449,11 +449,11 @@ class Ir {
|
|
|
449
449
|
* @returns {void}
|
|
450
450
|
*/
|
|
451
451
|
$set(t) {
|
|
452
|
-
this.$$set && !
|
|
452
|
+
this.$$set && !lr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
453
453
|
}
|
|
454
454
|
}
|
|
455
|
-
const
|
|
456
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
455
|
+
const Nr = "4";
|
|
456
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Nr);
|
|
457
457
|
/*! *****************************************************************************
|
|
458
458
|
Copyright (c) Microsoft Corporation.
|
|
459
459
|
|
|
@@ -468,43 +468,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
468
468
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
469
469
|
PERFORMANCE OF THIS SOFTWARE.
|
|
470
470
|
***************************************************************************** */
|
|
471
|
-
var
|
|
472
|
-
return
|
|
471
|
+
var Re = function(e, t) {
|
|
472
|
+
return Re = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
473
473
|
r.__proto__ = n;
|
|
474
474
|
} || function(r, n) {
|
|
475
475
|
for (var i in n)
|
|
476
476
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
477
|
-
},
|
|
477
|
+
}, Re(e, t);
|
|
478
478
|
};
|
|
479
|
-
function
|
|
479
|
+
function oe(e, t) {
|
|
480
480
|
if (typeof t != "function" && t !== null)
|
|
481
481
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
482
|
-
|
|
482
|
+
Re(e, t);
|
|
483
483
|
function r() {
|
|
484
484
|
this.constructor = e;
|
|
485
485
|
}
|
|
486
486
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
487
487
|
}
|
|
488
|
-
|
|
489
|
-
return g = Object.assign || function(t) {
|
|
490
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
491
|
-
r = arguments[n];
|
|
492
|
-
for (var o in r)
|
|
493
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
494
|
-
}
|
|
495
|
-
return t;
|
|
496
|
-
}, g.apply(this, arguments);
|
|
497
|
-
};
|
|
498
|
-
function Nr(e, t) {
|
|
499
|
-
var r = {};
|
|
500
|
-
for (var n in e)
|
|
501
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
502
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
503
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
504
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
505
|
-
return r;
|
|
506
|
-
}
|
|
507
|
-
function $e(e) {
|
|
488
|
+
function Ue(e) {
|
|
508
489
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
509
490
|
if (r)
|
|
510
491
|
return r.call(e);
|
|
@@ -516,7 +497,7 @@ function $e(e) {
|
|
|
516
497
|
};
|
|
517
498
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
518
499
|
}
|
|
519
|
-
function
|
|
500
|
+
function Ge(e, t) {
|
|
520
501
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
521
502
|
if (!r)
|
|
522
503
|
return e;
|
|
@@ -536,22 +517,22 @@ function Re(e, t) {
|
|
|
536
517
|
}
|
|
537
518
|
return o;
|
|
538
519
|
}
|
|
539
|
-
function
|
|
540
|
-
if (
|
|
520
|
+
function De(e, t, r) {
|
|
521
|
+
if (arguments.length === 2)
|
|
541
522
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
542
523
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
543
524
|
return e.concat(o || t);
|
|
544
525
|
}
|
|
545
|
-
function
|
|
526
|
+
function I(e) {
|
|
546
527
|
return typeof e == "function";
|
|
547
528
|
}
|
|
548
|
-
function
|
|
529
|
+
function Lt(e) {
|
|
549
530
|
var t = function(n) {
|
|
550
531
|
Error.call(n), n.stack = new Error().stack;
|
|
551
532
|
}, r = e(t);
|
|
552
533
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
553
534
|
}
|
|
554
|
-
var
|
|
535
|
+
var we = Lt(function(e) {
|
|
555
536
|
return function(r) {
|
|
556
537
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
557
538
|
` + r.map(function(n, i) {
|
|
@@ -560,13 +541,13 @@ var He = Ot(function(e) {
|
|
|
560
541
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
561
542
|
};
|
|
562
543
|
});
|
|
563
|
-
function
|
|
544
|
+
function Fe(e, t) {
|
|
564
545
|
if (e) {
|
|
565
546
|
var r = e.indexOf(t);
|
|
566
547
|
0 <= r && e.splice(r, 1);
|
|
567
548
|
}
|
|
568
549
|
}
|
|
569
|
-
var
|
|
550
|
+
var ve = function() {
|
|
570
551
|
function e(t) {
|
|
571
552
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
572
553
|
}
|
|
@@ -578,12 +559,12 @@ var ye = function() {
|
|
|
578
559
|
if (s)
|
|
579
560
|
if (this._parentage = null, Array.isArray(s))
|
|
580
561
|
try {
|
|
581
|
-
for (var a =
|
|
562
|
+
for (var a = Ue(s), h = a.next(); !h.done; h = a.next()) {
|
|
582
563
|
var u = h.value;
|
|
583
564
|
u.remove(this);
|
|
584
565
|
}
|
|
585
|
-
} catch (
|
|
586
|
-
t = { error:
|
|
566
|
+
} catch (y) {
|
|
567
|
+
t = { error: y };
|
|
587
568
|
} finally {
|
|
588
569
|
try {
|
|
589
570
|
h && !h.done && (r = a.return) && r.call(a);
|
|
@@ -595,26 +576,26 @@ var ye = function() {
|
|
|
595
576
|
else
|
|
596
577
|
s.remove(this);
|
|
597
578
|
var l = this.initialTeardown;
|
|
598
|
-
if (
|
|
579
|
+
if (I(l))
|
|
599
580
|
try {
|
|
600
581
|
l();
|
|
601
|
-
} catch (
|
|
602
|
-
o =
|
|
582
|
+
} catch (y) {
|
|
583
|
+
o = y instanceof we ? y.errors : [y];
|
|
603
584
|
}
|
|
604
585
|
var f = this._finalizers;
|
|
605
586
|
if (f) {
|
|
606
587
|
this._finalizers = null;
|
|
607
588
|
try {
|
|
608
|
-
for (var c =
|
|
589
|
+
for (var c = Ue(f), p = c.next(); !p.done; p = c.next()) {
|
|
609
590
|
var d = p.value;
|
|
610
591
|
try {
|
|
611
|
-
|
|
612
|
-
} catch (
|
|
613
|
-
o = o ?? [],
|
|
592
|
+
nt(d);
|
|
593
|
+
} catch (y) {
|
|
594
|
+
o = o ?? [], y instanceof we ? o = De(De([], Ge(o)), Ge(y.errors)) : o.push(y);
|
|
614
595
|
}
|
|
615
596
|
}
|
|
616
|
-
} catch (
|
|
617
|
-
n = { error:
|
|
597
|
+
} catch (y) {
|
|
598
|
+
n = { error: y };
|
|
618
599
|
} finally {
|
|
619
600
|
try {
|
|
620
601
|
p && !p.done && (i = c.return) && i.call(c);
|
|
@@ -625,13 +606,13 @@ var ye = function() {
|
|
|
625
606
|
}
|
|
626
607
|
}
|
|
627
608
|
if (o)
|
|
628
|
-
throw new
|
|
609
|
+
throw new we(o);
|
|
629
610
|
}
|
|
630
611
|
}, e.prototype.add = function(t) {
|
|
631
612
|
var r;
|
|
632
613
|
if (t && t !== this)
|
|
633
614
|
if (this.closed)
|
|
634
|
-
|
|
615
|
+
nt(t);
|
|
635
616
|
else {
|
|
636
617
|
if (t instanceof e) {
|
|
637
618
|
if (t.closed || t._hasParent(this))
|
|
@@ -648,56 +629,52 @@ var ye = function() {
|
|
|
648
629
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
649
630
|
}, e.prototype._removeParent = function(t) {
|
|
650
631
|
var r = this._parentage;
|
|
651
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
632
|
+
r === t ? this._parentage = null : Array.isArray(r) && Fe(r, t);
|
|
652
633
|
}, e.prototype.remove = function(t) {
|
|
653
634
|
var r = this._finalizers;
|
|
654
|
-
r &&
|
|
635
|
+
r && Fe(r, t), t instanceof e && t._removeParent(this);
|
|
655
636
|
}, e.EMPTY = function() {
|
|
656
637
|
var t = new e();
|
|
657
638
|
return t.closed = !0, t;
|
|
658
639
|
}(), e;
|
|
659
|
-
}(),
|
|
660
|
-
function
|
|
661
|
-
return e instanceof
|
|
662
|
-
}
|
|
663
|
-
function
|
|
664
|
-
|
|
665
|
-
}
|
|
666
|
-
var
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
Promise: void 0,
|
|
670
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
|
671
|
-
useDeprecatedNextContext: !1
|
|
672
|
-
}, Mr = {
|
|
640
|
+
}(), Nt = ve.EMPTY;
|
|
641
|
+
function Mt(e) {
|
|
642
|
+
return e instanceof ve || e && "closed" in e && I(e.remove) && I(e.add) && I(e.unsubscribe);
|
|
643
|
+
}
|
|
644
|
+
function nt(e) {
|
|
645
|
+
I(e) ? e() : e.unsubscribe();
|
|
646
|
+
}
|
|
647
|
+
var Mr = {
|
|
648
|
+
Promise: void 0
|
|
649
|
+
}, Cr = {
|
|
673
650
|
setTimeout: function(e, t) {
|
|
674
651
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
675
652
|
r[n - 2] = arguments[n];
|
|
676
|
-
return setTimeout.apply(void 0,
|
|
653
|
+
return setTimeout.apply(void 0, De([e, t], Ge(r)));
|
|
677
654
|
},
|
|
678
655
|
clearTimeout: function(e) {
|
|
679
656
|
return clearTimeout(e);
|
|
680
657
|
},
|
|
681
658
|
delegate: void 0
|
|
682
659
|
};
|
|
683
|
-
function
|
|
684
|
-
|
|
660
|
+
function $r(e) {
|
|
661
|
+
Cr.setTimeout(function() {
|
|
685
662
|
throw e;
|
|
686
663
|
});
|
|
687
664
|
}
|
|
688
|
-
function
|
|
665
|
+
function it() {
|
|
689
666
|
}
|
|
690
667
|
function fe(e) {
|
|
691
668
|
e();
|
|
692
669
|
}
|
|
693
|
-
var
|
|
694
|
-
|
|
670
|
+
var Ct = function(e) {
|
|
671
|
+
oe(t, e);
|
|
695
672
|
function t(r) {
|
|
696
673
|
var n = e.call(this) || this;
|
|
697
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
674
|
+
return n.isStopped = !1, r ? (n.destination = r, Mt(r) && r.add(n)) : n.destination = Gr, n;
|
|
698
675
|
}
|
|
699
676
|
return t.create = function(r, n, i) {
|
|
700
|
-
return new
|
|
677
|
+
return new je(r, n, i);
|
|
701
678
|
}, t.prototype.next = function(r) {
|
|
702
679
|
this.isStopped || this._next(r);
|
|
703
680
|
}, t.prototype.error = function(r) {
|
|
@@ -721,11 +698,7 @@ var Mt = function(e) {
|
|
|
721
698
|
this.unsubscribe();
|
|
722
699
|
}
|
|
723
700
|
}, t;
|
|
724
|
-
}(
|
|
725
|
-
function Be(e, t) {
|
|
726
|
-
return $r.call(e, t);
|
|
727
|
-
}
|
|
728
|
-
var Rr = function() {
|
|
701
|
+
}(ve), Rr = function() {
|
|
729
702
|
function e(t) {
|
|
730
703
|
this.partialObserver = t;
|
|
731
704
|
}
|
|
@@ -756,42 +729,30 @@ var Rr = function() {
|
|
|
756
729
|
he(r);
|
|
757
730
|
}
|
|
758
731
|
}, e;
|
|
759
|
-
}(),
|
|
760
|
-
|
|
732
|
+
}(), je = function(e) {
|
|
733
|
+
oe(t, e);
|
|
761
734
|
function t(r, n, i) {
|
|
762
735
|
var o = e.call(this) || this, s;
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
};
|
|
769
|
-
else {
|
|
770
|
-
var a;
|
|
771
|
-
o && Nt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
772
|
-
return o.unsubscribe();
|
|
773
|
-
}, s = {
|
|
774
|
-
next: r.next && Be(r.next, a),
|
|
775
|
-
error: r.error && Be(r.error, a),
|
|
776
|
-
complete: r.complete && Be(r.complete, a)
|
|
777
|
-
}) : s = r;
|
|
778
|
-
}
|
|
779
|
-
return o.destination = new Rr(s), o;
|
|
736
|
+
return I(r) || !r ? s = {
|
|
737
|
+
next: r ?? void 0,
|
|
738
|
+
error: n ?? void 0,
|
|
739
|
+
complete: i ?? void 0
|
|
740
|
+
} : s = r, o.destination = new Rr(s), o;
|
|
780
741
|
}
|
|
781
742
|
return t;
|
|
782
|
-
}(
|
|
743
|
+
}(Ct);
|
|
783
744
|
function he(e) {
|
|
784
|
-
|
|
745
|
+
$r(e);
|
|
785
746
|
}
|
|
786
747
|
function Ur(e) {
|
|
787
748
|
throw e;
|
|
788
749
|
}
|
|
789
|
-
var
|
|
750
|
+
var Gr = {
|
|
790
751
|
closed: !0,
|
|
791
|
-
next:
|
|
752
|
+
next: it,
|
|
792
753
|
error: Ur,
|
|
793
|
-
complete:
|
|
794
|
-
},
|
|
754
|
+
complete: it
|
|
755
|
+
}, Dr = function() {
|
|
795
756
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
796
757
|
}();
|
|
797
758
|
function Fr(e) {
|
|
@@ -804,7 +765,7 @@ function jr(e) {
|
|
|
804
765
|
}, r);
|
|
805
766
|
};
|
|
806
767
|
}
|
|
807
|
-
var
|
|
768
|
+
var ot = function() {
|
|
808
769
|
function e(t) {
|
|
809
770
|
t && (this._subscribe = t);
|
|
810
771
|
}
|
|
@@ -812,7 +773,7 @@ var nt = function() {
|
|
|
812
773
|
var r = new e();
|
|
813
774
|
return r.source = this, r.operator = t, r;
|
|
814
775
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
815
|
-
var i = this, o = Vr(t) ? t : new
|
|
776
|
+
var i = this, o = Vr(t) ? t : new je(t, r, n);
|
|
816
777
|
return fe(function() {
|
|
817
778
|
var s = i, a = s.operator, h = s.source;
|
|
818
779
|
o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -825,8 +786,8 @@ var nt = function() {
|
|
|
825
786
|
}
|
|
826
787
|
}, e.prototype.forEach = function(t, r) {
|
|
827
788
|
var n = this;
|
|
828
|
-
return r =
|
|
829
|
-
var s = new
|
|
789
|
+
return r = st(r), new r(function(i, o) {
|
|
790
|
+
var s = new je({
|
|
830
791
|
next: function(a) {
|
|
831
792
|
try {
|
|
832
793
|
t(a);
|
|
@@ -842,7 +803,7 @@ var nt = function() {
|
|
|
842
803
|
}, e.prototype._subscribe = function(t) {
|
|
843
804
|
var r;
|
|
844
805
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
845
|
-
}, e.prototype[
|
|
806
|
+
}, e.prototype[Dr] = function() {
|
|
846
807
|
return this;
|
|
847
808
|
}, e.prototype.pipe = function() {
|
|
848
809
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -850,7 +811,7 @@ var nt = function() {
|
|
|
850
811
|
return jr(t)(this);
|
|
851
812
|
}, e.prototype.toPromise = function(t) {
|
|
852
813
|
var r = this;
|
|
853
|
-
return t =
|
|
814
|
+
return t = st(t), new t(function(n, i) {
|
|
854
815
|
var o;
|
|
855
816
|
r.subscribe(function(s) {
|
|
856
817
|
return o = s;
|
|
@@ -864,28 +825,28 @@ var nt = function() {
|
|
|
864
825
|
return new e(t);
|
|
865
826
|
}, e;
|
|
866
827
|
}();
|
|
867
|
-
function
|
|
828
|
+
function st(e) {
|
|
868
829
|
var t;
|
|
869
|
-
return (t = e ??
|
|
830
|
+
return (t = e ?? Mr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
870
831
|
}
|
|
871
832
|
function kr(e) {
|
|
872
|
-
return e &&
|
|
833
|
+
return e && I(e.next) && I(e.error) && I(e.complete);
|
|
873
834
|
}
|
|
874
835
|
function Vr(e) {
|
|
875
|
-
return e && e instanceof
|
|
836
|
+
return e && e instanceof Ct || kr(e) && Mt(e);
|
|
876
837
|
}
|
|
877
|
-
var Xr =
|
|
838
|
+
var Xr = Lt(function(e) {
|
|
878
839
|
return function() {
|
|
879
840
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
880
841
|
};
|
|
881
|
-
}),
|
|
882
|
-
|
|
842
|
+
}), $t = function(e) {
|
|
843
|
+
oe(t, e);
|
|
883
844
|
function t() {
|
|
884
845
|
var r = e.call(this) || this;
|
|
885
846
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
886
847
|
}
|
|
887
848
|
return t.prototype.lift = function(r) {
|
|
888
|
-
var n = new
|
|
849
|
+
var n = new at(this, this);
|
|
889
850
|
return n.operator = r, n;
|
|
890
851
|
}, t.prototype._throwIfClosed = function() {
|
|
891
852
|
if (this.closed)
|
|
@@ -897,7 +858,7 @@ var Xr = Ot(function(e) {
|
|
|
897
858
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
898
859
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
899
860
|
try {
|
|
900
|
-
for (var s =
|
|
861
|
+
for (var s = Ue(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
901
862
|
var h = a.value;
|
|
902
863
|
h.next(r);
|
|
903
864
|
}
|
|
@@ -946,20 +907,20 @@ var Xr = Ot(function(e) {
|
|
|
946
907
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
947
908
|
}, t.prototype._innerSubscribe = function(r) {
|
|
948
909
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
949
|
-
return o || s ?
|
|
950
|
-
n.currentObservers = null,
|
|
910
|
+
return o || s ? Nt : (this.currentObservers = null, a.push(r), new ve(function() {
|
|
911
|
+
n.currentObservers = null, Fe(a, r);
|
|
951
912
|
}));
|
|
952
913
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
953
914
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
954
915
|
i ? r.error(o) : s && r.complete();
|
|
955
916
|
}, t.prototype.asObservable = function() {
|
|
956
|
-
var r = new
|
|
917
|
+
var r = new ot();
|
|
957
918
|
return r.source = this, r;
|
|
958
919
|
}, t.create = function(r, n) {
|
|
959
|
-
return new
|
|
920
|
+
return new at(r, n);
|
|
960
921
|
}, t;
|
|
961
|
-
}(
|
|
962
|
-
|
|
922
|
+
}(ot), at = function(e) {
|
|
923
|
+
oe(t, e);
|
|
963
924
|
function t(r, n) {
|
|
964
925
|
var i = e.call(this) || this;
|
|
965
926
|
return i.destination = r, i.source = n, i;
|
|
@@ -975,17 +936,17 @@ var Xr = Ot(function(e) {
|
|
|
975
936
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
976
937
|
}, t.prototype._subscribe = function(r) {
|
|
977
938
|
var n, i;
|
|
978
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
939
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Nt;
|
|
979
940
|
}, t;
|
|
980
|
-
}(
|
|
941
|
+
}($t), Rt = {
|
|
981
942
|
now: function() {
|
|
982
|
-
return (
|
|
943
|
+
return (Rt.delegate || Date).now();
|
|
983
944
|
},
|
|
984
945
|
delegate: void 0
|
|
985
946
|
}, Wr = function(e) {
|
|
986
|
-
|
|
947
|
+
oe(t, e);
|
|
987
948
|
function t(r, n, i) {
|
|
988
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
949
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Rt);
|
|
989
950
|
var o = e.call(this) || this;
|
|
990
951
|
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;
|
|
991
952
|
}
|
|
@@ -1005,31 +966,31 @@ var Xr = Ot(function(e) {
|
|
|
1005
966
|
u && o.splice(0, u + 1);
|
|
1006
967
|
}
|
|
1007
968
|
}, t;
|
|
1008
|
-
}(
|
|
1009
|
-
const
|
|
1010
|
-
if (
|
|
969
|
+
}($t);
|
|
970
|
+
const ut = [], ht = {}, zr = (e, t = 0) => {
|
|
971
|
+
if (ut.indexOf(e) == -1) {
|
|
1011
972
|
const r = new Wr(t);
|
|
1012
|
-
|
|
973
|
+
ht[e] = r, ut.push(e);
|
|
1013
974
|
}
|
|
1014
|
-
return
|
|
1015
|
-
},
|
|
975
|
+
return ht[e];
|
|
976
|
+
}, D = [];
|
|
1016
977
|
function Zr(e, t) {
|
|
1017
978
|
return {
|
|
1018
|
-
subscribe:
|
|
979
|
+
subscribe: _e(e, t).subscribe
|
|
1019
980
|
};
|
|
1020
981
|
}
|
|
1021
|
-
function
|
|
982
|
+
function _e(e, t = B) {
|
|
1022
983
|
let r;
|
|
1023
984
|
const n = /* @__PURE__ */ new Set();
|
|
1024
985
|
function i(a) {
|
|
1025
|
-
if (
|
|
1026
|
-
const h = !
|
|
986
|
+
if (wt(e, a) && (e = a, r)) {
|
|
987
|
+
const h = !D.length;
|
|
1027
988
|
for (const u of n)
|
|
1028
|
-
u[1](),
|
|
989
|
+
u[1](), D.push(u, e);
|
|
1029
990
|
if (h) {
|
|
1030
|
-
for (let u = 0; u <
|
|
1031
|
-
|
|
1032
|
-
|
|
991
|
+
for (let u = 0; u < D.length; u += 2)
|
|
992
|
+
D[u][0](D[u + 1]);
|
|
993
|
+
D.length = 0;
|
|
1033
994
|
}
|
|
1034
995
|
}
|
|
1035
996
|
}
|
|
@@ -1044,7 +1005,7 @@ function ve(e, t = B) {
|
|
|
1044
1005
|
}
|
|
1045
1006
|
return { set: i, update: o, subscribe: s };
|
|
1046
1007
|
}
|
|
1047
|
-
function
|
|
1008
|
+
function Z(e, t, r) {
|
|
1048
1009
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1049
1010
|
if (!i.every(Boolean))
|
|
1050
1011
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -1058,20 +1019,20 @@ function Q(e, t, r) {
|
|
|
1058
1019
|
return;
|
|
1059
1020
|
f();
|
|
1060
1021
|
const d = t(n ? u[0] : u, s, a);
|
|
1061
|
-
o ? s(d) : f =
|
|
1022
|
+
o ? s(d) : f = Ye(d) ? d : B;
|
|
1062
1023
|
}, p = i.map(
|
|
1063
|
-
(d,
|
|
1024
|
+
(d, y) => At(
|
|
1064
1025
|
d,
|
|
1065
1026
|
(H) => {
|
|
1066
|
-
u[
|
|
1027
|
+
u[y] = H, l &= ~(1 << y), h && c();
|
|
1067
1028
|
},
|
|
1068
1029
|
() => {
|
|
1069
|
-
l |= 1 <<
|
|
1030
|
+
l |= 1 << y;
|
|
1070
1031
|
}
|
|
1071
1032
|
)
|
|
1072
1033
|
);
|
|
1073
1034
|
return h = !0, c(), function() {
|
|
1074
|
-
|
|
1035
|
+
ne(p), f(), h = !1;
|
|
1075
1036
|
};
|
|
1076
1037
|
});
|
|
1077
1038
|
}
|
|
@@ -1095,29 +1056,29 @@ function tn(e) {
|
|
|
1095
1056
|
function rn(e) {
|
|
1096
1057
|
return Array.isArray(e) ? [] : {};
|
|
1097
1058
|
}
|
|
1098
|
-
function
|
|
1099
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1059
|
+
function te(e, t) {
|
|
1060
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? k(rn(e), e, t) : e;
|
|
1100
1061
|
}
|
|
1101
1062
|
function nn(e, t, r) {
|
|
1102
1063
|
return e.concat(t).map(function(n) {
|
|
1103
|
-
return
|
|
1064
|
+
return te(n, r);
|
|
1104
1065
|
});
|
|
1105
1066
|
}
|
|
1106
1067
|
function on(e, t) {
|
|
1107
1068
|
if (!t.customMerge)
|
|
1108
|
-
return
|
|
1069
|
+
return k;
|
|
1109
1070
|
var r = t.customMerge(e);
|
|
1110
|
-
return typeof r == "function" ? r :
|
|
1071
|
+
return typeof r == "function" ? r : k;
|
|
1111
1072
|
}
|
|
1112
1073
|
function sn(e) {
|
|
1113
1074
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1114
1075
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1115
1076
|
}) : [];
|
|
1116
1077
|
}
|
|
1117
|
-
function
|
|
1078
|
+
function lt(e) {
|
|
1118
1079
|
return Object.keys(e).concat(sn(e));
|
|
1119
1080
|
}
|
|
1120
|
-
function
|
|
1081
|
+
function Ut(e, t) {
|
|
1121
1082
|
try {
|
|
1122
1083
|
return t in e;
|
|
1123
1084
|
} catch {
|
|
@@ -1125,129 +1086,179 @@ function Rt(e, t) {
|
|
|
1125
1086
|
}
|
|
1126
1087
|
}
|
|
1127
1088
|
function an(e, t) {
|
|
1128
|
-
return
|
|
1089
|
+
return Ut(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1129
1090
|
}
|
|
1130
1091
|
function un(e, t, r) {
|
|
1131
1092
|
var n = {};
|
|
1132
|
-
return r.isMergeableObject(e) &&
|
|
1133
|
-
n[i] =
|
|
1134
|
-
}),
|
|
1135
|
-
an(e, i) || (
|
|
1093
|
+
return r.isMergeableObject(e) && lt(e).forEach(function(i) {
|
|
1094
|
+
n[i] = te(e[i], r);
|
|
1095
|
+
}), lt(t).forEach(function(i) {
|
|
1096
|
+
an(e, i) || (Ut(e, i) && r.isMergeableObject(t[i]) ? n[i] = on(i, r)(e[i], t[i], r) : n[i] = te(t[i], r));
|
|
1136
1097
|
}), n;
|
|
1137
1098
|
}
|
|
1138
|
-
function
|
|
1139
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || nn, r.isMergeableObject = r.isMergeableObject || qr, r.cloneUnlessOtherwiseSpecified =
|
|
1099
|
+
function k(e, t, r) {
|
|
1100
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || nn, r.isMergeableObject = r.isMergeableObject || qr, r.cloneUnlessOtherwiseSpecified = te;
|
|
1140
1101
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1141
|
-
return o ? n ? r.arrayMerge(e, t, r) : un(e, t, r) :
|
|
1102
|
+
return o ? n ? r.arrayMerge(e, t, r) : un(e, t, r) : te(t, r);
|
|
1142
1103
|
}
|
|
1143
|
-
|
|
1104
|
+
k.all = function(t, r) {
|
|
1144
1105
|
if (!Array.isArray(t))
|
|
1145
1106
|
throw new Error("first argument should be an array");
|
|
1146
1107
|
return t.reduce(function(n, i) {
|
|
1147
|
-
return
|
|
1108
|
+
return k(n, i, r);
|
|
1148
1109
|
}, {});
|
|
1149
1110
|
};
|
|
1150
|
-
var hn =
|
|
1111
|
+
var hn = k, ln = hn;
|
|
1151
1112
|
const cn = /* @__PURE__ */ Qr(ln);
|
|
1152
|
-
function
|
|
1153
|
-
|
|
1113
|
+
var ke = function(e, t) {
|
|
1114
|
+
return ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1115
|
+
r.__proto__ = n;
|
|
1116
|
+
} || function(r, n) {
|
|
1117
|
+
for (var i in n)
|
|
1118
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1119
|
+
}, ke(e, t);
|
|
1120
|
+
};
|
|
1121
|
+
function Ee(e, t) {
|
|
1122
|
+
if (typeof t != "function" && t !== null)
|
|
1123
|
+
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1124
|
+
ke(e, t);
|
|
1125
|
+
function r() {
|
|
1126
|
+
this.constructor = e;
|
|
1127
|
+
}
|
|
1128
|
+
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1129
|
+
}
|
|
1130
|
+
var A = function() {
|
|
1131
|
+
return A = Object.assign || function(t) {
|
|
1132
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1133
|
+
r = arguments[n];
|
|
1134
|
+
for (var o in r)
|
|
1135
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1136
|
+
}
|
|
1137
|
+
return t;
|
|
1138
|
+
}, A.apply(this, arguments);
|
|
1139
|
+
};
|
|
1140
|
+
function fn(e, t) {
|
|
1141
|
+
var r = {};
|
|
1142
|
+
for (var n in e)
|
|
1143
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1144
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1145
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1146
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1147
|
+
return r;
|
|
1148
|
+
}
|
|
1149
|
+
function Ae(e, t, r) {
|
|
1150
|
+
if (r || arguments.length === 2)
|
|
1151
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1152
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1153
|
+
return e.concat(o || Array.prototype.slice.call(t));
|
|
1154
|
+
}
|
|
1155
|
+
function Pe(e, t) {
|
|
1156
|
+
var r = t && t.cache ? t.cache : vn, n = t && t.serializer ? t.serializer : gn, i = t && t.strategy ? t.strategy : mn;
|
|
1154
1157
|
return i(e, {
|
|
1155
1158
|
cache: r,
|
|
1156
1159
|
serializer: n
|
|
1157
1160
|
});
|
|
1158
1161
|
}
|
|
1159
|
-
function
|
|
1162
|
+
function pn(e) {
|
|
1160
1163
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1161
1164
|
}
|
|
1162
|
-
function
|
|
1163
|
-
var i =
|
|
1165
|
+
function dn(e, t, r, n) {
|
|
1166
|
+
var i = pn(n) ? n : r(n), o = t.get(i);
|
|
1164
1167
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1165
1168
|
}
|
|
1166
|
-
function
|
|
1169
|
+
function Gt(e, t, r) {
|
|
1167
1170
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1168
1171
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1169
1172
|
}
|
|
1170
|
-
function
|
|
1173
|
+
function Dt(e, t, r, n, i) {
|
|
1171
1174
|
return r.bind(t, e, n, i);
|
|
1172
1175
|
}
|
|
1173
|
-
function pn(e, t) {
|
|
1174
|
-
var r = e.length === 1 ? Ut : Dt;
|
|
1175
|
-
return Qe(e, this, r, t.cache.create(), t.serializer);
|
|
1176
|
-
}
|
|
1177
|
-
function dn(e, t) {
|
|
1178
|
-
return Qe(e, this, Dt, t.cache.create(), t.serializer);
|
|
1179
|
-
}
|
|
1180
1176
|
function mn(e, t) {
|
|
1181
|
-
|
|
1177
|
+
var r = e.length === 1 ? dn : Gt;
|
|
1178
|
+
return Dt(e, this, r, t.cache.create(), t.serializer);
|
|
1182
1179
|
}
|
|
1183
|
-
|
|
1184
|
-
return
|
|
1185
|
-
};
|
|
1186
|
-
function qe() {
|
|
1187
|
-
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1180
|
+
function bn(e, t) {
|
|
1181
|
+
return Dt(e, this, Gt, t.cache.create(), t.serializer);
|
|
1188
1182
|
}
|
|
1189
|
-
|
|
1190
|
-
return
|
|
1191
|
-
}
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1183
|
+
var gn = function() {
|
|
1184
|
+
return JSON.stringify(arguments);
|
|
1185
|
+
}, yn = (
|
|
1186
|
+
/** @class */
|
|
1187
|
+
function() {
|
|
1188
|
+
function e() {
|
|
1189
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1190
|
+
}
|
|
1191
|
+
return e.prototype.get = function(t) {
|
|
1192
|
+
return this.cache[t];
|
|
1193
|
+
}, e.prototype.set = function(t, r) {
|
|
1194
|
+
this.cache[t] = r;
|
|
1195
|
+
}, e;
|
|
1196
|
+
}()
|
|
1197
|
+
), vn = {
|
|
1196
1198
|
create: function() {
|
|
1197
|
-
return new
|
|
1199
|
+
return new yn();
|
|
1198
1200
|
}
|
|
1199
|
-
},
|
|
1200
|
-
variadic:
|
|
1201
|
-
|
|
1202
|
-
|
|
1201
|
+
}, Oe = {
|
|
1202
|
+
variadic: bn
|
|
1203
|
+
}, me = function() {
|
|
1204
|
+
return me = Object.assign || function(t) {
|
|
1205
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1206
|
+
r = arguments[n];
|
|
1207
|
+
for (var o in r)
|
|
1208
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1209
|
+
}
|
|
1210
|
+
return t;
|
|
1211
|
+
}, me.apply(this, arguments);
|
|
1212
|
+
};
|
|
1213
|
+
var m;
|
|
1203
1214
|
(function(e) {
|
|
1204
1215
|
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";
|
|
1205
1216
|
})(m || (m = {}));
|
|
1206
|
-
var
|
|
1217
|
+
var v;
|
|
1207
1218
|
(function(e) {
|
|
1208
1219
|
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";
|
|
1209
|
-
})(
|
|
1210
|
-
var
|
|
1220
|
+
})(v || (v = {}));
|
|
1221
|
+
var V;
|
|
1211
1222
|
(function(e) {
|
|
1212
1223
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1213
|
-
})(
|
|
1214
|
-
function
|
|
1215
|
-
return e.type ===
|
|
1216
|
-
}
|
|
1217
|
-
function yn(e) {
|
|
1218
|
-
return e.type === _.argument;
|
|
1224
|
+
})(V || (V = {}));
|
|
1225
|
+
function ct(e) {
|
|
1226
|
+
return e.type === v.literal;
|
|
1219
1227
|
}
|
|
1220
|
-
function
|
|
1221
|
-
return e.type ===
|
|
1228
|
+
function _n(e) {
|
|
1229
|
+
return e.type === v.argument;
|
|
1222
1230
|
}
|
|
1223
1231
|
function Ft(e) {
|
|
1224
|
-
return e.type ===
|
|
1232
|
+
return e.type === v.number;
|
|
1225
1233
|
}
|
|
1226
1234
|
function jt(e) {
|
|
1227
|
-
return e.type ===
|
|
1235
|
+
return e.type === v.date;
|
|
1228
1236
|
}
|
|
1229
1237
|
function kt(e) {
|
|
1230
|
-
return e.type ===
|
|
1238
|
+
return e.type === v.time;
|
|
1231
1239
|
}
|
|
1232
1240
|
function Vt(e) {
|
|
1233
|
-
return e.type ===
|
|
1234
|
-
}
|
|
1235
|
-
function vn(e) {
|
|
1236
|
-
return e.type === _.pound;
|
|
1241
|
+
return e.type === v.select;
|
|
1237
1242
|
}
|
|
1238
1243
|
function Xt(e) {
|
|
1239
|
-
return e.type ===
|
|
1244
|
+
return e.type === v.plural;
|
|
1245
|
+
}
|
|
1246
|
+
function En(e) {
|
|
1247
|
+
return e.type === v.pound;
|
|
1240
1248
|
}
|
|
1241
1249
|
function Wt(e) {
|
|
1242
|
-
return
|
|
1250
|
+
return e.type === v.tag;
|
|
1243
1251
|
}
|
|
1244
|
-
function
|
|
1245
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1252
|
+
function zt(e) {
|
|
1253
|
+
return !!(e && typeof e == "object" && e.type === V.number);
|
|
1246
1254
|
}
|
|
1247
|
-
|
|
1248
|
-
|
|
1255
|
+
function Ve(e) {
|
|
1256
|
+
return !!(e && typeof e == "object" && e.type === V.dateTime);
|
|
1257
|
+
}
|
|
1258
|
+
var Zt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, xn = /(?:[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;
|
|
1259
|
+
function Sn(e) {
|
|
1249
1260
|
var t = {};
|
|
1250
|
-
return e.replace(
|
|
1261
|
+
return e.replace(xn, function(r) {
|
|
1251
1262
|
var n = r.length;
|
|
1252
1263
|
switch (r[0]) {
|
|
1253
1264
|
case "G":
|
|
@@ -1336,11 +1347,21 @@ function En(e) {
|
|
|
1336
1347
|
return "";
|
|
1337
1348
|
}), t;
|
|
1338
1349
|
}
|
|
1339
|
-
var
|
|
1340
|
-
function
|
|
1350
|
+
var _ = function() {
|
|
1351
|
+
return _ = Object.assign || function(t) {
|
|
1352
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1353
|
+
r = arguments[n];
|
|
1354
|
+
for (var o in r)
|
|
1355
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1356
|
+
}
|
|
1357
|
+
return t;
|
|
1358
|
+
}, _.apply(this, arguments);
|
|
1359
|
+
};
|
|
1360
|
+
var Tn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1361
|
+
function Hn(e) {
|
|
1341
1362
|
if (e.length === 0)
|
|
1342
1363
|
throw new Error("Number skeleton cannot be empty");
|
|
1343
|
-
for (var t = e.split(
|
|
1364
|
+
for (var t = e.split(Tn).filter(function(c) {
|
|
1344
1365
|
return c.length > 0;
|
|
1345
1366
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1346
1367
|
var o = i[n], s = o.split("/");
|
|
@@ -1355,17 +1376,17 @@ function Sn(e) {
|
|
|
1355
1376
|
}
|
|
1356
1377
|
return r;
|
|
1357
1378
|
}
|
|
1358
|
-
function
|
|
1379
|
+
function Bn(e) {
|
|
1359
1380
|
return e.replace(/^(.*?)-/, "");
|
|
1360
1381
|
}
|
|
1361
|
-
var
|
|
1362
|
-
function
|
|
1382
|
+
var ft = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Qt = /^(@+)?(\+|#+)?[rs]?$/g, wn = /(\*)(0+)|(#+)(0+)|(0+)/g, qt = /^(0+)$/;
|
|
1383
|
+
function pt(e) {
|
|
1363
1384
|
var t = {};
|
|
1364
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1385
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Qt, function(r, n, i) {
|
|
1365
1386
|
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)), "";
|
|
1366
1387
|
}), t;
|
|
1367
1388
|
}
|
|
1368
|
-
function
|
|
1389
|
+
function Jt(e) {
|
|
1369
1390
|
switch (e) {
|
|
1370
1391
|
case "sign-auto":
|
|
1371
1392
|
return {
|
|
@@ -1405,7 +1426,7 @@ function qt(e) {
|
|
|
1405
1426
|
};
|
|
1406
1427
|
}
|
|
1407
1428
|
}
|
|
1408
|
-
function
|
|
1429
|
+
function An(e) {
|
|
1409
1430
|
var t;
|
|
1410
1431
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1411
1432
|
notation: "engineering"
|
|
@@ -1413,17 +1434,17 @@ function Bn(e) {
|
|
|
1413
1434
|
notation: "scientific"
|
|
1414
1435
|
}, e = e.slice(1)), t) {
|
|
1415
1436
|
var r = e.slice(0, 2);
|
|
1416
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1437
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !qt.test(e))
|
|
1417
1438
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1418
1439
|
t.minimumIntegerDigits = e.length;
|
|
1419
1440
|
}
|
|
1420
1441
|
return t;
|
|
1421
1442
|
}
|
|
1422
|
-
function
|
|
1423
|
-
var t = {}, r =
|
|
1443
|
+
function dt(e) {
|
|
1444
|
+
var t = {}, r = Jt(e);
|
|
1424
1445
|
return r || t;
|
|
1425
1446
|
}
|
|
1426
|
-
function
|
|
1447
|
+
function Pn(e) {
|
|
1427
1448
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1428
1449
|
var i = n[r];
|
|
1429
1450
|
switch (i.stem) {
|
|
@@ -1447,7 +1468,7 @@ function An(e) {
|
|
|
1447
1468
|
continue;
|
|
1448
1469
|
case "measure-unit":
|
|
1449
1470
|
case "unit":
|
|
1450
|
-
t.style = "unit", t.unit =
|
|
1471
|
+
t.style = "unit", t.unit = Bn(i.options[0]);
|
|
1451
1472
|
continue;
|
|
1452
1473
|
case "compact-short":
|
|
1453
1474
|
case "K":
|
|
@@ -1458,13 +1479,13 @@ function An(e) {
|
|
|
1458
1479
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1459
1480
|
continue;
|
|
1460
1481
|
case "scientific":
|
|
1461
|
-
t =
|
|
1462
|
-
return
|
|
1482
|
+
t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1483
|
+
return _(_({}, h), dt(u));
|
|
1463
1484
|
}, {}));
|
|
1464
1485
|
continue;
|
|
1465
1486
|
case "engineering":
|
|
1466
|
-
t =
|
|
1467
|
-
return
|
|
1487
|
+
t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1488
|
+
return _(_({}, h), dt(u));
|
|
1468
1489
|
}, {}));
|
|
1469
1490
|
continue;
|
|
1470
1491
|
case "notation-simple":
|
|
@@ -1509,7 +1530,7 @@ function An(e) {
|
|
|
1509
1530
|
case "integer-width":
|
|
1510
1531
|
if (i.options.length > 1)
|
|
1511
1532
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1512
|
-
i.options[0].replace(
|
|
1533
|
+
i.options[0].replace(wn, function(h, u, l, f, c, p) {
|
|
1513
1534
|
if (u)
|
|
1514
1535
|
t.minimumIntegerDigits = l.length;
|
|
1515
1536
|
else {
|
|
@@ -1522,28 +1543,28 @@ function An(e) {
|
|
|
1522
1543
|
});
|
|
1523
1544
|
continue;
|
|
1524
1545
|
}
|
|
1525
|
-
if (
|
|
1546
|
+
if (qt.test(i.stem)) {
|
|
1526
1547
|
t.minimumIntegerDigits = i.stem.length;
|
|
1527
1548
|
continue;
|
|
1528
1549
|
}
|
|
1529
|
-
if (
|
|
1550
|
+
if (ft.test(i.stem)) {
|
|
1530
1551
|
if (i.options.length > 1)
|
|
1531
1552
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1532
|
-
i.stem.replace(
|
|
1553
|
+
i.stem.replace(ft, function(h, u, l, f, c, p) {
|
|
1533
1554
|
return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1534
1555
|
});
|
|
1535
1556
|
var o = i.options[0];
|
|
1536
|
-
o === "w" ? t =
|
|
1557
|
+
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), pt(o)));
|
|
1537
1558
|
continue;
|
|
1538
1559
|
}
|
|
1539
|
-
if (
|
|
1540
|
-
t =
|
|
1560
|
+
if (Qt.test(i.stem)) {
|
|
1561
|
+
t = _(_({}, t), pt(i.stem));
|
|
1541
1562
|
continue;
|
|
1542
1563
|
}
|
|
1543
|
-
var s =
|
|
1544
|
-
s && (t =
|
|
1545
|
-
var a =
|
|
1546
|
-
a && (t =
|
|
1564
|
+
var s = Jt(i.stem);
|
|
1565
|
+
s && (t = _(_({}, t), s));
|
|
1566
|
+
var a = An(i.stem);
|
|
1567
|
+
a && (t = _(_({}, t), a));
|
|
1547
1568
|
}
|
|
1548
1569
|
return t;
|
|
1549
1570
|
}
|
|
@@ -2962,13 +2983,13 @@ var le = {
|
|
|
2962
2983
|
"h"
|
|
2963
2984
|
]
|
|
2964
2985
|
};
|
|
2965
|
-
function
|
|
2986
|
+
function On(e, t) {
|
|
2966
2987
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2967
2988
|
var i = e.charAt(n);
|
|
2968
2989
|
if (i === "j") {
|
|
2969
2990
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2970
2991
|
o++, n++;
|
|
2971
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
|
2992
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = In(t);
|
|
2972
2993
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2973
2994
|
r += h;
|
|
2974
2995
|
for (; s-- > 0; )
|
|
@@ -2978,7 +2999,7 @@ function wn(e, t) {
|
|
|
2978
2999
|
}
|
|
2979
3000
|
return r;
|
|
2980
3001
|
}
|
|
2981
|
-
function
|
|
3002
|
+
function In(e) {
|
|
2982
3003
|
var t = e.hourCycle;
|
|
2983
3004
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2984
3005
|
e.hourCycles && // @ts-ignore
|
|
@@ -3000,20 +3021,20 @@ function Pn(e) {
|
|
|
3000
3021
|
var i = le[n || ""] || le[r || ""] || le["".concat(r, "-001")] || le["001"];
|
|
3001
3022
|
return i[0];
|
|
3002
3023
|
}
|
|
3003
|
-
var
|
|
3024
|
+
var Ie, Ln = new RegExp("^".concat(Zt.source, "*")), Nn = new RegExp("".concat(Zt.source, "*$"));
|
|
3004
3025
|
function b(e, t) {
|
|
3005
3026
|
return { start: e, end: t };
|
|
3006
3027
|
}
|
|
3007
|
-
var
|
|
3028
|
+
var Mn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Cn = !!String.fromCodePoint, $n = !!Object.fromEntries, Rn = !!String.prototype.codePointAt, Un = !!String.prototype.trimStart, Gn = !!String.prototype.trimEnd, Dn = !!Number.isSafeInteger, Fn = Dn ? Number.isSafeInteger : function(e) {
|
|
3008
3029
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3009
|
-
},
|
|
3030
|
+
}, Xe = !0;
|
|
3010
3031
|
try {
|
|
3011
|
-
var
|
|
3012
|
-
|
|
3032
|
+
var jn = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3033
|
+
Xe = ((Ie = jn.exec("a")) === null || Ie === void 0 ? void 0 : Ie[0]) === "a";
|
|
3013
3034
|
} catch {
|
|
3014
|
-
|
|
3035
|
+
Xe = !1;
|
|
3015
3036
|
}
|
|
3016
|
-
var
|
|
3037
|
+
var mt = Mn ? (
|
|
3017
3038
|
// Native
|
|
3018
3039
|
function(t, r, n) {
|
|
3019
3040
|
return t.startsWith(r, n);
|
|
@@ -3023,7 +3044,7 @@ var pt = Ln ? (
|
|
|
3023
3044
|
function(t, r, n) {
|
|
3024
3045
|
return t.slice(n, n + r.length) === r;
|
|
3025
3046
|
}
|
|
3026
|
-
),
|
|
3047
|
+
), We = Cn ? String.fromCodePoint : (
|
|
3027
3048
|
// IE11
|
|
3028
3049
|
function() {
|
|
3029
3050
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3035,9 +3056,9 @@ var pt = Ln ? (
|
|
|
3035
3056
|
}
|
|
3036
3057
|
return n;
|
|
3037
3058
|
}
|
|
3038
|
-
),
|
|
3059
|
+
), bt = (
|
|
3039
3060
|
// native
|
|
3040
|
-
|
|
3061
|
+
$n ? Object.fromEntries : (
|
|
3041
3062
|
// Ponyfill
|
|
3042
3063
|
function(t) {
|
|
3043
3064
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3047,7 +3068,7 @@ var pt = Ln ? (
|
|
|
3047
3068
|
return r;
|
|
3048
3069
|
}
|
|
3049
3070
|
)
|
|
3050
|
-
),
|
|
3071
|
+
), Yt = Rn ? (
|
|
3051
3072
|
// Native
|
|
3052
3073
|
function(t, r) {
|
|
3053
3074
|
return t.codePointAt(r);
|
|
@@ -3061,7 +3082,7 @@ var pt = Ln ? (
|
|
|
3061
3082
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3062
3083
|
}
|
|
3063
3084
|
}
|
|
3064
|
-
),
|
|
3085
|
+
), kn = Un ? (
|
|
3065
3086
|
// Native
|
|
3066
3087
|
function(t) {
|
|
3067
3088
|
return t.trimStart();
|
|
@@ -3069,9 +3090,9 @@ var pt = Ln ? (
|
|
|
3069
3090
|
) : (
|
|
3070
3091
|
// Ponyfill
|
|
3071
3092
|
function(t) {
|
|
3072
|
-
return t.replace(
|
|
3093
|
+
return t.replace(Ln, "");
|
|
3073
3094
|
}
|
|
3074
|
-
),
|
|
3095
|
+
), Vn = Gn ? (
|
|
3075
3096
|
// Native
|
|
3076
3097
|
function(t) {
|
|
3077
3098
|
return t.trimEnd();
|
|
@@ -3079,32 +3100,32 @@ var pt = Ln ? (
|
|
|
3079
3100
|
) : (
|
|
3080
3101
|
// Ponyfill
|
|
3081
3102
|
function(t) {
|
|
3082
|
-
return t.replace(
|
|
3103
|
+
return t.replace(Nn, "");
|
|
3083
3104
|
}
|
|
3084
3105
|
);
|
|
3085
|
-
function
|
|
3106
|
+
function Kt(e, t) {
|
|
3086
3107
|
return new RegExp(e, t);
|
|
3087
3108
|
}
|
|
3088
|
-
var
|
|
3089
|
-
if (
|
|
3090
|
-
var
|
|
3091
|
-
|
|
3109
|
+
var ze;
|
|
3110
|
+
if (Xe) {
|
|
3111
|
+
var gt = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3112
|
+
ze = function(t, r) {
|
|
3092
3113
|
var n;
|
|
3093
|
-
|
|
3094
|
-
var i =
|
|
3114
|
+
gt.lastIndex = r;
|
|
3115
|
+
var i = gt.exec(t);
|
|
3095
3116
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3096
3117
|
};
|
|
3097
3118
|
} else
|
|
3098
|
-
|
|
3119
|
+
ze = function(t, r) {
|
|
3099
3120
|
for (var n = []; ; ) {
|
|
3100
|
-
var i =
|
|
3101
|
-
if (i === void 0 ||
|
|
3121
|
+
var i = Yt(t, r);
|
|
3122
|
+
if (i === void 0 || er(i) || Zn(i))
|
|
3102
3123
|
break;
|
|
3103
3124
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3104
3125
|
}
|
|
3105
|
-
return
|
|
3126
|
+
return We.apply(void 0, n);
|
|
3106
3127
|
};
|
|
3107
|
-
var
|
|
3128
|
+
var Xn = (
|
|
3108
3129
|
/** @class */
|
|
3109
3130
|
function() {
|
|
3110
3131
|
function e(t, r) {
|
|
@@ -3128,14 +3149,14 @@ var kn = (
|
|
|
3128
3149
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3129
3150
|
var a = this.clonePosition();
|
|
3130
3151
|
this.bump(), i.push({
|
|
3131
|
-
type:
|
|
3152
|
+
type: v.pound,
|
|
3132
3153
|
location: b(a, this.clonePosition())
|
|
3133
3154
|
});
|
|
3134
3155
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3135
3156
|
if (n)
|
|
3136
3157
|
break;
|
|
3137
3158
|
return this.error(m.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
|
|
3138
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3159
|
+
} else if (o === 60 && !this.ignoreTag && Ze(this.peek() || 0)) {
|
|
3139
3160
|
var s = this.parseTag(t, r);
|
|
3140
3161
|
if (s.err)
|
|
3141
3162
|
return s;
|
|
@@ -3156,7 +3177,7 @@ var kn = (
|
|
|
3156
3177
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3157
3178
|
return {
|
|
3158
3179
|
val: {
|
|
3159
|
-
type:
|
|
3180
|
+
type: v.literal,
|
|
3160
3181
|
value: "<".concat(i, "/>"),
|
|
3161
3182
|
location: b(n, this.clonePosition())
|
|
3162
3183
|
},
|
|
@@ -3168,12 +3189,12 @@ var kn = (
|
|
|
3168
3189
|
return o;
|
|
3169
3190
|
var s = o.val, a = this.clonePosition();
|
|
3170
3191
|
if (this.bumpIf("</")) {
|
|
3171
|
-
if (this.isEOF() || !
|
|
3192
|
+
if (this.isEOF() || !Ze(this.char()))
|
|
3172
3193
|
return this.error(m.INVALID_TAG, b(a, this.clonePosition()));
|
|
3173
3194
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
3174
3195
|
return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3175
3196
|
val: {
|
|
3176
|
-
type:
|
|
3197
|
+
type: v.tag,
|
|
3177
3198
|
value: i,
|
|
3178
3199
|
children: s,
|
|
3179
3200
|
location: b(n, this.clonePosition())
|
|
@@ -3186,7 +3207,7 @@ var kn = (
|
|
|
3186
3207
|
return this.error(m.INVALID_TAG, b(n, this.clonePosition()));
|
|
3187
3208
|
}, e.prototype.parseTagName = function() {
|
|
3188
3209
|
var t = this.offset();
|
|
3189
|
-
for (this.bump(); !this.isEOF() &&
|
|
3210
|
+
for (this.bump(); !this.isEOF() && zn(this.char()); )
|
|
3190
3211
|
this.bump();
|
|
3191
3212
|
return this.message.slice(t, this.offset());
|
|
3192
3213
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3210,12 +3231,12 @@ var kn = (
|
|
|
3210
3231
|
}
|
|
3211
3232
|
var h = b(n, this.clonePosition());
|
|
3212
3233
|
return {
|
|
3213
|
-
val: { type:
|
|
3234
|
+
val: { type: v.literal, value: i, location: h },
|
|
3214
3235
|
err: null
|
|
3215
3236
|
};
|
|
3216
3237
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3217
3238
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3218
|
-
!
|
|
3239
|
+
!Wn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3219
3240
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3220
3241
|
if (this.isEOF() || this.char() !== 39)
|
|
3221
3242
|
return null;
|
|
@@ -3249,12 +3270,12 @@ var kn = (
|
|
|
3249
3270
|
r.push(n);
|
|
3250
3271
|
this.bump();
|
|
3251
3272
|
}
|
|
3252
|
-
return
|
|
3273
|
+
return We.apply(void 0, r);
|
|
3253
3274
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3254
3275
|
if (this.isEOF())
|
|
3255
3276
|
return null;
|
|
3256
3277
|
var n = this.char();
|
|
3257
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3278
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), We(n));
|
|
3258
3279
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3259
3280
|
var n = this.clonePosition();
|
|
3260
3281
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3270,7 +3291,7 @@ var kn = (
|
|
|
3270
3291
|
case 125:
|
|
3271
3292
|
return this.bump(), {
|
|
3272
3293
|
val: {
|
|
3273
|
-
type:
|
|
3294
|
+
type: v.argument,
|
|
3274
3295
|
// value does not include the opening and closing braces.
|
|
3275
3296
|
value: i,
|
|
3276
3297
|
location: b(n, this.clonePosition())
|
|
@@ -3283,7 +3304,7 @@ var kn = (
|
|
|
3283
3304
|
return this.error(m.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
|
|
3284
3305
|
}
|
|
3285
3306
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3286
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3307
|
+
var t = this.clonePosition(), r = this.offset(), n = ze(this.message, r), i = r + n.length;
|
|
3287
3308
|
this.bumpTo(i);
|
|
3288
3309
|
var o = this.clonePosition(), s = b(t, o);
|
|
3289
3310
|
return { value: n, location: s };
|
|
@@ -3302,7 +3323,7 @@ var kn = (
|
|
|
3302
3323
|
var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3303
3324
|
if (f.err)
|
|
3304
3325
|
return f;
|
|
3305
|
-
var c =
|
|
3326
|
+
var c = Vn(f.val);
|
|
3306
3327
|
if (c.length === 0)
|
|
3307
3328
|
return this.error(m.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
|
|
3308
3329
|
var p = b(l, this.clonePosition());
|
|
@@ -3311,37 +3332,37 @@ var kn = (
|
|
|
3311
3332
|
var d = this.tryParseArgumentClose(i);
|
|
3312
3333
|
if (d.err)
|
|
3313
3334
|
return d;
|
|
3314
|
-
var
|
|
3315
|
-
if (u &&
|
|
3316
|
-
var H =
|
|
3335
|
+
var y = b(i, this.clonePosition());
|
|
3336
|
+
if (u && mt(u?.style, "::", 0)) {
|
|
3337
|
+
var H = kn(u.style.slice(2));
|
|
3317
3338
|
if (a === "number") {
|
|
3318
3339
|
var f = this.parseNumberSkeletonFromString(H, u.styleLocation);
|
|
3319
3340
|
return f.err ? f : {
|
|
3320
|
-
val: { type:
|
|
3341
|
+
val: { type: v.number, value: n, location: y, style: f.val },
|
|
3321
3342
|
err: null
|
|
3322
3343
|
};
|
|
3323
3344
|
} else {
|
|
3324
3345
|
if (H.length === 0)
|
|
3325
|
-
return this.error(m.EXPECT_DATE_TIME_SKELETON,
|
|
3346
|
+
return this.error(m.EXPECT_DATE_TIME_SKELETON, y);
|
|
3326
3347
|
var C = H;
|
|
3327
|
-
this.locale && (C =
|
|
3348
|
+
this.locale && (C = On(H, this.locale));
|
|
3328
3349
|
var c = {
|
|
3329
|
-
type:
|
|
3350
|
+
type: V.dateTime,
|
|
3330
3351
|
pattern: C,
|
|
3331
3352
|
location: u.styleLocation,
|
|
3332
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3333
|
-
}, L = a === "date" ?
|
|
3353
|
+
parsedOptions: this.shouldParseSkeletons ? Sn(C) : {}
|
|
3354
|
+
}, L = a === "date" ? v.date : v.time;
|
|
3334
3355
|
return {
|
|
3335
|
-
val: { type: L, value: n, location:
|
|
3356
|
+
val: { type: L, value: n, location: y, style: c },
|
|
3336
3357
|
err: null
|
|
3337
3358
|
};
|
|
3338
3359
|
}
|
|
3339
3360
|
}
|
|
3340
3361
|
return {
|
|
3341
3362
|
val: {
|
|
3342
|
-
type: a === "number" ?
|
|
3363
|
+
type: a === "number" ? v.number : a === "date" ? v.date : v.time,
|
|
3343
3364
|
value: n,
|
|
3344
|
-
location:
|
|
3365
|
+
location: y,
|
|
3345
3366
|
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
3346
3367
|
},
|
|
3347
3368
|
err: null
|
|
@@ -3352,9 +3373,9 @@ var kn = (
|
|
|
3352
3373
|
case "select": {
|
|
3353
3374
|
var x = this.clonePosition();
|
|
3354
3375
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3355
|
-
return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(x,
|
|
3376
|
+
return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(x, me({}, x)));
|
|
3356
3377
|
this.bumpSpace();
|
|
3357
|
-
var $ = this.parseIdentifierIfPossible(),
|
|
3378
|
+
var $ = this.parseIdentifierIfPossible(), P = 0;
|
|
3358
3379
|
if (a !== "select" && $.value === "offset") {
|
|
3359
3380
|
if (!this.bumpIf(":"))
|
|
3360
3381
|
return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
|
|
@@ -3362,7 +3383,7 @@ var kn = (
|
|
|
3362
3383
|
var f = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3363
3384
|
if (f.err)
|
|
3364
3385
|
return f;
|
|
3365
|
-
this.bumpSpace(), $ = this.parseIdentifierIfPossible(),
|
|
3386
|
+
this.bumpSpace(), $ = this.parseIdentifierIfPossible(), P = f.val;
|
|
3366
3387
|
}
|
|
3367
3388
|
var U = this.tryParsePluralOrSelectOptions(t, a, r, $);
|
|
3368
3389
|
if (U.err)
|
|
@@ -3373,18 +3394,18 @@ var kn = (
|
|
|
3373
3394
|
var ae = b(i, this.clonePosition());
|
|
3374
3395
|
return a === "select" ? {
|
|
3375
3396
|
val: {
|
|
3376
|
-
type:
|
|
3397
|
+
type: v.select,
|
|
3377
3398
|
value: n,
|
|
3378
|
-
options:
|
|
3399
|
+
options: bt(U.val),
|
|
3379
3400
|
location: ae
|
|
3380
3401
|
},
|
|
3381
3402
|
err: null
|
|
3382
3403
|
} : {
|
|
3383
3404
|
val: {
|
|
3384
|
-
type:
|
|
3405
|
+
type: v.plural,
|
|
3385
3406
|
value: n,
|
|
3386
|
-
options:
|
|
3387
|
-
offset:
|
|
3407
|
+
options: bt(U.val),
|
|
3408
|
+
offset: P,
|
|
3388
3409
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3389
3410
|
location: ae
|
|
3390
3411
|
},
|
|
@@ -3434,16 +3455,16 @@ var kn = (
|
|
|
3434
3455
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3435
3456
|
var n = [];
|
|
3436
3457
|
try {
|
|
3437
|
-
n =
|
|
3458
|
+
n = Hn(t);
|
|
3438
3459
|
} catch {
|
|
3439
3460
|
return this.error(m.INVALID_NUMBER_SKELETON, r);
|
|
3440
3461
|
}
|
|
3441
3462
|
return {
|
|
3442
3463
|
val: {
|
|
3443
|
-
type:
|
|
3464
|
+
type: V.number,
|
|
3444
3465
|
tokens: n,
|
|
3445
3466
|
location: r,
|
|
3446
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3467
|
+
parsedOptions: this.shouldParseSkeletons ? Pn(n) : {}
|
|
3447
3468
|
},
|
|
3448
3469
|
err: null
|
|
3449
3470
|
};
|
|
@@ -3468,9 +3489,9 @@ var kn = (
|
|
|
3468
3489
|
var d = this.parseMessage(t + 1, r, n);
|
|
3469
3490
|
if (d.err)
|
|
3470
3491
|
return d;
|
|
3471
|
-
var
|
|
3472
|
-
if (
|
|
3473
|
-
return
|
|
3492
|
+
var y = this.tryParseArgumentClose(p);
|
|
3493
|
+
if (y.err)
|
|
3494
|
+
return y;
|
|
3474
3495
|
a.push([
|
|
3475
3496
|
u,
|
|
3476
3497
|
{
|
|
@@ -3491,7 +3512,7 @@ var kn = (
|
|
|
3491
3512
|
break;
|
|
3492
3513
|
}
|
|
3493
3514
|
var h = b(i, this.clonePosition());
|
|
3494
|
-
return o ? (s *= n,
|
|
3515
|
+
return o ? (s *= n, Fn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3495
3516
|
}, e.prototype.offset = function() {
|
|
3496
3517
|
return this.position.offset;
|
|
3497
3518
|
}, e.prototype.isEOF = function() {
|
|
@@ -3506,7 +3527,7 @@ var kn = (
|
|
|
3506
3527
|
var t = this.position.offset;
|
|
3507
3528
|
if (t >= this.message.length)
|
|
3508
3529
|
throw Error("out of bound");
|
|
3509
|
-
var r =
|
|
3530
|
+
var r = Yt(this.message, t);
|
|
3510
3531
|
if (r === void 0)
|
|
3511
3532
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3512
3533
|
return r;
|
|
@@ -3525,7 +3546,7 @@ var kn = (
|
|
|
3525
3546
|
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);
|
|
3526
3547
|
}
|
|
3527
3548
|
}, e.prototype.bumpIf = function(t) {
|
|
3528
|
-
if (
|
|
3549
|
+
if (mt(this.message, t, this.offset())) {
|
|
3529
3550
|
for (var r = 0; r < t.length; r++)
|
|
3530
3551
|
this.bump();
|
|
3531
3552
|
return !0;
|
|
@@ -3547,7 +3568,7 @@ var kn = (
|
|
|
3547
3568
|
break;
|
|
3548
3569
|
}
|
|
3549
3570
|
}, e.prototype.bumpSpace = function() {
|
|
3550
|
-
for (; !this.isEOF() &&
|
|
3571
|
+
for (; !this.isEOF() && er(this.char()); )
|
|
3551
3572
|
this.bump();
|
|
3552
3573
|
}, e.prototype.peek = function() {
|
|
3553
3574
|
if (this.isEOF())
|
|
@@ -3557,47 +3578,47 @@ var kn = (
|
|
|
3557
3578
|
}, e;
|
|
3558
3579
|
}()
|
|
3559
3580
|
);
|
|
3560
|
-
function
|
|
3581
|
+
function Ze(e) {
|
|
3561
3582
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3562
3583
|
}
|
|
3563
|
-
function
|
|
3564
|
-
return
|
|
3584
|
+
function Wn(e) {
|
|
3585
|
+
return Ze(e) || e === 47;
|
|
3565
3586
|
}
|
|
3566
|
-
function
|
|
3587
|
+
function zn(e) {
|
|
3567
3588
|
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;
|
|
3568
3589
|
}
|
|
3569
|
-
function
|
|
3590
|
+
function er(e) {
|
|
3570
3591
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3571
3592
|
}
|
|
3572
|
-
function
|
|
3593
|
+
function Zn(e) {
|
|
3573
3594
|
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;
|
|
3574
3595
|
}
|
|
3575
|
-
function
|
|
3596
|
+
function Qe(e) {
|
|
3576
3597
|
e.forEach(function(t) {
|
|
3577
|
-
if (delete t.location,
|
|
3598
|
+
if (delete t.location, Vt(t) || Xt(t))
|
|
3578
3599
|
for (var r in t.options)
|
|
3579
|
-
delete t.options[r].location,
|
|
3600
|
+
delete t.options[r].location, Qe(t.options[r].value);
|
|
3580
3601
|
else
|
|
3581
|
-
|
|
3602
|
+
Ft(t) && zt(t.style) || (jt(t) || kt(t)) && Ve(t.style) ? delete t.style.location : Wt(t) && Qe(t.children);
|
|
3582
3603
|
});
|
|
3583
3604
|
}
|
|
3584
|
-
function
|
|
3585
|
-
t === void 0 && (t = {}), t =
|
|
3586
|
-
var r = new
|
|
3605
|
+
function Qn(e, t) {
|
|
3606
|
+
t === void 0 && (t = {}), t = me({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3607
|
+
var r = new Xn(e, t).parse();
|
|
3587
3608
|
if (r.err) {
|
|
3588
3609
|
var n = SyntaxError(m[r.err.kind]);
|
|
3589
3610
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3590
3611
|
}
|
|
3591
|
-
return t?.captureLocation ||
|
|
3612
|
+
return t?.captureLocation || Qe(r.val), r.val;
|
|
3592
3613
|
}
|
|
3593
|
-
var
|
|
3614
|
+
var X;
|
|
3594
3615
|
(function(e) {
|
|
3595
3616
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3596
|
-
})(
|
|
3597
|
-
var
|
|
3617
|
+
})(X || (X = {}));
|
|
3618
|
+
var xe = (
|
|
3598
3619
|
/** @class */
|
|
3599
3620
|
function(e) {
|
|
3600
|
-
|
|
3621
|
+
Ee(t, e);
|
|
3601
3622
|
function t(r, n, i) {
|
|
3602
3623
|
var o = e.call(this, r) || this;
|
|
3603
3624
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3606,48 +3627,48 @@ var _e = (
|
|
|
3606
3627
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3607
3628
|
}, t;
|
|
3608
3629
|
}(Error)
|
|
3609
|
-
),
|
|
3630
|
+
), yt = (
|
|
3610
3631
|
/** @class */
|
|
3611
3632
|
function(e) {
|
|
3612
|
-
|
|
3633
|
+
Ee(t, e);
|
|
3613
3634
|
function t(r, n, i, o) {
|
|
3614
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3635
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), X.INVALID_VALUE, o) || this;
|
|
3615
3636
|
}
|
|
3616
3637
|
return t;
|
|
3617
|
-
}(
|
|
3618
|
-
),
|
|
3638
|
+
}(xe)
|
|
3639
|
+
), qn = (
|
|
3619
3640
|
/** @class */
|
|
3620
3641
|
function(e) {
|
|
3621
|
-
|
|
3642
|
+
Ee(t, e);
|
|
3622
3643
|
function t(r, n, i) {
|
|
3623
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3644
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), X.INVALID_VALUE, i) || this;
|
|
3624
3645
|
}
|
|
3625
3646
|
return t;
|
|
3626
|
-
}(
|
|
3627
|
-
),
|
|
3647
|
+
}(xe)
|
|
3648
|
+
), Jn = (
|
|
3628
3649
|
/** @class */
|
|
3629
3650
|
function(e) {
|
|
3630
|
-
|
|
3651
|
+
Ee(t, e);
|
|
3631
3652
|
function t(r, n) {
|
|
3632
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3653
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), X.MISSING_VALUE, n) || this;
|
|
3633
3654
|
}
|
|
3634
3655
|
return t;
|
|
3635
|
-
}(
|
|
3656
|
+
}(xe)
|
|
3636
3657
|
), E;
|
|
3637
3658
|
(function(e) {
|
|
3638
3659
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3639
3660
|
})(E || (E = {}));
|
|
3640
|
-
function
|
|
3661
|
+
function Yn(e) {
|
|
3641
3662
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3642
3663
|
var n = t[t.length - 1];
|
|
3643
3664
|
return !n || n.type !== E.literal || r.type !== E.literal ? t.push(r) : n.value += r.value, t;
|
|
3644
3665
|
}, []);
|
|
3645
3666
|
}
|
|
3646
|
-
function
|
|
3667
|
+
function Kn(e) {
|
|
3647
3668
|
return typeof e == "function";
|
|
3648
3669
|
}
|
|
3649
3670
|
function pe(e, t, r, n, i, o, s) {
|
|
3650
|
-
if (e.length === 1 &&
|
|
3671
|
+
if (e.length === 1 && ct(e[0]))
|
|
3651
3672
|
return [
|
|
3652
3673
|
{
|
|
3653
3674
|
type: E.literal,
|
|
@@ -3656,14 +3677,14 @@ function pe(e, t, r, n, i, o, s) {
|
|
|
3656
3677
|
];
|
|
3657
3678
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
|
3658
3679
|
var l = u[h];
|
|
3659
|
-
if (
|
|
3680
|
+
if (ct(l)) {
|
|
3660
3681
|
a.push({
|
|
3661
3682
|
type: E.literal,
|
|
3662
3683
|
value: l.value
|
|
3663
3684
|
});
|
|
3664
3685
|
continue;
|
|
3665
3686
|
}
|
|
3666
|
-
if (
|
|
3687
|
+
if (En(l)) {
|
|
3667
3688
|
typeof o == "number" && a.push({
|
|
3668
3689
|
type: E.literal,
|
|
3669
3690
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3672,89 +3693,89 @@ function pe(e, t, r, n, i, o, s) {
|
|
|
3672
3693
|
}
|
|
3673
3694
|
var f = l.value;
|
|
3674
3695
|
if (!(i && f in i))
|
|
3675
|
-
throw new
|
|
3696
|
+
throw new Jn(f, s);
|
|
3676
3697
|
var c = i[f];
|
|
3677
|
-
if (
|
|
3698
|
+
if (_n(l)) {
|
|
3678
3699
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
|
3679
3700
|
type: typeof c == "string" ? E.literal : E.object,
|
|
3680
3701
|
value: c
|
|
3681
3702
|
});
|
|
3682
3703
|
continue;
|
|
3683
3704
|
}
|
|
3684
|
-
if (
|
|
3685
|
-
var p = typeof l.style == "string" ? n.date[l.style] :
|
|
3705
|
+
if (jt(l)) {
|
|
3706
|
+
var p = typeof l.style == "string" ? n.date[l.style] : Ve(l.style) ? l.style.parsedOptions : void 0;
|
|
3686
3707
|
a.push({
|
|
3687
3708
|
type: E.literal,
|
|
3688
3709
|
value: r.getDateTimeFormat(t, p).format(c)
|
|
3689
3710
|
});
|
|
3690
3711
|
continue;
|
|
3691
3712
|
}
|
|
3692
|
-
if (
|
|
3693
|
-
var p = typeof l.style == "string" ? n.time[l.style] :
|
|
3713
|
+
if (kt(l)) {
|
|
3714
|
+
var p = typeof l.style == "string" ? n.time[l.style] : Ve(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3694
3715
|
a.push({
|
|
3695
3716
|
type: E.literal,
|
|
3696
3717
|
value: r.getDateTimeFormat(t, p).format(c)
|
|
3697
3718
|
});
|
|
3698
3719
|
continue;
|
|
3699
3720
|
}
|
|
3700
|
-
if (
|
|
3701
|
-
var p = typeof l.style == "string" ? n.number[l.style] :
|
|
3721
|
+
if (Ft(l)) {
|
|
3722
|
+
var p = typeof l.style == "string" ? n.number[l.style] : zt(l.style) ? l.style.parsedOptions : void 0;
|
|
3702
3723
|
p && p.scale && (c = c * (p.scale || 1)), a.push({
|
|
3703
3724
|
type: E.literal,
|
|
3704
3725
|
value: r.getNumberFormat(t, p).format(c)
|
|
3705
3726
|
});
|
|
3706
3727
|
continue;
|
|
3707
3728
|
}
|
|
3708
|
-
if (
|
|
3709
|
-
var d = l.children,
|
|
3710
|
-
if (!
|
|
3711
|
-
throw new
|
|
3712
|
-
var C = pe(d, t, r, n, i, o), L = H(C.map(function(
|
|
3713
|
-
return
|
|
3729
|
+
if (Wt(l)) {
|
|
3730
|
+
var d = l.children, y = l.value, H = i[y];
|
|
3731
|
+
if (!Kn(H))
|
|
3732
|
+
throw new qn(y, "function", s);
|
|
3733
|
+
var C = pe(d, t, r, n, i, o), L = H(C.map(function(P) {
|
|
3734
|
+
return P.value;
|
|
3714
3735
|
}));
|
|
3715
|
-
Array.isArray(L) || (L = [L]), a.push.apply(a, L.map(function(
|
|
3736
|
+
Array.isArray(L) || (L = [L]), a.push.apply(a, L.map(function(P) {
|
|
3716
3737
|
return {
|
|
3717
|
-
type: typeof
|
|
3718
|
-
value:
|
|
3738
|
+
type: typeof P == "string" ? E.literal : E.object,
|
|
3739
|
+
value: P
|
|
3719
3740
|
};
|
|
3720
3741
|
}));
|
|
3721
3742
|
}
|
|
3722
|
-
if (
|
|
3743
|
+
if (Vt(l)) {
|
|
3723
3744
|
var x = l.options[c] || l.options.other;
|
|
3724
3745
|
if (!x)
|
|
3725
|
-
throw new
|
|
3746
|
+
throw new yt(l.value, c, Object.keys(l.options), s);
|
|
3726
3747
|
a.push.apply(a, pe(x.value, t, r, n, i));
|
|
3727
3748
|
continue;
|
|
3728
3749
|
}
|
|
3729
|
-
if (
|
|
3750
|
+
if (Xt(l)) {
|
|
3730
3751
|
var x = l.options["=".concat(c)];
|
|
3731
3752
|
if (!x) {
|
|
3732
3753
|
if (!Intl.PluralRules)
|
|
3733
|
-
throw new
|
|
3754
|
+
throw new xe(`Intl.PluralRules is not available in this environment.
|
|
3734
3755
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3735
|
-
`,
|
|
3756
|
+
`, X.MISSING_INTL_API, s);
|
|
3736
3757
|
var $ = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
|
3737
3758
|
x = l.options[$] || l.options.other;
|
|
3738
3759
|
}
|
|
3739
3760
|
if (!x)
|
|
3740
|
-
throw new
|
|
3761
|
+
throw new yt(l.value, c, Object.keys(l.options), s);
|
|
3741
3762
|
a.push.apply(a, pe(x.value, t, r, n, i, c - (l.offset || 0)));
|
|
3742
3763
|
continue;
|
|
3743
3764
|
}
|
|
3744
3765
|
}
|
|
3745
|
-
return
|
|
3766
|
+
return Yn(a);
|
|
3746
3767
|
}
|
|
3747
|
-
function
|
|
3748
|
-
return t ?
|
|
3749
|
-
return r[n] =
|
|
3768
|
+
function ei(e, t) {
|
|
3769
|
+
return t ? A(A(A({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3770
|
+
return r[n] = A(A({}, e[n]), t[n] || {}), r;
|
|
3750
3771
|
}, {})) : e;
|
|
3751
3772
|
}
|
|
3752
|
-
function
|
|
3773
|
+
function ti(e, t) {
|
|
3753
3774
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3754
|
-
return r[n] =
|
|
3755
|
-
},
|
|
3775
|
+
return r[n] = ei(e[n], t[n]), r;
|
|
3776
|
+
}, A({}, e)) : e;
|
|
3756
3777
|
}
|
|
3757
|
-
function
|
|
3778
|
+
function Le(e) {
|
|
3758
3779
|
return {
|
|
3759
3780
|
create: function() {
|
|
3760
3781
|
return {
|
|
@@ -3768,39 +3789,39 @@ function Oe(e) {
|
|
|
3768
3789
|
}
|
|
3769
3790
|
};
|
|
3770
3791
|
}
|
|
3771
|
-
function
|
|
3792
|
+
function ri(e) {
|
|
3772
3793
|
return e === void 0 && (e = {
|
|
3773
3794
|
number: {},
|
|
3774
3795
|
dateTime: {},
|
|
3775
3796
|
pluralRules: {}
|
|
3776
3797
|
}), {
|
|
3777
|
-
getNumberFormat:
|
|
3798
|
+
getNumberFormat: Pe(function() {
|
|
3778
3799
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3779
3800
|
r[n] = arguments[n];
|
|
3780
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3801
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Ae([void 0], r, !1)))();
|
|
3781
3802
|
}, {
|
|
3782
|
-
cache:
|
|
3783
|
-
strategy:
|
|
3803
|
+
cache: Le(e.number),
|
|
3804
|
+
strategy: Oe.variadic
|
|
3784
3805
|
}),
|
|
3785
|
-
getDateTimeFormat:
|
|
3806
|
+
getDateTimeFormat: Pe(function() {
|
|
3786
3807
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3787
3808
|
r[n] = arguments[n];
|
|
3788
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3809
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ae([void 0], r, !1)))();
|
|
3789
3810
|
}, {
|
|
3790
|
-
cache:
|
|
3791
|
-
strategy:
|
|
3811
|
+
cache: Le(e.dateTime),
|
|
3812
|
+
strategy: Oe.variadic
|
|
3792
3813
|
}),
|
|
3793
|
-
getPluralRules:
|
|
3814
|
+
getPluralRules: Pe(function() {
|
|
3794
3815
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3795
3816
|
r[n] = arguments[n];
|
|
3796
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3817
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Ae([void 0], r, !1)))();
|
|
3797
3818
|
}, {
|
|
3798
|
-
cache:
|
|
3799
|
-
strategy:
|
|
3819
|
+
cache: Le(e.pluralRules),
|
|
3820
|
+
strategy: Oe.variadic
|
|
3800
3821
|
})
|
|
3801
3822
|
};
|
|
3802
3823
|
}
|
|
3803
|
-
var
|
|
3824
|
+
var ni = (
|
|
3804
3825
|
/** @class */
|
|
3805
3826
|
function() {
|
|
3806
3827
|
function e(t, r, n, i) {
|
|
@@ -3832,13 +3853,13 @@ var ti = (
|
|
|
3832
3853
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3833
3854
|
var s = i || {};
|
|
3834
3855
|
s.formatters;
|
|
3835
|
-
var a =
|
|
3836
|
-
this.ast = e.__parse(t,
|
|
3856
|
+
var a = fn(s, ["formatters"]);
|
|
3857
|
+
this.ast = e.__parse(t, A(A({}, a), { locale: this.resolvedLocale }));
|
|
3837
3858
|
} else
|
|
3838
3859
|
this.ast = t;
|
|
3839
3860
|
if (!Array.isArray(this.ast))
|
|
3840
3861
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3841
|
-
this.formats =
|
|
3862
|
+
this.formats = ti(e.formats, n), this.formatters = i && i.formatters || ri(this.formatterCache);
|
|
3842
3863
|
}
|
|
3843
3864
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3844
3865
|
get: function() {
|
|
@@ -3851,7 +3872,7 @@ var ti = (
|
|
|
3851
3872
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3852
3873
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3853
3874
|
}
|
|
3854
|
-
}, e.__parse =
|
|
3875
|
+
}, e.__parse = Qn, e.formats = {
|
|
3855
3876
|
number: {
|
|
3856
3877
|
integer: {
|
|
3857
3878
|
maximumFractionDigits: 0
|
|
@@ -3912,7 +3933,7 @@ var ti = (
|
|
|
3912
3933
|
}, e;
|
|
3913
3934
|
}()
|
|
3914
3935
|
);
|
|
3915
|
-
function
|
|
3936
|
+
function ii(e, t) {
|
|
3916
3937
|
if (t == null)
|
|
3917
3938
|
return;
|
|
3918
3939
|
if (t in e)
|
|
@@ -3933,92 +3954,92 @@ function ri(e, t) {
|
|
|
3933
3954
|
n = void 0;
|
|
3934
3955
|
return n;
|
|
3935
3956
|
}
|
|
3936
|
-
const M = {},
|
|
3957
|
+
const M = {}, oi = (e, t, r) => r && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = r), r), tr = (e, t) => {
|
|
3937
3958
|
if (t == null)
|
|
3938
3959
|
return;
|
|
3939
3960
|
if (t in M && e in M[t])
|
|
3940
3961
|
return M[t][e];
|
|
3941
|
-
const r =
|
|
3962
|
+
const r = Se(t);
|
|
3942
3963
|
for (let n = 0; n < r.length; n++) {
|
|
3943
|
-
const i = r[n], o =
|
|
3964
|
+
const i = r[n], o = ai(i, e);
|
|
3944
3965
|
if (o)
|
|
3945
|
-
return
|
|
3966
|
+
return oi(e, t, o);
|
|
3946
3967
|
}
|
|
3947
3968
|
};
|
|
3948
|
-
let
|
|
3949
|
-
const se =
|
|
3950
|
-
function
|
|
3951
|
-
return
|
|
3969
|
+
let Ke;
|
|
3970
|
+
const se = _e({});
|
|
3971
|
+
function si(e) {
|
|
3972
|
+
return Ke[e] || null;
|
|
3952
3973
|
}
|
|
3953
|
-
function
|
|
3954
|
-
return e in
|
|
3974
|
+
function rr(e) {
|
|
3975
|
+
return e in Ke;
|
|
3955
3976
|
}
|
|
3956
|
-
function
|
|
3957
|
-
if (!
|
|
3977
|
+
function ai(e, t) {
|
|
3978
|
+
if (!rr(e))
|
|
3958
3979
|
return null;
|
|
3959
|
-
const r =
|
|
3960
|
-
return
|
|
3980
|
+
const r = si(e);
|
|
3981
|
+
return ii(r, t);
|
|
3961
3982
|
}
|
|
3962
|
-
function
|
|
3983
|
+
function ui(e) {
|
|
3963
3984
|
if (e == null)
|
|
3964
3985
|
return;
|
|
3965
|
-
const t =
|
|
3986
|
+
const t = Se(e);
|
|
3966
3987
|
for (let r = 0; r < t.length; r++) {
|
|
3967
3988
|
const n = t[r];
|
|
3968
|
-
if (
|
|
3989
|
+
if (rr(n))
|
|
3969
3990
|
return n;
|
|
3970
3991
|
}
|
|
3971
3992
|
}
|
|
3972
|
-
function
|
|
3993
|
+
function nr(e, ...t) {
|
|
3973
3994
|
delete M[e], se.update((r) => (r[e] = cn.all([r[e] || {}, ...t]), r));
|
|
3974
3995
|
}
|
|
3975
|
-
|
|
3996
|
+
Z(
|
|
3976
3997
|
[se],
|
|
3977
3998
|
([e]) => Object.keys(e)
|
|
3978
3999
|
);
|
|
3979
|
-
se.subscribe((e) =>
|
|
4000
|
+
se.subscribe((e) => Ke = e);
|
|
3980
4001
|
const de = {};
|
|
3981
|
-
function
|
|
4002
|
+
function hi(e, t) {
|
|
3982
4003
|
de[e].delete(t), de[e].size === 0 && delete de[e];
|
|
3983
4004
|
}
|
|
3984
|
-
function
|
|
4005
|
+
function ir(e) {
|
|
3985
4006
|
return de[e];
|
|
3986
4007
|
}
|
|
3987
|
-
function
|
|
3988
|
-
return
|
|
3989
|
-
const r =
|
|
4008
|
+
function li(e) {
|
|
4009
|
+
return Se(e).map((t) => {
|
|
4010
|
+
const r = ir(t);
|
|
3990
4011
|
return [t, r ? [...r] : []];
|
|
3991
4012
|
}).filter(([, t]) => t.length > 0);
|
|
3992
4013
|
}
|
|
3993
|
-
function
|
|
3994
|
-
return e == null ? !1 :
|
|
4014
|
+
function qe(e) {
|
|
4015
|
+
return e == null ? !1 : Se(e).some(
|
|
3995
4016
|
(t) => {
|
|
3996
4017
|
var r;
|
|
3997
|
-
return (r =
|
|
4018
|
+
return (r = ir(t)) == null ? void 0 : r.size;
|
|
3998
4019
|
}
|
|
3999
4020
|
);
|
|
4000
4021
|
}
|
|
4001
|
-
function
|
|
4022
|
+
function ci(e, t) {
|
|
4002
4023
|
return Promise.all(
|
|
4003
|
-
t.map((n) => (
|
|
4004
|
-
).then((n) =>
|
|
4005
|
-
}
|
|
4006
|
-
const
|
|
4007
|
-
function
|
|
4008
|
-
if (!
|
|
4009
|
-
return e in
|
|
4010
|
-
const t =
|
|
4011
|
-
return
|
|
4024
|
+
t.map((n) => (hi(e, n), n().then((i) => i.default || i)))
|
|
4025
|
+
).then((n) => nr(e, ...n));
|
|
4026
|
+
}
|
|
4027
|
+
const Y = {};
|
|
4028
|
+
function or(e) {
|
|
4029
|
+
if (!qe(e))
|
|
4030
|
+
return e in Y ? Y[e] : Promise.resolve();
|
|
4031
|
+
const t = li(e);
|
|
4032
|
+
return Y[e] = Promise.all(
|
|
4012
4033
|
t.map(
|
|
4013
|
-
([r, n]) =>
|
|
4034
|
+
([r, n]) => ci(r, n)
|
|
4014
4035
|
)
|
|
4015
4036
|
).then(() => {
|
|
4016
|
-
if (
|
|
4017
|
-
return
|
|
4018
|
-
delete
|
|
4019
|
-
}),
|
|
4037
|
+
if (qe(e))
|
|
4038
|
+
return or(e);
|
|
4039
|
+
delete Y[e];
|
|
4040
|
+
}), Y[e];
|
|
4020
4041
|
}
|
|
4021
|
-
const
|
|
4042
|
+
const fi = {
|
|
4022
4043
|
number: {
|
|
4023
4044
|
scientific: { notation: "scientific" },
|
|
4024
4045
|
engineering: { notation: "engineering" },
|
|
@@ -4047,135 +4068,135 @@ const li = {
|
|
|
4047
4068
|
timeZoneName: "short"
|
|
4048
4069
|
}
|
|
4049
4070
|
}
|
|
4050
|
-
},
|
|
4071
|
+
}, pi = {
|
|
4051
4072
|
fallbackLocale: null,
|
|
4052
4073
|
loadingDelay: 200,
|
|
4053
|
-
formats:
|
|
4074
|
+
formats: fi,
|
|
4054
4075
|
warnOnMissingMessages: !0,
|
|
4055
4076
|
handleMissingMessage: void 0,
|
|
4056
4077
|
ignoreTag: !0
|
|
4057
|
-
},
|
|
4058
|
-
function
|
|
4059
|
-
return
|
|
4078
|
+
}, di = pi;
|
|
4079
|
+
function W() {
|
|
4080
|
+
return di;
|
|
4060
4081
|
}
|
|
4061
|
-
const
|
|
4062
|
-
var
|
|
4082
|
+
const Ne = _e(!1);
|
|
4083
|
+
var mi = Object.defineProperty, bi = Object.defineProperties, gi = Object.getOwnPropertyDescriptors, vt = Object.getOwnPropertySymbols, yi = Object.prototype.hasOwnProperty, vi = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, _i = (e, t) => {
|
|
4063
4084
|
for (var r in t || (t = {}))
|
|
4064
|
-
|
|
4065
|
-
if (
|
|
4066
|
-
for (var r of
|
|
4067
|
-
|
|
4085
|
+
yi.call(t, r) && _t(e, r, t[r]);
|
|
4086
|
+
if (vt)
|
|
4087
|
+
for (var r of vt(t))
|
|
4088
|
+
vi.call(t, r) && _t(e, r, t[r]);
|
|
4068
4089
|
return e;
|
|
4069
|
-
},
|
|
4070
|
-
let
|
|
4071
|
-
const
|
|
4072
|
-
function
|
|
4090
|
+
}, Ei = (e, t) => bi(e, gi(t));
|
|
4091
|
+
let Je;
|
|
4092
|
+
const be = _e(null);
|
|
4093
|
+
function Et(e) {
|
|
4073
4094
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4074
4095
|
}
|
|
4075
|
-
function
|
|
4076
|
-
const r =
|
|
4077
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4096
|
+
function Se(e, t = W().fallbackLocale) {
|
|
4097
|
+
const r = Et(e);
|
|
4098
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Et(t)])] : r;
|
|
4078
4099
|
}
|
|
4079
4100
|
function R() {
|
|
4080
|
-
return
|
|
4101
|
+
return Je ?? void 0;
|
|
4081
4102
|
}
|
|
4082
|
-
|
|
4083
|
-
|
|
4103
|
+
be.subscribe((e) => {
|
|
4104
|
+
Je = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4084
4105
|
});
|
|
4085
|
-
const
|
|
4086
|
-
if (e &&
|
|
4087
|
-
const { loadingDelay: t } =
|
|
4106
|
+
const xi = (e) => {
|
|
4107
|
+
if (e && ui(e) && qe(e)) {
|
|
4108
|
+
const { loadingDelay: t } = W();
|
|
4088
4109
|
let r;
|
|
4089
4110
|
return typeof window < "u" && R() != null && t ? r = window.setTimeout(
|
|
4090
|
-
() =>
|
|
4111
|
+
() => Ne.set(!0),
|
|
4091
4112
|
t
|
|
4092
|
-
) :
|
|
4093
|
-
|
|
4113
|
+
) : Ne.set(!0), or(e).then(() => {
|
|
4114
|
+
be.set(e);
|
|
4094
4115
|
}).finally(() => {
|
|
4095
|
-
clearTimeout(r),
|
|
4116
|
+
clearTimeout(r), Ne.set(!1);
|
|
4096
4117
|
});
|
|
4097
4118
|
}
|
|
4098
|
-
return
|
|
4099
|
-
},
|
|
4100
|
-
set:
|
|
4101
|
-
}),
|
|
4119
|
+
return be.set(e);
|
|
4120
|
+
}, Q = Ei(_i({}, be), {
|
|
4121
|
+
set: xi
|
|
4122
|
+
}), Te = (e) => {
|
|
4102
4123
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4103
4124
|
return (n) => {
|
|
4104
4125
|
const i = JSON.stringify(n);
|
|
4105
4126
|
return i in t ? t[i] : t[i] = e(n);
|
|
4106
4127
|
};
|
|
4107
4128
|
};
|
|
4108
|
-
var
|
|
4129
|
+
var Si = Object.defineProperty, ge = Object.getOwnPropertySymbols, sr = Object.prototype.hasOwnProperty, ar = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? Si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
|
|
4109
4130
|
for (var r in t || (t = {}))
|
|
4110
|
-
|
|
4111
|
-
if (
|
|
4112
|
-
for (var r of
|
|
4113
|
-
|
|
4131
|
+
sr.call(t, r) && xt(e, r, t[r]);
|
|
4132
|
+
if (ge)
|
|
4133
|
+
for (var r of ge(t))
|
|
4134
|
+
ar.call(t, r) && xt(e, r, t[r]);
|
|
4114
4135
|
return e;
|
|
4115
|
-
},
|
|
4136
|
+
}, q = (e, t) => {
|
|
4116
4137
|
var r = {};
|
|
4117
4138
|
for (var n in e)
|
|
4118
|
-
|
|
4119
|
-
if (e != null &&
|
|
4120
|
-
for (var n of
|
|
4121
|
-
t.indexOf(n) < 0 &&
|
|
4139
|
+
sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4140
|
+
if (e != null && ge)
|
|
4141
|
+
for (var n of ge(e))
|
|
4142
|
+
t.indexOf(n) < 0 && ar.call(e, n) && (r[n] = e[n]);
|
|
4122
4143
|
return r;
|
|
4123
4144
|
};
|
|
4124
|
-
const
|
|
4125
|
-
const { formats: r } =
|
|
4145
|
+
const re = (e, t) => {
|
|
4146
|
+
const { formats: r } = W();
|
|
4126
4147
|
if (e in r && t in r[e])
|
|
4127
4148
|
return r[e][t];
|
|
4128
4149
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4129
|
-
},
|
|
4150
|
+
}, Ti = Te(
|
|
4130
4151
|
(e) => {
|
|
4131
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4152
|
+
var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
|
|
4132
4153
|
if (r == null)
|
|
4133
4154
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4134
|
-
return n && (i =
|
|
4155
|
+
return n && (i = re("number", n)), new Intl.NumberFormat(r, i);
|
|
4135
4156
|
}
|
|
4136
|
-
),
|
|
4157
|
+
), Hi = Te(
|
|
4137
4158
|
(e) => {
|
|
4138
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4159
|
+
var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
|
|
4139
4160
|
if (r == null)
|
|
4140
4161
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4141
|
-
return n ? i =
|
|
4162
|
+
return n ? i = re("date", n) : Object.keys(i).length === 0 && (i = re("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4142
4163
|
}
|
|
4143
|
-
),
|
|
4164
|
+
), Bi = Te(
|
|
4144
4165
|
(e) => {
|
|
4145
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4166
|
+
var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
|
|
4146
4167
|
if (r == null)
|
|
4147
4168
|
throw new Error(
|
|
4148
4169
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4149
4170
|
);
|
|
4150
|
-
return n ? i =
|
|
4171
|
+
return n ? i = re("time", n) : Object.keys(i).length === 0 && (i = re("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4151
4172
|
}
|
|
4152
|
-
),
|
|
4173
|
+
), wi = (e = {}) => {
|
|
4153
4174
|
var t = e, {
|
|
4154
4175
|
locale: r = R()
|
|
4155
|
-
} = t, n =
|
|
4176
|
+
} = t, n = q(t, [
|
|
4156
4177
|
"locale"
|
|
4157
4178
|
]);
|
|
4158
|
-
return
|
|
4159
|
-
},
|
|
4179
|
+
return Ti(et({ locale: r }, n));
|
|
4180
|
+
}, Ai = (e = {}) => {
|
|
4160
4181
|
var t = e, {
|
|
4161
4182
|
locale: r = R()
|
|
4162
|
-
} = t, n =
|
|
4183
|
+
} = t, n = q(t, [
|
|
4163
4184
|
"locale"
|
|
4164
4185
|
]);
|
|
4165
|
-
return
|
|
4166
|
-
},
|
|
4186
|
+
return Hi(et({ locale: r }, n));
|
|
4187
|
+
}, Pi = (e = {}) => {
|
|
4167
4188
|
var t = e, {
|
|
4168
4189
|
locale: r = R()
|
|
4169
|
-
} = t, n =
|
|
4190
|
+
} = t, n = q(t, [
|
|
4170
4191
|
"locale"
|
|
4171
4192
|
]);
|
|
4172
|
-
return
|
|
4173
|
-
},
|
|
4193
|
+
return Bi(et({ locale: r }, n));
|
|
4194
|
+
}, Oi = Te(
|
|
4174
4195
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4175
|
-
(e, t = R()) => new
|
|
4176
|
-
ignoreTag:
|
|
4196
|
+
(e, t = R()) => new ni(e, t, W().formats, {
|
|
4197
|
+
ignoreTag: W().ignoreTag
|
|
4177
4198
|
})
|
|
4178
|
-
),
|
|
4199
|
+
), Ii = (e, t = {}) => {
|
|
4179
4200
|
var r, n, i, o;
|
|
4180
4201
|
let s = t;
|
|
4181
4202
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4188,9 +4209,9 @@ const ne = (e, t) => {
|
|
|
4188
4209
|
throw new Error(
|
|
4189
4210
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4190
4211
|
);
|
|
4191
|
-
let l =
|
|
4212
|
+
let l = tr(e, h);
|
|
4192
4213
|
if (!l)
|
|
4193
|
-
l = (o = (i = (n = (r =
|
|
4214
|
+
l = (o = (i = (n = (r = W()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4194
4215
|
else if (typeof l != "string")
|
|
4195
4216
|
return console.warn(
|
|
4196
4217
|
`[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.`
|
|
@@ -4199,7 +4220,7 @@ const ne = (e, t) => {
|
|
|
4199
4220
|
return l;
|
|
4200
4221
|
let f = l;
|
|
4201
4222
|
try {
|
|
4202
|
-
f =
|
|
4223
|
+
f = Oi(l, h).format(a);
|
|
4203
4224
|
} catch (c) {
|
|
4204
4225
|
c instanceof Error && console.warn(
|
|
4205
4226
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4207,21 +4228,21 @@ const ne = (e, t) => {
|
|
|
4207
4228
|
);
|
|
4208
4229
|
}
|
|
4209
4230
|
return f;
|
|
4210
|
-
},
|
|
4211
|
-
|
|
4212
|
-
|
|
4213
|
-
|
|
4214
|
-
|
|
4231
|
+
}, Li = (e, t) => Pi(t).format(e), Ni = (e, t) => Ai(t).format(e), Mi = (e, t) => wi(t).format(e), Ci = (e, t = R()) => tr(e, t), $i = Z([Q, se], () => Ii);
|
|
4232
|
+
Z([Q], () => Li);
|
|
4233
|
+
Z([Q], () => Ni);
|
|
4234
|
+
Z([Q], () => Mi);
|
|
4235
|
+
Z([Q, se], () => Ci);
|
|
4215
4236
|
window.emWidgets = { topic: zr };
|
|
4216
|
-
const
|
|
4237
|
+
const Ri = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4217
4238
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
4218
|
-
function
|
|
4239
|
+
function St(e, t) {
|
|
4219
4240
|
if (e) {
|
|
4220
4241
|
const r = document.createElement("style");
|
|
4221
4242
|
r.innerHTML = t, e.appendChild(r);
|
|
4222
4243
|
}
|
|
4223
4244
|
}
|
|
4224
|
-
function
|
|
4245
|
+
function Ui(e, t) {
|
|
4225
4246
|
if (!e || !t)
|
|
4226
4247
|
return;
|
|
4227
4248
|
const r = new URL(t);
|
|
@@ -4232,7 +4253,7 @@ function $i(e, t) {
|
|
|
4232
4253
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4233
4254
|
});
|
|
4234
4255
|
}
|
|
4235
|
-
function
|
|
4256
|
+
function Gi(e, t, r) {
|
|
4236
4257
|
if (window.emMessageBus) {
|
|
4237
4258
|
const n = document.createElement("style");
|
|
4238
4259
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4240,7 +4261,7 @@ function Ri(e, t, r) {
|
|
|
4240
4261
|
});
|
|
4241
4262
|
}
|
|
4242
4263
|
}
|
|
4243
|
-
const
|
|
4264
|
+
const Di = (e, t = {}) => {
|
|
4244
4265
|
const r = new CustomEvent("track-custom-event", {
|
|
4245
4266
|
detail: {
|
|
4246
4267
|
type: e,
|
|
@@ -4251,13 +4272,13 @@ const Ui = (e, t = {}) => {
|
|
|
4251
4272
|
});
|
|
4252
4273
|
document.dispatchEvent(r);
|
|
4253
4274
|
};
|
|
4254
|
-
function
|
|
4255
|
-
|
|
4275
|
+
function Tt(e, t) {
|
|
4276
|
+
nr(e, t);
|
|
4256
4277
|
}
|
|
4257
|
-
function
|
|
4258
|
-
|
|
4278
|
+
function Fi(e) {
|
|
4279
|
+
Q.set(e);
|
|
4259
4280
|
}
|
|
4260
|
-
const
|
|
4281
|
+
const Ht = {
|
|
4261
4282
|
en: {
|
|
4262
4283
|
logoutButton: "Logout"
|
|
4263
4284
|
},
|
|
@@ -4292,20 +4313,20 @@ const St = {
|
|
|
4292
4313
|
logoutButton: "Logout"
|
|
4293
4314
|
}
|
|
4294
4315
|
};
|
|
4295
|
-
function
|
|
4296
|
-
|
|
4316
|
+
function ji(e) {
|
|
4317
|
+
fr(e, "svelte-xtnqa3", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}");
|
|
4297
4318
|
}
|
|
4298
|
-
function
|
|
4319
|
+
function ki(e) {
|
|
4299
4320
|
let t, r, n, i = (
|
|
4300
4321
|
/*$_*/
|
|
4301
4322
|
e[2]("logoutButton") + ""
|
|
4302
4323
|
), o, s, a;
|
|
4303
4324
|
return {
|
|
4304
4325
|
c() {
|
|
4305
|
-
t =
|
|
4326
|
+
t = O("div"), r = O("button"), n = O("span"), o = ye(i), S(t, "class", "GeneralLogout");
|
|
4306
4327
|
},
|
|
4307
4328
|
m(h, u) {
|
|
4308
|
-
|
|
4329
|
+
ie(h, t, u), T(t, r), T(r, n), T(n, o), s || (a = Pt(
|
|
4309
4330
|
r,
|
|
4310
4331
|
"click",
|
|
4311
4332
|
/*click_handler_1*/
|
|
@@ -4315,19 +4336,19 @@ function Fi(e) {
|
|
|
4315
4336
|
p(h, u) {
|
|
4316
4337
|
u & /*$_*/
|
|
4317
4338
|
4 && i !== (i = /*$_*/
|
|
4318
|
-
h[2]("logoutButton") + "") &&
|
|
4339
|
+
h[2]("logoutButton") + "") && Ot(o, i);
|
|
4319
4340
|
},
|
|
4320
4341
|
d(h) {
|
|
4321
|
-
h &&
|
|
4342
|
+
h && z(t), s = !1, a();
|
|
4322
4343
|
}
|
|
4323
4344
|
};
|
|
4324
4345
|
}
|
|
4325
|
-
function
|
|
4346
|
+
function Vi(e) {
|
|
4326
4347
|
let t, r, n, i, o, s, a, h, u, l, f, c = !/*isMobile*/
|
|
4327
|
-
e[3] &&
|
|
4348
|
+
e[3] && Xi(e);
|
|
4328
4349
|
return {
|
|
4329
4350
|
c() {
|
|
4330
|
-
t =
|
|
4351
|
+
t = O("p"), r = O("span"), n = J("svg"), i = J("defs"), o = J("style"), s = ye(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), a = J("path"), h = J("path"), u = mr(), c && c.c(), S(a, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), S(a, "d", "M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"), S(h, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), S(h, "d", "M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"), S(n, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), S(n, "data-name", "Layer 1"), S(n, "xmlns", "http://www.w3.org/2000/svg"), S(n, "viewBox", "0 0 150 150"), gr(r, "width", /*isMobile*/
|
|
4331
4352
|
e[3] ? (
|
|
4332
4353
|
/*mediaQuery*/
|
|
4333
4354
|
e[4].matches ? "20px" : "24px"
|
|
@@ -4337,7 +4358,7 @@ function ji(e) {
|
|
|
4337
4358
|
e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
|
|
4338
4359
|
},
|
|
4339
4360
|
m(p, d) {
|
|
4340
|
-
|
|
4361
|
+
ie(p, t, d), T(t, r), T(r, n), T(n, i), T(i, o), T(o, s), T(n, a), T(n, h), T(t, u), c && c.m(t, null), l || (f = Pt(
|
|
4341
4362
|
t,
|
|
4342
4363
|
"click",
|
|
4343
4364
|
/*click_handler*/
|
|
@@ -4349,47 +4370,47 @@ function ji(e) {
|
|
|
4349
4370
|
p[3] || c.p(p, d);
|
|
4350
4371
|
},
|
|
4351
4372
|
d(p) {
|
|
4352
|
-
p &&
|
|
4373
|
+
p && z(t), c && c.d(), l = !1, f();
|
|
4353
4374
|
}
|
|
4354
4375
|
};
|
|
4355
4376
|
}
|
|
4356
|
-
function
|
|
4377
|
+
function Xi(e) {
|
|
4357
4378
|
let t, r = (
|
|
4358
4379
|
/*$_*/
|
|
4359
4380
|
e[2]("logoutButton") + ""
|
|
4360
4381
|
), n;
|
|
4361
4382
|
return {
|
|
4362
4383
|
c() {
|
|
4363
|
-
t =
|
|
4384
|
+
t = O("span"), n = ye(r), S(t, "class", "PlayerLogoutText");
|
|
4364
4385
|
},
|
|
4365
4386
|
m(i, o) {
|
|
4366
|
-
|
|
4387
|
+
ie(i, t, o), T(t, n);
|
|
4367
4388
|
},
|
|
4368
4389
|
p(i, o) {
|
|
4369
4390
|
o & /*$_*/
|
|
4370
4391
|
4 && r !== (r = /*$_*/
|
|
4371
|
-
i[2]("logoutButton") + "") &&
|
|
4392
|
+
i[2]("logoutButton") + "") && Ot(n, r);
|
|
4372
4393
|
},
|
|
4373
4394
|
d(i) {
|
|
4374
|
-
i &&
|
|
4395
|
+
i && z(t);
|
|
4375
4396
|
}
|
|
4376
4397
|
};
|
|
4377
4398
|
}
|
|
4378
|
-
function
|
|
4399
|
+
function Wi(e) {
|
|
4379
4400
|
let t;
|
|
4380
4401
|
function r(o, s) {
|
|
4381
4402
|
return (
|
|
4382
4403
|
/*buttonlocation*/
|
|
4383
|
-
o[0] === "PlayerAccountMenu" ?
|
|
4404
|
+
o[0] === "PlayerAccountMenu" ? Vi : ki
|
|
4384
4405
|
);
|
|
4385
4406
|
}
|
|
4386
4407
|
let n = r(e), i = n(e);
|
|
4387
4408
|
return {
|
|
4388
4409
|
c() {
|
|
4389
|
-
t =
|
|
4410
|
+
t = O("div"), i.c();
|
|
4390
4411
|
},
|
|
4391
4412
|
m(o, s) {
|
|
4392
|
-
|
|
4413
|
+
ie(o, t, s), i.m(t, null), e[15](t);
|
|
4393
4414
|
},
|
|
4394
4415
|
p(o, [s]) {
|
|
4395
4416
|
n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
|
|
@@ -4397,54 +4418,54 @@ function Vi(e) {
|
|
|
4397
4418
|
i: B,
|
|
4398
4419
|
o: B,
|
|
4399
4420
|
d(o) {
|
|
4400
|
-
o &&
|
|
4421
|
+
o && z(t), i.d(), e[15](null);
|
|
4401
4422
|
}
|
|
4402
4423
|
};
|
|
4403
4424
|
}
|
|
4404
|
-
function
|
|
4425
|
+
function zi(e, t, r) {
|
|
4405
4426
|
let n;
|
|
4406
|
-
|
|
4407
|
-
let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: s = "" } = t, { lang: a = "" } = t, { mbsource: h } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, c = "", p = !1, d,
|
|
4427
|
+
cr(e, $i, (g) => r(2, n = g));
|
|
4428
|
+
let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: s = "" } = t, { lang: a = "" } = t, { mbsource: h } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, c = "", p = !1, d, y = window.navigator.userAgent, H = Ri(y) !== "PC";
|
|
4408
4429
|
const C = window.matchMedia("(min-width: 768px)"), L = () => {
|
|
4409
4430
|
fetch(f).then((N) => N.json()).then((N) => {
|
|
4410
|
-
Object.keys(N).forEach((
|
|
4411
|
-
|
|
4431
|
+
Object.keys(N).forEach((He) => {
|
|
4432
|
+
Tt(He, N[He]);
|
|
4412
4433
|
});
|
|
4413
4434
|
}).catch((N) => {
|
|
4414
4435
|
console.log(N);
|
|
4415
4436
|
});
|
|
4416
4437
|
};
|
|
4417
|
-
Object.keys(
|
|
4418
|
-
|
|
4438
|
+
Object.keys(Ht).forEach((g) => {
|
|
4439
|
+
Tt(g, Ht[g]);
|
|
4419
4440
|
});
|
|
4420
4441
|
const x = () => {
|
|
4421
|
-
let
|
|
4422
|
-
|
|
4423
|
-
let N = { method: "DELETE", headers:
|
|
4424
|
-
fetch(`${i}/v1/player/session/player`, N).then((
|
|
4425
|
-
window.postMessage({ type: "LogoutSuccessfull" }, window.location.href),
|
|
4442
|
+
let g = new Headers();
|
|
4443
|
+
g.append("Content-type", "application/json"), g.append("X-SessionID", o);
|
|
4444
|
+
let N = { method: "DELETE", headers: g };
|
|
4445
|
+
fetch(`${i}/v1/player/session/player`, N).then((He) => {
|
|
4446
|
+
window.postMessage({ type: "LogoutSuccessfull" }, window.location.href), Di("logged_out", {});
|
|
4426
4447
|
});
|
|
4427
|
-
}, $ = () => (i || (c = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.", p = !0, console.error(c)), o || (c = "GENERAL-LOGOUT - Session is missing! Please provide a valid session.", p = !0, console.error(c)), p),
|
|
4428
|
-
|
|
4448
|
+
}, $ = () => (i || (c = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.", p = !0, console.error(c)), o || (c = "GENERAL-LOGOUT - Session is missing! Please provide a valid session.", p = !0, console.error(c)), p), P = () => {
|
|
4449
|
+
Fi(a);
|
|
4429
4450
|
};
|
|
4430
|
-
|
|
4451
|
+
_r(() => () => {
|
|
4431
4452
|
});
|
|
4432
4453
|
const U = () => x(), ae = () => x();
|
|
4433
|
-
function
|
|
4434
|
-
|
|
4435
|
-
d =
|
|
4454
|
+
function hr(g) {
|
|
4455
|
+
Me[g ? "unshift" : "push"](() => {
|
|
4456
|
+
d = g, r(1, d);
|
|
4436
4457
|
});
|
|
4437
4458
|
}
|
|
4438
|
-
return e.$$set = (
|
|
4439
|
-
"endpoint" in
|
|
4459
|
+
return e.$$set = (g) => {
|
|
4460
|
+
"endpoint" in g && r(6, i = g.endpoint), "session" in g && r(7, o = g.session), "buttonlocation" in g && r(0, s = g.buttonlocation), "lang" in g && r(8, a = g.lang), "mbsource" in g && r(9, h = g.mbsource), "clientstyling" in g && r(10, u = g.clientstyling), "clientstylingurl" in g && r(11, l = g.clientstylingurl), "translationurl" in g && r(12, f = g.translationurl);
|
|
4440
4461
|
}, e.$$.update = () => {
|
|
4441
4462
|
e.$$.dirty & /*endpoint, session, buttonlocation*/
|
|
4442
4463
|
193 && i && o && s && $(), e.$$.dirty & /*lang*/
|
|
4443
|
-
256 && a &&
|
|
4444
|
-
1026 && u && d &&
|
|
4445
|
-
1026 && u && d &&
|
|
4446
|
-
2050 && l && d &&
|
|
4447
|
-
514 && h && d &&
|
|
4464
|
+
256 && a && P(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4465
|
+
1026 && u && d && St(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4466
|
+
1026 && u && d && St(d, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4467
|
+
2050 && l && d && Ui(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4468
|
+
514 && h && d && Gi(d, `${h}.Style`), e.$$.dirty & /*translationurl*/
|
|
4448
4469
|
4096 && f && L();
|
|
4449
4470
|
}, [
|
|
4450
4471
|
s,
|
|
@@ -4462,17 +4483,17 @@ function Xi(e, t, r) {
|
|
|
4462
4483
|
f,
|
|
4463
4484
|
U,
|
|
4464
4485
|
ae,
|
|
4465
|
-
|
|
4486
|
+
hr
|
|
4466
4487
|
];
|
|
4467
4488
|
}
|
|
4468
|
-
class
|
|
4489
|
+
class ur extends Lr {
|
|
4469
4490
|
constructor(t) {
|
|
4470
|
-
super(),
|
|
4491
|
+
super(), Or(
|
|
4471
4492
|
this,
|
|
4472
4493
|
t,
|
|
4473
|
-
|
|
4474
|
-
|
|
4475
|
-
|
|
4494
|
+
zi,
|
|
4495
|
+
Wi,
|
|
4496
|
+
wt,
|
|
4476
4497
|
{
|
|
4477
4498
|
endpoint: 6,
|
|
4478
4499
|
session: 7,
|
|
@@ -4483,95 +4504,95 @@ class ar extends Ir {
|
|
|
4483
4504
|
clientstylingurl: 11,
|
|
4484
4505
|
translationurl: 12
|
|
4485
4506
|
},
|
|
4486
|
-
|
|
4507
|
+
ji
|
|
4487
4508
|
);
|
|
4488
4509
|
}
|
|
4489
4510
|
get endpoint() {
|
|
4490
4511
|
return this.$$.ctx[6];
|
|
4491
4512
|
}
|
|
4492
4513
|
set endpoint(t) {
|
|
4493
|
-
this.$$set({ endpoint: t }),
|
|
4514
|
+
this.$$set({ endpoint: t }), w();
|
|
4494
4515
|
}
|
|
4495
4516
|
get session() {
|
|
4496
4517
|
return this.$$.ctx[7];
|
|
4497
4518
|
}
|
|
4498
4519
|
set session(t) {
|
|
4499
|
-
this.$$set({ session: t }),
|
|
4520
|
+
this.$$set({ session: t }), w();
|
|
4500
4521
|
}
|
|
4501
4522
|
get buttonlocation() {
|
|
4502
4523
|
return this.$$.ctx[0];
|
|
4503
4524
|
}
|
|
4504
4525
|
set buttonlocation(t) {
|
|
4505
|
-
this.$$set({ buttonlocation: t }),
|
|
4526
|
+
this.$$set({ buttonlocation: t }), w();
|
|
4506
4527
|
}
|
|
4507
4528
|
get lang() {
|
|
4508
4529
|
return this.$$.ctx[8];
|
|
4509
4530
|
}
|
|
4510
4531
|
set lang(t) {
|
|
4511
|
-
this.$$set({ lang: t }),
|
|
4532
|
+
this.$$set({ lang: t }), w();
|
|
4512
4533
|
}
|
|
4513
4534
|
get mbsource() {
|
|
4514
4535
|
return this.$$.ctx[9];
|
|
4515
4536
|
}
|
|
4516
4537
|
set mbsource(t) {
|
|
4517
|
-
this.$$set({ mbsource: t }),
|
|
4538
|
+
this.$$set({ mbsource: t }), w();
|
|
4518
4539
|
}
|
|
4519
4540
|
get clientstyling() {
|
|
4520
4541
|
return this.$$.ctx[10];
|
|
4521
4542
|
}
|
|
4522
4543
|
set clientstyling(t) {
|
|
4523
|
-
this.$$set({ clientstyling: t }),
|
|
4544
|
+
this.$$set({ clientstyling: t }), w();
|
|
4524
4545
|
}
|
|
4525
4546
|
get clientstylingurl() {
|
|
4526
4547
|
return this.$$.ctx[11];
|
|
4527
4548
|
}
|
|
4528
4549
|
set clientstylingurl(t) {
|
|
4529
|
-
this.$$set({ clientstylingurl: t }),
|
|
4550
|
+
this.$$set({ clientstylingurl: t }), w();
|
|
4530
4551
|
}
|
|
4531
4552
|
get translationurl() {
|
|
4532
4553
|
return this.$$.ctx[12];
|
|
4533
4554
|
}
|
|
4534
4555
|
set translationurl(t) {
|
|
4535
|
-
this.$$set({ translationurl: t }),
|
|
4556
|
+
this.$$set({ translationurl: t }), w();
|
|
4536
4557
|
}
|
|
4537
4558
|
}
|
|
4538
|
-
|
|
4539
|
-
const
|
|
4559
|
+
Ir(ur, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
4560
|
+
const Yi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4540
4561
|
__proto__: null,
|
|
4541
|
-
default:
|
|
4562
|
+
default: ur
|
|
4542
4563
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4543
4564
|
export {
|
|
4544
|
-
|
|
4545
|
-
|
|
4546
|
-
|
|
4547
|
-
|
|
4548
|
-
|
|
4549
|
-
|
|
4550
|
-
|
|
4551
|
-
|
|
4552
|
-
|
|
4553
|
-
|
|
4554
|
-
|
|
4555
|
-
|
|
4556
|
-
|
|
4557
|
-
|
|
4558
|
-
|
|
4559
|
-
|
|
4560
|
-
|
|
4561
|
-
|
|
4562
|
-
|
|
4563
|
-
|
|
4565
|
+
Q as $,
|
|
4566
|
+
$i as A,
|
|
4567
|
+
St as B,
|
|
4568
|
+
Ui as C,
|
|
4569
|
+
Gi as D,
|
|
4570
|
+
Yi as G,
|
|
4571
|
+
Lr as S,
|
|
4572
|
+
nr as a,
|
|
4573
|
+
fr as b,
|
|
4574
|
+
Ir as c,
|
|
4575
|
+
z as d,
|
|
4576
|
+
ie as e,
|
|
4577
|
+
w as f,
|
|
4578
|
+
O as g,
|
|
4579
|
+
cr as h,
|
|
4580
|
+
Or as i,
|
|
4581
|
+
Ri as j,
|
|
4582
|
+
Me as k,
|
|
4583
|
+
Ji as l,
|
|
4584
|
+
Qi as m,
|
|
4564
4585
|
B as n,
|
|
4565
|
-
|
|
4566
|
-
|
|
4567
|
-
|
|
4568
|
-
|
|
4569
|
-
|
|
4570
|
-
|
|
4571
|
-
|
|
4572
|
-
|
|
4573
|
-
|
|
4574
|
-
|
|
4575
|
-
|
|
4576
|
-
|
|
4586
|
+
_r as o,
|
|
4587
|
+
T as p,
|
|
4588
|
+
mr as q,
|
|
4589
|
+
qi as r,
|
|
4590
|
+
wt as s,
|
|
4591
|
+
S as t,
|
|
4592
|
+
Ot as u,
|
|
4593
|
+
ye as v,
|
|
4594
|
+
ne as w,
|
|
4595
|
+
Pt as x,
|
|
4596
|
+
J as y,
|
|
4597
|
+
Zi as z
|
|
4577
4598
|
};
|