@everymatrix/casino-categories-providers 1.87.26 → 1.87.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CasinoCategories-BIaoSRDi.cjs +1 -0
- package/components/CasinoCategories-C45Gost4.js +504 -0
- package/components/CasinoCategories-Dw86jNJS.js +507 -0
- package/components/{CasinoCategories-CT9K9KfS.js → CasinoCategoriesProviders-39Ny5Xou.js} +1179 -1182
- package/components/{CasinoCategories-DhMD53wI.js → CasinoCategoriesProviders-BjN4wQLw.js} +1220 -1221
- package/components/CasinoCategoriesProviders-DqzzKa4_.cjs +3 -0
- package/components/{CasinoProviders-BTGbC_k5.js → CasinoProviders-BNHmYoF1.js} +87 -87
- package/components/{CasinoProviders-CkMeINEO.js → CasinoProviders-DkCsxxN1.js} +87 -87
- package/components/CasinoProviders-bixPzXq7.cjs +1 -0
- package/es2015/casino-categories-providers.cjs +1 -1
- package/es2015/casino-categories-providers.js +7 -7
- package/esnext/casino-categories-providers.js +1 -1
- package/package.json +1 -1
- package/components/CasinoCategories-HwnxesgF.cjs +0 -3
- package/components/CasinoCategoriesProviders-CyDccbmP.js +0 -478
- package/components/CasinoCategoriesProviders-D6Sm0rlt.js +0 -478
- package/components/CasinoCategoriesProviders-DBRRnd30.cjs +0 -1
- package/components/CasinoProviders-X-basL9D.cjs +0 -1
|
@@ -1,58 +1,57 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var Xt = Object.defineProperty, zt = Object.defineProperties;
|
|
2
|
+
var Wt = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var ze = Object.getOwnPropertySymbols;
|
|
4
|
+
var Zt = Object.prototype.hasOwnProperty, Qt = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Ee = (e, t, r) => t in e ? Xt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, We = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
Zt.call(t, r) && Ee(e, r, t[r]);
|
|
8
|
+
if (ze)
|
|
9
|
+
for (var r of ze(t))
|
|
10
|
+
Qt.call(t, r) && Ee(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var N = (e, t, r) => (
|
|
14
|
-
var
|
|
15
|
-
var s = (
|
|
12
|
+
}, Ze = (e, t) => zt(e, Wt(t));
|
|
13
|
+
var N = (e, t, r) => (Ee(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var Qe = (e, t, r) => new Promise((n, i) => {
|
|
15
|
+
var s = (l) => {
|
|
16
16
|
try {
|
|
17
|
-
|
|
18
|
-
} catch (
|
|
19
|
-
i(
|
|
17
|
+
a(r.next(l));
|
|
18
|
+
} catch (u) {
|
|
19
|
+
i(u);
|
|
20
20
|
}
|
|
21
|
-
}, o = (
|
|
21
|
+
}, o = (l) => {
|
|
22
22
|
try {
|
|
23
|
-
|
|
24
|
-
} catch (
|
|
25
|
-
i(
|
|
23
|
+
a(r.throw(l));
|
|
24
|
+
} catch (u) {
|
|
25
|
+
i(u);
|
|
26
26
|
}
|
|
27
|
-
},
|
|
28
|
-
|
|
27
|
+
}, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(s, o);
|
|
28
|
+
a((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
import "../stencil/ui-image-CP8Lp7fB.js";
|
|
31
30
|
function L() {
|
|
32
31
|
}
|
|
33
|
-
function
|
|
32
|
+
function pt(e) {
|
|
34
33
|
return e();
|
|
35
34
|
}
|
|
36
|
-
function
|
|
35
|
+
function qe() {
|
|
37
36
|
return /* @__PURE__ */ Object.create(null);
|
|
38
37
|
}
|
|
39
|
-
function
|
|
40
|
-
e.forEach(
|
|
38
|
+
function q(e) {
|
|
39
|
+
e.forEach(pt);
|
|
41
40
|
}
|
|
42
|
-
function
|
|
41
|
+
function Fe(e) {
|
|
43
42
|
return typeof e == "function";
|
|
44
43
|
}
|
|
45
|
-
function
|
|
44
|
+
function gt(e, t) {
|
|
46
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
47
46
|
}
|
|
48
|
-
let
|
|
49
|
-
function
|
|
50
|
-
return e === t ? !0 : (
|
|
47
|
+
let oe;
|
|
48
|
+
function bi(e, t) {
|
|
49
|
+
return e === t ? !0 : (oe || (oe = document.createElement("a")), oe.href = t, e === oe.href);
|
|
51
50
|
}
|
|
52
|
-
function
|
|
51
|
+
function qt(e) {
|
|
53
52
|
return Object.keys(e).length === 0;
|
|
54
53
|
}
|
|
55
|
-
function
|
|
54
|
+
function bt(e, ...t) {
|
|
56
55
|
if (e == null) {
|
|
57
56
|
for (const n of t)
|
|
58
57
|
n(void 0);
|
|
@@ -61,20 +60,20 @@ function St(e, ...t) {
|
|
|
61
60
|
const r = e.subscribe(...t);
|
|
62
61
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
63
62
|
}
|
|
64
|
-
function
|
|
65
|
-
e.$$.on_destroy.push(
|
|
63
|
+
function Jt(e, t, r) {
|
|
64
|
+
e.$$.on_destroy.push(bt(t, r));
|
|
66
65
|
}
|
|
67
|
-
function
|
|
66
|
+
function A(e, t) {
|
|
68
67
|
e.appendChild(t);
|
|
69
68
|
}
|
|
70
|
-
function
|
|
71
|
-
const n =
|
|
69
|
+
function Yt(e, t, r) {
|
|
70
|
+
const n = Kt(e);
|
|
72
71
|
if (!n.getElementById(t)) {
|
|
73
|
-
const i =
|
|
74
|
-
i.id = t, i.textContent = r,
|
|
72
|
+
const i = I("style");
|
|
73
|
+
i.id = t, i.textContent = r, er(n, i);
|
|
75
74
|
}
|
|
76
75
|
}
|
|
77
|
-
function
|
|
76
|
+
function Kt(e) {
|
|
78
77
|
if (!e)
|
|
79
78
|
return document;
|
|
80
79
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -84,53 +83,53 @@ function lr(e) {
|
|
|
84
83
|
t
|
|
85
84
|
) : e.ownerDocument;
|
|
86
85
|
}
|
|
87
|
-
function
|
|
88
|
-
return
|
|
86
|
+
function er(e, t) {
|
|
87
|
+
return A(
|
|
89
88
|
/** @type {Document} */
|
|
90
89
|
e.head || e,
|
|
91
90
|
t
|
|
92
91
|
), t.sheet;
|
|
93
92
|
}
|
|
94
|
-
function
|
|
93
|
+
function vt(e, t, r) {
|
|
95
94
|
e.insertBefore(t, r || null);
|
|
96
95
|
}
|
|
97
|
-
function
|
|
96
|
+
function je(e) {
|
|
98
97
|
e.parentNode && e.parentNode.removeChild(e);
|
|
99
98
|
}
|
|
100
|
-
function
|
|
99
|
+
function vi(e, t) {
|
|
101
100
|
for (let r = 0; r < e.length; r += 1)
|
|
102
101
|
e[r] && e[r].d(t);
|
|
103
102
|
}
|
|
104
|
-
function
|
|
103
|
+
function I(e) {
|
|
105
104
|
return document.createElement(e);
|
|
106
105
|
}
|
|
107
|
-
function
|
|
106
|
+
function ce(e) {
|
|
108
107
|
return document.createTextNode(e);
|
|
109
108
|
}
|
|
110
|
-
function
|
|
111
|
-
return
|
|
109
|
+
function xe() {
|
|
110
|
+
return ce(" ");
|
|
112
111
|
}
|
|
113
|
-
function
|
|
114
|
-
return
|
|
112
|
+
function yi() {
|
|
113
|
+
return ce("");
|
|
115
114
|
}
|
|
116
|
-
function
|
|
115
|
+
function Je(e, t, r, n) {
|
|
117
116
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
118
117
|
}
|
|
119
|
-
function
|
|
118
|
+
function C(e, t, r) {
|
|
120
119
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
121
120
|
}
|
|
122
|
-
function
|
|
121
|
+
function x(e, t, r) {
|
|
123
122
|
const n = t.toLowerCase();
|
|
124
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
|
123
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : C(e, t, r);
|
|
125
124
|
}
|
|
126
|
-
function
|
|
125
|
+
function tr(e) {
|
|
127
126
|
return Array.from(e.childNodes);
|
|
128
127
|
}
|
|
129
|
-
function
|
|
128
|
+
function Ye(e, t) {
|
|
130
129
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
131
130
|
t);
|
|
132
131
|
}
|
|
133
|
-
function
|
|
132
|
+
function rr(e) {
|
|
134
133
|
const t = {};
|
|
135
134
|
return e.childNodes.forEach(
|
|
136
135
|
/** @param {Element} node */
|
|
@@ -139,128 +138,128 @@ function gr(e) {
|
|
|
139
138
|
}
|
|
140
139
|
), t;
|
|
141
140
|
}
|
|
142
|
-
let
|
|
143
|
-
function
|
|
144
|
-
|
|
141
|
+
let re;
|
|
142
|
+
function te(e) {
|
|
143
|
+
re = e;
|
|
145
144
|
}
|
|
146
|
-
function
|
|
147
|
-
if (!
|
|
145
|
+
function nr() {
|
|
146
|
+
if (!re)
|
|
148
147
|
throw new Error("Function called outside component initialization");
|
|
149
|
-
return
|
|
148
|
+
return re;
|
|
150
149
|
}
|
|
151
|
-
function
|
|
152
|
-
|
|
150
|
+
function ir(e) {
|
|
151
|
+
nr().$$.on_mount.push(e);
|
|
153
152
|
}
|
|
154
|
-
const
|
|
155
|
-
let
|
|
156
|
-
const
|
|
157
|
-
let
|
|
158
|
-
function
|
|
159
|
-
|
|
153
|
+
const V = [], Pe = [];
|
|
154
|
+
let X = [];
|
|
155
|
+
const Ke = [], sr = /* @__PURE__ */ Promise.resolve();
|
|
156
|
+
let Oe = !1;
|
|
157
|
+
function or() {
|
|
158
|
+
Oe || (Oe = !0, sr.then(P));
|
|
160
159
|
}
|
|
161
|
-
function
|
|
162
|
-
|
|
160
|
+
function Ne(e) {
|
|
161
|
+
X.push(e);
|
|
163
162
|
}
|
|
164
|
-
const
|
|
165
|
-
let
|
|
166
|
-
function
|
|
167
|
-
if (
|
|
163
|
+
const _e = /* @__PURE__ */ new Set();
|
|
164
|
+
let F = 0;
|
|
165
|
+
function P() {
|
|
166
|
+
if (F !== 0)
|
|
168
167
|
return;
|
|
169
|
-
const e =
|
|
168
|
+
const e = re;
|
|
170
169
|
do {
|
|
171
170
|
try {
|
|
172
|
-
for (;
|
|
173
|
-
const t =
|
|
174
|
-
|
|
171
|
+
for (; F < V.length; ) {
|
|
172
|
+
const t = V[F];
|
|
173
|
+
F++, te(t), ar(t.$$);
|
|
175
174
|
}
|
|
176
175
|
} catch (t) {
|
|
177
|
-
throw
|
|
176
|
+
throw V.length = 0, F = 0, t;
|
|
178
177
|
}
|
|
179
|
-
for (
|
|
180
|
-
|
|
181
|
-
for (let t = 0; t <
|
|
182
|
-
const r =
|
|
183
|
-
|
|
178
|
+
for (te(null), V.length = 0, F = 0; Pe.length; )
|
|
179
|
+
Pe.pop()();
|
|
180
|
+
for (let t = 0; t < X.length; t += 1) {
|
|
181
|
+
const r = X[t];
|
|
182
|
+
_e.has(r) || (_e.add(r), r());
|
|
184
183
|
}
|
|
185
|
-
|
|
186
|
-
} while (
|
|
187
|
-
for (;
|
|
188
|
-
|
|
189
|
-
|
|
184
|
+
X.length = 0;
|
|
185
|
+
} while (V.length);
|
|
186
|
+
for (; Ke.length; )
|
|
187
|
+
Ke.pop()();
|
|
188
|
+
Oe = !1, _e.clear(), te(e);
|
|
190
189
|
}
|
|
191
|
-
function
|
|
190
|
+
function ar(e) {
|
|
192
191
|
if (e.fragment !== null) {
|
|
193
|
-
e.update(),
|
|
192
|
+
e.update(), q(e.before_update);
|
|
194
193
|
const t = e.dirty;
|
|
195
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
194
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
|
|
196
195
|
}
|
|
197
196
|
}
|
|
198
|
-
function
|
|
197
|
+
function ur(e) {
|
|
199
198
|
const t = [], r = [];
|
|
200
|
-
|
|
199
|
+
X.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), X = t;
|
|
201
200
|
}
|
|
202
|
-
const
|
|
203
|
-
function
|
|
204
|
-
e && e.i && (
|
|
201
|
+
const hr = /* @__PURE__ */ new Set();
|
|
202
|
+
function lr(e, t) {
|
|
203
|
+
e && e.i && (hr.delete(e), e.i(t));
|
|
205
204
|
}
|
|
206
|
-
function
|
|
205
|
+
function Ei(e) {
|
|
207
206
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
208
207
|
}
|
|
209
|
-
function
|
|
208
|
+
function cr(e, t, r) {
|
|
210
209
|
const { fragment: n, after_update: i } = e.$$;
|
|
211
|
-
n && n.m(t, r),
|
|
212
|
-
const s = e.$$.on_mount.map(
|
|
213
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
|
214
|
-
}), i.forEach(
|
|
210
|
+
n && n.m(t, r), Ne(() => {
|
|
211
|
+
const s = e.$$.on_mount.map(pt).filter(Fe);
|
|
212
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : q(s), e.$$.on_mount = [];
|
|
213
|
+
}), i.forEach(Ne);
|
|
215
214
|
}
|
|
216
|
-
function
|
|
215
|
+
function fr(e, t) {
|
|
217
216
|
const r = e.$$;
|
|
218
|
-
r.fragment !== null && (
|
|
217
|
+
r.fragment !== null && (ur(r.after_update), q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
219
218
|
}
|
|
220
|
-
function
|
|
221
|
-
e.$$.dirty[0] === -1 && (
|
|
219
|
+
function mr(e, t) {
|
|
220
|
+
e.$$.dirty[0] === -1 && (V.push(e), or(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
222
221
|
}
|
|
223
|
-
function
|
|
224
|
-
const
|
|
225
|
-
|
|
226
|
-
const
|
|
222
|
+
function dr(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
223
|
+
const l = re;
|
|
224
|
+
te(e);
|
|
225
|
+
const u = e.$$ = {
|
|
227
226
|
fragment: null,
|
|
228
227
|
ctx: [],
|
|
229
228
|
// state
|
|
230
229
|
props: s,
|
|
231
230
|
update: L,
|
|
232
231
|
not_equal: i,
|
|
233
|
-
bound:
|
|
232
|
+
bound: qe(),
|
|
234
233
|
// lifecycle
|
|
235
234
|
on_mount: [],
|
|
236
235
|
on_destroy: [],
|
|
237
236
|
on_disconnect: [],
|
|
238
237
|
before_update: [],
|
|
239
238
|
after_update: [],
|
|
240
|
-
context: new Map(t.context || (
|
|
239
|
+
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
241
240
|
// everything else
|
|
242
|
-
callbacks:
|
|
243
|
-
dirty:
|
|
241
|
+
callbacks: qe(),
|
|
242
|
+
dirty: a,
|
|
244
243
|
skip_bound: !1,
|
|
245
|
-
root: t.target ||
|
|
244
|
+
root: t.target || l.$$.root
|
|
246
245
|
};
|
|
247
|
-
o && o(
|
|
248
|
-
let
|
|
249
|
-
if (
|
|
250
|
-
const
|
|
251
|
-
return
|
|
252
|
-
}) : [],
|
|
246
|
+
o && o(u.root);
|
|
247
|
+
let h = !1;
|
|
248
|
+
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...v) => {
|
|
249
|
+
const b = v.length ? v[0] : f;
|
|
250
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = b) && (!u.skip_bound && u.bound[c] && u.bound[c](b), h && mr(e, c)), f;
|
|
251
|
+
}) : [], u.update(), h = !0, q(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
253
252
|
if (t.hydrate) {
|
|
254
|
-
const c =
|
|
255
|
-
|
|
253
|
+
const c = tr(t.target);
|
|
254
|
+
u.fragment && u.fragment.l(c), c.forEach(je);
|
|
256
255
|
} else
|
|
257
|
-
|
|
258
|
-
t.intro &&
|
|
256
|
+
u.fragment && u.fragment.c();
|
|
257
|
+
t.intro && lr(e.$$.fragment), cr(e, t.target, t.anchor), P();
|
|
259
258
|
}
|
|
260
|
-
|
|
259
|
+
te(l);
|
|
261
260
|
}
|
|
262
|
-
let
|
|
263
|
-
typeof HTMLElement == "function" && (
|
|
261
|
+
let yt;
|
|
262
|
+
typeof HTMLElement == "function" && (yt = class extends HTMLElement {
|
|
264
263
|
constructor(t, r, n) {
|
|
265
264
|
super();
|
|
266
265
|
/** The Svelte component constructor */
|
|
@@ -297,42 +296,42 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
|
|
|
297
296
|
}
|
|
298
297
|
}
|
|
299
298
|
connectedCallback() {
|
|
300
|
-
return
|
|
299
|
+
return Qe(this, null, function* () {
|
|
301
300
|
if (this.$$cn = !0, !this.$$c) {
|
|
302
301
|
let t = function(s) {
|
|
303
302
|
return () => {
|
|
304
303
|
let o;
|
|
305
304
|
return {
|
|
306
305
|
c: function() {
|
|
307
|
-
o =
|
|
306
|
+
o = I("slot"), s !== "default" && C(o, "name", s);
|
|
308
307
|
},
|
|
309
308
|
/**
|
|
310
309
|
* @param {HTMLElement} target
|
|
311
310
|
* @param {HTMLElement} [anchor]
|
|
312
311
|
*/
|
|
313
|
-
m: function(
|
|
314
|
-
|
|
312
|
+
m: function(u, h) {
|
|
313
|
+
vt(u, o, h);
|
|
315
314
|
},
|
|
316
|
-
d: function(
|
|
317
|
-
|
|
315
|
+
d: function(u) {
|
|
316
|
+
u && je(o);
|
|
318
317
|
}
|
|
319
318
|
};
|
|
320
319
|
};
|
|
321
320
|
};
|
|
322
321
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
323
322
|
return;
|
|
324
|
-
const r = {}, n =
|
|
323
|
+
const r = {}, n = rr(this);
|
|
325
324
|
for (const s of this.$$s)
|
|
326
325
|
s in n && (r[s] = [t(s)]);
|
|
327
326
|
for (const s of this.attributes) {
|
|
328
327
|
const o = this.$$g_p(s.name);
|
|
329
|
-
o in this.$$d || (this.$$d[o] =
|
|
328
|
+
o in this.$$d || (this.$$d[o] = ue(o, s.value, this.$$p_d, "toProp"));
|
|
330
329
|
}
|
|
331
330
|
for (const s in this.$$p_d)
|
|
332
331
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
|
333
332
|
this.$$c = new this.$$ctor({
|
|
334
333
|
target: this.shadowRoot || this,
|
|
335
|
-
props:
|
|
334
|
+
props: Ze(We({}, this.$$d), {
|
|
336
335
|
$$slots: r,
|
|
337
336
|
$$scope: {
|
|
338
337
|
ctx: []
|
|
@@ -343,7 +342,7 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
|
|
|
343
342
|
this.$$r = !0;
|
|
344
343
|
for (const s in this.$$p_d)
|
|
345
344
|
if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
|
|
346
|
-
const o =
|
|
345
|
+
const o = ue(
|
|
347
346
|
s,
|
|
348
347
|
this.$$d[s],
|
|
349
348
|
this.$$p_d,
|
|
@@ -356,8 +355,8 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
|
|
|
356
355
|
this.$$c.$$.after_update.push(i), i();
|
|
357
356
|
for (const s in this.$$l)
|
|
358
357
|
for (const o of this.$$l[s]) {
|
|
359
|
-
const
|
|
360
|
-
this.$$l_u.set(o,
|
|
358
|
+
const a = this.$$c.$on(s, o);
|
|
359
|
+
this.$$l_u.set(o, a);
|
|
361
360
|
}
|
|
362
361
|
this.$$l = {};
|
|
363
362
|
}
|
|
@@ -367,7 +366,7 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
|
|
|
367
366
|
// and setting attributes through setAttribute etc, this is helpful
|
|
368
367
|
attributeChangedCallback(t, r, n) {
|
|
369
368
|
var i;
|
|
370
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
|
369
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = ue(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
371
370
|
}
|
|
372
371
|
disconnectedCallback() {
|
|
373
372
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -380,7 +379,7 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
|
|
|
380
379
|
) || t;
|
|
381
380
|
}
|
|
382
381
|
});
|
|
383
|
-
function
|
|
382
|
+
function ue(e, t, r, n) {
|
|
384
383
|
var s;
|
|
385
384
|
const i = (s = r[e]) == null ? void 0 : s.type;
|
|
386
385
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
@@ -410,38 +409,38 @@ function pe(e, t, r, n) {
|
|
|
410
409
|
return t;
|
|
411
410
|
}
|
|
412
411
|
}
|
|
413
|
-
function
|
|
414
|
-
let o = class extends
|
|
412
|
+
function pr(e, t, r, n, i, s) {
|
|
413
|
+
let o = class extends yt {
|
|
415
414
|
constructor() {
|
|
416
415
|
super(e, r, i), this.$$p_d = t;
|
|
417
416
|
}
|
|
418
417
|
static get observedAttributes() {
|
|
419
418
|
return Object.keys(t).map(
|
|
420
|
-
(
|
|
419
|
+
(a) => (t[a].attribute || a).toLowerCase()
|
|
421
420
|
);
|
|
422
421
|
}
|
|
423
422
|
};
|
|
424
|
-
return Object.keys(t).forEach((
|
|
425
|
-
Object.defineProperty(o.prototype,
|
|
423
|
+
return Object.keys(t).forEach((a) => {
|
|
424
|
+
Object.defineProperty(o.prototype, a, {
|
|
426
425
|
get() {
|
|
427
|
-
return this.$$c &&
|
|
426
|
+
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
428
427
|
},
|
|
429
|
-
set(
|
|
430
|
-
var
|
|
431
|
-
|
|
428
|
+
set(l) {
|
|
429
|
+
var u;
|
|
430
|
+
l = ue(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
|
|
432
431
|
}
|
|
433
432
|
});
|
|
434
|
-
}), n.forEach((
|
|
435
|
-
Object.defineProperty(o.prototype,
|
|
433
|
+
}), n.forEach((a) => {
|
|
434
|
+
Object.defineProperty(o.prototype, a, {
|
|
436
435
|
get() {
|
|
437
|
-
var
|
|
438
|
-
return (
|
|
436
|
+
var l;
|
|
437
|
+
return (l = this.$$c) == null ? void 0 : l[a];
|
|
439
438
|
}
|
|
440
439
|
});
|
|
441
440
|
}), e.element = /** @type {any} */
|
|
442
441
|
o, o;
|
|
443
442
|
}
|
|
444
|
-
class
|
|
443
|
+
class gr {
|
|
445
444
|
constructor() {
|
|
446
445
|
/**
|
|
447
446
|
* ### PRIVATE API
|
|
@@ -462,7 +461,7 @@ class Ar {
|
|
|
462
461
|
}
|
|
463
462
|
/** @returns {void} */
|
|
464
463
|
$destroy() {
|
|
465
|
-
|
|
464
|
+
fr(this, 1), this.$destroy = L;
|
|
466
465
|
}
|
|
467
466
|
/**
|
|
468
467
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -471,7 +470,7 @@ class Ar {
|
|
|
471
470
|
* @returns {() => void}
|
|
472
471
|
*/
|
|
473
472
|
$on(t, r) {
|
|
474
|
-
if (!
|
|
473
|
+
if (!Fe(r))
|
|
475
474
|
return L;
|
|
476
475
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
477
476
|
return n.push(r), () => {
|
|
@@ -484,176 +483,176 @@ class Ar {
|
|
|
484
483
|
* @returns {void}
|
|
485
484
|
*/
|
|
486
485
|
$set(t) {
|
|
487
|
-
this.$$set && !
|
|
486
|
+
this.$$set && !qt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
488
487
|
}
|
|
489
488
|
}
|
|
490
|
-
const
|
|
491
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
492
|
-
const
|
|
493
|
-
function
|
|
489
|
+
const br = "4";
|
|
490
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(br);
|
|
491
|
+
const j = [];
|
|
492
|
+
function vr(e, t) {
|
|
494
493
|
return {
|
|
495
|
-
subscribe:
|
|
494
|
+
subscribe: pe(e, t).subscribe
|
|
496
495
|
};
|
|
497
496
|
}
|
|
498
|
-
function
|
|
497
|
+
function pe(e, t = L) {
|
|
499
498
|
let r;
|
|
500
499
|
const n = /* @__PURE__ */ new Set();
|
|
501
|
-
function i(
|
|
502
|
-
if (
|
|
503
|
-
const
|
|
504
|
-
for (const
|
|
505
|
-
|
|
506
|
-
if (
|
|
507
|
-
for (let
|
|
508
|
-
|
|
509
|
-
|
|
500
|
+
function i(a) {
|
|
501
|
+
if (gt(e, a) && (e = a, r)) {
|
|
502
|
+
const l = !j.length;
|
|
503
|
+
for (const u of n)
|
|
504
|
+
u[1](), j.push(u, e);
|
|
505
|
+
if (l) {
|
|
506
|
+
for (let u = 0; u < j.length; u += 2)
|
|
507
|
+
j[u][0](j[u + 1]);
|
|
508
|
+
j.length = 0;
|
|
510
509
|
}
|
|
511
510
|
}
|
|
512
511
|
}
|
|
513
|
-
function s(
|
|
514
|
-
i(
|
|
512
|
+
function s(a) {
|
|
513
|
+
i(a(e));
|
|
515
514
|
}
|
|
516
|
-
function o(
|
|
517
|
-
const
|
|
518
|
-
return n.add(
|
|
519
|
-
n.delete(
|
|
515
|
+
function o(a, l = L) {
|
|
516
|
+
const u = [a, l];
|
|
517
|
+
return n.add(u), n.size === 1 && (r = t(i, s) || L), a(e), () => {
|
|
518
|
+
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
520
519
|
};
|
|
521
520
|
}
|
|
522
521
|
return { set: i, update: s, subscribe: o };
|
|
523
522
|
}
|
|
524
|
-
function
|
|
523
|
+
function J(e, t, r) {
|
|
525
524
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
526
525
|
if (!i.every(Boolean))
|
|
527
526
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
528
527
|
const s = t.length < 2;
|
|
529
|
-
return
|
|
530
|
-
let
|
|
531
|
-
const
|
|
532
|
-
let
|
|
528
|
+
return vr(r, (o, a) => {
|
|
529
|
+
let l = !1;
|
|
530
|
+
const u = [];
|
|
531
|
+
let h = 0, c = L;
|
|
533
532
|
const f = () => {
|
|
534
|
-
if (
|
|
533
|
+
if (h)
|
|
535
534
|
return;
|
|
536
535
|
c();
|
|
537
|
-
const
|
|
538
|
-
s ? o(
|
|
539
|
-
},
|
|
540
|
-
(
|
|
541
|
-
|
|
542
|
-
(
|
|
543
|
-
|
|
536
|
+
const b = t(n ? u[0] : u, o, a);
|
|
537
|
+
s ? o(b) : c = Fe(b) ? b : L;
|
|
538
|
+
}, v = i.map(
|
|
539
|
+
(b, d) => bt(
|
|
540
|
+
b,
|
|
541
|
+
(_) => {
|
|
542
|
+
u[d] = _, h &= ~(1 << d), l && f();
|
|
544
543
|
},
|
|
545
544
|
() => {
|
|
546
|
-
|
|
545
|
+
h |= 1 << d;
|
|
547
546
|
}
|
|
548
547
|
)
|
|
549
548
|
);
|
|
550
|
-
return
|
|
551
|
-
|
|
549
|
+
return l = !0, f(), function() {
|
|
550
|
+
q(v), c(), l = !1;
|
|
552
551
|
};
|
|
553
552
|
});
|
|
554
553
|
}
|
|
555
|
-
function
|
|
554
|
+
function yr(e) {
|
|
556
555
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
557
556
|
}
|
|
558
|
-
var
|
|
559
|
-
return
|
|
557
|
+
var Er = function(t) {
|
|
558
|
+
return xr(t) && !_r(t);
|
|
560
559
|
};
|
|
561
|
-
function
|
|
560
|
+
function xr(e) {
|
|
562
561
|
return !!e && typeof e == "object";
|
|
563
562
|
}
|
|
564
|
-
function
|
|
563
|
+
function _r(e) {
|
|
565
564
|
var t = Object.prototype.toString.call(e);
|
|
566
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
565
|
+
return t === "[object RegExp]" || t === "[object Date]" || Tr(e);
|
|
567
566
|
}
|
|
568
|
-
var
|
|
569
|
-
function
|
|
570
|
-
return e.$$typeof ===
|
|
567
|
+
var Hr = typeof Symbol == "function" && Symbol.for, Sr = Hr ? Symbol.for("react.element") : 60103;
|
|
568
|
+
function Tr(e) {
|
|
569
|
+
return e.$$typeof === Sr;
|
|
571
570
|
}
|
|
572
|
-
function
|
|
571
|
+
function Br(e) {
|
|
573
572
|
return Array.isArray(e) ? [] : {};
|
|
574
573
|
}
|
|
575
|
-
function
|
|
576
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
574
|
+
function ne(e, t) {
|
|
575
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? z(Br(e), e, t) : e;
|
|
577
576
|
}
|
|
578
|
-
function
|
|
577
|
+
function Ar(e, t, r) {
|
|
579
578
|
return e.concat(t).map(function(n) {
|
|
580
|
-
return
|
|
579
|
+
return ne(n, r);
|
|
581
580
|
});
|
|
582
581
|
}
|
|
583
|
-
function
|
|
582
|
+
function wr(e, t) {
|
|
584
583
|
if (!t.customMerge)
|
|
585
|
-
return
|
|
584
|
+
return z;
|
|
586
585
|
var r = t.customMerge(e);
|
|
587
|
-
return typeof r == "function" ? r :
|
|
586
|
+
return typeof r == "function" ? r : z;
|
|
588
587
|
}
|
|
589
|
-
function
|
|
588
|
+
function Pr(e) {
|
|
590
589
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
591
590
|
return Object.propertyIsEnumerable.call(e, t);
|
|
592
591
|
}) : [];
|
|
593
592
|
}
|
|
594
|
-
function
|
|
595
|
-
return Object.keys(e).concat(
|
|
593
|
+
function et(e) {
|
|
594
|
+
return Object.keys(e).concat(Pr(e));
|
|
596
595
|
}
|
|
597
|
-
function
|
|
596
|
+
function Et(e, t) {
|
|
598
597
|
try {
|
|
599
598
|
return t in e;
|
|
600
599
|
} catch (r) {
|
|
601
600
|
return !1;
|
|
602
601
|
}
|
|
603
602
|
}
|
|
604
|
-
function
|
|
605
|
-
return
|
|
603
|
+
function Or(e, t) {
|
|
604
|
+
return Et(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
606
605
|
}
|
|
607
|
-
function
|
|
606
|
+
function Nr(e, t, r) {
|
|
608
607
|
var n = {};
|
|
609
|
-
return r.isMergeableObject(e) &&
|
|
610
|
-
n[i] =
|
|
611
|
-
}),
|
|
612
|
-
|
|
608
|
+
return r.isMergeableObject(e) && et(e).forEach(function(i) {
|
|
609
|
+
n[i] = ne(e[i], r);
|
|
610
|
+
}), et(t).forEach(function(i) {
|
|
611
|
+
Or(e, i) || (Et(e, i) && r.isMergeableObject(t[i]) ? n[i] = wr(i, r)(e[i], t[i], r) : n[i] = ne(t[i], r));
|
|
613
612
|
}), n;
|
|
614
613
|
}
|
|
615
|
-
function
|
|
616
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
614
|
+
function z(e, t, r) {
|
|
615
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Ar, r.isMergeableObject = r.isMergeableObject || Er, r.cloneUnlessOtherwiseSpecified = ne;
|
|
617
616
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
618
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
617
|
+
return s ? n ? r.arrayMerge(e, t, r) : Nr(e, t, r) : ne(t, r);
|
|
619
618
|
}
|
|
620
|
-
|
|
619
|
+
z.all = function(t, r) {
|
|
621
620
|
if (!Array.isArray(t))
|
|
622
621
|
throw new Error("first argument should be an array");
|
|
623
622
|
return t.reduce(function(n, i) {
|
|
624
|
-
return
|
|
623
|
+
return z(n, i, r);
|
|
625
624
|
}, {});
|
|
626
625
|
};
|
|
627
|
-
var
|
|
628
|
-
const
|
|
629
|
-
var
|
|
630
|
-
return
|
|
626
|
+
var Cr = z, Ir = Cr;
|
|
627
|
+
const Lr = /* @__PURE__ */ yr(Ir);
|
|
628
|
+
var Ce = function(e, t) {
|
|
629
|
+
return Ce = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
631
630
|
r.__proto__ = n;
|
|
632
631
|
} || function(r, n) {
|
|
633
632
|
for (var i in n)
|
|
634
633
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
635
|
-
},
|
|
634
|
+
}, Ce(e, t);
|
|
636
635
|
};
|
|
637
|
-
function
|
|
636
|
+
function ge(e, t) {
|
|
638
637
|
if (typeof t != "function" && t !== null)
|
|
639
638
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
640
|
-
|
|
639
|
+
Ce(e, t);
|
|
641
640
|
function r() {
|
|
642
641
|
this.constructor = e;
|
|
643
642
|
}
|
|
644
643
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
645
644
|
}
|
|
646
|
-
var
|
|
647
|
-
return
|
|
645
|
+
var R = function() {
|
|
646
|
+
return R = Object.assign || function(t) {
|
|
648
647
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
649
648
|
r = arguments[n];
|
|
650
649
|
for (var s in r)
|
|
651
650
|
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
652
651
|
}
|
|
653
652
|
return t;
|
|
654
|
-
},
|
|
653
|
+
}, R.apply(this, arguments);
|
|
655
654
|
};
|
|
656
|
-
function
|
|
655
|
+
function Mr(e, t) {
|
|
657
656
|
var r = {};
|
|
658
657
|
for (var n in e)
|
|
659
658
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -662,43 +661,43 @@ function zr(e, t) {
|
|
|
662
661
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
663
662
|
return r;
|
|
664
663
|
}
|
|
665
|
-
function
|
|
664
|
+
function He(e, t, r) {
|
|
666
665
|
if (r || arguments.length === 2)
|
|
667
666
|
for (var n = 0, i = t.length, s; n < i; n++)
|
|
668
667
|
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
669
668
|
return e.concat(s || Array.prototype.slice.call(t));
|
|
670
669
|
}
|
|
671
|
-
function
|
|
672
|
-
var r = t && t.cache ? t.cache :
|
|
670
|
+
function Se(e, t) {
|
|
671
|
+
var r = t && t.cache ? t.cache : jr, n = t && t.serializer ? t.serializer : Gr, i = t && t.strategy ? t.strategy : Ur;
|
|
673
672
|
return i(e, {
|
|
674
673
|
cache: r,
|
|
675
674
|
serializer: n
|
|
676
675
|
});
|
|
677
676
|
}
|
|
678
|
-
function
|
|
677
|
+
function Rr(e) {
|
|
679
678
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
680
679
|
}
|
|
681
|
-
function
|
|
682
|
-
var i =
|
|
680
|
+
function $r(e, t, r, n) {
|
|
681
|
+
var i = Rr(n) ? n : r(n), s = t.get(i);
|
|
683
682
|
return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
|
|
684
683
|
}
|
|
685
|
-
function
|
|
684
|
+
function xt(e, t, r) {
|
|
686
685
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
687
686
|
return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
688
687
|
}
|
|
689
|
-
function
|
|
688
|
+
function _t(e, t, r, n, i) {
|
|
690
689
|
return r.bind(t, e, n, i);
|
|
691
690
|
}
|
|
692
|
-
function
|
|
693
|
-
var r = e.length === 1 ?
|
|
694
|
-
return
|
|
691
|
+
function Ur(e, t) {
|
|
692
|
+
var r = e.length === 1 ? $r : xt;
|
|
693
|
+
return _t(e, this, r, t.cache.create(), t.serializer);
|
|
695
694
|
}
|
|
696
|
-
function
|
|
697
|
-
return
|
|
695
|
+
function Dr(e, t) {
|
|
696
|
+
return _t(e, this, xt, t.cache.create(), t.serializer);
|
|
698
697
|
}
|
|
699
|
-
var
|
|
698
|
+
var Gr = function() {
|
|
700
699
|
return JSON.stringify(arguments);
|
|
701
|
-
},
|
|
700
|
+
}, Fr = (
|
|
702
701
|
/** @class */
|
|
703
702
|
function() {
|
|
704
703
|
function e() {
|
|
@@ -710,71 +709,71 @@ var Jr = function() {
|
|
|
710
709
|
this.cache[t] = r;
|
|
711
710
|
}, e;
|
|
712
711
|
}()
|
|
713
|
-
),
|
|
712
|
+
), jr = {
|
|
714
713
|
create: function() {
|
|
715
|
-
return new
|
|
714
|
+
return new Fr();
|
|
716
715
|
}
|
|
717
|
-
},
|
|
718
|
-
variadic:
|
|
719
|
-
},
|
|
720
|
-
return
|
|
716
|
+
}, Te = {
|
|
717
|
+
variadic: Dr
|
|
718
|
+
}, fe = function() {
|
|
719
|
+
return fe = Object.assign || function(t) {
|
|
721
720
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
722
721
|
r = arguments[n];
|
|
723
722
|
for (var s in r)
|
|
724
723
|
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
725
724
|
}
|
|
726
725
|
return t;
|
|
727
|
-
},
|
|
726
|
+
}, fe.apply(this, arguments);
|
|
728
727
|
};
|
|
729
|
-
var
|
|
728
|
+
var p;
|
|
730
729
|
(function(e) {
|
|
731
730
|
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";
|
|
732
|
-
})(
|
|
733
|
-
var
|
|
731
|
+
})(p || (p = {}));
|
|
732
|
+
var H;
|
|
734
733
|
(function(e) {
|
|
735
734
|
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";
|
|
736
|
-
})(
|
|
737
|
-
var
|
|
735
|
+
})(H || (H = {}));
|
|
736
|
+
var W;
|
|
738
737
|
(function(e) {
|
|
739
738
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
740
|
-
})(
|
|
741
|
-
function
|
|
742
|
-
return e.type ===
|
|
739
|
+
})(W || (W = {}));
|
|
740
|
+
function tt(e) {
|
|
741
|
+
return e.type === H.literal;
|
|
743
742
|
}
|
|
744
|
-
function
|
|
745
|
-
return e.type ===
|
|
743
|
+
function Vr(e) {
|
|
744
|
+
return e.type === H.argument;
|
|
746
745
|
}
|
|
747
|
-
function
|
|
748
|
-
return e.type ===
|
|
746
|
+
function Ht(e) {
|
|
747
|
+
return e.type === H.number;
|
|
749
748
|
}
|
|
750
|
-
function
|
|
751
|
-
return e.type ===
|
|
749
|
+
function St(e) {
|
|
750
|
+
return e.type === H.date;
|
|
752
751
|
}
|
|
753
|
-
function
|
|
754
|
-
return e.type ===
|
|
752
|
+
function Tt(e) {
|
|
753
|
+
return e.type === H.time;
|
|
755
754
|
}
|
|
756
|
-
function
|
|
757
|
-
return e.type ===
|
|
755
|
+
function Bt(e) {
|
|
756
|
+
return e.type === H.select;
|
|
758
757
|
}
|
|
759
|
-
function
|
|
760
|
-
return e.type ===
|
|
758
|
+
function At(e) {
|
|
759
|
+
return e.type === H.plural;
|
|
761
760
|
}
|
|
762
|
-
function
|
|
763
|
-
return e.type ===
|
|
761
|
+
function kr(e) {
|
|
762
|
+
return e.type === H.pound;
|
|
764
763
|
}
|
|
765
|
-
function
|
|
766
|
-
return e.type ===
|
|
764
|
+
function wt(e) {
|
|
765
|
+
return e.type === H.tag;
|
|
767
766
|
}
|
|
768
|
-
function
|
|
769
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
767
|
+
function Pt(e) {
|
|
768
|
+
return !!(e && typeof e == "object" && e.type === W.number);
|
|
770
769
|
}
|
|
771
|
-
function
|
|
772
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
770
|
+
function Ie(e) {
|
|
771
|
+
return !!(e && typeof e == "object" && e.type === W.dateTime);
|
|
773
772
|
}
|
|
774
|
-
var
|
|
775
|
-
function
|
|
773
|
+
var Ot = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Xr = /(?:[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;
|
|
774
|
+
function zr(e) {
|
|
776
775
|
var t = {};
|
|
777
|
-
return e.replace(
|
|
776
|
+
return e.replace(Xr, function(r) {
|
|
778
777
|
var n = r.length;
|
|
779
778
|
switch (r[0]) {
|
|
780
779
|
case "G":
|
|
@@ -863,46 +862,46 @@ function nn(e) {
|
|
|
863
862
|
return "";
|
|
864
863
|
}), t;
|
|
865
864
|
}
|
|
866
|
-
var
|
|
867
|
-
return
|
|
865
|
+
var S = function() {
|
|
866
|
+
return S = Object.assign || function(t) {
|
|
868
867
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
869
868
|
r = arguments[n];
|
|
870
869
|
for (var s in r)
|
|
871
870
|
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
872
871
|
}
|
|
873
872
|
return t;
|
|
874
|
-
},
|
|
873
|
+
}, S.apply(this, arguments);
|
|
875
874
|
};
|
|
876
|
-
var
|
|
877
|
-
function
|
|
875
|
+
var Wr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
876
|
+
function Zr(e) {
|
|
878
877
|
if (e.length === 0)
|
|
879
878
|
throw new Error("Number skeleton cannot be empty");
|
|
880
|
-
for (var t = e.split(
|
|
879
|
+
for (var t = e.split(Wr).filter(function(f) {
|
|
881
880
|
return f.length > 0;
|
|
882
881
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
883
882
|
var s = i[n], o = s.split("/");
|
|
884
883
|
if (o.length === 0)
|
|
885
884
|
throw new Error("Invalid number skeleton");
|
|
886
|
-
for (var
|
|
887
|
-
var c =
|
|
885
|
+
for (var a = o[0], l = o.slice(1), u = 0, h = l; u < h.length; u++) {
|
|
886
|
+
var c = h[u];
|
|
888
887
|
if (c.length === 0)
|
|
889
888
|
throw new Error("Invalid number skeleton");
|
|
890
889
|
}
|
|
891
|
-
r.push({ stem:
|
|
890
|
+
r.push({ stem: a, options: l });
|
|
892
891
|
}
|
|
893
892
|
return r;
|
|
894
893
|
}
|
|
895
|
-
function
|
|
894
|
+
function Qr(e) {
|
|
896
895
|
return e.replace(/^(.*?)-/, "");
|
|
897
896
|
}
|
|
898
|
-
var
|
|
899
|
-
function
|
|
897
|
+
var rt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Nt = /^(@+)?(\+|#+)?[rs]?$/g, qr = /(\*)(0+)|(#+)(0+)|(0+)/g, Ct = /^(0+)$/;
|
|
898
|
+
function nt(e) {
|
|
900
899
|
var t = {};
|
|
901
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
900
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Nt, function(r, n, i) {
|
|
902
901
|
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)), "";
|
|
903
902
|
}), t;
|
|
904
903
|
}
|
|
905
|
-
function
|
|
904
|
+
function It(e) {
|
|
906
905
|
switch (e) {
|
|
907
906
|
case "sign-auto":
|
|
908
907
|
return {
|
|
@@ -942,7 +941,7 @@ function jt(e) {
|
|
|
942
941
|
};
|
|
943
942
|
}
|
|
944
943
|
}
|
|
945
|
-
function
|
|
944
|
+
function Jr(e) {
|
|
946
945
|
var t;
|
|
947
946
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
948
947
|
notation: "engineering"
|
|
@@ -950,17 +949,17 @@ function hn(e) {
|
|
|
950
949
|
notation: "scientific"
|
|
951
950
|
}, e = e.slice(1)), t) {
|
|
952
951
|
var r = e.slice(0, 2);
|
|
953
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
952
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ct.test(e))
|
|
954
953
|
throw new Error("Malformed concise eng/scientific notation");
|
|
955
954
|
t.minimumIntegerDigits = e.length;
|
|
956
955
|
}
|
|
957
956
|
return t;
|
|
958
957
|
}
|
|
959
|
-
function
|
|
960
|
-
var t = {}, r =
|
|
958
|
+
function it(e) {
|
|
959
|
+
var t = {}, r = It(e);
|
|
961
960
|
return r || t;
|
|
962
961
|
}
|
|
963
|
-
function
|
|
962
|
+
function Yr(e) {
|
|
964
963
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
965
964
|
var i = n[r];
|
|
966
965
|
switch (i.stem) {
|
|
@@ -984,7 +983,7 @@ function ln(e) {
|
|
|
984
983
|
continue;
|
|
985
984
|
case "measure-unit":
|
|
986
985
|
case "unit":
|
|
987
|
-
t.style = "unit", t.unit =
|
|
986
|
+
t.style = "unit", t.unit = Qr(i.options[0]);
|
|
988
987
|
continue;
|
|
989
988
|
case "compact-short":
|
|
990
989
|
case "K":
|
|
@@ -995,13 +994,13 @@ function ln(e) {
|
|
|
995
994
|
t.notation = "compact", t.compactDisplay = "long";
|
|
996
995
|
continue;
|
|
997
996
|
case "scientific":
|
|
998
|
-
t =
|
|
999
|
-
return
|
|
997
|
+
t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
998
|
+
return S(S({}, l), it(u));
|
|
1000
999
|
}, {}));
|
|
1001
1000
|
continue;
|
|
1002
1001
|
case "engineering":
|
|
1003
|
-
t =
|
|
1004
|
-
return
|
|
1002
|
+
t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1003
|
+
return S(S({}, l), it(u));
|
|
1005
1004
|
}, {}));
|
|
1006
1005
|
continue;
|
|
1007
1006
|
case "notation-simple":
|
|
@@ -1046,45 +1045,45 @@ function ln(e) {
|
|
|
1046
1045
|
case "integer-width":
|
|
1047
1046
|
if (i.options.length > 1)
|
|
1048
1047
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1049
|
-
i.options[0].replace(
|
|
1050
|
-
if (
|
|
1051
|
-
t.minimumIntegerDigits =
|
|
1048
|
+
i.options[0].replace(qr, function(l, u, h, c, f, v) {
|
|
1049
|
+
if (u)
|
|
1050
|
+
t.minimumIntegerDigits = h.length;
|
|
1052
1051
|
else {
|
|
1053
1052
|
if (c && f)
|
|
1054
1053
|
throw new Error("We currently do not support maximum integer digits");
|
|
1055
|
-
if (
|
|
1054
|
+
if (v)
|
|
1056
1055
|
throw new Error("We currently do not support exact integer digits");
|
|
1057
1056
|
}
|
|
1058
1057
|
return "";
|
|
1059
1058
|
});
|
|
1060
1059
|
continue;
|
|
1061
1060
|
}
|
|
1062
|
-
if (
|
|
1061
|
+
if (Ct.test(i.stem)) {
|
|
1063
1062
|
t.minimumIntegerDigits = i.stem.length;
|
|
1064
1063
|
continue;
|
|
1065
1064
|
}
|
|
1066
|
-
if (
|
|
1065
|
+
if (rt.test(i.stem)) {
|
|
1067
1066
|
if (i.options.length > 1)
|
|
1068
1067
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1069
|
-
i.stem.replace(
|
|
1070
|
-
return
|
|
1068
|
+
i.stem.replace(rt, function(l, u, h, c, f, v) {
|
|
1069
|
+
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && v ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + v.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1071
1070
|
});
|
|
1072
1071
|
var s = i.options[0];
|
|
1073
|
-
s === "w" ? t =
|
|
1072
|
+
s === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = S(S({}, t), nt(s)));
|
|
1074
1073
|
continue;
|
|
1075
1074
|
}
|
|
1076
|
-
if (
|
|
1077
|
-
t =
|
|
1075
|
+
if (Nt.test(i.stem)) {
|
|
1076
|
+
t = S(S({}, t), nt(i.stem));
|
|
1078
1077
|
continue;
|
|
1079
1078
|
}
|
|
1080
|
-
var o =
|
|
1081
|
-
o && (t =
|
|
1082
|
-
var
|
|
1083
|
-
|
|
1079
|
+
var o = It(i.stem);
|
|
1080
|
+
o && (t = S(S({}, t), o));
|
|
1081
|
+
var a = Jr(i.stem);
|
|
1082
|
+
a && (t = S(S({}, t), a));
|
|
1084
1083
|
}
|
|
1085
1084
|
return t;
|
|
1086
1085
|
}
|
|
1087
|
-
var
|
|
1086
|
+
var ae = {
|
|
1088
1087
|
"001": [
|
|
1089
1088
|
"H",
|
|
1090
1089
|
"h"
|
|
@@ -2499,23 +2498,23 @@ var me = {
|
|
|
2499
2498
|
"h"
|
|
2500
2499
|
]
|
|
2501
2500
|
};
|
|
2502
|
-
function
|
|
2501
|
+
function Kr(e, t) {
|
|
2503
2502
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2504
2503
|
var i = e.charAt(n);
|
|
2505
2504
|
if (i === "j") {
|
|
2506
2505
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2507
2506
|
s++, n++;
|
|
2508
|
-
var o = 1 + (s & 1),
|
|
2509
|
-
for ((
|
|
2510
|
-
r +=
|
|
2507
|
+
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = en(t);
|
|
2508
|
+
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2509
|
+
r += l;
|
|
2511
2510
|
for (; o-- > 0; )
|
|
2512
|
-
r =
|
|
2511
|
+
r = u + r;
|
|
2513
2512
|
} else
|
|
2514
2513
|
i === "J" ? r += "H" : r += i;
|
|
2515
2514
|
}
|
|
2516
2515
|
return r;
|
|
2517
2516
|
}
|
|
2518
|
-
function
|
|
2517
|
+
function en(e) {
|
|
2519
2518
|
var t = e.hourCycle;
|
|
2520
2519
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2521
2520
|
e.hourCycles && // @ts-ignore
|
|
@@ -2534,23 +2533,23 @@ function cn(e) {
|
|
|
2534
2533
|
}
|
|
2535
2534
|
var r = e.language, n;
|
|
2536
2535
|
r !== "root" && (n = e.maximize().region);
|
|
2537
|
-
var i =
|
|
2536
|
+
var i = ae[n || ""] || ae[r || ""] || ae["".concat(r, "-001")] || ae["001"];
|
|
2538
2537
|
return i[0];
|
|
2539
2538
|
}
|
|
2540
|
-
var
|
|
2541
|
-
function
|
|
2539
|
+
var Be, tn = new RegExp("^".concat(Ot.source, "*")), rn = new RegExp("".concat(Ot.source, "*$"));
|
|
2540
|
+
function g(e, t) {
|
|
2542
2541
|
return { start: e, end: t };
|
|
2543
2542
|
}
|
|
2544
|
-
var
|
|
2543
|
+
var nn = !!String.prototype.startsWith && "_a".startsWith("a", 1), sn = !!String.fromCodePoint, on = !!Object.fromEntries, an = !!String.prototype.codePointAt, un = !!String.prototype.trimStart, hn = !!String.prototype.trimEnd, ln = !!Number.isSafeInteger, cn = ln ? Number.isSafeInteger : function(e) {
|
|
2545
2544
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2546
|
-
},
|
|
2545
|
+
}, Le = !0;
|
|
2547
2546
|
try {
|
|
2548
|
-
var
|
|
2549
|
-
|
|
2547
|
+
var fn = Mt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2548
|
+
Le = ((Be = fn.exec("a")) === null || Be === void 0 ? void 0 : Be[0]) === "a";
|
|
2550
2549
|
} catch (e) {
|
|
2551
|
-
|
|
2550
|
+
Le = !1;
|
|
2552
2551
|
}
|
|
2553
|
-
var
|
|
2552
|
+
var st = nn ? (
|
|
2554
2553
|
// Native
|
|
2555
2554
|
function(t, r, n) {
|
|
2556
2555
|
return t.startsWith(r, n);
|
|
@@ -2560,7 +2559,7 @@ var lt = pn ? (
|
|
|
2560
2559
|
function(t, r, n) {
|
|
2561
2560
|
return t.slice(n, n + r.length) === r;
|
|
2562
2561
|
}
|
|
2563
|
-
),
|
|
2562
|
+
), Me = sn ? String.fromCodePoint : (
|
|
2564
2563
|
// IE11
|
|
2565
2564
|
function() {
|
|
2566
2565
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2572,19 +2571,19 @@ var lt = pn ? (
|
|
|
2572
2571
|
}
|
|
2573
2572
|
return n;
|
|
2574
2573
|
}
|
|
2575
|
-
),
|
|
2574
|
+
), ot = (
|
|
2576
2575
|
// native
|
|
2577
|
-
|
|
2576
|
+
on ? Object.fromEntries : (
|
|
2578
2577
|
// Ponyfill
|
|
2579
2578
|
function(t) {
|
|
2580
2579
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
2581
|
-
var s = i[n], o = s[0],
|
|
2582
|
-
r[o] =
|
|
2580
|
+
var s = i[n], o = s[0], a = s[1];
|
|
2581
|
+
r[o] = a;
|
|
2583
2582
|
}
|
|
2584
2583
|
return r;
|
|
2585
2584
|
}
|
|
2586
2585
|
)
|
|
2587
|
-
),
|
|
2586
|
+
), Lt = an ? (
|
|
2588
2587
|
// Native
|
|
2589
2588
|
function(t, r) {
|
|
2590
2589
|
return t.codePointAt(r);
|
|
@@ -2598,7 +2597,7 @@ var lt = pn ? (
|
|
|
2598
2597
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2599
2598
|
}
|
|
2600
2599
|
}
|
|
2601
|
-
),
|
|
2600
|
+
), mn = un ? (
|
|
2602
2601
|
// Native
|
|
2603
2602
|
function(t) {
|
|
2604
2603
|
return t.trimStart();
|
|
@@ -2606,9 +2605,9 @@ var lt = pn ? (
|
|
|
2606
2605
|
) : (
|
|
2607
2606
|
// Ponyfill
|
|
2608
2607
|
function(t) {
|
|
2609
|
-
return t.replace(
|
|
2608
|
+
return t.replace(tn, "");
|
|
2610
2609
|
}
|
|
2611
|
-
),
|
|
2610
|
+
), dn = hn ? (
|
|
2612
2611
|
// Native
|
|
2613
2612
|
function(t) {
|
|
2614
2613
|
return t.trimEnd();
|
|
@@ -2616,32 +2615,32 @@ var lt = pn ? (
|
|
|
2616
2615
|
) : (
|
|
2617
2616
|
// Ponyfill
|
|
2618
2617
|
function(t) {
|
|
2619
|
-
return t.replace(
|
|
2618
|
+
return t.replace(rn, "");
|
|
2620
2619
|
}
|
|
2621
2620
|
);
|
|
2622
|
-
function
|
|
2621
|
+
function Mt(e, t) {
|
|
2623
2622
|
return new RegExp(e, t);
|
|
2624
2623
|
}
|
|
2625
|
-
var
|
|
2626
|
-
if (
|
|
2627
|
-
var
|
|
2628
|
-
|
|
2624
|
+
var Re;
|
|
2625
|
+
if (Le) {
|
|
2626
|
+
var at = Mt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2627
|
+
Re = function(t, r) {
|
|
2629
2628
|
var n;
|
|
2630
|
-
|
|
2631
|
-
var i =
|
|
2629
|
+
at.lastIndex = r;
|
|
2630
|
+
var i = at.exec(t);
|
|
2632
2631
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2633
2632
|
};
|
|
2634
2633
|
} else
|
|
2635
|
-
|
|
2634
|
+
Re = function(t, r) {
|
|
2636
2635
|
for (var n = []; ; ) {
|
|
2637
|
-
var i =
|
|
2638
|
-
if (i === void 0 ||
|
|
2636
|
+
var i = Lt(t, r);
|
|
2637
|
+
if (i === void 0 || Rt(i) || vn(i))
|
|
2639
2638
|
break;
|
|
2640
2639
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2641
2640
|
}
|
|
2642
|
-
return
|
|
2641
|
+
return Me.apply(void 0, n);
|
|
2643
2642
|
};
|
|
2644
|
-
var
|
|
2643
|
+
var pn = (
|
|
2645
2644
|
/** @class */
|
|
2646
2645
|
function() {
|
|
2647
2646
|
function e(t, r) {
|
|
@@ -2663,16 +2662,16 @@ var Sn = (
|
|
|
2663
2662
|
if (s === 125 && t > 0)
|
|
2664
2663
|
break;
|
|
2665
2664
|
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
|
2666
|
-
var
|
|
2665
|
+
var a = this.clonePosition();
|
|
2667
2666
|
this.bump(), i.push({
|
|
2668
|
-
type:
|
|
2669
|
-
location:
|
|
2667
|
+
type: H.pound,
|
|
2668
|
+
location: g(a, this.clonePosition())
|
|
2670
2669
|
});
|
|
2671
2670
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2672
2671
|
if (n)
|
|
2673
2672
|
break;
|
|
2674
|
-
return this.error(
|
|
2675
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
2673
|
+
return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
|
|
2674
|
+
} else if (s === 60 && !this.ignoreTag && $e(this.peek() || 0)) {
|
|
2676
2675
|
var o = this.parseTag(t, r);
|
|
2677
2676
|
if (o.err)
|
|
2678
2677
|
return o;
|
|
@@ -2693,9 +2692,9 @@ var Sn = (
|
|
|
2693
2692
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2694
2693
|
return {
|
|
2695
2694
|
val: {
|
|
2696
|
-
type:
|
|
2695
|
+
type: H.literal,
|
|
2697
2696
|
value: "<".concat(i, "/>"),
|
|
2698
|
-
location:
|
|
2697
|
+
location: g(n, this.clonePosition())
|
|
2699
2698
|
},
|
|
2700
2699
|
err: null
|
|
2701
2700
|
};
|
|
@@ -2703,27 +2702,27 @@ var Sn = (
|
|
|
2703
2702
|
var s = this.parseMessage(t + 1, r, !0);
|
|
2704
2703
|
if (s.err)
|
|
2705
2704
|
return s;
|
|
2706
|
-
var o = s.val,
|
|
2705
|
+
var o = s.val, a = this.clonePosition();
|
|
2707
2706
|
if (this.bumpIf("</")) {
|
|
2708
|
-
if (this.isEOF() ||
|
|
2709
|
-
return this.error(
|
|
2710
|
-
var
|
|
2711
|
-
return i !==
|
|
2707
|
+
if (this.isEOF() || !$e(this.char()))
|
|
2708
|
+
return this.error(p.INVALID_TAG, g(a, this.clonePosition()));
|
|
2709
|
+
var l = this.clonePosition(), u = this.parseTagName();
|
|
2710
|
+
return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2712
2711
|
val: {
|
|
2713
|
-
type:
|
|
2712
|
+
type: H.tag,
|
|
2714
2713
|
value: i,
|
|
2715
2714
|
children: o,
|
|
2716
|
-
location:
|
|
2715
|
+
location: g(n, this.clonePosition())
|
|
2717
2716
|
},
|
|
2718
2717
|
err: null
|
|
2719
|
-
} : this.error(
|
|
2718
|
+
} : this.error(p.INVALID_TAG, g(a, this.clonePosition())));
|
|
2720
2719
|
} else
|
|
2721
|
-
return this.error(
|
|
2720
|
+
return this.error(p.UNCLOSED_TAG, g(n, this.clonePosition()));
|
|
2722
2721
|
} else
|
|
2723
|
-
return this.error(
|
|
2722
|
+
return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
|
|
2724
2723
|
}, e.prototype.parseTagName = function() {
|
|
2725
2724
|
var t = this.offset();
|
|
2726
|
-
for (this.bump(); !this.isEOF() &&
|
|
2725
|
+
for (this.bump(); !this.isEOF() && bn(this.char()); )
|
|
2727
2726
|
this.bump();
|
|
2728
2727
|
return this.message.slice(t, this.offset());
|
|
2729
2728
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2738,21 +2737,21 @@ var Sn = (
|
|
|
2738
2737
|
i += o;
|
|
2739
2738
|
continue;
|
|
2740
2739
|
}
|
|
2741
|
-
var
|
|
2742
|
-
if (
|
|
2743
|
-
i +=
|
|
2740
|
+
var a = this.tryParseLeftAngleBracket();
|
|
2741
|
+
if (a) {
|
|
2742
|
+
i += a;
|
|
2744
2743
|
continue;
|
|
2745
2744
|
}
|
|
2746
2745
|
break;
|
|
2747
2746
|
}
|
|
2748
|
-
var
|
|
2747
|
+
var l = g(n, this.clonePosition());
|
|
2749
2748
|
return {
|
|
2750
|
-
val: { type:
|
|
2749
|
+
val: { type: H.literal, value: i, location: l },
|
|
2751
2750
|
err: null
|
|
2752
2751
|
};
|
|
2753
2752
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2754
2753
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2755
|
-
!
|
|
2754
|
+
!gn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2756
2755
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2757
2756
|
if (this.isEOF() || this.char() !== 39)
|
|
2758
2757
|
return null;
|
|
@@ -2786,100 +2785,100 @@ var Sn = (
|
|
|
2786
2785
|
r.push(n);
|
|
2787
2786
|
this.bump();
|
|
2788
2787
|
}
|
|
2789
|
-
return
|
|
2788
|
+
return Me.apply(void 0, r);
|
|
2790
2789
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
2791
2790
|
if (this.isEOF())
|
|
2792
2791
|
return null;
|
|
2793
2792
|
var n = this.char();
|
|
2794
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
2793
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Me(n));
|
|
2795
2794
|
}, e.prototype.parseArgument = function(t, r) {
|
|
2796
2795
|
var n = this.clonePosition();
|
|
2797
2796
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2798
|
-
return this.error(
|
|
2797
|
+
return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
|
|
2799
2798
|
if (this.char() === 125)
|
|
2800
|
-
return this.bump(), this.error(
|
|
2799
|
+
return this.bump(), this.error(p.EMPTY_ARGUMENT, g(n, this.clonePosition()));
|
|
2801
2800
|
var i = this.parseIdentifierIfPossible().value;
|
|
2802
2801
|
if (!i)
|
|
2803
|
-
return this.error(
|
|
2802
|
+
return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
|
2804
2803
|
if (this.bumpSpace(), this.isEOF())
|
|
2805
|
-
return this.error(
|
|
2804
|
+
return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
|
|
2806
2805
|
switch (this.char()) {
|
|
2807
2806
|
case 125:
|
|
2808
2807
|
return this.bump(), {
|
|
2809
2808
|
val: {
|
|
2810
|
-
type:
|
|
2809
|
+
type: H.argument,
|
|
2811
2810
|
// value does not include the opening and closing braces.
|
|
2812
2811
|
value: i,
|
|
2813
|
-
location:
|
|
2812
|
+
location: g(n, this.clonePosition())
|
|
2814
2813
|
},
|
|
2815
2814
|
err: null
|
|
2816
2815
|
};
|
|
2817
2816
|
case 44:
|
|
2818
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
2817
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
2819
2818
|
default:
|
|
2820
|
-
return this.error(
|
|
2819
|
+
return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
|
2821
2820
|
}
|
|
2822
2821
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2823
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
2822
|
+
var t = this.clonePosition(), r = this.offset(), n = Re(this.message, r), i = r + n.length;
|
|
2824
2823
|
this.bumpTo(i);
|
|
2825
|
-
var s = this.clonePosition(), o =
|
|
2824
|
+
var s = this.clonePosition(), o = g(t, s);
|
|
2826
2825
|
return { value: n, location: o };
|
|
2827
2826
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
2828
|
-
var s, o = this.clonePosition(),
|
|
2829
|
-
switch (
|
|
2827
|
+
var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
2828
|
+
switch (a) {
|
|
2830
2829
|
case "":
|
|
2831
|
-
return this.error(
|
|
2830
|
+
return this.error(p.EXPECT_ARGUMENT_TYPE, g(o, l));
|
|
2832
2831
|
case "number":
|
|
2833
2832
|
case "date":
|
|
2834
2833
|
case "time": {
|
|
2835
2834
|
this.bumpSpace();
|
|
2836
|
-
var
|
|
2835
|
+
var u = null;
|
|
2837
2836
|
if (this.bumpIf(",")) {
|
|
2838
2837
|
this.bumpSpace();
|
|
2839
|
-
var
|
|
2838
|
+
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
2840
2839
|
if (c.err)
|
|
2841
2840
|
return c;
|
|
2842
|
-
var f =
|
|
2841
|
+
var f = dn(c.val);
|
|
2843
2842
|
if (f.length === 0)
|
|
2844
|
-
return this.error(
|
|
2845
|
-
var
|
|
2846
|
-
|
|
2843
|
+
return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
|
2844
|
+
var v = g(h, this.clonePosition());
|
|
2845
|
+
u = { style: f, styleLocation: v };
|
|
2847
2846
|
}
|
|
2848
|
-
var
|
|
2849
|
-
if (
|
|
2850
|
-
return
|
|
2851
|
-
var
|
|
2852
|
-
if (
|
|
2853
|
-
var
|
|
2854
|
-
if (
|
|
2855
|
-
var c = this.parseNumberSkeletonFromString(
|
|
2847
|
+
var b = this.tryParseArgumentClose(i);
|
|
2848
|
+
if (b.err)
|
|
2849
|
+
return b;
|
|
2850
|
+
var d = g(i, this.clonePosition());
|
|
2851
|
+
if (u && st(u == null ? void 0 : u.style, "::", 0)) {
|
|
2852
|
+
var _ = mn(u.style.slice(2));
|
|
2853
|
+
if (a === "number") {
|
|
2854
|
+
var c = this.parseNumberSkeletonFromString(_, u.styleLocation);
|
|
2856
2855
|
return c.err ? c : {
|
|
2857
|
-
val: { type:
|
|
2856
|
+
val: { type: H.number, value: n, location: d, style: c.val },
|
|
2858
2857
|
err: null
|
|
2859
2858
|
};
|
|
2860
2859
|
} else {
|
|
2861
|
-
if (
|
|
2862
|
-
return this.error(
|
|
2863
|
-
var
|
|
2864
|
-
this.locale && (
|
|
2860
|
+
if (_.length === 0)
|
|
2861
|
+
return this.error(p.EXPECT_DATE_TIME_SKELETON, d);
|
|
2862
|
+
var M = _;
|
|
2863
|
+
this.locale && (M = Kr(_, this.locale));
|
|
2865
2864
|
var f = {
|
|
2866
|
-
type:
|
|
2867
|
-
pattern:
|
|
2868
|
-
location:
|
|
2869
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2870
|
-
},
|
|
2865
|
+
type: W.dateTime,
|
|
2866
|
+
pattern: M,
|
|
2867
|
+
location: u.styleLocation,
|
|
2868
|
+
parsedOptions: this.shouldParseSkeletons ? zr(M) : {}
|
|
2869
|
+
}, B = a === "date" ? H.date : H.time;
|
|
2871
2870
|
return {
|
|
2872
|
-
val: { type:
|
|
2871
|
+
val: { type: B, value: n, location: d, style: f },
|
|
2873
2872
|
err: null
|
|
2874
2873
|
};
|
|
2875
2874
|
}
|
|
2876
2875
|
}
|
|
2877
2876
|
return {
|
|
2878
2877
|
val: {
|
|
2879
|
-
type:
|
|
2878
|
+
type: a === "number" ? H.number : a === "date" ? H.date : H.time,
|
|
2880
2879
|
value: n,
|
|
2881
|
-
location:
|
|
2882
|
-
style: (s =
|
|
2880
|
+
location: d,
|
|
2881
|
+
style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
|
|
2883
2882
|
},
|
|
2884
2883
|
err: null
|
|
2885
2884
|
};
|
|
@@ -2887,52 +2886,52 @@ var Sn = (
|
|
|
2887
2886
|
case "plural":
|
|
2888
2887
|
case "selectordinal":
|
|
2889
2888
|
case "select": {
|
|
2890
|
-
var
|
|
2889
|
+
var y = this.clonePosition();
|
|
2891
2890
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2892
|
-
return this.error(
|
|
2891
|
+
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(y, fe({}, y)));
|
|
2893
2892
|
this.bumpSpace();
|
|
2894
|
-
var
|
|
2895
|
-
if (
|
|
2893
|
+
var O = this.parseIdentifierIfPossible(), w = 0;
|
|
2894
|
+
if (a !== "select" && O.value === "offset") {
|
|
2896
2895
|
if (!this.bumpIf(":"))
|
|
2897
|
-
return this.error(
|
|
2896
|
+
return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
|
|
2898
2897
|
this.bumpSpace();
|
|
2899
|
-
var c = this.tryParseDecimalInteger(
|
|
2898
|
+
var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2900
2899
|
if (c.err)
|
|
2901
2900
|
return c;
|
|
2902
|
-
this.bumpSpace(),
|
|
2901
|
+
this.bumpSpace(), O = this.parseIdentifierIfPossible(), w = c.val;
|
|
2903
2902
|
}
|
|
2904
|
-
var
|
|
2905
|
-
if (
|
|
2906
|
-
return
|
|
2907
|
-
var
|
|
2908
|
-
if (
|
|
2909
|
-
return
|
|
2910
|
-
var
|
|
2911
|
-
return
|
|
2903
|
+
var $ = this.tryParsePluralOrSelectOptions(t, a, r, O);
|
|
2904
|
+
if ($.err)
|
|
2905
|
+
return $;
|
|
2906
|
+
var b = this.tryParseArgumentClose(i);
|
|
2907
|
+
if (b.err)
|
|
2908
|
+
return b;
|
|
2909
|
+
var E = g(i, this.clonePosition());
|
|
2910
|
+
return a === "select" ? {
|
|
2912
2911
|
val: {
|
|
2913
|
-
type:
|
|
2912
|
+
type: H.select,
|
|
2914
2913
|
value: n,
|
|
2915
|
-
options:
|
|
2916
|
-
location:
|
|
2914
|
+
options: ot($.val),
|
|
2915
|
+
location: E
|
|
2917
2916
|
},
|
|
2918
2917
|
err: null
|
|
2919
2918
|
} : {
|
|
2920
2919
|
val: {
|
|
2921
|
-
type:
|
|
2920
|
+
type: H.plural,
|
|
2922
2921
|
value: n,
|
|
2923
|
-
options:
|
|
2924
|
-
offset:
|
|
2925
|
-
pluralType:
|
|
2926
|
-
location:
|
|
2922
|
+
options: ot($.val),
|
|
2923
|
+
offset: w,
|
|
2924
|
+
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
2925
|
+
location: E
|
|
2927
2926
|
},
|
|
2928
2927
|
err: null
|
|
2929
2928
|
};
|
|
2930
2929
|
}
|
|
2931
2930
|
default:
|
|
2932
|
-
return this.error(
|
|
2931
|
+
return this.error(p.INVALID_ARGUMENT_TYPE, g(o, l));
|
|
2933
2932
|
}
|
|
2934
2933
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
2935
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
2934
|
+
return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
2936
2935
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
2937
2936
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
2938
2937
|
var n = this.char();
|
|
@@ -2941,7 +2940,7 @@ var Sn = (
|
|
|
2941
2940
|
this.bump();
|
|
2942
2941
|
var i = this.clonePosition();
|
|
2943
2942
|
if (!this.bumpUntil("'"))
|
|
2944
|
-
return this.error(
|
|
2943
|
+
return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
|
|
2945
2944
|
this.bump();
|
|
2946
2945
|
break;
|
|
2947
2946
|
}
|
|
@@ -2971,64 +2970,64 @@ var Sn = (
|
|
|
2971
2970
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
2972
2971
|
var n = [];
|
|
2973
2972
|
try {
|
|
2974
|
-
n =
|
|
2973
|
+
n = Zr(t);
|
|
2975
2974
|
} catch (i) {
|
|
2976
|
-
return this.error(
|
|
2975
|
+
return this.error(p.INVALID_NUMBER_SKELETON, r);
|
|
2977
2976
|
}
|
|
2978
2977
|
return {
|
|
2979
2978
|
val: {
|
|
2980
|
-
type:
|
|
2979
|
+
type: W.number,
|
|
2981
2980
|
tokens: n,
|
|
2982
2981
|
location: r,
|
|
2983
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2982
|
+
parsedOptions: this.shouldParseSkeletons ? Yr(n) : {}
|
|
2984
2983
|
},
|
|
2985
2984
|
err: null
|
|
2986
2985
|
};
|
|
2987
2986
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
2988
|
-
for (var s, o = !1,
|
|
2989
|
-
if (
|
|
2987
|
+
for (var s, o = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
|
|
2988
|
+
if (u.length === 0) {
|
|
2990
2989
|
var c = this.clonePosition();
|
|
2991
2990
|
if (r !== "select" && this.bumpIf("=")) {
|
|
2992
|
-
var f = this.tryParseDecimalInteger(
|
|
2991
|
+
var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
2993
2992
|
if (f.err)
|
|
2994
2993
|
return f;
|
|
2995
|
-
|
|
2994
|
+
h = g(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
|
|
2996
2995
|
} else
|
|
2997
2996
|
break;
|
|
2998
2997
|
}
|
|
2999
|
-
if (
|
|
3000
|
-
return this.error(r === "select" ?
|
|
3001
|
-
|
|
3002
|
-
var
|
|
2998
|
+
if (l.has(u))
|
|
2999
|
+
return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3000
|
+
u === "other" && (o = !0), this.bumpSpace();
|
|
3001
|
+
var v = this.clonePosition();
|
|
3003
3002
|
if (!this.bumpIf("{"))
|
|
3004
|
-
return this.error(r === "select" ?
|
|
3005
|
-
var
|
|
3003
|
+
return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
|
|
3004
|
+
var b = this.parseMessage(t + 1, r, n);
|
|
3005
|
+
if (b.err)
|
|
3006
|
+
return b;
|
|
3007
|
+
var d = this.tryParseArgumentClose(v);
|
|
3006
3008
|
if (d.err)
|
|
3007
3009
|
return d;
|
|
3008
|
-
|
|
3009
|
-
|
|
3010
|
-
return g;
|
|
3011
|
-
u.push([
|
|
3012
|
-
a,
|
|
3010
|
+
a.push([
|
|
3011
|
+
u,
|
|
3013
3012
|
{
|
|
3014
|
-
value:
|
|
3015
|
-
location:
|
|
3013
|
+
value: b.val,
|
|
3014
|
+
location: g(v, this.clonePosition())
|
|
3016
3015
|
}
|
|
3017
|
-
]),
|
|
3016
|
+
]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
|
|
3018
3017
|
}
|
|
3019
|
-
return
|
|
3018
|
+
return a.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(p.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3020
3019
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3021
3020
|
var n = 1, i = this.clonePosition();
|
|
3022
3021
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
3023
3022
|
for (var s = !1, o = 0; !this.isEOF(); ) {
|
|
3024
|
-
var
|
|
3025
|
-
if (
|
|
3026
|
-
s = !0, o = o * 10 + (
|
|
3023
|
+
var a = this.char();
|
|
3024
|
+
if (a >= 48 && a <= 57)
|
|
3025
|
+
s = !0, o = o * 10 + (a - 48), this.bump();
|
|
3027
3026
|
else
|
|
3028
3027
|
break;
|
|
3029
3028
|
}
|
|
3030
|
-
var
|
|
3031
|
-
return s ? (o *= n,
|
|
3029
|
+
var l = g(i, this.clonePosition());
|
|
3030
|
+
return s ? (o *= n, cn(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3032
3031
|
}, e.prototype.offset = function() {
|
|
3033
3032
|
return this.position.offset;
|
|
3034
3033
|
}, e.prototype.isEOF = function() {
|
|
@@ -3043,7 +3042,7 @@ var Sn = (
|
|
|
3043
3042
|
var t = this.position.offset;
|
|
3044
3043
|
if (t >= this.message.length)
|
|
3045
3044
|
throw Error("out of bound");
|
|
3046
|
-
var r =
|
|
3045
|
+
var r = Lt(this.message, t);
|
|
3047
3046
|
if (r === void 0)
|
|
3048
3047
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3049
3048
|
return r;
|
|
@@ -3062,7 +3061,7 @@ var Sn = (
|
|
|
3062
3061
|
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);
|
|
3063
3062
|
}
|
|
3064
3063
|
}, e.prototype.bumpIf = function(t) {
|
|
3065
|
-
if (
|
|
3064
|
+
if (st(this.message, t, this.offset())) {
|
|
3066
3065
|
for (var r = 0; r < t.length; r++)
|
|
3067
3066
|
this.bump();
|
|
3068
3067
|
return !0;
|
|
@@ -3084,7 +3083,7 @@ var Sn = (
|
|
|
3084
3083
|
break;
|
|
3085
3084
|
}
|
|
3086
3085
|
}, e.prototype.bumpSpace = function() {
|
|
3087
|
-
for (; !this.isEOF() &&
|
|
3086
|
+
for (; !this.isEOF() && Rt(this.char()); )
|
|
3088
3087
|
this.bump();
|
|
3089
3088
|
}, e.prototype.peek = function() {
|
|
3090
3089
|
if (this.isEOF())
|
|
@@ -3094,47 +3093,47 @@ var Sn = (
|
|
|
3094
3093
|
}, e;
|
|
3095
3094
|
}()
|
|
3096
3095
|
);
|
|
3097
|
-
function
|
|
3096
|
+
function $e(e) {
|
|
3098
3097
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3099
3098
|
}
|
|
3100
|
-
function
|
|
3101
|
-
return
|
|
3099
|
+
function gn(e) {
|
|
3100
|
+
return $e(e) || e === 47;
|
|
3102
3101
|
}
|
|
3103
|
-
function
|
|
3102
|
+
function bn(e) {
|
|
3104
3103
|
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;
|
|
3105
3104
|
}
|
|
3106
|
-
function
|
|
3105
|
+
function Rt(e) {
|
|
3107
3106
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3108
3107
|
}
|
|
3109
|
-
function
|
|
3108
|
+
function vn(e) {
|
|
3110
3109
|
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;
|
|
3111
3110
|
}
|
|
3112
|
-
function
|
|
3111
|
+
function Ue(e) {
|
|
3113
3112
|
e.forEach(function(t) {
|
|
3114
|
-
if (delete t.location,
|
|
3113
|
+
if (delete t.location, Bt(t) || At(t))
|
|
3115
3114
|
for (var r in t.options)
|
|
3116
|
-
delete t.options[r].location,
|
|
3115
|
+
delete t.options[r].location, Ue(t.options[r].value);
|
|
3117
3116
|
else
|
|
3118
|
-
|
|
3117
|
+
Ht(t) && Pt(t.style) || (St(t) || Tt(t)) && Ie(t.style) ? delete t.style.location : wt(t) && Ue(t.children);
|
|
3119
3118
|
});
|
|
3120
3119
|
}
|
|
3121
|
-
function
|
|
3122
|
-
t === void 0 && (t = {}), t =
|
|
3123
|
-
var r = new
|
|
3120
|
+
function yn(e, t) {
|
|
3121
|
+
t === void 0 && (t = {}), t = fe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3122
|
+
var r = new pn(e, t).parse();
|
|
3124
3123
|
if (r.err) {
|
|
3125
|
-
var n = SyntaxError(
|
|
3124
|
+
var n = SyntaxError(p[r.err.kind]);
|
|
3126
3125
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3127
3126
|
}
|
|
3128
|
-
return t != null && t.captureLocation ||
|
|
3127
|
+
return t != null && t.captureLocation || Ue(r.val), r.val;
|
|
3129
3128
|
}
|
|
3130
|
-
var
|
|
3129
|
+
var Z;
|
|
3131
3130
|
(function(e) {
|
|
3132
3131
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3133
|
-
})(
|
|
3134
|
-
var
|
|
3132
|
+
})(Z || (Z = {}));
|
|
3133
|
+
var be = (
|
|
3135
3134
|
/** @class */
|
|
3136
3135
|
function(e) {
|
|
3137
|
-
|
|
3136
|
+
ge(t, e);
|
|
3138
3137
|
function t(r, n, i) {
|
|
3139
3138
|
var s = e.call(this, r) || this;
|
|
3140
3139
|
return s.code = n, s.originalMessage = i, s;
|
|
@@ -3143,155 +3142,155 @@ var Ce = (
|
|
|
3143
3142
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3144
3143
|
}, t;
|
|
3145
3144
|
}(Error)
|
|
3146
|
-
),
|
|
3145
|
+
), ut = (
|
|
3147
3146
|
/** @class */
|
|
3148
3147
|
function(e) {
|
|
3149
|
-
|
|
3148
|
+
ge(t, e);
|
|
3150
3149
|
function t(r, n, i, s) {
|
|
3151
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3150
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Z.INVALID_VALUE, s) || this;
|
|
3152
3151
|
}
|
|
3153
3152
|
return t;
|
|
3154
|
-
}(
|
|
3155
|
-
),
|
|
3153
|
+
}(be)
|
|
3154
|
+
), En = (
|
|
3156
3155
|
/** @class */
|
|
3157
3156
|
function(e) {
|
|
3158
|
-
|
|
3157
|
+
ge(t, e);
|
|
3159
3158
|
function t(r, n, i) {
|
|
3160
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3159
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Z.INVALID_VALUE, i) || this;
|
|
3161
3160
|
}
|
|
3162
3161
|
return t;
|
|
3163
|
-
}(
|
|
3164
|
-
),
|
|
3162
|
+
}(be)
|
|
3163
|
+
), xn = (
|
|
3165
3164
|
/** @class */
|
|
3166
3165
|
function(e) {
|
|
3167
|
-
|
|
3166
|
+
ge(t, e);
|
|
3168
3167
|
function t(r, n) {
|
|
3169
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3168
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Z.MISSING_VALUE, n) || this;
|
|
3170
3169
|
}
|
|
3171
3170
|
return t;
|
|
3172
|
-
}(
|
|
3173
|
-
),
|
|
3171
|
+
}(be)
|
|
3172
|
+
), T;
|
|
3174
3173
|
(function(e) {
|
|
3175
3174
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3176
|
-
})(
|
|
3177
|
-
function
|
|
3175
|
+
})(T || (T = {}));
|
|
3176
|
+
function _n(e) {
|
|
3178
3177
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3179
3178
|
var n = t[t.length - 1];
|
|
3180
|
-
return !n || n.type !==
|
|
3179
|
+
return !n || n.type !== T.literal || r.type !== T.literal ? t.push(r) : n.value += r.value, t;
|
|
3181
3180
|
}, []);
|
|
3182
3181
|
}
|
|
3183
|
-
function
|
|
3182
|
+
function Hn(e) {
|
|
3184
3183
|
return typeof e == "function";
|
|
3185
3184
|
}
|
|
3186
|
-
function
|
|
3187
|
-
if (e.length === 1 &&
|
|
3185
|
+
function he(e, t, r, n, i, s, o) {
|
|
3186
|
+
if (e.length === 1 && tt(e[0]))
|
|
3188
3187
|
return [
|
|
3189
3188
|
{
|
|
3190
|
-
type:
|
|
3189
|
+
type: T.literal,
|
|
3191
3190
|
value: e[0].value
|
|
3192
3191
|
}
|
|
3193
3192
|
];
|
|
3194
|
-
for (var
|
|
3195
|
-
var
|
|
3196
|
-
if (
|
|
3197
|
-
|
|
3198
|
-
type:
|
|
3199
|
-
value:
|
|
3193
|
+
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
|
3194
|
+
var h = u[l];
|
|
3195
|
+
if (tt(h)) {
|
|
3196
|
+
a.push({
|
|
3197
|
+
type: T.literal,
|
|
3198
|
+
value: h.value
|
|
3200
3199
|
});
|
|
3201
3200
|
continue;
|
|
3202
3201
|
}
|
|
3203
|
-
if (
|
|
3204
|
-
typeof s == "number" &&
|
|
3205
|
-
type:
|
|
3202
|
+
if (kr(h)) {
|
|
3203
|
+
typeof s == "number" && a.push({
|
|
3204
|
+
type: T.literal,
|
|
3206
3205
|
value: r.getNumberFormat(t).format(s)
|
|
3207
3206
|
});
|
|
3208
3207
|
continue;
|
|
3209
3208
|
}
|
|
3210
|
-
var c =
|
|
3209
|
+
var c = h.value;
|
|
3211
3210
|
if (!(i && c in i))
|
|
3212
|
-
throw new
|
|
3211
|
+
throw new xn(c, o);
|
|
3213
3212
|
var f = i[c];
|
|
3214
|
-
if (
|
|
3215
|
-
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""),
|
|
3216
|
-
type: typeof f == "string" ?
|
|
3213
|
+
if (Vr(h)) {
|
|
3214
|
+
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3215
|
+
type: typeof f == "string" ? T.literal : T.object,
|
|
3217
3216
|
value: f
|
|
3218
3217
|
});
|
|
3219
3218
|
continue;
|
|
3220
3219
|
}
|
|
3221
|
-
if (
|
|
3222
|
-
var
|
|
3223
|
-
|
|
3224
|
-
type:
|
|
3225
|
-
value: r.getDateTimeFormat(t,
|
|
3220
|
+
if (St(h)) {
|
|
3221
|
+
var v = typeof h.style == "string" ? n.date[h.style] : Ie(h.style) ? h.style.parsedOptions : void 0;
|
|
3222
|
+
a.push({
|
|
3223
|
+
type: T.literal,
|
|
3224
|
+
value: r.getDateTimeFormat(t, v).format(f)
|
|
3226
3225
|
});
|
|
3227
3226
|
continue;
|
|
3228
3227
|
}
|
|
3229
|
-
if (
|
|
3230
|
-
var
|
|
3231
|
-
|
|
3232
|
-
type:
|
|
3233
|
-
value: r.getDateTimeFormat(t,
|
|
3228
|
+
if (Tt(h)) {
|
|
3229
|
+
var v = typeof h.style == "string" ? n.time[h.style] : Ie(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3230
|
+
a.push({
|
|
3231
|
+
type: T.literal,
|
|
3232
|
+
value: r.getDateTimeFormat(t, v).format(f)
|
|
3234
3233
|
});
|
|
3235
3234
|
continue;
|
|
3236
3235
|
}
|
|
3237
|
-
if (
|
|
3238
|
-
var
|
|
3239
|
-
|
|
3240
|
-
type:
|
|
3241
|
-
value: r.getNumberFormat(t,
|
|
3236
|
+
if (Ht(h)) {
|
|
3237
|
+
var v = typeof h.style == "string" ? n.number[h.style] : Pt(h.style) ? h.style.parsedOptions : void 0;
|
|
3238
|
+
v && v.scale && (f = f * (v.scale || 1)), a.push({
|
|
3239
|
+
type: T.literal,
|
|
3240
|
+
value: r.getNumberFormat(t, v).format(f)
|
|
3242
3241
|
});
|
|
3243
3242
|
continue;
|
|
3244
3243
|
}
|
|
3245
|
-
if (
|
|
3246
|
-
var
|
|
3247
|
-
if (!
|
|
3248
|
-
throw new
|
|
3249
|
-
var
|
|
3250
|
-
return
|
|
3244
|
+
if (wt(h)) {
|
|
3245
|
+
var b = h.children, d = h.value, _ = i[d];
|
|
3246
|
+
if (!Hn(_))
|
|
3247
|
+
throw new En(d, "function", o);
|
|
3248
|
+
var M = he(b, t, r, n, i, s), B = _(M.map(function(w) {
|
|
3249
|
+
return w.value;
|
|
3251
3250
|
}));
|
|
3252
|
-
Array.isArray(
|
|
3251
|
+
Array.isArray(B) || (B = [B]), a.push.apply(a, B.map(function(w) {
|
|
3253
3252
|
return {
|
|
3254
|
-
type: typeof
|
|
3255
|
-
value:
|
|
3253
|
+
type: typeof w == "string" ? T.literal : T.object,
|
|
3254
|
+
value: w
|
|
3256
3255
|
};
|
|
3257
3256
|
}));
|
|
3258
3257
|
}
|
|
3259
|
-
if (
|
|
3260
|
-
var
|
|
3261
|
-
if (!
|
|
3262
|
-
throw new
|
|
3263
|
-
|
|
3258
|
+
if (Bt(h)) {
|
|
3259
|
+
var y = h.options[f] || h.options.other;
|
|
3260
|
+
if (!y)
|
|
3261
|
+
throw new ut(h.value, f, Object.keys(h.options), o);
|
|
3262
|
+
a.push.apply(a, he(y.value, t, r, n, i));
|
|
3264
3263
|
continue;
|
|
3265
3264
|
}
|
|
3266
|
-
if (
|
|
3267
|
-
var
|
|
3268
|
-
if (!
|
|
3265
|
+
if (At(h)) {
|
|
3266
|
+
var y = h.options["=".concat(f)];
|
|
3267
|
+
if (!y) {
|
|
3269
3268
|
if (!Intl.PluralRules)
|
|
3270
|
-
throw new
|
|
3269
|
+
throw new be(`Intl.PluralRules is not available in this environment.
|
|
3271
3270
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3272
|
-
`,
|
|
3273
|
-
var
|
|
3274
|
-
|
|
3271
|
+
`, Z.MISSING_INTL_API, o);
|
|
3272
|
+
var O = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3273
|
+
y = h.options[O] || h.options.other;
|
|
3275
3274
|
}
|
|
3276
|
-
if (!
|
|
3277
|
-
throw new
|
|
3278
|
-
|
|
3275
|
+
if (!y)
|
|
3276
|
+
throw new ut(h.value, f, Object.keys(h.options), o);
|
|
3277
|
+
a.push.apply(a, he(y.value, t, r, n, i, f - (h.offset || 0)));
|
|
3279
3278
|
continue;
|
|
3280
3279
|
}
|
|
3281
3280
|
}
|
|
3282
|
-
return
|
|
3281
|
+
return _n(a);
|
|
3283
3282
|
}
|
|
3284
|
-
function
|
|
3285
|
-
return t ?
|
|
3286
|
-
return r[n] =
|
|
3283
|
+
function Sn(e, t) {
|
|
3284
|
+
return t ? R(R(R({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3285
|
+
return r[n] = R(R({}, e[n]), t[n] || {}), r;
|
|
3287
3286
|
}, {})) : e;
|
|
3288
3287
|
}
|
|
3289
|
-
function
|
|
3288
|
+
function Tn(e, t) {
|
|
3290
3289
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3291
|
-
return r[n] =
|
|
3292
|
-
},
|
|
3290
|
+
return r[n] = Sn(e[n], t[n]), r;
|
|
3291
|
+
}, R({}, e)) : e;
|
|
3293
3292
|
}
|
|
3294
|
-
function
|
|
3293
|
+
function Ae(e) {
|
|
3295
3294
|
return {
|
|
3296
3295
|
create: function() {
|
|
3297
3296
|
return {
|
|
@@ -3305,39 +3304,39 @@ function Le(e) {
|
|
|
3305
3304
|
}
|
|
3306
3305
|
};
|
|
3307
3306
|
}
|
|
3308
|
-
function
|
|
3307
|
+
function Bn(e) {
|
|
3309
3308
|
return e === void 0 && (e = {
|
|
3310
3309
|
number: {},
|
|
3311
3310
|
dateTime: {},
|
|
3312
3311
|
pluralRules: {}
|
|
3313
3312
|
}), {
|
|
3314
|
-
getNumberFormat:
|
|
3313
|
+
getNumberFormat: Se(function() {
|
|
3315
3314
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3316
3315
|
r[n] = arguments[n];
|
|
3317
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3316
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, He([void 0], r, !1)))();
|
|
3318
3317
|
}, {
|
|
3319
|
-
cache:
|
|
3320
|
-
strategy:
|
|
3318
|
+
cache: Ae(e.number),
|
|
3319
|
+
strategy: Te.variadic
|
|
3321
3320
|
}),
|
|
3322
|
-
getDateTimeFormat:
|
|
3321
|
+
getDateTimeFormat: Se(function() {
|
|
3323
3322
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3324
3323
|
r[n] = arguments[n];
|
|
3325
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3324
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, He([void 0], r, !1)))();
|
|
3326
3325
|
}, {
|
|
3327
|
-
cache:
|
|
3328
|
-
strategy:
|
|
3326
|
+
cache: Ae(e.dateTime),
|
|
3327
|
+
strategy: Te.variadic
|
|
3329
3328
|
}),
|
|
3330
|
-
getPluralRules:
|
|
3329
|
+
getPluralRules: Se(function() {
|
|
3331
3330
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3332
3331
|
r[n] = arguments[n];
|
|
3333
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3332
|
+
return new ((t = Intl.PluralRules).bind.apply(t, He([void 0], r, !1)))();
|
|
3334
3333
|
}, {
|
|
3335
|
-
cache:
|
|
3336
|
-
strategy:
|
|
3334
|
+
cache: Ae(e.pluralRules),
|
|
3335
|
+
strategy: Te.variadic
|
|
3337
3336
|
})
|
|
3338
3337
|
};
|
|
3339
3338
|
}
|
|
3340
|
-
var
|
|
3339
|
+
var An = (
|
|
3341
3340
|
/** @class */
|
|
3342
3341
|
function() {
|
|
3343
3342
|
function e(t, r, n, i) {
|
|
@@ -3347,20 +3346,20 @@ var Un = (
|
|
|
3347
3346
|
number: {},
|
|
3348
3347
|
dateTime: {},
|
|
3349
3348
|
pluralRules: {}
|
|
3350
|
-
}, this.format = function(
|
|
3351
|
-
var
|
|
3352
|
-
if (
|
|
3353
|
-
return
|
|
3354
|
-
var
|
|
3355
|
-
return !c.length || f.type !==
|
|
3349
|
+
}, this.format = function(l) {
|
|
3350
|
+
var u = s.formatToParts(l);
|
|
3351
|
+
if (u.length === 1)
|
|
3352
|
+
return u[0].value;
|
|
3353
|
+
var h = u.reduce(function(c, f) {
|
|
3354
|
+
return !c.length || f.type !== T.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
|
3356
3355
|
}, []);
|
|
3357
|
-
return
|
|
3358
|
-
}, this.formatToParts = function(
|
|
3359
|
-
return
|
|
3356
|
+
return h.length <= 1 ? h[0] || "" : h;
|
|
3357
|
+
}, this.formatToParts = function(l) {
|
|
3358
|
+
return he(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
|
|
3360
3359
|
}, this.resolvedOptions = function() {
|
|
3361
|
-
var
|
|
3360
|
+
var l;
|
|
3362
3361
|
return {
|
|
3363
|
-
locale: ((
|
|
3362
|
+
locale: ((l = s.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
|
|
3364
3363
|
};
|
|
3365
3364
|
}, this.getAst = function() {
|
|
3366
3365
|
return s.ast;
|
|
@@ -3369,13 +3368,13 @@ var Un = (
|
|
|
3369
3368
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3370
3369
|
var o = i || {};
|
|
3371
3370
|
o.formatters;
|
|
3372
|
-
var
|
|
3373
|
-
this.ast = e.__parse(t,
|
|
3371
|
+
var a = Mr(o, ["formatters"]);
|
|
3372
|
+
this.ast = e.__parse(t, R(R({}, a), { locale: this.resolvedLocale }));
|
|
3374
3373
|
} else
|
|
3375
3374
|
this.ast = t;
|
|
3376
3375
|
if (!Array.isArray(this.ast))
|
|
3377
3376
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3378
|
-
this.formats =
|
|
3377
|
+
this.formats = Tn(e.formats, n), this.formatters = i && i.formatters || Bn(this.formatterCache);
|
|
3379
3378
|
}
|
|
3380
3379
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3381
3380
|
get: function() {
|
|
@@ -3388,7 +3387,7 @@ var Un = (
|
|
|
3388
3387
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3389
3388
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3390
3389
|
}
|
|
3391
|
-
}, e.__parse =
|
|
3390
|
+
}, e.__parse = yn, e.formats = {
|
|
3392
3391
|
number: {
|
|
3393
3392
|
integer: {
|
|
3394
3393
|
maximumFractionDigits: 0
|
|
@@ -3449,7 +3448,7 @@ var Un = (
|
|
|
3449
3448
|
}, e;
|
|
3450
3449
|
}()
|
|
3451
3450
|
);
|
|
3452
|
-
function
|
|
3451
|
+
function wn(e, t) {
|
|
3453
3452
|
if (t == null)
|
|
3454
3453
|
return;
|
|
3455
3454
|
if (t in e)
|
|
@@ -3470,92 +3469,92 @@ function Dn(e, t) {
|
|
|
3470
3469
|
n = void 0;
|
|
3471
3470
|
return n;
|
|
3472
3471
|
}
|
|
3473
|
-
const
|
|
3472
|
+
const U = {}, Pn = (e, t, r) => r && (t in U || (U[t] = {}), e in U[t] || (U[t][e] = r), r), $t = (e, t) => {
|
|
3474
3473
|
if (t == null)
|
|
3475
3474
|
return;
|
|
3476
|
-
if (t in
|
|
3477
|
-
return
|
|
3478
|
-
const r =
|
|
3475
|
+
if (t in U && e in U[t])
|
|
3476
|
+
return U[t][e];
|
|
3477
|
+
const r = ve(t);
|
|
3479
3478
|
for (let n = 0; n < r.length; n++) {
|
|
3480
|
-
const i = r[n], s =
|
|
3479
|
+
const i = r[n], s = Nn(i, e);
|
|
3481
3480
|
if (s)
|
|
3482
|
-
return
|
|
3481
|
+
return Pn(e, t, s);
|
|
3483
3482
|
}
|
|
3484
3483
|
};
|
|
3485
|
-
let
|
|
3486
|
-
const
|
|
3487
|
-
function
|
|
3488
|
-
return
|
|
3484
|
+
let Ve;
|
|
3485
|
+
const se = pe({});
|
|
3486
|
+
function On(e) {
|
|
3487
|
+
return Ve[e] || null;
|
|
3489
3488
|
}
|
|
3490
|
-
function
|
|
3491
|
-
return e in
|
|
3489
|
+
function Ut(e) {
|
|
3490
|
+
return e in Ve;
|
|
3492
3491
|
}
|
|
3493
|
-
function
|
|
3494
|
-
if (!
|
|
3492
|
+
function Nn(e, t) {
|
|
3493
|
+
if (!Ut(e))
|
|
3495
3494
|
return null;
|
|
3496
|
-
const r =
|
|
3497
|
-
return
|
|
3495
|
+
const r = On(e);
|
|
3496
|
+
return wn(r, t);
|
|
3498
3497
|
}
|
|
3499
|
-
function
|
|
3498
|
+
function Cn(e) {
|
|
3500
3499
|
if (e == null)
|
|
3501
3500
|
return;
|
|
3502
|
-
const t =
|
|
3501
|
+
const t = ve(e);
|
|
3503
3502
|
for (let r = 0; r < t.length; r++) {
|
|
3504
3503
|
const n = t[r];
|
|
3505
|
-
if (
|
|
3504
|
+
if (Ut(n))
|
|
3506
3505
|
return n;
|
|
3507
3506
|
}
|
|
3508
3507
|
}
|
|
3509
|
-
function
|
|
3510
|
-
delete
|
|
3508
|
+
function Dt(e, ...t) {
|
|
3509
|
+
delete U[e], se.update((r) => (r[e] = Lr.all([r[e] || {}, ...t]), r));
|
|
3511
3510
|
}
|
|
3512
|
-
|
|
3513
|
-
[
|
|
3511
|
+
J(
|
|
3512
|
+
[se],
|
|
3514
3513
|
([e]) => Object.keys(e)
|
|
3515
3514
|
);
|
|
3516
|
-
|
|
3517
|
-
const
|
|
3518
|
-
function
|
|
3519
|
-
|
|
3515
|
+
se.subscribe((e) => Ve = e);
|
|
3516
|
+
const le = {};
|
|
3517
|
+
function In(e, t) {
|
|
3518
|
+
le[e].delete(t), le[e].size === 0 && delete le[e];
|
|
3520
3519
|
}
|
|
3521
|
-
function
|
|
3522
|
-
return
|
|
3520
|
+
function Gt(e) {
|
|
3521
|
+
return le[e];
|
|
3523
3522
|
}
|
|
3524
|
-
function
|
|
3525
|
-
return
|
|
3526
|
-
const r =
|
|
3523
|
+
function Ln(e) {
|
|
3524
|
+
return ve(e).map((t) => {
|
|
3525
|
+
const r = Gt(t);
|
|
3527
3526
|
return [t, r ? [...r] : []];
|
|
3528
3527
|
}).filter(([, t]) => t.length > 0);
|
|
3529
3528
|
}
|
|
3530
|
-
function
|
|
3531
|
-
return e == null ? !1 :
|
|
3529
|
+
function De(e) {
|
|
3530
|
+
return e == null ? !1 : ve(e).some(
|
|
3532
3531
|
(t) => {
|
|
3533
3532
|
var r;
|
|
3534
|
-
return (r =
|
|
3533
|
+
return (r = Gt(t)) == null ? void 0 : r.size;
|
|
3535
3534
|
}
|
|
3536
3535
|
);
|
|
3537
3536
|
}
|
|
3538
|
-
function
|
|
3537
|
+
function Mn(e, t) {
|
|
3539
3538
|
return Promise.all(
|
|
3540
|
-
t.map((n) => (
|
|
3541
|
-
).then((n) =>
|
|
3542
|
-
}
|
|
3543
|
-
const
|
|
3544
|
-
function
|
|
3545
|
-
if (!
|
|
3546
|
-
return e in
|
|
3547
|
-
const t =
|
|
3548
|
-
return
|
|
3539
|
+
t.map((n) => (In(e, n), n().then((i) => i.default || i)))
|
|
3540
|
+
).then((n) => Dt(e, ...n));
|
|
3541
|
+
}
|
|
3542
|
+
const ee = {};
|
|
3543
|
+
function Ft(e) {
|
|
3544
|
+
if (!De(e))
|
|
3545
|
+
return e in ee ? ee[e] : Promise.resolve();
|
|
3546
|
+
const t = Ln(e);
|
|
3547
|
+
return ee[e] = Promise.all(
|
|
3549
3548
|
t.map(
|
|
3550
|
-
([r, n]) =>
|
|
3549
|
+
([r, n]) => Mn(r, n)
|
|
3551
3550
|
)
|
|
3552
3551
|
).then(() => {
|
|
3553
|
-
if (
|
|
3554
|
-
return
|
|
3555
|
-
delete
|
|
3556
|
-
}),
|
|
3552
|
+
if (De(e))
|
|
3553
|
+
return Ft(e);
|
|
3554
|
+
delete ee[e];
|
|
3555
|
+
}), ee[e];
|
|
3557
3556
|
}
|
|
3558
|
-
const
|
|
3557
|
+
const Rn = {
|
|
3559
3558
|
number: {
|
|
3560
3559
|
scientific: { notation: "scientific" },
|
|
3561
3560
|
engineering: { notation: "engineering" },
|
|
@@ -3584,159 +3583,159 @@ const Wn = {
|
|
|
3584
3583
|
timeZoneName: "short"
|
|
3585
3584
|
}
|
|
3586
3585
|
}
|
|
3587
|
-
},
|
|
3586
|
+
}, $n = {
|
|
3588
3587
|
fallbackLocale: null,
|
|
3589
3588
|
loadingDelay: 200,
|
|
3590
|
-
formats:
|
|
3589
|
+
formats: Rn,
|
|
3591
3590
|
warnOnMissingMessages: !0,
|
|
3592
3591
|
handleMissingMessage: void 0,
|
|
3593
3592
|
ignoreTag: !0
|
|
3594
|
-
},
|
|
3595
|
-
function
|
|
3596
|
-
return
|
|
3593
|
+
}, Un = $n;
|
|
3594
|
+
function Q() {
|
|
3595
|
+
return Un;
|
|
3597
3596
|
}
|
|
3598
|
-
const
|
|
3599
|
-
var
|
|
3597
|
+
const we = pe(!1);
|
|
3598
|
+
var Dn = Object.defineProperty, Gn = Object.defineProperties, Fn = Object.getOwnPropertyDescriptors, ht = Object.getOwnPropertySymbols, jn = Object.prototype.hasOwnProperty, Vn = Object.prototype.propertyIsEnumerable, lt = (e, t, r) => t in e ? Dn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, kn = (e, t) => {
|
|
3600
3599
|
for (var r in t || (t = {}))
|
|
3601
|
-
|
|
3602
|
-
if (
|
|
3603
|
-
for (var r of
|
|
3604
|
-
|
|
3600
|
+
jn.call(t, r) && lt(e, r, t[r]);
|
|
3601
|
+
if (ht)
|
|
3602
|
+
for (var r of ht(t))
|
|
3603
|
+
Vn.call(t, r) && lt(e, r, t[r]);
|
|
3605
3604
|
return e;
|
|
3606
|
-
},
|
|
3607
|
-
let
|
|
3608
|
-
const
|
|
3609
|
-
function
|
|
3605
|
+
}, Xn = (e, t) => Gn(e, Fn(t));
|
|
3606
|
+
let Ge;
|
|
3607
|
+
const me = pe(null);
|
|
3608
|
+
function ct(e) {
|
|
3610
3609
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3611
3610
|
}
|
|
3612
|
-
function
|
|
3613
|
-
const r =
|
|
3614
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3611
|
+
function ve(e, t = Q().fallbackLocale) {
|
|
3612
|
+
const r = ct(e);
|
|
3613
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...ct(t)])] : r;
|
|
3615
3614
|
}
|
|
3616
|
-
function
|
|
3617
|
-
return
|
|
3615
|
+
function D() {
|
|
3616
|
+
return Ge != null ? Ge : void 0;
|
|
3618
3617
|
}
|
|
3619
|
-
|
|
3620
|
-
|
|
3618
|
+
me.subscribe((e) => {
|
|
3619
|
+
Ge = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3621
3620
|
});
|
|
3622
|
-
const
|
|
3623
|
-
if (e &&
|
|
3624
|
-
const { loadingDelay: t } =
|
|
3621
|
+
const zn = (e) => {
|
|
3622
|
+
if (e && Cn(e) && De(e)) {
|
|
3623
|
+
const { loadingDelay: t } = Q();
|
|
3625
3624
|
let r;
|
|
3626
|
-
return typeof window != "undefined" &&
|
|
3627
|
-
() =>
|
|
3625
|
+
return typeof window != "undefined" && D() != null && t ? r = window.setTimeout(
|
|
3626
|
+
() => we.set(!0),
|
|
3628
3627
|
t
|
|
3629
|
-
) :
|
|
3630
|
-
|
|
3628
|
+
) : we.set(!0), Ft(e).then(() => {
|
|
3629
|
+
me.set(e);
|
|
3631
3630
|
}).finally(() => {
|
|
3632
|
-
clearTimeout(r),
|
|
3631
|
+
clearTimeout(r), we.set(!1);
|
|
3633
3632
|
});
|
|
3634
3633
|
}
|
|
3635
|
-
return
|
|
3636
|
-
},
|
|
3637
|
-
set:
|
|
3638
|
-
}),
|
|
3634
|
+
return me.set(e);
|
|
3635
|
+
}, Y = Xn(kn({}, me), {
|
|
3636
|
+
set: zn
|
|
3637
|
+
}), ye = (e) => {
|
|
3639
3638
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3640
3639
|
return (n) => {
|
|
3641
3640
|
const i = JSON.stringify(n);
|
|
3642
3641
|
return i in t ? t[i] : t[i] = e(n);
|
|
3643
3642
|
};
|
|
3644
3643
|
};
|
|
3645
|
-
var
|
|
3644
|
+
var Wn = Object.defineProperty, de = Object.getOwnPropertySymbols, jt = Object.prototype.hasOwnProperty, Vt = Object.prototype.propertyIsEnumerable, ft = (e, t, r) => t in e ? Wn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ke = (e, t) => {
|
|
3646
3645
|
for (var r in t || (t = {}))
|
|
3647
|
-
|
|
3648
|
-
if (
|
|
3649
|
-
for (var r of
|
|
3650
|
-
|
|
3646
|
+
jt.call(t, r) && ft(e, r, t[r]);
|
|
3647
|
+
if (de)
|
|
3648
|
+
for (var r of de(t))
|
|
3649
|
+
Vt.call(t, r) && ft(e, r, t[r]);
|
|
3651
3650
|
return e;
|
|
3652
|
-
},
|
|
3651
|
+
}, K = (e, t) => {
|
|
3653
3652
|
var r = {};
|
|
3654
3653
|
for (var n in e)
|
|
3655
|
-
|
|
3656
|
-
if (e != null &&
|
|
3657
|
-
for (var n of
|
|
3658
|
-
t.indexOf(n) < 0 &&
|
|
3654
|
+
jt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3655
|
+
if (e != null && de)
|
|
3656
|
+
for (var n of de(e))
|
|
3657
|
+
t.indexOf(n) < 0 && Vt.call(e, n) && (r[n] = e[n]);
|
|
3659
3658
|
return r;
|
|
3660
3659
|
};
|
|
3661
|
-
const
|
|
3662
|
-
const { formats: r } =
|
|
3660
|
+
const ie = (e, t) => {
|
|
3661
|
+
const { formats: r } = Q();
|
|
3663
3662
|
if (e in r && t in r[e])
|
|
3664
3663
|
return r[e][t];
|
|
3665
3664
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3666
|
-
},
|
|
3665
|
+
}, Zn = ye(
|
|
3667
3666
|
(e) => {
|
|
3668
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3667
|
+
var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
|
|
3669
3668
|
if (r == null)
|
|
3670
3669
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3671
|
-
return n && (i =
|
|
3670
|
+
return n && (i = ie("number", n)), new Intl.NumberFormat(r, i);
|
|
3672
3671
|
}
|
|
3673
|
-
),
|
|
3672
|
+
), Qn = ye(
|
|
3674
3673
|
(e) => {
|
|
3675
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3674
|
+
var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
|
|
3676
3675
|
if (r == null)
|
|
3677
3676
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3678
|
-
return n ? i =
|
|
3677
|
+
return n ? i = ie("date", n) : Object.keys(i).length === 0 && (i = ie("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3679
3678
|
}
|
|
3680
|
-
),
|
|
3679
|
+
), qn = ye(
|
|
3681
3680
|
(e) => {
|
|
3682
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3681
|
+
var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
|
|
3683
3682
|
if (r == null)
|
|
3684
3683
|
throw new Error(
|
|
3685
3684
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3686
3685
|
);
|
|
3687
|
-
return n ? i =
|
|
3686
|
+
return n ? i = ie("time", n) : Object.keys(i).length === 0 && (i = ie("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3688
3687
|
}
|
|
3689
|
-
),
|
|
3688
|
+
), Jn = (e = {}) => {
|
|
3690
3689
|
var t = e, {
|
|
3691
|
-
locale: r =
|
|
3692
|
-
} = t, n =
|
|
3690
|
+
locale: r = D()
|
|
3691
|
+
} = t, n = K(t, [
|
|
3693
3692
|
"locale"
|
|
3694
3693
|
]);
|
|
3695
|
-
return
|
|
3696
|
-
},
|
|
3694
|
+
return Zn(ke({ locale: r }, n));
|
|
3695
|
+
}, Yn = (e = {}) => {
|
|
3697
3696
|
var t = e, {
|
|
3698
|
-
locale: r =
|
|
3699
|
-
} = t, n =
|
|
3697
|
+
locale: r = D()
|
|
3698
|
+
} = t, n = K(t, [
|
|
3700
3699
|
"locale"
|
|
3701
3700
|
]);
|
|
3702
|
-
return
|
|
3703
|
-
},
|
|
3701
|
+
return Qn(ke({ locale: r }, n));
|
|
3702
|
+
}, Kn = (e = {}) => {
|
|
3704
3703
|
var t = e, {
|
|
3705
|
-
locale: r =
|
|
3706
|
-
} = t, n =
|
|
3704
|
+
locale: r = D()
|
|
3705
|
+
} = t, n = K(t, [
|
|
3707
3706
|
"locale"
|
|
3708
3707
|
]);
|
|
3709
|
-
return
|
|
3710
|
-
},
|
|
3708
|
+
return qn(ke({ locale: r }, n));
|
|
3709
|
+
}, ei = ye(
|
|
3711
3710
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3712
|
-
(e, t =
|
|
3713
|
-
ignoreTag:
|
|
3711
|
+
(e, t = D()) => new An(e, t, Q().formats, {
|
|
3712
|
+
ignoreTag: Q().ignoreTag
|
|
3714
3713
|
})
|
|
3715
|
-
),
|
|
3714
|
+
), ti = (e, t = {}) => {
|
|
3716
3715
|
var r, n, i, s;
|
|
3717
3716
|
let o = t;
|
|
3718
3717
|
typeof e == "object" && (o = e, e = o.id);
|
|
3719
3718
|
const {
|
|
3720
|
-
values:
|
|
3721
|
-
locale:
|
|
3722
|
-
default:
|
|
3719
|
+
values: a,
|
|
3720
|
+
locale: l = D(),
|
|
3721
|
+
default: u
|
|
3723
3722
|
} = o;
|
|
3724
|
-
if (
|
|
3723
|
+
if (l == null)
|
|
3725
3724
|
throw new Error(
|
|
3726
3725
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3727
3726
|
);
|
|
3728
|
-
let
|
|
3729
|
-
if (!
|
|
3730
|
-
|
|
3731
|
-
else if (typeof
|
|
3727
|
+
let h = $t(e, l);
|
|
3728
|
+
if (!h)
|
|
3729
|
+
h = (s = (i = (n = (r = Q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
|
|
3730
|
+
else if (typeof h != "string")
|
|
3732
3731
|
return console.warn(
|
|
3733
|
-
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof
|
|
3734
|
-
),
|
|
3735
|
-
if (!
|
|
3736
|
-
return
|
|
3737
|
-
let c =
|
|
3732
|
+
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
3733
|
+
), h;
|
|
3734
|
+
if (!a)
|
|
3735
|
+
return h;
|
|
3736
|
+
let c = h;
|
|
3738
3737
|
try {
|
|
3739
|
-
c =
|
|
3738
|
+
c = ei(h, l).format(a);
|
|
3740
3739
|
} catch (f) {
|
|
3741
3740
|
f instanceof Error && console.warn(
|
|
3742
3741
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3744,573 +3743,573 @@ const ue = (e, t) => {
|
|
|
3744
3743
|
);
|
|
3745
3744
|
}
|
|
3746
3745
|
return c;
|
|
3747
|
-
},
|
|
3748
|
-
|
|
3749
|
-
|
|
3750
|
-
|
|
3751
|
-
|
|
3752
|
-
function
|
|
3753
|
-
|
|
3754
|
-
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
|
-
}
|
|
3758
|
-
|
|
3759
|
-
if (!e || !t)
|
|
3760
|
-
return;
|
|
3761
|
-
const r = new URL(t);
|
|
3762
|
-
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
3763
|
-
const i = document.createElement("style");
|
|
3764
|
-
i.innerHTML = n, e && e.appendChild(i);
|
|
3765
|
-
}).catch((n) => {
|
|
3766
|
-
console.error("There was an error while trying to load client styling from URL", n);
|
|
3767
|
-
});
|
|
3768
|
-
}
|
|
3769
|
-
function Ei(e, t, r) {
|
|
3770
|
-
if (window.emMessageBus) {
|
|
3771
|
-
const n = document.createElement("style");
|
|
3772
|
-
window.emMessageBus.subscribe(t, (i) => {
|
|
3773
|
-
n.innerHTML = i, e && e.appendChild(n);
|
|
3774
|
-
});
|
|
3775
|
-
}
|
|
3776
|
-
}
|
|
3777
|
-
function yt(e, t) {
|
|
3778
|
-
Zt(e, t);
|
|
3779
|
-
}
|
|
3780
|
-
function xi(e) {
|
|
3781
|
-
re.set(e);
|
|
3782
|
-
}
|
|
3783
|
-
const _t = {
|
|
3746
|
+
}, ri = (e, t) => Kn(t).format(e), ni = (e, t) => Yn(t).format(e), ii = (e, t) => Jn(t).format(e), si = (e, t = D()) => $t(e, t), oi = J([Y, se], () => ti);
|
|
3747
|
+
J([Y], () => ri);
|
|
3748
|
+
J([Y], () => ni);
|
|
3749
|
+
J([Y], () => ii);
|
|
3750
|
+
J([Y, se], () => si);
|
|
3751
|
+
function mt(e, t) {
|
|
3752
|
+
Dt(e, t);
|
|
3753
|
+
}
|
|
3754
|
+
function ai(e) {
|
|
3755
|
+
Y.set(e);
|
|
3756
|
+
}
|
|
3757
|
+
const dt = {
|
|
3784
3758
|
en: {
|
|
3785
|
-
|
|
3786
|
-
|
|
3787
|
-
loading: "Loading, please wait...",
|
|
3788
|
-
games: "games"
|
|
3759
|
+
categories: "Categories",
|
|
3760
|
+
providers: "Suppliers"
|
|
3789
3761
|
},
|
|
3790
3762
|
"zh-hk": {
|
|
3791
|
-
|
|
3792
|
-
|
|
3793
|
-
loading: "加载请稍候...",
|
|
3794
|
-
games: "游戏"
|
|
3763
|
+
categories: "类别",
|
|
3764
|
+
providers: "供应商"
|
|
3795
3765
|
},
|
|
3796
3766
|
de: {
|
|
3797
|
-
|
|
3798
|
-
|
|
3799
|
-
loading: "Es lädt, bitte warten...",
|
|
3800
|
-
games: "Spiele"
|
|
3767
|
+
categories: "Kategorien",
|
|
3768
|
+
providers: "Anbieter"
|
|
3801
3769
|
},
|
|
3802
3770
|
it: {
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
loading: "Loading, please wait...",
|
|
3806
|
-
games: "games"
|
|
3771
|
+
categories: "Categories",
|
|
3772
|
+
providers: "Suppliers"
|
|
3807
3773
|
},
|
|
3808
3774
|
fr: {
|
|
3809
|
-
|
|
3810
|
-
|
|
3811
|
-
loading: "Chargement, veuillez patienter...",
|
|
3812
|
-
games: "jeux"
|
|
3775
|
+
categories: "Catégories",
|
|
3776
|
+
providers: "Fournisseurs"
|
|
3813
3777
|
},
|
|
3814
3778
|
es: {
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
loading: "Cargando...",
|
|
3818
|
-
games: "juegos"
|
|
3779
|
+
categories: "Categorias",
|
|
3780
|
+
providers: "Proveedores"
|
|
3819
3781
|
},
|
|
3820
3782
|
tr: {
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
loading: "Yükleniyor, lütfen bekleyin...",
|
|
3824
|
-
games: "oyunlar"
|
|
3783
|
+
categories: "Kategoriler",
|
|
3784
|
+
providers: "Tedarikçiler"
|
|
3825
3785
|
},
|
|
3826
3786
|
ru: {
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
loading: "Loading, please wait...",
|
|
3830
|
-
games: "games"
|
|
3787
|
+
categories: "Categories",
|
|
3788
|
+
providers: "Suppliers"
|
|
3831
3789
|
},
|
|
3832
3790
|
ro: {
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
loading: "Se incarca, te rugam asteapta…",
|
|
3836
|
-
games: "jocuri"
|
|
3791
|
+
categories: "Categorii",
|
|
3792
|
+
providers: "Furnizori"
|
|
3837
3793
|
},
|
|
3838
3794
|
hr: {
|
|
3839
|
-
|
|
3840
|
-
|
|
3841
|
-
loading: "Učitavam",
|
|
3842
|
-
games: "Igre"
|
|
3795
|
+
categories: "Kategorije",
|
|
3796
|
+
providers: "Provideri"
|
|
3843
3797
|
},
|
|
3844
3798
|
hu: {
|
|
3845
|
-
|
|
3846
|
-
|
|
3847
|
-
loading: "Loading, please wait...",
|
|
3848
|
-
games: "games"
|
|
3799
|
+
categories: "Categories",
|
|
3800
|
+
providers: "Suppliers"
|
|
3849
3801
|
},
|
|
3850
3802
|
pl: {
|
|
3851
|
-
|
|
3852
|
-
|
|
3853
|
-
loading: "Loading, please wait...",
|
|
3854
|
-
games: "games"
|
|
3803
|
+
categories: "Categories",
|
|
3804
|
+
providers: "Suppliers"
|
|
3855
3805
|
},
|
|
3856
3806
|
pt: {
|
|
3857
|
-
|
|
3858
|
-
|
|
3859
|
-
loading: "Loading, please wait...",
|
|
3860
|
-
games: "games"
|
|
3807
|
+
categories: "Categories",
|
|
3808
|
+
providers: "Suppliers"
|
|
3861
3809
|
},
|
|
3862
3810
|
sl: {
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
loading: "Loading, please wait...",
|
|
3866
|
-
games: "games"
|
|
3811
|
+
categories: "Categories",
|
|
3812
|
+
providers: "Suppliers"
|
|
3867
3813
|
},
|
|
3868
3814
|
sr: {
|
|
3869
|
-
|
|
3870
|
-
|
|
3871
|
-
loading: "Loading, please wait...",
|
|
3872
|
-
games: "games"
|
|
3815
|
+
categories: "Categories",
|
|
3816
|
+
providers: "Suppliers"
|
|
3873
3817
|
},
|
|
3874
3818
|
"pt-br": {
|
|
3875
|
-
|
|
3876
|
-
|
|
3877
|
-
Loading: "Carregando, por favor espere...",
|
|
3878
|
-
games: "jogos"
|
|
3819
|
+
categories: "Categorias",
|
|
3820
|
+
providers: "Provedores"
|
|
3879
3821
|
},
|
|
3880
3822
|
"es-mx": {
|
|
3881
|
-
|
|
3882
|
-
|
|
3883
|
-
Loading: "Cargando, por favor espere...",
|
|
3884
|
-
games: "juegos"
|
|
3823
|
+
categories: "Categorias",
|
|
3824
|
+
providers: "Proveedores"
|
|
3885
3825
|
},
|
|
3886
3826
|
"en-us": {
|
|
3887
|
-
|
|
3888
|
-
|
|
3889
|
-
loading: "Loading, please wait...",
|
|
3890
|
-
games: "games"
|
|
3827
|
+
categories: "Categories",
|
|
3828
|
+
providers: "Suppliers"
|
|
3891
3829
|
}
|
|
3892
3830
|
};
|
|
3893
|
-
|
|
3894
|
-
|
|
3895
|
-
|
|
3896
|
-
|
|
3897
|
-
|
|
3898
|
-
|
|
3899
|
-
|
|
3900
|
-
|
|
3901
|
-
|
|
3902
|
-
return n[23] = t[r], n;
|
|
3903
|
-
}
|
|
3904
|
-
function Ti(e) {
|
|
3905
|
-
let t, r, n = (
|
|
3906
|
-
/*$_*/
|
|
3907
|
-
e[5]("topCategories") + ""
|
|
3908
|
-
), i, s, o, u, h = (
|
|
3909
|
-
/*$_*/
|
|
3910
|
-
e[5]("otherCategories") + ""
|
|
3911
|
-
), a, l, c = ge(
|
|
3912
|
-
/*topCategories*/
|
|
3913
|
-
e[3]
|
|
3914
|
-
), f = [];
|
|
3915
|
-
for (let g = 0; g < c.length; g += 1)
|
|
3916
|
-
f[g] = vt(xt(e, c, g));
|
|
3917
|
-
let p = ge(
|
|
3918
|
-
/*otherCategories*/
|
|
3919
|
-
e[4]
|
|
3920
|
-
), d = [];
|
|
3921
|
-
for (let g = 0; g < p.length; g += 1)
|
|
3922
|
-
d[g] = Tt(Et(e, p, g));
|
|
3923
|
-
return {
|
|
3924
|
-
c() {
|
|
3925
|
-
t = B("div"), r = B("h4"), i = G(n), s = D();
|
|
3926
|
-
for (let g = 0; g < f.length; g += 1)
|
|
3927
|
-
f[g].c();
|
|
3928
|
-
o = D(), u = B("h4"), a = G(h), l = D();
|
|
3929
|
-
for (let g = 0; g < d.length; g += 1)
|
|
3930
|
-
d[g].c();
|
|
3931
|
-
I(r, "class", "CategoryTitle"), I(u, "class", "CategoryTitle"), I(t, "class", "CasinoCategories");
|
|
3932
|
-
},
|
|
3933
|
-
m(g, E) {
|
|
3934
|
-
ee(g, t, E), x(t, r), x(r, i), x(t, s);
|
|
3935
|
-
for (let m = 0; m < f.length; m += 1)
|
|
3936
|
-
f[m] && f[m].m(t, null);
|
|
3937
|
-
x(t, o), x(t, u), x(u, a), x(t, l);
|
|
3938
|
-
for (let m = 0; m < d.length; m += 1)
|
|
3939
|
-
d[m] && d[m].m(t, null);
|
|
3940
|
-
},
|
|
3941
|
-
p(g, E) {
|
|
3942
|
-
if (E & /*$_*/
|
|
3943
|
-
32 && n !== (n = /*$_*/
|
|
3944
|
-
g[5]("topCategories") + "") && j(i, n), E & /*activecategory, topCategories, openGameCategory, $_*/
|
|
3945
|
-
105) {
|
|
3946
|
-
c = ge(
|
|
3947
|
-
/*topCategories*/
|
|
3948
|
-
g[3]
|
|
3949
|
-
);
|
|
3950
|
-
let m;
|
|
3951
|
-
for (m = 0; m < c.length; m += 1) {
|
|
3952
|
-
const T = xt(g, c, m);
|
|
3953
|
-
f[m] ? f[m].p(T, E) : (f[m] = vt(T), f[m].c(), f[m].m(t, o));
|
|
3954
|
-
}
|
|
3955
|
-
for (; m < f.length; m += 1)
|
|
3956
|
-
f[m].d(1);
|
|
3957
|
-
f.length = c.length;
|
|
3958
|
-
}
|
|
3959
|
-
if (E & /*$_*/
|
|
3960
|
-
32 && h !== (h = /*$_*/
|
|
3961
|
-
g[5]("otherCategories") + "") && j(a, h), E & /*activecategory, otherCategories, openGameCategory, $_*/
|
|
3962
|
-
113) {
|
|
3963
|
-
p = ge(
|
|
3964
|
-
/*otherCategories*/
|
|
3965
|
-
g[4]
|
|
3966
|
-
);
|
|
3967
|
-
let m;
|
|
3968
|
-
for (m = 0; m < p.length; m += 1) {
|
|
3969
|
-
const T = Et(g, p, m);
|
|
3970
|
-
d[m] ? d[m].p(T, E) : (d[m] = Tt(T), d[m].c(), d[m].m(t, null));
|
|
3971
|
-
}
|
|
3972
|
-
for (; m < d.length; m += 1)
|
|
3973
|
-
d[m].d(1);
|
|
3974
|
-
d.length = p.length;
|
|
3831
|
+
if (typeof window != "undefined") {
|
|
3832
|
+
let e = function(t) {
|
|
3833
|
+
return function(...r) {
|
|
3834
|
+
try {
|
|
3835
|
+
return t.apply(this, r);
|
|
3836
|
+
} catch (n) {
|
|
3837
|
+
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"))
|
|
3838
|
+
return !1;
|
|
3839
|
+
throw n;
|
|
3975
3840
|
}
|
|
3976
|
-
}
|
|
3977
|
-
d(g) {
|
|
3978
|
-
g && V(t), nt(f, g), nt(d, g);
|
|
3979
|
-
}
|
|
3841
|
+
};
|
|
3980
3842
|
};
|
|
3843
|
+
customElements.define = e(customElements.define), import("./CasinoCategories-Dw86jNJS.js").then(({ default: t }) => {
|
|
3844
|
+
!customElements.get("casino-categories") && customElements.define("casino-categories", t.element);
|
|
3845
|
+
});
|
|
3981
3846
|
}
|
|
3982
|
-
|
|
3983
|
-
let t
|
|
3984
|
-
|
|
3985
|
-
|
|
3986
|
-
|
|
3987
|
-
|
|
3988
|
-
|
|
3989
|
-
|
|
3990
|
-
|
|
3991
|
-
|
|
3992
|
-
|
|
3993
|
-
r && V(t);
|
|
3994
|
-
}
|
|
3847
|
+
if (typeof window != "undefined") {
|
|
3848
|
+
let e = function(t) {
|
|
3849
|
+
return function(...r) {
|
|
3850
|
+
try {
|
|
3851
|
+
return t.apply(this, r);
|
|
3852
|
+
} catch (n) {
|
|
3853
|
+
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"))
|
|
3854
|
+
return !1;
|
|
3855
|
+
throw n;
|
|
3856
|
+
}
|
|
3857
|
+
};
|
|
3995
3858
|
};
|
|
3859
|
+
customElements.define = e(customElements.define), import("./CasinoProviders-BNHmYoF1.js").then(({ default: t }) => {
|
|
3860
|
+
!customElements.get("casino-providers") && customElements.define("casino-providers", t.element);
|
|
3861
|
+
});
|
|
3996
3862
|
}
|
|
3997
|
-
|
|
3998
|
-
|
|
3999
|
-
|
|
4000
|
-
|
|
4001
|
-
|
|
4002
|
-
/*category*/
|
|
4003
|
-
e[23].games.count + ""
|
|
4004
|
-
), p, d, g = (
|
|
4005
|
-
/*$_*/
|
|
4006
|
-
e[5]("games") + ""
|
|
4007
|
-
), E, m, T, S;
|
|
4008
|
-
function w() {
|
|
4009
|
-
return (
|
|
4010
|
-
/*click_handler*/
|
|
4011
|
-
e[15](
|
|
4012
|
-
/*category*/
|
|
4013
|
-
e[23]
|
|
4014
|
-
)
|
|
4015
|
-
);
|
|
3863
|
+
const k = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
3864
|
+
function ui(e, t) {
|
|
3865
|
+
if (e) {
|
|
3866
|
+
const r = document.createElement("style");
|
|
3867
|
+
r.innerHTML = t, e.appendChild(r);
|
|
4016
3868
|
}
|
|
4017
|
-
return {
|
|
4018
|
-
c() {
|
|
4019
|
-
t = B("div"), r = B("ui-image"), s = D(), o = B("div"), u = B("p"), a = G(h), l = D(), c = B("p"), p = G(f), d = D(), E = G(g), ye(r.src, n = /*category*/
|
|
4020
|
-
e[23].icon) || R(r, "src", n), R(r, "alt", i = /*category*/
|
|
4021
|
-
e[23].name), R(r, "class", "CategoryImage"), I(o, "class", "CategoryTextContainer"), I(t, "class", m = "Category " + /*activecategory*/
|
|
4022
|
-
(e[0] === /*category*/
|
|
4023
|
-
e[23].id ? "Active" : ""));
|
|
4024
|
-
},
|
|
4025
|
-
m(A, H) {
|
|
4026
|
-
ee(A, t, H), x(t, r), x(t, s), x(t, o), x(o, u), x(u, a), x(o, l), x(o, c), x(c, p), x(c, d), x(c, E), T || (S = At(t, "click", w), T = !0);
|
|
4027
|
-
},
|
|
4028
|
-
p(A, H) {
|
|
4029
|
-
e = A, H & /*topCategories*/
|
|
4030
|
-
8 && !ye(r.src, n = /*category*/
|
|
4031
|
-
e[23].icon) && R(r, "src", n), H & /*topCategories*/
|
|
4032
|
-
8 && i !== (i = /*category*/
|
|
4033
|
-
e[23].name) && R(r, "alt", i), H & /*topCategories*/
|
|
4034
|
-
8 && h !== (h = /*category*/
|
|
4035
|
-
e[23].name + "") && j(a, h), H & /*topCategories*/
|
|
4036
|
-
8 && f !== (f = /*category*/
|
|
4037
|
-
e[23].games.count + "") && j(p, f), H & /*$_*/
|
|
4038
|
-
32 && g !== (g = /*$_*/
|
|
4039
|
-
e[5]("games") + "") && j(E, g), H & /*activecategory, topCategories*/
|
|
4040
|
-
9 && m !== (m = "Category " + /*activecategory*/
|
|
4041
|
-
(e[0] === /*category*/
|
|
4042
|
-
e[23].id ? "Active" : "")) && I(t, "class", m);
|
|
4043
|
-
},
|
|
4044
|
-
d(A) {
|
|
4045
|
-
A && V(t), T = !1, S();
|
|
4046
|
-
}
|
|
4047
|
-
};
|
|
4048
3869
|
}
|
|
4049
|
-
function
|
|
4050
|
-
|
|
4051
|
-
|
|
4052
|
-
|
|
4053
|
-
)
|
|
4054
|
-
|
|
4055
|
-
|
|
4056
|
-
)
|
|
4057
|
-
|
|
4058
|
-
|
|
4059
|
-
|
|
4060
|
-
|
|
4061
|
-
|
|
4062
|
-
|
|
4063
|
-
|
|
4064
|
-
|
|
4065
|
-
|
|
4066
|
-
|
|
4067
|
-
)
|
|
4068
|
-
|
|
4069
|
-
|
|
4070
|
-
c() {
|
|
4071
|
-
t = B("div"), r = B("ui-image"), s = D(), o = B("div"), u = B("p"), a = G(h), l = D(), c = B("p"), p = G(f), d = D(), E = G(g), m = D(), ye(r.src, n = /*category*/
|
|
4072
|
-
e[23].icon) || R(r, "src", n), R(r, "alt", i = /*category*/
|
|
4073
|
-
e[23].name), R(r, "class", "CategoryImage"), I(o, "class", "CategoryTextContainer"), I(t, "class", T = "Category " + /*activecategory*/
|
|
4074
|
-
(e[0] === /*category*/
|
|
4075
|
-
e[23].id ? "Active" : ""));
|
|
4076
|
-
},
|
|
4077
|
-
m(H, P) {
|
|
4078
|
-
ee(H, t, P), x(t, r), x(t, s), x(t, o), x(o, u), x(u, a), x(o, l), x(o, c), x(c, p), x(c, d), x(c, E), x(t, m), S || (w = At(t, "click", A), S = !0);
|
|
4079
|
-
},
|
|
4080
|
-
p(H, P) {
|
|
4081
|
-
e = H, P & /*otherCategories*/
|
|
4082
|
-
16 && !ye(r.src, n = /*category*/
|
|
4083
|
-
e[23].icon) && R(r, "src", n), P & /*otherCategories*/
|
|
4084
|
-
16 && i !== (i = /*category*/
|
|
4085
|
-
e[23].name) && R(r, "alt", i), P & /*otherCategories*/
|
|
4086
|
-
16 && h !== (h = /*category*/
|
|
4087
|
-
e[23].name + "") && j(a, h), P & /*otherCategories*/
|
|
4088
|
-
16 && f !== (f = /*category*/
|
|
4089
|
-
e[23].games.count + "") && j(p, f), P & /*$_*/
|
|
4090
|
-
32 && g !== (g = /*$_*/
|
|
4091
|
-
e[5]("games") + "") && j(E, g), P & /*activecategory, otherCategories*/
|
|
4092
|
-
17 && T !== (T = "Category " + /*activecategory*/
|
|
4093
|
-
(e[0] === /*category*/
|
|
4094
|
-
e[23].id ? "Active" : "")) && I(t, "class", T);
|
|
4095
|
-
},
|
|
4096
|
-
d(H) {
|
|
4097
|
-
H && V(t), S = !1, w();
|
|
3870
|
+
function hi(e, t) {
|
|
3871
|
+
if (!e || !t)
|
|
3872
|
+
return;
|
|
3873
|
+
const r = new URL(t);
|
|
3874
|
+
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
3875
|
+
const i = document.createElement("style");
|
|
3876
|
+
i.innerHTML = n, e && e.appendChild(i);
|
|
3877
|
+
}).catch((n) => {
|
|
3878
|
+
console.error("There was an error while trying to load client styling from URL", n);
|
|
3879
|
+
});
|
|
3880
|
+
}
|
|
3881
|
+
function li(e, t, r, n = !1) {
|
|
3882
|
+
if (!window.emMessageBus)
|
|
3883
|
+
return;
|
|
3884
|
+
if (!("adoptedStyleSheets" in Document.prototype) || !n)
|
|
3885
|
+
return r = ci(e, t), r;
|
|
3886
|
+
window[k] || (window[k] = {}), r = fi(e, t);
|
|
3887
|
+
const s = r.unsubscribe.bind(r), o = () => {
|
|
3888
|
+
if (window[k][t]) {
|
|
3889
|
+
const a = window[k][t];
|
|
3890
|
+
a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[k][t];
|
|
4098
3891
|
}
|
|
3892
|
+
s();
|
|
4099
3893
|
};
|
|
3894
|
+
return r.unsubscribe = o, r;
|
|
4100
3895
|
}
|
|
4101
|
-
function
|
|
4102
|
-
|
|
4103
|
-
|
|
4104
|
-
|
|
4105
|
-
|
|
4106
|
-
|
|
4107
|
-
|
|
4108
|
-
|
|
4109
|
-
|
|
3896
|
+
function ci(e, t) {
|
|
3897
|
+
const r = document.createElement("style");
|
|
3898
|
+
return window.emMessageBus.subscribe(t, (n) => {
|
|
3899
|
+
e && (r.innerHTML = n, e.appendChild(r));
|
|
3900
|
+
});
|
|
3901
|
+
}
|
|
3902
|
+
function fi(e, t) {
|
|
3903
|
+
return window.emMessageBus.subscribe(t, (r) => {
|
|
3904
|
+
var a;
|
|
3905
|
+
if (!e)
|
|
3906
|
+
return;
|
|
3907
|
+
const n = e.getRootNode(), i = window[k];
|
|
3908
|
+
let s = (a = i[t]) == null ? void 0 : a.sheet;
|
|
3909
|
+
s ? i[t].refCount = i[t].refCount + 1 : (s = new CSSStyleSheet(), s.replaceSync(r), i[t] = {
|
|
3910
|
+
sheet: s,
|
|
3911
|
+
refCount: 1
|
|
3912
|
+
});
|
|
3913
|
+
const o = n.adoptedStyleSheets || [];
|
|
3914
|
+
o.includes(s) || (n.adoptedStyleSheets = [...o, s]);
|
|
3915
|
+
});
|
|
3916
|
+
}
|
|
3917
|
+
function mi(e) {
|
|
3918
|
+
Yt(e, "svelte-10w1o04", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.NotVisible{display:none}.CasinoCategoriesProviders{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A))}.Header{display:flex;max-width:100%;min-width:320px;margin-bottom:14px;font-size:18px;background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A))}.HeaderButton{flex:1 2 0;min-height:48px;margin:0;border:none;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));box-shadow:1px 2px 2px rgba(var(--emw--color-gray-150, #828282), 0.1)}.HeaderButton.Active{box-shadow:none;border-bottom:2px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}");
|
|
3919
|
+
}
|
|
3920
|
+
function di(e) {
|
|
3921
|
+
let t, r, n, i, s = (
|
|
3922
|
+
/*$_*/
|
|
3923
|
+
e[12]("categories") + ""
|
|
3924
|
+
), o, a, l, u, h = (
|
|
3925
|
+
/*$_*/
|
|
3926
|
+
e[12]("providers") + ""
|
|
3927
|
+
), c, f, v, b, d, _, M, B, y, O, w, $;
|
|
4110
3928
|
return {
|
|
4111
3929
|
c() {
|
|
4112
|
-
t =
|
|
3930
|
+
t = I("div"), r = I("div"), n = I("div"), i = I("button"), o = ce(s), l = xe(), u = I("button"), c = ce(h), v = xe(), b = I("div"), d = I("casino-categories"), M = xe(), B = I("div"), y = I("casino-providers"), C(i, "class", a = "HeaderButton " + /*activeTab*/
|
|
3931
|
+
(e[11] === "categories" ? "Active" : "")), C(u, "class", f = "HeaderButton " + /*activeTab*/
|
|
3932
|
+
(e[11] === "providers" ? "Active" : "")), C(n, "class", "Header"), x(
|
|
3933
|
+
d,
|
|
3934
|
+
"endpoint",
|
|
3935
|
+
/*endpointcategories*/
|
|
3936
|
+
e[0]
|
|
3937
|
+
), x(
|
|
3938
|
+
d,
|
|
3939
|
+
"datasource",
|
|
3940
|
+
/*datasourcecategories*/
|
|
3941
|
+
e[1]
|
|
3942
|
+
), x(
|
|
3943
|
+
d,
|
|
3944
|
+
"activecategory",
|
|
3945
|
+
/*activecategory*/
|
|
3946
|
+
e[2]
|
|
3947
|
+
), x(
|
|
3948
|
+
d,
|
|
3949
|
+
"excludedflags",
|
|
3950
|
+
/*excludedflags*/
|
|
3951
|
+
e[5]
|
|
3952
|
+
), x(
|
|
3953
|
+
d,
|
|
3954
|
+
"lang",
|
|
3955
|
+
/*lang*/
|
|
3956
|
+
e[6]
|
|
3957
|
+
), x(
|
|
3958
|
+
d,
|
|
3959
|
+
"clientstyling",
|
|
3960
|
+
/*clientstyling*/
|
|
3961
|
+
e[7]
|
|
3962
|
+
), x(
|
|
3963
|
+
d,
|
|
3964
|
+
"clientstylingurl",
|
|
3965
|
+
/*clientstylingurl*/
|
|
3966
|
+
e[8]
|
|
3967
|
+
), x(
|
|
3968
|
+
d,
|
|
3969
|
+
"mbsource",
|
|
3970
|
+
/*mbsource*/
|
|
3971
|
+
e[9]
|
|
3972
|
+
), C(b, "class", _ = /*activeTab*/
|
|
3973
|
+
e[11] === "providers" ? "NotVisible" : ""), x(
|
|
3974
|
+
y,
|
|
3975
|
+
"endpoint",
|
|
3976
|
+
/*endpointproviders*/
|
|
3977
|
+
e[3]
|
|
3978
|
+
), x(
|
|
3979
|
+
y,
|
|
3980
|
+
"datasource",
|
|
3981
|
+
/*datasourceproviders*/
|
|
3982
|
+
e[4]
|
|
3983
|
+
), x(
|
|
3984
|
+
y,
|
|
3985
|
+
"lang",
|
|
3986
|
+
/*lang*/
|
|
3987
|
+
e[6]
|
|
3988
|
+
), x(
|
|
3989
|
+
y,
|
|
3990
|
+
"clientstyling",
|
|
3991
|
+
/*clientstyling*/
|
|
3992
|
+
e[7]
|
|
3993
|
+
), x(
|
|
3994
|
+
y,
|
|
3995
|
+
"clientstylingurl",
|
|
3996
|
+
/*clientstylingurl*/
|
|
3997
|
+
e[8]
|
|
3998
|
+
), x(
|
|
3999
|
+
y,
|
|
4000
|
+
"mbsource",
|
|
4001
|
+
/*mbsource*/
|
|
4002
|
+
e[9]
|
|
4003
|
+
), C(B, "class", O = /*activeTab*/
|
|
4004
|
+
e[11] === "categories" ? "NotVisible" : ""), C(r, "class", "CasinoCategoriesProviders");
|
|
4113
4005
|
},
|
|
4114
|
-
m(
|
|
4115
|
-
|
|
4006
|
+
m(E, m) {
|
|
4007
|
+
vt(E, t, m), A(t, r), A(r, n), A(n, i), A(i, o), A(n, l), A(n, u), A(u, c), A(r, v), A(r, b), A(b, d), A(r, M), A(r, B), A(B, y), e[17](t), w || ($ = [
|
|
4008
|
+
Je(
|
|
4009
|
+
i,
|
|
4010
|
+
"click",
|
|
4011
|
+
/*click_handler*/
|
|
4012
|
+
e[15]
|
|
4013
|
+
),
|
|
4014
|
+
Je(
|
|
4015
|
+
u,
|
|
4016
|
+
"click",
|
|
4017
|
+
/*click_handler_1*/
|
|
4018
|
+
e[16]
|
|
4019
|
+
)
|
|
4020
|
+
], w = !0);
|
|
4116
4021
|
},
|
|
4117
|
-
p(
|
|
4118
|
-
|
|
4022
|
+
p(E, [m]) {
|
|
4023
|
+
m & /*$_*/
|
|
4024
|
+
4096 && s !== (s = /*$_*/
|
|
4025
|
+
E[12]("categories") + "") && Ye(o, s), m & /*activeTab*/
|
|
4026
|
+
2048 && a !== (a = "HeaderButton " + /*activeTab*/
|
|
4027
|
+
(E[11] === "categories" ? "Active" : "")) && C(i, "class", a), m & /*$_*/
|
|
4028
|
+
4096 && h !== (h = /*$_*/
|
|
4029
|
+
E[12]("providers") + "") && Ye(c, h), m & /*activeTab*/
|
|
4030
|
+
2048 && f !== (f = "HeaderButton " + /*activeTab*/
|
|
4031
|
+
(E[11] === "providers" ? "Active" : "")) && C(u, "class", f), m & /*endpointcategories*/
|
|
4032
|
+
1 && x(
|
|
4033
|
+
d,
|
|
4034
|
+
"endpoint",
|
|
4035
|
+
/*endpointcategories*/
|
|
4036
|
+
E[0]
|
|
4037
|
+
), m & /*datasourcecategories*/
|
|
4038
|
+
2 && x(
|
|
4039
|
+
d,
|
|
4040
|
+
"datasource",
|
|
4041
|
+
/*datasourcecategories*/
|
|
4042
|
+
E[1]
|
|
4043
|
+
), m & /*activecategory*/
|
|
4044
|
+
4 && x(
|
|
4045
|
+
d,
|
|
4046
|
+
"activecategory",
|
|
4047
|
+
/*activecategory*/
|
|
4048
|
+
E[2]
|
|
4049
|
+
), m & /*excludedflags*/
|
|
4050
|
+
32 && x(
|
|
4051
|
+
d,
|
|
4052
|
+
"excludedflags",
|
|
4053
|
+
/*excludedflags*/
|
|
4054
|
+
E[5]
|
|
4055
|
+
), m & /*lang*/
|
|
4056
|
+
64 && x(
|
|
4057
|
+
d,
|
|
4058
|
+
"lang",
|
|
4059
|
+
/*lang*/
|
|
4060
|
+
E[6]
|
|
4061
|
+
), m & /*clientstyling*/
|
|
4062
|
+
128 && x(
|
|
4063
|
+
d,
|
|
4064
|
+
"clientstyling",
|
|
4065
|
+
/*clientstyling*/
|
|
4066
|
+
E[7]
|
|
4067
|
+
), m & /*clientstylingurl*/
|
|
4068
|
+
256 && x(
|
|
4069
|
+
d,
|
|
4070
|
+
"clientstylingurl",
|
|
4071
|
+
/*clientstylingurl*/
|
|
4072
|
+
E[8]
|
|
4073
|
+
), m & /*mbsource*/
|
|
4074
|
+
512 && x(
|
|
4075
|
+
d,
|
|
4076
|
+
"mbsource",
|
|
4077
|
+
/*mbsource*/
|
|
4078
|
+
E[9]
|
|
4079
|
+
), m & /*activeTab*/
|
|
4080
|
+
2048 && _ !== (_ = /*activeTab*/
|
|
4081
|
+
E[11] === "providers" ? "NotVisible" : "") && C(b, "class", _), m & /*endpointproviders*/
|
|
4082
|
+
8 && x(
|
|
4083
|
+
y,
|
|
4084
|
+
"endpoint",
|
|
4085
|
+
/*endpointproviders*/
|
|
4086
|
+
E[3]
|
|
4087
|
+
), m & /*datasourceproviders*/
|
|
4088
|
+
16 && x(
|
|
4089
|
+
y,
|
|
4090
|
+
"datasource",
|
|
4091
|
+
/*datasourceproviders*/
|
|
4092
|
+
E[4]
|
|
4093
|
+
), m & /*lang*/
|
|
4094
|
+
64 && x(
|
|
4095
|
+
y,
|
|
4096
|
+
"lang",
|
|
4097
|
+
/*lang*/
|
|
4098
|
+
E[6]
|
|
4099
|
+
), m & /*clientstyling*/
|
|
4100
|
+
128 && x(
|
|
4101
|
+
y,
|
|
4102
|
+
"clientstyling",
|
|
4103
|
+
/*clientstyling*/
|
|
4104
|
+
E[7]
|
|
4105
|
+
), m & /*clientstylingurl*/
|
|
4106
|
+
256 && x(
|
|
4107
|
+
y,
|
|
4108
|
+
"clientstylingurl",
|
|
4109
|
+
/*clientstylingurl*/
|
|
4110
|
+
E[8]
|
|
4111
|
+
), m & /*mbsource*/
|
|
4112
|
+
512 && x(
|
|
4113
|
+
y,
|
|
4114
|
+
"mbsource",
|
|
4115
|
+
/*mbsource*/
|
|
4116
|
+
E[9]
|
|
4117
|
+
), m & /*activeTab*/
|
|
4118
|
+
2048 && O !== (O = /*activeTab*/
|
|
4119
|
+
E[11] === "categories" ? "NotVisible" : "") && C(B, "class", O);
|
|
4119
4120
|
},
|
|
4120
4121
|
i: L,
|
|
4121
4122
|
o: L,
|
|
4122
|
-
d(
|
|
4123
|
-
|
|
4123
|
+
d(E) {
|
|
4124
|
+
E && je(t), e[17](null), w = !1, q($);
|
|
4124
4125
|
}
|
|
4125
4126
|
};
|
|
4126
4127
|
}
|
|
4127
|
-
function
|
|
4128
|
+
function pi(e, t, r) {
|
|
4128
4129
|
let n;
|
|
4129
|
-
|
|
4130
|
-
let {
|
|
4131
|
-
const
|
|
4132
|
-
|
|
4133
|
-
|
|
4134
|
-
|
|
4135
|
-
});
|
|
4136
|
-
const T = () => {
|
|
4137
|
-
fetch(c).then(($) => $.json()).then(($) => {
|
|
4138
|
-
Object.keys($).forEach((fe) => {
|
|
4139
|
-
yt(fe, $[fe]);
|
|
4130
|
+
Jt(e, oi, (m) => r(12, n = m));
|
|
4131
|
+
let { endpointcategories: i = "" } = t, { datasourcecategories: s = "" } = t, { activecategory: o = "" } = t, { endpointproviders: a = "" } = t, { datasourceproviders: l = "" } = t, { excludedflags: u = "" } = t, { lang: h = "en" } = t, { clientstyling: c = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: v = "" } = t, { mbsource: b } = t, d = "categories", _, M;
|
|
4132
|
+
const B = () => {
|
|
4133
|
+
fetch(v).then((G) => G.json()).then((G) => {
|
|
4134
|
+
Object.keys(G).forEach((Xe) => {
|
|
4135
|
+
mt(Xe, G[Xe]);
|
|
4140
4136
|
});
|
|
4141
|
-
}).catch((
|
|
4142
|
-
console.log(
|
|
4143
|
-
});
|
|
4144
|
-
}, S = () => {
|
|
4145
|
-
r(2, d = !0);
|
|
4146
|
-
const b = new URL(`${i}/v1/casino/groups/${s}`);
|
|
4147
|
-
b.searchParams.append("language", o), fetch(b).then(($) => $.json()).then(($) => {
|
|
4148
|
-
r(2, d = !1);
|
|
4149
|
-
const fe = h.split(",").map((k) => k.trim());
|
|
4150
|
-
g.push(...$.items);
|
|
4151
|
-
const qe = g.filter((k) => !fe.some((tr) => {
|
|
4152
|
-
var Je;
|
|
4153
|
-
return ((Je = k.flags) == null ? void 0 : Je.indexOf(tr)) >= 0;
|
|
4154
|
-
}));
|
|
4155
|
-
r(3, E = qe.filter((k) => k.isTopCategory === !0)), r(4, m = qe.filter((k) => k.isTopCategory === !1));
|
|
4137
|
+
}).catch((G) => {
|
|
4138
|
+
console.log(G);
|
|
4156
4139
|
});
|
|
4157
|
-
}, w = (b) => {
|
|
4158
|
-
window.postMessage({ type: "OpenGameCategory", categoryId: b }, window.location.href);
|
|
4159
|
-
}, A = () => {
|
|
4160
|
-
xi(o);
|
|
4161
4140
|
};
|
|
4162
|
-
|
|
4141
|
+
Object.keys(dt).forEach((m) => {
|
|
4142
|
+
mt(m, dt[m]);
|
|
4143
|
+
});
|
|
4144
|
+
const y = (m) => {
|
|
4145
|
+
d !== m && r(11, d = m);
|
|
4146
|
+
}, O = () => {
|
|
4147
|
+
ai(h);
|
|
4148
|
+
};
|
|
4149
|
+
ir(() => () => {
|
|
4163
4150
|
});
|
|
4164
|
-
const
|
|
4165
|
-
function
|
|
4166
|
-
|
|
4167
|
-
|
|
4151
|
+
const w = () => y("categories"), $ = () => y("providers");
|
|
4152
|
+
function E(m) {
|
|
4153
|
+
Pe[m ? "unshift" : "push"](() => {
|
|
4154
|
+
_ = m, r(10, _);
|
|
4168
4155
|
});
|
|
4169
4156
|
}
|
|
4170
|
-
return e.$$set = (
|
|
4171
|
-
"
|
|
4157
|
+
return e.$$set = (m) => {
|
|
4158
|
+
"endpointcategories" in m && r(0, i = m.endpointcategories), "datasourcecategories" in m && r(1, s = m.datasourcecategories), "activecategory" in m && r(2, o = m.activecategory), "endpointproviders" in m && r(3, a = m.endpointproviders), "datasourceproviders" in m && r(4, l = m.datasourceproviders), "excludedflags" in m && r(5, u = m.excludedflags), "lang" in m && r(6, h = m.lang), "clientstyling" in m && r(7, c = m.clientstyling), "clientstylingurl" in m && r(8, f = m.clientstylingurl), "translationurl" in m && r(14, v = m.translationurl), "mbsource" in m && r(9, b = m.mbsource);
|
|
4172
4159
|
}, e.$$.update = () => {
|
|
4173
|
-
e.$$.dirty & /*
|
|
4174
|
-
|
|
4175
|
-
|
|
4176
|
-
|
|
4177
|
-
|
|
4178
|
-
|
|
4179
|
-
16386 && f && p && Ei(p, `${f}.Style`);
|
|
4160
|
+
e.$$.dirty & /*translationurl*/
|
|
4161
|
+
16384 && v && B(), e.$$.dirty & /*lang*/
|
|
4162
|
+
64 && h && O(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4163
|
+
1152 && c && _ && ui(_, c), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4164
|
+
1280 && f && _ && hi(_, f), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4165
|
+
1536 && b && _ && li(_, `${b}.Style`, M);
|
|
4180
4166
|
}, [
|
|
4181
|
-
u,
|
|
4182
|
-
p,
|
|
4183
|
-
d,
|
|
4184
|
-
E,
|
|
4185
|
-
m,
|
|
4186
|
-
n,
|
|
4187
|
-
w,
|
|
4188
4167
|
i,
|
|
4189
4168
|
s,
|
|
4190
4169
|
o,
|
|
4191
|
-
h,
|
|
4192
4170
|
a,
|
|
4193
4171
|
l,
|
|
4172
|
+
u,
|
|
4173
|
+
h,
|
|
4194
4174
|
c,
|
|
4195
4175
|
f,
|
|
4196
|
-
|
|
4197
|
-
|
|
4198
|
-
|
|
4176
|
+
b,
|
|
4177
|
+
_,
|
|
4178
|
+
d,
|
|
4179
|
+
n,
|
|
4180
|
+
y,
|
|
4181
|
+
v,
|
|
4182
|
+
w,
|
|
4183
|
+
$,
|
|
4184
|
+
E
|
|
4199
4185
|
];
|
|
4200
4186
|
}
|
|
4201
|
-
class
|
|
4187
|
+
class kt extends gr {
|
|
4202
4188
|
constructor(t) {
|
|
4203
|
-
super(),
|
|
4189
|
+
super(), dr(
|
|
4204
4190
|
this,
|
|
4205
4191
|
t,
|
|
4206
|
-
|
|
4207
|
-
|
|
4208
|
-
|
|
4192
|
+
pi,
|
|
4193
|
+
di,
|
|
4194
|
+
gt,
|
|
4209
4195
|
{
|
|
4210
|
-
|
|
4211
|
-
|
|
4212
|
-
|
|
4213
|
-
|
|
4214
|
-
|
|
4215
|
-
|
|
4216
|
-
|
|
4217
|
-
|
|
4218
|
-
|
|
4196
|
+
endpointcategories: 0,
|
|
4197
|
+
datasourcecategories: 1,
|
|
4198
|
+
activecategory: 2,
|
|
4199
|
+
endpointproviders: 3,
|
|
4200
|
+
datasourceproviders: 4,
|
|
4201
|
+
excludedflags: 5,
|
|
4202
|
+
lang: 6,
|
|
4203
|
+
clientstyling: 7,
|
|
4204
|
+
clientstylingurl: 8,
|
|
4205
|
+
translationurl: 14,
|
|
4206
|
+
mbsource: 9
|
|
4219
4207
|
},
|
|
4220
|
-
|
|
4208
|
+
mi
|
|
4221
4209
|
);
|
|
4222
4210
|
}
|
|
4223
|
-
get
|
|
4224
|
-
return this.$$.ctx[
|
|
4225
|
-
}
|
|
4226
|
-
set endpoint(t) {
|
|
4227
|
-
this.$$set({ endpoint: t }), M();
|
|
4228
|
-
}
|
|
4229
|
-
get datasource() {
|
|
4230
|
-
return this.$$.ctx[8];
|
|
4211
|
+
get endpointcategories() {
|
|
4212
|
+
return this.$$.ctx[0];
|
|
4231
4213
|
}
|
|
4232
|
-
set
|
|
4233
|
-
this.$$set({
|
|
4214
|
+
set endpointcategories(t) {
|
|
4215
|
+
this.$$set({ endpointcategories: t }), P();
|
|
4234
4216
|
}
|
|
4235
|
-
get
|
|
4236
|
-
return this.$$.ctx[
|
|
4217
|
+
get datasourcecategories() {
|
|
4218
|
+
return this.$$.ctx[1];
|
|
4237
4219
|
}
|
|
4238
|
-
set
|
|
4239
|
-
this.$$set({
|
|
4220
|
+
set datasourcecategories(t) {
|
|
4221
|
+
this.$$set({ datasourcecategories: t }), P();
|
|
4240
4222
|
}
|
|
4241
4223
|
get activecategory() {
|
|
4242
|
-
return this.$$.ctx[
|
|
4224
|
+
return this.$$.ctx[2];
|
|
4243
4225
|
}
|
|
4244
4226
|
set activecategory(t) {
|
|
4245
|
-
this.$$set({ activecategory: t }),
|
|
4227
|
+
this.$$set({ activecategory: t }), P();
|
|
4228
|
+
}
|
|
4229
|
+
get endpointproviders() {
|
|
4230
|
+
return this.$$.ctx[3];
|
|
4231
|
+
}
|
|
4232
|
+
set endpointproviders(t) {
|
|
4233
|
+
this.$$set({ endpointproviders: t }), P();
|
|
4234
|
+
}
|
|
4235
|
+
get datasourceproviders() {
|
|
4236
|
+
return this.$$.ctx[4];
|
|
4237
|
+
}
|
|
4238
|
+
set datasourceproviders(t) {
|
|
4239
|
+
this.$$set({ datasourceproviders: t }), P();
|
|
4246
4240
|
}
|
|
4247
4241
|
get excludedflags() {
|
|
4248
|
-
return this.$$.ctx[
|
|
4242
|
+
return this.$$.ctx[5];
|
|
4249
4243
|
}
|
|
4250
4244
|
set excludedflags(t) {
|
|
4251
|
-
this.$$set({ excludedflags: t }),
|
|
4245
|
+
this.$$set({ excludedflags: t }), P();
|
|
4246
|
+
}
|
|
4247
|
+
get lang() {
|
|
4248
|
+
return this.$$.ctx[6];
|
|
4249
|
+
}
|
|
4250
|
+
set lang(t) {
|
|
4251
|
+
this.$$set({ lang: t }), P();
|
|
4252
4252
|
}
|
|
4253
4253
|
get clientstyling() {
|
|
4254
|
-
return this.$$.ctx[
|
|
4254
|
+
return this.$$.ctx[7];
|
|
4255
4255
|
}
|
|
4256
4256
|
set clientstyling(t) {
|
|
4257
|
-
this.$$set({ clientstyling: t }),
|
|
4257
|
+
this.$$set({ clientstyling: t }), P();
|
|
4258
4258
|
}
|
|
4259
4259
|
get clientstylingurl() {
|
|
4260
|
-
return this.$$.ctx[
|
|
4260
|
+
return this.$$.ctx[8];
|
|
4261
4261
|
}
|
|
4262
4262
|
set clientstylingurl(t) {
|
|
4263
|
-
this.$$set({ clientstylingurl: t }),
|
|
4263
|
+
this.$$set({ clientstylingurl: t }), P();
|
|
4264
4264
|
}
|
|
4265
4265
|
get translationurl() {
|
|
4266
|
-
return this.$$.ctx[
|
|
4266
|
+
return this.$$.ctx[14];
|
|
4267
4267
|
}
|
|
4268
4268
|
set translationurl(t) {
|
|
4269
|
-
this.$$set({ translationurl: t }),
|
|
4269
|
+
this.$$set({ translationurl: t }), P();
|
|
4270
4270
|
}
|
|
4271
4271
|
get mbsource() {
|
|
4272
|
-
return this.$$.ctx[
|
|
4272
|
+
return this.$$.ctx[9];
|
|
4273
4273
|
}
|
|
4274
4274
|
set mbsource(t) {
|
|
4275
|
-
this.$$set({ mbsource: t }),
|
|
4275
|
+
this.$$set({ mbsource: t }), P();
|
|
4276
4276
|
}
|
|
4277
4277
|
}
|
|
4278
|
-
|
|
4279
|
-
const
|
|
4278
|
+
pr(kt, { endpointcategories: {}, datasourcecategories: {}, activecategory: {}, endpointproviders: {}, datasourceproviders: {}, excludedflags: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
|
4279
|
+
const xi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4280
4280
|
__proto__: null,
|
|
4281
|
-
default:
|
|
4281
|
+
default: kt
|
|
4282
4282
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4283
4283
|
export {
|
|
4284
|
-
|
|
4285
|
-
|
|
4286
|
-
|
|
4287
|
-
|
|
4288
|
-
|
|
4289
|
-
|
|
4290
|
-
|
|
4291
|
-
|
|
4292
|
-
|
|
4293
|
-
|
|
4294
|
-
|
|
4295
|
-
|
|
4296
|
-
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
|
|
4300
|
-
|
|
4301
|
-
|
|
4302
|
-
B as m,
|
|
4284
|
+
Y as $,
|
|
4285
|
+
oi as A,
|
|
4286
|
+
yi as B,
|
|
4287
|
+
xi as C,
|
|
4288
|
+
gr as S,
|
|
4289
|
+
Dt as a,
|
|
4290
|
+
Yt as b,
|
|
4291
|
+
vt as c,
|
|
4292
|
+
je as d,
|
|
4293
|
+
I as e,
|
|
4294
|
+
P as f,
|
|
4295
|
+
Jt as g,
|
|
4296
|
+
Pe as h,
|
|
4297
|
+
dr as i,
|
|
4298
|
+
C as j,
|
|
4299
|
+
Ei as k,
|
|
4300
|
+
vi as l,
|
|
4301
|
+
Ye as m,
|
|
4303
4302
|
L as n,
|
|
4304
|
-
|
|
4305
|
-
|
|
4306
|
-
|
|
4307
|
-
|
|
4308
|
-
|
|
4309
|
-
|
|
4310
|
-
|
|
4311
|
-
|
|
4312
|
-
|
|
4313
|
-
|
|
4314
|
-
|
|
4315
|
-
|
|
4303
|
+
ir as o,
|
|
4304
|
+
A as p,
|
|
4305
|
+
xe as q,
|
|
4306
|
+
bi as r,
|
|
4307
|
+
gt as s,
|
|
4308
|
+
ce as t,
|
|
4309
|
+
x as u,
|
|
4310
|
+
Je as v,
|
|
4311
|
+
ui as w,
|
|
4312
|
+
hi as x,
|
|
4313
|
+
li as y,
|
|
4314
|
+
pr as z
|
|
4316
4315
|
};
|