@everymatrix/casino-tournaments-thumbnail-prizes 1.87.26 → 1.87.27

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,75 +1,75 @@
1
- var zt = Object.defineProperty, jt = Object.defineProperties;
2
- var kt = Object.getOwnPropertyDescriptors;
3
- var ze = Object.getOwnPropertySymbols;
4
- var Vt = Object.prototype.hasOwnProperty, Xt = Object.prototype.propertyIsEnumerable;
5
- var Ee = (e, t, r) => t in e ? zt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, je = (e, t) => {
1
+ var jt = Object.defineProperty, kt = Object.defineProperties;
2
+ var Vt = Object.getOwnPropertyDescriptors;
3
+ var je = Object.getOwnPropertySymbols;
4
+ var Xt = Object.prototype.hasOwnProperty, Wt = Object.prototype.propertyIsEnumerable;
5
+ var ye = (e, t, r) => t in e ? jt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ke = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Vt.call(t, r) && Ee(e, r, t[r]);
8
- if (ze)
9
- for (var r of ze(t))
10
- Xt.call(t, r) && Ee(e, r, t[r]);
7
+ Xt.call(t, r) && ye(e, r, t[r]);
8
+ if (je)
9
+ for (var r of je(t))
10
+ Wt.call(t, r) && ye(e, r, t[r]);
11
11
  return e;
12
- }, ke = (e, t) => jt(e, kt(t));
13
- var T = (e, t, r) => (Ee(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var Ve = (e, t, r) => new Promise((n, i) => {
12
+ }, Ve = (e, t) => kt(e, Vt(t));
13
+ var T = (e, t, r) => (ye(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var Xe = (e, t, r) => new Promise((n, i) => {
15
15
  var s = (l) => {
16
16
  try {
17
- a(r.next(l));
18
- } catch (o) {
19
- i(o);
17
+ o(r.next(l));
18
+ } catch (a) {
19
+ i(a);
20
20
  }
21
21
  }, u = (l) => {
22
22
  try {
23
- a(r.throw(l));
24
- } catch (o) {
25
- i(o);
23
+ o(r.throw(l));
24
+ } catch (a) {
25
+ i(a);
26
26
  }
27
- }, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(s, u);
28
- a((r = r.apply(e, t)).next());
27
+ }, o = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(s, u);
28
+ o((r = r.apply(e, t)).next());
29
29
  });
30
- function S() {
30
+ function P() {
31
31
  }
32
- function mt(e) {
32
+ function dt(e) {
33
33
  return e();
34
34
  }
35
- function Xe() {
35
+ function We() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function ee(e) {
39
- e.forEach(mt);
38
+ function te(e) {
39
+ e.forEach(dt);
40
40
  }
41
- function Ue(e) {
41
+ function De(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function dt(e, t) {
44
+ function bt(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- function Wt(e) {
47
+ function Zt(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
- function bt(e, ...t) {
50
+ function gt(e, ...t) {
51
51
  if (e == null) {
52
52
  for (const n of t)
53
53
  n(void 0);
54
- return S;
54
+ return P;
55
55
  }
56
56
  const r = e.subscribe(...t);
57
57
  return r.unsubscribe ? () => r.unsubscribe() : r;
58
58
  }
59
- function Zt(e, t, r) {
60
- e.$$.on_destroy.push(bt(t, r));
59
+ function Qt(e, t, r) {
60
+ e.$$.on_destroy.push(gt(t, r));
61
61
  }
62
- function v(e, t) {
62
+ function _(e, t) {
63
63
  e.appendChild(t);
64
64
  }
65
- function Qt(e, t, r) {
66
- const n = Jt(e);
65
+ function Jt(e, t, r) {
66
+ const n = qt(e);
67
67
  if (!n.getElementById(t)) {
68
- const i = P("style");
69
- i.id = t, i.textContent = r, qt(n, i);
68
+ const i = S("style");
69
+ i.id = t, i.textContent = r, Yt(n, i);
70
70
  }
71
71
  }
72
- function Jt(e) {
72
+ function qt(e) {
73
73
  if (!e)
74
74
  return document;
75
75
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -79,43 +79,43 @@ function Jt(e) {
79
79
  t
80
80
  ) : e.ownerDocument;
81
81
  }
82
- function qt(e, t) {
83
- return v(
82
+ function Yt(e, t) {
83
+ return _(
84
84
  /** @type {Document} */
85
85
  e.head || e,
86
86
  t
87
87
  ), t.sheet;
88
88
  }
89
- function te(e, t, r) {
89
+ function re(e, t, r) {
90
90
  e.insertBefore(t, r || null);
91
91
  }
92
- function j(e) {
92
+ function V(e) {
93
93
  e.parentNode && e.parentNode.removeChild(e);
94
94
  }
95
- function Yt(e, t) {
95
+ function Kt(e, t) {
96
96
  for (let r = 0; r < e.length; r += 1)
97
97
  e[r] && e[r].d(t);
98
98
  }
99
- function P(e) {
99
+ function S(e) {
100
100
  return document.createElement(e);
101
101
  }
102
- function I(e) {
102
+ function L(e) {
103
103
  return document.createTextNode(e);
104
104
  }
105
- function he() {
106
- return I(" ");
105
+ function le() {
106
+ return L(" ");
107
107
  }
108
108
  function x(e, t, r) {
109
109
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
110
110
  }
111
- function Kt(e) {
111
+ function er(e) {
112
112
  return Array.from(e.childNodes);
113
113
  }
114
- function Q(e, t) {
114
+ function J(e, t) {
115
115
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
116
116
  t);
117
117
  }
118
- function er(e) {
118
+ function tr(e) {
119
119
  const t = {};
120
120
  return e.childNodes.forEach(
121
121
  /** @param {Element} node */
@@ -124,98 +124,98 @@ function er(e) {
124
124
  }
125
125
  ), t;
126
126
  }
127
- let q;
128
- function J(e) {
129
- q = e;
127
+ let Y;
128
+ function q(e) {
129
+ Y = e;
130
130
  }
131
- function tr() {
132
- if (!q)
131
+ function rr() {
132
+ if (!Y)
133
133
  throw new Error("Function called outside component initialization");
134
- return q;
134
+ return Y;
135
135
  }
136
- function rr(e) {
137
- tr().$$.on_mount.push(e);
136
+ function nr(e) {
137
+ rr().$$.on_mount.push(e);
138
138
  }
139
- const R = [], Se = [];
140
- let U = [];
141
- const We = [], nr = /* @__PURE__ */ Promise.resolve();
142
- let Be = !1;
143
- function ir() {
144
- Be || (Be = !0, nr.then(O));
139
+ const U = [], Be = [];
140
+ let G = [];
141
+ const Ze = [], ir = /* @__PURE__ */ Promise.resolve();
142
+ let Ae = !1;
143
+ function sr() {
144
+ Ae || (Ae = !0, ir.then(I));
145
145
  }
146
- function Ae(e) {
147
- U.push(e);
146
+ function we(e) {
147
+ G.push(e);
148
148
  }
149
- const ye = /* @__PURE__ */ new Set();
149
+ const xe = /* @__PURE__ */ new Set();
150
150
  let M = 0;
151
- function O() {
151
+ function I() {
152
152
  if (M !== 0)
153
153
  return;
154
- const e = q;
154
+ const e = Y;
155
155
  do {
156
156
  try {
157
- for (; M < R.length; ) {
158
- const t = R[M];
159
- M++, J(t), sr(t.$$);
157
+ for (; M < U.length; ) {
158
+ const t = U[M];
159
+ M++, q(t), or(t.$$);
160
160
  }
161
161
  } catch (t) {
162
- throw R.length = 0, M = 0, t;
162
+ throw U.length = 0, M = 0, t;
163
163
  }
164
- for (J(null), R.length = 0, M = 0; Se.length; )
165
- Se.pop()();
166
- for (let t = 0; t < U.length; t += 1) {
167
- const r = U[t];
168
- ye.has(r) || (ye.add(r), r());
164
+ for (q(null), U.length = 0, M = 0; Be.length; )
165
+ Be.pop()();
166
+ for (let t = 0; t < G.length; t += 1) {
167
+ const r = G[t];
168
+ xe.has(r) || (xe.add(r), r());
169
169
  }
170
- U.length = 0;
171
- } while (R.length);
172
- for (; We.length; )
173
- We.pop()();
174
- Be = !1, ye.clear(), J(e);
170
+ G.length = 0;
171
+ } while (U.length);
172
+ for (; Ze.length; )
173
+ Ze.pop()();
174
+ Ae = !1, xe.clear(), q(e);
175
175
  }
176
- function sr(e) {
176
+ function or(e) {
177
177
  if (e.fragment !== null) {
178
- e.update(), ee(e.before_update);
178
+ e.update(), te(e.before_update);
179
179
  const t = e.dirty;
180
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ae);
180
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(we);
181
181
  }
182
182
  }
183
- function or(e) {
183
+ function ar(e) {
184
184
  const t = [], r = [];
185
- U.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), U = t;
185
+ G.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), G = t;
186
186
  }
187
- const ar = /* @__PURE__ */ new Set();
188
- function ur(e, t) {
189
- e && e.i && (ar.delete(e), e.i(t));
187
+ const ur = /* @__PURE__ */ new Set();
188
+ function hr(e, t) {
189
+ e && e.i && (ur.delete(e), e.i(t));
190
190
  }
191
- function Ze(e) {
191
+ function Qe(e) {
192
192
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
193
193
  }
194
- function hr(e, t, r) {
194
+ function lr(e, t, r) {
195
195
  const { fragment: n, after_update: i } = e.$$;
196
- n && n.m(t, r), Ae(() => {
197
- const s = e.$$.on_mount.map(mt).filter(Ue);
198
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ee(s), e.$$.on_mount = [];
199
- }), i.forEach(Ae);
196
+ n && n.m(t, r), we(() => {
197
+ const s = e.$$.on_mount.map(dt).filter(De);
198
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : te(s), e.$$.on_mount = [];
199
+ }), i.forEach(we);
200
200
  }
201
- function lr(e, t) {
201
+ function fr(e, t) {
202
202
  const r = e.$$;
203
- r.fragment !== null && (or(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
203
+ r.fragment !== null && (ar(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
204
204
  }
205
- function fr(e, t) {
206
- e.$$.dirty[0] === -1 && (R.push(e), ir(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
205
+ function cr(e, t) {
206
+ e.$$.dirty[0] === -1 && (U.push(e), sr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
207
207
  }
208
- function cr(e, t, r, n, i, s, u = null, a = [-1]) {
209
- const l = q;
210
- J(e);
211
- const o = e.$$ = {
208
+ function pr(e, t, r, n, i, s, u = null, o = [-1]) {
209
+ const l = Y;
210
+ q(e);
211
+ const a = e.$$ = {
212
212
  fragment: null,
213
213
  ctx: [],
214
214
  // state
215
215
  props: s,
216
- update: S,
216
+ update: P,
217
217
  not_equal: i,
218
- bound: Xe(),
218
+ bound: We(),
219
219
  // lifecycle
220
220
  on_mount: [],
221
221
  on_destroy: [],
@@ -224,28 +224,28 @@ function cr(e, t, r, n, i, s, u = null, a = [-1]) {
224
224
  after_update: [],
225
225
  context: new Map(t.context || (l ? l.$$.context : [])),
226
226
  // everything else
227
- callbacks: Xe(),
228
- dirty: a,
227
+ callbacks: We(),
228
+ dirty: o,
229
229
  skip_bound: !1,
230
230
  root: t.target || l.$$.root
231
231
  };
232
- u && u(o.root);
232
+ u && u(a.root);
233
233
  let h = !1;
234
- if (o.ctx = r ? r(e, t.props || {}, (f, c, ...m) => {
235
- const p = m.length ? m[0] : c;
236
- return o.ctx && i(o.ctx[f], o.ctx[f] = p) && (!o.skip_bound && o.bound[f] && o.bound[f](p), h && fr(e, f)), c;
237
- }) : [], o.update(), h = !0, ee(o.before_update), o.fragment = n ? n(o.ctx) : !1, t.target) {
234
+ if (a.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
235
+ const g = p.length ? p[0] : c;
236
+ return a.ctx && i(a.ctx[f], a.ctx[f] = g) && (!a.skip_bound && a.bound[f] && a.bound[f](g), h && cr(e, f)), c;
237
+ }) : [], a.update(), h = !0, te(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
238
238
  if (t.hydrate) {
239
- const f = Kt(t.target);
240
- o.fragment && o.fragment.l(f), f.forEach(j);
239
+ const f = er(t.target);
240
+ a.fragment && a.fragment.l(f), f.forEach(V);
241
241
  } else
242
- o.fragment && o.fragment.c();
243
- t.intro && ur(e.$$.fragment), hr(e, t.target, t.anchor), O();
242
+ a.fragment && a.fragment.c();
243
+ t.intro && hr(e.$$.fragment), lr(e, t.target, t.anchor), I();
244
244
  }
245
- J(l);
245
+ q(l);
246
246
  }
247
- let gt;
248
- typeof HTMLElement == "function" && (gt = class extends HTMLElement {
247
+ let Et;
248
+ typeof HTMLElement == "function" && (Et = class extends HTMLElement {
249
249
  constructor(t, r, n) {
250
250
  super();
251
251
  /** The Svelte component constructor */
@@ -282,42 +282,42 @@ typeof HTMLElement == "function" && (gt = class extends HTMLElement {
282
282
  }
283
283
  }
284
284
  connectedCallback() {
285
- return Ve(this, null, function* () {
285
+ return Xe(this, null, function* () {
286
286
  if (this.$$cn = !0, !this.$$c) {
287
287
  let t = function(s) {
288
288
  return () => {
289
289
  let u;
290
290
  return {
291
291
  c: function() {
292
- u = P("slot"), s !== "default" && x(u, "name", s);
292
+ u = S("slot"), s !== "default" && x(u, "name", s);
293
293
  },
294
294
  /**
295
295
  * @param {HTMLElement} target
296
296
  * @param {HTMLElement} [anchor]
297
297
  */
298
- m: function(o, h) {
299
- te(o, u, h);
298
+ m: function(a, h) {
299
+ re(a, u, h);
300
300
  },
301
- d: function(o) {
302
- o && j(u);
301
+ d: function(a) {
302
+ a && V(u);
303
303
  }
304
304
  };
305
305
  };
306
306
  };
307
307
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
308
308
  return;
309
- const r = {}, n = er(this);
309
+ const r = {}, n = tr(this);
310
310
  for (const s of this.$$s)
311
311
  s in n && (r[s] = [t(s)]);
312
312
  for (const s of this.attributes) {
313
313
  const u = this.$$g_p(s.name);
314
- u in this.$$d || (this.$$d[u] = oe(u, s.value, this.$$p_d, "toProp"));
314
+ u in this.$$d || (this.$$d[u] = ae(u, s.value, this.$$p_d, "toProp"));
315
315
  }
316
316
  for (const s in this.$$p_d)
317
317
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
318
318
  this.$$c = new this.$$ctor({
319
319
  target: this.shadowRoot || this,
320
- props: ke(je({}, this.$$d), {
320
+ props: Ve(ke({}, this.$$d), {
321
321
  $$slots: r,
322
322
  $$scope: {
323
323
  ctx: []
@@ -328,7 +328,7 @@ typeof HTMLElement == "function" && (gt = class extends HTMLElement {
328
328
  this.$$r = !0;
329
329
  for (const s in this.$$p_d)
330
330
  if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
331
- const u = oe(
331
+ const u = ae(
332
332
  s,
333
333
  this.$$d[s],
334
334
  this.$$p_d,
@@ -341,8 +341,8 @@ typeof HTMLElement == "function" && (gt = class extends HTMLElement {
341
341
  this.$$c.$$.after_update.push(i), i();
342
342
  for (const s in this.$$l)
343
343
  for (const u of this.$$l[s]) {
344
- const a = this.$$c.$on(s, u);
345
- this.$$l_u.set(u, a);
344
+ const o = this.$$c.$on(s, u);
345
+ this.$$l_u.set(u, o);
346
346
  }
347
347
  this.$$l = {};
348
348
  }
@@ -352,7 +352,7 @@ typeof HTMLElement == "function" && (gt = class extends HTMLElement {
352
352
  // and setting attributes through setAttribute etc, this is helpful
353
353
  attributeChangedCallback(t, r, n) {
354
354
  var i;
355
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = oe(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
355
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = ae(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
356
356
  }
357
357
  disconnectedCallback() {
358
358
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -365,7 +365,7 @@ typeof HTMLElement == "function" && (gt = class extends HTMLElement {
365
365
  ) || t;
366
366
  }
367
367
  });
368
- function oe(e, t, r, n) {
368
+ function ae(e, t, r, n) {
369
369
  var s;
370
370
  const i = (s = r[e]) == null ? void 0 : s.type;
371
371
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -395,38 +395,38 @@ function oe(e, t, r, n) {
395
395
  return t;
396
396
  }
397
397
  }
398
- function pr(e, t, r, n, i, s) {
399
- let u = class extends gt {
398
+ function mr(e, t, r, n, i, s) {
399
+ let u = class extends Et {
400
400
  constructor() {
401
401
  super(e, r, i), this.$$p_d = t;
402
402
  }
403
403
  static get observedAttributes() {
404
404
  return Object.keys(t).map(
405
- (a) => (t[a].attribute || a).toLowerCase()
405
+ (o) => (t[o].attribute || o).toLowerCase()
406
406
  );
407
407
  }
408
408
  };
409
- return Object.keys(t).forEach((a) => {
410
- Object.defineProperty(u.prototype, a, {
409
+ return Object.keys(t).forEach((o) => {
410
+ Object.defineProperty(u.prototype, o, {
411
411
  get() {
412
- return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
412
+ return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
413
413
  },
414
414
  set(l) {
415
- var o;
416
- l = oe(a, l, t), this.$$d[a] = l, (o = this.$$c) == null || o.$set({ [a]: l });
415
+ var a;
416
+ l = ae(o, l, t), this.$$d[o] = l, (a = this.$$c) == null || a.$set({ [o]: l });
417
417
  }
418
418
  });
419
- }), n.forEach((a) => {
420
- Object.defineProperty(u.prototype, a, {
419
+ }), n.forEach((o) => {
420
+ Object.defineProperty(u.prototype, o, {
421
421
  get() {
422
422
  var l;
423
- return (l = this.$$c) == null ? void 0 : l[a];
423
+ return (l = this.$$c) == null ? void 0 : l[o];
424
424
  }
425
425
  });
426
426
  }), e.element = /** @type {any} */
427
427
  u, u;
428
428
  }
429
- class mr {
429
+ class dr {
430
430
  constructor() {
431
431
  /**
432
432
  * ### PRIVATE API
@@ -447,7 +447,7 @@ class mr {
447
447
  }
448
448
  /** @returns {void} */
449
449
  $destroy() {
450
- lr(this, 1), this.$destroy = S;
450
+ fr(this, 1), this.$destroy = P;
451
451
  }
452
452
  /**
453
453
  * @template {Extract<keyof Events, string>} K
@@ -456,8 +456,8 @@ class mr {
456
456
  * @returns {() => void}
457
457
  */
458
458
  $on(t, r) {
459
- if (!Ue(r))
460
- return S;
459
+ if (!De(r))
460
+ return P;
461
461
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
462
462
  return n.push(r), () => {
463
463
  const i = n.indexOf(r);
@@ -469,148 +469,148 @@ class mr {
469
469
  * @returns {void}
470
470
  */
471
471
  $set(t) {
472
- this.$$set && !Wt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
472
+ this.$$set && !Zt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
473
473
  }
474
474
  }
475
- const dr = "4";
476
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(dr);
477
- const C = [];
478
- function br(e, t) {
475
+ const br = "4";
476
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(br);
477
+ const R = [];
478
+ function gr(e, t) {
479
479
  return {
480
- subscribe: pe(e, t).subscribe
480
+ subscribe: me(e, t).subscribe
481
481
  };
482
482
  }
483
- function pe(e, t = S) {
483
+ function me(e, t = P) {
484
484
  let r;
485
485
  const n = /* @__PURE__ */ new Set();
486
- function i(a) {
487
- if (dt(e, a) && (e = a, r)) {
488
- const l = !C.length;
489
- for (const o of n)
490
- o[1](), C.push(o, e);
486
+ function i(o) {
487
+ if (bt(e, o) && (e = o, r)) {
488
+ const l = !R.length;
489
+ for (const a of n)
490
+ a[1](), R.push(a, e);
491
491
  if (l) {
492
- for (let o = 0; o < C.length; o += 2)
493
- C[o][0](C[o + 1]);
494
- C.length = 0;
492
+ for (let a = 0; a < R.length; a += 2)
493
+ R[a][0](R[a + 1]);
494
+ R.length = 0;
495
495
  }
496
496
  }
497
497
  }
498
- function s(a) {
499
- i(a(e));
498
+ function s(o) {
499
+ i(o(e));
500
500
  }
501
- function u(a, l = S) {
502
- const o = [a, l];
503
- return n.add(o), n.size === 1 && (r = t(i, s) || S), a(e), () => {
504
- n.delete(o), n.size === 0 && r && (r(), r = null);
501
+ function u(o, l = P) {
502
+ const a = [o, l];
503
+ return n.add(a), n.size === 1 && (r = t(i, s) || P), o(e), () => {
504
+ n.delete(a), n.size === 0 && r && (r(), r = null);
505
505
  };
506
506
  }
507
507
  return { set: i, update: s, subscribe: u };
508
508
  }
509
- function k(e, t, r) {
509
+ function X(e, t, r) {
510
510
  const n = !Array.isArray(e), i = n ? [e] : e;
511
511
  if (!i.every(Boolean))
512
512
  throw new Error("derived() expects stores as input, got a falsy value");
513
513
  const s = t.length < 2;
514
- return br(r, (u, a) => {
514
+ return gr(r, (u, o) => {
515
515
  let l = !1;
516
- const o = [];
517
- let h = 0, f = S;
516
+ const a = [];
517
+ let h = 0, f = P;
518
518
  const c = () => {
519
519
  if (h)
520
520
  return;
521
521
  f();
522
- const p = t(n ? o[0] : o, u, a);
523
- s ? u(p) : f = Ue(p) ? p : S;
524
- }, m = i.map(
525
- (p, y) => bt(
526
- p,
527
- (H) => {
528
- o[y] = H, h &= ~(1 << y), l && c();
522
+ const g = t(n ? a[0] : a, u, o);
523
+ s ? u(g) : f = De(g) ? g : P;
524
+ }, p = i.map(
525
+ (g, m) => gt(
526
+ g,
527
+ (v) => {
528
+ a[m] = v, h &= ~(1 << m), l && c();
529
529
  },
530
530
  () => {
531
- h |= 1 << y;
531
+ h |= 1 << m;
532
532
  }
533
533
  )
534
534
  );
535
535
  return l = !0, c(), function() {
536
- ee(m), f(), l = !1;
536
+ te(p), f(), l = !1;
537
537
  };
538
538
  });
539
539
  }
540
- function gr(e) {
540
+ function Er(e) {
541
541
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
542
542
  }
543
- var Er = function(t) {
544
- return yr(t) && !xr(t);
543
+ var yr = function(t) {
544
+ return xr(t) && !vr(t);
545
545
  };
546
- function yr(e) {
546
+ function xr(e) {
547
547
  return !!e && typeof e == "object";
548
548
  }
549
- function xr(e) {
549
+ function vr(e) {
550
550
  var t = Object.prototype.toString.call(e);
551
- return t === "[object RegExp]" || t === "[object Date]" || Hr(e);
552
- }
553
- var vr = typeof Symbol == "function" && Symbol.for, _r = vr ? Symbol.for("react.element") : 60103;
554
- function Hr(e) {
555
- return e.$$typeof === _r;
551
+ return t === "[object RegExp]" || t === "[object Date]" || Tr(e);
556
552
  }
553
+ var _r = typeof Symbol == "function" && Symbol.for, Hr = _r ? Symbol.for("react.element") : 60103;
557
554
  function Tr(e) {
555
+ return e.$$typeof === Hr;
556
+ }
557
+ function Sr(e) {
558
558
  return Array.isArray(e) ? [] : {};
559
559
  }
560
- function Y(e, t) {
561
- return t.clone !== !1 && t.isMergeableObject(e) ? D(Tr(e), e, t) : e;
560
+ function K(e, t) {
561
+ return t.clone !== !1 && t.isMergeableObject(e) ? F(Sr(e), e, t) : e;
562
562
  }
563
563
  function Pr(e, t, r) {
564
564
  return e.concat(t).map(function(n) {
565
- return Y(n, r);
565
+ return K(n, r);
566
566
  });
567
567
  }
568
- function Sr(e, t) {
568
+ function Br(e, t) {
569
569
  if (!t.customMerge)
570
- return D;
570
+ return F;
571
571
  var r = t.customMerge(e);
572
- return typeof r == "function" ? r : D;
572
+ return typeof r == "function" ? r : F;
573
573
  }
574
- function Br(e) {
574
+ function Ar(e) {
575
575
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
576
576
  return Object.propertyIsEnumerable.call(e, t);
577
577
  }) : [];
578
578
  }
579
- function Qe(e) {
580
- return Object.keys(e).concat(Br(e));
579
+ function Je(e) {
580
+ return Object.keys(e).concat(Ar(e));
581
581
  }
582
- function Et(e, t) {
582
+ function yt(e, t) {
583
583
  try {
584
584
  return t in e;
585
585
  } catch (r) {
586
586
  return !1;
587
587
  }
588
588
  }
589
- function Ar(e, t) {
590
- return Et(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
589
+ function wr(e, t) {
590
+ return yt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
591
591
  }
592
592
  function Nr(e, t, r) {
593
593
  var n = {};
594
- return r.isMergeableObject(e) && Qe(e).forEach(function(i) {
595
- n[i] = Y(e[i], r);
596
- }), Qe(t).forEach(function(i) {
597
- Ar(e, i) || (Et(e, i) && r.isMergeableObject(t[i]) ? n[i] = Sr(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
594
+ return r.isMergeableObject(e) && Je(e).forEach(function(i) {
595
+ n[i] = K(e[i], r);
596
+ }), Je(t).forEach(function(i) {
597
+ wr(e, i) || (yt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Br(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
598
598
  }), n;
599
599
  }
600
- function D(e, t, r) {
601
- r = r || {}, r.arrayMerge = r.arrayMerge || Pr, r.isMergeableObject = r.isMergeableObject || Er, r.cloneUnlessOtherwiseSpecified = Y;
600
+ function F(e, t, r) {
601
+ r = r || {}, r.arrayMerge = r.arrayMerge || Pr, r.isMergeableObject = r.isMergeableObject || yr, r.cloneUnlessOtherwiseSpecified = K;
602
602
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
603
- return s ? n ? r.arrayMerge(e, t, r) : Nr(e, t, r) : Y(t, r);
603
+ return s ? n ? r.arrayMerge(e, t, r) : Nr(e, t, r) : K(t, r);
604
604
  }
605
- D.all = function(t, r) {
605
+ F.all = function(t, r) {
606
606
  if (!Array.isArray(t))
607
607
  throw new Error("first argument should be an array");
608
608
  return t.reduce(function(n, i) {
609
- return D(n, i, r);
609
+ return F(n, i, r);
610
610
  }, {});
611
611
  };
612
- var wr = D, Or = wr;
613
- const Ir = /* @__PURE__ */ gr(Or);
612
+ var Or = F, Ir = Or;
613
+ const Lr = /* @__PURE__ */ Er(Ir);
614
614
  var Ne = function(e, t) {
615
615
  return Ne = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
616
616
  r.__proto__ = n;
@@ -619,7 +619,7 @@ var Ne = function(e, t) {
619
619
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
620
620
  }, Ne(e, t);
621
621
  };
622
- function me(e, t) {
622
+ function de(e, t) {
623
623
  if (typeof t != "function" && t !== null)
624
624
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
625
625
  Ne(e, t);
@@ -638,7 +638,7 @@ var A = function() {
638
638
  return t;
639
639
  }, A.apply(this, arguments);
640
640
  };
641
- function Lr(e, t) {
641
+ function $r(e, t) {
642
642
  var r = {};
643
643
  for (var n in e)
644
644
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -647,43 +647,43 @@ function Lr(e, t) {
647
647
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
648
648
  return r;
649
649
  }
650
- function xe(e, t, r) {
650
+ function ve(e, t, r) {
651
651
  if (r || arguments.length === 2)
652
652
  for (var n = 0, i = t.length, s; n < i; n++)
653
653
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
654
654
  return e.concat(s || Array.prototype.slice.call(t));
655
655
  }
656
- function ve(e, t) {
657
- var r = t && t.cache ? t.cache : Gr, n = t && t.serializer ? t.serializer : Ur, i = t && t.strategy ? t.strategy : Cr;
656
+ function _e(e, t) {
657
+ var r = t && t.cache ? t.cache : Fr, n = t && t.serializer ? t.serializer : Dr, i = t && t.strategy ? t.strategy : Rr;
658
658
  return i(e, {
659
659
  cache: r,
660
660
  serializer: n
661
661
  });
662
662
  }
663
- function $r(e) {
663
+ function Cr(e) {
664
664
  return e == null || typeof e == "number" || typeof e == "boolean";
665
665
  }
666
666
  function Mr(e, t, r, n) {
667
- var i = $r(n) ? n : r(n), s = t.get(i);
667
+ var i = Cr(n) ? n : r(n), s = t.get(i);
668
668
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
669
669
  }
670
- function yt(e, t, r) {
670
+ function xt(e, t, r) {
671
671
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
672
672
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
673
673
  }
674
- function xt(e, t, r, n, i) {
674
+ function vt(e, t, r, n, i) {
675
675
  return r.bind(t, e, n, i);
676
676
  }
677
- function Cr(e, t) {
678
- var r = e.length === 1 ? Mr : yt;
679
- return xt(e, this, r, t.cache.create(), t.serializer);
680
- }
681
677
  function Rr(e, t) {
682
- return xt(e, this, yt, t.cache.create(), t.serializer);
678
+ var r = e.length === 1 ? Mr : xt;
679
+ return vt(e, this, r, t.cache.create(), t.serializer);
680
+ }
681
+ function Ur(e, t) {
682
+ return vt(e, this, xt, t.cache.create(), t.serializer);
683
683
  }
684
- var Ur = function() {
684
+ var Dr = function() {
685
685
  return JSON.stringify(arguments);
686
- }, Dr = (
686
+ }, Gr = (
687
687
  /** @class */
688
688
  function() {
689
689
  function e() {
@@ -695,71 +695,71 @@ var Ur = function() {
695
695
  this.cache[t] = r;
696
696
  }, e;
697
697
  }()
698
- ), Gr = {
698
+ ), Fr = {
699
699
  create: function() {
700
- return new Dr();
700
+ return new Gr();
701
701
  }
702
- }, _e = {
703
- variadic: Rr
704
- }, le = function() {
705
- return le = Object.assign || function(t) {
702
+ }, He = {
703
+ variadic: Ur
704
+ }, fe = function() {
705
+ return fe = Object.assign || function(t) {
706
706
  for (var r, n = 1, i = arguments.length; n < i; n++) {
707
707
  r = arguments[n];
708
708
  for (var s in r)
709
709
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
710
710
  }
711
711
  return t;
712
- }, le.apply(this, arguments);
712
+ }, fe.apply(this, arguments);
713
713
  };
714
714
  var d;
715
715
  (function(e) {
716
716
  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";
717
717
  })(d || (d = {}));
718
- var g;
718
+ var E;
719
719
  (function(e) {
720
720
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
721
- })(g || (g = {}));
722
- var G;
721
+ })(E || (E = {}));
722
+ var z;
723
723
  (function(e) {
724
724
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
725
- })(G || (G = {}));
726
- function Je(e) {
727
- return e.type === g.literal;
728
- }
729
- function Fr(e) {
730
- return e.type === g.argument;
725
+ })(z || (z = {}));
726
+ function qe(e) {
727
+ return e.type === E.literal;
731
728
  }
732
- function vt(e) {
733
- return e.type === g.number;
729
+ function zr(e) {
730
+ return e.type === E.argument;
734
731
  }
735
732
  function _t(e) {
736
- return e.type === g.date;
733
+ return e.type === E.number;
737
734
  }
738
735
  function Ht(e) {
739
- return e.type === g.time;
736
+ return e.type === E.date;
740
737
  }
741
738
  function Tt(e) {
742
- return e.type === g.select;
739
+ return e.type === E.time;
743
740
  }
744
- function Pt(e) {
745
- return e.type === g.plural;
741
+ function St(e) {
742
+ return e.type === E.select;
746
743
  }
747
- function zr(e) {
748
- return e.type === g.pound;
744
+ function Pt(e) {
745
+ return e.type === E.plural;
749
746
  }
750
- function St(e) {
751
- return e.type === g.tag;
747
+ function jr(e) {
748
+ return e.type === E.pound;
752
749
  }
753
750
  function Bt(e) {
754
- return !!(e && typeof e == "object" && e.type === G.number);
751
+ return e.type === E.tag;
755
752
  }
756
- function we(e) {
757
- return !!(e && typeof e == "object" && e.type === G.dateTime);
753
+ function At(e) {
754
+ return !!(e && typeof e == "object" && e.type === z.number);
755
+ }
756
+ function Oe(e) {
757
+ return !!(e && typeof e == "object" && e.type === z.dateTime);
758
758
  }
759
- var At = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, jr = /(?:[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;
760
- function kr(e) {
759
+ var wt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, kr = /(?:[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;
760
+ function Vr(e) {
761
761
  var t = {};
762
- return e.replace(jr, function(r) {
762
+ return e.replace(kr, function(r) {
763
763
  var n = r.length;
764
764
  switch (r[0]) {
765
765
  case "G":
@@ -848,46 +848,46 @@ function kr(e) {
848
848
  return "";
849
849
  }), t;
850
850
  }
851
- var E = function() {
852
- return E = Object.assign || function(t) {
851
+ var y = function() {
852
+ return y = Object.assign || function(t) {
853
853
  for (var r, n = 1, i = arguments.length; n < i; n++) {
854
854
  r = arguments[n];
855
855
  for (var s in r)
856
856
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
857
857
  }
858
858
  return t;
859
- }, E.apply(this, arguments);
859
+ }, y.apply(this, arguments);
860
860
  };
861
- var Vr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
862
- function Xr(e) {
861
+ var Xr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
862
+ function Wr(e) {
863
863
  if (e.length === 0)
864
864
  throw new Error("Number skeleton cannot be empty");
865
- for (var t = e.split(Vr).filter(function(c) {
865
+ for (var t = e.split(Xr).filter(function(c) {
866
866
  return c.length > 0;
867
867
  }), r = [], n = 0, i = t; n < i.length; n++) {
868
868
  var s = i[n], u = s.split("/");
869
869
  if (u.length === 0)
870
870
  throw new Error("Invalid number skeleton");
871
- for (var a = u[0], l = u.slice(1), o = 0, h = l; o < h.length; o++) {
872
- var f = h[o];
871
+ for (var o = u[0], l = u.slice(1), a = 0, h = l; a < h.length; a++) {
872
+ var f = h[a];
873
873
  if (f.length === 0)
874
874
  throw new Error("Invalid number skeleton");
875
875
  }
876
- r.push({ stem: a, options: l });
876
+ r.push({ stem: o, options: l });
877
877
  }
878
878
  return r;
879
879
  }
880
- function Wr(e) {
880
+ function Zr(e) {
881
881
  return e.replace(/^(.*?)-/, "");
882
882
  }
883
- var qe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Nt = /^(@+)?(\+|#+)?[rs]?$/g, Zr = /(\*)(0+)|(#+)(0+)|(0+)/g, wt = /^(0+)$/;
884
- function Ye(e) {
883
+ var Ye = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Nt = /^(@+)?(\+|#+)?[rs]?$/g, Qr = /(\*)(0+)|(#+)(0+)|(0+)/g, Ot = /^(0+)$/;
884
+ function Ke(e) {
885
885
  var t = {};
886
886
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Nt, function(r, n, i) {
887
887
  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)), "";
888
888
  }), t;
889
889
  }
890
- function Ot(e) {
890
+ function It(e) {
891
891
  switch (e) {
892
892
  case "sign-auto":
893
893
  return {
@@ -927,7 +927,7 @@ function Ot(e) {
927
927
  };
928
928
  }
929
929
  }
930
- function Qr(e) {
930
+ function Jr(e) {
931
931
  var t;
932
932
  if (e[0] === "E" && e[1] === "E" ? (t = {
933
933
  notation: "engineering"
@@ -935,17 +935,17 @@ function Qr(e) {
935
935
  notation: "scientific"
936
936
  }, e = e.slice(1)), t) {
937
937
  var r = e.slice(0, 2);
938
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !wt.test(e))
938
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ot.test(e))
939
939
  throw new Error("Malformed concise eng/scientific notation");
940
940
  t.minimumIntegerDigits = e.length;
941
941
  }
942
942
  return t;
943
943
  }
944
- function Ke(e) {
945
- var t = {}, r = Ot(e);
944
+ function et(e) {
945
+ var t = {}, r = It(e);
946
946
  return r || t;
947
947
  }
948
- function Jr(e) {
948
+ function qr(e) {
949
949
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
950
950
  var i = n[r];
951
951
  switch (i.stem) {
@@ -969,7 +969,7 @@ function Jr(e) {
969
969
  continue;
970
970
  case "measure-unit":
971
971
  case "unit":
972
- t.style = "unit", t.unit = Wr(i.options[0]);
972
+ t.style = "unit", t.unit = Zr(i.options[0]);
973
973
  continue;
974
974
  case "compact-short":
975
975
  case "K":
@@ -980,13 +980,13 @@ function Jr(e) {
980
980
  t.notation = "compact", t.compactDisplay = "long";
981
981
  continue;
982
982
  case "scientific":
983
- t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, o) {
984
- return E(E({}, l), Ke(o));
983
+ t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, a) {
984
+ return y(y({}, l), et(a));
985
985
  }, {}));
986
986
  continue;
987
987
  case "engineering":
988
- t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, o) {
989
- return E(E({}, l), Ke(o));
988
+ t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, a) {
989
+ return y(y({}, l), et(a));
990
990
  }, {}));
991
991
  continue;
992
992
  case "notation-simple":
@@ -1031,45 +1031,45 @@ function Jr(e) {
1031
1031
  case "integer-width":
1032
1032
  if (i.options.length > 1)
1033
1033
  throw new RangeError("integer-width stems only accept a single optional option");
1034
- i.options[0].replace(Zr, function(l, o, h, f, c, m) {
1035
- if (o)
1034
+ i.options[0].replace(Qr, function(l, a, h, f, c, p) {
1035
+ if (a)
1036
1036
  t.minimumIntegerDigits = h.length;
1037
1037
  else {
1038
1038
  if (f && c)
1039
1039
  throw new Error("We currently do not support maximum integer digits");
1040
- if (m)
1040
+ if (p)
1041
1041
  throw new Error("We currently do not support exact integer digits");
1042
1042
  }
1043
1043
  return "";
1044
1044
  });
1045
1045
  continue;
1046
1046
  }
1047
- if (wt.test(i.stem)) {
1047
+ if (Ot.test(i.stem)) {
1048
1048
  t.minimumIntegerDigits = i.stem.length;
1049
1049
  continue;
1050
1050
  }
1051
- if (qe.test(i.stem)) {
1051
+ if (Ye.test(i.stem)) {
1052
1052
  if (i.options.length > 1)
1053
1053
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1054
- i.stem.replace(qe, function(l, o, h, f, c, m) {
1055
- return h === "*" ? t.minimumFractionDigits = o.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && m ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + m.length) : (t.minimumFractionDigits = o.length, t.maximumFractionDigits = o.length), "";
1054
+ i.stem.replace(Ye, function(l, a, h, f, c, p) {
1055
+ return h === "*" ? t.minimumFractionDigits = a.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
1056
1056
  });
1057
1057
  var s = i.options[0];
1058
- s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), Ye(s)));
1058
+ s === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = y(y({}, t), Ke(s)));
1059
1059
  continue;
1060
1060
  }
1061
1061
  if (Nt.test(i.stem)) {
1062
- t = E(E({}, t), Ye(i.stem));
1062
+ t = y(y({}, t), Ke(i.stem));
1063
1063
  continue;
1064
1064
  }
1065
- var u = Ot(i.stem);
1066
- u && (t = E(E({}, t), u));
1067
- var a = Qr(i.stem);
1068
- a && (t = E(E({}, t), a));
1065
+ var u = It(i.stem);
1066
+ u && (t = y(y({}, t), u));
1067
+ var o = Jr(i.stem);
1068
+ o && (t = y(y({}, t), o));
1069
1069
  }
1070
1070
  return t;
1071
1071
  }
1072
- var se = {
1072
+ var oe = {
1073
1073
  "001": [
1074
1074
  "H",
1075
1075
  "h"
@@ -2484,23 +2484,23 @@ var se = {
2484
2484
  "h"
2485
2485
  ]
2486
2486
  };
2487
- function qr(e, t) {
2487
+ function Yr(e, t) {
2488
2488
  for (var r = "", n = 0; n < e.length; n++) {
2489
2489
  var i = e.charAt(n);
2490
2490
  if (i === "j") {
2491
2491
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2492
2492
  s++, n++;
2493
- var u = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", o = Yr(t);
2494
- for ((o == "H" || o == "k") && (a = 0); a-- > 0; )
2493
+ var u = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", a = Kr(t);
2494
+ for ((a == "H" || a == "k") && (o = 0); o-- > 0; )
2495
2495
  r += l;
2496
2496
  for (; u-- > 0; )
2497
- r = o + r;
2497
+ r = a + r;
2498
2498
  } else
2499
2499
  i === "J" ? r += "H" : r += i;
2500
2500
  }
2501
2501
  return r;
2502
2502
  }
2503
- function Yr(e) {
2503
+ function Kr(e) {
2504
2504
  var t = e.hourCycle;
2505
2505
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2506
2506
  e.hourCycles && // @ts-ignore
@@ -2519,23 +2519,23 @@ function Yr(e) {
2519
2519
  }
2520
2520
  var r = e.language, n;
2521
2521
  r !== "root" && (n = e.maximize().region);
2522
- var i = se[n || ""] || se[r || ""] || se["".concat(r, "-001")] || se["001"];
2522
+ var i = oe[n || ""] || oe[r || ""] || oe["".concat(r, "-001")] || oe["001"];
2523
2523
  return i[0];
2524
2524
  }
2525
- var He, Kr = new RegExp("^".concat(At.source, "*")), en = new RegExp("".concat(At.source, "*$"));
2525
+ var Te, en = new RegExp("^".concat(wt.source, "*")), tn = new RegExp("".concat(wt.source, "*$"));
2526
2526
  function b(e, t) {
2527
2527
  return { start: e, end: t };
2528
2528
  }
2529
- var tn = !!String.prototype.startsWith && "_a".startsWith("a", 1), rn = !!String.fromCodePoint, nn = !!Object.fromEntries, sn = !!String.prototype.codePointAt, on = !!String.prototype.trimStart, an = !!String.prototype.trimEnd, un = !!Number.isSafeInteger, hn = un ? Number.isSafeInteger : function(e) {
2529
+ var rn = !!String.prototype.startsWith && "_a".startsWith("a", 1), nn = !!String.fromCodePoint, sn = !!Object.fromEntries, on = !!String.prototype.codePointAt, an = !!String.prototype.trimStart, un = !!String.prototype.trimEnd, hn = !!Number.isSafeInteger, ln = hn ? Number.isSafeInteger : function(e) {
2530
2530
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2531
- }, Oe = !0;
2531
+ }, Ie = !0;
2532
2532
  try {
2533
- var ln = Lt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2534
- Oe = ((He = ln.exec("a")) === null || He === void 0 ? void 0 : He[0]) === "a";
2533
+ var fn = $t("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2534
+ Ie = ((Te = fn.exec("a")) === null || Te === void 0 ? void 0 : Te[0]) === "a";
2535
2535
  } catch (e) {
2536
- Oe = !1;
2536
+ Ie = !1;
2537
2537
  }
2538
- var et = tn ? (
2538
+ var tt = rn ? (
2539
2539
  // Native
2540
2540
  function(t, r, n) {
2541
2541
  return t.startsWith(r, n);
@@ -2545,7 +2545,7 @@ var et = tn ? (
2545
2545
  function(t, r, n) {
2546
2546
  return t.slice(n, n + r.length) === r;
2547
2547
  }
2548
- ), Ie = rn ? String.fromCodePoint : (
2548
+ ), Le = nn ? String.fromCodePoint : (
2549
2549
  // IE11
2550
2550
  function() {
2551
2551
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2557,19 +2557,19 @@ var et = tn ? (
2557
2557
  }
2558
2558
  return n;
2559
2559
  }
2560
- ), tt = (
2560
+ ), rt = (
2561
2561
  // native
2562
- nn ? Object.fromEntries : (
2562
+ sn ? Object.fromEntries : (
2563
2563
  // Ponyfill
2564
2564
  function(t) {
2565
2565
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
2566
- var s = i[n], u = s[0], a = s[1];
2567
- r[u] = a;
2566
+ var s = i[n], u = s[0], o = s[1];
2567
+ r[u] = o;
2568
2568
  }
2569
2569
  return r;
2570
2570
  }
2571
2571
  )
2572
- ), It = sn ? (
2572
+ ), Lt = on ? (
2573
2573
  // Native
2574
2574
  function(t, r) {
2575
2575
  return t.codePointAt(r);
@@ -2583,7 +2583,7 @@ var et = tn ? (
2583
2583
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2584
2584
  }
2585
2585
  }
2586
- ), fn = on ? (
2586
+ ), cn = an ? (
2587
2587
  // Native
2588
2588
  function(t) {
2589
2589
  return t.trimStart();
@@ -2591,9 +2591,9 @@ var et = tn ? (
2591
2591
  ) : (
2592
2592
  // Ponyfill
2593
2593
  function(t) {
2594
- return t.replace(Kr, "");
2594
+ return t.replace(en, "");
2595
2595
  }
2596
- ), cn = an ? (
2596
+ ), pn = un ? (
2597
2597
  // Native
2598
2598
  function(t) {
2599
2599
  return t.trimEnd();
@@ -2601,32 +2601,32 @@ var et = tn ? (
2601
2601
  ) : (
2602
2602
  // Ponyfill
2603
2603
  function(t) {
2604
- return t.replace(en, "");
2604
+ return t.replace(tn, "");
2605
2605
  }
2606
2606
  );
2607
- function Lt(e, t) {
2607
+ function $t(e, t) {
2608
2608
  return new RegExp(e, t);
2609
2609
  }
2610
- var Le;
2611
- if (Oe) {
2612
- var rt = Lt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2613
- Le = function(t, r) {
2610
+ var $e;
2611
+ if (Ie) {
2612
+ var nt = $t("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2613
+ $e = function(t, r) {
2614
2614
  var n;
2615
- rt.lastIndex = r;
2616
- var i = rt.exec(t);
2615
+ nt.lastIndex = r;
2616
+ var i = nt.exec(t);
2617
2617
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2618
2618
  };
2619
2619
  } else
2620
- Le = function(t, r) {
2620
+ $e = function(t, r) {
2621
2621
  for (var n = []; ; ) {
2622
- var i = It(t, r);
2623
- if (i === void 0 || $t(i) || bn(i))
2622
+ var i = Lt(t, r);
2623
+ if (i === void 0 || Ct(i) || gn(i))
2624
2624
  break;
2625
2625
  n.push(i), r += i >= 65536 ? 2 : 1;
2626
2626
  }
2627
- return Ie.apply(void 0, n);
2627
+ return Le.apply(void 0, n);
2628
2628
  };
2629
- var pn = (
2629
+ var mn = (
2630
2630
  /** @class */
2631
2631
  function() {
2632
2632
  function e(t, r) {
@@ -2648,16 +2648,16 @@ var pn = (
2648
2648
  if (s === 125 && t > 0)
2649
2649
  break;
2650
2650
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2651
- var a = this.clonePosition();
2651
+ var o = this.clonePosition();
2652
2652
  this.bump(), i.push({
2653
- type: g.pound,
2654
- location: b(a, this.clonePosition())
2653
+ type: E.pound,
2654
+ location: b(o, this.clonePosition())
2655
2655
  });
2656
2656
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2657
2657
  if (n)
2658
2658
  break;
2659
2659
  return this.error(d.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
2660
- } else if (s === 60 && !this.ignoreTag && $e(this.peek() || 0)) {
2660
+ } else if (s === 60 && !this.ignoreTag && Ce(this.peek() || 0)) {
2661
2661
  var u = this.parseTag(t, r);
2662
2662
  if (u.err)
2663
2663
  return u;
@@ -2678,7 +2678,7 @@ var pn = (
2678
2678
  if (this.bumpSpace(), this.bumpIf("/>"))
2679
2679
  return {
2680
2680
  val: {
2681
- type: g.literal,
2681
+ type: E.literal,
2682
2682
  value: "<".concat(i, "/>"),
2683
2683
  location: b(n, this.clonePosition())
2684
2684
  },
@@ -2688,27 +2688,27 @@ var pn = (
2688
2688
  var s = this.parseMessage(t + 1, r, !0);
2689
2689
  if (s.err)
2690
2690
  return s;
2691
- var u = s.val, a = this.clonePosition();
2691
+ var u = s.val, o = this.clonePosition();
2692
2692
  if (this.bumpIf("</")) {
2693
- if (this.isEOF() || !$e(this.char()))
2694
- return this.error(d.INVALID_TAG, b(a, this.clonePosition()));
2695
- var l = this.clonePosition(), o = this.parseTagName();
2696
- return i !== o ? this.error(d.UNMATCHED_CLOSING_TAG, b(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2693
+ if (this.isEOF() || !Ce(this.char()))
2694
+ return this.error(d.INVALID_TAG, b(o, this.clonePosition()));
2695
+ var l = this.clonePosition(), a = this.parseTagName();
2696
+ return i !== a ? this.error(d.UNMATCHED_CLOSING_TAG, b(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2697
2697
  val: {
2698
- type: g.tag,
2698
+ type: E.tag,
2699
2699
  value: i,
2700
2700
  children: u,
2701
2701
  location: b(n, this.clonePosition())
2702
2702
  },
2703
2703
  err: null
2704
- } : this.error(d.INVALID_TAG, b(a, this.clonePosition())));
2704
+ } : this.error(d.INVALID_TAG, b(o, this.clonePosition())));
2705
2705
  } else
2706
2706
  return this.error(d.UNCLOSED_TAG, b(n, this.clonePosition()));
2707
2707
  } else
2708
2708
  return this.error(d.INVALID_TAG, b(n, this.clonePosition()));
2709
2709
  }, e.prototype.parseTagName = function() {
2710
2710
  var t = this.offset();
2711
- for (this.bump(); !this.isEOF() && dn(this.char()); )
2711
+ for (this.bump(); !this.isEOF() && bn(this.char()); )
2712
2712
  this.bump();
2713
2713
  return this.message.slice(t, this.offset());
2714
2714
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2723,21 +2723,21 @@ var pn = (
2723
2723
  i += u;
2724
2724
  continue;
2725
2725
  }
2726
- var a = this.tryParseLeftAngleBracket();
2727
- if (a) {
2728
- i += a;
2726
+ var o = this.tryParseLeftAngleBracket();
2727
+ if (o) {
2728
+ i += o;
2729
2729
  continue;
2730
2730
  }
2731
2731
  break;
2732
2732
  }
2733
2733
  var l = b(n, this.clonePosition());
2734
2734
  return {
2735
- val: { type: g.literal, value: i, location: l },
2735
+ val: { type: E.literal, value: i, location: l },
2736
2736
  err: null
2737
2737
  };
2738
2738
  }, e.prototype.tryParseLeftAngleBracket = function() {
2739
2739
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2740
- !mn(this.peek() || 0)) ? (this.bump(), "<") : null;
2740
+ !dn(this.peek() || 0)) ? (this.bump(), "<") : null;
2741
2741
  }, e.prototype.tryParseQuote = function(t) {
2742
2742
  if (this.isEOF() || this.char() !== 39)
2743
2743
  return null;
@@ -2771,12 +2771,12 @@ var pn = (
2771
2771
  r.push(n);
2772
2772
  this.bump();
2773
2773
  }
2774
- return Ie.apply(void 0, r);
2774
+ return Le.apply(void 0, r);
2775
2775
  }, e.prototype.tryParseUnquoted = function(t, r) {
2776
2776
  if (this.isEOF())
2777
2777
  return null;
2778
2778
  var n = this.char();
2779
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ie(n));
2779
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Le(n));
2780
2780
  }, e.prototype.parseArgument = function(t, r) {
2781
2781
  var n = this.clonePosition();
2782
2782
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2792,7 +2792,7 @@ var pn = (
2792
2792
  case 125:
2793
2793
  return this.bump(), {
2794
2794
  val: {
2795
- type: g.argument,
2795
+ type: E.argument,
2796
2796
  // value does not include the opening and closing braces.
2797
2797
  value: i,
2798
2798
  location: b(n, this.clonePosition())
@@ -2805,66 +2805,66 @@ var pn = (
2805
2805
  return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2806
2806
  }
2807
2807
  }, e.prototype.parseIdentifierIfPossible = function() {
2808
- var t = this.clonePosition(), r = this.offset(), n = Le(this.message, r), i = r + n.length;
2808
+ var t = this.clonePosition(), r = this.offset(), n = $e(this.message, r), i = r + n.length;
2809
2809
  this.bumpTo(i);
2810
2810
  var s = this.clonePosition(), u = b(t, s);
2811
2811
  return { value: n, location: u };
2812
2812
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2813
- var s, u = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2814
- switch (a) {
2813
+ var s, u = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2814
+ switch (o) {
2815
2815
  case "":
2816
2816
  return this.error(d.EXPECT_ARGUMENT_TYPE, b(u, l));
2817
2817
  case "number":
2818
2818
  case "date":
2819
2819
  case "time": {
2820
2820
  this.bumpSpace();
2821
- var o = null;
2821
+ var a = null;
2822
2822
  if (this.bumpIf(",")) {
2823
2823
  this.bumpSpace();
2824
2824
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2825
2825
  if (f.err)
2826
2826
  return f;
2827
- var c = cn(f.val);
2827
+ var c = pn(f.val);
2828
2828
  if (c.length === 0)
2829
2829
  return this.error(d.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
2830
- var m = b(h, this.clonePosition());
2831
- o = { style: c, styleLocation: m };
2830
+ var p = b(h, this.clonePosition());
2831
+ a = { style: c, styleLocation: p };
2832
2832
  }
2833
- var p = this.tryParseArgumentClose(i);
2834
- if (p.err)
2835
- return p;
2836
- var y = b(i, this.clonePosition());
2837
- if (o && et(o == null ? void 0 : o.style, "::", 0)) {
2838
- var H = fn(o.style.slice(2));
2839
- if (a === "number") {
2840
- var f = this.parseNumberSkeletonFromString(H, o.styleLocation);
2833
+ var g = this.tryParseArgumentClose(i);
2834
+ if (g.err)
2835
+ return g;
2836
+ var m = b(i, this.clonePosition());
2837
+ if (a && tt(a == null ? void 0 : a.style, "::", 0)) {
2838
+ var v = cn(a.style.slice(2));
2839
+ if (o === "number") {
2840
+ var f = this.parseNumberSkeletonFromString(v, a.styleLocation);
2841
2841
  return f.err ? f : {
2842
- val: { type: g.number, value: n, location: y, style: f.val },
2842
+ val: { type: E.number, value: n, location: m, style: f.val },
2843
2843
  err: null
2844
2844
  };
2845
2845
  } else {
2846
- if (H.length === 0)
2847
- return this.error(d.EXPECT_DATE_TIME_SKELETON, y);
2848
- var X = H;
2849
- this.locale && (X = qr(H, this.locale));
2846
+ if (v.length === 0)
2847
+ return this.error(d.EXPECT_DATE_TIME_SKELETON, m);
2848
+ var w = v;
2849
+ this.locale && (w = Yr(v, this.locale));
2850
2850
  var c = {
2851
- type: G.dateTime,
2852
- pattern: X,
2853
- location: o.styleLocation,
2854
- parsedOptions: this.shouldParseSkeletons ? kr(X) : {}
2855
- }, $ = a === "date" ? g.date : g.time;
2851
+ type: z.dateTime,
2852
+ pattern: w,
2853
+ location: a.styleLocation,
2854
+ parsedOptions: this.shouldParseSkeletons ? Vr(w) : {}
2855
+ }, C = o === "date" ? E.date : E.time;
2856
2856
  return {
2857
- val: { type: $, value: n, location: y, style: c },
2857
+ val: { type: C, value: n, location: m, style: c },
2858
2858
  err: null
2859
2859
  };
2860
2860
  }
2861
2861
  }
2862
2862
  return {
2863
2863
  val: {
2864
- type: a === "number" ? g.number : a === "date" ? g.date : g.time,
2864
+ type: o === "number" ? E.number : o === "date" ? E.date : E.time,
2865
2865
  value: n,
2866
- location: y,
2867
- style: (s = o == null ? void 0 : o.style) !== null && s !== void 0 ? s : null
2866
+ location: m,
2867
+ style: (s = a == null ? void 0 : a.style) !== null && s !== void 0 ? s : null
2868
2868
  },
2869
2869
  err: null
2870
2870
  };
@@ -2874,41 +2874,41 @@ var pn = (
2874
2874
  case "select": {
2875
2875
  var B = this.clonePosition();
2876
2876
  if (this.bumpSpace(), !this.bumpIf(","))
2877
- return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, b(B, le({}, B)));
2877
+ return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, b(B, fe({}, B)));
2878
2878
  this.bumpSpace();
2879
- var W = this.parseIdentifierIfPossible(), w = 0;
2880
- if (a !== "select" && W.value === "offset") {
2879
+ var Z = this.parseIdentifierIfPossible(), O = 0;
2880
+ if (o !== "select" && Z.value === "offset") {
2881
2881
  if (!this.bumpIf(":"))
2882
2882
  return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
2883
2883
  this.bumpSpace();
2884
2884
  var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2885
2885
  if (f.err)
2886
2886
  return f;
2887
- this.bumpSpace(), W = this.parseIdentifierIfPossible(), w = f.val;
2887
+ this.bumpSpace(), Z = this.parseIdentifierIfPossible(), O = f.val;
2888
2888
  }
2889
- var ie = this.tryParsePluralOrSelectOptions(t, a, r, W);
2890
- if (ie.err)
2891
- return ie;
2892
- var p = this.tryParseArgumentClose(i);
2893
- if (p.err)
2894
- return p;
2895
- var Fe = b(i, this.clonePosition());
2896
- return a === "select" ? {
2889
+ var se = this.tryParsePluralOrSelectOptions(t, o, r, Z);
2890
+ if (se.err)
2891
+ return se;
2892
+ var g = this.tryParseArgumentClose(i);
2893
+ if (g.err)
2894
+ return g;
2895
+ var ze = b(i, this.clonePosition());
2896
+ return o === "select" ? {
2897
2897
  val: {
2898
- type: g.select,
2898
+ type: E.select,
2899
2899
  value: n,
2900
- options: tt(ie.val),
2901
- location: Fe
2900
+ options: rt(se.val),
2901
+ location: ze
2902
2902
  },
2903
2903
  err: null
2904
2904
  } : {
2905
2905
  val: {
2906
- type: g.plural,
2906
+ type: E.plural,
2907
2907
  value: n,
2908
- options: tt(ie.val),
2909
- offset: w,
2910
- pluralType: a === "plural" ? "cardinal" : "ordinal",
2911
- location: Fe
2908
+ options: rt(se.val),
2909
+ offset: O,
2910
+ pluralType: o === "plural" ? "cardinal" : "ordinal",
2911
+ location: ze
2912
2912
  },
2913
2913
  err: null
2914
2914
  };
@@ -2956,64 +2956,64 @@ var pn = (
2956
2956
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2957
2957
  var n = [];
2958
2958
  try {
2959
- n = Xr(t);
2959
+ n = Wr(t);
2960
2960
  } catch (i) {
2961
2961
  return this.error(d.INVALID_NUMBER_SKELETON, r);
2962
2962
  }
2963
2963
  return {
2964
2964
  val: {
2965
- type: G.number,
2965
+ type: z.number,
2966
2966
  tokens: n,
2967
2967
  location: r,
2968
- parsedOptions: this.shouldParseSkeletons ? Jr(n) : {}
2968
+ parsedOptions: this.shouldParseSkeletons ? qr(n) : {}
2969
2969
  },
2970
2970
  err: null
2971
2971
  };
2972
2972
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2973
- for (var s, u = !1, a = [], l = /* @__PURE__ */ new Set(), o = i.value, h = i.location; ; ) {
2974
- if (o.length === 0) {
2973
+ for (var s, u = !1, o = [], l = /* @__PURE__ */ new Set(), a = i.value, h = i.location; ; ) {
2974
+ if (a.length === 0) {
2975
2975
  var f = this.clonePosition();
2976
2976
  if (r !== "select" && this.bumpIf("=")) {
2977
2977
  var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
2978
2978
  if (c.err)
2979
2979
  return c;
2980
- h = b(f, this.clonePosition()), o = this.message.slice(f.offset, this.offset());
2980
+ h = b(f, this.clonePosition()), a = this.message.slice(f.offset, this.offset());
2981
2981
  } else
2982
2982
  break;
2983
2983
  }
2984
- if (l.has(o))
2984
+ if (l.has(a))
2985
2985
  return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
2986
- o === "other" && (u = !0), this.bumpSpace();
2987
- var m = this.clonePosition();
2986
+ a === "other" && (u = !0), this.bumpSpace();
2987
+ var p = this.clonePosition();
2988
2988
  if (!this.bumpIf("{"))
2989
2989
  return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
2990
- var p = this.parseMessage(t + 1, r, n);
2991
- if (p.err)
2992
- return p;
2993
- var y = this.tryParseArgumentClose(m);
2994
- if (y.err)
2995
- return y;
2996
- a.push([
2997
- o,
2990
+ var g = this.parseMessage(t + 1, r, n);
2991
+ if (g.err)
2992
+ return g;
2993
+ var m = this.tryParseArgumentClose(p);
2994
+ if (m.err)
2995
+ return m;
2996
+ o.push([
2997
+ a,
2998
2998
  {
2999
- value: p.val,
3000
- location: b(m, this.clonePosition())
2999
+ value: g.val,
3000
+ location: b(p, this.clonePosition())
3001
3001
  }
3002
- ]), l.add(o), this.bumpSpace(), s = this.parseIdentifierIfPossible(), o = s.value, h = s.location;
3002
+ ]), l.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, h = s.location;
3003
3003
  }
3004
- return a.length === 0 ? this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !u ? this.error(d.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3004
+ return o.length === 0 ? this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !u ? this.error(d.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3005
3005
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3006
3006
  var n = 1, i = this.clonePosition();
3007
3007
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3008
3008
  for (var s = !1, u = 0; !this.isEOF(); ) {
3009
- var a = this.char();
3010
- if (a >= 48 && a <= 57)
3011
- s = !0, u = u * 10 + (a - 48), this.bump();
3009
+ var o = this.char();
3010
+ if (o >= 48 && o <= 57)
3011
+ s = !0, u = u * 10 + (o - 48), this.bump();
3012
3012
  else
3013
3013
  break;
3014
3014
  }
3015
3015
  var l = b(i, this.clonePosition());
3016
- return s ? (u *= n, hn(u) ? { val: u, err: null } : this.error(r, l)) : this.error(t, l);
3016
+ return s ? (u *= n, ln(u) ? { val: u, err: null } : this.error(r, l)) : this.error(t, l);
3017
3017
  }, e.prototype.offset = function() {
3018
3018
  return this.position.offset;
3019
3019
  }, e.prototype.isEOF = function() {
@@ -3028,7 +3028,7 @@ var pn = (
3028
3028
  var t = this.position.offset;
3029
3029
  if (t >= this.message.length)
3030
3030
  throw Error("out of bound");
3031
- var r = It(this.message, t);
3031
+ var r = Lt(this.message, t);
3032
3032
  if (r === void 0)
3033
3033
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3034
3034
  return r;
@@ -3047,7 +3047,7 @@ var pn = (
3047
3047
  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);
3048
3048
  }
3049
3049
  }, e.prototype.bumpIf = function(t) {
3050
- if (et(this.message, t, this.offset())) {
3050
+ if (tt(this.message, t, this.offset())) {
3051
3051
  for (var r = 0; r < t.length; r++)
3052
3052
  this.bump();
3053
3053
  return !0;
@@ -3069,7 +3069,7 @@ var pn = (
3069
3069
  break;
3070
3070
  }
3071
3071
  }, e.prototype.bumpSpace = function() {
3072
- for (; !this.isEOF() && $t(this.char()); )
3072
+ for (; !this.isEOF() && Ct(this.char()); )
3073
3073
  this.bump();
3074
3074
  }, e.prototype.peek = function() {
3075
3075
  if (this.isEOF())
@@ -3079,47 +3079,47 @@ var pn = (
3079
3079
  }, e;
3080
3080
  }()
3081
3081
  );
3082
- function $e(e) {
3082
+ function Ce(e) {
3083
3083
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3084
3084
  }
3085
- function mn(e) {
3086
- return $e(e) || e === 47;
3087
- }
3088
3085
  function dn(e) {
3086
+ return Ce(e) || e === 47;
3087
+ }
3088
+ function bn(e) {
3089
3089
  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;
3090
3090
  }
3091
- function $t(e) {
3091
+ function Ct(e) {
3092
3092
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3093
3093
  }
3094
- function bn(e) {
3094
+ function gn(e) {
3095
3095
  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;
3096
3096
  }
3097
3097
  function Me(e) {
3098
3098
  e.forEach(function(t) {
3099
- if (delete t.location, Tt(t) || Pt(t))
3099
+ if (delete t.location, St(t) || Pt(t))
3100
3100
  for (var r in t.options)
3101
3101
  delete t.options[r].location, Me(t.options[r].value);
3102
3102
  else
3103
- vt(t) && Bt(t.style) || (_t(t) || Ht(t)) && we(t.style) ? delete t.style.location : St(t) && Me(t.children);
3103
+ _t(t) && At(t.style) || (Ht(t) || Tt(t)) && Oe(t.style) ? delete t.style.location : Bt(t) && Me(t.children);
3104
3104
  });
3105
3105
  }
3106
- function gn(e, t) {
3107
- t === void 0 && (t = {}), t = le({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3108
- var r = new pn(e, t).parse();
3106
+ function En(e, t) {
3107
+ t === void 0 && (t = {}), t = fe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3108
+ var r = new mn(e, t).parse();
3109
3109
  if (r.err) {
3110
3110
  var n = SyntaxError(d[r.err.kind]);
3111
3111
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3112
3112
  }
3113
3113
  return t != null && t.captureLocation || Me(r.val), r.val;
3114
3114
  }
3115
- var F;
3115
+ var j;
3116
3116
  (function(e) {
3117
3117
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3118
- })(F || (F = {}));
3119
- var de = (
3118
+ })(j || (j = {}));
3119
+ var be = (
3120
3120
  /** @class */
3121
3121
  function(e) {
3122
- me(t, e);
3122
+ de(t, e);
3123
3123
  function t(r, n, i) {
3124
3124
  var s = e.call(this, r) || this;
3125
3125
  return s.code = n, s.originalMessage = i, s;
@@ -3128,155 +3128,155 @@ var de = (
3128
3128
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3129
3129
  }, t;
3130
3130
  }(Error)
3131
- ), nt = (
3131
+ ), it = (
3132
3132
  /** @class */
3133
3133
  function(e) {
3134
- me(t, e);
3134
+ de(t, e);
3135
3135
  function t(r, n, i, s) {
3136
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), F.INVALID_VALUE, s) || this;
3136
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), j.INVALID_VALUE, s) || this;
3137
3137
  }
3138
3138
  return t;
3139
- }(de)
3140
- ), En = (
3139
+ }(be)
3140
+ ), yn = (
3141
3141
  /** @class */
3142
3142
  function(e) {
3143
- me(t, e);
3143
+ de(t, e);
3144
3144
  function t(r, n, i) {
3145
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), F.INVALID_VALUE, i) || this;
3145
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), j.INVALID_VALUE, i) || this;
3146
3146
  }
3147
3147
  return t;
3148
- }(de)
3149
- ), yn = (
3148
+ }(be)
3149
+ ), xn = (
3150
3150
  /** @class */
3151
3151
  function(e) {
3152
- me(t, e);
3152
+ de(t, e);
3153
3153
  function t(r, n) {
3154
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), F.MISSING_VALUE, n) || this;
3154
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), j.MISSING_VALUE, n) || this;
3155
3155
  }
3156
3156
  return t;
3157
- }(de)
3158
- ), _;
3157
+ }(be)
3158
+ ), H;
3159
3159
  (function(e) {
3160
3160
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3161
- })(_ || (_ = {}));
3162
- function xn(e) {
3161
+ })(H || (H = {}));
3162
+ function vn(e) {
3163
3163
  return e.length < 2 ? e : e.reduce(function(t, r) {
3164
3164
  var n = t[t.length - 1];
3165
- return !n || n.type !== _.literal || r.type !== _.literal ? t.push(r) : n.value += r.value, t;
3165
+ return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
3166
3166
  }, []);
3167
3167
  }
3168
- function vn(e) {
3168
+ function _n(e) {
3169
3169
  return typeof e == "function";
3170
3170
  }
3171
- function ae(e, t, r, n, i, s, u) {
3172
- if (e.length === 1 && Je(e[0]))
3171
+ function ue(e, t, r, n, i, s, u) {
3172
+ if (e.length === 1 && qe(e[0]))
3173
3173
  return [
3174
3174
  {
3175
- type: _.literal,
3175
+ type: H.literal,
3176
3176
  value: e[0].value
3177
3177
  }
3178
3178
  ];
3179
- for (var a = [], l = 0, o = e; l < o.length; l++) {
3180
- var h = o[l];
3181
- if (Je(h)) {
3182
- a.push({
3183
- type: _.literal,
3179
+ for (var o = [], l = 0, a = e; l < a.length; l++) {
3180
+ var h = a[l];
3181
+ if (qe(h)) {
3182
+ o.push({
3183
+ type: H.literal,
3184
3184
  value: h.value
3185
3185
  });
3186
3186
  continue;
3187
3187
  }
3188
- if (zr(h)) {
3189
- typeof s == "number" && a.push({
3190
- type: _.literal,
3188
+ if (jr(h)) {
3189
+ typeof s == "number" && o.push({
3190
+ type: H.literal,
3191
3191
  value: r.getNumberFormat(t).format(s)
3192
3192
  });
3193
3193
  continue;
3194
3194
  }
3195
3195
  var f = h.value;
3196
3196
  if (!(i && f in i))
3197
- throw new yn(f, u);
3197
+ throw new xn(f, u);
3198
3198
  var c = i[f];
3199
- if (Fr(h)) {
3200
- (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3201
- type: typeof c == "string" ? _.literal : _.object,
3199
+ if (zr(h)) {
3200
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), o.push({
3201
+ type: typeof c == "string" ? H.literal : H.object,
3202
3202
  value: c
3203
3203
  });
3204
3204
  continue;
3205
3205
  }
3206
- if (_t(h)) {
3207
- var m = typeof h.style == "string" ? n.date[h.style] : we(h.style) ? h.style.parsedOptions : void 0;
3208
- a.push({
3209
- type: _.literal,
3210
- value: r.getDateTimeFormat(t, m).format(c)
3206
+ if (Ht(h)) {
3207
+ var p = typeof h.style == "string" ? n.date[h.style] : Oe(h.style) ? h.style.parsedOptions : void 0;
3208
+ o.push({
3209
+ type: H.literal,
3210
+ value: r.getDateTimeFormat(t, p).format(c)
3211
3211
  });
3212
3212
  continue;
3213
3213
  }
3214
- if (Ht(h)) {
3215
- var m = typeof h.style == "string" ? n.time[h.style] : we(h.style) ? h.style.parsedOptions : n.time.medium;
3216
- a.push({
3217
- type: _.literal,
3218
- value: r.getDateTimeFormat(t, m).format(c)
3214
+ if (Tt(h)) {
3215
+ var p = typeof h.style == "string" ? n.time[h.style] : Oe(h.style) ? h.style.parsedOptions : n.time.medium;
3216
+ o.push({
3217
+ type: H.literal,
3218
+ value: r.getDateTimeFormat(t, p).format(c)
3219
3219
  });
3220
3220
  continue;
3221
3221
  }
3222
- if (vt(h)) {
3223
- var m = typeof h.style == "string" ? n.number[h.style] : Bt(h.style) ? h.style.parsedOptions : void 0;
3224
- m && m.scale && (c = c * (m.scale || 1)), a.push({
3225
- type: _.literal,
3226
- value: r.getNumberFormat(t, m).format(c)
3222
+ if (_t(h)) {
3223
+ var p = typeof h.style == "string" ? n.number[h.style] : At(h.style) ? h.style.parsedOptions : void 0;
3224
+ p && p.scale && (c = c * (p.scale || 1)), o.push({
3225
+ type: H.literal,
3226
+ value: r.getNumberFormat(t, p).format(c)
3227
3227
  });
3228
3228
  continue;
3229
3229
  }
3230
- if (St(h)) {
3231
- var p = h.children, y = h.value, H = i[y];
3232
- if (!vn(H))
3233
- throw new En(y, "function", u);
3234
- var X = ae(p, t, r, n, i, s), $ = H(X.map(function(w) {
3235
- return w.value;
3230
+ if (Bt(h)) {
3231
+ var g = h.children, m = h.value, v = i[m];
3232
+ if (!_n(v))
3233
+ throw new yn(m, "function", u);
3234
+ var w = ue(g, t, r, n, i, s), C = v(w.map(function(O) {
3235
+ return O.value;
3236
3236
  }));
3237
- Array.isArray($) || ($ = [$]), a.push.apply(a, $.map(function(w) {
3237
+ Array.isArray(C) || (C = [C]), o.push.apply(o, C.map(function(O) {
3238
3238
  return {
3239
- type: typeof w == "string" ? _.literal : _.object,
3240
- value: w
3239
+ type: typeof O == "string" ? H.literal : H.object,
3240
+ value: O
3241
3241
  };
3242
3242
  }));
3243
3243
  }
3244
- if (Tt(h)) {
3244
+ if (St(h)) {
3245
3245
  var B = h.options[c] || h.options.other;
3246
3246
  if (!B)
3247
- throw new nt(h.value, c, Object.keys(h.options), u);
3248
- a.push.apply(a, ae(B.value, t, r, n, i));
3247
+ throw new it(h.value, c, Object.keys(h.options), u);
3248
+ o.push.apply(o, ue(B.value, t, r, n, i));
3249
3249
  continue;
3250
3250
  }
3251
3251
  if (Pt(h)) {
3252
3252
  var B = h.options["=".concat(c)];
3253
3253
  if (!B) {
3254
3254
  if (!Intl.PluralRules)
3255
- throw new de(`Intl.PluralRules is not available in this environment.
3255
+ throw new be(`Intl.PluralRules is not available in this environment.
3256
3256
  Try polyfilling it using "@formatjs/intl-pluralrules"
3257
- `, F.MISSING_INTL_API, u);
3258
- var W = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3259
- B = h.options[W] || h.options.other;
3257
+ `, j.MISSING_INTL_API, u);
3258
+ var Z = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3259
+ B = h.options[Z] || h.options.other;
3260
3260
  }
3261
3261
  if (!B)
3262
- throw new nt(h.value, c, Object.keys(h.options), u);
3263
- a.push.apply(a, ae(B.value, t, r, n, i, c - (h.offset || 0)));
3262
+ throw new it(h.value, c, Object.keys(h.options), u);
3263
+ o.push.apply(o, ue(B.value, t, r, n, i, c - (h.offset || 0)));
3264
3264
  continue;
3265
3265
  }
3266
3266
  }
3267
- return xn(a);
3267
+ return vn(o);
3268
3268
  }
3269
- function _n(e, t) {
3269
+ function Hn(e, t) {
3270
3270
  return t ? A(A(A({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3271
3271
  return r[n] = A(A({}, e[n]), t[n] || {}), r;
3272
3272
  }, {})) : e;
3273
3273
  }
3274
- function Hn(e, t) {
3274
+ function Tn(e, t) {
3275
3275
  return t ? Object.keys(e).reduce(function(r, n) {
3276
- return r[n] = _n(e[n], t[n]), r;
3276
+ return r[n] = Hn(e[n], t[n]), r;
3277
3277
  }, A({}, e)) : e;
3278
3278
  }
3279
- function Te(e) {
3279
+ function Se(e) {
3280
3280
  return {
3281
3281
  create: function() {
3282
3282
  return {
@@ -3290,35 +3290,35 @@ function Te(e) {
3290
3290
  }
3291
3291
  };
3292
3292
  }
3293
- function Tn(e) {
3293
+ function Sn(e) {
3294
3294
  return e === void 0 && (e = {
3295
3295
  number: {},
3296
3296
  dateTime: {},
3297
3297
  pluralRules: {}
3298
3298
  }), {
3299
- getNumberFormat: ve(function() {
3299
+ getNumberFormat: _e(function() {
3300
3300
  for (var t, r = [], n = 0; n < arguments.length; n++)
3301
3301
  r[n] = arguments[n];
3302
- return new ((t = Intl.NumberFormat).bind.apply(t, xe([void 0], r, !1)))();
3302
+ return new ((t = Intl.NumberFormat).bind.apply(t, ve([void 0], r, !1)))();
3303
3303
  }, {
3304
- cache: Te(e.number),
3305
- strategy: _e.variadic
3304
+ cache: Se(e.number),
3305
+ strategy: He.variadic
3306
3306
  }),
3307
- getDateTimeFormat: ve(function() {
3307
+ getDateTimeFormat: _e(function() {
3308
3308
  for (var t, r = [], n = 0; n < arguments.length; n++)
3309
3309
  r[n] = arguments[n];
3310
- return new ((t = Intl.DateTimeFormat).bind.apply(t, xe([void 0], r, !1)))();
3310
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, ve([void 0], r, !1)))();
3311
3311
  }, {
3312
- cache: Te(e.dateTime),
3313
- strategy: _e.variadic
3312
+ cache: Se(e.dateTime),
3313
+ strategy: He.variadic
3314
3314
  }),
3315
- getPluralRules: ve(function() {
3315
+ getPluralRules: _e(function() {
3316
3316
  for (var t, r = [], n = 0; n < arguments.length; n++)
3317
3317
  r[n] = arguments[n];
3318
- return new ((t = Intl.PluralRules).bind.apply(t, xe([void 0], r, !1)))();
3318
+ return new ((t = Intl.PluralRules).bind.apply(t, ve([void 0], r, !1)))();
3319
3319
  }, {
3320
- cache: Te(e.pluralRules),
3321
- strategy: _e.variadic
3320
+ cache: Se(e.pluralRules),
3321
+ strategy: He.variadic
3322
3322
  })
3323
3323
  };
3324
3324
  }
@@ -3333,15 +3333,15 @@ var Pn = (
3333
3333
  dateTime: {},
3334
3334
  pluralRules: {}
3335
3335
  }, this.format = function(l) {
3336
- var o = s.formatToParts(l);
3337
- if (o.length === 1)
3338
- return o[0].value;
3339
- var h = o.reduce(function(f, c) {
3340
- return !f.length || c.type !== _.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3336
+ var a = s.formatToParts(l);
3337
+ if (a.length === 1)
3338
+ return a[0].value;
3339
+ var h = a.reduce(function(f, c) {
3340
+ return !f.length || c.type !== H.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3341
3341
  }, []);
3342
3342
  return h.length <= 1 ? h[0] || "" : h;
3343
3343
  }, this.formatToParts = function(l) {
3344
- return ae(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3344
+ return ue(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3345
3345
  }, this.resolvedOptions = function() {
3346
3346
  var l;
3347
3347
  return {
@@ -3354,13 +3354,13 @@ var Pn = (
3354
3354
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3355
3355
  var u = i || {};
3356
3356
  u.formatters;
3357
- var a = Lr(u, ["formatters"]);
3358
- this.ast = e.__parse(t, A(A({}, a), { locale: this.resolvedLocale }));
3357
+ var o = $r(u, ["formatters"]);
3358
+ this.ast = e.__parse(t, A(A({}, o), { locale: this.resolvedLocale }));
3359
3359
  } else
3360
3360
  this.ast = t;
3361
3361
  if (!Array.isArray(this.ast))
3362
3362
  throw new TypeError("A message must be provided as a String or AST.");
3363
- this.formats = Hn(e.formats, n), this.formatters = i && i.formatters || Tn(this.formatterCache);
3363
+ this.formats = Tn(e.formats, n), this.formatters = i && i.formatters || Sn(this.formatterCache);
3364
3364
  }
3365
3365
  return Object.defineProperty(e, "defaultLocale", {
3366
3366
  get: function() {
@@ -3373,7 +3373,7 @@ var Pn = (
3373
3373
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3374
3374
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3375
3375
  }
3376
- }, e.__parse = gn, e.formats = {
3376
+ }, e.__parse = En, e.formats = {
3377
3377
  number: {
3378
3378
  integer: {
3379
3379
  maximumFractionDigits: 0
@@ -3434,7 +3434,7 @@ var Pn = (
3434
3434
  }, e;
3435
3435
  }()
3436
3436
  );
3437
- function Sn(e, t) {
3437
+ function Bn(e, t) {
3438
3438
  if (t == null)
3439
3439
  return;
3440
3440
  if (t in e)
@@ -3455,92 +3455,92 @@ function Sn(e, t) {
3455
3455
  n = void 0;
3456
3456
  return n;
3457
3457
  }
3458
- const N = {}, Bn = (e, t, r) => r && (t in N || (N[t] = {}), e in N[t] || (N[t][e] = r), r), Mt = (e, t) => {
3458
+ const N = {}, An = (e, t, r) => r && (t in N || (N[t] = {}), e in N[t] || (N[t][e] = r), r), Mt = (e, t) => {
3459
3459
  if (t == null)
3460
3460
  return;
3461
3461
  if (t in N && e in N[t])
3462
3462
  return N[t][e];
3463
- const r = be(t);
3463
+ const r = ge(t);
3464
3464
  for (let n = 0; n < r.length; n++) {
3465
3465
  const i = r[n], s = Nn(i, e);
3466
3466
  if (s)
3467
- return Bn(e, t, s);
3467
+ return An(e, t, s);
3468
3468
  }
3469
3469
  };
3470
- let De;
3471
- const re = pe({});
3472
- function An(e) {
3473
- return De[e] || null;
3470
+ let Ge;
3471
+ const ne = me({});
3472
+ function wn(e) {
3473
+ return Ge[e] || null;
3474
3474
  }
3475
- function Ct(e) {
3476
- return e in De;
3475
+ function Rt(e) {
3476
+ return e in Ge;
3477
3477
  }
3478
3478
  function Nn(e, t) {
3479
- if (!Ct(e))
3479
+ if (!Rt(e))
3480
3480
  return null;
3481
- const r = An(e);
3482
- return Sn(r, t);
3481
+ const r = wn(e);
3482
+ return Bn(r, t);
3483
3483
  }
3484
- function wn(e) {
3484
+ function On(e) {
3485
3485
  if (e == null)
3486
3486
  return;
3487
- const t = be(e);
3487
+ const t = ge(e);
3488
3488
  for (let r = 0; r < t.length; r++) {
3489
3489
  const n = t[r];
3490
- if (Ct(n))
3490
+ if (Rt(n))
3491
3491
  return n;
3492
3492
  }
3493
3493
  }
3494
- function Rt(e, ...t) {
3495
- delete N[e], re.update((r) => (r[e] = Ir.all([r[e] || {}, ...t]), r));
3494
+ function Ut(e, ...t) {
3495
+ delete N[e], ne.update((r) => (r[e] = Lr.all([r[e] || {}, ...t]), r));
3496
3496
  }
3497
- k(
3498
- [re],
3497
+ X(
3498
+ [ne],
3499
3499
  ([e]) => Object.keys(e)
3500
3500
  );
3501
- re.subscribe((e) => De = e);
3502
- const ue = {};
3503
- function On(e, t) {
3504
- ue[e].delete(t), ue[e].size === 0 && delete ue[e];
3501
+ ne.subscribe((e) => Ge = e);
3502
+ const he = {};
3503
+ function In(e, t) {
3504
+ he[e].delete(t), he[e].size === 0 && delete he[e];
3505
3505
  }
3506
- function Ut(e) {
3507
- return ue[e];
3506
+ function Dt(e) {
3507
+ return he[e];
3508
3508
  }
3509
- function In(e) {
3510
- return be(e).map((t) => {
3511
- const r = Ut(t);
3509
+ function Ln(e) {
3510
+ return ge(e).map((t) => {
3511
+ const r = Dt(t);
3512
3512
  return [t, r ? [...r] : []];
3513
3513
  }).filter(([, t]) => t.length > 0);
3514
3514
  }
3515
- function Ce(e) {
3516
- return e == null ? !1 : be(e).some(
3515
+ function Re(e) {
3516
+ return e == null ? !1 : ge(e).some(
3517
3517
  (t) => {
3518
3518
  var r;
3519
- return (r = Ut(t)) == null ? void 0 : r.size;
3519
+ return (r = Dt(t)) == null ? void 0 : r.size;
3520
3520
  }
3521
3521
  );
3522
3522
  }
3523
- function Ln(e, t) {
3523
+ function $n(e, t) {
3524
3524
  return Promise.all(
3525
- t.map((n) => (On(e, n), n().then((i) => i.default || i)))
3526
- ).then((n) => Rt(e, ...n));
3527
- }
3528
- const Z = {};
3529
- function Dt(e) {
3530
- if (!Ce(e))
3531
- return e in Z ? Z[e] : Promise.resolve();
3532
- const t = In(e);
3533
- return Z[e] = Promise.all(
3525
+ t.map((n) => (In(e, n), n().then((i) => i.default || i)))
3526
+ ).then((n) => Ut(e, ...n));
3527
+ }
3528
+ const Q = {};
3529
+ function Gt(e) {
3530
+ if (!Re(e))
3531
+ return e in Q ? Q[e] : Promise.resolve();
3532
+ const t = Ln(e);
3533
+ return Q[e] = Promise.all(
3534
3534
  t.map(
3535
- ([r, n]) => Ln(r, n)
3535
+ ([r, n]) => $n(r, n)
3536
3536
  )
3537
3537
  ).then(() => {
3538
- if (Ce(e))
3539
- return Dt(e);
3540
- delete Z[e];
3541
- }), Z[e];
3538
+ if (Re(e))
3539
+ return Gt(e);
3540
+ delete Q[e];
3541
+ }), Q[e];
3542
3542
  }
3543
- const $n = {
3543
+ const Cn = {
3544
3544
  number: {
3545
3545
  scientific: { notation: "scientific" },
3546
3546
  engineering: { notation: "engineering" },
@@ -3572,139 +3572,139 @@ const $n = {
3572
3572
  }, Mn = {
3573
3573
  fallbackLocale: null,
3574
3574
  loadingDelay: 200,
3575
- formats: $n,
3575
+ formats: Cn,
3576
3576
  warnOnMissingMessages: !0,
3577
3577
  handleMissingMessage: void 0,
3578
3578
  ignoreTag: !0
3579
- }, Cn = Mn;
3580
- function z() {
3581
- return Cn;
3579
+ }, Rn = Mn;
3580
+ function k() {
3581
+ return Rn;
3582
3582
  }
3583
- const Pe = pe(!1);
3584
- var Rn = Object.defineProperty, Un = Object.defineProperties, Dn = Object.getOwnPropertyDescriptors, it = Object.getOwnPropertySymbols, Gn = Object.prototype.hasOwnProperty, Fn = Object.prototype.propertyIsEnumerable, st = (e, t, r) => t in e ? Rn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, zn = (e, t) => {
3583
+ const Pe = me(!1);
3584
+ var Un = Object.defineProperty, Dn = Object.defineProperties, Gn = Object.getOwnPropertyDescriptors, st = Object.getOwnPropertySymbols, Fn = Object.prototype.hasOwnProperty, zn = Object.prototype.propertyIsEnumerable, ot = (e, t, r) => t in e ? Un(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, jn = (e, t) => {
3585
3585
  for (var r in t || (t = {}))
3586
- Gn.call(t, r) && st(e, r, t[r]);
3587
- if (it)
3588
- for (var r of it(t))
3589
- Fn.call(t, r) && st(e, r, t[r]);
3586
+ Fn.call(t, r) && ot(e, r, t[r]);
3587
+ if (st)
3588
+ for (var r of st(t))
3589
+ zn.call(t, r) && ot(e, r, t[r]);
3590
3590
  return e;
3591
- }, jn = (e, t) => Un(e, Dn(t));
3592
- let Re;
3593
- const fe = pe(null);
3594
- function ot(e) {
3591
+ }, kn = (e, t) => Dn(e, Gn(t));
3592
+ let Ue;
3593
+ const ce = me(null);
3594
+ function at(e) {
3595
3595
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3596
3596
  }
3597
- function be(e, t = z().fallbackLocale) {
3598
- const r = ot(e);
3599
- return t ? [.../* @__PURE__ */ new Set([...r, ...ot(t)])] : r;
3597
+ function ge(e, t = k().fallbackLocale) {
3598
+ const r = at(e);
3599
+ return t ? [.../* @__PURE__ */ new Set([...r, ...at(t)])] : r;
3600
3600
  }
3601
- function L() {
3602
- return Re != null ? Re : void 0;
3601
+ function $() {
3602
+ return Ue != null ? Ue : void 0;
3603
3603
  }
3604
- fe.subscribe((e) => {
3605
- Re = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3604
+ ce.subscribe((e) => {
3605
+ Ue = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3606
3606
  });
3607
- const kn = (e) => {
3608
- if (e && wn(e) && Ce(e)) {
3609
- const { loadingDelay: t } = z();
3607
+ const Vn = (e) => {
3608
+ if (e && On(e) && Re(e)) {
3609
+ const { loadingDelay: t } = k();
3610
3610
  let r;
3611
- return typeof window != "undefined" && L() != null && t ? r = window.setTimeout(
3611
+ return typeof window != "undefined" && $() != null && t ? r = window.setTimeout(
3612
3612
  () => Pe.set(!0),
3613
3613
  t
3614
- ) : Pe.set(!0), Dt(e).then(() => {
3615
- fe.set(e);
3614
+ ) : Pe.set(!0), Gt(e).then(() => {
3615
+ ce.set(e);
3616
3616
  }).finally(() => {
3617
3617
  clearTimeout(r), Pe.set(!1);
3618
3618
  });
3619
3619
  }
3620
- return fe.set(e);
3621
- }, ne = jn(zn({}, fe), {
3622
- set: kn
3623
- }), ge = (e) => {
3620
+ return ce.set(e);
3621
+ }, ie = kn(jn({}, ce), {
3622
+ set: Vn
3623
+ }), Ee = (e) => {
3624
3624
  const t = /* @__PURE__ */ Object.create(null);
3625
3625
  return (n) => {
3626
3626
  const i = JSON.stringify(n);
3627
3627
  return i in t ? t[i] : t[i] = e(n);
3628
3628
  };
3629
3629
  };
3630
- var Vn = Object.defineProperty, ce = Object.getOwnPropertySymbols, Gt = Object.prototype.hasOwnProperty, Ft = Object.prototype.propertyIsEnumerable, at = (e, t, r) => t in e ? Vn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ge = (e, t) => {
3630
+ var Xn = Object.defineProperty, pe = Object.getOwnPropertySymbols, Ft = Object.prototype.hasOwnProperty, zt = Object.prototype.propertyIsEnumerable, ut = (e, t, r) => t in e ? Xn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Fe = (e, t) => {
3631
3631
  for (var r in t || (t = {}))
3632
- Gt.call(t, r) && at(e, r, t[r]);
3633
- if (ce)
3634
- for (var r of ce(t))
3635
- Ft.call(t, r) && at(e, r, t[r]);
3632
+ Ft.call(t, r) && ut(e, r, t[r]);
3633
+ if (pe)
3634
+ for (var r of pe(t))
3635
+ zt.call(t, r) && ut(e, r, t[r]);
3636
3636
  return e;
3637
- }, V = (e, t) => {
3637
+ }, W = (e, t) => {
3638
3638
  var r = {};
3639
3639
  for (var n in e)
3640
- Gt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3641
- if (e != null && ce)
3642
- for (var n of ce(e))
3643
- t.indexOf(n) < 0 && Ft.call(e, n) && (r[n] = e[n]);
3640
+ Ft.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3641
+ if (e != null && pe)
3642
+ for (var n of pe(e))
3643
+ t.indexOf(n) < 0 && zt.call(e, n) && (r[n] = e[n]);
3644
3644
  return r;
3645
3645
  };
3646
- const K = (e, t) => {
3647
- const { formats: r } = z();
3646
+ const ee = (e, t) => {
3647
+ const { formats: r } = k();
3648
3648
  if (e in r && t in r[e])
3649
3649
  return r[e][t];
3650
3650
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3651
- }, Xn = ge(
3651
+ }, Wn = Ee(
3652
3652
  (e) => {
3653
- var t = e, { locale: r, format: n } = t, i = V(t, ["locale", "format"]);
3653
+ var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
3654
3654
  if (r == null)
3655
3655
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3656
- return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
3656
+ return n && (i = ee("number", n)), new Intl.NumberFormat(r, i);
3657
3657
  }
3658
- ), Wn = ge(
3658
+ ), Zn = Ee(
3659
3659
  (e) => {
3660
- var t = e, { locale: r, format: n } = t, i = V(t, ["locale", "format"]);
3660
+ var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
3661
3661
  if (r == null)
3662
3662
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3663
- return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
3663
+ return n ? i = ee("date", n) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(r, i);
3664
3664
  }
3665
- ), Zn = ge(
3665
+ ), Qn = Ee(
3666
3666
  (e) => {
3667
- var t = e, { locale: r, format: n } = t, i = V(t, ["locale", "format"]);
3667
+ var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
3668
3668
  if (r == null)
3669
3669
  throw new Error(
3670
3670
  '[svelte-i18n] A "locale" must be set to format time values'
3671
3671
  );
3672
- return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
3672
+ return n ? i = ee("time", n) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(r, i);
3673
3673
  }
3674
- ), Qn = (e = {}) => {
3674
+ ), Jn = (e = {}) => {
3675
3675
  var t = e, {
3676
- locale: r = L()
3677
- } = t, n = V(t, [
3676
+ locale: r = $()
3677
+ } = t, n = W(t, [
3678
3678
  "locale"
3679
3679
  ]);
3680
- return Xn(Ge({ locale: r }, n));
3681
- }, Jn = (e = {}) => {
3680
+ return Wn(Fe({ locale: r }, n));
3681
+ }, qn = (e = {}) => {
3682
3682
  var t = e, {
3683
- locale: r = L()
3684
- } = t, n = V(t, [
3683
+ locale: r = $()
3684
+ } = t, n = W(t, [
3685
3685
  "locale"
3686
3686
  ]);
3687
- return Wn(Ge({ locale: r }, n));
3688
- }, qn = (e = {}) => {
3687
+ return Zn(Fe({ locale: r }, n));
3688
+ }, Yn = (e = {}) => {
3689
3689
  var t = e, {
3690
- locale: r = L()
3691
- } = t, n = V(t, [
3690
+ locale: r = $()
3691
+ } = t, n = W(t, [
3692
3692
  "locale"
3693
3693
  ]);
3694
- return Zn(Ge({ locale: r }, n));
3695
- }, Yn = ge(
3694
+ return Qn(Fe({ locale: r }, n));
3695
+ }, Kn = Ee(
3696
3696
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3697
- (e, t = L()) => new Pn(e, t, z().formats, {
3698
- ignoreTag: z().ignoreTag
3697
+ (e, t = $()) => new Pn(e, t, k().formats, {
3698
+ ignoreTag: k().ignoreTag
3699
3699
  })
3700
- ), Kn = (e, t = {}) => {
3700
+ ), ei = (e, t = {}) => {
3701
3701
  var r, n, i, s;
3702
3702
  let u = t;
3703
3703
  typeof e == "object" && (u = e, e = u.id);
3704
3704
  const {
3705
- values: a,
3706
- locale: l = L(),
3707
- default: o
3705
+ values: o,
3706
+ locale: l = $(),
3707
+ default: a
3708
3708
  } = u;
3709
3709
  if (l == null)
3710
3710
  throw new Error(
@@ -3712,16 +3712,16 @@ const K = (e, t) => {
3712
3712
  );
3713
3713
  let h = Mt(e, l);
3714
3714
  if (!h)
3715
- h = (s = (i = (n = (r = z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: o })) != null ? i : o) != null ? s : e;
3715
+ h = (s = (i = (n = (r = k()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
3716
3716
  else if (typeof h != "string")
3717
3717
  return console.warn(
3718
3718
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3719
3719
  ), h;
3720
- if (!a)
3720
+ if (!o)
3721
3721
  return h;
3722
3722
  let f = h;
3723
3723
  try {
3724
- f = Yn(h, l).format(a);
3724
+ f = Kn(h, l).format(o);
3725
3725
  } catch (c) {
3726
3726
  c instanceof Error && console.warn(
3727
3727
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3729,15 +3729,15 @@ const K = (e, t) => {
3729
3729
  );
3730
3730
  }
3731
3731
  return f;
3732
- }, ei = (e, t) => qn(t).format(e), ti = (e, t) => Jn(t).format(e), ri = (e, t) => Qn(t).format(e), ni = (e, t = L()) => Mt(e, t), ii = k([ne, re], () => Kn);
3733
- k([ne], () => ei);
3734
- k([ne], () => ti);
3735
- k([ne], () => ri);
3736
- k([ne, re], () => ni);
3737
- function ut(e, t) {
3738
- Rt(e, t);
3739
- }
3740
- const ht = {
3732
+ }, ti = (e, t) => Yn(t).format(e), ri = (e, t) => qn(t).format(e), ni = (e, t) => Jn(t).format(e), ii = (e, t = $()) => Mt(e, t), si = X([ie, ne], () => ei);
3733
+ X([ie], () => ti);
3734
+ X([ie], () => ri);
3735
+ X([ie], () => ni);
3736
+ X([ie, ne], () => ii);
3737
+ function ht(e, t) {
3738
+ Ut(e, t);
3739
+ }
3740
+ const lt = {
3741
3741
  en: {
3742
3742
  prizes: "Prizes",
3743
3743
  noprizes: "No available prizes",
@@ -3793,14 +3793,14 @@ const ht = {
3793
3793
  noprizes: "No available prizes",
3794
3794
  place: "place"
3795
3795
  }
3796
- };
3797
- function si(e, t) {
3796
+ }, D = "__WIDGET_GLOBAL_STYLE_CACHE__";
3797
+ function oi(e, t) {
3798
3798
  if (e) {
3799
3799
  const r = document.createElement("style");
3800
3800
  r.innerHTML = t, e.appendChild(r);
3801
3801
  }
3802
3802
  }
3803
- function oi(e, t) {
3803
+ function ai(e, t) {
3804
3804
  if (!e || !t)
3805
3805
  return;
3806
3806
  const r = new URL(t);
@@ -3811,87 +3811,115 @@ function oi(e, t) {
3811
3811
  console.error("There was an error while trying to load client styling from URL", n);
3812
3812
  });
3813
3813
  }
3814
- function ai(e, t, r) {
3815
- if (window.emMessageBus) {
3816
- const n = document.createElement("style");
3817
- window.emMessageBus.subscribe(t, (i) => {
3818
- n.innerHTML = i, e && e.appendChild(n);
3814
+ function ui(e, t, r, n = !1) {
3815
+ if (!window.emMessageBus)
3816
+ return;
3817
+ if (!("adoptedStyleSheets" in Document.prototype) || !n)
3818
+ return r = hi(e, t), r;
3819
+ window[D] || (window[D] = {}), r = li(e, t);
3820
+ const s = r.unsubscribe.bind(r), u = () => {
3821
+ if (window[D][t]) {
3822
+ const o = window[D][t];
3823
+ o.refCount > 1 ? o.refCount = o.refCount - 1 : delete window[D][t];
3824
+ }
3825
+ s();
3826
+ };
3827
+ return r.unsubscribe = u, r;
3828
+ }
3829
+ function hi(e, t) {
3830
+ const r = document.createElement("style");
3831
+ return window.emMessageBus.subscribe(t, (n) => {
3832
+ e && (r.innerHTML = n, e.appendChild(r));
3833
+ });
3834
+ }
3835
+ function li(e, t) {
3836
+ return window.emMessageBus.subscribe(t, (r) => {
3837
+ var o;
3838
+ if (!e)
3839
+ return;
3840
+ const n = e.getRootNode(), i = window[D];
3841
+ let s = (o = i[t]) == null ? void 0 : o.sheet;
3842
+ s ? i[t].refCount = i[t].refCount + 1 : (s = new CSSStyleSheet(), s.replaceSync(r), i[t] = {
3843
+ sheet: s,
3844
+ refCount: 1
3819
3845
  });
3820
- }
3846
+ const u = n.adoptedStyleSheets || [];
3847
+ u.includes(s) || (n.adoptedStyleSheets = [...u, s]);
3848
+ });
3821
3849
  }
3822
- function ui(e) {
3823
- Qt(e, "svelte-1bsrm1d", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}span{color:var(--emw--color-gray-100, #E6E6E6)}.TournamentPrizes{font-size:11px;margin-left:20px;margin-right:20px;display:flex;gap:5px}.PrizesTitle{padding-top:8px}.Prizes{padding-left:20px;flex-wrap:wrap;display:flex;gap:20px;width:100%;min-height:50px;padding-top:8px}.Prize{flex-grow:1;color:var(--emw--color-gray-300, #58586B)}.Prize.Prize0 span{color:#FECF00}.Prize.Prize1 span{color:#D9B206}.Prize.Prize2 span{color:#9B8007}.Prize p{color:var(--emw--color-white, #FFFFFF)}");
3850
+ function fi(e) {
3851
+ Jt(e, "svelte-1bsrm1d", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}span{color:var(--emw--color-gray-100, #E6E6E6)}.TournamentPrizes{font-size:11px;margin-left:20px;margin-right:20px;display:flex;gap:5px}.PrizesTitle{padding-top:8px}.Prizes{padding-left:20px;flex-wrap:wrap;display:flex;gap:20px;width:100%;min-height:50px;padding-top:8px}.Prize{flex-grow:1;color:var(--emw--color-gray-300, #58586B)}.Prize.Prize0 span{color:#FECF00}.Prize.Prize1 span{color:#D9B206}.Prize.Prize2 span{color:#9B8007}.Prize p{color:var(--emw--color-white, #FFFFFF)}");
3824
3852
  }
3825
- function lt(e, t, r) {
3853
+ function ft(e, t, r) {
3826
3854
  const n = e.slice();
3827
3855
  return n[12] = t[r], n[14] = r, n;
3828
3856
  }
3829
- function ft(e) {
3830
- let t, r = Ze(
3857
+ function ct(e) {
3858
+ let t, r = Qe(
3831
3859
  /*prizes*/
3832
3860
  e[1]
3833
3861
  ), n = [];
3834
3862
  for (let s = 0; s < r.length; s += 1)
3835
- n[s] = pt(lt(e, r, s));
3863
+ n[s] = mt(ft(e, r, s));
3836
3864
  let i = null;
3837
- return r.length || (i = ct(e)), {
3865
+ return r.length || (i = pt(e)), {
3838
3866
  c() {
3839
- t = P("div");
3867
+ t = S("div");
3840
3868
  for (let s = 0; s < n.length; s += 1)
3841
3869
  n[s].c();
3842
3870
  i && i.c(), x(t, "class", "Prizes"), x(t, "part", "Prizes");
3843
3871
  },
3844
3872
  m(s, u) {
3845
- te(s, t, u);
3846
- for (let a = 0; a < n.length; a += 1)
3847
- n[a] && n[a].m(t, null);
3873
+ re(s, t, u);
3874
+ for (let o = 0; o < n.length; o += 1)
3875
+ n[o] && n[o].m(t, null);
3848
3876
  i && i.m(t, null);
3849
3877
  },
3850
3878
  p(s, u) {
3851
3879
  if (u & /*prizes, $_*/
3852
3880
  6) {
3853
- r = Ze(
3881
+ r = Qe(
3854
3882
  /*prizes*/
3855
3883
  s[1]
3856
3884
  );
3857
- let a;
3858
- for (a = 0; a < r.length; a += 1) {
3859
- const l = lt(s, r, a);
3860
- n[a] ? n[a].p(l, u) : (n[a] = pt(l), n[a].c(), n[a].m(t, null));
3885
+ let o;
3886
+ for (o = 0; o < r.length; o += 1) {
3887
+ const l = ft(s, r, o);
3888
+ n[o] ? n[o].p(l, u) : (n[o] = mt(l), n[o].c(), n[o].m(t, null));
3861
3889
  }
3862
- for (; a < n.length; a += 1)
3863
- n[a].d(1);
3864
- n.length = r.length, !r.length && i ? i.p(s, u) : r.length ? i && (i.d(1), i = null) : (i = ct(s), i.c(), i.m(t, null));
3890
+ for (; o < n.length; o += 1)
3891
+ n[o].d(1);
3892
+ n.length = r.length, !r.length && i ? i.p(s, u) : r.length ? i && (i.d(1), i = null) : (i = pt(s), i.c(), i.m(t, null));
3865
3893
  }
3866
3894
  },
3867
3895
  d(s) {
3868
- s && j(t), Yt(n, s), i && i.d();
3896
+ s && V(t), Kt(n, s), i && i.d();
3869
3897
  }
3870
3898
  };
3871
3899
  }
3872
- function ct(e) {
3900
+ function pt(e) {
3873
3901
  let t, r = (
3874
3902
  /*$_*/
3875
3903
  e[2]("noprizes") + ""
3876
3904
  ), n;
3877
3905
  return {
3878
3906
  c() {
3879
- t = P("p"), n = I(r);
3907
+ t = S("p"), n = L(r);
3880
3908
  },
3881
3909
  m(i, s) {
3882
- te(i, t, s), v(t, n);
3910
+ re(i, t, s), _(t, n);
3883
3911
  },
3884
3912
  p(i, s) {
3885
3913
  s & /*$_*/
3886
3914
  4 && r !== (r = /*$_*/
3887
- i[2]("noprizes") + "") && Q(n, r);
3915
+ i[2]("noprizes") + "") && J(n, r);
3888
3916
  },
3889
3917
  d(i) {
3890
- i && j(t);
3918
+ i && V(t);
3891
3919
  }
3892
3920
  };
3893
3921
  }
3894
- function pt(e) {
3922
+ function mt(e) {
3895
3923
  let t, r, n, i = (
3896
3924
  /*prize*/
3897
3925
  (e[12].count > 1 ? `${/*prize*/
@@ -3901,125 +3929,125 @@ function pt(e) {
3901
3929
  /*prize*/
3902
3930
  e[12].rank
3903
3931
  )) + ""
3904
- ), s, u, a = (
3932
+ ), s, u, o = (
3905
3933
  /*$_*/
3906
3934
  e[2]("place") + ""
3907
- ), l, o, h = (
3935
+ ), l, a, h = (
3908
3936
  /*prize*/
3909
3937
  e[12].name + ""
3910
3938
  ), f, c;
3911
3939
  return {
3912
3940
  c() {
3913
- t = P("div"), r = P("p"), n = P("span"), s = I(i), u = he(), l = I(a), o = I(": "), f = I(h), c = he(), x(n, "class", "PrizeRank"), x(n, "part", "PrizeRank"), x(r, "class", "PrizeText"), x(r, "part", "PrizeText"), x(t, "class", "Prize Prize" + /*index*/
3941
+ t = S("div"), r = S("p"), n = S("span"), s = L(i), u = le(), l = L(o), a = L(": "), f = L(h), c = le(), x(n, "class", "PrizeRank"), x(n, "part", "PrizeRank"), x(r, "class", "PrizeText"), x(r, "part", "PrizeText"), x(t, "class", "Prize Prize" + /*index*/
3914
3942
  e[14]), x(t, "part", "Prize Prize" + /*index*/
3915
3943
  e[14]);
3916
3944
  },
3917
- m(m, p) {
3918
- te(m, t, p), v(t, r), v(r, n), v(n, s), v(r, u), v(r, l), v(r, o), v(r, f), v(t, c);
3945
+ m(p, g) {
3946
+ re(p, t, g), _(t, r), _(r, n), _(n, s), _(r, u), _(r, l), _(r, a), _(r, f), _(t, c);
3919
3947
  },
3920
- p(m, p) {
3921
- p & /*prizes*/
3948
+ p(p, g) {
3949
+ g & /*prizes*/
3922
3950
  2 && i !== (i = /*prize*/
3923
- (m[12].count > 1 ? `${/*prize*/
3924
- m[12].rank}~${/*prize*/
3925
- m[12].rank + /*prize*/
3926
- m[12].count - 1}` : (
3951
+ (p[12].count > 1 ? `${/*prize*/
3952
+ p[12].rank}~${/*prize*/
3953
+ p[12].rank + /*prize*/
3954
+ p[12].count - 1}` : (
3927
3955
  /*prize*/
3928
- m[12].rank
3929
- )) + "") && Q(s, i), p & /*$_*/
3930
- 4 && a !== (a = /*$_*/
3931
- m[2]("place") + "") && Q(l, a), p & /*prizes*/
3956
+ p[12].rank
3957
+ )) + "") && J(s, i), g & /*$_*/
3958
+ 4 && o !== (o = /*$_*/
3959
+ p[2]("place") + "") && J(l, o), g & /*prizes*/
3932
3960
  2 && h !== (h = /*prize*/
3933
- m[12].name + "") && Q(f, h);
3961
+ p[12].name + "") && J(f, h);
3934
3962
  },
3935
- d(m) {
3936
- m && j(t);
3963
+ d(p) {
3964
+ p && V(t);
3937
3965
  }
3938
3966
  };
3939
3967
  }
3940
- function hi(e) {
3968
+ function ci(e) {
3941
3969
  let t, r, n, i, s, u = (
3942
3970
  /*$_*/
3943
3971
  e[2]("prizes") + ""
3944
- ), a, l, o = (
3972
+ ), o, l, a = (
3945
3973
  /*prizes*/
3946
- e[1] && ft(e)
3974
+ e[1] && ct(e)
3947
3975
  );
3948
3976
  return {
3949
3977
  c() {
3950
- t = P("div"), r = P("div"), n = P("span"), n.innerHTML = '<svg part="TournamentPrizesSvg" xmlns="http://www.w3.org/2000/svg" width="30" height="27.454" viewBox="0 0 30 27.454"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" part="a TournamentPrizesSvgA" d="M35.84,12.887a1.023,1.023,0,0,0-.853-.481h-5.2l.242-1.456a1.023,1.023,0,0,0-1.023-1.19H12.977a1.023,1.023,0,0,0-1.023,1.19l.242,1.456H7.022a1.023,1.023,0,0,0-.921,1.47l2.967,6.077a6.48,6.48,0,0,0,5.163,3.581,7.227,7.227,0,0,0,3.7,3.963v2.667h-.426a3.525,3.525,0,1,0,0,7.049H24.5a3.525,3.525,0,1,0,0-7.049h-.426V27.5a7.227,7.227,0,0,0,3.7-3.963,6.48,6.48,0,0,0,5.167-3.581L35.9,13.876a1.023,1.023,0,0,0-.058-.989ZM10.914,19.05l-2.241-4.6h3.891l1.153,6.916A4.406,4.406,0,0,1,10.914,19.05ZM25.977,33.687A1.477,1.477,0,0,1,24.5,35.164H17.509a1.478,1.478,0,0,1,0-2.957H24.5A1.48,1.48,0,0,1,25.977,33.687Zm-3.949-3.526H19.982V28.094a6.729,6.729,0,0,0,2.046,0Zm4.123-8.383a5.218,5.218,0,0,1-10.293,0L14.184,11.8H27.826ZM31.1,19.05a4.406,4.406,0,0,1-2.8,2.309l1.153-6.916h3.891Z" transform="translate(-5.999 -9.76)"></path></svg>', i = he(), s = P("p"), a = I(u), l = he(), o && o.c(), x(n, "class", "TournamentPrizesIconWrapper"), x(n, "part", "TournamentPrizesIconWrapper"), x(s, "class", "PrizesTitle"), x(s, "part", "PrizesTitle"), x(r, "class", "TournamentPrizesIconSection"), x(r, "part", "TournamentPrizesIconSection"), x(t, "class", "TournamentPrizes"), x(t, "part", "TournamentPrizes");
3978
+ t = S("div"), r = S("div"), n = S("span"), n.innerHTML = '<svg part="TournamentPrizesSvg" xmlns="http://www.w3.org/2000/svg" width="30" height="27.454" viewBox="0 0 30 27.454"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" part="a TournamentPrizesSvgA" d="M35.84,12.887a1.023,1.023,0,0,0-.853-.481h-5.2l.242-1.456a1.023,1.023,0,0,0-1.023-1.19H12.977a1.023,1.023,0,0,0-1.023,1.19l.242,1.456H7.022a1.023,1.023,0,0,0-.921,1.47l2.967,6.077a6.48,6.48,0,0,0,5.163,3.581,7.227,7.227,0,0,0,3.7,3.963v2.667h-.426a3.525,3.525,0,1,0,0,7.049H24.5a3.525,3.525,0,1,0,0-7.049h-.426V27.5a7.227,7.227,0,0,0,3.7-3.963,6.48,6.48,0,0,0,5.167-3.581L35.9,13.876a1.023,1.023,0,0,0-.058-.989ZM10.914,19.05l-2.241-4.6h3.891l1.153,6.916A4.406,4.406,0,0,1,10.914,19.05ZM25.977,33.687A1.477,1.477,0,0,1,24.5,35.164H17.509a1.478,1.478,0,0,1,0-2.957H24.5A1.48,1.48,0,0,1,25.977,33.687Zm-3.949-3.526H19.982V28.094a6.729,6.729,0,0,0,2.046,0Zm4.123-8.383a5.218,5.218,0,0,1-10.293,0L14.184,11.8H27.826ZM31.1,19.05a4.406,4.406,0,0,1-2.8,2.309l1.153-6.916h3.891Z" transform="translate(-5.999 -9.76)"></path></svg>', i = le(), s = S("p"), o = L(u), l = le(), a && a.c(), x(n, "class", "TournamentPrizesIconWrapper"), x(n, "part", "TournamentPrizesIconWrapper"), x(s, "class", "PrizesTitle"), x(s, "part", "PrizesTitle"), x(r, "class", "TournamentPrizesIconSection"), x(r, "part", "TournamentPrizesIconSection"), x(t, "class", "TournamentPrizes"), x(t, "part", "TournamentPrizes");
3951
3979
  },
3952
3980
  m(h, f) {
3953
- te(h, t, f), v(t, r), v(r, n), v(r, i), v(r, s), v(s, a), v(t, l), o && o.m(t, null), e[8](t);
3981
+ re(h, t, f), _(t, r), _(r, n), _(r, i), _(r, s), _(s, o), _(t, l), a && a.m(t, null), e[8](t);
3954
3982
  },
3955
3983
  p(h, [f]) {
3956
3984
  f & /*$_*/
3957
3985
  4 && u !== (u = /*$_*/
3958
- h[2]("prizes") + "") && Q(a, u), /*prizes*/
3959
- h[1] ? o ? o.p(h, f) : (o = ft(h), o.c(), o.m(t, null)) : o && (o.d(1), o = null);
3986
+ h[2]("prizes") + "") && J(o, u), /*prizes*/
3987
+ h[1] ? a ? a.p(h, f) : (a = ct(h), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
3960
3988
  },
3961
- i: S,
3962
- o: S,
3989
+ i: P,
3990
+ o: P,
3963
3991
  d(h) {
3964
- h && j(t), o && o.d(), e[8](null);
3992
+ h && V(t), a && a.d(), e[8](null);
3965
3993
  }
3966
3994
  };
3967
3995
  }
3968
- function li(e, t, r) {
3996
+ function pi(e, t, r) {
3969
3997
  let n;
3970
- Zt(e, ii, (p) => r(2, n = p));
3971
- let { tourid: i = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: a = "" } = t, { mbsource: l } = t, o, h;
3972
- const f = () => {
3973
- fetch(a).then((y) => y.json()).then((y) => {
3974
- Object.keys(y).forEach((H) => {
3975
- ut(H, y[H]);
3998
+ Qt(e, si, (m) => r(2, n = m));
3999
+ let { tourid: i = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: o = "" } = t, { mbsource: l } = t, a, h, f;
4000
+ const c = () => {
4001
+ fetch(o).then((v) => v.json()).then((v) => {
4002
+ Object.keys(v).forEach((w) => {
4003
+ ht(w, v[w]);
3976
4004
  });
3977
- }).catch((y) => {
3978
- console.log(y);
4005
+ }).catch((v) => {
4006
+ console.log(v);
3979
4007
  });
3980
4008
  };
3981
- Object.keys(ht).forEach((p) => {
3982
- ut(p, ht[p]);
4009
+ Object.keys(lt).forEach((m) => {
4010
+ ht(m, lt[m]);
3983
4011
  });
3984
- const c = (p) => {
3985
- p.data && p.data.type == `TournamentPrizes_${i}` && r(1, h = p.data.prizes);
4012
+ const p = (m) => {
4013
+ m.data && m.data.type == `TournamentPrizes_${i}` && r(1, f = m.data.prizes);
3986
4014
  };
3987
- rr(() => (window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", c, !1), () => {
3988
- window.removeEventListener("message", c);
4015
+ nr(() => (window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", p, !1), () => {
4016
+ window.removeEventListener("message", p);
3989
4017
  }));
3990
- function m(p) {
3991
- Se[p ? "unshift" : "push"](() => {
3992
- o = p, r(0, o);
4018
+ function g(m) {
4019
+ Be[m ? "unshift" : "push"](() => {
4020
+ a = m, r(0, a);
3993
4021
  });
3994
4022
  }
3995
- return e.$$set = (p) => {
3996
- "tourid" in p && r(3, i = p.tourid), "clientstyling" in p && r(4, s = p.clientstyling), "clientstylingurl" in p && r(5, u = p.clientstylingurl), "translationurl" in p && r(6, a = p.translationurl), "mbsource" in p && r(7, l = p.mbsource);
4023
+ return e.$$set = (m) => {
4024
+ "tourid" in m && r(3, i = m.tourid), "clientstyling" in m && r(4, s = m.clientstyling), "clientstylingurl" in m && r(5, u = m.clientstylingurl), "translationurl" in m && r(6, o = m.translationurl), "mbsource" in m && r(7, l = m.mbsource);
3997
4025
  }, e.$$.update = () => {
3998
4026
  e.$$.dirty & /*clientstyling, customStylingContainer*/
3999
- 17 && s && o && si(o, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4000
- 33 && u && o && oi(o, u), e.$$.dirty & /*mbsource, customStylingContainer*/
4001
- 129 && l && o && ai(o, `${l}.Style`), e.$$.dirty & /*translationurl*/
4002
- 64 && a && f();
4027
+ 17 && s && a && oi(a, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4028
+ 33 && u && a && ai(a, u), e.$$.dirty & /*mbsource, customStylingContainer*/
4029
+ 129 && l && a && ui(a, `${l}.Style`, h), e.$$.dirty & /*translationurl*/
4030
+ 64 && o && c();
4003
4031
  }, [
4004
- o,
4005
- h,
4032
+ a,
4033
+ f,
4006
4034
  n,
4007
4035
  i,
4008
4036
  s,
4009
4037
  u,
4010
- a,
4038
+ o,
4011
4039
  l,
4012
- m
4040
+ g
4013
4041
  ];
4014
4042
  }
4015
- class fi extends mr {
4043
+ class mi extends dr {
4016
4044
  constructor(t) {
4017
- super(), cr(
4045
+ super(), pr(
4018
4046
  this,
4019
4047
  t,
4020
- li,
4021
- hi,
4022
- dt,
4048
+ pi,
4049
+ ci,
4050
+ bt,
4023
4051
  {
4024
4052
  tourid: 3,
4025
4053
  clientstyling: 4,
@@ -4027,41 +4055,41 @@ class fi extends mr {
4027
4055
  translationurl: 6,
4028
4056
  mbsource: 7
4029
4057
  },
4030
- ui
4058
+ fi
4031
4059
  );
4032
4060
  }
4033
4061
  get tourid() {
4034
4062
  return this.$$.ctx[3];
4035
4063
  }
4036
4064
  set tourid(t) {
4037
- this.$$set({ tourid: t }), O();
4065
+ this.$$set({ tourid: t }), I();
4038
4066
  }
4039
4067
  get clientstyling() {
4040
4068
  return this.$$.ctx[4];
4041
4069
  }
4042
4070
  set clientstyling(t) {
4043
- this.$$set({ clientstyling: t }), O();
4071
+ this.$$set({ clientstyling: t }), I();
4044
4072
  }
4045
4073
  get clientstylingurl() {
4046
4074
  return this.$$.ctx[5];
4047
4075
  }
4048
4076
  set clientstylingurl(t) {
4049
- this.$$set({ clientstylingurl: t }), O();
4077
+ this.$$set({ clientstylingurl: t }), I();
4050
4078
  }
4051
4079
  get translationurl() {
4052
4080
  return this.$$.ctx[6];
4053
4081
  }
4054
4082
  set translationurl(t) {
4055
- this.$$set({ translationurl: t }), O();
4083
+ this.$$set({ translationurl: t }), I();
4056
4084
  }
4057
4085
  get mbsource() {
4058
4086
  return this.$$.ctx[7];
4059
4087
  }
4060
4088
  set mbsource(t) {
4061
- this.$$set({ mbsource: t }), O();
4089
+ this.$$set({ mbsource: t }), I();
4062
4090
  }
4063
4091
  }
4064
- pr(fi, { tourid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4092
+ mr(mi, { tourid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4065
4093
  export {
4066
- fi as default
4094
+ mi as default
4067
4095
  };