@everymatrix/casino-tournaments-details 1.87.26 → 1.87.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoTournamentsDetails-Ds5qo3pI.js → CasinoTournamentsDetails-BOZaBBbL.js} +826 -797
- package/components/{CasinoTournamentsDetails-0R--1EdU.js → CasinoTournamentsDetails-Blp7jVzK.js} +796 -768
- package/components/{CasinoTournamentsDetails-JLyuVROc.cjs → CasinoTournamentsDetails-NGxeFXcI.cjs} +4 -4
- package/es2015/casino-tournaments-details.cjs +1 -1
- package/es2015/casino-tournaments-details.js +1 -1
- package/esnext/casino-tournaments-details.js +1 -1
- package/package.json +1 -1
package/components/{CasinoTournamentsDetails-0R--1EdU.js → CasinoTournamentsDetails-Blp7jVzK.js}
RENAMED
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
function
|
|
1
|
+
function x() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function Et(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function Ye() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
|
-
function K(e) {
|
|
10
|
-
e.forEach(_t);
|
|
11
|
-
}
|
|
12
9
|
function ee(e) {
|
|
10
|
+
e.forEach(Et);
|
|
11
|
+
}
|
|
12
|
+
function te(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
15
|
function xt(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function tr(e) {
|
|
19
19
|
return Object.keys(e).length === 0;
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function rr(e, ...t) {
|
|
22
22
|
if (e == null) {
|
|
23
23
|
for (const n of t)
|
|
24
24
|
n(void 0);
|
|
25
|
-
return
|
|
25
|
+
return x;
|
|
26
26
|
}
|
|
27
27
|
const r = e.subscribe(...t);
|
|
28
28
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
31
|
-
return e &&
|
|
30
|
+
function nr(e) {
|
|
31
|
+
return e && te(e.destroy) ? e.destroy : x;
|
|
32
32
|
}
|
|
33
33
|
function B(e, t) {
|
|
34
34
|
e.appendChild(t);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
37
|
-
const n =
|
|
36
|
+
function ir(e, t, r) {
|
|
37
|
+
const n = or(e);
|
|
38
38
|
if (!n.getElementById(t)) {
|
|
39
|
-
const i =
|
|
40
|
-
i.id = t, i.textContent = r,
|
|
39
|
+
const i = C("style");
|
|
40
|
+
i.id = t, i.textContent = r, sr(n, i);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function or(e) {
|
|
44
44
|
if (!e)
|
|
45
45
|
return document;
|
|
46
46
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -50,45 +50,45 @@ function ir(e) {
|
|
|
50
50
|
t
|
|
51
51
|
) : e.ownerDocument;
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function sr(e, t) {
|
|
54
54
|
return B(
|
|
55
55
|
/** @type {Document} */
|
|
56
56
|
e.head || e,
|
|
57
57
|
t
|
|
58
58
|
), t.sheet;
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function X(e, t, r) {
|
|
61
61
|
e.insertBefore(t, r || null);
|
|
62
62
|
}
|
|
63
63
|
function N(e) {
|
|
64
64
|
e.parentNode && e.parentNode.removeChild(e);
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function C(e) {
|
|
67
67
|
return document.createElement(e);
|
|
68
68
|
}
|
|
69
69
|
function fe(e) {
|
|
70
70
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function St(e) {
|
|
73
73
|
return document.createTextNode(e);
|
|
74
74
|
}
|
|
75
|
-
function
|
|
76
|
-
return
|
|
75
|
+
function wt() {
|
|
76
|
+
return St(" ");
|
|
77
77
|
}
|
|
78
|
-
function
|
|
78
|
+
function ar(e, t, r, n) {
|
|
79
79
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function y(e, t, r) {
|
|
82
82
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function ur(e) {
|
|
85
85
|
return Array.from(e.childNodes);
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function hr(e, t) {
|
|
88
88
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
89
89
|
t);
|
|
90
90
|
}
|
|
91
|
-
function
|
|
91
|
+
function lr(e) {
|
|
92
92
|
const t = {};
|
|
93
93
|
return e.childNodes.forEach(
|
|
94
94
|
/** @param {Element} node */
|
|
@@ -97,95 +97,95 @@ function hr(e) {
|
|
|
97
97
|
}
|
|
98
98
|
), t;
|
|
99
99
|
}
|
|
100
|
-
let
|
|
101
|
-
function
|
|
102
|
-
|
|
100
|
+
let Y;
|
|
101
|
+
function J(e) {
|
|
102
|
+
Y = e;
|
|
103
103
|
}
|
|
104
|
-
function
|
|
105
|
-
if (!
|
|
104
|
+
function cr() {
|
|
105
|
+
if (!Y)
|
|
106
106
|
throw new Error("Function called outside component initialization");
|
|
107
|
-
return
|
|
107
|
+
return Y;
|
|
108
108
|
}
|
|
109
109
|
function fr(e) {
|
|
110
|
-
|
|
110
|
+
cr().$$.on_mount.push(e);
|
|
111
111
|
}
|
|
112
|
-
const
|
|
113
|
-
let
|
|
114
|
-
const
|
|
115
|
-
let
|
|
116
|
-
function
|
|
117
|
-
|
|
112
|
+
const D = [], Pe = [];
|
|
113
|
+
let G = [];
|
|
114
|
+
const qe = [], pr = /* @__PURE__ */ Promise.resolve();
|
|
115
|
+
let Ie = !1;
|
|
116
|
+
function dr() {
|
|
117
|
+
Ie || (Ie = !0, pr.then(I));
|
|
118
118
|
}
|
|
119
|
-
function
|
|
120
|
-
|
|
119
|
+
function Ce(e) {
|
|
120
|
+
G.push(e);
|
|
121
121
|
}
|
|
122
122
|
const xe = /* @__PURE__ */ new Set();
|
|
123
|
-
let
|
|
124
|
-
function
|
|
125
|
-
if (
|
|
123
|
+
let $ = 0;
|
|
124
|
+
function I() {
|
|
125
|
+
if ($ !== 0)
|
|
126
126
|
return;
|
|
127
|
-
const e =
|
|
127
|
+
const e = Y;
|
|
128
128
|
do {
|
|
129
129
|
try {
|
|
130
|
-
for (;
|
|
131
|
-
const t =
|
|
132
|
-
|
|
130
|
+
for (; $ < D.length; ) {
|
|
131
|
+
const t = D[$];
|
|
132
|
+
$++, J(t), mr(t.$$);
|
|
133
133
|
}
|
|
134
134
|
} catch (t) {
|
|
135
|
-
throw
|
|
135
|
+
throw D.length = 0, $ = 0, t;
|
|
136
136
|
}
|
|
137
|
-
for (
|
|
137
|
+
for (J(null), D.length = 0, $ = 0; Pe.length; )
|
|
138
138
|
Pe.pop()();
|
|
139
|
-
for (let t = 0; t <
|
|
140
|
-
const r =
|
|
139
|
+
for (let t = 0; t < G.length; t += 1) {
|
|
140
|
+
const r = G[t];
|
|
141
141
|
xe.has(r) || (xe.add(r), r());
|
|
142
142
|
}
|
|
143
|
-
|
|
144
|
-
} while (
|
|
145
|
-
for (;
|
|
146
|
-
|
|
147
|
-
|
|
143
|
+
G.length = 0;
|
|
144
|
+
} while (D.length);
|
|
145
|
+
for (; qe.length; )
|
|
146
|
+
qe.pop()();
|
|
147
|
+
Ie = !1, xe.clear(), J(e);
|
|
148
148
|
}
|
|
149
|
-
function
|
|
149
|
+
function mr(e) {
|
|
150
150
|
if (e.fragment !== null) {
|
|
151
|
-
e.update(),
|
|
151
|
+
e.update(), ee(e.before_update);
|
|
152
152
|
const t = e.dirty;
|
|
153
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
153
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ce);
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function br(e) {
|
|
157
157
|
const t = [], r = [];
|
|
158
|
-
|
|
158
|
+
G.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), G = t;
|
|
159
159
|
}
|
|
160
|
-
const
|
|
161
|
-
function
|
|
162
|
-
e && e.i && (
|
|
160
|
+
const yr = /* @__PURE__ */ new Set();
|
|
161
|
+
function gr(e, t) {
|
|
162
|
+
e && e.i && (yr.delete(e), e.i(t));
|
|
163
163
|
}
|
|
164
|
-
function
|
|
164
|
+
function vr(e, t, r) {
|
|
165
165
|
const { fragment: n, after_update: i } = e.$$;
|
|
166
|
-
n && n.m(t, r),
|
|
167
|
-
const o = e.$$.on_mount.map(
|
|
168
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
169
|
-
}), i.forEach(
|
|
166
|
+
n && n.m(t, r), Ce(() => {
|
|
167
|
+
const o = e.$$.on_mount.map(Et).filter(te);
|
|
168
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ee(o), e.$$.on_mount = [];
|
|
169
|
+
}), i.forEach(Ce);
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function _r(e, t) {
|
|
172
172
|
const r = e.$$;
|
|
173
|
-
r.fragment !== null && (
|
|
173
|
+
r.fragment !== null && (br(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
174
174
|
}
|
|
175
|
-
function
|
|
176
|
-
e.$$.dirty[0] === -1 && (
|
|
175
|
+
function Er(e, t) {
|
|
176
|
+
e.$$.dirty[0] === -1 && (D.push(e), dr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
177
177
|
}
|
|
178
178
|
function xr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
179
|
-
const h =
|
|
180
|
-
|
|
179
|
+
const h = Y;
|
|
180
|
+
J(e);
|
|
181
181
|
const u = e.$$ = {
|
|
182
182
|
fragment: null,
|
|
183
183
|
ctx: [],
|
|
184
184
|
// state
|
|
185
185
|
props: o,
|
|
186
|
-
update:
|
|
186
|
+
update: x,
|
|
187
187
|
not_equal: i,
|
|
188
|
-
bound:
|
|
188
|
+
bound: Ye(),
|
|
189
189
|
// lifecycle
|
|
190
190
|
on_mount: [],
|
|
191
191
|
on_destroy: [],
|
|
@@ -194,25 +194,25 @@ function xr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
194
194
|
after_update: [],
|
|
195
195
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
196
196
|
// everything else
|
|
197
|
-
callbacks:
|
|
197
|
+
callbacks: Ye(),
|
|
198
198
|
dirty: a,
|
|
199
199
|
skip_bound: !1,
|
|
200
200
|
root: t.target || h.$$.root
|
|
201
201
|
};
|
|
202
202
|
s && s(u.root);
|
|
203
203
|
let l = !1;
|
|
204
|
-
if (u.ctx = r ? r(e, t.props || {}, (
|
|
205
|
-
const
|
|
206
|
-
return u.ctx && i(u.ctx[
|
|
207
|
-
}) : [], u.update(), l = !0,
|
|
204
|
+
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...b) => {
|
|
205
|
+
const g = b.length ? b[0] : f;
|
|
206
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = g) && (!u.skip_bound && u.bound[c] && u.bound[c](g), l && Er(e, c)), f;
|
|
207
|
+
}) : [], u.update(), l = !0, ee(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
208
208
|
if (t.hydrate) {
|
|
209
|
-
const
|
|
210
|
-
u.fragment && u.fragment.l(
|
|
209
|
+
const c = ur(t.target);
|
|
210
|
+
u.fragment && u.fragment.l(c), c.forEach(N);
|
|
211
211
|
} else
|
|
212
212
|
u.fragment && u.fragment.c();
|
|
213
|
-
t.intro &&
|
|
213
|
+
t.intro && gr(e.$$.fragment), vr(e, t.target, t.anchor), I();
|
|
214
214
|
}
|
|
215
|
-
|
|
215
|
+
J(h);
|
|
216
216
|
}
|
|
217
217
|
let Tt;
|
|
218
218
|
typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
|
|
@@ -257,14 +257,14 @@ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
|
|
|
257
257
|
let o;
|
|
258
258
|
return {
|
|
259
259
|
c: function() {
|
|
260
|
-
o =
|
|
260
|
+
o = C("slot"), i !== "default" && y(o, "name", i);
|
|
261
261
|
},
|
|
262
262
|
/**
|
|
263
263
|
* @param {HTMLElement} target
|
|
264
264
|
* @param {HTMLElement} [anchor]
|
|
265
265
|
*/
|
|
266
266
|
m: function(h, u) {
|
|
267
|
-
|
|
267
|
+
X(h, o, u);
|
|
268
268
|
},
|
|
269
269
|
d: function(h) {
|
|
270
270
|
h && N(o);
|
|
@@ -274,12 +274,12 @@ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
|
|
|
274
274
|
};
|
|
275
275
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
276
276
|
return;
|
|
277
|
-
const t = {}, r =
|
|
277
|
+
const t = {}, r = lr(this);
|
|
278
278
|
for (const i of this.$$s)
|
|
279
279
|
i in r && (t[i] = [e(i)]);
|
|
280
280
|
for (const i of this.attributes) {
|
|
281
281
|
const o = this.$$g_p(i.name);
|
|
282
|
-
o in this.$$d || (this.$$d[o] =
|
|
282
|
+
o in this.$$d || (this.$$d[o] = ue(o, i.value, this.$$p_d, "toProp"));
|
|
283
283
|
}
|
|
284
284
|
for (const i in this.$$p_d)
|
|
285
285
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -297,7 +297,7 @@ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
|
|
|
297
297
|
this.$$r = !0;
|
|
298
298
|
for (const i in this.$$p_d)
|
|
299
299
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
300
|
-
const o =
|
|
300
|
+
const o = ue(
|
|
301
301
|
i,
|
|
302
302
|
this.$$d[i],
|
|
303
303
|
this.$$p_d,
|
|
@@ -319,7 +319,7 @@ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
|
|
|
319
319
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
320
320
|
// and setting attributes through setAttribute etc, this is helpful
|
|
321
321
|
attributeChangedCallback(e, t, r) {
|
|
322
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
322
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = ue(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
323
323
|
}
|
|
324
324
|
disconnectedCallback() {
|
|
325
325
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -332,7 +332,7 @@ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
|
|
|
332
332
|
) || e;
|
|
333
333
|
}
|
|
334
334
|
});
|
|
335
|
-
function
|
|
335
|
+
function ue(e, t, r, n) {
|
|
336
336
|
const i = r[e]?.type;
|
|
337
337
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
338
338
|
return t;
|
|
@@ -361,7 +361,7 @@ function ae(e, t, r, n) {
|
|
|
361
361
|
return t;
|
|
362
362
|
}
|
|
363
363
|
}
|
|
364
|
-
function
|
|
364
|
+
function Sr(e, t, r, n, i, o) {
|
|
365
365
|
let s = class extends Tt {
|
|
366
366
|
constructor() {
|
|
367
367
|
super(e, r, i), this.$$p_d = t;
|
|
@@ -378,7 +378,7 @@ function Er(e, t, r, n, i, o) {
|
|
|
378
378
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
379
379
|
},
|
|
380
380
|
set(h) {
|
|
381
|
-
h =
|
|
381
|
+
h = ue(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
|
|
382
382
|
}
|
|
383
383
|
});
|
|
384
384
|
}), n.forEach((a) => {
|
|
@@ -390,7 +390,7 @@ function Er(e, t, r, n, i, o) {
|
|
|
390
390
|
}), e.element = /** @type {any} */
|
|
391
391
|
s, s;
|
|
392
392
|
}
|
|
393
|
-
class
|
|
393
|
+
class wr {
|
|
394
394
|
/**
|
|
395
395
|
* ### PRIVATE API
|
|
396
396
|
*
|
|
@@ -409,7 +409,7 @@ class Sr {
|
|
|
409
409
|
$$set = void 0;
|
|
410
410
|
/** @returns {void} */
|
|
411
411
|
$destroy() {
|
|
412
|
-
|
|
412
|
+
_r(this, 1), this.$destroy = x;
|
|
413
413
|
}
|
|
414
414
|
/**
|
|
415
415
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -418,8 +418,8 @@ class Sr {
|
|
|
418
418
|
* @returns {() => void}
|
|
419
419
|
*/
|
|
420
420
|
$on(t, r) {
|
|
421
|
-
if (!
|
|
422
|
-
return
|
|
421
|
+
if (!te(r))
|
|
422
|
+
return x;
|
|
423
423
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
424
424
|
return n.push(r), () => {
|
|
425
425
|
const i = n.indexOf(r);
|
|
@@ -431,18 +431,19 @@ class Sr {
|
|
|
431
431
|
* @returns {void}
|
|
432
432
|
*/
|
|
433
433
|
$set(t) {
|
|
434
|
-
this.$$set && !
|
|
434
|
+
this.$$set && !tr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
435
435
|
}
|
|
436
436
|
}
|
|
437
437
|
const Tr = "4";
|
|
438
438
|
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Tr);
|
|
439
|
-
|
|
439
|
+
const U = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
440
|
+
function Hr(e, t) {
|
|
440
441
|
if (e) {
|
|
441
442
|
const r = document.createElement("style");
|
|
442
443
|
r.innerHTML = t, e.appendChild(r);
|
|
443
444
|
}
|
|
444
445
|
}
|
|
445
|
-
function
|
|
446
|
+
function Ar(e, t) {
|
|
446
447
|
if (!e || !t)
|
|
447
448
|
return;
|
|
448
449
|
const r = new URL(t);
|
|
@@ -453,13 +454,40 @@ function Hr(e, t) {
|
|
|
453
454
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
454
455
|
});
|
|
455
456
|
}
|
|
456
|
-
function Br(e, t, r) {
|
|
457
|
-
if (window.emMessageBus)
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
457
|
+
function Br(e, t, r, n = !1) {
|
|
458
|
+
if (!window.emMessageBus)
|
|
459
|
+
return;
|
|
460
|
+
if (!("adoptedStyleSheets" in Document.prototype) || !n)
|
|
461
|
+
return r = Or(e, t), r;
|
|
462
|
+
window[U] || (window[U] = {}), r = Pr(e, t);
|
|
463
|
+
const o = r.unsubscribe.bind(r), s = () => {
|
|
464
|
+
if (window[U][t]) {
|
|
465
|
+
const a = window[U][t];
|
|
466
|
+
a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[U][t];
|
|
467
|
+
}
|
|
468
|
+
o();
|
|
469
|
+
};
|
|
470
|
+
return r.unsubscribe = s, r;
|
|
471
|
+
}
|
|
472
|
+
function Or(e, t) {
|
|
473
|
+
const r = document.createElement("style");
|
|
474
|
+
return window.emMessageBus.subscribe(t, (n) => {
|
|
475
|
+
e && (r.innerHTML = n, e.appendChild(r));
|
|
476
|
+
});
|
|
477
|
+
}
|
|
478
|
+
function Pr(e, t) {
|
|
479
|
+
return window.emMessageBus.subscribe(t, (r) => {
|
|
480
|
+
if (!e)
|
|
481
|
+
return;
|
|
482
|
+
const n = e.getRootNode(), i = window[U];
|
|
483
|
+
let o = i[t]?.sheet;
|
|
484
|
+
o ? i[t].refCount = i[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), i[t] = {
|
|
485
|
+
sheet: o,
|
|
486
|
+
refCount: 1
|
|
461
487
|
});
|
|
462
|
-
|
|
488
|
+
const s = n.adoptedStyleSheets || [];
|
|
489
|
+
s.includes(o) || (n.adoptedStyleSheets = [...s, o]);
|
|
490
|
+
});
|
|
463
491
|
}
|
|
464
492
|
/*! *****************************************************************************
|
|
465
493
|
Copyright (c) Microsoft Corporation.
|
|
@@ -483,7 +511,7 @@ var Ne = function(e, t) {
|
|
|
483
511
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
484
512
|
}, Ne(e, t);
|
|
485
513
|
};
|
|
486
|
-
function
|
|
514
|
+
function re(e, t) {
|
|
487
515
|
if (typeof t != "function" && t !== null)
|
|
488
516
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
489
517
|
Ne(e, t);
|
|
@@ -492,7 +520,7 @@ function te(e, t) {
|
|
|
492
520
|
}
|
|
493
521
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
494
522
|
}
|
|
495
|
-
function
|
|
523
|
+
function Le(e) {
|
|
496
524
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
497
525
|
if (r)
|
|
498
526
|
return r.call(e);
|
|
@@ -504,7 +532,7 @@ function Ce(e) {
|
|
|
504
532
|
};
|
|
505
533
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
506
534
|
}
|
|
507
|
-
function
|
|
535
|
+
function Me(e, t) {
|
|
508
536
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
509
537
|
if (!r)
|
|
510
538
|
return e;
|
|
@@ -524,7 +552,7 @@ function Le(e, t) {
|
|
|
524
552
|
}
|
|
525
553
|
return o;
|
|
526
554
|
}
|
|
527
|
-
function
|
|
555
|
+
function $e(e, t, r) {
|
|
528
556
|
if (arguments.length === 2)
|
|
529
557
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
530
558
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
@@ -533,13 +561,13 @@ function Me(e, t, r) {
|
|
|
533
561
|
function H(e) {
|
|
534
562
|
return typeof e == "function";
|
|
535
563
|
}
|
|
536
|
-
function
|
|
564
|
+
function Ht(e) {
|
|
537
565
|
var t = function(n) {
|
|
538
566
|
Error.call(n), n.stack = new Error().stack;
|
|
539
567
|
}, r = e(t);
|
|
540
568
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
541
569
|
}
|
|
542
|
-
var
|
|
570
|
+
var Se = Ht(function(e) {
|
|
543
571
|
return function(r) {
|
|
544
572
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
545
573
|
` + r.map(function(n, i) {
|
|
@@ -548,13 +576,13 @@ var Ee = wt(function(e) {
|
|
|
548
576
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
549
577
|
};
|
|
550
578
|
});
|
|
551
|
-
function
|
|
579
|
+
function Re(e, t) {
|
|
552
580
|
if (e) {
|
|
553
581
|
var r = e.indexOf(t);
|
|
554
582
|
0 <= r && e.splice(r, 1);
|
|
555
583
|
}
|
|
556
584
|
}
|
|
557
|
-
var
|
|
585
|
+
var be = function() {
|
|
558
586
|
function e(t) {
|
|
559
587
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
560
588
|
}
|
|
@@ -566,12 +594,12 @@ var me = function() {
|
|
|
566
594
|
if (s)
|
|
567
595
|
if (this._parentage = null, Array.isArray(s))
|
|
568
596
|
try {
|
|
569
|
-
for (var a =
|
|
597
|
+
for (var a = Le(s), h = a.next(); !h.done; h = a.next()) {
|
|
570
598
|
var u = h.value;
|
|
571
599
|
u.remove(this);
|
|
572
600
|
}
|
|
573
|
-
} catch (
|
|
574
|
-
t = { error:
|
|
601
|
+
} catch (p) {
|
|
602
|
+
t = { error: p };
|
|
575
603
|
} finally {
|
|
576
604
|
try {
|
|
577
605
|
h && !h.done && (r = a.return) && r.call(a);
|
|
@@ -586,26 +614,26 @@ var me = function() {
|
|
|
586
614
|
if (H(l))
|
|
587
615
|
try {
|
|
588
616
|
l();
|
|
589
|
-
} catch (
|
|
590
|
-
o =
|
|
617
|
+
} catch (p) {
|
|
618
|
+
o = p instanceof Se ? p.errors : [p];
|
|
591
619
|
}
|
|
592
|
-
var
|
|
593
|
-
if (
|
|
620
|
+
var c = this._finalizers;
|
|
621
|
+
if (c) {
|
|
594
622
|
this._finalizers = null;
|
|
595
623
|
try {
|
|
596
|
-
for (var
|
|
597
|
-
var
|
|
624
|
+
for (var f = Le(c), b = f.next(); !b.done; b = f.next()) {
|
|
625
|
+
var g = b.value;
|
|
598
626
|
try {
|
|
599
|
-
|
|
600
|
-
} catch (
|
|
601
|
-
o = o ?? [],
|
|
627
|
+
Ke(g);
|
|
628
|
+
} catch (p) {
|
|
629
|
+
o = o ?? [], p instanceof Se ? o = $e($e([], Me(o)), Me(p.errors)) : o.push(p);
|
|
602
630
|
}
|
|
603
631
|
}
|
|
604
|
-
} catch (
|
|
605
|
-
n = { error:
|
|
632
|
+
} catch (p) {
|
|
633
|
+
n = { error: p };
|
|
606
634
|
} finally {
|
|
607
635
|
try {
|
|
608
|
-
b && !b.done && (i =
|
|
636
|
+
b && !b.done && (i = f.return) && i.call(f);
|
|
609
637
|
} finally {
|
|
610
638
|
if (n)
|
|
611
639
|
throw n.error;
|
|
@@ -613,13 +641,13 @@ var me = function() {
|
|
|
613
641
|
}
|
|
614
642
|
}
|
|
615
643
|
if (o)
|
|
616
|
-
throw new
|
|
644
|
+
throw new Se(o);
|
|
617
645
|
}
|
|
618
646
|
}, e.prototype.add = function(t) {
|
|
619
647
|
var r;
|
|
620
648
|
if (t && t !== this)
|
|
621
649
|
if (this.closed)
|
|
622
|
-
|
|
650
|
+
Ke(t);
|
|
623
651
|
else {
|
|
624
652
|
if (t instanceof e) {
|
|
625
653
|
if (t.closed || t._hasParent(this))
|
|
@@ -636,52 +664,52 @@ var me = function() {
|
|
|
636
664
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
637
665
|
}, e.prototype._removeParent = function(t) {
|
|
638
666
|
var r = this._parentage;
|
|
639
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
667
|
+
r === t ? this._parentage = null : Array.isArray(r) && Re(r, t);
|
|
640
668
|
}, e.prototype.remove = function(t) {
|
|
641
669
|
var r = this._finalizers;
|
|
642
|
-
r &&
|
|
670
|
+
r && Re(r, t), t instanceof e && t._removeParent(this);
|
|
643
671
|
}, e.EMPTY = function() {
|
|
644
672
|
var t = new e();
|
|
645
673
|
return t.closed = !0, t;
|
|
646
674
|
}(), e;
|
|
647
|
-
}(),
|
|
675
|
+
}(), At = be.EMPTY;
|
|
648
676
|
function Bt(e) {
|
|
649
|
-
return e instanceof
|
|
677
|
+
return e instanceof be || e && "closed" in e && H(e.remove) && H(e.add) && H(e.unsubscribe);
|
|
650
678
|
}
|
|
651
|
-
function
|
|
679
|
+
function Ke(e) {
|
|
652
680
|
H(e) ? e() : e.unsubscribe();
|
|
653
681
|
}
|
|
654
|
-
var
|
|
682
|
+
var Ir = {
|
|
655
683
|
Promise: void 0
|
|
656
|
-
},
|
|
684
|
+
}, Cr = {
|
|
657
685
|
setTimeout: function(e, t) {
|
|
658
686
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
659
687
|
r[n - 2] = arguments[n];
|
|
660
|
-
return setTimeout.apply(void 0,
|
|
688
|
+
return setTimeout.apply(void 0, $e([e, t], Me(r)));
|
|
661
689
|
},
|
|
662
690
|
clearTimeout: function(e) {
|
|
663
691
|
return clearTimeout(e);
|
|
664
692
|
},
|
|
665
693
|
delegate: void 0
|
|
666
694
|
};
|
|
667
|
-
function
|
|
668
|
-
|
|
695
|
+
function Nr(e) {
|
|
696
|
+
Cr.setTimeout(function() {
|
|
669
697
|
throw e;
|
|
670
698
|
});
|
|
671
699
|
}
|
|
672
|
-
function
|
|
700
|
+
function et() {
|
|
673
701
|
}
|
|
674
|
-
function
|
|
702
|
+
function he(e) {
|
|
675
703
|
e();
|
|
676
704
|
}
|
|
677
|
-
var
|
|
678
|
-
|
|
705
|
+
var Ot = function(e) {
|
|
706
|
+
re(t, e);
|
|
679
707
|
function t(r) {
|
|
680
708
|
var n = e.call(this) || this;
|
|
681
|
-
return n.isStopped = !1, r ? (n.destination = r, Bt(r) && r.add(n)) : n.destination =
|
|
709
|
+
return n.isStopped = !1, r ? (n.destination = r, Bt(r) && r.add(n)) : n.destination = $r, n;
|
|
682
710
|
}
|
|
683
711
|
return t.create = function(r, n, i) {
|
|
684
|
-
return new
|
|
712
|
+
return new De(r, n, i);
|
|
685
713
|
}, t.prototype.next = function(r) {
|
|
686
714
|
this.isStopped || this._next(r);
|
|
687
715
|
}, t.prototype.error = function(r) {
|
|
@@ -705,7 +733,7 @@ var At = function(e) {
|
|
|
705
733
|
this.unsubscribe();
|
|
706
734
|
}
|
|
707
735
|
}, t;
|
|
708
|
-
}(
|
|
736
|
+
}(be), Lr = function() {
|
|
709
737
|
function e(t) {
|
|
710
738
|
this.partialObserver = t;
|
|
711
739
|
}
|
|
@@ -715,7 +743,7 @@ var At = function(e) {
|
|
|
715
743
|
try {
|
|
716
744
|
r.next(t);
|
|
717
745
|
} catch (n) {
|
|
718
|
-
|
|
746
|
+
se(n);
|
|
719
747
|
}
|
|
720
748
|
}, e.prototype.error = function(t) {
|
|
721
749
|
var r = this.partialObserver;
|
|
@@ -723,56 +751,56 @@ var At = function(e) {
|
|
|
723
751
|
try {
|
|
724
752
|
r.error(t);
|
|
725
753
|
} catch (n) {
|
|
726
|
-
|
|
754
|
+
se(n);
|
|
727
755
|
}
|
|
728
756
|
else
|
|
729
|
-
|
|
757
|
+
se(t);
|
|
730
758
|
}, e.prototype.complete = function() {
|
|
731
759
|
var t = this.partialObserver;
|
|
732
760
|
if (t.complete)
|
|
733
761
|
try {
|
|
734
762
|
t.complete();
|
|
735
763
|
} catch (r) {
|
|
736
|
-
|
|
764
|
+
se(r);
|
|
737
765
|
}
|
|
738
766
|
}, e;
|
|
739
|
-
}(),
|
|
740
|
-
|
|
767
|
+
}(), De = function(e) {
|
|
768
|
+
re(t, e);
|
|
741
769
|
function t(r, n, i) {
|
|
742
770
|
var o = e.call(this) || this, s;
|
|
743
771
|
return H(r) || !r ? s = {
|
|
744
772
|
next: r ?? void 0,
|
|
745
773
|
error: n ?? void 0,
|
|
746
774
|
complete: i ?? void 0
|
|
747
|
-
} : s = r, o.destination = new
|
|
775
|
+
} : s = r, o.destination = new Lr(s), o;
|
|
748
776
|
}
|
|
749
777
|
return t;
|
|
750
|
-
}(
|
|
751
|
-
function
|
|
752
|
-
|
|
778
|
+
}(Ot);
|
|
779
|
+
function se(e) {
|
|
780
|
+
Nr(e);
|
|
753
781
|
}
|
|
754
|
-
function
|
|
782
|
+
function Mr(e) {
|
|
755
783
|
throw e;
|
|
756
784
|
}
|
|
757
|
-
var
|
|
785
|
+
var $r = {
|
|
758
786
|
closed: !0,
|
|
759
|
-
next:
|
|
760
|
-
error:
|
|
761
|
-
complete:
|
|
762
|
-
},
|
|
787
|
+
next: et,
|
|
788
|
+
error: Mr,
|
|
789
|
+
complete: et
|
|
790
|
+
}, Rr = function() {
|
|
763
791
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
764
792
|
}();
|
|
765
|
-
function
|
|
793
|
+
function Dr(e) {
|
|
766
794
|
return e;
|
|
767
795
|
}
|
|
768
|
-
function
|
|
769
|
-
return e.length === 0 ?
|
|
796
|
+
function Ur(e) {
|
|
797
|
+
return e.length === 0 ? Dr : e.length === 1 ? e[0] : function(r) {
|
|
770
798
|
return e.reduce(function(n, i) {
|
|
771
799
|
return i(n);
|
|
772
800
|
}, r);
|
|
773
801
|
};
|
|
774
802
|
}
|
|
775
|
-
var
|
|
803
|
+
var tt = function() {
|
|
776
804
|
function e(t) {
|
|
777
805
|
t && (this._subscribe = t);
|
|
778
806
|
}
|
|
@@ -780,8 +808,8 @@ var et = function() {
|
|
|
780
808
|
var r = new e();
|
|
781
809
|
return r.source = this, r.operator = t, r;
|
|
782
810
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
783
|
-
var i = this, o =
|
|
784
|
-
return
|
|
811
|
+
var i = this, o = Fr(t) ? t : new De(t, r, n);
|
|
812
|
+
return he(function() {
|
|
785
813
|
var s = i, a = s.operator, h = s.source;
|
|
786
814
|
o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
|
787
815
|
}), o;
|
|
@@ -793,8 +821,8 @@ var et = function() {
|
|
|
793
821
|
}
|
|
794
822
|
}, e.prototype.forEach = function(t, r) {
|
|
795
823
|
var n = this;
|
|
796
|
-
return r =
|
|
797
|
-
var s = new
|
|
824
|
+
return r = rt(r), new r(function(i, o) {
|
|
825
|
+
var s = new De({
|
|
798
826
|
next: function(a) {
|
|
799
827
|
try {
|
|
800
828
|
t(a);
|
|
@@ -810,15 +838,15 @@ var et = function() {
|
|
|
810
838
|
}, e.prototype._subscribe = function(t) {
|
|
811
839
|
var r;
|
|
812
840
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
813
|
-
}, e.prototype[
|
|
841
|
+
}, e.prototype[Rr] = function() {
|
|
814
842
|
return this;
|
|
815
843
|
}, e.prototype.pipe = function() {
|
|
816
844
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
817
845
|
t[r] = arguments[r];
|
|
818
|
-
return
|
|
846
|
+
return Ur(t)(this);
|
|
819
847
|
}, e.prototype.toPromise = function(t) {
|
|
820
848
|
var r = this;
|
|
821
|
-
return t =
|
|
849
|
+
return t = rt(t), new t(function(n, i) {
|
|
822
850
|
var o;
|
|
823
851
|
r.subscribe(function(s) {
|
|
824
852
|
return o = s;
|
|
@@ -832,40 +860,40 @@ var et = function() {
|
|
|
832
860
|
return new e(t);
|
|
833
861
|
}, e;
|
|
834
862
|
}();
|
|
835
|
-
function
|
|
863
|
+
function rt(e) {
|
|
836
864
|
var t;
|
|
837
|
-
return (t = e ??
|
|
865
|
+
return (t = e ?? Ir.Promise) !== null && t !== void 0 ? t : Promise;
|
|
838
866
|
}
|
|
839
|
-
function
|
|
867
|
+
function Gr(e) {
|
|
840
868
|
return e && H(e.next) && H(e.error) && H(e.complete);
|
|
841
869
|
}
|
|
842
|
-
function
|
|
843
|
-
return e && e instanceof
|
|
870
|
+
function Fr(e) {
|
|
871
|
+
return e && e instanceof Ot || Gr(e) && Bt(e);
|
|
844
872
|
}
|
|
845
|
-
var
|
|
873
|
+
var jr = Ht(function(e) {
|
|
846
874
|
return function() {
|
|
847
875
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
848
876
|
};
|
|
849
877
|
}), Pt = function(e) {
|
|
850
|
-
|
|
878
|
+
re(t, e);
|
|
851
879
|
function t() {
|
|
852
880
|
var r = e.call(this) || this;
|
|
853
881
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
854
882
|
}
|
|
855
883
|
return t.prototype.lift = function(r) {
|
|
856
|
-
var n = new
|
|
884
|
+
var n = new nt(this, this);
|
|
857
885
|
return n.operator = r, n;
|
|
858
886
|
}, t.prototype._throwIfClosed = function() {
|
|
859
887
|
if (this.closed)
|
|
860
|
-
throw new
|
|
888
|
+
throw new jr();
|
|
861
889
|
}, t.prototype.next = function(r) {
|
|
862
890
|
var n = this;
|
|
863
|
-
|
|
891
|
+
he(function() {
|
|
864
892
|
var i, o;
|
|
865
893
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
866
894
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
867
895
|
try {
|
|
868
|
-
for (var s =
|
|
896
|
+
for (var s = Le(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
869
897
|
var h = a.value;
|
|
870
898
|
h.next(r);
|
|
871
899
|
}
|
|
@@ -883,7 +911,7 @@ var Ur = wt(function(e) {
|
|
|
883
911
|
});
|
|
884
912
|
}, t.prototype.error = function(r) {
|
|
885
913
|
var n = this;
|
|
886
|
-
|
|
914
|
+
he(function() {
|
|
887
915
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
888
916
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
889
917
|
for (var i = n.observers; i.length; )
|
|
@@ -892,7 +920,7 @@ var Ur = wt(function(e) {
|
|
|
892
920
|
});
|
|
893
921
|
}, t.prototype.complete = function() {
|
|
894
922
|
var r = this;
|
|
895
|
-
|
|
923
|
+
he(function() {
|
|
896
924
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
897
925
|
r.isStopped = !0;
|
|
898
926
|
for (var n = r.observers; n.length; )
|
|
@@ -914,20 +942,20 @@ var Ur = wt(function(e) {
|
|
|
914
942
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
915
943
|
}, t.prototype._innerSubscribe = function(r) {
|
|
916
944
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
917
|
-
return o || s ?
|
|
918
|
-
n.currentObservers = null,
|
|
945
|
+
return o || s ? At : (this.currentObservers = null, a.push(r), new be(function() {
|
|
946
|
+
n.currentObservers = null, Re(a, r);
|
|
919
947
|
}));
|
|
920
948
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
921
949
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
922
950
|
i ? r.error(o) : s && r.complete();
|
|
923
951
|
}, t.prototype.asObservable = function() {
|
|
924
|
-
var r = new
|
|
952
|
+
var r = new tt();
|
|
925
953
|
return r.source = this, r;
|
|
926
954
|
}, t.create = function(r, n) {
|
|
927
|
-
return new
|
|
955
|
+
return new nt(r, n);
|
|
928
956
|
}, t;
|
|
929
|
-
}(
|
|
930
|
-
|
|
957
|
+
}(tt), nt = function(e) {
|
|
958
|
+
re(t, e);
|
|
931
959
|
function t(r, n) {
|
|
932
960
|
var i = e.call(this) || this;
|
|
933
961
|
return i.destination = r, i.source = n, i;
|
|
@@ -943,17 +971,17 @@ var Ur = wt(function(e) {
|
|
|
943
971
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
944
972
|
}, t.prototype._subscribe = function(r) {
|
|
945
973
|
var n, i;
|
|
946
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
974
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : At;
|
|
947
975
|
}, t;
|
|
948
|
-
}(Pt),
|
|
976
|
+
}(Pt), It = {
|
|
949
977
|
now: function() {
|
|
950
|
-
return (
|
|
978
|
+
return (It.delegate || Date).now();
|
|
951
979
|
},
|
|
952
980
|
delegate: void 0
|
|
953
|
-
},
|
|
954
|
-
|
|
981
|
+
}, kr = function(e) {
|
|
982
|
+
re(t, e);
|
|
955
983
|
function t(r, n, i) {
|
|
956
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
984
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = It);
|
|
957
985
|
var o = e.call(this) || this;
|
|
958
986
|
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;
|
|
959
987
|
}
|
|
@@ -974,177 +1002,177 @@ var Ur = wt(function(e) {
|
|
|
974
1002
|
}
|
|
975
1003
|
}, t;
|
|
976
1004
|
}(Pt);
|
|
977
|
-
const
|
|
978
|
-
if (
|
|
979
|
-
const r = new
|
|
980
|
-
|
|
1005
|
+
const it = [], ot = {}, Vr = (e, t = 0) => {
|
|
1006
|
+
if (it.indexOf(e) == -1) {
|
|
1007
|
+
const r = new kr(t);
|
|
1008
|
+
ot[e] = r, it.push(e);
|
|
981
1009
|
}
|
|
982
|
-
return
|
|
983
|
-
},
|
|
984
|
-
function
|
|
1010
|
+
return ot[e];
|
|
1011
|
+
}, R = [];
|
|
1012
|
+
function Xr(e, t) {
|
|
985
1013
|
return {
|
|
986
|
-
subscribe:
|
|
1014
|
+
subscribe: ye(e, t).subscribe
|
|
987
1015
|
};
|
|
988
1016
|
}
|
|
989
|
-
function
|
|
1017
|
+
function ye(e, t = x) {
|
|
990
1018
|
let r;
|
|
991
1019
|
const n = /* @__PURE__ */ new Set();
|
|
992
1020
|
function i(a) {
|
|
993
1021
|
if (xt(e, a) && (e = a, r)) {
|
|
994
|
-
const h =
|
|
1022
|
+
const h = !R.length;
|
|
995
1023
|
for (const u of n)
|
|
996
|
-
u[1](),
|
|
1024
|
+
u[1](), R.push(u, e);
|
|
997
1025
|
if (h) {
|
|
998
|
-
for (let u = 0; u <
|
|
999
|
-
|
|
1000
|
-
|
|
1026
|
+
for (let u = 0; u < R.length; u += 2)
|
|
1027
|
+
R[u][0](R[u + 1]);
|
|
1028
|
+
R.length = 0;
|
|
1001
1029
|
}
|
|
1002
1030
|
}
|
|
1003
1031
|
}
|
|
1004
1032
|
function o(a) {
|
|
1005
1033
|
i(a(e));
|
|
1006
1034
|
}
|
|
1007
|
-
function s(a, h =
|
|
1035
|
+
function s(a, h = x) {
|
|
1008
1036
|
const u = [a, h];
|
|
1009
|
-
return n.add(u), n.size === 1 && (r = t(i, o) ||
|
|
1037
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || x), a(e), () => {
|
|
1010
1038
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
1011
1039
|
};
|
|
1012
1040
|
}
|
|
1013
1041
|
return { set: i, update: o, subscribe: s };
|
|
1014
1042
|
}
|
|
1015
|
-
function
|
|
1043
|
+
function W(e, t, r) {
|
|
1016
1044
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1017
1045
|
if (!i.every(Boolean))
|
|
1018
1046
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1019
1047
|
const o = t.length < 2;
|
|
1020
|
-
return
|
|
1048
|
+
return Xr(r, (s, a) => {
|
|
1021
1049
|
let h = !1;
|
|
1022
1050
|
const u = [];
|
|
1023
|
-
let l = 0,
|
|
1024
|
-
const
|
|
1051
|
+
let l = 0, c = x;
|
|
1052
|
+
const f = () => {
|
|
1025
1053
|
if (l)
|
|
1026
1054
|
return;
|
|
1027
|
-
|
|
1028
|
-
const
|
|
1029
|
-
o ? s(
|
|
1055
|
+
c();
|
|
1056
|
+
const g = t(n ? u[0] : u, s, a);
|
|
1057
|
+
o ? s(g) : c = te(g) ? g : x;
|
|
1030
1058
|
}, b = i.map(
|
|
1031
|
-
(
|
|
1032
|
-
|
|
1033
|
-
(
|
|
1034
|
-
u[
|
|
1059
|
+
(g, p) => rr(
|
|
1060
|
+
g,
|
|
1061
|
+
(S) => {
|
|
1062
|
+
u[p] = S, l &= ~(1 << p), h && f();
|
|
1035
1063
|
},
|
|
1036
1064
|
() => {
|
|
1037
|
-
l |= 1 <<
|
|
1065
|
+
l |= 1 << p;
|
|
1038
1066
|
}
|
|
1039
1067
|
)
|
|
1040
1068
|
);
|
|
1041
|
-
return h = !0,
|
|
1042
|
-
|
|
1069
|
+
return h = !0, f(), function() {
|
|
1070
|
+
ee(b), c(), h = !1;
|
|
1043
1071
|
};
|
|
1044
1072
|
});
|
|
1045
1073
|
}
|
|
1046
|
-
function
|
|
1074
|
+
function Wr(e) {
|
|
1047
1075
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1048
1076
|
}
|
|
1049
|
-
var
|
|
1050
|
-
return
|
|
1077
|
+
var zr = function(t) {
|
|
1078
|
+
return Zr(t) && !Qr(t);
|
|
1051
1079
|
};
|
|
1052
|
-
function
|
|
1080
|
+
function Zr(e) {
|
|
1053
1081
|
return !!e && typeof e == "object";
|
|
1054
1082
|
}
|
|
1055
|
-
function
|
|
1083
|
+
function Qr(e) {
|
|
1056
1084
|
var t = Object.prototype.toString.call(e);
|
|
1057
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1085
|
+
return t === "[object RegExp]" || t === "[object Date]" || qr(e);
|
|
1058
1086
|
}
|
|
1059
|
-
var
|
|
1060
|
-
function
|
|
1061
|
-
return e.$$typeof ===
|
|
1087
|
+
var Jr = typeof Symbol == "function" && Symbol.for, Yr = Jr ? Symbol.for("react.element") : 60103;
|
|
1088
|
+
function qr(e) {
|
|
1089
|
+
return e.$$typeof === Yr;
|
|
1062
1090
|
}
|
|
1063
|
-
function
|
|
1091
|
+
function Kr(e) {
|
|
1064
1092
|
return Array.isArray(e) ? [] : {};
|
|
1065
1093
|
}
|
|
1066
|
-
function
|
|
1067
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1094
|
+
function q(e, t) {
|
|
1095
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? F(Kr(e), e, t) : e;
|
|
1068
1096
|
}
|
|
1069
|
-
function
|
|
1097
|
+
function en(e, t, r) {
|
|
1070
1098
|
return e.concat(t).map(function(n) {
|
|
1071
|
-
return
|
|
1099
|
+
return q(n, r);
|
|
1072
1100
|
});
|
|
1073
1101
|
}
|
|
1074
|
-
function
|
|
1102
|
+
function tn(e, t) {
|
|
1075
1103
|
if (!t.customMerge)
|
|
1076
|
-
return
|
|
1104
|
+
return F;
|
|
1077
1105
|
var r = t.customMerge(e);
|
|
1078
|
-
return typeof r == "function" ? r :
|
|
1106
|
+
return typeof r == "function" ? r : F;
|
|
1079
1107
|
}
|
|
1080
|
-
function
|
|
1108
|
+
function rn(e) {
|
|
1081
1109
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1082
1110
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1083
1111
|
}) : [];
|
|
1084
1112
|
}
|
|
1085
|
-
function
|
|
1086
|
-
return Object.keys(e).concat(
|
|
1113
|
+
function st(e) {
|
|
1114
|
+
return Object.keys(e).concat(rn(e));
|
|
1087
1115
|
}
|
|
1088
|
-
function
|
|
1116
|
+
function Ct(e, t) {
|
|
1089
1117
|
try {
|
|
1090
1118
|
return t in e;
|
|
1091
1119
|
} catch {
|
|
1092
1120
|
return !1;
|
|
1093
1121
|
}
|
|
1094
1122
|
}
|
|
1095
|
-
function
|
|
1096
|
-
return
|
|
1123
|
+
function nn(e, t) {
|
|
1124
|
+
return Ct(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1097
1125
|
}
|
|
1098
|
-
function
|
|
1126
|
+
function on(e, t, r) {
|
|
1099
1127
|
var n = {};
|
|
1100
|
-
return r.isMergeableObject(e) &&
|
|
1101
|
-
n[i] =
|
|
1102
|
-
}),
|
|
1103
|
-
|
|
1128
|
+
return r.isMergeableObject(e) && st(e).forEach(function(i) {
|
|
1129
|
+
n[i] = q(e[i], r);
|
|
1130
|
+
}), st(t).forEach(function(i) {
|
|
1131
|
+
nn(e, i) || (Ct(e, i) && r.isMergeableObject(t[i]) ? n[i] = tn(i, r)(e[i], t[i], r) : n[i] = q(t[i], r));
|
|
1104
1132
|
}), n;
|
|
1105
1133
|
}
|
|
1106
|
-
function
|
|
1107
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1134
|
+
function F(e, t, r) {
|
|
1135
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || en, r.isMergeableObject = r.isMergeableObject || zr, r.cloneUnlessOtherwiseSpecified = q;
|
|
1108
1136
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1109
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1137
|
+
return o ? n ? r.arrayMerge(e, t, r) : on(e, t, r) : q(t, r);
|
|
1110
1138
|
}
|
|
1111
|
-
|
|
1139
|
+
F.all = function(t, r) {
|
|
1112
1140
|
if (!Array.isArray(t))
|
|
1113
1141
|
throw new Error("first argument should be an array");
|
|
1114
1142
|
return t.reduce(function(n, i) {
|
|
1115
|
-
return
|
|
1143
|
+
return F(n, i, r);
|
|
1116
1144
|
}, {});
|
|
1117
1145
|
};
|
|
1118
|
-
var
|
|
1119
|
-
const
|
|
1120
|
-
var
|
|
1121
|
-
return
|
|
1146
|
+
var sn = F, an = sn;
|
|
1147
|
+
const un = /* @__PURE__ */ Wr(an);
|
|
1148
|
+
var Ue = function(e, t) {
|
|
1149
|
+
return Ue = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1122
1150
|
r.__proto__ = n;
|
|
1123
1151
|
} || function(r, n) {
|
|
1124
1152
|
for (var i in n)
|
|
1125
1153
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1126
|
-
},
|
|
1154
|
+
}, Ue(e, t);
|
|
1127
1155
|
};
|
|
1128
|
-
function
|
|
1156
|
+
function ge(e, t) {
|
|
1129
1157
|
if (typeof t != "function" && t !== null)
|
|
1130
1158
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1131
|
-
|
|
1159
|
+
Ue(e, t);
|
|
1132
1160
|
function r() {
|
|
1133
1161
|
this.constructor = e;
|
|
1134
1162
|
}
|
|
1135
1163
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1136
1164
|
}
|
|
1137
|
-
var
|
|
1138
|
-
return
|
|
1165
|
+
var T = function() {
|
|
1166
|
+
return T = Object.assign || function(t) {
|
|
1139
1167
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1140
1168
|
r = arguments[n];
|
|
1141
1169
|
for (var o in r)
|
|
1142
1170
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1143
1171
|
}
|
|
1144
1172
|
return t;
|
|
1145
|
-
},
|
|
1173
|
+
}, T.apply(this, arguments);
|
|
1146
1174
|
};
|
|
1147
|
-
function
|
|
1175
|
+
function hn(e, t) {
|
|
1148
1176
|
var r = {};
|
|
1149
1177
|
for (var n in e)
|
|
1150
1178
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -1153,43 +1181,43 @@ function sn(e, t) {
|
|
|
1153
1181
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1154
1182
|
return r;
|
|
1155
1183
|
}
|
|
1156
|
-
function
|
|
1184
|
+
function we(e, t, r) {
|
|
1157
1185
|
if (r || arguments.length === 2)
|
|
1158
1186
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1159
1187
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1160
1188
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
1161
1189
|
}
|
|
1162
1190
|
function Te(e, t) {
|
|
1163
|
-
var r = t && t.cache ? t.cache :
|
|
1191
|
+
var r = t && t.cache ? t.cache : bn, n = t && t.serializer ? t.serializer : dn, i = t && t.strategy ? t.strategy : fn;
|
|
1164
1192
|
return i(e, {
|
|
1165
1193
|
cache: r,
|
|
1166
1194
|
serializer: n
|
|
1167
1195
|
});
|
|
1168
1196
|
}
|
|
1169
|
-
function
|
|
1197
|
+
function ln(e) {
|
|
1170
1198
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1171
1199
|
}
|
|
1172
|
-
function
|
|
1173
|
-
var i =
|
|
1200
|
+
function cn(e, t, r, n) {
|
|
1201
|
+
var i = ln(n) ? n : r(n), o = t.get(i);
|
|
1174
1202
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1175
1203
|
}
|
|
1176
1204
|
function Nt(e, t, r) {
|
|
1177
1205
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1178
1206
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1179
1207
|
}
|
|
1180
|
-
function
|
|
1208
|
+
function Lt(e, t, r, n, i) {
|
|
1181
1209
|
return r.bind(t, e, n, i);
|
|
1182
1210
|
}
|
|
1183
|
-
function
|
|
1184
|
-
var r = e.length === 1 ?
|
|
1185
|
-
return
|
|
1211
|
+
function fn(e, t) {
|
|
1212
|
+
var r = e.length === 1 ? cn : Nt;
|
|
1213
|
+
return Lt(e, this, r, t.cache.create(), t.serializer);
|
|
1186
1214
|
}
|
|
1187
|
-
function
|
|
1188
|
-
return
|
|
1215
|
+
function pn(e, t) {
|
|
1216
|
+
return Lt(e, this, Nt, t.cache.create(), t.serializer);
|
|
1189
1217
|
}
|
|
1190
|
-
var
|
|
1218
|
+
var dn = function() {
|
|
1191
1219
|
return JSON.stringify(arguments);
|
|
1192
|
-
},
|
|
1220
|
+
}, mn = (
|
|
1193
1221
|
/** @class */
|
|
1194
1222
|
function() {
|
|
1195
1223
|
function e() {
|
|
@@ -1201,71 +1229,71 @@ var fn = function() {
|
|
|
1201
1229
|
this.cache[t] = r;
|
|
1202
1230
|
}, e;
|
|
1203
1231
|
}()
|
|
1204
|
-
),
|
|
1232
|
+
), bn = {
|
|
1205
1233
|
create: function() {
|
|
1206
|
-
return new
|
|
1234
|
+
return new mn();
|
|
1207
1235
|
}
|
|
1208
|
-
},
|
|
1209
|
-
variadic:
|
|
1210
|
-
},
|
|
1211
|
-
return
|
|
1236
|
+
}, He = {
|
|
1237
|
+
variadic: pn
|
|
1238
|
+
}, pe = function() {
|
|
1239
|
+
return pe = Object.assign || function(t) {
|
|
1212
1240
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1213
1241
|
r = arguments[n];
|
|
1214
1242
|
for (var o in r)
|
|
1215
1243
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1216
1244
|
}
|
|
1217
1245
|
return t;
|
|
1218
|
-
},
|
|
1246
|
+
}, pe.apply(this, arguments);
|
|
1219
1247
|
};
|
|
1220
1248
|
var d;
|
|
1221
1249
|
(function(e) {
|
|
1222
1250
|
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";
|
|
1223
1251
|
})(d || (d = {}));
|
|
1224
|
-
var
|
|
1252
|
+
var v;
|
|
1225
1253
|
(function(e) {
|
|
1226
1254
|
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";
|
|
1227
|
-
})(
|
|
1228
|
-
var
|
|
1255
|
+
})(v || (v = {}));
|
|
1256
|
+
var j;
|
|
1229
1257
|
(function(e) {
|
|
1230
1258
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1231
|
-
})(
|
|
1232
|
-
function
|
|
1233
|
-
return e.type ===
|
|
1259
|
+
})(j || (j = {}));
|
|
1260
|
+
function at(e) {
|
|
1261
|
+
return e.type === v.literal;
|
|
1234
1262
|
}
|
|
1235
|
-
function
|
|
1236
|
-
return e.type ===
|
|
1237
|
-
}
|
|
1238
|
-
function Lt(e) {
|
|
1239
|
-
return e.type === y.number;
|
|
1263
|
+
function yn(e) {
|
|
1264
|
+
return e.type === v.argument;
|
|
1240
1265
|
}
|
|
1241
1266
|
function Mt(e) {
|
|
1242
|
-
return e.type ===
|
|
1267
|
+
return e.type === v.number;
|
|
1243
1268
|
}
|
|
1244
1269
|
function $t(e) {
|
|
1245
|
-
return e.type ===
|
|
1270
|
+
return e.type === v.date;
|
|
1246
1271
|
}
|
|
1247
1272
|
function Rt(e) {
|
|
1248
|
-
return e.type ===
|
|
1273
|
+
return e.type === v.time;
|
|
1249
1274
|
}
|
|
1250
1275
|
function Dt(e) {
|
|
1251
|
-
return e.type ===
|
|
1252
|
-
}
|
|
1253
|
-
function mn(e) {
|
|
1254
|
-
return e.type === y.pound;
|
|
1276
|
+
return e.type === v.select;
|
|
1255
1277
|
}
|
|
1256
1278
|
function Ut(e) {
|
|
1257
|
-
return e.type ===
|
|
1279
|
+
return e.type === v.plural;
|
|
1280
|
+
}
|
|
1281
|
+
function gn(e) {
|
|
1282
|
+
return e.type === v.pound;
|
|
1258
1283
|
}
|
|
1259
1284
|
function Gt(e) {
|
|
1260
|
-
return
|
|
1285
|
+
return e.type === v.tag;
|
|
1286
|
+
}
|
|
1287
|
+
function Ft(e) {
|
|
1288
|
+
return !!(e && typeof e == "object" && e.type === j.number);
|
|
1261
1289
|
}
|
|
1262
|
-
function
|
|
1263
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1290
|
+
function Ge(e) {
|
|
1291
|
+
return !!(e && typeof e == "object" && e.type === j.dateTime);
|
|
1264
1292
|
}
|
|
1265
|
-
var
|
|
1266
|
-
function
|
|
1293
|
+
var jt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, vn = /(?:[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;
|
|
1294
|
+
function _n(e) {
|
|
1267
1295
|
var t = {};
|
|
1268
|
-
return e.replace(
|
|
1296
|
+
return e.replace(vn, function(r) {
|
|
1269
1297
|
var n = r.length;
|
|
1270
1298
|
switch (r[0]) {
|
|
1271
1299
|
case "G":
|
|
@@ -1364,36 +1392,36 @@ var _ = function() {
|
|
|
1364
1392
|
return t;
|
|
1365
1393
|
}, _.apply(this, arguments);
|
|
1366
1394
|
};
|
|
1367
|
-
var
|
|
1368
|
-
function
|
|
1395
|
+
var En = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1396
|
+
function xn(e) {
|
|
1369
1397
|
if (e.length === 0)
|
|
1370
1398
|
throw new Error("Number skeleton cannot be empty");
|
|
1371
|
-
for (var t = e.split(
|
|
1372
|
-
return
|
|
1399
|
+
for (var t = e.split(En).filter(function(f) {
|
|
1400
|
+
return f.length > 0;
|
|
1373
1401
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1374
1402
|
var o = i[n], s = o.split("/");
|
|
1375
1403
|
if (s.length === 0)
|
|
1376
1404
|
throw new Error("Invalid number skeleton");
|
|
1377
1405
|
for (var a = s[0], h = s.slice(1), u = 0, l = h; u < l.length; u++) {
|
|
1378
|
-
var
|
|
1379
|
-
if (
|
|
1406
|
+
var c = l[u];
|
|
1407
|
+
if (c.length === 0)
|
|
1380
1408
|
throw new Error("Invalid number skeleton");
|
|
1381
1409
|
}
|
|
1382
1410
|
r.push({ stem: a, options: h });
|
|
1383
1411
|
}
|
|
1384
1412
|
return r;
|
|
1385
1413
|
}
|
|
1386
|
-
function
|
|
1414
|
+
function Sn(e) {
|
|
1387
1415
|
return e.replace(/^(.*?)-/, "");
|
|
1388
1416
|
}
|
|
1389
|
-
var
|
|
1390
|
-
function
|
|
1417
|
+
var ut = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, kt = /^(@+)?(\+|#+)?[rs]?$/g, wn = /(\*)(0+)|(#+)(0+)|(0+)/g, Vt = /^(0+)$/;
|
|
1418
|
+
function ht(e) {
|
|
1391
1419
|
var t = {};
|
|
1392
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1420
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(kt, function(r, n, i) {
|
|
1393
1421
|
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)), "";
|
|
1394
1422
|
}), t;
|
|
1395
1423
|
}
|
|
1396
|
-
function
|
|
1424
|
+
function Xt(e) {
|
|
1397
1425
|
switch (e) {
|
|
1398
1426
|
case "sign-auto":
|
|
1399
1427
|
return {
|
|
@@ -1433,7 +1461,7 @@ function Vt(e) {
|
|
|
1433
1461
|
};
|
|
1434
1462
|
}
|
|
1435
1463
|
}
|
|
1436
|
-
function
|
|
1464
|
+
function Tn(e) {
|
|
1437
1465
|
var t;
|
|
1438
1466
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1439
1467
|
notation: "engineering"
|
|
@@ -1441,17 +1469,17 @@ function En(e) {
|
|
|
1441
1469
|
notation: "scientific"
|
|
1442
1470
|
}, e = e.slice(1)), t) {
|
|
1443
1471
|
var r = e.slice(0, 2);
|
|
1444
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1472
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Vt.test(e))
|
|
1445
1473
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1446
1474
|
t.minimumIntegerDigits = e.length;
|
|
1447
1475
|
}
|
|
1448
1476
|
return t;
|
|
1449
1477
|
}
|
|
1450
|
-
function
|
|
1451
|
-
var t = {}, r =
|
|
1478
|
+
function lt(e) {
|
|
1479
|
+
var t = {}, r = Xt(e);
|
|
1452
1480
|
return r || t;
|
|
1453
1481
|
}
|
|
1454
|
-
function
|
|
1482
|
+
function Hn(e) {
|
|
1455
1483
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1456
1484
|
var i = n[r];
|
|
1457
1485
|
switch (i.stem) {
|
|
@@ -1475,7 +1503,7 @@ function Sn(e) {
|
|
|
1475
1503
|
continue;
|
|
1476
1504
|
case "measure-unit":
|
|
1477
1505
|
case "unit":
|
|
1478
|
-
t.style = "unit", t.unit =
|
|
1506
|
+
t.style = "unit", t.unit = Sn(i.options[0]);
|
|
1479
1507
|
continue;
|
|
1480
1508
|
case "compact-short":
|
|
1481
1509
|
case "K":
|
|
@@ -1487,12 +1515,12 @@ function Sn(e) {
|
|
|
1487
1515
|
continue;
|
|
1488
1516
|
case "scientific":
|
|
1489
1517
|
t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1490
|
-
return _(_({}, h),
|
|
1518
|
+
return _(_({}, h), lt(u));
|
|
1491
1519
|
}, {}));
|
|
1492
1520
|
continue;
|
|
1493
1521
|
case "engineering":
|
|
1494
1522
|
t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1495
|
-
return _(_({}, h),
|
|
1523
|
+
return _(_({}, h), lt(u));
|
|
1496
1524
|
}, {}));
|
|
1497
1525
|
continue;
|
|
1498
1526
|
case "notation-simple":
|
|
@@ -1537,11 +1565,11 @@ function Sn(e) {
|
|
|
1537
1565
|
case "integer-width":
|
|
1538
1566
|
if (i.options.length > 1)
|
|
1539
1567
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1540
|
-
i.options[0].replace(
|
|
1568
|
+
i.options[0].replace(wn, function(h, u, l, c, f, b) {
|
|
1541
1569
|
if (u)
|
|
1542
1570
|
t.minimumIntegerDigits = l.length;
|
|
1543
1571
|
else {
|
|
1544
|
-
if (
|
|
1572
|
+
if (c && f)
|
|
1545
1573
|
throw new Error("We currently do not support maximum integer digits");
|
|
1546
1574
|
if (b)
|
|
1547
1575
|
throw new Error("We currently do not support exact integer digits");
|
|
@@ -1550,32 +1578,32 @@ function Sn(e) {
|
|
|
1550
1578
|
});
|
|
1551
1579
|
continue;
|
|
1552
1580
|
}
|
|
1553
|
-
if (
|
|
1581
|
+
if (Vt.test(i.stem)) {
|
|
1554
1582
|
t.minimumIntegerDigits = i.stem.length;
|
|
1555
1583
|
continue;
|
|
1556
1584
|
}
|
|
1557
|
-
if (
|
|
1585
|
+
if (ut.test(i.stem)) {
|
|
1558
1586
|
if (i.options.length > 1)
|
|
1559
1587
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1560
|
-
i.stem.replace(
|
|
1561
|
-
return l === "*" ? t.minimumFractionDigits = u.length :
|
|
1588
|
+
i.stem.replace(ut, function(h, u, l, c, f, b) {
|
|
1589
|
+
return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1562
1590
|
});
|
|
1563
1591
|
var o = i.options[0];
|
|
1564
|
-
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t),
|
|
1592
|
+
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), ht(o)));
|
|
1565
1593
|
continue;
|
|
1566
1594
|
}
|
|
1567
|
-
if (
|
|
1568
|
-
t = _(_({}, t),
|
|
1595
|
+
if (kt.test(i.stem)) {
|
|
1596
|
+
t = _(_({}, t), ht(i.stem));
|
|
1569
1597
|
continue;
|
|
1570
1598
|
}
|
|
1571
|
-
var s =
|
|
1599
|
+
var s = Xt(i.stem);
|
|
1572
1600
|
s && (t = _(_({}, t), s));
|
|
1573
|
-
var a =
|
|
1601
|
+
var a = Tn(i.stem);
|
|
1574
1602
|
a && (t = _(_({}, t), a));
|
|
1575
1603
|
}
|
|
1576
1604
|
return t;
|
|
1577
1605
|
}
|
|
1578
|
-
var
|
|
1606
|
+
var ae = {
|
|
1579
1607
|
"001": [
|
|
1580
1608
|
"H",
|
|
1581
1609
|
"h"
|
|
@@ -2990,13 +3018,13 @@ var se = {
|
|
|
2990
3018
|
"h"
|
|
2991
3019
|
]
|
|
2992
3020
|
};
|
|
2993
|
-
function
|
|
3021
|
+
function An(e, t) {
|
|
2994
3022
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2995
3023
|
var i = e.charAt(n);
|
|
2996
3024
|
if (i === "j") {
|
|
2997
3025
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2998
3026
|
o++, n++;
|
|
2999
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
|
3027
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Bn(t);
|
|
3000
3028
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
3001
3029
|
r += h;
|
|
3002
3030
|
for (; s-- > 0; )
|
|
@@ -3006,7 +3034,7 @@ function Tn(e, t) {
|
|
|
3006
3034
|
}
|
|
3007
3035
|
return r;
|
|
3008
3036
|
}
|
|
3009
|
-
function
|
|
3037
|
+
function Bn(e) {
|
|
3010
3038
|
var t = e.hourCycle;
|
|
3011
3039
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3012
3040
|
e.hourCycles && // @ts-ignore
|
|
@@ -3025,23 +3053,23 @@ function wn(e) {
|
|
|
3025
3053
|
}
|
|
3026
3054
|
var r = e.language, n;
|
|
3027
3055
|
r !== "root" && (n = e.maximize().region);
|
|
3028
|
-
var i =
|
|
3056
|
+
var i = ae[n || ""] || ae[r || ""] || ae["".concat(r, "-001")] || ae["001"];
|
|
3029
3057
|
return i[0];
|
|
3030
3058
|
}
|
|
3031
|
-
var
|
|
3059
|
+
var Ae, On = new RegExp("^".concat(jt.source, "*")), Pn = new RegExp("".concat(jt.source, "*$"));
|
|
3032
3060
|
function m(e, t) {
|
|
3033
3061
|
return { start: e, end: t };
|
|
3034
3062
|
}
|
|
3035
|
-
var
|
|
3063
|
+
var In = !!String.prototype.startsWith && "_a".startsWith("a", 1), Cn = !!String.fromCodePoint, Nn = !!Object.fromEntries, Ln = !!String.prototype.codePointAt, Mn = !!String.prototype.trimStart, $n = !!String.prototype.trimEnd, Rn = !!Number.isSafeInteger, Dn = Rn ? Number.isSafeInteger : function(e) {
|
|
3036
3064
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3037
|
-
},
|
|
3065
|
+
}, Fe = !0;
|
|
3038
3066
|
try {
|
|
3039
|
-
var
|
|
3040
|
-
|
|
3067
|
+
var Un = zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3068
|
+
Fe = ((Ae = Un.exec("a")) === null || Ae === void 0 ? void 0 : Ae[0]) === "a";
|
|
3041
3069
|
} catch {
|
|
3042
|
-
|
|
3070
|
+
Fe = !1;
|
|
3043
3071
|
}
|
|
3044
|
-
var
|
|
3072
|
+
var ct = In ? (
|
|
3045
3073
|
// Native
|
|
3046
3074
|
function(t, r, n) {
|
|
3047
3075
|
return t.startsWith(r, n);
|
|
@@ -3051,7 +3079,7 @@ var lt = An ? (
|
|
|
3051
3079
|
function(t, r, n) {
|
|
3052
3080
|
return t.slice(n, n + r.length) === r;
|
|
3053
3081
|
}
|
|
3054
|
-
),
|
|
3082
|
+
), je = Cn ? String.fromCodePoint : (
|
|
3055
3083
|
// IE11
|
|
3056
3084
|
function() {
|
|
3057
3085
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3065,7 +3093,7 @@ var lt = An ? (
|
|
|
3065
3093
|
}
|
|
3066
3094
|
), ft = (
|
|
3067
3095
|
// native
|
|
3068
|
-
|
|
3096
|
+
Nn ? Object.fromEntries : (
|
|
3069
3097
|
// Ponyfill
|
|
3070
3098
|
function(t) {
|
|
3071
3099
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3075,7 +3103,7 @@ var lt = An ? (
|
|
|
3075
3103
|
return r;
|
|
3076
3104
|
}
|
|
3077
3105
|
)
|
|
3078
|
-
),
|
|
3106
|
+
), Wt = Ln ? (
|
|
3079
3107
|
// Native
|
|
3080
3108
|
function(t, r) {
|
|
3081
3109
|
return t.codePointAt(r);
|
|
@@ -3089,7 +3117,7 @@ var lt = An ? (
|
|
|
3089
3117
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3090
3118
|
}
|
|
3091
3119
|
}
|
|
3092
|
-
),
|
|
3120
|
+
), Gn = Mn ? (
|
|
3093
3121
|
// Native
|
|
3094
3122
|
function(t) {
|
|
3095
3123
|
return t.trimStart();
|
|
@@ -3097,9 +3125,9 @@ var lt = An ? (
|
|
|
3097
3125
|
) : (
|
|
3098
3126
|
// Ponyfill
|
|
3099
3127
|
function(t) {
|
|
3100
|
-
return t.replace(
|
|
3128
|
+
return t.replace(On, "");
|
|
3101
3129
|
}
|
|
3102
|
-
),
|
|
3130
|
+
), Fn = $n ? (
|
|
3103
3131
|
// Native
|
|
3104
3132
|
function(t) {
|
|
3105
3133
|
return t.trimEnd();
|
|
@@ -3107,32 +3135,32 @@ var lt = An ? (
|
|
|
3107
3135
|
) : (
|
|
3108
3136
|
// Ponyfill
|
|
3109
3137
|
function(t) {
|
|
3110
|
-
return t.replace(
|
|
3138
|
+
return t.replace(Pn, "");
|
|
3111
3139
|
}
|
|
3112
3140
|
);
|
|
3113
|
-
function
|
|
3141
|
+
function zt(e, t) {
|
|
3114
3142
|
return new RegExp(e, t);
|
|
3115
3143
|
}
|
|
3116
|
-
var
|
|
3117
|
-
if (
|
|
3118
|
-
var
|
|
3119
|
-
|
|
3144
|
+
var ke;
|
|
3145
|
+
if (Fe) {
|
|
3146
|
+
var pt = zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3147
|
+
ke = function(t, r) {
|
|
3120
3148
|
var n;
|
|
3121
|
-
|
|
3122
|
-
var i =
|
|
3149
|
+
pt.lastIndex = r;
|
|
3150
|
+
var i = pt.exec(t);
|
|
3123
3151
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3124
3152
|
};
|
|
3125
3153
|
} else
|
|
3126
|
-
|
|
3154
|
+
ke = function(t, r) {
|
|
3127
3155
|
for (var n = []; ; ) {
|
|
3128
|
-
var i =
|
|
3129
|
-
if (i === void 0 ||
|
|
3156
|
+
var i = Wt(t, r);
|
|
3157
|
+
if (i === void 0 || Zt(i) || Xn(i))
|
|
3130
3158
|
break;
|
|
3131
3159
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3132
3160
|
}
|
|
3133
|
-
return
|
|
3161
|
+
return je.apply(void 0, n);
|
|
3134
3162
|
};
|
|
3135
|
-
var
|
|
3163
|
+
var jn = (
|
|
3136
3164
|
/** @class */
|
|
3137
3165
|
function() {
|
|
3138
3166
|
function e(t, r) {
|
|
@@ -3156,14 +3184,14 @@ var Un = (
|
|
|
3156
3184
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3157
3185
|
var a = this.clonePosition();
|
|
3158
3186
|
this.bump(), i.push({
|
|
3159
|
-
type:
|
|
3187
|
+
type: v.pound,
|
|
3160
3188
|
location: m(a, this.clonePosition())
|
|
3161
3189
|
});
|
|
3162
3190
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3163
3191
|
if (n)
|
|
3164
3192
|
break;
|
|
3165
3193
|
return this.error(d.UNMATCHED_CLOSING_TAG, m(this.clonePosition(), this.clonePosition()));
|
|
3166
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3194
|
+
} else if (o === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
|
|
3167
3195
|
var s = this.parseTag(t, r);
|
|
3168
3196
|
if (s.err)
|
|
3169
3197
|
return s;
|
|
@@ -3184,7 +3212,7 @@ var Un = (
|
|
|
3184
3212
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3185
3213
|
return {
|
|
3186
3214
|
val: {
|
|
3187
|
-
type:
|
|
3215
|
+
type: v.literal,
|
|
3188
3216
|
value: "<".concat(i, "/>"),
|
|
3189
3217
|
location: m(n, this.clonePosition())
|
|
3190
3218
|
},
|
|
@@ -3196,12 +3224,12 @@ var Un = (
|
|
|
3196
3224
|
return o;
|
|
3197
3225
|
var s = o.val, a = this.clonePosition();
|
|
3198
3226
|
if (this.bumpIf("</")) {
|
|
3199
|
-
if (this.isEOF() || !
|
|
3227
|
+
if (this.isEOF() || !Ve(this.char()))
|
|
3200
3228
|
return this.error(d.INVALID_TAG, m(a, this.clonePosition()));
|
|
3201
3229
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
3202
3230
|
return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, m(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3203
3231
|
val: {
|
|
3204
|
-
type:
|
|
3232
|
+
type: v.tag,
|
|
3205
3233
|
value: i,
|
|
3206
3234
|
children: s,
|
|
3207
3235
|
location: m(n, this.clonePosition())
|
|
@@ -3214,7 +3242,7 @@ var Un = (
|
|
|
3214
3242
|
return this.error(d.INVALID_TAG, m(n, this.clonePosition()));
|
|
3215
3243
|
}, e.prototype.parseTagName = function() {
|
|
3216
3244
|
var t = this.offset();
|
|
3217
|
-
for (this.bump(); !this.isEOF() &&
|
|
3245
|
+
for (this.bump(); !this.isEOF() && Vn(this.char()); )
|
|
3218
3246
|
this.bump();
|
|
3219
3247
|
return this.message.slice(t, this.offset());
|
|
3220
3248
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3238,12 +3266,12 @@ var Un = (
|
|
|
3238
3266
|
}
|
|
3239
3267
|
var h = m(n, this.clonePosition());
|
|
3240
3268
|
return {
|
|
3241
|
-
val: { type:
|
|
3269
|
+
val: { type: v.literal, value: i, location: h },
|
|
3242
3270
|
err: null
|
|
3243
3271
|
};
|
|
3244
3272
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3245
3273
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3246
|
-
!
|
|
3274
|
+
!kn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3247
3275
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3248
3276
|
if (this.isEOF() || this.char() !== 39)
|
|
3249
3277
|
return null;
|
|
@@ -3277,12 +3305,12 @@ var Un = (
|
|
|
3277
3305
|
r.push(n);
|
|
3278
3306
|
this.bump();
|
|
3279
3307
|
}
|
|
3280
|
-
return
|
|
3308
|
+
return je.apply(void 0, r);
|
|
3281
3309
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3282
3310
|
if (this.isEOF())
|
|
3283
3311
|
return null;
|
|
3284
3312
|
var n = this.char();
|
|
3285
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3313
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), je(n));
|
|
3286
3314
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3287
3315
|
var n = this.clonePosition();
|
|
3288
3316
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3298,7 +3326,7 @@ var Un = (
|
|
|
3298
3326
|
case 125:
|
|
3299
3327
|
return this.bump(), {
|
|
3300
3328
|
val: {
|
|
3301
|
-
type:
|
|
3329
|
+
type: v.argument,
|
|
3302
3330
|
// value does not include the opening and closing braces.
|
|
3303
3331
|
value: i,
|
|
3304
3332
|
location: m(n, this.clonePosition())
|
|
@@ -3311,7 +3339,7 @@ var Un = (
|
|
|
3311
3339
|
return this.error(d.MALFORMED_ARGUMENT, m(n, this.clonePosition()));
|
|
3312
3340
|
}
|
|
3313
3341
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3314
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3342
|
+
var t = this.clonePosition(), r = this.offset(), n = ke(this.message, r), i = r + n.length;
|
|
3315
3343
|
this.bumpTo(i);
|
|
3316
3344
|
var o = this.clonePosition(), s = m(t, o);
|
|
3317
3345
|
return { value: n, location: s };
|
|
@@ -3327,49 +3355,49 @@ var Un = (
|
|
|
3327
3355
|
var u = null;
|
|
3328
3356
|
if (this.bumpIf(",")) {
|
|
3329
3357
|
this.bumpSpace();
|
|
3330
|
-
var l = this.clonePosition(),
|
|
3331
|
-
if (
|
|
3332
|
-
return
|
|
3333
|
-
var
|
|
3334
|
-
if (
|
|
3358
|
+
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3359
|
+
if (c.err)
|
|
3360
|
+
return c;
|
|
3361
|
+
var f = Fn(c.val);
|
|
3362
|
+
if (f.length === 0)
|
|
3335
3363
|
return this.error(d.EXPECT_ARGUMENT_STYLE, m(this.clonePosition(), this.clonePosition()));
|
|
3336
3364
|
var b = m(l, this.clonePosition());
|
|
3337
|
-
u = { style:
|
|
3365
|
+
u = { style: f, styleLocation: b };
|
|
3338
3366
|
}
|
|
3339
|
-
var
|
|
3340
|
-
if (
|
|
3341
|
-
return
|
|
3342
|
-
var
|
|
3343
|
-
if (u &&
|
|
3344
|
-
var
|
|
3367
|
+
var g = this.tryParseArgumentClose(i);
|
|
3368
|
+
if (g.err)
|
|
3369
|
+
return g;
|
|
3370
|
+
var p = m(i, this.clonePosition());
|
|
3371
|
+
if (u && ct(u?.style, "::", 0)) {
|
|
3372
|
+
var S = Gn(u.style.slice(2));
|
|
3345
3373
|
if (a === "number") {
|
|
3346
|
-
var
|
|
3347
|
-
return
|
|
3348
|
-
val: { type:
|
|
3374
|
+
var c = this.parseNumberSkeletonFromString(S, u.styleLocation);
|
|
3375
|
+
return c.err ? c : {
|
|
3376
|
+
val: { type: v.number, value: n, location: p, style: c.val },
|
|
3349
3377
|
err: null
|
|
3350
3378
|
};
|
|
3351
3379
|
} else {
|
|
3352
|
-
if (
|
|
3353
|
-
return this.error(d.EXPECT_DATE_TIME_SKELETON,
|
|
3354
|
-
var
|
|
3355
|
-
this.locale && (
|
|
3356
|
-
var
|
|
3357
|
-
type:
|
|
3358
|
-
pattern:
|
|
3380
|
+
if (S.length === 0)
|
|
3381
|
+
return this.error(d.EXPECT_DATE_TIME_SKELETON, p);
|
|
3382
|
+
var A = S;
|
|
3383
|
+
this.locale && (A = An(S, this.locale));
|
|
3384
|
+
var f = {
|
|
3385
|
+
type: j.dateTime,
|
|
3386
|
+
pattern: A,
|
|
3359
3387
|
location: u.styleLocation,
|
|
3360
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3361
|
-
},
|
|
3388
|
+
parsedOptions: this.shouldParseSkeletons ? _n(A) : {}
|
|
3389
|
+
}, M = a === "date" ? v.date : v.time;
|
|
3362
3390
|
return {
|
|
3363
|
-
val: { type:
|
|
3391
|
+
val: { type: M, value: n, location: p, style: f },
|
|
3364
3392
|
err: null
|
|
3365
3393
|
};
|
|
3366
3394
|
}
|
|
3367
3395
|
}
|
|
3368
3396
|
return {
|
|
3369
3397
|
val: {
|
|
3370
|
-
type: a === "number" ?
|
|
3398
|
+
type: a === "number" ? v.number : a === "date" ? v.date : v.time,
|
|
3371
3399
|
value: n,
|
|
3372
|
-
location:
|
|
3400
|
+
location: p,
|
|
3373
3401
|
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
3374
3402
|
},
|
|
3375
3403
|
err: null
|
|
@@ -3378,43 +3406,43 @@ var Un = (
|
|
|
3378
3406
|
case "plural":
|
|
3379
3407
|
case "selectordinal":
|
|
3380
3408
|
case "select": {
|
|
3381
|
-
var
|
|
3409
|
+
var w = this.clonePosition();
|
|
3382
3410
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3383
|
-
return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, m(
|
|
3411
|
+
return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, m(w, pe({}, w)));
|
|
3384
3412
|
this.bumpSpace();
|
|
3385
|
-
var
|
|
3386
|
-
if (a !== "select" &&
|
|
3413
|
+
var Z = this.parseIdentifierIfPossible(), P = 0;
|
|
3414
|
+
if (a !== "select" && Z.value === "offset") {
|
|
3387
3415
|
if (!this.bumpIf(":"))
|
|
3388
3416
|
return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m(this.clonePosition(), this.clonePosition()));
|
|
3389
3417
|
this.bumpSpace();
|
|
3390
|
-
var
|
|
3391
|
-
if (
|
|
3392
|
-
return
|
|
3393
|
-
this.bumpSpace(),
|
|
3418
|
+
var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3419
|
+
if (c.err)
|
|
3420
|
+
return c;
|
|
3421
|
+
this.bumpSpace(), Z = this.parseIdentifierIfPossible(), P = c.val;
|
|
3394
3422
|
}
|
|
3395
|
-
var
|
|
3396
|
-
if (
|
|
3397
|
-
return
|
|
3398
|
-
var
|
|
3399
|
-
if (
|
|
3400
|
-
return
|
|
3401
|
-
var
|
|
3423
|
+
var oe = this.tryParsePluralOrSelectOptions(t, a, r, Z);
|
|
3424
|
+
if (oe.err)
|
|
3425
|
+
return oe;
|
|
3426
|
+
var g = this.tryParseArgumentClose(i);
|
|
3427
|
+
if (g.err)
|
|
3428
|
+
return g;
|
|
3429
|
+
var Je = m(i, this.clonePosition());
|
|
3402
3430
|
return a === "select" ? {
|
|
3403
3431
|
val: {
|
|
3404
|
-
type:
|
|
3432
|
+
type: v.select,
|
|
3405
3433
|
value: n,
|
|
3406
|
-
options: ft(
|
|
3407
|
-
location:
|
|
3434
|
+
options: ft(oe.val),
|
|
3435
|
+
location: Je
|
|
3408
3436
|
},
|
|
3409
3437
|
err: null
|
|
3410
3438
|
} : {
|
|
3411
3439
|
val: {
|
|
3412
|
-
type:
|
|
3440
|
+
type: v.plural,
|
|
3413
3441
|
value: n,
|
|
3414
|
-
options: ft(
|
|
3442
|
+
options: ft(oe.val),
|
|
3415
3443
|
offset: P,
|
|
3416
3444
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3417
|
-
location:
|
|
3445
|
+
location: Je
|
|
3418
3446
|
},
|
|
3419
3447
|
err: null
|
|
3420
3448
|
};
|
|
@@ -3462,28 +3490,28 @@ var Un = (
|
|
|
3462
3490
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3463
3491
|
var n = [];
|
|
3464
3492
|
try {
|
|
3465
|
-
n =
|
|
3493
|
+
n = xn(t);
|
|
3466
3494
|
} catch {
|
|
3467
3495
|
return this.error(d.INVALID_NUMBER_SKELETON, r);
|
|
3468
3496
|
}
|
|
3469
3497
|
return {
|
|
3470
3498
|
val: {
|
|
3471
|
-
type:
|
|
3499
|
+
type: j.number,
|
|
3472
3500
|
tokens: n,
|
|
3473
3501
|
location: r,
|
|
3474
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3502
|
+
parsedOptions: this.shouldParseSkeletons ? Hn(n) : {}
|
|
3475
3503
|
},
|
|
3476
3504
|
err: null
|
|
3477
3505
|
};
|
|
3478
3506
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3479
3507
|
for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
|
|
3480
3508
|
if (u.length === 0) {
|
|
3481
|
-
var
|
|
3509
|
+
var c = this.clonePosition();
|
|
3482
3510
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3483
|
-
var
|
|
3484
|
-
if (
|
|
3485
|
-
return
|
|
3486
|
-
l = m(
|
|
3511
|
+
var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3512
|
+
if (f.err)
|
|
3513
|
+
return f;
|
|
3514
|
+
l = m(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
|
|
3487
3515
|
} else
|
|
3488
3516
|
break;
|
|
3489
3517
|
}
|
|
@@ -3493,16 +3521,16 @@ var Un = (
|
|
|
3493
3521
|
var b = this.clonePosition();
|
|
3494
3522
|
if (!this.bumpIf("{"))
|
|
3495
3523
|
return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, m(this.clonePosition(), this.clonePosition()));
|
|
3496
|
-
var
|
|
3497
|
-
if (p.err)
|
|
3498
|
-
return p;
|
|
3499
|
-
var g = this.tryParseArgumentClose(b);
|
|
3524
|
+
var g = this.parseMessage(t + 1, r, n);
|
|
3500
3525
|
if (g.err)
|
|
3501
3526
|
return g;
|
|
3527
|
+
var p = this.tryParseArgumentClose(b);
|
|
3528
|
+
if (p.err)
|
|
3529
|
+
return p;
|
|
3502
3530
|
a.push([
|
|
3503
3531
|
u,
|
|
3504
3532
|
{
|
|
3505
|
-
value:
|
|
3533
|
+
value: g.val,
|
|
3506
3534
|
location: m(b, this.clonePosition())
|
|
3507
3535
|
}
|
|
3508
3536
|
]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
@@ -3519,7 +3547,7 @@ var Un = (
|
|
|
3519
3547
|
break;
|
|
3520
3548
|
}
|
|
3521
3549
|
var h = m(i, this.clonePosition());
|
|
3522
|
-
return o ? (s *= n,
|
|
3550
|
+
return o ? (s *= n, Dn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3523
3551
|
}, e.prototype.offset = function() {
|
|
3524
3552
|
return this.position.offset;
|
|
3525
3553
|
}, e.prototype.isEOF = function() {
|
|
@@ -3534,7 +3562,7 @@ var Un = (
|
|
|
3534
3562
|
var t = this.position.offset;
|
|
3535
3563
|
if (t >= this.message.length)
|
|
3536
3564
|
throw Error("out of bound");
|
|
3537
|
-
var r =
|
|
3565
|
+
var r = Wt(this.message, t);
|
|
3538
3566
|
if (r === void 0)
|
|
3539
3567
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3540
3568
|
return r;
|
|
@@ -3553,7 +3581,7 @@ var Un = (
|
|
|
3553
3581
|
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);
|
|
3554
3582
|
}
|
|
3555
3583
|
}, e.prototype.bumpIf = function(t) {
|
|
3556
|
-
if (
|
|
3584
|
+
if (ct(this.message, t, this.offset())) {
|
|
3557
3585
|
for (var r = 0; r < t.length; r++)
|
|
3558
3586
|
this.bump();
|
|
3559
3587
|
return !0;
|
|
@@ -3575,7 +3603,7 @@ var Un = (
|
|
|
3575
3603
|
break;
|
|
3576
3604
|
}
|
|
3577
3605
|
}, e.prototype.bumpSpace = function() {
|
|
3578
|
-
for (; !this.isEOF() &&
|
|
3606
|
+
for (; !this.isEOF() && Zt(this.char()); )
|
|
3579
3607
|
this.bump();
|
|
3580
3608
|
}, e.prototype.peek = function() {
|
|
3581
3609
|
if (this.isEOF())
|
|
@@ -3585,47 +3613,47 @@ var Un = (
|
|
|
3585
3613
|
}, e;
|
|
3586
3614
|
}()
|
|
3587
3615
|
);
|
|
3588
|
-
function
|
|
3616
|
+
function Ve(e) {
|
|
3589
3617
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3590
3618
|
}
|
|
3591
|
-
function
|
|
3592
|
-
return
|
|
3619
|
+
function kn(e) {
|
|
3620
|
+
return Ve(e) || e === 47;
|
|
3593
3621
|
}
|
|
3594
|
-
function
|
|
3622
|
+
function Vn(e) {
|
|
3595
3623
|
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;
|
|
3596
3624
|
}
|
|
3597
|
-
function
|
|
3625
|
+
function Zt(e) {
|
|
3598
3626
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3599
3627
|
}
|
|
3600
|
-
function
|
|
3628
|
+
function Xn(e) {
|
|
3601
3629
|
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;
|
|
3602
3630
|
}
|
|
3603
|
-
function
|
|
3631
|
+
function Xe(e) {
|
|
3604
3632
|
e.forEach(function(t) {
|
|
3605
|
-
if (delete t.location,
|
|
3633
|
+
if (delete t.location, Dt(t) || Ut(t))
|
|
3606
3634
|
for (var r in t.options)
|
|
3607
|
-
delete t.options[r].location,
|
|
3635
|
+
delete t.options[r].location, Xe(t.options[r].value);
|
|
3608
3636
|
else
|
|
3609
|
-
|
|
3637
|
+
Mt(t) && Ft(t.style) || ($t(t) || Rt(t)) && Ge(t.style) ? delete t.style.location : Gt(t) && Xe(t.children);
|
|
3610
3638
|
});
|
|
3611
3639
|
}
|
|
3612
|
-
function
|
|
3613
|
-
t === void 0 && (t = {}), t =
|
|
3614
|
-
var r = new
|
|
3640
|
+
function Wn(e, t) {
|
|
3641
|
+
t === void 0 && (t = {}), t = pe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3642
|
+
var r = new jn(e, t).parse();
|
|
3615
3643
|
if (r.err) {
|
|
3616
3644
|
var n = SyntaxError(d[r.err.kind]);
|
|
3617
3645
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3618
3646
|
}
|
|
3619
|
-
return t?.captureLocation ||
|
|
3647
|
+
return t?.captureLocation || Xe(r.val), r.val;
|
|
3620
3648
|
}
|
|
3621
|
-
var
|
|
3649
|
+
var k;
|
|
3622
3650
|
(function(e) {
|
|
3623
3651
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3624
|
-
})(
|
|
3625
|
-
var
|
|
3652
|
+
})(k || (k = {}));
|
|
3653
|
+
var ve = (
|
|
3626
3654
|
/** @class */
|
|
3627
3655
|
function(e) {
|
|
3628
|
-
|
|
3656
|
+
ge(t, e);
|
|
3629
3657
|
function t(r, n, i) {
|
|
3630
3658
|
var o = e.call(this, r) || this;
|
|
3631
3659
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3634,153 +3662,153 @@ var ge = (
|
|
|
3634
3662
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3635
3663
|
}, t;
|
|
3636
3664
|
}(Error)
|
|
3637
|
-
),
|
|
3665
|
+
), dt = (
|
|
3638
3666
|
/** @class */
|
|
3639
3667
|
function(e) {
|
|
3640
|
-
|
|
3668
|
+
ge(t, e);
|
|
3641
3669
|
function t(r, n, i, o) {
|
|
3642
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3670
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), k.INVALID_VALUE, o) || this;
|
|
3643
3671
|
}
|
|
3644
3672
|
return t;
|
|
3645
|
-
}(
|
|
3646
|
-
),
|
|
3673
|
+
}(ve)
|
|
3674
|
+
), zn = (
|
|
3647
3675
|
/** @class */
|
|
3648
3676
|
function(e) {
|
|
3649
|
-
|
|
3677
|
+
ge(t, e);
|
|
3650
3678
|
function t(r, n, i) {
|
|
3651
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3679
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), k.INVALID_VALUE, i) || this;
|
|
3652
3680
|
}
|
|
3653
3681
|
return t;
|
|
3654
|
-
}(
|
|
3655
|
-
),
|
|
3682
|
+
}(ve)
|
|
3683
|
+
), Zn = (
|
|
3656
3684
|
/** @class */
|
|
3657
3685
|
function(e) {
|
|
3658
|
-
|
|
3686
|
+
ge(t, e);
|
|
3659
3687
|
function t(r, n) {
|
|
3660
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3688
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), k.MISSING_VALUE, n) || this;
|
|
3661
3689
|
}
|
|
3662
3690
|
return t;
|
|
3663
|
-
}(
|
|
3664
|
-
),
|
|
3691
|
+
}(ve)
|
|
3692
|
+
), E;
|
|
3665
3693
|
(function(e) {
|
|
3666
3694
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3667
|
-
})(
|
|
3668
|
-
function
|
|
3695
|
+
})(E || (E = {}));
|
|
3696
|
+
function Qn(e) {
|
|
3669
3697
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3670
3698
|
var n = t[t.length - 1];
|
|
3671
|
-
return !n || n.type !==
|
|
3699
|
+
return !n || n.type !== E.literal || r.type !== E.literal ? t.push(r) : n.value += r.value, t;
|
|
3672
3700
|
}, []);
|
|
3673
3701
|
}
|
|
3674
|
-
function
|
|
3702
|
+
function Jn(e) {
|
|
3675
3703
|
return typeof e == "function";
|
|
3676
3704
|
}
|
|
3677
|
-
function
|
|
3678
|
-
if (e.length === 1 &&
|
|
3705
|
+
function le(e, t, r, n, i, o, s) {
|
|
3706
|
+
if (e.length === 1 && at(e[0]))
|
|
3679
3707
|
return [
|
|
3680
3708
|
{
|
|
3681
|
-
type:
|
|
3709
|
+
type: E.literal,
|
|
3682
3710
|
value: e[0].value
|
|
3683
3711
|
}
|
|
3684
3712
|
];
|
|
3685
3713
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
|
3686
3714
|
var l = u[h];
|
|
3687
|
-
if (
|
|
3715
|
+
if (at(l)) {
|
|
3688
3716
|
a.push({
|
|
3689
|
-
type:
|
|
3717
|
+
type: E.literal,
|
|
3690
3718
|
value: l.value
|
|
3691
3719
|
});
|
|
3692
3720
|
continue;
|
|
3693
3721
|
}
|
|
3694
|
-
if (
|
|
3722
|
+
if (gn(l)) {
|
|
3695
3723
|
typeof o == "number" && a.push({
|
|
3696
|
-
type:
|
|
3724
|
+
type: E.literal,
|
|
3697
3725
|
value: r.getNumberFormat(t).format(o)
|
|
3698
3726
|
});
|
|
3699
3727
|
continue;
|
|
3700
3728
|
}
|
|
3701
|
-
var
|
|
3702
|
-
if (!(i &&
|
|
3703
|
-
throw new
|
|
3704
|
-
var
|
|
3705
|
-
if (
|
|
3706
|
-
(!
|
|
3707
|
-
type: typeof
|
|
3708
|
-
value:
|
|
3729
|
+
var c = l.value;
|
|
3730
|
+
if (!(i && c in i))
|
|
3731
|
+
throw new Zn(c, s);
|
|
3732
|
+
var f = i[c];
|
|
3733
|
+
if (yn(l)) {
|
|
3734
|
+
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3735
|
+
type: typeof f == "string" ? E.literal : E.object,
|
|
3736
|
+
value: f
|
|
3709
3737
|
});
|
|
3710
3738
|
continue;
|
|
3711
3739
|
}
|
|
3712
|
-
if (
|
|
3713
|
-
var b = typeof l.style == "string" ? n.date[l.style] :
|
|
3740
|
+
if ($t(l)) {
|
|
3741
|
+
var b = typeof l.style == "string" ? n.date[l.style] : Ge(l.style) ? l.style.parsedOptions : void 0;
|
|
3714
3742
|
a.push({
|
|
3715
|
-
type:
|
|
3716
|
-
value: r.getDateTimeFormat(t, b).format(
|
|
3743
|
+
type: E.literal,
|
|
3744
|
+
value: r.getDateTimeFormat(t, b).format(f)
|
|
3717
3745
|
});
|
|
3718
3746
|
continue;
|
|
3719
3747
|
}
|
|
3720
|
-
if (
|
|
3721
|
-
var b = typeof l.style == "string" ? n.time[l.style] :
|
|
3748
|
+
if (Rt(l)) {
|
|
3749
|
+
var b = typeof l.style == "string" ? n.time[l.style] : Ge(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3722
3750
|
a.push({
|
|
3723
|
-
type:
|
|
3724
|
-
value: r.getDateTimeFormat(t, b).format(
|
|
3751
|
+
type: E.literal,
|
|
3752
|
+
value: r.getDateTimeFormat(t, b).format(f)
|
|
3725
3753
|
});
|
|
3726
3754
|
continue;
|
|
3727
3755
|
}
|
|
3728
|
-
if (
|
|
3729
|
-
var b = typeof l.style == "string" ? n.number[l.style] :
|
|
3730
|
-
b && b.scale && (
|
|
3731
|
-
type:
|
|
3732
|
-
value: r.getNumberFormat(t, b).format(
|
|
3756
|
+
if (Mt(l)) {
|
|
3757
|
+
var b = typeof l.style == "string" ? n.number[l.style] : Ft(l.style) ? l.style.parsedOptions : void 0;
|
|
3758
|
+
b && b.scale && (f = f * (b.scale || 1)), a.push({
|
|
3759
|
+
type: E.literal,
|
|
3760
|
+
value: r.getNumberFormat(t, b).format(f)
|
|
3733
3761
|
});
|
|
3734
3762
|
continue;
|
|
3735
3763
|
}
|
|
3736
|
-
if (
|
|
3737
|
-
var
|
|
3738
|
-
if (!
|
|
3739
|
-
throw new
|
|
3740
|
-
var
|
|
3764
|
+
if (Gt(l)) {
|
|
3765
|
+
var g = l.children, p = l.value, S = i[p];
|
|
3766
|
+
if (!Jn(S))
|
|
3767
|
+
throw new zn(p, "function", s);
|
|
3768
|
+
var A = le(g, t, r, n, i, o), M = S(A.map(function(P) {
|
|
3741
3769
|
return P.value;
|
|
3742
3770
|
}));
|
|
3743
|
-
Array.isArray(
|
|
3771
|
+
Array.isArray(M) || (M = [M]), a.push.apply(a, M.map(function(P) {
|
|
3744
3772
|
return {
|
|
3745
|
-
type: typeof P == "string" ?
|
|
3773
|
+
type: typeof P == "string" ? E.literal : E.object,
|
|
3746
3774
|
value: P
|
|
3747
3775
|
};
|
|
3748
3776
|
}));
|
|
3749
3777
|
}
|
|
3750
|
-
if (
|
|
3751
|
-
var
|
|
3752
|
-
if (!
|
|
3753
|
-
throw new
|
|
3754
|
-
a.push.apply(a,
|
|
3778
|
+
if (Dt(l)) {
|
|
3779
|
+
var w = l.options[f] || l.options.other;
|
|
3780
|
+
if (!w)
|
|
3781
|
+
throw new dt(l.value, f, Object.keys(l.options), s);
|
|
3782
|
+
a.push.apply(a, le(w.value, t, r, n, i));
|
|
3755
3783
|
continue;
|
|
3756
3784
|
}
|
|
3757
|
-
if (
|
|
3758
|
-
var
|
|
3759
|
-
if (!
|
|
3785
|
+
if (Ut(l)) {
|
|
3786
|
+
var w = l.options["=".concat(f)];
|
|
3787
|
+
if (!w) {
|
|
3760
3788
|
if (!Intl.PluralRules)
|
|
3761
|
-
throw new
|
|
3789
|
+
throw new ve(`Intl.PluralRules is not available in this environment.
|
|
3762
3790
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3763
|
-
`,
|
|
3764
|
-
var
|
|
3765
|
-
|
|
3791
|
+
`, k.MISSING_INTL_API, s);
|
|
3792
|
+
var Z = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
|
|
3793
|
+
w = l.options[Z] || l.options.other;
|
|
3766
3794
|
}
|
|
3767
|
-
if (!
|
|
3768
|
-
throw new
|
|
3769
|
-
a.push.apply(a,
|
|
3795
|
+
if (!w)
|
|
3796
|
+
throw new dt(l.value, f, Object.keys(l.options), s);
|
|
3797
|
+
a.push.apply(a, le(w.value, t, r, n, i, f - (l.offset || 0)));
|
|
3770
3798
|
continue;
|
|
3771
3799
|
}
|
|
3772
3800
|
}
|
|
3773
|
-
return
|
|
3801
|
+
return Qn(a);
|
|
3774
3802
|
}
|
|
3775
|
-
function
|
|
3776
|
-
return t ?
|
|
3777
|
-
return r[n] =
|
|
3803
|
+
function Yn(e, t) {
|
|
3804
|
+
return t ? T(T(T({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3805
|
+
return r[n] = T(T({}, e[n]), t[n] || {}), r;
|
|
3778
3806
|
}, {})) : e;
|
|
3779
3807
|
}
|
|
3780
|
-
function
|
|
3808
|
+
function qn(e, t) {
|
|
3781
3809
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3782
|
-
return r[n] =
|
|
3783
|
-
},
|
|
3810
|
+
return r[n] = Yn(e[n], t[n]), r;
|
|
3811
|
+
}, T({}, e)) : e;
|
|
3784
3812
|
}
|
|
3785
3813
|
function Be(e) {
|
|
3786
3814
|
return {
|
|
@@ -3796,7 +3824,7 @@ function Be(e) {
|
|
|
3796
3824
|
}
|
|
3797
3825
|
};
|
|
3798
3826
|
}
|
|
3799
|
-
function
|
|
3827
|
+
function Kn(e) {
|
|
3800
3828
|
return e === void 0 && (e = {
|
|
3801
3829
|
number: {},
|
|
3802
3830
|
dateTime: {},
|
|
@@ -3805,30 +3833,30 @@ function Jn(e) {
|
|
|
3805
3833
|
getNumberFormat: Te(function() {
|
|
3806
3834
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3807
3835
|
r[n] = arguments[n];
|
|
3808
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3836
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, we([void 0], r, !1)))();
|
|
3809
3837
|
}, {
|
|
3810
3838
|
cache: Be(e.number),
|
|
3811
|
-
strategy:
|
|
3839
|
+
strategy: He.variadic
|
|
3812
3840
|
}),
|
|
3813
3841
|
getDateTimeFormat: Te(function() {
|
|
3814
3842
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3815
3843
|
r[n] = arguments[n];
|
|
3816
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3844
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, we([void 0], r, !1)))();
|
|
3817
3845
|
}, {
|
|
3818
3846
|
cache: Be(e.dateTime),
|
|
3819
|
-
strategy:
|
|
3847
|
+
strategy: He.variadic
|
|
3820
3848
|
}),
|
|
3821
3849
|
getPluralRules: Te(function() {
|
|
3822
3850
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3823
3851
|
r[n] = arguments[n];
|
|
3824
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3852
|
+
return new ((t = Intl.PluralRules).bind.apply(t, we([void 0], r, !1)))();
|
|
3825
3853
|
}, {
|
|
3826
3854
|
cache: Be(e.pluralRules),
|
|
3827
|
-
strategy:
|
|
3855
|
+
strategy: He.variadic
|
|
3828
3856
|
})
|
|
3829
3857
|
};
|
|
3830
3858
|
}
|
|
3831
|
-
var
|
|
3859
|
+
var ei = (
|
|
3832
3860
|
/** @class */
|
|
3833
3861
|
function() {
|
|
3834
3862
|
function e(t, r, n, i) {
|
|
@@ -3842,12 +3870,12 @@ var Yn = (
|
|
|
3842
3870
|
var u = o.formatToParts(h);
|
|
3843
3871
|
if (u.length === 1)
|
|
3844
3872
|
return u[0].value;
|
|
3845
|
-
var l = u.reduce(function(
|
|
3846
|
-
return !
|
|
3873
|
+
var l = u.reduce(function(c, f) {
|
|
3874
|
+
return !c.length || f.type !== E.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
|
3847
3875
|
}, []);
|
|
3848
3876
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3849
3877
|
}, this.formatToParts = function(h) {
|
|
3850
|
-
return
|
|
3878
|
+
return le(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
|
|
3851
3879
|
}, this.resolvedOptions = function() {
|
|
3852
3880
|
var h;
|
|
3853
3881
|
return {
|
|
@@ -3860,13 +3888,13 @@ var Yn = (
|
|
|
3860
3888
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3861
3889
|
var s = i || {};
|
|
3862
3890
|
s.formatters;
|
|
3863
|
-
var a =
|
|
3864
|
-
this.ast = e.__parse(t,
|
|
3891
|
+
var a = hn(s, ["formatters"]);
|
|
3892
|
+
this.ast = e.__parse(t, T(T({}, a), { locale: this.resolvedLocale }));
|
|
3865
3893
|
} else
|
|
3866
3894
|
this.ast = t;
|
|
3867
3895
|
if (!Array.isArray(this.ast))
|
|
3868
3896
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3869
|
-
this.formats =
|
|
3897
|
+
this.formats = qn(e.formats, n), this.formatters = i && i.formatters || Kn(this.formatterCache);
|
|
3870
3898
|
}
|
|
3871
3899
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3872
3900
|
get: function() {
|
|
@@ -3879,7 +3907,7 @@ var Yn = (
|
|
|
3879
3907
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3880
3908
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3881
3909
|
}
|
|
3882
|
-
}, e.__parse =
|
|
3910
|
+
}, e.__parse = Wn, e.formats = {
|
|
3883
3911
|
number: {
|
|
3884
3912
|
integer: {
|
|
3885
3913
|
maximumFractionDigits: 0
|
|
@@ -3940,7 +3968,7 @@ var Yn = (
|
|
|
3940
3968
|
}, e;
|
|
3941
3969
|
}()
|
|
3942
3970
|
);
|
|
3943
|
-
function
|
|
3971
|
+
function ti(e, t) {
|
|
3944
3972
|
if (t == null)
|
|
3945
3973
|
return;
|
|
3946
3974
|
if (t in e)
|
|
@@ -3961,92 +3989,92 @@ function qn(e, t) {
|
|
|
3961
3989
|
n = void 0;
|
|
3962
3990
|
return n;
|
|
3963
3991
|
}
|
|
3964
|
-
const
|
|
3992
|
+
const O = {}, ri = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][e] = r), r), Qt = (e, t) => {
|
|
3965
3993
|
if (t == null)
|
|
3966
3994
|
return;
|
|
3967
|
-
if (t in
|
|
3968
|
-
return
|
|
3969
|
-
const r =
|
|
3995
|
+
if (t in O && e in O[t])
|
|
3996
|
+
return O[t][e];
|
|
3997
|
+
const r = _e(t);
|
|
3970
3998
|
for (let n = 0; n < r.length; n++) {
|
|
3971
|
-
const i = r[n], o =
|
|
3999
|
+
const i = r[n], o = ii(i, e);
|
|
3972
4000
|
if (o)
|
|
3973
|
-
return
|
|
4001
|
+
return ri(e, t, o);
|
|
3974
4002
|
}
|
|
3975
4003
|
};
|
|
3976
|
-
let
|
|
3977
|
-
const
|
|
3978
|
-
function
|
|
3979
|
-
return
|
|
4004
|
+
let Ze;
|
|
4005
|
+
const ne = ye({});
|
|
4006
|
+
function ni(e) {
|
|
4007
|
+
return Ze[e] || null;
|
|
3980
4008
|
}
|
|
3981
|
-
function
|
|
3982
|
-
return e in
|
|
4009
|
+
function Jt(e) {
|
|
4010
|
+
return e in Ze;
|
|
3983
4011
|
}
|
|
3984
|
-
function
|
|
3985
|
-
if (!
|
|
4012
|
+
function ii(e, t) {
|
|
4013
|
+
if (!Jt(e))
|
|
3986
4014
|
return null;
|
|
3987
|
-
const r =
|
|
3988
|
-
return
|
|
4015
|
+
const r = ni(e);
|
|
4016
|
+
return ti(r, t);
|
|
3989
4017
|
}
|
|
3990
|
-
function
|
|
4018
|
+
function oi(e) {
|
|
3991
4019
|
if (e == null)
|
|
3992
4020
|
return;
|
|
3993
|
-
const t =
|
|
4021
|
+
const t = _e(e);
|
|
3994
4022
|
for (let r = 0; r < t.length; r++) {
|
|
3995
4023
|
const n = t[r];
|
|
3996
|
-
if (
|
|
4024
|
+
if (Jt(n))
|
|
3997
4025
|
return n;
|
|
3998
4026
|
}
|
|
3999
4027
|
}
|
|
4000
|
-
function
|
|
4001
|
-
delete
|
|
4028
|
+
function si(e, ...t) {
|
|
4029
|
+
delete O[e], ne.update((r) => (r[e] = un.all([r[e] || {}, ...t]), r));
|
|
4002
4030
|
}
|
|
4003
|
-
|
|
4004
|
-
[
|
|
4031
|
+
W(
|
|
4032
|
+
[ne],
|
|
4005
4033
|
([e]) => Object.keys(e)
|
|
4006
4034
|
);
|
|
4007
|
-
|
|
4008
|
-
const
|
|
4009
|
-
function
|
|
4010
|
-
|
|
4035
|
+
ne.subscribe((e) => Ze = e);
|
|
4036
|
+
const ce = {};
|
|
4037
|
+
function ai(e, t) {
|
|
4038
|
+
ce[e].delete(t), ce[e].size === 0 && delete ce[e];
|
|
4011
4039
|
}
|
|
4012
|
-
function
|
|
4013
|
-
return
|
|
4040
|
+
function Yt(e) {
|
|
4041
|
+
return ce[e];
|
|
4014
4042
|
}
|
|
4015
|
-
function
|
|
4016
|
-
return
|
|
4017
|
-
const r =
|
|
4043
|
+
function ui(e) {
|
|
4044
|
+
return _e(e).map((t) => {
|
|
4045
|
+
const r = Yt(t);
|
|
4018
4046
|
return [t, r ? [...r] : []];
|
|
4019
4047
|
}).filter(([, t]) => t.length > 0);
|
|
4020
4048
|
}
|
|
4021
|
-
function
|
|
4022
|
-
return e == null ? !1 :
|
|
4049
|
+
function We(e) {
|
|
4050
|
+
return e == null ? !1 : _e(e).some(
|
|
4023
4051
|
(t) => {
|
|
4024
4052
|
var r;
|
|
4025
|
-
return (r =
|
|
4053
|
+
return (r = Yt(t)) == null ? void 0 : r.size;
|
|
4026
4054
|
}
|
|
4027
4055
|
);
|
|
4028
4056
|
}
|
|
4029
|
-
function
|
|
4057
|
+
function hi(e, t) {
|
|
4030
4058
|
return Promise.all(
|
|
4031
|
-
t.map((n) => (
|
|
4032
|
-
).then((n) =>
|
|
4033
|
-
}
|
|
4034
|
-
const
|
|
4035
|
-
function
|
|
4036
|
-
if (!
|
|
4037
|
-
return e in
|
|
4038
|
-
const t =
|
|
4039
|
-
return
|
|
4059
|
+
t.map((n) => (ai(e, n), n().then((i) => i.default || i)))
|
|
4060
|
+
).then((n) => si(e, ...n));
|
|
4061
|
+
}
|
|
4062
|
+
const Q = {};
|
|
4063
|
+
function qt(e) {
|
|
4064
|
+
if (!We(e))
|
|
4065
|
+
return e in Q ? Q[e] : Promise.resolve();
|
|
4066
|
+
const t = ui(e);
|
|
4067
|
+
return Q[e] = Promise.all(
|
|
4040
4068
|
t.map(
|
|
4041
|
-
([r, n]) =>
|
|
4069
|
+
([r, n]) => hi(r, n)
|
|
4042
4070
|
)
|
|
4043
4071
|
).then(() => {
|
|
4044
|
-
if (
|
|
4045
|
-
return
|
|
4046
|
-
delete
|
|
4047
|
-
}),
|
|
4072
|
+
if (We(e))
|
|
4073
|
+
return qt(e);
|
|
4074
|
+
delete Q[e];
|
|
4075
|
+
}), Q[e];
|
|
4048
4076
|
}
|
|
4049
|
-
const
|
|
4077
|
+
const li = {
|
|
4050
4078
|
number: {
|
|
4051
4079
|
scientific: { notation: "scientific" },
|
|
4052
4080
|
engineering: { notation: "engineering" },
|
|
@@ -4075,251 +4103,251 @@ const ai = {
|
|
|
4075
4103
|
timeZoneName: "short"
|
|
4076
4104
|
}
|
|
4077
4105
|
}
|
|
4078
|
-
},
|
|
4106
|
+
}, ci = {
|
|
4079
4107
|
fallbackLocale: null,
|
|
4080
4108
|
loadingDelay: 200,
|
|
4081
|
-
formats:
|
|
4109
|
+
formats: li,
|
|
4082
4110
|
warnOnMissingMessages: !0,
|
|
4083
4111
|
handleMissingMessage: void 0,
|
|
4084
4112
|
ignoreTag: !0
|
|
4085
|
-
},
|
|
4086
|
-
function
|
|
4087
|
-
return
|
|
4113
|
+
}, fi = ci;
|
|
4114
|
+
function V() {
|
|
4115
|
+
return fi;
|
|
4088
4116
|
}
|
|
4089
|
-
const
|
|
4090
|
-
var
|
|
4117
|
+
const Oe = ye(!1);
|
|
4118
|
+
var pi = Object.defineProperty, di = Object.defineProperties, mi = Object.getOwnPropertyDescriptors, mt = Object.getOwnPropertySymbols, bi = Object.prototype.hasOwnProperty, yi = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gi = (e, t) => {
|
|
4091
4119
|
for (var r in t || (t = {}))
|
|
4092
|
-
|
|
4093
|
-
if (
|
|
4094
|
-
for (var r of
|
|
4095
|
-
|
|
4120
|
+
bi.call(t, r) && bt(e, r, t[r]);
|
|
4121
|
+
if (mt)
|
|
4122
|
+
for (var r of mt(t))
|
|
4123
|
+
yi.call(t, r) && bt(e, r, t[r]);
|
|
4096
4124
|
return e;
|
|
4097
|
-
},
|
|
4098
|
-
let
|
|
4099
|
-
const
|
|
4100
|
-
function
|
|
4125
|
+
}, vi = (e, t) => di(e, mi(t));
|
|
4126
|
+
let ze;
|
|
4127
|
+
const de = ye(null);
|
|
4128
|
+
function yt(e) {
|
|
4101
4129
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4102
4130
|
}
|
|
4103
|
-
function
|
|
4104
|
-
const r =
|
|
4105
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4131
|
+
function _e(e, t = V().fallbackLocale) {
|
|
4132
|
+
const r = yt(e);
|
|
4133
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...yt(t)])] : r;
|
|
4106
4134
|
}
|
|
4107
|
-
function
|
|
4108
|
-
return
|
|
4135
|
+
function L() {
|
|
4136
|
+
return ze ?? void 0;
|
|
4109
4137
|
}
|
|
4110
|
-
|
|
4111
|
-
|
|
4138
|
+
de.subscribe((e) => {
|
|
4139
|
+
ze = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4112
4140
|
});
|
|
4113
|
-
const
|
|
4114
|
-
if (e &&
|
|
4115
|
-
const { loadingDelay: t } =
|
|
4141
|
+
const _i = (e) => {
|
|
4142
|
+
if (e && oi(e) && We(e)) {
|
|
4143
|
+
const { loadingDelay: t } = V();
|
|
4116
4144
|
let r;
|
|
4117
|
-
return typeof window < "u" &&
|
|
4118
|
-
() =>
|
|
4145
|
+
return typeof window < "u" && L() != null && t ? r = window.setTimeout(
|
|
4146
|
+
() => Oe.set(!0),
|
|
4119
4147
|
t
|
|
4120
|
-
) :
|
|
4121
|
-
|
|
4148
|
+
) : Oe.set(!0), qt(e).then(() => {
|
|
4149
|
+
de.set(e);
|
|
4122
4150
|
}).finally(() => {
|
|
4123
|
-
clearTimeout(r),
|
|
4151
|
+
clearTimeout(r), Oe.set(!1);
|
|
4124
4152
|
});
|
|
4125
4153
|
}
|
|
4126
|
-
return
|
|
4127
|
-
},
|
|
4128
|
-
set:
|
|
4129
|
-
}),
|
|
4154
|
+
return de.set(e);
|
|
4155
|
+
}, ie = vi(gi({}, de), {
|
|
4156
|
+
set: _i
|
|
4157
|
+
}), Ee = (e) => {
|
|
4130
4158
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4131
4159
|
return (n) => {
|
|
4132
4160
|
const i = JSON.stringify(n);
|
|
4133
4161
|
return i in t ? t[i] : t[i] = e(n);
|
|
4134
4162
|
};
|
|
4135
4163
|
};
|
|
4136
|
-
var
|
|
4164
|
+
var Ei = Object.defineProperty, me = Object.getOwnPropertySymbols, Kt = Object.prototype.hasOwnProperty, er = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? Ei(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qe = (e, t) => {
|
|
4137
4165
|
for (var r in t || (t = {}))
|
|
4138
|
-
|
|
4139
|
-
if (
|
|
4140
|
-
for (var r of
|
|
4141
|
-
|
|
4166
|
+
Kt.call(t, r) && gt(e, r, t[r]);
|
|
4167
|
+
if (me)
|
|
4168
|
+
for (var r of me(t))
|
|
4169
|
+
er.call(t, r) && gt(e, r, t[r]);
|
|
4142
4170
|
return e;
|
|
4143
|
-
},
|
|
4171
|
+
}, z = (e, t) => {
|
|
4144
4172
|
var r = {};
|
|
4145
4173
|
for (var n in e)
|
|
4146
|
-
|
|
4147
|
-
if (e != null &&
|
|
4148
|
-
for (var n of
|
|
4149
|
-
t.indexOf(n) < 0 &&
|
|
4174
|
+
Kt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4175
|
+
if (e != null && me)
|
|
4176
|
+
for (var n of me(e))
|
|
4177
|
+
t.indexOf(n) < 0 && er.call(e, n) && (r[n] = e[n]);
|
|
4150
4178
|
return r;
|
|
4151
4179
|
};
|
|
4152
|
-
const
|
|
4153
|
-
const { formats: r } =
|
|
4180
|
+
const K = (e, t) => {
|
|
4181
|
+
const { formats: r } = V();
|
|
4154
4182
|
if (e in r && t in r[e])
|
|
4155
4183
|
return r[e][t];
|
|
4156
4184
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4157
|
-
},
|
|
4185
|
+
}, xi = Ee(
|
|
4158
4186
|
(e) => {
|
|
4159
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4187
|
+
var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
|
|
4160
4188
|
if (r == null)
|
|
4161
4189
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4162
|
-
return n && (i =
|
|
4190
|
+
return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
|
|
4163
4191
|
}
|
|
4164
|
-
),
|
|
4192
|
+
), Si = Ee(
|
|
4165
4193
|
(e) => {
|
|
4166
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4194
|
+
var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
|
|
4167
4195
|
if (r == null)
|
|
4168
4196
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4169
|
-
return n ? i =
|
|
4197
|
+
return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4170
4198
|
}
|
|
4171
|
-
),
|
|
4199
|
+
), wi = Ee(
|
|
4172
4200
|
(e) => {
|
|
4173
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4201
|
+
var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
|
|
4174
4202
|
if (r == null)
|
|
4175
4203
|
throw new Error(
|
|
4176
4204
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4177
4205
|
);
|
|
4178
|
-
return n ? i =
|
|
4206
|
+
return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4179
4207
|
}
|
|
4180
|
-
),
|
|
4208
|
+
), Ti = (e = {}) => {
|
|
4181
4209
|
var t = e, {
|
|
4182
|
-
locale: r =
|
|
4183
|
-
} = t, n =
|
|
4210
|
+
locale: r = L()
|
|
4211
|
+
} = t, n = z(t, [
|
|
4184
4212
|
"locale"
|
|
4185
4213
|
]);
|
|
4186
|
-
return
|
|
4187
|
-
},
|
|
4214
|
+
return xi(Qe({ locale: r }, n));
|
|
4215
|
+
}, Hi = (e = {}) => {
|
|
4188
4216
|
var t = e, {
|
|
4189
|
-
locale: r =
|
|
4190
|
-
} = t, n =
|
|
4217
|
+
locale: r = L()
|
|
4218
|
+
} = t, n = z(t, [
|
|
4191
4219
|
"locale"
|
|
4192
4220
|
]);
|
|
4193
|
-
return
|
|
4194
|
-
},
|
|
4221
|
+
return Si(Qe({ locale: r }, n));
|
|
4222
|
+
}, Ai = (e = {}) => {
|
|
4195
4223
|
var t = e, {
|
|
4196
|
-
locale: r =
|
|
4197
|
-
} = t, n =
|
|
4224
|
+
locale: r = L()
|
|
4225
|
+
} = t, n = z(t, [
|
|
4198
4226
|
"locale"
|
|
4199
4227
|
]);
|
|
4200
|
-
return
|
|
4201
|
-
},
|
|
4228
|
+
return wi(Qe({ locale: r }, n));
|
|
4229
|
+
}, Bi = Ee(
|
|
4202
4230
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4203
|
-
(e, t =
|
|
4204
|
-
ignoreTag:
|
|
4231
|
+
(e, t = L()) => new ei(e, t, V().formats, {
|
|
4232
|
+
ignoreTag: V().ignoreTag
|
|
4205
4233
|
})
|
|
4206
|
-
),
|
|
4234
|
+
), Oi = (e, t = {}) => {
|
|
4207
4235
|
var r, n, i, o;
|
|
4208
4236
|
let s = t;
|
|
4209
4237
|
typeof e == "object" && (s = e, e = s.id);
|
|
4210
4238
|
const {
|
|
4211
4239
|
values: a,
|
|
4212
|
-
locale: h =
|
|
4240
|
+
locale: h = L(),
|
|
4213
4241
|
default: u
|
|
4214
4242
|
} = s;
|
|
4215
4243
|
if (h == null)
|
|
4216
4244
|
throw new Error(
|
|
4217
4245
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4218
4246
|
);
|
|
4219
|
-
let l =
|
|
4247
|
+
let l = Qt(e, h);
|
|
4220
4248
|
if (!l)
|
|
4221
|
-
l = (o = (i = (n = (r =
|
|
4249
|
+
l = (o = (i = (n = (r = V()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4222
4250
|
else if (typeof l != "string")
|
|
4223
4251
|
return console.warn(
|
|
4224
4252
|
`[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.`
|
|
4225
4253
|
), l;
|
|
4226
4254
|
if (!a)
|
|
4227
4255
|
return l;
|
|
4228
|
-
let
|
|
4256
|
+
let c = l;
|
|
4229
4257
|
try {
|
|
4230
|
-
|
|
4231
|
-
} catch (
|
|
4232
|
-
|
|
4258
|
+
c = Bi(l, h).format(a);
|
|
4259
|
+
} catch (f) {
|
|
4260
|
+
f instanceof Error && console.warn(
|
|
4233
4261
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
4234
|
-
|
|
4262
|
+
f.message
|
|
4235
4263
|
);
|
|
4236
4264
|
}
|
|
4237
|
-
return
|
|
4238
|
-
},
|
|
4239
|
-
|
|
4240
|
-
|
|
4241
|
-
|
|
4242
|
-
|
|
4243
|
-
|
|
4244
|
-
window.emWidgets = { topic:
|
|
4245
|
-
const
|
|
4265
|
+
return c;
|
|
4266
|
+
}, Pi = (e, t) => Ai(t).format(e), Ii = (e, t) => Hi(t).format(e), Ci = (e, t) => Ti(t).format(e), Ni = (e, t = L()) => Qt(e, t);
|
|
4267
|
+
W([ie, ne], () => Oi);
|
|
4268
|
+
W([ie], () => Pi);
|
|
4269
|
+
W([ie], () => Ii);
|
|
4270
|
+
W([ie], () => Ci);
|
|
4271
|
+
W([ie, ne], () => Ni);
|
|
4272
|
+
window.emWidgets = { topic: Vr };
|
|
4273
|
+
const Li = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
|
|
4246
4274
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
4247
|
-
function
|
|
4248
|
-
|
|
4275
|
+
function Mi(e) {
|
|
4276
|
+
ir(e, "svelte-q9wa7c", "*,*::before,*::after{box-sizing:border-box}.Title{text-transform:uppercase}.DetailsCard{border:1px solid var(--emw--color-contrast, #07072A);color:var(--emw--color-white, #FFFFFF);width:100%;margin:25px 0 25px 0}.DetailsCard.Mobile{margin:10px 0}.DetailsCard.Mobile .DetailsTitle{padding:0 10px;height:30px}.DetailsTitle{padding:0 20px;height:60px;display:flex;align-items:center;justify-content:space-between;background:var(--emw--color-contrast, #07072A)}.DetailsContent{overflow:auto;height:150px;font-size:14px;padding:10px 10px 10px 20px;margin:10px 20px 10px 0}.sc::-webkit-scrollbar{width:5px;height:5px}.sc::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.1);border-radius:var(--emw--border-radius-medium, 10px)}.sc::-webkit-scrollbar-thumb{background-color:var(--emw--color-white, #FFFFFF);border-radius:var(--emw--border-radius-medium, 10px)}");
|
|
4249
4277
|
}
|
|
4250
|
-
function
|
|
4278
|
+
function vt(e) {
|
|
4251
4279
|
let t, r, n, i, o, s, a;
|
|
4252
|
-
function h(
|
|
4280
|
+
function h(c, f) {
|
|
4253
4281
|
return (
|
|
4254
4282
|
/*collapsed*/
|
|
4255
|
-
|
|
4283
|
+
c[3] ? $i : Ri
|
|
4256
4284
|
);
|
|
4257
4285
|
}
|
|
4258
4286
|
let u = h(e), l = u(e);
|
|
4259
4287
|
return {
|
|
4260
4288
|
c() {
|
|
4261
|
-
t =
|
|
4289
|
+
t = C("div"), r = C("p"), n = St(
|
|
4262
4290
|
/*title*/
|
|
4263
4291
|
e[0]
|
|
4264
|
-
), i =
|
|
4292
|
+
), i = wt(), o = C("div"), l.c(), y(r, "class", "Title"), y(r, "part", "Title"), y(o, "class", "CollapseButtonDetails"), y(o, "part", "CollapseButtonDetails"), y(t, "class", "DetailsTitle"), y(t, "part", "DetailsTitle");
|
|
4265
4293
|
},
|
|
4266
|
-
m(
|
|
4267
|
-
|
|
4294
|
+
m(c, f) {
|
|
4295
|
+
X(c, t, f), B(t, r), B(r, n), B(t, i), B(t, o), l.m(o, null), s || (a = ar(
|
|
4268
4296
|
t,
|
|
4269
4297
|
"click",
|
|
4270
4298
|
/*collapseText*/
|
|
4271
4299
|
e[5]
|
|
4272
4300
|
), s = !0);
|
|
4273
4301
|
},
|
|
4274
|
-
p(
|
|
4275
|
-
|
|
4276
|
-
1 &&
|
|
4302
|
+
p(c, f) {
|
|
4303
|
+
f & /*title*/
|
|
4304
|
+
1 && hr(
|
|
4277
4305
|
n,
|
|
4278
4306
|
/*title*/
|
|
4279
|
-
|
|
4280
|
-
), u !== (u = h(
|
|
4307
|
+
c[0]
|
|
4308
|
+
), u !== (u = h(c)) && (l.d(1), l = u(c), l && (l.c(), l.m(o, null)));
|
|
4281
4309
|
},
|
|
4282
|
-
d(
|
|
4283
|
-
|
|
4310
|
+
d(c) {
|
|
4311
|
+
c && N(t), l.d(), s = !1, a();
|
|
4284
4312
|
}
|
|
4285
4313
|
};
|
|
4286
4314
|
}
|
|
4287
|
-
function
|
|
4315
|
+
function $i(e) {
|
|
4288
4316
|
let t, r;
|
|
4289
4317
|
return {
|
|
4290
4318
|
c() {
|
|
4291
|
-
t = fe("svg"), r = fe("path"),
|
|
4319
|
+
t = fe("svg"), r = fe("path"), y(r, "d", "M6 9l6 6 6-6"), y(t, "xmlns", "http://www.w3.org/2000/svg"), y(t, "width", "24"), y(t, "height", "24"), y(t, "viewBox", "0 0 24 24"), y(t, "fill", "none"), y(t, "stroke", "#ffffff"), y(t, "stroke-width", "2"), y(t, "stroke-linecap", "round"), y(t, "stroke-linejoin", "round");
|
|
4292
4320
|
},
|
|
4293
4321
|
m(n, i) {
|
|
4294
|
-
|
|
4322
|
+
X(n, t, i), B(t, r);
|
|
4295
4323
|
},
|
|
4296
4324
|
d(n) {
|
|
4297
4325
|
n && N(t);
|
|
4298
4326
|
}
|
|
4299
4327
|
};
|
|
4300
4328
|
}
|
|
4301
|
-
function
|
|
4329
|
+
function Ri(e) {
|
|
4302
4330
|
let t, r;
|
|
4303
4331
|
return {
|
|
4304
4332
|
c() {
|
|
4305
|
-
t = fe("svg"), r = fe("path"),
|
|
4333
|
+
t = fe("svg"), r = fe("path"), y(r, "d", "M18 15l-6-6-6 6"), y(t, "xmlns", "http://www.w3.org/2000/svg"), y(t, "width", "24"), y(t, "height", "24"), y(t, "viewBox", "0 0 24 24"), y(t, "fill", "none"), y(t, "stroke", "#ffffff"), y(t, "stroke-width", "2"), y(t, "stroke-linecap", "round"), y(t, "stroke-linejoin", "round");
|
|
4306
4334
|
},
|
|
4307
4335
|
m(n, i) {
|
|
4308
|
-
|
|
4336
|
+
X(n, t, i), B(t, r);
|
|
4309
4337
|
},
|
|
4310
4338
|
d(n) {
|
|
4311
4339
|
n && N(t);
|
|
4312
4340
|
}
|
|
4313
4341
|
};
|
|
4314
4342
|
}
|
|
4315
|
-
function
|
|
4343
|
+
function _t(e) {
|
|
4316
4344
|
let t, r, n, i;
|
|
4317
4345
|
return {
|
|
4318
4346
|
c() {
|
|
4319
|
-
t =
|
|
4347
|
+
t = C("div"), t.innerHTML = "", y(t, "class", "DetailsContent sc"), y(t, "part", "DetailsContent");
|
|
4320
4348
|
},
|
|
4321
4349
|
m(o, s) {
|
|
4322
|
-
|
|
4350
|
+
X(o, t, s), n || (i = nr(r = /*setContent*/
|
|
4323
4351
|
e[6].call(
|
|
4324
4352
|
null,
|
|
4325
4353
|
t,
|
|
@@ -4328,7 +4356,7 @@ function yt(e) {
|
|
|
4328
4356
|
)), n = !0);
|
|
4329
4357
|
},
|
|
4330
4358
|
p(o, s) {
|
|
4331
|
-
r &&
|
|
4359
|
+
r && te(r.update) && s & /*text*/
|
|
4332
4360
|
2 && r.update.call(
|
|
4333
4361
|
null,
|
|
4334
4362
|
/*text*/
|
|
@@ -4340,49 +4368,49 @@ function yt(e) {
|
|
|
4340
4368
|
}
|
|
4341
4369
|
};
|
|
4342
4370
|
}
|
|
4343
|
-
function
|
|
4371
|
+
function Di(e) {
|
|
4344
4372
|
let t, r, n = (
|
|
4345
4373
|
/*title*/
|
|
4346
|
-
e[0] &&
|
|
4374
|
+
e[0] && vt(e)
|
|
4347
4375
|
), i = (
|
|
4348
4376
|
/*text*/
|
|
4349
4377
|
e[1] && !/*collapsed*/
|
|
4350
|
-
e[3] &&
|
|
4378
|
+
e[3] && _t(e)
|
|
4351
4379
|
);
|
|
4352
4380
|
return {
|
|
4353
4381
|
c() {
|
|
4354
|
-
t =
|
|
4382
|
+
t = C("div"), n && n.c(), r = wt(), i && i.c(), y(t, "class", "DetailsCard " + (Li(
|
|
4355
4383
|
/*userAgent*/
|
|
4356
4384
|
e[4]
|
|
4357
|
-
) ? "Mobile" : "")),
|
|
4385
|
+
) ? "Mobile" : "")), y(t, "part", "DetailsCard");
|
|
4358
4386
|
},
|
|
4359
4387
|
m(o, s) {
|
|
4360
|
-
|
|
4388
|
+
X(o, t, s), n && n.m(t, null), B(t, r), i && i.m(t, null), e[10](t);
|
|
4361
4389
|
},
|
|
4362
4390
|
p(o, [s]) {
|
|
4363
4391
|
/*title*/
|
|
4364
|
-
o[0] ? n ? n.p(o, s) : (n =
|
|
4392
|
+
o[0] ? n ? n.p(o, s) : (n = vt(o), n.c(), n.m(t, r)) : n && (n.d(1), n = null), /*text*/
|
|
4365
4393
|
o[1] && !/*collapsed*/
|
|
4366
|
-
o[3] ? i ? i.p(o, s) : (i =
|
|
4394
|
+
o[3] ? i ? i.p(o, s) : (i = _t(o), i.c(), i.m(t, null)) : i && (i.d(1), i = null);
|
|
4367
4395
|
},
|
|
4368
|
-
i:
|
|
4369
|
-
o:
|
|
4396
|
+
i: x,
|
|
4397
|
+
o: x,
|
|
4370
4398
|
d(o) {
|
|
4371
4399
|
o && N(t), n && n.d(), i && i.d(), e[10](null);
|
|
4372
4400
|
}
|
|
4373
4401
|
};
|
|
4374
4402
|
}
|
|
4375
|
-
function
|
|
4376
|
-
let { title: n = "" } = t, { text: i = "" } = t, { mbsource: o } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, h, u = !1,
|
|
4403
|
+
function Ui(e, t, r) {
|
|
4404
|
+
let { title: n = "" } = t, { text: i = "" } = t, { mbsource: o } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, h, u, l = !1, c = window.navigator.userAgent;
|
|
4377
4405
|
const f = () => {
|
|
4378
|
-
r(3,
|
|
4379
|
-
},
|
|
4380
|
-
let
|
|
4381
|
-
|
|
4406
|
+
r(3, l = !l);
|
|
4407
|
+
}, b = (p, S) => {
|
|
4408
|
+
let A = document.createElement("div");
|
|
4409
|
+
A.innerHTML = S, p.append(A);
|
|
4382
4410
|
};
|
|
4383
4411
|
fr(() => () => {
|
|
4384
4412
|
});
|
|
4385
|
-
function
|
|
4413
|
+
function g(p) {
|
|
4386
4414
|
Pe[p ? "unshift" : "push"](() => {
|
|
4387
4415
|
h = p, r(2, h);
|
|
4388
4416
|
});
|
|
@@ -4391,30 +4419,30 @@ function $i(e, t, r) {
|
|
|
4391
4419
|
"title" in p && r(0, n = p.title), "text" in p && r(1, i = p.text), "mbsource" in p && r(7, o = p.mbsource), "clientstyling" in p && r(8, s = p.clientstyling), "clientstylingurl" in p && r(9, a = p.clientstylingurl);
|
|
4392
4420
|
}, e.$$.update = () => {
|
|
4393
4421
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4394
|
-
260 && s && h &&
|
|
4395
|
-
516 && a && h &&
|
|
4396
|
-
132 && o && h && Br(h, `${o}.Style
|
|
4422
|
+
260 && s && h && Hr(h, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4423
|
+
516 && a && h && Ar(h, a), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4424
|
+
132 && o && h && Br(h, `${o}.Style`, u);
|
|
4397
4425
|
}, [
|
|
4398
4426
|
n,
|
|
4399
4427
|
i,
|
|
4400
4428
|
h,
|
|
4401
|
-
u,
|
|
4402
4429
|
l,
|
|
4403
|
-
f,
|
|
4404
4430
|
c,
|
|
4431
|
+
f,
|
|
4432
|
+
b,
|
|
4405
4433
|
o,
|
|
4406
4434
|
s,
|
|
4407
4435
|
a,
|
|
4408
|
-
|
|
4436
|
+
g
|
|
4409
4437
|
];
|
|
4410
4438
|
}
|
|
4411
|
-
class
|
|
4439
|
+
class Gi extends wr {
|
|
4412
4440
|
constructor(t) {
|
|
4413
4441
|
super(), xr(
|
|
4414
4442
|
this,
|
|
4415
4443
|
t,
|
|
4416
|
-
|
|
4417
|
-
|
|
4444
|
+
Ui,
|
|
4445
|
+
Di,
|
|
4418
4446
|
xt,
|
|
4419
4447
|
{
|
|
4420
4448
|
title: 0,
|
|
@@ -4423,41 +4451,41 @@ class Ri extends Sr {
|
|
|
4423
4451
|
clientstyling: 8,
|
|
4424
4452
|
clientstylingurl: 9
|
|
4425
4453
|
},
|
|
4426
|
-
|
|
4454
|
+
Mi
|
|
4427
4455
|
);
|
|
4428
4456
|
}
|
|
4429
4457
|
get title() {
|
|
4430
4458
|
return this.$$.ctx[0];
|
|
4431
4459
|
}
|
|
4432
4460
|
set title(t) {
|
|
4433
|
-
this.$$set({ title: t }),
|
|
4461
|
+
this.$$set({ title: t }), I();
|
|
4434
4462
|
}
|
|
4435
4463
|
get text() {
|
|
4436
4464
|
return this.$$.ctx[1];
|
|
4437
4465
|
}
|
|
4438
4466
|
set text(t) {
|
|
4439
|
-
this.$$set({ text: t }),
|
|
4467
|
+
this.$$set({ text: t }), I();
|
|
4440
4468
|
}
|
|
4441
4469
|
get mbsource() {
|
|
4442
4470
|
return this.$$.ctx[7];
|
|
4443
4471
|
}
|
|
4444
4472
|
set mbsource(t) {
|
|
4445
|
-
this.$$set({ mbsource: t }),
|
|
4473
|
+
this.$$set({ mbsource: t }), I();
|
|
4446
4474
|
}
|
|
4447
4475
|
get clientstyling() {
|
|
4448
4476
|
return this.$$.ctx[8];
|
|
4449
4477
|
}
|
|
4450
4478
|
set clientstyling(t) {
|
|
4451
|
-
this.$$set({ clientstyling: t }),
|
|
4479
|
+
this.$$set({ clientstyling: t }), I();
|
|
4452
4480
|
}
|
|
4453
4481
|
get clientstylingurl() {
|
|
4454
4482
|
return this.$$.ctx[9];
|
|
4455
4483
|
}
|
|
4456
4484
|
set clientstylingurl(t) {
|
|
4457
|
-
this.$$set({ clientstylingurl: t }),
|
|
4485
|
+
this.$$set({ clientstylingurl: t }), I();
|
|
4458
4486
|
}
|
|
4459
4487
|
}
|
|
4460
|
-
|
|
4488
|
+
Sr(Gi, { title: {}, text: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
|
4461
4489
|
export {
|
|
4462
|
-
|
|
4490
|
+
Gi as C
|
|
4463
4491
|
};
|