@everymatrix/casino-tournaments-thumbnail-prizes 1.87.26 → 1.87.28
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/CasinoTournamentsThumbnailPrizes-DGLMxbQw.cjs +3 -0
- package/components/{CasinoTournamentsThumbnailPrizes-KWys1PqP.js → CasinoTournamentsThumbnailPrizes-DMJ5AeVE.js} +807 -779
- package/components/{CasinoTournamentsThumbnailPrizes-mHmzY5O2.js → CasinoTournamentsThumbnailPrizes-VHK_oLcb.js} +681 -654
- package/es2015/casino-tournaments-thumbnail-prizes.cjs +1 -1
- package/es2015/casino-tournaments-thumbnail-prizes.js +1 -1
- package/esnext/casino-tournaments-thumbnail-prizes.js +1 -1
- package/package.json +1 -1
- package/components/CasinoTournamentsThumbnailPrizes-Cub338de.cjs +0 -3
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
function
|
|
1
|
+
function S() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function ht(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function Fe() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
|
-
function
|
|
10
|
-
e.forEach(
|
|
9
|
+
function ee(e) {
|
|
10
|
+
e.forEach(ht);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function Re(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function lt(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function Rt(e) {
|
|
19
19
|
return Object.keys(e).length === 0;
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function ft(e, ...t) {
|
|
22
22
|
if (e == null) {
|
|
23
23
|
for (const n of t)
|
|
24
24
|
n(void 0);
|
|
25
|
-
return
|
|
25
|
+
return S;
|
|
26
26
|
}
|
|
27
27
|
const r = e.subscribe(...t);
|
|
28
28
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
31
|
-
e.$$.on_destroy.push(
|
|
30
|
+
function Ut(e, t, r) {
|
|
31
|
+
e.$$.on_destroy.push(ft(t, r));
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function v(e, t) {
|
|
34
34
|
e.appendChild(t);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
37
|
-
const n =
|
|
36
|
+
function Dt(e, t, r) {
|
|
37
|
+
const n = Gt(e);
|
|
38
38
|
if (!n.getElementById(t)) {
|
|
39
39
|
const i = T("style");
|
|
40
|
-
i.id = t, i.textContent = r,
|
|
40
|
+
i.id = t, i.textContent = r, Ft(n, i);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function Gt(e) {
|
|
44
44
|
if (!e)
|
|
45
45
|
return document;
|
|
46
46
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -50,43 +50,43 @@ function Dt(e) {
|
|
|
50
50
|
t
|
|
51
51
|
) : e.ownerDocument;
|
|
52
52
|
}
|
|
53
|
-
function
|
|
54
|
-
return
|
|
53
|
+
function Ft(e, t) {
|
|
54
|
+
return v(
|
|
55
55
|
/** @type {Document} */
|
|
56
56
|
e.head || e,
|
|
57
57
|
t
|
|
58
58
|
), t.sheet;
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function te(e, t, r) {
|
|
61
61
|
e.insertBefore(t, r || null);
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function k(e) {
|
|
64
64
|
e.parentNode && e.parentNode.removeChild(e);
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function zt(e, t) {
|
|
67
67
|
for (let r = 0; r < e.length; r += 1)
|
|
68
68
|
e[r] && e[r].d(t);
|
|
69
69
|
}
|
|
70
70
|
function T(e) {
|
|
71
71
|
return document.createElement(e);
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function I(e) {
|
|
74
74
|
return document.createTextNode(e);
|
|
75
75
|
}
|
|
76
|
-
function
|
|
77
|
-
return
|
|
76
|
+
function he() {
|
|
77
|
+
return I(" ");
|
|
78
78
|
}
|
|
79
79
|
function x(e, t, r) {
|
|
80
80
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function jt(e) {
|
|
83
83
|
return Array.from(e.childNodes);
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function Q(e, t) {
|
|
86
86
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
87
87
|
t);
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function kt(e) {
|
|
90
90
|
const t = {};
|
|
91
91
|
return e.childNodes.forEach(
|
|
92
92
|
/** @param {Element} node */
|
|
@@ -95,98 +95,98 @@ function jt(e) {
|
|
|
95
95
|
}
|
|
96
96
|
), t;
|
|
97
97
|
}
|
|
98
|
-
let
|
|
99
|
-
function
|
|
100
|
-
|
|
98
|
+
let q;
|
|
99
|
+
function J(e) {
|
|
100
|
+
q = e;
|
|
101
101
|
}
|
|
102
|
-
function
|
|
103
|
-
if (!
|
|
102
|
+
function Vt() {
|
|
103
|
+
if (!q)
|
|
104
104
|
throw new Error("Function called outside component initialization");
|
|
105
|
-
return
|
|
105
|
+
return q;
|
|
106
106
|
}
|
|
107
|
-
function
|
|
108
|
-
|
|
107
|
+
function Xt(e) {
|
|
108
|
+
Vt().$$.on_mount.push(e);
|
|
109
109
|
}
|
|
110
|
-
const
|
|
111
|
-
let
|
|
112
|
-
const
|
|
110
|
+
const R = [], Se = [];
|
|
111
|
+
let D = [];
|
|
112
|
+
const ze = [], Wt = /* @__PURE__ */ Promise.resolve();
|
|
113
113
|
let Pe = !1;
|
|
114
|
-
function
|
|
115
|
-
Pe || (Pe = !0,
|
|
114
|
+
function Zt() {
|
|
115
|
+
Pe || (Pe = !0, Wt.then(O));
|
|
116
116
|
}
|
|
117
|
-
function
|
|
118
|
-
|
|
117
|
+
function Be(e) {
|
|
118
|
+
D.push(e);
|
|
119
119
|
}
|
|
120
|
-
const
|
|
121
|
-
let
|
|
122
|
-
function
|
|
123
|
-
if (
|
|
120
|
+
const ye = /* @__PURE__ */ new Set();
|
|
121
|
+
let C = 0;
|
|
122
|
+
function O() {
|
|
123
|
+
if (C !== 0)
|
|
124
124
|
return;
|
|
125
|
-
const e =
|
|
125
|
+
const e = q;
|
|
126
126
|
do {
|
|
127
127
|
try {
|
|
128
|
-
for (;
|
|
129
|
-
const t = C
|
|
130
|
-
|
|
128
|
+
for (; C < R.length; ) {
|
|
129
|
+
const t = R[C];
|
|
130
|
+
C++, J(t), Qt(t.$$);
|
|
131
131
|
}
|
|
132
132
|
} catch (t) {
|
|
133
|
-
throw
|
|
133
|
+
throw R.length = 0, C = 0, t;
|
|
134
134
|
}
|
|
135
|
-
for (
|
|
136
|
-
|
|
137
|
-
for (let t = 0; t <
|
|
138
|
-
const r =
|
|
139
|
-
|
|
135
|
+
for (J(null), R.length = 0, C = 0; Se.length; )
|
|
136
|
+
Se.pop()();
|
|
137
|
+
for (let t = 0; t < D.length; t += 1) {
|
|
138
|
+
const r = D[t];
|
|
139
|
+
ye.has(r) || (ye.add(r), r());
|
|
140
140
|
}
|
|
141
|
-
|
|
142
|
-
} while (
|
|
143
|
-
for (;
|
|
144
|
-
|
|
145
|
-
Pe = !1,
|
|
141
|
+
D.length = 0;
|
|
142
|
+
} while (R.length);
|
|
143
|
+
for (; ze.length; )
|
|
144
|
+
ze.pop()();
|
|
145
|
+
Pe = !1, ye.clear(), J(e);
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function Qt(e) {
|
|
148
148
|
if (e.fragment !== null) {
|
|
149
|
-
e.update(),
|
|
149
|
+
e.update(), ee(e.before_update);
|
|
150
150
|
const t = e.dirty;
|
|
151
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
151
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Be);
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
|
-
function
|
|
154
|
+
function Jt(e) {
|
|
155
155
|
const t = [], r = [];
|
|
156
|
-
|
|
156
|
+
D.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), D = t;
|
|
157
157
|
}
|
|
158
|
-
const
|
|
159
|
-
function
|
|
160
|
-
e && e.i && (
|
|
158
|
+
const qt = /* @__PURE__ */ new Set();
|
|
159
|
+
function Yt(e, t) {
|
|
160
|
+
e && e.i && (qt.delete(e), e.i(t));
|
|
161
161
|
}
|
|
162
|
-
function
|
|
162
|
+
function je(e) {
|
|
163
163
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
164
164
|
}
|
|
165
|
-
function
|
|
165
|
+
function Kt(e, t, r) {
|
|
166
166
|
const { fragment: n, after_update: i } = e.$$;
|
|
167
|
-
n && n.m(t, r),
|
|
168
|
-
const s = e.$$.on_mount.map(
|
|
169
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
|
170
|
-
}), i.forEach(
|
|
167
|
+
n && n.m(t, r), Be(() => {
|
|
168
|
+
const s = e.$$.on_mount.map(ht).filter(Re);
|
|
169
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ee(s), e.$$.on_mount = [];
|
|
170
|
+
}), i.forEach(Be);
|
|
171
171
|
}
|
|
172
|
-
function
|
|
172
|
+
function er(e, t) {
|
|
173
173
|
const r = e.$$;
|
|
174
|
-
r.fragment !== null && (
|
|
174
|
+
r.fragment !== null && (Jt(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
175
175
|
}
|
|
176
|
-
function
|
|
177
|
-
e.$$.dirty[0] === -1 && (
|
|
176
|
+
function tr(e, t) {
|
|
177
|
+
e.$$.dirty[0] === -1 && (R.push(e), Zt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
178
178
|
}
|
|
179
|
-
function
|
|
180
|
-
const l =
|
|
181
|
-
|
|
179
|
+
function rr(e, t, r, n, i, s, u = null, o = [-1]) {
|
|
180
|
+
const l = q;
|
|
181
|
+
J(e);
|
|
182
182
|
const a = e.$$ = {
|
|
183
183
|
fragment: null,
|
|
184
184
|
ctx: [],
|
|
185
185
|
// state
|
|
186
186
|
props: s,
|
|
187
|
-
update:
|
|
187
|
+
update: S,
|
|
188
188
|
not_equal: i,
|
|
189
|
-
bound:
|
|
189
|
+
bound: Fe(),
|
|
190
190
|
// lifecycle
|
|
191
191
|
on_mount: [],
|
|
192
192
|
on_destroy: [],
|
|
@@ -195,28 +195,28 @@ function tr(e, t, r, n, i, s, u = null, o = [-1]) {
|
|
|
195
195
|
after_update: [],
|
|
196
196
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
197
197
|
// everything else
|
|
198
|
-
callbacks:
|
|
198
|
+
callbacks: Fe(),
|
|
199
199
|
dirty: o,
|
|
200
200
|
skip_bound: !1,
|
|
201
201
|
root: t.target || l.$$.root
|
|
202
202
|
};
|
|
203
203
|
u && u(a.root);
|
|
204
204
|
let h = !1;
|
|
205
|
-
if (a.ctx = r ? r(e, t.props || {}, (f, c, ...
|
|
206
|
-
const
|
|
207
|
-
return a.ctx && i(a.ctx[f], a.ctx[f] =
|
|
208
|
-
}) : [], a.update(), h = !0,
|
|
205
|
+
if (a.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
|
|
206
|
+
const g = p.length ? p[0] : c;
|
|
207
|
+
return a.ctx && i(a.ctx[f], a.ctx[f] = g) && (!a.skip_bound && a.bound[f] && a.bound[f](g), h && tr(e, f)), c;
|
|
208
|
+
}) : [], a.update(), h = !0, ee(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
|
|
209
209
|
if (t.hydrate) {
|
|
210
|
-
const f =
|
|
211
|
-
a.fragment && a.fragment.l(f), f.forEach(
|
|
210
|
+
const f = jt(t.target);
|
|
211
|
+
a.fragment && a.fragment.l(f), f.forEach(k);
|
|
212
212
|
} else
|
|
213
213
|
a.fragment && a.fragment.c();
|
|
214
|
-
t.intro &&
|
|
214
|
+
t.intro && Yt(e.$$.fragment), Kt(e, t.target, t.anchor), O();
|
|
215
215
|
}
|
|
216
|
-
|
|
216
|
+
J(l);
|
|
217
217
|
}
|
|
218
|
-
let
|
|
219
|
-
typeof HTMLElement == "function" && (
|
|
218
|
+
let ct;
|
|
219
|
+
typeof HTMLElement == "function" && (ct = class extends HTMLElement {
|
|
220
220
|
/** The Svelte component constructor */
|
|
221
221
|
$$ctor;
|
|
222
222
|
/** Slots */
|
|
@@ -265,22 +265,22 @@ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
|
|
|
265
265
|
* @param {HTMLElement} [anchor]
|
|
266
266
|
*/
|
|
267
267
|
m: function(l, a) {
|
|
268
|
-
|
|
268
|
+
te(l, s, a);
|
|
269
269
|
},
|
|
270
270
|
d: function(l) {
|
|
271
|
-
l &&
|
|
271
|
+
l && k(s);
|
|
272
272
|
}
|
|
273
273
|
};
|
|
274
274
|
};
|
|
275
275
|
};
|
|
276
276
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
277
277
|
return;
|
|
278
|
-
const t = {}, r =
|
|
278
|
+
const t = {}, r = kt(this);
|
|
279
279
|
for (const i of this.$$s)
|
|
280
280
|
i in r && (t[i] = [e(i)]);
|
|
281
281
|
for (const i of this.attributes) {
|
|
282
282
|
const s = this.$$g_p(i.name);
|
|
283
|
-
s in this.$$d || (this.$$d[s] =
|
|
283
|
+
s in this.$$d || (this.$$d[s] = oe(s, i.value, this.$$p_d, "toProp"));
|
|
284
284
|
}
|
|
285
285
|
for (const i in this.$$p_d)
|
|
286
286
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -298,7 +298,7 @@ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
|
|
|
298
298
|
this.$$r = !0;
|
|
299
299
|
for (const i in this.$$p_d)
|
|
300
300
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
301
|
-
const s =
|
|
301
|
+
const s = oe(
|
|
302
302
|
i,
|
|
303
303
|
this.$$d[i],
|
|
304
304
|
this.$$p_d,
|
|
@@ -320,7 +320,7 @@ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
|
|
|
320
320
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
321
321
|
// and setting attributes through setAttribute etc, this is helpful
|
|
322
322
|
attributeChangedCallback(e, t, r) {
|
|
323
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
323
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = oe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
324
324
|
}
|
|
325
325
|
disconnectedCallback() {
|
|
326
326
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -333,7 +333,7 @@ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
|
|
|
333
333
|
) || e;
|
|
334
334
|
}
|
|
335
335
|
});
|
|
336
|
-
function
|
|
336
|
+
function oe(e, t, r, n) {
|
|
337
337
|
const i = r[e]?.type;
|
|
338
338
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
339
339
|
return t;
|
|
@@ -362,8 +362,8 @@ function se(e, t, r, n) {
|
|
|
362
362
|
return t;
|
|
363
363
|
}
|
|
364
364
|
}
|
|
365
|
-
function
|
|
366
|
-
let u = class extends
|
|
365
|
+
function nr(e, t, r, n, i, s) {
|
|
366
|
+
let u = class extends ct {
|
|
367
367
|
constructor() {
|
|
368
368
|
super(e, r, i), this.$$p_d = t;
|
|
369
369
|
}
|
|
@@ -379,7 +379,7 @@ function rr(e, t, r, n, i, s) {
|
|
|
379
379
|
return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
|
|
380
380
|
},
|
|
381
381
|
set(l) {
|
|
382
|
-
l =
|
|
382
|
+
l = oe(o, l, t), this.$$d[o] = l, this.$$c?.$set({ [o]: l });
|
|
383
383
|
}
|
|
384
384
|
});
|
|
385
385
|
}), n.forEach((o) => {
|
|
@@ -391,7 +391,7 @@ function rr(e, t, r, n, i, s) {
|
|
|
391
391
|
}), e.element = /** @type {any} */
|
|
392
392
|
u, u;
|
|
393
393
|
}
|
|
394
|
-
class
|
|
394
|
+
class ir {
|
|
395
395
|
/**
|
|
396
396
|
* ### PRIVATE API
|
|
397
397
|
*
|
|
@@ -410,7 +410,7 @@ class nr {
|
|
|
410
410
|
$$set = void 0;
|
|
411
411
|
/** @returns {void} */
|
|
412
412
|
$destroy() {
|
|
413
|
-
|
|
413
|
+
er(this, 1), this.$destroy = S;
|
|
414
414
|
}
|
|
415
415
|
/**
|
|
416
416
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -419,8 +419,8 @@ class nr {
|
|
|
419
419
|
* @returns {() => void}
|
|
420
420
|
*/
|
|
421
421
|
$on(t, r) {
|
|
422
|
-
if (!
|
|
423
|
-
return
|
|
422
|
+
if (!Re(r))
|
|
423
|
+
return S;
|
|
424
424
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
425
425
|
return n.push(r), () => {
|
|
426
426
|
const i = n.indexOf(r);
|
|
@@ -432,22 +432,22 @@ class nr {
|
|
|
432
432
|
* @returns {void}
|
|
433
433
|
*/
|
|
434
434
|
$set(t) {
|
|
435
|
-
this.$$set && !
|
|
435
|
+
this.$$set && !Rt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
436
436
|
}
|
|
437
437
|
}
|
|
438
|
-
const
|
|
439
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
438
|
+
const sr = "4";
|
|
439
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(sr);
|
|
440
440
|
const M = [];
|
|
441
|
-
function
|
|
441
|
+
function or(e, t) {
|
|
442
442
|
return {
|
|
443
|
-
subscribe:
|
|
443
|
+
subscribe: pe(e, t).subscribe
|
|
444
444
|
};
|
|
445
445
|
}
|
|
446
|
-
function
|
|
446
|
+
function pe(e, t = S) {
|
|
447
447
|
let r;
|
|
448
448
|
const n = /* @__PURE__ */ new Set();
|
|
449
449
|
function i(o) {
|
|
450
|
-
if (
|
|
450
|
+
if (lt(e, o) && (e = o, r)) {
|
|
451
451
|
const l = !M.length;
|
|
452
452
|
for (const a of n)
|
|
453
453
|
a[1](), M.push(a, e);
|
|
@@ -461,131 +461,131 @@ function ce(e, t = P) {
|
|
|
461
461
|
function s(o) {
|
|
462
462
|
i(o(e));
|
|
463
463
|
}
|
|
464
|
-
function u(o, l =
|
|
464
|
+
function u(o, l = S) {
|
|
465
465
|
const a = [o, l];
|
|
466
|
-
return n.add(a), n.size === 1 && (r = t(i, s) ||
|
|
466
|
+
return n.add(a), n.size === 1 && (r = t(i, s) || S), o(e), () => {
|
|
467
467
|
n.delete(a), n.size === 0 && r && (r(), r = null);
|
|
468
468
|
};
|
|
469
469
|
}
|
|
470
470
|
return { set: i, update: s, subscribe: u };
|
|
471
471
|
}
|
|
472
|
-
function
|
|
472
|
+
function V(e, t, r) {
|
|
473
473
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
474
474
|
if (!i.every(Boolean))
|
|
475
475
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
476
476
|
const s = t.length < 2;
|
|
477
|
-
return
|
|
477
|
+
return or(r, (u, o) => {
|
|
478
478
|
let l = !1;
|
|
479
479
|
const a = [];
|
|
480
|
-
let h = 0, f =
|
|
480
|
+
let h = 0, f = S;
|
|
481
481
|
const c = () => {
|
|
482
482
|
if (h)
|
|
483
483
|
return;
|
|
484
484
|
f();
|
|
485
|
-
const
|
|
486
|
-
s ? u(
|
|
487
|
-
},
|
|
488
|
-
(
|
|
489
|
-
|
|
490
|
-
(
|
|
491
|
-
a[
|
|
485
|
+
const g = t(n ? a[0] : a, u, o);
|
|
486
|
+
s ? u(g) : f = Re(g) ? g : S;
|
|
487
|
+
}, p = i.map(
|
|
488
|
+
(g, m) => ft(
|
|
489
|
+
g,
|
|
490
|
+
(_) => {
|
|
491
|
+
a[m] = _, h &= ~(1 << m), l && c();
|
|
492
492
|
},
|
|
493
493
|
() => {
|
|
494
|
-
h |= 1 <<
|
|
494
|
+
h |= 1 << m;
|
|
495
495
|
}
|
|
496
496
|
)
|
|
497
497
|
);
|
|
498
498
|
return l = !0, c(), function() {
|
|
499
|
-
|
|
499
|
+
ee(p), f(), l = !1;
|
|
500
500
|
};
|
|
501
501
|
});
|
|
502
502
|
}
|
|
503
|
-
function
|
|
503
|
+
function ar(e) {
|
|
504
504
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
505
505
|
}
|
|
506
|
-
var
|
|
507
|
-
return
|
|
506
|
+
var ur = function(t) {
|
|
507
|
+
return hr(t) && !lr(t);
|
|
508
508
|
};
|
|
509
|
-
function
|
|
509
|
+
function hr(e) {
|
|
510
510
|
return !!e && typeof e == "object";
|
|
511
511
|
}
|
|
512
|
-
function
|
|
512
|
+
function lr(e) {
|
|
513
513
|
var t = Object.prototype.toString.call(e);
|
|
514
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
515
|
-
}
|
|
516
|
-
var lr = typeof Symbol == "function" && Symbol.for, fr = lr ? Symbol.for("react.element") : 60103;
|
|
517
|
-
function cr(e) {
|
|
518
|
-
return e.$$typeof === fr;
|
|
514
|
+
return t === "[object RegExp]" || t === "[object Date]" || pr(e);
|
|
519
515
|
}
|
|
516
|
+
var fr = typeof Symbol == "function" && Symbol.for, cr = fr ? Symbol.for("react.element") : 60103;
|
|
520
517
|
function pr(e) {
|
|
518
|
+
return e.$$typeof === cr;
|
|
519
|
+
}
|
|
520
|
+
function mr(e) {
|
|
521
521
|
return Array.isArray(e) ? [] : {};
|
|
522
522
|
}
|
|
523
|
-
function
|
|
524
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
523
|
+
function Y(e, t) {
|
|
524
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? G(mr(e), e, t) : e;
|
|
525
525
|
}
|
|
526
|
-
function
|
|
526
|
+
function dr(e, t, r) {
|
|
527
527
|
return e.concat(t).map(function(n) {
|
|
528
|
-
return
|
|
528
|
+
return Y(n, r);
|
|
529
529
|
});
|
|
530
530
|
}
|
|
531
|
-
function
|
|
531
|
+
function br(e, t) {
|
|
532
532
|
if (!t.customMerge)
|
|
533
|
-
return
|
|
533
|
+
return G;
|
|
534
534
|
var r = t.customMerge(e);
|
|
535
|
-
return typeof r == "function" ? r :
|
|
535
|
+
return typeof r == "function" ? r : G;
|
|
536
536
|
}
|
|
537
|
-
function
|
|
537
|
+
function gr(e) {
|
|
538
538
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
539
539
|
return Object.propertyIsEnumerable.call(e, t);
|
|
540
540
|
}) : [];
|
|
541
541
|
}
|
|
542
|
-
function
|
|
543
|
-
return Object.keys(e).concat(
|
|
542
|
+
function ke(e) {
|
|
543
|
+
return Object.keys(e).concat(gr(e));
|
|
544
544
|
}
|
|
545
|
-
function
|
|
545
|
+
function pt(e, t) {
|
|
546
546
|
try {
|
|
547
547
|
return t in e;
|
|
548
548
|
} catch {
|
|
549
549
|
return !1;
|
|
550
550
|
}
|
|
551
551
|
}
|
|
552
|
-
function
|
|
553
|
-
return
|
|
552
|
+
function yr(e, t) {
|
|
553
|
+
return pt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
554
554
|
}
|
|
555
555
|
function Er(e, t, r) {
|
|
556
556
|
var n = {};
|
|
557
|
-
return r.isMergeableObject(e) &&
|
|
558
|
-
n[i] =
|
|
559
|
-
}),
|
|
560
|
-
|
|
557
|
+
return r.isMergeableObject(e) && ke(e).forEach(function(i) {
|
|
558
|
+
n[i] = Y(e[i], r);
|
|
559
|
+
}), ke(t).forEach(function(i) {
|
|
560
|
+
yr(e, i) || (pt(e, i) && r.isMergeableObject(t[i]) ? n[i] = br(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
|
|
561
561
|
}), n;
|
|
562
562
|
}
|
|
563
|
-
function
|
|
564
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
563
|
+
function G(e, t, r) {
|
|
564
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || dr, r.isMergeableObject = r.isMergeableObject || ur, r.cloneUnlessOtherwiseSpecified = Y;
|
|
565
565
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
566
|
-
return s ? n ? r.arrayMerge(e, t, r) : Er(e, t, r) :
|
|
566
|
+
return s ? n ? r.arrayMerge(e, t, r) : Er(e, t, r) : Y(t, r);
|
|
567
567
|
}
|
|
568
|
-
|
|
568
|
+
G.all = function(t, r) {
|
|
569
569
|
if (!Array.isArray(t))
|
|
570
570
|
throw new Error("first argument should be an array");
|
|
571
571
|
return t.reduce(function(n, i) {
|
|
572
|
-
return
|
|
572
|
+
return G(n, i, r);
|
|
573
573
|
}, {});
|
|
574
574
|
};
|
|
575
|
-
var
|
|
576
|
-
const
|
|
577
|
-
var
|
|
578
|
-
return
|
|
575
|
+
var xr = G, _r = xr;
|
|
576
|
+
const vr = /* @__PURE__ */ ar(_r);
|
|
577
|
+
var Ae = function(e, t) {
|
|
578
|
+
return Ae = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
579
579
|
r.__proto__ = n;
|
|
580
580
|
} || function(r, n) {
|
|
581
581
|
for (var i in n)
|
|
582
582
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
583
|
-
},
|
|
583
|
+
}, Ae(e, t);
|
|
584
584
|
};
|
|
585
|
-
function
|
|
585
|
+
function me(e, t) {
|
|
586
586
|
if (typeof t != "function" && t !== null)
|
|
587
587
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
588
|
-
|
|
588
|
+
Ae(e, t);
|
|
589
589
|
function r() {
|
|
590
590
|
this.constructor = e;
|
|
591
591
|
}
|
|
@@ -601,7 +601,7 @@ var B = function() {
|
|
|
601
601
|
return t;
|
|
602
602
|
}, B.apply(this, arguments);
|
|
603
603
|
};
|
|
604
|
-
function
|
|
604
|
+
function Hr(e, t) {
|
|
605
605
|
var r = {};
|
|
606
606
|
for (var n in e)
|
|
607
607
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -616,37 +616,37 @@ function Ee(e, t, r) {
|
|
|
616
616
|
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
617
617
|
return e.concat(s || Array.prototype.slice.call(t));
|
|
618
618
|
}
|
|
619
|
-
function
|
|
620
|
-
var r = t && t.cache ? t.cache : Nr, n = t && t.serializer ? t.serializer :
|
|
619
|
+
function xe(e, t) {
|
|
620
|
+
var r = t && t.cache ? t.cache : Nr, n = t && t.serializer ? t.serializer : Ar, i = t && t.strategy ? t.strategy : Pr;
|
|
621
621
|
return i(e, {
|
|
622
622
|
cache: r,
|
|
623
623
|
serializer: n
|
|
624
624
|
});
|
|
625
625
|
}
|
|
626
|
-
function
|
|
626
|
+
function Tr(e) {
|
|
627
627
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
628
628
|
}
|
|
629
|
-
function
|
|
630
|
-
var i =
|
|
629
|
+
function Sr(e, t, r, n) {
|
|
630
|
+
var i = Tr(n) ? n : r(n), s = t.get(i);
|
|
631
631
|
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
|
632
632
|
}
|
|
633
|
-
function
|
|
633
|
+
function mt(e, t, r) {
|
|
634
634
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
635
635
|
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
636
636
|
}
|
|
637
|
-
function
|
|
637
|
+
function dt(e, t, r, n, i) {
|
|
638
638
|
return r.bind(t, e, n, i);
|
|
639
639
|
}
|
|
640
640
|
function Pr(e, t) {
|
|
641
|
-
var r = e.length === 1 ?
|
|
642
|
-
return
|
|
641
|
+
var r = e.length === 1 ? Sr : mt;
|
|
642
|
+
return dt(e, this, r, t.cache.create(), t.serializer);
|
|
643
643
|
}
|
|
644
|
-
function
|
|
645
|
-
return
|
|
644
|
+
function Br(e, t) {
|
|
645
|
+
return dt(e, this, mt, t.cache.create(), t.serializer);
|
|
646
646
|
}
|
|
647
|
-
var
|
|
647
|
+
var Ar = function() {
|
|
648
648
|
return JSON.stringify(arguments);
|
|
649
|
-
},
|
|
649
|
+
}, wr = (
|
|
650
650
|
/** @class */
|
|
651
651
|
function() {
|
|
652
652
|
function e() {
|
|
@@ -660,69 +660,69 @@ var Br = function() {
|
|
|
660
660
|
}()
|
|
661
661
|
), Nr = {
|
|
662
662
|
create: function() {
|
|
663
|
-
return new
|
|
663
|
+
return new wr();
|
|
664
664
|
}
|
|
665
|
-
},
|
|
666
|
-
variadic:
|
|
667
|
-
},
|
|
668
|
-
return
|
|
665
|
+
}, _e = {
|
|
666
|
+
variadic: Br
|
|
667
|
+
}, le = function() {
|
|
668
|
+
return le = Object.assign || function(t) {
|
|
669
669
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
670
670
|
r = arguments[n];
|
|
671
671
|
for (var s in r)
|
|
672
672
|
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
673
673
|
}
|
|
674
674
|
return t;
|
|
675
|
-
},
|
|
675
|
+
}, le.apply(this, arguments);
|
|
676
676
|
};
|
|
677
677
|
var d;
|
|
678
678
|
(function(e) {
|
|
679
679
|
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";
|
|
680
680
|
})(d || (d = {}));
|
|
681
|
-
var
|
|
681
|
+
var y;
|
|
682
682
|
(function(e) {
|
|
683
683
|
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";
|
|
684
|
-
})(
|
|
685
|
-
var
|
|
684
|
+
})(y || (y = {}));
|
|
685
|
+
var F;
|
|
686
686
|
(function(e) {
|
|
687
687
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
688
|
-
})(
|
|
689
|
-
function
|
|
690
|
-
return e.type ===
|
|
688
|
+
})(F || (F = {}));
|
|
689
|
+
function Ve(e) {
|
|
690
|
+
return e.type === y.literal;
|
|
691
691
|
}
|
|
692
|
-
function
|
|
693
|
-
return e.type ===
|
|
694
|
-
}
|
|
695
|
-
function dt(e) {
|
|
696
|
-
return e.type === g.number;
|
|
692
|
+
function Or(e) {
|
|
693
|
+
return e.type === y.argument;
|
|
697
694
|
}
|
|
698
695
|
function bt(e) {
|
|
699
|
-
return e.type ===
|
|
696
|
+
return e.type === y.number;
|
|
700
697
|
}
|
|
701
698
|
function gt(e) {
|
|
702
|
-
return e.type ===
|
|
703
|
-
}
|
|
704
|
-
function Et(e) {
|
|
705
|
-
return e.type === g.select;
|
|
699
|
+
return e.type === y.date;
|
|
706
700
|
}
|
|
707
701
|
function yt(e) {
|
|
708
|
-
return e.type ===
|
|
702
|
+
return e.type === y.time;
|
|
709
703
|
}
|
|
710
|
-
function
|
|
711
|
-
return e.type ===
|
|
704
|
+
function Et(e) {
|
|
705
|
+
return e.type === y.select;
|
|
712
706
|
}
|
|
713
707
|
function xt(e) {
|
|
714
|
-
return e.type ===
|
|
708
|
+
return e.type === y.plural;
|
|
709
|
+
}
|
|
710
|
+
function Ir(e) {
|
|
711
|
+
return e.type === y.pound;
|
|
715
712
|
}
|
|
716
713
|
function _t(e) {
|
|
717
|
-
return
|
|
714
|
+
return e.type === y.tag;
|
|
715
|
+
}
|
|
716
|
+
function vt(e) {
|
|
717
|
+
return !!(e && typeof e == "object" && e.type === F.number);
|
|
718
718
|
}
|
|
719
|
-
function
|
|
720
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
719
|
+
function we(e) {
|
|
720
|
+
return !!(e && typeof e == "object" && e.type === F.dateTime);
|
|
721
721
|
}
|
|
722
|
-
var
|
|
723
|
-
function
|
|
722
|
+
var Ht = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Lr = /(?:[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;
|
|
723
|
+
function $r(e) {
|
|
724
724
|
var t = {};
|
|
725
|
-
return e.replace(
|
|
725
|
+
return e.replace(Lr, function(r) {
|
|
726
726
|
var n = r.length;
|
|
727
727
|
switch (r[0]) {
|
|
728
728
|
case "G":
|
|
@@ -821,11 +821,11 @@ var E = function() {
|
|
|
821
821
|
return t;
|
|
822
822
|
}, E.apply(this, arguments);
|
|
823
823
|
};
|
|
824
|
-
var
|
|
824
|
+
var Cr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
825
825
|
function Mr(e) {
|
|
826
826
|
if (e.length === 0)
|
|
827
827
|
throw new Error("Number skeleton cannot be empty");
|
|
828
|
-
for (var t = e.split(
|
|
828
|
+
for (var t = e.split(Cr).filter(function(c) {
|
|
829
829
|
return c.length > 0;
|
|
830
830
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
831
831
|
var s = i[n], u = s.split("/");
|
|
@@ -840,13 +840,13 @@ function Mr(e) {
|
|
|
840
840
|
}
|
|
841
841
|
return r;
|
|
842
842
|
}
|
|
843
|
-
function
|
|
843
|
+
function Rr(e) {
|
|
844
844
|
return e.replace(/^(.*?)-/, "");
|
|
845
845
|
}
|
|
846
|
-
var
|
|
847
|
-
function
|
|
846
|
+
var Xe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Tt = /^(@+)?(\+|#+)?[rs]?$/g, Ur = /(\*)(0+)|(#+)(0+)|(0+)/g, St = /^(0+)$/;
|
|
847
|
+
function We(e) {
|
|
848
848
|
var t = {};
|
|
849
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
849
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Tt, function(r, n, i) {
|
|
850
850
|
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)), "";
|
|
851
851
|
}), t;
|
|
852
852
|
}
|
|
@@ -890,7 +890,7 @@ function Pt(e) {
|
|
|
890
890
|
};
|
|
891
891
|
}
|
|
892
892
|
}
|
|
893
|
-
function
|
|
893
|
+
function Dr(e) {
|
|
894
894
|
var t;
|
|
895
895
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
896
896
|
notation: "engineering"
|
|
@@ -898,17 +898,17 @@ function Ur(e) {
|
|
|
898
898
|
notation: "scientific"
|
|
899
899
|
}, e = e.slice(1)), t) {
|
|
900
900
|
var r = e.slice(0, 2);
|
|
901
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
901
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !St.test(e))
|
|
902
902
|
throw new Error("Malformed concise eng/scientific notation");
|
|
903
903
|
t.minimumIntegerDigits = e.length;
|
|
904
904
|
}
|
|
905
905
|
return t;
|
|
906
906
|
}
|
|
907
|
-
function
|
|
907
|
+
function Ze(e) {
|
|
908
908
|
var t = {}, r = Pt(e);
|
|
909
909
|
return r || t;
|
|
910
910
|
}
|
|
911
|
-
function
|
|
911
|
+
function Gr(e) {
|
|
912
912
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
913
913
|
var i = n[r];
|
|
914
914
|
switch (i.stem) {
|
|
@@ -932,7 +932,7 @@ function Dr(e) {
|
|
|
932
932
|
continue;
|
|
933
933
|
case "measure-unit":
|
|
934
934
|
case "unit":
|
|
935
|
-
t.style = "unit", t.unit =
|
|
935
|
+
t.style = "unit", t.unit = Rr(i.options[0]);
|
|
936
936
|
continue;
|
|
937
937
|
case "compact-short":
|
|
938
938
|
case "K":
|
|
@@ -944,12 +944,12 @@ function Dr(e) {
|
|
|
944
944
|
continue;
|
|
945
945
|
case "scientific":
|
|
946
946
|
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, a) {
|
|
947
|
-
return E(E({}, l),
|
|
947
|
+
return E(E({}, l), Ze(a));
|
|
948
948
|
}, {}));
|
|
949
949
|
continue;
|
|
950
950
|
case "engineering":
|
|
951
951
|
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, a) {
|
|
952
|
-
return E(E({}, l),
|
|
952
|
+
return E(E({}, l), Ze(a));
|
|
953
953
|
}, {}));
|
|
954
954
|
continue;
|
|
955
955
|
case "notation-simple":
|
|
@@ -994,45 +994,45 @@ function Dr(e) {
|
|
|
994
994
|
case "integer-width":
|
|
995
995
|
if (i.options.length > 1)
|
|
996
996
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
997
|
-
i.options[0].replace(
|
|
997
|
+
i.options[0].replace(Ur, function(l, a, h, f, c, p) {
|
|
998
998
|
if (a)
|
|
999
999
|
t.minimumIntegerDigits = h.length;
|
|
1000
1000
|
else {
|
|
1001
1001
|
if (f && c)
|
|
1002
1002
|
throw new Error("We currently do not support maximum integer digits");
|
|
1003
|
-
if (
|
|
1003
|
+
if (p)
|
|
1004
1004
|
throw new Error("We currently do not support exact integer digits");
|
|
1005
1005
|
}
|
|
1006
1006
|
return "";
|
|
1007
1007
|
});
|
|
1008
1008
|
continue;
|
|
1009
1009
|
}
|
|
1010
|
-
if (
|
|
1010
|
+
if (St.test(i.stem)) {
|
|
1011
1011
|
t.minimumIntegerDigits = i.stem.length;
|
|
1012
1012
|
continue;
|
|
1013
1013
|
}
|
|
1014
|
-
if (
|
|
1014
|
+
if (Xe.test(i.stem)) {
|
|
1015
1015
|
if (i.options.length > 1)
|
|
1016
1016
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1017
|
-
i.stem.replace(
|
|
1018
|
-
return h === "*" ? t.minimumFractionDigits = a.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c &&
|
|
1017
|
+
i.stem.replace(Xe, function(l, a, h, f, c, p) {
|
|
1018
|
+
return h === "*" ? t.minimumFractionDigits = a.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
|
|
1019
1019
|
});
|
|
1020
1020
|
var s = i.options[0];
|
|
1021
|
-
s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t),
|
|
1021
|
+
s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), We(s)));
|
|
1022
1022
|
continue;
|
|
1023
1023
|
}
|
|
1024
|
-
if (
|
|
1025
|
-
t = E(E({}, t),
|
|
1024
|
+
if (Tt.test(i.stem)) {
|
|
1025
|
+
t = E(E({}, t), We(i.stem));
|
|
1026
1026
|
continue;
|
|
1027
1027
|
}
|
|
1028
1028
|
var u = Pt(i.stem);
|
|
1029
1029
|
u && (t = E(E({}, t), u));
|
|
1030
|
-
var o =
|
|
1030
|
+
var o = Dr(i.stem);
|
|
1031
1031
|
o && (t = E(E({}, t), o));
|
|
1032
1032
|
}
|
|
1033
1033
|
return t;
|
|
1034
1034
|
}
|
|
1035
|
-
var
|
|
1035
|
+
var se = {
|
|
1036
1036
|
"001": [
|
|
1037
1037
|
"H",
|
|
1038
1038
|
"h"
|
|
@@ -2447,13 +2447,13 @@ var ie = {
|
|
|
2447
2447
|
"h"
|
|
2448
2448
|
]
|
|
2449
2449
|
};
|
|
2450
|
-
function
|
|
2450
|
+
function Fr(e, t) {
|
|
2451
2451
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2452
2452
|
var i = e.charAt(n);
|
|
2453
2453
|
if (i === "j") {
|
|
2454
2454
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2455
2455
|
s++, n++;
|
|
2456
|
-
var u = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", a =
|
|
2456
|
+
var u = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", a = zr(t);
|
|
2457
2457
|
for ((a == "H" || a == "k") && (o = 0); o-- > 0; )
|
|
2458
2458
|
r += l;
|
|
2459
2459
|
for (; u-- > 0; )
|
|
@@ -2463,7 +2463,7 @@ function Gr(e, t) {
|
|
|
2463
2463
|
}
|
|
2464
2464
|
return r;
|
|
2465
2465
|
}
|
|
2466
|
-
function
|
|
2466
|
+
function zr(e) {
|
|
2467
2467
|
var t = e.hourCycle;
|
|
2468
2468
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2469
2469
|
e.hourCycles && // @ts-ignore
|
|
@@ -2482,23 +2482,23 @@ function Fr(e) {
|
|
|
2482
2482
|
}
|
|
2483
2483
|
var r = e.language, n;
|
|
2484
2484
|
r !== "root" && (n = e.maximize().region);
|
|
2485
|
-
var i =
|
|
2485
|
+
var i = se[n || ""] || se[r || ""] || se["".concat(r, "-001")] || se["001"];
|
|
2486
2486
|
return i[0];
|
|
2487
2487
|
}
|
|
2488
|
-
var
|
|
2488
|
+
var ve, jr = new RegExp("^".concat(Ht.source, "*")), kr = new RegExp("".concat(Ht.source, "*$"));
|
|
2489
2489
|
function b(e, t) {
|
|
2490
2490
|
return { start: e, end: t };
|
|
2491
2491
|
}
|
|
2492
|
-
var
|
|
2492
|
+
var Vr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Xr = !!String.fromCodePoint, Wr = !!Object.fromEntries, Zr = !!String.prototype.codePointAt, Qr = !!String.prototype.trimStart, Jr = !!String.prototype.trimEnd, qr = !!Number.isSafeInteger, Yr = qr ? Number.isSafeInteger : function(e) {
|
|
2493
2493
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2494
2494
|
}, Ne = !0;
|
|
2495
2495
|
try {
|
|
2496
|
-
var
|
|
2497
|
-
Ne = ((
|
|
2496
|
+
var Kr = At("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2497
|
+
Ne = ((ve = Kr.exec("a")) === null || ve === void 0 ? void 0 : ve[0]) === "a";
|
|
2498
2498
|
} catch {
|
|
2499
2499
|
Ne = !1;
|
|
2500
2500
|
}
|
|
2501
|
-
var
|
|
2501
|
+
var Qe = Vr ? (
|
|
2502
2502
|
// Native
|
|
2503
2503
|
function(t, r, n) {
|
|
2504
2504
|
return t.startsWith(r, n);
|
|
@@ -2508,7 +2508,7 @@ var Ze = kr ? (
|
|
|
2508
2508
|
function(t, r, n) {
|
|
2509
2509
|
return t.slice(n, n + r.length) === r;
|
|
2510
2510
|
}
|
|
2511
|
-
),
|
|
2511
|
+
), Oe = Xr ? String.fromCodePoint : (
|
|
2512
2512
|
// IE11
|
|
2513
2513
|
function() {
|
|
2514
2514
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2520,9 +2520,9 @@ var Ze = kr ? (
|
|
|
2520
2520
|
}
|
|
2521
2521
|
return n;
|
|
2522
2522
|
}
|
|
2523
|
-
),
|
|
2523
|
+
), Je = (
|
|
2524
2524
|
// native
|
|
2525
|
-
|
|
2525
|
+
Wr ? Object.fromEntries : (
|
|
2526
2526
|
// Ponyfill
|
|
2527
2527
|
function(t) {
|
|
2528
2528
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2532,7 +2532,7 @@ var Ze = kr ? (
|
|
|
2532
2532
|
return r;
|
|
2533
2533
|
}
|
|
2534
2534
|
)
|
|
2535
|
-
),
|
|
2535
|
+
), Bt = Zr ? (
|
|
2536
2536
|
// Native
|
|
2537
2537
|
function(t, r) {
|
|
2538
2538
|
return t.codePointAt(r);
|
|
@@ -2546,7 +2546,7 @@ var Ze = kr ? (
|
|
|
2546
2546
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2547
2547
|
}
|
|
2548
2548
|
}
|
|
2549
|
-
),
|
|
2549
|
+
), en = Qr ? (
|
|
2550
2550
|
// Native
|
|
2551
2551
|
function(t) {
|
|
2552
2552
|
return t.trimStart();
|
|
@@ -2554,9 +2554,9 @@ var Ze = kr ? (
|
|
|
2554
2554
|
) : (
|
|
2555
2555
|
// Ponyfill
|
|
2556
2556
|
function(t) {
|
|
2557
|
-
return t.replace(
|
|
2557
|
+
return t.replace(jr, "");
|
|
2558
2558
|
}
|
|
2559
|
-
),
|
|
2559
|
+
), tn = Jr ? (
|
|
2560
2560
|
// Native
|
|
2561
2561
|
function(t) {
|
|
2562
2562
|
return t.trimEnd();
|
|
@@ -2564,32 +2564,32 @@ var Ze = kr ? (
|
|
|
2564
2564
|
) : (
|
|
2565
2565
|
// Ponyfill
|
|
2566
2566
|
function(t) {
|
|
2567
|
-
return t.replace(
|
|
2567
|
+
return t.replace(kr, "");
|
|
2568
2568
|
}
|
|
2569
2569
|
);
|
|
2570
|
-
function
|
|
2570
|
+
function At(e, t) {
|
|
2571
2571
|
return new RegExp(e, t);
|
|
2572
2572
|
}
|
|
2573
|
-
var
|
|
2573
|
+
var Ie;
|
|
2574
2574
|
if (Ne) {
|
|
2575
|
-
var
|
|
2576
|
-
|
|
2575
|
+
var qe = At("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2576
|
+
Ie = function(t, r) {
|
|
2577
2577
|
var n;
|
|
2578
|
-
|
|
2579
|
-
var i =
|
|
2578
|
+
qe.lastIndex = r;
|
|
2579
|
+
var i = qe.exec(t);
|
|
2580
2580
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2581
2581
|
};
|
|
2582
2582
|
} else
|
|
2583
|
-
|
|
2583
|
+
Ie = function(t, r) {
|
|
2584
2584
|
for (var n = []; ; ) {
|
|
2585
|
-
var i =
|
|
2586
|
-
if (i === void 0 ||
|
|
2585
|
+
var i = Bt(t, r);
|
|
2586
|
+
if (i === void 0 || wt(i) || on(i))
|
|
2587
2587
|
break;
|
|
2588
2588
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2589
2589
|
}
|
|
2590
|
-
return
|
|
2590
|
+
return Oe.apply(void 0, n);
|
|
2591
2591
|
};
|
|
2592
|
-
var
|
|
2592
|
+
var rn = (
|
|
2593
2593
|
/** @class */
|
|
2594
2594
|
function() {
|
|
2595
2595
|
function e(t, r) {
|
|
@@ -2613,14 +2613,14 @@ var tn = (
|
|
|
2613
2613
|
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
|
2614
2614
|
var o = this.clonePosition();
|
|
2615
2615
|
this.bump(), i.push({
|
|
2616
|
-
type:
|
|
2616
|
+
type: y.pound,
|
|
2617
2617
|
location: b(o, this.clonePosition())
|
|
2618
2618
|
});
|
|
2619
2619
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2620
2620
|
if (n)
|
|
2621
2621
|
break;
|
|
2622
2622
|
return this.error(d.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
|
|
2623
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
2623
|
+
} else if (s === 60 && !this.ignoreTag && Le(this.peek() || 0)) {
|
|
2624
2624
|
var u = this.parseTag(t, r);
|
|
2625
2625
|
if (u.err)
|
|
2626
2626
|
return u;
|
|
@@ -2641,7 +2641,7 @@ var tn = (
|
|
|
2641
2641
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2642
2642
|
return {
|
|
2643
2643
|
val: {
|
|
2644
|
-
type:
|
|
2644
|
+
type: y.literal,
|
|
2645
2645
|
value: "<".concat(i, "/>"),
|
|
2646
2646
|
location: b(n, this.clonePosition())
|
|
2647
2647
|
},
|
|
@@ -2653,12 +2653,12 @@ var tn = (
|
|
|
2653
2653
|
return s;
|
|
2654
2654
|
var u = s.val, o = this.clonePosition();
|
|
2655
2655
|
if (this.bumpIf("</")) {
|
|
2656
|
-
if (this.isEOF() || !
|
|
2656
|
+
if (this.isEOF() || !Le(this.char()))
|
|
2657
2657
|
return this.error(d.INVALID_TAG, b(o, this.clonePosition()));
|
|
2658
2658
|
var l = this.clonePosition(), a = this.parseTagName();
|
|
2659
2659
|
return i !== a ? this.error(d.UNMATCHED_CLOSING_TAG, b(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2660
2660
|
val: {
|
|
2661
|
-
type:
|
|
2661
|
+
type: y.tag,
|
|
2662
2662
|
value: i,
|
|
2663
2663
|
children: u,
|
|
2664
2664
|
location: b(n, this.clonePosition())
|
|
@@ -2671,7 +2671,7 @@ var tn = (
|
|
|
2671
2671
|
return this.error(d.INVALID_TAG, b(n, this.clonePosition()));
|
|
2672
2672
|
}, e.prototype.parseTagName = function() {
|
|
2673
2673
|
var t = this.offset();
|
|
2674
|
-
for (this.bump(); !this.isEOF() &&
|
|
2674
|
+
for (this.bump(); !this.isEOF() && sn(this.char()); )
|
|
2675
2675
|
this.bump();
|
|
2676
2676
|
return this.message.slice(t, this.offset());
|
|
2677
2677
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2695,12 +2695,12 @@ var tn = (
|
|
|
2695
2695
|
}
|
|
2696
2696
|
var l = b(n, this.clonePosition());
|
|
2697
2697
|
return {
|
|
2698
|
-
val: { type:
|
|
2698
|
+
val: { type: y.literal, value: i, location: l },
|
|
2699
2699
|
err: null
|
|
2700
2700
|
};
|
|
2701
2701
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2702
2702
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2703
|
-
!
|
|
2703
|
+
!nn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2704
2704
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2705
2705
|
if (this.isEOF() || this.char() !== 39)
|
|
2706
2706
|
return null;
|
|
@@ -2734,12 +2734,12 @@ var tn = (
|
|
|
2734
2734
|
r.push(n);
|
|
2735
2735
|
this.bump();
|
|
2736
2736
|
}
|
|
2737
|
-
return
|
|
2737
|
+
return Oe.apply(void 0, r);
|
|
2738
2738
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
2739
2739
|
if (this.isEOF())
|
|
2740
2740
|
return null;
|
|
2741
2741
|
var n = this.char();
|
|
2742
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
2742
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Oe(n));
|
|
2743
2743
|
}, e.prototype.parseArgument = function(t, r) {
|
|
2744
2744
|
var n = this.clonePosition();
|
|
2745
2745
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -2755,7 +2755,7 @@ var tn = (
|
|
|
2755
2755
|
case 125:
|
|
2756
2756
|
return this.bump(), {
|
|
2757
2757
|
val: {
|
|
2758
|
-
type:
|
|
2758
|
+
type: y.argument,
|
|
2759
2759
|
// value does not include the opening and closing braces.
|
|
2760
2760
|
value: i,
|
|
2761
2761
|
location: b(n, this.clonePosition())
|
|
@@ -2768,7 +2768,7 @@ var tn = (
|
|
|
2768
2768
|
return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
|
|
2769
2769
|
}
|
|
2770
2770
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2771
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
2771
|
+
var t = this.clonePosition(), r = this.offset(), n = Ie(this.message, r), i = r + n.length;
|
|
2772
2772
|
this.bumpTo(i);
|
|
2773
2773
|
var s = this.clonePosition(), u = b(t, s);
|
|
2774
2774
|
return { value: n, location: u };
|
|
@@ -2787,46 +2787,46 @@ var tn = (
|
|
|
2787
2787
|
var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
2788
2788
|
if (f.err)
|
|
2789
2789
|
return f;
|
|
2790
|
-
var c =
|
|
2790
|
+
var c = tn(f.val);
|
|
2791
2791
|
if (c.length === 0)
|
|
2792
2792
|
return this.error(d.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
|
|
2793
|
-
var
|
|
2794
|
-
a = { style: c, styleLocation:
|
|
2793
|
+
var p = b(h, this.clonePosition());
|
|
2794
|
+
a = { style: c, styleLocation: p };
|
|
2795
2795
|
}
|
|
2796
|
-
var
|
|
2797
|
-
if (
|
|
2798
|
-
return
|
|
2799
|
-
var
|
|
2800
|
-
if (a &&
|
|
2801
|
-
var
|
|
2796
|
+
var g = this.tryParseArgumentClose(i);
|
|
2797
|
+
if (g.err)
|
|
2798
|
+
return g;
|
|
2799
|
+
var m = b(i, this.clonePosition());
|
|
2800
|
+
if (a && Qe(a?.style, "::", 0)) {
|
|
2801
|
+
var _ = en(a.style.slice(2));
|
|
2802
2802
|
if (o === "number") {
|
|
2803
|
-
var f = this.parseNumberSkeletonFromString(
|
|
2803
|
+
var f = this.parseNumberSkeletonFromString(_, a.styleLocation);
|
|
2804
2804
|
return f.err ? f : {
|
|
2805
|
-
val: { type:
|
|
2805
|
+
val: { type: y.number, value: n, location: m, style: f.val },
|
|
2806
2806
|
err: null
|
|
2807
2807
|
};
|
|
2808
2808
|
} else {
|
|
2809
|
-
if (
|
|
2810
|
-
return this.error(d.EXPECT_DATE_TIME_SKELETON,
|
|
2811
|
-
var
|
|
2812
|
-
this.locale && (
|
|
2809
|
+
if (_.length === 0)
|
|
2810
|
+
return this.error(d.EXPECT_DATE_TIME_SKELETON, m);
|
|
2811
|
+
var A = _;
|
|
2812
|
+
this.locale && (A = Fr(_, this.locale));
|
|
2813
2813
|
var c = {
|
|
2814
|
-
type:
|
|
2815
|
-
pattern:
|
|
2814
|
+
type: F.dateTime,
|
|
2815
|
+
pattern: A,
|
|
2816
2816
|
location: a.styleLocation,
|
|
2817
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2818
|
-
},
|
|
2817
|
+
parsedOptions: this.shouldParseSkeletons ? $r(A) : {}
|
|
2818
|
+
}, $ = o === "date" ? y.date : y.time;
|
|
2819
2819
|
return {
|
|
2820
|
-
val: { type:
|
|
2820
|
+
val: { type: $, value: n, location: m, style: c },
|
|
2821
2821
|
err: null
|
|
2822
2822
|
};
|
|
2823
2823
|
}
|
|
2824
2824
|
}
|
|
2825
2825
|
return {
|
|
2826
2826
|
val: {
|
|
2827
|
-
type: o === "number" ?
|
|
2827
|
+
type: o === "number" ? y.number : o === "date" ? y.date : y.time,
|
|
2828
2828
|
value: n,
|
|
2829
|
-
location:
|
|
2829
|
+
location: m,
|
|
2830
2830
|
style: (s = a?.style) !== null && s !== void 0 ? s : null
|
|
2831
2831
|
},
|
|
2832
2832
|
err: null
|
|
@@ -2835,43 +2835,43 @@ var tn = (
|
|
|
2835
2835
|
case "plural":
|
|
2836
2836
|
case "selectordinal":
|
|
2837
2837
|
case "select": {
|
|
2838
|
-
var
|
|
2838
|
+
var P = this.clonePosition();
|
|
2839
2839
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2840
|
-
return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, b(
|
|
2840
|
+
return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, b(P, le({}, P)));
|
|
2841
2841
|
this.bumpSpace();
|
|
2842
|
-
var
|
|
2843
|
-
if (o !== "select" &&
|
|
2842
|
+
var W = this.parseIdentifierIfPossible(), N = 0;
|
|
2843
|
+
if (o !== "select" && W.value === "offset") {
|
|
2844
2844
|
if (!this.bumpIf(":"))
|
|
2845
2845
|
return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
|
|
2846
2846
|
this.bumpSpace();
|
|
2847
2847
|
var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2848
2848
|
if (f.err)
|
|
2849
2849
|
return f;
|
|
2850
|
-
this.bumpSpace(),
|
|
2850
|
+
this.bumpSpace(), W = this.parseIdentifierIfPossible(), N = f.val;
|
|
2851
2851
|
}
|
|
2852
|
-
var
|
|
2853
|
-
if (
|
|
2854
|
-
return
|
|
2855
|
-
var
|
|
2856
|
-
if (
|
|
2857
|
-
return
|
|
2858
|
-
var
|
|
2852
|
+
var ie = this.tryParsePluralOrSelectOptions(t, o, r, W);
|
|
2853
|
+
if (ie.err)
|
|
2854
|
+
return ie;
|
|
2855
|
+
var g = this.tryParseArgumentClose(i);
|
|
2856
|
+
if (g.err)
|
|
2857
|
+
return g;
|
|
2858
|
+
var Ge = b(i, this.clonePosition());
|
|
2859
2859
|
return o === "select" ? {
|
|
2860
2860
|
val: {
|
|
2861
|
-
type:
|
|
2861
|
+
type: y.select,
|
|
2862
2862
|
value: n,
|
|
2863
|
-
options:
|
|
2864
|
-
location:
|
|
2863
|
+
options: Je(ie.val),
|
|
2864
|
+
location: Ge
|
|
2865
2865
|
},
|
|
2866
2866
|
err: null
|
|
2867
2867
|
} : {
|
|
2868
2868
|
val: {
|
|
2869
|
-
type:
|
|
2869
|
+
type: y.plural,
|
|
2870
2870
|
value: n,
|
|
2871
|
-
options:
|
|
2871
|
+
options: Je(ie.val),
|
|
2872
2872
|
offset: N,
|
|
2873
2873
|
pluralType: o === "plural" ? "cardinal" : "ordinal",
|
|
2874
|
-
location:
|
|
2874
|
+
location: Ge
|
|
2875
2875
|
},
|
|
2876
2876
|
err: null
|
|
2877
2877
|
};
|
|
@@ -2925,10 +2925,10 @@ var tn = (
|
|
|
2925
2925
|
}
|
|
2926
2926
|
return {
|
|
2927
2927
|
val: {
|
|
2928
|
-
type:
|
|
2928
|
+
type: F.number,
|
|
2929
2929
|
tokens: n,
|
|
2930
2930
|
location: r,
|
|
2931
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2931
|
+
parsedOptions: this.shouldParseSkeletons ? Gr(n) : {}
|
|
2932
2932
|
},
|
|
2933
2933
|
err: null
|
|
2934
2934
|
};
|
|
@@ -2947,20 +2947,20 @@ var tn = (
|
|
|
2947
2947
|
if (l.has(a))
|
|
2948
2948
|
return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
2949
2949
|
a === "other" && (u = !0), this.bumpSpace();
|
|
2950
|
-
var
|
|
2950
|
+
var p = this.clonePosition();
|
|
2951
2951
|
if (!this.bumpIf("{"))
|
|
2952
2952
|
return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
|
|
2953
|
-
var
|
|
2954
|
-
if (
|
|
2955
|
-
return
|
|
2956
|
-
var
|
|
2957
|
-
if (
|
|
2958
|
-
return
|
|
2953
|
+
var g = this.parseMessage(t + 1, r, n);
|
|
2954
|
+
if (g.err)
|
|
2955
|
+
return g;
|
|
2956
|
+
var m = this.tryParseArgumentClose(p);
|
|
2957
|
+
if (m.err)
|
|
2958
|
+
return m;
|
|
2959
2959
|
o.push([
|
|
2960
2960
|
a,
|
|
2961
2961
|
{
|
|
2962
|
-
value:
|
|
2963
|
-
location: b(
|
|
2962
|
+
value: g.val,
|
|
2963
|
+
location: b(p, this.clonePosition())
|
|
2964
2964
|
}
|
|
2965
2965
|
]), l.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, h = s.location;
|
|
2966
2966
|
}
|
|
@@ -2976,7 +2976,7 @@ var tn = (
|
|
|
2976
2976
|
break;
|
|
2977
2977
|
}
|
|
2978
2978
|
var l = b(i, this.clonePosition());
|
|
2979
|
-
return s ? (u *= n,
|
|
2979
|
+
return s ? (u *= n, Yr(u) ? { val: u, err: null } : this.error(r, l)) : this.error(t, l);
|
|
2980
2980
|
}, e.prototype.offset = function() {
|
|
2981
2981
|
return this.position.offset;
|
|
2982
2982
|
}, e.prototype.isEOF = function() {
|
|
@@ -2991,7 +2991,7 @@ var tn = (
|
|
|
2991
2991
|
var t = this.position.offset;
|
|
2992
2992
|
if (t >= this.message.length)
|
|
2993
2993
|
throw Error("out of bound");
|
|
2994
|
-
var r =
|
|
2994
|
+
var r = Bt(this.message, t);
|
|
2995
2995
|
if (r === void 0)
|
|
2996
2996
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
2997
2997
|
return r;
|
|
@@ -3010,7 +3010,7 @@ var tn = (
|
|
|
3010
3010
|
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);
|
|
3011
3011
|
}
|
|
3012
3012
|
}, e.prototype.bumpIf = function(t) {
|
|
3013
|
-
if (
|
|
3013
|
+
if (Qe(this.message, t, this.offset())) {
|
|
3014
3014
|
for (var r = 0; r < t.length; r++)
|
|
3015
3015
|
this.bump();
|
|
3016
3016
|
return !0;
|
|
@@ -3032,7 +3032,7 @@ var tn = (
|
|
|
3032
3032
|
break;
|
|
3033
3033
|
}
|
|
3034
3034
|
}, e.prototype.bumpSpace = function() {
|
|
3035
|
-
for (; !this.isEOF() &&
|
|
3035
|
+
for (; !this.isEOF() && wt(this.char()); )
|
|
3036
3036
|
this.bump();
|
|
3037
3037
|
}, e.prototype.peek = function() {
|
|
3038
3038
|
if (this.isEOF())
|
|
@@ -3042,47 +3042,47 @@ var tn = (
|
|
|
3042
3042
|
}, e;
|
|
3043
3043
|
}()
|
|
3044
3044
|
);
|
|
3045
|
-
function
|
|
3045
|
+
function Le(e) {
|
|
3046
3046
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3047
3047
|
}
|
|
3048
|
-
function rn(e) {
|
|
3049
|
-
return Ie(e) || e === 47;
|
|
3050
|
-
}
|
|
3051
3048
|
function nn(e) {
|
|
3049
|
+
return Le(e) || e === 47;
|
|
3050
|
+
}
|
|
3051
|
+
function sn(e) {
|
|
3052
3052
|
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;
|
|
3053
3053
|
}
|
|
3054
|
-
function
|
|
3054
|
+
function wt(e) {
|
|
3055
3055
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3056
3056
|
}
|
|
3057
|
-
function
|
|
3057
|
+
function on(e) {
|
|
3058
3058
|
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;
|
|
3059
3059
|
}
|
|
3060
|
-
function
|
|
3060
|
+
function $e(e) {
|
|
3061
3061
|
e.forEach(function(t) {
|
|
3062
|
-
if (delete t.location, Et(t) ||
|
|
3062
|
+
if (delete t.location, Et(t) || xt(t))
|
|
3063
3063
|
for (var r in t.options)
|
|
3064
|
-
delete t.options[r].location,
|
|
3064
|
+
delete t.options[r].location, $e(t.options[r].value);
|
|
3065
3065
|
else
|
|
3066
|
-
|
|
3066
|
+
bt(t) && vt(t.style) || (gt(t) || yt(t)) && we(t.style) ? delete t.style.location : _t(t) && $e(t.children);
|
|
3067
3067
|
});
|
|
3068
3068
|
}
|
|
3069
|
-
function
|
|
3070
|
-
t === void 0 && (t = {}), t =
|
|
3071
|
-
var r = new
|
|
3069
|
+
function an(e, t) {
|
|
3070
|
+
t === void 0 && (t = {}), t = le({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3071
|
+
var r = new rn(e, t).parse();
|
|
3072
3072
|
if (r.err) {
|
|
3073
3073
|
var n = SyntaxError(d[r.err.kind]);
|
|
3074
3074
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3075
3075
|
}
|
|
3076
|
-
return t?.captureLocation ||
|
|
3076
|
+
return t?.captureLocation || $e(r.val), r.val;
|
|
3077
3077
|
}
|
|
3078
|
-
var
|
|
3078
|
+
var z;
|
|
3079
3079
|
(function(e) {
|
|
3080
3080
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3081
|
-
})(
|
|
3082
|
-
var
|
|
3081
|
+
})(z || (z = {}));
|
|
3082
|
+
var de = (
|
|
3083
3083
|
/** @class */
|
|
3084
3084
|
function(e) {
|
|
3085
|
-
|
|
3085
|
+
me(t, e);
|
|
3086
3086
|
function t(r, n, i) {
|
|
3087
3087
|
var s = e.call(this, r) || this;
|
|
3088
3088
|
return s.code = n, s.originalMessage = i, s;
|
|
@@ -3091,155 +3091,155 @@ var me = (
|
|
|
3091
3091
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3092
3092
|
}, t;
|
|
3093
3093
|
}(Error)
|
|
3094
|
-
),
|
|
3094
|
+
), Ye = (
|
|
3095
3095
|
/** @class */
|
|
3096
3096
|
function(e) {
|
|
3097
|
-
|
|
3097
|
+
me(t, e);
|
|
3098
3098
|
function t(r, n, i, s) {
|
|
3099
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3099
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), z.INVALID_VALUE, s) || this;
|
|
3100
3100
|
}
|
|
3101
3101
|
return t;
|
|
3102
|
-
}(
|
|
3103
|
-
),
|
|
3102
|
+
}(de)
|
|
3103
|
+
), un = (
|
|
3104
3104
|
/** @class */
|
|
3105
3105
|
function(e) {
|
|
3106
|
-
|
|
3106
|
+
me(t, e);
|
|
3107
3107
|
function t(r, n, i) {
|
|
3108
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3108
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), z.INVALID_VALUE, i) || this;
|
|
3109
3109
|
}
|
|
3110
3110
|
return t;
|
|
3111
|
-
}(
|
|
3112
|
-
),
|
|
3111
|
+
}(de)
|
|
3112
|
+
), hn = (
|
|
3113
3113
|
/** @class */
|
|
3114
3114
|
function(e) {
|
|
3115
|
-
|
|
3115
|
+
me(t, e);
|
|
3116
3116
|
function t(r, n) {
|
|
3117
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3117
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), z.MISSING_VALUE, n) || this;
|
|
3118
3118
|
}
|
|
3119
3119
|
return t;
|
|
3120
|
-
}(
|
|
3121
|
-
),
|
|
3120
|
+
}(de)
|
|
3121
|
+
), H;
|
|
3122
3122
|
(function(e) {
|
|
3123
3123
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3124
|
-
})(
|
|
3125
|
-
function
|
|
3124
|
+
})(H || (H = {}));
|
|
3125
|
+
function ln(e) {
|
|
3126
3126
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3127
3127
|
var n = t[t.length - 1];
|
|
3128
|
-
return !n || n.type !==
|
|
3128
|
+
return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
|
|
3129
3129
|
}, []);
|
|
3130
3130
|
}
|
|
3131
|
-
function
|
|
3131
|
+
function fn(e) {
|
|
3132
3132
|
return typeof e == "function";
|
|
3133
3133
|
}
|
|
3134
|
-
function
|
|
3135
|
-
if (e.length === 1 &&
|
|
3134
|
+
function ae(e, t, r, n, i, s, u) {
|
|
3135
|
+
if (e.length === 1 && Ve(e[0]))
|
|
3136
3136
|
return [
|
|
3137
3137
|
{
|
|
3138
|
-
type:
|
|
3138
|
+
type: H.literal,
|
|
3139
3139
|
value: e[0].value
|
|
3140
3140
|
}
|
|
3141
3141
|
];
|
|
3142
3142
|
for (var o = [], l = 0, a = e; l < a.length; l++) {
|
|
3143
3143
|
var h = a[l];
|
|
3144
|
-
if (
|
|
3144
|
+
if (Ve(h)) {
|
|
3145
3145
|
o.push({
|
|
3146
|
-
type:
|
|
3146
|
+
type: H.literal,
|
|
3147
3147
|
value: h.value
|
|
3148
3148
|
});
|
|
3149
3149
|
continue;
|
|
3150
3150
|
}
|
|
3151
|
-
if (
|
|
3151
|
+
if (Ir(h)) {
|
|
3152
3152
|
typeof s == "number" && o.push({
|
|
3153
|
-
type:
|
|
3153
|
+
type: H.literal,
|
|
3154
3154
|
value: r.getNumberFormat(t).format(s)
|
|
3155
3155
|
});
|
|
3156
3156
|
continue;
|
|
3157
3157
|
}
|
|
3158
3158
|
var f = h.value;
|
|
3159
3159
|
if (!(i && f in i))
|
|
3160
|
-
throw new
|
|
3160
|
+
throw new hn(f, u);
|
|
3161
3161
|
var c = i[f];
|
|
3162
|
-
if (
|
|
3162
|
+
if (Or(h)) {
|
|
3163
3163
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), o.push({
|
|
3164
|
-
type: typeof c == "string" ?
|
|
3164
|
+
type: typeof c == "string" ? H.literal : H.object,
|
|
3165
3165
|
value: c
|
|
3166
3166
|
});
|
|
3167
3167
|
continue;
|
|
3168
3168
|
}
|
|
3169
|
-
if (
|
|
3170
|
-
var
|
|
3169
|
+
if (gt(h)) {
|
|
3170
|
+
var p = typeof h.style == "string" ? n.date[h.style] : we(h.style) ? h.style.parsedOptions : void 0;
|
|
3171
3171
|
o.push({
|
|
3172
|
-
type:
|
|
3173
|
-
value: r.getDateTimeFormat(t,
|
|
3172
|
+
type: H.literal,
|
|
3173
|
+
value: r.getDateTimeFormat(t, p).format(c)
|
|
3174
3174
|
});
|
|
3175
3175
|
continue;
|
|
3176
3176
|
}
|
|
3177
|
-
if (
|
|
3178
|
-
var
|
|
3177
|
+
if (yt(h)) {
|
|
3178
|
+
var p = typeof h.style == "string" ? n.time[h.style] : we(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3179
3179
|
o.push({
|
|
3180
|
-
type:
|
|
3181
|
-
value: r.getDateTimeFormat(t,
|
|
3180
|
+
type: H.literal,
|
|
3181
|
+
value: r.getDateTimeFormat(t, p).format(c)
|
|
3182
3182
|
});
|
|
3183
3183
|
continue;
|
|
3184
3184
|
}
|
|
3185
|
-
if (
|
|
3186
|
-
var
|
|
3187
|
-
|
|
3188
|
-
type:
|
|
3189
|
-
value: r.getNumberFormat(t,
|
|
3185
|
+
if (bt(h)) {
|
|
3186
|
+
var p = typeof h.style == "string" ? n.number[h.style] : vt(h.style) ? h.style.parsedOptions : void 0;
|
|
3187
|
+
p && p.scale && (c = c * (p.scale || 1)), o.push({
|
|
3188
|
+
type: H.literal,
|
|
3189
|
+
value: r.getNumberFormat(t, p).format(c)
|
|
3190
3190
|
});
|
|
3191
3191
|
continue;
|
|
3192
3192
|
}
|
|
3193
|
-
if (
|
|
3194
|
-
var
|
|
3195
|
-
if (!
|
|
3196
|
-
throw new
|
|
3197
|
-
var
|
|
3193
|
+
if (_t(h)) {
|
|
3194
|
+
var g = h.children, m = h.value, _ = i[m];
|
|
3195
|
+
if (!fn(_))
|
|
3196
|
+
throw new un(m, "function", u);
|
|
3197
|
+
var A = ae(g, t, r, n, i, s), $ = _(A.map(function(N) {
|
|
3198
3198
|
return N.value;
|
|
3199
3199
|
}));
|
|
3200
|
-
Array.isArray(
|
|
3200
|
+
Array.isArray($) || ($ = [$]), o.push.apply(o, $.map(function(N) {
|
|
3201
3201
|
return {
|
|
3202
|
-
type: typeof N == "string" ?
|
|
3202
|
+
type: typeof N == "string" ? H.literal : H.object,
|
|
3203
3203
|
value: N
|
|
3204
3204
|
};
|
|
3205
3205
|
}));
|
|
3206
3206
|
}
|
|
3207
3207
|
if (Et(h)) {
|
|
3208
|
-
var
|
|
3209
|
-
if (!
|
|
3210
|
-
throw new
|
|
3211
|
-
o.push.apply(o,
|
|
3208
|
+
var P = h.options[c] || h.options.other;
|
|
3209
|
+
if (!P)
|
|
3210
|
+
throw new Ye(h.value, c, Object.keys(h.options), u);
|
|
3211
|
+
o.push.apply(o, ae(P.value, t, r, n, i));
|
|
3212
3212
|
continue;
|
|
3213
3213
|
}
|
|
3214
|
-
if (
|
|
3215
|
-
var
|
|
3216
|
-
if (!
|
|
3214
|
+
if (xt(h)) {
|
|
3215
|
+
var P = h.options["=".concat(c)];
|
|
3216
|
+
if (!P) {
|
|
3217
3217
|
if (!Intl.PluralRules)
|
|
3218
|
-
throw new
|
|
3218
|
+
throw new de(`Intl.PluralRules is not available in this environment.
|
|
3219
3219
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3220
|
-
`,
|
|
3221
|
-
var
|
|
3222
|
-
|
|
3220
|
+
`, z.MISSING_INTL_API, u);
|
|
3221
|
+
var W = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
|
|
3222
|
+
P = h.options[W] || h.options.other;
|
|
3223
3223
|
}
|
|
3224
|
-
if (!
|
|
3225
|
-
throw new
|
|
3226
|
-
o.push.apply(o,
|
|
3224
|
+
if (!P)
|
|
3225
|
+
throw new Ye(h.value, c, Object.keys(h.options), u);
|
|
3226
|
+
o.push.apply(o, ae(P.value, t, r, n, i, c - (h.offset || 0)));
|
|
3227
3227
|
continue;
|
|
3228
3228
|
}
|
|
3229
3229
|
}
|
|
3230
|
-
return
|
|
3230
|
+
return ln(o);
|
|
3231
3231
|
}
|
|
3232
|
-
function
|
|
3232
|
+
function cn(e, t) {
|
|
3233
3233
|
return t ? B(B(B({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3234
3234
|
return r[n] = B(B({}, e[n]), t[n] || {}), r;
|
|
3235
3235
|
}, {})) : e;
|
|
3236
3236
|
}
|
|
3237
|
-
function
|
|
3237
|
+
function pn(e, t) {
|
|
3238
3238
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3239
|
-
return r[n] =
|
|
3239
|
+
return r[n] = cn(e[n], t[n]), r;
|
|
3240
3240
|
}, B({}, e)) : e;
|
|
3241
3241
|
}
|
|
3242
|
-
function
|
|
3242
|
+
function He(e) {
|
|
3243
3243
|
return {
|
|
3244
3244
|
create: function() {
|
|
3245
3245
|
return {
|
|
@@ -3253,39 +3253,39 @@ function ve(e) {
|
|
|
3253
3253
|
}
|
|
3254
3254
|
};
|
|
3255
3255
|
}
|
|
3256
|
-
function
|
|
3256
|
+
function mn(e) {
|
|
3257
3257
|
return e === void 0 && (e = {
|
|
3258
3258
|
number: {},
|
|
3259
3259
|
dateTime: {},
|
|
3260
3260
|
pluralRules: {}
|
|
3261
3261
|
}), {
|
|
3262
|
-
getNumberFormat:
|
|
3262
|
+
getNumberFormat: xe(function() {
|
|
3263
3263
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3264
3264
|
r[n] = arguments[n];
|
|
3265
3265
|
return new ((t = Intl.NumberFormat).bind.apply(t, Ee([void 0], r, !1)))();
|
|
3266
3266
|
}, {
|
|
3267
|
-
cache:
|
|
3268
|
-
strategy:
|
|
3267
|
+
cache: He(e.number),
|
|
3268
|
+
strategy: _e.variadic
|
|
3269
3269
|
}),
|
|
3270
|
-
getDateTimeFormat:
|
|
3270
|
+
getDateTimeFormat: xe(function() {
|
|
3271
3271
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3272
3272
|
r[n] = arguments[n];
|
|
3273
3273
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ee([void 0], r, !1)))();
|
|
3274
3274
|
}, {
|
|
3275
|
-
cache:
|
|
3276
|
-
strategy:
|
|
3275
|
+
cache: He(e.dateTime),
|
|
3276
|
+
strategy: _e.variadic
|
|
3277
3277
|
}),
|
|
3278
|
-
getPluralRules:
|
|
3278
|
+
getPluralRules: xe(function() {
|
|
3279
3279
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3280
3280
|
r[n] = arguments[n];
|
|
3281
3281
|
return new ((t = Intl.PluralRules).bind.apply(t, Ee([void 0], r, !1)))();
|
|
3282
3282
|
}, {
|
|
3283
|
-
cache:
|
|
3284
|
-
strategy:
|
|
3283
|
+
cache: He(e.pluralRules),
|
|
3284
|
+
strategy: _e.variadic
|
|
3285
3285
|
})
|
|
3286
3286
|
};
|
|
3287
3287
|
}
|
|
3288
|
-
var
|
|
3288
|
+
var dn = (
|
|
3289
3289
|
/** @class */
|
|
3290
3290
|
function() {
|
|
3291
3291
|
function e(t, r, n, i) {
|
|
@@ -3300,11 +3300,11 @@ var mn = (
|
|
|
3300
3300
|
if (a.length === 1)
|
|
3301
3301
|
return a[0].value;
|
|
3302
3302
|
var h = a.reduce(function(f, c) {
|
|
3303
|
-
return !f.length || c.type !==
|
|
3303
|
+
return !f.length || c.type !== H.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
|
|
3304
3304
|
}, []);
|
|
3305
3305
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3306
3306
|
}, this.formatToParts = function(l) {
|
|
3307
|
-
return
|
|
3307
|
+
return ae(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
|
|
3308
3308
|
}, this.resolvedOptions = function() {
|
|
3309
3309
|
var l;
|
|
3310
3310
|
return {
|
|
@@ -3317,13 +3317,13 @@ var mn = (
|
|
|
3317
3317
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3318
3318
|
var u = i || {};
|
|
3319
3319
|
u.formatters;
|
|
3320
|
-
var o =
|
|
3320
|
+
var o = Hr(u, ["formatters"]);
|
|
3321
3321
|
this.ast = e.__parse(t, B(B({}, o), { locale: this.resolvedLocale }));
|
|
3322
3322
|
} else
|
|
3323
3323
|
this.ast = t;
|
|
3324
3324
|
if (!Array.isArray(this.ast))
|
|
3325
3325
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3326
|
-
this.formats =
|
|
3326
|
+
this.formats = pn(e.formats, n), this.formatters = i && i.formatters || mn(this.formatterCache);
|
|
3327
3327
|
}
|
|
3328
3328
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3329
3329
|
get: function() {
|
|
@@ -3336,7 +3336,7 @@ var mn = (
|
|
|
3336
3336
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3337
3337
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3338
3338
|
}
|
|
3339
|
-
}, e.__parse =
|
|
3339
|
+
}, e.__parse = an, e.formats = {
|
|
3340
3340
|
number: {
|
|
3341
3341
|
integer: {
|
|
3342
3342
|
maximumFractionDigits: 0
|
|
@@ -3397,7 +3397,7 @@ var mn = (
|
|
|
3397
3397
|
}, e;
|
|
3398
3398
|
}()
|
|
3399
3399
|
);
|
|
3400
|
-
function
|
|
3400
|
+
function bn(e, t) {
|
|
3401
3401
|
if (t == null)
|
|
3402
3402
|
return;
|
|
3403
3403
|
if (t in e)
|
|
@@ -3418,92 +3418,92 @@ function dn(e, t) {
|
|
|
3418
3418
|
n = void 0;
|
|
3419
3419
|
return n;
|
|
3420
3420
|
}
|
|
3421
|
-
const
|
|
3421
|
+
const w = {}, gn = (e, t, r) => r && (t in w || (w[t] = {}), e in w[t] || (w[t][e] = r), r), Nt = (e, t) => {
|
|
3422
3422
|
if (t == null)
|
|
3423
3423
|
return;
|
|
3424
|
-
if (t in
|
|
3425
|
-
return
|
|
3426
|
-
const r =
|
|
3424
|
+
if (t in w && e in w[t])
|
|
3425
|
+
return w[t][e];
|
|
3426
|
+
const r = be(t);
|
|
3427
3427
|
for (let n = 0; n < r.length; n++) {
|
|
3428
3428
|
const i = r[n], s = En(i, e);
|
|
3429
3429
|
if (s)
|
|
3430
|
-
return
|
|
3430
|
+
return gn(e, t, s);
|
|
3431
3431
|
}
|
|
3432
3432
|
};
|
|
3433
|
-
let
|
|
3434
|
-
const
|
|
3435
|
-
function
|
|
3436
|
-
return
|
|
3433
|
+
let Ue;
|
|
3434
|
+
const re = pe({});
|
|
3435
|
+
function yn(e) {
|
|
3436
|
+
return Ue[e] || null;
|
|
3437
3437
|
}
|
|
3438
|
-
function
|
|
3439
|
-
return e in
|
|
3438
|
+
function Ot(e) {
|
|
3439
|
+
return e in Ue;
|
|
3440
3440
|
}
|
|
3441
3441
|
function En(e, t) {
|
|
3442
|
-
if (!
|
|
3442
|
+
if (!Ot(e))
|
|
3443
3443
|
return null;
|
|
3444
|
-
const r =
|
|
3445
|
-
return
|
|
3444
|
+
const r = yn(e);
|
|
3445
|
+
return bn(r, t);
|
|
3446
3446
|
}
|
|
3447
|
-
function
|
|
3447
|
+
function xn(e) {
|
|
3448
3448
|
if (e == null)
|
|
3449
3449
|
return;
|
|
3450
|
-
const t =
|
|
3450
|
+
const t = be(e);
|
|
3451
3451
|
for (let r = 0; r < t.length; r++) {
|
|
3452
3452
|
const n = t[r];
|
|
3453
|
-
if (
|
|
3453
|
+
if (Ot(n))
|
|
3454
3454
|
return n;
|
|
3455
3455
|
}
|
|
3456
3456
|
}
|
|
3457
|
-
function
|
|
3458
|
-
delete
|
|
3457
|
+
function It(e, ...t) {
|
|
3458
|
+
delete w[e], re.update((r) => (r[e] = vr.all([r[e] || {}, ...t]), r));
|
|
3459
3459
|
}
|
|
3460
|
-
|
|
3461
|
-
[
|
|
3460
|
+
V(
|
|
3461
|
+
[re],
|
|
3462
3462
|
([e]) => Object.keys(e)
|
|
3463
3463
|
);
|
|
3464
|
-
|
|
3465
|
-
const
|
|
3466
|
-
function
|
|
3467
|
-
|
|
3464
|
+
re.subscribe((e) => Ue = e);
|
|
3465
|
+
const ue = {};
|
|
3466
|
+
function _n(e, t) {
|
|
3467
|
+
ue[e].delete(t), ue[e].size === 0 && delete ue[e];
|
|
3468
3468
|
}
|
|
3469
|
-
function
|
|
3470
|
-
return
|
|
3469
|
+
function Lt(e) {
|
|
3470
|
+
return ue[e];
|
|
3471
3471
|
}
|
|
3472
|
-
function
|
|
3473
|
-
return
|
|
3474
|
-
const r =
|
|
3472
|
+
function vn(e) {
|
|
3473
|
+
return be(e).map((t) => {
|
|
3474
|
+
const r = Lt(t);
|
|
3475
3475
|
return [t, r ? [...r] : []];
|
|
3476
3476
|
}).filter(([, t]) => t.length > 0);
|
|
3477
3477
|
}
|
|
3478
|
-
function
|
|
3479
|
-
return e == null ? !1 :
|
|
3478
|
+
function Ce(e) {
|
|
3479
|
+
return e == null ? !1 : be(e).some(
|
|
3480
3480
|
(t) => {
|
|
3481
3481
|
var r;
|
|
3482
|
-
return (r =
|
|
3482
|
+
return (r = Lt(t)) == null ? void 0 : r.size;
|
|
3483
3483
|
}
|
|
3484
3484
|
);
|
|
3485
3485
|
}
|
|
3486
|
-
function
|
|
3486
|
+
function Hn(e, t) {
|
|
3487
3487
|
return Promise.all(
|
|
3488
|
-
t.map((n) => (
|
|
3489
|
-
).then((n) =>
|
|
3490
|
-
}
|
|
3491
|
-
const
|
|
3492
|
-
function
|
|
3493
|
-
if (
|
|
3494
|
-
return e in
|
|
3495
|
-
const t =
|
|
3496
|
-
return
|
|
3488
|
+
t.map((n) => (_n(e, n), n().then((i) => i.default || i)))
|
|
3489
|
+
).then((n) => It(e, ...n));
|
|
3490
|
+
}
|
|
3491
|
+
const Z = {};
|
|
3492
|
+
function $t(e) {
|
|
3493
|
+
if (!Ce(e))
|
|
3494
|
+
return e in Z ? Z[e] : Promise.resolve();
|
|
3495
|
+
const t = vn(e);
|
|
3496
|
+
return Z[e] = Promise.all(
|
|
3497
3497
|
t.map(
|
|
3498
|
-
([r, n]) =>
|
|
3498
|
+
([r, n]) => Hn(r, n)
|
|
3499
3499
|
)
|
|
3500
3500
|
).then(() => {
|
|
3501
|
-
if (
|
|
3502
|
-
return
|
|
3503
|
-
delete
|
|
3504
|
-
}),
|
|
3501
|
+
if (Ce(e))
|
|
3502
|
+
return $t(e);
|
|
3503
|
+
delete Z[e];
|
|
3504
|
+
}), Z[e];
|
|
3505
3505
|
}
|
|
3506
|
-
const
|
|
3506
|
+
const Tn = {
|
|
3507
3507
|
number: {
|
|
3508
3508
|
scientific: { notation: "scientific" },
|
|
3509
3509
|
engineering: { notation: "engineering" },
|
|
@@ -3532,141 +3532,141 @@ const Hn = {
|
|
|
3532
3532
|
timeZoneName: "short"
|
|
3533
3533
|
}
|
|
3534
3534
|
}
|
|
3535
|
-
},
|
|
3535
|
+
}, Sn = {
|
|
3536
3536
|
fallbackLocale: null,
|
|
3537
3537
|
loadingDelay: 200,
|
|
3538
|
-
formats:
|
|
3538
|
+
formats: Tn,
|
|
3539
3539
|
warnOnMissingMessages: !0,
|
|
3540
3540
|
handleMissingMessage: void 0,
|
|
3541
3541
|
ignoreTag: !0
|
|
3542
|
-
}, Pn =
|
|
3543
|
-
function
|
|
3542
|
+
}, Pn = Sn;
|
|
3543
|
+
function j() {
|
|
3544
3544
|
return Pn;
|
|
3545
3545
|
}
|
|
3546
|
-
const
|
|
3547
|
-
var
|
|
3546
|
+
const Te = pe(!1);
|
|
3547
|
+
var Bn = Object.defineProperty, An = Object.defineProperties, wn = Object.getOwnPropertyDescriptors, Ke = Object.getOwnPropertySymbols, Nn = Object.prototype.hasOwnProperty, On = Object.prototype.propertyIsEnumerable, et = (e, t, r) => t in e ? Bn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, In = (e, t) => {
|
|
3548
3548
|
for (var r in t || (t = {}))
|
|
3549
|
-
Nn.call(t, r) &&
|
|
3550
|
-
if (
|
|
3551
|
-
for (var r of
|
|
3552
|
-
|
|
3549
|
+
Nn.call(t, r) && et(e, r, t[r]);
|
|
3550
|
+
if (Ke)
|
|
3551
|
+
for (var r of Ke(t))
|
|
3552
|
+
On.call(t, r) && et(e, r, t[r]);
|
|
3553
3553
|
return e;
|
|
3554
|
-
},
|
|
3554
|
+
}, Ln = (e, t) => An(e, wn(t));
|
|
3555
3555
|
let Me;
|
|
3556
|
-
const
|
|
3557
|
-
function
|
|
3556
|
+
const fe = pe(null);
|
|
3557
|
+
function tt(e) {
|
|
3558
3558
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3559
3559
|
}
|
|
3560
|
-
function
|
|
3561
|
-
const r =
|
|
3562
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3560
|
+
function be(e, t = j().fallbackLocale) {
|
|
3561
|
+
const r = tt(e);
|
|
3562
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...tt(t)])] : r;
|
|
3563
3563
|
}
|
|
3564
|
-
function
|
|
3564
|
+
function L() {
|
|
3565
3565
|
return Me ?? void 0;
|
|
3566
3566
|
}
|
|
3567
|
-
|
|
3567
|
+
fe.subscribe((e) => {
|
|
3568
3568
|
Me = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3569
3569
|
});
|
|
3570
|
-
const
|
|
3571
|
-
if (e &&
|
|
3572
|
-
const { loadingDelay: t } =
|
|
3570
|
+
const $n = (e) => {
|
|
3571
|
+
if (e && xn(e) && Ce(e)) {
|
|
3572
|
+
const { loadingDelay: t } = j();
|
|
3573
3573
|
let r;
|
|
3574
|
-
return typeof window < "u" &&
|
|
3575
|
-
() =>
|
|
3574
|
+
return typeof window < "u" && L() != null && t ? r = window.setTimeout(
|
|
3575
|
+
() => Te.set(!0),
|
|
3576
3576
|
t
|
|
3577
|
-
) :
|
|
3578
|
-
|
|
3577
|
+
) : Te.set(!0), $t(e).then(() => {
|
|
3578
|
+
fe.set(e);
|
|
3579
3579
|
}).finally(() => {
|
|
3580
|
-
clearTimeout(r),
|
|
3580
|
+
clearTimeout(r), Te.set(!1);
|
|
3581
3581
|
});
|
|
3582
3582
|
}
|
|
3583
|
-
return
|
|
3584
|
-
},
|
|
3585
|
-
set:
|
|
3586
|
-
}),
|
|
3583
|
+
return fe.set(e);
|
|
3584
|
+
}, ne = Ln(In({}, fe), {
|
|
3585
|
+
set: $n
|
|
3586
|
+
}), ge = (e) => {
|
|
3587
3587
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3588
3588
|
return (n) => {
|
|
3589
3589
|
const i = JSON.stringify(n);
|
|
3590
3590
|
return i in t ? t[i] : t[i] = e(n);
|
|
3591
3591
|
};
|
|
3592
3592
|
};
|
|
3593
|
-
var
|
|
3593
|
+
var Cn = Object.defineProperty, ce = Object.getOwnPropertySymbols, Ct = Object.prototype.hasOwnProperty, Mt = Object.prototype.propertyIsEnumerable, rt = (e, t, r) => t in e ? Cn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, De = (e, t) => {
|
|
3594
3594
|
for (var r in t || (t = {}))
|
|
3595
|
-
|
|
3596
|
-
if (
|
|
3597
|
-
for (var r of
|
|
3598
|
-
Mt.call(t, r) &&
|
|
3595
|
+
Ct.call(t, r) && rt(e, r, t[r]);
|
|
3596
|
+
if (ce)
|
|
3597
|
+
for (var r of ce(t))
|
|
3598
|
+
Mt.call(t, r) && rt(e, r, t[r]);
|
|
3599
3599
|
return e;
|
|
3600
|
-
},
|
|
3600
|
+
}, X = (e, t) => {
|
|
3601
3601
|
var r = {};
|
|
3602
3602
|
for (var n in e)
|
|
3603
|
-
|
|
3604
|
-
if (e != null &&
|
|
3605
|
-
for (var n of
|
|
3603
|
+
Ct.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3604
|
+
if (e != null && ce)
|
|
3605
|
+
for (var n of ce(e))
|
|
3606
3606
|
t.indexOf(n) < 0 && Mt.call(e, n) && (r[n] = e[n]);
|
|
3607
3607
|
return r;
|
|
3608
3608
|
};
|
|
3609
|
-
const
|
|
3610
|
-
const { formats: r } =
|
|
3609
|
+
const K = (e, t) => {
|
|
3610
|
+
const { formats: r } = j();
|
|
3611
3611
|
if (e in r && t in r[e])
|
|
3612
3612
|
return r[e][t];
|
|
3613
3613
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3614
|
-
}, Mn =
|
|
3614
|
+
}, Mn = ge(
|
|
3615
3615
|
(e) => {
|
|
3616
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3616
|
+
var t = e, { locale: r, format: n } = t, i = X(t, ["locale", "format"]);
|
|
3617
3617
|
if (r == null)
|
|
3618
3618
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3619
|
-
return n && (i =
|
|
3619
|
+
return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
|
|
3620
3620
|
}
|
|
3621
|
-
),
|
|
3621
|
+
), Rn = ge(
|
|
3622
3622
|
(e) => {
|
|
3623
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3623
|
+
var t = e, { locale: r, format: n } = t, i = X(t, ["locale", "format"]);
|
|
3624
3624
|
if (r == null)
|
|
3625
3625
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3626
|
-
return n ? i =
|
|
3626
|
+
return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3627
3627
|
}
|
|
3628
|
-
),
|
|
3628
|
+
), Un = ge(
|
|
3629
3629
|
(e) => {
|
|
3630
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3630
|
+
var t = e, { locale: r, format: n } = t, i = X(t, ["locale", "format"]);
|
|
3631
3631
|
if (r == null)
|
|
3632
3632
|
throw new Error(
|
|
3633
3633
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3634
3634
|
);
|
|
3635
|
-
return n ? i =
|
|
3635
|
+
return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3636
3636
|
}
|
|
3637
|
-
),
|
|
3637
|
+
), Dn = (e = {}) => {
|
|
3638
3638
|
var t = e, {
|
|
3639
|
-
locale: r =
|
|
3640
|
-
} = t, n =
|
|
3639
|
+
locale: r = L()
|
|
3640
|
+
} = t, n = X(t, [
|
|
3641
3641
|
"locale"
|
|
3642
3642
|
]);
|
|
3643
|
-
return Mn(
|
|
3644
|
-
},
|
|
3643
|
+
return Mn(De({ locale: r }, n));
|
|
3644
|
+
}, Gn = (e = {}) => {
|
|
3645
3645
|
var t = e, {
|
|
3646
|
-
locale: r =
|
|
3647
|
-
} = t, n =
|
|
3646
|
+
locale: r = L()
|
|
3647
|
+
} = t, n = X(t, [
|
|
3648
3648
|
"locale"
|
|
3649
3649
|
]);
|
|
3650
|
-
return
|
|
3651
|
-
},
|
|
3650
|
+
return Rn(De({ locale: r }, n));
|
|
3651
|
+
}, Fn = (e = {}) => {
|
|
3652
3652
|
var t = e, {
|
|
3653
|
-
locale: r =
|
|
3654
|
-
} = t, n =
|
|
3653
|
+
locale: r = L()
|
|
3654
|
+
} = t, n = X(t, [
|
|
3655
3655
|
"locale"
|
|
3656
3656
|
]);
|
|
3657
|
-
return
|
|
3658
|
-
},
|
|
3657
|
+
return Un(De({ locale: r }, n));
|
|
3658
|
+
}, zn = ge(
|
|
3659
3659
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3660
|
-
(e, t =
|
|
3661
|
-
ignoreTag:
|
|
3660
|
+
(e, t = L()) => new dn(e, t, j().formats, {
|
|
3661
|
+
ignoreTag: j().ignoreTag
|
|
3662
3662
|
})
|
|
3663
|
-
),
|
|
3663
|
+
), jn = (e, t = {}) => {
|
|
3664
3664
|
var r, n, i, s;
|
|
3665
3665
|
let u = t;
|
|
3666
3666
|
typeof e == "object" && (u = e, e = u.id);
|
|
3667
3667
|
const {
|
|
3668
3668
|
values: o,
|
|
3669
|
-
locale: l =
|
|
3669
|
+
locale: l = L(),
|
|
3670
3670
|
default: a
|
|
3671
3671
|
} = u;
|
|
3672
3672
|
if (l == null)
|
|
@@ -3675,7 +3675,7 @@ const Y = (e, t) => {
|
|
|
3675
3675
|
);
|
|
3676
3676
|
let h = Nt(e, l);
|
|
3677
3677
|
if (!h)
|
|
3678
|
-
h = (s = (i = (n = (r =
|
|
3678
|
+
h = (s = (i = (n = (r = j()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
|
|
3679
3679
|
else if (typeof h != "string")
|
|
3680
3680
|
return console.warn(
|
|
3681
3681
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -3684,7 +3684,7 @@ const Y = (e, t) => {
|
|
|
3684
3684
|
return h;
|
|
3685
3685
|
let f = h;
|
|
3686
3686
|
try {
|
|
3687
|
-
f =
|
|
3687
|
+
f = zn(h, l).format(o);
|
|
3688
3688
|
} catch (c) {
|
|
3689
3689
|
c instanceof Error && console.warn(
|
|
3690
3690
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3692,15 +3692,15 @@ const Y = (e, t) => {
|
|
|
3692
3692
|
);
|
|
3693
3693
|
}
|
|
3694
3694
|
return f;
|
|
3695
|
-
},
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
|
|
3700
|
-
function
|
|
3701
|
-
|
|
3702
|
-
}
|
|
3703
|
-
const
|
|
3695
|
+
}, kn = (e, t) => Fn(t).format(e), Vn = (e, t) => Gn(t).format(e), Xn = (e, t) => Dn(t).format(e), Wn = (e, t = L()) => Nt(e, t), Zn = V([ne, re], () => jn);
|
|
3696
|
+
V([ne], () => kn);
|
|
3697
|
+
V([ne], () => Vn);
|
|
3698
|
+
V([ne], () => Xn);
|
|
3699
|
+
V([ne, re], () => Wn);
|
|
3700
|
+
function nt(e, t) {
|
|
3701
|
+
It(e, t);
|
|
3702
|
+
}
|
|
3703
|
+
const it = {
|
|
3704
3704
|
en: {
|
|
3705
3705
|
prizes: "Prizes",
|
|
3706
3706
|
noprizes: "No available prizes",
|
|
@@ -3756,14 +3756,14 @@ const nt = {
|
|
|
3756
3756
|
noprizes: "No available prizes",
|
|
3757
3757
|
place: "place"
|
|
3758
3758
|
}
|
|
3759
|
-
};
|
|
3760
|
-
function
|
|
3759
|
+
}, U = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
3760
|
+
function Qn(e, t) {
|
|
3761
3761
|
if (e) {
|
|
3762
3762
|
const r = document.createElement("style");
|
|
3763
3763
|
r.innerHTML = t, e.appendChild(r);
|
|
3764
3764
|
}
|
|
3765
3765
|
}
|
|
3766
|
-
function
|
|
3766
|
+
function Jn(e, t) {
|
|
3767
3767
|
if (!e || !t)
|
|
3768
3768
|
return;
|
|
3769
3769
|
const r = new URL(t);
|
|
@@ -3774,30 +3774,57 @@ function Qn(e, t) {
|
|
|
3774
3774
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
3775
3775
|
});
|
|
3776
3776
|
}
|
|
3777
|
-
function
|
|
3778
|
-
if (window.emMessageBus)
|
|
3779
|
-
|
|
3780
|
-
|
|
3781
|
-
|
|
3777
|
+
function qn(e, t, r, n = !1) {
|
|
3778
|
+
if (!window.emMessageBus)
|
|
3779
|
+
return;
|
|
3780
|
+
if (!("adoptedStyleSheets" in Document.prototype) || !n)
|
|
3781
|
+
return r = Yn(e, t), r;
|
|
3782
|
+
window[U] || (window[U] = {}), r = Kn(e, t);
|
|
3783
|
+
const s = r.unsubscribe.bind(r), u = () => {
|
|
3784
|
+
if (window[U][t]) {
|
|
3785
|
+
const o = window[U][t];
|
|
3786
|
+
o.refCount > 1 ? o.refCount = o.refCount - 1 : delete window[U][t];
|
|
3787
|
+
}
|
|
3788
|
+
s();
|
|
3789
|
+
};
|
|
3790
|
+
return r.unsubscribe = u, r;
|
|
3791
|
+
}
|
|
3792
|
+
function Yn(e, t) {
|
|
3793
|
+
const r = document.createElement("style");
|
|
3794
|
+
return window.emMessageBus.subscribe(t, (n) => {
|
|
3795
|
+
e && (r.innerHTML = n, e.appendChild(r));
|
|
3796
|
+
});
|
|
3797
|
+
}
|
|
3798
|
+
function Kn(e, t) {
|
|
3799
|
+
return window.emMessageBus.subscribe(t, (r) => {
|
|
3800
|
+
if (!e)
|
|
3801
|
+
return;
|
|
3802
|
+
const n = e.getRootNode(), i = window[U];
|
|
3803
|
+
let s = i[t]?.sheet;
|
|
3804
|
+
s ? i[t].refCount = i[t].refCount + 1 : (s = new CSSStyleSheet(), s.replaceSync(r), i[t] = {
|
|
3805
|
+
sheet: s,
|
|
3806
|
+
refCount: 1
|
|
3782
3807
|
});
|
|
3783
|
-
|
|
3808
|
+
const u = n.adoptedStyleSheets || [];
|
|
3809
|
+
u.includes(s) || (n.adoptedStyleSheets = [...u, s]);
|
|
3810
|
+
});
|
|
3784
3811
|
}
|
|
3785
|
-
function
|
|
3786
|
-
|
|
3812
|
+
function ei(e) {
|
|
3813
|
+
Dt(e, "svelte-1bsrm1d", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}span{color:var(--emw--color-gray-100, #E6E6E6)}.TournamentPrizes{font-size:11px;margin-left:20px;margin-right:20px;display:flex;gap:5px}.PrizesTitle{padding-top:8px}.Prizes{padding-left:20px;flex-wrap:wrap;display:flex;gap:20px;width:100%;min-height:50px;padding-top:8px}.Prize{flex-grow:1;color:var(--emw--color-gray-300, #58586B)}.Prize.Prize0 span{color:#FECF00}.Prize.Prize1 span{color:#D9B206}.Prize.Prize2 span{color:#9B8007}.Prize p{color:var(--emw--color-white, #FFFFFF)}");
|
|
3787
3814
|
}
|
|
3788
|
-
function
|
|
3815
|
+
function st(e, t, r) {
|
|
3789
3816
|
const n = e.slice();
|
|
3790
3817
|
return n[12] = t[r], n[14] = r, n;
|
|
3791
3818
|
}
|
|
3792
|
-
function
|
|
3793
|
-
let t, r =
|
|
3819
|
+
function ot(e) {
|
|
3820
|
+
let t, r = je(
|
|
3794
3821
|
/*prizes*/
|
|
3795
3822
|
e[1]
|
|
3796
3823
|
), n = [];
|
|
3797
3824
|
for (let s = 0; s < r.length; s += 1)
|
|
3798
|
-
n[s] =
|
|
3825
|
+
n[s] = ut(st(e, r, s));
|
|
3799
3826
|
let i = null;
|
|
3800
|
-
return r.length || (i =
|
|
3827
|
+
return r.length || (i = at(e)), {
|
|
3801
3828
|
c() {
|
|
3802
3829
|
t = T("div");
|
|
3803
3830
|
for (let s = 0; s < n.length; s += 1)
|
|
@@ -3805,7 +3832,7 @@ function st(e) {
|
|
|
3805
3832
|
i && i.c(), x(t, "class", "Prizes"), x(t, "part", "Prizes");
|
|
3806
3833
|
},
|
|
3807
3834
|
m(s, u) {
|
|
3808
|
-
|
|
3835
|
+
te(s, t, u);
|
|
3809
3836
|
for (let o = 0; o < n.length; o += 1)
|
|
3810
3837
|
n[o] && n[o].m(t, null);
|
|
3811
3838
|
i && i.m(t, null);
|
|
@@ -3813,48 +3840,48 @@ function st(e) {
|
|
|
3813
3840
|
p(s, u) {
|
|
3814
3841
|
if (u & /*prizes, $_*/
|
|
3815
3842
|
6) {
|
|
3816
|
-
r =
|
|
3843
|
+
r = je(
|
|
3817
3844
|
/*prizes*/
|
|
3818
3845
|
s[1]
|
|
3819
3846
|
);
|
|
3820
3847
|
let o;
|
|
3821
3848
|
for (o = 0; o < r.length; o += 1) {
|
|
3822
|
-
const l =
|
|
3823
|
-
n[o] ? n[o].p(l, u) : (n[o] =
|
|
3849
|
+
const l = st(s, r, o);
|
|
3850
|
+
n[o] ? n[o].p(l, u) : (n[o] = ut(l), n[o].c(), n[o].m(t, null));
|
|
3824
3851
|
}
|
|
3825
3852
|
for (; o < n.length; o += 1)
|
|
3826
3853
|
n[o].d(1);
|
|
3827
|
-
n.length = r.length, !r.length && i ? i.p(s, u) : r.length ? i && (i.d(1), i = null) : (i =
|
|
3854
|
+
n.length = r.length, !r.length && i ? i.p(s, u) : r.length ? i && (i.d(1), i = null) : (i = at(s), i.c(), i.m(t, null));
|
|
3828
3855
|
}
|
|
3829
3856
|
},
|
|
3830
3857
|
d(s) {
|
|
3831
|
-
s &&
|
|
3858
|
+
s && k(t), zt(n, s), i && i.d();
|
|
3832
3859
|
}
|
|
3833
3860
|
};
|
|
3834
3861
|
}
|
|
3835
|
-
function
|
|
3862
|
+
function at(e) {
|
|
3836
3863
|
let t, r = (
|
|
3837
3864
|
/*$_*/
|
|
3838
3865
|
e[2]("noprizes") + ""
|
|
3839
3866
|
), n;
|
|
3840
3867
|
return {
|
|
3841
3868
|
c() {
|
|
3842
|
-
t = T("p"), n =
|
|
3869
|
+
t = T("p"), n = I(r);
|
|
3843
3870
|
},
|
|
3844
3871
|
m(i, s) {
|
|
3845
|
-
|
|
3872
|
+
te(i, t, s), v(t, n);
|
|
3846
3873
|
},
|
|
3847
3874
|
p(i, s) {
|
|
3848
3875
|
s & /*$_*/
|
|
3849
3876
|
4 && r !== (r = /*$_*/
|
|
3850
|
-
i[2]("noprizes") + "") &&
|
|
3877
|
+
i[2]("noprizes") + "") && Q(n, r);
|
|
3851
3878
|
},
|
|
3852
3879
|
d(i) {
|
|
3853
|
-
i &&
|
|
3880
|
+
i && k(t);
|
|
3854
3881
|
}
|
|
3855
3882
|
};
|
|
3856
3883
|
}
|
|
3857
|
-
function
|
|
3884
|
+
function ut(e) {
|
|
3858
3885
|
let t, r, n, i = (
|
|
3859
3886
|
/*prize*/
|
|
3860
3887
|
(e[12].count > 1 ? `${/*prize*/
|
|
@@ -3873,116 +3900,116 @@ function at(e) {
|
|
|
3873
3900
|
), f, c;
|
|
3874
3901
|
return {
|
|
3875
3902
|
c() {
|
|
3876
|
-
t = T("div"), r = T("p"), n = T("span"), s =
|
|
3903
|
+
t = T("div"), r = T("p"), n = T("span"), s = I(i), u = he(), l = I(o), a = I(": "), f = I(h), c = he(), x(n, "class", "PrizeRank"), x(n, "part", "PrizeRank"), x(r, "class", "PrizeText"), x(r, "part", "PrizeText"), x(t, "class", "Prize Prize" + /*index*/
|
|
3877
3904
|
e[14]), x(t, "part", "Prize Prize" + /*index*/
|
|
3878
3905
|
e[14]);
|
|
3879
3906
|
},
|
|
3880
|
-
m(
|
|
3881
|
-
|
|
3907
|
+
m(p, g) {
|
|
3908
|
+
te(p, t, g), v(t, r), v(r, n), v(n, s), v(r, u), v(r, l), v(r, a), v(r, f), v(t, c);
|
|
3882
3909
|
},
|
|
3883
|
-
p(
|
|
3884
|
-
|
|
3910
|
+
p(p, g) {
|
|
3911
|
+
g & /*prizes*/
|
|
3885
3912
|
2 && i !== (i = /*prize*/
|
|
3886
|
-
(
|
|
3887
|
-
|
|
3888
|
-
|
|
3889
|
-
|
|
3913
|
+
(p[12].count > 1 ? `${/*prize*/
|
|
3914
|
+
p[12].rank}~${/*prize*/
|
|
3915
|
+
p[12].rank + /*prize*/
|
|
3916
|
+
p[12].count - 1}` : (
|
|
3890
3917
|
/*prize*/
|
|
3891
|
-
|
|
3892
|
-
)) + "") &&
|
|
3918
|
+
p[12].rank
|
|
3919
|
+
)) + "") && Q(s, i), g & /*$_*/
|
|
3893
3920
|
4 && o !== (o = /*$_*/
|
|
3894
|
-
|
|
3921
|
+
p[2]("place") + "") && Q(l, o), g & /*prizes*/
|
|
3895
3922
|
2 && h !== (h = /*prize*/
|
|
3896
|
-
|
|
3923
|
+
p[12].name + "") && Q(f, h);
|
|
3897
3924
|
},
|
|
3898
|
-
d(
|
|
3899
|
-
|
|
3925
|
+
d(p) {
|
|
3926
|
+
p && k(t);
|
|
3900
3927
|
}
|
|
3901
3928
|
};
|
|
3902
3929
|
}
|
|
3903
|
-
function
|
|
3930
|
+
function ti(e) {
|
|
3904
3931
|
let t, r, n, i, s, u = (
|
|
3905
3932
|
/*$_*/
|
|
3906
3933
|
e[2]("prizes") + ""
|
|
3907
3934
|
), o, l, a = (
|
|
3908
3935
|
/*prizes*/
|
|
3909
|
-
e[1] &&
|
|
3936
|
+
e[1] && ot(e)
|
|
3910
3937
|
);
|
|
3911
3938
|
return {
|
|
3912
3939
|
c() {
|
|
3913
|
-
t = T("div"), r = T("div"), n = T("span"), n.innerHTML = '<svg part="TournamentPrizesSvg" xmlns="http://www.w3.org/2000/svg" width="30" height="27.454" viewBox="0 0 30 27.454"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" part="a TournamentPrizesSvgA" d="M35.84,12.887a1.023,1.023,0,0,0-.853-.481h-5.2l.242-1.456a1.023,1.023,0,0,0-1.023-1.19H12.977a1.023,1.023,0,0,0-1.023,1.19l.242,1.456H7.022a1.023,1.023,0,0,0-.921,1.47l2.967,6.077a6.48,6.48,0,0,0,5.163,3.581,7.227,7.227,0,0,0,3.7,3.963v2.667h-.426a3.525,3.525,0,1,0,0,7.049H24.5a3.525,3.525,0,1,0,0-7.049h-.426V27.5a7.227,7.227,0,0,0,3.7-3.963,6.48,6.48,0,0,0,5.167-3.581L35.9,13.876a1.023,1.023,0,0,0-.058-.989ZM10.914,19.05l-2.241-4.6h3.891l1.153,6.916A4.406,4.406,0,0,1,10.914,19.05ZM25.977,33.687A1.477,1.477,0,0,1,24.5,35.164H17.509a1.478,1.478,0,0,1,0-2.957H24.5A1.48,1.48,0,0,1,25.977,33.687Zm-3.949-3.526H19.982V28.094a6.729,6.729,0,0,0,2.046,0Zm4.123-8.383a5.218,5.218,0,0,1-10.293,0L14.184,11.8H27.826ZM31.1,19.05a4.406,4.406,0,0,1-2.8,2.309l1.153-6.916h3.891Z" transform="translate(-5.999 -9.76)"></path></svg>', i =
|
|
3940
|
+
t = T("div"), r = T("div"), n = T("span"), n.innerHTML = '<svg part="TournamentPrizesSvg" xmlns="http://www.w3.org/2000/svg" width="30" height="27.454" viewBox="0 0 30 27.454"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" part="a TournamentPrizesSvgA" d="M35.84,12.887a1.023,1.023,0,0,0-.853-.481h-5.2l.242-1.456a1.023,1.023,0,0,0-1.023-1.19H12.977a1.023,1.023,0,0,0-1.023,1.19l.242,1.456H7.022a1.023,1.023,0,0,0-.921,1.47l2.967,6.077a6.48,6.48,0,0,0,5.163,3.581,7.227,7.227,0,0,0,3.7,3.963v2.667h-.426a3.525,3.525,0,1,0,0,7.049H24.5a3.525,3.525,0,1,0,0-7.049h-.426V27.5a7.227,7.227,0,0,0,3.7-3.963,6.48,6.48,0,0,0,5.167-3.581L35.9,13.876a1.023,1.023,0,0,0-.058-.989ZM10.914,19.05l-2.241-4.6h3.891l1.153,6.916A4.406,4.406,0,0,1,10.914,19.05ZM25.977,33.687A1.477,1.477,0,0,1,24.5,35.164H17.509a1.478,1.478,0,0,1,0-2.957H24.5A1.48,1.48,0,0,1,25.977,33.687Zm-3.949-3.526H19.982V28.094a6.729,6.729,0,0,0,2.046,0Zm4.123-8.383a5.218,5.218,0,0,1-10.293,0L14.184,11.8H27.826ZM31.1,19.05a4.406,4.406,0,0,1-2.8,2.309l1.153-6.916h3.891Z" transform="translate(-5.999 -9.76)"></path></svg>', i = he(), s = T("p"), o = I(u), l = he(), a && a.c(), x(n, "class", "TournamentPrizesIconWrapper"), x(n, "part", "TournamentPrizesIconWrapper"), x(s, "class", "PrizesTitle"), x(s, "part", "PrizesTitle"), x(r, "class", "TournamentPrizesIconSection"), x(r, "part", "TournamentPrizesIconSection"), x(t, "class", "TournamentPrizes"), x(t, "part", "TournamentPrizes");
|
|
3914
3941
|
},
|
|
3915
3942
|
m(h, f) {
|
|
3916
|
-
|
|
3943
|
+
te(h, t, f), v(t, r), v(r, n), v(r, i), v(r, s), v(s, o), v(t, l), a && a.m(t, null), e[8](t);
|
|
3917
3944
|
},
|
|
3918
3945
|
p(h, [f]) {
|
|
3919
3946
|
f & /*$_*/
|
|
3920
3947
|
4 && u !== (u = /*$_*/
|
|
3921
|
-
h[2]("prizes") + "") &&
|
|
3922
|
-
h[1] ? a ? a.p(h, f) : (a =
|
|
3948
|
+
h[2]("prizes") + "") && Q(o, u), /*prizes*/
|
|
3949
|
+
h[1] ? a ? a.p(h, f) : (a = ot(h), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
|
|
3923
3950
|
},
|
|
3924
|
-
i:
|
|
3925
|
-
o:
|
|
3951
|
+
i: S,
|
|
3952
|
+
o: S,
|
|
3926
3953
|
d(h) {
|
|
3927
|
-
h &&
|
|
3954
|
+
h && k(t), a && a.d(), e[8](null);
|
|
3928
3955
|
}
|
|
3929
3956
|
};
|
|
3930
3957
|
}
|
|
3931
|
-
function
|
|
3958
|
+
function ri(e, t, r) {
|
|
3932
3959
|
let n;
|
|
3933
|
-
|
|
3934
|
-
let { tourid: i = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: o = "" } = t, { mbsource: l } = t, a, h;
|
|
3935
|
-
const
|
|
3936
|
-
fetch(o).then((
|
|
3937
|
-
Object.keys(
|
|
3938
|
-
|
|
3960
|
+
Ut(e, Zn, (m) => r(2, n = m));
|
|
3961
|
+
let { tourid: i = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: o = "" } = t, { mbsource: l } = t, a, h, f;
|
|
3962
|
+
const c = () => {
|
|
3963
|
+
fetch(o).then((_) => _.json()).then((_) => {
|
|
3964
|
+
Object.keys(_).forEach((A) => {
|
|
3965
|
+
nt(A, _[A]);
|
|
3939
3966
|
});
|
|
3940
|
-
}).catch((
|
|
3941
|
-
console.log(
|
|
3967
|
+
}).catch((_) => {
|
|
3968
|
+
console.log(_);
|
|
3942
3969
|
});
|
|
3943
3970
|
};
|
|
3944
|
-
Object.keys(
|
|
3945
|
-
|
|
3971
|
+
Object.keys(it).forEach((m) => {
|
|
3972
|
+
nt(m, it[m]);
|
|
3946
3973
|
});
|
|
3947
|
-
const
|
|
3948
|
-
|
|
3974
|
+
const p = (m) => {
|
|
3975
|
+
m.data && m.data.type == `TournamentPrizes_${i}` && r(1, f = m.data.prizes);
|
|
3949
3976
|
};
|
|
3950
|
-
|
|
3951
|
-
window.removeEventListener("message",
|
|
3977
|
+
Xt(() => (window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", p, !1), () => {
|
|
3978
|
+
window.removeEventListener("message", p);
|
|
3952
3979
|
}));
|
|
3953
|
-
function m
|
|
3954
|
-
|
|
3955
|
-
a =
|
|
3980
|
+
function g(m) {
|
|
3981
|
+
Se[m ? "unshift" : "push"](() => {
|
|
3982
|
+
a = m, r(0, a);
|
|
3956
3983
|
});
|
|
3957
3984
|
}
|
|
3958
|
-
return e.$$set = (
|
|
3959
|
-
"tourid" in
|
|
3985
|
+
return e.$$set = (m) => {
|
|
3986
|
+
"tourid" in m && r(3, i = m.tourid), "clientstyling" in m && r(4, s = m.clientstyling), "clientstylingurl" in m && r(5, u = m.clientstylingurl), "translationurl" in m && r(6, o = m.translationurl), "mbsource" in m && r(7, l = m.mbsource);
|
|
3960
3987
|
}, e.$$.update = () => {
|
|
3961
3988
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
3962
|
-
17 && s && a &&
|
|
3963
|
-
33 && u && a &&
|
|
3964
|
-
129 && l && a &&
|
|
3965
|
-
64 && o &&
|
|
3989
|
+
17 && s && a && Qn(a, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
3990
|
+
33 && u && a && Jn(a, u), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
3991
|
+
129 && l && a && qn(a, `${l}.Style`, h), e.$$.dirty & /*translationurl*/
|
|
3992
|
+
64 && o && c();
|
|
3966
3993
|
}, [
|
|
3967
3994
|
a,
|
|
3968
|
-
|
|
3995
|
+
f,
|
|
3969
3996
|
n,
|
|
3970
3997
|
i,
|
|
3971
3998
|
s,
|
|
3972
3999
|
u,
|
|
3973
4000
|
o,
|
|
3974
4001
|
l,
|
|
3975
|
-
|
|
4002
|
+
g
|
|
3976
4003
|
];
|
|
3977
4004
|
}
|
|
3978
|
-
class
|
|
4005
|
+
class ni extends ir {
|
|
3979
4006
|
constructor(t) {
|
|
3980
|
-
super(),
|
|
4007
|
+
super(), rr(
|
|
3981
4008
|
this,
|
|
3982
4009
|
t,
|
|
3983
|
-
|
|
3984
|
-
|
|
3985
|
-
|
|
4010
|
+
ri,
|
|
4011
|
+
ti,
|
|
4012
|
+
lt,
|
|
3986
4013
|
{
|
|
3987
4014
|
tourid: 3,
|
|
3988
4015
|
clientstyling: 4,
|
|
@@ -3990,41 +4017,41 @@ class ei extends nr {
|
|
|
3990
4017
|
translationurl: 6,
|
|
3991
4018
|
mbsource: 7
|
|
3992
4019
|
},
|
|
3993
|
-
|
|
4020
|
+
ei
|
|
3994
4021
|
);
|
|
3995
4022
|
}
|
|
3996
4023
|
get tourid() {
|
|
3997
4024
|
return this.$$.ctx[3];
|
|
3998
4025
|
}
|
|
3999
4026
|
set tourid(t) {
|
|
4000
|
-
this.$$set({ tourid: t }),
|
|
4027
|
+
this.$$set({ tourid: t }), O();
|
|
4001
4028
|
}
|
|
4002
4029
|
get clientstyling() {
|
|
4003
4030
|
return this.$$.ctx[4];
|
|
4004
4031
|
}
|
|
4005
4032
|
set clientstyling(t) {
|
|
4006
|
-
this.$$set({ clientstyling: t }),
|
|
4033
|
+
this.$$set({ clientstyling: t }), O();
|
|
4007
4034
|
}
|
|
4008
4035
|
get clientstylingurl() {
|
|
4009
4036
|
return this.$$.ctx[5];
|
|
4010
4037
|
}
|
|
4011
4038
|
set clientstylingurl(t) {
|
|
4012
|
-
this.$$set({ clientstylingurl: t }),
|
|
4039
|
+
this.$$set({ clientstylingurl: t }), O();
|
|
4013
4040
|
}
|
|
4014
4041
|
get translationurl() {
|
|
4015
4042
|
return this.$$.ctx[6];
|
|
4016
4043
|
}
|
|
4017
4044
|
set translationurl(t) {
|
|
4018
|
-
this.$$set({ translationurl: t }),
|
|
4045
|
+
this.$$set({ translationurl: t }), O();
|
|
4019
4046
|
}
|
|
4020
4047
|
get mbsource() {
|
|
4021
4048
|
return this.$$.ctx[7];
|
|
4022
4049
|
}
|
|
4023
4050
|
set mbsource(t) {
|
|
4024
|
-
this.$$set({ mbsource: t }),
|
|
4051
|
+
this.$$set({ mbsource: t }), O();
|
|
4025
4052
|
}
|
|
4026
4053
|
}
|
|
4027
|
-
|
|
4054
|
+
nr(ni, { tourid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
|
4028
4055
|
export {
|
|
4029
|
-
|
|
4056
|
+
ni as C
|
|
4030
4057
|
};
|