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