@everymatrix/casino-footer-thumbnail 1.53.0 → 1.53.10
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/{CasinoFooterThumbnail-CC4xYMen.js → CasinoFooterThumbnail-CXVYnIwm.js} +1250 -1301
- package/esnext/casino-footer-thumbnail.js +14 -0
- package/package.json +8 -9
- package/components/CasinoFooterThumbnail-CP0yHdpu.cjs +0 -5
- package/es2015/casino-footer-thumbnail.cjs +0 -1
- package/es2015/casino-footer-thumbnail.js +0 -16
|
@@ -1,57 +1,28 @@
|
|
|
1
|
-
var Mr = Object.defineProperty, Dr = Object.defineProperties;
|
|
2
|
-
var Rr = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var ct = Object.getOwnPropertySymbols;
|
|
4
|
-
var Ur = Object.prototype.hasOwnProperty, Gr = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var Oe = (e, t, r) => t in e ? Mr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, mt = (e, t) => {
|
|
6
|
-
for (var r in t || (t = {}))
|
|
7
|
-
Ur.call(t, r) && Oe(e, r, t[r]);
|
|
8
|
-
if (ct)
|
|
9
|
-
for (var r of ct(t))
|
|
10
|
-
Gr.call(t, r) && Oe(e, r, t[r]);
|
|
11
|
-
return e;
|
|
12
|
-
}, pt = (e, t) => Dr(e, Rr(t));
|
|
13
|
-
var k = (e, t, r) => Oe(e, typeof t != "symbol" ? t + "" : t, r);
|
|
14
|
-
var dt = (e, t, r) => new Promise((n, i) => {
|
|
15
|
-
var o = (f) => {
|
|
16
|
-
try {
|
|
17
|
-
u(r.next(f));
|
|
18
|
-
} catch (s) {
|
|
19
|
-
i(s);
|
|
20
|
-
}
|
|
21
|
-
}, l = (f) => {
|
|
22
|
-
try {
|
|
23
|
-
u(r.throw(f));
|
|
24
|
-
} catch (s) {
|
|
25
|
-
i(s);
|
|
26
|
-
}
|
|
27
|
-
}, u = (f) => f.done ? n(f.value) : Promise.resolve(f.value).then(o, l);
|
|
28
|
-
u((r = r.apply(e, t)).next());
|
|
29
|
-
});
|
|
30
1
|
function O() {
|
|
31
2
|
}
|
|
32
|
-
function
|
|
3
|
+
function Dt(e) {
|
|
33
4
|
return e();
|
|
34
5
|
}
|
|
35
|
-
function
|
|
6
|
+
function lt() {
|
|
36
7
|
return /* @__PURE__ */ Object.create(null);
|
|
37
8
|
}
|
|
38
|
-
function
|
|
39
|
-
e.forEach(
|
|
9
|
+
function he(e) {
|
|
10
|
+
e.forEach(Dt);
|
|
40
11
|
}
|
|
41
|
-
function
|
|
12
|
+
function rt(e) {
|
|
42
13
|
return typeof e == "function";
|
|
43
14
|
}
|
|
44
|
-
function
|
|
15
|
+
function Rt(e, t) {
|
|
45
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
17
|
}
|
|
47
|
-
let
|
|
18
|
+
let be;
|
|
48
19
|
function A(e, t) {
|
|
49
|
-
return e === t ? !0 : (
|
|
20
|
+
return e === t ? !0 : (be || (be = document.createElement("a")), be.href = t, e === be.href);
|
|
50
21
|
}
|
|
51
|
-
function
|
|
22
|
+
function Lr(e) {
|
|
52
23
|
return Object.keys(e).length === 0;
|
|
53
24
|
}
|
|
54
|
-
function
|
|
25
|
+
function Pr(e, ...t) {
|
|
55
26
|
if (e == null) {
|
|
56
27
|
for (const n of t)
|
|
57
28
|
n(void 0);
|
|
@@ -63,14 +34,14 @@ function jr(e, ...t) {
|
|
|
63
34
|
function g(e, t) {
|
|
64
35
|
e.appendChild(t);
|
|
65
36
|
}
|
|
66
|
-
function
|
|
67
|
-
const n =
|
|
37
|
+
function xr(e, t, r) {
|
|
38
|
+
const n = Br(e);
|
|
68
39
|
if (!n.getElementById(t)) {
|
|
69
40
|
const i = d("style");
|
|
70
|
-
i.id = t, i.textContent = r,
|
|
41
|
+
i.id = t, i.textContent = r, wr(n, i);
|
|
71
42
|
}
|
|
72
43
|
}
|
|
73
|
-
function
|
|
44
|
+
function Br(e) {
|
|
74
45
|
if (!e) return document;
|
|
75
46
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
76
47
|
return t && /** @type {ShadowRoot} */
|
|
@@ -79,7 +50,7 @@ function Xr(e) {
|
|
|
79
50
|
t
|
|
80
51
|
) : e.ownerDocument;
|
|
81
52
|
}
|
|
82
|
-
function
|
|
53
|
+
function wr(e, t) {
|
|
83
54
|
return g(
|
|
84
55
|
/** @type {Document} */
|
|
85
56
|
e.head || e,
|
|
@@ -95,29 +66,29 @@ function H(e) {
|
|
|
95
66
|
function d(e) {
|
|
96
67
|
return document.createElement(e);
|
|
97
68
|
}
|
|
98
|
-
function
|
|
69
|
+
function U(e) {
|
|
99
70
|
return document.createTextNode(e);
|
|
100
71
|
}
|
|
101
|
-
function
|
|
102
|
-
return
|
|
72
|
+
function ee() {
|
|
73
|
+
return U(" ");
|
|
103
74
|
}
|
|
104
|
-
function
|
|
105
|
-
return
|
|
75
|
+
function Ut() {
|
|
76
|
+
return U("");
|
|
106
77
|
}
|
|
107
|
-
function
|
|
78
|
+
function te(e, t, r, n) {
|
|
108
79
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
109
80
|
}
|
|
110
|
-
function
|
|
81
|
+
function u(e, t, r) {
|
|
111
82
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
112
83
|
}
|
|
113
|
-
function
|
|
84
|
+
function Or(e) {
|
|
114
85
|
return Array.from(e.childNodes);
|
|
115
86
|
}
|
|
116
|
-
function
|
|
87
|
+
function re(e, t) {
|
|
117
88
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
118
89
|
t);
|
|
119
90
|
}
|
|
120
|
-
function
|
|
91
|
+
function kr(e) {
|
|
121
92
|
const t = {};
|
|
122
93
|
return e.childNodes.forEach(
|
|
123
94
|
/** @param {Element} node */
|
|
@@ -126,86 +97,86 @@ function Zr(e) {
|
|
|
126
97
|
}
|
|
127
98
|
), t;
|
|
128
99
|
}
|
|
129
|
-
let
|
|
130
|
-
function
|
|
131
|
-
|
|
100
|
+
let nt;
|
|
101
|
+
function ae(e) {
|
|
102
|
+
nt = e;
|
|
132
103
|
}
|
|
133
|
-
const
|
|
134
|
-
let
|
|
135
|
-
const
|
|
136
|
-
let
|
|
137
|
-
function
|
|
138
|
-
|
|
104
|
+
const z = [], Ue = [];
|
|
105
|
+
let Z = [];
|
|
106
|
+
const ut = [], Nr = /* @__PURE__ */ Promise.resolve();
|
|
107
|
+
let Ge = !1;
|
|
108
|
+
function Cr() {
|
|
109
|
+
Ge || (Ge = !0, Nr.then(I));
|
|
139
110
|
}
|
|
140
|
-
function
|
|
141
|
-
|
|
111
|
+
function $e(e) {
|
|
112
|
+
Z.push(e);
|
|
142
113
|
}
|
|
143
|
-
const
|
|
144
|
-
let
|
|
114
|
+
const Oe = /* @__PURE__ */ new Set();
|
|
115
|
+
let X = 0;
|
|
145
116
|
function I() {
|
|
146
|
-
if (
|
|
117
|
+
if (X !== 0)
|
|
147
118
|
return;
|
|
148
|
-
const e =
|
|
119
|
+
const e = nt;
|
|
149
120
|
do {
|
|
150
121
|
try {
|
|
151
|
-
for (;
|
|
152
|
-
const t =
|
|
153
|
-
|
|
122
|
+
for (; X < z.length; ) {
|
|
123
|
+
const t = z[X];
|
|
124
|
+
X++, ae(t), Mr(t.$$);
|
|
154
125
|
}
|
|
155
126
|
} catch (t) {
|
|
156
|
-
throw
|
|
127
|
+
throw z.length = 0, X = 0, t;
|
|
157
128
|
}
|
|
158
|
-
for (
|
|
159
|
-
for (let t = 0; t <
|
|
160
|
-
const r =
|
|
161
|
-
|
|
129
|
+
for (ae(null), z.length = 0, X = 0; Ue.length; ) Ue.pop()();
|
|
130
|
+
for (let t = 0; t < Z.length; t += 1) {
|
|
131
|
+
const r = Z[t];
|
|
132
|
+
Oe.has(r) || (Oe.add(r), r());
|
|
162
133
|
}
|
|
163
|
-
|
|
164
|
-
} while (
|
|
165
|
-
for (;
|
|
166
|
-
|
|
167
|
-
|
|
134
|
+
Z.length = 0;
|
|
135
|
+
} while (z.length);
|
|
136
|
+
for (; ut.length; )
|
|
137
|
+
ut.pop()();
|
|
138
|
+
Ge = !1, Oe.clear(), ae(e);
|
|
168
139
|
}
|
|
169
|
-
function
|
|
140
|
+
function Mr(e) {
|
|
170
141
|
if (e.fragment !== null) {
|
|
171
|
-
e.update(),
|
|
142
|
+
e.update(), he(e.before_update);
|
|
172
143
|
const t = e.dirty;
|
|
173
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
144
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
|
|
174
145
|
}
|
|
175
146
|
}
|
|
176
|
-
function
|
|
147
|
+
function Dr(e) {
|
|
177
148
|
const t = [], r = [];
|
|
178
|
-
|
|
149
|
+
Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
|
|
179
150
|
}
|
|
180
|
-
const
|
|
181
|
-
function
|
|
182
|
-
e && e.i && (
|
|
151
|
+
const Rr = /* @__PURE__ */ new Set();
|
|
152
|
+
function Ur(e, t) {
|
|
153
|
+
e && e.i && (Rr.delete(e), e.i(t));
|
|
183
154
|
}
|
|
184
|
-
function
|
|
155
|
+
function Gr(e, t, r) {
|
|
185
156
|
const { fragment: n, after_update: i } = e.$$;
|
|
186
|
-
n && n.m(t, r),
|
|
187
|
-
const o = e.$$.on_mount.map(
|
|
188
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
189
|
-
}), i.forEach(
|
|
157
|
+
n && n.m(t, r), $e(() => {
|
|
158
|
+
const o = e.$$.on_mount.map(Dt).filter(rt);
|
|
159
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : he(o), e.$$.on_mount = [];
|
|
160
|
+
}), i.forEach($e);
|
|
190
161
|
}
|
|
191
|
-
function
|
|
162
|
+
function $r(e, t) {
|
|
192
163
|
const r = e.$$;
|
|
193
|
-
r.fragment !== null && (
|
|
164
|
+
r.fragment !== null && (Dr(r.after_update), he(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
194
165
|
}
|
|
195
|
-
function
|
|
196
|
-
e.$$.dirty[0] === -1 && (
|
|
166
|
+
function jr(e, t) {
|
|
167
|
+
e.$$.dirty[0] === -1 && (z.push(e), Cr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
197
168
|
}
|
|
198
|
-
function
|
|
199
|
-
const f =
|
|
200
|
-
|
|
201
|
-
const
|
|
169
|
+
function Vr(e, t, r, n, i, o, l = null, h = [-1]) {
|
|
170
|
+
const f = nt;
|
|
171
|
+
ae(e);
|
|
172
|
+
const a = e.$$ = {
|
|
202
173
|
fragment: null,
|
|
203
174
|
ctx: [],
|
|
204
175
|
// state
|
|
205
176
|
props: o,
|
|
206
177
|
update: O,
|
|
207
178
|
not_equal: i,
|
|
208
|
-
bound:
|
|
179
|
+
bound: lt(),
|
|
209
180
|
// lifecycle
|
|
210
181
|
on_mount: [],
|
|
211
182
|
on_destroy: [],
|
|
@@ -214,150 +185,146 @@ function on(e, t, r, n, i, o, l = null, u = [-1]) {
|
|
|
214
185
|
after_update: [],
|
|
215
186
|
context: new Map(t.context || (f ? f.$$.context : [])),
|
|
216
187
|
// everything else
|
|
217
|
-
callbacks:
|
|
218
|
-
dirty:
|
|
188
|
+
callbacks: lt(),
|
|
189
|
+
dirty: h,
|
|
219
190
|
skip_bound: !1,
|
|
220
191
|
root: t.target || f.$$.root
|
|
221
192
|
};
|
|
222
|
-
l && l(
|
|
223
|
-
let
|
|
224
|
-
if (
|
|
225
|
-
const S =
|
|
226
|
-
return
|
|
227
|
-
})
|
|
193
|
+
l && l(a.root);
|
|
194
|
+
let s = !1;
|
|
195
|
+
if (a.ctx = r(e, t.props || {}, (c, m, ...y) => {
|
|
196
|
+
const S = y.length ? y[0] : m;
|
|
197
|
+
return a.ctx && i(a.ctx[c], a.ctx[c] = S) && (!a.skip_bound && a.bound[c] && a.bound[c](S), s && jr(e, c)), m;
|
|
198
|
+
}), a.update(), s = !0, he(a.before_update), a.fragment = n(a.ctx), t.target) {
|
|
228
199
|
if (t.hydrate) {
|
|
229
|
-
const c =
|
|
230
|
-
|
|
200
|
+
const c = Or(t.target);
|
|
201
|
+
a.fragment && a.fragment.l(c), c.forEach(H);
|
|
231
202
|
} else
|
|
232
|
-
|
|
233
|
-
t.intro &&
|
|
203
|
+
a.fragment && a.fragment.c();
|
|
204
|
+
t.intro && Ur(e.$$.fragment), Gr(e, t.target, t.anchor), I();
|
|
234
205
|
}
|
|
235
|
-
|
|
236
|
-
}
|
|
237
|
-
let
|
|
238
|
-
typeof HTMLElement == "function" && (
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
|
206
|
+
ae(f);
|
|
207
|
+
}
|
|
208
|
+
let Gt;
|
|
209
|
+
typeof HTMLElement == "function" && (Gt = class extends HTMLElement {
|
|
210
|
+
/** The Svelte component constructor */
|
|
211
|
+
$$ctor;
|
|
212
|
+
/** Slots */
|
|
213
|
+
$$s;
|
|
214
|
+
/** The Svelte component instance */
|
|
215
|
+
$$c;
|
|
216
|
+
/** Whether or not the custom element is connected */
|
|
217
|
+
$$cn = !1;
|
|
218
|
+
/** Component props data */
|
|
219
|
+
$$d = {};
|
|
220
|
+
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
221
|
+
$$r = !1;
|
|
222
|
+
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
223
|
+
$$p_d = {};
|
|
224
|
+
/** @type {Record<string, Function[]>} Event listeners */
|
|
225
|
+
$$l = {};
|
|
226
|
+
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
227
|
+
$$l_u = /* @__PURE__ */ new Map();
|
|
228
|
+
constructor(e, t, r) {
|
|
229
|
+
super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
|
|
260
230
|
}
|
|
261
|
-
addEventListener(t, r
|
|
262
|
-
if (this.$$l[
|
|
263
|
-
const
|
|
264
|
-
this.$$l_u.set(
|
|
231
|
+
addEventListener(e, t, r) {
|
|
232
|
+
if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
|
|
233
|
+
const n = this.$$c.$on(e, t);
|
|
234
|
+
this.$$l_u.set(t, n);
|
|
265
235
|
}
|
|
266
|
-
super.addEventListener(t, r
|
|
236
|
+
super.addEventListener(e, t, r);
|
|
267
237
|
}
|
|
268
|
-
removeEventListener(t, r
|
|
269
|
-
if (super.removeEventListener(t, r
|
|
270
|
-
const
|
|
271
|
-
|
|
238
|
+
removeEventListener(e, t, r) {
|
|
239
|
+
if (super.removeEventListener(e, t, r), this.$$c) {
|
|
240
|
+
const n = this.$$l_u.get(t);
|
|
241
|
+
n && (n(), this.$$l_u.delete(t));
|
|
272
242
|
}
|
|
273
243
|
}
|
|
274
|
-
connectedCallback() {
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
}
|
|
294
|
-
};
|
|
244
|
+
async connectedCallback() {
|
|
245
|
+
if (this.$$cn = !0, !this.$$c) {
|
|
246
|
+
let e = function(i) {
|
|
247
|
+
return () => {
|
|
248
|
+
let o;
|
|
249
|
+
return {
|
|
250
|
+
c: function() {
|
|
251
|
+
o = d("slot"), i !== "default" && u(o, "name", i);
|
|
252
|
+
},
|
|
253
|
+
/**
|
|
254
|
+
* @param {HTMLElement} target
|
|
255
|
+
* @param {HTMLElement} [anchor]
|
|
256
|
+
*/
|
|
257
|
+
m: function(f, a) {
|
|
258
|
+
F(f, o, a);
|
|
259
|
+
},
|
|
260
|
+
d: function(f) {
|
|
261
|
+
f && H(o);
|
|
262
|
+
}
|
|
295
263
|
};
|
|
296
264
|
};
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
265
|
+
};
|
|
266
|
+
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
267
|
+
return;
|
|
268
|
+
const t = {}, r = kr(this);
|
|
269
|
+
for (const i of this.$$s)
|
|
270
|
+
i in r && (t[i] = [e(i)]);
|
|
271
|
+
for (const i of this.attributes) {
|
|
272
|
+
const o = this.$$g_p(i.name);
|
|
273
|
+
o in this.$$d || (this.$$d[o] = ye(o, i.value, this.$$p_d, "toProp"));
|
|
274
|
+
}
|
|
275
|
+
for (const i in this.$$p_d)
|
|
276
|
+
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
277
|
+
this.$$c = new this.$$ctor({
|
|
278
|
+
target: this.shadowRoot || this,
|
|
279
|
+
props: {
|
|
280
|
+
...this.$$d,
|
|
281
|
+
$$slots: t,
|
|
282
|
+
$$scope: {
|
|
283
|
+
ctx: []
|
|
284
|
+
}
|
|
305
285
|
}
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
this.$$
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
this.$$r = !0;
|
|
319
|
-
for (const o in this.$$p_d)
|
|
320
|
-
if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
|
|
321
|
-
const l = ye(
|
|
322
|
-
o,
|
|
323
|
-
this.$$d[o],
|
|
324
|
-
this.$$p_d,
|
|
325
|
-
"toAttribute"
|
|
326
|
-
);
|
|
327
|
-
l == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, l);
|
|
328
|
-
}
|
|
329
|
-
this.$$r = !1;
|
|
330
|
-
};
|
|
331
|
-
this.$$c.$$.after_update.push(i), i();
|
|
332
|
-
for (const o in this.$$l)
|
|
333
|
-
for (const l of this.$$l[o]) {
|
|
334
|
-
const u = this.$$c.$on(o, l);
|
|
335
|
-
this.$$l_u.set(l, u);
|
|
286
|
+
});
|
|
287
|
+
const n = () => {
|
|
288
|
+
this.$$r = !0;
|
|
289
|
+
for (const i in this.$$p_d)
|
|
290
|
+
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
291
|
+
const o = ye(
|
|
292
|
+
i,
|
|
293
|
+
this.$$d[i],
|
|
294
|
+
this.$$p_d,
|
|
295
|
+
"toAttribute"
|
|
296
|
+
);
|
|
297
|
+
o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
|
|
336
298
|
}
|
|
337
|
-
this.$$
|
|
338
|
-
}
|
|
339
|
-
|
|
299
|
+
this.$$r = !1;
|
|
300
|
+
};
|
|
301
|
+
this.$$c.$$.after_update.push(n), n();
|
|
302
|
+
for (const i in this.$$l)
|
|
303
|
+
for (const o of this.$$l[i]) {
|
|
304
|
+
const l = this.$$c.$on(i, o);
|
|
305
|
+
this.$$l_u.set(o, l);
|
|
306
|
+
}
|
|
307
|
+
this.$$l = {};
|
|
308
|
+
}
|
|
340
309
|
}
|
|
341
310
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
342
311
|
// and setting attributes through setAttribute etc, this is helpful
|
|
343
|
-
attributeChangedCallback(t, r
|
|
344
|
-
|
|
345
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] = ye(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
312
|
+
attributeChangedCallback(e, t, r) {
|
|
313
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = ye(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
346
314
|
}
|
|
347
315
|
disconnectedCallback() {
|
|
348
316
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
349
317
|
!this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
|
|
350
318
|
});
|
|
351
319
|
}
|
|
352
|
-
$$g_p(
|
|
320
|
+
$$g_p(e) {
|
|
353
321
|
return Object.keys(this.$$p_d).find(
|
|
354
|
-
(
|
|
355
|
-
) ||
|
|
322
|
+
(t) => this.$$p_d[t].attribute === e || !this.$$p_d[t].attribute && t.toLowerCase() === e
|
|
323
|
+
) || e;
|
|
356
324
|
}
|
|
357
325
|
});
|
|
358
326
|
function ye(e, t, r, n) {
|
|
359
|
-
|
|
360
|
-
const i = (o = r[e]) == null ? void 0 : o.type;
|
|
327
|
+
const i = r[e]?.type;
|
|
361
328
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
362
329
|
return t;
|
|
363
330
|
if (n === "toAttribute")
|
|
@@ -368,7 +335,7 @@ function ye(e, t, r, n) {
|
|
|
368
335
|
case "Boolean":
|
|
369
336
|
return t ? "" : null;
|
|
370
337
|
case "Number":
|
|
371
|
-
return t
|
|
338
|
+
return t ?? null;
|
|
372
339
|
default:
|
|
373
340
|
return t;
|
|
374
341
|
}
|
|
@@ -385,59 +352,55 @@ function ye(e, t, r, n) {
|
|
|
385
352
|
return t;
|
|
386
353
|
}
|
|
387
354
|
}
|
|
388
|
-
function
|
|
389
|
-
let l = class extends
|
|
355
|
+
function Xr(e, t, r, n, i, o) {
|
|
356
|
+
let l = class extends Gt {
|
|
390
357
|
constructor() {
|
|
391
358
|
super(e, r, i), this.$$p_d = t;
|
|
392
359
|
}
|
|
393
360
|
static get observedAttributes() {
|
|
394
361
|
return Object.keys(t).map(
|
|
395
|
-
(
|
|
362
|
+
(h) => (t[h].attribute || h).toLowerCase()
|
|
396
363
|
);
|
|
397
364
|
}
|
|
398
365
|
};
|
|
399
|
-
return Object.keys(t).forEach((
|
|
400
|
-
Object.defineProperty(l.prototype,
|
|
366
|
+
return Object.keys(t).forEach((h) => {
|
|
367
|
+
Object.defineProperty(l.prototype, h, {
|
|
401
368
|
get() {
|
|
402
|
-
return this.$$c &&
|
|
369
|
+
return this.$$c && h in this.$$c ? this.$$c[h] : this.$$d[h];
|
|
403
370
|
},
|
|
404
371
|
set(f) {
|
|
405
|
-
|
|
406
|
-
f = ye(u, f, t), this.$$d[u] = f, (s = this.$$c) == null || s.$set({ [u]: f });
|
|
372
|
+
f = ye(h, f, t), this.$$d[h] = f, this.$$c?.$set({ [h]: f });
|
|
407
373
|
}
|
|
408
374
|
});
|
|
409
|
-
}), n.forEach((
|
|
410
|
-
Object.defineProperty(l.prototype,
|
|
375
|
+
}), n.forEach((h) => {
|
|
376
|
+
Object.defineProperty(l.prototype, h, {
|
|
411
377
|
get() {
|
|
412
|
-
|
|
413
|
-
return (f = this.$$c) == null ? void 0 : f[u];
|
|
378
|
+
return this.$$c?.[h];
|
|
414
379
|
}
|
|
415
380
|
});
|
|
416
381
|
}), e.element = /** @type {any} */
|
|
417
382
|
l, l;
|
|
418
383
|
}
|
|
419
|
-
class
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
k(this, "$$set");
|
|
437
|
-
}
|
|
384
|
+
class Wr {
|
|
385
|
+
/**
|
|
386
|
+
* ### PRIVATE API
|
|
387
|
+
*
|
|
388
|
+
* Do not use, may change at any time
|
|
389
|
+
*
|
|
390
|
+
* @type {any}
|
|
391
|
+
*/
|
|
392
|
+
$$ = void 0;
|
|
393
|
+
/**
|
|
394
|
+
* ### PRIVATE API
|
|
395
|
+
*
|
|
396
|
+
* Do not use, may change at any time
|
|
397
|
+
*
|
|
398
|
+
* @type {any}
|
|
399
|
+
*/
|
|
400
|
+
$$set = void 0;
|
|
438
401
|
/** @returns {void} */
|
|
439
402
|
$destroy() {
|
|
440
|
-
|
|
403
|
+
$r(this, 1), this.$destroy = O;
|
|
441
404
|
}
|
|
442
405
|
/**
|
|
443
406
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -446,7 +409,7 @@ class an {
|
|
|
446
409
|
* @returns {() => void}
|
|
447
410
|
*/
|
|
448
411
|
$on(t, r) {
|
|
449
|
-
if (!
|
|
412
|
+
if (!rt(r))
|
|
450
413
|
return O;
|
|
451
414
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
452
415
|
return n.push(r), () => {
|
|
@@ -459,37 +422,37 @@ class an {
|
|
|
459
422
|
* @returns {void}
|
|
460
423
|
*/
|
|
461
424
|
$set(t) {
|
|
462
|
-
this.$$set &&
|
|
425
|
+
this.$$set && !Lr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
463
426
|
}
|
|
464
427
|
}
|
|
465
|
-
const
|
|
466
|
-
typeof window
|
|
467
|
-
var
|
|
468
|
-
return
|
|
428
|
+
const zr = "4";
|
|
429
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(zr);
|
|
430
|
+
var je = function(e, t) {
|
|
431
|
+
return je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
469
432
|
r.__proto__ = n;
|
|
470
433
|
} || function(r, n) {
|
|
471
434
|
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
472
|
-
},
|
|
435
|
+
}, je(e, t);
|
|
473
436
|
};
|
|
474
|
-
function
|
|
437
|
+
function C(e, t) {
|
|
475
438
|
if (typeof t != "function" && t !== null)
|
|
476
439
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
477
|
-
|
|
440
|
+
je(e, t);
|
|
478
441
|
function r() {
|
|
479
442
|
this.constructor = e;
|
|
480
443
|
}
|
|
481
444
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
482
445
|
}
|
|
483
|
-
var
|
|
484
|
-
return
|
|
446
|
+
var v = function() {
|
|
447
|
+
return v = Object.assign || function(t) {
|
|
485
448
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
486
449
|
r = arguments[n];
|
|
487
450
|
for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
488
451
|
}
|
|
489
452
|
return t;
|
|
490
|
-
},
|
|
453
|
+
}, v.apply(this, arguments);
|
|
491
454
|
};
|
|
492
|
-
function
|
|
455
|
+
function Zr(e, t) {
|
|
493
456
|
var r = {};
|
|
494
457
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
495
458
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -497,7 +460,7 @@ function un(e, t) {
|
|
|
497
460
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
498
461
|
return r;
|
|
499
462
|
}
|
|
500
|
-
function
|
|
463
|
+
function Ve(e) {
|
|
501
464
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
502
465
|
if (r) return r.call(e);
|
|
503
466
|
if (e && typeof e.length == "number") return {
|
|
@@ -507,14 +470,14 @@ function ze(e) {
|
|
|
507
470
|
};
|
|
508
471
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
509
472
|
}
|
|
510
|
-
function
|
|
473
|
+
function Xe(e, t) {
|
|
511
474
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
512
475
|
if (!r) return e;
|
|
513
476
|
var n = r.call(e), i, o = [], l;
|
|
514
477
|
try {
|
|
515
478
|
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) o.push(i.value);
|
|
516
|
-
} catch (
|
|
517
|
-
l = { error:
|
|
479
|
+
} catch (h) {
|
|
480
|
+
l = { error: h };
|
|
518
481
|
} finally {
|
|
519
482
|
try {
|
|
520
483
|
i && !i.done && (r = n.return) && r.call(n);
|
|
@@ -524,21 +487,21 @@ function Ze(e, t) {
|
|
|
524
487
|
}
|
|
525
488
|
return o;
|
|
526
489
|
}
|
|
527
|
-
function
|
|
490
|
+
function Q(e, t, r) {
|
|
528
491
|
if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
|
|
529
492
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
530
493
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
531
494
|
}
|
|
532
|
-
function
|
|
495
|
+
function N(e) {
|
|
533
496
|
return typeof e == "function";
|
|
534
497
|
}
|
|
535
|
-
function
|
|
498
|
+
function $t(e) {
|
|
536
499
|
var t = function(n) {
|
|
537
500
|
Error.call(n), n.stack = new Error().stack;
|
|
538
501
|
}, r = e(t);
|
|
539
502
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
540
503
|
}
|
|
541
|
-
var
|
|
504
|
+
var ke = $t(function(e) {
|
|
542
505
|
return function(r) {
|
|
543
506
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
544
507
|
` + r.map(function(n, i) {
|
|
@@ -547,13 +510,13 @@ var Ce = qt(function(e) {
|
|
|
547
510
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
548
511
|
};
|
|
549
512
|
});
|
|
550
|
-
function
|
|
513
|
+
function We(e, t) {
|
|
551
514
|
if (e) {
|
|
552
515
|
var r = e.indexOf(t);
|
|
553
516
|
0 <= r && e.splice(r, 1);
|
|
554
517
|
}
|
|
555
518
|
}
|
|
556
|
-
var
|
|
519
|
+
var Te = function() {
|
|
557
520
|
function e(t) {
|
|
558
521
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
559
522
|
}
|
|
@@ -565,58 +528,58 @@ var Ae = function() {
|
|
|
565
528
|
if (l)
|
|
566
529
|
if (this._parentage = null, Array.isArray(l))
|
|
567
530
|
try {
|
|
568
|
-
for (var
|
|
569
|
-
var
|
|
570
|
-
|
|
531
|
+
for (var h = Ve(l), f = h.next(); !f.done; f = h.next()) {
|
|
532
|
+
var a = f.value;
|
|
533
|
+
a.remove(this);
|
|
571
534
|
}
|
|
572
535
|
} catch (E) {
|
|
573
536
|
t = { error: E };
|
|
574
537
|
} finally {
|
|
575
538
|
try {
|
|
576
|
-
f && !f.done && (r =
|
|
539
|
+
f && !f.done && (r = h.return) && r.call(h);
|
|
577
540
|
} finally {
|
|
578
541
|
if (t) throw t.error;
|
|
579
542
|
}
|
|
580
543
|
}
|
|
581
544
|
else
|
|
582
545
|
l.remove(this);
|
|
583
|
-
var
|
|
584
|
-
if (
|
|
546
|
+
var s = this.initialTeardown;
|
|
547
|
+
if (N(s))
|
|
585
548
|
try {
|
|
586
|
-
|
|
549
|
+
s();
|
|
587
550
|
} catch (E) {
|
|
588
|
-
o = E instanceof
|
|
551
|
+
o = E instanceof ke ? E.errors : [E];
|
|
589
552
|
}
|
|
590
553
|
var c = this._finalizers;
|
|
591
554
|
if (c) {
|
|
592
555
|
this._finalizers = null;
|
|
593
556
|
try {
|
|
594
|
-
for (var m =
|
|
595
|
-
var S =
|
|
557
|
+
for (var m = Ve(c), y = m.next(); !y.done; y = m.next()) {
|
|
558
|
+
var S = y.value;
|
|
596
559
|
try {
|
|
597
|
-
|
|
560
|
+
ht(S);
|
|
598
561
|
} catch (E) {
|
|
599
|
-
o = o
|
|
562
|
+
o = o ?? [], E instanceof ke ? o = Q(Q([], Xe(o)), Xe(E.errors)) : o.push(E);
|
|
600
563
|
}
|
|
601
564
|
}
|
|
602
565
|
} catch (E) {
|
|
603
566
|
n = { error: E };
|
|
604
567
|
} finally {
|
|
605
568
|
try {
|
|
606
|
-
|
|
569
|
+
y && !y.done && (i = m.return) && i.call(m);
|
|
607
570
|
} finally {
|
|
608
571
|
if (n) throw n.error;
|
|
609
572
|
}
|
|
610
573
|
}
|
|
611
574
|
}
|
|
612
575
|
if (o)
|
|
613
|
-
throw new
|
|
576
|
+
throw new ke(o);
|
|
614
577
|
}
|
|
615
578
|
}, e.prototype.add = function(t) {
|
|
616
579
|
var r;
|
|
617
580
|
if (t && t !== this)
|
|
618
581
|
if (this.closed)
|
|
619
|
-
|
|
582
|
+
ht(t);
|
|
620
583
|
else {
|
|
621
584
|
if (t instanceof e) {
|
|
622
585
|
if (t.closed || t._hasParent(this))
|
|
@@ -633,56 +596,56 @@ var Ae = function() {
|
|
|
633
596
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
634
597
|
}, e.prototype._removeParent = function(t) {
|
|
635
598
|
var r = this._parentage;
|
|
636
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
599
|
+
r === t ? this._parentage = null : Array.isArray(r) && We(r, t);
|
|
637
600
|
}, e.prototype.remove = function(t) {
|
|
638
601
|
var r = this._finalizers;
|
|
639
|
-
r &&
|
|
602
|
+
r && We(r, t), t instanceof e && t._removeParent(this);
|
|
640
603
|
}, e.EMPTY = function() {
|
|
641
604
|
var t = new e();
|
|
642
605
|
return t.closed = !0, t;
|
|
643
606
|
}(), e;
|
|
644
|
-
}(),
|
|
645
|
-
function
|
|
646
|
-
return e instanceof
|
|
607
|
+
}(), jt = Te.EMPTY;
|
|
608
|
+
function Vt(e) {
|
|
609
|
+
return e instanceof Te || e && "closed" in e && N(e.remove) && N(e.add) && N(e.unsubscribe);
|
|
647
610
|
}
|
|
648
|
-
function
|
|
649
|
-
|
|
611
|
+
function ht(e) {
|
|
612
|
+
N(e) ? e() : e.unsubscribe();
|
|
650
613
|
}
|
|
651
|
-
var
|
|
614
|
+
var Qr = {
|
|
652
615
|
onUnhandledError: null,
|
|
653
616
|
onStoppedNotification: null,
|
|
654
617
|
Promise: void 0,
|
|
655
618
|
useDeprecatedSynchronousErrorHandling: !1,
|
|
656
619
|
useDeprecatedNextContext: !1
|
|
657
|
-
},
|
|
620
|
+
}, qr = {
|
|
658
621
|
setTimeout: function(e, t) {
|
|
659
622
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
660
623
|
r[n - 2] = arguments[n];
|
|
661
|
-
return setTimeout.apply(void 0,
|
|
624
|
+
return setTimeout.apply(void 0, Q([e, t], Xe(r)));
|
|
662
625
|
},
|
|
663
626
|
clearTimeout: function(e) {
|
|
664
627
|
return clearTimeout(e);
|
|
665
628
|
},
|
|
666
629
|
delegate: void 0
|
|
667
630
|
};
|
|
668
|
-
function
|
|
669
|
-
|
|
631
|
+
function Jr(e) {
|
|
632
|
+
qr.setTimeout(function() {
|
|
670
633
|
throw e;
|
|
671
634
|
});
|
|
672
635
|
}
|
|
673
|
-
function
|
|
636
|
+
function ft() {
|
|
674
637
|
}
|
|
675
|
-
function
|
|
638
|
+
function ve(e) {
|
|
676
639
|
e();
|
|
677
640
|
}
|
|
678
|
-
var
|
|
679
|
-
|
|
641
|
+
var Xt = function(e) {
|
|
642
|
+
C(t, e);
|
|
680
643
|
function t(r) {
|
|
681
644
|
var n = e.call(this) || this;
|
|
682
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
645
|
+
return n.isStopped = !1, r ? (n.destination = r, Vt(r) && r.add(n)) : n.destination = en, n;
|
|
683
646
|
}
|
|
684
647
|
return t.create = function(r, n, i) {
|
|
685
|
-
return new
|
|
648
|
+
return new ze(r, n, i);
|
|
686
649
|
}, t.prototype.next = function(r) {
|
|
687
650
|
this.isStopped || this._next(r);
|
|
688
651
|
}, t.prototype.error = function(r) {
|
|
@@ -706,11 +669,7 @@ var er = function(e) {
|
|
|
706
669
|
this.unsubscribe();
|
|
707
670
|
}
|
|
708
671
|
}, t;
|
|
709
|
-
}(
|
|
710
|
-
function Me(e, t) {
|
|
711
|
-
return cn.call(e, t);
|
|
712
|
-
}
|
|
713
|
-
var mn = function() {
|
|
672
|
+
}(Te), Yr = function() {
|
|
714
673
|
function e(t) {
|
|
715
674
|
this.partialObserver = t;
|
|
716
675
|
}
|
|
@@ -720,7 +679,7 @@ var mn = function() {
|
|
|
720
679
|
try {
|
|
721
680
|
r.next(t);
|
|
722
681
|
} catch (n) {
|
|
723
|
-
|
|
682
|
+
ge(n);
|
|
724
683
|
}
|
|
725
684
|
}, e.prototype.error = function(t) {
|
|
726
685
|
var r = this.partialObserver;
|
|
@@ -728,68 +687,56 @@ var mn = function() {
|
|
|
728
687
|
try {
|
|
729
688
|
r.error(t);
|
|
730
689
|
} catch (n) {
|
|
731
|
-
|
|
690
|
+
ge(n);
|
|
732
691
|
}
|
|
733
692
|
else
|
|
734
|
-
|
|
693
|
+
ge(t);
|
|
735
694
|
}, e.prototype.complete = function() {
|
|
736
695
|
var t = this.partialObserver;
|
|
737
696
|
if (t.complete)
|
|
738
697
|
try {
|
|
739
698
|
t.complete();
|
|
740
699
|
} catch (r) {
|
|
741
|
-
|
|
700
|
+
ge(r);
|
|
742
701
|
}
|
|
743
702
|
}, e;
|
|
744
|
-
}(),
|
|
745
|
-
|
|
703
|
+
}(), ze = function(e) {
|
|
704
|
+
C(t, e);
|
|
746
705
|
function t(r, n, i) {
|
|
747
706
|
var o = e.call(this) || this, l;
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
};
|
|
754
|
-
else {
|
|
755
|
-
var u;
|
|
756
|
-
o && Kt.useDeprecatedNextContext ? (u = Object.create(r), u.unsubscribe = function() {
|
|
757
|
-
return o.unsubscribe();
|
|
758
|
-
}, l = {
|
|
759
|
-
next: r.next && Me(r.next, u),
|
|
760
|
-
error: r.error && Me(r.error, u),
|
|
761
|
-
complete: r.complete && Me(r.complete, u)
|
|
762
|
-
}) : l = r;
|
|
763
|
-
}
|
|
764
|
-
return o.destination = new mn(l), o;
|
|
707
|
+
return N(r) || !r ? l = {
|
|
708
|
+
next: r ?? void 0,
|
|
709
|
+
error: n ?? void 0,
|
|
710
|
+
complete: i ?? void 0
|
|
711
|
+
} : l = r, o.destination = new Yr(l), o;
|
|
765
712
|
}
|
|
766
713
|
return t;
|
|
767
|
-
}(
|
|
768
|
-
function
|
|
769
|
-
|
|
714
|
+
}(Xt);
|
|
715
|
+
function ge(e) {
|
|
716
|
+
Jr(e);
|
|
770
717
|
}
|
|
771
|
-
function
|
|
718
|
+
function Kr(e) {
|
|
772
719
|
throw e;
|
|
773
720
|
}
|
|
774
|
-
var
|
|
721
|
+
var en = {
|
|
775
722
|
closed: !0,
|
|
776
|
-
next:
|
|
777
|
-
error:
|
|
778
|
-
complete:
|
|
779
|
-
},
|
|
723
|
+
next: ft,
|
|
724
|
+
error: Kr,
|
|
725
|
+
complete: ft
|
|
726
|
+
}, tn = function() {
|
|
780
727
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
781
728
|
}();
|
|
782
|
-
function
|
|
729
|
+
function rn(e) {
|
|
783
730
|
return e;
|
|
784
731
|
}
|
|
785
|
-
function
|
|
786
|
-
return e.length === 0 ?
|
|
732
|
+
function nn(e) {
|
|
733
|
+
return e.length === 0 ? rn : e.length === 1 ? e[0] : function(r) {
|
|
787
734
|
return e.reduce(function(n, i) {
|
|
788
735
|
return i(n);
|
|
789
736
|
}, r);
|
|
790
737
|
};
|
|
791
738
|
}
|
|
792
|
-
var
|
|
739
|
+
var ct = function() {
|
|
793
740
|
function e(t) {
|
|
794
741
|
t && (this._subscribe = t);
|
|
795
742
|
}
|
|
@@ -797,10 +744,10 @@ var yt = function() {
|
|
|
797
744
|
var r = new e();
|
|
798
745
|
return r.source = this, r.operator = t, r;
|
|
799
746
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
800
|
-
var i = this, o =
|
|
801
|
-
return
|
|
802
|
-
var l = i,
|
|
803
|
-
o.add(
|
|
747
|
+
var i = this, o = sn(t) ? t : new ze(t, r, n);
|
|
748
|
+
return ve(function() {
|
|
749
|
+
var l = i, h = l.operator, f = l.source;
|
|
750
|
+
o.add(h ? h.call(o, f) : f ? i._subscribe(o) : i._trySubscribe(o));
|
|
804
751
|
}), o;
|
|
805
752
|
}, e.prototype._trySubscribe = function(t) {
|
|
806
753
|
try {
|
|
@@ -810,11 +757,11 @@ var yt = function() {
|
|
|
810
757
|
}
|
|
811
758
|
}, e.prototype.forEach = function(t, r) {
|
|
812
759
|
var n = this;
|
|
813
|
-
return r =
|
|
814
|
-
var l = new
|
|
815
|
-
next: function(
|
|
760
|
+
return r = mt(r), new r(function(i, o) {
|
|
761
|
+
var l = new ze({
|
|
762
|
+
next: function(h) {
|
|
816
763
|
try {
|
|
817
|
-
t(
|
|
764
|
+
t(h);
|
|
818
765
|
} catch (f) {
|
|
819
766
|
o(f), l.unsubscribe();
|
|
820
767
|
}
|
|
@@ -827,15 +774,15 @@ var yt = function() {
|
|
|
827
774
|
}, e.prototype._subscribe = function(t) {
|
|
828
775
|
var r;
|
|
829
776
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
830
|
-
}, e.prototype[
|
|
777
|
+
}, e.prototype[tn] = function() {
|
|
831
778
|
return this;
|
|
832
779
|
}, e.prototype.pipe = function() {
|
|
833
780
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
834
781
|
t[r] = arguments[r];
|
|
835
|
-
return
|
|
782
|
+
return nn(t)(this);
|
|
836
783
|
}, e.prototype.toPromise = function(t) {
|
|
837
784
|
var r = this;
|
|
838
|
-
return t =
|
|
785
|
+
return t = mt(t), new t(function(n, i) {
|
|
839
786
|
var o;
|
|
840
787
|
r.subscribe(function(l) {
|
|
841
788
|
return o = l;
|
|
@@ -849,48 +796,48 @@ var yt = function() {
|
|
|
849
796
|
return new e(t);
|
|
850
797
|
}, e;
|
|
851
798
|
}();
|
|
852
|
-
function
|
|
799
|
+
function mt(e) {
|
|
853
800
|
var t;
|
|
854
|
-
return (t = e
|
|
801
|
+
return (t = e ?? Qr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
855
802
|
}
|
|
856
|
-
function
|
|
857
|
-
return e &&
|
|
803
|
+
function on(e) {
|
|
804
|
+
return e && N(e.next) && N(e.error) && N(e.complete);
|
|
858
805
|
}
|
|
859
|
-
function
|
|
860
|
-
return e && e instanceof
|
|
806
|
+
function sn(e) {
|
|
807
|
+
return e && e instanceof Xt || on(e) && Vt(e);
|
|
861
808
|
}
|
|
862
|
-
var
|
|
809
|
+
var an = $t(function(e) {
|
|
863
810
|
return function() {
|
|
864
811
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
865
812
|
};
|
|
866
|
-
}),
|
|
867
|
-
|
|
813
|
+
}), Wt = function(e) {
|
|
814
|
+
C(t, e);
|
|
868
815
|
function t() {
|
|
869
816
|
var r = e.call(this) || this;
|
|
870
817
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
871
818
|
}
|
|
872
819
|
return t.prototype.lift = function(r) {
|
|
873
|
-
var n = new
|
|
820
|
+
var n = new pt(this, this);
|
|
874
821
|
return n.operator = r, n;
|
|
875
822
|
}, t.prototype._throwIfClosed = function() {
|
|
876
823
|
if (this.closed)
|
|
877
|
-
throw new
|
|
824
|
+
throw new an();
|
|
878
825
|
}, t.prototype.next = function(r) {
|
|
879
826
|
var n = this;
|
|
880
|
-
|
|
827
|
+
ve(function() {
|
|
881
828
|
var i, o;
|
|
882
829
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
883
830
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
884
831
|
try {
|
|
885
|
-
for (var l =
|
|
886
|
-
var f =
|
|
832
|
+
for (var l = Ve(n.currentObservers), h = l.next(); !h.done; h = l.next()) {
|
|
833
|
+
var f = h.value;
|
|
887
834
|
f.next(r);
|
|
888
835
|
}
|
|
889
|
-
} catch (
|
|
890
|
-
i = { error:
|
|
836
|
+
} catch (a) {
|
|
837
|
+
i = { error: a };
|
|
891
838
|
} finally {
|
|
892
839
|
try {
|
|
893
|
-
|
|
840
|
+
h && !h.done && (o = l.return) && o.call(l);
|
|
894
841
|
} finally {
|
|
895
842
|
if (i) throw i.error;
|
|
896
843
|
}
|
|
@@ -899,7 +846,7 @@ var En = qt(function(e) {
|
|
|
899
846
|
});
|
|
900
847
|
}, t.prototype.error = function(r) {
|
|
901
848
|
var n = this;
|
|
902
|
-
|
|
849
|
+
ve(function() {
|
|
903
850
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
904
851
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
905
852
|
for (var i = n.observers; i.length; )
|
|
@@ -908,7 +855,7 @@ var En = qt(function(e) {
|
|
|
908
855
|
});
|
|
909
856
|
}, t.prototype.complete = function() {
|
|
910
857
|
var r = this;
|
|
911
|
-
|
|
858
|
+
ve(function() {
|
|
912
859
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
913
860
|
r.isStopped = !0;
|
|
914
861
|
for (var n = r.observers; n.length; )
|
|
@@ -929,21 +876,21 @@ var En = qt(function(e) {
|
|
|
929
876
|
}, t.prototype._subscribe = function(r) {
|
|
930
877
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
931
878
|
}, t.prototype._innerSubscribe = function(r) {
|
|
932
|
-
var n = this, i = this, o = i.hasError, l = i.isStopped,
|
|
933
|
-
return o || l ?
|
|
934
|
-
n.currentObservers = null,
|
|
879
|
+
var n = this, i = this, o = i.hasError, l = i.isStopped, h = i.observers;
|
|
880
|
+
return o || l ? jt : (this.currentObservers = null, h.push(r), new Te(function() {
|
|
881
|
+
n.currentObservers = null, We(h, r);
|
|
935
882
|
}));
|
|
936
883
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
937
884
|
var n = this, i = n.hasError, o = n.thrownError, l = n.isStopped;
|
|
938
885
|
i ? r.error(o) : l && r.complete();
|
|
939
886
|
}, t.prototype.asObservable = function() {
|
|
940
|
-
var r = new
|
|
887
|
+
var r = new ct();
|
|
941
888
|
return r.source = this, r;
|
|
942
889
|
}, t.create = function(r, n) {
|
|
943
|
-
return new
|
|
890
|
+
return new pt(r, n);
|
|
944
891
|
}, t;
|
|
945
|
-
}(
|
|
946
|
-
|
|
892
|
+
}(ct), pt = function(e) {
|
|
893
|
+
C(t, e);
|
|
947
894
|
function t(r, n) {
|
|
948
895
|
var i = e.call(this) || this;
|
|
949
896
|
return i.destination = r, i.source = n, i;
|
|
@@ -959,230 +906,232 @@ var En = qt(function(e) {
|
|
|
959
906
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
960
907
|
}, t.prototype._subscribe = function(r) {
|
|
961
908
|
var n, i;
|
|
962
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
909
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : jt;
|
|
963
910
|
}, t;
|
|
964
|
-
}(
|
|
911
|
+
}(Wt), zt = {
|
|
965
912
|
now: function() {
|
|
966
|
-
return (
|
|
913
|
+
return (zt.delegate || Date).now();
|
|
967
914
|
},
|
|
968
915
|
delegate: void 0
|
|
969
|
-
},
|
|
970
|
-
|
|
916
|
+
}, ln = function(e) {
|
|
917
|
+
C(t, e);
|
|
971
918
|
function t(r, n, i) {
|
|
972
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
919
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = zt);
|
|
973
920
|
var o = e.call(this) || this;
|
|
974
921
|
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
|
975
922
|
}
|
|
976
923
|
return t.prototype.next = function(r) {
|
|
977
|
-
var n = this, i = n.isStopped, o = n._buffer, l = n._infiniteTimeWindow,
|
|
978
|
-
i || (o.push(r), !l && o.push(
|
|
924
|
+
var n = this, i = n.isStopped, o = n._buffer, l = n._infiniteTimeWindow, h = n._timestampProvider, f = n._windowTime;
|
|
925
|
+
i || (o.push(r), !l && o.push(h.now() + f)), this._trimBuffer(), e.prototype.next.call(this, r);
|
|
979
926
|
}, t.prototype._subscribe = function(r) {
|
|
980
927
|
this._throwIfClosed(), this._trimBuffer();
|
|
981
|
-
for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, l = i._buffer,
|
|
982
|
-
r.next(
|
|
928
|
+
for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, l = i._buffer, h = l.slice(), f = 0; f < h.length && !r.closed; f += o ? 1 : 2)
|
|
929
|
+
r.next(h[f]);
|
|
983
930
|
return this._checkFinalizedStatuses(r), n;
|
|
984
931
|
}, t.prototype._trimBuffer = function() {
|
|
985
|
-
var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, l = r._infiniteTimeWindow,
|
|
986
|
-
if (n < 1 / 0 &&
|
|
987
|
-
for (var f = i.now(),
|
|
988
|
-
|
|
989
|
-
|
|
932
|
+
var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, l = r._infiniteTimeWindow, h = (l ? 1 : 2) * n;
|
|
933
|
+
if (n < 1 / 0 && h < o.length && o.splice(0, o.length - h), !l) {
|
|
934
|
+
for (var f = i.now(), a = 0, s = 1; s < o.length && o[s] <= f; s += 2)
|
|
935
|
+
a = s;
|
|
936
|
+
a && o.splice(0, a + 1);
|
|
990
937
|
}
|
|
991
938
|
}, t;
|
|
992
|
-
}(
|
|
993
|
-
const
|
|
994
|
-
if (
|
|
995
|
-
const r = new
|
|
996
|
-
|
|
939
|
+
}(Wt);
|
|
940
|
+
const dt = [], bt = {}, un = (e, t = 0) => {
|
|
941
|
+
if (dt.indexOf(e) == -1) {
|
|
942
|
+
const r = new ln(t);
|
|
943
|
+
bt[e] = r, dt.push(e);
|
|
997
944
|
}
|
|
998
|
-
return
|
|
999
|
-
},
|
|
1000
|
-
function
|
|
945
|
+
return bt[e];
|
|
946
|
+
}, W = [];
|
|
947
|
+
function hn(e, t) {
|
|
1001
948
|
return {
|
|
1002
|
-
subscribe:
|
|
949
|
+
subscribe: Ae(e, t).subscribe
|
|
1003
950
|
};
|
|
1004
951
|
}
|
|
1005
|
-
function
|
|
952
|
+
function Ae(e, t = O) {
|
|
1006
953
|
let r;
|
|
1007
954
|
const n = /* @__PURE__ */ new Set();
|
|
1008
|
-
function i(
|
|
1009
|
-
if (
|
|
1010
|
-
const f = !
|
|
1011
|
-
for (const
|
|
1012
|
-
|
|
955
|
+
function i(h) {
|
|
956
|
+
if (Rt(e, h) && (e = h, r)) {
|
|
957
|
+
const f = !W.length;
|
|
958
|
+
for (const a of n)
|
|
959
|
+
a[1](), W.push(a, e);
|
|
1013
960
|
if (f) {
|
|
1014
|
-
for (let
|
|
1015
|
-
|
|
1016
|
-
|
|
961
|
+
for (let a = 0; a < W.length; a += 2)
|
|
962
|
+
W[a][0](W[a + 1]);
|
|
963
|
+
W.length = 0;
|
|
1017
964
|
}
|
|
1018
965
|
}
|
|
1019
966
|
}
|
|
1020
|
-
function o(
|
|
1021
|
-
i(
|
|
967
|
+
function o(h) {
|
|
968
|
+
i(h(e));
|
|
1022
969
|
}
|
|
1023
|
-
function l(
|
|
1024
|
-
const
|
|
1025
|
-
return n.add(
|
|
1026
|
-
n.delete(
|
|
970
|
+
function l(h, f = O) {
|
|
971
|
+
const a = [h, f];
|
|
972
|
+
return n.add(a), n.size === 1 && (r = t(i, o) || O), h(e), () => {
|
|
973
|
+
n.delete(a), n.size === 0 && r && (r(), r = null);
|
|
1027
974
|
};
|
|
1028
975
|
}
|
|
1029
976
|
return { set: i, update: o, subscribe: l };
|
|
1030
977
|
}
|
|
1031
|
-
function
|
|
978
|
+
function ne(e, t, r) {
|
|
1032
979
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1033
980
|
if (!i.every(Boolean))
|
|
1034
981
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1035
982
|
const o = t.length < 2;
|
|
1036
|
-
return
|
|
983
|
+
return hn(r, (l, h) => {
|
|
1037
984
|
let f = !1;
|
|
1038
|
-
const
|
|
1039
|
-
let
|
|
985
|
+
const a = [];
|
|
986
|
+
let s = 0, c = O;
|
|
1040
987
|
const m = () => {
|
|
1041
|
-
if (
|
|
988
|
+
if (s)
|
|
1042
989
|
return;
|
|
1043
990
|
c();
|
|
1044
|
-
const S = t(n ?
|
|
1045
|
-
o ? l(S) : c =
|
|
1046
|
-
},
|
|
1047
|
-
(S, E) =>
|
|
991
|
+
const S = t(n ? a[0] : a, l, h);
|
|
992
|
+
o ? l(S) : c = rt(S) ? S : O;
|
|
993
|
+
}, y = i.map(
|
|
994
|
+
(S, E) => Pr(
|
|
1048
995
|
S,
|
|
1049
|
-
(
|
|
1050
|
-
|
|
996
|
+
(w) => {
|
|
997
|
+
a[E] = w, s &= ~(1 << E), f && m();
|
|
1051
998
|
},
|
|
1052
999
|
() => {
|
|
1053
|
-
|
|
1000
|
+
s |= 1 << E;
|
|
1054
1001
|
}
|
|
1055
1002
|
)
|
|
1056
1003
|
);
|
|
1057
1004
|
return f = !0, m(), function() {
|
|
1058
|
-
|
|
1005
|
+
he(y), c(), f = !1;
|
|
1059
1006
|
};
|
|
1060
1007
|
});
|
|
1061
1008
|
}
|
|
1062
|
-
function
|
|
1063
|
-
return e
|
|
1009
|
+
function fn(e) {
|
|
1010
|
+
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1064
1011
|
}
|
|
1065
|
-
var
|
|
1066
|
-
return
|
|
1012
|
+
var cn = function(t) {
|
|
1013
|
+
return mn(t) && !pn(t);
|
|
1067
1014
|
};
|
|
1068
|
-
function
|
|
1015
|
+
function mn(e) {
|
|
1069
1016
|
return !!e && typeof e == "object";
|
|
1070
1017
|
}
|
|
1071
|
-
function
|
|
1018
|
+
function pn(e) {
|
|
1072
1019
|
var t = Object.prototype.toString.call(e);
|
|
1073
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1020
|
+
return t === "[object RegExp]" || t === "[object Date]" || gn(e);
|
|
1074
1021
|
}
|
|
1075
|
-
var
|
|
1076
|
-
function
|
|
1077
|
-
return e.$$typeof ===
|
|
1022
|
+
var dn = typeof Symbol == "function" && Symbol.for, bn = dn ? Symbol.for("react.element") : 60103;
|
|
1023
|
+
function gn(e) {
|
|
1024
|
+
return e.$$typeof === bn;
|
|
1078
1025
|
}
|
|
1079
|
-
function
|
|
1026
|
+
function _n(e) {
|
|
1080
1027
|
return Array.isArray(e) ? [] : {};
|
|
1081
1028
|
}
|
|
1082
|
-
function
|
|
1083
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1029
|
+
function le(e, t) {
|
|
1030
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? q(_n(e), e, t) : e;
|
|
1084
1031
|
}
|
|
1085
|
-
function
|
|
1032
|
+
function yn(e, t, r) {
|
|
1086
1033
|
return e.concat(t).map(function(n) {
|
|
1087
|
-
return
|
|
1034
|
+
return le(n, r);
|
|
1088
1035
|
});
|
|
1089
1036
|
}
|
|
1090
|
-
function
|
|
1037
|
+
function vn(e, t) {
|
|
1091
1038
|
if (!t.customMerge)
|
|
1092
|
-
return
|
|
1039
|
+
return q;
|
|
1093
1040
|
var r = t.customMerge(e);
|
|
1094
|
-
return typeof r == "function" ? r :
|
|
1041
|
+
return typeof r == "function" ? r : q;
|
|
1095
1042
|
}
|
|
1096
|
-
function
|
|
1043
|
+
function En(e) {
|
|
1097
1044
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1098
1045
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1099
1046
|
}) : [];
|
|
1100
1047
|
}
|
|
1101
|
-
function
|
|
1102
|
-
return Object.keys(e).concat(
|
|
1048
|
+
function gt(e) {
|
|
1049
|
+
return Object.keys(e).concat(En(e));
|
|
1103
1050
|
}
|
|
1104
|
-
function
|
|
1051
|
+
function Zt(e, t) {
|
|
1105
1052
|
try {
|
|
1106
1053
|
return t in e;
|
|
1107
|
-
} catch
|
|
1054
|
+
} catch {
|
|
1108
1055
|
return !1;
|
|
1109
1056
|
}
|
|
1110
1057
|
}
|
|
1111
|
-
function
|
|
1112
|
-
return
|
|
1058
|
+
function In(e, t) {
|
|
1059
|
+
return Zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1113
1060
|
}
|
|
1114
|
-
function
|
|
1061
|
+
function Sn(e, t, r) {
|
|
1115
1062
|
var n = {};
|
|
1116
|
-
return r.isMergeableObject(e) &&
|
|
1117
|
-
n[i] =
|
|
1118
|
-
}),
|
|
1119
|
-
|
|
1063
|
+
return r.isMergeableObject(e) && gt(e).forEach(function(i) {
|
|
1064
|
+
n[i] = le(e[i], r);
|
|
1065
|
+
}), gt(t).forEach(function(i) {
|
|
1066
|
+
In(e, i) || (Zt(e, i) && r.isMergeableObject(t[i]) ? n[i] = vn(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
|
|
1120
1067
|
}), n;
|
|
1121
1068
|
}
|
|
1122
|
-
function
|
|
1123
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1069
|
+
function q(e, t, r) {
|
|
1070
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || yn, r.isMergeableObject = r.isMergeableObject || cn, r.cloneUnlessOtherwiseSpecified = le;
|
|
1124
1071
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1125
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1072
|
+
return o ? n ? r.arrayMerge(e, t, r) : Sn(e, t, r) : le(t, r);
|
|
1126
1073
|
}
|
|
1127
|
-
|
|
1074
|
+
q.all = function(t, r) {
|
|
1128
1075
|
if (!Array.isArray(t))
|
|
1129
1076
|
throw new Error("first argument should be an array");
|
|
1130
1077
|
return t.reduce(function(n, i) {
|
|
1131
|
-
return
|
|
1078
|
+
return q(n, i, r);
|
|
1132
1079
|
}, {});
|
|
1133
1080
|
};
|
|
1134
|
-
var
|
|
1135
|
-
const
|
|
1136
|
-
function
|
|
1137
|
-
var r = t && t.cache ? t.cache :
|
|
1081
|
+
var Hn = q, Tn = Hn;
|
|
1082
|
+
const An = /* @__PURE__ */ fn(Tn);
|
|
1083
|
+
function Ne(e, t) {
|
|
1084
|
+
var r = t && t.cache ? t.cache : On, n = t && t.serializer ? t.serializer : Bn, i = t && t.strategy ? t.strategy : Ln;
|
|
1138
1085
|
return i(e, {
|
|
1139
1086
|
cache: r,
|
|
1140
1087
|
serializer: n
|
|
1141
1088
|
});
|
|
1142
1089
|
}
|
|
1143
|
-
function
|
|
1090
|
+
function Fn(e) {
|
|
1144
1091
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1145
1092
|
}
|
|
1146
|
-
function
|
|
1147
|
-
var i =
|
|
1148
|
-
return typeof o
|
|
1093
|
+
function Qt(e, t, r, n) {
|
|
1094
|
+
var i = Fn(n) ? n : r(n), o = t.get(i);
|
|
1095
|
+
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1149
1096
|
}
|
|
1150
|
-
function
|
|
1097
|
+
function qt(e, t, r) {
|
|
1151
1098
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1152
|
-
return typeof o
|
|
1099
|
+
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1153
1100
|
}
|
|
1154
|
-
function
|
|
1101
|
+
function it(e, t, r, n, i) {
|
|
1155
1102
|
return r.bind(t, e, n, i);
|
|
1156
1103
|
}
|
|
1157
|
-
function
|
|
1158
|
-
var r = e.length === 1 ?
|
|
1159
|
-
return
|
|
1104
|
+
function Ln(e, t) {
|
|
1105
|
+
var r = e.length === 1 ? Qt : qt;
|
|
1106
|
+
return it(e, this, r, t.cache.create(), t.serializer);
|
|
1160
1107
|
}
|
|
1161
|
-
function
|
|
1162
|
-
return
|
|
1108
|
+
function Pn(e, t) {
|
|
1109
|
+
return it(e, this, qt, t.cache.create(), t.serializer);
|
|
1163
1110
|
}
|
|
1164
|
-
function
|
|
1165
|
-
return
|
|
1111
|
+
function xn(e, t) {
|
|
1112
|
+
return it(e, this, Qt, t.cache.create(), t.serializer);
|
|
1166
1113
|
}
|
|
1167
|
-
var
|
|
1114
|
+
var Bn = function() {
|
|
1168
1115
|
return JSON.stringify(arguments);
|
|
1169
|
-
}
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1116
|
+
}, wn = (
|
|
1117
|
+
/** @class */
|
|
1118
|
+
function() {
|
|
1119
|
+
function e() {
|
|
1120
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1121
|
+
}
|
|
1122
|
+
return e.prototype.get = function(t) {
|
|
1123
|
+
return this.cache[t];
|
|
1124
|
+
}, e.prototype.set = function(t, r) {
|
|
1125
|
+
this.cache[t] = r;
|
|
1126
|
+
}, e;
|
|
1127
|
+
}()
|
|
1128
|
+
), On = {
|
|
1180
1129
|
create: function() {
|
|
1181
|
-
return new
|
|
1130
|
+
return new wn();
|
|
1182
1131
|
}
|
|
1183
|
-
},
|
|
1184
|
-
variadic:
|
|
1185
|
-
monadic:
|
|
1132
|
+
}, Ce = {
|
|
1133
|
+
variadic: Pn,
|
|
1134
|
+
monadic: xn
|
|
1186
1135
|
}, b;
|
|
1187
1136
|
(function(e) {
|
|
1188
1137
|
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";
|
|
@@ -1191,47 +1140,47 @@ var T;
|
|
|
1191
1140
|
(function(e) {
|
|
1192
1141
|
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";
|
|
1193
1142
|
})(T || (T = {}));
|
|
1194
|
-
var
|
|
1143
|
+
var J;
|
|
1195
1144
|
(function(e) {
|
|
1196
1145
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1197
|
-
})(
|
|
1198
|
-
function
|
|
1146
|
+
})(J || (J = {}));
|
|
1147
|
+
function _t(e) {
|
|
1199
1148
|
return e.type === T.literal;
|
|
1200
1149
|
}
|
|
1201
|
-
function
|
|
1150
|
+
function kn(e) {
|
|
1202
1151
|
return e.type === T.argument;
|
|
1203
1152
|
}
|
|
1204
|
-
function
|
|
1153
|
+
function Jt(e) {
|
|
1205
1154
|
return e.type === T.number;
|
|
1206
1155
|
}
|
|
1207
|
-
function
|
|
1156
|
+
function Yt(e) {
|
|
1208
1157
|
return e.type === T.date;
|
|
1209
1158
|
}
|
|
1210
|
-
function
|
|
1159
|
+
function Kt(e) {
|
|
1211
1160
|
return e.type === T.time;
|
|
1212
1161
|
}
|
|
1213
|
-
function
|
|
1162
|
+
function er(e) {
|
|
1214
1163
|
return e.type === T.select;
|
|
1215
1164
|
}
|
|
1216
|
-
function
|
|
1165
|
+
function tr(e) {
|
|
1217
1166
|
return e.type === T.plural;
|
|
1218
1167
|
}
|
|
1219
|
-
function
|
|
1168
|
+
function Nn(e) {
|
|
1220
1169
|
return e.type === T.pound;
|
|
1221
1170
|
}
|
|
1222
|
-
function
|
|
1171
|
+
function rr(e) {
|
|
1223
1172
|
return e.type === T.tag;
|
|
1224
1173
|
}
|
|
1225
|
-
function
|
|
1226
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1174
|
+
function nr(e) {
|
|
1175
|
+
return !!(e && typeof e == "object" && e.type === J.number);
|
|
1227
1176
|
}
|
|
1228
|
-
function
|
|
1229
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1177
|
+
function Ze(e) {
|
|
1178
|
+
return !!(e && typeof e == "object" && e.type === J.dateTime);
|
|
1230
1179
|
}
|
|
1231
|
-
var
|
|
1232
|
-
function
|
|
1180
|
+
var ir = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Cn = /(?:[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;
|
|
1181
|
+
function Mn(e) {
|
|
1233
1182
|
var t = {};
|
|
1234
|
-
return e.replace(
|
|
1183
|
+
return e.replace(Cn, function(r) {
|
|
1235
1184
|
var n = r.length;
|
|
1236
1185
|
switch (r[0]) {
|
|
1237
1186
|
case "G":
|
|
@@ -1320,36 +1269,36 @@ function qn(e) {
|
|
|
1320
1269
|
return "";
|
|
1321
1270
|
}), t;
|
|
1322
1271
|
}
|
|
1323
|
-
var
|
|
1324
|
-
function
|
|
1272
|
+
var Dn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1273
|
+
function Rn(e) {
|
|
1325
1274
|
if (e.length === 0)
|
|
1326
1275
|
throw new Error("Number skeleton cannot be empty");
|
|
1327
|
-
for (var t = e.split(
|
|
1276
|
+
for (var t = e.split(Dn).filter(function(m) {
|
|
1328
1277
|
return m.length > 0;
|
|
1329
1278
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1330
1279
|
var o = i[n], l = o.split("/");
|
|
1331
1280
|
if (l.length === 0)
|
|
1332
1281
|
throw new Error("Invalid number skeleton");
|
|
1333
|
-
for (var
|
|
1334
|
-
var c = a
|
|
1282
|
+
for (var h = l[0], f = l.slice(1), a = 0, s = f; a < s.length; a++) {
|
|
1283
|
+
var c = s[a];
|
|
1335
1284
|
if (c.length === 0)
|
|
1336
1285
|
throw new Error("Invalid number skeleton");
|
|
1337
1286
|
}
|
|
1338
|
-
r.push({ stem:
|
|
1287
|
+
r.push({ stem: h, options: f });
|
|
1339
1288
|
}
|
|
1340
1289
|
return r;
|
|
1341
1290
|
}
|
|
1342
|
-
function
|
|
1291
|
+
function Un(e) {
|
|
1343
1292
|
return e.replace(/^(.*?)-/, "");
|
|
1344
1293
|
}
|
|
1345
|
-
var
|
|
1346
|
-
function
|
|
1294
|
+
var yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, or = /^(@+)?(\+|#+)?[rs]?$/g, Gn = /(\*)(0+)|(#+)(0+)|(0+)/g, sr = /^(0+)$/;
|
|
1295
|
+
function vt(e) {
|
|
1347
1296
|
var t = {};
|
|
1348
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1297
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(or, function(r, n, i) {
|
|
1349
1298
|
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)), "";
|
|
1350
1299
|
}), t;
|
|
1351
1300
|
}
|
|
1352
|
-
function
|
|
1301
|
+
function ar(e) {
|
|
1353
1302
|
switch (e) {
|
|
1354
1303
|
case "sign-auto":
|
|
1355
1304
|
return {
|
|
@@ -1389,7 +1338,7 @@ function br(e) {
|
|
|
1389
1338
|
};
|
|
1390
1339
|
}
|
|
1391
1340
|
}
|
|
1392
|
-
function
|
|
1341
|
+
function $n(e) {
|
|
1393
1342
|
var t;
|
|
1394
1343
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1395
1344
|
notation: "engineering"
|
|
@@ -1397,17 +1346,17 @@ function ti(e) {
|
|
|
1397
1346
|
notation: "scientific"
|
|
1398
1347
|
}, e = e.slice(1)), t) {
|
|
1399
1348
|
var r = e.slice(0, 2);
|
|
1400
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1349
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !sr.test(e))
|
|
1401
1350
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1402
1351
|
t.minimumIntegerDigits = e.length;
|
|
1403
1352
|
}
|
|
1404
1353
|
return t;
|
|
1405
1354
|
}
|
|
1406
|
-
function
|
|
1407
|
-
var t = {}, r =
|
|
1355
|
+
function Et(e) {
|
|
1356
|
+
var t = {}, r = ar(e);
|
|
1408
1357
|
return r || t;
|
|
1409
1358
|
}
|
|
1410
|
-
function
|
|
1359
|
+
function jn(e) {
|
|
1411
1360
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1412
1361
|
var i = n[r];
|
|
1413
1362
|
switch (i.stem) {
|
|
@@ -1431,7 +1380,7 @@ function ri(e) {
|
|
|
1431
1380
|
continue;
|
|
1432
1381
|
case "measure-unit":
|
|
1433
1382
|
case "unit":
|
|
1434
|
-
t.style = "unit", t.unit =
|
|
1383
|
+
t.style = "unit", t.unit = Un(i.options[0]);
|
|
1435
1384
|
continue;
|
|
1436
1385
|
case "compact-short":
|
|
1437
1386
|
case "K":
|
|
@@ -1442,13 +1391,13 @@ function ri(e) {
|
|
|
1442
1391
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1443
1392
|
continue;
|
|
1444
1393
|
case "scientific":
|
|
1445
|
-
t =
|
|
1446
|
-
return
|
|
1394
|
+
t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(f, a) {
|
|
1395
|
+
return v(v({}, f), Et(a));
|
|
1447
1396
|
}, {}));
|
|
1448
1397
|
continue;
|
|
1449
1398
|
case "engineering":
|
|
1450
|
-
t =
|
|
1451
|
-
return
|
|
1399
|
+
t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(f, a) {
|
|
1400
|
+
return v(v({}, f), Et(a));
|
|
1452
1401
|
}, {}));
|
|
1453
1402
|
continue;
|
|
1454
1403
|
case "notation-simple":
|
|
@@ -1493,45 +1442,45 @@ function ri(e) {
|
|
|
1493
1442
|
case "integer-width":
|
|
1494
1443
|
if (i.options.length > 1)
|
|
1495
1444
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1496
|
-
i.options[0].replace(
|
|
1497
|
-
if (
|
|
1498
|
-
t.minimumIntegerDigits =
|
|
1445
|
+
i.options[0].replace(Gn, function(f, a, s, c, m, y) {
|
|
1446
|
+
if (a)
|
|
1447
|
+
t.minimumIntegerDigits = s.length;
|
|
1499
1448
|
else {
|
|
1500
1449
|
if (c && m)
|
|
1501
1450
|
throw new Error("We currently do not support maximum integer digits");
|
|
1502
|
-
if (
|
|
1451
|
+
if (y)
|
|
1503
1452
|
throw new Error("We currently do not support exact integer digits");
|
|
1504
1453
|
}
|
|
1505
1454
|
return "";
|
|
1506
1455
|
});
|
|
1507
1456
|
continue;
|
|
1508
1457
|
}
|
|
1509
|
-
if (
|
|
1458
|
+
if (sr.test(i.stem)) {
|
|
1510
1459
|
t.minimumIntegerDigits = i.stem.length;
|
|
1511
1460
|
continue;
|
|
1512
1461
|
}
|
|
1513
|
-
if (
|
|
1462
|
+
if (yt.test(i.stem)) {
|
|
1514
1463
|
if (i.options.length > 1)
|
|
1515
1464
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1516
|
-
i.stem.replace(
|
|
1517
|
-
return
|
|
1465
|
+
i.stem.replace(yt, function(f, a, s, c, m, y) {
|
|
1466
|
+
return s === "*" ? t.minimumFractionDigits = a.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : m && y ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + y.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
|
|
1518
1467
|
});
|
|
1519
1468
|
var o = i.options[0];
|
|
1520
|
-
o === "w" ? t =
|
|
1469
|
+
o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), vt(o)));
|
|
1521
1470
|
continue;
|
|
1522
1471
|
}
|
|
1523
|
-
if (
|
|
1524
|
-
t =
|
|
1472
|
+
if (or.test(i.stem)) {
|
|
1473
|
+
t = v(v({}, t), vt(i.stem));
|
|
1525
1474
|
continue;
|
|
1526
1475
|
}
|
|
1527
|
-
var l =
|
|
1528
|
-
l && (t =
|
|
1529
|
-
var
|
|
1530
|
-
|
|
1476
|
+
var l = ar(i.stem);
|
|
1477
|
+
l && (t = v(v({}, t), l));
|
|
1478
|
+
var h = $n(i.stem);
|
|
1479
|
+
h && (t = v(v({}, t), h));
|
|
1531
1480
|
}
|
|
1532
1481
|
return t;
|
|
1533
1482
|
}
|
|
1534
|
-
var
|
|
1483
|
+
var _e = {
|
|
1535
1484
|
"001": [
|
|
1536
1485
|
"H",
|
|
1537
1486
|
"h"
|
|
@@ -2946,22 +2895,22 @@ var ve = {
|
|
|
2946
2895
|
"h"
|
|
2947
2896
|
]
|
|
2948
2897
|
};
|
|
2949
|
-
function
|
|
2898
|
+
function Vn(e, t) {
|
|
2950
2899
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2951
2900
|
var i = e.charAt(n);
|
|
2952
2901
|
if (i === "j") {
|
|
2953
2902
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2954
2903
|
o++, n++;
|
|
2955
|
-
var l = 1 + (o & 1),
|
|
2956
|
-
for ((
|
|
2904
|
+
var l = 1 + (o & 1), h = o < 2 ? 1 : 3 + (o >> 1), f = "a", a = Xn(t);
|
|
2905
|
+
for ((a == "H" || a == "k") && (h = 0); h-- > 0; )
|
|
2957
2906
|
r += f;
|
|
2958
2907
|
for (; l-- > 0; )
|
|
2959
|
-
r =
|
|
2908
|
+
r = a + r;
|
|
2960
2909
|
} else i === "J" ? r += "H" : r += i;
|
|
2961
2910
|
}
|
|
2962
2911
|
return r;
|
|
2963
2912
|
}
|
|
2964
|
-
function
|
|
2913
|
+
function Xn(e) {
|
|
2965
2914
|
var t = e.hourCycle;
|
|
2966
2915
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2967
2916
|
e.hourCycles && // @ts-ignore
|
|
@@ -2980,23 +2929,23 @@ function ii(e) {
|
|
|
2980
2929
|
}
|
|
2981
2930
|
var r = e.language, n;
|
|
2982
2931
|
r !== "root" && (n = e.maximize().region);
|
|
2983
|
-
var i =
|
|
2932
|
+
var i = _e[n || ""] || _e[r || ""] || _e["".concat(r, "-001")] || _e["001"];
|
|
2984
2933
|
return i[0];
|
|
2985
2934
|
}
|
|
2986
|
-
var
|
|
2935
|
+
var Me, Wn = new RegExp("^".concat(ir.source, "*")), zn = new RegExp("".concat(ir.source, "*$"));
|
|
2987
2936
|
function _(e, t) {
|
|
2988
2937
|
return { start: e, end: t };
|
|
2989
2938
|
}
|
|
2990
|
-
var
|
|
2939
|
+
var Zn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Qn = !!String.fromCodePoint, qn = !!Object.fromEntries, Jn = !!String.prototype.codePointAt, Yn = !!String.prototype.trimStart, Kn = !!String.prototype.trimEnd, ei = !!Number.isSafeInteger, ti = ei ? Number.isSafeInteger : function(e) {
|
|
2991
2940
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2992
|
-
},
|
|
2941
|
+
}, Qe = !0;
|
|
2993
2942
|
try {
|
|
2994
|
-
var
|
|
2995
|
-
|
|
2996
|
-
} catch
|
|
2997
|
-
|
|
2943
|
+
var ri = ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2944
|
+
Qe = ((Me = ri.exec("a")) === null || Me === void 0 ? void 0 : Me[0]) === "a";
|
|
2945
|
+
} catch {
|
|
2946
|
+
Qe = !1;
|
|
2998
2947
|
}
|
|
2999
|
-
var
|
|
2948
|
+
var It = Zn ? (
|
|
3000
2949
|
// Native
|
|
3001
2950
|
function(t, r, n) {
|
|
3002
2951
|
return t.startsWith(r, n);
|
|
@@ -3006,7 +2955,7 @@ var Bt = ai ? (
|
|
|
3006
2955
|
function(t, r, n) {
|
|
3007
2956
|
return t.slice(n, n + r.length) === r;
|
|
3008
2957
|
}
|
|
3009
|
-
),
|
|
2958
|
+
), qe = Qn ? String.fromCodePoint : (
|
|
3010
2959
|
// IE11
|
|
3011
2960
|
function() {
|
|
3012
2961
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3018,19 +2967,19 @@ var Bt = ai ? (
|
|
|
3018
2967
|
}
|
|
3019
2968
|
return n;
|
|
3020
2969
|
}
|
|
3021
|
-
),
|
|
2970
|
+
), St = (
|
|
3022
2971
|
// native
|
|
3023
|
-
|
|
2972
|
+
qn ? Object.fromEntries : (
|
|
3024
2973
|
// Ponyfill
|
|
3025
2974
|
function(t) {
|
|
3026
2975
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
3027
|
-
var o = i[n], l = o[0],
|
|
3028
|
-
r[l] =
|
|
2976
|
+
var o = i[n], l = o[0], h = o[1];
|
|
2977
|
+
r[l] = h;
|
|
3029
2978
|
}
|
|
3030
2979
|
return r;
|
|
3031
2980
|
}
|
|
3032
2981
|
)
|
|
3033
|
-
),
|
|
2982
|
+
), lr = Jn ? (
|
|
3034
2983
|
// Native
|
|
3035
2984
|
function(t, r) {
|
|
3036
2985
|
return t.codePointAt(r);
|
|
@@ -3044,7 +2993,7 @@ var Bt = ai ? (
|
|
|
3044
2993
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3045
2994
|
}
|
|
3046
2995
|
}
|
|
3047
|
-
),
|
|
2996
|
+
), ni = Yn ? (
|
|
3048
2997
|
// Native
|
|
3049
2998
|
function(t) {
|
|
3050
2999
|
return t.trimStart();
|
|
@@ -3052,9 +3001,9 @@ var Bt = ai ? (
|
|
|
3052
3001
|
) : (
|
|
3053
3002
|
// Ponyfill
|
|
3054
3003
|
function(t) {
|
|
3055
|
-
return t.replace(
|
|
3004
|
+
return t.replace(Wn, "");
|
|
3056
3005
|
}
|
|
3057
|
-
),
|
|
3006
|
+
), ii = Kn ? (
|
|
3058
3007
|
// Native
|
|
3059
3008
|
function(t) {
|
|
3060
3009
|
return t.trimEnd();
|
|
@@ -3062,32 +3011,32 @@ var Bt = ai ? (
|
|
|
3062
3011
|
) : (
|
|
3063
3012
|
// Ponyfill
|
|
3064
3013
|
function(t) {
|
|
3065
|
-
return t.replace(
|
|
3014
|
+
return t.replace(zn, "");
|
|
3066
3015
|
}
|
|
3067
3016
|
);
|
|
3068
|
-
function
|
|
3017
|
+
function ur(e, t) {
|
|
3069
3018
|
return new RegExp(e, t);
|
|
3070
3019
|
}
|
|
3071
|
-
var
|
|
3072
|
-
if (
|
|
3073
|
-
var
|
|
3074
|
-
|
|
3020
|
+
var Je;
|
|
3021
|
+
if (Qe) {
|
|
3022
|
+
var Ht = ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3023
|
+
Je = function(t, r) {
|
|
3075
3024
|
var n;
|
|
3076
|
-
|
|
3077
|
-
var i =
|
|
3025
|
+
Ht.lastIndex = r;
|
|
3026
|
+
var i = Ht.exec(t);
|
|
3078
3027
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3079
3028
|
};
|
|
3080
3029
|
} else
|
|
3081
|
-
|
|
3030
|
+
Je = function(t, r) {
|
|
3082
3031
|
for (var n = []; ; ) {
|
|
3083
|
-
var i =
|
|
3084
|
-
if (i === void 0 ||
|
|
3032
|
+
var i = lr(t, r);
|
|
3033
|
+
if (i === void 0 || hr(i) || li(i))
|
|
3085
3034
|
break;
|
|
3086
3035
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3087
3036
|
}
|
|
3088
|
-
return
|
|
3037
|
+
return qe.apply(void 0, n);
|
|
3089
3038
|
};
|
|
3090
|
-
var
|
|
3039
|
+
var oi = (
|
|
3091
3040
|
/** @class */
|
|
3092
3041
|
function() {
|
|
3093
3042
|
function e(t, r) {
|
|
@@ -3109,16 +3058,16 @@ var _i = (
|
|
|
3109
3058
|
if (o === 125 && t > 0)
|
|
3110
3059
|
break;
|
|
3111
3060
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3112
|
-
var
|
|
3061
|
+
var h = this.clonePosition();
|
|
3113
3062
|
this.bump(), i.push({
|
|
3114
3063
|
type: T.pound,
|
|
3115
|
-
location: _(
|
|
3064
|
+
location: _(h, this.clonePosition())
|
|
3116
3065
|
});
|
|
3117
3066
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3118
3067
|
if (n)
|
|
3119
3068
|
break;
|
|
3120
3069
|
return this.error(b.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
|
|
3121
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3070
|
+
} else if (o === 60 && !this.ignoreTag && Ye(this.peek() || 0)) {
|
|
3122
3071
|
var l = this.parseTag(t, r);
|
|
3123
3072
|
if (l.err)
|
|
3124
3073
|
return l;
|
|
@@ -3149,12 +3098,12 @@ var _i = (
|
|
|
3149
3098
|
var o = this.parseMessage(t + 1, r, !0);
|
|
3150
3099
|
if (o.err)
|
|
3151
3100
|
return o;
|
|
3152
|
-
var l = o.val,
|
|
3101
|
+
var l = o.val, h = this.clonePosition();
|
|
3153
3102
|
if (this.bumpIf("</")) {
|
|
3154
|
-
if (this.isEOF() || !
|
|
3155
|
-
return this.error(b.INVALID_TAG, _(
|
|
3156
|
-
var f = this.clonePosition(),
|
|
3157
|
-
return i !==
|
|
3103
|
+
if (this.isEOF() || !Ye(this.char()))
|
|
3104
|
+
return this.error(b.INVALID_TAG, _(h, this.clonePosition()));
|
|
3105
|
+
var f = this.clonePosition(), a = this.parseTagName();
|
|
3106
|
+
return i !== a ? this.error(b.UNMATCHED_CLOSING_TAG, _(f, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3158
3107
|
val: {
|
|
3159
3108
|
type: T.tag,
|
|
3160
3109
|
value: i,
|
|
@@ -3162,14 +3111,14 @@ var _i = (
|
|
|
3162
3111
|
location: _(n, this.clonePosition())
|
|
3163
3112
|
},
|
|
3164
3113
|
err: null
|
|
3165
|
-
} : this.error(b.INVALID_TAG, _(
|
|
3114
|
+
} : this.error(b.INVALID_TAG, _(h, this.clonePosition())));
|
|
3166
3115
|
} else
|
|
3167
3116
|
return this.error(b.UNCLOSED_TAG, _(n, this.clonePosition()));
|
|
3168
3117
|
} else
|
|
3169
3118
|
return this.error(b.INVALID_TAG, _(n, this.clonePosition()));
|
|
3170
3119
|
}, e.prototype.parseTagName = function() {
|
|
3171
3120
|
var t = this.offset();
|
|
3172
|
-
for (this.bump(); !this.isEOF() &&
|
|
3121
|
+
for (this.bump(); !this.isEOF() && ai(this.char()); )
|
|
3173
3122
|
this.bump();
|
|
3174
3123
|
return this.message.slice(t, this.offset());
|
|
3175
3124
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3184,9 +3133,9 @@ var _i = (
|
|
|
3184
3133
|
i += l;
|
|
3185
3134
|
continue;
|
|
3186
3135
|
}
|
|
3187
|
-
var
|
|
3188
|
-
if (
|
|
3189
|
-
i +=
|
|
3136
|
+
var h = this.tryParseLeftAngleBracket();
|
|
3137
|
+
if (h) {
|
|
3138
|
+
i += h;
|
|
3190
3139
|
continue;
|
|
3191
3140
|
}
|
|
3192
3141
|
break;
|
|
@@ -3198,7 +3147,7 @@ var _i = (
|
|
|
3198
3147
|
};
|
|
3199
3148
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3200
3149
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3201
|
-
!
|
|
3150
|
+
!si(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3202
3151
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3203
3152
|
if (this.isEOF() || this.char() !== 39)
|
|
3204
3153
|
return null;
|
|
@@ -3232,12 +3181,12 @@ var _i = (
|
|
|
3232
3181
|
r.push(n);
|
|
3233
3182
|
this.bump();
|
|
3234
3183
|
}
|
|
3235
|
-
return
|
|
3184
|
+
return qe.apply(void 0, r);
|
|
3236
3185
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3237
3186
|
if (this.isEOF())
|
|
3238
3187
|
return null;
|
|
3239
3188
|
var n = this.char();
|
|
3240
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3189
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), qe(n));
|
|
3241
3190
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3242
3191
|
var n = this.clonePosition();
|
|
3243
3192
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3266,66 +3215,66 @@ var _i = (
|
|
|
3266
3215
|
return this.error(b.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
|
|
3267
3216
|
}
|
|
3268
3217
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3269
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3218
|
+
var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
|
|
3270
3219
|
this.bumpTo(i);
|
|
3271
3220
|
var o = this.clonePosition(), l = _(t, o);
|
|
3272
3221
|
return { value: n, location: l };
|
|
3273
3222
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3274
|
-
var o, l = this.clonePosition(),
|
|
3275
|
-
switch (
|
|
3223
|
+
var o, l = this.clonePosition(), h = this.parseIdentifierIfPossible().value, f = this.clonePosition();
|
|
3224
|
+
switch (h) {
|
|
3276
3225
|
case "":
|
|
3277
3226
|
return this.error(b.EXPECT_ARGUMENT_TYPE, _(l, f));
|
|
3278
3227
|
case "number":
|
|
3279
3228
|
case "date":
|
|
3280
3229
|
case "time": {
|
|
3281
3230
|
this.bumpSpace();
|
|
3282
|
-
var
|
|
3231
|
+
var a = null;
|
|
3283
3232
|
if (this.bumpIf(",")) {
|
|
3284
3233
|
this.bumpSpace();
|
|
3285
|
-
var
|
|
3234
|
+
var s = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3286
3235
|
if (c.err)
|
|
3287
3236
|
return c;
|
|
3288
|
-
var m =
|
|
3237
|
+
var m = ii(c.val);
|
|
3289
3238
|
if (m.length === 0)
|
|
3290
3239
|
return this.error(b.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
3291
|
-
var
|
|
3292
|
-
|
|
3240
|
+
var y = _(s, this.clonePosition());
|
|
3241
|
+
a = { style: m, styleLocation: y };
|
|
3293
3242
|
}
|
|
3294
3243
|
var S = this.tryParseArgumentClose(i);
|
|
3295
3244
|
if (S.err)
|
|
3296
3245
|
return S;
|
|
3297
3246
|
var E = _(i, this.clonePosition());
|
|
3298
|
-
if (
|
|
3299
|
-
var
|
|
3300
|
-
if (
|
|
3301
|
-
var c = this.parseNumberSkeletonFromString(
|
|
3247
|
+
if (a && It(a?.style, "::", 0)) {
|
|
3248
|
+
var w = ni(a.style.slice(2));
|
|
3249
|
+
if (h === "number") {
|
|
3250
|
+
var c = this.parseNumberSkeletonFromString(w, a.styleLocation);
|
|
3302
3251
|
return c.err ? c : {
|
|
3303
3252
|
val: { type: T.number, value: n, location: E, style: c.val },
|
|
3304
3253
|
err: null
|
|
3305
3254
|
};
|
|
3306
3255
|
} else {
|
|
3307
|
-
if (
|
|
3256
|
+
if (w.length === 0)
|
|
3308
3257
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, E);
|
|
3309
|
-
var
|
|
3310
|
-
this.locale && (
|
|
3258
|
+
var M = w;
|
|
3259
|
+
this.locale && (M = Vn(w, this.locale));
|
|
3311
3260
|
var m = {
|
|
3312
|
-
type:
|
|
3313
|
-
pattern:
|
|
3314
|
-
location:
|
|
3315
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3316
|
-
},
|
|
3261
|
+
type: J.dateTime,
|
|
3262
|
+
pattern: M,
|
|
3263
|
+
location: a.styleLocation,
|
|
3264
|
+
parsedOptions: this.shouldParseSkeletons ? Mn(M) : {}
|
|
3265
|
+
}, k = h === "date" ? T.date : T.time;
|
|
3317
3266
|
return {
|
|
3318
|
-
val: { type:
|
|
3267
|
+
val: { type: k, value: n, location: E, style: m },
|
|
3319
3268
|
err: null
|
|
3320
3269
|
};
|
|
3321
3270
|
}
|
|
3322
3271
|
}
|
|
3323
3272
|
return {
|
|
3324
3273
|
val: {
|
|
3325
|
-
type:
|
|
3274
|
+
type: h === "number" ? T.number : h === "date" ? T.date : T.time,
|
|
3326
3275
|
value: n,
|
|
3327
3276
|
location: E,
|
|
3328
|
-
style: (o =
|
|
3277
|
+
style: (o = a?.style) !== null && o !== void 0 ? o : null
|
|
3329
3278
|
},
|
|
3330
3279
|
err: null
|
|
3331
3280
|
};
|
|
@@ -3333,43 +3282,43 @@ var _i = (
|
|
|
3333
3282
|
case "plural":
|
|
3334
3283
|
case "selectordinal":
|
|
3335
3284
|
case "select": {
|
|
3336
|
-
var
|
|
3285
|
+
var x = this.clonePosition();
|
|
3337
3286
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3338
|
-
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, _(
|
|
3287
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, _(x, v({}, x)));
|
|
3339
3288
|
this.bumpSpace();
|
|
3340
|
-
var
|
|
3341
|
-
if (
|
|
3289
|
+
var D = this.parseIdentifierIfPossible(), L = 0;
|
|
3290
|
+
if (h !== "select" && D.value === "offset") {
|
|
3342
3291
|
if (!this.bumpIf(":"))
|
|
3343
3292
|
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
|
|
3344
3293
|
this.bumpSpace();
|
|
3345
3294
|
var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3346
3295
|
if (c.err)
|
|
3347
3296
|
return c;
|
|
3348
|
-
this.bumpSpace(),
|
|
3297
|
+
this.bumpSpace(), D = this.parseIdentifierIfPossible(), L = c.val;
|
|
3349
3298
|
}
|
|
3350
|
-
var
|
|
3351
|
-
if (
|
|
3352
|
-
return
|
|
3299
|
+
var B = this.tryParsePluralOrSelectOptions(t, h, r, D);
|
|
3300
|
+
if (B.err)
|
|
3301
|
+
return B;
|
|
3353
3302
|
var S = this.tryParseArgumentClose(i);
|
|
3354
3303
|
if (S.err)
|
|
3355
3304
|
return S;
|
|
3356
|
-
var
|
|
3357
|
-
return
|
|
3305
|
+
var oe = _(i, this.clonePosition());
|
|
3306
|
+
return h === "select" ? {
|
|
3358
3307
|
val: {
|
|
3359
3308
|
type: T.select,
|
|
3360
3309
|
value: n,
|
|
3361
|
-
options:
|
|
3362
|
-
location:
|
|
3310
|
+
options: St(B.val),
|
|
3311
|
+
location: oe
|
|
3363
3312
|
},
|
|
3364
3313
|
err: null
|
|
3365
3314
|
} : {
|
|
3366
3315
|
val: {
|
|
3367
3316
|
type: T.plural,
|
|
3368
3317
|
value: n,
|
|
3369
|
-
options:
|
|
3318
|
+
options: St(B.val),
|
|
3370
3319
|
offset: L,
|
|
3371
|
-
pluralType:
|
|
3372
|
-
location:
|
|
3320
|
+
pluralType: h === "plural" ? "cardinal" : "ordinal",
|
|
3321
|
+
location: oe
|
|
3373
3322
|
},
|
|
3374
3323
|
err: null
|
|
3375
3324
|
};
|
|
@@ -3417,64 +3366,64 @@ var _i = (
|
|
|
3417
3366
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3418
3367
|
var n = [];
|
|
3419
3368
|
try {
|
|
3420
|
-
n =
|
|
3421
|
-
} catch
|
|
3369
|
+
n = Rn(t);
|
|
3370
|
+
} catch {
|
|
3422
3371
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3423
3372
|
}
|
|
3424
3373
|
return {
|
|
3425
3374
|
val: {
|
|
3426
|
-
type:
|
|
3375
|
+
type: J.number,
|
|
3427
3376
|
tokens: n,
|
|
3428
3377
|
location: r,
|
|
3429
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3378
|
+
parsedOptions: this.shouldParseSkeletons ? jn(n) : {}
|
|
3430
3379
|
},
|
|
3431
3380
|
err: null
|
|
3432
3381
|
};
|
|
3433
3382
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3434
|
-
for (var o, l = !1,
|
|
3435
|
-
if (
|
|
3383
|
+
for (var o, l = !1, h = [], f = /* @__PURE__ */ new Set(), a = i.value, s = i.location; ; ) {
|
|
3384
|
+
if (a.length === 0) {
|
|
3436
3385
|
var c = this.clonePosition();
|
|
3437
3386
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3438
3387
|
var m = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3439
3388
|
if (m.err)
|
|
3440
3389
|
return m;
|
|
3441
|
-
|
|
3390
|
+
s = _(c, this.clonePosition()), a = this.message.slice(c.offset, this.offset());
|
|
3442
3391
|
} else
|
|
3443
3392
|
break;
|
|
3444
3393
|
}
|
|
3445
|
-
if (f.has(
|
|
3446
|
-
return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,
|
|
3447
|
-
|
|
3448
|
-
var
|
|
3394
|
+
if (f.has(a))
|
|
3395
|
+
return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, s);
|
|
3396
|
+
a === "other" && (l = !0), this.bumpSpace();
|
|
3397
|
+
var y = this.clonePosition();
|
|
3449
3398
|
if (!this.bumpIf("{"))
|
|
3450
3399
|
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
|
|
3451
3400
|
var S = this.parseMessage(t + 1, r, n);
|
|
3452
3401
|
if (S.err)
|
|
3453
3402
|
return S;
|
|
3454
|
-
var E = this.tryParseArgumentClose(
|
|
3403
|
+
var E = this.tryParseArgumentClose(y);
|
|
3455
3404
|
if (E.err)
|
|
3456
3405
|
return E;
|
|
3457
|
-
|
|
3458
|
-
|
|
3406
|
+
h.push([
|
|
3407
|
+
a,
|
|
3459
3408
|
{
|
|
3460
3409
|
value: S.val,
|
|
3461
|
-
location: _(
|
|
3410
|
+
location: _(y, this.clonePosition())
|
|
3462
3411
|
}
|
|
3463
|
-
]), f.add(
|
|
3412
|
+
]), f.add(a), this.bumpSpace(), o = this.parseIdentifierIfPossible(), a = o.value, s = o.location;
|
|
3464
3413
|
}
|
|
3465
|
-
return
|
|
3414
|
+
return h.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !l ? this.error(b.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: h, err: null };
|
|
3466
3415
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3467
3416
|
var n = 1, i = this.clonePosition();
|
|
3468
3417
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
3469
3418
|
for (var o = !1, l = 0; !this.isEOF(); ) {
|
|
3470
|
-
var
|
|
3471
|
-
if (
|
|
3472
|
-
o = !0, l = l * 10 + (
|
|
3419
|
+
var h = this.char();
|
|
3420
|
+
if (h >= 48 && h <= 57)
|
|
3421
|
+
o = !0, l = l * 10 + (h - 48), this.bump();
|
|
3473
3422
|
else
|
|
3474
3423
|
break;
|
|
3475
3424
|
}
|
|
3476
3425
|
var f = _(i, this.clonePosition());
|
|
3477
|
-
return o ? (l *= n,
|
|
3426
|
+
return o ? (l *= n, ti(l) ? { val: l, err: null } : this.error(r, f)) : this.error(t, f);
|
|
3478
3427
|
}, e.prototype.offset = function() {
|
|
3479
3428
|
return this.position.offset;
|
|
3480
3429
|
}, e.prototype.isEOF = function() {
|
|
@@ -3489,7 +3438,7 @@ var _i = (
|
|
|
3489
3438
|
var t = this.position.offset;
|
|
3490
3439
|
if (t >= this.message.length)
|
|
3491
3440
|
throw Error("out of bound");
|
|
3492
|
-
var r =
|
|
3441
|
+
var r = lr(this.message, t);
|
|
3493
3442
|
if (r === void 0)
|
|
3494
3443
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3495
3444
|
return r;
|
|
@@ -3508,7 +3457,7 @@ var _i = (
|
|
|
3508
3457
|
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);
|
|
3509
3458
|
}
|
|
3510
3459
|
}, e.prototype.bumpIf = function(t) {
|
|
3511
|
-
if (
|
|
3460
|
+
if (It(this.message, t, this.offset())) {
|
|
3512
3461
|
for (var r = 0; r < t.length; r++)
|
|
3513
3462
|
this.bump();
|
|
3514
3463
|
return !0;
|
|
@@ -3530,56 +3479,56 @@ var _i = (
|
|
|
3530
3479
|
break;
|
|
3531
3480
|
}
|
|
3532
3481
|
}, e.prototype.bumpSpace = function() {
|
|
3533
|
-
for (; !this.isEOF() &&
|
|
3482
|
+
for (; !this.isEOF() && hr(this.char()); )
|
|
3534
3483
|
this.bump();
|
|
3535
3484
|
}, e.prototype.peek = function() {
|
|
3536
3485
|
if (this.isEOF())
|
|
3537
3486
|
return null;
|
|
3538
3487
|
var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
|
|
3539
|
-
return n
|
|
3488
|
+
return n ?? null;
|
|
3540
3489
|
}, e;
|
|
3541
3490
|
}()
|
|
3542
3491
|
);
|
|
3543
|
-
function
|
|
3492
|
+
function Ye(e) {
|
|
3544
3493
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3545
3494
|
}
|
|
3546
|
-
function
|
|
3547
|
-
return
|
|
3495
|
+
function si(e) {
|
|
3496
|
+
return Ye(e) || e === 47;
|
|
3548
3497
|
}
|
|
3549
|
-
function
|
|
3498
|
+
function ai(e) {
|
|
3550
3499
|
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;
|
|
3551
3500
|
}
|
|
3552
|
-
function
|
|
3501
|
+
function hr(e) {
|
|
3553
3502
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3554
3503
|
}
|
|
3555
|
-
function
|
|
3504
|
+
function li(e) {
|
|
3556
3505
|
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;
|
|
3557
3506
|
}
|
|
3558
|
-
function
|
|
3507
|
+
function Ke(e) {
|
|
3559
3508
|
e.forEach(function(t) {
|
|
3560
|
-
if (delete t.location,
|
|
3509
|
+
if (delete t.location, er(t) || tr(t))
|
|
3561
3510
|
for (var r in t.options)
|
|
3562
|
-
delete t.options[r].location,
|
|
3563
|
-
else
|
|
3511
|
+
delete t.options[r].location, Ke(t.options[r].value);
|
|
3512
|
+
else Jt(t) && nr(t.style) || (Yt(t) || Kt(t)) && Ze(t.style) ? delete t.style.location : rr(t) && Ke(t.children);
|
|
3564
3513
|
});
|
|
3565
3514
|
}
|
|
3566
|
-
function
|
|
3567
|
-
t === void 0 && (t = {}), t =
|
|
3568
|
-
var r = new
|
|
3515
|
+
function ui(e, t) {
|
|
3516
|
+
t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3517
|
+
var r = new oi(e, t).parse();
|
|
3569
3518
|
if (r.err) {
|
|
3570
3519
|
var n = SyntaxError(b[r.err.kind]);
|
|
3571
3520
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3572
3521
|
}
|
|
3573
|
-
return t
|
|
3522
|
+
return t?.captureLocation || Ke(r.val), r.val;
|
|
3574
3523
|
}
|
|
3575
|
-
var
|
|
3524
|
+
var Y;
|
|
3576
3525
|
(function(e) {
|
|
3577
3526
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3578
|
-
})(
|
|
3579
|
-
var
|
|
3527
|
+
})(Y || (Y = {}));
|
|
3528
|
+
var Fe = (
|
|
3580
3529
|
/** @class */
|
|
3581
3530
|
function(e) {
|
|
3582
|
-
|
|
3531
|
+
C(t, e);
|
|
3583
3532
|
function t(r, n, i) {
|
|
3584
3533
|
var o = e.call(this, r) || this;
|
|
3585
3534
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3588,155 +3537,155 @@ var Le = (
|
|
|
3588
3537
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3589
3538
|
}, t;
|
|
3590
3539
|
}(Error)
|
|
3591
|
-
),
|
|
3540
|
+
), Tt = (
|
|
3592
3541
|
/** @class */
|
|
3593
3542
|
function(e) {
|
|
3594
|
-
|
|
3543
|
+
C(t, e);
|
|
3595
3544
|
function t(r, n, i, o) {
|
|
3596
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3545
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Y.INVALID_VALUE, o) || this;
|
|
3597
3546
|
}
|
|
3598
3547
|
return t;
|
|
3599
|
-
}(
|
|
3600
|
-
),
|
|
3548
|
+
}(Fe)
|
|
3549
|
+
), hi = (
|
|
3601
3550
|
/** @class */
|
|
3602
3551
|
function(e) {
|
|
3603
|
-
|
|
3552
|
+
C(t, e);
|
|
3604
3553
|
function t(r, n, i) {
|
|
3605
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3554
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Y.INVALID_VALUE, i) || this;
|
|
3606
3555
|
}
|
|
3607
3556
|
return t;
|
|
3608
|
-
}(
|
|
3609
|
-
),
|
|
3557
|
+
}(Fe)
|
|
3558
|
+
), fi = (
|
|
3610
3559
|
/** @class */
|
|
3611
3560
|
function(e) {
|
|
3612
|
-
|
|
3561
|
+
C(t, e);
|
|
3613
3562
|
function t(r, n) {
|
|
3614
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3563
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Y.MISSING_VALUE, n) || this;
|
|
3615
3564
|
}
|
|
3616
3565
|
return t;
|
|
3617
|
-
}(
|
|
3566
|
+
}(Fe)
|
|
3618
3567
|
), P;
|
|
3619
3568
|
(function(e) {
|
|
3620
3569
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3621
3570
|
})(P || (P = {}));
|
|
3622
|
-
function
|
|
3571
|
+
function ci(e) {
|
|
3623
3572
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3624
3573
|
var n = t[t.length - 1];
|
|
3625
3574
|
return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
|
|
3626
3575
|
}, []);
|
|
3627
3576
|
}
|
|
3628
|
-
function
|
|
3577
|
+
function mi(e) {
|
|
3629
3578
|
return typeof e == "function";
|
|
3630
3579
|
}
|
|
3631
|
-
function
|
|
3632
|
-
if (e.length === 1 &&
|
|
3580
|
+
function Ee(e, t, r, n, i, o, l) {
|
|
3581
|
+
if (e.length === 1 && _t(e[0]))
|
|
3633
3582
|
return [
|
|
3634
3583
|
{
|
|
3635
3584
|
type: P.literal,
|
|
3636
3585
|
value: e[0].value
|
|
3637
3586
|
}
|
|
3638
3587
|
];
|
|
3639
|
-
for (var
|
|
3640
|
-
var
|
|
3641
|
-
if (
|
|
3642
|
-
|
|
3588
|
+
for (var h = [], f = 0, a = e; f < a.length; f++) {
|
|
3589
|
+
var s = a[f];
|
|
3590
|
+
if (_t(s)) {
|
|
3591
|
+
h.push({
|
|
3643
3592
|
type: P.literal,
|
|
3644
|
-
value:
|
|
3593
|
+
value: s.value
|
|
3645
3594
|
});
|
|
3646
3595
|
continue;
|
|
3647
3596
|
}
|
|
3648
|
-
if (
|
|
3649
|
-
typeof o == "number" &&
|
|
3597
|
+
if (Nn(s)) {
|
|
3598
|
+
typeof o == "number" && h.push({
|
|
3650
3599
|
type: P.literal,
|
|
3651
3600
|
value: r.getNumberFormat(t).format(o)
|
|
3652
3601
|
});
|
|
3653
3602
|
continue;
|
|
3654
3603
|
}
|
|
3655
|
-
var c =
|
|
3604
|
+
var c = s.value;
|
|
3656
3605
|
if (!(i && c in i))
|
|
3657
|
-
throw new
|
|
3606
|
+
throw new fi(c, l);
|
|
3658
3607
|
var m = i[c];
|
|
3659
|
-
if (
|
|
3660
|
-
(!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""),
|
|
3608
|
+
if (kn(s)) {
|
|
3609
|
+
(!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), h.push({
|
|
3661
3610
|
type: typeof m == "string" ? P.literal : P.object,
|
|
3662
3611
|
value: m
|
|
3663
3612
|
});
|
|
3664
3613
|
continue;
|
|
3665
3614
|
}
|
|
3666
|
-
if (
|
|
3667
|
-
var
|
|
3668
|
-
|
|
3615
|
+
if (Yt(s)) {
|
|
3616
|
+
var y = typeof s.style == "string" ? n.date[s.style] : Ze(s.style) ? s.style.parsedOptions : void 0;
|
|
3617
|
+
h.push({
|
|
3669
3618
|
type: P.literal,
|
|
3670
|
-
value: r.getDateTimeFormat(t,
|
|
3619
|
+
value: r.getDateTimeFormat(t, y).format(m)
|
|
3671
3620
|
});
|
|
3672
3621
|
continue;
|
|
3673
3622
|
}
|
|
3674
|
-
if (
|
|
3675
|
-
var
|
|
3676
|
-
|
|
3623
|
+
if (Kt(s)) {
|
|
3624
|
+
var y = typeof s.style == "string" ? n.time[s.style] : Ze(s.style) ? s.style.parsedOptions : n.time.medium;
|
|
3625
|
+
h.push({
|
|
3677
3626
|
type: P.literal,
|
|
3678
|
-
value: r.getDateTimeFormat(t,
|
|
3627
|
+
value: r.getDateTimeFormat(t, y).format(m)
|
|
3679
3628
|
});
|
|
3680
3629
|
continue;
|
|
3681
3630
|
}
|
|
3682
|
-
if (
|
|
3683
|
-
var
|
|
3684
|
-
|
|
3631
|
+
if (Jt(s)) {
|
|
3632
|
+
var y = typeof s.style == "string" ? n.number[s.style] : nr(s.style) ? s.style.parsedOptions : void 0;
|
|
3633
|
+
y && y.scale && (m = m * (y.scale || 1)), h.push({
|
|
3685
3634
|
type: P.literal,
|
|
3686
|
-
value: r.getNumberFormat(t,
|
|
3635
|
+
value: r.getNumberFormat(t, y).format(m)
|
|
3687
3636
|
});
|
|
3688
3637
|
continue;
|
|
3689
3638
|
}
|
|
3690
|
-
if (
|
|
3691
|
-
var S =
|
|
3692
|
-
if (!
|
|
3693
|
-
throw new
|
|
3694
|
-
var
|
|
3639
|
+
if (rr(s)) {
|
|
3640
|
+
var S = s.children, E = s.value, w = i[E];
|
|
3641
|
+
if (!mi(w))
|
|
3642
|
+
throw new hi(E, "function", l);
|
|
3643
|
+
var M = Ee(S, t, r, n, i, o), k = w(M.map(function(L) {
|
|
3695
3644
|
return L.value;
|
|
3696
3645
|
}));
|
|
3697
|
-
Array.isArray(
|
|
3646
|
+
Array.isArray(k) || (k = [k]), h.push.apply(h, k.map(function(L) {
|
|
3698
3647
|
return {
|
|
3699
3648
|
type: typeof L == "string" ? P.literal : P.object,
|
|
3700
3649
|
value: L
|
|
3701
3650
|
};
|
|
3702
3651
|
}));
|
|
3703
3652
|
}
|
|
3704
|
-
if (
|
|
3705
|
-
var
|
|
3706
|
-
if (!
|
|
3707
|
-
throw new
|
|
3708
|
-
|
|
3653
|
+
if (er(s)) {
|
|
3654
|
+
var x = s.options[m] || s.options.other;
|
|
3655
|
+
if (!x)
|
|
3656
|
+
throw new Tt(s.value, m, Object.keys(s.options), l);
|
|
3657
|
+
h.push.apply(h, Ee(x.value, t, r, n, i));
|
|
3709
3658
|
continue;
|
|
3710
3659
|
}
|
|
3711
|
-
if (
|
|
3712
|
-
var
|
|
3713
|
-
if (!
|
|
3660
|
+
if (tr(s)) {
|
|
3661
|
+
var x = s.options["=".concat(m)];
|
|
3662
|
+
if (!x) {
|
|
3714
3663
|
if (!Intl.PluralRules)
|
|
3715
|
-
throw new
|
|
3664
|
+
throw new Fe(`Intl.PluralRules is not available in this environment.
|
|
3716
3665
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3717
|
-
`,
|
|
3718
|
-
var
|
|
3719
|
-
|
|
3666
|
+
`, Y.MISSING_INTL_API, l);
|
|
3667
|
+
var D = r.getPluralRules(t, { type: s.pluralType }).select(m - (s.offset || 0));
|
|
3668
|
+
x = s.options[D] || s.options.other;
|
|
3720
3669
|
}
|
|
3721
|
-
if (!
|
|
3722
|
-
throw new
|
|
3723
|
-
|
|
3670
|
+
if (!x)
|
|
3671
|
+
throw new Tt(s.value, m, Object.keys(s.options), l);
|
|
3672
|
+
h.push.apply(h, Ee(x.value, t, r, n, i, m - (s.offset || 0)));
|
|
3724
3673
|
continue;
|
|
3725
3674
|
}
|
|
3726
3675
|
}
|
|
3727
|
-
return
|
|
3676
|
+
return ci(h);
|
|
3728
3677
|
}
|
|
3729
|
-
function
|
|
3730
|
-
return t ?
|
|
3731
|
-
return r[n] =
|
|
3678
|
+
function pi(e, t) {
|
|
3679
|
+
return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3680
|
+
return r[n] = v(v({}, e[n]), t[n] || {}), r;
|
|
3732
3681
|
}, {})) : e;
|
|
3733
3682
|
}
|
|
3734
|
-
function
|
|
3683
|
+
function di(e, t) {
|
|
3735
3684
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3736
|
-
return r[n] =
|
|
3737
|
-
},
|
|
3685
|
+
return r[n] = pi(e[n], t[n]), r;
|
|
3686
|
+
}, v({}, e)) : e;
|
|
3738
3687
|
}
|
|
3739
|
-
function
|
|
3688
|
+
function De(e) {
|
|
3740
3689
|
return {
|
|
3741
3690
|
create: function() {
|
|
3742
3691
|
return {
|
|
@@ -3750,39 +3699,39 @@ function Ge(e) {
|
|
|
3750
3699
|
}
|
|
3751
3700
|
};
|
|
3752
3701
|
}
|
|
3753
|
-
function
|
|
3702
|
+
function bi(e) {
|
|
3754
3703
|
return e === void 0 && (e = {
|
|
3755
3704
|
number: {},
|
|
3756
3705
|
dateTime: {},
|
|
3757
3706
|
pluralRules: {}
|
|
3758
3707
|
}), {
|
|
3759
|
-
getNumberFormat:
|
|
3708
|
+
getNumberFormat: Ne(function() {
|
|
3760
3709
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3761
3710
|
r[n] = arguments[n];
|
|
3762
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3711
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Q([void 0], r, !1)))();
|
|
3763
3712
|
}, {
|
|
3764
|
-
cache:
|
|
3765
|
-
strategy:
|
|
3713
|
+
cache: De(e.number),
|
|
3714
|
+
strategy: Ce.variadic
|
|
3766
3715
|
}),
|
|
3767
|
-
getDateTimeFormat:
|
|
3716
|
+
getDateTimeFormat: Ne(function() {
|
|
3768
3717
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3769
3718
|
r[n] = arguments[n];
|
|
3770
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3719
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Q([void 0], r, !1)))();
|
|
3771
3720
|
}, {
|
|
3772
|
-
cache:
|
|
3773
|
-
strategy:
|
|
3721
|
+
cache: De(e.dateTime),
|
|
3722
|
+
strategy: Ce.variadic
|
|
3774
3723
|
}),
|
|
3775
|
-
getPluralRules:
|
|
3724
|
+
getPluralRules: Ne(function() {
|
|
3776
3725
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3777
3726
|
r[n] = arguments[n];
|
|
3778
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3727
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Q([void 0], r, !1)))();
|
|
3779
3728
|
}, {
|
|
3780
|
-
cache:
|
|
3781
|
-
strategy:
|
|
3729
|
+
cache: De(e.pluralRules),
|
|
3730
|
+
strategy: Ce.variadic
|
|
3782
3731
|
})
|
|
3783
3732
|
};
|
|
3784
3733
|
}
|
|
3785
|
-
var
|
|
3734
|
+
var gi = (
|
|
3786
3735
|
/** @class */
|
|
3787
3736
|
function() {
|
|
3788
3737
|
function e(t, r, n, i) {
|
|
@@ -3793,15 +3742,15 @@ var Bi = (
|
|
|
3793
3742
|
dateTime: {},
|
|
3794
3743
|
pluralRules: {}
|
|
3795
3744
|
}, this.format = function(f) {
|
|
3796
|
-
var
|
|
3797
|
-
if (
|
|
3798
|
-
return
|
|
3799
|
-
var
|
|
3745
|
+
var a = o.formatToParts(f);
|
|
3746
|
+
if (a.length === 1)
|
|
3747
|
+
return a[0].value;
|
|
3748
|
+
var s = a.reduce(function(c, m) {
|
|
3800
3749
|
return !c.length || m.type !== P.literal || typeof c[c.length - 1] != "string" ? c.push(m.value) : c[c.length - 1] += m.value, c;
|
|
3801
3750
|
}, []);
|
|
3802
|
-
return
|
|
3751
|
+
return s.length <= 1 ? s[0] || "" : s;
|
|
3803
3752
|
}, this.formatToParts = function(f) {
|
|
3804
|
-
return
|
|
3753
|
+
return Ee(o.ast, o.locales, o.formatters, o.formats, f, void 0, o.message);
|
|
3805
3754
|
}, this.resolvedOptions = function() {
|
|
3806
3755
|
var f;
|
|
3807
3756
|
return {
|
|
@@ -3814,13 +3763,13 @@ var Bi = (
|
|
|
3814
3763
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3815
3764
|
var l = i || {};
|
|
3816
3765
|
l.formatters;
|
|
3817
|
-
var
|
|
3818
|
-
this.ast = e.__parse(t,
|
|
3766
|
+
var h = Zr(l, ["formatters"]);
|
|
3767
|
+
this.ast = e.__parse(t, v(v({}, h), { locale: this.resolvedLocale }));
|
|
3819
3768
|
} else
|
|
3820
3769
|
this.ast = t;
|
|
3821
3770
|
if (!Array.isArray(this.ast))
|
|
3822
3771
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3823
|
-
this.formats =
|
|
3772
|
+
this.formats = di(e.formats, n), this.formatters = i && i.formatters || bi(this.formatterCache);
|
|
3824
3773
|
}
|
|
3825
3774
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3826
3775
|
get: function() {
|
|
@@ -3829,11 +3778,11 @@ var Bi = (
|
|
|
3829
3778
|
enumerable: !1,
|
|
3830
3779
|
configurable: !0
|
|
3831
3780
|
}), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
|
|
3832
|
-
if (typeof Intl.Locale
|
|
3781
|
+
if (!(typeof Intl.Locale > "u")) {
|
|
3833
3782
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3834
3783
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3835
3784
|
}
|
|
3836
|
-
}, e.__parse =
|
|
3785
|
+
}, e.__parse = ui, e.formats = {
|
|
3837
3786
|
number: {
|
|
3838
3787
|
integer: {
|
|
3839
3788
|
maximumFractionDigits: 0
|
|
@@ -3894,7 +3843,7 @@ var Bi = (
|
|
|
3894
3843
|
}, e;
|
|
3895
3844
|
}()
|
|
3896
3845
|
);
|
|
3897
|
-
function
|
|
3846
|
+
function _i(e, t) {
|
|
3898
3847
|
if (t == null)
|
|
3899
3848
|
return;
|
|
3900
3849
|
if (t in e)
|
|
@@ -3915,92 +3864,92 @@ function wi(e, t) {
|
|
|
3915
3864
|
n = void 0;
|
|
3916
3865
|
return n;
|
|
3917
3866
|
}
|
|
3918
|
-
const
|
|
3867
|
+
const R = {}, yi = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), fr = (e, t) => {
|
|
3919
3868
|
if (t == null)
|
|
3920
3869
|
return;
|
|
3921
|
-
if (t in
|
|
3922
|
-
return
|
|
3923
|
-
const r =
|
|
3870
|
+
if (t in R && e in R[t])
|
|
3871
|
+
return R[t][e];
|
|
3872
|
+
const r = Le(t);
|
|
3924
3873
|
for (let n = 0; n < r.length; n++) {
|
|
3925
|
-
const i = r[n], o =
|
|
3874
|
+
const i = r[n], o = Ei(i, e);
|
|
3926
3875
|
if (o)
|
|
3927
|
-
return
|
|
3876
|
+
return yi(e, t, o);
|
|
3928
3877
|
}
|
|
3929
3878
|
};
|
|
3930
|
-
let
|
|
3931
|
-
const
|
|
3932
|
-
function
|
|
3933
|
-
return
|
|
3879
|
+
let ot;
|
|
3880
|
+
const fe = Ae({});
|
|
3881
|
+
function vi(e) {
|
|
3882
|
+
return ot[e] || null;
|
|
3934
3883
|
}
|
|
3935
|
-
function
|
|
3936
|
-
return e in
|
|
3884
|
+
function cr(e) {
|
|
3885
|
+
return e in ot;
|
|
3937
3886
|
}
|
|
3938
|
-
function
|
|
3939
|
-
if (!
|
|
3887
|
+
function Ei(e, t) {
|
|
3888
|
+
if (!cr(e))
|
|
3940
3889
|
return null;
|
|
3941
|
-
const r =
|
|
3942
|
-
return
|
|
3890
|
+
const r = vi(e);
|
|
3891
|
+
return _i(r, t);
|
|
3943
3892
|
}
|
|
3944
|
-
function
|
|
3893
|
+
function Ii(e) {
|
|
3945
3894
|
if (e == null)
|
|
3946
3895
|
return;
|
|
3947
|
-
const t =
|
|
3896
|
+
const t = Le(e);
|
|
3948
3897
|
for (let r = 0; r < t.length; r++) {
|
|
3949
3898
|
const n = t[r];
|
|
3950
|
-
if (
|
|
3899
|
+
if (cr(n))
|
|
3951
3900
|
return n;
|
|
3952
3901
|
}
|
|
3953
3902
|
}
|
|
3954
|
-
function
|
|
3955
|
-
delete
|
|
3903
|
+
function Si(e, ...t) {
|
|
3904
|
+
delete R[e], fe.update((r) => (r[e] = An.all([r[e] || {}, ...t]), r));
|
|
3956
3905
|
}
|
|
3957
|
-
|
|
3958
|
-
[
|
|
3906
|
+
ne(
|
|
3907
|
+
[fe],
|
|
3959
3908
|
([e]) => Object.keys(e)
|
|
3960
3909
|
);
|
|
3961
|
-
|
|
3962
|
-
const
|
|
3963
|
-
function
|
|
3964
|
-
|
|
3910
|
+
fe.subscribe((e) => ot = e);
|
|
3911
|
+
const Ie = {};
|
|
3912
|
+
function Hi(e, t) {
|
|
3913
|
+
Ie[e].delete(t), Ie[e].size === 0 && delete Ie[e];
|
|
3965
3914
|
}
|
|
3966
|
-
function
|
|
3967
|
-
return
|
|
3915
|
+
function mr(e) {
|
|
3916
|
+
return Ie[e];
|
|
3968
3917
|
}
|
|
3969
|
-
function
|
|
3970
|
-
return
|
|
3971
|
-
const r =
|
|
3918
|
+
function Ti(e) {
|
|
3919
|
+
return Le(e).map((t) => {
|
|
3920
|
+
const r = mr(t);
|
|
3972
3921
|
return [t, r ? [...r] : []];
|
|
3973
3922
|
}).filter(([, t]) => t.length > 0);
|
|
3974
3923
|
}
|
|
3975
|
-
function
|
|
3976
|
-
return e == null ? !1 :
|
|
3924
|
+
function et(e) {
|
|
3925
|
+
return e == null ? !1 : Le(e).some(
|
|
3977
3926
|
(t) => {
|
|
3978
3927
|
var r;
|
|
3979
|
-
return (r =
|
|
3928
|
+
return (r = mr(t)) == null ? void 0 : r.size;
|
|
3980
3929
|
}
|
|
3981
3930
|
);
|
|
3982
3931
|
}
|
|
3983
|
-
function
|
|
3932
|
+
function Ai(e, t) {
|
|
3984
3933
|
return Promise.all(
|
|
3985
|
-
t.map((n) => (
|
|
3986
|
-
).then((n) =>
|
|
3987
|
-
}
|
|
3988
|
-
const
|
|
3989
|
-
function
|
|
3990
|
-
if (!
|
|
3991
|
-
return e in
|
|
3992
|
-
const t =
|
|
3993
|
-
return
|
|
3934
|
+
t.map((n) => (Hi(e, n), n().then((i) => i.default || i)))
|
|
3935
|
+
).then((n) => Si(e, ...n));
|
|
3936
|
+
}
|
|
3937
|
+
const se = {};
|
|
3938
|
+
function pr(e) {
|
|
3939
|
+
if (!et(e))
|
|
3940
|
+
return e in se ? se[e] : Promise.resolve();
|
|
3941
|
+
const t = Ti(e);
|
|
3942
|
+
return se[e] = Promise.all(
|
|
3994
3943
|
t.map(
|
|
3995
|
-
([r, n]) =>
|
|
3944
|
+
([r, n]) => Ai(r, n)
|
|
3996
3945
|
)
|
|
3997
3946
|
).then(() => {
|
|
3998
|
-
if (
|
|
3999
|
-
return
|
|
4000
|
-
delete
|
|
4001
|
-
}),
|
|
3947
|
+
if (et(e))
|
|
3948
|
+
return pr(e);
|
|
3949
|
+
delete se[e];
|
|
3950
|
+
}), se[e];
|
|
4002
3951
|
}
|
|
4003
|
-
const
|
|
3952
|
+
const Fi = {
|
|
4004
3953
|
number: {
|
|
4005
3954
|
scientific: { notation: "scientific" },
|
|
4006
3955
|
engineering: { notation: "engineering" },
|
|
@@ -4029,159 +3978,159 @@ const Ui = {
|
|
|
4029
3978
|
timeZoneName: "short"
|
|
4030
3979
|
}
|
|
4031
3980
|
}
|
|
4032
|
-
},
|
|
3981
|
+
}, Li = {
|
|
4033
3982
|
fallbackLocale: null,
|
|
4034
3983
|
loadingDelay: 200,
|
|
4035
|
-
formats:
|
|
3984
|
+
formats: Fi,
|
|
4036
3985
|
warnOnMissingMessages: !0,
|
|
4037
3986
|
handleMissingMessage: void 0,
|
|
4038
3987
|
ignoreTag: !0
|
|
4039
|
-
},
|
|
4040
|
-
function
|
|
4041
|
-
return
|
|
4042
|
-
}
|
|
4043
|
-
const
|
|
4044
|
-
var
|
|
4045
|
-
for (var r in t
|
|
4046
|
-
|
|
4047
|
-
if (
|
|
4048
|
-
for (var r of
|
|
4049
|
-
|
|
3988
|
+
}, Pi = Li;
|
|
3989
|
+
function K() {
|
|
3990
|
+
return Pi;
|
|
3991
|
+
}
|
|
3992
|
+
const Re = Ae(!1);
|
|
3993
|
+
var xi = Object.defineProperty, Bi = Object.defineProperties, wi = Object.getOwnPropertyDescriptors, At = Object.getOwnPropertySymbols, Oi = Object.prototype.hasOwnProperty, ki = Object.prototype.propertyIsEnumerable, Ft = (e, t, r) => t in e ? xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ni = (e, t) => {
|
|
3994
|
+
for (var r in t)
|
|
3995
|
+
Oi.call(t, r) && Ft(e, r, t[r]);
|
|
3996
|
+
if (At)
|
|
3997
|
+
for (var r of At(t))
|
|
3998
|
+
ki.call(t, r) && Ft(e, r, t[r]);
|
|
4050
3999
|
return e;
|
|
4051
|
-
},
|
|
4052
|
-
let
|
|
4053
|
-
const
|
|
4054
|
-
function
|
|
4000
|
+
}, Ci = (e, t) => Bi(e, wi(t));
|
|
4001
|
+
let tt;
|
|
4002
|
+
const Se = Ae(null);
|
|
4003
|
+
function Lt(e) {
|
|
4055
4004
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4056
4005
|
}
|
|
4057
|
-
function
|
|
4058
|
-
const r =
|
|
4059
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4006
|
+
function Le(e, t = K().fallbackLocale) {
|
|
4007
|
+
const r = Lt(e);
|
|
4008
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Lt(t)])] : r;
|
|
4060
4009
|
}
|
|
4061
|
-
function
|
|
4062
|
-
return
|
|
4010
|
+
function V() {
|
|
4011
|
+
return tt ?? void 0;
|
|
4063
4012
|
}
|
|
4064
|
-
|
|
4065
|
-
|
|
4013
|
+
Se.subscribe((e) => {
|
|
4014
|
+
tt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4066
4015
|
});
|
|
4067
|
-
const
|
|
4068
|
-
if (e &&
|
|
4069
|
-
const { loadingDelay: t } =
|
|
4016
|
+
const Mi = (e) => {
|
|
4017
|
+
if (e && Ii(e) && et(e)) {
|
|
4018
|
+
const { loadingDelay: t } = K();
|
|
4070
4019
|
let r;
|
|
4071
|
-
return typeof window
|
|
4072
|
-
() =>
|
|
4020
|
+
return typeof window < "u" && V() != null && t ? r = window.setTimeout(
|
|
4021
|
+
() => Re.set(!0),
|
|
4073
4022
|
t
|
|
4074
|
-
) :
|
|
4075
|
-
|
|
4023
|
+
) : Re.set(!0), pr(e).then(() => {
|
|
4024
|
+
Se.set(e);
|
|
4076
4025
|
}).finally(() => {
|
|
4077
|
-
clearTimeout(r),
|
|
4026
|
+
clearTimeout(r), Re.set(!1);
|
|
4078
4027
|
});
|
|
4079
4028
|
}
|
|
4080
|
-
return
|
|
4081
|
-
},
|
|
4082
|
-
set:
|
|
4083
|
-
}),
|
|
4029
|
+
return Se.set(e);
|
|
4030
|
+
}, ce = Ci(Ni({}, Se), {
|
|
4031
|
+
set: Mi
|
|
4032
|
+
}), Pe = (e) => {
|
|
4084
4033
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4085
4034
|
return (n) => {
|
|
4086
4035
|
const i = JSON.stringify(n);
|
|
4087
4036
|
return i in t ? t[i] : t[i] = e(n);
|
|
4088
4037
|
};
|
|
4089
4038
|
};
|
|
4090
|
-
var
|
|
4039
|
+
var Di = Object.defineProperty, He = Object.getOwnPropertySymbols, dr = Object.prototype.hasOwnProperty, br = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
|
|
4091
4040
|
for (var r in t || (t = {}))
|
|
4092
|
-
|
|
4093
|
-
if (
|
|
4094
|
-
for (var r of
|
|
4095
|
-
|
|
4041
|
+
dr.call(t, r) && Pt(e, r, t[r]);
|
|
4042
|
+
if (He)
|
|
4043
|
+
for (var r of He(t))
|
|
4044
|
+
br.call(t, r) && Pt(e, r, t[r]);
|
|
4096
4045
|
return e;
|
|
4097
|
-
},
|
|
4046
|
+
}, ie = (e, t) => {
|
|
4098
4047
|
var r = {};
|
|
4099
4048
|
for (var n in e)
|
|
4100
|
-
|
|
4101
|
-
if (e != null &&
|
|
4102
|
-
for (var n of
|
|
4103
|
-
t.indexOf(n) < 0 &&
|
|
4049
|
+
dr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4050
|
+
if (e != null && He)
|
|
4051
|
+
for (var n of He(e))
|
|
4052
|
+
t.indexOf(n) < 0 && br.call(e, n) && (r[n] = e[n]);
|
|
4104
4053
|
return r;
|
|
4105
4054
|
};
|
|
4106
|
-
const
|
|
4107
|
-
const { formats: r } =
|
|
4055
|
+
const ue = (e, t) => {
|
|
4056
|
+
const { formats: r } = K();
|
|
4108
4057
|
if (e in r && t in r[e])
|
|
4109
4058
|
return r[e][t];
|
|
4110
4059
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4111
|
-
},
|
|
4060
|
+
}, Ri = Pe(
|
|
4112
4061
|
(e) => {
|
|
4113
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4062
|
+
var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
|
|
4114
4063
|
if (r == null)
|
|
4115
4064
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4116
|
-
return n && (i =
|
|
4065
|
+
return n && (i = ue("number", n)), new Intl.NumberFormat(r, i);
|
|
4117
4066
|
}
|
|
4118
|
-
),
|
|
4067
|
+
), Ui = Pe(
|
|
4119
4068
|
(e) => {
|
|
4120
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4069
|
+
var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
|
|
4121
4070
|
if (r == null)
|
|
4122
4071
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4123
|
-
return n ? i =
|
|
4072
|
+
return n ? i = ue("date", n) : Object.keys(i).length === 0 && (i = ue("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4124
4073
|
}
|
|
4125
|
-
),
|
|
4074
|
+
), Gi = Pe(
|
|
4126
4075
|
(e) => {
|
|
4127
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4076
|
+
var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
|
|
4128
4077
|
if (r == null)
|
|
4129
4078
|
throw new Error(
|
|
4130
4079
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4131
4080
|
);
|
|
4132
|
-
return n ? i =
|
|
4081
|
+
return n ? i = ue("time", n) : Object.keys(i).length === 0 && (i = ue("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4133
4082
|
}
|
|
4134
|
-
),
|
|
4083
|
+
), $i = (e = {}) => {
|
|
4135
4084
|
var t = e, {
|
|
4136
|
-
locale: r =
|
|
4137
|
-
} = t, n =
|
|
4085
|
+
locale: r = V()
|
|
4086
|
+
} = t, n = ie(t, [
|
|
4138
4087
|
"locale"
|
|
4139
4088
|
]);
|
|
4140
|
-
return
|
|
4141
|
-
},
|
|
4089
|
+
return Ri(st({ locale: r }, n));
|
|
4090
|
+
}, ji = (e = {}) => {
|
|
4142
4091
|
var t = e, {
|
|
4143
|
-
locale: r =
|
|
4144
|
-
} = t, n =
|
|
4092
|
+
locale: r = V()
|
|
4093
|
+
} = t, n = ie(t, [
|
|
4145
4094
|
"locale"
|
|
4146
4095
|
]);
|
|
4147
|
-
return
|
|
4148
|
-
},
|
|
4096
|
+
return Ui(st({ locale: r }, n));
|
|
4097
|
+
}, Vi = (e = {}) => {
|
|
4149
4098
|
var t = e, {
|
|
4150
|
-
locale: r =
|
|
4151
|
-
} = t, n =
|
|
4099
|
+
locale: r = V()
|
|
4100
|
+
} = t, n = ie(t, [
|
|
4152
4101
|
"locale"
|
|
4153
4102
|
]);
|
|
4154
|
-
return
|
|
4155
|
-
},
|
|
4103
|
+
return Gi(st({ locale: r }, n));
|
|
4104
|
+
}, Xi = Pe(
|
|
4156
4105
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4157
|
-
(e, t =
|
|
4158
|
-
ignoreTag:
|
|
4106
|
+
(e, t = V()) => new gi(e, t, K().formats, {
|
|
4107
|
+
ignoreTag: K().ignoreTag
|
|
4159
4108
|
})
|
|
4160
|
-
),
|
|
4109
|
+
), Wi = (e, t = {}) => {
|
|
4161
4110
|
var r, n, i, o;
|
|
4162
4111
|
let l = t;
|
|
4163
4112
|
typeof e == "object" && (l = e, e = l.id);
|
|
4164
4113
|
const {
|
|
4165
|
-
values:
|
|
4166
|
-
locale: f =
|
|
4167
|
-
default:
|
|
4114
|
+
values: h,
|
|
4115
|
+
locale: f = V(),
|
|
4116
|
+
default: a
|
|
4168
4117
|
} = l;
|
|
4169
4118
|
if (f == null)
|
|
4170
4119
|
throw new Error(
|
|
4171
4120
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4172
4121
|
);
|
|
4173
|
-
let
|
|
4174
|
-
if (!
|
|
4175
|
-
|
|
4176
|
-
else if (typeof
|
|
4122
|
+
let s = fr(e, f);
|
|
4123
|
+
if (!s)
|
|
4124
|
+
s = (o = (i = (n = (r = K()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: f, id: e, defaultValue: a })) != null ? i : a) != null ? o : e;
|
|
4125
|
+
else if (typeof s != "string")
|
|
4177
4126
|
return console.warn(
|
|
4178
|
-
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof
|
|
4179
|
-
),
|
|
4180
|
-
if (!
|
|
4181
|
-
return
|
|
4182
|
-
let c =
|
|
4127
|
+
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof s}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
4128
|
+
), s;
|
|
4129
|
+
if (!h)
|
|
4130
|
+
return s;
|
|
4131
|
+
let c = s;
|
|
4183
4132
|
try {
|
|
4184
|
-
c =
|
|
4133
|
+
c = Xi(s, f).format(h);
|
|
4185
4134
|
} catch (m) {
|
|
4186
4135
|
m instanceof Error && console.warn(
|
|
4187
4136
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4189,49 +4138,49 @@ const he = (e, t) => {
|
|
|
4189
4138
|
);
|
|
4190
4139
|
}
|
|
4191
4140
|
return c;
|
|
4192
|
-
},
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
|
|
4196
|
-
|
|
4197
|
-
|
|
4198
|
-
window.emWidgets = { topic:
|
|
4199
|
-
const
|
|
4200
|
-
function
|
|
4201
|
-
|
|
4202
|
-
}
|
|
4203
|
-
function
|
|
4141
|
+
}, zi = (e, t) => Vi(t).format(e), Zi = (e, t) => ji(t).format(e), Qi = (e, t) => $i(t).format(e), qi = (e, t = V()) => fr(e, t);
|
|
4142
|
+
ne([ce, fe], () => Wi);
|
|
4143
|
+
ne([ce], () => zi);
|
|
4144
|
+
ne([ce], () => Zi);
|
|
4145
|
+
ne([ce], () => Qi);
|
|
4146
|
+
ne([ce, fe], () => qi);
|
|
4147
|
+
window.emWidgets = { topic: un };
|
|
4148
|
+
const Ji = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4149
|
+
function Yi(e) {
|
|
4150
|
+
xr(e, "svelte-1qjm30h", ":host{font-family:system-ui, -apple-system, Roboto, Helvetica}.FooterItem{display:inline-block;padding:0 12px}.FooterItem .FooterSponsorLink,.FooterItem .FooterPaymentLink{display:block}.FooterItem .FooterSponsorLink{display:flex;align-items:center}.FooterItem .FooterPaymentLink,.FooterItem .FooterHelperLink{display:flex;align-items:center;justify-content:center}.FooterItem .FooterLinkDisabled{pointer-events:none;cursor:auto}.FooterItem .SponsorTitle,.FooterItem .PaymentTitle{font-size:9px;text-decoration:none;color:var(--emw--color-gray-150, #828282);text-align:center}.FooterItem .HelperTitle{color:var(--emw--footer-typography, var(--emw--color-contrast, #111));font-size:8px}.FooterItem.HelperLinkItem p{font-size:10px}.FooterItem .FooterItemAnchor{display:flex;flex-direction:column;gap:6px;text-decoration:none;cursor:pointer;border:none;background:transparent;padding:0}.FooterItem.SocialItem .FooterItemAnchor{width:42px;height:42px}.FooterItem .FooterImage{min-height:38px}.SponsorTitle{margin:0}.FooterLink{display:block;text-align:center}.DisplayColumn .FooterItemAnchor{flex-direction:row}.DisplayColumn .FooterImage{height:16px;width:16px;min-height:unset}.DisplayColumn.FooterItem.HelperLinkItem p{font-size:12px}@media only screen and (max-width: 768px){.FooterItem{padding:0 5px}.FooterItem.PaymentItem{padding:15px 5px}.FooterItem.GameVendorItem{padding:0 10px}}");
|
|
4151
|
+
}
|
|
4152
|
+
function Ki(e) {
|
|
4204
4153
|
let t;
|
|
4205
4154
|
function r(o, l) {
|
|
4206
4155
|
if (
|
|
4207
4156
|
/*sponsorimage*/
|
|
4208
4157
|
o[1]
|
|
4209
|
-
) return
|
|
4158
|
+
) return so;
|
|
4210
4159
|
if (
|
|
4211
4160
|
/*paymentimage*/
|
|
4212
4161
|
o[4]
|
|
4213
|
-
) return
|
|
4162
|
+
) return oo;
|
|
4214
4163
|
if (
|
|
4215
4164
|
/*vendorimage*/
|
|
4216
4165
|
o[7]
|
|
4217
|
-
) return
|
|
4166
|
+
) return io;
|
|
4218
4167
|
if (
|
|
4219
4168
|
/*helperlinkurl*/
|
|
4220
4169
|
o[9]
|
|
4221
|
-
) return
|
|
4170
|
+
) return no;
|
|
4222
4171
|
if (
|
|
4223
4172
|
/*licenseimage*/
|
|
4224
4173
|
o[13]
|
|
4225
|
-
) return
|
|
4174
|
+
) return ro;
|
|
4226
4175
|
if (
|
|
4227
4176
|
/*sociallinkimage*/
|
|
4228
4177
|
o[16]
|
|
4229
|
-
) return
|
|
4178
|
+
) return to;
|
|
4230
4179
|
}
|
|
4231
4180
|
let n = r(e), i = n && n(e);
|
|
4232
4181
|
return {
|
|
4233
4182
|
c() {
|
|
4234
|
-
i && i.c(), t =
|
|
4183
|
+
i && i.c(), t = Ut();
|
|
4235
4184
|
},
|
|
4236
4185
|
m(o, l) {
|
|
4237
4186
|
i && i.m(o, l), F(o, t, l);
|
|
@@ -4244,38 +4193,38 @@ function co(e) {
|
|
|
4244
4193
|
}
|
|
4245
4194
|
};
|
|
4246
4195
|
}
|
|
4247
|
-
function
|
|
4196
|
+
function eo(e) {
|
|
4248
4197
|
let t;
|
|
4249
4198
|
function r(o, l) {
|
|
4250
4199
|
if (
|
|
4251
4200
|
/*sponsorimage*/
|
|
4252
4201
|
o[1]
|
|
4253
|
-
) return
|
|
4202
|
+
) return co;
|
|
4254
4203
|
if (
|
|
4255
4204
|
/*paymentimage*/
|
|
4256
4205
|
o[4]
|
|
4257
|
-
) return
|
|
4206
|
+
) return fo;
|
|
4258
4207
|
if (
|
|
4259
4208
|
/*vendorimage*/
|
|
4260
4209
|
o[7]
|
|
4261
|
-
) return
|
|
4210
|
+
) return ho;
|
|
4262
4211
|
if (
|
|
4263
4212
|
/*helperlinkurl*/
|
|
4264
4213
|
o[9]
|
|
4265
|
-
) return
|
|
4214
|
+
) return uo;
|
|
4266
4215
|
if (
|
|
4267
4216
|
/*licenseimage*/
|
|
4268
4217
|
o[13]
|
|
4269
|
-
) return
|
|
4218
|
+
) return lo;
|
|
4270
4219
|
if (
|
|
4271
4220
|
/*sociallinkimage*/
|
|
4272
4221
|
o[16]
|
|
4273
|
-
) return
|
|
4222
|
+
) return ao;
|
|
4274
4223
|
}
|
|
4275
4224
|
let n = r(e), i = n && n(e);
|
|
4276
4225
|
return {
|
|
4277
4226
|
c() {
|
|
4278
|
-
i && i.c(), t =
|
|
4227
|
+
i && i.c(), t = Ut();
|
|
4279
4228
|
},
|
|
4280
4229
|
m(o, l) {
|
|
4281
4230
|
i && i.m(o, l), F(o, t, l);
|
|
@@ -4288,159 +4237,159 @@ function mo(e) {
|
|
|
4288
4237
|
}
|
|
4289
4238
|
};
|
|
4290
4239
|
}
|
|
4291
|
-
function
|
|
4292
|
-
let t, r, n, i, o, l,
|
|
4240
|
+
function to(e) {
|
|
4241
|
+
let t, r, n, i, o, l, h, f;
|
|
4293
4242
|
return {
|
|
4294
4243
|
c() {
|
|
4295
|
-
t = d("div"), r = d("button"), n = d("img"),
|
|
4296
|
-
e[16]) ||
|
|
4244
|
+
t = d("div"), r = d("button"), n = d("img"), u(n, "class", "FooterImage"), u(n, "part", "FooterImage"), A(n.src, i = /*sociallinkimage*/
|
|
4245
|
+
e[16]) || u(n, "src", i), u(n, "title", o = /*sociallinktitle*/
|
|
4297
4246
|
e[17] || /*sociallinkurl*/
|
|
4298
|
-
e[15]),
|
|
4299
|
-
(e[15] ? "" : "FooterLinkDisabled") + " FooterItemAnchor"),
|
|
4247
|
+
e[15]), u(r, "class", l = "FooterLink " + /*sociallinkurl*/
|
|
4248
|
+
(e[15] ? "" : "FooterLinkDisabled") + " FooterItemAnchor"), u(t, "class", "FooterItem SocialItem"), u(t, "part", "FooterItem SocialItem");
|
|
4300
4249
|
},
|
|
4301
|
-
m(
|
|
4302
|
-
F(
|
|
4250
|
+
m(a, s) {
|
|
4251
|
+
F(a, t, s), g(t, r), g(r, n), h || (f = te(
|
|
4303
4252
|
r,
|
|
4304
4253
|
"click",
|
|
4305
4254
|
/*click_handler_5*/
|
|
4306
4255
|
e[33]
|
|
4307
|
-
),
|
|
4256
|
+
), h = !0);
|
|
4308
4257
|
},
|
|
4309
|
-
p(
|
|
4310
|
-
|
|
4258
|
+
p(a, s) {
|
|
4259
|
+
s[0] & /*sociallinkimage*/
|
|
4311
4260
|
65536 && !A(n.src, i = /*sociallinkimage*/
|
|
4312
|
-
|
|
4261
|
+
a[16]) && u(n, "src", i), s[0] & /*sociallinktitle, sociallinkurl*/
|
|
4313
4262
|
163840 && o !== (o = /*sociallinktitle*/
|
|
4314
|
-
|
|
4315
|
-
|
|
4263
|
+
a[17] || /*sociallinkurl*/
|
|
4264
|
+
a[15]) && u(n, "title", o), s[0] & /*sociallinkurl*/
|
|
4316
4265
|
32768 && l !== (l = "FooterLink " + /*sociallinkurl*/
|
|
4317
|
-
(
|
|
4266
|
+
(a[15] ? "" : "FooterLinkDisabled") + " FooterItemAnchor") && u(r, "class", l);
|
|
4318
4267
|
},
|
|
4319
|
-
d(
|
|
4320
|
-
|
|
4268
|
+
d(a) {
|
|
4269
|
+
a && H(t), h = !1, f();
|
|
4321
4270
|
}
|
|
4322
4271
|
};
|
|
4323
4272
|
}
|
|
4324
|
-
function
|
|
4325
|
-
let t, r, n, i, o, l,
|
|
4273
|
+
function ro(e) {
|
|
4274
|
+
let t, r, n, i, o, l, h, f;
|
|
4326
4275
|
return {
|
|
4327
4276
|
c() {
|
|
4328
|
-
t = d("div"), r = d("button"), n = d("img"),
|
|
4329
|
-
e[13]) ||
|
|
4277
|
+
t = d("div"), r = d("button"), n = d("img"), u(n, "class", "FooterImage"), u(n, "part", "FooterImage"), A(n.src, i = /*licenseimage*/
|
|
4278
|
+
e[13]) || u(n, "src", i), u(n, "title", o = /*licensetitle*/
|
|
4330
4279
|
e[14] || /*licenseurl*/
|
|
4331
|
-
e[12]),
|
|
4332
|
-
(e[12] ? "" : "FooterLinkDisabled") + " FooterItemAnchor"),
|
|
4280
|
+
e[12]), u(r, "class", l = "FooterLink " + /*licenseurl*/
|
|
4281
|
+
(e[12] ? "" : "FooterLinkDisabled") + " FooterItemAnchor"), u(t, "class", "FooterItem"), u(t, "part", "FooterItem");
|
|
4333
4282
|
},
|
|
4334
|
-
m(
|
|
4335
|
-
F(
|
|
4283
|
+
m(a, s) {
|
|
4284
|
+
F(a, t, s), g(t, r), g(r, n), h || (f = te(
|
|
4336
4285
|
r,
|
|
4337
4286
|
"click",
|
|
4338
4287
|
/*click_handler_4*/
|
|
4339
4288
|
e[32]
|
|
4340
|
-
),
|
|
4289
|
+
), h = !0);
|
|
4341
4290
|
},
|
|
4342
|
-
p(
|
|
4343
|
-
|
|
4291
|
+
p(a, s) {
|
|
4292
|
+
s[0] & /*licenseimage*/
|
|
4344
4293
|
8192 && !A(n.src, i = /*licenseimage*/
|
|
4345
|
-
|
|
4294
|
+
a[13]) && u(n, "src", i), s[0] & /*licensetitle, licenseurl*/
|
|
4346
4295
|
20480 && o !== (o = /*licensetitle*/
|
|
4347
|
-
|
|
4348
|
-
|
|
4296
|
+
a[14] || /*licenseurl*/
|
|
4297
|
+
a[12]) && u(n, "title", o), s[0] & /*licenseurl*/
|
|
4349
4298
|
4096 && l !== (l = "FooterLink " + /*licenseurl*/
|
|
4350
|
-
(
|
|
4299
|
+
(a[12] ? "" : "FooterLinkDisabled") + " FooterItemAnchor") && u(r, "class", l);
|
|
4351
4300
|
},
|
|
4352
|
-
d(
|
|
4353
|
-
|
|
4301
|
+
d(a) {
|
|
4302
|
+
a && H(t), h = !1, f();
|
|
4354
4303
|
}
|
|
4355
4304
|
};
|
|
4356
4305
|
}
|
|
4357
|
-
function
|
|
4358
|
-
let t, r, n, i, o, l,
|
|
4306
|
+
function no(e) {
|
|
4307
|
+
let t, r, n, i, o, l, h, f = (
|
|
4359
4308
|
/*helperlinkimage*/
|
|
4360
|
-
e[10] &&
|
|
4361
|
-
),
|
|
4309
|
+
e[10] && xt(e)
|
|
4310
|
+
), a = (
|
|
4362
4311
|
/*helperlinktitle*/
|
|
4363
|
-
e[11] &&
|
|
4312
|
+
e[11] && Bt(e)
|
|
4364
4313
|
);
|
|
4365
4314
|
return {
|
|
4366
4315
|
c() {
|
|
4367
|
-
t = d("div"), r = d("button"), f && f.c(), n =
|
|
4316
|
+
t = d("div"), r = d("button"), f && f.c(), n = ee(), a && a.c(), u(r, "class", i = /*helperlinktitle*/
|
|
4368
4317
|
(e[11] ? "FooterHelperLink" : "") + " " + /*helperlinkurl*/
|
|
4369
|
-
(e[9] ? "" : "FooterLinkDisabled") + " FooterItemAnchor"),
|
|
4370
|
-
(e[20] == "true" ? "DisplayColumn" : "")),
|
|
4318
|
+
(e[9] ? "" : "FooterLinkDisabled") + " FooterItemAnchor"), u(t, "class", o = "FooterItem HelperLinkItem " + /*displaycolumn*/
|
|
4319
|
+
(e[20] == "true" ? "DisplayColumn" : "")), u(t, "part", "FooterItem HelperLinkItem");
|
|
4371
4320
|
},
|
|
4372
|
-
m(
|
|
4373
|
-
F(
|
|
4321
|
+
m(s, c) {
|
|
4322
|
+
F(s, t, c), g(t, r), f && f.m(r, null), g(r, n), a && a.m(r, null), l || (h = te(
|
|
4374
4323
|
r,
|
|
4375
4324
|
"click",
|
|
4376
4325
|
/*click_handler_3*/
|
|
4377
4326
|
e[31]
|
|
4378
4327
|
), l = !0);
|
|
4379
4328
|
},
|
|
4380
|
-
p(
|
|
4329
|
+
p(s, c) {
|
|
4381
4330
|
/*helperlinkimage*/
|
|
4382
|
-
|
|
4383
|
-
|
|
4331
|
+
s[10] ? f ? f.p(s, c) : (f = xt(s), f.c(), f.m(r, n)) : f && (f.d(1), f = null), /*helperlinktitle*/
|
|
4332
|
+
s[11] ? a ? a.p(s, c) : (a = Bt(s), a.c(), a.m(r, null)) : a && (a.d(1), a = null), c[0] & /*helperlinktitle, helperlinkurl*/
|
|
4384
4333
|
2560 && i !== (i = /*helperlinktitle*/
|
|
4385
|
-
(
|
|
4386
|
-
(
|
|
4334
|
+
(s[11] ? "FooterHelperLink" : "") + " " + /*helperlinkurl*/
|
|
4335
|
+
(s[9] ? "" : "FooterLinkDisabled") + " FooterItemAnchor") && u(r, "class", i), c[0] & /*displaycolumn*/
|
|
4387
4336
|
1048576 && o !== (o = "FooterItem HelperLinkItem " + /*displaycolumn*/
|
|
4388
|
-
(
|
|
4337
|
+
(s[20] == "true" ? "DisplayColumn" : "")) && u(t, "class", o);
|
|
4389
4338
|
},
|
|
4390
|
-
d(
|
|
4391
|
-
|
|
4339
|
+
d(s) {
|
|
4340
|
+
s && H(t), f && f.d(), a && a.d(), l = !1, h();
|
|
4392
4341
|
}
|
|
4393
4342
|
};
|
|
4394
4343
|
}
|
|
4395
|
-
function
|
|
4396
|
-
let t, r, n, i, o, l,
|
|
4344
|
+
function io(e) {
|
|
4345
|
+
let t, r, n, i, o, l, h, f;
|
|
4397
4346
|
return {
|
|
4398
4347
|
c() {
|
|
4399
|
-
t = d("div"), r = d("button"), n = d("img"),
|
|
4400
|
-
e[7]) ||
|
|
4348
|
+
t = d("div"), r = d("button"), n = d("img"), u(n, "class", "FooterImage"), u(n, "part", "FooterImage"), A(n.src, i = /*vendorimage*/
|
|
4349
|
+
e[7]) || u(n, "src", i), u(n, "title", o = /*vendortitle*/
|
|
4401
4350
|
e[8] || /*vendorurl*/
|
|
4402
|
-
e[6]),
|
|
4403
|
-
(e[6] ? "" : "FooterLinkDisabled") + " FooterItemAnchor"),
|
|
4351
|
+
e[6]), u(r, "class", l = /*vendorurl*/
|
|
4352
|
+
(e[6] ? "" : "FooterLinkDisabled") + " FooterItemAnchor"), u(t, "class", "FooterItem GameVendorItem"), u(t, "part", "FooterItem GameVendorItem");
|
|
4404
4353
|
},
|
|
4405
|
-
m(
|
|
4406
|
-
F(
|
|
4354
|
+
m(a, s) {
|
|
4355
|
+
F(a, t, s), g(t, r), g(r, n), h || (f = te(
|
|
4407
4356
|
r,
|
|
4408
4357
|
"click",
|
|
4409
4358
|
/*click_handler_2*/
|
|
4410
4359
|
e[30]
|
|
4411
|
-
),
|
|
4360
|
+
), h = !0);
|
|
4412
4361
|
},
|
|
4413
|
-
p(
|
|
4414
|
-
|
|
4362
|
+
p(a, s) {
|
|
4363
|
+
s[0] & /*vendorimage*/
|
|
4415
4364
|
128 && !A(n.src, i = /*vendorimage*/
|
|
4416
|
-
|
|
4365
|
+
a[7]) && u(n, "src", i), s[0] & /*vendortitle, vendorurl*/
|
|
4417
4366
|
320 && o !== (o = /*vendortitle*/
|
|
4418
|
-
|
|
4419
|
-
|
|
4367
|
+
a[8] || /*vendorurl*/
|
|
4368
|
+
a[6]) && u(n, "title", o), s[0] & /*vendorurl*/
|
|
4420
4369
|
64 && l !== (l = /*vendorurl*/
|
|
4421
|
-
(
|
|
4370
|
+
(a[6] ? "" : "FooterLinkDisabled") + " FooterItemAnchor") && u(r, "class", l);
|
|
4422
4371
|
},
|
|
4423
|
-
d(
|
|
4424
|
-
|
|
4372
|
+
d(a) {
|
|
4373
|
+
a && H(t), h = !1, f();
|
|
4425
4374
|
}
|
|
4426
4375
|
};
|
|
4427
4376
|
}
|
|
4428
|
-
function
|
|
4429
|
-
let t, r, n, i, o, l,
|
|
4377
|
+
function oo(e) {
|
|
4378
|
+
let t, r, n, i, o, l, h, f, a, s = (
|
|
4430
4379
|
/*paymenttitle*/
|
|
4431
|
-
e[5] &&
|
|
4380
|
+
e[5] && wt(e)
|
|
4432
4381
|
);
|
|
4433
4382
|
return {
|
|
4434
4383
|
c() {
|
|
4435
|
-
t = d("div"), r = d("button"), n = d("img"), l =
|
|
4436
|
-
e[4]) ||
|
|
4384
|
+
t = d("div"), r = d("button"), n = d("img"), l = ee(), s && s.c(), u(n, "class", "FooterImage"), u(n, "part", "FooterImage"), A(n.src, i = /*paymentimage*/
|
|
4385
|
+
e[4]) || u(n, "src", i), u(n, "title", o = /*paymenttitle*/
|
|
4437
4386
|
e[5] || /*paymenturl*/
|
|
4438
|
-
e[3]),
|
|
4387
|
+
e[3]), u(r, "class", h = /*paymenttitle*/
|
|
4439
4388
|
(e[5] ? "FooterPaymentLink" : "") + " " + /*paymenturl*/
|
|
4440
|
-
(e[3] ? "" : "FooterLinkDisabled") + " FooterItemAnchor"),
|
|
4389
|
+
(e[3] ? "" : "FooterLinkDisabled") + " FooterItemAnchor"), u(t, "class", "FooterItem PaymentItem"), u(t, "part", "FooterItem PaymentItem");
|
|
4441
4390
|
},
|
|
4442
4391
|
m(c, m) {
|
|
4443
|
-
F(c, t, m), g(t, r), g(r, n), g(r, l),
|
|
4392
|
+
F(c, t, m), g(t, r), g(r, n), g(r, l), s && s.m(r, null), f || (a = te(
|
|
4444
4393
|
r,
|
|
4445
4394
|
"click",
|
|
4446
4395
|
/*click_handler_1*/
|
|
@@ -4450,36 +4399,36 @@ function vo(e) {
|
|
|
4450
4399
|
p(c, m) {
|
|
4451
4400
|
m[0] & /*paymentimage*/
|
|
4452
4401
|
16 && !A(n.src, i = /*paymentimage*/
|
|
4453
|
-
c[4]) &&
|
|
4402
|
+
c[4]) && u(n, "src", i), m[0] & /*paymenttitle, paymenturl*/
|
|
4454
4403
|
40 && o !== (o = /*paymenttitle*/
|
|
4455
4404
|
c[5] || /*paymenturl*/
|
|
4456
|
-
c[3]) &&
|
|
4457
|
-
c[5] ?
|
|
4458
|
-
40 &&
|
|
4405
|
+
c[3]) && u(n, "title", o), /*paymenttitle*/
|
|
4406
|
+
c[5] ? s ? s.p(c, m) : (s = wt(c), s.c(), s.m(r, null)) : s && (s.d(1), s = null), m[0] & /*paymenttitle, paymenturl*/
|
|
4407
|
+
40 && h !== (h = /*paymenttitle*/
|
|
4459
4408
|
(c[5] ? "FooterPaymentLink" : "") + " " + /*paymenturl*/
|
|
4460
|
-
(c[3] ? "" : "FooterLinkDisabled") + " FooterItemAnchor") &&
|
|
4409
|
+
(c[3] ? "" : "FooterLinkDisabled") + " FooterItemAnchor") && u(r, "class", h);
|
|
4461
4410
|
},
|
|
4462
4411
|
d(c) {
|
|
4463
|
-
c && H(t),
|
|
4412
|
+
c && H(t), s && s.d(), f = !1, a();
|
|
4464
4413
|
}
|
|
4465
4414
|
};
|
|
4466
4415
|
}
|
|
4467
|
-
function
|
|
4468
|
-
let t, r, n, i, o, l,
|
|
4416
|
+
function so(e) {
|
|
4417
|
+
let t, r, n, i, o, l, h, f, a, s = (
|
|
4469
4418
|
/*sponsortitle*/
|
|
4470
|
-
e[2] &&
|
|
4419
|
+
e[2] && Ot(e)
|
|
4471
4420
|
);
|
|
4472
4421
|
return {
|
|
4473
4422
|
c() {
|
|
4474
|
-
t = d("div"), r = d("button"), n = d("img"), l =
|
|
4475
|
-
e[1]) ||
|
|
4423
|
+
t = d("div"), r = d("button"), n = d("img"), l = ee(), s && s.c(), u(n, "class", "FooterImage"), u(n, "part", "FooterImage"), A(n.src, i = /*sponsorimage*/
|
|
4424
|
+
e[1]) || u(n, "src", i), u(n, "title", o = /*sponsortitle*/
|
|
4476
4425
|
e[2] || /*sponsorurl*/
|
|
4477
|
-
e[0]),
|
|
4426
|
+
e[0]), u(r, "class", h = /*sponsortitle*/
|
|
4478
4427
|
(e[2] ? "FooterSponsorLink" : "") + " " + /*sponsorurl*/
|
|
4479
|
-
(e[0] ? "" : "FooterLinkDisabled") + " FooterItemAnchor"),
|
|
4428
|
+
(e[0] ? "" : "FooterLinkDisabled") + " FooterItemAnchor"), u(t, "class", "FooterItem SponsorItem"), u(t, "part", "FooterItem SponsorItem");
|
|
4480
4429
|
},
|
|
4481
4430
|
m(c, m) {
|
|
4482
|
-
F(c, t, m), g(t, r), g(r, n), g(r, l),
|
|
4431
|
+
F(c, t, m), g(t, r), g(r, n), g(r, l), s && s.m(r, null), f || (a = te(
|
|
4483
4432
|
r,
|
|
4484
4433
|
"click",
|
|
4485
4434
|
/*click_handler*/
|
|
@@ -4489,26 +4438,26 @@ function yo(e) {
|
|
|
4489
4438
|
p(c, m) {
|
|
4490
4439
|
m[0] & /*sponsorimage*/
|
|
4491
4440
|
2 && !A(n.src, i = /*sponsorimage*/
|
|
4492
|
-
c[1]) &&
|
|
4441
|
+
c[1]) && u(n, "src", i), m[0] & /*sponsortitle, sponsorurl*/
|
|
4493
4442
|
5 && o !== (o = /*sponsortitle*/
|
|
4494
4443
|
c[2] || /*sponsorurl*/
|
|
4495
|
-
c[0]) &&
|
|
4496
|
-
c[2] ?
|
|
4497
|
-
5 &&
|
|
4444
|
+
c[0]) && u(n, "title", o), /*sponsortitle*/
|
|
4445
|
+
c[2] ? s ? s.p(c, m) : (s = Ot(c), s.c(), s.m(r, null)) : s && (s.d(1), s = null), m[0] & /*sponsortitle, sponsorurl*/
|
|
4446
|
+
5 && h !== (h = /*sponsortitle*/
|
|
4498
4447
|
(c[2] ? "FooterSponsorLink" : "") + " " + /*sponsorurl*/
|
|
4499
|
-
(c[0] ? "" : "FooterLinkDisabled") + " FooterItemAnchor") &&
|
|
4448
|
+
(c[0] ? "" : "FooterLinkDisabled") + " FooterItemAnchor") && u(r, "class", h);
|
|
4500
4449
|
},
|
|
4501
4450
|
d(c) {
|
|
4502
|
-
c && H(t),
|
|
4451
|
+
c && H(t), s && s.d(), f = !1, a();
|
|
4503
4452
|
}
|
|
4504
4453
|
};
|
|
4505
4454
|
}
|
|
4506
|
-
function
|
|
4455
|
+
function xt(e) {
|
|
4507
4456
|
let t, r, n;
|
|
4508
4457
|
return {
|
|
4509
4458
|
c() {
|
|
4510
|
-
t = d("img"),
|
|
4511
|
-
e[10]) ||
|
|
4459
|
+
t = d("img"), u(t, "class", "FooterImage"), u(t, "part", "FooterImage"), A(t.src, r = /*helperlinkimage*/
|
|
4460
|
+
e[10]) || u(t, "src", r), u(t, "title", n = /*helperlinktitle*/
|
|
4512
4461
|
e[11] || /*helperlinkurl*/
|
|
4513
4462
|
e[9]);
|
|
4514
4463
|
},
|
|
@@ -4518,31 +4467,31 @@ function Dt(e) {
|
|
|
4518
4467
|
p(i, o) {
|
|
4519
4468
|
o[0] & /*helperlinkimage*/
|
|
4520
4469
|
1024 && !A(t.src, r = /*helperlinkimage*/
|
|
4521
|
-
i[10]) &&
|
|
4470
|
+
i[10]) && u(t, "src", r), o[0] & /*helperlinktitle, helperlinkurl*/
|
|
4522
4471
|
2560 && n !== (n = /*helperlinktitle*/
|
|
4523
4472
|
i[11] || /*helperlinkurl*/
|
|
4524
|
-
i[9]) &&
|
|
4473
|
+
i[9]) && u(t, "title", n);
|
|
4525
4474
|
},
|
|
4526
4475
|
d(i) {
|
|
4527
4476
|
i && H(t);
|
|
4528
4477
|
}
|
|
4529
4478
|
};
|
|
4530
4479
|
}
|
|
4531
|
-
function
|
|
4480
|
+
function Bt(e) {
|
|
4532
4481
|
let t, r;
|
|
4533
4482
|
return {
|
|
4534
4483
|
c() {
|
|
4535
|
-
t = d("p"), r =
|
|
4484
|
+
t = d("p"), r = U(
|
|
4536
4485
|
/*helperlinktitle*/
|
|
4537
4486
|
e[11]
|
|
4538
|
-
),
|
|
4487
|
+
), u(t, "class", "HelperTitle"), u(t, "part", "HelperTitle");
|
|
4539
4488
|
},
|
|
4540
4489
|
m(n, i) {
|
|
4541
4490
|
F(n, t, i), g(t, r);
|
|
4542
4491
|
},
|
|
4543
4492
|
p(n, i) {
|
|
4544
4493
|
i[0] & /*helperlinktitle*/
|
|
4545
|
-
2048 &&
|
|
4494
|
+
2048 && re(
|
|
4546
4495
|
r,
|
|
4547
4496
|
/*helperlinktitle*/
|
|
4548
4497
|
n[11]
|
|
@@ -4553,21 +4502,21 @@ function Rt(e) {
|
|
|
4553
4502
|
}
|
|
4554
4503
|
};
|
|
4555
4504
|
}
|
|
4556
|
-
function
|
|
4505
|
+
function wt(e) {
|
|
4557
4506
|
let t, r;
|
|
4558
4507
|
return {
|
|
4559
4508
|
c() {
|
|
4560
|
-
t = d("p"), r =
|
|
4509
|
+
t = d("p"), r = U(
|
|
4561
4510
|
/*paymenttitle*/
|
|
4562
4511
|
e[5]
|
|
4563
|
-
),
|
|
4512
|
+
), u(t, "class", "PaymentTitle"), u(t, "part", "PaymentTitle");
|
|
4564
4513
|
},
|
|
4565
4514
|
m(n, i) {
|
|
4566
4515
|
F(n, t, i), g(t, r);
|
|
4567
4516
|
},
|
|
4568
4517
|
p(n, i) {
|
|
4569
4518
|
i[0] & /*paymenttitle*/
|
|
4570
|
-
32 &&
|
|
4519
|
+
32 && re(
|
|
4571
4520
|
r,
|
|
4572
4521
|
/*paymenttitle*/
|
|
4573
4522
|
n[5]
|
|
@@ -4578,21 +4527,21 @@ function Ut(e) {
|
|
|
4578
4527
|
}
|
|
4579
4528
|
};
|
|
4580
4529
|
}
|
|
4581
|
-
function
|
|
4530
|
+
function Ot(e) {
|
|
4582
4531
|
let t, r;
|
|
4583
4532
|
return {
|
|
4584
4533
|
c() {
|
|
4585
|
-
t = d("p"), r =
|
|
4534
|
+
t = d("p"), r = U(
|
|
4586
4535
|
/*sponsortitle*/
|
|
4587
4536
|
e[2]
|
|
4588
|
-
),
|
|
4537
|
+
), u(t, "class", "SponsorTitle"), u(t, "part", "SponsorTitle");
|
|
4589
4538
|
},
|
|
4590
4539
|
m(n, i) {
|
|
4591
4540
|
F(n, t, i), g(t, r);
|
|
4592
4541
|
},
|
|
4593
4542
|
p(n, i) {
|
|
4594
4543
|
i[0] & /*sponsortitle*/
|
|
4595
|
-
4 &&
|
|
4544
|
+
4 && re(
|
|
4596
4545
|
r,
|
|
4597
4546
|
/*sponsortitle*/
|
|
4598
4547
|
n[2]
|
|
@@ -4603,16 +4552,16 @@ function Gt(e) {
|
|
|
4603
4552
|
}
|
|
4604
4553
|
};
|
|
4605
4554
|
}
|
|
4606
|
-
function
|
|
4607
|
-
let t, r, n, i, o, l,
|
|
4555
|
+
function ao(e) {
|
|
4556
|
+
let t, r, n, i, o, l, h, f;
|
|
4608
4557
|
return {
|
|
4609
4558
|
c() {
|
|
4610
|
-
t = d("div"), r = d("a"), n = d("img"),
|
|
4611
|
-
e[16]) ||
|
|
4559
|
+
t = d("div"), r = d("a"), n = d("img"), u(n, "class", "FooterImage"), u(n, "part", "FooterImage"), A(n.src, i = /*sociallinkimage*/
|
|
4560
|
+
e[16]) || u(n, "src", i), u(n, "title", o = /*sociallinktitle*/
|
|
4612
4561
|
e[17] || /*sociallinkurl*/
|
|
4613
|
-
e[15]),
|
|
4614
|
-
(e[15] ? "" : "FooterLinkDisabled") + " FooterItemAnchor"),
|
|
4615
|
-
(e[15] ? "" : "FooterLinkDisabled") + " FooterItemAnchor"),
|
|
4562
|
+
e[15]), u(r, "class", l = "FooterLink " + /*sociallinkurl*/
|
|
4563
|
+
(e[15] ? "" : "FooterLinkDisabled") + " FooterItemAnchor"), u(r, "part", h = "FooterLink " + /*sociallinkurl*/
|
|
4564
|
+
(e[15] ? "" : "FooterLinkDisabled") + " FooterItemAnchor"), u(r, "href", f = /*linktype*/
|
|
4616
4565
|
e[19] ? (
|
|
4617
4566
|
/*sociallinkurl*/
|
|
4618
4567
|
e[15]
|
|
@@ -4621,59 +4570,59 @@ function Eo(e) {
|
|
|
4621
4570
|
e[21] + `/${/*lang*/
|
|
4622
4571
|
e[22]}/` + /*sociallinkurl*/
|
|
4623
4572
|
e[15]
|
|
4624
|
-
)),
|
|
4573
|
+
)), u(
|
|
4625
4574
|
r,
|
|
4626
4575
|
"target",
|
|
4627
4576
|
/*target*/
|
|
4628
4577
|
e[18]
|
|
4629
|
-
),
|
|
4578
|
+
), u(t, "class", "FooterItem SocialItem"), u(t, "part", "FooterItem SocialItem");
|
|
4630
4579
|
},
|
|
4631
|
-
m(
|
|
4632
|
-
F(
|
|
4580
|
+
m(a, s) {
|
|
4581
|
+
F(a, t, s), g(t, r), g(r, n);
|
|
4633
4582
|
},
|
|
4634
|
-
p(
|
|
4635
|
-
|
|
4583
|
+
p(a, s) {
|
|
4584
|
+
s[0] & /*sociallinkimage*/
|
|
4636
4585
|
65536 && !A(n.src, i = /*sociallinkimage*/
|
|
4637
|
-
|
|
4586
|
+
a[16]) && u(n, "src", i), s[0] & /*sociallinktitle, sociallinkurl*/
|
|
4638
4587
|
163840 && o !== (o = /*sociallinktitle*/
|
|
4639
|
-
|
|
4640
|
-
|
|
4588
|
+
a[17] || /*sociallinkurl*/
|
|
4589
|
+
a[15]) && u(n, "title", o), s[0] & /*sociallinkurl*/
|
|
4641
4590
|
32768 && l !== (l = "FooterLink " + /*sociallinkurl*/
|
|
4642
|
-
(
|
|
4643
|
-
32768 &&
|
|
4644
|
-
(
|
|
4591
|
+
(a[15] ? "" : "FooterLinkDisabled") + " FooterItemAnchor") && u(r, "class", l), s[0] & /*sociallinkurl*/
|
|
4592
|
+
32768 && h !== (h = "FooterLink " + /*sociallinkurl*/
|
|
4593
|
+
(a[15] ? "" : "FooterLinkDisabled") + " FooterItemAnchor") && u(r, "part", h), s[0] & /*linktype, sociallinkurl, baseurl, lang*/
|
|
4645
4594
|
6848512 && f !== (f = /*linktype*/
|
|
4646
|
-
|
|
4595
|
+
a[19] ? (
|
|
4647
4596
|
/*sociallinkurl*/
|
|
4648
|
-
|
|
4597
|
+
a[15]
|
|
4649
4598
|
) : (
|
|
4650
4599
|
/*baseurl*/
|
|
4651
|
-
|
|
4652
|
-
|
|
4653
|
-
|
|
4654
|
-
)) &&
|
|
4655
|
-
262144 &&
|
|
4600
|
+
a[21] + `/${/*lang*/
|
|
4601
|
+
a[22]}/` + /*sociallinkurl*/
|
|
4602
|
+
a[15]
|
|
4603
|
+
)) && u(r, "href", f), s[0] & /*target*/
|
|
4604
|
+
262144 && u(
|
|
4656
4605
|
r,
|
|
4657
4606
|
"target",
|
|
4658
4607
|
/*target*/
|
|
4659
|
-
|
|
4608
|
+
a[18]
|
|
4660
4609
|
);
|
|
4661
4610
|
},
|
|
4662
|
-
d(
|
|
4663
|
-
|
|
4611
|
+
d(a) {
|
|
4612
|
+
a && H(t);
|
|
4664
4613
|
}
|
|
4665
4614
|
};
|
|
4666
4615
|
}
|
|
4667
|
-
function
|
|
4668
|
-
let t, r, n, i, o, l,
|
|
4616
|
+
function lo(e) {
|
|
4617
|
+
let t, r, n, i, o, l, h, f;
|
|
4669
4618
|
return {
|
|
4670
4619
|
c() {
|
|
4671
|
-
t = d("div"), r = d("a"), n = d("img"),
|
|
4672
|
-
e[13]) ||
|
|
4620
|
+
t = d("div"), r = d("a"), n = d("img"), u(n, "class", "FooterImage"), u(n, "part", "FooterImage"), A(n.src, i = /*licenseimage*/
|
|
4621
|
+
e[13]) || u(n, "src", i), u(n, "title", o = /*licensetitle*/
|
|
4673
4622
|
e[14] || /*licenseurl*/
|
|
4674
|
-
e[12]),
|
|
4675
|
-
(e[12] ? "" : "FooterLinkDisabled") + " FooterItemAnchor"),
|
|
4676
|
-
(e[12] ? "" : "FooterLinkDisabled") + " FooterItemAnchor"),
|
|
4623
|
+
e[12]), u(r, "class", l = "FooterLink " + /*licenseurl*/
|
|
4624
|
+
(e[12] ? "" : "FooterLinkDisabled") + " FooterItemAnchor"), u(r, "part", h = "FooterLink " + /*licenseurl*/
|
|
4625
|
+
(e[12] ? "" : "FooterLinkDisabled") + " FooterItemAnchor"), u(r, "href", f = /*linktype*/
|
|
4677
4626
|
e[19] ? (
|
|
4678
4627
|
/*licenseurl*/
|
|
4679
4628
|
e[12]
|
|
@@ -4682,64 +4631,64 @@ function Io(e) {
|
|
|
4682
4631
|
e[21] + `/${/*lang*/
|
|
4683
4632
|
e[22]}/` + /*licenseurl*/
|
|
4684
4633
|
e[12]
|
|
4685
|
-
)),
|
|
4634
|
+
)), u(
|
|
4686
4635
|
r,
|
|
4687
4636
|
"target",
|
|
4688
4637
|
/*target*/
|
|
4689
4638
|
e[18]
|
|
4690
|
-
),
|
|
4639
|
+
), u(t, "class", "FooterItem"), u(t, "part", "FooterItem");
|
|
4691
4640
|
},
|
|
4692
|
-
m(
|
|
4693
|
-
F(
|
|
4641
|
+
m(a, s) {
|
|
4642
|
+
F(a, t, s), g(t, r), g(r, n);
|
|
4694
4643
|
},
|
|
4695
|
-
p(
|
|
4696
|
-
|
|
4644
|
+
p(a, s) {
|
|
4645
|
+
s[0] & /*licenseimage*/
|
|
4697
4646
|
8192 && !A(n.src, i = /*licenseimage*/
|
|
4698
|
-
|
|
4647
|
+
a[13]) && u(n, "src", i), s[0] & /*licensetitle, licenseurl*/
|
|
4699
4648
|
20480 && o !== (o = /*licensetitle*/
|
|
4700
|
-
|
|
4701
|
-
|
|
4649
|
+
a[14] || /*licenseurl*/
|
|
4650
|
+
a[12]) && u(n, "title", o), s[0] & /*licenseurl*/
|
|
4702
4651
|
4096 && l !== (l = "FooterLink " + /*licenseurl*/
|
|
4703
|
-
(
|
|
4704
|
-
4096 &&
|
|
4705
|
-
(
|
|
4652
|
+
(a[12] ? "" : "FooterLinkDisabled") + " FooterItemAnchor") && u(r, "class", l), s[0] & /*licenseurl*/
|
|
4653
|
+
4096 && h !== (h = "FooterLink " + /*licenseurl*/
|
|
4654
|
+
(a[12] ? "" : "FooterLinkDisabled") + " FooterItemAnchor") && u(r, "part", h), s[0] & /*linktype, licenseurl, baseurl, lang*/
|
|
4706
4655
|
6819840 && f !== (f = /*linktype*/
|
|
4707
|
-
|
|
4656
|
+
a[19] ? (
|
|
4708
4657
|
/*licenseurl*/
|
|
4709
|
-
|
|
4658
|
+
a[12]
|
|
4710
4659
|
) : (
|
|
4711
4660
|
/*baseurl*/
|
|
4712
|
-
|
|
4713
|
-
|
|
4714
|
-
|
|
4715
|
-
)) &&
|
|
4716
|
-
262144 &&
|
|
4661
|
+
a[21] + `/${/*lang*/
|
|
4662
|
+
a[22]}/` + /*licenseurl*/
|
|
4663
|
+
a[12]
|
|
4664
|
+
)) && u(r, "href", f), s[0] & /*target*/
|
|
4665
|
+
262144 && u(
|
|
4717
4666
|
r,
|
|
4718
4667
|
"target",
|
|
4719
4668
|
/*target*/
|
|
4720
|
-
|
|
4669
|
+
a[18]
|
|
4721
4670
|
);
|
|
4722
4671
|
},
|
|
4723
|
-
d(
|
|
4724
|
-
|
|
4672
|
+
d(a) {
|
|
4673
|
+
a && H(t);
|
|
4725
4674
|
}
|
|
4726
4675
|
};
|
|
4727
4676
|
}
|
|
4728
|
-
function
|
|
4729
|
-
let t, r, n, i, o, l,
|
|
4677
|
+
function uo(e) {
|
|
4678
|
+
let t, r, n, i, o, l, h, f = (
|
|
4730
4679
|
/*helperlinkimage*/
|
|
4731
|
-
e[10] &&
|
|
4732
|
-
),
|
|
4680
|
+
e[10] && kt(e)
|
|
4681
|
+
), a = (
|
|
4733
4682
|
/*helperlinktitle*/
|
|
4734
|
-
e[11] &&
|
|
4683
|
+
e[11] && Nt(e)
|
|
4735
4684
|
);
|
|
4736
4685
|
return {
|
|
4737
4686
|
c() {
|
|
4738
|
-
t = d("div"), r = d("a"), f && f.c(), n =
|
|
4687
|
+
t = d("div"), r = d("a"), f && f.c(), n = ee(), a && a.c(), u(r, "class", i = /*helperlinktitle*/
|
|
4739
4688
|
(e[11] ? "FooterHelperLink" : "") + " " + /*helperlinkurl*/
|
|
4740
|
-
(e[9] ? "" : "FooterLinkDisabled") + " FooterItemAnchor"),
|
|
4689
|
+
(e[9] ? "" : "FooterLinkDisabled") + " FooterItemAnchor"), u(r, "part", o = /*helperlinktitle*/
|
|
4741
4690
|
(e[11] ? "FooterHelperLink" : "") + " " + /*helperlinkurl*/
|
|
4742
|
-
(e[9] ? "" : "FooterLinkDisabled") + " FooterItemAnchor"),
|
|
4691
|
+
(e[9] ? "" : "FooterLinkDisabled") + " FooterItemAnchor"), u(r, "href", l = /*linktype*/
|
|
4743
4692
|
e[19] ? (
|
|
4744
4693
|
/*helperlinkurl*/
|
|
4745
4694
|
e[9]
|
|
@@ -4748,61 +4697,61 @@ function So(e) {
|
|
|
4748
4697
|
e[21] + `/${/*lang*/
|
|
4749
4698
|
e[22]}/` + /*helperlinkurl*/
|
|
4750
4699
|
e[9]
|
|
4751
|
-
)),
|
|
4700
|
+
)), u(
|
|
4752
4701
|
r,
|
|
4753
4702
|
"target",
|
|
4754
4703
|
/*target*/
|
|
4755
4704
|
e[18]
|
|
4756
|
-
),
|
|
4757
|
-
(e[20] == "true" ? "DisplayColumn" : "")),
|
|
4705
|
+
), u(t, "class", h = "FooterItem HelperLinkItem " + /*displaycolumn*/
|
|
4706
|
+
(e[20] == "true" ? "DisplayColumn" : "")), u(t, "part", "FooterItem HelperLinkItem");
|
|
4758
4707
|
},
|
|
4759
|
-
m(
|
|
4760
|
-
F(
|
|
4708
|
+
m(s, c) {
|
|
4709
|
+
F(s, t, c), g(t, r), f && f.m(r, null), g(r, n), a && a.m(r, null);
|
|
4761
4710
|
},
|
|
4762
|
-
p(
|
|
4711
|
+
p(s, c) {
|
|
4763
4712
|
/*helperlinkimage*/
|
|
4764
|
-
|
|
4765
|
-
|
|
4713
|
+
s[10] ? f ? f.p(s, c) : (f = kt(s), f.c(), f.m(r, n)) : f && (f.d(1), f = null), /*helperlinktitle*/
|
|
4714
|
+
s[11] ? a ? a.p(s, c) : (a = Nt(s), a.c(), a.m(r, null)) : a && (a.d(1), a = null), c[0] & /*helperlinktitle, helperlinkurl*/
|
|
4766
4715
|
2560 && i !== (i = /*helperlinktitle*/
|
|
4767
|
-
(
|
|
4768
|
-
(
|
|
4716
|
+
(s[11] ? "FooterHelperLink" : "") + " " + /*helperlinkurl*/
|
|
4717
|
+
(s[9] ? "" : "FooterLinkDisabled") + " FooterItemAnchor") && u(r, "class", i), c[0] & /*helperlinktitle, helperlinkurl*/
|
|
4769
4718
|
2560 && o !== (o = /*helperlinktitle*/
|
|
4770
|
-
(
|
|
4771
|
-
(
|
|
4719
|
+
(s[11] ? "FooterHelperLink" : "") + " " + /*helperlinkurl*/
|
|
4720
|
+
(s[9] ? "" : "FooterLinkDisabled") + " FooterItemAnchor") && u(r, "part", o), c[0] & /*linktype, helperlinkurl, baseurl, lang*/
|
|
4772
4721
|
6816256 && l !== (l = /*linktype*/
|
|
4773
|
-
|
|
4722
|
+
s[19] ? (
|
|
4774
4723
|
/*helperlinkurl*/
|
|
4775
|
-
|
|
4724
|
+
s[9]
|
|
4776
4725
|
) : (
|
|
4777
4726
|
/*baseurl*/
|
|
4778
|
-
|
|
4779
|
-
|
|
4780
|
-
|
|
4781
|
-
)) &&
|
|
4782
|
-
262144 &&
|
|
4727
|
+
s[21] + `/${/*lang*/
|
|
4728
|
+
s[22]}/` + /*helperlinkurl*/
|
|
4729
|
+
s[9]
|
|
4730
|
+
)) && u(r, "href", l), c[0] & /*target*/
|
|
4731
|
+
262144 && u(
|
|
4783
4732
|
r,
|
|
4784
4733
|
"target",
|
|
4785
4734
|
/*target*/
|
|
4786
|
-
|
|
4735
|
+
s[18]
|
|
4787
4736
|
), c[0] & /*displaycolumn*/
|
|
4788
|
-
1048576 &&
|
|
4789
|
-
(
|
|
4737
|
+
1048576 && h !== (h = "FooterItem HelperLinkItem " + /*displaycolumn*/
|
|
4738
|
+
(s[20] == "true" ? "DisplayColumn" : "")) && u(t, "class", h);
|
|
4790
4739
|
},
|
|
4791
|
-
d(
|
|
4792
|
-
|
|
4740
|
+
d(s) {
|
|
4741
|
+
s && H(t), f && f.d(), a && a.d();
|
|
4793
4742
|
}
|
|
4794
4743
|
};
|
|
4795
4744
|
}
|
|
4796
|
-
function
|
|
4797
|
-
let t, r, n, i, o, l,
|
|
4745
|
+
function ho(e) {
|
|
4746
|
+
let t, r, n, i, o, l, h, f;
|
|
4798
4747
|
return {
|
|
4799
4748
|
c() {
|
|
4800
|
-
t = d("div"), r = d("a"), n = d("img"),
|
|
4801
|
-
e[7]) ||
|
|
4749
|
+
t = d("div"), r = d("a"), n = d("img"), u(n, "class", "FooterImage"), u(n, "part", "FooterImage"), A(n.src, i = /*vendorimage*/
|
|
4750
|
+
e[7]) || u(n, "src", i), u(n, "title", o = /*vendortitle*/
|
|
4802
4751
|
e[8] || /*vendorurl*/
|
|
4803
|
-
e[6]),
|
|
4804
|
-
(e[6] ? "" : "FooterLinkDisabled") + " FooterItemAnchor"),
|
|
4805
|
-
(e[6] ? "" : "FooterLinkDisabled") + " FooterItemAnchor"),
|
|
4752
|
+
e[6]), u(r, "class", l = /*vendorurl*/
|
|
4753
|
+
(e[6] ? "" : "FooterLinkDisabled") + " FooterItemAnchor"), u(r, "part", h = /*vendorurl*/
|
|
4754
|
+
(e[6] ? "" : "FooterLinkDisabled") + " FooterItemAnchor"), u(r, "href", f = /*linktype*/
|
|
4806
4755
|
e[19] ? (
|
|
4807
4756
|
/*vendorurl*/
|
|
4808
4757
|
e[6]
|
|
@@ -4811,64 +4760,64 @@ function Ho(e) {
|
|
|
4811
4760
|
e[21] + `/${/*lang*/
|
|
4812
4761
|
e[22]}/` + /*vendorurl*/
|
|
4813
4762
|
e[6]
|
|
4814
|
-
)),
|
|
4763
|
+
)), u(
|
|
4815
4764
|
r,
|
|
4816
4765
|
"target",
|
|
4817
4766
|
/*target*/
|
|
4818
4767
|
e[18]
|
|
4819
|
-
),
|
|
4768
|
+
), u(t, "class", "FooterItem GameVendorItem"), u(t, "part", "FooterItem GameVendorItem");
|
|
4820
4769
|
},
|
|
4821
|
-
m(
|
|
4822
|
-
F(
|
|
4770
|
+
m(a, s) {
|
|
4771
|
+
F(a, t, s), g(t, r), g(r, n);
|
|
4823
4772
|
},
|
|
4824
|
-
p(
|
|
4825
|
-
|
|
4773
|
+
p(a, s) {
|
|
4774
|
+
s[0] & /*vendorimage*/
|
|
4826
4775
|
128 && !A(n.src, i = /*vendorimage*/
|
|
4827
|
-
|
|
4776
|
+
a[7]) && u(n, "src", i), s[0] & /*vendortitle, vendorurl*/
|
|
4828
4777
|
320 && o !== (o = /*vendortitle*/
|
|
4829
|
-
|
|
4830
|
-
|
|
4778
|
+
a[8] || /*vendorurl*/
|
|
4779
|
+
a[6]) && u(n, "title", o), s[0] & /*vendorurl*/
|
|
4831
4780
|
64 && l !== (l = /*vendorurl*/
|
|
4832
|
-
(
|
|
4833
|
-
64 &&
|
|
4834
|
-
(
|
|
4781
|
+
(a[6] ? "" : "FooterLinkDisabled") + " FooterItemAnchor") && u(r, "class", l), s[0] & /*vendorurl*/
|
|
4782
|
+
64 && h !== (h = /*vendorurl*/
|
|
4783
|
+
(a[6] ? "" : "FooterLinkDisabled") + " FooterItemAnchor") && u(r, "part", h), s[0] & /*linktype, vendorurl, baseurl, lang*/
|
|
4835
4784
|
6815808 && f !== (f = /*linktype*/
|
|
4836
|
-
|
|
4785
|
+
a[19] ? (
|
|
4837
4786
|
/*vendorurl*/
|
|
4838
|
-
|
|
4787
|
+
a[6]
|
|
4839
4788
|
) : (
|
|
4840
4789
|
/*baseurl*/
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
|
|
4844
|
-
)) &&
|
|
4845
|
-
262144 &&
|
|
4790
|
+
a[21] + `/${/*lang*/
|
|
4791
|
+
a[22]}/` + /*vendorurl*/
|
|
4792
|
+
a[6]
|
|
4793
|
+
)) && u(r, "href", f), s[0] & /*target*/
|
|
4794
|
+
262144 && u(
|
|
4846
4795
|
r,
|
|
4847
4796
|
"target",
|
|
4848
4797
|
/*target*/
|
|
4849
|
-
|
|
4798
|
+
a[18]
|
|
4850
4799
|
);
|
|
4851
4800
|
},
|
|
4852
|
-
d(
|
|
4853
|
-
|
|
4801
|
+
d(a) {
|
|
4802
|
+
a && H(t);
|
|
4854
4803
|
}
|
|
4855
4804
|
};
|
|
4856
4805
|
}
|
|
4857
|
-
function
|
|
4858
|
-
let t, r, n, i, o, l,
|
|
4806
|
+
function fo(e) {
|
|
4807
|
+
let t, r, n, i, o, l, h, f, a, s = (
|
|
4859
4808
|
/*paymenttitle*/
|
|
4860
|
-
e[5] &&
|
|
4809
|
+
e[5] && Ct(e)
|
|
4861
4810
|
);
|
|
4862
4811
|
return {
|
|
4863
4812
|
c() {
|
|
4864
|
-
t = d("div"), r = d("a"), n = d("img"), l =
|
|
4865
|
-
e[4]) ||
|
|
4813
|
+
t = d("div"), r = d("a"), n = d("img"), l = ee(), s && s.c(), u(n, "class", "FooterImage"), u(n, "part", "FooterImage"), A(n.src, i = /*paymentimage*/
|
|
4814
|
+
e[4]) || u(n, "src", i), u(n, "title", o = /*paymenttitle*/
|
|
4866
4815
|
e[5] || /*paymenturl*/
|
|
4867
|
-
e[3]),
|
|
4816
|
+
e[3]), u(r, "class", h = /*paymenttitle*/
|
|
4868
4817
|
(e[5] ? "FooterPaymentLink" : "") + " " + /*paymenturl*/
|
|
4869
|
-
(e[3] ? "" : "FooterLinkDisabled") + " FooterItemAnchor"),
|
|
4818
|
+
(e[3] ? "" : "FooterLinkDisabled") + " FooterItemAnchor"), u(r, "part", f = /*paymenttitle*/
|
|
4870
4819
|
(e[5] ? "FooterPaymentLink" : "") + " " + /*paymenturl*/
|
|
4871
|
-
(e[3] ? "" : "FooterLinkDisabled") + " FooterItemAnchor"),
|
|
4820
|
+
(e[3] ? "" : "FooterLinkDisabled") + " FooterItemAnchor"), u(r, "href", a = /*linktype*/
|
|
4872
4821
|
e[19] ? (
|
|
4873
4822
|
/*paymenturl*/
|
|
4874
4823
|
e[3]
|
|
@@ -4877,31 +4826,31 @@ function To(e) {
|
|
|
4877
4826
|
e[21] + `/${/*lang*/
|
|
4878
4827
|
e[22]}/` + /*paymenturl*/
|
|
4879
4828
|
e[3]
|
|
4880
|
-
)),
|
|
4829
|
+
)), u(
|
|
4881
4830
|
r,
|
|
4882
4831
|
"target",
|
|
4883
4832
|
/*target*/
|
|
4884
4833
|
e[18]
|
|
4885
|
-
),
|
|
4834
|
+
), u(t, "class", "FooterItem PaymentItem"), u(t, "part", "FooterItem PaymentItem");
|
|
4886
4835
|
},
|
|
4887
4836
|
m(c, m) {
|
|
4888
|
-
F(c, t, m), g(t, r), g(r, n), g(r, l),
|
|
4837
|
+
F(c, t, m), g(t, r), g(r, n), g(r, l), s && s.m(r, null);
|
|
4889
4838
|
},
|
|
4890
4839
|
p(c, m) {
|
|
4891
4840
|
m[0] & /*paymentimage*/
|
|
4892
4841
|
16 && !A(n.src, i = /*paymentimage*/
|
|
4893
|
-
c[4]) &&
|
|
4842
|
+
c[4]) && u(n, "src", i), m[0] & /*paymenttitle, paymenturl*/
|
|
4894
4843
|
40 && o !== (o = /*paymenttitle*/
|
|
4895
4844
|
c[5] || /*paymenturl*/
|
|
4896
|
-
c[3]) &&
|
|
4897
|
-
c[5] ?
|
|
4898
|
-
40 &&
|
|
4845
|
+
c[3]) && u(n, "title", o), /*paymenttitle*/
|
|
4846
|
+
c[5] ? s ? s.p(c, m) : (s = Ct(c), s.c(), s.m(r, null)) : s && (s.d(1), s = null), m[0] & /*paymenttitle, paymenturl*/
|
|
4847
|
+
40 && h !== (h = /*paymenttitle*/
|
|
4899
4848
|
(c[5] ? "FooterPaymentLink" : "") + " " + /*paymenturl*/
|
|
4900
|
-
(c[3] ? "" : "FooterLinkDisabled") + " FooterItemAnchor") &&
|
|
4849
|
+
(c[3] ? "" : "FooterLinkDisabled") + " FooterItemAnchor") && u(r, "class", h), m[0] & /*paymenttitle, paymenturl*/
|
|
4901
4850
|
40 && f !== (f = /*paymenttitle*/
|
|
4902
4851
|
(c[5] ? "FooterPaymentLink" : "") + " " + /*paymenturl*/
|
|
4903
|
-
(c[3] ? "" : "FooterLinkDisabled") + " FooterItemAnchor") &&
|
|
4904
|
-
6815752 &&
|
|
4852
|
+
(c[3] ? "" : "FooterLinkDisabled") + " FooterItemAnchor") && u(r, "part", f), m[0] & /*linktype, paymenturl, baseurl, lang*/
|
|
4853
|
+
6815752 && a !== (a = /*linktype*/
|
|
4905
4854
|
c[19] ? (
|
|
4906
4855
|
/*paymenturl*/
|
|
4907
4856
|
c[3]
|
|
@@ -4910,8 +4859,8 @@ function To(e) {
|
|
|
4910
4859
|
c[21] + `/${/*lang*/
|
|
4911
4860
|
c[22]}/` + /*paymenturl*/
|
|
4912
4861
|
c[3]
|
|
4913
|
-
)) &&
|
|
4914
|
-
262144 &&
|
|
4862
|
+
)) && u(r, "href", a), m[0] & /*target*/
|
|
4863
|
+
262144 && u(
|
|
4915
4864
|
r,
|
|
4916
4865
|
"target",
|
|
4917
4866
|
/*target*/
|
|
@@ -4919,25 +4868,25 @@ function To(e) {
|
|
|
4919
4868
|
);
|
|
4920
4869
|
},
|
|
4921
4870
|
d(c) {
|
|
4922
|
-
c && H(t),
|
|
4871
|
+
c && H(t), s && s.d();
|
|
4923
4872
|
}
|
|
4924
4873
|
};
|
|
4925
4874
|
}
|
|
4926
|
-
function
|
|
4927
|
-
let t, r, n, i, o, l,
|
|
4875
|
+
function co(e) {
|
|
4876
|
+
let t, r, n, i, o, l, h, f, a, s = (
|
|
4928
4877
|
/*sponsortitle*/
|
|
4929
|
-
e[2] &&
|
|
4878
|
+
e[2] && Mt(e)
|
|
4930
4879
|
);
|
|
4931
4880
|
return {
|
|
4932
4881
|
c() {
|
|
4933
|
-
t = d("div"), r = d("a"), n = d("img"), l =
|
|
4934
|
-
e[1]) ||
|
|
4882
|
+
t = d("div"), r = d("a"), n = d("img"), l = ee(), s && s.c(), u(n, "class", "FooterImage"), u(n, "part", "FooterImage"), A(n.src, i = /*sponsorimage*/
|
|
4883
|
+
e[1]) || u(n, "src", i), u(n, "title", o = /*sponsortitle*/
|
|
4935
4884
|
e[2] || /*sponsorurl*/
|
|
4936
|
-
e[0]),
|
|
4885
|
+
e[0]), u(r, "class", h = /*sponsortitle*/
|
|
4937
4886
|
(e[2] ? "FooterSponsorLink" : "") + " " + /*sponsorurl*/
|
|
4938
|
-
(e[0] ? "" : "FooterLinkDisabled") + " FooterItemAnchor"),
|
|
4887
|
+
(e[0] ? "" : "FooterLinkDisabled") + " FooterItemAnchor"), u(r, "part", f = /*sponsortitle*/
|
|
4939
4888
|
(e[2] ? "FooterSponsorLink" : "") + " " + /*sponsorurl*/
|
|
4940
|
-
(e[0] ? "" : "FooterLinkDisabled") + " FooterItemAnchor"),
|
|
4889
|
+
(e[0] ? "" : "FooterLinkDisabled") + " FooterItemAnchor"), u(r, "href", a = /*linktype*/
|
|
4941
4890
|
e[19] ? (
|
|
4942
4891
|
/*sponsorurl*/
|
|
4943
4892
|
e[0]
|
|
@@ -4946,31 +4895,31 @@ function Ao(e) {
|
|
|
4946
4895
|
e[21] + `/${/*lang*/
|
|
4947
4896
|
e[22]}/` + /*sponsorurl*/
|
|
4948
4897
|
e[0]
|
|
4949
|
-
)),
|
|
4898
|
+
)), u(
|
|
4950
4899
|
r,
|
|
4951
4900
|
"target",
|
|
4952
4901
|
/*target*/
|
|
4953
4902
|
e[18]
|
|
4954
|
-
),
|
|
4903
|
+
), u(t, "class", "FooterItem SponsorItem"), u(t, "part", "FooterItem SponsorItem");
|
|
4955
4904
|
},
|
|
4956
4905
|
m(c, m) {
|
|
4957
|
-
F(c, t, m), g(t, r), g(r, n), g(r, l),
|
|
4906
|
+
F(c, t, m), g(t, r), g(r, n), g(r, l), s && s.m(r, null);
|
|
4958
4907
|
},
|
|
4959
4908
|
p(c, m) {
|
|
4960
4909
|
m[0] & /*sponsorimage*/
|
|
4961
4910
|
2 && !A(n.src, i = /*sponsorimage*/
|
|
4962
|
-
c[1]) &&
|
|
4911
|
+
c[1]) && u(n, "src", i), m[0] & /*sponsortitle, sponsorurl*/
|
|
4963
4912
|
5 && o !== (o = /*sponsortitle*/
|
|
4964
4913
|
c[2] || /*sponsorurl*/
|
|
4965
|
-
c[0]) &&
|
|
4966
|
-
c[2] ?
|
|
4967
|
-
5 &&
|
|
4914
|
+
c[0]) && u(n, "title", o), /*sponsortitle*/
|
|
4915
|
+
c[2] ? s ? s.p(c, m) : (s = Mt(c), s.c(), s.m(r, null)) : s && (s.d(1), s = null), m[0] & /*sponsortitle, sponsorurl*/
|
|
4916
|
+
5 && h !== (h = /*sponsortitle*/
|
|
4968
4917
|
(c[2] ? "FooterSponsorLink" : "") + " " + /*sponsorurl*/
|
|
4969
|
-
(c[0] ? "" : "FooterLinkDisabled") + " FooterItemAnchor") &&
|
|
4918
|
+
(c[0] ? "" : "FooterLinkDisabled") + " FooterItemAnchor") && u(r, "class", h), m[0] & /*sponsortitle, sponsorurl*/
|
|
4970
4919
|
5 && f !== (f = /*sponsortitle*/
|
|
4971
4920
|
(c[2] ? "FooterSponsorLink" : "") + " " + /*sponsorurl*/
|
|
4972
|
-
(c[0] ? "" : "FooterLinkDisabled") + " FooterItemAnchor") &&
|
|
4973
|
-
6815745 &&
|
|
4921
|
+
(c[0] ? "" : "FooterLinkDisabled") + " FooterItemAnchor") && u(r, "part", f), m[0] & /*linktype, sponsorurl, baseurl, lang*/
|
|
4922
|
+
6815745 && a !== (a = /*linktype*/
|
|
4974
4923
|
c[19] ? (
|
|
4975
4924
|
/*sponsorurl*/
|
|
4976
4925
|
c[0]
|
|
@@ -4979,8 +4928,8 @@ function Ao(e) {
|
|
|
4979
4928
|
c[21] + `/${/*lang*/
|
|
4980
4929
|
c[22]}/` + /*sponsorurl*/
|
|
4981
4930
|
c[0]
|
|
4982
|
-
)) &&
|
|
4983
|
-
262144 &&
|
|
4931
|
+
)) && u(r, "href", a), m[0] & /*target*/
|
|
4932
|
+
262144 && u(
|
|
4984
4933
|
r,
|
|
4985
4934
|
"target",
|
|
4986
4935
|
/*target*/
|
|
@@ -4988,16 +4937,16 @@ function Ao(e) {
|
|
|
4988
4937
|
);
|
|
4989
4938
|
},
|
|
4990
4939
|
d(c) {
|
|
4991
|
-
c && H(t),
|
|
4940
|
+
c && H(t), s && s.d();
|
|
4992
4941
|
}
|
|
4993
4942
|
};
|
|
4994
4943
|
}
|
|
4995
|
-
function
|
|
4944
|
+
function kt(e) {
|
|
4996
4945
|
let t, r, n;
|
|
4997
4946
|
return {
|
|
4998
4947
|
c() {
|
|
4999
|
-
t = d("img"),
|
|
5000
|
-
e[10]) ||
|
|
4948
|
+
t = d("img"), u(t, "class", "FooterImage"), u(t, "part", "FooterImage"), A(t.src, r = /*helperlinkimage*/
|
|
4949
|
+
e[10]) || u(t, "src", r), u(t, "title", n = /*helperlinktitle*/
|
|
5001
4950
|
e[11] || /*helperlinkurl*/
|
|
5002
4951
|
e[9]);
|
|
5003
4952
|
},
|
|
@@ -5007,31 +4956,31 @@ function $t(e) {
|
|
|
5007
4956
|
p(i, o) {
|
|
5008
4957
|
o[0] & /*helperlinkimage*/
|
|
5009
4958
|
1024 && !A(t.src, r = /*helperlinkimage*/
|
|
5010
|
-
i[10]) &&
|
|
4959
|
+
i[10]) && u(t, "src", r), o[0] & /*helperlinktitle, helperlinkurl*/
|
|
5011
4960
|
2560 && n !== (n = /*helperlinktitle*/
|
|
5012
4961
|
i[11] || /*helperlinkurl*/
|
|
5013
|
-
i[9]) &&
|
|
4962
|
+
i[9]) && u(t, "title", n);
|
|
5014
4963
|
},
|
|
5015
4964
|
d(i) {
|
|
5016
4965
|
i && H(t);
|
|
5017
4966
|
}
|
|
5018
4967
|
};
|
|
5019
4968
|
}
|
|
5020
|
-
function
|
|
4969
|
+
function Nt(e) {
|
|
5021
4970
|
let t, r;
|
|
5022
4971
|
return {
|
|
5023
4972
|
c() {
|
|
5024
|
-
t = d("p"), r =
|
|
4973
|
+
t = d("p"), r = U(
|
|
5025
4974
|
/*helperlinktitle*/
|
|
5026
4975
|
e[11]
|
|
5027
|
-
),
|
|
4976
|
+
), u(t, "class", "HelperTitle"), u(t, "part", "HelperTitle");
|
|
5028
4977
|
},
|
|
5029
4978
|
m(n, i) {
|
|
5030
4979
|
F(n, t, i), g(t, r);
|
|
5031
4980
|
},
|
|
5032
4981
|
p(n, i) {
|
|
5033
4982
|
i[0] & /*helperlinktitle*/
|
|
5034
|
-
2048 &&
|
|
4983
|
+
2048 && re(
|
|
5035
4984
|
r,
|
|
5036
4985
|
/*helperlinktitle*/
|
|
5037
4986
|
n[11]
|
|
@@ -5042,21 +4991,21 @@ function jt(e) {
|
|
|
5042
4991
|
}
|
|
5043
4992
|
};
|
|
5044
4993
|
}
|
|
5045
|
-
function
|
|
4994
|
+
function Ct(e) {
|
|
5046
4995
|
let t, r;
|
|
5047
4996
|
return {
|
|
5048
4997
|
c() {
|
|
5049
|
-
t = d("p"), r =
|
|
4998
|
+
t = d("p"), r = U(
|
|
5050
4999
|
/*paymenttitle*/
|
|
5051
5000
|
e[5]
|
|
5052
|
-
),
|
|
5001
|
+
), u(t, "class", "PaymentTitle"), u(t, "part", "PaymentTitle");
|
|
5053
5002
|
},
|
|
5054
5003
|
m(n, i) {
|
|
5055
5004
|
F(n, t, i), g(t, r);
|
|
5056
5005
|
},
|
|
5057
5006
|
p(n, i) {
|
|
5058
5007
|
i[0] & /*paymenttitle*/
|
|
5059
|
-
32 &&
|
|
5008
|
+
32 && re(
|
|
5060
5009
|
r,
|
|
5061
5010
|
/*paymenttitle*/
|
|
5062
5011
|
n[5]
|
|
@@ -5067,21 +5016,21 @@ function Vt(e) {
|
|
|
5067
5016
|
}
|
|
5068
5017
|
};
|
|
5069
5018
|
}
|
|
5070
|
-
function
|
|
5019
|
+
function Mt(e) {
|
|
5071
5020
|
let t, r;
|
|
5072
5021
|
return {
|
|
5073
5022
|
c() {
|
|
5074
|
-
t = d("p"), r =
|
|
5023
|
+
t = d("p"), r = U(
|
|
5075
5024
|
/*sponsortitle*/
|
|
5076
5025
|
e[2]
|
|
5077
|
-
),
|
|
5026
|
+
), u(t, "class", "SponsorTitle"), u(t, "part", "SponsorTitle");
|
|
5078
5027
|
},
|
|
5079
5028
|
m(n, i) {
|
|
5080
5029
|
F(n, t, i), g(t, r);
|
|
5081
5030
|
},
|
|
5082
5031
|
p(n, i) {
|
|
5083
5032
|
i[0] & /*sponsortitle*/
|
|
5084
|
-
4 &&
|
|
5033
|
+
4 && re(
|
|
5085
5034
|
r,
|
|
5086
5035
|
/*sponsortitle*/
|
|
5087
5036
|
n[2]
|
|
@@ -5092,18 +5041,18 @@ function Xt(e) {
|
|
|
5092
5041
|
}
|
|
5093
5042
|
};
|
|
5094
5043
|
}
|
|
5095
|
-
function
|
|
5044
|
+
function mo(e) {
|
|
5096
5045
|
let t;
|
|
5097
5046
|
function r(o, l) {
|
|
5098
5047
|
return (
|
|
5099
5048
|
/*device*/
|
|
5100
|
-
o[24] == "PC" ?
|
|
5049
|
+
o[24] == "PC" ? eo : Ki
|
|
5101
5050
|
);
|
|
5102
5051
|
}
|
|
5103
5052
|
let i = r(e)(e);
|
|
5104
5053
|
return {
|
|
5105
5054
|
c() {
|
|
5106
|
-
t = d("div"), i.c(),
|
|
5055
|
+
t = d("div"), i.c(), u(t, "class", "ThumbnailContainer"), u(t, "part", "ThumbnailContainer");
|
|
5107
5056
|
},
|
|
5108
5057
|
m(o, l) {
|
|
5109
5058
|
F(o, t, l), i.m(t, null), e[34](t);
|
|
@@ -5118,104 +5067,104 @@ function Fo(e) {
|
|
|
5118
5067
|
}
|
|
5119
5068
|
};
|
|
5120
5069
|
}
|
|
5121
|
-
function
|
|
5122
|
-
let { sponsorurl: n = "" } = t, { sponsorimage: i = "" } = t, { sponsortitle: o = "" } = t, { paymenturl: l = "" } = t, { paymentimage:
|
|
5123
|
-
const
|
|
5070
|
+
function po(e, t, r) {
|
|
5071
|
+
let { sponsorurl: n = "" } = t, { sponsorimage: i = "" } = t, { sponsortitle: o = "" } = t, { paymenturl: l = "" } = t, { paymentimage: h = "" } = t, { paymenttitle: f = "" } = t, { vendorurl: a = "" } = t, { vendorimage: s = "" } = t, { vendortitle: c = "" } = t, { helperlinkurl: m = "" } = t, { helperlinkimage: y = "" } = t, { helperlinktitle: S = "" } = t, { licenseurl: E = "" } = t, { licenseimage: w = "" } = t, { licensetitle: M = "" } = t, { sociallinkurl: k = "" } = t, { sociallinkimage: x = "" } = t, { sociallinktitle: D = "" } = t, { target: L = "_self" } = t, { linktype: B = "false" } = t, { displaycolumn: oe = "" } = t, { baseurl: xe = "" } = t, { lang: Be = "" } = t, { clientstyling: me = "" } = t, { clientstylingurl: pe = "" } = t, G, gr = window.navigator.userAgent, _r = Ji(gr);
|
|
5072
|
+
const yr = () => {
|
|
5124
5073
|
let p = document.createElement("style");
|
|
5125
|
-
p.innerHTML =
|
|
5126
|
-
},
|
|
5127
|
-
let p = new URL(
|
|
5128
|
-
fetch(p.href).then((
|
|
5129
|
-
|
|
5074
|
+
p.innerHTML = me, G.appendChild(p);
|
|
5075
|
+
}, vr = () => {
|
|
5076
|
+
let p = new URL(pe), de = document.createElement("style");
|
|
5077
|
+
fetch(p.href).then((j) => j.text()).then((j) => {
|
|
5078
|
+
de.innerHTML = j, setTimeout(
|
|
5130
5079
|
() => {
|
|
5131
|
-
|
|
5080
|
+
G.appendChild(de);
|
|
5132
5081
|
},
|
|
5133
5082
|
1
|
|
5134
5083
|
);
|
|
5135
5084
|
});
|
|
5136
|
-
},
|
|
5137
|
-
const
|
|
5085
|
+
}, $ = (p, de, j) => {
|
|
5086
|
+
const we = de, at = we ? p : xe + `/${Be}/` + p;
|
|
5138
5087
|
window.postMessage(
|
|
5139
5088
|
{
|
|
5140
5089
|
type: "NavigateTo",
|
|
5141
5090
|
path: p,
|
|
5142
|
-
target:
|
|
5143
|
-
externalLink:
|
|
5091
|
+
target: j || null,
|
|
5092
|
+
externalLink: we || !1
|
|
5144
5093
|
},
|
|
5145
5094
|
window.location.href
|
|
5146
|
-
),
|
|
5095
|
+
), we ? window.postMessage(
|
|
5147
5096
|
{
|
|
5148
5097
|
type: "ExternalLinkNavigation",
|
|
5149
|
-
externalUrl:
|
|
5150
|
-
target:
|
|
5098
|
+
externalUrl: at,
|
|
5099
|
+
target: j
|
|
5151
5100
|
},
|
|
5152
5101
|
window.location.href
|
|
5153
5102
|
) : window.postMessage(
|
|
5154
5103
|
{
|
|
5155
5104
|
type: "LinkNavigation",
|
|
5156
|
-
navUrl:
|
|
5157
|
-
target:
|
|
5105
|
+
navUrl: at,
|
|
5106
|
+
target: j
|
|
5158
5107
|
},
|
|
5159
5108
|
window.location.href
|
|
5160
5109
|
);
|
|
5161
|
-
},
|
|
5162
|
-
function
|
|
5163
|
-
|
|
5164
|
-
|
|
5110
|
+
}, Er = () => $(n, B, L), Ir = () => $(l, B, L), Sr = () => $(a, B, L), Hr = () => $(m, B, L), Tr = () => $(E, B, L), Ar = () => $(k, B, L);
|
|
5111
|
+
function Fr(p) {
|
|
5112
|
+
Ue[p ? "unshift" : "push"](() => {
|
|
5113
|
+
G = p, r(23, G);
|
|
5165
5114
|
});
|
|
5166
5115
|
}
|
|
5167
5116
|
return e.$$set = (p) => {
|
|
5168
|
-
"sponsorurl" in p && r(0, n = p.sponsorurl), "sponsorimage" in p && r(1, i = p.sponsorimage), "sponsortitle" in p && r(2, o = p.sponsortitle), "paymenturl" in p && r(3, l = p.paymenturl), "paymentimage" in p && r(4,
|
|
5117
|
+
"sponsorurl" in p && r(0, n = p.sponsorurl), "sponsorimage" in p && r(1, i = p.sponsorimage), "sponsortitle" in p && r(2, o = p.sponsortitle), "paymenturl" in p && r(3, l = p.paymenturl), "paymentimage" in p && r(4, h = p.paymentimage), "paymenttitle" in p && r(5, f = p.paymenttitle), "vendorurl" in p && r(6, a = p.vendorurl), "vendorimage" in p && r(7, s = p.vendorimage), "vendortitle" in p && r(8, c = p.vendortitle), "helperlinkurl" in p && r(9, m = p.helperlinkurl), "helperlinkimage" in p && r(10, y = p.helperlinkimage), "helperlinktitle" in p && r(11, S = p.helperlinktitle), "licenseurl" in p && r(12, E = p.licenseurl), "licenseimage" in p && r(13, w = p.licenseimage), "licensetitle" in p && r(14, M = p.licensetitle), "sociallinkurl" in p && r(15, k = p.sociallinkurl), "sociallinkimage" in p && r(16, x = p.sociallinkimage), "sociallinktitle" in p && r(17, D = p.sociallinktitle), "target" in p && r(18, L = p.target), "linktype" in p && r(19, B = p.linktype), "displaycolumn" in p && r(20, oe = p.displaycolumn), "baseurl" in p && r(21, xe = p.baseurl), "lang" in p && r(22, Be = p.lang), "clientstyling" in p && r(26, me = p.clientstyling), "clientstylingurl" in p && r(27, pe = p.clientstylingurl);
|
|
5169
5118
|
}, e.$$.update = () => {
|
|
5170
5119
|
e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5171
|
-
75497472 &&
|
|
5172
|
-
142606336 &&
|
|
5120
|
+
75497472 && me && G && yr(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5121
|
+
142606336 && pe && G && vr();
|
|
5173
5122
|
}, [
|
|
5174
5123
|
n,
|
|
5175
5124
|
i,
|
|
5176
5125
|
o,
|
|
5177
5126
|
l,
|
|
5178
|
-
|
|
5127
|
+
h,
|
|
5179
5128
|
f,
|
|
5180
|
-
s,
|
|
5181
5129
|
a,
|
|
5130
|
+
s,
|
|
5182
5131
|
c,
|
|
5183
5132
|
m,
|
|
5184
|
-
|
|
5133
|
+
y,
|
|
5185
5134
|
S,
|
|
5186
5135
|
E,
|
|
5136
|
+
w,
|
|
5137
|
+
M,
|
|
5138
|
+
k,
|
|
5187
5139
|
x,
|
|
5188
5140
|
D,
|
|
5189
|
-
N,
|
|
5190
|
-
B,
|
|
5191
|
-
R,
|
|
5192
5141
|
L,
|
|
5193
|
-
|
|
5194
|
-
|
|
5195
|
-
we,
|
|
5142
|
+
B,
|
|
5143
|
+
oe,
|
|
5196
5144
|
xe,
|
|
5145
|
+
Be,
|
|
5146
|
+
G,
|
|
5147
|
+
_r,
|
|
5197
5148
|
$,
|
|
5198
|
-
|
|
5199
|
-
j,
|
|
5149
|
+
me,
|
|
5200
5150
|
pe,
|
|
5201
|
-
|
|
5202
|
-
|
|
5203
|
-
|
|
5204
|
-
|
|
5205
|
-
|
|
5206
|
-
|
|
5207
|
-
|
|
5208
|
-
Cr
|
|
5151
|
+
Er,
|
|
5152
|
+
Ir,
|
|
5153
|
+
Sr,
|
|
5154
|
+
Hr,
|
|
5155
|
+
Tr,
|
|
5156
|
+
Ar,
|
|
5157
|
+
Fr
|
|
5209
5158
|
];
|
|
5210
5159
|
}
|
|
5211
|
-
class
|
|
5160
|
+
class bo extends Wr {
|
|
5212
5161
|
constructor(t) {
|
|
5213
|
-
super(),
|
|
5162
|
+
super(), Vr(
|
|
5214
5163
|
this,
|
|
5215
5164
|
t,
|
|
5216
|
-
|
|
5217
|
-
|
|
5218
|
-
|
|
5165
|
+
po,
|
|
5166
|
+
mo,
|
|
5167
|
+
Rt,
|
|
5219
5168
|
{
|
|
5220
5169
|
sponsorurl: 0,
|
|
5221
5170
|
sponsorimage: 1,
|
|
@@ -5243,7 +5192,7 @@ class Po extends an {
|
|
|
5243
5192
|
clientstyling: 26,
|
|
5244
5193
|
clientstylingurl: 27
|
|
5245
5194
|
},
|
|
5246
|
-
|
|
5195
|
+
Yi,
|
|
5247
5196
|
[-1, -1]
|
|
5248
5197
|
);
|
|
5249
5198
|
}
|
|
@@ -5398,7 +5347,7 @@ class Po extends an {
|
|
|
5398
5347
|
this.$$set({ clientstylingurl: t }), I();
|
|
5399
5348
|
}
|
|
5400
5349
|
}
|
|
5401
|
-
|
|
5350
|
+
Xr(bo, { sponsorurl: {}, sponsorimage: {}, sponsortitle: {}, paymenturl: {}, paymentimage: {}, paymenttitle: {}, vendorurl: {}, vendorimage: {}, vendortitle: {}, helperlinkurl: {}, helperlinkimage: {}, helperlinktitle: {}, licenseurl: {}, licenseimage: {}, licensetitle: {}, sociallinkurl: {}, sociallinkimage: {}, sociallinktitle: {}, target: {}, linktype: {}, displaycolumn: {}, baseurl: {}, lang: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
|
5402
5351
|
export {
|
|
5403
|
-
|
|
5352
|
+
bo as C
|
|
5404
5353
|
};
|