@everymatrix/casino-slider 1.54.6 → 1.54.8
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/{CasinoSlider-bkfSSyXV.js → CasinoSlider-Cla7MfSi.js} +372 -376
- package/components/CasinoSlider-DbPDrHOf.js +4548 -0
- package/components/CasinoSlider-DdPYhkaL.cjs +3 -0
- package/es2015/casino-slider.cjs +1 -0
- package/es2015/casino-slider.js +16 -0
- package/esnext/casino-slider.js +1 -1
- package/package.json +1 -1
@@ -0,0 +1,4548 @@
|
|
1
|
+
var Nr = Object.defineProperty, Pr = Object.defineProperties;
|
2
|
+
var Or = Object.getOwnPropertyDescriptors;
|
3
|
+
var ut = Object.getOwnPropertySymbols;
|
4
|
+
var Lr = Object.prototype.hasOwnProperty, Fr = Object.prototype.propertyIsEnumerable;
|
5
|
+
var Fe = (e, t, r) => t in e ? Nr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ht = (e, t) => {
|
6
|
+
for (var r in t || (t = {}))
|
7
|
+
Lr.call(t, r) && Fe(e, r, t[r]);
|
8
|
+
if (ut)
|
9
|
+
for (var r of ut(t))
|
10
|
+
Fr.call(t, r) && Fe(e, r, t[r]);
|
11
|
+
return e;
|
12
|
+
}, ct = (e, t) => Pr(e, Or(t));
|
13
|
+
var U = (e, t, r) => Fe(e, typeof t != "symbol" ? t + "" : t, r);
|
14
|
+
var ft = (e, t, r) => new Promise((n, i) => {
|
15
|
+
var o = (u) => {
|
16
|
+
try {
|
17
|
+
a(r.next(u));
|
18
|
+
} catch (l) {
|
19
|
+
i(l);
|
20
|
+
}
|
21
|
+
}, s = (u) => {
|
22
|
+
try {
|
23
|
+
a(r.throw(u));
|
24
|
+
} catch (l) {
|
25
|
+
i(l);
|
26
|
+
}
|
27
|
+
}, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(o, s);
|
28
|
+
a((r = r.apply(e, t)).next());
|
29
|
+
});
|
30
|
+
function $() {
|
31
|
+
}
|
32
|
+
function kt(e) {
|
33
|
+
return e();
|
34
|
+
}
|
35
|
+
function dt() {
|
36
|
+
return /* @__PURE__ */ Object.create(null);
|
37
|
+
}
|
38
|
+
function q(e) {
|
39
|
+
e.forEach(kt);
|
40
|
+
}
|
41
|
+
function tt(e) {
|
42
|
+
return typeof e == "function";
|
43
|
+
}
|
44
|
+
function $t(e, t) {
|
45
|
+
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
46
|
+
}
|
47
|
+
let xe;
|
48
|
+
function mt(e, t) {
|
49
|
+
return e === t ? !0 : (xe || (xe = document.createElement("a")), xe.href = t, e === xe.href);
|
50
|
+
}
|
51
|
+
function Rr(e) {
|
52
|
+
return Object.keys(e).length === 0;
|
53
|
+
}
|
54
|
+
function Dr(e, ...t) {
|
55
|
+
if (e == null) {
|
56
|
+
for (const n of t)
|
57
|
+
n(void 0);
|
58
|
+
return $;
|
59
|
+
}
|
60
|
+
const r = e.subscribe(...t);
|
61
|
+
return r.unsubscribe ? () => r.unsubscribe() : r;
|
62
|
+
}
|
63
|
+
function I(e, t) {
|
64
|
+
e.appendChild(t);
|
65
|
+
}
|
66
|
+
function Gr(e, t, r) {
|
67
|
+
const n = Ur(e);
|
68
|
+
if (!n.getElementById(t)) {
|
69
|
+
const i = M("style");
|
70
|
+
i.id = t, i.textContent = r, kr(n, i);
|
71
|
+
}
|
72
|
+
}
|
73
|
+
function Ur(e) {
|
74
|
+
if (!e) return document;
|
75
|
+
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
76
|
+
return t && /** @type {ShadowRoot} */
|
77
|
+
t.host ? (
|
78
|
+
/** @type {ShadowRoot} */
|
79
|
+
t
|
80
|
+
) : e.ownerDocument;
|
81
|
+
}
|
82
|
+
function kr(e, t) {
|
83
|
+
return I(
|
84
|
+
/** @type {Document} */
|
85
|
+
e.head || e,
|
86
|
+
t
|
87
|
+
), t.sheet;
|
88
|
+
}
|
89
|
+
function k(e, t, r) {
|
90
|
+
e.insertBefore(t, r || null);
|
91
|
+
}
|
92
|
+
function D(e) {
|
93
|
+
e.parentNode && e.parentNode.removeChild(e);
|
94
|
+
}
|
95
|
+
function $r(e, t) {
|
96
|
+
for (let r = 0; r < e.length; r += 1)
|
97
|
+
e[r] && e[r].d(t);
|
98
|
+
}
|
99
|
+
function M(e) {
|
100
|
+
return document.createElement(e);
|
101
|
+
}
|
102
|
+
function ye(e) {
|
103
|
+
return document.createTextNode(e);
|
104
|
+
}
|
105
|
+
function Q() {
|
106
|
+
return ye(" ");
|
107
|
+
}
|
108
|
+
function me() {
|
109
|
+
return ye("");
|
110
|
+
}
|
111
|
+
function Te(e, t, r, n) {
|
112
|
+
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
113
|
+
}
|
114
|
+
function S(e, t, r) {
|
115
|
+
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
116
|
+
}
|
117
|
+
function jr(e) {
|
118
|
+
return Array.from(e.childNodes);
|
119
|
+
}
|
120
|
+
function rt(e, t) {
|
121
|
+
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
122
|
+
t);
|
123
|
+
}
|
124
|
+
function Vr(e) {
|
125
|
+
const t = {};
|
126
|
+
return e.childNodes.forEach(
|
127
|
+
/** @param {Element} node */
|
128
|
+
(r) => {
|
129
|
+
t[r.slot || "default"] = !0;
|
130
|
+
}
|
131
|
+
), t;
|
132
|
+
}
|
133
|
+
let pe;
|
134
|
+
function fe(e) {
|
135
|
+
pe = e;
|
136
|
+
}
|
137
|
+
function Xr() {
|
138
|
+
if (!pe) throw new Error("Function called outside component initialization");
|
139
|
+
return pe;
|
140
|
+
}
|
141
|
+
function Wr(e) {
|
142
|
+
Xr().$$.on_mount.push(e);
|
143
|
+
}
|
144
|
+
const ee = [], de = [];
|
145
|
+
let te = [];
|
146
|
+
const pt = [], zr = /* @__PURE__ */ Promise.resolve();
|
147
|
+
let Ve = !1;
|
148
|
+
function Zr() {
|
149
|
+
Ve || (Ve = !0, zr.then(A));
|
150
|
+
}
|
151
|
+
function Xe(e) {
|
152
|
+
te.push(e);
|
153
|
+
}
|
154
|
+
const Re = /* @__PURE__ */ new Set();
|
155
|
+
let Y = 0;
|
156
|
+
function A() {
|
157
|
+
if (Y !== 0)
|
158
|
+
return;
|
159
|
+
const e = pe;
|
160
|
+
do {
|
161
|
+
try {
|
162
|
+
for (; Y < ee.length; ) {
|
163
|
+
const t = ee[Y];
|
164
|
+
Y++, fe(t), Qr(t.$$);
|
165
|
+
}
|
166
|
+
} catch (t) {
|
167
|
+
throw ee.length = 0, Y = 0, t;
|
168
|
+
}
|
169
|
+
for (fe(null), ee.length = 0, Y = 0; de.length; ) de.pop()();
|
170
|
+
for (let t = 0; t < te.length; t += 1) {
|
171
|
+
const r = te[t];
|
172
|
+
Re.has(r) || (Re.add(r), r());
|
173
|
+
}
|
174
|
+
te.length = 0;
|
175
|
+
} while (ee.length);
|
176
|
+
for (; pt.length; )
|
177
|
+
pt.pop()();
|
178
|
+
Ve = !1, Re.clear(), fe(e);
|
179
|
+
}
|
180
|
+
function Qr(e) {
|
181
|
+
if (e.fragment !== null) {
|
182
|
+
e.update(), q(e.before_update);
|
183
|
+
const t = e.dirty;
|
184
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Xe);
|
185
|
+
}
|
186
|
+
}
|
187
|
+
function qr(e) {
|
188
|
+
const t = [], r = [];
|
189
|
+
te.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), te = t;
|
190
|
+
}
|
191
|
+
const Jr = /* @__PURE__ */ new Set();
|
192
|
+
function jt(e, t) {
|
193
|
+
e && e.i && (Jr.delete(e), e.i(t));
|
194
|
+
}
|
195
|
+
function re(e) {
|
196
|
+
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
197
|
+
}
|
198
|
+
function Vt(e, t) {
|
199
|
+
e.d(1), t.delete(e.key);
|
200
|
+
}
|
201
|
+
function Xt(e, t, r, n, i, o, s, a, u, l, h, d) {
|
202
|
+
let f = e.length, p = o.length, g = f;
|
203
|
+
const b = {};
|
204
|
+
for (; g--; ) b[e[g].key] = g;
|
205
|
+
const m = [], w = /* @__PURE__ */ new Map(), _ = /* @__PURE__ */ new Map(), C = [];
|
206
|
+
for (g = p; g--; ) {
|
207
|
+
const H = d(i, o, g), N = r(H);
|
208
|
+
let R = s.get(N);
|
209
|
+
R ? C.push(() => R.p(H, t)) : (R = l(N, H), R.c()), w.set(N, m[g] = R), N in b && _.set(N, Math.abs(g - b[N]));
|
210
|
+
}
|
211
|
+
const P = /* @__PURE__ */ new Set(), O = /* @__PURE__ */ new Set();
|
212
|
+
function L(H) {
|
213
|
+
jt(H, 1), H.m(a, h), s.set(H.key, H), h = H.first, p--;
|
214
|
+
}
|
215
|
+
for (; f && p; ) {
|
216
|
+
const H = m[p - 1], N = e[f - 1], R = H.key, G = N.key;
|
217
|
+
H === N ? (h = H.first, f--, p--) : w.has(G) ? !s.has(R) || P.has(R) ? L(H) : O.has(G) ? f-- : _.get(R) > _.get(G) ? (O.add(R), L(H)) : (P.add(G), f--) : (u(N, s), f--);
|
218
|
+
}
|
219
|
+
for (; f--; ) {
|
220
|
+
const H = e[f];
|
221
|
+
w.has(H.key) || u(H, s);
|
222
|
+
}
|
223
|
+
for (; p; ) L(m[p - 1]);
|
224
|
+
return q(C), m;
|
225
|
+
}
|
226
|
+
function Yr(e, t, r) {
|
227
|
+
const { fragment: n, after_update: i } = e.$$;
|
228
|
+
n && n.m(t, r), Xe(() => {
|
229
|
+
const o = e.$$.on_mount.map(kt).filter(tt);
|
230
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : q(o), e.$$.on_mount = [];
|
231
|
+
}), i.forEach(Xe);
|
232
|
+
}
|
233
|
+
function Kr(e, t) {
|
234
|
+
const r = e.$$;
|
235
|
+
r.fragment !== null && (qr(r.after_update), q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
236
|
+
}
|
237
|
+
function en(e, t) {
|
238
|
+
e.$$.dirty[0] === -1 && (ee.push(e), Zr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
239
|
+
}
|
240
|
+
function tn(e, t, r, n, i, o, s = null, a = [-1]) {
|
241
|
+
const u = pe;
|
242
|
+
fe(e);
|
243
|
+
const l = e.$$ = {
|
244
|
+
fragment: null,
|
245
|
+
ctx: [],
|
246
|
+
// state
|
247
|
+
props: o,
|
248
|
+
update: $,
|
249
|
+
not_equal: i,
|
250
|
+
bound: dt(),
|
251
|
+
// lifecycle
|
252
|
+
on_mount: [],
|
253
|
+
on_destroy: [],
|
254
|
+
on_disconnect: [],
|
255
|
+
before_update: [],
|
256
|
+
after_update: [],
|
257
|
+
context: new Map(t.context || (u ? u.$$.context : [])),
|
258
|
+
// everything else
|
259
|
+
callbacks: dt(),
|
260
|
+
dirty: a,
|
261
|
+
skip_bound: !1,
|
262
|
+
root: t.target || u.$$.root
|
263
|
+
};
|
264
|
+
s && s(l.root);
|
265
|
+
let h = !1;
|
266
|
+
if (l.ctx = r ? r(e, t.props || {}, (d, f, ...p) => {
|
267
|
+
const g = p.length ? p[0] : f;
|
268
|
+
return l.ctx && i(l.ctx[d], l.ctx[d] = g) && (!l.skip_bound && l.bound[d] && l.bound[d](g), h && en(e, d)), f;
|
269
|
+
}) : [], l.update(), h = !0, q(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
270
|
+
if (t.hydrate) {
|
271
|
+
const d = jr(t.target);
|
272
|
+
l.fragment && l.fragment.l(d), d.forEach(D);
|
273
|
+
} else
|
274
|
+
l.fragment && l.fragment.c();
|
275
|
+
t.intro && jt(e.$$.fragment), Yr(e, t.target, t.anchor), A();
|
276
|
+
}
|
277
|
+
fe(u);
|
278
|
+
}
|
279
|
+
let Wt;
|
280
|
+
typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
|
281
|
+
constructor(t, r, n) {
|
282
|
+
super();
|
283
|
+
/** The Svelte component constructor */
|
284
|
+
U(this, "$$ctor");
|
285
|
+
/** Slots */
|
286
|
+
U(this, "$$s");
|
287
|
+
/** The Svelte component instance */
|
288
|
+
U(this, "$$c");
|
289
|
+
/** Whether or not the custom element is connected */
|
290
|
+
U(this, "$$cn", !1);
|
291
|
+
/** Component props data */
|
292
|
+
U(this, "$$d", {});
|
293
|
+
/** `true` if currently in the process of reflecting component props back to attributes */
|
294
|
+
U(this, "$$r", !1);
|
295
|
+
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
296
|
+
U(this, "$$p_d", {});
|
297
|
+
/** @type {Record<string, Function[]>} Event listeners */
|
298
|
+
U(this, "$$l", {});
|
299
|
+
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
300
|
+
U(this, "$$l_u", /* @__PURE__ */ new Map());
|
301
|
+
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
302
|
+
}
|
303
|
+
addEventListener(t, r, n) {
|
304
|
+
if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
|
305
|
+
const i = this.$$c.$on(t, r);
|
306
|
+
this.$$l_u.set(r, i);
|
307
|
+
}
|
308
|
+
super.addEventListener(t, r, n);
|
309
|
+
}
|
310
|
+
removeEventListener(t, r, n) {
|
311
|
+
if (super.removeEventListener(t, r, n), this.$$c) {
|
312
|
+
const i = this.$$l_u.get(r);
|
313
|
+
i && (i(), this.$$l_u.delete(r));
|
314
|
+
}
|
315
|
+
}
|
316
|
+
connectedCallback() {
|
317
|
+
return ft(this, null, function* () {
|
318
|
+
if (this.$$cn = !0, !this.$$c) {
|
319
|
+
let t = function(o) {
|
320
|
+
return () => {
|
321
|
+
let s;
|
322
|
+
return {
|
323
|
+
c: function() {
|
324
|
+
s = M("slot"), o !== "default" && S(s, "name", o);
|
325
|
+
},
|
326
|
+
/**
|
327
|
+
* @param {HTMLElement} target
|
328
|
+
* @param {HTMLElement} [anchor]
|
329
|
+
*/
|
330
|
+
m: function(l, h) {
|
331
|
+
k(l, s, h);
|
332
|
+
},
|
333
|
+
d: function(l) {
|
334
|
+
l && D(s);
|
335
|
+
}
|
336
|
+
};
|
337
|
+
};
|
338
|
+
};
|
339
|
+
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
340
|
+
return;
|
341
|
+
const r = {}, n = Vr(this);
|
342
|
+
for (const o of this.$$s)
|
343
|
+
o in n && (r[o] = [t(o)]);
|
344
|
+
for (const o of this.attributes) {
|
345
|
+
const s = this.$$g_p(o.name);
|
346
|
+
s in this.$$d || (this.$$d[s] = we(s, o.value, this.$$p_d, "toProp"));
|
347
|
+
}
|
348
|
+
for (const o in this.$$p_d)
|
349
|
+
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
350
|
+
this.$$c = new this.$$ctor({
|
351
|
+
target: this.shadowRoot || this,
|
352
|
+
props: ct(ht({}, this.$$d), {
|
353
|
+
$$slots: r,
|
354
|
+
$$scope: {
|
355
|
+
ctx: []
|
356
|
+
}
|
357
|
+
})
|
358
|
+
});
|
359
|
+
const i = () => {
|
360
|
+
this.$$r = !0;
|
361
|
+
for (const o in this.$$p_d)
|
362
|
+
if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
|
363
|
+
const s = we(
|
364
|
+
o,
|
365
|
+
this.$$d[o],
|
366
|
+
this.$$p_d,
|
367
|
+
"toAttribute"
|
368
|
+
);
|
369
|
+
s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
|
370
|
+
}
|
371
|
+
this.$$r = !1;
|
372
|
+
};
|
373
|
+
this.$$c.$$.after_update.push(i), i();
|
374
|
+
for (const o in this.$$l)
|
375
|
+
for (const s of this.$$l[o]) {
|
376
|
+
const a = this.$$c.$on(o, s);
|
377
|
+
this.$$l_u.set(s, a);
|
378
|
+
}
|
379
|
+
this.$$l = {};
|
380
|
+
}
|
381
|
+
});
|
382
|
+
}
|
383
|
+
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
384
|
+
// and setting attributes through setAttribute etc, this is helpful
|
385
|
+
attributeChangedCallback(t, r, n) {
|
386
|
+
var i;
|
387
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = we(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
388
|
+
}
|
389
|
+
disconnectedCallback() {
|
390
|
+
this.$$cn = !1, Promise.resolve().then(() => {
|
391
|
+
!this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
|
392
|
+
});
|
393
|
+
}
|
394
|
+
$$g_p(t) {
|
395
|
+
return Object.keys(this.$$p_d).find(
|
396
|
+
(r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
|
397
|
+
) || t;
|
398
|
+
}
|
399
|
+
});
|
400
|
+
function we(e, t, r, n) {
|
401
|
+
var o;
|
402
|
+
const i = (o = r[e]) == null ? void 0 : o.type;
|
403
|
+
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
404
|
+
return t;
|
405
|
+
if (n === "toAttribute")
|
406
|
+
switch (i) {
|
407
|
+
case "Object":
|
408
|
+
case "Array":
|
409
|
+
return t == null ? null : JSON.stringify(t);
|
410
|
+
case "Boolean":
|
411
|
+
return t ? "" : null;
|
412
|
+
case "Number":
|
413
|
+
return t == null ? null : t;
|
414
|
+
default:
|
415
|
+
return t;
|
416
|
+
}
|
417
|
+
else
|
418
|
+
switch (i) {
|
419
|
+
case "Object":
|
420
|
+
case "Array":
|
421
|
+
return t && JSON.parse(t);
|
422
|
+
case "Boolean":
|
423
|
+
return t;
|
424
|
+
case "Number":
|
425
|
+
return t != null ? +t : t;
|
426
|
+
default:
|
427
|
+
return t;
|
428
|
+
}
|
429
|
+
}
|
430
|
+
function rn(e, t, r, n, i, o) {
|
431
|
+
let s = class extends Wt {
|
432
|
+
constructor() {
|
433
|
+
super(e, r, i), this.$$p_d = t;
|
434
|
+
}
|
435
|
+
static get observedAttributes() {
|
436
|
+
return Object.keys(t).map(
|
437
|
+
(a) => (t[a].attribute || a).toLowerCase()
|
438
|
+
);
|
439
|
+
}
|
440
|
+
};
|
441
|
+
return Object.keys(t).forEach((a) => {
|
442
|
+
Object.defineProperty(s.prototype, a, {
|
443
|
+
get() {
|
444
|
+
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
445
|
+
},
|
446
|
+
set(u) {
|
447
|
+
var l;
|
448
|
+
u = we(a, u, t), this.$$d[a] = u, (l = this.$$c) == null || l.$set({ [a]: u });
|
449
|
+
}
|
450
|
+
});
|
451
|
+
}), n.forEach((a) => {
|
452
|
+
Object.defineProperty(s.prototype, a, {
|
453
|
+
get() {
|
454
|
+
var u;
|
455
|
+
return (u = this.$$c) == null ? void 0 : u[a];
|
456
|
+
}
|
457
|
+
});
|
458
|
+
}), e.element = /** @type {any} */
|
459
|
+
s, s;
|
460
|
+
}
|
461
|
+
class nn {
|
462
|
+
constructor() {
|
463
|
+
/**
|
464
|
+
* ### PRIVATE API
|
465
|
+
*
|
466
|
+
* Do not use, may change at any time
|
467
|
+
*
|
468
|
+
* @type {any}
|
469
|
+
*/
|
470
|
+
U(this, "$$");
|
471
|
+
/**
|
472
|
+
* ### PRIVATE API
|
473
|
+
*
|
474
|
+
* Do not use, may change at any time
|
475
|
+
*
|
476
|
+
* @type {any}
|
477
|
+
*/
|
478
|
+
U(this, "$$set");
|
479
|
+
}
|
480
|
+
/** @returns {void} */
|
481
|
+
$destroy() {
|
482
|
+
Kr(this, 1), this.$destroy = $;
|
483
|
+
}
|
484
|
+
/**
|
485
|
+
* @template {Extract<keyof Events, string>} K
|
486
|
+
* @param {K} type
|
487
|
+
* @param {((e: Events[K]) => void) | null | undefined} callback
|
488
|
+
* @returns {() => void}
|
489
|
+
*/
|
490
|
+
$on(t, r) {
|
491
|
+
if (!tt(r))
|
492
|
+
return $;
|
493
|
+
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
494
|
+
return n.push(r), () => {
|
495
|
+
const i = n.indexOf(r);
|
496
|
+
i !== -1 && n.splice(i, 1);
|
497
|
+
};
|
498
|
+
}
|
499
|
+
/**
|
500
|
+
* @param {Partial<Props>} props
|
501
|
+
* @returns {void}
|
502
|
+
*/
|
503
|
+
$set(t) {
|
504
|
+
this.$$set && !Rr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
505
|
+
}
|
506
|
+
}
|
507
|
+
const on = "4";
|
508
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(on);
|
509
|
+
const K = [];
|
510
|
+
function sn(e, t) {
|
511
|
+
return {
|
512
|
+
subscribe: Be(e, t).subscribe
|
513
|
+
};
|
514
|
+
}
|
515
|
+
function Be(e, t = $) {
|
516
|
+
let r;
|
517
|
+
const n = /* @__PURE__ */ new Set();
|
518
|
+
function i(a) {
|
519
|
+
if ($t(e, a) && (e = a, r)) {
|
520
|
+
const u = !K.length;
|
521
|
+
for (const l of n)
|
522
|
+
l[1](), K.push(l, e);
|
523
|
+
if (u) {
|
524
|
+
for (let l = 0; l < K.length; l += 2)
|
525
|
+
K[l][0](K[l + 1]);
|
526
|
+
K.length = 0;
|
527
|
+
}
|
528
|
+
}
|
529
|
+
}
|
530
|
+
function o(a) {
|
531
|
+
i(a(e));
|
532
|
+
}
|
533
|
+
function s(a, u = $) {
|
534
|
+
const l = [a, u];
|
535
|
+
return n.add(l), n.size === 1 && (r = t(i, o) || $), a(e), () => {
|
536
|
+
n.delete(l), n.size === 0 && r && (r(), r = null);
|
537
|
+
};
|
538
|
+
}
|
539
|
+
return { set: i, update: o, subscribe: s };
|
540
|
+
}
|
541
|
+
function ae(e, t, r) {
|
542
|
+
const n = !Array.isArray(e), i = n ? [e] : e;
|
543
|
+
if (!i.every(Boolean))
|
544
|
+
throw new Error("derived() expects stores as input, got a falsy value");
|
545
|
+
const o = t.length < 2;
|
546
|
+
return sn(r, (s, a) => {
|
547
|
+
let u = !1;
|
548
|
+
const l = [];
|
549
|
+
let h = 0, d = $;
|
550
|
+
const f = () => {
|
551
|
+
if (h)
|
552
|
+
return;
|
553
|
+
d();
|
554
|
+
const g = t(n ? l[0] : l, s, a);
|
555
|
+
o ? s(g) : d = tt(g) ? g : $;
|
556
|
+
}, p = i.map(
|
557
|
+
(g, b) => Dr(
|
558
|
+
g,
|
559
|
+
(m) => {
|
560
|
+
l[b] = m, h &= ~(1 << b), u && f();
|
561
|
+
},
|
562
|
+
() => {
|
563
|
+
h |= 1 << b;
|
564
|
+
}
|
565
|
+
)
|
566
|
+
);
|
567
|
+
return u = !0, f(), function() {
|
568
|
+
q(p), d(), u = !1;
|
569
|
+
};
|
570
|
+
});
|
571
|
+
}
|
572
|
+
function an(e) {
|
573
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
574
|
+
}
|
575
|
+
var ln = function(t) {
|
576
|
+
return un(t) && !hn(t);
|
577
|
+
};
|
578
|
+
function un(e) {
|
579
|
+
return !!e && typeof e == "object";
|
580
|
+
}
|
581
|
+
function hn(e) {
|
582
|
+
var t = Object.prototype.toString.call(e);
|
583
|
+
return t === "[object RegExp]" || t === "[object Date]" || dn(e);
|
584
|
+
}
|
585
|
+
var cn = typeof Symbol == "function" && Symbol.for, fn = cn ? Symbol.for("react.element") : 60103;
|
586
|
+
function dn(e) {
|
587
|
+
return e.$$typeof === fn;
|
588
|
+
}
|
589
|
+
function mn(e) {
|
590
|
+
return Array.isArray(e) ? [] : {};
|
591
|
+
}
|
592
|
+
function ge(e, t) {
|
593
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? ne(mn(e), e, t) : e;
|
594
|
+
}
|
595
|
+
function pn(e, t, r) {
|
596
|
+
return e.concat(t).map(function(n) {
|
597
|
+
return ge(n, r);
|
598
|
+
});
|
599
|
+
}
|
600
|
+
function gn(e, t) {
|
601
|
+
if (!t.customMerge)
|
602
|
+
return ne;
|
603
|
+
var r = t.customMerge(e);
|
604
|
+
return typeof r == "function" ? r : ne;
|
605
|
+
}
|
606
|
+
function bn(e) {
|
607
|
+
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
608
|
+
return Object.propertyIsEnumerable.call(e, t);
|
609
|
+
}) : [];
|
610
|
+
}
|
611
|
+
function gt(e) {
|
612
|
+
return Object.keys(e).concat(bn(e));
|
613
|
+
}
|
614
|
+
function zt(e, t) {
|
615
|
+
try {
|
616
|
+
return t in e;
|
617
|
+
} catch (r) {
|
618
|
+
return !1;
|
619
|
+
}
|
620
|
+
}
|
621
|
+
function yn(e, t) {
|
622
|
+
return zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
623
|
+
}
|
624
|
+
function vn(e, t, r) {
|
625
|
+
var n = {};
|
626
|
+
return r.isMergeableObject(e) && gt(e).forEach(function(i) {
|
627
|
+
n[i] = ge(e[i], r);
|
628
|
+
}), gt(t).forEach(function(i) {
|
629
|
+
yn(e, i) || (zt(e, i) && r.isMergeableObject(t[i]) ? n[i] = gn(i, r)(e[i], t[i], r) : n[i] = ge(t[i], r));
|
630
|
+
}), n;
|
631
|
+
}
|
632
|
+
function ne(e, t, r) {
|
633
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || pn, r.isMergeableObject = r.isMergeableObject || ln, r.cloneUnlessOtherwiseSpecified = ge;
|
634
|
+
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
635
|
+
return o ? n ? r.arrayMerge(e, t, r) : vn(e, t, r) : ge(t, r);
|
636
|
+
}
|
637
|
+
ne.all = function(t, r) {
|
638
|
+
if (!Array.isArray(t))
|
639
|
+
throw new Error("first argument should be an array");
|
640
|
+
return t.reduce(function(n, i) {
|
641
|
+
return ne(n, i, r);
|
642
|
+
}, {});
|
643
|
+
};
|
644
|
+
var _n = ne, En = _n;
|
645
|
+
const xn = /* @__PURE__ */ an(En);
|
646
|
+
var We = function(e, t) {
|
647
|
+
return We = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
648
|
+
r.__proto__ = n;
|
649
|
+
} || function(r, n) {
|
650
|
+
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
651
|
+
}, We(e, t);
|
652
|
+
};
|
653
|
+
function Me(e, t) {
|
654
|
+
if (typeof t != "function" && t !== null)
|
655
|
+
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
656
|
+
We(e, t);
|
657
|
+
function r() {
|
658
|
+
this.constructor = e;
|
659
|
+
}
|
660
|
+
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
661
|
+
}
|
662
|
+
var E = function() {
|
663
|
+
return E = Object.assign || function(t) {
|
664
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
665
|
+
r = arguments[n];
|
666
|
+
for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
667
|
+
}
|
668
|
+
return t;
|
669
|
+
}, E.apply(this, arguments);
|
670
|
+
};
|
671
|
+
function Cn(e, t) {
|
672
|
+
var r = {};
|
673
|
+
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
674
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
675
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
676
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
677
|
+
return r;
|
678
|
+
}
|
679
|
+
function De(e, t, r) {
|
680
|
+
if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
|
681
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
682
|
+
return e.concat(o || Array.prototype.slice.call(t));
|
683
|
+
}
|
684
|
+
function Ge(e, t) {
|
685
|
+
var r = t && t.cache ? t.cache : Bn, n = t && t.serializer ? t.serializer : An, i = t && t.strategy ? t.strategy : Sn;
|
686
|
+
return i(e, {
|
687
|
+
cache: r,
|
688
|
+
serializer: n
|
689
|
+
});
|
690
|
+
}
|
691
|
+
function wn(e) {
|
692
|
+
return e == null || typeof e == "number" || typeof e == "boolean";
|
693
|
+
}
|
694
|
+
function Hn(e, t, r, n) {
|
695
|
+
var i = wn(n) ? n : r(n), o = t.get(i);
|
696
|
+
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
697
|
+
}
|
698
|
+
function Zt(e, t, r) {
|
699
|
+
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
700
|
+
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
701
|
+
}
|
702
|
+
function Qt(e, t, r, n, i) {
|
703
|
+
return r.bind(t, e, n, i);
|
704
|
+
}
|
705
|
+
function Sn(e, t) {
|
706
|
+
var r = e.length === 1 ? Hn : Zt;
|
707
|
+
return Qt(e, this, r, t.cache.create(), t.serializer);
|
708
|
+
}
|
709
|
+
function Tn(e, t) {
|
710
|
+
return Qt(e, this, Zt, t.cache.create(), t.serializer);
|
711
|
+
}
|
712
|
+
var An = function() {
|
713
|
+
return JSON.stringify(arguments);
|
714
|
+
}, In = (
|
715
|
+
/** @class */
|
716
|
+
function() {
|
717
|
+
function e() {
|
718
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
719
|
+
}
|
720
|
+
return e.prototype.get = function(t) {
|
721
|
+
return this.cache[t];
|
722
|
+
}, e.prototype.set = function(t, r) {
|
723
|
+
this.cache[t] = r;
|
724
|
+
}, e;
|
725
|
+
}()
|
726
|
+
), Bn = {
|
727
|
+
create: function() {
|
728
|
+
return new In();
|
729
|
+
}
|
730
|
+
}, Ue = {
|
731
|
+
variadic: Tn
|
732
|
+
}, y;
|
733
|
+
(function(e) {
|
734
|
+
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";
|
735
|
+
})(y || (y = {}));
|
736
|
+
var T;
|
737
|
+
(function(e) {
|
738
|
+
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";
|
739
|
+
})(T || (T = {}));
|
740
|
+
var ie;
|
741
|
+
(function(e) {
|
742
|
+
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
743
|
+
})(ie || (ie = {}));
|
744
|
+
function bt(e) {
|
745
|
+
return e.type === T.literal;
|
746
|
+
}
|
747
|
+
function Mn(e) {
|
748
|
+
return e.type === T.argument;
|
749
|
+
}
|
750
|
+
function qt(e) {
|
751
|
+
return e.type === T.number;
|
752
|
+
}
|
753
|
+
function Jt(e) {
|
754
|
+
return e.type === T.date;
|
755
|
+
}
|
756
|
+
function Yt(e) {
|
757
|
+
return e.type === T.time;
|
758
|
+
}
|
759
|
+
function Kt(e) {
|
760
|
+
return e.type === T.select;
|
761
|
+
}
|
762
|
+
function er(e) {
|
763
|
+
return e.type === T.plural;
|
764
|
+
}
|
765
|
+
function Nn(e) {
|
766
|
+
return e.type === T.pound;
|
767
|
+
}
|
768
|
+
function tr(e) {
|
769
|
+
return e.type === T.tag;
|
770
|
+
}
|
771
|
+
function rr(e) {
|
772
|
+
return !!(e && typeof e == "object" && e.type === ie.number);
|
773
|
+
}
|
774
|
+
function ze(e) {
|
775
|
+
return !!(e && typeof e == "object" && e.type === ie.dateTime);
|
776
|
+
}
|
777
|
+
var nr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Pn = /(?:[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;
|
778
|
+
function On(e) {
|
779
|
+
var t = {};
|
780
|
+
return e.replace(Pn, function(r) {
|
781
|
+
var n = r.length;
|
782
|
+
switch (r[0]) {
|
783
|
+
case "G":
|
784
|
+
t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
|
785
|
+
break;
|
786
|
+
case "y":
|
787
|
+
t.year = n === 2 ? "2-digit" : "numeric";
|
788
|
+
break;
|
789
|
+
case "Y":
|
790
|
+
case "u":
|
791
|
+
case "U":
|
792
|
+
case "r":
|
793
|
+
throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");
|
794
|
+
case "q":
|
795
|
+
case "Q":
|
796
|
+
throw new RangeError("`q/Q` (quarter) patterns are not supported");
|
797
|
+
case "M":
|
798
|
+
case "L":
|
799
|
+
t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
|
800
|
+
break;
|
801
|
+
case "w":
|
802
|
+
case "W":
|
803
|
+
throw new RangeError("`w/W` (week) patterns are not supported");
|
804
|
+
case "d":
|
805
|
+
t.day = ["numeric", "2-digit"][n - 1];
|
806
|
+
break;
|
807
|
+
case "D":
|
808
|
+
case "F":
|
809
|
+
case "g":
|
810
|
+
throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
|
811
|
+
case "E":
|
812
|
+
t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
|
813
|
+
break;
|
814
|
+
case "e":
|
815
|
+
if (n < 4)
|
816
|
+
throw new RangeError("`e..eee` (weekday) patterns are not supported");
|
817
|
+
t.weekday = ["short", "long", "narrow", "short"][n - 4];
|
818
|
+
break;
|
819
|
+
case "c":
|
820
|
+
if (n < 4)
|
821
|
+
throw new RangeError("`c..ccc` (weekday) patterns are not supported");
|
822
|
+
t.weekday = ["short", "long", "narrow", "short"][n - 4];
|
823
|
+
break;
|
824
|
+
case "a":
|
825
|
+
t.hour12 = !0;
|
826
|
+
break;
|
827
|
+
case "b":
|
828
|
+
case "B":
|
829
|
+
throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
|
830
|
+
case "h":
|
831
|
+
t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
|
832
|
+
break;
|
833
|
+
case "H":
|
834
|
+
t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
|
835
|
+
break;
|
836
|
+
case "K":
|
837
|
+
t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
|
838
|
+
break;
|
839
|
+
case "k":
|
840
|
+
t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
|
841
|
+
break;
|
842
|
+
case "j":
|
843
|
+
case "J":
|
844
|
+
case "C":
|
845
|
+
throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
|
846
|
+
case "m":
|
847
|
+
t.minute = ["numeric", "2-digit"][n - 1];
|
848
|
+
break;
|
849
|
+
case "s":
|
850
|
+
t.second = ["numeric", "2-digit"][n - 1];
|
851
|
+
break;
|
852
|
+
case "S":
|
853
|
+
case "A":
|
854
|
+
throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
|
855
|
+
case "z":
|
856
|
+
t.timeZoneName = n < 4 ? "short" : "long";
|
857
|
+
break;
|
858
|
+
case "Z":
|
859
|
+
case "O":
|
860
|
+
case "v":
|
861
|
+
case "V":
|
862
|
+
case "X":
|
863
|
+
case "x":
|
864
|
+
throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead");
|
865
|
+
}
|
866
|
+
return "";
|
867
|
+
}), t;
|
868
|
+
}
|
869
|
+
var Ln = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
870
|
+
function Fn(e) {
|
871
|
+
if (e.length === 0)
|
872
|
+
throw new Error("Number skeleton cannot be empty");
|
873
|
+
for (var t = e.split(Ln).filter(function(f) {
|
874
|
+
return f.length > 0;
|
875
|
+
}), r = [], n = 0, i = t; n < i.length; n++) {
|
876
|
+
var o = i[n], s = o.split("/");
|
877
|
+
if (s.length === 0)
|
878
|
+
throw new Error("Invalid number skeleton");
|
879
|
+
for (var a = s[0], u = s.slice(1), l = 0, h = u; l < h.length; l++) {
|
880
|
+
var d = h[l];
|
881
|
+
if (d.length === 0)
|
882
|
+
throw new Error("Invalid number skeleton");
|
883
|
+
}
|
884
|
+
r.push({ stem: a, options: u });
|
885
|
+
}
|
886
|
+
return r;
|
887
|
+
}
|
888
|
+
function Rn(e) {
|
889
|
+
return e.replace(/^(.*?)-/, "");
|
890
|
+
}
|
891
|
+
var yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ir = /^(@+)?(\+|#+)?[rs]?$/g, Dn = /(\*)(0+)|(#+)(0+)|(0+)/g, or = /^(0+)$/;
|
892
|
+
function vt(e) {
|
893
|
+
var t = {};
|
894
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ir, function(r, n, i) {
|
895
|
+
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)), "";
|
896
|
+
}), t;
|
897
|
+
}
|
898
|
+
function sr(e) {
|
899
|
+
switch (e) {
|
900
|
+
case "sign-auto":
|
901
|
+
return {
|
902
|
+
signDisplay: "auto"
|
903
|
+
};
|
904
|
+
case "sign-accounting":
|
905
|
+
case "()":
|
906
|
+
return {
|
907
|
+
currencySign: "accounting"
|
908
|
+
};
|
909
|
+
case "sign-always":
|
910
|
+
case "+!":
|
911
|
+
return {
|
912
|
+
signDisplay: "always"
|
913
|
+
};
|
914
|
+
case "sign-accounting-always":
|
915
|
+
case "()!":
|
916
|
+
return {
|
917
|
+
signDisplay: "always",
|
918
|
+
currencySign: "accounting"
|
919
|
+
};
|
920
|
+
case "sign-except-zero":
|
921
|
+
case "+?":
|
922
|
+
return {
|
923
|
+
signDisplay: "exceptZero"
|
924
|
+
};
|
925
|
+
case "sign-accounting-except-zero":
|
926
|
+
case "()?":
|
927
|
+
return {
|
928
|
+
signDisplay: "exceptZero",
|
929
|
+
currencySign: "accounting"
|
930
|
+
};
|
931
|
+
case "sign-never":
|
932
|
+
case "+_":
|
933
|
+
return {
|
934
|
+
signDisplay: "never"
|
935
|
+
};
|
936
|
+
}
|
937
|
+
}
|
938
|
+
function Gn(e) {
|
939
|
+
var t;
|
940
|
+
if (e[0] === "E" && e[1] === "E" ? (t = {
|
941
|
+
notation: "engineering"
|
942
|
+
}, e = e.slice(2)) : e[0] === "E" && (t = {
|
943
|
+
notation: "scientific"
|
944
|
+
}, e = e.slice(1)), t) {
|
945
|
+
var r = e.slice(0, 2);
|
946
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !or.test(e))
|
947
|
+
throw new Error("Malformed concise eng/scientific notation");
|
948
|
+
t.minimumIntegerDigits = e.length;
|
949
|
+
}
|
950
|
+
return t;
|
951
|
+
}
|
952
|
+
function _t(e) {
|
953
|
+
var t = {}, r = sr(e);
|
954
|
+
return r || t;
|
955
|
+
}
|
956
|
+
function Un(e) {
|
957
|
+
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
958
|
+
var i = n[r];
|
959
|
+
switch (i.stem) {
|
960
|
+
case "percent":
|
961
|
+
case "%":
|
962
|
+
t.style = "percent";
|
963
|
+
continue;
|
964
|
+
case "%x100":
|
965
|
+
t.style = "percent", t.scale = 100;
|
966
|
+
continue;
|
967
|
+
case "currency":
|
968
|
+
t.style = "currency", t.currency = i.options[0];
|
969
|
+
continue;
|
970
|
+
case "group-off":
|
971
|
+
case ",_":
|
972
|
+
t.useGrouping = !1;
|
973
|
+
continue;
|
974
|
+
case "precision-integer":
|
975
|
+
case ".":
|
976
|
+
t.maximumFractionDigits = 0;
|
977
|
+
continue;
|
978
|
+
case "measure-unit":
|
979
|
+
case "unit":
|
980
|
+
t.style = "unit", t.unit = Rn(i.options[0]);
|
981
|
+
continue;
|
982
|
+
case "compact-short":
|
983
|
+
case "K":
|
984
|
+
t.notation = "compact", t.compactDisplay = "short";
|
985
|
+
continue;
|
986
|
+
case "compact-long":
|
987
|
+
case "KK":
|
988
|
+
t.notation = "compact", t.compactDisplay = "long";
|
989
|
+
continue;
|
990
|
+
case "scientific":
|
991
|
+
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
|
992
|
+
return E(E({}, u), _t(l));
|
993
|
+
}, {}));
|
994
|
+
continue;
|
995
|
+
case "engineering":
|
996
|
+
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
|
997
|
+
return E(E({}, u), _t(l));
|
998
|
+
}, {}));
|
999
|
+
continue;
|
1000
|
+
case "notation-simple":
|
1001
|
+
t.notation = "standard";
|
1002
|
+
continue;
|
1003
|
+
case "unit-width-narrow":
|
1004
|
+
t.currencyDisplay = "narrowSymbol", t.unitDisplay = "narrow";
|
1005
|
+
continue;
|
1006
|
+
case "unit-width-short":
|
1007
|
+
t.currencyDisplay = "code", t.unitDisplay = "short";
|
1008
|
+
continue;
|
1009
|
+
case "unit-width-full-name":
|
1010
|
+
t.currencyDisplay = "name", t.unitDisplay = "long";
|
1011
|
+
continue;
|
1012
|
+
case "unit-width-iso-code":
|
1013
|
+
t.currencyDisplay = "symbol";
|
1014
|
+
continue;
|
1015
|
+
case "scale":
|
1016
|
+
t.scale = parseFloat(i.options[0]);
|
1017
|
+
continue;
|
1018
|
+
case "rounding-mode-floor":
|
1019
|
+
t.roundingMode = "floor";
|
1020
|
+
continue;
|
1021
|
+
case "rounding-mode-ceiling":
|
1022
|
+
t.roundingMode = "ceil";
|
1023
|
+
continue;
|
1024
|
+
case "rounding-mode-down":
|
1025
|
+
t.roundingMode = "trunc";
|
1026
|
+
continue;
|
1027
|
+
case "rounding-mode-up":
|
1028
|
+
t.roundingMode = "expand";
|
1029
|
+
continue;
|
1030
|
+
case "rounding-mode-half-even":
|
1031
|
+
t.roundingMode = "halfEven";
|
1032
|
+
continue;
|
1033
|
+
case "rounding-mode-half-down":
|
1034
|
+
t.roundingMode = "halfTrunc";
|
1035
|
+
continue;
|
1036
|
+
case "rounding-mode-half-up":
|
1037
|
+
t.roundingMode = "halfExpand";
|
1038
|
+
continue;
|
1039
|
+
case "integer-width":
|
1040
|
+
if (i.options.length > 1)
|
1041
|
+
throw new RangeError("integer-width stems only accept a single optional option");
|
1042
|
+
i.options[0].replace(Dn, function(u, l, h, d, f, p) {
|
1043
|
+
if (l)
|
1044
|
+
t.minimumIntegerDigits = h.length;
|
1045
|
+
else {
|
1046
|
+
if (d && f)
|
1047
|
+
throw new Error("We currently do not support maximum integer digits");
|
1048
|
+
if (p)
|
1049
|
+
throw new Error("We currently do not support exact integer digits");
|
1050
|
+
}
|
1051
|
+
return "";
|
1052
|
+
});
|
1053
|
+
continue;
|
1054
|
+
}
|
1055
|
+
if (or.test(i.stem)) {
|
1056
|
+
t.minimumIntegerDigits = i.stem.length;
|
1057
|
+
continue;
|
1058
|
+
}
|
1059
|
+
if (yt.test(i.stem)) {
|
1060
|
+
if (i.options.length > 1)
|
1061
|
+
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1062
|
+
i.stem.replace(yt, function(u, l, h, d, f, p) {
|
1063
|
+
return h === "*" ? t.minimumFractionDigits = l.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
1064
|
+
});
|
1065
|
+
var o = i.options[0];
|
1066
|
+
o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), vt(o)));
|
1067
|
+
continue;
|
1068
|
+
}
|
1069
|
+
if (ir.test(i.stem)) {
|
1070
|
+
t = E(E({}, t), vt(i.stem));
|
1071
|
+
continue;
|
1072
|
+
}
|
1073
|
+
var s = sr(i.stem);
|
1074
|
+
s && (t = E(E({}, t), s));
|
1075
|
+
var a = Gn(i.stem);
|
1076
|
+
a && (t = E(E({}, t), a));
|
1077
|
+
}
|
1078
|
+
return t;
|
1079
|
+
}
|
1080
|
+
var Ce = {
|
1081
|
+
"001": [
|
1082
|
+
"H",
|
1083
|
+
"h"
|
1084
|
+
],
|
1085
|
+
419: [
|
1086
|
+
"h",
|
1087
|
+
"H",
|
1088
|
+
"hB",
|
1089
|
+
"hb"
|
1090
|
+
],
|
1091
|
+
AC: [
|
1092
|
+
"H",
|
1093
|
+
"h",
|
1094
|
+
"hb",
|
1095
|
+
"hB"
|
1096
|
+
],
|
1097
|
+
AD: [
|
1098
|
+
"H",
|
1099
|
+
"hB"
|
1100
|
+
],
|
1101
|
+
AE: [
|
1102
|
+
"h",
|
1103
|
+
"hB",
|
1104
|
+
"hb",
|
1105
|
+
"H"
|
1106
|
+
],
|
1107
|
+
AF: [
|
1108
|
+
"H",
|
1109
|
+
"hb",
|
1110
|
+
"hB",
|
1111
|
+
"h"
|
1112
|
+
],
|
1113
|
+
AG: [
|
1114
|
+
"h",
|
1115
|
+
"hb",
|
1116
|
+
"H",
|
1117
|
+
"hB"
|
1118
|
+
],
|
1119
|
+
AI: [
|
1120
|
+
"H",
|
1121
|
+
"h",
|
1122
|
+
"hb",
|
1123
|
+
"hB"
|
1124
|
+
],
|
1125
|
+
AL: [
|
1126
|
+
"h",
|
1127
|
+
"H",
|
1128
|
+
"hB"
|
1129
|
+
],
|
1130
|
+
AM: [
|
1131
|
+
"H",
|
1132
|
+
"hB"
|
1133
|
+
],
|
1134
|
+
AO: [
|
1135
|
+
"H",
|
1136
|
+
"hB"
|
1137
|
+
],
|
1138
|
+
AR: [
|
1139
|
+
"h",
|
1140
|
+
"H",
|
1141
|
+
"hB",
|
1142
|
+
"hb"
|
1143
|
+
],
|
1144
|
+
AS: [
|
1145
|
+
"h",
|
1146
|
+
"H"
|
1147
|
+
],
|
1148
|
+
AT: [
|
1149
|
+
"H",
|
1150
|
+
"hB"
|
1151
|
+
],
|
1152
|
+
AU: [
|
1153
|
+
"h",
|
1154
|
+
"hb",
|
1155
|
+
"H",
|
1156
|
+
"hB"
|
1157
|
+
],
|
1158
|
+
AW: [
|
1159
|
+
"H",
|
1160
|
+
"hB"
|
1161
|
+
],
|
1162
|
+
AX: [
|
1163
|
+
"H"
|
1164
|
+
],
|
1165
|
+
AZ: [
|
1166
|
+
"H",
|
1167
|
+
"hB",
|
1168
|
+
"h"
|
1169
|
+
],
|
1170
|
+
BA: [
|
1171
|
+
"H",
|
1172
|
+
"hB",
|
1173
|
+
"h"
|
1174
|
+
],
|
1175
|
+
BB: [
|
1176
|
+
"h",
|
1177
|
+
"hb",
|
1178
|
+
"H",
|
1179
|
+
"hB"
|
1180
|
+
],
|
1181
|
+
BD: [
|
1182
|
+
"h",
|
1183
|
+
"hB",
|
1184
|
+
"H"
|
1185
|
+
],
|
1186
|
+
BE: [
|
1187
|
+
"H",
|
1188
|
+
"hB"
|
1189
|
+
],
|
1190
|
+
BF: [
|
1191
|
+
"H",
|
1192
|
+
"hB"
|
1193
|
+
],
|
1194
|
+
BG: [
|
1195
|
+
"H",
|
1196
|
+
"hB",
|
1197
|
+
"h"
|
1198
|
+
],
|
1199
|
+
BH: [
|
1200
|
+
"h",
|
1201
|
+
"hB",
|
1202
|
+
"hb",
|
1203
|
+
"H"
|
1204
|
+
],
|
1205
|
+
BI: [
|
1206
|
+
"H",
|
1207
|
+
"h"
|
1208
|
+
],
|
1209
|
+
BJ: [
|
1210
|
+
"H",
|
1211
|
+
"hB"
|
1212
|
+
],
|
1213
|
+
BL: [
|
1214
|
+
"H",
|
1215
|
+
"hB"
|
1216
|
+
],
|
1217
|
+
BM: [
|
1218
|
+
"h",
|
1219
|
+
"hb",
|
1220
|
+
"H",
|
1221
|
+
"hB"
|
1222
|
+
],
|
1223
|
+
BN: [
|
1224
|
+
"hb",
|
1225
|
+
"hB",
|
1226
|
+
"h",
|
1227
|
+
"H"
|
1228
|
+
],
|
1229
|
+
BO: [
|
1230
|
+
"h",
|
1231
|
+
"H",
|
1232
|
+
"hB",
|
1233
|
+
"hb"
|
1234
|
+
],
|
1235
|
+
BQ: [
|
1236
|
+
"H"
|
1237
|
+
],
|
1238
|
+
BR: [
|
1239
|
+
"H",
|
1240
|
+
"hB"
|
1241
|
+
],
|
1242
|
+
BS: [
|
1243
|
+
"h",
|
1244
|
+
"hb",
|
1245
|
+
"H",
|
1246
|
+
"hB"
|
1247
|
+
],
|
1248
|
+
BT: [
|
1249
|
+
"h",
|
1250
|
+
"H"
|
1251
|
+
],
|
1252
|
+
BW: [
|
1253
|
+
"H",
|
1254
|
+
"h",
|
1255
|
+
"hb",
|
1256
|
+
"hB"
|
1257
|
+
],
|
1258
|
+
BY: [
|
1259
|
+
"H",
|
1260
|
+
"h"
|
1261
|
+
],
|
1262
|
+
BZ: [
|
1263
|
+
"H",
|
1264
|
+
"h",
|
1265
|
+
"hb",
|
1266
|
+
"hB"
|
1267
|
+
],
|
1268
|
+
CA: [
|
1269
|
+
"h",
|
1270
|
+
"hb",
|
1271
|
+
"H",
|
1272
|
+
"hB"
|
1273
|
+
],
|
1274
|
+
CC: [
|
1275
|
+
"H",
|
1276
|
+
"h",
|
1277
|
+
"hb",
|
1278
|
+
"hB"
|
1279
|
+
],
|
1280
|
+
CD: [
|
1281
|
+
"hB",
|
1282
|
+
"H"
|
1283
|
+
],
|
1284
|
+
CF: [
|
1285
|
+
"H",
|
1286
|
+
"h",
|
1287
|
+
"hB"
|
1288
|
+
],
|
1289
|
+
CG: [
|
1290
|
+
"H",
|
1291
|
+
"hB"
|
1292
|
+
],
|
1293
|
+
CH: [
|
1294
|
+
"H",
|
1295
|
+
"hB",
|
1296
|
+
"h"
|
1297
|
+
],
|
1298
|
+
CI: [
|
1299
|
+
"H",
|
1300
|
+
"hB"
|
1301
|
+
],
|
1302
|
+
CK: [
|
1303
|
+
"H",
|
1304
|
+
"h",
|
1305
|
+
"hb",
|
1306
|
+
"hB"
|
1307
|
+
],
|
1308
|
+
CL: [
|
1309
|
+
"h",
|
1310
|
+
"H",
|
1311
|
+
"hB",
|
1312
|
+
"hb"
|
1313
|
+
],
|
1314
|
+
CM: [
|
1315
|
+
"H",
|
1316
|
+
"h",
|
1317
|
+
"hB"
|
1318
|
+
],
|
1319
|
+
CN: [
|
1320
|
+
"H",
|
1321
|
+
"hB",
|
1322
|
+
"hb",
|
1323
|
+
"h"
|
1324
|
+
],
|
1325
|
+
CO: [
|
1326
|
+
"h",
|
1327
|
+
"H",
|
1328
|
+
"hB",
|
1329
|
+
"hb"
|
1330
|
+
],
|
1331
|
+
CP: [
|
1332
|
+
"H"
|
1333
|
+
],
|
1334
|
+
CR: [
|
1335
|
+
"h",
|
1336
|
+
"H",
|
1337
|
+
"hB",
|
1338
|
+
"hb"
|
1339
|
+
],
|
1340
|
+
CU: [
|
1341
|
+
"h",
|
1342
|
+
"H",
|
1343
|
+
"hB",
|
1344
|
+
"hb"
|
1345
|
+
],
|
1346
|
+
CV: [
|
1347
|
+
"H",
|
1348
|
+
"hB"
|
1349
|
+
],
|
1350
|
+
CW: [
|
1351
|
+
"H",
|
1352
|
+
"hB"
|
1353
|
+
],
|
1354
|
+
CX: [
|
1355
|
+
"H",
|
1356
|
+
"h",
|
1357
|
+
"hb",
|
1358
|
+
"hB"
|
1359
|
+
],
|
1360
|
+
CY: [
|
1361
|
+
"h",
|
1362
|
+
"H",
|
1363
|
+
"hb",
|
1364
|
+
"hB"
|
1365
|
+
],
|
1366
|
+
CZ: [
|
1367
|
+
"H"
|
1368
|
+
],
|
1369
|
+
DE: [
|
1370
|
+
"H",
|
1371
|
+
"hB"
|
1372
|
+
],
|
1373
|
+
DG: [
|
1374
|
+
"H",
|
1375
|
+
"h",
|
1376
|
+
"hb",
|
1377
|
+
"hB"
|
1378
|
+
],
|
1379
|
+
DJ: [
|
1380
|
+
"h",
|
1381
|
+
"H"
|
1382
|
+
],
|
1383
|
+
DK: [
|
1384
|
+
"H"
|
1385
|
+
],
|
1386
|
+
DM: [
|
1387
|
+
"h",
|
1388
|
+
"hb",
|
1389
|
+
"H",
|
1390
|
+
"hB"
|
1391
|
+
],
|
1392
|
+
DO: [
|
1393
|
+
"h",
|
1394
|
+
"H",
|
1395
|
+
"hB",
|
1396
|
+
"hb"
|
1397
|
+
],
|
1398
|
+
DZ: [
|
1399
|
+
"h",
|
1400
|
+
"hB",
|
1401
|
+
"hb",
|
1402
|
+
"H"
|
1403
|
+
],
|
1404
|
+
EA: [
|
1405
|
+
"H",
|
1406
|
+
"h",
|
1407
|
+
"hB",
|
1408
|
+
"hb"
|
1409
|
+
],
|
1410
|
+
EC: [
|
1411
|
+
"h",
|
1412
|
+
"H",
|
1413
|
+
"hB",
|
1414
|
+
"hb"
|
1415
|
+
],
|
1416
|
+
EE: [
|
1417
|
+
"H",
|
1418
|
+
"hB"
|
1419
|
+
],
|
1420
|
+
EG: [
|
1421
|
+
"h",
|
1422
|
+
"hB",
|
1423
|
+
"hb",
|
1424
|
+
"H"
|
1425
|
+
],
|
1426
|
+
EH: [
|
1427
|
+
"h",
|
1428
|
+
"hB",
|
1429
|
+
"hb",
|
1430
|
+
"H"
|
1431
|
+
],
|
1432
|
+
ER: [
|
1433
|
+
"h",
|
1434
|
+
"H"
|
1435
|
+
],
|
1436
|
+
ES: [
|
1437
|
+
"H",
|
1438
|
+
"hB",
|
1439
|
+
"h",
|
1440
|
+
"hb"
|
1441
|
+
],
|
1442
|
+
ET: [
|
1443
|
+
"hB",
|
1444
|
+
"hb",
|
1445
|
+
"h",
|
1446
|
+
"H"
|
1447
|
+
],
|
1448
|
+
FI: [
|
1449
|
+
"H"
|
1450
|
+
],
|
1451
|
+
FJ: [
|
1452
|
+
"h",
|
1453
|
+
"hb",
|
1454
|
+
"H",
|
1455
|
+
"hB"
|
1456
|
+
],
|
1457
|
+
FK: [
|
1458
|
+
"H",
|
1459
|
+
"h",
|
1460
|
+
"hb",
|
1461
|
+
"hB"
|
1462
|
+
],
|
1463
|
+
FM: [
|
1464
|
+
"h",
|
1465
|
+
"hb",
|
1466
|
+
"H",
|
1467
|
+
"hB"
|
1468
|
+
],
|
1469
|
+
FO: [
|
1470
|
+
"H",
|
1471
|
+
"h"
|
1472
|
+
],
|
1473
|
+
FR: [
|
1474
|
+
"H",
|
1475
|
+
"hB"
|
1476
|
+
],
|
1477
|
+
GA: [
|
1478
|
+
"H",
|
1479
|
+
"hB"
|
1480
|
+
],
|
1481
|
+
GB: [
|
1482
|
+
"H",
|
1483
|
+
"h",
|
1484
|
+
"hb",
|
1485
|
+
"hB"
|
1486
|
+
],
|
1487
|
+
GD: [
|
1488
|
+
"h",
|
1489
|
+
"hb",
|
1490
|
+
"H",
|
1491
|
+
"hB"
|
1492
|
+
],
|
1493
|
+
GE: [
|
1494
|
+
"H",
|
1495
|
+
"hB",
|
1496
|
+
"h"
|
1497
|
+
],
|
1498
|
+
GF: [
|
1499
|
+
"H",
|
1500
|
+
"hB"
|
1501
|
+
],
|
1502
|
+
GG: [
|
1503
|
+
"H",
|
1504
|
+
"h",
|
1505
|
+
"hb",
|
1506
|
+
"hB"
|
1507
|
+
],
|
1508
|
+
GH: [
|
1509
|
+
"h",
|
1510
|
+
"H"
|
1511
|
+
],
|
1512
|
+
GI: [
|
1513
|
+
"H",
|
1514
|
+
"h",
|
1515
|
+
"hb",
|
1516
|
+
"hB"
|
1517
|
+
],
|
1518
|
+
GL: [
|
1519
|
+
"H",
|
1520
|
+
"h"
|
1521
|
+
],
|
1522
|
+
GM: [
|
1523
|
+
"h",
|
1524
|
+
"hb",
|
1525
|
+
"H",
|
1526
|
+
"hB"
|
1527
|
+
],
|
1528
|
+
GN: [
|
1529
|
+
"H",
|
1530
|
+
"hB"
|
1531
|
+
],
|
1532
|
+
GP: [
|
1533
|
+
"H",
|
1534
|
+
"hB"
|
1535
|
+
],
|
1536
|
+
GQ: [
|
1537
|
+
"H",
|
1538
|
+
"hB",
|
1539
|
+
"h",
|
1540
|
+
"hb"
|
1541
|
+
],
|
1542
|
+
GR: [
|
1543
|
+
"h",
|
1544
|
+
"H",
|
1545
|
+
"hb",
|
1546
|
+
"hB"
|
1547
|
+
],
|
1548
|
+
GT: [
|
1549
|
+
"h",
|
1550
|
+
"H",
|
1551
|
+
"hB",
|
1552
|
+
"hb"
|
1553
|
+
],
|
1554
|
+
GU: [
|
1555
|
+
"h",
|
1556
|
+
"hb",
|
1557
|
+
"H",
|
1558
|
+
"hB"
|
1559
|
+
],
|
1560
|
+
GW: [
|
1561
|
+
"H",
|
1562
|
+
"hB"
|
1563
|
+
],
|
1564
|
+
GY: [
|
1565
|
+
"h",
|
1566
|
+
"hb",
|
1567
|
+
"H",
|
1568
|
+
"hB"
|
1569
|
+
],
|
1570
|
+
HK: [
|
1571
|
+
"h",
|
1572
|
+
"hB",
|
1573
|
+
"hb",
|
1574
|
+
"H"
|
1575
|
+
],
|
1576
|
+
HN: [
|
1577
|
+
"h",
|
1578
|
+
"H",
|
1579
|
+
"hB",
|
1580
|
+
"hb"
|
1581
|
+
],
|
1582
|
+
HR: [
|
1583
|
+
"H",
|
1584
|
+
"hB"
|
1585
|
+
],
|
1586
|
+
HU: [
|
1587
|
+
"H",
|
1588
|
+
"h"
|
1589
|
+
],
|
1590
|
+
IC: [
|
1591
|
+
"H",
|
1592
|
+
"h",
|
1593
|
+
"hB",
|
1594
|
+
"hb"
|
1595
|
+
],
|
1596
|
+
ID: [
|
1597
|
+
"H"
|
1598
|
+
],
|
1599
|
+
IE: [
|
1600
|
+
"H",
|
1601
|
+
"h",
|
1602
|
+
"hb",
|
1603
|
+
"hB"
|
1604
|
+
],
|
1605
|
+
IL: [
|
1606
|
+
"H",
|
1607
|
+
"hB"
|
1608
|
+
],
|
1609
|
+
IM: [
|
1610
|
+
"H",
|
1611
|
+
"h",
|
1612
|
+
"hb",
|
1613
|
+
"hB"
|
1614
|
+
],
|
1615
|
+
IN: [
|
1616
|
+
"h",
|
1617
|
+
"H"
|
1618
|
+
],
|
1619
|
+
IO: [
|
1620
|
+
"H",
|
1621
|
+
"h",
|
1622
|
+
"hb",
|
1623
|
+
"hB"
|
1624
|
+
],
|
1625
|
+
IQ: [
|
1626
|
+
"h",
|
1627
|
+
"hB",
|
1628
|
+
"hb",
|
1629
|
+
"H"
|
1630
|
+
],
|
1631
|
+
IR: [
|
1632
|
+
"hB",
|
1633
|
+
"H"
|
1634
|
+
],
|
1635
|
+
IS: [
|
1636
|
+
"H"
|
1637
|
+
],
|
1638
|
+
IT: [
|
1639
|
+
"H",
|
1640
|
+
"hB"
|
1641
|
+
],
|
1642
|
+
JE: [
|
1643
|
+
"H",
|
1644
|
+
"h",
|
1645
|
+
"hb",
|
1646
|
+
"hB"
|
1647
|
+
],
|
1648
|
+
JM: [
|
1649
|
+
"h",
|
1650
|
+
"hb",
|
1651
|
+
"H",
|
1652
|
+
"hB"
|
1653
|
+
],
|
1654
|
+
JO: [
|
1655
|
+
"h",
|
1656
|
+
"hB",
|
1657
|
+
"hb",
|
1658
|
+
"H"
|
1659
|
+
],
|
1660
|
+
JP: [
|
1661
|
+
"H",
|
1662
|
+
"K",
|
1663
|
+
"h"
|
1664
|
+
],
|
1665
|
+
KE: [
|
1666
|
+
"hB",
|
1667
|
+
"hb",
|
1668
|
+
"H",
|
1669
|
+
"h"
|
1670
|
+
],
|
1671
|
+
KG: [
|
1672
|
+
"H",
|
1673
|
+
"h",
|
1674
|
+
"hB",
|
1675
|
+
"hb"
|
1676
|
+
],
|
1677
|
+
KH: [
|
1678
|
+
"hB",
|
1679
|
+
"h",
|
1680
|
+
"H",
|
1681
|
+
"hb"
|
1682
|
+
],
|
1683
|
+
KI: [
|
1684
|
+
"h",
|
1685
|
+
"hb",
|
1686
|
+
"H",
|
1687
|
+
"hB"
|
1688
|
+
],
|
1689
|
+
KM: [
|
1690
|
+
"H",
|
1691
|
+
"h",
|
1692
|
+
"hB",
|
1693
|
+
"hb"
|
1694
|
+
],
|
1695
|
+
KN: [
|
1696
|
+
"h",
|
1697
|
+
"hb",
|
1698
|
+
"H",
|
1699
|
+
"hB"
|
1700
|
+
],
|
1701
|
+
KP: [
|
1702
|
+
"h",
|
1703
|
+
"H",
|
1704
|
+
"hB",
|
1705
|
+
"hb"
|
1706
|
+
],
|
1707
|
+
KR: [
|
1708
|
+
"h",
|
1709
|
+
"H",
|
1710
|
+
"hB",
|
1711
|
+
"hb"
|
1712
|
+
],
|
1713
|
+
KW: [
|
1714
|
+
"h",
|
1715
|
+
"hB",
|
1716
|
+
"hb",
|
1717
|
+
"H"
|
1718
|
+
],
|
1719
|
+
KY: [
|
1720
|
+
"h",
|
1721
|
+
"hb",
|
1722
|
+
"H",
|
1723
|
+
"hB"
|
1724
|
+
],
|
1725
|
+
KZ: [
|
1726
|
+
"H",
|
1727
|
+
"hB"
|
1728
|
+
],
|
1729
|
+
LA: [
|
1730
|
+
"H",
|
1731
|
+
"hb",
|
1732
|
+
"hB",
|
1733
|
+
"h"
|
1734
|
+
],
|
1735
|
+
LB: [
|
1736
|
+
"h",
|
1737
|
+
"hB",
|
1738
|
+
"hb",
|
1739
|
+
"H"
|
1740
|
+
],
|
1741
|
+
LC: [
|
1742
|
+
"h",
|
1743
|
+
"hb",
|
1744
|
+
"H",
|
1745
|
+
"hB"
|
1746
|
+
],
|
1747
|
+
LI: [
|
1748
|
+
"H",
|
1749
|
+
"hB",
|
1750
|
+
"h"
|
1751
|
+
],
|
1752
|
+
LK: [
|
1753
|
+
"H",
|
1754
|
+
"h",
|
1755
|
+
"hB",
|
1756
|
+
"hb"
|
1757
|
+
],
|
1758
|
+
LR: [
|
1759
|
+
"h",
|
1760
|
+
"hb",
|
1761
|
+
"H",
|
1762
|
+
"hB"
|
1763
|
+
],
|
1764
|
+
LS: [
|
1765
|
+
"h",
|
1766
|
+
"H"
|
1767
|
+
],
|
1768
|
+
LT: [
|
1769
|
+
"H",
|
1770
|
+
"h",
|
1771
|
+
"hb",
|
1772
|
+
"hB"
|
1773
|
+
],
|
1774
|
+
LU: [
|
1775
|
+
"H",
|
1776
|
+
"h",
|
1777
|
+
"hB"
|
1778
|
+
],
|
1779
|
+
LV: [
|
1780
|
+
"H",
|
1781
|
+
"hB",
|
1782
|
+
"hb",
|
1783
|
+
"h"
|
1784
|
+
],
|
1785
|
+
LY: [
|
1786
|
+
"h",
|
1787
|
+
"hB",
|
1788
|
+
"hb",
|
1789
|
+
"H"
|
1790
|
+
],
|
1791
|
+
MA: [
|
1792
|
+
"H",
|
1793
|
+
"h",
|
1794
|
+
"hB",
|
1795
|
+
"hb"
|
1796
|
+
],
|
1797
|
+
MC: [
|
1798
|
+
"H",
|
1799
|
+
"hB"
|
1800
|
+
],
|
1801
|
+
MD: [
|
1802
|
+
"H",
|
1803
|
+
"hB"
|
1804
|
+
],
|
1805
|
+
ME: [
|
1806
|
+
"H",
|
1807
|
+
"hB",
|
1808
|
+
"h"
|
1809
|
+
],
|
1810
|
+
MF: [
|
1811
|
+
"H",
|
1812
|
+
"hB"
|
1813
|
+
],
|
1814
|
+
MG: [
|
1815
|
+
"H",
|
1816
|
+
"h"
|
1817
|
+
],
|
1818
|
+
MH: [
|
1819
|
+
"h",
|
1820
|
+
"hb",
|
1821
|
+
"H",
|
1822
|
+
"hB"
|
1823
|
+
],
|
1824
|
+
MK: [
|
1825
|
+
"H",
|
1826
|
+
"h",
|
1827
|
+
"hb",
|
1828
|
+
"hB"
|
1829
|
+
],
|
1830
|
+
ML: [
|
1831
|
+
"H"
|
1832
|
+
],
|
1833
|
+
MM: [
|
1834
|
+
"hB",
|
1835
|
+
"hb",
|
1836
|
+
"H",
|
1837
|
+
"h"
|
1838
|
+
],
|
1839
|
+
MN: [
|
1840
|
+
"H",
|
1841
|
+
"h",
|
1842
|
+
"hb",
|
1843
|
+
"hB"
|
1844
|
+
],
|
1845
|
+
MO: [
|
1846
|
+
"h",
|
1847
|
+
"hB",
|
1848
|
+
"hb",
|
1849
|
+
"H"
|
1850
|
+
],
|
1851
|
+
MP: [
|
1852
|
+
"h",
|
1853
|
+
"hb",
|
1854
|
+
"H",
|
1855
|
+
"hB"
|
1856
|
+
],
|
1857
|
+
MQ: [
|
1858
|
+
"H",
|
1859
|
+
"hB"
|
1860
|
+
],
|
1861
|
+
MR: [
|
1862
|
+
"h",
|
1863
|
+
"hB",
|
1864
|
+
"hb",
|
1865
|
+
"H"
|
1866
|
+
],
|
1867
|
+
MS: [
|
1868
|
+
"H",
|
1869
|
+
"h",
|
1870
|
+
"hb",
|
1871
|
+
"hB"
|
1872
|
+
],
|
1873
|
+
MT: [
|
1874
|
+
"H",
|
1875
|
+
"h"
|
1876
|
+
],
|
1877
|
+
MU: [
|
1878
|
+
"H",
|
1879
|
+
"h"
|
1880
|
+
],
|
1881
|
+
MV: [
|
1882
|
+
"H",
|
1883
|
+
"h"
|
1884
|
+
],
|
1885
|
+
MW: [
|
1886
|
+
"h",
|
1887
|
+
"hb",
|
1888
|
+
"H",
|
1889
|
+
"hB"
|
1890
|
+
],
|
1891
|
+
MX: [
|
1892
|
+
"h",
|
1893
|
+
"H",
|
1894
|
+
"hB",
|
1895
|
+
"hb"
|
1896
|
+
],
|
1897
|
+
MY: [
|
1898
|
+
"hb",
|
1899
|
+
"hB",
|
1900
|
+
"h",
|
1901
|
+
"H"
|
1902
|
+
],
|
1903
|
+
MZ: [
|
1904
|
+
"H",
|
1905
|
+
"hB"
|
1906
|
+
],
|
1907
|
+
NA: [
|
1908
|
+
"h",
|
1909
|
+
"H",
|
1910
|
+
"hB",
|
1911
|
+
"hb"
|
1912
|
+
],
|
1913
|
+
NC: [
|
1914
|
+
"H",
|
1915
|
+
"hB"
|
1916
|
+
],
|
1917
|
+
NE: [
|
1918
|
+
"H"
|
1919
|
+
],
|
1920
|
+
NF: [
|
1921
|
+
"H",
|
1922
|
+
"h",
|
1923
|
+
"hb",
|
1924
|
+
"hB"
|
1925
|
+
],
|
1926
|
+
NG: [
|
1927
|
+
"H",
|
1928
|
+
"h",
|
1929
|
+
"hb",
|
1930
|
+
"hB"
|
1931
|
+
],
|
1932
|
+
NI: [
|
1933
|
+
"h",
|
1934
|
+
"H",
|
1935
|
+
"hB",
|
1936
|
+
"hb"
|
1937
|
+
],
|
1938
|
+
NL: [
|
1939
|
+
"H",
|
1940
|
+
"hB"
|
1941
|
+
],
|
1942
|
+
NO: [
|
1943
|
+
"H",
|
1944
|
+
"h"
|
1945
|
+
],
|
1946
|
+
NP: [
|
1947
|
+
"H",
|
1948
|
+
"h",
|
1949
|
+
"hB"
|
1950
|
+
],
|
1951
|
+
NR: [
|
1952
|
+
"H",
|
1953
|
+
"h",
|
1954
|
+
"hb",
|
1955
|
+
"hB"
|
1956
|
+
],
|
1957
|
+
NU: [
|
1958
|
+
"H",
|
1959
|
+
"h",
|
1960
|
+
"hb",
|
1961
|
+
"hB"
|
1962
|
+
],
|
1963
|
+
NZ: [
|
1964
|
+
"h",
|
1965
|
+
"hb",
|
1966
|
+
"H",
|
1967
|
+
"hB"
|
1968
|
+
],
|
1969
|
+
OM: [
|
1970
|
+
"h",
|
1971
|
+
"hB",
|
1972
|
+
"hb",
|
1973
|
+
"H"
|
1974
|
+
],
|
1975
|
+
PA: [
|
1976
|
+
"h",
|
1977
|
+
"H",
|
1978
|
+
"hB",
|
1979
|
+
"hb"
|
1980
|
+
],
|
1981
|
+
PE: [
|
1982
|
+
"h",
|
1983
|
+
"H",
|
1984
|
+
"hB",
|
1985
|
+
"hb"
|
1986
|
+
],
|
1987
|
+
PF: [
|
1988
|
+
"H",
|
1989
|
+
"h",
|
1990
|
+
"hB"
|
1991
|
+
],
|
1992
|
+
PG: [
|
1993
|
+
"h",
|
1994
|
+
"H"
|
1995
|
+
],
|
1996
|
+
PH: [
|
1997
|
+
"h",
|
1998
|
+
"hB",
|
1999
|
+
"hb",
|
2000
|
+
"H"
|
2001
|
+
],
|
2002
|
+
PK: [
|
2003
|
+
"h",
|
2004
|
+
"hB",
|
2005
|
+
"H"
|
2006
|
+
],
|
2007
|
+
PL: [
|
2008
|
+
"H",
|
2009
|
+
"h"
|
2010
|
+
],
|
2011
|
+
PM: [
|
2012
|
+
"H",
|
2013
|
+
"hB"
|
2014
|
+
],
|
2015
|
+
PN: [
|
2016
|
+
"H",
|
2017
|
+
"h",
|
2018
|
+
"hb",
|
2019
|
+
"hB"
|
2020
|
+
],
|
2021
|
+
PR: [
|
2022
|
+
"h",
|
2023
|
+
"H",
|
2024
|
+
"hB",
|
2025
|
+
"hb"
|
2026
|
+
],
|
2027
|
+
PS: [
|
2028
|
+
"h",
|
2029
|
+
"hB",
|
2030
|
+
"hb",
|
2031
|
+
"H"
|
2032
|
+
],
|
2033
|
+
PT: [
|
2034
|
+
"H",
|
2035
|
+
"hB"
|
2036
|
+
],
|
2037
|
+
PW: [
|
2038
|
+
"h",
|
2039
|
+
"H"
|
2040
|
+
],
|
2041
|
+
PY: [
|
2042
|
+
"h",
|
2043
|
+
"H",
|
2044
|
+
"hB",
|
2045
|
+
"hb"
|
2046
|
+
],
|
2047
|
+
QA: [
|
2048
|
+
"h",
|
2049
|
+
"hB",
|
2050
|
+
"hb",
|
2051
|
+
"H"
|
2052
|
+
],
|
2053
|
+
RE: [
|
2054
|
+
"H",
|
2055
|
+
"hB"
|
2056
|
+
],
|
2057
|
+
RO: [
|
2058
|
+
"H",
|
2059
|
+
"hB"
|
2060
|
+
],
|
2061
|
+
RS: [
|
2062
|
+
"H",
|
2063
|
+
"hB",
|
2064
|
+
"h"
|
2065
|
+
],
|
2066
|
+
RU: [
|
2067
|
+
"H"
|
2068
|
+
],
|
2069
|
+
RW: [
|
2070
|
+
"H",
|
2071
|
+
"h"
|
2072
|
+
],
|
2073
|
+
SA: [
|
2074
|
+
"h",
|
2075
|
+
"hB",
|
2076
|
+
"hb",
|
2077
|
+
"H"
|
2078
|
+
],
|
2079
|
+
SB: [
|
2080
|
+
"h",
|
2081
|
+
"hb",
|
2082
|
+
"H",
|
2083
|
+
"hB"
|
2084
|
+
],
|
2085
|
+
SC: [
|
2086
|
+
"H",
|
2087
|
+
"h",
|
2088
|
+
"hB"
|
2089
|
+
],
|
2090
|
+
SD: [
|
2091
|
+
"h",
|
2092
|
+
"hB",
|
2093
|
+
"hb",
|
2094
|
+
"H"
|
2095
|
+
],
|
2096
|
+
SE: [
|
2097
|
+
"H"
|
2098
|
+
],
|
2099
|
+
SG: [
|
2100
|
+
"h",
|
2101
|
+
"hb",
|
2102
|
+
"H",
|
2103
|
+
"hB"
|
2104
|
+
],
|
2105
|
+
SH: [
|
2106
|
+
"H",
|
2107
|
+
"h",
|
2108
|
+
"hb",
|
2109
|
+
"hB"
|
2110
|
+
],
|
2111
|
+
SI: [
|
2112
|
+
"H",
|
2113
|
+
"hB"
|
2114
|
+
],
|
2115
|
+
SJ: [
|
2116
|
+
"H"
|
2117
|
+
],
|
2118
|
+
SK: [
|
2119
|
+
"H"
|
2120
|
+
],
|
2121
|
+
SL: [
|
2122
|
+
"h",
|
2123
|
+
"hb",
|
2124
|
+
"H",
|
2125
|
+
"hB"
|
2126
|
+
],
|
2127
|
+
SM: [
|
2128
|
+
"H",
|
2129
|
+
"h",
|
2130
|
+
"hB"
|
2131
|
+
],
|
2132
|
+
SN: [
|
2133
|
+
"H",
|
2134
|
+
"h",
|
2135
|
+
"hB"
|
2136
|
+
],
|
2137
|
+
SO: [
|
2138
|
+
"h",
|
2139
|
+
"H"
|
2140
|
+
],
|
2141
|
+
SR: [
|
2142
|
+
"H",
|
2143
|
+
"hB"
|
2144
|
+
],
|
2145
|
+
SS: [
|
2146
|
+
"h",
|
2147
|
+
"hb",
|
2148
|
+
"H",
|
2149
|
+
"hB"
|
2150
|
+
],
|
2151
|
+
ST: [
|
2152
|
+
"H",
|
2153
|
+
"hB"
|
2154
|
+
],
|
2155
|
+
SV: [
|
2156
|
+
"h",
|
2157
|
+
"H",
|
2158
|
+
"hB",
|
2159
|
+
"hb"
|
2160
|
+
],
|
2161
|
+
SX: [
|
2162
|
+
"H",
|
2163
|
+
"h",
|
2164
|
+
"hb",
|
2165
|
+
"hB"
|
2166
|
+
],
|
2167
|
+
SY: [
|
2168
|
+
"h",
|
2169
|
+
"hB",
|
2170
|
+
"hb",
|
2171
|
+
"H"
|
2172
|
+
],
|
2173
|
+
SZ: [
|
2174
|
+
"h",
|
2175
|
+
"hb",
|
2176
|
+
"H",
|
2177
|
+
"hB"
|
2178
|
+
],
|
2179
|
+
TA: [
|
2180
|
+
"H",
|
2181
|
+
"h",
|
2182
|
+
"hb",
|
2183
|
+
"hB"
|
2184
|
+
],
|
2185
|
+
TC: [
|
2186
|
+
"h",
|
2187
|
+
"hb",
|
2188
|
+
"H",
|
2189
|
+
"hB"
|
2190
|
+
],
|
2191
|
+
TD: [
|
2192
|
+
"h",
|
2193
|
+
"H",
|
2194
|
+
"hB"
|
2195
|
+
],
|
2196
|
+
TF: [
|
2197
|
+
"H",
|
2198
|
+
"h",
|
2199
|
+
"hB"
|
2200
|
+
],
|
2201
|
+
TG: [
|
2202
|
+
"H",
|
2203
|
+
"hB"
|
2204
|
+
],
|
2205
|
+
TH: [
|
2206
|
+
"H",
|
2207
|
+
"h"
|
2208
|
+
],
|
2209
|
+
TJ: [
|
2210
|
+
"H",
|
2211
|
+
"h"
|
2212
|
+
],
|
2213
|
+
TL: [
|
2214
|
+
"H",
|
2215
|
+
"hB",
|
2216
|
+
"hb",
|
2217
|
+
"h"
|
2218
|
+
],
|
2219
|
+
TM: [
|
2220
|
+
"H",
|
2221
|
+
"h"
|
2222
|
+
],
|
2223
|
+
TN: [
|
2224
|
+
"h",
|
2225
|
+
"hB",
|
2226
|
+
"hb",
|
2227
|
+
"H"
|
2228
|
+
],
|
2229
|
+
TO: [
|
2230
|
+
"h",
|
2231
|
+
"H"
|
2232
|
+
],
|
2233
|
+
TR: [
|
2234
|
+
"H",
|
2235
|
+
"hB"
|
2236
|
+
],
|
2237
|
+
TT: [
|
2238
|
+
"h",
|
2239
|
+
"hb",
|
2240
|
+
"H",
|
2241
|
+
"hB"
|
2242
|
+
],
|
2243
|
+
TW: [
|
2244
|
+
"hB",
|
2245
|
+
"hb",
|
2246
|
+
"h",
|
2247
|
+
"H"
|
2248
|
+
],
|
2249
|
+
TZ: [
|
2250
|
+
"hB",
|
2251
|
+
"hb",
|
2252
|
+
"H",
|
2253
|
+
"h"
|
2254
|
+
],
|
2255
|
+
UA: [
|
2256
|
+
"H",
|
2257
|
+
"hB",
|
2258
|
+
"h"
|
2259
|
+
],
|
2260
|
+
UG: [
|
2261
|
+
"hB",
|
2262
|
+
"hb",
|
2263
|
+
"H",
|
2264
|
+
"h"
|
2265
|
+
],
|
2266
|
+
UM: [
|
2267
|
+
"h",
|
2268
|
+
"hb",
|
2269
|
+
"H",
|
2270
|
+
"hB"
|
2271
|
+
],
|
2272
|
+
US: [
|
2273
|
+
"h",
|
2274
|
+
"hb",
|
2275
|
+
"H",
|
2276
|
+
"hB"
|
2277
|
+
],
|
2278
|
+
UY: [
|
2279
|
+
"h",
|
2280
|
+
"H",
|
2281
|
+
"hB",
|
2282
|
+
"hb"
|
2283
|
+
],
|
2284
|
+
UZ: [
|
2285
|
+
"H",
|
2286
|
+
"hB",
|
2287
|
+
"h"
|
2288
|
+
],
|
2289
|
+
VA: [
|
2290
|
+
"H",
|
2291
|
+
"h",
|
2292
|
+
"hB"
|
2293
|
+
],
|
2294
|
+
VC: [
|
2295
|
+
"h",
|
2296
|
+
"hb",
|
2297
|
+
"H",
|
2298
|
+
"hB"
|
2299
|
+
],
|
2300
|
+
VE: [
|
2301
|
+
"h",
|
2302
|
+
"H",
|
2303
|
+
"hB",
|
2304
|
+
"hb"
|
2305
|
+
],
|
2306
|
+
VG: [
|
2307
|
+
"h",
|
2308
|
+
"hb",
|
2309
|
+
"H",
|
2310
|
+
"hB"
|
2311
|
+
],
|
2312
|
+
VI: [
|
2313
|
+
"h",
|
2314
|
+
"hb",
|
2315
|
+
"H",
|
2316
|
+
"hB"
|
2317
|
+
],
|
2318
|
+
VN: [
|
2319
|
+
"H",
|
2320
|
+
"h"
|
2321
|
+
],
|
2322
|
+
VU: [
|
2323
|
+
"h",
|
2324
|
+
"H"
|
2325
|
+
],
|
2326
|
+
WF: [
|
2327
|
+
"H",
|
2328
|
+
"hB"
|
2329
|
+
],
|
2330
|
+
WS: [
|
2331
|
+
"h",
|
2332
|
+
"H"
|
2333
|
+
],
|
2334
|
+
XK: [
|
2335
|
+
"H",
|
2336
|
+
"hB",
|
2337
|
+
"h"
|
2338
|
+
],
|
2339
|
+
YE: [
|
2340
|
+
"h",
|
2341
|
+
"hB",
|
2342
|
+
"hb",
|
2343
|
+
"H"
|
2344
|
+
],
|
2345
|
+
YT: [
|
2346
|
+
"H",
|
2347
|
+
"hB"
|
2348
|
+
],
|
2349
|
+
ZA: [
|
2350
|
+
"H",
|
2351
|
+
"h",
|
2352
|
+
"hb",
|
2353
|
+
"hB"
|
2354
|
+
],
|
2355
|
+
ZM: [
|
2356
|
+
"h",
|
2357
|
+
"hb",
|
2358
|
+
"H",
|
2359
|
+
"hB"
|
2360
|
+
],
|
2361
|
+
ZW: [
|
2362
|
+
"H",
|
2363
|
+
"h"
|
2364
|
+
],
|
2365
|
+
"af-ZA": [
|
2366
|
+
"H",
|
2367
|
+
"h",
|
2368
|
+
"hB",
|
2369
|
+
"hb"
|
2370
|
+
],
|
2371
|
+
"ar-001": [
|
2372
|
+
"h",
|
2373
|
+
"hB",
|
2374
|
+
"hb",
|
2375
|
+
"H"
|
2376
|
+
],
|
2377
|
+
"ca-ES": [
|
2378
|
+
"H",
|
2379
|
+
"h",
|
2380
|
+
"hB"
|
2381
|
+
],
|
2382
|
+
"en-001": [
|
2383
|
+
"h",
|
2384
|
+
"hb",
|
2385
|
+
"H",
|
2386
|
+
"hB"
|
2387
|
+
],
|
2388
|
+
"en-HK": [
|
2389
|
+
"h",
|
2390
|
+
"hb",
|
2391
|
+
"H",
|
2392
|
+
"hB"
|
2393
|
+
],
|
2394
|
+
"en-IL": [
|
2395
|
+
"H",
|
2396
|
+
"h",
|
2397
|
+
"hb",
|
2398
|
+
"hB"
|
2399
|
+
],
|
2400
|
+
"en-MY": [
|
2401
|
+
"h",
|
2402
|
+
"hb",
|
2403
|
+
"H",
|
2404
|
+
"hB"
|
2405
|
+
],
|
2406
|
+
"es-BR": [
|
2407
|
+
"H",
|
2408
|
+
"h",
|
2409
|
+
"hB",
|
2410
|
+
"hb"
|
2411
|
+
],
|
2412
|
+
"es-ES": [
|
2413
|
+
"H",
|
2414
|
+
"h",
|
2415
|
+
"hB",
|
2416
|
+
"hb"
|
2417
|
+
],
|
2418
|
+
"es-GQ": [
|
2419
|
+
"H",
|
2420
|
+
"h",
|
2421
|
+
"hB",
|
2422
|
+
"hb"
|
2423
|
+
],
|
2424
|
+
"fr-CA": [
|
2425
|
+
"H",
|
2426
|
+
"h",
|
2427
|
+
"hB"
|
2428
|
+
],
|
2429
|
+
"gl-ES": [
|
2430
|
+
"H",
|
2431
|
+
"h",
|
2432
|
+
"hB"
|
2433
|
+
],
|
2434
|
+
"gu-IN": [
|
2435
|
+
"hB",
|
2436
|
+
"hb",
|
2437
|
+
"h",
|
2438
|
+
"H"
|
2439
|
+
],
|
2440
|
+
"hi-IN": [
|
2441
|
+
"hB",
|
2442
|
+
"h",
|
2443
|
+
"H"
|
2444
|
+
],
|
2445
|
+
"it-CH": [
|
2446
|
+
"H",
|
2447
|
+
"h",
|
2448
|
+
"hB"
|
2449
|
+
],
|
2450
|
+
"it-IT": [
|
2451
|
+
"H",
|
2452
|
+
"h",
|
2453
|
+
"hB"
|
2454
|
+
],
|
2455
|
+
"kn-IN": [
|
2456
|
+
"hB",
|
2457
|
+
"h",
|
2458
|
+
"H"
|
2459
|
+
],
|
2460
|
+
"ml-IN": [
|
2461
|
+
"hB",
|
2462
|
+
"h",
|
2463
|
+
"H"
|
2464
|
+
],
|
2465
|
+
"mr-IN": [
|
2466
|
+
"hB",
|
2467
|
+
"hb",
|
2468
|
+
"h",
|
2469
|
+
"H"
|
2470
|
+
],
|
2471
|
+
"pa-IN": [
|
2472
|
+
"hB",
|
2473
|
+
"hb",
|
2474
|
+
"h",
|
2475
|
+
"H"
|
2476
|
+
],
|
2477
|
+
"ta-IN": [
|
2478
|
+
"hB",
|
2479
|
+
"h",
|
2480
|
+
"hb",
|
2481
|
+
"H"
|
2482
|
+
],
|
2483
|
+
"te-IN": [
|
2484
|
+
"hB",
|
2485
|
+
"h",
|
2486
|
+
"H"
|
2487
|
+
],
|
2488
|
+
"zu-ZA": [
|
2489
|
+
"H",
|
2490
|
+
"hB",
|
2491
|
+
"hb",
|
2492
|
+
"h"
|
2493
|
+
]
|
2494
|
+
};
|
2495
|
+
function kn(e, t) {
|
2496
|
+
for (var r = "", n = 0; n < e.length; n++) {
|
2497
|
+
var i = e.charAt(n);
|
2498
|
+
if (i === "j") {
|
2499
|
+
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
2500
|
+
o++, n++;
|
2501
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = $n(t);
|
2502
|
+
for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
|
2503
|
+
r += u;
|
2504
|
+
for (; s-- > 0; )
|
2505
|
+
r = l + r;
|
2506
|
+
} else i === "J" ? r += "H" : r += i;
|
2507
|
+
}
|
2508
|
+
return r;
|
2509
|
+
}
|
2510
|
+
function $n(e) {
|
2511
|
+
var t = e.hourCycle;
|
2512
|
+
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
2513
|
+
e.hourCycles && // @ts-ignore
|
2514
|
+
e.hourCycles.length && (t = e.hourCycles[0]), t)
|
2515
|
+
switch (t) {
|
2516
|
+
case "h24":
|
2517
|
+
return "k";
|
2518
|
+
case "h23":
|
2519
|
+
return "H";
|
2520
|
+
case "h12":
|
2521
|
+
return "h";
|
2522
|
+
case "h11":
|
2523
|
+
return "K";
|
2524
|
+
default:
|
2525
|
+
throw new Error("Invalid hourCycle");
|
2526
|
+
}
|
2527
|
+
var r = e.language, n;
|
2528
|
+
r !== "root" && (n = e.maximize().region);
|
2529
|
+
var i = Ce[n || ""] || Ce[r || ""] || Ce["".concat(r, "-001")] || Ce["001"];
|
2530
|
+
return i[0];
|
2531
|
+
}
|
2532
|
+
var ke, jn = new RegExp("^".concat(nr.source, "*")), Vn = new RegExp("".concat(nr.source, "*$"));
|
2533
|
+
function v(e, t) {
|
2534
|
+
return { start: e, end: t };
|
2535
|
+
}
|
2536
|
+
var Xn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Wn = !!String.fromCodePoint, zn = !!Object.fromEntries, Zn = !!String.prototype.codePointAt, Qn = !!String.prototype.trimStart, qn = !!String.prototype.trimEnd, Jn = !!Number.isSafeInteger, Yn = Jn ? Number.isSafeInteger : function(e) {
|
2537
|
+
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
2538
|
+
}, Ze = !0;
|
2539
|
+
try {
|
2540
|
+
var Kn = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2541
|
+
Ze = ((ke = Kn.exec("a")) === null || ke === void 0 ? void 0 : ke[0]) === "a";
|
2542
|
+
} catch (e) {
|
2543
|
+
Ze = !1;
|
2544
|
+
}
|
2545
|
+
var Et = Xn ? (
|
2546
|
+
// Native
|
2547
|
+
function(t, r, n) {
|
2548
|
+
return t.startsWith(r, n);
|
2549
|
+
}
|
2550
|
+
) : (
|
2551
|
+
// For IE11
|
2552
|
+
function(t, r, n) {
|
2553
|
+
return t.slice(n, n + r.length) === r;
|
2554
|
+
}
|
2555
|
+
), Qe = Wn ? String.fromCodePoint : (
|
2556
|
+
// IE11
|
2557
|
+
function() {
|
2558
|
+
for (var t = [], r = 0; r < arguments.length; r++)
|
2559
|
+
t[r] = arguments[r];
|
2560
|
+
for (var n = "", i = t.length, o = 0, s; i > o; ) {
|
2561
|
+
if (s = t[o++], s > 1114111)
|
2562
|
+
throw RangeError(s + " is not a valid code point");
|
2563
|
+
n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
|
2564
|
+
}
|
2565
|
+
return n;
|
2566
|
+
}
|
2567
|
+
), xt = (
|
2568
|
+
// native
|
2569
|
+
zn ? Object.fromEntries : (
|
2570
|
+
// Ponyfill
|
2571
|
+
function(t) {
|
2572
|
+
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
2573
|
+
var o = i[n], s = o[0], a = o[1];
|
2574
|
+
r[s] = a;
|
2575
|
+
}
|
2576
|
+
return r;
|
2577
|
+
}
|
2578
|
+
)
|
2579
|
+
), ar = Zn ? (
|
2580
|
+
// Native
|
2581
|
+
function(t, r) {
|
2582
|
+
return t.codePointAt(r);
|
2583
|
+
}
|
2584
|
+
) : (
|
2585
|
+
// IE 11
|
2586
|
+
function(t, r) {
|
2587
|
+
var n = t.length;
|
2588
|
+
if (!(r < 0 || r >= n)) {
|
2589
|
+
var i = t.charCodeAt(r), o;
|
2590
|
+
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
2591
|
+
}
|
2592
|
+
}
|
2593
|
+
), ei = Qn ? (
|
2594
|
+
// Native
|
2595
|
+
function(t) {
|
2596
|
+
return t.trimStart();
|
2597
|
+
}
|
2598
|
+
) : (
|
2599
|
+
// Ponyfill
|
2600
|
+
function(t) {
|
2601
|
+
return t.replace(jn, "");
|
2602
|
+
}
|
2603
|
+
), ti = qn ? (
|
2604
|
+
// Native
|
2605
|
+
function(t) {
|
2606
|
+
return t.trimEnd();
|
2607
|
+
}
|
2608
|
+
) : (
|
2609
|
+
// Ponyfill
|
2610
|
+
function(t) {
|
2611
|
+
return t.replace(Vn, "");
|
2612
|
+
}
|
2613
|
+
);
|
2614
|
+
function lr(e, t) {
|
2615
|
+
return new RegExp(e, t);
|
2616
|
+
}
|
2617
|
+
var qe;
|
2618
|
+
if (Ze) {
|
2619
|
+
var Ct = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2620
|
+
qe = function(t, r) {
|
2621
|
+
var n;
|
2622
|
+
Ct.lastIndex = r;
|
2623
|
+
var i = Ct.exec(t);
|
2624
|
+
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
2625
|
+
};
|
2626
|
+
} else
|
2627
|
+
qe = function(t, r) {
|
2628
|
+
for (var n = []; ; ) {
|
2629
|
+
var i = ar(t, r);
|
2630
|
+
if (i === void 0 || ur(i) || oi(i))
|
2631
|
+
break;
|
2632
|
+
n.push(i), r += i >= 65536 ? 2 : 1;
|
2633
|
+
}
|
2634
|
+
return Qe.apply(void 0, n);
|
2635
|
+
};
|
2636
|
+
var ri = (
|
2637
|
+
/** @class */
|
2638
|
+
function() {
|
2639
|
+
function e(t, r) {
|
2640
|
+
r === void 0 && (r = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!r.ignoreTag, this.locale = r.locale, this.requiresOtherClause = !!r.requiresOtherClause, this.shouldParseSkeletons = !!r.shouldParseSkeletons;
|
2641
|
+
}
|
2642
|
+
return e.prototype.parse = function() {
|
2643
|
+
if (this.offset() !== 0)
|
2644
|
+
throw Error("parser can only be used once");
|
2645
|
+
return this.parseMessage(0, "", !1);
|
2646
|
+
}, e.prototype.parseMessage = function(t, r, n) {
|
2647
|
+
for (var i = []; !this.isEOF(); ) {
|
2648
|
+
var o = this.char();
|
2649
|
+
if (o === 123) {
|
2650
|
+
var s = this.parseArgument(t, n);
|
2651
|
+
if (s.err)
|
2652
|
+
return s;
|
2653
|
+
i.push(s.val);
|
2654
|
+
} else {
|
2655
|
+
if (o === 125 && t > 0)
|
2656
|
+
break;
|
2657
|
+
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
2658
|
+
var a = this.clonePosition();
|
2659
|
+
this.bump(), i.push({
|
2660
|
+
type: T.pound,
|
2661
|
+
location: v(a, this.clonePosition())
|
2662
|
+
});
|
2663
|
+
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
2664
|
+
if (n)
|
2665
|
+
break;
|
2666
|
+
return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
|
2667
|
+
} else if (o === 60 && !this.ignoreTag && Je(this.peek() || 0)) {
|
2668
|
+
var s = this.parseTag(t, r);
|
2669
|
+
if (s.err)
|
2670
|
+
return s;
|
2671
|
+
i.push(s.val);
|
2672
|
+
} else {
|
2673
|
+
var s = this.parseLiteral(t, r);
|
2674
|
+
if (s.err)
|
2675
|
+
return s;
|
2676
|
+
i.push(s.val);
|
2677
|
+
}
|
2678
|
+
}
|
2679
|
+
}
|
2680
|
+
return { val: i, err: null };
|
2681
|
+
}, e.prototype.parseTag = function(t, r) {
|
2682
|
+
var n = this.clonePosition();
|
2683
|
+
this.bump();
|
2684
|
+
var i = this.parseTagName();
|
2685
|
+
if (this.bumpSpace(), this.bumpIf("/>"))
|
2686
|
+
return {
|
2687
|
+
val: {
|
2688
|
+
type: T.literal,
|
2689
|
+
value: "<".concat(i, "/>"),
|
2690
|
+
location: v(n, this.clonePosition())
|
2691
|
+
},
|
2692
|
+
err: null
|
2693
|
+
};
|
2694
|
+
if (this.bumpIf(">")) {
|
2695
|
+
var o = this.parseMessage(t + 1, r, !0);
|
2696
|
+
if (o.err)
|
2697
|
+
return o;
|
2698
|
+
var s = o.val, a = this.clonePosition();
|
2699
|
+
if (this.bumpIf("</")) {
|
2700
|
+
if (this.isEOF() || !Je(this.char()))
|
2701
|
+
return this.error(y.INVALID_TAG, v(a, this.clonePosition()));
|
2702
|
+
var u = this.clonePosition(), l = this.parseTagName();
|
2703
|
+
return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, v(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
2704
|
+
val: {
|
2705
|
+
type: T.tag,
|
2706
|
+
value: i,
|
2707
|
+
children: s,
|
2708
|
+
location: v(n, this.clonePosition())
|
2709
|
+
},
|
2710
|
+
err: null
|
2711
|
+
} : this.error(y.INVALID_TAG, v(a, this.clonePosition())));
|
2712
|
+
} else
|
2713
|
+
return this.error(y.UNCLOSED_TAG, v(n, this.clonePosition()));
|
2714
|
+
} else
|
2715
|
+
return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
|
2716
|
+
}, e.prototype.parseTagName = function() {
|
2717
|
+
var t = this.offset();
|
2718
|
+
for (this.bump(); !this.isEOF() && ii(this.char()); )
|
2719
|
+
this.bump();
|
2720
|
+
return this.message.slice(t, this.offset());
|
2721
|
+
}, e.prototype.parseLiteral = function(t, r) {
|
2722
|
+
for (var n = this.clonePosition(), i = ""; ; ) {
|
2723
|
+
var o = this.tryParseQuote(r);
|
2724
|
+
if (o) {
|
2725
|
+
i += o;
|
2726
|
+
continue;
|
2727
|
+
}
|
2728
|
+
var s = this.tryParseUnquoted(t, r);
|
2729
|
+
if (s) {
|
2730
|
+
i += s;
|
2731
|
+
continue;
|
2732
|
+
}
|
2733
|
+
var a = this.tryParseLeftAngleBracket();
|
2734
|
+
if (a) {
|
2735
|
+
i += a;
|
2736
|
+
continue;
|
2737
|
+
}
|
2738
|
+
break;
|
2739
|
+
}
|
2740
|
+
var u = v(n, this.clonePosition());
|
2741
|
+
return {
|
2742
|
+
val: { type: T.literal, value: i, location: u },
|
2743
|
+
err: null
|
2744
|
+
};
|
2745
|
+
}, e.prototype.tryParseLeftAngleBracket = function() {
|
2746
|
+
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
2747
|
+
!ni(this.peek() || 0)) ? (this.bump(), "<") : null;
|
2748
|
+
}, e.prototype.tryParseQuote = function(t) {
|
2749
|
+
if (this.isEOF() || this.char() !== 39)
|
2750
|
+
return null;
|
2751
|
+
switch (this.peek()) {
|
2752
|
+
case 39:
|
2753
|
+
return this.bump(), this.bump(), "'";
|
2754
|
+
case 123:
|
2755
|
+
case 60:
|
2756
|
+
case 62:
|
2757
|
+
case 125:
|
2758
|
+
break;
|
2759
|
+
case 35:
|
2760
|
+
if (t === "plural" || t === "selectordinal")
|
2761
|
+
break;
|
2762
|
+
return null;
|
2763
|
+
default:
|
2764
|
+
return null;
|
2765
|
+
}
|
2766
|
+
this.bump();
|
2767
|
+
var r = [this.char()];
|
2768
|
+
for (this.bump(); !this.isEOF(); ) {
|
2769
|
+
var n = this.char();
|
2770
|
+
if (n === 39)
|
2771
|
+
if (this.peek() === 39)
|
2772
|
+
r.push(39), this.bump();
|
2773
|
+
else {
|
2774
|
+
this.bump();
|
2775
|
+
break;
|
2776
|
+
}
|
2777
|
+
else
|
2778
|
+
r.push(n);
|
2779
|
+
this.bump();
|
2780
|
+
}
|
2781
|
+
return Qe.apply(void 0, r);
|
2782
|
+
}, e.prototype.tryParseUnquoted = function(t, r) {
|
2783
|
+
if (this.isEOF())
|
2784
|
+
return null;
|
2785
|
+
var n = this.char();
|
2786
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qe(n));
|
2787
|
+
}, e.prototype.parseArgument = function(t, r) {
|
2788
|
+
var n = this.clonePosition();
|
2789
|
+
if (this.bump(), this.bumpSpace(), this.isEOF())
|
2790
|
+
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
|
2791
|
+
if (this.char() === 125)
|
2792
|
+
return this.bump(), this.error(y.EMPTY_ARGUMENT, v(n, this.clonePosition()));
|
2793
|
+
var i = this.parseIdentifierIfPossible().value;
|
2794
|
+
if (!i)
|
2795
|
+
return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
|
2796
|
+
if (this.bumpSpace(), this.isEOF())
|
2797
|
+
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
|
2798
|
+
switch (this.char()) {
|
2799
|
+
case 125:
|
2800
|
+
return this.bump(), {
|
2801
|
+
val: {
|
2802
|
+
type: T.argument,
|
2803
|
+
// value does not include the opening and closing braces.
|
2804
|
+
value: i,
|
2805
|
+
location: v(n, this.clonePosition())
|
2806
|
+
},
|
2807
|
+
err: null
|
2808
|
+
};
|
2809
|
+
case 44:
|
2810
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
2811
|
+
default:
|
2812
|
+
return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
|
2813
|
+
}
|
2814
|
+
}, e.prototype.parseIdentifierIfPossible = function() {
|
2815
|
+
var t = this.clonePosition(), r = this.offset(), n = qe(this.message, r), i = r + n.length;
|
2816
|
+
this.bumpTo(i);
|
2817
|
+
var o = this.clonePosition(), s = v(t, o);
|
2818
|
+
return { value: n, location: s };
|
2819
|
+
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
2820
|
+
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
|
2821
|
+
switch (a) {
|
2822
|
+
case "":
|
2823
|
+
return this.error(y.EXPECT_ARGUMENT_TYPE, v(s, u));
|
2824
|
+
case "number":
|
2825
|
+
case "date":
|
2826
|
+
case "time": {
|
2827
|
+
this.bumpSpace();
|
2828
|
+
var l = null;
|
2829
|
+
if (this.bumpIf(",")) {
|
2830
|
+
this.bumpSpace();
|
2831
|
+
var h = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
|
2832
|
+
if (d.err)
|
2833
|
+
return d;
|
2834
|
+
var f = ti(d.val);
|
2835
|
+
if (f.length === 0)
|
2836
|
+
return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
|
2837
|
+
var p = v(h, this.clonePosition());
|
2838
|
+
l = { style: f, styleLocation: p };
|
2839
|
+
}
|
2840
|
+
var g = this.tryParseArgumentClose(i);
|
2841
|
+
if (g.err)
|
2842
|
+
return g;
|
2843
|
+
var b = v(i, this.clonePosition());
|
2844
|
+
if (l && Et(l == null ? void 0 : l.style, "::", 0)) {
|
2845
|
+
var m = ei(l.style.slice(2));
|
2846
|
+
if (a === "number") {
|
2847
|
+
var d = this.parseNumberSkeletonFromString(m, l.styleLocation);
|
2848
|
+
return d.err ? d : {
|
2849
|
+
val: { type: T.number, value: n, location: b, style: d.val },
|
2850
|
+
err: null
|
2851
|
+
};
|
2852
|
+
} else {
|
2853
|
+
if (m.length === 0)
|
2854
|
+
return this.error(y.EXPECT_DATE_TIME_SKELETON, b);
|
2855
|
+
var w = m;
|
2856
|
+
this.locale && (w = kn(m, this.locale));
|
2857
|
+
var f = {
|
2858
|
+
type: ie.dateTime,
|
2859
|
+
pattern: w,
|
2860
|
+
location: l.styleLocation,
|
2861
|
+
parsedOptions: this.shouldParseSkeletons ? On(w) : {}
|
2862
|
+
}, _ = a === "date" ? T.date : T.time;
|
2863
|
+
return {
|
2864
|
+
val: { type: _, value: n, location: b, style: f },
|
2865
|
+
err: null
|
2866
|
+
};
|
2867
|
+
}
|
2868
|
+
}
|
2869
|
+
return {
|
2870
|
+
val: {
|
2871
|
+
type: a === "number" ? T.number : a === "date" ? T.date : T.time,
|
2872
|
+
value: n,
|
2873
|
+
location: b,
|
2874
|
+
style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
|
2875
|
+
},
|
2876
|
+
err: null
|
2877
|
+
};
|
2878
|
+
}
|
2879
|
+
case "plural":
|
2880
|
+
case "selectordinal":
|
2881
|
+
case "select": {
|
2882
|
+
var C = this.clonePosition();
|
2883
|
+
if (this.bumpSpace(), !this.bumpIf(","))
|
2884
|
+
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(C, E({}, C)));
|
2885
|
+
this.bumpSpace();
|
2886
|
+
var P = this.parseIdentifierIfPossible(), O = 0;
|
2887
|
+
if (a !== "select" && P.value === "offset") {
|
2888
|
+
if (!this.bumpIf(":"))
|
2889
|
+
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
|
2890
|
+
this.bumpSpace();
|
2891
|
+
var d = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
2892
|
+
if (d.err)
|
2893
|
+
return d;
|
2894
|
+
this.bumpSpace(), P = this.parseIdentifierIfPossible(), O = d.val;
|
2895
|
+
}
|
2896
|
+
var L = this.tryParsePluralOrSelectOptions(t, a, r, P);
|
2897
|
+
if (L.err)
|
2898
|
+
return L;
|
2899
|
+
var g = this.tryParseArgumentClose(i);
|
2900
|
+
if (g.err)
|
2901
|
+
return g;
|
2902
|
+
var H = v(i, this.clonePosition());
|
2903
|
+
return a === "select" ? {
|
2904
|
+
val: {
|
2905
|
+
type: T.select,
|
2906
|
+
value: n,
|
2907
|
+
options: xt(L.val),
|
2908
|
+
location: H
|
2909
|
+
},
|
2910
|
+
err: null
|
2911
|
+
} : {
|
2912
|
+
val: {
|
2913
|
+
type: T.plural,
|
2914
|
+
value: n,
|
2915
|
+
options: xt(L.val),
|
2916
|
+
offset: O,
|
2917
|
+
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
2918
|
+
location: H
|
2919
|
+
},
|
2920
|
+
err: null
|
2921
|
+
};
|
2922
|
+
}
|
2923
|
+
default:
|
2924
|
+
return this.error(y.INVALID_ARGUMENT_TYPE, v(s, u));
|
2925
|
+
}
|
2926
|
+
}, e.prototype.tryParseArgumentClose = function(t) {
|
2927
|
+
return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
2928
|
+
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
2929
|
+
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
2930
|
+
var n = this.char();
|
2931
|
+
switch (n) {
|
2932
|
+
case 39: {
|
2933
|
+
this.bump();
|
2934
|
+
var i = this.clonePosition();
|
2935
|
+
if (!this.bumpUntil("'"))
|
2936
|
+
return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
|
2937
|
+
this.bump();
|
2938
|
+
break;
|
2939
|
+
}
|
2940
|
+
case 123: {
|
2941
|
+
t += 1, this.bump();
|
2942
|
+
break;
|
2943
|
+
}
|
2944
|
+
case 125: {
|
2945
|
+
if (t > 0)
|
2946
|
+
t -= 1;
|
2947
|
+
else
|
2948
|
+
return {
|
2949
|
+
val: this.message.slice(r.offset, this.offset()),
|
2950
|
+
err: null
|
2951
|
+
};
|
2952
|
+
break;
|
2953
|
+
}
|
2954
|
+
default:
|
2955
|
+
this.bump();
|
2956
|
+
break;
|
2957
|
+
}
|
2958
|
+
}
|
2959
|
+
return {
|
2960
|
+
val: this.message.slice(r.offset, this.offset()),
|
2961
|
+
err: null
|
2962
|
+
};
|
2963
|
+
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
2964
|
+
var n = [];
|
2965
|
+
try {
|
2966
|
+
n = Fn(t);
|
2967
|
+
} catch (i) {
|
2968
|
+
return this.error(y.INVALID_NUMBER_SKELETON, r);
|
2969
|
+
}
|
2970
|
+
return {
|
2971
|
+
val: {
|
2972
|
+
type: ie.number,
|
2973
|
+
tokens: n,
|
2974
|
+
location: r,
|
2975
|
+
parsedOptions: this.shouldParseSkeletons ? Un(n) : {}
|
2976
|
+
},
|
2977
|
+
err: null
|
2978
|
+
};
|
2979
|
+
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
2980
|
+
for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), l = i.value, h = i.location; ; ) {
|
2981
|
+
if (l.length === 0) {
|
2982
|
+
var d = this.clonePosition();
|
2983
|
+
if (r !== "select" && this.bumpIf("=")) {
|
2984
|
+
var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
2985
|
+
if (f.err)
|
2986
|
+
return f;
|
2987
|
+
h = v(d, this.clonePosition()), l = this.message.slice(d.offset, this.offset());
|
2988
|
+
} else
|
2989
|
+
break;
|
2990
|
+
}
|
2991
|
+
if (u.has(l))
|
2992
|
+
return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
2993
|
+
l === "other" && (s = !0), this.bumpSpace();
|
2994
|
+
var p = this.clonePosition();
|
2995
|
+
if (!this.bumpIf("{"))
|
2996
|
+
return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
|
2997
|
+
var g = this.parseMessage(t + 1, r, n);
|
2998
|
+
if (g.err)
|
2999
|
+
return g;
|
3000
|
+
var b = this.tryParseArgumentClose(p);
|
3001
|
+
if (b.err)
|
3002
|
+
return b;
|
3003
|
+
a.push([
|
3004
|
+
l,
|
3005
|
+
{
|
3006
|
+
value: g.val,
|
3007
|
+
location: v(p, this.clonePosition())
|
3008
|
+
}
|
3009
|
+
]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
|
3010
|
+
}
|
3011
|
+
return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(y.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
3012
|
+
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
3013
|
+
var n = 1, i = this.clonePosition();
|
3014
|
+
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
3015
|
+
for (var o = !1, s = 0; !this.isEOF(); ) {
|
3016
|
+
var a = this.char();
|
3017
|
+
if (a >= 48 && a <= 57)
|
3018
|
+
o = !0, s = s * 10 + (a - 48), this.bump();
|
3019
|
+
else
|
3020
|
+
break;
|
3021
|
+
}
|
3022
|
+
var u = v(i, this.clonePosition());
|
3023
|
+
return o ? (s *= n, Yn(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
|
3024
|
+
}, e.prototype.offset = function() {
|
3025
|
+
return this.position.offset;
|
3026
|
+
}, e.prototype.isEOF = function() {
|
3027
|
+
return this.offset() === this.message.length;
|
3028
|
+
}, e.prototype.clonePosition = function() {
|
3029
|
+
return {
|
3030
|
+
offset: this.position.offset,
|
3031
|
+
line: this.position.line,
|
3032
|
+
column: this.position.column
|
3033
|
+
};
|
3034
|
+
}, e.prototype.char = function() {
|
3035
|
+
var t = this.position.offset;
|
3036
|
+
if (t >= this.message.length)
|
3037
|
+
throw Error("out of bound");
|
3038
|
+
var r = ar(this.message, t);
|
3039
|
+
if (r === void 0)
|
3040
|
+
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
3041
|
+
return r;
|
3042
|
+
}, e.prototype.error = function(t, r) {
|
3043
|
+
return {
|
3044
|
+
val: null,
|
3045
|
+
err: {
|
3046
|
+
kind: t,
|
3047
|
+
message: this.message,
|
3048
|
+
location: r
|
3049
|
+
}
|
3050
|
+
};
|
3051
|
+
}, e.prototype.bump = function() {
|
3052
|
+
if (!this.isEOF()) {
|
3053
|
+
var t = this.char();
|
3054
|
+
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);
|
3055
|
+
}
|
3056
|
+
}, e.prototype.bumpIf = function(t) {
|
3057
|
+
if (Et(this.message, t, this.offset())) {
|
3058
|
+
for (var r = 0; r < t.length; r++)
|
3059
|
+
this.bump();
|
3060
|
+
return !0;
|
3061
|
+
}
|
3062
|
+
return !1;
|
3063
|
+
}, e.prototype.bumpUntil = function(t) {
|
3064
|
+
var r = this.offset(), n = this.message.indexOf(t, r);
|
3065
|
+
return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
|
3066
|
+
}, e.prototype.bumpTo = function(t) {
|
3067
|
+
if (this.offset() > t)
|
3068
|
+
throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
|
3069
|
+
for (t = Math.min(t, this.message.length); ; ) {
|
3070
|
+
var r = this.offset();
|
3071
|
+
if (r === t)
|
3072
|
+
break;
|
3073
|
+
if (r > t)
|
3074
|
+
throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
3075
|
+
if (this.bump(), this.isEOF())
|
3076
|
+
break;
|
3077
|
+
}
|
3078
|
+
}, e.prototype.bumpSpace = function() {
|
3079
|
+
for (; !this.isEOF() && ur(this.char()); )
|
3080
|
+
this.bump();
|
3081
|
+
}, e.prototype.peek = function() {
|
3082
|
+
if (this.isEOF())
|
3083
|
+
return null;
|
3084
|
+
var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
|
3085
|
+
return n != null ? n : null;
|
3086
|
+
}, e;
|
3087
|
+
}()
|
3088
|
+
);
|
3089
|
+
function Je(e) {
|
3090
|
+
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3091
|
+
}
|
3092
|
+
function ni(e) {
|
3093
|
+
return Je(e) || e === 47;
|
3094
|
+
}
|
3095
|
+
function ii(e) {
|
3096
|
+
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;
|
3097
|
+
}
|
3098
|
+
function ur(e) {
|
3099
|
+
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3100
|
+
}
|
3101
|
+
function oi(e) {
|
3102
|
+
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;
|
3103
|
+
}
|
3104
|
+
function Ye(e) {
|
3105
|
+
e.forEach(function(t) {
|
3106
|
+
if (delete t.location, Kt(t) || er(t))
|
3107
|
+
for (var r in t.options)
|
3108
|
+
delete t.options[r].location, Ye(t.options[r].value);
|
3109
|
+
else qt(t) && rr(t.style) || (Jt(t) || Yt(t)) && ze(t.style) ? delete t.style.location : tr(t) && Ye(t.children);
|
3110
|
+
});
|
3111
|
+
}
|
3112
|
+
function si(e, t) {
|
3113
|
+
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3114
|
+
var r = new ri(e, t).parse();
|
3115
|
+
if (r.err) {
|
3116
|
+
var n = SyntaxError(y[r.err.kind]);
|
3117
|
+
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
3118
|
+
}
|
3119
|
+
return t != null && t.captureLocation || Ye(r.val), r.val;
|
3120
|
+
}
|
3121
|
+
var oe;
|
3122
|
+
(function(e) {
|
3123
|
+
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
3124
|
+
})(oe || (oe = {}));
|
3125
|
+
var Ne = (
|
3126
|
+
/** @class */
|
3127
|
+
function(e) {
|
3128
|
+
Me(t, e);
|
3129
|
+
function t(r, n, i) {
|
3130
|
+
var o = e.call(this, r) || this;
|
3131
|
+
return o.code = n, o.originalMessage = i, o;
|
3132
|
+
}
|
3133
|
+
return t.prototype.toString = function() {
|
3134
|
+
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
3135
|
+
}, t;
|
3136
|
+
}(Error)
|
3137
|
+
), wt = (
|
3138
|
+
/** @class */
|
3139
|
+
function(e) {
|
3140
|
+
Me(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('", "'), '"'), oe.INVALID_VALUE, o) || this;
|
3143
|
+
}
|
3144
|
+
return t;
|
3145
|
+
}(Ne)
|
3146
|
+
), ai = (
|
3147
|
+
/** @class */
|
3148
|
+
function(e) {
|
3149
|
+
Me(t, e);
|
3150
|
+
function t(r, n, i) {
|
3151
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), oe.INVALID_VALUE, i) || this;
|
3152
|
+
}
|
3153
|
+
return t;
|
3154
|
+
}(Ne)
|
3155
|
+
), li = (
|
3156
|
+
/** @class */
|
3157
|
+
function(e) {
|
3158
|
+
Me(t, e);
|
3159
|
+
function t(r, n) {
|
3160
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), oe.MISSING_VALUE, n) || this;
|
3161
|
+
}
|
3162
|
+
return t;
|
3163
|
+
}(Ne)
|
3164
|
+
), F;
|
3165
|
+
(function(e) {
|
3166
|
+
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3167
|
+
})(F || (F = {}));
|
3168
|
+
function ui(e) {
|
3169
|
+
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3170
|
+
var n = t[t.length - 1];
|
3171
|
+
return !n || n.type !== F.literal || r.type !== F.literal ? t.push(r) : n.value += r.value, t;
|
3172
|
+
}, []);
|
3173
|
+
}
|
3174
|
+
function hi(e) {
|
3175
|
+
return typeof e == "function";
|
3176
|
+
}
|
3177
|
+
function He(e, t, r, n, i, o, s) {
|
3178
|
+
if (e.length === 1 && bt(e[0]))
|
3179
|
+
return [
|
3180
|
+
{
|
3181
|
+
type: F.literal,
|
3182
|
+
value: e[0].value
|
3183
|
+
}
|
3184
|
+
];
|
3185
|
+
for (var a = [], u = 0, l = e; u < l.length; u++) {
|
3186
|
+
var h = l[u];
|
3187
|
+
if (bt(h)) {
|
3188
|
+
a.push({
|
3189
|
+
type: F.literal,
|
3190
|
+
value: h.value
|
3191
|
+
});
|
3192
|
+
continue;
|
3193
|
+
}
|
3194
|
+
if (Nn(h)) {
|
3195
|
+
typeof o == "number" && a.push({
|
3196
|
+
type: F.literal,
|
3197
|
+
value: r.getNumberFormat(t).format(o)
|
3198
|
+
});
|
3199
|
+
continue;
|
3200
|
+
}
|
3201
|
+
var d = h.value;
|
3202
|
+
if (!(i && d in i))
|
3203
|
+
throw new li(d, s);
|
3204
|
+
var f = i[d];
|
3205
|
+
if (Mn(h)) {
|
3206
|
+
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
3207
|
+
type: typeof f == "string" ? F.literal : F.object,
|
3208
|
+
value: f
|
3209
|
+
});
|
3210
|
+
continue;
|
3211
|
+
}
|
3212
|
+
if (Jt(h)) {
|
3213
|
+
var p = typeof h.style == "string" ? n.date[h.style] : ze(h.style) ? h.style.parsedOptions : void 0;
|
3214
|
+
a.push({
|
3215
|
+
type: F.literal,
|
3216
|
+
value: r.getDateTimeFormat(t, p).format(f)
|
3217
|
+
});
|
3218
|
+
continue;
|
3219
|
+
}
|
3220
|
+
if (Yt(h)) {
|
3221
|
+
var p = typeof h.style == "string" ? n.time[h.style] : ze(h.style) ? h.style.parsedOptions : n.time.medium;
|
3222
|
+
a.push({
|
3223
|
+
type: F.literal,
|
3224
|
+
value: r.getDateTimeFormat(t, p).format(f)
|
3225
|
+
});
|
3226
|
+
continue;
|
3227
|
+
}
|
3228
|
+
if (qt(h)) {
|
3229
|
+
var p = typeof h.style == "string" ? n.number[h.style] : rr(h.style) ? h.style.parsedOptions : void 0;
|
3230
|
+
p && p.scale && (f = f * (p.scale || 1)), a.push({
|
3231
|
+
type: F.literal,
|
3232
|
+
value: r.getNumberFormat(t, p).format(f)
|
3233
|
+
});
|
3234
|
+
continue;
|
3235
|
+
}
|
3236
|
+
if (tr(h)) {
|
3237
|
+
var g = h.children, b = h.value, m = i[b];
|
3238
|
+
if (!hi(m))
|
3239
|
+
throw new ai(b, "function", s);
|
3240
|
+
var w = He(g, t, r, n, i, o), _ = m(w.map(function(O) {
|
3241
|
+
return O.value;
|
3242
|
+
}));
|
3243
|
+
Array.isArray(_) || (_ = [_]), a.push.apply(a, _.map(function(O) {
|
3244
|
+
return {
|
3245
|
+
type: typeof O == "string" ? F.literal : F.object,
|
3246
|
+
value: O
|
3247
|
+
};
|
3248
|
+
}));
|
3249
|
+
}
|
3250
|
+
if (Kt(h)) {
|
3251
|
+
var C = h.options[f] || h.options.other;
|
3252
|
+
if (!C)
|
3253
|
+
throw new wt(h.value, f, Object.keys(h.options), s);
|
3254
|
+
a.push.apply(a, He(C.value, t, r, n, i));
|
3255
|
+
continue;
|
3256
|
+
}
|
3257
|
+
if (er(h)) {
|
3258
|
+
var C = h.options["=".concat(f)];
|
3259
|
+
if (!C) {
|
3260
|
+
if (!Intl.PluralRules)
|
3261
|
+
throw new Ne(`Intl.PluralRules is not available in this environment.
|
3262
|
+
Try polyfilling it using "@formatjs/intl-pluralrules"
|
3263
|
+
`, oe.MISSING_INTL_API, s);
|
3264
|
+
var P = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
3265
|
+
C = h.options[P] || h.options.other;
|
3266
|
+
}
|
3267
|
+
if (!C)
|
3268
|
+
throw new wt(h.value, f, Object.keys(h.options), s);
|
3269
|
+
a.push.apply(a, He(C.value, t, r, n, i, f - (h.offset || 0)));
|
3270
|
+
continue;
|
3271
|
+
}
|
3272
|
+
}
|
3273
|
+
return ui(a);
|
3274
|
+
}
|
3275
|
+
function ci(e, t) {
|
3276
|
+
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3277
|
+
return r[n] = E(E({}, e[n]), t[n] || {}), r;
|
3278
|
+
}, {})) : e;
|
3279
|
+
}
|
3280
|
+
function fi(e, t) {
|
3281
|
+
return t ? Object.keys(e).reduce(function(r, n) {
|
3282
|
+
return r[n] = ci(e[n], t[n]), r;
|
3283
|
+
}, E({}, e)) : e;
|
3284
|
+
}
|
3285
|
+
function $e(e) {
|
3286
|
+
return {
|
3287
|
+
create: function() {
|
3288
|
+
return {
|
3289
|
+
get: function(t) {
|
3290
|
+
return e[t];
|
3291
|
+
},
|
3292
|
+
set: function(t, r) {
|
3293
|
+
e[t] = r;
|
3294
|
+
}
|
3295
|
+
};
|
3296
|
+
}
|
3297
|
+
};
|
3298
|
+
}
|
3299
|
+
function di(e) {
|
3300
|
+
return e === void 0 && (e = {
|
3301
|
+
number: {},
|
3302
|
+
dateTime: {},
|
3303
|
+
pluralRules: {}
|
3304
|
+
}), {
|
3305
|
+
getNumberFormat: Ge(function() {
|
3306
|
+
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3307
|
+
r[n] = arguments[n];
|
3308
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, De([void 0], r, !1)))();
|
3309
|
+
}, {
|
3310
|
+
cache: $e(e.number),
|
3311
|
+
strategy: Ue.variadic
|
3312
|
+
}),
|
3313
|
+
getDateTimeFormat: Ge(function() {
|
3314
|
+
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3315
|
+
r[n] = arguments[n];
|
3316
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, De([void 0], r, !1)))();
|
3317
|
+
}, {
|
3318
|
+
cache: $e(e.dateTime),
|
3319
|
+
strategy: Ue.variadic
|
3320
|
+
}),
|
3321
|
+
getPluralRules: Ge(function() {
|
3322
|
+
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3323
|
+
r[n] = arguments[n];
|
3324
|
+
return new ((t = Intl.PluralRules).bind.apply(t, De([void 0], r, !1)))();
|
3325
|
+
}, {
|
3326
|
+
cache: $e(e.pluralRules),
|
3327
|
+
strategy: Ue.variadic
|
3328
|
+
})
|
3329
|
+
};
|
3330
|
+
}
|
3331
|
+
var mi = (
|
3332
|
+
/** @class */
|
3333
|
+
function() {
|
3334
|
+
function e(t, r, n, i) {
|
3335
|
+
r === void 0 && (r = e.defaultLocale);
|
3336
|
+
var o = this;
|
3337
|
+
if (this.formatterCache = {
|
3338
|
+
number: {},
|
3339
|
+
dateTime: {},
|
3340
|
+
pluralRules: {}
|
3341
|
+
}, this.format = function(u) {
|
3342
|
+
var l = o.formatToParts(u);
|
3343
|
+
if (l.length === 1)
|
3344
|
+
return l[0].value;
|
3345
|
+
var h = l.reduce(function(d, f) {
|
3346
|
+
return !d.length || f.type !== F.literal || typeof d[d.length - 1] != "string" ? d.push(f.value) : d[d.length - 1] += f.value, d;
|
3347
|
+
}, []);
|
3348
|
+
return h.length <= 1 ? h[0] || "" : h;
|
3349
|
+
}, this.formatToParts = function(u) {
|
3350
|
+
return He(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
|
3351
|
+
}, this.resolvedOptions = function() {
|
3352
|
+
var u;
|
3353
|
+
return {
|
3354
|
+
locale: ((u = o.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
|
3355
|
+
};
|
3356
|
+
}, this.getAst = function() {
|
3357
|
+
return o.ast;
|
3358
|
+
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
3359
|
+
if (this.message = t, !e.__parse)
|
3360
|
+
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3361
|
+
var s = i || {};
|
3362
|
+
s.formatters;
|
3363
|
+
var a = Cn(s, ["formatters"]);
|
3364
|
+
this.ast = e.__parse(t, E(E({}, a), { locale: this.resolvedLocale }));
|
3365
|
+
} else
|
3366
|
+
this.ast = t;
|
3367
|
+
if (!Array.isArray(this.ast))
|
3368
|
+
throw new TypeError("A message must be provided as a String or AST.");
|
3369
|
+
this.formats = fi(e.formats, n), this.formatters = i && i.formatters || di(this.formatterCache);
|
3370
|
+
}
|
3371
|
+
return Object.defineProperty(e, "defaultLocale", {
|
3372
|
+
get: function() {
|
3373
|
+
return e.memoizedDefaultLocale || (e.memoizedDefaultLocale = new Intl.NumberFormat().resolvedOptions().locale), e.memoizedDefaultLocale;
|
3374
|
+
},
|
3375
|
+
enumerable: !1,
|
3376
|
+
configurable: !0
|
3377
|
+
}), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
|
3378
|
+
if (typeof Intl.Locale != "undefined") {
|
3379
|
+
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3380
|
+
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3381
|
+
}
|
3382
|
+
}, e.__parse = si, e.formats = {
|
3383
|
+
number: {
|
3384
|
+
integer: {
|
3385
|
+
maximumFractionDigits: 0
|
3386
|
+
},
|
3387
|
+
currency: {
|
3388
|
+
style: "currency"
|
3389
|
+
},
|
3390
|
+
percent: {
|
3391
|
+
style: "percent"
|
3392
|
+
}
|
3393
|
+
},
|
3394
|
+
date: {
|
3395
|
+
short: {
|
3396
|
+
month: "numeric",
|
3397
|
+
day: "numeric",
|
3398
|
+
year: "2-digit"
|
3399
|
+
},
|
3400
|
+
medium: {
|
3401
|
+
month: "short",
|
3402
|
+
day: "numeric",
|
3403
|
+
year: "numeric"
|
3404
|
+
},
|
3405
|
+
long: {
|
3406
|
+
month: "long",
|
3407
|
+
day: "numeric",
|
3408
|
+
year: "numeric"
|
3409
|
+
},
|
3410
|
+
full: {
|
3411
|
+
weekday: "long",
|
3412
|
+
month: "long",
|
3413
|
+
day: "numeric",
|
3414
|
+
year: "numeric"
|
3415
|
+
}
|
3416
|
+
},
|
3417
|
+
time: {
|
3418
|
+
short: {
|
3419
|
+
hour: "numeric",
|
3420
|
+
minute: "numeric"
|
3421
|
+
},
|
3422
|
+
medium: {
|
3423
|
+
hour: "numeric",
|
3424
|
+
minute: "numeric",
|
3425
|
+
second: "numeric"
|
3426
|
+
},
|
3427
|
+
long: {
|
3428
|
+
hour: "numeric",
|
3429
|
+
minute: "numeric",
|
3430
|
+
second: "numeric",
|
3431
|
+
timeZoneName: "short"
|
3432
|
+
},
|
3433
|
+
full: {
|
3434
|
+
hour: "numeric",
|
3435
|
+
minute: "numeric",
|
3436
|
+
second: "numeric",
|
3437
|
+
timeZoneName: "short"
|
3438
|
+
}
|
3439
|
+
}
|
3440
|
+
}, e;
|
3441
|
+
}()
|
3442
|
+
);
|
3443
|
+
function pi(e, t) {
|
3444
|
+
if (t == null)
|
3445
|
+
return;
|
3446
|
+
if (t in e)
|
3447
|
+
return e[t];
|
3448
|
+
const r = t.split(".");
|
3449
|
+
let n = e;
|
3450
|
+
for (let i = 0; i < r.length; i++)
|
3451
|
+
if (typeof n == "object") {
|
3452
|
+
if (i > 0) {
|
3453
|
+
const o = r.slice(i, r.length).join(".");
|
3454
|
+
if (o in n) {
|
3455
|
+
n = n[o];
|
3456
|
+
break;
|
3457
|
+
}
|
3458
|
+
}
|
3459
|
+
n = n[r[i]];
|
3460
|
+
} else
|
3461
|
+
n = void 0;
|
3462
|
+
return n;
|
3463
|
+
}
|
3464
|
+
const X = {}, gi = (e, t, r) => r && (t in X || (X[t] = {}), e in X[t] || (X[t][e] = r), r), hr = (e, t) => {
|
3465
|
+
if (t == null)
|
3466
|
+
return;
|
3467
|
+
if (t in X && e in X[t])
|
3468
|
+
return X[t][e];
|
3469
|
+
const r = Pe(t);
|
3470
|
+
for (let n = 0; n < r.length; n++) {
|
3471
|
+
const i = r[n], o = yi(i, e);
|
3472
|
+
if (o)
|
3473
|
+
return gi(e, t, o);
|
3474
|
+
}
|
3475
|
+
};
|
3476
|
+
let nt;
|
3477
|
+
const le = Be({});
|
3478
|
+
function bi(e) {
|
3479
|
+
return nt[e] || null;
|
3480
|
+
}
|
3481
|
+
function cr(e) {
|
3482
|
+
return e in nt;
|
3483
|
+
}
|
3484
|
+
function yi(e, t) {
|
3485
|
+
if (!cr(e))
|
3486
|
+
return null;
|
3487
|
+
const r = bi(e);
|
3488
|
+
return pi(r, t);
|
3489
|
+
}
|
3490
|
+
function vi(e) {
|
3491
|
+
if (e == null)
|
3492
|
+
return;
|
3493
|
+
const t = Pe(e);
|
3494
|
+
for (let r = 0; r < t.length; r++) {
|
3495
|
+
const n = t[r];
|
3496
|
+
if (cr(n))
|
3497
|
+
return n;
|
3498
|
+
}
|
3499
|
+
}
|
3500
|
+
function fr(e, ...t) {
|
3501
|
+
delete X[e], le.update((r) => (r[e] = xn.all([r[e] || {}, ...t]), r));
|
3502
|
+
}
|
3503
|
+
ae(
|
3504
|
+
[le],
|
3505
|
+
([e]) => Object.keys(e)
|
3506
|
+
);
|
3507
|
+
le.subscribe((e) => nt = e);
|
3508
|
+
const Se = {};
|
3509
|
+
function _i(e, t) {
|
3510
|
+
Se[e].delete(t), Se[e].size === 0 && delete Se[e];
|
3511
|
+
}
|
3512
|
+
function dr(e) {
|
3513
|
+
return Se[e];
|
3514
|
+
}
|
3515
|
+
function Ei(e) {
|
3516
|
+
return Pe(e).map((t) => {
|
3517
|
+
const r = dr(t);
|
3518
|
+
return [t, r ? [...r] : []];
|
3519
|
+
}).filter(([, t]) => t.length > 0);
|
3520
|
+
}
|
3521
|
+
function Ke(e) {
|
3522
|
+
return e == null ? !1 : Pe(e).some(
|
3523
|
+
(t) => {
|
3524
|
+
var r;
|
3525
|
+
return (r = dr(t)) == null ? void 0 : r.size;
|
3526
|
+
}
|
3527
|
+
);
|
3528
|
+
}
|
3529
|
+
function xi(e, t) {
|
3530
|
+
return Promise.all(
|
3531
|
+
t.map((n) => (_i(e, n), n().then((i) => i.default || i)))
|
3532
|
+
).then((n) => fr(e, ...n));
|
3533
|
+
}
|
3534
|
+
const ce = {};
|
3535
|
+
function mr(e) {
|
3536
|
+
if (!Ke(e))
|
3537
|
+
return e in ce ? ce[e] : Promise.resolve();
|
3538
|
+
const t = Ei(e);
|
3539
|
+
return ce[e] = Promise.all(
|
3540
|
+
t.map(
|
3541
|
+
([r, n]) => xi(r, n)
|
3542
|
+
)
|
3543
|
+
).then(() => {
|
3544
|
+
if (Ke(e))
|
3545
|
+
return mr(e);
|
3546
|
+
delete ce[e];
|
3547
|
+
}), ce[e];
|
3548
|
+
}
|
3549
|
+
const Ci = {
|
3550
|
+
number: {
|
3551
|
+
scientific: { notation: "scientific" },
|
3552
|
+
engineering: { notation: "engineering" },
|
3553
|
+
compactLong: { notation: "compact", compactDisplay: "long" },
|
3554
|
+
compactShort: { notation: "compact", compactDisplay: "short" }
|
3555
|
+
},
|
3556
|
+
date: {
|
3557
|
+
short: { month: "numeric", day: "numeric", year: "2-digit" },
|
3558
|
+
medium: { month: "short", day: "numeric", year: "numeric" },
|
3559
|
+
long: { month: "long", day: "numeric", year: "numeric" },
|
3560
|
+
full: { weekday: "long", month: "long", day: "numeric", year: "numeric" }
|
3561
|
+
},
|
3562
|
+
time: {
|
3563
|
+
short: { hour: "numeric", minute: "numeric" },
|
3564
|
+
medium: { hour: "numeric", minute: "numeric", second: "numeric" },
|
3565
|
+
long: {
|
3566
|
+
hour: "numeric",
|
3567
|
+
minute: "numeric",
|
3568
|
+
second: "numeric",
|
3569
|
+
timeZoneName: "short"
|
3570
|
+
},
|
3571
|
+
full: {
|
3572
|
+
hour: "numeric",
|
3573
|
+
minute: "numeric",
|
3574
|
+
second: "numeric",
|
3575
|
+
timeZoneName: "short"
|
3576
|
+
}
|
3577
|
+
}
|
3578
|
+
}, wi = {
|
3579
|
+
fallbackLocale: null,
|
3580
|
+
loadingDelay: 200,
|
3581
|
+
formats: Ci,
|
3582
|
+
warnOnMissingMessages: !0,
|
3583
|
+
handleMissingMessage: void 0,
|
3584
|
+
ignoreTag: !0
|
3585
|
+
}, Hi = wi;
|
3586
|
+
function se() {
|
3587
|
+
return Hi;
|
3588
|
+
}
|
3589
|
+
const je = Be(!1);
|
3590
|
+
var Si = Object.defineProperty, Ti = Object.defineProperties, Ai = Object.getOwnPropertyDescriptors, Ht = Object.getOwnPropertySymbols, Ii = Object.prototype.hasOwnProperty, Bi = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Mi = (e, t) => {
|
3591
|
+
for (var r in t || (t = {}))
|
3592
|
+
Ii.call(t, r) && St(e, r, t[r]);
|
3593
|
+
if (Ht)
|
3594
|
+
for (var r of Ht(t))
|
3595
|
+
Bi.call(t, r) && St(e, r, t[r]);
|
3596
|
+
return e;
|
3597
|
+
}, Ni = (e, t) => Ti(e, Ai(t));
|
3598
|
+
let et;
|
3599
|
+
const Ae = Be(null);
|
3600
|
+
function Tt(e) {
|
3601
|
+
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
3602
|
+
}
|
3603
|
+
function Pe(e, t = se().fallbackLocale) {
|
3604
|
+
const r = Tt(e);
|
3605
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Tt(t)])] : r;
|
3606
|
+
}
|
3607
|
+
function J() {
|
3608
|
+
return et != null ? et : void 0;
|
3609
|
+
}
|
3610
|
+
Ae.subscribe((e) => {
|
3611
|
+
et = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
3612
|
+
});
|
3613
|
+
const Pi = (e) => {
|
3614
|
+
if (e && vi(e) && Ke(e)) {
|
3615
|
+
const { loadingDelay: t } = se();
|
3616
|
+
let r;
|
3617
|
+
return typeof window != "undefined" && J() != null && t ? r = window.setTimeout(
|
3618
|
+
() => je.set(!0),
|
3619
|
+
t
|
3620
|
+
) : je.set(!0), mr(e).then(() => {
|
3621
|
+
Ae.set(e);
|
3622
|
+
}).finally(() => {
|
3623
|
+
clearTimeout(r), je.set(!1);
|
3624
|
+
});
|
3625
|
+
}
|
3626
|
+
return Ae.set(e);
|
3627
|
+
}, W = Ni(Mi({}, Ae), {
|
3628
|
+
set: Pi
|
3629
|
+
}), Oe = (e) => {
|
3630
|
+
const t = /* @__PURE__ */ Object.create(null);
|
3631
|
+
return (n) => {
|
3632
|
+
const i = JSON.stringify(n);
|
3633
|
+
return i in t ? t[i] : t[i] = e(n);
|
3634
|
+
};
|
3635
|
+
};
|
3636
|
+
var Oi = Object.defineProperty, Ie = Object.getOwnPropertySymbols, pr = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
|
3637
|
+
for (var r in t || (t = {}))
|
3638
|
+
pr.call(t, r) && At(e, r, t[r]);
|
3639
|
+
if (Ie)
|
3640
|
+
for (var r of Ie(t))
|
3641
|
+
gr.call(t, r) && At(e, r, t[r]);
|
3642
|
+
return e;
|
3643
|
+
}, ue = (e, t) => {
|
3644
|
+
var r = {};
|
3645
|
+
for (var n in e)
|
3646
|
+
pr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
3647
|
+
if (e != null && Ie)
|
3648
|
+
for (var n of Ie(e))
|
3649
|
+
t.indexOf(n) < 0 && gr.call(e, n) && (r[n] = e[n]);
|
3650
|
+
return r;
|
3651
|
+
};
|
3652
|
+
const be = (e, t) => {
|
3653
|
+
const { formats: r } = se();
|
3654
|
+
if (e in r && t in r[e])
|
3655
|
+
return r[e][t];
|
3656
|
+
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
3657
|
+
}, Li = Oe(
|
3658
|
+
(e) => {
|
3659
|
+
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
3660
|
+
if (r == null)
|
3661
|
+
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
3662
|
+
return n && (i = be("number", n)), new Intl.NumberFormat(r, i);
|
3663
|
+
}
|
3664
|
+
), Fi = Oe(
|
3665
|
+
(e) => {
|
3666
|
+
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
3667
|
+
if (r == null)
|
3668
|
+
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
3669
|
+
return n ? i = be("date", n) : Object.keys(i).length === 0 && (i = be("date", "short")), new Intl.DateTimeFormat(r, i);
|
3670
|
+
}
|
3671
|
+
), Ri = Oe(
|
3672
|
+
(e) => {
|
3673
|
+
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
3674
|
+
if (r == null)
|
3675
|
+
throw new Error(
|
3676
|
+
'[svelte-i18n] A "locale" must be set to format time values'
|
3677
|
+
);
|
3678
|
+
return n ? i = be("time", n) : Object.keys(i).length === 0 && (i = be("time", "short")), new Intl.DateTimeFormat(r, i);
|
3679
|
+
}
|
3680
|
+
), Di = (e = {}) => {
|
3681
|
+
var t = e, {
|
3682
|
+
locale: r = J()
|
3683
|
+
} = t, n = ue(t, [
|
3684
|
+
"locale"
|
3685
|
+
]);
|
3686
|
+
return Li(it({ locale: r }, n));
|
3687
|
+
}, Gi = (e = {}) => {
|
3688
|
+
var t = e, {
|
3689
|
+
locale: r = J()
|
3690
|
+
} = t, n = ue(t, [
|
3691
|
+
"locale"
|
3692
|
+
]);
|
3693
|
+
return Fi(it({ locale: r }, n));
|
3694
|
+
}, Ui = (e = {}) => {
|
3695
|
+
var t = e, {
|
3696
|
+
locale: r = J()
|
3697
|
+
} = t, n = ue(t, [
|
3698
|
+
"locale"
|
3699
|
+
]);
|
3700
|
+
return Ri(it({ locale: r }, n));
|
3701
|
+
}, ki = Oe(
|
3702
|
+
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
3703
|
+
(e, t = J()) => new mi(e, t, se().formats, {
|
3704
|
+
ignoreTag: se().ignoreTag
|
3705
|
+
})
|
3706
|
+
), $i = (e, t = {}) => {
|
3707
|
+
var r, n, i, o;
|
3708
|
+
let s = t;
|
3709
|
+
typeof e == "object" && (s = e, e = s.id);
|
3710
|
+
const {
|
3711
|
+
values: a,
|
3712
|
+
locale: u = J(),
|
3713
|
+
default: l
|
3714
|
+
} = s;
|
3715
|
+
if (u == null)
|
3716
|
+
throw new Error(
|
3717
|
+
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
3718
|
+
);
|
3719
|
+
let h = hr(e, u);
|
3720
|
+
if (!h)
|
3721
|
+
h = (o = (i = (n = (r = se()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
|
3722
|
+
else if (typeof h != "string")
|
3723
|
+
return console.warn(
|
3724
|
+
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
3725
|
+
), h;
|
3726
|
+
if (!a)
|
3727
|
+
return h;
|
3728
|
+
let d = h;
|
3729
|
+
try {
|
3730
|
+
d = ki(h, u).format(a);
|
3731
|
+
} catch (f) {
|
3732
|
+
f instanceof Error && console.warn(
|
3733
|
+
`[svelte-i18n] Message "${e}" has syntax error:`,
|
3734
|
+
f.message
|
3735
|
+
);
|
3736
|
+
}
|
3737
|
+
return d;
|
3738
|
+
}, ji = (e, t) => Ui(t).format(e), Vi = (e, t) => Gi(t).format(e), Xi = (e, t) => Di(t).format(e), Wi = (e, t = J()) => hr(e, t);
|
3739
|
+
ae([W, le], () => $i);
|
3740
|
+
ae([W], () => ji);
|
3741
|
+
ae([W], () => Vi);
|
3742
|
+
ae([W], () => Xi);
|
3743
|
+
ae([W, le], () => Wi);
|
3744
|
+
function zi({ withLocale: e, translations: t }) {
|
3745
|
+
W.subscribe((r) => {
|
3746
|
+
r == null && (le.set(t), W.set(e));
|
3747
|
+
});
|
3748
|
+
}
|
3749
|
+
function It(e, t) {
|
3750
|
+
fr(e, t);
|
3751
|
+
}
|
3752
|
+
function Zi(e) {
|
3753
|
+
W.set(e);
|
3754
|
+
}
|
3755
|
+
const Bt = {
|
3756
|
+
en: {
|
3757
|
+
login: "Login",
|
3758
|
+
register: "Register",
|
3759
|
+
deposit: "Deposit"
|
3760
|
+
},
|
3761
|
+
"zh-hk": {
|
3762
|
+
login: "登錄",
|
3763
|
+
register: "登記",
|
3764
|
+
deposit: "訂金"
|
3765
|
+
},
|
3766
|
+
fr: {
|
3767
|
+
login: "Connexion",
|
3768
|
+
register: "Registre",
|
3769
|
+
deposit: "Dépôt"
|
3770
|
+
},
|
3771
|
+
tr: {
|
3772
|
+
login: "Giriş",
|
3773
|
+
register: "Kayıt",
|
3774
|
+
deposit: "Para Yatır"
|
3775
|
+
},
|
3776
|
+
ro: {
|
3777
|
+
login: "Autentificare",
|
3778
|
+
register: "Inregistrare",
|
3779
|
+
deposit: "Depozit"
|
3780
|
+
},
|
3781
|
+
es: {
|
3782
|
+
login: "Iniciar sesión",
|
3783
|
+
register: "Regístrate",
|
3784
|
+
deposit: "Deposita"
|
3785
|
+
},
|
3786
|
+
pt: {
|
3787
|
+
login: "Entrar",
|
3788
|
+
register: "Registro",
|
3789
|
+
deposit: "Depósito"
|
3790
|
+
},
|
3791
|
+
hr: {
|
3792
|
+
login: "Prijava",
|
3793
|
+
register: "Registracija",
|
3794
|
+
deposit: "Uplata"
|
3795
|
+
},
|
3796
|
+
"pt-br": {
|
3797
|
+
login: "Entrem",
|
3798
|
+
register: "Registro",
|
3799
|
+
deposit: "Depósito"
|
3800
|
+
},
|
3801
|
+
"es-mx": {
|
3802
|
+
login: "Entrar",
|
3803
|
+
register: "Registro",
|
3804
|
+
deposit: "Depósito"
|
3805
|
+
},
|
3806
|
+
"en-us": {
|
3807
|
+
login: "Login",
|
3808
|
+
register: "Register",
|
3809
|
+
deposit: "Deposit"
|
3810
|
+
}
|
3811
|
+
};
|
3812
|
+
function Qi(e) {
|
3813
|
+
Gr(e, "svelte-1lgwoo3", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CarouselWrapper{background:-webkit-linear-gradient(to left, var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)));background:linear-gradient(to left, var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)))}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));margin:0 auto;max-width:1300px}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer ul{align-items:center}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));cursor:pointer}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:var(--emw--categories-arrows-bg, var(--emw--color-gray-transparency-30, rgba(255, 255, 255, 0.3)))}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px;stroke:var(--emw--categories-arrows, var(--emw--color-white, #FFFFFF))}.CarouselContainer h1{text-align:center}.CarouselContainer ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center}.CarouselContainer .CarouselItems li{display:inline-block;text-align:left;padding:7px 10px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems button{background:none;border:none;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems a{display:block;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A))}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839));background:-webkit-linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)));background:linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)))}.CarouselContainer .CarouselItems .TouchOnly{display:none;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown:hover,.CarouselContainer .SubDropDown.active{color:var(--emw--categories-contrast, var(--emw--color-contrast, #07072A));background:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus-within a{border-bottom:1px solid var(--emw--header-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--header-color-primary, var(--emw--color-primary, #D0046C))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem span{border-top:1px solid transparent;padding-top:5px;transition-duration:0.3s}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));text-decoration:none}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:"";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emw--color-white, #FFFFFF)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emw--color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}.CategoryIconImg{height:20px;margin:0 auto;display:block}.DisplayNone{display:none}');
|
3814
|
+
}
|
3815
|
+
function Mt(e, t, r) {
|
3816
|
+
const n = e.slice();
|
3817
|
+
return n[49] = t[r], n[51] = r, n;
|
3818
|
+
}
|
3819
|
+
function Nt(e, t, r) {
|
3820
|
+
const n = e.slice();
|
3821
|
+
return n[52] = t[r], n;
|
3822
|
+
}
|
3823
|
+
function Pt(e, t, r) {
|
3824
|
+
const n = e.slice();
|
3825
|
+
return n[55] = t[r], n[57] = r, n;
|
3826
|
+
}
|
3827
|
+
function Ot(e) {
|
3828
|
+
let t = [], r = /* @__PURE__ */ new Map(), n, i = re(
|
3829
|
+
/*sliderdata*/
|
3830
|
+
e[9]
|
3831
|
+
);
|
3832
|
+
const o = (s) => (
|
3833
|
+
/*category*/
|
3834
|
+
s[49].id
|
3835
|
+
);
|
3836
|
+
for (let s = 0; s < i.length; s += 1) {
|
3837
|
+
let a = Mt(e, i, s), u = o(a);
|
3838
|
+
r.set(u, t[s] = Ut(u, a));
|
3839
|
+
}
|
3840
|
+
return {
|
3841
|
+
c() {
|
3842
|
+
for (let s = 0; s < t.length; s += 1)
|
3843
|
+
t[s].c();
|
3844
|
+
n = me();
|
3845
|
+
},
|
3846
|
+
m(s, a) {
|
3847
|
+
for (let u = 0; u < t.length; u += 1)
|
3848
|
+
t[u] && t[u].m(s, a);
|
3849
|
+
k(s, n, a);
|
3850
|
+
},
|
3851
|
+
p(s, a) {
|
3852
|
+
a[0] & /*activeindex, sliderdata, location, handleClick, subGroupsData, activeIndex, activeSubIndex, prevSubIndex, showsubgroups, itemsActive, categoriesicon, handleSrc*/
|
3853
|
+
77775 && (i = re(
|
3854
|
+
/*sliderdata*/
|
3855
|
+
s[9]
|
3856
|
+
), t = Xt(t, a, o, 1, s, i, r, n.parentNode, Vt, Ut, n, Mt));
|
3857
|
+
},
|
3858
|
+
d(s) {
|
3859
|
+
s && D(n);
|
3860
|
+
for (let a = 0; a < t.length; a += 1)
|
3861
|
+
t[a].d(s);
|
3862
|
+
}
|
3863
|
+
};
|
3864
|
+
}
|
3865
|
+
function qi(e) {
|
3866
|
+
let t, r = (
|
3867
|
+
/*category*/
|
3868
|
+
e[49].name + ""
|
3869
|
+
), n;
|
3870
|
+
return {
|
3871
|
+
c() {
|
3872
|
+
t = M("button"), n = ye(r), S(t, "class", "CategoryButton");
|
3873
|
+
},
|
3874
|
+
m(i, o) {
|
3875
|
+
k(i, t, o), I(t, n);
|
3876
|
+
},
|
3877
|
+
p(i, o) {
|
3878
|
+
o[0] & /*sliderdata*/
|
3879
|
+
512 && r !== (r = /*category*/
|
3880
|
+
i[49].name + "") && rt(n, r);
|
3881
|
+
},
|
3882
|
+
d(i) {
|
3883
|
+
i && D(t);
|
3884
|
+
}
|
3885
|
+
};
|
3886
|
+
}
|
3887
|
+
function Ji(e) {
|
3888
|
+
let t, r = (
|
3889
|
+
/*category*/
|
3890
|
+
e[49].label + ""
|
3891
|
+
), n, i;
|
3892
|
+
return {
|
3893
|
+
c() {
|
3894
|
+
t = M("a"), n = ye(r), S(t, "href", i = /*category*/
|
3895
|
+
e[49].path);
|
3896
|
+
},
|
3897
|
+
m(o, s) {
|
3898
|
+
k(o, t, s), I(t, n);
|
3899
|
+
},
|
3900
|
+
p(o, s) {
|
3901
|
+
s[0] & /*sliderdata*/
|
3902
|
+
512 && r !== (r = /*category*/
|
3903
|
+
o[49].label + "") && rt(n, r), s[0] & /*sliderdata*/
|
3904
|
+
512 && i !== (i = /*category*/
|
3905
|
+
o[49].path) && S(t, "href", i);
|
3906
|
+
},
|
3907
|
+
d(o) {
|
3908
|
+
o && D(t);
|
3909
|
+
}
|
3910
|
+
};
|
3911
|
+
}
|
3912
|
+
function Lt(e) {
|
3913
|
+
let t, r = (
|
3914
|
+
/*subGroupsData*/
|
3915
|
+
e[10].length > 0 && /*showsubgroups*/
|
3916
|
+
e[2] == "true" && Ft(e)
|
3917
|
+
);
|
3918
|
+
return {
|
3919
|
+
c() {
|
3920
|
+
r && r.c(), t = me();
|
3921
|
+
},
|
3922
|
+
m(n, i) {
|
3923
|
+
r && r.m(n, i), k(n, t, i);
|
3924
|
+
},
|
3925
|
+
p(n, i) {
|
3926
|
+
/*subGroupsData*/
|
3927
|
+
n[10].length > 0 && /*showsubgroups*/
|
3928
|
+
n[2] == "true" ? r ? r.p(n, i) : (r = Ft(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
|
3929
|
+
},
|
3930
|
+
d(n) {
|
3931
|
+
n && D(t), r && r.d(n);
|
3932
|
+
}
|
3933
|
+
};
|
3934
|
+
}
|
3935
|
+
function Ft(e) {
|
3936
|
+
let t, r = re(
|
3937
|
+
/*subGroupsData*/
|
3938
|
+
e[10]
|
3939
|
+
), n = [];
|
3940
|
+
for (let i = 0; i < r.length; i += 1)
|
3941
|
+
n[i] = Gt(Nt(e, r, i));
|
3942
|
+
return {
|
3943
|
+
c() {
|
3944
|
+
t = M("ul");
|
3945
|
+
for (let i = 0; i < n.length; i += 1)
|
3946
|
+
n[i].c();
|
3947
|
+
S(t, "class", "DropDown");
|
3948
|
+
},
|
3949
|
+
m(i, o) {
|
3950
|
+
k(i, t, o);
|
3951
|
+
for (let s = 0; s < n.length; s += 1)
|
3952
|
+
n[s] && n[s].m(t, null);
|
3953
|
+
},
|
3954
|
+
p(i, o) {
|
3955
|
+
if (o[0] & /*subGroupsData, handleClick, sliderdata, activeIndex, activeSubIndex, prevSubIndex*/
|
3956
|
+
10176) {
|
3957
|
+
r = re(
|
3958
|
+
/*subGroupsData*/
|
3959
|
+
i[10]
|
3960
|
+
);
|
3961
|
+
let s;
|
3962
|
+
for (s = 0; s < r.length; s += 1) {
|
3963
|
+
const a = Nt(i, r, s);
|
3964
|
+
n[s] ? n[s].p(a, o) : (n[s] = Gt(a), n[s].c(), n[s].m(t, null));
|
3965
|
+
}
|
3966
|
+
for (; s < n.length; s += 1)
|
3967
|
+
n[s].d(1);
|
3968
|
+
n.length = r.length;
|
3969
|
+
}
|
3970
|
+
},
|
3971
|
+
d(i) {
|
3972
|
+
i && D(t), $r(n, i);
|
3973
|
+
}
|
3974
|
+
};
|
3975
|
+
}
|
3976
|
+
function Rt(e) {
|
3977
|
+
var h;
|
3978
|
+
let t, r, n = (
|
3979
|
+
/*subGroupItem*/
|
3980
|
+
((h = e[55]) == null ? void 0 : h.name) + ""
|
3981
|
+
), i, o, s, a, u;
|
3982
|
+
function l(...d) {
|
3983
|
+
return (
|
3984
|
+
/*click_handler_1*/
|
3985
|
+
e[32](
|
3986
|
+
/*category*/
|
3987
|
+
e[49],
|
3988
|
+
/*index*/
|
3989
|
+
e[51],
|
3990
|
+
/*subGroupItem*/
|
3991
|
+
e[55],
|
3992
|
+
/*subindex*/
|
3993
|
+
e[57],
|
3994
|
+
...d
|
3995
|
+
)
|
3996
|
+
);
|
3997
|
+
}
|
3998
|
+
return {
|
3999
|
+
c() {
|
4000
|
+
t = M("li"), r = M("a"), i = ye(n), s = Q(), S(r, "class", o = "SubDropDown " + /*index*/
|
4001
|
+
(e[51] == /*activeIndex*/
|
4002
|
+
e[6] && /*activeSubIndex*/
|
4003
|
+
(e[7] == /*subindex*/
|
4004
|
+
e[57] || /*prevSubIndex*/
|
4005
|
+
e[8] == /*subindex*/
|
4006
|
+
e[57]) ? "active" : ""));
|
4007
|
+
},
|
4008
|
+
m(d, f) {
|
4009
|
+
k(d, t, f), I(t, r), I(r, i), I(t, s), a || (u = Te(t, "click", l), a = !0);
|
4010
|
+
},
|
4011
|
+
p(d, f) {
|
4012
|
+
var p;
|
4013
|
+
e = d, f[0] & /*subGroupsData*/
|
4014
|
+
1024 && n !== (n = /*subGroupItem*/
|
4015
|
+
((p = e[55]) == null ? void 0 : p.name) + "") && rt(i, n), f[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
|
4016
|
+
1984 && o !== (o = "SubDropDown " + /*index*/
|
4017
|
+
(e[51] == /*activeIndex*/
|
4018
|
+
e[6] && /*activeSubIndex*/
|
4019
|
+
(e[7] == /*subindex*/
|
4020
|
+
e[57] || /*prevSubIndex*/
|
4021
|
+
e[8] == /*subindex*/
|
4022
|
+
e[57]) ? "active" : "")) && S(r, "class", o);
|
4023
|
+
},
|
4024
|
+
d(d) {
|
4025
|
+
d && D(t), a = !1, u();
|
4026
|
+
}
|
4027
|
+
};
|
4028
|
+
}
|
4029
|
+
function Dt(e, t) {
|
4030
|
+
let r, n, i = (
|
4031
|
+
/*index*/
|
4032
|
+
t[51] == /*subGroup*/
|
4033
|
+
t[52].index && Rt(t)
|
4034
|
+
);
|
4035
|
+
return {
|
4036
|
+
key: e,
|
4037
|
+
first: null,
|
4038
|
+
c() {
|
4039
|
+
r = me(), i && i.c(), n = me(), this.first = r;
|
4040
|
+
},
|
4041
|
+
m(o, s) {
|
4042
|
+
k(o, r, s), i && i.m(o, s), k(o, n, s);
|
4043
|
+
},
|
4044
|
+
p(o, s) {
|
4045
|
+
t = o, /*index*/
|
4046
|
+
t[51] == /*subGroup*/
|
4047
|
+
t[52].index ? i ? i.p(t, s) : (i = Rt(t), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
|
4048
|
+
},
|
4049
|
+
d(o) {
|
4050
|
+
o && (D(r), D(n)), i && i.d(o);
|
4051
|
+
}
|
4052
|
+
};
|
4053
|
+
}
|
4054
|
+
function Gt(e) {
|
4055
|
+
let t = [], r = /* @__PURE__ */ new Map(), n, i = re(
|
4056
|
+
/*subGroup*/
|
4057
|
+
e[52].items
|
4058
|
+
);
|
4059
|
+
const o = (s) => (
|
4060
|
+
/*subGroupItem*/
|
4061
|
+
s[55].id
|
4062
|
+
);
|
4063
|
+
for (let s = 0; s < i.length; s += 1) {
|
4064
|
+
let a = Pt(e, i, s), u = o(a);
|
4065
|
+
r.set(u, t[s] = Dt(u, a));
|
4066
|
+
}
|
4067
|
+
return {
|
4068
|
+
c() {
|
4069
|
+
for (let s = 0; s < t.length; s += 1)
|
4070
|
+
t[s].c();
|
4071
|
+
n = me();
|
4072
|
+
},
|
4073
|
+
m(s, a) {
|
4074
|
+
for (let u = 0; u < t.length; u += 1)
|
4075
|
+
t[u] && t[u].m(s, a);
|
4076
|
+
k(s, n, a);
|
4077
|
+
},
|
4078
|
+
p(s, a) {
|
4079
|
+
a[0] & /*handleClick, sliderdata, subGroupsData, activeIndex, activeSubIndex, prevSubIndex*/
|
4080
|
+
10176 && (i = re(
|
4081
|
+
/*subGroup*/
|
4082
|
+
s[52].items
|
4083
|
+
), t = Xt(t, a, o, 1, s, i, r, n.parentNode, Vt, Dt, n, Pt));
|
4084
|
+
},
|
4085
|
+
d(s) {
|
4086
|
+
s && D(n);
|
4087
|
+
for (let a = 0; a < t.length; a += 1)
|
4088
|
+
t[a].d(s);
|
4089
|
+
}
|
4090
|
+
};
|
4091
|
+
}
|
4092
|
+
function Ut(e, t) {
|
4093
|
+
let r, n, i, o, s, a, u, l, h, d, f;
|
4094
|
+
function p(_, C) {
|
4095
|
+
return (
|
4096
|
+
/*location*/
|
4097
|
+
_[0] === "headerMain" ? Ji : qi
|
4098
|
+
);
|
4099
|
+
}
|
4100
|
+
let g = p(t), b = g(t), m = (
|
4101
|
+
/*itemsActive*/
|
4102
|
+
t[11][
|
4103
|
+
/*index*/
|
4104
|
+
t[51]
|
4105
|
+
] == !0 && Lt(t)
|
4106
|
+
);
|
4107
|
+
function w(..._) {
|
4108
|
+
return (
|
4109
|
+
/*click_handler_2*/
|
4110
|
+
t[33](
|
4111
|
+
/*category*/
|
4112
|
+
t[49],
|
4113
|
+
/*index*/
|
4114
|
+
t[51],
|
4115
|
+
..._
|
4116
|
+
)
|
4117
|
+
);
|
4118
|
+
}
|
4119
|
+
return {
|
4120
|
+
key: e,
|
4121
|
+
first: null,
|
4122
|
+
c() {
|
4123
|
+
var _, C;
|
4124
|
+
r = M("li"), n = M("div"), i = M("img"), a = Q(), b.c(), u = Q(), m && m.c(), l = Q(), S(i, "class", o = "CategoryIconImg " + /*categoriesicon*/
|
4125
|
+
(t[3] === "true" ? "" : "DisplayNone")), mt(i.src, s = /*handleSrc*/
|
4126
|
+
t[16](
|
4127
|
+
/*category*/
|
4128
|
+
t[49]
|
4129
|
+
)) || S(i, "src", s), S(n, "class", "CategoryIcon"), S(r, "class", h = "CarouselItem " + /*activeindex*/
|
4130
|
+
(((_ = t[1]) == null ? void 0 : _.toString().indexOf("$")) > -1 ? (
|
4131
|
+
/*activeindex*/
|
4132
|
+
((C = t[1]) == null ? void 0 : C.split("$").pop()) == /*category*/
|
4133
|
+
t[49].id.split("$").pop() ? "active" : ""
|
4134
|
+
) : (
|
4135
|
+
/*activeindex*/
|
4136
|
+
t[1] == /*category*/
|
4137
|
+
t[49].id ? "active" : ""
|
4138
|
+
)) + " " + /*location*/
|
4139
|
+
(t[0] == "headerMain" ? "" : "SecondaryMenu")), S(r, "part", "CarouselItem"), this.first = r;
|
4140
|
+
},
|
4141
|
+
m(_, C) {
|
4142
|
+
k(_, r, C), I(r, n), I(n, i), I(r, a), b.m(r, null), I(r, u), m && m.m(r, null), I(r, l), d || (f = Te(r, "click", w), d = !0);
|
4143
|
+
},
|
4144
|
+
p(_, C) {
|
4145
|
+
var P, O;
|
4146
|
+
t = _, C[0] & /*categoriesicon*/
|
4147
|
+
8 && o !== (o = "CategoryIconImg " + /*categoriesicon*/
|
4148
|
+
(t[3] === "true" ? "" : "DisplayNone")) && S(i, "class", o), C[0] & /*sliderdata*/
|
4149
|
+
512 && !mt(i.src, s = /*handleSrc*/
|
4150
|
+
t[16](
|
4151
|
+
/*category*/
|
4152
|
+
t[49]
|
4153
|
+
)) && S(i, "src", s), g === (g = p(t)) && b ? b.p(t, C) : (b.d(1), b = g(t), b && (b.c(), b.m(r, u))), /*itemsActive*/
|
4154
|
+
t[11][
|
4155
|
+
/*index*/
|
4156
|
+
t[51]
|
4157
|
+
] == !0 ? m ? m.p(t, C) : (m = Lt(t), m.c(), m.m(r, l)) : m && (m.d(1), m = null), C[0] & /*activeindex, sliderdata, location*/
|
4158
|
+
515 && h !== (h = "CarouselItem " + /*activeindex*/
|
4159
|
+
(((P = t[1]) == null ? void 0 : P.toString().indexOf("$")) > -1 ? (
|
4160
|
+
/*activeindex*/
|
4161
|
+
((O = t[1]) == null ? void 0 : O.split("$").pop()) == /*category*/
|
4162
|
+
t[49].id.split("$").pop() ? "active" : ""
|
4163
|
+
) : (
|
4164
|
+
/*activeindex*/
|
4165
|
+
t[1] == /*category*/
|
4166
|
+
t[49].id ? "active" : ""
|
4167
|
+
)) + " " + /*location*/
|
4168
|
+
(t[0] == "headerMain" ? "" : "SecondaryMenu")) && S(r, "class", h);
|
4169
|
+
},
|
4170
|
+
d(_) {
|
4171
|
+
_ && D(r), b.d(), m && m.d(), d = !1, f();
|
4172
|
+
}
|
4173
|
+
};
|
4174
|
+
}
|
4175
|
+
function Yi(e) {
|
4176
|
+
let t, r, n, i, o, s, a, u, l, h, d, f, p, g, b, m = (
|
4177
|
+
/*sliderdata*/
|
4178
|
+
e[9].length > 0 && Ot(e)
|
4179
|
+
);
|
4180
|
+
return {
|
4181
|
+
c() {
|
4182
|
+
t = M("div"), r = M("div"), n = M("div"), n.innerHTML = '<svg fill="none" stroke="var(--emw--categories-arrows, var( --emw--color-white, #FFFFFF));" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>', i = Q(), o = M("div"), s = M("ul"), a = M("li"), a.innerHTML = '<a href="#CarouselNav">Close Subs</a>', u = Q(), m && m.c(), l = Q(), h = M("div"), h.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>', S(n, "class", "CarouselLeftArrow"), S(a, "class", "TouchOnly"), S(s, "id", "CarouselNav"), S(s, "class", "CarouselItems"), S(o, "class", "CarouselNavWrap"), S(h, "class", "CarouselRightArrow"), S(r, "class", d = `CarouselContainer CarouselContainerMobile ${/*location*/
|
4183
|
+
e[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`), S(r, "style", f = /*location*/
|
4184
|
+
e[0] === "headerMain" ? "max-width: auto" : void 0), S(t, "class", p = "CarouselWrapper " + /*location*/
|
4185
|
+
(e[0] === "headerMain" ? "CarouselWrapperHeaderMain" : ""));
|
4186
|
+
},
|
4187
|
+
m(w, _) {
|
4188
|
+
k(w, t, _), I(t, r), I(r, n), I(r, i), I(r, o), I(o, s), I(s, a), I(s, u), m && m.m(s, null), e[34](s), e[35](o), I(r, l), I(r, h), e[37](t), g || (b = [
|
4189
|
+
Te(
|
4190
|
+
n,
|
4191
|
+
"click",
|
4192
|
+
/*click_handler*/
|
4193
|
+
e[31]
|
4194
|
+
),
|
4195
|
+
Te(
|
4196
|
+
h,
|
4197
|
+
"click",
|
4198
|
+
/*click_handler_3*/
|
4199
|
+
e[36]
|
4200
|
+
)
|
4201
|
+
], g = !0);
|
4202
|
+
},
|
4203
|
+
p(w, _) {
|
4204
|
+
/*sliderdata*/
|
4205
|
+
w[9].length > 0 ? m ? m.p(w, _) : (m = Ot(w), m.c(), m.m(s, null)) : m && (m.d(1), m = null), _[0] & /*location*/
|
4206
|
+
1 && d !== (d = `CarouselContainer CarouselContainerMobile ${/*location*/
|
4207
|
+
w[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && S(r, "class", d), _[0] & /*location*/
|
4208
|
+
1 && f !== (f = /*location*/
|
4209
|
+
w[0] === "headerMain" ? "max-width: auto" : void 0) && S(r, "style", f), _[0] & /*location*/
|
4210
|
+
1 && p !== (p = "CarouselWrapper " + /*location*/
|
4211
|
+
(w[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) && S(t, "class", p);
|
4212
|
+
},
|
4213
|
+
i: $,
|
4214
|
+
o: $,
|
4215
|
+
d(w) {
|
4216
|
+
w && D(t), m && m.d(), e[34](null), e[35](null), e[37](null), g = !1, q(b);
|
4217
|
+
}
|
4218
|
+
};
|
4219
|
+
}
|
4220
|
+
function Ki(e, t, r) {
|
4221
|
+
let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname: o = "defaultEvent" } = t, { actionevent: s = "defaultEvent" } = t, { favoritesnumber: a = "0" } = t, { location: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: h = "" } = t, { identity: d = "" } = t, { translationurl: f = "" } = t, { isprimarymenu: p = !1 } = t, { issecondarymenu: g = !1 } = t, { lang: b = "" } = t, { activeindex: m = "0" } = t, { showsubgroups: w = "false" } = t, { categoriesicon: _ = "false" } = t, { lobbyiconimage: C = "" } = t, { mygamesiconimage: P = "" } = t;
|
4222
|
+
zi({ withLocale: "en", translations: {} });
|
4223
|
+
const O = () => {
|
4224
|
+
fetch(f).then((x) => x.json()).then((x) => {
|
4225
|
+
Object.keys(x).forEach((B) => {
|
4226
|
+
It(B, x[B]);
|
4227
|
+
});
|
4228
|
+
}).catch((x) => {
|
4229
|
+
console.log(x);
|
4230
|
+
});
|
4231
|
+
};
|
4232
|
+
Object.keys(Bt).forEach((c) => {
|
4233
|
+
It(c, Bt[c]);
|
4234
|
+
});
|
4235
|
+
let L, H, N, R, G, he = [], ve = [], _e = [], j, Le = (c, x, B, z, V) => {
|
4236
|
+
var Z;
|
4237
|
+
if (!(c.subGroups && z === null)) {
|
4238
|
+
if (Ee(), r(6, H = x), r(6, H), V != "secondary") {
|
4239
|
+
window.postMessage(
|
4240
|
+
{
|
4241
|
+
type: s == "CategoryChange" ? "CategoryChange" : "NavigateTo",
|
4242
|
+
buzz: "1",
|
4243
|
+
itemId: c.id,
|
4244
|
+
index: x,
|
4245
|
+
item: c,
|
4246
|
+
path: c.path,
|
4247
|
+
externalLink: c.externalLink || !1,
|
4248
|
+
target: ((Z = c.attrs) == null ? void 0 : Z.target) || null
|
4249
|
+
},
|
4250
|
+
window.location.href
|
4251
|
+
), r(7, N = null), r(8, R = null);
|
4252
|
+
return;
|
4253
|
+
}
|
4254
|
+
r(7, N = z), r(7, N), r(8, R = N), window.postMessage(
|
4255
|
+
{
|
4256
|
+
type: s,
|
4257
|
+
itemId: B.id,
|
4258
|
+
subIndex: z,
|
4259
|
+
subItem: B
|
4260
|
+
},
|
4261
|
+
window.location.href
|
4262
|
+
);
|
4263
|
+
}
|
4264
|
+
}, ot = () => {
|
4265
|
+
j.scrollBy({ left: -250, behavior: "smooth" });
|
4266
|
+
}, st = () => {
|
4267
|
+
j.scrollBy({ left: 250, behavior: "smooth" });
|
4268
|
+
};
|
4269
|
+
const at = (c) => {
|
4270
|
+
c.data.type == "SliderData" && c.data.identity == d && (r(9, he = c.data.data), r(11, _e = new Array(he.length).fill(!1)), w == "true" && vr()), c.data.type == "GoToHomepage" && he.forEach((x, B) => {
|
4271
|
+
x.path.endsWith("/casino") && (r(6, H = B), r(6, H));
|
4272
|
+
});
|
4273
|
+
}, br = () => {
|
4274
|
+
Zi(b);
|
4275
|
+
}, yr = (c, x, B) => {
|
4276
|
+
if (u == "secondaryMenu" && n && i && b && c.id) {
|
4277
|
+
let z = new URL(`${n}/v1/casino/groups/${i}/${c.id}/subGroups?language=${b}`);
|
4278
|
+
fetch(z.href).then((V) => V.json()).then((V) => {
|
4279
|
+
V.index = x, r(10, ve = ve.concat(V)), w == "false" && window.postMessage(
|
4280
|
+
{
|
4281
|
+
type: s,
|
4282
|
+
itemId: c.id,
|
4283
|
+
index: x,
|
4284
|
+
item: c
|
4285
|
+
},
|
4286
|
+
window.location.href
|
4287
|
+
);
|
4288
|
+
const Z = [];
|
4289
|
+
ve.map((Br) => (Br.items.forEach((lt) => {
|
4290
|
+
Z.find((Mr) => lt.id == Mr) || Z.push(lt.id);
|
4291
|
+
}), Z.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: Z }, window.location.href);
|
4292
|
+
}).then(() => {
|
4293
|
+
L.querySelectorAll(".DropDown") && Ee();
|
4294
|
+
});
|
4295
|
+
}
|
4296
|
+
u == "headerMain" && window.postMessage({ type: s, item: c }, window.location.href);
|
4297
|
+
}, Ee = () => {
|
4298
|
+
const c = L.querySelectorAll(".DropDown");
|
4299
|
+
document.activeElement.blur(), j.classList.add("isScrolling");
|
4300
|
+
for (let x = 0; x < c.length; x++)
|
4301
|
+
c[x].style.transform = "translateX(-" + j.scrollLeft + "px)";
|
4302
|
+
j.classList.remove("isScrolling");
|
4303
|
+
}, vr = () => {
|
4304
|
+
he.forEach((c, x) => {
|
4305
|
+
var B;
|
4306
|
+
((B = c == null ? void 0 : c.subGroups) == null ? void 0 : B.count) > 0 && (r(11, _e[x] = !0, _e), yr(c, x));
|
4307
|
+
});
|
4308
|
+
}, _r = () => {
|
4309
|
+
let c = document.createElement("style");
|
4310
|
+
c.innerHTML = l, G.appendChild(c);
|
4311
|
+
}, Er = () => {
|
4312
|
+
let c = document.createElement("style"), x = new URL(h);
|
4313
|
+
fetch(x.href).then((B) => B.text()).then((B) => {
|
4314
|
+
c.innerHTML = B, setTimeout(
|
4315
|
+
() => {
|
4316
|
+
G.appendChild(c);
|
4317
|
+
},
|
4318
|
+
1
|
4319
|
+
);
|
4320
|
+
});
|
4321
|
+
}, xr = (c) => {
|
4322
|
+
let x = "";
|
4323
|
+
return c.id === "LOBBY" ? x = C : c.id === "MYGAMES" && (x = P), c.icon || x;
|
4324
|
+
};
|
4325
|
+
Wr(() => (window.addEventListener("message", at, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
|
4326
|
+
() => {
|
4327
|
+
j.addEventListener("scroll", Ee);
|
4328
|
+
},
|
4329
|
+
500
|
4330
|
+
), window.postMessage({ type: "SliderLoaded", identity: d }), () => {
|
4331
|
+
window.removeEventListener("message", at), L.removeEventListener("scroll", Ee);
|
4332
|
+
}));
|
4333
|
+
const Cr = () => ot(), wr = (c, x, B, z, V) => {
|
4334
|
+
Le(c, x, B, z, "secondary"), V.stopPropagation();
|
4335
|
+
}, Hr = (c, x, B) => {
|
4336
|
+
Le(c, x, null, null, "main"), B.preventDefault();
|
4337
|
+
};
|
4338
|
+
function Sr(c) {
|
4339
|
+
de[c ? "unshift" : "push"](() => {
|
4340
|
+
L = c, r(5, L);
|
4341
|
+
});
|
4342
|
+
}
|
4343
|
+
function Tr(c) {
|
4344
|
+
de[c ? "unshift" : "push"](() => {
|
4345
|
+
j = c, r(12, j);
|
4346
|
+
});
|
4347
|
+
}
|
4348
|
+
const Ar = () => st();
|
4349
|
+
function Ir(c) {
|
4350
|
+
de[c ? "unshift" : "push"](() => {
|
4351
|
+
G = c, r(4, G);
|
4352
|
+
});
|
4353
|
+
}
|
4354
|
+
return e.$$set = (c) => {
|
4355
|
+
"endpoint" in c && r(17, n = c.endpoint), "datasource" in c && r(18, i = c.datasource), "onclickeventname" in c && r(19, o = c.onclickeventname), "actionevent" in c && r(20, s = c.actionevent), "favoritesnumber" in c && r(21, a = c.favoritesnumber), "location" in c && r(0, u = c.location), "clientstyling" in c && r(22, l = c.clientstyling), "clientstylingurl" in c && r(23, h = c.clientstylingurl), "identity" in c && r(24, d = c.identity), "translationurl" in c && r(25, f = c.translationurl), "isprimarymenu" in c && r(26, p = c.isprimarymenu), "issecondarymenu" in c && r(27, g = c.issecondarymenu), "lang" in c && r(28, b = c.lang), "activeindex" in c && r(1, m = c.activeindex), "showsubgroups" in c && r(2, w = c.showsubgroups), "categoriesicon" in c && r(3, _ = c.categoriesicon), "lobbyiconimage" in c && r(29, C = c.lobbyiconimage), "mygamesiconimage" in c && r(30, P = c.mygamesiconimage);
|
4356
|
+
}, e.$$.update = () => {
|
4357
|
+
e.$$.dirty[0] & /*activeindex*/
|
4358
|
+
2, e.$$.dirty[0] & /*translationurl*/
|
4359
|
+
33554432 && f && O(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
4360
|
+
4194320 && l && G && _r(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
4361
|
+
8388624 && h && G && Er(), e.$$.dirty[0] & /*lang*/
|
4362
|
+
268435456 && b && br();
|
4363
|
+
}, [
|
4364
|
+
u,
|
4365
|
+
m,
|
4366
|
+
w,
|
4367
|
+
_,
|
4368
|
+
G,
|
4369
|
+
L,
|
4370
|
+
H,
|
4371
|
+
N,
|
4372
|
+
R,
|
4373
|
+
he,
|
4374
|
+
ve,
|
4375
|
+
_e,
|
4376
|
+
j,
|
4377
|
+
Le,
|
4378
|
+
ot,
|
4379
|
+
st,
|
4380
|
+
xr,
|
4381
|
+
n,
|
4382
|
+
i,
|
4383
|
+
o,
|
4384
|
+
s,
|
4385
|
+
a,
|
4386
|
+
l,
|
4387
|
+
h,
|
4388
|
+
d,
|
4389
|
+
f,
|
4390
|
+
p,
|
4391
|
+
g,
|
4392
|
+
b,
|
4393
|
+
C,
|
4394
|
+
P,
|
4395
|
+
Cr,
|
4396
|
+
wr,
|
4397
|
+
Hr,
|
4398
|
+
Sr,
|
4399
|
+
Tr,
|
4400
|
+
Ar,
|
4401
|
+
Ir
|
4402
|
+
];
|
4403
|
+
}
|
4404
|
+
class eo extends nn {
|
4405
|
+
constructor(t) {
|
4406
|
+
super(), tn(
|
4407
|
+
this,
|
4408
|
+
t,
|
4409
|
+
Ki,
|
4410
|
+
Yi,
|
4411
|
+
$t,
|
4412
|
+
{
|
4413
|
+
endpoint: 17,
|
4414
|
+
datasource: 18,
|
4415
|
+
onclickeventname: 19,
|
4416
|
+
actionevent: 20,
|
4417
|
+
favoritesnumber: 21,
|
4418
|
+
location: 0,
|
4419
|
+
clientstyling: 22,
|
4420
|
+
clientstylingurl: 23,
|
4421
|
+
identity: 24,
|
4422
|
+
translationurl: 25,
|
4423
|
+
isprimarymenu: 26,
|
4424
|
+
issecondarymenu: 27,
|
4425
|
+
lang: 28,
|
4426
|
+
activeindex: 1,
|
4427
|
+
showsubgroups: 2,
|
4428
|
+
categoriesicon: 3,
|
4429
|
+
lobbyiconimage: 29,
|
4430
|
+
mygamesiconimage: 30
|
4431
|
+
},
|
4432
|
+
Qi,
|
4433
|
+
[-1, -1]
|
4434
|
+
);
|
4435
|
+
}
|
4436
|
+
get endpoint() {
|
4437
|
+
return this.$$.ctx[17];
|
4438
|
+
}
|
4439
|
+
set endpoint(t) {
|
4440
|
+
this.$$set({ endpoint: t }), A();
|
4441
|
+
}
|
4442
|
+
get datasource() {
|
4443
|
+
return this.$$.ctx[18];
|
4444
|
+
}
|
4445
|
+
set datasource(t) {
|
4446
|
+
this.$$set({ datasource: t }), A();
|
4447
|
+
}
|
4448
|
+
get onclickeventname() {
|
4449
|
+
return this.$$.ctx[19];
|
4450
|
+
}
|
4451
|
+
set onclickeventname(t) {
|
4452
|
+
this.$$set({ onclickeventname: t }), A();
|
4453
|
+
}
|
4454
|
+
get actionevent() {
|
4455
|
+
return this.$$.ctx[20];
|
4456
|
+
}
|
4457
|
+
set actionevent(t) {
|
4458
|
+
this.$$set({ actionevent: t }), A();
|
4459
|
+
}
|
4460
|
+
get favoritesnumber() {
|
4461
|
+
return this.$$.ctx[21];
|
4462
|
+
}
|
4463
|
+
set favoritesnumber(t) {
|
4464
|
+
this.$$set({ favoritesnumber: t }), A();
|
4465
|
+
}
|
4466
|
+
get location() {
|
4467
|
+
return this.$$.ctx[0];
|
4468
|
+
}
|
4469
|
+
set location(t) {
|
4470
|
+
this.$$set({ location: t }), A();
|
4471
|
+
}
|
4472
|
+
get clientstyling() {
|
4473
|
+
return this.$$.ctx[22];
|
4474
|
+
}
|
4475
|
+
set clientstyling(t) {
|
4476
|
+
this.$$set({ clientstyling: t }), A();
|
4477
|
+
}
|
4478
|
+
get clientstylingurl() {
|
4479
|
+
return this.$$.ctx[23];
|
4480
|
+
}
|
4481
|
+
set clientstylingurl(t) {
|
4482
|
+
this.$$set({ clientstylingurl: t }), A();
|
4483
|
+
}
|
4484
|
+
get identity() {
|
4485
|
+
return this.$$.ctx[24];
|
4486
|
+
}
|
4487
|
+
set identity(t) {
|
4488
|
+
this.$$set({ identity: t }), A();
|
4489
|
+
}
|
4490
|
+
get translationurl() {
|
4491
|
+
return this.$$.ctx[25];
|
4492
|
+
}
|
4493
|
+
set translationurl(t) {
|
4494
|
+
this.$$set({ translationurl: t }), A();
|
4495
|
+
}
|
4496
|
+
get isprimarymenu() {
|
4497
|
+
return this.$$.ctx[26];
|
4498
|
+
}
|
4499
|
+
set isprimarymenu(t) {
|
4500
|
+
this.$$set({ isprimarymenu: t }), A();
|
4501
|
+
}
|
4502
|
+
get issecondarymenu() {
|
4503
|
+
return this.$$.ctx[27];
|
4504
|
+
}
|
4505
|
+
set issecondarymenu(t) {
|
4506
|
+
this.$$set({ issecondarymenu: t }), A();
|
4507
|
+
}
|
4508
|
+
get lang() {
|
4509
|
+
return this.$$.ctx[28];
|
4510
|
+
}
|
4511
|
+
set lang(t) {
|
4512
|
+
this.$$set({ lang: t }), A();
|
4513
|
+
}
|
4514
|
+
get activeindex() {
|
4515
|
+
return this.$$.ctx[1];
|
4516
|
+
}
|
4517
|
+
set activeindex(t) {
|
4518
|
+
this.$$set({ activeindex: t }), A();
|
4519
|
+
}
|
4520
|
+
get showsubgroups() {
|
4521
|
+
return this.$$.ctx[2];
|
4522
|
+
}
|
4523
|
+
set showsubgroups(t) {
|
4524
|
+
this.$$set({ showsubgroups: t }), A();
|
4525
|
+
}
|
4526
|
+
get categoriesicon() {
|
4527
|
+
return this.$$.ctx[3];
|
4528
|
+
}
|
4529
|
+
set categoriesicon(t) {
|
4530
|
+
this.$$set({ categoriesicon: t }), A();
|
4531
|
+
}
|
4532
|
+
get lobbyiconimage() {
|
4533
|
+
return this.$$.ctx[29];
|
4534
|
+
}
|
4535
|
+
set lobbyiconimage(t) {
|
4536
|
+
this.$$set({ lobbyiconimage: t }), A();
|
4537
|
+
}
|
4538
|
+
get mygamesiconimage() {
|
4539
|
+
return this.$$.ctx[30];
|
4540
|
+
}
|
4541
|
+
set mygamesiconimage(t) {
|
4542
|
+
this.$$set({ mygamesiconimage: t }), A();
|
4543
|
+
}
|
4544
|
+
}
|
4545
|
+
rn(eo, { endpoint: {}, datasource: {}, onclickeventname: {}, actionevent: {}, favoritesnumber: {}, location: {}, clientstyling: {}, clientstylingurl: {}, identity: {}, translationurl: {}, isprimarymenu: { type: "Boolean" }, issecondarymenu: { type: "Boolean" }, lang: {}, activeindex: {}, showsubgroups: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {} }, [], [], !0);
|
4546
|
+
export {
|
4547
|
+
eo as default
|
4548
|
+
};
|