@everymatrix/casino-categories 1.77.18 → 1.77.20
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/CasinoCategories-BfaD4414.cjs +16 -0
- package/components/{CasinoCategories-BS8poEZ5.js → CasinoCategories-CsAog_gu.js} +816 -822
- package/components/{CasinoCategories-BkDi82EW.js → CasinoCategories-Dghu6LF6.js} +717 -723
- package/es2015/casino-categories.cjs +1 -1
- package/es2015/casino-categories.js +1 -1
- package/esnext/casino-categories.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-97d17652-CCFHkzJw.js → index-97d17652-B0NIExnR.js} +2 -2
- package/stencil/{index-97d17652--F7PvMq9.js → index-97d17652-D6HPqRtr.js} +2 -2
- package/stencil/index-97d17652-DNpK20ur.cjs +1 -0
- package/stencil/{ui-image-CHeV8e9p.js → ui-image-BY8ZO6br.js} +1 -1
- package/stencil/{ui-image-BaHsVAxH.cjs → ui-image-DJSOH8ZL.cjs} +1 -1
- package/stencil/{ui-image-C7s6Uvn5.js → ui-image-DfVgiF6v.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-ByRuJtdE.js → ui-image-b7b48fe5-BXmf73Ou.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DG83WzAo.cjs → ui-image-b7b48fe5-DaWM2RbJ.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-D6iig_uN.js → ui-image-b7b48fe5-c0NIgcTj.js} +1 -1
- package/stencil/{ui-image_2-DdFjzzNO.cjs → ui-image_2-Cdo33umq.cjs} +1 -1
- package/stencil/{ui-image_2-Bm97-wkj.js → ui-image_2-DbQ7SENq.js} +2 -2
- package/stencil/{ui-image_2-qO3reSlr.js → ui-image_2-L-CYescb.js} +2 -2
- package/components/CasinoCategories-ByVJhZBA.cjs +0 -3
- package/stencil/index-97d17652-BhLhk_xz.cjs +0 -1
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var Kt = Object.defineProperty, er = Object.defineProperties;
|
|
2
|
+
var tr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var Je = Object.getOwnPropertySymbols;
|
|
4
|
+
var rr = Object.prototype.hasOwnProperty, nr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var He = (e, t, r) => t in e ? Kt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qe = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
rr.call(t, r) && He(e, r, t[r]);
|
|
8
|
+
if (Je)
|
|
9
|
+
for (var r of Je(t))
|
|
10
|
+
nr.call(t, r) && He(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var N = (e, t, r) => (
|
|
14
|
-
var
|
|
15
|
-
var
|
|
12
|
+
}, Ye = (e, t) => er(e, tr(t));
|
|
13
|
+
var N = (e, t, r) => (He(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var Ke = (e, t, r) => new Promise((n, i) => {
|
|
15
|
+
var o = (h) => {
|
|
16
16
|
try {
|
|
17
17
|
u(r.next(h));
|
|
18
18
|
} catch (a) {
|
|
19
19
|
i(a);
|
|
20
20
|
}
|
|
21
|
-
},
|
|
21
|
+
}, s = (h) => {
|
|
22
22
|
try {
|
|
23
23
|
u(r.throw(h));
|
|
24
24
|
} catch (a) {
|
|
25
25
|
i(a);
|
|
26
26
|
}
|
|
27
|
-
}, u = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(
|
|
27
|
+
}, u = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, s);
|
|
28
28
|
u((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
import "../stencil/ui-image-
|
|
30
|
+
import "../stencil/ui-image-DfVgiF6v.js";
|
|
31
31
|
function L() {
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function vt(e) {
|
|
34
34
|
return e();
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function et() {
|
|
37
37
|
return /* @__PURE__ */ Object.create(null);
|
|
38
38
|
}
|
|
39
|
-
function
|
|
40
|
-
e.forEach(
|
|
39
|
+
function ue(e) {
|
|
40
|
+
e.forEach(vt);
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function Xe(e) {
|
|
43
43
|
return typeof e == "function";
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function Tt(e, t) {
|
|
46
46
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
47
47
|
}
|
|
48
|
-
let
|
|
49
|
-
function
|
|
50
|
-
return e === t ? !0 : (
|
|
48
|
+
let fe;
|
|
49
|
+
function be(e, t) {
|
|
50
|
+
return e === t ? !0 : (fe || (fe = document.createElement("a")), fe.href = t, e === fe.href);
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function ir(e) {
|
|
53
53
|
return Object.keys(e).length === 0;
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function Ct(e, ...t) {
|
|
56
56
|
if (e == null) {
|
|
57
57
|
for (const n of t)
|
|
58
58
|
n(void 0);
|
|
@@ -61,20 +61,20 @@ function St(e, ...t) {
|
|
|
61
61
|
const r = e.subscribe(...t);
|
|
62
62
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
63
63
|
}
|
|
64
|
-
function
|
|
65
|
-
e.$$.on_destroy.push(
|
|
64
|
+
function or(e, t, r) {
|
|
65
|
+
e.$$.on_destroy.push(Ct(t, r));
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function v(e, t) {
|
|
68
68
|
e.appendChild(t);
|
|
69
69
|
}
|
|
70
|
-
function
|
|
71
|
-
const n =
|
|
70
|
+
function sr(e, t, r) {
|
|
71
|
+
const n = ar(e);
|
|
72
72
|
if (!n.getElementById(t)) {
|
|
73
|
-
const i =
|
|
74
|
-
i.id = t, i.textContent = r,
|
|
73
|
+
const i = S("style");
|
|
74
|
+
i.id = t, i.textContent = r, ur(n, i);
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function ar(e) {
|
|
78
78
|
if (!e)
|
|
79
79
|
return document;
|
|
80
80
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -84,33 +84,33 @@ function hr(e) {
|
|
|
84
84
|
t
|
|
85
85
|
) : e.ownerDocument;
|
|
86
86
|
}
|
|
87
|
-
function
|
|
88
|
-
return
|
|
87
|
+
function ur(e, t) {
|
|
88
|
+
return v(
|
|
89
89
|
/** @type {Document} */
|
|
90
90
|
e.head || e,
|
|
91
91
|
t
|
|
92
92
|
), t.sheet;
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function K(e, t, r) {
|
|
95
95
|
e.insertBefore(t, r || null);
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function k(e) {
|
|
98
98
|
e.parentNode && e.parentNode.removeChild(e);
|
|
99
99
|
}
|
|
100
|
-
function
|
|
100
|
+
function tt(e, t) {
|
|
101
101
|
for (let r = 0; r < e.length; r += 1)
|
|
102
102
|
e[r] && e[r].d(t);
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function S(e) {
|
|
105
105
|
return document.createElement(e);
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function G(e) {
|
|
108
108
|
return document.createTextNode(e);
|
|
109
109
|
}
|
|
110
|
-
function
|
|
111
|
-
return
|
|
110
|
+
function U() {
|
|
111
|
+
return G(" ");
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function Ht(e, t, r, n) {
|
|
114
114
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
115
115
|
}
|
|
116
116
|
function I(e, t, r) {
|
|
@@ -120,14 +120,14 @@ function R(e, t, r) {
|
|
|
120
120
|
const n = t.toLowerCase();
|
|
121
121
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : I(e, t, r);
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function hr(e) {
|
|
124
124
|
return Array.from(e.childNodes);
|
|
125
125
|
}
|
|
126
|
-
function
|
|
126
|
+
function F(e, t) {
|
|
127
127
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
128
128
|
t);
|
|
129
129
|
}
|
|
130
|
-
function
|
|
130
|
+
function lr(e) {
|
|
131
131
|
const t = {};
|
|
132
132
|
return e.childNodes.forEach(
|
|
133
133
|
/** @param {Element} node */
|
|
@@ -137,97 +137,97 @@ function cr(e) {
|
|
|
137
137
|
), t;
|
|
138
138
|
}
|
|
139
139
|
let oe;
|
|
140
|
-
function
|
|
140
|
+
function ie(e) {
|
|
141
141
|
oe = e;
|
|
142
142
|
}
|
|
143
|
-
function
|
|
143
|
+
function fr() {
|
|
144
144
|
if (!oe)
|
|
145
145
|
throw new Error("Function called outside component initialization");
|
|
146
146
|
return oe;
|
|
147
147
|
}
|
|
148
|
-
function
|
|
149
|
-
|
|
148
|
+
function cr(e) {
|
|
149
|
+
fr().$$.on_mount.push(e);
|
|
150
150
|
}
|
|
151
|
-
const
|
|
152
|
-
let
|
|
153
|
-
const
|
|
154
|
-
let
|
|
155
|
-
function
|
|
156
|
-
|
|
151
|
+
const W = [], Le = [];
|
|
152
|
+
let Z = [];
|
|
153
|
+
const rt = [], gr = /* @__PURE__ */ Promise.resolve();
|
|
154
|
+
let Ie = !1;
|
|
155
|
+
function mr() {
|
|
156
|
+
Ie || (Ie = !0, gr.then(M));
|
|
157
157
|
}
|
|
158
|
-
function
|
|
159
|
-
|
|
158
|
+
function Me(e) {
|
|
159
|
+
Z.push(e);
|
|
160
160
|
}
|
|
161
|
-
const
|
|
162
|
-
let
|
|
161
|
+
const Ae = /* @__PURE__ */ new Set();
|
|
162
|
+
let X = 0;
|
|
163
163
|
function M() {
|
|
164
|
-
if (
|
|
164
|
+
if (X !== 0)
|
|
165
165
|
return;
|
|
166
166
|
const e = oe;
|
|
167
167
|
do {
|
|
168
168
|
try {
|
|
169
|
-
for (;
|
|
170
|
-
const t =
|
|
171
|
-
|
|
169
|
+
for (; X < W.length; ) {
|
|
170
|
+
const t = W[X];
|
|
171
|
+
X++, ie(t), pr(t.$$);
|
|
172
172
|
}
|
|
173
173
|
} catch (t) {
|
|
174
|
-
throw
|
|
174
|
+
throw W.length = 0, X = 0, t;
|
|
175
175
|
}
|
|
176
|
-
for (
|
|
177
|
-
|
|
178
|
-
for (let t = 0; t <
|
|
179
|
-
const r =
|
|
180
|
-
|
|
176
|
+
for (ie(null), W.length = 0, X = 0; Le.length; )
|
|
177
|
+
Le.pop()();
|
|
178
|
+
for (let t = 0; t < Z.length; t += 1) {
|
|
179
|
+
const r = Z[t];
|
|
180
|
+
Ae.has(r) || (Ae.add(r), r());
|
|
181
181
|
}
|
|
182
|
-
|
|
183
|
-
} while (
|
|
184
|
-
for (;
|
|
185
|
-
|
|
186
|
-
|
|
182
|
+
Z.length = 0;
|
|
183
|
+
} while (W.length);
|
|
184
|
+
for (; rt.length; )
|
|
185
|
+
rt.pop()();
|
|
186
|
+
Ie = !1, Ae.clear(), ie(e);
|
|
187
187
|
}
|
|
188
|
-
function
|
|
188
|
+
function pr(e) {
|
|
189
189
|
if (e.fragment !== null) {
|
|
190
|
-
e.update(),
|
|
190
|
+
e.update(), ue(e.before_update);
|
|
191
191
|
const t = e.dirty;
|
|
192
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
192
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Me);
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
|
-
function
|
|
195
|
+
function dr(e) {
|
|
196
196
|
const t = [], r = [];
|
|
197
|
-
|
|
197
|
+
Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
|
|
198
198
|
}
|
|
199
|
-
const
|
|
200
|
-
function
|
|
201
|
-
e && e.i && (
|
|
199
|
+
const br = /* @__PURE__ */ new Set();
|
|
200
|
+
function yr(e, t) {
|
|
201
|
+
e && e.i && (br.delete(e), e.i(t));
|
|
202
202
|
}
|
|
203
|
-
function
|
|
203
|
+
function ce(e) {
|
|
204
204
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
205
205
|
}
|
|
206
|
-
function
|
|
206
|
+
function _r(e, t, r) {
|
|
207
207
|
const { fragment: n, after_update: i } = e.$$;
|
|
208
|
-
n && n.m(t, r),
|
|
209
|
-
const
|
|
210
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...
|
|
211
|
-
}), i.forEach(
|
|
208
|
+
n && n.m(t, r), Me(() => {
|
|
209
|
+
const o = e.$$.on_mount.map(vt).filter(Xe);
|
|
210
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ue(o), e.$$.on_mount = [];
|
|
211
|
+
}), i.forEach(Me);
|
|
212
212
|
}
|
|
213
|
-
function
|
|
213
|
+
function xr(e, t) {
|
|
214
214
|
const r = e.$$;
|
|
215
|
-
r.fragment !== null && (
|
|
215
|
+
r.fragment !== null && (dr(r.after_update), ue(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
216
216
|
}
|
|
217
|
-
function
|
|
218
|
-
e.$$.dirty[0] === -1 && (
|
|
217
|
+
function Er(e, t) {
|
|
218
|
+
e.$$.dirty[0] === -1 && (W.push(e), mr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
219
219
|
}
|
|
220
|
-
function
|
|
220
|
+
function vr(e, t, r, n, i, o, s = null, u = [-1]) {
|
|
221
221
|
const h = oe;
|
|
222
|
-
|
|
222
|
+
ie(e);
|
|
223
223
|
const a = e.$$ = {
|
|
224
224
|
fragment: null,
|
|
225
225
|
ctx: [],
|
|
226
226
|
// state
|
|
227
|
-
props:
|
|
227
|
+
props: o,
|
|
228
228
|
update: L,
|
|
229
229
|
not_equal: i,
|
|
230
|
-
bound:
|
|
230
|
+
bound: et(),
|
|
231
231
|
// lifecycle
|
|
232
232
|
on_mount: [],
|
|
233
233
|
on_destroy: [],
|
|
@@ -236,28 +236,28 @@ function Cr(e, t, r, n, i, s, o = null, u = [-1]) {
|
|
|
236
236
|
after_update: [],
|
|
237
237
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
238
238
|
// everything else
|
|
239
|
-
callbacks:
|
|
239
|
+
callbacks: et(),
|
|
240
240
|
dirty: u,
|
|
241
241
|
skip_bound: !1,
|
|
242
242
|
root: t.target || h.$$.root
|
|
243
243
|
};
|
|
244
|
-
|
|
244
|
+
s && s(a.root);
|
|
245
245
|
let l = !1;
|
|
246
246
|
if (a.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
|
|
247
247
|
const d = p.length ? p[0] : f;
|
|
248
|
-
return a.ctx && i(a.ctx[c], a.ctx[c] = d) && (!a.skip_bound && a.bound[c] && a.bound[c](d), l &&
|
|
249
|
-
}) : [], a.update(), l = !0,
|
|
248
|
+
return a.ctx && i(a.ctx[c], a.ctx[c] = d) && (!a.skip_bound && a.bound[c] && a.bound[c](d), l && Er(e, c)), f;
|
|
249
|
+
}) : [], a.update(), l = !0, ue(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
|
|
250
250
|
if (t.hydrate) {
|
|
251
|
-
const c =
|
|
252
|
-
a.fragment && a.fragment.l(c), c.forEach(
|
|
251
|
+
const c = hr(t.target);
|
|
252
|
+
a.fragment && a.fragment.l(c), c.forEach(k);
|
|
253
253
|
} else
|
|
254
254
|
a.fragment && a.fragment.c();
|
|
255
|
-
t.intro &&
|
|
255
|
+
t.intro && yr(e.$$.fragment), _r(e, t.target, t.anchor), M();
|
|
256
256
|
}
|
|
257
|
-
|
|
257
|
+
ie(h);
|
|
258
258
|
}
|
|
259
|
-
let
|
|
260
|
-
typeof HTMLElement == "function" && (
|
|
259
|
+
let At;
|
|
260
|
+
typeof HTMLElement == "function" && (At = class extends HTMLElement {
|
|
261
261
|
constructor(t, r, n) {
|
|
262
262
|
super();
|
|
263
263
|
/** The Svelte component constructor */
|
|
@@ -294,42 +294,42 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
|
|
|
294
294
|
}
|
|
295
295
|
}
|
|
296
296
|
connectedCallback() {
|
|
297
|
-
return
|
|
297
|
+
return Ke(this, null, function* () {
|
|
298
298
|
if (this.$$cn = !0, !this.$$c) {
|
|
299
|
-
let t = function(
|
|
299
|
+
let t = function(o) {
|
|
300
300
|
return () => {
|
|
301
|
-
let
|
|
301
|
+
let s;
|
|
302
302
|
return {
|
|
303
303
|
c: function() {
|
|
304
|
-
|
|
304
|
+
s = S("slot"), o !== "default" && I(s, "name", o);
|
|
305
305
|
},
|
|
306
306
|
/**
|
|
307
307
|
* @param {HTMLElement} target
|
|
308
308
|
* @param {HTMLElement} [anchor]
|
|
309
309
|
*/
|
|
310
310
|
m: function(a, l) {
|
|
311
|
-
|
|
311
|
+
K(a, s, l);
|
|
312
312
|
},
|
|
313
313
|
d: function(a) {
|
|
314
|
-
a &&
|
|
314
|
+
a && k(s);
|
|
315
315
|
}
|
|
316
316
|
};
|
|
317
317
|
};
|
|
318
318
|
};
|
|
319
319
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
320
320
|
return;
|
|
321
|
-
const r = {}, n =
|
|
322
|
-
for (const
|
|
323
|
-
|
|
324
|
-
for (const
|
|
325
|
-
const
|
|
326
|
-
|
|
321
|
+
const r = {}, n = lr(this);
|
|
322
|
+
for (const o of this.$$s)
|
|
323
|
+
o in n && (r[o] = [t(o)]);
|
|
324
|
+
for (const o of this.attributes) {
|
|
325
|
+
const s = this.$$g_p(o.name);
|
|
326
|
+
s in this.$$d || (this.$$d[s] = me(s, o.value, this.$$p_d, "toProp"));
|
|
327
327
|
}
|
|
328
|
-
for (const
|
|
329
|
-
!(
|
|
328
|
+
for (const o in this.$$p_d)
|
|
329
|
+
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
330
330
|
this.$$c = new this.$$ctor({
|
|
331
331
|
target: this.shadowRoot || this,
|
|
332
|
-
props:
|
|
332
|
+
props: Ye(qe({}, this.$$d), {
|
|
333
333
|
$$slots: r,
|
|
334
334
|
$$scope: {
|
|
335
335
|
ctx: []
|
|
@@ -338,23 +338,23 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
|
|
|
338
338
|
});
|
|
339
339
|
const i = () => {
|
|
340
340
|
this.$$r = !0;
|
|
341
|
-
for (const
|
|
342
|
-
if (this.$$d[
|
|
343
|
-
const
|
|
344
|
-
|
|
345
|
-
this.$$d[
|
|
341
|
+
for (const o in this.$$p_d)
|
|
342
|
+
if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
|
|
343
|
+
const s = me(
|
|
344
|
+
o,
|
|
345
|
+
this.$$d[o],
|
|
346
346
|
this.$$p_d,
|
|
347
347
|
"toAttribute"
|
|
348
348
|
);
|
|
349
|
-
|
|
349
|
+
s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
|
|
350
350
|
}
|
|
351
351
|
this.$$r = !1;
|
|
352
352
|
};
|
|
353
353
|
this.$$c.$$.after_update.push(i), i();
|
|
354
|
-
for (const
|
|
355
|
-
for (const
|
|
356
|
-
const u = this.$$c.$on(
|
|
357
|
-
this.$$l_u.set(
|
|
354
|
+
for (const o in this.$$l)
|
|
355
|
+
for (const s of this.$$l[o]) {
|
|
356
|
+
const u = this.$$c.$on(o, s);
|
|
357
|
+
this.$$l_u.set(s, u);
|
|
358
358
|
}
|
|
359
359
|
this.$$l = {};
|
|
360
360
|
}
|
|
@@ -364,7 +364,7 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
|
|
|
364
364
|
// and setting attributes through setAttribute etc, this is helpful
|
|
365
365
|
attributeChangedCallback(t, r, n) {
|
|
366
366
|
var i;
|
|
367
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
|
367
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = me(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
368
368
|
}
|
|
369
369
|
disconnectedCallback() {
|
|
370
370
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -377,9 +377,9 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
|
|
|
377
377
|
) || t;
|
|
378
378
|
}
|
|
379
379
|
});
|
|
380
|
-
function
|
|
381
|
-
var
|
|
382
|
-
const i = (
|
|
380
|
+
function me(e, t, r, n) {
|
|
381
|
+
var o;
|
|
382
|
+
const i = (o = r[e]) == null ? void 0 : o.type;
|
|
383
383
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
384
384
|
return t;
|
|
385
385
|
if (n === "toAttribute")
|
|
@@ -407,8 +407,8 @@ function pe(e, t, r, n) {
|
|
|
407
407
|
return t;
|
|
408
408
|
}
|
|
409
409
|
}
|
|
410
|
-
function
|
|
411
|
-
let
|
|
410
|
+
function Tr(e, t, r, n, i, o) {
|
|
411
|
+
let s = class extends At {
|
|
412
412
|
constructor() {
|
|
413
413
|
super(e, r, i), this.$$p_d = t;
|
|
414
414
|
}
|
|
@@ -419,26 +419,26 @@ function Hr(e, t, r, n, i, s) {
|
|
|
419
419
|
}
|
|
420
420
|
};
|
|
421
421
|
return Object.keys(t).forEach((u) => {
|
|
422
|
-
Object.defineProperty(
|
|
422
|
+
Object.defineProperty(s.prototype, u, {
|
|
423
423
|
get() {
|
|
424
424
|
return this.$$c && u in this.$$c ? this.$$c[u] : this.$$d[u];
|
|
425
425
|
},
|
|
426
426
|
set(h) {
|
|
427
427
|
var a;
|
|
428
|
-
h =
|
|
428
|
+
h = me(u, h, t), this.$$d[u] = h, (a = this.$$c) == null || a.$set({ [u]: h });
|
|
429
429
|
}
|
|
430
430
|
});
|
|
431
431
|
}), n.forEach((u) => {
|
|
432
|
-
Object.defineProperty(
|
|
432
|
+
Object.defineProperty(s.prototype, u, {
|
|
433
433
|
get() {
|
|
434
434
|
var h;
|
|
435
435
|
return (h = this.$$c) == null ? void 0 : h[u];
|
|
436
436
|
}
|
|
437
437
|
});
|
|
438
438
|
}), e.element = /** @type {any} */
|
|
439
|
-
|
|
439
|
+
s, s;
|
|
440
440
|
}
|
|
441
|
-
class
|
|
441
|
+
class Cr {
|
|
442
442
|
constructor() {
|
|
443
443
|
/**
|
|
444
444
|
* ### PRIVATE API
|
|
@@ -459,7 +459,7 @@ class Sr {
|
|
|
459
459
|
}
|
|
460
460
|
/** @returns {void} */
|
|
461
461
|
$destroy() {
|
|
462
|
-
|
|
462
|
+
xr(this, 1), this.$destroy = L;
|
|
463
463
|
}
|
|
464
464
|
/**
|
|
465
465
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -468,7 +468,7 @@ class Sr {
|
|
|
468
468
|
* @returns {() => void}
|
|
469
469
|
*/
|
|
470
470
|
$on(t, r) {
|
|
471
|
-
if (!
|
|
471
|
+
if (!Xe(r))
|
|
472
472
|
return L;
|
|
473
473
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
474
474
|
return n.push(r), () => {
|
|
@@ -481,49 +481,49 @@ class Sr {
|
|
|
481
481
|
* @returns {void}
|
|
482
482
|
*/
|
|
483
483
|
$set(t) {
|
|
484
|
-
this.$$set && !
|
|
484
|
+
this.$$set && !ir(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
485
485
|
}
|
|
486
486
|
}
|
|
487
|
-
const
|
|
488
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
489
|
-
const
|
|
490
|
-
function
|
|
487
|
+
const Hr = "4";
|
|
488
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Hr);
|
|
489
|
+
const z = [];
|
|
490
|
+
function Ar(e, t) {
|
|
491
491
|
return {
|
|
492
|
-
subscribe:
|
|
492
|
+
subscribe: xe(e, t).subscribe
|
|
493
493
|
};
|
|
494
494
|
}
|
|
495
|
-
function
|
|
495
|
+
function xe(e, t = L) {
|
|
496
496
|
let r;
|
|
497
497
|
const n = /* @__PURE__ */ new Set();
|
|
498
498
|
function i(u) {
|
|
499
|
-
if (
|
|
500
|
-
const h = !
|
|
499
|
+
if (Tt(e, u) && (e = u, r)) {
|
|
500
|
+
const h = !z.length;
|
|
501
501
|
for (const a of n)
|
|
502
|
-
a[1](),
|
|
502
|
+
a[1](), z.push(a, e);
|
|
503
503
|
if (h) {
|
|
504
|
-
for (let a = 0; a <
|
|
505
|
-
|
|
506
|
-
|
|
504
|
+
for (let a = 0; a < z.length; a += 2)
|
|
505
|
+
z[a][0](z[a + 1]);
|
|
506
|
+
z.length = 0;
|
|
507
507
|
}
|
|
508
508
|
}
|
|
509
509
|
}
|
|
510
|
-
function
|
|
510
|
+
function o(u) {
|
|
511
511
|
i(u(e));
|
|
512
512
|
}
|
|
513
|
-
function
|
|
513
|
+
function s(u, h = L) {
|
|
514
514
|
const a = [u, h];
|
|
515
|
-
return n.add(a), n.size === 1 && (r = t(i,
|
|
515
|
+
return n.add(a), n.size === 1 && (r = t(i, o) || L), u(e), () => {
|
|
516
516
|
n.delete(a), n.size === 0 && r && (r(), r = null);
|
|
517
517
|
};
|
|
518
518
|
}
|
|
519
|
-
return { set: i, update:
|
|
519
|
+
return { set: i, update: o, subscribe: s };
|
|
520
520
|
}
|
|
521
|
-
function
|
|
521
|
+
function ee(e, t, r) {
|
|
522
522
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
523
523
|
if (!i.every(Boolean))
|
|
524
524
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
525
|
-
const
|
|
526
|
-
return
|
|
525
|
+
const o = t.length < 2;
|
|
526
|
+
return Ar(r, (s, u) => {
|
|
527
527
|
let h = !1;
|
|
528
528
|
const a = [];
|
|
529
529
|
let l = 0, c = L;
|
|
@@ -531,10 +531,10 @@ function te(e, t, r) {
|
|
|
531
531
|
if (l)
|
|
532
532
|
return;
|
|
533
533
|
c();
|
|
534
|
-
const d = t(n ? a[0] : a,
|
|
535
|
-
|
|
534
|
+
const d = t(n ? a[0] : a, s, u);
|
|
535
|
+
o ? s(d) : c = Xe(d) ? d : L;
|
|
536
536
|
}, p = i.map(
|
|
537
|
-
(d, g) =>
|
|
537
|
+
(d, g) => Ct(
|
|
538
538
|
d,
|
|
539
539
|
(E) => {
|
|
540
540
|
a[g] = E, l &= ~(1 << g), h && f();
|
|
@@ -545,112 +545,126 @@ function te(e, t, r) {
|
|
|
545
545
|
)
|
|
546
546
|
);
|
|
547
547
|
return h = !0, f(), function() {
|
|
548
|
-
|
|
548
|
+
ue(p), c(), h = !1;
|
|
549
549
|
};
|
|
550
550
|
});
|
|
551
551
|
}
|
|
552
|
-
function
|
|
552
|
+
function Br(e) {
|
|
553
553
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
554
554
|
}
|
|
555
|
-
var
|
|
556
|
-
return
|
|
555
|
+
var Sr = function(t) {
|
|
556
|
+
return wr(t) && !Or(t);
|
|
557
557
|
};
|
|
558
|
-
function
|
|
558
|
+
function wr(e) {
|
|
559
559
|
return !!e && typeof e == "object";
|
|
560
560
|
}
|
|
561
|
-
function
|
|
561
|
+
function Or(e) {
|
|
562
562
|
var t = Object.prototype.toString.call(e);
|
|
563
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
563
|
+
return t === "[object RegExp]" || t === "[object Date]" || Lr(e);
|
|
564
564
|
}
|
|
565
|
-
var
|
|
566
|
-
function
|
|
567
|
-
return e.$$typeof ===
|
|
565
|
+
var Pr = typeof Symbol == "function" && Symbol.for, Nr = Pr ? Symbol.for("react.element") : 60103;
|
|
566
|
+
function Lr(e) {
|
|
567
|
+
return e.$$typeof === Nr;
|
|
568
568
|
}
|
|
569
|
-
function
|
|
569
|
+
function Ir(e) {
|
|
570
570
|
return Array.isArray(e) ? [] : {};
|
|
571
571
|
}
|
|
572
|
-
function
|
|
573
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
572
|
+
function se(e, t) {
|
|
573
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Q(Ir(e), e, t) : e;
|
|
574
574
|
}
|
|
575
|
-
function
|
|
575
|
+
function Mr(e, t, r) {
|
|
576
576
|
return e.concat(t).map(function(n) {
|
|
577
|
-
return
|
|
577
|
+
return se(n, r);
|
|
578
578
|
});
|
|
579
579
|
}
|
|
580
|
-
function
|
|
580
|
+
function $r(e, t) {
|
|
581
581
|
if (!t.customMerge)
|
|
582
|
-
return
|
|
582
|
+
return Q;
|
|
583
583
|
var r = t.customMerge(e);
|
|
584
|
-
return typeof r == "function" ? r :
|
|
584
|
+
return typeof r == "function" ? r : Q;
|
|
585
585
|
}
|
|
586
|
-
function
|
|
586
|
+
function Rr(e) {
|
|
587
587
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
588
588
|
return Object.propertyIsEnumerable.call(e, t);
|
|
589
589
|
}) : [];
|
|
590
590
|
}
|
|
591
|
-
function
|
|
592
|
-
return Object.keys(e).concat(
|
|
591
|
+
function nt(e) {
|
|
592
|
+
return Object.keys(e).concat(Rr(e));
|
|
593
593
|
}
|
|
594
|
-
function
|
|
594
|
+
function Bt(e, t) {
|
|
595
595
|
try {
|
|
596
596
|
return t in e;
|
|
597
597
|
} catch (r) {
|
|
598
598
|
return !1;
|
|
599
599
|
}
|
|
600
600
|
}
|
|
601
|
-
function
|
|
602
|
-
return
|
|
601
|
+
function Ur(e, t) {
|
|
602
|
+
return Bt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
603
603
|
}
|
|
604
|
-
function
|
|
604
|
+
function Gr(e, t, r) {
|
|
605
605
|
var n = {};
|
|
606
|
-
return r.isMergeableObject(e) &&
|
|
607
|
-
n[i] =
|
|
608
|
-
}),
|
|
609
|
-
|
|
606
|
+
return r.isMergeableObject(e) && nt(e).forEach(function(i) {
|
|
607
|
+
n[i] = se(e[i], r);
|
|
608
|
+
}), nt(t).forEach(function(i) {
|
|
609
|
+
Ur(e, i) || (Bt(e, i) && r.isMergeableObject(t[i]) ? n[i] = $r(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
|
|
610
610
|
}), n;
|
|
611
611
|
}
|
|
612
|
-
function
|
|
613
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
614
|
-
var n = Array.isArray(t), i = Array.isArray(e),
|
|
615
|
-
return
|
|
612
|
+
function Q(e, t, r) {
|
|
613
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Mr, r.isMergeableObject = r.isMergeableObject || Sr, r.cloneUnlessOtherwiseSpecified = se;
|
|
614
|
+
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
615
|
+
return o ? n ? r.arrayMerge(e, t, r) : Gr(e, t, r) : se(t, r);
|
|
616
616
|
}
|
|
617
|
-
|
|
617
|
+
Q.all = function(t, r) {
|
|
618
618
|
if (!Array.isArray(t))
|
|
619
619
|
throw new Error("first argument should be an array");
|
|
620
620
|
return t.reduce(function(n, i) {
|
|
621
|
-
return
|
|
621
|
+
return Q(n, i, r);
|
|
622
622
|
}, {});
|
|
623
623
|
};
|
|
624
|
-
var
|
|
625
|
-
const
|
|
626
|
-
|
|
627
|
-
|
|
624
|
+
var Dr = Q, Fr = Dr;
|
|
625
|
+
const jr = /* @__PURE__ */ Br(Fr);
|
|
626
|
+
/*! *****************************************************************************
|
|
627
|
+
Copyright (c) Microsoft Corporation.
|
|
628
|
+
|
|
629
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
630
|
+
purpose with or without fee is hereby granted.
|
|
631
|
+
|
|
632
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
633
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
634
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
635
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
636
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
637
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
638
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
639
|
+
***************************************************************************** */
|
|
640
|
+
var $e = function(e, t) {
|
|
641
|
+
return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
628
642
|
r.__proto__ = n;
|
|
629
643
|
} || function(r, n) {
|
|
630
644
|
for (var i in n)
|
|
631
645
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
632
|
-
},
|
|
646
|
+
}, $e(e, t);
|
|
633
647
|
};
|
|
634
|
-
function
|
|
648
|
+
function Ee(e, t) {
|
|
635
649
|
if (typeof t != "function" && t !== null)
|
|
636
650
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
637
|
-
|
|
651
|
+
$e(e, t);
|
|
638
652
|
function r() {
|
|
639
653
|
this.constructor = e;
|
|
640
654
|
}
|
|
641
655
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
642
656
|
}
|
|
643
|
-
var
|
|
644
|
-
return
|
|
657
|
+
var x = function() {
|
|
658
|
+
return x = Object.assign || function(t) {
|
|
645
659
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
646
660
|
r = arguments[n];
|
|
647
|
-
for (var
|
|
648
|
-
Object.prototype.hasOwnProperty.call(r,
|
|
661
|
+
for (var o in r)
|
|
662
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
649
663
|
}
|
|
650
664
|
return t;
|
|
651
|
-
},
|
|
665
|
+
}, x.apply(this, arguments);
|
|
652
666
|
};
|
|
653
|
-
function
|
|
667
|
+
function kr(e, t) {
|
|
654
668
|
var r = {};
|
|
655
669
|
for (var n in e)
|
|
656
670
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -659,43 +673,43 @@ function Xr(e, t) {
|
|
|
659
673
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
660
674
|
return r;
|
|
661
675
|
}
|
|
662
|
-
function
|
|
663
|
-
if (
|
|
664
|
-
for (var n = 0, i = t.length,
|
|
665
|
-
(
|
|
666
|
-
return e.concat(
|
|
676
|
+
function Be(e, t, r) {
|
|
677
|
+
if (arguments.length === 2)
|
|
678
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
679
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
680
|
+
return e.concat(o || t);
|
|
667
681
|
}
|
|
668
|
-
function
|
|
669
|
-
var r = t && t.cache ? t.cache :
|
|
682
|
+
function Se(e, t) {
|
|
683
|
+
var r = t && t.cache ? t.cache : Jr, n = t && t.serializer ? t.serializer : Zr, i = t && t.strategy ? t.strategy : zr;
|
|
670
684
|
return i(e, {
|
|
671
685
|
cache: r,
|
|
672
686
|
serializer: n
|
|
673
687
|
});
|
|
674
688
|
}
|
|
675
|
-
function
|
|
689
|
+
function Vr(e) {
|
|
676
690
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
677
691
|
}
|
|
678
|
-
function
|
|
679
|
-
var i =
|
|
680
|
-
return typeof
|
|
692
|
+
function Xr(e, t, r, n) {
|
|
693
|
+
var i = Vr(n) ? n : r(n), o = t.get(i);
|
|
694
|
+
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
681
695
|
}
|
|
682
|
-
function
|
|
683
|
-
var n = Array.prototype.slice.call(arguments, 3), i = r(n),
|
|
684
|
-
return typeof
|
|
696
|
+
function St(e, t, r) {
|
|
697
|
+
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
698
|
+
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
685
699
|
}
|
|
686
|
-
function
|
|
700
|
+
function wt(e, t, r, n, i) {
|
|
687
701
|
return r.bind(t, e, n, i);
|
|
688
702
|
}
|
|
689
|
-
function
|
|
690
|
-
var r = e.length === 1 ?
|
|
691
|
-
return
|
|
703
|
+
function zr(e, t) {
|
|
704
|
+
var r = e.length === 1 ? Xr : St;
|
|
705
|
+
return wt(e, this, r, t.cache.create(), t.serializer);
|
|
692
706
|
}
|
|
693
|
-
function
|
|
694
|
-
return
|
|
707
|
+
function Wr(e, t) {
|
|
708
|
+
return wt(e, this, St, t.cache.create(), t.serializer);
|
|
695
709
|
}
|
|
696
|
-
var
|
|
710
|
+
var Zr = function() {
|
|
697
711
|
return JSON.stringify(arguments);
|
|
698
|
-
},
|
|
712
|
+
}, Qr = (
|
|
699
713
|
/** @class */
|
|
700
714
|
function() {
|
|
701
715
|
function e() {
|
|
@@ -707,71 +721,61 @@ var Jr = function() {
|
|
|
707
721
|
this.cache[t] = r;
|
|
708
722
|
}, e;
|
|
709
723
|
}()
|
|
710
|
-
),
|
|
724
|
+
), Jr = {
|
|
711
725
|
create: function() {
|
|
712
|
-
return new
|
|
726
|
+
return new Qr();
|
|
713
727
|
}
|
|
714
|
-
},
|
|
715
|
-
variadic:
|
|
716
|
-
},
|
|
717
|
-
return _e = Object.assign || function(t) {
|
|
718
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
719
|
-
r = arguments[n];
|
|
720
|
-
for (var s in r)
|
|
721
|
-
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
722
|
-
}
|
|
723
|
-
return t;
|
|
724
|
-
}, _e.apply(this, arguments);
|
|
725
|
-
};
|
|
726
|
-
var y;
|
|
728
|
+
}, we = {
|
|
729
|
+
variadic: Wr
|
|
730
|
+
}, y;
|
|
727
731
|
(function(e) {
|
|
728
732
|
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";
|
|
729
733
|
})(y || (y = {}));
|
|
730
|
-
var
|
|
734
|
+
var T;
|
|
731
735
|
(function(e) {
|
|
732
736
|
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";
|
|
733
|
-
})(
|
|
734
|
-
var
|
|
737
|
+
})(T || (T = {}));
|
|
738
|
+
var J;
|
|
735
739
|
(function(e) {
|
|
736
740
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
737
|
-
})(
|
|
738
|
-
function
|
|
739
|
-
return e.type ===
|
|
741
|
+
})(J || (J = {}));
|
|
742
|
+
function it(e) {
|
|
743
|
+
return e.type === T.literal;
|
|
744
|
+
}
|
|
745
|
+
function qr(e) {
|
|
746
|
+
return e.type === T.argument;
|
|
740
747
|
}
|
|
741
|
-
function
|
|
742
|
-
return e.type ===
|
|
748
|
+
function Ot(e) {
|
|
749
|
+
return e.type === T.number;
|
|
750
|
+
}
|
|
751
|
+
function Pt(e) {
|
|
752
|
+
return e.type === T.date;
|
|
743
753
|
}
|
|
744
754
|
function Nt(e) {
|
|
745
|
-
return e.type ===
|
|
755
|
+
return e.type === T.time;
|
|
746
756
|
}
|
|
747
757
|
function Lt(e) {
|
|
748
|
-
return e.type ===
|
|
758
|
+
return e.type === T.select;
|
|
749
759
|
}
|
|
750
760
|
function It(e) {
|
|
751
|
-
return e.type ===
|
|
761
|
+
return e.type === T.plural;
|
|
762
|
+
}
|
|
763
|
+
function Yr(e) {
|
|
764
|
+
return e.type === T.pound;
|
|
752
765
|
}
|
|
753
766
|
function Mt(e) {
|
|
754
|
-
return e.type ===
|
|
767
|
+
return e.type === T.tag;
|
|
755
768
|
}
|
|
756
769
|
function $t(e) {
|
|
757
|
-
return e.type ===
|
|
758
|
-
}
|
|
759
|
-
function en(e) {
|
|
760
|
-
return e.type === v.pound;
|
|
761
|
-
}
|
|
762
|
-
function Rt(e) {
|
|
763
|
-
return e.type === v.tag;
|
|
764
|
-
}
|
|
765
|
-
function Ut(e) {
|
|
766
|
-
return !!(e && typeof e == "object" && e.type === q.number);
|
|
770
|
+
return !!(e && typeof e == "object" && e.type === J.number);
|
|
767
771
|
}
|
|
768
|
-
function
|
|
769
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
772
|
+
function Re(e) {
|
|
773
|
+
return !!(e && typeof e == "object" && e.type === J.dateTime);
|
|
770
774
|
}
|
|
771
|
-
var
|
|
772
|
-
function
|
|
775
|
+
var Rt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Kr = /(?:[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;
|
|
776
|
+
function en(e) {
|
|
773
777
|
var t = {};
|
|
774
|
-
return e.replace(
|
|
778
|
+
return e.replace(Kr, function(r) {
|
|
775
779
|
var n = r.length;
|
|
776
780
|
switch (r[0]) {
|
|
777
781
|
case "G":
|
|
@@ -860,27 +864,17 @@ function rn(e) {
|
|
|
860
864
|
return "";
|
|
861
865
|
}), t;
|
|
862
866
|
}
|
|
863
|
-
var
|
|
864
|
-
|
|
865
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
866
|
-
r = arguments[n];
|
|
867
|
-
for (var s in r)
|
|
868
|
-
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
869
|
-
}
|
|
870
|
-
return t;
|
|
871
|
-
}, C.apply(this, arguments);
|
|
872
|
-
};
|
|
873
|
-
var nn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
874
|
-
function sn(e) {
|
|
867
|
+
var tn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
868
|
+
function rn(e) {
|
|
875
869
|
if (e.length === 0)
|
|
876
870
|
throw new Error("Number skeleton cannot be empty");
|
|
877
|
-
for (var t = e.split(
|
|
871
|
+
for (var t = e.split(tn).filter(function(f) {
|
|
878
872
|
return f.length > 0;
|
|
879
873
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
880
|
-
var
|
|
881
|
-
if (
|
|
874
|
+
var o = i[n], s = o.split("/");
|
|
875
|
+
if (s.length === 0)
|
|
882
876
|
throw new Error("Invalid number skeleton");
|
|
883
|
-
for (var u =
|
|
877
|
+
for (var u = s[0], h = s.slice(1), a = 0, l = h; a < l.length; a++) {
|
|
884
878
|
var c = l[a];
|
|
885
879
|
if (c.length === 0)
|
|
886
880
|
throw new Error("Invalid number skeleton");
|
|
@@ -889,17 +883,17 @@ function sn(e) {
|
|
|
889
883
|
}
|
|
890
884
|
return r;
|
|
891
885
|
}
|
|
892
|
-
function
|
|
886
|
+
function nn(e) {
|
|
893
887
|
return e.replace(/^(.*?)-/, "");
|
|
894
888
|
}
|
|
895
|
-
var
|
|
896
|
-
function
|
|
889
|
+
var ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ut = /^(@+)?(\+|#+)?[rs]?$/g, on = /(\*)(0+)|(#+)(0+)|(0+)/g, Gt = /^(0+)$/;
|
|
890
|
+
function st(e) {
|
|
897
891
|
var t = {};
|
|
898
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
892
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ut, function(r, n, i) {
|
|
899
893
|
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)), "";
|
|
900
894
|
}), t;
|
|
901
895
|
}
|
|
902
|
-
function
|
|
896
|
+
function Dt(e) {
|
|
903
897
|
switch (e) {
|
|
904
898
|
case "sign-auto":
|
|
905
899
|
return {
|
|
@@ -939,7 +933,7 @@ function jt(e) {
|
|
|
939
933
|
};
|
|
940
934
|
}
|
|
941
935
|
}
|
|
942
|
-
function
|
|
936
|
+
function sn(e) {
|
|
943
937
|
var t;
|
|
944
938
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
945
939
|
notation: "engineering"
|
|
@@ -947,17 +941,17 @@ function un(e) {
|
|
|
947
941
|
notation: "scientific"
|
|
948
942
|
}, e = e.slice(1)), t) {
|
|
949
943
|
var r = e.slice(0, 2);
|
|
950
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
944
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Gt.test(e))
|
|
951
945
|
throw new Error("Malformed concise eng/scientific notation");
|
|
952
946
|
t.minimumIntegerDigits = e.length;
|
|
953
947
|
}
|
|
954
948
|
return t;
|
|
955
949
|
}
|
|
956
|
-
function
|
|
957
|
-
var t = {}, r =
|
|
950
|
+
function at(e) {
|
|
951
|
+
var t = {}, r = Dt(e);
|
|
958
952
|
return r || t;
|
|
959
953
|
}
|
|
960
|
-
function
|
|
954
|
+
function an(e) {
|
|
961
955
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
962
956
|
var i = n[r];
|
|
963
957
|
switch (i.stem) {
|
|
@@ -981,7 +975,7 @@ function hn(e) {
|
|
|
981
975
|
continue;
|
|
982
976
|
case "measure-unit":
|
|
983
977
|
case "unit":
|
|
984
|
-
t.style = "unit", t.unit =
|
|
978
|
+
t.style = "unit", t.unit = nn(i.options[0]);
|
|
985
979
|
continue;
|
|
986
980
|
case "compact-short":
|
|
987
981
|
case "K":
|
|
@@ -992,13 +986,13 @@ function hn(e) {
|
|
|
992
986
|
t.notation = "compact", t.compactDisplay = "long";
|
|
993
987
|
continue;
|
|
994
988
|
case "scientific":
|
|
995
|
-
t =
|
|
996
|
-
return
|
|
989
|
+
t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(h, a) {
|
|
990
|
+
return x(x({}, h), at(a));
|
|
997
991
|
}, {}));
|
|
998
992
|
continue;
|
|
999
993
|
case "engineering":
|
|
1000
|
-
t =
|
|
1001
|
-
return
|
|
994
|
+
t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(h, a) {
|
|
995
|
+
return x(x({}, h), at(a));
|
|
1002
996
|
}, {}));
|
|
1003
997
|
continue;
|
|
1004
998
|
case "notation-simple":
|
|
@@ -1043,7 +1037,7 @@ function hn(e) {
|
|
|
1043
1037
|
case "integer-width":
|
|
1044
1038
|
if (i.options.length > 1)
|
|
1045
1039
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1046
|
-
i.options[0].replace(
|
|
1040
|
+
i.options[0].replace(on, function(h, a, l, c, f, p) {
|
|
1047
1041
|
if (a)
|
|
1048
1042
|
t.minimumIntegerDigits = l.length;
|
|
1049
1043
|
else {
|
|
@@ -1056,32 +1050,32 @@ function hn(e) {
|
|
|
1056
1050
|
});
|
|
1057
1051
|
continue;
|
|
1058
1052
|
}
|
|
1059
|
-
if (
|
|
1053
|
+
if (Gt.test(i.stem)) {
|
|
1060
1054
|
t.minimumIntegerDigits = i.stem.length;
|
|
1061
1055
|
continue;
|
|
1062
1056
|
}
|
|
1063
|
-
if (
|
|
1057
|
+
if (ot.test(i.stem)) {
|
|
1064
1058
|
if (i.options.length > 1)
|
|
1065
1059
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1066
|
-
i.stem.replace(
|
|
1060
|
+
i.stem.replace(ot, function(h, a, l, c, f, p) {
|
|
1067
1061
|
return l === "*" ? t.minimumFractionDigits = a.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
|
|
1068
1062
|
});
|
|
1069
|
-
var
|
|
1070
|
-
|
|
1063
|
+
var o = i.options[0];
|
|
1064
|
+
o === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = x(x({}, t), st(o)));
|
|
1071
1065
|
continue;
|
|
1072
1066
|
}
|
|
1073
|
-
if (
|
|
1074
|
-
t =
|
|
1067
|
+
if (Ut.test(i.stem)) {
|
|
1068
|
+
t = x(x({}, t), st(i.stem));
|
|
1075
1069
|
continue;
|
|
1076
1070
|
}
|
|
1077
|
-
var
|
|
1078
|
-
|
|
1079
|
-
var u =
|
|
1080
|
-
u && (t =
|
|
1071
|
+
var s = Dt(i.stem);
|
|
1072
|
+
s && (t = x(x({}, t), s));
|
|
1073
|
+
var u = sn(i.stem);
|
|
1074
|
+
u && (t = x(x({}, t), u));
|
|
1081
1075
|
}
|
|
1082
1076
|
return t;
|
|
1083
1077
|
}
|
|
1084
|
-
var
|
|
1078
|
+
var ge = {
|
|
1085
1079
|
"001": [
|
|
1086
1080
|
"H",
|
|
1087
1081
|
"h"
|
|
@@ -2496,23 +2490,23 @@ var me = {
|
|
|
2496
2490
|
"h"
|
|
2497
2491
|
]
|
|
2498
2492
|
};
|
|
2499
|
-
function
|
|
2493
|
+
function un(e, t) {
|
|
2500
2494
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2501
2495
|
var i = e.charAt(n);
|
|
2502
2496
|
if (i === "j") {
|
|
2503
|
-
for (var
|
|
2504
|
-
|
|
2505
|
-
var
|
|
2497
|
+
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2498
|
+
o++, n++;
|
|
2499
|
+
var s = 1 + (o & 1), u = o < 2 ? 1 : 3 + (o >> 1), h = "a", a = hn(t);
|
|
2506
2500
|
for ((a == "H" || a == "k") && (u = 0); u-- > 0; )
|
|
2507
2501
|
r += h;
|
|
2508
|
-
for (;
|
|
2502
|
+
for (; s-- > 0; )
|
|
2509
2503
|
r = a + r;
|
|
2510
2504
|
} else
|
|
2511
2505
|
i === "J" ? r += "H" : r += i;
|
|
2512
2506
|
}
|
|
2513
2507
|
return r;
|
|
2514
2508
|
}
|
|
2515
|
-
function
|
|
2509
|
+
function hn(e) {
|
|
2516
2510
|
var t = e.hourCycle;
|
|
2517
2511
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2518
2512
|
e.hourCycles && // @ts-ignore
|
|
@@ -2531,23 +2525,23 @@ function fn(e) {
|
|
|
2531
2525
|
}
|
|
2532
2526
|
var r = e.language, n;
|
|
2533
2527
|
r !== "root" && (n = e.maximize().region);
|
|
2534
|
-
var i =
|
|
2528
|
+
var i = ge[n || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
|
|
2535
2529
|
return i[0];
|
|
2536
2530
|
}
|
|
2537
|
-
var
|
|
2531
|
+
var Oe, ln = new RegExp("^".concat(Rt.source, "*")), fn = new RegExp("".concat(Rt.source, "*$"));
|
|
2538
2532
|
function _(e, t) {
|
|
2539
2533
|
return { start: e, end: t };
|
|
2540
2534
|
}
|
|
2541
|
-
var
|
|
2535
|
+
var cn = !!String.prototype.startsWith && "_a".startsWith("a", 1), gn = !!String.fromCodePoint, mn = !!Object.fromEntries, pn = !!String.prototype.codePointAt, dn = !!String.prototype.trimStart, bn = !!String.prototype.trimEnd, yn = !!Number.isSafeInteger, _n = yn ? Number.isSafeInteger : function(e) {
|
|
2542
2536
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2543
|
-
},
|
|
2537
|
+
}, Ue = !0;
|
|
2544
2538
|
try {
|
|
2545
|
-
var
|
|
2546
|
-
|
|
2539
|
+
var xn = jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2540
|
+
Ue = ((Oe = xn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
|
|
2547
2541
|
} catch (e) {
|
|
2548
|
-
|
|
2542
|
+
Ue = !1;
|
|
2549
2543
|
}
|
|
2550
|
-
var
|
|
2544
|
+
var ut = cn ? (
|
|
2551
2545
|
// Native
|
|
2552
2546
|
function(t, r, n) {
|
|
2553
2547
|
return t.startsWith(r, n);
|
|
@@ -2557,31 +2551,31 @@ var lt = mn ? (
|
|
|
2557
2551
|
function(t, r, n) {
|
|
2558
2552
|
return t.slice(n, n + r.length) === r;
|
|
2559
2553
|
}
|
|
2560
|
-
),
|
|
2554
|
+
), Ge = gn ? String.fromCodePoint : (
|
|
2561
2555
|
// IE11
|
|
2562
2556
|
function() {
|
|
2563
2557
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
2564
2558
|
t[r] = arguments[r];
|
|
2565
|
-
for (var n = "", i = t.length,
|
|
2566
|
-
if (
|
|
2567
|
-
throw RangeError(
|
|
2568
|
-
n +=
|
|
2559
|
+
for (var n = "", i = t.length, o = 0, s; i > o; ) {
|
|
2560
|
+
if (s = t[o++], s > 1114111)
|
|
2561
|
+
throw RangeError(s + " is not a valid code point");
|
|
2562
|
+
n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
|
|
2569
2563
|
}
|
|
2570
2564
|
return n;
|
|
2571
2565
|
}
|
|
2572
|
-
),
|
|
2566
|
+
), ht = (
|
|
2573
2567
|
// native
|
|
2574
|
-
|
|
2568
|
+
mn ? Object.fromEntries : (
|
|
2575
2569
|
// Ponyfill
|
|
2576
2570
|
function(t) {
|
|
2577
2571
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
2578
|
-
var
|
|
2579
|
-
r[
|
|
2572
|
+
var o = i[n], s = o[0], u = o[1];
|
|
2573
|
+
r[s] = u;
|
|
2580
2574
|
}
|
|
2581
2575
|
return r;
|
|
2582
2576
|
}
|
|
2583
2577
|
)
|
|
2584
|
-
),
|
|
2578
|
+
), Ft = pn ? (
|
|
2585
2579
|
// Native
|
|
2586
2580
|
function(t, r) {
|
|
2587
2581
|
return t.codePointAt(r);
|
|
@@ -2591,11 +2585,11 @@ var lt = mn ? (
|
|
|
2591
2585
|
function(t, r) {
|
|
2592
2586
|
var n = t.length;
|
|
2593
2587
|
if (!(r < 0 || r >= n)) {
|
|
2594
|
-
var i = t.charCodeAt(r),
|
|
2595
|
-
return i < 55296 || i > 56319 || r + 1 === n || (
|
|
2588
|
+
var i = t.charCodeAt(r), o;
|
|
2589
|
+
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
2596
2590
|
}
|
|
2597
2591
|
}
|
|
2598
|
-
),
|
|
2592
|
+
), En = dn ? (
|
|
2599
2593
|
// Native
|
|
2600
2594
|
function(t) {
|
|
2601
2595
|
return t.trimStart();
|
|
@@ -2603,9 +2597,9 @@ var lt = mn ? (
|
|
|
2603
2597
|
) : (
|
|
2604
2598
|
// Ponyfill
|
|
2605
2599
|
function(t) {
|
|
2606
|
-
return t.replace(
|
|
2600
|
+
return t.replace(ln, "");
|
|
2607
2601
|
}
|
|
2608
|
-
),
|
|
2602
|
+
), vn = bn ? (
|
|
2609
2603
|
// Native
|
|
2610
2604
|
function(t) {
|
|
2611
2605
|
return t.trimEnd();
|
|
@@ -2613,32 +2607,32 @@ var lt = mn ? (
|
|
|
2613
2607
|
) : (
|
|
2614
2608
|
// Ponyfill
|
|
2615
2609
|
function(t) {
|
|
2616
|
-
return t.replace(
|
|
2610
|
+
return t.replace(fn, "");
|
|
2617
2611
|
}
|
|
2618
2612
|
);
|
|
2619
|
-
function
|
|
2613
|
+
function jt(e, t) {
|
|
2620
2614
|
return new RegExp(e, t);
|
|
2621
2615
|
}
|
|
2622
|
-
var
|
|
2623
|
-
if (
|
|
2624
|
-
var
|
|
2625
|
-
|
|
2616
|
+
var De;
|
|
2617
|
+
if (Ue) {
|
|
2618
|
+
var lt = jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2619
|
+
De = function(t, r) {
|
|
2626
2620
|
var n;
|
|
2627
|
-
|
|
2628
|
-
var i =
|
|
2621
|
+
lt.lastIndex = r;
|
|
2622
|
+
var i = lt.exec(t);
|
|
2629
2623
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2630
2624
|
};
|
|
2631
2625
|
} else
|
|
2632
|
-
|
|
2626
|
+
De = function(t, r) {
|
|
2633
2627
|
for (var n = []; ; ) {
|
|
2634
|
-
var i =
|
|
2635
|
-
if (i === void 0 ||
|
|
2628
|
+
var i = Ft(t, r);
|
|
2629
|
+
if (i === void 0 || kt(i) || An(i))
|
|
2636
2630
|
break;
|
|
2637
2631
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2638
2632
|
}
|
|
2639
|
-
return
|
|
2633
|
+
return Ge.apply(void 0, n);
|
|
2640
2634
|
};
|
|
2641
|
-
var
|
|
2635
|
+
var Tn = (
|
|
2642
2636
|
/** @class */
|
|
2643
2637
|
function() {
|
|
2644
2638
|
function e(t, r) {
|
|
@@ -2650,35 +2644,35 @@ var Hn = (
|
|
|
2650
2644
|
return this.parseMessage(0, "", !1);
|
|
2651
2645
|
}, e.prototype.parseMessage = function(t, r, n) {
|
|
2652
2646
|
for (var i = []; !this.isEOF(); ) {
|
|
2653
|
-
var
|
|
2654
|
-
if (
|
|
2655
|
-
var
|
|
2656
|
-
if (
|
|
2657
|
-
return
|
|
2658
|
-
i.push(
|
|
2647
|
+
var o = this.char();
|
|
2648
|
+
if (o === 123) {
|
|
2649
|
+
var s = this.parseArgument(t, n);
|
|
2650
|
+
if (s.err)
|
|
2651
|
+
return s;
|
|
2652
|
+
i.push(s.val);
|
|
2659
2653
|
} else {
|
|
2660
|
-
if (
|
|
2654
|
+
if (o === 125 && t > 0)
|
|
2661
2655
|
break;
|
|
2662
|
-
if (
|
|
2656
|
+
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
2663
2657
|
var u = this.clonePosition();
|
|
2664
2658
|
this.bump(), i.push({
|
|
2665
|
-
type:
|
|
2659
|
+
type: T.pound,
|
|
2666
2660
|
location: _(u, this.clonePosition())
|
|
2667
2661
|
});
|
|
2668
|
-
} else if (
|
|
2662
|
+
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2669
2663
|
if (n)
|
|
2670
2664
|
break;
|
|
2671
2665
|
return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
|
|
2672
|
-
} else if (
|
|
2673
|
-
var
|
|
2674
|
-
if (
|
|
2675
|
-
return
|
|
2676
|
-
i.push(
|
|
2666
|
+
} else if (o === 60 && !this.ignoreTag && Fe(this.peek() || 0)) {
|
|
2667
|
+
var s = this.parseTag(t, r);
|
|
2668
|
+
if (s.err)
|
|
2669
|
+
return s;
|
|
2670
|
+
i.push(s.val);
|
|
2677
2671
|
} else {
|
|
2678
|
-
var
|
|
2679
|
-
if (
|
|
2680
|
-
return
|
|
2681
|
-
i.push(
|
|
2672
|
+
var s = this.parseLiteral(t, r);
|
|
2673
|
+
if (s.err)
|
|
2674
|
+
return s;
|
|
2675
|
+
i.push(s.val);
|
|
2682
2676
|
}
|
|
2683
2677
|
}
|
|
2684
2678
|
}
|
|
@@ -2690,26 +2684,26 @@ var Hn = (
|
|
|
2690
2684
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2691
2685
|
return {
|
|
2692
2686
|
val: {
|
|
2693
|
-
type:
|
|
2687
|
+
type: T.literal,
|
|
2694
2688
|
value: "<".concat(i, "/>"),
|
|
2695
2689
|
location: _(n, this.clonePosition())
|
|
2696
2690
|
},
|
|
2697
2691
|
err: null
|
|
2698
2692
|
};
|
|
2699
2693
|
if (this.bumpIf(">")) {
|
|
2700
|
-
var
|
|
2701
|
-
if (
|
|
2702
|
-
return
|
|
2703
|
-
var
|
|
2694
|
+
var o = this.parseMessage(t + 1, r, !0);
|
|
2695
|
+
if (o.err)
|
|
2696
|
+
return o;
|
|
2697
|
+
var s = o.val, u = this.clonePosition();
|
|
2704
2698
|
if (this.bumpIf("</")) {
|
|
2705
|
-
if (this.isEOF() || !
|
|
2699
|
+
if (this.isEOF() || !Fe(this.char()))
|
|
2706
2700
|
return this.error(y.INVALID_TAG, _(u, this.clonePosition()));
|
|
2707
2701
|
var h = this.clonePosition(), a = this.parseTagName();
|
|
2708
2702
|
return i !== a ? this.error(y.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2709
2703
|
val: {
|
|
2710
|
-
type:
|
|
2704
|
+
type: T.tag,
|
|
2711
2705
|
value: i,
|
|
2712
|
-
children:
|
|
2706
|
+
children: s,
|
|
2713
2707
|
location: _(n, this.clonePosition())
|
|
2714
2708
|
},
|
|
2715
2709
|
err: null
|
|
@@ -2720,21 +2714,21 @@ var Hn = (
|
|
|
2720
2714
|
return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
|
|
2721
2715
|
}, e.prototype.parseTagName = function() {
|
|
2722
2716
|
var t = this.offset();
|
|
2723
|
-
for (this.bump(); !this.isEOF() &&
|
|
2717
|
+
for (this.bump(); !this.isEOF() && Hn(this.char()); )
|
|
2724
2718
|
this.bump();
|
|
2725
2719
|
return this.message.slice(t, this.offset());
|
|
2726
2720
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
2727
2721
|
for (var n = this.clonePosition(), i = ""; ; ) {
|
|
2728
|
-
var
|
|
2729
|
-
if (s) {
|
|
2730
|
-
i += s;
|
|
2731
|
-
continue;
|
|
2732
|
-
}
|
|
2733
|
-
var o = this.tryParseUnquoted(t, r);
|
|
2722
|
+
var o = this.tryParseQuote(r);
|
|
2734
2723
|
if (o) {
|
|
2735
2724
|
i += o;
|
|
2736
2725
|
continue;
|
|
2737
2726
|
}
|
|
2727
|
+
var s = this.tryParseUnquoted(t, r);
|
|
2728
|
+
if (s) {
|
|
2729
|
+
i += s;
|
|
2730
|
+
continue;
|
|
2731
|
+
}
|
|
2738
2732
|
var u = this.tryParseLeftAngleBracket();
|
|
2739
2733
|
if (u) {
|
|
2740
2734
|
i += u;
|
|
@@ -2744,12 +2738,12 @@ var Hn = (
|
|
|
2744
2738
|
}
|
|
2745
2739
|
var h = _(n, this.clonePosition());
|
|
2746
2740
|
return {
|
|
2747
|
-
val: { type:
|
|
2741
|
+
val: { type: T.literal, value: i, location: h },
|
|
2748
2742
|
err: null
|
|
2749
2743
|
};
|
|
2750
2744
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2751
2745
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2752
|
-
!
|
|
2746
|
+
!Cn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2753
2747
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2754
2748
|
if (this.isEOF() || this.char() !== 39)
|
|
2755
2749
|
return null;
|
|
@@ -2783,12 +2777,12 @@ var Hn = (
|
|
|
2783
2777
|
r.push(n);
|
|
2784
2778
|
this.bump();
|
|
2785
2779
|
}
|
|
2786
|
-
return
|
|
2780
|
+
return Ge.apply(void 0, r);
|
|
2787
2781
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
2788
2782
|
if (this.isEOF())
|
|
2789
2783
|
return null;
|
|
2790
2784
|
var n = this.char();
|
|
2791
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
2785
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ge(n));
|
|
2792
2786
|
}, e.prototype.parseArgument = function(t, r) {
|
|
2793
2787
|
var n = this.clonePosition();
|
|
2794
2788
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -2804,7 +2798,7 @@ var Hn = (
|
|
|
2804
2798
|
case 125:
|
|
2805
2799
|
return this.bump(), {
|
|
2806
2800
|
val: {
|
|
2807
|
-
type:
|
|
2801
|
+
type: T.argument,
|
|
2808
2802
|
// value does not include the opening and closing braces.
|
|
2809
2803
|
value: i,
|
|
2810
2804
|
location: _(n, this.clonePosition())
|
|
@@ -2817,15 +2811,15 @@ var Hn = (
|
|
|
2817
2811
|
return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
|
|
2818
2812
|
}
|
|
2819
2813
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2820
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
2814
|
+
var t = this.clonePosition(), r = this.offset(), n = De(this.message, r), i = r + n.length;
|
|
2821
2815
|
this.bumpTo(i);
|
|
2822
|
-
var
|
|
2823
|
-
return { value: n, location:
|
|
2816
|
+
var o = this.clonePosition(), s = _(t, o);
|
|
2817
|
+
return { value: n, location: s };
|
|
2824
2818
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
2825
|
-
var
|
|
2819
|
+
var o, s = this.clonePosition(), u = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
2826
2820
|
switch (u) {
|
|
2827
2821
|
case "":
|
|
2828
|
-
return this.error(y.EXPECT_ARGUMENT_TYPE, _(
|
|
2822
|
+
return this.error(y.EXPECT_ARGUMENT_TYPE, _(s, h));
|
|
2829
2823
|
case "number":
|
|
2830
2824
|
case "date":
|
|
2831
2825
|
case "time": {
|
|
@@ -2836,7 +2830,7 @@ var Hn = (
|
|
|
2836
2830
|
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
2837
2831
|
if (c.err)
|
|
2838
2832
|
return c;
|
|
2839
|
-
var f =
|
|
2833
|
+
var f = vn(c.val);
|
|
2840
2834
|
if (f.length === 0)
|
|
2841
2835
|
return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
2842
2836
|
var p = _(l, this.clonePosition());
|
|
@@ -2846,37 +2840,37 @@ var Hn = (
|
|
|
2846
2840
|
if (d.err)
|
|
2847
2841
|
return d;
|
|
2848
2842
|
var g = _(i, this.clonePosition());
|
|
2849
|
-
if (a &&
|
|
2850
|
-
var E =
|
|
2843
|
+
if (a && ut(a == null ? void 0 : a.style, "::", 0)) {
|
|
2844
|
+
var E = En(a.style.slice(2));
|
|
2851
2845
|
if (u === "number") {
|
|
2852
2846
|
var c = this.parseNumberSkeletonFromString(E, a.styleLocation);
|
|
2853
2847
|
return c.err ? c : {
|
|
2854
|
-
val: { type:
|
|
2848
|
+
val: { type: T.number, value: n, location: g, style: c.val },
|
|
2855
2849
|
err: null
|
|
2856
2850
|
};
|
|
2857
2851
|
} else {
|
|
2858
2852
|
if (E.length === 0)
|
|
2859
2853
|
return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
|
|
2860
2854
|
var m = E;
|
|
2861
|
-
this.locale && (m =
|
|
2855
|
+
this.locale && (m = un(E, this.locale));
|
|
2862
2856
|
var f = {
|
|
2863
|
-
type:
|
|
2857
|
+
type: J.dateTime,
|
|
2864
2858
|
pattern: m,
|
|
2865
2859
|
location: a.styleLocation,
|
|
2866
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2867
|
-
},
|
|
2860
|
+
parsedOptions: this.shouldParseSkeletons ? en(m) : {}
|
|
2861
|
+
}, C = u === "date" ? T.date : T.time;
|
|
2868
2862
|
return {
|
|
2869
|
-
val: { type:
|
|
2863
|
+
val: { type: C, value: n, location: g, style: f },
|
|
2870
2864
|
err: null
|
|
2871
2865
|
};
|
|
2872
2866
|
}
|
|
2873
2867
|
}
|
|
2874
2868
|
return {
|
|
2875
2869
|
val: {
|
|
2876
|
-
type: u === "number" ?
|
|
2870
|
+
type: u === "number" ? T.number : u === "date" ? T.date : T.time,
|
|
2877
2871
|
value: n,
|
|
2878
2872
|
location: g,
|
|
2879
|
-
style: (
|
|
2873
|
+
style: (o = a == null ? void 0 : a.style) !== null && o !== void 0 ? o : null
|
|
2880
2874
|
},
|
|
2881
2875
|
err: null
|
|
2882
2876
|
};
|
|
@@ -2884,21 +2878,21 @@ var Hn = (
|
|
|
2884
2878
|
case "plural":
|
|
2885
2879
|
case "selectordinal":
|
|
2886
2880
|
case "select": {
|
|
2887
|
-
var
|
|
2881
|
+
var A = this.clonePosition();
|
|
2888
2882
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2889
|
-
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(
|
|
2883
|
+
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(A, x({}, A)));
|
|
2890
2884
|
this.bumpSpace();
|
|
2891
|
-
var
|
|
2892
|
-
if (u !== "select" &&
|
|
2885
|
+
var O = this.parseIdentifierIfPossible(), B = 0;
|
|
2886
|
+
if (u !== "select" && O.value === "offset") {
|
|
2893
2887
|
if (!this.bumpIf(":"))
|
|
2894
2888
|
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
|
|
2895
2889
|
this.bumpSpace();
|
|
2896
2890
|
var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2897
2891
|
if (c.err)
|
|
2898
2892
|
return c;
|
|
2899
|
-
this.bumpSpace(),
|
|
2893
|
+
this.bumpSpace(), O = this.parseIdentifierIfPossible(), B = c.val;
|
|
2900
2894
|
}
|
|
2901
|
-
var H = this.tryParsePluralOrSelectOptions(t, u, r,
|
|
2895
|
+
var H = this.tryParsePluralOrSelectOptions(t, u, r, O);
|
|
2902
2896
|
if (H.err)
|
|
2903
2897
|
return H;
|
|
2904
2898
|
var d = this.tryParseArgumentClose(i);
|
|
@@ -2907,18 +2901,18 @@ var Hn = (
|
|
|
2907
2901
|
var P = _(i, this.clonePosition());
|
|
2908
2902
|
return u === "select" ? {
|
|
2909
2903
|
val: {
|
|
2910
|
-
type:
|
|
2904
|
+
type: T.select,
|
|
2911
2905
|
value: n,
|
|
2912
|
-
options:
|
|
2906
|
+
options: ht(H.val),
|
|
2913
2907
|
location: P
|
|
2914
2908
|
},
|
|
2915
2909
|
err: null
|
|
2916
2910
|
} : {
|
|
2917
2911
|
val: {
|
|
2918
|
-
type:
|
|
2912
|
+
type: T.plural,
|
|
2919
2913
|
value: n,
|
|
2920
|
-
options:
|
|
2921
|
-
offset:
|
|
2914
|
+
options: ht(H.val),
|
|
2915
|
+
offset: B,
|
|
2922
2916
|
pluralType: u === "plural" ? "cardinal" : "ordinal",
|
|
2923
2917
|
location: P
|
|
2924
2918
|
},
|
|
@@ -2926,7 +2920,7 @@ var Hn = (
|
|
|
2926
2920
|
};
|
|
2927
2921
|
}
|
|
2928
2922
|
default:
|
|
2929
|
-
return this.error(y.INVALID_ARGUMENT_TYPE, _(
|
|
2923
|
+
return this.error(y.INVALID_ARGUMENT_TYPE, _(s, h));
|
|
2930
2924
|
}
|
|
2931
2925
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
2932
2926
|
return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
@@ -2968,21 +2962,21 @@ var Hn = (
|
|
|
2968
2962
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
2969
2963
|
var n = [];
|
|
2970
2964
|
try {
|
|
2971
|
-
n =
|
|
2965
|
+
n = rn(t);
|
|
2972
2966
|
} catch (i) {
|
|
2973
2967
|
return this.error(y.INVALID_NUMBER_SKELETON, r);
|
|
2974
2968
|
}
|
|
2975
2969
|
return {
|
|
2976
2970
|
val: {
|
|
2977
|
-
type:
|
|
2971
|
+
type: J.number,
|
|
2978
2972
|
tokens: n,
|
|
2979
2973
|
location: r,
|
|
2980
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2974
|
+
parsedOptions: this.shouldParseSkeletons ? an(n) : {}
|
|
2981
2975
|
},
|
|
2982
2976
|
err: null
|
|
2983
2977
|
};
|
|
2984
2978
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
2985
|
-
for (var
|
|
2979
|
+
for (var o, s = !1, u = [], h = /* @__PURE__ */ new Set(), a = i.value, l = i.location; ; ) {
|
|
2986
2980
|
if (a.length === 0) {
|
|
2987
2981
|
var c = this.clonePosition();
|
|
2988
2982
|
if (r !== "select" && this.bumpIf("=")) {
|
|
@@ -2995,7 +2989,7 @@ var Hn = (
|
|
|
2995
2989
|
}
|
|
2996
2990
|
if (h.has(a))
|
|
2997
2991
|
return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
2998
|
-
a === "other" && (
|
|
2992
|
+
a === "other" && (s = !0), this.bumpSpace();
|
|
2999
2993
|
var p = this.clonePosition();
|
|
3000
2994
|
if (!this.bumpIf("{"))
|
|
3001
2995
|
return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
|
|
@@ -3011,21 +3005,21 @@ var Hn = (
|
|
|
3011
3005
|
value: d.val,
|
|
3012
3006
|
location: _(p, this.clonePosition())
|
|
3013
3007
|
}
|
|
3014
|
-
]), h.add(a), this.bumpSpace(),
|
|
3008
|
+
]), h.add(a), this.bumpSpace(), o = this.parseIdentifierIfPossible(), a = o.value, l = o.location;
|
|
3015
3009
|
}
|
|
3016
|
-
return u.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !
|
|
3010
|
+
return u.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(y.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
|
|
3017
3011
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3018
3012
|
var n = 1, i = this.clonePosition();
|
|
3019
3013
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
3020
|
-
for (var
|
|
3014
|
+
for (var o = !1, s = 0; !this.isEOF(); ) {
|
|
3021
3015
|
var u = this.char();
|
|
3022
3016
|
if (u >= 48 && u <= 57)
|
|
3023
|
-
|
|
3017
|
+
o = !0, s = s * 10 + (u - 48), this.bump();
|
|
3024
3018
|
else
|
|
3025
3019
|
break;
|
|
3026
3020
|
}
|
|
3027
3021
|
var h = _(i, this.clonePosition());
|
|
3028
|
-
return
|
|
3022
|
+
return o ? (s *= n, _n(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3029
3023
|
}, e.prototype.offset = function() {
|
|
3030
3024
|
return this.position.offset;
|
|
3031
3025
|
}, e.prototype.isEOF = function() {
|
|
@@ -3040,7 +3034,7 @@ var Hn = (
|
|
|
3040
3034
|
var t = this.position.offset;
|
|
3041
3035
|
if (t >= this.message.length)
|
|
3042
3036
|
throw Error("out of bound");
|
|
3043
|
-
var r =
|
|
3037
|
+
var r = Ft(this.message, t);
|
|
3044
3038
|
if (r === void 0)
|
|
3045
3039
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3046
3040
|
return r;
|
|
@@ -3059,7 +3053,7 @@ var Hn = (
|
|
|
3059
3053
|
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);
|
|
3060
3054
|
}
|
|
3061
3055
|
}, e.prototype.bumpIf = function(t) {
|
|
3062
|
-
if (
|
|
3056
|
+
if (ut(this.message, t, this.offset())) {
|
|
3063
3057
|
for (var r = 0; r < t.length; r++)
|
|
3064
3058
|
this.bump();
|
|
3065
3059
|
return !0;
|
|
@@ -3081,7 +3075,7 @@ var Hn = (
|
|
|
3081
3075
|
break;
|
|
3082
3076
|
}
|
|
3083
3077
|
}, e.prototype.bumpSpace = function() {
|
|
3084
|
-
for (; !this.isEOF() &&
|
|
3078
|
+
for (; !this.isEOF() && kt(this.char()); )
|
|
3085
3079
|
this.bump();
|
|
3086
3080
|
}, e.prototype.peek = function() {
|
|
3087
3081
|
if (this.isEOF())
|
|
@@ -3091,204 +3085,204 @@ var Hn = (
|
|
|
3091
3085
|
}, e;
|
|
3092
3086
|
}()
|
|
3093
3087
|
);
|
|
3094
|
-
function
|
|
3088
|
+
function Fe(e) {
|
|
3095
3089
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3096
3090
|
}
|
|
3097
|
-
function
|
|
3098
|
-
return
|
|
3091
|
+
function Cn(e) {
|
|
3092
|
+
return Fe(e) || e === 47;
|
|
3099
3093
|
}
|
|
3100
|
-
function
|
|
3094
|
+
function Hn(e) {
|
|
3101
3095
|
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;
|
|
3102
3096
|
}
|
|
3103
|
-
function
|
|
3097
|
+
function kt(e) {
|
|
3104
3098
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3105
3099
|
}
|
|
3106
|
-
function
|
|
3100
|
+
function An(e) {
|
|
3107
3101
|
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;
|
|
3108
3102
|
}
|
|
3109
|
-
function
|
|
3103
|
+
function je(e) {
|
|
3110
3104
|
e.forEach(function(t) {
|
|
3111
|
-
if (delete t.location,
|
|
3105
|
+
if (delete t.location, Lt(t) || It(t))
|
|
3112
3106
|
for (var r in t.options)
|
|
3113
|
-
delete t.options[r].location,
|
|
3107
|
+
delete t.options[r].location, je(t.options[r].value);
|
|
3114
3108
|
else
|
|
3115
|
-
|
|
3109
|
+
Ot(t) && $t(t.style) || (Pt(t) || Nt(t)) && Re(t.style) ? delete t.style.location : Mt(t) && je(t.children);
|
|
3116
3110
|
});
|
|
3117
3111
|
}
|
|
3118
|
-
function
|
|
3119
|
-
t === void 0 && (t = {}), t =
|
|
3120
|
-
var r = new
|
|
3112
|
+
function Bn(e, t) {
|
|
3113
|
+
t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3114
|
+
var r = new Tn(e, t).parse();
|
|
3121
3115
|
if (r.err) {
|
|
3122
3116
|
var n = SyntaxError(y[r.err.kind]);
|
|
3123
3117
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3124
3118
|
}
|
|
3125
|
-
return t != null && t.captureLocation ||
|
|
3119
|
+
return t != null && t.captureLocation || je(r.val), r.val;
|
|
3126
3120
|
}
|
|
3127
|
-
var
|
|
3121
|
+
var q;
|
|
3128
3122
|
(function(e) {
|
|
3129
3123
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3130
|
-
})(
|
|
3131
|
-
var
|
|
3124
|
+
})(q || (q = {}));
|
|
3125
|
+
var ve = (
|
|
3132
3126
|
/** @class */
|
|
3133
3127
|
function(e) {
|
|
3134
|
-
|
|
3128
|
+
Ee(t, e);
|
|
3135
3129
|
function t(r, n, i) {
|
|
3136
|
-
var
|
|
3137
|
-
return
|
|
3130
|
+
var o = e.call(this, r) || this;
|
|
3131
|
+
return o.code = n, o.originalMessage = i, o;
|
|
3138
3132
|
}
|
|
3139
3133
|
return t.prototype.toString = function() {
|
|
3140
3134
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3141
3135
|
}, t;
|
|
3142
3136
|
}(Error)
|
|
3143
|
-
),
|
|
3137
|
+
), ft = (
|
|
3144
3138
|
/** @class */
|
|
3145
3139
|
function(e) {
|
|
3146
|
-
|
|
3147
|
-
function t(r, n, i,
|
|
3148
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3140
|
+
Ee(t, e);
|
|
3141
|
+
function t(r, n, i, o) {
|
|
3142
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), q.INVALID_VALUE, o) || this;
|
|
3149
3143
|
}
|
|
3150
3144
|
return t;
|
|
3151
|
-
}(
|
|
3152
|
-
),
|
|
3145
|
+
}(ve)
|
|
3146
|
+
), Sn = (
|
|
3153
3147
|
/** @class */
|
|
3154
3148
|
function(e) {
|
|
3155
|
-
|
|
3149
|
+
Ee(t, e);
|
|
3156
3150
|
function t(r, n, i) {
|
|
3157
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3151
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), q.INVALID_VALUE, i) || this;
|
|
3158
3152
|
}
|
|
3159
3153
|
return t;
|
|
3160
|
-
}(
|
|
3161
|
-
),
|
|
3154
|
+
}(ve)
|
|
3155
|
+
), wn = (
|
|
3162
3156
|
/** @class */
|
|
3163
3157
|
function(e) {
|
|
3164
|
-
|
|
3158
|
+
Ee(t, e);
|
|
3165
3159
|
function t(r, n) {
|
|
3166
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3160
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), q.MISSING_VALUE, n) || this;
|
|
3167
3161
|
}
|
|
3168
3162
|
return t;
|
|
3169
|
-
}(
|
|
3170
|
-
),
|
|
3163
|
+
}(ve)
|
|
3164
|
+
), w;
|
|
3171
3165
|
(function(e) {
|
|
3172
3166
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3173
|
-
})(
|
|
3174
|
-
function
|
|
3167
|
+
})(w || (w = {}));
|
|
3168
|
+
function On(e) {
|
|
3175
3169
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3176
3170
|
var n = t[t.length - 1];
|
|
3177
|
-
return !n || n.type !==
|
|
3171
|
+
return !n || n.type !== w.literal || r.type !== w.literal ? t.push(r) : n.value += r.value, t;
|
|
3178
3172
|
}, []);
|
|
3179
3173
|
}
|
|
3180
|
-
function
|
|
3174
|
+
function Pn(e) {
|
|
3181
3175
|
return typeof e == "function";
|
|
3182
3176
|
}
|
|
3183
|
-
function
|
|
3184
|
-
if (e.length === 1 &&
|
|
3177
|
+
function pe(e, t, r, n, i, o, s) {
|
|
3178
|
+
if (e.length === 1 && it(e[0]))
|
|
3185
3179
|
return [
|
|
3186
3180
|
{
|
|
3187
|
-
type:
|
|
3181
|
+
type: w.literal,
|
|
3188
3182
|
value: e[0].value
|
|
3189
3183
|
}
|
|
3190
3184
|
];
|
|
3191
3185
|
for (var u = [], h = 0, a = e; h < a.length; h++) {
|
|
3192
3186
|
var l = a[h];
|
|
3193
|
-
if (
|
|
3187
|
+
if (it(l)) {
|
|
3194
3188
|
u.push({
|
|
3195
|
-
type:
|
|
3189
|
+
type: w.literal,
|
|
3196
3190
|
value: l.value
|
|
3197
3191
|
});
|
|
3198
3192
|
continue;
|
|
3199
3193
|
}
|
|
3200
|
-
if (
|
|
3201
|
-
typeof
|
|
3202
|
-
type:
|
|
3203
|
-
value: r.getNumberFormat(t).format(
|
|
3194
|
+
if (Yr(l)) {
|
|
3195
|
+
typeof o == "number" && u.push({
|
|
3196
|
+
type: w.literal,
|
|
3197
|
+
value: r.getNumberFormat(t).format(o)
|
|
3204
3198
|
});
|
|
3205
3199
|
continue;
|
|
3206
3200
|
}
|
|
3207
3201
|
var c = l.value;
|
|
3208
3202
|
if (!(i && c in i))
|
|
3209
|
-
throw new
|
|
3203
|
+
throw new wn(c, s);
|
|
3210
3204
|
var f = i[c];
|
|
3211
|
-
if (
|
|
3205
|
+
if (qr(l)) {
|
|
3212
3206
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
|
|
3213
|
-
type: typeof f == "string" ?
|
|
3207
|
+
type: typeof f == "string" ? w.literal : w.object,
|
|
3214
3208
|
value: f
|
|
3215
3209
|
});
|
|
3216
3210
|
continue;
|
|
3217
3211
|
}
|
|
3218
|
-
if (
|
|
3219
|
-
var p = typeof l.style == "string" ? n.date[l.style] :
|
|
3212
|
+
if (Pt(l)) {
|
|
3213
|
+
var p = typeof l.style == "string" ? n.date[l.style] : Re(l.style) ? l.style.parsedOptions : void 0;
|
|
3220
3214
|
u.push({
|
|
3221
|
-
type:
|
|
3215
|
+
type: w.literal,
|
|
3222
3216
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3223
3217
|
});
|
|
3224
3218
|
continue;
|
|
3225
3219
|
}
|
|
3226
|
-
if (
|
|
3227
|
-
var p = typeof l.style == "string" ? n.time[l.style] :
|
|
3220
|
+
if (Nt(l)) {
|
|
3221
|
+
var p = typeof l.style == "string" ? n.time[l.style] : Re(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3228
3222
|
u.push({
|
|
3229
|
-
type:
|
|
3223
|
+
type: w.literal,
|
|
3230
3224
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3231
3225
|
});
|
|
3232
3226
|
continue;
|
|
3233
3227
|
}
|
|
3234
|
-
if (
|
|
3235
|
-
var p = typeof l.style == "string" ? n.number[l.style] :
|
|
3228
|
+
if (Ot(l)) {
|
|
3229
|
+
var p = typeof l.style == "string" ? n.number[l.style] : $t(l.style) ? l.style.parsedOptions : void 0;
|
|
3236
3230
|
p && p.scale && (f = f * (p.scale || 1)), u.push({
|
|
3237
|
-
type:
|
|
3231
|
+
type: w.literal,
|
|
3238
3232
|
value: r.getNumberFormat(t, p).format(f)
|
|
3239
3233
|
});
|
|
3240
3234
|
continue;
|
|
3241
3235
|
}
|
|
3242
|
-
if (
|
|
3236
|
+
if (Mt(l)) {
|
|
3243
3237
|
var d = l.children, g = l.value, E = i[g];
|
|
3244
|
-
if (!
|
|
3245
|
-
throw new
|
|
3246
|
-
var m =
|
|
3247
|
-
return
|
|
3238
|
+
if (!Pn(E))
|
|
3239
|
+
throw new Sn(g, "function", s);
|
|
3240
|
+
var m = pe(d, t, r, n, i, o), C = E(m.map(function(B) {
|
|
3241
|
+
return B.value;
|
|
3248
3242
|
}));
|
|
3249
|
-
Array.isArray(
|
|
3243
|
+
Array.isArray(C) || (C = [C]), u.push.apply(u, C.map(function(B) {
|
|
3250
3244
|
return {
|
|
3251
|
-
type: typeof
|
|
3252
|
-
value:
|
|
3245
|
+
type: typeof B == "string" ? w.literal : w.object,
|
|
3246
|
+
value: B
|
|
3253
3247
|
};
|
|
3254
3248
|
}));
|
|
3255
3249
|
}
|
|
3256
|
-
if (
|
|
3257
|
-
var
|
|
3258
|
-
if (!
|
|
3259
|
-
throw new
|
|
3260
|
-
u.push.apply(u,
|
|
3250
|
+
if (Lt(l)) {
|
|
3251
|
+
var A = l.options[f] || l.options.other;
|
|
3252
|
+
if (!A)
|
|
3253
|
+
throw new ft(l.value, f, Object.keys(l.options), s);
|
|
3254
|
+
u.push.apply(u, pe(A.value, t, r, n, i));
|
|
3261
3255
|
continue;
|
|
3262
3256
|
}
|
|
3263
|
-
if (
|
|
3264
|
-
var
|
|
3265
|
-
if (!
|
|
3257
|
+
if (It(l)) {
|
|
3258
|
+
var A = l.options["=".concat(f)];
|
|
3259
|
+
if (!A) {
|
|
3266
3260
|
if (!Intl.PluralRules)
|
|
3267
|
-
throw new
|
|
3261
|
+
throw new ve(`Intl.PluralRules is not available in this environment.
|
|
3268
3262
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3269
|
-
`,
|
|
3270
|
-
var
|
|
3271
|
-
|
|
3263
|
+
`, q.MISSING_INTL_API, s);
|
|
3264
|
+
var O = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
|
|
3265
|
+
A = l.options[O] || l.options.other;
|
|
3272
3266
|
}
|
|
3273
|
-
if (!
|
|
3274
|
-
throw new
|
|
3275
|
-
u.push.apply(u,
|
|
3267
|
+
if (!A)
|
|
3268
|
+
throw new ft(l.value, f, Object.keys(l.options), s);
|
|
3269
|
+
u.push.apply(u, pe(A.value, t, r, n, i, f - (l.offset || 0)));
|
|
3276
3270
|
continue;
|
|
3277
3271
|
}
|
|
3278
3272
|
}
|
|
3279
|
-
return
|
|
3273
|
+
return On(u);
|
|
3280
3274
|
}
|
|
3281
|
-
function
|
|
3282
|
-
return t ?
|
|
3283
|
-
return r[n] =
|
|
3275
|
+
function Nn(e, t) {
|
|
3276
|
+
return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3277
|
+
return r[n] = x(x({}, e[n]), t[n] || {}), r;
|
|
3284
3278
|
}, {})) : e;
|
|
3285
3279
|
}
|
|
3286
|
-
function
|
|
3280
|
+
function Ln(e, t) {
|
|
3287
3281
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3288
|
-
return r[n] =
|
|
3289
|
-
},
|
|
3282
|
+
return r[n] = Nn(e[n], t[n]), r;
|
|
3283
|
+
}, x({}, e)) : e;
|
|
3290
3284
|
}
|
|
3291
|
-
function
|
|
3285
|
+
function Pe(e) {
|
|
3292
3286
|
return {
|
|
3293
3287
|
create: function() {
|
|
3294
3288
|
return {
|
|
@@ -3302,77 +3296,77 @@ function Le(e) {
|
|
|
3302
3296
|
}
|
|
3303
3297
|
};
|
|
3304
3298
|
}
|
|
3305
|
-
function
|
|
3299
|
+
function In(e) {
|
|
3306
3300
|
return e === void 0 && (e = {
|
|
3307
3301
|
number: {},
|
|
3308
3302
|
dateTime: {},
|
|
3309
3303
|
pluralRules: {}
|
|
3310
3304
|
}), {
|
|
3311
|
-
getNumberFormat:
|
|
3305
|
+
getNumberFormat: Se(function() {
|
|
3312
3306
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3313
3307
|
r[n] = arguments[n];
|
|
3314
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3308
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Be([void 0], r, !1)))();
|
|
3315
3309
|
}, {
|
|
3316
|
-
cache:
|
|
3317
|
-
strategy:
|
|
3310
|
+
cache: Pe(e.number),
|
|
3311
|
+
strategy: we.variadic
|
|
3318
3312
|
}),
|
|
3319
|
-
getDateTimeFormat:
|
|
3313
|
+
getDateTimeFormat: Se(function() {
|
|
3320
3314
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3321
3315
|
r[n] = arguments[n];
|
|
3322
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3316
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Be([void 0], r, !1)))();
|
|
3323
3317
|
}, {
|
|
3324
|
-
cache:
|
|
3325
|
-
strategy:
|
|
3318
|
+
cache: Pe(e.dateTime),
|
|
3319
|
+
strategy: we.variadic
|
|
3326
3320
|
}),
|
|
3327
|
-
getPluralRules:
|
|
3321
|
+
getPluralRules: Se(function() {
|
|
3328
3322
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3329
3323
|
r[n] = arguments[n];
|
|
3330
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3324
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Be([void 0], r, !1)))();
|
|
3331
3325
|
}, {
|
|
3332
|
-
cache:
|
|
3333
|
-
strategy:
|
|
3326
|
+
cache: Pe(e.pluralRules),
|
|
3327
|
+
strategy: we.variadic
|
|
3334
3328
|
})
|
|
3335
3329
|
};
|
|
3336
3330
|
}
|
|
3337
|
-
var
|
|
3331
|
+
var Mn = (
|
|
3338
3332
|
/** @class */
|
|
3339
3333
|
function() {
|
|
3340
3334
|
function e(t, r, n, i) {
|
|
3341
3335
|
r === void 0 && (r = e.defaultLocale);
|
|
3342
|
-
var
|
|
3336
|
+
var o = this;
|
|
3343
3337
|
if (this.formatterCache = {
|
|
3344
3338
|
number: {},
|
|
3345
3339
|
dateTime: {},
|
|
3346
3340
|
pluralRules: {}
|
|
3347
3341
|
}, this.format = function(h) {
|
|
3348
|
-
var a =
|
|
3342
|
+
var a = o.formatToParts(h);
|
|
3349
3343
|
if (a.length === 1)
|
|
3350
3344
|
return a[0].value;
|
|
3351
3345
|
var l = a.reduce(function(c, f) {
|
|
3352
|
-
return !c.length || f.type !==
|
|
3346
|
+
return !c.length || f.type !== w.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
|
3353
3347
|
}, []);
|
|
3354
3348
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3355
3349
|
}, this.formatToParts = function(h) {
|
|
3356
|
-
return
|
|
3350
|
+
return pe(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
|
|
3357
3351
|
}, this.resolvedOptions = function() {
|
|
3358
3352
|
var h;
|
|
3359
3353
|
return {
|
|
3360
|
-
locale: ((h =
|
|
3354
|
+
locale: ((h = o.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
|
|
3361
3355
|
};
|
|
3362
3356
|
}, this.getAst = function() {
|
|
3363
|
-
return
|
|
3357
|
+
return o.ast;
|
|
3364
3358
|
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
3365
3359
|
if (this.message = t, !e.__parse)
|
|
3366
3360
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3367
|
-
var
|
|
3368
|
-
|
|
3369
|
-
var u =
|
|
3370
|
-
this.ast = e.__parse(t,
|
|
3361
|
+
var s = i || {};
|
|
3362
|
+
s.formatters;
|
|
3363
|
+
var u = kr(s, ["formatters"]);
|
|
3364
|
+
this.ast = e.__parse(t, x(x({}, u), { locale: this.resolvedLocale }));
|
|
3371
3365
|
} else
|
|
3372
3366
|
this.ast = t;
|
|
3373
3367
|
if (!Array.isArray(this.ast))
|
|
3374
3368
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3375
|
-
this.formats =
|
|
3369
|
+
this.formats = Ln(e.formats, n), this.formatters = i && i.formatters || In(this.formatterCache);
|
|
3376
3370
|
}
|
|
3377
3371
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3378
3372
|
get: function() {
|
|
@@ -3385,7 +3379,7 @@ var Rn = (
|
|
|
3385
3379
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3386
3380
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3387
3381
|
}
|
|
3388
|
-
}, e.__parse =
|
|
3382
|
+
}, e.__parse = Bn, e.formats = {
|
|
3389
3383
|
number: {
|
|
3390
3384
|
integer: {
|
|
3391
3385
|
maximumFractionDigits: 0
|
|
@@ -3446,7 +3440,7 @@ var Rn = (
|
|
|
3446
3440
|
}, e;
|
|
3447
3441
|
}()
|
|
3448
3442
|
);
|
|
3449
|
-
function
|
|
3443
|
+
function $n(e, t) {
|
|
3450
3444
|
if (t == null)
|
|
3451
3445
|
return;
|
|
3452
3446
|
if (t in e)
|
|
@@ -3456,9 +3450,9 @@ function Un(e, t) {
|
|
|
3456
3450
|
for (let i = 0; i < r.length; i++)
|
|
3457
3451
|
if (typeof n == "object") {
|
|
3458
3452
|
if (i > 0) {
|
|
3459
|
-
const
|
|
3460
|
-
if (
|
|
3461
|
-
n = n[
|
|
3453
|
+
const o = r.slice(i, r.length).join(".");
|
|
3454
|
+
if (o in n) {
|
|
3455
|
+
n = n[o];
|
|
3462
3456
|
break;
|
|
3463
3457
|
}
|
|
3464
3458
|
}
|
|
@@ -3467,92 +3461,92 @@ function Un(e, t) {
|
|
|
3467
3461
|
n = void 0;
|
|
3468
3462
|
return n;
|
|
3469
3463
|
}
|
|
3470
|
-
const
|
|
3464
|
+
const D = {}, Rn = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), Vt = (e, t) => {
|
|
3471
3465
|
if (t == null)
|
|
3472
3466
|
return;
|
|
3473
|
-
if (t in
|
|
3474
|
-
return
|
|
3475
|
-
const r =
|
|
3467
|
+
if (t in D && e in D[t])
|
|
3468
|
+
return D[t][e];
|
|
3469
|
+
const r = Te(t);
|
|
3476
3470
|
for (let n = 0; n < r.length; n++) {
|
|
3477
|
-
const i = r[n],
|
|
3478
|
-
if (
|
|
3479
|
-
return
|
|
3471
|
+
const i = r[n], o = Gn(i, e);
|
|
3472
|
+
if (o)
|
|
3473
|
+
return Rn(e, t, o);
|
|
3480
3474
|
}
|
|
3481
3475
|
};
|
|
3482
|
-
let
|
|
3483
|
-
const
|
|
3484
|
-
function
|
|
3485
|
-
return
|
|
3476
|
+
let ze;
|
|
3477
|
+
const he = xe({});
|
|
3478
|
+
function Un(e) {
|
|
3479
|
+
return ze[e] || null;
|
|
3486
3480
|
}
|
|
3487
|
-
function
|
|
3488
|
-
return e in
|
|
3481
|
+
function Xt(e) {
|
|
3482
|
+
return e in ze;
|
|
3489
3483
|
}
|
|
3490
|
-
function
|
|
3491
|
-
if (!
|
|
3484
|
+
function Gn(e, t) {
|
|
3485
|
+
if (!Xt(e))
|
|
3492
3486
|
return null;
|
|
3493
|
-
const r =
|
|
3494
|
-
return
|
|
3487
|
+
const r = Un(e);
|
|
3488
|
+
return $n(r, t);
|
|
3495
3489
|
}
|
|
3496
|
-
function
|
|
3490
|
+
function Dn(e) {
|
|
3497
3491
|
if (e == null)
|
|
3498
3492
|
return;
|
|
3499
|
-
const t =
|
|
3493
|
+
const t = Te(e);
|
|
3500
3494
|
for (let r = 0; r < t.length; r++) {
|
|
3501
3495
|
const n = t[r];
|
|
3502
|
-
if (
|
|
3496
|
+
if (Xt(n))
|
|
3503
3497
|
return n;
|
|
3504
3498
|
}
|
|
3505
3499
|
}
|
|
3506
|
-
function
|
|
3507
|
-
delete
|
|
3500
|
+
function zt(e, ...t) {
|
|
3501
|
+
delete D[e], he.update((r) => (r[e] = jr.all([r[e] || {}, ...t]), r));
|
|
3508
3502
|
}
|
|
3509
|
-
|
|
3510
|
-
[
|
|
3503
|
+
ee(
|
|
3504
|
+
[he],
|
|
3511
3505
|
([e]) => Object.keys(e)
|
|
3512
3506
|
);
|
|
3513
|
-
|
|
3514
|
-
const
|
|
3515
|
-
function
|
|
3516
|
-
|
|
3507
|
+
he.subscribe((e) => ze = e);
|
|
3508
|
+
const de = {};
|
|
3509
|
+
function Fn(e, t) {
|
|
3510
|
+
de[e].delete(t), de[e].size === 0 && delete de[e];
|
|
3517
3511
|
}
|
|
3518
|
-
function
|
|
3519
|
-
return
|
|
3512
|
+
function Wt(e) {
|
|
3513
|
+
return de[e];
|
|
3520
3514
|
}
|
|
3521
|
-
function
|
|
3522
|
-
return
|
|
3523
|
-
const r =
|
|
3515
|
+
function jn(e) {
|
|
3516
|
+
return Te(e).map((t) => {
|
|
3517
|
+
const r = Wt(t);
|
|
3524
3518
|
return [t, r ? [...r] : []];
|
|
3525
3519
|
}).filter(([, t]) => t.length > 0);
|
|
3526
3520
|
}
|
|
3527
|
-
function
|
|
3528
|
-
return e == null ? !1 :
|
|
3521
|
+
function ke(e) {
|
|
3522
|
+
return e == null ? !1 : Te(e).some(
|
|
3529
3523
|
(t) => {
|
|
3530
3524
|
var r;
|
|
3531
|
-
return (r =
|
|
3525
|
+
return (r = Wt(t)) == null ? void 0 : r.size;
|
|
3532
3526
|
}
|
|
3533
3527
|
);
|
|
3534
3528
|
}
|
|
3535
|
-
function
|
|
3529
|
+
function kn(e, t) {
|
|
3536
3530
|
return Promise.all(
|
|
3537
|
-
t.map((n) => (
|
|
3538
|
-
).then((n) =>
|
|
3539
|
-
}
|
|
3540
|
-
const
|
|
3541
|
-
function
|
|
3542
|
-
if (!
|
|
3543
|
-
return e in
|
|
3544
|
-
const t =
|
|
3545
|
-
return
|
|
3531
|
+
t.map((n) => (Fn(e, n), n().then((i) => i.default || i)))
|
|
3532
|
+
).then((n) => zt(e, ...n));
|
|
3533
|
+
}
|
|
3534
|
+
const ne = {};
|
|
3535
|
+
function Zt(e) {
|
|
3536
|
+
if (!ke(e))
|
|
3537
|
+
return e in ne ? ne[e] : Promise.resolve();
|
|
3538
|
+
const t = jn(e);
|
|
3539
|
+
return ne[e] = Promise.all(
|
|
3546
3540
|
t.map(
|
|
3547
|
-
([r, n]) =>
|
|
3541
|
+
([r, n]) => kn(r, n)
|
|
3548
3542
|
)
|
|
3549
3543
|
).then(() => {
|
|
3550
|
-
if (
|
|
3551
|
-
return
|
|
3552
|
-
delete
|
|
3553
|
-
}),
|
|
3544
|
+
if (ke(e))
|
|
3545
|
+
return Zt(e);
|
|
3546
|
+
delete ne[e];
|
|
3547
|
+
}), ne[e];
|
|
3554
3548
|
}
|
|
3555
|
-
const
|
|
3549
|
+
const Vn = {
|
|
3556
3550
|
number: {
|
|
3557
3551
|
scientific: { notation: "scientific" },
|
|
3558
3552
|
engineering: { notation: "engineering" },
|
|
@@ -3581,150 +3575,150 @@ const zn = {
|
|
|
3581
3575
|
timeZoneName: "short"
|
|
3582
3576
|
}
|
|
3583
3577
|
}
|
|
3584
|
-
},
|
|
3578
|
+
}, Xn = {
|
|
3585
3579
|
fallbackLocale: null,
|
|
3586
3580
|
loadingDelay: 200,
|
|
3587
|
-
formats:
|
|
3581
|
+
formats: Vn,
|
|
3588
3582
|
warnOnMissingMessages: !0,
|
|
3589
3583
|
handleMissingMessage: void 0,
|
|
3590
3584
|
ignoreTag: !0
|
|
3591
|
-
},
|
|
3592
|
-
function
|
|
3593
|
-
return
|
|
3585
|
+
}, zn = Xn;
|
|
3586
|
+
function Y() {
|
|
3587
|
+
return zn;
|
|
3594
3588
|
}
|
|
3595
|
-
const
|
|
3596
|
-
var
|
|
3589
|
+
const Ne = xe(!1);
|
|
3590
|
+
var Wn = Object.defineProperty, Zn = Object.defineProperties, Qn = Object.getOwnPropertyDescriptors, ct = Object.getOwnPropertySymbols, Jn = Object.prototype.hasOwnProperty, qn = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? Wn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Yn = (e, t) => {
|
|
3597
3591
|
for (var r in t || (t = {}))
|
|
3598
|
-
|
|
3599
|
-
if (
|
|
3600
|
-
for (var r of
|
|
3601
|
-
|
|
3592
|
+
Jn.call(t, r) && gt(e, r, t[r]);
|
|
3593
|
+
if (ct)
|
|
3594
|
+
for (var r of ct(t))
|
|
3595
|
+
qn.call(t, r) && gt(e, r, t[r]);
|
|
3602
3596
|
return e;
|
|
3603
|
-
},
|
|
3604
|
-
let
|
|
3605
|
-
const
|
|
3606
|
-
function
|
|
3597
|
+
}, Kn = (e, t) => Zn(e, Qn(t));
|
|
3598
|
+
let Ve;
|
|
3599
|
+
const ye = xe(null);
|
|
3600
|
+
function mt(e) {
|
|
3607
3601
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3608
3602
|
}
|
|
3609
|
-
function
|
|
3610
|
-
const r =
|
|
3611
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3603
|
+
function Te(e, t = Y().fallbackLocale) {
|
|
3604
|
+
const r = mt(e);
|
|
3605
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...mt(t)])] : r;
|
|
3612
3606
|
}
|
|
3613
|
-
function
|
|
3614
|
-
return
|
|
3607
|
+
function V() {
|
|
3608
|
+
return Ve != null ? Ve : void 0;
|
|
3615
3609
|
}
|
|
3616
|
-
|
|
3617
|
-
|
|
3610
|
+
ye.subscribe((e) => {
|
|
3611
|
+
Ve = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3618
3612
|
});
|
|
3619
|
-
const
|
|
3620
|
-
if (e &&
|
|
3621
|
-
const { loadingDelay: t } =
|
|
3613
|
+
const ei = (e) => {
|
|
3614
|
+
if (e && Dn(e) && ke(e)) {
|
|
3615
|
+
const { loadingDelay: t } = Y();
|
|
3622
3616
|
let r;
|
|
3623
|
-
return typeof window != "undefined" &&
|
|
3624
|
-
() =>
|
|
3617
|
+
return typeof window != "undefined" && V() != null && t ? r = window.setTimeout(
|
|
3618
|
+
() => Ne.set(!0),
|
|
3625
3619
|
t
|
|
3626
|
-
) :
|
|
3627
|
-
|
|
3620
|
+
) : Ne.set(!0), Zt(e).then(() => {
|
|
3621
|
+
ye.set(e);
|
|
3628
3622
|
}).finally(() => {
|
|
3629
|
-
clearTimeout(r),
|
|
3623
|
+
clearTimeout(r), Ne.set(!1);
|
|
3630
3624
|
});
|
|
3631
3625
|
}
|
|
3632
|
-
return
|
|
3633
|
-
},
|
|
3634
|
-
set:
|
|
3635
|
-
}),
|
|
3626
|
+
return ye.set(e);
|
|
3627
|
+
}, te = Kn(Yn({}, ye), {
|
|
3628
|
+
set: ei
|
|
3629
|
+
}), Ce = (e) => {
|
|
3636
3630
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3637
3631
|
return (n) => {
|
|
3638
3632
|
const i = JSON.stringify(n);
|
|
3639
3633
|
return i in t ? t[i] : t[i] = e(n);
|
|
3640
3634
|
};
|
|
3641
3635
|
};
|
|
3642
|
-
var
|
|
3636
|
+
var ti = Object.defineProperty, _e = Object.getOwnPropertySymbols, Qt = Object.prototype.hasOwnProperty, Jt = Object.prototype.propertyIsEnumerable, pt = (e, t, r) => t in e ? ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, We = (e, t) => {
|
|
3643
3637
|
for (var r in t || (t = {}))
|
|
3644
|
-
|
|
3645
|
-
if (
|
|
3646
|
-
for (var r of
|
|
3647
|
-
|
|
3638
|
+
Qt.call(t, r) && pt(e, r, t[r]);
|
|
3639
|
+
if (_e)
|
|
3640
|
+
for (var r of _e(t))
|
|
3641
|
+
Jt.call(t, r) && pt(e, r, t[r]);
|
|
3648
3642
|
return e;
|
|
3649
|
-
},
|
|
3643
|
+
}, re = (e, t) => {
|
|
3650
3644
|
var r = {};
|
|
3651
3645
|
for (var n in e)
|
|
3652
|
-
|
|
3653
|
-
if (e != null &&
|
|
3654
|
-
for (var n of
|
|
3655
|
-
t.indexOf(n) < 0 &&
|
|
3646
|
+
Qt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3647
|
+
if (e != null && _e)
|
|
3648
|
+
for (var n of _e(e))
|
|
3649
|
+
t.indexOf(n) < 0 && Jt.call(e, n) && (r[n] = e[n]);
|
|
3656
3650
|
return r;
|
|
3657
3651
|
};
|
|
3658
|
-
const
|
|
3659
|
-
const { formats: r } =
|
|
3652
|
+
const ae = (e, t) => {
|
|
3653
|
+
const { formats: r } = Y();
|
|
3660
3654
|
if (e in r && t in r[e])
|
|
3661
3655
|
return r[e][t];
|
|
3662
3656
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3663
|
-
},
|
|
3657
|
+
}, ri = Ce(
|
|
3664
3658
|
(e) => {
|
|
3665
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3659
|
+
var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
|
|
3666
3660
|
if (r == null)
|
|
3667
3661
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3668
|
-
return n && (i =
|
|
3662
|
+
return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
|
|
3669
3663
|
}
|
|
3670
|
-
),
|
|
3664
|
+
), ni = Ce(
|
|
3671
3665
|
(e) => {
|
|
3672
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3666
|
+
var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
|
|
3673
3667
|
if (r == null)
|
|
3674
3668
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3675
|
-
return n ? i =
|
|
3669
|
+
return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3676
3670
|
}
|
|
3677
|
-
),
|
|
3671
|
+
), ii = Ce(
|
|
3678
3672
|
(e) => {
|
|
3679
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3673
|
+
var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
|
|
3680
3674
|
if (r == null)
|
|
3681
3675
|
throw new Error(
|
|
3682
3676
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3683
3677
|
);
|
|
3684
|
-
return n ? i =
|
|
3678
|
+
return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3685
3679
|
}
|
|
3686
|
-
),
|
|
3680
|
+
), oi = (e = {}) => {
|
|
3687
3681
|
var t = e, {
|
|
3688
|
-
locale: r =
|
|
3689
|
-
} = t, n =
|
|
3682
|
+
locale: r = V()
|
|
3683
|
+
} = t, n = re(t, [
|
|
3690
3684
|
"locale"
|
|
3691
3685
|
]);
|
|
3692
|
-
return
|
|
3693
|
-
},
|
|
3686
|
+
return ri(We({ locale: r }, n));
|
|
3687
|
+
}, si = (e = {}) => {
|
|
3694
3688
|
var t = e, {
|
|
3695
|
-
locale: r =
|
|
3696
|
-
} = t, n =
|
|
3689
|
+
locale: r = V()
|
|
3690
|
+
} = t, n = re(t, [
|
|
3697
3691
|
"locale"
|
|
3698
3692
|
]);
|
|
3699
|
-
return
|
|
3700
|
-
},
|
|
3693
|
+
return ni(We({ locale: r }, n));
|
|
3694
|
+
}, ai = (e = {}) => {
|
|
3701
3695
|
var t = e, {
|
|
3702
|
-
locale: r =
|
|
3703
|
-
} = t, n =
|
|
3696
|
+
locale: r = V()
|
|
3697
|
+
} = t, n = re(t, [
|
|
3704
3698
|
"locale"
|
|
3705
3699
|
]);
|
|
3706
|
-
return
|
|
3707
|
-
},
|
|
3700
|
+
return ii(We({ locale: r }, n));
|
|
3701
|
+
}, ui = Ce(
|
|
3708
3702
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3709
|
-
(e, t =
|
|
3710
|
-
ignoreTag:
|
|
3703
|
+
(e, t = V()) => new Mn(e, t, Y().formats, {
|
|
3704
|
+
ignoreTag: Y().ignoreTag
|
|
3711
3705
|
})
|
|
3712
|
-
),
|
|
3713
|
-
var r, n, i,
|
|
3714
|
-
let
|
|
3715
|
-
typeof e == "object" && (
|
|
3706
|
+
), hi = (e, t = {}) => {
|
|
3707
|
+
var r, n, i, o;
|
|
3708
|
+
let s = t;
|
|
3709
|
+
typeof e == "object" && (s = e, e = s.id);
|
|
3716
3710
|
const {
|
|
3717
3711
|
values: u,
|
|
3718
|
-
locale: h =
|
|
3712
|
+
locale: h = V(),
|
|
3719
3713
|
default: a
|
|
3720
|
-
} =
|
|
3714
|
+
} = s;
|
|
3721
3715
|
if (h == null)
|
|
3722
3716
|
throw new Error(
|
|
3723
3717
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3724
3718
|
);
|
|
3725
|
-
let l =
|
|
3719
|
+
let l = Vt(e, h);
|
|
3726
3720
|
if (!l)
|
|
3727
|
-
l = (
|
|
3721
|
+
l = (o = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: a })) != null ? i : a) != null ? o : e;
|
|
3728
3722
|
else if (typeof l != "string")
|
|
3729
3723
|
return console.warn(
|
|
3730
3724
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -3733,7 +3727,7 @@ const ue = (e, t) => {
|
|
|
3733
3727
|
return l;
|
|
3734
3728
|
let c = l;
|
|
3735
3729
|
try {
|
|
3736
|
-
c =
|
|
3730
|
+
c = ui(l, h).format(u);
|
|
3737
3731
|
} catch (f) {
|
|
3738
3732
|
f instanceof Error && console.warn(
|
|
3739
3733
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3741,18 +3735,18 @@ const ue = (e, t) => {
|
|
|
3741
3735
|
);
|
|
3742
3736
|
}
|
|
3743
3737
|
return c;
|
|
3744
|
-
},
|
|
3745
|
-
|
|
3746
|
-
|
|
3747
|
-
|
|
3748
|
-
|
|
3749
|
-
function
|
|
3750
|
-
|
|
3751
|
-
}
|
|
3752
|
-
function
|
|
3753
|
-
|
|
3754
|
-
}
|
|
3755
|
-
const
|
|
3738
|
+
}, li = (e, t) => ai(t).format(e), fi = (e, t) => si(t).format(e), ci = (e, t) => oi(t).format(e), gi = (e, t = V()) => Vt(e, t), mi = ee([te, he], () => hi);
|
|
3739
|
+
ee([te], () => li);
|
|
3740
|
+
ee([te], () => fi);
|
|
3741
|
+
ee([te], () => ci);
|
|
3742
|
+
ee([te, he], () => gi);
|
|
3743
|
+
function dt(e, t) {
|
|
3744
|
+
zt(e, t);
|
|
3745
|
+
}
|
|
3746
|
+
function pi(e) {
|
|
3747
|
+
te.set(e);
|
|
3748
|
+
}
|
|
3749
|
+
const bt = {
|
|
3756
3750
|
en: {
|
|
3757
3751
|
topCategories: "Top Categories",
|
|
3758
3752
|
otherCategories: "Other Categories",
|
|
@@ -3862,13 +3856,13 @@ const _t = {
|
|
|
3862
3856
|
games: "games"
|
|
3863
3857
|
}
|
|
3864
3858
|
};
|
|
3865
|
-
function
|
|
3859
|
+
function di(e, t) {
|
|
3866
3860
|
if (e) {
|
|
3867
3861
|
const r = document.createElement("style");
|
|
3868
3862
|
r.innerHTML = t, e.appendChild(r);
|
|
3869
3863
|
}
|
|
3870
3864
|
}
|
|
3871
|
-
function
|
|
3865
|
+
function bi(e, t) {
|
|
3872
3866
|
const r = new URL(t);
|
|
3873
3867
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
3874
3868
|
const i = document.createElement("style");
|
|
@@ -3877,7 +3871,7 @@ function _i(e, t) {
|
|
|
3877
3871
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
3878
3872
|
});
|
|
3879
3873
|
}
|
|
3880
|
-
function
|
|
3874
|
+
function yi(e, t, r) {
|
|
3881
3875
|
if (window.emMessageBus) {
|
|
3882
3876
|
const n = document.createElement("style");
|
|
3883
3877
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -3885,67 +3879,67 @@ function Ei(e, t, r) {
|
|
|
3885
3879
|
});
|
|
3886
3880
|
}
|
|
3887
3881
|
}
|
|
3888
|
-
function
|
|
3889
|
-
|
|
3882
|
+
function _i(e) {
|
|
3883
|
+
sr(e, "svelte-2l182v", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoCategories{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.CategoryTitle{font-weight:500;position:relative;right:30px;margin:10px 0;font-size:18px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Category{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.Category.Active{box-shadow:15px 15px 30px var(--emw--color-gray-100, #E6E6E6)}.CategoryTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:first-child{font-weight:600;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:last-child{color:var(--emw--color-gray-150, #828282);font-weight:300}.CategoryImage{border-radius:4px;object-fit:cover;height:64px;width:64px;font-weight:100}.Message{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);font-weight:600}");
|
|
3890
3884
|
}
|
|
3891
|
-
function
|
|
3885
|
+
function yt(e, t, r) {
|
|
3892
3886
|
const n = e.slice();
|
|
3893
3887
|
return n[23] = t[r], n;
|
|
3894
3888
|
}
|
|
3895
|
-
function
|
|
3889
|
+
function _t(e, t, r) {
|
|
3896
3890
|
const n = e.slice();
|
|
3897
3891
|
return n[23] = t[r], n;
|
|
3898
3892
|
}
|
|
3899
|
-
function
|
|
3893
|
+
function xi(e) {
|
|
3900
3894
|
let t, r, n = (
|
|
3901
3895
|
/*$_*/
|
|
3902
3896
|
e[5]("topCategories") + ""
|
|
3903
|
-
), i,
|
|
3897
|
+
), i, o, s, u, h = (
|
|
3904
3898
|
/*$_*/
|
|
3905
3899
|
e[5]("otherCategories") + ""
|
|
3906
|
-
), a, l, c =
|
|
3900
|
+
), a, l, c = ce(
|
|
3907
3901
|
/*topCategories*/
|
|
3908
3902
|
e[3]
|
|
3909
3903
|
), f = [];
|
|
3910
3904
|
for (let g = 0; g < c.length; g += 1)
|
|
3911
|
-
f[g] =
|
|
3912
|
-
let p =
|
|
3905
|
+
f[g] = xt(_t(e, c, g));
|
|
3906
|
+
let p = ce(
|
|
3913
3907
|
/*otherCategories*/
|
|
3914
3908
|
e[4]
|
|
3915
3909
|
), d = [];
|
|
3916
3910
|
for (let g = 0; g < p.length; g += 1)
|
|
3917
|
-
d[g] =
|
|
3911
|
+
d[g] = Et(yt(e, p, g));
|
|
3918
3912
|
return {
|
|
3919
3913
|
c() {
|
|
3920
|
-
t =
|
|
3914
|
+
t = S("div"), r = S("h4"), i = G(n), o = U();
|
|
3921
3915
|
for (let g = 0; g < f.length; g += 1)
|
|
3922
3916
|
f[g].c();
|
|
3923
|
-
|
|
3917
|
+
s = U(), u = S("h4"), a = G(h), l = U();
|
|
3924
3918
|
for (let g = 0; g < d.length; g += 1)
|
|
3925
3919
|
d[g].c();
|
|
3926
3920
|
I(r, "class", "CategoryTitle"), I(u, "class", "CategoryTitle"), I(t, "class", "CasinoCategories");
|
|
3927
3921
|
},
|
|
3928
3922
|
m(g, E) {
|
|
3929
|
-
|
|
3923
|
+
K(g, t, E), v(t, r), v(r, i), v(t, o);
|
|
3930
3924
|
for (let m = 0; m < f.length; m += 1)
|
|
3931
3925
|
f[m] && f[m].m(t, null);
|
|
3932
|
-
|
|
3926
|
+
v(t, s), v(t, u), v(u, a), v(t, l);
|
|
3933
3927
|
for (let m = 0; m < d.length; m += 1)
|
|
3934
3928
|
d[m] && d[m].m(t, null);
|
|
3935
3929
|
},
|
|
3936
3930
|
p(g, E) {
|
|
3937
3931
|
if (E & /*$_*/
|
|
3938
3932
|
32 && n !== (n = /*$_*/
|
|
3939
|
-
g[5]("topCategories") + "") &&
|
|
3933
|
+
g[5]("topCategories") + "") && F(i, n), E & /*activecategory, topCategories, openGameCategory, $_*/
|
|
3940
3934
|
105) {
|
|
3941
|
-
c =
|
|
3935
|
+
c = ce(
|
|
3942
3936
|
/*topCategories*/
|
|
3943
3937
|
g[3]
|
|
3944
3938
|
);
|
|
3945
3939
|
let m;
|
|
3946
3940
|
for (m = 0; m < c.length; m += 1) {
|
|
3947
|
-
const
|
|
3948
|
-
f[m] ? f[m].p(
|
|
3941
|
+
const C = _t(g, c, m);
|
|
3942
|
+
f[m] ? f[m].p(C, E) : (f[m] = xt(C), f[m].c(), f[m].m(t, s));
|
|
3949
3943
|
}
|
|
3950
3944
|
for (; m < f.length; m += 1)
|
|
3951
3945
|
f[m].d(1);
|
|
@@ -3953,16 +3947,16 @@ function vi(e) {
|
|
|
3953
3947
|
}
|
|
3954
3948
|
if (E & /*$_*/
|
|
3955
3949
|
32 && h !== (h = /*$_*/
|
|
3956
|
-
g[5]("otherCategories") + "") &&
|
|
3950
|
+
g[5]("otherCategories") + "") && F(a, h), E & /*activecategory, otherCategories, openGameCategory, $_*/
|
|
3957
3951
|
113) {
|
|
3958
|
-
p =
|
|
3952
|
+
p = ce(
|
|
3959
3953
|
/*otherCategories*/
|
|
3960
3954
|
g[4]
|
|
3961
3955
|
);
|
|
3962
3956
|
let m;
|
|
3963
3957
|
for (m = 0; m < p.length; m += 1) {
|
|
3964
|
-
const
|
|
3965
|
-
d[m] ? d[m].p(
|
|
3958
|
+
const C = yt(g, p, m);
|
|
3959
|
+
d[m] ? d[m].p(C, E) : (d[m] = Et(C), d[m].c(), d[m].m(t, null));
|
|
3966
3960
|
}
|
|
3967
3961
|
for (; m < d.length; m += 1)
|
|
3968
3962
|
d[m].d(1);
|
|
@@ -3970,27 +3964,27 @@ function vi(e) {
|
|
|
3970
3964
|
}
|
|
3971
3965
|
},
|
|
3972
3966
|
d(g) {
|
|
3973
|
-
g &&
|
|
3967
|
+
g && k(t), tt(f, g), tt(d, g);
|
|
3974
3968
|
}
|
|
3975
3969
|
};
|
|
3976
3970
|
}
|
|
3977
|
-
function
|
|
3971
|
+
function Ei(e) {
|
|
3978
3972
|
let t;
|
|
3979
3973
|
return {
|
|
3980
3974
|
c() {
|
|
3981
|
-
t =
|
|
3975
|
+
t = S("p"), t.textContent = "Loading, please wait...", I(t, "class", "Message");
|
|
3982
3976
|
},
|
|
3983
3977
|
m(r, n) {
|
|
3984
|
-
|
|
3978
|
+
K(r, t, n);
|
|
3985
3979
|
},
|
|
3986
3980
|
p: L,
|
|
3987
3981
|
d(r) {
|
|
3988
|
-
r &&
|
|
3982
|
+
r && k(t);
|
|
3989
3983
|
}
|
|
3990
3984
|
};
|
|
3991
3985
|
}
|
|
3992
|
-
function
|
|
3993
|
-
let t, r, n, i,
|
|
3986
|
+
function xt(e) {
|
|
3987
|
+
let t, r, n, i, o, s, u, h = (
|
|
3994
3988
|
/*category*/
|
|
3995
3989
|
e[23].name + ""
|
|
3996
3990
|
), a, l, c, f = (
|
|
@@ -3999,8 +3993,8 @@ function vt(e) {
|
|
|
3999
3993
|
), p, d, g = (
|
|
4000
3994
|
/*$_*/
|
|
4001
3995
|
e[5]("games") + ""
|
|
4002
|
-
), E, m,
|
|
4003
|
-
function
|
|
3996
|
+
), E, m, C, A;
|
|
3997
|
+
function O() {
|
|
4004
3998
|
return (
|
|
4005
3999
|
/*click_handler*/
|
|
4006
4000
|
e[15](
|
|
@@ -4011,38 +4005,38 @@ function vt(e) {
|
|
|
4011
4005
|
}
|
|
4012
4006
|
return {
|
|
4013
4007
|
c() {
|
|
4014
|
-
t =
|
|
4008
|
+
t = S("div"), r = S("ui-image"), o = U(), s = S("div"), u = S("p"), a = G(h), l = U(), c = S("p"), p = G(f), d = U(), E = G(g), be(r.src, n = /*category*/
|
|
4015
4009
|
e[23].icon) || R(r, "src", n), R(r, "alt", i = /*category*/
|
|
4016
|
-
e[23].name), R(r, "class", "CategoryImage"), I(
|
|
4010
|
+
e[23].name), R(r, "class", "CategoryImage"), I(s, "class", "CategoryTextContainer"), I(t, "class", m = "Category " + /*activecategory*/
|
|
4017
4011
|
(e[0] === /*category*/
|
|
4018
4012
|
e[23].id ? "Active" : ""));
|
|
4019
4013
|
},
|
|
4020
|
-
m(
|
|
4021
|
-
|
|
4014
|
+
m(B, H) {
|
|
4015
|
+
K(B, t, H), v(t, r), v(t, o), v(t, s), v(s, u), v(u, a), v(s, l), v(s, c), v(c, p), v(c, d), v(c, E), C || (A = Ht(t, "click", O), C = !0);
|
|
4022
4016
|
},
|
|
4023
|
-
p(
|
|
4024
|
-
e =
|
|
4025
|
-
8 && !
|
|
4017
|
+
p(B, H) {
|
|
4018
|
+
e = B, H & /*topCategories*/
|
|
4019
|
+
8 && !be(r.src, n = /*category*/
|
|
4026
4020
|
e[23].icon) && R(r, "src", n), H & /*topCategories*/
|
|
4027
4021
|
8 && i !== (i = /*category*/
|
|
4028
4022
|
e[23].name) && R(r, "alt", i), H & /*topCategories*/
|
|
4029
4023
|
8 && h !== (h = /*category*/
|
|
4030
|
-
e[23].name + "") &&
|
|
4024
|
+
e[23].name + "") && F(a, h), H & /*topCategories*/
|
|
4031
4025
|
8 && f !== (f = /*category*/
|
|
4032
|
-
e[23].games.count + "") &&
|
|
4026
|
+
e[23].games.count + "") && F(p, f), H & /*$_*/
|
|
4033
4027
|
32 && g !== (g = /*$_*/
|
|
4034
|
-
e[5]("games") + "") &&
|
|
4028
|
+
e[5]("games") + "") && F(E, g), H & /*activecategory, topCategories*/
|
|
4035
4029
|
9 && m !== (m = "Category " + /*activecategory*/
|
|
4036
4030
|
(e[0] === /*category*/
|
|
4037
4031
|
e[23].id ? "Active" : "")) && I(t, "class", m);
|
|
4038
4032
|
},
|
|
4039
|
-
d(
|
|
4040
|
-
|
|
4033
|
+
d(B) {
|
|
4034
|
+
B && k(t), C = !1, A();
|
|
4041
4035
|
}
|
|
4042
4036
|
};
|
|
4043
4037
|
}
|
|
4044
|
-
function
|
|
4045
|
-
let t, r, n, i,
|
|
4038
|
+
function Et(e) {
|
|
4039
|
+
let t, r, n, i, o, s, u, h = (
|
|
4046
4040
|
/*category*/
|
|
4047
4041
|
e[23].name + ""
|
|
4048
4042
|
), a, l, c, f = (
|
|
@@ -4051,8 +4045,8 @@ function Tt(e) {
|
|
|
4051
4045
|
), p, d, g = (
|
|
4052
4046
|
/*$_*/
|
|
4053
4047
|
e[5]("games") + ""
|
|
4054
|
-
), E, m,
|
|
4055
|
-
function
|
|
4048
|
+
), E, m, C, A, O;
|
|
4049
|
+
function B() {
|
|
4056
4050
|
return (
|
|
4057
4051
|
/*click_handler_1*/
|
|
4058
4052
|
e[16](
|
|
@@ -4063,115 +4057,115 @@ function Tt(e) {
|
|
|
4063
4057
|
}
|
|
4064
4058
|
return {
|
|
4065
4059
|
c() {
|
|
4066
|
-
t =
|
|
4060
|
+
t = S("div"), r = S("ui-image"), o = U(), s = S("div"), u = S("p"), a = G(h), l = U(), c = S("p"), p = G(f), d = U(), E = G(g), m = U(), be(r.src, n = /*category*/
|
|
4067
4061
|
e[23].icon) || R(r, "src", n), R(r, "alt", i = /*category*/
|
|
4068
|
-
e[23].name), R(r, "class", "CategoryImage"), I(
|
|
4062
|
+
e[23].name), R(r, "class", "CategoryImage"), I(s, "class", "CategoryTextContainer"), I(t, "class", C = "Category " + /*activecategory*/
|
|
4069
4063
|
(e[0] === /*category*/
|
|
4070
4064
|
e[23].id ? "Active" : ""));
|
|
4071
4065
|
},
|
|
4072
4066
|
m(H, P) {
|
|
4073
|
-
|
|
4067
|
+
K(H, t, P), v(t, r), v(t, o), v(t, s), v(s, u), v(u, a), v(s, l), v(s, c), v(c, p), v(c, d), v(c, E), v(t, m), A || (O = Ht(t, "click", B), A = !0);
|
|
4074
4068
|
},
|
|
4075
4069
|
p(H, P) {
|
|
4076
4070
|
e = H, P & /*otherCategories*/
|
|
4077
|
-
16 && !
|
|
4071
|
+
16 && !be(r.src, n = /*category*/
|
|
4078
4072
|
e[23].icon) && R(r, "src", n), P & /*otherCategories*/
|
|
4079
4073
|
16 && i !== (i = /*category*/
|
|
4080
4074
|
e[23].name) && R(r, "alt", i), P & /*otherCategories*/
|
|
4081
4075
|
16 && h !== (h = /*category*/
|
|
4082
|
-
e[23].name + "") &&
|
|
4076
|
+
e[23].name + "") && F(a, h), P & /*otherCategories*/
|
|
4083
4077
|
16 && f !== (f = /*category*/
|
|
4084
|
-
e[23].games.count + "") &&
|
|
4078
|
+
e[23].games.count + "") && F(p, f), P & /*$_*/
|
|
4085
4079
|
32 && g !== (g = /*$_*/
|
|
4086
|
-
e[5]("games") + "") &&
|
|
4087
|
-
17 &&
|
|
4080
|
+
e[5]("games") + "") && F(E, g), P & /*activecategory, otherCategories*/
|
|
4081
|
+
17 && C !== (C = "Category " + /*activecategory*/
|
|
4088
4082
|
(e[0] === /*category*/
|
|
4089
|
-
e[23].id ? "Active" : "")) && I(t, "class",
|
|
4083
|
+
e[23].id ? "Active" : "")) && I(t, "class", C);
|
|
4090
4084
|
},
|
|
4091
4085
|
d(H) {
|
|
4092
|
-
H &&
|
|
4086
|
+
H && k(t), A = !1, O();
|
|
4093
4087
|
}
|
|
4094
4088
|
};
|
|
4095
4089
|
}
|
|
4096
|
-
function
|
|
4090
|
+
function vi(e) {
|
|
4097
4091
|
let t;
|
|
4098
|
-
function r(
|
|
4092
|
+
function r(o, s) {
|
|
4099
4093
|
return (
|
|
4100
4094
|
/*isLoading*/
|
|
4101
|
-
|
|
4095
|
+
o[2] ? Ei : xi
|
|
4102
4096
|
);
|
|
4103
4097
|
}
|
|
4104
4098
|
let n = r(e), i = n(e);
|
|
4105
4099
|
return {
|
|
4106
4100
|
c() {
|
|
4107
|
-
t =
|
|
4101
|
+
t = S("div"), i.c();
|
|
4108
4102
|
},
|
|
4109
|
-
m(
|
|
4110
|
-
|
|
4103
|
+
m(o, s) {
|
|
4104
|
+
K(o, t, s), i.m(t, null), e[17](t);
|
|
4111
4105
|
},
|
|
4112
|
-
p(
|
|
4113
|
-
n === (n = r(
|
|
4106
|
+
p(o, [s]) {
|
|
4107
|
+
n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
|
|
4114
4108
|
},
|
|
4115
4109
|
i: L,
|
|
4116
4110
|
o: L,
|
|
4117
|
-
d(
|
|
4118
|
-
|
|
4111
|
+
d(o) {
|
|
4112
|
+
o && k(t), i.d(), e[17](null);
|
|
4119
4113
|
}
|
|
4120
4114
|
};
|
|
4121
4115
|
}
|
|
4122
|
-
function
|
|
4116
|
+
function Ti(e, t, r) {
|
|
4123
4117
|
let n;
|
|
4124
|
-
|
|
4125
|
-
let { endpoint: i = "" } = t, { datasource:
|
|
4118
|
+
or(e, mi, (b) => r(5, n = b));
|
|
4119
|
+
let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "en" } = t, { activecategory: u = "" } = t, { excludedflags: h = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, { mbsource: f } = t, p, d = !1;
|
|
4126
4120
|
const g = [];
|
|
4127
4121
|
let E = [], m = [];
|
|
4128
|
-
Object.keys(
|
|
4129
|
-
|
|
4122
|
+
Object.keys(bt).forEach((b) => {
|
|
4123
|
+
dt(b, bt[b]);
|
|
4130
4124
|
});
|
|
4131
|
-
const
|
|
4125
|
+
const C = () => {
|
|
4132
4126
|
fetch(c).then(($) => $.json()).then(($) => {
|
|
4133
|
-
Object.keys($).forEach((
|
|
4134
|
-
|
|
4127
|
+
Object.keys($).forEach((le) => {
|
|
4128
|
+
dt(le, $[le]);
|
|
4135
4129
|
});
|
|
4136
4130
|
}).catch(($) => {
|
|
4137
4131
|
console.log($);
|
|
4138
4132
|
});
|
|
4139
|
-
},
|
|
4133
|
+
}, A = () => {
|
|
4140
4134
|
r(2, d = !0);
|
|
4141
|
-
const b = new URL(`${i}/v1/casino/groups/${
|
|
4142
|
-
b.searchParams.append("language",
|
|
4135
|
+
const b = new URL(`${i}/v1/casino/groups/${o}`);
|
|
4136
|
+
b.searchParams.append("language", s), fetch(b).then(($) => $.json()).then(($) => {
|
|
4143
4137
|
r(2, d = !1);
|
|
4144
|
-
const
|
|
4138
|
+
const le = h.split(",").map((j) => j.trim());
|
|
4145
4139
|
g.push(...$.items);
|
|
4146
|
-
const
|
|
4147
|
-
var
|
|
4148
|
-
return ((
|
|
4140
|
+
const Ze = g.filter((j) => !le.some((Yt) => {
|
|
4141
|
+
var Qe;
|
|
4142
|
+
return ((Qe = j.flags) == null ? void 0 : Qe.indexOf(Yt)) >= 0;
|
|
4149
4143
|
}));
|
|
4150
|
-
r(3, E =
|
|
4144
|
+
r(3, E = Ze.filter((j) => j.isTopCategory === !0)), r(4, m = Ze.filter((j) => j.isTopCategory === !1));
|
|
4151
4145
|
});
|
|
4152
|
-
},
|
|
4146
|
+
}, O = (b) => {
|
|
4153
4147
|
window.postMessage({ type: "OpenGameCategory", categoryId: b }, window.location.href);
|
|
4154
|
-
},
|
|
4155
|
-
|
|
4148
|
+
}, B = () => {
|
|
4149
|
+
pi(s);
|
|
4156
4150
|
};
|
|
4157
|
-
|
|
4151
|
+
cr(() => () => {
|
|
4158
4152
|
});
|
|
4159
|
-
const H = (b) =>
|
|
4160
|
-
function
|
|
4161
|
-
|
|
4153
|
+
const H = (b) => O(b.id), P = (b) => O(b.id);
|
|
4154
|
+
function qt(b) {
|
|
4155
|
+
Le[b ? "unshift" : "push"](() => {
|
|
4162
4156
|
p = b, r(1, p);
|
|
4163
4157
|
});
|
|
4164
4158
|
}
|
|
4165
4159
|
return e.$$set = (b) => {
|
|
4166
|
-
"endpoint" in b && r(7, i = b.endpoint), "datasource" in b && r(8,
|
|
4160
|
+
"endpoint" in b && r(7, i = b.endpoint), "datasource" in b && r(8, o = b.datasource), "lang" in b && r(9, s = b.lang), "activecategory" in b && r(0, u = b.activecategory), "excludedflags" in b && r(10, h = b.excludedflags), "clientstyling" in b && r(11, a = b.clientstyling), "clientstylingurl" in b && r(12, l = b.clientstylingurl), "translationurl" in b && r(13, c = b.translationurl), "mbsource" in b && r(14, f = b.mbsource);
|
|
4167
4161
|
}, e.$$.update = () => {
|
|
4168
4162
|
e.$$.dirty & /*endpoint, datasource*/
|
|
4169
|
-
384 && i &&
|
|
4170
|
-
8192 && c &&
|
|
4171
|
-
512 &&
|
|
4172
|
-
2050 && a && p &&
|
|
4173
|
-
4098 && l && p &&
|
|
4174
|
-
16386 && f && p &&
|
|
4163
|
+
384 && i && o && A(), e.$$.dirty & /*translationurl*/
|
|
4164
|
+
8192 && c && C(), e.$$.dirty & /*lang*/
|
|
4165
|
+
512 && s && B(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4166
|
+
2050 && a && p && di(p, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4167
|
+
4098 && l && p && bi(p, l), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4168
|
+
16386 && f && p && yi(p, `${f}.Style`);
|
|
4175
4169
|
}, [
|
|
4176
4170
|
u,
|
|
4177
4171
|
p,
|
|
@@ -4179,10 +4173,10 @@ function Hi(e, t, r) {
|
|
|
4179
4173
|
E,
|
|
4180
4174
|
m,
|
|
4181
4175
|
n,
|
|
4182
|
-
|
|
4176
|
+
O,
|
|
4183
4177
|
i,
|
|
4184
|
-
s,
|
|
4185
4178
|
o,
|
|
4179
|
+
s,
|
|
4186
4180
|
h,
|
|
4187
4181
|
a,
|
|
4188
4182
|
l,
|
|
@@ -4190,17 +4184,17 @@ function Hi(e, t, r) {
|
|
|
4190
4184
|
f,
|
|
4191
4185
|
H,
|
|
4192
4186
|
P,
|
|
4193
|
-
|
|
4187
|
+
qt
|
|
4194
4188
|
];
|
|
4195
4189
|
}
|
|
4196
|
-
class
|
|
4190
|
+
class Ci extends Cr {
|
|
4197
4191
|
constructor(t) {
|
|
4198
|
-
super(),
|
|
4192
|
+
super(), vr(
|
|
4199
4193
|
this,
|
|
4200
4194
|
t,
|
|
4201
|
-
|
|
4202
|
-
|
|
4203
|
-
|
|
4195
|
+
Ti,
|
|
4196
|
+
vi,
|
|
4197
|
+
Tt,
|
|
4204
4198
|
{
|
|
4205
4199
|
endpoint: 7,
|
|
4206
4200
|
datasource: 8,
|
|
@@ -4212,7 +4206,7 @@ class Si extends Sr {
|
|
|
4212
4206
|
translationurl: 13,
|
|
4213
4207
|
mbsource: 14
|
|
4214
4208
|
},
|
|
4215
|
-
|
|
4209
|
+
_i
|
|
4216
4210
|
);
|
|
4217
4211
|
}
|
|
4218
4212
|
get endpoint() {
|
|
@@ -4270,7 +4264,7 @@ class Si extends Sr {
|
|
|
4270
4264
|
this.$$set({ mbsource: t }), M();
|
|
4271
4265
|
}
|
|
4272
4266
|
}
|
|
4273
|
-
|
|
4267
|
+
Tr(Ci, { endpoint: {}, datasource: {}, lang: {}, activecategory: {}, excludedflags: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
|
4274
4268
|
export {
|
|
4275
|
-
|
|
4269
|
+
Ci as default
|
|
4276
4270
|
};
|