@everymatrix/player-consents 1.74.1 → 1.74.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{GeneralAnimationLoading-ZTNd0X9B.js → GeneralAnimationLoading-CfVy1Wef.js} +30 -30
- package/components/{GeneralAnimationLoading-CAP3Fch3.js → GeneralAnimationLoading-DXjp5XQP.js} +19 -19
- package/components/GeneralAnimationLoading-acwReDLO.cjs +1 -0
- package/components/{PlayerConsents-S9uer3_U.js → PlayerConsents-BnndxanX.js} +744 -773
- package/components/PlayerConsents-CTCXDjy8.cjs +16 -0
- package/components/{PlayerConsents-Cqbn9bMP.js → PlayerConsents-qUW5xtcz.js} +624 -599
- package/es2015/player-consents.cjs +1 -1
- package/es2015/player-consents.js +1 -1
- package/esnext/player-consents.js +1 -1
- package/package.json +1 -1
- package/components/GeneralAnimationLoading-Sk__cGd0.cjs +0 -1
- package/components/PlayerConsents-DrhcDBLh.cjs +0 -3
|
@@ -1,11 +1,39 @@
|
|
|
1
|
-
|
|
1
|
+
var zr = Object.defineProperty, Or = Object.defineProperties;
|
|
2
|
+
var Ir = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var ot = Object.getOwnPropertySymbols;
|
|
4
|
+
var jr = Object.prototype.hasOwnProperty, Lr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var at = (e, t, r) => t in e ? zr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, W = (e, t) => {
|
|
6
|
+
for (var r in t || (t = {}))
|
|
7
|
+
jr.call(t, r) && at(e, r, t[r]);
|
|
8
|
+
if (ot)
|
|
9
|
+
for (var r of ot(t))
|
|
10
|
+
Lr.call(t, r) && at(e, r, t[r]);
|
|
11
|
+
return e;
|
|
12
|
+
}, st = (e, t) => Or(e, Ir(t));
|
|
13
|
+
var he = (e, t, r) => new Promise((n, i) => {
|
|
14
|
+
var o = (h) => {
|
|
15
|
+
try {
|
|
16
|
+
s(r.next(h));
|
|
17
|
+
} catch (u) {
|
|
18
|
+
i(u);
|
|
19
|
+
}
|
|
20
|
+
}, a = (h) => {
|
|
21
|
+
try {
|
|
22
|
+
s(r.throw(h));
|
|
23
|
+
} catch (u) {
|
|
24
|
+
i(u);
|
|
25
|
+
}
|
|
26
|
+
}, s = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, a);
|
|
27
|
+
s((r = r.apply(e, t)).next());
|
|
28
|
+
});
|
|
29
|
+
import { n as q, s as Rr, r as jt, a as Ye, i as Ur, c as Lt, S as Rt, b as Ut, d as lt, e as E, f as j, g as S, h as L, j as X, k as Dr, l as A, m as Gr, o as Fr, p as Vr, q as ct, t as Xr, u as qr, v as Wr, w as $, x as Ke, y as G, z as Zr, A as me, B as fe, C as _e, D as Q, H as Dt } from "./GeneralAnimationLoading-DXjp5XQP.js";
|
|
2
30
|
const K = [];
|
|
3
|
-
function
|
|
31
|
+
function Jr(e, t) {
|
|
4
32
|
return {
|
|
5
33
|
subscribe: Ae(e, t).subscribe
|
|
6
34
|
};
|
|
7
35
|
}
|
|
8
|
-
function Ae(e, t =
|
|
36
|
+
function Ae(e, t = q) {
|
|
9
37
|
let r;
|
|
10
38
|
const n = /* @__PURE__ */ new Set();
|
|
11
39
|
function i(s) {
|
|
@@ -23,9 +51,9 @@ function Ae(e, t = W) {
|
|
|
23
51
|
function o(s) {
|
|
24
52
|
i(s(e));
|
|
25
53
|
}
|
|
26
|
-
function a(s, h =
|
|
54
|
+
function a(s, h = q) {
|
|
27
55
|
const u = [s, h];
|
|
28
|
-
return n.add(u), n.size === 1 && (r = t(i, o) ||
|
|
56
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || q), s(e), () => {
|
|
29
57
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
30
58
|
};
|
|
31
59
|
}
|
|
@@ -36,18 +64,18 @@ function ie(e, t, r) {
|
|
|
36
64
|
if (!i.every(Boolean))
|
|
37
65
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
38
66
|
const o = t.length < 2;
|
|
39
|
-
return
|
|
67
|
+
return Jr(r, (a, s) => {
|
|
40
68
|
let h = !1;
|
|
41
69
|
const u = [];
|
|
42
|
-
let l = 0, d =
|
|
70
|
+
let l = 0, d = q;
|
|
43
71
|
const m = () => {
|
|
44
72
|
if (l)
|
|
45
73
|
return;
|
|
46
74
|
d();
|
|
47
75
|
const f = t(n ? u[0] : u, a, s);
|
|
48
|
-
o ? a(f) : d =
|
|
76
|
+
o ? a(f) : d = Ur(f) ? f : q;
|
|
49
77
|
}, v = i.map(
|
|
50
|
-
(f, p) =>
|
|
78
|
+
(f, p) => Rr(
|
|
51
79
|
f,
|
|
52
80
|
(C) => {
|
|
53
81
|
u[p] = C, l &= ~(1 << p), h && m();
|
|
@@ -58,74 +86,74 @@ function ie(e, t, r) {
|
|
|
58
86
|
)
|
|
59
87
|
);
|
|
60
88
|
return h = !0, m(), function() {
|
|
61
|
-
|
|
89
|
+
jt(v), d(), h = !1;
|
|
62
90
|
};
|
|
63
91
|
});
|
|
64
92
|
}
|
|
65
|
-
function
|
|
66
|
-
return e
|
|
93
|
+
function Qr(e) {
|
|
94
|
+
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
67
95
|
}
|
|
68
|
-
var
|
|
69
|
-
return
|
|
96
|
+
var Yr = function(t) {
|
|
97
|
+
return Kr(t) && !$r(t);
|
|
70
98
|
};
|
|
71
|
-
function
|
|
99
|
+
function Kr(e) {
|
|
72
100
|
return !!e && typeof e == "object";
|
|
73
101
|
}
|
|
74
|
-
function
|
|
102
|
+
function $r(e) {
|
|
75
103
|
var t = Object.prototype.toString.call(e);
|
|
76
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
104
|
+
return t === "[object RegExp]" || t === "[object Date]" || rn(e);
|
|
77
105
|
}
|
|
78
|
-
var
|
|
79
|
-
function
|
|
80
|
-
return e.$$typeof ===
|
|
106
|
+
var en = typeof Symbol == "function" && Symbol.for, tn = en ? Symbol.for("react.element") : 60103;
|
|
107
|
+
function rn(e) {
|
|
108
|
+
return e.$$typeof === tn;
|
|
81
109
|
}
|
|
82
|
-
function
|
|
110
|
+
function nn(e) {
|
|
83
111
|
return Array.isArray(e) ? [] : {};
|
|
84
112
|
}
|
|
85
|
-
function
|
|
86
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? ee(
|
|
113
|
+
function pe(e, t) {
|
|
114
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? ee(nn(e), e, t) : e;
|
|
87
115
|
}
|
|
88
|
-
function
|
|
116
|
+
function on(e, t, r) {
|
|
89
117
|
return e.concat(t).map(function(n) {
|
|
90
|
-
return
|
|
118
|
+
return pe(n, r);
|
|
91
119
|
});
|
|
92
120
|
}
|
|
93
|
-
function
|
|
121
|
+
function an(e, t) {
|
|
94
122
|
if (!t.customMerge)
|
|
95
123
|
return ee;
|
|
96
124
|
var r = t.customMerge(e);
|
|
97
125
|
return typeof r == "function" ? r : ee;
|
|
98
126
|
}
|
|
99
|
-
function
|
|
127
|
+
function sn(e) {
|
|
100
128
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
101
129
|
return Object.propertyIsEnumerable.call(e, t);
|
|
102
130
|
}) : [];
|
|
103
131
|
}
|
|
104
|
-
function
|
|
105
|
-
return Object.keys(e).concat(
|
|
132
|
+
function ut(e) {
|
|
133
|
+
return Object.keys(e).concat(sn(e));
|
|
106
134
|
}
|
|
107
|
-
function
|
|
135
|
+
function Gt(e, t) {
|
|
108
136
|
try {
|
|
109
137
|
return t in e;
|
|
110
|
-
} catch {
|
|
138
|
+
} catch (r) {
|
|
111
139
|
return !1;
|
|
112
140
|
}
|
|
113
141
|
}
|
|
114
|
-
function
|
|
115
|
-
return
|
|
142
|
+
function ln(e, t) {
|
|
143
|
+
return Gt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
116
144
|
}
|
|
117
|
-
function
|
|
145
|
+
function cn(e, t, r) {
|
|
118
146
|
var n = {};
|
|
119
|
-
return r.isMergeableObject(e) &&
|
|
120
|
-
n[i] =
|
|
121
|
-
}),
|
|
122
|
-
|
|
147
|
+
return r.isMergeableObject(e) && ut(e).forEach(function(i) {
|
|
148
|
+
n[i] = pe(e[i], r);
|
|
149
|
+
}), ut(t).forEach(function(i) {
|
|
150
|
+
ln(e, i) || (Gt(e, i) && r.isMergeableObject(t[i]) ? n[i] = an(i, r)(e[i], t[i], r) : n[i] = pe(t[i], r));
|
|
123
151
|
}), n;
|
|
124
152
|
}
|
|
125
153
|
function ee(e, t, r) {
|
|
126
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
154
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || on, r.isMergeableObject = r.isMergeableObject || Yr, r.cloneUnlessOtherwiseSpecified = pe;
|
|
127
155
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
128
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
156
|
+
return o ? n ? r.arrayMerge(e, t, r) : cn(e, t, r) : pe(t, r);
|
|
129
157
|
}
|
|
130
158
|
ee.all = function(t, r) {
|
|
131
159
|
if (!Array.isArray(t))
|
|
@@ -134,8 +162,22 @@ ee.all = function(t, r) {
|
|
|
134
162
|
return ee(n, i, r);
|
|
135
163
|
}, {});
|
|
136
164
|
};
|
|
137
|
-
var
|
|
138
|
-
const
|
|
165
|
+
var un = ee, hn = un;
|
|
166
|
+
const dn = /* @__PURE__ */ Qr(hn);
|
|
167
|
+
/*! *****************************************************************************
|
|
168
|
+
Copyright (c) Microsoft Corporation.
|
|
169
|
+
|
|
170
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
171
|
+
purpose with or without fee is hereby granted.
|
|
172
|
+
|
|
173
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
174
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
175
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
176
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
177
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
178
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
179
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
180
|
+
***************************************************************************** */
|
|
139
181
|
var Ge = function(e, t) {
|
|
140
182
|
return Ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
141
183
|
r.__proto__ = n;
|
|
@@ -153,17 +195,17 @@ function He(e, t) {
|
|
|
153
195
|
}
|
|
154
196
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
155
197
|
}
|
|
156
|
-
var
|
|
157
|
-
return
|
|
198
|
+
var H = function() {
|
|
199
|
+
return H = Object.assign || function(t) {
|
|
158
200
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
159
201
|
r = arguments[n];
|
|
160
202
|
for (var o in r)
|
|
161
203
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
162
204
|
}
|
|
163
205
|
return t;
|
|
164
|
-
},
|
|
206
|
+
}, H.apply(this, arguments);
|
|
165
207
|
};
|
|
166
|
-
function
|
|
208
|
+
function mn(e, t) {
|
|
167
209
|
var r = {};
|
|
168
210
|
for (var n in e)
|
|
169
211
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -173,42 +215,45 @@ function nn(e, t) {
|
|
|
173
215
|
return r;
|
|
174
216
|
}
|
|
175
217
|
function Ie(e, t, r) {
|
|
176
|
-
if (
|
|
218
|
+
if (arguments.length === 2)
|
|
177
219
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
178
220
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
179
|
-
return e.concat(o ||
|
|
221
|
+
return e.concat(o || t);
|
|
180
222
|
}
|
|
181
223
|
function je(e, t) {
|
|
182
|
-
var r = t && t.cache ? t.cache :
|
|
224
|
+
var r = t && t.cache ? t.cache : kn, n = t && t.serializer ? t.serializer : yn, i = t && t.strategy ? t.strategy : gn;
|
|
183
225
|
return i(e, {
|
|
184
226
|
cache: r,
|
|
185
227
|
serializer: n
|
|
186
228
|
});
|
|
187
229
|
}
|
|
188
|
-
function
|
|
230
|
+
function pn(e) {
|
|
189
231
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
190
232
|
}
|
|
191
|
-
function
|
|
192
|
-
var i =
|
|
193
|
-
return typeof o
|
|
233
|
+
function Ft(e, t, r, n) {
|
|
234
|
+
var i = pn(n) ? n : r(n), o = t.get(i);
|
|
235
|
+
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
194
236
|
}
|
|
195
|
-
function
|
|
237
|
+
function Vt(e, t, r) {
|
|
196
238
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
197
|
-
return typeof o
|
|
239
|
+
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
198
240
|
}
|
|
199
|
-
function
|
|
241
|
+
function $e(e, t, r, n, i) {
|
|
200
242
|
return r.bind(t, e, n, i);
|
|
201
243
|
}
|
|
202
|
-
function
|
|
203
|
-
var r = e.length === 1 ?
|
|
204
|
-
return
|
|
244
|
+
function gn(e, t) {
|
|
245
|
+
var r = e.length === 1 ? Ft : Vt;
|
|
246
|
+
return $e(e, this, r, t.cache.create(), t.serializer);
|
|
205
247
|
}
|
|
206
|
-
function
|
|
207
|
-
return
|
|
248
|
+
function fn(e, t) {
|
|
249
|
+
return $e(e, this, Vt, t.cache.create(), t.serializer);
|
|
250
|
+
}
|
|
251
|
+
function _n(e, t) {
|
|
252
|
+
return $e(e, this, Ft, t.cache.create(), t.serializer);
|
|
208
253
|
}
|
|
209
|
-
var
|
|
254
|
+
var yn = function() {
|
|
210
255
|
return JSON.stringify(arguments);
|
|
211
|
-
},
|
|
256
|
+
}, vn = (
|
|
212
257
|
/** @class */
|
|
213
258
|
function() {
|
|
214
259
|
function e() {
|
|
@@ -220,71 +265,62 @@ var cn = function() {
|
|
|
220
265
|
this.cache[t] = r;
|
|
221
266
|
}, e;
|
|
222
267
|
}()
|
|
223
|
-
),
|
|
268
|
+
), kn = {
|
|
224
269
|
create: function() {
|
|
225
|
-
return new
|
|
270
|
+
return new vn();
|
|
226
271
|
}
|
|
227
272
|
}, Le = {
|
|
228
|
-
variadic:
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
232
|
-
r = arguments[n];
|
|
233
|
-
for (var o in r)
|
|
234
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
235
|
-
}
|
|
236
|
-
return t;
|
|
237
|
-
}, Me.apply(this, arguments);
|
|
238
|
-
};
|
|
239
|
-
var w;
|
|
273
|
+
variadic: fn,
|
|
274
|
+
monadic: _n
|
|
275
|
+
}, w;
|
|
240
276
|
(function(e) {
|
|
241
277
|
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";
|
|
242
278
|
})(w || (w = {}));
|
|
243
|
-
var
|
|
279
|
+
var B;
|
|
244
280
|
(function(e) {
|
|
245
281
|
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";
|
|
246
|
-
})(
|
|
282
|
+
})(B || (B = {}));
|
|
247
283
|
var te;
|
|
248
284
|
(function(e) {
|
|
249
285
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
250
286
|
})(te || (te = {}));
|
|
251
|
-
function
|
|
252
|
-
return e.type ===
|
|
287
|
+
function ht(e) {
|
|
288
|
+
return e.type === B.literal;
|
|
253
289
|
}
|
|
254
|
-
function
|
|
255
|
-
return e.type ===
|
|
290
|
+
function bn(e) {
|
|
291
|
+
return e.type === B.argument;
|
|
256
292
|
}
|
|
257
|
-
function
|
|
258
|
-
return e.type ===
|
|
293
|
+
function Xt(e) {
|
|
294
|
+
return e.type === B.number;
|
|
259
295
|
}
|
|
260
|
-
function
|
|
261
|
-
return e.type ===
|
|
296
|
+
function qt(e) {
|
|
297
|
+
return e.type === B.date;
|
|
262
298
|
}
|
|
263
|
-
function
|
|
264
|
-
return e.type ===
|
|
299
|
+
function Wt(e) {
|
|
300
|
+
return e.type === B.time;
|
|
265
301
|
}
|
|
266
|
-
function
|
|
267
|
-
return e.type ===
|
|
302
|
+
function Zt(e) {
|
|
303
|
+
return e.type === B.select;
|
|
268
304
|
}
|
|
269
|
-
function
|
|
270
|
-
return e.type ===
|
|
305
|
+
function Jt(e) {
|
|
306
|
+
return e.type === B.plural;
|
|
271
307
|
}
|
|
272
|
-
function
|
|
273
|
-
return e.type ===
|
|
308
|
+
function En(e) {
|
|
309
|
+
return e.type === B.pound;
|
|
274
310
|
}
|
|
275
|
-
function
|
|
276
|
-
return e.type ===
|
|
311
|
+
function Qt(e) {
|
|
312
|
+
return e.type === B.tag;
|
|
277
313
|
}
|
|
278
|
-
function
|
|
314
|
+
function Yt(e) {
|
|
279
315
|
return !!(e && typeof e == "object" && e.type === te.number);
|
|
280
316
|
}
|
|
281
317
|
function Fe(e) {
|
|
282
318
|
return !!(e && typeof e == "object" && e.type === te.dateTime);
|
|
283
319
|
}
|
|
284
|
-
var
|
|
285
|
-
function
|
|
320
|
+
var Kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Cn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
321
|
+
function Sn(e) {
|
|
286
322
|
var t = {};
|
|
287
|
-
return e.replace(
|
|
323
|
+
return e.replace(Cn, function(r) {
|
|
288
324
|
var n = r.length;
|
|
289
325
|
switch (r[0]) {
|
|
290
326
|
case "G":
|
|
@@ -373,21 +409,11 @@ function gn(e) {
|
|
|
373
409
|
return "";
|
|
374
410
|
}), t;
|
|
375
411
|
}
|
|
376
|
-
var
|
|
377
|
-
|
|
378
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
379
|
-
r = arguments[n];
|
|
380
|
-
for (var o in r)
|
|
381
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
382
|
-
}
|
|
383
|
-
return t;
|
|
384
|
-
}, z.apply(this, arguments);
|
|
385
|
-
};
|
|
386
|
-
var fn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
387
|
-
function _n(e) {
|
|
412
|
+
var xn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
413
|
+
function Mn(e) {
|
|
388
414
|
if (e.length === 0)
|
|
389
415
|
throw new Error("Number skeleton cannot be empty");
|
|
390
|
-
for (var t = e.split(
|
|
416
|
+
for (var t = e.split(xn).filter(function(m) {
|
|
391
417
|
return m.length > 0;
|
|
392
418
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
393
419
|
var o = i[n], a = o.split("/");
|
|
@@ -402,17 +428,17 @@ function _n(e) {
|
|
|
402
428
|
}
|
|
403
429
|
return r;
|
|
404
430
|
}
|
|
405
|
-
function
|
|
431
|
+
function Tn(e) {
|
|
406
432
|
return e.replace(/^(.*?)-/, "");
|
|
407
433
|
}
|
|
408
|
-
var
|
|
409
|
-
function
|
|
434
|
+
var dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, $t = /^(@+)?(\+|#+)?[rs]?$/g, wn = /(\*)(0+)|(#+)(0+)|(0+)/g, er = /^(0+)$/;
|
|
435
|
+
function mt(e) {
|
|
410
436
|
var t = {};
|
|
411
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
437
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace($t, function(r, n, i) {
|
|
412
438
|
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)), "";
|
|
413
439
|
}), t;
|
|
414
440
|
}
|
|
415
|
-
function
|
|
441
|
+
function tr(e) {
|
|
416
442
|
switch (e) {
|
|
417
443
|
case "sign-auto":
|
|
418
444
|
return {
|
|
@@ -452,7 +478,7 @@ function Yt(e) {
|
|
|
452
478
|
};
|
|
453
479
|
}
|
|
454
480
|
}
|
|
455
|
-
function
|
|
481
|
+
function Nn(e) {
|
|
456
482
|
var t;
|
|
457
483
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
458
484
|
notation: "engineering"
|
|
@@ -460,17 +486,17 @@ function kn(e) {
|
|
|
460
486
|
notation: "scientific"
|
|
461
487
|
}, e = e.slice(1)), t) {
|
|
462
488
|
var r = e.slice(0, 2);
|
|
463
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
489
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !er.test(e))
|
|
464
490
|
throw new Error("Malformed concise eng/scientific notation");
|
|
465
491
|
t.minimumIntegerDigits = e.length;
|
|
466
492
|
}
|
|
467
493
|
return t;
|
|
468
494
|
}
|
|
469
|
-
function
|
|
470
|
-
var t = {}, r =
|
|
495
|
+
function pt(e) {
|
|
496
|
+
var t = {}, r = tr(e);
|
|
471
497
|
return r || t;
|
|
472
498
|
}
|
|
473
|
-
function
|
|
499
|
+
function An(e) {
|
|
474
500
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
475
501
|
var i = n[r];
|
|
476
502
|
switch (i.stem) {
|
|
@@ -494,7 +520,7 @@ function bn(e) {
|
|
|
494
520
|
continue;
|
|
495
521
|
case "measure-unit":
|
|
496
522
|
case "unit":
|
|
497
|
-
t.style = "unit", t.unit =
|
|
523
|
+
t.style = "unit", t.unit = Tn(i.options[0]);
|
|
498
524
|
continue;
|
|
499
525
|
case "compact-short":
|
|
500
526
|
case "K":
|
|
@@ -505,13 +531,13 @@ function bn(e) {
|
|
|
505
531
|
t.notation = "compact", t.compactDisplay = "long";
|
|
506
532
|
continue;
|
|
507
533
|
case "scientific":
|
|
508
|
-
t =
|
|
509
|
-
return
|
|
534
|
+
t = H(H(H({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
535
|
+
return H(H({}, h), pt(u));
|
|
510
536
|
}, {}));
|
|
511
537
|
continue;
|
|
512
538
|
case "engineering":
|
|
513
|
-
t =
|
|
514
|
-
return
|
|
539
|
+
t = H(H(H({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
540
|
+
return H(H({}, h), pt(u));
|
|
515
541
|
}, {}));
|
|
516
542
|
continue;
|
|
517
543
|
case "notation-simple":
|
|
@@ -556,7 +582,7 @@ function bn(e) {
|
|
|
556
582
|
case "integer-width":
|
|
557
583
|
if (i.options.length > 1)
|
|
558
584
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
559
|
-
i.options[0].replace(
|
|
585
|
+
i.options[0].replace(wn, function(h, u, l, d, m, v) {
|
|
560
586
|
if (u)
|
|
561
587
|
t.minimumIntegerDigits = l.length;
|
|
562
588
|
else {
|
|
@@ -569,32 +595,32 @@ function bn(e) {
|
|
|
569
595
|
});
|
|
570
596
|
continue;
|
|
571
597
|
}
|
|
572
|
-
if (
|
|
598
|
+
if (er.test(i.stem)) {
|
|
573
599
|
t.minimumIntegerDigits = i.stem.length;
|
|
574
600
|
continue;
|
|
575
601
|
}
|
|
576
|
-
if (
|
|
602
|
+
if (dt.test(i.stem)) {
|
|
577
603
|
if (i.options.length > 1)
|
|
578
604
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
579
|
-
i.stem.replace(
|
|
605
|
+
i.stem.replace(dt, function(h, u, l, d, m, v) {
|
|
580
606
|
return l === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : m && v ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + v.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
581
607
|
});
|
|
582
608
|
var o = i.options[0];
|
|
583
|
-
o === "w" ? t =
|
|
609
|
+
o === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = H(H({}, t), mt(o)));
|
|
584
610
|
continue;
|
|
585
611
|
}
|
|
586
|
-
if (
|
|
587
|
-
t =
|
|
612
|
+
if ($t.test(i.stem)) {
|
|
613
|
+
t = H(H({}, t), mt(i.stem));
|
|
588
614
|
continue;
|
|
589
615
|
}
|
|
590
|
-
var a =
|
|
591
|
-
a && (t =
|
|
592
|
-
var s =
|
|
593
|
-
s && (t =
|
|
616
|
+
var a = tr(i.stem);
|
|
617
|
+
a && (t = H(H({}, t), a));
|
|
618
|
+
var s = Nn(i.stem);
|
|
619
|
+
s && (t = H(H({}, t), s));
|
|
594
620
|
}
|
|
595
621
|
return t;
|
|
596
622
|
}
|
|
597
|
-
var
|
|
623
|
+
var xe = {
|
|
598
624
|
"001": [
|
|
599
625
|
"H",
|
|
600
626
|
"h"
|
|
@@ -2009,13 +2035,13 @@ var Se = {
|
|
|
2009
2035
|
"h"
|
|
2010
2036
|
]
|
|
2011
2037
|
};
|
|
2012
|
-
function
|
|
2038
|
+
function Hn(e, t) {
|
|
2013
2039
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2014
2040
|
var i = e.charAt(n);
|
|
2015
2041
|
if (i === "j") {
|
|
2016
2042
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2017
2043
|
o++, n++;
|
|
2018
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
|
2044
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Pn(t);
|
|
2019
2045
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
2020
2046
|
r += h;
|
|
2021
2047
|
for (; a-- > 0; )
|
|
@@ -2025,7 +2051,7 @@ function En(e, t) {
|
|
|
2025
2051
|
}
|
|
2026
2052
|
return r;
|
|
2027
2053
|
}
|
|
2028
|
-
function
|
|
2054
|
+
function Pn(e) {
|
|
2029
2055
|
var t = e.hourCycle;
|
|
2030
2056
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2031
2057
|
e.hourCycles && // @ts-ignore
|
|
@@ -2044,23 +2070,23 @@ function Cn(e) {
|
|
|
2044
2070
|
}
|
|
2045
2071
|
var r = e.language, n;
|
|
2046
2072
|
r !== "root" && (n = e.maximize().region);
|
|
2047
|
-
var i =
|
|
2073
|
+
var i = xe[n || ""] || xe[r || ""] || xe["".concat(r, "-001")] || xe["001"];
|
|
2048
2074
|
return i[0];
|
|
2049
2075
|
}
|
|
2050
|
-
var Re,
|
|
2076
|
+
var Re, Bn = new RegExp("^".concat(Kt.source, "*")), zn = new RegExp("".concat(Kt.source, "*$"));
|
|
2051
2077
|
function N(e, t) {
|
|
2052
2078
|
return { start: e, end: t };
|
|
2053
2079
|
}
|
|
2054
|
-
var
|
|
2080
|
+
var On = !!String.prototype.startsWith && "_a".startsWith("a", 1), In = !!String.fromCodePoint, jn = !!Object.fromEntries, Ln = !!String.prototype.codePointAt, Rn = !!String.prototype.trimStart, Un = !!String.prototype.trimEnd, Dn = !!Number.isSafeInteger, Gn = Dn ? Number.isSafeInteger : function(e) {
|
|
2055
2081
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2056
2082
|
}, Ve = !0;
|
|
2057
2083
|
try {
|
|
2058
|
-
var
|
|
2059
|
-
Ve = ((Re =
|
|
2060
|
-
} catch {
|
|
2084
|
+
var Fn = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2085
|
+
Ve = ((Re = Fn.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
|
|
2086
|
+
} catch (e) {
|
|
2061
2087
|
Ve = !1;
|
|
2062
2088
|
}
|
|
2063
|
-
var
|
|
2089
|
+
var gt = On ? (
|
|
2064
2090
|
// Native
|
|
2065
2091
|
function(t, r, n) {
|
|
2066
2092
|
return t.startsWith(r, n);
|
|
@@ -2070,7 +2096,7 @@ var ht = Tn ? (
|
|
|
2070
2096
|
function(t, r, n) {
|
|
2071
2097
|
return t.slice(n, n + r.length) === r;
|
|
2072
2098
|
}
|
|
2073
|
-
), Xe =
|
|
2099
|
+
), Xe = In ? String.fromCodePoint : (
|
|
2074
2100
|
// IE11
|
|
2075
2101
|
function() {
|
|
2076
2102
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2082,9 +2108,9 @@ var ht = Tn ? (
|
|
|
2082
2108
|
}
|
|
2083
2109
|
return n;
|
|
2084
2110
|
}
|
|
2085
|
-
),
|
|
2111
|
+
), ft = (
|
|
2086
2112
|
// native
|
|
2087
|
-
|
|
2113
|
+
jn ? Object.fromEntries : (
|
|
2088
2114
|
// Ponyfill
|
|
2089
2115
|
function(t) {
|
|
2090
2116
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2094,7 +2120,7 @@ var ht = Tn ? (
|
|
|
2094
2120
|
return r;
|
|
2095
2121
|
}
|
|
2096
2122
|
)
|
|
2097
|
-
),
|
|
2123
|
+
), rr = Ln ? (
|
|
2098
2124
|
// Native
|
|
2099
2125
|
function(t, r) {
|
|
2100
2126
|
return t.codePointAt(r);
|
|
@@ -2108,7 +2134,7 @@ var ht = Tn ? (
|
|
|
2108
2134
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
2109
2135
|
}
|
|
2110
2136
|
}
|
|
2111
|
-
),
|
|
2137
|
+
), Vn = Rn ? (
|
|
2112
2138
|
// Native
|
|
2113
2139
|
function(t) {
|
|
2114
2140
|
return t.trimStart();
|
|
@@ -2116,9 +2142,9 @@ var ht = Tn ? (
|
|
|
2116
2142
|
) : (
|
|
2117
2143
|
// Ponyfill
|
|
2118
2144
|
function(t) {
|
|
2119
|
-
return t.replace(
|
|
2145
|
+
return t.replace(Bn, "");
|
|
2120
2146
|
}
|
|
2121
|
-
),
|
|
2147
|
+
), Xn = Un ? (
|
|
2122
2148
|
// Native
|
|
2123
2149
|
function(t) {
|
|
2124
2150
|
return t.trimEnd();
|
|
@@ -2126,32 +2152,32 @@ var ht = Tn ? (
|
|
|
2126
2152
|
) : (
|
|
2127
2153
|
// Ponyfill
|
|
2128
2154
|
function(t) {
|
|
2129
|
-
return t.replace(
|
|
2155
|
+
return t.replace(zn, "");
|
|
2130
2156
|
}
|
|
2131
2157
|
);
|
|
2132
|
-
function
|
|
2158
|
+
function nr(e, t) {
|
|
2133
2159
|
return new RegExp(e, t);
|
|
2134
2160
|
}
|
|
2135
2161
|
var qe;
|
|
2136
2162
|
if (Ve) {
|
|
2137
|
-
var
|
|
2163
|
+
var _t = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2138
2164
|
qe = function(t, r) {
|
|
2139
2165
|
var n;
|
|
2140
|
-
|
|
2141
|
-
var i =
|
|
2166
|
+
_t.lastIndex = r;
|
|
2167
|
+
var i = _t.exec(t);
|
|
2142
2168
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2143
2169
|
};
|
|
2144
2170
|
} else
|
|
2145
2171
|
qe = function(t, r) {
|
|
2146
2172
|
for (var n = []; ; ) {
|
|
2147
|
-
var i =
|
|
2148
|
-
if (i === void 0 ||
|
|
2173
|
+
var i = rr(t, r);
|
|
2174
|
+
if (i === void 0 || ir(i) || Jn(i))
|
|
2149
2175
|
break;
|
|
2150
2176
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2151
2177
|
}
|
|
2152
2178
|
return Xe.apply(void 0, n);
|
|
2153
2179
|
};
|
|
2154
|
-
var
|
|
2180
|
+
var qn = (
|
|
2155
2181
|
/** @class */
|
|
2156
2182
|
function() {
|
|
2157
2183
|
function e(t, r) {
|
|
@@ -2175,7 +2201,7 @@ var jn = (
|
|
|
2175
2201
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
2176
2202
|
var s = this.clonePosition();
|
|
2177
2203
|
this.bump(), i.push({
|
|
2178
|
-
type:
|
|
2204
|
+
type: B.pound,
|
|
2179
2205
|
location: N(s, this.clonePosition())
|
|
2180
2206
|
});
|
|
2181
2207
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
@@ -2203,7 +2229,7 @@ var jn = (
|
|
|
2203
2229
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2204
2230
|
return {
|
|
2205
2231
|
val: {
|
|
2206
|
-
type:
|
|
2232
|
+
type: B.literal,
|
|
2207
2233
|
value: "<".concat(i, "/>"),
|
|
2208
2234
|
location: N(n, this.clonePosition())
|
|
2209
2235
|
},
|
|
@@ -2220,7 +2246,7 @@ var jn = (
|
|
|
2220
2246
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
2221
2247
|
return i !== u ? this.error(w.UNMATCHED_CLOSING_TAG, N(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2222
2248
|
val: {
|
|
2223
|
-
type:
|
|
2249
|
+
type: B.tag,
|
|
2224
2250
|
value: i,
|
|
2225
2251
|
children: a,
|
|
2226
2252
|
location: N(n, this.clonePosition())
|
|
@@ -2233,7 +2259,7 @@ var jn = (
|
|
|
2233
2259
|
return this.error(w.INVALID_TAG, N(n, this.clonePosition()));
|
|
2234
2260
|
}, e.prototype.parseTagName = function() {
|
|
2235
2261
|
var t = this.offset();
|
|
2236
|
-
for (this.bump(); !this.isEOF() &&
|
|
2262
|
+
for (this.bump(); !this.isEOF() && Zn(this.char()); )
|
|
2237
2263
|
this.bump();
|
|
2238
2264
|
return this.message.slice(t, this.offset());
|
|
2239
2265
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2257,12 +2283,12 @@ var jn = (
|
|
|
2257
2283
|
}
|
|
2258
2284
|
var h = N(n, this.clonePosition());
|
|
2259
2285
|
return {
|
|
2260
|
-
val: { type:
|
|
2286
|
+
val: { type: B.literal, value: i, location: h },
|
|
2261
2287
|
err: null
|
|
2262
2288
|
};
|
|
2263
2289
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2264
2290
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2265
|
-
!
|
|
2291
|
+
!Wn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2266
2292
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2267
2293
|
if (this.isEOF() || this.char() !== 39)
|
|
2268
2294
|
return null;
|
|
@@ -2317,7 +2343,7 @@ var jn = (
|
|
|
2317
2343
|
case 125:
|
|
2318
2344
|
return this.bump(), {
|
|
2319
2345
|
val: {
|
|
2320
|
-
type:
|
|
2346
|
+
type: B.argument,
|
|
2321
2347
|
// value does not include the opening and closing braces.
|
|
2322
2348
|
value: i,
|
|
2323
2349
|
location: N(n, this.clonePosition())
|
|
@@ -2349,7 +2375,7 @@ var jn = (
|
|
|
2349
2375
|
var l = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
|
|
2350
2376
|
if (d.err)
|
|
2351
2377
|
return d;
|
|
2352
|
-
var m =
|
|
2378
|
+
var m = Xn(d.val);
|
|
2353
2379
|
if (m.length === 0)
|
|
2354
2380
|
return this.error(w.EXPECT_ARGUMENT_STYLE, N(this.clonePosition(), this.clonePosition()));
|
|
2355
2381
|
var v = N(l, this.clonePosition());
|
|
@@ -2359,25 +2385,25 @@ var jn = (
|
|
|
2359
2385
|
if (f.err)
|
|
2360
2386
|
return f;
|
|
2361
2387
|
var p = N(i, this.clonePosition());
|
|
2362
|
-
if (u &&
|
|
2363
|
-
var C =
|
|
2388
|
+
if (u && gt(u == null ? void 0 : u.style, "::", 0)) {
|
|
2389
|
+
var C = Vn(u.style.slice(2));
|
|
2364
2390
|
if (s === "number") {
|
|
2365
2391
|
var d = this.parseNumberSkeletonFromString(C, u.styleLocation);
|
|
2366
2392
|
return d.err ? d : {
|
|
2367
|
-
val: { type:
|
|
2393
|
+
val: { type: B.number, value: n, location: p, style: d.val },
|
|
2368
2394
|
err: null
|
|
2369
2395
|
};
|
|
2370
2396
|
} else {
|
|
2371
2397
|
if (C.length === 0)
|
|
2372
2398
|
return this.error(w.EXPECT_DATE_TIME_SKELETON, p);
|
|
2373
2399
|
var _ = C;
|
|
2374
|
-
this.locale && (_ =
|
|
2400
|
+
this.locale && (_ = Hn(C, this.locale));
|
|
2375
2401
|
var m = {
|
|
2376
2402
|
type: te.dateTime,
|
|
2377
2403
|
pattern: _,
|
|
2378
2404
|
location: u.styleLocation,
|
|
2379
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2380
|
-
}, y = s === "date" ?
|
|
2405
|
+
parsedOptions: this.shouldParseSkeletons ? Sn(_) : {}
|
|
2406
|
+
}, y = s === "date" ? B.date : B.time;
|
|
2381
2407
|
return {
|
|
2382
2408
|
val: { type: y, value: n, location: p, style: m },
|
|
2383
2409
|
err: null
|
|
@@ -2386,10 +2412,10 @@ var jn = (
|
|
|
2386
2412
|
}
|
|
2387
2413
|
return {
|
|
2388
2414
|
val: {
|
|
2389
|
-
type: s === "number" ?
|
|
2415
|
+
type: s === "number" ? B.number : s === "date" ? B.date : B.time,
|
|
2390
2416
|
value: n,
|
|
2391
2417
|
location: p,
|
|
2392
|
-
style: (o = u
|
|
2418
|
+
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
2393
2419
|
},
|
|
2394
2420
|
err: null
|
|
2395
2421
|
};
|
|
@@ -2399,38 +2425,38 @@ var jn = (
|
|
|
2399
2425
|
case "select": {
|
|
2400
2426
|
var x = this.clonePosition();
|
|
2401
2427
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2402
|
-
return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, N(x,
|
|
2428
|
+
return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, N(x, H({}, x)));
|
|
2403
2429
|
this.bumpSpace();
|
|
2404
|
-
var
|
|
2405
|
-
if (s !== "select" &&
|
|
2430
|
+
var P = this.parseIdentifierIfPossible(), b = 0;
|
|
2431
|
+
if (s !== "select" && P.value === "offset") {
|
|
2406
2432
|
if (!this.bumpIf(":"))
|
|
2407
2433
|
return this.error(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, N(this.clonePosition(), this.clonePosition()));
|
|
2408
2434
|
this.bumpSpace();
|
|
2409
2435
|
var d = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2410
2436
|
if (d.err)
|
|
2411
2437
|
return d;
|
|
2412
|
-
this.bumpSpace(),
|
|
2438
|
+
this.bumpSpace(), P = this.parseIdentifierIfPossible(), b = d.val;
|
|
2413
2439
|
}
|
|
2414
|
-
var
|
|
2415
|
-
if (
|
|
2416
|
-
return
|
|
2440
|
+
var z = this.tryParsePluralOrSelectOptions(t, s, r, P);
|
|
2441
|
+
if (z.err)
|
|
2442
|
+
return z;
|
|
2417
2443
|
var f = this.tryParseArgumentClose(i);
|
|
2418
2444
|
if (f.err)
|
|
2419
2445
|
return f;
|
|
2420
2446
|
var O = N(i, this.clonePosition());
|
|
2421
2447
|
return s === "select" ? {
|
|
2422
2448
|
val: {
|
|
2423
|
-
type:
|
|
2449
|
+
type: B.select,
|
|
2424
2450
|
value: n,
|
|
2425
|
-
options:
|
|
2451
|
+
options: ft(z.val),
|
|
2426
2452
|
location: O
|
|
2427
2453
|
},
|
|
2428
2454
|
err: null
|
|
2429
2455
|
} : {
|
|
2430
2456
|
val: {
|
|
2431
|
-
type:
|
|
2457
|
+
type: B.plural,
|
|
2432
2458
|
value: n,
|
|
2433
|
-
options:
|
|
2459
|
+
options: ft(z.val),
|
|
2434
2460
|
offset: b,
|
|
2435
2461
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
2436
2462
|
location: O
|
|
@@ -2481,8 +2507,8 @@ var jn = (
|
|
|
2481
2507
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
2482
2508
|
var n = [];
|
|
2483
2509
|
try {
|
|
2484
|
-
n =
|
|
2485
|
-
} catch {
|
|
2510
|
+
n = Mn(t);
|
|
2511
|
+
} catch (i) {
|
|
2486
2512
|
return this.error(w.INVALID_NUMBER_SKELETON, r);
|
|
2487
2513
|
}
|
|
2488
2514
|
return {
|
|
@@ -2490,7 +2516,7 @@ var jn = (
|
|
|
2490
2516
|
type: te.number,
|
|
2491
2517
|
tokens: n,
|
|
2492
2518
|
location: r,
|
|
2493
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2519
|
+
parsedOptions: this.shouldParseSkeletons ? An(n) : {}
|
|
2494
2520
|
},
|
|
2495
2521
|
err: null
|
|
2496
2522
|
};
|
|
@@ -2538,7 +2564,7 @@ var jn = (
|
|
|
2538
2564
|
break;
|
|
2539
2565
|
}
|
|
2540
2566
|
var h = N(i, this.clonePosition());
|
|
2541
|
-
return o ? (a *= n,
|
|
2567
|
+
return o ? (a *= n, Gn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
|
|
2542
2568
|
}, e.prototype.offset = function() {
|
|
2543
2569
|
return this.position.offset;
|
|
2544
2570
|
}, e.prototype.isEOF = function() {
|
|
@@ -2553,7 +2579,7 @@ var jn = (
|
|
|
2553
2579
|
var t = this.position.offset;
|
|
2554
2580
|
if (t >= this.message.length)
|
|
2555
2581
|
throw Error("out of bound");
|
|
2556
|
-
var r =
|
|
2582
|
+
var r = rr(this.message, t);
|
|
2557
2583
|
if (r === void 0)
|
|
2558
2584
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
2559
2585
|
return r;
|
|
@@ -2572,7 +2598,7 @@ var jn = (
|
|
|
2572
2598
|
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);
|
|
2573
2599
|
}
|
|
2574
2600
|
}, e.prototype.bumpIf = function(t) {
|
|
2575
|
-
if (
|
|
2601
|
+
if (gt(this.message, t, this.offset())) {
|
|
2576
2602
|
for (var r = 0; r < t.length; r++)
|
|
2577
2603
|
this.bump();
|
|
2578
2604
|
return !0;
|
|
@@ -2594,48 +2620,48 @@ var jn = (
|
|
|
2594
2620
|
break;
|
|
2595
2621
|
}
|
|
2596
2622
|
}, e.prototype.bumpSpace = function() {
|
|
2597
|
-
for (; !this.isEOF() &&
|
|
2623
|
+
for (; !this.isEOF() && ir(this.char()); )
|
|
2598
2624
|
this.bump();
|
|
2599
2625
|
}, e.prototype.peek = function() {
|
|
2600
2626
|
if (this.isEOF())
|
|
2601
2627
|
return null;
|
|
2602
2628
|
var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
|
|
2603
|
-
return n
|
|
2629
|
+
return n != null ? n : null;
|
|
2604
2630
|
}, e;
|
|
2605
2631
|
}()
|
|
2606
2632
|
);
|
|
2607
2633
|
function We(e) {
|
|
2608
2634
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
2609
2635
|
}
|
|
2610
|
-
function
|
|
2636
|
+
function Wn(e) {
|
|
2611
2637
|
return We(e) || e === 47;
|
|
2612
2638
|
}
|
|
2613
|
-
function
|
|
2639
|
+
function Zn(e) {
|
|
2614
2640
|
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;
|
|
2615
2641
|
}
|
|
2616
|
-
function
|
|
2642
|
+
function ir(e) {
|
|
2617
2643
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
2618
2644
|
}
|
|
2619
|
-
function
|
|
2645
|
+
function Jn(e) {
|
|
2620
2646
|
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;
|
|
2621
2647
|
}
|
|
2622
2648
|
function Ze(e) {
|
|
2623
2649
|
e.forEach(function(t) {
|
|
2624
|
-
if (delete t.location,
|
|
2650
|
+
if (delete t.location, Zt(t) || Jt(t))
|
|
2625
2651
|
for (var r in t.options)
|
|
2626
2652
|
delete t.options[r].location, Ze(t.options[r].value);
|
|
2627
2653
|
else
|
|
2628
|
-
|
|
2654
|
+
Xt(t) && Yt(t.style) || (qt(t) || Wt(t)) && Fe(t.style) ? delete t.style.location : Qt(t) && Ze(t.children);
|
|
2629
2655
|
});
|
|
2630
2656
|
}
|
|
2631
|
-
function
|
|
2632
|
-
t === void 0 && (t = {}), t =
|
|
2633
|
-
var r = new
|
|
2657
|
+
function Qn(e, t) {
|
|
2658
|
+
t === void 0 && (t = {}), t = H({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
2659
|
+
var r = new qn(e, t).parse();
|
|
2634
2660
|
if (r.err) {
|
|
2635
2661
|
var n = SyntaxError(w[r.err.kind]);
|
|
2636
2662
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
2637
2663
|
}
|
|
2638
|
-
return t
|
|
2664
|
+
return t != null && t.captureLocation || Ze(r.val), r.val;
|
|
2639
2665
|
}
|
|
2640
2666
|
var re;
|
|
2641
2667
|
(function(e) {
|
|
@@ -2653,7 +2679,7 @@ var Pe = (
|
|
|
2653
2679
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
2654
2680
|
}, t;
|
|
2655
2681
|
}(Error)
|
|
2656
|
-
),
|
|
2682
|
+
), yt = (
|
|
2657
2683
|
/** @class */
|
|
2658
2684
|
function(e) {
|
|
2659
2685
|
He(t, e);
|
|
@@ -2662,7 +2688,7 @@ var Pe = (
|
|
|
2662
2688
|
}
|
|
2663
2689
|
return t;
|
|
2664
2690
|
}(Pe)
|
|
2665
|
-
),
|
|
2691
|
+
), Yn = (
|
|
2666
2692
|
/** @class */
|
|
2667
2693
|
function(e) {
|
|
2668
2694
|
He(t, e);
|
|
@@ -2671,7 +2697,7 @@ var Pe = (
|
|
|
2671
2697
|
}
|
|
2672
2698
|
return t;
|
|
2673
2699
|
}(Pe)
|
|
2674
|
-
),
|
|
2700
|
+
), Kn = (
|
|
2675
2701
|
/** @class */
|
|
2676
2702
|
function(e) {
|
|
2677
2703
|
He(t, e);
|
|
@@ -2684,17 +2710,17 @@ var Pe = (
|
|
|
2684
2710
|
(function(e) {
|
|
2685
2711
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
2686
2712
|
})(D || (D = {}));
|
|
2687
|
-
function
|
|
2713
|
+
function $n(e) {
|
|
2688
2714
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
2689
2715
|
var n = t[t.length - 1];
|
|
2690
2716
|
return !n || n.type !== D.literal || r.type !== D.literal ? t.push(r) : n.value += r.value, t;
|
|
2691
2717
|
}, []);
|
|
2692
2718
|
}
|
|
2693
|
-
function
|
|
2719
|
+
function ei(e) {
|
|
2694
2720
|
return typeof e == "function";
|
|
2695
2721
|
}
|
|
2696
|
-
function
|
|
2697
|
-
if (e.length === 1 &&
|
|
2722
|
+
function Me(e, t, r, n, i, o, a) {
|
|
2723
|
+
if (e.length === 1 && ht(e[0]))
|
|
2698
2724
|
return [
|
|
2699
2725
|
{
|
|
2700
2726
|
type: D.literal,
|
|
@@ -2703,14 +2729,14 @@ function xe(e, t, r, n, i, o, a) {
|
|
|
2703
2729
|
];
|
|
2704
2730
|
for (var s = [], h = 0, u = e; h < u.length; h++) {
|
|
2705
2731
|
var l = u[h];
|
|
2706
|
-
if (
|
|
2732
|
+
if (ht(l)) {
|
|
2707
2733
|
s.push({
|
|
2708
2734
|
type: D.literal,
|
|
2709
2735
|
value: l.value
|
|
2710
2736
|
});
|
|
2711
2737
|
continue;
|
|
2712
2738
|
}
|
|
2713
|
-
if (
|
|
2739
|
+
if (En(l)) {
|
|
2714
2740
|
typeof o == "number" && s.push({
|
|
2715
2741
|
type: D.literal,
|
|
2716
2742
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -2719,16 +2745,16 @@ function xe(e, t, r, n, i, o, a) {
|
|
|
2719
2745
|
}
|
|
2720
2746
|
var d = l.value;
|
|
2721
2747
|
if (!(i && d in i))
|
|
2722
|
-
throw new
|
|
2748
|
+
throw new Kn(d, a);
|
|
2723
2749
|
var m = i[d];
|
|
2724
|
-
if (
|
|
2750
|
+
if (bn(l)) {
|
|
2725
2751
|
(!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), s.push({
|
|
2726
2752
|
type: typeof m == "string" ? D.literal : D.object,
|
|
2727
2753
|
value: m
|
|
2728
2754
|
});
|
|
2729
2755
|
continue;
|
|
2730
2756
|
}
|
|
2731
|
-
if (
|
|
2757
|
+
if (qt(l)) {
|
|
2732
2758
|
var v = typeof l.style == "string" ? n.date[l.style] : Fe(l.style) ? l.style.parsedOptions : void 0;
|
|
2733
2759
|
s.push({
|
|
2734
2760
|
type: D.literal,
|
|
@@ -2736,7 +2762,7 @@ function xe(e, t, r, n, i, o, a) {
|
|
|
2736
2762
|
});
|
|
2737
2763
|
continue;
|
|
2738
2764
|
}
|
|
2739
|
-
if (
|
|
2765
|
+
if (Wt(l)) {
|
|
2740
2766
|
var v = typeof l.style == "string" ? n.time[l.style] : Fe(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
2741
2767
|
s.push({
|
|
2742
2768
|
type: D.literal,
|
|
@@ -2744,19 +2770,19 @@ function xe(e, t, r, n, i, o, a) {
|
|
|
2744
2770
|
});
|
|
2745
2771
|
continue;
|
|
2746
2772
|
}
|
|
2747
|
-
if (
|
|
2748
|
-
var v = typeof l.style == "string" ? n.number[l.style] :
|
|
2773
|
+
if (Xt(l)) {
|
|
2774
|
+
var v = typeof l.style == "string" ? n.number[l.style] : Yt(l.style) ? l.style.parsedOptions : void 0;
|
|
2749
2775
|
v && v.scale && (m = m * (v.scale || 1)), s.push({
|
|
2750
2776
|
type: D.literal,
|
|
2751
2777
|
value: r.getNumberFormat(t, v).format(m)
|
|
2752
2778
|
});
|
|
2753
2779
|
continue;
|
|
2754
2780
|
}
|
|
2755
|
-
if (
|
|
2781
|
+
if (Qt(l)) {
|
|
2756
2782
|
var f = l.children, p = l.value, C = i[p];
|
|
2757
|
-
if (!
|
|
2758
|
-
throw new
|
|
2759
|
-
var _ =
|
|
2783
|
+
if (!ei(C))
|
|
2784
|
+
throw new Yn(p, "function", a);
|
|
2785
|
+
var _ = Me(f, t, r, n, i, o), y = C(_.map(function(b) {
|
|
2760
2786
|
return b.value;
|
|
2761
2787
|
}));
|
|
2762
2788
|
Array.isArray(y) || (y = [y]), s.push.apply(s, y.map(function(b) {
|
|
@@ -2766,40 +2792,40 @@ function xe(e, t, r, n, i, o, a) {
|
|
|
2766
2792
|
};
|
|
2767
2793
|
}));
|
|
2768
2794
|
}
|
|
2769
|
-
if (
|
|
2795
|
+
if (Zt(l)) {
|
|
2770
2796
|
var x = l.options[m] || l.options.other;
|
|
2771
2797
|
if (!x)
|
|
2772
|
-
throw new
|
|
2773
|
-
s.push.apply(s,
|
|
2798
|
+
throw new yt(l.value, m, Object.keys(l.options), a);
|
|
2799
|
+
s.push.apply(s, Me(x.value, t, r, n, i));
|
|
2774
2800
|
continue;
|
|
2775
2801
|
}
|
|
2776
|
-
if (
|
|
2802
|
+
if (Jt(l)) {
|
|
2777
2803
|
var x = l.options["=".concat(m)];
|
|
2778
2804
|
if (!x) {
|
|
2779
2805
|
if (!Intl.PluralRules)
|
|
2780
2806
|
throw new Pe(`Intl.PluralRules is not available in this environment.
|
|
2781
2807
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
2782
2808
|
`, re.MISSING_INTL_API, a);
|
|
2783
|
-
var
|
|
2784
|
-
x = l.options[
|
|
2809
|
+
var P = r.getPluralRules(t, { type: l.pluralType }).select(m - (l.offset || 0));
|
|
2810
|
+
x = l.options[P] || l.options.other;
|
|
2785
2811
|
}
|
|
2786
2812
|
if (!x)
|
|
2787
|
-
throw new
|
|
2788
|
-
s.push.apply(s,
|
|
2813
|
+
throw new yt(l.value, m, Object.keys(l.options), a);
|
|
2814
|
+
s.push.apply(s, Me(x.value, t, r, n, i, m - (l.offset || 0)));
|
|
2789
2815
|
continue;
|
|
2790
2816
|
}
|
|
2791
2817
|
}
|
|
2792
|
-
return
|
|
2818
|
+
return $n(s);
|
|
2793
2819
|
}
|
|
2794
|
-
function
|
|
2795
|
-
return t ?
|
|
2796
|
-
return r[n] =
|
|
2820
|
+
function ti(e, t) {
|
|
2821
|
+
return t ? H(H(H({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
2822
|
+
return r[n] = H(H({}, e[n]), t[n] || {}), r;
|
|
2797
2823
|
}, {})) : e;
|
|
2798
2824
|
}
|
|
2799
|
-
function
|
|
2825
|
+
function ri(e, t) {
|
|
2800
2826
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
2801
|
-
return r[n] =
|
|
2802
|
-
},
|
|
2827
|
+
return r[n] = ti(e[n], t[n]), r;
|
|
2828
|
+
}, H({}, e)) : e;
|
|
2803
2829
|
}
|
|
2804
2830
|
function Ue(e) {
|
|
2805
2831
|
return {
|
|
@@ -2815,7 +2841,7 @@ function Ue(e) {
|
|
|
2815
2841
|
}
|
|
2816
2842
|
};
|
|
2817
2843
|
}
|
|
2818
|
-
function
|
|
2844
|
+
function ni(e) {
|
|
2819
2845
|
return e === void 0 && (e = {
|
|
2820
2846
|
number: {},
|
|
2821
2847
|
dateTime: {},
|
|
@@ -2847,7 +2873,7 @@ function Zn(e) {
|
|
|
2847
2873
|
})
|
|
2848
2874
|
};
|
|
2849
2875
|
}
|
|
2850
|
-
var
|
|
2876
|
+
var ii = (
|
|
2851
2877
|
/** @class */
|
|
2852
2878
|
function() {
|
|
2853
2879
|
function e(t, r, n, i) {
|
|
@@ -2866,7 +2892,7 @@ var Jn = (
|
|
|
2866
2892
|
}, []);
|
|
2867
2893
|
return l.length <= 1 ? l[0] || "" : l;
|
|
2868
2894
|
}, this.formatToParts = function(h) {
|
|
2869
|
-
return
|
|
2895
|
+
return Me(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
|
|
2870
2896
|
}, this.resolvedOptions = function() {
|
|
2871
2897
|
var h;
|
|
2872
2898
|
return {
|
|
@@ -2879,13 +2905,13 @@ var Jn = (
|
|
|
2879
2905
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
2880
2906
|
var a = i || {};
|
|
2881
2907
|
a.formatters;
|
|
2882
|
-
var s =
|
|
2883
|
-
this.ast = e.__parse(t,
|
|
2908
|
+
var s = mn(a, ["formatters"]);
|
|
2909
|
+
this.ast = e.__parse(t, H(H({}, s), { locale: this.resolvedLocale }));
|
|
2884
2910
|
} else
|
|
2885
2911
|
this.ast = t;
|
|
2886
2912
|
if (!Array.isArray(this.ast))
|
|
2887
2913
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
2888
|
-
this.formats =
|
|
2914
|
+
this.formats = ri(e.formats, n), this.formatters = i && i.formatters || ni(this.formatterCache);
|
|
2889
2915
|
}
|
|
2890
2916
|
return Object.defineProperty(e, "defaultLocale", {
|
|
2891
2917
|
get: function() {
|
|
@@ -2894,11 +2920,11 @@ var Jn = (
|
|
|
2894
2920
|
enumerable: !1,
|
|
2895
2921
|
configurable: !0
|
|
2896
2922
|
}), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
|
|
2897
|
-
if (
|
|
2923
|
+
if (typeof Intl.Locale != "undefined") {
|
|
2898
2924
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
2899
2925
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
2900
2926
|
}
|
|
2901
|
-
}, e.__parse =
|
|
2927
|
+
}, e.__parse = Qn, e.formats = {
|
|
2902
2928
|
number: {
|
|
2903
2929
|
integer: {
|
|
2904
2930
|
maximumFractionDigits: 0
|
|
@@ -2959,7 +2985,7 @@ var Jn = (
|
|
|
2959
2985
|
}, e;
|
|
2960
2986
|
}()
|
|
2961
2987
|
);
|
|
2962
|
-
function
|
|
2988
|
+
function oi(e, t) {
|
|
2963
2989
|
if (t == null)
|
|
2964
2990
|
return;
|
|
2965
2991
|
if (t in e)
|
|
@@ -2980,60 +3006,60 @@ function Qn(e, t) {
|
|
|
2980
3006
|
n = void 0;
|
|
2981
3007
|
return n;
|
|
2982
3008
|
}
|
|
2983
|
-
const J = {},
|
|
3009
|
+
const J = {}, ai = (e, t, r) => r && (t in J || (J[t] = {}), e in J[t] || (J[t][e] = r), r), or = (e, t) => {
|
|
2984
3010
|
if (t == null)
|
|
2985
3011
|
return;
|
|
2986
3012
|
if (t in J && e in J[t])
|
|
2987
3013
|
return J[t][e];
|
|
2988
3014
|
const r = Be(t);
|
|
2989
3015
|
for (let n = 0; n < r.length; n++) {
|
|
2990
|
-
const i = r[n], o =
|
|
3016
|
+
const i = r[n], o = li(i, e);
|
|
2991
3017
|
if (o)
|
|
2992
|
-
return
|
|
3018
|
+
return ai(e, t, o);
|
|
2993
3019
|
}
|
|
2994
3020
|
};
|
|
2995
|
-
let
|
|
2996
|
-
const
|
|
2997
|
-
function
|
|
2998
|
-
return
|
|
3021
|
+
let et;
|
|
3022
|
+
const ye = Ae({});
|
|
3023
|
+
function si(e) {
|
|
3024
|
+
return et[e] || null;
|
|
2999
3025
|
}
|
|
3000
|
-
function
|
|
3001
|
-
return e in
|
|
3026
|
+
function ar(e) {
|
|
3027
|
+
return e in et;
|
|
3002
3028
|
}
|
|
3003
|
-
function
|
|
3004
|
-
if (!
|
|
3029
|
+
function li(e, t) {
|
|
3030
|
+
if (!ar(e))
|
|
3005
3031
|
return null;
|
|
3006
|
-
const r =
|
|
3007
|
-
return
|
|
3032
|
+
const r = si(e);
|
|
3033
|
+
return oi(r, t);
|
|
3008
3034
|
}
|
|
3009
|
-
function
|
|
3035
|
+
function ci(e) {
|
|
3010
3036
|
if (e == null)
|
|
3011
3037
|
return;
|
|
3012
3038
|
const t = Be(e);
|
|
3013
3039
|
for (let r = 0; r < t.length; r++) {
|
|
3014
3040
|
const n = t[r];
|
|
3015
|
-
if (
|
|
3041
|
+
if (ar(n))
|
|
3016
3042
|
return n;
|
|
3017
3043
|
}
|
|
3018
3044
|
}
|
|
3019
|
-
function
|
|
3020
|
-
delete J[e],
|
|
3045
|
+
function sr(e, ...t) {
|
|
3046
|
+
delete J[e], ye.update((r) => (r[e] = dn.all([r[e] || {}, ...t]), r));
|
|
3021
3047
|
}
|
|
3022
3048
|
ie(
|
|
3023
|
-
[
|
|
3049
|
+
[ye],
|
|
3024
3050
|
([e]) => Object.keys(e)
|
|
3025
3051
|
);
|
|
3026
|
-
|
|
3052
|
+
ye.subscribe((e) => et = e);
|
|
3027
3053
|
const Te = {};
|
|
3028
|
-
function
|
|
3054
|
+
function ui(e, t) {
|
|
3029
3055
|
Te[e].delete(t), Te[e].size === 0 && delete Te[e];
|
|
3030
3056
|
}
|
|
3031
|
-
function
|
|
3057
|
+
function lr(e) {
|
|
3032
3058
|
return Te[e];
|
|
3033
3059
|
}
|
|
3034
|
-
function
|
|
3060
|
+
function hi(e) {
|
|
3035
3061
|
return Be(e).map((t) => {
|
|
3036
|
-
const r =
|
|
3062
|
+
const r = lr(t);
|
|
3037
3063
|
return [t, r ? [...r] : []];
|
|
3038
3064
|
}).filter(([, t]) => t.length > 0);
|
|
3039
3065
|
}
|
|
@@ -3041,31 +3067,31 @@ function Je(e) {
|
|
|
3041
3067
|
return e == null ? !1 : Be(e).some(
|
|
3042
3068
|
(t) => {
|
|
3043
3069
|
var r;
|
|
3044
|
-
return (r =
|
|
3070
|
+
return (r = lr(t)) == null ? void 0 : r.size;
|
|
3045
3071
|
}
|
|
3046
3072
|
);
|
|
3047
3073
|
}
|
|
3048
|
-
function
|
|
3074
|
+
function di(e, t) {
|
|
3049
3075
|
return Promise.all(
|
|
3050
|
-
t.map((n) => (
|
|
3051
|
-
).then((n) =>
|
|
3076
|
+
t.map((n) => (ui(e, n), n().then((i) => i.default || i)))
|
|
3077
|
+
).then((n) => sr(e, ...n));
|
|
3052
3078
|
}
|
|
3053
|
-
const
|
|
3054
|
-
function
|
|
3079
|
+
const de = {};
|
|
3080
|
+
function cr(e) {
|
|
3055
3081
|
if (!Je(e))
|
|
3056
|
-
return e in
|
|
3057
|
-
const t =
|
|
3058
|
-
return
|
|
3082
|
+
return e in de ? de[e] : Promise.resolve();
|
|
3083
|
+
const t = hi(e);
|
|
3084
|
+
return de[e] = Promise.all(
|
|
3059
3085
|
t.map(
|
|
3060
|
-
([r, n]) =>
|
|
3086
|
+
([r, n]) => di(r, n)
|
|
3061
3087
|
)
|
|
3062
3088
|
).then(() => {
|
|
3063
3089
|
if (Je(e))
|
|
3064
|
-
return
|
|
3065
|
-
delete
|
|
3066
|
-
}),
|
|
3090
|
+
return cr(e);
|
|
3091
|
+
delete de[e];
|
|
3092
|
+
}), de[e];
|
|
3067
3093
|
}
|
|
3068
|
-
const
|
|
3094
|
+
const mi = {
|
|
3069
3095
|
number: {
|
|
3070
3096
|
scientific: { notation: "scientific" },
|
|
3071
3097
|
engineering: { notation: "engineering" },
|
|
@@ -3094,135 +3120,135 @@ const ii = {
|
|
|
3094
3120
|
timeZoneName: "short"
|
|
3095
3121
|
}
|
|
3096
3122
|
}
|
|
3097
|
-
},
|
|
3123
|
+
}, pi = {
|
|
3098
3124
|
fallbackLocale: null,
|
|
3099
3125
|
loadingDelay: 200,
|
|
3100
|
-
formats:
|
|
3126
|
+
formats: mi,
|
|
3101
3127
|
warnOnMissingMessages: !0,
|
|
3102
3128
|
handleMissingMessage: void 0,
|
|
3103
3129
|
ignoreTag: !0
|
|
3104
|
-
},
|
|
3130
|
+
}, gi = pi;
|
|
3105
3131
|
function ne() {
|
|
3106
|
-
return
|
|
3132
|
+
return gi;
|
|
3107
3133
|
}
|
|
3108
3134
|
const De = Ae(!1);
|
|
3109
|
-
var
|
|
3110
|
-
for (var r in t
|
|
3111
|
-
|
|
3112
|
-
if (
|
|
3113
|
-
for (var r of
|
|
3114
|
-
|
|
3135
|
+
var fi = Object.defineProperty, _i = Object.defineProperties, yi = Object.getOwnPropertyDescriptors, vt = Object.getOwnPropertySymbols, vi = Object.prototype.hasOwnProperty, ki = Object.prototype.propertyIsEnumerable, kt = (e, t, r) => t in e ? fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, bi = (e, t) => {
|
|
3136
|
+
for (var r in t)
|
|
3137
|
+
vi.call(t, r) && kt(e, r, t[r]);
|
|
3138
|
+
if (vt)
|
|
3139
|
+
for (var r of vt(t))
|
|
3140
|
+
ki.call(t, r) && kt(e, r, t[r]);
|
|
3115
3141
|
return e;
|
|
3116
|
-
},
|
|
3142
|
+
}, Ei = (e, t) => _i(e, yi(t));
|
|
3117
3143
|
let Qe;
|
|
3118
3144
|
const we = Ae(null);
|
|
3119
|
-
function
|
|
3145
|
+
function bt(e) {
|
|
3120
3146
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3121
3147
|
}
|
|
3122
3148
|
function Be(e, t = ne().fallbackLocale) {
|
|
3123
|
-
const r =
|
|
3124
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3149
|
+
const r = bt(e);
|
|
3150
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...bt(t)])] : r;
|
|
3125
3151
|
}
|
|
3126
3152
|
function Y() {
|
|
3127
|
-
return Qe
|
|
3153
|
+
return Qe != null ? Qe : void 0;
|
|
3128
3154
|
}
|
|
3129
3155
|
we.subscribe((e) => {
|
|
3130
|
-
Qe = e
|
|
3156
|
+
Qe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3131
3157
|
});
|
|
3132
|
-
const
|
|
3133
|
-
if (e &&
|
|
3158
|
+
const Ci = (e) => {
|
|
3159
|
+
if (e && ci(e) && Je(e)) {
|
|
3134
3160
|
const { loadingDelay: t } = ne();
|
|
3135
3161
|
let r;
|
|
3136
|
-
return typeof window
|
|
3162
|
+
return typeof window != "undefined" && Y() != null && t ? r = window.setTimeout(
|
|
3137
3163
|
() => De.set(!0),
|
|
3138
3164
|
t
|
|
3139
|
-
) : De.set(!0),
|
|
3165
|
+
) : De.set(!0), cr(e).then(() => {
|
|
3140
3166
|
we.set(e);
|
|
3141
3167
|
}).finally(() => {
|
|
3142
3168
|
clearTimeout(r), De.set(!1);
|
|
3143
3169
|
});
|
|
3144
3170
|
}
|
|
3145
3171
|
return we.set(e);
|
|
3146
|
-
}, oe =
|
|
3147
|
-
set:
|
|
3148
|
-
}),
|
|
3172
|
+
}, oe = Ei(bi({}, we), {
|
|
3173
|
+
set: Ci
|
|
3174
|
+
}), ze = (e) => {
|
|
3149
3175
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3150
3176
|
return (n) => {
|
|
3151
3177
|
const i = JSON.stringify(n);
|
|
3152
3178
|
return i in t ? t[i] : t[i] = e(n);
|
|
3153
3179
|
};
|
|
3154
3180
|
};
|
|
3155
|
-
var
|
|
3181
|
+
var Si = Object.defineProperty, Ne = Object.getOwnPropertySymbols, ur = Object.prototype.hasOwnProperty, hr = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? Si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
|
|
3156
3182
|
for (var r in t || (t = {}))
|
|
3157
|
-
|
|
3183
|
+
ur.call(t, r) && Et(e, r, t[r]);
|
|
3158
3184
|
if (Ne)
|
|
3159
3185
|
for (var r of Ne(t))
|
|
3160
|
-
|
|
3186
|
+
hr.call(t, r) && Et(e, r, t[r]);
|
|
3161
3187
|
return e;
|
|
3162
3188
|
}, ae = (e, t) => {
|
|
3163
3189
|
var r = {};
|
|
3164
3190
|
for (var n in e)
|
|
3165
|
-
|
|
3191
|
+
ur.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3166
3192
|
if (e != null && Ne)
|
|
3167
3193
|
for (var n of Ne(e))
|
|
3168
|
-
t.indexOf(n) < 0 &&
|
|
3194
|
+
t.indexOf(n) < 0 && hr.call(e, n) && (r[n] = e[n]);
|
|
3169
3195
|
return r;
|
|
3170
3196
|
};
|
|
3171
|
-
const
|
|
3197
|
+
const ge = (e, t) => {
|
|
3172
3198
|
const { formats: r } = ne();
|
|
3173
3199
|
if (e in r && t in r[e])
|
|
3174
3200
|
return r[e][t];
|
|
3175
3201
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3176
|
-
},
|
|
3202
|
+
}, xi = ze(
|
|
3177
3203
|
(e) => {
|
|
3178
3204
|
var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
|
|
3179
3205
|
if (r == null)
|
|
3180
3206
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3181
|
-
return n && (i =
|
|
3207
|
+
return n && (i = ge("number", n)), new Intl.NumberFormat(r, i);
|
|
3182
3208
|
}
|
|
3183
|
-
),
|
|
3209
|
+
), Mi = ze(
|
|
3184
3210
|
(e) => {
|
|
3185
3211
|
var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
|
|
3186
3212
|
if (r == null)
|
|
3187
3213
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3188
|
-
return n ? i =
|
|
3214
|
+
return n ? i = ge("date", n) : Object.keys(i).length === 0 && (i = ge("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3189
3215
|
}
|
|
3190
|
-
),
|
|
3216
|
+
), Ti = ze(
|
|
3191
3217
|
(e) => {
|
|
3192
3218
|
var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
|
|
3193
3219
|
if (r == null)
|
|
3194
3220
|
throw new Error(
|
|
3195
3221
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3196
3222
|
);
|
|
3197
|
-
return n ? i =
|
|
3223
|
+
return n ? i = ge("time", n) : Object.keys(i).length === 0 && (i = ge("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3198
3224
|
}
|
|
3199
|
-
),
|
|
3225
|
+
), wi = (e = {}) => {
|
|
3200
3226
|
var t = e, {
|
|
3201
3227
|
locale: r = Y()
|
|
3202
3228
|
} = t, n = ae(t, [
|
|
3203
3229
|
"locale"
|
|
3204
3230
|
]);
|
|
3205
|
-
return
|
|
3206
|
-
},
|
|
3231
|
+
return xi(tt({ locale: r }, n));
|
|
3232
|
+
}, Ni = (e = {}) => {
|
|
3207
3233
|
var t = e, {
|
|
3208
3234
|
locale: r = Y()
|
|
3209
3235
|
} = t, n = ae(t, [
|
|
3210
3236
|
"locale"
|
|
3211
3237
|
]);
|
|
3212
|
-
return
|
|
3213
|
-
},
|
|
3238
|
+
return Mi(tt({ locale: r }, n));
|
|
3239
|
+
}, Ai = (e = {}) => {
|
|
3214
3240
|
var t = e, {
|
|
3215
3241
|
locale: r = Y()
|
|
3216
3242
|
} = t, n = ae(t, [
|
|
3217
3243
|
"locale"
|
|
3218
3244
|
]);
|
|
3219
|
-
return
|
|
3220
|
-
},
|
|
3245
|
+
return Ti(tt({ locale: r }, n));
|
|
3246
|
+
}, Hi = ze(
|
|
3221
3247
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3222
|
-
(e, t = Y()) => new
|
|
3248
|
+
(e, t = Y()) => new ii(e, t, ne().formats, {
|
|
3223
3249
|
ignoreTag: ne().ignoreTag
|
|
3224
3250
|
})
|
|
3225
|
-
),
|
|
3251
|
+
), Pi = (e, t = {}) => {
|
|
3226
3252
|
var r, n, i, o;
|
|
3227
3253
|
let a = t;
|
|
3228
3254
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -3235,7 +3261,7 @@ const pe = (e, t) => {
|
|
|
3235
3261
|
throw new Error(
|
|
3236
3262
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3237
3263
|
);
|
|
3238
|
-
let l =
|
|
3264
|
+
let l = or(e, h);
|
|
3239
3265
|
if (!l)
|
|
3240
3266
|
l = (o = (i = (n = (r = ne()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
3241
3267
|
else if (typeof l != "string")
|
|
@@ -3246,7 +3272,7 @@ const pe = (e, t) => {
|
|
|
3246
3272
|
return l;
|
|
3247
3273
|
let d = l;
|
|
3248
3274
|
try {
|
|
3249
|
-
d =
|
|
3275
|
+
d = Hi(l, h).format(s);
|
|
3250
3276
|
} catch (m) {
|
|
3251
3277
|
m instanceof Error && console.warn(
|
|
3252
3278
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3254,18 +3280,18 @@ const pe = (e, t) => {
|
|
|
3254
3280
|
);
|
|
3255
3281
|
}
|
|
3256
3282
|
return d;
|
|
3257
|
-
},
|
|
3258
|
-
ie([oe], () =>
|
|
3259
|
-
ie([oe], () =>
|
|
3260
|
-
ie([oe], () =>
|
|
3261
|
-
ie([oe,
|
|
3262
|
-
function
|
|
3263
|
-
|
|
3283
|
+
}, Bi = (e, t) => Ai(t).format(e), zi = (e, t) => Ni(t).format(e), Oi = (e, t) => wi(t).format(e), Ii = (e, t = Y()) => or(e, t), ji = ie([oe, ye], () => Pi);
|
|
3284
|
+
ie([oe], () => Bi);
|
|
3285
|
+
ie([oe], () => zi);
|
|
3286
|
+
ie([oe], () => Oi);
|
|
3287
|
+
ie([oe, ye], () => Ii);
|
|
3288
|
+
function Ct(e, t) {
|
|
3289
|
+
sr(e, t);
|
|
3264
3290
|
}
|
|
3265
|
-
function
|
|
3291
|
+
function Li(e) {
|
|
3266
3292
|
oe.set(e);
|
|
3267
3293
|
}
|
|
3268
|
-
const
|
|
3294
|
+
const St = {
|
|
3269
3295
|
en: {
|
|
3270
3296
|
invalidUrl: "Failed to construct 'URL': Invalid URL",
|
|
3271
3297
|
fetchConsentsError: "Error: Could not fetch consents.",
|
|
@@ -3825,7 +3851,7 @@ const kt = {
|
|
|
3825
3851
|
wrongModalConfig: "Houve um erro na configuração! Nenhum consentimento expirado encontrado."
|
|
3826
3852
|
}
|
|
3827
3853
|
};
|
|
3828
|
-
if (typeof window
|
|
3854
|
+
if (typeof window != "undefined") {
|
|
3829
3855
|
let e = function(t) {
|
|
3830
3856
|
return function(...r) {
|
|
3831
3857
|
try {
|
|
@@ -3837,55 +3863,55 @@ if (typeof window < "u") {
|
|
|
3837
3863
|
}
|
|
3838
3864
|
};
|
|
3839
3865
|
};
|
|
3840
|
-
customElements.define = e(customElements.define), import("./GeneralAnimationLoading-
|
|
3866
|
+
customElements.define = e(customElements.define), import("./GeneralAnimationLoading-DXjp5XQP.js").then((t) => t.G).then(({ default: t }) => {
|
|
3841
3867
|
!customElements.get("general-animation-loading") && customElements.define("general-animation-loading", t.element);
|
|
3842
3868
|
});
|
|
3843
3869
|
}
|
|
3844
|
-
function
|
|
3870
|
+
function Ri(e) {
|
|
3845
3871
|
let t, r;
|
|
3846
3872
|
return {
|
|
3847
3873
|
c() {
|
|
3848
|
-
t =
|
|
3874
|
+
t = lt("svg"), r = lt("path"), E(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"), E(t, "xmlns", "http://www.w3.org/2000/svg"), E(t, "viewBox", "0 0 512 512");
|
|
3849
3875
|
},
|
|
3850
3876
|
m(n, i) {
|
|
3851
|
-
|
|
3877
|
+
j(n, t, i), S(t, r);
|
|
3852
3878
|
},
|
|
3853
|
-
p:
|
|
3854
|
-
i:
|
|
3855
|
-
o:
|
|
3879
|
+
p: q,
|
|
3880
|
+
i: q,
|
|
3881
|
+
o: q,
|
|
3856
3882
|
d(n) {
|
|
3857
|
-
n &&
|
|
3883
|
+
n && L(t);
|
|
3858
3884
|
}
|
|
3859
3885
|
};
|
|
3860
3886
|
}
|
|
3861
|
-
class
|
|
3887
|
+
class Ui extends Rt {
|
|
3862
3888
|
constructor(t) {
|
|
3863
|
-
super(),
|
|
3889
|
+
super(), Ut(this, t, null, Ri, Ye, {});
|
|
3864
3890
|
}
|
|
3865
3891
|
}
|
|
3866
|
-
customElements.define("circle-exclamation-icon",
|
|
3867
|
-
function
|
|
3868
|
-
|
|
3892
|
+
customElements.define("circle-exclamation-icon", Lt(Ui, {}, [], [], !0));
|
|
3893
|
+
function Di(e) {
|
|
3894
|
+
Dr(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}');
|
|
3869
3895
|
}
|
|
3870
|
-
function
|
|
3896
|
+
function xt(e, t, r) {
|
|
3871
3897
|
const n = e.slice();
|
|
3872
3898
|
return n[64] = t[r], n;
|
|
3873
3899
|
}
|
|
3874
|
-
function
|
|
3900
|
+
function Mt(e, t, r) {
|
|
3875
3901
|
const n = e.slice();
|
|
3876
3902
|
return n[61] = t[r], n[62] = t, n[63] = r, n;
|
|
3877
3903
|
}
|
|
3878
|
-
function
|
|
3904
|
+
function Tt(e, t, r) {
|
|
3879
3905
|
const n = e.slice();
|
|
3880
3906
|
return n[64] = t[r], n;
|
|
3881
3907
|
}
|
|
3882
|
-
function
|
|
3908
|
+
function Gi(e) {
|
|
3883
3909
|
let t, r, n = $(
|
|
3884
3910
|
/*playerConsents*/
|
|
3885
3911
|
e[9]
|
|
3886
3912
|
), i = [];
|
|
3887
3913
|
for (let o = 0; o < n.length; o += 1)
|
|
3888
|
-
i[o] =
|
|
3914
|
+
i[o] = wt(xt(e, n, o));
|
|
3889
3915
|
return {
|
|
3890
3916
|
c() {
|
|
3891
3917
|
t = A("div"), r = A("form");
|
|
@@ -3894,7 +3920,7 @@ function Bi(e) {
|
|
|
3894
3920
|
E(r, "class", "checkbox svelte-etk3ty"), E(t, "class", "legacyStyle");
|
|
3895
3921
|
},
|
|
3896
3922
|
m(o, a) {
|
|
3897
|
-
|
|
3923
|
+
j(o, t, a), S(t, r);
|
|
3898
3924
|
for (let s = 0; s < i.length; s += 1)
|
|
3899
3925
|
i[s] && i[s].m(r, null);
|
|
3900
3926
|
e[31](r);
|
|
@@ -3908,8 +3934,8 @@ function Bi(e) {
|
|
|
3908
3934
|
);
|
|
3909
3935
|
let s;
|
|
3910
3936
|
for (s = 0; s < n.length; s += 1) {
|
|
3911
|
-
const h =
|
|
3912
|
-
i[s] ? i[s].p(h, a) : (i[s] =
|
|
3937
|
+
const h = xt(o, n, s);
|
|
3938
|
+
i[s] ? i[s].p(h, a) : (i[s] = wt(h), i[s].c(), i[s].m(r, null));
|
|
3913
3939
|
}
|
|
3914
3940
|
for (; s < i.length; s += 1)
|
|
3915
3941
|
i[s].d(1);
|
|
@@ -3917,11 +3943,11 @@ function Bi(e) {
|
|
|
3917
3943
|
}
|
|
3918
3944
|
},
|
|
3919
3945
|
d(o) {
|
|
3920
|
-
o &&
|
|
3946
|
+
o && L(t), Ke(i, o), e[31](null);
|
|
3921
3947
|
}
|
|
3922
3948
|
};
|
|
3923
3949
|
}
|
|
3924
|
-
function
|
|
3950
|
+
function Fi(e) {
|
|
3925
3951
|
let t = (
|
|
3926
3952
|
/*$_*/
|
|
3927
3953
|
e[16]("title") || /*$_*/
|
|
@@ -3929,29 +3955,29 @@ function Oi(e) {
|
|
|
3929
3955
|
), r, n, i, o = (
|
|
3930
3956
|
/*$_*/
|
|
3931
3957
|
(e[16]("saveButtonContent") || "Save Consents") + ""
|
|
3932
|
-
), a, s, h, u, l, d = t &&
|
|
3958
|
+
), a, s, h, u, l, d = t && Nt(e), m = $(
|
|
3933
3959
|
/*consentsCategories*/
|
|
3934
3960
|
e[8]
|
|
3935
3961
|
), v = [];
|
|
3936
3962
|
for (let p = 0; p < m.length; p += 1)
|
|
3937
|
-
v[p] =
|
|
3963
|
+
v[p] = Ot(Mt(e, m, p));
|
|
3938
3964
|
let f = (
|
|
3939
3965
|
/*errorMessage*/
|
|
3940
|
-
e[6] &&
|
|
3966
|
+
e[6] && It(e)
|
|
3941
3967
|
);
|
|
3942
3968
|
return {
|
|
3943
3969
|
c() {
|
|
3944
3970
|
d && d.c(), r = G();
|
|
3945
3971
|
for (let p = 0; p < v.length; p += 1)
|
|
3946
3972
|
v[p].c();
|
|
3947
|
-
n = G(), i = A("button"), s = G(), f && f.c(), h =
|
|
3973
|
+
n = G(), i = A("button"), s = G(), f && f.c(), h = Zr(), E(i, "class", "SaveConsentsButton svelte-etk3ty"), i.disabled = a = !/*isValid*/
|
|
3948
3974
|
e[14];
|
|
3949
3975
|
},
|
|
3950
3976
|
m(p, C) {
|
|
3951
|
-
d && d.m(p, C),
|
|
3977
|
+
d && d.m(p, C), j(p, r, C);
|
|
3952
3978
|
for (let _ = 0; _ < v.length; _ += 1)
|
|
3953
3979
|
v[_] && v[_].m(p, C);
|
|
3954
|
-
|
|
3980
|
+
j(p, n, C), j(p, i, C), i.innerHTML = o, j(p, s, C), f && f.m(p, C), j(p, h, C), u || (l = me(
|
|
3955
3981
|
i,
|
|
3956
3982
|
"click",
|
|
3957
3983
|
/*saveChanges*/
|
|
@@ -3962,7 +3988,7 @@ function Oi(e) {
|
|
|
3962
3988
|
if (C[0] & /*$_*/
|
|
3963
3989
|
65536 && (t = /*$_*/
|
|
3964
3990
|
p[16]("title") || /*$_*/
|
|
3965
|
-
p[16]("description")), t ? d ? d.p(p, C) : (d =
|
|
3991
|
+
p[16]("description")), t ? d ? d.p(p, C) : (d = Nt(p), d.c(), d.m(r.parentNode, r)) : d && (d.d(1), d = null), C[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, $_, displayconsentdescription, categoryToggle, toggleCategoryConsents*/
|
|
3966
3992
|
867088) {
|
|
3967
3993
|
m = $(
|
|
3968
3994
|
/*consentsCategories*/
|
|
@@ -3970,8 +3996,8 @@ function Oi(e) {
|
|
|
3970
3996
|
);
|
|
3971
3997
|
let _;
|
|
3972
3998
|
for (_ = 0; _ < m.length; _ += 1) {
|
|
3973
|
-
const y =
|
|
3974
|
-
v[_] ? v[_].p(y, C) : (v[_] =
|
|
3999
|
+
const y = Mt(p, m, _);
|
|
4000
|
+
v[_] ? v[_].p(y, C) : (v[_] = Ot(y), v[_].c(), v[_].m(n.parentNode, n));
|
|
3975
4001
|
}
|
|
3976
4002
|
for (; _ < v.length; _ += 1)
|
|
3977
4003
|
v[_].d(1);
|
|
@@ -3982,14 +4008,14 @@ function Oi(e) {
|
|
|
3982
4008
|
(p[16]("saveButtonContent") || "Save Consents") + "") && (i.innerHTML = o), C[0] & /*isValid*/
|
|
3983
4009
|
16384 && a !== (a = !/*isValid*/
|
|
3984
4010
|
p[14]) && (i.disabled = a), /*errorMessage*/
|
|
3985
|
-
p[6] ? f ? f.p(p, C) : (f =
|
|
4011
|
+
p[6] ? f ? f.p(p, C) : (f = It(p), f.c(), f.m(h.parentNode, h)) : f && (f.d(1), f = null);
|
|
3986
4012
|
},
|
|
3987
4013
|
d(p) {
|
|
3988
|
-
p && (
|
|
4014
|
+
p && (L(r), L(n), L(i), L(s), L(h)), d && d.d(p), Ke(v, p), f && f.d(p), u = !1, l();
|
|
3989
4015
|
}
|
|
3990
4016
|
};
|
|
3991
4017
|
}
|
|
3992
|
-
function
|
|
4018
|
+
function Vi(e) {
|
|
3993
4019
|
let t, r, n;
|
|
3994
4020
|
return {
|
|
3995
4021
|
c() {
|
|
@@ -3999,22 +4025,22 @@ function zi(e) {
|
|
|
3999
4025
|
), E(r, "class", "ErrorMessage svelte-etk3ty"), E(t, "class", "ContainerCenter svelte-etk3ty");
|
|
4000
4026
|
},
|
|
4001
4027
|
m(i, o) {
|
|
4002
|
-
|
|
4028
|
+
j(i, t, o), S(t, r), S(r, n);
|
|
4003
4029
|
},
|
|
4004
4030
|
p(i, o) {
|
|
4005
4031
|
o[0] & /*fatalError*/
|
|
4006
|
-
128 &&
|
|
4032
|
+
128 && _e(
|
|
4007
4033
|
n,
|
|
4008
4034
|
/*fatalError*/
|
|
4009
4035
|
i[7]
|
|
4010
4036
|
);
|
|
4011
4037
|
},
|
|
4012
4038
|
d(i) {
|
|
4013
|
-
i &&
|
|
4039
|
+
i && L(t);
|
|
4014
4040
|
}
|
|
4015
4041
|
};
|
|
4016
4042
|
}
|
|
4017
|
-
function
|
|
4043
|
+
function Xi(e) {
|
|
4018
4044
|
let t;
|
|
4019
4045
|
return {
|
|
4020
4046
|
c() {
|
|
@@ -4036,7 +4062,7 @@ function Ii(e) {
|
|
|
4036
4062
|
);
|
|
4037
4063
|
},
|
|
4038
4064
|
m(r, n) {
|
|
4039
|
-
|
|
4065
|
+
j(r, t, n);
|
|
4040
4066
|
},
|
|
4041
4067
|
p(r, n) {
|
|
4042
4068
|
n[0] & /*clientstyling*/
|
|
@@ -4060,11 +4086,11 @@ function Ii(e) {
|
|
|
4060
4086
|
);
|
|
4061
4087
|
},
|
|
4062
4088
|
d(r) {
|
|
4063
|
-
r &&
|
|
4089
|
+
r && L(t);
|
|
4064
4090
|
}
|
|
4065
4091
|
};
|
|
4066
4092
|
}
|
|
4067
|
-
function
|
|
4093
|
+
function wt(e) {
|
|
4068
4094
|
let t, r, n, i, o, a, s, h, u = (
|
|
4069
4095
|
/*$_*/
|
|
4070
4096
|
(e[16](`${/*consent*/
|
|
@@ -4074,7 +4100,7 @@ function St(e) {
|
|
|
4074
4100
|
/*consent*/
|
|
4075
4101
|
e[64].mustAccept ? " *" : ""
|
|
4076
4102
|
), d, m, v, f, p, C, _, y, x;
|
|
4077
|
-
function
|
|
4103
|
+
function P(...b) {
|
|
4078
4104
|
return (
|
|
4079
4105
|
/*input_handler_1*/
|
|
4080
4106
|
e[30](
|
|
@@ -4086,68 +4112,68 @@ function St(e) {
|
|
|
4086
4112
|
}
|
|
4087
4113
|
return {
|
|
4088
4114
|
c() {
|
|
4089
|
-
t = A("div"), r = A("input"), o = G(), a = A("label"), s = A("div"), h = new
|
|
4115
|
+
t = A("div"), r = A("input"), o = G(), a = A("label"), s = A("div"), h = new Dt(!1), d = fe(l), v = G(), f = A("small"), C = G(), E(r, "class", "checkbox__input svelte-etk3ty"), E(r, "type", "checkbox"), r.checked = n = /*consent*/
|
|
4090
4116
|
e[64].status === "1", E(r, "id", i = `${/*consent*/
|
|
4091
4117
|
e[64].tagCode}__input`), h.a = d, E(s, "class", "checkbox__label-text svelte-etk3ty"), E(a, "class", "checkbox__label svelte-etk3ty"), E(a, "for", m = `${/*consent*/
|
|
4092
4118
|
e[64].tagCode}__input`), E(f, "class", "checkbox__error-message svelte-etk3ty"), E(f, "id", p = "checkBoxError__" + /*consent*/
|
|
4093
4119
|
e[64].tagCode), E(t, "class", _ = "checkbox__wrapper " + /*consent*/
|
|
4094
4120
|
e[64].tagCode + "__input svelte-etk3ty");
|
|
4095
4121
|
},
|
|
4096
|
-
m(b,
|
|
4097
|
-
|
|
4122
|
+
m(b, z) {
|
|
4123
|
+
j(b, t, z), S(t, r), S(t, o), S(t, a), S(a, s), h.m(u, s), S(s, d), S(t, v), S(t, f), S(t, C), y || (x = me(r, "input", P), y = !0);
|
|
4098
4124
|
},
|
|
4099
|
-
p(b,
|
|
4100
|
-
e = b,
|
|
4125
|
+
p(b, z) {
|
|
4126
|
+
e = b, z[0] & /*playerConsents*/
|
|
4101
4127
|
512 && n !== (n = /*consent*/
|
|
4102
|
-
e[64].status === "1") && (r.checked = n),
|
|
4128
|
+
e[64].status === "1") && (r.checked = n), z[0] & /*playerConsents*/
|
|
4103
4129
|
512 && i !== (i = `${/*consent*/
|
|
4104
|
-
e[64].tagCode}__input`) && E(r, "id", i),
|
|
4130
|
+
e[64].tagCode}__input`) && E(r, "id", i), z[0] & /*$_, playerConsents*/
|
|
4105
4131
|
66048 && u !== (u = /*$_*/
|
|
4106
4132
|
(e[16](`${/*consent*/
|
|
4107
4133
|
e[64].tagCode}__description`) || /*consent*/
|
|
4108
|
-
e[64].tagCode) + "") && h.p(u),
|
|
4134
|
+
e[64].tagCode) + "") && h.p(u), z[0] & /*playerConsents*/
|
|
4109
4135
|
512 && l !== (l = /*consent*/
|
|
4110
|
-
e[64].mustAccept ? " *" : "") &&
|
|
4136
|
+
e[64].mustAccept ? " *" : "") && _e(d, l), z[0] & /*playerConsents*/
|
|
4111
4137
|
512 && m !== (m = `${/*consent*/
|
|
4112
|
-
e[64].tagCode}__input`) && E(a, "for", m),
|
|
4138
|
+
e[64].tagCode}__input`) && E(a, "for", m), z[0] & /*playerConsents*/
|
|
4113
4139
|
512 && p !== (p = "checkBoxError__" + /*consent*/
|
|
4114
|
-
e[64].tagCode) && E(f, "id", p),
|
|
4140
|
+
e[64].tagCode) && E(f, "id", p), z[0] & /*playerConsents*/
|
|
4115
4141
|
512 && _ !== (_ = "checkbox__wrapper " + /*consent*/
|
|
4116
4142
|
e[64].tagCode + "__input svelte-etk3ty") && E(t, "class", _);
|
|
4117
4143
|
},
|
|
4118
4144
|
d(b) {
|
|
4119
|
-
b &&
|
|
4145
|
+
b && L(t), y = !1, x();
|
|
4120
4146
|
}
|
|
4121
4147
|
};
|
|
4122
4148
|
}
|
|
4123
|
-
function
|
|
4149
|
+
function Nt(e) {
|
|
4124
4150
|
let t, r = (
|
|
4125
4151
|
/*$_*/
|
|
4126
4152
|
e[16]("title")
|
|
4127
4153
|
), n, i = (
|
|
4128
4154
|
/*$_*/
|
|
4129
4155
|
e[16]("description")
|
|
4130
|
-
), o = r &&
|
|
4156
|
+
), o = r && At(e), a = i && Ht(e);
|
|
4131
4157
|
return {
|
|
4132
4158
|
c() {
|
|
4133
4159
|
t = A("div"), o && o.c(), n = G(), a && a.c(), E(t, "class", "PlayerConsentsHeader svelte-etk3ty");
|
|
4134
4160
|
},
|
|
4135
4161
|
m(s, h) {
|
|
4136
|
-
|
|
4162
|
+
j(s, t, h), o && o.m(t, null), S(t, n), a && a.m(t, null);
|
|
4137
4163
|
},
|
|
4138
4164
|
p(s, h) {
|
|
4139
4165
|
h[0] & /*$_*/
|
|
4140
4166
|
65536 && (r = /*$_*/
|
|
4141
|
-
s[16]("title")), r ? o ? o.p(s, h) : (o =
|
|
4167
|
+
s[16]("title")), r ? o ? o.p(s, h) : (o = At(s), o.c(), o.m(t, n)) : o && (o.d(1), o = null), h[0] & /*$_*/
|
|
4142
4168
|
65536 && (i = /*$_*/
|
|
4143
|
-
s[16]("description")), i ? a ? a.p(s, h) : (a =
|
|
4169
|
+
s[16]("description")), i ? a ? a.p(s, h) : (a = Ht(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
|
|
4144
4170
|
},
|
|
4145
4171
|
d(s) {
|
|
4146
|
-
s &&
|
|
4172
|
+
s && L(t), o && o.d(), a && a.d();
|
|
4147
4173
|
}
|
|
4148
4174
|
};
|
|
4149
4175
|
}
|
|
4150
|
-
function
|
|
4176
|
+
function At(e) {
|
|
4151
4177
|
let t, r = (
|
|
4152
4178
|
/*$_*/
|
|
4153
4179
|
e[16]("title") + ""
|
|
@@ -4157,19 +4183,19 @@ function Tt(e) {
|
|
|
4157
4183
|
t = A("h2"), n = fe(r), E(t, "class", "PlayerConsentsTitle");
|
|
4158
4184
|
},
|
|
4159
4185
|
m(i, o) {
|
|
4160
|
-
|
|
4186
|
+
j(i, t, o), S(t, n);
|
|
4161
4187
|
},
|
|
4162
4188
|
p(i, o) {
|
|
4163
4189
|
o[0] & /*$_*/
|
|
4164
4190
|
65536 && r !== (r = /*$_*/
|
|
4165
|
-
i[16]("title") + "") &&
|
|
4191
|
+
i[16]("title") + "") && _e(n, r);
|
|
4166
4192
|
},
|
|
4167
4193
|
d(i) {
|
|
4168
|
-
i &&
|
|
4194
|
+
i && L(t);
|
|
4169
4195
|
}
|
|
4170
4196
|
};
|
|
4171
4197
|
}
|
|
4172
|
-
function
|
|
4198
|
+
function Ht(e) {
|
|
4173
4199
|
let t, r = (
|
|
4174
4200
|
/*$_*/
|
|
4175
4201
|
e[16]("description") + ""
|
|
@@ -4179,33 +4205,33 @@ function Mt(e) {
|
|
|
4179
4205
|
t = A("p"), n = fe(r), E(t, "class", "PlayerConsentsDescription");
|
|
4180
4206
|
},
|
|
4181
4207
|
m(i, o) {
|
|
4182
|
-
|
|
4208
|
+
j(i, t, o), S(t, n);
|
|
4183
4209
|
},
|
|
4184
4210
|
p(i, o) {
|
|
4185
4211
|
o[0] & /*$_*/
|
|
4186
4212
|
65536 && r !== (r = /*$_*/
|
|
4187
|
-
i[16]("description") + "") &&
|
|
4213
|
+
i[16]("description") + "") && _e(n, r);
|
|
4188
4214
|
},
|
|
4189
4215
|
d(i) {
|
|
4190
|
-
i &&
|
|
4216
|
+
i && L(t);
|
|
4191
4217
|
}
|
|
4192
4218
|
};
|
|
4193
4219
|
}
|
|
4194
|
-
function
|
|
4220
|
+
function Pt(e) {
|
|
4195
4221
|
let t;
|
|
4196
4222
|
return {
|
|
4197
4223
|
c() {
|
|
4198
4224
|
t = A("sup"), t.textContent = "*", E(t, "class", "ConsentRequired svelte-etk3ty");
|
|
4199
4225
|
},
|
|
4200
4226
|
m(r, n) {
|
|
4201
|
-
|
|
4227
|
+
j(r, t, n);
|
|
4202
4228
|
},
|
|
4203
4229
|
d(r) {
|
|
4204
|
-
r &&
|
|
4230
|
+
r && L(t);
|
|
4205
4231
|
}
|
|
4206
4232
|
};
|
|
4207
4233
|
}
|
|
4208
|
-
function
|
|
4234
|
+
function Bt(e) {
|
|
4209
4235
|
let t, r = (
|
|
4210
4236
|
/*$_*/
|
|
4211
4237
|
(e[16](`${/*consent*/
|
|
@@ -4217,7 +4243,7 @@ function Nt(e) {
|
|
|
4217
4243
|
t = A("p"), E(t, "class", "ConsentDescription svelte-etk3ty");
|
|
4218
4244
|
},
|
|
4219
4245
|
m(n, i) {
|
|
4220
|
-
|
|
4246
|
+
j(n, t, i), t.innerHTML = r;
|
|
4221
4247
|
},
|
|
4222
4248
|
p(n, i) {
|
|
4223
4249
|
i[0] & /*$_, playerConsents, consentsCategories*/
|
|
@@ -4227,11 +4253,11 @@ function Nt(e) {
|
|
|
4227
4253
|
n[64].description) + "") && (t.innerHTML = r);
|
|
4228
4254
|
},
|
|
4229
4255
|
d(n) {
|
|
4230
|
-
n &&
|
|
4256
|
+
n && L(t);
|
|
4231
4257
|
}
|
|
4232
4258
|
};
|
|
4233
4259
|
}
|
|
4234
|
-
function
|
|
4260
|
+
function zt(e) {
|
|
4235
4261
|
let t, r, n, i, o = (
|
|
4236
4262
|
/*$_*/
|
|
4237
4263
|
(e[16](`${/*consent*/
|
|
@@ -4239,24 +4265,24 @@ function At(e) {
|
|
|
4239
4265
|
e[64].friendlyName) + ""
|
|
4240
4266
|
), a, s, h, u, l, d, m, v, f, p, C, _ = (
|
|
4241
4267
|
/*consent*/
|
|
4242
|
-
e[64].mustAccept === !0 &&
|
|
4268
|
+
e[64].mustAccept === !0 && Pt()
|
|
4243
4269
|
), y = (
|
|
4244
4270
|
/*displayconsentdescription*/
|
|
4245
|
-
e[4] === "true" &&
|
|
4271
|
+
e[4] === "true" && Bt(e)
|
|
4246
4272
|
);
|
|
4247
|
-
function x(...
|
|
4273
|
+
function x(...P) {
|
|
4248
4274
|
return (
|
|
4249
4275
|
/*input_handler*/
|
|
4250
4276
|
e[29](
|
|
4251
4277
|
/*consent*/
|
|
4252
4278
|
e[64],
|
|
4253
|
-
...
|
|
4279
|
+
...P
|
|
4254
4280
|
)
|
|
4255
4281
|
);
|
|
4256
4282
|
}
|
|
4257
4283
|
return {
|
|
4258
4284
|
c() {
|
|
4259
|
-
t = A("div"), r = A("div"), n = A("h4"), i = new
|
|
4285
|
+
t = A("div"), r = A("div"), n = A("h4"), i = new Dt(!1), a = G(), _ && _.c(), s = G(), y && y.c(), h = G(), u = A("label"), l = A("input"), v = G(), f = A("span"), i.a = a, E(n, "class", "ConsentName svelte-etk3ty"), E(r, "class", "ConsentContent"), E(l, "type", "checkbox"), l.disabled = d = /*consent*/
|
|
4260
4286
|
e[64].mustAccept === !0 && /*initialConsentsState*/
|
|
4261
4287
|
e[12][
|
|
4262
4288
|
/*consent*/
|
|
@@ -4267,17 +4293,17 @@ function At(e) {
|
|
|
4267
4293
|
e[64].tagCode
|
|
4268
4294
|
], E(l, "class", "svelte-etk3ty"), E(f, "class", "Slider Round svelte-etk3ty"), E(u, "class", "ToggleSwitch svelte-etk3ty"), E(t, "class", "ConsentItem svelte-etk3ty");
|
|
4269
4295
|
},
|
|
4270
|
-
m(
|
|
4271
|
-
|
|
4296
|
+
m(P, b) {
|
|
4297
|
+
j(P, t, b), S(t, r), S(r, n), i.m(o, n), S(n, a), _ && _.m(n, null), S(r, s), y && y.m(r, null), S(t, h), S(t, u), S(u, l), S(u, v), S(u, f), p || (C = me(l, "input", x), p = !0);
|
|
4272
4298
|
},
|
|
4273
|
-
p(
|
|
4274
|
-
e =
|
|
4299
|
+
p(P, b) {
|
|
4300
|
+
e = P, b[0] & /*$_, playerConsents, consentsCategories*/
|
|
4275
4301
|
66304 && o !== (o = /*$_*/
|
|
4276
4302
|
(e[16](`${/*consent*/
|
|
4277
4303
|
e[64].tagCode}__name`) || /*consent*/
|
|
4278
4304
|
e[64].friendlyName) + "") && i.p(o), /*consent*/
|
|
4279
|
-
e[64].mustAccept === !0 ? _ || (_ =
|
|
4280
|
-
e[4] === "true" ? y ? y.p(e, b) : (y =
|
|
4305
|
+
e[64].mustAccept === !0 ? _ || (_ = Pt(), _.c(), _.m(n, null)) : _ && (_.d(1), _ = null), /*displayconsentdescription*/
|
|
4306
|
+
e[4] === "true" ? y ? y.p(e, b) : (y = Bt(e), y.c(), y.m(r, null)) : y && (y.d(1), y = null), b[0] & /*playerConsents, consentsCategories, initialConsentsState*/
|
|
4281
4307
|
4864 && d !== (d = /*consent*/
|
|
4282
4308
|
e[64].mustAccept === !0 && /*initialConsentsState*/
|
|
4283
4309
|
e[12][
|
|
@@ -4290,12 +4316,12 @@ function At(e) {
|
|
|
4290
4316
|
e[64].tagCode
|
|
4291
4317
|
]) && (l.checked = m);
|
|
4292
4318
|
},
|
|
4293
|
-
d(
|
|
4294
|
-
|
|
4319
|
+
d(P) {
|
|
4320
|
+
P && L(t), _ && _.d(), y && y.d(), p = !1, C();
|
|
4295
4321
|
}
|
|
4296
4322
|
};
|
|
4297
4323
|
}
|
|
4298
|
-
function
|
|
4324
|
+
function Ot(e) {
|
|
4299
4325
|
let t, r, n, i = (
|
|
4300
4326
|
/*$_*/
|
|
4301
4327
|
(e[16](`${/*category*/
|
|
@@ -4333,7 +4359,7 @@ function Ht(e) {
|
|
|
4333
4359
|
e[9].filter(C)
|
|
4334
4360
|
), y = [];
|
|
4335
4361
|
for (let x = 0; x < _.length; x += 1)
|
|
4336
|
-
y[x] =
|
|
4362
|
+
y[x] = zt(Tt(e, _, x));
|
|
4337
4363
|
return {
|
|
4338
4364
|
c() {
|
|
4339
4365
|
t = A("div"), r = A("div"), n = A("h3"), o = G(), a = A("label"), s = A("input"), h = G(), u = A("span"), l = G(), d = A("div");
|
|
@@ -4341,8 +4367,8 @@ function Ht(e) {
|
|
|
4341
4367
|
y[x].c();
|
|
4342
4368
|
E(s, "type", "checkbox"), E(s, "class", "svelte-etk3ty"), E(u, "class", "Slider Round svelte-etk3ty"), E(a, "class", "ToggleSwitch Big svelte-etk3ty"), E(r, "class", "AccordionHeader svelte-etk3ty"), E(d, "class", "AccordionContent svelte-etk3ty"), E(t, "class", "AccordionItem svelte-etk3ty");
|
|
4343
4369
|
},
|
|
4344
|
-
m(x,
|
|
4345
|
-
|
|
4370
|
+
m(x, P) {
|
|
4371
|
+
j(x, t, P), S(t, r), S(r, n), n.innerHTML = i, S(r, o), S(r, a), S(a, s), s.checked = /*categoryToggle*/
|
|
4346
4372
|
e[11][
|
|
4347
4373
|
/*category*/
|
|
4348
4374
|
e[61].categoryTagCode
|
|
@@ -4350,21 +4376,21 @@ function Ht(e) {
|
|
|
4350
4376
|
for (let b = 0; b < y.length; b += 1)
|
|
4351
4377
|
y[b] && y[b].m(d, null);
|
|
4352
4378
|
m || (v = [
|
|
4353
|
-
|
|
4354
|
-
|
|
4379
|
+
me(s, "change", f),
|
|
4380
|
+
me(s, "change", p)
|
|
4355
4381
|
], m = !0);
|
|
4356
4382
|
},
|
|
4357
|
-
p(x,
|
|
4358
|
-
if (e = x,
|
|
4383
|
+
p(x, P) {
|
|
4384
|
+
if (e = x, P[0] & /*$_, consentsCategories*/
|
|
4359
4385
|
65792 && i !== (i = /*$_*/
|
|
4360
4386
|
(e[16](`${/*category*/
|
|
4361
4387
|
e[61].categoryTagCode}__category`) || /*category*/
|
|
4362
|
-
e[61].friendlyName) + "") && (n.innerHTML = i),
|
|
4388
|
+
e[61].friendlyName) + "") && (n.innerHTML = i), P[0] & /*categoryToggle, consentsCategories*/
|
|
4363
4389
|
2304 && (s.checked = /*categoryToggle*/
|
|
4364
4390
|
e[11][
|
|
4365
4391
|
/*category*/
|
|
4366
4392
|
e[61].categoryTagCode
|
|
4367
|
-
]),
|
|
4393
|
+
]), P[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, $_, displayconsentdescription*/
|
|
4368
4394
|
602896) {
|
|
4369
4395
|
_ = $(
|
|
4370
4396
|
/*playerConsents*/
|
|
@@ -4372,8 +4398,8 @@ function Ht(e) {
|
|
|
4372
4398
|
);
|
|
4373
4399
|
let b;
|
|
4374
4400
|
for (b = 0; b < _.length; b += 1) {
|
|
4375
|
-
const
|
|
4376
|
-
y[b] ? y[b].p(
|
|
4401
|
+
const z = Tt(e, _, b);
|
|
4402
|
+
y[b] ? y[b].p(z, P) : (y[b] = zt(z), y[b].c(), y[b].m(d, null));
|
|
4377
4403
|
}
|
|
4378
4404
|
for (; b < y.length; b += 1)
|
|
4379
4405
|
y[b].d(1);
|
|
@@ -4381,11 +4407,11 @@ function Ht(e) {
|
|
|
4381
4407
|
}
|
|
4382
4408
|
},
|
|
4383
4409
|
d(x) {
|
|
4384
|
-
x &&
|
|
4410
|
+
x && L(t), Ke(y, x), m = !1, jt(v);
|
|
4385
4411
|
}
|
|
4386
4412
|
};
|
|
4387
4413
|
}
|
|
4388
|
-
function
|
|
4414
|
+
function It(e) {
|
|
4389
4415
|
let t, r, n, i, o;
|
|
4390
4416
|
return {
|
|
4391
4417
|
c() {
|
|
@@ -4395,129 +4421,128 @@ function Pt(e) {
|
|
|
4395
4421
|
), Q(r, "class", "svelte-etk3ty"), E(i, "class", "ErrorMessage svelte-etk3ty"), E(t, "class", "ConsentErrorContainer svelte-etk3ty");
|
|
4396
4422
|
},
|
|
4397
4423
|
m(a, s) {
|
|
4398
|
-
|
|
4424
|
+
j(a, t, s), S(t, r), S(t, n), S(t, i), S(i, o);
|
|
4399
4425
|
},
|
|
4400
4426
|
p(a, s) {
|
|
4401
4427
|
s[0] & /*errorMessage*/
|
|
4402
|
-
64 &&
|
|
4428
|
+
64 && _e(
|
|
4403
4429
|
o,
|
|
4404
4430
|
/*errorMessage*/
|
|
4405
4431
|
a[6]
|
|
4406
4432
|
);
|
|
4407
4433
|
},
|
|
4408
4434
|
d(a) {
|
|
4409
|
-
a &&
|
|
4435
|
+
a && L(t);
|
|
4410
4436
|
}
|
|
4411
4437
|
};
|
|
4412
4438
|
}
|
|
4413
|
-
function
|
|
4439
|
+
function qi(e) {
|
|
4414
4440
|
let t, r;
|
|
4415
4441
|
function n(a, s) {
|
|
4416
4442
|
if (
|
|
4417
4443
|
/*isLoading*/
|
|
4418
4444
|
a[10]
|
|
4419
4445
|
)
|
|
4420
|
-
return
|
|
4446
|
+
return Xi;
|
|
4421
4447
|
if (
|
|
4422
4448
|
/*fatalError*/
|
|
4423
4449
|
a[7]
|
|
4424
4450
|
)
|
|
4425
|
-
return
|
|
4451
|
+
return Vi;
|
|
4426
4452
|
if (
|
|
4427
4453
|
/*session*/
|
|
4428
4454
|
a[0]
|
|
4429
4455
|
)
|
|
4430
|
-
return
|
|
4456
|
+
return Fi;
|
|
4431
4457
|
if (!/*session*/
|
|
4432
4458
|
a[0])
|
|
4433
|
-
return
|
|
4459
|
+
return Gi;
|
|
4434
4460
|
}
|
|
4435
4461
|
let i = n(e), o = i && i(e);
|
|
4436
4462
|
return {
|
|
4437
4463
|
c() {
|
|
4438
|
-
t = A("div"), r = A("div"), o && o.c(), E(r, "class", "ConsentsContainer svelte-etk3ty"), E(t, "class",
|
|
4464
|
+
t = A("div"), r = A("div"), o && o.c(), E(r, "class", "ConsentsContainer svelte-etk3ty"), E(t, "class", Vr("") + " svelte-etk3ty");
|
|
4439
4465
|
},
|
|
4440
4466
|
m(a, s) {
|
|
4441
|
-
|
|
4467
|
+
j(a, t, s), S(t, r), o && o.m(r, null), e[32](r);
|
|
4442
4468
|
},
|
|
4443
4469
|
p(a, s) {
|
|
4444
4470
|
i === (i = n(a)) && o ? o.p(a, s) : (o && o.d(1), o = i && i(a), o && (o.c(), o.m(r, null)));
|
|
4445
4471
|
},
|
|
4446
|
-
i:
|
|
4447
|
-
o:
|
|
4472
|
+
i: q,
|
|
4473
|
+
o: q,
|
|
4448
4474
|
d(a) {
|
|
4449
|
-
a &&
|
|
4475
|
+
a && L(t), o && o.d(), e[32](null);
|
|
4450
4476
|
}
|
|
4451
4477
|
};
|
|
4452
4478
|
}
|
|
4453
|
-
function
|
|
4479
|
+
function Wi(e, t, r) {
|
|
4454
4480
|
let n;
|
|
4455
|
-
|
|
4456
|
-
let { session: i = "" } = t, { userid: o = "" } = t, { endpoint: a = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: u } = t, { lang: l = "en" } = t, { displayconsentdescription: d = "" } = t, { translationurl: m = "" } = t, { modalconsents: v = "false" } = t, f, p = !1, C = !1, _ = "", y = "", x = "",
|
|
4481
|
+
Gr(e, ji, (c) => r(16, n = c));
|
|
4482
|
+
let { session: i = "" } = t, { userid: o = "" } = t, { endpoint: a = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: u } = t, { lang: l = "en" } = t, { displayconsentdescription: d = "" } = t, { translationurl: m = "" } = t, { modalconsents: v = "false" } = t, f, p = !1, C = !1, _ = "", y = "", x = "", P = "", b = [], z = [], O = [], se = !0, ve = !0, F = {}, ke = {}, Z = {}, U = {}, le, be, R = {
|
|
4457
4483
|
none: { key: "0", value: "None" },
|
|
4458
4484
|
accepted: { key: "1", value: "Accepted" },
|
|
4459
4485
|
expired: { key: "2", value: "Expired" },
|
|
4460
4486
|
denied: { key: "3", value: "Denied" },
|
|
4461
4487
|
suspended: { key: "4", value: "Suspended" }
|
|
4462
|
-
},
|
|
4463
|
-
Object.keys(
|
|
4464
|
-
|
|
4488
|
+
}, Ee = !1;
|
|
4489
|
+
Object.keys(St).forEach((c) => {
|
|
4490
|
+
Ct(c, St[c]);
|
|
4465
4491
|
});
|
|
4466
|
-
const
|
|
4467
|
-
|
|
4468
|
-
},
|
|
4492
|
+
const dr = () => {
|
|
4493
|
+
Li(l);
|
|
4494
|
+
}, mr = () => {
|
|
4469
4495
|
let c = new URL(m);
|
|
4470
4496
|
fetch(c.href).then((g) => g.json()).then((g) => {
|
|
4471
|
-
Object.keys(g).forEach((
|
|
4472
|
-
|
|
4497
|
+
Object.keys(g).forEach((T) => {
|
|
4498
|
+
Ct(T, g[T]);
|
|
4473
4499
|
});
|
|
4474
4500
|
}).catch((g) => {
|
|
4475
4501
|
console.log(g);
|
|
4476
4502
|
});
|
|
4477
|
-
},
|
|
4503
|
+
}, pr = () => {
|
|
4478
4504
|
i && (_ = i, C = !0), o && (y = o);
|
|
4479
|
-
},
|
|
4480
|
-
g ? r(7,
|
|
4481
|
-
}, ce =
|
|
4505
|
+
}, Ce = (c, g = !1) => {
|
|
4506
|
+
g ? r(7, P = c) : (kr(), r(6, x = c));
|
|
4507
|
+
}, ce = (c, g, T, k = !1) => he(this, null, function* () {
|
|
4482
4508
|
try {
|
|
4483
|
-
const
|
|
4484
|
-
if (!
|
|
4509
|
+
const M = yield fetch(c, T);
|
|
4510
|
+
if (!M.ok)
|
|
4485
4511
|
throw new Error(n(g));
|
|
4486
|
-
const I =
|
|
4512
|
+
const I = yield M.json();
|
|
4487
4513
|
return C ? I : I.filter((V) => V.showOnRegister === !0);
|
|
4488
|
-
} catch (
|
|
4489
|
-
throw
|
|
4490
|
-
|
|
4514
|
+
} catch (M) {
|
|
4515
|
+
throw Ce(
|
|
4516
|
+
M instanceof TypeError ? n(g) : M.message,
|
|
4491
4517
|
k
|
|
4492
|
-
),
|
|
4518
|
+
), M;
|
|
4493
4519
|
}
|
|
4494
|
-
},
|
|
4520
|
+
}), gr = () => he(this, null, function* () {
|
|
4495
4521
|
try {
|
|
4496
4522
|
let c = [], g = [];
|
|
4497
|
-
if (C ? [c, g] =
|
|
4498
|
-
let k = O.find((
|
|
4499
|
-
k || (k = {
|
|
4500
|
-
...M,
|
|
4523
|
+
if (C ? [c, g] = yield rt() : c = yield rt(), r(10, se = !1), z = [...c], r(8, b = _r(z).sort((T, k) => T.categoryTagCode.localeCompare(k.categoryTagCode))), r(11, F = yr(b)), ke = W({}, F), r(9, O = [...g]), z.forEach((T) => {
|
|
4524
|
+
let k = O.find((M) => M.tagCode === T.tagCode);
|
|
4525
|
+
k || (k = st(W({}, T), {
|
|
4501
4526
|
status: R.denied.value
|
|
4502
|
-
}, O.push(k)), k.description =
|
|
4527
|
+
}), O.push(k)), k.description = T.description, k.orderNumber = T.orderNumber;
|
|
4503
4528
|
}), v === "true") {
|
|
4504
|
-
if (r(9, O = O.filter((
|
|
4529
|
+
if (r(9, O = O.filter((T) => T.status === R.expired.value)), O.length !== 0)
|
|
4505
4530
|
return;
|
|
4506
|
-
|
|
4531
|
+
Ce(n("wrongModalConfig"), !0);
|
|
4507
4532
|
}
|
|
4508
|
-
|
|
4533
|
+
vr();
|
|
4509
4534
|
} catch (c) {
|
|
4510
|
-
throw r(10, se = !1),
|
|
4535
|
+
throw r(10, se = !1), Ce(
|
|
4511
4536
|
c instanceof TypeError ? n("invalidUrl") : c.message,
|
|
4512
4537
|
!0
|
|
4513
4538
|
), c;
|
|
4514
4539
|
}
|
|
4515
|
-
},
|
|
4540
|
+
}), rt = () => he(this, null, function* () {
|
|
4516
4541
|
const c = new URL(`${a}/api/v1/gm/consents`);
|
|
4517
4542
|
if (c.searchParams.append("Status", "Active"), !C)
|
|
4518
|
-
return
|
|
4543
|
+
return yield ce(c.href, "fetchConsentsError", { method: "GET" }, !0);
|
|
4519
4544
|
const g = new URL(`${a}/api/v1/gm/user-consents/${y}`);
|
|
4520
|
-
return
|
|
4545
|
+
return yield Promise.all([
|
|
4521
4546
|
ce(c.href, "fetchConsentsError", { method: "GET" }, !0),
|
|
4522
4547
|
ce(g.href, "fetchPlayerConsentsError", {
|
|
4523
4548
|
method: "GET",
|
|
@@ -4527,63 +4552,63 @@ function Li(e, t, r) {
|
|
|
4527
4552
|
}
|
|
4528
4553
|
})
|
|
4529
4554
|
]);
|
|
4530
|
-
},
|
|
4531
|
-
|
|
4555
|
+
}), fr = () => {
|
|
4556
|
+
Ee = !1;
|
|
4532
4557
|
const c = new URL(`${a}/api/v2/gm/legislation/consents`), g = {
|
|
4533
4558
|
"Content-Type": "application/json",
|
|
4534
4559
|
Accept: "application/json"
|
|
4535
|
-
},
|
|
4536
|
-
fetch(c.href,
|
|
4537
|
-
if (!
|
|
4538
|
-
if (
|
|
4560
|
+
}, T = { method: "GET", headers: g };
|
|
4561
|
+
fetch(c.href, T).then((k) => k.ok ? k.json() : (Ee = !0, k.json().then((M) => (console.error(M), Se(M))))).then((k) => {
|
|
4562
|
+
if (!Ee) {
|
|
4563
|
+
if (z = k, localStorage.getItem("playerConsents")) {
|
|
4539
4564
|
try {
|
|
4540
4565
|
r(9, O = JSON.parse(localStorage.getItem("playerConsents")));
|
|
4541
|
-
} catch (
|
|
4542
|
-
return console.error(
|
|
4566
|
+
} catch (M) {
|
|
4567
|
+
return console.error(M), Se(M);
|
|
4543
4568
|
}
|
|
4544
4569
|
return;
|
|
4545
4570
|
}
|
|
4546
|
-
return r(9, O =
|
|
4547
|
-
id:
|
|
4571
|
+
return r(9, O = z.map((M) => ({
|
|
4572
|
+
id: M.id,
|
|
4548
4573
|
status: R.denied.key,
|
|
4549
|
-
friendlyName:
|
|
4550
|
-
tagCode:
|
|
4574
|
+
friendlyName: M.friendlyName,
|
|
4575
|
+
tagCode: M.tagCode,
|
|
4551
4576
|
selected: null,
|
|
4552
|
-
mustAccept:
|
|
4577
|
+
mustAccept: M.mustAccept
|
|
4553
4578
|
}))), localStorage.setItem("playerConsents", JSON.stringify(O)), O;
|
|
4554
4579
|
}
|
|
4555
|
-
}).catch((k) => (console.error(k),
|
|
4580
|
+
}).catch((k) => (console.error(k), Se(k))).finally(() => {
|
|
4556
4581
|
r(10, se = !1);
|
|
4557
4582
|
});
|
|
4558
|
-
},
|
|
4583
|
+
}, _r = (c) => {
|
|
4559
4584
|
const g = /* @__PURE__ */ new Map();
|
|
4560
|
-
return c.forEach((
|
|
4561
|
-
g.has(
|
|
4585
|
+
return c.forEach((T) => {
|
|
4586
|
+
g.has(T.category.categoryTagCode) || g.set(T.category.categoryTagCode, T.category);
|
|
4562
4587
|
}), Array.from(g.values());
|
|
4563
|
-
},
|
|
4588
|
+
}, yr = (c) => {
|
|
4564
4589
|
const g = localStorage.getItem("categoryToggle" + y);
|
|
4565
4590
|
if (g === null) {
|
|
4566
|
-
const
|
|
4567
|
-
(k,
|
|
4591
|
+
const T = c.reduce(
|
|
4592
|
+
(k, M) => (k[M.categoryTagCode] = !1, k),
|
|
4568
4593
|
{}
|
|
4569
4594
|
);
|
|
4570
|
-
return localStorage.setItem("categoryToggle" + y, JSON.stringify(
|
|
4595
|
+
return localStorage.setItem("categoryToggle" + y, JSON.stringify(T)), T;
|
|
4571
4596
|
} else
|
|
4572
4597
|
return JSON.parse(g);
|
|
4573
|
-
},
|
|
4598
|
+
}, vr = () => {
|
|
4574
4599
|
O.forEach((c) => {
|
|
4575
4600
|
r(12, Z[c.tagCode] = c.status === R.accepted.value, Z);
|
|
4576
|
-
}), r(13, U = {
|
|
4577
|
-
},
|
|
4578
|
-
r(13, U = {
|
|
4579
|
-
},
|
|
4580
|
-
if (!
|
|
4601
|
+
}), r(13, U = W({}, Z));
|
|
4602
|
+
}, kr = () => {
|
|
4603
|
+
r(13, U = W({}, Z)), r(11, F = W({}, ke));
|
|
4604
|
+
}, br = () => he(this, null, function* () {
|
|
4605
|
+
if (!ve)
|
|
4581
4606
|
return;
|
|
4582
|
-
|
|
4607
|
+
ve = !1;
|
|
4583
4608
|
const c = [], g = [];
|
|
4584
4609
|
if (Object.keys(U).forEach((k) => {
|
|
4585
|
-
const
|
|
4586
|
-
U[k] !== Z[k] && (
|
|
4610
|
+
const M = O.find((I) => I.tagCode === k);
|
|
4611
|
+
U[k] !== Z[k] && (M ? c.push({
|
|
4587
4612
|
tagCode: k,
|
|
4588
4613
|
status: U[k] ? R.accepted.value : R.denied.value
|
|
4589
4614
|
}) : g.push({
|
|
@@ -4591,19 +4616,19 @@ function Li(e, t, r) {
|
|
|
4591
4616
|
status: U[k] ? R.accepted.value : R.denied.value
|
|
4592
4617
|
}));
|
|
4593
4618
|
}), !C) {
|
|
4594
|
-
localStorage.setItem("categoryToggle" + y, JSON.stringify(F)),
|
|
4619
|
+
localStorage.setItem("categoryToggle" + y, JSON.stringify(F)), ke = W({}, F), window.postMessage(
|
|
4595
4620
|
{
|
|
4596
4621
|
type: "NewPlayerConsentData",
|
|
4597
4622
|
data: JSON.stringify(g)
|
|
4598
4623
|
},
|
|
4599
4624
|
window.location.href
|
|
4600
|
-
),
|
|
4625
|
+
), ve = !0;
|
|
4601
4626
|
return;
|
|
4602
4627
|
}
|
|
4603
|
-
const
|
|
4628
|
+
const T = new URL(`${a}/api/v1/gm/user-consents/${y}`);
|
|
4604
4629
|
try {
|
|
4605
|
-
const k =
|
|
4606
|
-
g.length > 0 && ce(
|
|
4630
|
+
const k = yield Promise.allSettled([
|
|
4631
|
+
g.length > 0 && ce(T.href, "updateConsentsError", {
|
|
4607
4632
|
method: "POST",
|
|
4608
4633
|
headers: {
|
|
4609
4634
|
"X-SessionId": _,
|
|
@@ -4611,7 +4636,7 @@ function Li(e, t, r) {
|
|
|
4611
4636
|
},
|
|
4612
4637
|
body: JSON.stringify({ userConsents: g })
|
|
4613
4638
|
}),
|
|
4614
|
-
c.length > 0 && ce(
|
|
4639
|
+
c.length > 0 && ce(T.href, "updateConsentsError", {
|
|
4615
4640
|
method: "PATCH",
|
|
4616
4641
|
headers: {
|
|
4617
4642
|
"X-SessionId": _,
|
|
@@ -4620,20 +4645,20 @@ function Li(e, t, r) {
|
|
|
4620
4645
|
body: JSON.stringify({ userConsents: c })
|
|
4621
4646
|
})
|
|
4622
4647
|
]);
|
|
4623
|
-
k.forEach((
|
|
4624
|
-
if (
|
|
4648
|
+
k.forEach((M, I) => {
|
|
4649
|
+
if (M.status === "rejected" || M.value.ok === !1) {
|
|
4625
4650
|
const V = I < g.length ? g[I] : c[I - g.length];
|
|
4626
4651
|
r(13, U[V.tagCode] = Z[V.tagCode], U);
|
|
4627
4652
|
}
|
|
4628
|
-
}), k.every((
|
|
4653
|
+
}), k.every((M) => M.status === "fulfilled") && (localStorage.setItem("categoryToggle" + y, JSON.stringify(F)), ke = W({}, F), window.postMessage(
|
|
4629
4654
|
{
|
|
4630
4655
|
type: "PlayerConsentUpdated",
|
|
4631
4656
|
success: !0
|
|
4632
4657
|
},
|
|
4633
4658
|
window.location.href
|
|
4634
|
-
), r(12, Z = {
|
|
4659
|
+
), r(12, Z = W({}, U)));
|
|
4635
4660
|
} catch (k) {
|
|
4636
|
-
|
|
4661
|
+
Ce(k instanceof TypeError ? n("saveChangesError") : k.message), window.postMessage(
|
|
4637
4662
|
{
|
|
4638
4663
|
type: "PlayerConsentUpdated",
|
|
4639
4664
|
success: !1
|
|
@@ -4641,58 +4666,58 @@ function Li(e, t, r) {
|
|
|
4641
4666
|
window.location.href
|
|
4642
4667
|
);
|
|
4643
4668
|
} finally {
|
|
4644
|
-
|
|
4669
|
+
ve = !0, r(14, le = !1);
|
|
4645
4670
|
}
|
|
4646
|
-
},
|
|
4647
|
-
const g = new URL(`${a}/api/v2/gm/legislation/consents`),
|
|
4671
|
+
}), Er = (c) => {
|
|
4672
|
+
const g = new URL(`${a}/api/v2/gm/legislation/consents`), T = {
|
|
4648
4673
|
"Content-Type": "application/json",
|
|
4649
4674
|
Accept: "application/json"
|
|
4650
4675
|
}, k = {
|
|
4651
4676
|
playerConsents: O,
|
|
4652
4677
|
registrationId: c
|
|
4653
|
-
},
|
|
4678
|
+
}, M = {
|
|
4654
4679
|
method: "POST",
|
|
4655
4680
|
body: JSON.stringify(k),
|
|
4656
|
-
headers:
|
|
4681
|
+
headers: T
|
|
4657
4682
|
};
|
|
4658
|
-
fetch(g.href,
|
|
4659
|
-
I.ok || (
|
|
4660
|
-
}).catch((I) => (console.error(I),
|
|
4683
|
+
fetch(g.href, M).then((I) => {
|
|
4684
|
+
I.ok || (Ee = !0);
|
|
4685
|
+
}).catch((I) => (console.error(I), Se(I))).finally(() => {
|
|
4661
4686
|
r(10, se = !1);
|
|
4662
4687
|
});
|
|
4663
|
-
},
|
|
4688
|
+
}, nt = (c) => {
|
|
4664
4689
|
O.filter((g) => g.category.categoryTagCode === c).forEach((g) => {
|
|
4665
4690
|
g.status = g.status === R.denied.value ? R.accepted.value : R.denied.value, r(13, U[g.tagCode] = F[c] || !1, U);
|
|
4666
|
-
}), r(14, le =
|
|
4667
|
-
},
|
|
4668
|
-
const k = O.find((V) => V.id ===
|
|
4691
|
+
}), r(14, le = it());
|
|
4692
|
+
}, Oe = (c, g, T) => {
|
|
4693
|
+
const k = O.find((V) => V.id === T), M = g ? "value" : "key";
|
|
4669
4694
|
let I;
|
|
4670
4695
|
if (!g && k.mustAccept) {
|
|
4671
|
-
const V = Array.from(
|
|
4696
|
+
const V = Array.from(be.children);
|
|
4672
4697
|
for (const ue of V)
|
|
4673
|
-
if (I = Array.from(ue.children).find((
|
|
4698
|
+
if (I = Array.from(ue.children).find((Br) => Br.getAttribute("id") === `checkBoxError__${k.tagCode}`), I)
|
|
4674
4699
|
break;
|
|
4675
4700
|
}
|
|
4676
|
-
if (k.status === R.accepted[
|
|
4701
|
+
if (k.status === R.accepted[M] ? (k.status = R.denied[M], I && (I.innerHTML = n("requiredError"))) : (k.status = R.accepted[M], I && (I.innerHTML = "")), g) {
|
|
4677
4702
|
r(13, U[k.tagCode] = !U[k.tagCode], U);
|
|
4678
4703
|
const V = O.filter((ue) => ue.category.categoryTagCode === g.categoryTagCode).every((ue) => ue.status !== R.denied.value);
|
|
4679
4704
|
r(11, F[g.categoryTagCode] = V, F);
|
|
4680
4705
|
}
|
|
4681
|
-
|
|
4682
|
-
},
|
|
4683
|
-
let
|
|
4706
|
+
Cr();
|
|
4707
|
+
}, Cr = ((c, g) => {
|
|
4708
|
+
let T;
|
|
4684
4709
|
return function(...k) {
|
|
4685
|
-
const
|
|
4686
|
-
clearTimeout(
|
|
4710
|
+
const M = this;
|
|
4711
|
+
clearTimeout(T), T = setTimeout(
|
|
4687
4712
|
() => {
|
|
4688
|
-
c.apply(
|
|
4713
|
+
c.apply(M, k);
|
|
4689
4714
|
},
|
|
4690
4715
|
g
|
|
4691
4716
|
);
|
|
4692
4717
|
};
|
|
4693
|
-
})(() =>
|
|
4694
|
-
r(14, le =
|
|
4695
|
-
},
|
|
4718
|
+
})(() => Sr(), 500), Sr = () => {
|
|
4719
|
+
r(14, le = it()), i || (window.postMessage({ type: "isConsentsValid", isValid: le }), localStorage.setItem("playerConsents", JSON.stringify(O)));
|
|
4720
|
+
}, it = () => O.filter((g) => O.some((T) => g.tagCode === T.tagCode && T.mustAccept && (g.status === R.denied.key || g.status === R.denied.value))).length === 0, Se = (c) => {
|
|
4696
4721
|
window.postMessage(
|
|
4697
4722
|
{
|
|
4698
4723
|
type: "WidgetNotification",
|
|
@@ -4700,32 +4725,32 @@ function Li(e, t, r) {
|
|
|
4700
4725
|
},
|
|
4701
4726
|
window.location.href
|
|
4702
4727
|
);
|
|
4703
|
-
},
|
|
4704
|
-
c.data && c.data.type !== "setUpPlayerConsents" ||
|
|
4728
|
+
}, xr = (c) => {
|
|
4729
|
+
c.data && c.data.type !== "setUpPlayerConsents" || Er(c.data.registerid);
|
|
4705
4730
|
};
|
|
4706
|
-
|
|
4731
|
+
Fr(() => {
|
|
4707
4732
|
setTimeout(
|
|
4708
4733
|
() => {
|
|
4709
4734
|
r(25, p = !0);
|
|
4710
4735
|
},
|
|
4711
4736
|
50
|
|
4712
4737
|
);
|
|
4713
|
-
const c = (g) =>
|
|
4738
|
+
const c = (g) => xr(g);
|
|
4714
4739
|
return window.addEventListener("message", c), () => {
|
|
4715
4740
|
window.removeEventListener("message", c);
|
|
4716
4741
|
};
|
|
4717
4742
|
});
|
|
4718
|
-
function
|
|
4743
|
+
function Mr(c) {
|
|
4719
4744
|
F[c.categoryTagCode] = this.checked, r(11, F);
|
|
4720
4745
|
}
|
|
4721
|
-
const
|
|
4722
|
-
function
|
|
4723
|
-
|
|
4724
|
-
|
|
4746
|
+
const Tr = (c) => nt(c.categoryTagCode), wr = (c, g) => g.category.categoryTagCode === c.categoryTagCode, Nr = (c, g) => Oe(g, c.category, c.id), Ar = (c, g) => Oe(g, null, c.id);
|
|
4747
|
+
function Hr(c) {
|
|
4748
|
+
ct[c ? "unshift" : "push"](() => {
|
|
4749
|
+
be = c, r(15, be);
|
|
4725
4750
|
});
|
|
4726
4751
|
}
|
|
4727
|
-
function
|
|
4728
|
-
|
|
4752
|
+
function Pr(c) {
|
|
4753
|
+
ct[c ? "unshift" : "push"](() => {
|
|
4729
4754
|
f = c, r(5, f);
|
|
4730
4755
|
});
|
|
4731
4756
|
}
|
|
@@ -4733,13 +4758,13 @@ function Li(e, t, r) {
|
|
|
4733
4758
|
"session" in c && r(0, i = c.session), "userid" in c && r(20, o = c.userid), "endpoint" in c && r(21, a = c.endpoint), "clientstyling" in c && r(1, s = c.clientstyling), "clientstylingurl" in c && r(2, h = c.clientstylingurl), "mbsource" in c && r(3, u = c.mbsource), "lang" in c && r(22, l = c.lang), "displayconsentdescription" in c && r(4, d = c.displayconsentdescription), "translationurl" in c && r(23, m = c.translationurl), "modalconsents" in c && r(24, v = c.modalconsents);
|
|
4734
4759
|
}, e.$$.update = () => {
|
|
4735
4760
|
e.$$.dirty[0] & /*isMounted, session*/
|
|
4736
|
-
33554433 && p && i && (
|
|
4737
|
-
1 && (i ||
|
|
4738
|
-
34 && s && f &&
|
|
4739
|
-
36 && h && f &&
|
|
4740
|
-
40 && f &&
|
|
4741
|
-
4194304 && l &&
|
|
4742
|
-
8388608 && m &&
|
|
4761
|
+
33554433 && p && i && (pr(), gr()), e.$$.dirty[0] & /*session*/
|
|
4762
|
+
1 && (i || fr()), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4763
|
+
34 && s && f && Xr(f, s), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4764
|
+
36 && h && f && qr(f, h), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
4765
|
+
40 && f && Wr(f, `${u}.Style`), e.$$.dirty[0] & /*lang*/
|
|
4766
|
+
4194304 && l && dr(), e.$$.dirty[0] & /*translationurl*/
|
|
4767
|
+
8388608 && m && mr();
|
|
4743
4768
|
}, [
|
|
4744
4769
|
i,
|
|
4745
4770
|
s,
|
|
@@ -4748,7 +4773,7 @@ function Li(e, t, r) {
|
|
|
4748
4773
|
d,
|
|
4749
4774
|
f,
|
|
4750
4775
|
x,
|
|
4751
|
-
|
|
4776
|
+
P,
|
|
4752
4777
|
b,
|
|
4753
4778
|
O,
|
|
4754
4779
|
se,
|
|
@@ -4756,33 +4781,33 @@ function Li(e, t, r) {
|
|
|
4756
4781
|
Z,
|
|
4757
4782
|
U,
|
|
4758
4783
|
le,
|
|
4759
|
-
|
|
4784
|
+
be,
|
|
4760
4785
|
n,
|
|
4761
|
-
|
|
4762
|
-
|
|
4763
|
-
|
|
4786
|
+
br,
|
|
4787
|
+
nt,
|
|
4788
|
+
Oe,
|
|
4764
4789
|
o,
|
|
4765
4790
|
a,
|
|
4766
4791
|
l,
|
|
4767
4792
|
m,
|
|
4768
4793
|
v,
|
|
4769
4794
|
p,
|
|
4770
|
-
Er,
|
|
4771
|
-
Cr,
|
|
4772
|
-
Sr,
|
|
4773
|
-
xr,
|
|
4774
|
-
Tr,
|
|
4775
4795
|
Mr,
|
|
4776
|
-
|
|
4796
|
+
Tr,
|
|
4797
|
+
wr,
|
|
4798
|
+
Nr,
|
|
4799
|
+
Ar,
|
|
4800
|
+
Hr,
|
|
4801
|
+
Pr
|
|
4777
4802
|
];
|
|
4778
4803
|
}
|
|
4779
|
-
class
|
|
4804
|
+
class Zi extends Rt {
|
|
4780
4805
|
constructor(t) {
|
|
4781
|
-
super(),
|
|
4806
|
+
super(), Ut(
|
|
4782
4807
|
this,
|
|
4783
4808
|
t,
|
|
4784
|
-
|
|
4785
|
-
|
|
4809
|
+
Wi,
|
|
4810
|
+
qi,
|
|
4786
4811
|
Ye,
|
|
4787
4812
|
{
|
|
4788
4813
|
session: 0,
|
|
@@ -4796,7 +4821,7 @@ class Ri extends zt {
|
|
|
4796
4821
|
translationurl: 23,
|
|
4797
4822
|
modalconsents: 24
|
|
4798
4823
|
},
|
|
4799
|
-
|
|
4824
|
+
Di,
|
|
4800
4825
|
[-1, -1, -1]
|
|
4801
4826
|
);
|
|
4802
4827
|
}
|
|
@@ -4861,7 +4886,7 @@ class Ri extends zt {
|
|
|
4861
4886
|
this.$$set({ modalconsents: t }), X();
|
|
4862
4887
|
}
|
|
4863
4888
|
}
|
|
4864
|
-
|
|
4889
|
+
Lt(Zi, { session: {}, userid: {}, endpoint: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, lang: {}, displayconsentdescription: {}, translationurl: {}, modalconsents: {} }, [], [], !0);
|
|
4865
4890
|
export {
|
|
4866
|
-
|
|
4891
|
+
Zi as default
|
|
4867
4892
|
};
|