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