@everymatrix/casino-jackpot-banner 1.60.1 → 1.61.0
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/{CasinoJackpotBanner-ulJ9t0OI.js → CasinoJackpotBanner-B_oK6P71.js} +1102 -1119
- package/components/CasinoJackpotBanner-BfaEAZVA.cjs +18 -0
- package/components/{CasinoJackpotBanner-DA157WfZ.js → CasinoJackpotBanner-Cl10qz21.js} +884 -901
- package/es2015/casino-jackpot-banner.cjs +1 -1
- package/es2015/casino-jackpot-banner.js +1 -1
- package/esnext/casino-jackpot-banner.js +1 -1
- package/package.json +1 -1
- package/stencil/app-globals-0f993ce5-D-kw1sls.js +5 -0
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
- package/stencil/index-b7bbd57e-BBUBsGhp.js +550 -0
- package/stencil/index-b7bbd57e-SuDXAV6_.cjs +1 -0
- package/stencil/index-b7bbd57e-wJC_uAuk.js +534 -0
- package/stencil/ui-image-38c3c15f-ByZECnci.js +39 -0
- package/stencil/ui-image-38c3c15f-D_V48h1L.js +39 -0
- package/stencil/ui-image-38c3c15f-VguNkCIq.cjs +1 -0
- package/stencil/ui-image-BNrzgSpe.js +11 -0
- package/stencil/ui-image-CLghOqUz.cjs +1 -0
- package/stencil/ui-image-CPH6BqjQ.js +29 -0
- package/components/CasinoJackpotBanner-CddJKifU.cjs +0 -18
|
@@ -1,61 +1,62 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var Qr = Object.defineProperty, Yr = Object.defineProperties;
|
|
2
|
+
var qr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var Gt = Object.getOwnPropertySymbols;
|
|
4
|
+
var Kr = Object.prototype.hasOwnProperty, en = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var ct = (e, t, r) => t in e ? Qr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, jt = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
Kr.call(t, r) && ct(e, r, t[r]);
|
|
8
|
+
if (Gt)
|
|
9
|
+
for (var r of Gt(t))
|
|
10
|
+
en.call(t, r) && ct(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var
|
|
14
|
-
var
|
|
15
|
-
var
|
|
12
|
+
}, $t = (e, t) => Yr(e, qr(t));
|
|
13
|
+
var $ = (e, t, r) => (ct(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var kt = (e, t, r) => new Promise((n, i) => {
|
|
15
|
+
var s = (l) => {
|
|
16
16
|
try {
|
|
17
17
|
a(r.next(l));
|
|
18
18
|
} catch (u) {
|
|
19
19
|
i(u);
|
|
20
20
|
}
|
|
21
|
-
},
|
|
21
|
+
}, o = (l) => {
|
|
22
22
|
try {
|
|
23
23
|
a(r.throw(l));
|
|
24
24
|
} catch (u) {
|
|
25
25
|
i(u);
|
|
26
26
|
}
|
|
27
|
-
}, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(
|
|
27
|
+
}, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(s, o);
|
|
28
28
|
a((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
|
|
30
|
+
import "../stencil/ui-image-CPH6BqjQ.js";
|
|
31
|
+
function j() {
|
|
31
32
|
}
|
|
32
|
-
function
|
|
33
|
+
function br(e) {
|
|
33
34
|
return e();
|
|
34
35
|
}
|
|
35
|
-
function
|
|
36
|
+
function Ft() {
|
|
36
37
|
return /* @__PURE__ */ Object.create(null);
|
|
37
38
|
}
|
|
38
|
-
function
|
|
39
|
-
e.forEach(
|
|
39
|
+
function Ve(e) {
|
|
40
|
+
e.forEach(br);
|
|
40
41
|
}
|
|
41
42
|
function Mt(e) {
|
|
42
43
|
return typeof e == "function";
|
|
43
44
|
}
|
|
44
|
-
function
|
|
45
|
+
function gr(e, t) {
|
|
45
46
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
47
|
}
|
|
47
|
-
let
|
|
48
|
-
function
|
|
49
|
-
return e === t ? !0 : (
|
|
48
|
+
let Ze;
|
|
49
|
+
function k(e, t) {
|
|
50
|
+
return e === t ? !0 : (Ze || (Ze = document.createElement("a")), Ze.href = t, e === Ze.href);
|
|
50
51
|
}
|
|
51
|
-
function
|
|
52
|
+
function tn(e) {
|
|
52
53
|
return Object.keys(e).length === 0;
|
|
53
54
|
}
|
|
54
|
-
function
|
|
55
|
+
function rn(e, ...t) {
|
|
55
56
|
if (e == null) {
|
|
56
57
|
for (const n of t)
|
|
57
58
|
n(void 0);
|
|
58
|
-
return
|
|
59
|
+
return j;
|
|
59
60
|
}
|
|
60
61
|
const r = e.subscribe(...t);
|
|
61
62
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
@@ -63,14 +64,14 @@ function sn(e, ...t) {
|
|
|
63
64
|
function d(e, t) {
|
|
64
65
|
e.appendChild(t);
|
|
65
66
|
}
|
|
66
|
-
function
|
|
67
|
-
const n =
|
|
67
|
+
function nn(e, t, r) {
|
|
68
|
+
const n = sn(e);
|
|
68
69
|
if (!n.getElementById(t)) {
|
|
69
|
-
const i =
|
|
70
|
-
i.id = t, i.textContent = r,
|
|
70
|
+
const i = m("style");
|
|
71
|
+
i.id = t, i.textContent = r, on(n, i);
|
|
71
72
|
}
|
|
72
73
|
}
|
|
73
|
-
function
|
|
74
|
+
function sn(e) {
|
|
74
75
|
if (!e)
|
|
75
76
|
return document;
|
|
76
77
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -80,52 +81,56 @@ function un(e) {
|
|
|
80
81
|
t
|
|
81
82
|
) : e.ownerDocument;
|
|
82
83
|
}
|
|
83
|
-
function
|
|
84
|
+
function on(e, t) {
|
|
84
85
|
return d(
|
|
85
86
|
/** @type {Document} */
|
|
86
87
|
e.head || e,
|
|
87
88
|
t
|
|
88
89
|
), t.sheet;
|
|
89
90
|
}
|
|
90
|
-
function
|
|
91
|
+
function ee(e, t, r) {
|
|
91
92
|
e.insertBefore(t, r || null);
|
|
92
93
|
}
|
|
93
|
-
function
|
|
94
|
+
function X(e) {
|
|
94
95
|
e.parentNode && e.parentNode.removeChild(e);
|
|
95
96
|
}
|
|
96
|
-
function
|
|
97
|
+
function an(e, t) {
|
|
97
98
|
for (let r = 0; r < e.length; r += 1)
|
|
98
99
|
e[r] && e[r].d(t);
|
|
99
100
|
}
|
|
100
|
-
function
|
|
101
|
+
function m(e) {
|
|
101
102
|
return document.createElement(e);
|
|
102
103
|
}
|
|
103
|
-
function
|
|
104
|
+
function M(e) {
|
|
104
105
|
return document.createTextNode(e);
|
|
105
106
|
}
|
|
106
|
-
function
|
|
107
|
-
return
|
|
107
|
+
function K() {
|
|
108
|
+
return M(" ");
|
|
108
109
|
}
|
|
109
|
-
function
|
|
110
|
-
return
|
|
110
|
+
function un() {
|
|
111
|
+
return M("");
|
|
111
112
|
}
|
|
112
|
-
function
|
|
113
|
+
function ln(e, t, r, n) {
|
|
113
114
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
114
115
|
}
|
|
115
|
-
function
|
|
116
|
+
function _(e, t, r) {
|
|
116
117
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
117
118
|
}
|
|
118
|
-
function
|
|
119
|
+
function C(e, t, r) {
|
|
120
|
+
const n = t.toLowerCase();
|
|
121
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : _(e, t, r);
|
|
122
|
+
}
|
|
123
|
+
function hn(e) {
|
|
119
124
|
return Array.from(e.childNodes);
|
|
120
125
|
}
|
|
121
|
-
function
|
|
126
|
+
function D(e, t) {
|
|
122
127
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
123
128
|
t);
|
|
124
129
|
}
|
|
125
|
-
function
|
|
130
|
+
function Qe(e, t, r, n) {
|
|
126
131
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
127
132
|
}
|
|
128
|
-
function
|
|
133
|
+
function cn(e) {
|
|
129
134
|
const t = {};
|
|
130
135
|
return e.childNodes.forEach(
|
|
131
136
|
/** @param {Element} node */
|
|
@@ -134,101 +139,101 @@ function dn(e) {
|
|
|
134
139
|
}
|
|
135
140
|
), t;
|
|
136
141
|
}
|
|
137
|
-
let
|
|
138
|
-
function
|
|
139
|
-
|
|
142
|
+
let $e;
|
|
143
|
+
function je(e) {
|
|
144
|
+
$e = e;
|
|
140
145
|
}
|
|
141
|
-
function
|
|
142
|
-
if (
|
|
146
|
+
function yr() {
|
|
147
|
+
if (!$e)
|
|
143
148
|
throw new Error("Function called outside component initialization");
|
|
144
|
-
return
|
|
149
|
+
return $e;
|
|
145
150
|
}
|
|
146
|
-
function
|
|
147
|
-
|
|
151
|
+
function fn(e) {
|
|
152
|
+
yr().$$.on_mount.push(e);
|
|
148
153
|
}
|
|
149
|
-
function
|
|
150
|
-
|
|
154
|
+
function pn(e) {
|
|
155
|
+
yr().$$.on_destroy.push(e);
|
|
151
156
|
}
|
|
152
|
-
const
|
|
153
|
-
let
|
|
154
|
-
const
|
|
157
|
+
const Te = [], vt = [];
|
|
158
|
+
let we = [];
|
|
159
|
+
const Vt = [], dn = /* @__PURE__ */ Promise.resolve();
|
|
155
160
|
let _t = !1;
|
|
156
|
-
function
|
|
157
|
-
_t || (_t = !0,
|
|
161
|
+
function mn() {
|
|
162
|
+
_t || (_t = !0, dn.then(O));
|
|
158
163
|
}
|
|
159
|
-
function
|
|
160
|
-
|
|
164
|
+
function xt(e) {
|
|
165
|
+
we.push(e);
|
|
161
166
|
}
|
|
162
|
-
const
|
|
167
|
+
const ft = /* @__PURE__ */ new Set();
|
|
163
168
|
let Ee = 0;
|
|
164
|
-
function
|
|
169
|
+
function O() {
|
|
165
170
|
if (Ee !== 0)
|
|
166
171
|
return;
|
|
167
|
-
const e =
|
|
172
|
+
const e = $e;
|
|
168
173
|
do {
|
|
169
174
|
try {
|
|
170
|
-
for (; Ee <
|
|
171
|
-
const t =
|
|
172
|
-
Ee++,
|
|
175
|
+
for (; Ee < Te.length; ) {
|
|
176
|
+
const t = Te[Ee];
|
|
177
|
+
Ee++, je(t), bn(t.$$);
|
|
173
178
|
}
|
|
174
179
|
} catch (t) {
|
|
175
|
-
throw
|
|
180
|
+
throw Te.length = 0, Ee = 0, t;
|
|
176
181
|
}
|
|
177
|
-
for (
|
|
182
|
+
for (je(null), Te.length = 0, Ee = 0; vt.length; )
|
|
178
183
|
vt.pop()();
|
|
179
|
-
for (let t = 0; t <
|
|
180
|
-
const r =
|
|
181
|
-
|
|
184
|
+
for (let t = 0; t < we.length; t += 1) {
|
|
185
|
+
const r = we[t];
|
|
186
|
+
ft.has(r) || (ft.add(r), r());
|
|
182
187
|
}
|
|
183
|
-
|
|
184
|
-
} while (
|
|
185
|
-
for (;
|
|
186
|
-
|
|
187
|
-
_t = !1,
|
|
188
|
+
we.length = 0;
|
|
189
|
+
} while (Te.length);
|
|
190
|
+
for (; Vt.length; )
|
|
191
|
+
Vt.pop()();
|
|
192
|
+
_t = !1, ft.clear(), je(e);
|
|
188
193
|
}
|
|
189
|
-
function
|
|
194
|
+
function bn(e) {
|
|
190
195
|
if (e.fragment !== null) {
|
|
191
|
-
e.update(),
|
|
196
|
+
e.update(), Ve(e.before_update);
|
|
192
197
|
const t = e.dirty;
|
|
193
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
198
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(xt);
|
|
194
199
|
}
|
|
195
200
|
}
|
|
196
|
-
function
|
|
201
|
+
function gn(e) {
|
|
197
202
|
const t = [], r = [];
|
|
198
|
-
|
|
203
|
+
we.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), we = t;
|
|
199
204
|
}
|
|
200
|
-
const
|
|
201
|
-
function
|
|
202
|
-
e && e.i && (
|
|
205
|
+
const yn = /* @__PURE__ */ new Set();
|
|
206
|
+
function vn(e, t) {
|
|
207
|
+
e && e.i && (yn.delete(e), e.i(t));
|
|
203
208
|
}
|
|
204
|
-
function
|
|
209
|
+
function Wt(e) {
|
|
205
210
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
206
211
|
}
|
|
207
|
-
function
|
|
212
|
+
function _n(e, t, r) {
|
|
208
213
|
const { fragment: n, after_update: i } = e.$$;
|
|
209
|
-
n && n.m(t, r),
|
|
210
|
-
const
|
|
211
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...
|
|
212
|
-
}), i.forEach(
|
|
214
|
+
n && n.m(t, r), xt(() => {
|
|
215
|
+
const s = e.$$.on_mount.map(br).filter(Mt);
|
|
216
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Ve(s), e.$$.on_mount = [];
|
|
217
|
+
}), i.forEach(xt);
|
|
213
218
|
}
|
|
214
|
-
function
|
|
219
|
+
function xn(e, t) {
|
|
215
220
|
const r = e.$$;
|
|
216
|
-
r.fragment !== null && (
|
|
221
|
+
r.fragment !== null && (gn(r.after_update), Ve(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
217
222
|
}
|
|
218
|
-
function
|
|
219
|
-
e.$$.dirty[0] === -1 && (
|
|
223
|
+
function En(e, t) {
|
|
224
|
+
e.$$.dirty[0] === -1 && (Te.push(e), mn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
220
225
|
}
|
|
221
|
-
function
|
|
222
|
-
const l =
|
|
223
|
-
|
|
226
|
+
function Sn(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
227
|
+
const l = $e;
|
|
228
|
+
je(e);
|
|
224
229
|
const u = e.$$ = {
|
|
225
230
|
fragment: null,
|
|
226
231
|
ctx: [],
|
|
227
232
|
// state
|
|
228
|
-
props:
|
|
229
|
-
update:
|
|
233
|
+
props: s,
|
|
234
|
+
update: j,
|
|
230
235
|
not_equal: i,
|
|
231
|
-
bound:
|
|
236
|
+
bound: Ft(),
|
|
232
237
|
// lifecycle
|
|
233
238
|
on_mount: [],
|
|
234
239
|
on_destroy: [],
|
|
@@ -237,48 +242,48 @@ function Hn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
237
242
|
after_update: [],
|
|
238
243
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
239
244
|
// everything else
|
|
240
|
-
callbacks:
|
|
245
|
+
callbacks: Ft(),
|
|
241
246
|
dirty: a,
|
|
242
247
|
skip_bound: !1,
|
|
243
248
|
root: t.target || l.$$.root
|
|
244
249
|
};
|
|
245
|
-
|
|
250
|
+
o && o(u.root);
|
|
246
251
|
let h = !1;
|
|
247
|
-
if (u.ctx = r ? r(e, t.props || {}, (f, p, ...
|
|
248
|
-
const
|
|
249
|
-
return u.ctx && i(u.ctx[f], u.ctx[f] =
|
|
250
|
-
}) : [], u.update(), h = !0,
|
|
252
|
+
if (u.ctx = r ? r(e, t.props || {}, (f, p, ...b) => {
|
|
253
|
+
const g = b.length ? b[0] : p;
|
|
254
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = g) && (!u.skip_bound && u.bound[f] && u.bound[f](g), h && En(e, f)), p;
|
|
255
|
+
}) : [], u.update(), h = !0, Ve(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
251
256
|
if (t.hydrate) {
|
|
252
|
-
const f =
|
|
253
|
-
u.fragment && u.fragment.l(f), f.forEach(
|
|
257
|
+
const f = hn(t.target);
|
|
258
|
+
u.fragment && u.fragment.l(f), f.forEach(X);
|
|
254
259
|
} else
|
|
255
260
|
u.fragment && u.fragment.c();
|
|
256
|
-
t.intro &&
|
|
261
|
+
t.intro && vn(e.$$.fragment), _n(e, t.target, t.anchor), O();
|
|
257
262
|
}
|
|
258
|
-
|
|
263
|
+
je(l);
|
|
259
264
|
}
|
|
260
|
-
let
|
|
261
|
-
typeof HTMLElement == "function" && (
|
|
265
|
+
let vr;
|
|
266
|
+
typeof HTMLElement == "function" && (vr = class extends HTMLElement {
|
|
262
267
|
constructor(t, r, n) {
|
|
263
268
|
super();
|
|
264
269
|
/** The Svelte component constructor */
|
|
265
|
-
|
|
270
|
+
$(this, "$$ctor");
|
|
266
271
|
/** Slots */
|
|
267
|
-
|
|
272
|
+
$(this, "$$s");
|
|
268
273
|
/** The Svelte component instance */
|
|
269
|
-
|
|
274
|
+
$(this, "$$c");
|
|
270
275
|
/** Whether or not the custom element is connected */
|
|
271
|
-
|
|
276
|
+
$(this, "$$cn", !1);
|
|
272
277
|
/** Component props data */
|
|
273
|
-
|
|
278
|
+
$(this, "$$d", {});
|
|
274
279
|
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
275
|
-
|
|
280
|
+
$(this, "$$r", !1);
|
|
276
281
|
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
277
|
-
|
|
282
|
+
$(this, "$$p_d", {});
|
|
278
283
|
/** @type {Record<string, Function[]>} Event listeners */
|
|
279
|
-
|
|
284
|
+
$(this, "$$l", {});
|
|
280
285
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
281
|
-
|
|
286
|
+
$(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
282
287
|
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
|
283
288
|
}
|
|
284
289
|
addEventListener(t, r, n) {
|
|
@@ -295,42 +300,42 @@ typeof HTMLElement == "function" && (Er = class extends HTMLElement {
|
|
|
295
300
|
}
|
|
296
301
|
}
|
|
297
302
|
connectedCallback() {
|
|
298
|
-
return
|
|
303
|
+
return kt(this, null, function* () {
|
|
299
304
|
if (this.$$cn = !0, !this.$$c) {
|
|
300
|
-
let t = function(
|
|
305
|
+
let t = function(s) {
|
|
301
306
|
return () => {
|
|
302
|
-
let
|
|
307
|
+
let o;
|
|
303
308
|
return {
|
|
304
309
|
c: function() {
|
|
305
|
-
|
|
310
|
+
o = m("slot"), s !== "default" && _(o, "name", s);
|
|
306
311
|
},
|
|
307
312
|
/**
|
|
308
313
|
* @param {HTMLElement} target
|
|
309
314
|
* @param {HTMLElement} [anchor]
|
|
310
315
|
*/
|
|
311
316
|
m: function(u, h) {
|
|
312
|
-
|
|
317
|
+
ee(u, o, h);
|
|
313
318
|
},
|
|
314
319
|
d: function(u) {
|
|
315
|
-
u &&
|
|
320
|
+
u && X(o);
|
|
316
321
|
}
|
|
317
322
|
};
|
|
318
323
|
};
|
|
319
324
|
};
|
|
320
325
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
321
326
|
return;
|
|
322
|
-
const r = {}, n =
|
|
323
|
-
for (const
|
|
324
|
-
|
|
325
|
-
for (const
|
|
326
|
-
const
|
|
327
|
-
|
|
327
|
+
const r = {}, n = cn(this);
|
|
328
|
+
for (const s of this.$$s)
|
|
329
|
+
s in n && (r[s] = [t(s)]);
|
|
330
|
+
for (const s of this.attributes) {
|
|
331
|
+
const o = this.$$g_p(s.name);
|
|
332
|
+
o in this.$$d || (this.$$d[o] = Ke(o, s.value, this.$$p_d, "toProp"));
|
|
328
333
|
}
|
|
329
|
-
for (const
|
|
330
|
-
!(
|
|
334
|
+
for (const s in this.$$p_d)
|
|
335
|
+
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
|
331
336
|
this.$$c = new this.$$ctor({
|
|
332
337
|
target: this.shadowRoot || this,
|
|
333
|
-
props:
|
|
338
|
+
props: $t(jt({}, this.$$d), {
|
|
334
339
|
$$slots: r,
|
|
335
340
|
$$scope: {
|
|
336
341
|
ctx: []
|
|
@@ -339,23 +344,23 @@ typeof HTMLElement == "function" && (Er = class extends HTMLElement {
|
|
|
339
344
|
});
|
|
340
345
|
const i = () => {
|
|
341
346
|
this.$$r = !0;
|
|
342
|
-
for (const
|
|
343
|
-
if (this.$$d[
|
|
344
|
-
const
|
|
345
|
-
|
|
346
|
-
this.$$d[
|
|
347
|
+
for (const s in this.$$p_d)
|
|
348
|
+
if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
|
|
349
|
+
const o = Ke(
|
|
350
|
+
s,
|
|
351
|
+
this.$$d[s],
|
|
347
352
|
this.$$p_d,
|
|
348
353
|
"toAttribute"
|
|
349
354
|
);
|
|
350
|
-
|
|
355
|
+
o == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, o);
|
|
351
356
|
}
|
|
352
357
|
this.$$r = !1;
|
|
353
358
|
};
|
|
354
359
|
this.$$c.$$.after_update.push(i), i();
|
|
355
|
-
for (const
|
|
356
|
-
for (const
|
|
357
|
-
const a = this.$$c.$on(
|
|
358
|
-
this.$$l_u.set(
|
|
360
|
+
for (const s in this.$$l)
|
|
361
|
+
for (const o of this.$$l[s]) {
|
|
362
|
+
const a = this.$$c.$on(s, o);
|
|
363
|
+
this.$$l_u.set(o, a);
|
|
359
364
|
}
|
|
360
365
|
this.$$l = {};
|
|
361
366
|
}
|
|
@@ -365,7 +370,7 @@ typeof HTMLElement == "function" && (Er = class extends HTMLElement {
|
|
|
365
370
|
// and setting attributes through setAttribute etc, this is helpful
|
|
366
371
|
attributeChangedCallback(t, r, n) {
|
|
367
372
|
var i;
|
|
368
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
|
373
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ke(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
369
374
|
}
|
|
370
375
|
disconnectedCallback() {
|
|
371
376
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -378,9 +383,9 @@ typeof HTMLElement == "function" && (Er = class extends HTMLElement {
|
|
|
378
383
|
) || t;
|
|
379
384
|
}
|
|
380
385
|
});
|
|
381
|
-
function
|
|
382
|
-
var
|
|
383
|
-
const i = (
|
|
386
|
+
function Ke(e, t, r, n) {
|
|
387
|
+
var s;
|
|
388
|
+
const i = (s = r[e]) == null ? void 0 : s.type;
|
|
384
389
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
385
390
|
return t;
|
|
386
391
|
if (n === "toAttribute")
|
|
@@ -408,8 +413,8 @@ function qe(e, t, r, n) {
|
|
|
408
413
|
return t;
|
|
409
414
|
}
|
|
410
415
|
}
|
|
411
|
-
function
|
|
412
|
-
let
|
|
416
|
+
function Tn(e, t, r, n, i, s) {
|
|
417
|
+
let o = class extends vr {
|
|
413
418
|
constructor() {
|
|
414
419
|
super(e, r, i), this.$$p_d = t;
|
|
415
420
|
}
|
|
@@ -420,26 +425,26 @@ function An(e, t, r, n, i, o) {
|
|
|
420
425
|
}
|
|
421
426
|
};
|
|
422
427
|
return Object.keys(t).forEach((a) => {
|
|
423
|
-
Object.defineProperty(
|
|
428
|
+
Object.defineProperty(o.prototype, a, {
|
|
424
429
|
get() {
|
|
425
430
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
426
431
|
},
|
|
427
432
|
set(l) {
|
|
428
433
|
var u;
|
|
429
|
-
l =
|
|
434
|
+
l = Ke(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
|
|
430
435
|
}
|
|
431
436
|
});
|
|
432
437
|
}), n.forEach((a) => {
|
|
433
|
-
Object.defineProperty(
|
|
438
|
+
Object.defineProperty(o.prototype, a, {
|
|
434
439
|
get() {
|
|
435
440
|
var l;
|
|
436
441
|
return (l = this.$$c) == null ? void 0 : l[a];
|
|
437
442
|
}
|
|
438
443
|
});
|
|
439
444
|
}), e.element = /** @type {any} */
|
|
440
|
-
|
|
445
|
+
o, o;
|
|
441
446
|
}
|
|
442
|
-
class
|
|
447
|
+
class wn {
|
|
443
448
|
constructor() {
|
|
444
449
|
/**
|
|
445
450
|
* ### PRIVATE API
|
|
@@ -448,7 +453,7 @@ class Bn {
|
|
|
448
453
|
*
|
|
449
454
|
* @type {any}
|
|
450
455
|
*/
|
|
451
|
-
|
|
456
|
+
$(this, "$$");
|
|
452
457
|
/**
|
|
453
458
|
* ### PRIVATE API
|
|
454
459
|
*
|
|
@@ -456,11 +461,11 @@ class Bn {
|
|
|
456
461
|
*
|
|
457
462
|
* @type {any}
|
|
458
463
|
*/
|
|
459
|
-
|
|
464
|
+
$(this, "$$set");
|
|
460
465
|
}
|
|
461
466
|
/** @returns {void} */
|
|
462
467
|
$destroy() {
|
|
463
|
-
|
|
468
|
+
xn(this, 1), this.$destroy = j;
|
|
464
469
|
}
|
|
465
470
|
/**
|
|
466
471
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -470,7 +475,7 @@ class Bn {
|
|
|
470
475
|
*/
|
|
471
476
|
$on(t, r) {
|
|
472
477
|
if (!Mt(r))
|
|
473
|
-
return
|
|
478
|
+
return j;
|
|
474
479
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
475
480
|
return n.push(r), () => {
|
|
476
481
|
const i = n.indexOf(r);
|
|
@@ -482,11 +487,11 @@ class Bn {
|
|
|
482
487
|
* @returns {void}
|
|
483
488
|
*/
|
|
484
489
|
$set(t) {
|
|
485
|
-
this.$$set && !
|
|
490
|
+
this.$$set && !tn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
486
491
|
}
|
|
487
492
|
}
|
|
488
|
-
const
|
|
489
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
493
|
+
const Hn = "4";
|
|
494
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Hn);
|
|
490
495
|
/*! *****************************************************************************
|
|
491
496
|
Copyright (c) Microsoft Corporation.
|
|
492
497
|
|
|
@@ -501,18 +506,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
501
506
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
502
507
|
PERFORMANCE OF THIS SOFTWARE.
|
|
503
508
|
***************************************************************************** */
|
|
504
|
-
var
|
|
505
|
-
return
|
|
509
|
+
var Et = function(e, t) {
|
|
510
|
+
return Et = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
506
511
|
r.__proto__ = n;
|
|
507
512
|
} || function(r, n) {
|
|
508
513
|
for (var i in n)
|
|
509
514
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
510
|
-
},
|
|
515
|
+
}, Et(e, t);
|
|
511
516
|
};
|
|
512
|
-
function
|
|
517
|
+
function ne(e, t) {
|
|
513
518
|
if (typeof t != "function" && t !== null)
|
|
514
519
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
515
|
-
|
|
520
|
+
Et(e, t);
|
|
516
521
|
function r() {
|
|
517
522
|
this.constructor = e;
|
|
518
523
|
}
|
|
@@ -522,13 +527,13 @@ var w = function() {
|
|
|
522
527
|
return w = Object.assign || function(t) {
|
|
523
528
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
524
529
|
r = arguments[n];
|
|
525
|
-
for (var
|
|
526
|
-
Object.prototype.hasOwnProperty.call(r,
|
|
530
|
+
for (var s in r)
|
|
531
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
527
532
|
}
|
|
528
533
|
return t;
|
|
529
534
|
}, w.apply(this, arguments);
|
|
530
535
|
};
|
|
531
|
-
function
|
|
536
|
+
function An(e, t) {
|
|
532
537
|
var r = {};
|
|
533
538
|
for (var n in e)
|
|
534
539
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -553,38 +558,38 @@ function Tt(e, t) {
|
|
|
553
558
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
554
559
|
if (!r)
|
|
555
560
|
return e;
|
|
556
|
-
var n = r.call(e), i,
|
|
561
|
+
var n = r.call(e), i, s = [], o;
|
|
557
562
|
try {
|
|
558
563
|
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
559
|
-
|
|
564
|
+
s.push(i.value);
|
|
560
565
|
} catch (a) {
|
|
561
|
-
|
|
566
|
+
o = { error: a };
|
|
562
567
|
} finally {
|
|
563
568
|
try {
|
|
564
569
|
i && !i.done && (r = n.return) && r.call(n);
|
|
565
570
|
} finally {
|
|
566
|
-
if (
|
|
567
|
-
throw
|
|
571
|
+
if (o)
|
|
572
|
+
throw o.error;
|
|
568
573
|
}
|
|
569
574
|
}
|
|
570
|
-
return
|
|
575
|
+
return s;
|
|
571
576
|
}
|
|
572
|
-
function
|
|
577
|
+
function He(e, t, r) {
|
|
573
578
|
if (r || arguments.length === 2)
|
|
574
|
-
for (var n = 0, i = t.length,
|
|
575
|
-
(
|
|
576
|
-
return e.concat(
|
|
579
|
+
for (var n = 0, i = t.length, s; n < i; n++)
|
|
580
|
+
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
581
|
+
return e.concat(s || t);
|
|
577
582
|
}
|
|
578
|
-
function
|
|
583
|
+
function re(e) {
|
|
579
584
|
return typeof e == "function";
|
|
580
585
|
}
|
|
581
|
-
function
|
|
586
|
+
function _r(e) {
|
|
582
587
|
var t = function(n) {
|
|
583
588
|
Error.call(n), n.stack = new Error().stack;
|
|
584
589
|
}, r = e(t);
|
|
585
590
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
586
591
|
}
|
|
587
|
-
var
|
|
592
|
+
var pt = _r(function(e) {
|
|
588
593
|
return function(r) {
|
|
589
594
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
590
595
|
` + r.map(function(n, i) {
|
|
@@ -599,24 +604,24 @@ function wt(e, t) {
|
|
|
599
604
|
0 <= r && e.splice(r, 1);
|
|
600
605
|
}
|
|
601
606
|
}
|
|
602
|
-
var
|
|
607
|
+
var st = function() {
|
|
603
608
|
function e(t) {
|
|
604
609
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
605
610
|
}
|
|
606
611
|
return e.prototype.unsubscribe = function() {
|
|
607
|
-
var t, r, n, i,
|
|
612
|
+
var t, r, n, i, s;
|
|
608
613
|
if (!this.closed) {
|
|
609
614
|
this.closed = !0;
|
|
610
|
-
var
|
|
611
|
-
if (
|
|
612
|
-
if (this._parentage = null, Array.isArray(
|
|
615
|
+
var o = this._parentage;
|
|
616
|
+
if (o)
|
|
617
|
+
if (this._parentage = null, Array.isArray(o))
|
|
613
618
|
try {
|
|
614
|
-
for (var a = St(
|
|
619
|
+
for (var a = St(o), l = a.next(); !l.done; l = a.next()) {
|
|
615
620
|
var u = l.value;
|
|
616
621
|
u.remove(this);
|
|
617
622
|
}
|
|
618
|
-
} catch (
|
|
619
|
-
t = { error:
|
|
623
|
+
} catch (y) {
|
|
624
|
+
t = { error: y };
|
|
620
625
|
} finally {
|
|
621
626
|
try {
|
|
622
627
|
l && !l.done && (r = a.return) && r.call(a);
|
|
@@ -626,45 +631,45 @@ var it = function() {
|
|
|
626
631
|
}
|
|
627
632
|
}
|
|
628
633
|
else
|
|
629
|
-
|
|
634
|
+
o.remove(this);
|
|
630
635
|
var h = this.initialTeardown;
|
|
631
|
-
if (
|
|
636
|
+
if (re(h))
|
|
632
637
|
try {
|
|
633
638
|
h();
|
|
634
|
-
} catch (
|
|
635
|
-
|
|
639
|
+
} catch (y) {
|
|
640
|
+
s = y instanceof pt ? y.errors : [y];
|
|
636
641
|
}
|
|
637
642
|
var f = this._finalizers;
|
|
638
643
|
if (f) {
|
|
639
644
|
this._finalizers = null;
|
|
640
645
|
try {
|
|
641
|
-
for (var p = St(f),
|
|
642
|
-
var
|
|
646
|
+
for (var p = St(f), b = p.next(); !b.done; b = p.next()) {
|
|
647
|
+
var g = b.value;
|
|
643
648
|
try {
|
|
644
|
-
|
|
645
|
-
} catch (
|
|
646
|
-
|
|
649
|
+
Xt(g);
|
|
650
|
+
} catch (y) {
|
|
651
|
+
s = s != null ? s : [], y instanceof pt ? s = He(He([], Tt(s)), Tt(y.errors)) : s.push(y);
|
|
647
652
|
}
|
|
648
653
|
}
|
|
649
|
-
} catch (
|
|
650
|
-
n = { error:
|
|
654
|
+
} catch (y) {
|
|
655
|
+
n = { error: y };
|
|
651
656
|
} finally {
|
|
652
657
|
try {
|
|
653
|
-
|
|
658
|
+
b && !b.done && (i = p.return) && i.call(p);
|
|
654
659
|
} finally {
|
|
655
660
|
if (n)
|
|
656
661
|
throw n.error;
|
|
657
662
|
}
|
|
658
663
|
}
|
|
659
664
|
}
|
|
660
|
-
if (
|
|
661
|
-
throw new
|
|
665
|
+
if (s)
|
|
666
|
+
throw new pt(s);
|
|
662
667
|
}
|
|
663
668
|
}, e.prototype.add = function(t) {
|
|
664
669
|
var r;
|
|
665
670
|
if (t && t !== this)
|
|
666
671
|
if (this.closed)
|
|
667
|
-
|
|
672
|
+
Xt(t);
|
|
668
673
|
else {
|
|
669
674
|
if (t instanceof e) {
|
|
670
675
|
if (t.closed || t._hasParent(this))
|
|
@@ -689,45 +694,41 @@ var it = function() {
|
|
|
689
694
|
var t = new e();
|
|
690
695
|
return t.closed = !0, t;
|
|
691
696
|
}(), e;
|
|
692
|
-
}(),
|
|
693
|
-
function
|
|
694
|
-
return e instanceof
|
|
695
|
-
}
|
|
696
|
-
function
|
|
697
|
-
|
|
698
|
-
}
|
|
699
|
-
var
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
Promise: void 0,
|
|
703
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
|
704
|
-
useDeprecatedNextContext: !1
|
|
705
|
-
}, Ln = {
|
|
697
|
+
}(), xr = st.EMPTY;
|
|
698
|
+
function Er(e) {
|
|
699
|
+
return e instanceof st || e && "closed" in e && re(e.remove) && re(e.add) && re(e.unsubscribe);
|
|
700
|
+
}
|
|
701
|
+
function Xt(e) {
|
|
702
|
+
re(e) ? e() : e.unsubscribe();
|
|
703
|
+
}
|
|
704
|
+
var Bn = {
|
|
705
|
+
Promise: void 0
|
|
706
|
+
}, Pn = {
|
|
706
707
|
setTimeout: function(e, t) {
|
|
707
708
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
708
709
|
r[n - 2] = arguments[n];
|
|
709
|
-
return setTimeout.apply(void 0,
|
|
710
|
+
return setTimeout.apply(void 0, He([e, t], Tt(r)));
|
|
710
711
|
},
|
|
711
712
|
clearTimeout: function(e) {
|
|
712
713
|
return clearTimeout(e);
|
|
713
714
|
},
|
|
714
715
|
delegate: void 0
|
|
715
716
|
};
|
|
716
|
-
function
|
|
717
|
-
|
|
717
|
+
function Cn(e) {
|
|
718
|
+
Pn.setTimeout(function() {
|
|
718
719
|
throw e;
|
|
719
720
|
});
|
|
720
721
|
}
|
|
721
|
-
function
|
|
722
|
+
function zt() {
|
|
722
723
|
}
|
|
723
|
-
function
|
|
724
|
+
function et(e) {
|
|
724
725
|
e();
|
|
725
726
|
}
|
|
726
|
-
var
|
|
727
|
-
|
|
727
|
+
var Sr = function(e) {
|
|
728
|
+
ne(t, e);
|
|
728
729
|
function t(r) {
|
|
729
730
|
var n = e.call(this) || this;
|
|
730
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
731
|
+
return n.isStopped = !1, r ? (n.destination = r, Er(r) && r.add(n)) : n.destination = In, n;
|
|
731
732
|
}
|
|
732
733
|
return t.create = function(r, n, i) {
|
|
733
734
|
return new Ht(r, n, i);
|
|
@@ -754,11 +755,7 @@ var Hr = function(e) {
|
|
|
754
755
|
this.unsubscribe();
|
|
755
756
|
}
|
|
756
757
|
}, t;
|
|
757
|
-
}(
|
|
758
|
-
function pt(e, t) {
|
|
759
|
-
return On.call(e, t);
|
|
760
|
-
}
|
|
761
|
-
var Nn = function() {
|
|
758
|
+
}(st), On = function() {
|
|
762
759
|
function e(t) {
|
|
763
760
|
this.partialObserver = t;
|
|
764
761
|
}
|
|
@@ -768,7 +765,7 @@ var Nn = function() {
|
|
|
768
765
|
try {
|
|
769
766
|
r.next(t);
|
|
770
767
|
} catch (n) {
|
|
771
|
-
|
|
768
|
+
Ye(n);
|
|
772
769
|
}
|
|
773
770
|
}, e.prototype.error = function(t) {
|
|
774
771
|
var r = this.partialObserver;
|
|
@@ -776,68 +773,56 @@ var Nn = function() {
|
|
|
776
773
|
try {
|
|
777
774
|
r.error(t);
|
|
778
775
|
} catch (n) {
|
|
779
|
-
|
|
776
|
+
Ye(n);
|
|
780
777
|
}
|
|
781
778
|
else
|
|
782
|
-
|
|
779
|
+
Ye(t);
|
|
783
780
|
}, e.prototype.complete = function() {
|
|
784
781
|
var t = this.partialObserver;
|
|
785
782
|
if (t.complete)
|
|
786
783
|
try {
|
|
787
784
|
t.complete();
|
|
788
785
|
} catch (r) {
|
|
789
|
-
|
|
786
|
+
Ye(r);
|
|
790
787
|
}
|
|
791
788
|
}, e;
|
|
792
789
|
}(), Ht = function(e) {
|
|
793
|
-
|
|
790
|
+
ne(t, e);
|
|
794
791
|
function t(r, n, i) {
|
|
795
|
-
var
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
};
|
|
802
|
-
else {
|
|
803
|
-
var a;
|
|
804
|
-
o && wr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
805
|
-
return o.unsubscribe();
|
|
806
|
-
}, s = {
|
|
807
|
-
next: r.next && pt(r.next, a),
|
|
808
|
-
error: r.error && pt(r.error, a),
|
|
809
|
-
complete: r.complete && pt(r.complete, a)
|
|
810
|
-
}) : s = r;
|
|
811
|
-
}
|
|
812
|
-
return o.destination = new Nn(s), o;
|
|
792
|
+
var s = e.call(this) || this, o;
|
|
793
|
+
return re(r) || !r ? o = {
|
|
794
|
+
next: r != null ? r : void 0,
|
|
795
|
+
error: n != null ? n : void 0,
|
|
796
|
+
complete: i != null ? i : void 0
|
|
797
|
+
} : o = r, s.destination = new On(o), s;
|
|
813
798
|
}
|
|
814
799
|
return t;
|
|
815
|
-
}(
|
|
816
|
-
function
|
|
817
|
-
|
|
800
|
+
}(Sr);
|
|
801
|
+
function Ye(e) {
|
|
802
|
+
Cn(e);
|
|
818
803
|
}
|
|
819
|
-
function
|
|
804
|
+
function Ln(e) {
|
|
820
805
|
throw e;
|
|
821
806
|
}
|
|
822
|
-
var
|
|
807
|
+
var In = {
|
|
823
808
|
closed: !0,
|
|
824
|
-
next:
|
|
825
|
-
error:
|
|
826
|
-
complete:
|
|
827
|
-
},
|
|
809
|
+
next: zt,
|
|
810
|
+
error: Ln,
|
|
811
|
+
complete: zt
|
|
812
|
+
}, Nn = function() {
|
|
828
813
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
829
814
|
}();
|
|
830
|
-
function
|
|
815
|
+
function Mn(e) {
|
|
831
816
|
return e;
|
|
832
817
|
}
|
|
833
|
-
function
|
|
834
|
-
return e.length === 0 ?
|
|
818
|
+
function Rn(e) {
|
|
819
|
+
return e.length === 0 ? Mn : e.length === 1 ? e[0] : function(r) {
|
|
835
820
|
return e.reduce(function(n, i) {
|
|
836
821
|
return i(n);
|
|
837
822
|
}, r);
|
|
838
823
|
};
|
|
839
824
|
}
|
|
840
|
-
var
|
|
825
|
+
var Jt = function() {
|
|
841
826
|
function e(t) {
|
|
842
827
|
t && (this._subscribe = t);
|
|
843
828
|
}
|
|
@@ -845,11 +830,11 @@ var Qt = function() {
|
|
|
845
830
|
var r = new e();
|
|
846
831
|
return r.source = this, r.operator = t, r;
|
|
847
832
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
848
|
-
var i = this,
|
|
849
|
-
return
|
|
850
|
-
var
|
|
851
|
-
|
|
852
|
-
}),
|
|
833
|
+
var i = this, s = Dn(t) ? t : new Ht(t, r, n);
|
|
834
|
+
return et(function() {
|
|
835
|
+
var o = i, a = o.operator, l = o.source;
|
|
836
|
+
s.add(a ? a.call(s, l) : l ? i._subscribe(s) : i._trySubscribe(s));
|
|
837
|
+
}), s;
|
|
853
838
|
}, e.prototype._trySubscribe = function(t) {
|
|
854
839
|
try {
|
|
855
840
|
return this._subscribe(t);
|
|
@@ -858,79 +843,79 @@ var Qt = function() {
|
|
|
858
843
|
}
|
|
859
844
|
}, e.prototype.forEach = function(t, r) {
|
|
860
845
|
var n = this;
|
|
861
|
-
return r =
|
|
862
|
-
var
|
|
846
|
+
return r = Zt(r), new r(function(i, s) {
|
|
847
|
+
var o = new Ht({
|
|
863
848
|
next: function(a) {
|
|
864
849
|
try {
|
|
865
850
|
t(a);
|
|
866
851
|
} catch (l) {
|
|
867
|
-
|
|
852
|
+
s(l), o.unsubscribe();
|
|
868
853
|
}
|
|
869
854
|
},
|
|
870
|
-
error:
|
|
855
|
+
error: s,
|
|
871
856
|
complete: i
|
|
872
857
|
});
|
|
873
|
-
n.subscribe(
|
|
858
|
+
n.subscribe(o);
|
|
874
859
|
});
|
|
875
860
|
}, e.prototype._subscribe = function(t) {
|
|
876
861
|
var r;
|
|
877
862
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
878
|
-
}, e.prototype[
|
|
863
|
+
}, e.prototype[Nn] = function() {
|
|
879
864
|
return this;
|
|
880
865
|
}, e.prototype.pipe = function() {
|
|
881
866
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
882
867
|
t[r] = arguments[r];
|
|
883
|
-
return
|
|
868
|
+
return Rn(t)(this);
|
|
884
869
|
}, e.prototype.toPromise = function(t) {
|
|
885
870
|
var r = this;
|
|
886
|
-
return t =
|
|
887
|
-
var
|
|
888
|
-
r.subscribe(function(
|
|
889
|
-
return
|
|
890
|
-
}, function(
|
|
891
|
-
return i(
|
|
871
|
+
return t = Zt(t), new t(function(n, i) {
|
|
872
|
+
var s;
|
|
873
|
+
r.subscribe(function(o) {
|
|
874
|
+
return s = o;
|
|
875
|
+
}, function(o) {
|
|
876
|
+
return i(o);
|
|
892
877
|
}, function() {
|
|
893
|
-
return n(
|
|
878
|
+
return n(s);
|
|
894
879
|
});
|
|
895
880
|
});
|
|
896
881
|
}, e.create = function(t) {
|
|
897
882
|
return new e(t);
|
|
898
883
|
}, e;
|
|
899
884
|
}();
|
|
900
|
-
function
|
|
885
|
+
function Zt(e) {
|
|
901
886
|
var t;
|
|
902
|
-
return (t = e != null ? e :
|
|
887
|
+
return (t = e != null ? e : Bn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
903
888
|
}
|
|
904
|
-
function
|
|
905
|
-
return e &&
|
|
889
|
+
function Un(e) {
|
|
890
|
+
return e && re(e.next) && re(e.error) && re(e.complete);
|
|
906
891
|
}
|
|
907
|
-
function
|
|
908
|
-
return e && e instanceof
|
|
892
|
+
function Dn(e) {
|
|
893
|
+
return e && e instanceof Sr || Un(e) && Er(e);
|
|
909
894
|
}
|
|
910
|
-
var
|
|
895
|
+
var Gn = _r(function(e) {
|
|
911
896
|
return function() {
|
|
912
897
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
913
898
|
};
|
|
914
|
-
}),
|
|
915
|
-
|
|
899
|
+
}), Tr = function(e) {
|
|
900
|
+
ne(t, e);
|
|
916
901
|
function t() {
|
|
917
902
|
var r = e.call(this) || this;
|
|
918
903
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
919
904
|
}
|
|
920
905
|
return t.prototype.lift = function(r) {
|
|
921
|
-
var n = new
|
|
906
|
+
var n = new Qt(this, this);
|
|
922
907
|
return n.operator = r, n;
|
|
923
908
|
}, t.prototype._throwIfClosed = function() {
|
|
924
909
|
if (this.closed)
|
|
925
|
-
throw new
|
|
910
|
+
throw new Gn();
|
|
926
911
|
}, t.prototype.next = function(r) {
|
|
927
912
|
var n = this;
|
|
928
|
-
|
|
929
|
-
var i,
|
|
913
|
+
et(function() {
|
|
914
|
+
var i, s;
|
|
930
915
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
931
916
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
932
917
|
try {
|
|
933
|
-
for (var
|
|
918
|
+
for (var o = St(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
|
|
934
919
|
var l = a.value;
|
|
935
920
|
l.next(r);
|
|
936
921
|
}
|
|
@@ -938,7 +923,7 @@ var kn = xr(function(e) {
|
|
|
938
923
|
i = { error: u };
|
|
939
924
|
} finally {
|
|
940
925
|
try {
|
|
941
|
-
a && !a.done && (
|
|
926
|
+
a && !a.done && (s = o.return) && s.call(o);
|
|
942
927
|
} finally {
|
|
943
928
|
if (i)
|
|
944
929
|
throw i.error;
|
|
@@ -948,7 +933,7 @@ var kn = xr(function(e) {
|
|
|
948
933
|
});
|
|
949
934
|
}, t.prototype.error = function(r) {
|
|
950
935
|
var n = this;
|
|
951
|
-
|
|
936
|
+
et(function() {
|
|
952
937
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
953
938
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
954
939
|
for (var i = n.observers; i.length; )
|
|
@@ -957,7 +942,7 @@ var kn = xr(function(e) {
|
|
|
957
942
|
});
|
|
958
943
|
}, t.prototype.complete = function() {
|
|
959
944
|
var r = this;
|
|
960
|
-
|
|
945
|
+
et(function() {
|
|
961
946
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
962
947
|
r.isStopped = !0;
|
|
963
948
|
for (var n = r.observers; n.length; )
|
|
@@ -978,21 +963,21 @@ var kn = xr(function(e) {
|
|
|
978
963
|
}, t.prototype._subscribe = function(r) {
|
|
979
964
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
980
965
|
}, t.prototype._innerSubscribe = function(r) {
|
|
981
|
-
var n = this, i = this,
|
|
982
|
-
return
|
|
966
|
+
var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
|
|
967
|
+
return s || o ? xr : (this.currentObservers = null, a.push(r), new st(function() {
|
|
983
968
|
n.currentObservers = null, wt(a, r);
|
|
984
969
|
}));
|
|
985
970
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
986
|
-
var n = this, i = n.hasError,
|
|
987
|
-
i ? r.error(
|
|
971
|
+
var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
|
|
972
|
+
i ? r.error(s) : o && r.complete();
|
|
988
973
|
}, t.prototype.asObservable = function() {
|
|
989
|
-
var r = new
|
|
974
|
+
var r = new Jt();
|
|
990
975
|
return r.source = this, r;
|
|
991
976
|
}, t.create = function(r, n) {
|
|
992
|
-
return new
|
|
977
|
+
return new Qt(r, n);
|
|
993
978
|
}, t;
|
|
994
|
-
}(
|
|
995
|
-
|
|
979
|
+
}(Jt), Qt = function(e) {
|
|
980
|
+
ne(t, e);
|
|
996
981
|
function t(r, n) {
|
|
997
982
|
var i = e.call(this) || this;
|
|
998
983
|
return i.destination = r, i.source = n, i;
|
|
@@ -1008,279 +993,277 @@ var kn = xr(function(e) {
|
|
|
1008
993
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1009
994
|
}, t.prototype._subscribe = function(r) {
|
|
1010
995
|
var n, i;
|
|
1011
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
996
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : xr;
|
|
1012
997
|
}, t;
|
|
1013
|
-
}(
|
|
998
|
+
}(Tr), wr = {
|
|
1014
999
|
now: function() {
|
|
1015
|
-
return (
|
|
1000
|
+
return (wr.delegate || Date).now();
|
|
1016
1001
|
},
|
|
1017
1002
|
delegate: void 0
|
|
1018
|
-
},
|
|
1019
|
-
|
|
1003
|
+
}, jn = function(e) {
|
|
1004
|
+
ne(t, e);
|
|
1020
1005
|
function t(r, n, i) {
|
|
1021
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1022
|
-
var
|
|
1023
|
-
return
|
|
1006
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = wr);
|
|
1007
|
+
var s = e.call(this) || this;
|
|
1008
|
+
return s._bufferSize = r, s._windowTime = n, s._timestampProvider = i, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = n === 1 / 0, s._bufferSize = Math.max(1, r), s._windowTime = Math.max(1, n), s;
|
|
1024
1009
|
}
|
|
1025
1010
|
return t.prototype.next = function(r) {
|
|
1026
|
-
var n = this, i = n.isStopped,
|
|
1027
|
-
i || (
|
|
1011
|
+
var n = this, i = n.isStopped, s = n._buffer, o = n._infiniteTimeWindow, a = n._timestampProvider, l = n._windowTime;
|
|
1012
|
+
i || (s.push(r), !o && s.push(a.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
|
|
1028
1013
|
}, t.prototype._subscribe = function(r) {
|
|
1029
1014
|
this._throwIfClosed(), this._trimBuffer();
|
|
1030
|
-
for (var n = this._innerSubscribe(r), i = this,
|
|
1015
|
+
for (var n = this._innerSubscribe(r), i = this, s = i._infiniteTimeWindow, o = i._buffer, a = o.slice(), l = 0; l < a.length && !r.closed; l += s ? 1 : 2)
|
|
1031
1016
|
r.next(a[l]);
|
|
1032
1017
|
return this._checkFinalizedStatuses(r), n;
|
|
1033
1018
|
}, t.prototype._trimBuffer = function() {
|
|
1034
|
-
var r = this, n = r._bufferSize, i = r._timestampProvider,
|
|
1035
|
-
if (n < 1 / 0 && a <
|
|
1036
|
-
for (var l = i.now(), u = 0, h = 1; h <
|
|
1019
|
+
var r = this, n = r._bufferSize, i = r._timestampProvider, s = r._buffer, o = r._infiniteTimeWindow, a = (o ? 1 : 2) * n;
|
|
1020
|
+
if (n < 1 / 0 && a < s.length && s.splice(0, s.length - a), !o) {
|
|
1021
|
+
for (var l = i.now(), u = 0, h = 1; h < s.length && s[h] <= l; h += 2)
|
|
1037
1022
|
u = h;
|
|
1038
|
-
u &&
|
|
1023
|
+
u && s.splice(0, u + 1);
|
|
1039
1024
|
}
|
|
1040
1025
|
}, t;
|
|
1041
|
-
}(
|
|
1042
|
-
const
|
|
1043
|
-
if (
|
|
1044
|
-
const r = new
|
|
1045
|
-
|
|
1026
|
+
}(Tr);
|
|
1027
|
+
const Yt = [], qt = {}, $n = (e, t = 0) => {
|
|
1028
|
+
if (Yt.indexOf(e) == -1) {
|
|
1029
|
+
const r = new jn(t);
|
|
1030
|
+
qt[e] = r, Yt.push(e);
|
|
1046
1031
|
}
|
|
1047
|
-
return
|
|
1048
|
-
},
|
|
1049
|
-
function
|
|
1032
|
+
return qt[e];
|
|
1033
|
+
}, Se = [];
|
|
1034
|
+
function kn(e, t) {
|
|
1050
1035
|
return {
|
|
1051
1036
|
subscribe: ot(e, t).subscribe
|
|
1052
1037
|
};
|
|
1053
1038
|
}
|
|
1054
|
-
function ot(e, t =
|
|
1039
|
+
function ot(e, t = j) {
|
|
1055
1040
|
let r;
|
|
1056
1041
|
const n = /* @__PURE__ */ new Set();
|
|
1057
1042
|
function i(a) {
|
|
1058
|
-
if (
|
|
1059
|
-
const l = !
|
|
1043
|
+
if (gr(e, a) && (e = a, r)) {
|
|
1044
|
+
const l = !Se.length;
|
|
1060
1045
|
for (const u of n)
|
|
1061
|
-
u[1](),
|
|
1046
|
+
u[1](), Se.push(u, e);
|
|
1062
1047
|
if (l) {
|
|
1063
|
-
for (let u = 0; u <
|
|
1064
|
-
|
|
1065
|
-
|
|
1048
|
+
for (let u = 0; u < Se.length; u += 2)
|
|
1049
|
+
Se[u][0](Se[u + 1]);
|
|
1050
|
+
Se.length = 0;
|
|
1066
1051
|
}
|
|
1067
1052
|
}
|
|
1068
1053
|
}
|
|
1069
|
-
function
|
|
1054
|
+
function s(a) {
|
|
1070
1055
|
i(a(e));
|
|
1071
1056
|
}
|
|
1072
|
-
function
|
|
1057
|
+
function o(a, l = j) {
|
|
1073
1058
|
const u = [a, l];
|
|
1074
|
-
return n.add(u), n.size === 1 && (r = t(i,
|
|
1059
|
+
return n.add(u), n.size === 1 && (r = t(i, s) || j), a(e), () => {
|
|
1075
1060
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
1076
1061
|
};
|
|
1077
1062
|
}
|
|
1078
|
-
return { set: i, update:
|
|
1063
|
+
return { set: i, update: s, subscribe: o };
|
|
1079
1064
|
}
|
|
1080
|
-
function
|
|
1065
|
+
function Oe(e, t, r) {
|
|
1081
1066
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1082
1067
|
if (!i.every(Boolean))
|
|
1083
1068
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1084
|
-
const
|
|
1085
|
-
return
|
|
1069
|
+
const s = t.length < 2;
|
|
1070
|
+
return kn(r, (o, a) => {
|
|
1086
1071
|
let l = !1;
|
|
1087
1072
|
const u = [];
|
|
1088
|
-
let h = 0, f =
|
|
1073
|
+
let h = 0, f = j;
|
|
1089
1074
|
const p = () => {
|
|
1090
1075
|
if (h)
|
|
1091
1076
|
return;
|
|
1092
1077
|
f();
|
|
1093
|
-
const
|
|
1094
|
-
|
|
1095
|
-
},
|
|
1096
|
-
(
|
|
1097
|
-
|
|
1098
|
-
(
|
|
1099
|
-
u[
|
|
1078
|
+
const g = t(n ? u[0] : u, o, a);
|
|
1079
|
+
s ? o(g) : f = Mt(g) ? g : j;
|
|
1080
|
+
}, b = i.map(
|
|
1081
|
+
(g, y) => rn(
|
|
1082
|
+
g,
|
|
1083
|
+
(v) => {
|
|
1084
|
+
u[y] = v, h &= ~(1 << y), l && p();
|
|
1100
1085
|
},
|
|
1101
1086
|
() => {
|
|
1102
|
-
h |= 1 <<
|
|
1087
|
+
h |= 1 << y;
|
|
1103
1088
|
}
|
|
1104
1089
|
)
|
|
1105
1090
|
);
|
|
1106
1091
|
return l = !0, p(), function() {
|
|
1107
|
-
|
|
1092
|
+
Ve(b), f(), l = !1;
|
|
1108
1093
|
};
|
|
1109
1094
|
});
|
|
1110
1095
|
}
|
|
1111
|
-
function
|
|
1096
|
+
function Fn(e) {
|
|
1112
1097
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1113
1098
|
}
|
|
1114
|
-
var
|
|
1115
|
-
return
|
|
1099
|
+
var Vn = function(t) {
|
|
1100
|
+
return Wn(t) && !Xn(t);
|
|
1116
1101
|
};
|
|
1117
|
-
function
|
|
1102
|
+
function Wn(e) {
|
|
1118
1103
|
return !!e && typeof e == "object";
|
|
1119
1104
|
}
|
|
1120
|
-
function
|
|
1105
|
+
function Xn(e) {
|
|
1121
1106
|
var t = Object.prototype.toString.call(e);
|
|
1122
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1107
|
+
return t === "[object RegExp]" || t === "[object Date]" || Zn(e);
|
|
1123
1108
|
}
|
|
1124
|
-
var
|
|
1125
|
-
function
|
|
1126
|
-
return e.$$typeof ===
|
|
1109
|
+
var zn = typeof Symbol == "function" && Symbol.for, Jn = zn ? Symbol.for("react.element") : 60103;
|
|
1110
|
+
function Zn(e) {
|
|
1111
|
+
return e.$$typeof === Jn;
|
|
1127
1112
|
}
|
|
1128
|
-
function
|
|
1113
|
+
function Qn(e) {
|
|
1129
1114
|
return Array.isArray(e) ? [] : {};
|
|
1130
1115
|
}
|
|
1131
|
-
function
|
|
1132
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1116
|
+
function ke(e, t) {
|
|
1117
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Ae(Qn(e), e, t) : e;
|
|
1133
1118
|
}
|
|
1134
|
-
function
|
|
1119
|
+
function Yn(e, t, r) {
|
|
1135
1120
|
return e.concat(t).map(function(n) {
|
|
1136
|
-
return
|
|
1121
|
+
return ke(n, r);
|
|
1137
1122
|
});
|
|
1138
1123
|
}
|
|
1139
|
-
function
|
|
1124
|
+
function qn(e, t) {
|
|
1140
1125
|
if (!t.customMerge)
|
|
1141
|
-
return
|
|
1126
|
+
return Ae;
|
|
1142
1127
|
var r = t.customMerge(e);
|
|
1143
|
-
return typeof r == "function" ? r :
|
|
1128
|
+
return typeof r == "function" ? r : Ae;
|
|
1144
1129
|
}
|
|
1145
|
-
function
|
|
1130
|
+
function Kn(e) {
|
|
1146
1131
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1147
1132
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1148
1133
|
}) : [];
|
|
1149
1134
|
}
|
|
1150
|
-
function
|
|
1151
|
-
return Object.keys(e).concat(
|
|
1135
|
+
function Kt(e) {
|
|
1136
|
+
return Object.keys(e).concat(Kn(e));
|
|
1152
1137
|
}
|
|
1153
|
-
function
|
|
1138
|
+
function Hr(e, t) {
|
|
1154
1139
|
try {
|
|
1155
1140
|
return t in e;
|
|
1156
1141
|
} catch (r) {
|
|
1157
1142
|
return !1;
|
|
1158
1143
|
}
|
|
1159
1144
|
}
|
|
1160
|
-
function
|
|
1161
|
-
return
|
|
1145
|
+
function ei(e, t) {
|
|
1146
|
+
return Hr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1162
1147
|
}
|
|
1163
|
-
function
|
|
1148
|
+
function ti(e, t, r) {
|
|
1164
1149
|
var n = {};
|
|
1165
|
-
return r.isMergeableObject(e) &&
|
|
1166
|
-
n[i] =
|
|
1167
|
-
}),
|
|
1168
|
-
|
|
1150
|
+
return r.isMergeableObject(e) && Kt(e).forEach(function(i) {
|
|
1151
|
+
n[i] = ke(e[i], r);
|
|
1152
|
+
}), Kt(t).forEach(function(i) {
|
|
1153
|
+
ei(e, i) || (Hr(e, i) && r.isMergeableObject(t[i]) ? n[i] = qn(i, r)(e[i], t[i], r) : n[i] = ke(t[i], r));
|
|
1169
1154
|
}), n;
|
|
1170
1155
|
}
|
|
1171
|
-
function
|
|
1172
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1173
|
-
var n = Array.isArray(t), i = Array.isArray(e),
|
|
1174
|
-
return
|
|
1156
|
+
function Ae(e, t, r) {
|
|
1157
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Yn, r.isMergeableObject = r.isMergeableObject || Vn, r.cloneUnlessOtherwiseSpecified = ke;
|
|
1158
|
+
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
1159
|
+
return s ? n ? r.arrayMerge(e, t, r) : ti(e, t, r) : ke(t, r);
|
|
1175
1160
|
}
|
|
1176
|
-
|
|
1161
|
+
Ae.all = function(t, r) {
|
|
1177
1162
|
if (!Array.isArray(t))
|
|
1178
1163
|
throw new Error("first argument should be an array");
|
|
1179
1164
|
return t.reduce(function(n, i) {
|
|
1180
|
-
return
|
|
1165
|
+
return Ae(n, i, r);
|
|
1181
1166
|
}, {});
|
|
1182
1167
|
};
|
|
1183
|
-
var
|
|
1184
|
-
const
|
|
1168
|
+
var ri = Ae, ni = ri;
|
|
1169
|
+
const ii = /* @__PURE__ */ Fn(ni);
|
|
1185
1170
|
function dt(e, t) {
|
|
1186
|
-
var r = t && t.cache ? t.cache :
|
|
1171
|
+
var r = t && t.cache ? t.cache : ci, n = t && t.serializer ? t.serializer : li, i = t && t.strategy ? t.strategy : ai;
|
|
1187
1172
|
return i(e, {
|
|
1188
1173
|
cache: r,
|
|
1189
1174
|
serializer: n
|
|
1190
1175
|
});
|
|
1191
1176
|
}
|
|
1192
|
-
function
|
|
1177
|
+
function si(e) {
|
|
1193
1178
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1194
1179
|
}
|
|
1195
|
-
function
|
|
1196
|
-
var i =
|
|
1197
|
-
return typeof
|
|
1180
|
+
function oi(e, t, r, n) {
|
|
1181
|
+
var i = si(n) ? n : r(n), s = t.get(i);
|
|
1182
|
+
return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
|
|
1198
1183
|
}
|
|
1199
|
-
function
|
|
1200
|
-
var n = Array.prototype.slice.call(arguments, 3), i = r(n),
|
|
1201
|
-
return typeof
|
|
1184
|
+
function Ar(e, t, r) {
|
|
1185
|
+
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
1186
|
+
return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
1202
1187
|
}
|
|
1203
|
-
function
|
|
1188
|
+
function Br(e, t, r, n, i) {
|
|
1204
1189
|
return r.bind(t, e, n, i);
|
|
1205
1190
|
}
|
|
1206
|
-
function
|
|
1207
|
-
var r = e.length === 1 ?
|
|
1208
|
-
return
|
|
1209
|
-
}
|
|
1210
|
-
function hi(e, t) {
|
|
1211
|
-
return Rt(e, this, Lr, t.cache.create(), t.serializer);
|
|
1191
|
+
function ai(e, t) {
|
|
1192
|
+
var r = e.length === 1 ? oi : Ar;
|
|
1193
|
+
return Br(e, this, r, t.cache.create(), t.serializer);
|
|
1212
1194
|
}
|
|
1213
|
-
function
|
|
1214
|
-
return
|
|
1195
|
+
function ui(e, t) {
|
|
1196
|
+
return Br(e, this, Ar, t.cache.create(), t.serializer);
|
|
1215
1197
|
}
|
|
1216
|
-
var
|
|
1198
|
+
var li = function() {
|
|
1217
1199
|
return JSON.stringify(arguments);
|
|
1218
|
-
}
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1200
|
+
}, hi = (
|
|
1201
|
+
/** @class */
|
|
1202
|
+
function() {
|
|
1203
|
+
function e() {
|
|
1204
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1205
|
+
}
|
|
1206
|
+
return e.prototype.get = function(t) {
|
|
1207
|
+
return this.cache[t];
|
|
1208
|
+
}, e.prototype.set = function(t, r) {
|
|
1209
|
+
this.cache[t] = r;
|
|
1210
|
+
}, e;
|
|
1211
|
+
}()
|
|
1212
|
+
), ci = {
|
|
1229
1213
|
create: function() {
|
|
1230
|
-
return new
|
|
1214
|
+
return new hi();
|
|
1231
1215
|
}
|
|
1232
1216
|
}, mt = {
|
|
1233
|
-
variadic:
|
|
1234
|
-
|
|
1235
|
-
}, x;
|
|
1217
|
+
variadic: ui
|
|
1218
|
+
}, E;
|
|
1236
1219
|
(function(e) {
|
|
1237
1220
|
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";
|
|
1238
|
-
})(
|
|
1221
|
+
})(E || (E = {}));
|
|
1239
1222
|
var P;
|
|
1240
1223
|
(function(e) {
|
|
1241
1224
|
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";
|
|
1242
1225
|
})(P || (P = {}));
|
|
1243
|
-
var
|
|
1226
|
+
var Be;
|
|
1244
1227
|
(function(e) {
|
|
1245
1228
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1246
|
-
})(
|
|
1247
|
-
function
|
|
1229
|
+
})(Be || (Be = {}));
|
|
1230
|
+
function er(e) {
|
|
1248
1231
|
return e.type === P.literal;
|
|
1249
1232
|
}
|
|
1250
|
-
function
|
|
1233
|
+
function fi(e) {
|
|
1251
1234
|
return e.type === P.argument;
|
|
1252
1235
|
}
|
|
1253
|
-
function
|
|
1236
|
+
function Pr(e) {
|
|
1254
1237
|
return e.type === P.number;
|
|
1255
1238
|
}
|
|
1256
|
-
function
|
|
1239
|
+
function Cr(e) {
|
|
1257
1240
|
return e.type === P.date;
|
|
1258
1241
|
}
|
|
1259
|
-
function
|
|
1242
|
+
function Or(e) {
|
|
1260
1243
|
return e.type === P.time;
|
|
1261
1244
|
}
|
|
1262
|
-
function
|
|
1245
|
+
function Lr(e) {
|
|
1263
1246
|
return e.type === P.select;
|
|
1264
1247
|
}
|
|
1265
|
-
function
|
|
1248
|
+
function Ir(e) {
|
|
1266
1249
|
return e.type === P.plural;
|
|
1267
1250
|
}
|
|
1268
|
-
function
|
|
1251
|
+
function pi(e) {
|
|
1269
1252
|
return e.type === P.pound;
|
|
1270
1253
|
}
|
|
1271
|
-
function
|
|
1254
|
+
function Nr(e) {
|
|
1272
1255
|
return e.type === P.tag;
|
|
1273
1256
|
}
|
|
1274
|
-
function
|
|
1275
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1257
|
+
function Mr(e) {
|
|
1258
|
+
return !!(e && typeof e == "object" && e.type === Be.number);
|
|
1276
1259
|
}
|
|
1277
1260
|
function At(e) {
|
|
1278
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1261
|
+
return !!(e && typeof e == "object" && e.type === Be.dateTime);
|
|
1279
1262
|
}
|
|
1280
|
-
var
|
|
1281
|
-
function
|
|
1263
|
+
var Rr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, di = /(?:[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;
|
|
1264
|
+
function mi(e) {
|
|
1282
1265
|
var t = {};
|
|
1283
|
-
return e.replace(
|
|
1266
|
+
return e.replace(di, function(r) {
|
|
1284
1267
|
var n = r.length;
|
|
1285
1268
|
switch (r[0]) {
|
|
1286
1269
|
case "G":
|
|
@@ -1369,17 +1352,17 @@ function gi(e) {
|
|
|
1369
1352
|
return "";
|
|
1370
1353
|
}), t;
|
|
1371
1354
|
}
|
|
1372
|
-
var
|
|
1373
|
-
function
|
|
1355
|
+
var bi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1356
|
+
function gi(e) {
|
|
1374
1357
|
if (e.length === 0)
|
|
1375
1358
|
throw new Error("Number skeleton cannot be empty");
|
|
1376
|
-
for (var t = e.split(
|
|
1359
|
+
for (var t = e.split(bi).filter(function(p) {
|
|
1377
1360
|
return p.length > 0;
|
|
1378
1361
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1379
|
-
var
|
|
1380
|
-
if (
|
|
1362
|
+
var s = i[n], o = s.split("/");
|
|
1363
|
+
if (o.length === 0)
|
|
1381
1364
|
throw new Error("Invalid number skeleton");
|
|
1382
|
-
for (var a =
|
|
1365
|
+
for (var a = o[0], l = o.slice(1), u = 0, h = l; u < h.length; u++) {
|
|
1383
1366
|
var f = h[u];
|
|
1384
1367
|
if (f.length === 0)
|
|
1385
1368
|
throw new Error("Invalid number skeleton");
|
|
@@ -1388,17 +1371,17 @@ function vi(e) {
|
|
|
1388
1371
|
}
|
|
1389
1372
|
return r;
|
|
1390
1373
|
}
|
|
1391
|
-
function
|
|
1374
|
+
function yi(e) {
|
|
1392
1375
|
return e.replace(/^(.*?)-/, "");
|
|
1393
1376
|
}
|
|
1394
|
-
var
|
|
1395
|
-
function
|
|
1377
|
+
var tr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ur = /^(@+)?(\+|#+)?[rs]?$/g, vi = /(\*)(0+)|(#+)(0+)|(0+)/g, Dr = /^(0+)$/;
|
|
1378
|
+
function rr(e) {
|
|
1396
1379
|
var t = {};
|
|
1397
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1380
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ur, function(r, n, i) {
|
|
1398
1381
|
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)), "";
|
|
1399
1382
|
}), t;
|
|
1400
1383
|
}
|
|
1401
|
-
function
|
|
1384
|
+
function Gr(e) {
|
|
1402
1385
|
switch (e) {
|
|
1403
1386
|
case "sign-auto":
|
|
1404
1387
|
return {
|
|
@@ -1438,7 +1421,7 @@ function kr(e) {
|
|
|
1438
1421
|
};
|
|
1439
1422
|
}
|
|
1440
1423
|
}
|
|
1441
|
-
function
|
|
1424
|
+
function _i(e) {
|
|
1442
1425
|
var t;
|
|
1443
1426
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1444
1427
|
notation: "engineering"
|
|
@@ -1446,17 +1429,17 @@ function xi(e) {
|
|
|
1446
1429
|
notation: "scientific"
|
|
1447
1430
|
}, e = e.slice(1)), t) {
|
|
1448
1431
|
var r = e.slice(0, 2);
|
|
1449
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)),
|
|
1432
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Dr.test(e))
|
|
1450
1433
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1451
1434
|
t.minimumIntegerDigits = e.length;
|
|
1452
1435
|
}
|
|
1453
1436
|
return t;
|
|
1454
1437
|
}
|
|
1455
|
-
function
|
|
1456
|
-
var t = {}, r =
|
|
1438
|
+
function nr(e) {
|
|
1439
|
+
var t = {}, r = Gr(e);
|
|
1457
1440
|
return r || t;
|
|
1458
1441
|
}
|
|
1459
|
-
function
|
|
1442
|
+
function xi(e) {
|
|
1460
1443
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1461
1444
|
var i = n[r];
|
|
1462
1445
|
switch (i.stem) {
|
|
@@ -1480,7 +1463,7 @@ function Si(e) {
|
|
|
1480
1463
|
continue;
|
|
1481
1464
|
case "measure-unit":
|
|
1482
1465
|
case "unit":
|
|
1483
|
-
t.style = "unit", t.unit =
|
|
1466
|
+
t.style = "unit", t.unit = yi(i.options[0]);
|
|
1484
1467
|
continue;
|
|
1485
1468
|
case "compact-short":
|
|
1486
1469
|
case "K":
|
|
@@ -1492,12 +1475,12 @@ function Si(e) {
|
|
|
1492
1475
|
continue;
|
|
1493
1476
|
case "scientific":
|
|
1494
1477
|
t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1495
|
-
return w(w({}, l),
|
|
1478
|
+
return w(w({}, l), nr(u));
|
|
1496
1479
|
}, {}));
|
|
1497
1480
|
continue;
|
|
1498
1481
|
case "engineering":
|
|
1499
1482
|
t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1500
|
-
return w(w({}, l),
|
|
1483
|
+
return w(w({}, l), nr(u));
|
|
1501
1484
|
}, {}));
|
|
1502
1485
|
continue;
|
|
1503
1486
|
case "notation-simple":
|
|
@@ -1542,45 +1525,45 @@ function Si(e) {
|
|
|
1542
1525
|
case "integer-width":
|
|
1543
1526
|
if (i.options.length > 1)
|
|
1544
1527
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1545
|
-
i.options[0].replace(
|
|
1528
|
+
i.options[0].replace(vi, function(l, u, h, f, p, b) {
|
|
1546
1529
|
if (u)
|
|
1547
1530
|
t.minimumIntegerDigits = h.length;
|
|
1548
1531
|
else {
|
|
1549
1532
|
if (f && p)
|
|
1550
1533
|
throw new Error("We currently do not support maximum integer digits");
|
|
1551
|
-
if (
|
|
1534
|
+
if (b)
|
|
1552
1535
|
throw new Error("We currently do not support exact integer digits");
|
|
1553
1536
|
}
|
|
1554
1537
|
return "";
|
|
1555
1538
|
});
|
|
1556
1539
|
continue;
|
|
1557
1540
|
}
|
|
1558
|
-
if (
|
|
1541
|
+
if (Dr.test(i.stem)) {
|
|
1559
1542
|
t.minimumIntegerDigits = i.stem.length;
|
|
1560
1543
|
continue;
|
|
1561
1544
|
}
|
|
1562
|
-
if (
|
|
1545
|
+
if (tr.test(i.stem)) {
|
|
1563
1546
|
if (i.options.length > 1)
|
|
1564
1547
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1565
|
-
i.stem.replace(
|
|
1566
|
-
return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : p &&
|
|
1548
|
+
i.stem.replace(tr, function(l, u, h, f, p, b) {
|
|
1549
|
+
return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : p && b ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + b.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1567
1550
|
});
|
|
1568
|
-
var
|
|
1569
|
-
|
|
1551
|
+
var s = i.options[0];
|
|
1552
|
+
s === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = w(w({}, t), rr(s)));
|
|
1570
1553
|
continue;
|
|
1571
1554
|
}
|
|
1572
|
-
if (
|
|
1573
|
-
t = w(w({}, t),
|
|
1555
|
+
if (Ur.test(i.stem)) {
|
|
1556
|
+
t = w(w({}, t), rr(i.stem));
|
|
1574
1557
|
continue;
|
|
1575
1558
|
}
|
|
1576
|
-
var
|
|
1577
|
-
|
|
1578
|
-
var a =
|
|
1559
|
+
var o = Gr(i.stem);
|
|
1560
|
+
o && (t = w(w({}, t), o));
|
|
1561
|
+
var a = _i(i.stem);
|
|
1579
1562
|
a && (t = w(w({}, t), a));
|
|
1580
1563
|
}
|
|
1581
1564
|
return t;
|
|
1582
1565
|
}
|
|
1583
|
-
var
|
|
1566
|
+
var qe = {
|
|
1584
1567
|
"001": [
|
|
1585
1568
|
"H",
|
|
1586
1569
|
"h"
|
|
@@ -2995,23 +2978,23 @@ var Ye = {
|
|
|
2995
2978
|
"h"
|
|
2996
2979
|
]
|
|
2997
2980
|
};
|
|
2998
|
-
function
|
|
2981
|
+
function Ei(e, t) {
|
|
2999
2982
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3000
2983
|
var i = e.charAt(n);
|
|
3001
2984
|
if (i === "j") {
|
|
3002
|
-
for (var
|
|
3003
|
-
|
|
3004
|
-
var
|
|
2985
|
+
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2986
|
+
s++, n++;
|
|
2987
|
+
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Si(t);
|
|
3005
2988
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
3006
2989
|
r += l;
|
|
3007
|
-
for (;
|
|
2990
|
+
for (; o-- > 0; )
|
|
3008
2991
|
r = u + r;
|
|
3009
2992
|
} else
|
|
3010
2993
|
i === "J" ? r += "H" : r += i;
|
|
3011
2994
|
}
|
|
3012
2995
|
return r;
|
|
3013
2996
|
}
|
|
3014
|
-
function
|
|
2997
|
+
function Si(e) {
|
|
3015
2998
|
var t = e.hourCycle;
|
|
3016
2999
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3017
3000
|
e.hourCycles && // @ts-ignore
|
|
@@ -3030,23 +3013,23 @@ function wi(e) {
|
|
|
3030
3013
|
}
|
|
3031
3014
|
var r = e.language, n;
|
|
3032
3015
|
r !== "root" && (n = e.maximize().region);
|
|
3033
|
-
var i =
|
|
3016
|
+
var i = qe[n || ""] || qe[r || ""] || qe["".concat(r, "-001")] || qe["001"];
|
|
3034
3017
|
return i[0];
|
|
3035
3018
|
}
|
|
3036
|
-
var bt,
|
|
3019
|
+
var bt, Ti = new RegExp("^".concat(Rr.source, "*")), wi = new RegExp("".concat(Rr.source, "*$"));
|
|
3037
3020
|
function S(e, t) {
|
|
3038
3021
|
return { start: e, end: t };
|
|
3039
3022
|
}
|
|
3040
|
-
var
|
|
3023
|
+
var Hi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ai = !!String.fromCodePoint, Bi = !!Object.fromEntries, Pi = !!String.prototype.codePointAt, Ci = !!String.prototype.trimStart, Oi = !!String.prototype.trimEnd, Li = !!Number.isSafeInteger, Ii = Li ? Number.isSafeInteger : function(e) {
|
|
3041
3024
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3042
3025
|
}, Bt = !0;
|
|
3043
3026
|
try {
|
|
3044
|
-
var
|
|
3045
|
-
Bt = ((bt =
|
|
3027
|
+
var Ni = $r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3028
|
+
Bt = ((bt = Ni.exec("a")) === null || bt === void 0 ? void 0 : bt[0]) === "a";
|
|
3046
3029
|
} catch (e) {
|
|
3047
3030
|
Bt = !1;
|
|
3048
3031
|
}
|
|
3049
|
-
var
|
|
3032
|
+
var ir = Hi ? (
|
|
3050
3033
|
// Native
|
|
3051
3034
|
function(t, r, n) {
|
|
3052
3035
|
return t.startsWith(r, n);
|
|
@@ -3056,31 +3039,31 @@ var sr = Bi ? (
|
|
|
3056
3039
|
function(t, r, n) {
|
|
3057
3040
|
return t.slice(n, n + r.length) === r;
|
|
3058
3041
|
}
|
|
3059
|
-
), Pt =
|
|
3042
|
+
), Pt = Ai ? String.fromCodePoint : (
|
|
3060
3043
|
// IE11
|
|
3061
3044
|
function() {
|
|
3062
3045
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
3063
3046
|
t[r] = arguments[r];
|
|
3064
|
-
for (var n = "", i = t.length,
|
|
3065
|
-
if (
|
|
3066
|
-
throw RangeError(
|
|
3067
|
-
n +=
|
|
3047
|
+
for (var n = "", i = t.length, s = 0, o; i > s; ) {
|
|
3048
|
+
if (o = t[s++], o > 1114111)
|
|
3049
|
+
throw RangeError(o + " is not a valid code point");
|
|
3050
|
+
n += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
|
|
3068
3051
|
}
|
|
3069
3052
|
return n;
|
|
3070
3053
|
}
|
|
3071
|
-
),
|
|
3054
|
+
), sr = (
|
|
3072
3055
|
// native
|
|
3073
|
-
|
|
3056
|
+
Bi ? Object.fromEntries : (
|
|
3074
3057
|
// Ponyfill
|
|
3075
3058
|
function(t) {
|
|
3076
3059
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
3077
|
-
var
|
|
3078
|
-
r[
|
|
3060
|
+
var s = i[n], o = s[0], a = s[1];
|
|
3061
|
+
r[o] = a;
|
|
3079
3062
|
}
|
|
3080
3063
|
return r;
|
|
3081
3064
|
}
|
|
3082
3065
|
)
|
|
3083
|
-
),
|
|
3066
|
+
), jr = Pi ? (
|
|
3084
3067
|
// Native
|
|
3085
3068
|
function(t, r) {
|
|
3086
3069
|
return t.codePointAt(r);
|
|
@@ -3090,11 +3073,11 @@ var sr = Bi ? (
|
|
|
3090
3073
|
function(t, r) {
|
|
3091
3074
|
var n = t.length;
|
|
3092
3075
|
if (!(r < 0 || r >= n)) {
|
|
3093
|
-
var i = t.charCodeAt(r),
|
|
3094
|
-
return i < 55296 || i > 56319 || r + 1 === n || (
|
|
3076
|
+
var i = t.charCodeAt(r), s;
|
|
3077
|
+
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
3095
3078
|
}
|
|
3096
3079
|
}
|
|
3097
|
-
),
|
|
3080
|
+
), Mi = Ci ? (
|
|
3098
3081
|
// Native
|
|
3099
3082
|
function(t) {
|
|
3100
3083
|
return t.trimStart();
|
|
@@ -3102,9 +3085,9 @@ var sr = Bi ? (
|
|
|
3102
3085
|
) : (
|
|
3103
3086
|
// Ponyfill
|
|
3104
3087
|
function(t) {
|
|
3105
|
-
return t.replace(
|
|
3088
|
+
return t.replace(Ti, "");
|
|
3106
3089
|
}
|
|
3107
|
-
),
|
|
3090
|
+
), Ri = Oi ? (
|
|
3108
3091
|
// Native
|
|
3109
3092
|
function(t) {
|
|
3110
3093
|
return t.trimEnd();
|
|
@@ -3112,32 +3095,32 @@ var sr = Bi ? (
|
|
|
3112
3095
|
) : (
|
|
3113
3096
|
// Ponyfill
|
|
3114
3097
|
function(t) {
|
|
3115
|
-
return t.replace(
|
|
3098
|
+
return t.replace(wi, "");
|
|
3116
3099
|
}
|
|
3117
3100
|
);
|
|
3118
|
-
function
|
|
3101
|
+
function $r(e, t) {
|
|
3119
3102
|
return new RegExp(e, t);
|
|
3120
3103
|
}
|
|
3121
3104
|
var Ct;
|
|
3122
3105
|
if (Bt) {
|
|
3123
|
-
var
|
|
3106
|
+
var or = $r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3124
3107
|
Ct = function(t, r) {
|
|
3125
3108
|
var n;
|
|
3126
|
-
|
|
3127
|
-
var i =
|
|
3109
|
+
or.lastIndex = r;
|
|
3110
|
+
var i = or.exec(t);
|
|
3128
3111
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3129
3112
|
};
|
|
3130
3113
|
} else
|
|
3131
3114
|
Ct = function(t, r) {
|
|
3132
3115
|
for (var n = []; ; ) {
|
|
3133
|
-
var i =
|
|
3134
|
-
if (i === void 0 ||
|
|
3116
|
+
var i = jr(t, r);
|
|
3117
|
+
if (i === void 0 || kr(i) || ji(i))
|
|
3135
3118
|
break;
|
|
3136
3119
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3137
3120
|
}
|
|
3138
3121
|
return Pt.apply(void 0, n);
|
|
3139
3122
|
};
|
|
3140
|
-
var
|
|
3123
|
+
var Ui = (
|
|
3141
3124
|
/** @class */
|
|
3142
3125
|
function() {
|
|
3143
3126
|
function e(t, r) {
|
|
@@ -3149,35 +3132,35 @@ var Gi = (
|
|
|
3149
3132
|
return this.parseMessage(0, "", !1);
|
|
3150
3133
|
}, e.prototype.parseMessage = function(t, r, n) {
|
|
3151
3134
|
for (var i = []; !this.isEOF(); ) {
|
|
3152
|
-
var
|
|
3153
|
-
if (
|
|
3154
|
-
var
|
|
3155
|
-
if (
|
|
3156
|
-
return
|
|
3157
|
-
i.push(
|
|
3135
|
+
var s = this.char();
|
|
3136
|
+
if (s === 123) {
|
|
3137
|
+
var o = this.parseArgument(t, n);
|
|
3138
|
+
if (o.err)
|
|
3139
|
+
return o;
|
|
3140
|
+
i.push(o.val);
|
|
3158
3141
|
} else {
|
|
3159
|
-
if (
|
|
3142
|
+
if (s === 125 && t > 0)
|
|
3160
3143
|
break;
|
|
3161
|
-
if (
|
|
3144
|
+
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3162
3145
|
var a = this.clonePosition();
|
|
3163
3146
|
this.bump(), i.push({
|
|
3164
3147
|
type: P.pound,
|
|
3165
3148
|
location: S(a, this.clonePosition())
|
|
3166
3149
|
});
|
|
3167
|
-
} else if (
|
|
3150
|
+
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3168
3151
|
if (n)
|
|
3169
3152
|
break;
|
|
3170
|
-
return this.error(
|
|
3171
|
-
} else if (
|
|
3172
|
-
var
|
|
3173
|
-
if (
|
|
3174
|
-
return
|
|
3175
|
-
i.push(
|
|
3153
|
+
return this.error(E.UNMATCHED_CLOSING_TAG, S(this.clonePosition(), this.clonePosition()));
|
|
3154
|
+
} else if (s === 60 && !this.ignoreTag && Ot(this.peek() || 0)) {
|
|
3155
|
+
var o = this.parseTag(t, r);
|
|
3156
|
+
if (o.err)
|
|
3157
|
+
return o;
|
|
3158
|
+
i.push(o.val);
|
|
3176
3159
|
} else {
|
|
3177
|
-
var
|
|
3178
|
-
if (
|
|
3179
|
-
return
|
|
3180
|
-
i.push(
|
|
3160
|
+
var o = this.parseLiteral(t, r);
|
|
3161
|
+
if (o.err)
|
|
3162
|
+
return o;
|
|
3163
|
+
i.push(o.val);
|
|
3181
3164
|
}
|
|
3182
3165
|
}
|
|
3183
3166
|
}
|
|
@@ -3196,44 +3179,44 @@ var Gi = (
|
|
|
3196
3179
|
err: null
|
|
3197
3180
|
};
|
|
3198
3181
|
if (this.bumpIf(">")) {
|
|
3199
|
-
var
|
|
3200
|
-
if (
|
|
3201
|
-
return
|
|
3202
|
-
var
|
|
3182
|
+
var s = this.parseMessage(t + 1, r, !0);
|
|
3183
|
+
if (s.err)
|
|
3184
|
+
return s;
|
|
3185
|
+
var o = s.val, a = this.clonePosition();
|
|
3203
3186
|
if (this.bumpIf("</")) {
|
|
3204
|
-
if (this.isEOF() || !
|
|
3205
|
-
return this.error(
|
|
3187
|
+
if (this.isEOF() || !Ot(this.char()))
|
|
3188
|
+
return this.error(E.INVALID_TAG, S(a, this.clonePosition()));
|
|
3206
3189
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3207
|
-
return i !== u ? this.error(
|
|
3190
|
+
return i !== u ? this.error(E.UNMATCHED_CLOSING_TAG, S(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3208
3191
|
val: {
|
|
3209
3192
|
type: P.tag,
|
|
3210
3193
|
value: i,
|
|
3211
|
-
children:
|
|
3194
|
+
children: o,
|
|
3212
3195
|
location: S(n, this.clonePosition())
|
|
3213
3196
|
},
|
|
3214
3197
|
err: null
|
|
3215
|
-
} : this.error(
|
|
3198
|
+
} : this.error(E.INVALID_TAG, S(a, this.clonePosition())));
|
|
3216
3199
|
} else
|
|
3217
|
-
return this.error(
|
|
3200
|
+
return this.error(E.UNCLOSED_TAG, S(n, this.clonePosition()));
|
|
3218
3201
|
} else
|
|
3219
|
-
return this.error(
|
|
3202
|
+
return this.error(E.INVALID_TAG, S(n, this.clonePosition()));
|
|
3220
3203
|
}, e.prototype.parseTagName = function() {
|
|
3221
3204
|
var t = this.offset();
|
|
3222
|
-
for (this.bump(); !this.isEOF() &&
|
|
3205
|
+
for (this.bump(); !this.isEOF() && Gi(this.char()); )
|
|
3223
3206
|
this.bump();
|
|
3224
3207
|
return this.message.slice(t, this.offset());
|
|
3225
3208
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
3226
3209
|
for (var n = this.clonePosition(), i = ""; ; ) {
|
|
3227
|
-
var
|
|
3228
|
-
if (o) {
|
|
3229
|
-
i += o;
|
|
3230
|
-
continue;
|
|
3231
|
-
}
|
|
3232
|
-
var s = this.tryParseUnquoted(t, r);
|
|
3210
|
+
var s = this.tryParseQuote(r);
|
|
3233
3211
|
if (s) {
|
|
3234
3212
|
i += s;
|
|
3235
3213
|
continue;
|
|
3236
3214
|
}
|
|
3215
|
+
var o = this.tryParseUnquoted(t, r);
|
|
3216
|
+
if (o) {
|
|
3217
|
+
i += o;
|
|
3218
|
+
continue;
|
|
3219
|
+
}
|
|
3237
3220
|
var a = this.tryParseLeftAngleBracket();
|
|
3238
3221
|
if (a) {
|
|
3239
3222
|
i += a;
|
|
@@ -3248,7 +3231,7 @@ var Gi = (
|
|
|
3248
3231
|
};
|
|
3249
3232
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3250
3233
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3251
|
-
!
|
|
3234
|
+
!Di(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3252
3235
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3253
3236
|
if (this.isEOF() || this.char() !== 39)
|
|
3254
3237
|
return null;
|
|
@@ -3291,14 +3274,14 @@ var Gi = (
|
|
|
3291
3274
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3292
3275
|
var n = this.clonePosition();
|
|
3293
3276
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3294
|
-
return this.error(
|
|
3277
|
+
return this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, S(n, this.clonePosition()));
|
|
3295
3278
|
if (this.char() === 125)
|
|
3296
|
-
return this.bump(), this.error(
|
|
3279
|
+
return this.bump(), this.error(E.EMPTY_ARGUMENT, S(n, this.clonePosition()));
|
|
3297
3280
|
var i = this.parseIdentifierIfPossible().value;
|
|
3298
3281
|
if (!i)
|
|
3299
|
-
return this.error(
|
|
3282
|
+
return this.error(E.MALFORMED_ARGUMENT, S(n, this.clonePosition()));
|
|
3300
3283
|
if (this.bumpSpace(), this.isEOF())
|
|
3301
|
-
return this.error(
|
|
3284
|
+
return this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, S(n, this.clonePosition()));
|
|
3302
3285
|
switch (this.char()) {
|
|
3303
3286
|
case 125:
|
|
3304
3287
|
return this.bump(), {
|
|
@@ -3311,20 +3294,20 @@ var Gi = (
|
|
|
3311
3294
|
err: null
|
|
3312
3295
|
};
|
|
3313
3296
|
case 44:
|
|
3314
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
3297
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, S(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3315
3298
|
default:
|
|
3316
|
-
return this.error(
|
|
3299
|
+
return this.error(E.MALFORMED_ARGUMENT, S(n, this.clonePosition()));
|
|
3317
3300
|
}
|
|
3318
3301
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3319
3302
|
var t = this.clonePosition(), r = this.offset(), n = Ct(this.message, r), i = r + n.length;
|
|
3320
3303
|
this.bumpTo(i);
|
|
3321
|
-
var
|
|
3322
|
-
return { value: n, location:
|
|
3304
|
+
var s = this.clonePosition(), o = S(t, s);
|
|
3305
|
+
return { value: n, location: o };
|
|
3323
3306
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3324
|
-
var
|
|
3307
|
+
var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
3325
3308
|
switch (a) {
|
|
3326
3309
|
case "":
|
|
3327
|
-
return this.error(
|
|
3310
|
+
return this.error(E.EXPECT_ARGUMENT_TYPE, S(o, l));
|
|
3328
3311
|
case "number":
|
|
3329
3312
|
case "date":
|
|
3330
3313
|
case "time": {
|
|
@@ -3335,37 +3318,37 @@ var Gi = (
|
|
|
3335
3318
|
var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3336
3319
|
if (f.err)
|
|
3337
3320
|
return f;
|
|
3338
|
-
var p =
|
|
3321
|
+
var p = Ri(f.val);
|
|
3339
3322
|
if (p.length === 0)
|
|
3340
|
-
return this.error(
|
|
3341
|
-
var
|
|
3342
|
-
u = { style: p, styleLocation:
|
|
3323
|
+
return this.error(E.EXPECT_ARGUMENT_STYLE, S(this.clonePosition(), this.clonePosition()));
|
|
3324
|
+
var b = S(h, this.clonePosition());
|
|
3325
|
+
u = { style: p, styleLocation: b };
|
|
3343
3326
|
}
|
|
3344
|
-
var
|
|
3345
|
-
if (
|
|
3346
|
-
return
|
|
3347
|
-
var
|
|
3348
|
-
if (u &&
|
|
3349
|
-
var
|
|
3327
|
+
var g = this.tryParseArgumentClose(i);
|
|
3328
|
+
if (g.err)
|
|
3329
|
+
return g;
|
|
3330
|
+
var y = S(i, this.clonePosition());
|
|
3331
|
+
if (u && ir(u == null ? void 0 : u.style, "::", 0)) {
|
|
3332
|
+
var v = Mi(u.style.slice(2));
|
|
3350
3333
|
if (a === "number") {
|
|
3351
|
-
var f = this.parseNumberSkeletonFromString(
|
|
3334
|
+
var f = this.parseNumberSkeletonFromString(v, u.styleLocation);
|
|
3352
3335
|
return f.err ? f : {
|
|
3353
|
-
val: { type: P.number, value: n, location:
|
|
3336
|
+
val: { type: P.number, value: n, location: y, style: f.val },
|
|
3354
3337
|
err: null
|
|
3355
3338
|
};
|
|
3356
3339
|
} else {
|
|
3357
|
-
if (
|
|
3358
|
-
return this.error(
|
|
3359
|
-
var
|
|
3360
|
-
this.locale && (
|
|
3340
|
+
if (v.length === 0)
|
|
3341
|
+
return this.error(E.EXPECT_DATE_TIME_SKELETON, y);
|
|
3342
|
+
var x = v;
|
|
3343
|
+
this.locale && (x = Ei(v, this.locale));
|
|
3361
3344
|
var p = {
|
|
3362
|
-
type:
|
|
3363
|
-
pattern:
|
|
3345
|
+
type: Be.dateTime,
|
|
3346
|
+
pattern: x,
|
|
3364
3347
|
location: u.styleLocation,
|
|
3365
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3348
|
+
parsedOptions: this.shouldParseSkeletons ? mi(x) : {}
|
|
3366
3349
|
}, T = a === "date" ? P.date : P.time;
|
|
3367
3350
|
return {
|
|
3368
|
-
val: { type: T, value: n, location:
|
|
3351
|
+
val: { type: T, value: n, location: y, style: p },
|
|
3369
3352
|
err: null
|
|
3370
3353
|
};
|
|
3371
3354
|
}
|
|
@@ -3374,8 +3357,8 @@ var Gi = (
|
|
|
3374
3357
|
val: {
|
|
3375
3358
|
type: a === "number" ? P.number : a === "date" ? P.date : P.time,
|
|
3376
3359
|
value: n,
|
|
3377
|
-
location:
|
|
3378
|
-
style: (
|
|
3360
|
+
location: y,
|
|
3361
|
+
style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
|
|
3379
3362
|
},
|
|
3380
3363
|
err: null
|
|
3381
3364
|
};
|
|
@@ -3385,50 +3368,50 @@ var Gi = (
|
|
|
3385
3368
|
case "select": {
|
|
3386
3369
|
var B = this.clonePosition();
|
|
3387
3370
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3388
|
-
return this.error(
|
|
3371
|
+
return this.error(E.EXPECT_SELECT_ARGUMENT_OPTIONS, S(B, w({}, B)));
|
|
3389
3372
|
this.bumpSpace();
|
|
3390
|
-
var
|
|
3391
|
-
if (a !== "select" &&
|
|
3373
|
+
var U = this.parseIdentifierIfPossible(), N = 0;
|
|
3374
|
+
if (a !== "select" && U.value === "offset") {
|
|
3392
3375
|
if (!this.bumpIf(":"))
|
|
3393
|
-
return this.error(
|
|
3376
|
+
return this.error(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, S(this.clonePosition(), this.clonePosition()));
|
|
3394
3377
|
this.bumpSpace();
|
|
3395
|
-
var f = this.tryParseDecimalInteger(
|
|
3378
|
+
var f = this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3396
3379
|
if (f.err)
|
|
3397
3380
|
return f;
|
|
3398
|
-
this.bumpSpace(),
|
|
3381
|
+
this.bumpSpace(), U = this.parseIdentifierIfPossible(), N = f.val;
|
|
3399
3382
|
}
|
|
3400
|
-
var
|
|
3401
|
-
if (
|
|
3402
|
-
return
|
|
3403
|
-
var
|
|
3404
|
-
if (
|
|
3405
|
-
return
|
|
3406
|
-
var
|
|
3383
|
+
var F = this.tryParsePluralOrSelectOptions(t, a, r, U);
|
|
3384
|
+
if (F.err)
|
|
3385
|
+
return F;
|
|
3386
|
+
var g = this.tryParseArgumentClose(i);
|
|
3387
|
+
if (g.err)
|
|
3388
|
+
return g;
|
|
3389
|
+
var z = S(i, this.clonePosition());
|
|
3407
3390
|
return a === "select" ? {
|
|
3408
3391
|
val: {
|
|
3409
3392
|
type: P.select,
|
|
3410
3393
|
value: n,
|
|
3411
|
-
options:
|
|
3412
|
-
location:
|
|
3394
|
+
options: sr(F.val),
|
|
3395
|
+
location: z
|
|
3413
3396
|
},
|
|
3414
3397
|
err: null
|
|
3415
3398
|
} : {
|
|
3416
3399
|
val: {
|
|
3417
3400
|
type: P.plural,
|
|
3418
3401
|
value: n,
|
|
3419
|
-
options:
|
|
3420
|
-
offset:
|
|
3402
|
+
options: sr(F.val),
|
|
3403
|
+
offset: N,
|
|
3421
3404
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3422
|
-
location:
|
|
3405
|
+
location: z
|
|
3423
3406
|
},
|
|
3424
3407
|
err: null
|
|
3425
3408
|
};
|
|
3426
3409
|
}
|
|
3427
3410
|
default:
|
|
3428
|
-
return this.error(
|
|
3411
|
+
return this.error(E.INVALID_ARGUMENT_TYPE, S(o, l));
|
|
3429
3412
|
}
|
|
3430
3413
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3431
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
3414
|
+
return this.isEOF() || this.char() !== 125 ? this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, S(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3432
3415
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3433
3416
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3434
3417
|
var n = this.char();
|
|
@@ -3437,7 +3420,7 @@ var Gi = (
|
|
|
3437
3420
|
this.bump();
|
|
3438
3421
|
var i = this.clonePosition();
|
|
3439
3422
|
if (!this.bumpUntil("'"))
|
|
3440
|
-
return this.error(
|
|
3423
|
+
return this.error(E.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, S(i, this.clonePosition()));
|
|
3441
3424
|
this.bump();
|
|
3442
3425
|
break;
|
|
3443
3426
|
}
|
|
@@ -3467,25 +3450,25 @@ var Gi = (
|
|
|
3467
3450
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3468
3451
|
var n = [];
|
|
3469
3452
|
try {
|
|
3470
|
-
n =
|
|
3453
|
+
n = gi(t);
|
|
3471
3454
|
} catch (i) {
|
|
3472
|
-
return this.error(
|
|
3455
|
+
return this.error(E.INVALID_NUMBER_SKELETON, r);
|
|
3473
3456
|
}
|
|
3474
3457
|
return {
|
|
3475
3458
|
val: {
|
|
3476
|
-
type:
|
|
3459
|
+
type: Be.number,
|
|
3477
3460
|
tokens: n,
|
|
3478
3461
|
location: r,
|
|
3479
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3462
|
+
parsedOptions: this.shouldParseSkeletons ? xi(n) : {}
|
|
3480
3463
|
},
|
|
3481
3464
|
err: null
|
|
3482
3465
|
};
|
|
3483
3466
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3484
|
-
for (var
|
|
3467
|
+
for (var s, o = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
|
|
3485
3468
|
if (u.length === 0) {
|
|
3486
3469
|
var f = this.clonePosition();
|
|
3487
3470
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3488
|
-
var p = this.tryParseDecimalInteger(
|
|
3471
|
+
var p = this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_SELECTOR, E.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3489
3472
|
if (p.err)
|
|
3490
3473
|
return p;
|
|
3491
3474
|
h = S(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
|
|
@@ -3493,38 +3476,38 @@ var Gi = (
|
|
|
3493
3476
|
break;
|
|
3494
3477
|
}
|
|
3495
3478
|
if (l.has(u))
|
|
3496
|
-
return this.error(r === "select" ?
|
|
3497
|
-
u === "other" && (
|
|
3498
|
-
var
|
|
3479
|
+
return this.error(r === "select" ? E.DUPLICATE_SELECT_ARGUMENT_SELECTOR : E.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3480
|
+
u === "other" && (o = !0), this.bumpSpace();
|
|
3481
|
+
var b = this.clonePosition();
|
|
3499
3482
|
if (!this.bumpIf("{"))
|
|
3500
|
-
return this.error(r === "select" ?
|
|
3501
|
-
var
|
|
3483
|
+
return this.error(r === "select" ? E.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : E.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, S(this.clonePosition(), this.clonePosition()));
|
|
3484
|
+
var g = this.parseMessage(t + 1, r, n);
|
|
3485
|
+
if (g.err)
|
|
3486
|
+
return g;
|
|
3487
|
+
var y = this.tryParseArgumentClose(b);
|
|
3502
3488
|
if (y.err)
|
|
3503
3489
|
return y;
|
|
3504
|
-
var v = this.tryParseArgumentClose(g);
|
|
3505
|
-
if (v.err)
|
|
3506
|
-
return v;
|
|
3507
3490
|
a.push([
|
|
3508
3491
|
u,
|
|
3509
3492
|
{
|
|
3510
|
-
value:
|
|
3511
|
-
location: S(
|
|
3493
|
+
value: g.val,
|
|
3494
|
+
location: S(b, this.clonePosition())
|
|
3512
3495
|
}
|
|
3513
|
-
]), l.add(u), this.bumpSpace(),
|
|
3496
|
+
]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
|
|
3514
3497
|
}
|
|
3515
|
-
return a.length === 0 ? this.error(r === "select" ?
|
|
3498
|
+
return a.length === 0 ? this.error(r === "select" ? E.EXPECT_SELECT_ARGUMENT_SELECTOR : E.EXPECT_PLURAL_ARGUMENT_SELECTOR, S(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(E.MISSING_OTHER_CLAUSE, S(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3516
3499
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3517
3500
|
var n = 1, i = this.clonePosition();
|
|
3518
3501
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
3519
|
-
for (var
|
|
3502
|
+
for (var s = !1, o = 0; !this.isEOF(); ) {
|
|
3520
3503
|
var a = this.char();
|
|
3521
3504
|
if (a >= 48 && a <= 57)
|
|
3522
|
-
|
|
3505
|
+
s = !0, o = o * 10 + (a - 48), this.bump();
|
|
3523
3506
|
else
|
|
3524
3507
|
break;
|
|
3525
3508
|
}
|
|
3526
3509
|
var l = S(i, this.clonePosition());
|
|
3527
|
-
return
|
|
3510
|
+
return s ? (o *= n, Ii(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3528
3511
|
}, e.prototype.offset = function() {
|
|
3529
3512
|
return this.position.offset;
|
|
3530
3513
|
}, e.prototype.isEOF = function() {
|
|
@@ -3539,7 +3522,7 @@ var Gi = (
|
|
|
3539
3522
|
var t = this.position.offset;
|
|
3540
3523
|
if (t >= this.message.length)
|
|
3541
3524
|
throw Error("out of bound");
|
|
3542
|
-
var r =
|
|
3525
|
+
var r = jr(this.message, t);
|
|
3543
3526
|
if (r === void 0)
|
|
3544
3527
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3545
3528
|
return r;
|
|
@@ -3558,7 +3541,7 @@ var Gi = (
|
|
|
3558
3541
|
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);
|
|
3559
3542
|
}
|
|
3560
3543
|
}, e.prototype.bumpIf = function(t) {
|
|
3561
|
-
if (
|
|
3544
|
+
if (ir(this.message, t, this.offset())) {
|
|
3562
3545
|
for (var r = 0; r < t.length; r++)
|
|
3563
3546
|
this.bump();
|
|
3564
3547
|
return !0;
|
|
@@ -3580,7 +3563,7 @@ var Gi = (
|
|
|
3580
3563
|
break;
|
|
3581
3564
|
}
|
|
3582
3565
|
}, e.prototype.bumpSpace = function() {
|
|
3583
|
-
for (; !this.isEOF() &&
|
|
3566
|
+
for (; !this.isEOF() && kr(this.char()); )
|
|
3584
3567
|
this.bump();
|
|
3585
3568
|
}, e.prototype.peek = function() {
|
|
3586
3569
|
if (this.isEOF())
|
|
@@ -3590,201 +3573,201 @@ var Gi = (
|
|
|
3590
3573
|
}, e;
|
|
3591
3574
|
}()
|
|
3592
3575
|
);
|
|
3593
|
-
function
|
|
3576
|
+
function Ot(e) {
|
|
3594
3577
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3595
3578
|
}
|
|
3596
|
-
function
|
|
3597
|
-
return
|
|
3579
|
+
function Di(e) {
|
|
3580
|
+
return Ot(e) || e === 47;
|
|
3598
3581
|
}
|
|
3599
|
-
function
|
|
3582
|
+
function Gi(e) {
|
|
3600
3583
|
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;
|
|
3601
3584
|
}
|
|
3602
|
-
function
|
|
3585
|
+
function kr(e) {
|
|
3603
3586
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3604
3587
|
}
|
|
3605
|
-
function
|
|
3588
|
+
function ji(e) {
|
|
3606
3589
|
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;
|
|
3607
3590
|
}
|
|
3608
|
-
function
|
|
3591
|
+
function Lt(e) {
|
|
3609
3592
|
e.forEach(function(t) {
|
|
3610
|
-
if (delete t.location,
|
|
3593
|
+
if (delete t.location, Lr(t) || Ir(t))
|
|
3611
3594
|
for (var r in t.options)
|
|
3612
|
-
delete t.options[r].location,
|
|
3595
|
+
delete t.options[r].location, Lt(t.options[r].value);
|
|
3613
3596
|
else
|
|
3614
|
-
|
|
3597
|
+
Pr(t) && Mr(t.style) || (Cr(t) || Or(t)) && At(t.style) ? delete t.style.location : Nr(t) && Lt(t.children);
|
|
3615
3598
|
});
|
|
3616
3599
|
}
|
|
3617
|
-
function
|
|
3600
|
+
function $i(e, t) {
|
|
3618
3601
|
t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3619
|
-
var r = new
|
|
3602
|
+
var r = new Ui(e, t).parse();
|
|
3620
3603
|
if (r.err) {
|
|
3621
|
-
var n = SyntaxError(
|
|
3604
|
+
var n = SyntaxError(E[r.err.kind]);
|
|
3622
3605
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3623
3606
|
}
|
|
3624
|
-
return t != null && t.captureLocation ||
|
|
3607
|
+
return t != null && t.captureLocation || Lt(r.val), r.val;
|
|
3625
3608
|
}
|
|
3626
|
-
var
|
|
3609
|
+
var Pe;
|
|
3627
3610
|
(function(e) {
|
|
3628
3611
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3629
|
-
})(
|
|
3630
|
-
var
|
|
3612
|
+
})(Pe || (Pe = {}));
|
|
3613
|
+
var at = (
|
|
3631
3614
|
/** @class */
|
|
3632
3615
|
function(e) {
|
|
3633
|
-
|
|
3616
|
+
ne(t, e);
|
|
3634
3617
|
function t(r, n, i) {
|
|
3635
|
-
var
|
|
3636
|
-
return
|
|
3618
|
+
var s = e.call(this, r) || this;
|
|
3619
|
+
return s.code = n, s.originalMessage = i, s;
|
|
3637
3620
|
}
|
|
3638
3621
|
return t.prototype.toString = function() {
|
|
3639
3622
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3640
3623
|
}, t;
|
|
3641
3624
|
}(Error)
|
|
3642
|
-
),
|
|
3625
|
+
), ar = (
|
|
3643
3626
|
/** @class */
|
|
3644
3627
|
function(e) {
|
|
3645
|
-
|
|
3646
|
-
function t(r, n, i,
|
|
3647
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3628
|
+
ne(t, e);
|
|
3629
|
+
function t(r, n, i, s) {
|
|
3630
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Pe.INVALID_VALUE, s) || this;
|
|
3648
3631
|
}
|
|
3649
3632
|
return t;
|
|
3650
|
-
}(
|
|
3651
|
-
),
|
|
3633
|
+
}(at)
|
|
3634
|
+
), ki = (
|
|
3652
3635
|
/** @class */
|
|
3653
3636
|
function(e) {
|
|
3654
|
-
|
|
3637
|
+
ne(t, e);
|
|
3655
3638
|
function t(r, n, i) {
|
|
3656
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3639
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Pe.INVALID_VALUE, i) || this;
|
|
3657
3640
|
}
|
|
3658
3641
|
return t;
|
|
3659
|
-
}(
|
|
3660
|
-
),
|
|
3642
|
+
}(at)
|
|
3643
|
+
), Fi = (
|
|
3661
3644
|
/** @class */
|
|
3662
3645
|
function(e) {
|
|
3663
|
-
|
|
3646
|
+
ne(t, e);
|
|
3664
3647
|
function t(r, n) {
|
|
3665
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3648
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Pe.MISSING_VALUE, n) || this;
|
|
3666
3649
|
}
|
|
3667
3650
|
return t;
|
|
3668
|
-
}(
|
|
3669
|
-
),
|
|
3651
|
+
}(at)
|
|
3652
|
+
), G;
|
|
3670
3653
|
(function(e) {
|
|
3671
3654
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3672
|
-
})(
|
|
3673
|
-
function
|
|
3655
|
+
})(G || (G = {}));
|
|
3656
|
+
function Vi(e) {
|
|
3674
3657
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3675
3658
|
var n = t[t.length - 1];
|
|
3676
|
-
return !n || n.type !==
|
|
3659
|
+
return !n || n.type !== G.literal || r.type !== G.literal ? t.push(r) : n.value += r.value, t;
|
|
3677
3660
|
}, []);
|
|
3678
3661
|
}
|
|
3679
|
-
function
|
|
3662
|
+
function Wi(e) {
|
|
3680
3663
|
return typeof e == "function";
|
|
3681
3664
|
}
|
|
3682
|
-
function
|
|
3683
|
-
if (e.length === 1 &&
|
|
3665
|
+
function tt(e, t, r, n, i, s, o) {
|
|
3666
|
+
if (e.length === 1 && er(e[0]))
|
|
3684
3667
|
return [
|
|
3685
3668
|
{
|
|
3686
|
-
type:
|
|
3669
|
+
type: G.literal,
|
|
3687
3670
|
value: e[0].value
|
|
3688
3671
|
}
|
|
3689
3672
|
];
|
|
3690
3673
|
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
|
3691
3674
|
var h = u[l];
|
|
3692
|
-
if (
|
|
3675
|
+
if (er(h)) {
|
|
3693
3676
|
a.push({
|
|
3694
|
-
type:
|
|
3677
|
+
type: G.literal,
|
|
3695
3678
|
value: h.value
|
|
3696
3679
|
});
|
|
3697
3680
|
continue;
|
|
3698
3681
|
}
|
|
3699
|
-
if (
|
|
3700
|
-
typeof
|
|
3701
|
-
type:
|
|
3702
|
-
value: r.getNumberFormat(t).format(
|
|
3682
|
+
if (pi(h)) {
|
|
3683
|
+
typeof s == "number" && a.push({
|
|
3684
|
+
type: G.literal,
|
|
3685
|
+
value: r.getNumberFormat(t).format(s)
|
|
3703
3686
|
});
|
|
3704
3687
|
continue;
|
|
3705
3688
|
}
|
|
3706
3689
|
var f = h.value;
|
|
3707
3690
|
if (!(i && f in i))
|
|
3708
|
-
throw new
|
|
3691
|
+
throw new Fi(f, o);
|
|
3709
3692
|
var p = i[f];
|
|
3710
|
-
if (
|
|
3693
|
+
if (fi(h)) {
|
|
3711
3694
|
(!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), a.push({
|
|
3712
|
-
type: typeof p == "string" ?
|
|
3695
|
+
type: typeof p == "string" ? G.literal : G.object,
|
|
3713
3696
|
value: p
|
|
3714
3697
|
});
|
|
3715
3698
|
continue;
|
|
3716
3699
|
}
|
|
3717
|
-
if (
|
|
3718
|
-
var
|
|
3700
|
+
if (Cr(h)) {
|
|
3701
|
+
var b = typeof h.style == "string" ? n.date[h.style] : At(h.style) ? h.style.parsedOptions : void 0;
|
|
3719
3702
|
a.push({
|
|
3720
|
-
type:
|
|
3721
|
-
value: r.getDateTimeFormat(t,
|
|
3703
|
+
type: G.literal,
|
|
3704
|
+
value: r.getDateTimeFormat(t, b).format(p)
|
|
3722
3705
|
});
|
|
3723
3706
|
continue;
|
|
3724
3707
|
}
|
|
3725
|
-
if (
|
|
3726
|
-
var
|
|
3708
|
+
if (Or(h)) {
|
|
3709
|
+
var b = typeof h.style == "string" ? n.time[h.style] : At(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3727
3710
|
a.push({
|
|
3728
|
-
type:
|
|
3729
|
-
value: r.getDateTimeFormat(t,
|
|
3711
|
+
type: G.literal,
|
|
3712
|
+
value: r.getDateTimeFormat(t, b).format(p)
|
|
3730
3713
|
});
|
|
3731
3714
|
continue;
|
|
3732
3715
|
}
|
|
3733
|
-
if (
|
|
3734
|
-
var
|
|
3735
|
-
|
|
3736
|
-
type:
|
|
3737
|
-
value: r.getNumberFormat(t,
|
|
3716
|
+
if (Pr(h)) {
|
|
3717
|
+
var b = typeof h.style == "string" ? n.number[h.style] : Mr(h.style) ? h.style.parsedOptions : void 0;
|
|
3718
|
+
b && b.scale && (p = p * (b.scale || 1)), a.push({
|
|
3719
|
+
type: G.literal,
|
|
3720
|
+
value: r.getNumberFormat(t, b).format(p)
|
|
3738
3721
|
});
|
|
3739
3722
|
continue;
|
|
3740
3723
|
}
|
|
3741
|
-
if (
|
|
3742
|
-
var
|
|
3743
|
-
if (!
|
|
3744
|
-
throw new
|
|
3745
|
-
var
|
|
3746
|
-
return
|
|
3724
|
+
if (Nr(h)) {
|
|
3725
|
+
var g = h.children, y = h.value, v = i[y];
|
|
3726
|
+
if (!Wi(v))
|
|
3727
|
+
throw new ki(y, "function", o);
|
|
3728
|
+
var x = tt(g, t, r, n, i, s), T = v(x.map(function(N) {
|
|
3729
|
+
return N.value;
|
|
3747
3730
|
}));
|
|
3748
|
-
Array.isArray(T) || (T = [T]), a.push.apply(a, T.map(function(
|
|
3731
|
+
Array.isArray(T) || (T = [T]), a.push.apply(a, T.map(function(N) {
|
|
3749
3732
|
return {
|
|
3750
|
-
type: typeof
|
|
3751
|
-
value:
|
|
3733
|
+
type: typeof N == "string" ? G.literal : G.object,
|
|
3734
|
+
value: N
|
|
3752
3735
|
};
|
|
3753
3736
|
}));
|
|
3754
3737
|
}
|
|
3755
|
-
if (
|
|
3738
|
+
if (Lr(h)) {
|
|
3756
3739
|
var B = h.options[p] || h.options.other;
|
|
3757
3740
|
if (!B)
|
|
3758
|
-
throw new
|
|
3759
|
-
a.push.apply(a,
|
|
3741
|
+
throw new ar(h.value, p, Object.keys(h.options), o);
|
|
3742
|
+
a.push.apply(a, tt(B.value, t, r, n, i));
|
|
3760
3743
|
continue;
|
|
3761
3744
|
}
|
|
3762
|
-
if (
|
|
3745
|
+
if (Ir(h)) {
|
|
3763
3746
|
var B = h.options["=".concat(p)];
|
|
3764
3747
|
if (!B) {
|
|
3765
3748
|
if (!Intl.PluralRules)
|
|
3766
|
-
throw new
|
|
3749
|
+
throw new at(`Intl.PluralRules is not available in this environment.
|
|
3767
3750
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3768
|
-
`,
|
|
3769
|
-
var
|
|
3770
|
-
B = h.options[
|
|
3751
|
+
`, Pe.MISSING_INTL_API, o);
|
|
3752
|
+
var U = r.getPluralRules(t, { type: h.pluralType }).select(p - (h.offset || 0));
|
|
3753
|
+
B = h.options[U] || h.options.other;
|
|
3771
3754
|
}
|
|
3772
3755
|
if (!B)
|
|
3773
|
-
throw new
|
|
3774
|
-
a.push.apply(a,
|
|
3756
|
+
throw new ar(h.value, p, Object.keys(h.options), o);
|
|
3757
|
+
a.push.apply(a, tt(B.value, t, r, n, i, p - (h.offset || 0)));
|
|
3775
3758
|
continue;
|
|
3776
3759
|
}
|
|
3777
3760
|
}
|
|
3778
|
-
return
|
|
3761
|
+
return Vi(a);
|
|
3779
3762
|
}
|
|
3780
|
-
function
|
|
3763
|
+
function Xi(e, t) {
|
|
3781
3764
|
return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3782
3765
|
return r[n] = w(w({}, e[n]), t[n] || {}), r;
|
|
3783
3766
|
}, {})) : e;
|
|
3784
3767
|
}
|
|
3785
|
-
function
|
|
3768
|
+
function zi(e, t) {
|
|
3786
3769
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3787
|
-
return r[n] =
|
|
3770
|
+
return r[n] = Xi(e[n], t[n]), r;
|
|
3788
3771
|
}, w({}, e)) : e;
|
|
3789
3772
|
}
|
|
3790
3773
|
function gt(e) {
|
|
@@ -3801,7 +3784,7 @@ function gt(e) {
|
|
|
3801
3784
|
}
|
|
3802
3785
|
};
|
|
3803
3786
|
}
|
|
3804
|
-
function
|
|
3787
|
+
function Ji(e) {
|
|
3805
3788
|
return e === void 0 && (e = {
|
|
3806
3789
|
number: {},
|
|
3807
3790
|
dateTime: {},
|
|
@@ -3810,7 +3793,7 @@ function Qi(e) {
|
|
|
3810
3793
|
getNumberFormat: dt(function() {
|
|
3811
3794
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3812
3795
|
r[n] = arguments[n];
|
|
3813
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3796
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, He([void 0], r, !1)))();
|
|
3814
3797
|
}, {
|
|
3815
3798
|
cache: gt(e.number),
|
|
3816
3799
|
strategy: mt.variadic
|
|
@@ -3818,7 +3801,7 @@ function Qi(e) {
|
|
|
3818
3801
|
getDateTimeFormat: dt(function() {
|
|
3819
3802
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3820
3803
|
r[n] = arguments[n];
|
|
3821
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3804
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, He([void 0], r, !1)))();
|
|
3822
3805
|
}, {
|
|
3823
3806
|
cache: gt(e.dateTime),
|
|
3824
3807
|
strategy: mt.variadic
|
|
@@ -3826,52 +3809,52 @@ function Qi(e) {
|
|
|
3826
3809
|
getPluralRules: dt(function() {
|
|
3827
3810
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3828
3811
|
r[n] = arguments[n];
|
|
3829
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3812
|
+
return new ((t = Intl.PluralRules).bind.apply(t, He([void 0], r, !1)))();
|
|
3830
3813
|
}, {
|
|
3831
3814
|
cache: gt(e.pluralRules),
|
|
3832
3815
|
strategy: mt.variadic
|
|
3833
3816
|
})
|
|
3834
3817
|
};
|
|
3835
3818
|
}
|
|
3836
|
-
var
|
|
3819
|
+
var Zi = (
|
|
3837
3820
|
/** @class */
|
|
3838
3821
|
function() {
|
|
3839
3822
|
function e(t, r, n, i) {
|
|
3840
3823
|
r === void 0 && (r = e.defaultLocale);
|
|
3841
|
-
var
|
|
3824
|
+
var s = this;
|
|
3842
3825
|
if (this.formatterCache = {
|
|
3843
3826
|
number: {},
|
|
3844
3827
|
dateTime: {},
|
|
3845
3828
|
pluralRules: {}
|
|
3846
3829
|
}, this.format = function(l) {
|
|
3847
|
-
var u =
|
|
3830
|
+
var u = s.formatToParts(l);
|
|
3848
3831
|
if (u.length === 1)
|
|
3849
3832
|
return u[0].value;
|
|
3850
3833
|
var h = u.reduce(function(f, p) {
|
|
3851
|
-
return !f.length || p.type !==
|
|
3834
|
+
return !f.length || p.type !== G.literal || typeof f[f.length - 1] != "string" ? f.push(p.value) : f[f.length - 1] += p.value, f;
|
|
3852
3835
|
}, []);
|
|
3853
3836
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3854
3837
|
}, this.formatToParts = function(l) {
|
|
3855
|
-
return
|
|
3838
|
+
return tt(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
|
|
3856
3839
|
}, this.resolvedOptions = function() {
|
|
3857
3840
|
var l;
|
|
3858
3841
|
return {
|
|
3859
|
-
locale: ((l =
|
|
3842
|
+
locale: ((l = s.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
|
|
3860
3843
|
};
|
|
3861
3844
|
}, this.getAst = function() {
|
|
3862
|
-
return
|
|
3845
|
+
return s.ast;
|
|
3863
3846
|
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
3864
3847
|
if (this.message = t, !e.__parse)
|
|
3865
3848
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3866
|
-
var
|
|
3867
|
-
|
|
3868
|
-
var a =
|
|
3849
|
+
var o = i || {};
|
|
3850
|
+
o.formatters;
|
|
3851
|
+
var a = An(o, ["formatters"]);
|
|
3869
3852
|
this.ast = e.__parse(t, w(w({}, a), { locale: this.resolvedLocale }));
|
|
3870
3853
|
} else
|
|
3871
3854
|
this.ast = t;
|
|
3872
3855
|
if (!Array.isArray(this.ast))
|
|
3873
3856
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3874
|
-
this.formats =
|
|
3857
|
+
this.formats = zi(e.formats, n), this.formatters = i && i.formatters || Ji(this.formatterCache);
|
|
3875
3858
|
}
|
|
3876
3859
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3877
3860
|
get: function() {
|
|
@@ -3884,7 +3867,7 @@ var Yi = (
|
|
|
3884
3867
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3885
3868
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3886
3869
|
}
|
|
3887
|
-
}, e.__parse =
|
|
3870
|
+
}, e.__parse = $i, e.formats = {
|
|
3888
3871
|
number: {
|
|
3889
3872
|
integer: {
|
|
3890
3873
|
maximumFractionDigits: 0
|
|
@@ -3945,7 +3928,7 @@ var Yi = (
|
|
|
3945
3928
|
}, e;
|
|
3946
3929
|
}()
|
|
3947
3930
|
);
|
|
3948
|
-
function
|
|
3931
|
+
function Qi(e, t) {
|
|
3949
3932
|
if (t == null)
|
|
3950
3933
|
return;
|
|
3951
3934
|
if (t in e)
|
|
@@ -3955,9 +3938,9 @@ function qi(e, t) {
|
|
|
3955
3938
|
for (let i = 0; i < r.length; i++)
|
|
3956
3939
|
if (typeof n == "object") {
|
|
3957
3940
|
if (i > 0) {
|
|
3958
|
-
const
|
|
3959
|
-
if (
|
|
3960
|
-
n = n[
|
|
3941
|
+
const s = r.slice(i, r.length).join(".");
|
|
3942
|
+
if (s in n) {
|
|
3943
|
+
n = n[s];
|
|
3961
3944
|
break;
|
|
3962
3945
|
}
|
|
3963
3946
|
}
|
|
@@ -3966,92 +3949,92 @@ function qi(e, t) {
|
|
|
3966
3949
|
n = void 0;
|
|
3967
3950
|
return n;
|
|
3968
3951
|
}
|
|
3969
|
-
const
|
|
3952
|
+
const ue = {}, Yi = (e, t, r) => r && (t in ue || (ue[t] = {}), e in ue[t] || (ue[t][e] = r), r), Fr = (e, t) => {
|
|
3970
3953
|
if (t == null)
|
|
3971
3954
|
return;
|
|
3972
|
-
if (t in
|
|
3973
|
-
return
|
|
3974
|
-
const r =
|
|
3955
|
+
if (t in ue && e in ue[t])
|
|
3956
|
+
return ue[t][e];
|
|
3957
|
+
const r = ut(t);
|
|
3975
3958
|
for (let n = 0; n < r.length; n++) {
|
|
3976
|
-
const i = r[n],
|
|
3977
|
-
if (
|
|
3978
|
-
return
|
|
3959
|
+
const i = r[n], s = Ki(i, e);
|
|
3960
|
+
if (s)
|
|
3961
|
+
return Yi(e, t, s);
|
|
3979
3962
|
}
|
|
3980
3963
|
};
|
|
3981
|
-
let
|
|
3982
|
-
const
|
|
3983
|
-
function
|
|
3984
|
-
return
|
|
3964
|
+
let Rt;
|
|
3965
|
+
const We = ot({});
|
|
3966
|
+
function qi(e) {
|
|
3967
|
+
return Rt[e] || null;
|
|
3985
3968
|
}
|
|
3986
|
-
function
|
|
3987
|
-
return e in
|
|
3969
|
+
function Vr(e) {
|
|
3970
|
+
return e in Rt;
|
|
3988
3971
|
}
|
|
3989
|
-
function
|
|
3990
|
-
if (!
|
|
3972
|
+
function Ki(e, t) {
|
|
3973
|
+
if (!Vr(e))
|
|
3991
3974
|
return null;
|
|
3992
|
-
const r =
|
|
3993
|
-
return
|
|
3975
|
+
const r = qi(e);
|
|
3976
|
+
return Qi(r, t);
|
|
3994
3977
|
}
|
|
3995
|
-
function
|
|
3978
|
+
function es(e) {
|
|
3996
3979
|
if (e == null)
|
|
3997
3980
|
return;
|
|
3998
|
-
const t =
|
|
3981
|
+
const t = ut(e);
|
|
3999
3982
|
for (let r = 0; r < t.length; r++) {
|
|
4000
3983
|
const n = t[r];
|
|
4001
|
-
if (
|
|
3984
|
+
if (Vr(n))
|
|
4002
3985
|
return n;
|
|
4003
3986
|
}
|
|
4004
3987
|
}
|
|
4005
|
-
function
|
|
4006
|
-
delete
|
|
3988
|
+
function Wr(e, ...t) {
|
|
3989
|
+
delete ue[e], We.update((r) => (r[e] = ii.all([r[e] || {}, ...t]), r));
|
|
4007
3990
|
}
|
|
4008
|
-
|
|
4009
|
-
[
|
|
3991
|
+
Oe(
|
|
3992
|
+
[We],
|
|
4010
3993
|
([e]) => Object.keys(e)
|
|
4011
3994
|
);
|
|
4012
|
-
|
|
4013
|
-
const
|
|
4014
|
-
function
|
|
4015
|
-
|
|
3995
|
+
We.subscribe((e) => Rt = e);
|
|
3996
|
+
const rt = {};
|
|
3997
|
+
function ts(e, t) {
|
|
3998
|
+
rt[e].delete(t), rt[e].size === 0 && delete rt[e];
|
|
4016
3999
|
}
|
|
4017
|
-
function
|
|
4018
|
-
return
|
|
4000
|
+
function Xr(e) {
|
|
4001
|
+
return rt[e];
|
|
4019
4002
|
}
|
|
4020
|
-
function
|
|
4021
|
-
return
|
|
4022
|
-
const r =
|
|
4003
|
+
function rs(e) {
|
|
4004
|
+
return ut(e).map((t) => {
|
|
4005
|
+
const r = Xr(t);
|
|
4023
4006
|
return [t, r ? [...r] : []];
|
|
4024
4007
|
}).filter(([, t]) => t.length > 0);
|
|
4025
4008
|
}
|
|
4026
|
-
function
|
|
4027
|
-
return e == null ? !1 :
|
|
4009
|
+
function It(e) {
|
|
4010
|
+
return e == null ? !1 : ut(e).some(
|
|
4028
4011
|
(t) => {
|
|
4029
4012
|
var r;
|
|
4030
|
-
return (r =
|
|
4013
|
+
return (r = Xr(t)) == null ? void 0 : r.size;
|
|
4031
4014
|
}
|
|
4032
4015
|
);
|
|
4033
4016
|
}
|
|
4034
|
-
function
|
|
4017
|
+
function ns(e, t) {
|
|
4035
4018
|
return Promise.all(
|
|
4036
|
-
t.map((n) => (
|
|
4037
|
-
).then((n) =>
|
|
4038
|
-
}
|
|
4039
|
-
const
|
|
4040
|
-
function
|
|
4041
|
-
if (!
|
|
4042
|
-
return e in
|
|
4043
|
-
const t =
|
|
4044
|
-
return
|
|
4019
|
+
t.map((n) => (ts(e, n), n().then((i) => i.default || i)))
|
|
4020
|
+
).then((n) => Wr(e, ...n));
|
|
4021
|
+
}
|
|
4022
|
+
const Ge = {};
|
|
4023
|
+
function zr(e) {
|
|
4024
|
+
if (!It(e))
|
|
4025
|
+
return e in Ge ? Ge[e] : Promise.resolve();
|
|
4026
|
+
const t = rs(e);
|
|
4027
|
+
return Ge[e] = Promise.all(
|
|
4045
4028
|
t.map(
|
|
4046
|
-
([r, n]) =>
|
|
4029
|
+
([r, n]) => ns(r, n)
|
|
4047
4030
|
)
|
|
4048
4031
|
).then(() => {
|
|
4049
|
-
if (
|
|
4050
|
-
return
|
|
4051
|
-
delete
|
|
4052
|
-
}),
|
|
4032
|
+
if (It(e))
|
|
4033
|
+
return zr(e);
|
|
4034
|
+
delete Ge[e];
|
|
4035
|
+
}), Ge[e];
|
|
4053
4036
|
}
|
|
4054
|
-
const
|
|
4037
|
+
const is = {
|
|
4055
4038
|
number: {
|
|
4056
4039
|
scientific: { notation: "scientific" },
|
|
4057
4040
|
engineering: { notation: "engineering" },
|
|
@@ -4080,150 +4063,150 @@ const so = {
|
|
|
4080
4063
|
timeZoneName: "short"
|
|
4081
4064
|
}
|
|
4082
4065
|
}
|
|
4083
|
-
},
|
|
4066
|
+
}, ss = {
|
|
4084
4067
|
fallbackLocale: null,
|
|
4085
4068
|
loadingDelay: 200,
|
|
4086
|
-
formats:
|
|
4069
|
+
formats: is,
|
|
4087
4070
|
warnOnMissingMessages: !0,
|
|
4088
4071
|
handleMissingMessage: void 0,
|
|
4089
4072
|
ignoreTag: !0
|
|
4090
|
-
},
|
|
4091
|
-
function
|
|
4092
|
-
return
|
|
4073
|
+
}, os = ss;
|
|
4074
|
+
function Ce() {
|
|
4075
|
+
return os;
|
|
4093
4076
|
}
|
|
4094
4077
|
const yt = ot(!1);
|
|
4095
|
-
var
|
|
4078
|
+
var as = Object.defineProperty, us = Object.defineProperties, ls = Object.getOwnPropertyDescriptors, ur = Object.getOwnPropertySymbols, hs = Object.prototype.hasOwnProperty, cs = Object.prototype.propertyIsEnumerable, lr = (e, t, r) => t in e ? as(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, fs = (e, t) => {
|
|
4096
4079
|
for (var r in t || (t = {}))
|
|
4097
|
-
|
|
4098
|
-
if (
|
|
4099
|
-
for (var r of
|
|
4100
|
-
|
|
4080
|
+
hs.call(t, r) && lr(e, r, t[r]);
|
|
4081
|
+
if (ur)
|
|
4082
|
+
for (var r of ur(t))
|
|
4083
|
+
cs.call(t, r) && lr(e, r, t[r]);
|
|
4101
4084
|
return e;
|
|
4102
|
-
},
|
|
4085
|
+
}, ps = (e, t) => us(e, ls(t));
|
|
4103
4086
|
let Nt;
|
|
4104
|
-
const
|
|
4105
|
-
function
|
|
4087
|
+
const nt = ot(null);
|
|
4088
|
+
function hr(e) {
|
|
4106
4089
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4107
4090
|
}
|
|
4108
|
-
function
|
|
4109
|
-
const r =
|
|
4110
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4091
|
+
function ut(e, t = Ce().fallbackLocale) {
|
|
4092
|
+
const r = hr(e);
|
|
4093
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...hr(t)])] : r;
|
|
4111
4094
|
}
|
|
4112
|
-
function
|
|
4095
|
+
function pe() {
|
|
4113
4096
|
return Nt != null ? Nt : void 0;
|
|
4114
4097
|
}
|
|
4115
|
-
|
|
4098
|
+
nt.subscribe((e) => {
|
|
4116
4099
|
Nt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4117
4100
|
});
|
|
4118
|
-
const
|
|
4119
|
-
if (e &&
|
|
4120
|
-
const { loadingDelay: t } =
|
|
4101
|
+
const ds = (e) => {
|
|
4102
|
+
if (e && es(e) && It(e)) {
|
|
4103
|
+
const { loadingDelay: t } = Ce();
|
|
4121
4104
|
let r;
|
|
4122
|
-
return typeof window != "undefined" &&
|
|
4105
|
+
return typeof window != "undefined" && pe() != null && t ? r = window.setTimeout(
|
|
4123
4106
|
() => yt.set(!0),
|
|
4124
4107
|
t
|
|
4125
|
-
) : yt.set(!0),
|
|
4126
|
-
|
|
4108
|
+
) : yt.set(!0), zr(e).then(() => {
|
|
4109
|
+
nt.set(e);
|
|
4127
4110
|
}).finally(() => {
|
|
4128
4111
|
clearTimeout(r), yt.set(!1);
|
|
4129
4112
|
});
|
|
4130
4113
|
}
|
|
4131
|
-
return
|
|
4132
|
-
}, Le =
|
|
4133
|
-
set:
|
|
4134
|
-
}),
|
|
4114
|
+
return nt.set(e);
|
|
4115
|
+
}, Le = ps(fs({}, nt), {
|
|
4116
|
+
set: ds
|
|
4117
|
+
}), lt = (e) => {
|
|
4135
4118
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4136
4119
|
return (n) => {
|
|
4137
4120
|
const i = JSON.stringify(n);
|
|
4138
4121
|
return i in t ? t[i] : t[i] = e(n);
|
|
4139
4122
|
};
|
|
4140
4123
|
};
|
|
4141
|
-
var
|
|
4124
|
+
var ms = Object.defineProperty, it = Object.getOwnPropertySymbols, Jr = Object.prototype.hasOwnProperty, Zr = Object.prototype.propertyIsEnumerable, cr = (e, t, r) => t in e ? ms(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ut = (e, t) => {
|
|
4142
4125
|
for (var r in t || (t = {}))
|
|
4143
|
-
|
|
4144
|
-
if (
|
|
4145
|
-
for (var r of
|
|
4146
|
-
|
|
4126
|
+
Jr.call(t, r) && cr(e, r, t[r]);
|
|
4127
|
+
if (it)
|
|
4128
|
+
for (var r of it(t))
|
|
4129
|
+
Zr.call(t, r) && cr(e, r, t[r]);
|
|
4147
4130
|
return e;
|
|
4148
4131
|
}, Ie = (e, t) => {
|
|
4149
4132
|
var r = {};
|
|
4150
4133
|
for (var n in e)
|
|
4151
|
-
|
|
4152
|
-
if (e != null &&
|
|
4153
|
-
for (var n of
|
|
4154
|
-
t.indexOf(n) < 0 &&
|
|
4134
|
+
Jr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4135
|
+
if (e != null && it)
|
|
4136
|
+
for (var n of it(e))
|
|
4137
|
+
t.indexOf(n) < 0 && Zr.call(e, n) && (r[n] = e[n]);
|
|
4155
4138
|
return r;
|
|
4156
4139
|
};
|
|
4157
|
-
const
|
|
4158
|
-
const { formats: r } =
|
|
4140
|
+
const Fe = (e, t) => {
|
|
4141
|
+
const { formats: r } = Ce();
|
|
4159
4142
|
if (e in r && t in r[e])
|
|
4160
4143
|
return r[e][t];
|
|
4161
4144
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4162
|
-
},
|
|
4145
|
+
}, bs = lt(
|
|
4163
4146
|
(e) => {
|
|
4164
4147
|
var t = e, { locale: r, format: n } = t, i = Ie(t, ["locale", "format"]);
|
|
4165
4148
|
if (r == null)
|
|
4166
4149
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4167
|
-
return n && (i =
|
|
4150
|
+
return n && (i = Fe("number", n)), new Intl.NumberFormat(r, i);
|
|
4168
4151
|
}
|
|
4169
|
-
),
|
|
4152
|
+
), gs = lt(
|
|
4170
4153
|
(e) => {
|
|
4171
4154
|
var t = e, { locale: r, format: n } = t, i = Ie(t, ["locale", "format"]);
|
|
4172
4155
|
if (r == null)
|
|
4173
4156
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4174
|
-
return n ? i =
|
|
4157
|
+
return n ? i = Fe("date", n) : Object.keys(i).length === 0 && (i = Fe("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4175
4158
|
}
|
|
4176
|
-
),
|
|
4159
|
+
), ys = lt(
|
|
4177
4160
|
(e) => {
|
|
4178
4161
|
var t = e, { locale: r, format: n } = t, i = Ie(t, ["locale", "format"]);
|
|
4179
4162
|
if (r == null)
|
|
4180
4163
|
throw new Error(
|
|
4181
4164
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4182
4165
|
);
|
|
4183
|
-
return n ? i =
|
|
4166
|
+
return n ? i = Fe("time", n) : Object.keys(i).length === 0 && (i = Fe("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4184
4167
|
}
|
|
4185
|
-
),
|
|
4168
|
+
), vs = (e = {}) => {
|
|
4186
4169
|
var t = e, {
|
|
4187
|
-
locale: r =
|
|
4170
|
+
locale: r = pe()
|
|
4188
4171
|
} = t, n = Ie(t, [
|
|
4189
4172
|
"locale"
|
|
4190
4173
|
]);
|
|
4191
|
-
return
|
|
4192
|
-
},
|
|
4174
|
+
return bs(Ut({ locale: r }, n));
|
|
4175
|
+
}, _s = (e = {}) => {
|
|
4193
4176
|
var t = e, {
|
|
4194
|
-
locale: r =
|
|
4177
|
+
locale: r = pe()
|
|
4195
4178
|
} = t, n = Ie(t, [
|
|
4196
4179
|
"locale"
|
|
4197
4180
|
]);
|
|
4198
|
-
return
|
|
4199
|
-
},
|
|
4181
|
+
return gs(Ut({ locale: r }, n));
|
|
4182
|
+
}, xs = (e = {}) => {
|
|
4200
4183
|
var t = e, {
|
|
4201
|
-
locale: r =
|
|
4184
|
+
locale: r = pe()
|
|
4202
4185
|
} = t, n = Ie(t, [
|
|
4203
4186
|
"locale"
|
|
4204
4187
|
]);
|
|
4205
|
-
return
|
|
4206
|
-
},
|
|
4188
|
+
return ys(Ut({ locale: r }, n));
|
|
4189
|
+
}, Es = lt(
|
|
4207
4190
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4208
|
-
(e, t =
|
|
4209
|
-
ignoreTag:
|
|
4191
|
+
(e, t = pe()) => new Zi(e, t, Ce().formats, {
|
|
4192
|
+
ignoreTag: Ce().ignoreTag
|
|
4210
4193
|
})
|
|
4211
|
-
),
|
|
4212
|
-
var r, n, i,
|
|
4213
|
-
let
|
|
4214
|
-
typeof e == "object" && (
|
|
4194
|
+
), Ss = (e, t = {}) => {
|
|
4195
|
+
var r, n, i, s;
|
|
4196
|
+
let o = t;
|
|
4197
|
+
typeof e == "object" && (o = e, e = o.id);
|
|
4215
4198
|
const {
|
|
4216
4199
|
values: a,
|
|
4217
|
-
locale: l =
|
|
4200
|
+
locale: l = pe(),
|
|
4218
4201
|
default: u
|
|
4219
|
-
} =
|
|
4202
|
+
} = o;
|
|
4220
4203
|
if (l == null)
|
|
4221
4204
|
throw new Error(
|
|
4222
4205
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4223
4206
|
);
|
|
4224
|
-
let h =
|
|
4207
|
+
let h = Fr(e, l);
|
|
4225
4208
|
if (!h)
|
|
4226
|
-
h = (
|
|
4209
|
+
h = (s = (i = (n = (r = Ce()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
|
|
4227
4210
|
else if (typeof h != "string")
|
|
4228
4211
|
return console.warn(
|
|
4229
4212
|
`[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.`
|
|
@@ -4232,7 +4215,7 @@ const ke = (e, t) => {
|
|
|
4232
4215
|
return h;
|
|
4233
4216
|
let f = h;
|
|
4234
4217
|
try {
|
|
4235
|
-
f =
|
|
4218
|
+
f = Es(h, l).format(a);
|
|
4236
4219
|
} catch (p) {
|
|
4237
4220
|
p instanceof Error && console.warn(
|
|
4238
4221
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4240,21 +4223,21 @@ const ke = (e, t) => {
|
|
|
4240
4223
|
);
|
|
4241
4224
|
}
|
|
4242
4225
|
return f;
|
|
4243
|
-
},
|
|
4244
|
-
|
|
4245
|
-
|
|
4246
|
-
|
|
4247
|
-
|
|
4248
|
-
|
|
4249
|
-
window.emWidgets = { topic:
|
|
4250
|
-
const
|
|
4251
|
-
function
|
|
4226
|
+
}, Ts = (e, t) => xs(t).format(e), ws = (e, t) => _s(t).format(e), Hs = (e, t) => vs(t).format(e), As = (e, t = pe()) => Fr(e, t);
|
|
4227
|
+
Oe([Le, We], () => Ss);
|
|
4228
|
+
Oe([Le], () => Ts);
|
|
4229
|
+
Oe([Le], () => ws);
|
|
4230
|
+
Oe([Le], () => Hs);
|
|
4231
|
+
Oe([Le, We], () => As);
|
|
4232
|
+
window.emWidgets = { topic: $n };
|
|
4233
|
+
const Bs = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
|
|
4234
|
+
function Ps(e, t) {
|
|
4252
4235
|
if (e) {
|
|
4253
4236
|
const r = document.createElement("style");
|
|
4254
4237
|
r.innerHTML = t, e.appendChild(r);
|
|
4255
4238
|
}
|
|
4256
4239
|
}
|
|
4257
|
-
function
|
|
4240
|
+
function Cs(e, t) {
|
|
4258
4241
|
const r = new URL(t);
|
|
4259
4242
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4260
4243
|
const i = document.createElement("style");
|
|
@@ -4263,7 +4246,7 @@ function Oo(e, t) {
|
|
|
4263
4246
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4264
4247
|
});
|
|
4265
4248
|
}
|
|
4266
|
-
function
|
|
4249
|
+
function Os(e, t, r) {
|
|
4267
4250
|
if (window.emMessageBus) {
|
|
4268
4251
|
const n = document.createElement("style");
|
|
4269
4252
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4271,13 +4254,13 @@ function No(e, t, r) {
|
|
|
4271
4254
|
});
|
|
4272
4255
|
}
|
|
4273
4256
|
}
|
|
4274
|
-
function
|
|
4275
|
-
|
|
4257
|
+
function fr(e, t) {
|
|
4258
|
+
Wr(e, t);
|
|
4276
4259
|
}
|
|
4277
|
-
function
|
|
4260
|
+
function Ls(e) {
|
|
4278
4261
|
Le.set(e);
|
|
4279
4262
|
}
|
|
4280
|
-
const
|
|
4263
|
+
const pr = {
|
|
4281
4264
|
en: {
|
|
4282
4265
|
loadingText: "Loading, please wait..."
|
|
4283
4266
|
},
|
|
@@ -4315,96 +4298,96 @@ const mr = {
|
|
|
4315
4298
|
loadingText: "Loading, please wait..."
|
|
4316
4299
|
}
|
|
4317
4300
|
};
|
|
4318
|
-
function
|
|
4319
|
-
|
|
4301
|
+
function Is(e) {
|
|
4302
|
+
nn(e, "svelte-hxpfl0", ':host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:44px;width:auto;min-width:130px;background-repeat:no-repeat;background-position:right center}.displayCard{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title ui-image img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:auto;gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:44px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title ui-image img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--color-primary, #D0046C);border-color:var(--emw--color-primary, #D0046C) transparent var(--emw--color-primary, #D0046C) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
|
|
4320
4303
|
}
|
|
4321
|
-
function
|
|
4304
|
+
function dr(e, t, r) {
|
|
4322
4305
|
const n = e.slice();
|
|
4323
4306
|
return n[53] = t[r], n[55] = r, n;
|
|
4324
4307
|
}
|
|
4325
|
-
function
|
|
4326
|
-
let t, r, n, i,
|
|
4327
|
-
function
|
|
4308
|
+
function Ns(e) {
|
|
4309
|
+
let t, r, n, i, s, o, a, l, u, h, f, p, b;
|
|
4310
|
+
function g(x, T) {
|
|
4328
4311
|
return (
|
|
4329
4312
|
/*tabletView*/
|
|
4330
|
-
|
|
4313
|
+
x[6] ? Us : Ds
|
|
4331
4314
|
);
|
|
4332
4315
|
}
|
|
4333
|
-
let
|
|
4316
|
+
let y = g(e), v = y(e);
|
|
4334
4317
|
return {
|
|
4335
4318
|
c() {
|
|
4336
|
-
t =
|
|
4337
|
-
e[7] + ")"),
|
|
4338
|
-
e[12]) ||
|
|
4319
|
+
t = m("div"), r = m("div"), n = m("div"), i = m("div"), s = K(), o = m("div"), v.c(), a = K(), l = m("div"), u = m("ui-image"), _(i, "class", "vendorLogo"), Qe(i, "background-image", "url(" + /*vendorIcon*/
|
|
4320
|
+
e[7] + ")"), _(o, "class", "displayContainer"), k(u.src, h = /*titleLogoImg*/
|
|
4321
|
+
e[12]) || C(u, "src", h), C(u, "alt", ""), _(l, "class", "title"), _(n, "class", f = "mainWrapper " + /*visualstructure*/
|
|
4339
4322
|
e[0] + " " + /*mobileView*/
|
|
4340
4323
|
(e[5] && !/*tabletView*/
|
|
4341
4324
|
e[6] ? "mobile" : (
|
|
4342
4325
|
/*tabletView*/
|
|
4343
4326
|
e[6] ? "tablet" : ""
|
|
4344
|
-
))),
|
|
4345
|
-
e[11] + ")"),
|
|
4327
|
+
))), Qe(n, "background", "url(" + /*backgroundImg*/
|
|
4328
|
+
e[11] + ")"), _(r, "class", "jackpotBanner"), _(t, "class", "");
|
|
4346
4329
|
},
|
|
4347
|
-
m(
|
|
4348
|
-
|
|
4330
|
+
m(x, T) {
|
|
4331
|
+
ee(x, t, T), d(t, r), d(r, n), d(n, i), d(n, s), d(n, o), v.m(o, null), d(n, a), d(n, l), d(l, u), p || (b = ln(
|
|
4349
4332
|
r,
|
|
4350
4333
|
"click",
|
|
4351
4334
|
/*click_handler*/
|
|
4352
4335
|
e[33]
|
|
4353
4336
|
), p = !0);
|
|
4354
4337
|
},
|
|
4355
|
-
p(
|
|
4338
|
+
p(x, T) {
|
|
4356
4339
|
T[0] & /*vendorIcon*/
|
|
4357
|
-
128 &&
|
|
4358
|
-
|
|
4359
|
-
4096 &&
|
|
4360
|
-
|
|
4340
|
+
128 && Qe(i, "background-image", "url(" + /*vendorIcon*/
|
|
4341
|
+
x[7] + ")"), y === (y = g(x)) && v ? v.p(x, T) : (v.d(1), v = y(x), v && (v.c(), v.m(o, null))), T[0] & /*titleLogoImg*/
|
|
4342
|
+
4096 && !k(u.src, h = /*titleLogoImg*/
|
|
4343
|
+
x[12]) && C(u, "src", h), T[0] & /*visualstructure, mobileView, tabletView*/
|
|
4361
4344
|
97 && f !== (f = "mainWrapper " + /*visualstructure*/
|
|
4362
|
-
|
|
4363
|
-
(
|
|
4364
|
-
|
|
4345
|
+
x[0] + " " + /*mobileView*/
|
|
4346
|
+
(x[5] && !/*tabletView*/
|
|
4347
|
+
x[6] ? "mobile" : (
|
|
4365
4348
|
/*tabletView*/
|
|
4366
|
-
|
|
4367
|
-
))) &&
|
|
4368
|
-
2048 &&
|
|
4369
|
-
|
|
4349
|
+
x[6] ? "tablet" : ""
|
|
4350
|
+
))) && _(n, "class", f), T[0] & /*backgroundImg*/
|
|
4351
|
+
2048 && Qe(n, "background", "url(" + /*backgroundImg*/
|
|
4352
|
+
x[11] + ")");
|
|
4370
4353
|
},
|
|
4371
|
-
d(
|
|
4372
|
-
|
|
4354
|
+
d(x) {
|
|
4355
|
+
x && X(t), v.d(), p = !1, b();
|
|
4373
4356
|
}
|
|
4374
4357
|
};
|
|
4375
4358
|
}
|
|
4376
|
-
function
|
|
4359
|
+
function Ms(e) {
|
|
4377
4360
|
let t;
|
|
4378
4361
|
return {
|
|
4379
4362
|
c() {
|
|
4380
|
-
t =
|
|
4363
|
+
t = m("div"), _(t, "class", "LoadingSpinner");
|
|
4381
4364
|
},
|
|
4382
4365
|
m(r, n) {
|
|
4383
|
-
|
|
4366
|
+
ee(r, t, n);
|
|
4384
4367
|
},
|
|
4385
|
-
p:
|
|
4368
|
+
p: j,
|
|
4386
4369
|
d(r) {
|
|
4387
|
-
r &&
|
|
4370
|
+
r && X(t);
|
|
4388
4371
|
}
|
|
4389
4372
|
};
|
|
4390
4373
|
}
|
|
4391
|
-
function
|
|
4374
|
+
function Rs(e) {
|
|
4392
4375
|
let t;
|
|
4393
4376
|
return {
|
|
4394
4377
|
c() {
|
|
4395
|
-
t =
|
|
4378
|
+
t = m("p"), t.textContent = "500 Server error";
|
|
4396
4379
|
},
|
|
4397
4380
|
m(r, n) {
|
|
4398
|
-
|
|
4381
|
+
ee(r, t, n);
|
|
4399
4382
|
},
|
|
4400
|
-
p:
|
|
4383
|
+
p: j,
|
|
4401
4384
|
d(r) {
|
|
4402
|
-
r &&
|
|
4385
|
+
r && X(t);
|
|
4403
4386
|
}
|
|
4404
4387
|
};
|
|
4405
4388
|
}
|
|
4406
|
-
function
|
|
4407
|
-
let t, r, n, i,
|
|
4389
|
+
function Us(e) {
|
|
4390
|
+
let t, r, n, i, s, o, a = (
|
|
4408
4391
|
/*formattedLabels*/
|
|
4409
4392
|
e[9][0] + ""
|
|
4410
4393
|
), l, u, h, f = (
|
|
@@ -4416,10 +4399,10 @@ function jo(e) {
|
|
|
4416
4399
|
/*formattedJackpotValues*/
|
|
4417
4400
|
e[8][0]
|
|
4418
4401
|
)) + ""
|
|
4419
|
-
), p, g, y, v,
|
|
4402
|
+
), p, b, g, y, v, x, T, B, U, N, F = (
|
|
4420
4403
|
/*formattedLabels*/
|
|
4421
4404
|
e[9][1] + ""
|
|
4422
|
-
),
|
|
4405
|
+
), z, J, le, ie = (
|
|
4423
4406
|
/*realtimeupdate*/
|
|
4424
4407
|
(e[2] === "true" ? (
|
|
4425
4408
|
/*updatedJackpotValues*/
|
|
@@ -4428,10 +4411,10 @@ function jo(e) {
|
|
|
4428
4411
|
/*formattedJackpotValues*/
|
|
4429
4412
|
e[8][1]
|
|
4430
4413
|
)) + ""
|
|
4431
|
-
),
|
|
4414
|
+
), se, Ne, he, de, me, Z, R, Q, V, oe, W, te = (
|
|
4432
4415
|
/*formattedLabels*/
|
|
4433
4416
|
e[9][2] + ""
|
|
4434
|
-
),
|
|
4417
|
+
), Me, Y, be, ge = (
|
|
4435
4418
|
/*realtimeupdate*/
|
|
4436
4419
|
(e[2] === "true" ? (
|
|
4437
4420
|
/*updatedJackpotValues*/
|
|
@@ -4440,10 +4423,10 @@ function jo(e) {
|
|
|
4440
4423
|
/*formattedJackpotValues*/
|
|
4441
4424
|
e[8][2]
|
|
4442
4425
|
)) + ""
|
|
4443
|
-
),
|
|
4426
|
+
), Re, Xe, ye, ve, ze, ce, ae, q, fe, _e, xe = (
|
|
4444
4427
|
/*formattedLabels*/
|
|
4445
4428
|
e[9][3] + ""
|
|
4446
|
-
),
|
|
4429
|
+
), Ue, c, H, I = (
|
|
4447
4430
|
/*realtimeupdate*/
|
|
4448
4431
|
(e[2] === "true" ? (
|
|
4449
4432
|
/*updatedJackpotValues*/
|
|
@@ -4452,36 +4435,36 @@ function jo(e) {
|
|
|
4452
4435
|
/*formattedJackpotValues*/
|
|
4453
4436
|
e[8][3]
|
|
4454
4437
|
)) + ""
|
|
4455
|
-
),
|
|
4438
|
+
), De, Dt, Je, ht;
|
|
4456
4439
|
return {
|
|
4457
4440
|
c() {
|
|
4458
|
-
t =
|
|
4441
|
+
t = m("div"), r = m("div"), n = m("div"), i = m("ui-image"), o = m("span"), l = M(a), u = m("span"), h = m("span"), p = M(f), b = K(), g = m("span"), y = M(
|
|
4459
4442
|
/*currency*/
|
|
4460
4443
|
e[1]
|
|
4461
|
-
),
|
|
4444
|
+
), v = K(), x = m("div"), T = m("div"), B = m("ui-image"), N = m("span"), z = M(F), J = m("span"), le = m("span"), se = M(ie), Ne = K(), he = m("span"), de = M(
|
|
4462
4445
|
/*currency*/
|
|
4463
4446
|
e[1]
|
|
4464
|
-
),
|
|
4447
|
+
), me = K(), Z = m("div"), R = m("div"), Q = m("div"), V = m("ui-image"), W = m("span"), Me = M(te), Y = m("span"), be = m("span"), Re = M(ge), Xe = K(), ye = m("span"), ve = M(
|
|
4465
4448
|
/*currency*/
|
|
4466
4449
|
e[1]
|
|
4467
|
-
),
|
|
4450
|
+
), ze = K(), ce = m("div"), ae = m("div"), q = m("ui-image"), _e = m("span"), Ue = M(xe), c = m("span"), H = m("span"), De = M(I), Dt = K(), Je = m("span"), ht = M(
|
|
4468
4451
|
/*currency*/
|
|
4469
4452
|
e[1]
|
|
4470
|
-
),
|
|
4471
|
-
e[10][0]) ||
|
|
4472
|
-
e[10][1]) ||
|
|
4473
|
-
e[10][2]) ||
|
|
4474
|
-
e[10][3]) ||
|
|
4453
|
+
), C(i, "imgClass", "displayCardIcon"), k(i.src, s = /*caticons*/
|
|
4454
|
+
e[10][0]) || C(i, "src", s), C(i, "alt", ""), _(o, "class", "cardLabel"), _(n, "class", "iconWrapper"), _(h, "class", "jackpotValue"), _(g, "class", "jackpot-currency"), _(u, "class", "cardTextWrapper"), _(r, "class", "displayCard"), C(B, "imgClass", "displayCardIcon"), k(B.src, U = /*caticons*/
|
|
4455
|
+
e[10][1]) || C(B, "src", U), C(B, "alt", ""), _(N, "class", "cardLabel"), _(T, "class", "iconWrapper"), _(le, "class", "jackpotValue"), _(he, "class", "jackpot-currency"), _(J, "class", "cardTextWrapper"), _(x, "class", "displayCard"), _(t, "class", "pairWrapper"), C(V, "imgClass", "displayCardIcon"), k(V.src, oe = /*caticons*/
|
|
4456
|
+
e[10][2]) || C(V, "src", oe), C(V, "alt", ""), _(W, "class", "cardLabel"), _(Q, "class", "iconWrapper"), _(be, "class", "jackpotValue"), _(ye, "class", "jackpot-currency"), _(Y, "class", "cardTextWrapper"), _(R, "class", "displayCard"), C(q, "imgClass", "displayCardIcon"), k(q.src, fe = /*caticons*/
|
|
4457
|
+
e[10][3]) || C(q, "src", fe), C(q, "alt", ""), _(_e, "class", "cardLabel"), _(ae, "class", "iconWrapper"), _(H, "class", "jackpotValue"), _(Je, "class", "jackpot-currency"), _(c, "class", "cardTextWrapper"), _(ce, "class", "displayCard"), _(Z, "class", "pairWrapper");
|
|
4475
4458
|
},
|
|
4476
4459
|
m(A, L) {
|
|
4477
|
-
|
|
4460
|
+
ee(A, t, L), d(t, r), d(r, n), d(n, i), d(n, o), d(o, l), d(r, u), d(u, h), d(h, p), d(u, b), d(u, g), d(g, y), d(t, v), d(t, x), d(x, T), d(T, B), d(T, N), d(N, z), d(x, J), d(J, le), d(le, se), d(J, Ne), d(J, he), d(he, de), ee(A, me, L), ee(A, Z, L), d(Z, R), d(R, Q), d(Q, V), d(Q, W), d(W, Me), d(R, Y), d(Y, be), d(be, Re), d(Y, Xe), d(Y, ye), d(ye, ve), d(Z, ze), d(Z, ce), d(ce, ae), d(ae, q), d(ae, _e), d(_e, Ue), d(ce, c), d(c, H), d(H, De), d(c, Dt), d(c, Je), d(Je, ht);
|
|
4478
4461
|
},
|
|
4479
4462
|
p(A, L) {
|
|
4480
4463
|
L[0] & /*caticons*/
|
|
4481
|
-
1024 &&
|
|
4482
|
-
A[10][0]) &&
|
|
4464
|
+
1024 && !k(i.src, s = /*caticons*/
|
|
4465
|
+
A[10][0]) && C(i, "src", s), L[0] & /*formattedLabels*/
|
|
4483
4466
|
512 && a !== (a = /*formattedLabels*/
|
|
4484
|
-
A[9][0] + "") &&
|
|
4467
|
+
A[9][0] + "") && D(l, a), L[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4485
4468
|
16644 && f !== (f = /*realtimeupdate*/
|
|
4486
4469
|
(A[2] === "true" ? (
|
|
4487
4470
|
/*updatedJackpotValues*/
|
|
@@ -4489,50 +4472,50 @@ function jo(e) {
|
|
|
4489
4472
|
) : (
|
|
4490
4473
|
/*formattedJackpotValues*/
|
|
4491
4474
|
A[8][0]
|
|
4492
|
-
)) + "") &&
|
|
4493
|
-
2 &&
|
|
4494
|
-
|
|
4475
|
+
)) + "") && D(p, f), L[0] & /*currency*/
|
|
4476
|
+
2 && D(
|
|
4477
|
+
y,
|
|
4495
4478
|
/*currency*/
|
|
4496
4479
|
A[1]
|
|
4497
4480
|
), L[0] & /*caticons*/
|
|
4498
|
-
1024 &&
|
|
4499
|
-
A[10][1]) &&
|
|
4500
|
-
512 &&
|
|
4501
|
-
A[9][1] + "") &&
|
|
4502
|
-
16644 &&
|
|
4481
|
+
1024 && !k(B.src, U = /*caticons*/
|
|
4482
|
+
A[10][1]) && C(B, "src", U), L[0] & /*formattedLabels*/
|
|
4483
|
+
512 && F !== (F = /*formattedLabels*/
|
|
4484
|
+
A[9][1] + "") && D(z, F), L[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4485
|
+
16644 && ie !== (ie = /*realtimeupdate*/
|
|
4503
4486
|
(A[2] === "true" ? (
|
|
4504
4487
|
/*updatedJackpotValues*/
|
|
4505
4488
|
A[14][1]
|
|
4506
4489
|
) : (
|
|
4507
4490
|
/*formattedJackpotValues*/
|
|
4508
4491
|
A[8][1]
|
|
4509
|
-
)) + "") &&
|
|
4510
|
-
2 &&
|
|
4511
|
-
|
|
4492
|
+
)) + "") && D(se, ie), L[0] & /*currency*/
|
|
4493
|
+
2 && D(
|
|
4494
|
+
de,
|
|
4512
4495
|
/*currency*/
|
|
4513
4496
|
A[1]
|
|
4514
4497
|
), L[0] & /*caticons*/
|
|
4515
|
-
1024 &&
|
|
4516
|
-
A[10][2]) &&
|
|
4517
|
-
512 &&
|
|
4518
|
-
A[9][2] + "") &&
|
|
4519
|
-
16644 &&
|
|
4498
|
+
1024 && !k(V.src, oe = /*caticons*/
|
|
4499
|
+
A[10][2]) && C(V, "src", oe), L[0] & /*formattedLabels*/
|
|
4500
|
+
512 && te !== (te = /*formattedLabels*/
|
|
4501
|
+
A[9][2] + "") && D(Me, te), L[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4502
|
+
16644 && ge !== (ge = /*realtimeupdate*/
|
|
4520
4503
|
(A[2] === "true" ? (
|
|
4521
4504
|
/*updatedJackpotValues*/
|
|
4522
4505
|
A[14][2]
|
|
4523
4506
|
) : (
|
|
4524
4507
|
/*formattedJackpotValues*/
|
|
4525
4508
|
A[8][2]
|
|
4526
|
-
)) + "") &&
|
|
4527
|
-
2 &&
|
|
4528
|
-
|
|
4509
|
+
)) + "") && D(Re, ge), L[0] & /*currency*/
|
|
4510
|
+
2 && D(
|
|
4511
|
+
ve,
|
|
4529
4512
|
/*currency*/
|
|
4530
4513
|
A[1]
|
|
4531
4514
|
), L[0] & /*caticons*/
|
|
4532
|
-
1024 &&
|
|
4533
|
-
A[10][3]) &&
|
|
4534
|
-
512 &&
|
|
4535
|
-
A[9][3] + "") &&
|
|
4515
|
+
1024 && !k(q.src, fe = /*caticons*/
|
|
4516
|
+
A[10][3]) && C(q, "src", fe), L[0] & /*formattedLabels*/
|
|
4517
|
+
512 && xe !== (xe = /*formattedLabels*/
|
|
4518
|
+
A[9][3] + "") && D(Ue, xe), L[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4536
4519
|
16644 && I !== (I = /*realtimeupdate*/
|
|
4537
4520
|
(A[2] === "true" ? (
|
|
4538
4521
|
/*updatedJackpotValues*/
|
|
@@ -4540,55 +4523,55 @@ function jo(e) {
|
|
|
4540
4523
|
) : (
|
|
4541
4524
|
/*formattedJackpotValues*/
|
|
4542
4525
|
A[8][3]
|
|
4543
|
-
)) + "") &&
|
|
4544
|
-
2 &&
|
|
4545
|
-
|
|
4526
|
+
)) + "") && D(De, I), L[0] & /*currency*/
|
|
4527
|
+
2 && D(
|
|
4528
|
+
ht,
|
|
4546
4529
|
/*currency*/
|
|
4547
4530
|
A[1]
|
|
4548
4531
|
);
|
|
4549
4532
|
},
|
|
4550
4533
|
d(A) {
|
|
4551
|
-
A && (
|
|
4534
|
+
A && (X(t), X(me), X(Z));
|
|
4552
4535
|
}
|
|
4553
4536
|
};
|
|
4554
4537
|
}
|
|
4555
|
-
function
|
|
4556
|
-
let t, r =
|
|
4538
|
+
function Ds(e) {
|
|
4539
|
+
let t, r = Wt(Array(4)), n = [];
|
|
4557
4540
|
for (let i = 0; i < r.length; i += 1)
|
|
4558
|
-
n[i] =
|
|
4541
|
+
n[i] = mr(dr(e, r, i));
|
|
4559
4542
|
return {
|
|
4560
4543
|
c() {
|
|
4561
4544
|
for (let i = 0; i < n.length; i += 1)
|
|
4562
4545
|
n[i].c();
|
|
4563
|
-
t =
|
|
4546
|
+
t = un();
|
|
4564
4547
|
},
|
|
4565
|
-
m(i,
|
|
4566
|
-
for (let
|
|
4567
|
-
n[
|
|
4568
|
-
|
|
4548
|
+
m(i, s) {
|
|
4549
|
+
for (let o = 0; o < n.length; o += 1)
|
|
4550
|
+
n[o] && n[o].m(i, s);
|
|
4551
|
+
ee(i, t, s);
|
|
4569
4552
|
},
|
|
4570
|
-
p(i,
|
|
4571
|
-
if (
|
|
4553
|
+
p(i, s) {
|
|
4554
|
+
if (s[0] & /*currency, realtimeupdate, updatedJackpotValues, formattedJackpotValues, formattedLabels, caticons*/
|
|
4572
4555
|
18182) {
|
|
4573
|
-
r =
|
|
4574
|
-
let
|
|
4575
|
-
for (
|
|
4576
|
-
const a =
|
|
4577
|
-
n[
|
|
4556
|
+
r = Wt(Array(4));
|
|
4557
|
+
let o;
|
|
4558
|
+
for (o = 0; o < r.length; o += 1) {
|
|
4559
|
+
const a = dr(i, r, o);
|
|
4560
|
+
n[o] ? n[o].p(a, s) : (n[o] = mr(a), n[o].c(), n[o].m(t.parentNode, t));
|
|
4578
4561
|
}
|
|
4579
|
-
for (;
|
|
4580
|
-
n[
|
|
4562
|
+
for (; o < n.length; o += 1)
|
|
4563
|
+
n[o].d(1);
|
|
4581
4564
|
n.length = r.length;
|
|
4582
4565
|
}
|
|
4583
4566
|
},
|
|
4584
4567
|
d(i) {
|
|
4585
|
-
i &&
|
|
4568
|
+
i && X(t), an(n, i);
|
|
4586
4569
|
}
|
|
4587
4570
|
};
|
|
4588
4571
|
}
|
|
4589
|
-
function
|
|
4590
|
-
var
|
|
4591
|
-
let t, r, n, i,
|
|
4572
|
+
function mr(e) {
|
|
4573
|
+
var y;
|
|
4574
|
+
let t, r, n, i, s, o = (
|
|
4592
4575
|
/*formattedLabels*/
|
|
4593
4576
|
e[9][
|
|
4594
4577
|
/*i*/
|
|
@@ -4604,225 +4587,225 @@ function gr(e) {
|
|
|
4604
4587
|
]
|
|
4605
4588
|
) : (
|
|
4606
4589
|
/*formattedJackpotValues*/
|
|
4607
|
-
(
|
|
4590
|
+
(y = e[8][
|
|
4608
4591
|
/*i*/
|
|
4609
4592
|
e[55]
|
|
4610
|
-
]) != null ?
|
|
4593
|
+
]) != null ? y : ""
|
|
4611
4594
|
)) + ""
|
|
4612
|
-
), f, p,
|
|
4595
|
+
), f, p, b, g;
|
|
4613
4596
|
return {
|
|
4614
4597
|
c() {
|
|
4615
|
-
t =
|
|
4598
|
+
t = m("div"), r = m("div"), n = m("ui-image"), s = m("span"), a = M(o), l = m("span"), u = m("span"), f = M(h), p = K(), b = m("span"), g = M(
|
|
4616
4599
|
/*currency*/
|
|
4617
4600
|
e[1]
|
|
4618
|
-
),
|
|
4601
|
+
), C(n, "imgClass", "displayCardIcon"), k(n.src, i = /*caticons*/
|
|
4619
4602
|
e[10][
|
|
4620
4603
|
/*i*/
|
|
4621
4604
|
e[55]
|
|
4622
|
-
]) ||
|
|
4605
|
+
]) || C(n, "src", i), C(n, "alt", ""), _(s, "class", "cardLabel"), _(r, "class", "iconWrapper"), _(u, "class", "jackpotValue"), _(b, "class", "jackpot-currency"), _(l, "class", "cardTextWrapper"), _(t, "class", "displayCard");
|
|
4623
4606
|
},
|
|
4624
|
-
m(
|
|
4625
|
-
|
|
4607
|
+
m(v, x) {
|
|
4608
|
+
ee(v, t, x), d(t, r), d(r, n), d(r, s), d(s, a), d(t, l), d(l, u), d(u, f), d(l, p), d(l, b), d(b, g);
|
|
4626
4609
|
},
|
|
4627
|
-
p(
|
|
4610
|
+
p(v, x) {
|
|
4628
4611
|
var T;
|
|
4629
|
-
|
|
4630
|
-
1024 &&
|
|
4631
|
-
|
|
4612
|
+
x[0] & /*caticons*/
|
|
4613
|
+
1024 && !k(n.src, i = /*caticons*/
|
|
4614
|
+
v[10][
|
|
4632
4615
|
/*i*/
|
|
4633
|
-
|
|
4634
|
-
]) &&
|
|
4635
|
-
512 &&
|
|
4636
|
-
|
|
4616
|
+
v[55]
|
|
4617
|
+
]) && C(n, "src", i), x[0] & /*formattedLabels*/
|
|
4618
|
+
512 && o !== (o = /*formattedLabels*/
|
|
4619
|
+
v[9][
|
|
4637
4620
|
/*i*/
|
|
4638
|
-
|
|
4639
|
-
] + "") &&
|
|
4621
|
+
v[55]
|
|
4622
|
+
] + "") && D(a, o), x[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4640
4623
|
16644 && h !== (h = /*realtimeupdate*/
|
|
4641
|
-
(
|
|
4624
|
+
(v[2] === "true" ? (
|
|
4642
4625
|
/*updatedJackpotValues*/
|
|
4643
|
-
|
|
4626
|
+
v[14][
|
|
4644
4627
|
/*i*/
|
|
4645
|
-
|
|
4628
|
+
v[55]
|
|
4646
4629
|
]
|
|
4647
4630
|
) : (
|
|
4648
4631
|
/*formattedJackpotValues*/
|
|
4649
|
-
(T =
|
|
4632
|
+
(T = v[8][
|
|
4650
4633
|
/*i*/
|
|
4651
|
-
|
|
4634
|
+
v[55]
|
|
4652
4635
|
]) != null ? T : ""
|
|
4653
|
-
)) + "") &&
|
|
4654
|
-
2 &&
|
|
4655
|
-
|
|
4636
|
+
)) + "") && D(f, h), x[0] & /*currency*/
|
|
4637
|
+
2 && D(
|
|
4638
|
+
g,
|
|
4656
4639
|
/*currency*/
|
|
4657
|
-
|
|
4640
|
+
v[1]
|
|
4658
4641
|
);
|
|
4659
4642
|
},
|
|
4660
|
-
d(
|
|
4661
|
-
|
|
4643
|
+
d(v) {
|
|
4644
|
+
v && X(t);
|
|
4662
4645
|
}
|
|
4663
4646
|
};
|
|
4664
4647
|
}
|
|
4665
|
-
function
|
|
4648
|
+
function Gs(e) {
|
|
4666
4649
|
let t;
|
|
4667
|
-
function r(
|
|
4650
|
+
function r(s, o) {
|
|
4668
4651
|
return (
|
|
4669
4652
|
/*hasErrors*/
|
|
4670
|
-
|
|
4653
|
+
s[13] ? Rs : (
|
|
4671
4654
|
/*isLoading*/
|
|
4672
|
-
|
|
4655
|
+
s[4] ? Ms : Ns
|
|
4673
4656
|
)
|
|
4674
4657
|
);
|
|
4675
4658
|
}
|
|
4676
4659
|
let n = r(e), i = n(e);
|
|
4677
4660
|
return {
|
|
4678
4661
|
c() {
|
|
4679
|
-
t =
|
|
4662
|
+
t = m("div"), i.c();
|
|
4680
4663
|
},
|
|
4681
|
-
m(
|
|
4682
|
-
|
|
4664
|
+
m(s, o) {
|
|
4665
|
+
ee(s, t, o), i.m(t, null), e[34](t);
|
|
4683
4666
|
},
|
|
4684
|
-
p(
|
|
4685
|
-
n === (n = r(
|
|
4667
|
+
p(s, o) {
|
|
4668
|
+
n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t, null)));
|
|
4686
4669
|
},
|
|
4687
|
-
i:
|
|
4688
|
-
o:
|
|
4689
|
-
d(
|
|
4690
|
-
|
|
4670
|
+
i: j,
|
|
4671
|
+
o: j,
|
|
4672
|
+
d(s) {
|
|
4673
|
+
s && X(t), i.d(), e[34](null);
|
|
4691
4674
|
}
|
|
4692
4675
|
};
|
|
4693
4676
|
}
|
|
4694
|
-
function
|
|
4695
|
-
let { visualstructure: n = "" } = t, { title: i = "" } = t, { caticon0:
|
|
4696
|
-
const
|
|
4697
|
-
fetch(
|
|
4677
|
+
function js(e, t, r) {
|
|
4678
|
+
let { visualstructure: n = "" } = t, { title: i = "" } = t, { caticon0: s = "" } = t, { caticon1: o = "" } = t, { caticon2: a = "" } = t, { caticon3: l = "" } = t, { iconlabels: u = "" } = t, { backgroundsrc: h = "" } = t, { currency: f = "" } = t, { backgroundsrcmobile: p = "" } = t, { titlelogopath: b = "" } = t, { lang: g = "en" } = t, { clientstyling: y = "" } = t, { clientstylingurl: v = "" } = t, { translationurl: x = "" } = t, { endpoint: T = "" } = t, { gameid: B = "" } = t, { mbsource: U } = t, { realtimeupdate: N = "false" } = t, F = window.navigator.userAgent, z = !1, J = !1, le = "", ie = [], se = [], Ne = [], he = [], de = [], me = "", Z = "", R, Q = !0, V = !1, oe, W = null, te = [];
|
|
4679
|
+
const Me = () => {
|
|
4680
|
+
fetch(x).then((H) => H.json()).then((H) => {
|
|
4698
4681
|
Object.keys(H).forEach((I) => {
|
|
4699
|
-
|
|
4682
|
+
fr(I, H[I]);
|
|
4700
4683
|
});
|
|
4701
4684
|
}).catch((H) => {
|
|
4702
4685
|
console.log(H);
|
|
4703
4686
|
});
|
|
4704
4687
|
};
|
|
4705
|
-
Object.keys(
|
|
4706
|
-
|
|
4688
|
+
Object.keys(pr).forEach((c) => {
|
|
4689
|
+
fr(c, pr[c]);
|
|
4707
4690
|
});
|
|
4708
|
-
const
|
|
4691
|
+
const Y = ["typeSpread", "typeLeft"], be = (c) => {
|
|
4709
4692
|
var I;
|
|
4710
4693
|
const H = (I = c == null ? void 0 : c.items[0]) == null ? void 0 : I.additionalData;
|
|
4711
|
-
H && Object.values(H).forEach((
|
|
4712
|
-
},
|
|
4694
|
+
H && Object.values(H).forEach((De) => ie.push(+De));
|
|
4695
|
+
}, ge = (c) => {
|
|
4713
4696
|
var H;
|
|
4714
|
-
r(7,
|
|
4715
|
-
},
|
|
4716
|
-
if (T &&
|
|
4697
|
+
r(7, le = ((H = c == null ? void 0 : c.items[0]) == null ? void 0 : H.vendorLogo) || "");
|
|
4698
|
+
}, Re = () => {
|
|
4699
|
+
if (T && g && f) {
|
|
4717
4700
|
let c = new URL(`${T}/v1/casino/jackpots`);
|
|
4718
|
-
c.searchParams.append("filter", `id=${B}`), c.searchParams.append("language",
|
|
4719
|
-
r(4,
|
|
4701
|
+
c.searchParams.append("filter", `id=${B}`), c.searchParams.append("language", g), c.searchParams.append("additionalDataCurrency", f), fetch(c.href).then((H) => H.json().then((I) => {
|
|
4702
|
+
r(4, Q = !1), oe = I, se.includes(B) && (be(oe), ge(oe));
|
|
4720
4703
|
}).catch((I) => {
|
|
4721
|
-
r(13,
|
|
4704
|
+
r(13, V = !0), r(4, Q = !1), console.error(I);
|
|
4722
4705
|
}).finally(() => {
|
|
4723
|
-
|
|
4706
|
+
Xe();
|
|
4724
4707
|
}));
|
|
4725
4708
|
}
|
|
4726
|
-
},
|
|
4727
|
-
const c =
|
|
4709
|
+
}, Xe = () => {
|
|
4710
|
+
const c = R.getRootNode().host;
|
|
4728
4711
|
c.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: c } }));
|
|
4729
|
-
},
|
|
4712
|
+
}, ye = () => {
|
|
4730
4713
|
let c = new URL(`${T}/v1/casino/jackpots/config`);
|
|
4731
4714
|
fetch(c.href).then((H) => H.json()).then((H) => {
|
|
4732
|
-
r(32,
|
|
4715
|
+
r(32, se = H.egtJackpotIds.map((I) => I));
|
|
4733
4716
|
});
|
|
4734
|
-
},
|
|
4735
|
-
r(5,
|
|
4736
|
-
},
|
|
4717
|
+
}, ve = () => {
|
|
4718
|
+
r(5, z = Bs(F) && window.innerHeight / window.innerWidth > 1), r(6, J = ce()), ie.length !== 0 && r(8, Ne = ze(ie)), r(9, he = u ? u.split(",").map((c) => c.trim().toUpperCase()) : new Array(4).fill("")), Y.includes(n.trim()) ? r(0, n = n.trim()) : (console.warn(`Invalid Attribute Value: "${n}" is not a valid value for the "visualstructure" attribute. Defaulting to "${Y[0]}"`), r(0, n = Y[0])), r(11, me = p && z && !J ? p : h), r(12, Z = b), r(10, de = [s, o, a, l]);
|
|
4719
|
+
}, ze = (c) => c.map((H) => Intl.NumberFormat("en-US", { maximumFractionDigits: 2 }).format(H)), ce = () => {
|
|
4737
4720
|
const c = window.innerHeight / window.innerWidth;
|
|
4738
4721
|
return 0.75 < c && c < 1.6;
|
|
4739
|
-
},
|
|
4722
|
+
}, ae = () => {
|
|
4740
4723
|
window.postMessage({ type: "JackpotBannerClicked", gameid: B }, window.location.href), typeof gtag == "function" && gtag("event", "JackpotBannerClicked", {
|
|
4741
4724
|
context: "JackpotBanner",
|
|
4742
4725
|
gameId: `${B}`
|
|
4743
4726
|
});
|
|
4744
|
-
},
|
|
4745
|
-
|
|
4746
|
-
},
|
|
4727
|
+
}, q = () => {
|
|
4728
|
+
Ls(g);
|
|
4729
|
+
}, fe = (c) => {
|
|
4747
4730
|
const H = JSON.parse(c.data);
|
|
4748
4731
|
if (H.success && H.data.messageType === "UpdateEgtJackpotBalance" && H.data.jackpotAlias.split("_")[0] === B) {
|
|
4749
4732
|
const I = Number(H.data.jackpotAlias.split("_")[1]) - 1;
|
|
4750
|
-
r(14,
|
|
4733
|
+
r(14, te[I] = H.data.data[`${f}`].balance.toString(), te);
|
|
4751
4734
|
}
|
|
4752
|
-
},
|
|
4753
|
-
|
|
4735
|
+
}, _e = () => {
|
|
4736
|
+
N === "true" && (ve(), r(14, te = ["", "", "", ""]), W = new EventSource(`${T}/v1/encoder/jackpot/*/update`), W.addEventListener("message", fe));
|
|
4754
4737
|
};
|
|
4755
|
-
|
|
4756
|
-
}),
|
|
4757
|
-
|
|
4738
|
+
fn(() => () => {
|
|
4739
|
+
}), pn(() => {
|
|
4740
|
+
W && (W.removeEventListener("message", fe), W.close(), W = null);
|
|
4758
4741
|
});
|
|
4759
|
-
const
|
|
4760
|
-
function
|
|
4742
|
+
const xe = () => ae();
|
|
4743
|
+
function Ue(c) {
|
|
4761
4744
|
vt[c ? "unshift" : "push"](() => {
|
|
4762
|
-
|
|
4745
|
+
R = c, r(3, R);
|
|
4763
4746
|
});
|
|
4764
4747
|
}
|
|
4765
4748
|
return e.$$set = (c) => {
|
|
4766
|
-
"visualstructure" in c && r(0, n = c.visualstructure), "title" in c && r(16, i = c.title), "caticon0" in c && r(17,
|
|
4749
|
+
"visualstructure" in c && r(0, n = c.visualstructure), "title" in c && r(16, i = c.title), "caticon0" in c && r(17, s = c.caticon0), "caticon1" in c && r(18, o = c.caticon1), "caticon2" in c && r(19, a = c.caticon2), "caticon3" in c && r(20, l = c.caticon3), "iconlabels" in c && r(21, u = c.iconlabels), "backgroundsrc" in c && r(22, h = c.backgroundsrc), "currency" in c && r(1, f = c.currency), "backgroundsrcmobile" in c && r(23, p = c.backgroundsrcmobile), "titlelogopath" in c && r(24, b = c.titlelogopath), "lang" in c && r(25, g = c.lang), "clientstyling" in c && r(26, y = c.clientstyling), "clientstylingurl" in c && r(27, v = c.clientstylingurl), "translationurl" in c && r(28, x = c.translationurl), "endpoint" in c && r(29, T = c.endpoint), "gameid" in c && r(30, B = c.gameid), "mbsource" in c && r(31, U = c.mbsource), "realtimeupdate" in c && r(2, N = c.realtimeupdate);
|
|
4767
4750
|
}, e.$$.update = () => {
|
|
4768
4751
|
e.$$.dirty[0] & /*endpoint*/
|
|
4769
|
-
536870912 && T &&
|
|
4770
|
-
67108872 &&
|
|
4771
|
-
134217736 &&
|
|
4752
|
+
536870912 && T && ye(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4753
|
+
67108872 && y && R && Ps(R, y), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4754
|
+
134217736 && v && R && Cs(R, v), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4772
4755
|
8 | e.$$.dirty[1] & /*mbsource*/
|
|
4773
|
-
1 &&
|
|
4756
|
+
1 && U && R && Os(R, `${U}.Style`), e.$$.dirty[0] & /*endpoint, lang, currency*/
|
|
4774
4757
|
570425346 | e.$$.dirty[1] & /*validGameIds*/
|
|
4775
|
-
2 && T &&
|
|
4776
|
-
33554450 && f &&
|
|
4777
|
-
33554432 &&
|
|
4778
|
-
268435456 &&
|
|
4779
|
-
4 &&
|
|
4758
|
+
2 && T && g && f && se.length > 0 && Re(), e.$$.dirty[0] & /*currency, lang, isLoading*/
|
|
4759
|
+
33554450 && f && g && !Q && ve(), e.$$.dirty[0] & /*lang*/
|
|
4760
|
+
33554432 && g && q(), e.$$.dirty[0] & /*translationurl*/
|
|
4761
|
+
268435456 && x && Me(), e.$$.dirty[0] & /*realtimeupdate*/
|
|
4762
|
+
4 && N && _e();
|
|
4780
4763
|
}, [
|
|
4781
4764
|
n,
|
|
4782
4765
|
f,
|
|
4783
|
-
|
|
4784
|
-
|
|
4785
|
-
|
|
4786
|
-
X,
|
|
4766
|
+
N,
|
|
4767
|
+
R,
|
|
4768
|
+
Q,
|
|
4787
4769
|
z,
|
|
4788
|
-
|
|
4789
|
-
Oe,
|
|
4770
|
+
J,
|
|
4790
4771
|
le,
|
|
4791
|
-
|
|
4772
|
+
Ne,
|
|
4773
|
+
he,
|
|
4792
4774
|
de,
|
|
4793
|
-
|
|
4794
|
-
|
|
4795
|
-
|
|
4796
|
-
|
|
4775
|
+
me,
|
|
4776
|
+
Z,
|
|
4777
|
+
V,
|
|
4778
|
+
te,
|
|
4779
|
+
ae,
|
|
4797
4780
|
i,
|
|
4798
|
-
o,
|
|
4799
4781
|
s,
|
|
4782
|
+
o,
|
|
4800
4783
|
a,
|
|
4801
4784
|
l,
|
|
4802
4785
|
u,
|
|
4803
4786
|
h,
|
|
4804
4787
|
p,
|
|
4788
|
+
b,
|
|
4805
4789
|
g,
|
|
4806
4790
|
y,
|
|
4807
4791
|
v,
|
|
4808
|
-
|
|
4809
|
-
E,
|
|
4792
|
+
x,
|
|
4810
4793
|
T,
|
|
4811
4794
|
B,
|
|
4812
|
-
|
|
4813
|
-
|
|
4814
|
-
|
|
4815
|
-
|
|
4795
|
+
U,
|
|
4796
|
+
se,
|
|
4797
|
+
xe,
|
|
4798
|
+
Ue
|
|
4816
4799
|
];
|
|
4817
4800
|
}
|
|
4818
|
-
class
|
|
4801
|
+
class $s extends wn {
|
|
4819
4802
|
constructor(t) {
|
|
4820
|
-
super(),
|
|
4803
|
+
super(), Sn(
|
|
4821
4804
|
this,
|
|
4822
4805
|
t,
|
|
4823
|
-
|
|
4824
|
-
|
|
4825
|
-
|
|
4806
|
+
js,
|
|
4807
|
+
Gs,
|
|
4808
|
+
gr,
|
|
4826
4809
|
{
|
|
4827
4810
|
visualstructure: 0,
|
|
4828
4811
|
title: 16,
|
|
@@ -4844,7 +4827,7 @@ class Vo extends Bn {
|
|
|
4844
4827
|
mbsource: 31,
|
|
4845
4828
|
realtimeupdate: 2
|
|
4846
4829
|
},
|
|
4847
|
-
|
|
4830
|
+
Is,
|
|
4848
4831
|
[-1, -1]
|
|
4849
4832
|
);
|
|
4850
4833
|
}
|
|
@@ -4852,118 +4835,118 @@ class Vo extends Bn {
|
|
|
4852
4835
|
return this.$$.ctx[0];
|
|
4853
4836
|
}
|
|
4854
4837
|
set visualstructure(t) {
|
|
4855
|
-
this.$$set({ visualstructure: t }),
|
|
4838
|
+
this.$$set({ visualstructure: t }), O();
|
|
4856
4839
|
}
|
|
4857
4840
|
get title() {
|
|
4858
4841
|
return this.$$.ctx[16];
|
|
4859
4842
|
}
|
|
4860
4843
|
set title(t) {
|
|
4861
|
-
this.$$set({ title: t }),
|
|
4844
|
+
this.$$set({ title: t }), O();
|
|
4862
4845
|
}
|
|
4863
4846
|
get caticon0() {
|
|
4864
4847
|
return this.$$.ctx[17];
|
|
4865
4848
|
}
|
|
4866
4849
|
set caticon0(t) {
|
|
4867
|
-
this.$$set({ caticon0: t }),
|
|
4850
|
+
this.$$set({ caticon0: t }), O();
|
|
4868
4851
|
}
|
|
4869
4852
|
get caticon1() {
|
|
4870
4853
|
return this.$$.ctx[18];
|
|
4871
4854
|
}
|
|
4872
4855
|
set caticon1(t) {
|
|
4873
|
-
this.$$set({ caticon1: t }),
|
|
4856
|
+
this.$$set({ caticon1: t }), O();
|
|
4874
4857
|
}
|
|
4875
4858
|
get caticon2() {
|
|
4876
4859
|
return this.$$.ctx[19];
|
|
4877
4860
|
}
|
|
4878
4861
|
set caticon2(t) {
|
|
4879
|
-
this.$$set({ caticon2: t }),
|
|
4862
|
+
this.$$set({ caticon2: t }), O();
|
|
4880
4863
|
}
|
|
4881
4864
|
get caticon3() {
|
|
4882
4865
|
return this.$$.ctx[20];
|
|
4883
4866
|
}
|
|
4884
4867
|
set caticon3(t) {
|
|
4885
|
-
this.$$set({ caticon3: t }),
|
|
4868
|
+
this.$$set({ caticon3: t }), O();
|
|
4886
4869
|
}
|
|
4887
4870
|
get iconlabels() {
|
|
4888
4871
|
return this.$$.ctx[21];
|
|
4889
4872
|
}
|
|
4890
4873
|
set iconlabels(t) {
|
|
4891
|
-
this.$$set({ iconlabels: t }),
|
|
4874
|
+
this.$$set({ iconlabels: t }), O();
|
|
4892
4875
|
}
|
|
4893
4876
|
get backgroundsrc() {
|
|
4894
4877
|
return this.$$.ctx[22];
|
|
4895
4878
|
}
|
|
4896
4879
|
set backgroundsrc(t) {
|
|
4897
|
-
this.$$set({ backgroundsrc: t }),
|
|
4880
|
+
this.$$set({ backgroundsrc: t }), O();
|
|
4898
4881
|
}
|
|
4899
4882
|
get currency() {
|
|
4900
4883
|
return this.$$.ctx[1];
|
|
4901
4884
|
}
|
|
4902
4885
|
set currency(t) {
|
|
4903
|
-
this.$$set({ currency: t }),
|
|
4886
|
+
this.$$set({ currency: t }), O();
|
|
4904
4887
|
}
|
|
4905
4888
|
get backgroundsrcmobile() {
|
|
4906
4889
|
return this.$$.ctx[23];
|
|
4907
4890
|
}
|
|
4908
4891
|
set backgroundsrcmobile(t) {
|
|
4909
|
-
this.$$set({ backgroundsrcmobile: t }),
|
|
4892
|
+
this.$$set({ backgroundsrcmobile: t }), O();
|
|
4910
4893
|
}
|
|
4911
4894
|
get titlelogopath() {
|
|
4912
4895
|
return this.$$.ctx[24];
|
|
4913
4896
|
}
|
|
4914
4897
|
set titlelogopath(t) {
|
|
4915
|
-
this.$$set({ titlelogopath: t }),
|
|
4898
|
+
this.$$set({ titlelogopath: t }), O();
|
|
4916
4899
|
}
|
|
4917
4900
|
get lang() {
|
|
4918
4901
|
return this.$$.ctx[25];
|
|
4919
4902
|
}
|
|
4920
4903
|
set lang(t) {
|
|
4921
|
-
this.$$set({ lang: t }),
|
|
4904
|
+
this.$$set({ lang: t }), O();
|
|
4922
4905
|
}
|
|
4923
4906
|
get clientstyling() {
|
|
4924
4907
|
return this.$$.ctx[26];
|
|
4925
4908
|
}
|
|
4926
4909
|
set clientstyling(t) {
|
|
4927
|
-
this.$$set({ clientstyling: t }),
|
|
4910
|
+
this.$$set({ clientstyling: t }), O();
|
|
4928
4911
|
}
|
|
4929
4912
|
get clientstylingurl() {
|
|
4930
4913
|
return this.$$.ctx[27];
|
|
4931
4914
|
}
|
|
4932
4915
|
set clientstylingurl(t) {
|
|
4933
|
-
this.$$set({ clientstylingurl: t }),
|
|
4916
|
+
this.$$set({ clientstylingurl: t }), O();
|
|
4934
4917
|
}
|
|
4935
4918
|
get translationurl() {
|
|
4936
4919
|
return this.$$.ctx[28];
|
|
4937
4920
|
}
|
|
4938
4921
|
set translationurl(t) {
|
|
4939
|
-
this.$$set({ translationurl: t }),
|
|
4922
|
+
this.$$set({ translationurl: t }), O();
|
|
4940
4923
|
}
|
|
4941
4924
|
get endpoint() {
|
|
4942
4925
|
return this.$$.ctx[29];
|
|
4943
4926
|
}
|
|
4944
4927
|
set endpoint(t) {
|
|
4945
|
-
this.$$set({ endpoint: t }),
|
|
4928
|
+
this.$$set({ endpoint: t }), O();
|
|
4946
4929
|
}
|
|
4947
4930
|
get gameid() {
|
|
4948
4931
|
return this.$$.ctx[30];
|
|
4949
4932
|
}
|
|
4950
4933
|
set gameid(t) {
|
|
4951
|
-
this.$$set({ gameid: t }),
|
|
4934
|
+
this.$$set({ gameid: t }), O();
|
|
4952
4935
|
}
|
|
4953
4936
|
get mbsource() {
|
|
4954
4937
|
return this.$$.ctx[31];
|
|
4955
4938
|
}
|
|
4956
4939
|
set mbsource(t) {
|
|
4957
|
-
this.$$set({ mbsource: t }),
|
|
4940
|
+
this.$$set({ mbsource: t }), O();
|
|
4958
4941
|
}
|
|
4959
4942
|
get realtimeupdate() {
|
|
4960
4943
|
return this.$$.ctx[2];
|
|
4961
4944
|
}
|
|
4962
4945
|
set realtimeupdate(t) {
|
|
4963
|
-
this.$$set({ realtimeupdate: t }),
|
|
4946
|
+
this.$$set({ realtimeupdate: t }), O();
|
|
4964
4947
|
}
|
|
4965
4948
|
}
|
|
4966
|
-
|
|
4949
|
+
Tn($s, { visualstructure: {}, title: {}, caticon0: {}, caticon1: {}, caticon2: {}, caticon3: {}, iconlabels: {}, backgroundsrc: {}, currency: {}, backgroundsrcmobile: {}, titlelogopath: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, endpoint: {}, gameid: {}, mbsource: {}, realtimeupdate: {} }, [], [], !0);
|
|
4967
4950
|
export {
|
|
4968
|
-
|
|
4951
|
+
$s as default
|
|
4969
4952
|
};
|