@everymatrix/general-registration 1.90.27 → 1.90.28
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/dist/cjs/GeneralAnimationLoading-lTLzF5jR-8645dd28.js +86 -0
- package/dist/cjs/{PlayerConsents-uUnB_ySd-c7d5a465.js → PlayerConsents-Duni8Aqx-1d0f4f21.js} +1226 -1360
- package/dist/cjs/checkbox-group-input_15.cjs.entry.js +254 -254
- package/dist/esm/GeneralAnimationLoading-lTLzF5jR-501a49e3.js +84 -0
- package/dist/esm/{PlayerConsents-uUnB_ySd-8a92900a.js → PlayerConsents-Duni8Aqx-dd7cf325.js} +1211 -1360
- package/dist/esm/checkbox-group-input_15.entry.js +254 -254
- package/dist/general-registration/GeneralAnimationLoading-lTLzF5jR-501a49e3.js +1 -0
- package/dist/general-registration/PlayerConsents-Duni8Aqx-dd7cf325.js +1 -0
- package/dist/general-registration/checkbox-group-input_15.entry.js +4 -4
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.d.ts +2 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.dev.d.ts +2 -0
- package/package.json +1 -1
- package/dist/general-registration/PlayerConsents-uUnB_ySd-8a92900a.js +0 -1
- package/dist/types/Users/sebastian.strulea/Documents/work/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.d.ts +0 -2
- package/dist/types/Users/sebastian.strulea/Documents/work/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.dev.d.ts +0 -2
- /package/dist/types/{Users/sebastian.strulea/Documents/work → builds/emfe-widgets}/widgets-monorepo/packages/stencil/general-registration/.stencil/libs/common/src/storybook/storybook-utils.d.ts +0 -0
- /package/dist/types/{Users/sebastian.strulea/Documents/work → builds/emfe-widgets}/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-input/src/utils/types.d.ts +0 -0
- /package/dist/types/{Users/sebastian.strulea/Documents/work → builds/emfe-widgets}/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/storybook/main.d.ts +0 -0
- /package/dist/types/{Users/sebastian.strulea/Documents/work → builds/emfe-widgets}/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/storybook/preview.d.ts +0 -0
- /package/dist/types/{Users/sebastian.strulea/Documents/work → builds/emfe-widgets}/widgets-monorepo/packages/stencil/general-registration/.stencil/tools/plugins/index.d.ts +0 -0
- /package/dist/types/{Users/sebastian.strulea/Documents/work → builds/emfe-widgets}/widgets-monorepo/packages/stencil/general-registration/.stencil/tools/plugins/lazy-load-chunk-plugin.d.ts +0 -0
- /package/dist/types/{Users/sebastian.strulea/Documents/work → builds/emfe-widgets}/widgets-monorepo/packages/stencil/general-registration/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
- /package/dist/types/{Users/sebastian.strulea/Documents/work → builds/emfe-widgets}/widgets-monorepo/packages/stencil/general-registration/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
- /package/dist/types/{Users/sebastian.strulea/Documents/work → builds/emfe-widgets}/widgets-monorepo/packages/stencil/general-registration/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
package/dist/cjs/{PlayerConsents-uUnB_ySd-c7d5a465.js → PlayerConsents-Duni8Aqx-1d0f4f21.js}
RENAMED
|
@@ -1,80 +1,77 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
for (var
|
|
9
|
-
|
|
10
|
-
if (
|
|
11
|
-
for (var
|
|
12
|
-
|
|
3
|
+
var tn = Object.defineProperty, rn = Object.defineProperties;
|
|
4
|
+
var nn = Object.getOwnPropertyDescriptors;
|
|
5
|
+
var St = Object.getOwnPropertySymbols;
|
|
6
|
+
var on = Object.prototype.hasOwnProperty, an = Object.prototype.propertyIsEnumerable;
|
|
7
|
+
var Ze = (e, t, r) => t in e ? tn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, W = (e, t) => {
|
|
8
|
+
for (var r in t || (t = {}))
|
|
9
|
+
on.call(t, r) && Ze(e, r, t[r]);
|
|
10
|
+
if (St)
|
|
11
|
+
for (var r of St(t))
|
|
12
|
+
an.call(t, r) && Ze(e, r, t[r]);
|
|
13
13
|
return e;
|
|
14
|
-
},
|
|
15
|
-
var
|
|
16
|
-
var
|
|
17
|
-
var
|
|
14
|
+
}, Je = (e, t) => rn(e, nn(t));
|
|
15
|
+
var U = (e, t, r) => (Ze(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
16
|
+
var re = (e, t, r) => new Promise((n, i) => {
|
|
17
|
+
var o = (c) => {
|
|
18
18
|
try {
|
|
19
|
-
|
|
20
|
-
} catch (
|
|
21
|
-
|
|
19
|
+
s(r.next(c));
|
|
20
|
+
} catch (l) {
|
|
21
|
+
i(l);
|
|
22
22
|
}
|
|
23
|
-
},
|
|
23
|
+
}, a = (c) => {
|
|
24
24
|
try {
|
|
25
|
-
|
|
26
|
-
} catch (
|
|
27
|
-
|
|
25
|
+
s(r.throw(c));
|
|
26
|
+
} catch (l) {
|
|
27
|
+
i(l);
|
|
28
28
|
}
|
|
29
|
-
},
|
|
30
|
-
|
|
29
|
+
}, s = (c) => c.done ? n(c.value) : Promise.resolve(c.value).then(o, a);
|
|
30
|
+
s((r = r.apply(e, t)).next());
|
|
31
31
|
});
|
|
32
|
-
function
|
|
32
|
+
function $() {
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function er(e) {
|
|
35
35
|
return e();
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function xt() {
|
|
38
38
|
return /* @__PURE__ */ Object.create(null);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
41
|
-
e.forEach(
|
|
40
|
+
function me(e) {
|
|
41
|
+
e.forEach(er);
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function gt(e) {
|
|
44
44
|
return typeof e == "function";
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function _t(e, t) {
|
|
47
47
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function sn(e) {
|
|
50
50
|
return Object.keys(e).length === 0;
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function tr(e, ...t) {
|
|
53
53
|
if (e == null) {
|
|
54
|
-
for (const
|
|
55
|
-
|
|
56
|
-
return
|
|
54
|
+
for (const n of t)
|
|
55
|
+
n(void 0);
|
|
56
|
+
return $;
|
|
57
57
|
}
|
|
58
|
-
const
|
|
59
|
-
return
|
|
58
|
+
const r = e.subscribe(...t);
|
|
59
|
+
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
60
60
|
}
|
|
61
|
-
function
|
|
62
|
-
e.$$.on_destroy.push(
|
|
63
|
-
}
|
|
64
|
-
function kt$1(e) {
|
|
65
|
-
return e;
|
|
61
|
+
function ln(e, t, r) {
|
|
62
|
+
e.$$.on_destroy.push(tr(t, r));
|
|
66
63
|
}
|
|
67
|
-
function
|
|
64
|
+
function x(e, t) {
|
|
68
65
|
e.appendChild(t);
|
|
69
66
|
}
|
|
70
|
-
function
|
|
71
|
-
const
|
|
72
|
-
if (!
|
|
73
|
-
const
|
|
74
|
-
|
|
67
|
+
function cn(e, t, r) {
|
|
68
|
+
const n = un(e);
|
|
69
|
+
if (!n.getElementById(t)) {
|
|
70
|
+
const i = T("style");
|
|
71
|
+
i.id = t, i.textContent = r, hn(n, i);
|
|
75
72
|
}
|
|
76
73
|
}
|
|
77
|
-
function
|
|
74
|
+
function un(e) {
|
|
78
75
|
if (!e)
|
|
79
76
|
return document;
|
|
80
77
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -84,70 +81,70 @@ function nt$1(e) {
|
|
|
84
81
|
t
|
|
85
82
|
) : e.ownerDocument;
|
|
86
83
|
}
|
|
87
|
-
function
|
|
88
|
-
return
|
|
84
|
+
function hn(e, t) {
|
|
85
|
+
return x(
|
|
89
86
|
/** @type {Document} */
|
|
90
87
|
e.head || e,
|
|
91
88
|
t
|
|
92
89
|
), t.sheet;
|
|
93
90
|
}
|
|
94
|
-
function
|
|
95
|
-
e.insertBefore(t,
|
|
91
|
+
function L(e, t, r) {
|
|
92
|
+
e.insertBefore(t, r || null);
|
|
96
93
|
}
|
|
97
|
-
function
|
|
94
|
+
function O(e) {
|
|
98
95
|
e.parentNode && e.parentNode.removeChild(e);
|
|
99
96
|
}
|
|
100
|
-
function
|
|
101
|
-
for (let
|
|
102
|
-
e[
|
|
97
|
+
function yt(e, t) {
|
|
98
|
+
for (let r = 0; r < e.length; r += 1)
|
|
99
|
+
e[r] && e[r].d(t);
|
|
103
100
|
}
|
|
104
|
-
function
|
|
101
|
+
function T(e) {
|
|
105
102
|
return document.createElement(e);
|
|
106
103
|
}
|
|
107
104
|
function it(e) {
|
|
108
105
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
109
106
|
}
|
|
110
|
-
function
|
|
107
|
+
function ee(e) {
|
|
111
108
|
return document.createTextNode(e);
|
|
112
109
|
}
|
|
113
|
-
function
|
|
114
|
-
return
|
|
110
|
+
function F() {
|
|
111
|
+
return ee(" ");
|
|
115
112
|
}
|
|
116
|
-
function
|
|
117
|
-
return
|
|
113
|
+
function dn() {
|
|
114
|
+
return ee("");
|
|
118
115
|
}
|
|
119
|
-
function
|
|
120
|
-
return e.addEventListener(t,
|
|
116
|
+
function Ce(e, t, r, n) {
|
|
117
|
+
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
121
118
|
}
|
|
122
|
-
function
|
|
123
|
-
|
|
119
|
+
function k(e, t, r) {
|
|
120
|
+
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
124
121
|
}
|
|
125
|
-
function
|
|
126
|
-
const
|
|
127
|
-
|
|
122
|
+
function K(e, t, r) {
|
|
123
|
+
const n = t.toLowerCase();
|
|
124
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : k(e, t, r);
|
|
128
125
|
}
|
|
129
|
-
function
|
|
126
|
+
function mn(e) {
|
|
130
127
|
return Array.from(e.childNodes);
|
|
131
128
|
}
|
|
132
|
-
function
|
|
129
|
+
function Te(e, t) {
|
|
133
130
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
134
131
|
t);
|
|
135
132
|
}
|
|
136
|
-
class
|
|
133
|
+
class rr {
|
|
137
134
|
constructor(t = !1) {
|
|
138
135
|
/**
|
|
139
136
|
* @private
|
|
140
137
|
* @default false
|
|
141
138
|
*/
|
|
142
|
-
|
|
139
|
+
U(this, "is_svg", !1);
|
|
143
140
|
/** parent for creating node */
|
|
144
|
-
|
|
141
|
+
U(this, "e");
|
|
145
142
|
/** html tag nodes */
|
|
146
|
-
|
|
143
|
+
U(this, "n");
|
|
147
144
|
/** target */
|
|
148
|
-
|
|
145
|
+
U(this, "t");
|
|
149
146
|
/** anchor */
|
|
150
|
-
|
|
147
|
+
U(this, "a");
|
|
151
148
|
this.is_svg = t, this.e = this.n = null;
|
|
152
149
|
}
|
|
153
150
|
/**
|
|
@@ -163,17 +160,17 @@ class Dt {
|
|
|
163
160
|
* @param {HTMLElement | SVGElement} anchor
|
|
164
161
|
* @returns {void}
|
|
165
162
|
*/
|
|
166
|
-
m(t,
|
|
163
|
+
m(t, r, n = null) {
|
|
167
164
|
this.e || (this.is_svg ? this.e = it(
|
|
168
165
|
/** @type {keyof SVGElementTagNameMap} */
|
|
169
|
-
|
|
170
|
-
) : this.e =
|
|
166
|
+
r.nodeName
|
|
167
|
+
) : this.e = T(
|
|
171
168
|
/** @type {keyof HTMLElementTagNameMap} */
|
|
172
|
-
|
|
173
|
-
), this.t =
|
|
169
|
+
r.nodeType === 11 ? "TEMPLATE" : r.nodeName
|
|
170
|
+
), this.t = r.tagName !== "TEMPLATE" ? r : (
|
|
174
171
|
/** @type {HTMLTemplateElement} */
|
|
175
|
-
|
|
176
|
-
), this.c(t)), this.i(
|
|
172
|
+
r.content
|
|
173
|
+
), this.c(t)), this.i(n);
|
|
177
174
|
}
|
|
178
175
|
/**
|
|
179
176
|
* @param {string} html
|
|
@@ -187,8 +184,8 @@ class Dt {
|
|
|
187
184
|
/**
|
|
188
185
|
* @returns {void} */
|
|
189
186
|
i(t) {
|
|
190
|
-
for (let
|
|
191
|
-
|
|
187
|
+
for (let r = 0; r < this.n.length; r += 1)
|
|
188
|
+
L(this.t, this.n[r], t);
|
|
192
189
|
}
|
|
193
190
|
/**
|
|
194
191
|
* @param {string} html
|
|
@@ -200,237 +197,237 @@ class Dt {
|
|
|
200
197
|
/**
|
|
201
198
|
* @returns {void} */
|
|
202
199
|
d() {
|
|
203
|
-
this.n.forEach(
|
|
200
|
+
this.n.forEach(O);
|
|
204
201
|
}
|
|
205
202
|
}
|
|
206
|
-
function
|
|
203
|
+
function fn(e) {
|
|
207
204
|
const t = {};
|
|
208
205
|
return e.childNodes.forEach(
|
|
209
206
|
/** @param {Element} node */
|
|
210
|
-
(
|
|
211
|
-
t[
|
|
207
|
+
(r) => {
|
|
208
|
+
t[r.slot || "default"] = !0;
|
|
212
209
|
}
|
|
213
210
|
), t;
|
|
214
211
|
}
|
|
215
|
-
let
|
|
216
|
-
function
|
|
217
|
-
|
|
212
|
+
let Se;
|
|
213
|
+
function Ee(e) {
|
|
214
|
+
Se = e;
|
|
218
215
|
}
|
|
219
|
-
function
|
|
220
|
-
if (!
|
|
216
|
+
function pn() {
|
|
217
|
+
if (!Se)
|
|
221
218
|
throw new Error("Function called outside component initialization");
|
|
222
|
-
return
|
|
219
|
+
return Se;
|
|
223
220
|
}
|
|
224
|
-
function
|
|
225
|
-
|
|
221
|
+
function gn(e) {
|
|
222
|
+
pn().$$.on_mount.push(e);
|
|
226
223
|
}
|
|
227
|
-
const
|
|
228
|
-
let
|
|
229
|
-
const
|
|
230
|
-
let
|
|
231
|
-
function
|
|
232
|
-
|
|
224
|
+
const oe = [], Re = [];
|
|
225
|
+
let se = [];
|
|
226
|
+
const wt = [], _n = /* @__PURE__ */ Promise.resolve();
|
|
227
|
+
let ot = !1;
|
|
228
|
+
function yn() {
|
|
229
|
+
ot || (ot = !0, _n.then(X));
|
|
233
230
|
}
|
|
234
|
-
function
|
|
235
|
-
|
|
231
|
+
function at(e) {
|
|
232
|
+
se.push(e);
|
|
236
233
|
}
|
|
237
|
-
const
|
|
238
|
-
let
|
|
239
|
-
function
|
|
240
|
-
if (
|
|
234
|
+
const Qe = /* @__PURE__ */ new Set();
|
|
235
|
+
let ne = 0;
|
|
236
|
+
function X() {
|
|
237
|
+
if (ne !== 0)
|
|
241
238
|
return;
|
|
242
|
-
const e =
|
|
239
|
+
const e = Se;
|
|
243
240
|
do {
|
|
244
241
|
try {
|
|
245
|
-
for (;
|
|
246
|
-
const t =
|
|
247
|
-
|
|
242
|
+
for (; ne < oe.length; ) {
|
|
243
|
+
const t = oe[ne];
|
|
244
|
+
ne++, Ee(t), vn(t.$$);
|
|
248
245
|
}
|
|
249
246
|
} catch (t) {
|
|
250
|
-
throw
|
|
247
|
+
throw oe.length = 0, ne = 0, t;
|
|
251
248
|
}
|
|
252
|
-
for (
|
|
253
|
-
|
|
254
|
-
for (let t = 0; t <
|
|
255
|
-
const
|
|
256
|
-
|
|
249
|
+
for (Ee(null), oe.length = 0, ne = 0; Re.length; )
|
|
250
|
+
Re.pop()();
|
|
251
|
+
for (let t = 0; t < se.length; t += 1) {
|
|
252
|
+
const r = se[t];
|
|
253
|
+
Qe.has(r) || (Qe.add(r), r());
|
|
257
254
|
}
|
|
258
|
-
|
|
259
|
-
} while (
|
|
260
|
-
for (;
|
|
261
|
-
|
|
262
|
-
|
|
255
|
+
se.length = 0;
|
|
256
|
+
} while (oe.length);
|
|
257
|
+
for (; wt.length; )
|
|
258
|
+
wt.pop()();
|
|
259
|
+
ot = !1, Qe.clear(), Ee(e);
|
|
263
260
|
}
|
|
264
|
-
function
|
|
261
|
+
function vn(e) {
|
|
265
262
|
if (e.fragment !== null) {
|
|
266
|
-
e.update(),
|
|
263
|
+
e.update(), me(e.before_update);
|
|
267
264
|
const t = e.dirty;
|
|
268
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
265
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(at);
|
|
269
266
|
}
|
|
270
267
|
}
|
|
271
|
-
function
|
|
272
|
-
const t = [],
|
|
273
|
-
|
|
268
|
+
function bn(e) {
|
|
269
|
+
const t = [], r = [];
|
|
270
|
+
se.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), se = t;
|
|
274
271
|
}
|
|
275
|
-
const
|
|
276
|
-
function
|
|
277
|
-
e && e.i && (
|
|
272
|
+
const kn = /* @__PURE__ */ new Set();
|
|
273
|
+
function En(e, t) {
|
|
274
|
+
e && e.i && (kn.delete(e), e.i(t));
|
|
278
275
|
}
|
|
279
|
-
function
|
|
276
|
+
function le(e) {
|
|
280
277
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
281
278
|
}
|
|
282
|
-
function
|
|
283
|
-
const { fragment:
|
|
284
|
-
|
|
285
|
-
const
|
|
286
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...
|
|
287
|
-
}),
|
|
279
|
+
function Cn(e, t, r) {
|
|
280
|
+
const { fragment: n, after_update: i } = e.$$;
|
|
281
|
+
n && n.m(t, r), at(() => {
|
|
282
|
+
const o = e.$$.on_mount.map(er).filter(gt);
|
|
283
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : me(o), e.$$.on_mount = [];
|
|
284
|
+
}), i.forEach(at);
|
|
288
285
|
}
|
|
289
|
-
function
|
|
290
|
-
const
|
|
291
|
-
|
|
286
|
+
function Sn(e, t) {
|
|
287
|
+
const r = e.$$;
|
|
288
|
+
r.fragment !== null && (bn(r.after_update), me(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
292
289
|
}
|
|
293
|
-
function
|
|
294
|
-
e.$$.dirty[0] === -1 && (
|
|
290
|
+
function xn(e, t) {
|
|
291
|
+
e.$$.dirty[0] === -1 && (oe.push(e), yn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
295
292
|
}
|
|
296
|
-
function
|
|
297
|
-
const
|
|
298
|
-
|
|
299
|
-
const
|
|
293
|
+
function nr(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
294
|
+
const c = Se;
|
|
295
|
+
Ee(e);
|
|
296
|
+
const l = e.$$ = {
|
|
300
297
|
fragment: null,
|
|
301
298
|
ctx: [],
|
|
302
299
|
// state
|
|
303
|
-
props:
|
|
304
|
-
update:
|
|
305
|
-
not_equal:
|
|
306
|
-
bound:
|
|
300
|
+
props: o,
|
|
301
|
+
update: $,
|
|
302
|
+
not_equal: i,
|
|
303
|
+
bound: xt(),
|
|
307
304
|
// lifecycle
|
|
308
305
|
on_mount: [],
|
|
309
306
|
on_destroy: [],
|
|
310
307
|
on_disconnect: [],
|
|
311
308
|
before_update: [],
|
|
312
309
|
after_update: [],
|
|
313
|
-
context: new Map(t.context || (
|
|
310
|
+
context: new Map(t.context || (c ? c.$$.context : [])),
|
|
314
311
|
// everything else
|
|
315
|
-
callbacks:
|
|
316
|
-
dirty:
|
|
312
|
+
callbacks: xt(),
|
|
313
|
+
dirty: s,
|
|
317
314
|
skip_bound: !1,
|
|
318
|
-
root: t.target ||
|
|
315
|
+
root: t.target || c.$$.root
|
|
319
316
|
};
|
|
320
|
-
|
|
321
|
-
let
|
|
322
|
-
if (
|
|
323
|
-
const
|
|
324
|
-
return
|
|
325
|
-
}) : [],
|
|
317
|
+
a && a(l.root);
|
|
318
|
+
let u = !1;
|
|
319
|
+
if (l.ctx = r ? r(e, t.props || {}, (d, m, ...y) => {
|
|
320
|
+
const g = y.length ? y[0] : m;
|
|
321
|
+
return l.ctx && i(l.ctx[d], l.ctx[d] = g) && (!l.skip_bound && l.bound[d] && l.bound[d](g), u && xn(e, d)), m;
|
|
322
|
+
}) : [], l.update(), u = !0, me(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
|
326
323
|
if (t.hydrate) {
|
|
327
|
-
const d =
|
|
328
|
-
|
|
324
|
+
const d = mn(t.target);
|
|
325
|
+
l.fragment && l.fragment.l(d), d.forEach(O);
|
|
329
326
|
} else
|
|
330
|
-
|
|
331
|
-
t.intro &&
|
|
327
|
+
l.fragment && l.fragment.c();
|
|
328
|
+
t.intro && En(e.$$.fragment), Cn(e, t.target, t.anchor), X();
|
|
332
329
|
}
|
|
333
|
-
|
|
330
|
+
Ee(c);
|
|
334
331
|
}
|
|
335
|
-
let
|
|
336
|
-
typeof HTMLElement == "function" && (
|
|
337
|
-
constructor(t,
|
|
332
|
+
let ir;
|
|
333
|
+
typeof HTMLElement == "function" && (ir = class extends HTMLElement {
|
|
334
|
+
constructor(t, r, n) {
|
|
338
335
|
super();
|
|
339
336
|
/** The Svelte component constructor */
|
|
340
|
-
|
|
337
|
+
U(this, "$$ctor");
|
|
341
338
|
/** Slots */
|
|
342
|
-
|
|
339
|
+
U(this, "$$s");
|
|
343
340
|
/** The Svelte component instance */
|
|
344
|
-
|
|
341
|
+
U(this, "$$c");
|
|
345
342
|
/** Whether or not the custom element is connected */
|
|
346
|
-
|
|
343
|
+
U(this, "$$cn", !1);
|
|
347
344
|
/** Component props data */
|
|
348
|
-
|
|
345
|
+
U(this, "$$d", {});
|
|
349
346
|
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
350
|
-
|
|
347
|
+
U(this, "$$r", !1);
|
|
351
348
|
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
352
|
-
|
|
349
|
+
U(this, "$$p_d", {});
|
|
353
350
|
/** @type {Record<string, Function[]>} Event listeners */
|
|
354
|
-
|
|
351
|
+
U(this, "$$l", {});
|
|
355
352
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
356
|
-
|
|
357
|
-
this.$$ctor = t, this.$$s =
|
|
353
|
+
U(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
354
|
+
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
|
358
355
|
}
|
|
359
|
-
addEventListener(t,
|
|
360
|
-
if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(
|
|
361
|
-
const
|
|
362
|
-
this.$$l_u.set(
|
|
356
|
+
addEventListener(t, r, n) {
|
|
357
|
+
if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
|
|
358
|
+
const i = this.$$c.$on(t, r);
|
|
359
|
+
this.$$l_u.set(r, i);
|
|
363
360
|
}
|
|
364
|
-
super.addEventListener(t,
|
|
361
|
+
super.addEventListener(t, r, n);
|
|
365
362
|
}
|
|
366
|
-
removeEventListener(t,
|
|
367
|
-
if (super.removeEventListener(t,
|
|
368
|
-
const
|
|
369
|
-
|
|
363
|
+
removeEventListener(t, r, n) {
|
|
364
|
+
if (super.removeEventListener(t, r, n), this.$$c) {
|
|
365
|
+
const i = this.$$l_u.get(r);
|
|
366
|
+
i && (i(), this.$$l_u.delete(r));
|
|
370
367
|
}
|
|
371
368
|
}
|
|
372
369
|
connectedCallback() {
|
|
373
|
-
return
|
|
370
|
+
return re(this, null, function* () {
|
|
374
371
|
if (this.$$cn = !0, !this.$$c) {
|
|
375
|
-
let t = function(
|
|
372
|
+
let t = function(o) {
|
|
376
373
|
return () => {
|
|
377
|
-
let
|
|
374
|
+
let a;
|
|
378
375
|
return {
|
|
379
376
|
c: function() {
|
|
380
|
-
|
|
377
|
+
a = T("slot"), o !== "default" && k(a, "name", o);
|
|
381
378
|
},
|
|
382
379
|
/**
|
|
383
380
|
* @param {HTMLElement} target
|
|
384
381
|
* @param {HTMLElement} [anchor]
|
|
385
382
|
*/
|
|
386
|
-
m: function(
|
|
387
|
-
|
|
383
|
+
m: function(l, u) {
|
|
384
|
+
L(l, a, u);
|
|
388
385
|
},
|
|
389
|
-
d: function(
|
|
390
|
-
|
|
386
|
+
d: function(l) {
|
|
387
|
+
l && O(a);
|
|
391
388
|
}
|
|
392
389
|
};
|
|
393
390
|
};
|
|
394
391
|
};
|
|
395
392
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
396
393
|
return;
|
|
397
|
-
const
|
|
398
|
-
for (const
|
|
399
|
-
|
|
400
|
-
for (const
|
|
401
|
-
const
|
|
402
|
-
|
|
394
|
+
const r = {}, n = fn(this);
|
|
395
|
+
for (const o of this.$$s)
|
|
396
|
+
o in n && (r[o] = [t(o)]);
|
|
397
|
+
for (const o of this.attributes) {
|
|
398
|
+
const a = this.$$g_p(o.name);
|
|
399
|
+
a in this.$$d || (this.$$d[a] = Le(a, o.value, this.$$p_d, "toProp"));
|
|
403
400
|
}
|
|
404
|
-
for (const
|
|
405
|
-
!(
|
|
401
|
+
for (const o in this.$$p_d)
|
|
402
|
+
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
406
403
|
this.$$c = new this.$$ctor({
|
|
407
404
|
target: this.shadowRoot || this,
|
|
408
|
-
props:
|
|
409
|
-
$$slots:
|
|
405
|
+
props: Je(W({}, this.$$d), {
|
|
406
|
+
$$slots: r,
|
|
410
407
|
$$scope: {
|
|
411
408
|
ctx: []
|
|
412
409
|
}
|
|
413
410
|
})
|
|
414
411
|
});
|
|
415
|
-
const
|
|
412
|
+
const i = () => {
|
|
416
413
|
this.$$r = !0;
|
|
417
|
-
for (const
|
|
418
|
-
if (this.$$d[
|
|
419
|
-
const
|
|
420
|
-
|
|
421
|
-
this.$$d[
|
|
414
|
+
for (const o in this.$$p_d)
|
|
415
|
+
if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
|
|
416
|
+
const a = Le(
|
|
417
|
+
o,
|
|
418
|
+
this.$$d[o],
|
|
422
419
|
this.$$p_d,
|
|
423
420
|
"toAttribute"
|
|
424
421
|
);
|
|
425
|
-
|
|
422
|
+
a == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, a);
|
|
426
423
|
}
|
|
427
424
|
this.$$r = !1;
|
|
428
425
|
};
|
|
429
|
-
this.$$c.$$.after_update.push(
|
|
430
|
-
for (const
|
|
431
|
-
for (const
|
|
432
|
-
const
|
|
433
|
-
this.$$l_u.set(
|
|
426
|
+
this.$$c.$$.after_update.push(i), i();
|
|
427
|
+
for (const o in this.$$l)
|
|
428
|
+
for (const a of this.$$l[o]) {
|
|
429
|
+
const s = this.$$c.$on(o, a);
|
|
430
|
+
this.$$l_u.set(a, s);
|
|
434
431
|
}
|
|
435
432
|
this.$$l = {};
|
|
436
433
|
}
|
|
@@ -438,9 +435,9 @@ typeof HTMLElement == "function" && (F = class extends HTMLElement {
|
|
|
438
435
|
}
|
|
439
436
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
440
437
|
// and setting attributes through setAttribute etc, this is helpful
|
|
441
|
-
attributeChangedCallback(t,
|
|
442
|
-
var
|
|
443
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
|
438
|
+
attributeChangedCallback(t, r, n) {
|
|
439
|
+
var i;
|
|
440
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = Le(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
444
441
|
}
|
|
445
442
|
disconnectedCallback() {
|
|
446
443
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -449,17 +446,17 @@ typeof HTMLElement == "function" && (F = class extends HTMLElement {
|
|
|
449
446
|
}
|
|
450
447
|
$$g_p(t) {
|
|
451
448
|
return Object.keys(this.$$p_d).find(
|
|
452
|
-
(
|
|
449
|
+
(r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
|
|
453
450
|
) || t;
|
|
454
451
|
}
|
|
455
452
|
});
|
|
456
|
-
function
|
|
457
|
-
var
|
|
458
|
-
const
|
|
459
|
-
if (t =
|
|
453
|
+
function Le(e, t, r, n) {
|
|
454
|
+
var o;
|
|
455
|
+
const i = (o = r[e]) == null ? void 0 : o.type;
|
|
456
|
+
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
460
457
|
return t;
|
|
461
|
-
if (
|
|
462
|
-
switch (
|
|
458
|
+
if (n === "toAttribute")
|
|
459
|
+
switch (i) {
|
|
463
460
|
case "Object":
|
|
464
461
|
case "Array":
|
|
465
462
|
return t == null ? null : JSON.stringify(t);
|
|
@@ -471,7 +468,7 @@ function w$1(e, t, n, s) {
|
|
|
471
468
|
return t;
|
|
472
469
|
}
|
|
473
470
|
else
|
|
474
|
-
switch (
|
|
471
|
+
switch (i) {
|
|
475
472
|
case "Object":
|
|
476
473
|
case "Array":
|
|
477
474
|
return t && JSON.parse(t);
|
|
@@ -483,38 +480,38 @@ function w$1(e, t, n, s) {
|
|
|
483
480
|
return t;
|
|
484
481
|
}
|
|
485
482
|
}
|
|
486
|
-
function
|
|
487
|
-
let
|
|
483
|
+
function or(e, t, r, n, i, o) {
|
|
484
|
+
let a = class extends ir {
|
|
488
485
|
constructor() {
|
|
489
|
-
super(e,
|
|
486
|
+
super(e, r, i), this.$$p_d = t;
|
|
490
487
|
}
|
|
491
488
|
static get observedAttributes() {
|
|
492
489
|
return Object.keys(t).map(
|
|
493
|
-
(
|
|
490
|
+
(s) => (t[s].attribute || s).toLowerCase()
|
|
494
491
|
);
|
|
495
492
|
}
|
|
496
493
|
};
|
|
497
|
-
return Object.keys(t).forEach((
|
|
498
|
-
Object.defineProperty(
|
|
494
|
+
return Object.keys(t).forEach((s) => {
|
|
495
|
+
Object.defineProperty(a.prototype, s, {
|
|
499
496
|
get() {
|
|
500
|
-
return this.$$c &&
|
|
497
|
+
return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
|
|
501
498
|
},
|
|
502
|
-
set(
|
|
503
|
-
var
|
|
504
|
-
|
|
499
|
+
set(c) {
|
|
500
|
+
var l;
|
|
501
|
+
c = Le(s, c, t), this.$$d[s] = c, (l = this.$$c) == null || l.$set({ [s]: c });
|
|
505
502
|
}
|
|
506
503
|
});
|
|
507
|
-
}),
|
|
508
|
-
Object.defineProperty(
|
|
504
|
+
}), n.forEach((s) => {
|
|
505
|
+
Object.defineProperty(a.prototype, s, {
|
|
509
506
|
get() {
|
|
510
|
-
var
|
|
511
|
-
return (
|
|
507
|
+
var c;
|
|
508
|
+
return (c = this.$$c) == null ? void 0 : c[s];
|
|
512
509
|
}
|
|
513
510
|
});
|
|
514
511
|
}), e.element = /** @type {any} */
|
|
515
|
-
|
|
512
|
+
a, a;
|
|
516
513
|
}
|
|
517
|
-
class
|
|
514
|
+
class ar {
|
|
518
515
|
constructor() {
|
|
519
516
|
/**
|
|
520
517
|
* ### PRIVATE API
|
|
@@ -523,7 +520,7 @@ class yt$1 {
|
|
|
523
520
|
*
|
|
524
521
|
* @type {any}
|
|
525
522
|
*/
|
|
526
|
-
|
|
523
|
+
U(this, "$$");
|
|
527
524
|
/**
|
|
528
525
|
* ### PRIVATE API
|
|
529
526
|
*
|
|
@@ -531,11 +528,11 @@ class yt$1 {
|
|
|
531
528
|
*
|
|
532
529
|
* @type {any}
|
|
533
530
|
*/
|
|
534
|
-
|
|
531
|
+
U(this, "$$set");
|
|
535
532
|
}
|
|
536
533
|
/** @returns {void} */
|
|
537
534
|
$destroy() {
|
|
538
|
-
|
|
535
|
+
Sn(this, 1), this.$destroy = $;
|
|
539
536
|
}
|
|
540
537
|
/**
|
|
541
538
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -543,13 +540,13 @@ class yt$1 {
|
|
|
543
540
|
* @param {((e: Events[K]) => void) | null | undefined} callback
|
|
544
541
|
* @returns {() => void}
|
|
545
542
|
*/
|
|
546
|
-
$on(t,
|
|
547
|
-
if (!
|
|
548
|
-
return
|
|
549
|
-
const
|
|
550
|
-
return
|
|
551
|
-
const
|
|
552
|
-
|
|
543
|
+
$on(t, r) {
|
|
544
|
+
if (!gt(r))
|
|
545
|
+
return $;
|
|
546
|
+
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
547
|
+
return n.push(r), () => {
|
|
548
|
+
const i = n.indexOf(r);
|
|
549
|
+
i !== -1 && n.splice(i, 1);
|
|
553
550
|
};
|
|
554
551
|
}
|
|
555
552
|
/**
|
|
@@ -557,379 +554,229 @@ class yt$1 {
|
|
|
557
554
|
* @returns {void}
|
|
558
555
|
*/
|
|
559
556
|
$set(t) {
|
|
560
|
-
this.$$set && !
|
|
557
|
+
this.$$set && !sn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
561
558
|
}
|
|
562
559
|
}
|
|
563
|
-
const
|
|
564
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
565
|
-
const
|
|
566
|
-
function
|
|
560
|
+
const wn = "4";
|
|
561
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(wn);
|
|
562
|
+
const ae = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
563
|
+
function Tn(e, t) {
|
|
567
564
|
if (e) {
|
|
568
|
-
const
|
|
569
|
-
|
|
565
|
+
const r = document.createElement("style");
|
|
566
|
+
r.innerHTML = t, e.appendChild(r);
|
|
570
567
|
}
|
|
571
568
|
}
|
|
572
|
-
function
|
|
569
|
+
function Mn(e, t) {
|
|
573
570
|
if (!e || !t)
|
|
574
571
|
return;
|
|
575
|
-
const
|
|
576
|
-
fetch(
|
|
577
|
-
const
|
|
578
|
-
|
|
579
|
-
}).catch((
|
|
580
|
-
console.error("There was an error while trying to load client styling from URL",
|
|
572
|
+
const r = new URL(t);
|
|
573
|
+
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
574
|
+
const i = document.createElement("style");
|
|
575
|
+
i.innerHTML = n, e && e.appendChild(i);
|
|
576
|
+
}).catch((n) => {
|
|
577
|
+
console.error("There was an error while trying to load client styling from URL", n);
|
|
581
578
|
});
|
|
582
579
|
}
|
|
583
|
-
function
|
|
580
|
+
function Nn(e, t, r, n = !1) {
|
|
584
581
|
if (!window.emMessageBus)
|
|
585
582
|
return;
|
|
586
|
-
if (!("adoptedStyleSheets" in Document.prototype) || !
|
|
587
|
-
return
|
|
588
|
-
window[
|
|
589
|
-
const
|
|
590
|
-
if (window[
|
|
591
|
-
const
|
|
592
|
-
|
|
583
|
+
if (!("adoptedStyleSheets" in Document.prototype) || !n)
|
|
584
|
+
return r = An(e, t), r;
|
|
585
|
+
window[ae] || (window[ae] = {}), r = Hn(e, t);
|
|
586
|
+
const o = r.unsubscribe.bind(r), a = () => {
|
|
587
|
+
if (window[ae][t]) {
|
|
588
|
+
const s = window[ae][t];
|
|
589
|
+
s.refCount > 1 ? s.refCount = s.refCount - 1 : delete window[ae][t];
|
|
593
590
|
}
|
|
594
|
-
|
|
591
|
+
o();
|
|
595
592
|
};
|
|
596
|
-
return
|
|
593
|
+
return r.unsubscribe = a, r;
|
|
597
594
|
}
|
|
598
|
-
function
|
|
599
|
-
const
|
|
600
|
-
return window.emMessageBus.subscribe(t, (
|
|
601
|
-
e && (
|
|
595
|
+
function An(e, t) {
|
|
596
|
+
const r = document.createElement("style");
|
|
597
|
+
return window.emMessageBus.subscribe(t, (n) => {
|
|
598
|
+
e && (r.innerHTML = n, e.appendChild(r));
|
|
602
599
|
});
|
|
603
600
|
}
|
|
604
|
-
function
|
|
605
|
-
return window.emMessageBus.subscribe(t, (
|
|
601
|
+
function Hn(e, t) {
|
|
602
|
+
return window.emMessageBus.subscribe(t, (r) => {
|
|
606
603
|
if (!e)
|
|
607
604
|
return;
|
|
608
|
-
const
|
|
609
|
-
let
|
|
610
|
-
|
|
611
|
-
sheet:
|
|
605
|
+
const n = e.getRootNode(), i = window[ae];
|
|
606
|
+
let o = i[t] && i[t].sheet;
|
|
607
|
+
o ? i[t].refCount = i[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), i[t] = {
|
|
608
|
+
sheet: o,
|
|
612
609
|
refCount: 1
|
|
613
610
|
});
|
|
614
|
-
const
|
|
615
|
-
|
|
611
|
+
const a = n.adoptedStyleSheets || [];
|
|
612
|
+
a.includes(o) || (n.adoptedStyleSheets = [...a, o]);
|
|
616
613
|
});
|
|
617
614
|
}
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
}
|
|
621
|
-
function At$1(e) {
|
|
622
|
-
let t;
|
|
615
|
+
const ie = [];
|
|
616
|
+
function Pn(e, t) {
|
|
623
617
|
return {
|
|
624
|
-
|
|
625
|
-
t = E("div"), t.innerHTML = '<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
|
|
626
|
-
},
|
|
627
|
-
m(n, s) {
|
|
628
|
-
N$1(n, t, s), e[4](t);
|
|
629
|
-
},
|
|
630
|
-
p: h,
|
|
631
|
-
i: h,
|
|
632
|
-
o: h,
|
|
633
|
-
d(n) {
|
|
634
|
-
n && x(t), e[4](null);
|
|
635
|
-
}
|
|
618
|
+
subscribe: Fe(e, t).subscribe
|
|
636
619
|
};
|
|
637
620
|
}
|
|
638
|
-
function
|
|
639
|
-
let { clientstyling: s = "" } = t, { clientstylingurl: c = "" } = t, { mbsource: i } = t, r, l;
|
|
640
|
-
lt$1(() => () => {
|
|
641
|
-
});
|
|
642
|
-
function u(o) {
|
|
643
|
-
v[o ? "unshift" : "push"](() => {
|
|
644
|
-
r = o, n(0, r);
|
|
645
|
-
});
|
|
646
|
-
}
|
|
647
|
-
return e.$$set = (o) => {
|
|
648
|
-
"clientstyling" in o && n(1, s = o.clientstyling), "clientstylingurl" in o && n(2, c = o.clientstylingurl), "mbsource" in o && n(3, i = o.mbsource);
|
|
649
|
-
}, e.$$.update = () => {
|
|
650
|
-
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
651
|
-
3 && s && r && St$1(r, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
652
|
-
5 && c && r && xt$1(r, c), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
653
|
-
9 && i && r && Et$1(r, `${i}.Style`, l);
|
|
654
|
-
}, [
|
|
655
|
-
r,
|
|
656
|
-
s,
|
|
657
|
-
c,
|
|
658
|
-
i,
|
|
659
|
-
u
|
|
660
|
-
];
|
|
661
|
-
}
|
|
662
|
-
class J extends yt$1 {
|
|
663
|
-
constructor(t) {
|
|
664
|
-
super(), bt$1(
|
|
665
|
-
this,
|
|
666
|
-
t,
|
|
667
|
-
Tt$1,
|
|
668
|
-
At$1,
|
|
669
|
-
Q,
|
|
670
|
-
{
|
|
671
|
-
clientstyling: 1,
|
|
672
|
-
clientstylingurl: 2,
|
|
673
|
-
mbsource: 3
|
|
674
|
-
},
|
|
675
|
-
vt$1
|
|
676
|
-
);
|
|
677
|
-
}
|
|
678
|
-
get clientstyling() {
|
|
679
|
-
return this.$$.ctx[1];
|
|
680
|
-
}
|
|
681
|
-
set clientstyling(t) {
|
|
682
|
-
this.$$set({ clientstyling: t }), b();
|
|
683
|
-
}
|
|
684
|
-
get clientstylingurl() {
|
|
685
|
-
return this.$$.ctx[2];
|
|
686
|
-
}
|
|
687
|
-
set clientstylingurl(t) {
|
|
688
|
-
this.$$set({ clientstylingurl: t }), b();
|
|
689
|
-
}
|
|
690
|
-
get mbsource() {
|
|
691
|
-
return this.$$.ctx[3];
|
|
692
|
-
}
|
|
693
|
-
set mbsource(t) {
|
|
694
|
-
this.$$set({ mbsource: t }), b();
|
|
695
|
-
}
|
|
696
|
-
}
|
|
697
|
-
gt$1(J, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
|
|
698
|
-
const Ut = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
699
|
-
__proto__: null,
|
|
700
|
-
default: J
|
|
701
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
702
|
-
|
|
703
|
-
const GeneralAnimationLoadingC1pQ_j2M = /*#__PURE__*/Object.freeze({
|
|
704
|
-
__proto__: null,
|
|
705
|
-
A: kt$1,
|
|
706
|
-
B: St$1,
|
|
707
|
-
C: xt$1,
|
|
708
|
-
D: Et$1,
|
|
709
|
-
G: Ut,
|
|
710
|
-
H: Dt,
|
|
711
|
-
S: yt$1,
|
|
712
|
-
a: Z$1,
|
|
713
|
-
b: bt$1,
|
|
714
|
-
c: gt$1,
|
|
715
|
-
d: x,
|
|
716
|
-
e: N$1,
|
|
717
|
-
f: tt,
|
|
718
|
-
g: it,
|
|
719
|
-
h: I,
|
|
720
|
-
i: U,
|
|
721
|
-
j: b,
|
|
722
|
-
k: et,
|
|
723
|
-
l: E,
|
|
724
|
-
m: jt$1,
|
|
725
|
-
n: h,
|
|
726
|
-
o: lt$1,
|
|
727
|
-
p: v,
|
|
728
|
-
q: Ht$1,
|
|
729
|
-
r: S,
|
|
730
|
-
s: Q,
|
|
731
|
-
t: Rt,
|
|
732
|
-
u: z,
|
|
733
|
-
v: Gt,
|
|
734
|
-
w: Ot$1,
|
|
735
|
-
x: Bt$1,
|
|
736
|
-
y: Mt$1,
|
|
737
|
-
z: Pt$1
|
|
738
|
-
});
|
|
739
|
-
|
|
740
|
-
var jr = Object.defineProperty, Lr = Object.defineProperties;
|
|
741
|
-
var Rr = Object.getOwnPropertyDescriptors;
|
|
742
|
-
var st = Object.getOwnPropertySymbols;
|
|
743
|
-
var Ur = Object.prototype.hasOwnProperty, Dr = Object.prototype.propertyIsEnumerable;
|
|
744
|
-
var lt = (e, t, r) => t in e ? jr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Z = (e, t) => {
|
|
745
|
-
for (var r in t || (t = {}))
|
|
746
|
-
Ur.call(t, r) && lt(e, r, t[r]);
|
|
747
|
-
if (st)
|
|
748
|
-
for (var r of st(t))
|
|
749
|
-
Dr.call(t, r) && lt(e, r, t[r]);
|
|
750
|
-
return e;
|
|
751
|
-
}, ct = (e, t) => Lr(e, Rr(t));
|
|
752
|
-
var me = (e, t, r) => new Promise((n, i) => {
|
|
753
|
-
var o = (h) => {
|
|
754
|
-
try {
|
|
755
|
-
s(r.next(h));
|
|
756
|
-
} catch (u) {
|
|
757
|
-
i(u);
|
|
758
|
-
}
|
|
759
|
-
}, a = (h) => {
|
|
760
|
-
try {
|
|
761
|
-
s(r.throw(h));
|
|
762
|
-
} catch (u) {
|
|
763
|
-
i(u);
|
|
764
|
-
}
|
|
765
|
-
}, s = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, a);
|
|
766
|
-
s((r = r.apply(e, t)).next());
|
|
767
|
-
});
|
|
768
|
-
const ee = [];
|
|
769
|
-
function Kr(e, t) {
|
|
770
|
-
return {
|
|
771
|
-
subscribe: Be(e, t).subscribe
|
|
772
|
-
};
|
|
773
|
-
}
|
|
774
|
-
function Be(e, t = h) {
|
|
621
|
+
function Fe(e, t = $) {
|
|
775
622
|
let r;
|
|
776
623
|
const n = /* @__PURE__ */ new Set();
|
|
777
624
|
function i(s) {
|
|
778
|
-
if (
|
|
779
|
-
const
|
|
780
|
-
for (const
|
|
781
|
-
|
|
782
|
-
if (
|
|
783
|
-
for (let
|
|
784
|
-
|
|
785
|
-
|
|
625
|
+
if (_t(e, s) && (e = s, r)) {
|
|
626
|
+
const c = !ie.length;
|
|
627
|
+
for (const l of n)
|
|
628
|
+
l[1](), ie.push(l, e);
|
|
629
|
+
if (c) {
|
|
630
|
+
for (let l = 0; l < ie.length; l += 2)
|
|
631
|
+
ie[l][0](ie[l + 1]);
|
|
632
|
+
ie.length = 0;
|
|
786
633
|
}
|
|
787
634
|
}
|
|
788
635
|
}
|
|
789
636
|
function o(s) {
|
|
790
637
|
i(s(e));
|
|
791
638
|
}
|
|
792
|
-
function a(s,
|
|
793
|
-
const
|
|
794
|
-
return n.add(
|
|
795
|
-
n.delete(
|
|
639
|
+
function a(s, c = $) {
|
|
640
|
+
const l = [s, c];
|
|
641
|
+
return n.add(l), n.size === 1 && (r = t(i, o) || $), s(e), () => {
|
|
642
|
+
n.delete(l), n.size === 0 && r && (r(), r = null);
|
|
796
643
|
};
|
|
797
644
|
}
|
|
798
645
|
return { set: i, update: o, subscribe: a };
|
|
799
646
|
}
|
|
800
|
-
function
|
|
647
|
+
function fe(e, t, r) {
|
|
801
648
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
802
649
|
if (!i.every(Boolean))
|
|
803
650
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
804
651
|
const o = t.length < 2;
|
|
805
|
-
return
|
|
806
|
-
let
|
|
807
|
-
const
|
|
808
|
-
let
|
|
652
|
+
return Pn(r, (a, s) => {
|
|
653
|
+
let c = !1;
|
|
654
|
+
const l = [];
|
|
655
|
+
let u = 0, d = $;
|
|
809
656
|
const m = () => {
|
|
810
|
-
if (
|
|
657
|
+
if (u)
|
|
811
658
|
return;
|
|
812
659
|
d();
|
|
813
|
-
const
|
|
814
|
-
o ? a(
|
|
660
|
+
const g = t(n ? l[0] : l, a, s);
|
|
661
|
+
o ? a(g) : d = gt(g) ? g : $;
|
|
815
662
|
}, y = i.map(
|
|
816
|
-
(
|
|
817
|
-
|
|
663
|
+
(g, p) => tr(
|
|
664
|
+
g,
|
|
818
665
|
(S) => {
|
|
819
|
-
|
|
666
|
+
l[p] = S, u &= ~(1 << p), c && m();
|
|
820
667
|
},
|
|
821
668
|
() => {
|
|
822
|
-
|
|
669
|
+
u |= 1 << p;
|
|
823
670
|
}
|
|
824
671
|
)
|
|
825
672
|
);
|
|
826
|
-
return
|
|
827
|
-
|
|
673
|
+
return c = !0, m(), function() {
|
|
674
|
+
me(y), d(), c = !1;
|
|
828
675
|
};
|
|
829
676
|
});
|
|
830
677
|
}
|
|
831
|
-
function
|
|
678
|
+
function Bn(e) {
|
|
832
679
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
833
680
|
}
|
|
834
|
-
var
|
|
835
|
-
return
|
|
681
|
+
var On = function(t) {
|
|
682
|
+
return zn(t) && !Ln(t);
|
|
836
683
|
};
|
|
837
|
-
function
|
|
684
|
+
function zn(e) {
|
|
838
685
|
return !!e && typeof e == "object";
|
|
839
686
|
}
|
|
840
|
-
function
|
|
687
|
+
function Ln(e) {
|
|
841
688
|
var t = Object.prototype.toString.call(e);
|
|
842
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
689
|
+
return t === "[object RegExp]" || t === "[object Date]" || Rn(e);
|
|
843
690
|
}
|
|
844
|
-
var
|
|
845
|
-
function
|
|
846
|
-
return e.$$typeof ===
|
|
691
|
+
var jn = typeof Symbol == "function" && Symbol.for, In = jn ? Symbol.for("react.element") : 60103;
|
|
692
|
+
function Rn(e) {
|
|
693
|
+
return e.$$typeof === In;
|
|
847
694
|
}
|
|
848
|
-
function
|
|
695
|
+
function Un(e) {
|
|
849
696
|
return Array.isArray(e) ? [] : {};
|
|
850
697
|
}
|
|
851
|
-
function
|
|
852
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
698
|
+
function xe(e, t) {
|
|
699
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? ce(Un(e), e, t) : e;
|
|
853
700
|
}
|
|
854
|
-
function
|
|
701
|
+
function Dn(e, t, r) {
|
|
855
702
|
return e.concat(t).map(function(n) {
|
|
856
|
-
return
|
|
703
|
+
return xe(n, r);
|
|
857
704
|
});
|
|
858
705
|
}
|
|
859
|
-
function
|
|
706
|
+
function Gn(e, t) {
|
|
860
707
|
if (!t.customMerge)
|
|
861
|
-
return
|
|
708
|
+
return ce;
|
|
862
709
|
var r = t.customMerge(e);
|
|
863
|
-
return typeof r == "function" ? r :
|
|
710
|
+
return typeof r == "function" ? r : ce;
|
|
864
711
|
}
|
|
865
|
-
function
|
|
712
|
+
function Fn(e) {
|
|
866
713
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
867
714
|
return Object.propertyIsEnumerable.call(e, t);
|
|
868
715
|
}) : [];
|
|
869
716
|
}
|
|
870
|
-
function
|
|
871
|
-
return Object.keys(e).concat(
|
|
717
|
+
function Tt(e) {
|
|
718
|
+
return Object.keys(e).concat(Fn(e));
|
|
872
719
|
}
|
|
873
|
-
function
|
|
720
|
+
function sr(e, t) {
|
|
874
721
|
try {
|
|
875
722
|
return t in e;
|
|
876
723
|
} catch (r) {
|
|
877
724
|
return !1;
|
|
878
725
|
}
|
|
879
726
|
}
|
|
880
|
-
function
|
|
881
|
-
return
|
|
727
|
+
function $n(e, t) {
|
|
728
|
+
return sr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
882
729
|
}
|
|
883
|
-
function
|
|
730
|
+
function Vn(e, t, r) {
|
|
884
731
|
var n = {};
|
|
885
|
-
return r.isMergeableObject(e) &&
|
|
886
|
-
n[i] =
|
|
887
|
-
}),
|
|
888
|
-
|
|
732
|
+
return r.isMergeableObject(e) && Tt(e).forEach(function(i) {
|
|
733
|
+
n[i] = xe(e[i], r);
|
|
734
|
+
}), Tt(t).forEach(function(i) {
|
|
735
|
+
$n(e, i) || (sr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Gn(i, r)(e[i], t[i], r) : n[i] = xe(t[i], r));
|
|
889
736
|
}), n;
|
|
890
737
|
}
|
|
891
|
-
function
|
|
892
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
738
|
+
function ce(e, t, r) {
|
|
739
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Dn, r.isMergeableObject = r.isMergeableObject || On, r.cloneUnlessOtherwiseSpecified = xe;
|
|
893
740
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
894
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
741
|
+
return o ? n ? r.arrayMerge(e, t, r) : Vn(e, t, r) : xe(t, r);
|
|
895
742
|
}
|
|
896
|
-
|
|
743
|
+
ce.all = function(t, r) {
|
|
897
744
|
if (!Array.isArray(t))
|
|
898
745
|
throw new Error("first argument should be an array");
|
|
899
746
|
return t.reduce(function(n, i) {
|
|
900
|
-
return
|
|
747
|
+
return ce(n, i, r);
|
|
901
748
|
}, {});
|
|
902
749
|
};
|
|
903
|
-
var
|
|
904
|
-
const
|
|
905
|
-
var
|
|
906
|
-
return
|
|
750
|
+
var Xn = ce, qn = Xn;
|
|
751
|
+
const Wn = /* @__PURE__ */ Bn(qn);
|
|
752
|
+
var st = function(e, t) {
|
|
753
|
+
return st = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
907
754
|
r.__proto__ = n;
|
|
908
755
|
} || function(r, n) {
|
|
909
756
|
for (var i in n)
|
|
910
757
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
911
|
-
},
|
|
758
|
+
}, st(e, t);
|
|
912
759
|
};
|
|
913
|
-
function
|
|
760
|
+
function $e(e, t) {
|
|
914
761
|
if (typeof t != "function" && t !== null)
|
|
915
762
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
916
|
-
|
|
763
|
+
st(e, t);
|
|
917
764
|
function r() {
|
|
918
765
|
this.constructor = e;
|
|
919
766
|
}
|
|
920
767
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
921
768
|
}
|
|
922
|
-
var
|
|
923
|
-
return
|
|
769
|
+
var Z = function() {
|
|
770
|
+
return Z = Object.assign || function(t) {
|
|
924
771
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
925
772
|
r = arguments[n];
|
|
926
773
|
for (var o in r)
|
|
927
774
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
928
775
|
}
|
|
929
776
|
return t;
|
|
930
|
-
},
|
|
777
|
+
}, Z.apply(this, arguments);
|
|
931
778
|
};
|
|
932
|
-
function
|
|
779
|
+
function Zn(e, t) {
|
|
933
780
|
var r = {};
|
|
934
781
|
for (var n in e)
|
|
935
782
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -938,43 +785,43 @@ function fn(e, t) {
|
|
|
938
785
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
939
786
|
return r;
|
|
940
787
|
}
|
|
941
|
-
function
|
|
788
|
+
function Ye(e, t, r) {
|
|
942
789
|
if (r || arguments.length === 2)
|
|
943
790
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
944
791
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
945
792
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
946
793
|
}
|
|
947
|
-
function
|
|
948
|
-
var r = t && t.cache ? t.cache :
|
|
794
|
+
function Ke(e, t) {
|
|
795
|
+
var r = t && t.cache ? t.cache : ri, n = t && t.serializer ? t.serializer : ei, i = t && t.strategy ? t.strategy : Yn;
|
|
949
796
|
return i(e, {
|
|
950
797
|
cache: r,
|
|
951
798
|
serializer: n
|
|
952
799
|
});
|
|
953
800
|
}
|
|
954
|
-
function
|
|
801
|
+
function Jn(e) {
|
|
955
802
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
956
803
|
}
|
|
957
|
-
function
|
|
958
|
-
var i =
|
|
804
|
+
function Qn(e, t, r, n) {
|
|
805
|
+
var i = Jn(n) ? n : r(n), o = t.get(i);
|
|
959
806
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
960
807
|
}
|
|
961
|
-
function
|
|
808
|
+
function lr(e, t, r) {
|
|
962
809
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
963
810
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
964
811
|
}
|
|
965
|
-
function
|
|
812
|
+
function cr(e, t, r, n, i) {
|
|
966
813
|
return r.bind(t, e, n, i);
|
|
967
814
|
}
|
|
968
|
-
function
|
|
969
|
-
var r = e.length === 1 ?
|
|
970
|
-
return
|
|
815
|
+
function Yn(e, t) {
|
|
816
|
+
var r = e.length === 1 ? Qn : lr;
|
|
817
|
+
return cr(e, this, r, t.cache.create(), t.serializer);
|
|
971
818
|
}
|
|
972
|
-
function
|
|
973
|
-
return
|
|
819
|
+
function Kn(e, t) {
|
|
820
|
+
return cr(e, this, lr, t.cache.create(), t.serializer);
|
|
974
821
|
}
|
|
975
|
-
var
|
|
822
|
+
var ei = function() {
|
|
976
823
|
return JSON.stringify(arguments);
|
|
977
|
-
},
|
|
824
|
+
}, ti = (
|
|
978
825
|
/** @class */
|
|
979
826
|
function() {
|
|
980
827
|
function e() {
|
|
@@ -986,71 +833,71 @@ var bn = function() {
|
|
|
986
833
|
this.cache[t] = r;
|
|
987
834
|
}, e;
|
|
988
835
|
}()
|
|
989
|
-
),
|
|
836
|
+
), ri = {
|
|
990
837
|
create: function() {
|
|
991
|
-
return new
|
|
838
|
+
return new ti();
|
|
992
839
|
}
|
|
993
|
-
},
|
|
994
|
-
variadic:
|
|
995
|
-
},
|
|
996
|
-
return
|
|
840
|
+
}, et = {
|
|
841
|
+
variadic: Kn
|
|
842
|
+
}, Ue = function() {
|
|
843
|
+
return Ue = Object.assign || function(t) {
|
|
997
844
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
998
845
|
r = arguments[n];
|
|
999
846
|
for (var o in r)
|
|
1000
847
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1001
848
|
}
|
|
1002
849
|
return t;
|
|
1003
|
-
},
|
|
850
|
+
}, Ue.apply(this, arguments);
|
|
1004
851
|
};
|
|
1005
|
-
var
|
|
852
|
+
var N;
|
|
1006
853
|
(function(e) {
|
|
1007
854
|
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";
|
|
1008
|
-
})(
|
|
855
|
+
})(N || (N = {}));
|
|
1009
856
|
var P;
|
|
1010
857
|
(function(e) {
|
|
1011
858
|
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";
|
|
1012
859
|
})(P || (P = {}));
|
|
1013
|
-
var
|
|
860
|
+
var ue;
|
|
1014
861
|
(function(e) {
|
|
1015
862
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1016
|
-
})(
|
|
1017
|
-
function
|
|
863
|
+
})(ue || (ue = {}));
|
|
864
|
+
function Mt(e) {
|
|
1018
865
|
return e.type === P.literal;
|
|
1019
866
|
}
|
|
1020
|
-
function
|
|
867
|
+
function ni(e) {
|
|
1021
868
|
return e.type === P.argument;
|
|
1022
869
|
}
|
|
1023
|
-
function
|
|
870
|
+
function ur(e) {
|
|
1024
871
|
return e.type === P.number;
|
|
1025
872
|
}
|
|
1026
|
-
function
|
|
873
|
+
function hr(e) {
|
|
1027
874
|
return e.type === P.date;
|
|
1028
875
|
}
|
|
1029
|
-
function
|
|
876
|
+
function dr(e) {
|
|
1030
877
|
return e.type === P.time;
|
|
1031
878
|
}
|
|
1032
|
-
function
|
|
879
|
+
function mr(e) {
|
|
1033
880
|
return e.type === P.select;
|
|
1034
881
|
}
|
|
1035
|
-
function
|
|
882
|
+
function fr(e) {
|
|
1036
883
|
return e.type === P.plural;
|
|
1037
884
|
}
|
|
1038
|
-
function
|
|
885
|
+
function ii(e) {
|
|
1039
886
|
return e.type === P.pound;
|
|
1040
887
|
}
|
|
1041
|
-
function
|
|
888
|
+
function pr(e) {
|
|
1042
889
|
return e.type === P.tag;
|
|
1043
890
|
}
|
|
1044
|
-
function
|
|
1045
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
891
|
+
function gr(e) {
|
|
892
|
+
return !!(e && typeof e == "object" && e.type === ue.number);
|
|
1046
893
|
}
|
|
1047
|
-
function
|
|
1048
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
894
|
+
function lt(e) {
|
|
895
|
+
return !!(e && typeof e == "object" && e.type === ue.dateTime);
|
|
1049
896
|
}
|
|
1050
|
-
var
|
|
1051
|
-
function
|
|
897
|
+
var _r = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, oi = /(?:[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;
|
|
898
|
+
function ai(e) {
|
|
1052
899
|
var t = {};
|
|
1053
|
-
return e.replace(
|
|
900
|
+
return e.replace(oi, function(r) {
|
|
1054
901
|
var n = r.length;
|
|
1055
902
|
switch (r[0]) {
|
|
1056
903
|
case "G":
|
|
@@ -1149,36 +996,36 @@ var B = function() {
|
|
|
1149
996
|
return t;
|
|
1150
997
|
}, B.apply(this, arguments);
|
|
1151
998
|
};
|
|
1152
|
-
var
|
|
1153
|
-
function
|
|
999
|
+
var si = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1000
|
+
function li(e) {
|
|
1154
1001
|
if (e.length === 0)
|
|
1155
1002
|
throw new Error("Number skeleton cannot be empty");
|
|
1156
|
-
for (var t = e.split(
|
|
1003
|
+
for (var t = e.split(si).filter(function(m) {
|
|
1157
1004
|
return m.length > 0;
|
|
1158
1005
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1159
1006
|
var o = i[n], a = o.split("/");
|
|
1160
1007
|
if (a.length === 0)
|
|
1161
1008
|
throw new Error("Invalid number skeleton");
|
|
1162
|
-
for (var s = a[0],
|
|
1163
|
-
var d =
|
|
1009
|
+
for (var s = a[0], c = a.slice(1), l = 0, u = c; l < u.length; l++) {
|
|
1010
|
+
var d = u[l];
|
|
1164
1011
|
if (d.length === 0)
|
|
1165
1012
|
throw new Error("Invalid number skeleton");
|
|
1166
1013
|
}
|
|
1167
|
-
r.push({ stem: s, options:
|
|
1014
|
+
r.push({ stem: s, options: c });
|
|
1168
1015
|
}
|
|
1169
1016
|
return r;
|
|
1170
1017
|
}
|
|
1171
|
-
function
|
|
1018
|
+
function ci(e) {
|
|
1172
1019
|
return e.replace(/^(.*?)-/, "");
|
|
1173
1020
|
}
|
|
1174
|
-
var
|
|
1175
|
-
function
|
|
1021
|
+
var Nt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, yr = /^(@+)?(\+|#+)?[rs]?$/g, ui = /(\*)(0+)|(#+)(0+)|(0+)/g, vr = /^(0+)$/;
|
|
1022
|
+
function At(e) {
|
|
1176
1023
|
var t = {};
|
|
1177
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1024
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(yr, function(r, n, i) {
|
|
1178
1025
|
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)), "";
|
|
1179
1026
|
}), t;
|
|
1180
1027
|
}
|
|
1181
|
-
function
|
|
1028
|
+
function br(e) {
|
|
1182
1029
|
switch (e) {
|
|
1183
1030
|
case "sign-auto":
|
|
1184
1031
|
return {
|
|
@@ -1218,7 +1065,7 @@ function nr(e) {
|
|
|
1218
1065
|
};
|
|
1219
1066
|
}
|
|
1220
1067
|
}
|
|
1221
|
-
function
|
|
1068
|
+
function hi(e) {
|
|
1222
1069
|
var t;
|
|
1223
1070
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1224
1071
|
notation: "engineering"
|
|
@@ -1226,17 +1073,17 @@ function Pn(e) {
|
|
|
1226
1073
|
notation: "scientific"
|
|
1227
1074
|
}, e = e.slice(1)), t) {
|
|
1228
1075
|
var r = e.slice(0, 2);
|
|
1229
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1076
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !vr.test(e))
|
|
1230
1077
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1231
1078
|
t.minimumIntegerDigits = e.length;
|
|
1232
1079
|
}
|
|
1233
1080
|
return t;
|
|
1234
1081
|
}
|
|
1235
|
-
function
|
|
1236
|
-
var t = {}, r =
|
|
1082
|
+
function Ht(e) {
|
|
1083
|
+
var t = {}, r = br(e);
|
|
1237
1084
|
return r || t;
|
|
1238
1085
|
}
|
|
1239
|
-
function
|
|
1086
|
+
function di(e) {
|
|
1240
1087
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1241
1088
|
var i = n[r];
|
|
1242
1089
|
switch (i.stem) {
|
|
@@ -1260,7 +1107,7 @@ function Bn(e) {
|
|
|
1260
1107
|
continue;
|
|
1261
1108
|
case "measure-unit":
|
|
1262
1109
|
case "unit":
|
|
1263
|
-
t.style = "unit", t.unit =
|
|
1110
|
+
t.style = "unit", t.unit = ci(i.options[0]);
|
|
1264
1111
|
continue;
|
|
1265
1112
|
case "compact-short":
|
|
1266
1113
|
case "K":
|
|
@@ -1271,13 +1118,13 @@ function Bn(e) {
|
|
|
1271
1118
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1272
1119
|
continue;
|
|
1273
1120
|
case "scientific":
|
|
1274
|
-
t = B(B(B({}, t), { notation: "scientific" }), i.options.reduce(function(
|
|
1275
|
-
return B(B({},
|
|
1121
|
+
t = B(B(B({}, t), { notation: "scientific" }), i.options.reduce(function(c, l) {
|
|
1122
|
+
return B(B({}, c), Ht(l));
|
|
1276
1123
|
}, {}));
|
|
1277
1124
|
continue;
|
|
1278
1125
|
case "engineering":
|
|
1279
|
-
t = B(B(B({}, t), { notation: "engineering" }), i.options.reduce(function(
|
|
1280
|
-
return B(B({},
|
|
1126
|
+
t = B(B(B({}, t), { notation: "engineering" }), i.options.reduce(function(c, l) {
|
|
1127
|
+
return B(B({}, c), Ht(l));
|
|
1281
1128
|
}, {}));
|
|
1282
1129
|
continue;
|
|
1283
1130
|
case "notation-simple":
|
|
@@ -1322,9 +1169,9 @@ function Bn(e) {
|
|
|
1322
1169
|
case "integer-width":
|
|
1323
1170
|
if (i.options.length > 1)
|
|
1324
1171
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1325
|
-
i.options[0].replace(
|
|
1326
|
-
if (
|
|
1327
|
-
t.minimumIntegerDigits =
|
|
1172
|
+
i.options[0].replace(ui, function(c, l, u, d, m, y) {
|
|
1173
|
+
if (l)
|
|
1174
|
+
t.minimumIntegerDigits = u.length;
|
|
1328
1175
|
else {
|
|
1329
1176
|
if (d && m)
|
|
1330
1177
|
throw new Error("We currently do not support maximum integer digits");
|
|
@@ -1335,32 +1182,32 @@ function Bn(e) {
|
|
|
1335
1182
|
});
|
|
1336
1183
|
continue;
|
|
1337
1184
|
}
|
|
1338
|
-
if (
|
|
1185
|
+
if (vr.test(i.stem)) {
|
|
1339
1186
|
t.minimumIntegerDigits = i.stem.length;
|
|
1340
1187
|
continue;
|
|
1341
1188
|
}
|
|
1342
|
-
if (
|
|
1189
|
+
if (Nt.test(i.stem)) {
|
|
1343
1190
|
if (i.options.length > 1)
|
|
1344
1191
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1345
|
-
i.stem.replace(
|
|
1346
|
-
return
|
|
1192
|
+
i.stem.replace(Nt, function(c, l, u, d, m, y) {
|
|
1193
|
+
return u === "*" ? t.minimumFractionDigits = l.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : m && y ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + y.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
|
1347
1194
|
});
|
|
1348
1195
|
var o = i.options[0];
|
|
1349
|
-
o === "w" ? t = B(B({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = B(B({}, t),
|
|
1196
|
+
o === "w" ? t = B(B({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = B(B({}, t), At(o)));
|
|
1350
1197
|
continue;
|
|
1351
1198
|
}
|
|
1352
|
-
if (
|
|
1353
|
-
t = B(B({}, t),
|
|
1199
|
+
if (yr.test(i.stem)) {
|
|
1200
|
+
t = B(B({}, t), At(i.stem));
|
|
1354
1201
|
continue;
|
|
1355
1202
|
}
|
|
1356
|
-
var a =
|
|
1203
|
+
var a = br(i.stem);
|
|
1357
1204
|
a && (t = B(B({}, t), a));
|
|
1358
|
-
var s =
|
|
1205
|
+
var s = hi(i.stem);
|
|
1359
1206
|
s && (t = B(B({}, t), s));
|
|
1360
1207
|
}
|
|
1361
1208
|
return t;
|
|
1362
1209
|
}
|
|
1363
|
-
var
|
|
1210
|
+
var ze = {
|
|
1364
1211
|
"001": [
|
|
1365
1212
|
"H",
|
|
1366
1213
|
"h"
|
|
@@ -2775,23 +2622,23 @@ var Me = {
|
|
|
2775
2622
|
"h"
|
|
2776
2623
|
]
|
|
2777
2624
|
};
|
|
2778
|
-
function
|
|
2625
|
+
function mi(e, t) {
|
|
2779
2626
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2780
2627
|
var i = e.charAt(n);
|
|
2781
2628
|
if (i === "j") {
|
|
2782
2629
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2783
2630
|
o++, n++;
|
|
2784
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1),
|
|
2785
|
-
for ((
|
|
2786
|
-
r +=
|
|
2631
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), c = "a", l = fi(t);
|
|
2632
|
+
for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
|
|
2633
|
+
r += c;
|
|
2787
2634
|
for (; a-- > 0; )
|
|
2788
|
-
r =
|
|
2635
|
+
r = l + r;
|
|
2789
2636
|
} else
|
|
2790
2637
|
i === "J" ? r += "H" : r += i;
|
|
2791
2638
|
}
|
|
2792
2639
|
return r;
|
|
2793
2640
|
}
|
|
2794
|
-
function
|
|
2641
|
+
function fi(e) {
|
|
2795
2642
|
var t = e.hourCycle;
|
|
2796
2643
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2797
2644
|
e.hourCycles && // @ts-ignore
|
|
@@ -2810,23 +2657,23 @@ function zn(e) {
|
|
|
2810
2657
|
}
|
|
2811
2658
|
var r = e.language, n;
|
|
2812
2659
|
r !== "root" && (n = e.maximize().region);
|
|
2813
|
-
var i =
|
|
2660
|
+
var i = ze[n || ""] || ze[r || ""] || ze["".concat(r, "-001")] || ze["001"];
|
|
2814
2661
|
return i[0];
|
|
2815
2662
|
}
|
|
2816
|
-
var
|
|
2817
|
-
function
|
|
2663
|
+
var tt, pi = new RegExp("^".concat(_r.source, "*")), gi = new RegExp("".concat(_r.source, "*$"));
|
|
2664
|
+
function A(e, t) {
|
|
2818
2665
|
return { start: e, end: t };
|
|
2819
2666
|
}
|
|
2820
|
-
var
|
|
2667
|
+
var _i = !!String.prototype.startsWith && "_a".startsWith("a", 1), yi = !!String.fromCodePoint, vi = !!Object.fromEntries, bi = !!String.prototype.codePointAt, ki = !!String.prototype.trimStart, Ei = !!String.prototype.trimEnd, Ci = !!Number.isSafeInteger, Si = Ci ? Number.isSafeInteger : function(e) {
|
|
2821
2668
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2822
|
-
},
|
|
2669
|
+
}, ct = !0;
|
|
2823
2670
|
try {
|
|
2824
|
-
var
|
|
2825
|
-
|
|
2671
|
+
var xi = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2672
|
+
ct = ((tt = xi.exec("a")) === null || tt === void 0 ? void 0 : tt[0]) === "a";
|
|
2826
2673
|
} catch (e) {
|
|
2827
|
-
|
|
2674
|
+
ct = !1;
|
|
2828
2675
|
}
|
|
2829
|
-
var
|
|
2676
|
+
var Pt = _i ? (
|
|
2830
2677
|
// Native
|
|
2831
2678
|
function(t, r, n) {
|
|
2832
2679
|
return t.startsWith(r, n);
|
|
@@ -2836,7 +2683,7 @@ var _t = Ln ? (
|
|
|
2836
2683
|
function(t, r, n) {
|
|
2837
2684
|
return t.slice(n, n + r.length) === r;
|
|
2838
2685
|
}
|
|
2839
|
-
),
|
|
2686
|
+
), ut = yi ? String.fromCodePoint : (
|
|
2840
2687
|
// IE11
|
|
2841
2688
|
function() {
|
|
2842
2689
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2848,9 +2695,9 @@ var _t = Ln ? (
|
|
|
2848
2695
|
}
|
|
2849
2696
|
return n;
|
|
2850
2697
|
}
|
|
2851
|
-
),
|
|
2698
|
+
), Bt = (
|
|
2852
2699
|
// native
|
|
2853
|
-
|
|
2700
|
+
vi ? Object.fromEntries : (
|
|
2854
2701
|
// Ponyfill
|
|
2855
2702
|
function(t) {
|
|
2856
2703
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2860,7 +2707,7 @@ var _t = Ln ? (
|
|
|
2860
2707
|
return r;
|
|
2861
2708
|
}
|
|
2862
2709
|
)
|
|
2863
|
-
),
|
|
2710
|
+
), kr = bi ? (
|
|
2864
2711
|
// Native
|
|
2865
2712
|
function(t, r) {
|
|
2866
2713
|
return t.codePointAt(r);
|
|
@@ -2874,7 +2721,7 @@ var _t = Ln ? (
|
|
|
2874
2721
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
2875
2722
|
}
|
|
2876
2723
|
}
|
|
2877
|
-
),
|
|
2724
|
+
), wi = ki ? (
|
|
2878
2725
|
// Native
|
|
2879
2726
|
function(t) {
|
|
2880
2727
|
return t.trimStart();
|
|
@@ -2882,9 +2729,9 @@ var _t = Ln ? (
|
|
|
2882
2729
|
) : (
|
|
2883
2730
|
// Ponyfill
|
|
2884
2731
|
function(t) {
|
|
2885
|
-
return t.replace(
|
|
2732
|
+
return t.replace(pi, "");
|
|
2886
2733
|
}
|
|
2887
|
-
),
|
|
2734
|
+
), Ti = Ei ? (
|
|
2888
2735
|
// Native
|
|
2889
2736
|
function(t) {
|
|
2890
2737
|
return t.trimEnd();
|
|
@@ -2892,32 +2739,32 @@ var _t = Ln ? (
|
|
|
2892
2739
|
) : (
|
|
2893
2740
|
// Ponyfill
|
|
2894
2741
|
function(t) {
|
|
2895
|
-
return t.replace(
|
|
2742
|
+
return t.replace(gi, "");
|
|
2896
2743
|
}
|
|
2897
2744
|
);
|
|
2898
|
-
function
|
|
2745
|
+
function Er(e, t) {
|
|
2899
2746
|
return new RegExp(e, t);
|
|
2900
2747
|
}
|
|
2901
|
-
var
|
|
2902
|
-
if (
|
|
2903
|
-
var
|
|
2904
|
-
|
|
2748
|
+
var ht;
|
|
2749
|
+
if (ct) {
|
|
2750
|
+
var Ot = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2751
|
+
ht = function(t, r) {
|
|
2905
2752
|
var n;
|
|
2906
|
-
|
|
2907
|
-
var i =
|
|
2753
|
+
Ot.lastIndex = r;
|
|
2754
|
+
var i = Ot.exec(t);
|
|
2908
2755
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2909
2756
|
};
|
|
2910
2757
|
} else
|
|
2911
|
-
|
|
2758
|
+
ht = function(t, r) {
|
|
2912
2759
|
for (var n = []; ; ) {
|
|
2913
|
-
var i =
|
|
2914
|
-
if (i === void 0 ||
|
|
2760
|
+
var i = kr(t, r);
|
|
2761
|
+
if (i === void 0 || Cr(i) || Hi(i))
|
|
2915
2762
|
break;
|
|
2916
2763
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2917
2764
|
}
|
|
2918
|
-
return
|
|
2765
|
+
return ut.apply(void 0, n);
|
|
2919
2766
|
};
|
|
2920
|
-
var
|
|
2767
|
+
var Mi = (
|
|
2921
2768
|
/** @class */
|
|
2922
2769
|
function() {
|
|
2923
2770
|
function e(t, r) {
|
|
@@ -2942,13 +2789,13 @@ var Jn = (
|
|
|
2942
2789
|
var s = this.clonePosition();
|
|
2943
2790
|
this.bump(), i.push({
|
|
2944
2791
|
type: P.pound,
|
|
2945
|
-
location:
|
|
2792
|
+
location: A(s, this.clonePosition())
|
|
2946
2793
|
});
|
|
2947
2794
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2948
2795
|
if (n)
|
|
2949
2796
|
break;
|
|
2950
|
-
return this.error(
|
|
2951
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
2797
|
+
return this.error(N.UNMATCHED_CLOSING_TAG, A(this.clonePosition(), this.clonePosition()));
|
|
2798
|
+
} else if (o === 60 && !this.ignoreTag && dt(this.peek() || 0)) {
|
|
2952
2799
|
var a = this.parseTag(t, r);
|
|
2953
2800
|
if (a.err)
|
|
2954
2801
|
return a;
|
|
@@ -2971,7 +2818,7 @@ var Jn = (
|
|
|
2971
2818
|
val: {
|
|
2972
2819
|
type: P.literal,
|
|
2973
2820
|
value: "<".concat(i, "/>"),
|
|
2974
|
-
location:
|
|
2821
|
+
location: A(n, this.clonePosition())
|
|
2975
2822
|
},
|
|
2976
2823
|
err: null
|
|
2977
2824
|
};
|
|
@@ -2981,25 +2828,25 @@ var Jn = (
|
|
|
2981
2828
|
return o;
|
|
2982
2829
|
var a = o.val, s = this.clonePosition();
|
|
2983
2830
|
if (this.bumpIf("</")) {
|
|
2984
|
-
if (this.isEOF() || !
|
|
2985
|
-
return this.error(
|
|
2986
|
-
var
|
|
2987
|
-
return i !==
|
|
2831
|
+
if (this.isEOF() || !dt(this.char()))
|
|
2832
|
+
return this.error(N.INVALID_TAG, A(s, this.clonePosition()));
|
|
2833
|
+
var c = this.clonePosition(), l = this.parseTagName();
|
|
2834
|
+
return i !== l ? this.error(N.UNMATCHED_CLOSING_TAG, A(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2988
2835
|
val: {
|
|
2989
2836
|
type: P.tag,
|
|
2990
2837
|
value: i,
|
|
2991
2838
|
children: a,
|
|
2992
|
-
location:
|
|
2839
|
+
location: A(n, this.clonePosition())
|
|
2993
2840
|
},
|
|
2994
2841
|
err: null
|
|
2995
|
-
} : this.error(
|
|
2842
|
+
} : this.error(N.INVALID_TAG, A(s, this.clonePosition())));
|
|
2996
2843
|
} else
|
|
2997
|
-
return this.error(
|
|
2844
|
+
return this.error(N.UNCLOSED_TAG, A(n, this.clonePosition()));
|
|
2998
2845
|
} else
|
|
2999
|
-
return this.error(
|
|
2846
|
+
return this.error(N.INVALID_TAG, A(n, this.clonePosition()));
|
|
3000
2847
|
}, e.prototype.parseTagName = function() {
|
|
3001
2848
|
var t = this.offset();
|
|
3002
|
-
for (this.bump(); !this.isEOF() &&
|
|
2849
|
+
for (this.bump(); !this.isEOF() && Ai(this.char()); )
|
|
3003
2850
|
this.bump();
|
|
3004
2851
|
return this.message.slice(t, this.offset());
|
|
3005
2852
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3021,14 +2868,14 @@ var Jn = (
|
|
|
3021
2868
|
}
|
|
3022
2869
|
break;
|
|
3023
2870
|
}
|
|
3024
|
-
var
|
|
2871
|
+
var c = A(n, this.clonePosition());
|
|
3025
2872
|
return {
|
|
3026
|
-
val: { type: P.literal, value: i, location:
|
|
2873
|
+
val: { type: P.literal, value: i, location: c },
|
|
3027
2874
|
err: null
|
|
3028
2875
|
};
|
|
3029
2876
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3030
2877
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3031
|
-
!
|
|
2878
|
+
!Ni(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3032
2879
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3033
2880
|
if (this.isEOF() || this.char() !== 39)
|
|
3034
2881
|
return null;
|
|
@@ -3062,23 +2909,23 @@ var Jn = (
|
|
|
3062
2909
|
r.push(n);
|
|
3063
2910
|
this.bump();
|
|
3064
2911
|
}
|
|
3065
|
-
return
|
|
2912
|
+
return ut.apply(void 0, r);
|
|
3066
2913
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3067
2914
|
if (this.isEOF())
|
|
3068
2915
|
return null;
|
|
3069
2916
|
var n = this.char();
|
|
3070
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
2917
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ut(n));
|
|
3071
2918
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3072
2919
|
var n = this.clonePosition();
|
|
3073
2920
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3074
|
-
return this.error(
|
|
2921
|
+
return this.error(N.EXPECT_ARGUMENT_CLOSING_BRACE, A(n, this.clonePosition()));
|
|
3075
2922
|
if (this.char() === 125)
|
|
3076
|
-
return this.bump(), this.error(
|
|
2923
|
+
return this.bump(), this.error(N.EMPTY_ARGUMENT, A(n, this.clonePosition()));
|
|
3077
2924
|
var i = this.parseIdentifierIfPossible().value;
|
|
3078
2925
|
if (!i)
|
|
3079
|
-
return this.error(
|
|
2926
|
+
return this.error(N.MALFORMED_ARGUMENT, A(n, this.clonePosition()));
|
|
3080
2927
|
if (this.bumpSpace(), this.isEOF())
|
|
3081
|
-
return this.error(
|
|
2928
|
+
return this.error(N.EXPECT_ARGUMENT_CLOSING_BRACE, A(n, this.clonePosition()));
|
|
3082
2929
|
switch (this.char()) {
|
|
3083
2930
|
case 125:
|
|
3084
2931
|
return this.bump(), {
|
|
@@ -3086,66 +2933,66 @@ var Jn = (
|
|
|
3086
2933
|
type: P.argument,
|
|
3087
2934
|
// value does not include the opening and closing braces.
|
|
3088
2935
|
value: i,
|
|
3089
|
-
location:
|
|
2936
|
+
location: A(n, this.clonePosition())
|
|
3090
2937
|
},
|
|
3091
2938
|
err: null
|
|
3092
2939
|
};
|
|
3093
2940
|
case 44:
|
|
3094
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
2941
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(N.EXPECT_ARGUMENT_CLOSING_BRACE, A(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3095
2942
|
default:
|
|
3096
|
-
return this.error(
|
|
2943
|
+
return this.error(N.MALFORMED_ARGUMENT, A(n, this.clonePosition()));
|
|
3097
2944
|
}
|
|
3098
2945
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3099
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
2946
|
+
var t = this.clonePosition(), r = this.offset(), n = ht(this.message, r), i = r + n.length;
|
|
3100
2947
|
this.bumpTo(i);
|
|
3101
|
-
var o = this.clonePosition(), a =
|
|
2948
|
+
var o = this.clonePosition(), a = A(t, o);
|
|
3102
2949
|
return { value: n, location: a };
|
|
3103
2950
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3104
|
-
var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value,
|
|
2951
|
+
var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, c = this.clonePosition();
|
|
3105
2952
|
switch (s) {
|
|
3106
2953
|
case "":
|
|
3107
|
-
return this.error(
|
|
2954
|
+
return this.error(N.EXPECT_ARGUMENT_TYPE, A(a, c));
|
|
3108
2955
|
case "number":
|
|
3109
2956
|
case "date":
|
|
3110
2957
|
case "time": {
|
|
3111
2958
|
this.bumpSpace();
|
|
3112
|
-
var
|
|
2959
|
+
var l = null;
|
|
3113
2960
|
if (this.bumpIf(",")) {
|
|
3114
2961
|
this.bumpSpace();
|
|
3115
|
-
var
|
|
2962
|
+
var u = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
|
|
3116
2963
|
if (d.err)
|
|
3117
2964
|
return d;
|
|
3118
|
-
var m =
|
|
2965
|
+
var m = Ti(d.val);
|
|
3119
2966
|
if (m.length === 0)
|
|
3120
|
-
return this.error(
|
|
3121
|
-
var y =
|
|
3122
|
-
|
|
2967
|
+
return this.error(N.EXPECT_ARGUMENT_STYLE, A(this.clonePosition(), this.clonePosition()));
|
|
2968
|
+
var y = A(u, this.clonePosition());
|
|
2969
|
+
l = { style: m, styleLocation: y };
|
|
3123
2970
|
}
|
|
3124
|
-
var
|
|
3125
|
-
if (
|
|
3126
|
-
return
|
|
3127
|
-
var
|
|
3128
|
-
if (
|
|
3129
|
-
var S =
|
|
2971
|
+
var g = this.tryParseArgumentClose(i);
|
|
2972
|
+
if (g.err)
|
|
2973
|
+
return g;
|
|
2974
|
+
var p = A(i, this.clonePosition());
|
|
2975
|
+
if (l && Pt(l == null ? void 0 : l.style, "::", 0)) {
|
|
2976
|
+
var S = wi(l.style.slice(2));
|
|
3130
2977
|
if (s === "number") {
|
|
3131
|
-
var d = this.parseNumberSkeletonFromString(S,
|
|
2978
|
+
var d = this.parseNumberSkeletonFromString(S, l.styleLocation);
|
|
3132
2979
|
return d.err ? d : {
|
|
3133
|
-
val: { type: P.number, value: n, location:
|
|
2980
|
+
val: { type: P.number, value: n, location: p, style: d.val },
|
|
3134
2981
|
err: null
|
|
3135
2982
|
};
|
|
3136
2983
|
} else {
|
|
3137
2984
|
if (S.length === 0)
|
|
3138
|
-
return this.error(
|
|
2985
|
+
return this.error(N.EXPECT_DATE_TIME_SKELETON, p);
|
|
3139
2986
|
var _ = S;
|
|
3140
|
-
this.locale && (_ =
|
|
2987
|
+
this.locale && (_ = mi(S, this.locale));
|
|
3141
2988
|
var m = {
|
|
3142
|
-
type:
|
|
2989
|
+
type: ue.dateTime,
|
|
3143
2990
|
pattern: _,
|
|
3144
|
-
location:
|
|
3145
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2991
|
+
location: l.styleLocation,
|
|
2992
|
+
parsedOptions: this.shouldParseSkeletons ? ai(_) : {}
|
|
3146
2993
|
}, v = s === "date" ? P.date : P.time;
|
|
3147
2994
|
return {
|
|
3148
|
-
val: { type: v, value: n, location:
|
|
2995
|
+
val: { type: v, value: n, location: p, style: m },
|
|
3149
2996
|
err: null
|
|
3150
2997
|
};
|
|
3151
2998
|
}
|
|
@@ -3154,8 +3001,8 @@ var Jn = (
|
|
|
3154
3001
|
val: {
|
|
3155
3002
|
type: s === "number" ? P.number : s === "date" ? P.date : P.time,
|
|
3156
3003
|
value: n,
|
|
3157
|
-
location:
|
|
3158
|
-
style: (o =
|
|
3004
|
+
location: p,
|
|
3005
|
+
style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
|
|
3159
3006
|
},
|
|
3160
3007
|
err: null
|
|
3161
3008
|
};
|
|
@@ -3165,30 +3012,30 @@ var Jn = (
|
|
|
3165
3012
|
case "select": {
|
|
3166
3013
|
var C = this.clonePosition();
|
|
3167
3014
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3168
|
-
return this.error(
|
|
3015
|
+
return this.error(N.EXPECT_SELECT_ARGUMENT_OPTIONS, A(C, Ue({}, C)));
|
|
3169
3016
|
this.bumpSpace();
|
|
3170
3017
|
var H = this.parseIdentifierIfPossible(), E = 0;
|
|
3171
3018
|
if (s !== "select" && H.value === "offset") {
|
|
3172
3019
|
if (!this.bumpIf(":"))
|
|
3173
|
-
return this.error(
|
|
3020
|
+
return this.error(N.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, A(this.clonePosition(), this.clonePosition()));
|
|
3174
3021
|
this.bumpSpace();
|
|
3175
|
-
var d = this.tryParseDecimalInteger(
|
|
3022
|
+
var d = this.tryParseDecimalInteger(N.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, N.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3176
3023
|
if (d.err)
|
|
3177
3024
|
return d;
|
|
3178
3025
|
this.bumpSpace(), H = this.parseIdentifierIfPossible(), E = d.val;
|
|
3179
3026
|
}
|
|
3180
|
-
var
|
|
3181
|
-
if (
|
|
3182
|
-
return
|
|
3183
|
-
var
|
|
3184
|
-
if (
|
|
3185
|
-
return
|
|
3186
|
-
var J =
|
|
3027
|
+
var z = this.tryParsePluralOrSelectOptions(t, s, r, H);
|
|
3028
|
+
if (z.err)
|
|
3029
|
+
return z;
|
|
3030
|
+
var g = this.tryParseArgumentClose(i);
|
|
3031
|
+
if (g.err)
|
|
3032
|
+
return g;
|
|
3033
|
+
var J = A(i, this.clonePosition());
|
|
3187
3034
|
return s === "select" ? {
|
|
3188
3035
|
val: {
|
|
3189
3036
|
type: P.select,
|
|
3190
3037
|
value: n,
|
|
3191
|
-
options:
|
|
3038
|
+
options: Bt(z.val),
|
|
3192
3039
|
location: J
|
|
3193
3040
|
},
|
|
3194
3041
|
err: null
|
|
@@ -3196,7 +3043,7 @@ var Jn = (
|
|
|
3196
3043
|
val: {
|
|
3197
3044
|
type: P.plural,
|
|
3198
3045
|
value: n,
|
|
3199
|
-
options:
|
|
3046
|
+
options: Bt(z.val),
|
|
3200
3047
|
offset: E,
|
|
3201
3048
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3202
3049
|
location: J
|
|
@@ -3205,10 +3052,10 @@ var Jn = (
|
|
|
3205
3052
|
};
|
|
3206
3053
|
}
|
|
3207
3054
|
default:
|
|
3208
|
-
return this.error(
|
|
3055
|
+
return this.error(N.INVALID_ARGUMENT_TYPE, A(a, c));
|
|
3209
3056
|
}
|
|
3210
3057
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3211
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
3058
|
+
return this.isEOF() || this.char() !== 125 ? this.error(N.EXPECT_ARGUMENT_CLOSING_BRACE, A(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3212
3059
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3213
3060
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3214
3061
|
var n = this.char();
|
|
@@ -3217,7 +3064,7 @@ var Jn = (
|
|
|
3217
3064
|
this.bump();
|
|
3218
3065
|
var i = this.clonePosition();
|
|
3219
3066
|
if (!this.bumpUntil("'"))
|
|
3220
|
-
return this.error(
|
|
3067
|
+
return this.error(N.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, A(i, this.clonePosition()));
|
|
3221
3068
|
this.bump();
|
|
3222
3069
|
break;
|
|
3223
3070
|
}
|
|
@@ -3247,52 +3094,52 @@ var Jn = (
|
|
|
3247
3094
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3248
3095
|
var n = [];
|
|
3249
3096
|
try {
|
|
3250
|
-
n =
|
|
3097
|
+
n = li(t);
|
|
3251
3098
|
} catch (i) {
|
|
3252
|
-
return this.error(
|
|
3099
|
+
return this.error(N.INVALID_NUMBER_SKELETON, r);
|
|
3253
3100
|
}
|
|
3254
3101
|
return {
|
|
3255
3102
|
val: {
|
|
3256
|
-
type:
|
|
3103
|
+
type: ue.number,
|
|
3257
3104
|
tokens: n,
|
|
3258
3105
|
location: r,
|
|
3259
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3106
|
+
parsedOptions: this.shouldParseSkeletons ? di(n) : {}
|
|
3260
3107
|
},
|
|
3261
3108
|
err: null
|
|
3262
3109
|
};
|
|
3263
3110
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3264
|
-
for (var o, a = !1, s = [],
|
|
3265
|
-
if (
|
|
3111
|
+
for (var o, a = !1, s = [], c = /* @__PURE__ */ new Set(), l = i.value, u = i.location; ; ) {
|
|
3112
|
+
if (l.length === 0) {
|
|
3266
3113
|
var d = this.clonePosition();
|
|
3267
3114
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3268
|
-
var m = this.tryParseDecimalInteger(
|
|
3115
|
+
var m = this.tryParseDecimalInteger(N.EXPECT_PLURAL_ARGUMENT_SELECTOR, N.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3269
3116
|
if (m.err)
|
|
3270
3117
|
return m;
|
|
3271
|
-
|
|
3118
|
+
u = A(d, this.clonePosition()), l = this.message.slice(d.offset, this.offset());
|
|
3272
3119
|
} else
|
|
3273
3120
|
break;
|
|
3274
3121
|
}
|
|
3275
|
-
if (
|
|
3276
|
-
return this.error(r === "select" ?
|
|
3277
|
-
|
|
3122
|
+
if (c.has(l))
|
|
3123
|
+
return this.error(r === "select" ? N.DUPLICATE_SELECT_ARGUMENT_SELECTOR : N.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
|
|
3124
|
+
l === "other" && (a = !0), this.bumpSpace();
|
|
3278
3125
|
var y = this.clonePosition();
|
|
3279
3126
|
if (!this.bumpIf("{"))
|
|
3280
|
-
return this.error(r === "select" ?
|
|
3281
|
-
var
|
|
3282
|
-
if (f.err)
|
|
3283
|
-
return f;
|
|
3284
|
-
var g = this.tryParseArgumentClose(y);
|
|
3127
|
+
return this.error(r === "select" ? N.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : N.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, A(this.clonePosition(), this.clonePosition()));
|
|
3128
|
+
var g = this.parseMessage(t + 1, r, n);
|
|
3285
3129
|
if (g.err)
|
|
3286
3130
|
return g;
|
|
3131
|
+
var p = this.tryParseArgumentClose(y);
|
|
3132
|
+
if (p.err)
|
|
3133
|
+
return p;
|
|
3287
3134
|
s.push([
|
|
3288
|
-
|
|
3135
|
+
l,
|
|
3289
3136
|
{
|
|
3290
|
-
value:
|
|
3291
|
-
location:
|
|
3137
|
+
value: g.val,
|
|
3138
|
+
location: A(y, this.clonePosition())
|
|
3292
3139
|
}
|
|
3293
|
-
]),
|
|
3140
|
+
]), c.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, u = o.location;
|
|
3294
3141
|
}
|
|
3295
|
-
return s.length === 0 ? this.error(r === "select" ?
|
|
3142
|
+
return s.length === 0 ? this.error(r === "select" ? N.EXPECT_SELECT_ARGUMENT_SELECTOR : N.EXPECT_PLURAL_ARGUMENT_SELECTOR, A(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(N.MISSING_OTHER_CLAUSE, A(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
|
|
3296
3143
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3297
3144
|
var n = 1, i = this.clonePosition();
|
|
3298
3145
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3303,8 +3150,8 @@ var Jn = (
|
|
|
3303
3150
|
else
|
|
3304
3151
|
break;
|
|
3305
3152
|
}
|
|
3306
|
-
var
|
|
3307
|
-
return o ? (a *= n,
|
|
3153
|
+
var c = A(i, this.clonePosition());
|
|
3154
|
+
return o ? (a *= n, Si(a) ? { val: a, err: null } : this.error(r, c)) : this.error(t, c);
|
|
3308
3155
|
}, e.prototype.offset = function() {
|
|
3309
3156
|
return this.position.offset;
|
|
3310
3157
|
}, e.prototype.isEOF = function() {
|
|
@@ -3319,7 +3166,7 @@ var Jn = (
|
|
|
3319
3166
|
var t = this.position.offset;
|
|
3320
3167
|
if (t >= this.message.length)
|
|
3321
3168
|
throw Error("out of bound");
|
|
3322
|
-
var r =
|
|
3169
|
+
var r = kr(this.message, t);
|
|
3323
3170
|
if (r === void 0)
|
|
3324
3171
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3325
3172
|
return r;
|
|
@@ -3338,7 +3185,7 @@ var Jn = (
|
|
|
3338
3185
|
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);
|
|
3339
3186
|
}
|
|
3340
3187
|
}, e.prototype.bumpIf = function(t) {
|
|
3341
|
-
if (
|
|
3188
|
+
if (Pt(this.message, t, this.offset())) {
|
|
3342
3189
|
for (var r = 0; r < t.length; r++)
|
|
3343
3190
|
this.bump();
|
|
3344
3191
|
return !0;
|
|
@@ -3360,7 +3207,7 @@ var Jn = (
|
|
|
3360
3207
|
break;
|
|
3361
3208
|
}
|
|
3362
3209
|
}, e.prototype.bumpSpace = function() {
|
|
3363
|
-
for (; !this.isEOF() &&
|
|
3210
|
+
for (; !this.isEOF() && Cr(this.char()); )
|
|
3364
3211
|
this.bump();
|
|
3365
3212
|
}, e.prototype.peek = function() {
|
|
3366
3213
|
if (this.isEOF())
|
|
@@ -3370,47 +3217,47 @@ var Jn = (
|
|
|
3370
3217
|
}, e;
|
|
3371
3218
|
}()
|
|
3372
3219
|
);
|
|
3373
|
-
function
|
|
3220
|
+
function dt(e) {
|
|
3374
3221
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3375
3222
|
}
|
|
3376
|
-
function
|
|
3377
|
-
return
|
|
3223
|
+
function Ni(e) {
|
|
3224
|
+
return dt(e) || e === 47;
|
|
3378
3225
|
}
|
|
3379
|
-
function
|
|
3226
|
+
function Ai(e) {
|
|
3380
3227
|
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;
|
|
3381
3228
|
}
|
|
3382
|
-
function
|
|
3229
|
+
function Cr(e) {
|
|
3383
3230
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3384
3231
|
}
|
|
3385
|
-
function
|
|
3232
|
+
function Hi(e) {
|
|
3386
3233
|
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;
|
|
3387
3234
|
}
|
|
3388
|
-
function
|
|
3235
|
+
function mt(e) {
|
|
3389
3236
|
e.forEach(function(t) {
|
|
3390
|
-
if (delete t.location,
|
|
3237
|
+
if (delete t.location, mr(t) || fr(t))
|
|
3391
3238
|
for (var r in t.options)
|
|
3392
|
-
delete t.options[r].location,
|
|
3239
|
+
delete t.options[r].location, mt(t.options[r].value);
|
|
3393
3240
|
else
|
|
3394
|
-
|
|
3241
|
+
ur(t) && gr(t.style) || (hr(t) || dr(t)) && lt(t.style) ? delete t.style.location : pr(t) && mt(t.children);
|
|
3395
3242
|
});
|
|
3396
3243
|
}
|
|
3397
|
-
function
|
|
3398
|
-
t === void 0 && (t = {}), t =
|
|
3399
|
-
var r = new
|
|
3244
|
+
function Pi(e, t) {
|
|
3245
|
+
t === void 0 && (t = {}), t = Ue({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3246
|
+
var r = new Mi(e, t).parse();
|
|
3400
3247
|
if (r.err) {
|
|
3401
|
-
var n = SyntaxError(
|
|
3248
|
+
var n = SyntaxError(N[r.err.kind]);
|
|
3402
3249
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3403
3250
|
}
|
|
3404
|
-
return t != null && t.captureLocation ||
|
|
3251
|
+
return t != null && t.captureLocation || mt(r.val), r.val;
|
|
3405
3252
|
}
|
|
3406
|
-
var
|
|
3253
|
+
var he;
|
|
3407
3254
|
(function(e) {
|
|
3408
3255
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3409
|
-
})(
|
|
3410
|
-
var
|
|
3256
|
+
})(he || (he = {}));
|
|
3257
|
+
var Ve = (
|
|
3411
3258
|
/** @class */
|
|
3412
3259
|
function(e) {
|
|
3413
|
-
|
|
3260
|
+
$e(t, e);
|
|
3414
3261
|
function t(r, n, i) {
|
|
3415
3262
|
var o = e.call(this, r) || this;
|
|
3416
3263
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3419,155 +3266,155 @@ var ze = (
|
|
|
3419
3266
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3420
3267
|
}, t;
|
|
3421
3268
|
}(Error)
|
|
3422
|
-
),
|
|
3269
|
+
), zt = (
|
|
3423
3270
|
/** @class */
|
|
3424
3271
|
function(e) {
|
|
3425
|
-
|
|
3272
|
+
$e(t, e);
|
|
3426
3273
|
function t(r, n, i, o) {
|
|
3427
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3274
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), he.INVALID_VALUE, o) || this;
|
|
3428
3275
|
}
|
|
3429
3276
|
return t;
|
|
3430
|
-
}(
|
|
3431
|
-
),
|
|
3277
|
+
}(Ve)
|
|
3278
|
+
), Bi = (
|
|
3432
3279
|
/** @class */
|
|
3433
3280
|
function(e) {
|
|
3434
|
-
|
|
3281
|
+
$e(t, e);
|
|
3435
3282
|
function t(r, n, i) {
|
|
3436
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3283
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), he.INVALID_VALUE, i) || this;
|
|
3437
3284
|
}
|
|
3438
3285
|
return t;
|
|
3439
|
-
}(
|
|
3440
|
-
),
|
|
3286
|
+
}(Ve)
|
|
3287
|
+
), Oi = (
|
|
3441
3288
|
/** @class */
|
|
3442
3289
|
function(e) {
|
|
3443
|
-
|
|
3290
|
+
$e(t, e);
|
|
3444
3291
|
function t(r, n) {
|
|
3445
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3292
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), he.MISSING_VALUE, n) || this;
|
|
3446
3293
|
}
|
|
3447
3294
|
return t;
|
|
3448
|
-
}(
|
|
3449
|
-
),
|
|
3295
|
+
}(Ve)
|
|
3296
|
+
), G;
|
|
3450
3297
|
(function(e) {
|
|
3451
3298
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3452
|
-
})(
|
|
3453
|
-
function
|
|
3299
|
+
})(G || (G = {}));
|
|
3300
|
+
function zi(e) {
|
|
3454
3301
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3455
3302
|
var n = t[t.length - 1];
|
|
3456
|
-
return !n || n.type !==
|
|
3303
|
+
return !n || n.type !== G.literal || r.type !== G.literal ? t.push(r) : n.value += r.value, t;
|
|
3457
3304
|
}, []);
|
|
3458
3305
|
}
|
|
3459
|
-
function
|
|
3306
|
+
function Li(e) {
|
|
3460
3307
|
return typeof e == "function";
|
|
3461
3308
|
}
|
|
3462
|
-
function
|
|
3463
|
-
if (e.length === 1 &&
|
|
3309
|
+
function je(e, t, r, n, i, o, a) {
|
|
3310
|
+
if (e.length === 1 && Mt(e[0]))
|
|
3464
3311
|
return [
|
|
3465
3312
|
{
|
|
3466
|
-
type:
|
|
3313
|
+
type: G.literal,
|
|
3467
3314
|
value: e[0].value
|
|
3468
3315
|
}
|
|
3469
3316
|
];
|
|
3470
|
-
for (var s = [],
|
|
3471
|
-
var
|
|
3472
|
-
if (
|
|
3317
|
+
for (var s = [], c = 0, l = e; c < l.length; c++) {
|
|
3318
|
+
var u = l[c];
|
|
3319
|
+
if (Mt(u)) {
|
|
3473
3320
|
s.push({
|
|
3474
|
-
type:
|
|
3475
|
-
value:
|
|
3321
|
+
type: G.literal,
|
|
3322
|
+
value: u.value
|
|
3476
3323
|
});
|
|
3477
3324
|
continue;
|
|
3478
3325
|
}
|
|
3479
|
-
if (
|
|
3326
|
+
if (ii(u)) {
|
|
3480
3327
|
typeof o == "number" && s.push({
|
|
3481
|
-
type:
|
|
3328
|
+
type: G.literal,
|
|
3482
3329
|
value: r.getNumberFormat(t).format(o)
|
|
3483
3330
|
});
|
|
3484
3331
|
continue;
|
|
3485
3332
|
}
|
|
3486
|
-
var d =
|
|
3333
|
+
var d = u.value;
|
|
3487
3334
|
if (!(i && d in i))
|
|
3488
|
-
throw new
|
|
3335
|
+
throw new Oi(d, a);
|
|
3489
3336
|
var m = i[d];
|
|
3490
|
-
if (
|
|
3337
|
+
if (ni(u)) {
|
|
3491
3338
|
(!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), s.push({
|
|
3492
|
-
type: typeof m == "string" ?
|
|
3339
|
+
type: typeof m == "string" ? G.literal : G.object,
|
|
3493
3340
|
value: m
|
|
3494
3341
|
});
|
|
3495
3342
|
continue;
|
|
3496
3343
|
}
|
|
3497
|
-
if (
|
|
3498
|
-
var y = typeof
|
|
3344
|
+
if (hr(u)) {
|
|
3345
|
+
var y = typeof u.style == "string" ? n.date[u.style] : lt(u.style) ? u.style.parsedOptions : void 0;
|
|
3499
3346
|
s.push({
|
|
3500
|
-
type:
|
|
3347
|
+
type: G.literal,
|
|
3501
3348
|
value: r.getDateTimeFormat(t, y).format(m)
|
|
3502
3349
|
});
|
|
3503
3350
|
continue;
|
|
3504
3351
|
}
|
|
3505
|
-
if (
|
|
3506
|
-
var y = typeof
|
|
3352
|
+
if (dr(u)) {
|
|
3353
|
+
var y = typeof u.style == "string" ? n.time[u.style] : lt(u.style) ? u.style.parsedOptions : n.time.medium;
|
|
3507
3354
|
s.push({
|
|
3508
|
-
type:
|
|
3355
|
+
type: G.literal,
|
|
3509
3356
|
value: r.getDateTimeFormat(t, y).format(m)
|
|
3510
3357
|
});
|
|
3511
3358
|
continue;
|
|
3512
3359
|
}
|
|
3513
|
-
if (
|
|
3514
|
-
var y = typeof
|
|
3360
|
+
if (ur(u)) {
|
|
3361
|
+
var y = typeof u.style == "string" ? n.number[u.style] : gr(u.style) ? u.style.parsedOptions : void 0;
|
|
3515
3362
|
y && y.scale && (m = m * (y.scale || 1)), s.push({
|
|
3516
|
-
type:
|
|
3363
|
+
type: G.literal,
|
|
3517
3364
|
value: r.getNumberFormat(t, y).format(m)
|
|
3518
3365
|
});
|
|
3519
3366
|
continue;
|
|
3520
3367
|
}
|
|
3521
|
-
if (
|
|
3522
|
-
var
|
|
3523
|
-
if (!
|
|
3524
|
-
throw new
|
|
3525
|
-
var _ =
|
|
3368
|
+
if (pr(u)) {
|
|
3369
|
+
var g = u.children, p = u.value, S = i[p];
|
|
3370
|
+
if (!Li(S))
|
|
3371
|
+
throw new Bi(p, "function", a);
|
|
3372
|
+
var _ = je(g, t, r, n, i, o), v = S(_.map(function(E) {
|
|
3526
3373
|
return E.value;
|
|
3527
3374
|
}));
|
|
3528
3375
|
Array.isArray(v) || (v = [v]), s.push.apply(s, v.map(function(E) {
|
|
3529
3376
|
return {
|
|
3530
|
-
type: typeof E == "string" ?
|
|
3377
|
+
type: typeof E == "string" ? G.literal : G.object,
|
|
3531
3378
|
value: E
|
|
3532
3379
|
};
|
|
3533
3380
|
}));
|
|
3534
3381
|
}
|
|
3535
|
-
if (
|
|
3536
|
-
var C =
|
|
3382
|
+
if (mr(u)) {
|
|
3383
|
+
var C = u.options[m] || u.options.other;
|
|
3537
3384
|
if (!C)
|
|
3538
|
-
throw new
|
|
3539
|
-
s.push.apply(s,
|
|
3385
|
+
throw new zt(u.value, m, Object.keys(u.options), a);
|
|
3386
|
+
s.push.apply(s, je(C.value, t, r, n, i));
|
|
3540
3387
|
continue;
|
|
3541
3388
|
}
|
|
3542
|
-
if (
|
|
3543
|
-
var C =
|
|
3389
|
+
if (fr(u)) {
|
|
3390
|
+
var C = u.options["=".concat(m)];
|
|
3544
3391
|
if (!C) {
|
|
3545
3392
|
if (!Intl.PluralRules)
|
|
3546
|
-
throw new
|
|
3393
|
+
throw new Ve(`Intl.PluralRules is not available in this environment.
|
|
3547
3394
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3548
|
-
`,
|
|
3549
|
-
var H = r.getPluralRules(t, { type:
|
|
3550
|
-
C =
|
|
3395
|
+
`, he.MISSING_INTL_API, a);
|
|
3396
|
+
var H = r.getPluralRules(t, { type: u.pluralType }).select(m - (u.offset || 0));
|
|
3397
|
+
C = u.options[H] || u.options.other;
|
|
3551
3398
|
}
|
|
3552
3399
|
if (!C)
|
|
3553
|
-
throw new
|
|
3554
|
-
s.push.apply(s,
|
|
3400
|
+
throw new zt(u.value, m, Object.keys(u.options), a);
|
|
3401
|
+
s.push.apply(s, je(C.value, t, r, n, i, m - (u.offset || 0)));
|
|
3555
3402
|
continue;
|
|
3556
3403
|
}
|
|
3557
3404
|
}
|
|
3558
|
-
return
|
|
3405
|
+
return zi(s);
|
|
3559
3406
|
}
|
|
3560
|
-
function
|
|
3561
|
-
return t ?
|
|
3562
|
-
return r[n] =
|
|
3407
|
+
function ji(e, t) {
|
|
3408
|
+
return t ? Z(Z(Z({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3409
|
+
return r[n] = Z(Z({}, e[n]), t[n] || {}), r;
|
|
3563
3410
|
}, {})) : e;
|
|
3564
3411
|
}
|
|
3565
|
-
function
|
|
3412
|
+
function Ii(e, t) {
|
|
3566
3413
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3567
|
-
return r[n] =
|
|
3568
|
-
},
|
|
3414
|
+
return r[n] = ji(e[n], t[n]), r;
|
|
3415
|
+
}, Z({}, e)) : e;
|
|
3569
3416
|
}
|
|
3570
|
-
function
|
|
3417
|
+
function rt(e) {
|
|
3571
3418
|
return {
|
|
3572
3419
|
create: function() {
|
|
3573
3420
|
return {
|
|
@@ -3581,39 +3428,39 @@ function Fe(e) {
|
|
|
3581
3428
|
}
|
|
3582
3429
|
};
|
|
3583
3430
|
}
|
|
3584
|
-
function
|
|
3431
|
+
function Ri(e) {
|
|
3585
3432
|
return e === void 0 && (e = {
|
|
3586
3433
|
number: {},
|
|
3587
3434
|
dateTime: {},
|
|
3588
3435
|
pluralRules: {}
|
|
3589
3436
|
}), {
|
|
3590
|
-
getNumberFormat:
|
|
3437
|
+
getNumberFormat: Ke(function() {
|
|
3591
3438
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3592
3439
|
r[n] = arguments[n];
|
|
3593
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3440
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Ye([void 0], r, !1)))();
|
|
3594
3441
|
}, {
|
|
3595
|
-
cache:
|
|
3596
|
-
strategy:
|
|
3442
|
+
cache: rt(e.number),
|
|
3443
|
+
strategy: et.variadic
|
|
3597
3444
|
}),
|
|
3598
|
-
getDateTimeFormat:
|
|
3445
|
+
getDateTimeFormat: Ke(function() {
|
|
3599
3446
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3600
3447
|
r[n] = arguments[n];
|
|
3601
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3448
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ye([void 0], r, !1)))();
|
|
3602
3449
|
}, {
|
|
3603
|
-
cache:
|
|
3604
|
-
strategy:
|
|
3450
|
+
cache: rt(e.dateTime),
|
|
3451
|
+
strategy: et.variadic
|
|
3605
3452
|
}),
|
|
3606
|
-
getPluralRules:
|
|
3453
|
+
getPluralRules: Ke(function() {
|
|
3607
3454
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3608
3455
|
r[n] = arguments[n];
|
|
3609
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3456
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Ye([void 0], r, !1)))();
|
|
3610
3457
|
}, {
|
|
3611
|
-
cache:
|
|
3612
|
-
strategy:
|
|
3458
|
+
cache: rt(e.pluralRules),
|
|
3459
|
+
strategy: et.variadic
|
|
3613
3460
|
})
|
|
3614
3461
|
};
|
|
3615
3462
|
}
|
|
3616
|
-
var
|
|
3463
|
+
var Ui = (
|
|
3617
3464
|
/** @class */
|
|
3618
3465
|
function() {
|
|
3619
3466
|
function e(t, r, n, i) {
|
|
@@ -3623,20 +3470,20 @@ var si = (
|
|
|
3623
3470
|
number: {},
|
|
3624
3471
|
dateTime: {},
|
|
3625
3472
|
pluralRules: {}
|
|
3626
|
-
}, this.format = function(
|
|
3627
|
-
var
|
|
3628
|
-
if (
|
|
3629
|
-
return
|
|
3630
|
-
var
|
|
3631
|
-
return !d.length || m.type !==
|
|
3473
|
+
}, this.format = function(c) {
|
|
3474
|
+
var l = o.formatToParts(c);
|
|
3475
|
+
if (l.length === 1)
|
|
3476
|
+
return l[0].value;
|
|
3477
|
+
var u = l.reduce(function(d, m) {
|
|
3478
|
+
return !d.length || m.type !== G.literal || typeof d[d.length - 1] != "string" ? d.push(m.value) : d[d.length - 1] += m.value, d;
|
|
3632
3479
|
}, []);
|
|
3633
|
-
return
|
|
3634
|
-
}, this.formatToParts = function(
|
|
3635
|
-
return
|
|
3480
|
+
return u.length <= 1 ? u[0] || "" : u;
|
|
3481
|
+
}, this.formatToParts = function(c) {
|
|
3482
|
+
return je(o.ast, o.locales, o.formatters, o.formats, c, void 0, o.message);
|
|
3636
3483
|
}, this.resolvedOptions = function() {
|
|
3637
|
-
var
|
|
3484
|
+
var c;
|
|
3638
3485
|
return {
|
|
3639
|
-
locale: ((
|
|
3486
|
+
locale: ((c = o.resolvedLocale) === null || c === void 0 ? void 0 : c.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
|
|
3640
3487
|
};
|
|
3641
3488
|
}, this.getAst = function() {
|
|
3642
3489
|
return o.ast;
|
|
@@ -3644,13 +3491,13 @@ var si = (
|
|
|
3644
3491
|
if (this.message = t, !e.__parse)
|
|
3645
3492
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3646
3493
|
var a = i || {};
|
|
3647
|
-
var s =
|
|
3648
|
-
this.ast = e.__parse(t,
|
|
3494
|
+
var s = Zn(a, ["formatters"]);
|
|
3495
|
+
this.ast = e.__parse(t, Z(Z({}, s), { locale: this.resolvedLocale }));
|
|
3649
3496
|
} else
|
|
3650
3497
|
this.ast = t;
|
|
3651
3498
|
if (!Array.isArray(this.ast))
|
|
3652
3499
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3653
|
-
this.formats =
|
|
3500
|
+
this.formats = Ii(e.formats, n), this.formatters = i && i.formatters || Ri(this.formatterCache);
|
|
3654
3501
|
}
|
|
3655
3502
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3656
3503
|
get: function() {
|
|
@@ -3663,7 +3510,7 @@ var si = (
|
|
|
3663
3510
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3664
3511
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3665
3512
|
}
|
|
3666
|
-
}, e.__parse =
|
|
3513
|
+
}, e.__parse = Pi, e.formats = {
|
|
3667
3514
|
number: {
|
|
3668
3515
|
integer: {
|
|
3669
3516
|
maximumFractionDigits: 0
|
|
@@ -3724,7 +3571,7 @@ var si = (
|
|
|
3724
3571
|
}, e;
|
|
3725
3572
|
}()
|
|
3726
3573
|
);
|
|
3727
|
-
function
|
|
3574
|
+
function Di(e, t) {
|
|
3728
3575
|
if (t == null)
|
|
3729
3576
|
return;
|
|
3730
3577
|
if (t in e)
|
|
@@ -3745,92 +3592,92 @@ function li(e, t) {
|
|
|
3745
3592
|
n = void 0;
|
|
3746
3593
|
return n;
|
|
3747
3594
|
}
|
|
3748
|
-
const Y = {},
|
|
3595
|
+
const Y = {}, Gi = (e, t, r) => r && (t in Y || (Y[t] = {}), e in Y[t] || (Y[t][e] = r), r), Sr = (e, t) => {
|
|
3749
3596
|
if (t == null)
|
|
3750
3597
|
return;
|
|
3751
3598
|
if (t in Y && e in Y[t])
|
|
3752
3599
|
return Y[t][e];
|
|
3753
|
-
const r =
|
|
3600
|
+
const r = Xe(t);
|
|
3754
3601
|
for (let n = 0; n < r.length; n++) {
|
|
3755
|
-
const i = r[n], o =
|
|
3602
|
+
const i = r[n], o = $i(i, e);
|
|
3756
3603
|
if (o)
|
|
3757
|
-
return
|
|
3604
|
+
return Gi(e, t, o);
|
|
3758
3605
|
}
|
|
3759
3606
|
};
|
|
3760
|
-
let
|
|
3761
|
-
const
|
|
3762
|
-
function
|
|
3763
|
-
return
|
|
3607
|
+
let vt;
|
|
3608
|
+
const Me = Fe({});
|
|
3609
|
+
function Fi(e) {
|
|
3610
|
+
return vt[e] || null;
|
|
3764
3611
|
}
|
|
3765
|
-
function
|
|
3766
|
-
return e in
|
|
3612
|
+
function xr(e) {
|
|
3613
|
+
return e in vt;
|
|
3767
3614
|
}
|
|
3768
|
-
function
|
|
3769
|
-
if (!
|
|
3615
|
+
function $i(e, t) {
|
|
3616
|
+
if (!xr(e))
|
|
3770
3617
|
return null;
|
|
3771
|
-
const r =
|
|
3772
|
-
return
|
|
3618
|
+
const r = Fi(e);
|
|
3619
|
+
return Di(r, t);
|
|
3773
3620
|
}
|
|
3774
|
-
function
|
|
3621
|
+
function Vi(e) {
|
|
3775
3622
|
if (e == null)
|
|
3776
3623
|
return;
|
|
3777
|
-
const t =
|
|
3624
|
+
const t = Xe(e);
|
|
3778
3625
|
for (let r = 0; r < t.length; r++) {
|
|
3779
3626
|
const n = t[r];
|
|
3780
|
-
if (
|
|
3627
|
+
if (xr(n))
|
|
3781
3628
|
return n;
|
|
3782
3629
|
}
|
|
3783
3630
|
}
|
|
3784
|
-
function
|
|
3785
|
-
delete Y[e],
|
|
3631
|
+
function wr(e, ...t) {
|
|
3632
|
+
delete Y[e], Me.update((r) => (r[e] = Wn.all([r[e] || {}, ...t]), r));
|
|
3786
3633
|
}
|
|
3787
|
-
|
|
3788
|
-
[
|
|
3634
|
+
fe(
|
|
3635
|
+
[Me],
|
|
3789
3636
|
([e]) => Object.keys(e)
|
|
3790
3637
|
);
|
|
3791
|
-
|
|
3792
|
-
const
|
|
3793
|
-
function
|
|
3794
|
-
|
|
3638
|
+
Me.subscribe((e) => vt = e);
|
|
3639
|
+
const Ie = {};
|
|
3640
|
+
function Xi(e, t) {
|
|
3641
|
+
Ie[e].delete(t), Ie[e].size === 0 && delete Ie[e];
|
|
3795
3642
|
}
|
|
3796
|
-
function
|
|
3797
|
-
return
|
|
3643
|
+
function Tr(e) {
|
|
3644
|
+
return Ie[e];
|
|
3798
3645
|
}
|
|
3799
|
-
function
|
|
3800
|
-
return
|
|
3801
|
-
const r =
|
|
3646
|
+
function qi(e) {
|
|
3647
|
+
return Xe(e).map((t) => {
|
|
3648
|
+
const r = Tr(t);
|
|
3802
3649
|
return [t, r ? [...r] : []];
|
|
3803
3650
|
}).filter(([, t]) => t.length > 0);
|
|
3804
3651
|
}
|
|
3805
|
-
function
|
|
3806
|
-
return e == null ? !1 :
|
|
3652
|
+
function ft(e) {
|
|
3653
|
+
return e == null ? !1 : Xe(e).some(
|
|
3807
3654
|
(t) => {
|
|
3808
3655
|
var r;
|
|
3809
|
-
return (r =
|
|
3656
|
+
return (r = Tr(t)) == null ? void 0 : r.size;
|
|
3810
3657
|
}
|
|
3811
3658
|
);
|
|
3812
3659
|
}
|
|
3813
|
-
function
|
|
3660
|
+
function Wi(e, t) {
|
|
3814
3661
|
return Promise.all(
|
|
3815
|
-
t.map((n) => (
|
|
3816
|
-
).then((n) =>
|
|
3817
|
-
}
|
|
3818
|
-
const
|
|
3819
|
-
function
|
|
3820
|
-
if (!
|
|
3821
|
-
return e in
|
|
3822
|
-
const t =
|
|
3823
|
-
return
|
|
3662
|
+
t.map((n) => (Xi(e, n), n().then((i) => i.default || i)))
|
|
3663
|
+
).then((n) => wr(e, ...n));
|
|
3664
|
+
}
|
|
3665
|
+
const ke = {};
|
|
3666
|
+
function Mr(e) {
|
|
3667
|
+
if (!ft(e))
|
|
3668
|
+
return e in ke ? ke[e] : Promise.resolve();
|
|
3669
|
+
const t = qi(e);
|
|
3670
|
+
return ke[e] = Promise.all(
|
|
3824
3671
|
t.map(
|
|
3825
|
-
([r, n]) =>
|
|
3672
|
+
([r, n]) => Wi(r, n)
|
|
3826
3673
|
)
|
|
3827
3674
|
).then(() => {
|
|
3828
|
-
if (
|
|
3829
|
-
return
|
|
3830
|
-
delete
|
|
3831
|
-
}),
|
|
3675
|
+
if (ft(e))
|
|
3676
|
+
return Mr(e);
|
|
3677
|
+
delete ke[e];
|
|
3678
|
+
}), ke[e];
|
|
3832
3679
|
}
|
|
3833
|
-
const
|
|
3680
|
+
const Zi = {
|
|
3834
3681
|
number: {
|
|
3835
3682
|
scientific: { notation: "scientific" },
|
|
3836
3683
|
engineering: { notation: "engineering" },
|
|
@@ -3859,159 +3706,159 @@ const fi = {
|
|
|
3859
3706
|
timeZoneName: "short"
|
|
3860
3707
|
}
|
|
3861
3708
|
}
|
|
3862
|
-
},
|
|
3709
|
+
}, Ji = {
|
|
3863
3710
|
fallbackLocale: null,
|
|
3864
3711
|
loadingDelay: 200,
|
|
3865
|
-
formats:
|
|
3712
|
+
formats: Zi,
|
|
3866
3713
|
warnOnMissingMessages: !0,
|
|
3867
3714
|
handleMissingMessage: void 0,
|
|
3868
3715
|
ignoreTag: !0
|
|
3869
|
-
},
|
|
3870
|
-
function
|
|
3871
|
-
return
|
|
3716
|
+
}, Qi = Ji;
|
|
3717
|
+
function de() {
|
|
3718
|
+
return Qi;
|
|
3872
3719
|
}
|
|
3873
|
-
const
|
|
3874
|
-
var
|
|
3720
|
+
const nt = Fe(!1);
|
|
3721
|
+
var Yi = Object.defineProperty, Ki = Object.defineProperties, eo = Object.getOwnPropertyDescriptors, Lt = Object.getOwnPropertySymbols, to = Object.prototype.hasOwnProperty, ro = Object.prototype.propertyIsEnumerable, jt = (e, t, r) => t in e ? Yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, no = (e, t) => {
|
|
3875
3722
|
for (var r in t || (t = {}))
|
|
3876
|
-
|
|
3877
|
-
if (
|
|
3878
|
-
for (var r of
|
|
3879
|
-
|
|
3723
|
+
to.call(t, r) && jt(e, r, t[r]);
|
|
3724
|
+
if (Lt)
|
|
3725
|
+
for (var r of Lt(t))
|
|
3726
|
+
ro.call(t, r) && jt(e, r, t[r]);
|
|
3880
3727
|
return e;
|
|
3881
|
-
},
|
|
3882
|
-
let
|
|
3883
|
-
const
|
|
3884
|
-
function
|
|
3728
|
+
}, io = (e, t) => Ki(e, eo(t));
|
|
3729
|
+
let pt;
|
|
3730
|
+
const De = Fe(null);
|
|
3731
|
+
function It(e) {
|
|
3885
3732
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3886
3733
|
}
|
|
3887
|
-
function
|
|
3888
|
-
const r =
|
|
3889
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3734
|
+
function Xe(e, t = de().fallbackLocale) {
|
|
3735
|
+
const r = It(e);
|
|
3736
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...It(t)])] : r;
|
|
3890
3737
|
}
|
|
3891
|
-
function
|
|
3892
|
-
return
|
|
3738
|
+
function te() {
|
|
3739
|
+
return pt != null ? pt : void 0;
|
|
3893
3740
|
}
|
|
3894
|
-
|
|
3895
|
-
|
|
3741
|
+
De.subscribe((e) => {
|
|
3742
|
+
pt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3896
3743
|
});
|
|
3897
|
-
const
|
|
3898
|
-
if (e &&
|
|
3899
|
-
const { loadingDelay: t } =
|
|
3744
|
+
const oo = (e) => {
|
|
3745
|
+
if (e && Vi(e) && ft(e)) {
|
|
3746
|
+
const { loadingDelay: t } = de();
|
|
3900
3747
|
let r;
|
|
3901
|
-
return typeof window != "undefined" &&
|
|
3902
|
-
() =>
|
|
3748
|
+
return typeof window != "undefined" && te() != null && t ? r = window.setTimeout(
|
|
3749
|
+
() => nt.set(!0),
|
|
3903
3750
|
t
|
|
3904
|
-
) :
|
|
3905
|
-
|
|
3751
|
+
) : nt.set(!0), Mr(e).then(() => {
|
|
3752
|
+
De.set(e);
|
|
3906
3753
|
}).finally(() => {
|
|
3907
|
-
clearTimeout(r),
|
|
3754
|
+
clearTimeout(r), nt.set(!1);
|
|
3908
3755
|
});
|
|
3909
3756
|
}
|
|
3910
|
-
return
|
|
3911
|
-
},
|
|
3912
|
-
set:
|
|
3913
|
-
}),
|
|
3757
|
+
return De.set(e);
|
|
3758
|
+
}, pe = io(no({}, De), {
|
|
3759
|
+
set: oo
|
|
3760
|
+
}), qe = (e) => {
|
|
3914
3761
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3915
3762
|
return (n) => {
|
|
3916
3763
|
const i = JSON.stringify(n);
|
|
3917
3764
|
return i in t ? t[i] : t[i] = e(n);
|
|
3918
3765
|
};
|
|
3919
3766
|
};
|
|
3920
|
-
var
|
|
3767
|
+
var ao = Object.defineProperty, Ge = Object.getOwnPropertySymbols, Nr = Object.prototype.hasOwnProperty, Ar = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? ao(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, bt = (e, t) => {
|
|
3921
3768
|
for (var r in t || (t = {}))
|
|
3922
|
-
|
|
3923
|
-
if (
|
|
3924
|
-
for (var r of
|
|
3925
|
-
|
|
3769
|
+
Nr.call(t, r) && Rt(e, r, t[r]);
|
|
3770
|
+
if (Ge)
|
|
3771
|
+
for (var r of Ge(t))
|
|
3772
|
+
Ar.call(t, r) && Rt(e, r, t[r]);
|
|
3926
3773
|
return e;
|
|
3927
|
-
},
|
|
3774
|
+
}, ge = (e, t) => {
|
|
3928
3775
|
var r = {};
|
|
3929
3776
|
for (var n in e)
|
|
3930
|
-
|
|
3931
|
-
if (e != null &&
|
|
3932
|
-
for (var n of
|
|
3933
|
-
t.indexOf(n) < 0 &&
|
|
3777
|
+
Nr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3778
|
+
if (e != null && Ge)
|
|
3779
|
+
for (var n of Ge(e))
|
|
3780
|
+
t.indexOf(n) < 0 && Ar.call(e, n) && (r[n] = e[n]);
|
|
3934
3781
|
return r;
|
|
3935
3782
|
};
|
|
3936
|
-
const
|
|
3937
|
-
const { formats: r } =
|
|
3783
|
+
const we = (e, t) => {
|
|
3784
|
+
const { formats: r } = de();
|
|
3938
3785
|
if (e in r && t in r[e])
|
|
3939
3786
|
return r[e][t];
|
|
3940
3787
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3941
|
-
},
|
|
3788
|
+
}, so = qe(
|
|
3942
3789
|
(e) => {
|
|
3943
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3790
|
+
var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
|
|
3944
3791
|
if (r == null)
|
|
3945
3792
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3946
|
-
return n && (i =
|
|
3793
|
+
return n && (i = we("number", n)), new Intl.NumberFormat(r, i);
|
|
3947
3794
|
}
|
|
3948
|
-
),
|
|
3795
|
+
), lo = qe(
|
|
3949
3796
|
(e) => {
|
|
3950
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3797
|
+
var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
|
|
3951
3798
|
if (r == null)
|
|
3952
3799
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3953
|
-
return n ? i =
|
|
3800
|
+
return n ? i = we("date", n) : Object.keys(i).length === 0 && (i = we("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3954
3801
|
}
|
|
3955
|
-
),
|
|
3802
|
+
), co = qe(
|
|
3956
3803
|
(e) => {
|
|
3957
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3804
|
+
var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
|
|
3958
3805
|
if (r == null)
|
|
3959
3806
|
throw new Error(
|
|
3960
3807
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3961
3808
|
);
|
|
3962
|
-
return n ? i =
|
|
3809
|
+
return n ? i = we("time", n) : Object.keys(i).length === 0 && (i = we("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3963
3810
|
}
|
|
3964
|
-
),
|
|
3811
|
+
), uo = (e = {}) => {
|
|
3965
3812
|
var t = e, {
|
|
3966
|
-
locale: r =
|
|
3967
|
-
} = t, n =
|
|
3813
|
+
locale: r = te()
|
|
3814
|
+
} = t, n = ge(t, [
|
|
3968
3815
|
"locale"
|
|
3969
3816
|
]);
|
|
3970
|
-
return
|
|
3971
|
-
},
|
|
3817
|
+
return so(bt({ locale: r }, n));
|
|
3818
|
+
}, ho = (e = {}) => {
|
|
3972
3819
|
var t = e, {
|
|
3973
|
-
locale: r =
|
|
3974
|
-
} = t, n =
|
|
3820
|
+
locale: r = te()
|
|
3821
|
+
} = t, n = ge(t, [
|
|
3975
3822
|
"locale"
|
|
3976
3823
|
]);
|
|
3977
|
-
return
|
|
3978
|
-
},
|
|
3824
|
+
return lo(bt({ locale: r }, n));
|
|
3825
|
+
}, mo = (e = {}) => {
|
|
3979
3826
|
var t = e, {
|
|
3980
|
-
locale: r =
|
|
3981
|
-
} = t, n =
|
|
3827
|
+
locale: r = te()
|
|
3828
|
+
} = t, n = ge(t, [
|
|
3982
3829
|
"locale"
|
|
3983
3830
|
]);
|
|
3984
|
-
return
|
|
3985
|
-
},
|
|
3831
|
+
return co(bt({ locale: r }, n));
|
|
3832
|
+
}, fo = qe(
|
|
3986
3833
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3987
|
-
(e, t =
|
|
3988
|
-
ignoreTag:
|
|
3834
|
+
(e, t = te()) => new Ui(e, t, de().formats, {
|
|
3835
|
+
ignoreTag: de().ignoreTag
|
|
3989
3836
|
})
|
|
3990
|
-
),
|
|
3837
|
+
), po = (e, t = {}) => {
|
|
3991
3838
|
var r, n, i, o;
|
|
3992
3839
|
let a = t;
|
|
3993
3840
|
typeof e == "object" && (a = e, e = a.id);
|
|
3994
3841
|
const {
|
|
3995
3842
|
values: s,
|
|
3996
|
-
locale:
|
|
3997
|
-
default:
|
|
3843
|
+
locale: c = te(),
|
|
3844
|
+
default: l
|
|
3998
3845
|
} = a;
|
|
3999
|
-
if (
|
|
3846
|
+
if (c == null)
|
|
4000
3847
|
throw new Error(
|
|
4001
3848
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4002
3849
|
);
|
|
4003
|
-
let
|
|
4004
|
-
if (!
|
|
4005
|
-
|
|
4006
|
-
else if (typeof
|
|
3850
|
+
let u = Sr(e, c);
|
|
3851
|
+
if (!u)
|
|
3852
|
+
u = (o = (i = (n = (r = de()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: c, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
|
|
3853
|
+
else if (typeof u != "string")
|
|
4007
3854
|
return console.warn(
|
|
4008
|
-
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof
|
|
4009
|
-
),
|
|
3855
|
+
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
3856
|
+
), u;
|
|
4010
3857
|
if (!s)
|
|
4011
|
-
return
|
|
4012
|
-
let d =
|
|
3858
|
+
return u;
|
|
3859
|
+
let d = u;
|
|
4013
3860
|
try {
|
|
4014
|
-
d =
|
|
3861
|
+
d = fo(u, c).format(s);
|
|
4015
3862
|
} catch (m) {
|
|
4016
3863
|
m instanceof Error && console.warn(
|
|
4017
3864
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4019,18 +3866,18 @@ const _e = (e, t) => {
|
|
|
4019
3866
|
);
|
|
4020
3867
|
}
|
|
4021
3868
|
return d;
|
|
4022
|
-
},
|
|
4023
|
-
|
|
4024
|
-
|
|
4025
|
-
|
|
4026
|
-
|
|
4027
|
-
function
|
|
4028
|
-
|
|
4029
|
-
}
|
|
4030
|
-
function
|
|
4031
|
-
|
|
4032
|
-
}
|
|
4033
|
-
const
|
|
3869
|
+
}, go = (e, t) => mo(t).format(e), _o = (e, t) => ho(t).format(e), yo = (e, t) => uo(t).format(e), vo = (e, t = te()) => Sr(e, t), bo = fe([pe, Me], () => po);
|
|
3870
|
+
fe([pe], () => go);
|
|
3871
|
+
fe([pe], () => _o);
|
|
3872
|
+
fe([pe], () => yo);
|
|
3873
|
+
fe([pe, Me], () => vo);
|
|
3874
|
+
function Ut(e, t) {
|
|
3875
|
+
wr(e, t);
|
|
3876
|
+
}
|
|
3877
|
+
function ko(e) {
|
|
3878
|
+
pe.set(e);
|
|
3879
|
+
}
|
|
3880
|
+
const Dt = {
|
|
4034
3881
|
en: {
|
|
4035
3882
|
invalidUrl: "Failed to construct 'URL': Invalid URL",
|
|
4036
3883
|
fetchConsentsError: "Error: Could not fetch consents.",
|
|
@@ -4602,64 +4449,64 @@ if (typeof window != "undefined") {
|
|
|
4602
4449
|
}
|
|
4603
4450
|
};
|
|
4604
4451
|
};
|
|
4605
|
-
customElements.define = e(customElements.define), Promise.resolve().then(function () { return
|
|
4452
|
+
customElements.define = e(customElements.define), Promise.resolve().then(function () { return require('./GeneralAnimationLoading-lTLzF5jR-8645dd28.js'); }).then(({ default: t }) => {
|
|
4606
4453
|
!customElements.get("general-animation-loading") && customElements.define("general-animation-loading", t.element);
|
|
4607
4454
|
});
|
|
4608
4455
|
}
|
|
4609
|
-
function
|
|
4456
|
+
function Eo(e) {
|
|
4610
4457
|
let t, r;
|
|
4611
4458
|
return {
|
|
4612
4459
|
c() {
|
|
4613
|
-
t = it("svg"), r = it("path"),
|
|
4460
|
+
t = it("svg"), r = it("path"), k(r, "d", "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24l0 112c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-112c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"), k(t, "xmlns", "http://www.w3.org/2000/svg"), k(t, "viewBox", "0 0 512 512");
|
|
4614
4461
|
},
|
|
4615
4462
|
m(n, i) {
|
|
4616
|
-
|
|
4463
|
+
L(n, t, i), x(t, r);
|
|
4617
4464
|
},
|
|
4618
|
-
p:
|
|
4619
|
-
i:
|
|
4620
|
-
o:
|
|
4465
|
+
p: $,
|
|
4466
|
+
i: $,
|
|
4467
|
+
o: $,
|
|
4621
4468
|
d(n) {
|
|
4622
|
-
n &&
|
|
4469
|
+
n && O(t);
|
|
4623
4470
|
}
|
|
4624
4471
|
};
|
|
4625
4472
|
}
|
|
4626
|
-
class
|
|
4473
|
+
class Co extends ar {
|
|
4627
4474
|
constructor(t) {
|
|
4628
|
-
super(),
|
|
4475
|
+
super(), nr(this, t, null, Eo, _t, {});
|
|
4629
4476
|
}
|
|
4630
4477
|
}
|
|
4631
|
-
customElements.define("circle-exclamation-icon",
|
|
4632
|
-
function
|
|
4633
|
-
|
|
4478
|
+
customElements.define("circle-exclamation-icon", or(Co, {}, [], [], !0));
|
|
4479
|
+
function So(e) {
|
|
4480
|
+
cn(e, "svelte-etk3ty", '.DisplayNone.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{display:none}.ContainerCenter.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:219px}.ErrorMessage.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{font-size:12px;color:var(--emw--color-error, #ed0909)}.PlayerConsentsHeader.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{margin-bottom:30px}.AccordionHeader.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{font-weight:bold;cursor:pointer;border-bottom:1px solid var(--emw--color-gray-50, #cccccc);display:flex;align-items:center;justify-content:space-between}.AccordionItem.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{margin-bottom:10px}.AccordionContent.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{display:block;padding:10px 0}.AccordionContent.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty:last-of-type{padding-bottom:0}.ConsentItem.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{display:flex;width:100%;justify-content:space-between;align-items:center;margin-bottom:20px}.ConsentItem.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty:last-of-type{margin-bottom:0}.ConsentItem.svelte-etk3ty .ConsentName.svelte-etk3ty.svelte-etk3ty{margin:0}.ConsentItem.svelte-etk3ty .ConsentDescription.svelte-etk3ty.svelte-etk3ty{font-size:0.8rem}.ToggleSwitch.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{position:relative;display:inline-block;width:40px;height:24px}.ToggleSwitch.Big.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{width:53px;height:30px}.ToggleSwitch.Big.svelte-etk3ty .Slider.svelte-etk3ty.svelte-etk3ty:before{width:22px;height:22px}.ToggleSwitch.Big.svelte-etk3ty input.svelte-etk3ty:checked+.Slider.svelte-etk3ty:before{-webkit-transform:translateX(22px);-ms-transform:translateX(22px);transform:translateX(22px)}.ToggleSwitch.svelte-etk3ty input.svelte-etk3ty.svelte-etk3ty{opacity:0;width:0;height:0}.ToggleSwitch.svelte-etk3ty input.svelte-etk3ty:checked+.Slider.svelte-etk3ty{background-color:var(--emw--color-primary, #22B04E)}.ToggleSwitch.svelte-etk3ty input.svelte-etk3ty:disabled+.Slider.svelte-etk3ty{opacity:0.1}.ToggleSwitch.svelte-etk3ty input.svelte-etk3ty:checked+.Slider.svelte-etk3ty:before{-webkit-transform:translateX(16px);-ms-transform:translateX(16px);transform:translateX(16px)}.ToggleSwitch.svelte-etk3ty input.svelte-etk3ty:focus+.Slider.svelte-etk3ty{box-shadow:0 0 1px var(--emw--color-primary, #22B04E)}.ToggleSwitch.svelte-etk3ty .Slider.svelte-etk3ty.svelte-etk3ty{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:var(--emw--color-gray-150, #a1a1a1);-webkit-transition:0.4s;transition:0.4s}.ToggleSwitch.svelte-etk3ty .Slider.svelte-etk3ty.svelte-etk3ty:before{position:absolute;content:"";height:16px;width:16px;left:4px;bottom:4px;background-color:var(--emw--color-white, #fff);-webkit-transition:0.4s;transition:0.4s}.ToggleSwitch.svelte-etk3ty .Slider.Round.svelte-etk3ty.svelte-etk3ty{border-radius:34px}.ToggleSwitch.svelte-etk3ty .Slider.Round.svelte-etk3ty.svelte-etk3ty:before{border-radius:50%}.SaveConsentsButton.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{display:block;width:100%;margin:50px auto;outline:none;cursor:pointer;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 10px);padding:10px 20px;font-size:var(--emw--font-size-large, 20px);font-family:var(--emw--button-typography);color:var(--emw--button-text-color, #FFFFFF)}.SaveConsentsButton.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty:disabled{opacity:0.3;cursor:not-allowed}.ConsentErrorContainer.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{display:flex;gap:10px;align-items:center;border:1px dashed var(--emw--color-error, #ed0909);padding:10px;margin-bottom:10px}.ConsentErrorContainer.svelte-etk3ty circle-exclamation-icon.svelte-etk3ty.svelte-etk3ty{width:15px;fill:var(--emw--color-error, #ed0909)}.ConsentRequired.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{color:var(--emw--color-error, #ed0909)}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox.svelte-etk3ty.svelte-etk3ty{font-family:"Roboto";font-style:normal}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__wrapper.svelte-etk3ty.svelte-etk3ty{display:flex;gap:10px;position:relative;align-items:baseline;margin-bottom:30px}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__wrapper .checkbox__wrapper--relative.svelte-etk3ty.svelte-etk3ty{position:relative}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__input.svelte-etk3ty.svelte-etk3ty{transform:scale(1.307, 1.307);margin-left:2px;accent-color:var(--emw--login-color-primary, var(--emw--color-primary, #22B04E));width:46px}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__label.svelte-etk3ty.svelte-etk3ty{font-style:inherit;font-family:inherit;font-weight:400;font-size:var(--emw--font-size-medium, 16px);color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;cursor:pointer;padding:0}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__label .checkbox__label-text.svelte-etk3ty.svelte-etk3ty{font-size:var(--emw--font-size-medium, 16px)}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__error-message.svelte-etk3ty.svelte-etk3ty{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__tooltip-icon.svelte-etk3ty.svelte-etk3ty{width:16px;height:auto}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__tooltip.svelte-etk3ty.svelte-etk3ty{position:absolute;top:0;right:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__tooltip.visible.svelte-etk3ty.svelte-etk3ty{opacity:1}');
|
|
4634
4481
|
}
|
|
4635
|
-
function
|
|
4482
|
+
function Gt(e, t, r) {
|
|
4636
4483
|
const n = e.slice();
|
|
4637
4484
|
return n[65] = t[r], n;
|
|
4638
4485
|
}
|
|
4639
|
-
function
|
|
4486
|
+
function Ft(e, t, r) {
|
|
4640
4487
|
const n = e.slice();
|
|
4641
4488
|
return n[62] = t[r], n[63] = t, n[64] = r, n;
|
|
4642
4489
|
}
|
|
4643
|
-
function
|
|
4490
|
+
function $t(e, t, r) {
|
|
4644
4491
|
const n = e.slice();
|
|
4645
4492
|
return n[65] = t[r], n;
|
|
4646
4493
|
}
|
|
4647
|
-
function
|
|
4648
|
-
let t, r, n =
|
|
4494
|
+
function xo(e) {
|
|
4495
|
+
let t, r, n = le(
|
|
4649
4496
|
/*playerConsents*/
|
|
4650
4497
|
e[9]
|
|
4651
4498
|
), i = [];
|
|
4652
4499
|
for (let o = 0; o < n.length; o += 1)
|
|
4653
|
-
i[o] =
|
|
4500
|
+
i[o] = Vt(Gt(e, n, o));
|
|
4654
4501
|
return {
|
|
4655
4502
|
c() {
|
|
4656
|
-
t =
|
|
4503
|
+
t = T("div"), r = T("form");
|
|
4657
4504
|
for (let o = 0; o < i.length; o += 1)
|
|
4658
4505
|
i[o].c();
|
|
4659
|
-
|
|
4506
|
+
k(r, "class", "checkbox svelte-etk3ty"), k(t, "class", "legacyStyle");
|
|
4660
4507
|
},
|
|
4661
4508
|
m(o, a) {
|
|
4662
|
-
|
|
4509
|
+
L(o, t, a), x(t, r);
|
|
4663
4510
|
for (let s = 0; s < i.length; s += 1)
|
|
4664
4511
|
i[s] && i[s].m(r, null);
|
|
4665
4512
|
e[32](r);
|
|
@@ -4667,14 +4514,14 @@ function Xi(e) {
|
|
|
4667
4514
|
p(o, a) {
|
|
4668
4515
|
if (a[0] & /*playerConsents, translate, handleInput*/
|
|
4669
4516
|
1180160) {
|
|
4670
|
-
n =
|
|
4517
|
+
n = le(
|
|
4671
4518
|
/*playerConsents*/
|
|
4672
4519
|
o[9]
|
|
4673
4520
|
);
|
|
4674
4521
|
let s;
|
|
4675
4522
|
for (s = 0; s < n.length; s += 1) {
|
|
4676
|
-
const
|
|
4677
|
-
i[s] ? i[s].p(
|
|
4523
|
+
const c = Gt(o, n, s);
|
|
4524
|
+
i[s] ? i[s].p(c, a) : (i[s] = Vt(c), i[s].c(), i[s].m(r, null));
|
|
4678
4525
|
}
|
|
4679
4526
|
for (; s < i.length; s += 1)
|
|
4680
4527
|
i[s].d(1);
|
|
@@ -4682,11 +4529,11 @@ function Xi(e) {
|
|
|
4682
4529
|
}
|
|
4683
4530
|
},
|
|
4684
4531
|
d(o) {
|
|
4685
|
-
o &&
|
|
4532
|
+
o && O(t), yt(i, o), e[32](null);
|
|
4686
4533
|
}
|
|
4687
4534
|
};
|
|
4688
4535
|
}
|
|
4689
|
-
function
|
|
4536
|
+
function wo(e) {
|
|
4690
4537
|
let t = (
|
|
4691
4538
|
/*$_*/
|
|
4692
4539
|
e[16]("title") || /*$_*/
|
|
@@ -4694,49 +4541,49 @@ function qi(e) {
|
|
|
4694
4541
|
), r, n, i, o = (
|
|
4695
4542
|
/*$_*/
|
|
4696
4543
|
(e[16]("saveButtonContent") || "Save Consents") + ""
|
|
4697
|
-
), a, s,
|
|
4544
|
+
), a, s, c, l, u, d = t && Xt(e), m = le(
|
|
4698
4545
|
/*consentsCategories*/
|
|
4699
4546
|
e[8]
|
|
4700
4547
|
), y = [];
|
|
4701
|
-
for (let
|
|
4702
|
-
y[
|
|
4703
|
-
let
|
|
4548
|
+
for (let p = 0; p < m.length; p += 1)
|
|
4549
|
+
y[p] = Yt(Ft(e, m, p));
|
|
4550
|
+
let g = (
|
|
4704
4551
|
/*errorMessage*/
|
|
4705
|
-
e[6] &&
|
|
4552
|
+
e[6] && Kt(e)
|
|
4706
4553
|
);
|
|
4707
4554
|
return {
|
|
4708
4555
|
c() {
|
|
4709
|
-
d && d.c(), r =
|
|
4710
|
-
for (let
|
|
4711
|
-
y[
|
|
4712
|
-
n =
|
|
4556
|
+
d && d.c(), r = F();
|
|
4557
|
+
for (let p = 0; p < y.length; p += 1)
|
|
4558
|
+
y[p].c();
|
|
4559
|
+
n = F(), i = T("button"), s = F(), g && g.c(), c = dn(), k(i, "class", "SaveConsentsButton svelte-etk3ty"), i.disabled = a = !/*isValid*/
|
|
4713
4560
|
e[14];
|
|
4714
4561
|
},
|
|
4715
|
-
m(
|
|
4716
|
-
d && d.m(
|
|
4562
|
+
m(p, S) {
|
|
4563
|
+
d && d.m(p, S), L(p, r, S);
|
|
4717
4564
|
for (let _ = 0; _ < y.length; _ += 1)
|
|
4718
|
-
y[_] && y[_].m(
|
|
4719
|
-
|
|
4565
|
+
y[_] && y[_].m(p, S);
|
|
4566
|
+
L(p, n, S), L(p, i, S), i.innerHTML = o, L(p, s, S), g && g.m(p, S), L(p, c, S), l || (u = Ce(
|
|
4720
4567
|
i,
|
|
4721
4568
|
"click",
|
|
4722
4569
|
/*saveChanges*/
|
|
4723
4570
|
e[18]
|
|
4724
|
-
),
|
|
4571
|
+
), l = !0);
|
|
4725
4572
|
},
|
|
4726
|
-
p(
|
|
4573
|
+
p(p, S) {
|
|
4727
4574
|
if (S[0] & /*$_*/
|
|
4728
4575
|
65536 && (t = /*$_*/
|
|
4729
|
-
|
|
4730
|
-
|
|
4576
|
+
p[16]("title") || /*$_*/
|
|
4577
|
+
p[16]("description")), t ? d ? d.p(p, S) : (d = Xt(p), d.c(), d.m(r.parentNode, r)) : d && (d.d(1), d = null), S[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, translate, displayconsentdescription, categoryToggle, toggleCategoryConsents*/
|
|
4731
4578
|
1719056) {
|
|
4732
|
-
m =
|
|
4579
|
+
m = le(
|
|
4733
4580
|
/*consentsCategories*/
|
|
4734
|
-
|
|
4581
|
+
p[8]
|
|
4735
4582
|
);
|
|
4736
4583
|
let _;
|
|
4737
4584
|
for (_ = 0; _ < m.length; _ += 1) {
|
|
4738
|
-
const v =
|
|
4739
|
-
y[_] ? y[_].p(v, S) : (y[_] =
|
|
4585
|
+
const v = Ft(p, m, _);
|
|
4586
|
+
y[_] ? y[_].p(v, S) : (y[_] = Yt(v), y[_].c(), y[_].m(n.parentNode, n));
|
|
4740
4587
|
}
|
|
4741
4588
|
for (; _ < y.length; _ += 1)
|
|
4742
4589
|
y[_].d(1);
|
|
@@ -4744,56 +4591,56 @@ function qi(e) {
|
|
|
4744
4591
|
}
|
|
4745
4592
|
S[0] & /*$_*/
|
|
4746
4593
|
65536 && o !== (o = /*$_*/
|
|
4747
|
-
(
|
|
4594
|
+
(p[16]("saveButtonContent") || "Save Consents") + "") && (i.innerHTML = o), S[0] & /*isValid*/
|
|
4748
4595
|
16384 && a !== (a = !/*isValid*/
|
|
4749
|
-
|
|
4750
|
-
|
|
4596
|
+
p[14]) && (i.disabled = a), /*errorMessage*/
|
|
4597
|
+
p[6] ? g ? g.p(p, S) : (g = Kt(p), g.c(), g.m(c.parentNode, c)) : g && (g.d(1), g = null);
|
|
4751
4598
|
},
|
|
4752
|
-
d(
|
|
4753
|
-
|
|
4599
|
+
d(p) {
|
|
4600
|
+
p && (O(r), O(n), O(i), O(s), O(c)), d && d.d(p), yt(y, p), g && g.d(p), l = !1, u();
|
|
4754
4601
|
}
|
|
4755
4602
|
};
|
|
4756
4603
|
}
|
|
4757
|
-
function
|
|
4604
|
+
function To(e) {
|
|
4758
4605
|
let t, r, n;
|
|
4759
4606
|
return {
|
|
4760
4607
|
c() {
|
|
4761
|
-
t =
|
|
4608
|
+
t = T("div"), r = T("strong"), n = ee(
|
|
4762
4609
|
/*fatalError*/
|
|
4763
4610
|
e[7]
|
|
4764
|
-
),
|
|
4611
|
+
), k(r, "class", "ErrorMessage svelte-etk3ty"), k(t, "class", "ContainerCenter svelte-etk3ty");
|
|
4765
4612
|
},
|
|
4766
4613
|
m(i, o) {
|
|
4767
|
-
|
|
4614
|
+
L(i, t, o), x(t, r), x(r, n);
|
|
4768
4615
|
},
|
|
4769
4616
|
p(i, o) {
|
|
4770
4617
|
o[0] & /*fatalError*/
|
|
4771
|
-
128 &&
|
|
4618
|
+
128 && Te(
|
|
4772
4619
|
n,
|
|
4773
4620
|
/*fatalError*/
|
|
4774
4621
|
i[7]
|
|
4775
4622
|
);
|
|
4776
4623
|
},
|
|
4777
4624
|
d(i) {
|
|
4778
|
-
i &&
|
|
4625
|
+
i && O(t);
|
|
4779
4626
|
}
|
|
4780
4627
|
};
|
|
4781
4628
|
}
|
|
4782
|
-
function
|
|
4629
|
+
function Mo(e) {
|
|
4783
4630
|
let t;
|
|
4784
4631
|
return {
|
|
4785
4632
|
c() {
|
|
4786
|
-
t =
|
|
4633
|
+
t = T("general-animation-loading"), K(
|
|
4787
4634
|
t,
|
|
4788
4635
|
"clientstyling",
|
|
4789
4636
|
/*clientstyling*/
|
|
4790
4637
|
e[1]
|
|
4791
|
-
),
|
|
4638
|
+
), K(
|
|
4792
4639
|
t,
|
|
4793
4640
|
"clientstylingurl",
|
|
4794
4641
|
/*clientstylingurl*/
|
|
4795
4642
|
e[2]
|
|
4796
|
-
),
|
|
4643
|
+
), K(
|
|
4797
4644
|
t,
|
|
4798
4645
|
"mbsource",
|
|
4799
4646
|
/*mbsource*/
|
|
@@ -4801,23 +4648,23 @@ function Zi(e) {
|
|
|
4801
4648
|
);
|
|
4802
4649
|
},
|
|
4803
4650
|
m(r, n) {
|
|
4804
|
-
|
|
4651
|
+
L(r, t, n);
|
|
4805
4652
|
},
|
|
4806
4653
|
p(r, n) {
|
|
4807
4654
|
n[0] & /*clientstyling*/
|
|
4808
|
-
2 &&
|
|
4655
|
+
2 && K(
|
|
4809
4656
|
t,
|
|
4810
4657
|
"clientstyling",
|
|
4811
4658
|
/*clientstyling*/
|
|
4812
4659
|
r[1]
|
|
4813
4660
|
), n[0] & /*clientstylingurl*/
|
|
4814
|
-
4 &&
|
|
4661
|
+
4 && K(
|
|
4815
4662
|
t,
|
|
4816
4663
|
"clientstylingurl",
|
|
4817
4664
|
/*clientstylingurl*/
|
|
4818
4665
|
r[2]
|
|
4819
4666
|
), n[0] & /*mbsource*/
|
|
4820
|
-
8 &&
|
|
4667
|
+
8 && K(
|
|
4821
4668
|
t,
|
|
4822
4669
|
"mbsource",
|
|
4823
4670
|
/*mbsource*/
|
|
@@ -4825,12 +4672,12 @@ function Zi(e) {
|
|
|
4825
4672
|
);
|
|
4826
4673
|
},
|
|
4827
4674
|
d(r) {
|
|
4828
|
-
r &&
|
|
4675
|
+
r && O(t);
|
|
4829
4676
|
}
|
|
4830
4677
|
};
|
|
4831
4678
|
}
|
|
4832
|
-
function
|
|
4833
|
-
let t, r, n, i, o, a, s,
|
|
4679
|
+
function Vt(e) {
|
|
4680
|
+
let t, r, n, i, o, a, s, c, l = (
|
|
4834
4681
|
/*translate*/
|
|
4835
4682
|
e[17](
|
|
4836
4683
|
`${/*consent*/
|
|
@@ -4838,10 +4685,10 @@ function At(e) {
|
|
|
4838
4685
|
/*consent*/
|
|
4839
4686
|
e[65].friendlyName
|
|
4840
4687
|
) + ""
|
|
4841
|
-
),
|
|
4688
|
+
), u = (
|
|
4842
4689
|
/*consent*/
|
|
4843
4690
|
e[65].mustAccept ? " *" : ""
|
|
4844
|
-
), d, m, y,
|
|
4691
|
+
), d, m, y, g, p, S, _, v, C;
|
|
4845
4692
|
function H(...E) {
|
|
4846
4693
|
return (
|
|
4847
4694
|
/*input_handler_1*/
|
|
@@ -4854,129 +4701,129 @@ function At(e) {
|
|
|
4854
4701
|
}
|
|
4855
4702
|
return {
|
|
4856
4703
|
c() {
|
|
4857
|
-
t =
|
|
4858
|
-
e[65].status === "1",
|
|
4859
|
-
e[65].tagCode}__input`),
|
|
4860
|
-
e[65].tagCode}__input`),
|
|
4861
|
-
e[65].tagCode),
|
|
4704
|
+
t = T("div"), r = T("input"), o = F(), a = T("label"), s = T("div"), c = new rr(!1), d = ee(u), y = F(), g = T("small"), S = F(), k(r, "class", "checkbox__input svelte-etk3ty"), k(r, "type", "checkbox"), r.checked = n = /*consent*/
|
|
4705
|
+
e[65].status === "1", k(r, "id", i = `${/*consent*/
|
|
4706
|
+
e[65].tagCode}__input`), c.a = d, k(s, "class", "checkbox__label-text svelte-etk3ty"), k(a, "class", "checkbox__label svelte-etk3ty"), k(a, "for", m = `${/*consent*/
|
|
4707
|
+
e[65].tagCode}__input`), k(g, "class", "checkbox__error-message svelte-etk3ty"), k(g, "id", p = "checkBoxError__" + /*consent*/
|
|
4708
|
+
e[65].tagCode), k(t, "class", _ = "checkbox__wrapper " + /*consent*/
|
|
4862
4709
|
e[65].tagCode + "__input svelte-etk3ty");
|
|
4863
4710
|
},
|
|
4864
|
-
m(E,
|
|
4865
|
-
|
|
4711
|
+
m(E, z) {
|
|
4712
|
+
L(E, t, z), x(t, r), x(t, o), x(t, a), x(a, s), c.m(l, s), x(s, d), x(t, y), x(t, g), x(t, S), v || (C = Ce(r, "input", H), v = !0);
|
|
4866
4713
|
},
|
|
4867
|
-
p(E,
|
|
4868
|
-
e = E,
|
|
4714
|
+
p(E, z) {
|
|
4715
|
+
e = E, z[0] & /*playerConsents*/
|
|
4869
4716
|
512 && n !== (n = /*consent*/
|
|
4870
|
-
e[65].status === "1") && (r.checked = n),
|
|
4717
|
+
e[65].status === "1") && (r.checked = n), z[0] & /*playerConsents*/
|
|
4871
4718
|
512 && i !== (i = `${/*consent*/
|
|
4872
|
-
e[65].tagCode}__input`) &&
|
|
4873
|
-
512 &&
|
|
4719
|
+
e[65].tagCode}__input`) && k(r, "id", i), z[0] & /*playerConsents*/
|
|
4720
|
+
512 && l !== (l = /*translate*/
|
|
4874
4721
|
e[17](
|
|
4875
4722
|
`${/*consent*/
|
|
4876
4723
|
e[65].tagCode}__description`,
|
|
4877
4724
|
/*consent*/
|
|
4878
4725
|
e[65].friendlyName
|
|
4879
|
-
) + "") &&
|
|
4880
|
-
512 &&
|
|
4881
|
-
e[65].mustAccept ? " *" : "") &&
|
|
4726
|
+
) + "") && c.p(l), z[0] & /*playerConsents*/
|
|
4727
|
+
512 && u !== (u = /*consent*/
|
|
4728
|
+
e[65].mustAccept ? " *" : "") && Te(d, u), z[0] & /*playerConsents*/
|
|
4882
4729
|
512 && m !== (m = `${/*consent*/
|
|
4883
|
-
e[65].tagCode}__input`) &&
|
|
4884
|
-
512 &&
|
|
4885
|
-
e[65].tagCode) &&
|
|
4730
|
+
e[65].tagCode}__input`) && k(a, "for", m), z[0] & /*playerConsents*/
|
|
4731
|
+
512 && p !== (p = "checkBoxError__" + /*consent*/
|
|
4732
|
+
e[65].tagCode) && k(g, "id", p), z[0] & /*playerConsents*/
|
|
4886
4733
|
512 && _ !== (_ = "checkbox__wrapper " + /*consent*/
|
|
4887
|
-
e[65].tagCode + "__input svelte-etk3ty") &&
|
|
4734
|
+
e[65].tagCode + "__input svelte-etk3ty") && k(t, "class", _);
|
|
4888
4735
|
},
|
|
4889
4736
|
d(E) {
|
|
4890
|
-
E &&
|
|
4737
|
+
E && O(t), v = !1, C();
|
|
4891
4738
|
}
|
|
4892
4739
|
};
|
|
4893
4740
|
}
|
|
4894
|
-
function
|
|
4741
|
+
function Xt(e) {
|
|
4895
4742
|
let t, r = (
|
|
4896
4743
|
/*$_*/
|
|
4897
4744
|
e[16]("title")
|
|
4898
4745
|
), n, i = (
|
|
4899
4746
|
/*$_*/
|
|
4900
4747
|
e[16]("description")
|
|
4901
|
-
), o = r &&
|
|
4748
|
+
), o = r && qt(e), a = i && Wt(e);
|
|
4902
4749
|
return {
|
|
4903
4750
|
c() {
|
|
4904
|
-
t =
|
|
4751
|
+
t = T("div"), o && o.c(), n = F(), a && a.c(), k(t, "class", "PlayerConsentsHeader svelte-etk3ty");
|
|
4905
4752
|
},
|
|
4906
|
-
m(s,
|
|
4907
|
-
|
|
4753
|
+
m(s, c) {
|
|
4754
|
+
L(s, t, c), o && o.m(t, null), x(t, n), a && a.m(t, null);
|
|
4908
4755
|
},
|
|
4909
|
-
p(s,
|
|
4910
|
-
|
|
4756
|
+
p(s, c) {
|
|
4757
|
+
c[0] & /*$_*/
|
|
4911
4758
|
65536 && (r = /*$_*/
|
|
4912
|
-
s[16]("title")), r ? o ? o.p(s,
|
|
4759
|
+
s[16]("title")), r ? o ? o.p(s, c) : (o = qt(s), o.c(), o.m(t, n)) : o && (o.d(1), o = null), c[0] & /*$_*/
|
|
4913
4760
|
65536 && (i = /*$_*/
|
|
4914
|
-
s[16]("description")), i ? a ? a.p(s,
|
|
4761
|
+
s[16]("description")), i ? a ? a.p(s, c) : (a = Wt(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
|
|
4915
4762
|
},
|
|
4916
4763
|
d(s) {
|
|
4917
|
-
s &&
|
|
4764
|
+
s && O(t), o && o.d(), a && a.d();
|
|
4918
4765
|
}
|
|
4919
4766
|
};
|
|
4920
4767
|
}
|
|
4921
|
-
function
|
|
4768
|
+
function qt(e) {
|
|
4922
4769
|
let t, r = (
|
|
4923
4770
|
/*$_*/
|
|
4924
4771
|
e[16]("title") + ""
|
|
4925
4772
|
), n;
|
|
4926
4773
|
return {
|
|
4927
4774
|
c() {
|
|
4928
|
-
t =
|
|
4775
|
+
t = T("h2"), n = ee(r), k(t, "class", "PlayerConsentsTitle");
|
|
4929
4776
|
},
|
|
4930
4777
|
m(i, o) {
|
|
4931
|
-
|
|
4778
|
+
L(i, t, o), x(t, n);
|
|
4932
4779
|
},
|
|
4933
4780
|
p(i, o) {
|
|
4934
4781
|
o[0] & /*$_*/
|
|
4935
4782
|
65536 && r !== (r = /*$_*/
|
|
4936
|
-
i[16]("title") + "") &&
|
|
4783
|
+
i[16]("title") + "") && Te(n, r);
|
|
4937
4784
|
},
|
|
4938
4785
|
d(i) {
|
|
4939
|
-
i &&
|
|
4786
|
+
i && O(t);
|
|
4940
4787
|
}
|
|
4941
4788
|
};
|
|
4942
4789
|
}
|
|
4943
|
-
function
|
|
4790
|
+
function Wt(e) {
|
|
4944
4791
|
let t, r = (
|
|
4945
4792
|
/*$_*/
|
|
4946
4793
|
e[16]("description") + ""
|
|
4947
4794
|
), n;
|
|
4948
4795
|
return {
|
|
4949
4796
|
c() {
|
|
4950
|
-
t =
|
|
4797
|
+
t = T("p"), n = ee(r), k(t, "class", "PlayerConsentsDescription");
|
|
4951
4798
|
},
|
|
4952
4799
|
m(i, o) {
|
|
4953
|
-
|
|
4800
|
+
L(i, t, o), x(t, n);
|
|
4954
4801
|
},
|
|
4955
4802
|
p(i, o) {
|
|
4956
4803
|
o[0] & /*$_*/
|
|
4957
4804
|
65536 && r !== (r = /*$_*/
|
|
4958
|
-
i[16]("description") + "") &&
|
|
4805
|
+
i[16]("description") + "") && Te(n, r);
|
|
4959
4806
|
},
|
|
4960
4807
|
d(i) {
|
|
4961
|
-
i &&
|
|
4808
|
+
i && O(t);
|
|
4962
4809
|
}
|
|
4963
4810
|
};
|
|
4964
4811
|
}
|
|
4965
|
-
function
|
|
4812
|
+
function Zt(e) {
|
|
4966
4813
|
let t;
|
|
4967
4814
|
return {
|
|
4968
4815
|
c() {
|
|
4969
|
-
t =
|
|
4816
|
+
t = T("sup"), t.textContent = "*", k(t, "class", "ConsentRequired svelte-etk3ty");
|
|
4970
4817
|
},
|
|
4971
4818
|
m(r, n) {
|
|
4972
|
-
|
|
4819
|
+
L(r, t, n);
|
|
4973
4820
|
},
|
|
4974
4821
|
d(r) {
|
|
4975
|
-
r &&
|
|
4822
|
+
r && O(t);
|
|
4976
4823
|
}
|
|
4977
4824
|
};
|
|
4978
4825
|
}
|
|
4979
|
-
function
|
|
4826
|
+
function Jt(e) {
|
|
4980
4827
|
let t, r = (
|
|
4981
4828
|
/*translate*/
|
|
4982
4829
|
e[17](
|
|
@@ -4988,10 +4835,10 @@ function zt(e) {
|
|
|
4988
4835
|
);
|
|
4989
4836
|
return {
|
|
4990
4837
|
c() {
|
|
4991
|
-
t =
|
|
4838
|
+
t = T("p"), k(t, "class", "ConsentDescription svelte-etk3ty");
|
|
4992
4839
|
},
|
|
4993
4840
|
m(n, i) {
|
|
4994
|
-
|
|
4841
|
+
L(n, t, i), t.innerHTML = r;
|
|
4995
4842
|
},
|
|
4996
4843
|
p(n, i) {
|
|
4997
4844
|
i[0] & /*playerConsents, consentsCategories*/
|
|
@@ -5004,11 +4851,11 @@ function zt(e) {
|
|
|
5004
4851
|
) + "") && (t.innerHTML = r);
|
|
5005
4852
|
},
|
|
5006
4853
|
d(n) {
|
|
5007
|
-
n &&
|
|
4854
|
+
n && O(t);
|
|
5008
4855
|
}
|
|
5009
4856
|
};
|
|
5010
4857
|
}
|
|
5011
|
-
function
|
|
4858
|
+
function Qt(e) {
|
|
5012
4859
|
let t, r, n, i, o = (
|
|
5013
4860
|
/*translate*/
|
|
5014
4861
|
e[17](
|
|
@@ -5017,12 +4864,12 @@ function It(e) {
|
|
|
5017
4864
|
/*consent*/
|
|
5018
4865
|
e[65].friendlyName
|
|
5019
4866
|
) + ""
|
|
5020
|
-
), a, s,
|
|
4867
|
+
), a, s, c, l, u, d, m, y, g, p, S, _ = (
|
|
5021
4868
|
/*consent*/
|
|
5022
|
-
e[65].mustAccept === !0 &&
|
|
4869
|
+
e[65].mustAccept === !0 && Zt()
|
|
5023
4870
|
), v = (
|
|
5024
4871
|
/*displayconsentdescription*/
|
|
5025
|
-
e[4] === "true" &&
|
|
4872
|
+
e[4] === "true" && Jt(e)
|
|
5026
4873
|
);
|
|
5027
4874
|
function C(...H) {
|
|
5028
4875
|
return (
|
|
@@ -5036,19 +4883,19 @@ function It(e) {
|
|
|
5036
4883
|
}
|
|
5037
4884
|
return {
|
|
5038
4885
|
c() {
|
|
5039
|
-
t =
|
|
4886
|
+
t = T("div"), r = T("div"), n = T("h4"), i = new rr(!1), a = F(), _ && _.c(), s = F(), v && v.c(), c = F(), l = T("label"), u = T("input"), y = F(), g = T("span"), i.a = a, k(n, "class", "ConsentName svelte-etk3ty"), k(r, "class", "ConsentContent"), k(u, "type", "checkbox"), u.disabled = d = /*consent*/
|
|
5040
4887
|
e[65].mustAccept === !0 && /*initialConsentsState*/
|
|
5041
4888
|
e[12][
|
|
5042
4889
|
/*consent*/
|
|
5043
4890
|
e[65].tagCode
|
|
5044
|
-
] === !0,
|
|
4891
|
+
] === !0, u.checked = m = /*consentsState*/
|
|
5045
4892
|
e[13][
|
|
5046
4893
|
/*consent*/
|
|
5047
4894
|
e[65].tagCode
|
|
5048
|
-
],
|
|
4895
|
+
], k(u, "class", "svelte-etk3ty"), k(g, "class", "Slider Round svelte-etk3ty"), k(l, "class", "ToggleSwitch svelte-etk3ty"), k(t, "class", "ConsentItem svelte-etk3ty");
|
|
5049
4896
|
},
|
|
5050
4897
|
m(H, E) {
|
|
5051
|
-
|
|
4898
|
+
L(H, t, E), x(t, r), x(r, n), i.m(o, n), x(n, a), _ && _.m(n, null), x(r, s), v && v.m(r, null), x(t, c), x(t, l), x(l, u), x(l, y), x(l, g), p || (S = Ce(u, "input", C), p = !0);
|
|
5052
4899
|
},
|
|
5053
4900
|
p(H, E) {
|
|
5054
4901
|
e = H, E[0] & /*playerConsents, consentsCategories*/
|
|
@@ -5059,26 +4906,26 @@ function It(e) {
|
|
|
5059
4906
|
/*consent*/
|
|
5060
4907
|
e[65].friendlyName
|
|
5061
4908
|
) + "") && i.p(o), /*consent*/
|
|
5062
|
-
e[65].mustAccept === !0 ? _ || (_ =
|
|
5063
|
-
e[4] === "true" ? v ? v.p(e, E) : (v =
|
|
4909
|
+
e[65].mustAccept === !0 ? _ || (_ = Zt(), _.c(), _.m(n, null)) : _ && (_.d(1), _ = null), /*displayconsentdescription*/
|
|
4910
|
+
e[4] === "true" ? v ? v.p(e, E) : (v = Jt(e), v.c(), v.m(r, null)) : v && (v.d(1), v = null), E[0] & /*playerConsents, consentsCategories, initialConsentsState*/
|
|
5064
4911
|
4864 && d !== (d = /*consent*/
|
|
5065
4912
|
e[65].mustAccept === !0 && /*initialConsentsState*/
|
|
5066
4913
|
e[12][
|
|
5067
4914
|
/*consent*/
|
|
5068
4915
|
e[65].tagCode
|
|
5069
|
-
] === !0) && (
|
|
4916
|
+
] === !0) && (u.disabled = d), E[0] & /*consentsState, playerConsents, consentsCategories*/
|
|
5070
4917
|
8960 && m !== (m = /*consentsState*/
|
|
5071
4918
|
e[13][
|
|
5072
4919
|
/*consent*/
|
|
5073
4920
|
e[65].tagCode
|
|
5074
|
-
]) && (
|
|
4921
|
+
]) && (u.checked = m);
|
|
5075
4922
|
},
|
|
5076
4923
|
d(H) {
|
|
5077
|
-
H &&
|
|
4924
|
+
H && O(t), _ && _.d(), v && v.d(), p = !1, S();
|
|
5078
4925
|
}
|
|
5079
4926
|
};
|
|
5080
4927
|
}
|
|
5081
|
-
function
|
|
4928
|
+
function Yt(e) {
|
|
5082
4929
|
let t, r, n, i = (
|
|
5083
4930
|
/*translate*/
|
|
5084
4931
|
e[17](
|
|
@@ -5087,15 +4934,15 @@ function jt(e) {
|
|
|
5087
4934
|
/*category*/
|
|
5088
4935
|
e[62].friendlyName
|
|
5089
4936
|
) + ""
|
|
5090
|
-
), o, a, s,
|
|
5091
|
-
function
|
|
4937
|
+
), o, a, s, c, l, u, d, m, y;
|
|
4938
|
+
function g() {
|
|
5092
4939
|
e[27].call(
|
|
5093
4940
|
s,
|
|
5094
4941
|
/*category*/
|
|
5095
4942
|
e[62]
|
|
5096
4943
|
);
|
|
5097
4944
|
}
|
|
5098
|
-
function
|
|
4945
|
+
function p() {
|
|
5099
4946
|
return (
|
|
5100
4947
|
/*change_handler*/
|
|
5101
4948
|
e[28](
|
|
@@ -5104,7 +4951,7 @@ function jt(e) {
|
|
|
5104
4951
|
)
|
|
5105
4952
|
);
|
|
5106
4953
|
}
|
|
5107
|
-
function S
|
|
4954
|
+
function S(...C) {
|
|
5108
4955
|
return (
|
|
5109
4956
|
/*func*/
|
|
5110
4957
|
e[29](
|
|
@@ -5114,30 +4961,30 @@ function jt(e) {
|
|
|
5114
4961
|
)
|
|
5115
4962
|
);
|
|
5116
4963
|
}
|
|
5117
|
-
let _ =
|
|
4964
|
+
let _ = le(
|
|
5118
4965
|
/*playerConsents*/
|
|
5119
|
-
e[9].filter(S
|
|
4966
|
+
e[9].filter(S)
|
|
5120
4967
|
), v = [];
|
|
5121
4968
|
for (let C = 0; C < _.length; C += 1)
|
|
5122
|
-
v[C] =
|
|
4969
|
+
v[C] = Qt($t(e, _, C));
|
|
5123
4970
|
return {
|
|
5124
4971
|
c() {
|
|
5125
|
-
t =
|
|
4972
|
+
t = T("div"), r = T("div"), n = T("h3"), o = F(), a = T("label"), s = T("input"), c = F(), l = T("span"), u = F(), d = T("div");
|
|
5126
4973
|
for (let C = 0; C < v.length; C += 1)
|
|
5127
4974
|
v[C].c();
|
|
5128
|
-
|
|
4975
|
+
k(s, "type", "checkbox"), k(s, "class", "svelte-etk3ty"), k(l, "class", "Slider Round svelte-etk3ty"), k(a, "class", "ToggleSwitch Big svelte-etk3ty"), k(r, "class", "AccordionHeader svelte-etk3ty"), k(d, "class", "AccordionContent svelte-etk3ty"), k(t, "class", "AccordionItem svelte-etk3ty");
|
|
5129
4976
|
},
|
|
5130
4977
|
m(C, H) {
|
|
5131
|
-
|
|
4978
|
+
L(C, t, H), x(t, r), x(r, n), n.innerHTML = i, x(r, o), x(r, a), x(a, s), s.checked = /*categoryToggle*/
|
|
5132
4979
|
e[11][
|
|
5133
4980
|
/*category*/
|
|
5134
4981
|
e[62].categoryTagCode
|
|
5135
|
-
],
|
|
4982
|
+
], x(a, c), x(a, l), x(t, u), x(t, d);
|
|
5136
4983
|
for (let E = 0; E < v.length; E += 1)
|
|
5137
4984
|
v[E] && v[E].m(d, null);
|
|
5138
4985
|
m || (y = [
|
|
5139
|
-
|
|
5140
|
-
|
|
4986
|
+
Ce(s, "change", g),
|
|
4987
|
+
Ce(s, "change", p)
|
|
5141
4988
|
], m = !0);
|
|
5142
4989
|
},
|
|
5143
4990
|
p(C, H) {
|
|
@@ -5155,14 +5002,14 @@ function jt(e) {
|
|
|
5155
5002
|
e[62].categoryTagCode
|
|
5156
5003
|
]), H[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, translate, displayconsentdescription*/
|
|
5157
5004
|
1192720) {
|
|
5158
|
-
_ =
|
|
5005
|
+
_ = le(
|
|
5159
5006
|
/*playerConsents*/
|
|
5160
|
-
e[9].filter(S
|
|
5007
|
+
e[9].filter(S)
|
|
5161
5008
|
);
|
|
5162
5009
|
let E;
|
|
5163
5010
|
for (E = 0; E < _.length; E += 1) {
|
|
5164
|
-
const
|
|
5165
|
-
v[E] ? v[E].p(
|
|
5011
|
+
const z = $t(e, _, E);
|
|
5012
|
+
v[E] ? v[E].p(z, H) : (v[E] = Qt(z), v[E].c(), v[E].m(d, null));
|
|
5166
5013
|
}
|
|
5167
5014
|
for (; E < v.length; E += 1)
|
|
5168
5015
|
v[E].d(1);
|
|
@@ -5170,261 +5017,261 @@ function jt(e) {
|
|
|
5170
5017
|
}
|
|
5171
5018
|
},
|
|
5172
5019
|
d(C) {
|
|
5173
|
-
C &&
|
|
5020
|
+
C && O(t), yt(v, C), m = !1, me(y);
|
|
5174
5021
|
}
|
|
5175
5022
|
};
|
|
5176
5023
|
}
|
|
5177
|
-
function
|
|
5024
|
+
function Kt(e) {
|
|
5178
5025
|
let t, r, n, i, o;
|
|
5179
5026
|
return {
|
|
5180
5027
|
c() {
|
|
5181
|
-
t =
|
|
5028
|
+
t = T("div"), r = T("circle-exclamation-icon"), n = F(), i = T("strong"), o = ee(
|
|
5182
5029
|
/*errorMessage*/
|
|
5183
5030
|
e[6]
|
|
5184
|
-
),
|
|
5031
|
+
), K(r, "class", "svelte-etk3ty"), k(i, "class", "ErrorMessage svelte-etk3ty"), k(t, "class", "ConsentErrorContainer svelte-etk3ty");
|
|
5185
5032
|
},
|
|
5186
5033
|
m(a, s) {
|
|
5187
|
-
|
|
5034
|
+
L(a, t, s), x(t, r), x(t, n), x(t, i), x(i, o);
|
|
5188
5035
|
},
|
|
5189
5036
|
p(a, s) {
|
|
5190
5037
|
s[0] & /*errorMessage*/
|
|
5191
|
-
64 &&
|
|
5038
|
+
64 && Te(
|
|
5192
5039
|
o,
|
|
5193
5040
|
/*errorMessage*/
|
|
5194
5041
|
a[6]
|
|
5195
5042
|
);
|
|
5196
5043
|
},
|
|
5197
5044
|
d(a) {
|
|
5198
|
-
a &&
|
|
5045
|
+
a && O(t);
|
|
5199
5046
|
}
|
|
5200
5047
|
};
|
|
5201
5048
|
}
|
|
5202
|
-
function
|
|
5049
|
+
function No(e) {
|
|
5203
5050
|
let t, r;
|
|
5204
5051
|
function n(a, s) {
|
|
5205
5052
|
if (
|
|
5206
5053
|
/*isLoading*/
|
|
5207
5054
|
a[10]
|
|
5208
5055
|
)
|
|
5209
|
-
return
|
|
5056
|
+
return Mo;
|
|
5210
5057
|
if (
|
|
5211
5058
|
/*fatalError*/
|
|
5212
5059
|
a[7]
|
|
5213
5060
|
)
|
|
5214
|
-
return
|
|
5061
|
+
return To;
|
|
5215
5062
|
if (
|
|
5216
5063
|
/*session*/
|
|
5217
5064
|
a[0]
|
|
5218
5065
|
)
|
|
5219
|
-
return
|
|
5066
|
+
return wo;
|
|
5220
5067
|
if (!/*session*/
|
|
5221
5068
|
a[0])
|
|
5222
|
-
return
|
|
5069
|
+
return xo;
|
|
5223
5070
|
}
|
|
5224
5071
|
let i = n(e), o = i && i(e);
|
|
5225
5072
|
return {
|
|
5226
5073
|
c() {
|
|
5227
|
-
t =
|
|
5074
|
+
t = T("div"), r = T("div"), o && o.c(), k(r, "class", "ConsentsContainer svelte-etk3ty"), k(t, "class", "" + " svelte-etk3ty");
|
|
5228
5075
|
},
|
|
5229
5076
|
m(a, s) {
|
|
5230
|
-
|
|
5077
|
+
L(a, t, s), x(t, r), o && o.m(r, null), e[33](r);
|
|
5231
5078
|
},
|
|
5232
5079
|
p(a, s) {
|
|
5233
5080
|
i === (i = n(a)) && o ? o.p(a, s) : (o && o.d(1), o = i && i(a), o && (o.c(), o.m(r, null)));
|
|
5234
5081
|
},
|
|
5235
|
-
i:
|
|
5236
|
-
o:
|
|
5082
|
+
i: $,
|
|
5083
|
+
o: $,
|
|
5237
5084
|
d(a) {
|
|
5238
|
-
a &&
|
|
5085
|
+
a && O(t), o && o.d(), e[33](null);
|
|
5239
5086
|
}
|
|
5240
5087
|
};
|
|
5241
5088
|
}
|
|
5242
|
-
function
|
|
5089
|
+
function Ao(e, t, r) {
|
|
5243
5090
|
let n;
|
|
5244
|
-
|
|
5245
|
-
let { session: i = "" } = t, { userid: o = "" } = t, { endpoint: a = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl:
|
|
5091
|
+
ln(e, bo, (h) => r(16, n = h));
|
|
5092
|
+
let { session: i = "" } = t, { userid: o = "" } = t, { endpoint: a = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: c = "" } = t, { mbsource: l } = t, { lang: u = "en" } = t, { displayconsentdescription: d = "" } = t, { translationurl: m = "" } = t, { modalconsents: y = "false" } = t, g, p, S = !1, _ = !1, v = "", C = "", H = "", E = "", z = [], J = [], j = [], _e = !0, Ne = !0, V = {}, Ae = {}, Q = {}, D = {}, ye, He, R = {
|
|
5246
5093
|
none: { key: "0", value: "None" },
|
|
5247
5094
|
accepted: { key: "1", value: "Accepted" },
|
|
5248
5095
|
expired: { key: "2", value: "Expired" },
|
|
5249
5096
|
denied: { key: "3", value: "Denied" },
|
|
5250
5097
|
suspended: { key: "4", value: "Suspended" }
|
|
5251
|
-
},
|
|
5252
|
-
Object.keys(
|
|
5253
|
-
|
|
5098
|
+
}, Pe = !1;
|
|
5099
|
+
Object.keys(Dt).forEach((h) => {
|
|
5100
|
+
Ut(h, Dt[h]);
|
|
5254
5101
|
});
|
|
5255
|
-
const
|
|
5256
|
-
|
|
5257
|
-
},
|
|
5258
|
-
let
|
|
5259
|
-
fetch(
|
|
5260
|
-
Object.keys(
|
|
5261
|
-
|
|
5102
|
+
const Pr = () => {
|
|
5103
|
+
ko(u);
|
|
5104
|
+
}, Br = () => {
|
|
5105
|
+
let h = new URL(m);
|
|
5106
|
+
fetch(h.href).then((f) => f.json()).then((f) => {
|
|
5107
|
+
Object.keys(f).forEach((w) => {
|
|
5108
|
+
Ut(w, f[w]);
|
|
5262
5109
|
});
|
|
5263
|
-
}).catch((
|
|
5264
|
-
console.log(
|
|
5110
|
+
}).catch((f) => {
|
|
5111
|
+
console.log(f);
|
|
5265
5112
|
});
|
|
5266
|
-
},
|
|
5267
|
-
const
|
|
5268
|
-
return
|
|
5269
|
-
},
|
|
5270
|
-
i && (v
|
|
5271
|
-
},
|
|
5272
|
-
|
|
5273
|
-
},
|
|
5113
|
+
}, Or = (h, f) => {
|
|
5114
|
+
const w = n(h);
|
|
5115
|
+
return w !== h ? w : f;
|
|
5116
|
+
}, zr = () => {
|
|
5117
|
+
i && (v = i, _ = !0), o && (C = o);
|
|
5118
|
+
}, Be = (h, f = !1) => {
|
|
5119
|
+
f ? r(7, E = h) : (Dr(), r(6, H = h));
|
|
5120
|
+
}, ve = (h, f, w, b = !1) => re(this, null, function* () {
|
|
5274
5121
|
try {
|
|
5275
|
-
const M = yield fetch(
|
|
5122
|
+
const M = yield fetch(h, w);
|
|
5276
5123
|
if (!M.ok)
|
|
5277
|
-
throw new Error(n(
|
|
5124
|
+
throw new Error(n(f));
|
|
5278
5125
|
const I = yield M.json();
|
|
5279
|
-
return _ ? I : I.filter((
|
|
5126
|
+
return _ ? I : I.filter((q) => q.showOnRegister === !0);
|
|
5280
5127
|
} catch (M) {
|
|
5281
|
-
throw
|
|
5282
|
-
M instanceof TypeError ? n(
|
|
5283
|
-
|
|
5128
|
+
throw Be(
|
|
5129
|
+
M instanceof TypeError ? n(f) : M.message,
|
|
5130
|
+
b
|
|
5284
5131
|
), M;
|
|
5285
5132
|
}
|
|
5286
|
-
}),
|
|
5133
|
+
}), Lr = () => re(this, null, function* () {
|
|
5287
5134
|
try {
|
|
5288
|
-
let
|
|
5289
|
-
if (_ ? [
|
|
5290
|
-
let
|
|
5291
|
-
|
|
5135
|
+
let h = [], f = [];
|
|
5136
|
+
if (_ ? [h, f] = yield kt() : h = yield kt(), r(10, _e = !1), J = [...h], r(8, z = Ir(J).sort((w, b) => w.categoryTagCode.localeCompare(b.categoryTagCode))), r(11, V = Rr(z)), Ae = W({}, V), r(9, j = [...f]), J.forEach((w) => {
|
|
5137
|
+
let b = j.find((M) => M.tagCode === w.tagCode);
|
|
5138
|
+
b || (b = Je(W({}, w), {
|
|
5292
5139
|
status: R.denied.value
|
|
5293
|
-
}),
|
|
5140
|
+
}), j.push(b)), b.description = w.description, b.orderNumber = w.orderNumber;
|
|
5294
5141
|
}), y === "true") {
|
|
5295
|
-
if (r(9,
|
|
5142
|
+
if (r(9, j = j.filter((w) => w.status === R.expired.value)), j.length !== 0)
|
|
5296
5143
|
return;
|
|
5297
|
-
|
|
5144
|
+
Be(n("wrongModalConfig"), !0);
|
|
5298
5145
|
}
|
|
5299
|
-
|
|
5300
|
-
} catch (
|
|
5301
|
-
throw r(10,
|
|
5302
|
-
|
|
5146
|
+
Ur();
|
|
5147
|
+
} catch (h) {
|
|
5148
|
+
throw r(10, _e = !1), Be(
|
|
5149
|
+
h instanceof TypeError ? n("invalidUrl") : h.message,
|
|
5303
5150
|
!0
|
|
5304
|
-
),
|
|
5151
|
+
), h;
|
|
5305
5152
|
}
|
|
5306
|
-
}),
|
|
5307
|
-
const
|
|
5308
|
-
if (
|
|
5309
|
-
return yield
|
|
5310
|
-
const
|
|
5153
|
+
}), kt = () => re(this, null, function* () {
|
|
5154
|
+
const h = new URL(`${a}/api/v1/gm/consents`);
|
|
5155
|
+
if (h.searchParams.append("Status", "Active"), !_)
|
|
5156
|
+
return yield ve(h.href, "fetchConsentsError", { method: "GET" }, !0);
|
|
5157
|
+
const f = new URL(`${a}/api/v1/gm/user-consents/${C}`);
|
|
5311
5158
|
return yield Promise.all([
|
|
5312
|
-
|
|
5313
|
-
|
|
5159
|
+
ve(h.href, "fetchConsentsError", { method: "GET" }, !0),
|
|
5160
|
+
ve(f.href, "fetchPlayerConsentsError", {
|
|
5314
5161
|
method: "GET",
|
|
5315
5162
|
headers: {
|
|
5316
|
-
"X-SessionId": v
|
|
5163
|
+
"X-SessionId": v,
|
|
5317
5164
|
"Content-Type": "application/json"
|
|
5318
5165
|
}
|
|
5319
5166
|
})
|
|
5320
5167
|
]);
|
|
5321
|
-
}),
|
|
5322
|
-
|
|
5323
|
-
const
|
|
5168
|
+
}), jr = () => {
|
|
5169
|
+
Pe = !1;
|
|
5170
|
+
const h = new URL(`${a}/api/v2/gm/legislation/consents`), f = {
|
|
5324
5171
|
"Content-Type": "application/json",
|
|
5325
5172
|
Accept: "application/json"
|
|
5326
|
-
},
|
|
5327
|
-
fetch(
|
|
5328
|
-
if (!
|
|
5329
|
-
if (J =
|
|
5173
|
+
}, w = { method: "GET", headers: f };
|
|
5174
|
+
fetch(h.href, w).then((b) => b.ok ? b.json() : (Pe = !0, b.json().then((M) => (console.error(M), Oe(M))))).then((b) => {
|
|
5175
|
+
if (!Pe) {
|
|
5176
|
+
if (J = b, localStorage.getItem("playerConsents")) {
|
|
5330
5177
|
try {
|
|
5331
|
-
r(9,
|
|
5178
|
+
r(9, j = JSON.parse(localStorage.getItem("playerConsents")));
|
|
5332
5179
|
} catch (M) {
|
|
5333
|
-
return console.error(M),
|
|
5180
|
+
return console.error(M), Oe(M);
|
|
5334
5181
|
}
|
|
5335
5182
|
return;
|
|
5336
5183
|
}
|
|
5337
|
-
return r(9,
|
|
5184
|
+
return r(9, j = J.map((M) => ({
|
|
5338
5185
|
id: M.id,
|
|
5339
5186
|
status: R.denied.key,
|
|
5340
5187
|
friendlyName: M.friendlyName,
|
|
5341
5188
|
tagCode: M.tagCode,
|
|
5342
5189
|
selected: null,
|
|
5343
5190
|
mustAccept: M.mustAccept
|
|
5344
|
-
}))), localStorage.setItem("playerConsents", JSON.stringify(
|
|
5191
|
+
}))), localStorage.setItem("playerConsents", JSON.stringify(j)), j;
|
|
5345
5192
|
}
|
|
5346
|
-
}).catch((
|
|
5347
|
-
r(10,
|
|
5193
|
+
}).catch((b) => (console.error(b), Oe(b))).finally(() => {
|
|
5194
|
+
r(10, _e = !1);
|
|
5348
5195
|
});
|
|
5349
|
-
},
|
|
5350
|
-
const
|
|
5351
|
-
return
|
|
5352
|
-
|
|
5353
|
-
}), Array.from(
|
|
5354
|
-
},
|
|
5355
|
-
const
|
|
5356
|
-
if (
|
|
5357
|
-
const
|
|
5358
|
-
(
|
|
5196
|
+
}, Ir = (h) => {
|
|
5197
|
+
const f = /* @__PURE__ */ new Map();
|
|
5198
|
+
return h.forEach((w) => {
|
|
5199
|
+
f.has(w.category.categoryTagCode) || f.set(w.category.categoryTagCode, w.category);
|
|
5200
|
+
}), Array.from(f.values());
|
|
5201
|
+
}, Rr = (h) => {
|
|
5202
|
+
const f = localStorage.getItem("categoryToggle" + C);
|
|
5203
|
+
if (f === null) {
|
|
5204
|
+
const w = h.reduce(
|
|
5205
|
+
(b, M) => (b[M.categoryTagCode] = !1, b),
|
|
5359
5206
|
{}
|
|
5360
5207
|
);
|
|
5361
|
-
return localStorage.setItem("categoryToggle" + C, JSON.stringify(
|
|
5208
|
+
return localStorage.setItem("categoryToggle" + C, JSON.stringify(w)), w;
|
|
5362
5209
|
} else
|
|
5363
|
-
return JSON.parse(
|
|
5364
|
-
},
|
|
5365
|
-
|
|
5366
|
-
r(12, Q[
|
|
5367
|
-
}), r(13,
|
|
5368
|
-
},
|
|
5369
|
-
r(13,
|
|
5370
|
-
},
|
|
5371
|
-
if (!
|
|
5210
|
+
return JSON.parse(f);
|
|
5211
|
+
}, Ur = () => {
|
|
5212
|
+
j.forEach((h) => {
|
|
5213
|
+
r(12, Q[h.tagCode] = h.status === R.accepted.value, Q);
|
|
5214
|
+
}), r(13, D = W({}, Q));
|
|
5215
|
+
}, Dr = () => {
|
|
5216
|
+
r(13, D = W({}, Q)), r(11, V = W({}, Ae));
|
|
5217
|
+
}, Gr = () => re(this, null, function* () {
|
|
5218
|
+
if (!Ne)
|
|
5372
5219
|
return;
|
|
5373
|
-
|
|
5374
|
-
const
|
|
5375
|
-
if (Object.keys(
|
|
5376
|
-
const M =
|
|
5377
|
-
|
|
5378
|
-
tagCode:
|
|
5379
|
-
status:
|
|
5380
|
-
}) :
|
|
5381
|
-
tagCode:
|
|
5382
|
-
status:
|
|
5220
|
+
Ne = !1;
|
|
5221
|
+
const h = [], f = [];
|
|
5222
|
+
if (Object.keys(D).forEach((b) => {
|
|
5223
|
+
const M = j.find((I) => I.tagCode === b);
|
|
5224
|
+
D[b] !== Q[b] && (M ? h.push({
|
|
5225
|
+
tagCode: b,
|
|
5226
|
+
status: D[b] ? R.accepted.value : R.denied.value
|
|
5227
|
+
}) : f.push({
|
|
5228
|
+
tagCode: b,
|
|
5229
|
+
status: D[b] ? R.accepted.value : R.denied.value
|
|
5383
5230
|
}));
|
|
5384
5231
|
}), !_) {
|
|
5385
|
-
localStorage.setItem("categoryToggle" + C, JSON.stringify(
|
|
5232
|
+
localStorage.setItem("categoryToggle" + C, JSON.stringify(V)), Ae = W({}, V), window.postMessage(
|
|
5386
5233
|
{
|
|
5387
5234
|
type: "NewPlayerConsentData",
|
|
5388
|
-
data: JSON.stringify(
|
|
5235
|
+
data: JSON.stringify(f)
|
|
5389
5236
|
},
|
|
5390
5237
|
window.location.href
|
|
5391
|
-
),
|
|
5238
|
+
), Ne = !0;
|
|
5392
5239
|
return;
|
|
5393
5240
|
}
|
|
5394
|
-
const
|
|
5241
|
+
const w = new URL(`${a}/api/v1/gm/user-consents/${C}`);
|
|
5395
5242
|
try {
|
|
5396
|
-
const
|
|
5397
|
-
|
|
5243
|
+
const b = yield Promise.allSettled([
|
|
5244
|
+
f.length > 0 && ve(w.href, "updateConsentsError", {
|
|
5398
5245
|
method: "POST",
|
|
5399
5246
|
headers: {
|
|
5400
|
-
"X-SessionId": v
|
|
5247
|
+
"X-SessionId": v,
|
|
5401
5248
|
"Content-Type": "application/json"
|
|
5402
5249
|
},
|
|
5403
|
-
body: JSON.stringify({ userConsents:
|
|
5250
|
+
body: JSON.stringify({ userConsents: f })
|
|
5404
5251
|
}),
|
|
5405
|
-
|
|
5252
|
+
h.length > 0 && ve(w.href, "updateConsentsError", {
|
|
5406
5253
|
method: "PATCH",
|
|
5407
5254
|
headers: {
|
|
5408
|
-
"X-SessionId": v
|
|
5255
|
+
"X-SessionId": v,
|
|
5409
5256
|
"Content-Type": "application/json"
|
|
5410
5257
|
},
|
|
5411
|
-
body: JSON.stringify({ userConsents:
|
|
5258
|
+
body: JSON.stringify({ userConsents: h })
|
|
5412
5259
|
})
|
|
5413
5260
|
]);
|
|
5414
|
-
|
|
5261
|
+
b.forEach((M, I) => {
|
|
5415
5262
|
if (M.status === "rejected" || M.value.ok === !1) {
|
|
5416
|
-
const
|
|
5417
|
-
r(13,
|
|
5263
|
+
const q = I < f.length ? f[I] : h[I - f.length];
|
|
5264
|
+
r(13, D[q.tagCode] = Q[q.tagCode], D);
|
|
5418
5265
|
}
|
|
5419
|
-
}),
|
|
5266
|
+
}), b.every((M) => M.status === "fulfilled") && (localStorage.setItem("categoryToggle" + C, JSON.stringify(V)), Ae = W({}, V), window.postMessage(
|
|
5420
5267
|
{
|
|
5421
5268
|
type: "PlayerConsentUpdated",
|
|
5422
5269
|
success: !0
|
|
5423
5270
|
},
|
|
5424
5271
|
window.location.href
|
|
5425
|
-
), r(12, Q =
|
|
5426
|
-
} catch (
|
|
5427
|
-
|
|
5272
|
+
), r(12, Q = W({}, D)));
|
|
5273
|
+
} catch (b) {
|
|
5274
|
+
Be(b instanceof TypeError ? n("saveChangesError") : b.message), window.postMessage(
|
|
5428
5275
|
{
|
|
5429
5276
|
type: "PlayerConsentUpdated",
|
|
5430
5277
|
success: !1
|
|
@@ -5432,150 +5279,150 @@ function Qi(e, t, r) {
|
|
|
5432
5279
|
window.location.href
|
|
5433
5280
|
);
|
|
5434
5281
|
} finally {
|
|
5435
|
-
|
|
5282
|
+
Ne = !0, r(14, ye = !1);
|
|
5436
5283
|
}
|
|
5437
|
-
}),
|
|
5438
|
-
const
|
|
5284
|
+
}), Fr = (h) => {
|
|
5285
|
+
const f = new URL(`${a}/api/v2/gm/legislation/consents`), w = {
|
|
5439
5286
|
"Content-Type": "application/json",
|
|
5440
5287
|
Accept: "application/json"
|
|
5441
|
-
},
|
|
5442
|
-
playerConsents:
|
|
5443
|
-
registrationId:
|
|
5288
|
+
}, b = {
|
|
5289
|
+
playerConsents: j,
|
|
5290
|
+
registrationId: h
|
|
5444
5291
|
}, M = {
|
|
5445
5292
|
method: "POST",
|
|
5446
|
-
body: JSON.stringify(
|
|
5447
|
-
headers:
|
|
5293
|
+
body: JSON.stringify(b),
|
|
5294
|
+
headers: w
|
|
5448
5295
|
};
|
|
5449
|
-
fetch(
|
|
5450
|
-
I.ok || (
|
|
5451
|
-
}).catch((I) => (console.error(I),
|
|
5452
|
-
r(10,
|
|
5296
|
+
fetch(f.href, M).then((I) => {
|
|
5297
|
+
I.ok || (Pe = !0);
|
|
5298
|
+
}).catch((I) => (console.error(I), Oe(I))).finally(() => {
|
|
5299
|
+
r(10, _e = !1);
|
|
5453
5300
|
});
|
|
5454
|
-
},
|
|
5455
|
-
|
|
5456
|
-
|
|
5457
|
-
}), r(14,
|
|
5458
|
-
},
|
|
5459
|
-
const
|
|
5301
|
+
}, Et = (h) => {
|
|
5302
|
+
j.filter((f) => f.category.categoryTagCode === h).forEach((f) => {
|
|
5303
|
+
f.status = f.status === R.denied.value ? R.accepted.value : R.denied.value, r(13, D[f.tagCode] = V[h] || !1, D);
|
|
5304
|
+
}), r(14, ye = Ct());
|
|
5305
|
+
}, We = (h, f, w) => {
|
|
5306
|
+
const b = j.find((q) => q.id === w), M = f ? "value" : "key";
|
|
5460
5307
|
let I;
|
|
5461
|
-
if (!
|
|
5462
|
-
const
|
|
5463
|
-
for (const
|
|
5464
|
-
if (I = Array.from(
|
|
5308
|
+
if (!f && b.mustAccept) {
|
|
5309
|
+
const q = Array.from(He.children);
|
|
5310
|
+
for (const be of q)
|
|
5311
|
+
if (I = Array.from(be.children).find((en) => en.getAttribute("id") === `checkBoxError__${b.tagCode}`), I)
|
|
5465
5312
|
break;
|
|
5466
5313
|
}
|
|
5467
|
-
if (
|
|
5468
|
-
r(13,
|
|
5469
|
-
const
|
|
5470
|
-
r(11,
|
|
5314
|
+
if (b.status === R.accepted[M] ? (b.status = R.denied[M], I && (I.innerHTML = n("requiredError"))) : (b.status = R.accepted[M], I && (I.innerHTML = "")), f) {
|
|
5315
|
+
r(13, D[b.tagCode] = !D[b.tagCode], D);
|
|
5316
|
+
const q = j.filter((be) => be.category.categoryTagCode === f.categoryTagCode).every((be) => be.status !== R.denied.value);
|
|
5317
|
+
r(11, V[f.categoryTagCode] = q, V);
|
|
5471
5318
|
}
|
|
5472
|
-
|
|
5473
|
-
},
|
|
5474
|
-
let
|
|
5475
|
-
return function(...
|
|
5319
|
+
$r();
|
|
5320
|
+
}, $r = ((h, f) => {
|
|
5321
|
+
let w;
|
|
5322
|
+
return function(...b) {
|
|
5476
5323
|
const M = this;
|
|
5477
|
-
clearTimeout(
|
|
5324
|
+
clearTimeout(w), w = setTimeout(
|
|
5478
5325
|
() => {
|
|
5479
|
-
|
|
5326
|
+
h.apply(M, b);
|
|
5480
5327
|
},
|
|
5481
|
-
|
|
5328
|
+
f
|
|
5482
5329
|
);
|
|
5483
5330
|
};
|
|
5484
|
-
})(() =>
|
|
5485
|
-
r(14,
|
|
5486
|
-
},
|
|
5331
|
+
})(() => Vr(), 500), Vr = () => {
|
|
5332
|
+
r(14, ye = Ct()), i || (window.postMessage({ type: "isConsentsValid", isValid: ye }), localStorage.setItem("playerConsents", JSON.stringify(j)));
|
|
5333
|
+
}, Ct = () => j.filter((f) => j.some((w) => f.tagCode === w.tagCode && w.mustAccept && (f.status === R.denied.key || f.status === R.denied.value))).length === 0, Oe = (h) => {
|
|
5487
5334
|
window.postMessage(
|
|
5488
5335
|
{
|
|
5489
5336
|
type: "WidgetNotification",
|
|
5490
|
-
data: { type: "error", message:
|
|
5337
|
+
data: { type: "error", message: h }
|
|
5491
5338
|
},
|
|
5492
5339
|
window.location.href
|
|
5493
5340
|
);
|
|
5494
|
-
},
|
|
5495
|
-
|
|
5341
|
+
}, Xr = (h) => {
|
|
5342
|
+
h.data && h.data.type !== "setUpPlayerConsents" || Fr(h.data.registerid);
|
|
5496
5343
|
};
|
|
5497
|
-
|
|
5344
|
+
gn(() => {
|
|
5498
5345
|
setTimeout(
|
|
5499
5346
|
() => {
|
|
5500
5347
|
r(26, S = !0);
|
|
5501
5348
|
},
|
|
5502
5349
|
50
|
|
5503
5350
|
);
|
|
5504
|
-
const
|
|
5505
|
-
return window.addEventListener("message",
|
|
5506
|
-
window.removeEventListener("message",
|
|
5351
|
+
const h = (f) => Xr(f);
|
|
5352
|
+
return window.addEventListener("message", h), () => {
|
|
5353
|
+
window.removeEventListener("message", h);
|
|
5507
5354
|
};
|
|
5508
5355
|
});
|
|
5509
|
-
function
|
|
5510
|
-
|
|
5356
|
+
function qr(h) {
|
|
5357
|
+
V[h.categoryTagCode] = this.checked, r(11, V);
|
|
5511
5358
|
}
|
|
5512
|
-
const
|
|
5513
|
-
function
|
|
5514
|
-
|
|
5515
|
-
|
|
5359
|
+
const Wr = (h) => Et(h.categoryTagCode), Zr = (h, f) => f.category.categoryTagCode === h.categoryTagCode, Jr = (h, f) => We(f, h.category, h.id), Qr = (h, f) => We(f, null, h.id);
|
|
5360
|
+
function Yr(h) {
|
|
5361
|
+
Re[h ? "unshift" : "push"](() => {
|
|
5362
|
+
He = h, r(15, He);
|
|
5516
5363
|
});
|
|
5517
5364
|
}
|
|
5518
|
-
function
|
|
5519
|
-
|
|
5520
|
-
|
|
5365
|
+
function Kr(h) {
|
|
5366
|
+
Re[h ? "unshift" : "push"](() => {
|
|
5367
|
+
g = h, r(5, g);
|
|
5521
5368
|
});
|
|
5522
5369
|
}
|
|
5523
|
-
return e.$$set = (
|
|
5524
|
-
"session" in
|
|
5370
|
+
return e.$$set = (h) => {
|
|
5371
|
+
"session" in h && r(0, i = h.session), "userid" in h && r(21, o = h.userid), "endpoint" in h && r(22, a = h.endpoint), "clientstyling" in h && r(1, s = h.clientstyling), "clientstylingurl" in h && r(2, c = h.clientstylingurl), "mbsource" in h && r(3, l = h.mbsource), "lang" in h && r(23, u = h.lang), "displayconsentdescription" in h && r(4, d = h.displayconsentdescription), "translationurl" in h && r(24, m = h.translationurl), "modalconsents" in h && r(25, y = h.modalconsents);
|
|
5525
5372
|
}, e.$$.update = () => {
|
|
5526
5373
|
e.$$.dirty[0] & /*isMounted, session*/
|
|
5527
|
-
67108865 && S && i && (
|
|
5528
|
-
1 && (i ||
|
|
5529
|
-
34 && s &&
|
|
5530
|
-
36 &&
|
|
5531
|
-
40 &&
|
|
5532
|
-
8388608 &&
|
|
5533
|
-
16777216 && m &&
|
|
5374
|
+
67108865 && S && i && (zr(), Lr()), e.$$.dirty[0] & /*session*/
|
|
5375
|
+
1 && (i || jr()), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5376
|
+
34 && s && g && Tn(g, s), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5377
|
+
36 && c && g && Mn(g, c), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
5378
|
+
40 && g && Nn(g, `${l}.Style`, p), e.$$.dirty[0] & /*lang*/
|
|
5379
|
+
8388608 && u && Pr(), e.$$.dirty[0] & /*translationurl*/
|
|
5380
|
+
16777216 && m && Br();
|
|
5534
5381
|
}, [
|
|
5535
5382
|
i,
|
|
5536
5383
|
s,
|
|
5537
|
-
|
|
5538
|
-
|
|
5384
|
+
c,
|
|
5385
|
+
l,
|
|
5539
5386
|
d,
|
|
5540
|
-
|
|
5387
|
+
g,
|
|
5541
5388
|
H,
|
|
5542
5389
|
E,
|
|
5543
|
-
O,
|
|
5544
5390
|
z,
|
|
5545
|
-
|
|
5546
|
-
|
|
5391
|
+
j,
|
|
5392
|
+
_e,
|
|
5393
|
+
V,
|
|
5547
5394
|
Q,
|
|
5548
|
-
|
|
5549
|
-
|
|
5550
|
-
|
|
5395
|
+
D,
|
|
5396
|
+
ye,
|
|
5397
|
+
He,
|
|
5551
5398
|
n,
|
|
5552
|
-
|
|
5553
|
-
|
|
5554
|
-
|
|
5555
|
-
|
|
5399
|
+
Or,
|
|
5400
|
+
Gr,
|
|
5401
|
+
Et,
|
|
5402
|
+
We,
|
|
5556
5403
|
o,
|
|
5557
5404
|
a,
|
|
5558
|
-
|
|
5405
|
+
u,
|
|
5559
5406
|
m,
|
|
5560
5407
|
y,
|
|
5561
5408
|
S,
|
|
5562
|
-
|
|
5563
|
-
|
|
5564
|
-
|
|
5565
|
-
|
|
5566
|
-
|
|
5567
|
-
|
|
5568
|
-
|
|
5409
|
+
qr,
|
|
5410
|
+
Wr,
|
|
5411
|
+
Zr,
|
|
5412
|
+
Jr,
|
|
5413
|
+
Qr,
|
|
5414
|
+
Yr,
|
|
5415
|
+
Kr
|
|
5569
5416
|
];
|
|
5570
5417
|
}
|
|
5571
|
-
class
|
|
5418
|
+
class Hr extends ar {
|
|
5572
5419
|
constructor(t) {
|
|
5573
|
-
super(),
|
|
5420
|
+
super(), nr(
|
|
5574
5421
|
this,
|
|
5575
5422
|
t,
|
|
5576
|
-
|
|
5577
|
-
|
|
5578
|
-
|
|
5423
|
+
Ao,
|
|
5424
|
+
No,
|
|
5425
|
+
_t,
|
|
5579
5426
|
{
|
|
5580
5427
|
session: 0,
|
|
5581
5428
|
userid: 21,
|
|
@@ -5588,7 +5435,7 @@ class Yi extends yt$1 {
|
|
|
5588
5435
|
translationurl: 24,
|
|
5589
5436
|
modalconsents: 25
|
|
5590
5437
|
},
|
|
5591
|
-
|
|
5438
|
+
So,
|
|
5592
5439
|
[-1, -1, -1]
|
|
5593
5440
|
);
|
|
5594
5441
|
}
|
|
@@ -5596,63 +5443,82 @@ class Yi extends yt$1 {
|
|
|
5596
5443
|
return this.$$.ctx[0];
|
|
5597
5444
|
}
|
|
5598
5445
|
set session(t) {
|
|
5599
|
-
this.$$set({ session: t }),
|
|
5446
|
+
this.$$set({ session: t }), X();
|
|
5600
5447
|
}
|
|
5601
5448
|
get userid() {
|
|
5602
5449
|
return this.$$.ctx[21];
|
|
5603
5450
|
}
|
|
5604
5451
|
set userid(t) {
|
|
5605
|
-
this.$$set({ userid: t }),
|
|
5452
|
+
this.$$set({ userid: t }), X();
|
|
5606
5453
|
}
|
|
5607
5454
|
get endpoint() {
|
|
5608
5455
|
return this.$$.ctx[22];
|
|
5609
5456
|
}
|
|
5610
5457
|
set endpoint(t) {
|
|
5611
|
-
this.$$set({ endpoint: t }),
|
|
5458
|
+
this.$$set({ endpoint: t }), X();
|
|
5612
5459
|
}
|
|
5613
5460
|
get clientstyling() {
|
|
5614
5461
|
return this.$$.ctx[1];
|
|
5615
5462
|
}
|
|
5616
5463
|
set clientstyling(t) {
|
|
5617
|
-
this.$$set({ clientstyling: t }),
|
|
5464
|
+
this.$$set({ clientstyling: t }), X();
|
|
5618
5465
|
}
|
|
5619
5466
|
get clientstylingurl() {
|
|
5620
5467
|
return this.$$.ctx[2];
|
|
5621
5468
|
}
|
|
5622
5469
|
set clientstylingurl(t) {
|
|
5623
|
-
this.$$set({ clientstylingurl: t }),
|
|
5470
|
+
this.$$set({ clientstylingurl: t }), X();
|
|
5624
5471
|
}
|
|
5625
5472
|
get mbsource() {
|
|
5626
5473
|
return this.$$.ctx[3];
|
|
5627
5474
|
}
|
|
5628
5475
|
set mbsource(t) {
|
|
5629
|
-
this.$$set({ mbsource: t }),
|
|
5476
|
+
this.$$set({ mbsource: t }), X();
|
|
5630
5477
|
}
|
|
5631
5478
|
get lang() {
|
|
5632
5479
|
return this.$$.ctx[23];
|
|
5633
5480
|
}
|
|
5634
5481
|
set lang(t) {
|
|
5635
|
-
this.$$set({ lang: t }),
|
|
5482
|
+
this.$$set({ lang: t }), X();
|
|
5636
5483
|
}
|
|
5637
5484
|
get displayconsentdescription() {
|
|
5638
5485
|
return this.$$.ctx[4];
|
|
5639
5486
|
}
|
|
5640
5487
|
set displayconsentdescription(t) {
|
|
5641
|
-
this.$$set({ displayconsentdescription: t }),
|
|
5488
|
+
this.$$set({ displayconsentdescription: t }), X();
|
|
5642
5489
|
}
|
|
5643
5490
|
get translationurl() {
|
|
5644
5491
|
return this.$$.ctx[24];
|
|
5645
5492
|
}
|
|
5646
5493
|
set translationurl(t) {
|
|
5647
|
-
this.$$set({ translationurl: t }),
|
|
5494
|
+
this.$$set({ translationurl: t }), X();
|
|
5648
5495
|
}
|
|
5649
5496
|
get modalconsents() {
|
|
5650
5497
|
return this.$$.ctx[25];
|
|
5651
5498
|
}
|
|
5652
5499
|
set modalconsents(t) {
|
|
5653
|
-
this.$$set({ modalconsents: t }),
|
|
5500
|
+
this.$$set({ modalconsents: t }), X();
|
|
5654
5501
|
}
|
|
5655
5502
|
}
|
|
5656
|
-
|
|
5503
|
+
or(Hr, { session: {}, userid: {}, endpoint: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, lang: {}, displayconsentdescription: {}, translationurl: {}, modalconsents: {} }, [], [], !0);
|
|
5504
|
+
const Oo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5505
|
+
__proto__: null,
|
|
5506
|
+
default: Hr
|
|
5507
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
5657
5508
|
|
|
5658
|
-
exports
|
|
5509
|
+
exports.P = Oo;
|
|
5510
|
+
exports.S = ar;
|
|
5511
|
+
exports.a = cn;
|
|
5512
|
+
exports.b = L;
|
|
5513
|
+
exports.c = Re;
|
|
5514
|
+
exports.d = O;
|
|
5515
|
+
exports.e = T;
|
|
5516
|
+
exports.f = X;
|
|
5517
|
+
exports.g = Tn;
|
|
5518
|
+
exports.h = Mn;
|
|
5519
|
+
exports.i = nr;
|
|
5520
|
+
exports.j = Nn;
|
|
5521
|
+
exports.k = or;
|
|
5522
|
+
exports.n = $;
|
|
5523
|
+
exports.o = gn;
|
|
5524
|
+
exports.s = _t;
|