@everymatrix/player-consents 1.74.3 → 1.74.4

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